Bug 93960 - net-print/cups cleanup and Gentoo/FreeBSD compatibility
|
Bug#:
93960
|
Product: Gentoo/Alt
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: printing@gentoo.org
|
Reported By: flameeyes@gentoo.org
|
|
Component: Other
|
|
|
URL:
|
|
Summary: net-print/cups cleanup and Gentoo/FreeBSD compatibility
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-05-25 09:45 0000
|
Currently cups uses lp user/group which doesn't exists on FreeBSD systems.
Adding the user in pkg_setup should do the trick of having it working right, I think.
Thanks,
Diego
I'm going to attach a patch to the ebuild and one for cups sources to make
cups work on Gentoo/FreeBSD (and the patch is also needed for Gentoo/Darwin).
The first one cleanups generally the ebuild using econf (passing the right
params to be able to have the same layout as now) and emake, adding gnutls
useflag (on fbsd is the default) and using use_enable to enable/disable
optional stuff.
There's also a patch to fix the QA Notice about lppasswd being suid and with
lazy bindings.
Thanks.
gnutls is not available on s390, so i can't commit this one.
s390: please mark net-libs/gnutls
commited as cups-1.1.23-r4
It looks like the lazy bindings patch got broken in net-print/cups-1.1.23-r7
See the following:
emerge -v1 cups
<snip>
/usr/portage/net-print/cups/cups-1.1.23-r7.ebuild: line 68: bindnow_flags:
command not found
<snip>
QA Notice: the following files are setXid, dyn linked, and using lazy bindings
This combination is generally discouraged. Try re-emerging the package:
LDFLAGS='-Wl,-z,now' emerge cups
LAZY usr/bin/lppasswd
The function name was wrong, committing right now with right name.