Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-libs/cyrus-sasl
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.194 2008/08/06 06:49:16 ulm Exp $
06 Aug 2008; Ulrich Mueller
Add USE flag description to metadata wrt GLEP 56.
19 May 2008; Tiziano Müller
cyrus-sasl-2.1.22-r2.ebuild:
Changed dependency for postgresql to virtual/postgresql-base
15 Mar 2008; Tobias Scherbaum
-cyrus-sasl-2.1.22.ebuild, -cyrus-sasl-2.1.22-r1.ebuild:
Drop old versions and therefore revert the mips stable keyword as per
#209999
28 Oct 2007; Torsten Veller
+files/cyrus-sasl-2.1.22-db4.patch, cyrus-sasl-2.1.22-r2.ebuild:
Support latest sys-libs/db versions. Thanks Tuan Van in #192753.
19 Jun 2007; Raúl Porcel
cyrus-sasl-2.1.22-r2.ebuild:
alpha stable wrt #169512
03 May 2007; Andrej Kacian
Require libpq instead of posgresql for postgres USE flag.
16 Apr 2007; Christian Faulhammer
cyrus-sasl-2.1.22-r2.ebuild:
stable amd64, bug 169512
07 Apr 2007; Luca Longinotti
files/saslauthd-2.1.21.conf, files/saslauthd2.rc6, files/pwcheck.rc6,
metadata.xml, cyrus-sasl-2.1.22-r2.ebuild:
General ebuild cleanup (comments/style). Fix issue in comment #3 of bug
#134437.
12 Mar 2007; Jeroen Roovers
Stable for HPPA (bug #169512).
12 Mar 2007; Markus Rothe
cyrus-sasl-2.1.22-r2.ebuild:
Stable on ppc64; bug #169512
08 Mar 2007; Tobias Scherbaum
cyrus-sasl-2.1.22-r2.ebuild:
Stable on ppc wrt bug #169512.
08 Mar 2007; Gustavo Zacarias
Fix manifest
08 Mar 2007; Gustavo Zacarias
cyrus-sasl-2.1.22-r2.ebuild:
Stable on sparc wrt #169512
08 Mar 2007; Christian Faulhammer
cyrus-sasl-2.1.22-r2.ebuild:
stable x86; bug 169512
07 Mar 2007; Petteri Räty
cyrus-sasl-2.1.22-r2.ebuild:
Add a call for java-pkg-opt-2_pkg_setup to pkg_setup so that we can get away
with the hooks some day.
03 Mar 2007; Marius Mauch
cyrus-sasl-2.1.22-r1.ebuild, cyrus-sasl-2.1.22-r2.ebuild:
Replacing einfo with elog
18 Feb 2007; Torsten Veller
Removed ROOT (#167271) and set KEYWORDS="mips"
*cyrus-sasl-2.1.22-r2 (03 Feb 2007)
03 Feb 2007; Alon Bar-Lev
+files/cyrus-sasl-2.1.22-qa.patch, +cyrus-sasl-2.1.22-r2.ebuild:
Fixed QA issues, migrate to new java build system bug#146647
08 Jan 2007; Torsten Veller
-files/cyrus-sasl-2.1.20-configdir.patch,
-files/cyrus-sasl-2.1.20-gcc4.patch, -files/saslauthd-2.1.20.conf,
-files/cyrus-sasl-2.1.21-configure.patch, -files/saslauthd.pam,
-cyrus-sasl-2.1.21-r2.ebuild, -cyrus-sasl-2.1.21-r3.ebuild,
cyrus-sasl-2.1.22.ebuild, cyrus-sasl-2.1.22-r1.ebuild:
Fixing #160158 and removing unneeded files.
08 Jan 2007; Diego Pettenò
cyrus-sasl-2.1.21-r2.ebuild, cyrus-sasl-2.1.21-r3.ebuild,
cyrus-sasl-2.1.22.ebuild, cyrus-sasl-2.1.22-r1.ebuild:
Add inherit pam.
05 Jan 2007; Diego Pettenò
cyrus-sasl-2.1.21-r2.ebuild, cyrus-sasl-2.1.21-r3.ebuild,
cyrus-sasl-2.1.22.ebuild:
Remove gnuconfig_update usage, leave it to econf.
10 Dec 2006; Torsten Veller
Change echo to ewarn (#153685)
23 Nov 2006; Francesco Riosa
cyrus-sasl-2.1.21-r2.ebuild, cyrus-sasl-2.1.21-r3.ebuild,
cyrus-sasl-2.1.22.ebuild, cyrus-sasl-2.1.22-r1.ebuild:
dev-db/mysql => virtual/mysql
15 Nov 2006; Markus Rothe
cyrus-sasl-2.1.22-r1.ebuild:
Stable on ppc64; bug #152544
06 Nov 2006; Jeroen Roovers
Stable for HPPA (bug #152544).
04 Nov 2006; Tobias Scherbaum
cyrus-sasl-2.1.22-r1.ebuild:
ppc stable, bug #152544
31 Oct 2006; Chris White
cyrus-sasl-2.1.22-r1.ebuild:
Amd64 stable for bug #152544.
30 Oct 2006; Roy Marples
cyrus-sasl-2.1.22-r1.ebuild:
Added ~sparc-fbsd keyword.
30 Oct 2006; Torsten Veller
Stable on x86 (#152544)
30 Oct 2006; Jason Wever
Stable on SPARC wrt bug #152544.
29 Oct 2006; Fernando J. Pereda
cyrus-sasl-2.1.22-r1.ebuild:
Stable on alpha as per bug #152544.
*cyrus-sasl-2.1.22-r1 (29 Oct 2006)
29 Oct 2006; Fernando J. Pereda
+files/cyrus-sasl-2.1.22-crypt.patch, +cyrus-sasl-2.1.22-r1.ebuild:
Fix for bug #152544. Thanks to everybody that helped there.
23 Oct 2006; Diego Pettenò
cyrus-sasl-2.1.22.ebuild:
Fix autotools rebuilding, force automake 1.9 because it does not work with
1.10. Closes bug #148207.
15 Oct 2006; Bryan Østergaard
cyrus-sasl-2.1.22.ebuild:
Stable on ia64.
12 Oct 2006; Simon Stelling
specify pgsql libdir for bug 133551
28 Sep 2006; Fernando J. Pereda
cyrus-sasl-2.1.22.ebuild:
Stable on alpha as per bug #142650
26 Sep 2006; Gustavo Zacarias
cyrus-sasl-2.1.22.ebuild:
Stable on hppa wrt #142650
16 Sep 2006; Tobias Scherbaum
cyrus-sasl-2.1.22.ebuild:
ppc stable
11 Sep 2006; Tuấn Văn
security cleanup, bug #140514.
06 Sep 2006; Joshua Jackson
Stable x86; bug #142650
05 Sep 2006; Gustavo Zacarias
cyrus-sasl-2.1.22.ebuild:
Stable on sparc wrt #142650
04 Sep 2006; Markus Rothe
Stable on ppc64; bug #142650
03 Sep 2006; Joshua Kinard
Marked stable on mips.
03 Sep 2006;
stable on amd64
*cyrus-sasl-2.1.21-r3 (04 Aug 2006)
04 Aug 2006; Tuấn Văn
+cyrus-sasl-2.1.21-r3.ebuild, cyrus-sasl-2.1.22.ebuild:
comply to the new java thingy. Bug #142650, #142708.
15 Jul 2006; Tuấn Văn
-files/saslauthd-2.1.19.conf, -files/2.1.14-kerberos.patch,
-files/2.1.14-mysql.patch, -files/cyrus-sasl-1.5.21-des.patch,
-files/cyrus-sasl-1.5.24-rpath.patch,
-files/cyrus-sasl-1.5.27-scram.patch,
-files/cyrus-sasl-2.1.17-configdir.patch,
-files/cyrus-sasl-2.1.17-db4.patch,
-files/cyrus-sasl-2.1.18-cvs-1.172.patch,
-files/cyrus-sasl-2.1.18-db4.patch,
-files/cyrus-sasl-2.1.18-pam_mysql.patch,
-files/cyrus-sasl-2.1.18-sasl-path-fix.patch,
-files/cyrus-sasl-2.1.19-configdir.patch,
-files/cyrus-sasl-2.1.19-sasl-path-fix.patch,
-files/cyrus-sasl-configdir.patch, -files/cyrus-sasl-gcc32.patch,
-files/cyrus-sasl-heimdal-deps.patch, -files/cyrus-sasl-saslauthd.patch,
-files/saslauthd.conf, -files/saslauthd.rc6, -files/saslauthd2.conf:
remove unused files.
15 Jul 2006; Tuấn Văn
-cyrus-sasl-2.1.18-r2.ebuild, -cyrus-sasl-2.1.19-r1.ebuild,
-cyrus-sasl-2.1.20-r1.ebuild, -cyrus-sasl-2.1.20-r2.ebuild,
-cyrus-sasl-2.1.20-r3.ebuild, -cyrus-sasl-2.1.21.ebuild,
-cyrus-sasl-2.1.21-r1.ebuild:
Security cleanup. Bug #140514
25 May 2006; Tuấn Văn
move the block generates sasldb2 to pkg_postinst.
*cyrus-sasl-2.1.22 (25 May 2006)
25 May 2006; Tuấn Văn
+files/cyrus-sasl-2.1.22-as-needed.patch, +cyrus-sasl-2.1.22.ebuild:
Add --enable-auth-sasldb to myconf.
Requested by Gary Richards
Add patch to support as-needed.
Report by Prakash Punnoor
Do not generate /etc/sasl2/sasldb2 if found. Tidy.
NOTE: imtest from cyrus-imapd <2.3.6 is not compatible with this release.
27 Apr 2006; Marien Zwart
files/digest-cyrus-sasl-2.1.18-r2, files/digest-cyrus-sasl-2.1.19-r1,
files/digest-cyrus-sasl-2.1.20, files/digest-cyrus-sasl-2.1.20-r1,
files/digest-cyrus-sasl-2.1.20-r2, files/digest-cyrus-sasl-2.1.21,
files/digest-cyrus-sasl-2.1.21-r1, files/digest-cyrus-sasl-2.1.21-r2,
Manifest:
Fixing SHA256 digest, pass four
15 Apr 2006; Simon Stelling
cyrus-sasl-2.1.21-r2.ebuild:
stable on amd64 wrt bug 129523
15 Apr 2006; Tobias Scherbaum
cyrus-sasl-2.1.21-r2.ebuild:
ppc stable, bug #129523
14 Apr 2006; Rene Nussbaumer
cyrus-sasl-2.1.21-r2.ebuild:
Stable on hppa. See bug #129523.
11 Apr 2006; Markus Rothe
cyrus-sasl-2.1.21-r2.ebuild:
Stable on ppc64; bug #129523
11 Apr 2006; Gustavo Zacarias
cyrus-sasl-2.1.21-r2.ebuild:
Stable on sparc wrt security #129523
11 Apr 2006; Chris Gianelloni
cyrus-sasl-2.1.21-r2.ebuild:
Stable on x86 wrt bug #129523.
10 Apr 2006; Fernando J. Pereda
cyrus-sasl-2.1.21-r2.ebuild:
Stable on alpha wrt bug #129523
01 Apr 2006; Diego Pettenò
cyrus-sasl-2.1.21-r2.ebuild:
Add ~x86-fbsd keyword.
24 Feb 2006; Tuấn Văn
files/digest-cyrus-sasl-2.1.20-r3, Manifest:
fix digest. Thannks to ciaranm. Bugs #123922.
07 Dec 2005; Benjamin Smee
cyrus-sasl-2.1.21-r2.ebuild:
changes for bug #110066 and bug #114719
*cyrus-sasl-2.1.21-r2 (30 Nov 2005)
30 Nov 2005; Benjamin Smee
+files/cyrus-sasl-2.1.21-configure.patch, +cyrus-sasl-2.1.21-r2.ebuild:
Patch for building with openldap 2.3.x as per bug #113914
06 Nov 2005; Fernando J. Pereda
cyrus-sasl-2.1.21-r1.ebuild:
removed static use flag wrt bug #94137
06 Nov 2005; Fernando J. Pereda
cyrus-sasl-2.1.21-r1.ebuild:
typo fixed, no bump needed wrt bug #45181
06 Nov 2005; MATSUU Takuto
cyrus-sasl-2.1.21-r1.ebuild:
Added ~sh to KEYWORDS.
12 Oct 2005; Benjamin Smee
change to init script as per bug #109017
02 Oct 2005; MATSUU Takuto
Stable on sh.
02 Jul 2005; Diego Pettenò
cyrus-sasl-2.1.18-r2.ebuild:
sys-libs/pam_mysql -> sys-auth/pam_mysql
*cyrus-sasl-2.1.21-r1 (07 Jun 2005)
07 Jun 2005; Tuấn Văn
+cyrus-sasl-2.1.21-r1.ebuild:
add option to build auxprop plugin. Bug #95165.
add help message if USE=authdaemond. Bug #82316.
03 Jun 2005; Tuấn Văn
cyrus-sasl-2.1.20-r3.ebuild, cyrus-sasl-2.1.21.ebuild:
Don't try to create /etc/sasl2/sasldb if -berkdb and -gdbm.
*cyrus-sasl-2.1.21 (25 May 2005)
25 May 2005; Fernando J. Pereda
+cyrus-sasl-2.1.21.ebuild:
version bump, wrt #93772; also fixes #79864
23 May 2005; Fernando J. Pereda
cyrus-sasl-2.1.20-r3.ebuild:
use tabs instead of spaces to indent
23 May 2005; Fernando J. Pereda
cyrus-sasl-2.1.20-r3.ebuild:
typo fixed, wrt #93636. Thanks to Jonathan Adamczewski
*cyrus-sasl-2.1.20-r3 (20 May 2005)
20 May 2005; Fernando J. Pereda
+files/saslauthd.pam-include, +cyrus-sasl-2.1.20-r3.ebuild:
opempam compatibility, fixes #93167. Thanks to flameeyes
05 May 2005; Sven Wegener
cyrus-sasl-2.1.20-r2.ebuild:
Added missing parentheses to SRC_URI.
24 Apr 2005; Michael Hanselmann
cyrus-sasl-2.1.20.ebuild:
Stable on ppc.
08 Apr 2005; Markus Rothe
Stable on ppc64
19 Feb 2005; Michael Hanselmann
cyrus-sasl-2.1.20.ebuild:
Stable on hppa.
17 Feb 2005; Jeremy Huddleston
cyrus-sasl-2.1.20-r2.ebuild:
Multilib cleanup.
15 Feb 2005; Fernando J. Pereda
-files/cyrus-sasl-ntlm_impl-spnego.patch.gz, cyrus-sasl-2.1.20-r2.ebuild:
Move the ntlm patch out of the CVS
15 Feb 2005; Fernando J. Pereda
cyrus-sasl-2.1.20-r2.ebuild:
Add missing samba dependency
*cyrus-sasl-2.1.20-r2 (15 Feb 2005)
15 Feb 2005; Fernando J. Pereda
+files/cyrus-sasl-2.1.19-checkpw.c.patch,
+files/cyrus-sasl-ntlm_impl-spnego.patch.gz, +cyrus-sasl-2.1.20-r2.ebuild:
Fix bugs #46038,#45181,#81970,#81342. Adding urandom,srp,crypt and
ntlm_unsupported_patch use flags and its patches.
06 Feb 2005; Joshua Kinard
Marked stable on mips.
24 Jan 2005; Tuấn Văn
cyrus-sasl-2.1.20-r1.ebuild, cyrus-sasl-2.1.20.ebuild:
add fix for double spaces in CFLAGS. Bug #75538.
add ccache to the list of FEATURES that parallel build fail. Bug #78643.
23 Dec 2004; Andrej Kacian
Really fix #64733.
*cyrus-sasl-2.1.20-r1 (23 Dec 2004)
23 Dec 2004; Andrej Kacian
+cyrus-sasl-2.1.20-r1.ebuild:
Added sample local USE flag to enable building of sample client and server.
See bug #64733, reported by Warren Howard
21 Dec 2004; Bryan Østergaard
cyrus-sasl-2.1.20.ebuild:
Stable on alpha.
16 Dec 2004; Bryan Østergaard
cyrus-sasl-2.1.20.ebuild:
Fix alpha compilation, bug 69112.
16 Dec 2004; Dylan Carlson
Stable on amd64.
24 Nov 2004; Gustavo Zacarias
cyrus-sasl-2.1.20.ebuild:
Stable on sparc
16 Nov 2004; Tuan Van
Add mail-mta/courier as a qualified dep for authdaemond USE.
x86 keyword.
07 Nov 2004; Joshua Kinard
Marked stable on mips.
30 Oct 2004; Tuan Van
-cyrus-sasl-1.5.27-r5.ebuild, -cyrus-sasl-1.5.27-r6.ebuild,
-cyrus-sasl-2.1.14.ebuild, -cyrus-sasl-2.1.17.ebuild,
-cyrus-sasl-2.1.18.ebuild, cyrus-sasl-2.1.20.ebuild:
add die, add missing file, remove old ebuilds.
27 Oct 2004; Jeremy Huddleston
+files/cyrus-sasl-2.1.20-gcc4.patch, cyrus-sasl-2.1.20.ebuild:
gcc-4.0 fix
*cyrus-sasl-2.1.20 (26 Oct 2004)
26 Oct 2004; Tuan Van
+files/cyrus-sasl-2.1.20-configdir.patch, +cyrus-sasl-2.1.20.ebuild:
version bump.
19 Oct 2004; Dylan Carlson
cyrus-sasl-2.1.19-r1.ebuild:
Stable on amd64.
13 Oct 2004; Guy Martin
Stable on hppa.
09 Oct 2004; Christian Birchinger
cyrus-sasl-2.1.19-r1.ebuild:
Added sparc stable keyword
04 Oct 2004; Tuan Van
remove !arch? in *DEPEND, use.mask instead.
Stable on x86.
27 Sep 2004; Tuan Van
sync IUSE.
19 Sep 2004; Joshua Kinard
Marked stable on mips.
06 Sep 2004; Ciaran McCreesh
cyrus-sasl-2.1.19-r1.ebuild:
Switch to use epause and ebeep, bug #62950
*cyrus-sasl-2.1.19-r1 (29 Aug 2004)
29 Aug 2004; Tuan Van
+cyrus-sasl-2.1.19-r1.ebuild:
revision bump to fix the following bugs.
Bug #58768: add testsaslauthd. Thanks to steveb
Bug #60769: fix java classes installation. Thanks to Paul de Vrieze
14 Aug 2004; Tom Gall
stable on ppc64, bug #56016
10 Aug 2004; Tuan Van
cyrus-sasl-2.1.19.ebuild:
add --without-des if ! use ssl. Resolve bug #59634.
26 Jul 2004; Tuan Van
default to gdbm for SASLdb database backend if both berkdb and gdbm in
USE.
21 Jul 2004; Tuan Van
re-keywords, touchup ready to remove hardmask.
21 Jul 2004; Daniel Ostrow
Stable on ppc.
*cyrus-sasl-2.1.19 (16 Jul 2004)
16 Jul 2004; Tuan Van
+files/cyrus-sasl-2.1.19-configdir.patch,
+files/cyrus-sasl-2.1.19-sasl-path-fix.patch, +files/saslauthd-2.1.19.conf,
+cyrus-sasl-2.1.19.ebuild:
version bump.
*cyrus-sasl-2.1.18-r2 (07 Jul 2004)
07 Jul 2004; Cory Visi
cyrus-sasl-2.1.18-r2.ebuild, files/cyrus-sasl-2.1.18-sasl-path-fix.patch:
Fixed patch to close Bug 56389, revision bump to make sure everyone get's the fix.
08 Jul 2004; Christian Birchinger
cyrus-sasl-2.1.18-r1.ebuild:
Added sparc stable keyword
07 Jul 2004; Travis Tilley
stable on amd64
07 Jul 2004; langthang@gentoo.org :
stable cyrus-sasl-2.1.18-r1 on x86
07 Jul 2004; Cory Visi
files/cyrus-sasl-2.1.18-sasl-path-fix.patch:
Fix mistake in boolean logic
07 Jul 2004; Aron Griffis
stable on alpha and ia64 #56016
06 Jul 2004; Cory Visi
files/cyrus-sasl-2.1.18-pam_mysql.patch:
Added pam-mysql USE flag to support deprecated auth style re: Bug 39497
*cyrus-sasl-2.1.18-r1 (06 Jul 2004)
06 Jul 2004; Cory Visi
files/cyrus-sasl-2.1.18-cvs-1.172.patch,
files/cyrus-sasl-2.1.18-sasl-path-fix.patch:
Add patches to: fix buffer overflow (bring plugins/digestmda5.c to cvs version
1.172) and fix SASL_PATH vulnerability - marked unstable on all archs
*cyrus-sasl-2.1.17 (02 Jul 2004)
02 Jul 2004; Michael Sterrett
+files/cyrus-sasl-2.1.17-db4.patch, +cyrus-sasl-2.1.17.ebuild,
cyrus-sasl-2.1.18.ebuild:
resurrect cyrus-sasl-2.1.17.ebuild and patch; re-keyword
cyrus-sasl-2.1.18.ebuild; required deps for several packages and archs
01 Jul 2004; Jeremy Huddleston
cyrus-sasl-1.5.27-r5.ebuild, cyrus-sasl-1.5.27-r6.ebuild,
cyrus-sasl-2.1.18.ebuild:
virtual/glibc -> virtual/libc
01 Jul 2004; Cory Visi
Moved all archs to unstable due to numerous open bugs
01 Jul 2004; Cory Visi
Unstable 2.1.17 dropped due to broken db4 patch, please use 2.1.18; reference:
Bug 47027 & Bug Bug 46936
25 Jun 2004; Aron Griffis
cyrus-sasl-2.1.18.ebuild:
QA - fix use invocation
24 Jun 2004; Gustavo Zacarias
cyrus-sasl-2.1.18.ebuild:
Stable on hppa
12 Jun 2004; Tom Gall
marked stable on ppc64, bug# 53766
03 Jun 2004; Aron Griffis
cyrus-sasl-2.1.15.ebuild, cyrus-sasl-2.1.17.ebuild,
cyrus-sasl-2.1.18.ebuild:
Fix use invocation
09 May 2004; Jason Wever
Stable on sparc.
11 May 2004; Michael McCabe
Added s390 keywords
25 Apr 2004; Aron Griffis
cyrus-sasl-2.1.15.ebuild, cyrus-sasl-2.1.17.ebuild,
cyrus-sasl-2.1.18.ebuild:
Add die following econf for bug 48950
20 Apr 2004; Daniel Black
cyrus-sasl-2.1.18.ebuild:
QA - removed runtime dependance on autoconf, automake, libtool and sed
18 Apr 2004; Travis Tilley
marked stable on amd64 since the last version marked stable doesnt even seem
to compile anymore
16 Apr 2004; Michael Sterrett
cyrus-sasl-1.5.27-r6.ebuild:
move inherit to the right place
21 Mar 2004; Joshua Kinard
Marked stable on mips.
*cyrus-sasl-2.1.17 (16 Mar 2004)
16 Mar 2004; Max Kalika
cyrus-sasl-2.1.18.ebuild:
Re-add 2.1.17. Forward port arch fixes from 2.1.17 to 2.1.18. Fix
DEPEND/RDEPEND settings.
*cyrus-sasl-2.1.18 (15 Mar 2004)
15 Mar 2004; Max Kalika
cyrus-sasl-2.1.18.ebuild, files/cyrus-sasl-2.1.17-db4.patch,
files/cyrus-sasl-2.1.18-db4.patch:
Bump to version 2.1.18. Should fix bug #38699.
27 Feb 2004; Joshua Kinard
Forgot to add gnuconfig detection in for mips
27 Feb 2004; Joshua Kinard
Added ~mips to KEYWORDS to satisfy repoman deps.
25 Feb 2004; Guy Martin
Marked stable on hppa.
17 Feb 2004; Aron Griffis
stable on alpha and ia64
28 Jan 2004; Max Kalika
Fix default port name for the rimap authentication mechanism (Gentoo uses
'imap2' instead of 'imap'). Fixes bug 34272.
28 Jan 2004; Max Kalika
More flexible start-up script config file. Fixes bug 39447 as well.
28 Jan 2004; Max Kalika
cyrus-sasl-2.1.13.ebuild, cyrus-sasl-2.1.14.ebuild,
cyrus-sasl-2.1.15.ebuild, cyrus-sasl-2.1.17.ebuild,
files/cyrus-sasl-1.5.21-des.patch, files/cyrus-sasl-1.5.24-rpath.patch,
files/cyrus-sasl-1.5.27-scram.patch, files/cyrus-sasl-2.1.12-db4.patch,
files/cyrus-sasl-2.1.12-kerberos.patch, files/saslauthd2.conf:
Drop 2.1.13. Re-add missing patches. Fix rimap hostname flag for newer sasl
versions.
18 Jan 2004;
Added ~mips to KEYWORDS.
15 Jan 2004; Max Kalika
files/saslauthd.pam:
Add PAM file from bug #27690 contributed by Ryan Dalzell. Fix installation of
.rc6 and .conf files
15 Jan 2004; Max Kalika
files/cyrus-sasl-2.1.17-pgsql-include.patch:
Fix compile with newer PostgreSQL versions. Use proper WANT_AUTOCONF syntax.
Fixes bug #37227.
*cyrus-sasl-2.1.17 (14 Jan 2004)
14 Jan 2004; Max Kalika
cyrus-sasl-1.5.27-r6.ebuild, cyrus-sasl-2.1.13.ebuild,
cyrus-sasl-2.1.14.ebuild, cyrus-sasl-2.1.15.ebuild,
cyrus-sasl-2.1.17.ebuild, metadata.xml, files/crypt.diff,
files/cyrus-sasl-1.5.21-des.patch, files/cyrus-sasl-1.5.24-rpath.patch,
files/cyrus-sasl-1.5.27-scram.patch, files/cyrus-sasl-2.1.10-db4.patch,
files/cyrus-sasl-2.1.17-configdir.patch, files/cyrus-sasl-2.1.17-db4.patch,
files/cyrus-sasl-2.1.6-iovec.diff, files/cyrus-sasl-iovec.diff,
files/cyrus-sasl2-heimdal-deps.patch, files/gssapi-sefault.patch,
files/saslauthd.conf, files/saslauthd.confd, files/saslauthd.confd-2.1,
files/saslauthd.rc6, files/saslauthd2.rc6:
Massive cleanup. Remove unused files. Consolidate some other files. Add
metadata.xml. Bump version.
07 Dec 2003; Michael Sterrett
cyrus-sasl-2.1.13.ebuild, cyrus-sasl-2.1.14.ebuild,
cyrus-sasl-2.1.15.ebuild:
chown x.y -> chown x:y (bug 35127)
17 Aug 2003; Tavis Ormandy
use -D_REENTRANT on alpha
*cyrus-sasl-2.1.15 (14 Aug 2003)
14 Aug 2003; Nick Hadaway
Version bump. Kept the reworked db4 patch.
13 Jul 2003; Nick Hadaway
Changed kerberos dep to app-crypt/mit-krb5 and marked stbale for x86.
13 Jul 2003; Christian Birchinger
cyrus-sasl-2.1.14.ebuild:
Added sparc stable keyword
*cyrus-sasl-2.1.14 (09 Jul 2003)
23 Jul 2003; Guy Martin
Added hppa to KEYWORDS.
09 Jul 2003; Nick Hadaway
files/2.1.14-kerberos.patch, files/2.1.14-mysql.patch,
files/2.1.14-db4.patch:
Version bump. 2 fixes included from cvs which were noted immediately
after release on the dev mailing list. Added java and pam to IUSE.
otp support will be added as soon as opie is in portage. Updated the
db4 patch.
*cyrus-sasl-2.1.13 (09 Jun 2003)
22 Jun 2003; Nick Hadaway
Changed pid filename as noted in bug #23075. Fixed conf.d file
so invalid options aren't passed to the daemon and added some better
comments.
15 Jun 2003; Guy Martin
Added hppa to KEYWORDS.
09 Jun 2003; Nick Hadaway
files/digest-cyrus-sasl-2.1.13:
Version bump.
*cyrus-sasl-2.1.10-r3 (28 May 2003)
28 May 2003; Paul de Vrieze
files/cyrus-sasl-2.1.10-db4.patch:
Make sasl-2.1.10 also work with db4
28 May 2003; Paul de Vrieze
Fix cyrus-sasl to compile with db4
*cyrus-sasl-2.1.12 (06 Feb 2003)
06 Feb 2003; Nick Hadaway
files/digest-cyrus-sasl-2.1.12, files/cyrus-sasl-2.1.12-kerberos.patch :
Version bump. Cleaned up some configure options.
*cyrus-sasl-2.1.10-r2 (29 Jan 2003)
29 Jan 2003; Nick Hadaway
files/digest-cyrus-sasl-2.1.10-r2, files/digestmd5.patch :
Legwork done by jfelice@cronosys.com on bug #13116. This adds a patch
which should address a sendmail/sasl segfault.
*cyrus-2.1.10-r1 (23 Jan 2003)
23 Jan 2003; Nick Hadaway
files/digest-cyrus-sasl-2.1.10-r1 :
http://asg.web.cmu.edu/archive/message.php?mailbox=archive-sasl&msg=3066
Added a patch to see if that will help with problems noted in bug
#13116
*cyrus-sasl-2.1.10 (14 Dec 2002)
27 Dec 2002; Daniel Ahlberg
Marked stable.
18 Dec 2002; Nick Hadaway
Added IUSE.
14 Dec 2002; Nick Hadaway
files/digest-cyrus-sasl-2.1.10 :
Version bump. There is a known security hole in 2.1.9
06 Dec 2002; Rodney Rees
*cyrus-sasl-2.1.9-r1 (06 Dec 2002)
06 Dec 2002; Bryon Roche
cyrus-sasl-1.5.27-r6.ebuild, files/cyrus-sasl-heimdal-deps.patch,
files/cyrus-sasl2-heimdal-deps.patch, files/digest-cyrus-sasl-2.1.9-r1,
files/digest-cyrus-sasl-1.5.27-r6:
New ebuild for virtual/krb5 && fixing heimdal deps. Needs more testing.
*cyrus-sasl-2.1.9 (26 Nov 2002)
03 Dec 2002; Nick Hadaway
Marked stable.
26 Nov 2002; Nick Hadaway
files/digest-cyrus-sasl-2.1.9 :
New ebuild. Currently marked unstable.
*cyrus-sasl-2.1.7-r3 (01 Oct 2002)
11 Oct 2002; Nick Hadaway
cyrus-sasl-2.1.7-r3.ebuild :
Added gssapi authentication support via kerberos use variable.
01 Oct 2002; Alexander Holler
cyrus-sasl-2.1.7-r3.ebuild :
Added generation of an empty sasldb2 with correct permissions.
*cyrus-sasl-2.1.7-r2 (17 Sep 2002)
17 Sep 2002; Bryon Roche
cyrus-sasl-1.5.27-r5.ebuild, cyrus-sasl-2.1.7-r2.ebuild,
files/digest-cyrus-sasl-2.1.7-r2, files/cyrus-sasl-gcc32.patch :
Kerberos 5 fix and a fix for GCC 3.2
*cyrus-sasl-2.1.7-r1 (23 Aug 2002)
15 Sep 2002; Nick Hadaway
cyrus-sasl-2.1.7-r1.ebuild :
Added LOGIN authentication to support Micro$oft mail clients.
10 Sep 2002; Nick Hadaway
cyrus-sasl-2.1.7-r1.ebuild :
Changed stanzas in pkg_postinst from install to dodir so directories
are kept between software upgrades.
09 Sep 2002; Nick Hadaway
cyrus-sasl-2.1.7-r1.ebuild :
Removed undocumented and unneeded use flags. Added kerberos flag.
All default enabled authenticators which don't require external
programs or libraries are compiled in.
07 Sep 2002; Seemant Kulleen
cyrus-sasl-2.1.7-r1.ebuild :
USE flag adjustments, as discovered by jap1@ionet.net (Jacob Perkins) and
kevin@aptbasilicata.it (j2ee) in bug #7598.
23 Aug 2002; Sascha Schwabbauer
files/digest-cyrus-sasl-2.1.7-r1 :
Added digest file..
*cyrus-sasl-2.1.7-r1 (22 Aug 2002)
22 Aug 2002; Nick Hadaway
files/digest-cyrus-sasl-2.1.7-r1.ebuild, files/crypt.diff :
Enabled finer grained auth mechanism controls as suggested by Eric Renfro.
There are use variables for all relevant configure switches now. By
default pam authentication is enabled and any of the other insecure,
unsupported, or non-standard mechanisms are disabled.
*cyrus-sasl-2.1.7 (13 Aug 2002)
15 Aug 2002; Nick Hadaway
Updated configure options to specify correct dbpath. (/etc/sasl2/sasldb2)
Changed /etc/sasl2 back to root:root 755 as sasl is referenced by many
different programs, not just mail.
13 Aug 2002; Nick Hadaway
Changed permissions of /etc/sasl2 (root:mail 640)
13 Aug 2002; Nick Hadaway
cyrus-sasl-2.1.7.ebuild, files/digest-cyrus-sasl-2.1.7 :
Version bump. Adjusted configure options so configdir and dbpath point
to /etc/sasl2. Previous iovec patch from 2.1.6 still works with this
version.
*cyrus-sasl-* (22 Jul 2002)
22 Jul 2002; Nick Hadaway
Re-SLOT'd all cyrus-sasl packages back to 0 as there are conflicting files
between the 1.x and the 2.x version of cyrus-sasl.
*cyrus-sasl-2.1.6 (22 Jul 2002)
22 Jul 2002; Nick Hadaway
cyrus-sasl-2.1.6.ebuild, files/digest-cyrus-sasl-2.1.6,
files/cyrus-sasl-2.1.6-iovec.diff :
Updated to latest released version. Most notably, ldap support has been
added back in. (yay!) Here's the "New in 2.1.6" notes...
* Security fix for the CRAM-MD5 plugin to check the full length of the
digest string.
* Return of the Experimental LDAP saslauthd module.
* Addition of Experimental MySQL auxprop plugin.
* Can now select multiple auxprop plugins (and a priority ordering)
* Mechanism selection now includes number of security flags
* Mac OS X 10.1 Fixes
* Misc other minor bugfixes.
*cyrus-sasl-2.1.5-r2 (13 Jul 2002)
13 Jul 2002; Grant Goodyear
fixed typo in dep
*cyrus-sasl-2.1.5-r1 (10 Jul 2002)
10 Jul 2002; Nick Hadaway
Added support for openssl. Minor patches to fix compile issues.
*cyrus-sasl-2.1.5 (08 Jul 2002)
08 Jul 2002; Maik Schreiber
New version, closes bug #4155.
*cyrus-sasl-1.5.27-r6 (13 Feb 2003)
12 Jul 2003; Daniel Ahlberg
Added missing changelog entry.
*cyrus-sasl-1.5.27-r5 (06 Jun 2003)
12 Jul 2003; Daniel Ahlberg
Added missing changelog entry.
*cyrus-sasl-1.5.27-r4 (21 May 2002)
21 May 2002; Martin Schlemmer
Update it to use automake-1.5, hopefully finally resolving
bug #2319 and co.
*cyrus-sasl-1.5.27-r3 (5 May 2002)
5 May 2002; Martin Schlemmer
Resolve bug #2319.
*cyrus-sasl-1.5.27-r2 (3 May 2002)
3 May 2002; Donny Davies
Added LICENSE, SLOT, $Headers.
*cyrus-sasl-1.5.27-r1 (23 Apr 2002)
23 Apr 2002; Martin Schlemmer
Added a libtoolize && aclocal .. hopefully build issues is fixed now.
*cyrus-sasl-1.5.27 (18 Feb 2002)
18 Feb 2002; Donny Davies
Initial checkin of this package. Postfix now compiles with this
library by default, and I have tested successfully with *outbound*
smtp authentication. Should you discover a bug, or any issues with
*inbound* authentication, lemme know.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX cyrus-sasl-2.1.17-pgsql-include.patch 617 RMD160 b6a01c3447b49c8cc33ae0c7ca63294cad8e672c SHA1 a7a22f113044d8bda07e8345781913c317941f53 SHA256 394b196e7d5d7abb3d340de69ddea718bf80936de1eb667580ebae40b9cca228
AUX cyrus-sasl-2.1.19-checkpw.c.patch 4858 RMD160 04f03808803b7a6f73bec5325c867b6e96e50f73 SHA1 60949a168c99b445298b3af786dae6e1b0f129d9 SHA256 57bc424e617ca4bac9e27f0f20da1bab6806a39801945c180b94ae29160981a8
AUX cyrus-sasl-2.1.22-as-needed.patch 463 RMD160 190cfa32c54ad9417adaca7c6d0d75d771fee450 SHA1 438a7a8a3394bfefdb5280617e4f67deb7af1002 SHA256 bc26996cbafb59f4daf1d7acc077bae9a60e4746109a9ec4a580eaba5cb9ca78
AUX cyrus-sasl-2.1.22-crypt.patch 3767 RMD160 413d73e0e6249e27c43a5590712ffa5a091e241c SHA1 aa1dbf61306a192359ef7364f9172f32abf73353 SHA256 09c717cc95d6deb8b9ac9ba371c2a26803b19f1433620b803669872de45ef17e
AUX cyrus-sasl-2.1.22-db4.patch 691 RMD160 59d9323e51aeb1ddf0ad063aa43af95be9c4875a SHA1 1f0f0369b1e3e7f8e6729a1bd24f47c107af1fd8 SHA256 e6637054d8172f758f88f4e091e20b6f8966816d4bac965392fc49dea4c8f4b5
AUX cyrus-sasl-2.1.22-qa.patch 829 RMD160 f3640f3f77847df1395c96c2d1a333ad242d7583 SHA1 a2694e41980dc4ee9dbc8accb6bc697198f38d57 SHA256 ca3a06cc817712387ab9c9d9bad502f9a61afedb4eb178e5e5d1c512130d0c48
AUX java.README.gentoo 934 RMD160 53369bc85186e7be3e86a98d19a0a19ca4535c2b SHA1 8ddb577ffe968d4ff3cda27402ce21988c55519a SHA256 aeb733ab6371c1fe50e413e8469dcd11f0750b5afff489408c45f118857fc3fe
AUX pwcheck.rc6 538 RMD160 acd0c14abc01390b6bf0944c2b35691e00f4c27f SHA1 ef9ebcf058536a0429211d8ed0d35aacb84a35cf SHA256 9e0d9ab2f0d0f7bccbcc194f6cbfe8ed67e94958465a18f3985f3819f5ed04e1
AUX saslauthd-2.1.21.conf 926 RMD160 fab448738564cb27562a08363a9de84b1141bcc0 SHA1 3220aa01bc5aa3ed4163f3120790f581682fe2e3 SHA256 31e1676f845540dafa9c09799b110234a6362bcd056feaa1ae096e277c9d216e
AUX saslauthd.pam-include 160 RMD160 643057c1c0e6fc859114b152dab1bf0e89c13c70 SHA1 4202ff7752fd39614211dfc099faace5509c632f SHA256 97166de49d227cf5ff305168ea75ca584feda9ab87d1eb1437638861986e70ba
AUX saslauthd2.rc6 525 RMD160 b21261a0c3670d66314269775ec8ff06e9437d88 SHA1 1dfb2736a8a12181a1948870b1063577f6863b2d SHA256 329fb67382e307ab6d37aa789667b04a91ba3f69e9c1023b0902adafed065ee9
DIST cyrus-sasl-2.1.22-ntlm_impl-spnego.patch.gz 7466 RMD160 70e498d2ca27289bd729563793dcdabe650ffac4 SHA1 2f944004dbd828ca9bbd53bc7619d79c8b8714ab SHA256 a696dddc27d46ab1950b546fcf49efc1a03a8380ecc4537d085d8daacb88ccf0
DIST cyrus-sasl-2.1.22.tar.gz 1609278 RMD160 086e20d01588cb86decad001244b72a37223354c SHA1 d23454ab12054714ab97d229c86cb934ce63fbb1 SHA256 c69e3853f35b14ee2c3f6e876e42d880927258ff4678aa052e5f0853db209962
EBUILD cyrus-sasl-2.1.22-r2.ebuild 8634 RMD160 01ab5d37eac80ebd22b88b3b292b75d3ca38de99 SHA1 8dfecc873fed2f4672ff7827ca4f4eca74bda8b2 SHA256 f45f42fe1285d7f264b2df1f9d357eaa9f7158e90d673a1e0a7d0f18a895678e
MISC ChangeLog 32912 RMD160 1572ab90893a7191e3624c46f8d7114edeed4fce SHA1 557c7146ceba00e0f863d76ffd453ee8512f911c SHA256 fd610a2b43e2a386ad8fc2c831eacbfce76151033baaa6cebb5007f435c682dc
MISC metadata.xml 604 RMD160 5fa3550757ac41ba71c01624d2ccda299d16ee6a SHA1 44e30f2536736489247a4cb6aa7af21439a300d8 SHA256 149340f6876213ebfa34eb30195e6cd3403909c0afcbdc805ce46e9efdf5229e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkiZSX0ACgkQOeoy/oIi7uy5BwCgwSgsNxYWkuHbJhOxaTdYq7z8
AoEAn0r1HL7jqLemvXcJl+qaU+hyldCd
=/Rcv
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.22-r2.ebuild,v 1.15 2008/05/19 19:38:42 dev-zero Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="1.7"
inherit eutils flag-o-matic multilib autotools pam java-pkg-opt-2
ntlm_patch="${P}-ntlm_impl-spnego.patch.gz"
SASLAUTHD_CONF_VER="2.1.21"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)."
HOMEPAGE="http://asg.web.cmu.edu/sasl/"
SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz
ntlm_unsupported_patch? ( mirror://gentoo/${ntlm_patch} )"
LICENSE="as-is"
SLOT="2"
IUSE="authdaemond berkdb crypt gdbm kerberos ldap mysql ntlm_unsupported_patch pam postgres sample srp ssl urandom"
RDEPEND="authdaemond? ( || ( >=net-mail/courier-imap-3.0.7 >=mail-mta/courier-0.46 ) )
berkdb? ( >=sys-libs/db-3.2 )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
java? ( >=virtual/jre-1.4 )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-2.0.25 )
mysql? ( virtual/mysql )
ntlm_unsupported_patch? ( >=net-fs/samba-3.0.9 )
pam? ( virtual/pam )
postgres? ( >=virtual/postgresql-base-7.2 )
ssl? ( >=dev-libs/openssl-0.9.6d )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
java? ( >=virtual/jdk-1.4 )"
pkg_setup() {
if use gdbm && use berkdb ; then
echo
ewarn "You have both the 'gdbm' and 'berkdb' USE flags enabled."
ewarn "Will default to GNU DB as your SASLdb database backend."
ewarn "If you want to build with BerkeleyDB support, hit Control-C now,"
ewarn "change your USE flags -gdbm and emerge again."
echo
ewarn "Waiting 10 seconds before starting ..."
ewarn "(Control-C to abort) ..."
epause 10
fi
java-pkg-opt-2_pkg_setup
}
src_unpack() {
unpack ${A}
cd "${S}"
# Fix default port name for rimap auth mechanism.
sed -e '/define DEFAULT_REMOTE_SERVICE/s:imap:imap2:' \
-i saslauthd/auth_rimap.c || die "sed failed"
# Fix include path for newer PostgreSQL versions.
epatch "${FILESDIR}/${PN}-2.1.17-pgsql-include.patch"
# UNSUPPORTED ntlm patch (bug #81342).
use ntlm_unsupported_patch && epatch "${DISTDIR}/${ntlm_patch}"
# --as-needed fix.
epatch "${FILESDIR}/${P}-as-needed.patch"
# Support for crypted passwords (bug #45181).
use crypt && epatch "${FILESDIR}/${PN}-2.1.19-checkpw.c.patch"
# Upstream doesn't even honor their own configure options... grumble
sed -i 's:^sasldir = .*$:sasldir = $(plugindir):' \
"${S}"/plugins/Makefile.{am,in} || die "sed failed"
# Fixes for bug #152544.
epatch "${FILESDIR}/${P}-crypt.patch"
# Fix QA issues.
epatch "${FILESDIR}/${P}-qa.patch"
# support new db versions #192753
epatch "${FILESDIR}/${P}-db4.patch"
# Recreate configure.
rm -f "${S}/config/libtool.m4" || die "rm libtool.m4 failed"
AT_M4DIR="${S}/cmulocal ${S}/config" eautoreconf
}
src_compile() {
# Fix QA issues.
append-flags -fno-strict-aliasing
append-flags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED
# Java support.
use java && export JAVAC="${JAVAC} ${JAVACFLAGS}"
local myconf="--enable-login --enable-ntlm --enable-auth-sasldb --disable-krb4 --disable-otp"
myconf="${myconf} `use_with ssl openssl`"
myconf="${myconf} `use_with pam`"
myconf="${myconf} `use_with ldap`"
myconf="${myconf} `use_enable ldap ldapdb`"
myconf="${myconf} `use_enable sample`"
myconf="${myconf} `use_enable kerberos gssapi`"
myconf="${myconf} `use_with mysql` `use_enable mysql`"
myconf="${myconf} `use_enable postgres`"
use postgres && myconf="${myconf} `use_with postgres pgsql $(pg_config --libdir)`"
# Add srp USE (bug #81970).
myconf="${myconf} `use_enable srp`"
# Java support.
myconf="${myconf} `use_enable java` `use_with java javahome ${JAVA_HOME}`"
# Add authdaemond support (bug #56523).
if use authdaemond ; then
myconf="${myconf} --with-authdaemond=/var/lib/courier/authdaemon/socket"
fi
# Fix for bug #59634.
if ! use ssl ; then
myconf="${myconf} --without-des"
fi
if use mysql || use postgres ; then
myconf="${myconf} --enable-sql"
else
myconf="${myconf} --disable-sql"
fi
# Default to GDBM if both 'gdbm' and 'berkdb' are present.
if use gdbm ; then
einfo "Building with GNU DB as database backend for your SASLdb"
myconf="${myconf} --with-dblib=gdbm"
elif use berkdb ; then
einfo "Building with BerkeleyDB as database backend for your SASLdb"
myconf="${myconf} --with-dblib=berkeley"
else
einfo "Building without SASLdb support"
myconf="${myconf} --with-dblib=none"
fi
# Use /dev/urandom instead of /dev/random (bug #46038).
use urandom && myconf="${myconf} --with-devrandom=/dev/urandom"
econf \
--with-saslauthd=/var/lib/sasl2 \
--with-pwcheck=/var/lib/sasl2 \
--with-configdir=/etc/sasl2 \
--with-plugindir=/usr/$(get_libdir)/sasl2 \
--with-dbpath=/etc/sasl2/sasldb2 \
${myconf} || die "econf failed"
# We force -j1 for bug #110066.
emake -j1 || die "emake failed"
# Default location for java classes breaks OpenOffice (bug #60769).
# Thanks to axxo@gentoo.org for the solution.
cd "${S}"
if use java ; then
jar -cvf ${PN}.jar -C java $(find java -name "*.class")
fi
# Add testsaslauthd (bug #58768).
cd "${S}/saslauthd"
emake testsaslauthd || die "emake testsaslauthd failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed"
keepdir /var/lib/sasl2 /etc/sasl2
# Install everything necessary so users can build sample
# client/server (bug #64733).
if use sample ; then
insinto /usr/share/${PN}-2/examples
doins aclocal.m4 config.h config.status configure.in
dosym /usr/include/sasl /usr/share/${PN}-2/examples/include
exeinto /usr/share/${PN}-2/examples
doexe libtool
insinto /usr/share/${PN}-2/examples/sample
doins sample/*.{c,h} sample/*Makefile*
insinto /usr/share/${PN}-2/examples/sample/.deps
doins sample/.deps/*
dodir /usr/share/${PN}-2/examples/lib
dosym /usr/$(get_libdir)/libsasl2.la /usr/share/${PN}-2/examples/lib/libsasl2.la
dodir /usr/share/${PN}-2/examples/lib/.libs
dosym /usr/$(get_libdir)/libsasl2.so /usr/share/${PN}-2/examples/lib/.libs/libsasl2.so
fi
# Default location for java classes breaks OpenOffice (bug #60769).
if use java ; then
java-pkg_dojar ${PN}.jar
java-pkg_regso "${D}/usr/$(get_libdir)/libjavasasl.so"
# hackish, don't wanna dig through makefile
rm -Rf "${D}/usr/$(get_libdir)/java"
docinto "java"
dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/*
dodir "/usr/share/doc/${PF}/java/Test"
insinto "/usr/share/doc/${PF}/java/Test"
doins "${S}"/java/Test/*.java || die "Failed to copy java files to /usr/share/doc/${PF}/java/Test"
fi
docinto ""
dodoc AUTHORS ChangeLog NEWS README doc/TODO doc/*.txt
newdoc pwcheck/README README.pwcheck
dohtml doc/*.html
docinto "saslauthd"
dodoc saslauthd/{AUTHORS,ChangeLog,LDAP_SASLAUTHD,NEWS,README}
newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd || die "Failed to install saslauthd to /etc/pam.d"
newinitd "${FILESDIR}/pwcheck.rc6" pwcheck || die "Failed to install pwcheck to /etc/init.d"
newinitd "${FILESDIR}/saslauthd2.rc6" saslauthd || die "Failed to install saslauthd to /etc/init.d"
newconfd "${FILESDIR}/saslauthd-${SASLAUTHD_CONF_VER}.conf" saslauthd || die "Failed to install saslauthd to /etc/conf.d"
exeinto /usr/sbin
newexe "${S}/saslauthd/testsaslauthd" testsaslauthd || die "Failed to install testsaslauthd"
}
pkg_postinst () {
# Generate an empty sasldb2 with correct permissions.
if ( use berkdb || use gdbm ) && [[ ! -f "${ROOT}/etc/sasl2/sasldb2" ]] ; then
einfo "Generating an empty sasldb2 with correct permissions ..."
echo "p" | "${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -p login \
|| die "Failed to generate sasldb2"
"${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -d login \
|| die "Failed to delete temp user"
chown root:mail "${ROOT}/etc/sasl2/sasldb2" \
|| die "Failed to chown ${ROOT}/etc/sasl2/sasldb2"
chmod 0640 "${ROOT}/etc/sasl2/sasldb2" \
|| die "Failed to chmod ${ROOT}/etc/sasl2/sasldb2"
fi
if use sample ; then
elog "You have chosen to install sources for the example client and server."
elog "To build these, please type:"
elog "\tcd /usr/share/${PN}-2/examples/sample && make"
fi
if use authdaemond ; then
elog "You need to add a user running a service using Courier's"
elog "authdaemon to the 'mail' group. For example, do:"
elog " gpasswd -a postfix mail"
elog "to add the 'postfix' user to the 'mail' group."
fi
}