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-ftp_Makefile.FreeBSD | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD (limited to 'ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD') diff --git a/ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD b/ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD new file mode 100644 index 000000000000..1cf26a0ca029 --- /dev/null +++ b/ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD @@ -0,0 +1,25 @@ +--- ftp/Makefile.FreeBSD.orig 2005-01-11 10:06:55 UTC ++++ ftp/Makefile.FreeBSD +@@ -17,11 +17,11 @@ CFLAGS+=-DINET6 + ### TLS/SSL support + ## Comment lines below to disable TLS/SSL support + CFLAGS+=-DUSE_SSL +-LDADD+= -lssl -lcrypto ++LDADD+= -L${OPENSSLLIB} -lssl -lcrypto + ## Next lines must present regardless of TLS/SSL support state + .PATH: ${.CURDIR}/../ssl + SRCS+= sslapp.c ssl_port.c ssl_port_ftps.c +-CFLAGS+=-I../ssl ++CFLAGS+= -I${OPENSSLINC} -I../ssl + ### + + ### +@@ -31,7 +31,7 @@ PROG= ftps + SRCS+= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \ + util.c + +-CFLAGS+= -I../port -Wall ++CFLAGS+= -I../port -Wall -fcommon + + LDADD+= ../port/libedit.a + .if defined(BSDTYPE) && ( ${BSDTYPE} == "NetBSD" ) -- cgit v1.2.3