From 043b28ac8ebcaedac5d39bdf7f1f366b7818a666 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 4 Feb 2018 09:37:37 +0100 Subject: reorganized directory structure for package description, patches and other files --- .../pam-1.3.0-unix-passwd-no-yp.patch | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 patches-i486-stage1/pam-1.3.0-unix-passwd-no-yp.patch (limited to 'patches-i486-stage1/pam-1.3.0-unix-passwd-no-yp.patch') diff --git a/patches-i486-stage1/pam-1.3.0-unix-passwd-no-yp.patch b/patches-i486-stage1/pam-1.3.0-unix-passwd-no-yp.patch deleted file mode 100644 index 1ac4a11..0000000 --- a/patches-i486-stage1/pam-1.3.0-unix-passwd-no-yp.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff -rauN pam_unix2-2.9.1/config.h.in pam_unix2-2.9.1-unix-passwd-no-yp-patch/config.h.in ---- pam_unix2-2.9.1/config.h.in 2012-04-03 15:31:24.000000000 +0200 -+++ pam_unix2-2.9.1-unix-passwd-no-yp-patch/config.h.in 2017-12-08 16:15:09.870000003 +0100 -@@ -194,3 +194,6 @@ - - /* Define to 1 if you need to in order for `stat' and other things to work. */ - #undef _POSIX_SOURCE -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_RPCSVC_YP_PROT_H -diff -rauN pam_unix2-2.9.1/configure.in pam_unix2-2.9.1-unix-passwd-no-yp-patch/configure.in ---- pam_unix2-2.9.1/configure.in 2012-04-03 15:31:17.000000000 +0200 -+++ pam_unix2-2.9.1-unix-passwd-no-yp-patch/configure.in 2017-12-08 16:15:22.160000000 +0100 -@@ -60,6 +60,7 @@ - AC_CHECK_HEADERS(crypt.h) - AC_CHECK_HEADERS(stdlib.h pwd.h sys/types.h syslog.h sys/syslog.h string.h strings.h, , AC_MSG_ERROR(some basic headers are missing)) - AC_CHECK_HEADERS(security/pam_appl.h security/pam_modules.h, , AC_MSG_ERROR(broken libpam installation)) -+AC_CHECK_HEADERS(rpcsvc/yp_prot.h) - - dnl Check for Linux-PAM 0.99.x - AC_CHECK_HEADERS(security/pam_ext.h) -diff -rauN pam_unix2-2.9.1/src/unix_passwd.c pam_unix2-2.9.1-unix-passwd-no-yp-patch/src/unix_passwd.c ---- pam_unix2-2.9.1/src/unix_passwd.c 2012-04-03 15:24:51.000000000 +0200 -+++ pam_unix2-2.9.1-unix-passwd-no-yp-patch/src/unix_passwd.c 2017-12-08 16:15:33.389999993 +0100 -@@ -53,8 +53,10 @@ - #include - #include - #include -+#if defined(HAVE_YP_PROT_H) - #include - #include -+#endif - - #define PAM_SM_PASSWORD - #include -@@ -413,6 +415,7 @@ - } - } - -+#if defined(HAVE_YP_PROT_H) - static char * - getnismaster (pam_handle_t *pamh, int flags) - { -@@ -445,6 +448,7 @@ - - return master; - } -+#endif - - static int - read_loop (int fd, char *buffer, int count) -@@ -1095,6 +1099,7 @@ - - ulckpwdf (); - } -+#if defined(HAVE_YP_PROT_H) - else if (data->service == S_YP) - { - struct yppasswd yppwd; -@@ -1137,6 +1142,7 @@ - retval = PAM_AUTHTOK_ERR; - } - } -+#endif - - return retval; - } -- cgit v1.2.3-54-g00ecf