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