summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-10-04 16:40:09 +0000
committerSven Wegener <swegener@gentoo.org>2008-10-04 16:40:09 +0000
commit70074e9b5bebe360fc0f42515f1073727f34d853 (patch)
tree0349de2d6bd1290f33fdbc58f938cd23ae75a4e9 /net-nntp
parentBumped libkdcraw to force the reinstall under /usr/kde/3.5 and to fix bug 239... (diff)
downloadhistorical-70074e9b5bebe360fc0f42515f1073727f34d853.tar.gz
historical-70074e9b5bebe360fc0f42515f1073727f34d853.tar.bz2
historical-70074e9b5bebe360fc0f42515f1073727f34d853.zip
Version bump, bug #238846. This also resolves bug #231740.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/nzbget/ChangeLog7
-rw-r--r--net-nntp/nzbget/Manifest10
-rw-r--r--net-nntp/nzbget/nzbget-0.5.1.ebuild81
3 files changed, 93 insertions, 5 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog
index 3136a33fee9c..24778af943db 100644
--- a/net-nntp/nzbget/ChangeLog
+++ b/net-nntp/nzbget/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-nntp/nzbget
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.22 2008/08/22 19:52:40 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.23 2008/10/04 16:40:09 swegener Exp $
+
+*nzbget-0.5.1 (04 Oct 2008)
+
+ 04 Oct 2008; Sven Wegener <swegener@gentoo.org> +nzbget-0.5.1.ebuild:
+ Version bump, bug #238846. This also resolves bug #231740.
22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest
index a1b418d46055..e606ed4a2f4c 100644
--- a/net-nntp/nzbget/Manifest
+++ b/net-nntp/nzbget/Manifest
@@ -6,15 +6,17 @@ AUX nzbget.confd 337 RMD160 7f88d0274d99d880194d18b5bf4c130e450c2084 SHA1 1a0a7a
AUX nzbget.initd 876 RMD160 3edadcf591f5843740c483746cc4ed573f7bf75b SHA1 4258ef47ee7d27d80a354baa77579648063c59fd SHA256 bb81a944ec8a3503d8cc1c3430a29d6f4c5b3be19c89e8220e7444d0b2156447
DIST nzbget-0.4.0.tar.gz 248895 RMD160 8a53a35e8528ba71e34301591c168512888497b7 SHA1 91cd634e1d470f955a2eaf8b680b31873466072d SHA256 ac1d3b4891626bf3ecaa92d2077780f354a1e1958e3577d7221a59cd9acd9900
DIST nzbget-0.4.1.tar.gz 251338 RMD160 a7a8ea75c83be32e3eb0e63e4cbcd05546ce0937 SHA1 908344661fd76715d911a686fc9c489f5f443f98 SHA256 aae9e1b9b0eb7f4f6418a1e0e516c583fab43d37e6ecc1ffc4f729bdd7e4c69e
+DIST nzbget-0.5.1.tar.gz 278007 RMD160 9feaea20b9f44225684c7a6650e0cb39d4f3fb0c SHA1 498f99e522fb16e8d60752678fbc6291b6db7aaa SHA256 48af705afa1cb429562e1b9e27f854e60de62f3c4ef3775229051f82be9f57ff
EBUILD nzbget-0.4.0-r1.ebuild 2277 RMD160 03d44cad6558f0d9bb326044fafe43e2270fd3ee SHA1 8af2c5bad3b5716aaa7dbddf2793a0e200a55836 SHA256 5e9da2aad9df9249245cbf6801e8016872e3a40405df89dcb662f1920a41fb08
EBUILD nzbget-0.4.0.ebuild 1040 RMD160 6fc61e329ee3f8cab1088ee316a398993426ff84 SHA1 489033e3aed6bb2e199d27d863aa6e699e836d7a SHA256 ba07b61ef8cf843529eb45a5976c0cf552f101ded487ec154804dbf7282976f0
EBUILD nzbget-0.4.1.ebuild 2232 RMD160 9a31e8684d02b4c20d897f45227f134a686a5090 SHA1 e995e8899431d1f21d0ea5f09cafcff5cfb917bc SHA256 448bd66b4d94b465b9ea8091ba94db2bea698de3a4a882aab50b00c6cc6a77bb
-MISC ChangeLog 4136 RMD160 ab555a23d6bacdca756fe31291a624ed3eaadcae SHA1 f1e18c64c1440b74f141fcfed353b0464c5a04ed SHA256 1430831dc2c1ec620634e440306585a2aa2c1a0b1e83b74d77e43cc775fafab5
+EBUILD nzbget-0.5.1.ebuild 2232 RMD160 3361007e9d93fa2d7c4147c7837d97aef61dbfbc SHA1 3ddae8fae56166536a63135c15c4af1efc3c7ed5 SHA256 869fd3b0278e26d5a297d8947086bf344c27faf8086d5b3a3c2338ea60cd3f90
+MISC ChangeLog 4301 RMD160 4877c2225e0dbb4273c1c1377eef850bc5bbb4d2 SHA1 6b961d1aa99d7949a57ed1751b5ed722bc7fc042 SHA256 d3c0c86b7b2b21b5da6d2cce319b5cdc6d56498bafd89d63bc5f5fa42c1b1b1e
MISC metadata.xml 444 RMD160 1f914f344681864676fc164642c0c955d080cadc SHA1 3d352cd32e117e5d78c0cbb2d3e3e5bd1f83154e SHA256 0febeca73acdd2f57fb3005d174da3741db5e70e528471ebe8816936962f9b5e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEUEARECAAYFAkivGQ4ACgkQoeSe8B0zEfyhkACYtrxrCUVnfDDHy50ebyQ5wyps
-jgCfcpFTJrqwXSDMfJQPdZ9HfXMNMWM=
-=X6QV
+iEYEARECAAYFAkjnnHsACgkQI1lqEGTUzySMkACeKlJqf9pvNAznrBaO+idEiUrz
+GnYAoNBmky/2Eyp/EG4Kcp8xWbu/RSzQ
+=UdmG
-----END PGP SIGNATURE-----
diff --git a/net-nntp/nzbget/nzbget-0.5.1.ebuild b/net-nntp/nzbget/nzbget-0.5.1.ebuild
new file mode 100644
index 000000000000..15791df4565d
--- /dev/null
+++ b/net-nntp/nzbget/nzbget-0.5.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-0.5.1.ebuild,v 1.1 2008/10/04 16:40:09 swegener Exp $
+
+EAPI="1"
+
+inherit eutils
+
+DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files"
+HOMEPAGE="http://nzbget.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="debug ncurses parcheck"
+
+DEPEND="dev-libs/libxml2
+ parcheck? (
+ app-arch/libpar2
+ dev-libs/libsigc++:2
+ )
+ ncurses? ( sys-libs/ncurses )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ 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_compile() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable ncurses curses) \
+ $(use_enable parcheck) \
+ || die "econf failed"
+ emake || die "emake 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
+
+ dodoc AUTHORS ChangeLog README nzbget.conf.example || die "dodoc failed"
+}
+
+pkg_postinst() {
+ enewgroup nzbget
+ enewuser nzbget -1 -1 /var/lib/nzbget nzbget
+
+ chown nzbget:nzbget "${ROOT}"/var/lib/nzbget/{dst,nzb,queue,tmp}
+ chmod 750 "${ROOT}"/var/lib/nzbget/{queue,tmp}
+ chmod 770 "${ROOT}"/var/lib/nzbget/{dst,nzb}
+
+ chown nzbget:nzbget "${ROOT}"/var/{log,run}/nzbget
+ chmod 750 "${ROOT}"/var/{log,run}/nzbget
+
+ chown root:nzbget "${ROOT}"/etc/nzbgetd.conf
+ chmod 640 "${ROOT}"/etc/nzbgetd.conf
+
+ 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
+}