Commit Graph

5141 Commits

Author SHA1 Message Date
apb 11bfaf8d26 Add comments about the intended use of each type of metadata message. 2014-04-09 12:38:09 +00:00
khorben cf10990721 Allow the extra command "reload" to dhcpcd's rc script, letting it reload
its configuration and rebind directly via the script.

LGTM roy@
2014-04-06 17:13:57 +00:00
uwe 29b3420ba5 Drop sci0 from "floppy" case too. 2014-04-01 01:10:14 +00:00
joerg bd0f2dba11 Landisk has no sci0. 2014-03-31 20:24:09 +00:00
martin aad6ef8bb5 Bring back the playstation2 port - now that a toolchain for it is
available again.
2014-03-31 11:25:47 +00:00
matt 880ecf60c1 Update list of kernels 2014-03-30 16:00:48 +00:00
ozaki-r 1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
mrg ac142a8081 merge freetype 2.5.3. 2014-03-20 08:57:48 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
mrg c23d29ea55 updates for libX11 1.6.2, dri3proto and presentproto, and fix
the libXrender build.
2014-03-16 23:25:15 +00:00
christos 0ad077175a Add some states not handled before. XXX: are both states in the | cases
possible?
2014-03-13 00:50:55 +00:00
mrg f91425b631 turn off kernels that don't exist yet. 2014-03-10 00:50:12 +00:00
hkenken cf5baf63ad modified NetWalker kernel config
* add ARM_HAS_VBAR, FPU_VFP etc.
2014-03-07 12:35:14 +00:00
matt 58e1ec0404 Add MKCOMPAT glue for powerpc64 2014-03-07 04:18:06 +00:00
matt 4e82be1a79 Add BE version of cubieboard. Plus hf too. And hf for BCM5301X. 2014-03-01 01:51:01 +00:00
matt 5ad571664b There are no powerpc64 in evbppc currently. 2014-02-28 06:10:54 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
jmmv dc7b86517b Adjust directories for atf 0.19 import. 2014-02-08 19:45:51 +00:00
apb a452d8c9e2 Pass the -n flag to gzip invocations.
This prevents it from embedding a timestamp in the output.  We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
2014-01-27 21:37:17 +00:00
apb 36ef98548b Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
apb 66d774c5de Add BUILDSEED to RELEASEVARS. 2014-01-26 17:33:53 +00:00
apb 0c9e596c4b Add MKREPRO and MKARZERO to the list of variables in RELEASEVARS. 2014-01-26 16:53:00 +00:00
martin 69dbea1fd5 Add raid disk nodes for the install images 2014-01-24 23:59:12 +00:00
spz 8797028bc7 - make etc/rc.d/wpa_supplicant create directory /var/run/wpa_supplicant
on startup
- create share/examples/wpa_supplicant/wpa_supplicant.conf and make it
  known in the relevant places. Improvements welcome, my point was
  ctrl_interface and "you seriously want this"
2014-01-23 07:26:50 +00:00
tsutsui 65bc7e4f84 Create a bpf(4) device node on ramdisk for DHCP client. 2014-01-22 11:46:31 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
martin 363ab82ea5 Backout previous, now that the makefile glitch causing population of
the tests/opencrypto directory has been fixed
2014-01-15 10:21:08 +00:00
martin 6d31d85c48 Add usr/tests/opencrypto 2014-01-15 08:21:44 +00:00
pgoyette 83ebdf3067 Create new directory for the opencrypto tests 2014-01-14 18:07:20 +00:00
apb 28b7823068 Don't try to use server-specific "restrict" settings;
they do not work when the server is specified by domain name
and the name is associated with multiple IP addresses.

This also means that uncommenting "restrict default ignore"
will not work, so remove the comments suggesting that.

Also edit some other comments.
2014-01-14 13:23:46 +00:00
gson 26125ae798 Add some minimal tests of vmstat(1), to serve as regression tests
for PR bin/44518.
2014-01-07 16:47:13 +00:00
apb 97dd2db015 Another comment change, missed in previous commit. 2014-01-06 11:26:06 +00:00
apb d337f0a2a1 Attempt to improve comments about how to choose servers,
and about what "tos minsane" does.
2014-01-06 11:25:03 +00:00
apb dcb8a94c15 Add several "restrict" lines to the default ntp.conf, with comments. 2014-01-06 11:21:34 +00:00
joerg 6d322f2f45 Update LLVM family to 3.5svn r198450. Interesting changes include:
- Improvements in the SPARC64 support
- ARM backend can almost build a full NetBSD/EABI system with the
  integrated assembler
- PowerPC grows disassembler support
- LLD supports copy relocation, beginning of MIPS backend
- New diagnostic for use of bool expression as size_t argument for
  strncmp and friends
2014-01-05 16:38:05 +00:00
christos 270d83b8cd put a comment for mode7 2013-12-28 03:18:39 +00:00
apb a5d67b01f7 Remove empty directory /usr/share/zoneinfo/Mideast.
The files that used to be in this directory were removed in tzdata2013i.
2013-12-26 20:14:38 +00:00
dholland 18caf3b85f Fix _crunch entries, which accidentally got changed from compression
operations to decompression operations nearly two years ago. They are
used only by catman(8), which we don't run any more, but they ought to
be correct anyway.
2013-12-22 01:18:28 +00:00
martin eabaad824f Add a /var/shm directory (to be used for shm_open and friends) 2013-12-01 09:13:54 +00:00
joerg bb95642efb + /usr/include/c++/experimental 2013-11-28 14:19:18 +00:00
dholland 4741720ca9 Replace the comment on this file. It appears to date back to CSRG days
and in particular was clearly last edited before nsswitch.conf existed.
2013-11-24 07:20:01 +00:00
spz acaf72ec02 Introduce a variable for security.conf, default empty, to list users
whose home is (allowed to be) owned by another user.

It's a separate variable and not just check_passwd_permit_dups so I can
make security shut up about my uucp users.

Fixes the second half of PR misc/36063
2013-11-06 19:37:05 +00:00
spz 0d7af235a1 having more than one line with the same group name and gid is not only
allowed, it's even recommended for groups with lots of members, so
do not warn about duplicate group name lines if the gid is the same
2013-11-06 19:30:20 +00:00
mrg f50856c5c4 add g++ subdirs for GCC 4.8. 2013-11-06 00:53:03 +00:00
apb 44f40b000e HOST_SH is defined in bsd.sys.mk, so we need to include that
as well as bsd.own.mk.  Revert previous use of ${HOST_SH:Ush}.
2013-11-01 11:09:05 +00:00
martin 5df913ae6f If HOST_SH is not defined, use sh to parse osrelease.sh 2013-11-01 10:00:51 +00:00
apb f644e87962 Reinstate .include <bsd.own.mk>. Without this, many variables are undefined.
Define DISTRIBVER in the same way that src/etc/Makefile defines it.
Without this, "make params" in src/Makefile uses an undefined value.

Remove a spurious ">&3".
2013-11-01 06:22:24 +00:00
apb b56cbda8ef Instead of stupid postprocessor tricks, use redirect tricks
to ensure that the output from ${PRINT_PARAMS} contains only
the desired information without any debugging noise.
2013-10-30 15:15:12 +00:00
mrg fc332e835a add ./usr/include/gcc-4.8 directory to the build. 2013-10-30 02:22:51 +00:00
mbalmer 7f3fe544bc create a lua device node for lua(4) and luactl(8) 2013-10-28 18:33:20 +00:00
mbalmer 8f1abb570c add 3l/3lua and 9l/9lua man page sections 2013-10-25 08:19:46 +00:00
mbalmer c7d5cf1a03 define a place for Lua man pages 2013-10-25 08:15:14 +00:00
mbalmer 2261aa416c _build rule for man pages with a .<number><letters> extension (.3tcl, .3am, .3lua, etc.) 2013-10-25 07:59:55 +00:00
christos 680050e3fa add new g++ directories 2013-10-24 19:06:01 +00:00
mlelstv cb0e0b6aaa add missing chroot directories for rtadvd 2013-10-19 22:35:02 +00:00
njoly 9329703b07 Add HAVE_LLVM/HAVE_PCC, MKLLVM/MKPCC to RELEASEVARS. 2013-10-18 11:42:59 +00:00
christos a5548de651 silence is golden 2013-10-16 14:50:43 +00:00
jdc b147a05074 Add sysmon (required for the envsys framework). 2013-10-15 19:22:42 +00:00
christos 8f0c389494 wait until our local address is available before configuring. 2013-09-12 19:52:50 +00:00
matt a50628ca37 Add CUBIEBOARD 2013-09-08 16:34:06 +00:00
prlw1 dc76b0b003 Add defaults for pkg_info and pkg_admin variables in case pkgpath.conf
is not installed.
2013-09-08 08:19:40 +00:00
tron 31b8d2c593 Re-add "/usr/include/gcc-4.1". It is only obsolete on ports that use
GCC 4.5.x. Explanation provided by Thomas Klausner in private e-mail.
2013-08-22 07:14:38 +00:00
tron fcf7754532 Remove more obsolete directories:
- /usr/include/gcc-4.1
- /usr/share/locale/no_NO.ISO8859-1
- /usr/share/locale/no_NO.ISO8859-1/LC_MESSAGES
2013-08-21 20:52:45 +00:00
tron c46a162a28 Remove obsolete directories "/usr/share/locale/no_NO.ISO8859-15" and
"/usr/share/locale/no_NO.ISO8859-15/LC_MESSAGES".
2013-08-21 20:22:35 +00:00
matt 3c46e5578f if softfloat, Install a ld.so.conf to use libc_vfp.so if there is a VFP on
evbarm (no other arm ports a CPU supporting VFP).
2013-08-19 16:34:29 +00:00
jmcneill fbfe999cbc Instead of trying to pass two kernels to beagleboard.conf, pass one and
derive the path to the second from the first.
2013-08-19 04:27:22 +00:00
jmcneill 0b185da1b6 Try to pick up the right location for BEAGLEBONE and BEAGLEBOARD kernels. 2013-08-17 13:08:16 +00:00
joerg d1c1419eb8 Provide UTF-8 variants for all existing locales. The data is derived
from the Unicode Common Locale Data Repository.

Convert non-UTF-8 versions from the UTF-8 version using iconv and some
ad-hoc transliterations using sed.

Use EUR as currency_symbol in ISO8859-1.

Invert the Norwegian handling. no_NO is an alias for nb_NO as the latter
is used e.g. in CLDR.

Provide the Serbian locales in both Cyrilic and Latin script versions.
The alias is choosen based on the character set for the non-UTF-8 case
and Cyrillic is the default for UTF-8.
2013-08-11 22:09:40 +00:00
dholland 2f193ecc6c more dark ATF rituals are required 2013-08-11 03:53:12 +00:00
matt 8bf9d972aa fix another typo 2013-08-07 20:57:22 +00:00
matt 5878e8510d Fix a typo 2013-08-07 06:09:32 +00:00
matt 103be4d547 Need to separate BE MACHINE_ARCH so that armv7 can be excluded. 2013-08-06 17:53:55 +00:00
matt 7732e16eb9 Simply and deal with all the various earm MACHINE_ARCH variants 2013-08-06 05:57:37 +00:00
soren 57d8a38cf6 Some UMTS/LTE USB modems have as many as five tty instances and the
useful ones that understand AT commands tend to be enumerated last,
so bump up the default number of ttyU device nodes.
2013-08-03 16:07:35 +00:00
kefren ff6f2bd928 Add a couple of basic IP/MPLS forwarding tests 2013-07-19 04:00:40 +00:00
matt c9855651f8 Add stub port for evbcf which has enough to do a distribution build. 2013-07-18 22:08:59 +00:00
christos 8fd4793004 PR/48061: NAKAJIMA Yoshihiro: wrong description about bzip2's suffix 2013-07-18 13:10:50 +00:00
roy d87d6793f0 Add _rtadvd user and group.
Add a chroot dir for the _rtadvd user.
Drop privs to the user _rtadvd after acquiring our socket.
When rc.d/rtadvd starts or reloads, the rtadvd config file is copied
into the chroot before starting or reloading rtadvd itself.
Create a symlink from /var/run/rtadvd.dump to the chroot

Inital idea from OpenBSD patch rtadvd.c r1.36
2013-07-09 09:34:58 +00:00
roy e3bb11dade Add a hack to fix the dhcpcd rc.d script to work with a single
interface specified in dhcpcd_flags in rc.conf(5).
Fixes PR bin/43490
2013-06-25 13:02:53 +00:00
jakllsch a78ff5d27c Use TOOL_GZIP in mkimage, and pass the TOOL_GZIP into it. 2013-06-16 13:47:42 +00:00
christos aa3896734e if ipsec_flags is given, treat it as an interface name and change @LOCAL_ADDR@
to the IP address for it. This makes dynamic addresses work during autoconf.
Also while here in restart, re-use start and stop instead of duplicating them.
2013-06-14 16:37:55 +00:00
mrg 0fe53d7fc9 remove xorg directories now marked obsolete. 2013-06-10 05:09:34 +00:00
spz d08fd20449 fix narn-names -> mollari
add ecdsa keys (in many cases, pre-emptive strikes)
2013-06-07 16:44:17 +00:00
mbalmer 542b174b57 Move _gpio gid below 100 per mrg's request. 2013-06-07 06:35:11 +00:00
joerg 7dfe13f608 Update for Clang 3.4. 2013-05-28 19:10:16 +00:00
mbalmer 199f668519 Rename the 'gpio' group to '_gpio' as new group names should start with an
underscore.  While here, fix the awk script to properly expand such group
names.
2013-05-20 11:37:02 +00:00
mbalmer d84ba6e3bc Add a group 'gpio' and create gpio(4) device nodes under /dev with
mode 664 and group ownership set to 'gpio'.  This allows controlled access
to specifically enabled gpio pins to members of the gpio group.  See
gpioctl(8), and, gpio(4) for details.
2013-05-19 16:09:04 +00:00
yamt 8782935dec try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
tsutsui 48ffade9e8 Add an entry for scif0 serial. 2013-05-08 15:14:27 +00:00
tsutsui 829ceb66b9 Make sure to create serial device nodes (scif0 and sci0). 2013-05-08 14:59:41 +00:00
agc a3a6189341 Fix typo in previous 2013-05-01 15:57:44 +00:00
agc d7199a4b01 Install pkgpath.conf in /etc - part of fix for misc PR/47645 2013-05-01 15:55:53 +00:00
kiyohara 4aba7d3a0d Support to build for epoc32 userland. 2013-05-01 13:11:59 +00:00
agc 1410cf30c2 Fix for problematic paths in /etc/daily and /etc/security reported in
PR/47645.

Add a separate file which contains the paths for the pkg_admin and
pkg_info utilities. This is called /etc/pkgpath.conf (to distinguish it
from pkg.conf).

Thanks also to Edgar Fuss for the sanity check.
2013-05-01 05:36:25 +00:00
mbalmer 8ac2e441e7 Add sample code to suppress copyright message on interactive logins. 2013-04-30 21:03:43 +00:00
tsutsui fb2f15afec Fix yet another "openpty() failed" error during sysinst.
Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.

We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.

Should be pulled up to both netbsd-6 and netbsd-6-0.
2013-04-28 08:08:03 +00:00
joerg ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
matt 12dfab37e0 Add MKCOMPAT support for earm 2013-04-27 07:59:09 +00:00
christos 9f57c06d41 - read the root keys from our file
- explain what happens if we get clock skew
2013-04-25 20:28:05 +00:00
christos 2bc201008f Provide the root keys for dnssec and advise on how to make this work.
XXX: pullup-6
2013-04-25 17:02:29 +00:00
isaki 261f2631c7 Add powerd=YES in default. It's recommended for a power switch on x68k. 2013-04-21 08:47:28 +00:00
christos a33513dc62 don't attempt to create interfaces that exist and don't hide errors. 2013-04-20 18:24:18 +00:00
rkujawa cb2a012804 Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.
Obtained from Marvell, Semihalf.
2013-04-20 11:41:51 +00:00
skrll 5441b5c8c7 Match all the arm machines to get the majors.arm32 file 2013-04-14 13:47:37 +00:00
skrll 79d4c5e554 Find the right majors files for earm* 2013-04-12 12:30:18 +00:00
martin e290c24aa3 Add a makedisk_p12high, used by VAX now after unbumping MAXPARTITIONS from
16 down to 12.
2013-04-11 19:13:46 +00:00
christos 0321fc22c0 add event2 2013-04-11 17:51:04 +00:00
uebayasi 434b2461fb Don't print warning even if mkisofs is not found. 2013-04-06 13:00:31 +00:00
martin 3357f1920b It helps being able to read - move if_athn entry to the proper directory 2013-03-30 18:14:50 +00:00
martin a809000618 Add if_athn firmware directory 2013-03-30 17:31:54 +00:00
jmcneill 6d5c5ede57 create audio devices 2013-03-24 14:03:54 +00:00
he aa6ebcd0e2 Add KUROBOX_PRO as an EVBARM_BOARDS member. 2013-03-23 11:51:47 +00:00
christos 1386c00816 new test directories 2013-03-21 19:17:51 +00:00
christos bbce2f06df PR/47678: Dr. Wolfgang Stukenbrock: remove local iscsi entry which conflicted
with the iana assigned one. This port has been assigned to iscsi-target.
2013-03-21 17:45:03 +00:00
mlelstv 77e3515ae2 fix ALL_KERNELS handling 2013-03-21 15:16:43 +00:00
garbled 4daade7385 Add a new installer image for Raspberry PI to evbarm
Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.
2013-03-19 22:16:52 +00:00
mlelstv b36c60d9c0 Handle ALL_KERNELS selection 2013-03-17 12:19:57 +00:00
christos 801939b819 fix typo 2013-03-12 20:22:00 +00:00
christos 36d75e6825 new directories for compat npf 2013-03-12 20:01:55 +00:00
christos 7026897f2b fix typo, from Henning Petersen 2013-03-11 23:17:34 +00:00
christos c9f0cc4510 mv npf modules to /lib 2013-03-10 21:40:05 +00:00
jmmv 055af6fa83 Record the value of MKATF and MKKYUA in /etc/release. 2013-03-09 14:12:08 +00:00
christos 774aa66633 add missing $, from Petar Bogdanovic 2013-03-08 14:32:12 +00:00
christos b50b975dbc PR/47630: Petar Bogdanovic: add ssh_host_ecdsa_key to /etc/mtree/special 2013-03-08 14:31:28 +00:00
jmcneill 12a7d7c6ad create /dev/vchiq 2013-03-08 12:33:25 +00:00
joerg e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
christos 5e078c9e58 missing comment 2013-02-28 03:04:12 +00:00
christos ef9b0fbc8a node for dtrace 2013-02-28 02:00:27 +00:00
jmmv 48b2f2c970 Add new directories for kyua-atf-compat. 2013-02-25 00:31:51 +00:00
jmmv 47840f72d0 Install a kyua.conf file that sets unprivileged_user to _tests. 2013-02-24 03:06:13 +00:00
jmmv edcb14a44e Install kyua-testers' distribution documents. 2013-02-23 14:58:11 +00:00
jmmv 89e4f17129 Register directories and files provided by kyua-cli. 2013-02-23 14:18:36 +00:00
christos af236c8c4f refresh from IANA 2013-02-22 03:42:06 +00:00
hans 93170f635e Use HOST_SH to run scripts. Makes mkimage work on SunOS. 2013-02-21 15:13:10 +00:00
skrll 178a6ef2ca Move INTEGRATOR_CP from EVBARM_BOARDS to KERNEL_SETS so an
INTEGRATOR_CP_INSTALL kernel isn't required.
2013-02-20 09:03:41 +00:00
skrll 5c97965224 Add support for the ARM Integrator/CP from Sergio López.
The code hasn't been tested on real hardware, but INTEGRATOR_CP config
is useful for QEMU which supports it.
2013-02-19 10:57:09 +00:00
jmmv dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
jmmv 7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv 8f212f1945 Move tests for examples from tests/examples to tests/share/examples.
This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
2013-02-16 12:44:25 +00:00
christos 87aeb26f19 Avoid // 2013-02-13 04:22:36 +00:00
jmcneill 73e86066b1 fix output filename for __mkimage macro 2013-02-10 22:03:49 +00:00
jmcneill 85a061f852 fix rpi kernel path, defer image building until after release target is done 2013-02-10 21:36:31 +00:00
christos fd70e2e194 avoid dup kernel 2013-02-10 20:25:56 +00:00
christos 6975538bda add beagleboard 2013-02-10 16:40:21 +00:00
christos 84874dc42c always use ${MKNOD} for consistency 2013-02-10 14:54:33 +00:00
christos 158210c439 pass more tools down. 2013-02-10 14:26:32 +00:00
christos 96add05603 Follow a different approach to install the kernel and compress the image. 2013-02-10 01:24:40 +00:00
christos f73dde4fda get the kernel from the release directory. 2013-02-09 20:47:06 +00:00
christos 02bfcabc8d merge back changes I undid 2013-02-09 18:59:19 +00:00
christos 8070b25e81 hook image building for rpi. 2013-02-09 18:49:55 +00:00
christos df473aee24 PR/47540: Felix Deichmann: DSA keys can only be 1024 bits. 2013-02-07 19:32:19 +00:00
matt 6c17c16f94 build the armv5t, armv6 and armv7 kernels for earm but only the v6 and v7
for earmhf.
2013-02-06 01:31:55 +00:00
matt 4c0c51981c Only include debug set obsolete set if MKDEBUG is not no 2013-02-05 16:39:26 +00:00
matt 2947c6f2d5 Add earmhf support 2013-02-05 07:34:07 +00:00
matt ea2a4e9bad Add debug to the list of OBSOLETE_FILES 2013-02-05 07:32:44 +00:00
tron b1d97a6429 Make custom "reload" target work. Before this fix it would have tried
to send a HUP signal to "wpa_supplicant" instead.
2013-02-01 13:29:33 +00:00
christos 80695a814b spwd.db should be 0600 (Brooks Davis) 2013-01-29 20:21:02 +00:00
apb 162b6b9919 The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.

This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.
2013-01-26 18:44:21 +00:00
joerg fa9d9d71df Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.
2013-01-23 15:02:52 +00:00
mlelstv e6e5cc51b8 Support a release build restricted to ALL_KERNELS. This file was missed
by the first commit.
2013-01-14 20:05:42 +00:00
tsutsui bf86f39b04 Add an entry for wscons ttyE0. 2013-01-14 09:23:45 +00:00
tsutsui a91aefab1f Tweak ramdisk devices.
- create sd2 and sd3 for external SCSI disks on LUNA-II
 - ipty (2 ptys) is enough for sysinst rather than opty (16 ptys)
2013-01-14 09:15:57 +00:00
prlw1 281a5e1fdb Add ppp=YES variable. Currently pppd(8) starts automatically if ppp_peers
is not empty. Adding a ppp variable allows the default peer to be set,
and ppp set to NO so that dialing can happen with /etc/rc.d/ppp onestart.
Default set to YES so that old behaviour is preserved.
http://mail-index.netbsd.org/tech-userlevel/2012/08/21/msg006656.html
2013-01-13 18:47:57 +00:00
riastradh 9dc19ed03b Nix `-b 1024' from ssh_keygen_flags in /etc/defaults/rc.conf.
No objections on tech-security:

http://mail-index.NetBSD.org/tech-security/2012/09/03/msg000548.html

The security of generating keys at boot remains questionable, but
this change makes that no worse.
2013-01-11 04:32:41 +00:00
skrll 5c014ba1cf Create a plcom0 device node for RaspberryPI 2013-01-10 13:38:37 +00:00
taca 43eb4b820e D.ROOT-SERVERS.NET changes IPv4 address. 2013-01-08 11:15:49 +00:00
christos 191ca062bf add a sync to make it less likely to boot with /etc pointing to nothing after
a crash.
2012-12-31 23:21:27 +00:00
christos 7c8b13934d better messages, more quoting. 2012-12-29 22:15:07 +00:00
spz 93a9300055 add entries built for MKDEBUG and MKDEBUGLIB to the set lists
Thanks to Hisashi T Fujinaka <htodd@twofifty.com> for pointing out the gap.
2012-12-18 22:45:12 +00:00
apb 448aa50d4c Reinstate the dirname invocations that were recently removed from
rc.d/random_seed.  The new dirname shell function provided by rc.subr
will be used, so it should work before the /usr file system is mounted.

This should fix a problem in which the fs_safe shell function failed when
passed the name of a file that did not exist.
2012-12-17 18:20:50 +00:00
apb 532fa0d9ae Add shell implementations of basename and dirname to rc.subr. They
are supposed to mimic basename(1) and dirname(1), except that they
are usable before /usr/bin is mounted.
2012-12-17 18:17:27 +00:00
apb c755e023f2 Avoid using programs from /usr/bin. This should fix PR 47326.
- no need for "dirname", because "df -G" can take a file name directly.
- replace use of "awk" with a shell while read loop.
- replace use of "stat -s" with "ls -ldn".
- no need for "tail" now that the use of "stat" has changed.

While here, also add some shell quotes and improve the grammar in a comment.
2012-12-14 18:42:25 +00:00
wiz 0450412e67 Revert previous.
At the least, it was committed with the wrong commit message.
2012-12-13 21:51:52 +00:00
roy 8c91938135 Add a pidfile and the reload command. 2012-12-13 15:51:17 +00:00
spz 0d6a8650f8 Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
2012-12-09 22:06:21 +00:00
prlw1 4d6ed13889 Make sure that ntpd creates a pid file for the rc machinery to work.
http://mail-index.netbsd.org/current-users/2012/11/19/msg021518.html
2012-12-04 16:38:40 +00:00
apb 3e31590ff0 Add src/etc/Makefile.params, containing the definition of the
RELEASEVARS variable, and commands related to printing the values of
the variables whose names are in RELEASEVARS.

Add an awk script to remove noise printed by "make -j" or high levels
of MAKEVERBOSE, so we get only the variables names and values.  The
values are escaped so that variables containing embedded newlines,
quotation marks, and backslashes, are passed through safely.

Adapt src/etc/Makefile and src/Makefile to use the new ${PRINT_PARAMS}
command defined in src/etc/Makefile.params.

Now ${DESTDIR}/etc/release and the params file in the top-level
.OBJDIR should never contain unwanted noise, even after a build with
MAKEVERBOSE=4.
2012-12-03 13:53:28 +00:00
njoly a23dfbdc09 Adjust for usr/tests/lib/libc/c063 debug entries. 2012-11-23 08:36:47 +00:00
pgoyette 7feb2e8135 Also give install a place to put the atf tests for netpgpverify 2012-11-20 15:41:43 +00:00
pgoyette 7e4aef559e Fix the build - give install a place to put verify.h ! 2012-11-20 15:02:44 +00:00
manu a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
uwe 00ed5c3931 We don't need to include <bsd.prog.mk> to install a few config files
just <bsd.files.mk> and <bsd.links.mk> is enough.

Noticed because <bsd.prog.mk> sets LINKSMODE to BINMODE and that does
the wrong thing at least for unprivileged builds.
2012-11-17 23:08:38 +00:00
njoly a02a44ee48 Adjust for tests/lib/{libbpfjit,libsljit} debug entries. 2012-11-12 09:03:52 +00:00
alnsn 062bf78a84 Build libbpfjit test to the build. 2012-11-11 17:41:31 +00:00
apb 5f5f1a05cc Cause /etc/rc.d/random_seed to be the first script to run
after mountcritlocal.  Everything else that runs after
mountcritlocal depends directly or indirectly on bootconf, so
making random_seed run before bootconf has the desired result.
2012-11-10 15:10:22 +00:00
apb e36b9f4a97 Make /etc/rc.d/ttys run after /etc/rc.d/bootconf.sh,
because bootconf could conceivably change /etc/ttys.
2012-11-10 15:08:36 +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
apb acfd2b168d motd needs to be re-generated when DISTRIBVER changes, so change he
Makefile to use the new ${_NETBSD_VERSION_DEPENDS} mechanism defined in
bsd.own.mk.

Rename the default motd file in the source tree from "motd" to
"motd.default", because otherwise it would conflict with the motd file
that is now created in the .OBJDIR.
2012-11-04 11:09:14 +00:00
apb 040e0f875d Add DISTRIBVER to the list of variables under RELEASEVARS. 2012-11-04 11:04:10 +00:00
yamt a015b2b8c4 print something before sleeping so that a user like me can see
what the mysterious pause is.
2012-11-02 08:36:13 +00:00
mrg 578c31536d catch up with npfctl moving to /sbin.
untested, but i guess so was the move itself ;)
2012-11-01 06:06:14 +00:00
apb 410421ee21 Avoid using glob patterns that might match enough files to give
"Arg list too long" errors.  Change the "find" command to use
"-exec ... +" instead of "-exec ... \;" to make it more efficient.
2012-10-24 21:23:55 +00:00
jakllsch d5c3f2d0b1 Add the next three /dev/pci nodes.
Marvell Orion already exposes two.
2012-10-13 01:13:59 +00:00
wiz b1203a9851 Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2012-10-06 15:33:59 +00:00
christos d60db5e056 PR/47024: Taylor R Campbell: handle "keys" directory and directory
permissions in general
2012-10-01 18:46:43 +00:00
chs 35b7579ba4 add more sd and pci devices.
remove duplicate ch0.
2012-09-23 01:15:17 +00:00
bouyer f2b31f39d0 Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
2012-09-19 21:24:28 +00:00
skrll 2d427fcfd7 Add ./usr/libdata/debug/usr/lib/npf for rmind 2012-09-18 15:12:31 +00:00
msaitoh 9ee81fc63b - Add OPENRD.
- Compile BEAGLEBOARD_INSTALL.
2012-09-17 15:37:33 +00:00
rmind 94cf4e2062 Add /usr/lib/npf. 2012-09-16 16:15:29 +00:00
martin e8e9f65b79 New test directory for npf 2012-09-12 14:07:10 +00:00
martin 647d3a97c1 Make the "init" target create optys as well - those were removed from "all",
but we still need them in emergency setups and some install media.
Should fix PR install/46902.
2012-09-05 08:25:53 +00:00
matt 982f691177 Add BCM5301X 2012-09-01 02:03:35 +00:00
matt 47aef1fbf4 Add lots more ldN dkN
Add drvctl to md
2012-09-01 01:45:17 +00:00
wiz c9ea1856a7 Use new makemandb -Q flag to be really quiet. 2012-08-29 20:34:18 +00:00
christos 0ac85cc05d - fix manet alias to MANET; giving an alias with the same name is a no/op
- protocol 84 is defined for as ttp and iptm, merge the two entries since
  libc getprotoent() does not read the whole file and merge in the "files"
  implementation.
2012-08-28 07:53:45 +00:00
pgoyette 9f498223f2 Handle any reports of state changes for INDICATORs 2012-08-27 21:50:19 +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
christos 1ebd502870 Fresh from IANA 2012-08-25 11:14:33 +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
abs 6b4ba5789b Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
2012-08-18 00:50:37 +00:00
riz a727e4697d Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
2012-08-17 16:59:26 +00:00
abs 7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00
alnsn e7e64dcaa1 Build and install t_bpfilter. 2012-08-14 19:13:54 +00:00
christos 79aa9f3662 add fdpass directories 2012-08-13 11:17:43 +00:00
christos a0fa559338 Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.
2012-08-13 08:30:51 +00:00
christos ba9bed30be No need to specify nfsd flags anymore. The defaults DTRT. 2012-08-13 08:20:44 +00:00
matt 127e888ae2 Add earm/earmeb changes 2012-08-06 07:51:13 +00:00
christos 3351729a81 only announce fetching vulnerabilities file if we do. 2012-08-03 10:52:46 +00:00
kiyohara ba9c08beed Add ub to KERNEL_SUFFIXES. 2012-08-03 09:11:31 +00:00
matt 93654fca4a Add TWRP1025 and INSTALL_TWRP1025 2012-08-01 05:46:13 +00:00
jdf 45c7c05a4b Call `makemandb -f -q` instead of `makemandb -f`, as Edgar Fuß proposed for daily. 2012-07-31 12:11:50 +00:00
christos 778f4384b4 PR/46757: Check for fetch_pkg_vulnerabilities unset first. 2012-07-31 09:23:09 +00:00
jdf 890333e6c9 Call `makemandb -q` instead of `makemandb`, as proposed by Edgar Fuss on
tech-userlevel on 20th of July 2012, 12:38.
2012-07-30 22:13:38 +00:00
christos da43ca12af PR/46757: Edgar Fuß: Change default to pkg_vulnerabilities from NO to unset,
and make unset insted of NO to produce warnings, so that setting it to NO does
produce warnings (if it is inappropriate for the machine to warn about this).
2012-07-30 17:09:33 +00:00
christos e763a079db PR/46756: Edgar Fuß: Enable ignoring subdirectories in daily's find_core 2012-07-30 17:06:51 +00:00
njoly 734339d201 Add testcase for PR/46743 2012-07-28 16:08:39 +00:00
skrll b6cf8ec026 Add RPI to KERNEL_SETS 2012-07-26 20:50:44 +00:00
joerg c91c5846f7 + /usr/tests/usr.bin/nbperf 2012-07-22 21:04:44 +00:00
christos bdb2cc007b MKCRYPTO_{IDEA,MDC2} is no more 2012-07-14 04:01:11 +00:00
rkujawa fd0228cf47 Also build WSCONS kernel. 2012-07-09 18:12:11 +00:00
hans f9669c1ea4 It's msdos, not msdosfs. 2012-07-08 14:25:49 +00:00
reinoud 40d2eec2c6 Disable GENERIC_USERMODE kernel auto-build to avoid problems with the current
autobuild-system.
2012-07-04 13:54:20 +00:00
abs da54453f2c Ensure the ramdisk has bpf for dhcpcd 2012-07-04 08:03:08 +00:00
abs bd1c4855ff All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)
2012-07-03 21:49:55 +00:00
reinoud e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
kefren 690d3837f6 add ldpd rc.d script here too 2012-06-28 16:34:06 +00:00
macallan cb9b109d3a do as sparc64 does and switch the default terminal type to wsvt25 2012-06-26 02:05:43 +00:00
jnemeth 55657a2741 PR/46601 - Jim Bernard -- add support for rc_directories 2012-06-25 07:22:45 +00:00
abs 351c7b5d8f - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed
to mixing them in with the ra* disks, modelled loosely on how MSCP
  rx* floppies are handled
- racd* defaults to the same single iso9660 partition as cd*
- Cleanup config option handling slightly so any combination of ra*,
  rx* (and now raccd*) can be defined without build errors.
- Avoid ugly printf when disks have all zero disklabel magic number
2012-06-22 20:42:22 +00:00
jdc a1f0720d45 Add raid0 to init), in case we have /tmp on mfs. 2012-06-21 19:22:07 +00:00
pgoyette ef11cb81d1 Add directory for usr/include/dev/filemon/ 2012-06-21 04:30:04 +00:00
isaki b1d94e60d6 Remove unnecessary checkyesno which I commited before.
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
Should be pulled up to netbsd-6.
2012-06-17 02:13:13 +00:00
joerg c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
sborrill 25290a5966 Set commented out maxproc-cur and openfiles-cur default values to the actual
defaults from sys/sys/syslimits.h. Bump maxproc-max too to a typical value.
2012-06-14 09:28:02 +00:00
riz 49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
martin c2e51849fc Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
isaki f28248caf4 Allows you to disable it if makemandb=NO in rc.conf.
Thanks tsutsui@ and Yasushi Oshima.
2012-06-12 02:25:29 +00:00
martin c1004a7836 Add a basic test for infocmp - this would have cought todays terminfo
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
tsutsui ac2c5cf13a Invoke MAKEDEV.local via $HOST_SH (default ${HOST_SH:=sh}) instead of
hardcoded "sh" to avoid unexpected errors on cross build hosts in
src/distrib/common/Makefile.makedev etc.

Should fix PR toolchain/46537, ok apb@
2012-06-05 13:20:01 +00:00
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
christos 44184cf8bf PR/46521: Jim Bernard: remove duplicate -o 2012-06-02 15:52:24 +00:00
nonaka c9051a9fd6 Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares. 2012-06-01 13:19:38 +00:00
martin f1b12ec580 Add new test directory 2012-05-27 23:03:24 +00:00
riz 3debe0af82 Create /dev/iscsi0 as part of 'all'. 2012-05-26 00:36:15 +00:00
skrll bc77bb37cd Add a GENERIC.MP kernel config and add it to the build list so that it
gets build tested.
2012-05-23 08:19:40 +00:00
jruoho af62c3b4d8 Add a test case for PR kern/46463. From Richard Hansen. 2012-05-18 15:25:25 +00:00
gendalia 7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
tsutsui 0ffe024507 Update entries for proper PSX16550 com port device names. 2012-04-29 07:21:10 +00:00
tsutsui 058310c688 Create ttyC0 and ttyC1 for PSX16550 com ports. 2012-04-29 07:19:08 +00:00
riz a1da65bdfb Change root's default shell to /bin/sh, to provide a default which
has command line editing, tab completion, and other features users
have come to expect from a modern OS.

Discussed on current-users approximately two weeks ago.  Should be
pulled up for NetBSD 6.0.
2012-04-25 16:11:26 +00:00
jruoho c7358053ef Add a test case for PR bin/39546. 2012-04-19 18:51:35 +00:00
jruoho 0953dc8744 Add a test case for PR kern/46328 (tested naively with tcpdump(8)). 2012-04-14 12:21:45 +00:00
pgoyette df3c343ded Revert previous - k_helper3 does not get installed in a subdirectory.
Doing it this way will prevent us from creating the subdirectory on
non-MODULAR systems.  That would have caused a build break due to the
unexpected empty directory.
2012-04-14 02:48:44 +00:00
pgoyette 04ec1fc554 Create the directory for the helper program; hopefully fixes the build
break.

XXX It's odd that k_helper3 needs to have its directory pre-created, when
XXX k_helper, k_helper2, and k_uvm don't need it...
2012-04-14 00:14:22 +00:00
dholland 5ba1ea26d4 fix use of setenv in a comment, noted by "stu314" on freenode. 2012-04-10 19:02:30 +00:00
jruoho 23fb23b458 Gracefully shutdown upon reaching critical temperature levels. Prevents few
laptops (ThinkPad T61 and x61s, among others) from hitting the in-CPU reset.
2012-04-10 13:58:52 +00:00
christos 850b856e4a back out change that makes onestart work, to be committed at some other time. 2012-04-07 17:28:44 +00:00
christos 05e9a23818 give wedges to everyone 2012-04-07 17:22:10 +00:00
apb f932526a86 The error message when /var is not a file system chhanged from
mount: unknown special file or file system `/var'
to
mount: Unknown special file or file system `/var'
so match them both.
2012-04-07 16:39:32 +00:00
spz c6302b7410 change security so that there is a configuration value for the list of
users who will not be considered for duplicate uid check.
Seed it with 'toor' in defaults/security.conf.
2012-04-05 09:09:27 +00:00
jruoho 47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho 651e2c6948 Add regression tests for the 1990s bugs PR bin/3538 and PR bin/4841. 2012-03-27 08:16:33 +00:00
nonaka db4c04c984 Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices. 2012-03-25 00:11:16 +00:00
jruoho 327776ba0b Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
all fixed long time ago.
2012-03-20 06:18:33 +00:00
njoly d0df4f4862 Adjust to unbreak mkdebug build. 2012-03-19 11:16:36 +00:00
jruoho 3a662fafc9 Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago. 2012-03-19 07:05:18 +00:00
jruoho 1ff69b68e3 Add a case for PR bin/44973. 2012-03-18 12:40:42 +00:00
jruoho 0498995f9f Add a test case for PR bin/28126. Does not fail with GNU sed. 2012-03-18 10:12:30 +00:00
jruoho 840bc631fa Adjust set lists and mtree. 2012-03-17 17:16:41 +00:00
jruoho 2fb9c76e0d Adjust set lists and mtree. 2012-03-17 16:35:02 +00:00
martin 87ec685886 Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
2012-03-14 13:26:43 +00:00
jruoho 869580eb48 Adjust set lists and mtree. 2012-03-11 18:45:19 +00:00
he 7a324bfe36 Point first to 6.0 packages, then to packages for 5.1 or 5.0.
The latter have reduced usefullness in -current or netbsd-6 until
we have a compat50 package.
2012-03-11 17:28:47 +00:00
he 50de5b0f94 Can't use Bourne shell syntax here... (Even in comments, for PKG_PATH.) 2012-03-11 17:23:55 +00:00
christos c513c5c06e add awk test directory 2012-03-10 19:11:36 +00:00
shattered 4e4e8d92ec Quoting sys/dev/vme/files.vme commit log: "vmegeneric never saw the
light of the source tree.  After 7 years, I guess nobody missed it."

OK by wiz@
2012-02-25 10:55:27 +00:00
tron 7b6c3db855 Four instances of atabus(4) are not enough for modern systems as the
system will report one instance for each SATA port. Create eight
device nodes by default.
2012-02-25 09:19:30 +00:00
martin f7c0729136 Remove ttyv0 - there is no such device on this arch. 2012-02-23 09:35:44 +00:00
nakayama 81cae6fbb5 Avoid rebuilding services database every boot time.
The database has been renamed since the default was changed to CDB format.
2012-02-21 12:30:32 +00:00
joerg 0b4daf6018 Add entries for bzip2 and xz. 2012-02-16 22:57:19 +00:00
njoly 481c9a313f Do not create obsolete ./usr/include/quota directory anymore. 2012-02-16 22:22:27 +00:00
joerg 0ca3cd9bc0 Run makemandb with the normal 022 umask, not the restrictive 077. 2012-02-15 23:30:11 +00:00
jakllsch 8205b4eb47 Bump MV2120 SYMTAB_SPACE.
Add kernels variants for root on the primary partitions of "Drive 1".
Add MV2120 to evbarm release.
2012-02-14 15:09:02 +00:00
wiz eb3bd4bbdc Obsolete /usr/share/man/cat3f that never contained any files, nor will it. 2012-02-14 14:03:34 +00:00
martin 0ce98f42a7 Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libc
and kernel, but that is an implementation detail unrelated to the tests
themselfs.
Ok: releng
2012-02-13 21:03:06 +00:00
martin 19f52532ad Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
2012-02-11 23:31:22 +00:00
nakayama 6d92376f3a Remove "spif[0-9]*" case from ports other than sparc{,64} by using
%stty_chr% and %sbpp_chr%.

Fix "MAKEDEV: bpp: unknown device" error on sparc{,64}, which is
observed in PR toolchain/45620 but not the fix.

Approved by releng.
2012-02-10 20:54:11 +00:00
joerg e795c61763 Don't overwrite run_makemandb. The default is already set in daily.conf. 2012-02-09 13:38:44 +00:00
joerg 1c98a590d5 Include argument in command line 2012-02-07 23:15:33 +00:00
joerg 42e8e6b10a Kill one more invocation of tbl. Noticed by wiz 2012-02-07 21:13:34 +00:00
joerg 849ff56477 Switch to using mandoc for formatting man pages as new default.
Stop building catpages by default.
2012-02-07 19:33:19 +00:00
joerg 410d0f4380 Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
mbalmer 2e290c8200 For the sake of consistency with other scripts, output a full stop after the
word 'done'.  releng ok.
2012-02-07 10:36:01 +00:00
he 61f445c845 Fix spello for the INSTALL_P2020* kernel configs. 2012-02-04 10:32:11 +00:00
tsutsui 8e1b1dc1f4 Build INSTALL_C700 ramdisk kernel and install into releasedir. 2012-02-02 16:02:44 +00:00
matt fe1bf23cfb Build the INSTALL kernels for the P2020DS and P2020RDB 2012-02-01 21:56:40 +00:00
nisimura 2c31d574e0 add the missing backslash. 2012-01-30 09:48:11 +00:00
nisimura 77b78cdcff Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
2012-01-30 03:28:33 +00:00
tsutsui 7b5ba30568 Build additional C700 kernel (for now). 2012-01-29 10:36:33 +00:00
pgoyette d7450be19d Use the correct userid
Hello, christos
2012-01-28 05:32:49 +00:00
christos 493ac06fcb - add _tss user for tcsd, and needed directories for TrouSerS.
This is all unused as of now because the trousers is not connected to
the build yet.
2012-01-28 02:17:29 +00:00
christos 6fb39d18da add a tpm driver from bsssd.sourceforge.net 2012-01-22 06:44:28 +00:00
macallan be2c1ce5d3 use a more appropriate terminal type for ttyE* 2012-01-22 06:13:55 +00:00
macallan e911228872 enable powerd by default 2012-01-22 06:10:35 +00:00
tsutsui 3cf69f27e2 Add "live-image" and "install-image" target support to build.sh.
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00
isaki 43fa5f922b Clean up pow(4) (which I had removed in Nov 2011). 2012-01-21 02:52:50 +00:00
christos dc7062b2b8 use the join URL. 2012-01-16 22:20:45 +00:00
christos 3dfcf5c1ba Instead of using the general servers, use the ones allocated specifically
for the NetBSD project.
2012-01-16 22:12:41 +00:00
joerg 6bc6b7aae6 Now that the name of the ISO image is no longer stable, rename the
variable to make it possible to overwrite the default with
build.sh -V CDROM_IMAGE=...
2012-01-15 17:36:55 +00:00
jmcneill ce4646dd28 PR# install/44593: Please give release ISO's more meaningful names
Change release ISO filenames, what was once 'i386cd.iso' will now look
like 'NetBSD-5.99.60-i386.iso'.

ok snj@
2012-01-14 22:56:30 +00:00
skrll 53e460df81 Create device nodes for wscons, raid, wd, and sysmon.
PR/45783
2012-01-07 16:12:30 +00:00
pgoyette 5dd52f2538 Add directory for libcrypt tests 2011-12-27 14:51:15 +00:00
tsutsui b25081130c Add a default for isibootd(8). Pointed out by nonaka@. 2011-12-23 05:05:04 +00:00
mlelstv 149eeb0360 bootmenu doesn't parse "prompt" as part of a command list, it must
stand alone.
2011-12-21 14:33:13 +00:00
christos 19bd33b453 add fifofs 2011-12-21 01:58:46 +00:00
tsutsui a7f5216f76 Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8). 2011-12-17 13:37:49 +00:00
darcy 5bc4a2e2d4 Add option to include daily insecurity output in daily output.
PR bin/17029
2011-12-17 12:27:42 +00:00
tls 1177cf8de7 Use random seed file (saved entropy) from default location by default
in i386 and amd64 boot.cfg.
2011-12-09 06:50:36 +00:00
taca 093293c2cb According to /etc/rc.d/mdnsd, /var/run/mdnsd is owned by _mdnsd:_mdnsd
if it created.  So, set owner/group of /var/run/mdnsd.

It stop a useless warning in /etc/security.
2011-12-08 01:15:02 +00:00
jmcneill 0ce410dc8d default powerd=YES if acpi is present 2011-12-04 13:09:07 +00:00
tsutsui fd9f1e835b - create scsibus1 for external SCSI bus on LUNA-II
- also create sd1 sd2 sd3 cd0 cd1 st1 devices on all_md
2011-12-02 16:01:50 +00:00
sekiya 71d1bc8567 Enable SHEEVAPLUG for build. 2011-11-28 06:15:48 +00:00
tls aae64c95c0 Make the rndsave structure public -- the kernel will learn to read it
and sysinst may learn to write it (since, on some systems, most of
the keyboard input they ever get happens to be during install).  Fix a
couple of minor problems with the random_seed rc script addition.
2011-11-26 01:17:17 +00:00
tls 4924aa205a Load entropy at system boot (only works at securelevel < 1); save
at system shutdown.  Disable with random_seed=NO in rc.conf if desired.

Goes to some trouble to never load or save to network filesystems.

Entropy should really be loaded by the boot loader but I am still
sorting out how to pass it to the kernel.
2011-11-23 10:47:48 +00:00
darcy 77a099d5ff Allow pf flags to be specified in rc.conf.
Add default to defaults/rc.d as suggested by lukem@
2011-11-21 20:56:21 +00:00
tsutsui e60b9ec2c8 Add an entry for romcons. 2011-11-20 17:21:15 +00:00
tsutsui b05caac801 Create romcons device node. 2011-11-20 17:18:34 +00:00
mbalmer f6673607c2 Better wording. 2011-11-19 17:30:09 +00:00
agc a5b83a6434 grab major 203 for the iSCSI communications device (between kernel
driver and /sbin/iscsid)
2011-11-19 16:41:55 +00:00
jmmv ccfedeb2ca Register directories for the new asm examples and their tests. 2011-11-12 01:19:40 +00:00
apb bbc5f4100a The previous change made "nooutput -2" discard both stdout and
stderr, whereas it should discard only stderr.  This commit
should fix that problem.
2011-11-08 19:36:30 +00:00
apb 97355391d0 In the nooutput function, don't mess with file descritor 4
at the outer level; do it inside a subshell context so as not
to interfere with a different use of fd 4 by the caller.

This should fix PR 45590.
2011-11-08 19:11:19 +00:00
njoly 3f1f7fac1b +./usr/libdata/debug/usr/tests/lib/libtre 2011-11-07 13:39:54 +00:00
christos d85ad0736b add libtre test directories 2011-11-06 18:45:04 +00:00
yamt 85ccb2e960 update RELEASEVARS 2011-11-02 16:39:23 +00:00
apb bddc18304e Change the pattern for matching ttys to allow any number of digits,
(tty[0-9]*).  This should fix PR 45514.
2011-10-26 09:02:20 +00:00
christos f78b488307 put back a commented out EXINIT entry. 2011-10-19 14:42:37 +00:00
dholland 3d0061d217 Re-enable EDITOR=vi because otherwise stuff breaks. (Or runs ed, which
is arguably equivalent to breaking.)

Per the discussion on tech-userlevel, document the settings offered.

(All of this needs quite a bit more work still.)
2011-10-19 11:27:26 +00:00
tsutsui a27f299c14 Cleanup ancient entries derived from 4.4BSD Lite2 merge
for newer useradd(8) users:
- remove all aliases
- remove annoying EXINIT setting
- comment out other environment settings

Discussed on tech-userlevel@.
2011-10-19 10:14:35 +00:00