]> git.pld-linux.org Git - packages/inn.git/blob - inn-config.patch
- updated to 2.6.5
[packages/inn.git] / inn-config.patch
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.
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  
14  ##  2. Meta-cyclic buffers
15  ##  Format:
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 @@
19  # The following parameters are most likely to need setting, although the
20  # defaults generated by configure may be reasonable.
21  
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@
30  
31  #runasuser:
32 @@ -36,8 +36,8 @@ mailcmd:                     @bindir@/in
33  # Feed Configuration
34  
35  artcutoff:                   10
36 -#bindaddress:
37 -#bindaddress6:
38 +#bindaddress:                 all
39 +#bindaddress6:                all
40  dontrejectfiltered:          false
41  hiscachesize:                256
42  ignorenewsgroups:            false
43 @@ -47,13 +47,13 @@ maxartsize:                  1000000
44  maxconnections:              50
45  #pathalias:
46  #pathcluster:
47 -pgpverify:                   @DO_PGPVERIFY@
48 +pgpverify:                   true
49  port:                        119
50  refusecybercancels:          false
51  remembertrash:               true
52 -#sourceaddress:
53 -#sourceaddress6:
54 -verifycancels:               false
55 +#sourceaddress:               any
56 +#sourceaddress6:              any
57 +verifycancels:               true
58  verifygroups:                false
59  wanttrash:                   false
60  wipcheck:                    5
61 @@ -70,6 +70,7 @@ mergetogroups:               false
62  nfswriter:                   false
63  overcachesize:               128
64  #ovgrouppat:
65 +# note: must not be changed to false if using tradspool
66  storeonxref:                 true
67  useoverchan:                 false
68  wireformat:                  true
69 @@ -77,7 +78,7 @@ xrefslave:                   false
70  
71  # Reading
72  
73 -allownewnews:                true
74 +allownewnews:                false
75  articlemmap:                 true
76  clienttimeout:               1800
77  initialtimeout:              10
78 @@ -109,8 +110,8 @@ addinjectiondate:            true
79  addinjectionpostingaccount:  false
80  addinjectionpostinghost:     true
81  checkincludedtext:           false
82 -#complaints:
83 -#fromhost:
84 +complaints:                  abuse@localhost
85 +#fromhost:                    ""
86  localmaxartsize:             1000000
87  #moderatormailer:
88  nnrpdauthsender:             false
89 @@ -122,7 +123,7 @@ strippostcc:                 false
90  # Posting -- Exponential Backoff
91  
92  backoffauth:                 false
93 -#backoffdb:
94 +#backoffdb:                   /var/lib/news/backoff
95  backoffk:                    1
96  backoffpostfast:             0
97  backoffpostslow:             1
98 @@ -159,7 +160,7 @@ innwatchspoolspace:          25000
99  
100  # Logging
101  
102 -docnfsstat:                  false
103 +docnfsstat:                  true
104  htmlstatus:                  true
105  incominglogfrequency:        200
106  logartsize:                  true
107 @@ -187,7 +188,7 @@ keepmmappedthreshold:        1024
108  #maxcmdreadsize:
109  maxforks:                    10
110  maxlisten:                   128
111 -nicekids:                    4
112 +nicekids:                    0
113  nicenewnews:                 0
114  nicennrpd:                   0
115  pauseretrytime:              300
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 @@
119  ##  For the ME line (and the ME line *only*), patterns affect *outgoing*
120  ##  feeds and distributions affect *incoming* feeds (including local posts).
121  
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 +       ::
131
132  # Empty default subscription list, reject all incoming articles (including
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::
137  
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).
140 @@ -144,4 +154,4 @@ controlchan!\
141  # come with INN).
142  #capture!\
143  #      :*/foo\
144 -#      :Tp,H2:/usr/local/bin/capture %s
145 +#      :Tp,H2:/usr/bin/capture %s
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.
150  
151  auth "localhost" {
152 -    hosts: "localhost, 127.0.0.1, ::1, stdin"
153 +    hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
154      default: "<localhost>"
155  }
156  
This page took 0.05095 seconds and 3 git commands to generate.