sysutils/py-salt: Update to 2019.2.0

Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2019.2.0.html

PR:		236054
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
This commit is contained in:
Ben Woods 2019-02-27 15:05:33 +00:00
parent 710df75c4d
commit 84be5ab890
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494060
3 changed files with 4 additions and 26 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= salt PORTNAME= salt
PORTVERSION= 2018.3.3 PORTVERSION= 2019.2.0
PORTREVISION= 1
CATEGORIES= sysutils python CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1540613424 TIMESTAMP = 1551187154
SHA256 (salt-2018.3.3.tar.gz) = dcf30d2e8eae105a72977c51cfc253fbc4dc28b2f71277fdce9d35de1eb63e15 SHA256 (salt-2019.2.0.tar.gz) = 5695bb2b3fa288bcfc0e3b93d9449afd75220bd8f0deefb5e7fc03af381df6cd
SIZE (salt-2018.3.3.tar.gz) = 13953724 SIZE (salt-2019.2.0.tar.gz) = 14952746

View File

@ -1,21 +0,0 @@
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)