diff options
author | Lukas Elsner <open@mindrunner.de> | 2013-01-28 10:26:17 +0100 |
---|---|---|
committer | Lukas Elsner <open@mindrunner.de> | 2013-01-28 10:26:17 +0100 |
commit | fb97e728e2443541c2eda399391d0e7f3cc2d96c (patch) | |
tree | 67b6c5e2f25e419a0603b8f22e506c927b054f39 /net-misc | |
parent | removed this crap (diff) | |
download | luman-fb97e728e2443541c2eda399391d0e7f3cc2d96c.tar.gz luman-fb97e728e2443541c2eda399391d0e7f3cc2d96c.tar.bz2 luman-fb97e728e2443541c2eda399391d0e7f3cc2d96c.zip |
removed pyload
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/pyload/Manifest | 6 | ||||
-rw-r--r-- | net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch | 21 | ||||
-rw-r--r-- | net-misc/pyload/files/pyload.confd | 8 | ||||
-rw-r--r-- | net-misc/pyload/files/pyload.initd | 22 | ||||
-rw-r--r-- | net-misc/pyload/files/pyload.service | 10 | ||||
-rw-r--r-- | net-misc/pyload/pyload-0.4.9.ebuild | 175 |
6 files changed, 0 insertions, 242 deletions
diff --git a/net-misc/pyload/Manifest b/net-misc/pyload/Manifest deleted file mode 100644 index f2f32da..0000000 --- a/net-misc/pyload/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX pyload-0.4.9-sanitize-config.patch 834 SHA256 36bffbaa3099c52952582f6e69931b5297c500a1e54d641e2b9ee547c1cfa60f SHA512 2b78a9ba74da93409f786fd32ae56cca8858953227314779f86aa6bddec06d6b373ddd78528df0aa5e7657c0c201ba6b0b6bfded98dae60d27ecdcce5060d15f WHIRLPOOL 97cc27681ba723f553aaf033472dd82dda36d5cbc9212bdce48a2d3b7e5039e2e2364a75e87af0093c89d77af80bc04fd13a1dc4eba7b7e8f1093b572eab53b4 -AUX pyload.confd 193 SHA256 35fc29ce2c9feccd2946ac41795560521155f34183f3cd3fd5ea6d82c9afd117 SHA512 942a1462a1f10a8548e571fa51c124c0bf2ac85a317aaa7f1fc896084c068b0c460507c74ae938725740dea742744ab0eb3cb30b0471ff33c371738aaf227e45 WHIRLPOOL a6346ba0d19475d81634f5516f7619c28fe6d7f91be4328081d4cdf113c3a001703625af62aef3ebe4c04d5453c34827b4db13f5a8a82e61d23ac66cf9ffcab1 -AUX pyload.initd 373 SHA256 70b96bc562153d5336d6ea69e3601f22751b6103e6cb5266b98b98c8dfa6d311 SHA512 827e6a9ebad3aaa6655936cbb7162ed651021c94edf4d04fdbdce5922521ae58a7fcb631a2d38217fe2f33db4dcf711ae2470d2c8a7434952337582e2fd6ad0e WHIRLPOOL ffa69838a1cfd06f24a8ed6e7f114e748e8e0f8d0643e9bad579fb6c2eece19801a33df367c9232a51dc2e6a20482a26a8226b52a0b5b9766b396a83f553e2a5 -AUX pyload.service 179 SHA256 645addcff8fed4b8ba5e4aa7728e27810555d39596ca2048f8f6dbf10cc64974 SHA512 311144cfee847e2c26d3079619f9b0bf9c90135787fada0a8631e298ccac9f701ec843eb30f86569d8d29d9f51334d5486a491d3dcafc4ec7231b0593e6f905d WHIRLPOOL 667aae8541a5083949dfd10b1ad13a55159d4ddb550fa5437f16d76ae2b7028f38e000396a4160f8f4a429c4583c3656576860ec5cb1a86c532b2bd5a24b707c -DIST pyload-src-v0.4.9.zip 1582931 SHA256 f937631d376216bc830d6ffcd5b4ecb1806afd4012a184849da1a333a7ba0016 SHA512 6265602073279763c5393b958ec2cc6825d51e872556d2f2141db1e2afd9a2aaded8275aac0576526f96863d768bc9ff3669e7ff31e7b9fb5c5f655bba920a8e WHIRLPOOL abe9e244cdba73e5cd0e1d0de072c52d00ca8e44ae6f7979235427402804aeb59ebcaf01a85a3696c1292c276f30eec489f0c3cf32680fef158139ca7ed14b8d -EBUILD pyload-0.4.9.ebuild 3859 SHA256 56e9af1b73dfa72f4dcf6d87ccd2b7d8c6e3d549a7945ba0b3c64f7e4694cac9 SHA512 09ab317599a4372d8796e4bb0b04479025b445c6bcd67274b170a8ffc7de5189d4c3c6aea55f55e8e65581444e54f246a4252ecba7b23033a5f77df3fa50cbaa WHIRLPOOL 1853ec25a4cd3f440aca57d79fc72ca77fbf965e4c282821e6d9c723b0a001293477d00af90b3a972cc6ad45f90f152e20fb8067a2a23c3c7789627832de4fe6 diff --git a/net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch b/net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch deleted file mode 100644 index ebdd34e..0000000 --- a/net-misc/pyload/files/pyload-0.4.9-sanitize-config.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -urN pyload.orig/module/config/default.conf pyload.new/module/config/default.conf ---- pyload.orig/module/config/default.conf 2011-12-29 13:06:43.000000000 +0100 -+++ pyload.new/module/config/default.conf 2012-01-13 00:17:20.351549582 +0100 -@@ -2,7 +2,7 @@ -
- remote - "Remote":
- int port : "Port" = 7227
-- ip listenaddr : "Adress" = 0.0.0.0
-+ ip listenaddr : "Adress" = 127.0.0.1
- bool nolocalauth : "No authentication on local connections" = True
- bool activated : "Activated" = True
- ssl - "SSL":
-@@ -13,7 +13,7 @@ - bool activated : "Activated" = True
- builtin;threaded;fastcgi;lightweight server : "Server" = builtin
- bool https : "Use HTTPS" = False
-- ip host : "IP" = 0.0.0.0
-+ ip host : "IP" = 127.0.0.1
- int port : "Port" = 8001
- str template : "Template" = default
- str prefix: "Path Prefix" =
diff --git a/net-misc/pyload/files/pyload.confd b/net-misc/pyload/files/pyload.confd deleted file mode 100644 index 03c4756..0000000 --- a/net-misc/pyload/files/pyload.confd +++ /dev/null @@ -1,8 +0,0 @@ -#The Name of the daemon process' PID-file -PIDFILE="/var/run/pyload.pid" - -#Preset working directory for pyload -CONFIGDIR="/var/lib/pyload" -#Additional daemon options you want to use -OPTIONS="" - diff --git a/net-misc/pyload/files/pyload.initd b/net-misc/pyload/files/pyload.initd deleted file mode 100644 index 1a1d0ad..0000000 --- a/net-misc/pyload/files/pyload.initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript - -NAME="PyLoad Daemon" - -depend() { - need net -} - -start() { - ebegin "Starting PyLoad" - start-stop-daemon --start --quiet \ - --pidfile ${PIDFILE} \ - --exec /usr/bin/pyLoadCore -- --configdir=${CONFIGDIR} --daemon -p ${PIDFILE} ${OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping PyLoad" - start-stop-daemon --stop --quiet \ - --pidfile ${PIDFILE} - eend $? -} diff --git a/net-misc/pyload/files/pyload.service b/net-misc/pyload/files/pyload.service deleted file mode 100644 index 734972f..0000000 --- a/net-misc/pyload/files/pyload.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=PyLoad Daemon -After=network.target - -[Service] -ExecStart=/usr/bin/env python2 /opt/pyload/pyLoadCore.py -StandardOut=syslog - -[Install] -WantedBy=multi-user.target diff --git a/net-misc/pyload/pyload-0.4.9.ebuild b/net-misc/pyload/pyload-0.4.9.ebuild deleted file mode 100644 index 89e925c..0000000 --- a/net-misc/pyload/pyload-0.4.9.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -PYTHON_DEPEND="2" -PYTHON_USE_WITH="sqlite" - -inherit base eutils python systemd - -if [[ ${PV} == *9999 ]]; then - EHG_REPO_URI="http://bitbucket.org/spoob/pyload/" - inherit mercurial -else - SRC_URI="http://get.pyload.org/static/${PN}-src-v${PV}.zip" - KEYWORDS="~amd64 ~x86" -fi -DESCRIPTION="A fast, lightweight and full featured download manager for many One-Click-Hosters." -HOMEPAGE="http://www.pyload.org" -#Upstreams says GPL but part of the source is not available to users -#We need a review about this and find the right license. -LICENSE="freedist" -SLOT="0" -IUSE="captcha clicknload container qt4 rar ssl systemd" - -DEPEND="app-arch/unzip" - -RDEPEND="${DEPEND} - dev-python/beautifulsoup - dev-python/beaker - dev-python/feedparser - dev-python/simplejson - dev-python/pycurl - dev-python/jinja - captcha? ( - dev-python/imaging - app-text/tesseract - ) - clicknload? ( - || ( - dev-lang/spidermonkey - dev-java/rhino - ) - ) - container? ( dev-python/pycrypto ) - qt4? ( dev-python/PyQt4 ) - rar? ( app-arch/unrar ) - ssl? ( - dev-python/pycrypto - dev-python/pyopenssl - )" -#clicknload? ( || ( ... ossp-js pyv8 ) ) - -S=${WORKDIR}/${PN} - -PYLOAD_WORKDIR=/var/lib/pyload # (/var/lib/ in lack of a better place) - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - #enewuser pyload -1 -1 ${PYLOAD_WORKDIR} -} - -src_unpack() { - if [[ ${PV} == *9999 ]]; then - mercurial_src_unpack - else - default - #base_src_unpack - fi - - cd "${S}" -} - -src_prepare() { - epatch "${FILESDIR}/${P}-sanitize-config.patch" - - # replace some shipped dependencies with the system libraries - rm -r \ - ${S}/module/lib/BeautifulSoup.py \ - ${S}/module/lib/beaker \ - ${S}/module/lib/feedparser.py \ - ${S}/module/lib/simplejson \ - ${S}/module/lib/jinja2 \ - - - find ${S}/module/ -name "*.py" -type f -print0 | xargs -0 \ - sed -i \ - -e 's:from module.lib.BeautifulSoup:from BeautifulSoup:' \ - -e 's:from module.lib \(import feedparser.*\):\1:' \ - -e 's:from module.lib.simplejson:from simplejson:' \ - -e 's:from module:from pyload:' \ - -e 's:"module\(.*\)":"pyload\1":' \ - -e 's:import module:import pyload:' \ - #${S}/module/**/*.py # globbing not working -> find - - sed -i \ - -e 's:from module:from pyload:' \ - -e 's:import module:import pyload:' \ - pyLoadCore.py - - sed -i \ - -e 's:from module:from pyload:' \ - -e 's:import module:import pyload:' \ - pyLoadCli.py - - if ! use qt4; then - rm -r ${S}/module/gui - fi -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - insinto $(python_get_sitedir)/${PN} - doins -r ${S}/module/* - - insinto /usr/share/${PN} - doins -r ${S}/locale - #doins -r ${S}/module - doins -r ${S}/scripts - - exeinto /usr/bin/ - newexe ${S}/pyLoadCore.py pyLoadCore - newexe ${S}/pyLoadCli.py pyLoadCli - - - if use qt4; then - doins -r ${S}/icons - make_wrapper pyloadgui /opt/${PN}/pyLoadGui.py - fi - - dodir ${PYLOAD_WORKDIR} - # install default config - if ! test -f /etc/pyload/pyload.conf; then - cp ${S}/module/config/default.conf ${D}/etc/pyload/pyload.conf - fi - - #fix tmpdir - dosym /tmp ${PYLOAD_WORKDIR}/tmp - - newinitd ${FILESDIR}/pyload.initd pyload - newconfd ${FILESDIR}/pyload.confd pyload - - if use systemd; then - systemd_dounit ${FILESDIR}/pyload.service - fi - - python_convert_shebangs -q -r 2 "${D}" -} - -pkg_postinst() { - python_mod_optimize ${PN} - if use ssl && ! test -f ${PYLOAD_WORKDIR}/ssl.key; then - einfo "If you plan using pyLoad's XML-RPC via SSL, you'll have to create a key in pyloads work directory" - echo - einfo "For the lazy, the list of needed commands is:" - echo - einfo "cd ${PYLOAD_WORKDIR}" - einfo "openssl genrsa 1024 > ssl.key" - einfo "openssl req -new -key ssl.key -out ssl.csr" - einfo "openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt" - fi -} - -pkg_postrm() { - python_mod_cleanup ${PN} -} |