diff options
-rw-r--r-- | news/inn/Makefile | 19 | ||||
-rw-r--r-- | news/inn/PLIST | 21 | ||||
-rw-r--r-- | news/inn/distinfo | 14 | ||||
-rw-r--r-- | news/inn/patches/patch-ah | 10 | ||||
-rw-r--r-- | news/inn/patches/patch-ak | 6 | ||||
-rw-r--r-- | news/inn/patches/patch-al | 15 | ||||
-rw-r--r-- | news/inn/patches/patch-am | 26 | ||||
-rw-r--r-- | news/inn/patches/patch-an | 15 |
8 files changed, 58 insertions, 68 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile index 542efcf8f14..37f086661ea 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.108 2011/09/25 14:00:09 spz Exp $ +# $NetBSD: Makefile,v 1.109 2012/08/23 19:00:41 spz Exp $ -DISTNAME= inn-2.5.2 -PKGREVISION= 4 +DISTNAME= inn-2.5.3 CATEGORIES= news MASTER_SITES= ftp://ftp.isc.org/isc/inn/ \ ftp://ftp.fu-berlin.de/unix/news/inn/ @@ -27,6 +26,8 @@ MESSAGE_SUBST+= INN_PATHBIN=${INN_PATHBIN:Q} PLIST_SUBST+= INN_PATHBIN=${INN_PATHBIN:Q} +PKG_SYSCONFSUBDIR= inn + GNU_CONFIGURE= YES GNU_CONFIGURE_PREFIX= ${INN_PREFIX} GNU_CONFIGURE_MANDIR= ${PREFIX}/${PKGMANDIR} @@ -34,7 +35,7 @@ CONFIGURE_ARGS+= --enable-setgid-inews \ --enable-largefiles \ --bindir=${PREFIX}/${INN_PATHBIN} \ --sbindir=${PREFIX}/${INN_PATHBIN} \ - --sysconfdir=${PREFIX}/etc/inn \ + --sysconfdir=${PKG_SYSCONFDIR} \ --with-openssl=${SSLBASE:Q} \ --with-doc-dir=${PREFIX}/share/doc/inn \ --with-control-dir=${PREFIX}/${INN_PATHBIN}/control \ @@ -75,13 +76,11 @@ PKG_GECOS.${INN_USER}= Internet\ News PKG_HOME.${INN_USER}= ${INN_DATA_DIR} PKG_SHELL.${INN_USER}= ${SH} -PKG_SYSCONFDIR.inn= ${PREFIX}/etc/inn EXAMPLEDIR= ${PREFIX}/share/examples/inn INN_DATADIRS= log log/OLD run tmp db spool http INN_SPOOLDIRS= archive articles overview incoming incoming/bad \ outgoing uniover innfeed -INSTALLATION_DIRS+= etc/nntp INSTALLATION_DIRS+= sbin INSTALLATION_DIRS+= bin INSTALLATION_DIRS+= ${EXAMPLEDIR} @@ -91,8 +90,7 @@ MAKE_DIRS+= ${PREFIX}/bin MAKE_DIRS+= ${PREFIX}/sbin MAKE_DIRS+= ${PREFIX}/lib -INN_DIRS+= ${PREFIX}/etc/nntp -INN_DIRS+= ${PREFIX}/etc/inn +INN_DIRS+= ${PKG_SYSCONFDIR} INN_DIRS+= ${INN_DATA_DIR} OWN_DIRS+= ${PREFIX}/${INN_PATHBIN} @@ -115,8 +113,11 @@ CFILES= actsync.cfg actsync.ign buffindexed.conf \ distrib.pats distributions \ expire.ctl incoming.conf inn.conf innfeed.conf \ innreport.conf innwatch.ctl \ + innshellvars.local innshellvars.pl.local \ + innshellvars.tcl.local \ localgroups moderators \ - motd.news news2mail.cf newsfeeds nnrpd.track \ + motd.innd motd.nnrpd \ + news2mail.cf newsfeeds nnrpd.track \ nntpsend.ctl nocem.ctl ovdb.conf passwd.nntp \ radius.conf readers.conf send-uucp.cf \ storage.conf subscriptions diff --git a/news/inn/PLIST b/news/inn/PLIST index f36746aba65..e3fee67e2ea 100644 --- a/news/inn/PLIST +++ b/news/inn/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.22 2011/09/25 13:58:31 spz Exp $ +@comment $NetBSD: PLIST,v 1.23 2012/08/23 19:00:41 spz Exp $ bin/inews bin/rnews include/inn/buffer.h @@ -40,6 +40,7 @@ lib/libinn.a lib/libinnhist.a lib/libstorage.a lib/perl/INN/Config.pm +lib/perl/INN/Utils/Shlock.pm ${INN_PATHBIN}/actmerge ${INN_PATHBIN}/actsync ${INN_PATHBIN}/actsyncd @@ -138,7 +139,6 @@ man/man1/getlist.1 man/man1/grephistory.1 man/man1/inews.1 man/man1/innconfval.1 -man/man1/innfeed.1 man/man1/innmail.1 man/man1/nntpget.1 man/man1/pgpverify.1 @@ -149,6 +149,7 @@ man/man1/shrinkfile.1 man/man1/simpleftp.1 man/man1/sm.1 man/man3/INN::Config.3pm +man/man3/INN::Utils::Shlock.3pm man/man3/clientlib.3 man/man3/dbz.3 man/man3/inndcomm.3 @@ -175,7 +176,9 @@ man/man5/innfeed.conf.5 man/man5/innwatch.ctl.5 man/man5/localgroups.5 man/man5/moderators.5 +man/man5/motd.innd.5 man/man5/motd.news.5 +man/man5/motd.nnrpd.5 man/man5/newsfeeds.5 man/man5/newsgroups.5 man/man5/newslog.5 @@ -206,16 +209,19 @@ man/man8/expireover.8 man/man8/expirerm.8 man/man8/filechan.8 man/man8/ident.8 +man/man8/imapfeed.8 man/man8/innbind.8 man/man8/inncheck.8 man/man8/innd.8 man/man8/inndf.8 +man/man8/innfeed.8 man/man8/innreport.8 man/man8/innstat.8 man/man8/innupgrade.8 man/man8/innwatch.8 man/man8/innxbatch.8 man/man8/innxmit.8 +man/man8/inpaths.8 man/man8/mailpost.8 man/man8/makedbz.8 man/man8/makehistory.8 @@ -231,10 +237,12 @@ man/man8/ovdb_server.8 man/man8/ovdb_stat.8 man/man8/overchan.8 man/man8/perl-nocem.8 +man/man8/procbatch.8 man/man8/prunehistory.8 man/man8/radius.8 man/man8/rc.news.8 man/man8/scanlogs.8 +man/man8/scanspool.8 man/man8/send-nntp.8 man/man8/send-uucp.8 man/man8/sendinpaths.8 @@ -291,10 +299,14 @@ share/examples/inn/inn.conf share/examples/inn/innfeed.conf share/examples/inn/innreport.conf share/examples/inn/innreport.css +share/examples/inn/innshellvars.local +share/examples/inn/innshellvars.pl.local +share/examples/inn/innshellvars.tcl.local share/examples/inn/innwatch.ctl share/examples/inn/localgroups share/examples/inn/moderators -share/examples/inn/motd.news +share/examples/inn/motd.innd +share/examples/inn/motd.nnrpd share/examples/inn/news2mail.cf share/examples/inn/newsfeeds share/examples/inn/newsgroups.minimal @@ -309,3 +321,6 @@ share/examples/inn/send-uucp.cf share/examples/inn/storage.conf share/examples/inn/subscriptions share/examples/rc.d/innd +@pkgdir ${INN_PATHBIN}/filter +@pkgdir etc/nntp +@pkgdir etc/inn diff --git a/news/inn/distinfo b/news/inn/distinfo index d4c48e620da..56d362cd274 100644 --- a/news/inn/distinfo +++ b/news/inn/distinfo @@ -1,16 +1,14 @@ -$NetBSD: distinfo,v 1.28 2011/09/25 14:00:09 spz Exp $ +$NetBSD: distinfo,v 1.29 2012/08/23 19:00:42 spz Exp $ -SHA1 (inn-2.5.2.tar.gz) = e7a9512acb5fa09ecdf116a4bde39c9f5efe65db -RMD160 (inn-2.5.2.tar.gz) = 2fce7fade8bd8df3fe7f813b6feb37ff2b2bf07c -Size (inn-2.5.2.tar.gz) = 2331916 bytes +SHA1 (inn-2.5.3.tar.gz) = 98f22ef02e48c28f5eb931ce506ebe99557dc46e +RMD160 (inn-2.5.3.tar.gz) = 7c4593d8880426a8961befbfa600450b23482d35 +Size (inn-2.5.3.tar.gz) = 2412119 bytes SHA1 (patch-aa) = 8ed86de4d20ab8510c7521528a9979c1d3e6d9e8 SHA1 (patch-ab) = 5f98336273de9763c38df3bb122f141cbd16527a SHA1 (patch-ac) = 2b801b9b8c5eae1feacaa3532e78b4c46210f755 SHA1 (patch-ad) = d36131ad21a1d8ea0edb463dfff6f1800dc8291d SHA1 (patch-ag) = ec28feef2392567cbc607e7b27fe85f1acd349a7 -SHA1 (patch-ah) = a71cdb9940012098cb5737e5fa48435309cbda83 +SHA1 (patch-ah) = ed5ef5f504eb9a95ad3da933ba5d00ee73885b00 SHA1 (patch-ai) = cf0af9de01dc7e06c5f9f7f1dd91ac2201e8c212 -SHA1 (patch-ak) = 1b92f93a78a08b570c2f9b5360982644d6d2d065 +SHA1 (patch-ak) = c15b9067eeff701a7f2cc443fe6d1cb89136d974 SHA1 (patch-al) = a3d9fad5c045dc7a240e0f0c0a88a5321e6135d5 -SHA1 (patch-am) = 93a056db2beb3a939ee0974e5255ce0e9cf1fb9b -SHA1 (patch-an) = dd1a4462c1a7ea7e52d009c6df1fcb93a2162280 diff --git a/news/inn/patches/patch-ah b/news/inn/patches/patch-ah index e36094b6133..858a77db44a 100644 --- a/news/inn/patches/patch-ah +++ b/news/inn/patches/patch-ah @@ -1,8 +1,8 @@ -$NetBSD: patch-ah,v 1.14 2011/09/25 13:58:32 spz Exp $ +$NetBSD: patch-ah,v 1.15 2012/08/23 19:00:42 spz Exp $ ---- site/Makefile.orig 2010-03-24 20:10:36.000000000 +0000 +--- site/Makefile.orig 2012-06-15 18:25:36.000000000 +0000 +++ site/Makefile -@@ -72,33 +72,11 @@ REST = \ +@@ -75,35 +75,11 @@ REST = \ ALL = $(MOST) $(REST) @@ -16,13 +16,15 @@ $NetBSD: patch-ah,v 1.14 2011/09/25 13:58:32 spz Exp $ - $D$(PATHETC)/localgroups \ - $D$(PATH_CTLWATCH) $D$(PATH_DISTPATS) $D$(PATH_DISTRIBUTIONS) \ - $D$(PATH_ACTSYNC_CFG) $D$(PATH_ACTSYNC_IGN) \ -- $D$(PATH_MOTD) $D$(PATH_STORAGECONF) \ +- $D$(PATH_MOTD_INND) $D$(PATH_MOTD_NNRPD) $D$(PATH_STORAGECONF) \ - $D$(PATH_CYCBUFFCONFIG) $D$(PATH_BUFFINDEXED) \ - $D$(PATH_INNFEEDCTL) $D$(PATH_PERL_STARTUP_INND) \ - $D$(PATH_PERL_FILTER_INND) $D$(PATH_PERL_FILTER_NNRPD) \ - $D$(PATH_PYTHON_FILTER_INND) $D$(PATH_PYTHON_INN_MODULE) \ - $D$(PATH_PYTHON_NNRPD_MODULE) \ - $D$(PATH_TCL_STARTUP) $D$(PATH_TCL_FILTER) \ +- $D$(PATHETC)/innshellvars.local $D$(PATHETC)/innshellvars.pl.local \ +- $D$(PATHETC)/innshellvars.tcl.local \ - $D$(PATHETC)/nocem.ctl \ - $D$(PATH_NNRPAUTH) $D$(PATHETC)/news2mail.cf $D$(PATH_READERSCONF) \ - $D$(PATH_RADIUS_CONF) $D$(PATH_NNRPYAUTH) $D$(PATH_NNRPYACCESS) $D$(PATH_NNRPYDYNAMIC) \ diff --git a/news/inn/patches/patch-ak b/news/inn/patches/patch-ak index 5876263bfb4..014c4bd5297 100644 --- a/news/inn/patches/patch-ak +++ b/news/inn/patches/patch-ak @@ -1,6 +1,6 @@ -$NetBSD: patch-ak,v 1.1 2009/09/25 11:06:00 spz Exp $ +$NetBSD: patch-ak,v 1.2 2012/08/23 19:00:42 spz Exp $ ---- perl/INN/Config.pm.in.orig 2009-05-21 22:08:33.000000000 +0200 +--- perl/INN/Config.pm.in.orig 2012-06-15 18:25:36.000000000 +0000 +++ perl/INN/Config.pm.in @@ -20,7 +20,7 @@ our $exec_prefix = "@exec_prefix@"; @@ -8,6 +8,6 @@ $NetBSD: patch-ak,v 1.1 2009/09/25 11:06:00 spz Exp $ my @INNCONFVAR = (); -my @values = `${exec_prefix}/bin/innconfval -p`; +my @values = `@bindir@/innconfval -p`; - foreach $line (@values) { + foreach my $line (@values) { eval 'our '.$line; if ($line =~ /^(.*?) = /m) { diff --git a/news/inn/patches/patch-al b/news/inn/patches/patch-al new file mode 100644 index 00000000000..744223fb995 --- /dev/null +++ b/news/inn/patches/patch-al @@ -0,0 +1,15 @@ +$NetBSD: patch-al,v 1.1 2012/08/23 19:00:42 spz Exp $ + +--- ./lib/fdlimit.c.orig 2009-10-12 18:24:04.000000000 +0000 ++++ ./lib/fdlimit.c +@@ -59,6 +59,10 @@ setfdlimit(unsigned int limit) + } + #endif + ++ /* will we mind if the limit is higher? I think not. */ ++ if (rl.rlim_cur >= limit) ++ return 0; ++ + rl.rlim_cur = limit; + if (limit > rl.rlim_max) + rl.rlim_max = limit; diff --git a/news/inn/patches/patch-am b/news/inn/patches/patch-am deleted file mode 100644 index e323aff1739..00000000000 --- a/news/inn/patches/patch-am +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-am,v 1.1 2011/09/25 14:00:09 spz Exp $ - -remove deprecated perl features that don't do anything useful anyway -(replicate change in INN trunk) - ---- ./scripts/innreport.in.orig 2010-03-24 20:10:36.000000000 +0000 -+++ ./scripts/innreport.in -@@ -672,10 +672,6 @@ if (!$NOT_DAILY && defined $output{'defa - # - Specified in section "inn_flow" of innreport.conf. - sub DateCompare { - -- # $[ ... The index of the first element in an array, and of the first -- # character in a substring. Default is 0. -- local $[ = 0; -- - # The 2 dates are near. The range is less than a few days that's why we - # can cheat to determine the order. It is only important if one date - # is in January and the other in December. -@@ -791,7 +787,6 @@ sub ConvDate($) { - - # Compare 2 filenames - sub filenamecmp { -- local $[ = 0; - my ($la, $lb) = ($a, $b); - my ($ya) = $la =~ m/news-notice\.(\d+)\./o; - $ya += 100 if $ya < 90; # Try to pacify the year 2000 ! diff --git a/news/inn/patches/patch-an b/news/inn/patches/patch-an deleted file mode 100644 index 4d1fd4e597a..00000000000 --- a/news/inn/patches/patch-an +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-an,v 1.1 2011/09/25 14:00:09 spz Exp $ - -remove deprecated perl features that don't do anything useful anyway -(replicate change in INN trunk) - ---- ./scripts/innreport_inn.pm.orig 2010-03-24 20:10:36.000000000 +0000 -+++ ./scripts/innreport_inn.pm -@@ -2430,7 +2430,6 @@ sub report_unwanted_ng($) { - # Compare 2 dates (+hour), used with sort (arguments $a and $b) - sub datecmp() { - # ex: "May 12 06" for May 12, 6:00am -- local($[) = 0; - # The 2 dates are near. The range is less than a few days that's why we - # can cheat to determine the order. It is only important if one date - # is in January and the other in December. |