[Mimedefang] MIMEdefang on CPAN? or in RPM form?

Kenneth Porter shiva at sewingwitch.com
Sun Dec 26 00:04:32 EST 2004


--On Saturday, December 25, 2004 8:51 PM -0500 "David F. Skoll" 
<dfs at roaringpenguin.com> wrote:

> It's not on CPAN, because it's not really modular enough.  You can build
> an RPM like this:
>
> 	rpmbuild -tb mimedefang-2.49.tar.gz

Note that you should not generally package RPM's as root. There's a little 
setup required before issuing the above command as a mortal. Perhaps we 
could set up a FAQ entry about what's needed?

> It will also want some of the Perl module dependencies installed as
> RPMs, so you might need:
>
> 	rpmbuild --nodeps -tb mimedefang-2.49.tar.gz

The other approach is to roll your own RPM's for the other CPAN 
requirements. Get the RPM::Specfile module from CPAN and build it. Then use 
the cpanflute2 script within it to convert other CPAN modules into RPM's. 
(Maybe such SRPM's can be included on the module requirements page on the 
MD site?)



More information about the MIMEDefang mailing list