Commit Graph

11212 Commits

Author SHA1 Message Date
uebayasi
85051a7017 Add EXTSRCS to the list of syspkgs aware variables. Remove debug code. 2009-12-02 15:18:06 +00:00
uebayasi
79bf8cee4b Pass the correct ${MKVARS} equivalent value to list_set_files().
XXX list_set_files() needs to be rewritten.
2009-12-02 15:05:55 +00:00
uebayasi
5383775576 Quote variable values from make in case it has spaces. Remove debug print. 2009-12-02 14:32:15 +00:00
uebayasi
62258ab60d Fix previous; don't forget extra vars other than MK*. 2009-12-02 14:28:24 +00:00
uebayasi
7a06940f80 Don't hardcode the list of MK* variables but use ${_MKVARS.yes} and
${_MKVARS.no} provided by bsd.own.mk.
2009-12-02 14:13:12 +00:00
apb
fb5e3559de There's no point in adding _PKGTOOLS_VER=$(${PKG_CREATE} -V)
to any syspkg +BUILD_INFO files, since we don't use the pkg_* tools
to create syspkgs.  Also remove the definition of PKG_CREATE
from sets.subr, since nothing uses it now.
2009-12-01 15:49:21 +00:00
uebayasi
6519114ccc Pass ${TOOL_PKG_CREATE} to scripts for syspkg creation. 2009-12-01 09:11:45 +00:00
snj
b8cfd4e74c Remove two different explorer@ acknowledgements. 2009-12-01 02:37:07 +00:00
uebayasi
d166c4bf28 Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
2009-11-30 16:13:22 +00:00
he
c7e9631e11 Add a file to handle m68000 differently from m68k; m68000 doesn't
build fdformat.
2009-11-30 07:02:24 +00:00
abs
442fa3d8f5 remove edlabel reference from a commented out line 2009-11-29 20:56:01 +00:00
he
9fc5e76860 Use ${.CURDIR} when referring to a relative source directory. 2009-11-28 22:13:34 +00:00
mbalmer
228477b2fe Add the xf86-input-elographics driver to i386 builds. 2009-11-28 16:48:25 +00:00
mbalmer
d0bf5c8f87 Link the xf86-input-ws X.Org input driver to the build and add it to the lists
that also have the wsmouse driver.

xf86-input-ws adds support for touchpanels in X11 that report absolute position
data through wscons(4), e.g. the extended ums(4) driver.  xf86-input-ws was
written by Matthieu Herrb for OpenBSD.

Please remember to also update xsrc before the next system build.
2009-11-28 12:10:24 +00:00
tsutsui
fcf4b7e0c1 Remove fdisk/mbr for macppc which was blindly pulled from OpenBSD.
It just fakes MBR partition map which contains 1MB FAT16B partition
and ~1GB OpenBSD partition, and we can always create necessary
MBR partitions for OpenFirmware by the fdisk(8) command itself.
2009-11-27 15:37:32 +00:00
tsutsui
4105ef4a33 Remove unnecessary and never used usr/mdec/mbr from install ramdisk. 2009-11-27 10:23:16 +00:00
tsutsui
64dbdb6579 Don't try installboot(8) if offset of PART_A is not zero.
As man page says, installboot(8) is required only OpenFirmware 1 and 2
machines and even on such machines the root partition has to be at the
beginning of the disk to make installboot(8) work.

On OpenFirmware version 3 machines, the strategy provided by
installboot(8) doesn't work, and they need to have an extra
native partition (HFS or FAT16) which can be recognized by
the newer firmware to put a loadable bootloader.
If PART_A has some offset, we can assume the disk is partitioned
for a machine with OF3, which does't require installboot(8).

Eventually, we should provide an independent partitioning method
for OpenFirmware 3 machines (fdisk MBR partition + FAT16 partition
for ofwboot.xcf as OpenBSD does), but it may require some new API
to get OF version in sysinst.
2009-11-23 13:25:02 +00:00
roy
dae79facc9 Hook openresolv into build. 2009-11-21 03:24:30 +00:00
dyoung
de7882afa1 Describe spllower(9) and splraise(9). 2009-11-17 18:36:07 +00:00
snj
a88bca7cce Argh. Missed another now-unnecessary mhitch@ acknowledgement. 2009-11-15 20:48:34 +00:00
snj
f31c85e46c Three ad clauses down: one for mhitch@ && is@, and two for mhitch@. 2009-11-15 20:45:36 +00:00
tnozaki
591608f7a5 1. PR/42209 various problems with EBCDIC support in iconv(3)
part3: added CP114[0-9] support.
2. fix csmapper name separator.
2009-11-14 01:56:21 +00:00
mishka
5da27c1396 The ippool(5) manpage mentions ippool.conf (which is also more common
name for config files) - add it to distribution. Per <hubertf> suggestion.
2009-11-13 09:51:13 +00:00
he
d942b02550 Remove reference to now-moved binutils src directory, it's not needed
anymore since strings is commented out and has been for a long time.
... and remove the commented-out strings as well.
2009-11-13 08:20:29 +00:00
nakayama
29ed10d349 Use proper tag ".man" for man files. 2009-11-12 13:17:46 +00:00
macallan
ded0d8dbcb add entries for the igs driver 2009-11-10 23:14:32 +00:00
snj
9d7eb8e6be Another acknowledgement down (is@). 2009-11-09 20:54:51 +00:00
njoly
e59aa11092 Obsolete compat libbfd*.a and libbfd.so, following native behaviour. 2009-11-09 15:55:47 +00:00
mrg
d0832255af update for new libpciaccess 2009-11-09 06:50:15 +00:00
mhitch
65dbb94ed0 The tarfs image in cdhdinstall used to get padded out to an 18KB boundary
(the size of the read used to read it) with the alpha-specific image
creation.  This got lost when moved to using common routines, so that
burning the cdhdinstall image onto a CDROM resulted in a failure to read
the last block of the tarfs image.  Use the provided option to have the
image padded out to the full image size.  It's more than actually needed,
but extra isn't likely to cause any problems.
2009-11-09 04:13:23 +00:00
mrg
c53fba5b49 new xkbutils man pages 2009-11-09 00:36:22 +00:00
skrll
32ef3aeee5 Remove references to binutils 2.16 and 2.19 - everything is 2.19 now. 2009-11-08 15:30:21 +00:00
njoly
5ef060dd31 Restrict ncdcs.debug and man pages to MKBINUTILS=yes builds. 2009-11-06 13:36:01 +00:00
is
38a9a9f43c 2nd part of "install kernel -> release" fix, inspired by tsutsui@'s patch
to PR 41672.
2009-11-06 13:01:36 +00:00
is
cc125f84ea Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2009-11-06 12:31:44 +00:00
dyoung
48e2cd3a62 ncdcs needs to labeled 'binutils' not 'binutils=216', otherwise
it's present in the DESTDIR but missing from the flist on binutils
2.19 architectures (today, that is all of the architectures).
2009-11-05 21:11:53 +00:00
dyoung
2e43373a96 Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
modules set out of the list of NetBSD set lists, nlists.  If
$MKKMOD == no, do not install modules tests.
2009-11-05 17:34:25 +00:00
njoly
74e5cf1829 Remove unneeded t_event.debug (t_event is a shell script). 2009-11-05 13:32:14 +00:00
dyoung
8f33cec11c Document the device iteration routines.
I derived this manual page from pmf(9), hence my retention of Jared's
copyright notice.
2009-11-05 00:20:24 +00:00
dyoung
0440bde8db Don't build & install ncdcs if ${MKBINUTILS} == "no".
In the set list, mark ncdcs as a binutils 2.16 item.
2009-11-04 19:02:28 +00:00
snj
88be6076ac Two acknowledgements down:
- Michael Shalayeff
- Tobias Weingartner
2009-11-03 05:17:17 +00:00
dyoung
e5ffb6d32f Install the manual page return_address(9). 2009-11-03 05:12:10 +00:00
dyoung
cef5c322c2 Always respect MKBINUTILS=no, MKGCC=no, and MKGDB=no by filtering
entries binutils=N, gcc=N, or gdb=N from the set list.
2009-11-03 00:38:56 +00:00
dyoung
f34952afbf Make the set list reflect that ncdcs is not installed if MKBINUTILS=no. 2009-11-02 22:16:29 +00:00
plunky
b2965573f9 add ATF tests for libevent 2009-11-02 10:15:45 +00:00
plunky
c75313ecdf switch build to use libevent-1.4.12-stable from external 2009-11-02 10:13:19 +00:00
snj
da4ab91bcb Bradley A. Grantham's ad clause is no more. 2009-11-01 01:55:39 +00:00
kardel
b72bd6b4a3 add ./usr/share/i18n/esdb/EBCDIC/EBCDIC-US.esdb - Hi tnozaki 2009-10-31 22:56:38 +00:00
tnozaki
3c82a9bc85 lib/42209 various problems with EBCDIC support in iconv(3)
1. add EBCDIC-US conversion table.
2. RFC1345 have wrong conversion table, 0x00-0x1F is not EBCDIC but ISO-8.
(CP273 and CP1141 is not yet)
2009-10-31 15:06:52 +00:00
snj
a9a9cf6f90 elric's ad clause is no more. 2009-10-27 23:23:33 +00:00
snj
9204bc2aa1 hubertf's ad clause is no more. 2009-10-27 20:14:11 +00:00
christos
94d6abefa5 re-add flex.info 2009-10-26 21:38:01 +00:00
christos
cb146138e8 unhook flex for now 2009-10-26 04:10:12 +00:00
christos
c1a5405608 add flex 2009-10-26 01:59:35 +00:00
njoly
6054e01e26 s/comp-debugd-bin/comp-bind-debug/. 2009-10-25 15:11:00 +00:00
njoly
08b7480f25 Add dnssec-{revoke,settime}.debug, obsolete rndc-confgen.debug. 2009-10-25 15:07:46 +00:00
christos
bd73b9653c bind manual page updates 2009-10-25 04:40:34 +00:00
christos
cc5ca7ca56 updates for new bind 2009-10-25 04:38:05 +00:00
tsarna
6022b5b8d4 Major enhancements to mdnsd nsswitch support:
- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
   confusion with nss_mdnsd (see next).
 - Support using mdnsd for all unicast too with new nss_mdnsd module
   (note: this mode requires an updated mdnsd too, not yet committed)
 - Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
   potentially useful with nss_multicast_dns (you could now do
   "search example.com local" in resolv.conf if you wanted to and it would
   act as you might expect)
 - Add references in nsswitch.conf man page and sample file
 - Implement AI_CANONNAME
 - Various bug fixes
2009-10-25 00:17:06 +00:00
stacktic
f0f9215e04 Fixed a few french messages - patch from Marylène Ysmal. 2009-10-24 14:41:57 +00:00
stacktic
179b5354fd Fixed a few french messages - patch from Marylène Ysmal. 2009-10-24 12:47:30 +00:00
tsutsui
f804115722 www.netbsd.org -> www.NetBSD.org 2009-10-24 06:36:39 +00:00
snj
f1289940c2 Remove another instance of cl's acknowledgement. 2009-10-23 17:56:20 +00:00
snj
ef84f5b0c5 Zero out this file. All of these entries are legal.common material. 2009-10-23 17:54:17 +00:00
snj
76df7715c8 Zero out this file. All three valid acknowledgements already exist
in legal.common.
2009-10-23 17:47:01 +00:00
snj
8487bea492 Brad Grantham's acknowledgement is in mac68k and macppc. 2009-10-23 17:41:56 +00:00
snj
5146eaf9ec briggs' acknowledgement is in mac68k and newsmips, where it belongs. 2009-10-23 17:39:08 +00:00
snj
e733f7e349 Matt DeBergalis' acknowledgement is now in mac68k and next68k only. 2009-10-23 17:34:58 +00:00
snj
b0808d9801 dbj already has an acknowledgement in legal.common. 2009-10-23 17:33:17 +00:00
snj
2ea1faab7f The Ludd entry already exists in legal.common, where it mostly belongs,
and the "Adam Glass, David Jones, and Gordon Ross" entry should not
exist at all.
2009-10-23 17:29:15 +00:00
snj
5fd6d0c9f6 TooLs GmbH already has an acknowledgement in legal.common. 2009-10-23 17:19:03 +00:00
snj
189eccebb4 Both Wasabi and TooLs GmbH have acknowledgements in legal.common, where
they belong.
2009-10-23 17:18:14 +00:00
snj
28f1d41d46 David Jones does not have his own ad clause. 2009-10-23 17:15:47 +00:00
snj
98df1f6f5d scw's ad clause is no more. 2009-10-23 17:14:35 +00:00
snj
3bb8a1b780 Jukka Marin's ad clause is no more. 2009-10-23 16:57:21 +00:00
wiz
dc0cd1890b Properly remove w95boot(8).
Hi Ty!
2009-10-23 08:32:06 +00:00
snj
ec5fc95b0b Remove Ichiro FUKUHARA's acknowledgement. 2009-10-23 07:04:57 +00:00
snj
234fa894da cl's ad clause is no more. 2009-10-23 05:37:18 +00:00
snj
0b4b7c9ca3 Jukka Marin's acknowledgement is in amiga/legal, where it belongs. 2009-10-23 05:28:25 +00:00
snj
f969d5134a Prune a bunch of acknowledgements that do not exist. It seems someone
previously took the liberty of expanding a few big combined
acknowledgements into separate acknowledgements. Tisk tisk.
2009-10-23 05:26:49 +00:00
snj
93aee5b3c9 Neil Carson's ad clause is no more. 2009-10-23 04:51:36 +00:00
snj
1c377745f3 Remove "Ian F. Darwin and others" 2009-10-23 03:54:38 +00:00
snj
6bc3f015a3 Remove entry for Gordon W. Ross (the "Gordon Ross" entry has to stay
for now, though).
2009-10-23 03:42:42 +00:00
snj
1283a41a57 Dale Rahn's ad clause is no more. 2009-10-23 03:28:55 +00:00
snj
5e5f899590 Brini's acknowledgement already appears in legal.common. 2009-10-23 02:56:01 +00:00
snj
16febe258c Remove Brad Pepers' acknowledgement. 2009-10-23 02:53:22 +00:00
tsarna
074b6b7f4d Remove w95boot(8) manpage, long past being useful. 2009-10-22 23:04:59 +00:00
snj
e8d81bad46 Remove attribution for Gordon W. Ross and Leo Weppelman. 2009-10-22 20:31:24 +00:00
snj
596e03f685 Remove soren@ and Onno van der Linden's acknowledgements. 2009-10-22 18:59:30 +00:00
snj
a7f7ede450 Remove Todd C. Miller's acknowledgement. 2009-10-22 01:38:53 +00:00
snj
febb7cce65 Drop 3rd and 4th clauses. Approved by gwr@ (copyright holder). 2009-10-21 23:12:09 +00:00
joerg
f57729a773 Hook up mdocml. 2009-10-21 22:59:06 +00:00
snj
5821fa1147 Remove acknowledgements for leo@ and thomas@. 2009-10-21 22:10:45 +00:00
snj
5455170368 jmcneill's ad clause is gone. 2009-10-21 16:13:36 +00:00
abs
b5fa4b8f63 update to generate something closer to common/termcap 2009-10-21 11:35:19 +00:00
snj
23b867cb21 Remove one of christos' ad clauses. 2009-10-21 05:45:35 +00:00
snj
102ff8abb7 reed@ no longer has any ad clauses in the tree. 2009-10-21 05:42:11 +00:00
yamt
b7fa496839 fix a typo in a comment 2009-10-21 02:31:44 +00:00
snj
550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
snj
4933e803dc nisimura and reinoud's ad clauses are no more. 2009-10-21 00:35:35 +00:00
snj
9aea77f19b Mats O Jansson's ad clause is no more. 2009-10-21 00:03:42 +00:00
jmmv
05cbb20f70 Account for the t_exitstatus to t_exit rename and the new t_wait tests in
tests/util/sh.
2009-10-20 22:00:38 +00:00
jnemeth
5214d3defb new manpage for modctl(2) 2009-10-20 04:44:33 +00:00
snj
2efebb6654 Mark Brinicombe's acknowledgement (well, this variety of it) is in
legal.common, where it belongs.
2009-10-20 01:41:44 +00:00
snj
fa54d41099 Remove the "Mats O Jansson and Charles D. Cranor" acknowledgement. 2009-10-20 00:32:11 +00:00
snj
f34f162dd3 David Miller's entry is already in ../sparc/legal, where it belongs. 2009-10-19 19:13:13 +00:00
snj
06ceccf7ec Remove duplicates of ad clauses from the Alice Group (which is already
in legal.common, where it belongs).
2009-10-19 19:07:39 +00:00
snj
95ce14f35a bouyer's ad clause is no more. 2009-10-19 19:02:21 +00:00
snj
e8bef1ce03 Eduardo Horvath's ad clause is no more. 2009-10-19 18:23:28 +00:00
pooka
d33c69eb5f bump minor for puffs_setmntinfo() 2009-10-18 20:26:33 +00:00
stacktic
352ae111a3 Corrected messages. 2009-10-18 19:31:53 +00:00
snj
97b1a7252f Prune Pfaller. 2009-10-18 18:23:29 +00:00
snj
83085f01e5 adrianp's ad clause is no more. 2009-10-18 14:24:17 +00:00
snj
d510cc4c2e agc's ad clause is no more. 2009-10-18 14:22:39 +00:00
ahoka
ff77aac2d4 Give the option to use tmpfs for /tmp in sysinst instead of the older
mfs on i386 and amd64. Should be enabled on other platforms with reliable
tmpfs too.
2009-10-18 12:09:48 +00:00
snj
e8f6e7d7c7 Kill two duplicate lines. 2009-10-18 01:40:44 +00:00
agc
205394f300 Move to a 2-clause BSD license 2009-10-17 23:43:22 +00:00
snj
8e88c7b893 Move Microsoft out of legal.common and into evbarm, where it belongs.
I forgot to do this when I added it in 1.52.
2009-10-17 22:33:55 +00:00
tsutsui
63b86ac36f Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.

This is workaround for PR install/42146, and ok'ed by mrg@.
2009-10-17 12:45:20 +00:00
joerg
29e22ac027 Allow setting an empty base directory. FTP server like tnftpd do not
allow ftp://foo//bar and similar URLs.
2009-10-16 19:01:03 +00:00
snj
e935072840 Fix typo: obslete -> obsolete. 2009-10-16 06:05:47 +00:00
snj
cdbb9fa706 Obsolete is obsolete. Remove an unnecessary ",xorg" from libint10_g.a. 2009-10-16 06:01:16 +00:00
jym
6ddc6bb7bf Remove pool_cache_invalidate_local(9) from the sets, and mark the
entries as obsolete.

Noted by haad@. Thanks!
2009-10-15 22:59:12 +00:00
pooka
54db3a033b add rump public interface headers 2009-10-14 17:30:50 +00:00
tron
0667eece80 As the directory "/etc/zfs" is created unconditionally it should not depend
on the "MKZFS" flag. Problem pointed out by Havard Eidnes in private e-mail.
2009-10-13 10:18:35 +00:00
njoly
41e0378a31 +hdaudioctl.debug 2009-10-12 18:04:55 +00:00
tron
a0aa4993bd Add "/etc/zfs" directory. 2009-10-12 09:33:34 +00:00
nakayama
e06b352701 Add .cat and .man tag properly to zfs man pages. 2009-10-11 12:47:38 +00:00
pooka
fed1ab4ee0 raidframe works well enough now to initialize parity, so install it. 2009-10-11 11:26:40 +00:00
sborrill
f549e36e60 Add hdaudioctl(8), a tool to manipulate hdaudio(4) devices.
It offer the following subcommands:
	list - shows all child codec
	get - get a plist of the chosen codec's widget configuration
	set - forcibly reconfigure a specified codec from a plist
	graph - generate a graphviz file for the specified codec
2009-10-11 08:57:54 +00:00
mrg
1a79cac984 libprop minor got bumped. HI BAD! 2009-10-11 08:19:57 +00:00
bad
6947118ad3 Implement prop_array_externalize_to_pref(), prop_array_copyin(),
prop_dictionary_externalize_to_pref() and prop_dictionary_copyin()
as discussed in the thread:
http://mail-index.netbsd.org/tech-kern/2009/07/29/msg005594.html

Bump libprop shlib minor.
2009-10-10 18:06:53 +00:00
snj
f01642e2c0 - Don't extract xetc to /, but rather in /.sysinst (like etc) so that we
don't blow away existing config files.
- Wait until all sets have been unpacked to run postinstall.  Previously
  we ran it after extracting etc, which meant that /var/db/obsolete/ was
  not fully populated.
2009-10-09 21:11:31 +00:00
njoly
c9e443d2ee Restrict libzpool_p.a to MKPROFILE=yes builds. 2009-10-09 21:06:01 +00:00
njoly
836ae0cec5 Small typo fix, s/profilb/proflib/. 2009-10-09 16:55:40 +00:00
njoly
e85582ef93 + {zfs,zpool,ztest,zdb}.debug 2009-10-09 16:38:01 +00:00
tsutsui
0b175ba43d Add ${DISTRIBDIR}/common/termcap (which superseded local one) to IMAGEDEPENDS. 2009-10-09 15:59:27 +00:00
tsutsui
5a95051509 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBDIR}/common/termcap.
2009-10-09 15:56:25 +00:00
tron
974700b523 Add './usr/lib/libzpool_p.a' to 'comp-zfs-proflib'. 2009-10-09 13:44:59 +00:00
haad
3cfb1f5f16 Add entries for pool_cache_invalidate_local manpages. (hi jym@) 2009-10-09 09:34:22 +00:00
haad
5054c08e3a Fix sets files for MKZFS enabled builds move debuging libs to proper place
and add html flags for html manpages.

Patch received from Pierre Allegraud and reviewed by me.
2009-10-09 00:48:33 +00:00
snj
f69ea56c7a Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
2009-10-08 19:06:49 +00:00
snj
6a8c1d0dab /usr/X11R7/lib/X11/xkb/symbols/pc went from a directory to a file, so on
upgrades we need to remove it before extracting the xbase set, otherwise
we end up in a puddle of suck.
2009-10-08 06:41:43 +00:00
snj
792e83fe67 Sync evbppc contents with reality. 2009-10-08 05:28:22 +00:00
haad
fe1c828484 Add MKZFS file so building a release works for others, too. 2009-10-07 22:22:18 +00:00
rmind
43533de20b Add callback(9) man page. Reviewed and improved by <wiz>, thanks! 2009-10-05 23:44:10 +00:00
haad
fbd1c01117 Add zfs sets and needed veriables to hook zfs into the build. ZFS on i386
need still one fix othervise it should be ready for testing.
2009-10-05 22:32:58 +00:00
njoly
056741ede7 Add dns-sd.debug and mdnsd.debug 2009-10-05 14:52:36 +00:00
tsarna
94ebcd4993 Add nss_mdns, a nsswitch plugin for host lookups vis mDNS ("Bonjour"),
eg "hostname.local".  This is a work in progress, but basically
functional. (note: this requires mdnsd to be running.)
2009-10-05 03:54:17 +00:00
christos
bcebfd5088 document f{dim,min,max}{,l,f} 2009-10-04 22:10:42 +00:00
christos
2c4ca624c6 bump libm. 2009-10-04 22:06:34 +00:00
martin
b7d9979e0d When creating /etc/fstab:
for the first swap partition use type sw,dp instead of sw, so dump device
gets configured correctly if swap is not on the second partition.
Fixes PR install/42148.
2009-10-03 12:00:00 +00:00
elad
53ca19a3b3 First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
    and directory, pending even more cleanups. For revision history
    purposes, the original location of the files was

        src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
        src/sys/secmodel/bsd44/suser.h

  - Add a man-page for secmodel_suser(9) and update the one for
    secmodel_bsd44(9).

  - Add a "secmodel" module class and use it. Userland program and
    documentation updated.

  - Manage secmodel count (nsecmodels) through the module framework.
    This eliminates the need for secmodel_{,de}register() calls in
    secmodel code.

  - Prepare for secmodel modularization by adding relevant module bits.
    The secmodels don't allow auto unload. The bsd44 secmodel depends
    on the suser and securelevel secmodels. The overlay secmodel depends
    on the bsd44 secmodel. As the module class is only cosmetic, and to
    prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
    "secmodel_".

  - Adapt the overlay secmodel to recent changes (mainly vnode scope).

  - Stop using link-sets for the sysctl node(s) creation.

  - Keep sysctl variables under nodes of their relevant secmodels. In
    other words, don't create duplicates for the suser/securelevel
    secmodels under the bsd44 secmodel, as the latter is merely used
    for "grouping".

  - For the suser and securelevel secmodels, "advertise presence" in
    relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).

  - Get rid of the LKM preprocessor stuff.

  - As secmodels are now modules, there's no need for an explicit call
    to secmodel_start(); it's handled by the module framework. That
    said, the module framework was adjusted to properly load secmodels
    early during system startup.

  - Adapt rump to changes: Instead of using empty stubs for securelevel,
    simply use the suser secmodel. Also replace secmodel_start() with a
    call to secmodel_suser_start().

  - 5.99.20.

Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 18:50:12 +00:00
nakayama
d61a38f649 Port lom(4) driver for LOMlite lights out management hardware monitor
and watchdog timer from OpenBSD.

It supports the LOMlite found on Sun Netra t1 and the LOMlite2 found
on Sun Netra T1/X1 and Sun Fire V100/V120.
2009-10-02 15:09:16 +00:00
tsarna
1f4f234ea9 Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier.
Discussed on tech-net.
2009-10-02 02:45:28 +00:00
tron
65817d0cbb Build the "MONOLITHIC" kernel configuration by default and include
in the release.

Using the modularise "GENERIC" kernel on an existing NetBSD 5.0 system
is difficult and error-prone. The "MONOLITHIC" kernel provides an
easy way to test a new kernel or to upgrade an existing system.
2009-10-01 11:51:03 +00:00
jmcneill
c197f0ba14 In get_descr(), initialize dd_descr to an empty string before probing
ATA and SCSI identification. Fixes issues with xbd and raid.
2009-10-01 10:41:03 +00:00
jmcneill
521589e2d5 add wb(4) man page. 2009-09-30 22:32:04 +00:00
tsarna
0778784561 Correct version number for libdns_sd to match last-minute change 2009-09-30 03:41:12 +00:00
ahoka
f4909cdf5b Give a chance for dhcpcd to work by mounting a memory backed /var/db and
/var/run. Also create an empty lease file in /tmp/dhcpcd-lease.

XXX is this needed on other platforms too?
2009-09-30 00:32:08 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
jmcneill
35a2c68409 enable viadrm kmod for i386 2009-09-27 12:46:39 +00:00
christos
6964e246ca Exit with 1 so that we stay in single user mode when sysinst exits with 'x'.
Otherwise things get messed up (no /dev). From Anon Ymous
2009-09-25 14:09:27 +00:00
njoly
4ec27f3dc9 Fix t_dlinfo debug name (add missing .debug). 2009-09-25 11:58:08 +00:00
pooka
7d89931c36 Add regression test to verify that linksets work correctly with rump. 2009-09-24 21:36:42 +00:00
pooka
b4d274c027 add regression tests for dlinfo() 2009-09-24 21:33:45 +00:00
he
8a59b02128 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@!
2009-09-24 21:04:45 +00:00
njoly
7121a760b4 Update boot.cfg banner/menu to reflect that installation floppies have
ACPI support.
2009-09-23 11:17:58 +00:00
njoly
ca00adb70e Cleanup some duplicated entries. 2009-09-23 09:18:31 +00:00
isaki
e4afee40f3 termcap.vt was removed.
http://mail-index.netbsd.org/source-changes/2009/09/20/msg001101.html
2009-09-22 02:50:11 +00:00
abs
2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs
2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50:50 +00:00
abs
bdf4da2bba Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs
1fabe01b0f remove references to disktab.{preinstall,shadow} 2009-09-20 22:44:06 +00:00
abs
fb1870e986 correct a comment about disktab 2009-09-20 22:43:00 +00:00
abs
6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
abs
52f8f0673d Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
2009-09-20 19:41:35 +00:00
abs
5edb620617 Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove) 2009-09-20 19:29:24 +00:00
apb
b89c187a0f Add new mtree tests 2009-09-19 21:51:47 +00:00
abs
eff3a12f1c defs.h:
- Re-order the md_*() definitions so they are in the order called
- Add some comments
- Remove obsolete md_set_no_x() definition
- Remove md_copy_filesystem()
- #if defined(DEBUG) declare backtowin(void) to avoid scattering
  externs in various md .c files

mbr.[ch]:
- Add a set_bios_geom_with_mbr_guess() which can be called by all
  the non x86 ports rather than copying the same code into arc,
  bebox, cobalt, evbmips, evbppc, hpcarm, hpcmips, landisk, ofppc,
  prep, sandpoint, and zaurus md.c

install.c:
- Remove now unnecessary call to md_copy_filesystem()

upgrade.c:
- Move move_aout_libs() here, and put under #ifdef AOUT2ELF
- Rather than having *every* md_update call wrefresh(curscr),
  wmove(stdscr, 0, 0), wclear(stdscr), and wrefresh(stdscr),
  move them here

arch/acorn26/md.c:
- Just include arch/acorn32/md.c, but add a note there warning
  about this, and while here add a note to i386/md.c that it
  is included by amd64

arch/*/md.c:
- By all means "Vive la difference", but we have 38 pairs of md.[ch],
  and they could not even agree on the order in which to list the
  md hooks, let alone formatting. Sort the md hooks to match the
  (now sane) order in def.sh, and try to normalise the formatting
- Also copy across some function level comments everywhere
- Ensure functions only used inside each md.c are defined as static
- Remove some now unused functions
- Some files had enable_rc_conf in #ifdef DEBUG. Add this to all
- bebox, evbppc and sandpoint were still playing broken games with
  copying the booted ramdisk to the target disk, the primary result
  of which was just to slow things down and ensure the target system
  lost the .profile extracted from the sets. Just kill this.
- For some ports md_update() called endwin(), and in others not.
  Take a cure from i386/amd64 and a few other more active ports,
  and update everything to match (no endwin())
- In a couple of cases correct port names in comments
- ANSIfy some lingering old style functions
- Consistently use "return 0;" rather than "return (0);"

More of the mbr code should be abstracted, along with the
get_ramsize() / set_swap() logic, but this is (more than)
enough for one day...

sysinst built for all ports but only runtime tested on amd64 & i386
2009-09-19 14:57:27 +00:00
abs
961dc58afe Add cobalt hp700 hpcarm landisk & ofppc to ALL_MACHINES list 2009-09-19 13:33:17 +00:00
tron
998ba1c3ac Fix typo in name. 2009-09-19 08:05:24 +00:00
snj
f2a7edf211 Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
snj
7bc03db112 Update core group membership. 2009-09-19 06:18:01 +00:00
abs
7fb2fc21e2 Of the arious list files 28 said
PROG   usr/bin/gzip    usr/bin/gzcat usr/bin/gunzip
while 14 picked
    PROG   usr/bin/gzip    usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
2009-09-18 10:49:08 +00:00
abs
d2e3664387 Merge four separate copies of list2sh.awk runlist.sh (three identical
and one with slightly less options). Release build verified on amiga,
bebox and evbsh3. Vax build fails for unrelated reason.
2009-09-18 09:24:58 +00:00
sborrill
a6c4554922 Add hdaudio headers 2009-09-17 08:55:19 +00:00
mrg
316b73f4dc add hdaudio files. 2009-09-17 07:40:44 +00:00
dyoung
a823c63033 Don't install config_activate links such as config_activate.9 ->
autoconf.9.  In the set list, mark the config_activate links
obsolete.
2009-09-16 22:52:40 +00:00
dyoung
36fffd8d02 In pmf(9), improve the implementation of device self-suspension
and make suspension by self, by drvctl(8), and by ACPI system sleep
play nice together.  Start solidifying some temporary API changes.

1. Extract a new header file, <sys/device_if.h>, from <sys/device.h> and
   #include it from <sys/pmf.h> instead of <sys/device.h> to break the
   circular dependency between <sys/device.h> and <sys/pmf.h>.

2. Introduce pmf_qual_t, an aggregate of qualifications on a PMF
   suspend/resume call.  Start to replace instances of PMF_FN_PROTO,
   PMF_FN_ARGS, et cetera, with a pmf_qual_t.

3. Introduce the notion of a "suspensor," an entity that holds a
   device in suspension.  More than one suspensor may hold a device
   at once.  A device stays suspended as long as at least one
   suspensor holds it.  A device resumes when the last suspensor
   releases it.

   Currently, the kernel defines three suspensors,

   3a the system-suspensor: for system suspension, initiated
      by 'sysctl -w machdep.sleep_state=3', by lid closure, by
      power-button press, et cetera,

   3b the drvctl-suspensor: for device suspension by /dev/drvctl
      ioctl, e.g., drvctl -S sip0.

   3c the system self-suspensor: for device drivers that suspend
      themselves and their children.  Several drivers for network
      interfaces put the network device to sleep while it is not
      administratively up, that is, after the kernel calls if_stop(,
      1).  The self-suspensor should not be used directly.  See
      the description of suspensor delegates, below.

   A suspensor can have one or more "delegates".  A suspensor can
   release devices that its delegates hold suspended.  Right now,
   only the system self-suspensor has delegates.  For each device
   that a self-suspending driver attaches, it creates the device's
   self-suspensor, a delegate of the system self-suspensor.

   Suspensors stop a system-wide suspend/resume cycle from waking
   devices that the operator put to sleep with drvctl before the cycle.
   They also help self-suspension to work more simply, safely, and in
   accord with expectations.

4. Add the notion of device activation level, devact_level_t,
   and a routine for checking the current activation level,
   device_activation().  Current activation levels are DEVACT_LEVEL_BUS,
   DEVACT_LEVEL_DRIVER, and DEVACT_LEVEL_CLASS, which respectively
   indicate that the device's bus is active, that the bus and device are
   active, and that the bus, device, and the functions of the device's
   class (network, audio) are active.

   Suspend/resume calls can be qualified with a devact_level_t.
   The power-management framework treats a devact_level_t that
   qualifies a device suspension as the device's current activation
   level; it only runs hooks to reduce the activation level from
   the presumed current level to the fully suspended state.  The
   framework treats a devact_level_t qualifying device resumption
   as the target activation level; it only runs hooks to raise the
   activation level to the target.

5. Use pmf_qual_t, devact_level_t, and self-suspensors in several
   drivers.

6. Temporarily add an unused power-management workqueue that I will
   remove or replace, soon.
2009-09-16 16:34:49 +00:00
abs
cebd4a38cb The ramdisk includes dmesg, so use it in preference to /kern/msgbuf 2009-09-16 10:40:02 +00:00
degroote
2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
apb
06867cdace If there are errors in creating a ${set}.tgz tar file, then don't
just press on regardless.
2009-09-12 11:01:55 +00:00
phx
51108c4538 New header file <sys/disklabel_rdb.h>. 2009-09-12 10:33:44 +00:00
jnemeth
baf62bbf6a mention ./etc/mtree/set.<set name> 2009-09-12 09:24:32 +00:00
jnemeth
25c1684bb8 get rid of some prehistoric obsolete info 2009-09-12 09:21:31 +00:00
mrg
f5adb56565 fix build for HAVE_BINUTILS=219. 2009-09-11 22:36:53 +00:00
mrg
3832fa3fd6 add ./etc/mtree/set.modules so that modules.tgz is created with
actual files in it, rather than a 20 byte .gz file (ie, empty file.)


HI JNEMETH!
2009-09-11 22:32:50 +00:00
mrg
e553df3559 build binutils 2.19 compat libraries. this lets HAVE_BINUTILS=219
work for amd64, and probably for sparc64.
2009-09-11 16:01:58 +00:00
pooka
1b05a6d80a Add test case for PR kern/42020:
t_rnd (1/1): 1 test cases
    RNDADDDATA: Failed: Test case did not exit cleanly: Abort trap (core dumped)

Failed test cases:
    t_rnd:RNDADDDATA
2009-09-08 20:37:45 +00:00
pooka
c7ef14e487 Build and install cgd, disk and rnd rump device components. 2009-09-08 20:34:47 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
mrg
cfb8df7f4f install the fontconfig files into /etc/fonts/conf.avail, and symlink
the default ones into /etc/fonts/conf.d, as per default.

reported by jukka marin on netbsd-users.
2009-09-07 21:07:02 +00:00
mrg
2bd0cf0757 - do not create X11 subdirs always anymore
- we now only create them when building X11, and only create the ones
  we need (X11R6 xor X11R7)

- all these subdirs are now in the xbase set

- move the logic for running mtree into etc/mtree/Makefile

- split NetBSD.dist into 3 files, and have the build and postinstall handle
  creating a possibly merged one.  we still have a single installed file
  called "NetBSD.dist".
2009-09-07 19:34:29 +00:00
he
7a6a85f84e Move ./usr/tests/modules/Atffile from tests/mi to tests/module.mi.
This should get us building for evbppc again, which doesn't do modules.
2009-09-07 08:22:51 +00:00
jnemeth
d539a2c691 Install the new modules.tgz set. 2009-09-07 02:31:53 +00:00
jnemeth
fbeb8d3295 Create a modules.tgz set and move kernel modules into it. 2009-09-07 02:27:27 +00:00
pooka
f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +00:00
sborrill
b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
macallan
b1e03052c7 add files for the sunleo driver 2009-09-05 22:38:45 +00:00
taca
91660997c8 Correct files' suffix of the previous commit. 2009-09-05 10:16:46 +00:00
taca
c12a22f6c5 Need entries for cat9 and html9 directorys. 2009-09-05 09:47:14 +00:00
apb
d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
apb
6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00
christos
5420dd7695 PR/41991: Joachim Kuebart: add debug libs for libdrm_intel and unmark the
regular lib as profile.
2009-09-04 17:46:06 +00:00
pooka
da73ba1e67 build & install librumpdev_netsmb and librumpfs_smbfs components 2009-09-04 17:21:33 +00:00
pooka
de4fa6c51a Build & install rumpdev, a device component for rump. It currently
supports autoconf and is required for example by pseudo-device rump
components.
2009-09-03 15:35:58 +00:00
pooka
bd8ebb811a install librumpfs_fdesc 2009-09-03 12:55:10 +00:00
pooka
fd46b5b66c install librumpcrypto component: kernel crypto routines 2009-09-03 12:33:54 +00:00
pooka
7f37fbb7ea Install smb headers relevant for userspace and make mount_smbfs
use installed headers instead of src/sys.
2009-09-03 12:04:50 +00:00
joerg
0add6502d8 Enable libarchive-based unzip frontend. 2009-09-03 01:17:29 +00:00
skrll
dd9009a209 More sections to remove when doing ELF->a.out conversion. 2009-09-02 07:48:50 +00:00
macallan
399ee2de4f we don't build libtin10 and xorgconfig on sgimips 2009-09-01 19:46:56 +00:00
hubertf
206ec737e8 Make sure cdrom/etc exists before copying files into it.
Needed when someone sets CDRUNTIME to "" in  a subdirectory's Makefile,
to not get anything besides a kernel and maybe a ramdisk (module) on a CD.
2009-08-30 22:30:30 +00:00
mrg
d3f868030f move protocol.txt from xserver/md.* into xbase/mi, since it's built
on all Xorg platforms, not just ones using hw/xfree86.

reported by he@ and noticed by i understand 32 autobuilds.
2009-08-30 21:27:35 +00:00
dyoung
71fe64733e Let us use MKKMOD=yes to leave the kernel modules out of the
distribution.
2009-08-30 01:49:41 +00:00
ahoka
04e8306951 Install manpage for the Xorg S3 driver. 2009-08-28 17:20:07 +00:00
mrg
e1f2b04281 - build mesa_dri and swrast on all platforms
- kill imstt
- re-add int10 on macppc
2009-08-27 04:59:15 +00:00
macallan
f0ef6f6e4e add pnozz and suntcx drivers 2009-08-26 22:38:22 +00:00
njoly
3779cf9667 +bdftruncate.debug 2009-08-26 09:49:29 +00:00
mrg
a8bf7217d2 minor updates for xorg 2009-08-26 09:01:15 +00:00
njoly
921e68eddf +iasl.debug 2009-08-25 17:02:42 +00:00
martin
92a844a416 Translate english rev 1.59 (mention USB boot device in addition to floppy) 2009-08-24 09:46:24 +00:00
snj
0613fdcb3f Kill an incorrect bit of text about creating device nodes that had been hiding
under a macppc conditional.  Update for today's progress bar world.
2009-08-23 22:17:18 +00:00
jmcneill
3f1e5d911a Get rid of the 'select extraction verbosity' menu. 2009-08-23 21:16:16 +00:00
jmcneill
004c1bcc7f Print ${MACHINE} in the welcome message. 2009-08-23 20:58:05 +00:00
jmcneill
b6cec36cdd Mention USB media as well as floppy disks. 2009-08-23 20:57:40 +00:00
jmcneill
ae6bbc2b13 PR# install/41925: sysinst find_disks() should display more than just
the device name

Try ATA/SCSI identify commands and when successful, use the model information
along with the disk size when creating the 'Available disks' menu.

Instead of having a list of disks (wd0, wd1, sd0) the menu now looks like:

  Available disks

 >a: wd0 (977M, SanDisk SDCFB-1024)
  b: wd1 (233G, FUJITSU MHY2250BH)
  c: sd0 (246M, LEXAR JUMPDRIVE ELITE)

ok martin@
2009-08-23 18:43:33 +00:00
tsutsui
cadbb82928 Remove existing gzipped bootloader before installing new one
for upgrade install.
2009-08-23 13:36:54 +00:00
mrg
1ef7a9ffe7 install the xorg "protocol.txt" file. 2009-08-23 09:05:44 +00:00
he
7529c7cce1 Introduce <sys/aout_mids.h>, and include it from <sys/core.h> and
<sys/exec_aout.h>.  This contains the various a.out machine IDs
moved out from exec_aout.h.  The a.out machine IDs are not only
used to identify a.out executable files, but also used to identify
NetBSD core dumps, so should be accessible outside of exec_aout.h.

OK'ed by matt@
2009-08-20 22:07:49 +00:00
skrll
ec608b5760 Remove .ARM.attributes when converting from ELF to a.out. 2009-08-20 14:43:06 +00:00
he
fc78ee16af Don't remove the mips a.out entries outright, but instead mark them as
obsolete, so that they will be removed from DESTDIR.  Hi, matt@!
2009-08-19 08:24:43 +00:00
jmcneill
d8b69fb901 Hook ACPICA iasl into build for i386 and amd64. 2009-08-18 23:43:31 +00:00
christos
f227975929 Version fts one more time! This is the most versioned API ever... Bump
fts_level from short to int to avoid a potential DoS.
From Maksymilian Arciemowicz
2009-08-16 19:33:38 +00:00
pgoyette
f6f3b4be8a Repair more fallout from the exec_aout.h change.
No guarantee that these are the "right" things to do, but they do allow
building of port-amd64 again.
2009-08-16 17:12:47 +00:00
joerg
03c8ba1c27 Add nbperf(1), a minimal perfect hash function generator.
Implemented are the 3-graph BDZ algorithm as well as the
2-graph and 3-graph CHM algorithms. All algorithms have expected
linear run time and the smallest functions need around 2.85 bit/key.
2009-08-15 16:21:04 +00:00
mbalmer
5f41e6ce40 Move keylock.h where it belongs. 2009-08-15 09:52:57 +00:00
mrg
b2b4f72c89 add sys/keylock.h to the sets list.
HI MARC.

(why is this in sys/keylock.h and not dev/keylock.h?)
2009-08-15 05:50:49 +00:00
mbalmer
3ab4ce4739 Add support for multi-position electro-mechanical keylocks. An example
driver, gpiolock(4), is provided as an example how to interface real hardware.
A new securemodel, securemodel_keylock, is provided to show how this can
be used to tie keylocks to overall system security.  This is experimental
code.  The diff has been on tech-kern for several weeks.

Reviewed by many, kauth(9) integration reviewed by Elad Efrat; approved by
tonnerre@ and tron@.  Thanks to everyone who provided feedback.
2009-08-14 21:17:21 +00:00