summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2013-06-21 23:20:42 +0000
committerJustin Bronder <jsbronder@gentoo.org>2013-06-21 23:20:42 +0000
commit3d5acab78e236c9f6ac3f1485a4cf1fd166f7c7f (patch)
tree2cd50aad9d2d9d7cf91063bb0bc9556121ba2eed /net-nntp
parentAdd to tree from kde overlay (diff)
downloadhistorical-3d5acab78e236c9f6ac3f1485a4cf1fd166f7c7f.tar.gz
historical-3d5acab78e236c9f6ac3f1485a4cf1fd166f7c7f.tar.bz2
historical-3d5acab78e236c9f6ac3f1485a4cf1fd166f7c7f.zip
bump
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/ChangeLog7
-rw-r--r--net-nntp/sabnzbd/Manifest10
-rw-r--r--net-nntp/sabnzbd/sabnzbd-0.7.13.ebuild118
3 files changed, 130 insertions, 5 deletions
diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog
index a5c1d7f419d3..08b4d55801f2 100644
--- a/net-nntp/sabnzbd/ChangeLog
+++ b/net-nntp/sabnzbd/ChangeLog
@@ -1,6 +1,11 @@
# 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.11 2013/06/12 23:29:13 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/ChangeLog,v 1.12 2013/06/21 23:20:31 jsbronder Exp $
+
+*sabnzbd-0.7.13 (21 Jun 2013)
+
+ 21 Jun 2013; Justin Bronder <jsbronder@gentoo.org> +sabnzbd-0.7.13.ebuild:
+ bump
*sabnzbd-0.7.12 (12 Jun 2013)
diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
index 1a6f4167fa1d..8349e37bf0e8 100644
--- a/net-nntp/sabnzbd/Manifest
+++ b/net-nntp/sabnzbd/Manifest
@@ -10,15 +10,17 @@ AUX use-system-configobj-and-feedparser.patch 1254 SHA256 39e01c79058f37257e6f87
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
-MISC ChangeLog 2213 SHA256 d171c26fc2238b2af65b351e869e91770bed9ba2f4e58ab9a02f324f8025b49d SHA512 732639ada027bc6cdf0ae9084dabdee0b35aadf65cb9902b590f11e74a4635fea4d9c2e1bb2629262d00e73ecf412bf0d635cf1b7e3783ee9437475d8160f070 WHIRLPOOL 6b7f74af876e470e6d9e4b467df393f08e0293991061ab240bc3d08ec3b8a095eaed295d5d035d0a690a6bacc79a10693defde4d0996398a81f7b44a98ad2003
+EBUILD sabnzbd-0.7.13.ebuild 3144 SHA256 dac56ef7524de67cd4fd50d8928373adb31103ad7e8665392a735021a26c9054 SHA512 58e8d22b64347c36f9a3531105239a82165a09ef71137390e121f6453b14f64d36bbbd4ffd02fb2bcf09aca76ace88bfbb41c57d18a2993cd396bd7c2a0a8d70 WHIRLPOOL 4b9d0350c3f211454127e7f071d70698ad2df8604dfe414e3f930c8f7e3a818423d19718918885a5bf309203ae96697c09ca47c8c20c3da2edba32aa02cb17b7
+MISC ChangeLog 2329 SHA256 f565867c68568e6fff69e1cccd1977104b158df00990b67ef8a0ab62fcfe2419 SHA512 8b5599e68fcef6d24a33e9151a014230fcb302686ffd1520ba34c2ed86f35e9cd3382563955e88e5b466cc1b243edb9c79fc53b55142b91082ab4b0c21846eee WHIRLPOOL 96939c6212be1feab71e5ef9a8c0cbceee14f8365c15400dc943ca86af60a52beb6e32f4616b0b301c8c6c19dcffb7a8b8a57d67f32403a2aa767edae92886c3
MISC metadata.xml 484 SHA256 8e26c45345b47dbcdd018d9006a4d7f42a1394da6e39e9e968b1362480ae5d7a SHA512 18630bf4e3afa57977c1c4d7f562888c3048c3778a9aff4bba2e969f3f1934d8f85c22fef30c453f5ea09f410ce16761b75c25ba7d73ce1a14ea4abffcd918a6 WHIRLPOOL a399aa5a061fba0278117af2c8e18f88bb8cb10e049ff0cc9d86d9316497dcc5c13e55ceeea03b848ab4f796665e6efa0fc3345c02a4dcbbaacdef782ab7cc2b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlG5BGEACgkQ4MrvBE1wQ8lJgACePKxB0RMGONmfhUw2cJQugSB9
-Oe4AnR8yv6i2oF28g1g98a4OqFpkEN+m
-=XPei
+iEYEAREIAAYFAlHE38AACgkQ4MrvBE1wQ8mN8QCfcvERpqET5z59kVgSEdmavoTY
+V6oAn0MAyaxQKrPPh1H10JXdWF0X8qxi
+=esex
-----END PGP SIGNATURE-----
diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.13.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.13.ebuild
new file mode 100644
index 000000000000..7dea32997bfd
--- /dev/null
+++ b/net-nntp/sabnzbd/sabnzbd-0.7.13.ebuild
@@ -0,0 +1,118 @@
+# 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.13.ebuild,v 1.1 2013/06/21 23:20:31 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}.py || die
+ rm -r gntp || die
+ rm licenses/License-{feedparser,configobj,gntp}.txt || die
+}
+
+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}
+}