commit: fe6a88cc8debf6f310da7b75b389997add9c48d9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 17:50:30 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 20:19:39 2022 +0000
URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=fe6a88cc
glep-0078: Link tar format to the respective standards
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
glep-0078.rst | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/glep-0078.rst b/glep-0078.rst
index e841f00..994c023 100644
--- a/glep-0078.rst
+++ b/glep-0078.rst
@@ -232,8 +232,10 @@ ignore unknown files but preserve them across package
updates.
Permitted .tar format features
------------------------------
-The tar archives should use either the POSIX ustar format or a subset
-of the GNU format with the following (optional) extensions:
+The tar archives should use either the POSIX ustar format as defined
+by POSIX.1-2017 [#POSIX-USTAR]_ or a subset of the ustar-compatible
+GNU tar format as described in the GNU tar manual [#GNU-TAR]_ with
+the following (optional) extensions:
- long pathnames and long linknames,
@@ -629,6 +631,13 @@ References
written in C
(https://packages.gentoo.org/packages/app-portage/portage-utils)
+.. [#POSIX-USTAR] The Open Group Base Specifications Issue 7, 2018
+ edition, pax - portable archive interchange, ustar Interchange Format
+
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06)
+
+.. [#GNU-TAR] GNU tar: an archiver tool, Appendix E Tar Internals
+ (https://www.gnu.org/software/tar/manual/html_node/Tar-Internals.html)
+
.. [#DEB-FORMAT] deb(5) — Debian binary package format
(https://manpages.debian.org/unstable/dpkg-dev/deb.5.en.html)