summaryrefslogtreecommitdiffstats
path: root/distrib/syspatch
AgeCommit message (Collapse)AuthorFilesLines
2020-05-24Adjust the sanity check for patch file names to allow a hyphen.tb1-2/+2
ok aja
2019-08-14Explain how to take over syspatch builds from another machine.tb1-2/+18
ok ajacoutot robert
2019-05-12exit early if the errata name is invalid to avoid building a syspatchrobert1-1/+5
that cannot be installed
2019-05-12use readlink(1) on each file that we think is different to ensure thatrobert1-6/+20
only the resolved path is included ok ajacoutot@, tb@
2018-11-18MACHINE_ARCH -> MACHINE to fix syspatch build on macppc and arm64.ajacoutot1-5/+5
prodded by "multiplexd" ok tb@ who was coming up with the same patch
2018-10-30Missed that SUBDIR remnant in previous.ajacoutot1-7/+1
prodded by a mail from "multiplexd" ok robert@
2018-10-27SUBDIR is a remnant of the past.ajacoutot2-9/+2
ok robert@
2018-10-08Split the ${ERRATA}/${ERRATA}.patch target up into two: one fortb1-8/+9
moving the signed patch to the proper location and one for verifying its signature and applying it. ok ajacoutot, robert
2018-06-25white spacesderaadt1-2/+2
2018-03-19use the correct relink directory pathrobert1-3/+3
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intorpe1-4/+4
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 themnaddy1-2/+2
any longer; ok espie@ deraadt@
2017-09-03Previous fakeroot must be manually copied in case an errata does not applyajacoutot1-1/+7
to the current architecture.
2017-08-23Install the patched kernel on the build machine just like we do forajacoutot1-1/+5
userland. ok robert@
2017-08-21Add a comment about why we need to ignore the timestamps on perl man pagesajacoutot1-1/+4
(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 itajacoutot1-4/+1
up properly.
2017-08-21Kernel syspatches will now only contain the differing object files.ajacoutot1-9/+11
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).ajacoutot1-3/+3
2017-08-21The syspatch(8) build system will eventually be properly documented in its ownajacoutot1-0/+66
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.ajacoutot1-2/+2
2017-07-11use the previous syspatch's fake root for getting the link orderrobert1-12/+13
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 whatajacoutot1-1/+2
/usr/X11R6/share/mk/bsd.xorg.mk does. ok robert@
2017-06-20Set SRCDIR according to build type and s/X11SRC/XSRCDIRajacoutot1-4/+3
ok robert@
2017-06-06Don't patch(1) as the 'build' user; it has no right over the src tree.ajacoutot1-2/+2
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 headersrobert1-6/+10
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 environmentrobert1-1/+4
2017-06-05do not add ./ to the path of the files in the tarballrobert1-2/+2
2017-06-05do not remove used files from the fakerootrobert1-2/+1
2017-04-22do not leave temp files after the diffing is donerobert1-2/+2
2017-04-22Add a small shell script to be used by syspatch to diff the fake rootrobert1-0/+49
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 erratarobert1-36/+38
and diff those instead of doing partial builds of affected directories
2017-01-17rework some of the variables for better directory name handling androbert1-53/+40
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.ajacoutot1-2/+2
2016-11-09Use https to get the patches.ajacoutot1-3/+3
Fix syspatch naming. ok robert@
2016-11-03switch to using BUILDUSER and add more error checkingrobert1-33/+61
2016-09-05use OSREV and OSrev instead of setting them in the makefilerobert1-17/+9
and remove variables for MAKE, SIGNIFY, etc. prodded by deraadt@
2016-09-04allow everything to run as unprivileged user except for fakerobert1-23/+45
install and mtree by splitting up some targets
2016-09-03add infrastructure to build syspatches (binary updates to stable)robert3-0/+191
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@