Mailinglist Archive: opensuse-commit (1029 mails)

< Previous Next >
commit autofs for openSUSE:Factory

Hello community,

here is the log from the commit of package autofs for openSUSE:Factory
checked in at Mon Jul 4 09:55:11 CEST 2011.



--------
--- autofs/autofs.changes 2011-06-14 20:07:57.000000000 +0200
+++ /mounts/work_src_done/STABLE/autofs/autofs.changes 2011-07-01
15:40:25.000000000 +0200
@@ -1,0 +2,17 @@
+Fri Jul 1 13:40:05 UTC 2011 - lchiquitto@xxxxxxxxxx
+
+- fix an error in the recent ipv6 name for lookup patch
+
+-------------------------------------------------------------------
+Tue Jun 28 23:42:30 UTC 2011 - lchiquitto@xxxxxxxxxx
+
+- update to version 5.0.6 (bnc#702791):
+ * add nobind option
+ * add base64 password encode
+ * fix ipv6 name for lookup
+ * fix libtirpc ipv6 check
+ * dont bind nfs mount if nobind is set
+- remove patches that are now upstream:
+ * autofs-5.0.5-fix-null-cache-deadlock.patch
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
autofs-5.0.5-fix-null-cache-deadlock.patch
autofs-5.0.5-invalid-ghost-dirs.patch
autofs-5.0.5-upstream-patches-20110613.bz2
autofs-5.0.5.tar.bz2

New:
----
autofs-5.0.6-fix-ipv6-name-for-lookup-fix.patch
autofs-5.0.6-invalid-ghost-dirs.patch
autofs-5.0.6.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ autofs.spec ++++++
--- /var/tmp/diff_new_pack.e3RHzL/_old 2011-07-04 09:54:17.000000000 +0200
+++ /var/tmp/diff_new_pack.e3RHzL/_new 2011-07-04 09:54:17.000000000 +0200
@@ -25,8 +25,8 @@
License: GPLv2+
Group: System/Daemons
AutoReqProv: on
-Version: 5.0.5
-Release: 26
+Version: 5.0.6
+Release: 1
Summary: A Kernel-Based Automounter
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source:
ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2
@@ -37,10 +37,10 @@
Source5: README.SuSE
Source7: NetworkManager-autofs
Source8: get-upstream-patches
-%define patchdate 20110613
-Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2
-Patch1: autofs-5.0.5-invalid-ghost-dirs.patch
-Patch2: autofs-5.0.5-fix-null-cache-deadlock.patch
+#%define patchdate 20110613
+#Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2
+Patch1: autofs-5.0.6-invalid-ghost-dirs.patch
+Patch2: autofs-5.0.6-fix-ipv6-name-for-lookup-fix.patch
Patch10: autofs-suse-auto_master_default.patch
Patch11: autofs-suse-build.patch
PreReq: %fillup_prereq %insserv_prereq aaa_base
@@ -65,7 +65,7 @@
cp %{SOURCE4} .
cp %{SOURCE5} .
#
-%patch0 -p1
+#%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch10 -p1

++++++ autofs-5.0.6-fix-ipv6-name-for-lookup-fix.patch ++++++
autofs-5.0.6 - fix ipv6 name for lookup fix

From: Ian Kent <ikent@xxxxxxxxxx>

Fix an error in the recent ipv6 name for lookup patch.
---

modules/replicated.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)


Index: autofs-5.0.6/modules/replicated.c
===================================================================
--- autofs-5.0.6.orig/modules/replicated.c
+++ autofs-5.0.6/modules/replicated.c
@@ -1111,7 +1111,8 @@ static int add_host_addrs(struct host **
unsigned int weight, unsigned int options)
{
struct addrinfo hints, *ni, *this;
- char *name = strdup(host);
+ char *n_ptr;
+ char *name = n_ptr = strdup(host);
int len;
char buf[MAX_ERR_BUF];
int rr = 0;
@@ -1125,15 +1126,17 @@ static int add_host_addrs(struct host **
}
len = strlen(name);

- if (name[0] == '[' && name[--len] == ']')
+ if (name[0] == '[' && name[--len] == ']') {
name[len] = '\0';
+ name++;
+ }

memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_NUMERICHOST;
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;

- ret = getaddrinfo(name + 1, NULL, &hints, &ni);
+ ret = getaddrinfo(name, NULL, &hints, &ni);
if (ret)
goto try_name;

@@ -1153,7 +1156,7 @@ try_name:
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;

- ret = getaddrinfo(name + 1, NULL, &hints, &ni);
+ ret = getaddrinfo(name, NULL, &hints, &ni);
if (ret) {
error(LOGOPT_ANY, "hostname lookup failed: %s",
gai_strerror(ret));
@@ -1172,7 +1175,7 @@ try_name:
}
freeaddrinfo(ni);
done:
- free(name);
+ free(n_ptr);
return ret;
}

++++++ autofs-5.0.5-invalid-ghost-dirs.patch ->
autofs-5.0.6-invalid-ghost-dirs.patch ++++++
--- autofs/autofs-5.0.5-invalid-ghost-dirs.patch 2011-02-21
16:00:11.000000000 +0100
+++ /mounts/work_src_done/STABLE/autofs/autofs-5.0.6-invalid-ghost-dirs.patch
2011-06-29 01:55:00.000000000 +0200
@@ -11,10 +11,10 @@
daemon/lookup.c | 3 +++
1 file changed, 3 insertions(+)

-Index: autofs-5.0.5/daemon/lookup.c
+Index: autofs-5.0.6/daemon/lookup.c
===================================================================
---- autofs-5.0.5.orig/daemon/lookup.c
-+++ autofs-5.0.5/daemon/lookup.c
+--- autofs-5.0.6.orig/daemon/lookup.c
++++ autofs-5.0.6/daemon/lookup.c
@@ -604,6 +604,9 @@ int lookup_ghost(struct autofs_point *ap
if (!strcmp(me->key, "*"))
goto next;

++++++ autofs-5.0.5.tar.bz2 -> autofs-5.0.6.tar.bz2 ++++++
++++ 20933 lines of diff (skipped)

++++++ autofs-suse-auto_master_default.patch ++++++
--- /var/tmp/diff_new_pack.e3RHzL/_old 2011-07-04 09:54:17.000000000 +0200
+++ /var/tmp/diff_new_pack.e3RHzL/_new 2011-07-04 09:54:17.000000000 +0200
@@ -1,7 +1,7 @@
-Index: autofs-5.0.5/samples/auto.master
+Index: autofs-5.0.6/samples/auto.master
===================================================================
---- autofs-5.0.5.orig/samples/auto.master
-+++ autofs-5.0.5/samples/auto.master
+--- autofs-5.0.6.orig/samples/auto.master
++++ autofs-5.0.6/samples/auto.master
@@ -4,13 +4,13 @@
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).

++++++ autofs-suse-build.patch ++++++
--- /var/tmp/diff_new_pack.e3RHzL/_old 2011-07-04 09:54:17.000000000 +0200
+++ /var/tmp/diff_new_pack.e3RHzL/_new 2011-07-04 09:54:17.000000000 +0200
@@ -1,7 +1,7 @@
-Index: autofs-5.0.5/Makefile.conf.in
+Index: autofs-5.0.6/Makefile.conf.in
===================================================================
---- autofs-5.0.5.orig/Makefile.conf.in
-+++ autofs-5.0.5/Makefile.conf.in
+--- autofs-5.0.6.orig/Makefile.conf.in
++++ autofs-5.0.6/Makefile.conf.in
@@ -7,6 +7,8 @@
# build autofs.
#
@@ -11,10 +11,10 @@
# Do we build with -fpie?
DAEMON_CFLAGS = @DAEMON_CFLAGS@
DAEMON_LDFLAGS = @DAEMON_LDFLAGS@
-Index: autofs-5.0.5/daemon/Makefile
+Index: autofs-5.0.6/daemon/Makefile
===================================================================
---- autofs-5.0.5.orig/daemon/Makefile
-+++ autofs-5.0.5/daemon/Makefile
+--- autofs-5.0.6.orig/daemon/Makefile
++++ autofs-5.0.6/daemon/Makefile
@@ -30,7 +30,7 @@ endif
all: automount

@@ -24,10 +24,10 @@
$(STRIP) automount

clean:
-Index: autofs-5.0.5/Makefile.rules
+Index: autofs-5.0.6/Makefile.rules
===================================================================
---- autofs-5.0.5.orig/Makefile.rules
-+++ autofs-5.0.5/Makefile.rules
+--- autofs-5.0.6.orig/Makefile.rules
++++ autofs-5.0.6/Makefile.rules
@@ -44,8 +44,7 @@ CXXFLAGS = $(CFLAGS)
LD = ld
SOLDFLAGS = -shared

++++++ get-upstream-patches ++++++
--- /var/tmp/diff_new_pack.e3RHzL/_old 2011-07-04 09:54:17.000000000 +0200
+++ /var/tmp/diff_new_pack.e3RHzL/_new 2011-07-04 09:54:17.000000000 +0200
@@ -8,7 +8,7 @@
# usage: get-upstream-patches [VERSION]

# default version
-VERSION=5.0.5
+VERSION=5.0.6
test -n "$1" && VERSION="$1"

BASE=http://www.kernel.org/pub/linux/daemons/autofs/v5


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages