summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/nzbget/ChangeLog7
-rw-r--r--net-nntp/nzbget/Manifest18
-rw-r--r--net-nntp/nzbget/nzbget-9.0_pre511.ebuild110
3 files changed, 126 insertions, 9 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog
index 66920c9c493a..7bb8ee7081c7 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.48 2012/11/10 02:56:20 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.49 2012/11/24 04:24:25 radhermit Exp $
+
+*nzbget-9.0_pre511 (24 Nov 2012)
+
+ 24 Nov 2012; Tim Harder <radhermit@gentoo.org> +nzbget-9.0_pre511.ebuild:
+ Version bump.
*nzbget-9.0_pre497 (10 Nov 2012)
diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest
index 63b6ab1a8291..961f589c3fd7 100644
--- a/net-nntp/nzbget/Manifest
+++ b/net-nntp/nzbget/Manifest
@@ -10,19 +10,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-r477.tar.gz 619094 SHA256 269d54ec558a5472efa5ebf2e6c3bf7ffc0d7b10494480b97f15eb0671f36c65 SHA512 2009642e2e5bbc83bdab422a8d05848cb712db962f7edfb0b30c07dd11bc67538f110eaf9944f4006aac2a587fedcf656d55dab0027016c985560bb21aaac4df WHIRLPOOL 172570afda71c0b6d75c2913ea46c6c4e0ff701de758ac393e4d843af691c12239547f6893df9a6942c9433cdc9c331c2f0e01d8f1bab09889d284faa434a560
DIST nzbget-9.0-testing-r497.tar.gz 651606 SHA256 753743a21011bd05bfc8e3239f32ac4d374ed3839007dfca276a94db5a432554 SHA512 7dd7ac699b8a16cac5a2a2c70022acbdbc9d0e6f1315f15f87bed74aa1c65ae2272ee49da05249b2ee4edc004b6e0513e42097ccf4550456eae7eb8b7cd31b66 WHIRLPOOL ecd8753bcf4f2e303b8014c9f3e14815d782178d16b4158873de086edcc48cbf44533a0ca95c531d789a85714808dc15830eaff955d689b0cf0bb92943da8674
+DIST nzbget-9.0-testing-r511.tar.gz 653177 SHA256 d43246333918c1f4682378d9cb8043d5f64ba4df5de102cad970145d84d9ed04 SHA512 61a3eee7dfa727af6fabb1f46d83d85064747daeac74a331584faf3f18ee87e9af468322b8c34ccdd5b179af865047d983b411108932afb7dca8b987ddcf59a7 WHIRLPOOL 5ddfc6f3ead924f106175c067d94066eb3a6435161eec41451538a18f54dbc8eb6d5552648bcd32ddb87ec6182bc55c848fed796560022b5c83cfa024df5db78
EBUILD nzbget-0.8.0.ebuild 2516 SHA256 88a1c05bb61435371acd3ed782181f969612364142cd9e37ca46196d3170ce6d SHA512 c5fdf279a847808d667d30e76e57d6e31471f08822699dbb66ce2eab3c162655c16403402dddfbaa5f705252618385dfa44473a0ef18d46ac84d7849201511de WHIRLPOOL ba4a08d05b9a1fa50398d3f33c05edfd2ac9d909441235d88b515e0a5b43edf5b8bc760d983c63dd6fe43709dcd0a2dafe5c97a1a99b6f3a34c97e6262e57e77
EBUILD nzbget-9.0_pre477.ebuild 2778 SHA256 555fe52865b0031ee1faac6fdab7bf5fb484981f407ae051bc00fac3c1c50cd3 SHA512 70ba359c2ed7a393ec7ddd76deeb408552386f14708346af13d178addae7568fe5215f3cc2506f47ba887515e4dc8afe76a8b985da598f46c625ced13c800fe6 WHIRLPOOL 40e7701d85c67ad72958be984e9636a7251b73cdbfbb1b8bf393b06b927f71e530defb53a53e09084d95f78f7685b66b9846cd1dc8e9049dfaa2c05de959412f
EBUILD nzbget-9.0_pre497.ebuild 2750 SHA256 873c083e2c3f852b21d0b92d89987a79f79319800cb84a34f5f701e8290a8b7d SHA512 71d24cc0e7074168a4bbeefdf22bff1bd2adc773436b29efb38c07afcb397661a7dad7d09d7c0f92318f14a69af00b542ffac2c7fefa6a593efb332ebad47c25 WHIRLPOOL fb9ccc6df7856b46034f550e55f432e514d61855dee5a7905586caad7234d0ef04838d6d383904da17741f6a9aaa23d5a291a7bea02e0014a097b66eca4958f2
-MISC ChangeLog 7735 SHA256 ec8f69293c668335ea20e89b6e5d7df699a8c2bee6d88804344837c091da7b38 SHA512 1ee47e9fa431f7d1497c074a9ee4977531fe1bf92aa52b2443176b840f1a1ae46f2d9930194c3840652476abff104ddd83d3d1d8b46c7e9e9f51d4e8737f0c8e WHIRLPOOL be6356f903a11ef3420c2907bba6115d81daccaa60bdf768f43b6f714c30f15ef92c5899ae77bd2f6868fce8387ed735c404ae69521ef7a5f44f0b8175bdb584
+EBUILD nzbget-9.0_pre511.ebuild 2750 SHA256 543ff833e651a14d135bce32b9c2aee8a30485b341de0c9f11d0643886a0a0cc SHA512 07a16cef5d42cd3ab565648d2cf1fdecb00a3f9f852fabedad0be972a66d93f34ef69efbe1a4a77c684128955dc38877c0c500ad2eea76226da835df61458352 WHIRLPOOL 09219ca6c04b6a36feaabf4cd0e9d0581d8c011604d11b8e2858d8c60de1a38315656856e8cce49dc28bfbe7721adb52b1bc17379293e46789b1006ae3496694
+MISC ChangeLog 7862 SHA256 491ffd67af3956023ce1cbaf117b8f177a3c35fe23a902c455fef74c7b7b217c SHA512 69f51027723df4a4c0847b5905000dda7e8e9ad9dbeba0b3ec95741c3e2f7d473b749f783a0894a204c369ae4d57eebfaecf2d890b98026652dde6a29c991d2b WHIRLPOOL 5edd7ade39138920aa18caf6243be1ed4bc0efc0962b144b4e36755b26e21764a6ccf1e26041b6269450a216b7bfb744a60ef45483f428c502fa0c8004daa7c3
MISC metadata.xml 539 SHA256 48f9bc14033c2a447322b31e146267269726e47b8925fed04eb763fae4655e31 SHA512 bb80f64f00b908a589e8c9aad6e7be82fe2d44507cf7cb625c2b718f28a62dd86b6e530be16e0cae1209109b5289829211d120db24b5c2249263a8227b18fd26 WHIRLPOOL adc2d684e0c54ad489401de1ab2a7a76307ccf7bccfd80b00aed81b3ba09983f933469b7bcb126372616e5eab52d4caa9564a9cd3f14e713acb84e35605fc2f8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQncJdAAoJEEqz6FtPBkyj6WgH/10XqWiQW3tFaaDx3nFnPLAA
-hbMagsYLCsbS+U3cdfBq4kFF2N6tCVXb4siF5IS8twBpJg727bESu3FEE+raLo/r
-DKlvawaohlFVz3w0TpoisUmKdYr24Rwp8NTXeLLiyOaQnUhh29Zl+9fFB+5W0FmH
-rANBVdGbOScFyPvUvhKrKziieFwPYqEfIb6NHJr3CpGn+m0eF6DRzPkndLZvzp3z
-vC30J9EzigkgciprMgRH1gCsZHokZcRhG0cW5RMHud2tkqrYEhS1lS2WyPvSFzDa
-20p5HgVrvRcRqrzdRqStLl886omXlrQXDK7CYhctggsd6K5dcXMM7D6YKIJfcQA=
-=06Gw
+iQEcBAEBCAAGBQJQsEv6AAoJEEqz6FtPBkyj/VYH/3YunHbZPMimEGecvFCeNGTH
+KNXq9yj/J8JiivczQpsEYLAXh/7m1LQ3vE8Sve6qSdZiMiDXa0cnogRt90rYEJHA
+gwzvwxwwU7nfqsUf4EhhrVkQXEeyYMvYqQ2/4mXH7QWBpMmPFVTU+IkULJxkgo9Z
+rm/YW1vyOEU+QjZc7CqhDhcoEhZq3bVazjSmtRcJJHFsH+dF3JydaB8N4ve6AxWG
+VMfd/SOWZg2Njtvp85TqcNusDzgUARl7RubKRHRbqrVQag44pvWKoNMd8AisRsxm
++1EOnvDk6LTrncQTczcD6AQgtPvDCYT/bTBDyLHVFGkwTaPR1IJVbWJJXEdcdq4=
+=b9Mh
-----END PGP SIGNATURE-----
diff --git a/net-nntp/nzbget/nzbget-9.0_pre511.ebuild b/net-nntp/nzbget/nzbget-9.0_pre511.ebuild
new file mode 100644
index 000000000000..77ceab304d59
--- /dev/null
+++ b/net-nntp/nzbget/nzbget-9.0_pre511.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_pre511.ebuild,v 1.1 2012/11/24 04:24:25 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
+}