diff options
author | Eray Aslan <eras@gentoo.org> | 2013-04-26 08:36:32 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-04-26 08:36:32 +0000 |
commit | 4d72fe3791b1c316b19322c63c751affc3284c8f (patch) | |
tree | 428f00107d0a7deb8323d6509ee59eaabd2538b9 /net-libs/courier-authlib | |
parent | oops, re-add flag -fno-strict-aliasing (diff) | |
download | historical-4d72fe3791b1c316b19322c63c751affc3284c8f.tar.gz historical-4d72fe3791b1c316b19322c63c751affc3284c8f.tar.bz2 historical-4d72fe3791b1c316b19322c63c751affc3284c8f.zip |
Remove old
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'net-libs/courier-authlib')
-rw-r--r-- | net-libs/courier-authlib/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/courier-authlib/Manifest | 33 | ||||
-rw-r--r-- | net-libs/courier-authlib/courier-authlib-0.65.0-r1.ebuild | 170 | ||||
-rw-r--r-- | net-libs/courier-authlib/courier-authlib-0.65.0-r2.ebuild | 167 | ||||
-rw-r--r-- | net-libs/courier-authlib/courier-authlib-0.65.0.ebuild | 162 |
5 files changed, 20 insertions, 518 deletions
diff --git a/net-libs/courier-authlib/ChangeLog b/net-libs/courier-authlib/ChangeLog index 5f916971471e..50703ab95cf3 100644 --- a/net-libs/courier-authlib/ChangeLog +++ b/net-libs/courier-authlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/courier-authlib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.158 2013/04/13 20:59:42 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.159 2013/04/26 08:36:21 eras Exp $ + + 26 Apr 2013; Eray Aslan <eras@gentoo.org> -courier-authlib-0.65.0-r1.ebuild, + -courier-authlib-0.65.0-r2.ebuild, -courier-authlib-0.65.0.ebuild: + Remove old 13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> courier-authlib-0.65.0-r3.ebuild: diff --git a/net-libs/courier-authlib/Manifest b/net-libs/courier-authlib/Manifest index 4ec0bdaa87dd..81a21180d714 100644 --- a/net-libs/courier-authlib/Manifest +++ b/net-libs/courier-authlib/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX courier-authlib-0.65.0-sqlite.patch 798 SHA256 e5ca1d2240c8606aa4a74f891f1b607e2404858caf6d684535e27f769aa7f0cc SHA512 f9148c23195cb9ec3265fcc86a2c8ea4c0d114046d81e527dd5759f45844b425f5270fcec52fd497e82b8272fa99984e7facb8cca6f696956896ad177c5f81fb WHIRLPOOL 4528dde0adcf66f1c2eedc62ce1c8dfc0a8b2550a843128bad53d6a3f3afc3a70ede3ff2ad6b7d963fa4ef79dddc14e4b818d1d268c7d5a536c71fe3ab5ec05c AUX courier-authlib-r1 1107 SHA256 c7d9e1efbbc4a805a08d085cbe1edeaf491e455b0ba265c3a60fda2c3f3c8fbd SHA512 e1bf12da0720af55227953c4cbf48323ad07dfa7fe35df7efd383116c905345b6fcd0d33d83317467397007ce01d48b9a372b93276b25b5ef84ea9a49756bfbe WHIRLPOOL e40e524d3e0a4bdab18cccd7450cfa6c95b35f79fe97c64e8f4615aebe88d87c1d49e59289cfa9f58d07160f90612a873dd828f727fe58d6689a333c442b2e1a @@ -8,26 +8,23 @@ DIST courier-authlib-0.64.0.tar.bz2 2267236 SHA256 69497dfe8d4110456cc3126350dbc DIST courier-authlib-0.65.0.tar.bz2 2303751 SHA256 db3e34ee2b075897864c44aaae924388c74b32ed40b83f0fcf8626a060c1ea47 SHA512 edc4a51bc0d748e7d6cdbf9e9c67c43eeedd9e3846d91a8eea24613f6fb5125d2e713ef7fd63cbbe1905205f2a406b4ff3f31d7c3fb7028939123dbc728d8e38 WHIRLPOOL d86ad93ebe701f0742e83988ad14bb750c98ada952fbc6422641840b0074b8f285ca41c0f6458b79c36196a435c99c76d767e8cf3fdf3110107b25112712887a EBUILD courier-authlib-0.63.0-r1.ebuild 5107 SHA256 9bbcabe24d934d4703b9aff3dce8b9c62ba84550a62532cab97d974a178df455 SHA512 53b314278e5a924219fbc62ee8bedf756ea5de26d8b43a0439f486fd23945798e6aa4355751de8ff06a4a51c87da79ac46c766e2fb90a30b5696c40665631876 WHIRLPOOL aa9cba146baeaa1a3c2ca31f936b2ec1b00bf363cd09816fffd2fb64c1682bd8f00dc5f914d0c562f5043c52df5275e1941821a75c0c46217400347132819055 EBUILD courier-authlib-0.64.0.ebuild 5119 SHA256 c79c6eaa035e82f9331760ceacc6988a4fbf346319e8b326067b2e81dfc44ba0 SHA512 938c503a480686b13e34ad7c79a0902907eddc2e260cdb0419cfb2daf0e80c3f298b50afbfa7b7bba63b69791f03b86a49d1d43bdc8f2278cbc8b4716ea96346 WHIRLPOOL 20269118f02aef5e95ee695288c394acf04a2a100936663fb286f2554194411b266fd0e9fa0452ff2471469087881d8c03abfde9e177b2dffd977d311f661beb -EBUILD courier-authlib-0.65.0-r1.ebuild 5316 SHA256 b27a977a74a2014de442e0263d00b05ef27478397361b9ae64d5ec4fe0837ff0 SHA512 2d9a304ab479e26baaf2fcf35de26a91dca76b67cdec46a6d3c4dbc1d06271d340ac60293e2488f922a2748cf27d5bed2955e64dbdacc03be1612c3ff1f0c339 WHIRLPOOL 5b3be1fc615d351e6780e78d5d7441f883c19c5f49965a9bab79c4482c90d32b6de15c53df6902f5aa886cf972b91c437283c5b85a5600a07ae7b418122853ba -EBUILD courier-authlib-0.65.0-r2.ebuild 5290 SHA256 9ea8259997b190ac6e23f1df64e8a7ec3ec9393d10b22ff1b0eb65c1abebbda1 SHA512 934eda80ff71dee3885195c6cd31c70b01490f259789a31a268ba98c152b2a5dce7a7eb8b9e403bb0ec8d899c28376c9834e3ae5e7be3c682f762ff69058860e WHIRLPOOL bb6a0b5a285dee6884116f46e82e3d740c96362a4c63c1199bed4f5f00e43a516c561a7fd3cea25f41c13304d7259f12c12978e4502ed3b74e3dbc7026b81000 EBUILD courier-authlib-0.65.0-r3.ebuild 5330 SHA256 3ee31f3b9a39696fce553cc8ef4d750dc25f59b3b9fcea222af67adf1f97e86d SHA512 a3e960e6073dd8721ea1e1ed3446f89375d9cb58b9746770800915c178dca16a5a1737ca82fae84c98a729b2929f3ccae509c447ce174ea08c4e0b81431bd46b WHIRLPOOL 750cd610cb6bd8cc6a32ce22c6491a63f23e61f5290ff649ef4c14ffb3fe8f72d1139251664fbbd464ed908aa99a2f8c9fdd0c90f2af0d93dcc070f357f5eda7 -EBUILD courier-authlib-0.65.0.ebuild 5128 SHA256 d0bdd07a7666e581c8dab02040b832e3ca6edf9b4c45152a5b98bc53b6389ba9 SHA512 c7641049f27d856a8f2c25584ecaec26bf3fd6c8af5d58bc9fc1e99a2131ab5152b6fe4c329972827a2a2f71bd6edd24c471bf7d1d41c5b34aba665845f3688a WHIRLPOOL 96c679ce849136bf53f790419ed134f86178b4538c71863f0092f5fc7829f8e5ca3e995c16cb0fa4584948ab4a816bd746dbf989075a24f64f8b7de6795bd3af -MISC ChangeLog 24685 SHA256 61bac34550d01dce4dbb37852c5c3f0e404f8cdcc9a79b7b7fa0eb4b87e28f12 SHA512 31c0af9703bc5801a47ac2c55334c5308a189b5330dd37a86f2818b2533a9efd913b24eb65d19a1bc7da5d0295c7d8007b5d1c8014083d941e4bbd1847aaa8aa WHIRLPOOL e856bf1f144af50a110c479555159330a279dda7fd7e216ab1f3a899b84036c41acdd714527d5213e9197710e345555c81ef48eb9bcec907a5ac081866c09248 +MISC ChangeLog 24848 SHA256 039bbcb70ace4f28ff6bea063c7a9e9b7c50ad1da58c60943c5652953fc54b48 SHA512 1d2c860ad14ed37051f8f86e25a93787754286cb4debe3909d5bf0bb0de8ce43bcb3b3e86dc74176b310a60c51c463dd79c207398512ba48247b94f8fd34f54f WHIRLPOOL 00ca9de06481e56ff9e2fac3b53d036621bb60084f0a0311305bf20c44bdf60044cd02b3a1d5f709e929b73711d52ef7cc1af1b1191a00dc4d469ae5b9d88051 MISC metadata.xml 237 SHA256 a8a93d896577309c559cb95967fe0ebab7ee7201a1c7204eeae6e95ce9375305 SHA512 7dbe4ef965827cf9f1d2f12ba05d24870c98e377687e50174427ab6299896a9e29a35870b049057c075248603d6b5bc5d55aa4202033426fe89c5f71e5363aa2 WHIRLPOOL 751a7e9f576a448c109dcc1bfce1c203a5f3ec518df929863de4ebc87830b952d4789e8d8d583cf211a29fb900769499b3f3f85921d2f0ce71929e53f9bc1f74 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRacamAAoJELp701BxlEWfP5AP/jxRw9E4h5uevwkPLBW/XHpo -2Htm2qhSUFzGESG0dYsizr3rSL/Mfc8YRZco7SFu7xYcHp8N58hRYyecKwgUKmPf -QfZIhBRF7RFGReVncAaoUNc9OpsQYgSopOMarR7OVFwTf9Q+FhN962IlZCvmTG5w -DGGM8rWBNnQ0qJPDylFM2JoU8zWIr0j9tSJdKU+jxj175OYLr5WJC1Hd5fe7IFlj -y07p8y7wQh5XuCipOykrpRy+RAyr/rfgyJk5i32HLwAC4oRE07jCJ9P8IdkzGT8f -eai5hnmUbgoU5PuGBxVVmMaSgjV7MEhuzh4sXScy/FJw7T9qYHl6J/7tCyAr9Aqi -DfNog9nfuQgt7EGUDLcpnRQGeakeO7s4n7O6PrqwXw8ZXoji6e3HiJdlmw7/Ie4p -TNfndxTiDshO4SvsPOpDUSLlT0DeBJ/fYw0qAgwBlwI88dhcNLU7piyS6ldHQwUn -m7SC2bbpwX5C4DHFpSibsQYsyqv8q49NcEyUsiQDysWv+wseBvxr8iux7OhFZ9qe -ts5lptrPTOSamXWolN3XMGt6UTHhR28LuOskhh8Kcq8UdLH4tusRBYbUvpeoTnL6 -e1NZ0ttezQ7IwHpu7GlnK3j+YAtvhLnbi37ONxDh8ds1XycgZkqcGcKztvb9LXcu -oqdILUDxAAc1eCMqbWsn -=AR+s +iQIcBAEBCAAGBQJRejyPAAoJEHfx8XVYajsfQ7EP/AnuHI5SdeU6iaCXZV1wE7dm +HIVvb9x+g2HyRvsMonjn/eMsHtw6Emem+REJsAqgv/uA/mJXuX7e7nUJh/BFwuTA +e8gv4aWZOG5wJrUXSIlB5hIzra85Il2H9r1T4hVBpGG2qarXJ+10rQ4nVMHC605n +LdZuVY5Peifb0T0sFHI9AkdLF5aJMvdMkOVl3oMbb1w8jeW8qQEXHKQXitS1aRfH +Quv58okTxQmbPYbJImlIJQVFY9PhI1rvXfwPKXYTy0vir2p2Tu0Z9j45zxvx4awU +PYELnzTZh2We6w7LXdytFcBEdzQIHtPqZI8b6LxrIPJxTehMsomC3nWPFRDzVMJT +V/R5wDenWfPQQWIN9rOpdi65ecNY90kuorDWjuC9EK6caysHLTzvYGDvgaHVAkAv +O9293cPyZHbnyers3xs9z/M18noO7f3eq/opV+B2dh7PNOaHvYXXvl04vS8iNDT5 +ZwDqkg9ZDITlKO9w33B7yusfEoS+HfP0Q9mZy27FjpoND7sDzuyxCZmNsTCfY0tS +s/S4Mn8lL5rI5e83fUbH1BCosd2AP+YmI2Qf2zI9rzNhiWY/TRQN+g8d9x9yzYu4 +/lOsR/RZF6PNcxIHbkrCHnUQBupb2IraRPJuwN022GNXphMp9mCKJHLQJoUbW5Qh +u9wTX9xIRbYA5271X7UR +=JycT -----END PGP SIGNATURE----- diff --git a/net-libs/courier-authlib/courier-authlib-0.65.0-r1.ebuild b/net-libs/courier-authlib/courier-authlib-0.65.0-r1.ebuild deleted file mode 100644 index 6ecb5d3729bc..000000000000 --- a/net-libs/courier-authlib/courier-authlib-0.65.0-r1.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/courier-authlib-0.65.0-r1.ebuild,v 1.2 2012/11/12 13:36:43 jer Exp $ - -EAPI=4 -inherit eutils flag-o-matic multilib user autotools user - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" - -DESCRIPTION="Courier authentication library." -SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/" -LICENSE="GPL-3" -SLOT="0" -IUSE="berkdb crypt debug gdbm ldap mysql pam postgres sqlite static-libs vpopmail" - -RESTRICT="userpriv - !berkdb? ( test )" - -RDEPEND="gdbm? ( sys-libs/gdbm ) - !gdbm? ( sys-libs/db )" - -DEPEND="${RDEPEND} - >=dev-libs/openssl-0.9.6 - ldap? ( >=net-nds/openldap-1.2.11 ) - mysql? ( virtual/mysql ) - pam? ( virtual/pam ) - postgres? ( >=dev-db/postgresql-base-8.4 ) - sqlite? ( dev-db/sqlite:3 )" - -# vpopmail support removed upstream -REQUIRED_USE="( !vpopmail ) - sqlite? ( mysql )" - -pkg_setup() { - enewuser mail -1 -1 /var/spool/mail - - if ! has_version 'dev-tcltk/expect' ; then - ewarn 'The dev-tcltk/expect package is not installed.' - ewarn 'Without it, you will not be able to change system login passwords.' - ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' - ewarn 'and others) will work just fine.' - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-sqlite.patch - - # move local macro to m4 and run eautoreconf - mkdir "${S}/m4" - sed -n -e '/# AC_PROG_SYSCONFTOOL/,+33 p' "${S}"/aclocal.m4 > \ - m4/sysconftool.m4 || die - sed -i -e '/^SUBDIRS/i ACLOCAL_AMFLAGS = -I m4' "${S}"/Makefile.am || die - eautoreconf -} - -src_configure() { - filter-flags -fomit-frame-pointer - local myconf - if use berkdb ; then - if use gdbm ; then - ewarn "Both gdbm and berkdb selected. Using gdbm." - else - myconf="--with-db=db" - fi - fi - use gdbm && myconf="--with-db=gdbm" - use debug && myconf+=" debug=true" - use sqlite && myconf+=" --with-sqlite-libs" - - econf \ - --sysconfdir=/etc/courier \ - --datadir=/usr/share/courier \ - --libexecdir=/usr/$(get_libdir)/courier \ - --localstatedir=/var/lib/courier \ - --sharedstatedir=/var/lib/courier/com \ - --with-authdaemonvar=/var/lib/courier/authdaemon \ - --with-authshadow \ - --without-redhat \ - --with-mailuser=mail \ - --with-mailgroup=mail \ - --cache-file="${S}/configuring.cache" \ - $(use_with pam authpam) \ - $(use_with ldap authldap) \ - $(use_with mysql authmysql) \ - $(use_with postgres authpgsql) \ - $(use_with sqlite authsqlite) \ - ${myconf} -} - -orderfirst() { - file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" - if [[ -e "${file}" ]] ; then - orig="$(grep ^${option}= ${file} | cut -d\" -f 2)" - new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" - sed -i -e "s/^${option}=.*$/${new}/" "${file}" - fi -} - -finduserdb() { - for dir in \ - /etc/courier/authlib /etc/courier /etc/courier-imap \ - /usr/lib/courier/etc /usr/lib/courier-imap/etc \ - /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ - /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ - /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do - if [[ -e "${dir}/userdb" ]] ; then - einfo "Found userdb at: ${dir}/userdb" - cp -f "${dir}/userdb" "${D}/etc/courier/authlib/" - chmod go-rwx "${D}/etc/courier/authlib/userdb" - continue - fi - done -} - -src_install() { - diropts -o mail -g mail - dodir /etc/courier - keepdir /var/lib/courier/authdaemon - keepdir /etc/courier/authlib - emake DESTDIR="${D}" install - [[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb - emake DESTDIR="${D}" install-configure - rm -f "${D}"/etc/courier/authlib/*.bak - chown mail:mail "${D}"/etc/courier/authlib/* - for y in "${D}"/etc/courier/authlib/*.dist ; do - [[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}" - done - use pam && orderfirst authdaemonrc authmodulelist authpam - use ldap && orderfirst authdaemonrc authmodulelist authldap - use sqlite && orderfirst authdaemonrc authmodulelist authsqlite - use postgres && orderfirst authdaemonrc authmodulelist authpgsql - use mysql && orderfirst authdaemonrc authmodulelist authmysql - dodoc AUTHORS ChangeLog* INSTALL NEWS README - dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html - if use mysql ; then - dodoc README.authmysql.myownquery - dohtml README.authmysql.html - fi - if use postgres ; then - dohtml README.authpostgres.html README.authmysql.html - fi - if use ldap ; then - dodoc README.ldap - dodir /etc/openldap/schema - cp -f authldap.schema "${D}/etc/openldap/schema/" - fi - if use sqlite ; then - dohtml README.authsqlite.html README.authmysql.html - fi - newinitd "${FILESDIR}/${PN}-r1" "${PN}" - - use static-libs || find "${D}" -name "*.*a" -delete -} - -pkg_postinst() { - if [[ -e /etc/courier/authlib/userdb ]] ; then - einfo "Running makeuserdb ..." - chmod go-rwx /etc/courier/authlib/userdb - makeuserdb - fi - - # Suggest cleaning out the following old files - list="$(find /etc/courier -maxdepth 1 -type f | grep \"^/etc/courier/auth\")" - if [[ ! -z "${list}" ]] ; then - ewarn "Courier authentication files are now in /etc/courier/authlib/" - elog "The following files are no longer needed and can likely be removed:" - elog " rm $(echo \"${list}\")" - fi -} diff --git a/net-libs/courier-authlib/courier-authlib-0.65.0-r2.ebuild b/net-libs/courier-authlib/courier-authlib-0.65.0-r2.ebuild deleted file mode 100644 index 49166ea923d1..000000000000 --- a/net-libs/courier-authlib/courier-authlib-0.65.0-r2.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/courier-authlib-0.65.0-r2.ebuild,v 1.15 2013/02/25 10:53:32 eras Exp $ - -EAPI=4 -inherit autotools eutils flag-o-matic multilib user - -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" - -DESCRIPTION="Courier authentication library." -SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/" -LICENSE="GPL-3" -SLOT="0" -IUSE="berkdb crypt debug gdbm ldap mysql pam postgres sqlite static-libs vpopmail" - -RESTRICT="userpriv - !berkdb? ( test )" - -RDEPEND="gdbm? ( sys-libs/gdbm ) - !gdbm? ( sys-libs/db )" - -DEPEND="${RDEPEND} - >=dev-libs/openssl-0.9.6 - ldap? ( >=net-nds/openldap-1.2.11 ) - mysql? ( virtual/mysql ) - pam? ( virtual/pam ) - postgres? ( >=dev-db/postgresql-base-8.4 ) - sqlite? ( dev-db/sqlite:3 )" - -# vpopmail support removed upstream -REQUIRED_USE="( !vpopmail )" - -pkg_setup() { - enewuser mail -1 -1 /var/spool/mail - - if ! has_version 'dev-tcltk/expect' ; then - ewarn 'The dev-tcltk/expect package is not installed.' - ewarn 'Without it, you will not be able to change system login passwords.' - ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' - ewarn 'and others) will work just fine.' - fi -} - -src_prepare() { - # move local macro to m4 and run eautoreconf - mkdir "${S}/m4" || die - sed -n -e '/# AC_PROG_SYSCONFTOOL/,+33 p' "${S}"/aclocal.m4 > \ - m4/sysconftool.m4 || die - sed -i -e '/^SUBDIRS/i ACLOCAL_AMFLAGS = -I m4' "${S}"/Makefile.am || die - eautoreconf -} - -src_configure() { - filter-flags -fomit-frame-pointer - local myconf - if use berkdb ; then - if use gdbm ; then - ewarn "Both gdbm and berkdb selected. Using gdbm." - else - myconf="--with-db=db" - fi - fi - use gdbm && myconf="--with-db=gdbm" - use debug && myconf+=" debug=true" - use sqlite && myconf+=" --with-sqlite-libs" - - econf \ - --sysconfdir=/etc/courier \ - --datadir=/usr/share/courier \ - --libexecdir=/usr/$(get_libdir)/courier \ - --localstatedir=/var/lib/courier \ - --sharedstatedir=/var/lib/courier/com \ - --with-authdaemonvar=/var/lib/courier/authdaemon \ - --with-authshadow \ - --without-redhat \ - --with-mailuser=mail \ - --with-mailgroup=mail \ - --cache-file="${S}/configuring.cache" \ - $(use_with pam authpam) \ - $(use_with ldap authldap) \ - $(use_with mysql authmysql) \ - $(use_with postgres authpgsql) \ - $(use_with sqlite authsqlite) \ - ${myconf} -} - -orderfirst() { - file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" - if [[ -e "${file}" ]] ; then - orig="$(grep ^${option}= ${file} | cut -d\" -f 2)" - new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" - sed -i -e "s/^${option}=.*$/${new}/" "${file}" || die - fi -} - -finduserdb() { - for dir in \ - /etc/courier/authlib /etc/courier /etc/courier-imap \ - /usr/lib/courier/etc /usr/lib/courier-imap/etc \ - /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ - /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ - /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do - if [[ -e "${dir}/userdb" ]] ; then - einfo "Found userdb at: ${dir}/userdb" - cp -f "${dir}/userdb" "${D}/etc/courier/authlib/" || die - chmod go-rwx "${D}/etc/courier/authlib/userdb" || die - continue - fi - done -} - -src_install() { - diropts -o mail -g mail - dodir /etc/courier - keepdir /var/lib/courier/authdaemon - keepdir /etc/courier/authlib - emake DESTDIR="${D}" install - [[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb - emake DESTDIR="${D}" install-configure - rm -f "${D}"/etc/courier/authlib/*.bak - chown mail:mail "${D}"/etc/courier/authlib/* || die - for y in "${D}"/etc/courier/authlib/*.dist ; do - [[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}" - done - use pam && orderfirst authdaemonrc authmodulelist authpam - use ldap && orderfirst authdaemonrc authmodulelist authldap - use sqlite && orderfirst authdaemonrc authmodulelist authsqlite - use postgres && orderfirst authdaemonrc authmodulelist authpgsql - use mysql && orderfirst authdaemonrc authmodulelist authmysql - dodoc AUTHORS ChangeLog* INSTALL NEWS README - dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html - if use mysql ; then - dodoc README.authmysql.myownquery - dohtml README.authmysql.html - fi - if use postgres ; then - dohtml README.authpostgres.html README.authmysql.html - fi - if use ldap ; then - dodoc README.ldap - dodir /etc/openldap/schema - cp -f authldap.schema "${D}/etc/openldap/schema/" || die - fi - if use sqlite ; then - dohtml README.authsqlite.html README.authmysql.html - fi - newinitd "${FILESDIR}/${PN}-r1" "${PN}" - - use static-libs || find "${D}" -name "*.a" -delete -} - -pkg_postinst() { - if [[ -e /etc/courier/authlib/userdb ]] ; then - einfo "Running makeuserdb ..." - chmod go-rwx /etc/courier/authlib/userdb || die - makeuserdb - fi - - # Suggest cleaning out the following old files - list="$(find /etc/courier -maxdepth 1 -type f | grep \"^/etc/courier/auth\")" - if [[ ! -z "${list}" ]] ; then - ewarn "Courier authentication files are now in /etc/courier/authlib/" - elog "The following files are no longer needed and can likely be removed:" - elog " rm $(echo \"${list}\")" - fi -} diff --git a/net-libs/courier-authlib/courier-authlib-0.65.0.ebuild b/net-libs/courier-authlib/courier-authlib-0.65.0.ebuild deleted file mode 100644 index 50ac97e90621..000000000000 --- a/net-libs/courier-authlib/courier-authlib-0.65.0.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/courier-authlib-0.65.0.ebuild,v 1.2 2012/11/12 13:36:43 jer Exp $ - -inherit eutils flag-o-matic multilib user user - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" - -DESCRIPTION="Courier authentication library." -SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/" -LICENSE="GPL-3" -SLOT="0" -IUSE="berkdb crypt debug gdbm ldap mysql pam postgres vpopmail" - -RESTRICT="userpriv - !berkdb? ( test )" - -RDEPEND="gdbm? ( sys-libs/gdbm ) - !gdbm? ( sys-libs/db )" - -DEPEND="${RDEPEND} - >=dev-libs/openssl-0.9.6 - ldap? ( >=net-nds/openldap-1.2.11 ) - mysql? ( virtual/mysql ) - pam? ( virtual/pam ) - postgres? ( >=dev-db/postgresql-base-8.4 )" - -pkg_setup() { - enewuser mail -1 -1 /var/spool/mail - - if ! has_version 'dev-tcltk/expect' ; then - ewarn 'The dev-tcltk/expect package is not installed.' - ewarn 'Without it, you will not be able to change system login passwords.' - ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' - ewarn 'and others) will work just fine.' - fi - - if use vpopmail ; then - eerror - eerror "vpopmail support has been removed, it's unmaintained upstream and will be" - eerror "removed with the next release." - eerror - eerror "Please remove vpopmail USE-flag." - die "vpopmail support removed" - fi - -} - -src_compile() { - filter-flags -fomit-frame-pointer - - local myconf="" - - myconf="${myconf} `use_with pam authpam`" - myconf="${myconf} `use_with ldap authldap`" - - if use berkdb ; then - if use gdbm ; then - ewarn "Both gdbm and berkdb selected. Using gdbm." - else - myconf="${myconf} --with-db=db" - fi - fi - use gdbm && myconf="${myconf} --with-db=gdbm" - - myconf="${myconf} --without-authvchkpw `use_with mysql authmysql` `use_with postgres authpgsql`" - - use debug && myconf="${myconf} debug=true" - - einfo "Configuring courier-authlib: ${myconf}" - - econf \ - --sysconfdir=/etc/courier \ - --datadir=/usr/share/courier \ - --libexecdir=/usr/$(get_libdir)/courier \ - --localstatedir=/var/lib/courier \ - --sharedstatedir=/var/lib/courier/com \ - --with-authdaemonvar=/var/lib/courier/authdaemon \ - --with-authshadow \ - --without-redhat \ - --with-mailuser=mail \ - --with-mailgroup=mail \ - --cache-file="${S}/configuring.cache" \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -orderfirst() { - file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" - if [[ -e "${file}" ]] ; then - orig="$(grep \"^${option}=\" ${file} | cut -d'\"' -f 2)" - new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" - sed -i -e "s/^${option}=.*$/${new}/" "${file}" - fi -} - -finduserdb() { - for dir in \ - /etc/courier/authlib /etc/courier /etc/courier-imap \ - /usr/lib/courier/etc /usr/lib/courier-imap/etc \ - /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ - /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ - /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do - if [[ -e "${dir}/userdb" ]] ; then - einfo "Found userdb at: ${dir}/userdb" - cp -f "${dir}/userdb" "${D}/etc/courier/authlib/" - chmod go-rwx "${D}/etc/courier/authlib/userdb" - continue - fi - done -} - -src_install() { - diropts -o mail -g mail - dodir /etc/courier - keepdir /var/lib/courier/authdaemon - keepdir /etc/courier/authlib - emake DESTDIR="${D}" install || die "emake install failed" - [[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb - emake DESTDIR="${D}" install-configure || die "emake install-configure failed" - rm -f "${D}"/etc/courier/authlib/*.bak - chown mail:mail "${D}"/etc/courier/authlib/* - for y in "${D}"/etc/courier/authlib/*.dist ; do - [[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}" - done - use pam && orderfirst authdaemonrc authmodulelist authpam - use ldap && orderfirst authdaemonrc authmodulelist authldap - use postgres && orderfirst authdaemonrc authmodulelist authpgsql - use mysql && orderfirst authdaemonrc authmodulelist authmysql - dodoc AUTHORS ChangeLog* INSTALL NEWS README - dohtml README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html - if use mysql ; then - dodoc README.authmysql.myownquery - dohtml README.authmysql.html - fi - if use postgres ; then - dohtml README.authpostgres.html README.authmysql.html - fi - if use ldap ; then - dodoc README.ldap - dodir /etc/openldap/schema - cp -f authldap.schema "${D}/etc/openldap/schema/" - fi - newinitd "${FILESDIR}/${PN}-r1" "${PN}" || die "doinitd failed" -} - -pkg_postinst() { - if [[ -e /etc/courier/authlib/userdb ]] ; then - einfo "Running makeuserdb ..." - chmod go-rwx /etc/courier/authlib/userdb - makeuserdb - fi - - # Suggest cleaning out the following old files - list="$(find /etc/courier -maxdepth 1 -type f | grep \"^/etc/courier/auth\")" - if [[ ! -z "${list}" ]] ; then - ewarn "Courier authentication files are now in /etc/courier/authlib/" - elog "The following files are no longer needed and can likely be removed:" - elog " rm $(echo \"${list}\")" - fi -} |