[arch-commits] Commit in lightdm/trunk (PKGBUILD lightdm-disable-libaudit.patch)

Maxime Gauduin alucryd at archlinux.org
Wed Sep 23 09:31:29 UTC 2015


    Date: Wednesday, September 23, 2015 @ 11:31:29
  Author: alucryd
Revision: 247127

upgpkg: lightdm 1:1.16.2-1

Added:
  lightdm/trunk/lightdm-disable-libaudit.patch
Modified:
  lightdm/trunk/PKGBUILD

--------------------------------+
 PKGBUILD                       |    9 ++++++---
 lightdm-disable-libaudit.patch |   30 ++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-23 09:01:07 UTC (rev 247126)
+++ PKGBUILD	2015-09-23 09:31:29 UTC (rev 247127)
@@ -4,8 +4,8 @@
 
 pkgbase=lightdm
 pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5')
-pkgver=1.16.0
-pkgrel=2
+pkgver=1.16.2
+pkgrel=1
 epoch=1
 pkgdesc='A lightweight display manager'
 arch=('i686' 'x86_64')
@@ -21,8 +21,9 @@
         'lightdm-autologin.pam'
         'lightdm.rules'
         'lightdm-default-config.patch'
+        'lightdm-disable-libaudit.patch'
         'Xsession')
-sha256sums=('b2e31beed0c3045bce6119617e96f18e9ee3540582f61fac5aca9697e747abc6'
+sha256sums=('18024767158e29adca327778cb05440338972187f15263664d8266b982905218'
             '8e4fb09f524fad640e92ba41d546f0cb39b0a9662789fd8d14cfc6578a149142'
             'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f'
             'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0'
@@ -29,6 +30,7 @@
             '33e3c3d6e16c8d30756754ea3f31f5457c5be0343686aad287692be34958984a'
             'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6'
             'f33edad87232043f7c355b3a4db055fd84ab2c0741da110cf416fbdf005d294f'
+            '88e406ddd2fb1d74f0a8fc634941127fcccd991f009609ec7c42b60659175f04'
             'd30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5')
 
 prepare() {
@@ -35,6 +37,7 @@
   cd lightdm-${pkgver}
 
   patch -Np1 -i ../lightdm-default-config.patch
+  patch -Np1 -i ../lightdm-disable-libaudit.patch
 }
 
 build() {

Added: lightdm-disable-libaudit.patch
===================================================================
--- lightdm-disable-libaudit.patch	                        (rev 0)
+++ lightdm-disable-libaudit.patch	2015-09-23 09:31:29 UTC (rev 247127)
@@ -0,0 +1,30 @@
+diff -rupN lightdm-1.16.2.orig/src/session-child.c lightdm-1.16.2/src/session-child.c
+--- lightdm-1.16.2.orig/src/session-child.c	2015-09-23 11:21:10.110684089 +0200
++++ lightdm-1.16.2/src/session-child.c	2015-09-23 11:21:53.502937957 +0200
+@@ -417,7 +417,7 @@ session_child_run (int argc, char **argv
+ 
+             updwtmpx ("/var/log/btmp", &ut);
+ 
+-            audit_event (AUDIT_USER_LOGIN, username, -1, remote_host_name, tty, FALSE);
++            //audit_event (AUDIT_USER_LOGIN, username, -1, remote_host_name, tty, FALSE);
+         }
+ 
+         /* Check account is valid */
+@@ -734,7 +734,7 @@ session_child_run (int argc, char **argv
+             endutxent ();
+             updwtmpx ("/var/log/wtmp", &ut);
+ 
+-            audit_event (AUDIT_USER_LOGIN, username, uid, remote_host_name, tty, TRUE);
++            //audit_event (AUDIT_USER_LOGIN, username, uid, remote_host_name, tty, TRUE);
+         }
+ 
+         waitpid (child_pid, &return_code, 0);
+@@ -772,7 +772,7 @@ session_child_run (int argc, char **argv
+             endutxent ();
+             updwtmpx ("/var/log/wtmp", &ut);
+ 
+-            audit_event (AUDIT_USER_LOGOUT, username, uid, remote_host_name, tty, TRUE);
++            //audit_event (AUDIT_USER_LOGOUT, username, uid, remote_host_name, tty, TRUE);
+         }
+     }
+ 



More information about the arch-commits mailing list