[csw-devel] SF.net SVN: gar:[5748] csw/mgar/pkg/mod_macro/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Jul 30 20:09:42 CEST 2009


Revision: 5748
          http://gar.svn.sourceforge.net/gar/?rev=5748&view=rev
Author:   skayser
Date:     2009-07-30 18:09:42 +0000 (Thu, 30 Jul 2009)

Log Message:
-----------
mod_macro: added postinstall/preremove

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

Added Paths:
-----------
    csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.postinstall
    csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.preremove

Removed Paths:
-------------
    csw/mgar/pkg/mod_macro/trunk/files/postinstall
    csw/mgar/pkg/mod_macro/trunk/files/preremove

Modified: csw/mgar/pkg/mod_macro/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_macro/trunk/Makefile	2009-07-30 18:01:53 UTC (rev 5747)
+++ csw/mgar/pkg/mod_macro/trunk/Makefile	2009-07-30 18:09:42 UTC (rev 5748)
@@ -9,6 +9,7 @@
 
 MASTER_SITES = http://cri.ensmp.fr/~coelho/mod_macro/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
+DISTFILES  += CSWap2modmacro.postinstall CSWap2modmacro.preremove
 LICENSE = LICENSE
 
 PACKAGES = CSWap2modmacro
@@ -41,5 +42,6 @@
 	ginstall -d $(DOCDEST)
 	ginstall -D $(WORKSRC)/.libs/mod_macro.so $(AP2_LIBEXEC)/mod_macro.so
 	cp $(FILEDIR)/changelog.CSW $(DOCDEST)
-	cp $(addprefix $(WORKSRC)/,$(EXTRA_DOCS)) $(DOCDEST)
+	cp $(WORKSRC)/CHANGES $(DOCDEST)/changelog
+	cp $(WORKSRC)/mod_macro.html $(DOCDEST)
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/mod_macro/trunk/checksums
===================================================================
--- csw/mgar/pkg/mod_macro/trunk/checksums	2009-07-30 18:01:53 UTC (rev 5747)
+++ csw/mgar/pkg/mod_macro/trunk/checksums	2009-07-30 18:09:42 UTC (rev 5748)
@@ -1 +1,3 @@
+e5d8b18218f1c4904c12172741040650  download/CSWap2modmacro.postinstall
+b3b0f680b852fa80ab15cb2719e2a5de  download/CSWap2modmacro.preremove
 ebc44eea3e197a38c93d9deb0afcb8ff  download/mod_macro-1.1.10.tar.bz2

Copied: csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.postinstall (from rev 5739, csw/mgar/pkg/mod_macro/trunk/files/postinstall)
===================================================================
--- csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.postinstall	                        (rev 0)
+++ csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.postinstall	2009-07-30 18:09:42 UTC (rev 5748)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+CSW_PREFIX=/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 module
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+chroot $PKG_INSTALL_ROOT \
+    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n \
+    macro mod_macro.so
+
+# Finito
+cat <<END
+
+NOTICE: mod_macro is enabled in httpd.conf but the server was not
+restarted.  Please examine your configuration and restart apache2.
+
+END
+
+exit 0

Copied: csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.preremove (from rev 5739, csw/mgar/pkg/mod_macro/trunk/files/preremove)
===================================================================
--- csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.preremove	                        (rev 0)
+++ csw/mgar/pkg/mod_macro/trunk/files/CSWap2modmacro.preremove	2009-07-30 18:09:42 UTC (rev 5748)
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+CSW_PREFIX=/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 module
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+chroot $PKG_INSTALL_ROOT \
+    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n \
+    macro mod_macro.so
+
+cat <<END
+
+NOTICE: mod_macro is disabled in httpd.conf but the server was not
+restarted.  Please check your configuration and restart apache2.
+
+END
+
+exit 0

Deleted: csw/mgar/pkg/mod_macro/trunk/files/postinstall
===================================================================
--- csw/mgar/pkg/mod_macro/trunk/files/postinstall	2009-07-30 18:01:53 UTC (rev 5747)
+++ csw/mgar/pkg/mod_macro/trunk/files/postinstall	2009-07-30 18:09:42 UTC (rev 5748)
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-CSW_PREFIX=/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 module
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-chroot $PKG_INSTALL_ROOT \
-    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n \
-    macro_module mod_macro.so
-
-# Finito
-cat <<END
-
-NOTICE: mod_macro is enabled in httpd.conf but the server was not
-restarted.  Please examine your configuration and restart apache2.
-
-END
-
-exit 0

Deleted: csw/mgar/pkg/mod_macro/trunk/files/preremove
===================================================================
--- csw/mgar/pkg/mod_macro/trunk/files/preremove	2009-07-30 18:01:53 UTC (rev 5747)
+++ csw/mgar/pkg/mod_macro/trunk/files/preremove	2009-07-30 18:09:42 UTC (rev 5748)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-CSW_PREFIX=/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 module
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-chroot $PKG_INSTALL_ROOT \
-    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n \
-    macro_module mod_macro.so
-
-cat <<END
-
-NOTICE: mod_macro is disabled in httpd.conf but the server was not
-restarted.  Please check your configuration and restart apache2.
-
-END
-
-exit 0


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