diff options
author | Eray Aslan <eras@gentoo.org> | 2014-04-26 12:50:30 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2014-04-26 12:50:30 +0000 |
commit | 1a133be0d5800d292070dcc01d82716c9db54c6a (patch) | |
tree | 26eeab32861b27f90609716013aa18916a21b4e6 /net-libs/courier-authlib | |
parent | Use right branch. (diff) | |
download | historical-1a133be0d5800d292070dcc01d82716c9db54c6a.tar.gz historical-1a133be0d5800d292070dcc01d82716c9db54c6a.tar.bz2 historical-1a133be0d5800d292070dcc01d82716c9db54c6a.zip |
Version bump - bug #503184
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'net-libs/courier-authlib')
-rw-r--r-- | net-libs/courier-authlib/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/courier-authlib/Manifest | 30 | ||||
-rw-r--r-- | net-libs/courier-authlib/courier-authlib-0.66.1.ebuild | 166 |
3 files changed, 188 insertions, 15 deletions
diff --git a/net-libs/courier-authlib/ChangeLog b/net-libs/courier-authlib/ChangeLog index b4c42547018f..6dadaf998341 100644 --- a/net-libs/courier-authlib/ChangeLog +++ b/net-libs/courier-authlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/courier-authlib # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.160 2014/04/19 08:57:35 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.161 2014/04/26 12:50:18 eras Exp $ + +*courier-authlib-0.66.1 (26 Apr 2014) + + 26 Apr 2014; Eray Aslan <eras@gentoo.org> +courier-authlib-0.66.1.ebuild: + Version bump - bug #503184 19 Apr 2014; Eray Aslan <eras@gentoo.org> courier-authlib-0.65.0-r3.ebuild: Add net-mail/mailbase to DEPEND - bug #507828 diff --git a/net-libs/courier-authlib/Manifest b/net-libs/courier-authlib/Manifest index 8a1a3a2a83e1..c71f16e7e54e 100644 --- a/net-libs/courier-authlib/Manifest +++ b/net-libs/courier-authlib/Manifest @@ -6,25 +6,27 @@ AUX courier-authlib-r1 1107 SHA256 c7d9e1efbbc4a805a08d085cbe1edeaf491e455b0ba26 DIST courier-authlib-0.63.0.tar.bz2 2817119 SHA256 7b961b965c446996fe0eca40ad2e7cc6d47fc9e85944f701c457b1da8c978ac3 SHA512 7ef3922667339a62df38b3e3a5c77951e4f52adda1ff44756345c6b9aacf3039bbb3087042c6354a8c8e1c693adac33ebfea1443b9ec4c2f49e89f4ab7d9b825 WHIRLPOOL 53656d94cc2c4812d730c5bc42f39aae00a99d1dfe9b9072eda04976d684030a47183bf64ff7c7e52263d812de4d33f3a5f5bfcdf344fc84dab279e4da014513 DIST courier-authlib-0.64.0.tar.bz2 2267236 SHA256 69497dfe8d4110456cc3126350dbcebd7e41ab78505c57793df96ed3fb795039 SHA512 9a1cb195bfa00c02294f87e5e01254108d5b2bc9ae2e32abbb38d9dc0af108748eec4fa365efcc244ec194751b69ef7e26963a1b0315c386758502938421fd80 WHIRLPOOL 117545aff37ba9aaf8d9e5b891c483a06e9d89375905e3a0df640f5f8b04b26cafda194a0f6b2bbcfa0051e8b9d171382e4d6b9d24c9dbffd7c440df04006d1d DIST courier-authlib-0.65.0.tar.bz2 2303751 SHA256 db3e34ee2b075897864c44aaae924388c74b32ed40b83f0fcf8626a060c1ea47 SHA512 edc4a51bc0d748e7d6cdbf9e9c67c43eeedd9e3846d91a8eea24613f6fb5125d2e713ef7fd63cbbe1905205f2a406b4ff3f31d7c3fb7028939123dbc728d8e38 WHIRLPOOL d86ad93ebe701f0742e83988ad14bb750c98ada952fbc6422641840b0074b8f285ca41c0f6458b79c36196a435c99c76d767e8cf3fdf3110107b25112712887a +DIST courier-authlib-0.66.1.tar.bz2 2299965 SHA256 8f89166f57c8e59f445fe0135da92b95f1c4417896d01eda5e2e94d8ff878fe8 SHA512 d2b0c9c92c0af8c596fd9b14337034e2859c4540b5b20523e8dfbec78f54021104b6864c7f3488f518ebfff488b38bdbc26690763175940d12019f5cbc482b33 WHIRLPOOL 345f458ca19d8892784fa56a72658f50faa65ea7094f590b0fe9880f085e32a2609a25fad76f083bbe0bd278b39db582e3defef3212089b3a3a54d58149ef593 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-r3.ebuild 5312 SHA256 b6f5e82c201ce187bf0c6e15dfa22fd5fc2af1652f3fd2f466a2c5befe8642d3 SHA512 a0b4951b8546e6fbf34351dea94534b1f3543bc38aa509e944ff11fafa5cd8a1a7c13e89d22b8fe65f2f79ceb1295e71c046f7bd6b3f08ad40366a36fd8e3c3e WHIRLPOOL a939fb457e6291c62ec04ff639f998db48791a5d754c970a8dc678914e77007f3f2895d72e0ee03eb23452bad50cec6e33ff5f85f7903a518bbe76815c5c9051 -MISC ChangeLog 24975 SHA256 e102f4d9f63b4b5cfb12b78e4a93ec954f69ea0cd939098d9654f06483396ad7 SHA512 3725fcb7333331664403895194b7f484477e2903e5735ddb4367a3217d065d60b5887c69de3c7e9f467afde7c6eef35647b648951c8fc13c62928c1ccf93ef14 WHIRLPOOL 89815fcb8638403670fb02a934759bf4b29966b8a18c047e2f4840abc4b3ed408747fcb102f75b9d7efbe6f428affa423c4ed433a5591253a77d3e576ba5e6f7 +EBUILD courier-authlib-0.66.1.ebuild 5279 SHA256 2e2fcbb046b7e95b8f53a40628a23063c10393e2b99c7fe4aa52a6516c35ab56 SHA512 2104a61197925e86dfe6934c68ef4a31e07768b28ae5fa90184027cdce805083d3277b0b1e072390133c0fd01de5380bf3455796be89a9929f6fd7f280af4106 WHIRLPOOL 95ac6308f056772cf8f8f69a47c5bc1df3e944ce223cc4f40022e3ff2a8184cdaf89a879d88395eb37a2f83de948dad29d1278148752ecc530136bc71f8cc799 +MISC ChangeLog 25120 SHA256 07df6f94dc7a3350cd2e4401b28fd2fc148c72da69a1794492bc7f7546c0a970 SHA512 61f71679e1e05dd08c57fca0135e7458c7a072105c64650c759f25dbf366e9777d3f26c00e6d161a54f871ab3d120873c261ed553670d5e66db47b9efd5e1457 WHIRLPOOL 1dd372ad2cd5dedd179de54e023e245dba2f20d9d980eb6413bb40d28efaf5b5173f3d1061b701741c27cfa5ecbf9534e13bbced5eeb4392913f952c9bf53d53 MISC metadata.xml 237 SHA256 a8a93d896577309c559cb95967fe0ebab7ee7201a1c7204eeae6e95ce9375305 SHA512 7dbe4ef965827cf9f1d2f12ba05d24870c98e377687e50174427ab6299896a9e29a35870b049057c075248603d6b5bc5d55aa4202033426fe89c5f71e5363aa2 WHIRLPOOL 751a7e9f576a448c109dcc1bfce1c203a5f3ec518df929863de4ebc87830b952d4789e8d8d583cf211a29fb900769499b3f3f85921d2f0ce71929e53f9bc1f74 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTUjqIAAoJEHfx8XVYajsfVWkQALPlj6MeljaSo/FFELBfOJxG -Pw/0Y6CuxClqwVImfsxlny81SbAQi7d5Zh5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q5kU005gtg +ptbJq1AILpd9hqRl78bMG79ipIJravQ9TBfjOfCof/xmUfDR3ITVztdqwoiMC5z/ +c1KQrDmt84UZ01qBURdahqJx3By20GwpYCx2la76zOiNEJ8RXTJv+yBYKhVDbeHx +0yXNF4OuCmgGKYnqBwN+TAsieW1TTHK/FTRRd0E4v9qvFfxaFYrVzMkc+ZCfduDb +cfgw2Q0pbZunMW0lTbf5K8e/o50D9wsO8eniv3Z6ihMQHBkgBBe/yOGGw0jXCnwR ++H5titkbd5EEDKucQqRN +=Fgpl -----END PGP SIGNATURE----- diff --git a/net-libs/courier-authlib/courier-authlib-0.66.1.ebuild b/net-libs/courier-authlib/courier-authlib-0.66.1.ebuild new file mode 100644 index 000000000000..d3fa95aac2c8 --- /dev/null +++ b/net-libs/courier-authlib/courier-authlib-0.66.1.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2014 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.66.1.ebuild,v 1.1 2014/04/26 12:50:18 eras Exp $ + +EAPI=5 +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 )" + +DEPEND="net-mail/mailbase + gdbm? ( sys-libs/gdbm ) + !gdbm? ( sys-libs/db ) + >=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 )" + +RDEPEND="${DEPEND}" + +# vpopmail support removed upstream +REQUIRED_USE="( !vpopmail )" + +pkg_setup() { + 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 -fR "${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 +} |