Commit Graph

180328 Commits

Author SHA1 Message Date
joerg
94109f5e3c Import pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:16:43 +00:00
jakllsch
e75d76046a regen. 2009-04-24 14:07:36 +00:00
jakllsch
1cdfeda3ef Add Microchip Technology vendor ID and two PICkit device IDs thereof. 2009-04-24 14:06:22 +00:00
pooka
2080685e3d * init pool linksets, makes proplib work. reported by Arnaud Ysmal.
(linksets, sigh)
* reduce #ifdef for RUMP_USE_REAL_ALLOCATORS
2009-04-24 13:27:03 +00:00
lukem
a60f776aae Revert incorrect change made as part of the WARNS=4.
Fixes "ftp host [port]" on the CLI.
Noted by Geoff Wing.
2009-04-24 08:57:26 +00:00
agc
ea21613ec1 Remove artefacts which should not have been imported - sorry for the noise 2009-04-24 01:05:59 +00:00
snj
ca3c228f9e Note that SMP is broken on sparc. 2009-04-23 23:54:10 +00:00
christos
3c2585b945 correct cast to size_t. 2009-04-23 22:09:23 +00:00
macallan
f274fcd902 mention wscons support in zx(4) 2009-04-23 20:48:09 +00:00
macallan
c7d8ba2450 Add wscons support 2009-04-23 20:46:49 +00:00
kefren
02190332dd Add power hooks. Proposed a couple of days ago on tech-kern@, no
objections received. Tested on Dell Inspiron 2200 with BCM4318
2009-04-23 20:24:23 +00:00
njoly
d3dabe1260 Add IPC_64 support for all semctl(2)/msgctl(2). Needed, at least on
i386 for Linux 2.6 emulation.
2009-04-23 17:40:57 +00:00
njoly
c4fb0248d2 Convert si_code value from native to linux. 2009-04-23 17:37:51 +00:00
elad
7f1171f976 - Make kauth(9) call logic match the one in netinet6/in6_pcb.c
- Indent a comment
2009-04-23 17:02:26 +00:00
elad
f2eb9b87ec Some changes to in_pcbbind():
- Extract guts to in_pcbbind_{addr,port}()

  - Put the port auto-assignment logic in in_pcbsetport(), which looks very
    similar to in6_pcbsetport()

  - Fix a bug where "sin" was passed to kauth(9) without being set to
    anything

No objections on tech-net@.
2009-04-23 16:42:56 +00:00
tsutsui
f120aa8526 Make sure to remove all generated files on cleandir. 2009-04-23 16:37:44 +00:00
tsutsui
ded7297540 Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks. 2009-04-23 16:35:20 +00:00
tsutsui
c37f283f47 Fix -Wcast-qual and -Wsign-compare issues. 2009-04-23 14:49:32 +00:00
tsutsui
e2832ec4e0 Create cksums for files in ${MD_INSTALLATION_DIRS}. 2009-04-23 14:38:58 +00:00
tsutsui
0cfe059a5a Build ramdisk based INSTALL kernel and bootstrap bootable install image file
and install them into releasedir.
2009-04-23 14:16:09 +00:00
tsutsui
931804e263 Switch bootstrap bootable install image from ffs to ustarfs based. 2009-04-23 14:14:35 +00:00
cegger
7c3843a362 pool uses signed int for flags.
undo the int -> u_int change for pmap_pdp_alloc to unbreak the PAE build.
2009-04-23 12:18:41 +00:00
apb
aff2f5a7b4 Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because
INSTALL_DIR would want to write to the metalog, and it can't do that
if the metalog is inside DESTDIR but DESTDIR doesn't yet exist.
This allows some XXX comments to be removed.
2009-04-23 11:29:29 +00:00
msaitoh
e447a613d9 use proplib 2009-04-23 10:47:43 +00:00
msaitoh
278d80cb78 remove obsolete code. 2009-04-23 10:43:31 +00:00
apb
c4ad9aa7fc Make clean_METALOG in distrib/sets early in the build, to ensure that
the METALOG does not grow without bounds on multiple MKUPDATE builds.
(Previously, sanitise_METALOG in distrib/sets/Makefile used to do
something like this near the end of a build.)
2009-04-23 09:43:49 +00:00
apb
3ae1376a23 Clean up the handling of METALOG.sanitised:
* Don't change METALOG in place while creating METALOG.sanitised in the
  sanitise_METALOG target.  This makes it easier to manually inspect
  METALOG to find the order in which lines were added during a build.

* Add a clean_METALOG target, to be invoked from src/Makefile early in
  the build, to prevent unbounded growth of METALOG during multiple
  MKUPDATE builds.

* Remove the old hack of incorporating etc/mtree/NetBSD.dist into
  METALOG.sanitised.  It was needed only during a short transition
  period when people might have done MKUPDATE builds starting from
  existing DESTDIR and OBJDIR trees that had been created before
  revision 1.317 of src/etc/Makefile.

* Since etc/mtree/NetBSD.dist is no longer added, there's will not
  be any "optional" lines, so there's no need to filter them from
  METALOG.sanitised.

* There's no need for two different METALOG.unpriv and
  METALOG.sanitised.unpriv variables; combine them into a single
  METALOG.unpriv variable whose value is "-M ${METALOG}.sanitised".

* Reorder some lines in the Makefile, to bring related targets,
  variables and comments together.
2009-04-23 09:37:03 +00:00
apb
9d84a95580 Simplify the way EXCLUDE_REGEXP is built. 2009-04-23 09:30:56 +00:00
kefren
62e6076ccd Add pmf hooks. Proposed two days ago on tech-kern@, no objections.
Tested on amd64 with Asus P5Q-E mainboard with onboard Yukon Lite
2009-04-23 09:18:25 +00:00
agc
93bf6008f8 Import netpgp source into crypto/external - this is a heavily-modified
version of openpgpsdk, and will replace it. Differences between netpgp
and the NetBSD repository version of openpgpsdk are:

+ Wrap source code in GNU autoconf/configure
+ New high-level interface for libnetpgp(3) and netpgp(1)
+ Hide prolifery of local headers in the internal lib directory -
  there is now one exported header called netpgp.h
+ Hide all ops_* functions and structs behind __ops_* names
+ Fix long-standing bug - make decryption work with files > 8192 bytes
  (fix for signature verification of signed files > 8192 bytes was already
  brought forward from the NetBSD repository of openpgpsdk)
+ Use mmap(2) to read files, falls back to read(2) if can't do mmap
+ Compile portable package using libtool
+ Rationalise the number of source files - merge a number of smaller ones
+ Case-insensitive matching of key ids
+ Use PRIsize throughout
+ Use calloc(3) throughout to zero memory
+ Get rid of global symbols which abused a macro
+ Use more descriptive names - remove "_arg_" components, name things for their
  purpose, rather than what they are (their type)
+ No more --passphrase= argument to netpgp(1) - this is now always
  done through callbacks
+ Report source code date and build date in version number, as well as the
  version number itself

This will form the basis of the portable netpgp package.
2009-04-23 06:31:55 +00:00
cegger
e3735e2a6b use top-most bits for PMAP_MD_MASK instead something in the middle.
per request from christos@
2009-04-23 06:22:00 +00:00
lukem
a3417b09b0 WARNS=1 for pf 2009-04-23 05:25:06 +00:00
agc
9c3b1325df Cast the arg to an unsigned value to let this compile 2009-04-23 03:49:39 +00:00
snj
5c8a8d50a8 Various updates to the INSTALL notes in preparation for 5.0. Changes
are still to come.
2009-04-23 01:56:48 +00:00
lukem
b129d71a05 Fix -Wcast-qual issue 2009-04-23 01:39:47 +00:00
lukem
74f7394a13 Allow WARNS=4 after Christos' fix sys/cdefs.h 2009-04-23 01:37:55 +00:00
lukem
6c17577005 Fix -Wsign-compare issue 2009-04-23 01:36:56 +00:00
elad
f68b0219b0 Per discussion on tech-kern@:
- Replace use of label/goto with returns

  - Rename, change prototype of, and move functions from vfs_subr.c to
    genfs_vnops.c
2009-04-22 22:57:08 +00:00
zafer
ec72b79806 Add myself to the list of developers. 2009-04-22 22:47:21 +00:00
ad
a19f73310c Always write REDHI before REDLO, since REDLO contains the mask bit. 2009-04-22 22:31:26 +00:00
njoly
41f89f9e08 Include string.h for memset prototype. 2009-04-22 21:52:59 +00:00
ad
c1cc516b61 Route all interrupts back to the BP again, for the time being.
Distributing them is causing strange problems on some systems.
2009-04-22 21:20:52 +00:00
ad
3a8f4acadc Make xen kernels build again. 2009-04-22 21:16:40 +00:00
elad
4c30194dc1 There is no vfs_subr2.c. 2009-04-22 20:53:44 +00:00
christos
0f03f83ae4 Avoid information leaks by zeroing memory, from FreeBSD (we had done some
already)
2009-04-22 18:44:06 +00:00
elad
3a272cca86 Only check if the port is used if it was specified.
Should fix problem reported in

    http://mail-index.netbsd.org/current-users/2009/04/22/msg009130.html
2009-04-22 18:35:01 +00:00
christos
ad38869bc4 Adjust for new default location of the pid file. 2009-04-22 18:27:03 +00:00
christos
709ec5958a Don't log if "." is not writable. In the chrooted environment this is
"/var/chroot/named", and there is no reason whatsoever for this to be
writable!
2009-04-22 18:25:24 +00:00
christos
33c521093c WARNS=4 2009-04-22 18:10:38 +00:00
christos
2c97c53223 Cast the argument of the __BIT to an unsigned type, since it does not make
sense for it to be signed and gcc complains if it is.
2009-04-22 18:04:02 +00:00