diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-26 16:04:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-26 16:04:25 +0000 |
commit | f9893f673eaa78484fd40b361e55bb60053d9266 (patch) | |
tree | 0f75ca24d58adbdac83fa6870b249ca031ca2d5f | |
parent | 79ea2a1057cc23431d32d23dd490d0ee63c349f4 (diff) |
Strip sudo and visudo on install. Noticed by Camiel Dobbelaar.
-rw-r--r-- | usr.bin/sudo/Makefile.bsd-wrapper | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/sudo/Makefile.bsd-wrapper b/usr.bin/sudo/Makefile.bsd-wrapper index 38d9d78cac1..f73affc94ec 100644 --- a/usr.bin/sudo/Makefile.bsd-wrapper +++ b/usr.bin/sudo/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.14 2002/01/16 18:09:13 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.15 2002/04/26 16:04:24 millert Exp $ MAN= sudo.8 sudoers.5 visudo.8 BINOWN= root @@ -50,10 +50,10 @@ maninstall: .endif install: maninstall - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 4555 \ - sudo ${DESTDIR}/usr/bin/sudo - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - visudo ${DESTDIR}/usr/sbin/visudo + ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g \ + ${BINGRP} -m 4555 sudo ${DESTDIR}/usr/bin/sudo + ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g \ + ${BINGRP} -m ${BINMODE} visudo ${DESTDIR}/usr/sbin/visudo clean cleandir: @test ! -e Makefile || ${MAKE} distclean |