Patches to build the updated cupsaddsmb in order to facilitate use of the new cups version 6 drivers. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 71941 [details, diff] patch to update cupsaddsmb.c updates cupsaddsmb.c to enable cups version 6 driver support with cupsaddsmb
Created attachment 71943 [details, diff] updates cups-1.1.23-r4.ebuild to apply the cupsaddsmb.patch The ebuild looks for the cupsaddsmb.patch in $FILESDIR (/usr/portage/net-print/cups/files).
Please attach unified diffs (diff -u old new) when you change an ebuild.
Where did you get this patch from? Is it something that upstream recommends? What driver do you use?
Created the patch from a diff of the current cupsaddsmb.c and the one found at: http://svn.easysw.com/public/windows/trunk/ Mike Sweet has written that he believes the version 6 Windows drivers to be stable. Apparently they will make into the 1.2 CUPS release. They can be downloaded and used as is from the same link as above. The cupsaddsmb utility is not the only way to initialize Samba for the drivers use but it is the easiest. But the new cupsaddsmb found at the link above is needed for the version 6 drivers. I have been using this ebuild and patch on production systems with the version 6 drivers installed on various Win2k and XP systems printing via Samba/CUPS since I opened this issue. All works excellent.
That is certainly desirable to have, I will add the patch.
Super. Thanks!
Thanks, fixed