/[gentoo-alt]/trunk/sys-libs/openpam/files/openpam-20050201-gentoo.patch
Gentoo

Diff of /trunk/sys-libs/openpam/files/openpam-20050201-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 458 Revision 459
1diff -x '*~' -Npaur openpam-20050201/include/security/Makefile.am openpam-20050201-gentoo/include/security/Makefile.am 1diff -Nur openpam-20050201/include/security/Makefile.am openpam-20050201-gentoo/include/security/Makefile.am
2--- openpam-20050201/include/security/Makefile.am 2005-02-01 00:00:00.000000000 +0100 2--- openpam-20050201/include/security/Makefile.am 2005-02-01 00:00:00.000000000 +0100
3+++ openpam-20050201-gentoo/include/security/Makefile.am 2005-06-04 20:23:46.656353048 +0200 3+++ openpam-20050201-gentoo/include/security/Makefile.am 2005-06-11 12:48:19.038207056 +0200
4@@ -6,4 +6,5 @@ openpam_HEADERS = \ 4@@ -6,4 +6,5 @@
5 pam_appl.h \ 5 pam_appl.h \
6 pam_constants.h \ 6 pam_constants.h \
7 pam_modules.h \ 7 pam_modules.h \
8- pam_types.h 8- pam_types.h
9+ pam_types.h \ 9+ pam_types.h \
10+ pam_mod_misc.h 10+ pam_mod_misc.h
11diff -x '*~' -Npaur openpam-20050201/include/security/pam_mod_misc.h openpam-20050201-gentoo/include/security/pam_mod_misc.h 11diff -Nur openpam-20050201/include/security/pam_mod_misc.h openpam-20050201-gentoo/include/security/pam_mod_misc.h
12--- openpam-20050201/include/security/pam_mod_misc.h 1970-01-01 01:00:00.000000000 +0100 12--- openpam-20050201/include/security/pam_mod_misc.h 1970-01-01 01:00:00.000000000 +0100
13+++ openpam-20050201-gentoo/include/security/pam_mod_misc.h 2005-06-04 20:23:34.108260648 +0200 13+++ openpam-20050201-gentoo/include/security/pam_mod_misc.h 2005-06-11 12:48:19.038207056 +0200
14@@ -0,0 +1,56 @@ 14@@ -0,0 +1,56 @@
15+/*- 15+/*-
16+ * Copyright 1998 Juniper Networks, Inc. 16+ * Copyright 1998 Juniper Networks, Inc.
17+ * All rights reserved. 17+ * All rights reserved.
18+ * 18+ *
66+ 66+
67+#define PAM_VERBOSE_ERROR(...) \ 67+#define PAM_VERBOSE_ERROR(...) \
68+ _pam_verbose_error(pamh, flags, __FILE__, __FUNCTION__, __VA_ARGS__) 68+ _pam_verbose_error(pamh, flags, __FILE__, __FUNCTION__, __VA_ARGS__)
69+ 69+
70+#endif 70+#endif
71diff -x '*~' -Npaur openpam-20050201/lib/Makefile.am openpam-20050201-gentoo/lib/Makefile.am 71diff -Nur openpam-20050201/lib/Makefile.am openpam-20050201-gentoo/lib/Makefile.am
72--- openpam-20050201/lib/Makefile.am 2005-02-01 00:00:00.000000000 +0100 72--- openpam-20050201/lib/Makefile.am 2005-02-01 00:00:00.000000000 +0100
73+++ openpam-20050201-gentoo/lib/Makefile.am 2005-06-04 20:38:38.573760992 +0200 73+++ openpam-20050201-gentoo/lib/Makefile.am 2005-06-11 12:48:19.038207056 +0200
74@@ -46,6 +46,7 @@ libpam_la_SOURCES = \ 74@@ -46,6 +46,7 @@
75 pam_verror.c \ 75 pam_verror.c \
76 pam_vinfo.c \ 76 pam_vinfo.c \
77 pam_vprompt.c \ 77 pam_vprompt.c \
78+ pam_debug_log.c \ 78+ pam_debug_log.c \
79 $(NULL) 79 $(NULL)
80 80
81 libpam_la_LDFLAGS = -no-undefined -version-info @LIB_MAJ@ @DL_LIBS@ 81 libpam_la_LDFLAGS = -no-undefined -version-info @LIB_MAJ@ @DL_LIBS@
82diff -x '*~' -Npaur openpam-20050201/lib/openpam_dynamic.c openpam-20050201-gentoo/lib/openpam_dynamic.c 82diff -Nur openpam-20050201/lib/openpam_dynamic.c openpam-20050201-gentoo/lib/openpam_dynamic.c
83--- openpam-20050201/lib/openpam_dynamic.c 2005-02-01 00:00:00.000000000 +0100 83--- openpam-20050201/lib/openpam_dynamic.c 2005-02-01 00:00:00.000000000 +0100
84+++ openpam-20050201-gentoo/lib/openpam_dynamic.c 2005-06-04 20:42:54.779811752 +0200 84+++ openpam-20050201-gentoo/lib/openpam_dynamic.c 2005-06-11 12:48:19.039206904 +0200
85@@ -73,8 +73,21 @@ openpam_dynamic(const char *path) 85@@ -73,8 +73,21 @@
86 *strrchr(vpath, '.') = '\0'; 86 *strrchr(vpath, '.') = '\0';
87 if ((dlh = dlopen(vpath, RTLD_NOW)) == NULL) { 87 if ((dlh = dlopen(vpath, RTLD_NOW)) == NULL) {
88 openpam_log(PAM_LOG_DEBUG, "%s: %s", vpath, dlerror()); 88 openpam_log(PAM_LOG_DEBUG, "%s: %s", vpath, dlerror());
89- FREE(module); 89- FREE(module);
90- return (NULL); 90- return (NULL);
104+ } 104+ }
105+ } 105+ }
106 } 106 }
107 } 107 }
108 FREE(vpath); 108 FREE(vpath);
109diff -x '*~' -Npaur openpam-20050201/lib/pam_debug_log.c openpam-20050201-gentoo/lib/pam_debug_log.c 109diff -Nur openpam-20050201/lib/pam_debug_log.c openpam-20050201-gentoo/lib/pam_debug_log.c
110--- openpam-20050201/lib/pam_debug_log.c 1970-01-01 01:00:00.000000000 +0100 110--- openpam-20050201/lib/pam_debug_log.c 1970-01-01 01:00:00.000000000 +0100
111+++ openpam-20050201-gentoo/lib/pam_debug_log.c 2005-06-04 20:38:21.188403968 +0200 111+++ openpam-20050201-gentoo/lib/pam_debug_log.c 2005-06-11 12:55:17.688562528 +0200
112@@ -0,0 +1,62 @@ 112@@ -0,0 +1,64 @@
113+/*- 113+/*-
114+ * Copyright 2001 Mark R V Murray 114+ * Copyright 2001 Mark R V Murray
115+ * All rights reserved. 115+ * All rights reserved.
116+ * 116+ *
117+ * Redistribution and use in source and binary forms, with or without 117+ * Redistribution and use in source and binary forms, with or without
135+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 135+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
136+ * SUCH DAMAGE. 136+ * SUCH DAMAGE.
137+ */ 137+ */
138+ 138+
139+#include <sys/cdefs.h> 139+#include <sys/cdefs.h>
140+__FBSDID("$FreeBSD: src/lib/libpam/libpam/pam_debug_log.c,v 1.8 2002/04/14 16:44:04 des Exp $");
141+ 140+
141+#ifndef __GLIBC__
142+#include <libgen.h> 142+#include <libgen.h>
143+#endif
144+
143+#include <stdarg.h> 145+#include <stdarg.h>
144+#include <stdio.h> 146+#include <stdio.h>
145+#include <stdlib.h> 147+#include <stdlib.h>
146+#include <string.h> 148+#include <string.h>
147+ 149+

Legend:
Removed from v.458  
changed lines
  Added in v.459

  ViewVC Help
Powered by ViewVC 1.1.20