1 |
From: Bo Ørsted Andresen <zlin@×××××××.org> |
2 |
|
3 |
--- |
4 |
pkg-mgr-commands.tex | 49 ++++++++++++++++++++++++++++--------------------- |
5 |
1 files changed, 28 insertions(+), 21 deletions(-) |
6 |
|
7 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
8 |
index 0065cdd..dea108e 100644 |
9 |
--- a/pkg-mgr-commands.tex |
10 |
+++ b/pkg-mgr-commands.tex |
11 |
@@ -168,17 +168,20 @@ has returned. |
12 |
\item[dobin] Installs the given files into \t{DESTTREE/bin}, where \t{DESTTREE} defaults to |
13 |
\t{/usr}. Gives the files mode \t{0755} and ownership \t{root:root}. |
14 |
|
15 |
-\item[doconfd] Installs the given files into /etc/conf.d/. |
16 |
+\item[doconfd] Installs the given files into /etc/conf.d/, by default with file mode |
17 |
+ \t{0644}. This can be overridden by setting \t{INSOPTIONS} with the \t{insopts} function. |
18 |
|
19 |
\item[dodir] Creates the given directories, by default with file mode \t{0755}. This can be overridden |
20 |
by setting \t{DIROPTIONS} with the \t{diropts} function. |
21 |
|
22 |
-\item[dodoc] Installs the given files into a subdirectory under \t{/usr/share/doc/\$\{PF\}/}. The |
23 |
- subdirectory is set by the most recent call to \t{docinto}. If \t{docinto} has not |
24 |
- yet been called, instead installs to the directory \t{/usr/share/doc/\$\{PF\}/}. |
25 |
+\item[dodoc] Installs the given files into a subdirectory under \t{/usr/share/doc/\$\{PF\}/} with |
26 |
+ file mode \t{0644}. The subdirectory is set by the most recent call to \t{docinto}. If |
27 |
+ \t{docinto} has not yet been called, instead installs to the directory |
28 |
+ \t{/usr/share/doc/\$\{PF\}/}. |
29 |
|
30 |
-\item[doexe] Installs the given files into the directory specified by the most recent |
31 |
- \t{exeinto} call. If \t{exeinto} has not yet been called, behaviour is undefined. |
32 |
+\item[doexe] Installs the given files into the directory specified by the most recent \t{exeinto} |
33 |
+ call, by default with file mode \t{0755}. This can be overridden by setting \t{EXEOPTIONS} with |
34 |
+ the \t{exeopts} function. If \t{exeinto} has not yet been called, behaviour is undefined. |
35 |
|
36 |
\IFKDEBUILDELSE |
37 |
{ |
38 |
@@ -213,16 +216,20 @@ are as follows: |
39 |
}{ |
40 |
} |
41 |
|
42 |
-\item[doinfo] Installs a GNU Info file into the \t{/usr/share/info} area. |
43 |
+\item[doinfo] Installs a GNU Info file into the \t{/usr/share/info} area with file mode \t{0644}. |
44 |
|
45 |
-\item[doinitd] Installs an initscript into \t{/etc/init.d}. |
46 |
+\item[doinitd] Installs an initscript into \t{/etc/init.d}, by default with file mode \t{0755}. |
47 |
+ This can be overridden by setting \t{EXEOPTIONS} with the \t{exeopts} function. |
48 |
|
49 |
-\item[doins] Takes any number of files as arguments and installs them into \t{INSDESTTREE}\@. If |
50 |
- the first argument is \t{-r}, then operates recursively, descending into any directories given. |
51 |
+\item[doins] Takes any number of files as arguments and installs them into \t{INSDESTTREE}\@, by |
52 |
+ default with file mode \t{0644}. This can be overridden by setting \t{INSOPTIONS} with the |
53 |
+ \t{insopts} function. If the first argument is \t{-r}, then operates recursively, descending |
54 |
+ into any directories given. |
55 |
|
56 |
\item[dolib] For each argument, installs it into the appropriate library directory as determined by |
57 |
- Algorithm~\ref{alg:ebuild-libdir}. Any symlinks are installed into the same directory as relative |
58 |
- links to their original target. |
59 |
+ Algorithm~\ref{alg:ebuild-libdir}, by default with file mode \t{0644}. This can be overridden by |
60 |
+ setting \t{LIBOPTIONS} with the \t{libopts} function. Any symlinks are installed into the same |
61 |
+ directory as relative links to their original target. |
62 |
|
63 |
\item[dolib.so] As for dolib. Installs the file with mode \t{0755}. |
64 |
|
65 |
@@ -251,15 +258,15 @@ are as follows: |
66 |
\end{algorithm} |
67 |
|
68 |
\item[doman] Installs a man page into the appropriate subdirectory of \t{/usr/share/man} depending |
69 |
- upon its apparent section suffix (e.g. \t{foo.1} goes to \t{/usr/share/man/man1/foo.1}. |
70 |
- In EAPIs listed in table~\ref{tab:doman-table} as supporting language codes, a man page with |
71 |
- name of the form\t{foo.lang.1} shall go to \t{/usr/share/man/lang/man1/foo.1}, where \t{lang} |
72 |
- refers to a pair of lower-case ASCII letters optionally followed by an underscore and a pair |
73 |
- of upper-case ASCII letters. |
74 |
- |
75 |
-\item[domo] Installs a \t{.mo} file into the appropriate subdirectory of \t{DESTTREE/share/locale}, |
76 |
- generated by taking the basename of the file, removing the \t{.*} suffix, and appending |
77 |
- \t{/LC\_MESSAGES}. |
78 |
+ upon its apparent section suffix (e.g. \t{foo.1} goes to \t{/usr/share/man/man1/foo.1} with file |
79 |
+ mode \t{0644}. In EAPIs listed in table~\ref{tab:doman-table} as supporting language codes, a |
80 |
+ man page with name of the form\t{foo.lang.1} shall go to \t{/usr/share/man/lang/man1/foo.1}, |
81 |
+ where \t{lang} refers to a pair of lower-case ASCII letters optionally followed by an underscore |
82 |
+ and a pair of upper-case ASCII letters. |
83 |
+ |
84 |
+\item[domo] Installs a \t{.mo} file with file mode \t{0644} into the appropriate subdirectory of |
85 |
+ \t{DESTTREE/share/locale}, generated by taking the basename of the file, removing the \t{.*} |
86 |
+ suffix, and appending \t{/LC\_MESSAGES}. |
87 |
|
88 |
\item[dosbin] As \t{dobin}, but installs to \t{DESTTREE/sbin}. |
89 |
|
90 |
-- |
91 |
1.6.2.1 |