Commit Graph

5531 Commits

Author SHA1 Message Date
yamaguchi
f0101d0e08 Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation
 - MP-safe and MP-scalable
2021-05-17 04:07:41 +00:00
rin
0c720f9cde Turn on constty instead of ttyE0 as done for majority of other ports
in order to make both framebuffer and serial consoles happy.

Also, change TERM from vt220 to vt100 for console and constty
in accordance with other ports.
2021-05-08 10:08:33 +00:00
mrg
3a8103109b update for libX11 1.7.0. 2021-04-27 06:51:49 +00:00
christos
d25e0fedfb Handle mipsn64 2021-04-25 23:40:51 +00:00
mrg
af9b7ed461 create the gcc-10 subdirs, and don't create the gcc-8 ones. 2021-04-12 02:09:27 +00:00
christos
637547d0a7 refresh with latest 2021-04-08 19:03:43 +00:00
rin
385a602eeb - Hook DHT kernel
- Add bin and ub to KERNEL_SUFFIXES
- Group and sort kernels
2021-04-02 07:08:36 +00:00
christos
5e0abed52f add named plugin dir 2021-03-31 04:58:01 +00:00
christos
d80018d9b8 handle copying of plugins to the chroot 2021-03-31 04:57:25 +00:00
sborrill
4f6c3ffcd1 Need to explicitly load value of zfs variable as zfs=YES may be set in
/etc/rc.conf.d/zfs, not /etc/rc.conf.
2021-03-09 12:42:46 +00:00
christos
b60051daa5 require NETWORKING otherwise amd can come up before the network is up and
it needs to be able to do DNS.
2021-03-01 23:02:30 +00:00
jakllsch
531ea916a2 Add /etc/ip6addrctl.conf as optional file so it is backed up. 2021-02-26 18:39:10 +00:00
rin
486b89c051 For ramdisk image, generate only 2 pairs of pty devices, instead of 16,
in order to save space further.
2021-02-25 07:58:39 +00:00
hannken
0c0601776b Enable "/etc/zfs/exports" from "zfs share" in rc.d/mountd and rc.d/mountall. 2021-02-16 10:02:42 +00:00
pgoyette
0d15fa02aa Add KERNEL_DIR to /etc/release
"Sure, why not" from xtos!
2021-02-14 18:45:44 +00:00
martin
b2434f4d17 llvmlockdir -> lvmlockdir 2021-01-26 15:08:02 +00:00
martin
9869002d85 Rename etc/rc.d/llvmlockdir to lvmlockdir - it has nothing to do with LLVM,
the name probably was a freudian slip of my fingers when I split that
fragment out of another rc.d script.
2021-01-26 13:31:19 +00:00
rillig
a5778d2e53 lint: install custom stdbool.h, used for strict bool mode 2021-01-17 19:32:52 +00:00
rillig
93104a9b2f lint: remove custom stdbool.h for strict bool mode again
Adding it broke the official builds.
2021-01-16 22:18:14 +00:00
rillig
ea370484da add directory /usr/libdata/lint/strict-bool
This is needed for usr.bin/xlint/xlint.
2021-01-16 20:30:05 +00:00
riastradh
cba96d16f7 Various entropy integration improvements.
- New /etc/security check for entropy in daily security report.

- New /etc/rc.d/entropy script runs (after random_seed and rndctl) to
  check for entropy at boot -- in rc.conf, you can:

  . set `entropy=check' to halt multiuser boot and enter single-user
    mode if not enough entropy

  . set `entropy=wait' to make multiuser boot wait until enough entropy

  Default is to always boot without waiting -- and rely on other
  channels like security report to alert the operator if there's a
  problem.

- New man page entropy(7) discussing the higher-level concepts and
  system integration with cross-references.

- New paragraph in afterboot(8) about entropy citing entropy(7) for
  more details.

This change addresses many of the issues discussed in security/55659.
This is a first draft; happy to take improvements to the man pages and
scripted messages to improve clarity.

I considered changing motd to include an entropy warning with a
reference to the entropy(7) man page, but it's a little trickier:
- Not sure it's appropriate for all users to see at login rather than
  users who have power to affect the entropy estimate (maybe it is,
  just haven't decided).
- We only have a mechanism for changing once at boot; the message would
  remain until next boot even if an operator adds enough entropy.
- The mechanism isn't really conducive to making a message appear
  conditionally from boot to boot.
2021-01-10 23:24:25 +00:00
martin
80e3db0075 If MKX11 and MKDEBUG, add the xdebug set to the obsolete file handling. 2020-12-29 16:46:44 +00:00
martin
5dd83105b3 Adjust to "pool" usage in our standard ntp.conf, pointed out
by Connor McLaughlan.
2020-12-25 13:42:02 +00:00
uwe
c34ee3711d run_rc_command - don't prefix the rcvar variable name with the dollar sign.
The output without the dollar sign is less confusing as it's actual
valid shell syntax:

  $ /etc/rc.d/foo rcvar
  # food
  food=YES

Brought up on tech-userlevel@ by Rocky Hotas with some LGTMs from
other people and no objections.

We still refer to '$food' in warnings/errors though.
2020-12-20 21:30:28 +00:00
pgoyette
56b2bfc290 Add directory entry for new libossaudio test 2020-12-12 02:50:26 +00:00
jmcneill
161b30af53 acpi: add character device for accessing ACPI tables
The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.
2020-12-06 02:57:29 +00:00
wiz
d5fdd803ef Update default pkgsrc database location from /var/db/pkg to /usr/pkg/pkgdb. 2020-12-02 14:18:13 +00:00
rin
7f6948285e Build RPI and RPI2 kernels also for earmv6{,hf}eb. 2020-12-01 04:20:21 +00:00
kamil
a0bbc3d2d8 man.conf(5): Drop support for .me files
The .me troff macros are unused for any known man-pages.
2020-11-30 14:27:23 +00:00
riastradh
0be824883b Simplify default motd text and include donation link. 2020-11-25 21:40:22 +00:00
tsutsui
10596905a4 Create wd0 and wd1 device node for G1IDE kernel. 2020-11-25 15:14:03 +00:00
martin
9b9b5e208c Add /dev/pts as standard mountpoint for a ptyfs. 2020-11-23 12:41:47 +00:00
christos
80a97e389b Add /var/games/warp 2020-11-11 19:56:09 +00:00
kamil
994be4e978 Reintroduce the support of MKCATPAGES
Requested by <mrg>
2020-11-10 21:47:40 +00:00
rin
4bfe1533f7 Add nvme(4) and raid(4). 2020-11-10 11:22:22 +00:00
kamil
fa9b238449 + ./usr/share/games/warp 2020-11-10 10:31:48 +00:00
rin
571f6efb48 Add nvme(4) and raid(4). 2020-11-10 08:52:36 +00:00
kamil
17e0cdd2e4 Remove the catman directories
No longer relevant after the MKCATPAGES removal.
2020-11-09 01:07:04 +00:00
christos
1501493b50 Add col tests 2020-11-01 22:29:13 +00:00
kamil
990d4b76d9 Register the usr/share/gdb dir 2020-10-24 07:03:00 +00:00
kim
063923df4b network: Update rtsol options
- Use "-6" instead of "--noipv4" as it seems more appropriate based on
  the dhcpcd(8) manual page.
- Remove "-f /dev/null" as it seems unnecessary with "-6".
- Remove "--persistent" as it is in the default /etc/dhcpcd.conf,
  and this way the user can change it, if they would like to (either
  through dhcpcd_flags or by editing /etc/dhcpcd.conf).

The "-b" (or "--background") option is needed to avoid a timeout error
message (and a delay in booting), so it is still left in place.
2020-10-16 15:31:04 +00:00
mgorny
268edb6f45 Add tests for process_xmm_to_s87() and process_s87_to_xmm() 2020-10-15 17:44:44 +00:00
kim
f5010e6cd4 Update "rtsol" keyword: leave IPv6 autoconf on
There is no need to turn off ipv6_autoconf or dhcp6 in dhcpcd to match
the previous behaviour with in-kernel RA processing.
2020-10-15 07:05:27 +00:00
kim
2f25d90010 Make "rtsol" functional again. 2020-10-11 22:38:48 +00:00
jnemeth
dcf9d0d48c Also edns-udp-size. 2020-10-11 22:14:55 +00:00
jnemeth
db7cb834a5 Set max-udp-size as per DNS flag day 2020, see
https://www.isc.org/blogs/dns-flag-day-2020-2/ .
2020-10-11 22:11:36 +00:00
kim
a477b03dfb Add iburst to peer and server. 2020-10-05 06:45:40 +00:00
kim
eb131804a5 Use "pool" for the pool.ntp.org servers. Add some new hints.
- Use the "pool" keyword for obtaining servers from ntp.pool.org.
  - Add "tos minclock" and "tos maxclock" to limit the number of servers.
  - Add "restrict source" to apply appropriate restrictions to servers.
    (Specifically "nopeer" cannot be applied to "pool" servers.)
  - A single "pool" entry suffices -- using "2.netbsd.pool.ntp.org" so
    that we get both IPv4 and IPv6 addresses. (No addresses are returned
    for just "netbsd.pool.ntp.org.")
- Add a comment about "tinker panic 0" -- useful for VMs and laptops.
- Add a comment about "discard minimum" -- useful for some SNTP clients.
- Add an explanation for the "limited" restriction keyword.
- Unify whitespace and comment formatting.
2020-10-04 13:50:44 +00:00
jmcneill
e9022974c1 Build arm64.img for aarch64eb with a LE FFS, and include GENERIC64 in
release builds.
2020-10-02 17:27:12 +00:00
roy
bb8258cab8 Add if_tap directory for DEBUG builds. 2020-09-30 20:20:53 +00:00