281b573717
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 <wchunhao at cs.nctu.edu.tw>
28 lines
634 B
Makefile
28 lines
634 B
Makefile
# 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>
|