blob: c99346bc34834f272a7613db34f14d710e11e961 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
bin/checknews
bin/cnewsdo
bin/inews
bin/injnews
bin/postnews
bin/readnews
include/dbz.h
lib/libcnews.a
man/man1/checknews.1cn.gz
man/man1/inews.1cn.gz
man/man1/postnews.1cn.gz
man/man1/readnews.1cn.gz
man/man5/controlperm.5.gz
man/man5/news.5.gz
man/man5/newsctl.5.gz
man/man5/newsdb.5.gz
man/man5/newsoverview.5.gz
man/man5/newssys.5.gz
man/man8/cnewsdo.8cn.gz
man/man8/expire.8cn.gz
man/man8/explode.8cn.gz
man/man8/mergeactive.8.gz
man/man8/mkhistory.8cn.gz
man/man8/newsaux.8cn.gz
man/man8/newsbatch.8cn.gz
man/man8/newsmail.8cn.gz
man/man8/newsmaint.8cn.gz
man/man8/newsoverview.8.gz
man/man8/relaynews.8cn.gz
man/man8/report.8cn.gz
man/man8/rnews.8cn.gz
%%NEWSBIN%%/batch/batchcheck
%%NEWSBIN%%/batch/batcher
%%NEWSBIN%%/batch/batchih
%%NEWSBIN%%/batch/batchra
%%NEWSBIN%%/batch/batchsm
%%NEWSBIN%%/batch/batchsplit
%%NEWSBIN%%/batch/batchsplitter
%%NEWSBIN%%/batch/bencode
%%NEWSBIN%%/batch/bpfind
%%NEWSBIN%%/batch/c7encode
%%NEWSBIN%%/batch/compcun
%%NEWSBIN%%/batch/nencode
%%NEWSBIN%%/batch/sendbatches
%%NEWSBIN%%/batch/usenntpxmit
%%NEWSBIN%%/batch/viainews
%%NEWSBIN%%/batch/viamail
%%NEWSBIN%%/batch/viarsh
%%NEWSBIN%%/batch/viauux
%%NEWSBIN%%/canonhdr
%%NEWSBIN%%/canonsys.awk
%%NEWSBIN%%/ctime
%%NEWSBIN%%/ctl/checkgroups
%%NEWSBIN%%/ctl/newgroup
%%NEWSBIN%%/ctl/rmgroup
%%NEWSBIN%%/ctl/sendsys
%%NEWSBIN%%/ctl/version
%%NEWSBIN%%/dbz
%%NEWSBIN%%/dbzinfo
%%NEWSBIN%%/decompressors/bdecode
%%NEWSBIN%%/decompressors/bunzip2
%%NEWSBIN%%/decompressors/c7decode
%%NEWSBIN%%/decompressors/gunzip
%%NEWSBIN%%/dospacefor
%%NEWSBIN%%/expire/doexpire
%%NEWSBIN%%/expire/expire
%%NEWSBIN%%/expire/expireiflow
%%NEWSBIN%%/expire/upact
%%NEWSBIN%%/getabsdate
%%NEWSBIN%%/gngp
%%NEWSBIN%%/inject/actflag
%%NEWSBIN%%/inject/defaults
%%NEWSBIN%%/inject/defhdrs.awk
%%NEWSBIN%%/inject/inews
%%NEWSBIN%%/inject/injnews
%%NEWSBIN%%/inject/lines
%%NEWSBIN%%/inject/modroute
%%NEWSBIN%%/inject/pnews
%%NEWSBIN%%/inject/postnews
%%NEWSBIN%%/inject/tear
%%NEWSBIN%%/input/bdecode
%%NEWSBIN%%/input/bunzip2
%%NEWSBIN%%/input/c7decode
%%NEWSBIN%%/input/cunbatch
%%NEWSBIN%%/input/newsrun
%%NEWSBIN%%/input/newsrunning
%%NEWSBIN%%/input/newsspool
%%NEWSBIN%%/input/recenews
%%NEWSBIN%%/input/recpnews
%%NEWSBIN%%/input/rnews
%%NEWSBIN%%/lock
%%NEWSBIN%%/maint/act.to.times
%%NEWSBIN%%/maint/adddirs
%%NEWSBIN%%/maint/addgroup
%%NEWSBIN%%/maint/addmissing
%%NEWSBIN%%/maint/badexpiry
%%NEWSBIN%%/maint/checkactive
%%NEWSBIN%%/maint/delgroup
%%NEWSBIN%%/maint/histdups
%%NEWSBIN%%/maint/histfrom
%%NEWSBIN%%/maint/histinfo
%%NEWSBIN%%/maint/locknews
%%NEWSBIN%%/maint/logroll
%%NEWSBIN%%/maint/mergeactive
%%NEWSBIN%%/maint/mkhistory
%%NEWSBIN%%/maint/newsboot
%%NEWSBIN%%/maint/newsdaily
%%NEWSBIN%%/maint/newsflag
%%NEWSBIN%%/maint/newsfrom
%%NEWSBIN%%/maint/newshist
%%NEWSBIN%%/maint/newswatch
%%NEWSBIN%%/maint/spaceshort
%%NEWSBIN%%/mkpdir
%%NEWSBIN%%/namecheck.awk
%%NEWSBIN%%/newshostname
%%NEWSBIN%%/newslock
%%NEWSBIN%%/nov/domkov
%%NEWSBIN%%/nov/expov
%%NEWSBIN%%/nov/expovguts
%%NEWSBIN%%/nov/initov
%%NEWSBIN%%/nov/mkov
%%NEWSBIN%%/nov/ovsplit
%%NEWSBIN%%/now
%%NEWSBIN%%/queuelen
%%NEWSBIN%%/relay/delsendsys
%%NEWSBIN%%/relay/delversion
%%NEWSBIN%%/relay/dodelayed
%%NEWSBIN%%/relay/doexplode
%%NEWSBIN%%/relay/explode
%%NEWSBIN%%/relay/newsreply
%%NEWSBIN%%/relay/relaynews
%%NEWSBIN%%/relay/relayrun
%%NEWSBIN%%/report
%%NEWSBIN%%/sizeof
%%NEWSBIN%%/spacefor
%%NEWSBIN%%/staleness
%%NEWSBIN%%/touchlock
%%NEWSBIN%%/unlock
%%NEWSBIN%%/pgpverify
%%NEWSBIN%%/config
@exec chown news:news %D/%%NEWSBIN%%/input/newsspool
@exec chmod 6555 %D/%%NEWSBIN%%/input/newsspool
@dirrm %%NEWSBIN%%/batch
@dirrm %%NEWSBIN%%/ctl
@dirrm %%NEWSBIN%%/decompressors
@dirrm %%NEWSBIN%%/expire
@dirrm %%NEWSBIN%%/inject
@dirrm %%NEWSBIN%%/input
@dirrm %%NEWSBIN%%/maint
@dirrm %%NEWSBIN%%/nov
@dirrm %%NEWSBIN%%/relay
@dirrm %%NEWSBIN%%
@owner news
@group news
@exec mkdir -p %%VARBASE%%/%%NEWSCTL%%
@exec chown news:news %%VARBASE%%/%%NEWSCTL%%
%%PORTEXAMPLES%%@unexec for i in %%NEWSCTL_FILES%%; do if cmp -s %%VARBASE%%/%%NEWSCTL%%/$i %D/%%EXAMPLESDIR%%/newsctl/$i; then rm -f %%VARBASE%%/%%NEWSCTL%%/$i; else echo "Preserving %%VARBASE%%/%%NEWSCTL%%/$i"; fi; done
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/active
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/active.times
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/batchparms
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/controlperm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/explist
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/history
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/history.dir
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/history.pag
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/inews
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/mailname
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/mailpaths
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/organization
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/postdefltgroup
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/readnews.ctl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/readnews.help
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/report.ctl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/sys
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/versionname
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsctl/whoami
%%PORTEXAMPLES%%@exec for i in %%NEWSCTL_FILES%%; do if test ! -f %%VARBASE%%/%%NEWSCTL%%/$i; then cp -p %D/%%EXAMPLESDIR%%/newsctl/$i %%VARBASE%%/%%NEWSCTL%%/$i; else echo "preservering %%VARBASE%%/%%NEWSCTL%%/$i"; fi; done
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/newsctl
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/control
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/junk
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/in.coming/bad
@exec chmod g+w %%VARBASE%%/%%NEWSARTS%%/in.coming
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.going
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.master
@exec mkdir -p %%VARBASE%%/%%NEWSARTS%%/out.nntp
@exec chown news:news %%VARBASE%%/%%NEWSARTS%%
@exec chown news:news %%VARBASE%%/%%NEWSARTS%%/*
@exec chown news:news %%VARBASE%%/%%NEWSARTS%%/news/announce
@exec chown news:news %%VARBASE%%/%%NEWSARTS%%/news/announce/newusers
@exec mkdir -p %%VARBASE%%/%%NEWSOV%%
@exec chown news:news %%VARBASE%%/%%NEWSOV%%
@cwd %%VARBASE%%
@dirrmtry %%NEWSCTL%%
@dirrmtry %%NEWSCTLBASE%%
@dirrmtry %%NEWSARTS%%/control
@dirrmtry %%NEWSARTS%%/junk
@dirrmtry %%NEWSARTS%%/news/announce/newusers
@dirrmtry %%NEWSARTS%%/news/announce
@dirrmtry %%NEWSARTS%%/news
@dirrmtry %%NEWSARTS%%/in.coming/bad
@dirrmtry %%NEWSARTS%%/in.coming
@dirrmtry %%NEWSARTS%%/out.going
@dirrmtry %%NEWSARTS%%/out.master
@dirrmtry %%NEWSARTS%%/out.nntp
@dirrmtry %%NEWSARTS%%
@owner
@group
|