Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22008

Summary: anomy-sanitizer-1.60.ebuild (New Package)
Product: Gentoo Linux Reporter: Thiemo Kellner <thiemo>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: enhancement CC: alessandro.pisani, mcummings, thiemo
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: anomy-sanitizer.tbz2 ebuild package
new version of Thiemo's original ebuild

Description Thiemo Kellner 2003-05-31 12:41:47 UTC
Please find attached anomy-sanitizer.tbz2.

anomy-sanitizer is a perl based mail filtering tool. Let's cite their home page
http://mailtools.anomy.net/
"#  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,
instead of blocking individual exploits."

I suggest dev-perl/anomy-sanitizer.

Cheers,

Thiemo
Comment 1 Thiemo Kellner 2003-05-31 12:43:07 UTC
Created attachment 12615 [details]
anomy-sanitizer.tbz2 ebuild package
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2003-06-01 10:31:36 UTC
If it's a mail tool, wouldn't net-mail make more sense?
Comment 3 Thiemo Kellner 2003-06-01 14:11:13 UTC
In deed, net-mail would be more appropriate. I suggested dev-perl because SpamAssassin is there, but net-mail is fine by me.

Cheers,

Thiemo
Comment 4 Alessandro Pisani 2003-06-07 10:19:06 UTC
good ebuild... just some suggestions:

i suggest replacing anomy-sanitizer-x.yz.tar.gz in SRC_URI with: ${PN}-${PV}.tar.gz

also, please note that the anomy sanitizer also works with perl 5.6.1 so I find requiring perl 5.8 is a bit too much... (please note that there still are a lot of gentoo 1.2 installs out where on which perl-5.8.0 is still masked...)


just my 2 eurocents
Comment 5 Alessandro Pisani 2003-06-07 11:54:53 UTC
okay, i've just rewritten Thiemo's ebuild to improve it and to remove hardwired directories... hope you'll find it useful.
attaching it - tested with: perl 5.6.x and 5.8.x (gentoo 1.2 and 1.4rc4), portage 2.0.47-r10 and 2.0.48

bye,
Alessandro
Comment 6 Alessandro Pisani 2003-06-07 11:56:50 UTC
Created attachment 12916 [details]
new version of Thiemo's original ebuild

improved ebuild (hopefully ;)
Comment 7 Thiemo Kellner 2003-06-07 17:29:08 UTC
Maybe I ought add some information. The dependencies are such because it is that what I have installed and therewith tested. I read on sanitizer homepage that it should work with perl 5.6. However, as I only have installed 5.8 and don't have the time to test 5.6.whatsoever (at least it's my production environment where I have installed it), I felt better to put 5.8. Is this good practize?

Cheers

Thiemo
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2004-04-16 04:05:16 UTC
1.67 added to portage this morning.