rpms/openldap/devel MigrationTools-46-unique-hosts.patch, NONE, 1.1 openldap.spec, 1.69, 1.70

Jan Šafránek (jsafrane) fedora-extras-commits at redhat.com
Thu May 24 09:33:08 UTC 2007


Author: jsafrane

Update of /cvs/pkgs/rpms/openldap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7797

Modified Files:
	openldap.spec 
Added Files:
	MigrationTools-46-unique-hosts.patch 
Log Message:
 sort the hosts by adders, preventing duplicities in migrate*nis*.pl
Resolves: #201540

MigrationTools-46-unique-hosts.patch:

--- NEW FILE MigrationTools-46-unique-hosts.patch ---
Prevent duplicities in hosts, which are read from NIS.
--- MigrationTools-46/migrate_all_nis_online.sh.orig	2007-05-24 11:21:54.000000000 +0200
+++ MigrationTools-46/migrate_all_nis_online.sh	2007-05-24 11:26:30.000000000 +0200
@@ -67,7 +67,7 @@
 ypcat $DOMFLAG protocols > $ETC_PROTOCOLS
 touch $ETC_FSTAB
 ypcat $DOMFLAG rpc.byname > $ETC_RPC
-ypcat $DOMFLAG hosts > $ETC_HOSTS
+ypcat $DOMFLAG hosts.byaddr > $ETC_HOSTS
 ypcat $DOMFLAG networks > $ETC_NETWORKS
 #ypcat $DOMFLAG -k aliases > $ETC_ALIASES
 
--- MigrationTools-46/migrate_all_nis_offline.sh.orig	2007-05-24 11:21:54.000000000 +0200
+++ MigrationTools-46/migrate_all_nis_offline.sh	2007-05-24 11:26:13.000000000 +0200
@@ -67,7 +67,7 @@
 ypcat $DOMFLAG protocols > $ETC_PROTOCOLS
 touch $ETC_FSTAB
 ypcat $DOMFLAG rpc.byname > $ETC_RPC
-ypcat $DOMFLAG hosts > $ETC_HOSTS
+ypcat $DOMFLAG hosts.byaddr > $ETC_HOSTS
 ypcat $DOMFLAG networks > $ETC_NETWORKS
 #ypcat $DOMFLAG -k aliases > $ETC_ALIASES
 


Index: openldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openldap/devel/openldap.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- openldap.spec	23 May 2007 13:09:09 -0000	1.69
+++ openldap.spec	24 May 2007 09:32:33 -0000	1.70
@@ -60,6 +60,7 @@
 Patch304: MigrationTools-46-schema.patch
 Patch305: MigrationTools-45-noaliases.patch
 Patch306: MigrationTools-46-ddp.patch
+Patch307: MigrationTools-46-unique-hosts.patch
 
 Patch400: db-4.4.20-1.patch
 Patch401: db-4.4.20-2.patch
@@ -202,6 +203,7 @@
 %patch304 -p1 -b .schema
 %patch305 -p1 -b .noaliases
 %patch306 -p1 -b .ddp
+%patch307 -p1 -b .unique-hosts
 popd
 
 autodir=`pwd`/auto-instroot
@@ -732,6 +734,8 @@
 - add compat-slapcat to openldap-compat (bz#179378)
 - do not import ddp services with migrate_services.pl
   (bz#201183)
+- sort the hosts by adders, preventing duplicities
+  in migrate*nis*.pl (bz#201540)
 
 * Mon Apr 23 2007 Jan Safranek <jsafranek at redhat.com> 2.3.34-2%{?dist}
 - slapadd during package update is now quiet (bz#224581)




More information about the fedora-extras-commits mailing list