Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4b19bb930934cd1bcffe3db5ed21f47aa9779e0a

commit 4b19bb930934cd1bcffe3db5ed21f47aa9779e0a
Author: crazy <[email protected]>
Date:   Tue Oct 20 11:02:24 2015 +0200

sabnzbd-0.7.18-1-x86_64
* removed , rev-dep of par2cmdline

diff --git a/source/base/frugalware/FrugalBuild 
b/source/base/frugalware/FrugalBuild
index b383a52..5f09cbe 100644
--- a/source/base/frugalware/FrugalBuild
+++ b/source/base/frugalware/FrugalBuild
@@ -52,7 +52,7 @@ replaces=(
'zeitgeist-datahub' 'zeitgeist-extensions' 'raptor1' 'firefox-openinbrowser' 
'gnome-audio' 'firefox-mousegesture' \
'firefox-old_location_bar' 'firefox-adblock_plus' 'popcheck' '9base' 
'915resolution' 'par2cmdline' 'idesk' \
'telepathy-farstream-0.4' 'farstream-0.1' 'tapioca-qt' 'telepathy-qt' 'vidix' 
'x-cursors-dmz' 'papyon' 'telepathy-butterfly' \
-       'pymsn' 'adns-python' 'ctypeslib' 'kwooty' 'python-jabberbot')
+       'pymsn' 'adns-python' 'ctypeslib' 'kwooty' 'python-jabberbot' 'sabnzbd')
## e17 remove after 2.1
replaces=("${replaces[@]}" 'ecore' 'edje' 'eeze' 'eina' 'elementary' 'emotion' 
'ephoto' 'evas' 'ewebkit'  'exquisite' \
'e_dbus' 'eet' 'efreet' 'eio' 'embryo' 'enlightenment' 'ethumb' 
'evas_generic_loaders'  'expedite'  'terminology')
diff --git a/source/network-extra/sabnzbd/FrugalBuild 
b/source/network-extra/sabnzbd/FrugalBuild
deleted file mode 100644
index cc8c8d0..0000000
--- a/source/network-extra/sabnzbd/FrugalBuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Compiling Time: 0.05 SBU
-# Maintainer: Anthony Jorion <[email protected]>
-# Contributor: Devil505 <[email protected]>
-
-pkgname=sabnzbd
-pkgver=0.7.18
-pkgrel=1
-pkgdesc="A web-interface based binary newsgrabber with NZB file support"
-url="http://mookooh.org/coverfinder/";
-depends=('par2cmdline' 'python-cheetah' 'feedparser' 'python-yenc' 'pyopenssl' 
\
-       'unrar' 'unzip' 'python-sqlite3' 'curl')
-groups=('network-extra')
-archs=('i686' 'x86_64')
-backup=('etc/sysconfig/sabnzbd' 'usr/share/sabnzbd/sabnzbd.ini')
-_F_sourceforge_ext="-src.tar.gz"
-_F_sourceforge_name="SABnzbd"
-_F_sourceforge_dirname="sabnzbdplus"
-Finclude sourceforge
-source=(${source[@]} sabnzbd.service sabnzbd.sysconfig x-nzb.xml nzb-2.png 
sab2_64.png addnzb.sh)
-sha1sums=('8237fab6e65603a7961908d1a47d35fe1d8d192a' \
-          'b52b647a0778da9170965d721a03a54de1cf95fc' \
-          '273086a2c18a69e61496b1e62eca4b5bf6c6fdea' \
-          'fd607d2431583320a8233cced780ed98aa074c4e' \
-          'a77d34fd2222f060d77d121d56bbb94c85cf3f09' \
-          '92c17637b360bb938b7000ea0c2dc81178ede130' \
-          '82b87a3e662940e83f797ce824082fffd94771f6')
-replaces=('hellanzb')
-
-_F_systemd_scriptlet="$pkgname.install"
-_F_systemd_units=(sabnzbd=)
-Finclude systemd
-
-_F_desktop_name="SABnzbd+"
-_F_desktop_desc="Binary Newsreader"
-_F_desktop_icon="sab2_64.png"
-_F_desktop_exec="sh /usr/share/sabnzbd/addnzb.sh %u"
-_F_desktop_categories="Network"
-_F_desktop_mime="application/x-nzb"
-
-build() {
-        Fmkdir usr/share/$pkgname
-        mv -v $Fsrcdir/SABnzbd-$pkgver/* $Fdestdir/usr/share/$pkgname || Fdie
-        touch $Fdestdir/usr/share/$pkgname/$pkgname.ini || Fdie
-        find $Fdestdir/usr/share/$pkgname -type d -exec chmod 755 {} \;
-        find $Fdestdir/usr/share/$pkgname -type f -exec chmod 644 {} \;
-        Ffileschmod usr/share/$pkgname/SABnzbd.py 755
-        Ffileschmod usr/share/$pkgname/Sample-PostProc.sh 755
-        Fwrapper 'python /usr/share/sabnzbd/SABnzbd.py -f $HOME/.sabnzbd.ini 
"$@"' $pkgname
-        Ffile /lib/systemd/system/sabnzbd.service
-        Finstall 644 $pkgname.sysconfig etc/sysconfig/$pkgname
-        Fdesktop2
-        Ficon nzb-2.png
-        Ficon sab2_64.png
-        Fexe addnzb.sh usr/share/$pkgname/addnzb.sh
-        Finstall 770 x-nzb.xml usr/share/$pkgname/x-nzb.xml
-       Fgenscriptlet
-}
diff --git a/source/network-extra/sabnzbd/addnzb.sh 
b/source/network-extra/sabnzbd/addnzb.sh
deleted file mode 100644
index d2a2022..0000000
--- a/source/network-extra/sabnzbd/addnzb.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-set -a # export all variables
-
-. /etc/sysconfig/sabnzbd
-
-# SABnzbd must be able to read the file, so we copy it to a directory where it
-# certainly has rights.
-nzbname=$(basename "$1")
-TEMP_NZB="/var/tmp/$nzbname"
-
-curl -s $(python -c 'import urlparse,urllib,sys; print sys.argv[1] if 
urlparse.urlparse(sys.argv[1]).scheme else 
urlparse.urlparse(urllib.pathname2url(sys.argv[1]),"file").geturl()' "$1") -o 
"$TEMP_NZB"
-curl -f $(python -c 'import urllib,os; print 
os.environ["SABNZBD_PROTOCOL"]+"://"+urllib.quote(os.environ["SABNZBD_USPW"]+os.environ["SABNZBD_IP"])+":"+os.environ["SABNZBD_PORT"]+"/sabnzbd/api?mode=addlocalfile&name="+urllib.quote(os.environ["TEMP_NZB"])+"&apikey="+urllib.quote(os.environ["NZB_KEY"])')
-rm "$TEMP_NZB"
-exit 0
diff --git a/source/network-extra/sabnzbd/nzb-2.png 
b/source/network-extra/sabnzbd/nzb-2.png
deleted file mode 100644
index 53adbf6..0000000
Binary files a/source/network-extra/sabnzbd/nzb-2.png and /dev/null differ
diff --git a/source/network-extra/sabnzbd/sab2_64.png 
b/source/network-extra/sabnzbd/sab2_64.png
deleted file mode 100644
index 2c62900..0000000
Binary files a/source/network-extra/sabnzbd/sab2_64.png and /dev/null differ
diff --git a/source/network-extra/sabnzbd/sabnzbd.install 
b/source/network-extra/sabnzbd/sabnzbd.install
deleted file mode 100644
index 701bbcc..0000000
--- a/source/network-extra/sabnzbd/sabnzbd.install
+++ /dev/null
@@ -1,75 +0,0 @@
-sysvinit_units=(@_F_sysvinit_units@)
-systemd_units=(@_F_systemd_units@)
-
-post_install()
-{
-  # add x-nzb mimetype
-  xdg-mime install --mode system /usr/share/sabnzbd/x-nzb.xml
-  xdg-icon-resource install --context mimetypes --size 64  
/usr/share/pixmaps/nzb-2.png application-x-nzb
-
-  groupadd sabnzbd &> /dev/null
-  useradd -g sabnzbd -d /usr/share/sabnzbd -s /bin/false sabnzbd &> /dev/null
-  chown -R sabnzbd:sabnzbd /usr/share/sabnzbd
-  echo "  >> Don't forget to edit /etc/sysconfig/sabnzbd!"
-  echo "  >> Add your Session key and if necessary your username and password 
to ensure a proper shutdown."
-  echo "  >> "
-  echo "  >> If you want to associate .nzb-files with SABnzbd, run 'xdg-mime 
default sabnzbd.desktop applications/x-nzb'"
-
-       local unit
-       local op
-
-       for i in ${sysvinit_units[@]}; do
-               chkconfig --del rc.$i >/dev/null 2>&1
-       done
-
-       for i in ${systemd_units[@]}; do
-               unit=$(echo $i | cut -f 1 -d '=')
-               op=$(echo $i | cut -f 2 -d '=')
-               if echo $op | grep -q 'e'; then
-                       systemctl enable $unit.service >/dev/null 2>&1
-               fi
-               if echo $op | grep -q 's'; then
-                       systemctl start $unit.service >/dev/null 2>&1
-               fi
-       done
-}
-
-post_upgrade()
-{
-  chown -R sabnzbd:sabnzbd /usr/share/sabnzbd
-
-       for i in ${sysvinit_units[@]}; do
-               chkconfig --del rc.$i >/dev/null 2>&1
-       done
-
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-pre_remove()
-{
-  xdg-mime uninstall --mode system /usr/share/sabnzbd/x-nzb.xml
-  xdg-icon-resource uninstall --context mimetypes --size 64  
/usr/share/pixmaps/nzb-2.png application-x-nzb
-
-  userdel sabnzbd &> /dev/null
-
-       local unit
-
-       for i in ${sysvinit_units[@]}; do
-               chkconfig --del rc.$i >/dev/null 2>&1
-       done
-
-       for i in ${systemd_units[@]}; do
-               unit=$(echo $i | cut -f 1 -d '=')
-               systemctl --no-reload disable $unit.service >/dev/null 2>&1
-               systemctl stop $unit.service >/dev/null 2>&1
-       done
-}
-
-post_remove()
-{
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
diff --git a/source/network-extra/sabnzbd/sabnzbd.service 
b/source/network-extra/sabnzbd/sabnzbd.service
deleted file mode 100644
index 3dddcd6..0000000
--- a/source/network-extra/sabnzbd/sabnzbd.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Web-interface based binary newsgrabber with NZB file support
-After=syslog.target
-
-[Service]
-EnvironmentFile=/etc/sysconfig/sabnzbd
-ExecStart=/bin/su - $SABNZBD_USER -c "python /usr/share/sabnzbd/SABnzbd.py -f 
${SABNZBD_CONF} -s ${SABNZBD_IP}:${SABNZBD_PORT}" -s /bin/sh
-
-[Install]
-WantedBy=multi-user.target
diff --git a/source/network-extra/sabnzbd/sabnzbd.sysconfig 
b/source/network-extra/sabnzbd/sabnzbd.sysconfig
deleted file mode 100644
index ee6aaa1..0000000
--- a/source/network-extra/sabnzbd/sabnzbd.sysconfig
+++ /dev/null
@@ -1,17 +0,0 @@
-SABNZBD_USER="sabnzbd"
-SABNZBD_CONF="/usr/share/sabnzbd/sabnzbd.ini"
-
-# Put the session keys from Config > General here
-SABNZBD_KEY=""
-NZB_KEY=""
-
-# Set to the protocol, IP and port
-SABNZBD_PROTOCOL="http"
-SABNZBD_IP="127.0.0.1"
-SABNZBD_PORT="8080"
-
-# If you use a username and password, change the following variable to
-# "user:pass@"
-SABNZBD_USPW=""
-
-
diff --git a/source/network-extra/sabnzbd/x-nzb.xml 
b/source/network-extra/sabnzbd/x-nzb.xml
deleted file mode 100644
index e77d284..0000000
--- a/source/network-extra/sabnzbd/x-nzb.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info";>
-  <mime-type type="application/x-nzb">
-
-    <comment xml:lang='en'>An XML-based file format for retrieving posts from 
NNTP (Usenet) servers</comment>
-    <sub-class-of type="application/xml"/>
-    <glob pattern="*.nzb"/>
-
-  </mime-type>
-</mime-info>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to