Friday, November 29, 2019

UPDATE: sysutils/cloud-agent

Hi,

we have CMS (again), so there's no need to compile the built-in cms
binary in cloud-agent anymore. Yay! The USE_LIBRESSL_CMS make flag is
only needed as long as opensslv.h reports <=3.0.2 as the version
number.

## v1.1 (2019-11-29)

* Append `/etc/resolv.conf.tail` to `/etc/resolv.conf` if it exists.
* Use `openssl cms` in LibreSSL >3.0.2 (starting with OpenBSD 6.6-current).

OK?

Reyk

Index: sysutils/cloud-agent/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/cloud-agent/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- sysutils/cloud-agent/Makefile 12 Jul 2019 20:49:40 -0000 1.5
+++ sysutils/cloud-agent/Makefile 29 Nov 2019 17:56:46 -0000
@@ -2,7 +2,7 @@

COMMENT= cloud provisioning for OpenBSD VMs

-V= 0.9
+V= 1.1
DISTNAME= cloud-agent-$V
CATEGORIES= sysutils
HOMEPAGE= https://github.com/reyk/cloud-agent/
@@ -15,5 +15,8 @@ PERMIT_PACKAGE= Yes
MASTER_SITES= ${HOMEPAGE}releases/download/v${V}/

WANTLIB= c crypto expat ssl tls util
+
+# This can be removed after LibreSSL >3.0.2 is released
+MAKE_FLAGS= USE_LIBRESSL_CMS=1

.include <bsd.port.mk>
Index: sysutils/cloud-agent/distinfo
===================================================================
RCS file: /cvs/ports/sysutils/cloud-agent/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- sysutils/cloud-agent/distinfo 26 Jun 2019 14:02:36 -0000 1.3
+++ sysutils/cloud-agent/distinfo 29 Nov 2019 17:56:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (cloud-agent-0.9.tar.gz) = wLO7B/lbf0UniI7lexIpIWjUwg+/5GNaZCUjjiEKsqo=
-SIZE (cloud-agent-0.9.tar.gz) = 137118
+SHA256 (cloud-agent-1.1.tar.gz) = mDvjUjeNkd/WWUZgOjt8DBIYyR7Gq/5jjFrSw3n69fg=
+SIZE (cloud-agent-1.1.tar.gz) = 136965
Index: sysutils/cloud-agent/pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/cloud-agent/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- sysutils/cloud-agent/pkg/PLIST 16 May 2018 11:58:32 -0000 1.1.1.1
+++ sysutils/cloud-agent/pkg/PLIST 29 Nov 2019 17:56:46 -0000
@@ -1,4 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/05/16 11:58:32 reyk Exp $
-@bin bin/cms
@bin libexec/cloud-agent
@man man/man8/cloud-agent.8

No comments:

Post a Comment