Username: Password: Remember me
Search Criteria Advanced
Package Details

sabnzbd 0.4.11-1
http://www.sabnzbd.org/
A web-interface based binary newsgrabber with NZB file support

unsupported :: network
Maintainer: farhany
Votes: 65

License: GPL

Last Updated: Sat, 23 May 2009 16:16:17 +0000
First Submitted: Fri, 09 Nov 2007 16:21:18 +0000

Tarball :: Files :: PKGBUILD
This package has been flagged out of date.

Dependencies par2cmdline pyopenssl python-cheetah python-feedparser python-yenc python25 unrar unzip wget

Sources
http://downloads.sourceforge.net/sabnzbdplus/SABnzbd-0.4.11-src.tar.gz
sabnzbd
sabnzbd.confd
sabnzbd.init
Comment by: Revelation60 on Mon, 08 Feb 2010 10:15:39 +0000
Fine, I'll do it right away.
Comment by: farhany on Mon, 08 Feb 2010 05:26:19 +0000
Revelation60, can you delete your package sabnzbd-0.5.0 so I can replace it with this one featuring RC6?
Comment by: farhany on Mon, 08 Feb 2010 04:46:58 +0000
In the process of updating to v0.5.0 RC6. It's coming very soon. I promise!!!
Comment by: teek on Sat, 06 Feb 2010 17:59:19 +0000
The current build starts to open konqueror windows like crazy!
Comment by: Revelation60 on Fri, 05 Feb 2010 17:08:07 +0000
Family emergencies are of course more important! The only changes I have made are in the PGKBUILD file, so you can copy that file. I don't mind taking over this package, if you don't want to do it anymore. Anyhow, I will delete the sabnzbd-0.5 package if this one is updated :)
Comment by: farhany on Fri, 05 Feb 2010 16:11:20 +0000
Yes guys, sorry for the hiatus there due to some family emergencies. I'm here. Can you send me the changes you made so we can avoid the duplicate? If you'd like to take over this and delete the other, that is also an option. Let me know how you'd like to proceed.
Comment by: Zepp on Wed, 03 Feb 2010 15:07:22 +0000
I'd suggest posting any changes you've made, and contacting the maintainer if there is no response for a while. It will be a bit less convenient for people using yaourt maybe but I think it is better than having multiple packages in AUR for different releases.
Comment by: Revelation60 on Tue, 02 Feb 2010 16:59:32 +0000
We could, but this one has been out of date for too long :(
Comment by: Zepp on Mon, 01 Feb 2010 15:13:54 +0000
Argh, can we not keep one package for releases and one for svn :(
Comment by: Revelation60 on Mon, 01 Feb 2010 06:56:56 +0000
If you want the most recent version which can use python 2.6, you can download my package: sabnzbd-0.5.
Comment by: Yonk on Thu, 14 Jan 2010 17:09:20 +0000
just updated the version/md5sum

pkgname=sabnzbd
pkgver=0.4.12
pkgrel=1
pkgdesc="A web-interface based binary newsgrabber with NZB file support"
arch=(i686 x86_64)
url="http://www.sabnzbd.org/"
license=('GPL')
depends=('wget' 'par2cmdline' 'python25' 'python-cheetah' 'python-feedparser' 'python-yenc' 'pyopenssl' 'unrar' 'unzip')
install=sabnzbd.install
backup=('/etc/conf.d/sabnzbd' '/opt/sabnzbd/sabnzbd.ini')
source=("http://downloads.sourceforge.net/sabnzbdplus/SABnzbd-$pkgver-src.tar.gz" sabnzbd sabnzbd.init sabnzbd.confd)
md5sums=('9290f743835a21994a96667f7d7234ab' '3d893740ed3add96c16911bb83254ce1' '946d9d680e73d965322ea7a1ab474ac8'
'21b2e39ac5dd9682416521392c07cf99')


build() {
mkdir -p $startdir/pkg/opt/sabnzbd
mv -v $startdir/src/SABnzbd-$pkgver/* $startdir/pkg/opt/sabnzbd/
find $startdir/pkg/opt/sabnzbd -type d -exec chmod 755 {} \;
find $startdir/pkg/opt/sabnzbd -type f -exec chmod 644 {} \;
chmod 755 $startdir/pkg/opt/sabnzbd/SABnzbd.py
chmod 755 $startdir/pkg/opt/sabnzbd/Sample-PostProc.sh
install -D -m755 $startdir/sabnzbd $startdir/pkg/usr/bin/sabnzbd
install -D -m755 $startdir/sabnzbd.init $startdir/pkg/etc/rc.d/sabnzbd
install -D -m644 $startdir/sabnzbd.confd $startdir/pkg/etc/conf.d/sabnzbd
}
Comment by: farhany on Thu, 10 Dec 2009 21:44:15 +0000
:P
Comment by: Zepp on Thu, 10 Dec 2009 21:38:55 +0000
It feels nice being the one doing the hassling :D
Comment by: farhany on Thu, 10 Dec 2009 20:40:32 +0000
It's going. Haven't had the time to update it for the new release, but will in the next 2 weeks.
Comment by: Zepp on Thu, 10 Dec 2009 02:08:11 +0000
How's it going?
Comment by: farhany on Tue, 24 Nov 2009 16:42:31 +0000
Adopted. Thanks Michael!
Comment by: teek on Sat, 24 Oct 2009 18:04:20 +0000
Same here..
Comment by: Malstrond on Thu, 22 Oct 2009 18:31:09 +0000
I saw you have the API key in .confd and use it to shutdown in .init. That solves the problem that the initscript of this package can't shut the daemon down.

But we're also having another issue here: If you want to change any setting in the web-UI, or even add something to the queue, this fails with "Session Key Required." The only workaround seems to be to set disable_api_key to 1 in sabnzbd.ini.
This happens even when starting it directly with just the python command, so there is some other problem with this package that is not related to the initscripts - or with SABnzbd itself. I also upgraded to 0.4.12 manually, the problem persists.
Comment by: jordz on Thu, 22 Oct 2009 16:34:31 +0000
@Malstrond

Look at the svn version:
http://aur.archlinux.org/packages.php?ID=21941
Comment by: ben-arch on Thu, 22 Oct 2009 07:58:55 +0000
Take your time ..... and easy sailing :-)
Comment by: Zepp on Wed, 21 Oct 2009 04:30:41 +0000
4 Midterms, 2 assignments, etc. It will have to wait. Sorry. If someone else wants to take a crack it that let me know.
Comment by: Malstrond on Wed, 21 Oct 2009 03:45:10 +0000
Same problem here.
-The API key functionality is completely broken
-The initscript can't shutdown sabnzbd

But I think the maintainer has buggered off anyway.
Comment by: Kasumi_Ninja on Sun, 04 Oct 2009 16:50:26 +0000
I do also get the "Session Key Required" error.
Comment by: cb474 on Sun, 20 Sep 2009 22:34:44 +0000
This may not be a solution to the session key error, but I don't have the problem with sabnzbd-svn, which I installed from AUR instead. Although, as jordz the maintainer of sabnzbd-svn notes, you need to copy the API key from the config > general settings in sabnzbd to the /etc/conf.d/sabnzbd file.
Comment by: cb474 on Sun, 20 Sep 2009 22:02:35 +0000
I'm also have the problem Revelation60 notes. I get "error: Session Key Required" when tring to change the host in the "General" settings tab. Is there some configuation setting I'm missing?
Comment by: macdelaney on Sat, 12 Sep 2009 19:40:02 +0000
"cp /usr/lib/python2.6/site-packages/Cheetah /usr/lib/python2.5/site-packages/Cheetah -R" fixed it for me. I dont exactly understand the difference to what I did before, I'll have to look into that.
Comment by: macdelaney on Sat, 12 Sep 2009 08:19:34 +0000
Since "# cp -Rv /usr/lib/python2.6/s /usr/lib/python-2.5/site-packages/" returned an error because /s doesn't exist, I did "# cp -Rv /usr/lib/python2.6/site-packages/ /usr/lib/python-2.5/site-packages/" which seemed to work, but I still get the same error. Any ideas?
Comment by: Zepp on Sat, 12 Sep 2009 07:55:28 +0000
Which command did you run?
Comment by: macdelaney on Sat, 12 Sep 2009 07:50:26 +0000
I can't get this to work due to the Cheetah problem mentiones before. For some reason the posted command didn't do it for me. Am I missing something? I assumed you ment /usr/lib/python2.6/site-packages/. Is there any other way to get this to work or am I missing something???
Comment by: Revelation60 on Wed, 09 Sep 2009 14:37:35 +0000
When I try to add a new server I get "error: Session Key Required". Does anyone have a fix?
Comment by: Zepp on Sun, 14 Jun 2009 04:43:35 +0000
Yes, this is mentioned farther down in the comments. Maybe I should add a message to the install. You have to do a similar procedure with pyopenssl to get openssl support working.
Comment by: Kasumi_Ninja on Sat, 13 Jun 2009 21:09:19 +0000
If you get the "Sorry, requires Python module Cheetah 2.0rc7 or higher." error when starting sabnzb, all you need to do is: "# cp -Rv /usr/lib/python2.6/s /usr/lib/python-2.5/site-packages/"
Comment by: jordz on Wed, 10 Jun 2009 21:30:40 +0000
Just FYI, I changed sabnzbd-svn to use the session key to support a proper shutdown (you can't disable it in trunk, the option is there but it won't work).
I'm guessing your package has the same problem or you will get it in the future.
Comment by: ben-arch on Fri, 05 Jun 2009 16:42:18 +0000
Thank you
Comment by: ben-arch on Tue, 21 Apr 2009 14:50:57 +0000
Thanks.
It DOES allow me now to 'check' SSL, but havn't seen the ...::INFO::... message you mentioned (on the other hand, I havn't upgraded to 0.4.9 - though this sholuld not matter). Will keep it as is.
Thank you for the support, and I hope the exams went well :-)
Comment by: Zepp on Tue, 21 Apr 2009 00:28:39 +0000
Alright, upgraded to 0.4.9.

As to your openssl problem. Try doing the following

(backup your 2.5 OpenSSL dir if it exists)
cp -R /usr/lib/python2.5/site-packages/OpenSSL /root

(copy 2.6 OpenSSL to 2.5 and remove *.pyc files)
cp -R /usr/lib/python2.6/site-packages/OpenSSL /usr/lib/python2.5/site-packages/
find /usr/lib/python2.5/site-packages/OpenSSL -type f -name '*.pyc' -exec rm {} \;

After doing this when I start sabnzbd I get

2009-04-20 20:24:47,652::INFO::pyOpenSSL... found (True)

In the logfile so hopefully all is good.
Comment by: ben-arch on Sat, 18 Apr 2009 07:08:05 +0000
Good luck with the exams !
Comment by: Zepp on Fri, 17 Apr 2009 00:39:05 +0000
Just popping in for a moment, unfortunately I am occupied with school at the monet (2 more exams left!). I should have time after Monday, I'll get to things then. I am guessing there is no SSL because pyopenssl probably isn't there for python25. I'll confirm on my machine after I finish exams. Your patience is appreciated :).
Comment by: ben-arch on Fri, 10 Apr 2009 10:09:25 +0000
And the last problem -
SSL encription is disabled. What should I do to make it emabled ?
Comment by: Zepp on Tue, 31 Mar 2009 13:32:08 +0000
I should have mentioned changing /etc/conf.d/sabnzbd only works if you are using the initscript, in fact it's the only way to change what port it uses when the init script launches it. Otherwise yes, change the ini file in ~/.sabnzbd
Comment by: ben-arch on Tue, 31 Mar 2009 13:22:14 +0000
Up. Will check another day about running :-)

Host had to be changed in - /home/user/.sabnzbd which IS the ini file. (change in /etc/conf.d/sabnzbd had no effect, though the file exists).

The problem was NOT the port but the default host - "localhost". Once I've changed it to my host name, all is well).

Thanks
Ben
Comment by: Zepp on Mon, 30 Mar 2009 15:50:34 +0000
You can change the port in the /etc/conf.d/sabnzbd file.
Comment by: ben-arch on Mon, 30 Mar 2009 15:36:08 +0000
Ok ... Recopied Cheeta and things look rosier (...just).

When I try to run sabnzbd, I get a temp file in the browser saying -
----------------Welcome to SABnzbd.py 0.4.8



SABnzbd needs a free tcp/ip port for its internal web server.
Port 8080 on localhost was tried , but it is not available.
Some other software uses the port or SABnzbd is already running.

Please restart SABnzbd with a different port number.

Open a Terminal window and type the line (example):
/opt/sabnzbd/SABnzbd.py --server localhost:8081

If you get this error message again, please try a different number.


Program did not start!
---------------------

Acording to netstat - the port is NOT in use.

Another strange thing -
Instead of creating an /home/user/.sabnzbd directory with the sabnzbd.ini file inside, I'm getting /home/user/.sabnzbd - a file which is ACTUALLY the ini file ....
Comment by: Zepp on Sat, 28 Mar 2009 19:30:05 +0000
Did you see this comment

"It seems like your /usr/lib/python2.5/site-packages/Cheetah directory isn't setup correctly. My instructions were slightly off, this probably is causing issues. You need all the files in the Cheetah directory, but you want to recompile any of the python code (get rid of the *.pyc files). This should do it I think."

?
Comment by: ben-arch on Sat, 28 Mar 2009 11:59:01 +0000
Trying to install.
Had same problems as 'h4xx3d'. Coppied the .../Chettah and Cheetah/Macro dirs, compiled (2.5) the modules in them, but still :

[el@arch64 ~]$ sabnzbd
Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 44, in <module>
import sabnzbd
File "/opt/sabnzbd/sabnzbd/__init__.py", line 52, in <module>
from sabnzbd.assembler import Assembler
File "/opt/sabnzbd/sabnzbd/assembler.py", line 34, in <module>
from sabnzbd.interface import CheckFreeSpace
File "/opt/sabnzbd/sabnzbd/interface.py", line 46, in <module>
from Cheetah.Template import Template
File "/usr/lib/python2.5/site-packages/Cheetah/Template.py", line 59, in <module>
from Cheetah.Compiler import Compiler, DEFAULT_COMPILER_SETTINGS
File "/usr/lib/python2.5/site-packages/Cheetah/Compiler.py", line 35, in <module>
from Cheetah.Utils.Indenter import indentize # an undocumented preprocessor
ImportError: No module named Utils.Indenter

Am using Arch64.

Any suggestion will be appreciated.
Ben
Comment by: Zepp on Sun, 15 Mar 2009 01:37:05 +0000
You're welcome :)
Comment by: h4xx3d on Sun, 15 Mar 2009 01:34:24 +0000
Thank you very much :-)

You are correct, copying the entire contents of the directory corrected the issue.
Comment by: Zepp on Sun, 15 Mar 2009 01:08:36 +0000
It seems like your /usr/lib/python2.5/site-packages/Cheetah directory isn't setup correctly. My instructions were slightly off, this probably is causing issues. You need all the files in the Cheetah directory, but you want to recompile any of the python code (get rid of the *.pyc files). This should do it I think.
Comment by: h4xx3d on Sun, 15 Mar 2009 00:56:20 +0000
The directory doesn't exist. I tried copying it over from Python-2.6 but that gave a slightly different error:

:: Starting SABnzbd [BUSY] Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 44, in <module>
import sabnzbd
File "/opt/sabnzbd/sabnzbd/__init__.py", line 52, in <module>
from sabnzbd.assembler import Assembler
File "/opt/sabnzbd/sabnzbd/assembler.py", line 34, in <module>
from sabnzbd.interface import CheckFreeSpace
File "/opt/sabnzbd/sabnzbd/interface.py", line 46, in <module>
from Cheetah.Template import Template
File "/usr/lib/python2.5/site-packages/Cheetah/Template.py", line 59, in <module>
from Cheetah.Compiler import Compiler, DEFAULT_COMPILER_SETTINGS
File "/usr/lib/python2.5/site-packages/Cheetah/Compiler.py", line 35, in <module>
from Cheetah.Utils.Indenter import indentize # an undocumented preprocessor
ImportError: No module named Utils.Indenter
Comment by: Zepp on Sat, 14 Mar 2009 23:33:54 +0000
What's in your /usr/lib/python2.5/site-packages/Cheetah/Macros directory?
Comment by: h4xx3d on Sat, 14 Mar 2009 23:17:48 +0000
I was getting the came error as valk and did what you said in your Feb 27th post, now i'm getting this:

bash-3.2# /etc/rc.d/sabnzbd start
:: Starting SABnzbd [BUSY] Traceback (most recent call last):
File "/opt/sabnzbd/SABnzbd.py", line 44, in <module>
import sabnzbd
File "/opt/sabnzbd/sabnzbd/__init__.py", line 52, in <module>
from sabnzbd.assembler import Assembler
File "/opt/sabnzbd/sabnzbd/assembler.py", line 34, in <module>
from sabnzbd.interface import CheckFreeSpace
File "/opt/sabnzbd/sabnzbd/interface.py", line 46, in <module>
from Cheetah.Template import Template
File "/usr/lib/python2.5/site-packages/Cheetah/Template.py", line 58, in <module>
from Cheetah.Parser import ParseError, SourceReader
File "/usr/lib/python2.5/site-packages/Cheetah/Parser.py", line 36, in <module>
from Cheetah.Macros.I18n import I18n
ImportError: No module named Macros.I18n
Comment by: Zepp on Fri, 27 Feb 2009 18:07:06 +0000
Upgraded to 0.4.7
Comment by: Zepp on Wed, 18 Feb 2009 20:54:32 +0000
Try this:

"...delete the *.pyo files in your /opt/sabnzbd folder as well as copy the *.py python-cheetah files from /usr/lib/python-2.6/site-packages/Cheetah to /usr/lib/python-2.5/site-packages/Cheetah."
Comment by: valk on Wed, 18 Feb 2009 20:01:09 +0000
I managed to get sabnzbd installed. But when I try to start it I get the message "sorry, requires Python module cheetah 2.0rc7 or higher." But as far as i know a cheetah module is installed?
Comment by: valk on Wed, 18 Feb 2009 19:11:32 +0000
It seems to be something related to python25. It checks the python25 dependencies and every dependency is found/installed execpt for tk but it says (package found) after tk in blue (I´m using yaourt). Therefore i cannot install python25 which i need for sabnzbd apperently.

I hope this is enough info?

Comment by: Zepp on Wed, 18 Feb 2009 18:22:29 +0000
Could you post the complete error you are getting? I'll try and take a look but I am going to be pretty busy till at least Monday with exams and other school related crap.
Comment by: valk on Wed, 18 Feb 2009 18:04:39 +0000
Hi,

just a short question. I'm trying to install sabnzbd, but somehow there is a dependency failure. The system misses a package called tk and I cannot find it. Does someone know how to fix this?

Thanks in advance!
Comment by: Zepp on Sun, 08 Feb 2009 03:24:44 +0000
Alright, new update.

CHANGES:
- I changed the init script, it now uses the host/port/username/conf defined in /etc/conf.d/sabnzbd when starting. These settings will override your /opt/sabnzbd/sabnzbd.ini file if you use the init script.
- Changed the dependency to python-2.5, the current version of sabnzbd does not support python-2.6, it causes various problems.
- It now uses the http://$SABNZBD_HOST:$SABNZBD_PORT/sabnzbd/shutdown url to shutdown sabnzbd. I decided to use wget instead of the curl suggestion since wget is included in the default install and curl is not.
- You will notice a new message after installing about adding your machine's hostname to /etc/hosts. If sabnzbd is unable to resolve your machines hostname it will default to listening on all addresses, regardless of what $SABNZBD_HOST or your sabnzbd.ini specifies.

You may need to delete the *.pyo files in your /opt/sabnzbd folder as well as copy the *.py python-cheetah files from /usr/lib/python-2.6/site-packages/Cheetah to /usr/lib/python-2.5/site-packages/Cheetah. Let me know if there are any other problems.

Enjoy!
Comment by: jordz on Mon, 02 Feb 2009 13:34:01 +0000
The proper way of stopping sabnzbd is using
curl -s http://<ip>:<port>/sabnzbd/shutdown,
instead of just killing it.

I changed my -svn package to do it that way, so you can have a look :)
Comment by: jordz on Sun, 21 Dec 2008 15:05:26 +0000
@quitlahok

From the PKGBUILD of python (2.6.1):

provides=('python-elementtree' 'python-ctypes')
replaces=('python-elementtree' 'python-ctypes')

So it's not necessary :)
Comment by: Zepp on Tue, 16 Dec 2008 23:26:26 +0000
Update 0.4.6
Comment by: jordz on Mon, 01 Dec 2008 20:34:33 +0000
Thanks Zepp for your package!
I created sabnzbd-svn for anyone who's interested:
http://aur.archlinux.org/packages.php?ID=21941
Comment by: Zepp on Fri, 21 Nov 2008 21:32:29 +0000
Ahh it is probably just referring to the "c" variant. Alright, I'll get this added tonight or tomorrow.
Comment by: Zepp on Fri, 21 Nov 2008 15:30:59 +0000
According to the INSTALL.txt included with the latest source tar ball it is only needed if you are running python 2.4.4

"Unix/Linux/OSX
Python-2.4.4 http://www.python.org
cElementTree-1.0.5 http://effbot.org/downloads/
OR
Python-2.5.2 http://www.python.org
"

Arch's current version is 2.6 I believe? I can add it anyway but I am not 100% certain it is still required. I'll look into it more this weekend.
Comment by: quitlahok on Thu, 20 Nov 2008 22:01:03 +0000
python-elementtree needs to be added to the dependencies
Comment by: Zepp on Sat, 08 Nov 2008 20:52:43 +0000
Alright updated to 0.4.5

CHANGES:
- SABnzbd will now be installed into /opt instead of /usr/share. This makes more sense to me. Please copy your sabnzbd.ini to /opt/sabnzbd.ini if you intend to use the init script.
- A new user "sabnzbd" will now be created after installation. This is the user sabnzbd will be run as if you use the init script.
- If you start sabnzbd using the script in /usr/bin/sabnzbd it will run as the current user and the sabnzbd conf dir will be $HOME/.sabznzbd/

There are some deprecation warnings from cherrypy, pretty sure it is related to the new python-2.6, they don't appear to cause any problems. I could have silenced them I suppose but I chose not to; they can safely be ignored.
Comment by: Zepp on Sat, 08 Nov 2008 06:08:42 +0000
Damn I didn't get a notification of a new release on the RSS feed :(. I'll update the PKGBUILD soon.
Comment by: kevin1024 on Sat, 08 Nov 2008 04:01:22 +0000
To get it to build the new version, just edit the PKGBUILD and change these 2 lines:

pkgver=0.4.5
md5sums=('72552e61c42d699f3c692756a7fab8dd' 'd9ab123d1b522aa5c12f882f5fd1a8db' '8aecd401a062f0bc45d538bf58cf6d38')
Comment by: Dala on Mon, 03 Nov 2008 07:52:30 +0000
I'm sorry, I flagged it as out of date but I misread the website. This is still the correct version and it rocks as a package!
Comment by: Zepp on Sun, 21 Sep 2008 04:52:55 +0000
Updated to 0.4.4
Comment by: Zepp on Thu, 04 Sep 2008 23:22:58 +0000
Updated to 0.4.3. No major changes in this version, it is claimed to be compatible with 0.4.2 so I just updated the checksums and src URL. Seems to work fine.
Comment by: Zepp on Sun, 20 Jul 2008 18:53:28 +0000
Sorry for the delay, finally got around to updating the PKGBUILD to the latest version (0.4.2). I also included the init script in the new package.
Comment by: Zepp on Tue, 15 Jul 2008 15:56:20 +0000
Thanks for letting me know :). Ya I will try and take it over for now, I'll update the package later today when I have time.
Comment by: kvasthval on Tue, 15 Jul 2008 15:35:57 +0000
Sorry, not using Arch anymore. I've disowned the package.
Can someone else please take care of maintaining... Zepp? :)

And remember, NO warez should be downloaded with this application, it is stictly made for open-source games and dvd's... ;o)
Comment by: Zepp on Fri, 11 Jul 2008 22:11:15 +0000
Here's an init script I hacked together for SABnzbd.

http://bbs.archlinux.org/viewtopic.php?pid=392340#p392340
Comment by: Zepp on Sun, 06 Jul 2008 19:23:18 +0000
There is a new version out (0.4.0). I updated the current PKGBUILD to work with the new version, not sure how I am supposed to submit it so I will just put it here for now.

pkgname=sabnzbd
pkgver=0.4.0
pkgrel=1
pkgdesc="A web-interface based binary newsgrabber with NZB file support"
arch=(i686 x86_64)
url="http://www.sabnzbd.org/"
license=('GPL')
depends=('par2cmdline' 'python' 'python-cheetah' 'python-feedparser' 'python-yenc' 'pyopenssl' 'unrar' 'unzip')
source=("http://downloads.sourceforge.net/sabnzbdplus/SABnzbd-$pkgver-src.tar.gz" sabnzbd)
md5sums=('d4ad09898b82af6a1d6e894c51734cd3' 'd9ab123d1b522aa5c12f882f5fd1a8db')

build() {
mkdir -p $startdir/pkg/usr/share/sabnzbd
mv -v $startdir/src/SABnzbd-$pkgver/* $startdir/pkg/usr/share/sabnzbd/
chmod -Rv 755 $startdir/pkg/usr/share/sabnzbd
install -D -m755 $startdir/sabnzbd $startdir/pkg/usr/bin/sabznbd
}

CHANGES:
- pyopenssl added as dependency
- updated the version and release number reset I also changed the source url (it ends in -src.tar.gz now)
Comment by: kvasthval on Fri, 21 Mar 2008 15:47:22 +0000
Updated, fixed dependencies and script (thanks, Sabooky).
Comment by: sabooky on Thu, 13 Mar 2008 03:06:23 +0000
change
python SABnzbd.py
to
python SABnzbd.py "$@"
To forward command line options.

also python-elementtree isn't needed if you have
python >= 2.5
Comment by: kvasthval on Sun, 09 Mar 2008 18:52:20 +0000
Updated for latest SABnzbd+.
Comment by: jordz on Wed, 02 Jan 2008 21:16:18 +0000
Also works on x86_64 please add it.
Comment by: elai on Sun, 30 Dec 2007 22:55:47 +0000
I get this error when trying to startup the package:

Traceback (most recent call last):
File "/usr/bin/SABnzbd.py", line 313, in <module>
main()
File "/usr/bin/SABnzbd.py", line 208, in main
init_ok = sabnzbd.initialize(pause)
File "/usr/lib/python2.5/site-packages/sabnzbd/decorators.py", line 26, in newFunction
return f(*args, **kw)
File "/usr/lib/python2.5/site-packages/sabnzbd/__init__.py", line 325, in initialize
DOWNLOADER = Downloader(servers)
File "/usr/lib/python2.5/site-packages/sabnzbd/downloader.py", line 119, in __init__
host = servers[server]['host']
TypeError: string indices must be integers
Comment by: elai on Sun, 30 Dec 2007 22:43:32 +0000
You should put an alias for the SABnzb program in lowercase so people wont get confused when trying to find the command line command.
Comment by: kvasthval on Fri, 09 Nov 2007 16:21:18 +0000
Fixed cherrypy dependency.

v1.6.0