diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2013-06-12 23:30:01 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2013-06-12 23:30:01 +0000 |
commit | da942f92cd7b4f92cad0ba2e8081bf313582f65c (patch) | |
tree | dd700aff49010e63b7109ca827a0f6a57ae6826e /net-nntp/sabnzbd | |
parent | Version bump (bug #473042). (diff) | |
download | historical-da942f92cd7b4f92cad0ba2e8081bf313582f65c.tar.gz historical-da942f92cd7b4f92cad0ba2e8081bf313582f65c.tar.bz2 historical-da942f92cd7b4f92cad0ba2e8081bf313582f65c.zip |
version bump
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0x4D7043C9
Diffstat (limited to 'net-nntp/sabnzbd')
-rw-r--r-- | net-nntp/sabnzbd/ChangeLog | 7 | ||||
-rw-r--r-- | net-nntp/sabnzbd/Manifest | 10 | ||||
-rw-r--r-- | net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild | 117 |
3 files changed, 129 insertions, 5 deletions
diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog index 34e3aacb562e..a5c1d7f419d3 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.10 2013/03/08 02:46:45 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/ChangeLog,v 1.11 2013/06/12 23:29:13 jsbronder Exp $ + +*sabnzbd-0.7.12 (12 Jun 2013) + + 12 Jun 2013; Justin Bronder <jsbronder@gentoo.org> +sabnzbd-0.7.12.ebuild: + version bump 08 Mar 2013; Justin Bronder <jsbronder@gentoo.org> files/sabnzbd.initd: Fix init.d stop(), re #459992 diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest index 272c0bcd340d..1a6f4167fa1d 100644 --- a/net-nntp/sabnzbd/Manifest +++ b/net-nntp/sabnzbd/Manifest @@ -9,14 +9,16 @@ AUX sabnzbd.logrotate 393 SHA256 276dffb9351074547d46f71699412aeb6ed80b39d0cdea4 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 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 -MISC ChangeLog 2089 SHA256 d8b4749335eb32d90ca519fc0b0e74c9b8fcfcefc2b8ed8af11d40edc1ed5978 SHA512 f1f0af32288e874dc1190b5232225de5a0803a72833b23511091e415ce1a30eccdcc5300cdbdafce396fc5cfbf773ff0578c04beb9187dfbf9e2f7e6e84d0759 WHIRLPOOL fca8672fe0dbf4591ea64f6707fc460a54bb302f86f368904624e74bd6482d961396106c90c12a6f3fb72c6d9bfa98da5da91c13ebd3ad7c65a94084f06339cf +EBUILD sabnzbd-0.7.12.ebuild 3125 SHA256 df563a887fce325bfab7e6c6aea9723085d7a7b2da643ce1e3a28b137f8b50d1 SHA512 7380057e4c2851170fe4b510e8cfa7d9fa42c3c5265fd476e56f6df1827a24eb78d45cadb1844cad8e91d5304972f4aa8f6e80a595375b691f250a10ab40e326 WHIRLPOOL 861330cdf061ce31fa47a4cb7e112a180ab6d6476c8a7a55e440c04e9eff43cf0798c94c1d3a0d47b3f71278f6cbf638f7e334b7f265110996bd062609825681 +MISC ChangeLog 2213 SHA256 d171c26fc2238b2af65b351e869e91770bed9ba2f4e58ab9a02f324f8025b49d SHA512 732639ada027bc6cdf0ae9084dabdee0b35aadf65cb9902b590f11e74a4635fea4d9c2e1bb2629262d00e73ecf412bf0d635cf1b7e3783ee9437475d8160f070 WHIRLPOOL 6b7f74af876e470e6d9e4b467df393f08e0293991061ab240bc3d08ec3b8a095eaed295d5d035d0a690a6bacc79a10693defde4d0996398a81f7b44a98ad2003 MISC metadata.xml 484 SHA256 8e26c45345b47dbcdd018d9006a4d7f42a1394da6e39e9e968b1362480ae5d7a SHA512 18630bf4e3afa57977c1c4d7f562888c3048c3778a9aff4bba2e969f3f1934d8f85c22fef30c453f5ea09f410ce16761b75c25ba7d73ce1a14ea4abffcd918a6 WHIRLPOOL a399aa5a061fba0278117af2c8e18f88bb8cb10e049ff0cc9d86d9316497dcc5c13e55ceeea03b848ab4f796665e6efa0fc3345c02a4dcbbaacdef782ab7cc2b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlE5UZUACgkQ4MrvBE1wQ8kkEQCglPjaq/420/Jnq/VF4zIKcdnu -t1kAoJDCbdBr4WMDLWP0ajh3AZYXMLJD -=nZ6Z +iEYEAREIAAYFAlG5BGEACgkQ4MrvBE1wQ8lJgACePKxB0RMGONmfhUw2cJQugSB9 +Oe4AnR8yv6i2oF28g1g98a4OqFpkEN+m +=XPei -----END PGP SIGNATURE----- diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild new file mode 100644 index 000000000000..1b36079ab886 --- /dev/null +++ b/net-nntp/sabnzbd/sabnzbd-0.7.12.ebuild @@ -0,0 +1,117 @@ +# 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} +} |