diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2013-07-11 23:08:15 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2013-07-11 23:08:15 +0000 |
commit | 180f7c2c868073edbea140dc8cd970cce4d35a08 (patch) | |
tree | 75683152fc1535ea84e0225aae24a71cb50e2498 /net-nntp | |
parent | Fixed dependencies to not depend on newest versions which break compilation; ... (diff) | |
download | historical-180f7c2c868073edbea140dc8cd970cce4d35a08.tar.gz historical-180f7c2c868073edbea140dc8cd970cce4d35a08.tar.bz2 historical-180f7c2c868073edbea140dc8cd970cce4d35a08.zip |
version 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/ChangeLog | 7 | ||||
-rw-r--r-- | net-nntp/sabnzbd/Manifest | 14 | ||||
-rw-r--r-- | net-nntp/sabnzbd/sabnzbd-0.7.14.ebuild | 119 |
3 files changed, 138 insertions, 2 deletions
diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog index 7711adf56cb7..0bb8ed00116b 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.15 2013/06/25 03:48:26 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/ChangeLog,v 1.16 2013/07/11 23:08:10 jsbronder Exp $ + +*sabnzbd-0.7.14 (11 Jul 2013) + + 11 Jul 2013; Justin Bronder <jsbronder@gentoo.org> +sabnzbd-0.7.14.ebuild: + version bump *sabnzbd-0.7.13-r2 (25 Jun 2013) diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest index 4a753f2b0665..5651602a0c3e 100644 --- a/net-nntp/sabnzbd/Manifest +++ b/net-nntp/sabnzbd/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX growler-support-gntp-1.0.patch 886 SHA256 8a9daee5d8860c97d504a59842acf22de0a5197785a0a56a9f61793e0d250de9 SHA512 a06b32146a34bc8a1765e248a39a70490f54a4f898cd6aa364631d95793d1b225f413c7f4c4d7e52a06b906701f216ca73d457e90ac73d133333d0230c3d0a68 WHIRLPOOL 5cd32d5c1ad15adb86248de0952cc87d2e3878915f6e0105265a7c572dd354046506a19d8a05450b1ffde8b2017714ecfafd1bdd6bc025be16c3a316306d4c27 AUX sabnzbd 281 SHA256 1224cb0157838e6d104592abd24b85eba832e23fbb57badd55e6877fd1bad17e SHA512 d3f064261c978fa4159b41636278f289bf549e2d83161652bce94e7a5ed3d1efdc3427cfdd84784bfc973ade589079417890fb8ced6eb04bad06628fbe6db66a WHIRLPOOL 6ee14687ed0a2f8be7dc7af1dd9e5d21ee07ee1788f3f7440094df9e0b28791f809ff1f9296df4771d1b50a62f19481f48ec674778a448bbb73267152d332f63 AUX sabnzbd.confd 148 SHA256 071251fe47e594d65d017540cc2a84465dab242df5b621d500befcdd280bc458 SHA512 a06d2bf1663ec63da2754747cd5518a56604fcef84840cdaa160722c18ec0b42a3ee0ea7d6ecec6525d4bf264184f3627553bcab67395b31acc40b95b4c6f651 WHIRLPOOL 1e1c40dba40bdd73990295980ceb91ee4abf9cd5887f377e6305b7d3c1eda17595584dfd3c9b49c99b5749a146c815d9706cb989b3f1b0652fe92a8e0cc5d3bf @@ -6,6 +9,15 @@ AUX sabnzbd.initd 2410 SHA256 64ee769889fc4bcfe4a09cf6c95636a7f0dc130587046049ee 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.13-src.tar.gz 2275234 SHA256 33ebef37e7cdbcc1e3a7436432d7701b3f2584b754176a4d9000ac125e25d690 SHA512 8462e7f39da0e2c829bebca97cbdbb5f6d314e04c408257064d68bf2d17fc37301e53daf695e8db6e5af82d844f6e99fbbed8c500e2bd3d3916a8b3431e1248c WHIRLPOOL cc9c14b6d86108038eee3c934aa1ecc2c95947d8493799b750cf59d1d44f81f5d13cc492fb0f4f8204cd64629e85f707b83b7f971bcb8ef296c65bf28f8bd1eb +DIST SABnzbd-0.7.14-src.tar.gz 2275312 SHA256 b5aefb2911349697db3be86eca815622a2bddb4ab370ed5522b4b0322d45c843 SHA512 54eea9e14c2ef1730d8e4f29c4bb27c2e17ff1923e9e982b2075195663c7fe03224e59851369b730e94c2dd1711732f09082a6ecd470a603b28a5660be161d41 WHIRLPOOL 7bfab6c1ba2ccaab1fa77eb5d8fcd9b8a964e424bdce25f19756b1d77b6665b12050a773c2b2200633b05d67f6dd21e3c31ee320fdb20340a1cdc8a98a084e53 EBUILD sabnzbd-0.7.13-r2.ebuild 3200 SHA256 b99a29487a00647719e6776bc886a67c94af2c5fbc99e7f303e7b116b04369a5 SHA512 3bd0868834d8b324946ea556cfbbe5a5d9b0f39d80df0d2b58a4f01173466ab5447d9df3660da80a3c744f965c611e3faf2401040509ad6905fa880c28361b1e WHIRLPOOL ad9fc24484bb74749a9d99bf75b666cbc2639b902dae1d120a6798390e6d322bf021e287d5d62fc63dda65b578292f6e5ca74296640e670ddf0e478af7a9218c -MISC ChangeLog 3007 SHA256 5c5c63bc36492a55fb27a00f88159f5b0f1c72ebd1c5fde0023d9dbaa40aa887 SHA512 72dee5cafc6e438d01b83fc2aed37f783d2e1f0026d301487ea25c5d11924b9245fa1b5be31abfe52d4ec3371159c0547a5e780cf06e3a66a0947ef67102d5b7 WHIRLPOOL d41bf48df9eaa5732da6db5e006c5a7f6a51480518563c4692c8fb2325111cf04184b7697558d428c583db6f6139c48eda1ddaf12a76e4c59be2948728a9fbcd +EBUILD sabnzbd-0.7.14.ebuild 3197 SHA256 65a218122d88ebb4adfe380b6027058ee1098f1e66ff1a124e5e83bcde75b747 SHA512 6f2238f1c53e1841b123f179823eb704ae982f0aab026e15a4908069bf6139e1617d5d16695786f5cf4c3761493f73328e2ad0cfe7bbef6ece310de547ae5fe9 WHIRLPOOL 9ada7782955456b955f1c1d71a60ca4c99d3db0f4fbc2dc76f51244f3d50f281e591e92b8178c828ba2e02f624e1d801edf5b87bf2534b0b131542f961d18c3f +MISC ChangeLog 3131 SHA256 cd5967fb68702677ac13c0f7debc392125d20a0fdfeffb09fc65289c03919c19 SHA512 6cb2b7581147a9ac7378808807c8e79e5fbff400e6fc762f37b70c5bdb06a4f17801cc8d88983e20c4d86f632067d05cbc0411b175544fb0026c96724bb2c4e2 WHIRLPOOL ce2a72796be775be3a09578a41e22c033b3c2f84e9d871b4731c49a245b290cd58eb09f8c076baf3108a16e743d7165e1568bb1b024e87cea120f343e1d3b907 MISC metadata.xml 484 SHA256 8e26c45345b47dbcdd018d9006a4d7f42a1394da6e39e9e968b1362480ae5d7a SHA512 18630bf4e3afa57977c1c4d7f562888c3048c3778a9aff4bba2e969f3f1934d8f85c22fef30c453f5ea09f410ce16761b75c25ba7d73ce1a14ea4abffcd918a6 WHIRLPOOL a399aa5a061fba0278117af2c8e18f88bb8cb10e049ff0cc9d86d9316497dcc5c13e55ceeea03b848ab4f796665e6efa0fc3345c02a4dcbbaacdef782ab7cc2b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlHfOuEACgkQ4MrvBE1wQ8lY3gCfV1nxMXHKW/jfIkHi2pR4nUdI +jr0An1tP4gPeTTJdoBSolxFdvdOsvOgQ +=s6ku +-----END PGP SIGNATURE----- diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.14.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.14.ebuild new file mode 100644 index 000000000000..4e03ff18dfd9 --- /dev/null +++ b/net-nntp/sabnzbd/sabnzbd-0.7.14.ebuild @@ -0,0 +1,119 @@ +# 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.14.ebuild,v 1.1 2013/07/11 23:08:10 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 + epatch "${FILESDIR}"/growler-support-gntp-1.0.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} +} |