Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172805 - ebuild wanted for File::Scan::ClamAV
Summary: ebuild wanted for File::Scan::ClamAV
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-30 16:26 UTC by William L. Thomson Jr. (RETIRED)
Modified: 2009-05-17 08:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
File-Scan-ClamAV-1.8.ebuild (File-Scan-ClamAV-1.8.ebuild,444 bytes, text/plain)
2008-04-19 17:01 UTC, Tiago Cunha (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William L. Thomson Jr. (RETIRED) gentoo-dev 2007-03-30 16:26:27 UTC
Just filling this bug so I don't forget. But I need to see about getting that packaged, and possibly updated from upstream. ASSP uses that in it's communication and processing of spam via clamd. Seems it's not in tree, so this does not really effect ASSP. More like a feature request or etc.

If others come across this bug and want to package it. Excellent, otherwise I will do so when time permits.
Comment 1 Troy Bowman 2007-07-11 17:28:28 UTC
This and other perl modules do not specifically need an ebuild in the portage tree.  (The only time perl modules are specifically in the portage tree is when other ebuilds depend on them.) 

All you need is g-cpan.  If you emerge g-cpan, you can install everything on the CPAN without an ebuild as if it were an ebuild.  In fact, g-cpan builds an ebuild on the fly for your use.

# g-cpan --install File::Scan::ClamAV

This creates an ebuild in your overlay automatically.  It seems that sometimes g-cpan doesn't seem to automatically install the ebuild it creates, so I had to do:

# emerge File-Scan-ClamAV

...after it created the ebuild to get it installed.
Comment 2 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-07-11 18:26:36 UTC
(In reply to comment #1)
> This and other perl modules do not specifically need an ebuild in the portage
> tree.  (The only time perl modules are specifically in the portage tree is when
> other ebuilds depend on them.) 

This would be a dependency of assp which is in tree :)


> All you need is g-cpan.  If you emerge g-cpan, you can install everything on
> the CPAN without an ebuild as if it were an ebuild.  In fact, g-cpan builds an
> ebuild on the fly for your use.
> 
> # g-cpan --install File::Scan::ClamAV
> 
> This creates an ebuild in your overlay automatically.  It seems that sometimes
> g-cpan doesn't seem to automatically install the ebuild it creates, so I had to
> do:
> 
> # emerge File-Scan-ClamAV

hmm, maybe I will use that to generate an ebuild and stick it in tree so I can use it with assp :) Thanks for the info. I mainly do Java so was not aware of that perl capability for Gentoo. Pretty nifty.


> 
> ...after it created the ebuild to get it installed.
> 

Comment 3 Tiago Cunha (RETIRED) gentoo-dev 2008-04-19 17:01:26 UTC
Created attachment 150307 [details]
File-Scan-ClamAV-1.8.ebuild

I'm not sure about the test phase. If SRC_TEST="do" is added to the ebuild it fails because the file t/mkconf.pl --- which creates a temporary clamav.conf that's used by the test files --- needs an environment variable called CLAMD_PATH.
Comment 4 Tiago Cunha (RETIRED) gentoo-dev 2008-04-19 17:04:51 UTC
@wltjr: I have an account at the sunrise overlay. If you want I can commit it, and let it stay there for a while so that other possibly interested users could check its stability.
Comment 5 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-04-27 16:02:54 UTC
Thanks, up to you if you want to put it in Sunrise. I will see about adding to tree ASAP. So adding to Sunrise is likely not necessary. Thanks for making the ebuild. Just never had the time, and itch was very minor :)
Comment 6 Tobias Scherbaum (RETIRED) gentoo-dev 2009-05-17 08:44:30 UTC
+*File-Scan-ClamAV-1.91 (17 May 2009)
+
+  17 May 2009; Tobias Scherbaum <dertobi123@gentoo.org> +metadata.xml,
+  +File-Scan-ClamAV-1.91.ebuild:
+  Initial import, #172805