diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2013-01-06 19:44:54 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2013-01-06 19:44:54 +0000 |
commit | 4225c310c95b30a69a9642f817066cd72a9a0fe6 (patch) | |
tree | 8eac372577e4e034d9fca0b24be518f65ce6a112 /net-nntp/sabnzbd | |
parent | sh stable wrt #438374 (diff) | |
download | historical-4225c310c95b30a69a9642f817066cd72a9a0fe6.tar.gz historical-4225c310c95b30a69a9642f817066cd72a9a0fe6.tar.bz2 historical-4225c310c95b30a69a9642f817066cd72a9a0fe6.zip |
Bump (#450208), use system cherrypy-3.2* (#450242), respect logging settings from conf.d
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Manifest-Sign-Key: 0x4D7043C9
Diffstat (limited to 'net-nntp/sabnzbd')
-rw-r--r-- | net-nntp/sabnzbd/ChangeLog | 9 | ||||
-rw-r--r-- | net-nntp/sabnzbd/Manifest | 12 | ||||
-rw-r--r-- | net-nntp/sabnzbd/files/sabnzbd.initd | 3 | ||||
-rw-r--r-- | net-nntp/sabnzbd/sabnzbd-0.7.8.ebuild | 105 |
4 files changed, 122 insertions, 7 deletions
diff --git a/net-nntp/sabnzbd/ChangeLog b/net-nntp/sabnzbd/ChangeLog index 6cab61bb4032..029f6ba31f55 100644 --- a/net-nntp/sabnzbd/ChangeLog +++ b/net-nntp/sabnzbd/ChangeLog @@ -1,6 +1,13 @@ # 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.2 2013/01/03 23:05:32 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/ChangeLog,v 1.3 2013/01/06 19:44:48 jsbronder Exp $ + +*sabnzbd-0.7.8 (06 Jan 2013) + + 06 Jan 2013; Justin Bronder <jsbronder@gentoo.org> +sabnzbd-0.7.8.ebuild, + files/sabnzbd.initd: + Bump (#450208), use system cherrypy-3.2* (#450242), respect logging settings + from conf.d 03 Jan 2013; Justin Bronder <jsbronder@gentoo.org> sabnzbd-0.7.7.ebuild, metadata.xml: diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest index 2b7cc89393df..96fce5a50f39 100644 --- a/net-nntp/sabnzbd/Manifest +++ b/net-nntp/sabnzbd/Manifest @@ -3,16 +3,18 @@ Hash: SHA256 AUX sabnzbd 57 SHA256 923c9ebd69763b0b8d1012b63113d8c48ce2e2a5a79f027064d09fe17738f86f SHA512 91839a8f85b2b95d86a196ed1e430210b8af75f2f203243ec9c279237f316a4c351d7809b548289becb3d7e438287ced0045a532b3b62fd0b1791da3b150d84c WHIRLPOOL d9a7e8049db9a4dac85912ed2d0cf9cc0d800ac663f21de0147aac65681c04b9581ebcfa182eed35df0faa47e050dc6153dabfbb70f93e04ed81ca6f69be85a1 AUX sabnzbd.confd 189 SHA256 684877bf6d36927b5e51a66c5f4bf539cdbb407d570ce4a35bdd309634bd5b11 SHA512 d62a867adca670d1679a2679b038bece85618083db4b7b3cc41bb86b389ce1e12f1d003499e93be94b1046228751f8424349847acc68e35165f0e64464c157c9 WHIRLPOOL 3ea13bbea28f4b78ad35f0efdfcaed44a2748e6b58bde5156feb643027a8adca7aaf42d55cbdcb08bdaa536fac90f429dfe361ef71e6f16716c6ac1f87c208a0 -AUX sabnzbd.initd 1039 SHA256 c702dc57f31bd03b5c2bb659c0f3ca0253b38f6c9ba3e339aefbe952887caedb SHA512 98ea7573ff3b76406f207a23e062f0493fe1bdf2f1dc79f27fe09c91a1a72cf6568fcb33662f39731666de6ded11be75de99b2b5645f59101ef6b67d3cd2f646 WHIRLPOOL 5bec10dd4e87e03ec13ab05bf5456afa680b682ffcec0272f6e9aaef480b52671d5a01ed8e5cb67472ba9304cb40e1b514cfef94f59a2047999fc72f8c41403d +AUX sabnzbd.initd 1078 SHA256 422c4d7d7b90ed6308c530950f71770bf0d4a9eb0840b185bc23798763a8e9d8 SHA512 cce74b1a10dfa6b9a368c56e70f5f020a93eef8230b67395f95d2d951b088255b2347f9bbc4dd5284fc6c84ce4f2648c8fa439b5a763cf160924fbe74a26b4af WHIRLPOOL 07974b78d280d4127f882b09dea0cb7a96afbc87aca19b5cd3662586db5773bd30aa3bcca98884094838e6eefda536e4440a14052a290097d4002d49a066acb2 AUX use-system-configobj-and-feedparser.patch 1254 SHA256 39e01c79058f37257e6f873f0e2643631d0f7c207fad058f227cfd0833f9ca9a SHA512 c2cf92909bd171d63179e4c2cbedf3f61b26bde2944e455b9ca798dd11aca5cccb85830df9d2f5800e5a0757e5ca9b14c78a275a025838a9ade52b6219a0af27 WHIRLPOOL df4221e3322d7c48e338e6cc80ef207f1dddcdc477e2a428825d3bf9c37772c545b94bebabb86e507ecece19a6a20bfc34356f6114dad521d3ee6e75a88ba2f5 DIST SABnzbd-0.7.7-src.tar.gz 2263992 SHA256 8f972449e6033414ac5fe10d97b31ffdc49488239e04a88c6aff4231e8d4a0b7 SHA512 6ab065b1112ff71305873d2c6cb8425af998f7fcd968d80860b3e625615f3d5d989e76334bb922371ef77d1bbef7d9223575ccc3d54b97c1af3fea0a02f35b91 WHIRLPOOL 2da76c52c63c018345fd8b806cf9a3b482f212745b2374ede8955e226ddf9ba804565cb2c2f3a210f10b67d2119173809ad186253d3ffbac2ef5e160cfc583b5 +DIST SABnzbd-0.7.8-src.tar.gz 4252 SHA256 c9da6408d822c1c374b10b80244620663453744cfecd0b93fe0632401ca15a93 SHA512 5db76715719de4bb2f360aaf4c94d5c389560b9e8b0fbd6488d076d82ba4194756ffa5b3042ebbdcd9befd6c093f7cdc8ff322a85e0780ed400886a02e751efa WHIRLPOOL 90158de2a48da0aa094fe4573d10b8ae26b121d189258e8fa06c001e903503d7327079196e101e1866a877eb572d67c66baf8512bcd8eced88ec2151ae63f388 EBUILD sabnzbd-0.7.7.ebuild 2698 SHA256 c5da5da88d34039e5f6dffde2699d9ecac26367667b92575ee8fc60865fdfdc8 SHA512 1fe7798981b7de897dbc9eb6e7d164cdbf1898a8a91f086a2e77c7efb7be52f7e304e9ab2efd45cd14847c813e3b0b1c70ca49a37cb61d92a97dbe6352f924b2 WHIRLPOOL 7a236daec42d6b7e0bf6060774fecea917f4e806824c56c29ce283d200b894d52f7d17b460f0dd7fe1d382c69a7561a8b43b651909e026bd62997ebc79dbd664 -MISC ChangeLog 588 SHA256 ef682847df1a352b89072a69b32e6f053517617aaa4fd8c800fa794c2a54c731 SHA512 5d3fe5776833227d317de55b7dd0d5b9fa85bd8702e9c4c7288a30391376160788e47d016066517c1d63ce1836de16aa3999dc9b547c7553e6945445d4244a02 WHIRLPOOL bb2030442e62b66a73b62c7b3a649f057403e5eebb023cc258337c99caa2d29eab4b664c107720b5e2a3d74c78a44148354193ed055c3696cf9d112390c286f9 +EBUILD sabnzbd-0.7.8.ebuild 2629 SHA256 cadafdfa161791dfbd0844739da7ead3bf8dd1aa8489140a105e37b3f4d57061 SHA512 4f167c68eabc9a82f3063d285cecc195b6f284a1c7c502e9013c904446ae66e519040f1f624bd2d560a10a6503cd0f9a1fba609fd7192760ad3e89fa8ae89c7b WHIRLPOOL 2dbe154aab89fb0ce741e69ba0ca83d0bd92d107f08cf5603ef0381e953b130e93ebab16af907814754fe1fe90e1f305a45ee45fabc700c0ca48dedced5704e4 +MISC ChangeLog 811 SHA256 7caabc80c92e02abf77855443582ec0ff1f6d76bb84caafbe653ec067b855662 SHA512 cb360675e0b1b8c8989fd2e1b6b2f0ce97b656cf95fb70426adf0d86ff6c3d30fb709f1982c341a02990d38bd421e9c4cf31c312db943222c404195a4fe410b3 WHIRLPOOL a1126dedc6c2f0e159314d66f8c5e3e5ae0ba861eb1ad9ed5a0951597d6724ed0909c0e9b6153eb076fda5ac1825654251cf2ffd5da295e1268b856971028442 MISC metadata.xml 484 SHA256 8e26c45345b47dbcdd018d9006a4d7f42a1394da6e39e9e968b1362480ae5d7a SHA512 18630bf4e3afa57977c1c4d7f562888c3048c3778a9aff4bba2e969f3f1934d8f85c22fef30c453f5ea09f410ce16761b75c25ba7d73ce1a14ea4abffcd918a6 WHIRLPOOL a399aa5a061fba0278117af2c8e18f88bb8cb10e049ff0cc9d86d9316497dcc5c13e55ceeea03b848ab4f796665e6efa0fc3345c02a4dcbbaacdef782ab7cc2b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlDmDsAACgkQ4MrvBE1wQ8lgzACggIZKRx0Vt4v3z4lP58G1Izc/ -vhEAnAx2PphJN5DLummZp0fr1w2ptha7 -=826I +iEYEAREIAAYFAlDp1DIACgkQ4MrvBE1wQ8mItACglPJG5AmB/iQX3v5uypSURMgJ +SRkAnAl6FfCQ5bgf3DoLBGov0VkMmVi7 +=UeMa -----END PGP SIGNATURE----- diff --git a/net-nntp/sabnzbd/files/sabnzbd.initd b/net-nntp/sabnzbd/files/sabnzbd.initd index b3e0af0ef4fc..4493474c5944 100644 --- a/net-nntp/sabnzbd/files/sabnzbd.initd +++ b/net-nntp/sabnzbd/files/sabnzbd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/files/sabnzbd.initd,v 1.1 2013/01/03 20:02:32 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/files/sabnzbd.initd,v 1.2 2013/01/06 19:44:49 jsbronder Exp $ depend() { @@ -21,6 +21,7 @@ start() { -- \ --server ${SABNZBD_SERVER}:${SABNZBD_PORT} \ --config-file ${SABNZBD_CONFIGFILE} \ + --logging ${SABNZBD_LOGGING} \ --daemon eend $? } diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.8.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.8.ebuild new file mode 100644 index 000000000000..7ceb8cb5429d --- /dev/null +++ b/net-nntp/sabnzbd/sabnzbd-0.7.8.ebuild @@ -0,0 +1,105 @@ +# 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.8.ebuild,v 1.1 2013/01/06 19:44:48 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/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 sabnzbd/utils/{feedparser,configobj,gntp}.py cherryp + 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}" + + diropts -o ${PN} -g ${PN} + dodir /etc/${PN} + dodir /var/log/${PN} + + 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} +} |