summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-13 16:55:22 +1100
committerDamien Miller <djm@mindrot.org>2003-01-13 16:55:22 +1100
commit7d9012729123a55cbed793028618c81339309cbb (patch)
tree837e47d415ef30702d9c65212c1a6acc047136a2
parentec201964e4afc9d97b4f11251cb42db0bd4fb062 (diff)
- (djm) Bug #467: Add a --disable-strip option to turn off stripping of
installed binaries. From mdev@idg.nl
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in25
-rw-r--r--configure.ac13
3 files changed, 28 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 13ca10ba4..971caa643 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120030103 120030103
2 - (djm) Rework openbsd-compat/setproctitle.c a bit: move emulation type 2 - (djm) Rework openbsd-compat/setproctitle.c a bit: move emulation type
3 detection to configure.ac. Prompted by stevesk@ 3 detection to configure.ac. Prompted by stevesk@
4 - (djm) Bug #467: Add a --disable-strip option to turn off stripping of
5 installed binaries. From mdev@idg.nl
4 6
520030110 720030110
6 - (djm) Enable new setproctitle emulation for Linux, AIX and HP/UX. More 8 - (djm) Enable new setproctitle emulation for Linux, AIX and HP/UX. More
@@ -998,4 +1000,4 @@
998 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1000 save auth method before monitor_reset_key_state(); bugzilla bug #284;
999 ok provos@ 1001 ok provos@
1000 1002
1001$Id: ChangeLog,v 1.2565 2003/01/12 23:04:58 djm Exp $ 1003$Id: ChangeLog,v 1.2566 2003/01/13 05:55:22 djm Exp $
diff --git a/Makefile.in b/Makefile.in
index 8d5987afd..c3efac60f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.224 2003/01/10 10:43:25 djm Exp $ 1# $Id: Makefile.in,v 1.225 2003/01/13 05:55:23 djm Exp $
2 2
3# uncomment if you run a non bourne compatable shell. Ie. csh 3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@ 4#SHELL = @SH@
@@ -27,6 +27,7 @@ SSH_KEYSIGN=$(libexecdir)/ssh-keysign
27RAND_HELPER=$(libexecdir)/ssh-rand-helper 27RAND_HELPER=$(libexecdir)/ssh-rand-helper
28PRIVSEP_PATH=@PRIVSEP_PATH@ 28PRIVSEP_PATH=@PRIVSEP_PATH@
29SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ 29SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@
30STRIP_OPT=@STRIP_OPT@
30 31
31PATHS= -DSSHDIR=\"$(sysconfdir)\" \ 32PATHS= -DSSHDIR=\"$(sysconfdir)\" \
32 -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ 33 -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
@@ -218,19 +219,19 @@ install-files: scard-install
218 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 219 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
219 $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir) 220 $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
220 (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH)) 221 (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))
221 $(INSTALL) -m 0755 -s ssh $(DESTDIR)$(bindir)/ssh 222 $(INSTALL) -m 0755 $(STRIP_OPT) ssh $(DESTDIR)$(bindir)/ssh
222 $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp 223 $(INSTALL) -m 0755 $(STRIP_OPT) scp $(DESTDIR)$(bindir)/scp
223 $(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add 224 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-add $(DESTDIR)$(bindir)/ssh-add
224 $(INSTALL) -m 0755 -s ssh-agent $(DESTDIR)$(bindir)/ssh-agent 225 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-agent $(DESTDIR)$(bindir)/ssh-agent
225 $(INSTALL) -m 0755 -s ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen 226 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen
226 $(INSTALL) -m 0755 -s ssh-keyscan $(DESTDIR)$(bindir)/ssh-keyscan 227 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keyscan $(DESTDIR)$(bindir)/ssh-keyscan
227 $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd 228 $(INSTALL) -m 0755 $(STRIP_OPT) sshd $(DESTDIR)$(sbindir)/sshd
228 if test ! -z "$(INSTALL_SSH_RAND_HELPER)" ; then \ 229 if test ! -z "$(INSTALL_SSH_RAND_HELPER)" ; then \
229 $(INSTALL) -m 0755 -s ssh-rand-helper $(DESTDIR)$(libexecdir)/ssh-rand-helper ; \ 230 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-rand-helper $(DESTDIR)$(libexecdir)/ssh-rand-helper ; \
230 fi 231 fi
231 $(INSTALL) -m 4711 -s ssh-keysign $(DESTDIR)$(SSH_KEYSIGN) 232 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN)
232 @NO_SFTP@$(INSTALL) -m 0755 -s sftp $(DESTDIR)$(bindir)/sftp 233 @NO_SFTP@$(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp
233 @NO_SFTP@$(INSTALL) -m 0755 -s sftp-server $(DESTDIR)$(SFTP_SERVER) 234 @NO_SFTP@$(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER)
234 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 235 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
235 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 236 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
236 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 237 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
diff --git a/configure.ac b/configure.ac
index 54aad3704..3054a4394 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.99 2003/01/12 23:04:59 djm Exp $ 1# $Id: configure.ac,v 1.100 2003/01/13 05:55:23 djm Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -1938,6 +1938,17 @@ AC_ARG_WITH(xauth,
1938 ] 1938 ]
1939) 1939)
1940 1940
1941STRIP_OPT=-s
1942AC_ARG_ENABLE(strip,
1943 [ --disable-strip Disable calling strip(1) on install],
1944 [
1945 if test "x$enableval" = "xno" ; then
1946 STRIP_OPT=
1947 fi
1948 ]
1949)
1950AC_SUBST(STRIP_OPT)
1951
1941if test -z "$xauth_path" ; then 1952if test -z "$xauth_path" ; then
1942 XAUTH_PATH="undefined" 1953 XAUTH_PATH="undefined"
1943 AC_SUBST(XAUTH_PATH) 1954 AC_SUBST(XAUTH_PATH)