Commit Graph

4817 Commits

Author SHA1 Message Date
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