Commit Graph

4919 Commits

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