Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2007 21:21:06 +0800 (CST)
From:      Wu Chin-Hao <wchunhao@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112482: New port: sysutils/snap Smart Snapshot Maintaining Tool
Message-ID:  <200705071321.l47DL66P024458@ccbsd10.csie.nctu.edu.tw>
Resent-Message-ID: <200705071340.l47De1mP091255@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112482
>Category:       ports
>Synopsis:       New port: sysutils/snap Smart Snapshot Maintaining Tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 13:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Wu Chin-Hao
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD ccbsd10 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Tue Jan 16 03:24:33 CST 2007 root@ccbsd10:/usr/obj/usr/src/sys/CCBSD10 i386


	
>Description:

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.

	
>How-To-Repeat:
	
>Fix:

	

--- shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./pkg-descr
#	./distinfo
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xsnap is a tool for the management of UFS2 snapshots created
Xby mount(8). It can maintain hourly, daily and weekly snap-
Xshots while trying to minimize the disk space occupied. The
Xsnapshots created are labeled with their creation time, and
Xusers can create them manually.
X
XThe major advantage over sysutils/freebsd-snapshot is that
Xit uses hardlink to save diskspace, mark each snapshot with
Xits creation time and calculates redundancy in a smart way.
X
XAuthor:	Wu Chin-Hao <wchunhao@cs.nctu.edu.tw>
XWWW:	http://www.cs.nctu.edu.tw/
END-of-./pkg-descr
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (snap-20070507.tar.gz) = e7896761ff2e71ee1d9c2242721f9816
XSHA256 (snap-20070507.tar.gz) = 859a6a36257b15e94dfd89348c4b971ae9c5259cf19acba7323a9b61a4d62d21
XSIZE (snap-20070507.tar.gz) = 5138
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	snap
X# Date created:				2007-05-07
X# Whom:				Wu Chin-Hao <wchunhao@cs.nctu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	snap
XDISTVERSION=	20070507
XPORTREVISION=	1
XCATEGORIES=	sysutils
XMASTER_SITES= http://www.cs.nctu.edu.tw/~wchunhao/download/
X
XMAINTAINER=	ta@cs.nctu.edu.tw
XCOMMENT=	Tools for periodic and manual management of UFS2 snapshots
X
XNO_BUILD=	yes
XUSE_PERL5_RUN=  yes
X
XMAN8=		snap.8
X
XPLIST_FILES=	sbin/snap \
X		etc/snap.conf
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XIGNORE=	FreeBSD lower then 5.x does not support snapshot
X.endif
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/snap ${PREFIX}/sbin/
X	${INSTALL_MAN} ${WRKSRC}/snap.8 ${PREFIX}/man/man8/
X	${INSTALL_DATA} ${WRKSRC}/snap.conf ${PREFIX}/etc/
X
X.include <bsd.port.post.mk>
END-of-./Makefile
exit
--- shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705071321.l47DL66P024458>