diff options
-rw-r--r-- | sysutils/py-salt/Makefile | 4 | ||||
-rw-r--r-- | sysutils/py-salt/distinfo | 6 | ||||
-rw-r--r-- | sysutils/py-salt/files/patch-salt_cloud_deploy_bootstrap-salt.sh | 14 | ||||
-rw-r--r-- | sysutils/py-salt/files/patch-salt_modules_freebsd__sysctl.py | 21 |
4 files changed, 26 insertions, 19 deletions
diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile index 26888a5898b0..14296b3de6cc 100644 --- a/sysutils/py-salt/Makefile +++ b/sysutils/py-salt/Makefile @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= salt -PORTVERSION= 2018.3.0 -PORTREVISION= 1 +PORTVERSION= 2018.3.1 +PORTREVISION= 0 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/py-salt/distinfo b/sysutils/py-salt/distinfo index a822a67f69cc..6b52bc1f244e 100644 --- a/sysutils/py-salt/distinfo +++ b/sysutils/py-salt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1523675641 -SHA256 (salt-2018.3.0.tar.gz) = a0a45d22fdf6961542a419b7e09568a3118e2b019ffe7bab9dee5aeb55b56b31 -SIZE (salt-2018.3.0.tar.gz) = 13448567 +TIMESTAMP = 1528982610 +SHA256 (salt-2018.3.1.tar.gz) = 7b1d59067b8eb61a23884078e0b8afc02ed8800c5c00f09405ae9e03491ed3db +SIZE (salt-2018.3.1.tar.gz) = 12939682 diff --git a/sysutils/py-salt/files/patch-salt_cloud_deploy_bootstrap-salt.sh b/sysutils/py-salt/files/patch-salt_cloud_deploy_bootstrap-salt.sh deleted file mode 100644 index 439923d109a6..000000000000 --- a/sysutils/py-salt/files/patch-salt_cloud_deploy_bootstrap-salt.sh +++ /dev/null @@ -1,14 +0,0 @@ ---- salt/cloud/deploy/bootstrap-salt.sh.orig 2018-03-21 17:37:20 UTC -+++ salt/cloud/deploy/bootstrap-salt.sh -@@ -4885,9 +4885,9 @@ install_freebsd_9_stable_deps() { - __configure_freebsd_pkg_details || return 1 - fi - -- # Now install swig -+ # Now install swig30 - # shellcheck disable=SC2086 -- /usr/local/sbin/pkg install ${FROM_FREEBSD} -y swig || return 1 -+ /usr/local/sbin/pkg install ${FROM_FREEBSD} -y swig30 || return 1 - - # YAML module is used for generating custom master/minion configs - # shellcheck disable=SC2086 diff --git a/sysutils/py-salt/files/patch-salt_modules_freebsd__sysctl.py b/sysutils/py-salt/files/patch-salt_modules_freebsd__sysctl.py new file mode 100644 index 000000000000..ecf227971d1a --- /dev/null +++ b/sysutils/py-salt/files/patch-salt_modules_freebsd__sysctl.py @@ -0,0 +1,21 @@ +commit 101f170fe525d7f9f8d0c9b80a78af2ed1f6f069 +Author: Mathieu Arnold <mat@mat.cc> +Date: 2018-06-13 13:02:37 +0200 + + Fix patching sysctl.conf on FreeBSD. + + In b3c1be27fb the lines were stripped of their ending \n, but the \n was + never added back to the lines, so calling writelines generates a broken + one line file. + +--- salt/modules/freebsd_sysctl.py.orig 2018-04-02 16:35:12 UTC ++++ salt/modules/freebsd_sysctl.py +@@ -165,7 +165,7 @@ def persist(name, value, config='/etc/sy + if not edited: + nlines.append("{0}\n".format(_formatfor(name, value, config))) + with salt.utils.files.fopen(config, 'w+') as ofile: +- nlines = [salt.utils.stringutils.to_str(_l) for _l in nlines] ++ nlines = [salt.utils.stringutils.to_str(_l) + '\n' for _l in nlines] + ofile.writelines(nlines) + if config != '/boot/loader.conf': + assign(name, value) |