add aoutlib

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1184 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-05-01 13:04:12 +00:00
parent 7e01892a92
commit e2a4c7ab56
7 changed files with 821 additions and 0 deletions

View File

@ -0,0 +1,497 @@
# ChangeLog for net-libs/courier-authlib
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.101 2009/02/25 20:33:03 maekke Exp $
25 Feb 2009; Markus Meier <maekke@gentoo.org>
courier-authlib-0.62.2.ebuild:
amd64 stable, bug #252576
25 Feb 2009; Tobias Scherbaum <dertobi123@gentoo.org>
courier-authlib-0.62.2.ebuild:
ppc stable, bug #252576
25 Feb 2009; Raúl Porcel <armin76@gentoo.org>
courier-authlib-0.62.2.ebuild:
arm/ia64/s390/sh/x86 stable wrt #252576
23 Feb 2009; Jeroen Roovers <jer@gentoo.org>
courier-authlib-0.62.2.ebuild:
Stable for HPPA (bug #252576).
23 Feb 2009; Brent Baude <ranger@gentoo.org>
courier-authlib-0.62.2.ebuild:
Marking courier-authlib-0.62.2 ppc64 for bug 252576
23 Feb 2009; Ferris McCormick <fmccor@gentoo.org>
courier-authlib-0.62.2.ebuild:
Sparc stable, security Bug #252576.
23 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
courier-authlib-0.62.2.ebuild:
Stable on alpha, bug #252576
*courier-authlib-0.62.2 (22 Feb 2009)
22 Feb 2009; Hanno Boeck <hanno@gentoo.org>
+courier-authlib-0.62.2.ebuild:
Version bump and removed obsolete sed line.
*courier-authlib-0.61.1 (16 Dec 2008)
16 Dec 2008; Hanno Boeck <hanno@gentoo.org>
+courier-authlib-0.61.1.ebuild:
Version bump.
*courier-authlib-0.61.0 (21 Jul 2008)
21 Jul 2008; Hanno Boeck <hanno@gentoo.org>
+courier-authlib-0.61.0.ebuild:
Version bump and simplification of sed commands.
16 Jul 2008; Luca Longinotti <chtekk@gentoo.org>
courier-authlib-0.58.ebuild, courier-authlib-0.59.2.ebuild,
courier-authlib-0.60.2.ebuild, courier-authlib-0.60.2-r1.ebuild,
courier-authlib-0.60.6.ebuild:
Dep on PostgreSQL libs only.
22 Jun 2008; Markus Meier <maekke@gentoo.org>
courier-authlib-0.60.6.ebuild:
amd64 stable, bug #225407
17 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
courier-authlib-0.60.6.ebuild:
stable x86, security bug 225407
17 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
courier-authlib-0.60.6.ebuild:
don't execute tests when USE=berkdb is disabled
15 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
courier-authlib-0.60.6.ebuild:
Don't install libltdl in any case, replace the installable macro with the
convenience one.
14 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
courier-authlib-0.60.6.ebuild:
Don't run eautoreconf twice (first recursive and then non-recursive), as
it would also have deleted elibtoolize results.
11 Jun 2008; Raúl Porcel <armin76@gentoo.org>
courier-authlib-0.60.6.ebuild:
alpha/ia64/sparc stable wrt #225407
10 Jun 2008; Tobias Scherbaum <dertobi123@gentoo.org>
courier-authlib-0.60.6.ebuild:
ppc stable, bug #225407
10 Jun 2008; Brent Baude <ranger@gentoo.org>
courier-authlib-0.60.6.ebuild:
Marking courier-authlib-0.60.6 ppc64 for bug 225407
10 Jun 2008; Jeroen Roovers <jer@gentoo.org>
courier-authlib-0.60.6.ebuild:
Stable for HPPA (bug #225407).
*courier-authlib-0.60.6 (08 Jun 2008)
08 Jun 2008; Hanno Boeck <hanno@gentoo.org>
+courier-authlib-0.60.6.ebuild:
Version bump, security.
25 May 2008; Hanno Boeck <hanno@gentoo.org> courier-authlib-0.60.2.ebuild,
courier-authlib-0.60.2-r1.ebuild:
Fix license (GPL-3).
23 May 2008; Raúl Porcel <armin76@gentoo.org>
courier-authlib-0.60.2-r1.ebuild:
ia64 stable wrt #222737
22 May 2008; Markus Meier <maekke@gentoo.org>
courier-authlib-0.60.2-r1.ebuild:
amd64/x86 stable, bug #222737
22 May 2008; Tobias Klausmann <klausman@gentoo.org>
courier-authlib-0.60.2-r1.ebuild:
Stable on alpha, bug #222737
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
courier-authlib-0.58.ebuild, courier-authlib-0.59.2.ebuild,
courier-authlib-0.60.2.ebuild, courier-authlib-0.60.2-r1.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
21 May 2008; nixnut <nixnut@gentoo.org> courier-authlib-0.60.2-r1.ebuild:
Stable on ppc wrt bug 222737
20 May 2008; Jeroen Roovers <jer@gentoo.org>
courier-authlib-0.60.2-r1.ebuild:
Stable for HPPA (bug #222737).
*courier-authlib-0.60.2-r1 (20 May 2008)
20 May 2008; Hanno Boeck <hanno@gentoo.org>
+courier-authlib-0.60.2-r1.ebuild:
Remove vpopmail-support.
18 May 2008; Ferris McCormick <fmccor@gentoo.org>
courier-authlib-0.60.2.ebuild:
Sparc stable --- Bug #222737 --- builds, installs, works for me.
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
courier-authlib-0.60.2.ebuild:
Run autotools in all directories, not just the toplevel #218295.
16 Apr 2008; Luca Longinotti <chtekk@gentoo.org> metadata.xml:
Update metadata, assign this solely to the herd, I'm no longer interested
in maintaining it myself.
*courier-authlib-0.60.2 (15 Apr 2008)
15 Apr 2008; Hanno Boeck <hanno@gentoo.org>
+courier-authlib-0.60.2.ebuild:
Version bump, proxy-maintained ebuild by user Bernd Wurst.
09 Mar 2008; <ricmm@gentoo.org> courier-authlib-0.58.ebuild:
Drop to ~mips due to unstable deps
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
courier-authlib-0.58.ebuild:
(QA) RESTRICT clean up.
08 May 2007; Marius Mauch <genone@gentoo.org> courier-authlib-0.58.ebuild,
courier-authlib-0.59.2.ebuild:
Replacing einfo with elog
08 Apr 2007; Luca Longinotti <chtekk@gentoo.org> metadata.xml:
Update metadata.
*courier-authlib-0.59.2 (08 Apr 2007)
08 Apr 2007; Luca Longinotti <chtekk@gentoo.org>
-files/0.59.1-configure-db4.patch,
-files/0.59.1-remove-obsolete-macro.patch,
+files/0.59.2-configure-db4.patch,
+files/0.59.2-remove-obsolete-macro.patch, files/courier-authlib,
-files/initd/courier-authlib, metadata.xml, courier-authlib-0.58.ebuild,
-courier-authlib-0.58-r1.ebuild, -courier-authlib-0.59.1.ebuild,
+courier-authlib-0.59.2.ebuild:
Ebuild cleanup, version bump to 0.59.2.
30 Mar 2007; Timothy Redaelli <drizzt@gentoo.org>
courier-authlib-0.59.1.ebuild:
Add ~x86-fbsd keyword
*courier-authlib-0.59.1 (03 Feb 2007)
03 Feb 2007; Charlie Shepherd <masterdriverz@gentoo.org>
+files/0.59.1-configure-db4.patch,
+files/0.59.1-remove-obsolete-macro.patch, +courier-authlib-0.59.1.ebuild:
Bump to version, bug 162531, thanks to Conrad Kostecki. Add a vpopmail use
flag, bug 161754, thanks to Georgi Georgiev.
*courier-authlib-0.58-r1 (16 Jan 2007)
16 Jan 2007; Charlie Shepherd <masterdriverz@gentoo.org>
+files/0.58-configure-db4.patch, +files/0.58-remove-obsolete-macro.patch,
-files/configure-db4.patch, -files/CVE-2005-3532.patch,
+files/courier-authlib, -files/courier-authlib-initd,
+files/initd/courier-authlib, -courier-authlib-0.53.ebuild,
-courier-authlib-0.54.20050224.ebuild, -courier-authlib-0.55.ebuild,
-courier-authlib-0.55.20050320.ebuild, -courier-authlib-0.56.ebuild,
-courier-authlib-0.57.ebuild, -courier-authlib-0.57-r1.ebuild,
-courier-authlib-0.57-r2.ebuild, -courier-authlib-0.57.20051116.ebuild,
courier-authlib-0.58.ebuild, +courier-authlib-0.58-r1.ebuild:
Clean out old versions. Sanitize remaining ebuild. Bump to -r1 for bug 117290.
Fix configure for bug 117290 for >db-4.3, thanks to Hanno Meyer-Thurow. Fix
configure for bug 160286, thanks to Sheldon Hearn.
05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
courier-authlib-0.53.ebuild, courier-authlib-0.54.20050224.ebuild,
courier-authlib-0.55.ebuild, courier-authlib-0.55.20050320.ebuild,
courier-authlib-0.56.ebuild, courier-authlib-0.57.ebuild,
courier-authlib-0.57-r1.ebuild, courier-authlib-0.57-r2.ebuild,
courier-authlib-0.57.20051116.ebuild:
Remove gnuconfig_update usage, leave it to econf.
04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
courier-authlib-0.58.ebuild:
Fix broken autotools handling.
23 Nov 2006; Francesco Riosa <vivo@gentoo.org>
courier-authlib-0.53.ebuild, courier-authlib-0.54.20050224.ebuild,
courier-authlib-0.55.ebuild, courier-authlib-0.55.20050320.ebuild,
courier-authlib-0.56.ebuild, courier-authlib-0.57.ebuild,
courier-authlib-0.57-r1.ebuild, courier-authlib-0.57-r2.ebuild,
courier-authlib-0.57.20051116.ebuild, courier-authlib-0.58.ebuild:
dev-db/mysql => virtual/mysql
14 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove swtaylor from metadata.xml due to retiring.
24 Apr 2006; Joshua Kinard <kumba@gentoo.org> courier-authlib-0.58.ebuild:
Marked stable on mips.
02 Apr 2006; Jason Wever <weeve@gentoo.org> courier-authlib-0.58.ebuild:
Stable on SPARC.
07 Feb 2006; Simon Stelling <blubb@gentoo.org>
courier-authlib-0.58.ebuild:
stable on amd64
07 Feb 2006; Aron Griffis <agriffis@gentoo.org>
courier-authlib-0.58.ebuild:
Mark 0.58 stable on alpha
21 Jan 2006; Markus Rothe <corsair@gentoo.org>
courier-authlib-0.58.ebuild:
Stable on ppc64
21 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
courier-authlib-0.58.ebuild:
Stable on ppc.
17 Jan 2006; Paul Varner <fuzzyray@gentoo.org>
courier-authlib-0.58.ebuild:
Stable on x86. Bug #119055
*courier-authlib-0.58 (10 Dec 2005)
10 Dec 2005; Scott Taylor <staylor@gentoo.org>
files/courier-authlib-initd, +courier-authlib-0.58.ebuild:
add 0.58 ebuild, update init script to export params, for bug 111672
*courier-authlib-0.57.20051116 (06 Dec 2005)
*courier-authlib-0.57-r2 (06 Dec 2005)
06 Dec 2005; Scott Taylor <staylor@gentoo.org> +files/CVE-2005-3532.patch,
+courier-authlib-0.57-r2.ebuild, +courier-authlib-0.57.20051116.ebuild:
patch for Bug 113074
27 Nov 2005; Rene Nussbaumer <killerfox@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Stable on hppa.
12 Nov 2005; Jason Wever <weeve@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Stable on SPARC.
18 Oct 2005; Aron Griffis <agriffis@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Mark 0.57-r1 stable on alpha
02 Oct 2005; Michael Hanselmann <hansmi@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Stable on ppc.
02 Oct 2005; Aron Griffis <agriffis@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Mark 0.57-r1 stable on ia64
02 Oct 2005; MATSUU Takuto <matsuu@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Stable on sh.
24 Sep 2005; Markus Rothe <corsair@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Stable on ppc64
21 Sep 2005; Francesco Riosa <vivo@gentoo.org>
courier-authlib-0.57-r1.ebuild:
Stable on "x86" and "amd64"
*courier-authlib-0.57-r1 (24 Aug 2005)
24 Aug 2005; Roy Marples <uberlord@gentoo.org>
files/courier-authlib-initd, +courier-authlib-0.57-r1.ebuild:
Rev bump for new init script. Fixes #103104
*courier-authlib-0.57 (26 Jul 2005)
26 Jul 2005; Francesco Riosa <vivo@gentoo.org>
+courier-authlib-0.57.ebuild:
version bump
fix Bug #88415 : courier-authlib-0.5* doesn't compile using mysql when
LDFLAGS are set in system
*courier-authlib-0.56 (02 Jul 2005)
02 Jul 2005; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.56.ebuild:
bump
29 May 2005; <solar@gentoo.org> courier-authlib-0.53.ebuild,
courier-authlib-0.54.20050224.ebuild, courier-authlib-0.55.20050320.ebuild,
courier-authlib-0.55.ebuild:
- update courier-authlib to use libc expanded variable elibc_uclibc vs uclibc
so USE=-* works
*courier-authlib-0.55.20050320 (21 Mar 2005)
21 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
-courier-authlib-0.54.ebuild, +courier-authlib-0.55.20050320.ebuild:
bump
20 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.53.ebuild, courier-authlib-0.55.ebuild:
promote 0.55, strip -fomit-frame-pointer
19 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.53.ebuild, courier-authlib-0.54.ebuild,
courier-authlib-0.54.20050224.ebuild, courier-authlib-0.55.ebuild:
bash cleanup
17 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.53.ebuild, courier-authlib-0.54.ebuild,
courier-authlib-0.54.20050224.ebuild, courier-authlib-0.55.ebuild:
install mysql readme file for pgsql users
15 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
-courier-authlib-0.52-r1.ebuild, courier-authlib-0.53.ebuild,
courier-authlib-0.54.ebuild, courier-authlib-0.54.20050224.ebuild,
courier-authlib-0.55.ebuild:
change vpopmail detection for #85391
*courier-authlib-0.55 (04 Mar 2005)
04 Mar 2005; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.55.ebuild:
bump
*courier-authlib-0.54.20050224 (25 Feb 2005)
25 Feb 2005; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.54.20050224.ebuild:
bump. adds cram-sha256
*courier-authlib-0.54 (13 Feb 2005)
13 Feb 2005; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.54.ebuild:
errata bump
04 Feb 2005; Scott W Taylor <swtaylor@gentoo.org>
files/courier-authlib-initd:
add "provide authdaemond" to init script
31 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.52-r1.ebuild, courier-authlib-0.53.ebuild:
changed sed calls for more consistent edits.
make sure userdb is found and migrated
call makeuserdb after the install, if userdb exists
30 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.52-r1.ebuild, courier-authlib-0.53.ebuild:
mostly cosmetic changes. also puts authldap.schema in /etc/openldap/schema/
30 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.52-r1.ebuild:
initial stable keywording
*courier-authlib-0.53 (30 Jan 2005)
30 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.53.ebuild:
bump to 0.53
*courier-authlib-0.52-r1 (07 Jan 2005)
07 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.52-r1.ebuild:
build authshadow (bug 71909) and use /usr/$(get_libdir) for better arch support
06 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
courier-authlib-0.52.ebuild:
multilib and cross-compilation fixes.
01 Jan 2005; Tuan Van <langthang@gentoo.org> courier-authlib-0.52.ebuild:
add "libtoolize --copy --force"
01 Jan 2005; Tuan Van <langthang@gentoo.org> files/configure-db4.patch:
adjust patch for the newer version.
*courier-authlib-0.52 (01 Jan 2005)
01 Jan 2005; Scott W Taylor <swtaylor@gentoo.org>
-courier-authlib-0.51_pre.ebuild, +courier-authlib-0.52.ebuild:
courier-authlib 0.52 released
24 Dec 2004; Markus Rothe <corsair@gentoo.org>
courier-authlib-0.51_pre.ebuild:
Added ~ppc64 to KEYWORDS; bug #75450
22 Dec 2004; Tuan Van <langthang@gentoo.org>
courier-authlib-0.51_pre.ebuild:
arm/hppa/ia64/s390 keywords on behalf of vapier.
15 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.50.20041203.ebuild:
change keepdir in the other one too
15 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.51_pre.ebuild:
keep more specific dir, and one that doesn't collide with courier
10 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
-courier-authlib-0.50.20041120.ebuild,
-courier-authlib-0.50.20041129.ebuild:
housecleaning
09 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.51_pre.ebuild:
don't mirror release candidate
*courier-authlib-0.51_pre (09 Dec 2004)
09 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.51_pre.ebuild:
bump
*courier-authlib-0.50.20041203 (04 Dec 2004)
04 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.50.20041203.ebuild:
bump
01 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.50.20041129.ebuild:
~mips
01 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
-courier-authlib-0.50.20041116.ebuild,
courier-authlib-0.50.20041129.ebuild:
also check /etc/courier-imap folder for auth*rc configs to migrate
*courier-authlib-0.50.20041129 (01 Dec 2004)
01 Dec 2004; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.50.20041129.ebuild:
bump. fix migration from self
27 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
files/courier-authlib-initd, courier-authlib-0.50.20041120.ebuild:
almost there
26 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
courier-authlib-0.50.20041120.ebuild:
fix postgres
26 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
files/courier-authlib-initd:
fix initd
*courier-authlib-0.50.20041120 (21 Nov 2004)
21 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
+courier-authlib-0.50.20041120.ebuild:
version bump. work in progress.
20 Nov 2004; Scott W Taylor <swtaylor@gentoo.org>
+files/configure-db4.patch, courier-authlib-0.50.20041116.ebuild:
work in progress. merging stuff from imap
*courier-authlib-0.50.20041116 (19 Nov 2004)
19 Nov 2004; Scott W Taylor <swtaylor@gentoo.org> +metadata.xml,
+courier-authlib-0.50.20041116.ebuild:
work in progress

View File

@ -0,0 +1,7 @@
AUX 0.59.2-configure-db4.patch 2618 RMD160 33691117802c3a9fe75c75c69594a4f63f4d2575 SHA1 47fc3ba36441c79fa4d8188530a4a2e1a9c8dcd2 SHA256 a60e2f5d26673be2ae107d9fcec024f41c522663d28f4741000fb1885ce067bc
AUX 0.59.2-remove-obsolete-macro.patch 254 RMD160 268c175e0e75893661c9d17a36265a008469d49d SHA1 1afe4d21d480ab71d58a60cfca03d0a5abef2a3b SHA256 1e9d8df4d8a29c91384891a389da090a9c0a16e963936e21d2f999e13cfdbc1f
AUX courier-authlib 1112 RMD160 a0d5bf781ed1792677d83efd5034c83f689f7f2f SHA1 e755e781157787c921ef4884c1aca27e0ec68e87 SHA256 c946e42e5ed31a210da99af4d83cb739e2008ad2ea524955cdb141f4c7289dc9
DIST courier-authlib-0.62.2.tar.bz2 2233216 RMD160 c0f4f32994056f8034f30055cfe55238d137a2ca SHA1 dc495ad6c54c271483d4862e09788621d86629a9 SHA256 8ce756df57c7f4c09219fe9c70b4f7e6002a2e0fbf9de73f304c22b316387c50
EBUILD courier-authlib-0.62.2.ebuild 5918 RMD160 a44967051ede70be85a83b2c9c83c2e1b114c379 SHA1 1320394dda79fed6368702281817dad25d754b08 SHA256 100d3bbc139f44b9912bc4a1ba55b13e303a68cf2e585e81f87f0efbcefc1206
MISC ChangeLog 16694 RMD160 d9549d1668f45cc41133296460a9df9b9a1cfaa9 SHA1 db6f6182005a853762c0c2b68d388efd7b6f67b6 SHA256 c6b9c40fac127291b14fdf208061faf37f5fdfdf004f576748a8ca289b8b03ad
MISC metadata.xml 237 RMD160 09f434a348f9d766c58ac464743d6c55f4d6d4ac SHA1 fceb032c3f94eb505cfcaa1fdb9c0162eb205912 SHA256 a8a93d896577309c559cb95967fe0ebab7ee7201a1c7204eeae6e95ce9375305

View File

@ -0,0 +1,190 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/courier-authlib-0.62.2.ebuild,v 1.8 2009/02/25 20:33:03 maekke Exp $
inherit eutils flag-o-matic autotools libtool
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
DESCRIPTION="Courier authentication library."
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
HOMEPAGE="http://www.courier-mta.org/"
LICENSE="GPL-3"
SLOT="0"
IUSE="berkdb crypt debug gdbm ldap mysql pam postgres vpopmail"
RESTRICT="userpriv
!berkdb? ( test )"
RDEPEND="gdbm? ( sys-libs/gdbm )
!gdbm? ( sys-libs/db )"
DEPEND="${RDEPEND}
>=dev-libs/openssl-0.9.6
ldap? ( >=net-nds/openldap-1.2.11 )
mysql? ( virtual/mysql )
pam? ( virtual/pam )
postgres? ( virtual/postgresql-base )"
pkg_setup() {
enewuser mail -1 -1 /var/spool/mail
if ! has_version 'dev-tcltk/expect' ; then
ewarn 'The dev-tcltk/expect package is not installed.'
ewarn 'Without it, you will not be able to change system login passwords.'
ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,'
ewarn 'and others) will work just fine.'
fi
if use vpopmail ; then
eerror
eerror "vpopmail support has been removed, it's unmaintained upstream and will be"
eerror "removed with the next release."
eerror
eerror "Please remove vpopmail USE-flag."
die "vpopmail support removed"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
if ! use gdbm ; then
epatch "${FILESDIR}/0.59.2-configure-db4.patch"
else
epatch "${FILESDIR}/0.59.2-remove-obsolete-macro.patch"
fi
sed -i -e'/for dir in/a\\t\t/etc/courier-imap \\' authmigrate.in || die "sed failed"
sed -i -e'/for dir in/a\\t\t/etc/courier/authlib \\' authmigrate.in || die "sed failed"
sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in || die "sed failed"
sed -i -e 's:AC_LIBLTDL_INSTALLABLE:AC_LIBLTDL_CONVENIENCE:' configure.in \
|| die "fixing libltdl call failed"
local d
for d in $(find -name configure.in) ; do
[[ ${d} == */libltdl/* ]] && continue
cd "${S}"/${d%configure.in}
AT_NO_RECURSIVE="yes" AT_NOELIBTOOLIZE="yes" eautoreconf
done
elibtoolize
}
src_compile() {
filter-flags -fomit-frame-pointer
local myconf=""
myconf="${myconf} `use_with pam authpam`"
myconf="${myconf} `use_with ldap authldap`"
if use berkdb ; then
if use gdbm ; then
ewarn "Both gdbm and berkdb selected. Using gdbm."
else
myconf="${myconf} --with-db=db"
fi
fi
use gdbm && myconf="${myconf} --with-db=gdbm"
myconf="${myconf} --without-authvchkpw `use_with mysql authmysql` `use_with postgres authpgsql`"
use debug && myconf="${myconf} debug=true"
einfo "Configuring courier-authlib: ${myconf}"
econf \
--sysconfdir=/etc/courier \
--datadir=/usr/share/courier \
--libexecdir=/usr/$(get_libdir)/courier \
--localstatedir=/var/lib/courier \
--sharedstatedir=/var/lib/courier/com \
--with-authdaemonvar=/var/lib/courier/authdaemon \
--with-authshadow \
--without-redhat \
--with-mailuser=mail \
--with-mailgroup=mail \
--cache-file="${S}/configuring.cache" \
${myconf} || die "econf failed"
emake -j1 || die "emake failed"
}
orderfirst() {
file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}"
if [[ -e "${file}" ]] ; then
orig="$(grep \"^${option}=\" ${file} | cut -d'\"' -f 2)"
new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\""
sed -i -e "s/^${option}=.*$/${new}/" "${file}"
fi
}
finduserdb() {
for dir in \
/etc/courier/authlib /etc/courier /etc/courier-imap \
/usr/lib/courier/etc /usr/lib/courier-imap/etc \
/usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \
/usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \
/usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do
if [[ -e "${dir}/userdb" ]] ; then
einfo "Found userdb at: ${dir}/userdb"
cp -f "${dir}/userdb" "${D}/etc/courier/authlib/"
chmod go-rwx "${D}/etc/courier/authlib/userdb"
continue
fi
done
}
src_install() {
diropts -o mail -g mail
dodir /etc/courier
keepdir /var/lib/courier/authdaemon
keepdir /etc/courier/authlib
emake DESTDIR="${D}" install || die "emake install failed"
emake DESTDIR="${D}" install-migrate|| die "emake install-migrate failed"
[[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb
emake DESTDIR="${D}" install-configure || die "emake install-configure failed"
rm -f "${D}"/etc/courier/authlib/*.bak
chown mail:mail "${D}"/etc/courier/authlib/*
for y in "${D}"/etc/courier/authlib/*.dist ; do
[[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}"
done
use pam && orderfirst authdaemonrc authmodulelist authpam
use ldap && orderfirst authdaemonrc authmodulelist authldap
use postgres && orderfirst authdaemonrc authmodulelist authpgsql
use mysql && orderfirst authdaemonrc authmodulelist authmysql
dodoc AUTHORS ChangeLog* INSTALL NEWS README
dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html
if use mysql ; then
dodoc README.authmysql.myownquery
dohtml README.authmysql.html
fi
if use postgres ; then
dohtml README.authpostgres.html README.authmysql.html
fi
if use ldap ; then
dodoc README.ldap
dodir /etc/openldap/schema
cp -f authldap.schema "${D}/etc/openldap/schema/"
fi
doinitd "${FILESDIR}/${PN}" || die "doinitd failed"
}
pkg_postinst() {
if [[ -e /etc/courier/authlib/userdb ]] ; then
einfo "Running makeuserdb ..."
chmod go-rwx /etc/courier/authlib/userdb
makeuserdb
fi
# Suggest cleaning out the following old files
list="$(find /etc/courier -maxdepth 1 -type f | grep \"^/etc/courier/auth\")"
if [[ ! -z "${list}" ]] ; then
ewarn "Courier authentication files are now in /etc/courier/authlib/"
elog "The following files are no longer needed and can likely be removed:"
elog " rm $(echo \"${list}\")"
fi
}

View File

@ -0,0 +1,68 @@
--- configure.in.orig 2007-01-17 02:15:46.000000000 +0000
+++ configure.in 2007-02-03 19:52:48.000000000 +0000
@@ -22,7 +22,6 @@
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
-AC_PROG_SYSCONFTOOL
AC_LIBLTDL_INSTALLABLE
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
@@ -264,15 +263,17 @@
if test "$db" != "gdbm"
then
- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- [ AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- [ AC_CHECK_LIB(db, db_env_create,
- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) ]
- )])
-
- AC_CHECK_FUNC(dbopen, HAVE_BDB=1)
- AC_CHECK_FUNC(db_open, HAVE_BDB=1)
- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1)
+ 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
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))
+ done
+ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create, HAVE_BDB=1)
fi
LIBS="$saveLIBS"
--- bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700
+++ bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700
@@ -21,15 +21,19 @@
dnl Checks for libraries.
saveLIBS="$LIBS"
-AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"])
- ))
-
-FOUND_DB=0
-AC_CHECK_FUNC(dbopen, FOUND_DB=1)
-AC_CHECK_FUNC(db_open, FOUND_DB=1)
-AC_CHECK_FUNC(db_env_create, FOUND_DB=1)
+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
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))
+
+ done
+FOUND_DB=0
+AC_CHECK_FUNC(db_create_4002, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4001, FOUND_DB=1)
+AC_CHECK_FUNC(db_create_4000, FOUND_DB=1)
+AC_CHECK_FUNC(db_create, FOUND_DB=1)
LIBS="$saveLIBS"

View File

@ -0,0 +1,10 @@
--- configure.in.orig 2007-01-17 02:15:46.000000000 +0000
+++ configure.in 2007-02-03 19:58:19.000000000 +0000
@@ -22,7 +22,6 @@
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
-AC_PROG_SYSCONFTOOL
AC_LIBLTDL_INSTALLABLE
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL

View File

@ -0,0 +1,41 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/files/courier-authlib,v 1.2 2007/04/08 14:10:55 chtekk Exp $
depend() {
need net
provide authdaemond
}
checkconfig() {
if [[ ! -e /etc/courier/authlib/authdaemonrc ]] ; then
eerror "You need an /etc/courier/authlib/authdaemonrc file to run authdaemon"
return 1
fi
}
setauth() {
source /etc/courier/authlib/authdaemonrc
AUTHLIB="/usr/lib/courier/courier-authlib"
AUTHDAEMOND="authdaemond"
pidfile="/var/run/authdaemon.pid"
logger="/usr/sbin/courierlogger"
export DEBUG_LOGIN DEFAULTOPTIONS LOGGEROPTS
}
start() {
checkconfig || return 1
setauth
ebegin "Starting courier-authlib: ${AUTHDAEMOND}"
start-stop-daemon --quiet --start --pidfile "${pidfile}" --exec \
/usr/bin/env ${logger} -- ${LOGGEROPTS} -pid="${pidfile}" -start "${AUTHLIB}/${AUTHDAEMOND}"
eend $?
}
stop() {
setauth
ebegin "Stopping courier-authlib: ${AUTHDAEMOND}"
start-stop-daemon --quiet --stop --pidfile "${pidfile}"
eend $?
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
<use>
<flag name="vpopmail">Enable vpopmail support</flag>
</use>
</pkgmetadata>