summaryrefslogtreecommitdiff
path: root/net-mail/fetchmail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-25 02:55:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-25 02:55:08 +0100
commitaeb34c47a1042b074096bacb85205617c8a14d3a (patch)
tree905475b28fd25bd6ffbf92d7c1a0100c0474a780 /net-mail/fetchmail
parentfc879856a16ea66528a11a00cf6ee19891f3d186 (diff)
gentoo auto-resync : 25:07:2022 - 02:55:08
Diffstat (limited to 'net-mail/fetchmail')
-rw-r--r--net-mail/fetchmail/Manifest2
-rw-r--r--net-mail/fetchmail/fetchmail-6.4.31.ebuild107
2 files changed, 109 insertions, 0 deletions
diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest
index 0c68d26eb002..3ab18027cc9d 100644
--- a/net-mail/fetchmail/Manifest
+++ b/net-mail/fetchmail/Manifest
@@ -6,6 +6,8 @@ AUX fetchmail.service 204 BLAKE2B 4683577d0da4929b068bd2f49516838644ac399e6ab27f
AUX fetchmail_at.service 289 BLAKE2B ab28a4b96625404f5451aa2dd37b671a18d7bf72bb3792d20eecded0ef42f15ddd768470a9dd541a66a495e954632e9b12ba3c0cfb446c4e2832eb9d3993f8c3 SHA512 4f8208a286f2868a466e69919b7c9d965da099b44675105689bcc52b0d16acc8d46e77f6b9a72968e82a6cf900e20d07a9a7373fe26a1ba9c925edf6663180ed
DIST fetchmail-6.4.27.tar.xz 1326668 BLAKE2B fb349f8e4b17929d8ab5ec144e2d6e4227b56143112eb3745830c339f8dfdaa80fb47060ad3671258563198ed1283a903fcd5a82564b7320a829ceb4c5826642 SHA512 75650c2a8bcfa6f4364dacd6964f00848a23e1bc96eed10f7fcfd9c8c6f6b6fe60eee2730c57c8a5263c11f01b3031cbef7d6b2bffa730de63e7ec262448af2f
DIST fetchmail-6.4.30.tar.xz 1333524 BLAKE2B 67e6aff00b1678ad68a4539c40147c79fbb22970248a97fd16340dbc64e90339a476ea322afde7345858b7041a00364e181af37dc96a09dcdca2e096f62922ea SHA512 0ec540c4102267e6e72fefa5e76aa76f45d25a0e68ec40f1fd834719f2a4b5f3f78c587b050fc33d97dd8fc6f674950949e5c23f960ebcd3046d5cc2e06db1d0
+DIST fetchmail-6.4.31.tar.xz 1332264 BLAKE2B b92e098b6799b9af480f00a99eb229c584230adaea1c6c86c5a4c4ef333403f4892087fbcc4c79e4835bed0ab63912656cb544c58c47bb9e3ebc3b406b4d58f6 SHA512 08aa8dc2c09d59aad5815479e3b6d449a0e65a1d3e8f62fe0cc30d15d9ac94d780b8e88074f43941a7e442b536808260794ac39d6257e24dea4f16ac0627d539
EBUILD fetchmail-6.4.27.ebuild 2413 BLAKE2B 7675de36cc7c77cb6817b29cf3e3c0c8706333f45f3d8262c542aae951b8ff3d6cdfb640169369c9b74af2089d89f50dd421dc05ac7ece94763ea6ba7d56ee7b SHA512 8ed1f0fa8da9713a59b8f73875b531f8dd9a6ff9e8f8509b837108538506e2ede824f12e814bbbed159a761c823e849ab692b61111def9ef66d0e5957e32905d
EBUILD fetchmail-6.4.30.ebuild 2419 BLAKE2B fcedadeae6c40f592d804d35d785afcc96a56240e457becef83514d0a70eac06fa53a692fc013b9ef4ebd4fb4bdc3b9e8641f97e033393863b745fe8405e3fb5 SHA512 e2cafac3c823a71b4029abe839d34ecf7a92c4e257a8a05e5a34b96fbb63ea65f84a970397272e1461a08ab385e15d1ab98891c29fdad632660db526eec24ce2
+EBUILD fetchmail-6.4.31.ebuild 2419 BLAKE2B fcedadeae6c40f592d804d35d785afcc96a56240e457becef83514d0a70eac06fa53a692fc013b9ef4ebd4fb4bdc3b9e8641f97e033393863b745fe8405e3fb5 SHA512 e2cafac3c823a71b4029abe839d34ecf7a92c4e257a8a05e5a34b96fbb63ea65f84a970397272e1461a08ab385e15d1ab98891c29fdad632660db526eec24ce2
MISC metadata.xml 522 BLAKE2B 34e08c52e9391d8f01d717516857cde4c2c77af269d587a29ce6d6e3c6c2e989898f5afcb1240f6718dbdb18be2700b66980f5a684c253c69ed4123e6bb6905e SHA512 8c6fd6c541834669a9518b31859990c8d6e9946e35bc1aa00bf2e0c1822392508ff712119005b97f5e85ca74e97c0d5cf3ced5798a388c23f9c8fd959feaf8cc
diff --git a/net-mail/fetchmail/fetchmail-6.4.31.ebuild b/net-mail/fetchmail/fetchmail-6.4.31.ebuild
new file mode 100644
index 000000000000..98b1ae2dae89
--- /dev/null
+++ b/net-mail/fetchmail/fetchmail-6.4.31.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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 ~riscv ~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-fs/e2fsprogs )
+ 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
+}