commit:     b99799513c63bce29fc8c0e5372913774a793665
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  4 12:28:55 2025 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Oct  4 12:28:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9979951

net-mail/fetchmail: add 6.5.6

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-mail/fetchmail/Manifest               |  1 +
 net-mail/fetchmail/fetchmail-6.5.6.ebuild | 86 +++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest
index 4b44b1103a11..807c7c6d491c 100644
--- a/net-mail/fetchmail/Manifest
+++ b/net-mail/fetchmail/Manifest
@@ -1,2 +1,3 @@
 DIST fetchmail-6.5.4.tar.xz 1114764 BLAKE2B 
f443ff50244c78de82974612a615983e175d78288705ec95b982244d595185790dbecd43e10de0d917f677fe4a6c8df88d60bd96e7ef871067d91561e9a4f9c3
 SHA512 
6d8764119636f8f5b60d1f1878c151bbdca1fbda60b24e8695c8a54656003c4bb83950fec40f349d2e0a4ab45511b89fc45a0e898d362363d5f609ca1926a57c
 DIST fetchmail-6.5.5.tar.xz 1048344 BLAKE2B 
73d7dafb33dd6d8efd70c4d4ab7cb6d43d8fc41b66eef9facdd2ac27300e9ff94b0a40b5c49d6fa6a91bd0625243f6805f7dbc681e851ead9910d2507914d16e
 SHA512 
1e76db14b006b798237b524616f2bc4a26b01eef9867aa8d4b3cd4d245c60fb16e79d71f392635a8feee53c7d8ee452fe36eaf3283fc157ba3b2542be5ce6198
+DIST fetchmail-6.5.6.tar.xz 1061804 BLAKE2B 
cef4a2d2f7611cea3ab689c3cd6cedd7f598fef7f28908621b74d788fa8a3b747fb5b70fb3637052bce4f75eaa35f910ea7c41444becf9330248a6548a6cc984
 SHA512 
6f18a084319acf5a12e03dcd30607ebba28df0d8cf879e3dbe84d44aacdc2c07f0b4cf68e9521716e2d098f48a4d181071373d0229b3ca97d641bdf8d4e75294

diff --git a/net-mail/fetchmail/fetchmail-6.5.6.ebuild 
b/net-mail/fetchmail/fetchmail-6.5.6.ebuild
new file mode 100644
index 000000000000..260d43b82413
--- /dev/null
+++ b/net-mail/fetchmail/fetchmail-6.5.6.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd tmpfiles toolchain-funcs
+
+DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
+HOMEPAGE="https://www.fetchmail.info/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz";
+S=${WORKDIR}/${P/_/.}
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+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-3.0.9:= )
+       kerberos? ( virtual/krb5 )
+       nls? ( virtual/libintl )
+       !elibc_glibc? ( sys-fs/e2fsprogs )
+       socks? ( net-proxy/dante )"
+DEPEND="${RDEPEND}
+       app-arch/xz-utils
+       app-alternatives/lex
+       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=(
+       "${FILESDIR}"/${PN}-6.3.26-python-optional.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       export PYTHON=:
+
+       econf \
+               --enable-RPA \
+               --enable-NTLM \
+               --enable-SDPS \
+               $(use_enable nls) \
+               $(use_with ssl ssl "${EPREFIX}/usr") \
+               $(use_with kerberos gssapi) \
+               $(use_with kerberos kerberos5) \
+               --without-hesiod \
+               $(use_with socks)
+}
+
+src_compile() {
+       emake AR="$(tc-getAR)"
+}
+
+src_install() {
+       default
+
+       newinitd "${FILESDIR}"/fetchmail.initd fetchmail
+       newconfd "${FILESDIR}"/fetchmail.confd fetchmail
+
+       systemd_dounit  "${FILESDIR}"/${PN}.service
+       systemd_newunit "${FILESDIR}"/${PN}_at.service "${PN}@.service"
+       dotmpfiles "${FILESDIR}"/${PN}.conf
+
+       docinto contrib
+       local f
+       for f in contrib/* ; do
+               [ -f "${f}" ] && dodoc "${f}"
+       done
+}
+
+pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+
+       if [[ -z ${REPLACING_VERSIONS} ]]; then
+               elog "Please see /etc/conf.d/fetchmail if you want to adjust"
+               elog "the polling delay used by the fetchmail init script."
+       fi
+}

Reply via email to