ports/162387: [patch][maintainer-update] devel/libvirt: update to 0.9.7

Jason Helfman jhelfman at experts-exchange.com
Tue Nov 8 22:20:09 UTC 2011


>Number:         162387
>Category:       ports
>Synopsis:       [patch][maintainer-update] devel/libvirt: update to 0.9.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 22:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD eggman.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Update to libvirt 0.9.7
Handle additional configuration file (libvirt.conf)
Builds cleanly in Tinderbox => http://jgh.devio.us/files/logs/libvirt-0.9.7.log

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/devel/libvirt/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	30 Oct 2011 17:35:48 -0000	1.9
+++ Makefile	8 Nov 2011 22:01:59 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libvirt
-PORTVERSION=	0.9.6
-PORTREVISION=	1
+PORTVERSION=	0.9.7
 CATEGORIES=	devel
 MASTER_SITES=	http://libvirt.org/sources/
 
@@ -62,4 +61,8 @@
 		${WRKSRC}/daemon/Makefile.am \
 		${WRKSRC}/daemon/Makefile.in
 
+	@${MV} ${WRKSRC}/src/libvirt.conf ${WRKSRC}/src/libvirt.conf.sample
+	@${REINPLACE_CMD} -e 's|conf_DATA = libvirt.conf|conf_DATA = libvirt.conf.sample|' \
+		${WRKSRC}/src/Makefile.am
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/jhelfman/ncvs/ports/devel/libvirt/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	27 Sep 2011 06:42:25 -0000	1.5
+++ distinfo	8 Nov 2011 21:06:08 -0000
@@ -1,2 +1,2 @@
-SHA256 (libvirt-0.9.6.tar.gz) = ce29b1cd3067b224aa834fec2a93d7613c0e72bc035760ad536a2142430bc02b
-SIZE (libvirt-0.9.6.tar.gz) = 17326676
+SHA256 (libvirt-0.9.7.tar.gz) = 29ff05bfe5177d6680c02c279ed2573dcfae993f2824bffa192a3a2cdd05af23
+SIZE (libvirt-0.9.7.tar.gz) = 17853636
Index: pkg-plist
===================================================================
RCS file: /home/jhelfman/ncvs/ports/devel/libvirt/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist	30 Oct 2011 17:35:48 -0000	1.6
+++ pkg-plist	8 Nov 2011 21:39:34 -0000
@@ -5,6 +5,9 @@
 @unexec if cmp -s %D/%%ETCDIR%%/libvirtd.conf.sample %D/%%ETCDIR%%/libvirtd.conf; then rm -f %D/%%ETCDIR%%/libvirtd.conf; fi
 %%ETCDIR%%/libvirtd.conf.sample
 @exec if [ ! -f %D/%%ETCDIR%%/libvirtd.conf ] ; then cp -p %D/%%ETCDIR%%/libvirtd.conf.sample %D/%%ETCDIR%%/libvirtd.conf; fi
+ at unexec if cmp -s %D/%%ETCDIR%%/libvirt.conf.sample %D/%%ETCDIR%%/libvirt.conf; then rm -f %D/%%ETCDIR%%/libvirt.conf; fi
+%%ETCDIR%%/libvirt.conf.sample
+ at exec if [ ! -f %D/%%ETCDIR%%/libvirt.conf ] ; then cp -p %D/%%ETCDIR%%/libvirt.conf.sample %D/%%ETCDIR%%/libvirt.conf; fi
 %%ETCDIR%%/nwfilter/allow-arp.xml
 %%ETCDIR%%/nwfilter/allow-dhcp-server.xml
 %%ETCDIR%%/nwfilter/allow-dhcp.xml
@@ -123,6 +126,12 @@
 %%DOCSDIR%%%%PORTVERSION%%/html/logging.html
 %%DOCSDIR%%%%PORTVERSION%%/html/madeWith.png
 %%DOCSDIR%%%%PORTVERSION%%/html/main.css
+%%DOCSDIR%%%%PORTVERSION%%/html/migration.html
+%%DOCSDIR%%%%PORTVERSION%%/html/migration-managed-direct.png
+%%DOCSDIR%%%%PORTVERSION%%/html/migration-managed-p2p.png
+%%DOCSDIR%%%%PORTVERSION%%/html/migration-native.png
+%%DOCSDIR%%%%PORTVERSION%%/html/migration-tunnel.png
+%%DOCSDIR%%%%PORTVERSION%%/html/migration-unmanaged-direct.png
 %%DOCSDIR%%%%PORTVERSION%%/html/news.html
 %%DOCSDIR%%%%PORTVERSION%%/html/node.gif
 %%DOCSDIR%%%%PORTVERSION%%/html/php.html
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list