[csw-devel] SF.net SVN: gar:[10062] csw/mgar/pkg/cups/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jun 1 14:06:23 CEST 2010


Revision: 10062
          http://gar.svn.sourceforge.net/gar/?rev=10062&view=rev
Author:   wahwah
Date:     2010-06-01 12:06:23 +0000 (Tue, 01 Jun 2010)

Log Message:
-----------
cups: Fixing the problem with cupsd not started in non-global zones.

Modified Paths:
--------------
    csw/mgar/pkg/cups/trunk/Makefile

Modified: csw/mgar/pkg/cups/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cups/trunk/Makefile	2010-06-01 11:54:53 UTC (rev 10061)
+++ csw/mgar/pkg/cups/trunk/Makefile	2010-06-01 12:06:23 UTC (rev 10062)
@@ -79,7 +79,6 @@
 ARCHALL_CSWcups      = 1
 ARCHALL_CSWcupslinks = 1
 ARCHALL_CSWcupsdoc   = 1
-ARCHALL_CSWcupsdev   = 1
 
 RUNTIME_DEP_PKGS_CSWcups  = CSWcupsd CSWcupsclient
 RUNTIME_DEP_PKGS_CSWcupsclient += CSWgnutls
@@ -108,7 +107,7 @@
 PKGFILES_CSWcupsdev += $(bindir)/cups-config
 PKGFILES_CSWcupsdev += $(datadir)/cups/ppdc.*
 PKGFILES_CSWcupsdev += $(datadir)/cups/drv.*
-PKGFILES_CSWcupsd += $(prefix)/etc/init\.d/.*
+PKGFILES_CSWcupsd += $(sysconfdir)/init\.d/.*
 PKGFILES_CSWcupsd += $(sysconfdir)/rc.*
 PKGFILES_CSWcupsd += $(sysconfdir)/cups/cupsd.*
 PKGFILES_CSWcupsd += $(sysconfdir)/cups/interfaces.*
@@ -164,7 +163,7 @@
 # http://lists.opencsw.org/pipermail/maintainers/2009-September/004249.html
 SAMPLECONF_CSWcupsd       = $(sysconfdir)/cups/cupsd\.conf\.CSW
 SAMPLECONF_CSWcupsclient += $(sysconfdir)/cups/client\.conf\.CSW
-INITSMF                   = $(prefix)/etc/init\.d/cswcups
+INITSMF                   = $(sysconfdir)/init\.d/cswcups
 
 LD_OPTIONS = -R/opt/csw/lib/\$$ISALIST -R/opt/csw/lib
 
@@ -173,8 +172,12 @@
 CONFIGURE_ARGS += --localedir=$(datadir)/locale
 CONFIGURE_ARGS += --with-rcdir=$(sysconfdir)
 CONFIGURE_ARGS += --with-icondir=$(datadir)/icons
-CONFIGURE_ARGS += --with-rcdir=/opt/csw/etc
 
+# This breaks non-global sparse zone support.  The class action script is
+# executed in the global zone, but not in the non-global zones, if /opt is
+# shared.
+# CONFIGURE_ARGS += --with-rcdir=/opt/csw/etc
+
 CONFIGURE_ARGS_DBG  = --enable-debug
 CONFIGURE_ARGS_DBG += --enable-debug-guards
 CONFIGURE_ARGS_DBG += --enable-debug-printfs


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list