PolicyKit: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
|||
| Line 20: | Line 20: | ||
groupadd -g 17 polkit && | groupadd -g 17 polkit && | ||
useradd -c "Policy Kit Daemon User" -d /dev/null \ | useradd -c "Policy Kit Daemon User" -d /dev/null \ | ||
-u 17 -g | -u 17 -g polkit -s /bin/false polkit | ||
== Getting the source == | == Getting the source == | ||
Revision as of 16:34, 3 October 2006
| Download Source: | (Not Released Yet) |
|---|
Dependencies
Required
Optional
PolKit User/Group
groupadd -g 17 polkit &&
useradd -c "Policy Kit Daemon User" -d /dev/null \
-u 17 -g polkit -s /bin/false polkit
Getting the source
Check out the source from freedesktop.org:
git clone git://anongit.freedesktop.org/git/PolicyKit
It couldn't hurt to make a tarball so you have an unmodified source around for the future:
tar cvjf PolicyKit{.tar.bz2,}
Non-Multilib
Compile the package:
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libdir=/usr/lib32 --with-pam-module-dir=/lib32/security &&
make
Install the package
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libdir=/usr/lib64 --with-pam-module-dir=/lib64/security &&
make
Install the package
make install