On Sun, Jul 09, 2006 at 08:27:58PM +0200, Toni Mueller wrote: > Attached is the current version of the port, with *not* everything > tested, but at least the port now creates "useful looking" files, > though with (partially) imho very broken ownerships and permissions. I > tried to fix as many instances of executables (or scripts) being owned > by root:wheel and having mode 0550, but required to be accessible by > user _inn.
This should be done in the PLIST. See the attachment for a proposal I wrote some days before (note: I'm using group news instead of _inn, and I also installing rnews suid _inn with group daemon; not sure wether this is really a good idea). Some other notes: - I don't think there's a reason for flavors no_ssl and no_perl, since those are in the base system and allways available. - The build differs depending on wether wget and/or uucp are installed or not, so you may want to add those as dependencies. The latter (uucp) may be shielded by yet another flavor. Ciao, Kili
@comment $OpenBSD$ @newuser _inn:565:news:daemon:InterNetNews:/nonexistent:/sbin/nologin bin/actmerge bin/actsync bin/actsyncd bin/archive bin/auth/ bin/auth/passwd/ bin/auth/passwd/auth_smb bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/auth/resolv/ bin/auth/resolv/domain bin/auth/resolv/ident bin/batcher bin/buffchan bin/cnfsheadconf bin/cnfsstat bin/controlbatch bin/controlchan bin/convdate bin/ctlinnd bin/cvtbatch bin/docheckgroups bin/expire bin/expireover bin/expirerm bin/fastrm bin/filechan bin/getlist bin/gpgverify bin/grephistory bin/imapfeed bin/inews bin/inncheck bin/innconfval bin/innd bin/inndf @group news @mode 4550 bin/inndstart @group @mode bin/innfeed bin/innmail bin/innreport bin/innstat bin/innupgrade bin/innwatch bin/innxbatch bin/innxmit bin/mailpost bin/makedbz bin/makehistory bin/mod-active bin/news.daily bin/news2mail bin/ninpaths bin/nnrpd bin/nntpget bin/nntpsend bin/ovdb_init bin/ovdb_monitor bin/ovdb_server bin/ovdb_stat bin/overchan bin/perl-nocem bin/pgpverify bin/procbatch bin/prunehistory bin/pullnews @group news bin/rc.news @group @owner _inn @group daemon @mode 4550 bin/rnews @owner @group @mode bin/rnews.libexec/ bin/rnews.libexec/c7unbatch bin/rnews.libexec/decode bin/rnews.libexec/encode bin/rnews.libexec/gunbatch bin/scanlogs bin/scanspool bin/send-ihave bin/send-nntp bin/send-uucp bin/sendinpaths bin/sendxbatches bin/shlock bin/shrinkfile bin/signcontrol bin/simpleftp bin/sm @group news @mode 4550 bin/startinnfeed @group @mode bin/tally.control bin/tdx-util bin/writelog include/inn/ include/inn/conffile.h include/inn/config.h include/inn/dbz.h include/inn/inn/ include/inn/inn/buffer.h include/inn/inn/confparse.h include/inn/inn/defines.h include/inn/inn/hashtab.h include/inn/inn/history.h include/inn/inn/innconf.h include/inn/inn/list.h include/inn/inn/md5.h include/inn/inn/messages.h include/inn/inn/mmap.h include/inn/inn/qio.h include/inn/inn/sequence.h include/inn/inn/system.h include/inn/inn/timer.h include/inn/inn/tst.h include/inn/inn/vector.h include/inn/inn/version.h include/inn/inn/wire.h include/inn/inndcomm.h include/inn/libinn.h include/inn/nntp.h include/inn/ov.h include/inn/paths.h include/inn/storage.h lib/innreport_inn.pm lib/innshellvars lib/innshellvars.pl lib/innshellvars.tcl lib/libinn.a lib/libinnhist.a lib/libstorage.a @man man/man1/convdate.1 @man man/man1/fastrm.1 @man man/man1/getlist.1 @man man/man1/grephistory.1 @man man/man1/inews.1 @man man/man1/innconfval.1 @man man/man1/innfeed.1 @man man/man1/innmail.1 @man man/man1/nntpget.1 @man man/man1/pgpverify.1 @man man/man1/pullnews.1 @man man/man1/rnews.1 @man man/man1/shlock.1 @man man/man1/shrinkfile.1 @man man/man1/simpleftp.1 @man man/man1/sm.1 @man man/man1/startinnfeed.1 @man man/man3/clientlib.3 @man man/man3/dbz.3 @man man/man3/inndcomm.3 @man man/man3/libauth.3 @man man/man3/libinn.3 @man man/man3/libinnhist.3 @man man/man3/libstorage.3 @man man/man3/list.3 @man man/man3/parsedate.3 @man man/man3/qio.3 @man man/man3/tst.3 @man man/man3/uwildmat.3 @man man/man5/active.5 @man man/man5/active.times.5 @man man/man5/buffindexed.conf.5 @man man/man5/control.ctl.5 @man man/man5/cycbuff.conf.5 @man man/man5/distrib.pats.5 @man man/man5/expire.ctl.5 @man man/man5/history.5 @man man/man5/incoming.conf.5 @man man/man5/inn.conf.5 @man man/man5/innfeed.conf.5 @man man/man5/innwatch.ctl.5 @man man/man5/moderators.5 @man man/man5/motd.news.5 @man man/man5/newsfeeds.5 @man man/man5/newslog.5 @man man/man5/nnrpd.track.5 @man man/man5/nntpsend.ctl.5 @man man/man5/ovdb.5 @man man/man5/overview.fmt.5 @man man/man5/passwd.nntp.5 @man man/man5/radius.conf.5 @man man/man5/readers.conf.5 @man man/man5/sasl.conf.5 @man man/man5/storage.conf.5 @man man/man5/subscriptions.5 @man man/man8/actsync.8 @man man/man8/actsyncd.8 @man man/man8/archive.8 @man man/man8/auth_smb.8 @man man/man8/batcher.8 @man man/man8/buffchan.8 @man man/man8/ckpasswd.8 @man man/man8/cnfsheadconf.8 @man man/man8/cnfsstat.8 @man man/man8/controlchan.8 @man man/man8/ctlinnd.8 @man man/man8/cvtbatch.8 @man man/man8/domain.8 @man man/man8/expire.8 @man man/man8/expireover.8 @man man/man8/expirerm.8 @man man/man8/filechan.8 @man man/man8/ident.8 @man man/man8/inncheck.8 @man man/man8/innd.8 @man man/man8/inndf.8 @man man/man8/inndstart.8 @man man/man8/innreport.8 @man man/man8/innstat.8 @man man/man8/innupgrade.8 @man man/man8/innwatch.8 @man man/man8/innxbatch.8 @man man/man8/innxmit.8 @man man/man8/mailpost.8 @man man/man8/makedbz.8 @man man/man8/makehistory.8 @man man/man8/mod-active.8 @man man/man8/news.daily.8 @man man/man8/news2mail.8 @man man/man8/ninpaths.8 @man man/man8/nnrpd.8 @man man/man8/nntpsend.8 @man man/man8/ovdb_init.8 @man man/man8/ovdb_monitor.8 @man man/man8/ovdb_server.8 @man man/man8/ovdb_stat.8 @man man/man8/overchan.8 @man man/man8/perl-nocem.8 @man man/man8/prunehistory.8 @man man/man8/radius.8 @man man/man8/rc.news.8 @man man/man8/scanlogs.8 @man man/man8/send-nntp.8 @man man/man8/send-uucp.8 @man man/man8/sendinpaths.8 @man man/man8/tally.control.8 @man man/man8/tdx-util.8 @man man/man8/writelog.8 news/ news/control/ news/control/checkgroups.pl news/control/ihave.pl news/control/newgroup.pl news/control/rmgroup.pl news/control/sendme.pl news/control/sendsys.pl news/control/senduuname.pl news/control/version.pl news/filter/ news/filter/INN.py news/filter/filter.tcl news/filter/filter_innd.pl news/filter/filter_innd.py news/filter/filter_nnrpd.pl news/filter/nnrpd_access.pl news/filter/nnrpd_auth.pl news/filter/nnrpd_auth.py news/filter/startup.tcl news/filter/startup_innd.pl share/doc/inn/ share/doc/inn/CONTRIBUTORS share/doc/inn/GPL share/doc/inn/HACKING share/doc/inn/INSTALL share/doc/inn/LICENSE share/doc/inn/NEWS share/doc/inn/README share/doc/inn/TODO share/doc/inn/compliance-nntp share/doc/inn/config-design share/doc/inn/config-semantics share/doc/inn/config-syntax share/doc/inn/external-auth share/doc/inn/history share/doc/inn/hook-perl share/doc/inn/hook-python share/doc/inn/hook-tcl share/doc/inn/sample-control share/examples/inn/ @sample ${SYSCONFDIR}/news/ share/examples/inn/actsync.cfg @sample ${SYSCONFDIR}/news/actsync.cfg share/examples/inn/actsync.ign @sample ${SYSCONFDIR}/news/actsync.ign share/examples/inn/buffindexed.conf @sample ${SYSCONFDIR}/news/buffindexed.conf share/examples/inn/control.ctl @sample ${SYSCONFDIR}/news/control.ctl share/examples/inn/cycbuff.conf @sample ${SYSCONFDIR}/news/cycbuff.conf share/examples/inn/distrib.pats @sample ${SYSCONFDIR}/news/distrib.pats share/examples/inn/expire.ctl @sample ${SYSCONFDIR}/news/expire.ctl share/examples/inn/incoming.conf @sample ${SYSCONFDIR}/news/incoming.conf share/examples/inn/inn.conf @sample ${SYSCONFDIR}/news/inn.conf share/examples/inn/innfeed.conf @sample ${SYSCONFDIR}/news/innfeed.conf share/examples/inn/innreport.conf @sample ${SYSCONFDIR}/news/innreport.conf share/examples/inn/innwatch.ctl @sample ${SYSCONFDIR}/news/innwatch.ctl share/examples/inn/moderators @sample ${SYSCONFDIR}/news/moderators share/examples/inn/motd.news @sample ${SYSCONFDIR}/news/motd.news share/examples/inn/news/ share/examples/inn/news/db/ @sample /var/news/db/ share/examples/inn/news/db/active @sample /var/news/db/active share/examples/inn/news/db/active.times @sample /var/news/db/active.times share/examples/inn/news/db/history share/examples/inn/news/db/newsgroups @sample /var/news/db/newsgroups @comment share/examples/inn/news/tmp/ share/examples/inn/news2mail.cf @sample ${SYSCONFDIR}/news/news2mail.cf share/examples/inn/newsfeeds @sample ${SYSCONFDIR}/news/newsfeeds share/examples/inn/nnrpd.track @sample ${SYSCONFDIR}/news/nnrpd.track share/examples/inn/nntpsend.ctl @sample ${SYSCONFDIR}/news/nntpsend.ctl share/examples/inn/ovdb.conf @sample ${SYSCONFDIR}/news/ovdb.conf share/examples/inn/overview.fmt @sample ${SYSCONFDIR}/news/overview.fmt share/examples/inn/passwd.nntp @sample ${SYSCONFDIR}/news/passwd.nntp share/examples/inn/radius.conf @sample ${SYSCONFDIR}/news/radius.conf share/examples/inn/readers.conf @sample ${SYSCONFDIR}/news/readers.conf share/examples/inn/sasl.conf @sample ${SYSCONFDIR}/news/sasl.conf share/examples/inn/storage.conf @sample ${SYSCONFDIR}/news/storage.conf share/examples/inn/subscriptions @sample ${SYSCONFDIR}/news/subscriptions @owner _inn @group _inn @sample /var/spool/news/ @sample /var/spool/news/archive/ @sample /var/spool/news/articles/ @sample /var/spool/news/incoming/ @sample /var/spool/news/incoming/bad/ @sample /var/spool/news/innfeed/ @sample /var/spool/news/outgoing/ @sample /var/spool/news/overview/