]>
Commit | Line | Data |
---|---|---|
45b18edc ER |
1 | Summary: Anomy Sanitizer |
2 | Name: anomy-sanitizer | |
010b8096 | 3 | Version: 1.76 |
45b18edc ER |
4 | Release: 1 |
5 | License: GPL | |
6 | Group: Applications/Mail | |
7 | Source0: http://mailtools.anomy.net/dist/%{name}-%{version}.tar.gz | |
010b8096 | 8 | # Source0-md5: 1f53b7da3cc4f3d78631546335ff9dcd |
45b18edc | 9 | URL: http://mailtools.anomy.net/ |
0f0f7f3b | 10 | BuildRequires: rpm-perlprov >= 4.1-13 |
45b18edc ER |
11 | BuildArch: noarch |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | The Anomy sanitizer is what most people would call "an email virus | |
16 | scanner". That description is not totally accurate, but it does cover | |
17 | one of the more important jobs that the sanitizer can do for you - it | |
18 | can scan email attachments for viruses. | |
19 | ||
20 | Other things it can do: | |
21 | - Disable potentially dangerous HTML code, such as javascript, within | |
22 | incoming email. | |
23 | - Protect you from email-based break-in attempts which exploit bugs in | |
24 | common email programs (Outlook, Eudora, Pine, ...). | |
25 | - Block or "mangle" attachments based on their file names. This way if | |
26 | you don't need to recieve e.g. visual basic scripts, then you don't | |
27 | have to worry about the security risk they imply (the ILOVEYOU virus | |
28 | was a visual basic program). This lets you protect yourself and your | |
29 | users from whole classes of attacks, without relying on complex, | |
30 | resource intensive and outdated virus scanning solutions. | |
31 | ||
32 | %prep | |
010b8096 ER |
33 | %setup -qc |
34 | mv anomy/* . | |
45b18edc ER |
35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
0f0f7f3b | 38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}} |
45b18edc ER |
39 | cp -a bin/Anomy $RPM_BUILD_ROOT%{perl_vendorlib}/Anomy |
40 | ||
0f0f7f3b ER |
41 | for a in bin/*.pl; do |
42 | f=${a#*/} | |
43 | f=anomy-${f%.pl} | |
44 | install -p $a $RPM_BUILD_ROOT%{_bindir}/$f | |
45 | done | |
46 | ||
45b18edc ER |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
0f0f7f3b ER |
52 | %doc CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html UNICODE.TXT |
53 | %doc contrib | |
54 | %attr(755,root,root) %{_bindir}/anomy-mailblogger | |
55 | %attr(755,root,root) %{_bindir}/anomy-sanitizer | |
56 | %attr(755,root,root) %{_bindir}/anomy-simplify | |
45b18edc | 57 | %{perl_vendorlib}/Anomy |