Changeset - 63da8e681792
dev-libs/cyrus-sasl/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-libs/cyrus-sasl
 
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.214 2010/04/29 07:04:31 hwoarang Exp $
 

	
 
  29 Apr 2010; Markos Chandras <hwoarang@gentoo.org>
 
  cyrus-sasl-2.1.23-r1.ebuild:
 
  Revert my previous commit
 

	
 
  28 Apr 2010; Markos Chandras <hwoarang@gentoo.org>
 
  cyrus-sasl-2.1.23-r1.ebuild:
 
  Fix typo on pkg_config
 

	
 
  11 Dec 2009; Raúl Porcel <armin76@gentoo.org>
 
  cyrus-sasl-2.1.23-r1.ebuild:
 
  ia64/s390/sh/sparc stable wrt #289481
 

	
 
  18 Nov 2009; Brent Baude <ranger@gentoo.org> cyrus-sasl-2.1.23-r1.ebuild:
 
  Marking cyrus-sasl-2.1.23-r1 ppc64 for bug 289481
 

	
 
  10 Nov 2009; Markus Meier <maekke@gentoo.org> cyrus-sasl-2.1.23-r1.ebuild:
 
  arm stable, bug #289481
 

	
 
  03 Nov 2009; Jeroen Roovers <jer@gentoo.org> cyrus-sasl-2.1.23-r1.ebuild:
 
  Stable for HPPA (bug #289481).
 

	
 
  01 Nov 2009; nixnut <nixnut@gentoo.org> cyrus-sasl-2.1.23-r1.ebuild:
 
  ppc stable #289481
 

	
 
  30 Oct 2009; Markus Meier <maekke@gentoo.org> cyrus-sasl-2.1.23-r1.ebuild:
 
  amd64/x86 stable, bug #289481
 

	
 
  27 Oct 2009; Tobias Klausmann <klausman@gentoo.org>
 
  cyrus-sasl-2.1.23-r1.ebuild:
 
  Stable on alpha, bug #289481
 

	
 
  17 Oct 2009; Petteri Räty <betelgeuse@gentoo.org>
 
  cyrus-sasl-2.1.23-r1.ebuild:
 
  Remove >=virtual/jre-1.4 from DEPEND in order to fix bug #273071.
 

	
 
*cyrus-sasl-2.1.23-r1 (17 Aug 2009)
 

	
 
  17 Aug 2009; Mike Frysinger <vapier@gentoo.org>
 
  +files/cyrus-sasl-2.1.23-authd-fix.patch, +cyrus-sasl-2.1.23-r1.ebuild:
 
  Fix USE=postgres handling, add USE=sqlite support, use latest autotools,
 
  and cleanup ebuild in general.
 

	
 
  30 Jun 2009; Raúl Porcel <armin76@gentoo.org> cyrus-sasl-2.1.23.ebuild:
 
  arm/ia64/s390/sh/sparc stable wrt #270261
 

	
 
  27 Jun 2009; Richard Freeman <rich0@gentoo.org> cyrus-sasl-2.1.23.ebuild:
 
  amd64 stable - 270261
 

	
 
  27 Jun 2009; Brent Baude <ranger@gentoo.org> cyrus-sasl-2.1.23.ebuild:
 
  Marking cyrus-sasl-2.1.23 ppc64 and ppc for bug 270261
 

	
 
  27 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
 
  cyrus-sasl-2.1.23.ebuild:
 
  stable x86, security bug 270261
 

	
 
  26 Jun 2009; Tobias Klausmann <klausman@gentoo.org>
 
  cyrus-sasl-2.1.23.ebuild:
 
  Stable on alpha, bug #270261
 

	
 
  25 Jun 2009; Tobias Scherbaum <dertobi123@gentoo.org>
 
  cyrus-sasl-2.1.23.ebuild:
 
  Update ntlm_impl-spnego.patch, bug #273572, updated patch by Dmitry Karasik
 

	
 
  25 Jun 2009; Jeroen Roovers <jer@gentoo.org> cyrus-sasl-2.1.23.ebuild:
 
  Stable for HPPA (bug #270261).
 

	
 
*cyrus-sasl-2.1.23 (18 May 2009)
 

	
 
  18 May 2009; Tobias Scherbaum <dertobi123@gentoo.org>
 
  +cyrus-sasl-2.1.23.ebuild:
 
  Version bump, p.masked though for ABI change without soname change (security
 
  bug #270261)
 

	
 
  08 May 2009; Peter Alfredsen <loki_val@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild, +files/cyrus-sasl-2.1.22-gcc44.patch:
 
  Fix gcc-4.4 compatibility, bug 248738. Thanks to dirtyepic for the patch.
 

	
 
  06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
 
  Add USE flag description to metadata wrt GLEP 56.
 

	
 
  19 May 2008; Tiziano Müller <dev-zero@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  Changed dependency for postgresql to virtual/postgresql-base
 

	
 
  15 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  -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 <tove@gentoo.org>
 
  +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 <armin76@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  alpha stable wrt #169512
 

	
 
  03 May 2007; Andrej Kacian <ticho@gentoo.org> cyrus-sasl-2.1.22-r2.ebuild:
 
  Require libpq instead of posgresql for postgres USE flag.
 

	
 
  16 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  stable amd64, bug 169512
 

	
 
  07 Apr 2007; Luca Longinotti <chtekk@gentoo.org>
 
  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 <jer@gentoo.org> cyrus-sasl-2.1.22-r2.ebuild:
 
  Stable for HPPA (bug #169512).
 

	
 
  12 Mar 2007; Markus Rothe <corsair@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  Stable on ppc64; bug #169512
 

	
 
  08 Mar 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  Stable on ppc wrt bug #169512.
 

	
 
  08 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> ChangeLog:
 
  Fix manifest
 

	
 
  08 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  Stable on sparc wrt #169512
 

	
 
  08 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
 
  cyrus-sasl-2.1.22-r2.ebuild:
 
  stable x86; bug 169512
 

	
 
  07 Mar 2007; Petteri Räty <betelgeuse@gentoo.org>
 
  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 <genone@gentoo.org> cyrus-sasl-2.1.22.ebuild,
 
  cyrus-sasl-2.1.22-r1.ebuild, cyrus-sasl-2.1.22-r2.ebuild:
 
  Replacing einfo with elog
 

	
 
  18 Feb 2007; Torsten Veller <tove@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  Removed ROOT (#167271) and set KEYWORDS="mips"
 

	
 
*cyrus-sasl-2.1.22-r2 (03 Feb 2007)
 

	
 
  03 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org>
 
  +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 <tove@gentoo.org>
 
  -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ò <flameeyes@gentoo.org>
 
  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ò <flameeyes@gentoo.org>
 
  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 <tove@gentoo.org> cyrus-sasl-2.1.22-r1.ebuild:
 
  Change echo to ewarn (#153685)
 

	
 
  23 Nov 2006; Francesco Riosa <vivo@gentoo.org>
 
  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 <corsair@gentoo.org>
 
  cyrus-sasl-2.1.22-r1.ebuild:
 
  Stable on ppc64; bug #152544
 

	
 
  06 Nov 2006; Jeroen Roovers <jer@gentoo.org> cyrus-sasl-2.1.22-r1.ebuild:
 
  Stable for HPPA (bug #152544).
 

	
 
  04 Nov 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  cyrus-sasl-2.1.22-r1.ebuild:
 
  ppc stable, bug #152544
 

	
 
  31 Oct 2006; Chris White <chriswhite@gentoo.org>
 
  cyrus-sasl-2.1.22-r1.ebuild:
 
  Amd64 stable for bug #152544.
 

	
 
  30 Oct 2006; Roy Marples <uberlord@gentoo.org> cyrus-sasl-2.1.22.ebuild,
 
  cyrus-sasl-2.1.22-r1.ebuild:
 
  Added ~sparc-fbsd keyword.
 

	
 
  30 Oct 2006; Torsten Veller <tove@gentoo.org> cyrus-sasl-2.1.22-r1.ebuild:
 
  Stable on x86 (#152544)
 

	
 
  30 Oct 2006; Jason Wever <weeve@gentoo.org> cyrus-sasl-2.1.22-r1.ebuild:
 
  Stable on SPARC wrt bug #152544.
 

	
 
  29 Oct 2006; Fernando J. Pereda <ferdy@gentoo.org>
 
  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 <ferdy@gentoo.org>
 
  +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ò <flameeyes@gentoo.org>
 
  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 <kloeri@gentoo.org>
 
  cyrus-sasl-2.1.22.ebuild:
 
  Stable on ia64.
 

	
 
  12 Oct 2006; Simon Stelling <blubb@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  specify pgsql libdir for bug 133551
 

	
 
  28 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org>
 
  cyrus-sasl-2.1.22.ebuild:
 
  Stable on alpha as per bug #142650
 

	
 
  26 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  cyrus-sasl-2.1.22.ebuild:
 
  Stable on hppa wrt #142650
 

	
 
  16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  cyrus-sasl-2.1.22.ebuild:
 
  ppc stable
 

	
 
  11 Sep 2006; Tuấn Văn <langthang@gentoo.org> -cyrus-sasl-2.1.20.ebuild:
 
  security cleanup, bug #140514.
 

	
 
  06 Sep 2006; Joshua Jackson <tsunam@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  Stable x86; bug #142650
 

	
 
  05 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  cyrus-sasl-2.1.22.ebuild:
 
  Stable on sparc wrt #142650
 

	
 
  04 Sep 2006; Markus Rothe <corsair@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  Stable on ppc64; bug #142650
 

	
 
  03 Sep 2006; Joshua Kinard <kumba@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  Marked stable on mips.
 

	
 
  03 Sep 2006; <blubb@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  stable on amd64
 

	
 
*cyrus-sasl-2.1.21-r3 (04 Aug 2006)
 

	
 
  04 Aug 2006; Tuấn Văn <langthang@gentoo.org>
 
  +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 <langthang@gentoo.org> -files/2.1.14-db4.patch,
 
  -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 <langthang@gentoo.org>
 
  -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 <langthang@gentoo.org> cyrus-sasl-2.1.22.ebuild:
 
  move the block generates sasldb2 to pkg_postinst.
 

	
 
*cyrus-sasl-2.1.22 (25 May 2006)
 

	
 
  25 May 2006; Tuấn Văn <langthang@gentoo.org>
 
  +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 <gary_gentoo@dsnine.co.uk>, bug #129170.
 
  Add patch to support as-needed.
 
      Report by Prakash Punnoor <prakashp@arcor.de>, bug #116458.
 
  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 <marienz@gentoo.org>
 
  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 <blubb@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  stable on amd64 wrt bug 129523
 

	
 
  15 Apr 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  ppc stable, bug #129523
 

	
 
  14 Apr 2006; Rene Nussbaumer <killerfox@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  Stable on hppa. See bug #129523.
 

	
 
  11 Apr 2006; Markus Rothe <corsair@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  Stable on ppc64; bug #129523
 

	
 
  11 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  Stable on sparc wrt security #129523
 

	
 
  11 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  Stable on x86 wrt bug #129523.
 

	
 
  10 Apr 2006; Fernando J. Pereda <ferdy@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  Stable on alpha wrt bug #129523
 

	
 
  01 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
 
  cyrus-sasl-2.1.21-r2.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
  24 Feb 2006; Tuấn Văn <langthang@gentoo.org>
 
  files/digest-cyrus-sasl-2.1.20-r3, Manifest:
 
  fix digest. Thannks to ciaranm. Bugs #123922.
 

	
 
  07 Dec 2005; Benjamin Smee <strerror@gentoo.org>
 
  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 <strerror@gentoo.org>
 
  +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 <ferdy@gentoo.org>
 
  cyrus-sasl-2.1.21-r1.ebuild:
 
  removed static use flag wrt bug #94137
 

	
 
  06 Nov 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  cyrus-sasl-2.1.21-r1.ebuild:
 
  typo fixed, no bump needed wrt bug #45181
 

	
 
  06 Nov 2005; MATSUU Takuto <matsuu@gentoo.org> cyrus-sasl-2.1.21.ebuild,
 
  cyrus-sasl-2.1.21-r1.ebuild:
 
  Added ~sh to KEYWORDS.
 

	
 
  12 Oct 2005; Benjamin Smee <strerror@gentoo.org> files/saslauthd.rc6:
 
  change to init script as per bug #109017
 

	
 
  02 Oct 2005; MATSUU Takuto <matsuu@gentoo.org> cyrus-sasl-2.1.20.ebuild:
 
  Stable on sh.
 

	
 
  02 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
 
  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 <langthang@gentoo.org>
 
  +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 <langthang@gentoo.org>
 
  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 <ferdy@gentoo.org>
 
  +cyrus-sasl-2.1.21.ebuild:
 
  version bump, wrt #93772; also fixes #79864
 

	
 
  23 May 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  cyrus-sasl-2.1.20-r3.ebuild:
 
  use tabs instead of spaces to indent
 

	
 
  23 May 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  cyrus-sasl-2.1.20-r3.ebuild:
 
  typo fixed, wrt #93636. Thanks to Jonathan Adamczewski <jadamcze@utas.edu.au>
 

	
 
*cyrus-sasl-2.1.20-r3 (20 May 2005)
 

	
 
  20 May 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  +files/saslauthd.pam-include, +cyrus-sasl-2.1.20-r3.ebuild:
 
  opempam compatibility, fixes #93167. Thanks to flameeyes
 

	
 
  05 May 2005; Sven Wegener <swegener@gentoo.org>
 
  cyrus-sasl-2.1.20-r2.ebuild:
 
  Added missing parentheses to SRC_URI.
 

	
 
  24 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
 
  cyrus-sasl-2.1.20.ebuild:
 
  Stable on ppc.
 

	
 
  08 Apr 2005; Markus Rothe <corsair@gentoo.org> cyrus-sasl-2.1.20.ebuild:
 
  Stable on ppc64
 

	
 
  19 Feb 2005; Michael Hanselmann <hansmi@gentoo.org>
 
  cyrus-sasl-2.1.20.ebuild:
 
  Stable on hppa.
 

	
 
  17 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org>
 
  cyrus-sasl-2.1.20-r2.ebuild:
 
  Multilib cleanup.
 

	
 
  15 Feb 2005; Fernando J. Pereda <ferdy@gentoo.org>
 
  -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 <ferdy@gentoo.org>
 
  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 <ferdy@gentoo.org>
 
  +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 <kumba@gentoo.org> cyrus-sasl-2.1.20.ebuild:
 
  Marked stable on mips.
 

	
 
  24 Jan 2005; Tuấn Văn <langthang@gentoo.org>
 
  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 <ticho@gentoo.org> cyrus-sasl-2.1.20-r1.ebuild:
 
  Really fix #64733.
 

	
 
*cyrus-sasl-2.1.20-r1 (23 Dec 2004)
 

	
 
  23 Dec 2004; Andrej Kacian <ticho@gentoo.org>
 
  +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 <warren_h@naturesoft.net>.
 

	
 
  21 Dec 2004; Bryan Østergaard <kloeri@gentoo.org>
 
  cyrus-sasl-2.1.20.ebuild:
 
  Stable on alpha.
 

	
 
  16 Dec 2004; Bryan Østergaard <kloeri@gentoo.org>
 
  cyrus-sasl-2.1.20.ebuild:
 
  Fix alpha compilation, bug 69112.
 

	
 
  16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> cyrus-sasl-2.1.20.ebuild:
 
  Stable on amd64.
 

	
 
  24 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org>
 
  cyrus-sasl-2.1.20.ebuild:
 
  Stable on sparc
 

	
 
  16 Nov 2004; Tuan Van <langthang@gentoo.org> cyrus-sasl-2.1.20.ebuild:
 
  Add mail-mta/courier as a qualified dep for authdaemond USE.
 
  x86 keyword.
 

	
 
  07 Nov 2004; Joshua Kinard <kumba@gentoo.org> cyrus-sasl-2.1.19-r1.ebuild:
 
  Marked stable on mips.
 

	
 
  30 Oct 2004; Tuan Van <langthang@gentoo.org> +files/saslauthd-2.1.20.conf,
 
  -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 <eradicator@gentoo.org>
 
  +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 <langthang@gentoo.org>
 
  +files/cyrus-sasl-2.1.20-configdir.patch, +cyrus-sasl-2.1.20.ebuild:
 
  version bump.
 

	
 
  19 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
 
  cyrus-sasl-2.1.19-r1.ebuild:
 
  Stable on amd64.
 

	
 
  13 Oct 2004; Guy Martin <gmsoft@gentoo.org> cyrus-sasl-2.1.19-r1.ebuild:
 
  Stable on hppa.
 

	
 
  09 Oct 2004; Christian Birchinger <joker@gentoo.org>
 
  cyrus-sasl-2.1.19-r1.ebuild:
 
  Added sparc stable keyword
 

	
 
  04 Oct 2004; Tuan Van <langthang@gentoo.org> cyrus-sasl-2.1.19-r1.ebuild:
 
  remove !arch? in *DEPEND, use.mask instead.
 
  Stable on x86.
 

	
 
  27 Sep 2004; Tuan Van <langthang@gentoo.org> cyrus-sasl-2.1.19-r1.ebuild:
 
  sync IUSE.
 

	
 
  19 Sep 2004; Joshua Kinard <kumba@gentoo.org> cyrus-sasl-2.1.18-r2.ebuild:
 
  Marked stable on mips.
 

	
 
  06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org>
 
  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 <langthang@gentoo.org> +files/java.README.gentoo,
 
  +cyrus-sasl-2.1.19-r1.ebuild:
 
  revision bump to fix the following bugs.
 
  Bug #58768: add testsaslauthd. Thanks to steveb <tp22a@softhome.net>.
 
  Bug #60769: fix java classes installation. Thanks to Paul de Vrieze 
 
  <pauldv@gentoo.org> and Thomas Matthijs <axxo@gentoo.org>.
 

	
 
  14 Aug 2004; Tom Gall <tgall@gentoo.org> cyrus-sasl-2.1.18-r2.ebuild:
 
  stable on ppc64, bug #56016
 

	
 
  10 Aug 2004; Tuan Van <langthang@gentoo.org> cyrus-sasl-2.1.18-r2.ebuild,
 
  cyrus-sasl-2.1.19.ebuild:
 
  add --without-des if ! use ssl. Resolve bug #59634.
 

	
 
  26 Jul 2004; Tuan Van <langthang@gentoo.org> cyrus-sasl-2.1.19.ebuild:
 
  default to gdbm for SASLdb database backend if both berkdb and gdbm in 
 
  USE.
 

	
 
  21 Jul 2004; Tuan Van <langthang@gentoo.org> cyrus-sasl-2.1.19.ebuild:
 
  re-keywords, touchup ready to remove hardmask.
 

	
 
  21 Jul 2004; Daniel Ostrow <dostrow@gentoo.org> cyrus-sasl-2.1.18-r2.ebuild:
 
  Stable on ppc.
 

	
 
*cyrus-sasl-2.1.19 (16 Jul 2004)
 

	
 
  16 Jul 2004; Tuan Van <langthang@gentoo.org>
 
  +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 <merlin@gentoo.org> cyrus-sasl-2.1.18-r1.ebuild,
 
  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 <joker@gentoo.org>
 
  cyrus-sasl-2.1.18-r1.ebuild:
 
  Added sparc stable keyword
 

	
 
  07 Jul 2004; Travis Tilley <lv@gentoo.org> cyrus-sasl-2.1.18-r1.ebuild:
 
  stable on amd64
 

	
 
  07 Jul 2004; langthang@gentoo.org :
 
  stable cyrus-sasl-2.1.18-r1 on x86
 

	
 
  07 Jul 2004; Cory Visi <merlin@gentoo.org>
 
  files/cyrus-sasl-2.1.18-sasl-path-fix.patch:
 
  Fix mistake in boolean logic
 

	
 
  07 Jul 2004; Aron Griffis <agriffis@gentoo.org> cyrus-sasl-2.1.18-r1.ebuild:
 
  stable on alpha and ia64 #56016
 

	
 
  06 Jul 2004; Cory Visi <merlin@gentoo.org> cyrus-sasl-2.1.18-r1.ebuild,
 
  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 <merlin@gentoo.org> cyrus-sasl-2.1.18-r1.ebuild,
 
  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 <mr_bones_@gentoo.org>
 
  +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 <eradicator@gentoo.org>
 
  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 <merlin@gentoo.org> cyrus-sasl-2.1.18.ebuild:
 
  Moved all archs to unstable due to numerous open bugs
 

	
 
  01 Jul 2004; Cory Visi <merlin@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  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 <agriffis@gentoo.org> cyrus-sasl-2.1.17.ebuild,
 
  cyrus-sasl-2.1.18.ebuild:
 
  QA - fix use invocation
 

	
 
  24 Jun 2004; Gustavo Zacarias <gustavoz@gentoo.org>
 
  cyrus-sasl-2.1.18.ebuild:
 
  Stable on hppa
 

	
 
  12 Jun 2004; Tom Gall <tgall@gentoo.org> cyrus-sasl-2.1.18.ebuild:
 
  marked stable on ppc64, bug# 53766
 

	
 
  03 Jun 2004; Aron Griffis <agriffis@gentoo.org> cyrus-sasl-2.1.14.ebuild,
 
  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 <weeve@gentoo.org> cyrus-sasl-2.1.18.ebuild:
 
  Stable on sparc.
 

	
 
  11 May 2004; Michael McCabe <randy@gentoo.org> cyrus-sasl-2.1.18.ebuild:
 
  Added s390 keywords
 

	
 
  25 Apr 2004; Aron Griffis <agriffis@gentoo.org> cyrus-sasl-2.1.14.ebuild,
 
  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 <dragonheart@gentoo.org> cyrus-sasl-2.1.17.ebuild,
 
  cyrus-sasl-2.1.18.ebuild:
 
  QA - removed runtime dependance on autoconf, automake, libtool and sed
 

	
 
  18 Apr 2004; Travis Tilley <lv@gentoo.org> cyrus-sasl-2.1.18.ebuild:
 
  marked stable on amd64 since the last version marked stable doesnt even seem
 
  to compile anymore
 

	
 
  16 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
 
  cyrus-sasl-1.5.27-r6.ebuild:
 
  move inherit to the right place
 

	
 
  21 Mar 2004; Joshua Kinard <kumba@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  Marked stable on mips.
 

	
 
*cyrus-sasl-2.1.17 (16 Mar 2004)
 

	
 
  16 Mar 2004; Max Kalika <max@gentoo.org> cyrus-sasl-2.1.17.ebuild,
 
  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 <max@gentoo.org> cyrus-sasl-2.1.17.ebuild,
 
  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 <kumba@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  Forgot to add gnuconfig detection in for mips
 

	
 
  27 Feb 2004; Joshua Kinard <kumba@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  Added ~mips to KEYWORDS to satisfy repoman deps.
 

	
 
  25 Feb 2004; Guy Martin <gmsoft@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  Marked stable on hppa.
 

	
 
  17 Feb 2004; Aron Griffis <agriffis@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  stable on alpha and ia64
 

	
 
  28 Jan 2004; Max Kalika <max@gentoo.org> cyrus-sasl-2.1.17.ebuild:
 
  Fix default port name for the rimap authentication mechanism (Gentoo uses
 
  'imap2' instead of 'imap'). Fixes bug 34272.
 

	
 
  28 Jan 2004; Max Kalika <max@gentoo.org> files/saslauthd2.conf:
 
  More flexible start-up script config file. Fixes bug 39447 as well.
 

	
 
  28 Jan 2004; Max Kalika <max@gentoo.org> 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,
 
  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; <tuxus@gentoo.org> cyrus-sasl-2.1.14.ebuild:
 
  Added ~mips to KEYWORDS.
 

	
 
  15 Jan 2004; Max Kalika <max@gentoo.org> cyrus-sasl-2.1.17.ebuild,
 
  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 <max@gentoo.org> cyrus-sasl-2.1.17.ebuild,
 
  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 <max@gentoo.org> cyrus-sasl-1.5.27-r5.ebuild,
 
  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 <mr_bones_@gentoo.org>
 
  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 <taviso@gentoo.org> cyrus-sasl-2.1.15.ebuild:
 
  use -D_REENTRANT on alpha
 

	
 
*cyrus-sasl-2.1.15 (14 Aug 2003)
 

	
 
  14 Aug 2003; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.15.ebuild:
 
  Version bump.  Kept the reworked db4 patch.
 

	
 
  13 Jul 2003; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.14.ebuild:
 
  Changed kerberos dep to app-crypt/mit-krb5 and marked stbale for x86.
 

	
 
  13 Jul 2003; Christian Birchinger <joker@gentoo.org>
 
  cyrus-sasl-2.1.14.ebuild:
 
  Added sparc stable keyword
 

	
 
*cyrus-sasl-2.1.14 (09 Jul 2003)
 

	
 
  23 Jul 2003; Guy Martin <gmsoft@gentoo.org> cyrus-sasl-2.1.14.ebuild :
 
  Added hppa to KEYWORDS.
 

	
 
  09 Jul 2003; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.14.ebuild,
 
  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 <raker@gentoo.org> files/saslauthd2.rc6:
 
  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 <gmsoft@gentoo.org> cyrus-sasl-2.1.13.ebuild:
 
  Added hppa to KEYWORDS.
 

	
 
  09 Jun 2003; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.13.ebuild,
 
  files/digest-cyrus-sasl-2.1.13:
 
  Version bump.
 

	
 
*cyrus-sasl-2.1.10-r3 (28 May 2003)
 

	
 
  28 May 2003; Paul de Vrieze <pauldv@gentoo.org> cyrus-sasl-2.1.10-r3.ebuild,
 
  files/cyrus-sasl-2.1.10-db4.patch:
 
  Make sasl-2.1.10 also work with db4
 

	
 
  28 May 2003; Paul de Vrieze <pauldv@gentoo.org> cyrus-sasl-2.1.12.ebuild:
 
  Fix cyrus-sasl to compile with db4
 

	
 
*cyrus-sasl-2.1.12 (06 Feb 2003)
 

	
 
  06 Feb 2003; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.12.ebuild,
 
  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 <raker@gentoo.org> cyrus-sasl-2.1.10-r2.ebuild,
 
  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 <raker@gentoo.org> cyrus-sasl-2.1.10-r1.ebuild,
 
  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 <aliz@gentoo.org> cyrus-sasl-2.10.ebuild :
 
  Marked stable.
 

	
 
  18 Dec 2002; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.10.ebuild :
 
  Added IUSE.
 

	
 
  14 Dec 2002; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.10.ebuild,
 
  files/digest-cyrus-sasl-2.1.10 :
 
  Version bump.  There is a known security hole in 2.1.9
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
*cyrus-sasl-2.1.9-r1 (06 Dec 2002)
 

	
 
  06 Dec 2002; Bryon Roche <kain@kain.org> cyrus-sasl-2.1.9-r1.ebuild,
 
  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 <raker@gentoo.org> cyrus-sasl-2.1.9.ebuild :
 
  Marked stable.
 

	
 
  26 Nov 2002; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.9.ebuild,
 
  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 <raker@gentoo.org>
 
  cyrus-sasl-2.1.7-r3.ebuild :
 
  Added gssapi authentication support via kerberos use variable.
 

	
 
  01 Oct 2002; Alexander Holler <holler@ahsoftware.de>
 
  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 <kain@kain.org>
 
  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 <raker@gentoo.org>
 
  cyrus-sasl-2.1.7-r1.ebuild :
 
  Added LOGIN authentication to support Micro$oft mail clients.
 

	
 
  10 Sep 2002; Nick Hadaway <raker@gentoo.org>
 
  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 <raker@gentoo.org>
 
  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 <seemant@gentoo.org>
 
  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 <cybersystem@gentoo.org>
 
  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 <raker@gentoo.org> cyrus-sasl-2.1.7-r1.ebuild, 
 
  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 <raker@gentoo.org> cyrus-sasl-2.1.7.ebuild :
 
  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 <raker@gentoo.org> cyrus-sasl-2.1.7.ebuild :
 
  Changed permissions of /etc/sasl2 (root:mail 640)
 

	
 
  13 Aug 2002; Nick Hadaway <raker@gentoo.org>
 
  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 <raker@gentoo.org> :
 
  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 <raker@gentoo.org>
 
  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 <g2boojum@gentoo.org> ChangeLog  :
 
  fixed typo in dep
 

	
 
*cyrus-sasl-2.1.5-r1 (10 Jul 2002)
 

	
 
  10 Jul 2002; Nick Hadaway <raker@gentoo.org>: cyrus-sasl-2.1.5-r1.ebuild
 
  Added support for openssl.  Minor patches to fix compile issues.
 

	
 
*cyrus-sasl-2.1.5 (08 Jul 2002)
 

	
 
  08 Jul 2002; Maik Schreiber <blizzy@gentoo.org> :
 
  New version, closes bug #4155.
 

	
 
*cyrus-sasl-1.5.27-r6 (13 Feb 2003)
 
 
 
  12 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
 
  Added missing changelog entry.
 

	
 
*cyrus-sasl-1.5.27-r5 (06 Jun 2003)
 
 
 
  12 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
 
  Added missing changelog entry.
 

	
 
*cyrus-sasl-1.5.27-r4 (21 May 2002)
 

	
 
  21 May 2002; Martin Schlemmer <azarah@gentoo.org>:
 
  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 <azarah@gentoo.org>:
 
  Resolve bug #2319.
 

	
 
*cyrus-sasl-1.5.27-r2 (3 May 2002)
 

	
 
  3 May 2002; Donny Davies <woodchip@gentoo.org>:
 
  Added LICENSE, SLOT, $Headers.
 

	
 
*cyrus-sasl-1.5.27-r1 (23 Apr 2002)
 

	
 
  23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
 
  Added a libtoolize && aclocal .. hopefully build issues is fixed now.
 

	
 
*cyrus-sasl-1.5.27 (18 Feb 2002)
 

	
 
  18 Feb 2002; Donny Davies <woodchip@gentoo.org>:
 
  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.
dev-libs/cyrus-sasl/Manifest
Show inline comments
 
new file 100644
 
AUX cyrus-sasl-2.1.17-pgsql-include.patch 588 RMD160 3291e3f65adafea6403bb7a83c0853c6dedab943 SHA1 11488c57e29ca99041a42f82fc492354829b822c SHA256 577b2431bb49ce8fcd9f5f864532e69e84fc6032c56fa564f9e95e25cfdfbc7e
 
AUX cyrus-sasl-2.1.19-checkpw.c.patch 4657 RMD160 111af2b3295c073aae6fceda63df582d4292dd8d SHA1 f7f7d6ff73263db1d568b9ce557d4ffbf835a15a SHA256 5bdb8b3525429696a391d95c89faa553c3137c442f71479bc1aa430ee5255495
 
AUX cyrus-sasl-2.1.22-as-needed.patch 463 RMD160 190cfa32c54ad9417adaca7c6d0d75d771fee450 SHA1 438a7a8a3394bfefdb5280617e4f67deb7af1002 SHA256 bc26996cbafb59f4daf1d7acc077bae9a60e4746109a9ec4a580eaba5cb9ca78
 
AUX cyrus-sasl-2.1.22-crypt.patch 2892 RMD160 ea119e119c19c89f009238c97c654d0de394b30e SHA1 353e7a1bba16d5a83bdea2577ae0d80e5d507702 SHA256 cad92b50aabbf2bcfdbd8169949a85a75c96e12ad43fcd4aaf89d6d7482210bf
 
AUX cyrus-sasl-2.1.22-db4.patch 670 RMD160 902abe9c00349e7f532f17366d3326fdfe42ab83 SHA1 67f9f73aed5a748731249f62659544c1b6e9857b SHA256 0621cec3d53f8d35fb7e33b6617510a643bc5307717ff1d81b5fcd6b6e461aff
 
AUX cyrus-sasl-2.1.22-gcc44.patch 540 RMD160 42889604f03e88d88204e5ab27fe82f7b06786d2 SHA1 9a6df4fef0e388b70d4da5675f994c94262aa992 SHA256 d803266d96bb3b9f46bc2ce4ec280509d769bbf9c1a226e20c13803db398a113
 
AUX cyrus-sasl-2.1.22-qa.patch 525 RMD160 9c8c5c1be5711b96f822e7192db8456a7b8eb1ae SHA1 17f07fb21a3ca01f8cf9c3ee7aa18632cf0dbb29 SHA256 56dbdc290871f3a42e507fe0be90431de15a832da7cf99bf3c21fb5aef05c8ac
 
AUX cyrus-sasl-2.1.23-authd-fix.patch 829 RMD160 93161e6f36a3718bf92186a2d16967fa79ed4ad3 SHA1 7355bfc5ee53c69385ddd8da9710a17d4257bba3 SHA256 8732176e4a493b6b1548dc4799bf6866b9c324f5ecaafc9d9beffe0ac423d43d
 
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
 
DIST cyrus-sasl-2.1.23-ntlm_impl-spnego.patch.gz 7462 RMD160 5931936a5271241a85fe6c7bc0ae3ebba9bd4534 SHA1 0e4e843823301ac16dec18d089010b7b33d548af SHA256 9514a7436b11184cfd7e8a9ccd3590ce9f89cf2dc272ffbbdeeab16f9ae4fe6f
 
DIST cyrus-sasl-2.1.23.tar.gz 1613642 RMD160 b2cd9734fa8b4bad82663517f019f9b92d9d3519 SHA1 5df33a6788d6cd8329b109eff777c6cfae1a21bd SHA256 20efcc4040cbab6e89a636a07dcf5720ee07b5c62359a4e7bf2500ef6020b136
 
EBUILD cyrus-sasl-2.1.22-r2.ebuild 8701 RMD160 2e5a297b04559b6d750a73b2acde7aa6797d896b SHA1 0f51b8c7d4e5b13a7655cf4727f6402e882c318e SHA256 9a8903ce85478abed7d11e472139699c759cf3381a8e39ee72f2427beacb1de8
 
EBUILD cyrus-sasl-2.1.23-r1.ebuild 8453 RMD160 a0a75965a0b342848c372dc4d7e79648a47d984d SHA1 63a7d8395c7791304af70cd689f1013c4963ea02 SHA256 bd0608b88a23c49bba015097ba9acdd1b15bd8eb6e6d61ff91f71997fb658676
 
EBUILD cyrus-sasl-2.1.23.ebuild 8736 RMD160 287231b95e07140826bbe2c012b0045aaffe1d54 SHA1 e95581eb220094560867f41bcd64a40db5170e06 SHA256 723722396571adf5c202841f54118c44e475f782dbb20cc94820e268ed67600d
 
MISC ChangeLog 35614 RMD160 8d10c8a441729adee481ef25dd6650825879fe7f SHA1 60fa4c4b4294e13076304d9bae86446554395a98 SHA256 0d6cb68a4b08bf1ebe3f8abed7594abbf1b15ba4b0d92b5733082a46abf6e558
 
MISC metadata.xml 604 RMD160 5fa3550757ac41ba71c01624d2ccda299d16ee6a SHA1 44e30f2536736489247a4cb6aa7af21439a300d8 SHA256 149340f6876213ebfa34eb30195e6cd3403909c0afcbdc805ce46e9efdf5229e
dev-libs/cyrus-sasl/cyrus-sasl-2.1.22-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 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.16 2009/05/08 00:58:58 loki_val 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"
 

	
 
	# Support gcc-4.4 #248738
 
	epatch "${FILESDIR}/${P}-gcc44.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
 
}
dev-libs/cyrus-sasl/cyrus-sasl-2.1.23-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2010 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.23-r1.ebuild,v 1.11 2010/04/29 07:04:31 hwoarang Exp $
 

	
 
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"
 

	
 
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"
 
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
 
IUSE="authdaemond berkdb crypt gdbm kerberos ldap mysql ntlm_unsupported_patch pam postgres sample sqlite 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 )
 
	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 )
 
	sqlite? ( dev-db/sqlite )
 
	ssl? ( >=dev-libs/openssl-0.9.6d )"
 
DEPEND="${RDEPEND}
 
	java? ( >=virtual/jdk-1.4 )"
 
RDEPEND="${RDEPEND} java? ( >=virtual/jre-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"
 

	
 
	# UNSUPPORTED ntlm patch #81342
 
	use ntlm_unsupported_patch && epatch "${DISTDIR}/${ntlm_patch}"
 

	
 
	epatch "${FILESDIR}"/${PN}-2.1.17-pgsql-include.patch
 
	epatch "${FILESDIR}"/${PN}-2.1.22-as-needed.patch
 
	use crypt && epatch "${FILESDIR}"/${PN}-2.1.19-checkpw.c.patch #45181
 
	epatch "${FILESDIR}"/${PN}-2.1.22-crypt.patch #152544
 
	epatch "${FILESDIR}"/${PN}-2.1.22-qa.patch
 
	epatch "${FILESDIR}"/${PN}-2.1.22-db4.patch #192753
 
	epatch "${FILESDIR}/${PN}-2.1.22-gcc44.patch" #248738
 
	epatch "${FILESDIR}"/${P}-authd-fix.patch
 

	
 
	# Upstream doesn't even honor their own configure options... grumble
 
	sed -i '/^sasldir =/s:=.*:= $(plugindir):' \
 
		"${S}"/plugins/Makefile.{am,in} || die "sed failed"
 

	
 
	# make sure to use common plugin ldflags
 
	sed -i '/_la_LDFLAGS = /s:=:= $(AM_LDFLAGS) :' plugins/Makefile.am || die
 

	
 
	# 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-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED
 

	
 
	# Java support.
 
	use java && export JAVAC="${JAVAC} ${JAVACFLAGS}"
 

	
 
	local myconf
 

	
 
	# 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 || use sqlite ; 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 \
 
		--enable-login \
 
		--enable-ntlm \
 
		--enable-auth-sasldb \
 
		--disable-krb4 \
 
		--disable-otp \
 
		--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 \
 
		$(use_with ssl openssl) \
 
		$(use_with pam) \
 
		$(use_with ldap) \
 
		$(use_enable ldap ldapdb) \
 
		$(use_enable sample) \
 
		$(use_enable kerberos gssapi) \
 
		$(use_enable java) \
 
		$(use_with java javahome ${JAVA_HOME}) \
 
		$(use_with mysql) \
 
		$(use_with postgres pgsql $(pg_config --libdir)) \
 
		$(use_with sqlite) \
 
		$(use_enable srp) \
 
		${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 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
 
}
dev-libs/cyrus-sasl/cyrus-sasl-2.1.23.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 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.23.ebuild,v 1.8 2009/06/30 13:36:20 armin76 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 x86 ~sparc-fbsd ~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}/${PN}-2.1.22-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}/${PN}-2.1.22-crypt.patch"
 

	
 
	# Fix QA issues.
 
	epatch "${FILESDIR}/${PN}-2.1.22-qa.patch"
 

	
 
	# support new db versions  #192753
 
	epatch "${FILESDIR}/${PN}-2.1.22-db4.patch"
 

	
 
	# Support gcc-4.4 #248738
 
	epatch "${FILESDIR}/${PN}-2.1.22-gcc44.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
 
}
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-pgsql-include.patch
Show inline comments
 
new file 100644
 
Fix include path for newer PostgreSQL versions
 

	
 
--- configure.in
 
+++ configure.in
 
@@ -674,7 +674,9 @@
 
      LIB_PGSQL_DIR=$LIB_PGSQL
 
      LIB_PGSQL="$LIB_PGSQL -lpq"
 
 
 
-     if test -d ${with_pgsql}/include/pgsql; then
 
+     if test -d ${with_pgsql}/include/postgresql/pgsql; then
 
+         CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/postgresql/pgsql"
 
+     elif test -d ${with_pgsql}/include/pgsql; then
 
          CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/pgsql"
 
      elif test -d ${with_pgsql}/pgsql/include; then
 
          CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.19-checkpw.c.patch
Show inline comments
 
new file 100644
 
Support for crypted passwords
 

	
 
http://bugs.gentoo.org/45181
 

	
 
--- cyrus-sasl-2.1.19/lib/Makefile.in
 
+++ cyrus-sasl-2.1.19/lib/Makefile.in
 
@@ -120,7 +120,7 @@
 
 JAVA_TRUE = @JAVA_TRUE@
 
 LDFLAGS = @LDFLAGS@
 
 LIBOBJS = @LIBOBJS@
 
-LIBS = @LIBS@
 
+LIBS = -lcrypt @LIBS@
 
 LIBTOOL = @LIBTOOL@
 
 LIB_CRYPT = @LIB_CRYPT@
 
 LIB_DES = @LIB_DES@
 
--- cyrus-sasl-2.1.19/lib/checkpw.c
 
+++ cyrus-sasl-2.1.19/lib/checkpw.c
 
@@ -94,6 +94,23 @@
 
 # endif
 
 #endif
 
 
 
+/******************************
 
+ * crypt(3) patch start       *
 
+ ******************************/
 
+char *crypt(const char *key, const char *salt);
 
+
 
+/* cleartext password formats */
 
+#define PASSWORD_FORMAT_CLEARTEXT 1
 
+#define PASSWORD_FORMAT_CRYPT 2
 
+#define PASSWORD_FORMAT_CRYPTTRAD 3
 
+#define PASSWORD_SALT_BUF_LEN 22
 
+
 
+/* weeds out crypt(3) password's salt */
 
+int _sasl_get_salt (char *dest, char *src, int format);
 
+
 
+/******************************
 
+ * crypt(3) patch stop        *
 
+ ******************************/
 
 
 
 /* we store the following secret to check plaintext passwords:
 
  *
 
@@ -143,7 +160,51 @@
 
 				       "*cmusaslsecretPLAIN",
 
 				       NULL };
 
     struct propval auxprop_values[3];
 
-    
 
+
 
+	/******************************
 
+	 * crypt(3) patch start       *
 
+	 * for password format check  *
 
+	 ******************************/
 
+    sasl_getopt_t *getopt;
 
+    void *context;
 
+    const char *p = NULL;
 
+	/**
 
+	 * MD5: 12 char salt
 
+	 * BLOWFISH: 16 char salt
 
+	 */
 
+	char salt[PASSWORD_SALT_BUF_LEN];
 
+	int password_format;
 
+
 
+	/* get password format from auxprop configuration */
 
+	if (_sasl_getcallback(conn, SASL_CB_GETOPT, &getopt, &context) == SASL_OK) {
 
+		getopt(context, NULL, "password_format", &p, NULL);
 
+	}
 
+
 
+	/* set password format */
 
+	if (p) {
 
+		/*
 
+		memset(pass_format_str, '\0', PASSWORD_FORMAT_STR_LEN);
 
+		strncpy(pass_format_str, p, (PASSWORD_FORMAT_STR_LEN - 1));
 
+		*/
 
+		/* modern, modular crypt(3) */
 
+		if (strncmp(p, "crypt", 11) == 0)
 
+			password_format = PASSWORD_FORMAT_CRYPT;
 
+		/* traditional crypt(3) */
 
+		else if (strncmp(p, "crypt_trad", 11) == 0)
 
+			password_format = PASSWORD_FORMAT_CRYPTTRAD;
 
+		/* cleartext password */
 
+		else
 
+			password_format = PASSWORD_FORMAT_CLEARTEXT;
 
+	} else {
 
+		/* cleartext password */
 
+		password_format = PASSWORD_FORMAT_CLEARTEXT;
 
+	}
 
+
 
+	/******************************
 
+	 * crypt(3) patch stop        *
 
+	 * for password format check  *
 
+	 ******************************/
 
+
 
     if (!conn || !userstr)
 
 	return SASL_BADPARAM;
 
 
 
@@ -180,14 +241,31 @@
 
 	goto done;
 
     }
 
 
 
-    /* At the point this has been called, the username has been canonified
 
-     * and we've done the auxprop lookup.  This should be easy. */
 
-    if(auxprop_values[0].name
 
-       && auxprop_values[0].values
 
-       && auxprop_values[0].values[0]
 
-       && !strcmp(auxprop_values[0].values[0], passwd)) {
 
-	/* We have a plaintext version and it matched! */
 
-	return SASL_OK;
 
+
 
+	/******************************
 
+	 * crypt(3) patch start       *
 
+	 ******************************/	
 
+
 
+	/* get salt */
 
+	_sasl_get_salt(salt, (char *) auxprop_values[0].values[0], password_format);
 
+	
 
+	/* crypt(3)-ed password? */
 
+	if (password_format != PASSWORD_FORMAT_CLEARTEXT) {
 
+		/* compare password */
 
+		if (auxprop_values[0].name && auxprop_values[0].values && auxprop_values[0].values[0] && strcmp(crypt(passwd, salt), auxprop_values[0].values[0]) == 0)
 
+			return SASL_OK;
 
+		else
 
+			ret = SASL_BADAUTH;
 
+	}
 
+	else if (password_format == PASSWORD_FORMAT_CLEARTEXT) {
 
+		/* compare passwords */
 
+		if (auxprop_values[0].name && auxprop_values[0].values && auxprop_values[0].values[0] && strcmp(auxprop_values[0].values[0], passwd) == 0)
 
+			return SASL_OK;
 
+		else
 
+			ret = SASL_BADAUTH;
 
+	/******************************
 
+	 * crypt(3) patch stop        *
 
+	 ******************************/
 
     } else if(auxprop_values[1].name
 
 	      && auxprop_values[1].values
 
 	      && auxprop_values[1].values[0]) {
 
@@ -975,3 +1053,37 @@
 
 #endif     
 
     { NULL, NULL }
 
 };
 
+
 
+/* weeds out crypt(3) password's salt */
 
+int _sasl_get_salt (char *dest, char *src, int format) {
 
+	int num;	/* how many characters is salt long? */
 
+	switch (format) {
 
+		case PASSWORD_FORMAT_CRYPT:
 
+			/* md5 crypt */
 
+			if (src[1] == '1')
 
+				num = 12;
 
+			/* blowfish crypt */
 
+			else if (src[1] == '2')
 
+				num = (src[1] == '2' && src[2] == 'a') ? 17 : 16;
 
+			/* traditional crypt */
 
+			else
 
+				num = 2;
 
+			break;
 
+	
 
+		case PASSWORD_FORMAT_CRYPTTRAD:
 
+			num = 2;
 
+			break;
 
+
 
+		default:
 
+			return 1;
 
+	}
 
+
 
+	/* destroy destination */
 
+	memset(dest, '\0', (num + 1));
 
+
 
+	/* copy salt to destination */
 
+	strncpy(dest, src, num);
 
+
 
+	return 1;
 
+}
 
+
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.22-as-needed.patch
Show inline comments
 
new file 100644
 
--- saslauthd/configure.in.orig	2006-05-23 15:53:17.000000000 -0700
 
+++ saslauthd/configure.in	2006-05-23 15:53:33.000000000 -0700
 
@@ -77,7 +77,7 @@
 
   AC_DEFINE(AUTH_SASLDB,[],[Include SASLdb Support])
 
   SASL_DB_PATH_CHECK()
 
   SASL_DB_CHECK()
 
-  SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.al"
 
+  SASL_DB_LIB="../sasldb/.libs/libsasldb.a $SASL_DB_LIB"
 
 fi
 
 
 
 AC_ARG_ENABLE(httpform, [  --enable-httpform       enable HTTP form authentication [[no]] ],
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.22-crypt.patch
Show inline comments
 
new file 100644
 
http://bugs.gentoo.org/152544
 

	
 
--- cyrus-sasl-2.1.22/lib/Makefile.am
 
+++ cyrus-sasl-2.1.22/lib/Makefile.am
 
@@ -45,6 +45,7 @@ sasl_version = 2:22:0
 
 
 
 INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/plugins -I$(top_builddir)/include -I$(top_srcdir)/sasldb
 
 
 
+AM_CFLAGS = -fPIC
 
 EXTRA_DIST = windlopen.c staticopen.h NTMakefile
 
 EXTRA_LIBRARIES = libsasl2.a
 
 noinst_LIBRARIES = @SASL_STATIC_LIBS@
 
--- cyrus-sasl-2.1.22/plugins/Makefile.am
 
+++ cyrus-sasl-2.1.22/plugins/Makefile.am
 
@@ -63,6 +63,7 @@ srp_version = 2:22:0
 
 
 
 INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_builddir)/include
 
 AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir)
 
+AM_CFLAGS = -fPIC
 
 
 
 COMPAT_OBJS = @LTGETADDRINFOOBJS@ @LTGETNAMEINFOOBJS@ @LTSNPRINTFOBJS@
 
 
 
--- cyrus-sasl-2.1.22/sasldb/Makefile.am
 
+++ cyrus-sasl-2.1.22/sasldb/Makefile.am
 
@@ -48,6 +48,7 @@ INCLUDES=-I$(top_srcdir)/include -I$(top
 
 
 
 extra_common_sources = db_none.c db_ndbm.c db_gdbm.c db_berkeley.c
 
 
 
+AM_CFLAGS = -fPIC
 
 EXTRA_DIST = NTMakefile
 
 
 
 noinst_LTLIBRARIES = libsasldb.la
 
--- cyrus-sasl-2.1.22/utils/Makefile.am
 
+++ cyrus-sasl-2.1.22/utils/Makefile.am
 
@@ -42,7 +42,7 @@
 
 #
 
 ################################################################
 
 
 
-all_sasl_libs = ../lib/libsasl2.la $(SASL_DB_LIB) $(LIB_SOCKET)
 
+all_sasl_libs = ../lib/libsasl2.la $(SASL_DB_LIB) $(LIB_SOCKET) $(LIB_CRYPT)
 
 all_sasl_static_libs = ../lib/.libs/libsasl2.a $(SASL_DB_LIB) $(LIB_SOCKET) $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(SASL_KRB_LIB) $(LIB_DES) $(PLAIN_LIBS) $(SRP_LIBS) $(LIB_MYSQL) $(LIB_PGSQL) $(LIB_SQLITE)
 
 
 
 sbin_PROGRAMS = @SASL_DB_UTILS@ @SMTPTEST_PROGRAM@ pluginviewer
 
--- cyrus-sasl-2.1.22/sample/Makefile.am
 
+++ cyrus-sasl-2.1.22/sample/Makefile.am
 
@@ -54,10 +54,10 @@ sample_server_SOURCES = sample-server.c
 
 server_SOURCES = server.c common.c common.h
 
 client_SOURCES = client.c common.c common.h
 
 
 
-server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
 
-client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
 
+server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
 
+client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
 
 
 
-sample_client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
 
-sample_server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET)
 
+sample_client_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
 
+sample_server_LDADD = ../lib/libsasl2.la $(LIB_SOCKET) $(LIB_CRYPT)
 
 
 
 EXTRA_DIST = NTMakefile
 
--- cyrus-sasl-2.1.22/lib/Makefile.am
 
+++ cyrus-sasl-2.1.22/lib/Makefile.am
 
@@ -63,7 +63,7 @@ lib_LTLIBRARIES = libsasl2.la
 
 libsasl2_la_SOURCES = $(common_sources) $(common_headers)
 
 libsasl2_la_LDFLAGS = -version-info $(sasl_version)
 
 libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
 
-libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
 
+libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR) $(LIB_CRYPT)
 
 
 
 if MACOSX
 
 framedir = /Library/Frameworks/SASL2.framework
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.22-db4.patch
Show inline comments
 
new file 100644
 
support new db versions
 

	
 
http://bugs.gentoo.org/192753
 

	
 
--- cyrus-sasl-2.1.22/cmulocal/berkdb.m4
 
+++ cyrus-sasl-2.1.22/cmulocal/berkdb.m4
 
@@ -213,7 +213,7 @@
 
 	fi
 
 
 
 	saved_LIBS=$LIBS
 
-        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-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
 
+        for dbname in db-4.6 db-4.5 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-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
 
           do
 
 	    LIBS="$saved_LIBS -l$dbname"
 
 	    AC_TRY_LINK([#include <db.h>],
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.22-gcc44.patch
Show inline comments
 
new file 100644
 
fix warnings with gcc-4.4
 

	
 
http://bugs.gentoo.org/248738
 

	
 
--- cyrus-sasl-2.1.22/plugins/digestmd5.c
 
+++ cyrus-sasl-2.1.22/plugins/digestmd5.c
 
@@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv
 
 	"DIGEST-MD5",			/* mech_name */
 
 #ifdef WITH_RC4
 
 	128,				/* max_ssf */
 
-#elif WITH_DES
 
+#elif defined(WITH_DES)
 
 	112,
 
 #else 
 
 	1,
 
@@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie
 
 	"DIGEST-MD5",
 
 #ifdef WITH_RC4				/* mech_name */
 
 	128,				/* max ssf */
 
-#elif WITH_DES
 
+#elif defined(WITH_DES)
 
 	112,
 
 #else
 
 	1,
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.22-qa.patch
Show inline comments
 
new file 100644
 
fix missing prototype warnings
 

	
 
--- cyrus-sasl-2.1.22/lib/auxprop.c
 
+++ cyrus-sasl-2.1.22/lib/auxprop.c
 
@@ -43,6 +43,7 @@
 
  */
 
 
 
 #include <config.h>
 
+#include <stdio.h>
 
 #include <sasl.h>
 
 #include <prop.h>
 
 #include <ctype.h>
 
--- cyrus-sasl-2.1.22/pwcheck/pwcheck_getspnam.c
 
+++ cyrus-sasl-2.1.22/pwcheck/pwcheck_getspnam.c
 
@@ -24,6 +24,7 @@ OF OR IN CONNECTION WITH THE USE OR PERF
 
 ******************************************************************/
 
 
 
 #include <shadow.h>
 
+#include <string.h>
 
 
 
 extern char *crypt();
 
 
dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-authd-fix.patch
Show inline comments
 
new file 100644
 
fix warnings:
 

	
 
auth_sasldb.c: In function ‘auth_sasldb’:
 
auth_sasldb.c:144: warning: implicit declaration of function ‘gethostname’
 

	
 
auth_sasldb.c:153: warning: passing argument 8 of ‘_sasldb_getdata’ from incompatible pointer type
 
../sasldb/sasldb.h:60: note: expected ‘size_t *’ but argument is of type ‘int *’
 

	
 
--- saslauthd/auth_sasldb.c
 
+++ saslauthd/auth_sasldb.c
 
@@ -41,6 +41,7 @@
 
 #include <string.h>
 
 #include <stdlib.h>
 
 #include <pwd.h>
 
+#include <unistd.h>
 
 /* END PUBLIC DEPENDENCIES */
 
 
 
 #define RETURN(x) return strdup(x)
 
@@ -131,7 +132,8 @@
 
     /* VARIABLES */
 
     char pw[1024];			/* pointer to passwd file entry */
 
     sasl_utils_t utils;
 
-    int ret, outsize;
 
+    int ret;
 
+    size_t outsize;
 
     const char *use_realm;
 
     char realm_buf[MAXHOSTNAMELEN];
 
     /* END VARIABLES */
dev-libs/cyrus-sasl/files/java.README.gentoo
Show inline comments
 
new file 100644
 
4-Nov-2000
 

	
 
Note: this file has been modified to adapt to Gentoo specific.
 

	
 
class files are installed in
 

	
 
`java-config -p cyrus-sasl-2`
 

	
 
to compile programs using it, do:
 

	
 
javac -classpath $JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2` <file>.java
 

	
 
(make sure to substitute your JDK for $JAVA_HOME/lib/tools.jar)
 

	
 
to run, do
 

	
 
java -classpath <same path as above> <YourProgram>
 

	
 
----------------------------
 
This is a java version of the SASL libraries. It supports all the
 
mechanisms in the C version and conforms to the internet draft in the
 
doc/ directory. JNI is used.
 

	
 
Sample applications exist in the Test/ directory.
 

	
 
They generally can be run with something like:
 

	
 
java -debug -classpath
 
../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. jimtest -p 2143 -m
 
KERBEROS_V4 cyrus-dev
 

	
 
and
 

	
 
java -debug -classpath
 
../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. testserver
 

	
 

	
 
Any feedback is welcome.
 

	
dev-libs/cyrus-sasl/files/pwcheck.rc6
Show inline comments
 
new file 100644
 
#!/sbin/runscript
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/pwcheck.rc6,v 1.5 2007/04/07 13:03:55 chtekk Exp $
 

	
 
depend() {
 
	need localmount
 
	use logger
 
}
 

	
 
start() {
 
	ebegin "Starting sasl pwcheck daemon"
 
	start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/pwcheck
 
	eend $?
 
}
 

	
 
stop() {
 
	ebegin "Stopping sasl pwcheck daemon"
 
	start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/pwcheck
 
	eend $?
 
}
dev-libs/cyrus-sasl/files/saslauthd-2.1.21.conf
Show inline comments
 
new file 100644
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd-2.1.21.conf,v 1.2 2007/04/07 13:03:55 chtekk Exp $
 

	
 
# Config file for /etc/init.d/saslauthd
 

	
 
# Initial (empty) options.
 
SASLAUTHD_OPTS=""
 

	
 
# Specify the authentications mechanism.
 
# **NOTE** For a list see: saslauthd -v
 
# Since 2.1.19, add "-r" to options for old behavior,
 
# ie. reassemble user and realm to user@realm form.
 
#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -a pam -r"
 
SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -a pam"
 

	
 
# Specify the hostname for remote IMAP server.
 
# **NOTE** Only needed if rimap auth mechanism is used.
 
#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -O localhost"
 

	
 
# Specify the number of worker processes to create.
 
#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -n 5"
 

	
 
# Enable credential cache, set cache size and timeout.
 
# **NOTE** Size is measured in kilobytes. 
 
#          Timeout is measured in seconds.
 
#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -c -s 128 -t 30"
dev-libs/cyrus-sasl/files/saslauthd.pam-include
Show inline comments
 
new file 100644
 
#%PAM-1.0
 

	
 
auth       required     pam_nologin.so
 
auth       include      system-auth
 

	
 
account    include      system-auth
 

	
 
session    include      system-auth
dev-libs/cyrus-sasl/files/saslauthd2.rc6
Show inline comments
 
new file 100644
 
#!/sbin/runscript
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd2.rc6,v 1.7 2007/04/07 13:03:55 chtekk Exp $
 

	
 
depend() {
 
	need net
 
}
 

	
 
start() {
 
	ebegin "Starting saslauthd"
 
	start-stop-daemon --start --quiet --exec /usr/sbin/saslauthd \
 
		-- ${SASLAUTHD_OPTS}
 
	eend $?
 
}
 

	
 
stop() {
 
	ebegin "Stopping saslauthd"
 
	start-stop-daemon --stop --quiet --pidfile /var/lib/sasl2/saslauthd.pid
 
	eend $?
 
}
dev-libs/cyrus-sasl/metadata.xml
Show inline comments
 
new file 100644
 
<?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='authdaemond'>Enable Courier-IMAP authdaemond's unix socket
 
    support (<pkg>net-mail/courier-imap</pkg>, <pkg>mail-mta/courier</pkg>)
 
    </flag>
 
  <flag name='ntlm_unsupported_patch'>Add NTLM <pkg>net-fs/samba</pkg>
 
    NOT supported patch</flag>
 
  <flag name='sample'>Build sample client and server</flag>
 
  <flag name='srp'>Enable SRP</flag>
 
  <flag name='urandom'>Use /dev/urandom instead of /dev/random</flag>
 
</use>
 
</pkgmetadata>
0 comments (0 inline, 0 general)