inn-vl.spec 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. Summary: The InterNetNews (INN) system, an Usenet news server.
  2. Name: inn
  3. Version: 2.4.3
  4. Release: 0vl1
  5. License: GPL
  6. Group: System Environment/Daemons
  7. Source0: ftp://ftp.isc.org/isc/inn/inn-%{version}.tar.gz
  8. Source2: inn-default-distributions
  9. Source4: inn-cron-expire
  10. Source5: inn-cron-rnews
  11. Source7: inn-cron-nntpsend
  12. Source8: innd.init
  13. Source10: inn-faq.tar.gz
  14. Patch: inn-2.4.3.rh.patch
  15. Patch2: inn-2.4.1.perl.patch
  16. Patch3: inn-2.4.1.headusage.patch
  17. Patch4: inn-2.4.1.pie.patch
  18. Patch6: inn-2.4.1.posix.patch
  19. Patch7: inn-2.4.3.warn.patch
  20. Patch8: inn-2.4.2-makedbz.patch
  21. Buildroot: %{_tmppath}/%{name}-%{version}-root
  22. BuildRequires: perl python db4-devel byacc pam-devel e2fsprogs-devel
  23. Prereq: /sbin/chkconfig, grep, coreutils, sed
  24. Requires: bash >= 2.0, cleanfeed, inews
  25. %description
  26. INN (InterNetNews) is a complete system for serving Usenet news and/or
  27. private newsfeeds. INN includes innd, an NNTP (NetNews Transport
  28. Protocol) server, and nnrpd, a newsreader that is spawned for each
  29. client. Both innd and nnrpd vary slightly from the NNTP protocol, but
  30. not in ways that are easily noticed.
  31. Install the inn package if you need a complete system for serving and
  32. reading Usenet news. You may also need to install inn-devel, if you
  33. are going to use a separate program which interfaces to INN, like
  34. newsgate or tin.
  35. %package devel
  36. Summary: The INN (InterNetNews) library.
  37. Summary(ja): インターネットニュースライブラリ
  38. Group: Development/Libraries
  39. Requires: inn = %{version}
  40. %description devel
  41. The inn-devel package contains the INN (InterNetNews) library, which
  42. several programs that interface with INN need in order to work (for
  43. example, newsgate and tin).
  44. If you are installing a program which must interface with the INN news
  45. system, you should install inn-devel.
  46. %package -n inews
  47. Summary: Sends Usenet articles to a local news server for distribution.
  48. Group: Applications/Internet
  49. %description -n inews
  50. The inews program is used by some news programs (for example, inn and
  51. trn) to post Usenet news articles to local news servers. Inews reads
  52. an article from a file or standard input, adds headers, performs some
  53. consistency checks and then sends the article to the local news server
  54. specified in the inn.conf file.
  55. Install inews if you need a program for posting Usenet articles to
  56. local news servers.
  57. %prep
  58. %setup -q -a 10
  59. %patch -p1 -b .rh
  60. %patch2 -p1 -b .perl
  61. %patch3 -p1 -b .headusage
  62. %patch4 -p1 -b .pie
  63. %patch6 -p1 -b .posix
  64. %patch7 -p1 -b .warn
  65. %patch8 -p1 -b .makedbz
  66. perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f`
  67. perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
  68. %build
  69. export DEFINE_INN_FLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -DHAVE_ET_COM_ERR_H"
  70. %ifarch s390 s390x
  71. export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
  72. %else
  73. export CFLAGS="$RPM_OPT_FLAGS $DEFINE_INN_FLAGS -fpic -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
  74. %endif
  75. #export CFLAGS="$RPM_OPT_FLAGS -I/usr/include/db1"
  76. with_tmp_path=/var/lib/news/tmp ./configure --prefix=/usr/lib/news \
  77. --sysconfdir=/etc/news --mandir=%{_mandir} \
  78. --with-log-dir=/var/log/news --with-spool-dir=/var/spool/news\
  79. --with-db-dir=/var/lib/news --with-run-dir=/var/run/news \
  80. --with-etc-dir=/etc/news --with-tmp-dir=/var/lib/news/tmp \
  81. --with-perl --with-python --enable-shared --enable-uucp-rnews \
  82. --enable-pgp-verify --with-sendmail=/usr/sbin/sendmail \
  83. --with-news-user=news --with-news-group=news --with-news-master=news \
  84. --enable-ipv6 \
  85. %{_target_platform}
  86. # XXX don't include <db1/ndbm.h> to avoid linking with -ldb1.
  87. perl -pi -e 's/HAVE_DB1_NDBM_H/XXX_HAVE_DB1_NDBM_H/' ./include/config.h
  88. make
  89. %install
  90. rm -rf $RPM_BUILD_ROOT
  91. mkdir -p $RPM_BUILD_ROOT
  92. make install DESTDIR=$RPM_BUILD_ROOT
  93. #Shift libs to the right place
  94. if [ "/usr/lib" != "%{_libdir}" ]; then
  95. mkdir -p $RPM_BUILD_ROOT%{_libdir}/news/lib
  96. mv $RPM_BUILD_ROOT/usr/lib/news/lib/*.a $RPM_BUILD_ROOT%{_libdir}/news/lib
  97. fi
  98. # -- Install man pages needed by suck et al.
  99. mkdir -p $RPM_BUILD_ROOT/usr/include/inn
  100. for f in clibrary.h config.h dbz.h libinn.h storage.h
  101. do
  102. install -c -m 0644 ./include/$f $RPM_BUILD_ROOT/usr/include/inn
  103. done
  104. for f in defines.h system.h
  105. do
  106. install -c -m 0644 ./include/inn/$f $RPM_BUILD_ROOT/usr/include/inn
  107. done
  108. #for f in clibrary.h configdata.h config.h dbz.h libinn.h autoconfig.h storage.h
  109. #do
  110. # install -c -m 0644 ./include/$f $RPM_BUILD_ROOT/usr/include/inn
  111. #done
  112. mkdir -p $RPM_BUILD_ROOT/etc
  113. mv $RPM_BUILD_ROOT/usr/lib/news/bin/rc.news $RPM_BUILD_ROOT/etc
  114. touch $RPM_BUILD_ROOT/var/lib/news/subscriptions
  115. chmod 644 $RPM_BUILD_ROOT/var/lib/news/subscriptions
  116. install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/lib/news/distributions
  117. mkdir -p $RPM_BUILD_ROOT/etc/cron.{hourly,daily}
  118. install %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.daily/inn-cron-expire
  119. install %{SOURCE5} $RPM_BUILD_ROOT/etc/cron.hourly/inn-cron-rnews
  120. install %{SOURCE7} $RPM_BUILD_ROOT/etc/cron.hourly/inn-cron-nntpsend
  121. mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
  122. install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/innd
  123. touch $RPM_BUILD_ROOT/var/lib/news/history
  124. #LD_LIBRARY_PATH=$RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/bin/makedbz -i \
  125. # -f $RPM_BUILD_ROOT/var/lib/news/history
  126. #chmod 644 $RPM_BUILD_ROOT/var/lib/news/*
  127. cat > $RPM_BUILD_ROOT/etc/news/.profile <<EOF
  128. PATH=\$PATH:/usr/lib/news/bin
  129. export PATH
  130. EOF
  131. # we get this from cleanfeed
  132. rm -f $RPM_BUILD_ROOT/usr/lib/news/bin/filter/filter_innd.pl
  133. #Fix perms in sample directory to avoid bogus dependencies
  134. find samples -name "*.in" -exec chmod a-x {} \;
  135. mkdir -p $RPM_BUILD_ROOT/usr/bin
  136. ln -sf ../lib/news/bin/inews $RPM_BUILD_ROOT/usr/bin/inews
  137. ln -sf ../lib/news/bin/rnews $RPM_BUILD_ROOT/usr/bin/rnews
  138. #Build filelist
  139. rm -rf $RPM_BUILD_ROOT/usr/lib/news/include
  140. echo "%defattr(-,news,news)" > files.list
  141. find $RPM_BUILD_ROOT -type f -or -type l | \
  142. sed -e "s|$RPM_BUILD_ROOT||g" | \
  143. sed 's|^/etc/cron|%config(noreplace) %attr(-,root,root) &|' | \
  144. sed 's|^/etc/rc.d|%config(noreplace) %attr(-,root,root) &|' | \
  145. sed 's|^/etc|%config(noreplace) &|' | \
  146. sed 's|^/etc/news|%config(noreplace) %attr(0640,news,news) &|' | \
  147. sed 's|^/var/lib/news/|%config(noreplace) &|' | \
  148. sed 's|.*innshellvar|%config &|' | \
  149. sed 's|/var/log/news|%ghost &|' | \
  150. sed 's|/usr/lib/news/bin/inndstart$|%attr(4550,root,news) /usr/lib/news/bin/inndstart|' | \
  151. sed 's|/usr/lib/news/bin/startinnfeed$|%attr(4550,root,news) /usr/lib/news/bin/startinnfeed|' | \
  152. sed 's|/usr/lib/news/bin/rnews$|%attr(4550,uucp,news) /usr/lib/news/bin/rnews|' > files.list
  153. # echo "/usr/lib/news/bin/filter/*.pyc" >> files.list
  154. # echo "/usr/lib/news/bin/filter/*.pyo" >> files.list
  155. (echo "%defattr(-,news,news)" ; grep -v inews files.list | \
  156. egrep -v "\.(h|so|a|la)$" | \
  157. grep -v "news/inn.conf" | \
  158. grep -v "/man/") > files.main
  159. echo "%defattr(-,root,root)" > files.devel
  160. egrep "\.(h|so|a|la)$" files.list >> files.devel
  161. %clean
  162. rm -rf $RPM_BUILD_ROOT
  163. rm -f files.list files.main files.devel files.inews
  164. %post
  165. /sbin/chkconfig --add innd
  166. su news -c '/usr/lib/news/bin/makedbz -i -o'
  167. umask 002
  168. touch /var/log/news/news.notice
  169. touch /var/log/news/news.crit
  170. touch /var/log/news/news.err
  171. chown -R news:news /var/log/news*
  172. %triggerpostun -- inn < 2.3.0
  173. service innd stop > /dev/null 2>&1
  174. exit 0
  175. %triggerin -- sysklogd
  176. if [ -f /etc/syslog.conf ]; then
  177. if ! grep -q INN /etc/syslog.conf; then
  178. sed 's/mail.none;/mail.none;news.none;/' < /etc/syslog.conf > /etc/syslog.conf.inn
  179. mv /etc/syslog.conf.inn /etc/syslog.conf
  180. echo '' \
  181. >> /etc/syslog.conf
  182. echo '#' \
  183. >> /etc/syslog.conf
  184. echo '# INN' \
  185. >> /etc/syslog.conf
  186. echo '#' \
  187. >> /etc/syslog.conf
  188. echo 'news.=crit /var/log/news/news.crit' >> /etc/syslog.conf
  189. echo 'news.=err /var/log/news/news.err' >> /etc/syslog.conf
  190. echo 'news.notice /var/log/news/news.notice' >> /etc/syslog.conf
  191. fi
  192. if [ -f /var/run/syslog.pid ]; then
  193. kill -HUP `cat /var/run/syslog.pid` 2> /dev/null ||:
  194. fi
  195. fi
  196. %preun
  197. if [ $1 = 0 ]; then
  198. service innd stop > /dev/null 2>&1
  199. /sbin/chkconfig --del innd
  200. if [ -f /var/lib/news/history.dir ]; then
  201. rm -f /var/lib/news/history.*
  202. fi
  203. fi
  204. %postun
  205. if [ "$1" -ge 1 ]; then
  206. service innd condrestart > /dev/null 2>&1
  207. fi
  208. exit 0
  209. %files -f files.main
  210. %defattr(-,news,news)
  211. %dir /usr/lib/news/bin/control
  212. %dir /usr/lib/news/bin/filter
  213. %dir /usr/lib/news/bin/rnews.libexec
  214. %dir /usr/lib/news/bin/auth
  215. %dir /etc/news
  216. %dir /var/spool/news
  217. %dir /var/spool/news/archive
  218. %dir /var/spool/news/articles
  219. %dir /var/spool/news/incoming
  220. %dir /var/spool/news/incoming/bad
  221. %dir /var/spool/news/innfeed
  222. %dir /var/spool/news/outgoing
  223. %dir /var/spool/news/overview
  224. %dir /var/log/news
  225. %dir /var/log/news/OLD
  226. %dir /var/lib/news
  227. %dir /var/lib/news/tmp
  228. %dir /var/run/news
  229. %defattr(-,root,root)
  230. %{_mandir}/man1/c*.1.gz
  231. %{_mandir}/man1/f*.1.gz
  232. %{_mandir}/man1/g*.1.gz
  233. %{_mandir}/man1/inn*.1.gz
  234. %{_mandir}/man1/n*.1.gz
  235. %{_mandir}/man1/p*.1.gz
  236. %{_mandir}/man1/r*.1.gz
  237. %{_mandir}/man1/s*.1.gz
  238. %{_mandir}/man[58]/*
  239. %doc NEWS README* ChangeLog CONTRIBUTORS LICENSE INSTALL
  240. %doc %dir samples
  241. %files devel -f files.devel
  242. %defattr(-,root,root)
  243. %{_mandir}/man3/*
  244. %files -n inews
  245. %defattr(-,root,root)
  246. %config(noreplace) /etc/news/inn.conf
  247. /usr/bin/inews
  248. %attr(0755,root,root) /usr/lib/news/bin/inews
  249. %{_mandir}/man1/inews*
  250. %changelog
  251. * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.4.3-7vl1
  252. - s/Copyright/License/
  253. - updated to 2.4.3 based on FC package
  254. - rebuilt with new toolchain
  255. - updated BuildRequires and Requires
  256. - changed inews Group to Applications/Internet
  257. * Sat Aug 18 2001 <sagami@vinelinux.org>
  258. - 2.3.2-5vl1: sync with 2.3.2-5 from 2.3.1-2vl1 :-)
  259. - changed back Requires: bash
  260. * Mon Jul 02 2001 Shoji Matsumoto <shom@vinelinux.org>
  261. - rebuild for Vine ( from RH7.1 )
  262. - change Requires: bash
  263. * Wed Feb 14 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  264. - add startup script patch by kevin@labsysgrp.com #27421
  265. - inews subpackage does not depend on inn anymore #24439
  266. - fix reload and make some cleanups to the startup script #18076
  267. * Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  268. - add a "exit 0" to the postun script
  269. * Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  270. - update to 2.3.1
  271. - do not use --enable-tagged-hash
  272. - move tmp dir to /var/lib/news/tmp
  273. - add more docu
  274. - do not call "strip" directly
  275. - remove some of the default files as the ones in INN are ok
  276. - do not req /etc/init.d
  277. - do not attempt an automatic update from previous versions as
  278. we have to deal with different storage methods
  279. - prepare startup script for translations
  280. - add minimal check into startup for a history file
  281. * Mon Jan 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  282. - innreport had wrong perms
  283. - files for the cron-jobs must be owned by root:root
  284. * Tue Aug 29 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  285. - remove cleanfeed sources
  286. * Mon Jul 24 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  287. - fix some perms
  288. * Mon Jul 24 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  289. - update to 2.2.3
  290. - fixed many perms
  291. - cleaned up complete build process
  292. * Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
  293. - move initscript back
  294. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  295. - automatic rebuild
  296. * Sun Jul 10 2000 Bill Nottingham <notting@redhat.com>
  297. - add fix for the verifycancels problem fron Russ Allbery
  298. - turn them off anyways
  299. - fix perms on inews
  300. * Sat Jul 8 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  301. - prereq init.d
  302. * Tue Jun 27 2000 Than Ngo <than@redhat.de>
  303. - /etc/rc.d/init.d -> /etc/init.d
  304. - fix initscript
  305. * Sun Jun 25 2000 Matt Wilson <msw@redhat.com>
  306. - defattr root
  307. * Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
  308. - fix up some issues with our new gcc compiler (patch 6)
  309. - don't do chown in the install script so we can build as nonroot
  310. * Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
  311. - FHS mandir
  312. * Tue May 23 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  313. - add inn-2.2.2-rnews.patch which is also accepted in current cvs
  314. * Mon May 22 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  315. - fix stupid bug in rnews cronjob
  316. - enable controlchan in default newsfeeds config
  317. - run "rnews -U" hourly instead of daily
  318. * Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  319. - add bug-fix to batcher from cvs version
  320. - "su news" before starting rnews from cron
  321. * Mon Apr 3 2000 Bill Notttingham <notting@redhat.com>
  322. - arrgh, there is no /usr/lib/news anymore. (#10536)
  323. - pppatch ppport for ppproper ppperl
  324. * Thu Mar 02 2000 Cristian Gafton <gafton@redhat.com>
  325. - remove useless filter_innd.pl so that we will get the cleanfeed one
  326. instead
  327. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  328. - handle compressed manpages
  329. - other minor fixes
  330. * Tue Dec 14 1999 Bill Nottingham <notting@redhat.com>
  331. - update to 2.2.2
  332. * Sun Aug 29 1999 Cristian Gafton <gafton@redhat.com>
  333. - version 2.2.1 to fix security problems in previous inn versions
  334. - add the faq back to the source rpm
  335. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  336. - initscript munging
  337. * Tue Jun 22 1999 Jeff Johnson <jbj@redhat.com>
  338. - fix syntax error in reload (#3636).
  339. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  340. - don't run by default
  341. * Sun Jun 13 1999 Jeff Johnson <jbj@redhat.com>
  342. - mark /var/lib/news/* as %config(noreplace) (#3425)
  343. * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
  344. - change su news to su - news (#3331)
  345. * Wed Jun 2 1999 Jeff Johsnon <jbj@redhat.com>
  346. - complete trn->inews->inn dependency (#2646)
  347. - use f_bsize rather than f_frsize when computing blocks avail (#3154).
  348. - increase client timeout to 30 mins (=1800) (#2833).
  349. - add missing includes to inn-devel (#2904).
  350. * Mon May 31 1999 Jeff Johnson <jbj@redhat.com>
  351. - fix owner and permissions on /var/lib/news/.news.daily (#2354).
  352. * Tue Mar 30 1999 Preston Brown <pbrown@redhat.com>
  353. - fixed paths in cron jobs, check to see that innd is enabled
  354. * Fri Mar 26 1999 Preston Brown <pbrown@redhat.com>
  355. - path to makehistory corrected.
  356. * Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
  357. - fixed permissions on rnews for uucp
  358. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  359. - make sure init scripts get packaged up, fix other minor bugs
  360. - major fixups to innd.conf for denial of service attacks, sanity, etc.
  361. - make sure history gets rebuilt in an upgrade (added to post section)
  362. - many thanks go out to mmchen@minn.net for these suggestions.
  363. * Fri Feb 19 1999 Cristian Gafton <gafton@redhat.com>
  364. - prereq all the stuff we need in the postinstall scripts
  365. * Sat Feb 6 1999 Bill Nottingham <notting@redhat.com>
  366. - strip -x bits from docs/samples (bogus dependencies)
  367. * Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com>
  368. - updated to version 2.1
  369. * Fri Aug 21 1998 Jeff Johnson <jbj@redhat.com>
  370. - innd.init chkconfig entry was incorrect (problem #855)
  371. * Tue Jun 30 1998 Jeff Johnson <jbj@redhat.com>
  372. - susbsys name must be identical to script name (problem #700)
  373. * Mon Jun 29 1998 Bryan C. Andregg <bandregg@redhat.com>
  374. - fixed startinnfeed paths
  375. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  376. - translations modified for de, fr, tr
  377. * Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
  378. - enhanced initscript
  379. * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
  380. - fixed innfeed patched to be perl-version independent
  381. * Wed Apr 15 1998 Bryan C. Andregg <bandregg@redhat.com>
  382. - fixed sfnet.* entries in control.ctl
  383. * Mon Apr 13 1998 Bryan C. Andregg <bandregg@redhat.com>
  384. - moved cleanfeed to its own package
  385. * Thu Apr 09 1998 Bryan C. Andregg <bandregg@redhat.com>
  386. - added insync patches
  387. - added cleanfeed
  388. - added innfeed
  389. * Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
  390. - abuse buildroot to simplify the file list
  391. - built against Manhattan
  392. * Tue Mar 24 1998 Bryan C. Andregg <bandregg@redhat.com>
  393. - updated to inn 1.7.2
  394. - Added REMEMBER_TRASH and Poison patch
  395. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  396. - updated to inn 1.7
  397. - added chkconfig support to the initscripts
  398. - orginally released as release 2, leving release 1 if a 4.2.x upgrade
  399. is ever necessary
  400. - don't start it in any runlevel (by default)
  401. - added inndcomm.h
  402. * Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
  403. - built against glibc
  404. * Tue Aug 05 1997 Elliot Lee <sopwith@redhat.com>
  405. - Applied the 1.5.1sec and 1.5.1sec2 patches
  406. - Applied 3 more unoff patches.
  407. - Removed insanity in /etc/cron.hourly/inn-cron-nntpsend, it now
  408. just runs nntpsend as news.
  409. * Wed Apr 02 1997 Erik Troan <ewt@redhat.com>
  410. - Patch from CERT for sh exploit.
  411. - Changed /usr/ucb/compress reference to /usr/bin/compress
  412. * Mon Mar 17 1997 Erik Troan <ewt@redhat.com>
  413. - Removed inews.1 from main inn package (it's still in the inews packaeg)
  414. - Fixed references to /usr/spoo in sendbatch
  415. - added "-s -" to crosspost line in newsfeeds
  416. - /var/lib/news/active.time is now created as news.news
  417. - /etc/news/nnrp.access and /etc/news/nntpsend.ctl are mode 0440
  418. - included a better rc script which does a better job of shutting down news
  419. - updated /etc/rc.d/rc.news output look like the rest of our initscripts
  420. - hacked sendbatch df stuff to work on machines w/o a separate /var/spool/news
  421. * Tue Mar 11 1997 Erik Troan <ewt@redhat.com>
  422. - added chmod to make sure rnews is 755
  423. - /etc/news/nnrp.access and /etc/news/nntpsend.ctl are news.news not root.news
  424. or root.root
  425. - install an empty /var/lib/news/.news.daily as a config file
  426. - added dbz/dbz.h as /usr/include/dbz.h
  427. - added /usr/bin/inews link to /usr/lib/news/inews
  428. - changed INEWS_PATH to DONT -- I'm not sure this is right though
  429. - turned off MMAP_SYNC
  430. - added a ton of man pages which were missing from the filelist
  431. - increased CLIENT_TIMEOUT to (30 * 60)
  432. - added a postinstall to create /var/lib/news/active.times if it doesn't
  433. already exist
  434. - patched rc.news to start inn w/ -L flag
  435. - pulled news.init into a separate source file rather then creating it through
  436. a patch
  437. - added /etc/rc.d/rc5.d/S95news to the file list
  438. - remove pid files from /var/lock/news/* on shutdown
  439. - use /var/lock/subsys/news rather then /var/lock/subsys/inn or things
  440. don't shutdown properly
  441. * Mon Mar 10 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
  442. - changed devel package description to include tin.
  443. - the devel package missed libinn.h
  444. - moved libinn.3 man-page to the devel package
  445. - moved changelog up
  446. - in %post some echo statements were messed up. if we put the redirection
  447. staements in a different line than the echo command we really should use
  448. a backslash to thell the shell :-)
  449. - in %install a chmod line referenced the same directory twice.
  450. - changed inn-1.5.1-redhat.patch: The patch for news.daily had a side effect.
  451. as EXPIREOVERFLAGS was set to '-a', expireover would break if there were
  452. articles to be removed, as '-a' can't be used if '-z' is specified...
  453. Now there is a separate 'eval expireover -a' after the first eval. Dirty
  454. but works.
  455. * Wed Feb 26 1997 Erik Troan <ewt@redhat.com>
  456. - Added a /usr/bin/rnews symlink to /usr/lib/news/rnews as other programs like
  457. to use it.
  458. * Tue Feb 25 1997 Elliot Lee <sopwith@cuc.edu>
  459. - Fixed rnews path in /etc/cron.daily/inn-cron-rnews
  460. - Added overview! and crosspost lines to /etc/news/newsfeeds
  461. - Fixed nntpsend.ctl path in /usr/lib/news/bin/nntpsend, and set a saner
  462. nntpsend.ctl config file.
  463. - Added automated inn.conf 'server: ' line creation in %post
  464. - Added misc. patches from ftp.isc.org/isc/inn/unoff-patches/1.5
  465. - Removed -lelf from config.data LIBS
  466. - Made RPM_OPT_FLAGS work.
  467. - Bug in rpm meant that putting %post after %files made it not run. Moved
  468. %post up.
  469. - Added /etc/cron.hourly/inn-cron-nntpsend to send news every hour.
  470. - Fixed most of the misc permissions/ownership stuff that inncheck
  471. complained about.
  472. * Wed Feb 19 1997 Erik Troan <ewt@redhat.com>
  473. - Incorporated changes from <drdisk@tilx01.ti.fht-esslingen.de> which fixed
  474. some paths and restored the cron jobs which disappeared in the 1.5.1
  475. switch. He also made the whole thing use a buildroot and added some files
  476. which were missing from the file list.