vsftpd: update to 3.0.4
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Jun 2021 01:03:21 +0000 (18:03 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 2 Jun 2021 09:00:26 +0000 (02:00 -0700)
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/vsftpd/Makefile
net/vsftpd/patches/003-chroot.patch
net/vsftpd/patches/010-openssl-deprecated.patch

index 4e75f75b95cda4cc986b66a39b4a47a1cb3a5d8b..241808cb06c36bad0bf837202d3762c598c10efa 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=vsftpd
-PKG_VERSION:=3.0.3
-PKG_RELEASE:=3
+PKG_VERSION:=3.0.4
+PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://security.appspot.com/downloads/
-PKG_HASH:=9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7
+PKG_HASH:=6b9421bd27e8a6cdeed5b31154f294a20b003a11a26c09500715a0a6b1b86a26
 
 PKG_MAINTAINER:=Cezary Jackiewicz <cezary@eko.one.pl>
 PKG_LICENSE:=GPLv2
index 8965da4179c9aa3dbbf554660abfc8774b25e8af..355e219f750f639c5689b989647469fc4e99e419 100644 (file)
@@ -1,6 +1,6 @@
 --- a/tunables.c
 +++ b/tunables.c
-@@ -254,7 +254,7 @@ tunables_load_defaults()
+@@ -261,7 +261,7 @@ tunables_load_defaults()
    /* -rw------- */
    tunable_chown_upload_mode = 0600;
  
index 0db80b975d929e4093a209d4d68478f5c0b16784..e7c06a80303452f824fdac44115be1e43bb5d78d 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
  #include <errno.h>
  #include <limits.h>
  
-@@ -59,8 +62,12 @@ ssl_init(struct vsf_session* p_sess)
+@@ -66,8 +69,12 @@ ssl_init(struct vsf_session* p_sess)
      SSL_CTX* p_ctx;
      long options;
      int verify_option = 0;
@@ -33,7 +33,7 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
      if (p_ctx == NULL)
      {
        die("SSL: could not allocate SSL context");
-@@ -120,6 +127,7 @@ ssl_init(struct vsf_session* p_sess)
+@@ -139,6 +146,7 @@ ssl_init(struct vsf_session* p_sess)
      {
        die("SSL: RNG is not seeded");
      }
@@ -41,7 +41,7 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
      {
        EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
        if (key == NULL)
-@@ -129,6 +137,7 @@ ssl_init(struct vsf_session* p_sess)
+@@ -148,6 +156,7 @@ ssl_init(struct vsf_session* p_sess)
        SSL_CTX_set_tmp_ecdh(p_ctx, key);
        EC_KEY_free(key);
      }
@@ -49,7 +49,7 @@ Signed-off-by: Rosen Penev <rosenp@gmail.com>
      if (tunable_ssl_request_cert)
      {
        verify_option |= SSL_VERIFY_PEER;
-@@ -660,7 +669,9 @@ ssl_cert_digest(SSL* p_ssl, struct vsf_s
+@@ -685,7 +694,9 @@ ssl_cert_digest(SSL* p_ssl, struct vsf_s
  static char*
  get_ssl_error()
  {