Change tar owner and group to just 0
authorRichard Levitte <levitte@openssl.org>
Mon, 7 Dec 2015 15:50:15 +0000 (16:50 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Dec 2015 19:10:51 +0000 (20:10 +0100)
It seems like some tar versions don't like the name:id form for
--owner and --group.  The closest known anonymous user being 0 (root),
that seems to be the most appropriate user/group to assign ownership
to.  It matters very little when unpacking either way.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit b91dd150d2b9b5ddca37722e7f52ea59ba7f80da)

Makefile.org

index acc86ef8dd5d87fe38c1f7639b777ea1dfb0be8b..e035fc4d2b8a6806f41f68f07585a44be7dde157 100644 (file)
@@ -499,7 +499,7 @@ TABLE: Configure
 # and read directly, requiring GNU-Tar. Call "make TAR=gtar dist" if the normal
 # tar does not support the --files-from option.
 TAR_COMMAND=$(TAR) $(TARFLAGS) --files-from $(TARFILE).list \
-                              --owner openssl:0 --group openssl:0 \
+                              --owner 0 --group 0 \
                               --transform 's|^|$(NAME)/|' \
                               -cvf -