Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| ab4ff063 | 2025-07-13 08:19:24 | Don't perform font caching as root. During build, run fc-cache as BUILDUSER. When fc-cache is run as root, drop automatically to the _fc-cache user so /var/cache/fontconfig doesn't acquire root-owned files. ok deraadt@ | ||
| e573efcd | 2018-07-09 21:20:56 | Make sure the fontconfig cache in the xbaseXX.tgz set is valid. Tarballs only store timestamps with 1s resolution, while the fontconfig cache uses nano-second resolution from the filesystem to check that a directory hasn't changed. So the font directories extracted by the installer were almost always considered out of date, causing applications that use fontconfig to trigger a rebuild of the cache. Now, when installing with DESTDIR set, we use a perl one-liner to remove the nanoseconds from the mtime of the fonts directories before running fc-cache, so that the timestamps recorded in the cache match what will be set after extracting the xfont set. Help and suggestions from at least guenther@, millert@, espie@ and deraadt@ | ||
| d1cd8816 | 2016-11-19 08:38:15 | Set permissions of fontconfig cache files, fonts.dir and fons.scale explicitly, so they don't depend on the umask. push forward deraadt; no objections matthieu | ||
| 1a97432a | 2016-10-02 20:55:09 | Fix ownership of fonts.dir and font.scale files as well as fontconfig font caches. mkfontdir and mkfontscale are now run out of font/alias at the end of the build or install, like fc-cache. fc-cache is using its -y (sysroot) flag that works if used correctly. | ||
| 77968275 | 2012-08-18 10:38:39 | let build and release proceed through the exact same steps, avoiding nasty surprises... REQUIRES current /usr/share/mk (cd /usr/src/share/mk && make install) okay matthieu@ | ||
| ea34eb06 | 2008-03-20 20:54:57 | Fix my previous attempt to run 'fc-cache -v' at the end of a make build. tested by naddy@. | ||
| 54a0c4eb | 2006-11-26 17:37:04 | Build infrastructure for font |