diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-31 22:56:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-31 22:56:52 +0200 |
commit | 4f8e0811558ed546c08cc8066df399333584ca6c (patch) | |
tree | 621ae36680c3303c43dbd08b201977e9a637a7fd /net-mail/mailutils | |
parent | net-mail/mailman: Remove old (diff) | |
download | gentoo-4f8e0811558ed546c08cc8066df399333584ca6c.tar.gz gentoo-4f8e0811558ed546c08cc8066df399333584ca6c.tar.bz2 gentoo-4f8e0811558ed546c08cc8066df399333584ca6c.zip |
net-mail/mailutils: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-mail/mailutils')
-rw-r--r-- | net-mail/mailutils/Manifest | 3 | ||||
-rw-r--r-- | net-mail/mailutils/files/mailutils-3.6-underlinking.patch | 11 | ||||
-rw-r--r-- | net-mail/mailutils/files/mailutils-3.8-fix-tests.patch | 48 | ||||
-rw-r--r-- | net-mail/mailutils/files/mailutils-3.8-fno-common.patch | 22 | ||||
-rw-r--r-- | net-mail/mailutils/files/mailutils-3.9-python-config.patch | 27 | ||||
-rw-r--r-- | net-mail/mailutils/files/mailutils-3.9-underlinking.patch | 11 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-3.11.1.ebuild | 138 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-3.12.ebuild | 139 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-3.8.ebuild | 141 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-3.9.ebuild | 141 |
10 files changed, 0 insertions, 681 deletions
diff --git a/net-mail/mailutils/Manifest b/net-mail/mailutils/Manifest index e516b435c712..698791916243 100644 --- a/net-mail/mailutils/Manifest +++ b/net-mail/mailutils/Manifest @@ -1,4 +1 @@ -DIST mailutils-3.11.1.tar.xz 3129416 BLAKE2B f7a13bd1c545b051d213656bea52d9df6409baffe8f1d9755826ef306cc5dc2433b9fd57ea56d5a64d299e8c4babc2dfee8b8f2ee8f1537519c0cb2a568a7717 SHA512 6a1f20d6bf9cda9c90d3bd07a4c23a52d78153a18e89b1cb69682b5efc6c450d7791d430855b47ed97e078e0ec175c4b2732317fd7115767ff01dc808f36145e DIST mailutils-3.12.tar.xz 3134484 BLAKE2B eac7934e9332482adffa3d4b1574d89a65949644ca8dd14e507e9c5f268d485b97f4d61deadf34b2ddcae1b91deee93372e9ebd53c88a0c0092346a0d83fd67e SHA512 a7d681bc7a763b7f09b704c8a536ea1c2444c52ca736eca321ca72fd32e2e62c0e14687ba79654d9162d45189d0621b1c75c639b81e04a79bbf3b3c09b9cebd2 -DIST mailutils-3.8.tar.xz 2998596 BLAKE2B 4d09c7b5113129b3d2f3b113808d4460d025d4f0eec00dd1209a95f23abe97683b5d50cfe5229f1e5db48ddd6ca66c73fa6b0c1bfe03b324dbf40b6a26ff76f5 SHA512 4d081ae492beb0f9c1945541d63b52f155f11ca172abaedbe465955ac11097037f440e1aaed8d512cd3aab65f7792b755a7e4b9428a90ad7a833de87b1c4f1f9 -DIST mailutils-3.9.tar.xz 3075268 BLAKE2B 43ee5bf297951b3c894b467a46d3983dac3e115c02169da0ee2ccbc23f8b71d7439083093f4b0710f19c78f108df99dee3310f5f6adc5b7c1792a0a7be33aab6 SHA512 1eef9bebeeafbf974e54b87705444ee02b663a86e22442a9ec5db16ade38e6e9a3079ee8a8267393e97d6e9e477917617b2e1d57d3287ab19e4df73b66e5a8d4 diff --git a/net-mail/mailutils/files/mailutils-3.6-underlinking.patch b/net-mail/mailutils/files/mailutils-3.6-underlinking.patch deleted file mode 100644 index 512a05f3a313..000000000000 --- a/net-mail/mailutils/files/mailutils-3.6-underlinking.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac 2019-02-26 17:11:29.398115222 +0300 -+++ b/configure.ac 2019-02-26 17:14:13.733899654 +0300 -@@ -985,7 +985,7 @@ - AC_CHECK_LIB(ldap, ldap_bind,[ - status_ldap=yes - AC_DEFINE(WITH_LDAP, 1, [Define to 1 if you want to use -lldap]) -- MU_AUTHLIBS="$MU_AUTHLIBS -lldap"], -+ MU_AUTHLIBS="$MU_AUTHLIBS -lldap -llber"], - [status_ldap=no]) - fi - diff --git a/net-mail/mailutils/files/mailutils-3.8-fix-tests.patch b/net-mail/mailutils/files/mailutils-3.8-fix-tests.patch deleted file mode 100644 index 90808d883226..000000000000 --- a/net-mail/mailutils/files/mailutils-3.8-fix-tests.patch +++ /dev/null @@ -1,48 +0,0 @@ -commit 2fe205b5e0b025200150c62581283e99598a80a6 -Author: Eray Aslan <eras@gentoo.org> -Date: Fri Nov 8 10:57:43 2019 +0300 - - save mailboxes as mbox for make test - - when default mailbox scheme is chosen as maildir, mda tests fail with - messages like: - - sed: read error on spool/root: Is a directory - - make sure we save the test mailboxes as mbox - - Signed-off-by: Eray Aslan <eras@gentoo.org> - -diff --git a/mda/tests/forward.at b/mda/tests/forward.at -index 96170ad6a..75a9d6966 100644 ---- a/mda/tests/forward.at -+++ b/mda/tests/forward.at -@@ -19,7 +19,7 @@ AT_KEYWORDS([maidag forward]) - - m4_pushdef([TESTMDA_CONF],[cat > testmda.conf <<EOF - mailbox { -- mailbox-pattern "$(pwd)/spool/\${user}"; -+ mailbox-pattern "mbox:$(pwd)/spool/\${user}"; - } - - mailer { -diff --git a/mda/tests/mda.at b/mda/tests/mda.at -index 6623fb623..083e7c318 100644 ---- a/mda/tests/mda.at -+++ b/mda/tests/mda.at -@@ -16,7 +16,7 @@ - - m4_pushdef([TESTMDA_CONF],[cat > testmda.conf <<EOF - mailbox { -- mailbox-pattern "$(pwd)/spool/\${user}"; -+ mailbox-pattern "mbox:$(pwd)/spool/\${user}"; - } - EOF - ]) -@@ -56,4 +56,4 @@ cat spool/root - - AT_CLEANUP - --m4_popdef([TESTMDA_CONF]) -\ No newline at end of file -+m4_popdef([TESTMDA_CONF]) diff --git a/net-mail/mailutils/files/mailutils-3.8-fno-common.patch b/net-mail/mailutils/files/mailutils-3.8-fno-common.patch deleted file mode 100644 index c7aa72df10e8..000000000000 --- a/net-mail/mailutils/files/mailutils-3.8-fno-common.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/imap4d/imap4d.h -+++ b/imap4d/imap4d.h -@@ -229,8 +229,6 @@ extern struct mu_tls_config global_tls_conf; - extern int test_mode; - extern int silent_expunge; - --int tls_available; -- - /* Input functions */ - extern mu_stream_t iostream; - extern int io_untagged_response (int, const char *, ...) MU_PRINTFLIKE(2,3); ---- a/lib/tcpwrap.h -+++ b/lib/tcpwrap.h -@@ -17,7 +17,7 @@ - #include <mailutils/types.h> - - extern int mu_tcp_wrapper_enable; --const char *mu_tcp_wrapper_daemon; -+extern const char *mu_tcp_wrapper_daemon; - extern int mu_tcpwrapper_access (int fd); - extern void mu_tcpwrapper_cfg_init (void); - extern int mu_tcp_wrapper_prefork (int fd, diff --git a/net-mail/mailutils/files/mailutils-3.9-python-config.patch b/net-mail/mailutils/files/mailutils-3.9-python-config.patch deleted file mode 100644 index 5a2ecdd2aec2..000000000000 --- a/net-mail/mailutils/files/mailutils-3.9-python-config.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5e3463bf6b5deb8ab5c6dffc6792a0a9a3bd7890 Mon Sep 17 00:00:00 2001 -From: Jordi Mallach <jordi@debian.org> -Date: Sun, 22 Mar 2020 19:58:31 +0100 -Subject: Call $PYTHON_CONFIG instead of pyhon-config. - ---- - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 6946a1aa6..4c089555a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1218,8 +1218,8 @@ if test "$status_python" = yes; then - esac - - # See https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build -- PYTHON_LIBS=`python-config --libs --embed 2>/dev/null` || \ -- PYTHON_LIBS=`python-config --libs` -+ PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || \ -+ PYTHON_LIBS=`$PYTHON_CONFIG --libs` - PYTHON_INCLUDES=`$PYTHON_CONFIG --includes` - else - status_python=no --- -cgit v1.2.1 - diff --git a/net-mail/mailutils/files/mailutils-3.9-underlinking.patch b/net-mail/mailutils/files/mailutils-3.9-underlinking.patch deleted file mode 100644 index a7992aff9462..000000000000 --- a/net-mail/mailutils/files/mailutils-3.9-underlinking.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac 2020-03-23 14:09:46.662589298 +0300 -+++ b/configure.ac 2020-03-23 14:12:36.191030873 +0300 -@@ -958,7 +958,7 @@ - AC_CHECK_LIB(ldap, ldap_bind,[ - status_ldap=yes - AC_DEFINE(WITH_LDAP, 1, [Define to 1 if you want to use -lldap]) -- MU_AUTHLIBS="${MU_AUTHLIBS}${MU_AUTHLIBS:+ }-lldap"], -+ MU_AUTHLIBS="${MU_AUTHLIBS}${MU_AUTHLIBS:+ }-lldap -llber"], - [status_ldap=no]) - fi - diff --git a/net-mail/mailutils/mailutils-3.11.1.ebuild b/net-mail/mailutils/mailutils-3.11.1.ebuild deleted file mode 100644 index 09da4e0a5f06..000000000000 --- a/net-mail/mailutils/mailutils-3.11.1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs - -DESCRIPTION="A useful collection of mail servers, clients, and filters" -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html" -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos" -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \ - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \ - tokyocabinet" - -RDEPEND="!mail-client/nmh - !mail-filter/libsieve - !mail-client/mailx - !mail-client/nail - sys-libs/ncurses:= - sys-libs/readline:= - dev-libs/libltdl:0 - virtual/mta - berkdb? ( sys-libs/db:= ) - bidi? ( dev-libs/fribidi ) - emacs? ( >=app-editors/emacs-23.1:* ) - gdbm? ( sys-libs/gdbm:= ) - guile? ( dev-scheme/guile:12/2.2-1 ) - kerberos? ( virtual/krb5 ) - kyotocabinet? ( dev-db/kyotocabinet ) - ldap? ( net-nds/openldap ) - mysql? ( dev-db/mysql-connector-c ) - nls? ( sys-devel/gettext ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql:= ) - python? ( ${PYTHON_DEPS} ) - sasl? ( virtual/gsasl ) - servers? ( virtual/libiconv dev-libs/libunistring:= ) - ssl? ( net-libs/gnutls:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tokyocabinet? ( dev-db/tokyocabinet )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - servers? ( tcpd ldap )" - -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO ) -PATCHES=( - "${FILESDIR}"/${PN}-3.5-add-include.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - if use mysql; then - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ - sql/Makefile.am || die - fi - eautoreconf -} - -src_configure() { - append-flags -fno-strict-aliasing - - # maildir is the Gentoo default - econf MU_DEFAULT_SCHEME=maildir \ - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ - $(use_with berkdb berkeley-db) \ - $(use_with bidi fribidi) \ - $(use_enable ipv6) \ - $(use_with gdbm) \ - $(use_with sasl gsasl) \ - $(use_with guile) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with mysql) \ - $(use_enable nls) \ - $(use_enable pam) \ - $(use_with postgres) \ - $(use_enable python) \ - $(use_with ssl gnutls) \ - $(use_enable static-libs static) \ - $(use_enable threads pthread) \ - $(use_with tokyocabinet) \ - $(use_with kyotocabinet) \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable servers build-servers) \ - $(use_with servers unistring ) \ - $(use_enable clients build-clients) \ - EMACS=$(usex emacs emacs no) \ - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ - --with-mail-spool=/var/spool/mail \ - --with-readline \ - --enable-sendmail \ - --disable-debug -} - -src_install() { - default - - insinto /etc - # bug 613112 - newins "${FILESDIR}/mailutils.rc" mailutils.conf - keepdir /etc/mailutils.d/ - insinto /etc/mailutils.d - doins "${FILESDIR}/mail" - - if use python; then - python_optimize - if use static-libs; then - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die - fi - fi - - if use servers; then - newinitd "${FILESDIR}"/imap4d.initd imap4d - newinitd "${FILESDIR}"/pop3d.initd pop3d - newinitd "${FILESDIR}"/comsatd.initd comsatd - fi - - # compatibility link - if use clients && use split-usr; then - dosym ../usr/bin/mail /bin/mail - fi - - if ! use static-libs; then - find "${D}" -name "*.la" -delete || die - fi -} diff --git a/net-mail/mailutils/mailutils-3.12.ebuild b/net-mail/mailutils/mailutils-3.12.ebuild deleted file mode 100644 index 3c4f06c8eef6..000000000000 --- a/net-mail/mailutils/mailutils-3.12.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs - -DESCRIPTION="A useful collection of mail servers, clients, and filters" -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html" -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos" -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \ - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \ - tokyocabinet" - -RDEPEND="!mail-client/nmh - !mail-filter/libsieve - !mail-client/mailx - !mail-client/nail - sys-libs/ncurses:= - sys-libs/readline:= - dev-libs/libltdl:0 - virtual/mta - berkdb? ( sys-libs/db:= ) - bidi? ( dev-libs/fribidi ) - emacs? ( >=app-editors/emacs-23.1:* ) - gdbm? ( sys-libs/gdbm:= ) - guile? ( dev-scheme/guile:12/2.2-1 ) - kerberos? ( virtual/krb5 ) - kyotocabinet? ( dev-db/kyotocabinet ) - ldap? ( net-nds/openldap ) - mysql? ( dev-db/mysql-connector-c ) - nls? ( sys-devel/gettext ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql:= ) - python? ( ${PYTHON_DEPS} ) - sasl? ( virtual/gsasl ) - servers? ( virtual/libiconv dev-libs/libunistring:= ) - ssl? ( net-libs/gnutls:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tokyocabinet? ( dev-db/tokyocabinet )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - servers? ( tcpd ldap )" - -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO ) -PATCHES=( - "${FILESDIR}"/${PN}-3.5-add-include.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - if use mysql; then - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ - sql/Makefile.am || die - fi - eautoreconf -} - -src_configure() { - append-flags -fno-strict-aliasing - - # maildir is the Gentoo default - econf \ - MU_DEFAULT_SCHEME=maildir \ - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ - $(use_with berkdb berkeley-db) \ - $(use_with bidi fribidi) \ - $(use_enable ipv6) \ - $(use_with gdbm) \ - $(use_with sasl gsasl) \ - $(use_with guile) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with mysql) \ - $(use_enable nls) \ - $(use_enable pam) \ - $(use_with postgres) \ - $(use_enable python) \ - $(use_with ssl gnutls) \ - $(use_enable static-libs static) \ - $(use_enable threads pthread) \ - $(use_with tokyocabinet) \ - $(use_with kyotocabinet) \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable servers build-servers) \ - $(use_with servers unistring ) \ - $(use_enable clients build-clients) \ - EMACS=$(usex emacs emacs no) \ - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ - --with-mail-spool=/var/spool/mail \ - --with-readline \ - --enable-sendmail \ - --disable-debug -} - -src_install() { - default - - insinto /etc - # bug 613112 - newins "${FILESDIR}/mailutils.rc" mailutils.conf - keepdir /etc/mailutils.d/ - insinto /etc/mailutils.d - doins "${FILESDIR}/mail" - - if use python; then - python_optimize - if use static-libs; then - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die - fi - fi - - if use servers; then - newinitd "${FILESDIR}"/imap4d.initd imap4d - newinitd "${FILESDIR}"/pop3d.initd pop3d - newinitd "${FILESDIR}"/comsatd.initd comsatd - fi - - # compatibility link - if use clients && use split-usr; then - dosym ../usr/bin/mail /bin/mail - fi - - if ! use static-libs; then - find "${D}" -name "*.la" -delete || die - fi -} diff --git a/net-mail/mailutils/mailutils-3.8.ebuild b/net-mail/mailutils/mailutils-3.8.ebuild deleted file mode 100644 index 6aed9177e6cd..000000000000 --- a/net-mail/mailutils/mailutils-3.8.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_7 ) - -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs - -DESCRIPTION="A useful collection of mail servers, clients, and filters" -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html" -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~ppc-macos ~x64-macos" -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \ - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \ - tokyocabinet" - -RDEPEND="!mail-client/nmh - !mail-filter/libsieve - !mail-client/mailx - !mail-client/nail - sys-libs/ncurses:= - sys-libs/readline:= - dev-libs/libltdl:0 - virtual/mta - berkdb? ( sys-libs/db:= ) - bidi? ( dev-libs/fribidi ) - emacs? ( >=app-editors/emacs-23.1:* ) - gdbm? ( sys-libs/gdbm ) - guile? ( dev-scheme/guile:12/2.2-1 ) - kerberos? ( virtual/krb5 ) - kyotocabinet? ( dev-db/kyotocabinet ) - ldap? ( net-nds/openldap ) - mysql? ( dev-db/mysql-connector-c ) - nls? ( sys-devel/gettext ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql:= ) - python? ( ${PYTHON_DEPS} ) - sasl? ( virtual/gsasl ) - servers? ( virtual/libiconv dev-libs/libunistring:= ) - ssl? ( net-libs/gnutls:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tokyocabinet? ( dev-db/tokyocabinet )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - servers? ( tcpd ldap )" - -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO ) -PATCHES=( - "${FILESDIR}"/${PN}-3.5-add-include.patch - "${FILESDIR}"/${PN}-3.6-underlinking.patch - "${FILESDIR}"/${PN}-3.8-fix-tests.patch - "${FILESDIR}"/${PN}-3.8-fno-common.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - if use mysql; then - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ - sql/Makefile.am || die - fi - eautoreconf -} - -src_configure() { - append-flags -fno-strict-aliasing - - # maildir is the Gentoo default - econf MU_DEFAULT_SCHEME=maildir \ - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ - $(use_with berkdb berkeley-db) \ - $(use_with bidi fribidi) \ - $(use_enable ipv6) \ - $(use_with gdbm) \ - $(use_with sasl gsasl) \ - $(use_with guile) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with mysql) \ - $(use_enable nls) \ - $(use_enable pam) \ - $(use_with postgres) \ - $(use_enable python) \ - $(use_with ssl gnutls) \ - $(use_enable static-libs static) \ - $(use_enable threads pthread) \ - $(use_with tokyocabinet) \ - $(use_with kyotocabinet) \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable servers build-servers) \ - $(use_with servers unistring ) \ - $(use_enable clients build-clients) \ - EMACS=$(usex emacs emacs no) \ - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ - --with-mail-spool=/var/spool/mail \ - --with-readline \ - --enable-sendmail \ - --disable-debug -} - -src_install() { - default - - insinto /etc - # bug 613112 - newins "${FILESDIR}/mailutils.rc" mailutils.conf - keepdir /etc/mailutils.d/ - insinto /etc/mailutils.d - doins "${FILESDIR}/mail" - - if use python; then - python_optimize - if use static-libs; then - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die - fi - fi - - if use servers; then - newinitd "${FILESDIR}"/imap4d.initd imap4d - newinitd "${FILESDIR}"/pop3d.initd pop3d - newinitd "${FILESDIR}"/comsatd.initd comsatd - fi - - # compatibility link - if use clients && use split-usr; then - dosym ../usr/bin/mail /bin/mail - fi - - if ! use static-libs; then - find "${D}" -name "*.la" -delete || die - fi -} diff --git a/net-mail/mailutils/mailutils-3.9.ebuild b/net-mail/mailutils/mailutils-3.9.ebuild deleted file mode 100644 index 812b2d9dc8d9..000000000000 --- a/net-mail/mailutils/mailutils-3.9.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) - -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs - -DESCRIPTION="A useful collection of mail servers, clients, and filters" -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html" -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86 ~ppc-macos ~x64-macos" -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \ - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \ - tokyocabinet" - -RDEPEND="!mail-client/nmh - !mail-filter/libsieve - !mail-client/mailx - !mail-client/nail - sys-libs/ncurses:= - sys-libs/readline:= - dev-libs/libltdl:0 - virtual/mta - berkdb? ( sys-libs/db:= ) - bidi? ( dev-libs/fribidi ) - emacs? ( >=app-editors/emacs-23.1:* ) - gdbm? ( sys-libs/gdbm:= ) - guile? ( dev-scheme/guile:12/2.2-1 ) - kerberos? ( virtual/krb5 ) - kyotocabinet? ( dev-db/kyotocabinet ) - ldap? ( net-nds/openldap ) - mysql? ( dev-db/mysql-connector-c ) - nls? ( sys-devel/gettext ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql:= ) - python? ( ${PYTHON_DEPS} ) - sasl? ( virtual/gsasl ) - servers? ( virtual/libiconv dev-libs/libunistring:= ) - ssl? ( net-libs/gnutls:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tokyocabinet? ( dev-db/tokyocabinet )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - servers? ( tcpd ldap )" - -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO ) -PATCHES=( - "${FILESDIR}"/${PN}-3.5-add-include.patch - "${FILESDIR}"/${PN}-3.9-underlinking.patch - "${FILESDIR}"/${PN}-3.8-fno-common.patch - "${FILESDIR}"/${PN}-3.9-python-config.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - if use mysql; then - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ - sql/Makefile.am || die - fi - eautoreconf -} - -src_configure() { - append-flags -fno-strict-aliasing - - # maildir is the Gentoo default - econf MU_DEFAULT_SCHEME=maildir \ - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ - $(use_with berkdb berkeley-db) \ - $(use_with bidi fribidi) \ - $(use_enable ipv6) \ - $(use_with gdbm) \ - $(use_with sasl gsasl) \ - $(use_with guile) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - $(use_with mysql) \ - $(use_enable nls) \ - $(use_enable pam) \ - $(use_with postgres) \ - $(use_enable python) \ - $(use_with ssl gnutls) \ - $(use_enable static-libs static) \ - $(use_enable threads pthread) \ - $(use_with tokyocabinet) \ - $(use_with kyotocabinet) \ - $(use_with tcpd tcp-wrappers) \ - $(use_enable servers build-servers) \ - $(use_with servers unistring ) \ - $(use_enable clients build-clients) \ - EMACS=$(usex emacs emacs no) \ - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ - --with-mail-spool=/var/spool/mail \ - --with-readline \ - --enable-sendmail \ - --disable-debug -} - -src_install() { - default - - insinto /etc - # bug 613112 - newins "${FILESDIR}/mailutils.rc" mailutils.conf - keepdir /etc/mailutils.d/ - insinto /etc/mailutils.d - doins "${FILESDIR}/mail" - - if use python; then - python_optimize - if use static-libs; then - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die - fi - fi - - if use servers; then - newinitd "${FILESDIR}"/imap4d.initd imap4d - newinitd "${FILESDIR}"/pop3d.initd pop3d - newinitd "${FILESDIR}"/comsatd.initd comsatd - fi - - # compatibility link - if use clients && use split-usr; then - dosym ../usr/bin/mail /bin/mail - fi - - if ! use static-libs; then - find "${D}" -name "*.la" -delete || die - fi -} |