diff options
-rw-r--r-- | usr.bin/ssh/scp/Makefile | 9 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-add/Makefile | 9 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-agent/Makefile | 9 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keygen/Makefile | 9 | ||||
-rw-r--r-- | usr.bin/ssh/ssh/Makefile | 9 |
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 |