diff options
Diffstat (limited to 'net-mail/mailutils')
-rw-r--r-- | net-mail/mailutils/Manifest | 3 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-3.17-r100.ebuild | 161 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-3.17.ebuild | 2 |
3 files changed, 164 insertions, 2 deletions
diff --git a/net-mail/mailutils/Manifest b/net-mail/mailutils/Manifest index 42d8010b56e1..8b1d19e45f2d 100644 --- a/net-mail/mailutils/Manifest +++ b/net-mail/mailutils/Manifest @@ -5,5 +5,6 @@ AUX mailutils-3.5-add-include.patch 275 BLAKE2B 2502fb3226bc63ae98d018392fa1107b AUX mailutils.rc 258 BLAKE2B 3dc68190e11c8bf5016b0fe8b22c61f79ba7de96a1f230f7d0743ba23fa903cb9f99fac94a7363c7d80b7bbaf76e2d4de848e7ac726642fb23c56caf43a46568 SHA512 691bcc81fd355d8f2776e72006c149996273579e099f24970ff0c5dd6bdf65cd64e31597f8b3d8e0a900a91c3325b8d2a1a96682a9b3ff53acd41218fe8721fe AUX pop3d.initd 563 BLAKE2B fd09d7a7499c888eddfb812644102f979c2423e9b1a9f0077655b6ae4c1eb4214f685ef7843e74a808e52ee988cc3fbefa278754db824256a4972c83fc0ada31 SHA512 7847c29a03f21df82d36c077ccb38329457a332cccdfba24bee3b1c9a8170fc71c07ee674408f069693953dd1bf44b8b8f782dcc35d6b16e62f70b2b32ce018f DIST mailutils-3.17.tar.xz 3219484 BLAKE2B b2b00d4eb8b74b3f2f7341638639fef79e636364deaa0a24c9595022db44faac433c1fa26b231e29384ebdfc9c1602040cf363e637fc66ec3a738b5bd04a884a SHA512 e4080d9674444c3e077aa72f825a0373a4750d187a04a488449e89f6fec19d9309a118412e91745575eb90d05fa541f8d2626a8fd5e8ac10710aa1f7a0ff3193 -EBUILD mailutils-3.17.ebuild 3642 BLAKE2B f739aea4d4434bf0833d13e438085a94f82461a93a9549ebd4a830ad400d536ec3c5e8ca55b35a6e7d59cc8040c8b1e0077224c559fd64c734832bce559cdb41 SHA512 cab63acd4b5f7ffefae957c23b15c1205674fbce216c9db0f4d628215c9fa675c4fe89643b62b97052ffb8b96d56d77d2c0af3a55319a8062af029ddc7c39b77 +EBUILD mailutils-3.17-r100.ebuild 4001 BLAKE2B 64b1549bf6137b076aa08d17a36890882464f8d68728d64490131745b4f56c94add25bb95ff1762f407cbcabc1e36c32332a82da702385039c7079199f2b5f6b SHA512 bac6991380b699103cdb39d1dcce9fc29f5129bad080638ec8e1de5dbd749b27f1ce39cbf30441df8a2ebd1eb1f1cd75a99e56684a74d5c43e082128bf0a050f +EBUILD mailutils-3.17.ebuild 3636 BLAKE2B a3a1729efd919eb5722136a9142c6d974f9dfdf1b23695ea9fe106de84e45ced61e262e57e8789cd625ecc7d001ab79014518036cb7749741d8a46ac1b380b8a SHA512 c8b79abddc317ba448b670630bb2beb96c7814c67681614b1d0a7f73258aac1ab07aa355e575698bc95006f6dfdf0e580bbc9ed6e411188c08ad6af0ec3d4791 MISC metadata.xml 696 BLAKE2B bb3b5a94573794ee2eb692533f32cba1dcf432166d9b2997cf60104d88e80f5eac7bb836479e4392700b06efe07c071930308183fb235c42be2cf1fdb8810ac0 SHA512 bb093e2aff71bb09a8f20fc64926f8a8d8c036ad3b3cd3ca61389975d623251841e8d93489f457a56a898db81cf71ecdc071190b9bc1990728b3fa0c9b4cfda1 diff --git a/net-mail/mailutils/mailutils-3.17-r100.ebuild b/net-mail/mailutils/mailutils-3.17-r100.ebuild new file mode 100644 index 000000000000..bc60b6d6cfa7 --- /dev/null +++ b/net-mail/mailutils/mailutils-3.17-r100.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) + +inherit autotools elisp-common flag-o-matic guile-single python-single-r1 toolchain-funcs + +DESCRIPTION="A useful collection of mail servers, clients, and filters" +HOMEPAGE="https://mailutils.org/" +SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos" +IUSE="berkdb bidi +clients emacs gdbm sasl guile kerberos kyotocabinet \ + ldap mysql nls pam postgres python servers split-usr ssl static-libs test +threads tcpd \ + tokyocabinet" +RESTRICT="!test? ( test )" + +RDEPEND=" + !mail-filter/libsieve + !mail-client/mailx + sys-libs/ncurses:= + sys-libs/readline:= + dev-libs/libltdl:0 + virtual/libcrypt:= + virtual/mta + berkdb? ( sys-libs/db:= ) + bidi? ( dev-libs/fribidi ) + emacs? ( >=app-editors/emacs-23.1:* ) + gdbm? ( sys-libs/gdbm:= ) + guile? ( ${GUILE_DEPS} ) + 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? ( >=net-misc/gsasl-2.0.0 ) + servers? ( virtual/libiconv dev-libs/libunistring:= ) + ssl? ( net-libs/gnutls:= ) + tcpd? ( sys-apps/tcp-wrappers ) + tokyocabinet? ( dev-db/tokyocabinet ) + " + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + test? ( dev-util/dejagnu ) +" + +REQUIRED_USE=" + guile? ( ${GUILE_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 guile && guile-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + if use guile; then + guile_bump_sources + sed -i -e "s|guile|${GUILE}|" libmu_scm/tests/testsuite || die + fi + 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 + + if use guile; then + export GUILE_SNARF="${GUILESNARF}" + export GUILE_TOOLS="${GUILE/guile/guile-tools}" + fi + + # 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_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-ipv6 \ + --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" + + use guile && guile_unstrip_ccache + + 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.17.ebuild b/net-mail/mailutils/mailutils-3.17.ebuild index 637565088b2c..46729033dd81 100644 --- a/net-mail/mailutils/mailutils-3.17.ebuild +++ b/net-mail/mailutils/mailutils-3.17.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" LICENSE="GPL-3+ LGPL-3+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" IUSE="berkdb bidi +clients emacs gdbm sasl guile kerberos kyotocabinet \ ldap mysql nls pam postgres python servers split-usr ssl static-libs test +threads tcpd \ tokyocabinet" |