Commit Graph

3261 Commits

Author SHA1 Message Date
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
jmmv 8fee00a553 ... ca/LC_MESSAGES is not needed. 2003-04-13 09:54:41 +00:00
jmmv 4f7db6cd44 Finally add complete support for Catalan (ca_ES, ca) LC_CTYPE and libc
catalog messages.
Thanks to salo for letting me know what was missing.
2003-04-13 09:48:18 +00:00
thorpej b5154d96e4 Build a selection of install kernels. 2003-04-10 02:22:06 +00:00
jmmv 33b8c350b6 Add a Catalan libc message catalog file (plus everything else needed to
track the file).  Closes my own PR lib/19498.
2003-04-09 20:17:06 +00:00
perry cb606faa7a add :ht: to the Pc entry so wscons consoles will have proper tab
handling (i.e. not oxtabs.)
From Geoff C. Wing in PR misc/21006
2003-04-04 16:43:38 +00:00
jdolecek 772fa9214a add /usr/share/examples/smbfs/dot.nsmbrc 2003-04-04 07:53:09 +00:00
is f334171ccc Variable substitution happens at trap installation time, not at trap
execution time - so it used to print "Using default configuration of
/etc/passwd".
2003-04-03 11:25:10 +00:00
atatat 4beb2262be Capitalize the word "if". 2003-04-02 18:17:27 +00:00
atatat a7627e5f06 Reorganize/clarify the configuration checks (and subsequent messages)
that might block startup, and be more permissive in general about
allowing the daemons to start.

Add some descriptive comments to the top of the smmsp script that
describe the purpose of the process.
2003-04-02 18:00:13 +00:00
atatat 8deab10532 Add more style points to a few places in the do_sendmail section, and
teach it how to install sample config files so that people aren't as
lost.
2003-04-02 17:56:46 +00:00
perry c85da95565 For consistency and simplicity, move the default location for cron logs
from /var/cron/log to /var/log/cron
2003-04-02 14:38:26 +00:00
perry 2f1f870fa8 make ipl consistently "IP Filter" 2003-03-31 03:58:55 +00:00
wiz 6b225e1f2c MicroVAX, not microvax. 2003-03-30 21:13:22 +00:00
perry 24c4870c9c Ip filter->IP filter 2003-03-30 20:19:51 +00:00
perry 7109d49cfa builtin->built-in 2003-03-30 20:18:47 +00:00
perry 30156fc1d9 readd->re-add 2003-03-30 20:18:14 +00:00
perry 524e93ae17 reenable->re-enable 2003-03-30 20:17:15 +00:00
perry 3367c22e5b IPilter->IP filter 2003-03-30 20:16:34 +00:00
perry 58825b7dac builtin->built-in, newstyle->new style 2003-03-30 20:15:36 +00:00
wiz 0be80bf193 Sync vnd descriptions to one wording. 2003-03-30 18:11:34 +00:00
wiz 4f7f654a46 Uppercase scsi. 2003-03-30 18:08:31 +00:00
wiz 8dab8f4d58 Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959. 2003-03-30 17:41:51 +00:00
wiz 7d7647a831 Correct spelling of "RS-232" and IP filter. PR 20942 by Igor Sobrado. 2003-03-30 17:24:40 +00:00
ichiro a7d0ae612f add pci* 2003-03-28 22:40:19 +00:00
tshiozak c2cadb8a46 add support for zh_CN.GB18030 locale.
(lib/20835 by sigsegv at s25 dot xrea dot com)
XXX: charclass for GBK compatible area is not supported.
2003-03-25 18:26:51 +00:00
atatat ffb0f92a6c Add the new queue directory for the sendmail "mail submission" mode. 2003-03-24 15:21:18 +00:00
atatat d47616429d Expand the sendmail settings section (from two to five) and elaborate
(in brief) on what it's all about.
2003-03-24 15:20:36 +00:00
atatat 9dc7b7c964 Tweak postinstall to check for (and help out on) the upgrade to
sendmail 8.12.8.  Some of the same machinery (in shorter form) is in
the additions to rc.d/sendmail.  Also, add a smmsp startup script for
the sendmail client queue runner.
2003-03-24 15:19:27 +00:00
chris 41bc088bc8 Add bpf0 to the ramdisk for MAKEDEV
While here also remove the qms related devices, cats is very unlikely to have
a quadrature mouse attached to it.
2003-03-23 13:28:45 +00:00
chris cad8f58de0 Correct gunzip behaviour, feed the output into stdout, so the redirect works. 2003-03-22 00:13:35 +00:00
mrg 84bea27ae2 back out revision 1.5: put back the "default to sendmail" lines. once again
netbsd ships with a working mailer out of the box.  (be nice if it *wasn't*
sendmail, but until there is a working in-tree replacement that requires no
further configuration, ie, "just works", sendmail is all we have to choose
from.)

approved by: core
2003-03-20 23:09:56 +00:00
wiz 4f30393de2 Allow ccd autoconfiguration to be turned off (by setting ccd=NO in
/etc/rc.conf; default is YES.)
Suggested by elric, ok'ed by lukem.
2003-03-19 08:54:00 +00:00
wiz 4c74ff3fdd Allow cgd configuration to be skipped (by setting cgd=NO, defaults to YES).
Closes my PR/20766.  Based on a suggestion by lukem.
2003-03-19 06:06:47 +00:00
jdolecek 2a74d10407 atc uses /var/games/atc_score, not atc_scores
Problem pointed out and fix supplied in PR install/20709 by Kazuhito Tsuburaya
2003-03-15 08:44:16 +00:00
martin 047a69a2e5 Make it start before "SERVERS" and remove redundant dependency on
"network". This brings it in line with the altqd script, which has
very similar requirements.
2003-03-14 09:18:50 +00:00
matt 8344279675 Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
2003-03-13 17:02:52 +00:00
hannken 42cc9f8839 Add wscons to MAKEDEV. Add wsfont major number. 2003-03-13 14:56:56 +00:00
lukem 325e31e279 rcconf_is_set(): add optional 4th arg to control whether "obsolete"
warnings are printed.  this means it can now be used for "non obsolete"
rc.conf checks as well...
2003-03-11 04:49:18 +00:00
lukem b307261961 clarify that lkm needs /usr 2003-03-10 18:21:00 +00:00
lukem f70738da04 move altqd slightly later in the boot sequence; as it's in /usr/sbin,
it needs to depend upon mountcritremote, not run before NETWORKING ...
2003-03-10 18:17:06 +00:00
lukem 7dbfbdf511 - rename 'iso-image_*' -> 'iso-image-*'
- run MAKESUMS in iso-image, *after* the MD iso-image-md-post has run,
  since the latter might actually modify the generated image...
2003-03-08 00:22:29 +00:00
lukem 4d531936c1 use distrib/common/sunbootcd.sh instead of building the
non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
2003-03-07 09:46:51 +00:00
fvdl a5e1ea426b Add GENERIC.MP to the kernel sets. 2003-03-07 00:48:48 +00:00
tron 071441c2a1 Remove "/etc/X11" and "/etc/fonts". The other X11 directories are not
listed here, too.
2003-03-05 16:47:03 +00:00
jmmv db97c4116c Use the pidfile created by wsmoused. 2003-03-04 22:32:11 +00:00
jmmv 29e803a523 Add the /usr/share/examples/wsmoused directory (hi wiz!). 2003-03-04 14:53:01 +00:00
bjh21 892091f675 Use ${HOST_INSTALL_FILE} to put the bootloader in the release tree,
rather than cp.  This seems to be what everyone else does, and saves
problems if the release tree is already part-populated.
2003-03-01 15:36:22 +00:00
tron 7a18de142d Add "/etc/X11" and "/etc/fonts". 2003-02-28 23:04:48 +00:00
atatat 3065ba7178 Execute the actual command as it's set instead of calling the sh
routine directly.  This allows one to to override a specific command
via the use of /etc/rc.conf.d/sysdb.
2003-02-24 01:04:45 +00:00
lukem 6bce155b9e now that the obsolete lists are part of the "base" set (instead of "etc"),
only look for them in ${DEST_DIR}/var/db/obsolete
2003-02-22 23:46:46 +00:00
lukem 4f6381b784 all:
Use /var/db/obsolete instead of /etc/obsolete

etc/Makefile:
	Create separate target "install-obsolete-files" to populate
	/var/db/obsolete, instead of using "install-etc-files".

Makefile:
	Add do-obsolete target, to run "cd etc && make install-obsolete-files",
	and add this to BUILDTARGETS.
	This moves the "obsolete files" creation from "distribution" to "build".


Per discussion with Andrew Brown.
2003-02-22 03:20:45 +00:00
jhawk 1d79603c81 Use $diff_options when running diff in /etc/security.
Default diff_options to -u, for unified-format context diffs,
because context is essential to a useful evaluation of differences.
This represents a behavior change.

Implements change-request PR security/17247 from
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2003-02-21 22:47:51 +00:00
jhawk 3b390ffb5f Suppress emailing the daily security report if it is empty, unless
send_empty_security=YES. Implements change-request PR security/17249
from Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2003-02-21 22:35:46 +00:00
martin 5463479362 Add a few devices. 2003-02-20 13:37:33 +00:00
lukem 4777a3b44a rm -f target file before cp -f. 2003-02-20 12:47:29 +00:00
lukem 5c198ab018 etc/postinstall
*	Improve message display in find_file_in_dirlist()
    *	do_obsolete(): instead of running distrib/sets/makeobsolete to
	temporarily generate the obsolete sets lists, look for them in
	${SRC_DIR}/etc/obsolete/* or ${DEST_DIR}/etc/obsolete/*.
	The obsolete check now works for "extracted etc.tgz" as the source dir.

etc/Makefile (install-etc-files), distrib/sets/lists/*
    *	Install obsolete set lists into /etc/obsolete/
    *	Tweak how pwd_mkdb files are added to METALOG

distrib/sets/makeobsolete
    *	Don't bother with "_obsolete" suffix on generated file names.
2003-02-20 11:40:28 +00:00
jdolecek 68756e42ca don't need duplicate nsmb entry in 'Special devices' 2003-02-18 12:29:43 +00:00
jdolecek 3b055749f1 fix nsmb* to use correct assigned major, hook creation of nsmb devices
into 'all' target
2003-02-18 12:28:57 +00:00
lukem 31e59fe101 - add [-m machine] support, from David Laight dsl@
- parenthesise some messages
- add some bugs and todo items
2003-02-18 10:12:52 +00:00
grant 117844eb75 change behaviour of 'reload' to only reload the NAT rules and NOT flush
the state table, making it much more useful.

The behaviour of 'restart' is unchanged (flush state table and reload
rules), but is now done slightly more elegantly.

ok'd by lukem.
2003-02-16 22:18:46 +00:00
lukem ed45489d27 be more obvious about the requirement on mkisofs 2.0 2003-02-16 00:22:37 +00:00
lukem cd8d483609 Do not ship with (an empty) /home in the base distribution.
The old behaviour caused problems when /home is a symlink on a system
and pax is used to extract base.tgz or "installworld" the base set
(because pax will remove the symlink before creating the now-empty
directory).  It also made it more difficult for a site that wants
permissions on /home to be something other than what the NetBSD
defaults are.

For sites which want /home, it's a "once off" operation to create it,
and "useradd -m" (with the default "base-dir" of /home) will create
it anyway.

This resolves PR [install/19673], as well as being more consistent
with our defacto policy of "not stomping on stuff we don't need to".
2003-02-16 00:18:59 +00:00
bouyer 3f0c6192ac Also register rquota version 2. 2003-02-14 14:56:45 +00:00
jhawk 687107d3c0 Under check_mtree, invoke mtree with -L if check_mtree_follow_symlinks is set.
Apparently mtree -L is imperfect, but it is far better than the lack thereof
if symlinks are involved reaching files mtree verifies.
2003-02-13 02:42:06 +00:00
jhawk 1a4c8c0295 Add some flexibility to /etc/security, by way of security.conf options:
check_passwd_nowarn_shells	Don't warn about these non-/etc/shells shells
  check_passwd_nowarn_users	Don't warn about these users
  check_passwd_permit_star	Don't warn about "*" in the $2 field
Behavior change: check_passwd_nowarn_shells defaults to /sbin/nologin and
  /usr/libexec/uucp/uucico, so that it will not warn about the default
  master.passwd.
The rationale here is that an administrator who chooses to permit these
  warnable conditions should not be warned about them day after day, yet
  should not be forced to disable check_passwd entirely.
check_passwd_permit_star is primarily of interest to sites who use *'d
  entries for Kerberos or ssh logins, despite the fact that we permit
  "*ssh" (etc.) for this purpose (legacy).
2003-02-13 01:55:10 +00:00
martin afe227f25f Make the single-arch ISO image created by "make iso-image" bootable.
(Using partition f to boot, since that is the default on sparc64
machines and we don't have to consider conflicts for single arch CDs -
this means "boot cdrom" just works)
2003-02-08 18:39:56 +00:00
atatat 3ce3a9a2c4 When finding core files, only print the names of things that are
*files*, (ie, not directories, or symlinks, or...).  Also remove
the -a instances.  They're implicit.
2003-02-04 05:31:18 +00:00
thomas 8b5dc32381 WS keyboard device. 2003-02-02 18:05:08 +00:00
lukem 2c589141ff Implement start_cmd as:
start_cmd="${name} "'${rc_arg}'
and stop_cmd & reload_cmd as:
	stop_cmd=$start_cmd
	reload_cmd=$start_cmd
(Just to be tricky)
2003-01-31 06:47:16 +00:00
thorpej 9a1f475221 Add ADI_BRH, IXM1200, and SMDK2800 kernel sets. 2003-01-27 16:13:27 +00:00
wiz 3f943a41ed Add /usr/share/locale/gl{,/LC_MESSAGES}. 2003-01-26 22:17:02 +00:00
ross 6f90a0ed10 Add ms-sql-{s,m}, currently quite popular in packet filter logs worldwide.
(I did this last night but it must have timed out.)
2003-01-26 04:16:36 +00:00
jmmv b85005e4c0 Add missing ta=4.2BSD to the `a' partition of `floppy' entry.
Okay'ed by jdolecek.
2003-01-25 18:28:44 +00:00
soren 15b88bc43f Oops, didn't mean to remove toor (just yet). 2003-01-25 01:14:03 +00:00
soren c552afcd61 Consistently with previous such changes, make daemon's default group 1(daemon)
rather than 31(guest). FreeBSD and OpenBSD have done the same thing.
2003-01-25 01:13:29 +00:00
keihan d7a3ec11fd TYPO:
bounary => boundary

Reviewed by Luke Mewburn.
2003-01-21 23:50:05 +00:00
martin 46ca961c02 Let v9 machines (ultras running sparc64 32bit kernels) use the v8
library too.
2003-01-21 18:15:54 +00:00
abs cb588f7bde Among the many things postinstall should check are up to date is... postinstall 2003-01-21 14:28:55 +00:00
salo 6d9616b35d Add IANA-assigned number for SILC (Secure Internet Live Conferencing).
Closes PR misc/19945 by me, approved by martin.
2003-01-20 09:06:02 +00:00
rafal 032cef8c03 Add comments for MAKEDEV.8; thanks to Thomas for the reminder! 2003-01-20 01:52:19 +00:00
soren 179d452ef6 Add panel driver. 2003-01-20 01:21:13 +00:00
rafal b88f8bcfad Add PCI and audio devices; from Chris Sekiya. 2003-01-19 23:21:44 +00:00
pooka 5aef2cf2a4 add IANA-assigned subversion port number 2003-01-19 17:49:39 +00:00
wiz b001228eca Add more locale dirs for texinfo-4.3 files. 2003-01-17 15:50:44 +00:00
minoura 59cc4d6235 Add rc.d/staticroute check. 2003-01-16 15:26:14 +00:00
martti 405c73366e Back out previous (as discussed with releng). The correct way to set this is:
# echo "myserver" > /var/yp/binding/`domainname`.ypservers
2003-01-16 11:55:28 +00:00
martti 1e0411d0d5 Script to bind a NIS client to a known server.
$ grep yp /etc/rc.conf
ypbind=YES
ypbind_flags="-ypset"
ypset=YES
ypset_flags="myserver"
2003-01-16 07:37:33 +00:00
is 490bb906c8 not enough inodes for two more tapes 2003-01-15 22:06:03 +00:00
is 33ce194471 Create device nodes for 2nd and 3rd CD drive (and while we're here, also
2nd and third SCSI tape drive) on install media. Fixes PR 14356.
2003-01-14 20:05:29 +00:00
wiz d7f2ae353c Add /usr/include/dev/dmover. 2003-01-14 11:29:02 +00:00
fair 50c44f90f7 Add bktr* and radio* 2003-01-14 08:49:07 +00:00
matt f5eb8b2e72 Build and supply a GENERIC.MP now that SMP works. 2003-01-13 07:11:42 +00:00
yamt 567c0a7e50 in comment, metion about src/distrib/sets/lists/etc/mi as well. 2003-01-10 05:07:45 +00:00
mrg b83a08e1ff allow NO_SENDMAIL to equal "no" 2003-01-09 16:57:45 +00:00
christos 99f6c8054f add staticroute 2003-01-09 15:58:23 +00:00
christos e4cf375b81 Script to add and remove static routes:
eg:
    $ cat /etc/route.conf
    # Turn on/off IP forwarding.
    +sysctl -w net.inet.ip.forwarding=1
    -sysctl -w net.inet.ip.forwarding=0
    net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
2003-01-09 15:57:02 +00:00
christos 8d1054dc70 revert previous; luke and matt want this as a separate script. 2003-01-09 15:52:58 +00:00
christos 22aa10c0a0 Add /etc/route.conf processing to add static routes. Removes one more
reason for netstart.local.
2003-01-09 15:12:47 +00:00
perry 9ae5a89aa8 it is okay for the sendmail and postfix .cf files to be writable by root 2003-01-08 15:34:18 +00:00
jhawk 2c3ae584e1 Run ldconfig with ${rc_flags} so you can set ldconfig_flags in rc.conf
to specify additional a.out directories to merge into the runtime link
cache.
2003-01-08 04:17:19 +00:00
tron 2005231632 Revert last change for now. It causes hangs during system shutdown when
NFS filesystems are mounted.
2003-01-07 08:41:55 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz 74994bbeaf Add comments for ld and mlx (hi allen!). 2003-01-06 19:14:51 +00:00
lukem bc4b0716ee Missed a 'cd ${.CURDIR}' when adding the OBJDIR support here,
causing "make distribution" to fail on "install-etc-files".
(oops!)
2003-01-06 14:47:28 +00:00
wiz c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
tron 74efbb051c Add keyword "shutdown" so that this script is really executed on system
shutdown to delete clone interfaces.
2003-01-06 10:11:14 +00:00
lukem ef98b9ddca Fix logic error I introduced recently into mount_critical_filesystems().
Noted by kilbi@rad.rwth-aachen.de in [bin/19703].
2003-01-05 22:59:35 +00:00
christos 611f2a6106 say what don't you like about $when, approved by luke. 2003-01-05 22:47:12 +00:00
briggs f23e0c65e4 Understand how to create device nodes for mlx and ld.
As part of 'all', create mlx0 and ld0-3.
Pointed out by Daniel Eggert in PR 18487.
2003-01-05 19:24:05 +00:00
lukem dd2a7e0da5 'if ! command;' is not POSIX sh, even though our /bin/sh supports it 2003-01-05 11:40:29 +00:00
lukem 7b4296a270 - Enable OBJ support for etc/; a scratch dir is needed for iso-image.
- Add ${.CURDIR} to various rules.
- Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation
  from here.
- Rework iso-image to copy temporary files (such as kernels or boot files)
  into a temporary directory instead of stomping over ${RELEASEDIR}, and
  use mkisofs -graft-points to merge the temporary directory and
  ${RELEASEDIR}/${MACHINE}.
	NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points
- Add some more comments
2003-01-04 15:49:29 +00:00
lukem 15388316f6 Change how internal boolean variables are used to:
if ! ${_somevar:-false}; then
		_somevar=true
	fi
(Consisent, slightly quicker, and slightly cleaner)
2003-01-04 15:27:43 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem cdee7cbdf4 Don't remove ${RELEASEDIR} if UPDATE is defined. 2003-01-03 14:27:54 +00:00
shin 031dbfcca0 add PCI bus access device. 2002-12-31 06:54:13 +00:00
tron 08eb23c3fe Do last change differently so that the script doesn't print out "//" if
"DESTDIR" is set to "/" as suggested by Luke Mewburn in private e-mail.
2002-12-30 13:16:43 +00:00
tron f0df353967 Fix postinstall message for builds with "${DESTDIR}" set to "/". 2002-12-30 12:24:45 +00:00
tsutsui 8fda9330fe Make gdrom device on ramdisk. 2002-12-29 18:31:12 +00:00
lukem 8ab934ee29 If "check" and some items failed, output the postinstall command-line
required to fix the issues.
2002-12-27 00:04:49 +00:00
grant 47224db054 fix /etc/security stderr redirection.
from rad@twig.com in PR bin/19553.
2002-12-25 02:41:03 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
lukem d9aa9519e8 Invoke ${PAX} with '-O' so that various errors don't hang the make
or the command with an interactive question.  (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).
2002-12-21 15:54:48 +00:00
lukem ebdb5fe2ad Remove /usr/local (and children) from the base distribution; we shouldn't
be creating directories or modifying permissions under there.

(/usr/local/* is still retained in various default PATHs, for convenience)
2002-12-20 06:39:53 +00:00
lukem 9dac6e17e3 Remove /sys -> /usr/src/sys symlink. 2002-12-19 23:04:26 +00:00
jdolecek 67705b22ff use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
2002-12-19 20:03:46 +00:00
jdolecek 0565cccc1a remove entries which were used for distrib builds only 2002-12-19 13:54:19 +00:00
lukem 9f5d4466a9 Always invoke mtree & pax with "-N ${NETBSDSRCDIR}/etc" so that user & group
lookups occur from there rather than from the host system.
2002-12-19 12:35:01 +00:00
wiz 76a3ef11cd Describe twe device. 2002-12-18 20:27:25 +00:00
jdolecek 1e127d86d1 ttyaction is ${MACHINE}-specific, not per ${MACHINE_ARCH}
remove special ttyaction hook from etc/etc.sun[23]/Makefile.inc, it's no longer
  needed
ld.so.conf is ${MACHINE}-specific, the code happened to work for i386 and sparc
  only because ${MACHINE} == ${MACHINE_ARCH} there
remove basesrc/etc/ld.so.conf and its special vax/ns32k/m68k hook in Makefile -
  vax & m68k are ELF now, and ns32k doesn't need to be handled here
2002-12-17 15:54:59 +00:00
jdolecek 7043473827 reference disktab(5) and /usr/share/examples/disktab/ rather than
duplicating the Key info here
2002-12-17 15:20:04 +00:00
jdolecek 800e198ba6 add example disktab file 2002-12-17 15:16:40 +00:00
jdolecek bd9e4effc1 g/c, not used anywhere anymore 2002-12-17 13:18:49 +00:00
lukem f1de01bbc3 - makedev: look for MAKEDEV in ${SRC_DIR}/etc/etc.${MACHINE} & ${SRC_DIR}/dev,
so that postinstall on an extracted etc.tgz set works for this check
- implement find_file_in_dirlist(), and use in do_makedev() and do_postfix()
2002-12-17 12:47:48 +00:00
perry 6bb51beb04 add postfix html directory 2002-12-17 04:26:42 +00:00
pooka b79588a8fa remove duplicate https entry added in last commit
noticed by salo
2002-12-16 10:48:59 +00:00
pooka 1890d52963 add https (443) and microsoft-ds (445) 2002-12-15 22:23:53 +00:00
seb dc89e919cf Reorder dpti and dpt cases so that 'dptiN' is not interpreted as dpt unit number
'iN'.
2002-12-15 16:56:10 +00:00
tsutsui ef2ce0a66d Fix some disk entries to match MAXPARTITIONS == 16. 2002-12-14 05:28:47 +00:00
christos 0cc4fbf335 add twe control device 2002-12-13 23:26:47 +00:00
fvdl 56b55c3081 Nearly-empty disktab file (only floppy types). 2002-12-10 19:50:28 +00:00
scw 69e33812c6 Delete section 8 manpage dirs for walnut, and add evbppc. 2002-12-09 12:48:22 +00:00
scw 0ca6c9c4d5 Move etc.walnut/* to etc.evbppc and tweak BUILD_KERNELS in Makefile.inc
to pick up the renamed install kernel.
2002-12-09 12:37:10 +00:00
lukem 557baa699b mipsco actually needs the RAMDISK kernel for distrib/ ... 2002-12-09 05:20:29 +00:00
ad ee3446eabf Create dpt(4) nodes. 2002-12-07 19:50:58 +00:00
jdolecek 79c873ff0a Make the release bits more complete for hpcsh & dreamcast.
Change sent by FUKAUMI Naoki in private e-mail, thanks.
2002-12-06 09:09:05 +00:00
lukem e1af106002 remove unnecessary cruft after the recent etc/Makefile cleanup 2002-12-06 00:14:11 +00:00
jdolecek a32cc4158a seems like dreamcast distrib/ build needs GENERIC_MD kernel 2002-12-05 17:58:02 +00:00
jdolecek 6b5b4d2940 distrib/hpcsh appears to need the RAMDISK kernel for miniroot 2002-12-05 17:53:02 +00:00
wiz 247d6694f7 Handle links to absolute paths too. Closes my PR 19125. 2002-12-05 16:52:58 +00:00
fvdl 4d6d0b8806 Makefile for kernels and other additional things. Incomplete at
the moment.
2002-12-05 02:33:32 +00:00
lukem 5859913176 add .endif accidentally lost in rev 1.18.
noted by Lubomir Sedlacik in [port-sparc64/19259]
2002-12-04 06:15:01 +00:00
lukem 75876480da delint 2002-12-02 13:33:14 +00:00
lukem efbc87e9ab consistency tweaks 2002-12-02 13:31:16 +00:00
lukem 14b6cd8fa4 build GENERIC & INSTALL kernels as part of the release... 2002-12-02 13:30:59 +00:00
lukem fe5f6ce974 - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
2002-12-02 13:18:03 +00:00
rtr 5c184fab23 Document additional line required to emulate sendmail using postfix.
Without line error will be appended to mailed output of daily script.
Solves part of PR bin/18800
Patch provided by Ryo HAYASAKA <ryoh@jaist.ac.jp>
2002-12-01 11:36:53 +00:00
isaki 0875e475a6 add bmd, memory disk driver for Nereid bank memory. 2002-12-01 09:01:07 +00:00
martin cb91c83448 Add entries for /dev/bpp (parallel port on sbus machines) 2002-11-28 19:29:19 +00:00
hamajima e59bf4f94d add midi and sequencer. 2002-11-28 16:56:26 +00:00
perry 28e7d3260f Set a CRON_WITHIN of 7200 (2 hours). This should not be noticed on
most machines, but ones that are slept overnight (like laptops) will
no longer suddenly have all overnight jobs start simultaneously upon
awakening, rendering the machine useless. I thought I had done this
long ago, but it turned out I'd only done it for my own machines.
2002-11-27 15:09:17 +00:00
lukem aa17e07211 SYS_INCLUDE=symlinks has been deprecated; reenable obsolete check 2002-11-26 23:37:09 +00:00
pk f42168e71f On sparc v8 CPUs, map libsparc_v8.so in front of libc.so 2002-11-26 16:43:55 +00:00
martin 81f10d2dcd Add support for /dev/lpt* 2002-11-24 20:53:53 +00:00
blymn 6ad0917189 Added veriexecctl to examples tree. 2002-11-23 10:30:04 +00:00
thorpej a46e31a46c Disable "obsolete" for now, since it has major problems with
SYS_INCLUDES=symlinks.
2002-11-22 15:51:42 +00:00
lukem e7bf86cbd5 Separate snap_kern into three targets, to allow finer control over
which bits to build, and to allow "make -j N" actually do something in
parallel:
- build_kernels: for each of ${ALL_KERNELS}, create kern-${NAME} target
  which configures & builds the kernel ${NAME}.
- build_kernsets: for each of ${KERNEL_SETS}, create kernset-${NAME} target
  to create ${RELEASEDIR}/binary/sets/kern-${NAME}.tgz
- build_releasekernels: for each of ${KERNEL_SETS} ${EXTRA_KERNELS}, create
  ${RELEASEDIR}/binary/kernel/netbsd-${NAME}.gz (et al)
(The latter two .WAIT until build_kernels has completed)
2002-11-18 07:09:46 +00:00
itohy 590fc1bda3 Add {cat,man,html}4/dreamcast, html4/evbarm 2002-11-17 06:12:52 +00:00
itohy 30ce0d4185 Unification: "Maple Bus", "Maple" -> "Maple bus" 2002-11-17 05:45:26 +00:00
itojun 81a0af7afd ${setdir} is not needed as we chdir to ${setdir}. 2002-11-17 04:14:00 +00:00
lukem 3b1e0611c6 Add support for using the obsolete sets to check for and remove obsolete files. 2002-11-17 03:22:47 +00:00
lukem 1be07ae391 In ssh check, ensure that ${DESTDIR}/etc/moduli is up to date.
Supports either ${SRCDIR}/crypto/dist/ssh (if using -s on a src tree)
or ${SRCDIR}/etc (if using -s on an extracted etc.tgz set) for the
"source" location of moduli.
2002-11-17 01:04:46 +00:00
lukem 4befe83846 todo item: check etc/moduli (if possible) 2002-11-17 00:49:54 +00:00
itohy d071615e40 Add maple devices to comment. 2002-11-16 04:53:55 +00:00
itohy 161076c9dc Add mmem* and mlcd*.
Fix some disk assumed 8 partitions (actually 16).
2002-11-15 14:45:40 +00:00
jdc 91c0886bdf clockctl is major 94, not 84
Avoids confusing messages like :
  rhuidean su: jdc to root on /dev/clockctl
2002-11-07 18:19:07 +00:00
enami cb97efbe27 Add more files to obsolete rc.d files (actually, files found in rc.d/Attic). 2002-11-07 06:12:50 +00:00
perry 9bde75052d Update to 20021105 version 2002-11-05 21:22:21 +00:00
fair 97a835073c Add the radio(4) driver to NetBSD/alpha 2002-11-05 04:45:09 +00:00
blymn d52b0596b3 Added verified exec device (veriexec) 2002-10-29 14:11:17 +00:00
christos 56bafd7e79 make nobody's shell back /sbin/nologin. we'll use su -m for xdm. 2002-10-27 20:13:00 +00:00
christos b4a6515ec6 Don't make the shell of nobody /sbin/nologin. There are programs that expect
to be executing su nobody -c 'command', such as xdm's Xwilling do this.
2002-10-27 00:07:47 +00:00
martin ab9854138a Document wscons devices. 2002-10-26 13:48:34 +00:00
martin 6d2c171dab Add wscons devices.
Patch from Valeriy E. Ushakov's patch set for JavaStations.
2002-10-26 13:15:04 +00:00
jdolecek b083bd07e0 actually, don't make /dev/io on i386 neither; the kernel only supports
it as backwards compat with COMPAT_10 option
2002-10-24 12:19:21 +00:00
jdolecek c84fb609f6 add comment regarding /dev/io 2002-10-23 22:57:40 +00:00
jdolecek e51f1ff7d3 don't bother creating /dev/io on archs which don't support it 2002-10-23 22:56:29 +00:00
perry 59af185fe1 Add hackdir/perm and hackdir/record
move larn files into alphabetical order
2002-10-23 20:35:45 +00:00
perry e0ea033b82 add code to include (primitive) package tag names
XXX This file has gotten big and ugly enough that a bit of a rewrite
is likely in order.
2002-10-23 19:50:30 +00:00
thorpej 3ab37e2fb0 Add iscsi at 3260/tcp. 2002-10-21 22:44:34 +00:00
lukem 2cc646d2d1 ipmon -D writes a pidfile; use it 2002-10-21 05:20:00 +00:00
lukem bc22c3f4d9 whitespace consistency cleanup 2002-10-21 04:14:47 +00:00
lukem 77607821ec various cleanups inspired by etc.i386/MAKEDEV (some of which are
needed to fully support the "new distrib world order"):

* remove unnecessary trailing ;

* clean up whitespace

* remove unnecessary chown root or chgrp wheel directives; older code here
  didn't bother doing this, so why be inconsistent

* don't barf when we have fdesc mounted; just skip the devices fdesc provides

* when making directories, don't use -p and don't redirect stdout to /dev/null

* add /dev/fd/* support [hp300]

* convert to new pty generation [hp300]
2002-10-21 03:58:38 +00:00
lukem b29e8cecdd - replace 'sh -$- $0' with 'makedev' (missed this a while ago)
- TABify
2002-10-21 03:26:39 +00:00
lukem f7cd7f0c9e no need to chown root / chgrp wheel 2002-10-21 03:20:25 +00:00
christos 0068b7227d add ipfilter. 2002-10-20 00:35:21 +00:00
soren e596a26d09 Comment out the "real" Sendmail entries also to force the user to choose. 2002-10-17 16:52:40 +00:00
soren 0f79acf93f Add commented-out Postfix examples. 2002-10-17 15:41:54 +00:00
lukem 407233e842 Set
ALL_KERNELS ?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS}
and use ALL_KERNELS instead of the latter three in the loop to configure
& build kernels. This allows ALL_KERNELS to be overridden in make(1)'s
environment or on make(1)'s command line... (I got sick of waiting for
all eleven i386 kernels to rebuild when I was only testing one)
2002-10-16 02:30:48 +00:00
takemura 976f1e210f Enabled apm command device node for hpcmips and put apm.8 and zzz.8 man pages
into mi directory.
2002-10-14 06:31:37 +00:00
kent ba5fd9b3f8 /etc/rc.d/mixerctl: Add capability to save and restore mixer settings.
Thanks to Julio Merino.
2002-10-12 11:29:28 +00:00
jdolecek ee922fe253 back previous off; as pointed out by Jason, MP doesn't work on sparc yet 2002-10-10 17:09:32 +00:00
jdolecek 06436e36df add GENERIC.MP to KERNEL_SETS on architectures with MP support 2002-10-10 16:58:06 +00:00
abs 5470c1def0 If we are going to point ENV at .shrc, and link this in as /.profile as well
as /root/.profile, then use /root/.shrc rather than $HOME/.shrc otherwise
single user mode tries to use /.shrc...
2002-10-10 11:15:41 +00:00
itojun 4384c54c01 switch to GNU tar 1.13.25 with security fixes. 2002-10-10 08:22:22 +00:00
elric 98839fb386 Added cgd rc.d script and put it in the appropriate postinstall and
mtree files.
2002-10-09 14:55:53 +00:00
atatat a67080c774 Reorganize the sysdb script so that lkm{1,2,3} can request that the
dev database be rebuilt after loading modules.  Loading modules might
create new nodes in /dev, but the dev database is being initialized
too soon for lkm2 and lkm3.  This means that, eg, /dev/xf86 (typically
marked AFTERMOUNT and loaded by lkm2) will show up properly.  Reviewed
by lukem.
2002-10-08 16:21:52 +00:00
simonb 5a8c043bd9 Build the GENERIC kernel. 2002-10-07 02:00:23 +00:00
grant 904247526b create /etc/mail/local-host-names, required by sendmail(8). 2002-10-05 15:23:19 +00:00
chris 5c42327764 Add ttyEconf char device for wsmoused. The wonders of having MI stuff, it
just worked.

Also add wsfont and ttyEconf to the wscons section, which now means they're
created by default.

No man page update due to this.
2002-10-05 10:47:51 +00:00
tron 6e40068171 Automatically create and destroy cloning interfaces and sync IP Filter
immediately afterwards before bringing the interface up. This avoids
a small security gap existing in the previous scheme where IP Filter
was synced after all cloning interfaces were created and brought up.
2002-10-05 05:24:40 +00:00
elric f31269d0d9 Include cgd on the list of things to be mknod(8)ed on all arches. 2002-10-04 18:53:22 +00:00
grant 5cc1bbe41d Nuke 'umask 2' as it is inappropriate for the default useradd(8)
behaviour. The system default (022) is more sensible.
2002-09-29 14:52:57 +00:00
martin e7aaaf890a Add support for various USB character devices.
From Takeshi Nakayama in PR 18450.
2002-09-28 19:49:34 +00:00
augustss b7f522dbbf Create pci device nodes. 2002-09-27 09:50:56 +00:00
wiz f020223b5c Add auto-generated MAKEDEV(8) for ofppc. 2002-09-25 01:07:41 +00:00
wiz 0c12f59b63 Correct comment about how to create MAKEDEV(8). 2002-09-25 01:02:05 +00:00
martti 3e11ad9d79 Print a warning message if IP forwarding is not activated (PR#10295). 2002-09-24 11:03:53 +00:00
chs bc9c4c5a5a first cut at these files. 2002-09-21 01:41:32 +00:00
christos 322bb64a6e Discourage use of $*, prefering "$@", since it is white-space preserving. 2002-09-20 12:57:33 +00:00
heinz b63bcd4378 Add port 873 for rsync (http://rsync.samba.org), according to IANA 2002-09-19 02:09:52 +00:00
manu a9fed43086 Initial support for APM on hpcarm (just enough to get battery state) 2002-09-16 19:58:58 +00:00
perry 64d38d7104 add wtmpx 2002-09-16 02:36:53 +00:00
perry a2bd5604f5 Make utmp and utmpx group utmp, not group wheel. This gets masked by
the fact that rc.d sets it to group utmp anyway, but it was certainly
wrong in principle.
2002-09-16 02:35:04 +00:00
perry e1fd62d224 Create wtmpx, just as wtmp is created. 2002-09-16 02:30:29 +00:00
perry 8a20c1019d create a utmpx with the same permissions as utmp
Solves pr 18282, although very differently.
2002-09-16 02:23:31 +00:00
lukem c788921e6a In compare_dir(), when files don't match print:
src != dest
instead of:
	dest != src
I think that's less confusing and more consistent.

In do_postfix(), if ${SRC_DIR}/gnu/dist/postfix/conf doesn't exist and
${DEST_DIR}/usr/share/examples/postfix does, use the latter for the
${DEST_DIR}/etc/postfix checks.  This means that postinstall can be
run in a temporary directory which has etc.tgz extracted into it
with -s `pwd`, (versus against a source tree), and the postfix upgrade
works correctly.

Remove some unnecessary goop.
2002-09-06 08:58:48 +00:00
lukem e8487071c4 some consistency, please... 2002-09-06 06:41:32 +00:00
thorpej d0f5785ccd Add pci*. 2002-09-06 02:40:56 +00:00
lukem 5c6c83e074 - remember failure condition after first compare_dir in do_postfix()
- add another todo item which i'll work on later
2002-09-04 13:05:27 +00:00
itojun 69bb32570a postfix check (may need to do more). part of PR 18155 2002-09-04 08:00:01 +00:00
abs df86ef5a9f Split raidframe parity checking/rebuild out into raidframeparity, which is
called after quota so we don't end up with fsck and raidframe parity rebuild
taking forever after a crash/reboot.
While we are here check for raid[0-9].conf & raid[1-9][0-9].conf not
			    raid[0-9].conf & raid[0-9][0-9].conf
2002-09-03 15:35:51 +00:00
wiz bd93d53f7c Add /var/run/utmpx, requested by soren. 2002-09-03 00:56:08 +00:00
lukem 08e7e88032 In the MKDYNAMICROOT==yes case, move the shared linker from /lib/ld.elf_so to
/libexec/ld.elf_so.  Per discussion with a few other developers.
2002-08-28 09:57:10 +00:00
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
cjs 546cf4d2b0 Add exclude tag to dumpdates so that diffs do not show up in the daily security
report. This file is expected to change daily, and this is not a security
problem. (Also, the most recent dumps are already shown in the daily report.)
2002-08-27 02:01:37 +00:00
abs 9f39802939 Append ' - see rc.conf(5)' to unset variable warning:
/etc/rc.d/fu: WARNING: $fu is not set properly - see rc.conf(5).
Add a note to rc.conf that third party packages may test for additional
variables.
2002-08-26 17:46:57 +00:00
scw 50e32c42df Make the comments at the top match reality.
G/C a couple of other unused devices.

As a precaution, comment out the wscons entries until
the kernel supports it and note that their major numbers
will need to be re-synced.
2002-08-23 12:58:37 +00:00
scw a625cf764a Don't create satlink or ttyE device nodes. The former clashed with tty00,
and the latter (wscons) doesn't exist on Walnut anyway.
Renumber ttyCY to match Walnut's conf.c.
2002-08-23 12:18:06 +00:00
petrov 244d2b9f99 Add ttyh[01] for sab. 2002-08-22 06:08:53 +00:00
lukem 9d1fcd79ac Add ./lib and ./rescue 2002-08-22 01:31:22 +00:00
elric 8efcaddaf6 Added .k5login to the list of files that are checked in each user's
home directory.

Addresses PR: security/18000
2002-08-20 07:53:51 +00:00
isaki ea16a0bcb3 fix mode and group of /dev/reload 2002-08-17 05:28:54 +00:00
martin 39acbf03ed Avoid exit(0) to play more nicely with rc_fast_and_loose.
Noted by Greywolf on tech-userlevel.
2002-08-16 18:05:19 +00:00
petrov 7de59e9a76 Add tty for sab. 2002-08-16 17:56:56 +00:00
simonb 355bf213c8 Build the pci devices. 2002-08-13 01:16:24 +00:00
isaki 6746f40ce5 Add usb*, ugen* 2002-08-11 13:21:07 +00:00
lukem fa4442cae4 - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all)  (for consistency)
2002-08-09 02:39:15 +00:00
soren 4b843a85e4 dot.mailrc hasn't ever actually been maintained, unlike /etc/mail.rc . 2002-08-06 13:55:03 +00:00
soren f3893ccbed It's been a long time since it was nice to have this installed by default. 2002-08-06 13:45:08 +00:00
simonb b536c4fd19 Build PB1000 kernels too. 2002-08-03 05:53:01 +00:00
thorpej a1ef87dff1 Add {cat,man}4/evbarm subdirectories. 2002-08-02 21:22:23 +00:00
thorpej f7328ddbe7 Add dmoverio. 2002-08-02 00:50:25 +00:00
thorpej 6f79106887 Add dmoverio. 2002-08-02 00:45:37 +00:00
simonb 7f7785b33b Add the sysmon device. 2002-08-01 23:18:07 +00:00
wiz 104de337ad Add wtmpx rotation. Okayed by christos. 2002-08-01 17:24:29 +00:00
simonb 2b04c30a33 Add the sysmon device. 2002-07-31 05:02:12 +00:00
chris e37cad3dd2 Add comment to MAKEDEV about audio* devices.
Also update the MAKEDEV manpage (as reminded by wiz)
2002-07-30 20:50:10 +00:00
chris 5c83dc74b0 Update MAKEDEV to create pci0 and pci1 with the all target.
Also add a new audio target that generate audio0-3 and audio symlinks, matches the i386 /dev/audio devs.
2002-07-30 19:41:08 +00:00
lukem f91d5a2f45 add wdogctl 2002-07-30 09:11:27 +00:00
thorpej afbf483286 Add a wdogctl startup/shutdown script. 2002-07-30 05:58:42 +00:00
thorpej 3ab4598cc0 Add sysmon at cdev 101. 2002-07-29 18:26:58 +00:00
mrg 1a9847a044 clean up for 32 bit libs building (still broken) 2002-07-29 14:26:21 +00:00
bjh21 2e5fd793fb Set the volume ID on CDs produced my "make iso-image" to something meaningful,
rather than the default of "CDROM".  The volume ID now looks like
"NETBSD_ACORN26_16D".
2002-07-28 01:21:07 +00:00
grant 36ae72d99a add test for /usr/bin/logger in warn/err. 2002-07-25 14:34:46 +00:00
lukem f02e32fef8 Add ./var/spool/output/lpd -- lpd(8)'s default spool directory.
Resolves final outstanding issue with [bin/7054].
2002-07-25 13:13:44 +00:00
wennmach ac8c056486 Capitalize "starting", as in rc.subr. 2002-07-23 10:48:01 +00:00
ichiro d6ef756367 add ixpcom* 2002-07-22 01:56:38 +00:00
scw c83c355fba Mirror Izumi Tsutsui's change to the sh3 MAKEDEVs:
Fix cd and md entries since RAW_PART is 2 on sh5 ports.
2002-07-19 08:21:33 +00:00
bad e9a1e24f95 Ignore "peer" statements for local clocks too when selecting hosts from
ntp.conf.
2002-07-19 03:22:09 +00:00
tsutsui b58660379a Fix cd and md entries since RAW_PART is 2 on sh3 ports. 2002-07-18 15:07:48 +00:00
rafal 4b77d56d71 Skip blank lines in the input file (mixerctl.conf). 2002-07-16 03:24:24 +00:00
thorpej 3eface1664 Make release building work again. 2002-07-12 02:24:23 +00:00
scw 876ec719f0 MD etc files for evbsh5.
(copied from evbsh3)
2002-07-11 15:45:10 +00:00
simonb 3350e73517 Add kttcp device. 2002-07-11 00:17:39 +00:00
scottr ceb5ffc06a Add bpf devices to raminst (for dhclient). 2002-07-10 15:45:17 +00:00
simonb dbdcffef4f Add kttcp device. 2002-07-10 13:44:02 +00:00
tshiozak f96d7c340f add ./usr/share/locale/sk_SK.ISO8859-2 . 2002-07-09 09:04:51 +00:00
atatat 7fe5615355 Add systrace(1) support to rc.subr. Most services (eg, ${name} is
inetd) started from rc can now be run under systrace by setting
${name}_systrace to a set of flags to be passed to systrace.  Note
that policies need to generated before you do this.
2002-07-08 16:14:53 +00:00
grant 59ab4d4aba only try to run /usr/games/fortune if it is executable. 2002-07-08 02:54:58 +00:00
fredette 1c928c08b2 Removed ftpwelcome from BIN1; it was removed. 2002-07-06 18:19:31 +00:00
tron fbf97bb599 Remove unused user and group "news" as discussed on "tech-userlevel". 2002-07-06 09:27:31 +00:00
tv e248b10f59 Remove empty "ftpwelcome" entirely. This makes ftpd emit a two-line
extended greeting, which confuses lots of established firewalls.
(Not added to "obsolete" since removing this file is not mandatory.)
2002-07-06 04:24:08 +00:00
yamt 4b45ab0ce1 add comment:
"if you're adding new scripts, don't forget to update
src/etc/postinstall and src/etc/mtree/special."
2002-07-03 23:31:25 +00:00
yamt 3d67d222ff add wsmoused 2002-07-03 23:29:51 +00:00
yamt 1030138025 add mixerctl and wsmoused. 2002-07-03 23:28:24 +00:00
lukem 9073fc120d - Certain operations currently don't actually "fix" things, so
highlight this in the error message (as "[NOT FIXED]").
  idea from discussion with itojun
- Do NOT run  "cd /dev ; sh ./MAKEDEV all"  with "fix makedev".
  Just check/fix that /dev/MAKEDEV is up to date.
  I don't think that the former behaviour was appropriate, especially as
  part of a common "fix all" scenario.
2002-07-03 06:19:41 +00:00
itohy 908bf86adc Check for /dev/clockctl availability and print appropriate diagnosis if not. 2002-07-02 14:47:22 +00:00
hubertf d480af54fa fix typo (remove/remote) 2002-07-01 23:10:19 +00:00
thorpej 40a83c5329 Add kttcp device. Fix systrace major number. 2002-06-30 23:31:59 +00:00
tsutsui a3a42ea084 Fix typo in rev 1.10. 2002-06-30 02:57:05 +00:00
lukem 7a3ba9ecb7 revert previous; the user is supposed to be able to change /etc/wscons.conf
from the default shipped one, and the rest of the test in do_wscons()
is to detect obsolete wscons.conf(5) directives on systems with a
wscons.conf from an older release / source tree.
2002-06-29 22:25:23 +00:00
itojun cd584a155b make 'fix wscons" work. 2002-06-29 19:47:02 +00:00
matt d81b00466f Add kttcp 2002-06-29 19:29:11 +00:00
itojun c589b132db dig /etc/systrace 2002-06-29 17:27:42 +00:00
grant 490569127e add wsmoused. 2002-06-29 04:07:08 +00:00
thorpej 7f2925365c Add the kttcp device. 2002-06-28 23:29:26 +00:00
skrll 16d1e38bf6 No need for an installation/misc directory.
Add hooks for iso image creation.
2002-06-28 12:40:10 +00:00
lukem 827e6e33a7 - do_makedev(): if the compare_dir() fails, return immediately
- if SRC_DIR or DEST_DIR == /, set to "" so that various pathnames
  don't end up with a leading "//".  when specifically printing just
  the xxx_DIR variable, use ${xxx_DIR:-/} to DTRT
- cosmetic coding tweaks
2002-06-28 09:35:23 +00:00
wiz 7571c41c61 Add comments for ws* devices.
Please, don't forget to add comment lines when adding/enabling device
nodes.
2002-06-27 23:11:29 +00:00
wiz 236267aac4 Add comment for audio device.
Please, don't forget to add comment lines when adding/enabling device
nodes.
2002-06-27 23:06:41 +00:00
ross 686a24e882 add bktr 2002-06-27 18:34:32 +00:00
tsutsui daf88b8ce1 - remove redundant wscons devices in target "all"
- add wsmux devices
- make correct md devices
2002-06-27 16:22:35 +00:00
christos e2eb1d43c0 add a line about wsmoused commented out. 2002-06-27 15:10:32 +00:00
christos 7f89b13752 Add wsmoused 2002-06-27 15:08:55 +00:00
christos 1cbe550fe4 create /dev/ttyEstat 2002-06-27 15:08:12 +00:00
itojun 8e021f72ae add "makedev" target. 2002-06-27 02:26:39 +00:00
abs 77f731d1d6 The shark has a builtin audio device - create /dev/audio and friends 2002-06-26 18:26:46 +00:00
simonb 71b6692166 Build the MALTA kernel. 2002-06-26 00:40:33 +00:00
itojun 7f0b7d43b9 build GENERIC kernel 2002-06-26 00:11:16 +00:00
cyber e749cf34ed Framework for release bits
Specifically, build and gzip the kernel.
2002-06-25 22:55:56 +00:00
wiz 05f4b3dd11 Sync "sh $0.local all" lines. 2002-06-19 15:08:40 +00:00
wiz 6bb56fb9e2 Document that usb devices are generated by default. 2002-06-19 15:02:08 +00:00
wiz 9034f4fdf1 By default, make ugen0 in the usbs target too, as i386 and x86_64 already did. 2002-06-19 15:00:03 +00:00
wiz 6ff28e9bbf Update comment on how to generate MAKEDEV(8). 2002-06-19 09:30:35 +00:00
wiz 44b5cee1bf Add x86_64 cat8/man8/html8. 2002-06-19 09:23:52 +00:00
thorpej cd1a49324a Add the smmsp uid and gid. 2002-06-18 22:58:30 +00:00
itojun 74377e4ab2 md5/bcrypt password starts with $[12], so use ^ in regex 2002-06-18 22:43:53 +00:00
itojun b9d4a3192a recognize md5/bcrypt password. noted by: Eric Jacoboni <jaco@teaser.fr> 2002-06-18 22:21:43 +00:00
fvdl 60b70ca095 etc files for x86_64 2002-06-18 20:30:41 +00:00
lukem da820a3387 Build the list of names to check for $XXX_chrootdir support from
`rcorder -k chrootdir` rather than hardcoding "named ntpd".
Based on [misc/16884] from Jarle Greipsland <jarle@uninett.no>
2002-06-18 14:35:38 +00:00
wiz c39e9e2714 Sort clockctl entry, and use standard formatting (tab before and after),
needed by MAKEDEV(8)-script.
2002-06-18 13:58:36 +00:00
wiz 4549742eba Add note about how to make MAKEDEV(8). 2002-06-18 13:54:40 +00:00
wiz c12525ff19 Add comments so that the autogenerated MAKEDEV(8) has some contents. 2002-06-18 13:54:26 +00:00
wiz b097765198 Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
2002-06-18 13:40:14 +00:00
wiz 4dcfef17f0 Use standard names for isdn devices (not i4b any longer...). 2002-06-18 13:37:44 +00:00
wiz 03e60642a7 Add some more cat8/man8/html8 dirs (cesfic, evbmips, hp700, hpcarm, sbmips) 2002-06-18 13:22:25 +00:00
itojun 7dd411b55d userland access to apm emulation. 2002-06-18 05:24:44 +00:00
itojun f72547931b no apm support 2002-06-18 05:01:55 +00:00
itojun 19a306b9bd no apm device on mmeye 2002-06-18 05:01:09 +00:00
christos 4bef4356c3 Add device creation support for systrace. 2002-06-17 16:21:03 +00:00
fredette 82e3b21cfd When making devices for the ramdisk, instead of making character
devices for CD-ROMs, which aren't useful on the ramdisk, make
block devices instead.  This makes it easier to boot a CD-ROM
and install a miniroot from same.
2002-06-17 13:30:39 +00:00
drochner fbb91339a2 make the port more complete 2002-06-17 10:50:01 +00:00
lukem 56dc20a9f6 ntpd_chrootdir needs /dev/clockctl as well 2002-06-17 06:47:58 +00:00
lukem 4f0cd76133 Add clockctl device (at major # 55). 2002-06-17 06:27:26 +00:00
isaki d963ce0235 Reduce number of ptys for install image. 2002-06-15 11:16:45 +00:00
isaki 55beb4983c Delete sd7 2002-06-15 11:12:28 +00:00
lukem 3da8227a70 $ntpd_chroot requires "pseudo-device clockctl" in the kernel 2002-06-15 01:55:44 +00:00
wiz a638908be5 Make tabbing consistent. From misc/17255 by Julio Merino. 2002-06-14 09:59:08 +00:00
leo d463d60e3f Add the wscons devices (ttyEx) so you can really login on the Milan in
multi-user mode...
2002-06-12 19:36:31 +00:00
lukem 4f32d6fce8 - at least require mountcritremote (mixerctl is in /usr)
- read from < mixerctl.conf instead of piping output of cat...
2002-06-11 16:31:41 +00:00
lukem 6f9558487e use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog 2002-06-11 15:50:05 +00:00