cvsdist 0512e87
Summary: A spam filter for Usenet news servers.
cvsdist 0512e87
Name: cleanfeed
cvsdist 0512e87
%define version 0.95.7b
cvsdist 0512e87
Version: %{version}
cvsdist acaa353
Release: 20
cvsdist 9bd8be9
License: distributable
cvsdist 0512e87
Group: System Environment/Daemons
cvsdist 0512e87
Source0: ftp://ftp.exit109.com/users/jeremy/cleanfeed-%{version}.tar.gz
cvsdist 0512e87
Patch0: cleanfeed-0.95.7b-redhat.patch
cvsdist 7ccb508
Patch1: cleanfeed-0.95.7b-ro.patch
cvsdist 9bd8be9
Buildroot: %{_tmppath}/cleanfeed-root
cvsdist 0512e87
BuildArchitectures: noarch
cvsdist 0512e87
cvsdist 0512e87
%description
cvsdist 0512e87
Cleanfeed is an automatic spam filter for Usenet news servers and
cvsdist 0512e87
routers (INN, Cyclone, Typhoon, Breeze and NNTPRelay).  Cleanfeed
cvsdist 0512e87
looks for duplicated messages, repeated patterns, and known spamming
cvsdist 0512e87
sites and domains.  It can be configured to block binary posts to
cvsdist 0512e87
non-binary newsgroups, to cancel already-rejected articles, and to
cvsdist 0512e87
reject some spamming from local users.
cvsdist 0512e87
cvsdist 0512e87
Install the cleanfeed package if you need a spam filter for a Usenet
cvsdist 0512e87
news server.
cvsdist 0512e87
cvsdist 0512e87
%prep
cvsdist 0512e87
%setup -q
cvsdist 0512e87
%patch0 -p1 -b .rh
cvsdist 7ccb508
%patch1 -p1
cvsdist 0512e87
cvsdist 0512e87
%install
cvsdist 0512e87
rm -rf $RPM_BUILD_ROOT
cvsdist 0512e87
mkdir -p $RPM_BUILD_ROOT/etc/news
cvsdist 0512e87
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
cvsdist b340a18
mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin/filter
cvsdist 0512e87
install -m 0644 cleanfeed.conf $RPM_BUILD_ROOT/etc/news/
cvsdist 0512e87
install -m 0644 cleanfeed.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
cvsdist 0512e87
install -m 0750 cleanfeed \
cvsdist b340a18
	$RPM_BUILD_ROOT/usr/lib/news/bin/filter/filter_innd.pl
cvsdist 0512e87
cvsdist 0512e87
%clean
cvsdist 0512e87
rm -rf $RPM_BUILD_ROOT
cvsdist 0512e87
cvsdist 0512e87
%files
cvsdist 0512e87
%attr(-,news,news) %config /etc/news/cleanfeed.conf
cvsdist 0512e87
%attr(-,root,root) %{_mandir}/man8/cleanfeed.8*
cvsdist 5cfc347
%attr(755,news,news) %dir /usr/lib/news/bin/filter
cvsdist b340a18
%attr(-,news,news) /usr/lib/news/bin/filter/filter_innd.pl
cvsdist 0512e87
cvsdist 0512e87
%changelog
cvsdist acaa353
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist acaa353
- rebuilt
cvsdist acaa353
cvsdist 2bdf910
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 2bdf910
- rebuilt
cvsdist 2bdf910
cvsdist 2bdf910
* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
cvsdist 2bdf910
- rebuild in current collinst
cvsdist 2bdf910
cvsdist 5cfc347
* Mon Jul 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 5cfc347
- adjust dir perms #70016
cvsdist 5cfc347
cvsdist b340a18
* Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist b340a18
- adjust path for newest inn package
cvsdist b340a18
cvsdist b340a18
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist b340a18
- automated rebuild
cvsdist b340a18
cvsdist b340a18
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist b340a18
- automated rebuild
cvsdist b340a18
cvsdist b340a18
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist b340a18
- automated rebuild
cvsdist b340a18
cvsdist 9bd8be9
* Mon Jun 18 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 9bd8be9
- move buildroot to %%{_tmppath}
cvsdist 9bd8be9
- s/Copyright:/License:/
cvsdist 9bd8be9
- rebuild in new environment to get perl requirements
cvsdist 9bd8be9
cvsdist 7ccb508
* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 7ccb508
- fix ro-variable bug #39228
cvsdist 7ccb508
cvsdist 0512e87
* Sun Aug  6 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 0512e87
- add dir /usr/bin/filter/ with perms like in inn
cvsdist 0512e87
cvsdist 0512e87
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 0512e87
- automatic rebuild
cvsdist 0512e87
cvsdist 0512e87
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 0512e87
- automatic rebuild
cvsdist 0512e87
cvsdist 0512e87
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
cvsdist 0512e87
- use %%{_mandir}
cvsdist 0512e87
- buildable as non-root
cvsdist 0512e87
cvsdist 0512e87
* Thu Mar 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 0512e87
- fix location to match inn-2.2.2 in /usr/bin/filter
cvsdist 0512e87
cvsdist 0512e87
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 0512e87
- fix description
cvsdist 0512e87
- man pages are compressed
cvsdist 0512e87
cvsdist 0512e87
* Tue Aug 10 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 0512e87
- don't require perl-MD5 anymore (that was merged in the main perl package)
cvsdist 0512e87
cvsdist 0512e87
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 0512e87
- auto rebuild in the new build environment (release 3)
cvsdist 0512e87
cvsdist 0512e87
* Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
cvsdist 0512e87
- build for 6.0
cvsdist 0512e87
cvsdist 0512e87
* Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 0512e87
- update to 0.95.7b
cvsdist 0512e87
cvsdist 0512e87
* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 0512e87
- spec file cleanups
cvsdist 0512e87
- patch to get rod of /usr/local/bin/perl
cvsdist 0512e87
cvsdist 0512e87
* Mon Apr 13 1998 Bryan C. Andregg <bandregg@redhat.com>
cvsdist 0512e87
- first package
cvsdist 0512e87