aboutsummaryrefslogtreecommitdiffstats
path: root/editors/libreoffice
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-05-08 04:16:17 +0800
committerjkim <jkim@FreeBSD.org>2014-05-08 04:16:17 +0800
commitab984ff58e9b698d3043c4ca5942019fe3cd3516 (patch)
tree83529edfa698a1e8a009242ac8dfc614e27cd41e /editors/libreoffice
parent887f80a32bbb92f0121b32ca6da69706fa97ff9e (diff)
downloadfreebsd-ports-gnome-ab984ff58e9b698d3043c4ca5942019fe3cd3516.tar.gz
freebsd-ports-gnome-ab984ff58e9b698d3043c4ca5942019fe3cd3516.tar.zst
freebsd-ports-gnome-ab984ff58e9b698d3043c4ca5942019fe3cd3516.zip
Do not preserve owners and permissions when extracting external sources.
For example, xmlsec1 tarball contains world-writable directories. Reported by: tijl
Diffstat (limited to 'editors/libreoffice')
-rw-r--r--editors/libreoffice/files/patch-solenv__gbuild__UnpackedTarball.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-solenv__gbuild__UnpackedTarball.mk b/editors/libreoffice/files/patch-solenv__gbuild__UnpackedTarball.mk
new file mode 100644
index 000000000000..74266b638f1c
--- /dev/null
+++ b/editors/libreoffice/files/patch-solenv__gbuild__UnpackedTarball.mk
@@ -0,0 +1,10 @@
+--- solenv/gbuild/UnpackedTarball.mk.orig 2014-04-22 18:25:28.000000000 -0400
++++ solenv/gbuild/UnpackedTarball.mk 2014-05-07 13:33:55.000000000 -0400
+@@ -33,6 +33,7 @@
+ -x \
+ $(3) \
+ -C $(UNPACKED_DIR) \
++ --no-same-owner --no-same-permissions \
+ $(STRIP_COMPONENTS)=$(UNPACKED_STRIP_COMPONENTS) \
+ -f $(UNPACKED_TARBALL)
+ endef