[packages] sudo: add a patch to prevent install from stripping binaries (thanks to...
[openwrt/svn-archive/archive.git] / admin / sudo / patches / 101-install_no_strip.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -408,11 +408,11 @@ install-dirs:
4 $(DESTDIR)$(noexecdir)
5
6 install-binaries: $(PROGS)
7 - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)$(sudodir)/sudo
8 + $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 sudo $(DESTDIR)$(sudodir)/sudo
9 rm -f $(DESTDIR)$(sudodir)/sudoedit
10 ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit
11 - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)$(visudodir)/visudo
12 -@SELINUX@ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh
13 + $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo
14 +@SELINUX@ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 sesh $(DESTDIR)$(libexecdir)/sesh
15
16 install-noexec: sudo_noexec.la
17 test -f .libs/$(noexecfile) && $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir)