libsysdecode: Use consistent include path
mkioctls should look at the same set of headers as mktables does.
MFC after: 1 week
Fixes: 139d114acc7b ("libsysdecode use MKTABLES_INCLUDEDIR")
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: sjg
Differential Revision: https://reviews.freebsd.org/D54106
(cherry picked from commit c51876a107310984ba3a31b088caebcfd86a9844)
cleanvar: Fix startup order
Instead of having FILESYSTEMS require cleanvar, which doesn't really
make semantic sense, say that cleanvar needs to run before FILESYSTEMS.
MFC after: 3 days
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54118
(cherry picked from commit 6ce227d6274869a95150746d2f2d8c8c5ed9a266)
noshutdown: Fix startup order
This rc script exists solely to create a file, so have it explicitly
require FILESYSTEMS. In its current form, it was as likely as not to
end up running before cleanvar, which would undo its work.
MFC after: 3 days
Fixes: 384d976725a5 ("rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown")
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D54119
(cherry picked from commit e540e8b2c04f03b4210a3bf2f421c05b918d1b51)
nextboot: Reimplement missing -a option
* Reimplement the -a option which was available in the original shell
script and is still documented.
* Print the correct usage string when invoked as nextboot.
* Add the -D option to the manual page synopsis.
MFC after: 1 week
Fixes: fd6d47375a78 ("rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh")
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54120
(cherry picked from commit de670c611b17939712a81dc56f73a3ff84f6c178)
bus: Return 0 if reading an ivar fails
In the non-INVARIANTS case, return 0 rather than stack garbage if
reading an ivar fails (in the INVARIANTS case, we still panic).
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D54078
(cherry picked from commit 4c2295c15860e70c8bd3f05f9229d2fc40dfd50d)
pfctl: report ICMP states consistently for IPv4/IPv6
Remove the '#ifndef INET6', which never actually mattered because this
define is never set. This makes us report ICMP states for IPv4 and IPv6
the same way (and also aligns us with OpenBSD).
This means we will now always report state 0:0 rather than
NO_TRAFFIC:NO_TRAFFIC for icmp6 (like we already did for icmp).
Reported by: Lev Prokofev <lev at netgate.com>
Sponsored by: Rubicon Communications, LLC ("Netgate")
ports-mgmt/poudriere-devel: Update to 3.3.0-2479-gfcf8bfd5b.
Changes:
- bulk/testport: Fix fetching packages for 14.3 and 15.0.
(cherry picked from commit fb2fa189d299a549e954b3b48a0e1c2139c77fe8)
Always set a higher priority for repo overrides
Two configuration files for the same repository, with the same priority
(default to 0) but with a different values for `enabled` result in the
actual value of `enabled` to be dependent of the order of evaluation of
the files. This is likely to cause problem one day. Make sure we set
an explicit priority when overriding repositories.
While here, use conistent syntax/style for the configuration files.
(cherry picked from commit e98aa071fa116c61ef3e7c072bb7f84db4426074)
Conflicts:
src/share/poudriere/common.sh
Remove useless environment variable
It seems that was used to tell pkg from which URL to download packages,
but it seems not to be working anymore and as we only have a single
enabled repository with the same URL, we can probably safely remove it.
(cherry picked from commit 30982dc44a3c86216d1abcad5c94b6be901912c5)
Fix fetching packages on FreeBSD 15.0
Older versions of FreeBSD had a single package repository, named
"FreeBSD". FreeBSD 14.3 introduced a second repository for kernel
modules, named "FreeBSD-kmods". FreeBSD 15.0 add support for managing
the base system with packages (aka pkgbase), and to avoid confusion for
users and emphasis they are related to ports and not the base system,
the mentioned repositories were respectively renamed "FreeBSD-ports" and
"FreeBSD-ports-kmods".
In order to fetch latest packages, poudriere tune the "FreeBSD" repo,
and attempts were made to ignore the "FreeBSD-kmods" repository
(#1218, #1228), unfortunately with the changes described above in
FreeBSD 15, it is broken again.
Since fa68587c67ffb59c1c240d53fb16e73788d06cd3, poudriere disable all
official repositories, but that was not done for fetching packages.
Fix this by disabling all known variations of the default FreeBSD
[10 lines not shown]