diff options
author | cy <cy@FreeBSD.org> | 2009-04-28 02:29:41 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2009-04-28 02:29:41 +0800 |
commit | 25373907215dfafac76e0329efdb7e060e0fefa4 (patch) | |
tree | e77e31ee50ca8579148a71347766880abcbdccf5 /sysutils | |
parent | e6433cd353461e12ebfef3155fbb31b7aed04dcf (diff) | |
download | freebsd-ports-graphics-25373907215dfafac76e0329efdb7e060e0fefa4.tar.gz freebsd-ports-graphics-25373907215dfafac76e0329efdb7e060e0fefa4.tar.zst freebsd-ports-graphics-25373907215dfafac76e0329efdb7e060e0fefa4.zip |
Fix a perl programming error in the zetaback patch file. This fix enables
bzip2 compression.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/zetaback/Makefile | 2 | ||||
-rw-r--r-- | sysutils/zetaback/files/patch-zetaback.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/zetaback/Makefile b/sysutils/zetaback/Makefile index 0faa02ccf5c..4db2c89b21e 100644 --- a/sysutils/zetaback/Makefile +++ b/sysutils/zetaback/Makefile @@ -7,7 +7,7 @@ PORTNAME= zetaback PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://labs.omniti.com/zetaback/tags/1.0/ diff --git a/sysutils/zetaback/files/patch-zetaback.in b/sysutils/zetaback/files/patch-zetaback.in index c1d9cde44f6..059c37b16f6 100644 --- a/sysutils/zetaback/files/patch-zetaback.in +++ b/sysutils/zetaback/files/patch-zetaback.in @@ -24,9 +24,9 @@ # Do it. yeah. + my $cp = config_get($host, 'compressionprogram'); -+ if ($cp != "bzip2" && $cp != "gzip" && $cp != "") { ++ if ($cp ne "bzip2" && $cp ne "gzip" && $cp ne "") { + die "zfs_full_backup: unsupported compression program specified\n"; -+ } elsif ($cp == "") { ++ } elsif ($cp eq "") { + $cp = "gzip"; + my $cl = 1; + } else { |