I just added that patch too. Thanks!
- BS
> Hi,
>
> I was in need of mod_perl for apache. So I created the required files
> and attached the patches to this email. The mod_perl source file I used
> and placed into build/src is:
>
> http://perl.apache.org/dist/mod_perl-2.0.2.tar.gz
>
> Maybe this is as useful for others as it is to my project with
> devil-linux.
>
> Best regards,
>
> thomas
>
>
> ------------------------------------------------------------------------
>
> diff -Nur scripts.org/configuration/help/mod_perl.help scripts/configuration/help/mod_perl.help
> --- scripts.org/configuration/help/mod_perl.help 1970-01-01 01:00:00.000000000 +0100
> +++ scripts/configuration/help/mod_perl.help 2006-06-30 17:00:51.000000000 +0200
> @@ -0,0 +1,4 @@
> +CONFIG_MOD_PERL
> + mod_perl brings together the full power of the Perl programming
> + language and the Apache HTTP server.
> + http://perl.apache.org/
> diff -Nur scripts.org/configuration/mod_perl.config scripts/configuration/mod_perl.config
> --- scripts.org/configuration/mod_perl.config 1970-01-01 01:00:00.000000000 +0100
> +++ scripts/configuration/mod_perl.config 2006-06-30 16:54:25.000000000 +0200
> @@ -0,0 +1,7 @@
> +#!/bin/bash
> +#
> +# http://www.devil-linux.org
> +
> +if [ "$CONFIG_HTTPD" = "y" ] && [ "$CONFIG_PERL" = "y" ] ; then
> + menu_add "Networking|Services" bool "mod_perl for Apache" CONFIG_MOD_PERL
> +fi
> diff -Nur scripts.org/configuration/profiles/default scripts/configuration/profiles/default
> --- scripts.org/configuration/profiles/default 2006-06-08 17:38:39.000000000 +0200
> +++ scripts/configuration/profiles/default 2006-06-30 17:04:20.000000000 +0200
> @@ -84,6 +84,7 @@
> CONFIG_MEMTEST86=y
> CONFIG_MGETTY=y
> CONFIG_MINICOM=y
> +CONFIG_MOD_PERL=y
> CONFIG_MOTION=y
> CONFIG_MOXIO_SMARTIO=y
> CONFIG_MPEG_ENCODE=y
> diff -Nur scripts.org/configuration/profiles/server scripts/configuration/profiles/server
> --- scripts.org/configuration/profiles/server 2006-06-12 15:53:09.000000000 +0200
> +++ scripts/configuration/profiles/server 2006-06-30 17:05:03.000000000 +0200
> @@ -92,6 +92,7 @@
> CONFIG_MEMTEST86=y
> CONFIG_MGETTY=y
> CONFIG_MINICOM=y
> +CONFIG_MOD_PERL=y
> CONFIG_MOTION=y
> CONFIG_MOXIO_SMARTIO=y
> CONFIG_MPEG_ENCODE=y
> diff -Nur scripts.org/mod_perl scripts/mod_perl
> --- scripts.org/mod_perl 1970-01-01 01:00:00.000000000 +0100
> +++ scripts/mod_perl 2006-07-01 23:46:28.000000000 +0200
> @@ -0,0 +1,41 @@
> +#!/bin/bash
> +#
> +# http://www.devil-linux.org
> +
> +# you need the next line, otherwise script won't be executed !!!
> +# DL-build-system v3
> +
> +### BEGIN INIT INFO
> +# Provides: mod_perl
> +# Required-Start: $basebuildtools $libs httpd perl
> +# Required-Stop:
> +# Default-Start: 1 2
> +# Default-Stop:
> +# Description: mod_perl for apache
> +### END INIT INFO
> +
> +# get the directoryname of the script
> +MYDIR=${0%/*}
> +
> +# source functions and config
> +source $MYDIR/settings
> +
> +case $1 in
> + build )
> + perl Makefile.PL MP_APXS=/usr/sbin/apxs || exit 1
> + make || exit 1
> + strip_debug
> + ;;
> +
> + install )
> +
> + make install DESTDIR=$WORKDIR/tmp || exit 1
> + cp src/modules/perl/mod_perl.so $CDDIR/usr/lib/apache2/modules/ || exit 1
> + ;;
> +
> + * )
> + echo "ERROR ($0)"
> + echo "please add parameter so I know what to do"
> + exit 1
> + ;;
> +esac
>
>
>
> ------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devil-linux-develop mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devil-linux-develop
>
|