I built inn and it failed to start. I queried bugzilla and someone pointed several errors in the ebuild, so i took those changes and incorporated them into a new 2.3.4 ebuild The author of those suggestions modified the rc script innd to load and stop the daemon in a different way, but it doesn't work, so i added my own. The suggested method to start and stop inn is to launch rc.news, which comes with inn itself. It then launches inn, sleeps 60 seconds and launches innwatch. The problem is that i don' t know how to stop inn once launched, so i used an ugly hack, and launched start-stop-daemon --stop --user news twice. If anyone wants to fix this, you are welcome. The current ebuild in portage doesn t work, does not even start unless you remove perl from the ebuild, and even so it does not start due to faulty permissions and configuration in the ebuild. This new ebuild fixes all that but one error: innd: SERVER cant dbzinit /var/spool/news/history No such file or directory However the file is there, and owned by news:news Move this attached file into /usr/portage/net-news/inn and run tar -zxvf inn-2.3.4.tar.gz to install the files into their proper places
Created attachment 8914 [details] Inn files
Ok, finally i learned how to do it (manually) I just installed it with ./configure make make install, so it installed everything in /usr/local/news (let's call this "newsdir" to avoid typing) Afer that, i needed to log in as "news", for this i had to modify /etc/passwd and change the starting dir to "newsdir" and set /bin/false to /bin/bash Then, i cd into newsdir/db and typed: touch history ../bin/makedbz -i It will create 3 history.n.something files. You have to rename them into history.something, for example history.n.dir needs to be renamed to history.dir This fixes the history file issue After that, you need to create newsdir/log/news.crit news.err news.notice with touch Finally, run newsdir/bin/rc.news to start and rc.news stop to stop. By the way, --with-perl works in this new version.
I'm really having trouble trying to do those commands in the ebuild. I hope someone can fix it or help me out (i read the developers documentation in gentoo.org, but it doesn't give examples of how to carry these commands) Also, the .h files are being installed in /var/tmp/portage... I'm screwing up on variables too
inn is up to 2.3.5 now; 2.3.4 is not located at the URL in the ebuild, only 2.3.5 is found in that directory. after untarring the attached ebuild: mv inn-2.3.4.ebuild inn-2.3.5.ebuild and then: ebuild inn-2.3.5.ebuild digest before emerging. Otherwise the attached ebuild works fine.
should be fixed with 2.3.5 if not, please report a new bug