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.
Created attachment 60004 [details, diff] cups-gentooalt.patch
Created attachment 60005 [details, diff] cups-lppasswd-setXid.patch
Created attachment 60006 [details, diff] Ebuild patch
gnutls is not available on s390, so i can't commit this one. s390: please mark net-libs/gnutls
done... :-)
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.