openldap/MigrationTools-36-mktemp.patch
cvsdist 9bfe3cbb88 auto-import changelog data from openldap-2.0.7-14.src.rpm
* Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment

* Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com>
- back out pidfile patches, which interact weirdly with Linux threads
- mark non-standard schema as such by moving them to a different directory

* Mon Feb 05 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to MigrationTools 36, adds netgroup support

* Mon Jan 29 2001 Nalin Dahyabhai <nalin@redhat.com>
- fix thinko in that last patch

* Thu Jan 25 2001 Nalin Dahyabhai <nalin@redhat.com>
- try to work around some buffering problems

* Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com>
- gettextize the init script

* Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
- gettextize the init script

* Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com>
- move the RFCs to the base package (#21701)
- update to MigrationTools 34

* Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com>
- add support for additional OPTIONS, SLAPD_OPTIONS, and SLURPD_OPTIONS in
  a /etc/sysconfig/ldap file (#23549)

* Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com>
- change automount object OID from 1.3.6.1.1.1.2.9 to 1.3.6.1.1.1.2.13,
  per mail from the ldap-nis mailing list

* Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com>
- force -fPIC so that shared libraries don't fall over

* Mon Dec 04 2000 Nalin Dahyabhai <nalin@redhat.com>
- add Norbert Klasen's patch (via Del) to fix searches using ldaps URLs
  (OpenLDAP ITS #889)
- add "-h ldaps:///" to server init when TLS is enabled, in order to support
  ldaps in addition to the regular STARTTLS (suggested by Del)

* Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com>
- correct mismatched-dn-cn bug in migrate_automount.pl

* Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com>
- update to the correct OIDs for automount and automountInformation
- add notes on upgrading

* Tue Nov 07 2000 Nalin Dahyabhai <nalin@redhat.com>
- update to 2.0.7
- drop chdir patch (went mainstream)

* Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com>
- change automount object classes from auxiliary to structural

* Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com>
- update to Migration Tools 27
- change the sense of the last simple patch

* Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
- reorganize the patch list to separate MigrationTools and OpenLDAP patches
- switch to Luke Howard's rfc822MailMember schema instead of the aliases.schema
- configure slapd to run as the non-root user "ldap" (#19370)
- chdir() before chroot() (we don't use chroot, though) (#19369)
- disable saving of the pid file because the parent thread which saves it and
  the child thread which listens have different pids
2004-09-09 09:28:35 +00:00

189 lines
7.2 KiB
Diff

--- MigrationTools-36/migrate_all_netinfo_offline.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_netinfo_offline.sh Mon Feb 5 11:39:14 2001
@@ -41,15 +41,15 @@
INSTDIR=/usr/share/openldap/migration/
TMPDIR="/tmp"
-ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
-ETC_GROUP="$TMPDIR/group.$$.ldap"
-ETC_SERVICES="$TMPDIR/services.$$.ldap"
-ETC_PROTOCOLS="$TMPDIR/protocols.$$.ldap"
-ETC_FSTAB="$TMPDIR/fstab.$$.ldap"
-ETC_RPC="$TMPDIR/rpc.$$.ldap"
-ETC_HOSTS="$TMPDIR/hosts.$$.ldap"
-ETC_NETWORKS="$TMPDIR/networks.$$.ldap"
-ETC_ALIASES="$TMPDIR/aliases.$$.ldap"
+ETC_PASSWD=`mktemp $TMPDIR/passwd.ldap.XXXXXX`
+ETC_GROUP=`mktemp $TMPDIR/group.ldap.XXXXXX`
+ETC_SERVICES=`mktemp $TMPDIR/services.ldap.XXXXXX`
+ETC_PROTOCOLS=`mktemp $TMPDIR/protocols.ldap.XXXXXX`
+ETC_FSTAB=`mktemp $TMPDIR/fstab.ldap.XXXXXX`
+ETC_RPC=`mktemp $TMPDIR/rpc.ldap.XXXXXX`
+ETC_HOSTS=`mktemp $TMPDIR/hosts.ldap.XXXXXX`
+ETC_NETWORKS=`mktemp $TMPDIR/networks.ldap.XXXXXX`
+ETC_ALIASES=`mktemp $TMPDIR/aliases.ldap.XXXXXX`
EXIT=no
question="Enter the NetInfo domain to import from [/]:"
--- MigrationTools-36/migrate_all_netinfo_online.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_netinfo_online.sh Mon Feb 5 11:39:14 2001
@@ -41,15 +41,15 @@
INSTDIR=/usr/share/openldap/migration/
TMPDIR="/tmp"
-ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
-ETC_GROUP="$TMPDIR/group.$$.ldap"
-ETC_SERVICES="$TMPDIR/services.$$.ldap"
-ETC_PROTOCOLS="$TMPDIR/protocols.$$.ldap"
-ETC_FSTAB="$TMPDIR/fstab.$$.ldap"
-ETC_RPC="$TMPDIR/rpc.$$.ldap"
-ETC_HOSTS="$TMPDIR/hosts.$$.ldap"
-ETC_NETWORKS="$TMPDIR/networks.$$.ldap"
-ETC_ALIASES="$TMPDIR/aliases.$$.ldap"
+ETC_PASSWD=`mktemp $TMPDIR/passwd.ldap.XXXXXX`
+ETC_GROUP=`mktemp $TMPDIR/group.ldap.XXXXXX`
+ETC_SERVICES=`mktemp $TMPDIR/services.ldap.XXXXXX`
+ETC_PROTOCOLS=`mktemp $TMPDIR/protocols.ldap.XXXXXX`
+ETC_FSTAB=`mktemp $TMPDIR/fstab.ldap.XXXXXX`
+ETC_RPC=`mktemp $TMPDIR/rpc.ldap.XXXXXX`
+ETC_HOSTS=`mktemp $TMPDIR/hosts.ldap.XXXXXX`
+ETC_NETWORKS=`mktemp $TMPDIR/networks.ldap.XXXXXX`
+ETC_ALIASES=`mktemp $TMPDIR/aliases.ldap.XXXXXX`
EXIT=no
question="Enter the NetInfo domain to import from [/]:"
--- MigrationTools-36/migrate_all_nisplus_offline.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_nisplus_offline.sh Mon Feb 5 11:43:23 2001
@@ -41,16 +41,16 @@
INSTDIR=/usr/share/openldap/migration/
TMPDIR="/tmp"
-ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
-ETC_GROUP="$TMPDIR/group.$$.ldap"
-ETC_SERVICES="$TMPDIR/services.$$.ldap"
-ETC_PROTOCOLS="$TMPDIR/protocols.$$.ldap"
-ETC_FSTAB="$TMPDIR/fstab.$$.ldap"
-ETC_RPC="$TMPDIR/rpc.$$.ldap"
-ETC_HOSTS="$TMPDIR/hosts.$$.ldap"
-ETC_NETWORKS="$TMPDIR/networks.$$.ldap"
-ETC_NETGROUP="$TMPDIR/netgroup.$$.ldap"
-ETC_ALIASES="$TMPDIR/aliases.$$.ldap"
+ETC_PASSWD=`mktemp $TMPDIR/passwd.ldap.XXXXXX`
+ETC_GROUP=`mktemp $TMPDIR/group.ldap.XXXXXX`
+ETC_SERVICES=`mktemp $TMPDIR/services.ldap.XXXXXX`
+ETC_PROTOCOLS=`mktemp $TMPDIR/protocols.ldap.XXXXXX`
+ETC_FSTAB=`mktemp $TMPDIR/fstab.ldap.XXXXXX`
+ETC_RPC=`mktemp $TMPDIR/rpc.ldap.XXXXXX`
+ETC_HOSTS=`mktemp $TMPDIR/hosts.ldap.XXXXXX`
+ETC_NETWORKS=`mktemp $TMPDIR/networks.ldap.XXXXXX`
+ETC_NETGROUP=`mktemp $TMPDIR/netgroup.ldap.XXXXXX`
+ETC_ALIASES=`mktemp $TMPDIR/aliases.ldap.XXXXXX`
EXIT=no
question="Enter the NIS+ domain to import from (optional): "
--- MigrationTools-36/migrate_all_nisplus_online.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_nisplus_online.sh Mon Feb 5 11:45:18 2001
@@ -41,16 +41,16 @@
INSTDIR=/usr/share/openldap/migration/
TMPDIR="/tmp"
-ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
-ETC_GROUP="$TMPDIR/group.$$.ldap"
-ETC_SERVICES="$TMPDIR/services.$$.ldap"
-ETC_PROTOCOLS="$TMPDIR/protocols.$$.ldap"
-ETC_FSTAB="$TMPDIR/fstab.$$.ldap"
-ETC_RPC="$TMPDIR/rpc.$$.ldap"
-ETC_HOSTS="$TMPDIR/hosts.$$.ldap"
-ETC_NETWORKS="$TMPDIR/networks.$$.ldap"
-ETC_NETGROUP="$TMPDIR/netgroup.$$.ldap"
-ETC_ALIASES="$TMPDIR/aliases.$$.ldap"
+ETC_PASSWD=`mktemp $TMPDIR/passwd.ldap.XXXXXX`
+ETC_GROUP=`mktemp $TMPDIR/group.ldap.XXXXXX`
+ETC_SERVICES=`mktemp $TMPDIR/services.ldap.XXXXXX`
+ETC_PROTOCOLS=`mktemp $TMPDIR/protocols.ldap.XXXXXX`
+ETC_FSTAB=`mktemp $TMPDIR/fstab.ldap.XXXXXX`
+ETC_RPC=`mktemp $TMPDIR/rpc.ldap.XXXXXX`
+ETC_HOSTS=`mktemp $TMPDIR/hosts.ldap.XXXXXX`
+ETC_NETWORKS=`mktemp $TMPDIR/networks.ldap.XXXXXX`
+ETC_NETGROUP=`mktemp $TMPDIR/netgroup.ldap.XXXXXX`
+ETC_ALIASES=`mktemp $TMPDIR/aliases.ldap.XXXXXX`
EXIT=no
question="Enter the NIS+ domain to import from (optional): "
--- MigrationTools-36/migrate_all_offline.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_offline.sh Mon Feb 5 11:39:14 2001
@@ -42,7 +42,7 @@
#
INSTDIR=/usr/share/openldap/migration/
-DB="/tmp/nis.$$.ldif"
+DB=`mktemp /tmp/nis.ldif.XXXXXX`
if [ "X$ETC_ALIASES" = "X" ]; then
ETC_ALIASES=/etc/aliases
--- MigrationTools-36/migrate_all_online.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_online.sh Mon Feb 5 11:39:14 2001
@@ -40,7 +40,7 @@
INSTDIR=/usr/share/openldap/migration/
-DB=/tmp/nis.$$.ldif
+DB=`mktemp /tmp/nis.ldif.XXXXXX`
if [ "X$ETC_ALIASES" = "X" ]; then
ETC_ALIASES=/etc/aliases
--- MigrationTools-36/migrate_all_nis_offline.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_nis_offline.sh Mon Feb 5 11:39:14 2001
@@ -41,15 +41,15 @@
INSTDIR=/usr/share/openldap/migration/
TMPDIR="/tmp"
-ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
-ETC_GROUP="$TMPDIR/group.$$.ldap"
-ETC_SERVICES="$TMPDIR/services.$$.ldap"
-ETC_PROTOCOLS="$TMPDIR/protocols.$$.ldap"
-ETC_FSTAB="$TMPDIR/fstab.$$.ldap"
-ETC_RPC="$TMPDIR/rpc.$$.ldap"
-ETC_HOSTS="$TMPDIR/hosts.$$.ldap"
-ETC_NETWORKS="$TMPDIR/networks.$$.ldap"
-ETC_ALIASES="$TMPDIR/aliases.$$.ldap"
+ETC_PASSWD=`mktemp $TMPDIR/passwd.ldap.XXXXXX`
+ETC_GROUP=`mktemp $TMPDIR/group.ldap.XXXXXX`
+ETC_SERVICES=`mktemp $TMPDIR/services.ldap.XXXXXX`
+ETC_PROTOCOLS=`mktemp $TMPDIR/protocols.ldap.XXXXXX`
+ETC_FSTAB=`mktemp $TMPDIR/fstab.ldap.XXXXXX`
+ETC_RPC=`mktemp $TMPDIR/rpc.ldap.XXXXXX`
+ETC_HOSTS=`mktemp $TMPDIR/hosts.ldap.XXXXXX`
+ETC_NETWORKS=`mktemp $TMPDIR/networks.ldap.XXXXXX`
+ETC_ALIASES=`mktemp $TMPDIR/aliases.ldap.XXXXXX`
EXIT=no
question="Enter the NIS domain to import from (optional): "
--- MigrationTools-36/migrate_all_nis_online.sh.mktemp Mon Feb 5 11:39:14 2001
+++ MigrationTools-36/migrate_all_nis_online.sh Mon Feb 5 11:39:14 2001
@@ -41,15 +41,15 @@
INSTDIR=/usr/share/openldap/migration/
TMPDIR="/tmp"
-ETC_PASSWD="$TMPDIR/passwd.$$.ldap"
-ETC_GROUP="$TMPDIR/group.$$.ldap"
-ETC_SERVICES="$TMPDIR/services.$$.ldap"
-ETC_PROTOCOLS="$TMPDIR/protocols.$$.ldap"
-ETC_FSTAB="$TMPDIR/fstab.$$.ldap"
-ETC_RPC="$TMPDIR/rpc.$$.ldap"
-ETC_HOSTS="$TMPDIR/hosts.$$.ldap"
-ETC_NETWORKS="$TMPDIR/networks.$$.ldap"
-ETC_ALIASES="$TMPDIR/aliases.$$.ldap"
+ETC_PASSWD=`mktemp $TMPDIR/passwd.ldap.XXXXXX`
+ETC_GROUP=`mktemp $TMPDIR/group.ldap.XXXXXX`
+ETC_SERVICES=`mktemp $TMPDIR/services.ldap.XXXXXX`
+ETC_PROTOCOLS=`mktemp $TMPDIR/protocols.ldap.XXXXXX`
+ETC_FSTAB=`mktemp $TMPDIR/fstab.ldap.XXXXXX`
+ETC_RPC=`mktemp $TMPDIR/rpc.ldap.XXXXXX`
+ETC_HOSTS=`mktemp $TMPDIR/hosts.ldap.XXXXXX`
+ETC_NETWORKS=`mktemp $TMPDIR/networks.ldap.XXXXXX`
+ETC_ALIASES=`mktemp $TMPDIR/aliases.ldap.XXXXXX`
EXIT=no
question="Enter the NIS domain to import from (optional): "