Gentoo Archives: gentoo-commits

From: Dane Smith <c1pher@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/c1pher:master commit in: net-nntp/sabnzbd/files/, net-nntp/sabnzbd/
Date: Tue, 05 Jun 2012 20:43:16
Message-Id: 1338928944.bafb7ecfe9299facf6381b60b9d70e23d62eb159.c1pher@gentoo
1 commit: bafb7ecfe9299facf6381b60b9d70e23d62eb159
2 Author: Dane Smith <c1pher <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 5 20:42:24 2012 +0000
4 Commit: Dane Smith <c1pher <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 5 20:42:24 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=bafb7ecf
7
8 Drop sabnzbd.
9
10 ---
11 net-nntp/sabnzbd/ChangeLog | 10 ---
12 net-nntp/sabnzbd/Manifest | 7 --
13 net-nntp/sabnzbd/files/sabnzbd.conf | 22 ------
14 net-nntp/sabnzbd/files/sabnzbd.ini | 131 ---------------------------------
15 net-nntp/sabnzbd/files/sabnzbd.init | 22 ------
16 net-nntp/sabnzbd/metadata.xml | 10 ---
17 net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild | 121 ------------------------------
18 7 files changed, 0 insertions(+), 323 deletions(-)
19
20 diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog
21 deleted file mode 100644
22 index fc01771..0000000
23 --- a/net-nntp/sabnzbd/ChangeLog
24 +++ /dev/null
25 @@ -1,10 +0,0 @@
26 -# ChangeLog for net-nntp/sabnzbd
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: $
29 -
30 -*sabnzbd-0.6.1 (25 May 2011)
31 -
32 - 25 May 2011; Dane Smith <c1pher@g.o> +sabnzbd-0.6.1.ebuild,
33 - +metadata.xml:
34 - initial version
35 -
36
37 diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
38 deleted file mode 100644
39 index 5b46d62..0000000
40 --- a/net-nntp/sabnzbd/Manifest
41 +++ /dev/null
42 @@ -1,7 +0,0 @@
43 -AUX sabnzbd.conf 723 RMD160 704a24d899970fb3051285a8f8dd650bb1584f48 SHA1 62c9b924debefe6111592f4e9d1620f4933b414d SHA256 b0eda99cdf1dc12d2818f3eb131a447cf054ace8bf921f90f9e28fbd01523bae
44 -AUX sabnzbd.ini 2415 RMD160 eec1fbb240c3e1b904d3757da7a2f6e60acad157 SHA1 82ccfd2689042a33ed2d26c587489e98ffeddd3c SHA256 e05345c728bb2285caaf8feec264aaef3adaf903c4fd1879d3222fd5a7ae304a
45 -AUX sabnzbd.init 509 RMD160 84fe7ab74e15eca5e630f05b60f9650a1faeaacc SHA1 b2568a3fea569017428c3e3a9852e1151db9f550 SHA256 92024dc4a466c6ef10e6ccec2c98f5d038d496ebd4d07222d1492d640d1c6113
46 -DIST SABnzbd-0.6.1-src.tar.gz 1888233 RMD160 0ac6823c2b850d4184b94f6a206241bcab04af1e SHA1 6e009f210235bb6b8278c59634bf2db1b5fb32f4 SHA256 b9b7e15c3e774aae42e248f19bc97bdbc17afe6bf27e236a7d565ddf5e11ae58
47 -EBUILD sabnzbd-0.6.1.ebuild 3263 RMD160 2338da2b9f85ab80545f7f9a8dfb3ff332f5030b SHA1 7277b625982e2aca4c7a6343b06392d16267b784 SHA256 bdb47a72d9067bc816392c18c14b1f7bb484eb42d1aa23320210d476f912ae65
48 -MISC ChangeLog 252 RMD160 37a18861a1739a133fa07f2cf89be3bf067c88d3 SHA1 1d39f9e535afcdc498cfe06da872bf37d67a134b SHA256 ee66b4dfcec39dc60c0ac5f155b2d2be1b5f268209c5f78407488f8c798e52ec
49 -MISC metadata.xml 252 RMD160 0d6b4d4e9e2fc0a9fc73289b6f3234195a3a1405 SHA1 6d719654a220ceff01851fa059936c79ca6bf9be SHA256 50fba57de1e11a48fbf58020c096095ebf9ec5defa2b5bcda9ed44e5be159d3f
50
51 diff --git a/net-nntp/sabnzbd/files/sabnzbd.conf b/net-nntp/sabnzbd/files/sabnzbd.conf
52 deleted file mode 100644
53 index 311c675..0000000
54 --- a/net-nntp/sabnzbd/files/sabnzbd.conf
55 +++ /dev/null
56 @@ -1,22 +0,0 @@
57 -# Copyright 1999-2007 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -# $Header: $
60 -
61 -# /etc/conf.d/sabnzbd
62 -# Config file for sabnzbd init script
63 -
64 -# Which user to run sabnzbd as, you should change this.
65 -SAB_USER="sabnzbd"
66 -
67 -# This overrides the contents of /etc/sabnzbd.conf, needed for wget shutdown to work in init (short of writing some crazy regex for the config)
68 -SAB_HOSTNAME="localhost"
69 -SAB_PORT="8081"
70 -
71 -# Location of config file.
72 -# Make sure the user specified above can read this file. (if you want to change options from the webUI, give it write)
73 -SAB_CFG="/etc/sabnzbd/sabnzbd.ini"
74 -
75 -SAB_PATH=/usr/share/sabnzbd/
76 -SAB_PY=SABnzbd.py
77 -
78 -SAB_PID=/var/run/sabnzbd/sabnzbd-${SAB_PORT}.pid
79
80 diff --git a/net-nntp/sabnzbd/files/sabnzbd.ini b/net-nntp/sabnzbd/files/sabnzbd.ini
81 deleted file mode 100644
82 index fd01e08..0000000
83 --- a/net-nntp/sabnzbd/files/sabnzbd.ini
84 +++ /dev/null
85 @@ -1,131 +0,0 @@
86 -__version__ = 19
87 -[misc]
88 -log_dir = /var/log/sabnzbd
89 -auto_browser = 0
90 -permissions = 0775
91 -check_new_rel = 1
92 -replace_spaces = 0
93 -fail_on_crc = 0
94 -enable_filejoin = 0
95 -enable_unzip = 1
96 -enable_unrar = 1
97 -enable_par_cleanup = 1
98 -par_option = ""
99 -config_lock = 0
100 -safe_postproc = 0
101 -pause_on_post_processing = 0
102 -cleanup_list = ""
103 -ignore_samples = 0
104 -send_group = 0
105 -download_free = 0
106 -admin_dir = /var/lib/sabnzbd/admin
107 -cache_dir = /var/lib/sabnzbd/cache
108 -complete_dir = /var/lib/sabnzbd/complete
109 -download_dir = /var/lib/sabnzbd/download
110 -dirscan_dir = /var/lib/sabnzbd/dirscan
111 -incomplete_dir = /var/lib/sabnzbd/incomplete
112 -nzb_backup_dir = /var/lib/sabnzbd/nzb_backup
113 -script_dir = /var/lib/sabnzbd/scripts
114 -dirscan_speed = 5
115 -refresh_rate = 0
116 -rss_rate = 60
117 -bandwith_limit = 0
118 -cache_limit = 0
119 -email_server = ""
120 -email_to = ""
121 -email_from = ""
122 -email_account = ""
123 -email_pwd = ""
124 -email_endjob = 0
125 -email_full = 0
126 -schedlines = ,
127 -dirscan_opts = 3
128 -dirscan_script = ""
129 -top_only = 1
130 -auto_sort = 0
131 -enable_tv_sorting = 0
132 -tv_sort_string = ""
133 -web_color = ""
134 -web_color2 = ""
135 -host = 0.0.0.0
136 -port = 8080
137 -web_dir = smpl
138 -web_dir2 = ""
139 -username = sabnzbd
140 -password = secret
141 -api_key = ""
142 -[logging]
143 -enable_cherrypy_logging = 1
144 -log_level = 1
145 -max_log_size = 5M
146 -log_backups = 5
147 -[newzbin]
148 -username = ""
149 -password = ""
150 -bookmarks = 0
151 -unbookmark = 0
152 -bookmark_rate = 60
153 -[servers]
154 -##example
155 -#[[news-europe.giganews.com:119]]
156 -#host = news-europe.giganews.com
157 -#port = 119
158 -#username = changeme
159 -#password = changeme
160 -#timeout = 120
161 -#connections = 5
162 -#fillserver = 0
163 -## 0 to disable SSL
164 -#ssl = 0
165 -## example using SSL
166 -#[[news-europe.giganews.com:563]]
167 -#host = news-europe.giganews.com
168 -#port = 563
169 -#username = changeme
170 -#password = changeme
171 -#timeout = 120
172 -#connections = 5
173 -#fillserver = 0
174 -## 0 to disable SSL
175 -#ssl = 1
176 -[rss]
177 -[categories]
178 -[[unknown]]
179 -newzbin = Unknown
180 -dir = Unknown
181 -[[anime]]
182 -newzbin = Anime
183 -dir = Anime
184 -[[apps]]
185 -newzbin = Apps
186 -dir = Apps
187 -[[books]]
188 -newzbin = Books
189 -dir = Books
190 -[[consoles]]
191 -newzbin = Consoles
192 -dir = Consoles
193 -[[emulation]]
194 -newzbin = Emulation
195 -dir = Emulation
196 -[[games]]
197 -newzbin = Games
198 -dir = Games
199 -[[misc]]
200 -newzbin = Misc
201 -dir = Misc
202 -[[movies]]
203 -newzbin = Movies
204 -dir = Movies
205 -[[music]]
206 -newzbin = Music
207 -dir = Music
208 -[[pda]]
209 -newzbin = PDA
210 -dir = PDA
211 -[[resources]]
212 -newzbin = Resources
213 -dir = Resources
214 -[[tv]]
215 -newzbin = TV
216 -dir = TV
217
218 diff --git a/net-nntp/sabnzbd/files/sabnzbd.init b/net-nntp/sabnzbd/files/sabnzbd.init
219 deleted file mode 100644
220 index 811993a..0000000
221 --- a/net-nntp/sabnzbd/files/sabnzbd.init
222 +++ /dev/null
223 @@ -1,22 +0,0 @@
224 -#!/sbin/runscript
225 -# Copyright 1999-2007 Gentoo Foundation
226 -# Distributed under the terms of the GNU General Public License v2
227 -# $Header: $
228 -
229 -opts="start stop"
230 -
231 -depend() {
232 - need net
233 -}
234 -
235 -start() {
236 - ebegin "Starting SABnzbd"
237 - start-stop-daemon --start --quiet --user "${SAB_USER}" --pidfile "${SAB_PID}" -d "${SAB_PATH}" --exec python "${SAB_PY}" -- -d -f "${SAB_CFG}" --pid /var/run/sabnzbd/
238 - eend $?
239 -}
240 -
241 -stop() {
242 - ebegin "Stopping SABnzbd"
243 - start-stop-daemon --stop --retry 30 --pidfile "${SAB_PID}"
244 - eend $?
245 -}
246
247 diff --git a/net-nntp/sabnzbd/metadata.xml b/net-nntp/sabnzbd/metadata.xml
248 deleted file mode 100644
249 index 2ba872d..0000000
250 --- a/net-nntp/sabnzbd/metadata.xml
251 +++ /dev/null
252 @@ -1,10 +0,0 @@
253 -<?xml version="1.0" encoding="UTF-8"?>
254 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
255 -<pkgmetadata>
256 - <herd>no-herd</herd>
257 - <maintainer>
258 - <email>c1pher@g.o</email>
259 - <name>Dane Smith</name>
260 - </maintainer>
261 -</pkgmetadata>
262 -
263
264 diff --git a/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild b/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild
265 deleted file mode 100644
266 index 90e7410..0000000
267 --- a/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild
268 +++ /dev/null
269 @@ -1,121 +0,0 @@
270 -# Copyright 1999-2011 Gentoo Foundation
271 -# Distributed under the terms of the GNU General Public License v2
272 -# $Header: $
273 -
274 -inherit eutils multilib python
275 -
276 -PYTHON_DEPEND="2:2.5"
277 -RESTRICT_PYTHON_ABIS="3.*"
278 -EAPI="3"
279 -
280 -MY_P="$P"
281 -MY_P="${MY_P/sab/SAB}"
282 -MY_P="${MY_P/_beta/Beta}"
283 -MY_P="${MY_P/_rc/RC}"
284 -
285 -DESCRIPTION="Binary Newsgrabber written in Python"
286 -HOMEPAGE="http://www.sabnzbd.org/"
287 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
288 -
289 -LICENSE="GPL-2"
290 -SLOT="0"
291 -KEYWORDS=""
292 -IUSE="+rar unzip rss +yenc ssl"
293 -
294 -RDEPEND="
295 - >=app-arch/par2cmdline-0.4
296 - >=dev-python/celementtree-1.0.5
297 - >=dev-python/cheetah-2.0.1
298 - >=dev-python/cherrypy-3.2
299 - dev-python/pysqlite:2
300 - rar? ( >=app-arch/unrar-3.9.0 )
301 - unzip? ( >=app-arch/unzip-5.5.2 )
302 - yenc? ( >=dev-python/yenc-0.3 )
303 - ssl? ( >=dev-python/pyopenssl-0.7
304 - dev-libs/openssl )"
305 -DEPEND="${RDEPEND}
306 - app-text/dos2unix"
307 -
308 -S="${WORKDIR}/${MY_P}"
309 -
310 -HOMEDIR="${ROOT}var/lib/${PN}"
311 -DHOMEDIR="/var/lib/${PN}"
312 -
313 -pkg_setup() {
314 - enewgroup "${PN}"
315 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
316 -}
317 -
318 -src_install() {
319 -
320 - cp "${FILESDIR}/${PN}.ini" "${S}" \
321 - || die "copying sample ${PN}.ini"
322 -
323 - dodoc CHANGELOG.txt ISSUES.txt INSTALL.txt README.txt \
324 - Sample-PostProc.sh Sample-PostProc.cmd || die
325 -
326 - insopts -m0660 -o root -g ${PN}
327 - newconfd "${FILESDIR}/${PN}.conf" "${PN}" || die
328 - newinitd "${FILESDIR}/${PN}.init" "${PN}" || die
329 -
330 - diropts -m0770 -o root -g ${PN}
331 - dodir /etc/${PN} || die
332 -
333 - insinto /etc/${PN}/
334 - insopts -m0660 -o root -g ${PN}
335 - doins "${PN}.ini" || die "newins ${PN}.ini"
336 -
337 - keepdir ${DHOMEDIR}
338 - for i in admin cache complete download dirscan incomplete \
339 - nzb_backup scripts; do
340 - keepdir ${DHOMEDIR}/${i} || die
341 - done
342 -
343 - fowners -R root:${PN} ${DHOMEDIR} || die
344 - fperms -R 770 ${DHOMEDIR} || die
345 -
346 - keepdir /var/log/${PN} || die
347 - fowners -R root:${PN} /var/log/${PN} || die
348 - fperms -R 770 /var/log/${PN} || die
349 -
350 - keepdir /var/run/${PN} || die
351 - fowners -R root:${PN} /var/run/${PN} || die
352 - fperms -R 770 /var/run/${PN} || die
353 -
354 - dodir /usr/share/${P} || die
355 - insinto /usr/share/${P}
356 - for i in interfaces sabnzbd email locale po tools util;do
357 - doins -r $i || die
358 - done
359 -
360 - doins SABnzbd.py || die
361 -
362 - dosym /usr/share/${P} /usr/share/${PN} || die
363 -
364 - fowners -R root:${PN} /usr/share/${P} || die
365 - fperms -R 770 /usr/share/${P} || die
366 -}
367 -
368 -pkg_postinst() {
369 - python_mod_optimize /usr/share/${P}/sabnzbd
370 -
371 - einfo "SABnzbd has been installed with default directories in ${HOMEDIR}"
372 - einfo "Email templates can be found in: ${ROOT}usr/share/${P}/email"
373 - einfo ""
374 - einfo "By default, SABnzbd runs as the unprivileged user \"sabnzbd\""
375 - einfo "on port 8081 with no API key."
376 - einfo ""
377 - einfo "Be sure to that the \"sabnzbd\" user has the appropriate"
378 - einfo "permissions to read/write to any non-default directories"
379 - einfo "if changed in ${PN}.ini"
380 - einfo ""
381 - einfo "Configuration files are accessible only to users in the \"sabnzbd\" group"
382 - einfo "Run 'gpasswd -a <user> sabnzbd' to add a user to the sabnzbd group"
383 - einfo "so it can edit the appropriate configuration files"
384 - einfo ""
385 - ewarn "Please configure /etc/conf.d/${PN} before starting!"
386 - ewarn ""
387 - ewarn "Start with ${ROOT}etc/init.d/${PN} start"
388 - ewarn "Visit http://<host ip>:8081 to configure SABnzbd"
389 - ewarn "Default web username/password : sabnzbd/secret"
390 -}