diff options
author | Sébastien Picavet (SebastienP) <sebastien.picavet@gmail.com> | 2013-01-04 01:22:55 +0100 |
---|---|---|
committer | Sébastien Picavet (SebastienP) <sebastien.picavet@gmail.com> | 2013-01-04 01:22:55 +0100 |
commit | 752ed5ce2327e06199de4bb3f70cdd79f493efa0 (patch) | |
tree | 4a0f6decd23db2662a96d42eeed30f968b46a610 /net-nntp | |
parent | x11-misc/pdfpc: Fix sysconfdir (diff) | |
download | sunrise-reviewed-752ed5ce2327e06199de4bb3f70cdd79f493efa0.tar.gz sunrise-reviewed-752ed5ce2327e06199de4bb3f70cdd79f493efa0.tar.bz2 sunrise-reviewed-752ed5ce2327e06199de4bb3f70cdd79f493efa0.zip |
net-nntp/sabnzbd is now on portage http://packages.gentoo.org/package/net-nntp/sabnzbd
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/sabnzbd/ChangeLog | 45 | ||||
-rw-r--r-- | net-nntp/sabnzbd/Manifest | 8 | ||||
-rw-r--r-- | net-nntp/sabnzbd/files/sabnzbd.conf | 28 | ||||
-rw-r--r-- | net-nntp/sabnzbd/files/sabnzbd.ini | 131 | ||||
-rw-r--r-- | net-nntp/sabnzbd/files/sabnzbd.init | 38 | ||||
-rw-r--r-- | net-nntp/sabnzbd/files/sabnzbd.logrotate | 8 | ||||
-rw-r--r-- | net-nntp/sabnzbd/metadata.xml | 8 | ||||
-rw-r--r-- | net-nntp/sabnzbd/sabnzbd-0.7.6.ebuild | 89 |
8 files changed, 0 insertions, 355 deletions
diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog deleted file mode 100644 index 867aebf70..000000000 --- a/net-nntp/sabnzbd/ChangeLog +++ /dev/null @@ -1,45 +0,0 @@ -# ChangeLog for net-nntp/sabnzbd -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*sabnzbd-0.7.6 (09 Dec 2012) - - 09 Dec 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - -sabnzbd-0.7.2.ebuild, +sabnzbd-0.7.6.ebuild: - sunrise-commit -c Version bumb - -*sabnzbd-0.7.2 (20 Jul 2012) - - 20 Jul 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - -sabnzbd-0.7.1.ebuild, +sabnzbd-0.7.2.ebuild, files/sabnzbd.ini: - Version bump and permission improvements for sabnzbd. Thanks to floppym - - 14 Jul 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - files/sabnzbd.init: - Remove a bashism, thanks to floppym - -*sabnzbd-0.7.1 (07 Jul 2012) - - 07 Jul 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - -sabnzbd-0.7.0.ebuild, +sabnzbd-0.7.1.ebuild: - Version bump for SABnzbd - -*sabnzbd-0.7.0 (15 Jun 2012) - - 15 Jun 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - -sabnzbd-0.6.15.ebuild, +sabnzbd-0.7.0.ebuild: - Version bump for sabnzbd - - 03 Jun 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> - sabnzbd-0.6.15.ebuild, files/sabnzbd.conf, metadata.xml: - Replace fancy quotes, drop herd, no herds in sunrise - -*sabnzbd-0.6.15 (19 May 2012) - - 19 May 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - +sabnzbd-0.6.15.ebuild, +files/sabnzbd.conf, +files/sabnzbd.ini, - +files/sabnzbd.init, +files/sabnzbd.logrotate, +metadata.xml: - New Ebuild for bug #132590 thanks to Mekong, Patrick van Dissel, Pandor, - Roeland Douma, Chris Volny, Thomas Kuther, hasufell, Aniruddha, Kfir Ozer, - Matthew Hamilton, Lyall Pearce, Tommy[D], floppym and octalc0de@aim.com - diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest deleted file mode 100644 index 24e44cd2c..000000000 --- a/net-nntp/sabnzbd/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX sabnzbd.conf 920 SHA256 b0db7fbc583f692dea557474ee64a9e46a3dfa5793fc703f133477836cb3ab7b SHA512 9bf295b52aedd5c3e1b7b2c0bc055a5e39576a70f9fada0e971a6e6a7c49709a177283a315c81232009ab44c3be5b307c538bdb71b2ba9fda0fc3c4a91927677 WHIRLPOOL 971a6e79e9240e56522fee920565dd39cc3a33831836896f9bc5b2a5bed36b17ff666457c5df39ef39de137f0eb2e72d68fabb4843efe444a86c7217b8c90b68 -AUX sabnzbd.ini 2360 SHA256 5bdfa8ccaa353fdcecae07e2e7a5c348cfcbd6b48b8f5735443497300e788604 SHA512 4298ab8884d7cc176e782ff8956f3f4ba1c12c1956e92a7dcbb2f5ce5c232b7f1c108c36e5111c47f557fa83270abb23eaa6c70fc69a5b8c5a182f8e8d726c81 WHIRLPOOL 10a1a01d6d34f121f1bd0862f790151a2c7599c4fe6f489d200aeab419a3065ffcc1b245a3a7e5d62b6b95d3fe2462fce053715a075cd52da2330254684bc469 -AUX sabnzbd.init 840 SHA256 2cd1dc8a647adadedf6823ece6c32d7c780120e3b0275c11f5ed616b78036fcf SHA512 740475ed39b7df4f98000d2f137747500c0456e6f3eca4b6ea17e302bba66145fd5fa1f21a891f3441b2f42858e9f40b705c4fd05552d07422953cd3aaa6a031 WHIRLPOOL 47f7dd4cec8d9c28981440d9a2a8dbb6f9362a2163433a9b49d1092572b332ab2d11af72d120f41754dbf9feb663a4826f0e613197c2b11467f2552d23a5a596 -AUX sabnzbd.logrotate 177 SHA256 0063c24056a2dfaa48192089451adfc6647bbb201f7c64185ee0f710d29af61a SHA512 52408ccb8b812b9da1e62c9a22ca705a0f4d5d7e194c9ea0637f34e52344372071ac6fbb1055d9cfce8b3264629e6fed9d1a59490fe821d3a1ac08835c4ec146 WHIRLPOOL f2856d569bd0c40acc825621b9546a8d0239a3d3a80052dfe45095cc836a3cb52d3dc9e4e099feb272a4acf657c2f92eb86ac0d062804c83ef4dea1500e5cc1f -DIST SABnzbd-0.7.6-src.tar.gz 2263486 SHA256 e2b3cd5c571b7bb4413693a178669b2a7fcb1b5c707b5228a818fc4c9b0ee6b8 SHA512 8380a102ebcf7d1c0d200b11c49f162ad80f54a31e373dbcd5e578a3a3b50685dbfd4aaee0ba1e2ea17c1eb214059722511200dd3d3c7edbfb884c5f559ebd0e WHIRLPOOL ec1ca3ed7dcd26cae3124586d98924c671a0146089557a76d8f48b0940b0c745cf5de461e31321a12b9894fc9cd91b8509601f186dc017f74adfd139a051c4e3 -EBUILD sabnzbd-0.7.6.ebuild 2249 SHA256 af1dd138120b34c278a965a03d0603d4c13ba53971d1a8c0c5153e123b5bb0ed SHA512 edf1079061f90c4b37d21a0f3abb5cccf7d43df47c7f61c0665bee694c59966543ab603eff0554865756ceba9527539f624f233bfee43c8185f01c929ea1be1e WHIRLPOOL cce7b111a8c91fdd0fa1127331c656bd8e017dcb4e1f6bc501215797dc3efd3422314fe12bdfce8240eea51a92f311db691ec3cf59fa41b1970c76210ac1fe17 -MISC ChangeLog 1688 SHA256 fce9385b58e131f0d66426dd37ad5f8e7696983df651ffa5f0bda6abb291a60d SHA512 ba758efbacdb4b4cbce3ea2f41e9f44c7c0fca148c5da4372ac212bec3f76d8d0f14ee77e065eb76e634acf9d98e103f6b0a1bb683caefc99662e2f7ff7d6160 WHIRLPOOL ac974af391129a5e5e1f648fd19c40eaafa1bc981a0e005f6dc02987351537aedb9a5a8d18d7bc42d815c87d9fef12229f80769b2a37f0619ba67406ab088032 -MISC metadata.xml 334 SHA256 953d68da84fc907c573c2aa1592dc1095b29f749fc2762ce9f47f79a4e2457d9 SHA512 b637dea32d9bebea360cd30dbc4f61ec6bcb490827406c29c2910f5a9696d8b5326ef45b36b3b4ebcb2e3c5cc7f667ccee9404131344215991c296b006d27580 WHIRLPOOL 078efa54d722dab68450cef1cde14614bbf8aff6a665362354de18193911f71ed4792706674eac4a98a4c03440f244dc7e598e6ed7c7eccb32dde1142c9db08c diff --git a/net-nntp/sabnzbd/files/sabnzbd.conf b/net-nntp/sabnzbd/files/sabnzbd.conf deleted file mode 100644 index 1c28a9855..000000000 --- a/net-nntp/sabnzbd/files/sabnzbd.conf +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -# Config file for sabnzbd init script - -# Version of Python ("2.6", "2.7" or "2"; default should work for almost everyone) -SAB_PYTHON="python2" - -SAB_PY="SABnzbd.py" -SAB_PATH="/usr/share/sabnzbd/" - -# This overrides the contents of /etc/sabnzbd.conf, needed for shutdown to work in init (short of writing some crazy regex for the config) -# If you use SSL, SAB_PORT will be "9090" instead of "8080" -SAB_HOSTNAME="localhost" -SAB_PORT="8080" - -SAB_PID_FOLDER="/var/run/sabnzbd" -SAB_PID="${SAB_PID_FOLDER}/sabnzbd-${SAB_PORT}.pid" - -SAB_LOG_FOLDER="/var/log/sabnzbd" - -# Location of config file. -# Make sure the user specified below can read this file. (if you want to change options from the webUI, give it write) -SAB_CFG="/var/lib/sabnzbd/config/sabnzbd.ini" - -# Which user to run sabnzbd -SAB_USER="sabnzbd" diff --git a/net-nntp/sabnzbd/files/sabnzbd.ini b/net-nntp/sabnzbd/files/sabnzbd.ini deleted file mode 100644 index 990f0478f..000000000 --- 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 =
-script_dir =
-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
-apikey = ""
-[logging]
-enable_cherrypy_logging = 1
-log_level = 1
-max_log_size = 0
-log_backups = 0
-[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 482d55056..000000000 --- a/net-nntp/sabnzbd/files/sabnzbd.init +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net -} - -start() { - ebegin "Starting SABnzbd" - - # Control if folders exist and create them - if [ ! -d "${SAB_PID_FOLDER}" ] - then - mkdir "${SAB_PID_FOLDER}" - chmod 770 "${SAB_PID_FOLDER}" - chgrp "${SAB_USER}" "${SAB_PID_FOLDER}" - - fi - - if [ ! -d "${SAB_LOG_FOLDER}" ] - then - mkdir "${SAB_LOG_FOLDER}" - chmod 770 "${SAB_LOG_FOLDER}" - chgrp "${SAB_USER}" "${SAB_LOG_FOLDER}" - - fi - - start-stop-daemon --start --quiet --user "${SAB_USER}" --pidfile "${SAB_PID}" -d "${SAB_PATH}" --exec "${SAB_PYTHON}" "${SAB_PY}" -- -d -f "${SAB_CFG}" --pid "${SAB_PID_FOLDER}" - eend $? -} - -stop() { - ebegin "Stopping SABnzbd" - start-stop-daemon --stop --retry 30 --pidfile "${SAB_PID}" - eend $? -} diff --git a/net-nntp/sabnzbd/files/sabnzbd.logrotate b/net-nntp/sabnzbd/files/sabnzbd.logrotate deleted file mode 100644 index 9bbdab192..000000000 --- a/net-nntp/sabnzbd/files/sabnzbd.logrotate +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -/var/log/sabnzbd/*.log{ - missingok - su sabnzbd sabnzbd -}
\ No newline at end of file diff --git a/net-nntp/sabnzbd/metadata.xml b/net-nntp/sabnzbd/metadata.xml deleted file mode 100644 index 6d0de0a78..000000000 --- a/net-nntp/sabnzbd/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>maintainer-wanted@gentoo.org</email> - </maintainer> - <longdescription>Binary newsgrabber in Python, with web-interface. Successor of old SABnzbd project.</longdescription> -</pkgmetadata> diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.6.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.6.ebuild deleted file mode 100644 index d27afa66f..000000000 --- a/net-nntp/sabnzbd/sabnzbd-0.7.6.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -# Require python-2 with sqlite USE flag -PYTHON_DEPEND="2:2.6" -PYTHON_USE_WITH="sqlite" - -inherit eutils python user - -MY_P="${P/sab/SAB}" - -DESCRIPTION="Binary newsgrabber in Python, with web-interface. Successor of old SABnzbd project" -HOMEPAGE="http://www.sabnzbd.org/" -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND=" - app-arch/par2cmdline - app-arch/unrar - app-arch/unzip - dev-python/cheetah - dev-python/pyopenssl - dev-python/yenc -" - -S="${WORKDIR}/${MY_P}" -DHOMEDIR="/var/lib/${PN}" - -pkg_setup() { - # Control PYTHON_USE_WITH - python_set_active_version 2 - python_pkg_setup - - # Create sabnzbd group - enewgroup ${PN} - # Create sabnzbd user, put in sabnzbd group - enewuser ${PN} -1 -1 "${DHOMEDIR}" ${PN} -} - -src_install() { - dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh - - newconfd "${FILESDIR}/${PN}.conf" ${PN} - newinitd "${FILESDIR}/${PN}.init" ${PN} - - # Default configuration file and directory - diropts -m0770 -o root -g ${PN} - dodir "${DHOMEDIR}" "${DHOMEDIR}/config" - - insinto "${DHOMEDIR}/config" - insopts -m0660 -o root -g ${PN} - doins "${FILESDIR}/${PN}.ini" - - # Rotation of log files - insinto /etc/logrotate.d - insopts -m0644 -o root -g root - newins "${FILESDIR}/${PN}.logrotate" ${PN} - - # Add themes & code into /usr/share - insinto /usr/share/${PN} - insopts -m0640 -o root -g ${PN} - doins -r cherrypy email gntp interfaces locale po sabnzbd SABnzbd.py tools util -} - -pkg_postinst() { - python_mod_optimize /usr/share/${PN} - - elog "SABnzbd has been installed with default directories in ${DHOMEDIR}" - elog - elog "Please configure /etc/conf.d/${PN} before starting as daemon!" - elog "If you use SSL connection for SABnzbd WebUi, you have to change SAB_PORT with \"9090\"." - elog - elog "Start with ${ROOT}etc/init.d/${PN} start" - elog "Visit http://<host ip>:8080 to configure SABnzbd" - elog "Default web username/password : sabnzbd/secret" - elog - elog "Add CONFIG_PROTECT=\"${DHOMEDIR}/config\" to your make.conf. Otherwise, we will lose your personal configuration" -} - -pkg_postrm() { - python_mod_cleanup /usr/share/${PN} -}
\ No newline at end of file |