public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/c1pher:master commit in: net-nntp/sabnzbd/files/, net-nntp/sabnzbd/
@ 2011-05-25 17:36 Dane Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Dane Smith @ 2011-05-25 17:36 UTC (permalink / raw
  To: gentoo-commits

commit:     e7fbd0fec8e90bc28ac6fba0f18248b1c7b6809f
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 17:31:39 2011 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Wed May 25 17:31:39 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=e7fbd0fe

Add ini file.

---
 net-nntp/sabnzbd/Manifest          |    1 +
 net-nntp/sabnzbd/files/sabnzbd.ini |  131 ++++++++++++++++++++++++++++++++++++
 2 files changed, 132 insertions(+), 0 deletions(-)

diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
index 571f731..8c86851 100644
--- a/net-nntp/sabnzbd/Manifest
+++ b/net-nntp/sabnzbd/Manifest
@@ -1,3 +1,4 @@
+AUX sabnzbd.ini 2415 RMD160 eec1fbb240c3e1b904d3757da7a2f6e60acad157 SHA1 82ccfd2689042a33ed2d26c587489e98ffeddd3c SHA256 e05345c728bb2285caaf8feec264aaef3adaf903c4fd1879d3222fd5a7ae304a
 DIST SABnzbd-0.6.1-src.tar.gz 1888233 RMD160 0ac6823c2b850d4184b94f6a206241bcab04af1e SHA1 6e009f210235bb6b8278c59634bf2db1b5fb32f4 SHA256 b9b7e15c3e774aae42e248f19bc97bdbc17afe6bf27e236a7d565ddf5e11ae58
 EBUILD sabnzbd-0.6.1.ebuild 3704 RMD160 091f2842dfa9d73216f429d19f864337b3a6c4e6 SHA1 e7080b0b5fe37e8c5915c5d29a24e6d040afe907 SHA256 1983ead04f5da44acd882845de2b513b6f2cf5796a86b5f69bf1d35894483d9a
 MISC ChangeLog 252 RMD160 37a18861a1739a133fa07f2cf89be3bf067c88d3 SHA1 1d39f9e535afcdc498cfe06da872bf37d67a134b SHA256 ee66b4dfcec39dc60c0ac5f155b2d2be1b5f268209c5f78407488f8c798e52ec

diff --git a/net-nntp/sabnzbd/files/sabnzbd.ini b/net-nntp/sabnzbd/files/sabnzbd.ini
new file mode 100644
index 0000000..fd01e08
--- /dev/null
+++ b/net-nntp/sabnzbd/files/sabnzbd.ini
@@ -0,0 +1,131 @@
+__version__ = 19
+[misc]
+log_dir = /var/log/sabnzbd
+auto_browser = 0
+permissions = 0775
+check_new_rel = 1
+replace_spaces = 0
+fail_on_crc = 0
+enable_filejoin = 0
+enable_unzip = 1
+enable_unrar = 1
+enable_par_cleanup = 1
+par_option = ""
+config_lock = 0
+safe_postproc = 0
+pause_on_post_processing = 0
+cleanup_list = ""
+ignore_samples = 0
+send_group = 0
+download_free = 0
+admin_dir = /var/lib/sabnzbd/admin
+cache_dir = /var/lib/sabnzbd/cache
+complete_dir = /var/lib/sabnzbd/complete
+download_dir = /var/lib/sabnzbd/download
+dirscan_dir = /var/lib/sabnzbd/dirscan
+incomplete_dir = /var/lib/sabnzbd/incomplete
+nzb_backup_dir = /var/lib/sabnzbd/nzb_backup
+script_dir = /var/lib/sabnzbd/scripts
+dirscan_speed = 5
+refresh_rate = 0
+rss_rate = 60
+bandwith_limit = 0
+cache_limit = 0
+email_server = ""
+email_to = ""
+email_from = ""
+email_account = ""
+email_pwd = ""
+email_endjob = 0
+email_full = 0
+schedlines = ,
+dirscan_opts = 3
+dirscan_script = ""
+top_only = 1
+auto_sort = 0
+enable_tv_sorting = 0
+tv_sort_string = ""
+web_color = ""
+web_color2 = ""
+host = 0.0.0.0
+port = 8080
+web_dir = smpl
+web_dir2 = ""
+username = sabnzbd
+password = secret
+api_key = ""
+[logging]
+enable_cherrypy_logging = 1
+log_level = 1
+max_log_size = 5M
+log_backups = 5
+[newzbin]
+username = ""
+password = ""
+bookmarks = 0
+unbookmark = 0
+bookmark_rate = 60
+[servers]
+##example
+#[[news-europe.giganews.com:119]]
+#host = news-europe.giganews.com
+#port = 119
+#username = changeme
+#password = changeme
+#timeout = 120
+#connections = 5
+#fillserver = 0
+## 0 to disable SSL
+#ssl = 0
+## example using SSL
+#[[news-europe.giganews.com:563]]
+#host = news-europe.giganews.com
+#port = 563
+#username = changeme
+#password = changeme
+#timeout = 120
+#connections = 5
+#fillserver = 0
+## 0 to disable SSL
+#ssl = 1
+[rss]
+[categories]
+[[unknown]]
+newzbin = Unknown
+dir = Unknown
+[[anime]]
+newzbin = Anime
+dir = Anime
+[[apps]]
+newzbin = Apps
+dir = Apps
+[[books]]
+newzbin = Books
+dir = Books
+[[consoles]]
+newzbin = Consoles
+dir = Consoles
+[[emulation]]
+newzbin = Emulation
+dir = Emulation
+[[games]]
+newzbin = Games
+dir = Games
+[[misc]]
+newzbin = Misc
+dir = Misc
+[[movies]]
+newzbin = Movies
+dir = Movies
+[[music]]
+newzbin = Music
+dir = Music
+[[pda]]
+newzbin = PDA
+dir = PDA
+[[resources]]
+newzbin = Resources
+dir = Resources
+[[tv]]
+newzbin = TV
+dir = TV



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/c1pher:master commit in: net-nntp/sabnzbd/files/, net-nntp/sabnzbd/
@ 2011-05-25 17:37 Dane Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Dane Smith @ 2011-05-25 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a770abeb49c6a9d369f9501b1c3e5a108fea08c7
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 17:33:12 2011 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Wed May 25 17:33:12 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=a770abeb

Add missing files.

---
 net-nntp/sabnzbd/Manifest           |    2 ++
 net-nntp/sabnzbd/files/sabnzbd.conf |   22 ++++++++++++++++++++++
 net-nntp/sabnzbd/files/sabnzbd.init |   22 ++++++++++++++++++++++
 3 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
index 8c86851..ce24476 100644
--- a/net-nntp/sabnzbd/Manifest
+++ b/net-nntp/sabnzbd/Manifest
@@ -1,4 +1,6 @@
+AUX sabnzbd.conf 723 RMD160 704a24d899970fb3051285a8f8dd650bb1584f48 SHA1 62c9b924debefe6111592f4e9d1620f4933b414d SHA256 b0eda99cdf1dc12d2818f3eb131a447cf054ace8bf921f90f9e28fbd01523bae
 AUX sabnzbd.ini 2415 RMD160 eec1fbb240c3e1b904d3757da7a2f6e60acad157 SHA1 82ccfd2689042a33ed2d26c587489e98ffeddd3c SHA256 e05345c728bb2285caaf8feec264aaef3adaf903c4fd1879d3222fd5a7ae304a
+AUX sabnzbd.init 509 RMD160 84fe7ab74e15eca5e630f05b60f9650a1faeaacc SHA1 b2568a3fea569017428c3e3a9852e1151db9f550 SHA256 92024dc4a466c6ef10e6ccec2c98f5d038d496ebd4d07222d1492d640d1c6113
 DIST SABnzbd-0.6.1-src.tar.gz 1888233 RMD160 0ac6823c2b850d4184b94f6a206241bcab04af1e SHA1 6e009f210235bb6b8278c59634bf2db1b5fb32f4 SHA256 b9b7e15c3e774aae42e248f19bc97bdbc17afe6bf27e236a7d565ddf5e11ae58
 EBUILD sabnzbd-0.6.1.ebuild 3704 RMD160 091f2842dfa9d73216f429d19f864337b3a6c4e6 SHA1 e7080b0b5fe37e8c5915c5d29a24e6d040afe907 SHA256 1983ead04f5da44acd882845de2b513b6f2cf5796a86b5f69bf1d35894483d9a
 MISC ChangeLog 252 RMD160 37a18861a1739a133fa07f2cf89be3bf067c88d3 SHA1 1d39f9e535afcdc498cfe06da872bf37d67a134b SHA256 ee66b4dfcec39dc60c0ac5f155b2d2be1b5f268209c5f78407488f8c798e52ec

diff --git a/net-nntp/sabnzbd/files/sabnzbd.conf b/net-nntp/sabnzbd/files/sabnzbd.conf
new file mode 100644
index 0000000..311c675
--- /dev/null
+++ b/net-nntp/sabnzbd/files/sabnzbd.conf
@@ -0,0 +1,22 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# /etc/conf.d/sabnzbd
+# Config file for sabnzbd init script
+
+# Which user to run sabnzbd as, you should change this.
+SAB_USER="sabnzbd"
+
+# 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)
+SAB_HOSTNAME="localhost"
+SAB_PORT="8081"
+
+# Location of config file.
+# Make sure the user specified above can read this file. (if you want to change options from the webUI, give it write)
+SAB_CFG="/etc/sabnzbd/sabnzbd.ini"
+
+SAB_PATH=/usr/share/sabnzbd/
+SAB_PY=SABnzbd.py
+
+SAB_PID=/var/run/sabnzbd/sabnzbd-${SAB_PORT}.pid

diff --git a/net-nntp/sabnzbd/files/sabnzbd.init b/net-nntp/sabnzbd/files/sabnzbd.init
new file mode 100644
index 0000000..811993a
--- /dev/null
+++ b/net-nntp/sabnzbd/files/sabnzbd.init
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+opts="start stop"
+
+depend() {
+    need net
+}
+
+start() {
+	ebegin "Starting SABnzbd"
+	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/
+	eend $?
+}
+
+stop() {
+	ebegin "Stopping SABnzbd"
+	start-stop-daemon --stop --retry 30 --pidfile "${SAB_PID}"
+	eend $?
+}



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/c1pher:master commit in: net-nntp/sabnzbd/files/, net-nntp/sabnzbd/
@ 2012-06-05 20:42 Dane Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Dane Smith @ 2012-06-05 20:42 UTC (permalink / raw
  To: gentoo-commits

commit:     bafb7ecfe9299facf6381b60b9d70e23d62eb159
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  5 20:42:24 2012 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Tue Jun  5 20:42:24 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=bafb7ecf

Drop sabnzbd.

---
 net-nntp/sabnzbd/ChangeLog            |   10 ---
 net-nntp/sabnzbd/Manifest             |    7 --
 net-nntp/sabnzbd/files/sabnzbd.conf   |   22 ------
 net-nntp/sabnzbd/files/sabnzbd.ini    |  131 ---------------------------------
 net-nntp/sabnzbd/files/sabnzbd.init   |   22 ------
 net-nntp/sabnzbd/metadata.xml         |   10 ---
 net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild |  121 ------------------------------
 7 files changed, 0 insertions(+), 323 deletions(-)

diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog
deleted file mode 100644
index fc01771..0000000
--- a/net-nntp/sabnzbd/ChangeLog
+++ /dev/null
@@ -1,10 +0,0 @@
-# ChangeLog for net-nntp/sabnzbd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*sabnzbd-0.6.1 (25 May 2011)
-
-  25 May 2011; Dane Smith <c1pher@gentoo.org> +sabnzbd-0.6.1.ebuild,
-  +metadata.xml:
-  initial version
-

diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
deleted file mode 100644
index 5b46d62..0000000
--- a/net-nntp/sabnzbd/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX sabnzbd.conf 723 RMD160 704a24d899970fb3051285a8f8dd650bb1584f48 SHA1 62c9b924debefe6111592f4e9d1620f4933b414d SHA256 b0eda99cdf1dc12d2818f3eb131a447cf054ace8bf921f90f9e28fbd01523bae
-AUX sabnzbd.ini 2415 RMD160 eec1fbb240c3e1b904d3757da7a2f6e60acad157 SHA1 82ccfd2689042a33ed2d26c587489e98ffeddd3c SHA256 e05345c728bb2285caaf8feec264aaef3adaf903c4fd1879d3222fd5a7ae304a
-AUX sabnzbd.init 509 RMD160 84fe7ab74e15eca5e630f05b60f9650a1faeaacc SHA1 b2568a3fea569017428c3e3a9852e1151db9f550 SHA256 92024dc4a466c6ef10e6ccec2c98f5d038d496ebd4d07222d1492d640d1c6113
-DIST SABnzbd-0.6.1-src.tar.gz 1888233 RMD160 0ac6823c2b850d4184b94f6a206241bcab04af1e SHA1 6e009f210235bb6b8278c59634bf2db1b5fb32f4 SHA256 b9b7e15c3e774aae42e248f19bc97bdbc17afe6bf27e236a7d565ddf5e11ae58
-EBUILD sabnzbd-0.6.1.ebuild 3263 RMD160 2338da2b9f85ab80545f7f9a8dfb3ff332f5030b SHA1 7277b625982e2aca4c7a6343b06392d16267b784 SHA256 bdb47a72d9067bc816392c18c14b1f7bb484eb42d1aa23320210d476f912ae65
-MISC ChangeLog 252 RMD160 37a18861a1739a133fa07f2cf89be3bf067c88d3 SHA1 1d39f9e535afcdc498cfe06da872bf37d67a134b SHA256 ee66b4dfcec39dc60c0ac5f155b2d2be1b5f268209c5f78407488f8c798e52ec
-MISC metadata.xml 252 RMD160 0d6b4d4e9e2fc0a9fc73289b6f3234195a3a1405 SHA1 6d719654a220ceff01851fa059936c79ca6bf9be SHA256 50fba57de1e11a48fbf58020c096095ebf9ec5defa2b5bcda9ed44e5be159d3f

diff --git a/net-nntp/sabnzbd/files/sabnzbd.conf b/net-nntp/sabnzbd/files/sabnzbd.conf
deleted file mode 100644
index 311c675..0000000
--- a/net-nntp/sabnzbd/files/sabnzbd.conf
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# /etc/conf.d/sabnzbd
-# Config file for sabnzbd init script
-
-# Which user to run sabnzbd as, you should change this.
-SAB_USER="sabnzbd"
-
-# 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)
-SAB_HOSTNAME="localhost"
-SAB_PORT="8081"
-
-# Location of config file.
-# Make sure the user specified above can read this file. (if you want to change options from the webUI, give it write)
-SAB_CFG="/etc/sabnzbd/sabnzbd.ini"
-
-SAB_PATH=/usr/share/sabnzbd/
-SAB_PY=SABnzbd.py
-
-SAB_PID=/var/run/sabnzbd/sabnzbd-${SAB_PORT}.pid

diff --git a/net-nntp/sabnzbd/files/sabnzbd.ini b/net-nntp/sabnzbd/files/sabnzbd.ini
deleted file mode 100644
index fd01e08..0000000
--- a/net-nntp/sabnzbd/files/sabnzbd.ini
+++ /dev/null
@@ -1,131 +0,0 @@
-__version__ = 19
-[misc]
-log_dir = /var/log/sabnzbd
-auto_browser = 0
-permissions = 0775
-check_new_rel = 1
-replace_spaces = 0
-fail_on_crc = 0
-enable_filejoin = 0
-enable_unzip = 1
-enable_unrar = 1
-enable_par_cleanup = 1
-par_option = ""
-config_lock = 0
-safe_postproc = 0
-pause_on_post_processing = 0
-cleanup_list = ""
-ignore_samples = 0
-send_group = 0
-download_free = 0
-admin_dir = /var/lib/sabnzbd/admin
-cache_dir = /var/lib/sabnzbd/cache
-complete_dir = /var/lib/sabnzbd/complete
-download_dir = /var/lib/sabnzbd/download
-dirscan_dir = /var/lib/sabnzbd/dirscan
-incomplete_dir = /var/lib/sabnzbd/incomplete
-nzb_backup_dir = /var/lib/sabnzbd/nzb_backup
-script_dir = /var/lib/sabnzbd/scripts
-dirscan_speed = 5
-refresh_rate = 0
-rss_rate = 60
-bandwith_limit = 0
-cache_limit = 0
-email_server = ""
-email_to = ""
-email_from = ""
-email_account = ""
-email_pwd = ""
-email_endjob = 0
-email_full = 0
-schedlines = ,
-dirscan_opts = 3
-dirscan_script = ""
-top_only = 1
-auto_sort = 0
-enable_tv_sorting = 0
-tv_sort_string = ""
-web_color = ""
-web_color2 = ""
-host = 0.0.0.0
-port = 8080
-web_dir = smpl
-web_dir2 = ""
-username = sabnzbd
-password = secret
-api_key = ""
-[logging]
-enable_cherrypy_logging = 1
-log_level = 1
-max_log_size = 5M
-log_backups = 5
-[newzbin]
-username = ""
-password = ""
-bookmarks = 0
-unbookmark = 0
-bookmark_rate = 60
-[servers]
-##example
-#[[news-europe.giganews.com:119]]
-#host = news-europe.giganews.com
-#port = 119
-#username = changeme
-#password = changeme
-#timeout = 120
-#connections = 5
-#fillserver = 0
-## 0 to disable SSL
-#ssl = 0
-## example using SSL
-#[[news-europe.giganews.com:563]]
-#host = news-europe.giganews.com
-#port = 563
-#username = changeme
-#password = changeme
-#timeout = 120
-#connections = 5
-#fillserver = 0
-## 0 to disable SSL
-#ssl = 1
-[rss]
-[categories]
-[[unknown]]
-newzbin = Unknown
-dir = Unknown
-[[anime]]
-newzbin = Anime
-dir = Anime
-[[apps]]
-newzbin = Apps
-dir = Apps
-[[books]]
-newzbin = Books
-dir = Books
-[[consoles]]
-newzbin = Consoles
-dir = Consoles
-[[emulation]]
-newzbin = Emulation
-dir = Emulation
-[[games]]
-newzbin = Games
-dir = Games
-[[misc]]
-newzbin = Misc
-dir = Misc
-[[movies]]
-newzbin = Movies
-dir = Movies
-[[music]]
-newzbin = Music
-dir = Music
-[[pda]]
-newzbin = PDA
-dir = PDA
-[[resources]]
-newzbin = Resources
-dir = Resources
-[[tv]]
-newzbin = TV
-dir = TV

diff --git a/net-nntp/sabnzbd/files/sabnzbd.init b/net-nntp/sabnzbd/files/sabnzbd.init
deleted file mode 100644
index 811993a..0000000
--- a/net-nntp/sabnzbd/files/sabnzbd.init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-opts="start stop"
-
-depend() {
-    need net
-}
-
-start() {
-	ebegin "Starting SABnzbd"
-	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/
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping SABnzbd"
-	start-stop-daemon --stop --retry 30 --pidfile "${SAB_PID}"
-	eend $?
-}

diff --git a/net-nntp/sabnzbd/metadata.xml b/net-nntp/sabnzbd/metadata.xml
deleted file mode 100644
index 2ba872d..0000000
--- a/net-nntp/sabnzbd/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>no-herd</herd>
-	<maintainer>
-		<email>c1pher@gentoo.org</email>
-		<name>Dane Smith</name>
-	</maintainer>
-</pkgmetadata>
-

diff --git a/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild b/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild
deleted file mode 100644
index 90e7410..0000000
--- a/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils multilib python
-
-PYTHON_DEPEND="2:2.5"
-RESTRICT_PYTHON_ABIS="3.*"
-EAPI="3"
-
-MY_P="$P"
-MY_P="${MY_P/sab/SAB}"
-MY_P="${MY_P/_beta/Beta}"
-MY_P="${MY_P/_rc/RC}"
-
-DESCRIPTION="Binary Newsgrabber written in Python"
-HOMEPAGE="http://www.sabnzbd.org/"
-SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="+rar unzip rss +yenc ssl"
-
-RDEPEND="
-		>=app-arch/par2cmdline-0.4
-		>=dev-python/celementtree-1.0.5
-		>=dev-python/cheetah-2.0.1
-		>=dev-python/cherrypy-3.2
-		dev-python/pysqlite:2
-		rar? ( >=app-arch/unrar-3.9.0 )
-		unzip? ( >=app-arch/unzip-5.5.2 )
-		yenc? ( >=dev-python/yenc-0.3 )
-		ssl? ( >=dev-python/pyopenssl-0.7 
-			dev-libs/openssl )"
-DEPEND="${RDEPEND}
-		app-text/dos2unix"
-
-S="${WORKDIR}/${MY_P}"
-
-HOMEDIR="${ROOT}var/lib/${PN}"
-DHOMEDIR="/var/lib/${PN}"
-
-pkg_setup() {
-	enewgroup "${PN}"
-	enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
-}
-
-src_install() {
-
-	cp "${FILESDIR}/${PN}.ini" "${S}" \
-		|| die "copying sample ${PN}.ini"
-
-	dodoc CHANGELOG.txt ISSUES.txt INSTALL.txt README.txt \
-		Sample-PostProc.sh Sample-PostProc.cmd || die
-
-	insopts -m0660 -o root -g ${PN}
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}" || die
-	newinitd "${FILESDIR}/${PN}.init" "${PN}" || die
-
-	diropts -m0770 -o root -g ${PN}
-	dodir /etc/${PN} || die
-
-	insinto /etc/${PN}/
-	insopts -m0660 -o root -g ${PN}
-	doins "${PN}.ini" || die "newins ${PN}.ini"
-
-	keepdir ${DHOMEDIR}
-	for i in admin cache complete download dirscan incomplete \
-		nzb_backup scripts; do
-		keepdir ${DHOMEDIR}/${i} || die
-	done
-
-	fowners -R root:${PN} ${DHOMEDIR} || die
-	fperms -R 770 ${DHOMEDIR} || die
-
-	keepdir /var/log/${PN} || die
-	fowners -R root:${PN} /var/log/${PN} || die
-	fperms -R 770 /var/log/${PN} || die
-
-	keepdir /var/run/${PN} || die
-	fowners -R root:${PN} /var/run/${PN} || die
-	fperms -R 770 /var/run/${PN} || die
-
-	dodir /usr/share/${P} || die
-	insinto /usr/share/${P}
-	for i in interfaces sabnzbd email locale po tools util;do
-		doins -r $i || die
-	done
-
-	doins SABnzbd.py || die
-
-	dosym /usr/share/${P} /usr/share/${PN} || die
-
-	fowners -R root:${PN} /usr/share/${P} || die
-	fperms -R 770 /usr/share/${P} || die
-}
-
-pkg_postinst() {
-	python_mod_optimize /usr/share/${P}/sabnzbd
-
-	einfo "SABnzbd has been installed with default directories in ${HOMEDIR}"
-	einfo "Email templates can be found in: ${ROOT}usr/share/${P}/email"
-	einfo ""
-	einfo "By default, SABnzbd runs as the unprivileged user \"sabnzbd\"" 
-	einfo "on port 8081 with no API key."
-	einfo ""
-	einfo "Be sure to that the \"sabnzbd\" user has the appropriate"
-	einfo "permissions to read/write to any non-default directories" 
-	einfo "if changed in ${PN}.ini"
-	einfo ""
-	einfo "Configuration files are accessible only to users in the \"sabnzbd\" group"
-	einfo "Run 'gpasswd -a <user> sabnzbd' to add a  user to the sabnzbd group"
-	einfo "so it can edit the appropriate configuration files"
-	einfo ""
-	ewarn "Please configure /etc/conf.d/${PN} before starting!"
-	ewarn ""
-	ewarn "Start with ${ROOT}etc/init.d/${PN} start"
-	ewarn "Visit http://<host ip>:8081 to configure SABnzbd"
-	ewarn "Default web username/password : sabnzbd/secret"
-}



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-05 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25 17:37 [gentoo-commits] dev/c1pher:master commit in: net-nntp/sabnzbd/files/, net-nntp/sabnzbd/ Dane Smith
  -- strict thread matches above, loose matches on Subject: below --
2012-06-05 20:42 Dane Smith
2011-05-25 17:36 Dane Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox