diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-06-22 11:42:17 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-06-22 11:42:17 +0000 |
commit | 452f62aa79869530f9fde54564fdeb661f3b18f1 (patch) | |
tree | 3f520114b68d8c2d2466725e20345e5576c7b5ec /dev-libs/cyrus-sasl | |
parent | x86 stable wrt bug #552752 (diff) | |
download | historical-452f62aa79869530f9fde54564fdeb661f3b18f1.tar.gz historical-452f62aa79869530f9fde54564fdeb661f3b18f1.tar.bz2 historical-452f62aa79869530f9fde54564fdeb661f3b18f1.zip |
Remove old.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/cyrus-sasl')
-rw-r--r-- | dev-libs/cyrus-sasl/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/Manifest | 27 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/cyrus-sasl-2.1.23-r7.ebuild | 252 |
3 files changed, 5 insertions, 279 deletions
diff --git a/dev-libs/cyrus-sasl/ChangeLog b/dev-libs/cyrus-sasl/ChangeLog index 649aa5d68343..53e029dd9df0 100644 --- a/dev-libs/cyrus-sasl/ChangeLog +++ b/dev-libs/cyrus-sasl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/cyrus-sasl # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.319 2015/06/06 10:09:52 perfinion Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.320 2015/06/22 11:42:13 mrueg Exp $ + + 22 Jun 2015; Manuel Rüger <mrueg@gentoo.org> -cyrus-sasl-2.1.23-r7.ebuild: + Remove old. 06 Jun 2015; Jason Zaman <perfinion@gentoo.org> cyrus-sasl-2.1.26-r9.ebuild: RDEP on selinux policy, bug 543568 diff --git a/dev-libs/cyrus-sasl/Manifest b/dev-libs/cyrus-sasl/Manifest index c5054f20a0fe..5dfe31d0c738 100644 --- a/dev-libs/cyrus-sasl/Manifest +++ b/dev-libs/cyrus-sasl/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX cyrus-sasl-0001_versioned_symbols.patch 914 SHA256 d64669070f4d19d884eaeb7d2b3b66987a714c2dda462bbbc4bcf452b705c3e0 SHA512 83329417818f1a33fb013090024e15786dadfc0fc865e2c6f09addbf8ba51519f171f8d583cd558b2ec98c2ece112a5427f8a6b02b74246cc948fe196a38681c WHIRLPOOL acb76440be9cbbb671d686080ec9478c70773c7a84526f2f1ea8bf4b994b51bb8c32830ba12c4e8c8dcfc973e17a00b847e7f67c39f639c1b1ad825612c989bc AUX cyrus-sasl-0002_testsuite.patch 1055 SHA256 d7fff57482c2a9b148296ec680327d0cbd5254ed0a0bc99f46e2dc73758a6abc SHA512 a7ea09cfb76b4c99ca8b1316c547e6168108e11495368453fbc4e4842306727c2e1aafe9d959d195d6eb5262b5e1f91668fc7ac1d24dc6b15149ae162288994e WHIRLPOOL 5b71f60005aeeea61ad403f8a7c8c8379348f22a16780a2ef35fb092ed265191638e859c9faf576e7e06dafe8357960db0b8ba8ff8d8a940731eb8de41f81a2e AUX cyrus-sasl-0006_library_mutexes.patch 805 SHA256 c1b955a6e9873284d27a1df62cc8952d5dbca0ea729ba326aa6f8b4ed1a96c6e SHA512 cc1783f97c65a309a11ea91ddb6f4db06590af6a987acd333dbad2da880db36b8401213e8e2cbfdb48bec021ba204f63ac0ffbea7d4dd1fdfe65d1212a062963 WHIRLPOOL 3f9876cc765d5fbce3da495135bf745c6ef6f661088635d7f2f13e60e0f276d52d65bf9ca22cfb640b5bda5d7f93244c13556524056530007aa23e5f4f3a0706 @@ -47,29 +44,7 @@ AUX saslauthd.pam-include 160 SHA256 97166de49d227cf5ff305168ea75ca584feda9ab87d AUX saslauthd.service 277 SHA256 a8157a0748269d3534ac6f01bbf61f0215c665b50dbbf94fc2399b6d3287a677 SHA512 fa318aefec6f802badd72a4baf33875bc0021fc4889578877880971470d84bf645ad3c34dd10c582d8cc06ea512e3d56984902efaf09e2806a27feade5fc971c WHIRLPOOL 18f74f1caac60b7bbf58edf41b78c5d670a6892c8c763e05b026c930565dfb2c3ac7b6763e518824fe93c560c5f1f7e42306e950c1a942b38e0ec23824b74e89 AUX saslauthd2.rc6 525 SHA256 329fb67382e307ab6d37aa789667b04a91ba3f69e9c1023b0902adafed065ee9 SHA512 821cf0da896ebeaa1025f019cc287c457f3820f7150461c6779a57118249c4bc12e2866be5f9d17430c5821fd4a89b44030904c1ed2fb6592bf4a5ee1347c3f6 WHIRLPOOL d989a71863b7a24ed08de8a039ce78b0d24daeb1cd5e33e26a746f69205841bae4c8ee08d11e6c9985a25ab988c5ed5398172e9db3093816325adbdda1a5f3e0 AUX saslauthd2.rc7 524 SHA256 a095def10c3b7e6894a6d782c70cbe176c7b53f36386dcc4b1e5bc75424e29f0 SHA512 7d677bf482bb675fe1f31960fd1c0ae9f11c699a81ba16ee6bb427264ff38dd2216f72faf2ffa8015095ab92fb1c8abf7fd1d4530a4421c7e11f89ff0618643a WHIRLPOOL c91661649dc4c411e36c49576fa87ac327466f5344656bb4e964c96585dcd34431ed92b5d69dc8baa64ee700a57e4d6fe31b64a7b08f39d399d76ca1d9ee2f79 -DIST cyrus-sasl-2.1.23-ntlm_impl-spnego.patch.gz 7462 SHA256 9514a7436b11184cfd7e8a9ccd3590ce9f89cf2dc272ffbbdeeab16f9ae4fe6f SHA512 a0a00d78019a5bce1456aebb7a8f9c740f9c0f8340916e977249f1b766f503e8e33ab81cbc6e0cdafe4a8c806e5631395431107ff578f75cb89fc9cca1a57fca WHIRLPOOL aac154414f6ae4aa7db9e4eed8dc698c16a0aefdb2b7fe3aa34be5d24aa1b07d04f8f6aa0300f8365911d10e5552b6b978757f951a75af958745b8a5f547ea9f -DIST cyrus-sasl-2.1.23.tar.gz 1613642 SHA256 20efcc4040cbab6e89a636a07dcf5720ee07b5c62359a4e7bf2500ef6020b136 SHA512 bf72db55fefe9eccfe4a12caf1160efc80aba98f8acc2743af360fda96659a3ee1fc3a5af6104b3dfc8fc4571f4e98526b9719a6cdf0948980cf76a9cb1a2b0e WHIRLPOOL 36e0b85228105186160ac8f8751137a067bca0cf6e219dda527808cb04ae597273c97b9d8cd3c1e3b900787a70ad67e5395127ab5107ef0e8ac0100b04612673 DIST cyrus-sasl-2.1.26.tar.gz 5220231 SHA256 8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3 SHA512 78819cb9bb38bea4537d6770d309deeeef09ff44a67526177609d3e1257ff4334d2b5e5131d5a1e4dea7430d8db1918ea9d171f0dee38b5e8337f4b72ed068f0 WHIRLPOOL bcba17705d5d7ef9a03802d6a0c3a887bba0473605a3a48d2672aeac187193f2488f28ab01bdf659d7a68b94b4c74e36428ca4b5be840fbed2968f1592534b33 -EBUILD cyrus-sasl-2.1.23-r7.ebuild 8977 SHA256 2e110fa3167f7e63832afdd0461dddf0de192c466a6e2aa39c47ba13e87dc56f SHA512 771667e352d23f054acd1a45c09e4e5a30f054a4b16dcf43516d2c87d74221ae477287d36cd076301d2ed1f63112d07234c49a6773cd581a2e2b4694222c3243 WHIRLPOOL 49ae7804e841f9c75444f5e32dab5d83d9d243ad26067c2a96480ab9594043694b1612dc7039ea75efb27360abc25045955383de33a0fef0df27662db3da5622 EBUILD cyrus-sasl-2.1.26-r9.ebuild 7793 SHA256 6a17b01bad7f52737011f47cd2a89ef365f7b298cb25b7f744835e59f01b19eb SHA512 35f10e48ea263a8a111ca3d6cb4fd7e1407cc23f1526b2e85a11467cc460747eefd65ae2a9a0a6528b48452ed2d62c3541e04ad9c3563ee0278d005a780448f6 WHIRLPOOL a2c394e77ca3eeaca9820dd0c735a47197193f181a562e18c2caa61a273974cbd870c06ffa039e90786c0ae5c3ed8447a227c35fe16d72bad1a76ca67149ecb1 -MISC ChangeLog 52515 SHA256 1e39a9d1a3a77945ecd9f2b904eece303ad2095f076989debcc020acd0564670 SHA512 2fb0b9b0ba9df6798d6772fc5420c37ddf416e4d2245acb3e548b33ce27e4821d2f31f0ceaa3b40a03987813b2d567f91508ab6adcb19c17820d253cf45e04f3 WHIRLPOOL 993ec0c8e8c4307027a380a171dd3732ab206e01d1573023e0fc3f3009930dc5a666f31883f24ce726b9cd2ed741ddba70eceddf6a184fba3cc1555a3af7eb3f +MISC ChangeLog 52604 SHA256 02a23385d5a01560f8cca7dbfbb533454b0f2dc7e2c3ba9940feb7016085a286 SHA512 e369fcd68ee5f06e6e81e7c008d62634a66936fd2081cd357953013231dd1327add9f2d814ff6d54ac5fbcded5e3f6819cf26544ae3002a980c1404a7e165883 WHIRLPOOL 5ca48dcd4225b4310a0a27ed9be3cbd03353f54ba04730d675073c2aeee50f9f9c8285330e0db0bb8a6206ab47a88dfbb37ec08d39c6c28bd7301148549b4c99 MISC metadata.xml 727 SHA256 6b9f368b484972e833084dba4aedf70c09767b816b57cb43a7c0945b8b11b497 SHA512 8b6c6556dd9adff73a6f0bc40fd8064cae8ce8b45734ab0a30b7611be9f226144403fa0dbcf6d3965bd03e12b7c36848c91937bd8133a5581bd296d741a013c7 WHIRLPOOL 5e24419ac72d0ef8591de06c7ab4d95435234e8d894ee31b2015e6465d15a777919c714aae4e3293e194ccfcb505cf0d77f2565959d5e9ecf41c1cbb7b9ff1c5 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 - -iQJ8BAEBCABmBQJVcsbyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFMTYyREVBRDFDQ0REMTEzRjA0QjNENDky -QkJFRDlDQjFBNjhFRjU1AAoJECu+2csaaO9VA78QAMY2Bn1+UZptU917/L9VzX6S -bNFaLrukyTDCbiRas/dl2p+VEZ+gKJY0TocGkb65O1pUw2yxGjC5CcEeWTlWT7LF -ygQhbFkuQB/VobfDK9524M5PDW1bgEZxURFYyU7Ng5yzWMJdHRxRPzbHYdAKLQUE -WZdrvHp+9ZbK8PV9dyzfaQ4/kI9H+xQjB14p9S6eOqY2L83JBcptjeCzVemejou8 -B5HPxNuRJ3rHQ/Y1UlivO7c0i3DljDqGLRl7AGITpkhVKmxm6a1gS7UXZXJysVsh -AIQDstnReNa9l6uGWoj7aoJTskthRC7pE73KAW97diSlpD2MOa8qaMzzEjlD0Foi -U8WZnCj7nox6v3s3Koo1oeCIdYdAsqRD7SPwVQucGgQqvCkh34LyqKbY4LyRYDaV -G86RhD72flVkhJHaTXLUgOgBMk/kYKNVi+argTYGN7B5H1xOb0F8ZFa0Vsi6y8+/ -J7cTgKGr+3TizvIOJG5wcjwONk/6BG37UNnarpNJAq7MpNr4qcvYQCRiIX/g5oJW -PQrnhvY/gWIIBVTwgMZih27b4OqhnQwfk6TwiL/pA1MifztW/7lGKak4uQ1mlMMV -XseCwpcHOjNLVBjfO1ahZn+sfF4r3qbHcJHgcfukayD3j/1AZ6r/ZYKF6TCpMjxa -wQOg3+Ss1pua6lgKPOfS -=gR72 ------END PGP SIGNATURE----- diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.23-r7.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.23-r7.ebuild deleted file mode 100644 index 3f002d6b9efc..000000000000 --- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.23-r7.ebuild +++ /dev/null @@ -1,252 +0,0 @@ -# Copyright 1999-2015 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-r7.ebuild,v 1.16 2015/03/21 21:07:10 jlec Exp $ - -EAPI=2 - -inherit eutils flag-o-matic multilib autotools pam java-pkg-opt-2 db-use - -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="BSD-with-attribution" -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 openldap mysql ntlm_unsupported_patch pam postgres sample srp ssl urandom" - -DEPEND="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 ) - openldap? ( >=net-nds/openldap-2.0.25 ) - mysql? ( virtual/mysql ) - ntlm_unsupported_patch? ( >=net-fs/samba-3.0.9 ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql ) - ssl? ( >=dev-libs/openssl-0.9.6d ) - java? ( >=virtual/jdk-1.4 )" -RDEPEND="${DEPEND}" - -pkg_setup() { - if use gdbm && use berkdb ; then - echo - elog "You have both 'gdbm' and 'berkdb' USE flags enabled." - elog "gdbm will be selected." - echo - fi - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - # 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 - use crypt && epatch "${FILESDIR}"/${PN}-2.1.19-checkpw.c.patch #45181 - epatch "${FILESDIR}"/${PN}-2.1.22-as-needed.patch - epatch "${FILESDIR}/${PN}-2.1.21-keytab.patch" - epatch "${FILESDIR}"/${PN}-2.1.22-crypt.patch #152544 - epatch "${FILESDIR}"/${PN}-2.1.22-qa.patch - epatch "${FILESDIR}/${PN}-2.1.22-gcc44.patch" #248738 - epatch "${FILESDIR}"/${P}-authd-fix.patch - epatch "${FILESDIR}"/${P}+db-5.0.patch - epatch "${FILESDIR}/${PN}-0001_versioned_symbols.patch" - epatch "${FILESDIR}/${PN}-0002_testsuite.patch" - epatch "${FILESDIR}/${PN}-0006_library_mutexes.patch" - epatch "${FILESDIR}/${PN}-0008_one_time_sasl_set_alloc.patch" - epatch "${FILESDIR}/${PN}-0010_maintainer_mode.patch" - epatch "${FILESDIR}/${PN}-0011_saslauthd_ac_prog_libtool.patch" - epatch "${FILESDIR}/${PN}-0012_xopen_crypt_prototype.patch" - epatch "${FILESDIR}/${PN}-0014_avoid_pic_overwrite.patch" - epatch "${FILESDIR}/${PN}-0016_pid_file_lock_creation_mask.patch" - epatch "${FILESDIR}/${PN}-0026_drop_krb5support_dependency.patch" - epatch "${FILESDIR}"/${P}-rimap-loop.patch #381427 - epatch "${FILESDIR}"/${P}-gss_c_nt_hostbased_service.patch #389349 - epatch "${FILESDIR}"/${P}-CVE-2013-4122.patch - - sed -i -e '/for dbname in/s:db-4.* db:'$(db_libname)':' \ - "${S}"/cmulocal/berkdb.m4 - - # 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_configure() { - # 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 ; 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 --with-bdb-incdir=$(db_includedir)" - 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 \ - --without-sqlite \ - --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 openldap ldap) \ - $(use_enable openldap ldapdb) \ - $(use_enable sample) \ - $(use_enable kerberos gssapi) \ - $(use_enable java) \ - $(use_with java javahome ${JAVA_HOME}) \ - $(use_with mysql) \ - $(use_with postgres pgsql) \ - $(use_enable srp) \ - ${myconf} -} - -src_compile() { - # 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" - - newsbin "${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 -} |