diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-25 13:55:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-25 13:55:38 +0000 |
commit | e05aa9131cb49926b4effda996fc9369dc1ba7a5 (patch) | |
tree | ea6182870130af551715414023ac5c0abeea78cf /sys-libs/pam/files | |
parent | Don't force upgrade for fixed modular X deps (diff) | |
download | gentoo-2-e05aa9131cb49926b4effda996fc9369dc1ba7a5.tar.gz gentoo-2-e05aa9131cb49926b4effda996fc9369dc1ba7a5.tar.bz2 gentoo-2-e05aa9131cb49926b4effda996fc9369dc1ba7a5.zip |
Add patch to fix xauth path (bug #111307).
(Portage version: 2529-svn)
Diffstat (limited to 'sys-libs/pam/files')
-rw-r--r-- | sys-libs/pam/files/digest-pam-0.78-r4 | 4 | ||||
-rw-r--r-- | sys-libs/pam/files/pam-0.78-xauth-path.patch | 38 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-libs/pam/files/digest-pam-0.78-r4 b/sys-libs/pam/files/digest-pam-0.78-r4 new file mode 100644 index 000000000000..be3a66827628 --- /dev/null +++ b/sys-libs/pam/files/digest-pam-0.78-r4 @@ -0,0 +1,4 @@ +MD5 58cd055892e97648651d5a318888f3a0 Linux-PAM-0.78.tar.gz 488936 +MD5 fcc481d52c3b80e20a328f8c0cb042bd db-4.3.27.tar.gz 5921872 +MD5 777d2e34a60edad28319207b576cda91 glib-2.6.5.tar.bz2 2357089 +MD5 c7b9d6d52902ead5f4c10c277e441f30 pam-0.78-patches-1.3.tar.bz2 87223 diff --git a/sys-libs/pam/files/pam-0.78-xauth-path.patch b/sys-libs/pam/files/pam-0.78-xauth-path.patch new file mode 100644 index 000000000000..4663f5f909e7 --- /dev/null +++ b/sys-libs/pam/files/pam-0.78-xauth-path.patch @@ -0,0 +1,38 @@ +diff -uNr Linux-PAM-0.78.orig/modules/pam_xauth/README Linux-PAM-0.78/modules/pam_xauth/README +--- Linux-PAM-0.78.orig/modules/pam_xauth/README 2003-07-24 20:21:50.000000000 +0100 ++++ Linux-PAM-0.78/modules/pam_xauth/README 2006-01-25 09:23:50.000000000 +0000 +@@ -23,7 +23,7 @@ + RECOGNIZED ARGUMENTS: + debug write debugging messages to syslog + xauthpath= the path to the xauth program, by default +- /usr/X11R6/bin/xauth ++ /usr/bin/xauth + systemuser= highest user id assigned to system users, defaults + to 499 (pam_xauth will refuse to forward creds to + target users with id equal to or below this number, +diff -uNr Linux-PAM-0.78.orig/modules/pam_xauth/pam_xauth.8 Linux-PAM-0.78/modules/pam_xauth/pam_xauth.8 +--- Linux-PAM-0.78.orig/modules/pam_xauth/pam_xauth.8 2003-07-24 20:21:50.000000000 +0100 ++++ Linux-PAM-0.78/modules/pam_xauth/pam_xauth.8 2006-01-25 09:23:39.000000000 +0000 +@@ -45,8 +45,8 @@ + .SH ARGUMENTS + .IP debug + Turns on debugging messages sent to syslog. +-.IP xauthpath=\fI/usr/X11R6/bin/xauth\fP +-Specify the path the xauth program (the default is /usr/X11R6/bin/xauth). ++.IP xauthpath=\fI/usr/bin/xauth\fP ++Specify the path the xauth program (the default is /usr/bin/xauth). + .IP systemuser=\fInumber\fP + Specify the highest UID which will be assumed to belong to a "system" user. + pam_xauth will refuse to forward credentials to users with UID less than or +diff -uNr Linux-PAM-0.78.orig/modules/pam_xauth/pam_xauth.c Linux-PAM-0.78/modules/pam_xauth/pam_xauth.c +--- Linux-PAM-0.78.orig/modules/pam_xauth/pam_xauth.c 2004-09-24 10:18:22.000000000 +0100 ++++ Linux-PAM-0.78/modules/pam_xauth/pam_xauth.c 2006-01-25 09:24:00.000000000 +0000 +@@ -57,7 +57,7 @@ + #include <security/_pam_modutil.h> + + #define DATANAME "pam_xauth_cookie_file" +-#define XAUTHBIN "/usr/X11R6/bin/xauth" ++#define XAUTHBIN "/usr/bin/xauth" + #define XAUTHENV "XAUTHORITY" + #define HOMEENV "HOME" + #define XAUTHDEF ".Xauthority" |