diff options
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/nzbget/ChangeLog | 7 | ||||
-rw-r--r-- | net-nntp/nzbget/Manifest | 18 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-9.0_pre497.ebuild | 110 |
3 files changed, 126 insertions, 9 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog index 1aae84204af4..66920c9c493a 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.47 2012/11/02 06:17:11 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.48 2012/11/10 02:56:20 radhermit Exp $ + +*nzbget-9.0_pre497 (10 Nov 2012) + + 10 Nov 2012; Tim Harder <radhermit@gentoo.org> +nzbget-9.0_pre497.ebuild: + Version bump. 02 Nov 2012; Tim Harder <radhermit@gentoo.org> -nzbget-0.7.0.ebuild: Remove old. diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 5151c07cf089..63b6ab1a8291 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -9,18 +9,20 @@ AUX nzbget.confd 337 SHA256 a2a305dc1ef482d82041c5261dba235f6faae229d894785f528d AUX nzbget.initd 870 SHA256 ded31c1ab53ccd4748f54ff231910cfdc75f023f09dd41e4b49bd9966a0c9d35 SHA512 6fab33b0c55bf7b5af7468bb488f57a04b4f00a42fecab39242d93618d835008bf9e4c2ad909ea4506b7cdab89141d26a7aa24d070c7f9836acf91002fcc30ef WHIRLPOOL 86e9359e0b0b96f73a48f71e41571ca3d0cfce2b35795119266ffc1518527c0b0c0d8de2c001563728c8b39c68aebba3fb2c921e136f633128f8ecb60f68df07 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 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 -MISC ChangeLog 7608 SHA256 0547b7a83cb6fe7f3fed60fbed1352eae5026293da157276f1903d04ca0d14e4 SHA512 dc85f2b0bbf1f51cb650f4ff536a493f2e73eb6e25f8e9b7ff6782ac7a94d9037f730bdfd4e56484240340f0efc7b17e19d9d845047781418f2e67771b2c2e14 WHIRLPOOL 0b9560bdbff0848076a52e8ee78b051ebfcabddb60d55f2dc8cfbbe5724a2ebd1221f614c55bf3e785b87e3286a4846f216a09091c83b9abc34bed93a41436a0 +EBUILD nzbget-9.0_pre497.ebuild 2750 SHA256 873c083e2c3f852b21d0b92d89987a79f79319800cb84a34f5f701e8290a8b7d SHA512 71d24cc0e7074168a4bbeefdf22bff1bd2adc773436b29efb38c07afcb397661a7dad7d09d7c0f92318f14a69af00b542ffac2c7fefa6a593efb332ebad47c25 WHIRLPOOL fb9ccc6df7856b46034f550e55f432e514d61855dee5a7905586caad7234d0ef04838d6d383904da17741f6a9aaa23d5a291a7bea02e0014a097b66eca4958f2 +MISC ChangeLog 7735 SHA256 ec8f69293c668335ea20e89b6e5d7df699a8c2bee6d88804344837c091da7b38 SHA512 1ee47e9fa431f7d1497c074a9ee4977531fe1bf92aa52b2443176b840f1a1ae46f2d9930194c3840652476abff104ddd83d3d1d8b46c7e9e9f51d4e8737f0c8e WHIRLPOOL be6356f903a11ef3420c2907bba6115d81daccaa60bdf768f43b6f714c30f15ef92c5899ae77bd2f6868fce8387ed735c404ae69521ef7a5f44f0b8175bdb584 MISC metadata.xml 539 SHA256 48f9bc14033c2a447322b31e146267269726e47b8925fed04eb763fae4655e31 SHA512 bb80f64f00b908a589e8c9aad6e7be82fe2d44507cf7cb625c2b718f28a62dd86b6e530be16e0cae1209109b5289829211d120db24b5c2249263a8227b18fd26 WHIRLPOOL adc2d684e0c54ad489401de1ab2a7a76307ccf7bccfd80b00aed81b3ba09983f933469b7bcb126372616e5eab52d4caa9564a9cd3f14e713acb84e35605fc2f8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQk2VoAAoJEEqz6FtPBkyj4uMIAKaBi16/KKjcwDH7UsTKeGlB -Rqa+i7eCCcVAuij1zWfSVgG0AaFwLAr4Jpnl5WegXBPkBplZajLx+fIbcHcCiHWA -C5fXq0SIr8VJh+i1ML2GIbE9+U1+lYcG5THEUUlc1Gsp1+usM441u2m6mkczgv7z -36kjvrgbP3B22EdZ6MoeX0pKiYFfa3aqBCYxxwCHb4Wk4u5JzTTHdvvD4EuOVDqU -/pn8t7q33tK6Ihe85MBqvko4ifoLYuFirna949YYTEyWBM2w7U5JxL0NBas4z7/V -ZVdLTaBFChz75kUMATzDSDISeXJOSRw5X7+c/80TikGKhQVEGzpU5C0MNXDErcU= -=LMGF +iQEcBAEBCAAGBQJQncJdAAoJEEqz6FtPBkyj6WgH/10XqWiQW3tFaaDx3nFnPLAA +hbMagsYLCsbS+U3cdfBq4kFF2N6tCVXb4siF5IS8twBpJg727bESu3FEE+raLo/r +DKlvawaohlFVz3w0TpoisUmKdYr24Rwp8NTXeLLiyOaQnUhh29Zl+9fFB+5W0FmH +rANBVdGbOScFyPvUvhKrKziieFwPYqEfIb6NHJr3CpGn+m0eF6DRzPkndLZvzp3z +vC30J9EzigkgciprMgRH1gCsZHokZcRhG0cW5RMHud2tkqrYEhS1lS2WyPvSFzDa +20p5HgVrvRcRqrzdRqStLl886omXlrQXDK7CYhctggsd6K5dcXMM7D6YKIJfcQA= +=06Gw -----END PGP SIGNATURE----- diff --git a/net-nntp/nzbget/nzbget-9.0_pre497.ebuild b/net-nntp/nzbget/nzbget-9.0_pre497.ebuild new file mode 100644 index 000000000000..075f5915d9b8 --- /dev/null +++ b/net-nntp/nzbget/nzbget-9.0_pre497.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_pre497.ebuild,v 1.1 2012/11/10 02:56:20 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 +} |