Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264130 | Differences between
and this patch

Collapse All | Expand All

(-)a/eapi-differences.tex (+4 lines)
Lines 261-266 Controllable compression & \compactfeatureref{controllable-compress} & No & No & Link Here
261
\t{default} function & \compactfeatureref{default-func} & No & No &
261
\t{default} function & \compactfeatureref{default-func} & No & No &
262
    \IFANYKDEBUILDELSE{\IFKDEBUILDCOLOUR{No} &}{} Yes & Yes & Yes \\
262
    \IFANYKDEBUILDELSE{\IFKDEBUILDCOLOUR{No} &}{} Yes & Yes & Yes \\
263
263
264
File mtimes preserved & \compactfeatureref{mtime-preserve} & Undefined & Undefined &
265
    \IFANYKDEBUILDELSE{\IFKDEBUILDCOLOUR{Undefined} &}{} Undefined & Yes & Yes \\
266
264
\end{longtable}
267
\end{longtable}
265
\end{landscape}
268
\end{landscape}
266
269
Lines 327-332 EAPI 2 is EAPI 1 with the following changes: Link Here
327
330
328
EAPI 3 is EAPI 2 with the following changes:
331
EAPI 3 is EAPI 2 with the following changes:
329
\begin{compactitem}
332
\begin{compactitem}
333
\item File modification times are preserved, \featureref{mtime-preserve}.
330
\item (to be completed)
334
\item (to be completed)
331
\end{compactitem}
335
\end{compactitem}
332
336
(-)a/merge.tex (-3 / +38 lines)
Lines 60-67 as follows: Link Here
60
    set*id bit set.
60
    set*id bit set.
61
\end{compactitem}
61
\end{compactitem}
62
62
63
On SELinux systems, the SELinux context must also be preserved. Other file attributes, including
63
On SELinux systems, the SELinux context must also be preserved. Other
64
modification time, may be discarded.
64
file attributes may be discarded.
65
66
\subsection{File modification times}
67
68
\featurelabel{mtime-preserve}
69
In EAPIs listed in table~\ref{tab:mtime-preserve}, the package manager
70
must preserve modification times of regular files. This includes files
71
being compressed before merging. Exceptions to this are files newly
72
created by the package manager and binary object files being stripped
73
of symbols.
74
75
The integer seconds part of the modification time is guaranteed to be
76
preserved. The package manager may also preserve sub-second
77
timestamps; in this case, the full precision available with the
78
underlying operating system, filesystems, and programming language
79
must be used. Timestamps of all files installed in the same
80
destination filesystem must be handled in a consistent way, especially
81
their ordering must be preserved.
82
83
In other EAPIs, the behaviour with respect to file modification times
84
is undefined.
85
86
\begin{centertable}{Preservation of file modification times (mtimes)}
87
    \label{tab:mtime-preserve}
88
    \begin{tabular}{ l l }
89
        \toprule
90
            \multicolumn{1}{c}{\textbf{EAPI}} &
91
            \multicolumn{1}{c}{\textbf{mtimes preserved?}} \\
92
            \midrule
93
    \t{0} & Undefined \\
94
    \t{1} & Undefined \\
95
    \t{2} & Undefined \\
96
    \t{3} & Yes \\
97
    \t{4} & Yes \\
98
    \bottomrule
99
    \end{tabular}
100
\end{centertable}
65
101
66
\subsection{Configuration File Protection}
102
\subsection{Configuration File Protection}
67
\label{sec:config-protect}
103
\label{sec:config-protect}
68
- 

Return to bug 264130