modperl-packaging_of_modperl

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: mod_perl list <modperl@apache.org>
From: Stas Bekman <stas@stason.org>
Subject: packaging mod_perl (was RE: Backing out a mod_perl
install)
Date: Tue, 7 Aug 2001 10:31:09 +0800 (SGT)

On Mon, 6 Aug 2001, Bill Moseley wrote:

> At 03:21 PM 08/06/01 -0400, Geoffrey Young wrote:
> >> to backout the Perl modules so I could run the old httpd, if needed.
> >
> >you can try the tar_Apache and offsite_tar arguments to make and see if they
> >wrap up everything you need...
>
> Ok, thanks tar_Apache should include all that I need, thanks.  I don't see
> the need for offsite_tar in my case, since I already have mod_perl built
> and ready for install in the target machine.

I think that even a better solution is build some RPM/deb/whatever package
and take a benefit of the features provided by the packaging systems.

Anybody wants to write 'make rpm', 'make deb' so these can be part of the
Makefile.PL and other distros using these to create their packages? I
think both Mandrake and RH have /usr/lib/rpm/cpanflute, which converts any
CPAN tar.gz into src.rpm automatically, which is very cool, since mod_perl
is just a CPAN tar.gz.

You probably all know that we have a new Apache-Test framework in mod_perl
2.0, so any Apache:: module can easily use it to test its features using
the real mod_perl server.

How about starting Apache-Dist framework, and write a number of modules
that will create Apache::Dist::RPM, Apache::Dist::PPM, Apache::Dist::DEB,
...? Then various bundles Apache::Dist::Bundle::Dev,
Apache::Dist::Bundle::Prod, you name it.

The system can create packages with Apache/mod_perl/other modules. and
then nicely package them into whatever packaging system you prefer,
including making packages for off-site distribution and similar.

Anybody with good working knowledge of various packaging systems wants to
start working on this cool project, which will make mod_perl even more
accessible and ubiquitous.

Probably most of you don't know but Apache folks have embraced the perl
Apache-Test framework to use for the httpd regression testing. If we
create Apache-Dist, I think it can be used for httpd and other ASF
projects as well.

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu