From owner-svn-ports-head@freebsd.org Sat Oct 12 18:12:39 2019 Return-Path: Delivered-To: svn-ports-head@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 1A472140084; Sat, 12 Oct 2019 18:12:39 +0000 (UTC) (envelope-from rodrigo@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 46rCbV6gQ6z4PMC; Sat, 12 Oct 2019 18:12:38 +0000 (UTC) (envelope-from rodrigo@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 C98E4771C; Sat, 12 Oct 2019 18:12:38 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9CICcxh096158; Sat, 12 Oct 2019 18:12:38 GMT (envelope-from rodrigo@FreeBSD.org) Received: (from rodrigo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9CICaTk096146; Sat, 12 Oct 2019 18:12:36 GMT (envelope-from rodrigo@FreeBSD.org) Message-Id: <201910121812.x9CICaTk096146@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigo set sender to rodrigo@FreeBSD.org using -f From: Rodrigo Osorio Date: Sat, 12 Oct 2019 18:12:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514349 - in head/sysutils: . sanoid sanoid-devel X-SVN-Group: ports-head X-SVN-Commit-Author: rodrigo X-SVN-Commit-Paths: in head/sysutils: . sanoid sanoid-devel X-SVN-Commit-Revision: 514349 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2019 18:12:39 -0000 Author: rodrigo Date: Sat Oct 12 18:12:36 2019 New Revision: 514349 URL: https://svnweb.freebsd.org/changeset/ports/514349 Log: New ports sysutils/sanoid and sysutils/sanoid-devel Sanoid is a policy-driven snapshot management tool for ZFS filesystems. You can use Sanoid to create, automatically and monitor snapshots. Add sysutils/sanoid-devel to track interesting moments on the master branch. PR: 238584 Submitted by: Added: head/sysutils/sanoid/ head/sysutils/sanoid-devel/ head/sysutils/sanoid-devel/Makefile (contents, props changed) head/sysutils/sanoid-devel/distinfo (contents, props changed) head/sysutils/sanoid-devel/pkg-descr (contents, props changed) head/sysutils/sanoid-devel/pkg-message (contents, props changed) head/sysutils/sanoid-devel/pkg-plist (contents, props changed) head/sysutils/sanoid/Makefile (contents, props changed) head/sysutils/sanoid/distinfo (contents, props changed) head/sysutils/sanoid/pkg-descr (contents, props changed) head/sysutils/sanoid/pkg-message (contents, props changed) head/sysutils/sanoid/pkg-plist (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sat Oct 12 16:57:51 2019 (r514348) +++ head/sysutils/Makefile Sat Oct 12 18:12:36 2019 (r514349) @@ -1176,6 +1176,8 @@ SUBDIR += samefile SUBDIR += samesame SUBDIR += sample + SUBDIR += sanoid + SUBDIR += sanoid-devel SUBDIR += sas2ircu SUBDIR += sas3ircu SUBDIR += savelogs Added: head/sysutils/sanoid-devel/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid-devel/Makefile Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= sanoid +PORTVERSION=1.0.0.20190619 +CATEGORIES= sysutils +PKGNAMESUFFIX=-devel + +MAINTAINER= hartzell@alerce.com +COMMENT= Policy-driven snapshot management and replication tools + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${LOCALBASE}/bin/lzop:archivers/lzop \ + ${LOCALBASE}/bin/mbuffer:misc/mbuffer \ + ${LOCALBASE}/bin/pv:sysutils/pv \ + p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ + p5-Config-IniFiles>=0:devel/p5-Config-IniFiles + +USES= shebangfix perl5 + +USE_GITHUB= yes +GH_ACCOUNT= jimsalterjrs +GH_PROJECT=sanoid +GH_TAGNAME=a90eec3 + +USE_PERL5= run +SHEBANG_FILES= findoid sanoid sleepymutex syncoid + +# line 19: my %args = ("configdir" => "/etc/sanoid"); +post-patch: + @${REINPLACE_CMD} -i '' -e 's|/etc/sanoid|${PREFIX}/etc/sanoid|' \ + ${WRKSRC}/sanoid + @${REINPLACE_CMD} -i '' \ + -e 's|:/bin:/usr/bin:/sbin|:${PREFIX}/bin:/bin:/usr/bin:/sbin|' \ + ${WRKSRC}/syncoid + +do-build: + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/findoid ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/sanoid ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/sleepymutex ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/syncoid ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}/${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/sanoid.defaults.conf \ + ${STAGEDIR}${ETCDIR}/sanoid.defaults.conf + ${INSTALL_DATA} ${WRKSRC}/sanoid.conf \ + ${STAGEDIR}${ETCDIR}/sanoid.conf.sample + +.include Added: head/sysutils/sanoid-devel/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid-devel/distinfo Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,3 @@ +TIMESTAMP = 1560978182 +SHA256 (jimsalterjrs-sanoid-1.0.0.20190619-a90eec3_GH0.tar.gz) = 32fe6ef68735e074f8c11d28e06d4e4d9f35cde7b80bacb20636f0fb1fb45500 +SIZE (jimsalterjrs-sanoid-1.0.0.20190619-a90eec3_GH0.tar.gz) = 113654 Added: head/sysutils/sanoid-devel/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid-devel/pkg-descr Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,4 @@ +Sanoid is a policy-driven snapshot management tool for ZFS +filesystems. More prosaically, you can use Sanoid to create, +automatically thin, and monitor snapshots and pool health from a +single eminently human-readable TOML config file. Added: head/sysutils/sanoid-devel/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid-devel/pkg-message Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,28 @@ +[ +{ + message: <=0:devel/p5-Capture-Tiny \ + p5-Config-IniFiles>=0:devel/p5-Config-IniFiles + +USES= shebangfix perl5 + +USE_GITHUB= yes +GH_ACCOUNT= jimsalterjrs + +USE_PERL5= run +SHEBANG_FILES= findoid sanoid sleepymutex syncoid + +# line 19: my %args = ("configdir" => "/etc/sanoid"); +post-patch: + @${REINPLACE_CMD} -i '' -e 's|/etc/sanoid|${PREFIX}/etc/sanoid|' \ + ${WRKSRC}/sanoid + @${REINPLACE_CMD} -i '' \ + -e 's|/usr/bin/lzop|${PREFIX}/bin/lzop|' \ + -e 's|/usr/bin/mbuffer|${PREFIX}/bin/mbuffer|' \ + -e 's|/usr/bin/pv|${PREFIX}/bin/pv|' \ + -e 's|/usr/bin/sudo|${PREFIX}/bin/sudo|' \ + ${WRKSRC}/syncoid + +do-build: + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/findoid ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/sanoid ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/sleepymutex ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/syncoid ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}/${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/sanoid.defaults.conf \ + ${STAGEDIR}${ETCDIR}/sanoid.defaults.conf + ${INSTALL_DATA} ${WRKSRC}/sanoid.conf \ + ${STAGEDIR}${ETCDIR}/sanoid.conf.sample + +.include Added: head/sysutils/sanoid/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid/distinfo Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,3 @@ +TIMESTAMP = 1560550040 +SHA256 (jimsalterjrs-sanoid-v2.0.1_GH0.tar.gz) = e28bd2ee372d777cd58e3a2ddd9c5c04210d07323b648c6c21030d0f7a22a464 +SIZE (jimsalterjrs-sanoid-v2.0.1_GH0.tar.gz) = 106981 Added: head/sysutils/sanoid/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid/pkg-descr Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,4 @@ +Sanoid is a policy-driven snapshot management tool for ZFS +filesystems. More prosaically, you can use Sanoid to create, +automatically thin, and monitor snapshots and pool health from a +single eminently human-readable TOML config file. Added: head/sysutils/sanoid/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sanoid/pkg-message Sat Oct 12 18:12:36 2019 (r514349) @@ -0,0 +1,28 @@ +[ +{ + message: <