summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--rules/sudo.in12
-rw-r--r--rules/sudo.make4
3 files changed, 10 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index c02deb989..6fedc8404 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
breakage, when trying to cross compile. It also allows to
install a user sudoers file from projectroot.
+ Change mail and pam options to positive logic.
+
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
* netkit-ftp: Removed libc dependency from netkit-ftp.
diff --git a/rules/sudo.in b/rules/sudo.in
index b101f98d0..ee3e53c95 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 df8bc3c78..2bf474c72 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