1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Update to 2.7.10 and unmark BROKEN. [1]

- Respect LOCALBASE for APXS location. [2]
- Assign maintainership to submitter. [2]

PR:		63960 [2]
Submitted by:	Simon Barner <barner@in.tum.de> [1],
		Josh Elsasser <jre@vineyard.net> [2]
Requested by:	Hideki Machida <hido@neojapangz.com> [1]
This commit is contained in:
Hye-Shik Chang 2004-03-11 13:20:01 +00:00
parent 73c7ba827a
commit 03b2c83164
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103649
4 changed files with 7 additions and 10 deletions

View File

@ -6,18 +6,16 @@
#
PORTNAME= mod_python
PORTVERSION= 2.7.8
PORTVERSION= 2.7.10
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
MASTER_SITE_SUBDIR= modpython
EXTRACT_SUFX= .tgz
DIST_SUBDIR= python
MAINTAINER= ports@FreeBSD.org
MAINTAINER= jre@vineyard.net
COMMENT= Apache module for integrating Python
FORBIDDEN= denial of service vulnerability
USE_APACHE= yes
NO_PACKAGE= "Requires Python without threads support"
USE_PYTHON= yes
@ -27,10 +25,9 @@ USE_PYTHON= yes
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}
STRIP_CMD?= strip
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You may use the following build option:"

View File

@ -1,2 +1,2 @@
MD5 (python/mod_python-2.7.8.tgz) = 4d5bee8317bfb45a3bb09f02b435e917
SIZE (python/mod_python-2.7.8.tgz) = 176639
MD5 (python/mod_python-2.7.10.tgz) = 12c98bdefa06735679efc878b81e9bb2
SIZE (python/mod_python-2.7.10.tgz) = 175631

View File

@ -5,7 +5,7 @@
@echo "Performing DSO installation."
@echo
- $(INSTALL) src/mod_python.so $(LIBEXECDIR)
+ /usr/local/sbin/apxs -i -a src/mod_python.so
+ $(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"

View File

@ -2,7 +2,7 @@
# anders@fix.no, 2001-08-07
pydir=`dirname $1 | sed "s/\/bin//"`
if [ "`ldd $1|grep libc_r`" ]; then
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."