1 |
radhermit 13/04/01 06:26:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nzbget-10.1.ebuild |
5 |
Removed: nzbget-10.0_pre607.ebuild |
6 |
Log: |
7 |
Version bump and remove old. |
8 |
|
9 |
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.65 net-nntp/nzbget/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/ChangeLog?rev=1.65&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/ChangeLog?rev=1.65&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/ChangeLog?r1=1.64&r2=1.65 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v |
21 |
retrieving revision 1.64 |
22 |
retrieving revision 1.65 |
23 |
diff -u -r1.64 -r1.65 |
24 |
--- ChangeLog 26 Mar 2013 11:42:02 -0000 1.64 |
25 |
+++ ChangeLog 1 Apr 2013 06:26:09 -0000 1.65 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-nntp/nzbget |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.64 2013/03/26 11:42:02 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.65 2013/04/01 06:26:09 radhermit Exp $ |
31 |
+ |
32 |
+*nzbget-10.1 (01 Apr 2013) |
33 |
+ |
34 |
+ 01 Apr 2013; Tim Harder <radhermit@g.o> -nzbget-10.0_pre607.ebuild, |
35 |
+ +nzbget-10.1.ebuild: |
36 |
+ Version bump and remove old. |
37 |
|
38 |
26 Mar 2013; Agostino Sarubbo <ago@g.o> nzbget-9.1.ebuild: |
39 |
Stable for x86, wrt bug #463132 |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-nntp/nzbget/nzbget-10.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/nzbget-10.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/nzbget-10.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nzbget-10.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-10.1.ebuild,v 1.1 2013/04/01 06:26:09 radhermit Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils autotools user |
57 |
|
58 |
MY_P=${P/_pre/-testing-r} |
59 |
|
60 |
DESCRIPTION="A command-line based binary newsgrapper supporting .nzb files" |
61 |
HOMEPAGE="http://nzbget.sourceforge.net/" |
62 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~x86" |
67 |
IUSE="debug gnutls ncurses parcheck ssl zlib " |
68 |
|
69 |
RDEPEND="dev-libs/libxml2 |
70 |
ncurses? ( sys-libs/ncurses ) |
71 |
parcheck? ( |
72 |
app-arch/libpar2 |
73 |
dev-libs/libsigc++:2 |
74 |
) |
75 |
ssl? ( |
76 |
gnutls? ( net-libs/gnutls ) |
77 |
!gnutls? ( dev-libs/openssl ) |
78 |
) |
79 |
zlib? ( sys-libs/zlib )" |
80 |
DEPEND="${RDEPEND} |
81 |
virtual/pkgconfig" |
82 |
|
83 |
DOCS=( AUTHORS ChangeLog README nzbget.conf ) |
84 |
|
85 |
S=${WORKDIR}/${P/_pre*/-testing} |
86 |
|
87 |
src_prepare() { |
88 |
sed -i 's:^PostProcess=.*:#PostProcess=/usr/share/nzbget/nzbget-postprocess.sh:' \ |
89 |
nzbget.conf || die |
90 |
|
91 |
sed -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \ |
92 |
-e 's:^LockFile=.*:LockFile=/run/nzbget/nzbget.pid:' \ |
93 |
-e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \ |
94 |
"${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die |
95 |
|
96 |
sed -i "/^dist_doc_DATA/d" Makefile.am || die |
97 |
|
98 |
epatch "${FILESDIR}"/${PN}-9.0_pre477-buffer-overflows.patch |
99 |
|
100 |
eautoreconf |
101 |
} |
102 |
|
103 |
src_configure() { |
104 |
econf \ |
105 |
$(use_enable debug) \ |
106 |
$(use_enable ncurses curses) \ |
107 |
$(use_enable parcheck) \ |
108 |
--disable-libpar2-bugfixes-check \ |
109 |
$(use_enable ssl tls) \ |
110 |
$(use_enable zlib gzip) \ |
111 |
--with-tlslib=$(usex gnutls GnuTLS OpenSSL) |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
default |
116 |
|
117 |
# remove unneeded service script |
118 |
rm "${D}"/usr/sbin/nzbgetd || die |
119 |
|
120 |
insinto /etc |
121 |
doins nzbget.conf |
122 |
doins nzbgetd.conf |
123 |
|
124 |
exeinto /usr/share/nzbget |
125 |
doexe nzbget-postprocess.sh |
126 |
|
127 |
# remove duplicate script/config |
128 |
rm "${D}"/usr/share/nzbget/nzbget.conf |
129 |
rm "${D}"/usr/bin/nzbget-postprocess.sh |
130 |
|
131 |
keepdir /var/lib/nzbget/{dst,nzb,queue,tmp} |
132 |
keepdir /var/log/nzbget |
133 |
|
134 |
newinitd "${FILESDIR}"/nzbget.initd nzbget |
135 |
newconfd "${FILESDIR}"/nzbget.confd nzbget |
136 |
} |
137 |
|
138 |
pkg_preinst() { |
139 |
enewgroup nzbget |
140 |
enewuser nzbget -1 -1 /var/lib/nzbget nzbget |
141 |
|
142 |
fowners nzbget:nzbget /var/lib/nzbget/{dst,nzb,queue,tmp} |
143 |
fperms 750 /var/lib/nzbget/{queue,tmp} |
144 |
fperms 770 /var/lib/nzbget/{dst,nzb} |
145 |
|
146 |
fowners nzbget:nzbget /var/log/nzbget |
147 |
fperms 750 /var/log/nzbget |
148 |
|
149 |
fowners root:nzbget /etc/nzbgetd.conf |
150 |
fperms 640 /etc/nzbgetd.conf |
151 |
} |
152 |
|
153 |
pkg_postinst() { |
154 |
elog |
155 |
elog "Please add users that you want to be able to use the system-wide" |
156 |
elog "nzbget daemon to the nzbget group. To access the daemon run nzbget" |
157 |
elog "with the --configfile /etc/nzbgetd.conf option." |
158 |
elog |
159 |
} |