Commit Graph

13067 Commits

Author SHA1 Message Date
jdf
db32c99923 Prevent sysinst from setting an fqdn in rc.conf when the user entered no domain
(i.e., sets only the hostname).  Fix for PR install/46946.
2012-09-23 17:37:51 +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
jdf
339b2058bc Add Spanish translations for sysinst's new configuration menu, plus adding a few
that were left previously.
Translation provided by jmmv.
2012-09-15 17:56:28 +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
matt
229653a689 Add BCM5301X_INSTALL 2012-09-01 02:05:02 +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
mrg
ff92b94bd8 add ipty to the list of MAKEDEVTARGETS. should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.

XXX: pullup.
2012-08-18 09:33:25 +00:00
riz
07035b8620 Add a description of the 'modules' set for all arches which have
MODULAR somewhere in the configs.
2012-08-17 20:10:53 +00:00
riz
412ac9c56b More MI release notes updates, particularly around installing.
This could use more love!
2012-08-17 19:55:14 +00:00
riz
ece38d66a1 Bring MI release notes somewhat more up-to-date. 2012-08-17 18:20:19 +00:00
riz
81f27d3683 Install fully-populated .iso images in ${RELEASEDIR}/images instead
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
2012-08-17 16:57:59 +00:00
riz
b053ad40a5 Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
2012-08-17 16:56:34 +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
riz
80b5c6d82f Add sbin/gpt to i386 install ramdisk. 2012-08-15 16:49:09 +00:00
riz
442814cf0d Add sbin/gpt to amd64 install ramdisk. 2012-08-15 16:48:41 +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
martin
5f9bff29ea Change all install media to use ipty instead of pty0 2012-08-14 07:24:40 +00:00
christos
fe200fdd32 just make the installation ptys (ipty); change it to opty if more needed. 2012-08-14 02:55:00 +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
matt
3c48897f6d Add mount_tmpfs 2012-08-10 20:17:09 +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
matt
e63fd2b971 Add a dependency on etc.${MACHINE}/MAKEDEV.conf 2012-08-10 05:22:22 +00:00
matt
4b2b1348ca Add fdisk/gpt/fsck_msdos 2012-08-10 05:21:14 +00:00
drochner
762bde4e8a on x86, <machine/cpufunc.h> only pulls in <x86/cpufunc.h>. The latter
is not installed to userland and noone missed it, so the former ones
can not be useful either. Don't install them.
2012-08-08 18:37:51 +00:00
christos
b0af1b5c0d fix pasto 2012-08-08 16:23:31 +00:00