Mantis - cupsclient
Viewing Issue Advanced Details
4044 packaging minor N/A 2009-11-17 13:05 2009-12-08 20:20
skayser  
maciej  
normal  
closed  
fixed  
none    
none  
0004044: Please include /etc/opt/csw/cups in CSWcupsclient
Thanks for packaging an updated CUPS first of all! Time for the first bug report ;)

The client binaries from cupsclient are looking for /etc/opt/csw/cups/client.conf, but /etc/opt/csw/cups isn't part of the package.

# truss -topen lpq 2>&1 | grep client.conf
open64("/root/.cups/client.conf", O_RDONLY|O_LARGEFILE) Err#2 ENOENT
open64("/etc/opt/csw/cups/client.conf", O_RDONLY|O_LARGEFILE) Err#2 ENOENT

# pkgutil -L cupsclient | grep /etc
#

Could you please include /etc/opt/csw/cups in the cupsclient package - or maybe even in libcups, don't know whether the lib themselves might make use of the directory.

Also, if there are any client.conf examples in the cups distribution could you include a sample client.conf configuration or put some of those examples in $(docdir)/cupsclient/ to assist users in getting their configuration up and running?
# pkgparam CSWcupsclient VERSION
1.4.1,REV=2009.11.10
Issue History
2009-11-17 13:05 skayser New Issue
2009-11-17 13:10 maciej Status new => assigned
2009-11-17 13:10 maciej Assigned To => maciej
2009-11-18 08:53 maciej Note Added: 0007000
2009-11-18 08:53 maciej Status assigned => feedback
2009-11-18 10:51 skayser Note Added: 0007009
2009-12-08 20:20 maciej Note Added: 0007079
2009-12-08 20:20 maciej Status feedback => closed
2009-12-08 20:20 maciej Resolution open => fixed

Notes
(0007000)
maciej   
2009-11-18 08:53   
I wrote a stub client.conf file myself, as cups distribution doesn't contain any example.

Updated cupsclient version is in testing/.

Does it look good to you?
(0007009)
skayser   
2009-11-18 10:51   
Yes, it does. Thanks.
(0007079)
maciej   
2009-12-08 20:20   
Fixed.