diff options
Diffstat (limited to 'www/mod_python3')
| -rw-r--r-- | www/mod_python3/Makefile | 63 | ||||
| -rw-r--r-- | www/mod_python3/distinfo | 1 | ||||
| -rw-r--r-- | www/mod_python3/files/optpatch-WANT_EAPI | 11 | ||||
| -rw-r--r-- | www/mod_python3/files/patch-Makefile.in | 18 | ||||
| -rw-r--r-- | www/mod_python3/files/patch-configure | 11 | ||||
| -rw-r--r-- | www/mod_python3/pkg-comment | 1 | ||||
| -rw-r--r-- | www/mod_python3/pkg-descr | 9 | ||||
| -rw-r--r-- | www/mod_python3/pkg-message | 15 | ||||
| -rw-r--r-- | www/mod_python3/pkg-plist | 16 | ||||
| -rw-r--r-- | www/mod_python3/pkg-req.threads | 22 |
10 files changed, 0 insertions, 167 deletions
diff --git a/www/mod_python3/Makefile b/www/mod_python3/Makefile deleted file mode 100644 index f41eca5fc62c..000000000000 --- a/www/mod_python3/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# New ports collection makefile for: mod_python -# Date created: 28 August 2000 -# Whom: Hye-Shik Chang <perky@python.or.kr> -# -# $FreeBSD$ -# - -PORTNAME= mod_python -PORTVERSION= 2.7.6 -CATEGORIES= www python -MASTER_SITES= http://www.modpython.org/dist/ \ - ftp://ftp.nuug.no/pub/anders/distfiles/ -DIST_SUBDIR= python -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org - -BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 -RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 - -NO_PACKAGE= "Requires Python without threads support" -USE_PYTHON= yes - -.include <bsd.port.pre.mk> - -APXS?= ${LOCALBASE}/sbin/apxs - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-apxs=${APXS} -CONFIGURE_ENV= PYTHON_BIN=${PYTHON_CMD} -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} - -STRIP_CMD?= strip - -pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build option:" - @${ECHO} "" - @${ECHO} " WANT_EAPI=yes build as apache EAPI module (for apache13-modssl)" - @${ECHO} "" - -pre-patch: -.if defined(WANT_EAPI) - cd ${WRKSRC} && ${PATCH} -p2 -s < ${PATCHDIR}/optpatch-WANT_EAPI -.endif - -post-configure: - @${SH} ${PKGREQ}.threads ${PYTHON_CMD} -.if defined(OPTIONAL_LIBS) - ${SED} 's/^\(LIBS=.*\)/\1 ${OPTIONAL_LIBS}/' ${WRKSRC}/src/Makefile \ - > ${WRKSRC}/src/Makefile.tmp && \ - ${MV} -f ${WRKSRC}/src/Makefile.tmp ${WRKSRC}/src/Makefile -.endif - -post-build: -.if !defined(DONT_STRIP) && exists(${STRIP_CMD}) - ${STRIP_CMD} ${WRKSRC}/src/mod_python.so -.endif - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/www/mod_python3/distinfo b/www/mod_python3/distinfo deleted file mode 100644 index 5122d7820f8f..000000000000 --- a/www/mod_python3/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (python/mod_python-2.7.6.tgz) = 68929391d20c14d820d7004458ab9f03 diff --git a/www/mod_python3/files/optpatch-WANT_EAPI b/www/mod_python3/files/optpatch-WANT_EAPI deleted file mode 100644 index c98727f2a389..000000000000 --- a/www/mod_python3/files/optpatch-WANT_EAPI +++ /dev/null @@ -1,11 +0,0 @@ ---- work/mod_python-2.7.3/src/Makefile.in.orig Wed May 16 19:20:23 2001 -+++ work/mod_python-2.7.3/src/Makefile.in Wed May 16 19:20:52 2001 -@@ -52,7 +52,7 @@ - INCLUDES=@INCLUDES@ - LIBS=@LIBS@ - LDFLAGS=@LDFLAGS@ --OPT= -+OPT=-DEAPI - CFLAGS=$(OPT) $(INCLUDES) - srcdir=. - diff --git a/www/mod_python3/files/patch-Makefile.in b/www/mod_python3/files/patch-Makefile.in deleted file mode 100644 index de15a6bb574c..000000000000 --- a/www/mod_python3/files/patch-Makefile.in +++ /dev/null @@ -1,18 +0,0 @@ ---- Makefile.in.orig Wed Dec 27 13:49:54 2000 -+++ Makefile.in Wed Dec 27 13:52:28 2000 -@@ -82,13 +82,10 @@ - @echo - @echo "Performing DSO installation." - @echo -- $(INSTALL) src/mod_python.so $(LIBEXECDIR) -+ /usr/local/sbin/apxs -i -a src/mod_python.so - @$(MAKE) install_py_lib - @echo -- @echo "Now don't forget to edit your main config and add" -- @echo " LoadModule python_module $(LIBEXECDIR)/mod_python.so" -- @echo "and if your configuration uses ClearModuleList, then also" -- @echo " AddModule mod_python.c" -+ @echo " ## Apache has to be restarted." - @echo - - install_static: static diff --git a/www/mod_python3/files/patch-configure b/www/mod_python3/files/patch-configure deleted file mode 100644 index 510df67f1b04..000000000000 --- a/www/mod_python3/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Wed May 16 19:13:31 2001 -+++ configure Wed May 16 19:14:11 2001 -@@ -1324,7 +1324,7 @@ - # check if python is compiled with threads - echo $ac_n "checking whether Python is compiled with thread support""... $ac_c" 1>&6 - echo "configure:1327: checking whether Python is compiled with thread support" >&5 --PyTHREADS=`$PYTHON_BIN -c "import sys; print \"thread\" in sys.builtin_module_names"` -+PyTHREADS="0" - if test "$PyTHREADS" = "1"; then - echo "$ac_t""yes" 1>&6 - echo diff --git a/www/mod_python3/pkg-comment b/www/mod_python3/pkg-comment deleted file mode 100644 index 29297814bfad..000000000000 --- a/www/mod_python3/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Apache module for integrating Python diff --git a/www/mod_python3/pkg-descr b/www/mod_python3/pkg-descr deleted file mode 100644 index ddf915e4d8f5..000000000000 --- a/www/mod_python3/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Mod_python allows embedding Python within the Apache http server -for a considerable boost in performance and added flexibility -in designing web based applications. - -WWW: http://www.modpython.org/ -developed by Gregory Trubetskoy <grisha@modpython.org> and others - -This port requires a Python installation without threads support. Build & -(re)install Python with WITHOUT_THREADS set. diff --git a/www/mod_python3/pkg-message b/www/mod_python3/pkg-message deleted file mode 100644 index 64fe01bba1c4..000000000000 --- a/www/mod_python3/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ -================================================================================ - -Also remember to add to your Apache configuration in the appropriate context: - -PythonPath "['/path/to/foo', '/path/to/bar']" -AddHandler python-program .py -PythonHandler foobar -PythonDebug On - -Where PythonPath includes the paths to at least the Python libdir, its -site-packages dir, and to the dir where your Python programs are. Also consider -including the dir to mod_python if your Python distribution is installed in a -non-standard location. For more information, see http://www.modpython.org/. - -================================================================================ diff --git a/www/mod_python3/pkg-plist b/www/mod_python3/pkg-plist deleted file mode 100644 index 819d9143a947..000000000000 --- a/www/mod_python3/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -libexec/apache/mod_python.so -%%PYTHON_SITELIBDIR%%/mod_python/__init__.py -%%PYTHON_SITELIBDIR%%/mod_python/apache.py -%%PYTHON_SITELIBDIR%%/mod_python/cgihandler.py -%%PYTHON_SITELIBDIR%%/mod_python/httpdapi.py -%%PYTHON_SITELIBDIR%%/mod_python/publisher.py -%%PYTHON_SITELIBDIR%%/mod_python/util.py -%%PYTHON_SITELIBDIR%%/mod_python/zhandler.py -%%PYTHON_SITELIBDIR%%/mod_python/__init__.pyc -%%PYTHON_SITELIBDIR%%/mod_python/apache.pyc -%%PYTHON_SITELIBDIR%%/mod_python/cgihandler.pyc -%%PYTHON_SITELIBDIR%%/mod_python/httpdapi.pyc -%%PYTHON_SITELIBDIR%%/mod_python/publisher.pyc -%%PYTHON_SITELIBDIR%%/mod_python/util.pyc -%%PYTHON_SITELIBDIR%%/mod_python/zhandler.pyc -@dirrm %%PYTHON_SITELIBDIR%%/mod_python diff --git a/www/mod_python3/pkg-req.threads b/www/mod_python3/pkg-req.threads deleted file mode 100644 index 5328a30cedb5..000000000000 --- a/www/mod_python3/pkg-req.threads +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/sh -# anders@fix.no, 2001-08-07 - -pydir=`dirname $1 | sed "s/\/bin//"` -mylibc=`ldd $1 | tail +2 | awk '{print $1}' | cut -d'.' -f1 | grep ^libc` - -case $mylibc in -libc_r) - echo "Error: Python installation in $pydir uses threads. mod_python requires" - echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with" - echo "WITHOUT_THREADS set." - exit 1 - ;; -libc) - echo "Using a no-threads Python installation (in $pydir). Good." - exit 0 - ;; -*) - echo "Unknown libc library. Cannot use a Python installation that uses this." - exit 1 - ;; -esac |
