summaryrefslogtreecommitdiff
path: root/www/mod_perl
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_perl')
-rw-r--r--www/mod_perl/Makefile69
-rw-r--r--www/mod_perl/distinfo2
-rw-r--r--www/mod_perl/files/patch-Makefile.PL14
-rw-r--r--www/mod_perl/files/patch-src:modules:perl:Connection.xs39
-rw-r--r--www/mod_perl/files/patch-src__modules__perl__mod_perl.c19
-rw-r--r--www/mod_perl/pkg-deinstall57
-rw-r--r--www/mod_perl/pkg-descr7
-rw-r--r--www/mod_perl/pkg-install65
-rw-r--r--www/mod_perl/pkg-plist80
9 files changed, 0 insertions, 352 deletions
diff --git a/www/mod_perl/Makefile b/www/mod_perl/Makefile
deleted file mode 100644
index 5b1eb0a1e436..000000000000
--- a/www/mod_perl/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-# New ports collection makefile for: mod_perl
-# Date created: November 5th 1999
-# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mod_perl
-PORTVERSION= 1.31
-PORTREVISION= 1
-CATEGORIES= www perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ModPerl/GOZER
-PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
-
-MAINTAINER= apache@FreeBSD.org
-COMMENT= Embeds a Perl interpreter in the Apache server
-
-BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
-EXPIRATION_DATE= 2012-01-01
-
-MAKE_JOBS_SAFE= yes
-
-PORTSCOUT= limit:^1
-
-USE_APACHE= 13
-PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= USE_APXS=1 EVERYTHING=1 INSTALLSITELIB=${SITE_PERL} \
- INSTALLSITEARCH=${SITE_PERL}/${PERL_ARCH} \
- WITH_APXS=${APXS} \
- PERL_EXTRA_CFLAGS='-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\"'
-
-MAN3= Apache.3 Apache::Constants.3 Apache::ExtUtils.3 \
- Apache::FakeRequest.3 Apache::File.3 Apache::Leak.3 \
- Apache::Log.3 Apache::MyConfig.3 Apache::Options.3 \
- Apache::PerlRun.3 Apache::PerlRunXS.3 \
- Apache::RedirectLogFix.3 \
- Apache::Registry.3 Apache::SizeLimit.3 \
- Apache::Status.3 Apache::Symbol.3 Apache::Symdump.3 \
- Apache::Table.3 Apache::URI.3 Apache::Util.3 \
- Apache::httpd_conf.3 Apache::src.3 Apache::testold.3 \
- Bundle::Apache.3 \
- Apache::Debug.3 mod_perl.3 Apache::SIG.3 Apache::Resource.3 \
- Apache::RegistryLoader.3 Apache::StatINC.3 Apache::Include.3 \
- Apache::PerlSections.3 Apache::fork.3 cgi_to_mod_perl.3 \
- mod_perl_cvs.3 mod_perl_method_handlers.3 mod_perl_traps.3 \
- mod_perl_tuning.3
-
-.if defined(APACHE_PORT)
-. if ${APACHE_PORT:Mipv6} != ""
-WITH_APACHE_IPV6= YES
-CFLAGS+= -DAPACHE6
-. endif
-.endif
-
-post-install:
- ${MKDIR} ${LOCALBASE}/${APACHEINCLUDEDIR}/modules/perl
- ${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
- ${LOCALBASE}/${APACHEINCLUDEDIR}/modules/perl
- ${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${LOCALBASE}/${APACHEMODDIR}/
- @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-post-deinstall:
- @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
-
-.include <bsd.port.mk>
diff --git a/www/mod_perl/distinfo b/www/mod_perl/distinfo
deleted file mode 100644
index 07e2285d9b9a..000000000000
--- a/www/mod_perl/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mod_perl-1.31.tar.gz) = 0bc7d2638139b7ac9742e27051513efb332504093eca84488ca15585b14860c1
-SIZE (mod_perl-1.31.tar.gz) = 389960
diff --git a/www/mod_perl/files/patch-Makefile.PL b/www/mod_perl/files/patch-Makefile.PL
deleted file mode 100644
index 6e82ef6f2e4a..000000000000
--- a/www/mod_perl/files/patch-Makefile.PL
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.PL.orig Wed Apr 18 22:00:41 2007
-+++ Makefile.PL Wed Apr 18 22:01:40 2007
-@@ -1380,7 +1380,10 @@
- my $string = $self->MM::install;
- my $add = "";
- if ($USE_APXS) {
-- $add = "apxs_install";
-+ # XXX The FreeBSD port for mod_perl takes care of installing libperl.so
-+ # itself via the pkg-install script.
-+ #
-+ # $add = "apxs_install";
- }
- elsif ($win32_auto and
- ($win32_args{INSTALL_DLL} or $win32_args{INSTALL_LIB})) {
diff --git a/www/mod_perl/files/patch-src:modules:perl:Connection.xs b/www/mod_perl/files/patch-src:modules:perl:Connection.xs
deleted file mode 100644
index 22eea28838da..000000000000
--- a/www/mod_perl/files/patch-src:modules:perl:Connection.xs
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/modules/perl/Connection.xs.orig Fri Nov 23 06:19:44 2001
-+++ src/modules/perl/Connection.xs Fri Nov 23 10:29:44 2001
-@@ -78,7 +78,11 @@
- RETVAL = newSVpv((char *)&conn->remote_addr,
- sizeof conn->remote_addr);
- if(sv_addr) {
-+#ifdef APACHE6
-+ struct sockaddr_storage addr;
-+#else
- struct sockaddr_in addr;
-+#endif
- STRLEN sockaddrlen;
- char * new_addr = SvPV(sv_addr,sockaddrlen);
- if (sockaddrlen != sizeof(addr)) {
-@@ -106,7 +110,26 @@
- #else
- conn->remote_ip = pstrdup(conn->pool, (char *)SvPV(ST(1),na));
- #endif
-+#ifdef APACHE6
-+ {
-+ struct addrinfo hints, *res0;
-+ int error;
-+
-+ memset(&hints, 0, sizeof(hints));
-+ hints.ai_family = PF_UNSPEC;
-+ hints.ai_flags = AI_NUMERICHOST;
-+ error = getaddrinfo(conn->remote_ip, NULL, &hints, &res0);
-+ if (!error) {
-+ memcpy(&conn->remote_addr, res0->ai_addr, res0->ai_addrlen);
-+ freeaddrinfo(res0);
-+ } else {
-+ croak("Bad ip address in remote_ip getaddrinfo failed %s",
-+ gai_strerror(error));
-+ }
-+ }
-+#else
- conn->remote_addr.sin_addr.s_addr = inet_addr(conn->remote_ip);
-+#endif
- }
diff --git a/www/mod_perl/files/patch-src__modules__perl__mod_perl.c b/www/mod_perl/files/patch-src__modules__perl__mod_perl.c
deleted file mode 100644
index 285d0c7ed814..000000000000
--- a/www/mod_perl/files/patch-src__modules__perl__mod_perl.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./src/modules/perl/mod_perl.c.orig 2008-11-20 13:12:31.000000000 -0500
-+++ ./src/modules/perl/mod_perl.c 2009-06-05 02:07:17.882792245 -0400
-@@ -596,6 +596,7 @@
- void perl_startup (server_rec *s, pool *p)
- {
- char *argv[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL };
-+ char **temp_argv=argv;
- char **entries, *dstr;
- int status, i, argc=1;
- dPSRV(s);
-@@ -679,7 +680,7 @@
- MP_TRACE_g(fprintf(stderr, "..."));
-
- #ifdef PERL_SYS_INIT
-- PERL_SYS_INIT(&argc,(char***)&argv);
-+ PERL_SYS_INIT(&argc,(char***)&temp_argv);
- #endif
-
- #ifndef perl_init_i18nl10n
diff --git a/www/mod_perl/pkg-deinstall b/www/mod_perl/pkg-deinstall
deleted file mode 100644
index 4d70d558c016..000000000000
--- a/www/mod_perl/pkg-deinstall
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# Try to de-activate mod_perl in the installed httpd.conf and warn
-# if this fails.
-#
-# $FreeBSD$
-#
-
-if [ "$2" != "POST-DEINSTALL" ]; then
- exit 0
-fi
-
-TMPDIR=${TMPDIR:=/tmp}
-PKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}}
-
-apxscmd=${PKG_PREFIX}/sbin/apxs
-tmpdir=${PKG_TMPDIR}/deinstmod_perl.$$
-
-if [ ! -x ${apxscmd} ]; then
- echo Can\'t find the apxs program: ${apxscmd}.
- exit 1
-fi
-
-confdir=`${apxscmd} -q SYSCONFDIR`
-
-if [ ! -d ${confdir} ]; then
- echo Can\'t find Apache conf dir: ${confdir}
- exit 1
-fi
-
-if [ -f ${confdir}/httpd.conf ]; then
- conffile=httpd.conf
-fi
-if [ -f ${confdir}/httpd.conf.default ]; then
- conffile="${conffile} httpd.conf.default"
-fi
-if [ -z "${conffile}" ]; then
- echo Can\'t find either of ${confdir}/httpd.conf or
- echo ${confdir}/httpd.conf.default.
- exit 1
-fi
-
-if ! mkdir ${tmpdir}; then
- echo Can\'t create temporary directory: ${tmpdir}
- exit 1
-fi
-
-for i in ${conffile}; do
- awk '{if (!/^LoadModule perl_module/ && !/^AddModule mod_perl.c/) \
- print $0}' < ${confdir}/$i > ${tmpdir}/$i
- echo Updating $i in config dir: ${confdir}
- cat ${tmpdir}/$i > ${confdir}/$i
-done
-
-rm -rf ${tmpdir}
-
-exit 0
diff --git a/www/mod_perl/pkg-descr b/www/mod_perl/pkg-descr
deleted file mode 100644
index b88705f98b67..000000000000
--- a/www/mod_perl/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-The Apache/Perl integration project brings together the full power of
-the Perl programming language and the Apache HTTP server. With mod_perl
-it is possible to write Apache modules entirely in Perl. In addition,
-the persistent interpreter embedded in the server avoids the overhead of
-starting an external interpreter and the penalty of Perl start-up time.
-
-WWW: http://perl.apache.org/
diff --git a/www/mod_perl/pkg-install b/www/mod_perl/pkg-install
deleted file mode 100644
index e8febee63725..000000000000
--- a/www/mod_perl/pkg-install
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-#
-# Try to activate mod_perl in the installed httpd.conf and warn
-# if this fails. This script could be replaced with a simple @exec
-# line in the PLIST if the apache13 package installed an httpd.conf.
-#
-# $FreeBSD$
-#
-
-if [ "$2" != "POST-INSTALL" ]; then
- exit 0
-fi
-
-TMPDIR=${TMPDIR:=/tmp}
-PKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}}
-
-apxscmd=${PKG_PREFIX}/sbin/apxs
-perlmod=${PKG_PREFIX}/libexec/apache/libperl.so
-tmpdir=${PKG_TMPDIR}/instmod_perl.$$
-
-if [ ! -x ${apxscmd} ]; then
- echo Can\'t find the apxs program: ${apxscmd}.
- exit 1
-fi
-
-confdir=`${apxscmd} -q SYSCONFDIR`
-
-if [ ! -d ${confdir} ]; then
- echo Can\'t find Apache conf dir: ${confdir}
- exit 1
-fi
-
-if [ ! -f ${confdir}/httpd.conf ]; then
- if [ ! -f ${confdir}/httpd.conf.default ]; then
- echo Can\'t find either of ${confdir}/httpd.conf nor
- echo ${confdir}/httpd.conf.default.
- exit 1
- fi
-
- if ! mkdir ${tmpdir}; then
- echo Can\'t create temporary directory: ${tmpdir}
- exit 1
- fi
-
- cp ${confdir}/httpd.conf.default ${tmpdir}/httpd.conf
- if ${apxscmd} -e -S SYSCONFDIR=${tmpdir} -a -n perl ${perlmod}; then
- echo Updating httpd.conf.default in config dir: ${confdir}
- cat ${tmpdir}/httpd.conf > ${confdir}/httpd.conf.default
- rm -rf ${tmpdir}
- exit 0
- else
- rm -rf ${tmpdir}
- echo The apxs command failed to activate mod_perl in the config
- echo file: ${tmpdir}/httpd.conf.
- exit 1
- fi
-elif ${apxscmd} -e -a -n perl ${perlmod}; then
- exit 0
-else
- echo The apxs command failed to activate mod_perl in the config
- echo file: ${confdir}/httpd.conf
- exit 1
-fi
-
-exit 0
diff --git a/www/mod_perl/pkg-plist b/www/mod_perl/pkg-plist
deleted file mode 100644
index 703b2cb90313..000000000000
--- a/www/mod_perl/pkg-plist
+++ /dev/null
@@ -1,80 +0,0 @@
-%%APACHEINCLUDEDIR%%/modules/perl/apache_inc.h
-%%APACHEINCLUDEDIR%%/modules/perl/mod_perl.h
-%%APACHEINCLUDEDIR%%/modules/perl/mod_perl_version.h
-%%APACHEINCLUDEDIR%%/modules/perl/mod_perl_xs.h
-%%APACHEINCLUDEDIR%%/modules/perl/perl_PL.h
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Connection.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Constants.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Constants/Exports.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Debug.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/ExtUtils.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/FakeRequest.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/File.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Include.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Leak.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Log.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/ModuleConfig.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/MyConfig.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Opcode.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Options.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/PerlRun.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/PerlRunXS.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/PerlSections.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/RedirectLogFix.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Registry.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/RegistryBB.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/RegistryLoader.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/RegistryNG.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Resource.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/SIG.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Server.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/SizeLimit.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/StatINC.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Status.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Symbol.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Symdump.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Table.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/URI.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/Util.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/fork.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/httpd_conf.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/src.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Apache/testold.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/Apache.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Leak/Leak.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Leak/Leak.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Symbol/Symbol.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Symbol/Symbol.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/ap_config_auto.h
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules/perl/apache_inc.h
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules/perl/mod_perl.h
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules/perl/mod_perl_version.h
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules/perl/mod_perl_xs.h
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules/perl/perl_PL.h
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/mod_perl.exp
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/typemap
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/mod_perl/.packlist
-%%SITE_PERL%%/%%PERL_ARCH%%/cgi_to_mod_perl.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl_cvs.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl_hooks.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl_hooks.pm.PL
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl_method_handlers.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl_traps.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl_tuning.pod
-%%APACHEMODDIR%%/libperl.so
-@dirrm %%APACHEINCLUDEDIR%%/modules/perl
-@dirrm %%APACHEINCLUDEDIR%%/modules
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules/perl
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include/modules
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/include
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Leak
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Symbol
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/mod_perl
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bundle
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Apache/Constants
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Apache
-@dirrmtry %%APACHEETCDIR%%