From dfcd4678edd09ba6315f6d4fd358455772e2f957 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Sat, 21 Aug 2021 18:07:08 +0200 Subject: net-mail/fetchmail: 6.4.21 direct stable bump This is a regression fix on security stable 6.4.20, see upstream README Bug: https://bugs.gentoo.org/804921 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --force Signed-off-by: Bernard Cafarelli --- net-mail/fetchmail/Manifest | 2 +- net-mail/fetchmail/fetchmail-6.4.20.ebuild | 107 ----------------------------- net-mail/fetchmail/fetchmail-6.4.21.ebuild | 107 +++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+), 108 deletions(-) delete mode 100644 net-mail/fetchmail/fetchmail-6.4.20.ebuild create mode 100644 net-mail/fetchmail/fetchmail-6.4.21.ebuild (limited to 'net-mail') diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest index 5ad88e72b6a0..9afaec82dc0b 100644 --- a/net-mail/fetchmail/Manifest +++ b/net-mail/fetchmail/Manifest @@ -1,2 +1,2 @@ -DIST fetchmail-6.4.20.tar.xz 1317204 BLAKE2B 85137bdae2fda05cba6e9bee9056bb9a1ef09b96199dc5f991da9aa5c2073f1c8cbf3fae43999a79de338a95e9d28e474035200758b65ffa9fa18b5a905c1279 SHA512 5b170f51a74b6596020282f5cbb34bf0a9ea8c5b089fd8c6c72df6c7742e16bcd5931d62181d56265779f9c3431c4ddf795a03deee09c5552a3aa0601282bd17 +DIST fetchmail-6.4.21.tar.xz 1318996 BLAKE2B 4c2befad2b7dfa6957889e029572c259be7a20e4b54b864e2cca827540d745a57ad227f8e1fce1336e8f3a1005c780d8fa7c1b10b9ee05ce68dbcfac75afa179 SHA512 c9300f63c0e4073f199a9a7d9061774a7f88aad496b696cad96c0ee85107cae506461f0cd083903c60104b1e7654461213f3f759c1cdaffaf1c85fb1956faa67 DIST fetchmail-7.0.0-alpha9.tar.xz 1213244 BLAKE2B 895fe178993cc34500e276bef5ebe9a4fd81fea522d39fd271433320afc46faa9657d8b85b2d28cd5dbc6d3dbbb233d5eb27d3e26205f5406de9f750c50d7f1b SHA512 7ac1c26edfd2a0d69ba3c1e9f47d96aa48f1cdc10060ff928f952e43141651896f5c5190c41064075fb5c5837516f63d6ff3e7fb0cdc7d389c44b6e39db01d8f diff --git a/net-mail/fetchmail/fetchmail-6.4.20.ebuild b/net-mail/fetchmail/fetchmail-6.4.20.ebuild deleted file mode 100644 index e2ab38dd186c..000000000000 --- a/net-mail/fetchmail/fetchmail-6.4.20.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) -PYTHON_REQ_USE="tk" - -inherit autotools python-single-r1 systemd tmpfiles toolchain-funcs - -DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" -HOMEPAGE="https://www.fetchmail.info/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" - -LICENSE="GPL-2 public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="ssl nls kerberos tk socks" -REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="acct-user/fetchmail - ssl? ( - >=dev-libs/openssl-1.1.1:= - ) - kerberos? ( - virtual/krb5 - >=dev-libs/openssl-1.0.2:= - ) - nls? ( virtual/libintl ) - !elibc_glibc? ( sys-libs/e2fsprogs-libs ) - socks? ( net-proxy/dante ) - tk? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/future[${PYTHON_USEDEP}] - ') - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - sys-devel/flex - nls? ( sys-devel/gettext )" - -DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO" -HTML_DOCS="*.html" -PATCHES=( - "${FILESDIR}"/${PN}-6.3.26-python-optional.patch -) -S=${WORKDIR}/${P/_/.} - -pkg_setup() { - use tk && python-single-r1_pkg_setup -} - -src_prepare() { - default - # don't compile during src_install - use tk && : > "${S}"/py-compile - eautoreconf -} - -src_configure() { - use tk || export PYTHON=: - - econf \ - --enable-RPA \ - --enable-NTLM \ - --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 \ - $(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 - - use tk && python_optimize -} - -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 -} diff --git a/net-mail/fetchmail/fetchmail-6.4.21.ebuild b/net-mail/fetchmail/fetchmail-6.4.21.ebuild new file mode 100644 index 000000000000..e2ab38dd186c --- /dev/null +++ b/net-mail/fetchmail/fetchmail-6.4.21.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_REQ_USE="tk" + +inherit autotools python-single-r1 systemd tmpfiles toolchain-funcs + +DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" +HOMEPAGE="https://www.fetchmail.info/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="GPL-2 public-domain" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="ssl nls kerberos tk socks" +REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="acct-user/fetchmail + ssl? ( + >=dev-libs/openssl-1.1.1:= + ) + kerberos? ( + virtual/krb5 + >=dev-libs/openssl-1.0.2:= + ) + nls? ( virtual/libintl ) + !elibc_glibc? ( sys-libs/e2fsprogs-libs ) + socks? ( net-proxy/dante ) + tk? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/future[${PYTHON_USEDEP}] + ') + )" +DEPEND="${RDEPEND} + app-arch/xz-utils + sys-devel/flex + nls? ( sys-devel/gettext )" + +DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO" +HTML_DOCS="*.html" +PATCHES=( + "${FILESDIR}"/${PN}-6.3.26-python-optional.patch +) +S=${WORKDIR}/${P/_/.} + +pkg_setup() { + use tk && python-single-r1_pkg_setup +} + +src_prepare() { + default + # don't compile during src_install + use tk && : > "${S}"/py-compile + eautoreconf +} + +src_configure() { + use tk || export PYTHON=: + + econf \ + --enable-RPA \ + --enable-NTLM \ + --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 \ + $(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 + + use tk && python_optimize +} + +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 +} -- cgit v1.2.3-65-gdbad