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: Tue, 31 Jan 2023 17:53:17
Message-Id: 1675187590.201befbad99ea42353dd8e72f1464239eddc8cdf.voyageur@gentoo
1 commit: 201befbad99ea42353dd8e72f1464239eddc8cdf
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 17:52:30 2023 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 17:53:10 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201befba
7
8 net-mail/fetchmail: add 6.4.36
9
10 This drops fetchmailconf tool (and USE=tk)
11
12 Closes: https://bugs.gentoo.org/888295
13 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
14
15 net-mail/fetchmail/Manifest | 1 +
16 net-mail/fetchmail/fetchmail-6.4.36.ebuild | 89 ++++++++++++++++++++++++++++++
17 2 files changed, 90 insertions(+)
18
19 diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest
20 index ecaa61c06576..1638f11b87c9 100644
21 --- a/net-mail/fetchmail/Manifest
22 +++ b/net-mail/fetchmail/Manifest
23 @@ -1,3 +1,4 @@
24 DIST fetchmail-6.4.27.tar.xz 1326668 BLAKE2B fb349f8e4b17929d8ab5ec144e2d6e4227b56143112eb3745830c339f8dfdaa80fb47060ad3671258563198ed1283a903fcd5a82564b7320a829ceb4c5826642 SHA512 75650c2a8bcfa6f4364dacd6964f00848a23e1bc96eed10f7fcfd9c8c6f6b6fe60eee2730c57c8a5263c11f01b3031cbef7d6b2bffa730de63e7ec262448af2f
25 DIST fetchmail-6.4.33.tar.xz 1330708 BLAKE2B ca76a4315c47013edc27859f4e6a16eec2564718a04bc82e5df72520b1dfabd3c746cabc5eb01c24f1fb552a0a9ea55eb8d659c9b4f6c313c8d993baa88635e6 SHA512 b95b89eaecdc98a92e1542f1bbdc6e1e51d38d392b564462413b602b3d5ebb004e4f4354694e369e6aceb6724753db55957e31a290e231fded74f1f523af41ac
26 DIST fetchmail-6.4.34.tar.xz 1331428 BLAKE2B 796972391a0ac2c71382aaaad3d75fd5c10ddcc58807f6c7ef9940907779e0ec0a8403e077b24afd50e1a7df0646e852cba02ba314e99ea423904e9f8288df01 SHA512 5ebb11dad48736647c879a81826a57719978029833254b67df6bd571842bcfe552589d49161e55b22a565728902558ace6fec9d9783392383da1a3150fb677b6
27 +DIST fetchmail-6.4.36.tar.xz 1203448 BLAKE2B eb2f68d8e9254bd1cabb20aa8058326ee1c1e6819fc2ce011943708018b455d4259a2cf21d6eec0a4898ee1768c14f32d3617302ad418ccfbf6746c75c92c1fa SHA512 c9658f7b79de5e4f1dcaee4eee9b3a0039295e9dff8be1fb6c4ad0c3513b9c2bd14dce58e9cbca974716dd805621c83948168659345c7c190f3cb6f06b544b5d
28
29 diff --git a/net-mail/fetchmail/fetchmail-6.4.36.ebuild b/net-mail/fetchmail/fetchmail-6.4.36.ebuild
30 new file mode 100644
31 index 000000000000..524c47fe5b3b
32 --- /dev/null
33 +++ b/net-mail/fetchmail/fetchmail-6.4.36.ebuild
34 @@ -0,0 +1,89 @@
35 +# Copyright 1999-2023 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit autotools systemd tmpfiles toolchain-funcs
41 +
42 +DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
43 +HOMEPAGE="https://www.fetchmail.info/"
44 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
45 +
46 +LICENSE="GPL-2 public-domain"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
49 +IUSE="ssl nls kerberos tk socks"
50 +
51 +RDEPEND="acct-user/fetchmail
52 + ssl? (
53 + >=dev-libs/openssl-1.1.1:=
54 + )
55 + kerberos? (
56 + virtual/krb5
57 + >=dev-libs/openssl-1.0.2:=
58 + )
59 + nls? ( virtual/libintl )
60 + !elibc_glibc? ( sys-fs/e2fsprogs )
61 + socks? ( net-proxy/dante )"
62 +DEPEND="${RDEPEND}
63 + app-arch/xz-utils
64 + sys-devel/flex
65 + nls? ( sys-devel/gettext )"
66 +
67 +DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO"
68 +HTML_DOCS="*.html"
69 +PATCHES=(
70 + "${FILESDIR}"/${PN}-6.3.26-python-optional.patch
71 +)
72 +S=${WORKDIR}/${P/_/.}
73 +
74 +src_prepare() {
75 + default
76 + eautoreconf
77 +}
78 +
79 +src_configure() {
80 + export PYTHON=:
81 +
82 + econf \
83 + --enable-RPA \
84 + --enable-NTLM \
85 + --enable-SDPS \
86 + $(use_enable nls) \
87 + $(use_with ssl ssl "${EPREFIX}/usr") \
88 + $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
89 + $(use_with kerberos gssapi) \
90 + $(use_with kerberos kerberos5) \
91 + --without-hesiod \
92 + $(use_with socks)
93 +}
94 +
95 +src_compile() {
96 + emake AR="$(tc-getAR)"
97 +}
98 +
99 +src_install() {
100 + default
101 +
102 + newinitd "${FILESDIR}"/fetchmail.initd fetchmail
103 + newconfd "${FILESDIR}"/fetchmail.confd fetchmail
104 +
105 + systemd_dounit "${FILESDIR}"/${PN}.service
106 + systemd_newunit "${FILESDIR}"/${PN}_at.service "${PN}@.service"
107 + dotmpfiles "${FILESDIR}"/${PN}.conf
108 +
109 + docinto contrib
110 + local f
111 + for f in contrib/* ; do
112 + [ -f "${f}" ] && dodoc "${f}"
113 + done
114 +}
115 +
116 +pkg_postinst() {
117 + tmpfiles_process ${PN}.conf
118 +
119 + if [[ -z ${REPLACING_VERSIONS} ]]; then
120 + elog "Please see /etc/conf.d/fetchmail if you want to adjust"
121 + elog "the polling delay used by the fetchmail init script."
122 + fi
123 +}