Index: Makefile =================================================================== --- Makefile (revision 416089) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= salt PORTVERSION= 2016.3.0 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Index: files/patch-salt_grains_core.py =================================================================== --- files/patch-salt_grains_core.py (revision 0) +++ files/patch-salt_grains_core.py (working copy) @@ -0,0 +1,12 @@ +# Issue #33608 +# https://github.com/saltstack/salt/issues/33608 +--- salt/grains/core.py.orig 2016-05-25 22:30:31 UTC ++++ salt/grains/core.py +@@ -1422,6 +1422,7 @@ def os_data(): + else: + grains['os'] = grains['kernel'] + if grains['kernel'] == 'FreeBSD': ++ grains.update(_bsd_cpudata(grains)) + try: + grains['osrelease'] = __salt__['cmd.run']('freebsd-version -u').split('-')[0] + except salt.exceptions.CommandExecutionError: Property changes on: files/patch-salt_grains_core.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-salt_grains_disks.py =================================================================== --- files/patch-salt_grains_disks.py (revision 0) +++ files/patch-salt_grains_disks.py (working copy) @@ -0,0 +1,49 @@ +# Issue #33578 disks grain #33604 +# https://github.com/saltstack/salt/issues/33578 +--- salt/grains/disks.py.orig 2016-05-25 22:30:31 UTC ++++ salt/grains/disks.py +@@ -57,18 +57,27 @@ class _geomconsts(object): + + _datatypes = { + MEDIASIZE: ('re_int', r'(\d+)'), +- SECTORSIZE: 'int', +- STRIPESIZE: 'int', +- STRIPEOFFSET: 'int', +- ROTATIONRATE: 'int', ++ SECTORSIZE: 'try_int', ++ STRIPESIZE: 'try_int', ++ STRIPEOFFSET: 'try_int', ++ ROTATIONRATE: 'try_int', + } + + + def _datavalue(datatype, data): +- if datatype == 'int': +- return int(data) +- elif datatype and datatype[0] == 're_int': +- return int(re.search(datatype[1], data).group(1)) ++ if datatype == 'try_int': ++ try: ++ return int(data) ++ except ValueError: ++ return None ++ elif datatype is tuple and datatype[0] == 're_int': ++ search = re.search(datatype[1], data) ++ if search: ++ try: ++ return int(search.group(1)) ++ except ValueError: ++ return None ++ return None + else: + return data + +@@ -97,6 +106,8 @@ def _freebsd_geom(): + tmp[_geomconsts._aliases[attrib]] = value + + name = tmp.pop(_geomconsts.GEOMNAME) ++ if name.startswith('cd'): ++ return + + ret['disks'][name] = tmp + if tmp[_geomconsts.ROTATIONRATE] == 0: Property changes on: files/patch-salt_grains_disks.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-salt_returners_local__cache.py =================================================================== --- files/patch-salt_returners_local__cache.py (revision 0) +++ files/patch-salt_returners_local__cache.py (working copy) @@ -0,0 +1,22 @@ +# Issue #33554 +# https://github.com/saltstack/salt/issues/33554 +--- salt/returners/local_cache.py.orig 2016-05-25 22:30:31 UTC ++++ salt/returners/local_cache.py +@@ -407,14 +407,14 @@ def clean_old_jobs(): + for final in t_path_dirs: + f_path = os.path.join(t_path, final) + jid_file = os.path.join(f_path, 'jid') +- if not os.path.isfile(jid_file): ++ if not os.path.isfile(jid_file) and os.path.exists(t_path): + # No jid file means corrupted cache entry, scrub it + # by removing the entire t_path directory + shutil.rmtree(t_path) +- else: ++ elif os.path.isfile(jid_file): + jid_ctime = os.stat(jid_file).st_ctime + hours_difference = (cur - jid_ctime) / 3600.0 +- if hours_difference > __opts__['keep_jobs']: ++ if hours_difference > __opts__['keep_jobs'] and os.path.exists(t_path): + # Remove the entire t_path from the original JID dir + shutil.rmtree(t_path) + Property changes on: files/patch-salt_returners_local__cache.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-setup.py =================================================================== --- files/patch-setup.py (revision 416089) +++ files/patch-setup.py (working copy) @@ -1,6 +1,6 @@ ---- setup.py.orig 2015-04-17 18:44:50 UTC +--- setup.py.orig 2016-05-25 22:30:31 UTC +++ setup.py -@@ -623,8 +623,8 @@ class SaltDistribution(distutils.dist.Di +@@ -986,8 +986,8 @@ class SaltDistribution(distutils.dist.Di def _property_data_files(self): # Data files common to all scenarios data_files = [