From owner-svn-ports-branches@freebsd.org Sun Sep 15 02:52:23 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09E14DBE6F; Sun, 15 Sep 2019 02:52:23 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46WDS66XD2z3MHn; Sun, 15 Sep 2019 02:52:22 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4FE119A6; Sun, 15 Sep 2019 02:52:22 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8F2qM4q018520; Sun, 15 Sep 2019 02:52:22 GMT (envelope-from jgh@FreeBSD.org) Received: (from jgh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8F2qMv1018517; Sun, 15 Sep 2019 02:52:22 GMT (envelope-from jgh@FreeBSD.org) Message-Id: <201909150252.x8F2qMv1018517@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jgh set sender to jgh@FreeBSD.org using -f From: Jason Helfman Date: Sun, 15 Sep 2019 02:52:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r512087 - branches/2019Q3/sysutils/zfs-replicate X-SVN-Group: ports-branches X-SVN-Commit-Author: jgh X-SVN-Commit-Paths: branches/2019Q3/sysutils/zfs-replicate X-SVN-Commit-Revision: 512087 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2019 02:52:23 -0000 Author: jgh Date: Sun Sep 15 02:52:21 2019 New Revision: 512087 URL: https://svnweb.freebsd.org/changeset/ports/512087 Log: MFH: r512086 - update to 0.7_2 - code shift to github - update WWW along with pkg-descr - support docs and examples PR: 207244 Reported by: lapo@lapo.it, w.schwarzenfeld@utanet.at (WWW) Approved by: ports-secteam (with hat) Modified: branches/2019Q3/sysutils/zfs-replicate/Makefile branches/2019Q3/sysutils/zfs-replicate/distinfo branches/2019Q3/sysutils/zfs-replicate/pkg-descr Directory Properties: branches/2019Q3/ (props changed) Modified: branches/2019Q3/sysutils/zfs-replicate/Makefile ============================================================================== --- branches/2019Q3/sysutils/zfs-replicate/Makefile Sun Sep 15 02:46:36 2019 (r512086) +++ branches/2019Q3/sysutils/zfs-replicate/Makefile Sun Sep 15 02:52:21 2019 (r512087) @@ -3,30 +3,46 @@ PORTNAME= zfs-replicate PORTVERSION= 0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils -MASTER_SITES= http://blogs.sun.com/constantin/resource/ -DISTNAME= ${PORTNAME}_v${PORTVERSION} MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= ZFS Snapshot Replication Script -RUN_DEPENDS= ksh:shells/pdksh +RUN_DEPENDS= bash:shells/bash -NO_WRKSUBDIR= yes +USES= shebangfix + NO_BUILD= yes -USES= tar:bzip2 +NO_ARCH= yes -PLIST_FILES= sbin/zfs-replicate +OPTIONS_DEFINE= DOCS EXAMPLES -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} +SHEBANG_FILES= zfs-replicate.sh +PORTDOCS= README.md +PORTDATA= config.sample.sh + +USE_GITHUB= yes +GH_ACCOUNT= leprechau +GH_TAGNAME= 17bf8fb + +PLIST_FILES= sbin/zfs-replicate + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate_v${PORTVERSION} \ + ${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate.sh \ ${STAGEDIR}${PREFIX}/sbin/zfs-replicate + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} +.endfor + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${DATADIR} +.for data in ${PORTDATA} + ${INSTALL_DATA} ${WRKSRC}/${data} ${STAGEDIR}${DATADIR} +.endfor .include Modified: branches/2019Q3/sysutils/zfs-replicate/distinfo ============================================================================== --- branches/2019Q3/sysutils/zfs-replicate/distinfo Sun Sep 15 02:46:36 2019 (r512086) +++ branches/2019Q3/sysutils/zfs-replicate/distinfo Sun Sep 15 02:52:21 2019 (r512087) @@ -1,2 +1,3 @@ -SHA256 (zfs-replicate_v0.7.tar.bz2) = 4ecd8ae205e90294bc5d0f2d56dfcc375499901f025e2e1926628c4e01ccd41e -SIZE (zfs-replicate_v0.7.tar.bz2) = 4020 +TIMESTAMP = 1567786202 +SHA256 (leprechau-zfs-replicate-0.7-17bf8fb_GH0.tar.gz) = a9c9f948abae7e7490ae69711946b63e7483cdab43709e92c0b495cbdfef3f9f +SIZE (leprechau-zfs-replicate-0.7-17bf8fb_GH0.tar.gz) = 5497 Modified: branches/2019Q3/sysutils/zfs-replicate/pkg-descr ============================================================================== --- branches/2019Q3/sysutils/zfs-replicate/pkg-descr Sun Sep 15 02:46:36 2019 (r512086) +++ branches/2019Q3/sysutils/zfs-replicate/pkg-descr Sun Sep 15 02:52:21 2019 (r512087) @@ -1,4 +1,4 @@ -zfs-replicate makes migrating a few filesystems and many -snapshots to a new zpool more easier. +Simple script to replicate zfs volumes between hosts +(or between pools on the same host) via incremental snapshots. -WWW: https://blogs.oracle.com/constantin/entry/useful_zfs_snapshot_replicator_script +WWW: https://github.com/leprechau/zfs-replicate