diff options
Diffstat (limited to 'meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch')
-rw-r--r-- | meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch b/meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch index ff3abd86aa..7d5c087c9d 100644 --- a/meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch +++ b/meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch | |||
@@ -1,15 +1,24 @@ | |||
1 | From 684e45b34a33186bb17bcee0b01814c549a60bf6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Kai Kang <kai.kang@windriver.com> | ||
3 | Date: Wed, 6 Mar 2019 09:36:11 -0500 | ||
4 | Subject: [PATCH] inetutils: Import version 1.9.4 | ||
5 | |||
1 | Only check security/pam_appl.h which is provided by package libpam when pam is | 6 | Only check security/pam_appl.h which is provided by package libpam when pam is |
2 | enabled. | 7 | enabled. |
3 | 8 | ||
4 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
5 | 10 | ||
6 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 11 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
12 | |||
7 | --- | 13 | --- |
14 | configure.ac | 15 ++++++++++++++- | ||
15 | 1 file changed, 14 insertions(+), 1 deletion(-) | ||
16 | |||
8 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
9 | index b35e672..e78a751 100644 | 18 | index 86136fb..b220319 100644 |
10 | --- a/configure.ac | 19 | --- a/configure.ac |
11 | +++ b/configure.ac | 20 | +++ b/configure.ac |
12 | @@ -195,6 +195,19 @@ fi | 21 | @@ -183,6 +183,19 @@ AC_SUBST(LIBUTIL) |
13 | 22 | ||
14 | # See if we have libpam.a. Investigate PAM versus Linux-PAM. | 23 | # See if we have libpam.a. Investigate PAM versus Linux-PAM. |
15 | if test "$with_pam" = yes ; then | 24 | if test "$with_pam" = yes ; then |
@@ -29,8 +38,8 @@ index b35e672..e78a751 100644 | |||
29 | AC_CHECK_LIB(dl, dlopen, LIBDL=-ldl) | 38 | AC_CHECK_LIB(dl, dlopen, LIBDL=-ldl) |
30 | AC_CHECK_LIB(pam, pam_authenticate, LIBPAM=-lpam) | 39 | AC_CHECK_LIB(pam, pam_authenticate, LIBPAM=-lpam) |
31 | if test "$ac_cv_lib_pam_pam_authenticate" = yes ; then | 40 | if test "$ac_cv_lib_pam_pam_authenticate" = yes ; then |
32 | @@ -587,7 +600,7 @@ AC_HEADER_DIRENT | 41 | @@ -620,7 +633,7 @@ AC_HEADER_DIRENT |
33 | AC_CHECK_HEADERS([arpa/nameser.h errno.h fcntl.h features.h \ | 42 | AC_CHECK_HEADERS([arpa/nameser.h arpa/tftp.h errno.h fcntl.h features.h \ |
34 | glob.h memory.h netinet/ether.h netinet/in_systm.h \ | 43 | glob.h memory.h netinet/ether.h netinet/in_systm.h \ |
35 | netinet/ip.h netinet/ip_icmp.h netinet/ip_var.h \ | 44 | netinet/ip.h netinet/ip_icmp.h netinet/ip_var.h \ |
36 | - security/pam_appl.h shadow.h \ | 45 | - security/pam_appl.h shadow.h \ |