summaryrefslogtreecommitdiff
path: root/package/sudo/patches/patch-plugins_sudoers_Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/sudo/patches/patch-plugins_sudoers_Makefile_in')
-rw-r--r--package/sudo/patches/patch-plugins_sudoers_Makefile_in31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/sudo/patches/patch-plugins_sudoers_Makefile_in b/package/sudo/patches/patch-plugins_sudoers_Makefile_in
new file mode 100644
index 000000000..b2067ef04
--- /dev/null
+++ b/package/sudo/patches/patch-plugins_sudoers_Makefile_in
@@ -0,0 +1,31 @@
+--- sudo-1.8.11p2.orig/plugins/sudoers/Makefile.in 2014-10-07 22:26:20.000000000 +0200
++++ sudo-1.8.11p2/plugins/sudoers/Makefile.in 2014-12-15 12:59:33.342176744 +0100
+@@ -301,12 +301,12 @@ install-dirs:
+ $(DESTDIR)$(sudoersdir) $(DESTDIR)$(docdir) \
+ `echo $(DESTDIR)$(rundir)|$(SED) 's,/[^/]*$$,,'` \
+ `echo $(DESTDIR)$(vardir)|$(SED) 's,/[^/]*$$,,'`
+- $(INSTALL) -d $(INSTALL_OWNER) -m 0711 $(DESTDIR)$(rundir)
+- $(INSTALL) -d $(INSTALL_OWNER) -m 0711 $(DESTDIR)$(vardir)
++ $(INSTALL) -d $(DESTDIR)$(rundir)
++ $(INSTALL) -d $(DESTDIR)$(vardir)
+
+ install-binaries: visudo sudoreplay install-dirs
+- INSTALL_BACKUP='~' $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 sudoreplay $(DESTDIR)$(replaydir)/sudoreplay
+- INSTALL_BACKUP='~' $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 visudo $(DESTDIR)$(visudodir)/visudo
++ INSTALL_BACKUP='~' $(LIBTOOL) --mode=install $(INSTALL) -m 0755 sudoreplay $(DESTDIR)$(replaydir)/sudoreplay
++ INSTALL_BACKUP='~' $(LIBTOOL) --mode=install $(INSTALL) -m 0755 visudo $(DESTDIR)$(visudodir)/visudo
+
+ install-includes:
+
+@@ -322,9 +322,9 @@ install-plugin: sudoers.la install-dirs
+ esac
+
+ install-sudoers: install-dirs
+- $(INSTALL) -d $(INSTALL_OWNER) -m 0750 $(DESTDIR)$(sudoersdir)/sudoers.d
++ $(INSTALL) -d -m 0750 $(DESTDIR)$(sudoersdir)/sudoers.d
+ test -r $(DESTDIR)$(sudoersdir)/sudoers || \
+- $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers
++ $(INSTALL) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers
+
+ uninstall:
+ -$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sudoers.la