diff options
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/Manifest.gz | bin | 3371 -> 3372 bytes | |||
-rw-r--r-- | mail-client/aerc/Manifest | 4 | ||||
-rw-r--r-- | mail-client/aerc/aerc-0.20.1.ebuild | 16 | ||||
-rw-r--r-- | mail-client/aerc/aerc-9999.ebuild | 18 | ||||
-rw-r--r-- | mail-client/mutt/Manifest | 9 | ||||
-rw-r--r-- | mail-client/mutt/mutt-2.2.12-r1.ebuild | 4 | ||||
-rw-r--r-- | mail-client/mutt/mutt-2.2.12.ebuild | 6 | ||||
-rw-r--r-- | mail-client/mutt/mutt-2.2.13.ebuild | 4 | ||||
-rw-r--r-- | mail-client/mutt/mutt-2.2.14.ebuild | 273 | ||||
-rw-r--r-- | mail-client/s-nail/Manifest | 2 | ||||
-rw-r--r-- | mail-client/s-nail/s-nail-14.9.25.ebuild | 106 |
11 files changed, 409 insertions, 33 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz Binary files differindex d97ecee2856b..31dc6d6fb8f1 100644 --- a/mail-client/Manifest.gz +++ b/mail-client/Manifest.gz diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest index 6698c073a446..a6e0df9092e8 100644 --- a/mail-client/aerc/Manifest +++ b/mail-client/aerc/Manifest @@ -3,6 +3,6 @@ DIST aerc-0.18.2.tar.gz 447348 BLAKE2B e5979dfe6a0d5c9335eae758c085dc0fd9d45298a DIST aerc-0.20.1-deps.tar.xz 19015028 BLAKE2B 7202471091eed2ac76b8c20b55397dbb7c7ffcd321c45448de5c1ae43fdbd2a633e23a8cd30aabe1256d33ba0200f729eb1c5f074177547e0148382eed5cae12 SHA512 05ad9b250e2f58a6790adbbb7a7eb3a823c302ddcec4227c7bad74f62f9a75d76d7f224108b4d8c24f44018f62c0eb66e2090ffaa0fa61948cb1301b25bb22ab DIST aerc-0.20.1.tar.gz 474975 BLAKE2B bfe91f5b6f3ba2c0599193cf38a1a9c97466442b9d97ff5868f6ad7f16aaab4247e167e1b02f86b0a44121ebb21b98a55da999a43b5556fd56384977a62f0996 SHA512 7221217b7f0e6f92b589864b2e214b3edad3a2f702ab1d6b83f11eba6bb443bf334e76dbb61a67a13a9673e5e5106428ea3ba0ade940dc7f2cf488076783f4a5 EBUILD aerc-0.18.2.ebuild 1738 BLAKE2B 63d2556f96c10280139a155d3713cd7b01705baa3f57a96d1d23d5307fb8f0f1c97ab5075120d733e5ba871d9f7fe23d19240f5013086f0d406cb66555ae94c9 SHA512 931ca606a8e17bddc5a0c5664a85f5ad3c83cfa219b7e78ca413a7203f78be7025506889a9db26f926899514c7e7b09d48b4b174d2775debcb10cec130fdde2a -EBUILD aerc-0.20.1.ebuild 1715 BLAKE2B 8c9166660448afbfdadcd4185c467b1cd571d302d6da24cb468d575229c2d7ee7e54c80ae59d9ea606a131685a01febf070d050e59a0663fc6b25af98a4d14f0 SHA512 148ae8b922d8c8c55e30d2a997c925b45153ef3d8e21dffd001e58f1115c980acc7ab7c87220c1860f340f0e675f9b668b6c2601148029a6d60a62fc59bc50d3 -EBUILD aerc-9999.ebuild 1738 BLAKE2B 63d2556f96c10280139a155d3713cd7b01705baa3f57a96d1d23d5307fb8f0f1c97ab5075120d733e5ba871d9f7fe23d19240f5013086f0d406cb66555ae94c9 SHA512 931ca606a8e17bddc5a0c5664a85f5ad3c83cfa219b7e78ca413a7203f78be7025506889a9db26f926899514c7e7b09d48b4b174d2775debcb10cec130fdde2a +EBUILD aerc-0.20.1.ebuild 1668 BLAKE2B 232654854abe2e3602550a0887431b742e9cd9308684982e4ef92353b003137fa8d9618e410c3e6e304cb767fc6b7ebbb3683de739a7cbdc19a0551dcfad8570 SHA512 be41e1a9867e0ed4fba3d5a133adfda4988e02e4c24726d4ad2ad8928bed9bf63c84fdc9aa7cf7fe4e4a63e258962c083cf3c4475c5f36a23dfba313b72205d5 +EBUILD aerc-9999.ebuild 1691 BLAKE2B df1464a308e648dce3e53aa7ff0af17971135905a6c0ba0f432e5e4de12ba43b759bb9613547f98461e1807834a0e24e04869bae7635fc0ff87d3cf96fe7db95 SHA512 7aa8fc366c58d6887b015bfa0aee78934b379d4699e2111aa3c08b1c3b2e89ddcf2b4cb4bd46559fd2055bae427c3fbc9dcdff6d5a3e8b633fbff97281949e3f MISC metadata.xml 668 BLAKE2B e3ca26a3f36e9a2248b9777c824ae699d6560a427f95aedf2a062e212b1cc8c0fb8dd6adae8623853bcf450b391d34890dbbb50a4d2a68897f7edf1c415e20b6 SHA512 9fb14a603f11d2c986a8b2be55fe4cf0c16c32e8310b96b7e1f66a03b0de4551a67c31e73a16ee06a10a0a490783da4abaa2f9064db473d990adfa71b747bf79 diff --git a/mail-client/aerc/aerc-0.20.1.ebuild b/mail-client/aerc/aerc-0.20.1.ebuild index f831710a5855..224d769ece09 100644 --- a/mail-client/aerc/aerc-0.20.1.ebuild +++ b/mail-client/aerc/aerc-0.20.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module xdg +inherit eapi9-ver go-module xdg DESCRIPTION="Email client for your terminal" HOMEPAGE="https://aerc-mail.org" @@ -57,16 +57,12 @@ pkg_postinst() { elog "If you want to allow your users to activate html email" elog "processing via w3m as shown in the tutorial, make sure you" elog "emerge net-proxy/dante and www-client/w3m" + elif ver_replacing -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." fi - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test $v -lt 0.3.0-r1; then - elog "The dependencies on net-proxy/dante and www-client/w3m" - elog "have been removed since they are optional." - elog "Please emerge them before the next --depclean if you" - elog "need to use them." - fi - done xdg_pkg_postinst } diff --git a/mail-client/aerc/aerc-9999.ebuild b/mail-client/aerc/aerc-9999.ebuild index b90908cbf150..2e5108e6e0f1 100644 --- a/mail-client/aerc/aerc-9999.ebuild +++ b/mail-client/aerc/aerc-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2024 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit go-module xdg +inherit eapi9-ver go-module xdg DESCRIPTION="Email client for your terminal" HOMEPAGE="https://aerc-mail.org" @@ -60,16 +60,12 @@ pkg_postinst() { elog "If you want to allow your users to activate html email" elog "processing via w3m as shown in the tutorial, make sure you" elog "emerge net-proxy/dante and www-client/w3m" + elif ver_replacing -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." fi - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test $v -lt 0.3.0-r1; then - elog "The dependencies on net-proxy/dante and www-client/w3m" - elog "have been removed since they are optional." - elog "Please emerge them before the next --depclean if you" - elog "need to use them." - fi - done xdg_pkg_postinst } diff --git a/mail-client/mutt/Manifest b/mail-client/mutt/Manifest index 116e2840bda2..a69c7e1dc03e 100644 --- a/mail-client/mutt/Manifest +++ b/mail-client/mutt/Manifest @@ -3,9 +3,12 @@ AUX Muttrc.mbox 486 BLAKE2B dd7f15b08f185800b2a7d26545e5a1b0f7b21f8f7cff2b4fce39 AUX mutt-2.2.12-configure-c99.patch 962 BLAKE2B 7a3312f7edf131d1b9b0ad868d330d91542fcc112a615b120ac6423d78c527a2b6797db4ecca018ab89df34fcdbebd85bd5339a997fed69abf181ecc025c41cb SHA512 48c703bcf0e5fa59588156fa6407026f7fd2aa619297133286993041b46688fb5473e16c1fcc3d82b65a6cf039ed12b0e1b3c952ce6265c0efc89f51a96bbd2f DIST mutt-2.2.12.tar.gz 5539244 BLAKE2B f17811a37804221fbb351083a25fa8b67511b7a11220e82ab6ce971fc9a0627ec9bcd8df6095e525dacda347aac51b9671cc8e6f8a3fdd8920b44fbcbc61189e SHA512 75e9926af9abc869929d7729cda67adc3710d15560b6a1853b1d95ca926a9e72d975bafa09ebd9a4919905498602a8b55cf72a576fad170c68902862e9474006 DIST mutt-2.2.13.tar.gz 5539130 BLAKE2B 993b5dc43f09a313acb7e02b1d182e2856f4f9a9d61c7137a9e4ea3c399302adf69993d6f7d3af3dc1f89e17473071689eb3692949daadaacb0338302090abea SHA512 dcd84235b6f759c31b56cf021efc17c0bb1fd4d59226d12af9838f3cbbcf0301262ae5f67803565cce3afd6ff5eed3a380a81958f57fb7d8f38e2ecfd0ff7d2c +DIST mutt-2.2.14.tar.gz 5549971 BLAKE2B b3e5be5115e7e64e490f76945d929ae464b5553e98b3bb3cd5ae0ac33885c8aacfffbd0bd993e06eec27de3ec7bd8fa3896e8cc29d14a00d9338c87095bbb24e SHA512 5c2aacc6a6be8e2be3ee5085c364383f7ed1b7fef730607c70d5e588f65a0fea8748b12b9cdadee7dabdaa5d3c5f94ebddc092737f0ce3b5022c8e5bc7e3c42f DIST mutt-gentoo-2.2.12-patches-r0.tar.xz 22444 BLAKE2B 9c973cb0fe4705dda9e601d18b05d1385df6914af5928bfdba2ad196113a973dccac0f46373c3709654d1fc077aedd6e776c4c57803c095622a70807dafe2cc2 SHA512 3857d10055e98360d31d9ed2010e0d75db6fd0c0887e770f6b098869b25f72f5dc594a646b6fdf86cf6b24694e13965f82b8d8a4cb8b65a5e030f628a16b930d DIST mutt-gentoo-2.2.13-patches-r0.tar.xz 22388 BLAKE2B e9833e8b8630b1d6a4e90a78b4077b7a4ee37e9b6a492bb3b55e2763e8d6d8d810b6f77f294f1acad721f8fa235b656066a11b2b75f73dcc5294966b8fa18860 SHA512 3093504700ea7caee25f814daab4b869151853ef5fe062abca3a3915a28f688dd38007d07f3da579da1cb25ddcd6017ebba0db35422952ee2adc94b07ba96005 -EBUILD mutt-2.2.12-r1.ebuild 8257 BLAKE2B 5aa03bdfd92687f41e1d5932351ab480ebb848b80cd8376e657eea55c9581fa4c2bbf32c44a26b0f9c4d333fba291f55c07b7f3dd80fca39b2d5d5fb511036a6 SHA512 418f6736f98705b87a976701d28ce19daa2be5c13074ddf58f0fb08327b96af7121b375798a076eaaf390a1a2961322796a54c02ed08eb8c8c4613e5c7e6fb4c -EBUILD mutt-2.2.12.ebuild 8200 BLAKE2B 318e118b2670222d61e11c94ea3c67cc3fcedc95751cfdaa9a0cf566d3aaccf8ecb61b2b8d939f4cd2739087b5e1c126f41a588e4548dd912ec54e41083ebfc6 SHA512 5cc628a4e247b165e1d180844bf949b76611d76f870737c9f96174c78aea1e22f06207435a702ceed96c3d154487e14872929f8a25731b9c46714152797e07db -EBUILD mutt-2.2.13.ebuild 8207 BLAKE2B 0d249b87da4e7b05454260996c3a955b611c7e4c65bb6a301cb3b023af0eafda20e4878f9f728cfb9f7a698e2446fbfca073e1f90dd0457f4adff869dce1f779 SHA512 571aa6e50e0c469f377a5c34cbf59f9b78588c2711affbf7f558d0560d629b9ed8d891c9969989945f17f2bc0f0897dddb7655cc1736bd9ef1dab3ddab451a1c +DIST mutt-gentoo-2.2.14-patches-r0.tar.xz 22412 BLAKE2B 34531823a6964888cb79771d0242a36597711738eb3178ed423af7de26c9d1cec0bc3038636a2eaa0b9ef6e14803fc9e2f7b0a5ed7ed4ffca013df3d4160d220 SHA512 ae803d8964d084aaf3de51b339487a8b07b13b0b08660b794487ddb2beec11b909144383b2f06c7572bcd343317103cecbf6a793cbefc5d84187cdd07cc3367b +EBUILD mutt-2.2.12-r1.ebuild 8258 BLAKE2B 695d1ac66e3fd1f36742a3aa75401d0b13804a836e700aebe4290fe4f7c348c54751a8eeedc201646f526298e4b89f47ada18b446cea8d564e417ebdbb14ee5a SHA512 6a6f10080a7a22194ec57254fc7e65fd7589c606290bbbb40f63f7755c09e1e4357422bc24c387ad7e5d73f322bff03a96c075c1219d7efa78f8241c1259c7c1 +EBUILD mutt-2.2.12.ebuild 8105 BLAKE2B 41da2a3b589186508bdbd13371ccd328e9170aa0016579dadbc92c99c62c1f525792e3f41244b20a7ce2836b97bfd1118c4b155b18be4cd63743b307cccf3ac6 SHA512 94f1b3b74aecc161067fb7f0092d20fd0ee482ce9a0ca0e76b8f27b9d4b48f9391256dfb74a00cf54d0281bf07bde7f2f369a89183bb072ca72cf1e957f2e0ad +EBUILD mutt-2.2.13.ebuild 8208 BLAKE2B 143f1d370184ab652b0a52b3a64ff23c3a4e4b2202efbe5815eb6fc571d3190595d0455d7bafd19c4c29de09c8dedd4d1264c077133b35c5cfe4524ed2ad37f2 SHA512 cb17660caa13ffcee51b08b921c67859b28540a05c966e6dd99cf4a00fae39ac1aac720979ea63b6ac31e1550f336dc36cd4aa2fbb87968836b4cade77c75327 +EBUILD mutt-2.2.14.ebuild 8208 BLAKE2B 143f1d370184ab652b0a52b3a64ff23c3a4e4b2202efbe5815eb6fc571d3190595d0455d7bafd19c4c29de09c8dedd4d1264c077133b35c5cfe4524ed2ad37f2 SHA512 cb17660caa13ffcee51b08b921c67859b28540a05c966e6dd99cf4a00fae39ac1aac720979ea63b6ac31e1550f336dc36cd4aa2fbb87968836b4cade77c75327 MISC metadata.xml 1413 BLAKE2B b48f350744607d739c38cc54e42abce66e485f1f65fafaa5f4a668f07da70fff0f917f1d67cab621c9e267052fdb958476292fe5222738e7bca59502f560078c SHA512 c9b4c3a9ac62c04be1ef8dc894754334f35fb79d6365360212805e9f9f2c2dca18e1d03c76bb887e81b4fbb2199fdf8fe4341ebc2059f5961184562ee549df65 diff --git a/mail-client/mutt/mutt-2.2.12-r1.ebuild b/mail-client/mutt/mutt-2.2.12-r1.ebuild index 3b1ebc5c7469..93a84f0d0324 100644 --- a/mail-client/mutt/mutt-2.2.12-r1.ebuild +++ b/mail-client/mutt/mutt-2.2.12-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -11,7 +11,7 @@ PATCHSET="gentoo-${PVR}/${PATCHREV}" DESCRIPTION="A small but very powerful text-based mail client" HOMEPAGE="http://www.mutt.org/" MUTT_G_PATCHES="mutt-gentoo-${PV}-patches-${PATCHREV}.tar.xz" -SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz +SRC_URI="http://ftp.mutt.org/pub/mutt/${P}.tar.gz https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}" IUSE="autocrypt berkdb debug doc gdbm gnutls gpgme gsasl +hcache idn +imap kerberos +lmdb mbox nls pgp-classic pop qdbm +sasl selinux slang smime-classic +smtp +ssl tokyocabinet vanilla prefix" diff --git a/mail-client/mutt/mutt-2.2.12.ebuild b/mail-client/mutt/mutt-2.2.12.ebuild index d9a90d3e4ba4..dc00685874a3 100644 --- a/mail-client/mutt/mutt-2.2.12.ebuild +++ b/mail-client/mutt/mutt-2.2.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -11,7 +11,7 @@ PATCHSET="gentoo-${PVR}/${PATCHREV}" DESCRIPTION="A small but very powerful text-based mail client" HOMEPAGE="http://www.mutt.org/" MUTT_G_PATCHES="mutt-gentoo-${PV}-patches-${PATCHREV}.tar.xz" -SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz +SRC_URI="http://ftp.mutt.org/pub/mutt/${P}.tar.gz https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}" IUSE="autocrypt berkdb debug doc gdbm gnutls gpgme gsasl +hcache idn +imap kerberos +lmdb mbox nls pgp-classic pop qdbm +sasl selinux slang smime-classic +smtp +ssl tokyocabinet vanilla prefix" @@ -28,7 +28,7 @@ REQUIRED_USE=" autocrypt? ( gpgme )" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="ppc" # https://bugs.gentoo.org/945633 # yes, we overdepend on the backend impls here, hopefully one day we can # have REQUIRED_USE do what it is made for again. bug #607360 CDEPEND=" diff --git a/mail-client/mutt/mutt-2.2.13.ebuild b/mail-client/mutt/mutt-2.2.13.ebuild index 0b18b65a3c7a..57d2b218f39c 100644 --- a/mail-client/mutt/mutt-2.2.13.ebuild +++ b/mail-client/mutt/mutt-2.2.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -11,7 +11,7 @@ PATCHSET="gentoo-${PVR}/${PATCHREV}" DESCRIPTION="A small but very powerful text-based mail client" HOMEPAGE="http://www.mutt.org/" MUTT_G_PATCHES="mutt-gentoo-${PV}-patches-${PATCHREV}.tar.xz" -SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz +SRC_URI="http://ftp.mutt.org/pub/mutt/${P}.tar.gz https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}" IUSE="autocrypt berkdb debug doc gdbm gnutls gpgme gsasl +hcache idn +imap kerberos +lmdb mbox nls pgp-classic pop qdbm +sasl selinux slang smime-classic +smtp +ssl tokyocabinet vanilla prefix" diff --git a/mail-client/mutt/mutt-2.2.14.ebuild b/mail-client/mutt/mutt-2.2.14.ebuild new file mode 100644 index 000000000000..57d2b218f39c --- /dev/null +++ b/mail-client/mutt/mutt-2.2.14.ebuild @@ -0,0 +1,273 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools + +PATCHREV="r0" +PATCHSET="gentoo-${PVR}/${PATCHREV}" + +DESCRIPTION="A small but very powerful text-based mail client" +HOMEPAGE="http://www.mutt.org/" +MUTT_G_PATCHES="mutt-gentoo-${PV}-patches-${PATCHREV}.tar.xz" +SRC_URI="http://ftp.mutt.org/pub/mutt/${P}.tar.gz + https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/${MUTT_G_PATCHES}" +IUSE="autocrypt berkdb debug doc gdbm gnutls gpgme gsasl +hcache idn +imap kerberos +lmdb mbox nls pgp-classic pop qdbm +sasl selinux slang smime-classic +smtp +ssl tokyocabinet vanilla prefix" +# hcache: allow multiple, bug #607360 +REQUIRED_USE=" + gsasl? ( sasl ) + hcache? ( || ( berkdb gdbm lmdb qdbm tokyocabinet ) ) + imap? ( ssl ) + pop? ( ssl ) + smime-classic? ( ssl !gnutls ) + smtp? ( ssl sasl ) + sasl? ( || ( imap pop smtp ) ) + kerberos? ( || ( imap pop smtp ) ) + autocrypt? ( gpgme )" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +# yes, we overdepend on the backend impls here, hopefully one day we can +# have REQUIRED_USE do what it is made for again. bug #607360 +CDEPEND=" + app-misc/mime-types + virtual/libiconv + + berkdb? ( >=sys-libs/db-4:= ) + gdbm? ( sys-libs/gdbm ) + lmdb? ( dev-db/lmdb:= ) + qdbm? ( dev-db/qdbm ) + tokyocabinet? ( dev-db/tokyocabinet ) + + ssl? ( + gnutls? ( >=net-libs/gnutls-1.0.17:= ) + !gnutls? ( >=dev-libs/openssl-0.9.6:0= ) + ) + + nls? ( virtual/libintl ) + sasl? ( + gsasl? ( >=net-misc/gsasl-2.0.0 ) + !gsasl? ( >=dev-libs/cyrus-sasl-2 ) + ) + kerberos? ( virtual/krb5 ) + idn? ( net-dns/libidn2 ) + gpgme? ( >=app-crypt/gpgme-0.9.0:= ) + autocrypt? ( >=dev-db/sqlite-3 ) + slang? ( sys-libs/slang ) + !slang? ( >=sys-libs/ncurses-5.2:0= ) +" +DEPEND="${CDEPEND} + net-mail/mailbase + doc? ( + dev-libs/libxml2 + dev-libs/libxslt + app-text/docbook-xsl-stylesheets + || ( www-client/lynx www-client/w3m www-client/elinks ) + )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-mutt ) + smime-classic? ( >=dev-libs/openssl-0.9.6:0 ) + pgp-classic? ( app-crypt/gnupg ) +" + +src_prepare() { + local PATCHDIR="${WORKDIR}"/mutt-gentoo-${PV}-patches-${PATCHREV} + + if use !vanilla ; then + # apply patches + # http://hg.code.sf.net/p/gentoomuttpatches/code/file/mutt-1.10 + local patches=( + patches-mutt + bugs-gentoo + features-common + features-extra + gentoo + ) + local patchset p + for patchset in "${patches[@]}" ; do + [[ -d "${PATCHDIR}/${patchset}" ]] || continue + einfo "Patches for ${PATCHSET} patchset ${patchset}" + for p in "${PATCHDIR}/${patchset}"/*.patch ; do + eapply "${p}" || die + done + done + # add some explanation as to why not to go upstream + sed -i \ + -e '/ReachingUs = N_(/aThis release of Mutt is heavily enriched with patches.\\nFor this reason, any bugs are better reported at https://bugs.gentoo.org/\\nor re-emerge with USE=vanilla and try to reproduce your problem.\\n\\' \ + main.c || die "Failed to add bug instructions" + fi + + # allow user patches + eapply_user + + # patch version string for bug reports + local patchset= + use vanilla || patchset=", ${PATCHSET}" + sed -i -e 's|"Mutt %s (%s)"|"Mutt %s (%s'"${patchset}"')"|' \ + muttlib.c || die "failed patching in Gentoo version" + + # bug 864753: avoid warning about missing tools, currently the order + # is lynx, w3m, elinks, so remove lynx or w3m when not installed, + # elinks should be there via dep. + if use doc ; then + if ! has_version www-client/lynx ; then + sed -i -e '/lynx/d' doc/Makefile.am || die + fi + if ! has_version www-client/w3m ; then + sed -i -e '/w3m/d' doc/Makefile.am || die + fi + fi + + # many patches touch the buildsystem, we always need this + AT_M4DIR="m4" eautoreconf + + # the configure script contains some "cleverness" whether or not to setgid + # the dotlock program, resulting in bugs like #278332 + sed -i -e 's/@DOTLOCK_GROUP@//' Makefile.in || die "sed failed" +} + +src_configure() { + local myconf=( + # signing and encryption + $(use_enable autocrypt) $(use_with autocrypt sqlite3) + $(use_enable pgp-classic pgp) + $(use_enable smime-classic smime) + $(use_enable gpgme) + + # features + $(use_enable debug) + $(use_enable doc) + $(use_enable nls) + + # protocols + $(use_enable imap) + $(use_enable pop) + $(use_enable smtp) + + $(use ssl && use gnutls && echo --with-gnutls --without-ssl) + $(use ssl && use !gnutls && echo --without-gnutls --with-ssl ) + $(use !ssl && echo --without-gnutls --without-ssl) + + $(use sasl && use gsasl && echo --with-gsasl --without-sasl) + $(use sasl && use !gsasl && echo --without-gsasl --with-sasl ) + $(use !sasl && echo --without-gsasl --without-sasl) + + $(use_with idn idn2) --without-idn # avoid automagic libidn dep + $(use_with kerberos gss) + "$(use slang && echo --with-slang="${EPREFIX}"/usr || echo a=b)" + "$(use_with !slang curses "${EPREFIX}"/usr)" + + "--enable-compressed" + "--enable-external-dotlock" + "--enable-iconv" + "--enable-nfs-fix" + "--enable-sidebar" + "--sysconfdir=${EPREFIX}/etc/${PN}" + "--with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR}" + "--without-bundled-regex" # use the implementation from libc + "--with-exec-shell=${EPREFIX}/bin/sh" + ) + + # note: REQUIRED_USE should have selected only one of these, but for + # bug #607360 we're forced to allow multiple. For that reason, this + # list is ordered to preference, and only the first is taken. + local hcaches=( + "lmdb" + "qdbm" + "tokyocabinet" + "gdbm" + "berkdb:bdb" + ) + local ucache hcache lcache + for hcache in "${hcaches[@]}" ; do + if use ${hcache%%:*} ; then + ucache=${hcache} + break + fi + done + if [[ -n ${ucache} ]] ; then + myconf+=( "--enable-hcache" ) + else + myconf+=( "--disable-hcache" ) + fi + for hcache in "${hcaches[@]}" ; do + [[ ${hcache} == ${ucache} ]] \ + && myconf+=( "--with-${hcache#*:}" ) \ + || myconf+=( "--without-${hcache#*:}" ) + done + + if use mbox; then + myconf+=( "--with-mailpath=${EPREFIX}/var/spool/mail" ) + else + myconf+=( "--with-homespool=Maildir" ) + fi + + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + insinto /etc/${PN} + if use mbox; then + newins "${FILESDIR}"/Muttrc.mbox Muttrc + else + doins "${FILESDIR}"/Muttrc + fi + + # include attachment settings, it's mandatory and shouldn't harm + # when not being referenced (index_format using %X) + { + echo + echo "# mandatory attachments settings, not setting these is a BUG!" + echo "# see https://marc.info/?l=mutt-dev&m=158347284923517&w=2" + grep '^attachments' "${ED}"/etc/${PN}/Muttrc.dist + } >> "${ED}"/etc/${PN}/Muttrc + + # add setting to actually enable gpgme usage + if use gpgme || use autocrypt ; then + { + echo + echo "# this setting enables the gpgme backend (via USE=gpgme)" + # https is broken due to a certificate mismatch :( + echo "# see http://www.mutt.org/doc/manual/#crypt-use-gpgme" + echo "set crypt_use_gpgme = yes" + } >> "${ED}"/etc/${PN}/Muttrc + fi + + # similar for autocrypt + if use autocrypt ; then + { + echo + echo "# enables autocrypt (via USE=autocrypt)" + echo "# see http://www.mutt.org/doc/manual/#autocryptdoc" + echo "set autocrypt = yes" + } >> "${ED}"/etc/${PN}/Muttrc + fi + + # A newer file is provided by app-misc/mime-types. So we link it. + rm "${ED}"/etc/${PN}/mime.types + dosym ../mime.types /etc/${PN}/mime.types + + # nuke manpages that should be provided by an MTA, bug #177605 + rm "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 \ + || ewarn "failed to remove files, please file a bug" + + if use !prefix ; then + fowners root:mail /usr/bin/mutt_dotlock + fperms g+s /usr/bin/mutt_dotlock + fi + + dodoc COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + echo + elog "If you are new to mutt you may want to take a look at" + elog "the Gentoo QuickStart Guide to Mutt E-Mail:" + elog " https://wiki.gentoo.org/wiki/Mutt" + echo + fi +} diff --git a/mail-client/s-nail/Manifest b/mail-client/s-nail/Manifest index 045d87768253..2100520821e1 100644 --- a/mail-client/s-nail/Manifest +++ b/mail-client/s-nail/Manifest @@ -1,3 +1,5 @@ DIST s-nail-14.9.24.tar.xz 803100 BLAKE2B 4d82c747ff082a1a13d8832eb2bf1e96f05d6b3cf61c77a67bc061b1971032b41d8f5fe5520b96b9b74bc4d0661a4a9ef0f8f93b5e7b9eef66906b78260cef2f SHA512 03f6a6f446391b6f91ed3c8875c3e7fdfac9d4e77ea1d52a7e98aa84cfd0edae137d5b9afba3bdc9a31ab67cee5237930b74b42ae3acb54aee4758553a4f1df2 +DIST s-nail-14.9.25.tar.xz 804608 BLAKE2B a1839395318296f0869dd37927bed62d26efa1c0a1ec27fc34e9b951940f56f8ad5802b52f9af2d564c6b99c1e5add3f13e5ed6bd0f13a5cd8cddd29acae4894 SHA512 a0fdcc6af0bbf0611f3e6e20ad81e2a44a0e610d896a3227d2ebf83e78e28faa9414edb79978c88ad396fe804717a5df55728c5a54b0432dca95769ad667950e EBUILD s-nail-14.9.24.ebuild 2345 BLAKE2B bd8221c67704e5f6281d91ebf82e56630041a5368703d9ca795b4f4df80b2f75e8719eeb4a1a9a5e6719dd804d6de360091f53e7c60cb53d3b9db2fb1cd21e26 SHA512 3d36ba14b9b20735a63b349d7735c61e51df6edff8cfdba664f46fe205bba7b4bebc4c331a83b7c85b5ceff33c60f0d1990c15ebdeedd69fcdbcb12e50d75e89 +EBUILD s-nail-14.9.25.ebuild 2327 BLAKE2B 0458de3cc45f06eddc03f52b8301d964042a6d69adf4cf393a4fc2be2830800e95137d3fe2dab54893eff35c3c948bfaa30faa6c4e0904497119e261f179bac8 SHA512 a0bbf14cffa2df9e7606a3542edb544fcf96aac605c8a46f6c7a279b3ef3c64513b25ab528836ad6c03c6599f48e4dce867eba9ea2b5aa286a0c84d71e2b1d81 MISC metadata.xml 744 BLAKE2B f1f4fcd02e30d558cc660e011c81ccb7acebd7c90ea6f7f00d1711d3d21f8c9a23572a31f3109745e034b307736a8360a15262a632d5784146227675b04d4e24 SHA512 bb9dcde8da619df79f9d51e524bff920c776bcad1a1f2bfe8efacf0f5914fa6d239a61911118c4d396766fb2c3cce0cf635f8162681447e309a0b63bb3ef004f diff --git a/mail-client/s-nail/s-nail-14.9.25.ebuild b/mail-client/s-nail/s-nail-14.9.25.ebuild new file mode 100644 index 000000000000..0b0c7955d550 --- /dev/null +++ b/mail-client/s-nail/s-nail-14.9.25.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Enhanced mailx-compatible mail client based on Heirloom mailx (nail)" +HOMEPAGE="https://www.sdaoden.eu/code.html" +SRC_URI="https://ftp.sdaoden.eu/${P}.tar.xz" + +LICENSE="BSD BSD-4 ISC RSA" +SLOT="0" +KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="idn kerberos net +split-usr ssl" + +RDEPEND=" + sys-libs/ncurses:0= + virtual/libiconv + idn? ( net-dns/libidn2 ) + net? ( + ssl? ( dev-libs/openssl:0= ) + kerberos? ( virtual/krb5 ) + ) + !mail-client/mailx + !net-mail/mailutils +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/xz-utils[extra-filters(+)] + app-alternatives/awk +" + +src_configure() { + has_cflag() { + local x var="CFLAGS[*]" + for x in ${!var} ; do + [[ ${x} == $1 ]] && return 0 + done + return 1 + } + + # Fails to build without replace Bug 860357 + replace-flags -O[0gs] -O1 + # A valid -O option is necessary Bug 888613 + has_cflag -O* || append-cflags -O1 + append-cflags -std=c99 + local confopts=( + CC="$(tc-getCC)" + strip=/bin/true + OPT_AUTOCC=no + VAL_PREFIX="${EPREFIX}"/usr + VAL_SYSCONFDIR="${EPREFIX}"/etc + VAL_MTA="${EPREFIX}/usr/sbin/sendmail" + VAL_MAIL='/var/spool/mail' + VAL_PAGER=less + $(usex idn VAL_IDNA=idn2 OPT_IDNA=no) + VERBOSE=1 + ) + + if use net; then + confopts+=( OPT_TLS=$(usex ssl require no) + OPT_GSSAPI=$(usex kerberos require no) + ) + else + confopts+=( OPT_NET=no ) + fi + + tc-is-cross-compiler && confopts+=( OPT_CROSS_BUILD=yes ) + + # Cannot use emake or bad options saved Bug 879065 + make "${confopts[@]}" config || die +} + +src_compile() { + emake build +} + +src_install() { + # Use /usr/sbin/sendmail by default and provide an example + cat <<- EOSMTP >> nail.rc + + # Use the local sendmail (/usr/sbin/sendmail) binary by default. + # (Uncomment the following line to use a SMTP server) + #set smtp=localhost + + # Ask for CC: list too. + set askcc + EOSMTP + + emake DESTDIR="${D}" install + + dodoc INSTALL NEWS README THANKS + + if use split-usr ; then + dodir /bin + dosym ../usr/bin/mailx /bin/mail + fi + dosym s-nail /usr/bin/mailx + dosym mailx /usr/bin/mail + dosym mailx /usr/bin/Mail + + dosym s-nail.1 /usr/share/man/man1/mailx.1 + dosym mailx.1 /usr/share/man/man1/mail.1 + dosym mailx.1 /usr/share/man/man1/Mail.1 +} |