remove courier-authlib, is in portage
Hanno Böck

Hanno Böck commited on 2008-04-16 22:09:56
Zeige 7 geänderte Dateien mit 0 Einfügungen und 664 Löschungen.

... ...
@@ -1,345 +0,0 @@
1
-# ChangeLog for net-libs/courier-authlib
2
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
3
-# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.67 2007/07/02 14:51:44 peper Exp $
4
-
5
-  02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
6
-  courier-authlib-0.58.ebuild:
7
-  (QA) RESTRICT clean up.
8
-
9
-  08 May 2007; Marius Mauch <genone@gentoo.org> courier-authlib-0.58.ebuild,
10
-  courier-authlib-0.59.2.ebuild:
11
-  Replacing einfo with elog
12
-
13
-  08 Apr 2007; Luca Longinotti <chtekk@gentoo.org> metadata.xml:
14
-  Update metadata.
15
-
16
-*courier-authlib-0.59.2 (08 Apr 2007)
17
-
18
-  08 Apr 2007; Luca Longinotti <chtekk@gentoo.org>
19
-  -files/0.59.1-configure-db4.patch,
20
-  -files/0.59.1-remove-obsolete-macro.patch,
21
-  +files/0.59.2-configure-db4.patch,
22
-  +files/0.59.2-remove-obsolete-macro.patch, files/courier-authlib,
23
-  -files/initd/courier-authlib, metadata.xml, courier-authlib-0.58.ebuild,
24
-  -courier-authlib-0.58-r1.ebuild, -courier-authlib-0.59.1.ebuild,
25
-  +courier-authlib-0.59.2.ebuild:
26
-  Ebuild cleanup, version bump to 0.59.2.
27
-
28
-  30 Mar 2007; Timothy Redaelli <drizzt@gentoo.org>
29
-  courier-authlib-0.59.1.ebuild:
30
-  Add ~x86-fbsd keyword
31
-
32
-*courier-authlib-0.59.1 (03 Feb 2007)
33
-
34
-  03 Feb 2007; Charlie Shepherd <masterdriverz@gentoo.org>
35
-  +files/0.59.1-configure-db4.patch,
36
-  +files/0.59.1-remove-obsolete-macro.patch, +courier-authlib-0.59.1.ebuild:
37
-  Bump to version, bug 162531, thanks to Conrad Kostecki. Add a vpopmail use
38
-  flag, bug 161754, thanks to Georgi Georgiev.
39
-
40
-*courier-authlib-0.58-r1 (16 Jan 2007)
41
-
42
-  16 Jan 2007; Charlie Shepherd <masterdriverz@gentoo.org>
43
-  +files/0.58-configure-db4.patch, +files/0.58-remove-obsolete-macro.patch,
44
-  -files/configure-db4.patch, -files/CVE-2005-3532.patch,
45
-  +files/courier-authlib, -files/courier-authlib-initd,
46
-  +files/initd/courier-authlib, -courier-authlib-0.53.ebuild,
47
-  -courier-authlib-0.54.20050224.ebuild, -courier-authlib-0.55.ebuild,
48
-  -courier-authlib-0.55.20050320.ebuild, -courier-authlib-0.56.ebuild,
49
-  -courier-authlib-0.57.ebuild, -courier-authlib-0.57-r1.ebuild,
50
-  -courier-authlib-0.57-r2.ebuild, -courier-authlib-0.57.20051116.ebuild,
51
-  courier-authlib-0.58.ebuild, +courier-authlib-0.58-r1.ebuild:
52
-  Clean out old versions. Sanitize remaining ebuild. Bump to -r1 for bug 117290.
53
-  Fix configure for bug 117290 for >db-4.3, thanks to Hanno Meyer-Thurow. Fix
54
-  configure for bug 160286, thanks to Sheldon Hearn.
55
-
56
-  05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
57
-  courier-authlib-0.53.ebuild, courier-authlib-0.54.20050224.ebuild,
58
-  courier-authlib-0.55.ebuild, courier-authlib-0.55.20050320.ebuild,
59
-  courier-authlib-0.56.ebuild, courier-authlib-0.57.ebuild,
60
-  courier-authlib-0.57-r1.ebuild, courier-authlib-0.57-r2.ebuild,
61
-  courier-authlib-0.57.20051116.ebuild:
62
-  Remove gnuconfig_update usage, leave it to econf.
63
-
64
-  04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
65
-  courier-authlib-0.58.ebuild:
66
-  Fix broken autotools handling.
67
-
68
-  23 Nov 2006; Francesco Riosa <vivo@gentoo.org>
69
-  courier-authlib-0.53.ebuild, courier-authlib-0.54.20050224.ebuild,
70
-  courier-authlib-0.55.ebuild, courier-authlib-0.55.20050320.ebuild,
71
-  courier-authlib-0.56.ebuild, courier-authlib-0.57.ebuild,
72
-  courier-authlib-0.57-r1.ebuild, courier-authlib-0.57-r2.ebuild,
73
-  courier-authlib-0.57.20051116.ebuild, courier-authlib-0.58.ebuild:
74
-  dev-db/mysql => virtual/mysql
75
-
76
-  14 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
77
-  Remove swtaylor from metadata.xml due to retiring.
78
-
79
-  24 Apr 2006; Joshua Kinard <kumba@gentoo.org> courier-authlib-0.58.ebuild:
80
-  Marked stable on mips.
81
-
82
-  02 Apr 2006; Jason Wever <weeve@gentoo.org> courier-authlib-0.58.ebuild:
83
-  Stable on SPARC.
84
-
85
-  07 Feb 2006; Simon Stelling <blubb@gentoo.org>
86
-  courier-authlib-0.58.ebuild:
87
-  stable on amd64
88
-
89
-  07 Feb 2006; Aron Griffis <agriffis@gentoo.org>
90
-  courier-authlib-0.58.ebuild:
91
-  Mark 0.58 stable on alpha
92
-
93
-  21 Jan 2006; Markus Rothe <corsair@gentoo.org>
94
-  courier-authlib-0.58.ebuild:
95
-  Stable on ppc64
96
-
97
-  21 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
98
-  courier-authlib-0.58.ebuild:
99
-  Stable on ppc.
100
-
101
-  17 Jan 2006; Paul Varner <fuzzyray@gentoo.org>
102
-  courier-authlib-0.58.ebuild:
103
-  Stable on x86. Bug #119055
104
-
105
-*courier-authlib-0.58 (10 Dec 2005)
106
-
107
-  10 Dec 2005; Scott Taylor <staylor@gentoo.org>
108
-  files/courier-authlib-initd, +courier-authlib-0.58.ebuild:
109
-  add 0.58 ebuild, update init script to export params, for bug 111672
110
-
111
-*courier-authlib-0.57.20051116 (06 Dec 2005)
112
-*courier-authlib-0.57-r2 (06 Dec 2005)
113
-
114
-  06 Dec 2005; Scott Taylor <staylor@gentoo.org> +files/CVE-2005-3532.patch,
115
-  +courier-authlib-0.57-r2.ebuild, +courier-authlib-0.57.20051116.ebuild:
116
-  patch for Bug 113074
117
-
118
-  27 Nov 2005; Rene Nussbaumer <killerfox@gentoo.org>
119
-  courier-authlib-0.57-r1.ebuild:
120
-  Stable on hppa.
121
-
122
-  12 Nov 2005; Jason Wever <weeve@gentoo.org>
123
-  courier-authlib-0.57-r1.ebuild:
124
-  Stable on SPARC.
125
-
126
-  18 Oct 2005; Aron Griffis <agriffis@gentoo.org>
127
-  courier-authlib-0.57-r1.ebuild:
128
-  Mark 0.57-r1 stable on alpha
129
-
130
-  02 Oct 2005; Michael Hanselmann <hansmi@gentoo.org>
131
-  courier-authlib-0.57-r1.ebuild:
132
-  Stable on ppc.
133
-
134
-  02 Oct 2005; Aron Griffis <agriffis@gentoo.org>
135
-  courier-authlib-0.57-r1.ebuild:
136
-  Mark 0.57-r1 stable on ia64
137
-
138
-  02 Oct 2005; MATSUU Takuto <matsuu@gentoo.org>
139
-  courier-authlib-0.57-r1.ebuild:
140
-  Stable on sh.
141
-
142
-  24 Sep 2005; Markus Rothe <corsair@gentoo.org>
143
-  courier-authlib-0.57-r1.ebuild:
144
-  Stable on ppc64
145
-
146
-  21 Sep 2005; Francesco Riosa <vivo@gentoo.org>
147
-  courier-authlib-0.57-r1.ebuild:
148
-  Stable on "x86" and "amd64"
149
-
150
-*courier-authlib-0.57-r1 (24 Aug 2005)
151
-
152
-  24 Aug 2005; Roy Marples <uberlord@gentoo.org>
153
-  files/courier-authlib-initd, +courier-authlib-0.57-r1.ebuild:
154
-  Rev bump for new init script. Fixes #103104
155
-
156
-*courier-authlib-0.57 (26 Jul 2005)
157
-
158
-  26 Jul 2005; Francesco Riosa <vivo@gentoo.org>
159
-  +courier-authlib-0.57.ebuild:
160
-  version bump
161
-  fix Bug #88415 : courier-authlib-0.5* doesn't compile using mysql when 
162
-                   LDFLAGS are set in system
163
-
164
-*courier-authlib-0.56 (02 Jul 2005)
165
-
166
-  02 Jul 2005; Scott W Taylor <swtaylor@gentoo.org>
167
-  +courier-authlib-0.56.ebuild:
168
-  bump
169
-
170
-  29 May 2005; <solar@gentoo.org> courier-authlib-0.53.ebuild,
171
-  courier-authlib-0.54.20050224.ebuild, courier-authlib-0.55.20050320.ebuild,
172
-  courier-authlib-0.55.ebuild:
173
-  - update courier-authlib to use libc expanded variable elibc_uclibc vs uclibc
174
-  so USE=-* works
175
-
176
-*courier-authlib-0.55.20050320 (21 Mar 2005)
177
-
178
-  21 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
179
-  -courier-authlib-0.54.ebuild, +courier-authlib-0.55.20050320.ebuild:
180
-  bump
181
-
182
-  20 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
183
-  courier-authlib-0.53.ebuild, courier-authlib-0.55.ebuild:
184
-  promote 0.55, strip -fomit-frame-pointer
185
-
186
-  19 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
187
-  courier-authlib-0.53.ebuild, courier-authlib-0.54.ebuild,
188
-  courier-authlib-0.54.20050224.ebuild, courier-authlib-0.55.ebuild:
189
-  bash cleanup
190
-
191
-  17 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
192
-  courier-authlib-0.53.ebuild, courier-authlib-0.54.ebuild,
193
-  courier-authlib-0.54.20050224.ebuild, courier-authlib-0.55.ebuild:
194
-  install mysql readme file for pgsql users
195
-
196
-  15 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
197
-  -courier-authlib-0.52-r1.ebuild, courier-authlib-0.53.ebuild,
198
-  courier-authlib-0.54.ebuild, courier-authlib-0.54.20050224.ebuild,
199
-  courier-authlib-0.55.ebuild:
200
-  change vpopmail detection for #85391
201
-
202
-*courier-authlib-0.55 (04 Mar 2005)
203
-
204
-  04 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
205
-  +courier-authlib-0.55.ebuild:
206
-  bump
207
-
208
-*courier-authlib-0.54.20050224 (25 Feb 2005)
209
-
210
-  25 Feb 2005; Scott W Taylor <swtaylor@gentoo.org>
211
-  +courier-authlib-0.54.20050224.ebuild:
212
-  bump. adds cram-sha256
213
-
214
-*courier-authlib-0.54 (13 Feb 2005)
215
-
216
-  13 Feb 2005; Scott W Taylor <swtaylor@gentoo.org>
217
-  +courier-authlib-0.54.ebuild:
218
-  errata bump
219
-
220
-  04 Feb 2005; Scott W Taylor <swtaylor@gentoo.org>
221
-  files/courier-authlib-initd:
222
-  add "provide authdaemond" to init script
223
-
224
-  31 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
225
-  courier-authlib-0.52-r1.ebuild, courier-authlib-0.53.ebuild:
226
-  changed sed calls for more consistent edits.
227
-  make sure userdb is found and migrated
228
-  call makeuserdb after the install, if userdb exists
229
-
230
-  30 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
231
-  courier-authlib-0.52-r1.ebuild, courier-authlib-0.53.ebuild:
232
-  mostly cosmetic changes. also puts authldap.schema in /etc/openldap/schema/
233
-
234
-  30 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
235
-  courier-authlib-0.52-r1.ebuild:
236
-  initial stable keywording
237
-
238
-*courier-authlib-0.53 (30 Jan 2005)
239
-
240
-  30 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
241
-  +courier-authlib-0.53.ebuild:
242
-  bump to 0.53
243
-
244
-*courier-authlib-0.52-r1 (07 Jan 2005)
245
-
246
-  07 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
247
-  +courier-authlib-0.52-r1.ebuild:
248
-  build authshadow (bug 71909) and use /usr/$(get_libdir) for better arch support
249
-
250
-  06 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
251
-  courier-authlib-0.52.ebuild:
252
-  multilib and cross-compilation fixes.
253
-
254
-  01 Jan 2005; Tuan Van <langthang@gentoo.org> courier-authlib-0.52.ebuild:
255
-  add "libtoolize --copy --force"
256
-
257
-  01 Jan 2005; Tuan Van <langthang@gentoo.org> files/configure-db4.patch:
258
-  adjust patch for the newer version.
259
-
260
-*courier-authlib-0.52 (01 Jan 2005)
261
-
262
-  01 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
263
-  -courier-authlib-0.51_pre.ebuild, +courier-authlib-0.52.ebuild:
264
-  courier-authlib 0.52 released
265
-
266
-  24 Dec 2004; Markus Rothe <corsair@gentoo.org>
267
-  courier-authlib-0.51_pre.ebuild:
268
-  Added ~ppc64 to KEYWORDS; bug #75450
269
-
270
-  22 Dec 2004; Tuan Van <langthang@gentoo.org>
271
-  courier-authlib-0.51_pre.ebuild:
272
-  arm/hppa/ia64/s390 keywords on behalf of vapier.
273
-
274
-  15 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
275
-  courier-authlib-0.50.20041203.ebuild:
276
-  change keepdir in the other one too
277
-
278
-  15 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
279
-  courier-authlib-0.51_pre.ebuild:
280
-  keep more specific dir, and one that doesn't collide with courier
281
-
282
-  10 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
283
-  -courier-authlib-0.50.20041120.ebuild,
284
-  -courier-authlib-0.50.20041129.ebuild:
285
-  housecleaning
286
-
287
-  09 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
288
-  courier-authlib-0.51_pre.ebuild:
289
-  don't mirror release candidate
290
-
291
-*courier-authlib-0.51_pre (09 Dec 2004)
292
-
293
-  09 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
294
-  +courier-authlib-0.51_pre.ebuild:
295
-  bump
296
-
297
-*courier-authlib-0.50.20041203 (04 Dec 2004)
298
-
299
-  04 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
300
-  +courier-authlib-0.50.20041203.ebuild:
301
-  bump
302
-
303
-  01 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
304
-  courier-authlib-0.50.20041129.ebuild:
305
-  ~mips
306
-
307
-  01 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
308
-  -courier-authlib-0.50.20041116.ebuild,
309
-  courier-authlib-0.50.20041129.ebuild:
310
-  also check /etc/courier-imap folder for auth*rc configs to migrate
311
-
312
-*courier-authlib-0.50.20041129 (01 Dec 2004)
313
-
314
-  01 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
315
-  +courier-authlib-0.50.20041129.ebuild:
316
-  bump. fix migration from self
317
-
318
-  27 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
319
-  files/courier-authlib-initd, courier-authlib-0.50.20041120.ebuild:
320
-  almost there
321
-
322
-  26 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
323
-  courier-authlib-0.50.20041120.ebuild:
324
-  fix postgres
325
-
326
-  26 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
327
-  files/courier-authlib-initd:
328
-  fix initd
329
-
330
-*courier-authlib-0.50.20041120 (21 Nov 2004)
331
-
332
-  21 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
333
-  +courier-authlib-0.50.20041120.ebuild:
334
-  version bump. work in progress.
335
-
336
-  20 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
337
-  +files/configure-db4.patch, courier-authlib-0.50.20041116.ebuild:
338
-  work in progress. merging stuff from imap
339
-
340
-*courier-authlib-0.50.20041116 (19 Nov 2004)
341
-
342
-  19 Nov 2004; Scott W Taylor <swtaylor@gentoo.org> +metadata.xml,
343
-  +courier-authlib-0.50.20041116.ebuild:
344
-  work in progress
345
-
... ...
@@ -1,7 +0,0 @@
1
-AUX 0.60.2-configure-db4.patch 2618 RMD160 33691117802c3a9fe75c75c69594a4f63f4d2575 SHA1 47fc3ba36441c79fa4d8188530a4a2e1a9c8dcd2 SHA256 a60e2f5d26673be2ae107d9fcec024f41c522663d28f4741000fb1885ce067bc
2
-AUX 0.60.2-remove-obsolete-macro.patch 254 RMD160 268c175e0e75893661c9d17a36265a008469d49d SHA1 1afe4d21d480ab71d58a60cfca03d0a5abef2a3b SHA256 1e9d8df4d8a29c91384891a389da090a9c0a16e963936e21d2f999e13cfdbc1f
3
-AUX courier-authlib 1112 RMD160 a0d5bf781ed1792677d83efd5034c83f689f7f2f SHA1 e755e781157787c921ef4884c1aca27e0ec68e87 SHA256 c946e42e5ed31a210da99af4d83cb739e2008ad2ea524955cdb141f4c7289dc9
4
-DIST courier-authlib-0.60.2.tar.bz2 2158473 RMD160 bdf6d68b7b6a5c6d13079477d83312f98dd7bd31 SHA1 cd5969075de212ecfb406ffb1ac974ea939ddcc0 SHA256 824e92b6b6f7755ec06a22b5b1eb3734853ee8824612c62f92a9b2f33be04bbd
5
-EBUILD courier-authlib-0.60.2.ebuild 5992 RMD160 b6e7a5d9f2b26bd3bbbefdc352ac4078026d6323 SHA1 22827f8a298fd6cdaea31bd28f998ce38b7c0a75 SHA256 d612e80ae4ea927abe5de24a7a7614cebe2b2a4f2a280a9ed30bf1186f63dcfa
6
-MISC ChangeLog 11838 RMD160 241c9f044c56634831180f534a013ff234e906dc SHA1 7b332caf6e0c9e4514b04662984bb5afa879072a SHA256 6453af1151aa1da3fa7f142a7d3468ac6eb616e55105d23fbb6965b29bbd4a05
7
-MISC metadata.xml 257 RMD160 2b87c540cca4d55b319602734c4feadc9c73cdaa SHA1 d5eb357bc87a8263fc17f50526f1a171bf8ce951 SHA256 047c9e5f17bca31968e9291cab682721118932209934644e1865d7e6e84e49b8
... ...
@@ -1,184 +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
-	if use elibc_uclibc ; then
47
-		sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub || die "sed failed"
48
-	fi
49
-
50
-	if ! use gdbm ; then
51
-		epatch "${FILESDIR}/${PV}-configure-db4.patch"
52
-	else
53
-		epatch "${FILESDIR}/${PV}-remove-obsolete-macro.patch"
54
-	fi
55
-
56
-	sed -i -e "s|^chk_file .* |&\${DESTDIR}|g" authmigrate.in || die "sed failed"
57
-	sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' authmigrate.in || die "sed failed"
58
-	sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' authmigrate.in || die "sed failed"
59
-	sed -i -e"s|@@INDENT@@|		|g" authmigrate.in || die "sed failed"
60
-	sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in || die "sed failed"
61
-
62
-	_elibtoolize --copy --force || die "error while running libtoolize"
63
-}
64
-
65
-src_compile() {
66
-	filter-flags -fomit-frame-pointer
67
-
68
-	local myconf=""
69
-
70
-	myconf="${myconf} `use_with pam authpam`"
71
-	myconf="${myconf} `use_with ldap authldap`"
72
-
73
-	if use berkdb ; then
74
-		if use gdbm ; then
75
-			ewarn "Both gdbm and berkdb selected. Using gdbm."
76
-		else
77
-			myconf="${myconf} --with-db=db"
78
-		fi
79
-	fi
80
-	use gdbm && myconf="${myconf} --with-db=gdbm"
81
-
82
-	if use vpopmail ; then
83
-		myconf="${myconf} --with-authvchkpw --without-authmysql --without-authpgsql"
84
-		use mysql && ewarn "Building vpopmail support instead of authmysql"
85
-		use postgres && ewarn "Building vpopmail support instead of authpgsql"
86
-	else
87
-		myconf="${myconf} --without-authvchkpw `use_with mysql authmysql` `use_with postgres authpgsql`"
88
-	fi
89
-
90
-	use debug && myconf="${myconf} debug=true"
91
-
92
-	einfo "Configuring courier-authlib: ${myconf}"
93
-
94
-	econf \
95
-		--sysconfdir=/etc/courier \
96
-		--datadir=/usr/share/courier \
97
-		--libexecdir=/usr/$(get_libdir)/courier \
98
-		--localstatedir=/var/lib/courier \
99
-		--sharedstatedir=/var/lib/courier/com \
100
-		--with-authdaemonvar=/var/lib/courier/authdaemon \
101
-		--with-authshadow \
102
-		--without-redhat \
103
-		--with-mailuser=mail \
104
-		--with-mailgroup=mail \
105
-		--cache-file="${S}/configuring.cache" \
106
-		${myconf} || die "econf failed"
107
-	emake || die "emake failed"
108
-}
109
-
110
-orderfirst() {
111
-	file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}"
112
-	if [[ -e "${file}" ]] ; then
113
-		orig="$(grep \"^${option}=\" ${file} | cut -d'\"' -f 2)"
114
-		new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/  / /g\"`\""
115
-		sed -i -e "s/^${option}=.*$/${new}/" "${file}"
116
-	fi
117
-}
118
-
119
-finduserdb() {
120
-	for dir in \
121
-		/etc/courier/authlib /etc/courier /etc/courier-imap \
122
-		/usr/lib/courier/etc /usr/lib/courier-imap/etc \
123
-		/usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \
124
-		/usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \
125
-		/usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do
126
-		if [[ -e "${dir}/userdb" ]] ; then
127
-			einfo "Found userdb at: ${dir}/userdb"
128
-			cp -f "${dir}/userdb" "${D}/etc/courier/authlib/"
129
-			chmod go-rwx "${D}/etc/courier/authlib/userdb"
130
-			continue
131
-		fi
132
-	done
133
-}
134
-
135
-src_install() {
136
-	diropts -o mail -g mail
137
-	dodir /etc/courier
138
-	keepdir /var/lib/courier/authdaemon
139
-	keepdir /etc/courier/authlib
140
-	emake DESTDIR="${D}" install || die "emake install failed"
141
-	emake DESTDIR="${D}" install-migrate|| die "emake install-migrate failed"
142
-	[[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb
143
-	emake DESTDIR="${D}" install-configure || die "emake install-configure failed"
144
-	rm -f "${D}"/etc/courier/authlib/*.bak
145
-	chown mail:mail "${D}"/etc/courier/authlib/*
146
-	for y in "${D}"/etc/courier/authlib/*.dist ; do
147
-		[[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}"
148
-	done
149
-	use pam && orderfirst authdaemonrc authmodulelist authpam
150
-	use ldap && orderfirst authdaemonrc authmodulelist authldap
151
-	use postgres && orderfirst authdaemonrc authmodulelist authpgsql
152
-	use mysql && orderfirst authdaemonrc authmodulelist authmysql
153
-	dodoc AUTHORS COPYING ChangeLog* INSTALL NEWS README
154
-	dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html
155
-	if use mysql ; then
156
-		dodoc README.authmysql.myownquery
157
-		dohtml README.authmysql.html
158
-	fi
159
-	if use postgres ; then
160
-		dohtml README.authpostgres.html README.authmysql.html
161
-	fi
162
-	if use ldap ; then
163
-		dodoc README.ldap
164
-		dodir /etc/openldap/schema
165
-		cp -f authldap.schema "${D}/etc/openldap/schema/"
166
-	fi
167
-	doinitd "${FILESDIR}/${PN}" || die "doinitd failed"
168
-}
169
-
170
-pkg_postinst() {
171
-	if [[ -e /etc/courier/authlib/userdb ]] ; then
172
-		einfo "Running makeuserdb ..."
173
-		chmod go-rwx /etc/courier/authlib/userdb
174
-		makeuserdb
175
-	fi
176
-
177
-	# Suggest cleaning out the following old files
178
-	list="$(find /etc/courier -maxdepth 1 -type f | grep \"^/etc/courier/auth\")"
179
-	if [[ ! -z "${list}" ]] ; then
180
-		ewarn "Courier authentication files are now in /etc/courier/authlib/"
181
-		elog "The following files are no longer needed and can likely be removed:"
182
-		elog " rm $(echo \"${list}\")"
183
-	fi
184
-}
... ...
@@ -1,68 +0,0 @@
1
---- configure.in.orig	2007-01-17 02:15:46.000000000 +0000
2
-+++ configure.in	2007-02-03 19:52:48.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
-@@ -264,15 +263,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	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
... ...
@@ -1,41 +0,0 @@
1
-#!/sbin/runscript
2
-# Copyright 1999-2007 Gentoo Foundation
3
-# Distributed under the terms of the GNU General Public License v2
4
-# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/files/courier-authlib,v 1.2 2007/04/08 14:10:55 chtekk Exp $
5
-
6
-depend() {
7
-	need net
8
-	provide authdaemond
9
-}
10
-
11
-checkconfig() {
12
-	if [[ ! -e /etc/courier/authlib/authdaemonrc ]] ; then
13
-		eerror "You need an /etc/courier/authlib/authdaemonrc file to run authdaemon"
14
-		return 1
15
-	fi
16
-}
17
-
18
-setauth() {
19
-	source /etc/courier/authlib/authdaemonrc
20
-	AUTHLIB="/usr/lib/courier/courier-authlib"
21
-	AUTHDAEMOND="authdaemond"
22
-	pidfile="/var/run/authdaemon.pid"
23
-	logger="/usr/sbin/courierlogger"
24
-	export DEBUG_LOGIN DEFAULTOPTIONS LOGGEROPTS
25
-}
26
-
27
-start() {
28
-	checkconfig || return 1
29
-	setauth
30
-	ebegin "Starting courier-authlib: ${AUTHDAEMOND}"
31
-	start-stop-daemon --quiet --start --pidfile "${pidfile}" --exec \
32
-		/usr/bin/env ${logger} -- ${LOGGEROPTS} -pid="${pidfile}" -start "${AUTHLIB}/${AUTHDAEMOND}" 
33
-	eend $?
34
-}
35
-
36
-stop() {
37
-	setauth
38
-	ebegin "Stopping courier-authlib: ${AUTHDAEMOND}"
39
-	start-stop-daemon --quiet --stop --pidfile "${pidfile}"
40
-	eend $?
41
-}
... ...
@@ -1,9 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
-<pkgmetadata>
4
-	<herd>net-mail</herd>
5
-	<maintainer>
6
-		<email>chtekk@gentoo.org</email>
7
-		<name>Luca Longinotti</name>
8
-	</maintainer>
9
-</pkgmetadata>
10 0