autofs: upgrade 5.1.8 -> 5.1.9
PATCH 1/1 autofs: upgrade 5.1.8 -> 5.1.9
ChangeLog:
https://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git/tree/CHANGELOG?h=release_5_1_9
* Drop backport patches:
0001-autofs-5.1.8-add-autofs_strerror_r-helper-for-musl.patch 0002-autofs-5.1.8-handle-innetgr-not-present-in-musl.patch
* Drop the following patches as the issues have been fixed upstream:
cross.patch
pkgconfig-libnsl.patch
fix_disable_ldap.patch
add-the-needed-stdarg.h.patch autofs-5.0.7-fix-lib-deps.patch 0001-Define-__SWORD_TYPE-if-undefined.patch 0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch 0001-Bug-fix-for-pid_t-not-found-on-musl.patch 0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch 0002-Replace-__S_IEXEC-with-S_IEXEC.patch
* Reresh the following patches:
no-bash.patch
remove-bashism.patch
mount_conflict.patch force-STRIP-to-emtpy.patch 0001-include-libgen.h-for-basename.patch 0001-Do-not-hardcode-path-for-pkg.m4.patch fix-the-YACC-rule-to-fix-a-building-failure.patch using-pkg-config-to-detect-libxml-2.0-and-krb5.patch
* Add patch to fix build on musl:
0009-hash.h-include-sys-reg.h-instead-of-bits-reg.h.patch
* Backport patch to fix build with gcc14:
0010-autofs-5.1.9-Fix-incompatible-function-pointer-types.patch
* Add PACKAGECONFIG[openldap] and PACKAGECONFIG[sasl]
---
...-Bug-fix-for-pid_t-not-found-on-musl.patch | 30 -----
...__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch | 50 --------
...001-Define-__SWORD_TYPE-if-undefined.patch | 115 ------------------
...0001-Do-not-hardcode-path-for-pkg.m4.patch | 31 -----
...dd-autofs_strerror_r-helper-for-musl.patch | 56 ---------
...ulti.c-Replace-__S_IEXEC-with-S_IEXE.patch | 29 -----
.../{no-bash.patch => 0001-no-bash.patch} | 13 +-
.../0002-Replace-__S_IEXEC-with-S_IEXEC.patch | 60 ---------
...8-handle-innetgr-not-present-in-musl.patch | 106 ----------------
...002-using-pkg-config-to-detect-krb5.patch} | 30 ++---
....patch => 0003-force-STRIP-to-emtpy.patch} | 16 +--
... 0004-autofs.init.in-remove-bashism.patch} | 6 +-
...YACC-rule-to-fix-a-building-failure.patch} | 67 +++++-----
...0006-Do-not-hardcode-path-for-pkg.m4.patch | 31 +++++
...etween-sys-mount.h-and-linux-mount..patch} | 17 ++-
... 0008-include-libgen.h-for-basename.patch} | 11 +-
...lude-sys-reg.h-instead-of-bits-reg.h.patch | 35 ++++++
...-incompatible-function-pointer-types.patch | 64 ++++++++++
.../autofs/add-the-needed-stdarg.h.patch | 25 ----
.../autofs/autofs-5.0.7-fix-lib-deps.patch | 26 ----
.../recipes-daemons/autofs/autofs/cross.patch | 55 ---------
.../autofs/autofs/fix_disable_ldap.patch | 47 -------
.../autofs/autofs/pkgconfig-libnsl.patch | 37 ------
.../{autofs_5.1.8.bb => autofs_5.1.9.bb} | 43 +++----
24 files changed, 236 insertions(+), 764 deletions(-)
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-Bug-fix-for-pid_t-not-found-on-musl.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-Define-__SWORD_TYPE-if-undefined.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-autofs-5.1.8-add-autofs_strerror_r-helper-for-musl.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch
rename meta-networking/recipes-daemons/autofs/autofs/{no-bash.patch => 0001-no-bash.patch} (74%)
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0002-Replace-__S_IEXEC-with-S_IEXEC.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/0002-autofs-5.1.8-handle-innetgr-not-present-in-musl.patch
rename meta-networking/recipes-daemons/autofs/autofs/{using-pkg-config-to-detect-libxml-2.0-and-krb5.patch => 0002-using-pkg-config-to-detect-krb5.patch} (50%)
rename meta-networking/recipes-daemons/autofs/autofs/{force-STRIP-to-emtpy.patch => 0003-force-STRIP-to-emtpy.patch} (72%)
rename meta-networking/recipes-daemons/autofs/autofs/{remove-bashism.patch => 0004-autofs.init.in-remove-bashism.patch} (97%)
rename meta-networking/recipes-daemons/autofs/autofs/{fix-the-YACC-rule-to-fix-a-building-failure.patch => 0005-fix-the-YACC-rule-to-fix-a-building-failure.patch} (65%)
create mode 100644 meta-networking/recipes-daemons/autofs/autofs/0006-Do-not-hardcode-path-for-pkg.m4.patch
rename meta-networking/recipes-daemons/autofs/autofs/{mount_conflict.patch => 0007-Avoid-conflicts-between-sys-mount.h-and-linux-mount..patch} (60%)
rename meta-networking/recipes-daemons/autofs/autofs/{0001-include-libgen.h-for-basename.patch => 0008-include-libgen.h-for-basename.patch} (89%)
create mode 100644 meta-networking/recipes-daemons/autofs/autofs/0009-hash.h-include-sys-reg.h-instead-of-bits-reg.h.patch
create mode 100644 meta-networking/recipes-daemons/autofs/autofs/0010-autofs-5.1.9-Fix-incompatible-function-pointer-types.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/add-the-needed-stdarg.h.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/autofs-5.0.7-fix-lib-deps.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/cross.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/fix_disable_ldap.patch
delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch
rename meta-networking/recipes-daemons/autofs/{autofs_5.1.8.bb => autofs_5.1.9.bb} (62%)meta-networking/recipes-daemons/autofs/autofs/0001-Bug-fix-for-pid_t-not-found-on-musl.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From d0d5ac317dab11610a5fc91ca3e7f5ad72ce2236 Mon Sep 17 00:00:00 2001 -From: Zang Ruochen <[email protected]> -Date: Tue, 29 Oct 2019 13:19:37 +0800 -Subject: [PATCH] Bug fix for pid_t not found on musl. - -When compiling version 5.1.6 on musl, the following error occurs: -log.h:49:8: error: unknown type name 'pid_t' - -Upstream-Status: Pending - -Signed-off-by: Zang Ruochen <[email protected]> ---- - lib/defaults.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/defaults.c b/lib/defaults.c -index a6ea116..b3ecfa5 100644 ---- a/lib/defaults.c -+++ b/lib/defaults.c -@@ -21,6 +21,7 @@ - #include <string.h> - #include <sys/utsname.h> - #include <sys/stat.h> -+#include <sys/types.h> - #include <stdarg.h> - - #include "config.h" --- -2.20.1 -
meta-networking/recipes-daemons/autofs/autofs/0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch deleted +0 -50
50 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/0001-Define-__SWORD_TYPE-if-undefined.patch deleted +0 -115
115 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From d7a34bb388e33d16260b67275cdb58f9c877d324 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.6 -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 07c2051..e85d718 100644 ---- a/configure.in -+++ b/configure.in -@@ -12,7 +12,7 @@ define([AC_CACHE_SAVE], )dnl - AC_INIT(.autofs-5.1.8) - - # for pkg-config macros --m4_include([/usr/share/aclocal/pkg.m4]) -+m4_include([pkg.m4]) - - # - # autofs installs by default in /usr
meta-networking/recipes-daemons/autofs/autofs/0001-autofs-5.1.8-add-autofs_strerror_r-helper-for-musl.patch deleted +0 -56
56 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 745e355ac8b595a27e1fcca75bf01d3e244f4a5f Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 7 Sep 2017 22:22:31 -0700 -Subject: [PATCH] modules/lookup_multi.c: Replace __S_IEXEC with S_IEXEC - -__S_IEXEC is internal to libc and may not be available on -all libc e.g. musl - -Signed-off-by: Khem Raj <[email protected]> - ---- -Upstream-Status: Pending - - modules/lookup_multi.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/modules/lookup_multi.c b/modules/lookup_multi.c -index 3ecda6d..cf109de 100644 ---- a/modules/lookup_multi.c -+++ b/modules/lookup_multi.c -@@ -452,7 +452,7 @@ int lookup_reinit(const char *my_mapfmt, - continue; - } - -- if (st.st_mode & __S_IEXEC) -+ if (st.st_mode & S_IEXEC) - type = src_prog; - else - type = src_file;
meta-networking/recipes-daemons/autofs/autofs/0001-no-bash.patch renamed from meta-networking/recipes-daemons/autofs/autofs/no-bash.patch +9 -4
@@ -1,16 +1,18 @@ -From a3007d7ea930823926611081bb873ddd771325cb Mon Sep 17 00:00:00 2001 +From f53458e0b4cca0b0eedcd00b0e90b39d91228085 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 5 Jan 2013 19:53:10 -0800 +Subject: [PATCH] no bash ---- Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- samples/auto.net | 2 +- samples/auto.smb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/auto.net b/samples/auto.net -index 0384f61..61215f6 100755 +index c5b145d..a09d56d 100755 --- a/samples/auto.net +++ b/samples/auto.net @@ -1,4 +1,4 @@
@@ -20,7 +22,7 @@ index 0384f61..61215f6 100755 # This file must be executable to work! chmod 755! diff --git a/samples/auto.smb b/samples/auto.smb -index 6af5d85..d296b81 100755 +index f6d41d3..0d945ee 100755 --- a/samples/auto.smb +++ b/samples/auto.smb @@ -1,4 +1,4 @@
@@ -29,3 +31,6 @@ index 6af5d85..d296b81 100755 # This file must be executable to work! chmod 755! +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0002-Replace-__S_IEXEC-with-S_IEXEC.patch deleted +0 -60
60 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/0002-autofs-5.1.8-handle-innetgr-not-present-in-musl.patch deleted +0 -106
106 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/0002-using-pkg-config-to-detect-krb5.patch renamed from meta-networking/recipes-daemons/autofs/autofs/using-pkg-config-to-detect-libxml-2.0-and-krb5.patch +16 -14
@@ -1,10 +1,7 @@ -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 +From 796f1b5cfca595ba4e11ca9dab5c2c46c0710d95 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 krb5 Upstream-Status: Pending
@@ -13,15 +10,17 @@ 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(-) + configure.ac | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) ---- a/configure.in -+++ b/configure.in -@@ -215,7 +215,14 @@ PKG_CHECK_MODULES([XML], [libxml-2.0], [ +diff --git a/configure.ac b/configure.ac +index 76a38f4..1bb1a52 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -214,7 +214,14 @@ PKG_CHECK_MODULES([XML], [libxml-2.0], [ AC_DEFINE(LIBXML2_WORKAROUND, 1, [Use libxml2 tsd usage workaround]) ], [HAVE_LIBXML=0]) - + -AF_CHECK_KRB5() +PKG_CHECK_MODULES(KRB5, [krb5], [ + HAVE_KRB5=1
@@ -31,6 +30,9 @@ Signed-off-by: Changqing Li <[email protected]> + LIBS="$LIBS $KRB5_LIBS" + AC_CHECK_FUNCS([krb5_principal_get_realm]) +], [HAVE_KRB5=0]) - + AC_SEARCH_LIBS([versionsort],[]) if test "$ac_cv_search_versionsort" = "no"; then +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0003-force-STRIP-to-emtpy.patch renamed from meta-networking/recipes-daemons/autofs/autofs/force-STRIP-to-emtpy.patch +9 -7
@@ -1,23 +1,22 @@ -From 3cbee00fe5725b87abdae80cfa2ee735e4513ca6 Mon Sep 17 00:00:00 2001 +From efacbbe29b7212735046a7d0f2cd61148546ce9e Mon Sep 17 00:00:00 2001 From: Roy Li <[email protected]> Date: Tue, 19 Aug 2014 11:31:35 +0800 -Subject: [PATCH] [PATCH] force STRIP to emtpy +Subject: [PATCH] force STRIP to emtpy otherwise the generate file will be stripped -Signed-off-by: Roy Li <[email protected]> - ---- Upstream-Status: Pending +Signed-off-by: Roy Li <[email protected]> +--- Makefile.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.rules b/Makefile.rules -index 709dd04..b1f7e50 100644 +index 6ce39e5..a6dcd7b 100644 --- a/Makefile.rules +++ b/Makefile.rules -@@ -31,7 +31,7 @@ LDFLAGS ?= -s +@@ -36,7 +36,7 @@ LDFLAGS ?= -s endif ifdef DONTSTRIP
@@ -26,3 +25,6 @@ index 709dd04..b1f7e50 100644 else STRIP ?= strip --strip-debug endif +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0004-autofs.init.in-remove-bashism.patch renamed from meta-networking/recipes-daemons/autofs/autofs/remove-bashism.patch +4 -2
@@ -1,4 +1,4 @@ -From cfacbb917f87b903b50132a5025f86b0cc522e9c Mon Sep 17 00:00:00 2001 +From b5f4a3c2f02244209ac613aeb8ea406bdc39af27 Mon Sep 17 00:00:00 2001 From: Robert Yang <[email protected]> Date: Sat, 13 Sep 2014 20:19:28 -0700 Subject: [PATCH] autofs.init.in: remove bashism
@@ -9,7 +9,6 @@ Upstream-Status: Pending Signed-off-by: Mike Looijmans <[email protected]> Signed-off-by: Robert Yang <[email protected]> - --- redhat/autofs.init.in | 12 ++++++------ samples/rc.autofs.in | 10 +++++-----
@@ -116,3 +115,6 @@ index 487669f..e96cde1 100644 pid=`pidof $prog` if [ -z $pid ]; then echo $"$prog not running" +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0005-fix-the-YACC-rule-to-fix-a-building-failure.patch renamed from meta-networking/recipes-daemons/autofs/autofs/fix-the-YACC-rule-to-fix-a-building-failure.patch +30 -37
96 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/0006-Do-not-hardcode-path-for-pkg.m4.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 349cc55c4cb7c7b2f5e7de937e11f3c581028b23 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.6 +Signed-off-by: Changqing Li <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 1bb1a52..4cebbd2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -12,7 +12,7 @@ define([AC_CACHE_SAVE], )dnl + AC_INIT(.autofs-5.1.9) + + # for pkg-config macros +-m4_include([/usr/share/aclocal/pkg.m4]) ++m4_include([pkg.m4]) + + # + # autofs installs by default in /usr +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0007-Avoid-conflicts-between-sys-mount.h-and-linux-mount..patch renamed from meta-networking/recipes-daemons/autofs/autofs/mount_conflict.patch +16 -1
@@ -1,4 +1,7 @@ -Avoid conflicts between sys/mount.h and linux/mount.h +From 96e0e3ed49a0e00573fa5907ae80e6d262cb7644 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 9 Sep 2024 23:01:06 +0800 +Subject: [PATCH] Avoid conflicts between sys/mount.h and linux/mount.h linux/fs.h includes linux/mount.h and this include file is unused so do not include it and avoid conflict too with glibc 2.36+ see [1]
@@ -8,6 +11,13 @@ do not include it and avoid conflict too with glibc 2.36+ see [1] Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> +--- + modules/parse_amd.c | 1 - + modules/parse_sun.c | 1 - + 2 files changed, 2 deletions(-) + +diff --git a/modules/parse_amd.c b/modules/parse_amd.c +index fb6b1b7..d86adf1 100644 --- a/modules/parse_amd.c +++ b/modules/parse_amd.c @@ -27,7 +27,6 @@
@@ -18,6 +28,8 @@ Signed-off-by: Khem Raj <[email protected]> #define MODULE_PARSE #include "automount.h" +diff --git a/modules/parse_sun.c b/modules/parse_sun.c +index a5351fd..8509781 100644 --- a/modules/parse_sun.c +++ b/modules/parse_sun.c @@ -30,7 +30,6 @@
@@ -28,3 +40,6 @@ Signed-off-by: Khem Raj <[email protected]> #define MODULE_PARSE #include "automount.h" +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0008-include-libgen.h-for-basename.patch renamed from meta-networking/recipes-daemons/autofs/autofs/0001-include-libgen.h-for-basename.patch +6 -5
@@ -1,4 +1,4 @@ -From 1651e7a35be8b3e2fa90ca57b073f6944664fa62 Mon Sep 17 00:00:00 2001 +From c754222ce955c893e8e3ad75d8c73835950d1931 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 25 Mar 2024 12:04:03 -0700 Subject: [PATCH] include libgen.h for basename
@@ -10,6 +10,7 @@ include libgen.h for providing it. [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 Upstream-Status: Pending + Signed-off-by: Khem Raj <[email protected]> --- daemon/automount.c | 1 +
@@ -18,7 +19,7 @@ Signed-off-by: Khem Raj <[email protected]> 3 files changed, 3 insertions(+) diff --git a/daemon/automount.c b/daemon/automount.c -index 3d9461d..61b3478 100644 +index 6cb3b1b..efc2680 100644 --- a/daemon/automount.c +++ b/daemon/automount.c @@ -21,6 +21,7 @@
@@ -30,7 +31,7 @@ index 3d9461d..61b3478 100644 #include <stdio.h> #include <stdlib.h> diff --git a/daemon/master.c b/daemon/master.c -index f99359c..3f56499 100644 +index f2c11e9..1455e40 100644 --- a/daemon/master.c +++ b/daemon/master.c @@ -21,6 +21,7 @@
@@ -42,7 +43,7 @@ index f99359c..3f56499 100644 #include <sys/types.h> #include <sys/stat.h> diff --git a/modules/lookup_file.c b/modules/lookup_file.c -index 6afc558..82b1f28 100644 +index 99f2e21..4914395 100644 --- a/modules/lookup_file.c +++ b/modules/lookup_file.c @@ -15,6 +15,7 @@
@@ -54,5 +55,5 @@ index 6afc558..82b1f28 100644 #include <string.h> #include <time.h> -- -2.44.0 +2.25.1
meta-networking/recipes-daemons/autofs/autofs/0009-hash.h-include-sys-reg.h-instead-of-bits-reg.h.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 1a08bbed376c0dfa0ce2d12a93b34fb2d5620c05 Mon Sep 17 00:00:00 2001 +From: Yi Zhao <[email protected]> +Date: Tue, 10 Sep 2024 21:08:09 +0800 +Subject: [PATCH] hash.h: include <sys/reg.h> instead of <bits/reg.h> + +Fix build on musl: +In file included from ../include/automount.h:25, + from parse_subs.c:29: +../include/hash.h:27:2: error: #error Wordsize not 32 or 64 + 27 | #error Wordsize not 32 or 64 + | ^~~~~ + +Upstream-Status: Pending + +Signed-off-by: Yi Zhao <[email protected]> +--- + include/hash.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/hash.h b/include/hash.h +index 0f1d7b5..f465ab8 100644 +--- a/include/hash.h ++++ b/include/hash.h +@@ -6,7 +6,7 @@ + #ifdef __GLIBC__ + #include <bits/wordsize.h> + #else +-#include <bits/reg.h> ++#include <sys/reg.h> + #endif + #include <linux/stddef.h> + #include <sys/types.h> +-- +2.25.1 +
meta-networking/recipes-daemons/autofs/autofs/0010-autofs-5.1.9-Fix-incompatible-function-pointer-types.patch new file +64 -0
64 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/add-the-needed-stdarg.h.patch deleted +0 -25
@@ -1,25 +0,0 @@ -From df5d45b2d7ad7e7b5f0542a816d08b0409a529a1 Mon Sep 17 00:00:00 2001 -From: Roy Li <[email protected]> -Date: Tue, 19 Aug 2014 11:31:35 +0800 -Subject: [PATCH] [PATCH] add the needed stdarg.h - -Upstream-Status: Pending - -Signed-off-by: Roy Li <[email protected]> - ---- - lib/defaults.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/defaults.c b/lib/defaults.c -index 0e48a78..667f35d 100644 ---- a/lib/defaults.c -+++ b/lib/defaults.c -@@ -16,6 +16,7 @@ - - #include <stdlib.h> - #include <stdio.h> -+#include <stdarg.h> - #include <ctype.h> - #include <string.h> - #include <sys/utsname.h>
meta-networking/recipes-daemons/autofs/autofs/autofs-5.0.7-fix-lib-deps.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 080626108c9ab70e2489752ef2a14006d0564b0c Mon Sep 17 00:00:00 2001 -From: Joe MacDonald <[email protected]> -Date: Tue, 18 Jun 2013 10:05:21 -0400 -Subject: [PATCH] Fix the dependency issue - -Upstream-Status: Pending - -autofs's lib sources have a dependency on a number of files that are -generated by rpcgen during buildtime - -Signed-off-by: Roy.Li <[email protected]> -Signed-off-by: Joe MacDonald <[email protected]> - ---- - lib/Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/Makefile b/lib/Makefile -index 518b483..4798a4b 100644 ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -81,3 +81,4 @@ install: all - clean: - rm -f $(LIB) $(RPCS) $(OBJS) $(YACCSRC) *.output *~ - -+$(OBJS): $(RPCS)
meta-networking/recipes-daemons/autofs/autofs/cross.patch deleted +0 -55
55 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/fix_disable_ldap.patch deleted +0 -47
47 lines not on this page · raw message
meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch deleted +0 -37
@@ -1,37 +0,0 @@ -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 76ecb40..493b9f1 100644 ---- a/configure.in -+++ b/configure.in -@@ -238,7 +238,7 @@ AC_SUBST(LIBCLOCK_GETTIME) - - 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 -
meta-networking/recipes-daemons/autofs/autofs_5.1.9.bb renamed from meta-networking/recipes-daemons/autofs/autofs_5.1.8.bb +16 -27
71 lines not on this page · raw message
Signature · 1 line
2.25.1