Bug 183804 - [patch] update sysutils/zxfer with new upstream, fixes for zpool v5000
Summary: [patch] update sysutils/zxfer with new upstream, fixes for zpool v5000
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-09 01:40 UTC by Allan Jude
Modified: 2013-11-12 09:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.50 KB, patch)
2013-11-09 01:40 UTC, Allan Jude
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Jude 2013-11-09 01:40:00 UTC
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

Fix: Patch attached with submission follows:
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2013-11-12 08:37:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tijl

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-12 09:31:05 UTC
Author: tijl
Date: Tue Nov 12 09:30:57 2013
New Revision: 333555
URL: http://svnweb.freebsd.org/changeset/ports/333555

Log:
  - Update sysutils/zxfer to version 1.1.0.
  - Assign maintainership to submitter who has taken over upstream
    development.
  
  PR:		ports/182034, ports/183804
  Submitted by:	Allan Jude <ports@scaleengine.com>

Added:
  head/sysutils/zxfer/pkg-plist   (contents, props changed)
Deleted:
  head/sysutils/zxfer/files/
Modified:
  head/sysutils/zxfer/Makefile
  head/sysutils/zxfer/distinfo   (contents, props changed)
Directory Properties:
  head/sysutils/zxfer/pkg-descr   (props changed)

Modified: head/sysutils/zxfer/Makefile
==============================================================================
--- head/sysutils/zxfer/Makefile	Tue Nov 12 09:25:43 2013	(r333554)
+++ head/sysutils/zxfer/Makefile	Tue Nov 12 09:30:57 2013	(r333555)
@@ -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
+
+RSYNC_DESC=		Enable RSYNC Support
+RSYNC_RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync
 
-MAN8=		zxfer.8
-MANCOMPRESSED=	yes
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 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>

Modified: head/sysutils/zxfer/distinfo
==============================================================================
--- head/sysutils/zxfer/distinfo	Tue Nov 12 09:25:43 2013	(r333554)
+++ head/sysutils/zxfer/distinfo	Tue Nov 12 09:30:57 2013	(r333555)
@@ -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

Added: head/sysutils/zxfer/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/zxfer/pkg-plist	Tue Nov 12 09:30:57 2013	(r333555)
@@ -0,0 +1,2 @@
+man/man8/zxfer.8.gz
+sbin/zxfer
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2013-11-12 09:36:09 UTC
State Changed
From-To: open->closed

Committed in r333555.