117356
Summary: Fast anti-spam filtering by Bayesian statistical analysis
117356
Name: bogofilter
483d87
Version: 1.2.5
483d87
Release: 2%{?dist}
117356
License: GPLv2
117356
Group: Applications/Internet
117356
URL: http://bogofilter.sourceforge.net/
483d87
Source: http://downloads.sourceforge.net/bogofilter/bogofilter-%{version}.tar.xz
483d87
BuildRequires: gcc
117356
BuildRequires: flex libdb-devel gsl-devel
117356
BuildRequires: /usr/bin/iconv
117356
BuildRequires: perl-generators
117356
117356
%description
117356
Bogofilter is a Bayesian spam filter.  In its normal mode of
117356
operation, it takes an email message or other text on standard input,
117356
does a statistical check against lists of "good" and "bad" words, and
117356
returns a status code indicating whether or not the message is spam.
117356
Bogofilter is designed with fast algorithms (including Berkeley DB system),
117356
coded directly in C, and tuned for speed, so it can be used for production
117356
by sites that process a lot of mail.
117356
117356
%package bogoupgrade
117356
Summary: Upgrades bogofilter database to current version
117356
Group: Applications/Internet
117356
Requires: %{name} = %{version}-%{release}
117356
117356
%description bogoupgrade
117356
bogoupgrade is a command to upgrade bogofilter’s databases from an old
117356
format to the current format. Since the format of the database changes
117356
once in a while, the utility is designed to make the upgrade easy.
117356
117356
bogoupgrade is in an extra package to remove the perl dependency on the
117356
main bogofilter package.
117356
117356
%prep
117356
%setup -q
483d87
117356
iconv -f iso-8859-1 -t utf-8 \
117356
 doc/bogofilter-faq-fr.html > doc/bogofilter-faq-fr.html.utf8
117356
%{__mv} -f doc/bogofilter-faq-fr.html.utf8 \
117356
 doc/bogofilter-faq-fr.html
117356
117356
%build
117356
%configure --disable-rpath
117356
%{__make} %{?_smp_mflags}
117356
117356
%install
117356
%{__make} DESTDIR=%{buildroot} install
117356
117356
%{__mv} -f %{buildroot}%{_sysconfdir}/bogofilter.cf.example \
117356
 %{buildroot}%{_sysconfdir}/bogofilter.cf
117356
117356
%{__install} -d -m0755 rpm-doc/xml/ rpm-doc/html/
117356
%{__install} -m644 doc/*.xml rpm-doc/xml/
117356
%{__install} -m644 doc/*.html rpm-doc/html/
117356
117356
%{__chmod} -x contrib/*
117356
117356
%check
117356
%{__make} %{?_smp_mflags} check
117356
117356
%files bogoupgrade
117356
%defattr(-, root, root, 0755)
117356
%{_bindir}/bogoupgrade
117356
%{_mandir}/man1/bogoupgrade*
117356
117356
%files
117356
%defattr(-, root, root, 0755)
117356
%doc AUTHORS COPYING NEWS README* RELEASE.NOTES* TODO bogofilter.cf.example
117356
%doc doc/bogofilter-SA* doc/bogofilter-tuning.HOWTO* doc/integrating* doc/programmer/
117356
%doc rpm-doc/html/ rpm-doc/xml/ contrib
117356
%{_mandir}/man1/bogo*.1*
117356
%{_mandir}/man1/bf_*.1*
117356
%config(noreplace) %{_sysconfdir}/bogofilter.cf
117356
%{_bindir}/bogo*
117356
%{_bindir}/bf_*
117356
%exclude %{_bindir}/bogoupgrade
117356
%exclude %{_mandir}/man1/bogoupgrade*
117356
117356
%changelog
483d87
* Mon May 18 2020 Milan Crha <mcrha@redhat.com> - 1.2.5-2
483d87
- Bump version to have OSCI/gating tests rerun with updated tests
483d87
483d87
* Fri May 15 2020 Milan Crha <mcrha@redhat.com> - 1.2.5-1
483d87
- Resolves: #1836279 (Update to 1.2.5)
483d87
117356
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-13
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
117356
117356
* Mon Oct 16 2017 Marek Kasik <mkasik@redhat.com> - 1.2.4-12
117356
- Enable unit tests
117356
- Resolves: #1502678
117356
117356
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-11
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
117356
117356
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-10
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
117356
117356
* Mon Jul 24 2017 Adrian Reber <adrian@lisas.de> - 1.2.4-9
117356
- Rebuild for gsl 2.4 (#1474397)
117356
117356
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-8
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
117356
117356
* Thu Sep 22 2016 Adrian Reber <adrian@lisas.de> - 1.2.4-7
117356
- Added multiple upstream patches to fix various memory bugs
117356
- Fixes "[abrt] bogofilter: yyrealloc(): bogofilter killed by SIGABRT" (#1246282)
117356
- Fixes "why libdb4" (#1367329) by switching BR to libdb-devel (from db4-devel)
117356
117356
* Mon Feb 22 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.4-6
117356
- Rebuild for gsl 2.1
117356
117356
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-5
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
117356
117356
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-4
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
117356
117356
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
117356
117356
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-2
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
117356
117356
* Wed Apr 23 2014 Adrian Reber <adrian@lisas.de> - 1.2.4-1
117356
- updated to 1.2.4 (fixes #1084359)
117356
117356
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-5
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
117356
117356
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.2.3-4
117356
- Perl 5.18 rebuild
117356
117356
* Fri Feb 22 2013 Adrian Reber <adrian@lisas.de> - 1.2.3-2
117356
- removed three files with an unfree license from Source (fixes #912694)
117356
117356
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
117356
117356
* Tue Dec 04 2012 Adrian Reber <adrian@lisas.de> - 1.2.3-1
117356
- updated to 1.2.3 (fixes #883358, CVE-2012-5468)
117356
117356
* Thu Jul 26 2012 Adrian Reber <adrian@lisas.de> - 1.2.2-5
117356
- add new libdb4 include path to configure options
117356
117356
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
117356
117356
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
117356
117356
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
117356
117356
* Mon Aug 16 2010 Adrian Reber <adrian@lisas.de> - 1.2.2-1
117356
- updated to 1.2.2 (fixes #611511, CVE-2010-2494)
117356
117356
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
117356
117356
* Thu Feb 26 2009 Adrian Reber <adrian@lisas.de> - 1.2.0-1
117356
- updated to 1.2.0
117356
117356
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-3
117356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
117356
117356
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.7-2
117356
- rebuild against db4-4.7
117356
- use make DESTDIR install
117356
- disable rpaths
117356
117356
* Sat May 31 2008 Adrian Reber <adrian@lisas.de> - 1.1.7-1
117356
- updated to 1.1.7
117356
- moved bogoupgrade to its own package to remove the perl
117356
  dependency on bogofilter (bz #442843)
117356
117356
* Thu Feb 14 2008 Adrian Reber <adrian@lisas.de> - 1.1.6-2
117356
- rebuilt for gcc43
117356
117356
* Thu Dec 13 2007 Adrian Reber <adrian@lisas.de> - 1.1.6-1
117356
- updated to 1.1.6
117356
- made rpmlint happy
117356
- upstream confirmed that bogofilter is GPLv2
117356
117356
* Thu Aug 23 2007 Adrian Reber <adrian@lisas.de> - 1.1.5-2
117356
- rebuilt
117356
- added patch to build with new glibc
117356
117356
* Wed Mar 07 2007 Adrian Reber <adrian@lisas.de> - 1.1.5-1
117356
- updated to 1.1.5
117356
117356
* Tue Sep 05 2006 Adrian Reber <adrian@lisas.de> - 1.0.3-1
117356
- updated to 1.0.3
117356
117356
* Wed Apr 19 2006 Adrian Reber <adrian@lisas.de> - 1.0.2-1
117356
- updated to 1.0.2
117356
117356
* Mon Jan 02 2006 Dries Verachtert <dries@ulyssis.org> - 1.0.1-1 - 3875/dries
117356
- Updated to release 1.0.1.
117356
117356
* Fri Dec 02 2005 Dag Wieers <dag@wieers.com> - 1.0.0-1
117356
- Updated to release 1.0.0.
117356
117356
* Tue Nov 22 2005 Dries Verachtert <dries@ulyssis.org> - 0.96.6-1
117356
- Updated to release 0.96.6.
117356
117356
* Mon Aug 02 2004 Dag Wieers <dag@wieers.com> - 0.92.4-1
117356
- Updated to release 0.92.4.
117356
117356
* Sat Apr 10 2004 Dag Wieers <dag@wieers.com> - 0.17.5-1
117356
- Updated to release 0.17.5.
117356
117356
* Mon Jan 26 2004 Dag Wieers <dag@wieers.com> - 0.16.4-0
117356
- Initial package. (using DAR)