aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-24 22:02:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-24 22:02:32 +0800
commitd334869f47746100d6d86bb4e6d3e54fb1d1b6c3 (patch)
tree160820aa2022498a8dd54fd1e5e52ccfadfe5cb9 /sysutils
parentcc26eed568acb57300ed5887606b1bb6e45dd086 (diff)
downloadfreebsd-ports-gnome-d334869f47746100d6d86bb4e6d3e54fb1d1b6c3.tar.gz
freebsd-ports-gnome-d334869f47746100d6d86bb4e6d3e54fb1d1b6c3.tar.zst
freebsd-ports-gnome-d334869f47746100d6d86bb4e6d3e54fb1d1b6c3.zip
- Update to 2015.8.10
PR: 209721 Submitted by: christer.edwards@gmail.com (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-salt/Makefile3
-rw-r--r--sysutils/py-salt/distinfo5
-rw-r--r--sysutils/py-salt/files/patch-salt__config.py116
-rw-r--r--sysutils/py-salt/files/patch-salt__grains__core.py11
-rw-r--r--sysutils/py-salt/files/patch-salt__modules__win_dacl.py34
5 files changed, 4 insertions, 165 deletions
diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile
index f45155183014..da8edfce956f 100644
--- a/sysutils/py-salt/Makefile
+++ b/sysutils/py-salt/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= salt
-PORTVERSION= 2015.8.8
-PORTREVISION= 1
+PORTVERSION= 2015.8.10
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/sysutils/py-salt/distinfo b/sysutils/py-salt/distinfo
index e1159452be6c..f4736f4e7ea1 100644
--- a/sysutils/py-salt/distinfo
+++ b/sysutils/py-salt/distinfo
@@ -1,2 +1,3 @@
-SHA256 (salt-2015.8.8.tar.gz) = b2ecce7bf562cfcd6586d66ade278f268bb89023f0fa0accaa55f90b8a668ef5
-SIZE (salt-2015.8.8.tar.gz) = 6982904
+TIMESTAMP = 1463765748
+SHA256 (salt-2015.8.10.tar.gz) = 4a81273ab4b01e0f1d29b28ab99a16eb94e5c430107b05491c94f3baf8b95c99
+SIZE (salt-2015.8.10.tar.gz) = 6972776
diff --git a/sysutils/py-salt/files/patch-salt__config.py b/sysutils/py-salt/files/patch-salt__config.py
deleted file mode 100644
index 9efdeb5d1f0d..000000000000
--- a/sysutils/py-salt/files/patch-salt__config.py
+++ /dev/null
@@ -1,116 +0,0 @@
-diff --git a/salt/config.py b/salt/config.py
-index 071e06b..1f83c33 100644
---- salt/config.py.orig
-+++ salt/config.py
-@@ -63,7 +63,7 @@
-
- VALID_OPTS = {
- # The address of the salt master. May be specified as IP address or hostname
-- 'master': str,
-+ 'master': (str, list),
-
- # The TCP/UDP port of the master to connect to in order to listen to publications
- 'master_port': int,
-@@ -541,7 +541,7 @@
- 'file_recv': bool,
- 'file_recv_max_size': int,
- 'file_ignore_regex': list,
-- 'file_ignore_glob': bool,
-+ 'file_ignore_glob': list,
- 'fileserver_backend': list,
- 'fileserver_followsymlinks': bool,
- 'fileserver_ignoresymlinks': bool,
-@@ -833,7 +833,7 @@
- 'file_recv': False,
- 'file_recv_max_size': 100,
- 'file_ignore_regex': [],
-- 'file_ignore_glob': None,
-+ 'file_ignore_glob': [],
- 'fileserver_backend': ['roots'],
- 'fileserver_followsymlinks': True,
- 'fileserver_ignoresymlinks': False,
-@@ -1348,26 +1348,30 @@ def _validate_opts(opts):
- Check that all of the types of values passed into the config are
- of the right types
- '''
-+ def format_multi_opt(valid_type):
-+ try:
-+ num_types = len(valid_type)
-+ except TypeError:
-+ # Bare type name won't have a length, return the name of the type
-+ # passed.
-+ return valid_type.__name__
-+ else:
-+ if num_types == 1:
-+ return valid_type.__name__
-+ elif num_types > 1:
-+ ret = ', '.join(x.__name__ for x in valid_type[:-1])
-+ ret += ' or ' + valid_type[-1].__name__
-+
- errors = []
-- err = ('Key {0} with value {1} has an invalid type of {2}, a {3} is '
-+
-+ err = ('Key \'{0}\' with value {1} has an invalid type of {2}, a {3} is '
- 'required for this value')
- for key, val in six.iteritems(opts):
- if key in VALID_OPTS:
-- if isinstance(VALID_OPTS[key](), list):
-- if isinstance(val, VALID_OPTS[key]):
-- continue
-- else:
-- errors.append(
-- err.format(key, val, type(val).__name__, 'list')
-- )
-- if isinstance(VALID_OPTS[key](), dict):
-- if isinstance(val, VALID_OPTS[key]):
-- continue
-- else:
-- errors.append(
-- err.format(key, val, type(val).__name__, 'dict')
-- )
-- else:
-+ if isinstance(val, VALID_OPTS[key]):
-+ continue
-+
-+ if hasattr(VALID_OPTS[key], '__call__'):
- try:
- VALID_OPTS[key](val)
- if isinstance(val, (list, dict)):
-@@ -1384,14 +1388,21 @@ def _validate_opts(opts):
- VALID_OPTS[key].__name__
- )
- )
-- except ValueError:
-+ except (TypeError, ValueError):
- errors.append(
-- err.format(key, val, type(val).__name__, VALID_OPTS[key])
-- )
-- except TypeError:
-- errors.append(
-- err.format(key, val, type(val).__name__, VALID_OPTS[key])
-+ err.format(key,
-+ val,
-+ type(val).__name__,
-+ VALID_OPTS[key].__name__)
- )
-+ continue
-+
-+ errors.append(
-+ err.format(key,
-+ val,
-+ type(val).__name__,
-+ format_multi_opt(VALID_OPTS[key].__name__))
-+ )
-
- # RAET on Windows uses 'win32file.CreateMailslot()' for IPC. Due to this,
- # sock_dirs must start with '\\.\mailslot\' and not contain any colons.
-@@ -1404,7 +1415,7 @@ def _validate_opts(opts):
- '\\\\.\\mailslot\\' + opts['sock_dir'].replace(':', ''))
-
- for error in errors:
-- log.warning(error)
-+ log.debug(error)
- if errors:
- return False
- return True
-
diff --git a/sysutils/py-salt/files/patch-salt__grains__core.py b/sysutils/py-salt/files/patch-salt__grains__core.py
deleted file mode 100644
index d9df10f5b8e7..000000000000
--- a/sysutils/py-salt/files/patch-salt__grains__core.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- salt/grains/core.py.orig 2015-04-17 18:44:50 UTC
-+++ salt/grains/core.py
-@@ -1387,7 +1387,7 @@ def path():
- '''
- # Provides:
- # path
-- return {'path': os.environ.get('PATH', '').strip()}
-+ return {'path': os.environ.get('PATH', '').strip() + ':/usr/local/bin:/usr/local/sbin'}
-
-
- def pythonversion():
diff --git a/sysutils/py-salt/files/patch-salt__modules__win_dacl.py b/sysutils/py-salt/files/patch-salt__modules__win_dacl.py
deleted file mode 100644
index 78ccbdbfea97..000000000000
--- a/sysutils/py-salt/files/patch-salt__modules__win_dacl.py
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/salt/modules/win_dacl.py b/salt/modules/win_dacl.py
-index d57bb7b..d9ee27a 100644
---- salt/modules/win_dacl.py
-+++ salt/modules/win_dacl.py
-@@ -44,9 +44,10 @@ class daclConstants(object):
- # in ntsecuritycon has the extra bits 0x200 enabled.
- # Note that you when you set this permission what you'll generally get back is it
- # ORed with 0x200 (SI_NO_ACL_PROTECT), which is what ntsecuritycon incorrectly defines.
-- FILE_ALL_ACCESS = (ntsecuritycon.STANDARD_RIGHTS_REQUIRED | ntsecuritycon.SYNCHRONIZE | 0x1ff)
-
- def __init__(self):
-+ self.FILE_ALL_ACCESS = (ntsecuritycon.STANDARD_RIGHTS_REQUIRED | ntsecuritycon.SYNCHRONIZE | 0x1ff)
-+
- self.hkeys_security = {
- 'HKEY_LOCAL_MACHINE': 'MACHINE',
- 'HKEY_USERS': 'USERS',
-@@ -88,7 +89,7 @@ def __init__(self):
- ntsecuritycon.DELETE,
- 'TEXT': 'modify'},
- 'FULLCONTROL': {
-- 'BITS': daclConstants.FILE_ALL_ACCESS,
-+ 'BITS': self.FILE_ALL_ACCESS,
- 'TEXT': 'full control'}
- }
- }
-@@ -368,7 +369,7 @@ def add_ace(path, objectType, user, permission, acetype, propagation):
- path: path to the object (i.e. c:\\temp\\file, HKEY_LOCAL_MACHINE\\SOFTWARE\\KEY, etc)
- user: user to add
- permission: permissions for the user
-- acetypes: either allow/deny for each user/permission (ALLOW, DENY)
-+ acetype: either allow/deny for each user/permission (ALLOW, DENY)
- propagation: how the ACE applies to children for Registry Keys and Directories(KEY, KEY&SUBKEYS, SUBKEYS)
-
- CLI Example: