Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6 Server: Install HellaNZB without using MacPorts UNIX
If you try to install hellanzb via MacPorts, the method is currently broken on 10.6.. That's because py25-twisted fails to build on my 64bit system ( Ticket #20820).

The solution is to build using Python 2.5 instead of the default Python 2.6 in Snow Leopard. This avoids conflicts with Apple's own wiki and blog software, and problems with deprecated sys calls with HellaNZB.
  1. Build Twisted-8.2.0 [download: sudo /usr/bin/python2.5 setup.py install
  2. Build hellanzb-0.13 [download]: sudo /usr/bin/python2.5 setup.py install. This will install to /usr/local/bin/hellanzb.py.
  3. Place unrar and rar version 3.90 (rarosx-3.9.0.tar) into /usr/local/bin/.
  4. Install par2cmdline-0.4-tbb-20090203-mac [download]. Store the files here: /usr/lib/libtbb.dylib and /usr/local/bin/par2
  5. For SSL functionality, install pyOpenSSL-0.9 [download]: sudo /usr/bin/python2.5 setup.py
  6. Create a hellanzb.sh daemon startup script, saved as /usr/local/bin/hellanzbd.sh:
    #!/bin/bash 
    export PATH=/usr/local/bin/;
    /usr/local/bin/hellanzb.py -D
  7. Configure hellanzb using /opt/local/etc/hellanzb.conf
  8. Create a launchctl item in /Library/LaunchDaemons/com.hellanzb.daemon.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>Label</key>
    	<string>com.hellanzb.daemon</string>
    	<key>ProgramArguments</key>
    	<array>
    	<string>/usr/local/bin/hellanzbd.sh</string>
    	</array>
    	<key>RunAtLoad</key>
    	<true/>
    	<key>StandardErrorPath</key>
    	<string>/Library/Logs/HellaNZB/error.log</string>
    	<key>StandardOutPath</key>
    	<string>/Library/Logs/HellaNZB/hella.log</string>
    	<key>UserName</key>
    	<string>*myusername*</string>
    	<key>GroupName</key>
    	<string>admin</string>
    </dict>
    </plist>
  9. Start the daemon: sudo launchctl load /Library/LaunchDaemons/com.hellanzb.daemon.plist
[robg adds: I haven't tested this one.]
    •    
  • Currently 2.55 / 5
  You rated: 5 / 5 (11 votes cast)
 
[7,405 views]  

10.6 Server: Install HellaNZB without using MacPorts | 1 comments | Create New Account
Click here to return to the '10.6 Server: Install HellaNZB without using MacPorts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6 Server: Install HellaNZB without using MacPorts
Authored by: fordred on Sep 09, '09 08:51:06AM
Or just use SABnzbd

[ Reply to This | # ]