From f9893f673eaa78484fd40b361e55bb60053d9266 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 26 Apr 2002 16:04:25 +0000 Subject: Strip sudo and visudo on install. Noticed by Camiel Dobbelaar. --- usr.bin/sudo/Makefile.bsd-wrapper | 10 +++++----- 1 file 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 -- cgit v1.2.3