From 29185500307e1484d099905e97aa1a9c0a89cba5 Mon Sep 17 00:00:00 2001
From: Carsten Schlote <c.schlote@konzeptpark.de>
Date: Tue, 31 Jul 2007 13:15:37 +0200
Subject: [PATCH] Added user defined default sudoers file to sudo packet

Added installation of user defined sudoers files to sudo
packet.

Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
---
 rules/sudo.in   |   12 ++++++------
 rules/sudo.make |    4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/rules/sudo.in b/rules/sudo.in
index b101f98..ee3e53c 100644
--- a/rules/sudo.in
+++ b/rules/sudo.in
@@ -10,13 +10,13 @@ config SUDO
 
 if SUDO
 
-config SUDO_NO_SENDMAIL
-	bool "Send no mails"
-	default y
+config SUDO_USE_SENDMAIL
+	bool "Use sendmail"
+	default n
 
-config SUDO_NO_PAM
-	bool "Don't use libpam"
-	default y
+config SUDO_USE_PAM
+	bool "Use libpam"
+	default n
 
 config SUDO_ETC_SUDOERS
 	bool "Install sudoers file into /etc"
diff --git a/rules/sudo.make b/rules/sudo.make
index fb584e8..63a80be 100644
--- a/rules/sudo.make
+++ b/rules/sudo.make
@@ -74,10 +74,10 @@ ifdef PTXCONF_SUDO_DONT_SEND_MAILS
 SUDO_AUTOCONF += --without-sendmail
 endif
 
-  ifdef PTXCONF_SUDO_NO_SENDMAIL
+  ifndef PTXCONF_SUDO_USE_SENDMAIL
 SUDO_AUTOCONF += --without-sendmail
   endif
-  ifdef PTXCONF_SUDO_NO_PAM
+  ifndef PTXCONF_SUDO_USE_PAM
 SUDO_AUTOCONF += --without-pam
   endif
 
-- 
1.5.3.1

