summaryrefslogtreecommitdiff
path: root/net/vsftpd
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2014-07-21 19:46:34 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2014-07-21 19:46:34 +0300
commitadd53caa84b5d994585b36fb2c2131ca9f75ed48 (patch)
treee5d6fdb0b1989f4c56b1c774bd3e6e784370e749 /net/vsftpd
parentaff2e9e76448a59782585605c9fbfbdba8fd5203 (diff)
vsftpd: Add TLS/SSL example options. Bump PKG_RELEASE and copyright year.
I did not define myself as the maintainer, as the package already had one. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'net/vsftpd')
-rw-r--r--net/vsftpd/Makefile4
-rw-r--r--net/vsftpd/files/vsftpd.conf13
2 files changed, 15 insertions, 2 deletions
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile
index e1633e953..e1a4de017 100644
--- a/net/vsftpd/Makefile
+++ b/net/vsftpd/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2013 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vsftpd
PKG_VERSION:=3.0.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://security.appspot.com/downloads/
diff --git a/net/vsftpd/files/vsftpd.conf b/net/vsftpd/files/vsftpd.conf
index f3ba34f50..7d46506e9 100644
--- a/net/vsftpd/files/vsftpd.conf
+++ b/net/vsftpd/files/vsftpd.conf
@@ -15,3 +15,16 @@ session_support=NO
#xferlog_enable=YES
#xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES
+###
+### TLS/SSL options
+### example key generation: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/config/vsftpd_privkey.pem -out /etc/config/vsftpd_cert.pem -subj /C="DE"/ST="Saxony"/L="Leipzig"/CN="OpenWrt"
+#ssl_enable=YES
+#allow_anon_ssl=NO
+#force_local_data_ssl=NO
+#force_local_logins_ssl=NO
+#ssl_tlsv1=YES
+#ssl_sslv2=NO
+#ssl_sslv3=NO
+#rsa_cert_file=/etc/config/vsftpd_cert.pem
+#rsa_private_key_file=/etc/config/vsftpd_privkey.pem
+