From 17569a9e0de56b6b6e3cdf058c6f201c46060ab5 Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Feb 09 2012 09:53:45 +0000 Subject: * Thu Feb 9 2012 Ian Kent - 1:5.0.6-11 - fix fuzz in CHANGELOG hunk when applying patch26. --- diff --git a/autofs-5.0.6-teach-automount-about-sss-source.patch b/autofs-5.0.6-teach-automount-about-sss-source.patch index 44df13a..63bfa41 100644 --- a/autofs-5.0.6-teach-automount-about-sss-source.patch +++ b/autofs-5.0.6-teach-automount-about-sss-source.patch @@ -17,23 +17,19 @@ the lookup module. 5 files changed, 8 insertions(+), 4 deletions(-) -diff --git a/CHANGELOG b/CHANGELOG -index ba6f90c..e276396 100644 ---- a/CHANGELOG -+++ b/CHANGELOG -@@ -24,6 +24,7 @@ +--- autofs-5.0.6.orig/CHANGELOG ++++ autofs-5.0.6/CHANGELOG +@@ -22,6 +22,7 @@ - fix improve mount location error reporting. - - fix fix wait for master source mutex. + - fix rpc build error. - add sss lookup module. +- teach automount about sss source. 28/06/2011 autofs-5.0.6 ----------------------- -diff --git a/daemon/lookup.c b/daemon/lookup.c -index 098588c..de7c817 100644 ---- a/daemon/lookup.c -+++ b/daemon/lookup.c -@@ -177,6 +177,7 @@ int lookup_nss_read_master(struct master *master, time_t age) +--- autofs-5.0.6.orig/daemon/lookup.c ++++ autofs-5.0.6/daemon/lookup.c +@@ -177,6 +177,7 @@ int lookup_nss_read_master(struct master !strncmp(name, "nisplus:", 8) || !strncmp(name, "ldap:", 5) || !strncmp(name, "ldaps:", 6) || @@ -41,10 +37,8 @@ index 098588c..de7c817 100644 !strncmp(name, "dir:", 4)) { strncpy(source, name, tmp - name); -diff --git a/lib/master_tok.l b/lib/master_tok.l -index 77e9a26..0d6edb7 100644 ---- a/lib/master_tok.l -+++ b/lib/master_tok.l +--- autofs-5.0.6.orig/lib/master_tok.l ++++ autofs-5.0.6/lib/master_tok.l @@ -118,7 +118,7 @@ DNNAMESTR2 ([[:alnum:]_.\-]+) INTMAP (-hosts|-null) MULTI ((multi)(,(sun|hesiod))?(:{OPTWS}|{WS})) @@ -54,10 +48,8 @@ index 77e9a26..0d6edb7 100644 OPTTOUT (-t{OPTWS}|-t{OPTWS}={OPTWS}|--timeout{OPTWS}|--timeout{OPTWS}={OPTWS}) -diff --git a/lib/nss_parse.y b/lib/nss_parse.y -index 3bda6b3..a39fda4 100644 ---- a/lib/nss_parse.y -+++ b/lib/nss_parse.y +--- autofs-5.0.6.orig/lib/nss_parse.y ++++ autofs-5.0.6/lib/nss_parse.y @@ -82,7 +82,8 @@ nss_source: SOURCE { if (!strcmp($1, "files") || !strcmp($1, "yp") || @@ -78,11 +70,9 @@ index 3bda6b3..a39fda4 100644 src = add_source(nss_list, $1); for (a = 0; a < NSS_STATUS_MAX; a++) { if (act[a].action != NSS_ACTION_UNKNOWN) { -diff --git a/modules/parse_sun.c b/modules/parse_sun.c -index e9d94c7..d7e74e2 100644 ---- a/modules/parse_sun.c -+++ b/modules/parse_sun.c -@@ -880,7 +880,7 @@ static int validate_location(unsigned int logopt, char *loc) +--- autofs-5.0.6.orig/modules/parse_sun.c ++++ autofs-5.0.6/modules/parse_sun.c +@@ -880,7 +880,7 @@ static int validate_location(unsigned in !strncmp(ptr, "file:", 5) || !strncmp(ptr, "yp:", 3) || !strncmp(ptr, "nis:", 4) || !strncmp(ptr, "nisplus:", 8) || !strncmp(ptr, "ldap:", 5) || !strncmp(ptr, "ldaps:", 6) || diff --git a/autofs.spec b/autofs.spec index 7d179ca..a1af347 100644 --- a/autofs.spec +++ b/autofs.spec @@ -8,7 +8,7 @@ Summary: A tool for automatically mounting and unmounting filesystems Name: autofs Version: 5.0.6 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 1 License: GPLv2+ Group: System Environment/Daemons @@ -203,6 +203,9 @@ fi %dir /etc/auto.master.d %changelog +* Thu Feb 9 2012 Ian Kent - 1:5.0.6-11 +- fix fuzz in CHANGELOG hunk when applying patch26. + * Tue Feb 7 2012 Ian Kent - 1:5.0.6-10 - fix rpc build error. - add sss lookup module.