OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002924 [cups] packaging feature always 2008-07-08 07:43 2012-03-24 20:47
Reporter dam View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0002924: A subsiture package for SUNWpcr and SUNWpcu should be provided
Description It would be cool to have a package containing links of /usr/bin/lp* to the cups binaries which acts as a plug-in-replacemenet for the supplied System V provided. The package should be flagged INCOMPATIBLE with the above package.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007007)
maciej (reporter)
2009-11-18 10:08

I put the topic up for discussion on the mailing list.

http://lists.opencsw.org/pipermail/maintainers/2009-November/004887.html [^]
(0007008)
skayser (administrator)
2009-11-18 10:33

Regarding replacing the printing system, we also do it manually via a JET custom_scripts on installation (because we have had problems with the stock Solaris printing system). It's a bit more invasive though as we pkgrm a couple of more packages. It's a workaround, but serves us well.

#!/bin/sh
#
# Substitute stock Solaris 10 cups installation with OpenCSW
# cups. Plain cups submitted all file types as text/plain
# to our Cups server (might have changed) ...
#
# http://forums.sun.com/thread.jspa?threadID=5375841&tstart=0 [^]

ADMIN_FILE=/var/opt/csw/pkgutil/admin

/usr/sbin/svcadm disable print/ppd-cache-update
/usr/sbin/svcadm disable print/rfc1179

# pkgrm pkgs one by one. If we would pkgrm all at once and
# just one of them is not present (or other errors occur) the
# whole pkgrm would abort
SUNCUPS_PKGS="
        SUNWctlu SUNWmp SUNWpsu SUNWscplp
        SUNWppm SUNWpcu SUNWpsr SUNWpcr
        SUNWipplu SUNWipplr"

for p in $SUNCUPS_PKGS; do
        /usr/bin/yes | /usr/sbin/pkgrm -a $ADMIN_FILE $p
done

/opt/csw/bin/pkgutil -yi cupsclient
mkdir -p /opt/csw/etc/cups
echo "Servername printsrv.consol.de" > /etc/opt/csw/cups/client.conf
/opt/csw/bin/lpoptions -d polarmist

grep CSWcupsclient /var/sadm/install/contents | \
        grep /bin/ | awk '{ print $1 }' | \
        while read f; do ln -s $f /usr/bin/; done
(0007010)
maciej (reporter)
2009-11-18 12:21

cupsclient_ln is in testing.

skayser: your script needs an update:

mkdir -p /opt/csw/etc/cups

to

mkdir -p /etc/opt/csw/cups

Or, with the latest cupsclient package update, you don't need this line at all.
(0007541)
maciej (reporter)
2010-02-27 14:18

Doesn't seem like it's going to be released. Dago, what do we do with this one?
(0007542)
dam (administrator)
2010-02-27 14:37

I say we use a the prefix CSWsunwcups and make a new catalog "sunwreplace" or similar on mirror.opencsw.org and collect everything until we have the new release-and-staging in place.
(0008577)
maciej (reporter)
2010-12-16 22:20

There doesn't seem to be an agreement how to do this. Other repository, or other prefix - these things have to be decided first. I'll close this bug for now. If you have the power to spearhead and solve underlying issues (how to provide substitute symlinks in general), please reopen this bug. The code for the package is there in the repo, I'll respin and release it.
(0009758)
dam (administrator)
2012-03-24 20:47

A community answer has been provided that describes what needs to be done to replace Solaris Printing with Cups:
  http://www.opencsw.org/community/questions/75/how-can-i-replace-the-solaris-printing-system-with-opencsw-cups [^]


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker