diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2010-02-17 12:34:59 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2010-02-17 12:34:59 +0000 |
commit | 32f6c6b4c9fa4896d573cdd882af8cd61fd6688d (patch) | |
tree | 0c6e5f1d32cdf7a82f536c3bcb2af229f82d8244 /net-ftp/pure-ftpd/files | |
parent | Version bumps, by Bernd Lommerzheim <bernd@lommerzheim.com> in bug #305343. A... (diff) | |
download | historical-32f6c6b4c9fa4896d573cdd882af8cd61fd6688d.tar.gz historical-32f6c6b4c9fa4896d573cdd882af8cd61fd6688d.tar.bz2 historical-32f6c6b4c9fa4896d573cdd882af8cd61fd6688d.zip |
Version bump by Polynomial-C, bug #305329
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'net-ftp/pure-ftpd/files')
-rw-r--r-- | net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch new file mode 100644 index 000000000000..209cd94dc566 --- /dev/null +++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch @@ -0,0 +1,20 @@ +--- src/log_pam.c ++++ src/log_pam.c +@@ -49,7 +49,7 @@ + # endif + + #ifndef FTPD_PAM_SERVICE_NAME +-# define FTPD_PAM_SERVICE_NAME "pure-ftpd" ++# define FTPD_PAM_SERVICE_NAME "ftp" + #endif + + /* Static variables used to communicate between the conversation function +@@ -164,7 +164,7 @@ + &PAM_conversation, &pamh); + PAM_BAIL; + # ifdef PAM_TTY +- (void) pam_set_item(pamh, PAM_TTY, "pure-ftpd"); ++ (void) pam_set_item(pamh, PAM_TTY, FTPD_PAM_SERVICE_NAME); + # endif + # ifdef PAM_RUSER + (void) pam_set_item(pamh, PAM_RUSER, user); |