Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1573960
 поиск   регистрация   авторизация 
 
Группа :: Система/Настройка/Сеть
Пакет: smbldap-tools

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: smbldap-tools-path.patch


diff -uNr smbldap-tools-0.9.1.orig/smbldap-groupadd smbldap-tools-0.9.1/smbldap-groupadd
--- smbldap-tools-0.9.1.orig/smbldap-groupadd	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-groupadd	2005-06-03 10:23:55 +1300
@@ -28,7 +28,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 use Getopt::Std;
 my %Options;
diff -uNr smbldap-tools-0.9.1.orig/smbldap-groupdel smbldap-tools-0.9.1/smbldap-groupdel
--- smbldap-tools-0.9.1.orig/smbldap-groupdel	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-groupdel	2005-06-03 10:24:06 +1300
@@ -27,7 +27,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 #####################
diff -uNr smbldap-tools-0.9.1.orig/smbldap-groupmod smbldap-tools-0.9.1/smbldap-groupmod
--- smbldap-tools-0.9.1.orig/smbldap-groupmod	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-groupmod	2005-06-03 10:27:20 +1300
@@ -28,7 +28,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 #####################
diff -uNr smbldap-tools-0.9.1.orig/smbldap-groupshow smbldap-tools-0.9.1/smbldap-groupshow
--- smbldap-tools-0.9.1.orig/smbldap-groupshow	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-groupshow	2005-06-03 10:27:33 +1300
@@ -30,7 +30,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 use Getopt::Std;
 my %Options;
diff -uNr smbldap-tools-0.9.1.orig/smbldap-passwd smbldap-tools-0.9.1/smbldap-passwd
--- smbldap-tools-0.9.1.orig/smbldap-passwd	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-passwd	2005-06-03 10:27:43 +1300
@@ -35,7 +35,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 use Crypt::SmbHash;
diff -uNr smbldap-tools-0.9.1.orig/smbldap-populate smbldap-tools-0.9.1/smbldap-populate
--- smbldap-tools-0.9.1.orig/smbldap-populate	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-populate	2005-06-03 10:27:52 +1300
@@ -31,7 +31,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 use Getopt::Std;
 use Net::LDAP::LDIF;
diff -uNr smbldap-tools-0.9.1.orig/smbldap-useradd smbldap-tools-0.9.1/smbldap-useradd
--- smbldap-tools-0.9.1.orig/smbldap-useradd	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-useradd	2005-06-03 10:28:42 +1300
@@ -28,7 +28,7 @@
 
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 use Crypt::SmbHash;
 #####################
diff -uNr smbldap-tools-0.9.1.orig/smbldap-userdel smbldap-tools-0.9.1/smbldap-userdel
--- smbldap-tools-0.9.1.orig/smbldap-userdel	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-userdel	2005-06-03 10:28:57 +1300
@@ -27,7 +27,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 
diff -uNr smbldap-tools-0.9.1.orig/smbldap-userinfo smbldap-tools-0.9.1/smbldap-userinfo
--- smbldap-tools-0.9.1.orig/smbldap-userinfo	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-userinfo	2005-06-03 10:29:05 +1300
@@ -6,7 +6,7 @@
 use Getopt::Std;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 # function declaration
diff -uNr smbldap-tools-0.9.1.orig/smbldap-usermod smbldap-tools-0.9.1/smbldap-usermod
--- smbldap-tools-0.9.1.orig/smbldap-usermod	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-usermod	2005-06-03 10:29:16 +1300
@@ -27,7 +27,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 #####################
diff -uNr smbldap-tools-0.9.1.orig/smbldap-usershow smbldap-tools-0.9.1/smbldap-usershow
--- smbldap-tools-0.9.1.orig/smbldap-usershow	2005-05-31 21:49:26 +1300
+++ smbldap-tools-0.9.1/smbldap-usershow	2005-06-03 10:29:30 +1300
@@ -27,7 +27,7 @@
 use strict;
 use FindBin;
 use FindBin qw($RealBin);
-use lib "$RealBin/";
+use lib "/usr/share/smbldap-tools";
 use smbldap_tools;
 
 use Getopt::Std;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005