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: Thu, 03 Nov 2022 22:24:11
Message-Id: 1667514238.11edd1bf009848a5388bc4efe8d4c83c695e6ac7.voyageur@gentoo
1 commit: 11edd1bf009848a5388bc4efe8d4c83c695e6ac7
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 18:06:01 2022 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 22:23:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11edd1bf
7
8 net-mail/fetchmail: add 6.4.34
9
10 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
11
12 net-mail/fetchmail/Manifest | 1 +
13 net-mail/fetchmail/fetchmail-6.4.34.ebuild | 107 +++++++++++++++++++++++++++++
14 2 files changed, 108 insertions(+)
15
16 diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest
17 index 3a6ecc82e8c9..381f76901aa4 100644
18 --- a/net-mail/fetchmail/Manifest
19 +++ b/net-mail/fetchmail/Manifest
20 @@ -2,3 +2,4 @@ DIST fetchmail-6.4.27.tar.xz 1326668 BLAKE2B fb349f8e4b17929d8ab5ec144e2d6e4227b
21 DIST fetchmail-6.4.30.tar.xz 1333524 BLAKE2B 67e6aff00b1678ad68a4539c40147c79fbb22970248a97fd16340dbc64e90339a476ea322afde7345858b7041a00364e181af37dc96a09dcdca2e096f62922ea SHA512 0ec540c4102267e6e72fefa5e76aa76f45d25a0e68ec40f1fd834719f2a4b5f3f78c587b050fc33d97dd8fc6f674950949e5c23f960ebcd3046d5cc2e06db1d0
22 DIST fetchmail-6.4.31.tar.xz 1332264 BLAKE2B b92e098b6799b9af480f00a99eb229c584230adaea1c6c86c5a4c4ef333403f4892087fbcc4c79e4835bed0ab63912656cb544c58c47bb9e3ebc3b406b4d58f6 SHA512 08aa8dc2c09d59aad5815479e3b6d449a0e65a1d3e8f62fe0cc30d15d9ac94d780b8e88074f43941a7e442b536808260794ac39d6257e24dea4f16ac0627d539
23 DIST fetchmail-6.4.33.tar.xz 1330708 BLAKE2B ca76a4315c47013edc27859f4e6a16eec2564718a04bc82e5df72520b1dfabd3c746cabc5eb01c24f1fb552a0a9ea55eb8d659c9b4f6c313c8d993baa88635e6 SHA512 b95b89eaecdc98a92e1542f1bbdc6e1e51d38d392b564462413b602b3d5ebb004e4f4354694e369e6aceb6724753db55957e31a290e231fded74f1f523af41ac
24 +DIST fetchmail-6.4.34.tar.xz 1331428 BLAKE2B 796972391a0ac2c71382aaaad3d75fd5c10ddcc58807f6c7ef9940907779e0ec0a8403e077b24afd50e1a7df0646e852cba02ba314e99ea423904e9f8288df01 SHA512 5ebb11dad48736647c879a81826a57719978029833254b67df6bd571842bcfe552589d49161e55b22a565728902558ace6fec9d9783392383da1a3150fb677b6
25
26 diff --git a/net-mail/fetchmail/fetchmail-6.4.34.ebuild b/net-mail/fetchmail/fetchmail-6.4.34.ebuild
27 new file mode 100644
28 index 000000000000..0dcbee8a098d
29 --- /dev/null
30 +++ b/net-mail/fetchmail/fetchmail-6.4.34.ebuild
31 @@ -0,0 +1,107 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +PYTHON_REQ_USE="tk"
39 +
40 +inherit autotools python-single-r1 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 +REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )"
51 +
52 +RDEPEND="acct-user/fetchmail
53 + ssl? (
54 + >=dev-libs/openssl-1.1.1:=
55 + )
56 + kerberos? (
57 + virtual/krb5
58 + >=dev-libs/openssl-1.0.2:=
59 + )
60 + nls? ( virtual/libintl )
61 + !elibc_glibc? ( sys-fs/e2fsprogs )
62 + socks? ( net-proxy/dante )
63 + tk? (
64 + ${PYTHON_DEPS}
65 + $(python_gen_cond_dep '
66 + dev-python/future[${PYTHON_USEDEP}]
67 + ')
68 + )"
69 +DEPEND="${RDEPEND}
70 + app-arch/xz-utils
71 + sys-devel/flex
72 + nls? ( sys-devel/gettext )"
73 +
74 +DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO"
75 +HTML_DOCS="*.html"
76 +PATCHES=(
77 + "${FILESDIR}"/${PN}-6.3.26-python-optional.patch
78 +)
79 +S=${WORKDIR}/${P/_/.}
80 +
81 +pkg_setup() {
82 + use tk && python-single-r1_pkg_setup
83 +}
84 +
85 +src_prepare() {
86 + default
87 + # don't compile during src_install
88 + use tk && : > "${S}"/py-compile
89 + eautoreconf
90 +}
91 +
92 +src_configure() {
93 + use tk || export PYTHON=:
94 +
95 + econf \
96 + --enable-RPA \
97 + --enable-NTLM \
98 + --enable-SDPS \
99 + $(use_enable nls) \
100 + $(use_with ssl ssl "${EPREFIX}/usr") \
101 + $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
102 + $(use_with kerberos gssapi) \
103 + $(use_with kerberos kerberos5) \
104 + --without-hesiod \
105 + $(use_with socks)
106 +}
107 +
108 +src_compile() {
109 + emake AR="$(tc-getAR)"
110 +}
111 +
112 +src_install() {
113 + default
114 +
115 + newinitd "${FILESDIR}"/fetchmail.initd fetchmail
116 + newconfd "${FILESDIR}"/fetchmail.confd fetchmail
117 +
118 + systemd_dounit "${FILESDIR}"/${PN}.service
119 + systemd_newunit "${FILESDIR}"/${PN}_at.service "${PN}@.service"
120 + dotmpfiles "${FILESDIR}"/${PN}.conf
121 +
122 + docinto contrib
123 + local f
124 + for f in contrib/* ; do
125 + [ -f "${f}" ] && dodoc "${f}"
126 + done
127 +
128 + use tk && python_optimize
129 +}
130 +
131 +pkg_postinst() {
132 + tmpfiles_process ${PN}.conf
133 +
134 + if [[ -z ${REPLACING_VERSIONS} ]]; then
135 + elog "Please see /etc/conf.d/fetchmail if you want to adjust"
136 + elog "the polling delay used by the fetchmail init script."
137 + fi
138 +}