ports/118008: [PATCH] sysutils/freebsd-snapshot: update to 20071111.2
Rong-En Fan
rafan at FreeBSD.org
Mon Nov 12 15:40:01 UTC 2007
>Number: 118008
>Category: ports
>Synopsis: [PATCH] sysutils/freebsd-snapshot: update to 20071111.2
>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 Nov 12 15:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Rong-En Fan
>Release: FreeBSD 6.3-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
System: FreeBSD svm.csie.ntu.edu.tw 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Thu Oct 25 10:58:40 CST 2007
>Description:
- Update to 20071111.2
Port maintainer (gtodd at bellanet.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- freebsd-snapshot-20071111.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/freebsd-snapshot/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile 4 Oct 2007 06:10:12 -0000 1.5
+++ Makefile 12 Nov 2007 15:00:53 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= freebsd-snapshot
-DISTVERSION= 20050402.1
-PORTREVISION= 1
+DISTVERSION= 20071111.2
CATEGORIES= sysutils
MASTER_SITES= http://people.freebsd.org/~rse/dist/
@@ -29,7 +28,7 @@
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/amd.map.snap ${WRKSRC}/snapshot \
- ${WRKSRC}/periodic-snapshot ${WRKSRC}/snapshot.8
+ ${WRKSRC}/periodic-snapshot ${WRKSRC}/snapshot.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/snapshot ${PREFIX}/sbin/
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/freebsd-snapshot/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo 24 Jan 2006 01:06:07 -0000 1.2
+++ distinfo 12 Nov 2007 15:00:53 -0000
@@ -1,3 +1,3 @@
-MD5 (freebsd-snapshot-20050402.1.tar.gz) = 54ae93e0b3073bcd616a47de4543dc77
-SHA256 (freebsd-snapshot-20050402.1.tar.gz) = 7ec1b736ee7d0157f6dc403e7e6d36e46a672628b73a49cee0c6348b8d9186cd
-SIZE (freebsd-snapshot-20050402.1.tar.gz) = 14622
+MD5 (freebsd-snapshot-20071111.2.tar.gz) = 769d8c102ed9a96196ae6eaf11e50326
+SHA256 (freebsd-snapshot-20071111.2.tar.gz) = afa578bf91e52830085796d7367f272008f1020970b3bdd8553e7f580e40e00d
+SIZE (freebsd-snapshot-20071111.2.tar.gz) = 16246
Index: files/pkg-message.in
===================================================================
RCS file: /home/ncvs/ports/sysutils/freebsd-snapshot/files/pkg-message.in,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-message.in
--- files/pkg-message.in 23 Sep 2005 20:16:31 -0000 1.1
+++ files/pkg-message.in 12 Nov 2007 15:00:53 -0000
@@ -2,14 +2,14 @@
Edit your crontab and include this:
-# Perform hourly/daily/weekly maintenance (FreeBSD UFS2 snapshots only).
+# Perform hourly/daily/weekly maintenance (FreeBSD UFS2/ZFS snapshots only).
0 * * * * root %%PREFIX%%/sbin/periodic-snapshot hourly
0 0 * * * root %%PREFIX%%/sbin/periodic-snapshot daily
0 0 * * 0 root %%PREFIX%%/sbin/periodic-snapshot weekly
and edit your periodic.conf and include this:
-# UFS2 Snapshot Creation
+# UFS2/ZFS Snapshot Creation
snapshot_enable="YES"
snapshot_schedule="/,/usr:2:1:0 /var:0:2:4 /home:2:6:8 at 8,12,16,20"
@@ -19,6 +19,6 @@
Edit your rc.conf and include this:
-# UFS2 Snapshot Access
+# UFS2/ZFS Snapshot Access
amd_enable="YES"
amd_flags="-a /.am -c 1800 -w 60 -l syslog /snap %%PREFIX%%/etc/amd.map.snap"
--- freebsd-snapshot-20071111.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list