Adding files vsftpd-2.0.5-confspell.patch & vsftpd-2.0.5-file_stat.patch
This commit is contained in:
parent
fb7bd08533
commit
0fb8b6cecd
17
vsftpd-2.0.5-confspell.patch
Normal file
17
vsftpd-2.0.5-confspell.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- vsftpd-2.0.5/vsftpd.conf.5.old 2006-12-04 17:10:51.000000000 +0100
|
||||
+++ vsftpd-2.0.5/vsftpd.conf.5 2006-12-04 17:11:57.000000000 +0100
|
||||
@@ -588,12 +588,12 @@
|
||||
|
||||
Default: 300
|
||||
.TP
|
||||
-.B delay_failed_logins
|
||||
+.B delay_failed_login
|
||||
The number of seconds to pause prior to reporting a failed login.
|
||||
|
||||
Default: 1
|
||||
.TP
|
||||
-.B delay_successful_logins
|
||||
+.B delay_successful_login
|
||||
The number of seconds to pause prior to allowing a successful login.
|
||||
|
||||
Default: 0
|
11
vsftpd-2.0.5-file_stat.patch
Normal file
11
vsftpd-2.0.5-file_stat.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- vsftpd-2.0.5/parseconf.c.old 2006-12-05 12:19:48.000000000 +0100
|
||||
+++ vsftpd-2.0.5/parseconf.c 2006-12-05 12:19:54.000000000 +0100
|
||||
@@ -208,7 +208,7 @@
|
||||
copy_string_settings();
|
||||
}
|
||||
retval = str_fileread(&config_file_str, p_filename, VSFTP_CONF_FILE_MAX);
|
||||
- (int)str_stat(&config_file_str, &p_statbuf);
|
||||
+ (int)vsf_sysutil_stat(p_filename, &p_statbuf);
|
||||
/* Security - die unless the conf file is owned by root */
|
||||
if (vsf_sysutil_retval_is_error(retval) || vsf_sysutil_statbuf_get_uid(p_statbuf) != VSFTP_ROOT_UID)
|
||||
{
|
@ -41,7 +41,7 @@ Patch25: vsftpd-2.0.5-confspell.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
%if %{tcp_wrappers}
|
||||
BuildPrereq: tcp_wrappers-devel
|
||||
BuildPrereq: tcp_wrappers
|
||||
%endif
|
||||
BuildRequires: pam-devel
|
||||
Requires: pam
|
||||
|
Loading…
Reference in New Issue
Block a user