From 7e8ab83f6c92013a27fe9dfc4b02f738cb8ff51c Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Thu, 26 Aug 2021 04:08:16 +0000 Subject: ftp/bsdftpd-ssl: convert to modern OpenSSL and unbreak the build on -CURRENT. --- ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD (limited to 'ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD') diff --git a/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD b/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD new file mode 100644 index 000000000000..62c17aabac20 --- /dev/null +++ b/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD @@ -0,0 +1,17 @@ +--- ftpd/Makefile.FreeBSD.orig 2005-01-11 22:49:16 UTC ++++ ftpd/Makefile.FreeBSD +@@ -78,12 +78,12 @@ LDADD+= -lm + ### TLS/SSL support + .if defined(SSL_SUPPORT) + CFLAGS+=-DUSE_SSL +-LDADD+= -lssl -lcrypto ../port/libbsdport.a ++LDADD+= -L${OPENSSLLIB} -lssl -lcrypto ../port/libbsdport.a + .endif + ## Next lines must present regardless of TLS/SSL support state + .PATH: ${.CURDIR}/../ssl + SRCS+= sslapp.c ssl_port.c ssl_port_ftpd.c +-CFLAGS+=-I../ssl -I../port ++CFLAGS+= -I${OPENSSLINC} -I../ssl -I../port + ### + + ### PAM support -- cgit v1.2.3