tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re-enabling cups option in gtk3

On Mon, 11 May 2020 at 13:16, Greg Troxel <> wrote:
> The real problem is installing these programs:
>   /usr/pkg/bin/lp
>   /usr/pkg/bin/lpq
>   /usr/pkg/bin/lpr
>   /usr/pkg/bin/lprm
> because they cause a system with working printing via lpr to suddenly
> try to print via cups, which 1) is not something the user asked for and
> 2) is almost certainly not going to work on a system where cups is not
> configured.
> I think regardless of other concerns, it's really not ok in general to
> have programs that shadow base programs installed by a package that is a
> dependency, rather than something the user explicitly asked for.
> So, the question is how to make progress.  Looking at heimdal, there is
> the kerberos-prefix-cmds option which defaults to on, and renames the su
> built by heimdal to ksu (which was actually the traditional name in the
> 80s and 90s anyway).

Could this be managed by extending pkg_alternatives to support
symlinking to base binaries?

That would allow the same binary cups package to work for people who
want $PREFIX/bin/lpr and friends to be cups or default OS versions...


Home | Main Index | Thread Index | Old Index