[csw-devel] SF.net SVN: gar:[8760] csw/mgar/pkg/mantis/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Feb 23 10:45:48 CET 2010


Revision: 8760
          http://gar.svn.sourceforge.net/gar/?rev=8760&view=rev
Author:   dmichelsen
Date:     2010-02-23 09:45:48 +0000 (Tue, 23 Feb 2010)

Log Message:
-----------
mantis: Update to 1.2.0

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

Added Paths:
-----------
    csw/mgar/pkg/mantis/trunk/files/CSWmantis.postmsg

Removed Paths:
-------------
    csw/mgar/pkg/mantis/trunk/files/CSWmantis.postinstall

Modified: csw/mgar/pkg/mantis/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mantis/trunk/Makefile	2010-02-23 09:30:52 UTC (rev 8759)
+++ csw/mgar/pkg/mantis/trunk/Makefile	2010-02-23 09:45:48 UTC (rev 8760)
@@ -1,5 +1,5 @@
 GARNAME = mantisbt
-GARVERSION = 1.1.8
+GARVERSION = 1.2.0
 CATEGORIES = apps
 
 DESCRIPTION = Mantis is a free popular web-based bugtracking system
@@ -14,7 +14,8 @@
 
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-DISTFILES += CSWmantis.preinstall CSWmantis.postinstall
+DISTFILES += CSWmantis.preinstall
+DISTFILES += CSWmantis.postmsg
 
 PACKAGES = CSWmantis
 
@@ -32,15 +33,18 @@
 
 SPKG_SOURCEURL = http://www.mantisbt.org/
 
+POSTMSG = $(docdir)/$(CATALOGNAME)/$(PACKAGES).postmsg
+
 include gar/category.mk
 
 install-custom:
 	@echo " ==> Installing $(GARNAME)"
-	@rm -rf $(DESTDIR)$(sharedstatedir)/www/mantis
-	@ginstall -d $(DESTDIR)$(sharedstatedir)/www/mantis
-	@cp -rp $(WORKSRC) $(DESTDIR)$(sharedstatedir)/www/mantis/htdocs
-	@find $(DESTDIR)$(sharedstatedir)/www/mantis/htdocs -name .cvsignore -exec rm \{\} \;
-	@rm -rf $(DESTDIR)$(prefix)/apache2/share/htdocs/mantis
-	@ginstall -d $(DESTDIR)$(prefix)/apache2/share/htdocs
-	@ln -s $(sharedstatedir)/www/mantis/htdocs $(DESTDIR)$(prefix)/apache2/share/htdocs/mantis
+	ginstall -d $(DESTDIR)$(sharedstatedir)/www/mantis/htdocs
+	cd $(WORKSRC) && tar cf - . | ( cd $(DESTDIR)$(sharedstatedir)/www/mantis/htdocs; tar xvf - )
+	find $(DESTDIR)$(sharedstatedir)/www/mantis/htdocs -name .cvsignore -exec rm \{\} \;
+	ginstall -d $(DESTDIR)$(prefix)/apache2/share/htdocs
+	ln -s $(sharedstatedir)/www/mantis/htdocs $(DESTDIR)$(prefix)/apache2/share/htdocs/mantis
+	ginstall -d $(PKGROOT)$(docdir)/$(CATALOGNAME)/
+	ginstall $(WORKDIR)/$(PACKAGES).postmsg $(PKGROOT)$(docdir)/$(CATALOGNAME)/$(PACKAGES).postmsg
+	@$(MAKECOOKIE)
 

Modified: csw/mgar/pkg/mantis/trunk/checksums
===================================================================
--- csw/mgar/pkg/mantis/trunk/checksums	2010-02-23 09:30:52 UTC (rev 8759)
+++ csw/mgar/pkg/mantis/trunk/checksums	2010-02-23 09:45:48 UTC (rev 8760)
@@ -1,3 +1,3 @@
-bbef8a268863914e61226fec2b6569ae  download/CSWmantis.postinstall
-96401030529fc97656cf78d4f7b170e7  download/CSWmantis.preinstall
-338108ebc3c9cd111b27471021312c51  download/mantisbt-1.1.8.tar.gz
+1595f79fe473ab5490496c4067240599  CSWmantis.postmsg
+96401030529fc97656cf78d4f7b170e7  CSWmantis.preinstall
+0c129b1cdfc1d9eef7688f9b6128a726  mantisbt-1.2.0.tar.gz

Deleted: csw/mgar/pkg/mantis/trunk/files/CSWmantis.postinstall
===================================================================
--- csw/mgar/pkg/mantis/trunk/files/CSWmantis.postinstall	2010-02-23 09:30:52 UTC (rev 8759)
+++ csw/mgar/pkg/mantis/trunk/files/CSWmantis.postinstall	2010-02-23 09:45:48 UTC (rev 8760)
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-/usr/bin/cat <<EOF
-
-If this is an update please make sure you have read the update notes at
-  http://www.mantisbt.org/manual/manual.installation.upgrading.php
-
-For initial install or an upgrade of a version after 1.0.0:
-
-1. Go to
-     http://yoursite/mantis/admin/install.php
-2. Check the upgrade with
-     http://yoursite/mantis/admin/check.php
-
-EOF
-
-exit 0

Copied: csw/mgar/pkg/mantis/trunk/files/CSWmantis.postmsg (from rev 8558, csw/mgar/pkg/mantis/trunk/files/CSWmantis.postinstall)
===================================================================
--- csw/mgar/pkg/mantis/trunk/files/CSWmantis.postmsg	                        (rev 0)
+++ csw/mgar/pkg/mantis/trunk/files/CSWmantis.postmsg	2010-02-23 09:45:48 UTC (rev 8760)
@@ -0,0 +1,11 @@
+
+If this is an update please make sure you have read the update notes at
+  http://www.mantisbt.org/manual/manual.installation.upgrading.php
+
+For initial install or an upgrade of a version after 1.0.0:
+
+1. Go to
+     http://yoursite/mantis/admin/install.php
+2. Check the upgrade with
+     http://yoursite/mantis/admin/check.php
+


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