diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-08-30 21:41:41 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-08-30 21:41:41 +0000 |
commit | 1a8dc2dc9cb7c3ee5c332e3833c89c90d8c32a18 (patch) | |
tree | 00b5744656f2646e710342689535c50fe5e269af /net-nntp | |
parent | Fix underlinking issue (bug #372021) and add dependency on pkgconfig. (diff) | |
download | historical-1a8dc2dc9cb7c3ee5c332e3833c89c90d8c32a18.tar.gz historical-1a8dc2dc9cb7c3ee5c332e3833c89c90d8c32a18.tar.bz2 historical-1a8dc2dc9cb7c3ee5c332e3833c89c90d8c32a18.zip |
Version bump (bug #375959). Add myself as a maintainer.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/nzbget/ChangeLog | 8 | ||||
-rw-r--r-- | net-nntp/nzbget/Manifest | 20 | ||||
-rw-r--r-- | net-nntp/nzbget/metadata.xml | 4 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-0.8.0_pre394.ebuild | 107 |
4 files changed, 129 insertions, 10 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog index 5dd2fba741d8..7b887c659c52 100644 --- a/net-nntp/nzbget/ChangeLog +++ b/net-nntp/nzbget/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-nntp/nzbget # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.35 2011/08/30 21:32:40 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.36 2011/08/30 21:41:41 radhermit Exp $ + +*nzbget-0.8.0_pre394 (30 Aug 2011) + + 30 Aug 2011; Tim Harder <radhermit@gentoo.org> +nzbget-0.8.0_pre394.ebuild, + metadata.xml: + Version bump (bug #375959). Add myself as a maintainer. 30 Aug 2011; Tim Harder <radhermit@gentoo.org> nzbget-0.7.0.ebuild, +files/nzbget-0.7.0-underlinking.patch: diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 82b1056f91d4..6d04f10a5ac6 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -6,17 +6,19 @@ AUX nzbget-0.7.0-underlinking.patch 621 RMD160 afee21019b87c945315a002dcc088d21e AUX nzbget.confd 337 RMD160 7f88d0274d99d880194d18b5bf4c130e450c2084 SHA1 1a0a7a54654b15853d2ba5277a9d0ce919892bff SHA256 a2a305dc1ef482d82041c5261dba235f6faae229d894785f528d87c9c0e452b8 AUX nzbget.initd 876 RMD160 3edadcf591f5843740c483746cc4ed573f7bf75b SHA1 4258ef47ee7d27d80a354baa77579648063c59fd SHA256 bb81a944ec8a3503d8cc1c3430a29d6f4c5b3be19c89e8220e7444d0b2156447 DIST nzbget-0.7.0.tar.gz 316059 RMD160 b8ff4d454a51f5d1a5b4246437adad57c918500c SHA1 e47cfcc37adbb756f4b449914cbfc6dcaaeebaec SHA256 b798bbcc9f6816b4e19a95f74df067440f7ad49e1c16a3f33f99bddf7916771e +DIST nzbget-0.8.0-testing-r394.tar.gz 321238 RMD160 c54683e8e21d49d1b779d11711a1a5509c078f61 SHA1 580545508f45929c59914000657db4aac6e616ac SHA256 beb0a962d33a5565cd913b827ab1a1a9a501d27d907672f83573ae412ad1fd2b EBUILD nzbget-0.7.0.ebuild 2797 RMD160 1820eacea09863fadcc1fc511eda01b49ce00ba8 SHA1 d7983f4963bfb31b1a94d335e71691fd1210eca5 SHA256 993d6eecd1324cae3a28a5a8b04371872fc91c8d70b52845004be0b0738378b3 -MISC ChangeLog 5877 RMD160 c6d93017a455e777ffc4e5f6378558fdd0f3704d SHA1 8802a2e6cec86fc880067dd12bb3d9c35f656b8e SHA256 827d15c187a607895b8a6597f04f4cdcba148e5affc7f3afffdaa4473e5aecf8 -MISC metadata.xml 444 RMD160 1f914f344681864676fc164642c0c955d080cadc SHA1 3d352cd32e117e5d78c0cbb2d3e3e5bd1f83154e SHA256 0febeca73acdd2f57fb3005d174da3741db5e70e528471ebe8816936962f9b5e +EBUILD nzbget-0.8.0_pre394.ebuild 2679 RMD160 fef9e68ac5e7bdb846e5d1437bfbc8230901027d SHA1 ff963dad5a59bc3e86a9f920cc7b3f71c9967f14 SHA256 03b5383c28b91a10d0bf6e4103644f2c4627fd5cad1add75a07c5087d65055d7 +MISC ChangeLog 6066 RMD160 b81c367c489d463417b3881ee649b15a8fc4746e SHA1 aefd6a6802fb311664621b3d3ee0680d7fcee5d3 SHA256 c781024e1c28085da01f33615c5076b3555d8ae0b73afe60eafbf9f11b991cda +MISC metadata.xml 539 RMD160 3a52ba5785d93082d1f78914eefe22c820bcc715 SHA1 20af86a431d1020124bc061b2fe705a68237b8f0 SHA256 48f9bc14033c2a447322b31e146267269726e47b8925fed04eb763fae4655e31 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJOXVcIAAoJEEqz6FtPBkyjuCAH/RXlUQtFuUY+Cj0ArGukU2fm -Sb9V5CbARXFXZAQWKTEW/mftfdzEWt9PjiGHN4iwkeNJ/uok38iH2gZQxTixcAVl -MuYNYPwOSXxN38OCPZ6jdkrh5nKIhiILqlO2ddUSx5mjoSU9buZbR1rzSF/YfvRR -9yCeuC4ty8EcB9vPgAzKrNJKlwVS7JXkwEqUxFDLqXucU12QLnT3UwAVpMeowpB8 -t1XxTa7f9EuUW8k1ll03eZQRWvHHGVNTifQyzfS6cEQFRo9OoToQYl+j+S3Rruqz -HEkhutQboRW94FjUy9fQrwjw5eNyFt4vtnHI8tjvZMzTW1o2k4aRbYQPfVIclR8= -=cNmx +iQEcBAEBCgAGBQJOXVkaAAoJEEqz6FtPBkyjwo4H/0ha69sCE7VjJQrFzrWbQ3e9 +K9HH3aB1yL3a2pvEtZtnEFUx9g8OMdTvkDD1LxrDtew6IQp1cH4RgjQZxLZcsyxw +Tx05wVQBzleo07B5e14CptxhVoU1ysdtUTP7SX2Rm4JGqsFaPuDo19w7qBtQxwW7 +PVYCaYMSsZZYhoZ5h/DNEBzzbXdY0tr8rYcBiemlMkFoMWzD2toTXi8hj+TgL3Hb +ZcnQsm++W9p9Xl4rmThDEYEMvqsPuuzfCWIF3NPhHrCE06+Ol2Xd/AqvGT8ZLsUU +tyLEBtgbGsu18ebICw2AJASJuUfUnNqomeYeKRqetOSYF5LeLMJyN7womq5pbag= +=XyPO -----END PGP SIGNATURE----- diff --git a/net-nntp/nzbget/metadata.xml b/net-nntp/nzbget/metadata.xml index da33727a856e..9d69f437ed11 100644 --- a/net-nntp/nzbget/metadata.xml +++ b/net-nntp/nzbget/metadata.xml @@ -6,6 +6,10 @@ <email>swegener@gentoo.org</email> <name>Sven Wegener</name> </maintainer> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> <longdescription>A command-line based binary newsgrabber supporting .nzb files.</longdescription> <use> <flag name='parcheck'>Enable support for checking PAR archives</flag> diff --git a/net-nntp/nzbget/nzbget-0.8.0_pre394.ebuild b/net-nntp/nzbget/nzbget-0.8.0_pre394.ebuild new file mode 100644 index 000000000000..3a110740b58c --- /dev/null +++ b/net-nntp/nzbget/nzbget-0.8.0_pre394.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-0.8.0_pre394.ebuild,v 1.1 2011/08/30 21:41:41 radhermit Exp $ + +EAPI="4" + +inherit eutils autotools + +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="~alpha ~amd64 ~ppc ~x86" +IUSE="debug ssl gnutls ncurses parcheck" + +RDEPEND="dev-libs/libxml2 + ssl? ( + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl ) + ) + ncurses? ( sys-libs/ncurses ) + parcheck? ( + app-arch/libpar2 + dev-libs/libsigc++:2 + )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS=( AUTHORS ChangeLog README nzbget.conf.example ) + +S="${WORKDIR}"/${P/_pre*/-testing} + +src_prepare() { + sed \ + -i \ + -e 's:^PostProcess=.*:#PostProcess=/usr/share/nzbget/postprocess-example.sh:' \ + nzbget.conf.example \ + || die "sed nzbget.conf.example failed" + + sed \ + -e 's:^$MAINDIR=.*:$MAINDIR=/var/lib/nzbget:' \ + -e 's:^LockFile=.*:LockFile=/var/run/nzbget/nzbget.pid:' \ + -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \ + "${S}"/nzbget.conf.example >"${S}"/nzbgetd.conf.example \ + || die "sed nzbgetd.conf.example failed" + + epatch "${FILESDIR}"/${PN}-0.7.0-openssl-1.patch \ + "${FILESDIR}"/${PN}-0.7.0-underlinking.patch + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable ncurses curses) \ + $(use_enable parcheck) \ + $(use_enable ssl tls) \ + --with-tlslib=$(use gnutls && echo GnuTLS || echo OpenSSL) +} + +src_install() { + default + + insinto /etc + newins nzbget.conf.example nzbget.conf + newins nzbgetd.conf.example nzbgetd.conf + + keepdir /var/lib/nzbget/{dst,nzb,queue,tmp} + keepdir /var/{log,run}/nzbget + + newinitd "${FILESDIR}"/nzbget.initd nzbget + newconfd "${FILESDIR}"/nzbget.confd nzbget + + exeinto /usr/share/nzbget + doexe postprocess-example.sh + + insinto /usr/share/nzbget + doins postprocess-example.conf +} + +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,run}/nzbget + fperms 750 /var/{log,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 +} |