summaryrefslogtreecommitdiffstats
path: root/distrib/syspatch (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adjust the sanity check for patch file names to allow a hyphen.tb2020-05-241-2/+2
| | | | ok aja
* Explain how to take over syspatch builds from another machine.tb2019-08-141-2/+18
| | | | ok ajacoutot robert
* exit early if the errata name is invalid to avoid building a syspatchrobert2019-05-121-1/+5
| | | | that cannot be installed
* use readlink(1) on each file that we think is different to ensure thatrobert2019-05-121-6/+20
| | | | | | only the resolved path is included ok ajacoutot@, tb@
* MACHINE_ARCH -> MACHINE to fix syspatch build on macppc and arm64.ajacoutot2018-11-181-5/+5
| | | | | prodded by "multiplexd" ok tb@ who was coming up with the same patch
* Missed that SUBDIR remnant in previous.ajacoutot2018-10-301-7/+1
| | | | | prodded by a mail from "multiplexd" ok robert@
* SUBDIR is a remnant of the past.ajacoutot2018-10-272-9/+2
| | | | ok robert@
* Split the ${ERRATA}/${ERRATA}.patch target up into two: one fortb2018-10-081-8/+9
| | | | | | | moving the signed patch to the proper location and one for verifying its signature and applying it. ok ajacoutot, robert
* white spacesderaadt2018-06-251-2/+2
|
* use the correct relink directory pathrobert2018-03-191-3/+3
|
* Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intorpe2017-11-051-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@
* remove the remaining references to .depend files since nothing creates themnaddy2017-10-171-2/+2
| | | | any longer; ok espie@ deraadt@
* Previous fakeroot must be manually copied in case an errata does not applyajacoutot2017-09-031-1/+7
| | | | to the current architecture.
* Install the patched kernel on the build machine just like we do forajacoutot2017-08-231-1/+5
| | | | | | userland. ok robert@
* Add a comment about why we need to ignore the timestamps on perl man pagesajacoutot2017-08-211-1/+4
| | | | | | (Pod::Man adds the current date to the manuals). ok robert@
* No need to explicitely add patch.sig to the plist, diff.sh will now pick itajacoutot2017-08-211-4/+1
| | | | up properly.
* Kernel syspatches will now only contain the differing object files.ajacoutot2017-08-211-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@
* Catch non existent files (in case a syspatch would _add_ a new file).ajacoutot2017-08-211-3/+3
|
* The syspatch(8) build system will eventually be properly documented in its ownajacoutot2017-08-211-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@
* Consistency in spacing.ajacoutot2017-08-201-2/+2
|
* use the previous syspatch's fake root for getting the link orderrobert2017-07-111-12/+13
| | | | | | instead of using / where the libraries are re-ordered on reboot ok aja@
* Set XSRCDIR to /usr/xenocara if it's not defined. Matches whatajacoutot2017-07-101-1/+2
| | | | | | /usr/X11R6/share/mk/bsd.xorg.mk does. ok robert@
* Set SRCDIR according to build type and s/X11SRC/XSRCDIRajacoutot2017-06-201-4/+3
| | | | ok robert@
* Don't patch(1) as the 'build' user; it has no right over the src tree.ajacoutot2017-06-061-2/+2
| | | | | | | That bug was hidden because patch(1) returns '0' on that particular case. To be fixed... ok robert@
* a kernel errata requires a full build as well in case some headersrobert2017-06-051-6/+10
| | | | change so let's do a full build all the time
* set BUILDUSER to build by default, this can be overwritten from the environmentrobert2017-06-051-1/+4
|
* do not add ./ to the path of the files in the tarballrobert2017-06-051-2/+2
|
* do not remove used files from the fakerootrobert2017-06-051-2/+1
|
* do not leave temp files after the diffing is donerobert2017-04-221-2/+2
|
* Add a small shell script to be used by syspatch to diff the fake rootrobert2017-04-221-0/+49
| | | | | directories for changes due to the fact that we have to do some "magic" to figure out if things have really changed.
* rework the syspatch makefile and do complete builds for each erratarobert2017-04-221-36/+38
| | | | and diff those instead of doing partial builds of affected directories
* rework some of the variables for better directory name handling androbert2017-01-171-53/+40
| | | | | add support for linking against libraries inside the fake root so that syspatches can include static binaries linked with the fixed libraries
* oops, OSREV -> OSrev.ajacoutot2016-11-091-2/+2
|
* Use https to get the patches.ajacoutot2016-11-091-3/+3
| | | | | | Fix syspatch naming. ok robert@
* switch to using BUILDUSER and add more error checkingrobert2016-11-031-33/+61
|
* use OSREV and OSrev instead of setting them in the makefilerobert2016-09-051-17/+9
| | | | | | and remove variables for MAKE, SIGNIFY, etc. prodded by deraadt@
* allow everything to run as unprivileged user except for fakerobert2016-09-041-23/+45
| | | | install and mtree by splitting up some targets
* add infrastructure to build syspatches (binary updates to stable)robert2016-09-033-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@