OpenBSD CVS

CVS log for src/distrib/syspatch/bsd.syspatch.mk


[BACK] Up to [local] / src / distrib / syspatch

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Sun May 24 16:48:35 2020 UTC (4 years ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, HEAD
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Adjust the sanity check for patch file names to allow a hyphen.

ok aja

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 12 15:30:18 2019 UTC (5 years ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored)

exit early if the errata name is invalid to avoid building a syspatch
that cannot be installed

Revision 1.24 / (download) - annotate - [select for diffs], Sun Nov 18 15:30:04 2018 UTC (5 years, 6 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

MACHINE_ARCH -> MACHINE to fix syspatch build on macppc and arm64.

prodded by "multiplexd"
ok tb@ who was coming up with the same patch

Revision 1.23 / (download) - annotate - [select for diffs], Sat Oct 27 16:49:16 2018 UTC (5 years, 7 months ago) by ajacoutot
Branch: MAIN
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

SUBDIR is a remnant of the past.

ok robert@

Revision 1.22 / (download) - annotate - [select for diffs], Mon Oct 8 20:38:32 2018 UTC (5 years, 8 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.21: +9 -8 lines
Diff to previous 1.21 (colored)

Split the ${ERRATA}/${ERRATA}.patch target up into two: one for
moving the signed patch to the proper location and one for
verifying its signature and applying it.

ok ajacoutot, robert

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 25 16:29:00 2018 UTC (5 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

white spaces

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 19 17:27:03 2018 UTC (6 years, 2 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

use the correct relink directory path

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 17 19:31:56 2017 UTC (6 years, 7 months ago) by naddy
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

remove the remaining references to .depend files since nothing creates them
any longer; ok espie@ deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 23 13:13:37 2017 UTC (6 years, 9 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.17: +5 -1 lines
Diff to previous 1.17 (colored)

Install the patched kernel on the build machine just like we do for
userland.

ok robert@

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 21 08:46:33 2017 UTC (6 years, 9 months ago) by ajacoutot
Branch: MAIN
Changes since 1.16: +0 -3 lines
Diff to previous 1.16 (colored)

No need to explicitely add patch.sig to the plist, diff.sh will now pick it
up properly.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 21 08:45:38 2017 UTC (6 years, 9 months ago) by ajacoutot
Branch: MAIN
Changes since 1.15: +11 -9 lines
Diff to previous 1.15 (colored)

Kernel syspatches will now only contain the differing object files.
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@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 11 18:16:48 2017 UTC (6 years, 10 months ago) by robert
Branch: MAIN
Changes since 1.14: +13 -12 lines
Diff to previous 1.14 (colored)

use the previous syspatch's fake root for getting the link order
instead of using / where the libraries are re-ordered on reboot

ok aja@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 10 07:28:26 2017 UTC (6 years, 11 months ago) by ajacoutot
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Set XSRCDIR to /usr/xenocara if it's not defined. Matches what
/usr/X11R6/share/mk/bsd.xorg.mk does.

ok robert@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 20 18:32:26 2017 UTC (6 years, 11 months ago) by ajacoutot
Branch: MAIN
Changes since 1.12: +3 -4 lines
Diff to previous 1.12 (colored)

Set SRCDIR according to build type and s/X11SRC/XSRCDIR

ok robert@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 6 20:34:07 2017 UTC (7 years ago) by ajacoutot
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Don't patch(1) as the 'build' user; it has no right over the src tree.
That bug was hidden because patch(1) returns '0' on that particular case.
To be fixed...

ok robert@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 5 09:47:54 2017 UTC (7 years ago) by robert
Branch: MAIN
Changes since 1.10: +10 -6 lines
Diff to previous 1.10 (colored)

a kernel errata requires a full build as well in case some headers
change so let's do a full build all the time

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 5 09:46:25 2017 UTC (7 years ago) by robert
Branch: MAIN
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored)

set BUILDUSER to build by default, this can be overwritten from the environment

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 5 09:44:56 2017 UTC (7 years ago) by robert
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

do not add ./ to the path of the files in the tarball

Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 22 13:39:00 2017 UTC (7 years, 1 month ago) by robert
Branch: MAIN
Changes since 1.7: +38 -36 lines
Diff to previous 1.7 (colored)

rework the syspatch makefile and do complete builds for each errata
and diff those instead of doing partial builds of affected directories

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 17 20:58:56 2017 UTC (7 years, 4 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.6: +40 -53 lines
Diff to previous 1.6 (colored)

rework some of the variables for better directory name handling and
add support for linking against libraries inside the fake root so
that syspatches can include static binaries linked with the fixed libraries

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 9 15:45:28 2016 UTC (7 years, 7 months ago) by ajacoutot
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

oops, OSREV -> OSrev.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 9 15:43:22 2016 UTC (7 years, 7 months ago) by ajacoutot
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Use https to get the patches.
Fix syspatch naming.

ok robert@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 3 14:46:48 2016 UTC (7 years, 7 months ago) by robert
Branch: MAIN
Changes since 1.3: +61 -33 lines
Diff to previous 1.3 (colored)

switch to using BUILDUSER and add more error checking

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 5 11:55:06 2016 UTC (7 years, 9 months ago) by robert
Branch: MAIN
Changes since 1.2: +9 -17 lines
Diff to previous 1.2 (colored)

use OSREV and OSrev instead of setting them in the makefile
and remove variables for MAKE, SIGNIFY, etc.

prodded by deraadt@

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 4 16:40:34 2016 UTC (7 years, 9 months ago) by robert
Branch: MAIN
Changes since 1.1: +45 -23 lines
Diff to previous 1.1 (colored)

allow everything to run as unprivileged user except for fake
install and mtree by splitting up some targets

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 3 21:43:25 2016 UTC (7 years, 9 months ago) by robert
Branch: MAIN

add infrastructure to build syspatches (binary updates to stable)

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.