commit
bedb22e001
|
@ -1,6 +1,6 @@
|
||||||
--- ./src/session-child.c.orig 2015-09-11 18:01:00.262401041 -0400
|
--- ./src/session-child.c.orig 2015-10-02 17:03:43.838859203 -0400
|
||||||
+++ ./src/session-child.c 2015-09-11 18:02:23.249398508 -0400
|
+++ ./src/session-child.c 2015-10-02 17:06:55.192871600 -0400
|
||||||
@@ -199,7 +199,7 @@
|
@@ -203,7 +203,7 @@
|
||||||
|
|
||||||
/* GNU provides this but we can't rely on that so let's make our own version */
|
/* GNU provides this but we can't rely on that so let's make our own version */
|
||||||
static void
|
static void
|
||||||
|
@ -9,30 +9,30 @@
|
||||||
{
|
{
|
||||||
struct utmp u;
|
struct utmp u;
|
||||||
|
|
||||||
@@ -385,7 +385,7 @@
|
@@ -415,7 +415,7 @@
|
||||||
ut.ut_tv.tv_sec = tv.tv_sec;
|
ut.ut_tv.tv_sec = tv.tv_sec;
|
||||||
ut.ut_tv.tv_usec = tv.tv_usec;
|
ut.ut_tv.tv_usec = tv.tv_usec;
|
||||||
|
|
||||||
- updwtmpx ("/var/log/btmp", &ut);
|
- updwtmpx ("/var/log/btmp", &ut);
|
||||||
+ _updwtmpx ("/var/log/btmp", &ut);
|
+ _updwtmpx ("/var/log/btmp", &ut);
|
||||||
}
|
|
||||||
|
|
||||||
/* Check account is valid */
|
#if HAVE_LIBAUDIT
|
||||||
@@ -700,7 +700,7 @@
|
audit_event (AUDIT_USER_LOGIN, username, -1, remote_host_name, tty, FALSE);
|
||||||
|
@@ -734,7 +734,7 @@
|
||||||
if (!pututxline (&ut))
|
if (!pututxline (&ut))
|
||||||
g_printerr ("Failed to write utmpx: %s\n", strerror (errno));
|
g_printerr ("Failed to write utmpx: %s\n", strerror (errno));
|
||||||
endutxent ();
|
endutxent ();
|
||||||
- updwtmpx ("/var/log/wtmp", &ut);
|
- updwtmpx ("/var/log/wtmp", &ut);
|
||||||
+ _updwtmpx ("/var/log/wtmp", &ut);
|
+ _updwtmpx ("/var/log/wtmp", &ut);
|
||||||
}
|
|
||||||
|
|
||||||
waitpid (child_pid, &return_code, 0);
|
#if HAVE_LIBAUDIT
|
||||||
@@ -736,7 +736,7 @@
|
audit_event (AUDIT_USER_LOGIN, username, uid, remote_host_name, tty, TRUE);
|
||||||
|
@@ -774,7 +774,7 @@
|
||||||
if (!pututxline (&ut))
|
if (!pututxline (&ut))
|
||||||
g_printerr ("Failed to write utmpx: %s\n", strerror (errno));
|
g_printerr ("Failed to write utmpx: %s\n", strerror (errno));
|
||||||
endutxent ();
|
endutxent ();
|
||||||
- updwtmpx ("/var/log/wtmp", &ut);
|
- updwtmpx ("/var/log/wtmp", &ut);
|
||||||
+ _updwtmpx ("/var/log/wtmp", &ut);
|
+ _updwtmpx ("/var/log/wtmp", &ut);
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
#if HAVE_LIBAUDIT
|
||||||
|
audit_event (AUDIT_USER_LOGOUT, username, uid, remote_host_name, tty, TRUE);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lightdm'
|
# Template file for 'lightdm'
|
||||||
pkgname=lightdm
|
pkgname=lightdm
|
||||||
version=1.16.0
|
version=1.16.3
|
||||||
revision=2
|
revision=1
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3, LGPL-3"
|
license="GPL-3, LGPL-3"
|
||||||
homepage="https://launchpad.net/lightdm"
|
homepage="https://launchpad.net/lightdm"
|
||||||
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
|
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
|
||||||
checksum=b2e31beed0c3045bce6119617e96f18e9ee3540582f61fac5aca9697e747abc6
|
checksum=c88b0ea63949724f807f5835f1a8a9468a4102e2dfad902d539f7f6bd0bb5b4b
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
|
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
|
||||||
|
|
Loading…
Reference in New Issue