Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/fetchmail/
Date: Sat, 30 May 2020 22:51:15
Message-Id: 1590877885.41ee99357cf905d160d239f0e74bfc1dcf0defc0.voyageur@gentoo
1 commit: 41ee99357cf905d160d239f0e74bfc1dcf0defc0
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 30 14:23:26 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Sat May 30 22:31:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ee9935
7
8 net-mail/fetchmail: 6.4.6 bump
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 net-mail/fetchmail/Manifest | 1 +
14 net-mail/fetchmail/fetchmail-6.4.6.ebuild | 107 ++++++++++++++++++++++++++++++
15 2 files changed, 108 insertions(+)
16
17 diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest
18 index e7689acfcf5..0aea9b3017d 100644
19 --- a/net-mail/fetchmail/Manifest
20 +++ b/net-mail/fetchmail/Manifest
21 @@ -2,3 +2,4 @@ DIST fetchmail-6.4.1.tar.xz 1257488 BLAKE2B 101a7c2da7374eb180a4afd576bd436e0742
22 DIST fetchmail-6.4.2.tar.xz 1261472 BLAKE2B 11d00eeef39ceda6374a66909e2f8815c2f22ac7321ccd47eff8387e71056a8094c616f903ac0502a0a0a18929c11d4102d116229f6f875f413e026735040190 SHA512 8ec62a5df81b9b8c5e5479d35a10aded22aca74f671cded339dc7ae1c78d8a8638dfe4f04be35334184b5b27f3fb857402dc5b587cca8ede3f5b9b268b37edc1
23 DIST fetchmail-6.4.3.tar.xz 1261452 BLAKE2B a52adb55153e8b9765cde8fe232a34cdea005d69105337336282e5d16fdd87eb44dde166f3c0a3ac869bce5e53eff2b49db38e80be66bc8bddad9d50ea456df6 SHA512 090647f4c6102048a882ce48d4fd57fe2a02f43ab2cbef9ef6a8874c3e075295f0dc01493deab37e2d47d98f337560c465a37397fd6d9002fa280d88d57564a7
24 DIST fetchmail-6.4.4.tar.xz 1259576 BLAKE2B 8943e3f8d8d2ca853c1e5540c12894d8b932aa1d8866898093f7ad1c5605b8a695c54d6626c91f312d24729c9477f21907dc18ffcc527159a0fac62e5f5edccf SHA512 ea2492ec86974c3d4c7c5f8707e0e12becaa3fe906b618620f129df96e403b8312390e55db8fd8b8a942708154fb90bf936e8d47e6c4d08e3e0dc95c80e8c1ff
25 +DIST fetchmail-6.4.6.tar.xz 1262256 BLAKE2B c5abb5b8b80f2cd61fd3c6c38956c753bb74597c585974d5529c8c7665ef13483b4292c1247df43f8702f8bd3b055b8f77bdfc2ae620bea170e8bd457fec9a49 SHA512 0101c79039c754b55e94181fb6c51f07782e581123e25ac72a99c2abe8f3ac4af3e97b12bab50813fb9300179b921c80d0bc60f528ad73c914ad266e29fb6513
26
27 diff --git a/net-mail/fetchmail/fetchmail-6.4.6.ebuild b/net-mail/fetchmail/fetchmail-6.4.6.ebuild
28 new file mode 100644
29 index 00000000000..0688fb62856
30 --- /dev/null
31 +++ b/net-mail/fetchmail/fetchmail-6.4.6.ebuild
32 @@ -0,0 +1,107 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{6,7,8} )
39 +PYTHON_REQ_USE="tk"
40 +
41 +inherit python-single-r1 systemd toolchain-funcs autotools
42 +
43 +DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
44 +HOMEPAGE="http://www.fetchmail.info/"
45 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
46 +
47 +LICENSE="GPL-2 public-domain"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
50 +IUSE="ssl nls kerberos tk socks libressl"
51 +REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )"
52 +
53 +RDEPEND="acct-user/fetchmail
54 + ssl? (
55 + !libressl? ( >=dev-libs/openssl-1.1.1:= )
56 + libressl? ( dev-libs/libressl:= )
57 + )
58 + kerberos? (
59 + virtual/krb5
60 + !libressl? ( >=dev-libs/openssl-1.0.2:= )
61 + libressl? ( dev-libs/libressl:= )
62 + )
63 + nls? ( virtual/libintl )
64 + !elibc_glibc? ( sys-libs/e2fsprogs-libs )
65 + socks? ( net-proxy/dante )
66 + tk? (
67 + ${PYTHON_DEPS}
68 + $(python_gen_cond_dep '
69 + dev-python/future[${PYTHON_MULTI_USEDEP}]
70 + ')
71 + )"
72 +DEPEND="${RDEPEND}
73 + app-arch/xz-utils
74 + sys-devel/flex
75 + nls? ( sys-devel/gettext )"
76 +
77 +DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO"
78 +HTML_DOCS="*.html"
79 +PATCHES=(
80 + "${FILESDIR}"/${PN}-6.3.26-python-optional.patch
81 +)
82 +S=${WORKDIR}/${P/_/.}
83 +
84 +pkg_setup() {
85 + use tk && python-single-r1_pkg_setup
86 +}
87 +
88 +src_prepare() {
89 + default
90 + # don't compile during src_install
91 + use tk && : > "${S}"/py-compile
92 + eautoreconf
93 +}
94 +
95 +src_configure() {
96 + use tk || export PYTHON=:
97 +
98 + econf \
99 + --enable-RPA \
100 + --enable-NTLM \
101 + --enable-SDPS \
102 + $(use_enable nls) \
103 + $(use_with ssl ssl "${EPREFIX}/usr") \
104 + $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
105 + $(use_with kerberos gssapi) \
106 + $(use_with kerberos kerberos5) \
107 + --without-hesiod \
108 + $(use_with socks)
109 +}
110 +
111 +src_compile() {
112 + emake AR="$(tc-getAR)"
113 +}
114 +
115 +src_install() {
116 + default
117 +
118 + newinitd "${FILESDIR}"/fetchmail.initd fetchmail
119 + newconfd "${FILESDIR}"/fetchmail.confd fetchmail
120 +
121 + systemd_dounit "${FILESDIR}"/${PN}.service
122 + systemd_newunit "${FILESDIR}"/${PN}_at.service "${PN}@.service"
123 + systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
124 +
125 + docinto contrib
126 + local f
127 + for f in contrib/* ; do
128 + [ -f "${f}" ] && dodoc "${f}"
129 + done
130 +
131 + use tk && python_optimize
132 +}
133 +
134 +pkg_postinst() {
135 + if [[ -z ${REPLACING_VERSIONS} ]]; then
136 + elog "Please see /etc/conf.d/fetchmail if you want to adjust"
137 + elog "the polling delay used by the fetchmail init script."
138 + fi
139 +}