Bug#793470: jessie-pu: package gosa/2.7.4+reloaded2-1+deb8u1
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu
Please consider accepting the below changes to src:package Gosa in Debian jessie:
+ * debian/patches:
+ + Add 2007_gen-uids-like-gosa26.patch. Fix idGenerator for patterns like
+ {%sn[3-6}-{%givenName[3-6]}. (Closes: #793455).
Fix breakage in uid generation when upgrading from gosa 2.6 (Debian
squeeze) to gosa 2.7 in Debian jessie.
+ + Add 2008_enable-csv-import-on-clean-installs.patch. Enable CSV / LDIF
+ import on (non-Debian-Edu) clean GOsa² installations by default. (Closes:
+ #782529)
Make sure the LDAP import plugin gets initialized properly on initial
GOsa² installation.
light+love,
Mike
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru gosa-2.7.4+reloaded2/debian/changelog gosa-2.7.4+reloaded2/debian/changelog
--- gosa-2.7.4+reloaded2/debian/changelog 2014-08-12 18:33:51.000000000 +0200
+++ gosa-2.7.4+reloaded2/debian/changelog 2015-07-24 12:37:28.000000000 +0200
@@ -1,3 +1,14 @@
+gosa (2.7.4+reloaded2-1+deb8u1) jessie-proposed-updates; urgency=medium
+
+ * debian/patches:
+ + Add 2007_gen-uids-like-gosa26.patch. Fix idGenerator for patterns like
+ {%sn[3-6}-{%givenName[3-6]}. (Closes: #793455).
+ + Add 2008_enable-csv-import-on-clean-installs.patch. Enable CSV / LDIF
+ import on (non-Debian-Edu) clean GOsa² installations by default. (Closes:
+ #782529)
+
+ -- Mike Gabriel <sunweaver@debian.org> Fri, 24 Jul 2015 12:36:48 +0200
+
gosa (2.7.4+reloaded2-1) unstable; urgency=medium
* Repack gosa src:package in order to drop several subtrees of the source
diff -Nru gosa-2.7.4+reloaded2/debian/patches/2007_gen-uids-like-gosa26.patch gosa-2.7.4+reloaded2/debian/patches/2007_gen-uids-like-gosa26.patch
--- gosa-2.7.4+reloaded2/debian/patches/2007_gen-uids-like-gosa26.patch 1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.7.4+reloaded2/debian/patches/2007_gen-uids-like-gosa26.patch 2015-07-24 12:36:34.000000000 +0200
@@ -0,0 +1,16 @@
+Description: Re-instate GOsa² 2.6 uid-from-fullname generation
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Abstract:
+ For details, see http://bugs.debian.org/793455
+
+--- a/gosa-core/include/functions.inc
++++ b/gosa-core/include/functions.inc
+@@ -3831,7 +3831,7 @@
+ for($i=$match[5]; $i<= $match[7]; $i++){
+ if(isset($attributes[$match[2]][$i])){
+ $tmp = " ".$attributes[$match[2]];
+- $str .= $tmp[$i];
++ $str = substr ($tmp, 1, $i);
+ $replacements[$match[0]][] = trim($str);
+ }
+ }
diff -Nru gosa-2.7.4+reloaded2/debian/patches/2008_enable-csv-import-on-clean-installs.patch gosa-2.7.4+reloaded2/debian/patches/2008_enable-csv-import-on-clean-installs.patch
--- gosa-2.7.4+reloaded2/debian/patches/2008_enable-csv-import-on-clean-installs.patch 1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.7.4+reloaded2/debian/patches/2008_enable-csv-import-on-clean-installs.patch 2015-07-24 12:36:34.000000000 +0200
@@ -0,0 +1,14 @@
+Description: Enable CSV/LDIF Import on clean installs
+Author: Philipp Huebner <debalance@debian.org>
+
+--- a/gosa-core/contrib/gosa.conf
++++ b/gosa-core/contrib/gosa.conf
+@@ -313,6 +313,8 @@
+ <ldiftab>
+ <tab class="ldifexport" name="Export" />
+ <tab class="xlsexport" name="Excel Export" />
++ <tab class="ldifimport" name="Import" />
++ <tab class="csvimport" name="CSV Import" />
+ </ldiftab>
+
+ <faipartitiontabs>
diff -Nru gosa-2.7.4+reloaded2/debian/patches/series gosa-2.7.4+reloaded2/debian/patches/series
--- gosa-2.7.4+reloaded2/debian/patches/series 2014-08-12 16:40:22.000000000 +0200
+++ gosa-2.7.4+reloaded2/debian/patches/series 2015-07-24 12:36:34.000000000 +0200
@@ -11,3 +11,5 @@
2004_fix-locale-location.patch
2005_no-image-warning.patch
2006_sasl-password-change.patch
+2007_gen-uids-like-gosa26.patch
+2008_enable-csv-import-on-clean-installs.patch
Reply to: