]> git.pld-linux.org Git - packages/MigrationTools.git/blame - MigrationTools-utf8.patch
- better solution from debian
[packages/MigrationTools.git] / MigrationTools-utf8.patch
CommitLineData
33185f5e
JR
1--- migrationtools-47.orig/debian/patches/1001_utf8_support.patch
2+++ migrationtools-47/debian/patches/1001_utf8_support.patch
3@@ -0,0 +1,273 @@
4+diff -ruN migrationtools-47.orig/migrate_common.ph migrationtools-47/migrate_common.ph
5+--- migrationtools-47.orig/migrate_common.ph 2006-01-25 05:18:16.000000000 +0100
6++++ migrationtools-47/migrate_common.ph 2007-04-07 00:05:52.000000000 +0200
7+@@ -89,6 +89,9 @@
8+ # such as person.
9+ $EXTENDED_SCHEMA = 0;
10+
11++# Comment this out if your ldap server does not support UTF8 encoding
12++$USE_UTF8 = 1;
13++
14+ #
15+ # allow environment variables to override predefines
16+ #
17+diff -ruN migrationtools-47.orig/migrate_passwd.pl migrationtools-47/migrate_passwd.pl
18+--- migrationtools-47.orig/migrate_passwd.pl 2006-01-25 05:18:16.000000000 +0100
19++++ migrationtools-47/migrate_passwd.pl 2007-04-07 00:06:13.000000000 +0200
20+@@ -36,6 +36,7 @@
21+ #
22+ # Thanks to Peter Jacob Slot <peter@vision.auk.dk>.
23+ #
24++# UTF8 support by Jonas Smedegaard <dr@jones.dk>.
25+
26+ require 'migrate_common.ph';
27+
28+@@ -53,28 +54,6 @@
29+ next if /^#/;
30+ next if /^\+/;
31+
32