diff options
author | bapt <bapt@FreeBSD.org> | 2010-09-03 23:11:01 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2010-09-03 23:11:01 +0800 |
commit | ba78fe56e17b77f8a3b2eea78db5b2f80670349e (patch) | |
tree | c709e01a22783fd8aad8f51fe28055265329f42d /sysutils | |
parent | 63c45ee489d6fe46a52c6dec3d00620944805b6f (diff) | |
download | freebsd-ports-gnome-ba78fe56e17b77f8a3b2eea78db5b2f80670349e.tar.gz freebsd-ports-gnome-ba78fe56e17b77f8a3b2eea78db5b2f80670349e.tar.zst freebsd-ports-gnome-ba78fe56e17b77f8a3b2eea78db5b2f80670349e.zip |
- Remove useless and confusing warning message
- Bump portrevision
PR: ports/150150
Submitted by: Janne Snabb <snabb _at_ epipe.com>
Approved by: Graham Todd <gtodd _at_ bellanet.org> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/freebsd-snapshot/Makefile | 1 | ||||
-rw-r--r-- | sysutils/freebsd-snapshot/files/patch-snapshot | 13 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sysutils/freebsd-snapshot/Makefile b/sysutils/freebsd-snapshot/Makefile index b54e64e1e124..620650137864 100644 --- a/sysutils/freebsd-snapshot/Makefile +++ b/sysutils/freebsd-snapshot/Makefile @@ -7,6 +7,7 @@ PORTNAME= freebsd-snapshot DISTVERSION= 20091208.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://people.freebsd.org/~rse/dist/ diff --git a/sysutils/freebsd-snapshot/files/patch-snapshot b/sysutils/freebsd-snapshot/files/patch-snapshot index 310799f8d9d2..fb2b13cc8bfb 100644 --- a/sysutils/freebsd-snapshot/files/patch-snapshot +++ b/sysutils/freebsd-snapshot/files/patch-snapshot @@ -1,5 +1,5 @@ ---- ./snapshot.orig 2009-08-01 11:34:34.000000000 -0400 -+++ ./snapshot 2010-01-14 18:14:06.940846133 -0500 +--- snapshot.orig 2009-12-08 20:14:13.000000000 +0000 ++++ snapshot 2010-08-31 13:50:34.000000000 +0000 @@ -29,7 +29,9 @@ ## @@ -19,3 +19,12 @@ if checkyesno zfs_enable; then \ echo 'yes'; \ else \ +@@ -491,7 +494,7 @@ + echo "snapshot:ERROR: unable to create directory \"$mnt\"" 1>&2 + exit 1 + fi +- system mdconfig -a -t vnode -f $fs_dir/.snap/$fs_tag.$fs_gen -u $num ++ system mdconfig -a -t vnode -o readonly -f $fs_dir/.snap/$fs_tag.$fs_gen -u $num + if [ $? -ne 0 ]; then + echo "snapshot:ERROR: unable to attach \"$fs_dir/.snap/$fs_tag.$fs_gen\" to \"/dev/md$num\"" 1>&2 + exit 1 |