pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/vsftpd vsftpd: update to 3.0.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/077d2ba4f254
branches:  trunk
changeset: 391609:077d2ba4f254
user:      otis <otis%pkgsrc.org@localhost>
date:      Tue Jan 10 20:36:33 2023 +0000

description:
vsftpd: update to 3.0.5

Changelog:

Since 3.0.3:
- Fix build on Fedora 33 (one warning, one incorrect libcap used).
- Fix SSL build (terrible grep for symbol in vsf_findlibs.sh)!
- Fix runtime SIGSYS crashes on Fedora 33 (seccomp sandbox policy tweaks).
- Reject HTTP verbs pre-login.
- Disable TLS prior to v1.2 by default.
- Close the control connection after 10 unknown commands pre-login.
- Reject any TLS ALPN advertisement that's not 'ftp'.
- Add ssl_sni_hostname option to require a match on incoming SNI hostname.

Since 3.0.4:
- Fix ALPN callback to correctly select the 'ftp' string if present. Works
with FileZilla-3.55.0.
- Fix a couple of seccomp policy issues with Fedora 34.

And while here, also add a SunOS SMF manifest.

diffstat:

 net/vsftpd/Makefile               |   5 ++---
 net/vsftpd/distinfo               |   8 ++++----
 net/vsftpd/files/smf/manifest.xml |  34 ++++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+), 7 deletions(-)

diffs (67 lines):

diff -r cbc18a9c6862 -r 077d2ba4f254 net/vsftpd/Makefile
--- a/net/vsftpd/Makefile       Tue Jan 10 20:03:59 2023 +0000
+++ b/net/vsftpd/Makefile       Tue Jan 10 20:36:33 2023 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2020/02/09 20:58:37 rillig Exp $
+# $NetBSD: Makefile,v 1.52 2023/01/10 20:36:33 otis Exp $
 
-DISTNAME=      vsftpd-3.0.3
-PKGREVISION=   3
+DISTNAME=      vsftpd-3.0.5
 CATEGORIES=    net
 MASTER_SITES=  https://security.appspot.com/downloads/
 
diff -r cbc18a9c6862 -r 077d2ba4f254 net/vsftpd/distinfo
--- a/net/vsftpd/distinfo       Tue Jan 10 20:03:59 2023 +0000
+++ b/net/vsftpd/distinfo       Tue Jan 10 20:36:33 2023 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 11:07:09 nia Exp $
+$NetBSD: distinfo,v 1.21 2023/01/10 20:36:33 otis Exp $
 
-BLAKE2s (vsftpd-3.0.3.tar.gz) = 1d7b862a7ab588b7828df53e3ac39269f05b83ebf170da49d88c30a3abed9f5b
-SHA512 (vsftpd-3.0.3.tar.gz) = 5a4410a88e72ecf6f60a60a89771bcec300c9f63c2ea83b219bdf65fd9749b9853f9579f7257205b55659aefcd5dab243eba878dbbd4f0ff8532dd6e60884df7
-Size (vsftpd-3.0.3.tar.gz) = 196649 bytes
+BLAKE2s (vsftpd-3.0.5.tar.gz) = 1419b1d21f1cbe8d7c7409bcc0783cb612746f2945ef1b75614336003e7be955
+SHA512 (vsftpd-3.0.5.tar.gz) = 9e9f9bde8c460fbc6b1d29ca531327fb2e40e336358f1cc19e1da205ef81b553719a148ad4613ceead25499d1ac3f03301a0ecd3776e5c228acccb7f9461a7ee
+Size (vsftpd-3.0.5.tar.gz) = 197778 bytes
 SHA1 (patch-aa) = 57fdc476df4b7ada021c7fd6e8bad6db2b2e0c48
 SHA1 (patch-ab) = df9252f99d06a4742713c36ce6bff8908da171f7
 SHA1 (patch-ac) = dacaeae7daac73ceb014653bd8c0553aceb62516
diff -r cbc18a9c6862 -r 077d2ba4f254 net/vsftpd/files/smf/manifest.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/vsftpd/files/smf/manifest.xml Tue Jan 10 20:36:33 2023 +0000
@@ -0,0 +1,34 @@
+<?xml version='1.0'?>
+<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
+<service_bundle type='manifest' name='export'>
+  <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'>
+    <dependency name='network' grouping='require_all' restart_on='refresh' type='service'>
+      <service_fmri value='svc:/milestone/network:default'/>
+    </dependency>
+    <dependency name='filesystem' grouping='require_all' restart_on='refresh' type='service'>
+      <service_fmri value='svc:/system/filesystem/local'/>
+    </dependency>
+    <instance name='default' enabled='false'>
+       <dependency name='config' grouping='require_all' restart_on='none' type='path'>
+        <service_fmri value='file://localhost/@PKG_SYSCONFDIR@/vsftpd.conf' />
+       </dependency>
+       <exec_method type='method' name='start' exec='@PREFIX@/libexec/vsftpd %{vsftpd_params}' timeout_seconds='60'/>
+       <exec_method type='method' name='stop'  exec=':kill' timeout_seconds='60'/>
+       <property_group name='startd' type='framework'>
+        <propval name='duration' type='astring' value='child'/>
+        <propval name='ignore_error' type='astring' value='core,signal'/>
+       </property_group>
+       <property_group name='application' type='application'>
+        <propval name='vsftpd_params' type='astring' value='@PKG_SYSCONFDIR@/vsftpd.conf' />
+       </property_group>
+       <template>
+        <common_name>
+          <loctext xml:lang='C'>Very Secure FTP Daemon</loctext>
+        </common_name>
+        <documentation>
+          <manpage title='vsftpd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+        </documentation>
+       </template>
+    </instance>
+  </service>
+</service_bundle>



Home | Main Index | Thread Index | Old Index