Blame SOURCES/MigrationTools-38-instdir.patch

e96fd1
We know where these scripts are going to be installed, so add the necessary
e96fd1
magic to let them be called from anywhere.
e96fd1
e96fd1
diff -up MigrationTools-47/migrate_aliases.pl.patch1 MigrationTools-47/migrate_aliases.pl
e96fd1
--- MigrationTools-47/migrate_aliases.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_aliases.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 # thanks to Dave McPike
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_aliases.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_all_netinfo_offline.sh.patch1 MigrationTools-47/migrate_all_netinfo_offline.sh
e96fd1
--- MigrationTools-47/migrate_all_netinfo_offline.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_netinfo_offline.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,6 +38,7 @@
e96fd1
 
e96fd1
 PATH=$PATH:.
e96fd1
 export PATH
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 
e96fd1
 TMPDIR="/tmp"
e96fd1
 ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
e96fd1
@@ -68,7 +69,7 @@ nidump hosts $DOM > $ETC_HOSTS
e96fd1
 nidump networks $DOM > $ETC_NETWORKS
e96fd1
 nidump aliases $DOM > $ETC_ALIASES
e96fd1
 
e96fd1
-. migrate_all_offline.sh
e96fd1
+. ${INSTDIR}migrate_all_offline.sh
e96fd1
 
e96fd1
 rm -f $ETC_PASSWD
e96fd1
 rm -f $ETC_GROUP
e96fd1
diff -up MigrationTools-47/migrate_all_netinfo_online.sh.patch1 MigrationTools-47/migrate_all_netinfo_online.sh
e96fd1
--- MigrationTools-47/migrate_all_netinfo_online.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_netinfo_online.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,6 +38,7 @@
e96fd1
 
e96fd1
 PATH=$PATH:.
e96fd1
 export PATH
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 
e96fd1
 TMPDIR="/tmp"
e96fd1
 ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
e96fd1
@@ -68,7 +69,7 @@ nidump hosts $DOM > $ETC_HOSTS
e96fd1
 nidump networks $DOM > $ETC_NETWORKS
e96fd1
 nidump aliases $DOM > $ETC_ALIASES
e96fd1
 
e96fd1
-. migrate_all_online.sh
e96fd1
+. ${INSTDIR}migrate_all_online.sh
e96fd1
 
e96fd1
 rm -f $ETC_PASSWD
e96fd1
 rm -f $ETC_GROUP
e96fd1
diff -up MigrationTools-47/migrate_all_nis_offline.sh.patch1 MigrationTools-47/migrate_all_nis_offline.sh
e96fd1
--- MigrationTools-47/migrate_all_nis_offline.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_nis_offline.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,6 +38,7 @@
e96fd1
 
e96fd1
 PATH=$PATH:.
e96fd1
 export PATH
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 
e96fd1
 TMPDIR="/tmp"
e96fd1
 ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
e96fd1
@@ -70,7 +71,7 @@ ypcat $DOMFLAG hosts > $ETC_HOSTS
e96fd1
 ypcat $DOMFLAG networks > $ETC_NETWORKS
e96fd1
 #ypcat $DOMFLAG -k aliases > $ETC_ALIASES
e96fd1
 
e96fd1
-. migrate_all_offline.sh
e96fd1
+. ${INSTDIR}migrate_all_offline.sh
e96fd1
 
e96fd1
 rm -f $ETC_PASSWD
e96fd1
 rm -f $ETC_GROUP
e96fd1
diff -up MigrationTools-47/migrate_all_nis_online.sh.patch1 MigrationTools-47/migrate_all_nis_online.sh
e96fd1
--- MigrationTools-47/migrate_all_nis_online.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_nis_online.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,7 +38,7 @@
e96fd1
 
e96fd1
 PATH=$PATH:.
e96fd1
 export PATH
e96fd1
-
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 
e96fd1
 TMPDIR="/tmp"
e96fd1
 ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
e96fd1
@@ -71,7 +71,7 @@ ypcat $DOMFLAG hosts > $ETC_HOSTS
e96fd1
 ypcat $DOMFLAG networks > $ETC_NETWORKS
e96fd1
 #ypcat $DOMFLAG -k aliases > $ETC_ALIASES
e96fd1
 
e96fd1
-. migrate_all_online.sh
e96fd1
+. ${INSTDIR}migrate_all_online.sh
e96fd1
 
e96fd1
 rm -f $ETC_PASSWD
e96fd1
 rm -f $ETC_GROUP
e96fd1
diff -up MigrationTools-47/migrate_all_nisplus_offline.sh.patch1 MigrationTools-47/migrate_all_nisplus_offline.sh
e96fd1
--- MigrationTools-47/migrate_all_nisplus_offline.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_nisplus_offline.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,6 +38,7 @@
e96fd1
 
e96fd1
 PATH=$PATH:/usr/lib/nis:.
e96fd1
 export PATH
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 
e96fd1
 TMPDIR="/tmp"
e96fd1
 ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
e96fd1
@@ -72,7 +73,7 @@ nisaddent -d networks $DOM > $ETC_NETWOR
e96fd1
 nisaddent -d netgroup $DOM > $ETC_NETGROUP
e96fd1
 niscat mail_aliases.org_dir.$DOM > $ETC_ALIASES
e96fd1
 
e96fd1
-. migrate_all_offline.sh
e96fd1
+. ${INSTDIR}migrate_all_offline.sh
e96fd1
 
e96fd1
 rm -f $ETC_PASSWD
e96fd1
 rm -f $ETC_GROUP
e96fd1
diff -up MigrationTools-47/migrate_all_nisplus_online.sh.patch1 MigrationTools-47/migrate_all_nisplus_online.sh
e96fd1
--- MigrationTools-47/migrate_all_nisplus_online.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_nisplus_online.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,7 +38,7 @@
e96fd1
 
e96fd1
 PATH=$PATH:.
e96fd1
 export PATH
e96fd1
-
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 
e96fd1
 TMPDIR="/tmp"
e96fd1
 ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
e96fd1
@@ -73,7 +73,7 @@ nisaddent -d networks $DOM > $ETC_NETWOR
e96fd1
 nisaddent -d netgroup $DOM > $ETC_NETGROUP
e96fd1
 niscat mail_aliases.org_dir.$DOM > $ETC_ALIASES
e96fd1
 
e96fd1
-. migrate_all_online.sh
e96fd1
+. ${INSTDIR}migrate_all_online.sh
e96fd1
 
e96fd1
 rm -f $ETC_PASSWD
e96fd1
 rm -f $ETC_GROUP
e96fd1
diff -up MigrationTools-47/migrate_all_offline.sh.patch1 MigrationTools-47/migrate_all_offline.sh
e96fd1
--- MigrationTools-47/migrate_all_offline.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_offline.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -41,6 +41,7 @@
e96fd1
 # Luke Howard <lukeh@padl.com> April 1997
e96fd1
 #
e96fd1
 
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
 DB="/tmp/nis.$$.ldif"
e96fd1
 
e96fd1
 if [ "X$ETC_ALIASES" = "X" ]; then
e96fd1
@@ -108,32 +109,32 @@ if [ "X$LDIF2LDBM" = "X" ]; then
e96fd1
 fi
e96fd1
 
e96fd1
 echo "Creating naming context entries..."
e96fd1
-$PERL migrate_base.pl		> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_base.pl		> $DB
e96fd1
 echo "Migrating aliases..."
e96fd1
-$PERL migrate_aliases.pl 	$ETC_ALIASES >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_aliases.pl 	$ETC_ALIASES >> $DB
e96fd1
 #echo "Migrating fstab..."
e96fd1
-#$PERL migrate_fstab.pl		$ETC_FSTAB >> $DB
e96fd1
+#$PERL -I${INSTDIR} ${INSTDIR}migrate_fstab.pl		$ETC_FSTAB >> $DB
e96fd1
 echo "Migrating groups..."
e96fd1
-$PERL migrate_group.pl		$ETC_GROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_group.pl		$ETC_GROUP >> $DB
e96fd1
 echo "Migrating hosts..."
e96fd1
-$PERL migrate_hosts.pl		$ETC_HOSTS >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_hosts.pl		$ETC_HOSTS >> $DB
e96fd1
 echo "Migrating networks..."
e96fd1
-$PERL migrate_networks.pl	$ETC_NETWORKS >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_networks.pl	$ETC_NETWORKS >> $DB
e96fd1
 echo "Migrating users..."
e96fd1
-$PERL migrate_passwd.pl		$ETC_PASSWD >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_passwd.pl		$ETC_PASSWD >> $DB
e96fd1
 echo "Migrating protocols..."
e96fd1
-$PERL migrate_protocols.pl	$ETC_PROTOCOLS >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_protocols.pl	$ETC_PROTOCOLS >> $DB
e96fd1
 echo "Migrating rpcs..."
e96fd1
-$PERL migrate_rpc.pl		$ETC_RPC >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_rpc.pl		$ETC_RPC >> $DB
e96fd1
 echo "Migrating services..."
e96fd1
-$PERL migrate_services.pl	$ETC_SERVICES >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_services.pl	$ETC_SERVICES >> $DB
e96fd1
 echo "Migrating netgroups..."
e96fd1
-$PERL migrate_netgroup.pl	$ETC_NETGROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_netgroup.pl	$ETC_NETGROUP >> $DB
e96fd1
 echo "Importing into LDAP..."
e96fd1
 echo "Migrating netgroups (by user)..."
e96fd1
-$PERL migrate_netgroup_byuser.pl	$ETC_NETGROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_netgroup_byuser.pl	$ETC_NETGROUP >> $DB
e96fd1
 echo "Migrating netgroups (by host)..."
e96fd1
-$PERL migrate_netgroup_byhost.pl	$ETC_NETGROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_netgroup_byhost.pl	$ETC_NETGROUP >> $DB
e96fd1
 echo "Preparing LDAP database..."
e96fd1
 if [ "X$SLAPADD" = "X" ]; then
e96fd1
 	$LDIF2LDBM -i $DB
e96fd1
diff -up MigrationTools-47/migrate_all_online.sh.patch1 MigrationTools-47/migrate_all_online.sh
e96fd1
--- MigrationTools-47/migrate_all_online.sh.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_all_online.sh	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -38,6 +38,8 @@
e96fd1
 SHELL=/bin/sh
e96fd1
 export SHELL
e96fd1
 
e96fd1
+INSTDIR=/usr/share/migrationtools/
e96fd1
+
e96fd1
 DB=/tmp/nis.$$.ldif
e96fd1
 
e96fd1
 if [ "X$ETC_ALIASES" = "X" ]; then
e96fd1
@@ -104,7 +106,7 @@ if [ "X$PERL" = "X" ]; then
e96fd1
 fi
e96fd1
 
e96fd1
 if [ "X$LDAP_BASEDN" = "X" ]; then
e96fd1
-	defaultcontext=`$PERL -e 'require "migrate_common.ph"; print \$DEFAULT_BASE';`
e96fd1
+	defaultcontext=`$PERL -I${INSTDIR} -e 'require "'${INSTDIR}migrate_common.ph'"; print \$DEFAULT_BASE';`
e96fd1
 	question="Enter the X.500 naming context you wish to import into: [$defaultcontext]"
e96fd1
 	echo "$question " | tr -d '\012' > /dev/tty
e96fd1
 	read LDAP_BASEDN
e96fd1
@@ -160,35 +162,35 @@ echo
e96fd1
 echo "Importing into $LDAP_BASEDN..."
e96fd1
 echo
e96fd1
 echo "Creating naming context entries..."
e96fd1
-$PERL migrate_base.pl -n		> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_base.pl -n		> $DB
e96fd1
 if [ "X$LDAP_PROFILE" = "Xyes" ]; then
e96fd1
 	echo "Creating DUAConfigProfile entry..."
e96fd1
-	$PERL migrate_profile.pl "$LDAPHOST" >> $DB
e96fd1
+	$PERL -I${INSTDIR} ${INSTDIR}migrate_profile.pl "$LDAPHOST" >> $DB
e96fd1
 fi
e96fd1
 echo "Migrating aliases..."
e96fd1
-$PERL migrate_aliases.pl 	$ETC_ALIASES >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_aliases.pl 	$ETC_ALIASES >> $DB
e96fd1
 #echo "Migrating fstab..."
e96fd1
-#$PERL migrate_fstab.pl		$ETC_FSTAB >> $DB
e96fd1
+#$PERL -I${INSTDIR} ${INSTDIR}migrate_fstab.pl		$ETC_FSTAB >> $DB
e96fd1
 echo "Migrating groups..."
e96fd1
-$PERL migrate_group.pl		$ETC_GROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_group.pl		$ETC_GROUP >> $DB
e96fd1
 echo "Migrating hosts..."
e96fd1
-$PERL migrate_hosts.pl		$ETC_HOSTS >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_hosts.pl		$ETC_HOSTS >> $DB
e96fd1
 echo "Migrating networks..."
e96fd1
-$PERL migrate_networks.pl	$ETC_NETWORKS >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_networks.pl	$ETC_NETWORKS >> $DB
e96fd1
 echo "Migrating users..."
e96fd1
-$PERL migrate_passwd.pl		$ETC_PASSWD >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_passwd.pl		$ETC_PASSWD >> $DB
e96fd1
 echo "Migrating protocols..."
e96fd1
-$PERL migrate_protocols.pl	$ETC_PROTOCOLS >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_protocols.pl	$ETC_PROTOCOLS >> $DB
e96fd1
 echo "Migrating rpcs..."
e96fd1
-$PERL migrate_rpc.pl		$ETC_RPC >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_rpc.pl		$ETC_RPC >> $DB
e96fd1
 echo "Migrating services..."
e96fd1
-$PERL migrate_services.pl	$ETC_SERVICES >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_services.pl	$ETC_SERVICES >> $DB
e96fd1
 echo "Migrating netgroups..."
e96fd1
-$PERL migrate_netgroup.pl	$ETC_NETGROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_netgroup.pl	$ETC_NETGROUP >> $DB
e96fd1
 echo "Migrating netgroups (by user)..."
e96fd1
-$PERL migrate_netgroup_byuser.pl	$ETC_NETGROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_netgroup_byuser.pl	$ETC_NETGROUP >> $DB
e96fd1
 echo "Migrating netgroups (by host)..."
e96fd1
-$PERL migrate_netgroup_byhost.pl	$ETC_NETGROUP >> $DB
e96fd1
+$PERL -I${INSTDIR} ${INSTDIR}migrate_netgroup_byhost.pl	$ETC_NETGROUP >> $DB
e96fd1
 
e96fd1
 echo "Importing into LDAP..."
e96fd1
 
e96fd1
diff -up MigrationTools-47/migrate_automount.pl.patch1 MigrationTools-47/migrate_automount.pl
e96fd1
--- MigrationTools-47/migrate_automount.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_automount.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -33,7 +33,7 @@
e96fd1
 # services migration tool
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
  
e96fd1
 $PROGRAM = "migrate_automount.pl"; 
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_base.pl.patch1 MigrationTools-47/migrate_base.pl
e96fd1
--- MigrationTools-47/migrate_base.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_base.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_base.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_fstab.pl.patch1 MigrationTools-47/migrate_fstab.pl
e96fd1
--- MigrationTools-47/migrate_fstab.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_fstab.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -37,7 +37,7 @@
e96fd1
 # They are used by MacOS X Server, however.
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_fstab.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_group.pl.patch1 MigrationTools-47/migrate_group.pl
e96fd1
--- MigrationTools-47/migrate_group.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_group.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_group.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_hosts.pl.patch1 MigrationTools-47/migrate_hosts.pl
e96fd1
--- MigrationTools-47/migrate_hosts.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_hosts.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_hosts.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_netgroup_byhost.pl.patch1 MigrationTools-47/migrate_netgroup_byhost.pl
e96fd1
--- MigrationTools-47/migrate_netgroup_byhost.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_netgroup_byhost.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_netgroup_byhost.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_netgroup_byuser.pl.patch1 MigrationTools-47/migrate_netgroup_byuser.pl
e96fd1
--- MigrationTools-47/migrate_netgroup_byuser.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_netgroup_byuser.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_netgroup_byuser.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_netgroup.pl.patch1 MigrationTools-47/migrate_netgroup.pl
e96fd1
--- MigrationTools-47/migrate_netgroup.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_netgroup.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 # line continuation support by Bob Apthorpe
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_netgroup.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_networks.pl.patch1 MigrationTools-47/migrate_networks.pl
e96fd1
--- MigrationTools-47/migrate_networks.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_networks.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_networks.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_passwd.pl.patch1 MigrationTools-47/migrate_passwd.pl
e96fd1
--- MigrationTools-47/migrate_passwd.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_passwd.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -37,7 +37,7 @@
e96fd1
 # Thanks to Peter Jacob Slot <peter@vision.auk.dk>.
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_passwd.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_profile.pl.patch1 MigrationTools-47/migrate_profile.pl
e96fd1
--- MigrationTools-47/migrate_profile.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_profile.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_profile.pl";
e96fd1
 
e96fd1
diff -up MigrationTools-47/migrate_protocols.pl.patch1 MigrationTools-47/migrate_protocols.pl
e96fd1
--- MigrationTools-47/migrate_protocols.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_protocols.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_protocols.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_rpc.pl.patch1 MigrationTools-47/migrate_rpc.pl
e96fd1
--- MigrationTools-47/migrate_rpc.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_rpc.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_rpc.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_services.pl.patch1 MigrationTools-47/migrate_services.pl
e96fd1
--- MigrationTools-47/migrate_services.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_services.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -37,7 +37,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_services.pl";
e96fd1
 $NAMINGCONTEXT = &getsuffix($PROGRAM);
e96fd1
diff -up MigrationTools-47/migrate_slapd_conf.pl.patch1 MigrationTools-47/migrate_slapd_conf.pl
e96fd1
--- MigrationTools-47/migrate_slapd_conf.pl.patch1	2006-01-25 05:18:16.000000000 +0100
e96fd1
+++ MigrationTools-47/migrate_slapd_conf.pl	2008-08-29 09:09:19.000000000 +0200
e96fd1
@@ -36,7 +36,7 @@
e96fd1
 #
e96fd1
 #
e96fd1
 
e96fd1
-require 'migrate_common.ph';
e96fd1
+require '/usr/share/migrationtools/migrate_common.ph';
e96fd1
 
e96fd1
 $PROGRAM = "migrate_slapd_conf.pl";
e96fd1