From 1a8ac6132c52e7977d356d75f0e94b292ad68d71 Mon Sep 17 00:00:00 2001 From: miwi Date: Mon, 4 Jun 2007 07:28:18 +0000 Subject: snap is a tool for the management of UFS2 snapshots created by mount(8). It can maintain hourly, daily and weekly snap- shots while trying to minimize the disk space occupied. The snapshots created are labeled with their creation time, and users can create them manually. The major advantage over sysutils/freebsd-snapshot is that it uses hardlink to save diskspace, mark each snapshot with its creation time and calculates redundancy in a smart way. WWW: http://www.cs.nctu.edu.tw/ PR: ports/112482 Submitted by: Wu Chin-Hao --- sysutils/snap/Makefile | 28 ++++++++++++++++++++++++++++ sysutils/snap/distinfo | 3 +++ sysutils/snap/pkg-descr | 11 +++++++++++ 3 files changed, 42 insertions(+) create mode 100644 sysutils/snap/Makefile create mode 100644 sysutils/snap/distinfo create mode 100644 sysutils/snap/pkg-descr (limited to 'sysutils/snap') diff --git a/sysutils/snap/Makefile b/sysutils/snap/Makefile new file mode 100644 index 000000000000..cc6f6d7023a7 --- /dev/null +++ b/sysutils/snap/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: snap +# Date created: 2007-05-07 +# Whom: Wu Chin-Hao +# +# $FreeBSD$ +# + +PORTNAME= snap +DISTVERSION= 20070507 +CATEGORIES= sysutils +MASTER_SITES= http://www.cs.nctu.edu.tw/~wchunhao/download/ + +MAINTAINER= ta@cs.nctu.edu.tw +COMMENT= Tools for periodic and manual management of UFS2 snapshots + +NO_BUILD= yes +USE_PERL5_RUN= yes + +MAN8= snap.8 + +PLIST_FILES= sbin/snap etc/snap.conf + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/snap ${PREFIX}/sbin/ + ${INSTALL_MAN} ${WRKSRC}/snap.8 ${PREFIX}/man/man8/ + ${INSTALL_DATA} ${WRKSRC}/snap.conf ${PREFIX}/etc/ + +.include diff --git a/sysutils/snap/distinfo b/sysutils/snap/distinfo new file mode 100644 index 000000000000..14ac13efd8ed --- /dev/null +++ b/sysutils/snap/distinfo @@ -0,0 +1,3 @@ +MD5 (snap-20070507.tar.gz) = e7896761ff2e71ee1d9c2242721f9816 +SHA256 (snap-20070507.tar.gz) = 859a6a36257b15e94dfd89348c4b971ae9c5259cf19acba7323a9b61a4d62d21 +SIZE (snap-20070507.tar.gz) = 5138 diff --git a/sysutils/snap/pkg-descr b/sysutils/snap/pkg-descr new file mode 100644 index 000000000000..46814af85641 --- /dev/null +++ b/sysutils/snap/pkg-descr @@ -0,0 +1,11 @@ +snap is a tool for the management of UFS2 snapshots created +by mount(8). It can maintain hourly, daily and weekly snap- +shots while trying to minimize the disk space occupied. The +snapshots created are labeled with their creation time, and +users can create them manually. + +The major advantage over sysutils/freebsd-snapshot is that +it uses hardlink to save diskspace, mark each snapshot with +its creation time and calculates redundancy in a smart way. + +WWW: http://www.cs.nctu.edu.tw/ -- cgit