]> git.pld-linux.org Git - packages/inn.git/blob - inn.spec
a394714be2ec9efd16432c2c576918c51cb95b3e
[packages/inn.git] / inn.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        INN, the InterNet News System (news server)
3 Summary(de):    das InterNet News System (News-Server)
4 Summary(fr):    INN, le système InterNet News (serveur de news)
5 Summary(pl):    INN, serwer nowinek 
6 Summary(tr):    INN, InterNet Haber Sistemi (haber sunucu)
7 Name:           inn
8 Version:        2.3.2
9 Release:        2
10 License:        Distributable
11 Group:          Networking/Daemons
12 Group(de):      Netzwerkwesen/Server
13 Group(pl):      Sieciowe/Serwery
14 Source0:        ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
15 Source1:        %{name}-default-active
16 Source2:        %{name}-default-distributions
17 Source3:        %{name}-default-newsgroups
18 Source4:        %{name}-etc-%{name}.conf
19 Source5:        %{name}-etc-newsfeeds
20 Source6:        %{name}.crontab
21 Source7:        %{name}.init
22 Source8:        %{name}-cnfsstat.cron
23 Source9:        %{name}.logrotate
24 Source10:       %{name}-etc-readers.conf
25 #Patch0:        ftp://ftp.north.ad.jp/pub/IPv6/INN/tmp/%{name}-2.3.0-v6-20001011.diff.gz
26 Patch0:         %{name}-ipv6.patch
27 Patch1:         %{name}-PLD.patch
28 Patch2:         %{name}-install.patch
29 Patch3:         %{name}-db3.patch
30 Patch4:         %{name}-setreuid.patch
31 Patch5:         %{name}-sec.patch
32 Patch6:         %{name}-frsize.patch
33 Patch7:         %{name}-ac25x.patch
34 URL:            http://www.isc.org/inn.html
35 BuildRequires:  autoconf
36 BuildRequires:  flex
37 BuildRequires:  bison
38 BuildRequires:  db3-devel
39 BuildRequires:  openssl-devel >= 0.9.6a
40 BuildRequires:  perl-devel >= 5.6.1
41 Requires:       cleanfeed >= 0.95.7b-4
42 Requires:       rc-scripts >= 0.2.0
43 Requires:       /etc/cron.d
44 Requires:       psmisc >= 20.1
45 Requires:       util-linux
46 Prereq:         /sbin/chkconfig
47 Prereq:         /sbin/ldconfig
48 Prereq:         rc-scripts
49 Prereq:         sed
50 Prereq:         fileutils
51 Prereq:         %{name}-libs = %{version}
52 Provides:       nntpserver
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55 %define         _sysconfdir     /etc/news
56
57 # /usr/bin/pullnews doesn't provide perl(Net::NNTP) - perl-libnet does.
58 %define         _noautoprov     "perl(Net::NNTP)"
59 # it's necessary only for sample nnrpd_auth.pl hook
60 %define         _noautoreq      "perl(CDB_File)"
61
62 %description
63 INN is a news server, which can be set up to handle USENET news, as
64 well as private "newsfeeds". There is a *LOT* of information about
65 setting up INN in /usr/share/doc -- read it.
66
67 If you want innreport to generate graphs you need perl-GD package.
68
69 %description -l pl
70 INN jest serwerem news, który mo¿na skonfigurowaæ do obs³ugi USENET-u,
71 jak równie¿ do obs³ugi ,,prywatnych'' grup w sieciach intranetowych.
72 Ca³e mnóstwo po¿ytecznych informacji o konfigurowaniu INN-a znajdziesz
73 w katalogu /usr/share/doc/inn-*.
74
75 Je¶li chcesz ¿eby innreport generowa³ wykresy musisz zainstalowaæ
76 pakiet perl-GD.
77
78 %package libs
79 Summary:        INN libraries
80 Summary(de):    INN-Library
81 Summary(fr):    Bibliothèque INN
82 Summary(pl):    Biblioteki do INN-a
83 Group:          Development/Libraries
84 Group(de):      Entwicklung/Libraries
85 Group(fr):      Development/Librairies
86 Group(pl):      Programowanie/Biblioteki
87
88 %description libs
89 This library is needed by several programs that interface to INN, such
90 as newsgate or tin.
91
92 %description -l de libs
93 Diese Library wird von mehreren Programmen benötigt, die mit INN
94 kommunizieren, etwa newsgate oder tin.
95
96 %description -l fr libs
97 Cette bibliothèque est nécessaire à plusieurs programmes qui
98 s'interfacent avec INN, comme newsgate ou tin.
99
100 %description -l pl libs
101 Biblioteka niezbêdna do dzia³ania kilku programów wspó³pracuj±cych z
102 INN-em, takich jak newsgate czy tin.
103
104 %description -l tr libs
105 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
106 bir kitaplýktýr.
107
108 %package devel
109 Summary:        INN header files and development documentations
110 Summary(de):    INN-Library
111 Summary(fr):    Bibliothèque INN
112 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty do inn-a
113 Summary(tr):    INN kitaplýðý
114 Group:          Development/Libraries
115 Group(de):      Entwicklung/Libraries
116 Group(fr):      Development/Librairies
117 Group(pl):      Programowanie/Biblioteki
118 Requires:       %{name}-libs = %{version}
119 Requires:       db3-devel
120
121 %description devel
122 Header files and developer documentations for INN libraries.
123
124 %description -l de devel
125 Diese Library wird von mehreren Programmen benötigt, die mit INN
126 kommunizieren, etwa newsgate oder tin.
127
128 %description -l fr devel
129 Cette bibliothèque est nécessaire à plusieurs programmes qui
130 s'interfacent avec INN, comme newsgate ou tin.
131
132 %description -l pl devel
133 Pliki nag³ówkowe i dokumentacja programisty do bibliotek INN-a.
134
135 %description -l tr devel
136 INN ile arayüz gerektiren programlar için (newsgate, tin gibi) gereken
137 bir kitaplýktýr.
138
139 %package static
140 Summary:        Static INN libraries
141 Summary(pl):    Biblioteki statyczne do INN
142 Group:          Development/Libraries
143 Group(de):      Entwicklung/Libraries
144 Group(fr):      Development/Librairies
145 Group(pl):      Programowanie/Biblioteki
146 Requires:       %{name}-devel = %{version}
147
148 %description static
149 Static INN libraries.
150
151 %description -l pl static
152 Biblioteki statyczne do INN.
153
154 %package -n inews
155 Summary:        Inews program (used for posting by inn and trn)
156 Summary(de):    Inews-Programm (für die Zustellung mit inn und trn) 
157 Summary(fr):    Programme inews (utilisé par inn et trn pour poster)
158 Summary(pl):    Inews - program do wysy³ania artyku³ów (u¿ywany przez inn i trn)
159 Summary(tr):    Haber biçimlendirme programý
160 Group:          Networking/News
161 Group(de):      Netzwerkwesen/News
162 Group(pl):      Sieciowe/News
163
164 %description -n inews
165 The inews program is used by some news readers to post news. It does
166 some consistency checking and header reformatting, and forwards the
167 article on to the news server specified in inn.conf.
168
169 %description -l de -n inews
170 Das Programm 'inews' wird von manchen Newsreadern zum Senden von
171 Nachrichten verwendet. Es führt eine Konsistenzprüfung und Header-Neuf
172 ormatierung aus und leitet die Nachricht an den in 'inn.conf'
173 angegebenen News-Server weiter.
174
175 %description -l fr -n inews
176 Le programme inews est utilisé par certains lecteurs de news pour
177 poster les articles. Il effectue des vérifications et un reformatage
178 des en-têtes et fait suivre l'article au serveur de news spécifié dans
179 inn.conf.
180
181 %description -l pl -n inews
182 Inews jest u¿ywany przez niektóre czytniki news do wysy³ania
183 artyku³ów. Sprawdza budowê artyku³u, przepisuje nag³ówek i wysy³a do
184 serwera news wyszczególnionego w inn.conf.
185
186 %description -l tr -n inews
187 inews programý bazý haber okuyucular tarafýndan haber yollamak
188 amacýyla kullanýlýr. Program bazý güvenlik denetimleri ve baþlýk
189 biçimlendirmesi yaparak ve inn.conf dosyasýnda belirtilen haber
190 sunucuya makaleyi yollar.
191
192 %prep
193 %setup -q
194 %patch0 -p1
195 %patch1 -p1
196 %patch2 -p1
197 %patch3 -p1
198 %patch4 -p1
199 %patch5 -p1
200 %patch6 -p1
201 %patch7 -p1
202
203 %build
204 touch innfeed/*.[ly]
205
206 rm -f config.cache
207 autoconf
208 libtoolize --copy --force
209 %configure \
210         --with-news-user=news \
211         --with-news-group=news \
212         --with-news-master=news \
213         --with-db-dir=/var/lib/news \
214         --with-etc-dir=%{_sysconfdir} \
215         --with-log-dir=/var/log/news \
216         --with-run-dir=/var/run/news \
217         --with-spool-dir=/var/spool/news \
218         --with-lib-dir=%{_datadir}/news \
219         --with-tmp-path=/var/spool/news/incoming/tmp \
220         --with-perl \
221         --with-sendmail=%{_libdir}/sendmail \
222         --with-openssl=%{_prefix} \
223         --with-berkeleydb=%{_prefix} \
224         %{?_with_largefiles:--with-largefiles} \
225         %{!?_with_largefiles:--enable-tagged-hash} \
226         --enable-merge-to-groups \
227         --enable-pgp-verify \
228         --enable-shared \
229         --enable-static \
230         --enable-libtool \
231         --enable-ipv6 \
232         --enable-dual-socket
233
234 %{__make} all PATHFILTER=%{_datadir}/news/filter \
235         PATHCONTROL=%{_datadir}/news/control
236
237 %install 
238 rm -rf $RPM_BUILD_ROOT
239 install -d $RPM_BUILD_ROOT/etc/{news,rc.d/init.d,cron.d,logrotate.d} \
240         $RPM_BUILD_ROOT{%{_libdir}/news/{rnews,auth/generic},%{_includedir}/inn} \
241         $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/news/{control,filter,auth}} \
242         $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,8} \
243         $RPM_BUILD_ROOT/var/{run/news,lib/news/backoff,log/{news,archiv/news}} \
244         $RPM_BUILD_ROOT/var/spool/news/{articles,overview,incoming/{tmp,bad},outgoing,archive,uniover,innfeed,cycbuffs}
245
246 %{__make} install \
247         DESTDIR="$RPM_BUILD_ROOT" \
248         PATHFILTER=%{_datadir}/news/filter \
249         PATHCONTROL=%{_datadir}/news/control \
250         PATHRNEWS=%{_libdir}/news/rnews \
251         PATHAUTHPASSWD=%{_libdir}/news/auth/passwd \
252         PATHAUTHRESOLV=%{_libdir}/news/auth/resolv
253
254 install samples/readers.conf $RPM_BUILD_ROOT%{_sysconfdir}/readers.conf
255
256 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/news/active
257 install %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
258 install %{SOURCE3} $RPM_BUILD_ROOT/var/lib/news/newsgroups
259 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/inn.conf
260 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/newsfeeds
261 install %{SOURCE6} $RPM_BUILD_ROOT/etc/cron.d/inn
262 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/inn
263 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/cnfsstat.cron
264 install %{SOURCE9} $RPM_BUILD_ROOT/etc/logrotate.d/inn
265 install %{SOURCE10} $RPM_BUILD_ROOT/%{_sysconfdir}/readers.conf
266
267 rm -f $RPM_BUILD_ROOT/var/lib/news/history
268
269 umask 002
270 touch $RPM_BUILD_ROOT/var/lib/news/subscriptions
271 touch $RPM_BUILD_ROOT/var/lib/news/history
272 touch $RPM_BUILD_ROOT/var/lib/news/.news.daily
273 touch $RPM_BUILD_ROOT/var/lib/news/active.times
274 touch $RPM_BUILD_ROOT/var/log/news/news.notice
275 touch $RPM_BUILD_ROOT/var/log/news/news.crit
276 touch $RPM_BUILD_ROOT/var/log/news/news.err
277
278 touch $RPM_BUILD_ROOT%{_includedir}/inn/configdata.h    
279 install include/{clibrary,dbz,libinn,nntp,ov,qio,ppport,rwlock,storage}.h \
280         $RPM_BUILD_ROOT%{_includedir}/inn
281
282 mv -f $RPM_BUILD_ROOT%{_datadir}/news/*.{a,la,so*} $RPM_BUILD_ROOT%{_libdir}
283
284 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_datadir} $RPM_BUILD_ROOT%{_bindir}/makehistory \
285         -a $RPM_BUILD_ROOT/var/lib/news/active \
286         -i -r -f $RPM_BUILD_ROOT/var/lib/news/history || :
287
288 #Fix perms in sample directory to avoid bogus dependencies
289 find samples -name "*.in" -exec chmod a-x {} \;
290
291 gzip -9nf CONTRIBUTORS INSTALL HISTORY README* ChangeLog LICENSE NEWS
292
293 %clean
294 rm -rf $RPM_BUILD_ROOT
295
296 %post
297 if [ -f /var/lib/news/history ]; then
298         cd /var/lib/news
299         %{_bindir}/makedbz -s `wc -l <history` -f history
300         for i in dir hash index pag; do
301                 [ -f history.n.$i ] && mv history.n.$i history.$i
302         done
303         chown news.news history.*
304         chmod 644 history.*
305 else
306         cd /var/lib/news
307         cp /dev/null history
308         %{_bindir}/makehistory
309         %{_bindir}/makedbz -s `wc -l <history` -f history
310         for i in dir hash index pag; do
311                 [ -f history.n.$i ] && mv history.n.$i history.$i
312         done
313         chown news.news history history.*
314         chmod 644 history history.*
315 fi
316 [ -f /var/lib/news/active.times ] || {
317         touch /var/lib/news/active.times
318         chown news.news /var/lib/news/active.times
319 }
320
321 [ -f /var/log/news/news.notice ] || {
322         touch /var/log/news/news.notice
323         chown news.news /var/log/news/news.notice
324         chmod 664 /var/log/news/news.notice
325 }
326
327 [ -f /var/log/news/news.crit ] || {
328         touch /var/log/news/news.crit
329         chown news.news /var/log/news/news.crit
330         chmod 660 /var/log/news/news.crit
331 }
332
333 [ -f /var/log/news/news.err ] || {
334         touch /var/log/news/news.err
335         chown news.news /var/log/news/news.err
336         chmod 660 /var/log/news/news.err
337 }
338
339 [ -f /var/lib/news/.news.daily ] || {
340         touch /var/lib/news/.news.daily
341         chown news.news /var/lib/news/.news.daily
342         chmod 664 /var/lib/news/.news.daily
343 }
344
345 if [ -f /etc/syslog.conf ]; then
346   if ! grep -q INN /etc/syslog.conf; then
347     sed 's/mail.none;/mail.none;news.none;/' < /etc/syslog.conf > /etc/syslog.conf.inn
348     mv -f /etc/syslog.conf.inn /etc/syslog.conf
349     echo ''                                                                             >> /etc/syslog.conf
350     echo '#'                                                                            >> /etc/syslog.conf
351     echo '# INN'                                                                        >> /etc/syslog.conf
352     echo '#'                                                                            >> /etc/syslog.conf
353     echo 'news.=crit                                        /var/log/news/news.crit'    >> /etc/syslog.conf
354     echo 'news.=err                                         /var/log/news/news.err'     >> /etc/syslog.conf
355     echo 'news.notice                                       /var/log/news/news.notice'  >> /etc/syslog.conf
356     fi
357   if [ -f /var/run/syslog.pid ]; then
358     kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||:
359   fi
360 else
361     # syslog.conf does not exist
362     echo "mail.none /var/log/messages"                                                  > /etc/syslog.conf.inn
363     echo ""                                                                             >> /etc/syslog.conf.inn
364     echo "# INN"                                                                        >> /etc/syslog.conf.inn
365     echo "news.=crit                                      /var/log/news/news.crit"      >> /etc/syslog.conf.inn
366     echo "news.=err                                       /var/log/news/news.err"       >> /etc/syslog.conf.inn
367     echo "news.notice                                     /var/log/news/news.notice"    >> /etc/syslog.conf.inn
368 fi
369
370 /sbin/chkconfig --add inn
371 if [ -f /var/lock/subsys/inn ]; then
372         /etc/rc.d/init.d/inn restart >&2
373 else
374         echo "Run \"/etc/rc.d/init.d/inn start\" to start inn news server." >&2
375 fi
376
377 %preun
378 if [ "$1" = "0" ]; then
379         if [ -f /var/lock/subsys/news ]; then
380                 /etc/rc.d/init.d/inn stop
381         fi
382         /sbin/chkconfig --del inn
383 fi
384
385 %post libs -p /sbin/ldconfig 
386 %postun libs -p /sbin/ldconfig 
387
388 %files
389 %defattr(644,root,root,755)
390 %doc {CONTRIBUTORS,INSTALL,HISTORY,README*,ChangeLog,LICENSE,NEWS}.gz
391
392 # DB
393 %attr(770,root,news) %dir /var/lib/news
394 %attr(770,root,news) %dir /var/lib/news/backoff
395 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active
396 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/distributions
397 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/newsgroups
398 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/subscriptions
399 %attr(664,root,news) %config(noreplace) %verify(not size mtime md5) /var/lib/news/active.times
400 %attr(664,news,news) %ghost /var/lib/news/.news.daily
401 %attr(664,news,news) %ghost /var/lib/news/history
402
403 # LOGS
404 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/inn
405 %attr(770,root,news) %dir /var/log/news
406 %attr(770,root,news) %dir /var/log/archiv/news
407 %attr(770,news,news) %dir /var/run/news
408 %attr(664,news,news) %ghost /var/log/news/news.notice
409 %attr(660,news,news) %ghost /var/log/news/news.crit
410 %attr(660,news,news) %ghost /var/log/news/news.err
411
412 # SPOOL
413 %attr(771,root,news) %dir /var/spool/news
414 %attr(770,root,news) %dir /var/spool/news/archive
415 %attr(770,root,news) %dir /var/spool/news/articles
416 %attr(770,root,news) %dir /var/spool/news/cycbuffs
417 %attr(770,root,news) %dir /var/spool/news/incoming
418 %attr(770,root,news) %dir /var/spool/news/incoming/bad
419 %attr(770,root,news) %dir /var/spool/news/incoming/tmp
420 %attr(770,root,news) %dir /var/spool/news/innfeed
421 %attr(770,root,news) %dir /var/spool/news/outgoing
422 %attr(770,root,news) %dir /var/spool/news/overview
423 %attr(770,root,news) %dir /var/spool/news/uniover
424
425 # CRON PARTS
426 %attr(640,root,root) %config %verify(not size mtime md5) /etc/cron.d/inn
427
428 # RC-SCRIPT
429 %attr(754,root,root) /etc/rc.d/init.d/inn
430
431 # CONFIGS (INN is a one big config ;-)
432 %attr(755,root,news) %dir %{_sysconfdir}
433 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/actsync.cfg
434 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/actsync.ign
435 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/buffindexed.conf
436 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/control.ctl
437 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cycbuff.conf
438 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/distrib.pats
439 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/expire.ctl
440 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/incoming.conf
441 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/inn.conf
442 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innfeed.conf
443 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innreport.conf
444 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/innwatch.ctl
445 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/moderators
446 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/motd.news
447 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/news2mail.cf
448 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/newsfeeds
449 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nnrpd.track
450 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nntpsend.ctl
451 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ovdb.conf
452 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/overview.fmt
453 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/passwd.nntp
454 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/radius.conf
455 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/readers.conf
456 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sasl.conf
457 %attr(640,root,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/storage.conf
458
459 %attr(755,root,news) %dir %{_datadir}/news
460 %attr(755,root,root) %dir %{_datadir}/news/control
461 %attr(755,root,root) %dir %{_datadir}/news/filter
462
463 %attr(755,root,root) %{_datadir}/news/docheckgroups
464 %config %verify(not size mtime md5) %{_datadir}/news/innreport_inn.pm
465 %config %verify(not size mtime md5) %{_datadir}/news/innshellvars
466 %config %verify(not size mtime md5) %{_datadir}/news/innshellvars.pl
467 %config %verify(not size mtime md5) %{_datadir}/news/innshellvars.tcl
468
469 %config %verify(not size mtime md5) %{_datadir}/news/filter/INN.py
470 %config %verify(not size mtime md5) %{_datadir}/news/filter/filter_nnrpd.pl
471 %config %verify(not size mtime md5) %{_datadir}/news/filter/filter.tcl
472 %config %verify(not size mtime md5) %{_datadir}/news/filter/nnrpd_auth.pl
473 %config %verify(not size mtime md5) %{_datadir}/news/filter/nnrpd_auth.py
474 %config %verify(not size mtime md5) %{_datadir}/news/filter/startup_innd.pl
475 %config %verify(not size mtime md5) %{_datadir}/news/filter/startup.tcl
476
477 %attr(755,root,root) %{_datadir}/news/control/checkgroups
478 %attr(755,root,root) %{_datadir}/news/control/checkgroups.pl
479 %attr(755,root,root) %{_datadir}/news/control/default
480 %attr(755,root,root) %{_datadir}/news/control/ihave
481 %attr(755,root,root) %{_datadir}/news/control/ihave.pl
482 %attr(755,root,root) %{_datadir}/news/control/newgroup
483 %attr(755,root,root) %{_datadir}/news/control/newgroup.pl
484 %attr(755,root,root) %{_datadir}/news/control/rmgroup
485 %attr(755,root,root) %{_datadir}/news/control/rmgroup.pl
486 %attr(755,root,root) %{_datadir}/news/control/sendme
487 %attr(755,root,root) %{_datadir}/news/control/sendme.pl
488 %attr(755,root,root) %{_datadir}/news/control/sendsys
489 %attr(755,root,root) %{_datadir}/news/control/sendsys.pl
490 %attr(755,root,root) %{_datadir}/news/control/senduuname
491 %attr(755,root,root) %{_datadir}/news/control/senduuname.pl
492 %attr(755,root,root) %{_datadir}/news/control/version
493 %attr(755,root,root) %{_datadir}/news/control/version.pl
494
495 %attr(755,root,news) %dir %{_libdir}/news
496 %attr(755,root,root) %dir %{_libdir}/news/auth
497 %attr(755,root,root) %dir %{_libdir}/news/auth/generic
498 %attr(755,root,root) %dir %{_libdir}/news/auth/passwd
499 %attr(755,root,root) %dir %{_libdir}/news/auth/resolv
500 %attr(755,root,root) %dir %{_libdir}/news/rnews
501
502 %attr(755,root,root) %{_libdir}/news/auth/passwd/*
503 %attr(755,root,root) %{_libdir}/news/auth/resolv/*
504 %attr(755,root,root) %{_libdir}/news/rnews/*
505
506 # SUID
507 %attr(4754,root,news) %{_bindir}/inndstart
508 %attr(4754,root,news) %{_bindir}/startinnfeed
509 %attr(4754,root,uucp) %{_bindir}/rnews
510
511 # BINARIES
512 %attr(755,root,root) %{_bindir}/actmerge
513 %attr(755,root,root) %{_bindir}/actsync
514 %attr(755,root,root) %{_bindir}/actsyncd
515 %attr(755,root,root) %{_bindir}/archive
516 %attr(755,root,root) %{_bindir}/batcher
517 %attr(755,root,root) %{_bindir}/buffchan
518 %attr(755,root,root) %{_bindir}/cnfsheadconf
519 %attr(755,root,root) %{_bindir}/cnfsstat
520 %attr(755,root,root) %{_bindir}/cnfsstat.cron
521 %attr(755,root,root) %{_bindir}/controlbatch
522 %attr(755,root,root) %{_bindir}/controlchan
523 %attr(755,root,root) %{_bindir}/convdate
524 %attr(755,root,root) %{_bindir}/ctlinnd
525 %attr(755,root,root) %{_bindir}/cvtbatch
526 %attr(755,root,root) %{_bindir}/dbprocs
527 %attr(755,root,root) %{_bindir}/expire
528 %attr(755,root,root) %{_bindir}/expireover
529 %attr(755,root,root) %{_bindir}/expirerm
530 %attr(755,root,root) %{_bindir}/fastrm
531 %attr(755,root,root) %{_bindir}/filechan
532 %attr(755,root,root) %{_bindir}/getlist
533 %attr(755,root,root) %{_bindir}/grephistory
534 %attr(755,root,root) %{_bindir}/inncheck
535 %attr(755,root,root) %{_bindir}/innconfval
536 %attr(755,root,root) %{_bindir}/innd
537 %attr(755,root,root) %{_bindir}/inndf
538 %attr(755,root,root) %{_bindir}/innfeed
539 %attr(755,root,root) %{_bindir}/innmail
540 %attr(755,root,root) %{_bindir}/innreport
541 %attr(755,root,root) %{_bindir}/innstat
542 %attr(755,root,root) %{_bindir}/innwatch
543 %attr(755,root,root) %{_bindir}/innxbatch
544 %attr(755,root,root) %{_bindir}/innxmit
545 %attr(755,root,root) %{_bindir}/mailpost
546 %attr(755,root,root) %{_bindir}/makedbz
547 %attr(755,root,root) %{_bindir}/makehistory
548 %attr(755,root,root) %{_bindir}/mod-active
549 %attr(755,root,root) %{_bindir}/news.daily
550 %attr(755,root,root) %{_bindir}/news2mail
551 %attr(755,root,root) %{_bindir}/newsrequeue
552 %attr(755,root,root) %{_bindir}/nnrpd
553 %attr(755,root,root) %{_bindir}/nntpget
554 %attr(755,root,root) %{_bindir}/nntpsend
555 %attr(755,root,root) %{_bindir}/ovdb_*
556 %attr(755,root,root) %{_bindir}/overchan
557 %attr(755,root,root) %{_bindir}/parsecontrol
558 %attr(755,root,root) %{_bindir}/pgpverify
559 %attr(755,root,root) %{_bindir}/procbatch
560 %attr(755,root,root) %{_bindir}/prunehistory
561 %attr(755,root,root) %{_bindir}/pullnews
562 %attr(755,root,root) %{_bindir}/scanlogs
563 %attr(755,root,root) %{_bindir}/scanspool
564 %attr(755,root,root) %{_bindir}/sendbatch
565 %attr(755,root,root) %{_bindir}/send-ihave
566 %attr(755,root,root) %{_bindir}/send-nntp
567 %attr(755,root,root) %{_bindir}/send-uucp
568 %attr(755,root,root) %{_bindir}/sendxbatches
569 %attr(755,root,root) %{_bindir}/shlock
570 %attr(755,root,root) %{_bindir}/shrinkfile
571 %attr(755,root,root) %{_bindir}/signcontrol
572 %attr(755,root,root) %{_bindir}/simpleftp
573 %attr(755,root,root) %{_bindir}/sm
574 %attr(755,root,root) %{_bindir}/tally.control
575 %attr(755,root,root) %{_bindir}/writelog
576
577 # MAN
578 %{_mandir}/man1/ckpasswd.1*
579 %{_mandir}/man1/convdate.1*
580 %{_mandir}/man1/getlist.1*
581 %{_mandir}/man1/grephistory.1*
582 %{_mandir}/man1/innconfval.1*
583 %{_mandir}/man1/innfeed.1*
584 %{_mandir}/man1/nntpget.1*
585 %{_mandir}/man1/rnews.1*
586 %{_mandir}/man1/shlock.1*
587 %{_mandir}/man1/shrinkfile.1*
588 %{_mandir}/man1/simpleftp.1*
589 %{_mandir}/man1/startinnfeed.1*
590 %{_mandir}/man[58]/**
591
592 %files libs
593 %defattr(644,root,root,755)
594 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
595
596 %files devel
597 %defattr(644,root,root,755)
598 %{_includedir}/inn
599 %{_libdir}/lib*.la
600 %{_libdir}/lib*.so
601 %{_mandir}/man3/*
602
603 %files static
604 %defattr(644,root,root,755)
605 %{_libdir}/lib*.a
606
607 %files -n inews
608 %defattr(644,root,root,755)
609 %attr(755,root,news) %{_bindir}/inews
610 %{_mandir}/man1/inews.1*
This page took 0.105698 seconds and 2 git commands to generate.