[csw-devel] SF.net SVN: gar:[3084] csw/mgar/pkg/mod_python/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Thu Feb 12 18:07:02 CET 2009


Revision: 3084
          http://gar.svn.sourceforge.net/gar/?rev=3084&view=rev
Author:   valholla
Date:     2009-02-12 17:07:02 +0000 (Thu, 12 Feb 2009)

Log Message:
-----------
update for python2.6

Modified Paths:
--------------
    csw/mgar/pkg/mod_python/trunk/Makefile
    csw/mgar/pkg/mod_python/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/mod_python/trunk/files/postinstall
    csw/mgar/pkg/mod_python/trunk/files/preremove
    csw/mgar/pkg/mod_python/trunk/files/space

Removed Paths:
-------------
    csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.depend
    csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.gspec
    csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.postinstall
    csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.preremove
    csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.prototype
    csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.space

Modified: csw/mgar/pkg/mod_python/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_python/trunk/Makefile	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/Makefile	2009-02-12 17:07:02 UTC (rev 3084)
@@ -11,34 +11,41 @@
 
 MASTER_SITES = http://www.ibiblio.org/pub/mirrors/apache/httpd/modpython/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
-pkgfiles   = depend prototype postinstall preremove space
-DISTFILES += $(call admfiles,CSWap2modpython,$(pkgfiles))
+DISTFILES += postinstall preremove space
 
+PACKAGES = CSWap2modpython
+
+REQUIRED_PKGS_CSWap2modpython = CSWap2prefork CSWpython
+CATALOGNAME_CSWap2modpython   = ap2_modpython
+SPKG_DESC_CSWap2modpython     = an Apache/Python integration module
+
+PATCHFILES  = configure.diff
+PATCHFILES += connobject.diff
+
 # We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
+UFILES_REGEX = (\d+(?:\.\d+)*)
 
-#DEPENDS += lang/python
-
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-apxs=$(prefix)/apache2/sbin/apxs
 CONFIGURE_ARGS += --with-python=$(bindir)/python
-CONFIGURE_ARGS += --with-flex=$(prefix)/flex-2.5.31/bin/flex
+CONFIGURE_ARGS += --with-flex=$(bindir)/flex-2.5.35
+CONFIGURE_ARGS += --with-python-src=../python
 
 include gar/category.mk
 
-pre-configure:
-	@( cd $(WORKSRC) ; autoconf )
-	@$(MAKECOOKIE)
+#pre-configure:
+	#@( cd $(WORKSRC) ; autoconf )
+	#@$(MAKECOOKIE)
 
-DESTDOC = $(DESTDIR)$(docdir)/ap2_modpython
+#DESTDOC = $(DESTDIR)$(docdir)/ap2_modpython
 
-post-install: install-doc
+#post-install: install-doc
 
-install-doc:
-	@install -d $(DESTDOC)
-	@for file in COPYRIGHT CREDITS LICENSE NEWS NOTICE README ; do \
-	  ginstall -m 0644 $(WORKSRC)/$$file $(DESTDOC) ; \
-	done
-	@( cd $(WORKSRC) ; gcp -vR examples doc-html $(DESTDOC) )
-	@$(MAKECOOKIE)
+#install-doc:
+	#@install -d $(DESTDOC)
+	#@for file in COPYRIGHT CREDITS LICENSE NEWS NOTICE README ; do \
+	  #ginstall -m 0644 $(WORKSRC)/$$file $(DESTDOC) ; \
+	#done
+	#@( cd $(WORKSRC) ; gcp -vR examples doc-html $(DESTDOC) )
+	#@$(MAKECOOKIE)
 

Modified: csw/mgar/pkg/mod_python/trunk/checksums
===================================================================
--- csw/mgar/pkg/mod_python/trunk/checksums	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/checksums	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1,7 +1,6 @@
 a3b0150176b726bd2833dac3a7837dc5  download/mod_python-3.3.1.tgz
-3bad74feae1e15e6d8a49e1c18615891  download/CSWap2modpython.gspec
-9d0a4f748548c229e3426c108491e6d0  download/CSWap2modpython.depend
-5c4b873a945c9405c7dccdd28e10f28c  download/CSWap2modpython.prototype
-6fda2f740f138af54536b87fb598426b  download/CSWap2modpython.postinstall
-6892dd209d16d2c565581e9de272cf3e  download/CSWap2modpython.preremove
-0dd379f20ceb32fc77bb3a9bf045097f  download/CSWap2modpython.space
+6fda2f740f138af54536b87fb598426b  download/postinstall
+6892dd209d16d2c565581e9de272cf3e  download/preremove
+0dd379f20ceb32fc77bb3a9bf045097f  download/space
+783e43fd9ed17cbea81abfabc852001e  download/configure.diff
+efd99b53da7ae63dab49edbcc8bd65c2  download/connobject.diff

Deleted: csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.depend
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.depend	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.depend	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1,2 +0,0 @@
-P CSWap2prefork ap2_prefork - Apache 2.2 prefork MPM
-P CSWpython python - The Python language interpreter

Deleted: csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.gspec
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.gspec	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.gspec	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1,4 +0,0 @@
-%var            bitname ap2_modpython
-%var            pkgname CSWap2modpython
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC}/LICENSE

Deleted: csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.postinstall
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.postinstall	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.postinstall	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
-AP2_PREFIX=$CSW_PREFIX/apache2
-AP2_BINDIR=$AP2_PREFIX/sbin
-AP2_LIBEXEC=$AP2_PREFIX/libexec
-AP2_CONFDIR=$AP2_PREFIX/etc
-AP2_EXTRADIR=$AP2_CONFDIR/extra
-AP2_CONFIG=$AP2_CONFDIR/httpd.conf
-
-# Enable the python module
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-chroot $PKG_INSTALL_ROOT \
-    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n python mod_python.so
-
-# Finito
-cat <<END
-
-NOTICE: mod_python is enabled in httpd.conf but the server was not restarted.
-Please configure mod_python and restart apache.
-
-END
-
-exit 0

Deleted: csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.preremove
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.preremove	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.preremove	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
-AP2_PREFIX=$CSW_PREFIX/apache2
-AP2_BINDIR=$AP2_PREFIX/sbin
-AP2_LIBEXEC=$AP2_PREFIX/libexec
-AP2_CONFDIR=$AP2_PREFIX/etc
-AP2_EXTRADIR=$AP2_CONFDIR/extra
-AP2_CONFIG=$AP2_CONFDIR/httpd.conf
-
-# Disable the python module
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-chroot $PKG_INSTALL_ROOT \
-    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n python mod_python.so
-
-cat <<END
-
-NOTICE: mod_python is disabled in httpd.conf but the server was not restarted.
-Please check your configuration and restart apache.
-
-END
-
-exit 0

Deleted: csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.prototype
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.prototype	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.prototype	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1,198 +0,0 @@
-d none /opt/csw/apache2 0755 root bin
-d none /opt/csw/apache2/libexec 0755 root bin
-f none /opt/csw/apache2/libexec/mod_python.so 0755 root bin
-d none /opt/csw/lib 0755 root bin
-d none /opt/csw/lib/python 0755 root bin
-d none /opt/csw/lib/python/site-packages 0755 root bin
-d none /opt/csw/lib/python/site-packages/mod_python 0755 root bin
-f none /opt/csw/lib/python/site-packages/mod_python-3.3.1-py2.5.egg-info 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/Cookie.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/Cookie.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/Cookie.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/Session.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/Session.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/Session.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/__init__.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/__init__.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/__init__.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/_psp.so 0755 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/apache.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/apache.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/apache.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/cache.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/cache.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/cache.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/cgihandler.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/cgihandler.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/cgihandler.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/importer.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/importer.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/importer.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/psp.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/psp.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/psp.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/publisher.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/publisher.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/publisher.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/python22.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/python22.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/python22.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/testhandler.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/testhandler.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/testhandler.pyo 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/util.py 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/util.pyc 0644 root bin
-f none /opt/csw/lib/python/site-packages/mod_python/util.pyo 0644 root bin
-d none /opt/csw/share 0755 root bin
-d none /opt/csw/share/doc 0755 root bin
-d none /opt/csw/share/doc/ap2_modpython 0755 root bin
-f none /opt/csw/share/doc/ap2_modpython/COPYRIGHT 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/CREDITS 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/LICENSE 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/NEWS 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/NOTICE 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/README 0644 root bin
-d none /opt/csw/share/doc/ap2_modpython/doc-html 0755 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/about.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/app-changes-from-2.x.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/app-changes-from-3.1.4.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/app-changes-from-3.2.10.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/app-changes-from-3.2.7.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/app-changes.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/blank.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/contents.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/contents.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-conn-ch.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-conn.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-filter-if.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-filter-of.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-filter.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-ach.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-auh.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-auzh.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-fuh.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-hph.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-pch.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-ph.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-pih.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-plh.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-prrh.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-syn.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-th.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers-tph.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-handlers.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-epd.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-ipd.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-ipdv.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-par.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-pd.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-phm.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-pi.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-pimp.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-po.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-pomz.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other-pp.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/dir-other.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/directives.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/front.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/genindex.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-cgi.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-psp.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-pub-alg-args.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-pub-alg-auth.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-pub-alg-trav.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-pub-alg.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-pub-intro.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/hand-pub.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/handlers.html 0644 root bin
-d none /opt/csw/share/doc/ap2_modpython/doc-html/icons 0755 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/blank.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/blank.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/contents.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/contents.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/index.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/index.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/modules.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/modules.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/next.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/next.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/previous.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/previous.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/pyfav.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/pyfav.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/up.gif 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/icons/up.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/index.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/index.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-apacheconfig.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-compiling.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-configure.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-installing.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-make.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-makeinstall.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-prerequisites.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-testing.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/inst-trouble.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/installation.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/intr-flexibility.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/intr-history.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/intr-performance.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/introduction.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/modpython.css 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/modpython.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/module-apache.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/modules.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/next.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/node103.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/previous.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-apmem.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-apmeth.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-conn.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-cookie-classes.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-cookie-example.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-cookie-func.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-cookie.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-filter.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-handler.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-interps.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpconn-mem.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpconn-meth.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpconn.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpfilt-mem.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpfilt-meth.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpfilt.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mprequest-mem.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mprequest-meth.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mprequest.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpserver.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpsrv-mem.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mpsrv-meth.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-mptable.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-psp.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-sess-classes.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-sess-example.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-sess.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-util-fstor-examples.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-util-fstor-fld.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-util-fstor.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-util-funcs.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyapi-util.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pyfav.png 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/pythonapi.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/security.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi-conditionals.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi-data-scope.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi-globals.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi-output-filter.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi-overview.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi-python-code.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/ssi.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/tut-404-handler.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/tut-more-complicated.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/tut-overview.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/tut-pub.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/tut-what-it-do.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/tutorial.html 0644 root bin
-f none /opt/csw/share/doc/ap2_modpython/doc-html/up.png 0644 root bin
-d none /opt/csw/share/doc/ap2_modpython/examples 0755 root bin
-f none /opt/csw/share/doc/ap2_modpython/examples/gzipfilter.py 0644 root bin

Deleted: csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.space
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.space	2009-02-12 15:08:57 UTC (rev 3083)
+++ csw/mgar/pkg/mod_python/trunk/files/CSWap2modpython.space	2009-02-12 17:07:02 UTC (rev 3084)
@@ -1 +0,0 @@
-$BASEDIR 4

Added: csw/mgar/pkg/mod_python/trunk/files/postinstall
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/postinstall	                        (rev 0)
+++ csw/mgar/pkg/mod_python/trunk/files/postinstall	2009-02-12 17:07:02 UTC (rev 3084)
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
+AP2_PREFIX=$CSW_PREFIX/apache2
+AP2_BINDIR=$AP2_PREFIX/sbin
+AP2_LIBEXEC=$AP2_PREFIX/libexec
+AP2_CONFDIR=$AP2_PREFIX/etc
+AP2_EXTRADIR=$AP2_CONFDIR/extra
+AP2_CONFIG=$AP2_CONFDIR/httpd.conf
+
+# Enable the python module
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+chroot $PKG_INSTALL_ROOT \
+    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n python mod_python.so
+
+# Finito
+cat <<END
+
+NOTICE: mod_python is enabled in httpd.conf but the server was not restarted.
+Please configure mod_python and restart apache.
+
+END
+
+exit 0

Added: csw/mgar/pkg/mod_python/trunk/files/preremove
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/preremove	                        (rev 0)
+++ csw/mgar/pkg/mod_python/trunk/files/preremove	2009-02-12 17:07:02 UTC (rev 3084)
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
+AP2_PREFIX=$CSW_PREFIX/apache2
+AP2_BINDIR=$AP2_PREFIX/sbin
+AP2_LIBEXEC=$AP2_PREFIX/libexec
+AP2_CONFDIR=$AP2_PREFIX/etc
+AP2_EXTRADIR=$AP2_CONFDIR/extra
+AP2_CONFIG=$AP2_CONFDIR/httpd.conf
+
+# Disable the python module
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+chroot $PKG_INSTALL_ROOT \
+    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n python mod_python.so
+
+cat <<END
+
+NOTICE: mod_python is disabled in httpd.conf but the server was not restarted.
+Please check your configuration and restart apache.
+
+END
+
+exit 0

Added: csw/mgar/pkg/mod_python/trunk/files/space
===================================================================
--- csw/mgar/pkg/mod_python/trunk/files/space	                        (rev 0)
+++ csw/mgar/pkg/mod_python/trunk/files/space	2009-02-12 17:07:02 UTC (rev 3084)
@@ -0,0 +1 @@
+$BASEDIR 4


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list