aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2007-10-23 19:20:24 +0800
committerolgeni <olgeni@FreeBSD.org>2007-10-23 19:20:24 +0800
commit1ce5c85c6bb914f9d70e0fb62ed11724b15de31f (patch)
tree414e817392092c4eaa1fb29aa9371c88bcad2d30 /sysutils
parent198d5f013160408fc597cbbbb02476bec4cdc8ac (diff)
downloadfreebsd-ports-graphics-1ce5c85c6bb914f9d70e0fb62ed11724b15de31f.tar.gz
freebsd-ports-graphics-1ce5c85c6bb914f9d70e0fb62ed11724b15de31f.tar.zst
freebsd-ports-graphics-1ce5c85c6bb914f9d70e0fb62ed11724b15de31f.zip
Ignore incompatible flags when using BSD tar, else tar backups would not be performed.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/webmin/files/patch-fsdump_freebsd-lib.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl b/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl
new file mode 100644
index 00000000000..e4da9c721f3
--- /dev/null
+++ b/sysutils/webmin/files/patch-fsdump_freebsd-lib.pl
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- fsdump/freebsd-lib.pl.orig
++++ fsdump/freebsd-lib.pl
+@@ -229,8 +229,10 @@
+ $cmd .= " -M" if ($_[0]->{'multi'});
+ $cmd .= " -h" if ($_[0]->{'links'});
+ $cmd .= " -l" if ($_[0]->{'xdev'});
++ if (${tar_command} ne '/usr/bin/tar') {
+ $cmd .= " -F \"$tapecmd $_[0]->{'id'}\"" if (!$_[0]->{'gzip'});
+ $cmd .= " --rsh-command=$_[0]->{'rsh'}" if ($_[0]->{'rsh'});
++ }
+ $cmd .= " $_[0]->{'extra'}" if ($_[0]->{'extra'});
+ $cmd .= " '$_[0]->{'dir'}'";
+ }