git: 63c72b063ac9 - main - net/cloud-init-devel: Update and fix config file installation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Oct 2022 15:25:09 UTC
The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=63c72b063ac9cb4d2ad599448c528fb4d0afa363 commit 63c72b063ac9cb4d2ad599448c528fb4d0afa363 Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2022-10-18 22:35:44 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2022-10-19 15:24:18 +0000 net/cloud-init-devel: Update and fix config file installation Approved by: me+FreeBSD@igalic.co (maintainer) Sponsored by: The FreeBSD Foundation --- net/cloud-init-devel/Makefile | 11 +++++++---- net/cloud-init-devel/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/net/cloud-init-devel/Makefile b/net/cloud-init-devel/Makefile index 91ccfcefac0b..f15642b767df 100644 --- a/net/cloud-init-devel/Makefile +++ b/net/cloud-init-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= cloud-init -DISTVERSION= 22.3-74 -DISTVERSIONSUFFIX= -ga5c9e4ad +DISTVERSION= 22.3-79 +DISTVERSIONSUFFIX= -g9a2eb975 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= -devel @@ -57,7 +57,10 @@ post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cloudinit/settings.py ${RM} ${WRKSRC}/config/cloud.cfg.d/99_freebsd.cfg.orig -post-build: - ${MV} ${WRKSRC}/config/cloud.cfg.d/05_logging.cfg ${WRKSRC}/config/cloud.cfg.d/05_logging.cfg.sample +post-install: + ${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.sample + ${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg.d/05_logging.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.d/05_logging.cfg.sample + ${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg.d/99_freebsd.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.d/99_freebsd.cfg.sample + ${REINPLACE_CMD} 's|^.*\.cfg$$|@sample &.sample|' ${_PYTHONPKGLIST} .include <bsd.port.mk> diff --git a/net/cloud-init-devel/distinfo b/net/cloud-init-devel/distinfo index 034cb3d654c5..420a1630c56c 100644 --- a/net/cloud-init-devel/distinfo +++ b/net/cloud-init-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1665782389 -SHA256 (canonical-cloud-init-22.3-74-ga5c9e4ad_GH0.tar.gz) = f42027ab8123c4a94fcea4a28d14ab2b3b16660e54903e2d25fa0a3ad08e0510 -SIZE (canonical-cloud-init-22.3-74-ga5c9e4ad_GH0.tar.gz) = 1456766 +TIMESTAMP = 1666192896 +SHA256 (canonical-cloud-init-22.3-79-g9a2eb975_GH0.tar.gz) = fa2fdb05a5b9bc7c8a947093136515930d29862b65c838cdafc5dc0141a77ca8 +SIZE (canonical-cloud-init-22.3-79-g9a2eb975_GH0.tar.gz) = 1458244