Commit Graph

387 Commits

Author SHA1 Message Date
uebayasi 51495ed0e7 Install "obsolete" files only when necessary. 2011-02-16 16:22:13 +00:00
uebayasi 0fe7ea2a0f Generate MAKEDEV only when really necessary. Write dependency correctly. 2011-02-16 16:20:06 +00:00
uebayasi d47c36d993 To install 0-sized files, check if the destination already has one.
This avoids unnecessary updates (== timestamp changes in METALOG).
2011-02-16 15:52:51 +00:00
christos 4f848eee4b `` -> $() 2010-12-27 03:38:52 +00:00
njoly f23e744cdd Make tests set generation optional, skipped for MKATF=no build. 2010-12-08 23:56:01 +00:00
tsutsui 807849c28e Change distribution filename for KERNEL_SETS kernels with KERNEL_SUFFIXES
in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/
from "netbsd.aout-GENERIC.gz" to "netbsd-GENERIC.aout.gz" or so
as src/distrib/common/Makefile.mdset does for mdroot ramdisk kernels.
2010-10-04 13:55:39 +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
roy 89d790bdbe Move the emergancy terminfo database from /root to /rescue. 2010-02-05 09:44:23 +00:00
roy 70f7be699b Install a minimal .terminfo and .terminfo.db in /root.
This allows terminfo to be used when /usr is not available.
Fixes PR misc/6879.
2010-02-04 21:01:16 +00:00
dholland fd438cf632 Fix previous: use correct mode as well as owner/group.
My bad. PR misc/41544.
2010-01-12 04:44:06 +00:00
dholland 39f1d3fefb Fix installation permissions of /var/db/locate.database as per PR misc/41544. 2010-01-10 06:13:25 +00:00
he 66597865fb Move the test for evbppc out of sets.subr and into bsd.own.mk, to
decide whether to make kernel modules: set MKKMOD to no for evbppc.
Use this in etc/Makefile to decide whether to do the "modules"
obsolete sets.  Move the ./var/db/obsolete/modules entry from the
"mi" to the "module.mi" file set.

Fixes the build for evbppc.

Discussed with uebayasi@
2009-12-11 15:22:33 +00:00
pooka 4098e2664f Install obsolete lists for modules. 2009-12-05 19:14:39 +00:00
uebayasi d166c4bf28 Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
2009-11-30 16:13:22 +00:00
tsarna a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +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 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
mbalmer 70d654f756 Document recent gpio(4) changes and introduce a new config file for GPIO.
Integrate with the startup scripts in /etc/rc.d.  Introduce new variable
"gpio" for /etc/rc.conf.
2009-07-25 16:20:10 +00:00
mrg 1cb295e0ed what was usr.bin/ssh is now openssh/bin, not openssh/bin/ssh. 2009-07-21 00:48:29 +00:00
mrg c0b992d345 enter the right bin/ssh subdir for "configinstall".
HI CHRISTOS!
2009-07-21 00:28:35 +00:00
tron 7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +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
joerg ca7a1bd3eb Retire audit-packages.conf, it has been obsoleted by the merge of
pkg_install-20090201.
2009-02-26 19:43:39 +00:00
sketch bb0a3b607e Use awk and grep host tools where required. 'build.sh release' now works
on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
2009-02-25 20:38:30 +00:00
jmmv 0cdcf7cea6 Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it.  0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
cube 2a5b955aa9 Let the build descend in rc.d during "build" and not just use it for
"distribution".
2008-12-05 18:52:59 +00:00
ad 0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
mrg 9c8df5ee67 - retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful
2008-11-09 23:02:28 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
lukem d6e6997551 Improve support for MKXORG!=no to enable builds into external/mit/xorg.
This will be mutually exclusive to MKX11!=no.
2008-08-28 07:21:49 +00:00
joerg d249112fae Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.
2008-07-27 19:31:02 +00:00
dyoung d4ef85aece Add MKNVI to RELEASEVARS. Thanks lukem@. 2008-07-23 01:57:19 +00:00
joerg e4890f8abd Hook dhcpcd into build. 2008-05-24 19:39:30 +00:00
wiz d07f1e1727 Sort variables. 2008-05-23 13:06:40 +00:00
lukem 1b6b1060cc MKLDAP, USE_LDAP 2008-05-22 14:09:27 +00:00
gdt 6231d15c35 Remove gzipped kernel file just before running gzip >, avoiding
permission errors in unprivileged builds using a pre-existing
releasedir.
2008-05-07 21:30:26 +00:00
ad 928d6a0983 Give i386 and amd64 a default boot.cfg. 2008-04-30 16:48:53 +00:00
lukem a6de26fe1b add USE_* to params 2008-03-22 12:02:59 +00:00
lukem 0068a17f43 show RELEASEMACHINEDIR in params 2008-03-16 07:25:57 +00:00
njoly 8bb343aabb Add tests to the obsolete files list to be installed. 2007-11-21 16:23:29 +00:00
minskim 315b1fb6f5 Remove MKUUCP from RELEASEVARS. It is no longer used in src. 2007-11-19 18:27:27 +00:00
jmmv ce8090f1b4 Add the atf configuration files
This change adds the directory used by atf to look for its configuration
files.
2007-11-12 15:02:57 +00:00
adrianp 3e46582d49 Add a default audit-packages configuration file for audit-packages
(part of pkg_install-20070714)
2007-07-14 19:53:52 +00:00
xtraeme f48b67ffaf Forgot to add envsys.conf. 2007-07-01 11:04:31 +00:00
bouyer dcb3400385 Sync ISO target directory and name with distrib/common/Makefile.bootcd:
target directory is ${RELEASEDIR}/iso/, named ${MACHINE}cd.iso by
default.
2007-04-11 20:46:09 +00:00
bad ae77ae0ca1 Recent versions of mkisofs (I've tested starting with cdrtools-2.01.01a20)
can't find the el-torito boot image with the old syntax. This can be
fixed by removed the leading "i386/" from the -b argument, but then
the mkisofs from the current cdrtools-2.01 package won't find the boot image.

Change the graf-point specifications so that a trailing / terminates
the grafted directories. This way both versions of mkisofs can find the
boot loader.
2007-03-16 21:12:17 +00:00
bouyer 144d1a5c9c Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
2007-03-06 21:59:40 +00:00
apb 68723a5b5f Remove MAKEDEV.subr. This removes the risk of third party scripts (or
human procedures) breaking because they assume it's enough to copy
MAKEDEV fom one place to another.

Let MAKEDEV return after defining shell functions but before doing any
real work, if MAKEDEV_AS_LIBRARY is set.

Let MAKEDEV.local load MAKEDEV as a function library via
"MAKEDEV_AS_LIBRARY=1 . MAKEDEV".
2007-03-03 06:36:00 +00:00
apb 142606111b Provide a new MAKEDEV.subr file containing utility functions for
use by both MAKEDEV and MAKEDEV.local.  This allows MAKEDEV.local
to accept the same command line arguments as MAKEDEV.

The installed MAKEDEV.subr is generated from MAKEDEV.subr.tmpl.

Replace the licence on MAKEDEV.local with a NetBSD licence, since I
rewrote the entire file.

Reviewed by christos and agc
2007-02-26 20:44:03 +00:00
rpaulo ea9a233098 Add login.conf. 2007-02-04 14:44:34 +00:00