gforge/deb-specific/scmsvn/cronjobs/svn_dump.pl -text
gforge/deb-specific/scmsvn/cronjobs/svn_update.pl -text
gforge/debian/compat -text
+gforge/debian/gforge-plugin-extratabs.dirs -text
+gforge/debian/gforge-plugin-extratabs.postinst -text
+gforge/debian/gforge-plugin-extratabs.prerm -text
gforge/debian/gforge-plugin-mediawiki.postinst -text
gforge/debian/gforge-plugin-mediawiki.prerm -text
gforge/debian/gforge-plugin-scmcvs.postinst -text
gforge/plugins/extratabs/README -text
gforge/plugins/extratabs/bin/db-delete.pl -text
gforge/plugins/extratabs/bin/db-upgrade.pl -text
+gforge/plugins/extratabs/common/ExtraTabsPlugin.class -text
+gforge/plugins/extratabs/common/extratabs-init.php -text
gforge/plugins/extratabs/db/extratabs-init.sql -text
gforge/plugins/extratabs/debian/changelog -text
gforge/plugins/extratabs/debian/control -text
gforge/plugins/extratabs/debian/postinst -text
gforge/plugins/extratabs/debian/prerm -text
gforge/plugins/extratabs/debian/rules -text
-gforge/plugins/extratabs/include/ExtraTabsPlugin.class -text
-gforge/plugins/extratabs/include/extratabs-init.php -text
gforge/plugins/extratabs/www/index.php -text
gforge/plugins/fckeditor/common/fckeditorPlugin.class.php -text
gforge/plugins/fckeditor/www/editor/css/behaviors/hiddenfield.gif -text
gforge (4.7.2+extratabs-1) experimental; urgency=low
* New extratabs plugin.
- * TODO : debian/rules, postinst, prerm, dirs.
- --
+ -- Roland Mas <lolando@debian.org> Mon, 20 Apr 2009 09:43:27 +0200
gforge (4.8.50-1) experimental; urgency=low
.
This plugin allows each project to embed Mediawiki under a tab.
+Package: gforge-plugin-extratabs
+Architecture: all
+Depends: gforge-common (>= 4.6.99), gforge-db-postgresql (>= 4.6.99) | gforge-db
+Description: Extratabs plugin for GForge
+ This plugin allows each project to define extra tabs with arbitrary
+ titles and links.
--- /dev/null
+usr/lib/gforge/plugins/extratabs/bin
+usr/lib/gforge/plugins/extratabs/lib
+usr/share/gforge/www/plugins/extratabs
+usr/share/gforge/plugins/extratabs/common
--- /dev/null
+#! /bin/sh
+# postinst script for gforge-plugin-extratabs
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ configure)
+ /usr/lib/gforge/plugins/extratabs/bin/db-upgrade.pl
+ /usr/lib/gforge/bin/register-plugin extratabs "Extra Tabs"
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#! /bin/sh
+# prerm script for gforge-plugin-extratabs
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|deconfigure)
+ /usr/lib/gforge/bin/unregister-plugin extratabs
+ /usr/lib/gforge/plugins/extratabs/bin/db-delete.pl
+ ;;
+ upgrade|failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
#
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-extratabs
+ cp -r plugins/extratabs/bin/* $(CURDIR)/debian/gforge-plugin-extratabs/usr/lib/gforge/plugins/extratabs/bin/
+ cp -r plugins/extratabs/common/* $(CURDIR)/debian/gforge-plugin-extratabs/usr/share/gforge/plugins/extratabs/common/
+ cp -r plugins/extratabs/db/* $(CURDIR)/debian/gforge-plugin-extratabs/usr/lib/gforge/plugins/extratabs/lib/
+ cp -r plugins/extratabs/www/* $(CURDIR)/debian/gforge-plugin-extratabs/usr/share/gforge/www/plugins/extratabs/
+
# 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