summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-12-16 21:25:44 +0000
committerTim Harder <radhermit@gentoo.org>2012-12-16 21:25:44 +0000
commiteed04b8c84cc20d0457dc14ba9c7e2e6da72d959 (patch)
tree78ec15c1639066eca029824255407fb351b68838 /net-nntp/nzbget
parentPort to python-single-r1.eclass and EAPI5. Drop old. (diff)
downloadhistorical-eed04b8c84cc20d0457dc14ba9c7e2e6da72d959.tar.gz
historical-eed04b8c84cc20d0457dc14ba9c7e2e6da72d959.tar.bz2
historical-eed04b8c84cc20d0457dc14ba9c7e2e6da72d959.zip
Version bump.
Package-Manager: portage-2.2.0_alpha147/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'net-nntp/nzbget')
-rw-r--r--net-nntp/nzbget/ChangeLog7
-rw-r--r--net-nntp/nzbget/Manifest18
-rw-r--r--net-nntp/nzbget/nzbget-9.0.ebuild110
3 files changed, 126 insertions, 9 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog
index b0c83fca0a83..02c033ed3ef0 100644
--- a/net-nntp/nzbget/ChangeLog
+++ b/net-nntp/nzbget/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-nntp/nzbget
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.51 2012/11/30 09:43:10 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.52 2012/12/16 21:25:42 radhermit Exp $
+
+*nzbget-9.0 (16 Dec 2012)
+
+ 16 Dec 2012; Tim Harder <radhermit@gentoo.org> +nzbget-9.0.ebuild:
+ Version bump.
30 Nov 2012; Tim Harder <radhermit@gentoo.org> -nzbget-9.0_pre477.ebuild,
-nzbget-9.0_pre497.ebuild, -files/nzbget-9.0_pre477-header.patch:
diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest
index 7e4899d4421e..124dde5747ca 100644
--- a/net-nntp/nzbget/Manifest
+++ b/net-nntp/nzbget/Manifest
@@ -9,19 +9,21 @@ AUX nzbget.initd 870 SHA256 ded31c1ab53ccd4748f54ff231910cfdc75f023f09dd41e4b49b
DIST nzbget-0.8.0.tar.gz 321351 SHA256 646939596097fafdeb0b4064b433463419e7d0d9af7fe32f6689d6b95ad77d95 SHA512 ea9830effcfece3cc60592924840de3f65cf3c5581ed5afbc97c819c248c6b703a228e71bfb5997947c52c7efa84a5aa5457f7a7babc97ffae5b729179463ab3 WHIRLPOOL 692013bbf84c47f1bd22bdfce9554e3f5b2fb42892bf5b36e1a4612be7f3e85bad64897dfa48fa69ca96d2e9bd2fe923fca6171bf8843b96986f9ec55f949e2b
DIST nzbget-9.0-testing-r511.tar.gz 653177 SHA256 d43246333918c1f4682378d9cb8043d5f64ba4df5de102cad970145d84d9ed04 SHA512 61a3eee7dfa727af6fabb1f46d83d85064747daeac74a331584faf3f18ee87e9af468322b8c34ccdd5b179af865047d983b411108932afb7dca8b987ddcf59a7 WHIRLPOOL 5ddfc6f3ead924f106175c067d94066eb3a6435161eec41451538a18f54dbc8eb6d5552648bcd32ddb87ec6182bc55c848fed796560022b5c83cfa024df5db78
DIST nzbget-9.0-testing-r518.tar.gz 655977 SHA256 5122b1519794e77d164224d459c1fe8b20f1875d932430e5999099187a5366cc SHA512 65632753420125c1d10b5d6f5be2e77bd1c6ddf95b38b1747782b22c1cbf4131d568389667d9c6c950cb84abd63ef4d6e826b0f1623589c5663e3eb7729c3d91 WHIRLPOOL 00844e8db691f4f80db4b578262b3e06f0deece8c0f181c8e5cc58441cb48a8314aaabac91b7f4b9dfee65363e3b019ea4279f6ed995e19fa39946c6610f680c
+DIST nzbget-9.0.tar.gz 656166 SHA256 40f9baefcd090f81a000149a79358a2639c5154579c026dba4317c566dd19ee4 SHA512 18786ae6d9b8b39d81732c00551077a1536170c3647013586d8c3eca5e680c84d9247944e838217af8a46ab0cae78c6982377cd11adcd0fd6ce18a199331f45b WHIRLPOOL 97c1f1162c2aee7f0ea09893d0ebf89dc2f1289ebfdb9b7f121c394a7270adf3be66e954182add088a5893057f1e273e80c555dccbef72fdd0473d05e8f8d5b0
EBUILD nzbget-0.8.0.ebuild 2516 SHA256 88a1c05bb61435371acd3ed782181f969612364142cd9e37ca46196d3170ce6d SHA512 c5fdf279a847808d667d30e76e57d6e31471f08822699dbb66ce2eab3c162655c16403402dddfbaa5f705252618385dfa44473a0ef18d46ac84d7849201511de WHIRLPOOL ba4a08d05b9a1fa50398d3f33c05edfd2ac9d909441235d88b515e0a5b43edf5b8bc760d983c63dd6fe43709dcd0a2dafe5c97a1a99b6f3a34c97e6262e57e77
+EBUILD nzbget-9.0.ebuild 2743 SHA256 63915c3828d0348dad2e68c568d85c5a5c6fe55a20ce6beb2e80deb5deb03ebd SHA512 52a02c24a8fb4ed2a83c2e6743aaf163d1969ed591f3d700dfe7f5e33ed19b22198d2669392eabf7713e4bd8aad4aec8ba44f0e1261a52a2d31d6d26b6e070f6 WHIRLPOOL 533419f9841b8a1774599bc0a13742822d7e9827807d1a412670c0f79efe57b1516ed72fb001ba3b2320b90704c184aeaa9eb5224fe2914faf8107a24bee8bab
EBUILD nzbget-9.0_pre511.ebuild 2750 SHA256 543ff833e651a14d135bce32b9c2aee8a30485b341de0c9f11d0643886a0a0cc SHA512 07a16cef5d42cd3ab565648d2cf1fdecb00a3f9f852fabedad0be972a66d93f34ef69efbe1a4a77c684128955dc38877c0c500ad2eea76226da835df61458352 WHIRLPOOL 09219ca6c04b6a36feaabf4cd0e9d0581d8c011604d11b8e2858d8c60de1a38315656856e8cce49dc28bfbe7721adb52b1bc17379293e46789b1006ae3496694
EBUILD nzbget-9.0_pre518.ebuild 2750 SHA256 175444de58b3e8de53b17139659be5eec4a711c6676d1f4b8dd764b7d2471bb1 SHA512 f6fc1b204cdf0edca5e61c7e7db8823787e4d8d69ef1721d321df0beb33e3bb0d7f69a73c0d19627ec3f3186c49b5406857a94c70427bb693774dd960a2e6b1b WHIRLPOOL 22d8ffd83e13f9f67519fefecfc93fe7ea47cdf11fe6096be0fa6f0821c42ce6b63c776ed09f6b8c3ac9b4b5af798c01af4a1df19a0370c28eefa3a4e825976f
-MISC ChangeLog 8148 SHA256 4b85288bf462df0e200ac9d5a7d8345affc2372762137eafde521803a22a74a9 SHA512 a566556a063a06dacc913ff927aed49ef8d1a391b38bdaee6149ae7634dbebb7e7580c2bbecac8da0e1b4ed921247cf0b12ab516c91050315954c3172161cf77 WHIRLPOOL 7f76c31f5dd8467d422db78f3dc479abba95acff4d48e118ca9b8645e83d797e89c72a88c312a07c24ceb8b2866300ee45c8cb82a39ba6c701c4836073a8fe93
+MISC ChangeLog 8261 SHA256 44ca78c18dfa178367242a0567c88512b29b641bbd23be6dcb0454a73a8f9c67 SHA512 d71803a1c7cbbadf944f3293b7004f1a1bddc2ab90fc296b070dfcf4906c7db85d042e38eb07b6d9688f29169bacd2dec883f156b2df6d9c21db31b947eb470b WHIRLPOOL 9927ca9864671dd5da32457d571770f6ecc8eadca2d7d823fa9bd5fed5d8d41e9e705d023628df1aa1be4f4967dadac09cddfde52359816089423e3dd3aaf91f
MISC metadata.xml 539 SHA256 48f9bc14033c2a447322b31e146267269726e47b8925fed04eb763fae4655e31 SHA512 bb80f64f00b908a589e8c9aad6e7be82fe2d44507cf7cb625c2b718f28a62dd86b6e530be16e0cae1209109b5289829211d120db24b5c2249263a8227b18fd26 WHIRLPOOL adc2d684e0c54ad489401de1ab2a7a76307ccf7bccfd80b00aed81b3ba09983f933469b7bcb126372616e5eab52d4caa9564a9cd3f14e713acb84e35605fc2f8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQuH+vAAoJEEqz6FtPBkyjclsH/193y9ElF0vGwsZXdK309UJ2
-MWbFdNWyteS14HOT/UlrvYKrCSOjX5ZPRlGmCjF0jI4jpW5k0BKj/BqnwJtNgnNi
-wlrEDIF2l5k4yhNI9I5rGwyVr6TfOCUbLgoz1eChtYH8ZHF3OvFD0sCUhS76+ep/
-B5vcbhGCTQSlvBNovHYuOo7FFikAb50GvD3Lz11MqGqB+TCEcpXcWjYVe/ioiL85
-YzxgRzvWcCs5+5C3Sl6qOPSRYFkKnbXrn1MuYWZJrsyKxBs/uyRPOZgklDNjahhj
-pWOSk9AkCdoRBu1VHlhXWKTUA4h0rwHycu7Sy1aN9pi+vsEgSak8iYgur2sq9Yc=
-=qXNz
+iQEcBAEBCAAGBQJQzjxXAAoJEEqz6FtPBkyjd0gH/i5gWhN5vYdU6wjiR3k9pQMz
+LBYnqBFS8lQGKEtcXK0q3eWclLnP6nGK2qR5JDCHq0mnM+sRXWaSCNIRU59uuOmY
+MiJnf8ROVhtCpSnijON1f7CE0xgiihwQmn20o8aA6qKRzM1O3W5/R6++osQXPXEc
+wxuWS/Z/aStrVhEdQPMVr5b0lNXv0Cd7C6cfDrPzDRu6GGXDYovKh7rJGaPtY1xq
+Exu5vDVji+gvre4W3jtDMNbiNnqN9taBDzIZWMWh+p6hnaa28AzmLkRyOe5tE4xW
+MFkqKbWgESE30csdAUgSu6DrY68JQGk0tIfCEYDgaprs9lruL153eziFp/Ygucg=
+=4pRS
-----END PGP SIGNATURE-----
diff --git a/net-nntp/nzbget/nzbget-9.0.ebuild b/net-nntp/nzbget/nzbget-9.0.ebuild
new file mode 100644
index 000000000000..cd01b9e1f583
--- /dev/null
+++ b/net-nntp/nzbget/nzbget-9.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-9.0.ebuild,v 1.1 2012/12/16 21:25:42 radhermit Exp $
+
+EAPI="5"
+
+inherit eutils autotools user
+
+MY_P=${P/_pre/-testing-r}
+
+DESCRIPTION="A command-line based binary newsgrapper supporting .nzb files"
+HOMEPAGE="http://nzbget.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug gnutls ncurses parcheck ssl zlib "
+
+RDEPEND="dev-libs/libxml2
+ ncurses? ( sys-libs/ncurses )
+ parcheck? (
+ app-arch/libpar2
+ dev-libs/libsigc++:2
+ )
+ ssl? (
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( dev-libs/openssl )
+ )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog README nzbget.conf )
+
+S=${WORKDIR}/${P/_pre*/-testing}
+
+src_prepare() {
+ sed -i 's:^PostProcess=.*:#PostProcess=/usr/share/nzbget/nzbget-postprocess.sh:' \
+ nzbget.conf || die
+
+ sed -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \
+ -e 's:^LockFile=.*:LockFile=/run/nzbget/nzbget.pid:' \
+ -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \
+ "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die
+
+ sed -i "/^dist_doc_DATA/d" Makefile.am || die
+
+ epatch "${FILESDIR}"/${PN}-0.7.0-underlinking.patch
+ epatch "${FILESDIR}"/${PN}-9.0_pre477-buffer-overflows.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable ncurses curses) \
+ $(use_enable parcheck) \
+ $(use_enable ssl tls) \
+ $(use_enable zlib gzip) \
+ --with-tlslib=$(usex gnutls GnuTLS OpenSSL)
+}
+
+src_install() {
+ default
+
+ # remove unneeded service script
+ rm "${D}"/usr/sbin/nzbgetd || die
+
+ insinto /etc
+ doins nzbget.conf
+ doins nzbgetd.conf
+
+ exeinto /usr/share/nzbget
+ doexe nzbget-postprocess.sh
+
+ # remove duplicate script/config
+ rm "${D}"/usr/share/nzbget/nzbget.conf
+ rm "${D}"/usr/bin/nzbget-postprocess.sh
+
+ keepdir /var/lib/nzbget/{dst,nzb,queue,tmp}
+ keepdir /var/log/nzbget /run/nzbget
+
+ newinitd "${FILESDIR}"/nzbget.initd nzbget
+ newconfd "${FILESDIR}"/nzbget.confd nzbget
+}
+
+pkg_preinst() {
+ enewgroup nzbget
+ enewuser nzbget -1 -1 /var/lib/nzbget nzbget
+
+ fowners nzbget:nzbget /var/lib/nzbget/{dst,nzb,queue,tmp}
+ fperms 750 /var/lib/nzbget/{queue,tmp}
+ fperms 770 /var/lib/nzbget/{dst,nzb}
+
+ fowners nzbget:nzbget /var/log/nzbget /run/nzbget
+ fperms 750 /var/log/nzbget /run/nzbget
+
+ fowners root:nzbget /etc/nzbgetd.conf
+ fperms 640 /etc/nzbgetd.conf
+}
+
+pkg_postinst() {
+ elog
+ elog "Please add users that you want to be able to use the system-wide"
+ elog "nzbget daemon to the nzbget group. To access the daemon run nzbget"
+ elog "with the --configfile /etc/nzbgetd.conf option."
+ elog
+}