Add files from parent branch HEAD:
[pkgsrcv2.git] / net / vsftpd / patches / patch-af
1 $NetBSD: patch-af,v 1.4 2006/01/13 18:12:46 wiz Exp $
2 --- vsftpd.conf.5.orig  2008-07-30 02:56:30.000000000 +0100
3 +++ vsftpd.conf.5
4 @@ -4,7 +4,7 @@ vsftpd.conf \- config file for vsftpd
5  .SH DESCRIPTION
6  vsftpd.conf may be used to control various aspects of vsftpd's behaviour. By
7  default, vsftpd looks for this file at the location
8 -.BR /etc/vsftpd.conf .
9 +.BR @PKG_SYSCONFDIR@/vsftpd.conf .
10  However, you may override this by specifying a command line argument to
11  vsftpd. The command line argument is the pathname of the configuration file
12  for vsftpd. This behaviour is useful because you may wish to use an advanced
13 @@ -138,7 +138,7 @@ chroot() jail in their home directory up
14  different if chroot_local_user is set to YES. In this case, the list becomes
15  a list of users which are NOT to be placed in a chroot() jail.
16  By default, the file containing this list is
17 -/etc/vsftpd.chroot_list, but you may override this with the
18 +@PKG_SYSCONFDIR@/vsftpd.chroot_list, but you may override this with the
19  .BR chroot_list_file
20  setting.
21  
22 @@ -177,7 +177,7 @@ Default: NO
23  .B deny_email_enable
24  If activated, you may provide a list of anonymous password e-mail responses
25  which cause login to be denied. By default, the file containing this list is
26 -/etc/vsftpd.banned_emails, but you may override this with the
27 +@PKG_SYSCONFDIR@/vsftpd.banned_emails, but you may override this with the
28  .BR banned_email_file
29  setting.
30  
31 @@ -416,7 +416,7 @@ anonymous logins are prevented unless th
32  file specified by the
33  .BR email_password_file
34  setting. The file format is one password per line, no extra whitespace. The
35 -default filename is /etc/vsftpd.email_passwords.
36 +default filename is @PKG_SYSCONFDIR@/vsftpd.email_passwords.
37  
38  Default: NO
39  .TP
40 @@ -747,7 +747,7 @@ passwords which are not permitted. This 
41  .BR deny_email_enable
42  is enabled.
43  
44 -Default: /etc/vsftpd.banned_emails
45 +Default: @PKG_SYSCONFDIR@/vsftpd.banned_emails
46  .TP
47  .B banner_file
48  This option is the name of a file containing text to display when someone
49 @@ -784,7 +784,7 @@ is enabled. If the option
50  is enabled, then the list file becomes a list of users to NOT place in a
51  chroot() jail.
52  
53 -Default: /etc/vsftpd.chroot_list
54 +Default: @PKG_SYSCONFDIR@/vsftpd.chroot_list
55  .TP
56  .B cmds_allowed
57  This options specifies a comma separated list of allowed FTP commands (post
58 @@ -836,7 +836,7 @@ This option can be used to provide an al
59  .BR secure_email_list_enable
60  setting.
61  
62 -Default: /etc/vsftpd.email_passwords
63 +Default: @PKG_SYSCONFDIR@/vsftpd.email_passwords
64  .TP
65  .B ftp_username
66  This is the name of the user we use for handling anonymous FTP. The home
67 @@ -941,7 +941,7 @@ This option should be the name of a dire
68  directory should not be writable by the ftp user. This directory is used
69  as a secure chroot() jail at times vsftpd does not require filesystem access.
70  
71 -Default: /usr/share/empty
72 +Default: /var/chroot/vsftpd
73  .TP
74  .B ssl_ciphers
75  This option can be used to select which SSL ciphers vsftpd will allow for
76 @@ -959,10 +959,10 @@ the manual page, on a per-user basis. Us
77  with an example. If you set
78  .BR user_config_dir
79  to be
80 -.BR /etc/vsftpd_user_conf
81 +.BR @PKG_SYSCONFDIR@/vsftpd_user_conf
82  and then log on as the user "chris", then vsftpd will apply the settings in
83  the file
84 -.BR /etc/vsftpd_user_conf/chris
85 +.BR @PKG_SYSCONFDIR@/vsftpd_user_conf/chris
86  for the duration of the session. The format of this file is as detailed in
87  this manual page! PLEASE NOTE that not all settings are effective on a
88  per-user basis. For example, many settings only prior to the user's session
89 @@ -998,7 +998,7 @@ This option is the name of the file load
90  .BR userlist_enable
91  option is active.
92  
93 -Default: /etc/vsftpd.user_list
94 +Default: @PKG_SYSCONFDIR@/vsftpd.user_list
95  .TP
96  .B vsftpd_log_file
97  This option is the name of the file to which we write the vsftpd style