1config BR2_PACKAGE_PROFTPD
2	bool "proftpd"
3	depends on BR2_USE_MMU # fork()
4	depends on !BR2_STATIC_LIBS
5	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
6	help
7	  ProFTPD, a highly configurable FTP server.
8
9	  http://www.proftpd.org/
10
11if BR2_PACKAGE_PROFTPD
12
13config BR2_PACKAGE_PROFTPD_MOD_CAP
14	bool "mod_cap support"
15	select BR2_PACKAGE_LIBCAP
16	help
17	  Compile ProFTPD with mod_cap support
18
19config BR2_PACKAGE_PROFTPD_MOD_REWRITE
20	bool "mod_rewrite support"
21	help
22	  Compile ProFTPD with mod_rewrite support
23
24config BR2_PACKAGE_PROFTPD_MOD_REDIS
25	bool "mod_redis support"
26	select BR2_PACKAGE_HIREDIS
27	help
28	  The mod_redis module enables ProFTPD support for caching
29	  data in Redis servers, using the hiredis client library.
30
31config BR2_PACKAGE_PROFTPD_MOD_SFTP
32	bool "mod_sftp support"
33	select BR2_PACKAGE_OPENSSL
34	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
35	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160
36	help
37	  Compile ProFTPD with mod_sftp support
38
39config BR2_PACKAGE_PROFTPD_MOD_SQL
40	bool "mod_sql support"
41	help
42	  Compile ProFTPD with mod_sql support.
43
44if BR2_PACKAGE_PROFTPD_MOD_SQL
45
46config BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE
47	bool "mod_sql_sqlite support"
48	select BR2_PACKAGE_SQLITE
49	help
50	  Compile ProFTPD with mod_sql_sqlite support.
51
52endif
53
54config BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL
55	bool "mod_sftp_sql support"
56	select BR2_PACKAGE_PROFTPD_MOD_SQL
57	select BR2_PACKAGE_PROFTPD_MOD_SFTP
58	help
59	  Compile ProFTPD with mod_sftp_sql support
60
61config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB
62	bool "mod_quotatab support"
63	help
64	  Compile ProFTPD with mod_quotatab support. This module
65	  is required in order to support quota tables:
66	        1. mod_quotatab_file
67	        2. mod_quotatab_ldap
68	        3. mod_quotatab_radius
69	        4. mod_quotatab_sql
70
71if BR2_PACKAGE_PROFTPD_MOD_QUOTATAB
72
73config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_FILE
74	bool "mod_quotatab_file table support"
75	help
76	  Compile mod_quotatab with mod_quotatab_file table.
77
78config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_LDAP
79	bool "mod_quotatab_ldap table support"
80	help
81	  Compile mod_quotatab with mod_quotatab_ldap table.
82
83config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_RADIUS
84	bool "mod_quotatab_radius table support"
85	help
86	  Compile mod_quotatab with mod_quotatab_radius table.
87
88config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL
89	bool "mod_quotatab_sql table support"
90	select BR2_PACKAGE_PROFTPD_MOD_SQL
91	help
92	  Compile mod_quotatab with mod_quotatab_sql table.
93
94endif
95
96config BR2_PACKAGE_PROFTPD_BUFFER_SIZE
97	int "buffer size in bytes (0 for default)"
98	default "0"
99	help
100	  By increasing the buffer size above the default of 1K,
101	  proftpd reads and writes data in larger chunks, and makes
102	  fewer expensive system calls. Use of this option to set buffer
103	  sizes of 8K or more has been reported to drastically increase
104	  transfer speeds (depending on network configurations).
105
106	  0 uses the default size of 1024.
107
108endif
109
110comment "proftpd needs a toolchain w/ dynamic library"
111	depends on BR2_USE_MMU
112	depends on BR2_STATIC_LIBS
113