summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-add
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-07 05:10:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-07 05:10:26 +0000
commit72390cfafd2aa6d3841d19c548591f2f3902cf64 (patch)
tree88d7b22a3a82c1a2d35d40792e8d075180d7ca59 /usr.bin/ssh/ssh-add
parentca148e0cada9860296dece8d6f1b6791cf62a6ef (diff)
on static machines, install these as mode 0
Diffstat (limited to 'usr.bin/ssh/ssh-add')
-rw-r--r--usr.bin/ssh/ssh-add/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-add/Makefile b/usr.bin/ssh/ssh-add/Makefile
index 0b974d4c9c8..acca86d3b93 100644
--- a/usr.bin/ssh/ssh-add/Makefile
+++ b/usr.bin/ssh/ssh-add/Makefile
@@ -2,7 +2,14 @@
PROG= ssh-add
BINOWN= root
-BINMODE=555
+
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "hppa")
+BINMODE=0000
+.else
+BINMODE?=555
+.endif
+
BINDIR= /usr/bin
LDADD= -lcrypto -lutil -lz
DPADD= ${LIBCRYPTO} ${LIBDES} ${LIBUTIL} ${LIBZ}