From 74af2bd659e001faa55ce03e79c669c45ed48652 Mon Sep 17 00:00:00 2001 From: sborrill Date: Fri, 3 Mar 2017 09:29:48 +0000 Subject: Update to 2016.11.3. Lots of bug fixes (too many to list individually), but of note is a pull up of previous pkgsrc patch for NetBSD support. Full changelog here: https://docs.saltstack.com/en/latest/topics/releases/2016.11.3.html --- sysutils/salt/Makefile | 5 +-- sysutils/salt/distinfo | 11 +++--- sysutils/salt/patches/patch-salt_utils_network.py | 48 ----------------------- 3 files changed, 7 insertions(+), 57 deletions(-) delete mode 100644 sysutils/salt/patches/patch-salt_utils_network.py (limited to 'sysutils/salt') diff --git a/sysutils/salt/Makefile b/sysutils/salt/Makefile index 907600edc97..6a4d2d5e249 100644 --- a/sysutils/salt/Makefile +++ b/sysutils/salt/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.47 2017/02/09 15:01:20 sborrill Exp $ +# $NetBSD: Makefile,v 1.48 2017/03/03 09:29:48 sborrill Exp $ -DISTNAME= salt-2016.11.2 -PKGREVISION= 2 +DISTNAME= salt-2016.11.3 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt/} diff --git a/sysutils/salt/distinfo b/sysutils/salt/distinfo index b1ff6836964..e07a64b1a8a 100644 --- a/sysutils/salt/distinfo +++ b/sysutils/salt/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.24 2017/02/06 12:48:18 sborrill Exp $ +$NetBSD: distinfo,v 1.25 2017/03/03 09:29:48 sborrill Exp $ -SHA1 (salt-2016.11.2.tar.gz) = 00cc3ad1af9e40e4cfa2572c45058e3342944413 -RMD160 (salt-2016.11.2.tar.gz) = cd6b75fb78e9bf52116c05866682a49cb96f67d2 -SHA512 (salt-2016.11.2.tar.gz) = 0dbc861424643af664edd2d9cb8bcbde7e9bcf7c1d202a5e844af83c21dc2d75fd7034db27dffc58dc2a6e47cfe2ea2c42e2a9af867c7ca78f93166eb4fd03ad -Size (salt-2016.11.2.tar.gz) = 9114042 bytes -SHA1 (patch-salt_utils_network.py) = 54a1b8fb53b6b65aa6c07b39506e2c1dcd57b54a +SHA1 (salt-2016.11.3.tar.gz) = c9735d68ad2574b9b8ba1bea720c06e22c4b0277 +RMD160 (salt-2016.11.3.tar.gz) = 9d58a8d549f724c6b920914b711c414c4b7f3d03 +SHA512 (salt-2016.11.3.tar.gz) = 24bc75c50b4d6bd38a6f2dedc0a8c12142cc1b9d551455e49ea0ede405c78eb6a939f741dd8c0cbb8f206937ee69582bebe2fc127a24a4c2cf06cf3c3c16e507 +Size (salt-2016.11.3.tar.gz) = 9163351 bytes diff --git a/sysutils/salt/patches/patch-salt_utils_network.py b/sysutils/salt/patches/patch-salt_utils_network.py deleted file mode 100644 index 6a600bb4299..00000000000 --- a/sysutils/salt/patches/patch-salt_utils_network.py +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-salt_utils_network.py,v 1.5 2017/02/06 12:48:18 sborrill Exp $ - -Fix sockstat parsing on NetBSD. -https://github.com/saltstack/salt/pull/39189 - ---- salt/utils/network.py.orig 2017-01-30 18:13:20.000000000 +0000 -+++ salt/utils/network.py 2017-02-06 11:38:34.000000000 +0000 -@@ -1057,23 +1057,23 @@ - Parses output of shell 'sockstat' (NetBSD) - to get connections - -- $ sudo sockstat -4 -+ $ sudo sockstat -4 -n - USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS -- root python2.7 1456 29 tcp4 *.4505 *.* -- root python2.7 1445 17 tcp4 *.4506 *.* -- root python2.7 1294 14 tcp4 127.0.0.1.11813 127.0.0.1.4505 -- root python2.7 1294 41 tcp4 127.0.0.1.61115 127.0.0.1.4506 -+ root python2.7 1456 29 tcp *.4505 *.* -+ root python2.7 1445 17 tcp *.4506 *.* -+ root python2.7 1294 14 tcp 127.0.0.1.11813 127.0.0.1.4505 -+ root python2.7 1294 41 tcp 127.0.0.1.61115 127.0.0.1.4506 - -- $ sudo sockstat -4 -c -p 4506 -+ $ sudo sockstat -4 -c -n -p 4506 - USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS -- root python2.7 1294 41 tcp4 127.0.0.1.61115 127.0.0.1.4506 -+ root python2.7 1294 41 tcp 127.0.0.1.61115 127.0.0.1.4506 - ''' - - port = int(port) - remotes = set() - - try: -- cmd = salt.utils.shlex_split('sockstat -4 -c -p {0}'.format(port)) -+ cmd = salt.utils.shlex_split('sockstat -4 -c -n -p {0}'.format(port)) - data = subprocess.check_output(cmd) # pylint: disable=minimum-python-version - except subprocess.CalledProcessError as ex: - log.error('Failed "sockstat" with returncode = {0}'.format(ex.returncode)) -@@ -1085,7 +1085,7 @@ - chunks = line.split() - if not chunks: - continue -- # ['root', 'python2.7', '1456', '37', 'tcp4', -+ # ['root', 'python2.7', '1456', '37', 'tcp', - # '127.0.0.1.4505-', '127.0.0.1.55703'] - # print chunks - if 'COMMAND' in chunks[1]: -- cgit v1.2.3