public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] sudo: Update to 1.8.18p1.
Date: Wed, 12 Oct 2016 08:11:04 +0200	[thread overview]
Message-ID: <1476252664-20549-1-git-send-email-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]

This is a minor update to the latest available version of sudo.

* Replace hardcoded path.
* Drop SELinux support.

Fixes #11230.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 sudo/sudo.nm | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sudo/sudo.nm b/sudo/sudo.nm
index 5087c1e..d76650d 100644
--- a/sudo/sudo.nm
+++ b/sudo/sudo.nm
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = sudo
-version    = 1.8.17p1
+version    = 1.8.18p1
 release    = 1
 
 groups     = Applications/System
@@ -30,7 +30,6 @@ build
 	requires
 		audit-devel
 		cyrus-sasl-devel
-		libselinux-devel
 		openldap-devel
 		pam-devel
 	end
@@ -41,18 +40,17 @@ build
 		--with-logfac=authpriv \
 		--with-pam \
 		--with-pam-login \
-		--with-editor=/usr/bin/vi \
+		--with-editor=%{bindir}/vi \
 		--with-env-editor \
 		--with-ignore-dot \
 		--with-tty-tickets \
 		--with-ldap \
 		--with-passprompt="[sudo] password for %p: " \
-		--with-selinux \
 		--with-linux-audit
 
 	install_cmds
 		mkdir -pv %{BUILDROOT}/etc
-		cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}/etc/sudoers
+		cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}%{sysconfdir}/sudoers
 	end
 end
 
@@ -61,7 +59,7 @@ packages
 		groups += Base
 
 		configfiles
-			/etc/sudoers
+			%{sysconfdir}/sudoers
 		end
 	end
 
-- 
2.7.4


                 reply	other threads:[~2016-10-12  6:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476252664-20549-1-git-send-email-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox