From 2c96f26a12ae4d0474c70d61c6cab483c2865f49 Mon Sep 17 00:00:00 2001 From: Olli Hauer Date: Sun, 1 Jan 2012 19:30:58 +0000 Subject: - remove apache13 and ports depending on apache13 from portstree ( EXPIRATION_DATE=2012-01-01 ) with hat apache@ --- www/mod_python/Makefile | 73 --------------------------------- www/mod_python/distinfo | 2 - www/mod_python/files/optpatch-WANT_EAPI | 11 ----- www/mod_python/files/patch-Makefile.in | 18 -------- www/mod_python/files/patch-configure | 11 ----- www/mod_python/pkg-descr | 9 ---- www/mod_python/pkg-message | 12 ------ www/mod_python/pkg-plist | 16 -------- www/mod_python/pkg-req.threads | 13 ------ 9 files changed, 165 deletions(-) delete mode 100644 www/mod_python/Makefile delete mode 100644 www/mod_python/distinfo delete mode 100644 www/mod_python/files/optpatch-WANT_EAPI delete mode 100644 www/mod_python/files/patch-Makefile.in delete mode 100644 www/mod_python/files/patch-configure delete mode 100644 www/mod_python/pkg-descr delete mode 100644 www/mod_python/pkg-message delete mode 100644 www/mod_python/pkg-plist delete mode 100644 www/mod_python/pkg-req.threads (limited to 'www/mod_python') diff --git a/www/mod_python/Makefile b/www/mod_python/Makefile deleted file mode 100644 index 254b4d608701..000000000000 --- a/www/mod_python/Makefile +++ /dev/null @@ -1,73 +0,0 @@ -# New ports collection makefile for: mod_python -# Date created: 28 August 2000 -# Whom: Hye-Shik Chang -# -# $FreeBSD$ -# - -PORTNAME= mod_python -PORTVERSION= 2.7.11 -CATEGORIES= www python -MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} -MASTER_SITE_SUBDIR= modpython -PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz -DIST_SUBDIR= python - -MAINTAINER= apache@FreeBSD.org -COMMENT= Apache 1.3 module for integrating Python - -DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now -EXPIRATION_DATE= 2012-01-01 - -MAKE_JOBS_SAFE= yes - -.if defined(PACKAGE_BUILDING) -IGNORE= Requires python WITHOUT_THREADS -.endif - -USE_APACHE= 13 -NO_PACKAGE= Requires Python without threads support -USE_PYTHON= yes - -PORTSCOUT= limit:^2 - -.include - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-apxs=${APXS} -CONFIGURE_ENV= PYTHON_BIN=${PYTHON_CMD} -MAKE_ENV= PORTS_APXS=${APXS} -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} - -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "Note that this is for Apache 1.3 only, use www/mod_python 3 for Apache 2.x" - @${ECHO_MSG} "" - @${ECHO_MSG} "You may use the following build option:" - @${ECHO_MSG} "" - @${ECHO_MSG} " WANT_EAPI=yes build as apache EAPI module (for apache13-modssl)" - @${ECHO_MSG} "" - -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 diff --git a/www/mod_python/distinfo b/www/mod_python/distinfo deleted file mode 100644 index 896e25bf512f..000000000000 --- a/www/mod_python/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (python/mod_python-2.7.11.tgz) = d56f21b37a85c6f2464b669faf071676302d636037fccf818722291126e851cf -SIZE (python/mod_python-2.7.11.tgz) = 175763 diff --git a/www/mod_python/files/optpatch-WANT_EAPI b/www/mod_python/files/optpatch-WANT_EAPI deleted file mode 100644 index c98727f2a389..000000000000 --- a/www/mod_python/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_python/files/patch-Makefile.in b/www/mod_python/files/patch-Makefile.in deleted file mode 100644 index 14643c434bc8..000000000000 --- a/www/mod_python/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) -+ $(PORTS_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_python/files/patch-configure b/www/mod_python/files/patch-configure deleted file mode 100644 index 510df67f1b04..000000000000 --- a/www/mod_python/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_python/pkg-descr b/www/mod_python/pkg-descr deleted file mode 100644 index ddf915e4d8f5..000000000000 --- a/www/mod_python/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 and others - -This port requires a Python installation without threads support. Build & -(re)install Python with WITHOUT_THREADS set. diff --git a/www/mod_python/pkg-message b/www/mod_python/pkg-message deleted file mode 100644 index 612fd5e7f501..000000000000 --- a/www/mod_python/pkg-message +++ /dev/null @@ -1,12 +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 - -For more information, see http://www.modpython.org/. - -================================================================================ diff --git a/www/mod_python/pkg-plist b/www/mod_python/pkg-plist deleted file mode 100644 index e998365ef5e6..000000000000 --- a/www/mod_python/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -%%APACHEMODDIR%%/%%AP_MODULE%% -%%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_python/pkg-req.threads b/www/mod_python/pkg-req.threads deleted file mode 100644 index 6244f88a580d..000000000000 --- a/www/mod_python/pkg-req.threads +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh -# anders@fix.no, 2001-08-07 - -pydir=`dirname $1 | sed "s/\/bin//"` -if [ "`ldd $1|egrep 'libc_r|libkse|libthr|libpthread'`" ]; then - 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 -else - echo "Using a no-threads Python installation (in $pydir). Good." - exit 0 -fi -- cgit v1.2.3