- update to 1.0.20130213

- remove etc/periodic/monthly/998.zfs-scrub--it was rendered redundant by the
  scrub periodic added to the base
- remove the scrub_in_progress check. As of 7.3-R and 8.0-R, ZFS supports taking
  snapshots while a scrub is running--this check is no longer necessary on all
  supported releases
- remove files/patch-zfs-snapshot (was fixed upstream).

PR:		176132
Submitted by:	Darren Pilgrim <darren.pilgrim@gmail.com>
Approved by:	Peter Ankerstal <peter@pean.org> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2013-02-16 15:59:25 +00:00
parent 75fafad0f7
commit 301e31bc7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312371
3 changed files with 5 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= zfs-periodic
PORTVERSION= 1.0.20121207
PORTVERSION= 1.0.20130213
CATEGORIES= sysutils
MAINTAINER= peter@pean.org
@ -10,7 +10,7 @@ COMMENT= Simple way of maintaining zfs snapshots using the periodic system
USE_GITHUB= yes
GH_ACCOUNT= ross
GH_COMMIT= 5401176
GH_COMMIT= 9ffa662
GH_TAGNAME= ${GH_COMMIT}
NO_BUILD= yes
@ -22,8 +22,7 @@ PERIODIC_DIRS= etc/periodic/hourly etc/periodic/daily \
PERIODIC_FILES= etc/periodic/hourly/000.zfs-snapshot \
etc/periodic/daily/000.zfs-snapshot \
etc/periodic/weekly/000.zfs-snapshot \
etc/periodic/monthly/000.zfs-snapshot \
etc/periodic/monthly/998.zfs-scrub
etc/periodic/monthly/000.zfs-snapshot
PLIST_FILES= ${PERIODIC_FILES} bin/zfs-snapshot
PLIST_DIRSTRY= ${PERIODIC_DIRS}

View file

@ -1,2 +1,2 @@
SHA256 (zfs-periodic-1.0.20121207.tar.gz) = baec480b12b4ddafb53ef5eb1c404140ef967d885b7af55bc2e6c916b8974630
SIZE (zfs-periodic-1.0.20121207.tar.gz) = 2821
SHA256 (zfs-periodic-1.0.20130213.tar.gz) = 58f2170979db5a97c895f4fb6e578078bad5dc3efa29dd6c818c98c1bface53f
SIZE (zfs-periodic-1.0.20130213.tar.gz) = 2518

View file

@ -1,11 +0,0 @@
--- etc/periodic/weekly/000.zfs-snapshot.orig 2011-12-08 09:54:29.892546280 +0200
+++ etc/periodic/weekly/000.zfs-snapshot 2011-12-08 09:54:46.735546024 +0200
@@ -18,7 +18,7 @@
keep=7
fi
-case "$daily_zfs_snapshot_enable" in
+case "$weekly_zfs_snapshot_enable" in
[Yy][Ee][Ss])
. /etc/periodic/zfs-snapshot
do_snapshots "$pools" $keep 'weekly'