SUNWconsolekit.spec revision 18671
10139N/A# spec file for package SUNWconsolekit 10139N/A# includes module(s): ConsoleKit 11321N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 10139N/A# This file and all modifications and additions to the pristine 10139N/A# package are under the same license as the package itself. 11321N/A# Option to decide whether or not build library pam_ck_connector, 11321N/A# which implements pam_sm_open_session(3PAM) and pam_sm_close_session(3PAM). 11321N/A# By default, we don't build it. 11321N/A# Note: To enable this pam module, you have to manually add 10139N/A# FIXME: remove -D_POSIX_PTHREAD_SEMANTICS when not use CBE 1.6x 11321N/A# Port the man8 file to SGML and add back the below "rm". 11321N/A#rm -rf $RPM_BUILD_ROOT%{_mandir} 11321N/A# These programs are intended to be used if you want ConsoleKit to be 11321N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 11458N/A# Use is subject to license terms. 11321N/A# Presence of this temp file will tell postinstall script 10139N/A# that the consolekit service is already installed, in which case 11321N/A# the current service state will be preserved, be it enabled 11458N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 11321N/A# Use is subject to license terms. 18814N/A# Preinstall script will create this file if consolekit service was 11321N/A# already installed, in which case we preserve current service state, 10139N/A # - PKG_INSTALL_ROOT is / or empty when installing onto a live system 10139N/A # and we can invoke svcadm directly; 11321N/A # - otherwise it's upgrade, so we append to the upgrade script 11321N/A if [
"${PKG_INSTALL_ROOT:-/}" =
"/" ];
then 11321N/A if [ \`/sbin/zonename\` = global ]; then 11321N/A /usr/sbin/svcadm enable -r svc:/system/consolekit:default 18814N/A* Thu Feb 07 2008 - Brian.Cameron@sun.com 18814N/A* Thu Jan 31 2008 - Brian.Cameron@sun.com 16075N/A- Bump to 0.2.7. Remove two upstream patches added on January 25, 14303N/A* Fri Jan 25 2008 - Brian.Cameron@sun.com 14246N/A to make ConsoleKit use RBAC instead of PolicyKit on Solaris. 13948N/A* Tue Sep 18 2007 - Brian.Cameron@sun.com 13433N/A issues building ConsoleKit when VT is not present. 13438N/A* Mon Aug 16 2007 - Brian.Cameron@sun.com