summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/files/patch-ag')
-rw-r--r--security/openssh/files/patch-ag36
1 files changed, 36 insertions, 0 deletions
diff --git a/security/openssh/files/patch-ag b/security/openssh/files/patch-ag
new file mode 100644
index 000000000000..09a17b96aa87
--- /dev/null
+++ b/security/openssh/files/patch-ag
@@ -0,0 +1,36 @@
+--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/ssh/Makefile Wed Nov 17 20:52:33 1999
++++ ./ssh/Makefile Tue Nov 23 19:26:08 1999
+@@ -2,22 +2,16 @@
+
+ PROG= ssh
+ BINOWN= root
+-
+-.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
+- ${MACHINE_ARCH} == "hppa")
+-BINMODE=0000
+-.else
+-BINMODE?=4555
+-.endif
+-
+-BINDIR= /usr/bin
+-MAN= ssh.1
++BINMODE=4555
++BINDIR= /bin
++MAN1= ssh.1
+ LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
+ MLINKS= ssh.1 slogin.1
+
+ SRCS= ssh.c sshconnect.c log-client.c readconf.c clientloop.c
+
+ .include <bsd.own.mk> # for AFS
++.include "../Makefile.inc"
+
+ .if (${KERBEROS} == "yes")
+ CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+@@ -32,5 +26,5 @@
+
+ .include <bsd.prog.mk>
+
+-LDADD+= -lutil -lz -lcrypto
++LDADD+= -lutil -lz ${CRYPTOLIBS}
+ DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}