Bernd Wurst commited on 2008-03-07 19:11:44
Zeige 7 geänderte Dateien mit 2 Einfügungen und 453 Löschungen.
... | ... |
@@ -9,6 +9,6 @@ DIST courier-authlib-0.59.2.tar.bz2 2109549 RMD160 499da7ec09fbe46be5ea9450c6ecb |
9 | 9 |
DIST courier-authlib-0.60.2.tar.bz2 2158473 RMD160 bdf6d68b7b6a5c6d13079477d83312f98dd7bd31 SHA1 cd5969075de212ecfb406ffb1ac974ea939ddcc0 SHA256 824e92b6b6f7755ec06a22b5b1eb3734853ee8824612c62f92a9b2f33be04bbd |
10 | 10 |
EBUILD courier-authlib-0.58.ebuild 5860 RMD160 548faac1dfcafe294b9f84f4fb50ad6af773f3a3 SHA1 81f68f94ca2023cc3bf23225a4ba5cbfb15e520f SHA256 8a11056b2e2f609f12325393e29b2b5b3915864d7499f6f74924f83d82d17d37 |
11 | 11 |
EBUILD courier-authlib-0.59.2.ebuild 5937 RMD160 a117fc0212c40d94ff8986a813790f7a2550d27a SHA1 4a2246b390242930cbeb51aacd9fb10a9803e2c4 SHA256 dcf99c3c30e6525baed0163b1c6bd20e28fdec32929528340a71da8018f6450b |
12 |
-EBUILD courier-authlib-0.60.2.ebuild 5937 RMD160 a117fc0212c40d94ff8986a813790f7a2550d27a SHA1 4a2246b390242930cbeb51aacd9fb10a9803e2c4 SHA256 dcf99c3c30e6525baed0163b1c6bd20e28fdec32929528340a71da8018f6450b |
|
12 |
+EBUILD courier-authlib-0.60.2.ebuild 5936 RMD160 e2d998ac92febc155b6272aa1427427d910d47cc SHA1 6e7de5986235d6b5d0c1cc93ebc7af7ba11eea2a SHA256 7e76f32f3a0646f4a9104beed8bc53ee5944ef85d1bced81282db990736cf631 |
|
13 | 13 |
MISC ChangeLog 11838 RMD160 241c9f044c56634831180f534a013ff234e906dc SHA1 7b332caf6e0c9e4514b04662984bb5afa879072a SHA256 6453af1151aa1da3fa7f142a7d3468ac6eb616e55105d23fbb6965b29bbd4a05 |
14 | 14 |
MISC metadata.xml 257 RMD160 2b87c540cca4d55b319602734c4feadc9c73cdaa SHA1 d5eb357bc87a8263fc17f50526f1a171bf8ce951 SHA256 047c9e5f17bca31968e9291cab682721118932209934644e1865d7e6e84e49b8 |
... | ... |
@@ -1,177 +0,0 @@ |
1 |
-# Copyright 1999-2007 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/courier-authlib-0.58.ebuild,v 1.16 2007/07/02 14:51:44 peper Exp $ |
|
4 |
- |
|
5 |
-WANT_AUTOCONF="latest" |
|
6 |
-WANT_AUTOMAKE="latest" |
|
7 |
- |
|
8 |
-inherit eutils flag-o-matic autotools |
|
9 |
- |
|
10 |
-DESCRIPTION="courier authentication library" |
|
11 |
-[ -z "${PV/?.??/}" ] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
|
12 |
-[ -z "$SRC_URI" ] && SRC_URI="http://www.courier-mta.org/beta/courier-authlib/${P%%_pre}.tar.bz2" |
|
13 |
-HOMEPAGE="http://www.courier-mta.org/" |
|
14 |
- |
|
15 |
-LICENSE="GPL-2" |
|
16 |
-SLOT="0" |
|
17 |
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" |
|
18 |
-IUSE="postgres ldap mysql berkdb gdbm pam crypt debug" |
|
19 |
- |
|
20 |
-RESTRICT="userpriv" |
|
21 |
- |
|
22 |
-DEPEND="gdbm? ( sys-libs/gdbm ) |
|
23 |
- !gdbm? ( >=sys-devel/autoconf-2.5 sys-libs/db ) |
|
24 |
- >=dev-libs/openssl-0.9.6 |
|
25 |
- pam? ( >=sys-libs/pam-0.75 ) |
|
26 |
- mysql? ( virtual/mysql ) |
|
27 |
- ldap? ( >=net-nds/openldap-1.2.11 ) |
|
28 |
- postgres? ( >=dev-db/postgresql-7.2 )" |
|
29 |
- |
|
30 |
-RDEPEND="gdbm? ( sys-libs/gdbm ) |
|
31 |
- !gdbm? ( sys-libs/db )" |
|
32 |
- |
|
33 |
-S="${WORKDIR}/${P%%_pre}" |
|
34 |
- |
|
35 |
-pkg_setup() { |
|
36 |
- if ! has_version 'dev-tcltk/expect' ; then |
|
37 |
- ewarn 'The dev-tcltk/expect package is not installed.' |
|
38 |
- ewarn 'Without it, you will not be able to change system login passwords.' |
|
39 |
- ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' |
|
40 |
- ewarn 'and others) will work just fine.' |
|
41 |
- fi |
|
42 |
-} |
|
43 |
- |
|
44 |
-src_unpack() { |
|
45 |
- unpack ${A} |
|
46 |
- cd "${S}" |
|
47 |
- sed -e "s|^chk_file .* |&\${DESTDIR}|g" -i.orig authmigrate.in |
|
48 |
- use elibc_uclibc && sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub |
|
49 |
- if ! use gdbm ; then |
|
50 |
- epatch "${FILESDIR}/${PV}-configure-db4.patch" |
|
51 |
- else |
|
52 |
- epatch "${FILESDIR}/${PV}-remove-obsolete-macro.patch" |
|
53 |
- fi |
|
54 |
- sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' ${S}/authmigrate.in |
|
55 |
- sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' ${S}/authmigrate.in |
|
56 |
- sed -i -e"s|@@INDENT@@| |g" ${S}/authmigrate.in |
|
57 |
- sed -i -e"s|\$sbindir/makeuserdb||g" ${S}/authmigrate.in |
|
58 |
- |
|
59 |
- eautoreconf |
|
60 |
-} |
|
61 |
- |
|
62 |
-src_compile() { |
|
63 |
- filter-flags -fomit-frame-pointer |
|
64 |
- |
|
65 |
- local myconf |
|
66 |
- myconf="$(use_with pam authpam) $(use_with ldap authldap)" |
|
67 |
- |
|
68 |
- if use berkdb; then |
|
69 |
- if use gdbm; then |
|
70 |
- ewarn "Both gdbm and berkdb selected. Using gdbm." |
|
71 |
- else |
|
72 |
- myconf="${myconf} --with-db=db" |
|
73 |
- fi |
|
74 |
- fi |
|
75 |
- use gdbm && myconf="${myconf} --with-db=gdbm" |
|
76 |
- |
|
77 |
- if has_version 'net-mail/vpopmail' ; then |
|
78 |
- myconf="${myconf} --with-authvchkpw --without-authmysql --without-authpgsql" |
|
79 |
- use mysql && ewarn "vpopmail found. authmysql will not be built." |
|
80 |
- use postgres && ewarn "vpopmail found. authpgsql will not be built." |
|
81 |
- else |
|
82 |
- myconf="${myconf} --without-authvchkpw $(use_with mysql authmysql) $(use_with postgres authpgsql)" |
|
83 |
- fi |
|
84 |
- |
|
85 |
- use debug && myconf="${myconf} debug=true" |
|
86 |
- |
|
87 |
- einfo "Configuring courier-authlib: ${myconf}" |
|
88 |
- |
|
89 |
- econf \ |
|
90 |
- --sysconfdir=/etc/courier \ |
|
91 |
- --datadir=/usr/share/courier \ |
|
92 |
- --libexecdir=/usr/$(get_libdir)/courier \ |
|
93 |
- --localstatedir=/var/lib/courier \ |
|
94 |
- --sharedstatedir=/var/lib/courier/com \ |
|
95 |
- --with-authdaemonvar=/var/lib/courier/authdaemon \ |
|
96 |
- --with-authshadow \ |
|
97 |
- --without-redhat \ |
|
98 |
- --with-mailuser=mail \ |
|
99 |
- --with-mailgroup=mail \ |
|
100 |
- --cache-file="${S}/configuring.cache" \ |
|
101 |
- ${myconf} || die "econf failed" |
|
102 |
- emake || die "emake failed" |
|
103 |
-} |
|
104 |
- |
|
105 |
-orderfirst() { |
|
106 |
- file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" |
|
107 |
- if [ -e "${file}" ] ; then |
|
108 |
- orig="$(grep \"^${option}=\" ${file} | cut -d'\"' -f 2)" |
|
109 |
- new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" |
|
110 |
- sed -i -e"s/^${option}=.*$/${new}/" ${file} |
|
111 |
- fi |
|
112 |
-} |
|
113 |
- |
|
114 |
-finduserdb() { |
|
115 |
- for dir in \ |
|
116 |
- /etc/courier/authlib /etc/courier /etc/courier-imap \ |
|
117 |
- /usr/lib/courier/etc /usr/lib/courier-imap/etc \ |
|
118 |
- /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ |
|
119 |
- /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ |
|
120 |
- /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do |
|
121 |
- if [ -e "$dir/userdb" ]; then |
|
122 |
- einfo "found $dir/userdb" |
|
123 |
- cp -v $dir/userdb ${D}/etc/courier/authlib/ |
|
124 |
- chmod go-rwx ${D}/etc/courier/authlib/userdb |
|
125 |
- continue |
|
126 |
- fi |
|
127 |
- done |
|
128 |
-} |
|
129 |
- |
|
130 |
-src_install() { |
|
131 |
- diropts -o mail -g mail |
|
132 |
- dodir /etc/courier |
|
133 |
- keepdir /var/lib/courier/authdaemon |
|
134 |
- keepdir /etc/courier/authlib |
|
135 |
- emake install DESTDIR="${D}" || die "install failed" |
|
136 |
- emake install-migrate DESTDIR="${D}" || die "migrate failed" |
|
137 |
- [ ! -e "${D}/etc/courier/authlib/userdb" ] && finduserdb |
|
138 |
- emake install-configure DESTDIR="${D}" || die "install-configure failed" |
|
139 |
- rm -vf ${D}/etc/courier/authlib/*.bak |
|
140 |
- chown mail:mail ${D}/etc/courier/authlib/* |
|
141 |
- for y in ${D}/etc/courier/authlib/*.dist ; do |
|
142 |
- [ ! -e "${y%%.dist}" ] && cp -v ${y} ${y%%.dist} |
|
143 |
- done |
|
144 |
- use pam && orderfirst authdaemonrc authmodulelist authpam |
|
145 |
- use ldap && orderfirst authdaemonrc authmodulelist authldap |
|
146 |
- use postgres && orderfirst authdaemonrc authmodulelist authpgsql |
|
147 |
- use mysql && orderfirst authdaemonrc authmodulelist authmysql |
|
148 |
- dodoc AUTHORS COPYING ChangeLog* INSTALL NEWS README |
|
149 |
- dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html |
|
150 |
- if use mysql; then |
|
151 |
- dodoc README.authmysql.myownquery |
|
152 |
- dohtml README.authmysql.html |
|
153 |
- fi |
|
154 |
- use postgres && dohtml README.authpostgres.html README.authmysql.html |
|
155 |
- if use ldap; then |
|
156 |
- dodoc README.ldap |
|
157 |
- dodir /etc/openldap/schema |
|
158 |
- cp authldap.schema "${D}/etc/openldap/schema/" |
|
159 |
- fi |
|
160 |
- doinitd "${FILESDIR}/${PN}" || die "doinitd failed" |
|
161 |
-} |
|
162 |
- |
|
163 |
-pkg_postinst() { |
|
164 |
- if [ -e /etc/courier/authlib/userdb ]; then |
|
165 |
- einfo "running makeuserdb" |
|
166 |
- chmod go-rwx /etc/courier/authlib/userdb |
|
167 |
- makeuserdb |
|
168 |
- fi |
|
169 |
- |
|
170 |
- # Suggest cleaning out the following old files |
|
171 |
- list="$(find /etc/courier -type f -maxdepth 1 | grep \"^/etc/courier/auth\")" |
|
172 |
- if [ ! -z "${list}" ] ; then |
|
173 |
- ewarn "Courier authentication files are now in /etc/courier/authlib/" |
|
174 |
- elog "The following files are no longer needed and can likely be removed:" |
|
175 |
- elog " rm $(echo \"${list}\")" |
|
176 |
- fi |
|
177 |
-} |
... | ... |
@@ -1,185 +0,0 @@ |
1 |
-# Copyright 1999-2007 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/courier-authlib-0.59.2.ebuild,v 1.2 2007/05/08 22:50:40 genone Exp $ |
|
4 |
- |
|
5 |
-WANT_AUTOCONF="latest" |
|
6 |
-WANT_AUTOMAKE="latest" |
|
7 |
- |
|
8 |
-inherit eutils flag-o-matic autotools |
|
9 |
- |
|
10 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
|
11 |
- |
|
12 |
-DESCRIPTION="Courier authentication library." |
|
13 |
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
|
14 |
-HOMEPAGE="http://www.courier-mta.org/" |
|
15 |
-LICENSE="GPL-2" |
|
16 |
-SLOT="0" |
|
17 |
-IUSE="berkdb crypt debug gdbm ldap mysql pam postgres vpopmail" |
|
18 |
- |
|
19 |
-RESTRICT="userpriv" |
|
20 |
- |
|
21 |
-RDEPEND="gdbm? ( sys-libs/gdbm ) |
|
22 |
- !gdbm? ( sys-libs/db )" |
|
23 |
- |
|
24 |
-DEPEND="${RDEPEND} |
|
25 |
- >=dev-libs/openssl-0.9.6 |
|
26 |
- ldap? ( >=net-nds/openldap-1.2.11 ) |
|
27 |
- mysql? ( virtual/mysql ) |
|
28 |
- pam? ( virtual/pam ) |
|
29 |
- postgres? ( >=dev-db/postgresql-7.2 )" |
|
30 |
- |
|
31 |
-pkg_setup() { |
|
32 |
- enewuser mail -1 -1 /var/spool/mail |
|
33 |
- |
|
34 |
- if ! has_version 'dev-tcltk/expect' ; then |
|
35 |
- ewarn 'The dev-tcltk/expect package is not installed.' |
|
36 |
- ewarn 'Without it, you will not be able to change system login passwords.' |
|
37 |
- ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' |
|
38 |
- ewarn 'and others) will work just fine.' |
|
39 |
- fi |
|
40 |
-} |
|
41 |
- |
|
42 |
-src_unpack() { |
|
43 |
- unpack ${A} |
|
44 |
- cd "${S}" |
|
45 |
- |
|
46 |
- sed -i -e "s|^chk_file .* |&\${DESTDIR}|g" authmigrate.in || die "sed failed" |
|
47 |
- |
|
48 |
- if use elibc_uclibc ; then |
|
49 |
- sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub || die "sed failed" |
|
50 |
- fi |
|
51 |
- |
|
52 |
- if ! use gdbm ; then |
|
53 |
- epatch "${FILESDIR}/${PV}-configure-db4.patch" |
|
54 |
- else |
|
55 |
- epatch "${FILESDIR}/${PV}-remove-obsolete-macro.patch" |
|
56 |
- fi |
|
57 |
- |
|
58 |
- sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' authmigrate.in || die "sed failed" |
|
59 |
- sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' authmigrate.in || die "sed failed" |
|
60 |
- sed -i -e"s|@@INDENT@@| |g" authmigrate.in || die "sed failed" |
|
61 |
- sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in || die "sed failed" |
|
62 |
- |
|
63 |
- eautoreconf |
|
64 |
-} |
|
65 |
- |
|
66 |
-src_compile() { |
|
67 |
- filter-flags -fomit-frame-pointer |
|
68 |
- |
|
69 |
- local myconf="" |
|
70 |
- |
|
71 |
- myconf="${myconf} `use_with pam authpam`" |
|
72 |
- myconf="${myconf} `use_with ldap authldap`" |
|
73 |
- |
|
74 |
- if use berkdb ; then |
|
75 |
- if use gdbm ; then |
|
76 |
- ewarn "Both gdbm and berkdb selected. Using gdbm." |
|
77 |
- else |
|
78 |
- myconf="${myconf} --with-db=db" |
|
79 |
- fi |
|
80 |
- fi |
|
81 |
- use gdbm && myconf="${myconf} --with-db=gdbm" |
|
82 |
- |
|
83 |
- if use vpopmail ; then |
|
84 |
- myconf="${myconf} --with-authvchkpw --without-authmysql --without-authpgsql" |
|
85 |
- use mysql && ewarn "Building vpopmail support instead of authmysql" |
|
86 |
- use postgres && ewarn "Building vpopmail support instead of authpgsql" |
|
87 |
- else |
|
88 |
- myconf="${myconf} --without-authvchkpw `use_with mysql authmysql` `use_with postgres authpgsql`" |
|
89 |
- fi |
|
90 |
- |
|
91 |
- use debug && myconf="${myconf} debug=true" |
|
92 |
- |
|
93 |
- einfo "Configuring courier-authlib: ${myconf}" |
|
94 |
- |
|
95 |
- econf \ |
|
96 |
- --sysconfdir=/etc/courier \ |
|
97 |
- --datadir=/usr/share/courier \ |
|
98 |
- --libexecdir=/usr/$(get_libdir)/courier \ |
|
99 |
- --localstatedir=/var/lib/courier \ |
|
100 |
- --sharedstatedir=/var/lib/courier/com \ |
|
101 |
- --with-authdaemonvar=/var/lib/courier/authdaemon \ |
|
102 |
- --with-authshadow \ |
|
103 |
- --without-redhat \ |
|
104 |
- --with-mailuser=mail \ |
|
105 |
- --with-mailgroup=mail \ |
|
106 |
- --cache-file="${S}/configuring.cache" \ |
|
107 |
- ${myconf} || die "econf failed" |
|
108 |
- emake || die "emake failed" |
|
109 |
-} |
|
110 |
- |
|
111 |
-orderfirst() { |
|
112 |
- file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" |
|
113 |
- if [[ -e "${file}" ]] ; then |
|
114 |
- orig="$(grep \"^${option}=\" ${file} | cut -d'\"' -f 2)" |
|
115 |
- new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" |
|
116 |
- sed -i -e "s/^${option}=.*$/${new}/" "${file}" |
|
117 |
- fi |
|
118 |
-} |
|
119 |
- |
|
120 |
-finduserdb() { |
|
121 |
- for dir in \ |
|
122 |
- /etc/courier/authlib /etc/courier /etc/courier-imap \ |
|
123 |
- /usr/lib/courier/etc /usr/lib/courier-imap/etc \ |
|
124 |
- /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ |
|
125 |
- /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ |
|
126 |
- /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do |
|
127 |
- if [[ -e "${dir}/userdb" ]] ; then |
|
128 |
- einfo "Found userdb at: ${dir}/userdb" |
|
129 |
- cp -f "${dir}/userdb" "${D}/etc/courier/authlib/" |
|
130 |
- chmod go-rwx "${D}/etc/courier/authlib/userdb" |
|
131 |
- continue |
|
132 |
- fi |
|
133 |
- done |
|
134 |
-} |
|
135 |
- |
|
136 |
-src_install() { |
|
137 |
- diropts -o mail -g mail |
|
138 |
- dodir /etc/courier |
|
139 |
- keepdir /var/lib/courier/authdaemon |
|
140 |
- keepdir /etc/courier/authlib |
|
141 |
- emake DESTDIR="${D}" install || die "emake install failed" |
|
142 |
- emake DESTDIR="${D}" install-migrate|| die "emake install-migrate failed" |
|
143 |
- [[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb |
|
144 |
- emake DESTDIR="${D}" install-configure || die "emake install-configure failed" |
|
145 |
- rm -f "${D}"/etc/courier/authlib/*.bak |
|
146 |
- chown mail:mail "${D}"/etc/courier/authlib/* |
|
147 |
- for y in "${D}"/etc/courier/authlib/*.dist ; do |
|
148 |
- [[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}" |
|
149 |
- done |
|
150 |
- use pam && orderfirst authdaemonrc authmodulelist authpam |
|
151 |
- use ldap && orderfirst authdaemonrc authmodulelist authldap |
|
152 |
- use postgres && orderfirst authdaemonrc authmodulelist authpgsql |
|
153 |
- use mysql && orderfirst authdaemonrc authmodulelist authmysql |
|
154 |
- dodoc AUTHORS COPYING ChangeLog* INSTALL NEWS README |
|
155 |
- dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html |
|
156 |
- if use mysql ; then |
|
157 |
- dodoc README.authmysql.myownquery |
|
158 |
- dohtml README.authmysql.html |
|
159 |
- fi |
|
160 |
- if use postgres ; then |
|
161 |
- dohtml README.authpostgres.html README.authmysql.html |
|
162 |
- fi |
|
163 |
- if use ldap ; then |
|
164 |
- dodoc README.ldap |
|
165 |
- dodir /etc/openldap/schema |
|
166 |
- cp -f authldap.schema "${D}/etc/openldap/schema/" |
|
167 |
- fi |
|
168 |
- doinitd "${FILESDIR}/${PN}" || die "doinitd failed" |
|
169 |
-} |
|
170 |
- |
|
171 |
-pkg_postinst() { |
|
172 |
- if [[ -e /etc/courier/authlib/userdb ]] ; then |
|
173 |
- einfo "Running makeuserdb ..." |
|
174 |
- chmod go-rwx /etc/courier/authlib/userdb |
|
175 |
- makeuserdb |
|
176 |
- fi |
|
177 |
- |
|
178 |
- # Suggest cleaning out the following old files |
|
179 |
- list="$(find /etc/courier -maxdepth 1 -type f | grep \"^/etc/courier/auth\")" |
|
180 |
- if [[ ! -z "${list}" ]] ; then |
|
181 |
- ewarn "Courier authentication files are now in /etc/courier/authlib/" |
|
182 |
- elog "The following files are no longer needed and can likely be removed:" |
|
183 |
- elog " rm $(echo \"${list}\")" |
|
184 |
- fi |
|
185 |
-} |
... | ... |
@@ -43,8 +43,6 @@ src_unpack() { |
43 | 43 |
unpack ${A} |
44 | 44 |
cd "${S}" |
45 | 45 |
|
46 |
- sed -i -e "s|^chk_file .* |&\${DESTDIR}|g" authmigrate.in || die "sed failed" |
|
47 |
- |
|
48 | 46 |
if use elibc_uclibc ; then |
49 | 47 |
sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub || die "sed failed" |
50 | 48 |
fi |
... | ... |
@@ -55,6 +53,7 @@ src_unpack() { |
55 | 53 |
epatch "${FILESDIR}/${PV}-remove-obsolete-macro.patch" |
56 | 54 |
fi |
57 | 55 |
|
56 |
+ sed -i -e "s|^chk_file .* |&\${DESTDIR}|g" authmigrate.in || die "sed failed" |
|
58 | 57 |
sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' authmigrate.in || die "sed failed" |
59 | 58 |
sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' authmigrate.in || die "sed failed" |
60 | 59 |
sed -i -e"s|@@INDENT@@| |g" authmigrate.in || die "sed failed" |
... | ... |
@@ -1,68 +0,0 @@ |
1 |
---- configure.in.orig 2004-11-02 14:46:22.000000000 -0800 |
|
2 |
-+++ configure.in 2004-11-02 14:51:02.531958000 -0800 |
|
3 |
-@@ -26,7 +26,6 @@ |
|
4 |
- AC_PROG_CPP |
|
5 |
- AC_PROG_INSTALL |
|
6 |
- AC_PROG_LN_S |
|
7 |
--AC_PROG_SYSCONFTOOL |
|
8 |
- AC_SUBST(LTDLINCL) |
|
9 |
- AC_SUBST(LIBLTDL) |
|
10 |
- AC_LIBTOOL_DLOPEN |
|
11 |
-@@ -284,15 +283,17 @@ |
|
12 |
- |
|
13 |
- if test "$db" != "gdbm" |
|
14 |
- then |
|
15 |
-- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], |
|
16 |
-- [ AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], |
|
17 |
-- [ AC_CHECK_LIB(db, db_env_create, |
|
18 |
-- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) ] |
|
19 |
-- )]) |
|
20 |
-- |
|
21 |
-- AC_CHECK_FUNC(dbopen, HAVE_BDB=1) |
|
22 |
-- AC_CHECK_FUNC(db_open, HAVE_BDB=1) |
|
23 |
-- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1) |
|
24 |
-+ for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db |
|
25 |
-+ do |
|
26 |
-+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], |
|
27 |
-+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], |
|
28 |
-+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], |
|
29 |
-+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) |
|
30 |
-+ done |
|
31 |
-+ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1) |
|
32 |
-+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1) |
|
33 |
-+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1) |
|
34 |
-+ AC_CHECK_FUNC(db_create, HAVE_BDB=1) |
|
35 |
- fi |
|
36 |
- |
|
37 |
- LIBS="$saveLIBS" |
|
38 |
---- bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700 |
|
39 |
-+++ bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700 |
|
40 |
-@@ -21,15 +21,19 @@ |
|
41 |
- dnl Checks for libraries. |
|
42 |
- |
|
43 |
- saveLIBS="$LIBS" |
|
44 |
--AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], |
|
45 |
-- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], |
|
46 |
-- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) |
|
47 |
-- )) |
|
48 |
-- |
|
49 |
--FOUND_DB=0 |
|
50 |
--AC_CHECK_FUNC(dbopen, FOUND_DB=1) |
|
51 |
--AC_CHECK_FUNC(db_open, FOUND_DB=1) |
|
52 |
--AC_CHECK_FUNC(db_env_create, FOUND_DB=1) |
|
53 |
-+for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db |
|
54 |
-+ do |
|
55 |
-+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], |
|
56 |
-+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], |
|
57 |
-+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], |
|
58 |
-+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) |
|
59 |
-+ |
|
60 |
-+ done |
|
61 |
-+FOUND_DB=0 |
|
62 |
-+AC_CHECK_FUNC(db_create_4002, FOUND_DB=1) |
|
63 |
-+AC_CHECK_FUNC(db_create_4001, FOUND_DB=1) |
|
64 |
-+AC_CHECK_FUNC(db_create_4000, FOUND_DB=1) |
|
65 |
-+AC_CHECK_FUNC(db_create, FOUND_DB=1) |
|
66 |
- |
|
67 |
- LIBS="$saveLIBS" |
|
68 |
- |
... | ... |
@@ -1,10 +0,0 @@ |
1 |
---- configure.in.orig 2004-11-02 14:46:22.000000000 -0800 |
|
2 |
-+++ configure.in 2004-11-02 14:51:02.531958000 -0800 |
|
3 |
-@@ -26,7 +26,6 @@ |
|
4 |
- AC_PROG_CPP |
|
5 |
- AC_PROG_INSTALL |
|
6 |
- AC_PROG_LN_S |
|
7 |
--AC_PROG_SYSCONFTOOL |
|
8 |
- AC_SUBST(LTDLINCL) |
|
9 |
- AC_SUBST(LIBLTDL) |
|
10 |
- AC_LIBTOOL_DLOPEN |
... | ... |
@@ -1,10 +0,0 @@ |
1 |
---- configure.in.orig 2007-01-17 02:15:46.000000000 +0000 |
|
2 |
-+++ configure.in 2007-02-03 19:58:19.000000000 +0000 |
|
3 |
-@@ -22,7 +22,6 @@ |
|
4 |
- AC_PROG_CPP |
|
5 |
- AC_PROG_INSTALL |
|
6 |
- AC_PROG_LN_S |
|
7 |
--AC_PROG_SYSCONFTOOL |
|
8 |
- AC_LIBLTDL_INSTALLABLE |
|
9 |
- AC_LIBTOOL_DLOPEN |
|
10 |
- AM_PROG_LIBTOOL |
|
11 | 0 |