Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1003 commits
Select commit Hold shift + click to select a range
595ddf0
inet_net_test: Compare pointers against nullptr
bsdjhb Oct 20, 2025
42cf7ea
inet_net_test: Use int to hold expected return values from inet_net_pton
bsdjhb Oct 20, 2025
9c14848
UDP: let udp_pcblist() support UDP and UDP-Lite
tuexen Oct 20, 2025
573270b
UDP-Lite: export pcblist via sysctl interface
tuexen Oct 23, 2025
7201675
netstat: add support for UDP-Lite endpoints
tuexen Oct 23, 2025
978615d
sockstat: add support for UDP-Lite endpoints
tuexen Oct 23, 2025
d9f8e8a
tcp over udp: don't copy more bytes than avaiable
tuexen Oct 23, 2025
5224542
find: fix pathnames printed by the SIGINFO handler
asomers Oct 19, 2025
30459f5
iwlwifi: update Intel's mvm/mld drivers
Oct 17, 2025
8bf92b4
rtw88: update Realtek's rtw88 driver
Oct 17, 2025
dd5a80b
rtw89: update Realtek's rtw89 driver
Oct 17, 2025
3dc891b
LinuxKPI: 802.11: additions for Linux v6.17 based wireless drivers
Oct 11, 2025
74a6de9
deadfs: Return ENXIO instead of EIO when the device is gone.
bsdphk Oct 24, 2025
470fae9
sndctl(8): Modify vchans only on supported directions
christosmarg Oct 22, 2025
6bf158d
zfs: merge openzfs/zfs@814f9afba (zfs-2.4-release) into stable/15
mmatuska Oct 25, 2025
ed0083d
zfs: update zfs_config.h and zfs_gitrev.h after ce7e1f86a (zfs-2.4.0-…
mmatuska Oct 25, 2025
f30ddc7
tcp rack: cleanup
peterlei Oct 24, 2025
df023b0
tcp: save progress timeout cause in connection end status
peterlei Oct 24, 2025
8376d05
x86: Reduce amount of time the MCA lock is held while emitting records
Oct 6, 2025
4db0093
unbound: Vendor import 1.24.0
cschuber Oct 7, 2025
fef4de6
local-unbound-setup: Set so-sndbuf to 0
dag-erling Oct 8, 2025
a988846
unbound: Vendor import 1.24.1
cschuber Oct 23, 2025
bdbb235
udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets
tuexen Oct 26, 2025
54da444
udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets
tuexen Oct 26, 2025
71f94c1
tcp: improve credential handling in syncache
tuexen Oct 27, 2025
245d95c
sys/arm64: fix COMPAT_FREEBSD32 __syscall()
clausecker Oct 21, 2025
3c8ae8b
sys/arm: add fp[gs]et* prototypes to <ieeefp.h>
clausecker Oct 17, 2025
a91a62c
pt: Switch to swi(9)
bnovkov Aug 11, 2025
c40e634
release: Use PKG_CMD when installing pkgbase packages in vmimage.subr
markjdb Oct 23, 2025
81a98c3
netmap: Fix error handling in nm_os_extmem_create()
markjdb Oct 17, 2025
61d4640
fdisk: Bump removal to FreeBSD 16.0
emaste Oct 24, 2025
d67ed83
le(4): Update depreciation notice
emaste Oct 24, 2025
1dc5e05
sys: Bump GIANT device removal to 16.0
emaste Oct 24, 2025
c2c8f9d
sys: Bump non-ISA PNP removal to 16.0
emaste Oct 24, 2025
901603a
cam: Bump deprecated sysctl removal to 16
emaste Oct 24, 2025
392061b
agp.4: Bump deprecation to 16.0
emaste Oct 24, 2025
b17920a
upgt.4: bump removal to 16.0
emaste Oct 24, 2025
a085b67
getrlimitusage.2: Update HISTORY section
emaste Oct 24, 2025
6652930
closefrom.2: Add introduction of close_range to HISTORY
emaste Oct 21, 2025
883230a
ipfw: Update warning/error setsockopt references
emaste Oct 24, 2025
a986bf1
ipfw: Correct error message
emaste Oct 25, 2025
37580e6
ipfw: Remove IP_DUMMYNET_GET case
emaste Oct 24, 2025
87b73c2
ipfw: Remove more unused IP_FW_* cases
emaste Oct 25, 2025
9620ee8
jail: fix an error condition that was returned without setting errno.
Oct 21, 2025
c37d958
jail: fix a regression that creates zombies when removing dying jails
Oct 20, 2025
b39a387
libpfctl: Fix displaying deeply nested anchors
jlduran Oct 25, 2025
8ea3c27
MFV: Import blocklist 2025-10-25 (156df4f)
jlduran Oct 25, 2025
c4f2ac4
blocklist: blacklist: Chase recent upstream changes
jlduran Oct 25, 2025
4afb96f
MFV: Import blocklist 2025-10-26 (ff13526)
jlduran Oct 27, 2025
bc59efc
blocklist: blacklist: Chase recent upstream changes
jlduran Oct 27, 2025
4ae6078
Merge commit e24f90190c77 from llvm git (by Brad Smith):
DimitryAndric Oct 29, 2025
32b6de9
zlib: Move to a new zlib package
llfw Oct 28, 2025
84e42ef
packages: Install development manpages in the -dev package
llfw Oct 25, 2025
873f086
mandoc: Also run makewhatis for /usr/share/openssl/man
llfw Oct 25, 2025
2b0a1e6
packages: dhclient, local-unbound require resolvconf
llfw Oct 25, 2025
325663f
man: Conditionally install ar.5 in toolchain package
emaste Oct 3, 2025
a3fde3a
share/man/man5: Use MANGROUPS.yes
llfw Oct 25, 2025
bcb4095
packages: Put dhclient in the minimal-jail set
llfw Oct 25, 2025
ac849c0
flua: Move to a new flua package
llfw Oct 25, 2025
a3cf750
packages: Remove the /boot hack from mtree-to-plist.awk
llfw Oct 25, 2025
fcf8720
bsdlabel: Bump removal to FreeBSD 16.0.
emaste Oct 28, 2025
443258a
pmcstat: Remove no-op -k option
emaste Oct 28, 2025
660255b
ipfw: Retire obsolete compat code
emaste Oct 24, 2025
c824a13
release: Only check no-root/no-qemu when building
cperciva Oct 30, 2025
65a3f9c
pkg: Die if make -V BRANCH fails
cperciva Oct 30, 2025
e392a6d
id: Clean up
dag-erling Oct 28, 2025
02de2f3
id: Add -d and -s options
dag-erling Oct 28, 2025
ac84e69
rc.subr: Fix slow shutdown issue
dag-erling Oct 28, 2025
936ef70
pwait: Avoid calling getpid(2) for each proc.
bdrewery Oct 10, 2025
b763c11
pwait: Add an option to print remaining processes
dag-erling Oct 28, 2025
8cf76cb
w: Trim whitespace and commas from time and uptime
dag-erling Oct 23, 2025
6038432
quot: Fix benign buffer overflow
dag-erling Oct 17, 2025
b0fdefb
quot: Clean up
dag-erling Oct 17, 2025
dedf740
quot: Drop the COMPAT version
dag-erling Oct 17, 2025
08dda8c
quot: Drop the -h option
dag-erling Oct 17, 2025
1825be3
quot: Add tests
dag-erling Oct 17, 2025
201038a
quot: Make nusers unsigned
dag-erling Oct 20, 2025
4dc6fd2
realpath: Additional test cases
dag-erling Oct 13, 2025
38c42ca
realpath: Report correct path on failure
dag-erling Oct 13, 2025
8c478bb
realpath: Belatedly document POSIX conformance
dag-erling Oct 13, 2025
f0b1ca5
15.0: Update to BETA4
cperciva Oct 31, 2025
a7707f2
Revert "Merge commit e24f90190c77 from llvm git (by Brad Smith):"
cperciva Oct 31, 2025
1b7bd82
random: add RDSEED as a provably unique entropy source
Oct 17, 2025
4002a34
random: garbage collect the RANDOM_PURE_OCTEON entropy source
Oct 17, 2025
10858b0
snd_dummy: Round channel pointer after each write
christosmarg Oct 27, 2025
f38a2cf
nfs_nfsdserv.c: Add a sanity check for layout commit cnt
Oct 27, 2025
9c47506
nfs_clrpcops.c: Add sanity checks for the slot cnts
Oct 27, 2025
82579ee
nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s
Oct 27, 2025
5d37e69
nfs_clrpcops.c: Check for too large a write reply
Oct 27, 2025
e5fc5bc
nfs_commonsubs.c: Add a sanity check for nid_ngroup
Oct 28, 2025
8a0b57b
libarchive: merge from vendor branch
mmatuska Oct 21, 2025
c3f3b96
fusefs: fix page fault triggered by async notification when unmounted
asomers Oct 26, 2025
258cc34
bus_attach_children.9: fix typo
VexedUXR Oct 30, 2025
6bbf1d2
bsd.prog.mk: Skip warnings if compiler.mk was not included
emaste Oct 31, 2025
1d4a308
igb(4): Fix out-of-bounds register access on VFs
Oct 24, 2025
97fa2bf
ixl(4): fix multicast promiscuous mode state tracking and filter mana…
bf-ybhosale Oct 16, 2025
99fdcac
ice(4): Add PCI IDs for E835 devices
Oct 10, 2025
83a23ce
ice(4): Add support for E835-XXV-4 adapter
Oct 27, 2025
1445291
nvme: Add handling for bar5
jtranoleary Oct 28, 2025
0595e10
contrib/bsddialog: Import version 1.0.5
alfonsosiciliano Oct 9, 2025
88c5a49
ifconfig: Fix invalid free() in ifbridge
llfw Nov 4, 2025
593f5b2
static_libpam: Don't install pam.d.5 twice
llfw Nov 1, 2025
433730c
mtree: Remove stray an (Aironet) directory
jlduran Oct 22, 2025
eef41b0
mtree: Remove stray wi directory
jlduran Oct 22, 2025
6e1d440
mtree: Remove stray atm directory
jlduran Oct 22, 2025
72777e9
mld6: Properly initialize MLD packet options
bu7cher Nov 2, 2025
4e80f9f
dtrace/arm64: properly traverse the symbol table
kwitaszczyk Oct 28, 2025
290b9b6
id: Fix WITHOUT_AUDIT build
dag-erling Nov 2, 2025
508f9b6
ipfw: pmod: avoid further rule processing after tcp-mod failures
kevans91 Nov 1, 2025
8b1dd80
Update the installed manpages to match OpenSSL 3.5.1
ngie-eign Sep 7, 2025
2e31b96
crypto/openssl: apply polish to new vendor import process
ngie-eign Aug 22, 2025
136987f
crypto/openssl: update component to 3.5.3
ngie-eign Sep 22, 2025
27ae9da
crypto/openssl: update build artifacts for the 3.5.3 release
ngie-eign Sep 18, 2025
c0366f9
crypto/openssl: update to 3.5.4
ngie-eign Oct 4, 2025
af0eda4
crypto/openssl: update generated files to match 3.5.4 artifacts
ngie-eign Oct 7, 2025
a7c692e
openssl: add a simple smoke test for the legacy provider
ngie-eign Oct 11, 2025
1b0202b
crypto/openssl: remove autogenerated files
ngie-eign Oct 11, 2025
f7717bb
OpenSSL: install .pc files from the exporters subdir
ngie-eign Oct 11, 2025
054da4a
riscv: Treat pointer register as an input in fpe_store
bsdjhb Oct 30, 2025
2e2e70b
libcasper: Move everything to the libcasper package
llfw Nov 5, 2025
190e1cd
libkadm5clnt: Fix library symlink install
llfw Nov 4, 2025
011bfe6
packages: Make set-base-dbg depend on set-optional-dbg
llfw Nov 4, 2025
ba5626d
etc/mtree: Add package tags for /usr/include
llfw Nov 4, 2025
a711949
fusefs: respect the server's FUSE_SETXATTR_EXT flag
asomers Oct 26, 2025
914064c
fusefs: fix intermittency in the BadServer.ShortWrite test
asomers Oct 14, 2025
06edf53
fusefs: Fix intermittency in the BadServer.ShortWrite test case
asomers Oct 25, 2025
05c3c8c
pf: improve add state validation
kprovost Oct 29, 2025
1e5405d
pf: improve DIOCRCLRTABLES validation
kprovost Oct 29, 2025
c3a27fa
kern: Fix credentials leaks on RACCT but no RCTL
OlCe2 Oct 29, 2025
76fb5c2
setcred(): Fix RACCT resource accounting on credentials change
OlCe2 Oct 29, 2025
0888e32
release: Spell metalog_add_data conventionally
cperciva Nov 2, 2025
299dfb3
Makefile.incl1: .WAIT before distribute in etc
cperciva Nov 2, 2025
f438cf7
vmimage.subr: pkg autoremove after pkg install
cperciva Nov 3, 2025
f512ec4
release: GCE builds depend on ftp
cperciva Nov 3, 2025
dab5efb
release: Don't try to fetch distfiles for pkgbase
cperciva Nov 3, 2025
4291f03
release: Make fetch happen in GCE images
cperciva Nov 3, 2025
1860271
etc/mtree/BSD.include.dist: Remove libipt-dev
llfw Nov 6, 2025
3d59882
Add FENESTRASX to LINT to avoid breakage
Oct 17, 2025
08515bd
random: fenestrasX: Add missing entropy sources
Oct 23, 2025
7d106aa
random: CTASSERT check sizeof random_source_descr[]
Oct 22, 2025
6efc9b0
ifconfig.8: Mention max name length
wac- Oct 30, 2025
5f6d85c
gshsec.8: Fix list alignment, tag spdx
concussious Oct 30, 2025
02eabc4
bhyve.8: Correct description for -c flag, tag spdx
concussious Oct 30, 2025
d1ee21d
ice.4: Avoid first person language
brd Oct 3, 2025
3a63ca9
ice.4: Add ToC and E835 and editorial pass
concussious Nov 5, 2025
776626f
dumpon(8): Add a SYSCTL VARIABLES section
felixthered Nov 6, 2025
c66b978
ciss.4: Add p440ar to HARDWARE
concussious Nov 6, 2025
715cc30
sysrc.8: Rewrite examples for mdoc conformance
concussious Nov 6, 2025
58f2085
release: Comply with Azure Marketplace requirements for aarch64
lwhsu Nov 7, 2025
db99e6c
15.0: Update to BETA5
cperciva Nov 7, 2025
5bee2fd
libcrypto: Install tests in the tests package
llfw Nov 5, 2025
3447fc0
atf: Move the tests back to the tests package
llfw Nov 5, 2025
69c726c
virtio: Fix polling in virtqueue_dequeue()
markjdb Nov 4, 2025
854651d
release: Add WITHOUT_QEMU to IMAKE
cperciva Nov 7, 2025
ee234a8
freebsd-update: Swap pkg(8) flags in check_pkgbase()
markjdb Nov 6, 2025
40056e8
netlink: plug lock leak in genl_register_family()
brunoos Nov 8, 2025
0339b24
random: Have RANDOM_PURE_START be a cross-platform source
Nov 8, 2025
dd1ed08
openssh: Handle localtime_r() failure by return "UNKNOWN-TIME"
emaste Oct 31, 2025
e55b2f0
bsdinstall: Fix newfs bsddialog menu
emaste Nov 7, 2025
bd4cf77
tcp: drop SYN ACK segment for listening sockets
tuexen Nov 3, 2025
b91bf9f
vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID
tuexen Nov 10, 2025
c50312b
vtnet: fix enabling/disabling tso
tuexen Nov 10, 2025
c5977a9
bsdinstall: Use fat32 EFI system partition for ZFS
emaste Nov 7, 2025
f490eae
LinuxKPI: 802.11: clear CONF_IDLE earlier
Nov 10, 2025
bee506b
Azure: Fix image names
cperciva Nov 11, 2025
c70f6e4
stand: Teach the zfs loader about dynamic gang headers
markjdb Nov 6, 2025
cb90757
aio: fix alignment of struct (o)aiocb32 on non-amd64
clausecker Nov 14, 2025
16d599d
jail.8: Add creating a jail from distribution set
concussious Nov 7, 2025
14ada82
jail.8: Add creating a jail from package base
concussious Nov 13, 2025
893e5b7
hgame.4: Polish
concussious Nov 13, 2025
95fcade
pcic.4: Remove stale manual
5u623l20 Nov 12, 2025
480f0a1
mx25l.4: Describe better and tag spdx
concussious Nov 11, 2025
1eebc3a
mx25l.4: Add n25q64 to hardware list
concussious Nov 11, 2025
9465b90
sbp.4: Add a hardware section, fix markup nits
concussious Nov 11, 2025
9ca96ef
ix.4: Add E610 to HARDWARE section
bf-ybhosale Nov 10, 2025
f1d3ed7
mpr.4: Add Broadcom LSI 3808 to HARDWARE
zldrobit Sep 28, 2025
279213e
Retire pccard(4)
5u623l20 Nov 12, 2025
81f6199
lam: fix using stdin more than once
kevans91 Nov 14, 2025
e13fa64
libpam: Don't put man8 in the dev package
llfw Nov 10, 2025
b044718
setcred(): Fix 32-bit compatibility copy-in
OlCe2 Nov 14, 2025
a44a95b
arm64/vmm: Don't set MDSCR_EL1.KDE when enabling single-stepping
markjdb Nov 5, 2025
4f0b477
arm64/vmm: Fix handling of MDCR_EL2.TDE
markjdb Nov 12, 2025
d347f4a
bsdinstall: Copy in all keys
cperciva Nov 14, 2025
a13564a
Add pkgbase signing keys for FreeBSD 15
cperciva Nov 15, 2025
f852655
bsdinstall: Use pkgbase.f.o for BETA/RC/RELEASE
cperciva Nov 15, 2025
1b859fd
bsdinstall: Don't install FreeBSD-base.conf
cperciva Nov 15, 2025
5d83213
pkg: Add FreeBSD-base to /etc/pkg/FreeBSD.conf
cperciva Nov 15, 2025
75ee49d
GCE: Add TARGET and FS to image family
ajorg Nov 14, 2025
c0a98d7
GCE: Specify the architecture of images
ajorg Nov 14, 2025
567ba10
GCE: Don't .error on unsupported targets
cperciva Nov 15, 2025
dbe26fa
vmimage.subr: Log pkg/local.sqlite if pkgbase
cperciva Nov 15, 2025
9835413
bsdinstall: Enable FreeBSD-base repo when pkgbase
cperciva Nov 15, 2025
93c5db9
vmimage.subr: Enable FreeBSD-base repo if pkgbase
cperciva Nov 15, 2025
6ac6550
vmimage.subr: autoremove -y
cperciva Nov 16, 2025
1ef6b8e
vmimage.subr: Don't log missing files from pkgs
cperciva Nov 16, 2025
acf9009
15.0: Switch from "quarterly" to "release" pkgs
cperciva Nov 16, 2025
da0c913
15.0: Update to RC1
cperciva Nov 16, 2025
c87b89d
vmimage.subr: Log correct paths into METALOG
cperciva Nov 16, 2025
fb51f37
release: Add /boot/loader.conf to some cloudware
cperciva Nov 18, 2025
0f4c3dc
GCE: Add /usr/src and /usr/ports to METALOG
cperciva Nov 18, 2025
f662793
release: Add a MISSING_METALOGS hack to VMs
cperciva Nov 18, 2025
7bd80d8
15.0: Update to RC2
cperciva Nov 18, 2025
476aca4
UPDATING: Document FreeBSD-base pkg .conf shuffle
cperciva Nov 16, 2025
d02a08f
iichid: The IICHID spec defines the response to the RESET command as …
bsdphk Nov 18, 2025
7b5b0f4
zfs: merge openzfs/zfs@099f69ff5 (zfs-2.4-release) into stable/15
mmatuska Nov 18, 2025
d10ce38
zfs: update zfs_config.h and zfs_gitrev.h to zfs-2.4.0-rc4
mmatuska Nov 18, 2025
c30f4ad
zfs: fix aarch64 build after zfs-2.4.0-rc4
mmatuska Nov 17, 2025
7b31e6a
nvme: Fix backwards sense of error condition
bsdimp Nov 18, 2025
2c5edd4
nvme: Notify namespace changes better
WanpengQian Nov 18, 2025
0ccc71d
nvme: Refactor geom setting to function.
WanpengQian Nov 18, 2025
ecfb0e5
nda: React to namespace change events
WanpengQian Nov 18, 2025
da71efa
nvd: handle namespace changes
WanpengQian Nov 18, 2025
e4416d1
nvme_sim: signal namespace depature
WanpengQian Nov 18, 2025
07b7bd2
release: Remove KDE from dvd1.iso
cperciva Nov 18, 2025
4579378
15.0: Update to RC3
cperciva Nov 21, 2025
a14c4d0
dmesg.8: Index kern.msgbuf_show_timestamp
concussious Nov 21, 2025
56f49dd
vt.4: Document increasing scrollback size
concussious Nov 21, 2025
f7fd040
freebsd-tips: Add a shell function for laptops
concussious Nov 14, 2025
bba7812
loader manuals: Clarify console and boot_serial
concussious Nov 14, 2025
d84de55
loader.8: Document module commands
concussious Nov 14, 2025
54808d5
cp: Fix copying the root directory
dag-erling Nov 22, 2025
fb9252e
Add backup pkgbase signing key held by security-officer.
tetlowgm Nov 22, 2025
9f43dc5
release: Ship DVD with only emacs@nox flavour
cperciva Nov 23, 2025
8fdafb3
pam_krb5: Restore allow_kdc_spoof option
dag-erling Nov 24, 2025
bada4c3
pam_krb5: Fix manual page in MIT case
dag-erling Nov 24, 2025
76883b7
inotify: Work around the vput() bug directly
markjdb Nov 15, 2025
91e2d7b
15.0: Update to RC4
cperciva Nov 24, 2025
cda51d0
jemalloc: import jemalloc 5.3.0 man page
mchoo7 Nov 17, 2025
020e15a
jemalloc: apply freebsd changes to jemalloc 5.3.0 man page
mchoo7 Nov 17, 2025
4f2d5bc
nda: fix setting of unmappedio flag
Nov 25, 2025
dabd406
Mitigate YXDOMAIN and nodata non-referral answer poisoning.
tetlowgm Nov 21, 2025
c7ccd5b
Add UPDATING entry and bump version number.
tetlowgm Nov 22, 2025
f73d78e
bsdinstall: Ignore -p[0-9]+ in determining BRANCH
cperciva Nov 26, 2025
20ebb6e
mdo.1: Document group-related and fine-grained control functionalities
OlCe2 Sep 1, 2025
463cec1
pkg: Move FreeBSD-base to pkg.freebsd.org
cperciva Nov 27, 2025
7aedc8d
Update in preparation for 15.0-RELEASE
cperciva Nov 28, 2025
ff6b9c7
zfs: Merge commit 86b064469dc9c2 from OpenZFS
markjdb Dec 14, 2025
04e9f1a
amd64/vmm.c: Fix an incorrect memory segment check in vm_iommu_{un}map
bnovkov Dec 13, 2025
408f5c6
rtsold: Validate entries in domain search lists
markjdb Dec 15, 2025
63a5b64
Add UPDATING entries and bump version.
markjdb Dec 16, 2025
6a192c1
Revert "devinfo: Add support for libxo"
bsdjhb Dec 15, 2025
679b1a8
arm64: Correctly align the SVE signal context
zxombie Jan 6, 2026
6e279fe
vm_object_page_remove(): clear pager even if there is no resident pages
kostikbel Nov 22, 2025
bb15003
vm_fault: only rely on PG_ZERO when the page was newly allocated
kostikbel Nov 28, 2025
02f448f
openssl: Fix multiple vulnerabilities
tetlowgm Jan 26, 2026
5fb0f8e
Add UPDATING entries and bump patch version
markjdb Jan 26, 2026
539bbdb
arm64: Fix kernel panic in get_arm64_sve during core dump
wac- Jan 5, 2026
e4781e4
blocklistd: Fix multiple bugs
dag-erling Feb 7, 2026
5cf7232
Add UPDATING entries and bump version
markjdb Feb 9, 2026
654f8ab
Identify Apple M4 Seymour and add JackS config
Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ compute_engine_instance:
# gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
platform: freebsd
image_project: freebsd-org-cloud-dev
image: freebsd-14-2-release-amd64-ufs
image: freebsd-14-3-release-amd64-ufs
cpu: 8
memory: 8G
disk: 40
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ tags
.clangd
.ccls-cache
sys/*/compile
/src.conf
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ TGTS= all all-man buildenv buildenvvars buildetc buildkernel buildworld \
create-packages-world create-packages-kernel \
create-packages-kernel-repo create-packages-world-repo \
create-packages-source create-packages \
update-packages packages installconfig real-packages real-update-packages \
installconfig real-packages real-update-packages \
sign-packages package-pkg print-dir test-system-compiler test-system-linker \
test-includes

Expand Down Expand Up @@ -219,6 +219,8 @@ META_TGT_WHITELIST+= build${libcompat}
.ORDER: buildworld distribute
.ORDER: buildworld distributeworld
.ORDER: buildworld buildkernel
.ORDER: buildworld packages
.ORDER: buildworld update-packages
.ORDER: distrib-dirs distribute
.ORDER: distrib-dirs distributeworld
.ORDER: distrib-dirs installworld
Expand All @@ -232,6 +234,8 @@ META_TGT_WHITELIST+= build${libcompat}
.ORDER: buildkernel installkernel.debug
.ORDER: buildkernel reinstallkernel
.ORDER: buildkernel reinstallkernel.debug
.ORDER: buildkernel packages
.ORDER: buildkernel update-packages
.ORDER: kernel-toolchain buildkernel

# Only sanitize PATH on FreeBSD.
Expand Down Expand Up @@ -517,6 +521,9 @@ kernels: .PHONY
worlds: .PHONY
@cd ${.CURDIR}; ${SUB_MAKE} UNIVERSE_TARGET=buildworld universe

packages update-packages: .PHONY
${_+_}@cd ${.CURDIR}; ${_MAKE} DISTDIR=/ ${.TARGET}

#
# universe
#
Expand Down
125 changes: 93 additions & 32 deletions Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ SUBDIR+= ${_DIR}
# by calling 'makedb' in share/man. This is only relevant for
# install/distribute so they build the whatis file after every manpage is
# installed.
.if make(installworld) || make(install)
.if make(installworld) || make(install) || make(distributeworld) || make(distribute)
SUBDIR+=.WAIT
.endif
SUBDIR+=etc
Expand Down Expand Up @@ -585,10 +585,10 @@ BRANCH_EXT= ${MAJOR_REVISION}.snap
EXTRA_REVISION= .snap${_TIMENOW}
.elif ${_BRANCH:MALPHA*}
BRANCH_EXT= alpha
EXTRA_REVISION= .${_BRANCH:C/ALPHA([0-9]+).*/\1/}.${_TIMENOW}
EXTRA_REVISION= .a${_BRANCH:C/ALPHA([0-9]+).*/\1/}.${_TIMENOW}
.elif ${_BRANCH:MBETA*}
BRANCH_EXT= beta
EXTRA_REVISION= .${_BRANCH:C/BETA([0-9]+).*/\1/}.${_TIMENOW}
EXTRA_REVISION= .b${_BRANCH:C/BETA([0-9]+).*/\1/}.${_TIMENOW}
.elif ${_BRANCH:MRC*}
BRANCH_EXT= rc
EXTRA_REVISION= .rc${_BRANCH:C/RC([0-9]+).*/\1/}.${_TIMENOW}
Expand All @@ -600,7 +600,16 @@ PKG_VERSION:= ${_PKG_REVISION}${EXTRA_REVISION:C/[[:space:]]//g}
.endif
.endif # !defined(_MKSHOWCONFIG)

PKG_NAME_PREFIX?= FreeBSD
PKG_MAINTAINER?= re@FreeBSD.org
PKG_WWW?= https://www.FreeBSD.org
PKG_WORKERS_COUNT?= 1

.if make(*package*)
.export PKG_NAME_PREFIX
.export PKG_MAINTAINER
.export PKG_WWW

.if !defined(PKG_TIMESTAMP)
.if !empty(GIT_CMD) && exists(${GIT_CMD}) && exists(${SRCDIR}/.git)
SOURCE_DATE_EPOCH!= ${GIT_CMD} -C ${SRCDIR} show -s --format=%ct HEAD
Expand All @@ -611,14 +620,6 @@ SOURCE_DATE_EPOCH= ${TIMEEPOCHNOW:gmtime}
.else
SOURCE_DATE_EPOCH= ${PKG_TIMESTAMP}
.endif
PKG_WORKERS_COUNT?= 1

PKG_NAME_PREFIX?= FreeBSD
PKG_MAINTAINER?= re@FreeBSD.org
PKG_WWW?= https://www.FreeBSD.org
.export PKG_NAME_PREFIX
.export PKG_MAINTAINER
.export PKG_WWW
.endif

.if !defined(_MKSHOWCONFIG)
Expand Down Expand Up @@ -1366,6 +1367,28 @@ __installcheck_DESTDIR: .PHONY
.endif
.endif

#
# Don't allow installworld or installkernel on a pkgbase system. This avoids
# accidentally updating a pkgbase system with install{world,kernel}, causing
# the installed system to become out of date with the package database.
#
# Skip the check if DESTDIR is defined on the assumption the user knows what
# they're doing. This means the check can be disabled for the running system
# using DESTDIR=/.
#
.if !make(distributeworld) && !defined(DESTDIR)
_installcheck_world: __installcheck_PKG
_installcheck_kernel: __installcheck_PKG
__installcheck_PKG: .PHONY
.if exists(${LOCALBASE}/sbin/pkg-static)
@if ${LOCALBASE}/sbin/pkg-static info -e ${PKG_NAME_PREFIX}-runtime; then \
echo >&2 "ERROR: This target should not be used on a system installed from packages." ; \
echo >&2 " To override this check, set DESTDIR=/."; \
false; \
fi
.endif
.endif

.if !defined(DB_FROM_SRC)
#
# Check for missing UIDs/GIDs.
Expand Down Expand Up @@ -1977,6 +2000,7 @@ REPODIR?= ${OBJROOT}repo
PKG_FORMAT?= tzst
PKG_LEVEL?= -1
PKG_CLEVEL?= ${"${PKG_FORMAT:Mtar}" != "":?:-l ${PKG_LEVEL}}
PKG_CTHREADS?= 0
PKG_REPO_SIGNING_KEY?= # empty
PKG_OUTPUT_DIR?= ${PKG_VERSION}
PKG_ABI_FILE?= ${WSTAGEDIR}/usr/bin/uname
Expand All @@ -1992,16 +2016,20 @@ PKG_ABI!= ${PKG_CMD} -o ABI_FILE=${PKG_ABI_FILE} config ABI

_pkgbootstrap: .PHONY
.if make(*package*) && !exists(${LOCALBASE}/sbin/pkg)
.if defined(BOOTSTRAP_PKG_FROM_PORTS)
env - UNAME_r=${UNAME_r} PATH=$$PATH \
make -C ${PORTSDIR}/ports-mgmt/pkg \
I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE=1 \
BATCH=1 WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles \
all install clean
.else
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
.endif
.endif

PKG_BIN_VERSION!=${PKG_CMD} --version </dev/null 2>/dev/null |\
awk -F. '/^[0-9.]+$$/ {print $$1 * 10000 + $$2 * 100 + $$3}'
.if ${PKG_BIN_VERSION} < 11700
PKG_EXT= ${PKG_FORMAT}
.else
awk -F. '/^[0-9.]+(-.*)?$$/ {print $$1 * 10000 + $$2 * 100 + $$3}'
PKG_EXT= pkg
.endif

.if !defined(PKG_VERSION_FROM) && make(real-update-packages) && \
exists(${PKG_ABI_FILE}) && exists(${REPODIR}/${PKG_ABI}/latest)
Expand Down Expand Up @@ -2038,13 +2066,17 @@ packages: .PHONY
update-packages: .PHONY
${_+_}${MAKE} -C ${.CURDIR} ${PKGMAKEARGS} real-update-packages

package-pkg: .PHONY
package-pkg: _pkgbootstrap _repodir .PHONY
.if defined(INCLUDE_PKG_IN_PKGBASE_REPO)
.if exists(${PORTSDIR})
rm -rf /tmp/ports.${TARGET} || :
env ${WMAKEENV:Q} SRCDIR=${.CURDIR} PORTSDIR=${PORTSDIR} REVISION=${_REVISION} \
env ${WMAKEENV} SRCDIR=${.CURDIR} PORTSDIR=${PORTSDIR} REVISION=${_REVISION} \
PKG_CMD=${PKG_CMD} PKG_VERSION=${PKG_VERSION} REPODIR=${REPODIR} \
WSTAGEDIR=${WSTAGEDIR} \
OSVERSION="${SRCRELDATE}" \
OSVERSION="${SRCRELDATE}" LOCALBASE=${LOCALBASE} \
sh ${.CURDIR}/release/scripts/make-pkg-package.sh
.endif
.endif

real-packages: stage-packages create-packages sign-packages .PHONY

Expand Down Expand Up @@ -2097,6 +2129,15 @@ create-packages-world: _pkgbootstrap _repodir .PHONY
DESTDIR=${WSTAGEDIR} \
PKG_VERSION=${PKG_VERSION} create-world-packages

.ORDER: create-packages-world create-packages-sets
.ORDER: create-packages-kernel create-packages-sets
.ORDER: create-packages-source create-packages-sets
create-packages-sets: _pkgbootstrap _repodir .PHONY
${_+_}@cd ${.CURDIR}; \
${MAKE} -f Makefile.inc1 \
DESTDIR=${WSTAGEDIR} \
PKG_VERSION=${PKG_VERSION} create-sets-packages

create-packages-kernel: _pkgbootstrap _repodir .PHONY
${_+_}@cd ${.CURDIR}; \
${MAKE} -f Makefile.inc1 \
Expand All @@ -2109,6 +2150,8 @@ create-packages-kernel-repo: .PHONY create-packages-kernel sign-packages

create-packages-world-repo: .PHONY create-packages-world sign-packages

create-packages-sets-repo: .PHONY create-packages-sets sign-packages

create-packages-source: _pkgbootstrap _repodir .PHONY
${_+_}@cd ${.CURDIR}; \
${MAKE} -f Makefile.inc1 \
Expand All @@ -2117,7 +2160,7 @@ create-packages-source: _pkgbootstrap _repodir .PHONY
SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \
create-source-packages

create-packages: .PHONY create-packages-world create-packages-kernel create-packages-source
create-packages: .PHONY create-packages-world create-packages-kernel create-packages-source package-pkg create-packages-sets

create-source-src-package: _pkgbootstrap .PHONY
rm -f ${SSTAGEDIR}/src.plist 2>/dev/null || :
Expand All @@ -2138,7 +2181,7 @@ create-source-src-package: _pkgbootstrap .PHONY
${SSTAGEDIR}/src.ucl
${PKG_CMD} -o ABI=${PKG_ABI} \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${SSTAGEDIR}/src.ucl \
-p ${SSTAGEDIR}/src.plist \
-r ${SRCDIR} \
Expand All @@ -2164,7 +2207,7 @@ create-source-src-sys-package: _pkgbootstrap .PHONY
${SSTAGEDIR}/src-sys.ucl
${PKG_CMD} -o ABI=${PKG_ABI} \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${SSTAGEDIR}/src-sys.ucl \
-p ${SSTAGEDIR}/src-sys.plist \
-r ${SRCDIR} \
Expand Down Expand Up @@ -2207,20 +2250,38 @@ create-world-package-${pkgname}: .PHONY
fi
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${WSTAGEDIR}/${pkgname}.ucl \
-p ${WSTAGEDIR}/${pkgname}.plist \
-r ${WSTAGEDIR} \
-o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}
.endfor

create-sets-packages-jobs: .PHONY create-sets-packages
create-sets-packages: .PHONY
@echo "==> Creating set metapackages."
sh "${SRCDIR}/release/packages/create-sets.sh" "${SRCDIR}" \
"${WSTAGEDIR}" "${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}" \
VERSION "${PKG_VERSION}" \
PKG_NAME_PREFIX "${PKG_NAME_PREFIX}" \
PKG_MAINTAINER "${PKG_MAINTAINER}" \
PKG_WWW "${PKG_WWW}"
@for manifest in ${WSTAGEDIR}/set-*.ucl; do \
echo "--> Processing manifest: $$manifest"; \
${PKG_CMD} -o ABI=${PKG_ABI} -o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M $$manifest \
-o "${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR}" \
|| exit 1; \
done

_default_flavor= -default
.if make(*package*) && exists(${KSTAGEDIR}/kernel.meta)
. if ${MK_DEBUG_FILES} != "no"
_debug=-dbg
. endif

create-dtb-package:
create-dtb-package: .PHONY
@if [ -f ${KSTAGEDIR}/${DISTDIR}/dtb.plist ]; then \
${SRCDIR}/release/packages/generate-ucl.lua \
PKGNAME "dtb" \
Expand All @@ -2238,16 +2299,19 @@ create-dtb-package:
${KSTAGEDIR}/${DISTDIR}/dtb.ucl ; \
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${KSTAGEDIR}/${DISTDIR}/dtb.ucl \
-p ${KSTAGEDIR}/${DISTDIR}/dtb.plist \
-r ${KSTAGEDIR}/${DISTDIR} \
-o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR} ; \
fi

create-kernel-packages: .PHONY
create-kernel-packages: .PHONY create-kernel-flavored-packages create-dtb-package
create-kernel-flavored-packages: .PHONY
.ORDER: create-kernel-flavored-packages create-dtb-package

. for flavor in "" ${_debug}
create-kernel-packages: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},} create-dtb-package
create-kernel-flavored-packages: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}
create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .PHONY
@cd ${KSTAGEDIR}/${DISTDIR} ; \
${METALOG_SORT_CMD} ${KSTAGEDIR}/kernel.meta | \
Expand All @@ -2272,7 +2336,7 @@ create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap
${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl ; \
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl \
-p ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.plist \
-r ${KSTAGEDIR}/${DISTDIR} \
Expand Down Expand Up @@ -2312,7 +2376,7 @@ create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kerne
${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl ; \
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
-o OSVERSION="${SRCRELDATE}" \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
create -f ${PKG_FORMAT} ${PKG_CLEVEL} -T${PKG_CTHREADS} \
-M ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl \
-p ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.plist \
-r ${KSTAGEDIR}/kernel.${_kernel} \
Expand All @@ -2331,9 +2395,6 @@ sign-packages: .PHONY

real-sign-packages: _pkgbootstrap .PHONY
printf "version = 2;\n" > ${WSTAGEDIR}/meta
.if ${PKG_BIN_VERSION} < 11700
printf "packing_format = \"${PKG_FORMAT}\";\n" >> ${WSTAGEDIR}/meta
.endif
@${PKG_CMD} -o ABI=${PKG_ABI} -o OSVERSION="${SRCRELDATE}" \
-o WORKERS_COUNT=${PKG_WORKERS_COUNT} repo \
-m ${WSTAGEDIR}/meta \
Expand Down
27 changes: 27 additions & 0 deletions ObsoleteFiles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,33 @@
# xargs -n1 | sort | uniq -d;
# done

# 20251121: Remove duplicate pam_krb5 manual page
OLD_FILES+=usr/share/man/man8/pam-krb5.8.gz

# 20251112: Remove pccard(4) and related
OLD_FILES+=share/man/man4/pccard.4.gz
OLD_FILES+=share/man/man4/pcic.4.gz

# 20251006: Remove libnss_tacplus.a (it never should have been installed)
OLD_FILES+=usr/lib/libnss_tacplus.a

# 20250930: Rename wlanstats to wlanstat
OLD_FILES+=usr/sbin/wlanstats
OLD_FILES+=usr/share/man/man8/wlanstats.8.gz

# 20250929: Remove ftpd(8)
OLD_FILES+=etc/rc.d/ftpd
OLD_FILES+=usr/libexec/ftpd
OLD_FILES+=usr/share/man/man5/ftpchroot.5.gz
OLD_FILES+=usr/share/man/man8/ftpd.8.gz

# 20250917: Remove a miscapitalized manual
OLD_FILES+=usr/share/man/man9/vnet.9.gz
OLD_FILES+=usr/share/man/man9/vimage.9.gz

# 20250911: This tool is no longer needed
OLD_FILES+=usr/tests/bin/cp/sparse

# 20250826: Remove a misspelled manual
OLD_FILES+=usr/share/man/man3/sysdecode_syscallnames.3.gz

Expand Down
Loading
Loading