]> git.pld-linux.org Git - packages/inn.git/blame - inn-config.patch
- updated to 2.6.5
[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:
ace5f33c
JB
16--- inn-2.6.5/samples/inn.conf.in.orig 2022-02-18 20:36:57.000000000 +0100
17+++ inn-2.6.5/samples/inn.conf.in 2022-05-22 20:06:04.430442175 +0200
18@@ -15,11 +15,11 @@
8881622a
AA
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 31 #runasuser:
ace5f33c 32@@ -36,8 +36,8 @@ mailcmd: @bindir@/in
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
ace5f33c 43@@ -47,13 +47,13 @@ maxartsize: 1000000
6a4c3728 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
ace5f33c 61@@ -70,6 +70,7 @@ mergetogroups: false
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
ace5f33c 69@@ -77,7 +78,7 @@ xrefslave: false
8881622a
AA
70
71 # Reading
72
6a4c3728
JB
73-allownewnews: true
74+allownewnews: false
75 articlemmap: true
76 clienttimeout: 1800
77 initialtimeout: 10
ace5f33c 78@@ -109,8 +110,8 @@ addinjectiondate: true
327bb698
JB
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 88 nnrpdauthsender: false
ace5f33c 89@@ -122,7 +123,7 @@ strippostcc: false
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
ace5f33c 98@@ -159,7 +160,7 @@ innwatchspoolspace: 25000
8881622a
AA
99
100 # Logging
101
6a4c3728
JB
102-docnfsstat: false
103+docnfsstat: true
104 htmlstatus: true
105 incominglogfrequency: 200
106 logartsize: true
ace5f33c 107@@ -187,7 +188,7 @@ keepmmappedthreshold: 1024
8881622a 108 #maxcmdreadsize:
6a4c3728 109 maxforks: 10
ace5f33c 110 maxlisten: 128
6a4c3728
JB
111-nicekids: 4
112+nicekids: 0
113 nicenewnews: 0
114 nicennrpd: 0
115 pauseretrytime: 300
ace5f33c
JB
116--- inn-2.6.5/samples/newsfeeds.in.orig 2022-02-18 20:36:57.000000000 +0100
117+++ inn-2.6.5/samples/newsfeeds.in 2022-05-22 20:08:17.759719869 +0200
118@@ -38,10 +38,20 @@
210f2d9d
JB
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 132 # Empty default subscription list, reject all incoming articles (including
ace5f33c
JB
133 # locally posted articles) with a distribution of "local", accept all others
134 # (including articles that do not have a Distribution header field).
135-ME:!*/!local::
136+#ME:!*/!local::
210f2d9d 137
8881622a
AA
138 # The same as the above, but would reject all posts that have
139 # news.example.com in the path (posts passing through that site).
ace5f33c 140@@ -144,4 +154,4 @@ controlchan!\
6a4c3728
JB
141 # come with INN).
142 #capture!\
8881622a
AA
143 # :*/foo\
144-# :Tp,H2:/usr/local/bin/capture %s
145+# :Tp,H2:/usr/bin/capture %s
ace5f33c
JB
146--- inn-2.6.5/samples/readers.conf.orig 2022-05-22 20:06:26.763654519 +0200
147+++ inn-2.6.5/samples/readers.conf 2022-05-22 20:09:01.329483831 +0200
148@@ -42,7 +42,7 @@
149 # the local machine.
8881622a
AA
150
151 auth "localhost" {
6a4c3728 152- hosts: "localhost, 127.0.0.1, ::1, stdin"
8881622a
AA
153+ hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
154 default: "<localhost>"
155 }
156
This page took 0.06021 seconds and 4 git commands to generate.