Re: Retiring lpr and lpd
Cy Schubert <[email protected]> Sat, 21 Feb 2026 07:03:12 -0800
| Newsgroups | gmane.os.freebsd.architechture |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav? = w rites: > Hi, > > The lp* family of printing utilities have received practically no > maintenance in two decades and are showing their age. What's worse, > most of them are setugid, and lpd(8) is a network-facing daemon with > IP-based authentication and little to no input validation. Furthermore, > better-maintained alternatives are available from ports: print/lprng is > a drop-in replacement derived from the same code base, while print/cups > provides far more functionality and a compatible command-line interface. > > Unless someone steps up and does a credible job of modernizing these > utilities, we have no other choice than to retire lp(1), lpc(8), lpd(8), > lpq(1), lpr(1), lprm(1), lptest(1), and pac(8) from base. > > In the next few days, I will commit patches to add deprecation notices > to all relevant manual pages (D55381) and switch the LPR build option > from default-on to default-off (D55380). The code will remain in the > tree, and remain buildable, but unless the situation changes, it will be > removed from the tree no later than shortly before stable/16 is branched > in the fall of 2027. Sorry for coming late to the party. I've been AFK since Friday (and will be pretty much AFK until Monday or Tuesday). I have extracted lpr/lpd and friends into its own repo on GH and will create a port sometime next week or two. Personally, I stopped using lpr/lpd when the filter I was using didn't natively support a new replacement printer we had purchased. Rather than muck around with filters and print fonts, which turned out to be a waste of time after a short while, I was forced to use cups instead. The printer supports an IPP interface. Cups is overly complex for the printing I do but it does work. I haven't had a directly connected printer for a couple of years now. > > DES > --=20 > Dag-Erling Sm=C3=B8rgrav - [email protected] > -- Cheers, Cy Schubert <[email protected]> FreeBSD UNIX: <[email protected]> Web: https://FreeBSD.org NTP: <[email protected]> Web: https://nwtime.org e**(i*pi)+1=0