Code

* Fixed patch to work with current trunk
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 07:17:50 +0000 (07:17 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 07:17:50 +0000 (07:17 +0000)
* Fixed make-gosa-package to build plugins

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11159 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/make-gosa-package
gosa-core/debian/patches/02_fix_template_location.dpatch

index c9a346cfe5af9336d1c78968127cef08f6a2cffc..51199ecea3eafd726c4705c3b2991acf47789a78 100755 (executable)
@@ -56,7 +56,7 @@ for plugin in $MAKE_PLUGINS; do
        mv "gosa-plugins-${BRANCH}/$plugin" .
 
        echo "Debianizing plugin $plugin"
-       yes | ./dh-make-gosa $plugin
+       yes | dh-make-gosa $plugin
        rm -rf "$plugin"
 
        echo "Packing original sources 'gosa-plugin-$plugin-${GOSA_VER}'..."
@@ -115,9 +115,9 @@ else
 fi
 
 echo "Removing gosa snapshot..."
-for dir in $GOSA_DIR $GOSA_SI_DIR $GOSA_PLUGIN_DIRS; do
-       rm -rf "$dir"
-done
+#for dir in $GOSA_DIR $GOSA_SI_DIR $GOSA_PLUGIN_DIRS; do
+#      rm -rf "$dir"
+#done
 
 echo
 echo "Moving result to 'dest'"
index 07f38b1abb6b6fa151be106bb1e6550a35eb352f..522adcbe0a4270fbad7794ca5d1641890d551471 100755 (executable)
@@ -5,13 +5,13 @@
 ## DP: No description.
 
 @DPATCH@
-diff -urNad gosa-2.6.0~/include/functions.inc gosa-2.6.0/include/functions.inc
---- gosa-2.6.0~/include/functions.inc  2008-05-08 10:06:47.000000000 +0200
-+++ gosa-2.6.0/include/functions.inc   2008-05-09 10:17:09.000000000 +0200
-@@ -23,7 +23,7 @@
- /* Configuration file location */
- define ("CONFIG_DIR", "/etc/gosa");
- define ("CONFIG_FILE", "gosa.conf");
+diff -urNad gosa-core~/include/functions.inc gosa-core/include/functions.inc
+--- gosa-core~/include/functions.inc   2008-05-30 10:39:33.000000000 +0200
++++ gosa-core/include/functions.inc    2008-06-03 09:16:19.000000000 +0200
+@@ -40,7 +40,7 @@
+   define ("CONFIG_FILE",$_SERVER['CONFIG_FILE']);
+ }
 -define ("CONFIG_TEMPLATE_DIR", "../contrib/");
 +define ("CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/");
  define ("TEMP_DIR","/var/cache/gosa/tmp");