Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 10:33:40 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        bug-followup@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:        cy@FreeBSD.org
Subject:   Re: ports/167942: [patch] sysutils/cfengine3: update to latest version
Message-ID:  <20120516143340.GB1778@glenbarber.us>
In-Reply-To: <201205160110.q4G1A1R5030595@freefall.freebsd.org>
References:  <201205160100.q4G10SYK043436@red.freebsd.org> <201205160110.q4G1A1R5030595@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--xgyAXRrhYN0wYx8y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

An updated patch is attached to reflect the recent release of 3.3.2.

Tinderbox logs can be found here:

https://builder.glenbarber.us/tb/logs/10-64-FreeBSD/cfengine-3.3.2.log
https://builder.glenbarber.us/tb/logs/9-64-FreeBSD/cfengine-3.3.2.log
https://builder.glenbarber.us/tb/logs/8-64-FreeBSD/cfengine-3.3.2.log
https://builder.glenbarber.us/tb/logs/7-64-FreeBSD/cfengine-3.3.2.log

https://builder.glenbarber.us/tb/logs/10-32-FreeBSD/cfengine-3.3.2.log
https://builder.glenbarber.us/tb/logs/9-32-FreeBSD/cfengine-3.3.2.log
https://builder.glenbarber.us/tb/logs/8-32-FreeBSD/cfengine-3.3.2.log
https://builder.glenbarber.us/tb/logs/7-32-FreeBSD/cfengine-3.3.2.log

Glen


--xgyAXRrhYN0wYx8y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cfengine3-3.3.2.diff.txt"

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/cfengine3/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile	19 Apr 2012 15:00:56 -0000	1.64
+++ Makefile	16 May 2012 14:31:17 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cfengine
-PORTVERSION=	3.3.0
+PORTVERSION=	3.3.2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cfengine.com/source-code/download?file=
 
@@ -36,7 +36,8 @@
 OPTIONS=	TOKYOCABINET	"Enable TokyoCabinet support"		on \
 		QDBM	"Enable QDBM support"				off \
 		PGSQL	"Enable PostgreSQL connector"			off \
-		MYSQL	"Enable MySQL connector"			off
+		MYSQL	"Enable MySQL connector"			off \
+		LIBVIRT	"Enable libvirt compatibility"			off
 
 .include <bsd.port.pre.mk>
 
@@ -59,17 +60,22 @@
 .endif
 
 .if defined(WITH_PGSQL)
+USE_PGSQL=		yes
 CONFIGURE_ARGS+=	--with-postgresql=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=	--with-postgresql=no
+LIB_DEPENDS+=		pq:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
 .endif
 
 .if defined(WITH_MYSQL)
+USE_MYSQL=		yes
 CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=	--with-mysql=no
+LIB_DEPENDS+=		mysqlclient:${PORTSDIR}/${_MYSQL_CLIENT}
+LDFLAGS+=		-L${LOCALBASE}/lib/mysql
 .endif
 
+.if defined(WITH_LIBVIRT)
+CONFIGURE_ARGS+=	--with-libvirt=${LOCALBASE}
+LIB_DEPENDS+=		virt:${PORTSDIR}/devel/libvirt
+.endif
 
 MAN8=	cf-agent.8	cf-key.8	cf-monitord.8	\
 	cf-report.8	cf-serverd.8	cf-execd.8	\
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/sysutils/cfengine3/distinfo,v
retrieving revision 1.27
diff -u -r1.27 distinfo
--- distinfo	19 Apr 2012 04:21:15 -0000	1.27
+++ distinfo	16 May 2012 14:31:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (cfengine-3.3.0.tar.gz) = 170a65cce35b9b333594543b9b3480e5d9c19c28e275431e6e58a3be9372c0a7
-SIZE (cfengine-3.3.0.tar.gz) = 1236769
+SHA256 (cfengine-3.3.2.tar.gz) = be0794279856bc5783f384c745f4a18ea38064852cd61e03dddffa4879a51baa
+SIZE (cfengine-3.3.2.tar.gz) = 1248069
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/sysutils/cfengine3/pkg-plist,v
retrieving revision 1.22
diff -u -r1.22 pkg-plist
--- pkg-plist	19 Apr 2012 04:21:15 -0000	1.22
+++ pkg-plist	16 May 2012 14:31:17 -0000
@@ -24,6 +24,7 @@
 %%DOCSDIR%%/examples/app_baseline.cf
 %%DOCSDIR%%/examples/guest_environment_kvm.cf
 %%DOCSDIR%%/examples/hostswithclass.cf
+%%DOCSDIR%%/examples/package_windows_feature.cf
 %%DOCSDIR%%/examples/promise_knowledge.cf
 %%DOCSDIR%%/examples/unit_abort.cf
 %%DOCSDIR%%/examples/unit_accessed_before.cf

--xgyAXRrhYN0wYx8y--



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