nzbget 0.4.0 has been released. A simple filename bump won't suffice this time as they've added a dependency on libpar2 (see bug 124625). Also, the 0.2.3 patches should no longer be needed. Attached is a modified ebuild that works for me.
Created attachment 149463 [details] ebuild for version 0.4.0
Note that in my ebuild I put libpar2 at net-nntp/libpar2, which might not be the right place in portage...
0.4.0 works fine on amd64, but it does not compile with gcc-4.3. It would also be nice to provide init.d & conf.d files for starting up the daemon.
Yeah, after using 0.4.0 for a couple of weeks I see that it has a different way of operating from previous releases, especially in that they see it as primarily a daemon. init.d and conf.d would therefore be the Right Way to handle this. Maybe I'll write the scripts later on. They should be trivial.
Created attachment 151741 [details] revised ebuild Updated the ebuild to be daemon-ready. I based this off of hellanzb, basically copying its config.d and init.d files. This could use some post-merge instruction to create nzbget.conf from the example file and to set a user that the daemon is to run as. Note that the IPv6 patch will not work with this version. Maybe a warning about that needs to be included as well.
Created attachment 151742 [details] nzbget.conf conf.d file
Created attachment 151744 [details] nzbget.init init.d file
I commited 0.4.0 to the tree. Without the daemon support for now, because there's a security issue with the shipped uulib in older versions and I want to get this out as soon as possible.
OK, there's now net-nntp/nzbget-0.4.0-r1 in the tree, providing a system-wide nzbget daemon. Users that should be able to use the daemon should be added to the nzbget group and they can access the daemon by using nzbget -c /etc/nzbgetd.conf.