Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH] unpack: Clarify where decompressed files are written.
Date: Sat, 17 Jun 2017 08:42:15
Message-Id: 22852.60255.347990.724839@a1i15.kph.uni-mainz.de
1 It is not entirely clear from the current wording where decompressed
2 files are to be written, and if any name stored in their header (e.g.
3 for gzip compressed files) should be used as the target filename.
4
5 Thanks to mgorny for pointing this out.
6 ---
7 pkg-mgr-commands.tex | 10 ++++++----
8 1 file changed, 6 insertions(+), 4 deletions(-)
9
10 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
11 index 363dea6..6fd35ae 100644
12 --- a/pkg-mgr-commands.tex
13 +++ b/pkg-mgr-commands.tex
14 @@ -827,10 +827,12 @@ has returned.
15 EAPIs. In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per
16 section~\ref{sec:banned-commands}.
17
18 -\item[unpack] Unpacks one or more source archives, in order, into the current directory. After
19 - unpacking, must ensure that all filesystem objects inside the current working directory (but not
20 - the current working directory itself) have permissions \t{a+r,u+w,go-w} and that all directories
21 - under the current working directory additionally have permissions \t{a+x}.
22 +\item[unpack] Unpacks one or more source archives, in order, into the current directory.
23 + For compressed files, creates the target file in the current directory, with the compression
24 + suffix removed from its name. After unpacking, must ensure that all filesystem objects inside
25 + the current working directory (but not the current working directory itself) have permissions
26 + \t{a+r,u+w,go-w} and that all directories under the current working directory additionally have
27 + permissions \t{a+x}.
28
29 Arguments to \t{unpack} are interpreted as follows:
30 \begin{compactitem}
31 --
32 2.13.1

Replies