Blob Blame History Raw
Summary: A spam filter for Usenet news servers.
Name: cleanfeed
Version: 0.95.7b
Release: 21.1.1
License: distributable
Group: System Environment/Daemons
Source0: ftp://ftp.exit109.com/users/jeremy/cleanfeed-%{version}.tar.gz
Patch0: cleanfeed-0.95.7b-redhat.patch
Patch1: cleanfeed-0.95.7b-ro.patch
Buildroot: %{_tmppath}/cleanfeed-root
BuildArchitectures: noarch

%description
Cleanfeed is an automatic spam filter for Usenet news servers and
routers (INN, Cyclone, Typhoon, Breeze and NNTPRelay).  Cleanfeed
looks for duplicated messages, repeated patterns, and known spamming
sites and domains.  It can be configured to block binary posts to
non-binary newsgroups, to cancel already-rejected articles, and to
reject some spamming from local users.

Install the cleanfeed package if you need a spam filter for a Usenet
news server.

%prep
%setup -q
%patch0 -p1 -b .rh
%patch1 -p1

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/news
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin/filter
install -m 0644 cleanfeed.conf $RPM_BUILD_ROOT/etc/news/
install -m 0644 cleanfeed.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
install -m 0750 cleanfeed \
	$RPM_BUILD_ROOT/usr/lib/news/bin/filter/filter_innd.pl

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(-,news,news) %config /etc/news/cleanfeed.conf
%attr(-,root,root) %{_mandir}/man8/cleanfeed.8*
%attr(755,news,news) %dir /usr/lib/news/bin/filter
%attr(-,news,news) /usr/lib/news/bin/filter/filter_innd.pl

%changelog
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.95.7b-21.1.1
- rebuild

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Tue Sep 21 2004 Than Ngo <than@redhat.com> 0.95.7b-21
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
- rebuild in current collinst

* Mon Jul 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- adjust dir perms #70016

* Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- adjust path for newest inn package

* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Mon Jun 18 2001 Nalin Dahyabhai <nalin@redhat.com>
- move buildroot to %%{_tmppath}
- s/Copyright:/License:/
- rebuild in new environment to get perl requirements

* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- fix ro-variable bug #39228

* Sun Aug  6 2000 Florian La Roche <Florian.LaRoche@redhat.com>
- add dir /usr/bin/filter/ with perms like in inn

* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
- use %%{_mandir}
- buildable as non-root

* Thu Mar 02 2000 Cristian Gafton <gafton@redhat.com>
- fix location to match inn-2.2.2 in /usr/bin/filter

* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
- fix description
- man pages are compressed

* Tue Aug 10 1999 Cristian Gafton <gafton@redhat.com>
- don't require perl-MD5 anymore (that was merged in the main perl package)

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 3)

* Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
- build for 6.0

* Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com>
- update to 0.95.7b

* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
- spec file cleanups
- patch to get rod of /usr/local/bin/perl

* Mon Apr 13 1998 Bryan C. Andregg <bandregg@redhat.com>
- first package