vsftpd: remove double patch
This commit is contained in:
parent
3e76d493d2
commit
5a094e18cb
3 changed files with 4 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
||||||
--- tunables.c.orig
|
--- tunables.c.orig 2015-12-03 23:13:22.888994282 +0100
|
||||||
+++ tunables.c
|
+++ tunables.c 2015-12-03 23:13:33.716994236 +0100
|
||||||
@@ -254,7 +254,7 @@ tunables_load_defaults()
|
@@ -254,7 +254,7 @@ tunables_load_defaults()
|
||||||
/* -rw------- */
|
/* -rw------- */
|
||||||
tunable_chown_upload_mode = 0600;
|
tunable_chown_upload_mode = 0600;
|
||||||
|
|
||||||
- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
|
- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
|
||||||
+ install_str_setting("/var/run/vsftpd", &tunable_secure_chroot_dir);
|
+ install_str_setting("/var/empty", &tunable_secure_chroot_dir);
|
||||||
install_str_setting("ftp", &tunable_ftp_username);
|
install_str_setting("ftp", &tunable_ftp_username);
|
||||||
install_str_setting("root", &tunable_chown_username);
|
install_str_setting("root", &tunable_chown_username);
|
||||||
install_str_setting("/var/log/xferlog", &tunable_xferlog_file);
|
install_str_setting("/var/log/xferlog", &tunable_xferlog_file);
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- tunables.c.orig 2015-12-03 23:13:22.888994282 +0100
|
|
||||||
+++ tunables.c 2015-12-03 23:13:33.716994236 +0100
|
|
||||||
@@ -254,7 +254,7 @@ tunables_load_defaults()
|
|
||||||
/* -rw------- */
|
|
||||||
tunable_chown_upload_mode = 0600;
|
|
||||||
|
|
||||||
- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
|
|
||||||
+ install_str_setting("/var/empty", &tunable_secure_chroot_dir);
|
|
||||||
install_str_setting("ftp", &tunable_ftp_username);
|
|
||||||
install_str_setting("root", &tunable_chown_username);
|
|
||||||
install_str_setting("/var/log/xferlog", &tunable_xferlog_file);
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'vsftpd'
|
# Template file for 'vsftpd'
|
||||||
pkgname=vsftpd
|
pkgname=vsftpd
|
||||||
version=3.0.3
|
version=3.0.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="pam-devel libcap-devel libressl-devel"
|
makedepends="pam-devel libcap-devel libressl-devel"
|
||||||
short_desc="FTP deamon with focus on security"
|
short_desc="FTP deamon with focus on security"
|
||||||
|
|
Loading…
Reference in a new issue