The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=9b75d6ec6929e7e6723fbfeb52f60acfa63e5dbc
commit 9b75d6ec6929e7e6723fbfeb52f60acfa63e5dbc Author: Dag-Erling Smørgrav <[email protected]> AuthorDate: 2026-02-19 17:55:06 +0000 Commit: Dag-Erling Smørgrav <[email protected]> CommitDate: 2026-02-26 04:23:04 +0000 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) --- usr.sbin/lpr/chkprintcap/chkprintcap.8 | 3 +++ usr.sbin/lpr/lp/lp.1 | 3 +++ usr.sbin/lpr/lpc/lpc.8 | 3 +++ usr.sbin/lpr/lpd/lpd.8 | 3 +++ usr.sbin/lpr/lpq/lpq.1 | 3 +++ usr.sbin/lpr/lpr/lpr.1 | 3 +++ usr.sbin/lpr/lpr/printcap.5 | 3 +++ usr.sbin/lpr/lprm/lprm.1 | 3 +++ usr.sbin/lpr/lptest/lptest.1 | 3 +++ usr.sbin/lpr/pac/pac.8 | 3 +++ 10 files changed, 30 insertions(+) diff --git a/usr.sbin/lpr/chkprintcap/chkprintcap.8 b/usr.sbin/lpr/chkprintcap/chkprintcap.8 index 7aecf9fbb1b7..1e9638c2b5aa 100644 --- a/usr.sbin/lpr/chkprintcap/chkprintcap.8 +++ b/usr.sbin/lpr/chkprintcap/chkprintcap.8 @@ -34,6 +34,9 @@ .Nm .Op Fl d .Op Fl f Ar printcap +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lp/lp.1 b/usr.sbin/lpr/lp/lp.1 index 907ce867279e..fee272c456e5 100644 --- a/usr.sbin/lpr/lp/lp.1 +++ b/usr.sbin/lpr/lp/lp.1 @@ -44,6 +44,9 @@ .Op Fl d Ar printer .Op Fl n Ar num .Op Ar name ... +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lpc/lpc.8 b/usr.sbin/lpr/lpc/lpc.8 index 089be4ab3bfc..cc1ba05dd775 100644 --- a/usr.sbin/lpr/lpc/lpc.8 +++ b/usr.sbin/lpr/lpc/lpc.8 @@ -34,6 +34,9 @@ .Sh SYNOPSIS .Nm .Op Ar command Op Ar argument ... +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8 index eed37ea1d6f4..9a4e46996811 100644 --- a/usr.sbin/lpr/lpd/lpd.8 +++ b/usr.sbin/lpr/lpd/lpd.8 @@ -35,6 +35,9 @@ .Nm .Op Fl cdlpsFW46 .Op Ar port# +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lpq/lpq.1 b/usr.sbin/lpr/lpq/lpq.1 index c87bcbbaa94d..a5e26446ba76 100644 --- a/usr.sbin/lpr/lpq/lpq.1 +++ b/usr.sbin/lpr/lpq/lpq.1 @@ -38,6 +38,9 @@ .Op Fl P Ns Ar printer .Op job # ...\& .Op user ...\& +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lpr/lpr.1 b/usr.sbin/lpr/lpr/lpr.1 index b73870a0f46e..c4f86756b959 100644 --- a/usr.sbin/lpr/lpr/lpr.1 +++ b/usr.sbin/lpr/lpr/lpr.1 @@ -46,6 +46,9 @@ .Op Fl w Ar num .Op Fl cdfghlnmprstv .Op Ar name ... +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lpr/printcap.5 b/usr.sbin/lpr/lpr/printcap.5 index e745fafc7b27..e1bc891c5c09 100644 --- a/usr.sbin/lpr/lpr/printcap.5 +++ b/usr.sbin/lpr/lpr/printcap.5 @@ -33,6 +33,9 @@ .Nd printer capability data base .Sh SYNOPSIS .Nm +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm Printcap diff --git a/usr.sbin/lpr/lprm/lprm.1 b/usr.sbin/lpr/lprm/lprm.1 index 8d35a3434969..e6ae6e22012b 100644 --- a/usr.sbin/lpr/lprm/lprm.1 +++ b/usr.sbin/lpr/lprm/lprm.1 @@ -37,6 +37,9 @@ .Op Fl .Op job # ...\& .Op Ar user ...\& +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/lptest/lptest.1 b/usr.sbin/lpr/lptest/lptest.1 index 76f9c2418ce8..ba897c1ddccb 100644 --- a/usr.sbin/lpr/lptest/lptest.1 +++ b/usr.sbin/lpr/lptest/lptest.1 @@ -35,6 +35,9 @@ .Nm .Op Ar length .Op Ar count +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/lpr/pac/pac.8 b/usr.sbin/lpr/pac/pac.8 index 145d54ad4562..9443c3fc1ec2 100644 --- a/usr.sbin/lpr/pac/pac.8 +++ b/usr.sbin/lpr/pac/pac.8 @@ -40,6 +40,9 @@ .Op Fl s .Op Fl r .Op Ar name ... +.Sh DEPRECATION NOTICE +This facility is scheduled for removal prior to the release of +.Fx 16.0 . .Sh DESCRIPTION The .Nm
