[redhat-lspp] Updated cups-lspp.patch (based on 1.2.2-6)

Matt Anderson mra at hp.com
Tue Aug 1 22:06:20 UTC 2006


Attached is an updated cups-lspp.patch file.  In this version I've
renamed access to lspp-access as per Tim's request.  Also I addressed
some of Klaus' concerns.  Specifically checking the return value on
client_pid_to_auid() and bounds checking when asking the user which file
to check in lspp-access.  I didn't end up modifying cups to use the GNU
primitives for EINTR because I wanted to maintain consistency with the
cups code which has to compile with other libc's.

This version also contains an additional filter pstopdf which will be
needed to render user supplied postscript in the evaluated
configuration.  The attached file will need to be in
/usr/src/redhat/SOURCES/ in order to be packaged in the RPM.

As usual a src.rpm is at http://free.linux.hp.com/~mra/rpms and copies
of the patch can be found at http://free.linux.hp.com/~mra/patches/

In order to enable the LSPP specific code you'll need to set
Classification in /etc/cups/cupsd.conf and in order to get all the
required audit information you'll have to set ServerName in
/etc/cups/client.conf.  There are more detailed instructions in my
previous mail:
https://www.redhat.com/archives/redhat-lspp/2006-July/msg00090.html

Tim, I don't know if its still open, but if this could get into the
FC6-beta that would be great.

thanks
-matt


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cups-lspp.patch
Type: text/x-patch
Size: 59740 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/redhat-lspp/attachments/20060801/adaca239/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pstopdf
URL: <http://listman.redhat.com/archives/redhat-lspp/attachments/20060801/adaca239/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cups.spec.patch
Type: text/x-patch
Size: 1792 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/redhat-lspp/attachments/20060801/adaca239/attachment-0001.bin>


More information about the redhat-lspp mailing list