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.
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
$NetBSD: patch-ad,v 1.2 2009/08/30 03:08:40 obache Exp $
|
|
|
|
--- Makefile.in.orig 2000-12-06 03:05:37.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -82,7 +82,7 @@ install_dso: dso
|
|
@echo
|
|
@echo "Performing DSO installation."
|
|
@echo
|
|
- $(INSTALL) src/mod_python.so $(LIBEXECDIR)
|
|
+ $(INSTALL) src/mod_python.so $(DESTDIR)$(LIBEXECDIR)
|
|
@$(MAKE) install_py_lib
|
|
@echo
|
|
@echo "Now don't forget to edit your main config and add"
|
|
@@ -114,12 +114,13 @@ install_static: static
|
|
@echo
|
|
|
|
install_py_lib:
|
|
- $(INSTALL) -d $(PY_STD_LIB)/site-packages/mod_python
|
|
+ $(INSTALL) -d $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
|
|
@for f in `ls lib/python/mod_python/*.py`; \
|
|
do \
|
|
- $(INSTALL) $$f $(PY_STD_LIB)/site-packages/mod_python; \
|
|
+ $(BSD_INSTALL_DATA) $$f $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python; \
|
|
done
|
|
- python $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
|
|
+ @PYTHON_BIN@ $(PY_STD_LIB)/compileall.py $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
|
|
+ @PYTHON_BIN@ -O $(PY_STD_LIB)/compileall.py $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
|
|
|
|
clean:
|
|
cd src && $(MAKE) clean
|