diff --git a/files/do-not-install-sample-sudoers-etc-sudoers.dist.patch b/files/do-not-install-sample-sudoers-etc-sudoers.dist.patch new file mode 100644 --- /dev/null +++ b/files/do-not-install-sample-sudoers-etc-sudoers.dist.patch @@ -0,0 +1,26 @@ +From 40026c50a4133c5989ebc0b17f5bb44df3af715a Mon Sep 17 00:00:00 2001 +From: Pierre-Yves +Date: Sat, 27 May 2017 23:34:29 +0200 +Subject: [PATCH] do not install sample sudoers /etc/sudoers.dist + +--- + plugins/sudoers/Makefile.in | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in +index 3c09173..82c6d2f 100644 +--- a/plugins/sudoers/Makefile.in ++++ b/plugins/sudoers/Makefile.in +@@ -349,9 +349,6 @@ install-plugin: sudoers.la install-dirs + + install-sudoers: install-dirs + $(INSTALL) -d $(INSTALL_OWNER) -m 0750 $(DESTDIR)$(sudoersdir)/sudoers.d +- $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers.dist +- test -r $(DESTDIR)$(sudoersdir)/sudoers || \ +- cp -p $(DESTDIR)$(sudoersdir)/sudoers.dist $(DESTDIR)$(sudoersdir)/sudoers + + uninstall: + -$(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sudoers.la +-- +2.13.0 + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,16 +1,16 @@ -name : sudo -version : 1.18.19_p2 -release : 11 -source : - - https://www.sudo.ws/dist/sudo-1.8.19p2.tar.gz : 237e18e67c2ad59ecacfa4b7707198b09fcf84914621585a9bc670dcc31a52e0 -homepage : http://www.sudo.ws/ -license : - - ISC -summary : Run commands as a privileged user -component : system.base -description : | +name : sudo +version : 1.8.20 +release : 12 +source : + - https://www.sudo.ws/dist/sudo-1.8.20.tar.gz : 9e97b8da859c6cc1b5b8c31db93002b750eae16af1bbda9140f8dd85b970e0e0 +homepage : http://www.sudo.ws/ +license : ISC +summary : Run commands as a privileged user +component : system.base +description: | The Sudo package allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments. setup : | + %patch -p1 < $pkgfiles/do-not-install-sample-sudoers-etc-sudoers.dist.patch %configure --with-all-insults \ --with-env-editor \ --with-tty-tickets diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -3,8 +3,8 @@ sudo http://www.sudo.ws/ - Ikey Doherty - ikey@solus-project.com + Pierre-Yves + pyu@riseup.net ISC system.base @@ -46,19 +46,19 @@ programming.devel - sudo + sudo /usr/include/ - - 2017-04-13 - 1.18.19_p2 + + 2017-05-27 + 1.8.20 Packaging update - Ikey Doherty - ikey@solus-project.com + Pierre-Yves + pyu@riseup.net \ No newline at end of file