30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
$NetBSD: patch-ac,v 1.6 2020/02/09 20:56:47 rillig Exp $
|
|
|
|
Use PKG_SYSCONFDIR instead of hardcoding /etc
|
|
|
|
--- vsftpd.conf.orig 2011-12-17 18:24:40.000000000 +0000
|
|
+++ vsftpd.conf
|
|
@@ -1,4 +1,4 @@
|
|
-# Example config file /etc/vsftpd.conf
|
|
+# Example config file @PKG_SYSCONFDIR@/vsftpd.conf
|
|
#
|
|
# The default compiled in settings are fairly paranoid. This sample file
|
|
# loosens things up a bit, to make the ftp daemon more usable.
|
|
@@ -87,7 +87,7 @@ connect_from_port_20=YES
|
|
# useful for combatting certain DoS attacks.
|
|
#deny_email_enable=YES
|
|
# (default follows)
|
|
-#banned_email_file=/etc/vsftpd.banned_emails
|
|
+#banned_email_file=@PKG_SYSCONFDIR@/vsftpd.banned_emails
|
|
#
|
|
# You may specify an explicit list of local users to chroot() to their home
|
|
# directory. If chroot_local_user is YES, then this list becomes a list of
|
|
@@ -98,7 +98,7 @@ connect_from_port_20=YES
|
|
#chroot_local_user=YES
|
|
#chroot_list_enable=YES
|
|
# (default follows)
|
|
-#chroot_list_file=/etc/vsftpd.chroot_list
|
|
+#chroot_list_file=@PKG_SYSCONFDIR@/vsftpd.chroot_list
|
|
#
|
|
# You may activate the "-R" option to the builtin ls. This is disabled by
|
|
# default to avoid remote users being able to cause excessive I/O on large
|