Commit Graph

3302 Commits

Author SHA1 Message Date
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
perry
eda014eade Don't print "Last dump" report if /etc/dumpdates is zero length or absent.
Don't print OTP/skey report if /etc/skeyskeys is zero length or absent.
2003-12-07 16:35:04 +00:00
perry
d9adb3cb0f use -h ("human readable") instead of -k on nightly df 2003-12-07 16:20:18 +00:00
fredb
0eb4e5c6ee Add a synopsis, disclaimer, and a hypertext link to the "real" documentation. 2003-12-07 16:11:58 +00:00
fredb
fe1351034e Whitespace and punctuation cleanup. Try to fill lines up to 72 columns. 2003-12-07 16:02:35 +00:00
fredb
44d9f578ac Expand the "pool.ntp.org" section. Drop "maxpoll", call for volunteers,
add some example country codes, and use disjoint CNAMES by default, as
discussed in PR misc/23283 (by Adrian 'Dagurashibanipal' von Bidder),
the pool.ntp.org mastermind and maintainer).
2003-12-07 16:01:00 +00:00
fredb
54d0d4cd23 Add a "tos" directive. 2003-12-07 15:56:30 +00:00
drochner
505ed045c0 ntpdate to a multicastclient address doesn't work 2003-12-04 18:28:54 +00:00
drochner
e3925ac984 no html pages for ntp anymore 2003-12-04 18:25:49 +00:00
isaki
eb554304bd Correct typo in comment (s/x86k/x68k/) 2003-11-24 06:31:44 +00:00
simonb
33896379fe Add the entries in misc/18016 (from Patrick Welche). 2003-11-23 23:28:03 +00:00
simonb
55a7e482d0 Add some more services that have been showing up in my ipfilter logs. 2003-11-23 06:06:24 +00:00
tsutsui
74a31d9ed9 Update device description for hp300 MI com(4) changes. 2003-11-22 17:26:45 +00:00
tsutsui
4c8374cf19 Update MD entries for DCA, DCM and APCI serial ports to migrate MI com(4):
- use ttyC[0123] for DCA and APCI with MI com(4)
- use ttyM[0-f] for DCM instead of tty0[0-f] to avoid confusion with MI com(4)
- create the foloowing symlnks to compatibility:
 tty0  -> ttyC0 (for DCA)
 ttya0 -> ttyC1 (for APCI)
 ttya1 -> ttyC2 (for APCI)
 ttya2 -> ttyC3 (for APCI)
 tty0? -> ttyM? (for DCM)
- note the above symlinks should be removed after the next release

As per discussion on recent port-hp300 (ok'ed by thorpej).
2003-11-22 17:20:08 +00:00
abs
c3751e8404 Increase size and number for authlog, cron, lpd-errs, and messages 2003-11-21 18:07:09 +00:00
jhawk
6a6c54a1d0 Provide a workaround for PR bin/12900.
When /dev is an fdesc, and /dev/tty is stat()ed without a controlling tty,
a "Device not configured" error is returned.

Filter mtree's stderr to ignore this error.

If fdesc is fixed to not behave in this fashion, this workaround can
be removed; bin/12900 should remain open until that time.
2003-11-19 20:28:19 +00:00
jhawk
3460455823 In check_varmail (mailbox ownership/permissions check):
Make ls -A explicit, to help n debugging when not run as root
    (-A is implied when ls is run as root)
  Ignore dotfiles, as they are not mailboxes (e.g. .jhawk.pop)
2003-11-18 03:30:40 +00:00
jhawk
ea872628e6 XXX: note pairwise cascaded test inversion in permit_star.
Add checkyesno check_homes_permit_usergroups to allow group writability
  when the groupname matches the username.  Defaults to off.
2003-11-18 03:23:53 +00:00
jhawk
4828bcfb5b check_homes_permit_usergroups=NO 2003-11-18 03:21:40 +00:00
sekiya
845cc26789 Add iso-image-md-pre and iso-image-md-post targets. Installation media can
now be built with the iso-image target from ${NETBSDSRCDIR}/etc.
2003-11-15 08:58:27 +00:00
jdolecek
67702193cc explicitly pass MACHINE and MACHINE_ARCH to MAKEDEV.awk via environment,
so that this works as expected when not invoked via build.sh
2003-11-15 08:50:26 +00:00
sekiya
96dd3017c1 Adapt to new config file naming convention. 2003-11-13 02:33:39 +00:00
wiz
eb0fcf4886 Add html4/hpcsh. 2003-11-05 08:22:16 +00:00
uwe
212800e523 /usr/share/man/{cat,man}4/hpcsh 2003-11-05 02:53:38 +00:00
briggs
07a0e27c44 Revert the change in default value of ipv6_v6only. Further discussion
on this topic is required.  It should be reintroduced and pursued in
the IETF.
2003-11-03 15:12:06 +00:00
mycroft
6f4bc2c877 Announce a reason for the shutdown. 2003-11-01 23:04:54 +00:00
he
4318508981 'rd' under 'all' should be 'rd2', so make it so. 2003-11-01 19:02:54 +00:00
drochner
d6fa98c3f0 getttyent(3) was changed to complain about unknown words at the end of
tty definitions. Use '#' to separate comments.
2003-10-30 20:40:20 +00:00
mycroft
adfa67a197 Oops, fix comments. 2003-10-30 17:42:23 +00:00
mycroft
87c704cac0 Add dummy scripts for these events. 2003-10-30 17:34:45 +00:00
mycroft
1455475ac4 Use logger(1) to log errors -- otherwise the output goes nowhere. 2003-10-30 17:32:45 +00:00
wiz
9f320f289d Dig man4 for sparc64. 2003-10-30 08:16:41 +00:00
fredb
8098923219 Make the ntp.conf parsing more specific, and therefore more robust. Closes
PR bin/23305.
2003-10-29 19:00:14 +00:00
jdolecek
0ff71b5cba the arm ports are 'arm' and 'armeb'
pointed out by Shoichi Miyake
2003-10-28 11:34:14 +00:00
briggs
5a770ba2d8 Toggle the default value of ip6_v6only. Also provide a sample sysctl to
retain the existing behavior.
2003-10-28 06:31:28 +00:00
cl
7833f0afc9 now that MAKEDEV is generate, install it from ${.OBJDIR} 2003-10-26 23:34:29 +00:00
lukem
3d29fcd1f7 Fix previous:
*	Restore previous functionality which supported running postinstall
	with an extracted etc.tgz set as the "source" directory (i.e,
	/usr/src isn't available).  We do this by generating the MAKEDEV
	to ${SCRATCHDIR} if the real source is available, and leverage off
	the compare_dir() code that the rest of postinstall uses to support
	this functionality.

    *	Don't special case MACHINE_ARCH==arm; the MAKEDEV.awk should
	be doing that since etc/Makefile doesn't have similar special
	case code.  In any case, AFAICT the only MACHINE_ARCHs are
	"arm" and "armeb"; there is no "armel" in NetBSD.
2003-10-26 23:08:29 +00:00
jdolecek
ef31c1b29a update for unified, dynamically generated MAKEDEV - change 'makedev' item
to generate the MAKEDEV to scratch dir and compare that with the currently
installed /dev/MAKEDEV; also add -a MACHINE_ARCH option to explicitly
set machine architecture for non-native builds

problem with postinstall pointed out by Patrick Welche and Hubert Feyrer
in private e-mails
2003-10-26 21:57:11 +00:00
jdolecek
fd9cf65324 g/c the 'see foo(X)' xrefs; this info is automatically generated
into MAKEDEV(8)
2003-10-26 21:21:50 +00:00
jdolecek
b1210ba8ee style nits - use / re / instead of "re" for constant REs 2003-10-26 13:40:46 +00:00
he
706fa97ddd As a temporary workaround, use "ln -sf" to be compatible with the
checks in distrib/common/makedev2spec.awk, which insists on "-sf"
usage (which is arbuably a bug, and should be looked at more closely).
2003-10-26 12:42:55 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
ross
b9e3ec284d Add the -T etc_pkg arg back to the MAKEDEV install. 2003-10-25 03:55:26 +00:00
jdolecek
3b77895e3d adjust the device descriptions for better MAKEDEV(8) manpage output
note PF is not in tree (for the manpage)
2003-10-24 23:39:42 +00:00
ross
ebbe98fcaf Now that MAKEDEV is generated, just do an ordinary ${INSTALL_FILE} instead
of going back to the source dir (and losing) with ${ETC_INSTALL_FILE}
2003-10-24 22:39:51 +00:00
jdolecek
1b00681156 switch over to unified MAKEDEV 2003-10-24 20:12:04 +00:00
jdolecek
dd2276a2ee make friendlier to objdir builds; now expect the caller to set ETCDIR
to the directory with src/etc; top of kernel sources is assumed
to be ETCDIR/../sys

fix error message for case when platform MAKEDEV.conf is not found
2003-10-24 19:57:36 +00:00
jdolecek
930959c6c0 fix floppy & ramdisk targets 2003-10-24 11:05:23 +00:00
jdolecek
9e9c552bb7 g/c SCSI-related entries 2003-10-24 10:26:44 +00:00
jdolecek
b2607ae4cb make 'sd' optional 2003-10-24 10:25:08 +00:00
jdolecek
6108862993 fix pasto in pty target 2003-10-24 08:41:11 +00:00
jdolecek
3b5469b94c fix various mistakes, such as using hardcoded majors or typos/pastos
add some more necessary device entries
introduce makedisk_minimal() and use it to create the CD-ROM & md entries;
this procedure only creates 'a' and RAW_PART device entries
remove pf from 'all' target - it's not part of tree, so shouldn't be
created by default
2003-10-24 08:29:57 +00:00
jdolecek
53d9446257 fix handling of ARM ports' majors file
fix handling of sbmips majors - it uses the evbmips majors

fetch information about platform RAW_PART, and make it available
to MAKEDEV.tmpl
2003-10-24 08:27:26 +00:00
jdolecek
1eeb241e42 sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
2003-10-24 08:20:26 +00:00
matt
72bc77e103 No INSTALL kernel for ofppc. 2003-10-24 05:01:39 +00:00
jdolecek
7234f6fb3c don't put GENERIC into BUILD_KERNELS 2003-10-22 20:40:42 +00:00
jdolecek
a9b5015c6d fix bug in pty target (pasto from some other port) 2003-10-22 20:22:26 +00:00
jdolecek
c5808c177b no dmoverio either 2003-10-22 17:13:50 +00:00
jdolecek
bc7edb6f2d add stic0 to 'all' (used to be created in alpha 'wscons' target) 2003-10-22 17:09:50 +00:00
jdolecek
0f5caa8622 no apm 2003-10-22 17:08:50 +00:00
jdolecek
ed841056c7 no USB/openfirm on acorn32, remove from lists
put back some stuff which was in the original MAKEDEV lists
2003-10-20 17:56:35 +00:00
jdolecek
4c5a46429b use tty0 instead of com0 2003-10-20 16:42:13 +00:00
jdolecek
520acde2ae com0/com1 is exactly tty00/tty01, so g/c them from the list 2003-10-20 16:41:39 +00:00
fredb
836389dfbc Supply the usual default setting of $commmand. Omission pointed out by
Launey Thomas in private mail.
2003-10-20 16:09:15 +00:00
christos
b5aee30a01 set fsck_flags=-p in /etc/defaults/rc.conf instead of checking if it is
empty in /etc/rc.d/fsck. From Bernd Ernesti.
2003-10-20 15:02:15 +00:00
jdolecek
fbdef6175b remove entry for clockctl; that is created in the MI 'all' target 2003-10-19 19:08:59 +00:00
jdolecek
7a46124ea4 determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
2003-10-19 19:07:26 +00:00
jdolecek
cf58aa2b57 remove copyright notice accidentaly carried over from the hp300
MAKEDEV script
2003-10-19 18:50:35 +00:00
jdolecek
c852a48a4f g/c audio0-3 (created by target 'audio')
g/c wscons-related devices (all created by target 'wscons')
2003-10-19 17:32:13 +00:00
jdolecek
3d2b1548ac g/c audio0-3 (created by target 'audio')
g/c duplicate ttyv0 entry
2003-10-19 17:30:35 +00:00
jdolecek
808373beb6 use target 'wscons' to create wscons-related devices; this creates
also some additional control devices besides the terminal devices, which
are needed for full operation
2003-10-19 17:29:08 +00:00
jdolecek
54bd322b10 no need to duplicate creation of wskbd/wsmouse - target 'wscons'
creates these
2003-10-19 17:26:24 +00:00
jdolecek
7822738b47 use 'audio' target to create audio devices, instead of creating
/dev/audio0-3; 'audio' makes some additional device files which are
necessary for full operation
2003-10-19 17:24:14 +00:00
jdolecek
46bdb9f87e target 'audio' creates /dev/audio0-3, g/c the duplicit entries creating
the files again
2003-10-19 17:22:42 +00:00
jdolecek
7c7f293c24 add platform MAKEDEV config file for unified MAKEDEV, based on info
from platform MAKEDEV script
2003-10-19 17:06:30 +00:00
fredb
663be81e89 Allow for a syntax extension for "ntp.conf" with ntp 4.2.0. 2003-10-19 13:31:28 +00:00
fredb
b703c0fa68 Use "$command", instead of hard-coded "ntpdate", so that the user can
override the path using the usual mechanisms.
2003-10-19 13:23:57 +00:00
wiz
a5e3bdad73 Add ibmnws {cat,html,man}8. 2003-10-19 09:08:40 +00:00
matt
14573b928a Add ibmnws specific files. (XXX someone should checkout MAKEDEV and make
it complies with how MAKEDEV is done now).
2003-10-19 03:36:45 +00:00
fvdl
82729ccc95 Really remove ed0 and ed1 2003-10-18 23:23:43 +00:00
matt
4480d87326 Fix iso-image support. 2003-10-18 03:00:05 +00:00
jdolecek
1af201c35f g/c ed0/ed1 nodes, the hardware is not present on amd64 2003-10-17 19:22:58 +00:00
jdolecek
ad4acc4abb allow also tty[0-9] for serial ports, they are convenient synonyms
for tty0[0-9]
as pointed out by David Laight

remove spaces between makedisk_p*() functions, so the output script looks
neater once some of them are filtered out
2003-10-17 19:06:33 +00:00
jdolecek
edf6a76108 improve error checking, and bail out early, instead of looping
when filtering the template, leave only the wanted makedisk_p*() routine
in the output
as pointed out by David Laight

also make it mandatory for MACHINE and MACHINE_ARCH to be set in
environment; it would be possible to use use uname -p/-m, but better
to catch possible cross-build mistakes sooner than later
2003-10-17 19:01:49 +00:00
jdolecek
20282f8b2e change minor of /dev/zero for ARM ports to 12, so that it is same as on other
ports; follows the kernel change
2003-10-17 17:56:28 +00:00
itojun
89159c0540 minor KNF 2003-10-15 21:40:49 +00:00
jdolecek
401cc27682 read the MD MAKEDEV.conf file and appropriately massage the template
contents; outputs fully functional MAKEDEV script now
2003-10-15 19:43:00 +00:00
jdolecek
db5fa0cba5 add MI 'all' target - this calls MD 'all_md' and then creates miscellaneous
devices supported on all plaforms

and MI 'init' target, which just calls 'all'; this is used if platform
doesn't define it's own 'init' target
2003-10-15 19:16:01 +00:00
jdolecek
7126da0813 MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
2003-10-15 19:13:32 +00:00
christos
e2ba1d7082 Allow overrides via fsck_flags 2003-10-15 17:38:04 +00:00
jdolecek
5351b51128 the main parts of new unified MAKEDEV framework - MAKEDEV template
and script for generating the MD MAKEDEV
this is work in progress, some parts are still missing
2003-10-13 09:37:45 +00:00
jdc
d8eef4e074 Allow an IPv6 default route to be set from /etc/mygate6 or $defaultroute6.
Approved by itojun@.
2003-10-12 09:50:05 +00:00
jdolecek
2d42eb283b reassing majors for crypto and pf to use the newly defined MI major range 2003-10-10 22:47:10 +00:00
jdolecek
e38ba7f567 add manual section 8 directory entries for evbsh5 2003-10-04 13:40:32 +00:00
jdolecek
5470a1ba9d g/c empty device groups 2003-10-04 13:15:37 +00:00
jdolecek
faaca95782 remove 'cbq' from the list of supported special devices 2003-10-04 12:13:10 +00:00
dsl
5c2824bce4 Revert 'console' back to /dev/console (from /dev/constty) 2003-10-04 07:41:11 +00:00
dsl
e5217087d8 Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
2003-10-03 14:54:20 +00:00
dsl
fca3294820 Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
2003-10-03 14:35:36 +00:00
jhawk
74f5f0da45 Redirect stderr as well as stdout in run_calendar (calendar -a) 2003-10-01 05:34:50 +00:00
jhawk
6a61a211cf Suppress output when running security.local if it produces no output.
/etc/security should produce no output (and thus suppress the report)
when nothing is wrong.

While we're here, use printf instead of two echos, like the rest of
the script.
2003-10-01 04:29:03 +00:00
christos
f32195ffa6 turn off calendar -a by default and mention why. 2003-09-30 00:23:23 +00:00
agc
fdc3c14ea7 Default to the public servers from the ntp public pool project.
The servers will be dynamically assigned on a round-robin basis from
a list of volunteers.

Fix provided by Wolfgang Rupprecht in PR 22416
2003-09-24 11:36:31 +00:00
lukem
964c040962 add ./usr/X11R6/lib/modules/extensions 2003-09-23 23:07:35 +00:00
jandberg
448afe509a add wscons support to amiga mouse 2003-09-22 18:17:30 +00:00
simonb
dd0c7f2f44 Get rid of "$highpartoffset" baggage and use fill 16-number ranges for
sd,fd,wd, etc devices.  Fixes problems with disk-style devices greater
than unit 0.

Thanks to Charles Hannum for clue-stick.
2003-09-22 04:25:16 +00:00
pooka
12cd483962 add isdn telephony dialout devices 2003-09-19 11:11:37 +00:00
lukem
9398373099 add ./usr/X11R6/include/X11/pixmaps 2003-09-14 06:39:11 +00:00
lukem
6869cb17c5 add ./usr/X11R6/share/examples/ssh-askpass 2003-09-14 06:11:40 +00:00
lukem
d5157aa5fd Add /usr/X11R6/* and /etc/{X11,fonts} 2003-09-12 02:16:45 +00:00
wiz
ea949da1c7 Add a knob to turn off automatic configuration (via rc.d) of
non-auto-configured (via kernel) raid devices. oster says ok.
2003-09-10 14:50:19 +00:00
itojun
48fc13b7c2 dd icmp6 as alias 2003-09-08 21:02:55 +00:00
dsl
fc3574d3bf Correctly fix pty majors 2003-09-05 17:11:30 +00:00
dsl
35bb292640 Put back port specific majors for ptys 2003-09-05 17:02:52 +00:00
matt
d671884ac3 pty (pts) is major 4, not 6 2003-09-05 03:10:36 +00:00
cjep
d1b485c800 Now that we have nuked /sys, change the cdpath to contain /usr/src/sys
rather than /sys.
2003-09-02 18:39:27 +00:00
junyoung
d1c665c08e Add UTF-8 ctype locale support for Korean.
From Min Sik Kim <minskim bawi org>. tshiozak@ ok.
2003-09-02 09:30:31 +00:00
lukem
1279eb3872 fix typo in previous, where "pty*" had been changed to "ty*". (hi dsl@ !) 2003-09-01 08:19:57 +00:00
lukem
42efd94df9 add back st* creation, which was accidentally removed in rev 1.32. (hi dsl@ !)
this should fix arc autobuild
2003-09-01 08:10:19 +00:00
dsl
818622e67a Change the way pseudo tty devices are generated in order to avoid
any pipes and running other commands (eg dd).
Measurable speeds up creating pseudo ttys.
(there has to be a better way than editing 51 files! - tedious at only
6 key presses per file)
2003-08-30 11:00:20 +00:00
eeh
d3ab92da6d Fix ttyEcfg/ttyEstat confusion. 2003-08-25 20:40:25 +00:00
wiz
dfdf058a44 Add comment for /dev/crypto. 2003-08-23 23:14:35 +00:00
dsl
a276117721 Optimise DISTRIBUTION_DONE= KERNELS_DONE= nbmake snapshot
- If DISTRIBUTION_DONE is defined, don't add the 'root' directory to METALOG.
  (maybe install -M shouldn't write to the METALOG file if it doesn't install
  the file either)
- Don't re-compress the kernels if the compressed file is newer than the
  kernel.
Useful if all you want to do is rebuild the ramdisk image.
2003-08-22 19:03:03 +00:00
mrg
777a312e0f ipnat needs to be before SERVERS - one may need NAT for servers to work
(eg, ntpdate).
2003-08-22 08:43:26 +00:00
itojun
4440262659 create /dev/crypto 2003-08-22 05:06:22 +00:00
tron
f48b602669 Don't use depricated "-f" option to mixerctl(1). Patch supplied by
Bruce J.A. Nourish in PR misc/22524.
2003-08-18 13:04:10 +00:00
hannken
efc0a23c7d Add lpt (for explora) as char 20.
This major number is unused in macppc.
2003-08-17 11:06:46 +00:00
rafal
499d0081dd Add radio(4) devices. 2003-08-08 16:41:41 +00:00
wiz
ef6f82b46b Remove nntp line -- it refers to a non-existing daemon.
Closes PR 22388, from Nate Hill.
2003-08-07 06:44:29 +00:00
bjh21
47a6970dac Put boot32,ffa into the release tree so people can use it for booting ramdisk
kernels.
2003-08-02 18:02:36 +00:00
tsutsui
b51dfb6979 Add some MI SCSI devices. 2003-08-01 02:17:48 +00:00
itojun
3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
lukem
6d7e3e1b0d Add "*,v" to the list of scratch files to skip.
Suggested by Johnny Lam / Alistair Crooks
2003-07-26 05:13:47 +00:00
jonathan
cf25ac5ebd Add /usr/include/crypto for userspace API to opencrypto framework. 2003-07-25 22:59:58 +00:00
mrg
f4f8071598 add new g++ dirs 2003-07-25 16:55:15 +00:00
tshiozak
7264d9073d add new locales: bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:30:33 +00:00
lukem
f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
atatat
ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem
001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
enami
f91480b342 Replace some spaces with tab and remove trailing spaces. 2003-07-08 03:32:00 +00:00
simonb
22e98152fc Add a few more services showing up regularly in my IP filter logs. 2003-07-08 02:48:37 +00:00
simonb
933836753e Add port 8080 (http-alt) to the "ports commonly found in security logs"
section.
2003-07-07 01:26:15 +00:00
marcus
5bc691beb5 Removed references to devices and special targets not actually supported. 2003-07-04 16:34:41 +00:00
lukem
8026bccd2c Revert previous; the "return" if rc.subr had already loaded had issues
in some circumstances where run_rc_script()'s sourcing of an rc.d file
which then sourced rc.subr, the `optimisation' in rc.subr to "return as
we're already loaded" would finish more than just the inner-most sourcing.
I haven't tracked down the exact issue, but removing the `optimisation'
fixes the problem I noticed in starting up certain rc.d scripts, and
may fix [bin/22053] as well.
2003-07-04 14:14:10 +00:00
atatat
9b040021ec Make /usr/include/milter for sendmail's milter headers 2003-07-04 04:54:40 +00:00
wiz
598ecee001 Add /usr/share/locale/ro{,/LC_MESSAGES}. 2003-07-03 15:17:17 +00:00
christos
7d3ab77f7d identd can now run as nobody. 2003-06-27 18:40:06 +00:00
tshiozak
1d910e61f7 Citrus iconv support(5)
add iconv data files.  now ready to use iconv stuffs.
TODO:
- manpages.
- enrich mapper/esdb.
2003-06-27 08:39:59 +00:00
lukem
b0f080676b Support "multicastclient" directives in ntp.conf.
Based on [bin/17930] from Stoned Elipot.
2003-06-27 07:22:36 +00:00
lukem
151e9a3180 If _rc_subr_loaded=true, "return" immediately, otherwise set that var
and continue as normal.
Gains ~ 2 seconds on 110 runs of ". rc.subr" on a shark.
Suggested by Andrew Cagney in [bin/18400]
2003-06-27 05:01:21 +00:00
lukem
e85d25db42 run_rc_command(): when checking if ${command} exists before executing it,
be sure to check under ${name_chroot} (if set).
Fix from Ed Ravin in [bin/18523]
2003-06-27 04:06:01 +00:00
wiz
71a2c91273 Add some dirs to be used by groff-1.19 (coming soon). 2003-06-26 09:24:25 +00:00
martin
78e800a41c Ifwatchd now uses syslog, so require syslogd. 2003-06-24 09:32:46 +00:00
lukem
eaaa8e8699 Invoke makeobsolete with ${HOST_SH} and pass in ${MAKE}.
Fixes FreeBSD cross-build problem noted by Valeriy E. Ushakov <uwe@>
2003-06-08 23:49:21 +00:00
reinoud
9af716fd9a Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
fair
5b0bcd4163 Add "kamanda" 10081/udp for Amanda with Kerberos per PR 21756 2003-06-03 16:59:48 +00:00
christos
b224530c28 Use more concise shell syntax:
1. for i in $* -> for i
2. foo=$* -> foo="$@"
2003-06-03 14:00:45 +00:00
martin
23ccfa6b2c Add nsmb support. 2003-06-01 20:25:02 +00:00
thorpej
846d276e6f Don't build a big-endian image on platforms which don't run big-endian. 2003-05-26 15:46:48 +00:00
lukem
6087671da1 * Always include <bsd.endian.mk>, and include it much earlier so that
it's available for the MD etc.${MACHINE}/Makefile.inc
* Set PWD_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than
  overriding TARGET_ENDIANNESS.
2003-05-18 08:28:05 +00:00
wiz
5b143c1fff No point in a qms device if there is no qms driver. 2003-05-15 19:05:28 +00:00
wiz
b0b2ab2055 Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
2003-05-15 19:01:38 +00:00
wiz
804526377b Remove device nodes for obsolete olms and omms drivers.
Except for i386, the driver never existed for that port anyway...
2003-05-15 13:18:05 +00:00
lukem
6409af4cfe use find_file_in_dirlist() (instead of private version) when searching
for the ssh moduli file
2003-05-15 05:25:24 +00:00
ragge
9f99c49364 Remove kvm.db, reminded by atatat. 2003-05-14 16:36:22 +00:00
thorpej
003c4a9e6c Add /dev/icp*. 2003-05-13 15:44:32 +00:00
lukem
35bfe45330 Ensure that the exit status in do_obsolete() is correctly determined.
Problem introduced in previous, and noticed by Rob Quinn in private email.
2003-05-13 02:41:27 +00:00
ragge
91b1808f8e Remove kvm_mkdb, it's not used anymore. 2003-05-11 18:17:30 +00:00
lukem
db48ae2bcb reverse sort all of the obsolete lists before attempting to removing,
incase an obsolete directory appeared in a setfile whose filename
alphasorted before another setfile with obsolete "children" of that directory.
fixes [install/21348] from Rob Quinn.
2003-05-10 10:20:31 +00:00
augustss
528dbaae90 Remove ksyms before mknod ksyms. 2003-05-09 00:13:50 +00:00
lukem
b8984d0017 etc/mail/aliases.db is optional. From [misc/18536] by Jeremy Reed. 2003-05-09 00:10:52 +00:00
christos
e98429f32c fix ugen issue from latest shell changes that treat numeric constants
differently depending on their prefix.
2003-05-07 13:41:34 +00:00
gmcgarry
cd3c6906c0 Add wsfont support. Addresses PR#18388. 2003-05-04 01:18:56 +00:00
tron
8595228212 identd(8) must run as "root" to use TCPCTL_IDENT via sysctl(3). This fixes
PR bin/21261 by myself.
2003-05-02 08:51:08 +00:00
wiz
e50c267861 Add arc and cobalt html4 subdirs. 2003-04-30 09:40:43 +00:00
lukem
14ec4984a1 etc/powerd/** is optional 2003-04-30 09:05:56 +00:00
bjh21
24a7d37d49 Create man4 and cat4 directories for arc and cobalt. 2003-04-30 09:01:41 +00:00
ragge
ce0bf5c28d Add ksyms to "std" devices. 2003-04-27 13:15:28 +00:00
wiz
c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
fvdl
41f90fa6c0 x86_64 -> amd64 2003-04-26 21:59:43 +00:00
fvdl
043f21d9ea x86_64 -> amd64 2003-04-26 19:14:17 +00:00
fvdl
0945a6df17 x86_64 -> amd64 2003-04-26 19:02:50 +00:00
perry
a6c2c6c171 Add more descriptive header comments for default dotfiles.
Text based on suggestions by Igor Sobrado in PR misc/21223
2003-04-24 01:02:26 +00:00
perry
66adc5d938 Add a default .logout file.
Suggested by Igor Sobrado in PR misc/21223
2003-04-24 01:01:39 +00:00
perry
c2c36bf309 Make a bunch of names mindlessly consistent with the one true way
(e.g., massbus->MASSBUS, unibus->UNIBUS, and similar for some device
names.)
Proposed by Igor Sobrado in PR port-vax/21183 -- but he sent in a
patch that he'd obviously cut and pasted from an xterm or something
that similarly destroyed all the tab characters so I had to re-do it
by hand.
2003-04-23 23:25:02 +00:00
thorpej
953de79cde Add a reset_button script. 2003-04-20 20:55:39 +00:00
martin
66baae11eb Add sysmon. 2003-04-20 17:03:32 +00:00
wiz
71dd417eff {cat4,html4,man4}/arm32 not needed any longer. 2003-04-18 14:54:57 +00:00
thorpej
860e1121cf Add /dev/power (part of sysmon). 2003-04-18 06:00:46 +00:00
thorpej
8332742ea3 Add powerd rc.d script and configuration scripts. 2003-04-18 05:42:04 +00:00
thorpej
3449ccac0f Install powerd(8) scripts when installing etc files. 2003-04-18 05:41:47 +00:00
thorpej
e45c396415 Add a default power_button script for powerd(8). 2003-04-18 05:40:06 +00:00
thorpej
324cf4c7d6 Add /etc/rc.d/powerd. 2003-04-18 05:38:40 +00:00
thorpej
7fcb5daedb Add defaults for powerd(8). 2003-04-18 05:21:20 +00:00
thorpej
f0150db8f2 Add an rc script for powerd(8). 2003-04-18 05:19:35 +00:00
thorpej
7591178b00 Create /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:29 +00:00
thorpej
f72721d957 Add man4 acorn32 dirs. 2003-04-17 22:23:47 +00:00
fvdl
c3065b2a37 Create two ptys in the init case. You never know, you might need them
(sysinst does).
2003-04-17 18:51:23 +00:00
fvdl
750b5b8327 Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
2003-04-17 18:03:10 +00:00
wiz
4b9534ebf5 Remove quadmouse comment without matching code; remove unused qms and mouse-qms targets. 2003-04-16 10:02:43 +00:00
cjs
957075b57b Change ipsec.conf not to be world-readable and nodiff, so we don't expose keys
if they happen to be in that file. Also add /etc/racoon stuff.
2003-04-16 03:16:38 +00:00
lukem
a1e70625a5 remove superfluous "uname=root gname=wheel" from etc/postfix/** entries 2003-04-15 06:21:51 +00:00
wiz
8c98a58428 Make it "Risc PC" instead of RiscPC.
Noted by Ben Harris who pointed at
	http://www.riscos.com/faqs/spelling_and_pronunciation.htm .
2003-04-14 11:57:10 +00:00
wiz
c08f5994be Correct casing of RiscPC. From Igor Sobrado in PR 21144. 2003-04-14 06:32:02 +00:00
wiz
a20ec90fe2 Uppercase ITE. Addresses PRs 21138 to 21141 by Igor Sobrado. 2003-04-14 05:45:40 +00:00
salo
0db44986d2 Add slovak language libc message catalog. 2003-04-14 05:21:47 +00:00