Commit Graph

3293 Commits

Author SHA1 Message Date
perry 87352ee9ba add ./var/chroot and subdirectories 2004-11-25 01:33:31 +00:00
jmc 2a2d87d1db Remove all references to vnd usage here now that sgivol works correctly on file
images
2004-11-24 22:01:42 +00:00
soren c43d1a68db Print interface packet counters as strings to prevent integer overflow in awk. 2004-11-22 04:53:46 +00:00
is e61255615c Ensure ISDN kernels can be built for future releases. 2004-11-21 21:07:15 +00:00
kim f7dc8a9650 When checking /etc/exports, account for "-network=XXX" as restricting
the mount (i.e. it is not considered globally exported).

Fixes PR: 26890
2004-11-21 19:00:12 +00:00
christos 13b48b2499 Add ${.CURDIR}. 2004-11-16 03:51:30 +00:00
christos d6ecb79b20 Use the ttys file from etc.${MACHINE} directly. 2004-11-16 02:33:21 +00:00
he 52bd3adde5 Don't leave the stray reference to etc.${MACHINE}/ behind in the ttys
file installation command.
2004-11-15 16:33:41 +00:00
christos 829bf2603d Don't append ptys to the ttys file. It is not needed anymore as ttyslot
will DTRT.
2004-11-15 00:28:16 +00:00
yamt ded5cfa88c install PF configs. 2004-11-14 20:28:28 +00:00
yamt 23c8222edb merge after importing pf from openbsd 3.6. (userland part)
some files were imported to the different places from the previous version.
v3_5:
	etc/pf.conf
	etc/pf.os
	etc/spamd.conf
	share/man/man4/pf.4
	share/man/man4/pflog.4
	share/man/man5/pf.conf.5
	share/man/man5/pf.os.5
	share/man/man5/spamd.conf.5
v3_6:
	dist/pf/etc/pf.conf
	dist/pf/etc/pf.os
	dist/pf/etc/spamd.conf
	dist/pf/share/man/man4/pf.4
	dist/pf/share/man/man4/pflog.4
	dist/pf/share/man/man5/pf.conf.5
	dist/pf/share/man/man5/pf.os.5
	dist/pf/share/man/man5/spamd.conf.5
2004-11-14 11:26:43 +00:00
sekiya c1d9edf7a4 Add the IP12 GENERIC kernel. 2004-11-13 10:27:14 +00:00
christos 573e338f96 Don't try to chmod ptys if we have none. 2004-11-10 05:04:51 +00:00
christos 440dc51bb7 Don't declare ptys in tty's. None of the other ports do this. 2004-11-08 19:59:07 +00:00
lukem 4ffd3a5be3 Redo previous (rev 1.12) in a manner that allows this rc.d script to operate
correctly on ipf(8) from prior to 4.1.3 (where -Fa flushes both protocols)
and 4.1.3 (where -Fa only flushes the current protocol).
Fix from Kimmo Suominen, per private discussion.
2004-11-08 02:09:01 +00:00
soren c41dd8b49a - .isc.netbsd.org aliases are gone
- zathras is gone, alias releng to www
2004-11-07 19:41:45 +00:00
peter 195fae85fa Remove the "(not in tree)" part in the comment for PF. 2004-10-22 14:08:22 +00:00
gavan 0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
lukem 1ecb0d140f Use 'load_rc_config_var CMD VAR' to set VAR for "foreign" rc.conf(5)
variables that may be set in /etc/rc.conf.d/CMD instead of /etc/rc.conf.
Fixes PR 20768 from Pavel Cahyna.
2004-10-12 14:51:03 +00:00
lukem 3c81b28a9a * Implement
load_rc_config_var cmd var
  to load the rc.conf(5) configuration for cmd and set var in the
  current shell, using 'load_rc_config var' in a sub-shell to avoid
  unwanted side-effects.

* Improve required_vars warning message.
2004-10-12 14:45:29 +00:00
christos a22353007b PR/27235: Jukka Salmi: MAKEDEV regression because of printf -> zeropad change 2004-10-12 14:42:08 +00:00
lukem 573992ef57 Implement reload, using "amq -f".
Suggested by Hauke Fath in PR 26589.
2004-10-12 13:44:45 +00:00
lukem b9fbb3f21a manage tpctl with do_rc(). Fix from Jukka Salmi in PR 26754 2004-10-12 13:29:05 +00:00
lukem d65dca170c Fix for /bin/ksh, from Jukka Salmi in PR 27232. 2004-10-12 13:23:44 +00:00
christos 6e9a790e1f Use new style command substitution. 2004-10-11 15:00:51 +00:00
lukem c73be7a88d Explicitly REQUIRE: rpcbind since these services directly use RPC... 2004-10-11 14:11:43 +00:00
lukem 6ede50a341 Use load_rc_config `basename chrootdirscript` in a subshell to determine
the rc.conf(5) setting for chrootdirscript, incase the configuration
for that is in /etc/rc.conf.d/chrootdirscript.
Fixes PR 26478 from Jukka Salmi.
2004-10-11 13:29:52 +00:00
christos dc75bc2463 PR/27196: Jukka Salmi: missing amanda server ports in /etc/services 2004-10-09 17:04:41 +00:00
dsainty 3507ec273f Comment typos: unecessary->unnecessary, accidentaly->accidentally 2004-10-09 02:18:48 +00:00
erh 7da8bb106d PR misc/7716: add configuration options find_core_ignore_fstypes and
check_devices_ignore_fstypes to allow the filesystem types that are
ignored during the daily and security runs to be adjusted.
2004-09-28 15:03:58 +00:00
wiz d355f71bc3 Dig {cat,man,html}4/hp700. 2004-09-24 13:47:46 +00:00
ian 70f35b6f77 Remove support for ALIASES in share/locale/ctype/Makefile, which
created symlinks in the filesystem.  Put the one existing alias
(zh_TW.BIG5) into the newer locale.alias file.
2004-09-10 15:12:51 +00:00
lukem ac418f52f5 Explicitly flush (-Fa) rules when loading or reloading IPv4 and IPv6 rules,
rather than relying upon running "ipf -Fa" beforehand (which only flushes IPv4)
Should fix PR 26885 and PR 26857.
2004-09-09 00:33:03 +00:00
lukem 08c7699414 * Implement modify_file() to apply an awk program against a file and display
the diffs and possibly install the new version of file.
  (Based on sshd_config munging code in do_ssh())
* Use modify_file() in do_hosts() and do_ssh().
* Be more specific in do_x11() about what needs to occur.
  (This could still be improved).
* Minor sh cleanups.  ("sh is not C")
2004-08-30 04:57:39 +00:00
augustss 4d1e9e453b The hosts file is /etc/hosts not /hosts. 2004-08-30 02:46:07 +00:00
chs 85b920f8a2 add a dotted alias for localhost so that sendmail doesn't pause on startup
if a system's hostname is not set.  PR 26550.
2004-08-29 13:26:17 +00:00
drochner 93f4534edf add "drvctl" template 2004-08-27 17:50:57 +00:00
atatat c41b76304f Quieten stat(1) with the -q flag.
Addresses PR bin/26711.
2004-08-19 04:44:10 +00:00
mycroft 7d2e1537c5 Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr
2004-08-13 18:08:03 +00:00
lukem 5d87974ec4 Search /usr/lib/i18n and /usr/X11R6/lib for obsolete minor shared libraries. 2004-08-12 13:32:37 +00:00
lukem a5e99ebea6 * Implement obsolete_paths() to obsolete the paths provided on stdin.
(based on the guts of do_obsolete().
* Implement obsolete_libs() to print a list of obsolete minor/teeny
  shared libraries in the provided directory.
  The implementation supports removing old major libraries similar to
  src/lib/checkoldvers (except this correctly matches more stuff), but
  there's no way to enable that at this time.
* do_rc(): convert to obsolete_paths() to remove old rc.d scripts.
* do_obsolete(): convert to obsolete_paths().  add obsolete_libs() for
  /lib and /usr/lib to remove old minor/teeny shared libraries.
* Clean up the usage.
2004-08-12 02:30:23 +00:00
simonb c0760527d2 Add Multicast DNS on port 5353 (from the IANA list). 2004-08-09 05:24:38 +00:00
atatat 8fb0a9f1ca Switch the check to see if the corresponding db file needs to be
rebuilt from "newer than" to "not older than".  The latter check also
manages to take into account cases where the db file doesn't yet exist
because the source is "not older than" something that doesn't yet
exist.
2004-08-08 17:41:15 +00:00
bouyer dc32cbc366 Add atabus devices. 2004-08-01 21:52:09 +00:00
mrg 04f2810d39 add an entry for spif(4).
this uses a different name for the parallel ports than the openbsd
port otherwise they conflict with the magma parallel ports and you
would be unable to have both a spif and magma installed at the
same time.
2004-08-01 10:43:47 +00:00
he e92ef40b67 Now that one can choose boot image for i386 to produce a slightly
different cd-rom image (e.g. using the INSTALL_LAPTOP-derived boot
image), make it possible to add a string to the cd-rom image name
by setting the optional environment variable CDROM_NAME_ADD.
2004-07-28 11:35:44 +00:00
thorpej fa4f012f1e Add a: to the getopt string so that the -a option is actually recognized. 2004-07-25 01:37:14 +00:00
tron 8849562832 Add new kernel configuration for ACPI based SMP systems which can also be
used to utilize Hyper-Threading.
2004-07-23 17:57:41 +00:00
he 3d7c07bfa4 Allow the user to specify which file system image to use as the
boot image of the CD-ROM via the CDROM_BOOT_IMAGE variable.  The
user may want to create a bootable image with bootlap-big.fs which
uses the INSTALL_LAPTOP kernel configuration instead of the default
boot-big.fs image which uses the INSTALL kernel configuration.
2004-07-23 15:25:04 +00:00
lukem 610ee5bd6f Merge /etc/mtree/special & /etc/mtree/special.local using "mtree -M".
This allows users to override mtree/special entries in mtree/special.local,
which is useful if you've replaced a directory with a symlink (for example).
This effectively makes $check_mtree_follow_symlinks=YES pointless, but
I'm retaining that for compatibility reasons.

Fix bug in generation of $MPBYUID (used "/^+/" instead of "/^\+/" as a regex),
which has existed for a long time but only failed with our awk; GNU awk seems
to have permitted this.  (This meant that the duplicate UID check was broken
when using our awk.)

Rename some temp files to more accurately reflect their purpose, to
aid debugging.
2004-07-23 06:12:16 +00:00