Commit Graph

137 Commits

Author SHA1 Message Date
bdrewery
989e2c6000 In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable
it should changed to opt-out and be enabled by default along with ASLR.

Each application Makefile uses opt-out to ensure that ASLR will be enabled by
default in new directories when the system is compiled with PIE/ASLR. [2]

Mark known build failures as NO_PIE for now.

The only known runtime failure was rtld.

[1] http://www.bsdcan.org/2014/schedule/events/452.en.html
Submitted by:		Shawn Webb <lattera@gmail.com>
Discussed between:	des@ and Shawn Webb [2]
2014-06-08 17:29:31 +00:00
imp
2118f42afd Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.
2014-05-06 04:22:01 +00:00
des
288923c300 Remove the names of the build host and user and the build date. This
still leaves the host OS and version, but these are harder to remove.

MFC after:	3 weeks
2014-04-12 18:01:25 +00:00
dim
489adb600f Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.

MFC after:	1 week
2012-02-07 09:27:07 +00:00
imp
c3a399c4ba MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
ed
073cafdd42 The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dfr
ec9ddec04c Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation
and will be removed.
2009-06-24 18:42:21 +00:00
ru
524112305c Don't always link statically with libwrap. By the time amd(8)
runs, /usr/lib should have already been mounted.

Found by:	make checkdpadd
2008-03-29 18:13:15 +00:00
obrien
ff1cc4a8f4 Teach Amd how to unmount. 2007-12-05 16:50:48 +00:00
obrien
22b46d366c Accidently created the file with the wrong name. 2007-12-05 16:49:16 +00:00
obrien
32d92c989f 'amu_autofs_prot.h' 2007-12-05 16:47:52 +00:00
obrien
70c4bb1c13 Adjust for new files added to 6.1.5, and files retired from 6.0.10p1.
Also TCP Wrappers is now supported.
Also tweak the MK_HESIOD.
2007-12-05 16:40:05 +00:00
obrien
363f43ad29 Update for version 6.1.5. 2007-12-05 16:38:29 +00:00
obrien
a45fa13b2a We now have to use part of the vendor supplied xdr_func.c.
util renamed to strutil to be more clear of its purpose.
2007-12-05 16:27:03 +00:00
obrien
e72ee52119 These now need to link with libamu. 2007-12-05 16:25:43 +00:00
obrien
b7e18d16e5 Add new BUILD_* knobs, and switch our definition & setting of BUILD_*
and configured settings.
2007-12-05 16:23:34 +00:00
obrien
d87fd1762a Autoconf would have created a symlink from conf/autofs/autofs_default.h
to autoamu_autofs_prot.h.  It is easier to just create shell header within
the Bmake framework.

For now it's a stub - fill out when we know our Autofs direction.
2007-12-05 16:21:44 +00:00
ru
11e33ba6db Folded WITH_HESIOD_SUPPORT into WITH_HESIOD. 2006-03-21 09:00:51 +00:00
ru
388e590f95 Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
phk
ce947d4496 Respect the YES_HESIOD build variable 2005-08-06 16:52:30 +00:00
ru
4a9a9dbbaf Generate locale-agnostic configuration date. 2005-02-16 21:02:50 +00:00
bz
4b83c5852a Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
2004-11-13 20:40:32 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
mbr
4cb8610989 Reenable nullfs for local links. The change from 'struct vfsconf'
to 'struct xvfsconf' broke auto configuration. Patches have been
submitted to the vendor.
2004-07-15 13:24:44 +00:00
mbr
7d48e5ab65 Generate fresh aux_conf.h. 2004-07-06 14:06:58 +00:00
mbr
badb28509a Check if dirmask' is a member of pcfs_args_t'.
A diff to the autoconf aux-files has been submitted to
the amd people.

PR:		57401
Submitted by:	Andre Albsmeier <andre.albsmeier@siemens.com>
2004-07-06 13:44:14 +00:00
mbr
a77e1f23b2 Unbreak pcfs support
PR:	68679
2004-07-06 13:37:18 +00:00
mbr
e8d276ef5f Update OS-dependent variables. 2004-07-06 13:24:59 +00:00
ru
0999d17b26 Removed unnecessary dependencies on librpcsvc.
Prodded by:	des
2004-02-04 11:59:08 +00:00
mbr
a69ecba559 Sync with fresh generated file, keep our changed settings. This seems
to be a lot cleaner.
2003-09-02 17:38:30 +00:00
mbr
d089540cea Remove redundant PACKAGE and VERSION defines. 2003-09-02 16:10:46 +00:00
mbr
938c2ba39e Update version string. 2003-09-02 15:57:37 +00:00
mbr
4d1cdd21bb Set HAVE_STRUCT_IFREQ_IFR_ADDR, HAVE_STRUCT_FHSTATUS_FHS_FH to 1. 2003-09-02 15:56:05 +00:00
ache
26ffc627d8 LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
ache
c104713460 Use LANG=C before egrep A-Z and tr A-Z
Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale
Strip [] for tr ranges
2003-08-04 15:57:01 +00:00
obrien
a920d12f89 style.Makefile(5) 2003-04-04 17:49:21 +00:00
ru
46bb8fed43 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ru
75c721a8c3 Stop "make depend" from attempting to delete non-existent .depend. 2002-04-11 12:30:20 +00:00
ru
7af6b8b2fa Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
obrien
577f5ce9db Strip non version _number_ bits from HOST_OS_VERSION.
Requested by:	knu
2001-09-06 18:39:46 +00:00
obrien
35e8b8b057 I was missing the HOST_OS_VERSION setting in the fall-back case.
Also, the script was too position dependant.  We now have make(1) pass in
the file to grub around in to get our settings from.
2001-09-06 17:52:59 +00:00
obrien
a561987dd6 Try to determine the OS version and architecture for what is being built
vs.  the building machine.

PR:		14040
2001-09-05 16:54:20 +00:00
obrien
b278777ba6 Opps, let one definition slip out that we define dynamically. 2001-09-03 19:19:12 +00:00
obrien
6f7c45cc94 Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
2001-09-02 20:37:36 +00:00
obrien
3cc715525a Update for version 6.0.7. 2001-09-02 19:50:47 +00:00
obrien
95e0d45f18 Document my tweaks better. 2001-09-02 04:06:48 +00:00
obrien
9c97c8f02d Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
ru
5f826d99c9 Added missing dependancy.
Submitted by:	bde
Approved by:	obrien
2001-07-19 19:04:31 +00:00
ru
bb258a4f5b msdos -> msdosfs
null -> nullfs
umap -> umapfs
union -> unionfs

Approved by:	obrien
2001-06-04 13:08:54 +00:00
ru
8094d979ca - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00