[packages/sudo] disable audit on ac (segfaults)

glen glen at pld-linux.org
Sun Sep 14 13:59:32 CEST 2014


commit 9baa7f8bfa7c0335f86bb26e09a9df376e4bd2c0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 14 14:58:09 2014 +0300

    disable audit on ac (segfaults)
    
    previous ac version 1.7 was without audit as well, so no harm done
    
    ...
    socket(PF_NETLINK, SOCK_RAW, 9)         = 5
    fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
    fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---

 sudo.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/sudo.spec b/sudo.spec
index f764d6f..5e48d37 100644
--- a/sudo.spec
+++ b/sudo.spec
@@ -1,6 +1,10 @@
 #
 # Conditional build:
+%if "%{pld_release}" == "ac"
+%bcond_with	audit		# Linux audit support
+%else
 %bcond_without	audit		# Linux audit support
+%endif
 %bcond_with	kerberos5	# Kerberos V support (conflicts with PAM)
 %bcond_without	ldap		# LDAP support
 %bcond_without	pam		# PAM support
@@ -24,7 +28,7 @@ Summary(ru.UTF-8):	Позволяет определенным пользова
 Summary(uk.UTF-8):	Дозволяє вказаним користувачам виконувати команди від імені root
 Name:		sudo
 Version:	1.8.10p3
-Release:	1
+Release:	2
 Epoch:		1
 License:	BSD
 Group:		Applications/System
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sudo.git/commitdiff/9baa7f8bfa7c0335f86bb26e09a9df376e4bd2c0



More information about the pld-cvs-commit mailing list