summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/files/patch-am')
-rw-r--r--security/openssh/files/patch-am28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/openssh/files/patch-am b/security/openssh/files/patch-am
new file mode 100644
index 000000000000..22106d6e39ef
--- /dev/null
+++ b/security/openssh/files/patch-am
@@ -0,0 +1,28 @@
+--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/sshd/Makefile Mon Oct 25 16:27:27 1999
++++ ./sshd/Makefile Tue Nov 23 19:29:25 1999
+@@ -3,13 +3,14 @@
+ PROG= sshd
+ BINOWN= root
+ BINMODE=555
+-BINDIR= /usr/sbin
+-MAN= sshd.8
++BINDIR= /sbin
++MAN8= sshd.8
+
+ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
+ pty.c log-server.c login.c servconf.c serverloop.c
+
+ .include <bsd.own.mk> # for KERBEROS and AFS
++.include "../Makefile.inc"
+
+ .if (${KERBEROS} == "yes")
+ CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+@@ -29,7 +30,7 @@
+
+ .include <bsd.prog.mk>
+
+-LDADD+= -lcrypto -lutil -lz
++LDADD+= ${CRYPTOLIBS} -lcrypt -lutil -lz
+ DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
+
+ .if (${TCP_WRAPPERS} == "yes")