]> git.pld-linux.org Git - packages/inn.git/blob - inn-config.patch
4d066414100486fd58e9c4e0f14b40cfb712839d
[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.7.1/samples/inn.conf.in.orig  2023-04-16 21:50:54.000000000 +0200
17 +++ inn-2.7.1/samples/inn.conf.in       2023-08-20 19:51:47.703846915 +0200
18 @@ -17,11 +17,11 @@
19  # See the description of the mta parameter in inn.conf(5) for useful options
20  # that may be worthwhile adding to the default sendmail command.
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 @@ -38,8 +38,8 @@ mailcmd:                     @bindir@/in
33  # Feed Configuration
34  
35  artcutoff:                   10
36 -#bindaddress:
37 -#bindaddress6:
38 +#bindaddress:                 all
39 +#bindaddress6:                all
40  docancels:                   "require-auth"
41  dontrejectfiltered:          false
42  hiscachesize:                256
43 @@ -50,11 +50,11 @@ maxartsize:                  1000000
44  maxconnections:              50
45  #pathalias:
46  #pathcluster:
47 -pgpverify:                   @DO_PGPVERIFY@
48 +pgpverify:                   true
49  port:                        119
50  remembertrash:               true
51 -#sourceaddress:
52 -#sourceaddress6:
53 +#sourceaddress:               any
54 +#sourceaddress6:              any
55  verifygroups:                false
56  wanttrash:                   false
57  wipcheck:                    5
58 @@ -71,6 +71,7 @@ mergetogroups:               false
59  nfswriter:                   false
60  overcachesize:               128
61  #ovgrouppat:
62 +# note: must not be changed to false if using tradspool
63  storeonxref:                 true
64  useoverchan:                 false
65  wireformat:                  true
66 @@ -78,7 +79,7 @@ xrefslave:                   false
67  
68  # Reading
69  
70 -allownewnews:                true
71 +allownewnews:                false
72  articlemmap:                 true
73  clienttimeout:               1800
74  initialtimeout:              10
75 @@ -110,8 +111,8 @@ addinjectiondate:            true
76  addinjectionpostingaccount:  false
77  addinjectionpostinghost:     true
78  checkincludedtext:           false
79 -#complaints:
80 -#fromhost:
81 +complaints:                  abuse@localhost
82 +#fromhost:                    ""
83  localmaxartsize:             1000000
84  #moderatormailer:
85  nnrpdauthsender:             false
86 @@ -123,7 +124,7 @@ strippostcc:                 false
87  # Posting -- Exponential Backoff
88  
89  backoffauth:                 false
90 -#backoffdb:
91 +#backoffdb:                   /var/lib/news/backoff
92  backoffk:                    1
93  backoffpostfast:             0
94  backoffpostslow:             1
95 @@ -160,7 +161,7 @@ innwatchspoolspace:          25000
96  
97  # Logging
98  
99 -docnfsstat:                  false
100 +docnfsstat:                  true
101  htmlstatus:                  true
102  incominglogfrequency:        200
103  logartsize:                  true
104 @@ -188,7 +189,7 @@ keepmmappedthreshold:        1024
105  #maxcmdreadsize:
106  maxforks:                    10
107  maxlisten:                   128
108 -nicekids:                    4
109 +nicekids:                    0
110  nicenewnews:                 0
111  nicennrpd:                   0
112  pauseretrytime:              300
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
115 @@ -38,10 +38,20 @@
116  ##  For the ME line (and the ME line *only*), patterns affect *outgoing*
117  ##  feeds and distributions affect *incoming* feeds (including local posts).
118  
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 +       ::
128
129  # Empty default subscription list, reject all incoming articles (including
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::
134  
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).
137 @@ -144,4 +154,4 @@ controlchan!\
138  # doesn't come with INN).
139  #capture!\
140  #    :*/foo\
141 -#    :Tp,H2:/usr/local/bin/capture %s
142 +#    :Tp,H2:/usr/bin/capture %s
143 --- inn-2.7.1/samples/readers.conf.orig 2023-08-20 19:52:09.017064785 +0200
144 +++ inn-2.7.1/samples/readers.conf      2023-08-20 20:05:52.232605043 +0200
145 @@ -39,7 +39,7 @@
146  # examples).  This assigns the identity of <localhost> to the local machine.
147  
148  auth "localhost" {
149 -    hosts: "localhost, 127.0.0.1, ::1, stdin"
150 +    hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
151      default: "<localhost>"
152  }
153  
This page took 0.083836 seconds and 3 git commands to generate.