summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-10-07 05:10:24 +0000
committerderaadt <deraadt@openbsd.org>1999-10-07 05:10:24 +0000
commitec5851cde9525d243694af3e328bf12d38c2f0ac (patch)
tree0d7fb289eb851f94a97b474e7bd5b04d9b736443
parentif sshd startup fails due to rsa not being there, start up (diff)
downloadwireguard-openbsd-ec5851cde9525d243694af3e328bf12d38c2f0ac.tar.xz
wireguard-openbsd-ec5851cde9525d243694af3e328bf12d38c2f0ac.zip
on static machines, install these as mode 0
-rw-r--r--usr.bin/ssh/scp/Makefile9
-rw-r--r--usr.bin/ssh/ssh-add/Makefile9
-rw-r--r--usr.bin/ssh/ssh-agent/Makefile9
-rw-r--r--usr.bin/ssh/ssh-keygen/Makefile9
-rw-r--r--usr.bin/ssh/ssh/Makefile9
5 files changed, 40 insertions, 5 deletions
diff --git a/usr.bin/ssh/scp/Makefile b/usr.bin/ssh/scp/Makefile
index fa782a68649..c473b29ea5b 100644
--- a/usr.bin/ssh/scp/Makefile
+++ b/usr.bin/ssh/scp/Makefile
@@ -2,7 +2,14 @@
PROG= scp
BINOWN= root
-BINMODE=555
+
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "hppa")
+BINMODE=0000
+.else
+BINMODE?=555
+.endif
+
BINDIR= /usr/bin
MAN= scp.1
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}
diff --git a/usr.bin/ssh/ssh-agent/Makefile b/usr.bin/ssh/ssh-agent/Makefile
index 91f56f0a72e..0c9f10b0170 100644
--- a/usr.bin/ssh/ssh-agent/Makefile
+++ b/usr.bin/ssh/ssh-agent/Makefile
@@ -2,7 +2,14 @@
PROG= ssh-agent
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}
diff --git a/usr.bin/ssh/ssh-keygen/Makefile b/usr.bin/ssh/ssh-keygen/Makefile
index 18a0e353c97..68b99d65dd9 100644
--- a/usr.bin/ssh/ssh-keygen/Makefile
+++ b/usr.bin/ssh/ssh-keygen/Makefile
@@ -2,7 +2,14 @@
PROG= ssh-keygen
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}
diff --git a/usr.bin/ssh/ssh/Makefile b/usr.bin/ssh/ssh/Makefile
index aff0f091118..658af46cd0a 100644
--- a/usr.bin/ssh/ssh/Makefile
+++ b/usr.bin/ssh/ssh/Makefile
@@ -2,7 +2,14 @@
PROG= ssh
BINOWN= root
-BINMODE=4555
+
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "hppa")
+BINMODE=0000
+.else
+BINMODE?=4555
+.endif
+
BINDIR= /usr/bin
MAN= ssh.1
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin