commit: fc2807589a31be79e0aff9a2fdb854f0ef272d90 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Tue Nov 12 09:08:47 2024 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Tue Nov 12 09:13:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc280758
net-mail/fetchmail: add 6.5.0 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> net-mail/fetchmail/Manifest | 1 + net-mail/fetchmail/fetchmail-6.5.0.ebuild | 86 +++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest index 59b3c90fcbca..01b65660b452 100644 --- a/net-mail/fetchmail/Manifest +++ b/net-mail/fetchmail/Manifest @@ -1,2 +1,3 @@ DIST fetchmail-6.4.38.tar.xz 1220892 BLAKE2B 6bb743b0e1f47143f69e3790ba2ad8849d2ec216c5fd7cc427a737e00183f2e3a65007df9dc5ffdebd991bd13e079a501519b271d02b1fd75151032d74e84dd2 SHA512 f58ab1275ceab2d11df590d32f5f59a8eb656ddab13bc47ffee8962aed53ce0509aa2cc100d5d67e59dac76c2d8159655a702e0c3f454d218b070129f785be59 DIST fetchmail-6.4.39.tar.xz 1221596 BLAKE2B 2d03f6668d2882e7dd1d4e83e8643a2a4c81576a143c75ff1b24327873fa6112fa313f9723373a268e04697b76b3b638cbbd7a04c21cba946cd1532b6aaf201d SHA512 979721aead72c9b706f9c64a83cf78a91890f5a2dce235b3b4f0dbdb17e879eaef2fb9a08efb415cb288ebee07c915adc8025a6d2d11f532fb95a9e30f93f7f5 +DIST fetchmail-6.5.0.tar.xz 1108148 BLAKE2B 4863ab9cfcdc8678654d9715562daaf9a0e41d42cb727559e3039345f18a10aba08c122ff1f68ee356f1479af64bc534dba76fb9f1be99d449cf28bf823a3565 SHA512 ae69196b572c4a849a98bb66b672a68b6c984657b317d1d7048c9772a0d40bcb0105be05acc2d11383b65c5972a1a80e44dc4b05f2d5a3d2315f31eb493600c8 diff --git a/net-mail/fetchmail/fetchmail-6.5.0.ebuild b/net-mail/fetchmail/fetchmail-6.5.0.ebuild new file mode 100644 index 000000000000..833150d00654 --- /dev/null +++ b/net-mail/fetchmail/fetchmail-6.5.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 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 +}
