summaryrefslogtreecommitdiff
path: root/share/mk
AgeCommit message (Collapse)Author
2017-03-04crank to 6.1-betaTheo de Raadt
2017-01-24Modernize and unify test idioms for the sake of readability andTheo Buehler
consistency. Done jointly with rpe. ok deraadt, phessler, rpe; also looks good to guenther despite a slight change in semantics
2017-01-24Zap a "true ;" that is there for no good reason.Theo Buehler
discussed with ajacoutot
2017-01-21Only do chown :wobj when this command will succeed. Allows usingTheo Buehler
bsd.prog.mk outside /usr/src by users not belonging to group wobj. Requested by many after a report by Sebastien Marie. ok deraadt
2016-12-18Introduce a list of architectures that use clang as compiler. ThePatrick Wildt
first arch on that list is aarch64. ok kettenis@
2016-11-19Enable builds with a dedicated user that cannot elevate privileges or writeTheo Buehler
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
2016-11-08Use sed -i to post-process .depend. This avoids permission issues causedMartin Natano
by the file being created in /tmp. tweaks and ok tb
2016-10-15unify tmp depend generation.Marc Espie
- simpler uniform pattern - put the tmpfile in OBJDIR, so that mv doesn't whine about groups when using a separate builduser. okay millert@
2016-10-08Do not let "make all" run the tests in the subdirectories twiceIngo Schwarze
if a Makefile using <bsd.regress.mk> defines both SUBDIR and REGRESS_TARGETS. This helps for example src/regress/usr.bin/ssh/. Same for "make cleandir", don't run "make clean" twice in SUBDIR. OK bluhm@, and no opposition when shown on tech@.
2016-10-06Use BUILDUSER as the owner of new links/directories created in 'make obj'Martin Natano
when started as root. diff by millert with tweaks by me ok tb deraadt
2016-10-05De-escalate to an unprivileged users during 'make build' and 'make release'.Martin Natano
- If you start make build as root, everything will be run as root. Nothing new here. New is, that you can set BUILDUSER=somebody and the unprived parts will be run as somebody. - If you start make build with sudo, the unprived parts will be run as the real user (meaning YOU). You can still set BUILDUSER=somebody and the uprived parts will run as somebody. - If you start make build as a normal user it will error out. "I'm sorry Dave." Note that DESTDIR must be on partition with the noperm flag set for make release to work correctly as an unprivileged user. idea and ok deraadt input and ok tb ratchov millert rpe, halex and probably others where part of the conversation to make this happen, thanks!
2016-09-21Loadable kernel modules are gone.Martin Natano
ok millert, deraadt and tb, who sent the same diff to tech@ some time ago
2016-09-08Enable -static -pie on arm.Mark Kettenis
ok guenther@, jsg@
2016-09-04Treat .cpp files as C++ source code in make depend.Patrick Wildt
ok deraadt@ jca@ jsg@ millert@
2016-09-03Enable PIE on arm now that sjlj exceptions are no longer used afterJonathan Gray
the switch to eabi. This does not include static PIE which will be handled later. A specific sequence of steps is required to cross over this change, using a snapshot is the easiest way to do so. ok kettenis@
2016-09-01remove sparc supportTed Unangst
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSPhilip Guenther
contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
2016-07-04gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning upPhilip Guenther
symbol exports, so delete ${VISIBILITY_HIDDEN} as unused ok kettenis@ deraadt@
2016-05-26Zap the 'l' from ARFLAGS, totally useless these days.Vadim Zhukov
Found while comparing qmake specs of different *BSDs. okay deraadt@ and millert@
2016-05-15make 'make clean' clean up the .ldadd file, in case LIBREBUILD was setPhilip Guenther
ok deraadt@
2016-05-11crank to 6.0-betaTheo de Raadt
2016-04-26provide support for a library setting LIBREBUILD, in which case a ar(1)Theo de Raadt
file is created of all the subsidiary .so files
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2016-01-13fix remaining sudo reference (s,sudo,doas,)Gleydson Soares
OK deraadt@ millert@ tb@ sthen@
2015-12-19move to 5.9-betaTheo de Raadt
2015-11-14libocurses can go to the Attic. last consumer of it was ramdisk more(1)Theo de Raadt
conceptual ok guenther millert nicm
2015-10-26Nothing in base uses native language support anymore. Remove NLSAlexander Bluhm
support from the makefiles. OK naddy@
2015-08-31update reasons for arch without pie; with pascalTheo de Raadt
2015-07-20Add radius(3) library. This will be used by RADIUS server and clientYASUOKA Masahiko
programs to manipulate RADIUS packets. Mainly written by UMEZAWA Takeshi. fix and suggestion deraadt ok deraadt
2015-07-19Add infrastructure for specifying a "version script" for the shared libraryPhilip Guenther
being built. ok kettenis@ zhuk@ millert@
2015-07-03Enable static pie on sparc; be sure to upgrade your compiler before yourMiod Vallat
next build (or wait for the snapshot to reach the mirrors)
2015-06-17crank to 5.8-betaTheo de Raadt
2015-06-02Make sparc go PIE (not `static PIE' yet).Miod Vallat
2015-06-01Now that we do not need to build binutils 2.15 (except for gdb), simplify theMiod Vallat
build logic.
2015-06-01Switch m88k ports to binutils 2.17.Miod Vallat
2015-05-29Switch vax to bunnytils 2.17.Miod Vallat
2015-05-28Invert the binutils 2.17 logic to only list non-2.17 platforms.Miod Vallat
2015-05-28Switch alpha, arm, sh and sparc to binutils 2.17.Miod Vallat
2015-05-21no such thing as mips64leMiod Vallat
2015-05-21Switch amd64, hppa, mips64, mips64le and powerpc to binutils 2.17.Mark Kettenis
ok deraadt@
2015-05-14Stop including CFLAGS in CXXFLAGS it creates problems when mixingJonathan Gray
C and C++ when wanting to pass flags to only the C compiler. Tested in a ports bulk build by naddy and the handful of problems found were fixed by naddy, jca and pascal.
2015-05-08Switch i386 and sparc64 to binutils 2.17. More architectures to follow ifMark Kettenis
this doesn't cause any serious regressions. ok espie@, pascal@, deraadt@
2015-03-08use new "make -C" to avoid extra shells.Marc Espie
okay millert@ miod@
2015-01-16Delete the MANLINT variable and the related SUFFIXES rules becauseIngo Schwarze
since yesterday, "mandoc -Tlint -Wfatal" can no longer fail. Instead, as suggested by deraadt@, provide a manlint target that is *not* run during make build, but can be run whenever you want to check syntax of manuals. "nice stuff" deraadt@
2015-01-06mips64 architectures moving to static PIETheo de Raadt
2015-01-03ok, landisk snapshots are out that do static PIETheo de Raadt
2015-01-01move to 5.7-betaTheo de Raadt
2014-12-31Do not take sh to STATICPIE yet. That will happen once matchingTheo de Raadt
snapshots exist. That is why mips64 is still held up (arranged with kettenis)
2014-12-30self-relocating crt0 bits for sh, and enable static pie by default. With someMiod Vallat
archdep.h help from kettenis@
2014-12-28alpha now supports -static -pie binaries; ok kettenisTheo de Raadt