aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-04 07:28:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-04 07:28:18 +0000
commit281b573717bde3fa8bb492a980dfff7377d7ed24 (patch)
tree4aec3da6fc7d2969fa0f5e2db9452f14de554b37 /sysutils
parent61a5ff520a2230bbe3d741ee0ab66840ebf1a0a8 (diff)
downloadports-281b573717bde3fa8bb492a980dfff7377d7ed24.tar.gz
ports-281b573717bde3fa8bb492a980dfff7377d7ed24.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/snap/Makefile28
-rw-r--r--sysutils/snap/distinfo3
-rw-r--r--sysutils/snap/pkg-descr11
4 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 71fcbf16d1c9..31161ac64a3a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -576,6 +576,7 @@
SUBDIR += sloth
SUBDIR += slst
SUBDIR += smartmontools
+ SUBDIR += snap
SUBDIR += snowlog
SUBDIR += socket
SUBDIR += socklog
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 <wchunhao@cs.nctu.edu.tw>
+#
+# $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 <bsd.port.mk>
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/