pkgsrc/www/ap-python/Makefile
recht f3ec55dfa0 update to mod_python 2.7.10
changes:
This release addresses a vulnerability in mod_python 2.7.9 whereby a
specific query string processed by mod_python would cause the httpd
process to crash.

The previously released version 2.7.9 was supposed to correct this issue,
but is still vulnerable.

There are no other changes or improvements from the previous version in
this release.

If you are currently using mod_python 2.7.9 or earlier, it is highly
recommended that you upgrade to 2.7.10 as soon as possible.
2004-07-20 21:22:24 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2004/07/20 21:22:24 recht Exp $
#
DISTNAME= mod_python-2.7.10
PKGNAME= ap-python-2.7.10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/modpython/}
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.modpython.org/
COMMENT= Python interpreter embedded into Apache
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PYTHON_BIN=${PYTHONBIN}
MAKE_ENV+= PYTHONBIN=${PYTHONBIN}
PYTHON_VERSIONS_ACCEPTED= 23 22 21 20
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ap-mod_python
cd ${WRKSRC} && ${PAX} -rw -s /doc-html/ap-mod_python/ \
-pe doc-html ${PREFIX}/share/doc/html
${ECHO} lib/httpd/mod_python.so >${PLIST_SRC}
cd ${PREFIX} && ${FIND} ${PYSITELIB}/mod_python \
share/doc/html/ap-mod_python \
-type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${PYSITELIB}/mod_python \
share/doc/html/ap-mod_python \
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../lang/python/extension.mk"
.include "../../www/apache/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"