Commit Graph

3036 Commits

Author SHA1 Message Date
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