> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kenneth
> Porter
> Sent: Saturday, December 25, 2004 9:05 PM
> To: mimedefang@lists.roaringpenguin.com
> Subject: Re: [Mimedefang] MIMEdefang on CPAN? or in RPM form?
>
>
> --On Saturday, December 25, 2004 8:51 PM -0500 "David F. Skoll"
> <[EMAIL PROTECTED]> 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?
>

Hmm, first I've heard that there might be probs. building rpm's as root.
What are they?

> > 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?)

I've been experimenting with a Ovid, also available via CPAN:
http://search.cpan.org/~gyepi/Ovid-0.04/ovid

It does a pretty good job, but has a few problems bundling distributions
such as MailTools.

Request for enhancement in existing MIMEdefang rpm spec file --

Currently, it states:

Requires:      perl-Digest-SHA1 perl-MIME-tools perl-IO-stringy
perl-MailTools

a more consistent capitalization standard would be:

Requires:      perl-Digest-SHA1 perl-MIME-Tools perl-IO-Stringy
perl-MailTools

this may impact the other tarballs available on the MIMEdefang download page
also.

The correction of capitalization is important for those of us building
RPM's from CPAN distribution tar files, in an automated way.




_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to