diff options
Diffstat (limited to 'net-mail')
67 files changed, 240 insertions, 2005 deletions
diff --git a/net-mail/altermime/Manifest b/net-mail/altermime/Manifest index e2b3f02e74d1..36dabdbebfb9 100644 --- a/net-mail/altermime/Manifest +++ b/net-mail/altermime/Manifest @@ -1 +1 @@ -DIST altermime-0.3.11.tar.gz 90244 BLAKE2B 5acd29ee3e5927b67de41db4f7cfbe606814ef6476340f26509b1823fcbfa6269c15e1d7e7936e948a7cb0f81b9a17b9a63c2333697707525bc62fd350a55f2a SHA512 561e36398bafcd888e912b6291ec76ead881bac86a7d0b8072753012d4c4557e67f608a9d43c968c6521e5f35bdf7b98e2c73ab811dadaaf13dcefe35c2d9e68 +DIST altermime-0.3.12.tar.gz 88131 BLAKE2B dd1556438830c35e45e1e258eadbaa4ae237e77c6735910ba9d3080e7cc4fdcebc100dbeab01bbe0f4bed4762bbd8da9ce1e3a5cc280f62e5090f5c149f2f8f7 SHA512 72a2dfef5489d1e798e121308b03d272b2e679e15d3a45f3d25f9e27f9f6211a68ad032f33082a4bc38960f0a407b6892ec41e7fbd2073e950763da3942a7346 diff --git a/net-mail/altermime/altermime-0.3.11.ebuild b/net-mail/altermime/altermime-0.3.12.ebuild index 8f58d7d6f7f8..7a5aaf7381ce 100644 --- a/net-mail/altermime/altermime-0.3.11.ebuild +++ b/net-mail/altermime/altermime-0.3.12.ebuild @@ -1,23 +1,24 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs DESCRIPTION="alterMIME is a small program which is used to alter your mime-encoded mailpacks" HOMEPAGE="https://pldaniels.com/altermime/" -SRC_URI="https://www.pldaniels.com/altermime/${P}.tar.gz" - -KEYWORDS="amd64 ppc x86" +SRC_URI=" + https://github.com/inflex/alterMIME/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz +" +S="${WORKDIR}/alterMIME-${PV}" LICENSE="Sendmail" SLOT="0" -IUSE="" +KEYWORDS="amd64 ppc x86" PATCHES=( - "${FILESDIR}"/${PN}-0.3.10-MIME_headers-overflow.patch - "${FILESDIR}"/${P}-respect-flags.patch + "${FILESDIR}/${PN}-0.3.11-respect-flags.patch" ) src_compile() { @@ -26,5 +27,5 @@ src_compile() { src_install() { dobin altermime - dodoc CHANGELOG README + einstalldocs } diff --git a/net-mail/altermime/files/altermime-0.3.10-MIME_headers-overflow.patch b/net-mail/altermime/files/altermime-0.3.10-MIME_headers-overflow.patch deleted file mode 100644 index 8d169e4bcf71..000000000000 --- a/net-mail/altermime/files/altermime-0.3.10-MIME_headers-overflow.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://bugs.gentoo.org/320785 - ---- a/MIME_headers.c -+++ b/MIME_headers.c -@@ -2243,7 +2243,7 @@ - { - if (MIMEH_DNORMAL) LOGGER_log("%s:%d:MIME_parse_contentlocation:DEBUG: filename = %s\n", FL, p); - snprintf(hinfo->name, sizeof(hinfo->name),"%s",p); -- snprintf(hinfo->filename, sizeof(hinfo->name),"%s",p); -+ snprintf(hinfo->filename, sizeof(hinfo->filename),"%s",p); - FNFILTER_filter(hinfo->filename, _MIMEH_FILENAMELEN_MAX); - SS_push(&(hinfo->ss_filenames), hinfo->filename, strlen(hinfo->filename)); - diff --git a/net-mail/altermime/metadata.xml b/net-mail/altermime/metadata.xml index 85e4ed814fa2..e333f5d7fbea 100644 --- a/net-mail/altermime/metadata.xml +++ b/net-mail/altermime/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">inflex/alterMIME</remote-id> + </upstream> </pkgmetadata> diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest index 09d4d97cdb2b..d34d7dbed896 100644 --- a/net-mail/automx2/Manifest +++ b/net-mail/automx2/Manifest @@ -1 +1,2 @@ DIST automx2-2022.1.tar.gz 182519 BLAKE2B baf2ecc801f6f024eb6a6fe2610d6cb7c3dd0726cfa877fdea76d94ebf16b9393addc5be8844f3017fd664b73adc74f2cd898736bbcad1fa0b2b3c1022cb638a SHA512 3d6fb9cf01cff641c78851560d72e3d80f9011cca4cd438cd49e999feef3f290bbd9495655f41319eb5456beac09bb8862dc327b521254266e0d53aa17b0bbd3 +DIST automx2-2024.2.tar.gz 169710 BLAKE2B 1977e07291d27168424e536273af4069d0cbe4c44e2c37fc10b4d0a2fa53272c404aae6dbb8b0a33dd9926e9fc94aae7cd3c6e5669454dad802e6a6ad85bfaf6 SHA512 de518e7eb5184d5dcd7945ab860250c6338e3343a9c4bba26bcdd68b4cb1d22de9624c329ff63af1420746a17ea220ad6d4bbda627af64f7ddcc5ae73275e5dd diff --git a/net-mail/automx2/automx2-2022.1.ebuild b/net-mail/automx2/automx2-2024.2.ebuild index 9d243e7fddd4..671f397d3e83 100644 --- a/net-mail/automx2/automx2-2022.1.ebuild +++ b/net-mail/automx2/automx2-2024.2.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{11,12} ) inherit distutils-r1 DESCRIPTION="Email client autoconfiguration service" -HOMEPAGE="https://automx.org/" +HOMEPAGE="https://rseichter.github.io/automx2/" SRC_URI="https://github.com/rseichter/automx2/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" @@ -23,12 +23,11 @@ RDEPEND="acct-user/automx2 dev-python/ldap3[${PYTHON_USEDEP}] " -distutils_enable_tests unittest +PATCHES=( + "${FILESDIR}/${P}-setupcfg.patch" +) -python_prepare_all() { - sed -i -e "/('scripts'/d" setup.py || die - distutils-r1_python_prepare_all -} +distutils_enable_tests unittest python_test() { local -x AUTOMX2_CONF="tests/unittest.conf" diff --git a/net-mail/automx2/files/automx2-2024.2-setupcfg.patch b/net-mail/automx2/files/automx2-2024.2-setupcfg.patch new file mode 100644 index 000000000000..07a68305f44f --- /dev/null +++ b/net-mail/automx2/files/automx2-2024.2-setupcfg.patch @@ -0,0 +1,13 @@ +diff --color -r -u a/setup.cfg b/setup.cfg +--- a/setup.cfg 2024-02-21 05:58:03.000000000 +0100 ++++ b/setup.cfg 2024-07-08 18:27:14.404495000 +0200 +@@ -51,6 +51,9 @@ + packages = find: + python_requires = >=3.7 + ++[options.packages.find] ++exclude = test* ++ + [options.package_data] + * = + contrib/flask.sh diff --git a/net-mail/autorespond/autorespond-2.0.4.ebuild b/net-mail/autorespond/autorespond-2.0.4.ebuild index 336b43cb7a6b..58e3fd22b90f 100644 --- a/net-mail/autorespond/autorespond-2.0.4.ebuild +++ b/net-mail/autorespond/autorespond-2.0.4.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://downloads.sourceforge.net/qmailadmin/${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa ~mips ~s390 sparc x86" RDEPEND="virtual/qmail" PATCHES=( diff --git a/net-mail/autorespond/autorespond-2.0.5.ebuild b/net-mail/autorespond/autorespond-2.0.5.ebuild index b2341a6eb635..55c7c06b6dbe 100644 --- a/net-mail/autorespond/autorespond-2.0.5.ebuild +++ b/net-mail/autorespond/autorespond-2.0.5.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://qmail.ixip.net/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa ~mips ~s390 sparc x86" RDEPEND="virtual/qmail" PATCHES=( diff --git a/net-mail/b4/Manifest b/net-mail/b4/Manifest index 0ca8897d5cac..c7ee9b403f23 100644 --- a/net-mail/b4/Manifest +++ b/net-mail/b4/Manifest @@ -1 +1,2 @@ DIST b4-0.13.0.tar.gz 243729 BLAKE2B b004209ab289026e5013003355873feeef0c275dbd638a9ca725adc0bb594ea5091094b2fb30737fad9ef60a742809699c9c9a0e0015e9ebf58ee3d1c90fc989 SHA512 692d01970019d3fc604187882004d97f4286a22d87e5778d7830ec247757534a9d951fa8edfe9e04e8f14107c77b08b6c15024f37bd99f4abf3aa0d823df21e5 +DIST b4-0.14.1.tar.gz 268141 BLAKE2B 128a061600aeea7c0b05fc69ad1e36be55086dff4b66e1456151fae375457dcd60113a4bc1335878227fb86763d0d1ed74f103c683f17634e80cb4c6fedbe078 SHA512 6e77d9e7e49fee5ccada275ceda51280310bf71f17e910d30c4b9e6346cf7595563c5cc489963e0cb16aa68606e7ba8050ead19454c294469820fbf30a948c36 diff --git a/net-mail/b4/b4-0.14.1.ebuild b/net-mail/b4/b4-0.14.1.ebuild new file mode 100644 index 000000000000..793028281105 --- /dev/null +++ b/net-mail/b4/b4-0.14.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="Utility for fetching patchsets from public-inbox" +HOMEPAGE="https://pypi.org/project/b4/" +# pypi lacks tests +SRC_URI="https://git.kernel.org/pub/scm/utils/b4/b4.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/dkimpy-1.0[${PYTHON_USEDEP}] + >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] + >=dev-python/patatt-0.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.24[${PYTHON_USEDEP}] + >=dev-vcs/git-filter-repo-2.30[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest diff --git a/net-mail/b4/metadata.xml b/net-mail/b4/metadata.xml index 2682456e0d77..211811004b29 100644 --- a/net-mail/b4/metadata.xml +++ b/net-mail/b4/metadata.xml @@ -5,6 +5,10 @@ <email>zx2c4@gentoo.org</email> <name>Jason A. Donenfeld</name> </maintainer> + <maintainer type="person"> + <email>mpagano@gentoo.org</email> + <name>Mike Pagano</name> + </maintainer> <stabilize-allarches/> <upstream> <remote-id type="pypi">b4</remote-id> diff --git a/net-mail/checkpassword-pam/checkpassword-pam-0.99-r1.ebuild b/net-mail/checkpassword-pam/checkpassword-pam-0.99-r3.ebuild index ebaf60aa0318..219b82b21213 100644 --- a/net-mail/checkpassword-pam/checkpassword-pam-0.99-r1.ebuild +++ b/net-mail/checkpassword-pam/checkpassword-pam-0.99-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="checkpassword-compatible authentication program w/pam support" HOMEPAGE="http://checkpasswd-pam.sourceforge.net/" @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/checkpasswd-pam/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~riscv x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~riscv ~x86" DEPEND=">=sys-libs/pam-0.75" @@ -18,3 +18,7 @@ DOCS=( NEWS README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.99-clang16-build-fix.patch +) diff --git a/net-mail/checkpassword/checkpassword-0.90-r5.ebuild b/net-mail/checkpassword/checkpassword-0.90-r5.ebuild index 04702ce840d7..85833ca471b5 100644 --- a/net-mail/checkpassword/checkpassword-0.90-r5.ebuild +++ b/net-mail/checkpassword/checkpassword-0.90-r5.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://cr.yp.to/checkpwd/${P}.tar.gz" # http://cr.yp.to/distributors.html LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86" IUSE="static" RESTRICT="mirror bindist" diff --git a/net-mail/courier-common/courier-common-3.1.5.ebuild b/net-mail/courier-common/courier-common-3.1.5.ebuild index 61f102250d15..0e17ec49337c 100644 --- a/net-mail/courier-common/courier-common-3.1.5.ebuild +++ b/net-mail/courier-common/courier-common-3.1.5.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://downloads.sourceforge.net/courier/${MYP}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~s390 sparc x86" IUSE="berkdb +gdbm" RDEPEND="!mail-mta/courier diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild index af558baa1556..303441bd0d0a 100644 --- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild +++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~s390 sparc x86" IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota" REQUIRED_USE="|| ( berkdb gdbm )" diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild index 08833b509d8e..45e88d6676ab 100644 --- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild +++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~s390 sparc x86" IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota" REQUIRED_USE="|| ( berkdb gdbm )" diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild index 2afbee9290f8..59ae35415d3c 100644 --- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild +++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/cyrusimap/${PN}/releases/download/${P}/${P}.tar.gz" LICENSE="BSD-with-attribution GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" IUSE="afs backup calalarm caps clamav http kerberos ldap \ mysql nntp pam perl postgres replication +server sieve \ sqlite ssl static-libs tcpd test xapian" diff --git a/net-mail/dot-forward/dot-forward-0.71-r4.ebuild b/net-mail/dot-forward/dot-forward-0.71-r4.ebuild deleted file mode 100644 index 6fd424102749..000000000000 --- a/net-mail/dot-forward/dot-forward-0.71-r4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fixheadtails qmail - -DESCRIPTION="reads sendmail's .forward files under qmail" -HOMEPAGE="http://cr.yp.to/dot-forward.html" -SRC_URI="http://cr.yp.to/software/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="" - -# See bug 97850 -RESTRICT="test" - -DEPEND=" - acct-group/nofiles - acct-group/qmail -" - -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PV}-errno.patch -) - -DOCS=( - BLURB - CHANGES - FILES - INSTALL - README - TARGETS - THANKS - TODO -) - -src_prepare() { - default - - ht_fix_file Makefile -} - -src_configure() { - qmail_set_cc -} - -src_compile() { - emake prog -} - -src_install() { - einstalldocs - doman *.1 - - insopts -o root -g qmail -m 755 - insinto "${QMAIL_HOME}"/bin - doins dot-forward -} diff --git a/net-mail/dot-forward/dot-forward-0.71-r5.ebuild b/net-mail/dot-forward/dot-forward-0.71-r5.ebuild index 177a0d1115b7..b64914df4b44 100644 --- a/net-mail/dot-forward/dot-forward-0.71-r5.ebuild +++ b/net-mail/dot-forward/dot-forward-0.71-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,8 +12,7 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-fix-buil LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="" +KEYWORDS="~alpha amd64 arm ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86" # See bug 97850 RESTRICT="test" diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest index 05a25366fc15..e22ced3458cc 100644 --- a/net-mail/dovecot/Manifest +++ b/net-mail/dovecot/Manifest @@ -1,4 +1,2 @@ -DIST dovecot-2.3-pigeonhole-0.5.20.tar.gz 1945126 BLAKE2B 6845896f9bcfb26f74b0ecbc8109cfc2cd67492742aea2459cd74695d165c6009552b7178f370e06281440270829decc3f5fad9590b984ca3ff10267f4cf3e02 SHA512 45683e6bd678db00fc3e3c61d27a264d30d0e9aeb9ceb7ab55f94f0317d387056fa092e266062117cbe2a9dc2c90ddca03d154e78aad9c0d61fe8cf2c9187603 -DIST dovecot-2.3-pigeonhole-0.5.21.tar.gz 1955945 BLAKE2B 91c4f5b2c21ef0f74ea4661abb94bd86beda6449642ec8ef6b2f48e86b370f78eb6b63f2ffb382cff500137a6723b6b4589548c3b8e415f0caf36c2e6b8b7cf4 SHA512 5537444025a474ee1b79919a424e24530695aec639361c531257f25fac286673719d476906d99d47e348deb57baa75419bff7dd284c82d2b751334dedec96314 -DIST dovecot-2.3.20.tar.gz 7805735 BLAKE2B e041c68a8c2b4b1068f526554d92caa5806a4d3854cc4a287633e4702f764b68922e368426b1bb395c9dab92183e9568f8c8b6ff5491a39f1a28e818be1afec8 SHA512 20c5a9cacf2c22d99d46400b666206e5b153c35286c205eec5df4d2ce0c88cf29ea15df81716794fd75837f6d67dfa4037096cf4bb66f524877a9a0a6bb282c8 -DIST dovecot-2.3.21.tar.gz 7837242 BLAKE2B 50d0b614e163240e798d272e4435dd51b498bc96468207d2c24132a7f8ac46f5b9393df254d7651046ce10af97d5ca1041b59800b9f71e40b331645d7eaa6326 SHA512 2d463c38639c3fd3d617ee5b1a4e4d0c11362339c4d4d62a5a90164a8b10bc58919545679bbf379139bdb743fdb013033abfddc1fc6401eb8099463cdc2401ca +DIST dovecot-2.3-pigeonhole-0.5.21.1.tar.gz 1956404 BLAKE2B ad0ea5c2c181aa9cdf12a7b58141a9812cad11e6ead4d4f38366e13589a84135db1998da179192a6e66a53240647906d96bb330982e7f2f204ba8c402f14cbbd SHA512 7387b417611599fe70d1a83d3b408321e66f5a883bf78a9d55c7496b1a17220677daebaefde2061e0d7064fe07c410ecfc64662878bb253ddcd9e128dd83fbaa +DIST dovecot-2.3.21.1.tar.gz 7842044 BLAKE2B 3f4238a2f6a73bce1ed37d0def7dc2e61823173836879ed8b4ef5806b4403300335d551215fc4fb2ee8b4106276f84d16b24c2be53148b92da3f946a3b904e46 SHA512 9de6ce3a579ef2040248b692874a6d64a732bb735a9cee3144604927cad49690c4b0e29f7ecf3af23190d56f30956d955d13acd5d352534df62fbdfde4b60f9f diff --git a/net-mail/dovecot/dovecot-2.3.20-r1.ebuild b/net-mail/dovecot/dovecot-2.3.20-r1.ebuild deleted file mode 100644 index a7ba66d96a56..000000000000 --- a/net-mail/dovecot/dovecot-2.3.20-r1.ebuild +++ /dev/null @@ -1,302 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 lua5-3 ) -# do not add a ssl USE flag. ssl is mandatory -SSL_DEPS_SKIP=1 -inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs - -MY_P="${P/_/.}" -#MY_S="${PN}-ce-${PV}" -major_minor="$(ver_cut 1-2)" -sieve_version="0.5.20" -if [[ ${PV} == *_rc* ]]; then - rc_dir="rc/" -else - rc_dir="" -fi -SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz - sieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) - managesieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) " -DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" -HOMEPAGE="https://www.dovecot.org/" - -SLOT="0" -LICENSE="LGPL-2.1 MIT" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" -IUSE_DOVECOT_COMPRESS="lz4 zstd" -IUSE_DOVECOT_OTHER="argon2 caps doc lucene managesieve rpc - selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind" - -IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" - -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" - -DEPEND=" - app-arch/bzip2 - app-arch/xz-utils - dev-libs/icu:= - dev-libs/openssl:0= - sys-libs/zlib:= - virtual/libiconv - argon2? ( dev-libs/libsodium:= ) - caps? ( sys-libs/libcap ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap:= ) - lua? ( ${LUA_DEPS} ) - lucene? ( >=dev-cpp/clucene-2.3 ) - lz4? ( app-arch/lz4 ) - mysql? ( dev-db/mysql-connector-c:0= ) - pam? ( sys-libs/pam:= ) - postgres? ( dev-db/postgresql:* ) - rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) - selinux? ( sec-policy/selinux-dovecot ) - solr? ( net-misc/curl dev-libs/expat ) - sqlite? ( dev-db/sqlite:* ) - stemmer? ( dev-libs/snowball-stemmer:= ) - suid? ( acct-group/mail ) - systemd? ( sys-apps/systemd:= ) - tcpd? ( sys-apps/tcp-wrappers ) - textcat? ( app-text/libexttextcat ) - unwind? ( sys-libs/libunwind:= ) - zstd? ( app-arch/zstd:= ) - virtual/libcrypt:= - " - -RDEPEND=" - ${DEPEND} - acct-group/dovecot - acct-group/dovenull - acct-user/dovecot - acct-user/dovenull - net-mail/mailbase - " - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch - "${FILESDIR}/${PN}"-socket-name-too-long.patch - "${FILESDIR}/${PN}"-2.3.19.1-slibtool.patch # 782631 - "${FILESDIR}"/CVE-2022-30550.patch - "${FILESDIR}/${PN}"-openssl-3.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup - if use managesieve && ! use sieve; then - ewarn "managesieve USE flag selected but sieve USE flag unselected" - ewarn "sieve USE flag will be turned on" - fi -} - -src_prepare() { - default - # bug 657108, 782631 - #elibtoolize - eautoreconf - - # Bug #727244 - append-cflags -fasynchronous-unwind-tables -} - -src_configure() { - local conf="" - - if use postgres || use mysql || use sqlite; then - conf="${conf} --with-sql" - fi - - # turn valgrind tests off. Bug #340791 - VALGRIND=no \ - LUAPC="${ELUA}" \ - systemdsystemunitdir="$(systemd_get_systemunitdir)" \ - econf \ - --with-rundir="${EPREFIX}/run/dovecot" \ - --with-statedir="${EPREFIX}/var/lib/dovecot" \ - --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ - --disable-rpath \ - --with-bzlib \ - --without-libbsd \ - --with-lzma \ - --with-icu \ - --with-ssl \ - --with-zlib \ - $( use_with argon2 sodium ) \ - $( use_with caps libcap ) \ - $( use_with kerberos gssapi ) \ - $( use_with lua ) \ - $( use_with ldap ) \ - $( use_with lucene ) \ - $( use_with lz4 ) \ - $( use_with mysql ) \ - $( use_with pam ) \ - $( use_with postgres pgsql ) \ - $( use_with sqlite ) \ - $( use_with solr ) \ - $( use_with stemmer ) \ - $( use_with systemd ) \ - $( use_with tcpd libwrap ) \ - $( use_with textcat ) \ - $( use_with unwind libunwind ) \ - $( use_with zstd ) \ - $( use_enable static-libs static ) \ - ${conf} - - if use sieve || use managesieve; then - # The sieve plugin needs this file to be build to determine the plugin - # directory and the list of libraries to link to. - emake dovecot-config - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - econf \ - $( use_enable static-libs static ) \ - --localstatedir="${EPREFIX}/var" \ - --enable-shared \ - --with-dovecot="${S}" \ - $( use_with ldap ) \ - $( use_with managesieve ) - fi -} - -src_compile() { - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" - fi -} - -src_test() { - # bug #340791 and bug #807178 - local -x NOVALGRIND=true - - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - default - fi -} - -src_install() { - default - - if use suid; then - einfo "Changing perms to allow deliver to be suided" - fowners root:mail "/usr/libexec/dovecot/dovecot-lda" - fperms 4750 "/usr/libexec/dovecot/dovecot-lda" - fi - - newinitd "${FILESDIR}"/dovecot.init-r6 dovecot - - rm -rf "${ED}"/usr/share/doc/dovecot - - dodoc AUTHORS NEWS README TODO - dodoc doc/*.{txt,cnf,xml,sh} - docinto example-config - dodoc doc/example-config/*.{conf,ext} - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.{conf,ext} - docinto wiki - dodoc doc/wiki/* - doman doc/man/*.{1,7} - - # Create the dovecot.conf file from the dovecot-example.conf file that - # the dovecot folks nicely left for us.... - local conf="${ED}/etc/dovecot/dovecot.conf" - local confd="${ED}/etc/dovecot/conf.d" - - insinto /etc/dovecot - doins doc/example-config/*.{conf,ext} - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/*.{conf,ext} - fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext - rm -f "${confd}/../README" - - # .maildir is the Gentoo default - local mail_location="maildir:~/.maildir" - sed -i -e \ - "s|#mail_location =|mail_location = ${mail_location}|" \ - "${confd}/10-mail.conf" \ - || die "failed to update mail location settings in 10-mail.conf" - - # We're using pam files (imap and pop3) provided by mailbase - if use pam; then - sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ - "${confd}/auth-system.conf.ext" \ - || die "failed to update PAM settings in auth-system.conf.ext" - # mailbase does not provide a sieve pam file - use managesieve && dosym imap /etc/pam.d/sieve - sed -i -e \ - 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update PAM settings in 10-auth.conf" - fi - - # Update ssl cert locations - sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ - || die "ssl conf failed" - sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ - -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ - "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" - - # Install SQL configuration - if use mysql || use postgres; then - sed -i -e \ - 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ - "${confd}/10-auth.conf" || die "failed to update SQL settings in \ - 10-auth.conf" - fi - - # Install LDAP configuration - if use ldap; then - sed -i -e \ - 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update ldap settings in 10-auth.conf" - fi - - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake DESTDIR="${ED}" install - sed -i -e \ - 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ - || die "failed to update sieve settings in 15-lda.conf" - rm -rf "${ED}"/usr/share/doc/dovecot - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.conf - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf - use managesieve && doins doc/example-config/conf.d/20-managesieve.conf - docinto sieve/rfc - dodoc doc/rfc/*.txt - docinto sieve/devel - dodoc doc/devel/DESIGN - docinto plugins - dodoc doc/plugins/*.txt - docinto extensions - dodoc doc/extensions/*.txt - docinto locations - dodoc doc/locations/*.txt - doman doc/man/*.{1,7} - fi - - use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete -} - -pkg_postinst() { - # Let's not make a new certificate if we already have one - if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ - -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then - einfo "Creating SSL certificate" - SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" - install_cert /etc/ssl/dovecot/server - fi -} diff --git a/net-mail/dovecot/dovecot-2.3.20-r2.ebuild b/net-mail/dovecot/dovecot-2.3.20-r2.ebuild deleted file mode 100644 index 70ed7036f50d..000000000000 --- a/net-mail/dovecot/dovecot-2.3.20-r2.ebuild +++ /dev/null @@ -1,302 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 lua5-3 ) -# do not add a ssl USE flag. ssl is mandatory -SSL_DEPS_SKIP=1 -inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs - -MY_P="${P/_/.}" -#MY_S="${PN}-ce-${PV}" -major_minor="$(ver_cut 1-2)" -sieve_version="0.5.20" -if [[ ${PV} == *_rc* ]]; then - rc_dir="rc/" -else - rc_dir="" -fi -SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz - sieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) - managesieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) " -DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" -HOMEPAGE="https://www.dovecot.org/" - -SLOT="0/${PV}" -LICENSE="LGPL-2.1 MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" -IUSE_DOVECOT_COMPRESS="lz4 zstd" -IUSE_DOVECOT_OTHER="argon2 caps doc lucene managesieve rpc - selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind" - -IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" - -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" - -DEPEND=" - app-arch/bzip2 - app-arch/xz-utils - dev-libs/icu:= - dev-libs/openssl:0= - sys-libs/zlib:= - virtual/libiconv - argon2? ( dev-libs/libsodium:= ) - caps? ( sys-libs/libcap ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap:= ) - lua? ( ${LUA_DEPS} ) - lucene? ( >=dev-cpp/clucene-2.3 ) - lz4? ( app-arch/lz4 ) - mysql? ( dev-db/mysql-connector-c:0= ) - pam? ( sys-libs/pam:= ) - postgres? ( dev-db/postgresql:* ) - rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) - selinux? ( sec-policy/selinux-dovecot ) - solr? ( net-misc/curl dev-libs/expat ) - sqlite? ( dev-db/sqlite:* ) - stemmer? ( dev-libs/snowball-stemmer:= ) - suid? ( acct-group/mail ) - systemd? ( sys-apps/systemd:= ) - tcpd? ( sys-apps/tcp-wrappers ) - textcat? ( app-text/libexttextcat ) - unwind? ( sys-libs/libunwind:= ) - zstd? ( app-arch/zstd:= ) - virtual/libcrypt:= - " - -RDEPEND=" - ${DEPEND} - acct-group/dovecot - acct-group/dovenull - acct-user/dovecot - acct-user/dovenull - net-mail/mailbase - " - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch - "${FILESDIR}/${PN}"-socket-name-too-long.patch - "${FILESDIR}/${PN}"-2.3.19.1-slibtool.patch # 782631 - "${FILESDIR}"/CVE-2022-30550.patch - "${FILESDIR}/${PN}"-openssl-3.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup - if use managesieve && ! use sieve; then - ewarn "managesieve USE flag selected but sieve USE flag unselected" - ewarn "sieve USE flag will be turned on" - fi -} - -src_prepare() { - default - # bug 657108, 782631 - #elibtoolize - eautoreconf - - # Bug #727244 - append-cflags -fasynchronous-unwind-tables -} - -src_configure() { - local conf="" - - if use postgres || use mysql || use sqlite; then - conf="${conf} --with-sql" - fi - - # turn valgrind tests off. Bug #340791 - VALGRIND=no \ - LUAPC="${ELUA}" \ - systemdsystemunitdir="$(systemd_get_systemunitdir)" \ - econf \ - --with-rundir="${EPREFIX}/run/dovecot" \ - --with-statedir="${EPREFIX}/var/lib/dovecot" \ - --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ - --disable-rpath \ - --with-bzlib \ - --without-libbsd \ - --with-lzma \ - --with-icu \ - --with-ssl \ - --with-zlib \ - $( use_with argon2 sodium ) \ - $( use_with caps libcap ) \ - $( use_with kerberos gssapi ) \ - $( use_with lua ) \ - $( use_with ldap ) \ - $( use_with lucene ) \ - $( use_with lz4 ) \ - $( use_with mysql ) \ - $( use_with pam ) \ - $( use_with postgres pgsql ) \ - $( use_with sqlite ) \ - $( use_with solr ) \ - $( use_with stemmer ) \ - $( use_with systemd ) \ - $( use_with tcpd libwrap ) \ - $( use_with textcat ) \ - $( use_with unwind libunwind ) \ - $( use_with zstd ) \ - $( use_enable static-libs static ) \ - ${conf} - - if use sieve || use managesieve; then - # The sieve plugin needs this file to be build to determine the plugin - # directory and the list of libraries to link to. - emake dovecot-config - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - econf \ - $( use_enable static-libs static ) \ - --localstatedir="${EPREFIX}/var" \ - --enable-shared \ - --with-dovecot="${S}" \ - $( use_with ldap ) \ - $( use_with managesieve ) - fi -} - -src_compile() { - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" - fi -} - -src_test() { - # bug #340791 and bug #807178 - local -x NOVALGRIND=true - - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - default - fi -} - -src_install() { - default - - if use suid; then - einfo "Changing perms to allow deliver to be suided" - fowners root:mail "/usr/libexec/dovecot/dovecot-lda" - fperms 4750 "/usr/libexec/dovecot/dovecot-lda" - fi - - newinitd "${FILESDIR}"/dovecot.init-r6 dovecot - - rm -rf "${ED}"/usr/share/doc/dovecot - - dodoc AUTHORS NEWS README TODO - dodoc doc/*.{txt,cnf,xml,sh} - docinto example-config - dodoc doc/example-config/*.{conf,ext} - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.{conf,ext} - docinto wiki - dodoc doc/wiki/* - doman doc/man/*.{1,7} - - # Create the dovecot.conf file from the dovecot-example.conf file that - # the dovecot folks nicely left for us.... - local conf="${ED}/etc/dovecot/dovecot.conf" - local confd="${ED}/etc/dovecot/conf.d" - - insinto /etc/dovecot - doins doc/example-config/*.{conf,ext} - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/*.{conf,ext} - fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext - rm -f "${confd}/../README" - - # .maildir is the Gentoo default - local mail_location="maildir:~/.maildir" - sed -i -e \ - "s|#mail_location =|mail_location = ${mail_location}|" \ - "${confd}/10-mail.conf" \ - || die "failed to update mail location settings in 10-mail.conf" - - # We're using pam files (imap and pop3) provided by mailbase - if use pam; then - sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ - "${confd}/auth-system.conf.ext" \ - || die "failed to update PAM settings in auth-system.conf.ext" - # mailbase does not provide a sieve pam file - use managesieve && dosym imap /etc/pam.d/sieve - sed -i -e \ - 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update PAM settings in 10-auth.conf" - fi - - # Update ssl cert locations - sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ - || die "ssl conf failed" - sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ - -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ - "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" - - # Install SQL configuration - if use mysql || use postgres; then - sed -i -e \ - 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ - "${confd}/10-auth.conf" || die "failed to update SQL settings in \ - 10-auth.conf" - fi - - # Install LDAP configuration - if use ldap; then - sed -i -e \ - 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update ldap settings in 10-auth.conf" - fi - - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake DESTDIR="${ED}" install - sed -i -e \ - 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ - || die "failed to update sieve settings in 15-lda.conf" - rm -rf "${ED}"/usr/share/doc/dovecot - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.conf - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf - use managesieve && doins doc/example-config/conf.d/20-managesieve.conf - docinto sieve/rfc - dodoc doc/rfc/*.txt - docinto sieve/devel - dodoc doc/devel/DESIGN - docinto plugins - dodoc doc/plugins/*.txt - docinto extensions - dodoc doc/extensions/*.txt - docinto locations - dodoc doc/locations/*.txt - doman doc/man/*.{1,7} - fi - - use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete -} - -pkg_postinst() { - # Let's not make a new certificate if we already have one - if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ - -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then - einfo "Creating SSL certificate" - SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" - install_cert /etc/ssl/dovecot/server - fi -} diff --git a/net-mail/dovecot/dovecot-2.3.20-r3.ebuild b/net-mail/dovecot/dovecot-2.3.20-r3.ebuild deleted file mode 100644 index 3d9ad8ac904f..000000000000 --- a/net-mail/dovecot/dovecot-2.3.20-r3.ebuild +++ /dev/null @@ -1,302 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 lua5-3 ) -# do not add a ssl USE flag. ssl is mandatory -SSL_DEPS_SKIP=1 -inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs - -MY_P="${P/_/.}" -#MY_S="${PN}-ce-${PV}" -major_minor="$(ver_cut 1-2)" -sieve_version="0.5.20" -if [[ ${PV} == *_rc* ]]; then - rc_dir="rc/" -else - rc_dir="" -fi -SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz - sieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) - managesieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) " -DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" -HOMEPAGE="https://www.dovecot.org/" - -SLOT="0/${PV}" -LICENSE="LGPL-2.1 MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" -IUSE_DOVECOT_COMPRESS="lz4 zstd" -IUSE_DOVECOT_OTHER="argon2 caps doc lucene managesieve rpc - selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind" - -IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" - -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" - -DEPEND=" - app-arch/bzip2 - app-arch/xz-utils - dev-libs/icu:= - dev-libs/openssl:0= - sys-libs/zlib:= - virtual/libiconv - argon2? ( dev-libs/libsodium:= ) - caps? ( sys-libs/libcap ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap:= ) - lua? ( ${LUA_DEPS} ) - lucene? ( >=dev-cpp/clucene-2.3 ) - lz4? ( app-arch/lz4 ) - mysql? ( dev-db/mysql-connector-c:0= ) - pam? ( sys-libs/pam:= ) - postgres? ( dev-db/postgresql:* ) - rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) - selinux? ( sec-policy/selinux-dovecot ) - solr? ( net-misc/curl dev-libs/expat ) - sqlite? ( dev-db/sqlite:* ) - stemmer? ( dev-libs/snowball-stemmer:= ) - suid? ( acct-group/mail ) - systemd? ( sys-apps/systemd:= ) - tcpd? ( sys-apps/tcp-wrappers ) - textcat? ( app-text/libexttextcat ) - unwind? ( sys-libs/libunwind:= ) - zstd? ( app-arch/zstd:= ) - virtual/libcrypt:= - " - -RDEPEND=" - ${DEPEND} - acct-group/dovecot - acct-group/dovenull - acct-user/dovecot - acct-user/dovenull - net-mail/mailbase[pam?] - " - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch - "${FILESDIR}/${PN}"-socket-name-too-long.patch - "${FILESDIR}/${PN}"-2.3.19.1-slibtool.patch # 782631 - "${FILESDIR}"/CVE-2022-30550.patch - "${FILESDIR}/${PN}"-openssl-3.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup - if use managesieve && ! use sieve; then - ewarn "managesieve USE flag selected but sieve USE flag unselected" - ewarn "sieve USE flag will be turned on" - fi -} - -src_prepare() { - default - # bug 657108, 782631 - #elibtoolize - eautoreconf - - # Bug #727244 - append-cflags -fasynchronous-unwind-tables -} - -src_configure() { - local conf="" - - if use postgres || use mysql || use sqlite; then - conf="${conf} --with-sql" - fi - - # turn valgrind tests off. Bug #340791 - VALGRIND=no \ - LUAPC="${ELUA}" \ - systemdsystemunitdir="$(systemd_get_systemunitdir)" \ - econf \ - --with-rundir="${EPREFIX}/run/dovecot" \ - --with-statedir="${EPREFIX}/var/lib/dovecot" \ - --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ - --disable-rpath \ - --with-bzlib \ - --without-libbsd \ - --with-lzma \ - --with-icu \ - --with-ssl \ - --with-zlib \ - $( use_with argon2 sodium ) \ - $( use_with caps libcap ) \ - $( use_with kerberos gssapi ) \ - $( use_with lua ) \ - $( use_with ldap ) \ - $( use_with lucene ) \ - $( use_with lz4 ) \ - $( use_with mysql ) \ - $( use_with pam ) \ - $( use_with postgres pgsql ) \ - $( use_with sqlite ) \ - $( use_with solr ) \ - $( use_with stemmer ) \ - $( use_with systemd ) \ - $( use_with tcpd libwrap ) \ - $( use_with textcat ) \ - $( use_with unwind libunwind ) \ - $( use_with zstd ) \ - $( use_enable static-libs static ) \ - ${conf} - - if use sieve || use managesieve; then - # The sieve plugin needs this file to be build to determine the plugin - # directory and the list of libraries to link to. - emake dovecot-config - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - econf \ - $( use_enable static-libs static ) \ - --localstatedir="${EPREFIX}/var" \ - --enable-shared \ - --with-dovecot="${S}" \ - $( use_with ldap ) \ - $( use_with managesieve ) - fi -} - -src_compile() { - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" - fi -} - -src_test() { - # bug #340791 and bug #807178 - local -x NOVALGRIND=true - - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - default - fi -} - -src_install() { - default - - if use suid; then - einfo "Changing perms to allow deliver to be suided" - fowners root:mail "/usr/libexec/dovecot/dovecot-lda" - fperms 4750 "/usr/libexec/dovecot/dovecot-lda" - fi - - newinitd "${FILESDIR}"/dovecot.init-r6 dovecot - - rm -rf "${ED}"/usr/share/doc/dovecot - - dodoc AUTHORS NEWS README TODO - dodoc doc/*.{txt,cnf,xml,sh} - docinto example-config - dodoc doc/example-config/*.{conf,ext} - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.{conf,ext} - docinto wiki - dodoc doc/wiki/* - doman doc/man/*.{1,7} - - # Create the dovecot.conf file from the dovecot-example.conf file that - # the dovecot folks nicely left for us.... - local conf="${ED}/etc/dovecot/dovecot.conf" - local confd="${ED}/etc/dovecot/conf.d" - - insinto /etc/dovecot - doins doc/example-config/*.{conf,ext} - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/*.{conf,ext} - fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext - rm -f "${confd}/../README" - - # .maildir is the Gentoo default - local mail_location="maildir:~/.maildir" - sed -i -e \ - "s|#mail_location =|mail_location = ${mail_location}|" \ - "${confd}/10-mail.conf" \ - || die "failed to update mail location settings in 10-mail.conf" - - # We're using pam files (imap and pop3) provided by mailbase - if use pam; then - sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ - "${confd}/auth-system.conf.ext" \ - || die "failed to update PAM settings in auth-system.conf.ext" - # mailbase does not provide a sieve pam file - use managesieve && dosym imap /etc/pam.d/sieve - sed -i -e \ - 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update PAM settings in 10-auth.conf" - fi - - # Update ssl cert locations - sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ - || die "ssl conf failed" - sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ - -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ - "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" - - # Install SQL configuration - if use mysql || use postgres; then - sed -i -e \ - 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ - "${confd}/10-auth.conf" || die "failed to update SQL settings in \ - 10-auth.conf" - fi - - # Install LDAP configuration - if use ldap; then - sed -i -e \ - 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update ldap settings in 10-auth.conf" - fi - - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake DESTDIR="${ED}" install - sed -i -e \ - 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ - || die "failed to update sieve settings in 15-lda.conf" - rm -rf "${ED}"/usr/share/doc/dovecot - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.conf - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf - use managesieve && doins doc/example-config/conf.d/20-managesieve.conf - docinto sieve/rfc - dodoc doc/rfc/*.txt - docinto sieve/devel - dodoc doc/devel/DESIGN - docinto plugins - dodoc doc/plugins/*.txt - docinto extensions - dodoc doc/extensions/*.txt - docinto locations - dodoc doc/locations/*.txt - doman doc/man/*.{1,7} - fi - - use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete -} - -pkg_postinst() { - # Let's not make a new certificate if we already have one - if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ - -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then - einfo "Creating SSL certificate" - SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" - install_cert /etc/ssl/dovecot/server - fi -} diff --git a/net-mail/dovecot/dovecot-2.3.21-r1.ebuild b/net-mail/dovecot/dovecot-2.3.21.1.ebuild index 0d5076e6371f..87354877eb82 100644 --- a/net-mail/dovecot/dovecot-2.3.21-r1.ebuild +++ b/net-mail/dovecot/dovecot-2.3.21.1.ebuild @@ -11,7 +11,7 @@ inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs MY_P="${P/_/.}" #MY_S="${PN}-ce-${PV}" major_minor="$(ver_cut 1-2)" -sieve_version="0.5.21" +sieve_version="0.5.21.1" if [[ ${PV} == *_rc* ]]; then rc_dir="rc/" else @@ -30,7 +30,7 @@ SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1 MIT" SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" IUSE_DOVECOT_COMPRESS="lz4 zstd" diff --git a/net-mail/dovecot/dovecot-2.3.21.ebuild b/net-mail/dovecot/dovecot-2.3.21.ebuild deleted file mode 100644 index 7f3e4ca7441f..000000000000 --- a/net-mail/dovecot/dovecot-2.3.21.ebuild +++ /dev/null @@ -1,302 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 lua5-3 ) -# do not add a ssl USE flag. ssl is mandatory -SSL_DEPS_SKIP=1 -inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs - -MY_P="${P/_/.}" -#MY_S="${PN}-ce-${PV}" -major_minor="$(ver_cut 1-2)" -sieve_version="0.5.21" -if [[ ${PV} == *_rc* ]]; then - rc_dir="rc/" -else - rc_dir="" -fi -SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz - sieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) - managesieve? ( - https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz - ) " -DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" -HOMEPAGE="https://www.dovecot.org/" - -SLOT="0/${PV}" -LICENSE="LGPL-2.1 MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" -IUSE_DOVECOT_COMPRESS="lz4 zstd" -IUSE_DOVECOT_OTHER="argon2 caps doc lucene managesieve rpc - selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind" - -IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" - -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" - -DEPEND=" - app-arch/bzip2 - app-arch/xz-utils - dev-libs/icu:= - dev-libs/openssl:0= - sys-libs/zlib:= - virtual/libiconv - argon2? ( dev-libs/libsodium:= ) - caps? ( sys-libs/libcap ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap:= ) - lua? ( ${LUA_DEPS} ) - lucene? ( >=dev-cpp/clucene-2.3 ) - lz4? ( app-arch/lz4 ) - mysql? ( dev-db/mysql-connector-c:0= ) - pam? ( sys-libs/pam:= ) - postgres? ( dev-db/postgresql:* ) - rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) - selinux? ( sec-policy/selinux-dovecot ) - solr? ( net-misc/curl dev-libs/expat ) - sqlite? ( dev-db/sqlite:* ) - stemmer? ( dev-libs/snowball-stemmer:= ) - suid? ( acct-group/mail ) - systemd? ( sys-apps/systemd:= ) - tcpd? ( sys-apps/tcp-wrappers ) - textcat? ( app-text/libexttextcat ) - unwind? ( sys-libs/libunwind:= ) - zstd? ( app-arch/zstd:= ) - virtual/libcrypt:= - " - -RDEPEND=" - ${DEPEND} - acct-group/dovecot - acct-group/dovenull - acct-user/dovecot - acct-user/dovenull - net-mail/mailbase[pam?] - " - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch - "${FILESDIR}/${PN}"-socket-name-too-long.patch - "${FILESDIR}/${PN}"-2.3.19.1-slibtool.patch # 782631 - "${FILESDIR}"/CVE-2022-30550.patch - "${FILESDIR}/${PN}"-openssl-3.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup - if use managesieve && ! use sieve; then - ewarn "managesieve USE flag selected but sieve USE flag unselected" - ewarn "sieve USE flag will be turned on" - fi -} - -src_prepare() { - default - # bug 657108, 782631 - #elibtoolize - eautoreconf - - # Bug #727244 - append-cflags -fasynchronous-unwind-tables -} - -src_configure() { - local conf="" - - if use postgres || use mysql || use sqlite; then - conf="${conf} --with-sql" - fi - - # turn valgrind tests off. Bug #340791 - VALGRIND=no \ - LUAPC="${ELUA}" \ - systemdsystemunitdir="$(systemd_get_systemunitdir)" \ - econf \ - --with-rundir="${EPREFIX}/run/dovecot" \ - --with-statedir="${EPREFIX}/var/lib/dovecot" \ - --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ - --disable-rpath \ - --with-bzlib \ - --without-libbsd \ - --with-lzma \ - --with-icu \ - --with-ssl \ - --with-zlib \ - $( use_with argon2 sodium ) \ - $( use_with caps libcap ) \ - $( use_with kerberos gssapi ) \ - $( use_with lua ) \ - $( use_with ldap ) \ - $( use_with lucene ) \ - $( use_with lz4 ) \ - $( use_with mysql ) \ - $( use_with pam ) \ - $( use_with postgres pgsql ) \ - $( use_with sqlite ) \ - $( use_with solr ) \ - $( use_with stemmer ) \ - $( use_with systemd ) \ - $( use_with tcpd libwrap ) \ - $( use_with textcat ) \ - $( use_with unwind libunwind ) \ - $( use_with zstd ) \ - $( use_enable static-libs static ) \ - ${conf} - - if use sieve || use managesieve; then - # The sieve plugin needs this file to be build to determine the plugin - # directory and the list of libraries to link to. - emake dovecot-config - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - econf \ - $( use_enable static-libs static ) \ - --localstatedir="${EPREFIX}/var" \ - --enable-shared \ - --with-dovecot="${S}" \ - $( use_with ldap ) \ - $( use_with managesieve ) - fi -} - -src_compile() { - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" - fi -} - -src_test() { - # bug #340791 and bug #807178 - local -x NOVALGRIND=true - - default - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - default - fi -} - -src_install() { - default - - if use suid; then - einfo "Changing perms to allow deliver to be suided" - fowners root:mail "/usr/libexec/dovecot/dovecot-lda" - fperms 4750 "/usr/libexec/dovecot/dovecot-lda" - fi - - newinitd "${FILESDIR}"/dovecot.init-r6 dovecot - - rm -rf "${ED}"/usr/share/doc/dovecot - - dodoc AUTHORS NEWS README TODO - dodoc doc/*.{txt,cnf,xml,sh} - docinto example-config - dodoc doc/example-config/*.{conf,ext} - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.{conf,ext} - docinto wiki - dodoc doc/wiki/* - doman doc/man/*.{1,7} - - # Create the dovecot.conf file from the dovecot-example.conf file that - # the dovecot folks nicely left for us.... - local conf="${ED}/etc/dovecot/dovecot.conf" - local confd="${ED}/etc/dovecot/conf.d" - - insinto /etc/dovecot - doins doc/example-config/*.{conf,ext} - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/*.{conf,ext} - fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext - rm -f "${confd}/../README" - - # .maildir is the Gentoo default - local mail_location="maildir:~/.maildir" - sed -i -e \ - "s|#mail_location =|mail_location = ${mail_location}|" \ - "${confd}/10-mail.conf" \ - || die "failed to update mail location settings in 10-mail.conf" - - # We're using pam files (imap and pop3) provided by mailbase - if use pam; then - sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ - "${confd}/auth-system.conf.ext" \ - || die "failed to update PAM settings in auth-system.conf.ext" - # mailbase does not provide a sieve pam file - use managesieve && dosym imap /etc/pam.d/sieve - sed -i -e \ - 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update PAM settings in 10-auth.conf" - fi - - # Update ssl cert locations - sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ - || die "ssl conf failed" - sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ - -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ - "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" - - # Install SQL configuration - if use mysql || use postgres; then - sed -i -e \ - 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ - "${confd}/10-auth.conf" || die "failed to update SQL settings in \ - 10-auth.conf" - fi - - # Install LDAP configuration - if use ldap; then - sed -i -e \ - 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ - "${confd}/10-auth.conf" \ - || die "failed to update ldap settings in 10-auth.conf" - fi - - if use sieve || use managesieve; then - cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" - emake DESTDIR="${ED}" install - sed -i -e \ - 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ - || die "failed to update sieve settings in 15-lda.conf" - rm -rf "${ED}"/usr/share/doc/dovecot - docinto example-config/conf.d - dodoc doc/example-config/conf.d/*.conf - insinto /etc/dovecot/conf.d - doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf - use managesieve && doins doc/example-config/conf.d/20-managesieve.conf - docinto sieve/rfc - dodoc doc/rfc/*.txt - docinto sieve/devel - dodoc doc/devel/DESIGN - docinto plugins - dodoc doc/plugins/*.txt - docinto extensions - dodoc doc/extensions/*.txt - docinto locations - dodoc doc/locations/*.txt - doman doc/man/*.{1,7} - fi - - use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete -} - -pkg_postinst() { - # Let's not make a new certificate if we already have one - if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ - -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then - einfo "Creating SSL certificate" - SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" - install_cert /etc/ssl/dovecot/server - fi -} diff --git a/net-mail/ezmlm-idx/Manifest b/net-mail/ezmlm-idx/Manifest index 503efebe549a..bc6adb7ffbbd 100644 --- a/net-mail/ezmlm-idx/Manifest +++ b/net-mail/ezmlm-idx/Manifest @@ -1,2 +1 @@ -DIST ezmlm-idx-7.0.0.tar.gz 689019 BLAKE2B 22c66a4a2fcc6c0c754061ff0d93bde8fd192266112da0516e936278610288dc11d44d1959cd135a90eacb4befa43d62f53b3bedb94e994afc13aed986834bce SHA512 c0fc35aef4a72aefa4cdaee4c1933cc00aab82ee81ad7577793952fbf57106c06e4a5844a2bbf3919ad2985d2062ba1edf8831e6aa66d7e762210e7e147210ef DIST ezmlm-idx-7.2.2.tar.gz 742451 BLAKE2B fd40b1216d34eba253ef00a53366c8a5f2d19edd9ef20ddea3047a6837263589ac8fc4911820836b49bf4c95b99a1c99d3d2808bc90dd8eb58bc262e6acc74d7 SHA512 4fdd30d6dc254fd0353f34675ea8baa91d95860de1fb23ff5517280c75a8d87405bdd7e180e25eb8f5c0b152a35a11a939f4e7364596e83d81053b1e6019245c diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild deleted file mode 100644 index 8abe4c595229..000000000000 --- a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmail toolchain-funcs - -DESCRIPTION="Simple yet powerful mailing list manager for qmail" -HOMEPAGE="http://www.ezmlm.org" -SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~mips sparc x86" -IUSE="mysql postgres" - -DEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:* )" -RDEPEND="${DEPEND} - virtual/qmail" -REQUIRED_USE="?? ( mysql postgres )" - -PATCHES=( "${FILESDIR}/${PN}-7.0.0-fno-common.patch" ) - -src_prepare() { - default - echo /usr/bin > conf-bin || die - echo /usr/$(get_libdir)/ezmlm > conf-lib || die - echo /etc/ezmlm > conf-etc || die - echo /usr/share/man > conf-man || die - echo ${QMAIL_HOME} > conf-qmail || die - - echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc || die - echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld || die - - # fix DESTDIR and skip cat man-pages - sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \ - -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ - -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ - -i Makefile || die -} - -src_compile() { - emake it man - - if use mysql; then - emake mysql - elif use postgres; then - emake pgsql - fi -} - -src_install() { - dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man - dobin ezmlm-{cgi,checksub,import,rmtab} - - make DESTDIR="${D}" setup || die "make setup failed" -} diff --git a/net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch b/net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch deleted file mode 100644 index 11e4cb5d3533..000000000000 --- a/net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch +++ /dev/null @@ -1,40 +0,0 @@ -fix build with -fno-common - ---- a/ezmlm-get.c 2021-05-24 12:07:05.245657000 +0200 -+++ b/ezmlm-get.c 2021-05-24 12:07:11.477657000 +0200 -@@ -125,7 +125,7 @@ - - int act = AC_NONE; /* Action we do */ - int flageditor = 0; /* if we're invoked for within dir/editor */ --struct stat st; -+static struct stat st; - - int flaglocked = 0; /* if directory is locked */ - int flagq = 0; /* don't use 'quoted-printable' */ -@@ -157,7 +157,7 @@ - substdio ssindex; - char indexbuf[1024]; - --int fdlock; -+static int fdlock; - - void lockup(void) - /* lock unless locked */ ---- a/idxthread.c 2021-05-24 12:06:55.169657000 +0200 -+++ b/idxthread.c 2021-05-24 12:07:09.197657000 +0200 -@@ -39,13 +39,13 @@ - - static char strnum[FMT_ULONG]; - --struct stat st; -+static struct stat st; - /* if no data, these may be the entire table, so */ - /* need to be static */ - static subentry sdummy; - static authentry adummy; - --int fdlock; -+static int fdlock; - - /* NOTE: These do NOT prevent double locking */ - static void lockup(void) diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest index 25c3e5d211d9..59b3c90fcbca 100644 --- a/net-mail/fetchmail/Manifest +++ b/net-mail/fetchmail/Manifest @@ -1,2 +1,2 @@ -DIST fetchmail-6.4.37.tar.xz 1202860 BLAKE2B 4dc7d116e9dc32c2ff070f669306d9f2c0f93d5638b748d7362d6c9ab8684ae7ed8e26278ecf63bf23e2fff27916f83f7287aff891bd90bad82793bb84775c40 SHA512 99a620380d9bd0713d76495f587adbcc95fc16e5fcb048dc528f3039ebd8fcfbb1e2f44e10fc25f70e50940ce89922ff39f1f3d724d1f47a8d4918a37c07d8d0 DIST fetchmail-6.4.38.tar.xz 1220892 BLAKE2B 6bb743b0e1f47143f69e3790ba2ad8849d2ec216c5fd7cc427a737e00183f2e3a65007df9dc5ffdebd991bd13e079a501519b271d02b1fd75151032d74e84dd2 SHA512 f58ab1275ceab2d11df590d32f5f59a8eb656ddab13bc47ffee8962aed53ce0509aa2cc100d5d67e59dac76c2d8159655a702e0c3f454d218b070129f785be59 +DIST fetchmail-6.4.39.tar.xz 1221596 BLAKE2B 2d03f6668d2882e7dd1d4e83e8643a2a4c81576a143c75ff1b24327873fa6112fa313f9723373a268e04697b76b3b638cbbd7a04c21cba946cd1532b6aaf201d SHA512 979721aead72c9b706f9c64a83cf78a91890f5a2dce235b3b4f0dbdb17e879eaef2fb9a08efb415cb288ebee07c915adc8025a6d2d11f532fb95a9e30f93f7f5 diff --git a/net-mail/fetchmail/fetchmail-6.4.38.ebuild b/net-mail/fetchmail/fetchmail-6.4.38.ebuild index 0865aa799592..4e54fbf85754 100644 --- a/net-mail/fetchmail/fetchmail-6.4.38.ebuild +++ b/net-mail/fetchmail/fetchmail-6.4.38.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" LICENSE="GPL-2 public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" IUSE="ssl nls kerberos tk selinux socks" RDEPEND="acct-user/fetchmail diff --git a/net-mail/fetchmail/fetchmail-6.4.37.ebuild b/net-mail/fetchmail/fetchmail-6.4.39.ebuild index a3287d80a52f..4e54fbf85754 100644 --- a/net-mail/fetchmail/fetchmail-6.4.37.ebuild +++ b/net-mail/fetchmail/fetchmail-6.4.39.ebuild @@ -11,17 +11,12 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" LICENSE="GPL-2 public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" IUSE="ssl nls kerberos tk selinux socks" RDEPEND="acct-user/fetchmail - ssl? ( - >=dev-libs/openssl-1.1.1:= - ) - kerberos? ( - virtual/krb5 - >=dev-libs/openssl-1.0.2:= - ) + ssl? ( >=dev-libs/openssl-3.0.9:= ) + kerberos? ( virtual/krb5 ) nls? ( virtual/libintl ) !elibc_glibc? ( sys-fs/e2fsprogs ) socks? ( net-proxy/dante )" @@ -31,6 +26,8 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" RDEPEND+=" selinux? ( sec-policy/selinux-fetchmail )" +REQUIRED_USE="kerberos? ( ssl )" + DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO" HTML_DOCS="*.html" PATCHES=( @@ -52,7 +49,6 @@ src_configure() { --enable-SDPS \ $(use_enable nls) \ $(use_with ssl ssl "${EPREFIX}/usr") \ - $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \ $(use_with kerberos gssapi) \ $(use_with kerberos kerberos5) \ --without-hesiod \ diff --git a/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild b/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild deleted file mode 100644 index 3ad5e5bfb620..000000000000 --- a/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools - -DESCRIPTION="A mail notification program" -HOMEPAGE="http://gnubiff.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug fam nls password" - -RDEPEND=" - >=x11-libs/gtk+-3:3 - >=gnome-base/libglade-2.3 - dev-libs/popt - password? ( dev-libs/openssl:0= ) - fam? ( virtual/fam ) - x11-libs/libX11 - x11-libs/pango - x11-libs/gdk-pixbuf -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -DOCS="AUTHORS ChangeLog NEWS README THANKS TODO" - -src_prepare() { - eapply -p0 "${FILESDIR}/${PN}-2.2.15-fix-nls.patch" - eapply -p1 "${FILESDIR}/${PN}-2.2.15-gold.patch" - eapply -p0 "${FILESDIR}/${PN}-2.2.15-underlink.patch" - eautoreconf - eapply_user -} - -src_configure() { - # note: --disable-gnome is to avoid deprecated gnome-panel-2.x - econf \ - --disable-gnome \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable fam) \ - $(use_with password) \ - $(use_with password password-string ${RANDOM}${RANDOM}${RANDOM}${RANDOM}) -} diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild index 88183eb75338..9d9856601f62 100644 --- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild +++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,6 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="AGPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" # dev-haskell/dns and dev-haskell/resolv conflict # https://github.com/sol/doctest/issues/119 diff --git a/net-mail/mailbase/mailbase-1.8.1.ebuild b/net-mail/mailbase/mailbase-1.8.1.ebuild index 36be012bf8f8..68a8014156b3 100644 --- a/net-mail/mailbase/mailbase-1.8.1.ebuild +++ b/net-mail/mailbase/mailbase-1.8.1.ebuild @@ -11,7 +11,7 @@ S=${WORKDIR} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="pam" RDEPEND=" diff --git a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild index 13bf27fe826f..99dfe03ede17 100644 --- a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild +++ b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,6 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="AGPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" RDEPEND=" >=dev-haskell/cmdargs-0.10 diff --git a/net-mail/mailfront/mailfront-2.22.ebuild b/net-mail/mailfront/mailfront-2.22-r1.ebuild index 83c2bd634dde..d7880f49f5c7 100644 --- a/net-mail/mailfront/mailfront-2.22.ebuild +++ b/net-mail/mailfront/mailfront-2.22-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -12,7 +12,6 @@ SRC_URI="https://untroubled.org/mailfront/archive/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~sparc ~x86" -IUSE="" DEPEND=">=dev-libs/bglibs-2.04 >=net-libs/cvm-0.81" @@ -20,13 +19,26 @@ RDEPEND="${DEPEND} virtual/qmail net-libs/cvm" +src_prepare() { + default + local sed_args=( + # make compilation more verbose + -e '/exec/ {h;s/exec/echo/g;G}' + # replace AR and be more verbose, bug #792249 + -e "/ar cr/ {h;s/ar/echo &/;G;s:ar:$(tc-getAR):g}" + # replace RANLIB and be more verbose, bug #792252 + -e "/ranlib/ {h;s/ranlib/echo &/;G;s:ranlib:$(tc-getRANLIB):g}" + ) + sed -i "${sed_args[@]}" Makefile || die +} + src_configure() { echo "${EPREFIX}/var/qmail" > conf-qmail || die echo "/var/qmail/bin" > conf-bin || die echo "/usr/$(get_libdir)/mailfront" > conf-modules || die echo "/usr/include" > conf-include || die echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${CFLAGS} -fPIC -shared" > conf-ccso || die + echo "$(tc-getCC) ${CFLAGS} -fPIC -shared ${LDFLAGS}" > conf-ccso || die echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die } 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" diff --git a/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild b/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild deleted file mode 100644 index 38c5e740ce97..000000000000 --- a/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Grep for mbox files" -SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz" -HOMEPAGE="https://datatipp.se/mboxgrep/" - -SLOT="0" -LICENSE="GPL-2+" -KEYWORDS="~amd64 ~ppc x86" -IUSE="dmalloc" - -RDEPEND=" - app-arch/bzip2 - dev-libs/libpcre - sys-libs/zlib - dmalloc? ( dev-libs/dmalloc ) -" -DEPEND=" - ${RDEPEND} -" -PATCHES=( - "${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch - "${FILESDIR}"/${P}-fno-common.patch - "${FILESDIR}"/${P}-ldflags.patch -) - -src_configure() { - econf \ - $(use_with dmalloc no yes) -} - -src_install() { - emake \ - prefix="${D}"/usr \ - mandir="${D}"/usr/share/man \ - infodir="${D}"/usr/share/info \ - install - dodoc ChangeLog NEWS TODO README -} diff --git a/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild b/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild index 0c9276dd5bbf..76324164dbe6 100644 --- a/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild +++ b/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild @@ -5,11 +5,11 @@ EAPI=8 inherit autotools DESCRIPTION="Grep for mbox files" -SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz" HOMEPAGE="https://datatipp.se/mboxgrep/" +SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2+" +SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="dmalloc" diff --git a/net-mail/mess822/Manifest b/net-mail/mess822/Manifest index 776b5f9db09e..aa8db7ce393e 100644 --- a/net-mail/mess822/Manifest +++ b/net-mail/mess822/Manifest @@ -1 +1,2 @@ +DIST mess822-0.58-modern-compilers.patch.xz 3056 BLAKE2B 6c812bc0f05f8e03d81b6067d53dd94c4140cd67aeee23a039db5a87057a883e10c5676b7d352074215667c4d161b721d58610e8036ad3f9c9b4282f924a7287 SHA512 9462668e0d16cb0ece4e72beb23a873c47da1478a1f23b971a484af931135dd97e662a517ae91dd434adcef238f49c55bef08c1172188090f65e420d9afe8cf8 DIST mess822-0.58.tar.gz 64287 BLAKE2B d24c7c6c4d3cfcd21166ba9ac2ec72c0a0dbd05fb8329ac04668d9febe8632f63304342642f8c1a3543d4edd94ee5bcc7a2688ccc6f4afc12bfbd8d38eaccea5 SHA512 5fb30f06dfa08f60dc8760f9c5d692e59397ff848441bc94313a079bac8fb53b779133b48abae9b487dff6fbb277d5210a9690a138366bf4d34f052d661be65e diff --git a/net-mail/mess822/files/mess822-0.58-implicit.patch b/net-mail/mess822/files/mess822-0.58-implicit.patch deleted file mode 100644 index 586a59bbb188..000000000000 --- a/net-mail/mess822/files/mess822-0.58-implicit.patch +++ /dev/null @@ -1,66 +0,0 @@ -commit 43f63356fec31e46dfc5ab4574bb62cd75b35dfe -Author: Eray Aslan <eras@gentoo.org> -Date: Mon Jun 6 17:19:48 2011 +0300 - - Fix missing includes - -diff --git a/addrlist.c b/addrlist.c -index fe196c8..a2ae631 100644 ---- a/addrlist.c -+++ b/addrlist.c -@@ -3,6 +3,7 @@ - #include "subfd.h" - #include "getln.h" - #include "mess822.h" -+#include "exit.h" - - #define FATAL "addrlist: fatal: " - -diff --git a/leapsecs_read.c b/leapsecs_read.c -index 62c8712..ff2ec23 100644 ---- a/leapsecs_read.c -+++ b/leapsecs_read.c -@@ -1,6 +1,7 @@ - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> -+#include <stdlib.h> - #include <errno.h> - extern int errno; - #include "tai.h" -diff --git a/parsedate.c b/parsedate.c -index 06f1d57..e90e198 100644 ---- a/parsedate.c -+++ b/parsedate.c -@@ -6,6 +6,7 @@ - #include "leapsecs.h" - #include "caltime.h" - #include "tai.h" -+#include "exit.h" - - #define FATAL "parsedate: fatal: " - -diff --git a/quote.c b/quote.c -index 7d21ac0..e8c7aa2 100644 ---- a/quote.c -+++ b/quote.c -@@ -2,6 +2,7 @@ - #include "subfd.h" - #include "substdio.h" - #include "strerr.h" -+#include "exit.h" - - #define FATAL "quote: fatal: " - -diff --git a/tokenize.c b/tokenize.c -index 667987d..840a220 100644 ---- a/tokenize.c -+++ b/tokenize.c -@@ -3,6 +3,7 @@ - #include "subfd.h" - #include "getln.h" - #include "mess822.h" -+#include "exit.h" - - #define FATAL "tokenize: fatal: " - diff --git a/net-mail/mess822/mess822-0.58-r2.ebuild b/net-mail/mess822/mess822-0.58-r2.ebuild deleted file mode 100644 index e915480ec24b..000000000000 --- a/net-mail/mess822/mess822-0.58-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Collection of utilities for parsing Internet mail messages" -SRC_URI="http://cr.yp.to/software/${P}.tar.gz" -HOMEPAGE="http://cr.yp.to/mess822.html" - -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" -LICENSE="public-domain" -RESTRICT="test" - -RDEPEND="sys-apps/sed" - -PATCHES=( - "${FILESDIR}"/${P}-implicit.patch -) - -src_prepare() { - default - - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die - echo "/usr" > conf-home || die - - # fix errno.h problem; bug #26165 - sed -i 's/^extern int errno;/#include <errno.h>/' error.h || die - - sed -i -e "s/ar/$(tc-getAR)/" make-makelib.sh || die - sed -i -e "s/ranlib/$(tc-getRANLIB)/" make-makelib.sh || die -} - -src_install() { - dodir /etc - dodir /usr/share - - # Now that the commands are compiled, update the conf-home file to point - # to the installation image directory. - echo "${ED}/usr/" > conf-home || die - sed -i -e "s:\"/etc\":\"${ED}/etc\":" hier.c || die "sed hier.c failed" - - emake setup - - # Move the man pages into /usr/share/man - mv "${ED}/usr/man" "${ED}/usr/share/" || die - - dodir /usr/$(get_libdir) - mv "${ED}/usr/lib/${PN}.a" "${ED}/usr/$(get_libdir)/${PN}.a" || die - rmdir "${ED}/usr/lib" || die - dodoc BLURB CHANGES INSTALL README THANKS TODO VERSION -} diff --git a/net-mail/mess822/mess822-0.58-r3.ebuild b/net-mail/mess822/mess822-0.58-r3.ebuild new file mode 100644 index 000000000000..601120d52ef7 --- /dev/null +++ b/net-mail/mess822/mess822-0.58-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Collection of utilities for parsing Internet mail messages" +HOMEPAGE="https://cr.yp.to/mess822.html" +SRC_URI=" + https://cr.yp.to/software/${P}.tar.gz + https://dev.gentoo.org/~arkamar/distfiles/${P}-modern-compilers.patch.xz +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +RESTRICT="test" + +RDEPEND="sys-apps/sed" + +PATCHES=( + "${WORKDIR}/${P}-modern-compilers.patch" +) + +src_prepare() { + default + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die + echo "/usr" > conf-home || die + + local sed_args=( + -e "s:ar:$(tc-getAR):" + -e "s:ranlib:$(tc-getRANLIB):" + ) + sed -i "${sed_args[@]}" make-makelib.sh || die "sed make-makelib.sh failed" +} + +src_install() { + dodir /etc + dodir /usr/share + + # Now that the commands are compiled, update the conf-home file to point + # to the installation image directory. + echo "${ED}/usr/" > conf-home || die + + local sed_args=( + -e "s:\"/etc\":\"${ED}/etc\":" + -e "s:lib:$(get_libdir):" + -e "s:man:share/man:" + ) + sed -i "${sed_args[@]}" hier.c || die "sed hier.c failed" + + emake setup + + einstalldocs +} diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index 5b8c2b56bc60..a760457e7864 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -1,5 +1,3 @@ DIST mu-1.10.8.tar.xz 570792 BLAKE2B 6e65e77544011d0f6b8fb1a5ac4dfe074fe6af3504e2ce2577185a280af43c8d40e7ec3ed6bde90c6b6c6b4cd678a6ae5bae9430f7c2a03451f3f08fffe1c963 SHA512 d77fe955c44c09272feb7cd903dfc6f2a3b5974b81fef82bdb553ed2079e68451bb1ed11ce338ee2dfe9be835f0d99cb4ce0c4b41f43ecfad76e978732243c71 -DIST mu-1.12.2.tar.xz 708852 BLAKE2B 72b9a0f8acad114d37a6dc7c214df5c6b2f3691f0f35dfe8408b3420e6d06d7e6345cd3db7bc32047c970367ac9d0374551fbbdff3616bcf9c96ebb7f9efcec5 SHA512 8733bdc6bed6e76278f052db8f270178f4ac269d610cd6f2ad44577be9b6fc8daeb85cd650b7ef2a21d141262065ecacdc9177fabd4bbe971d917943a2669b07 -DIST mu-1.12.3.tar.xz 714488 BLAKE2B 2f5ded323d94a028c33c447e877ec3cea3677bf69076893dd6751f69c47764eee2d779c13e8b5c601d0bd04beca4b8cef705a7fd2587fe1f81d22c381debee7a SHA512 27998f65636b42f7933cc39878d8900552aa1c94c90ea54f81d789c01eec5ddfdb93eb508b78a6416497c7c109193e1457b1ff2bafe98aa82ec88a4b5fc03832 DIST mu-1.12.4.tar.xz 715232 BLAKE2B 5886f07ad6fb12d8a538de80c4681cd2ba416da82839519a70676eabd2d2eef1fa1a53d004ab1524966682a4d6c2eef7e67cc4efc6f5e7c380e732b7614de854 SHA512 ddc0430fe41db3639433f60105a67bb184e611d8438a49e51fb9ea4b5b404c270bb78c9165cb3136a3b402a91a65735d917c0868ca4d134f13b4971b028da5b5 -DIST mu-1.12.5.tar.xz 717480 BLAKE2B f67b2231124b48271f3aff27cafa602aa8d6129a1ade7f241c92e28c5d9886b7b4deeeb6473ad5f9d228ae6a3059c915286b42ff60ccb364411a2dd4ee69a195 SHA512 25bdf9898b5058a934618dfd49dbbae56ce9629a10de425f91f7c9c145713d58d3668f09c64bbc854efe7c87e30b09aa080405cbb14d9b6df087d2ed8b3122c5 +DIST mu-1.12.6.tar.xz 719392 BLAKE2B 75afdfa95f6711fb94e40757c23dd404e888610d36c7d6cbf29727770dbe8fcd1a207b7eae7e1cd06dcab2f088eb38cf7d045a59efbfa3e700d85a0e5f95164b SHA512 c3ba7b4c90d2749364f8c414d2eadcc4e6021237416d92cefd4542688b2fdafb1215a7b75b22fcafa68d349a22b69556d707e2c1e2752941e469a9231bb64ced diff --git a/net-mail/mu/files/mu-1.12.2-musl.patch b/net-mail/mu/files/mu-1.12.2-musl.patch deleted file mode 100644 index 35f6017e56f3..000000000000 --- a/net-mail/mu/files/mu-1.12.2-musl.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: https://github.com/djcb/mu/pull/2677 -From: Matthew Smith <matthew@gentoo.org> -Date: Mon, 1 Apr 2024 11:23:39 +0000 -Subject: [PATCH] mu-utils: Fix build with musl - -In musl, `stdout` is a macro that expands to `(stdout)`, and -`::(stdout)` is not valid C++. - -../mu-1.12.2/lib/utils/mu-utils.hh:268:32: error: expected - id-expression before '(' token - 268 | ::stdout); - | ^~~~~~ - -Nothing in the Mu namespace is named stdout, so it is safe to drop -the `::`. - -Bug: https://bugs.gentoo.org/928361 ---- a/lib/utils/mu-utils.hh -+++ b/lib/utils/mu-utils.hh -@@ -265,7 +265,7 @@ bool fputs_encoded (const std::string& str, FILE *stream); - template<typename...T> - static inline bool mu_print_encoded(fmt::format_string<T...> frm, T&&... args) noexcept { - return fputs_encoded(fmt::format(frm, std::forward<T>(args)...), -- ::stdout); -+ stdout); - } - - /** --- -2.44.0 - diff --git a/net-mail/mu/files/mu-1.12.4-timet.patch b/net-mail/mu/files/mu-1.12.4-timet.patch new file mode 100644 index 000000000000..90ee1b60ba15 --- /dev/null +++ b/net-mail/mu/files/mu-1.12.4-timet.patch @@ -0,0 +1,34 @@ +From 075394b35f33bcf684eb0b0023a8640a3ce9c8f5 Mon Sep 17 00:00:00 2001 +From: Matthew Smith <matthew@gentoo.org> +Date: Mon, 26 Aug 2024 14:46:54 +0000 +Subject: [PATCH] lib: use time_t_max for empty datetime + +In Mu::parse_date_time, when provided with an empty string, return +time_t_max instead of G_MAXINT64. For systems with a 64-bit time_t, there +is no difference. With a 32-bit time_t it caused a test to fail: + + not ok /utils/date-basic - ERROR:../mu-1.12.4/lib/utils/tests/test-utils.cc:92 + void test_date_basic(): assertion failed + (parse_date_time(std::get<0>(test), std::get<1>(test)).value_or(-1) + == std::get<2>(test)): (18446744073709551615 == 2147483647) + +This edge case probably only affected the test, as when other parts of +the application call parse_date_time (e.g. mu-server.cc and +mu-query-processor.cc), they check if the input string is empty first. + +Upstream: https://github.com/djcb/mu/pull/2749 +Bug: https://bugs.gentoo.org/933093 +--- a/lib/utils/mu-utils.cc ++++ b/lib/utils/mu-utils.cc +@@ -493,7 +493,7 @@ Mu::parse_date_time(const std::string& dstr, bool is_first, bool utc) + + /* one-sided dates */ + if (dstr.empty()) +- return is_first ? 0 : G_MAXINT64; ++ return is_first ? time_t_min : time_t_max; + else if (dstr == "today" || dstr == "now") + return special_date_time(dstr, is_first); + else if (dstr.find_first_of("ymdwhMs") != std::string::npos) +-- +2.46.0 + diff --git a/net-mail/mu/mu-1.12.2.ebuild b/net-mail/mu/mu-1.12.2.ebuild deleted file mode 100644 index f4e55a3d9779..000000000000 --- a/net-mail/mu/mu-1.12.2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp-common meson - -DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing" -HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu" -SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" -IUSE="emacs readline" - -DEPEND=" - dev-libs/glib:2 - dev-libs/gmime:3.0 - >=dev-libs/xapian-1.4:= - emacs? ( >=app-editors/emacs-25.3:* ) - readline? ( sys-libs/readline:= )" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-apps/texinfo - virtual/pkgconfig -" - -PATCHES=( - # https://bugs.gentoo.org/925503 - "${FILESDIR}"/${PN}-1.12.0-no-python.patch - - # https://bugs.gentoo.org/928361 - "${FILESDIR}"/${PN}-1.12.2-musl.patch -) - -SITEFILE="70mu-gentoo-autoload.el" - -src_prepare() { - default - - # Don't install NEWS.org into /usr/share/doc. - sed -i '/NEWS.org/,+1 d' meson.build || die - sed -i '/mu4e-about.org/d' mu4e/meson.build || die - - # Don't compress the info file. - sed -i '/gzip/d' build-aux/meson-install-info.sh || die - - # Instead, put it in /usr/share/doc/${PF}. - sed -i "/MU_DOC_DIR/s/mu/${PF}/" mu4e/meson.build || die -} - -src_configure() { - local emesonargs=( - $(meson_feature readline) - -Dcld2=disabled - -Demacs="$(usex emacs "${EMACS}" emacs-not-enabled)" - # TODO: revisit this, it's not actually deprecated, just been reworked - -Dguile=disabled - ) - meson_src_configure -} - -src_install() { - meson_src_install - - # Since meson no longer installs NEWS.org, install it with dodoc. - # Also, it must be uncompressed so that it can be viewed with - # mu4e-info. - docompress -x /usr/share/doc/${PF}/NEWS.org - dodoc NEWS.org - - if use emacs; then - # Same as above. - docompress -x /usr/share/doc/${PF}/mu4e-about.org - dodoc mu4e/mu4e-about.org - - elisp-site-file-install "${FILESDIR}"/${SITEFILE} - fi -} - -pkg_preinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - elog "After upgrading from an old major version, you should" - elog "rebuild your mail index." - fi -} - -pkg_postinst() { - if use emacs; then - einfo "To use mu4e you need to configure it in your .emacs file" - einfo "See the manual for more information:" - einfo "https://www.djcbsoftware.nl/code/mu/mu4e/" - - elisp-site-regen - fi -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/net-mail/mu/mu-1.12.3.ebuild b/net-mail/mu/mu-1.12.3.ebuild deleted file mode 100644 index 7f369aaa2f8a..000000000000 --- a/net-mail/mu/mu-1.12.3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit elisp-common meson - -DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing" -HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu" -SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz" - -# mu: GPL-3+ -# + cli11: BSD -# + fmt: MIT -# + tl: CC0-1.0 -# + variant-lite: Boost-1.0 -LICENSE="BSD Boost-1.0 CC0-1.0 GPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" -IUSE="emacs readline" - -DEPEND=" - dev-libs/glib:2 - dev-libs/gmime:3.0 - >=dev-libs/xapian-1.4:= - emacs? ( >=app-editors/emacs-25.3:* ) - readline? ( sys-libs/readline:= )" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-apps/texinfo - virtual/pkgconfig -" - -PATCHES=( - # https://bugs.gentoo.org/925503 - "${FILESDIR}"/${PN}-1.12.0-no-python.patch -) - -SITEFILE="70mu-gentoo-autoload.el" - -src_prepare() { - default - - # Don't install NEWS.org into /usr/share/doc. - sed -i '/NEWS.org/,+1 d' meson.build || die - sed -i '/mu4e-about.org/d' mu4e/meson.build || die - - # Don't compress the info file. - sed -i '/gzip/d' build-aux/meson-install-info.sh || die - - # Instead, put it in /usr/share/doc/${PF}. - sed -i "/MU_DOC_DIR/s/mu/${PF}/" mu4e/meson.build || die -} - -src_configure() { - local emesonargs=( - $(meson_feature readline) - -Dcld2=disabled - -Demacs="$(usex emacs "${EMACS}" emacs-not-enabled)" - # TODO: revisit this, it's not actually deprecated, just been reworked - -Dguile=disabled - ) - meson_src_configure -} - -src_install() { - meson_src_install - - # Since meson no longer installs NEWS.org, install it with dodoc. - # Also, it must be uncompressed so that it can be viewed with - # mu4e-info. - docompress -x /usr/share/doc/${PF}/NEWS.org - dodoc NEWS.org - - if use emacs; then - # Same as above. - docompress -x /usr/share/doc/${PF}/mu4e-about.org - dodoc mu4e/mu4e-about.org - - elisp-site-file-install "${FILESDIR}"/${SITEFILE} - fi -} - -pkg_preinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - elog "After upgrading from an old major version, you should" - elog "rebuild your mail index." - fi -} - -pkg_postinst() { - if use emacs; then - einfo "To use mu4e you need to configure it in your .emacs file" - einfo "See the manual for more information:" - einfo "https://www.djcbsoftware.nl/code/mu/mu4e/" - - elisp-site-regen - fi -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/net-mail/mu/mu-1.12.4.ebuild b/net-mail/mu/mu-1.12.4-r1.ebuild index 23e6d037c065..7d7aa9f54a3f 100644 --- a/net-mail/mu/mu-1.12.4.ebuild +++ b/net-mail/mu/mu-1.12.4-r1.ebuild @@ -34,6 +34,9 @@ BDEPEND=" PATCHES=( # https://bugs.gentoo.org/925503 "${FILESDIR}"/${PN}-1.12.0-no-python.patch + + # https://bugs.gentoo.org/933093 + "${FILESDIR}"/${PN}-1.12.4-timet.patch ) DOC_CONTENTS=" diff --git a/net-mail/mu/mu-1.12.5.ebuild b/net-mail/mu/mu-1.12.6-r1.ebuild index 974051ec7307..d458d77cb7ca 100644 --- a/net-mail/mu/mu-1.12.5.ebuild +++ b/net-mail/mu/mu-1.12.6-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz" # + variant-lite: Boost-1.0 LICENSE="BSD Boost-1.0 CC0-1.0 GPL-3+ MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~riscv x86 ~x64-macos" IUSE="emacs readline" DEPEND=" @@ -34,6 +34,9 @@ BDEPEND=" PATCHES=( # https://bugs.gentoo.org/925503 "${FILESDIR}"/${PN}-1.12.0-no-python.patch + + # https://bugs.gentoo.org/933093 + "${FILESDIR}"/${PN}-1.12.4-timet.patch ) DOC_CONTENTS=" diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild b/net-mail/notmuch/notmuch-0.37-r1.ebuild index 8656ceca062a..2588b2085d3e 100644 --- a/net-mail/notmuch/notmuch-0.37-r1.ebuild +++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild @@ -28,7 +28,7 @@ IUSE="apidoc crypt doc emacs mutt nmbug python test" RESTRICT="!test? ( test )" BDEPEND=" - app-arch/xz-utils[extra-filters(-)] + app-arch/xz-utils[extra-filters(+)] virtual/pkgconfig apidoc? ( app-text/doxygen diff --git a/net-mail/notmuch/notmuch-0.37-r2.ebuild b/net-mail/notmuch/notmuch-0.37-r2.ebuild index 7a7621ec990b..6735eaaf64e8 100644 --- a/net-mail/notmuch/notmuch-0.37-r2.ebuild +++ b/net-mail/notmuch/notmuch-0.37-r2.ebuild @@ -29,7 +29,7 @@ IUSE="apidoc crypt doc emacs mutt nmbug python test" RESTRICT="!test? ( test )" BDEPEND=" - app-arch/xz-utils[extra-filters(-)] + app-arch/xz-utils[extra-filters(+)] virtual/pkgconfig apidoc? ( app-text/doxygen diff --git a/net-mail/notmuch/notmuch-0.38.3.ebuild b/net-mail/notmuch/notmuch-0.38.3.ebuild index 4b36d3821319..efe514b7832b 100644 --- a/net-mail/notmuch/notmuch-0.38.3.ebuild +++ b/net-mail/notmuch/notmuch-0.38.3.ebuild @@ -29,7 +29,7 @@ IUSE="apidoc crypt doc emacs mutt nmbug python test" RESTRICT="!test? ( test )" BDEPEND=" - app-arch/xz-utils[extra-filters(-)] + app-arch/xz-utils[extra-filters(+)] virtual/pkgconfig apidoc? ( app-text/doxygen diff --git a/net-mail/qmail-autoresponder/Manifest b/net-mail/qmail-autoresponder/Manifest index b046daa6407c..0f9054dfd29f 100644 --- a/net-mail/qmail-autoresponder/Manifest +++ b/net-mail/qmail-autoresponder/Manifest @@ -1,2 +1 @@ -DIST qmail-autoresponder-0.97.tar.gz 28158 BLAKE2B b8659f2fd7201a8479b34a43afbbe2efff6a9a72a00167429926564a6323f385b03c3e45c420ac4cea63f52612f9da7acfeacb679f046e1f9019262a9196eb57 SHA512 02bc3afd7a13c9494913986d34c641804c731e26207d32aeff5de36fdbd872d6361872e7ab583d5df1e34fe2a7a35b621337974a2cc71a3283de22f0e6f60916 DIST qmail-autoresponder-2.0.tar.gz 35463 BLAKE2B 1aa724dd2b0fab0ad62136ea4ef9b65fbb2f3ab567c5dc5676c2be3f52969fa9ebd0b5d0997362a47312efadd97898d56c0721f0f430b51f52cfd6357417fd40 SHA512 d1223b65453cb7c88de5b22a20a961441810e6db1d80ca976599b88cc5771602a678599354b11586e56273c02502b621cfffb610e9ff33632e4a7d7c28766ccb diff --git a/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.97-remove-mysql.h.diff b/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.97-remove-mysql.h.diff deleted file mode 100644 index be33e047b16a..000000000000 --- a/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.97-remove-mysql.h.diff +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur qmail-autoresponder-0.97.orig/options.c qmail-autoresponder-0.97/options.c ---- qmail-autoresponder-0.97.orig/options.c 2009-09-26 22:45:17.000000000 +0200 -+++ qmail-autoresponder-0.97/options.c 2009-09-26 22:46:07.000000000 +0200 -@@ -1,4 +1,3 @@ --#include <mysql/mysql.h> - #include <stdlib.h> - #include <string.h> - #include <str/str.h> diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r3.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r3.ebuild deleted file mode 100644 index 599b03e5fdbe..000000000000 --- a/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Rate-limited autoresponder for qmail" -HOMEPAGE="http://untroubled.org/qmail-autoresponder/" -SRC_URI="http://untroubled.org/qmail-autoresponder/archive/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~hppa ~mips ~sparc x86" -IUSE="mysql" - -DEPEND=">=dev-libs/bglibs-1.106 - mysql? ( dev-db/mysql-connector-c:0= )" -RDEPEND=" - ${DEPEND} - virtual/qmail - mysql? ( virtual/mysql ) -" - -src_prepare() { - use mysql || eapply "${FILESDIR}/${PN}-0.97-remove-mysql.h.diff" - default -} - -src_configure() { - echo "/usr/include/bglibs" > conf-bgincs || die - echo "/usr/$(get_libdir)/bglibs" > conf-bglibs || die - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die -} - -src_compile() { - # fails on parallel builds! - make qmail-autoresponder || die "Failed to make qmail-autoresponder" - if use mysql; then - make qmail-autoresponder-mysql || die "Failed to make qmail-autoresponder-mysql" - fi -} - -src_install() { - dobin qmail-autoresponder - doman qmail-autoresponder.1 - if use mysql; then - dobin qmail-autoresponder-mysql - dodoc schema.mysql - fi - - dodoc ANNOUNCEMENT NEWS README TODO ChangeLog procedure.txt -} - -pkg_postinst() { - elog "Please see the README file in /usr/share/doc/${PF}/ for per-user configurations." -} diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-2.0-r1.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-2.0-r1.ebuild index 24c065bf55fd..0bc660b8b6c3 100644 --- a/net-mail/qmail-autoresponder/qmail-autoresponder-2.0-r1.ebuild +++ b/net-mail/qmail-autoresponder/qmail-autoresponder-2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,8 +9,8 @@ DESCRIPTION="Rate-limited autoresponder for qmail" HOMEPAGE="https://untroubled.org/qmail-autoresponder/" SRC_URI="https://untroubled.org/qmail-autoresponder/archive/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2+" +SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~mips ~sparc x86" IUSE="mysql" diff --git a/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild index 8d97d6c4d2d6..25e69a633821 100644 --- a/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild +++ b/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~hppa ~ia64 ~s390 sparc x86" +KEYWORDS="amd64 arm ~hppa ~s390 sparc x86" IUSE="maildrop" # the RESTRICT is because the vpopmail lib directory is locked down # and non-root can't access them. diff --git a/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild index 3f31a2f47e2f..6f3625ed0c9c 100644 --- a/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild +++ b/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" WEBAPP_MANUAL_SLOT="yes" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~hppa ~s390 ~sparc ~x86" IUSE="maildrop" # the RESTRICT is because the vpopmail lib directory is locked down # and non-root can't access them. diff --git a/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild index badd33fa8a37..f08f14473458 100644 --- a/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild +++ b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/qmhandle/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~sparc ~x86" IUSE="" RDEPEND="virtual/qmail diff --git a/net-mail/qmhandle/qmhandle-1.3.2.ebuild b/net-mail/qmhandle/qmhandle-1.3.2.ebuild index 40f5786bb20c..cdbb7f849121 100644 --- a/net-mail/qmhandle/qmhandle-1.3.2.ebuild +++ b/net-mail/qmhandle/qmhandle-1.3.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/qmhandle/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa sparc x86" IUSE="" RDEPEND="virtual/qmail diff --git a/net-mail/queue-fix/queue-fix-1.4-r3.ebuild b/net-mail/queue-fix/queue-fix-1.4-r3.ebuild index a3139ec3bcce..92cf8372129c 100644 --- a/net-mail/queue-fix/queue-fix-1.4-r3.ebuild +++ b/net-mail/queue-fix/queue-fix-1.4-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.netmeridian.com/e-huss/${P}.tar.gz LICENSE="all-rights-reserved public-domain" # includes code from qmail SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa ~m68k ~mips ~s390 sparc x86" RESTRICT="mirror bindist" PDEPEND="virtual/qmail" diff --git a/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild b/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild index 638d88dddaa8..d6e9ed81a525 100644 --- a/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild +++ b/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://pyropus.ca/software/queue-repair/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="test" # no tests diff --git a/net-mail/sendEmail/sendEmail-1.56-r2.ebuild b/net-mail/sendEmail/sendEmail-1.56-r2.ebuild deleted file mode 100644 index b84b856369c7..000000000000 --- a/net-mail/sendEmail/sendEmail-1.56-r2.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}-v${PV}" -DESCRIPTION="Command line based, SMTP email agent" -HOMEPAGE="http://caspian.dotconf.net/menu/Software/SendEmail/" -SRC_URI="http://caspian.dotconf.net/menu/Software/SendEmail/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="ssl" - -RDEPEND=" - dev-lang/perl - ssl? ( dev-perl/IO-Socket-SSL ) -" - -PATCHES=( - "${FILESDIR}"/${PV}-overzealous-version-check.patch - "${FILESDIR}"/${PV}-overzealous-verify-mode-check.patch -) - -src_install() { - dobin sendEmail - dodoc CHANGELOG README TODO -} diff --git a/net-mail/smtptools/smtptools-0.2.3-r1.ebuild b/net-mail/smtptools/smtptools-0.2.3-r1.ebuild index 2ea5806a5d96..d7925e004992 100644 --- a/net-mail/smtptools/smtptools-0.2.3-r1.ebuild +++ b/net-mail/smtptools/smtptools-0.2.3-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.ohse.de/uwe/releases/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 x86" RDEPEND="!net-mail/qtools" PATCHES=( diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild index 770d56b94b2c..b447eb28e0cb 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 arm ~hppa ~ia64 ppc64 ~s390 sparc x86" +KEYWORDS="amd64 arm ~hppa ppc64 ~s390 sparc x86" IUSE="clearpasswd ipalias maildrop mysql postgres spamassassin" REQUIRED_USE="mysql? ( !postgres )" |