Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84164 Details for
Bug 123405
pam_mysql 0.6.2 and 0.7_rc1 proposal (Enchancement)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.6.2 source code patch for linking with pam librairies
pam_mysql-0.6.2_v2.patch (text/plain), 3.93 KB, created by
Cyrius
on 2006-04-07 14:08:51 UTC
(
hide
)
Description:
0.6.2 source code patch for linking with pam librairies
Filename:
MIME Type:
Creator:
Cyrius
Created:
2006-04-07 14:08:51 UTC
Size:
3.93 KB
patch
obsolete
>diff -Naur ./acinclude.m4 ./acinclude.m4 >--- ./acinclude.m4 2006-02-19 21:45:58.000000000 +0100 >+++ ./acinclude.m4 2006-02-19 21:47:04.000000000 +0100 >@@ -22,8 +22,8 @@ > CFLAGS="$INCLUDES -Werror $CFLAGS" > AC_MSG_CHECKING([if the second argument of pam_get_user() takes const pointer]) > AC_TRY_COMPILE([ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ], [ > const char *user; > pam_get_user((void*)0, &user, (void*)0); >@@ -37,8 +37,8 @@ > > AC_MSG_CHECKING([if the third argument of pam_get_data() takes const pointer]) > AC_TRY_COMPILE([ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ], [ > const void *data; > pam_get_data((void*)0, (void*)0, &data); >@@ -52,8 +52,8 @@ > > AC_MSG_CHECKING([if the third argument of pam_get_item() takes const pointer]) > AC_TRY_COMPILE([ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ], [ > const void *item; > pam_get_item((void*)0, 0, &item); >@@ -67,8 +67,8 @@ > > AC_MSG_CHECKING([if the second argument of pam_conv.conv() takes const pointer]) > AC_TRY_COMPILE([ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ], [ > int (*conv)(int num_msg, const struct pam_message **msg, > struct pam_response **resp, void *appdata_ptr) = NULL; >@@ -90,22 +90,22 @@ > PAM_MYSQL_CHECK_CONST([PAM_CONV_AGAIN], [ > AC_DEFINE([HAVE_PAM_CONV_AGAIN], [1], [Define to 1 if PAM defines PAM_CONV_AGAIN constant.]) > ], [], [ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ]) > > PAM_MYSQL_CHECK_CONST([PAM_INCOMPLETE], [ > AC_DEFINE([HAVE_PAM_INCOMPLETE], [1], [Define to 1 if PAM defines PAM_INCOMPLETE constant.]) > ], [], [ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ]) > > PAM_MYSQL_CHECK_CONST([PAM_NEW_AUTHTOK_REQD], [ > AC_DEFINE([HAVE_PAM_NEW_AUTHTOK_REQD], [1], [Define to 1 if PAM defines PAM_NEW_AUTHTOK_REQD constant.]) > ], [], [ >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > ]) > CFLAGS="$ac_save_CFLAGS" > ]) >@@ -122,12 +122,13 @@ > AC_CHECK_HEADERS([pam_appl.h], [ > AC_MSG_CHECKING([pam_modules.h usability]) > AC_TRY_COMPILE([ >- #include <pam_appl.h> >- #include <pam_modules.h> >+ #include <security/pam_appl.h> >+ #include <security/pam_modules.h> > ], [], [ > AC_MSG_RESULT([yes]) > pam_prefix="$_pfx" > pam_include_path="$dir" >+ LIBS="$LIBS -lpam" > break > ], [ > AC_MSG_RESULT([no]) >diff -Naur ./configure.in ./configure.in >--- ./configure.in 2005-09-22 06:40:45.000000000 +0200 >+++ ./configure.in 2006-02-19 21:47:15.000000000 +0100 >@@ -116,14 +116,14 @@ > PAM_MYSQL_CHECK_PAM(["$withval"]) > ], [ > dnl try autodetection... >- PAM_MYSQL_CHECK_PAM([/usr /usr/local]) >+ PAM_MYSQL_CHECK_PAM([/usr /usr/include /usr/local]) > ]) > > AC_ARG_WITH([pam_mods_dir], [ --with-pam-mods-dir=DIR specify PAM module installation path], [ > PAM_MODS_DIR="$withval" > ], [ > PAM_MODS_DIR= >- for dir in "/lib/security" "/lib/pam" "/usr/lib/security" "/usr/lib/pam" \ >+ for dir in "/lib" "/lib/security" "/usr/lib/security" "/usr/lib/pam" \ > "$libdir/pam" "$libdir/security"; do > if test -d "$dir"; then > PAM_MODS_DIR="$dir" >diff -Naur ./pam_mysql.c ./pam_mysql.c >--- ./pam_mysql.c 2006-02-19 21:45:58.000000000 +0100 >+++ ./pam_mysql.c 2006-02-19 21:46:54.000000000 +0100 >@@ -131,8 +131,8 @@ > #define PAM_SM_SESSION > #define PAM_SM_PASSWORD > >-#include <pam_appl.h> >-#include <pam_modules.h> >+#include <security/pam_appl.h> >+#include <security/pam_modules.h> > > /* }}} */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123405
:
80200
|
80217
|
80218
|
80219
|
80220
|
80221
|
80222
|
80223
|
84163
| 84164 |
84168
|
84170