Code

Updated patches and debian build scripts
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 May 2008 08:18:42 +0000 (08:18 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 May 2008 08:18:42 +0000 (08:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10855 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/debian/patches/02_fix_template_location.dpatch
gosa-core/dh-make-gosa

index 448eca8775b9f2a83c9caf5a77196409600aa070..07f38b1abb6b6fa151be106bb1e6550a35eb352f 100755 (executable)
@@ -5,15 +5,15 @@
 ## DP: No description.
 
 @DPATCH@
-diff -urNad gosa-core~/include/functions.inc gosa-core/include/functions.inc
---- gosa-core~/include/functions.inc   2008-04-07 23:17:29.000000000 +0200
-+++ gosa-core/include/functions.inc    2008-04-07 23:17:56.000000000 +0200
+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");
 -define ("CONFIG_TEMPLATE_DIR", "../contrib/");
 +define ("CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/");
+ define ("TEMP_DIR","/var/cache/gosa/tmp");
  
  /* Define get_list flags */
- define("GL_NONE",         0);
index 203ca26f109d5c7947e9d4977091a0818bdfa53f..178fcf5fa0ad3b2d216fbb4bb5080e06817da50c 100755 (executable)
@@ -75,7 +75,11 @@ if [ -d "$file" ]; then
   load_dsc $file/plugin.dsc
 
   # Setup build environment
-  BUILD_PATH=${DEST}gosa-plugin-${PL_NAME}-${PL_VERSION}${ADD_VERSION}
+  if [ "$OVERRIDE_VERSION" ]; then
+         BUILD_PATH=${DEST}gosa-plugin-${PL_NAME}-${OVERRIDE_VERSION}
+  else
+         BUILD_PATH=${DEST}gosa-plugin-${PL_NAME}-${PL_VERSION}
+  fi
   if [ -d "$BUILD_PATH" ]; then
     echo "Error: build path $BUILD_PATH already exists" >&2
     exit 2