History log of /openbsd-current/share/mk/bsd.obj.mk
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.19 24-Jan-2017 tb

Modernize and unify test idioms for the sake of readability and
consistency. Done jointly with rpe.

ok deraadt, phessler, rpe;
also looks good to guenther despite a slight change in semantics


# 1.18 24-Jan-2017 tb

Zap a "true ;" that is there for no good reason.

discussed with ajacoutot


# 1.17 21-Jan-2017 tb

Only do chown :wobj when this command will succeed. Allows using
bsd.prog.mk outside /usr/src by users not belonging to group wobj.

Requested by many after a report by Sebastien Marie.
ok deraadt


# 1.16 19-Nov-2016 tb

Enable builds with a dedicated user that cannot elevate privileges or write
to /usr/src or /usr/xenocara.

Change /usr/{,x}obj to owner build:wobj with mode 770 and install the
systemwide makefiles before starting a build. The root of the noperm fs
containing DESTDIR should also be owned by build:wobj.

Developers will need to add their users to group wobj to be able to write
to /usr/{,x}obj/.

"push forward" deraadt; testing, input & ok rpe


# 1.15 06-Oct-2016 natano

Use BUILDUSER as the owner of new links/directories created in 'make obj'
when started as root.

diff by millert with tweaks by me
ok tb deraadt


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 22-Nov-2013 espie

remove unused goo, okay guenther@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.13 01-May-2007 espie

warn if base obj directory does not exist.
okay deraadt@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.12 28-Oct-2003 espie

indent tests for readability.

actually declare a _SUBDIRUSE target.
(this allows one to just include bsd.obj.mk if bsd.subdir.mk is not actually
needed, or to include bsd.obj.mk and bsd.subdir.mk in any order)

okay millert@


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.11 22-Aug-1997 flipk

"ln -s" becomes "ln -sf"


# 1.10 28-Jun-1997 grr

been discussed several times with no real objection, do it


# 1.9 12-Jun-1997 kstailey

goodbye perl


Revision tags: OPENBSD_2_1_BASE
# 1.8 03-May-1997 niklas

Workaround bug in some shells, esp. the one shipped in 2.0.


# 1.7 27-Apr-1997 niklas

Allow BSDSRCDIR to point to a symlink. This means /usr/src can be a symlink
without having to explicitly set BSDSRCDIR


# 1.6 10-Apr-1997 deraadt

if generating obj@ links, check if the existing obj@ link points to the
same path we want to make it point to later. If it does, leave the link
as-is and do not attempt to recreate it. read-only /usr/src with obj@
links will work much better with this. Fix from Niklas -- anyone who
figures out a way to do this without using perl gets a cookie.


Revision tags: OPENBSD_2_0_BASE
# 1.5 23-Aug-1996 niklas

OK this time for real: Support MAKEOBJDIR, and force the obj rule.


# 1.4 23-Aug-1996 niklas

Support MAKEOBJDIR. Change "obj" rule to be forced.


# 1.3 22-Apr-1996 deraadt

sync with netbsd 960418


# 1.2 05-Mar-1996 mickey

Labeling style changed ($OpenBSD$).
POSTINSTALL added to the <bsd.lkm.mk> (see bsd.README for details).


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision