summaryrefslogtreecommitdiff
path: root/distrib/syspatch
AgeCommit message (Collapse)Author
2020-05-24Adjust the sanity check for patch file names to allow a hyphen.Theo Buehler
ok aja
2019-08-14Explain how to take over syspatch builds from another machine.Theo Buehler
ok ajacoutot robert
2019-05-12exit early if the errata name is invalid to avoid building a syspatchRobert Nagy
that cannot be installed
2019-05-12use readlink(1) on each file that we think is different to ensure thatRobert Nagy
only the resolved path is included ok ajacoutot@, tb@
2018-11-18MACHINE_ARCH -> MACHINE to fix syspatch build on macppc and arm64.Antoine Jacoutot
prodded by "multiplexd" ok tb@ who was coming up with the same patch
2018-10-30Missed that SUBDIR remnant in previous.Antoine Jacoutot
prodded by a mail from "multiplexd" ok robert@
2018-10-27SUBDIR is a remnant of the past.Antoine Jacoutot
ok robert@
2018-10-08Split the ${ERRATA}/${ERRATA}.patch target up into two: one forTheo Buehler
moving the signed patch to the proper location and one for verifying its signature and applying it. ok ajacoutot, robert
2018-06-25white spacesTheo de Raadt
2018-03-19use the correct relink directory pathRobert Nagy
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intoRobert Peichaer
one location under /usr/share/relink. Be more specific in src/etc/rc reorder_libs() what filesystems need r/w remount and ensure that their mount state is restored. Idea and positive feedback from deraadt@ OK aja@ tb@
2017-10-17remove the remaining references to .depend files since nothing creates themChristian Weisgerber
any longer; ok espie@ deraadt@
2017-09-03Previous fakeroot must be manually copied in case an errata does not applyAntoine Jacoutot
to the current architecture.
2017-08-23Install the patched kernel on the build machine just like we do forAntoine Jacoutot
userland. ok robert@
2017-08-21Add a comment about why we need to ignore the timestamps on perl man pagesAntoine Jacoutot
(Pod::Man adds the current date to the manuals). ok robert@
2017-08-21No need to explicitely add patch.sig to the plist, diff.sh will now pick itAntoine Jacoutot
up properly.
2017-08-21Kernel syspatches will now only contain the differing object files.Antoine Jacoutot
The syspatch(8) utility will be modified accordingly to relink the kernel at the end of its run (not done yet, still WIP). That will give us KARL and much smaller patches. Idea from deraadt@ OK robert@
2017-08-21Catch non existent files (in case a syspatch would _add_ a new file).Antoine Jacoutot
2017-08-21The syspatch(8) build system will eventually be properly documented in its ownAntoine Jacoutot
man(1) page but until things settle and the framework is robust, this file will be used as a quick reminder. ok robert@
2017-08-20Consistency in spacing.Antoine Jacoutot
2017-07-11use the previous syspatch's fake root for getting the link orderRobert Nagy
instead of using / where the libraries are re-ordered on reboot ok aja@
2017-07-10Set XSRCDIR to /usr/xenocara if it's not defined. Matches whatAntoine Jacoutot
/usr/X11R6/share/mk/bsd.xorg.mk does. ok robert@
2017-06-20Set SRCDIR according to build type and s/X11SRC/XSRCDIRAntoine Jacoutot
ok robert@
2017-06-06Don't patch(1) as the 'build' user; it has no right over the src tree.Antoine Jacoutot
That bug was hidden because patch(1) returns '0' on that particular case. To be fixed... ok robert@
2017-06-05a kernel errata requires a full build as well in case some headersRobert Nagy
change so let's do a full build all the time
2017-06-05set BUILDUSER to build by default, this can be overwritten from the environmentRobert Nagy
2017-06-05do not add ./ to the path of the files in the tarballRobert Nagy
2017-06-05do not remove used files from the fakerootRobert Nagy
2017-04-22do not leave temp files after the diffing is doneRobert Nagy
2017-04-22Add a small shell script to be used by syspatch to diff the fake rootRobert Nagy
directories for changes due to the fact that we have to do some "magic" to figure out if things have really changed.
2017-04-22rework the syspatch makefile and do complete builds for each errataRobert Nagy
and diff those instead of doing partial builds of affected directories
2017-01-17rework some of the variables for better directory name handling andRobert Nagy
add support for linking against libraries inside the fake root so that syspatches can include static binaries linked with the fixed libraries
2016-11-09oops, OSREV -> OSrev.Antoine Jacoutot
2016-11-09Use https to get the patches.Antoine Jacoutot
Fix syspatch naming. ok robert@
2016-11-03switch to using BUILDUSER and add more error checkingRobert Nagy
2016-09-05use OSREV and OSrev instead of setting them in the makefileRobert Nagy
and remove variables for MAKE, SIGNIFY, etc. prodded by deraadt@
2016-09-04allow everything to run as unprivileged user except for fakeRobert Nagy
install and mtree by splitting up some targets
2016-09-03add infrastructure to build syspatches (binary updates to stable)Robert Nagy
Makefile.000 corresponds to errata_000 which is nonexistent so it is a good place to provide an example of how to build the others this is still work in progress, getting it in so people can join in on the development ok deraadt@