Policykit version 0.9 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    policykit  most recent diff


    version 0.9

      View the most recent changes for the policykit port at: policykit.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for policykit.
      The raw portfile for policykit 0.9 is located here:
      http://policykit.darwinports.com/dports/security/policykit/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/policykit


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The policykit Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: policykit
      Version: 0.9
      Description: PolicyKit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes
      Long Description: ${description}
      Maintainers: devans openmaintainer
      Category: security
      Platform: darwin
      Homepage: http://www.freedesktop.org/wiki/Software/PolicyKit
      Master Sites: http://hal.freedesktop.org/releases/

      distname PolicyKit-${version}

      Checksums: md5 802fd13ae41f73d79359e5ecb0a98716 sha1 ac99c580eff72f6d5df261c155fb047306439f85 rmd160 197262d1c48e55558dd4bd57d7bbd8734666129c

      Patch Files: patch-configure.diff patch-src-kit-kit-lib.c.diff patch-src-polkit-dbus-polkit-simple.c.diff patch-src-polkit-dbus-polkit-resolve-exe-helper.c.diff patch-src-polkit-grant-polkit-grant-helper.c.diff patch-src-polkit-grant-polkit-grant-helper-pam.c.diff

      configure.ldflags-append -L/usr/lib

      configure.args --with-authfw=pam --with-pam-prefix=/etc/pam.d --with-pam-module-dir=/usr/lib/pam --disable-selinux --enable-man-pages --disable-gtk-doc

      depends_build port:pkgconfig port:intltool port:p5-xml-parser port:gnome-doc-utils

      depends_lib port:dbus-glib

      Variant: docs description {Build API docs using gtk-doc} {
      configure.args-delete --disable-gtk-doc
      depends_build-append port:gtk-doc
      }

      pre-destroot {
      addgroup polkituser
      adduser polkituser gid=[existsgroup polkituser] realname=Policy\ Kit
      }

      livecheck.type regex
      livecheck.url ${master_sites}
      livecheck.regex "PolicyKit-(\\d+(?:\\.\\d+)*)${extract.suffix}"

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/policykit
      % sudo port install policykit
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching policykit
      ---> Verifying checksum for policykit
      ---> Extracting policykit
      ---> Configuring policykit
      ---> Building policykit with target all
      ---> Staging policykit into destroot
      ---> Installing policykit
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using policykit with these commands:
      %  man policykit
      % apropos policykit
      % which policykit
      % locate policykit

     Where to find more information:

    Darwin Ports



    Lightbox this page.