Commit Graph

205 Commits

Author SHA1 Message Date
perry 12308daaf8 Remove another source of date/build user/build host that I hadn't
caught on the last sweep.
2008-07-16 16:07:42 +00:00
perry 4f4b3cb945 Per christos, s/$$(.*)/unknown/ -- i.e., remove the builder, host and
date of the build from the binaries.

Another step in making builds of bit-identical sources yield
bit-identical binaries.
2008-07-15 18:10:50 +00:00
lukem 6258c039ac Compile in LDAP if ${USE_LDAP} != "no".
XXX: untested.
2008-05-22 14:45:42 +00:00
matt 435b563099 Add build_header.h to DPSRCS 2008-02-16 07:24:36 +00:00
dsl 29f2310244 Add the new 'data_len' parameter to mount calls.
Passing in zero causes the kernel to use the default for the filesystem,
doing anything else here would require hacking through layers of code
in 'dist'.
2007-07-14 16:00:07 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
peter e263dfd62f WFORMAT is no more... 2006-10-08 17:52:28 +00:00
mrg accf138991 netbsd authunix_create() actually takes an array of int not gid_t. 2006-05-12 01:28:34 +00:00
mrg 4a7d55e29a our recvfrom() uses socklen_t *. 2006-05-11 19:25:28 +00:00
mrg 86533d64ca sprinkle some -fno-strict-aliasing with GCC4. 2006-05-11 09:08:09 +00:00
christos a04e414992 update to 6.1.3; bump library version 2006-02-05 16:29:00 +00:00
jmc cc925ba123 Create version.texi using the same scheme am-utils natively does. i.e. from
the date/timestamp of the am-utils file and using mdate-sh
2005-10-27 19:03:58 +00:00
rpaulo 81e95d22ed Oops, typo. 2005-09-28 12:41:49 +00:00
rpaulo 700318b43a Disable TMPFS. It is about Solaris TMPFS, not ours and is not yet
implemented.
2005-09-28 11:15:06 +00:00
rpaulo 87dab801e3 Updated autoconf generated files for am-utils 6.1.2.1. 2005-09-20 18:00:15 +00:00
christos aa460c4e78 Allow amd to turn off the attribute cache. 2005-09-18 23:45:46 +00:00
nakayama 25cffdf24e Embed machine and cpu architecture correctly by target host environmet,
not by build host.

Pointed out by Davide Zanon and Rui Paulo in current-users@.
2005-08-09 21:49:23 +00:00
christos f6a8412c23 Disable MAP_NIS and MAP_HESIOD. Set by a command line switch. 2005-04-23 18:53:52 +00:00
christos beb4d24e39 Adjust to new am-utils. 2005-04-23 18:41:43 +00:00
lukem 3d10694e7c "doc" SUBDIR needs config_local.h from "libamu", so reorder former after .WAIT. 2004-11-28 01:11:17 +00:00
lukem 0f4ca6a061 Use "${CPP} -P ${CPPFLAGS}" instead of "cpp -P". 2004-11-28 01:10:00 +00:00
lukem 52e85685ca Support MAKEVERBOSE.
Improve build_version.h dependency, based on native Makefile.
2004-11-28 00:07:15 +00:00
he 04ecec855d Not only get_args.o depends on build_version.h -- get_args.d does as well.
Add a dependency reflecting that.
2004-11-27 14:30:46 +00:00
christos f2a03aeb65 Adapt to b5. 2004-11-27 01:39:23 +00:00
christos 9103779d38 Add more info that recent amd's want. XXX: this is not cross-build friendly. 2004-01-11 18:37:35 +00:00
christos 8baf088e39 PR/17103: FUKAUMI Naoki: Make this print the correct OS version and other
info. This breaks each time someone imports a new amd.
2004-01-11 18:37:01 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem a414e34de5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 06:11:38 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
yamt cc3f08f723 define HAVE_XDR_MOUNTRES3 in pre-generated config.h as we have mountres3 now.
this makes amd buildable for archs without shlibs support like hpcsh.
(i've tested i386->hpcsh cross-compile)

pointed by Torsten Harenberg on tech-hpcsh
and analyzed by Valeriy E. Ushakov.
2003-05-18 09:44:28 +00:00
yamt c18e1d32a6 make amd compile again.
pointed by Geoff Wing.
2003-05-08 13:34:04 +00:00
thorpej 590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
wiz 97808774c1 Restore RCS Id, lost during last update. 2003-03-09 17:57:50 +00:00
christos a9085b5c40 disable YP and HESIOD in config.h, and mention why... (thanks uwe) 2003-03-09 01:55:48 +00:00
christos 37deef3cda adjust to 6.1b2 2003-03-09 01:36:38 +00:00
christos 3e354b00a7 ufs is ffs not ufs. 2003-02-11 16:17:13 +00:00
uwe 045242f27d Restore changes made in revision 1.20 and lost during last upgrade.
We pass HAVE_MAP_{NIS,HESIOD} on the command line, based on
USE_{YP,HESIOD} make variables, so #if 0 them here.
2003-01-03 14:07:56 +00:00
christos 7fc3700a4c ops_autofs.c is gone. 2002-11-29 23:25:06 +00:00
christos 1339a09219 catch up with 6.1b1 2002-11-29 23:23:59 +00:00
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
tron 6db3449490 Add new option "xlatecookie" to amd(8) to support NFS v3 mounts with cookie
translation. The changes were provided by Mark Davies in PR bin/17245.
2002-06-14 15:16:53 +00:00
itojun 2cc8b1799d detect endianness correctly by using BYTE_ORDER. 2002-05-30 14:48:44 +00:00
itojun 2234e66e0e embed correct machine/machine_arch info into binary. PR 17103.
(fixes 1.18 -> 1.19 change)
From: Takeshi Nakayama <tn@catvmics.ne.jp>
2002-05-30 14:25:34 +00:00
thorpej 9c33b55e7c Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
2002-03-22 18:10:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
simonb 2db48f4c88 Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
some cases).
2001-09-10 11:18:41 +00:00
veego 221a388192 Regenerated for am-utils 6.0.6.
The configure script was fixed, so the default output of configure is now
fine.
2001-05-13 18:11:56 +00:00
veego 2f8b710391 Bump the minor number because of the addition of haseq and hasmnteq. 2001-05-13 18:11:12 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami 270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00