From d44fee51d660690bb9545b27ab9c9ac4f074729d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mina=20Gali=C4=87?= Date: Fri, 20 Nov 2020 22:22:53 +0100 Subject: [PATCH] prepare release for 20.4, removing patches fixed upstream 20.4 is set to release 24th of Nov 2020. prepare for the release by removing patches fixed upstream; also: remove dependency on dmidecode as upstream has switched to using kenv(1) instead of dmidecode(8); this also removes the restriction to x86 and amd64. --- net/cloud-init/Makefile | 9 ++------- .../files/patch-cloudinit_config_cc__resizefs.py | 11 ----------- net/cloud-init/files/patch-cloudinit_util.py | 16 ---------------- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 net/cloud-init/files/patch-cloudinit_config_cc__resizefs.py delete mode 100644 net/cloud-init/files/patch-cloudinit_util.py diff --git a/net/cloud-init/Makefile b/net/cloud-init/Makefile index 6e805c9172e6..e509e51d1535 100644 --- a/net/cloud-init/Makefile +++ b/net/cloud-init/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= cloud-init -PORTVERSION= 20.3 -PORTREVISION= 1 +PORTVERSION= 20.4 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,11 +13,7 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-Apache2.0 LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE-GPLv3 -ONLY_FOR_ARCHS= amd64 i386 -ONLY_FOR_ARCHS_REASON= currently depends on dmidecode which is x86-only - -RUN_DEPENDS= dmidecode>0:sysutils/dmidecode \ - sudo>0:security/sudo \ +RUN_DEPENDS= sudo>0:security/sudo \ ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \ diff --git a/net/cloud-init/files/patch-cloudinit_config_cc__resizefs.py b/net/cloud-init/files/patch-cloudinit_config_cc__resizefs.py deleted file mode 100644 index b90f61cc34e8..000000000000 --- a/net/cloud-init/files/patch-cloudinit_config_cc__resizefs.py +++ /dev/null @@ -1,11 +0,0 @@ ---- cloudinit/config/cc_resizefs.py.orig 2020-10-29 12:41:28 UTC -+++ cloudinit/config/cc_resizefs.py -@@ -110,7 +110,7 @@ def _can_skip_resize_ufs(mount_point, devpth): - for line in dumpfs_res.splitlines(): - if not line.startswith('#'): - newfs_cmd = shlex.split(line) -- opt_value = 'O:Ua:s:b:d:e:f:g:h:i:jk:m:o:L:' -+ opt_value = 'O:Ua:s:b:d:e:f:g:h:i:jk:l:m:o:t:L:' - optlist, _args = getopt.getopt(newfs_cmd[1:], opt_value) - for o, a in optlist: - if o == "-s": diff --git a/net/cloud-init/files/patch-cloudinit_util.py b/net/cloud-init/files/patch-cloudinit_util.py deleted file mode 100644 index cae641a1ef1e..000000000000 --- a/net/cloud-init/files/patch-cloudinit_util.py +++ /dev/null @@ -1,16 +0,0 @@ ---- cloudinit/util.py.orig 2020-10-29 12:40:41 UTC -+++ cloudinit/util.py -@@ -1652,10 +1652,12 @@ def mount_cb(device, callback, data=None, mtype=None, - mtypes = ["auto"] - elif platsys.endswith("bsd"): - if mtypes is None: -- mtypes = ['ufs', 'cd9660', 'vfat'] -+ mtypes = ['ufs', 'cd9660', 'msdos'] - for index, mtype in enumerate(mtypes): - if mtype == "iso9660": - mtypes[index] = "cd9660" -+ if mtype in ["vfat", "msdosfs", "msdos"]: -+ mtypes[index] = "msdos" - else: - # we cannot do a smart "auto", so just call 'mount' once with no -t - mtypes = [''] -- 2.29.2