]> git.pld-linux.org Git - packages/inn.git/blobdiff - inn-config.patch
- rediff patches
[packages/inn.git] / inn-config.patch
index 0bb742202a8083a32732def8a80ff9d58f130727..06b2c666a0b066dffb96451a83a8adada80e9b0f 100644 (file)
@@ -1,20 +1,8 @@
-diff -Nur old/samples/buffindexed.conf new/samples/buffindexed.conf
---- old/samples/buffindexed.conf       2004-01-07 22:47:19.000000000 +0000
-+++ new/samples/buffindexed.conf       2004-08-07 18:36:53.000000000 +0000
-@@ -7,5 +7,5 @@
- # index(0-65535) : path to buffer file : 
- #       length of buffer in kilobytes in decimal (1KB = 1024 bytes)
--0:/var/news/spool/overview/OV1:1536000
--1:/var/news/spool/overview/OV2:1536000
-+0:/var/spool/news/overview/OV1:1536000
-+1:/var/spool/news/overview/OV2:1536000
-diff -Nur old/samples/cycbuff.conf new/samples/cycbuff.conf
---- old/samples/cycbuff.conf   2004-01-07 22:47:19.000000000 +0000
-+++ new/samples/cycbuff.conf   2004-08-06 12:33:41.000000000 +0000
-@@ -10,9 +10,9 @@
- # "cycbuff" (literally) : symbolic buffer name : path to buffer file : 
- #       length of symbolic buffer in kilobytes in decimal (1KB = 1024 bytes)
+--- inn-2.6.3/samples/cycbuff.conf.orig        2019-02-07 16:02:22.000000000 +0100
++++ inn-2.6.3/samples/cycbuff.conf     2020-11-07 18:34:28.741795625 +0100
+@@ -28,9 +28,9 @@
+ ##
+ ##  If you're trying to stay under 2 GB, keep your sizes below 2097152.
  
 -cycbuff:ONE:/export/cycbuffs/one:512000
 -cycbuff:TWO:/export/cycbuffs/two:512000
@@ -23,5 +11,147 @@ diff -Nur old/samples/cycbuff.conf new/samples/cycbuff.conf
 +cycbuff:TWO:/var/spool/news/cycbuffs/two:512000
 +cycbuff:THREE:/var/spool/news/cycbuffs/three:512000
  
- # 2. Meta-cyclic buffers
- # Format:
+ ##  2. Meta-cyclic buffers
+ ##  Format:
+--- inn-2.5.3/samples/inn.conf.in.orig 2013-06-13 15:49:58.887245670 +0200
++++ inn-2.5.3/samples/inn.conf.in      2013-06-13 16:20:45.710540510 +0200
+@@ -17,11 +17,11 @@
+ # The following parameters are most likely to need setting, although the
+ # defaults generated by configure may be reasonable.
+-mta:                         "@SENDMAIL@ -oi -oem %s"
++mta:                         "@SENDMAIL@ -oi %s"
+ organization:                "A poorly-installed InterNetNews site"
+ ovmethod:                    tradindexed
+ hismethod:                   hisv6
+-pathhost:                    @HOSTNAME@
++pathhost:                    localhost
+ pathnews:                    @prefix@
+ #runasuser:
+@@ -37,8 +37,8 @@
+ # Feed Configuration
+ artcutoff:                   10
+-#bindaddress:
+-#bindaddress6:
++#bindaddress:                 all
++#bindaddress6:                all
+ dontrejectfiltered:          false
+ hiscachesize:                256
+ ignorenewsgroups:            false
+@@ -48,13 +48,13 @@
+ maxconnections:              50
+ #pathalias:
+ #pathcluster:
+-pgpverify:                   @DO_PGPVERIFY@
++pgpverify:                   true
+ port:                        119
+ refusecybercancels:          false
+ remembertrash:               true
+-#sourceaddress:
+-#sourceaddress6:
+-verifycancels:               false
++#sourceaddress:               any
++#sourceaddress6:              any
++verifycancels:               true
+ verifygroups:                false
+ wanttrash:                   false
+ wipcheck:                    5
+@@ -72,6 +72,7 @@
+ nfswriter:                   false
+ overcachesize:               128
+ #ovgrouppat:
++# note: must not be changed to false if using tradspool
+ storeonxref:                 true
+ useoverchan:                 false
+ wireformat:                  true
+@@ -78,7 +79,7 @@
+ # Reading
+-allownewnews:                true
++allownewnews:                false
+ articlemmap:                 true
+ clienttimeout:               1800
+ initialtimeout:              10
+@@ -111,8 +112,8 @@
+ addinjectionpostingaccount:  false
+ addinjectionpostinghost:     true
+ checkincludedtext:           false
+-#complaints:
+-#fromhost:
++complaints:                  abuse@localhost
++#fromhost:                    ""
+ localmaxartsize:             1000000
+ #moderatormailer:
+ nnrpdauthsender:             false
+@@ -122,7 +123,7 @@
+ # Posting -- Exponential Backoff
+ backoffauth:                 false
+-#backoffdb:
++#backoffdb:                   /var/lib/news/backoff
+ backoffk:                    1
+ backoffpostfast:             0
+ backoffpostslow:             1
+@@ -152,7 +153,7 @@
+ # Logging
+-docnfsstat:                  false
++docnfsstat:                  true
+ htmlstatus:                  true
+ incominglogfrequency:        200
+ logartsize:                  true
+@@ -179,7 +180,7 @@
+ keepmmappedthreshold:        1024
+ #maxcmdreadsize:
+ maxforks:                    10
+-nicekids:                    4
++nicekids:                    0
+ nicenewnews:                 0
+ nicennrpd:                   0
+ pauseretrytime:              300
+--- inn-2.5.4/samples/newsfeeds.in.orig        2014-05-17 10:24:49.000000000 +0200
++++ inn-2.5.4/samples/newsfeeds.in     2014-06-21 21:14:00.955356887 +0200
+@@ -40,11 +40,21 @@
+ ##  For the ME line (and the ME line *only*), patterns affect *outgoing*
+ ##  feeds and distributions affect *incoming* feeds (including local posts).
++## Default of  everything to everybody except for junk, control, anything
++## with "local" as the newsgroup prefix (i.e. matches "localhost.stuff") or
++## groups under foo. Articles posted to any group under alt.binaries.warez
++## will not get propagated, even if they're cross posted to something that
++## is.
++ME\
++      :*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*\
++        /pl,world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
++      ::
++ 
+ # Empty default subscription list, reject all incoming articles (including
+ # locally posted articles) with a distribution of "local" or
+ # "collabra-internal", accept all others (including articles that do not
+ # have a Distribution: header field).
+-ME:!*/!local,!collabra-internal::
++#ME:!*/!local,!collabra-internal::
+ # The same as the above, but would reject all posts that have
+ # news.example.com in the path (posts passing through that site).
+@@ -142,4 +152,4 @@
+ # come with INN).
+ #capture!\
+ #     :*/foo\
+-#     :Tp,H2:/usr/local/bin/capture %s
++#     :Tp,H2:/usr/bin/capture %s
+--- inn-2.5.3/samples/readers.conf.orig        2013-06-13 15:49:58.903912336 +0200
++++ inn-2.5.3/samples/readers.conf     2013-06-13 16:28:23.533864301 +0200
+@@ -55,7 +55,7 @@
+ # the local machine
+ auth "localhost" {
+-    hosts: "localhost, 127.0.0.1, ::1, stdin"
++    hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
+     default: "<localhost>"
+ }
This page took 0.064636 seconds and 4 git commands to generate.