Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2019 19:54:00 -0700
From:      jgh@FreeBSD.org
To:        Jason Helfman <jgh@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, owner-svn-ports-all@freebsd.org
Subject:   Re: svn commit: r512086 - head/sysutils/zfs-replicate
Message-ID:  <035f7048ac958db3b2dc2690961756b8@FreeBSD.org>
In-Reply-To: <201909150246.x8F2kbU0012530@repo.freebsd.org>
References:  <201909150246.x8F2kbU0012530@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Approved by: (jnlin@freebsd.cs.nctu.edu.tw) Maintainer timeout

-jgh

On 2019-09-14 19:46, Jason Helfman wrote:
> Author: jgh
> Date: Sun Sep 15 02:46:36 2019
> New Revision: 512086
> URL: https://svnweb.freebsd.org/changeset/ports/512086
> 
> Log:
>   - update to 0.7_2
>   - code shift to github
>   - update WWW along with pkg-descr
>   - support docs and examples
> 
>   PR:		207244  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=207244
>   Reported by:	lapo@lapo.it, w.schwarzenfeld@utanet.at (WWW)
> 
> Modified:
>   head/sysutils/zfs-replicate/Makefile
>   head/sysutils/zfs-replicate/distinfo
>   head/sysutils/zfs-replicate/pkg-descr
> 
> Modified: head/sysutils/zfs-replicate/Makefile
> ==============================================================================
> --- head/sysutils/zfs-replicate/Makefile	Sun Sep 15 00:46:57 
> 2019	(r512085)
> +++ head/sysutils/zfs-replicate/Makefile	Sun Sep 15 02:46:36 
> 2019	(r512086)
> @@ -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 <bsd.port.mk>
> 
> Modified: head/sysutils/zfs-replicate/distinfo
> ==============================================================================
> --- head/sysutils/zfs-replicate/distinfo	Sun Sep 15 00:46:57 
> 2019	(r512085)
> +++ head/sysutils/zfs-replicate/distinfo	Sun Sep 15 02:46:36 
> 2019	(r512086)
> @@ -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: head/sysutils/zfs-replicate/pkg-descr
> ==============================================================================
> --- head/sysutils/zfs-replicate/pkg-descr	Sun Sep 15 00:46:57 
> 2019	(r512085)
> +++ head/sysutils/zfs-replicate/pkg-descr	Sun Sep 15 02:46:36 
> 2019	(r512086)
> @@ -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
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to 
> "svn-ports-all-unsubscribe@freebsd.org"



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