aboutsummaryrefslogtreecommitdiff
path: root/sysutils/freebsd-snapshot
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-12-17 01:34:31 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-12-17 01:34:31 +0000
commitad6be9c6f76e51b9fbd37579c169af416896cb8b (patch)
tree410e5ad2da18a5d0d3cb80912698010b59d22f67 /sysutils/freebsd-snapshot
parentc879407c4d77ab11463f611150c2693e701dce02 (diff)
downloadports-ad6be9c6f76e51b9fbd37579c169af416896cb8b.tar.gz
ports-ad6be9c6f76e51b9fbd37579c169af416896cb8b.zip
Notes
Diffstat (limited to 'sysutils/freebsd-snapshot')
-rw-r--r--sysutils/freebsd-snapshot/Makefile5
-rw-r--r--sysutils/freebsd-snapshot/distinfo6
-rw-r--r--sysutils/freebsd-snapshot/files/pkg-message.in6
3 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/freebsd-snapshot/Makefile b/sysutils/freebsd-snapshot/Makefile
index fde8ceb2a183..5b1728070fda 100644
--- a/sysutils/freebsd-snapshot/Makefile
+++ b/sysutils/freebsd-snapshot/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= freebsd-snapshot
-DISTVERSION= 20050402.1
-PORTREVISION= 1
+DISTVERSION= 20071207.1
CATEGORIES= sysutils
MASTER_SITES= http://people.freebsd.org/~rse/dist/
@@ -29,7 +28,7 @@ PKGDEINSTALLL= ${WRKDIR}/pkg-deinstall
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/
diff --git a/sysutils/freebsd-snapshot/distinfo b/sysutils/freebsd-snapshot/distinfo
index 6e3047fde80e..eb74e51c2819 100644
--- a/sysutils/freebsd-snapshot/distinfo
+++ b/sysutils/freebsd-snapshot/distinfo
@@ -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-20071207.1.tar.gz) = f20e14925900b80b5e0cc6ff0b49f2ce
+SHA256 (freebsd-snapshot-20071207.1.tar.gz) = 3a352be4145a498cef86d4fa215810a59b9ce63ea239a401d5f7263572465aa6
+SIZE (freebsd-snapshot-20071207.1.tar.gz) = 16251
diff --git a/sysutils/freebsd-snapshot/files/pkg-message.in b/sysutils/freebsd-snapshot/files/pkg-message.in
index 284b6f3e7f87..740478b6d33b 100644
--- a/sysutils/freebsd-snapshot/files/pkg-message.in
+++ b/sysutils/freebsd-snapshot/files/pkg-message.in
@@ -2,14 +2,14 @@ To periodic and Flexible Backup Snapshot Creation
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@8,12,16,20"
@@ -19,6 +19,6 @@ To easy Access to Backup Snapshot Data
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"