Commit Graph

3107 Commits

Author SHA1 Message Date
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
lukem
f10d9367cc also rm & chmod dtyC$unit 2003-12-21 16:27:34 +00:00
lukem
6ab1279223 fix mms\* 2003-12-21 16:17:19 +00:00
lukem
cb8a9610e0 be consistent in fss* 2003-12-21 15:32:59 +00:00
lukem
4ddba21b9a * Match the source code to the comments, and use $NETBSDSRCDIR
instead of -v ETCDIR.
* Parse $NETBSDSRCDIR/etc/{master.passwd,group} to build a list of
  user->uid and group->gid mappings, and replace %uid_XXX% and %gid_XXX%
  appropriately.
* Whitespace & regex tweaks.
2003-12-19 06:04:16 +00:00
christos
501d4710c0 prepare for bind 9. 2003-12-18 18:30:18 +00:00
martin
ffeeb30dd3 Add JavaStation kernels to KERNEL_SETS 2003-12-15 19:36:16 +00:00
martin
e5627c0207 bootjs.elf -> bootjs.net 2003-12-15 17:35:33 +00:00
lukem
7eec24689d MAKEVERBOSE-ify MAKEDEV creation 2003-12-15 09:46:51 +00:00
jdolecek
2d5a801b27 add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here

fixes PR kern/23614 by Christian Biere
2003-12-15 08:57:52 +00:00
he
a085af0d99 Change "ln -sf" to "ln -fs" to placate makedev2spec.awk. 2003-12-14 19:09:34 +00:00
martin
40751dda65 Place bootjs.elf in .../installation/netboot too (boot.net can't be used
for JavaStations)
2003-12-14 12:17:44 +00:00
rtr
1a07d009ee x11 modules/{fonts,drivers,input} directories. 2003-12-14 10:14:48 +00:00
ad
39b2c33e25 Make wscons device nodes, and build the WSCONS kernel. 2003-12-13 23:11:17 +00:00
dyoung
4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
tsutsui
2dc2c15166 - Turn off console login.
- Remove nonexistent tty00 and tty01.
- Add and enable ttyE0 and scif0.
2003-12-10 18:04:28 +00:00
hannken
fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
lukem
8d18845ac2 add null & fdesc to the list of file system types to skip in check_disks 2003-12-10 09:25:36 +00:00
tacha
7b0cb03434 remove target before executing mknod (in std_sparc). 2003-12-09 11:25:04 +00:00
dmcmahill
5d0ac15aa1 Improve the portability of this script by escaping some {'s and }'s used
in a regex.  Works with Solaris awk as well as gawk now.
2003-12-08 23:49:25 +00:00
lukem
6a7c1e3169 improve comment 2003-12-08 08:12:01 +00:00
perry
16a3b1f9cc Add back nfs partition display if show_remote_fs is on.
As requested by Grant.
2003-12-08 01:17:37 +00:00
perry
08f64583cc add show_remote_fs
Triggers showing nfs mounted file systems in the nightly report.
2003-12-08 01:14:08 +00:00
perry
43a0fc6fac Change the default behavior of the netstat run during check_network to
print a summary rather than the full (and not usually desired) output
of netstat -inv. The old behavior can be returned by simply setting
full_netstat to YES in daily.conf.

Original idea by me, cleaner and more correct execution via small awk
script from Greg Woods.
2003-12-07 22:22:15 +00:00
perry
f9f0805e4c add full_netstat=NO 2003-12-07 22:17:54 +00:00
perry
760b3486e4 suppress disk reports about nfs mounts, kernfs and procfs. 2003-12-07 16:55:04 +00:00