Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 21:55:18 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476024 - in head/net/cloud-init: . files
Message-ID:  <201807312155.w6VLtIGg064292@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Tue Jul 31 21:55:18 2018
New Revision: 476024
URL: https://svnweb.freebsd.org/changeset/ports/476024

Log:
  - Update to 18.3
  - Take MAINTAINERship

Added:
  head/net/cloud-init/files/patch-cloudinit_netinfo.py   (contents, props changed)
  head/net/cloud-init/pkg-plist   (contents, props changed)
Modified:
  head/net/cloud-init/Makefile
  head/net/cloud-init/distinfo

Modified: head/net/cloud-init/Makefile
==============================================================================
--- head/net/cloud-init/Makefile	Tue Jul 31 21:17:37 2018	(r476023)
+++ head/net/cloud-init/Makefile	Tue Jul 31 21:55:18 2018	(r476024)
@@ -1,13 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	cloud-init
-PORTVERSION=	0.7.6
-PORTREVISION=	1
+PORTVERSION=	18.3
 CATEGORIES=	net python
 MASTER_SITES=	http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	zi@FreeBSD.org
 COMMENT=	Init scripts for use on cloud images
 
 LICENSE=	GPLv3
@@ -15,24 +14,24 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	dmidecode>0:sysutils/dmidecode \
 		sudo>0:security/sudo \
-		gpart>0:sysutils/gpart \
 		${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prettytable>0:devel/py-prettytable@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}serial>0:comms/py-serial@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oauth>0:net/py-oauth@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonpatch>0:devel/py-jsonpatch@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cheetah>0:devel/py-cheetah@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${PY_FLAVOR}
 
 ETCDIR=		${PREFIX}/etc/cloud
 
 USES=		python:2.7 shebangfix
 SHEBANG_FILES=	tools/validate-yaml.py tools/read-dependencies \
-		tools/read-version tools/hacking.py
+		tools/read-version
 USE_PYTHON=	autoplist distutils
 
 PYDISTUTILS_INSTALLARGS+=	"--init-system=sysvinit_freebsd"
@@ -44,6 +43,6 @@ post-patch:
 	@${RM} ${WRKSRC}/sysvinit/freebsd/cloudinit.orig
 
 post-build:
-	@cd ${WRKSRC} && ${MV} config/cloud.cfg-freebsd config/cloud.cfg
+	@cd ${WRKSRC} && ${MV} sysvinit/freebsd/cloudconfig config/cloud.cfg
 
 .include <bsd.port.mk>

Modified: head/net/cloud-init/distinfo
==============================================================================
--- head/net/cloud-init/distinfo	Tue Jul 31 21:17:37 2018	(r476023)
+++ head/net/cloud-init/distinfo	Tue Jul 31 21:55:18 2018	(r476024)
@@ -1,2 +1,3 @@
-SHA256 (cloud-init-0.7.6.tar.gz) = 9e8fd22eb7f6e40ae6a5f66173ddc3cc18f65ee406c460a728092b37db2f3ed7
-SIZE (cloud-init-0.7.6.tar.gz) = 515670
+TIMESTAMP = 1533065272
+SHA256 (cloud-init-18.3.tar.gz) = ba93bffc6bd5ba6117e4f3c59a677d7af3e1621b7482aec4c6ceab9b7b223228
+SIZE (cloud-init-18.3.tar.gz) = 915723

Added: head/net/cloud-init/files/patch-cloudinit_netinfo.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cloud-init/files/patch-cloudinit_netinfo.py	Tue Jul 31 21:55:18 2018	(r476024)
@@ -0,0 +1,16 @@
+--- cloudinit/netinfo.py.orig	2018-07-31 21:06:07 UTC
++++ cloudinit/netinfo.py
+@@ -138,9 +138,10 @@ def _netdev_info_ifconfig(ifconfig_data)
+             elif toks[i].startswith("scope:"):
+                 devs[curdev]['ipv6'][-1]['scope6'] = toks[i].lstrip("scope:")
+             elif toks[i] == "scopeid":
+-                res = re.match(r'.*<(\S+)>', toks[i + 1])
+-                if res:
+-                    devs[curdev]['ipv6'][-1]['scope6'] = res.group(1)
++                if toks[i + 1] == "0x1":
++                    devs[curdev]['ipv6']['scope6'] = "Global"
++                elif toks[i + 1] == "0x2":
++                    devs[curdev]['ipv6']['scope6'] = "Link"
+     return devs
+ 
+ 

Added: head/net/cloud-init/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cloud-init/pkg-plist	Tue Jul 31 21:55:18 2018	(r476024)
@@ -0,0 +1,4 @@
+@comment @dir /etc/bash_completion.d
+@comment @dir /%%ETCDIR%%/cloud.cfg.d
+@comment @dir /%%ETCDIR%%/templates
+@comment @dir /%%ETCDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807312155.w6VLtIGg064292>