Commit Graph

3132 Commits

Author SHA1 Message Date
he 1607f0c077 When using obj directories, the make proces cd's to the obj directory.
Therefore, we need to cd to ${.CURDIR} before re-invoking ${MAKE} so
that it can find the Makefile.
Also, pass ${MFLAGS} to ${MAKE} so that we pick up the source tree's
makefile fragment, not the host system's fragments, so that this
works properly on older NetBSD host systems, as well in other
cross-compile contexts.
2004-01-27 15:55:42 +00:00
lukem 461afe3410 Remove the compatibility stuff to link from various tapes to *mt*
aliases if the latter don't already exist, as it causes build problems
as reported on port-vax@ by Brian Chase.
2004-01-27 15:45:19 +00:00
lukem eb5766fce9 Add to RELEASEVARS:
NETBSDSRCDIR OBJMACHINE USR_OBJMACHINE X11SRCDIR

Add 'params' separate to 'etc-release', and use the former as part of
the latter.
2004-01-27 04:19:06 +00:00
lukem 3ae3c90bcf Apply .PHONY appropriately.
Use .EXEC when we always want to create ${.TARGET}, rather than
perform an non-file-based operation (.PHONY is for the latter).
2004-01-27 01:52:06 +00:00
bjh21 a9e6f9057b Remove references to /dev/beep. 2004-01-25 14:00:57 +00:00
sekiya 00b99a724a Add wscons (necessary for X). 2004-01-24 02:48:43 +00:00
tls feebdbf0f8 The previous version of this file had the wrong key for cvs.netbsd.org(!);
it had the key from before the machine was officially placed in service
as "cvs.netbsd.org".  Replace with correct key.  Duh.
2004-01-20 23:59:49 +00:00
uebayasi 0b297c927b Missing rcvar. From Nicolas Joly in PR 24106. 2004-01-15 11:20:19 +00:00
jdolecek 07d4016c74 add 'wscons' to list of special arguments 2004-01-14 20:41:59 +00:00
jdolecek d68daf2dd5 put a 'Generated from' with RCS Ids of MAKEDEV.awk, MAKEDEV.tmpl and the
MD MAKEDEV.conf into the generated file

don't copy the 'PLEASE RUN ...' paragraph to the generated file

don't copy the list of individual devices to the generated file -
the info is available in MAKEDEV(8) for those who need it
2004-01-14 20:37:51 +00:00
jdolecek de7bb4305b remove incorrect veriexec entry - there is correct one here already 2004-01-14 19:23:36 +00:00
minoura 37c003c877 New directory for an X68k XKB data file. 2004-01-14 12:52:30 +00:00
jmmv ec3213dda0 Add the veriexec rc.d script. 2004-01-14 10:51:54 +00:00
blymn af8c26254d Add veriexec to defaults. 2004-01-14 06:54:48 +00:00
blymn 67b5617823 Add startup script for verified exec. 2004-01-14 06:53:50 +00:00
blymn bcb8ffa647 Add veriexec device 2004-01-14 05:13:53 +00:00
itojun 1644d4f2cf align ssh_known_hosts message with other operations 2004-01-14 04:49:57 +00:00
mrg 33dcab6f10 make wd2, wd3 and raid0..3 for install media 2004-01-14 01:20:15 +00:00
lukem 6697dd05b6 add some missing usr/include/dev directories 2004-01-13 09:12:22 +00:00
uebayasi 79ca61d5d8 Define an rcvar "virecover" so that this can be configurable. The default
is YES.
2004-01-11 14:21:43 +00:00
uebayasi 6892f132b9 Set an rcvar so that this can really be configurable by the rcvar. (This
means that it has long been not be able to do so!)
2004-01-11 13:57:56 +00:00
tls d8793381d3 Install default ssh_known_hosts file with public keys for Project servers.
Hopefully I didn't make too much of a hash of the postinstall support for
this; it currently installs the file if there's none in the destination,
and elsewise notes if the CVS version differs (or is missing) but doesn't
try to fix that.
2004-01-11 04:21:18 +00:00
tls c7a6bf592b Moved from src/etc. known_hosts file containing Project servers. 2004-01-11 03:24:39 +00:00
tls 863605648b Add ssh_known_hosts containing public keys for Project servers. 2004-01-11 03:20:41 +00:00
minoura d9cff0a9f6 /dev/grf? on x68k must not be accessed without the root priviledge. 2004-01-10 07:17:08 +00:00
lukem 88068bf42a Add the following to the list of variables displayed in etc/release
MKBFD MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS
	MKDYNAMICROOT MKGCC MKGCCCMDS MKGDB MKHESIOD MKHTML MKIEEEFP
	MKKERBEROS4 MKKERBEROS MKLINKLIB MKMANZ MKPICLIB MKPOSTFIX
	MKSENDMAIL MKSKEY MKSOFTFLOAT MKSTATICLIB MKUUCP MKX11 MKYP
2004-01-08 02:37:16 +00:00
lukem 165989f36c Add etc_release to check if etc/release is up to date.
Only used for "extracted etc.tgz SRC_DIR", as "src/etc SRC_DIR" builds
etc/release automatically.

Improve the usage and some of the code.
2004-01-06 13:16:53 +00:00
rtr ee094051e8 remaining x11 dirs 2004-01-06 08:26:11 +00:00
lukem b83d8ffd8d rename release-info to etc-release
rename  install-release-info  to  install-etc-release
2004-01-06 07:25:40 +00:00
lukem 57ec8c75e1 remove superfluous .endif accidentally introduced in previous 2004-01-06 03:46:27 +00:00
lukem 5f82e1b832 deprecate NO_SENDMAIL and consistently test MKSENDMAIL 2004-01-06 02:10:43 +00:00
lukem f3bab2a8fc Implement ``one'' prefix to allow a "one shot" operation as if
${rcvar}=yes yet all the other prerequisite tests are still performed.
The existing ``force'' prefix is a sledgehammer that ignores all the
prerequisite checks and always returns a zero exit status; this is a
more gentle approach to the problem of "manipulate this disabled
service without editing rc.conf(5)".
2004-01-06 00:52:24 +00:00
wrstuden d27168eb15 Add iSNS service ("isns") at port 3205 for tcp & udp. From iana.
Add "iscsi-target" at 3260/tcp as per iana.  Add "iscsi-rfc" at
860/tcp.  Modify comment on "iscsi" service to indicate that it
should move to 860/tcp after the iSCSI RFC gets released. iscsi-rfc
should be removed at that point.

The problem with the iscsi service at present is that all through
draft development, everyone used 3260. As part of the RFC publishing,
the port number will be changed to 860. However no one has started
to use the new port number yet, so it's premature to switch yet.
2004-01-06 00:23:01 +00:00
lukem ccf752736a Get the copyright info for etc/release from sys/conf/copyright.
Idea from Simon Burge.
2004-01-05 04:05:06 +00:00
lukem f0eea29c73 install-release-info does not need DESTDIR. [toolchain/23982] 2004-01-05 00:12:01 +00:00
lukem 51f1131bbc Rename /etc/release-info to /etc/release, to be consistent with other
implementations and Hubert's original intent.
2004-01-04 23:55:11 +00:00
lukem de34191fc7 Add "release-info", to create the file of that name containing
information about the build, and "install-release-info" to install it.
(The latter will be invoked by src/Makefile)

Based on work by Hubert Feyrer <hubertf@> and the "params" target in
src/Makefile.
2004-01-04 13:29:16 +00:00
lukem ffdba9f604 use !="no" instead of =="yes" 2004-01-03 13:58:26 +00:00
lukem bce7c4948b add usr/X11R6/libexec 2004-01-02 16:23:02 +00:00
lukem 6e1ebdd6fa display path of created iso-image 2004-01-01 12:28:22 +00:00
atatat da4f7330e5 Also supress speling erors. 2003-12-28 16:34:03 +00:00
martin 04d651d978 Add rtclocaltime (couldn't we mark these in the set lists somehow
instead of duplicating part of the list here?)
2003-12-27 23:00:55 +00:00
martin 91d3025816 Add rtclocaltime. 2003-12-27 00:29:21 +00:00
martin 448491ee86 Add a new /etc/rc.conf option: rtclocaltime=YES adapts the RTC offset
at boot automatically, so a machine dual booting another OS that uses
the RTC at localtime and NetBSD agree on the current time even if daylight
saving started/ended (without recompiling a kernel twice per year).
Awk code by Matt Thomas.
2003-12-27 00:23:22 +00:00
lukem 1b373d7a5e Revert part of previous; etc/rc.d/kdc must be installed even if Kerberos
isn't enabled.
This is how the rc.d system works in conjunction with our current build
and install system; all the rc.d scripts are installed even if the
subsystems they control are not.
2003-12-26 12:04:35 +00:00
lukem e2288a51a0 Add warn() to display message to stderr prefixed by the script name,
and use appropriately.
2003-12-22 22:26:32 +00:00
lukem d90e033b23 improve build of MAKEDEV from src 2003-12-22 21:38:23 +00:00
tron 80b84ce51e Set "NETBSDSRCDIR" in environment while generating "MAKEDEV" script to
make the check work if "postinstall" is not invoked from "build.sh".
2003-12-22 12:07:59 +00:00
lukem fcdfdbba5c Rework MAKEDEV:
*	Use "mknod -F netbsd -r" to create nodes, instead of
	"rm ; mknod; chmod; chown".
	This means permissions & ownership of existing nodes will
	not be changed.
	This is up to 30% faster when populating an empty /dev,
	and nearly 2x faster when re-running on an existing /dev.

    *	New options:
    	-f		force change of permission & ownership of existing
			devices
    	-m mknod	override name/path of mknod program
			(which defaults to $TOOL_MKNOD, then "mknod").
	-s		generate mtree(8) specfile instead of creating devices

    *	Remove /usr/etc from $PATH; not needed anymore.

    *	Provide functions to create devices & directories:
	    mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
		create device node `name' with the appropriate permissions
	    lndev src target
		create a symlink from src to target
	    makedir dir mode
		create directory with appropriate mode

    *	UIDs and GIDs are hardcoded in at MAKEDEV generation time.
	(Unfortunately there's not a simple way of determining a GID
	a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
2003-12-21 17:37:26 +00:00
lukem 9e396f0ea9 don't change umask without setting it back to 77; it has unwanted side effects 2003-12-21 17:18:08 +00:00