diff options
author | Sven Wegener <swegener@gentoo.org> | 2010-05-09 08:43:43 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2010-05-09 08:43:43 +0000 |
commit | 341d383d93c826b33cabda86663ed543d215612e (patch) | |
tree | 84ee252e650ed5e69e6f9576dd162746496c980b /net-nntp/nzbget | |
parent | Install example post-process script, bug #296311. (diff) | |
download | historical-341d383d93c826b33cabda86663ed543d215612e.tar.gz historical-341d383d93c826b33cabda86663ed543d215612e.tar.bz2 historical-341d383d93c826b33cabda86663ed543d215612e.zip |
Version bump.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-nntp/nzbget')
-rw-r--r-- | net-nntp/nzbget/ChangeLog | 7 | ||||
-rw-r--r-- | net-nntp/nzbget/Manifest | 10 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-0.7.0.ebuild | 102 |
3 files changed, 114 insertions, 5 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog index 3aafb54b3eb2..e61b3ac0ca9c 100644 --- a/net-nntp/nzbget/ChangeLog +++ b/net-nntp/nzbget/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-nntp/nzbget # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.29 2010/05/09 08:37:43 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.30 2010/05/09 08:43:43 swegener Exp $ + +*nzbget-0.7.0 (09 May 2010) + + 09 May 2010; Sven Wegener <swegener@gentoo.org> +nzbget-0.7.0.ebuild: + Version bump. 09 May 2010; Sven Wegener <swegener@gentoo.org> nzbget-0.6.0.ebuild: Install example post-process script, bug #296311. diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 9aaa50aef659..3039aa96af64 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -4,13 +4,15 @@ Hash: SHA1 AUX nzbget.confd 337 RMD160 7f88d0274d99d880194d18b5bf4c130e450c2084 SHA1 1a0a7a54654b15853d2ba5277a9d0ce919892bff SHA256 a2a305dc1ef482d82041c5261dba235f6faae229d894785f528d87c9c0e452b8 AUX nzbget.initd 876 RMD160 3edadcf591f5843740c483746cc4ed573f7bf75b SHA1 4258ef47ee7d27d80a354baa77579648063c59fd SHA256 bb81a944ec8a3503d8cc1c3430a29d6f4c5b3be19c89e8220e7444d0b2156447 DIST nzbget-0.6.0.tar.gz 296298 RMD160 7dacc0a24efb66019de99fd6b143c97a559883ba SHA1 c01b455e221c6075f7543de7d953966a527a6b6e SHA256 b0bc8740db7ed9ea269b29e9a936cb2c4dd61a911b80b623fe18729b94de3030 +DIST nzbget-0.7.0.tar.gz 316059 RMD160 b8ff4d454a51f5d1a5b4246437adad57c918500c SHA1 e47cfcc37adbb756f4b449914cbfc6dcaaeebaec SHA256 b798bbcc9f6816b4e19a95f74df067440f7ad49e1c16a3f33f99bddf7916771e EBUILD nzbget-0.6.0.ebuild 2536 RMD160 34b2f75e69ef054d00125da774f7c81ef5a48582 SHA1 55d83296eca169d6878e0f54a4bbab5a61600c8a SHA256 c7421577d1e27ad9891318c3600a921982b8276f64812f8b4ff35680b89d93a9 -MISC ChangeLog 5078 RMD160 17095e1bb408034daf50ac934e3a374ac8c5c2b2 SHA1 8721a67cedfdd143c86d4da4edab31c40a63fdc8 SHA256 cb8d32c95b0bd5673174fa55d9d8e1b323d7e997b4db2454dae2e6959534a07f +EBUILD nzbget-0.7.0.ebuild 2668 RMD160 908730ad57fac10fd9c9b0145510d77c3cac91cc SHA1 ac93646f61fcb5a346926798b68c26bf536672da SHA256 66d2dfbf16084b975adadb61027b8280389c120d2554b2fd4d73bf6d45560ade +MISC ChangeLog 5196 RMD160 f91ae27d02bebd6407075e41c115dd5ce3921c82 SHA1 04a20bcfc9ceb3c4252d325d5da6931b308b9372 SHA256 a0369a8e0d6663803eb3daac4bae9589cb0b0296bc40e57a5a49ee43f7ff475f MISC metadata.xml 444 RMD160 1f914f344681864676fc164642c0c955d080cadc SHA1 3d352cd32e117e5d78c0cbb2d3e3e5bd1f83154e SHA256 0febeca73acdd2f57fb3005d174da3741db5e70e528471ebe8816936962f9b5e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkvmdF8ACgkQI1lqEGTUzySNrQCgkcFAqfXINyyi14EyAksWDUJb -FvoAoLbXFcdPKUMGAAZJNPRLjbubEzpc -=lO4r +iEYEARECAAYFAkvmdcUACgkQI1lqEGTUzyT68ACfdWLECL94QTPiLjUDv1eP4MNS +Jx8AnA2mAI5pjY4+TqE8hYv6vd5ncDX1 +=u9jd -----END PGP SIGNATURE----- diff --git a/net-nntp/nzbget/nzbget-0.7.0.ebuild b/net-nntp/nzbget/nzbget-0.7.0.ebuild new file mode 100644 index 000000000000..0ac7b6feb496 --- /dev/null +++ b/net-nntp/nzbget/nzbget-0.7.0.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-0.7.0.ebuild,v 1.1 2010/05/09 08:43:43 swegener Exp $ + +EAPI="2" + +inherit eutils + +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" + +DEPEND="dev-libs/libxml2 + ssl? ( + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl ) + ) + ncurses? ( sys-libs/ncurses ) + parcheck? ( + app-arch/libpar2 + dev-libs/libsigc++:2 + )" +RDEPEND="${DEPEND}" + +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" +} + +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) \ + || die "econf failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + insinto /etc + newins nzbget.conf.example nzbget.conf || die "newins failed" + newins nzbgetd.conf.example nzbgetd.conf || die "newins failed" + + 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 + + dodoc AUTHORS ChangeLog README nzbget.conf.example || die "dodoc failed" +} + +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 +} |