Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=f0fd57a73dcb00ffc81a4814c19703c579b04395
commit f0fd57a73dcb00ffc81a4814c19703c579b04395 Author: Devil505 <[email protected]> Date: Mon Aug 15 16:01:36 2011 +0200 hellanzb-0.13-3-i686 * bin, replaced by sabnzbd diff --git a/source/network-extra/hellanzb/FrugalBuild b/source/network-extra/hellanzb/FrugalBuild deleted file mode 100644 index df84af3..0000000 --- a/source/network-extra/hellanzb/FrugalBuild +++ /dev/null @@ -1,26 +0,0 @@ -# Compiling Time: 0 SBU -# Maintainer: Devil505 <[email protected]> -# Contributor: The_Tito <[email protected]> - -pkgname=hellanzb -pkgver=0.13 -pkgrel=3 -pkgdesc="Python application designed for *nix environments that retrieves nzb files and fully processes them." -url="http://www.hellanzb.com/distfiles/" -depends=('unrar' 'twisted' 'zopeinterface' 'pyserial>=2.4-2' 'pyopenssl' 'pycrypto' 'par2cmdline') -groups=('network-extra') -archs=('i686' 'x86_64') -up2date="lynx -dump $url | Flasttar" -source=($url$pkgname-$pkgver.tar.gz rc.$pkgname $pkgname-$pkgver-datafiles.patch $pkgname-$pkgver-Fix_conf_file_search_path.patch) -_F_rcd_name="$pkgname" -backup=(etc/hellanzb.conf) -sha1sums=('4ada7268ccb9c8f85d8de8d34fda92c3e2d84b5f' \ - '0e3b8cbbc89822b17cc8dcb99882b31508029a40' \ - '6162353cc47927acabe0b466b03662a1762ebe89' \ - '712a3221f1af9747cb24ae685c7b32501f6da1d3') - -build() { - Fbuild - Finstall 644 $pkgname-$pkgver/etc/$pkgname.conf.sample etc/$pkgname.conf -} - diff --git a/source/network-extra/hellanzb/hellanzb-0.13-Fix_conf_file_search_path.patch b/source/network-extra/hellanzb/hellanzb-0.13-Fix_conf_file_search_path.patch deleted file mode 100644 index ee22dd2..0000000 --- a/source/network-extra/hellanzb/hellanzb-0.13-Fix_conf_file_search_path.patch +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 000-Fix_conf_file_search_path by -## Adam Cécile (Le_Vert) <[email protected]> -## -## DP: Search for configuration file in $HOME/.hellanzb/ or /etc/ - -@DPATCH@ - -diff -u hellanzb-0.11/Hellanzb/Core.py hellanzb-0.11/Hellanzb/Core.py.new ---- hellanzb-0.11/Hellanzb/Core.py 2007-02-10 15:01:50.000000000 +0100 -+++ hellanzb-0.11/Hellanzb/Core.py.new 2007-02-10 15:05:48.000000000 +0100 -@@ -33,16 +33,9 @@ - else: - error('Unable to load specified config file: ' + optionalConfigFile) - sys.exit(1) -- -- # look for conf in this order: sys.prefix, ./, or ./etc/ -- confDirs = [os.path.join(sys.prefix, 'etc')] -- try: -- confDirs.append(os.path.join(os.getcwd(), 'etc')) -- confDirs.append(os.getcwd()) -- except OSError, ose: -- if ose.errno != 2: -- raise -- # OSError: [Errno 2] No such file or directory. cwd doesn't exist -+ -+ # Look for conf file in /etc or $HOME/.hellanzb -+ confDirs = [ os.path.expanduser('~') + '/.hellanzb', '/etc' ] - - # hard coding preferred Darwin config file location, kind of lame. but I'd rather do - # this then make an etc dir in os x's Python.framework directory diff --git a/source/network-extra/hellanzb/hellanzb-0.13-datafiles.patch b/source/network-extra/hellanzb/hellanzb-0.13-datafiles.patch deleted file mode 100644 index 88c5899..0000000 --- a/source/network-extra/hellanzb/hellanzb-0.13-datafiles.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: hellanzb-0.13/setup.py -=================================================================== ---- hellanzb-0.13.orig/setup.py -+++ hellanzb-0.13/setup.py -@@ -38,8 +38,6 @@ def runSetup(): - packages = [ 'Hellanzb', 'Hellanzb.NZBLeecher', 'Hellanzb.HellaXMLRPC', - 'Hellanzb.external', 'Hellanzb.external.elementtree' ], - scripts = [ 'hellanzb.py' ], -- data_files = [ ( 'etc', [ 'etc/hellanzb.conf.sample' ] ), -- ( 'share/doc/hellanzb', [ 'CHANGELOG', 'CREDITS', 'README', 'LICENSE' ] ) ], - ) - py2app_options = dict( - app = [ 'hellanzb.py' ], diff --git a/source/network-extra/hellanzb/rc.hellanzb b/source/network-extra/hellanzb/rc.hellanzb deleted file mode 100644 index a91d8bc..0000000 --- a/source/network-extra/hellanzb/rc.hellanzb +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -# (c) 2008 devil505 <[email protected]> -# rc.hellanzb for FrugalWare -# distributed under GPL License - -# chkconfig: 2345 99 02 -# description: nzb downloader and post processor - -source /lib/initscripts/functions -TEXTDOMAIN=nzb -TEXTDOMAINDIR=/lib/initscripts/messages -daemon="hellanzb" - -actions=(restart start status stop) - -pid="pidof /usr/bin/hellanzb.py 2> /dev/null" - -rc_start() -{ - start_msg - if [ -z "$(eval $pid)" ]; then - /usr/bin/hellanzb.py -D &>/dev/null - ok $? - else - ok 999 - fi -} -rc_stop() -{ - stop_msg - if [ ! -z "$(eval $pid)" ] ;then - kill $(eval $pid) 2>/dev/null 1>/dev/null - ok $? - else - ok 999 - fi -} - -rc_exec $1 -
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
