summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2010-05-09 08:37:44 +0000
committerSven Wegener <swegener@gentoo.org>2010-05-09 08:37:44 +0000
commitd380ee1200f14cf28393e0fa8f3049976e8c4cbc (patch)
tree23d13455b1c4e8f00fb99df3da12996eb4012051 /net-nntp
parentAdd fix from upstream for ld internal error #317549, add fix from upstream fo... (diff)
downloadgentoo-2-d380ee1200f14cf28393e0fa8f3049976e8c4cbc.tar.gz
gentoo-2-d380ee1200f14cf28393e0fa8f3049976e8c4cbc.tar.bz2
gentoo-2-d380ee1200f14cf28393e0fa8f3049976e8c4cbc.zip
Install example post-process script, bug #296311.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/nzbget/ChangeLog5
-rw-r--r--net-nntp/nzbget/nzbget-0.6.0.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog
index 067d11a4f2dc..3aafb54b3eb2 100644
--- a/net-nntp/nzbget/ChangeLog
+++ b/net-nntp/nzbget/ChangeLog
@@ -1,6 +1,9 @@
# 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.28 2010/01/03 15:05:29 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.29 2010/05/09 08:37:43 swegener Exp $
+
+ 09 May 2010; Sven Wegener <swegener@gentoo.org> nzbget-0.6.0.ebuild:
+ Install example post-process script, bug #296311.
03 Jan 2010; Sven Wegener <swegener@gentoo.org> -nzbget-0.4.0.ebuild,
-nzbget-0.4.0-r1.ebuild, -files/nzbget-0.4.0-gcc-4.3.patch,
diff --git a/net-nntp/nzbget/nzbget-0.6.0.ebuild b/net-nntp/nzbget/nzbget-0.6.0.ebuild
index ad91a76df55c..ab09d973bd47 100644
--- a/net-nntp/nzbget/nzbget-0.6.0.ebuild
+++ b/net-nntp/nzbget/nzbget-0.6.0.ebuild
@@ -1,6 +1,6 @@
# 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.6.0.ebuild,v 1.5 2010/01/03 15:05:29 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-0.6.0.ebuild,v 1.6 2010/05/09 08:37:44 swegener Exp $
EAPI="2"
@@ -29,10 +29,16 @@ RDEPEND="${DEPEND}"
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 \
+ "${S}"/nzbget.conf.example >"${S}"/nzbgetd.conf.example \
|| die "sed nzbgetd.conf.example failed"
}
@@ -59,6 +65,9 @@ src_install() {
newinitd "${FILESDIR}"/nzbget.initd nzbget
newconfd "${FILESDIR}"/nzbget.confd nzbget
+ exeinto /usr/share/nzbget
+ doexe postprocess-example.sh
+
dodoc AUTHORS ChangeLog README nzbget.conf.example || die "dodoc failed"
}