Commit Graph

96271 Commits

Author SHA1 Message Date
matt f9f502221e Use the correct name of the INSTALL kernel. 2002-04-26 17:30:00 +00:00
christos a82db51f4d disable profiling set{u,g}id binaries. 2002-04-26 16:39:52 +00:00
lukem 3fa66e9068 - use "cp" instead of "cp -p", as the files in ${SRC_ETC} might not be owned
by root
- set umask to 022
2002-04-26 16:32:49 +00:00
lukem 248bbf896e Document NETBSDSRCDIR & UNPRIVED.
Reword BSDOBJDIR and BSDSRCDIR descriptions.
2002-04-26 16:24:06 +00:00
lukem 8feb052770 s/_SRC_TOP_/NETBSDSRCDIR/ 2002-04-26 16:23:14 +00:00
lukem bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem 9830579350 add 'help' as a synonym for 'usage' 2002-04-26 15:49:09 +00:00
lukem 5363a55b99 s/REV/DISTRIBREV/ 2002-04-26 15:47:21 +00:00
lukem 560c3ebc52 add etc/postinstall 2002-04-26 15:46:13 +00:00
lukem 9ada96166d install postinstall 2002-04-26 15:43:39 +00:00
lukem 6cc319cec4 postinstall -- check for or fix configuration changes that occur over time
as NetBSD evolves.

checks/fixes supported in initial version:
  defaults      /etc/defaults being up to date
  mtree         /etc/mtree being up to date
  rc            /etc/rc* and /etc/rc.d/ being up to date
  periodic      /etc/{daily,weekly,monthly,security} being up to date
  ssh           ssh configuration file relocation
2002-04-26 15:37:25 +00:00
bjh21 dad5e0c347 Change RCS/SCCS IDs to our usual style. 2002-04-26 15:32:45 +00:00
lukem 7bbec49f2a remove unused REV & VER 2002-04-26 15:27:02 +00:00
lukem 29d47e20ef s/VER/DISTRIBVER/ 2002-04-26 15:25:33 +00:00
lukem 5bf6e9db83 use RELINSTALL 2002-04-26 15:05:29 +00:00
lukem 9074deb758 use gzip -9f 2002-04-26 15:05:18 +00:00
lukem f845b9752d use RELINSTALL 2002-04-26 15:04:30 +00:00
lukem 82172c42f6 Implement NETBSDSRCDIR, which is the top level of the NetBSD source tree.
Defaults to the directory determined by the _SRC_TOP_ logic (if != ""),
and the BSDSRCDIR.

NETBSDSRCDIR has been provided for use by the various NetBSD source
Makefiles to find the top of the NetBSD source tree, and isn't
affected by the inheritance properties of _SRC_TOP_, nor does it
have the magic BSDOBJDIR baggage that BSDSRCDIR is stuck with.
2002-04-26 15:02:02 +00:00
bjh21 2277ee229b This header needs struct in_addr from <netinet/in.h>, so include that.
POSIX-2001 says exposing the contents of <netinet/in.h> here is OK.
2002-04-26 14:56:16 +00:00
lukem 46569c985e Revert part of previous; don't set _SRC_TOP_ to BSDSRCDIR if it can't be
determined, since BSDSRCDIR's default of /usr/src might not exist and the
calculation of _SRC_TOP_OBJ_ would then generate a warning :-(.
_SRC_TOP_ can now == "" if make(1) (or a parent make(1)) was started
outside of the NetBSD source tree.

Now, if _SRC_TOP_ != "",  BSDSRCDIR defaults to ${_SRC_TOP_} and
BSDOBJDIR defaults to the objdir of ${BSDSRCDIR}.

Failsafe defaults for BSDSRCDIR (/usr/src) and BSDOBJDIR (/usr/obj)
are provided later in the file.

This should result in a usable BSDSRCDIR default (i.e, _SRC_TOP_ if
running from within the source tree), with safe fallbacks as appropriate
(/usr/src, as always), meaning that BSDSRCDIR should be able to be used
instead of _SRC_TOP_ in the source tree, although I need to carefully
test this.  *aaaiiiieeee!!!*.  (Now I understand some of Todd's pain :)
2002-04-26 14:27:23 +00:00
ad 9a25612703 Regen. 2002-04-26 14:21:28 +00:00
ad fda5e53ba0 Oops, add more IDs used by aac_pci.c. 2002-04-26 14:20:59 +00:00
msaitoh 271b97bb3b add SH4 Processor Version Register 2002-04-26 11:56:02 +00:00
msaitoh f6bf722a2e fix around PTR and PDR 2002-04-26 10:22:53 +00:00
perseant c5f5fa476f Fix error in how much memory needed to be allocated to check data cksum
to proceed with adding segments.

Use fixed-width types to compute checksum, so LP64 machines can do it too.

Tested on alpha; test-compiled on arm32.
2002-04-26 04:34:41 +00:00
thorpej e2a2842013 Keep track of which DMA window was actually used to map the
request (not always the passed in DMA tag if we try direct-map
and then fall back to sgmap-mapped).  Use the actual window
when performing dmamap_sync and dmamap_unload operations.

Fixes DMA resource leak on systems with 2G+ RAM.  Thanks to
Matt Thomas for help debugging this.
2002-04-26 04:15:18 +00:00
lukem 51fa6a7f42 remove stuff migrated to ../ramdisk or ../miniroot 2002-04-26 03:58:41 +00:00
enami 6335b88f05 We don't need to re-activate page in genfs_putpages() when GOP_WRITE returns
ENOMEM (temporary memory shortage) since it is already handled in
uvm_aio_aiodone() for both async/sync case.  Discussed with chuq.
2002-04-26 03:57:31 +00:00
lukem 53f41a1d9d use ${WORKDIR} instead of ${TARGETDIR}, since the latter is only valid
within parselist.
2002-04-26 03:49:21 +00:00
lukem e9e28d241a Migrate to a distrib framework closer to how other ports work.
Arguably this could be moved to using the distrib/miniroot
infrastructure instead.

XXX: This could benefit from being crunchgen-ed with libhack;
currently it just uses a lot of stuff out of ${DESTDIR}
2002-04-26 03:49:05 +00:00
lukem b5ad808f0c remove non mount_* links to mount_* programs... 2002-04-26 03:38:19 +00:00
lukem 68e32c4166 move files from ../common/ that are only used in this directory to here 2002-04-26 03:29:32 +00:00
lukem 7abb10eb65 convert to be closer to the other distrib dirs:
- take advantage of Makefile.mdset
- use list instead of ramdisk.list, and remove special srcdirs for init
  and dd since they understand -DSMALLPROG
- use full-path style specfile mtree.conf instead of
  old-style specfile ../common/ramdisk.tree
- ensure IMAGEDEPENDS is in sync with list
(xxx; untested :)
2002-04-26 03:15:15 +00:00
lukem 63f4cf909a this shouldn't be necessary 2002-04-26 02:56:45 +00:00
lukem 919d3f7830 use ${RELINSTALL} instead of cp -p 2002-04-26 02:54:59 +00:00
lukem b15f81d077 - call ${INSTALLBOOT} with -m ${MACHINE}
- use check_RELEASEDIR
2002-04-26 02:51:47 +00:00
itojun 812e154ef2 netbsd uses EXIT STATUS, not RETURN VALUES, for commands 2002-04-26 02:48:54 +00:00
wiz 77e1048dc4 Whitespace fixes, use standard headers, RCS police. 2002-04-26 02:33:00 +00:00
thorpej 1c2f7845de Build gzboot_TEAMASA_NPWR_flash_0x00080000. 2002-04-26 02:31:57 +00:00
wiz 8366b5d7de Sort sections and SEE ALSO, add NetBSD tag. 2002-04-26 02:31:10 +00:00
wiz 23b4e81d1c Sort sections. 2002-04-26 02:28:32 +00:00
wiz 7454d828a0 Sort SEE ALSO, and update date for aac addition. 2002-04-26 02:26:46 +00:00
itojun cd1e16de59 upgrade to KAME racoon as of 2002/4/26.
file descriptor leak fix.
null encryption algorithm key length fix (should use 0).
couple of null-pointer reference fixes.
set port # to 500 in ID payload (possible interop issue - spec is unclear).
correctly match address pair on informational exchange
2002-04-26 02:25:13 +00:00
itojun b4df5a033c KAME racoon as of 2002/4/26 2002-04-26 02:16:38 +00:00
ad 77e08f053a Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.
2002-04-26 02:05:07 +00:00
matt 570b8f5fd5 Use the right name for the install kernel. 2002-04-26 01:26:49 +00:00
lukem 39a9178088 - Improve wscons.conf(5)
- Add support for "setvar", which allows setting of arbitrary wsconsctl(8)
  variables.  Per email on tech-userlevel from Julio Merino <jmmv@hispabsd.org>
2002-04-26 00:06:53 +00:00
kleink 07f08f3f5f Convert to use libsa byteorder interfaces. 2002-04-25 23:30:26 +00:00
thorpej 8bd36dc909 Make a comment describe what the code actually does. 2002-04-25 23:23:23 +00:00