FreeBSD/src 6e2940ausr.sbin/lpr/lpd lpd.8

lpd: Reorder option list in manual page

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57182

(cherry picked from commit 8e917789732ae02a480e8756899d3bc6d99fe5d8)
DeltaFile
+18-24usr.sbin/lpr/lpd/lpd.8
+18-241 files

FreeBSD/src 7c11b5fusr.sbin/lpr/lpd printjob.c

lpd: Avoid buffer overflow when sending a job

When forwarding a print job to a remote server, we could overflow the
command buffer if a control or data file had a very long name.

MFC after:      1 week
Reported by:    Joshua Rogers <joshua at joshua.hu>
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57184

(cherry picked from commit f2c7c5f94803b67a9a6af625d4fc8882d2afda6c)
DeltaFile
+20-11usr.sbin/lpr/lpd/printjob.c
+20-111 files

FreeBSD/src 94da67busr.sbin/lpr/lpd printjob.c

lpd: Style and whitespace cleanup

No functional change intended.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57186

(cherry picked from commit 123591e41c559fc2ae0f179f1385df05132881da)
DeltaFile
+92-99usr.sbin/lpr/lpd/printjob.c
+92-991 files

FreeBSD/src 980ead5usr.sbin/lpr/lpd printjob.c

lpd: Fix issues reported by clang-analyzer

Also, unlink our temporary file if we fail to chmod it.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57185

(cherry picked from commit 0f3e14870906da22a7ca821fb2153d375157cac2)
DeltaFile
+20-19usr.sbin/lpr/lpd/printjob.c
+20-191 files

FreeBSD/src 5f10e36usr.sbin/lpr/lpd lpd.8 lpd.c

lpd: Drop deprecated -p option

This alias for the -s option has been deprecated since 2002.  Time to
drop it from the documentation.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57183

(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
DeltaFile
+1-10usr.sbin/lpr/lpd/lpd.8
+0-3usr.sbin/lpr/lpd/lpd.c
+1-132 files

FreeBSD/src 85852feusr.sbin/lpr/lpd lpd.c lpd.8

lpd: Restore ability to specify a port number

This has been broken since IPv6 support was added in 2000.  We would
validate the port number (which had to be a port number, but can now
also be a service name) and then ignore it.

MFC after:      1 week
Fixes:          08829865f659 ("IPv6 support for lpr.")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57181

(cherry picked from commit c0cae7d8da50daa87af4cd6d7c9a2043343b506f)
DeltaFile
+9-19usr.sbin/lpr/lpd/lpd.c
+10-9usr.sbin/lpr/lpd/lpd.8
+19-282 files

FreeBSD/src b734006usr.sbin/lpr/chkprintcap chkprintcap.8, usr.sbin/lpr/lp lp.1

lpr: Add deprecation notice

These programs require elevated privileges to work and have not seen
regular maintenance in decades.  Unless someone steps up and overhauls
them, we will have to remove them before 16.0.  Better-maintained
alternatives are available in ports (print/cups, sysutils/LPRng).

MFC after:      3 days

(cherry picked from commit d57dee7ab66f60537b557cb602be194e3eed253d)
DeltaFile
+3-0usr.sbin/lpr/chkprintcap/chkprintcap.8
+3-0usr.sbin/lpr/lp/lp.1
+3-0usr.sbin/lpr/lpc/lpc.8
+3-0usr.sbin/lpr/lpd/lpd.8
+3-0usr.sbin/lpr/lpq/lpq.1
+3-0usr.sbin/lpr/lpr/lpr.1
+18-04 files not shown
+30-010 files

FreeBSD/src 02f9207usr.sbin/lpr/lpd printjob.c

lpd: Avoid buffer overflow when sending a job

When forwarding a print job to a remote server, we could overflow the
command buffer if a control or data file had a very long name.

MFC after:      1 week
Reported by:    Joshua Rogers <joshua at joshua.hu>
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57184

(cherry picked from commit f2c7c5f94803b67a9a6af625d4fc8882d2afda6c)
DeltaFile
+20-11usr.sbin/lpr/lpd/printjob.c
+20-111 files

FreeBSD/src 966ed82usr.sbin/lpr/lpd lpd.8

lpd: Reorder option list in manual page

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57182

(cherry picked from commit 8e917789732ae02a480e8756899d3bc6d99fe5d8)
DeltaFile
+18-24usr.sbin/lpr/lpd/lpd.8
+18-241 files

FreeBSD/src eb5bab2usr.sbin/lpr/lpd lpd.c lpd.8

lpd: Restore ability to specify a port number

This has been broken since IPv6 support was added in 2000.  We would
validate the port number (which had to be a port number, but can now
also be a service name) and then ignore it.

MFC after:      1 week
Fixes:          08829865f659 ("IPv6 support for lpr.")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57181

(cherry picked from commit c0cae7d8da50daa87af4cd6d7c9a2043343b506f)
DeltaFile
+9-19usr.sbin/lpr/lpd/lpd.c
+10-9usr.sbin/lpr/lpd/lpd.8
+19-282 files

FreeBSD/src a895394usr.sbin/lpr/lpd lpd.8 lpd.c

lpd: Drop deprecated -p option

This alias for the -s option has been deprecated since 2002.  Time to
drop it from the documentation.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57183

(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
DeltaFile
+1-10usr.sbin/lpr/lpd/lpd.8
+0-3usr.sbin/lpr/lpd/lpd.c
+1-132 files

FreeBSD/src b3a76abusr.sbin/lpr/lpd printjob.c

lpd: Fix issues reported by clang-analyzer

Also, unlink our temporary file if we fail to chmod it.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57185

(cherry picked from commit 0f3e14870906da22a7ca821fb2153d375157cac2)
DeltaFile
+20-19usr.sbin/lpr/lpd/printjob.c
+20-191 files

FreeBSD/src c4a0289usr.sbin/lpr/lpd printjob.c

lpd: Style and whitespace cleanup

No functional change intended.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57186

(cherry picked from commit 123591e41c559fc2ae0f179f1385df05132881da)
DeltaFile
+92-99usr.sbin/lpr/lpd/printjob.c
+92-991 files

FreeBSD/ports afdd7afsecurity Makefile, security/infisical-cli Makefile pkg-descr

security/infisical-cli: add new port for the official Infisical CLI

The Infisical CLI is a powerful command-line tool for secret management
that allows you to:

- Inject secrets into applications and development workflows
- Scan for secret leaks in your codebase and git history
- Export secrets to various formats (dotenv, JSON, YAML)
- Authenticate with Infisical Cloud or self-hosted instances
- Integrate with CI/CD pipelines and Docker containers
DeltaFile
+58-0security/infisical-cli/Makefile
+8-0security/infisical-cli/pkg-descr
+5-0security/infisical-cli/pkg-plist
+5-0security/infisical-cli/distinfo
+1-0security/Makefile
+77-05 files

FreeBSD/src 3d6c733libexec/talkd announce.c, usr.bin/wall ttymsg.c wall.c

ttymsg: Overhaul

* Instead of an error string, return the usual 0 or -1 and let the caller
  figure out what, if anything, to tell the user.

* Avoid string manipulations by opening /dev first and using openat()
  with O_RESOLVE_BENEATH.

* Add a boolean argument which, if false, causes ttymsg() to return
  without sending the message if the tty's group-writable bit is not
  set.  This saves programs that respect this setting (like syslogd(8))
  from having to check before calling ttymsg().

* Update all callers.

The observable effect of this change is minimal except for slightly
different error messages when ttymsg() fails.  However, syslogd(8) will
no longer print spurious error messages on the console after trying and
failing to write a log message to an X11 session.

    [7 lines not shown]
DeltaFile
+64-54usr.bin/wall/ttymsg.c
+9-39usr.sbin/syslogd/syslogd.c
+3-3usr.bin/wall/wall.c
+2-1libexec/talkd/announce.c
+1-1usr.bin/wall/ttymsg.h
+79-985 files

FreeBSD/src cf5cb2clibexec/talkd announce.c, usr.bin/wall ttymsg.c wall.c

ttymsg: Overhaul

* Instead of an error string, return the usual 0 or -1 and let the caller
  figure out what, if anything, to tell the user.

* Avoid string manipulations by opening /dev first and using openat()
  with O_RESOLVE_BENEATH.

* Add a boolean argument which, if false, causes ttymsg() to return
  without sending the message if the tty's group-writable bit is not
  set.  This saves programs that respect this setting (like syslogd(8))
  from having to check before calling ttymsg().

* Update all callers.

The observable effect of this change is minimal except for slightly
different error messages when ttymsg() fails.  However, syslogd(8) will
no longer print spurious error messages on the console after trying and
failing to write a log message to an X11 session.

    [7 lines not shown]
DeltaFile
+64-56usr.bin/wall/ttymsg.c
+21-37usr.sbin/syslogd/syslogd_cap_log.c
+10-37usr.sbin/syslogd/syslogd.c
+4-4usr.sbin/syslogd/syslogd_cap.h
+3-3usr.bin/wall/wall.c
+2-1libexec/talkd/announce.c
+104-1382 files not shown
+106-1408 files

FreeBSD/src ea10118sys/kern vfs_mount.c

vfs_domount(): handle the case when vn_lock_pair() only locked once

(cherry picked from commit f5433e784078ee139a37eb43ffa1d9e0e1f4f217)
DeltaFile
+6-2sys/kern/vfs_mount.c
+6-21 files

FreeBSD/src bae3d28sys/kern vfs_vnops.c, sys/sys vnode.h

vn_lock_pair(): handle the case of vp1->v_vnlock == vp2->v_vnlock

(cherry picked from commit ace4a3e177c0da5efd9ceee0d9f46068562e3f5e)
DeltaFile
+25-7sys/kern/vfs_vnops.c
+1-1sys/sys/vnode.h
+26-82 files

FreeBSD/ports ee9c493databases/pgbarman distinfo Makefile

databases/pgbarman: update to 3.19.1

Changes:        https://github.com/EnterpriseDB/barman/blob/release/3.19.1/RELNOTES.md
Reported by:    portscout
DeltaFile
+3-3databases/pgbarman/distinfo
+1-1databases/pgbarman/Makefile
+4-42 files

FreeBSD/ports 22b501fsecurity/vuxml/vuln 2026.xml

security/vuxml: Add OpenEXR vulnerabilities

PR:     295508
Sponsored by:   Netzkommune GmbH
DeltaFile
+35-0security/vuxml/vuln/2026.xml
+35-01 files

FreeBSD/ports 310faa9devel/gitaly distinfo, net/gitlab-agent distinfo

www/gitlab: security and bugfix update to 19.0.1

Changes:        https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-0-1-released/
DeltaFile
+11-11devel/gitaly/distinfo
+6-6www/gitlab/distinfo
+5-5net/gitlab-agent/distinfo
+5-5www/gitlab-pages/distinfo
+5-5www/gitlab-workhorse/distinfo
+1-1www/gitlab/Makefile.common
+33-336 files

FreeBSD/ports 516f8a5math/lean4 Makefile distinfo

math/lean4: Use leantar installed by math/leangz instead of bundling it

PR:             295656
Reported by:    Alastair Hogge <agh at riseup.net>
DeltaFile
+8-15math/lean4/Makefile
+1-5math/lean4/distinfo
+0-1math/lean4/pkg-plist
+9-213 files

FreeBSD/ports 904714escience/ncrystal distinfo Makefile, science/py-ncrystal distinfo Makefile

science/{,py-}ncrystal: update 4.4.2 → 4.4.4
DeltaFile
+3-3science/ncrystal/distinfo
+3-3science/py-ncrystal/distinfo
+2-2science/ncrystal/Makefile
+1-1science/py-ncrystal/Makefile
+9-94 files

FreeBSD/ports 7c68164science/py-symfc distinfo Makefile

science/py-symfc: update 1.7.1 → 1.7.2
DeltaFile
+3-3science/py-symfc/distinfo
+3-2science/py-symfc/Makefile
+6-52 files

FreeBSD/ports 8a71442audio/lyrionmusicserver Makefile

audio/lyrionmusicserver: enable on powerpc64*
DeltaFile
+9-1audio/lyrionmusicserver/Makefile
+9-11 files

FreeBSD/ports 1341feadatabases/soci Makefile

databases/soci: enable FIREBIRD on powerpc64le
DeltaFile
+1-2databases/soci/Makefile
+1-21 files

FreeBSD/ports a8467bdnet/krill Makefile

net/krill: enable on powerpc64*
DeltaFile
+1-1net/krill/Makefile
+1-11 files

FreeBSD/ports 5363c2cMk bsd.default-versions.mk

Mk/bsd.default-versions.mk: switch the default for FIREBIRD to 4.0 on powerpc64le

Only 4.0 works on powerpc64le.
DeltaFile
+4-0Mk/bsd.default-versions.mk
+4-01 files

FreeBSD/ports 0b73eedscience/mol2ps Makefile

science/mol2ps: enable on powerpc64*
DeltaFile
+1-1science/mol2ps/Makefile
+1-11 files

FreeBSD/ports 9f7bc2ascience/checkmol Makefile

science/checkmol: enable on powerpc64*
DeltaFile
+1-1science/checkmol/Makefile
+1-11 files