Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
From 6d24365f0828185fd1bb4d199209ca07eb95c41d Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Fri, 24 Aug 2018 06:24:36 +0000
Subject: [PATCH] Do not hardcode path for pkg.m4
From a27217a5437da313d251b4a765bf7cb60ffaa62d Mon Sep 17 00:00:00 2001
From: Changqing Li <[email protected]>
Date: Tue, 27 Nov 2018 15:27:47 +0800
Subject: [PATCH] From 6d24365f0828185fd1bb4d199209ca07eb95c41d Mon Sep 17
00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 24 Aug 2018
06:24:36 +0000 Subject: [PATCH] Do not hardcode path for pkg.m4

Upstream-Status: Pending

Signed-off-by: Khem Raj <[email protected]>

update patch to version 5.1.5
Signed-off-by: Changqing Li <[email protected]>
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index 50aed15..f81767c 100644
index 493b9f1..268d06b 100644
--- a/configure.in
+++ b/configure.in
@@ -12,7 +12,7 @@ define([AC_CACHE_SAVE], )dnl
AC_INIT(.autofs-5.1.4)
AC_INIT(.autofs-5.1.5)

# for pkg-config macros
-m4_include([/usr/share/aclocal/pkg.m4])
Expand All @@ -24,5 +29,5 @@ index 50aed15..f81767c 100644
#
# autofs installs by default in /usr
--
1.9.1
2.7.4

Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
From 557ca399f4b3a397f20bb147ec6dc4ab9732dd1e Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Fri, 31 Mar 2017 19:12:10 -0700
Subject: [PATCH] Replace __S_IEXEC with S_IEXEC
From 096e33743158e0e8c04d60d01cc66e2945d79777 Mon Sep 17 00:00:00 2001
From: Changqing Li <[email protected]>
Date: Tue, 27 Nov 2018 16:52:35 +0800
Subject: [PATCH] From 557ca399f4b3a397f20bb147ec6dc4ab9732dd1e Mon Sep 17
00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 31 Mar 2017
19:12:10 -0700 Subject: [PATCH] Replace __S_IEXEC with S_IEXEC

S_IEXEC is portable

Signed-off-by: Khem Raj <[email protected]>

update patch to version 5.1.5
Signed-off-by: Changqing Li <[email protected]>
---
daemon/lookup.c | 4 ++--
daemon/lookup.c | 6 +++---
modules/lookup_multi.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/daemon/lookup.c b/daemon/lookup.c
index 201ccbb..d821db8 100644
index 18df935..d35d484 100644
--- a/daemon/lookup.c
+++ b/daemon/lookup.c
@@ -366,7 +366,7 @@ static int read_file_source_instance(struct autofs_point *ap, struct map_source
@@ -382,7 +382,7 @@ static int read_file_source_instance(struct autofs_point *ap, struct map_source
if (!S_ISREG(st.st_mode))
return NSS_STATUS_NOTFOUND;

Expand All @@ -25,7 +29,7 @@ index 201ccbb..d821db8 100644
type = src_prog;
else
type = src_file;
@@ -856,7 +856,7 @@ static int lookup_name_file_source_instance(struct autofs_point *ap, struct map_
@@ -942,7 +942,7 @@ static int lookup_name_file_source_instance(struct autofs_point *ap, struct map_
if (!S_ISREG(st.st_mode))
return NSS_STATUS_NOTFOUND;

Expand All @@ -34,8 +38,17 @@ index 201ccbb..d821db8 100644
type = src_prog;
else
type = src_file;
@@ -1118,7 +1118,7 @@ static struct map_source *lookup_get_map_source(struct master_mapent *entry)
if (!S_ISREG(st.st_mode))
return NULL;

- if (st.st_mode & __S_IEXEC)
+ if (st.st_mode & S_IEXEC)
type = "program";
else
type = "file";
diff --git a/modules/lookup_multi.c b/modules/lookup_multi.c
index fadd2ea..3ecda6d 100644
index bb9f88c..cf109de 100644
--- a/modules/lookup_multi.c
+++ b/modules/lookup_multi.c
@@ -247,7 +247,7 @@ static struct lookup_mod *nss_open_lookup(const char *format, int argc, const ch
Expand All @@ -47,3 +60,6 @@ index fadd2ea..3ecda6d 100644
type = src_prog;
else
type = src_file;
--
2.7.4

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
From e3ae56cf0bb4063c31295f45d04e3c504f4b6cc7 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Mon, 24 Apr 2017 20:41:25 -0700
Subject: [PATCH] autofs: Upgrade to 5.1.2 release
From 602f9ca83c2bdbf511bcb178fcb4b9fc54da955f Mon Sep 17 00:00:00 2001
From: Changqing Li <[email protected]>
Date: Tue, 27 Nov 2018 15:20:46 +0800
Subject: [PATCH] From e3ae56cf0bb4063c31295f45d04e3c504f4b6cc7 Mon Sep 17
00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 24 Apr 2017
20:41:25 -0700 Subject: [PATCH] autofs: Upgrade to 5.1.2 release

Use pkg-config first to look for external libnsl which is now
split out from glibc, if it does not exist then see if its provided
by glibc itself.

-Khem

Upstream-Status: Pending

update patch to version 5.1.5
Signed-off-by: Changqing Li <[email protected]>
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index 9cf73b8..1016c71 100644
index 76ecb40..493b9f1 100644
--- a/configure.in
+++ b/configure.in
@@ -186,7 +186,7 @@ fi
#
# glibc/libc 6 new libraries
#
-AC_CHECK_LIB(nsl, yp_match, LIBNSL="-lnsl")
+PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])])
AC_SUBST(LIBNSL)
@@ -238,7 +238,7 @@ AC_SUBST(LIBCLOCK_GETTIME)

AC_CHECK_LIB(resolv, res_query, LIBRESOLV="-lresolv")
PKG_CHECK_MODULES([NSL],[libnsl],,
[
-AC_CHECK_LIB(nsl, yp_match, NSL_LIBS="-lnsl")
+PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])])
AC_SUBST(NSL_LIBS)
NSL_CFLAGS=""
])
--
2.7.4

Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
From dabcbdae38038a8e4ad2c4286112381c407c5ce7 Mon Sep 17 00:00:00 2001
From: Roy Li <[email protected]>
Date: Tue, 19 Aug 2014 11:31:35 +0800
Subject: [PATCH] using pkg-config to detect libxml-2.0 and krb5
From dd90a690f95569b999b8ac9ab57e834b3421dcbb Mon Sep 17 00:00:00 2001
From: Changqing Li <[email protected]>
Date: Tue, 27 Nov 2018 15:19:07 +0800
Subject: [PATCH] From dabcbdae38038a8e4ad2c4286112381c407c5ce7 Mon Sep 17
00:00:00 2001 From: Roy Li <[email protected]> Date: Tue, 19 Aug 2014
11:31:35 +0800 Subject: [PATCH] using pkg-config to detect libxml-2.0 and
krb5

Upstream-status: Pending
Upstream-Status: Pending

Signed-off-by: Roy Li <[email protected]>

update patch to 5.1.5
Signed-off-by: Changqing Li <[email protected]>
---
configure.in | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index b226236..9cf73b8 100644
index f5fbb35..76ecb40 100644
--- a/configure.in
+++ b/configure.in
@@ -162,8 +162,20 @@ if test x$enable_sloppy_mount = xyes; then
fi
@@ -211,8 +211,20 @@ fi
AC_SUBST(ENABLE_FEDFS)

# LDAP SASL auth needs libxml and Kerberos
-AF_CHECK_LIBXML()
Expand All @@ -38,3 +43,6 @@ index b226236..9cf73b8 100644

AC_SEARCH_LIBS([versionsort],[])
if test "$ac_cv_search_versionsort" = "no"; then
--
2.7.4

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \
file://autofs-5.0.7-include-linux-nfs.h-directly-in-rpc_sub.patch \
file://no-bash.patch \
file://cross.patch \
file://autofs-5.0.7-do-not-check-for-modprobe.patch \
file://fix_disable_ldap.patch \
file://autofs-5.0.7-fix-lib-deps.patch \
file://add-the-needed-stdarg.h.patch \
Expand All @@ -27,8 +26,10 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \
file://0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch \
file://0001-Do-not-hardcode-path-for-pkg.m4.patch \
"
SRC_URI[md5sum] = "17bc9d371cf39d99f400ebadfc2289bb"
SRC_URI[sha256sum] = "8d1c9964c8286ccb08262ad47c60bb6343492902def5399fd36d79a0ccb0e718"


SRC_URI[md5sum] = "03b13168ec7bd66a6f2d5f6fea705eee"
SRC_URI[sha256sum] = "86a8e56ea9d72bb53ff8cdfeefb5cafe983592c6b0178fb99c4a731e59879181"

UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SECTION = "console/tests"

SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz"
SRC_URI[md5sum] = "3dc3a0e490e909f188379a9e05fd4780"
SRC_URI[sha256sum] = "6306549109c7254baf31edb385265b19557b5692217d2dfcf96f6fb17de8e842"
SRC_URI[md5sum] = "33e7b9ba5a65e7fcef91d47117450e6c"
SRC_URI[sha256sum] = "d7160df5ab15fbd65ade82c6cc13c02a4826d46eff10113f615e38316c9c01f1"

S = "${WORKDIR}/phoronix-test-suite"

Expand Down
Loading