sysutils/beats*: fix build on armv7
The patch "patch-go-sysinfo" ports a Linux-only go module to FreeBSD.
Due to two oversights, the patch did not build on armv7. Fix the patch,
ensuring that all beats versions build on armv7 FreeBSD. A subtle bug
is addressed, too: the patch would previously convert from microseconds
to nanoseconds for time.Unix() by multiplying with time.Microsecond,
which is not the correct value. Multiply with 1000 instead.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
(cherry picked from commit 22c1284107218bffffc201881f84cb01ed33b141)
devel/cvs-devel: fix build on armv7
Same issue as was previously fixed in 36fcf661b for devel/blame.
A 64 bit time_t with a 32 bit long confuses the gnulib mktime.c
implementation. Apply the same upstream patch to fix the build.
Obtained from: 36fcf661ba23c96004395f6ee52cf2e6133b31f0
MFH: 2026Q2
Approved by: portmgr (build fix blanket)
(cherry picked from commit 978896a191d705a495efbaf98f3d8e1e47b68ef8)
archivers/archmerge: NEW PORT, replaces archivers/zipmix
Different compression programs result in different
compression ratios and compress different types of files
unequally.
Archmerge will take the best files from each archive and
create a new output file, which is guaranteed to be equal
to, or smaller in size than both of the input files. Archmerge
can also be used to perform boolean operations on archives,
such as merging 2 archives together, or updating a new file.
NOTE: in it's current incarnation. Archmerge only operates on
zip archives. Additional compression algorithms and techniques
will be added soon.
WWW: https://codeberg.org/BSDforge/archmerge
PR: 294920, 293749
devel/cvs-devel: fix build on armv7
Same issue as was previously fixed in 36fcf661b for devel/blame.
A 64 bit time_t with a 32 bit long confuses the gnulib mktime.c
implementation. Apply the same upstream patch to fix the build.
Obtained from: 36fcf661ba23c96004395f6ee52cf2e6133b31f0
MFH: 2026Q2
Approved by: portmgr (build fix blanket)
sysutils/beats*: fix build on armv7
The patch "patch-go-sysinfo" ports a Linux-only go module to FreeBSD.
Due to two oversights, the patch did not build on armv7. Fix the patch,
ensuring that all beats versions build on armv7 FreeBSD. A subtle bug
is addressed, too: the patch would previously convert from microseconds
to nanoseconds for time.Unix() by multiplying with time.Microsecond,
which is not the correct value. Multiply with 1000 instead.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
lang/gnat1?: fix build with GNU strip
After D55509 $STRIP_CMD has been set to GNU strip for these ports, and in some
cases this breaks, because GNU strip will refuse to strip non-writable files,
while LLVM strip is happy to (attempt to) strip them.
PR: 294657
Reported by: kib at FreeBSD.org
Reviewed by: kib at FreeBSD.org
Phabricator: D55509
MFC after: 8 days
(cherry picked from commit 3d69dd6df87f1ef85fb4869f15be3ddc6099e605)
net/tcpstats-{kmod,reader}: Add new ports
tcpstats-kmod is a FreeBSD kernel module that exports per-connection
TCP socket statistics via a /dev/tcpstats character device.
Provides 320-byte fixed-size records containing addresses, ports,
TCP state, congestion control parameters, RTT measurements,
retransmit counts, and ECN state.
Includes a tcpstats(4) man page.
tcpstats-reader is a companion CLI tool that reads from /dev/tcpstats
and outputs JSON Lines to stdout.
Includes a tcpstats-reader(1) man page.
WWW: https://github.com/randomizedcoder/bsd-xtcp
Signed-off-by: randomizedcoder <dave.seddon.ca at gmail.com>
Approved by: fuz (ports)
Reviewed by: fuz, pouria
Pull-Request: https://github.com/freebsd/freebsd-ports/pull/497
devel/capnproto: Remove BROKEN because it's actually working
There are 2 failing testcases out of 480 in kj-heavy-tests-run:
kj/async-unix-test.c++:977: failed: expected hupPromise.poll(waitScope)
[ FAIL ] async-unix-test.c++:941: UnixEventPort whenWriteDisconnected() (221 μs)
kj/async-io-test.c++:2953: failed: expected abortedPromise.poll(io.waitScope)
[ FAIL ] async-io-test.c++:2940: OS TwoWayPipe whenWriteDisconnected() (46 μs)
and this will be addressed but should not prevent us from building packages.
Scope of this seems to be limited to FreeBSD 15+ and exists at least since
capnproto 1.3+ but was actually only noticed when running the testsuite.
PR: 294259
See: https://github.com/capnproto/capnproto/issues/2594