mirror of
https://github.com/freebsd/freebsd-update-build
synced 2026-03-24 04:48:05 +00:00
No description
- Shell 56.3%
- C 27%
- Roff 15.5%
- Noir 0.9%
- Makefile 0.3%
When a git revision deletes a file, `git diff --no-prefix` will generate a fragment like this: ``` diff --git contrib/tzdata/pacificnew contrib/tzdata/pacificnew deleted file mode 100644 index 8403219f6236..000000000000 --- contrib/tzdata/pacificnew +++ /dev/null ``` The patch command will correctly apply such a patch. However, the logic in applypatches that tries to delete patch's resulting backup files will attempt to delete both /dev/null.orig and /dev/null. Deleting the latter has obviously bad consequences. To fix this bug, simply delete all of that logic, and instruct patch not to generate backup files in the first place. Similarly, use the patch command to delete empty files, rather than doing it with shell script. Fixes #7 Sponsored by: Axcient |
||
|---|---|---|
| patches | ||
| scripts | ||
| src | ||
| tools | ||
| build-upgrade-patches.sh | ||
| README | ||
| USAGE | ||
$FreeBSD$ This directory contains FreeBSD Update build code. File Description ---- ----------- scripts/build.subr The routines which do all the work. scripts/build.conf Configuration settings. scripts/*.sh User-accessible scripts. scripts/X.Y-Z/bar/build.conf Configuration for FreeBSD/bar X.Y-Z scripts/X.Y-Z/build.subr and These files, if present, can override scripts/X.Y-Z/bar/build.subr the routines defined in scripts/build.subr in order to provide special treatment for a particular release or platform. src/findstamp.c Utility for comparing two binaries which were built from the same source code and printing out the locations where they differ due to timestamps. src/unstamp.c Utility for erasing timestamps found by findstamp.c. patches/X.Y-Z/0-* Patches to FreeBSD X.Y-Z which we pretend were part of the release. In FreeBSD 5.5 and FreeBSD 6.0 some of these are necessary in order to get rid of some problematic timestamps. patches/X.Y-Z/W-* Patches to FreeBSD X.Y-Z. These are applied in order of increasing W (assuming it is an integer), so a naming convention of setting W equal to the FreeBSD patch level (e.g., 9 for FreeBSD 6.0-RELEASE-p9) is strongly recommended.