diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-10-06 08:42:17 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-10-06 08:42:17 +0000 |
commit | f8cd976230f43afba0d71ceb9d027ecc60ba1ddb (patch) | |
tree | b3fb6c2ee7d9284babc94a37074afa478bf7957a /net-mail/fetchmail | |
parent | Make autoreconf work with latest automake (#487042 by Arfrever Frehtes Taifer... (diff) | |
download | historical-f8cd976230f43afba0d71ceb9d027ecc60ba1ddb.tar.gz historical-f8cd976230f43afba0d71ceb9d027ecc60ba1ddb.tar.bz2 historical-f8cd976230f43afba0d71ceb9d027ecc60ba1ddb.zip |
Add unit file (#487070)
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-mail/fetchmail')
-rw-r--r-- | net-mail/fetchmail/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/fetchmail/Manifest | 23 | ||||
-rw-r--r-- | net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild | 99 | ||||
-rw-r--r-- | net-mail/fetchmail/files/fetchmail.conf | 1 | ||||
-rw-r--r-- | net-mail/fetchmail/files/fetchmail.service | 11 |
5 files changed, 126 insertions, 16 deletions
diff --git a/net-mail/fetchmail/ChangeLog b/net-mail/fetchmail/ChangeLog index 70b0b687ea90..14833c643b81 100644 --- a/net-mail/fetchmail/ChangeLog +++ b/net-mail/fetchmail/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-mail/fetchmail # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.262 2013/08/06 13:09:33 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.263 2013/10/06 08:42:13 pacho Exp $ + +*fetchmail-6.3.26-r2 (06 Oct 2013) + + 06 Oct 2013; Pacho Ramos <pacho@gentoo.org> +fetchmail-6.3.26-r2.ebuild, + +files/fetchmail.conf, +files/fetchmail.service: + Add unit file (#487070) 06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> fetchmail-6.3.26-r1.ebuild: Stable for s390, wrt bug #477574 diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest index 8ca40c6ff0eb..515bee1ee000 100644 --- a/net-mail/fetchmail/Manifest +++ b/net-mail/fetchmail/Manifest @@ -1,31 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX fetchmail-6.3.26-python-optional.patch 285 SHA256 06c88a081bd0fb92f069691f17fda9f6dda7bef68428c25467685290285c7cfa SHA512 38f39ea656d42852a05508caf6a2c444b47dea007265ca4373b4ebe7632c5477fb03edd4769576a79199425e3660ee098297beee19fa96f35301ed209b751e39 WHIRLPOOL 6c9f32831d7730669a45f57d5dae3211fd78b33ec59aff544a6594f8dfad507ba16d396866c07d66bf73c52594e0166a2411bb0e6db4a52dafe9bf1abc50d9f8 AUX fetchmail-6.3.26-tests.patch 374 SHA256 c380ab23102d966e5a079df441b502d6d87065884a3f3e6b1da057092c1e1419 SHA512 9b65f3a70e52c25a90768228433f6c40da62d5627245ce862e23ebfae244209a9557731b7beec2be65b338c6670464fa0121b50c25154719cbc052c59f74841b WHIRLPOOL 3f7ba52be3e34b5fc4e6ceba2028c7c755dd252375a0de4588c3ee7796a69fad508e1a0af0fd04fc969836b9d0c50f2446e1511d68a35a8b764bd9e5de1036b3 +AUX fetchmail.conf 38 SHA256 09e82568992f79acc7be4aea217e420339705e790d4ba44217a30afe9a88a173 SHA512 f6e3eb409a1d88bcfb02012491fdbbf859803dbee45998879525fd35a2377bae95504da8aafcb24bcc2e695e15c96f6ec6f7e6521d28012370a4ec5e2a25a351 WHIRLPOOL 8f8452883893262d961bf70b607f7c7a07512900bce6ce1429675c7b18330764efd4a413bc3ec9efb6c9ed36fa00fbcd65bc7af99032bc569c0f22f114b8aa36 AUX fetchmail.confd 410 SHA256 4a1958adc59910a0b4e74d25fff2934cf9d3a74014b75e1c0bfbd3b07032e1ab SHA512 44524b2f659be3f097333cb813793005bd90c3bd81a56f3e1d5506ce062cb8c4ad3b6655238ea2f891e84320cf808b7a3d1c7098b39fef7ea849355c3f5975eb WHIRLPOOL d32d2089df291ac02ca2198cf9c7f597c8045e93b4b4816878dedd7f368892862450ee6112df9ad87cbd78a5ab25b920c6af448ee637f35b7ec088c36384bec6 AUX fetchmail.initd 992 SHA256 8afe0827ed0803c38bcfa7f7855ec3bfecf4ba9a12e3a10306082fcc45be039a SHA512 47c64930bc7f25fb2b7ed6e597dc5fc448848f2fb4c81a38624b27a9375d8928f7c1b19f68103dd9e9ac0a836847653fa879407cb081a1d267ea68fad111526b WHIRLPOOL 5672610e5a1850f653675138ffdba9a92519d276528806dfadd02c14a4668bdd7c177eeb39e27fb1e149e42069ac736a2d46b511a3b3a06afb8c7c3cc5cde6ff +AUX fetchmail.service 204 SHA256 b76363eadbc7a4cc80719da0387507ccfdd18f134c65d6ae8a1e20430eb37756 SHA512 088d7ff2c473d4b514cc5349ba6f10bb7f29ace1141d152db082c801a9dd0e6144a2dd350e27e97f633aaf286c2daa5253e52b5c410737c44f3fd9b5b57bab75 WHIRLPOOL 883c10162088d36bc66b6100d33246e4869b1e488da08590ff83961347ce7a7eb73150724746c0fc33a77f70fb28a29a1d9227521deb84c2643a3e1a9e71d959 DIST fetchmail-6.3.24.tar.bz2 1729985 SHA256 2e10fe804e0a4e16a2ddb89728ebef94ebb024ba2a193d905a350db402117726 SHA512 2fd40a411d6bc19ba197d023b04225a0d571f92ff200e9b2ef444cd971ffda97a2287153a186b27a361ec89070e049ccdcc0bc8e201e695bda37f0c7463b0267 WHIRLPOOL d687659e80d2b2733c3c4467ef9445636625c500d2961bbd97c6d2fa5ca995fa4c6a7243290fe5c54442491b81b99ad0d7fdecf962703df3ea8687e98017ede8 DIST fetchmail-6.3.26.tar.bz2 1762267 SHA256 1c724a4e48c47e84981aef0da31cf01e0334c99b295d907d0d21d31674762a23 SHA512 6f9a8a1901acccfa5438866ef1b07b2d688f502cbee53050beb9e8dffa54ba509d5d9c4fc6326b299ed50db943a6be67ba38a8e7fe9e86d4aa41488a91ecf2b1 WHIRLPOOL e940d30ebf76a363d3074d2803df94a2ef9633b8e4492cb77cd7d208899c935ce3cb43b43a88a5be7c43d42ff9b0f60acee42c0d16cdd504319bb9093844c13f EBUILD fetchmail-6.3.24.ebuild 2328 SHA256 c878a57639d4a317ed1f34764d31335476fde4b87ea08847b3b96174a4c9080c SHA512 126b95ef36af6f21363c769543f3959622a2bc2efe84503dada730eb687e65822847cfe49dc28acb91b9eed1e33b6d636f37f1b0c51c09fec46fb9ef66796552 WHIRLPOOL 57c5dc42ca4f5060c3d8f7c9ba58b9ce003b0af0286ecaad3fc67e0536815f6a04c3b62c9b56c29c43e918e1a9def7b1a7dc9d72ca547fc66fefea3223718cdc EBUILD fetchmail-6.3.26-r1.ebuild 2466 SHA256 6e5583a6e4a3e1ddd24cc535d309da4bc78d07359fdea5e5f23949b2ed58fba5 SHA512 6c59aacf0b0ffcd2ebf5f85c042397ce12d0b92915f965c082c6cf178821db0945c55f2f6785fc2ddb3e350d43c0bb36869781d42c1d0d63728cbdee5bb53573 WHIRLPOOL 72ec4a8c9f02677154e8efaf57a05a8233f6144e3ff05c24e6bce7bd3ee33ec7de70eccfe771b8ac9e51f193367e63e2287c16063f932b79e772cd2b02319ef8 +EBUILD fetchmail-6.3.26-r2.ebuild 2575 SHA256 86e7f66d4680f30cab869ac308a2618d6d96c510d4f52a84a180706a6eccc55a SHA512 789b7bf9ec494a486d358e752446ec0923fe669c142a1f44cea858ef2d8b542b4f9a81c78ec99e1871e2bf7d3d5c02f2e428a74372bb93fd2effd4d2d1d6f17f WHIRLPOOL 99d117038e2c170c8bf3dd97e3c8848eb6537026f93490e03edb6b25b8348b335e5fdcbe93d594b0a8743aeb2534fc67eeb082884f2f78866bb69375ff549ab4 EBUILD fetchmail-6.3.26.ebuild 2311 SHA256 41951b9d5ff4e413cb02cc9fad2dd9e4efe488c20b2b4dcd035a8f1b13c8851c SHA512 9b933bacd044a7e73870c50da501f35917690c641f5a6fbdc15996eacb74492825c08d0aa45a997caf911c1d7e02d730fb99a30e0458630c889f0f747a4a0ec0 WHIRLPOOL ca41b3eedd6979b563737b5bd5ac759c56764be1b0492f7166fc500634cdecac1e5d242dd3622a12087f4d9f3eee10c84662284e62cb011b38159dd21a5a92b0 -MISC ChangeLog 36857 SHA256 4be8becae3b468efff75679febddab56e2e4c944e948a17ff3db3cdf38fea167 SHA512 4f13188afd2bfad816557a1778d3c643bdad9ce19d161e0aae89e40e2d376a725ec1dced767af1be08f22b68579dca537be6a4265fd6021ad75208b9bc42ef99 WHIRLPOOL 3ed5a8ab204ef16e4cfbbef3be8ca11f54789984663c7ffb5fa29439ddb65bd3d350d71e4ee8f40150933499da315b382b8413310c3e1c3ddfb8ed4294584240 +MISC ChangeLog 37048 SHA256 99486af585117df68c447524738a31f3583d96b74625a3f7b611a41886133244 SHA512 8f5f6aacf112a725030e8fc71d98e61c4bc866c82c01862dc07ca47d0a52776fb5b702a9e34cf904185ed79721b0b0c8accf452f7f5c764551bd90984bd79b4a WHIRLPOOL 2e3b8e41ce546ee6fa6f6027a617559e5c8c079c5401722081c80aeedcb2f6673738ef47801e3572f6297a20e02df080dc404a136c423cc9dcc114152172cd51 MISC metadata.xml 400 SHA256 83d55d3024d64b0e99ba051275b4173c0094135216d68b41d555c8ff424aab13 SHA512 8908731aa6680630720cc3414297a61b483a1e23f21e7e9d19b9a55c4d58f295c2b92443045cf2f2a53ce9fdd9443f015d6ec4cbfd7901ff89b90a2cfe11eadd WHIRLPOOL 37e0bfec8c46e798dc24ddc5d1fda7e2ab648333ba5187becea6da91b9be9cf0936c0781f7d4b1e53dbd9acadc77aa67a22b4164e32a72c8bd0b39b2531e68b0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCgAGBQJSAPTNAAoJELp701BxlEWf5u4QAK2dVjdX2oOUd4a8fZ46TKNu -3gCujWF+CsrLyM0vmNWyQs6M1UV+GrAw9K+OkRRQE1ljoKdkKQhY0B1YdCBkaCWf -eC04alu7IhG0kPkljfhr9hL59CroemDfBSOnCMlgGiP3ZcEZGZPDmUZ5SRgdn+BW -SAfpFrJcq+ar62LWXDC/QsI4xTfG+dKVXMR7bSpwsVz8xmLnb6cPX/j613/q7bKB -LF0U6yxr2vMPBEuYt/MlKfUCKBO2arj977T0ZEBhFj+cvR+zKHR71GhGlgyWWv8c -z/wtc+xsspySYA5PI2pcddmYl0rt9oB23Nwc1N0uL3FguXVamc15yIjookfVWiGg -4zIa62cQmjLxZkE/1Sj4RqrFjDA+Aaw5cieDLxszbp2AGRg7mb/wGJBUsoPRZX+9 -cAP0pQ74P4NHOhDZWCaQk8RmLWmL8VAtSCWA8KKoXOkLRYaiQ4oa3HF9bUSJDPYL -BUqCZ7l4rN43LAP2AHUHrf1ELwEL1vYY4vQMgI/1ePQLia5S8QaH9JC3y/2QlfTh -57XUnVW/9ceG/68yo5Smc9OstQBZtYgwMD9h3LJ3MOBpyIbGUj7e6ZSGJMIQ8kX1 -XaR7iSOcv3OVy3T8HCtwv7NJviSBMFhcEy1puOuDkHT1Hix6Rr37W8xjoZVTMumZ -kBtsM1Jq9/K8OwUJmk49 -=hBlc +iEYEAREIAAYFAlJRImYACgkQCaWpQKGI+9SZzQCdGxhLyyceTuG1DJn/ODE0YjTE +73gAn0Oq91ehFtJNnwgoGHMr9M5SRqtC +=ldaY -----END PGP SIGNATURE----- diff --git a/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild b/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild new file mode 100644 index 000000000000..e6140d184022 --- /dev/null +++ b/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild,v 1.1 2013/10/06 08:42:13 pacho Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_{6,7} ) +PYTHON_REQ_USE="tk" + +inherit python-single-r1 user systemd toolchain-funcs autotools eutils + +DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" +HOMEPAGE="http://fetchmail.berlios.de" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="ssl nls kerberos hesiod tk socks" +REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="hesiod? ( net-dns/hesiod ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 ) + nls? ( virtual/libintl ) + !elibc_glibc? ( sys-libs/e2fsprogs-libs ) + socks? ( net-proxy/dante ) + tk? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + sys-devel/flex + nls? ( sys-devel/gettext )" + +DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} + + use tk && python-single-r1_pkg_setup +} + +src_prepare() { + # don't compile during src_install + use tk && : > "${S}"/py-compile + + epatch "${FILESDIR}"/${P}-python-optional.patch + epatch "${FILESDIR}"/${P}-tests.patch + 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) \ + $(use_with hesiod) \ + $(use_with socks) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + # fetchmail's homedir (holds fetchmail's .fetchids) + keepdir /var/lib/${PN} + fowners ${PN}:${PN} /var/lib/${PN} + fperms 700 /var/lib/${PN} + + default + + dohtml *.html + + newinitd "${FILESDIR}"/fetchmail.initd fetchmail + newconfd "${FILESDIR}"/fetchmail.confd fetchmail + systemd_dounit "${FILESDIR}"/${PN}.service + systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf + + docinto contrib + local f + for f in contrib/* ; do + [ -f "${f}" ] && dodoc "${f}" + done + + use tk && python_optimize +} + +pkg_postinst() { + 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/files/fetchmail.conf b/net-mail/fetchmail/files/fetchmail.conf new file mode 100644 index 000000000000..07945f876468 --- /dev/null +++ b/net-mail/fetchmail/files/fetchmail.conf @@ -0,0 +1 @@ +d /run/fetchmail 700 fetchmail nobody diff --git a/net-mail/fetchmail/files/fetchmail.service b/net-mail/fetchmail/files/fetchmail.service new file mode 100644 index 000000000000..954f06e27be0 --- /dev/null +++ b/net-mail/fetchmail/files/fetchmail.service @@ -0,0 +1,11 @@ +[Unit] +Description=A remote-mail retrieval utility +After=network.target + +[Service] +User=fetchmail +ExecStart=/usr/bin/fetchmail -d 60 -f /etc/fetchmailrc +RestartSec=1 + +[Install] +WantedBy=multi-user.target |