Commit Graph

1897 Commits

Author SHA1 Message Date
ahoka 82e82fca50 Add libc glue for libtre.
tre will be compiled without approx and wchar/mulibyte support to
only match the minimum requirement to replace our spencer regex.

This needs a lot of testing.

Only enabled when USE_LIBTRE is set to `yes'.
2010-09-04 12:17:58 +00:00
reed db8c589cdc For MLINKS description, remove sentence saying they
are soft-linked (as it is not accurate).
2010-08-25 15:24:29 +00:00
joerg 09dba18788 Simplify. 2010-08-23 16:03:03 +00:00
rmind 2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
christos 0479cf6528 PR/43772: enami tsugutomo: __XCONFIGFILEMAN__ is left unexpaneded in
xinit(1)/startx(1)
2010-08-17 08:40:57 +00:00
mrg 25c3593d4e add new option to build/use tools/pigz for compressing sets. for now
USE_PIGZGZIP defaults to "no".  (it depends upon local <pthread.h> and -lz.)

you can set it to "yes" on most modern platforms just fine.
2010-08-15 07:27:33 +00:00
mrg 7a40f55864 add/fix some transforms for some font, GL and xcb .pc files.
XXX: xcb still has pythondir=@pythondir@ in it.
2010-08-15 06:48:56 +00:00
christos 6e861e80dc don't forget to install bsd.ioconf.mk 2010-08-07 21:50:51 +00:00
jmmv eed27dd4f1 Move the TESTSBASE definition from bsd.test.mk to bsd.own.mk. Per joerg@'s
suggestion.
2010-08-02 07:08:26 +00:00
tsutsui d10a5f9ef8 Cleanup and sort if-clause lines for X11FLAVOUR per ${MACHINE}. 2010-07-31 16:23:15 +00:00
tsutsui d3d7f5a993 Switch hpcarm, hpcmips, and hpcsh to using X11FLAVOUR=Xorg. 2010-07-31 12:54:35 +00:00
mrg 8d81f5c19e add some more transforms to the hacky ugly sed script for pkg-config files,
and note a few more that are not yet handled but should be.
2010-07-18 07:05:39 +00:00
mrg 4f2c95e76d - add X11SHAREDIR definition
- X11SRCDIR's for libxcb, xcb-proto and xcb-utils
2010-07-17 22:53:29 +00:00
jmmv dad604ce0c Implement Atffile automatic generation.
This change adds the ATFFILE variable, which can take the following values:
- yes: The source directory contains a static Atffile to be installed.
- auto: The Atffile is automatically generated.
- no: Do not install any Atffile (replaces the previous NOATFFILE variable).

The ugly bit of this is that I have to add a TESTS_SUBDIRS variable that
lists the subdirectories that contain test cases (so that they can be listed
in the Atffiles, without including auxiliary directories without tests).
This is a subset of SUBDIR.

Addresses a minor part of PR bin/43394.
2010-07-13 21:11:41 +00:00
kiyohara 299d82b760 Support xserver for prep.
It tested only s3(864).
2010-07-12 07:54:11 +00:00
mrg 6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
mrg 88d56f4c97 - note that if MKINET6 is "no", MK11 must also be "no". we don't support
building X11 without inet6 support.  the support to maintain patches to
  generated files and other files is too great.  PR#42856
- add TOOL_PIGZ, which defaults to the (not yet default) built tools/pigz.
2010-06-20 06:54:23 +00:00
mrg 1909f84b1c - always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP.  if it is "no", then only install pigz as pigz.  if it is
  not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it.  i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.
2010-06-19 03:50:30 +00:00
jmmv 6fd7d9f8b8 Prevent build breakage if TESTSDIR is not defined (as in tests/modules/k_helper). 2010-06-18 13:14:21 +00:00
jmmv 92a7fda174 Add a experimental "make test" target
make test may yield misleading results but should work in many cases.  This
target is supposed to simplify the execution of tests but does not preclude
developers from running the installed versions.

Addresses PR misc/38326.
2010-06-18 10:10:57 +00:00
mrg 42a9c5d4fe default MKPIGZ to "no", for now. 2010-06-17 06:17:02 +00:00
mrg b6aa233709 ugh. this needs a real fix, but for now just update it to reality.
the diff -u is more obvious than a description:

-X11FLAGS.VERSION=      -DOSMAJORVERSION=1 -DOSMINORVERSION=6           # XXX
+X11FLAGS.VERSION=      -DOSMAJORVERSION=5 -DOSMINORVERSION=99          # XXX
2010-06-17 03:10:21 +00:00
riz a4259da5ea Note that MKZFS is actually "yes" on i386/amd64. 2010-06-08 22:22:25 +00:00
joerg 3ace57c17b Add definitions for TOOL_MANDOC_* for standalone users. Requested by
dyoung.
2010-06-04 20:19:39 +00:00
jmmv 727dd8cd9e Simplify build of shell-based test cases: atf-compile is gone. 2010-06-04 08:35:09 +00:00
joerg 2d399c649e Needs additional single quotes to keep the double qoutes. Magic... 2010-06-03 10:08:34 +00:00
joerg 826b0b1f17 XORGVERSION should be a single quoted expression as it represents a
single argument for .TH
2010-06-02 19:40:12 +00:00
joerg e4c9126b4d Install mdocml's default CSS as /usr/share/man/style.css. Switch HTML
man pages to use mandoc unconditional as it gives reasonable output for
all man pages, not only a subset of mdoc(7).  Use the newly installed
style.css for formatting and produce hyperlinks for .Xr.
2010-06-01 23:29:09 +00:00
mrg 9a93ccfecc add / retire some xf86-video drivers. 2010-05-28 06:24:59 +00:00
njoly 9a6aefa72e Small typo. 2010-05-26 14:52:10 +00:00
uwe 94642857bf bsd.subdir.mk - don't mention "make subdir" where subdir is any
directory listed in ${SUBDIR} as ${dir}: all-${dir} alias was removed
from 11 years ago (revision 1.31)

PR bin/43356
2010-05-26 01:10:10 +00:00
uwe 869e556be3 Fix typo in comment. 2010-05-26 00:48:15 +00:00
veego 7f287d45d8 Remove a / between a ${DESTDIR}${X11USRLIBDIR} which would result in a
double /
2010-05-23 21:23:59 +00:00
lukem 0aad54fe04 Support MKDEBUG for shared libraries. 2010-04-27 14:32:14 +00:00
lukem 781e18114c fix comment (so bracket matching works as intended) 2010-04-26 03:46:00 +00:00
lukem 6405962d8a When extracting separate debug symbols with MKDEBUG, there's no need
to leave the original file unstripped...
2010-04-24 07:57:04 +00:00
joerg 22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
pooka 1ceaafde2e dial . for operator 2010-04-21 16:09:11 +00:00
christos 21003f688c don't try to build PIE binaries when LDSTATIC 2010-04-21 15:07:20 +00:00
pooka 11815d9c1d Depend ioconf.c on config (if doing a USETOOLS==yes build).
While this is not strictly sensible, it keeps UPDATE=1 builds
rolling if I change some aspect of config (such as adding the
cfdriver/cfattach lists now).  This is going away eventually.
2010-03-25 20:37:36 +00:00
pooka 4f4d4d6450 deal with ioconf.h 2010-03-22 14:42:01 +00:00
mrg a394b5afe8 set MACHINE_CPU to powerpc for MACHINE_ARCH of powerpc64.
from pooka via PR#43021.
2010-03-22 03:35:26 +00:00
pooka 40bb87a667 Move make snippets for use with config(1) ioconf functionality from
rump into share/mk.  This is to make it useful for all kernel
builders.

Note: we have waaay too many weird and wonderful ways of making
kernel code (monolithic kernel, modules, rump).  There should be
only one way to build kernel code instead of a maze of twisty little
.mk files, all not quite alike.  When that is fixed, this snippet can go
into the more generic .mk file.
2010-03-21 06:55:44 +00:00
christos 25f9b712f0 don't make links to directories that don't exist 2010-03-13 22:05:49 +00:00
mrg 4accc351a3 revert the previous:
- the default for ZFS on x86 already was "yes".

- this left MKZFS unset for other platforms, which breaks the build.
2010-03-13 19:31:51 +00:00
haad ef69f4224c Enable MKZFS by default on i386 and amd64 now when it compiles. 2010-03-13 17:07:28 +00:00
he 6017724458 Fix the setting of MKZFS for amd64 and i386, so that the set lists
match up again, and it matches with the comment a few lines above.
2010-03-08 09:32:18 +00:00
darran 61fb3737eb DTrace: Add CTF generation to the make framework. Only enabled when
MKDTRACE=yes.
2010-03-02 20:49:18 +00:00
joerg fa1daced3e Make lintmanpages not depend on MKMANDOC, it is built by default now.
Use -Wall to increase usefulness.
2010-03-01 22:00:07 +00:00