diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2007-10-27 20:22:32 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2007-10-27 20:22:32 +0000 |
commit | f8610fd1669057228c9f63edd63ae2e17ac2dc85 (patch) | |
tree | 68e280a92c4df6822ce7df305ef677148fcff5c6 | |
parent | 479ab79d27a7e9f827700dfce6254d00433306af (diff) | |
download | ptxdist-f8610fd1669057228c9f63edd63ae2e17ac2dc85.tar.gz ptxdist-f8610fd1669057228c9f63edd63ae2e17ac2dc85.tar.xz |
* sudo: change options to positive logic
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7594 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | rules/sudo.in | 12 | ||||
-rw-r--r-- | rules/sudo.make | 4 |
3 files changed, 10 insertions, 8 deletions
@@ -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 |