]> git.pld-linux.org Git - packages/inn.git/blame - inn-config.patch
- patches rediffed with fuzz 0
[packages/inn.git] / inn-config.patch
CommitLineData
327bb698
JB
1--- inn-2.6.3/samples/cycbuff.conf.orig 2019-02-07 16:02:22.000000000 +0100
2+++ inn-2.6.3/samples/cycbuff.conf 2020-11-07 18:34:28.741795625 +0100
3@@ -28,9 +28,9 @@
4 ##
5 ## If you're trying to stay under 2 GB, keep your sizes below 2097152.
887ee8c4
AA
6
7-cycbuff:ONE:/export/cycbuffs/one:512000
8-cycbuff:TWO:/export/cycbuffs/two:512000
9-cycbuff:THREE:/export/cycbuffs/three:512000
10+cycbuff:ONE:/var/spool/news/cycbuffs/one:512000
11+cycbuff:TWO:/var/spool/news/cycbuffs/two:512000
12+cycbuff:THREE:/var/spool/news/cycbuffs/three:512000
13
327bb698
JB
14 ## 2. Meta-cyclic buffers
15 ## Format:
6a4c3728
JB
16--- inn-2.5.3/samples/inn.conf.in.orig 2013-06-13 15:49:58.887245670 +0200
17+++ inn-2.5.3/samples/inn.conf.in 2013-06-13 16:20:45.710540510 +0200
8881622a
AA
18@@ -17,11 +17,11 @@
19 # The following parameters are most likely to need setting, although the
20 # defaults generated by configure may be reasonable.
21
6a4c3728
JB
22-mta: "@SENDMAIL@ -oi -oem %s"
23+mta: "@SENDMAIL@ -oi %s"
24 organization: "A poorly-installed InterNetNews site"
25 ovmethod: tradindexed
26 hismethod: hisv6
27-pathhost: @HOSTNAME@
28+pathhost: localhost
29 pathnews: @prefix@
8881622a 30
6a4c3728
JB
31 #runasuser:
32@@ -37,8 +37,8 @@
8881622a
AA
33 # Feed Configuration
34
6a4c3728 35 artcutoff: 10
8881622a
AA
36-#bindaddress:
37-#bindaddress6:
6a4c3728
JB
38+#bindaddress: all
39+#bindaddress6: all
40 dontrejectfiltered: false
41 hiscachesize: 256
42 ignorenewsgroups: false
43@@ -48,13 +48,13 @@
44 maxconnections: 50
8881622a 45 #pathalias:
44707fd2 46 #pathcluster:
6a4c3728
JB
47-pgpverify: @DO_PGPVERIFY@
48+pgpverify: true
49 port: 119
50 refusecybercancels: false
51 remembertrash: true
8881622a
AA
52-#sourceaddress:
53-#sourceaddress6:
6a4c3728
JB
54-verifycancels: false
55+#sourceaddress: any
56+#sourceaddress6: any
57+verifycancels: true
58 verifygroups: false
59 wanttrash: false
60 wipcheck: 5
327bb698 61@@ -72,6 +72,7 @@
6a4c3728 62 nfswriter: false
327bb698 63 overcachesize: 128
8881622a
AA
64 #ovgrouppat:
65+# note: must not be changed to false if using tradspool
6a4c3728
JB
66 storeonxref: true
67 useoverchan: false
327bb698 68 wireformat: true
6a4c3728 69@@ -78,7 +79,7 @@
8881622a
AA
70
71 # Reading
72
6a4c3728
JB
73-allownewnews: true
74+allownewnews: false
75 articlemmap: true
76 clienttimeout: 1800
77 initialtimeout: 10
327bb698
JB
78@@ -111,8 +112,8 @@
79 addinjectionpostingaccount: false
80 addinjectionpostinghost: true
6a4c3728 81 checkincludedtext: false
8881622a
AA
82-#complaints:
83-#fromhost:
6a4c3728
JB
84+complaints: abuse@localhost
85+#fromhost: ""
86 localmaxartsize: 1000000
8881622a 87 #moderatormailer:
6a4c3728
JB
88 nnrpdauthsender: false
89@@ -122,7 +123,7 @@
8881622a
AA
90 # Posting -- Exponential Backoff
91
6a4c3728 92 backoffauth: false
8881622a 93-#backoffdb:
6a4c3728
JB
94+#backoffdb: /var/lib/news/backoff
95 backoffk: 1
96 backoffpostfast: 0
97 backoffpostslow: 1
98@@ -152,7 +153,7 @@
8881622a
AA
99
100 # Logging
101
6a4c3728
JB
102-docnfsstat: false
103+docnfsstat: true
104 htmlstatus: true
105 incominglogfrequency: 200
106 logartsize: true
107@@ -179,7 +180,7 @@
108 keepmmappedthreshold: 1024
8881622a 109 #maxcmdreadsize:
6a4c3728
JB
110 maxforks: 10
111-nicekids: 4
112+nicekids: 0
113 nicenewnews: 0
114 nicennrpd: 0
115 pauseretrytime: 300
210f2d9d
JB
116--- inn-2.5.4/samples/newsfeeds.in.orig 2014-05-17 10:24:49.000000000 +0200
117+++ inn-2.5.4/samples/newsfeeds.in 2014-06-21 21:14:00.955356887 +0200
118@@ -40,11 +40,21 @@
119 ## For the ME line (and the ME line *only*), patterns affect *outgoing*
120 ## feeds and distributions affect *incoming* feeds (including local posts).
6a4c3728 121
8881622a
AA
122+## Default of everything to everybody except for junk, control, anything
123+## with "local" as the newsgroup prefix (i.e. matches "localhost.stuff") or
124+## groups under foo. Articles posted to any group under alt.binaries.warez
125+## will not get propagated, even if they're cross posted to something that
126+## is.
127+ME\
128+ :*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*\
129+ /pl,world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
130+ ::
6a4c3728 131+
210f2d9d
JB
132 # Empty default subscription list, reject all incoming articles (including
133 # locally posted articles) with a distribution of "local" or
134 # "collabra-internal", accept all others (including articles that do not
135 # have a Distribution: header field).
136-ME:!*/!local,!collabra-internal::
137+#ME:!*/!local,!collabra-internal::
138
8881622a
AA
139 # The same as the above, but would reject all posts that have
140 # news.example.com in the path (posts passing through that site).
210f2d9d 141@@ -142,4 +152,4 @@
6a4c3728
JB
142 # come with INN).
143 #capture!\
8881622a
AA
144 # :*/foo\
145-# :Tp,H2:/usr/local/bin/capture %s
146+# :Tp,H2:/usr/bin/capture %s
6a4c3728
JB
147--- inn-2.5.3/samples/readers.conf.orig 2013-06-13 15:49:58.903912336 +0200
148+++ inn-2.5.3/samples/readers.conf 2013-06-13 16:28:23.533864301 +0200
8881622a
AA
149@@ -55,7 +55,7 @@
150 # the local machine
151
152 auth "localhost" {
6a4c3728 153- hosts: "localhost, 127.0.0.1, ::1, stdin"
8881622a
AA
154+ hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
155 default: "<localhost>"
156 }
157
This page took 0.105778 seconds and 4 git commands to generate.