aboutsummaryrefslogtreecommitdiff
path: root/net/cloud-init/Makefile
diff options
context:
space:
mode:
authorAndrey Fesenko <andrey@bsdnir.info>2021-12-15 03:42:35 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-12-15 03:42:35 +0000
commit312cdb10c938703b50c654a7f72f60f6a3f2ceb4 (patch)
treeba07998a8405cf87495b16c42658bc0df1f3bfee /net/cloud-init/Makefile
parent1785f3931e22077558f3b8d2f9c8bbd03a2092c5 (diff)
Diffstat (limited to 'net/cloud-init/Makefile')
-rw-r--r--net/cloud-init/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/cloud-init/Makefile b/net/cloud-init/Makefile
index e7f68e4ffb84..eb4fd9923dc0 100644
--- a/net/cloud-init/Makefile
+++ b/net/cloud-init/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cloud-init
-DISTVERSION= 21.2
+DISTVERSION= 21.4
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,8 +20,9 @@ RUN_DEPENDS= sudo>0:security/sudo \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonpatch>0:devel/py-jsonpatch@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}jsonschema3>0:devel/py-jsonschema3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR}
USES= python:3.6+ shebangfix
USE_GITHUB= yes
@@ -39,6 +40,7 @@ NO_ARCH= yes
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g' ${WRKSRC}/setup.py
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cloudinit/settings.py
+ @cd ${WRKSRC} && ${RM} config/cloud.cfg.d/99_freebsd.cfg.orig
post-build:
@cd ${WRKSRC} && ${MV} config/cloud.cfg.d/05_logging.cfg config/cloud.cfg.d/05_logging.cfg.sample