Commit Graph

6924 Commits

Author SHA1 Message Date
alnsn a659721e61 Untie libsljit directory from MKSLJIT. 2012-11-05 08:07:11 +00:00
pgoyette d377141baa Add new SysV IPC test 2012-11-05 04:09:34 +00:00
alnsn ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
christos fd0ad6ba3c add TPM sets. 2012-11-04 16:26:52 +00:00
mbalmer 2eb9e5d971 Remove duplicate word (the the -> the) 2012-11-03 07:59:45 +00:00
pgoyette 993bb41987 Add tests/mqueue 2012-11-03 05:19:49 +00:00
christos 8a4138dd82 add flock(1) 2012-11-01 23:33:10 +00:00
christos bbbf171164 mv npfctl from /usr/sbin to /sbin so it is available before /usr is mounted. 2012-11-01 03:26:42 +00:00
joerg 0ee52b72c8 Update LLVM/Clang snapshot to r166772. Now builds without RTTI and
exceptions. Also features the first round of a loop vectorizer.
2012-10-28 17:07:44 +00:00
alnsn 0cae5cae2f Build bpfjit on i386. 2012-10-28 16:25:02 +00:00
alnsn e8c0d6c662 Add bpfjit and enable it for amd64. 2012-10-27 22:36:11 +00:00
msaitoh 255c8c559e Add some files to complete "make release" for big endian. 2012-10-14 12:36:57 +00:00
jmmv aec6efdd3a Add missing ./usr/X11R7/lib/modules/libexa_g.a to fix MKDEBUGLIB=yes build. 2012-10-13 21:21:52 +00:00
alnsn c0135b01f2 Enable sljit in amd64 kernel and modules. 2012-10-13 19:42:02 +00:00
tsutsui 598cc12300 Add new /usr/mdec/netboot. 2012-10-12 20:16:30 +00:00
christos 726941def2 add clock_nanosleep() 2012-10-02 01:47:39 +00:00
alnsn 5c5a76d566 Remove bpf_jit which was ported from FreeBSD recently.
It will soon be replaced with the new bpfjit kernel module.
2012-09-27 18:28:53 +00:00
joerg fe9380cfbd Add regression test for cdbr(3) and cdbw(3). 2012-09-27 00:38:57 +00:00
martin ed03c01997 Fix npf module paths 2012-09-21 08:42:33 +00:00
skrll 73d54e73d0 Fix MKDEBUG set lists 2012-09-18 15:14:40 +00:00
martin 8bc3c4549e npf extension modules for evbppc abi variants 2012-09-18 08:36:21 +00:00
martin 36aa9a94dd npftest.conf is not dependend on pic 2012-09-18 08:30:35 +00:00
nonaka d98e6e7107 Added some debug libs. 2012-09-16 20:23:20 +00:00
tls e6ea0ca4b6 *Sigh* provide, by default, the dumb "allocate 64K on the stack" variant
of the lzf_compress API by default.  This is because there is evidently
code floating around out there in the world with broken autoconf scripts that
don't check for LZF_STATE_ARG in the lzf header files and just assume the
dumb version of the API.

We rename the sane API to lzf_compress_r and implement the dumb API in
terms of it.  Consequently, bump liblzf major version number.  This is
fine because nothing used our liblzf with the old API.

Add lzf(1) utility from LZF distribution.  Add manual page for lzf(1).
2012-09-16 18:59:24 +00:00
rmind 94cf4e2062 Add /usr/lib/npf. 2012-09-16 16:15:29 +00:00
rmind 8c6e21bf5e Implement dynamic NPF extensions interface. An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module.  Move normalisation and logging functionality into their own
extensions.  More improvements to come.
2012-09-16 13:47:41 +00:00
plunky 69b4eb723b install header files from IPF 5.1.2 (sys/external/bsd/ipf) instead of
older IPF (sys/dist/ipf).

This adds ipf_rb.h
2012-09-15 17:41:59 +00:00
plunky 2bcdfeae54 install example rules from the 5.1.2 distribution in external/bsd/ipf/dist
rather than the old one..  "mediaone" does not seem to exist though, so
mark it obsolete
2012-09-15 17:33:27 +00:00
martin 9851af6be6 npftest only is build with dynamic libraries 2012-09-13 21:05:17 +00:00
rjs 5abdc4ce9a Allow build with MKRUMP=no. 2012-09-12 19:20:37 +00:00
martin 18e375f3bb Set list changes for npftest binary and npf tests 2012-09-12 14:07:51 +00:00
manu bba80928a8 setcontext() used to be incompatible with -lpthread since it affected
the TLS pointer, therefore wrecking the pthread environement.

Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)
that controlled whether setcontext() would change the TLS pointer.
This change let libpthread override setcontext() with its own version
that unsets _UC_TLSBASE, enabling safe usage of setcontext() with
-lpthread.

We also have the following required changes here:
- rename alpha's _UC_UNIQUE into _UC_TLSBASE
- add _UC_TLSBASE definition in header file for all ports
  (powerpc, sh3, sparc and sparc64 lack the implementation for now)
- introduce a libc stub that can be overriden for setcontext()
- modify MD libcs swapcontext() implementations so that they use the
  setcontext() libc stub instead of doing a plain system call.

While we are there:
- document various MD _UC_* flags in header file
- add libc and libpthread tests for swapcontext() behavior
  (hopefully helpful to spot MD problems introduced with this change)

Future work:
- Deciding whether kernel support or _UC_TLSBASE should be added for
  powerpc, sh3, sparc and sparc64 is left to portmasters
  sparc64

Approved by core@
2012-09-12 02:00:51 +00:00
drochner 312c339026 Extend the CPU microcode update framework to support Intel x86 CPUs.
Contrary to the AMD implementation, it doesn't use xcalls to distribute
the update to all CPUs but relies on cpuctl(8) to bind itself to the
right CPU -- to keep it simple and avoid possible problems with
hyperthreading.
Also, it doesn't parse the vendor supplied file to pick the right
part for the present CPU model but relies on userland to prepare
files with specific filenames. I'll commit a pkg for this in a minute
(pkgsrc/sysutils/intel-microcode).
The ioctl interface changed; compatibility is provided (should be
limited to COMPAT_NETBSD6 as soon as this is available).
2012-08-29 17:13:21 +00:00
jmmv 80b30d8cdf Add placeholder test programs for share/mk files.
The main goal of this change is to simplify the further addition of test
cases for the share/mk infrastructure by adding a few placeholder test
programs to the tests tree.

To not leave these test programs empty, I have added a bunch of extremely
simple test cases to them.
2012-08-26 23:03:20 +00:00
jmmv e7d178251c Sanitize the regex test cases.
- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
  The former was really a test program, and the latter just a very strange
  driver for it.

- Stop using awk to generate the shell test programs.  This is unnecessary
  and confusing.  Instead, change t_regex.sh to generate the test case
  functions on the fly with eval (as done in many other places).
2012-08-24 20:24:39 +00:00
spz c60c5ec2d8 actually install the new npf examples
add examples for a hash table file and a tree table file
add an ID string to host-npf.conf
2012-08-22 06:45:15 +00:00
tron 387077e6e4 Build and install iso10646-1 encoded 10x20 font. This matches the behaviour
of the upstream software and modular X.org in pkgsrc.

Patch supplied by Piotr Meyer in PR xsrc/46755.
2012-08-20 15:38:58 +00:00
mrg f3795b4413 do not obsolete terminfo.db. that breaks binaries built for most of
the devel part of netbsd-6.

XXX: needs pullup
2012-08-19 08:22:59 +00:00
matt 98f742e168 Add debug version of librumpnet_npf.so.0 2012-08-16 04:52:55 +00:00
pgoyette 36a61444ae Part 2 of librumpnet_npf 2012-08-15 22:14:47 +00:00
pgoyette 8f60a9447f Add librumpnet_npf 2012-08-15 21:03:09 +00:00
matt c38df71e0c Export <arm/vfpreg.h> 2012-08-15 20:38:49 +00:00
macallan 0cfd9fa3bc more ',rump' sprinkling - now mips64el builds with MKRUMP=no too 2012-08-15 05:55:43 +00:00
macallan 5a289bb968 sprinkle ',rump', now sgimips64 with MKRUMP=no builds properly 2012-08-15 04:22:45 +00:00
alnsn e7e64dcaa1 Build and install t_bpfilter. 2012-08-14 19:13:54 +00:00
christos bcbfa15ea9 add fdpass files 2012-08-13 11:26:13 +00:00
joerg cc216625a3 Remove two lines that slipped through. 2012-08-11 13:27:55 +00:00
nakayama dd6c46f6ab Fix MKRUMP=no build. 2012-08-11 03:19:48 +00:00
joerg 4f18a444b9 Make GCC entries optional. 2012-08-10 16:22:31 +00:00
joerg 951d5f4e22 No need to check for MKRUMP twice. 2012-08-10 16:18:51 +00:00