d804794fbb
While here, * add user-destdir support * convert dynamic PLIST to static one * share/doc/html was deprecated, install in share/doc directly * Remove restriction to python23, and change PKGNAME to allow creating python valiant packages. This release addresses a vulnerability in mod_python's publisher handler whereby a carefully crafted URL would expose objects that should not be visible, leading to an information leak. The Common Vulnerabilities and Exposures project (http://cve.mitre.org/) has assigned the name CAN-2005-0088 to this issue. Users of the publisher handler are urged to upgrade as soon as possible.
33 lines
881 B
Makefile
33 lines
881 B
Makefile
# $NetBSD: Makefile,v 1.24 2009/08/30 03:08:40 obache Exp $
|
|
#
|
|
|
|
DISTNAME= mod_python-2.7.11
|
|
PKGNAME= ap13-${PYPKGPREFIX}-python-2.7.11
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/modpython/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.modpython.org/
|
|
COMMENT= Python interpreter embedded into Apache
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
CONFLICTS= ap-python-[0-9]* ap13-python-[0-9]* ap13-py[0-9]*-python-[0-9]*
|
|
SUPERSEDES= ap13-python-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= PYTHON_BIN=${PYTHONBIN:Q} ac_cv_path_MKDEP=
|
|
|
|
INSTALLATION_DIRS= lib/httpd share/doc/ap-mod_python
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc-html && pax -rwpe . ${DESTDIR}${PREFIX}/share/doc/ap-mod_python
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../www/apache/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|