Commit Graph

10971 Commits

Author SHA1 Message Date
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
matt
1191a19f81 We don't install <machine/bsd-aout.h> and <machine/aout_machdep.h> on MIPS
anymore and we don't build elf2aout for MIPS either.
2009-08-12 23:38:20 +00:00
snj
8af0e5d28c It's "let's" 2009-08-11 19:15:30 +00:00
mbalmer
5502bee520 Add the manual page for the gpioiic(4) driver. 2009-08-09 08:20:53 +00:00
kiyohara
5bb9b7a6ef Support SMSC LAN9118 Family Ethernet interfaces device driver.
It tested on GUMSTIX only.
2009-08-09 06:40:09 +00:00
rmind
deef563516 Unify kmem_alloc/zalloc/free under kmem(9). Links preserved. 2009-08-03 19:43:58 +00:00
rmind
e403bed420 Split descriptions of UBC functions from uvm(9) into separate ubc(9) man page. 2009-08-03 19:08:48 +00:00
plunky
bd42c2e8d0 Add bt_dev(3), an platform neutral API for accessing (locally configured)
Bluetooth devices, and bump libbluetooth minor version.

This is a reimplementation of an API largely developed by Maksim Yevmenkin
on FreeBSD to make it easier to port BlueZ/Linux programs which depend on
something similar. Alas, the BlueZ/Linux API is incompatible and unportable
as it depends on a 'device' being referenced by an int, but this will
hopefully make it easier to port software using that.

(bump libbluetooth minor version)
2009-08-03 15:59:41 +00:00
mbalmer
0a0263e442 Add a manual page for the gpiosim(4) pseudo-device. 2009-08-01 15:43:01 +00:00
kiyohara
ce1343fcd9 Support Marvell Hercules-I/II SATA Controllers. 2009-07-27 12:34:12 +00:00
mbalmer
588a2f395f Add new files due recent gpio(4) rework. 2009-07-25 16:22:59 +00:00
joerg
46d5217b8f Don't set debug for the directory. 2009-07-22 21:35:38 +00:00
joerg
0578c2ad0f Move popcount et al to src/common and add popcount32/popcount64.
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
2009-07-21 14:55:32 +00:00
njoly
f70dbee979 +mount_nilfs.debug 2009-07-21 14:18:50 +00:00
joerg
974b291a6c Add popcount(3) and the long and long long version. Name is inspired by
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
mrg
5d96b1e371 updates for compat builds. 2009-07-21 00:49:30 +00:00
mrg
44b898ae03 it's not quite upto libcrypto.so.6.1 yet... 2009-07-21 00:49:13 +00:00
christos
75efea6592 bump libcrypto and friends; OpenSSL abi change: do_cipher last argument
changed from u_int to size_t. Affects _LP64 only.
2009-07-20 17:30:52 +00:00
joerg
d6e219476b Add a fast, platform independent hash function to libc.
The algorithm used is the Jenkins hash.  The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.

Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
christos
fd8c6a1608 new openssl 2009-07-19 23:38:11 +00:00
rmind
7512d1e720 Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
reinoud
389707eaef Fix missing /usr/include/nilfs directory declaration 2009-07-18 22:24:02 +00:00
reinoud
5816d13584 *Sigh* its late... fix entry for lists/comp/mi 2009-07-18 22:19:40 +00:00
reinoud
d204e95528 Fix ./usr/lib/librumpfs_nilfs_p.a's line in lists/comp/mi 2009-07-18 22:15:12 +00:00
reinoud
14cb13084c Fix lists for NiLFS import... sorry folks, i didn't run a `make release'.
Currently building a release to test it completely but committed it now to
ease you folks.
2009-07-18 21:32:52 +00:00
tsutsui
78b680c5cf Revert previous per comment from ad@ in PR 41668, which is no longer orphaned. 2009-07-16 10:43:22 +00:00
tsutsui
73cf34a890 Add MONOLITHIC kernel to i386 release binaries. PR#41668 2009-07-15 14:11:02 +00:00
wiz
3ac668392a Add getline and getdelim html pages. 2009-07-14 08:01:02 +00:00
roy
d4a3cf6a5a Add implementations for getdelim(3) and getline(3). 2009-07-13 22:19:24 +00:00
apb
7461501a27 Add "-M" flag to the mtree invocation in sanitise_METALOG. This should
avoid errors in cases where a build poduct changes type (e.g. a file
becomes a symlink) between one build with older sources and a subsequent
update build with newer sources.
2009-07-12 12:30:31 +00:00
wiz
57295b8d96 /usr/lib/i386/libbfd.a is built and installed, do not mark it as obsolete.
"obsolete" added in 1.46 without a particular reason, file is not obsolete in
md.sparc64.
2009-07-12 11:00:37 +00:00
tls
e234ec7db5 Update to libevent-1.4.11-stable. This has been a long time coming and
fixes many bugs, particularly with signal handling.

The regression tests have also been updated and complete successfully
on amd64.
2009-07-08 21:23:52 +00:00
mrg
6144dd6ce4 remove libint10 libraries that are not needed for sparc*. 2009-07-07 07:53:38 +00:00
joerg
1e5025e496 Add support for the chgat(3) family. It is a useful extension from
ncurses, supporting it dramatically reduces the need for ncurses in
pkgsrc.
2009-07-06 15:19:49 +00:00
mrg
94a2d1af9e install geext.h. 2009-07-05 21:30:30 +00:00
snj
8f8fc136d7 nicknames.5: s/man-nis-catman/man-nis-man/. Spotted by Yorick Hardy. 2009-07-01 23:54:48 +00:00
agc
424d13a4a0 Remove premature addition of compat32 libs to arch-specific sets. 2009-06-28 05:37:22 +00:00
nakayama
db880c7eab Add yp tag to nicknames.{0,html} as well. 2009-06-26 20:59:00 +00:00
nakayama
0d5854c376 Fix typo. 2009-06-26 20:52:02 +00:00
jakllsch
94bdb4c2cf Fix MKDEBUG=YES build by adding entry for wake.debug. 2009-06-26 19:36:21 +00:00
jakllsch
176055761f mark nicknames.5 as .man, so MKMANZ=YES builds work 2009-06-26 19:31:25 +00:00
agc
99a1a9f586 finish off the move to the external framework for iscsi by fixing up the
set lists - thanks to tron for the nudge.
2009-06-25 20:54:16 +00:00