ports/131966: [MAINTAINER] sysutils/zfs-replicate: patch for path of zfs utility

Jui-Nan Lin jnlin at csie.nctu.edu.tw
Sun Feb 22 08:30:02 UTC 2009


>Number:         131966
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/zfs-replicate: patch for path of zfs utility
>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:   Sun Feb 22 08:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jui-Nan Lin
>Release:        FreeBSD 7.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Florence.tamama.org 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Fri Jan  2 17:06:40 CST
>Description:
Path of "zfs" utility is different from OpenSolaris and FreeBSD.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- zfs-replicate-0.7_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/zfs-replicate/Makefile /home/users/jnlin/ports/zfs-replicate/Makefile
--- /usr/ports/sysutils/zfs-replicate/Makefile	2008-11-12 22:44:47.000000000 +0800
+++ /home/users/jnlin/ports/zfs-replicate/Makefile	2009-02-22 16:03:15.130452609 +0800
@@ -2,11 +2,12 @@
 # Date created:		2008-05-26
 # Whom:			Jui-Nan Lin <jnlin at csie.nctu.edu.tw>
 #
-# $FreeBSD: ports/sysutils/zfs-replicate/Makefile,v 1.3 2008/11/12 14:44:47 amdmi3 Exp $
+# $FreeBSD: ports/sysutils/zfs-replicate/Makefile,v 1.1 2008/05/26 01:49:09 vanilla Exp $
 #
 
 PORTNAME=	zfs-replicate
 PORTVERSION=	0.7
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://blogs.sun.com/constantin/resource/
 DISTNAME=	${PORTNAME}_v${PORTVERSION}
@@ -24,6 +25,7 @@
 
 do-patch:
 	@${REINPLACE_CMD} -e 's|^#!/bin/ksh|#!${PREFIX}/bin/ksh|g' ${WRKSRC}/zfs-replicate_v${PORTVERSION}
+	@${REINPLACE_CMD} -e 's|/usr/sbin/zfs|/sbin/zfs|g' ${WRKSRC}/zfs-replicate_v${PORTVERSION}
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate_v${PORTVERSION} ${PREFIX}/sbin/zfs-replicate
--- zfs-replicate-0.7_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list