[Buildroot] [PATCH v2] package/x11r7/xfont_font-*: make outputs reproducible

Peter Korsgaard peter at korsgaard.com
Tue Jul 21 21:05:41 UTC 2020


>>>>> "Aaron" == Aaron Sierra <asierra at xes-inc.com> writes:

 > Prior to gzip 1.10, the compression pipeline used with PCF fonts was
 > not reproducible due to the implicit -N/--name injecting a timestamp:

 >   $ cat /path/to/file | gzip > /path/to/file.gz

 > This updates Portable Compiled Format font packages to have a host-gzip
 > dependency, so gzip version 1.10 or newer will reliably be used.

 > This change does not affect encodings, which use a seemingly synonymous
 > compression pipeline that happens to be reproducible with gzip versions
 > at least as old as version 1.3.13:

 >   $ gzip < /path/to/file > /path/to/file.gz

 > Reported-by: Jordan Speicher <jspeicher at xes-inc.com>
 > Signed-off-by: Aaron Sierra <asierra at xes-inc.com>
 > ---
 > Changes v1 -> v2:
 >   - Use host-gzip instead of converting to bzip2 for reproducibility

Committed to 2020.02.x and 2020.05.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list