Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 01:35:32 GMT
From:      Allan Jude <ports@scaleengine.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183804: [patch] update sysutils/zxfer with new upstream, fixes for zpool v5000
Message-ID:  <201311090135.rA91ZWPt068604@oldred.freebsd.org>
Resent-Message-ID: <201311090140.rA91e0BO039892@freefall.freebsd.org>

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

>Number:         183804
>Category:       ports
>Synopsis:       [patch] update sysutils/zxfer with new upstream, fixes for zpool v5000
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 09 01:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Allan Jude
>Release:        9.2-RELEASE
>Organization:
ScaleEngine Inc.
>Environment:
FreeBSD Trooper.HML3.ScaleEngine.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
sysutils/zxfer appears to be abandoned. no upstream updates since 2011.

I have created a github repo, and committed a number of patches, include those required to make the script functional on ZFS zpool v28+ (FreeBSD 9.1) and v5000 (9.2 and 8.4).

In addition, a new -D parameter to optionally create a progress bar (using misc/clpbar or the like) or something like misc/mbuffer

Also closes PR ports/182034


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: sysutils/zxfer/Makefile
===================================================================
--- sysutils/zxfer/Makefile	(revision 333272)
+++ sysutils/zxfer/Makefile	(working copy)
@@ -2,29 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	zxfer
-PORTVERSION=	0.9.8
-PORTREVISION=	1
+PORTVERSION=	1.1.0
 CATEGORIES=	sysutils
-MASTER_SITES=	GOOGLE_CODE
 
-MAINTAINER=	ports@FreeBSD.org
+USE_GITHUB=	yes
+GH_ACCOUNT=	allanjude
+GH_COMMIT=	94567c8
+GH_TAGNAME=	1.1.0
+
+MAINTAINER=	ports@scaleengine.com
 COMMENT=	Easily and reliably transfer ZFS filesystems
 
 LICENSE=	BSD
 
-RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync
-
-USE_BZIP2=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=	sbin/zxfer
+OPTIONS_DEFINE=	RSYNC
 
-MAN8=		zxfer.8
-MANCOMPRESSED=	yes
+RSYNC_DESC=		Enable RSYNC Support
+RSYNC_RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/zxfer ${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/zxfer.8.gz ${MAN8PREFIX}/man/man8
+	${INSTALL_SCRIPT} ${WRKSRC}/zxfer ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/zxfer.8.gz ${STAGEDIR}${MAN8PREFIX}/man/man8
 
 .include <bsd.port.mk>
Index: sysutils/zxfer/distinfo
===================================================================
--- sysutils/zxfer/distinfo	(revision 333272)
+++ sysutils/zxfer/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (zxfer-0.9.8.tar.bz2) = c5733903c43600b0a169addff98f213e30a0e8ab359801369576eea03a78abda
-SIZE (zxfer-0.9.8.tar.bz2) = 46900
+SHA256 (zxfer-1.1.0.tar.gz) = 271746900690429dfa811b7209ca65aef7cb2b886b1935f731788f44e7888565
+SIZE (zxfer-1.1.0.tar.gz) = 52273
Index: sysutils/zxfer/files/patch-zxfer
===================================================================
--- sysutils/zxfer/files/patch-zxfer	(revision 333272)
+++ sysutils/zxfer/files/patch-zxfer	(working copy)
@@ -1,11 +0,0 @@
---- zxfer.orig	2013-05-13 10:26:08.018070226 -0500
-+++ zxfer	2013-05-13 10:26:37.498080210 -0500
-@@ -174,7 +174,7 @@
- 
- 
- # Properties not supported on FreeBSD 8.2
--fbsd_readonly_properties="aclmode,aclinherit,devices,nbmand,shareiscsi,vscan,xattr"
-+fbsd_readonly_properties="aclmode,aclinherit,devices,nbmand,shareiscsi,vscan,xattr,refcompressratio,written"
- 
- # Properties not supported on Solaris Express 11
- solexp_readonly_properties="jailed,aclmode,shareiscsi"
Index: sysutils/zxfer/pkg-plist
===================================================================
--- sysutils/zxfer/pkg-plist	(revision 0)
+++ sysutils/zxfer/pkg-plist	(working copy)
@@ -0,0 +1,2 @@
+man/man8/zxfer.8.gz
+sbin/zxfer


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



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