]> git.pld-linux.org Git - packages/NewsCache.git/blame - NewsCache-config.patch
- fixes for info page taken from
[packages/NewsCache.git] / NewsCache-config.patch
CommitLineData
cd543484 1--- NewsCache-1.2rc6/etc/newscache.auth-dist.orig 2005-06-24 21:38:46.158195544 +0200
2+++ NewsCache-1.2rc6/etc/newscache.auth-dist 2005-06-24 21:39:00.464020728 +0200
3@@ -1,8 +1,8 @@
4 # This are commentar lines
5 # You can use plaintext passwords, if the newscache is configured with
6 # the option --enable-plainpass
7-user1:pass1:at.linux:at.linux:at.linux:post
8-user2:pass2:de.linux:de.linux:de.linux:post
9-user3:xtKlYxMWGiBYg:de.linux:de.linux:de.linux:post
10+# user1:pass1:at.linux:at.linux:at.linux:post
11+# user2:pass2:de.linux:de.linux:de.linux:post
12+# user3:xtKlYxMWGiBYg:de.linux:de.linux:de.linux:post
13 # Encrypted password can be created with the htpasswd command
14 # from the apache project or you use a perl script (Google).
15--- NewsCache-1.2rc6/etc/newscache.conf-dist.orig 2005-06-24 21:32:22.770479336 +0200
16+++ NewsCache-1.2rc6/etc/newscache.conf-dist 2005-06-24 21:38:29.102788360 +0200
17@@ -63,11 +63,11 @@
18 ################################################################
19 ## User and group under which NewsCache should be run
20 ################################################################
21-Username news
22-Groupname news
23+Username newscache
24+Groupname newscache
25
26 # Put in here the local newscache administrator
27-Admin tom@infosys.tuwien.ac.at
28+Admin news@localhost
29
30 ################################################################
31 ## Client-access configuration
32@@ -128,46 +128,46 @@
33 Authentication unix::::debug
34 # all authenticated clients are able to use the xdebug command
35 }
36- Client .tuwien.ac.at {
37- allow read post
38- # list all, except for alt.* newsgroups, allow users to
39- # read at.* and to post to at.*
40- List *,!alt.*
41- Read at.*
42- PostTo at.*
43- # allow users to gain additional privileges by
44- # authenticating based on a password file
45- # the format of the file is username:password:read:postto
46- Authentication file:/usr/local/etc/tuwien.pass
47- }
48- Client 192.168.0.0/255.255.0.0 {
49- allow read post
50- # deny access to all newsgroups
51- List !*
52- Read !*
53- PostTo !*
54- # allow users to gain additional privileges by
55- # authenticating using standard passwd semantics
56- # allow to read * and to post to at.* after successful
57- # authentication
58- Authentication unix:*:at.*
59- }
60- Client 192.169.0.0/255.255.0.0 {
61- allow read
62- # deny access to all newsgroups
63- List at.*
64- Read at.*
65- PostTo !*
66- Authentication unix:*:*:*:debug,post
67- # allow users to gain additional privileges by
68- # authenticating using standard passwd semantics
69- # allow to read * and to post to * and can use the xdebug
70- # command after successful authentication.
71- # Unauthenticated clients can only read from at.* groups.
72- }
73- Client .aol.com {
74- allow none
75- }
76+# Client .tuwien.ac.at {
77+# allow read post
78+# # list all, except for alt.* newsgroups, allow users to
79+# # read at.* and to post to at.*
80+# List *,!alt.*
81+# Read at.*
82+# PostTo at.*
83+# # allow users to gain additional privileges by
84+# # authenticating based on a password file
85+# # the format of the file is username:password:read:postto
86+# Authentication file:/usr/local/etc/tuwien.pass
87+# }
88+# Client 192.168.0.0/255.255.0.0 {
89+# allow read post
90+# # deny access to all newsgroups
91+# List !*
92+# Read !*
93+# PostTo !*
94+# # allow users to gain additional privileges by
95+# # authenticating using standard passwd semantics
96+# # allow to read * and to post to at.* after successful
97+# # authentication
98+# Authentication unix:*:at.*
99+# }
100+# Client 192.169.0.0/255.255.0.0 {
101+# allow read
102+# # deny access to all newsgroups
103+# List at.*
104+# Read at.*
105+# PostTo !*
106+# Authentication unix:*:*:*:debug,post
107+# # allow users to gain additional privileges by
108+# # authenticating using standard passwd semantics
109+# # allow to read * and to post to * and can use the xdebug
110+# # command after successful authentication.
111+# # Unauthenticated clients can only read from at.* groups.
112+# }
113+# Client .aol.com {
114+# allow none
115+# }
116 Default {
117 allow none
118 }
119@@ -206,29 +206,36 @@
120 # To switch off, prepend the command with not-
121 # Support commands: listgroup, over
122 NewsServerList {
123- Server news.tuwien.ac.at nntp {
124- Retries 3
125+ Server news.tpi.pl nntp {
126+ Retries 5
127 Read *
128 PostTo *
129- GroupTimeout 150
130- User joe
131- Password secret
132- BindFrom 192.168.100.1
133- Options cached
134- Commands not-over
135- }
136- Server news.wu-wien.ac.at nntp {
137- Retries 1
138- Read at.wu-wien.*
139- PostTo .none.
140- GroupTimeout 300
141- BindFrom somehost.tuwien.ac.at
142- Options offline not-setpostflag
143- }
144- NoServer {
145- Read au.*,z-netz.*,maus.*,fido*
146- PostTo au.*
147- }
148+ GroupTimeout 150
149+ Options semioffline
150+ }
151+# Server news.tuwien.ac.at nntp {
152+# Retries 3
153+# Read *
154+# PostTo *
155+# GroupTimeout 150
156+# User joe
157+# Password secret
158+# BindFrom 192.168.100.1
159+# Options cached
160+# Commands not-over
161+# }
162+# Server news.wu-wien.ac.at nntp {
163+# Retries 1
164+# Read at.wu-wien.*
165+# PostTo .none.
166+# GroupTimeout 300
167+# BindFrom somehost.tuwien.ac.at
168+# Options offline not-setpostflag
169+# }
170+# NoServer {
171+# Read au.*,z-netz.*,maus.*,fido*
172+# PostTo au.*
173+# }
174 }
175
176 ################################################################
177@@ -265,7 +272,7 @@
178 # All the log files go here, if syslogd is not being used. This
179 # depends on how NewsCache has been configured. By default,
180 # NewsCache uses syslogd.
181-LogDirectory /home/services/newscache/log
182+# LogDirectory /home/services/newscache/log
183
184 # Log Style
185 # All combination of these options are valid:
186@@ -284,4 +291,4 @@
187 # Each newsgroup listed in this file will be prefetched,
188 # whenever one of its articles is read by a user or whenever
189 # updatenews is executed.
190-PrefetchFile /home/services/newscache/etc/prefetch
191+# PrefetchFile /home/services/newscache/etc/prefetch
This page took 0.610782 seconds and 4 git commands to generate.