ConsoleKit: switch to /usr.
This commit is contained in:
parent
8b1b5912fb
commit
2fa565ef4a
|
@ -1,27 +0,0 @@
|
|||
--- src/ck-manager.c.orig 2012-07-09 12:38:27.749426822 +0200
|
||||
+++ src/ck-manager.c 2012-07-09 12:39:08.292465239 +0200
|
||||
@@ -181,8 +181,8 @@ ck_manager_dump (CkManager *manager)
|
||||
{
|
||||
int fd;
|
||||
int res;
|
||||
- const char *filename = LOCALSTATEDIR "/run/ConsoleKit/database";
|
||||
- const char *filename_tmp = LOCALSTATEDIR "/run/ConsoleKit/database~";
|
||||
+ const char *filename = "/run/ConsoleKit/database";
|
||||
+ const char *filename_tmp = "/run/ConsoleKit/database~";
|
||||
|
||||
if (manager == NULL) {
|
||||
return;
|
||||
@@ -190,11 +190,11 @@ ck_manager_dump (CkManager *manager)
|
||||
|
||||
/* always make sure we have a directory */
|
||||
errno = 0;
|
||||
- res = g_mkdir_with_parents (LOCALSTATEDIR "/run/ConsoleKit",
|
||||
+ res = g_mkdir_with_parents ("/run/ConsoleKit",
|
||||
S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
|
||||
if (res < 0) {
|
||||
g_warning ("Unable to create directory %s (%s)",
|
||||
- LOCALSTATEDIR "/run/ConsoleKit",
|
||||
+ "/run/ConsoleKit",
|
||||
g_strerror (errno));
|
||||
return;
|
||||
}
|
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'ConsoleKit'
|
||||
pkgname=ConsoleKit
|
||||
version=0.4.5
|
||||
revision=8
|
||||
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
||||
revision=9
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-docbook-docs --enable-pam-module
|
||||
--with-systemdsystemunitdir=/lib/systemd/system
|
||||
--with-pid-file=/run/ConsoleKit/pid"
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
--with-pam-module-dir=/usr/lib/security"
|
||||
makedepends="pkg-config xmlto libX11-devel dbus-devel glib-devel dbus-glib-devel pam-devel polkit-devel zlib-devel"
|
||||
short_desc="Framework for defining and tracking users, login sessions and seats"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
|
||||
license="GPL-2"
|
||||
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
||||
checksum=43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
|
||||
long_desc="
|
||||
ConsoleKit is a framework for keeping track of the various users, sessions,
|
||||
|
|
Loading…
Reference in New Issue