%define name anomy-sanitizer %define version 1.63 %define release 7mdk Summary: Anomy Sanitizer Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Networking/Mail Source: http://mailtools.anomy.net/dist/%{name}-%{version}.tar.bz2 Source1: %{name}.conf.bz2 URL: http://mailtools.anomy.net/ BuildRoot: %{_tmppath}/root-%{name}-%{version} 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 recieve 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 %{name}-%{version} 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 * 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 * Fri Feb 15 2002 Rich West <Rich.West@wesmo.com> - Created SPEC file. - 1.49