summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2013-06-24 22:50:46 +0000
committerJustin Bronder <jsbronder@gentoo.org>2013-06-24 22:50:46 +0000
commit1db7e194616e0f855fa80bb0e06d82e665b70553 (patch)
treef638d3e34f7ec10aab1bf481bb0e1784d3154caa /net-nntp
parentSwitch to EAPI5 and new tar ball (diff)
downloadhistorical-1db7e194616e0f855fa80bb0e06d82e665b70553.tar.gz
historical-1db7e194616e0f855fa80bb0e06d82e665b70553.tar.bz2
historical-1db7e194616e0f855fa80bb0e06d82e665b70553.zip
remove old
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0x4D7043C9
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/sabnzbd/ChangeLog6
-rw-r--r--net-nntp/sabnzbd/Manifest14
-rw-r--r--net-nntp/sabnzbd/sabnzbd-0.7.10.ebuild112
-rw-r--r--net-nntp/sabnzbd/sabnzbd-0.7.11.ebuild117
-rw-r--r--net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild117
5 files changed, 9 insertions, 357 deletions
diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog
index 08b4d55801f2..280c3b2c1d7c 100644
--- a/net-nntp/sabnzbd/ChangeLog
+++ b/net-nntp/sabnzbd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nntp/sabnzbd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/ChangeLog,v 1.12 2013/06/21 23:20:31 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/ChangeLog,v 1.13 2013/06/24 22:50:31 jsbronder Exp $
+
+ 24 Jun 2013; Justin Bronder <jsbronder@gentoo.org> -sabnzbd-0.7.10.ebuild,
+ -sabnzbd-0.7.11.ebuild, -sabnzbd-0.7.12.ebuild:
+ remove old
*sabnzbd-0.7.13 (21 Jun 2013)
diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
index 8349e37bf0e8..599592ff6ae0 100644
--- a/net-nntp/sabnzbd/Manifest
+++ b/net-nntp/sabnzbd/Manifest
@@ -7,20 +7,14 @@ AUX sabnzbd.ini 339 SHA256 4864a9a32b27f1435aec90802d0841fa459afb2734158ca5ab83e
AUX sabnzbd.initd 1801 SHA256 fe4a95b6d02c1e62996813c8249f40a01c7181e8d44d1f034492cc5c34d0af20 SHA512 6a36d335199953f13a3626c8d7fc25be0a4f3c7165cb6b3c72ecb52deb242e98a50f5773ebf0bf3655146f62c4c23349258c0d427693e33db73a8af4474f1d03 WHIRLPOOL c6c2f4eb357af09e79599b031e77b0beae39abc3ee8dfbb09d7396ca7dd022a7415741692585027bebe47b9e2b54cc23322f0c32f5696aa29df4b2760ae63a00
AUX sabnzbd.logrotate 393 SHA256 276dffb9351074547d46f71699412aeb6ed80b39d0cdea499f86ebf5b8ae4f51 SHA512 26edf5095a3f69a339ecc924370becc7a26bc37ab4c31d8acf13cbcbaeb885471795ab2c69c9a434eab47886133fa781c9305c81360044f932cc280a6c491045 WHIRLPOOL 63a1ed259f44999355690fc5646b7de0f74577aefc5ad517888a2015e3d49478fb72dd9e0b52d0624812c6ecfcdc1c5d486ff6c1f921cc21bdc65b302c6f21e1
AUX use-system-configobj-and-feedparser.patch 1254 SHA256 39e01c79058f37257e6f873f0e2643631d0f7c207fad058f227cfd0833f9ca9a SHA512 c2cf92909bd171d63179e4c2cbedf3f61b26bde2944e455b9ca798dd11aca5cccb85830df9d2f5800e5a0757e5ca9b14c78a275a025838a9ade52b6219a0af27 WHIRLPOOL df4221e3322d7c48e338e6cc80ef207f1dddcdc477e2a428825d3bf9c37772c545b94bebabb86e507ecece19a6a20bfc34356f6114dad521d3ee6e75a88ba2f5
-DIST SABnzbd-0.7.10-src.tar.gz 2273335 SHA256 79a44548e26147d72b3ea7a16fe198dd8e77f51d7f9093a8bac5a874fd5f5c43 SHA512 ac91e6193b678fdc4f375f5c2e582c8c222653b454e2bb00c75d2137b7a9250d8382ee8adc3e8d5b275dc091051fb3be9c0e622d143d6078dfe792e239d7d2a6 WHIRLPOOL ccd6c918f00eb1df70e7c909816a5884729d30163b1dabdb0ded0e8d61a57f22f90db677f2730a3baccae9679092d4225f97880634cf4bc282169d8ac1ab2026
-DIST SABnzbd-0.7.11-src.tar.gz 2273355 SHA256 de9c22377e89b081b7c264993c159588acb86206d1b82a465554e2f9df39b311 SHA512 4a56a597652b9587771994e5a57e59fb0d716a36c90d7f4058a05061e5679a7a6a0cfcd16f6d6b673a95fa02f16983755affbb2113f0b9da947303ea6f978bb9 WHIRLPOOL d278f742110f55eaa787c54c455079c46f537540b83362670590855c5697b3c27e31e334d915554db283f6f8c9c88c46bfa7c1f5729caae2a1bc3357b0ed75a4
-DIST SABnzbd-0.7.12-src.tar.gz 2275110 SHA256 9763414af2b3b9eccf933d01dfe5404845aa4b2a5ce6b63c643fc5cb45d2fb9b SHA512 e1d09613146f76fb990aee648c8a61f6eda9473b1e422d4a90b77c6a54adebc25e4fedbbd1d163af5617bac489a75bc84a6b86cf03a80312966cd373e79da028 WHIRLPOOL 17fe329980282ac44b3a87a32fd27369bb560245fc039db4f7c87beed10fab71463adb1e4f13ba72aa3e4dd1e49c81c84c48b587f949df105ca05af1e0fd3c01
DIST SABnzbd-0.7.13-src.tar.gz 2275234 SHA256 33ebef37e7cdbcc1e3a7436432d7701b3f2584b754176a4d9000ac125e25d690 SHA512 8462e7f39da0e2c829bebca97cbdbb5f6d314e04c408257064d68bf2d17fc37301e53daf695e8db6e5af82d844f6e99fbbed8c500e2bd3d3916a8b3431e1248c WHIRLPOOL cc9c14b6d86108038eee3c934aa1ecc2c95947d8493799b750cf59d1d44f81f5d13cc492fb0f4f8204cd64629e85f707b83b7f971bcb8ef296c65bf28f8bd1eb
-EBUILD sabnzbd-0.7.10.ebuild 2808 SHA256 9656b58a1c8d51aa4b3586943fddb1554eb5c4b6a4348d31ee37cd2974a12b2b SHA512 818d79e4b789641296d8651995971804522dd9317f2717ea3dc621d75d0c075b7bcfedaf4e99053cecd2743d91ec8b45cd83a70a71acf9eb38f35508e014c1ed WHIRLPOOL 35ea7f723f47c26e9e3d17bbf672606e993e456c341536cccea4c0c2fe7ce16b79ea73d06934727000a6efe251088a4a5140d3f469b5c82fb1850082ef5a650b
-EBUILD sabnzbd-0.7.11.ebuild 3125 SHA256 c24a7961c56129cbe11549582b49d979c63de9487d1859e4e00192a7fbced4cd SHA512 f5c2b535edbffb5536a7ff05435599632dff324a34dcee2e8fc1e4383c1b57699f4d4df4f10513d54d0d5188be7561096f22eb2180ce63452a4d1e717e4a1d90 WHIRLPOOL 4c05a47fac80df92cee816ea0763783bd0a871377eb9aff95a19a3fced3107abda668dc9e82e7c950f5ee4178f23110f37e78b1e924dc2fbfc495a6b0b71f215
-EBUILD sabnzbd-0.7.12.ebuild 3125 SHA256 df563a887fce325bfab7e6c6aea9723085d7a7b2da643ce1e3a28b137f8b50d1 SHA512 7380057e4c2851170fe4b510e8cfa7d9fa42c3c5265fd476e56f6df1827a24eb78d45cadb1844cad8e91d5304972f4aa8f6e80a595375b691f250a10ab40e326 WHIRLPOOL 861330cdf061ce31fa47a4cb7e112a180ab6d6476c8a7a55e440c04e9eff43cf0798c94c1d3a0d47b3f71278f6cbf638f7e334b7f265110996bd062609825681
EBUILD sabnzbd-0.7.13.ebuild 3144 SHA256 dac56ef7524de67cd4fd50d8928373adb31103ad7e8665392a735021a26c9054 SHA512 58e8d22b64347c36f9a3531105239a82165a09ef71137390e121f6453b14f64d36bbbd4ffd02fb2bcf09aca76ace88bfbb41c57d18a2993cd396bd7c2a0a8d70 WHIRLPOOL 4b9d0350c3f211454127e7f071d70698ad2df8604dfe414e3f930c8f7e3a818423d19718918885a5bf309203ae96697c09ca47c8c20c3da2edba32aa02cb17b7
-MISC ChangeLog 2329 SHA256 f565867c68568e6fff69e1cccd1977104b158df00990b67ef8a0ab62fcfe2419 SHA512 8b5599e68fcef6d24a33e9151a014230fcb302686ffd1520ba34c2ed86f35e9cd3382563955e88e5b466cc1b243edb9c79fc53b55142b91082ab4b0c21846eee WHIRLPOOL 96939c6212be1feab71e5ef9a8c0cbceee14f8365c15400dc943ca86af60a52beb6e32f4616b0b301c8c6c19dcffb7a8b8a57d67f32403a2aa767edae92886c3
+MISC ChangeLog 2470 SHA256 a2a51034c2056b6ed91d4d31e27884ec2d3ede8d29368fc1077c0eb68c3c4991 SHA512 5d44170c600cd653890c26edb50a65ee3e38e9155e5b5aff7d19238af0d3708b28755fd85e507fa8607354c695065e2cbb35d97d82ef343ab39a25d64ef6b21d WHIRLPOOL 7cbdb4807372d59a11b3b28b9b615c83fcdf63cbf1f2c33a9674e17f510ea57532126958750908c163b18fa43e52ca6a626ec1f26268ddb710954d2d9bdf6bc7
MISC metadata.xml 484 SHA256 8e26c45345b47dbcdd018d9006a4d7f42a1394da6e39e9e968b1362480ae5d7a SHA512 18630bf4e3afa57977c1c4d7f562888c3048c3778a9aff4bba2e969f3f1934d8f85c22fef30c453f5ea09f410ce16761b75c25ba7d73ce1a14ea4abffcd918a6 WHIRLPOOL a399aa5a061fba0278117af2c8e18f88bb8cb10e049ff0cc9d86d9316497dcc5c13e55ceeea03b848ab4f796665e6efa0fc3345c02a4dcbbaacdef782ab7cc2b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlHE38AACgkQ4MrvBE1wQ8mN8QCfcvERpqET5z59kVgSEdmavoTY
-V6oAn0MAyaxQKrPPh1H10JXdWF0X8qxi
-=esex
+iEYEAREIAAYFAlHIzUAACgkQ4MrvBE1wQ8kLngCgoJEq/eXGYmMC7VFN3cKS6FMO
+l+QAn09Zj+JJvCD/jxG3YfFFLiB+6Lns
+=ndZg
-----END PGP SIGNATURE-----
diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.10.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.10.ebuild
deleted file mode 100644
index 43184576b625..000000000000
--- a/net-nntp/sabnzbd/sabnzbd-0.7.10.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/sabnzbd-0.7.10.ebuild,v 1.1 2013/02/06 04:59:55 jsbronder Exp $
-
-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 with web-interface"
-HOMEPAGE="http://www.sabnzbd.org/"
-SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
-
-# Sabnzbd is GPL-2 but bundles software with the following licenses.
-LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+rar +ssl unzip +yenc"
-
-# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
-# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
-
-# TODO: still bundled but not in protage:
-# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
-# pynewsleecher
-
-RDEPEND="
- >=app-arch/par2cmdline-0.4
- >=dev-python/cheetah-2.0.1
- =dev-python/cherrypy-3.2*
- dev-python/configobj
- dev-python/feedparser
- dev-python/gntp
- dev-python/pythonutils
- net-misc/wget
- rar? ( || ( app-arch/unrar app-arch/rar ) )
- ssl? ( dev-python/pyopenssl )
- unzip? ( >=app-arch/unzip-5.5.2 )
- yenc? ( dev-python/yenc )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- HOMEDIR="/var/lib/${PN}"
- python_set_active_version 2
- python_pkg_setup
-
- # Create sabnzbd group
- enewgroup ${PN}
- # Create sabnzbd user, put in sabnzbd group
- enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
-
- # remove bundled modules
- rm -r sabnzbd/utils/{feedparser,configobj,gntp}.py cherrypy
- rm licenses/License-{feedparser,configobj,gntp,CherryPy}.txt
-}
-
-src_install() {
- local d
-
- dodir /usr/share/${PN}/sabnzbd
- insinto /usr/share/${PN}/
- doins SABnzbd.py
- fperms +x /usr/share/${PN}/SABnzbd.py
- dobin "${FILESDIR}"/sabnzbd
-
- for d in email icons interfaces locale po sabnzbd tools util; do
- insinto /usr/share/${PN}/${d}
- doins -r ${d}/*
- done
-
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/"${PN}.logrotate ${PN}
-
- diropts -o ${PN} -g ${PN}
- dodir /etc/${PN}
- dodir /var/log/${PN}
-
- insinto "/etc/${PN}"
- insopts -m 0600 -o ${PN} -g ${PN}
- doins "${FILESDIR}/${PN}.ini"
-
- dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/share/${PN}
-
- einfo "Default directory: ${HOMEDIR}"
- einfo ""
- einfo "Run: gpasswd -a <user> sabnzbd"
- einfo "to add an user to the sabnzbd group so it can edit sabnzbd files"
- einfo ""
- einfo "By default sabnzbd will listen on 127.0.0.1:8080"
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/share/${PN}
-}
diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.11.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.11.ebuild
deleted file mode 100644
index a09bcb079c56..000000000000
--- a/net-nntp/sabnzbd/sabnzbd-0.7.11.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/sabnzbd-0.7.11.ebuild,v 1.2 2013/02/18 16:44:23 mr_bones_ Exp $
-
-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 with web-interface"
-HOMEPAGE="http://www.sabnzbd.org/"
-SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
-
-# Sabnzbd is GPL-2 but bundles software with the following licenses.
-LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+rar +ssl unzip +yenc"
-
-# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
-# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
-
-# TODO: still bundled but not in protage:
-# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
-# pynewsleecher
-#
-# Also note that cherrypy is still bundled. It's near impossible to find
-# out where the bundled and heavily patched version came from (pulled from
-# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
-# further. Upstream is planning on making this easier with 0.8.0.
-# https://github.com/sabnzbd/sabnzbd/issues/47
-
-RDEPEND="
- >=app-arch/par2cmdline-0.4
- >=dev-python/cheetah-2.0.1
- dev-python/configobj
- dev-python/feedparser
- dev-python/gntp
- dev-python/pythonutils
- net-misc/wget
- rar? ( || ( app-arch/unrar app-arch/rar ) )
- ssl? ( dev-python/pyopenssl )
- unzip? ( >=app-arch/unzip-5.5.2 )
- yenc? ( dev-python/yenc )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- HOMEDIR="/var/lib/${PN}"
- python_set_active_version 2
- python_pkg_setup
-
- # Create sabnzbd group
- enewgroup ${PN}
- # Create sabnzbd user, put in sabnzbd group
- enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
-
- # remove bundled modules
- rm -r sabnzbd/utils/{feedparser,configobj,gntp}.py
- rm licenses/License-{feedparser,configobj,gntp,CherryPy}.txt
-}
-
-src_install() {
- local d
-
- dodir /usr/share/${PN}/sabnzbd
- insinto /usr/share/${PN}/
- doins SABnzbd.py
- fperms +x /usr/share/${PN}/SABnzbd.py
- dobin "${FILESDIR}"/sabnzbd
-
- for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
- insinto /usr/share/${PN}/${d}
- doins -r ${d}/*
- done
-
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/"${PN}.logrotate ${PN}
-
- diropts -o ${PN} -g ${PN}
- dodir /etc/${PN}
- dodir /var/log/${PN}
-
- insinto "/etc/${PN}"
- insopts -m 0600 -o ${PN} -g ${PN}
- doins "${FILESDIR}/${PN}.ini"
-
- dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/share/${PN}
-
- einfo "Default directory: ${HOMEDIR}"
- einfo ""
- einfo "Run: gpasswd -a <user> sabnzbd"
- einfo "to add an user to the sabnzbd group so it can edit sabnzbd files"
- einfo ""
- einfo "By default sabnzbd will listen on 127.0.0.1:8080"
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/share/${PN}
-}
diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild
deleted file mode 100644
index 1b36079ab886..000000000000
--- a/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild,v 1.1 2013/06/12 23:29:13 jsbronder Exp $
-
-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 with web-interface"
-HOMEPAGE="http://www.sabnzbd.org/"
-SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
-
-# Sabnzbd is GPL-2 but bundles software with the following licenses.
-LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+rar +ssl unzip +yenc"
-
-# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
-# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
-
-# TODO: still bundled but not in protage:
-# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
-# pynewsleecher
-#
-# Also note that cherrypy is still bundled. It's near impossible to find
-# out where the bundled and heavily patched version came from (pulled from
-# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
-# further. Upstream is planning on making this easier with 0.8.0.
-# https://github.com/sabnzbd/sabnzbd/issues/47
-
-RDEPEND="
- >=app-arch/par2cmdline-0.4
- >=dev-python/cheetah-2.0.1
- dev-python/configobj
- dev-python/feedparser
- dev-python/gntp
- dev-python/pythonutils
- net-misc/wget
- rar? ( || ( app-arch/unrar app-arch/rar ) )
- ssl? ( dev-python/pyopenssl )
- unzip? ( >=app-arch/unzip-5.5.2 )
- yenc? ( dev-python/yenc )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- HOMEDIR="/var/lib/${PN}"
- python_set_active_version 2
- python_pkg_setup
-
- # Create sabnzbd group
- enewgroup ${PN}
- # Create sabnzbd user, put in sabnzbd group
- enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
-
- # remove bundled modules
- rm -r sabnzbd/utils/{feedparser,configobj,gntp}.py
- rm licenses/License-{feedparser,configobj,gntp,CherryPy}.txt
-}
-
-src_install() {
- local d
-
- dodir /usr/share/${PN}/sabnzbd
- insinto /usr/share/${PN}/
- doins SABnzbd.py
- fperms +x /usr/share/${PN}/SABnzbd.py
- dobin "${FILESDIR}"/sabnzbd
-
- for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
- insinto /usr/share/${PN}/${d}
- doins -r ${d}/*
- done
-
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/"${PN}.logrotate ${PN}
-
- diropts -o ${PN} -g ${PN}
- dodir /etc/${PN}
- dodir /var/log/${PN}
-
- insinto "/etc/${PN}"
- insopts -m 0600 -o ${PN} -g ${PN}
- doins "${FILESDIR}/${PN}.ini"
-
- dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
-}
-
-pkg_postinst() {
- python_mod_optimize /usr/share/${PN}
-
- einfo "Default directory: ${HOMEDIR}"
- einfo ""
- einfo "Run: gpasswd -a <user> sabnzbd"
- einfo "to add an user to the sabnzbd group so it can edit sabnzbd files"
- einfo ""
- einfo "By default sabnzbd will listen on 127.0.0.1:8080"
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/share/${PN}
-}