]> git.pld-linux.org Git - packages/inn.git/blame - inn-config.patch
- updated to 2.7.0 (new sonames, configuration changes)
[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:
111e750a
JB
16--- inn-2.7.0/samples/inn.conf.in.orig 2022-07-10 15:00:35.000000000 +0200
17+++ inn-2.7.0/samples/inn.conf.in 2022-10-10 21:01:03.748988671 +0200
ace5f33c 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
111e750a 40 docancels: "require-auth"
6a4c3728
JB
41 dontrejectfiltered: false
42 hiscachesize: 256
111e750a 43@@ -48,11 +48,11 @@ maxartsize: 1000000
6a4c3728 44 maxconnections: 50
8881622a 45 #pathalias:
44707fd2 46 #pathcluster:
6a4c3728
JB
47-pgpverify: @DO_PGPVERIFY@
48+pgpverify: true
49 port: 119
6a4c3728 50 remembertrash: true
8881622a
AA
51-#sourceaddress:
52-#sourceaddress6:
6a4c3728
JB
53+#sourceaddress: any
54+#sourceaddress6: any
6a4c3728
JB
55 verifygroups: false
56 wanttrash: false
57 wipcheck: 5
111e750a 58@@ -69,6 +69,7 @@ mergetogroups: false
6a4c3728 59 nfswriter: false
327bb698 60 overcachesize: 128
8881622a
AA
61 #ovgrouppat:
62+# note: must not be changed to false if using tradspool
6a4c3728
JB
63 storeonxref: true
64 useoverchan: false
327bb698 65 wireformat: true
111e750a 66@@ -76,7 +77,7 @@ xrefslave: false
8881622a
AA
67
68 # Reading
69
6a4c3728
JB
70-allownewnews: true
71+allownewnews: false
72 articlemmap: true
73 clienttimeout: 1800
74 initialtimeout: 10
111e750a 75@@ -108,8 +109,8 @@ addinjectiondate: true
327bb698
JB
76 addinjectionpostingaccount: false
77 addinjectionpostinghost: true
6a4c3728 78 checkincludedtext: false
8881622a
AA
79-#complaints:
80-#fromhost:
6a4c3728
JB
81+complaints: abuse@localhost
82+#fromhost: ""
83 localmaxartsize: 1000000
8881622a 84 #moderatormailer:
6a4c3728 85 nnrpdauthsender: false
111e750a 86@@ -121,7 +122,7 @@ strippostcc: false
8881622a
AA
87 # Posting -- Exponential Backoff
88
6a4c3728 89 backoffauth: false
8881622a 90-#backoffdb:
6a4c3728
JB
91+#backoffdb: /var/lib/news/backoff
92 backoffk: 1
93 backoffpostfast: 0
94 backoffpostslow: 1
111e750a 95@@ -158,7 +159,7 @@ innwatchspoolspace: 25000
8881622a
AA
96
97 # Logging
98
6a4c3728
JB
99-docnfsstat: false
100+docnfsstat: true
101 htmlstatus: true
102 incominglogfrequency: 200
103 logartsize: true
111e750a 104@@ -186,7 +187,7 @@ keepmmappedthreshold: 1024
8881622a 105 #maxcmdreadsize:
6a4c3728 106 maxforks: 10
ace5f33c 107 maxlisten: 128
6a4c3728
JB
108-nicekids: 4
109+nicekids: 0
110 nicenewnews: 0
111 nicennrpd: 0
112 pauseretrytime: 300
111e750a
JB
113--- inn-2.7.0/samples/newsfeeds.in.orig 2022-07-10 15:00:35.000000000 +0200
114+++ inn-2.7.0/samples/newsfeeds.in 2022-10-10 21:10:17.395989308 +0200
ace5f33c 115@@ -38,10 +38,20 @@
210f2d9d
JB
116 ## For the ME line (and the ME line *only*), patterns affect *outgoing*
117 ## feeds and distributions affect *incoming* feeds (including local posts).
6a4c3728 118
8881622a
AA
119+## Default of everything to everybody except for junk, control, anything
120+## with "local" as the newsgroup prefix (i.e. matches "localhost.stuff") or
121+## groups under foo. Articles posted to any group under alt.binaries.warez
122+## will not get propagated, even if they're cross posted to something that
123+## is.
124+ME\
125+ :*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*\
126+ /pl,world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
127+ ::
6a4c3728 128+
210f2d9d 129 # Empty default subscription list, reject all incoming articles (including
ace5f33c
JB
130 # locally posted articles) with a distribution of "local", accept all others
131 # (including articles that do not have a Distribution header field).
132-ME:!*/!local::
133+#ME:!*/!local::
210f2d9d 134
8881622a
AA
135 # The same as the above, but would reject all posts that have
136 # news.example.com in the path (posts passing through that site).
ace5f33c 137@@ -144,4 +154,4 @@ controlchan!\
111e750a 138 # doesn't come with INN).
6a4c3728 139 #capture!\
111e750a
JB
140 # :*/foo\
141-# :Tp,H2:/usr/local/bin/capture %s
142+# :Tp,H2:/usr/bin/capture %s
ace5f33c
JB
143--- inn-2.6.5/samples/readers.conf.orig 2022-05-22 20:06:26.763654519 +0200
144+++ inn-2.6.5/samples/readers.conf 2022-05-22 20:09:01.329483831 +0200
145@@ -42,7 +42,7 @@
146 # the local machine.
8881622a
AA
147
148 auth "localhost" {
6a4c3728 149- hosts: "localhost, 127.0.0.1, ::1, stdin"
8881622a
AA
150+ hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
151 default: "<localhost>"
152 }
153
This page took 0.194373 seconds and 4 git commands to generate.