[Fusionforge-commits] r7527 - in trunk/gforge: control cron.d debian dirs install

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Apr 29 11:43:19 CEST 2009


Author: lolando
Date: 2009-04-29 11:43:19 +0200 (Wed, 29 Apr 2009)
New Revision: 7527

Added:
   trunk/gforge/control/180plugin-globalsearch
   trunk/gforge/control/180plugin-globalsearch.shortdesc
   trunk/gforge/cron.d/plugin-globalsearch
   trunk/gforge/dirs/plugin-globalsearch
   trunk/gforge/install/plugin-globalsearch
Removed:
   trunk/gforge/debian/gforge-plugin-globalsearch.cron.d
   trunk/gforge/debian/gforge-plugin-globalsearch.dirs
Modified:
   trunk/gforge/debian/gforge-plugin-globalsearch.postinst
   trunk/gforge/debian/gforge-plugin-globalsearch.prerm
   trunk/gforge/debian/rules
Log:
Fixed packaging after rebasing the globalsearch branch from Adullact

Added: trunk/gforge/control/180plugin-globalsearch
===================================================================
--- trunk/gforge/control/180plugin-globalsearch	                        (rev 0)
+++ trunk/gforge/control/180plugin-globalsearch	2009-04-29 09:43:19 UTC (rev 7527)
@@ -0,0 +1,4 @@
+Package: @PACKAGE at -plugin-globalsearch
+Architecture: all
+Depends: @PACKAGE at -common (>= 4.6.99), @PACKAGE at -db-postgresql (>= 4.6.99) | @PACKAGE at -db, @PACKAGE at -web-apache2 (>= 4.6.99) | @PACKAGE at -web, libxml-rss-perl, libgetopt-mixed-perl, libdbi-perl, libwww-perl, libcrypt-ssleay-perl, libunicode-string-perl, ${misc:Depends}
+Description: Globalsearch plugin for FusionForge

Added: trunk/gforge/control/180plugin-globalsearch.shortdesc
===================================================================
--- trunk/gforge/control/180plugin-globalsearch.shortdesc	                        (rev 0)
+++ trunk/gforge/control/180plugin-globalsearch.shortdesc	2009-04-29 09:43:19 UTC (rev 7527)
@@ -0,0 +1,3 @@
+ This plugin contains a cross-FusionForge search engine.  You can
+ declare a list of other FusionForge sites, and search for projects
+ hosted on these forges from your own.

Copied: trunk/gforge/cron.d/plugin-globalsearch (from rev 7526, trunk/gforge/debian/gforge-plugin-globalsearch.cron.d)
===================================================================
--- trunk/gforge/cron.d/plugin-globalsearch	                        (rev 0)
+++ trunk/gforge/cron.d/plugin-globalsearch	2009-04-29 09:43:19 UTC (rev 7527)
@@ -0,0 +1 @@
+30 3 * * * gforge [ -x /usr/share/gforge/plugins/globalsearch/bin/get_assoc_sites_projects.pl ] && /usr/share/gforge/plugins/globalsearch/bin/get_assoc_sites_projects.pl > /dev/null 2>&1

Deleted: trunk/gforge/debian/gforge-plugin-globalsearch.cron.d
===================================================================
--- trunk/gforge/debian/gforge-plugin-globalsearch.cron.d	2009-04-29 09:43:01 UTC (rev 7526)
+++ trunk/gforge/debian/gforge-plugin-globalsearch.cron.d	2009-04-29 09:43:19 UTC (rev 7527)
@@ -1 +0,0 @@
-30 3 * * * gforge [ -x /usr/lib/gforge/plugins/globalsearch/bin/get_assoc_sites_projects.pl ] && /usr/lib/gforge/plugins/globalsearch/bin/get_assoc_sites_projects.pl > /dev/null 2>&1

Deleted: trunk/gforge/debian/gforge-plugin-globalsearch.dirs
===================================================================
--- trunk/gforge/debian/gforge-plugin-globalsearch.dirs	2009-04-29 09:43:01 UTC (rev 7526)
+++ trunk/gforge/debian/gforge-plugin-globalsearch.dirs	2009-04-29 09:43:19 UTC (rev 7527)
@@ -1,4 +0,0 @@
-usr/lib/gforge/plugins/globalsearch/bin
-usr/lib/gforge/plugins/globalsearch/lib
-usr/share/gforge/www/plugins/globalsearch
-usr/share/gforge/plugins/globalsearch/common

Modified: trunk/gforge/debian/gforge-plugin-globalsearch.postinst
===================================================================
--- trunk/gforge/debian/gforge-plugin-globalsearch.postinst	2009-04-29 09:43:01 UTC (rev 7526)
+++ trunk/gforge/debian/gforge-plugin-globalsearch.postinst	2009-04-29 09:43:19 UTC (rev 7527)
@@ -25,8 +25,8 @@
 
 case "$1" in
     configure)
-        /usr/lib/gforge/plugins/globalsearch/bin/db-upgrade.pl
-        /usr/lib/gforge/bin/register-plugin globalsearch "Global Search"
+        /usr/share/gforge/plugins/globalsearch/bin/db-upgrade.pl
+        /usr/share/gforge/bin/register-plugin globalsearch "Global Search"
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: trunk/gforge/debian/gforge-plugin-globalsearch.prerm
===================================================================
--- trunk/gforge/debian/gforge-plugin-globalsearch.prerm	2009-04-29 09:43:01 UTC (rev 7526)
+++ trunk/gforge/debian/gforge-plugin-globalsearch.prerm	2009-04-29 09:43:19 UTC (rev 7527)
@@ -19,8 +19,8 @@
 
 case "$1" in
     remove|deconfigure)
-        /usr/lib/gforge/bin/unregister-plugin globalsearch
-        /usr/lib/gforge/plugins/globalsearch/bin/db-delete.pl
+        /usr/share/gforge/bin/unregister-plugin globalsearch
+        /usr/share/gforge/plugins/globalsearch/bin/db-delete.pl
         ;;
     upgrade|failed-upgrade)
         ;;

Modified: trunk/gforge/debian/rules
===================================================================
--- trunk/gforge/debian/rules	2009-04-29 09:43:01 UTC (rev 7526)
+++ trunk/gforge/debian/rules	2009-04-29 09:43:19 UTC (rev 7527)
@@ -125,12 +125,6 @@
 	chmod 755 $(CURDIR)/debian/$(PACKAGE)-db-postgresql/usr/share/*/db/*.php
 	chmod 644 $(CURDIR)/debian/$(PACKAGE)-db-postgresql/usr/share/gforge/cronjobs/*.inc
 
-	# gforge-plugin-globalsearch
-	install -m 755 plugins/globalsearch/bin/* $(CURDIR)/debian/gforge-plugin-globalsearch/usr/lib/gforge/plugins/globalsearch/bin/
-	cp -r plugins/globalsearch/lib/* $(CURDIR)/debian/gforge-plugin-globalsearch/usr/lib/gforge/plugins/globalsearch/lib/
-	cp -r plugins/globalsearch/common/* $(CURDIR)/debian/gforge-plugin-globalsearch/usr/share/gforge/plugins/globalsearch/common/
-	cp -r plugins/globalsearch/www/* $(CURDIR)/debian/gforge-plugin-globalsearch/usr/share/gforge/www/plugins/globalsearch/
-
 	# viewvc rights
 	find $(CURDIR)/debian/$(PACKAGE)-web-apache2/usr/share/*/www/scm/viewvc -type f -exec chmod 0644 {} \;
 	grep -ril '^#!' $(CURDIR)/debian/$(PACKAGE)-web-apache2/usr/share/*/www/scm/viewvc | xargs chmod 0755

Copied: trunk/gforge/dirs/plugin-globalsearch (from rev 7526, trunk/gforge/debian/gforge-plugin-globalsearch.dirs)
===================================================================
--- trunk/gforge/dirs/plugin-globalsearch	                        (rev 0)
+++ trunk/gforge/dirs/plugin-globalsearch	2009-04-29 09:43:19 UTC (rev 7527)
@@ -0,0 +1,4 @@
+usr/share/gforge/plugins/globalsearch/bin
+usr/share/gforge/plugins/globalsearch/lib
+usr/share/gforge/www/plugins/globalsearch
+usr/share/gforge/plugins/globalsearch/common

Added: trunk/gforge/install/plugin-globalsearch
===================================================================
--- trunk/gforge/install/plugin-globalsearch	                        (rev 0)
+++ trunk/gforge/install/plugin-globalsearch	2009-04-29 09:43:19 UTC (rev 7527)
@@ -0,0 +1,4 @@
+plugins/globalsearch/bin/*	usr/share/gforge/plugins/globalsearch/bin/
+plugins/globalsearch/lib/*	usr/share/gforge/plugins/globalsearch/lib/
+plugins/globalsearch/common/*	usr/share/gforge/plugins/globalsearch/common/
+plugins/globalsearch/www/*	usr/share/gforge/www/plugins/globalsearch/




More information about the Fusionforge-commits mailing list