diff options
author | olgeni <olgeni@FreeBSD.org> | 2007-10-23 19:20:24 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2007-10-23 19:20:24 +0800 |
commit | 1ce5c85c6bb914f9d70e0fb62ed11724b15de31f (patch) | |
tree | 414e817392092c4eaa1fb29aa9371c88bcad2d30 /sysutils/webmin | |
parent | 198d5f013160408fc597cbbbb02476bec4cdc8ac (diff) | |
download | freebsd-ports-gnome-1ce5c85c6bb914f9d70e0fb62ed11724b15de31f.tar.gz freebsd-ports-gnome-1ce5c85c6bb914f9d70e0fb62ed11724b15de31f.tar.zst freebsd-ports-gnome-1ce5c85c6bb914f9d70e0fb62ed11724b15de31f.zip |
Ignore incompatible flags when using BSD tar, else tar backups would not be performed.
Diffstat (limited to 'sysutils/webmin')
-rw-r--r-- | sysutils/webmin/files/patch-fsdump_freebsd-lib.pl | 16 |
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 000000000000..e4da9c721f32 --- /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'}'"; + } |