1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/ftp
Dmitry Marakasov 8393a2e065 - Fix build with SSL on 12.0
Vsftpd uses an ugly way of checking whether it needs to link
libssl/libcrypto by grepping object file (!) for SSL_library_init
(which may be or not be actually used depending on a define).
This does not work if SSL_library_init is a macro which is the case
with OpenSSL 1.1.0:

/usr/include/openssl/ssl.h:#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)

Because of this, on 12.0 the check always fails, OpenSSL libs are
not linked, and the build fails with linker errors:

/usr/bin/ld: error: undefined symbol: OPENSSL_init_ssl
>>> referenced by ssl.c
>>>               ssl.o:(ssl_init)

/usr/bin/ld: error: undefined symbol: TLS_server_method
>>> referenced by ssl.c
>>>               ssl.o:(ssl_init)

/usr/bin/ld: error: undefined symbol: SSL_CTX_new
>>> referenced by ssl.c
>>>               ssl.o:(ssl_init)

Since we know beforehand whether we need SSL, just replace the check
with true if SSL is enabled.

- While here, partially convert to options helpers
2018-12-27 16:59:23 +00:00
..
atftp
axel
bbftp
bftpd - Update to 5.0 2018-10-20 14:33:59 +00:00
bsdftpd-ssl
cftp Install texinfo files (GNU info) into ${PREFIX}/share/info 2018-11-10 18:12:57 +00:00
cmdftp
curl Fix build with wolfSSL 2018-11-17 17:45:32 +00:00
curlpp Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
dmachine
fastdfs
filezilla Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
fmirror
fpc-libcurl
frox
ftpcopy - Add LICENSE 2018-12-11 09:31:31 +00:00
ftpfind
ftplib
ftpmirror
ftpproxy
ftpsesame
ftpsync
gftp
gnustep-ftp
gstreamer1-plugins-curl
horde-gollem
hs-curl
hsftp
jftp
jftpgw
lftp Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
libfilezilla Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
linux-c6-curl
linux-c7-curl
llnlxdir
llnlxftp
mirror
multiget Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
ncftp3
ncftpd
net2ftp
netdumpd Remove compatibility code for FreeBSD < 11.2 from all ports. 2018-11-02 13:32:34 +00:00
ocaml-ocurl
oftpd
omi
p5-File-Fetch
p5-Net-FTP-Common
p5-Net-FTP-Recursive
p5-Net-FTPServer
p5-Net-FTPSSL
p5-POE-Component-Client-FTP
p5-SOAP-Transport-FTP
paraget
pavuk
pear-Net_FTP
pftpd
php56-curl
php56-ftp
php71-curl
php71-ftp
php72-curl
php72-ftp
php73-curl Add PHP 7.3 RC2 to the ports-tree. 2018-10-08 08:52:51 +00:00
php73-ftp Add PHP 7.3 RC2 to the ports-tree. 2018-10-08 08:52:51 +00:00
php-fastdfs
phpwebftp
plasma-applet-ftpmonitor Mark QT4 ports/functionality for removal on 2019-03-15 2018-12-02 15:41:47 +00:00
proftpd
proftpd-mod_geoip
profxp
puf
pure-ftpd
pureadmin
py-ftputil
py-pycurl
py-pyftpdlib
py-requests-ftp
py-sftp
py-tftpy
quftp
R-cran-curl Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
R-cran-RCurl Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
rexx-curl ftp/rexx-curl: Fix regex 2018-11-26 01:48:42 +00:00
rubygem-curb Update to 0.9.7 2018-11-27 17:09:56 +00:00
scythia Mark QT4 ports/functionality for removal on 2019-03-15 2018-12-02 15:41:47 +00:00
smbftpd
spegla
tftp-hpa
tnftp
tnftpd
twoftpd
uftp
urlgfe
vsftpd - fix OpenSSL 1.1.x build 2018-10-10 06:11:42 +00:00
vsftpd-ext - Fix build with SSL on 12.0 2018-12-27 16:59:23 +00:00
waiho
weex
wget ftp/wget: Upgrade from 1.19.5 to 1.20 2018-12-03 09:38:25 +00:00
wmget
wput
wxdfast Bump PORTREVISION for ports depending on the canonical version of GCC 2018-12-12 01:35:33 +00:00
wzdftpd
yafc Install texinfo files (GNU info) into ${PREFIX}/share/info 2018-11-10 18:12:57 +00:00
Makefile Remove expired ports: 2018-12-11 13:02:50 +00:00