%define name anomy-sanitizer %define version 1.76 %define release %mkrel 3 Summary: Anomy Sanitizer Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Networking/Mail BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source: http://mailtools.anomy.net/dist/%{name}-%{version}.tar.bz2 Source1: %{name}.conf.bz2 URL: http://mailtools.anomy.net/ Requires: perl Buildarch: noarch %description The Anomy sanitizer is what most people would call "an email virus scanner". That description is not totally accurate, but it does cover one of the more important jobs that the sanitizer can do for you - it can scan email attachments for viruses. Other things it can do: * Disable potentially dangerous HTML code, such as javascript, within incoming email. * Protect you from email-based break-in attempts which exploit bugs in common email programs (Outlook, Eudora, Pine, ...). * Block or "mangle" attachments based on their file names. This way if you don't need to receive e.g. visual basic scripts, then you don't have to worry about the security risk they imply (the ILOVEYOU virus was a visual basic program). This lets you protect yourself and your users from whole classes of attacks, without relying on complex, resource intensive and outdated virus scanning solutions. %prep %setup -q -n anomy mkdir -p %{buildroot}%{_bindir}\ %{buildroot}%{perl_vendorlib}\ %{buildroot}%{_sysconfdir}\ %{buildroot}/var/spool/anomy %build %install cp -R bin/Anomy %{buildroot}%{perl_vendorlib}/Anomy cp -r bin/*.pl %{buildroot}%{_bindir} bzcat %{SOURCE1} > %{buildroot}%{_sysconfdir}/%{name}.conf %files %defattr(-, root, root, 0755) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf %{perl_vendorlib}/Anomy/* %{_bindir}/* %dir /var/spool/anomy %clean rm -rf $RPM_BUILD_ROOT %changelog * Tue Sep 01 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.76-3mdv2010.0 + Revision: 423951 - rebuild * Thu Jun 19 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.76-2mdv2009.0 + Revision: 226155 - rebuild - fix no-buildroot-tag * Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.76-1mdv2008.1 + Revision: 131586 - kill re-definition of %%buildroot on Pixel's request * Mon Jan 23 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.76-1mdk - New release 1.76 (spotted by eandry) - use mkrel * Tue Jul 05 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.71-1mdk - New release 1.71 * Sun Oct 12 2003 Brook Humphrey <bah@linux-mandrake.com> 1.63-7mdk - fixed conf file coruption durring unpack * Sun Oct 12 2003 Brook Humphrey <bah@linux-mandrake.com> 1.63-6mdk - fixed folder permissions * Sun Oct 12 2003 Brook Humphrey <bah@linux-mandrake.com> 1.63-3mdk - updated conf file * Sun Oct 12 2003 Brook Humphrey <bah@linux-mandrake.com> 1.63-2mdk - added conf file to rpm * Sun Oct 12 2003 Brook Humphrey <bah@linux-mandrake.com> 1.63-1mdk - first build for mandrake