Commit Graph

5141 Commits

Author SHA1 Message Date
jmcneill f02362348e fix typo in previous; pass -y unconditionally to resize_ffs, not -p 2015-04-07 18:02:11 +00:00
jmcneill 906c0d847e add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars 2015-04-06 22:40:09 +00:00
mlelstv b68ba22239 Parse config file like ifconfig.if(5).
First word is always the module name, followed by options.
Load modules right after root filesystem is checked and before it
becomes writable.
2015-04-06 15:07:50 +00:00
joerg b4ee0ddd0f Add CI20 install kernel and build that and the normal image as kernel set. 2015-04-06 14:18:08 +00:00
chopps 94dff34741 Add resize_root boot operation. If resize_root=YES in rc.conf then
the system attempts to resize the root file system to fill it's
partition prior to mounting read-write. Useful for things like AMI
file system images. May eventually be used by arm images after
coming up with similar solution for increasing the parition size.
2015-03-30 10:58:37 +00:00
jmcneill 7ba4328bfa Process /etc/modules.conf (if present) at startup, before securelevel is
raised, to allow module loading on ports without a module aware bootloader.
2015-03-21 19:10:43 +00:00
jmcneill e4dc7f14f3 hook ODROID-C1 into build 2015-03-16 22:18:14 +00:00
mrg 820bac9951 remove vga@isa and pcdisplay@isa from i386 GENERIC, and create a new
LEGACY kernel that includes them instead.  now radeon@pci is able to
properly claim wsdisplay0 on i386 systems, and radeondrmkms has a good
chance of working.

this "fixes" PR#49290.
2015-03-07 07:28:37 +00:00
skrll 28e709c9a3 Add RPI2 to kernels build for both earmv[67].
Use the earmv6 built kernels to create an image that can be used on both
RPI and RPI2
2015-03-06 11:11:55 +00:00
christos bef8765f0a there is no more makewhatis 2015-03-04 14:54:38 +00:00
kiyohara a82af3b335 Add OVERO to v7 and v7hf. 2015-02-26 14:00:17 +00:00
mrg eeeb0a0c08 add ttyC00/ttyC01 as found on eg, com(4)-based serial port systems like
the sunblade 2500.
2015-02-23 13:52:51 +00:00
christos f7f367e20c don't make ipty. postinstall removes them. 2015-02-22 14:42:44 +00:00
joerg 88c9fb0be8 Add rc script for /sbin/iscsid. 2015-02-21 23:13:00 +00:00
nakayama 29acffa014 Avoid nfs devices correctly. 2015-02-14 19:46:55 +00:00
nonaka f8baa4e97e iwm(4) works now, but 2.4GHz only.
> iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 3160 (rev. 0x83)
> iwm0: interrupting at ioapic0 pin 18
> iwm0: hw rev: 0x160, fw ver 25.228 (API ver 9), address XX:XX:XX:XX:XX:XX
> iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
2015-02-13 18:57:46 +00:00
snj 18762df49a don't create an empty installation/misc directory in the release tree. 2015-02-05 21:50:42 +00:00
nonaka 79aad7ee9b Added RouterBOARD RB850Gx2 config. md root only. 2015-01-30 15:04:35 +00:00
jmcneill a185a6f4c2 build INTEGRATOR_CP_INSTALL 2015-01-27 20:26:34 +00:00
christos 3e734a9422 add blacklistd 2015-01-25 16:26:34 +00:00
christos cb9ad4358c add blacklist example 2015-01-25 15:49:39 +00:00
jmcneill f1c95757e8 It doesn't make sense to start wpa_supplicant from an rc.d script without
the -B flag, so always prepend it to $rc_flags.
2015-01-22 19:50:21 +00:00
snj 85566b644e Nuke the five(!) install floppies. Welcome to 2015. Approved by
dsl@, Master of Port.
2015-01-11 04:03:47 +00:00
christos 19e95bc726 Missed one 2015-01-06 03:26:05 +00:00
christos fb3ca3528d new tests directory 2015-01-06 03:14:03 +00:00
uebayasi c4f304668a Add entries, sort, etc. 2014-12-30 03:52:03 +00:00
spz 1690f8559d new ntpd wants to be able to translate ntp into a port number after chroot,
so give it its own small copy of /etc/services in the chroot
2014-12-25 23:00:18 +00:00
jmcneill b5a75d40b2 build ALLWINNER_A80 kernel 2014-12-14 18:12:55 +00:00
christos 4cab6c2235 add missing /fs/ 2014-12-13 19:23:35 +00:00
christos 78e728f7ef Add missing include directories 2014-12-13 18:55:18 +00:00
uebayasi ec8eede4a0 Indent. 2014-12-13 02:53:08 +00:00
uebayasi b249d4b6e0 Indent and space fixes. 2014-12-13 02:17:35 +00:00
christos 86aec1e590 more test directories. 2014-12-03 01:29:33 +00:00
christos 70469cdbb4 add new test directories 2014-12-03 00:52:52 +00:00
riz fd7966dae0 Freshen up the commented-out suggested PKG_PATH a bit. 2014-11-30 23:43:30 +00:00
uebayasi 0a333665fa Add a new build make variable, CONFIGOPTS, which is passed to config(1)
when building kernels.  Revert "mkernel=*" and "mkernels" in favor of
this option.

Diff posted on source-changes-d@, approved by (null).
2014-11-30 15:53:29 +00:00
christos 3c3f7bb88a - generate the list of disks only once and select from them later
- don't generate empty/useless files when disklabel or dkctl don't have data
2014-11-23 16:36:03 +00:00
uebayasi 3dcb1bdb52 Minimal linker script test. 2014-11-14 09:03:39 +00:00
tsutsui 30bc235eca Stop building a.out kernels so that mkldscript.sh is no longer necessary.
Tested "build.sh release", and the default ELF GENERIC kernel loaded by
the native bootloader just works on LUNA-II.
2014-11-13 16:18:38 +00:00
christos bd08953ecc Add new keytype, replace duplicated code with loop 2014-10-19 16:33:01 +00:00
christos bad357ce4f fix syntax error 2014-10-14 20:49:47 +00:00
jmcneill 1b1d0196e9 add HUMMINGBIRD_A31 kernel 2014-10-13 14:01:49 +00:00
uebayasi 67857e2074 Dig mcast test directories. 2014-10-12 12:32:15 +00:00
roy ccc4fd50bb sleep for 0.05 seconds instead of 2 seconds when checking if the pids
are still alive for a much faster exit.
2014-10-07 19:09:45 +00:00
tron a0fbec155b Revert last change. This was already fixed differently and something
went wrong with the change anyway. Sorry
2014-09-26 11:04:06 +00:00
tron 4c439aa401 Re-add default for "rtsol". "/etc/rc.d/network" still checks for this
setting and complains if it isn't defined at all. Add a comment that
it is deprecated and suggest to use "dhcpcd=YES" instead.
2014-09-26 10:36:11 +00:00
mbalmer 69c9176b64 unfold comment and fix spelling 2014-09-25 11:33:33 +00:00
roy f68fe4cac7 Use checkyesnox to test rtsol as it has been removed including its
default configuration which we should not warn about.
2014-09-21 09:48:32 +00:00
roy 56e4b525ee Add checkyesnox function so we can test a configurable without
being warned of its non-existance.
2014-09-21 09:47:24 +00:00
roy 679020a8a6 More rtsold removal, thanks to Henning Petersen.
Fixes PR misc/49228.
2014-09-20 15:10:41 +00:00
matt 6cf6fe02a9 New files for Userland support of UCB RISC-V (both 32-bit and 64-bit) 2014-09-19 17:36:24 +00:00
matt e8e589879a Teach this to deal with the use of include in majors files. 2014-09-19 09:01:05 +00:00
matt 59f16e16f4 add random/urandom to MAKEDEV std 2014-09-19 09:00:23 +00:00
ozaki-r de6373426e Add net/if_bridge test 2014-09-18 15:25:10 +00:00
roy d784a83a57 rtsol has gone. 2014-09-13 11:07:08 +00:00
roy cb2e7b1a58 Add the -M flag to dhcpcd so it stays in master mode even for one
interface. Suggested by apb@
2014-09-13 11:06:42 +00:00
roy f542fd2122 Don't try and install rc.d/rtsold 2014-09-11 18:01:22 +00:00
roy c6314d6139 Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
2014-09-11 13:10:03 +00:00
matt 72f73e6846 Add CUBIETRUCK 2014-09-10 05:03:50 +00:00
skrll c170a85cb4 Add BPI to the list of kernels to build. 2014-09-07 20:17:57 +00:00
matt 27620987b8 New files for OR1K support 2014-09-03 19:34:25 +00:00
apb 8ce568ce88 Split some long lines. 2014-08-27 13:56:02 +00:00
apb 6b933a652f Test make(1) by running the maintained tests, not unmaintained
copies of them.

* Remove all old tests from src/tests/usr.bin/make/d_*.  These tests
  were unmaintained old copies of the actual tests which are maintained
  under src/usr.bin/make/unit-tests.  One exception is the test in
  d_unmatchedvarparen.mk, which was new, but has nw been added to
  src/usr.bin/make/unit-tests/varmisc.mk.
* In src/tests/usr.bin/make/Makefile, copy all
  the tests from src/usr.bin/make/unit-tests to
  ${DESTDIR}/usr/tests/usr.bin/make/unit-tests.
* In src/tests/usr.bin/make/t_make.sh, run the tests installed above,
  instead of the old tests.
* In etc/mtree/NetBSD.dist.tests, create the
  usr/tests/usr.bin/make/unit-tests diectory.
* Update the set lists for all the above.
2014-08-22 16:45:32 +00:00
matt 1ab7f387c3 Add eabihf directories 2014-08-10 23:31:41 +00:00
joerg f14316bcbc Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.
2014-08-10 17:32:54 +00:00
matt 547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
apb 9e8101899d To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program
${TOOL_GZIP}" on the command line, and refrain from passing "-z".  If
passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
2014-08-06 11:41:18 +00:00
apb 5a18c2965e Introduce and use GZIP_FLAGS variable, to fix a quoting error
in the way we tried to use GZIP="-9 ${GZIP_N_FLAG}".
For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-06 10:37:30 +00:00
martin 10683121fc Add a directory for sysinst language files 2014-08-05 18:45:35 +00:00
apb f78c710fb2 Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n
in the environmentto commands that invoke ${TOOL_GZIP}.
This will allow them to use -nT instead of just -n with pigz.
2014-08-05 15:43:50 +00:00
apb 71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
dholland 0b2a19e1a1 Remove "tags=nodiff" from /var/log/authlog as suggested by uebayasi@;
part of PR 49031.
2014-08-05 07:34:52 +00:00
apb a2fb9dacaf BUILDINFO part 3: Add BUILDINFO to RELEASEVARS and /etc/release
The BUILDINFO string will appear nearthe top of /etc/release,
indented by 8 spaces and with a blank line above and below it,
but without a heading.  The BUILDINFO string is expected to
be self-explanatory.

Also change some other headings near the top of /etc/release.
2014-08-03 09:19:34 +00:00
apb 8a948b4343 In the background subshell that flushes partial output every few
seconds, detach from the controlling terminal.  Without this, pressing
control-T (to send SIGINFO from the terminal) would almost always result
in the sleep process printing "about N seconds left of the original 3",
which is useless information.
2014-07-29 20:39:16 +00:00
apb 7bc384757f In rc.subr, add _have_rc_postprocessor function and use it instead of
inline tests like [ -n "${_rc_postprocessor_fd}" ]. The new function
performs a few new tests, including verifying that /etc/rc is still
running (using a new _rc_pid variable set by /etc/rc).

This is intended to deal with the case that a script run from /etc/rc
spawns a background process, then /etc/rc exits, but the background
process still has environment variables inherited from /etc/rc.

Fixes PR 46546.
2014-07-27 07:46:46 +00:00
hkenken 3515fb1d7c Initial commit of support for Kobo touch. (i.MX507 or i.MX508)
(http://www.kobo.com)
2014-07-25 11:22:50 +00:00
wiz 7f6fa64667 'file system' for consistency with documentation (instead of 'filesystem'). 2014-07-22 17:11:09 +00:00
macallan ff8e33c9e6 since we support 601 hardware now, let's build the kernel for it as well 2014-07-20 14:52:29 +00:00
lneto 4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
spz 652bd7d1b3 Create the dhcpd.leases file if it doesn't exist already, don't just
warn about it not being there.
Closes PR misc/48868
2014-07-17 07:17:03 +00:00
mbalmer e119d14fc9 Consistency changes only. Start sentences with a capital letter and end
them with a full stop.
2014-07-14 12:29:48 +00:00
tls 916085404d Make named and the rest of BIND seed their RNG from /dev/urandom, not /dev/random. Better would be to rip the enormous gonkulating RNG machinery out of libisc entirely. Later. 2014-07-13 22:06:56 +00:00
spz 46ee6da10e create /etc/rndc.key on start if it doesn't already exist 2014-07-08 07:04:07 +00:00
dholland 5e7854467d Update the distrib-dirs mtree specification for the new /usr/share/doc
layout.
2014-07-05 19:23:56 +00:00
taca de6fa99741 Update root.cache to 2014060201.
Now B.ROOT-SERVERS.NET and C.ROOT-SERVERS.NET has an AAAA record.
2014-07-01 03:33:28 +00:00
alnsn e281e658e4 Add new net/t_bpfjit test. 2014-06-30 21:32:59 +00:00
martin 59ac30731b Undo the mac68k specific previous change and instead move all mkisofs-based
images into ${RELEASEDIR}/images (just like the makefs ones).
2014-06-30 15:34:57 +00:00
martin cc489da3c3 Make sure the iso target directory is created in-time for the mkisofs
invocation
2014-06-29 17:49:04 +00:00
apb d768eb27cb Print BUILDID near the top of /etc/release. 2014-06-14 12:26:26 +00:00
christos cf026aea41 add one more directory. 2014-05-31 14:36:53 +00:00
christos 6162057ac7 add new directory 2014-05-31 14:31:01 +00:00
uebayasi 582f22c9fc Tag all 0600 files as "nodiff" (== secret). 2014-05-19 05:43:35 +00:00
martin 9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
martin c72d415969 Use the new -U option for config to avoid generating kernel debug info
during release builds. This should save quite some space in the evbarm
build, where makeoptions DEBUG is heavily used.
2014-05-05 19:10:00 +00:00
uebayasi a270487d77 Indent. 2014-04-29 09:58:18 +00:00
uebayasi 4f67388957 Refactor a little to remove huge indents. 2014-04-29 09:56:16 +00:00
uebayasi 0db0bb3da5 Split huge monolithic functions for readability. 2014-04-29 09:42:51 +00:00
uebayasi 413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00
apb 288496e5c0 Send a "nop" metadata message to the postprocessor every few seconds,
to flush partial output lines.  This should help with PR 48714.
2014-04-09 12:45:05 +00:00
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