svn commit: r514349 - in head/sysutils: . sanoid sanoid-devel
Rodrigo Osorio
rodrigo at FreeBSD.org
Sat Oct 12 18:12:39 UTC 2019
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: <hartzell at alerce.com>
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 at 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 <bsd.port.mk>
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: <<EOD
+***************************************************************************
+
+ Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid.conf
+ file.
+
+ A sample has been installed in ${PREFIX}/etc/sanoid.conf.sample and
+ additional documentation can be found at the sanoid master site:
+
+ https://github.com/jimsalterjrs/sanoid
+
+***************************************************************************
+EOD
+}
+{
+ message: <<EOD
+***************************************************************************
+
+ If you have created a local configuration file,
+ ${PREFIX}/etc/sanoid.conf, you will need to remove it separately.
+
+***************************************************************************
+EOD
+ type: remove
+}
+]
Added: head/sysutils/sanoid-devel/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/sanoid-devel/pkg-plist Sat Oct 12 18:12:36 2019 (r514349)
@@ -0,0 +1,6 @@
+bin/findoid
+bin/sanoid
+bin/sleepymutex
+bin/syncoid
+%%ETCDIR%%/sanoid.defaults.conf
+ at sample %%ETCDIR%%/sanoid.conf.sample
Added: head/sysutils/sanoid/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/sanoid/Makefile Sat Oct 12 18:12:36 2019 (r514349)
@@ -0,0 +1,51 @@
+# $FreeBSD$
+
+PORTNAME= sanoid
+DISTVERSION= v2.0.1
+CATEGORIES= sysutils
+
+MAINTAINER= hartzell at 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
+
+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 <bsd.port.mk>
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: <<EOD
+***************************************************************************
+
+ Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid.conf
+ file.
+
+ A sample has been installed in ${PREFIX}/etc/sanoid.conf.sample and
+ additional documentation can be found at the sanoid master site:
+
+ https://github.com/jimsalterjrs/sanoid
+
+***************************************************************************
+EOD
+}
+{
+ message: <<EOD
+***************************************************************************
+
+ If you have created a local configuration file,
+ ${PREFIX}/etc/sanoid.conf, you will need to remove it separately.
+
+***************************************************************************
+EOD
+ type: remove
+}
+]
Added: head/sysutils/sanoid/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/sanoid/pkg-plist Sat Oct 12 18:12:36 2019 (r514349)
@@ -0,0 +1,6 @@
+bin/findoid
+bin/sanoid
+bin/sleepymutex
+bin/syncoid
+%%ETCDIR%%/sanoid.defaults.conf
+ at sample %%ETCDIR%%/sanoid.conf.sample
More information about the svn-ports-head
mailing list