diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-11 13:25:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-11 18:19:51 +0200 |
commit | de494363bb43b49802664fa172e25c651b9ff0f0 (patch) | |
tree | 3e21fbf6947ac3098af8d82c9fa6432d32cd9143 /mail-filter/maildrop | |
parent | mail-filter/libspf2: Drop old (diff) | |
download | gentoo-de494363bb43b49802664fa172e25c651b9ff0f0.tar.gz gentoo-de494363bb43b49802664fa172e25c651b9ff0f0.tar.bz2 gentoo-de494363bb43b49802664fa172e25c651b9ff0f0.zip |
mail-filter/maildrop: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'mail-filter/maildrop')
-rw-r--r-- | mail-filter/maildrop/Manifest | 3 | ||||
-rw-r--r-- | mail-filter/maildrop/files/maildrop-testsuite-r3.patch | 65 | ||||
-rw-r--r-- | mail-filter/maildrop/maildrop-2.8.3.ebuild | 143 | ||||
-rw-r--r-- | mail-filter/maildrop/maildrop-2.8.5.ebuild | 142 | ||||
-rw-r--r-- | mail-filter/maildrop/maildrop-2.9.0.ebuild | 138 |
5 files changed, 0 insertions, 491 deletions
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest index 1fdcf5a5137a..f3202dbaeb9c 100644 --- a/mail-filter/maildrop/Manifest +++ b/mail-filter/maildrop/Manifest @@ -1,4 +1 @@ -DIST maildrop-2.8.3.tar.bz2 1992695 BLAKE2B be17fa1ac38f8a54670e40f2b4207c2ee5e8976f20e29c6a528ccf50a716c8b4aedb0546a9722f1147573afd9d43f8a8caa59aec8bf9069ef833226cb2ea0562 SHA512 25168945764eda5c74641e205e3c784ca2ae27c15a5a6ddfe7a1c7b238cd6c3d5b0a3f7ce8b405b578d067f6f2aae5d7d6110da8bc89f91ac1c7fdc224ffd054 -DIST maildrop-2.8.5.tar.bz2 2072987 BLAKE2B e067e0ef77f850fd9ce97584893dd5301a7a91fcebea02351da8b22d3d7f0b74f3809cdc3874b29117a62d5c496962f72a5254470cd5f92b787b80d066f1fec1 SHA512 c04120af29ee8e72aeabd211301c5052fe4a2dc0f337074e1fa57b8adb9652512cd744e0bba3894a8b0e3b21a3511bbf4a4f045faec3536edb8be0f8bdc84cf5 -DIST maildrop-2.9.0.tar.bz2 2075698 BLAKE2B 2a918214e471a4a54aa7e0412e062ca85ac3ce4757bf4642fb0c0a9776a7c1b1bc417ef426c9bd7767d99b9d783085bf6c67f402ea43b0e7eba10c82d98b5619 SHA512 366a04d1e6e10ef1c824fbb5dfe406ff74fe17b80a46619fd8aa8cde3b4fef9a10b4ed3cc6329ed04632582d58104aaf16134c6dc82e17917b82fb6f18316dd6 DIST maildrop-3.0.0.tar.bz2 2091018 BLAKE2B 3c8e3ae5c2c2f636b0223e2bafadcb88bf34be63c792a177febac5c41ccd50cab04755f14a26731c38a35531abea1faa70d4af5587a6e68a21735f050f2d46d8 SHA512 1f1e1682ec7c2d0c1f2e71059f186d9a9d3118194b1e558d3a6e5826721fb14a661f4d75df42ce2626430ac072b50e723b563ae00c1ebdeb4da96abfeb534eff diff --git a/mail-filter/maildrop/files/maildrop-testsuite-r3.patch b/mail-filter/maildrop/files/maildrop-testsuite-r3.patch deleted file mode 100644 index fd6d729370a0..000000000000 --- a/mail-filter/maildrop/files/maildrop-testsuite-r3.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff -uNr maildrop-2.8.3.ORIG/libs/maildrop/configure.ac maildrop-2.8.3/libs/maildrop/configure.ac ---- maildrop-2.8.3.ORIG/libs/maildrop/configure.ac 2017-07-25 22:49:44.044032091 +0100 -+++ maildrop-2.8.3/libs/maildrop/configure.ac 2017-07-25 22:50:48.205113368 +0100 -@@ -195,6 +195,15 @@ - AC_DEFINE_UNQUOTED(MAXLONGSIZE, $MAXLONGSIZE, - [ Maximum character size of a long ]) - -+dnl check for en_US locale -+check_en_US() { -+locale -a | grep en_US.utf8 > /dev/null -+return $? -+} -+AC_MSG_CHECKING([for en_US.utf8]) -+AM_CONDITIONAL([HAS_EN_US], [check_en_US]) -+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])]) -+ - dnl Checks for library functions. - - AC_FUNC_CLOSEDIR_VOID -diff -uNr maildrop-2.8.3.ORIG/libs/maildrop/Makefile.am maildrop-2.8.3/libs/maildrop/Makefile.am ---- maildrop-2.8.3.ORIG/libs/maildrop/Makefile.am 2017-07-25 22:49:44.054032259 +0100 -+++ maildrop-2.8.3/libs/maildrop/Makefile.am 2017-07-25 22:51:13.335536823 +0100 -@@ -75,9 +75,11 @@ - maildrop.lsm testsuite.txt.idn testsuite.txt.noidn testsuite2 - - check-am: -+if HAS_EN_US - @chmod +x testsuite - ./testsuite | cmp -s - $(srcdir)/$(TESTSUITE) - @SHELL@ $(srcdir)/testsuite2 -+endif - - noinst_DATA=maildrop.html maildrop.1 maildropfilter.html maildropfilter.7 \ - maildropgdbm.html maildropgdbm.7 -diff -uNr maildrop-2.8.3.ORIG/libs/rfc2045/configure.ac maildrop-2.8.3/libs/rfc2045/configure.ac ---- maildrop-2.8.3.ORIG/libs/rfc2045/configure.ac 2017-07-25 22:49:44.054032259 +0100 -+++ maildrop-2.8.3/libs/rfc2045/configure.ac 2017-07-25 22:50:48.205113368 +0100 -@@ -60,6 +60,15 @@ - AC_CHECK_FUNC(strncasecmp,,CFLAGS="$CFLAGS -Dstrncasecmp=strnicmp") - AC_CHECK_FUNC(strcasecmp,,CFLAGS="$CFLAGS -Dstrcasecmp=stricmp") - -+dnl check for en_US locale -+check_en_US() { -+locale -a | grep en_US.utf8 > /dev/null -+return $? -+} -+AC_MSG_CHECKING([for en_US.utf8]) -+AM_CONDITIONAL([HAS_EN_US], [check_en_US]) -+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])]) -+ - AC_ARG_WITH(package, [], package="$withval", - [ - package="$PACKAGE" -diff -uNr maildrop-2.8.3.ORIG/libs/rfc2045/Makefile.am maildrop-2.8.3/libs/rfc2045/Makefile.am ---- maildrop-2.8.3.ORIG/libs/rfc2045/Makefile.am 2017-07-25 22:49:44.054032259 +0100 -+++ maildrop-2.8.3/libs/rfc2045/Makefile.am 2017-07-25 22:51:26.555759572 +0100 -@@ -76,6 +76,8 @@ - endif - - check-am: -+if HAS_EN_US - @SHELL@ $(srcdir)/testsuite | cmp -s - $(srcdir)/$(TESTSUITE) - @SHELL@ $(srcdir)/testsuitemm | cmp -s - $(srcdir)/testsuitemm.txt - @SHELL@ $(srcdir)/testrfc3676parsersuite | diff -U 3 $(srcdir)/testrfc3676parsersuite.txt - -+endif diff --git a/mail-filter/maildrop/maildrop-2.8.3.ebuild b/mail-filter/maildrop/maildrop-2.8.3.ebuild deleted file mode 100644 index 25104ffb1e67..000000000000 --- a/mail-filter/maildrop/maildrop-2.8.3.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 ~sh sparc x86" -IUSE="berkdb debug dovecot fam gdbm ldap mysql postgres static-libs authlib +tools trashquota" - -CDEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - net-libs/courier-unicode - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( >=sys-libs/db-3:* ) - ) - tools? ( - !mail-mta/netqmail - !net-mail/courier-imap - !mail-mta/mini-qmail - )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - dev-lang/perl - dovecot? ( net-mail/dovecot )" -REQUIRED_USE="mysql? ( authlib ) - postgres? ( authlib ) - ldap? ( authlib )" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-disable-fam.patch - fi - - # no need to error out if no default - it will be given to econf anyway - sed -i -e \ - 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \ - "${S}"/libs/maildrop/configure.ac || die "sed failed" - - epatch "${FILESDIR}"/${PN}-testsuite-r3.patch - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail" - mytrustedusers+=" daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - # Default mailbox is $HOME/.maildir for Gentoo - maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - $(use_enable static-libs static) \ - $(use_enable dovecot dovecotauth) \ - $(use_with trashquota) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - if use authlib ; then - fperms 4755 /usr/bin/maildrop - fi - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix README.dovecotauth UPGRADE \ - maildroptips.txt - docinto maildir - dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \ - libs/maildir/README*.txt - - # bugs #61116 #374009 - if ! use tools ; then - for tool in "maildirmake" "deliverquota"; do - rm "${D}/usr/bin/${tool}" - rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] - rm "${D}/usr/share/maildrop/html/${tool}.html" - done - rm "${D}/usr/share/man/man5/maildir.5" - fi - - dodir "/usr/share/doc/${PF}" - mv "${D}/usr/share/doc/maildrop/html" "${D}/usr/share/doc/${PF}/" || die - rm -rf "${D}"/usr/share/doc/maildrop - - dohtml *.html libs/maildir/*.html - - insinto /etc - doins "${FILESDIR}"/maildroprc - - use static-libs || find "${D}"/usr/lib* -name '*.la' -delete -} diff --git a/mail-filter/maildrop/maildrop-2.8.5.ebuild b/mail-filter/maildrop/maildrop-2.8.5.ebuild deleted file mode 100644 index 965ee203aedb..000000000000 --- a/mail-filter/maildrop/maildrop-2.8.5.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="berkdb debug dovecot fam gdbm ldap mysql postgres static-libs authlib +tools trashquota" - -CDEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - net-libs/courier-unicode - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( >=sys-libs/db-3:* ) - ) - tools? ( - !mail-mta/netqmail - !net-mail/courier-imap - !mail-mta/mini-qmail - )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - dev-lang/perl - dovecot? ( net-mail/dovecot )" -REQUIRED_USE="mysql? ( authlib ) - postgres? ( authlib ) - ldap? ( authlib )" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-disable-fam.patch - fi - - # no need to error out if no default - it will be given to econf anyway - sed -i -e \ - 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \ - "${S}"/libs/maildrop/configure.ac || die "sed failed" - - epatch "${FILESDIR}"/${PN}-testsuite-r3.patch - eapply_user - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail" - mytrustedusers+=" daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - # Default mailbox is $HOME/.maildir for Gentoo - maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - $(use_enable static-libs static) \ - $(use_enable dovecot dovecotauth) \ - $(use_with trashquota) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - if use authlib ; then - fperms 4755 /usr/bin/maildrop - fi - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix README.dovecotauth UPGRADE \ - maildroptips.txt - docinto maildir - dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \ - libs/maildir/README*.txt libs/maildir/*.html - - # bugs #61116 #374009 - if ! use tools ; then - for tool in "maildirmake" "deliverquota"; do - rm "${D}/usr/bin/${tool}" - rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] - rm "${D}/usr/share/maildrop/html/${tool}.html" - done - rm "${D}/usr/share/man/man5/maildir.5" - fi - - #dodir "/usr/share/doc/${PF}" - #mv "${D}/usr/share/doc/maildrop/html" "${D}/usr/share/doc/${PF}/" || die - #rm -rf "${D}"/usr/share/doc/maildrop - - insinto /etc - doins "${FILESDIR}"/maildroprc - - use static-libs || find "${D}"/usr/lib* -name '*.la' -delete -} diff --git a/mail-filter/maildrop/maildrop-2.9.0.ebuild b/mail-filter/maildrop/maildrop-2.9.0.ebuild deleted file mode 100644 index c3afde7b5982..000000000000 --- a/mail-filter/maildrop/maildrop-2.9.0.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="berkdb debug dovecot fam gdbm ldap mysql postgres static-libs authlib +tools trashquota" - -CDEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - >=net-libs/courier-unicode-2.0 - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( >=sys-libs/db-3:* ) - ) - tools? ( - !mail-mta/netqmail - !net-mail/courier-imap - !mail-mta/mini-qmail - )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - dev-lang/perl - dovecot? ( net-mail/dovecot )" -REQUIRED_USE="mysql? ( authlib ) - postgres? ( authlib ) - ldap? ( authlib )" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-disable-fam.patch - fi - - # no need to error out if no default - it will be given to econf anyway - sed -i -e \ - 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \ - "${S}"/libs/maildrop/configure.ac || die "sed failed" - - epatch "${FILESDIR}"/${PN}-testsuite-r3.patch - eapply_user - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail" - mytrustedusers+=" daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - # Default mailbox is $HOME/.maildir for Gentoo - maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - $(use_enable static-libs static) \ - $(use_enable dovecot dovecotauth) \ - $(use_with trashquota) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - if use authlib ; then - fperms 4755 /usr/bin/maildrop - fi - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix README.dovecotauth UPGRADE \ - maildroptips.txt - docinto maildir - dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \ - libs/maildir/README*.txt libs/maildir/*.html - - # bugs #61116 #374009 - if ! use tools ; then - for tool in "maildirmake" "deliverquota"; do - rm "${D}/usr/bin/${tool}" - rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] - rm "${D}/usr/share/maildrop/html/${tool}.html" - done - rm "${D}/usr/share/man/man5/maildir.5" - fi - - insinto /etc - doins "${FILESDIR}"/maildroprc - - use static-libs || find "${D}"/usr/lib* -name '*.la' -delete -} |