Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-ftp/pure-ftpd/files: pure-ftpd-1.0.28-pam.patch
Date: Wed, 17 Feb 2010 12:35:04
Message-Id: E1Nhj7M-0002Qb-4p@stork.gentoo.org
1 voyageur 10/02/17 12:35:00
2
3 Added: pure-ftpd-1.0.28-pam.patch
4 Log:
5 Version bump by Polynomial-C, bug #305329
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch?rev=1.1&content-type=text/plain
13
14 Index: pure-ftpd-1.0.28-pam.patch
15 ===================================================================
16 --- src/log_pam.c
17 +++ src/log_pam.c
18 @@ -49,7 +49,7 @@
19 # endif
20
21 #ifndef FTPD_PAM_SERVICE_NAME
22 -# define FTPD_PAM_SERVICE_NAME "pure-ftpd"
23 +# define FTPD_PAM_SERVICE_NAME "ftp"
24 #endif
25
26 /* Static variables used to communicate between the conversation function
27 @@ -164,7 +164,7 @@
28 &PAM_conversation, &pamh);
29 PAM_BAIL;
30 # ifdef PAM_TTY
31 - (void) pam_set_item(pamh, PAM_TTY, "pure-ftpd");
32 + (void) pam_set_item(pamh, PAM_TTY, FTPD_PAM_SERVICE_NAME);
33 # endif
34 # ifdef PAM_RUSER
35 (void) pam_set_item(pamh, PAM_RUSER, user);