1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/ftp
Kubilay Kocak 2825d7ad24 ftp/curl: Add NTLM option (Fix OpenSSL build w/o DES)
curl fails to build when OpenSSL is built without DES support, with many
"use of undeclared identifier" errors. For example:

curl_ntlm_core.c:392:3: error: use of undeclared identifier 'DES_key_schedule'
  DES_key_schedule ks;
  ^

An issue was reported back in 2015 [1], requesting support for ./configure
detecting OPENSSL_NO_DES, but the issue was ultimately closed:

"We just don't support very custom OpenSSL builds. I could be talked into
accepting patches that introduce support for this however".

Accordingly and leui of an upstream configure patch, this change adds an
NTLM option, enabled by default, and when disabled, defines
CURL_DISABLE_NTLM, which prevents #define'ing USE_NTLM in
WRKSRC/lib/curl_setup.h, resulting in a successful build.

This allows users the opportunity to easily disable the DES requiring
functionality in curl, if they happen to run custom or stripped down
OpenSSL builds.

Note: This issue may impact builds with other SSL libraries that allow
disabling DES, but I did not investigate this question.

[1] https://sourceforge.net/p/curl/bugs/1439/
[2] Would require a version update, which granted, is mostly bugfixes

Reviewed by:	sunpoet (maintainer)
Approved by:	sunpoet (maintainer)
MFH:		No [2]
Differential Revision: D22498
2019-12-14 00:13:11 +00:00
..
axel
bbftp
bftpd
bsdftpd-ssl
cmdftp
curl ftp/curl: Add NTLM option (Fix OpenSSL build w/o DES) 2019-12-14 00:13:11 +00:00
curlie Update to v1.3.1 2019-12-05 16:44:08 +00:00
curlpp
dmachine
fastdfs
filezilla Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
fmirror Switch MASTER_SITES and WWW to https in Chris' ports. 2019-10-19 12:21:22 +00:00
fpc-libcurl
frox
ftpcopy Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
ftpfind
ftplib
ftpmirror Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
ftpproxy
ftpsesame
ftpsync
gftp Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
gnustep-ftp
gstreamer1-plugins-curl
horde-gollem Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
hsftp
jftp Clean up after java/openjdk6 and java/openjdk6-jre removal 2019-11-26 21:46:12 +00:00
jftpgw
lftp Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
libfilezilla
linux-c6-curl
linux-c7-curl Update to CentOS 7.7.1908. 2019-09-21 08:56:20 +00:00
llnlxdir Mark a few ports BROKEN, unfetchable 2019-11-06 12:48:32 +00:00
llnlxftp Mark a few ports BROKEN, unfetchable 2019-11-06 12:48:32 +00:00
mirror Mark a few ports BROKEN, unfetchable 2019-11-06 12:48:32 +00:00
multiget
ncftp3
net2ftp Mark a few ports BROKEN, unfetchable 2019-11-06 12:48:32 +00:00
netdumpd ftp/netdumpd: Update to 20191031 2019-10-31 22:30:54 +00:00
ocaml-ocurl
oftpd
omi ftp/omi: drop FreeBSD < 7.2 support 2019-10-13 13:07:28 +00:00
p5-File-Fetch
p5-Net-FTP-Common
p5-Net-FTP-Recursive
p5-Net-FTPServer
p5-Net-FTPSSL Update to 0.42 2019-10-03 19:28:05 +00:00
p5-POE-Component-Client-FTP
p5-SOAP-Transport-FTP
paraget
pavuk Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
pear-Net_FTP
pftpd
php71-curl
php71-ftp
php72-curl
php72-ftp
php73-curl
php73-ftp
php74-curl
php74-ftp
php-fastdfs
phpwebftp Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
proftpd Update ProFTPd to 1.3.6b 2019-11-14 19:47:36 +00:00
proftpd-mod_vroot Update ProFTPd to 1.3.6b 2019-11-14 19:47:36 +00:00
profxp ftp/profxp: Drop nop post-patch1 target 2019-10-18 14:11:25 +00:00
puf
pure-ftpd Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
pureadmin Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
py-aioftp
py-ftputil
py-pycurl
py-pyftpdlib
py-requests-ftp
py-sftp
py-tftpy
quftp
R-cran-curl - Update to 4.3 2019-12-03 15:33:21 +00:00
R-cran-RCurl
rexx-curl
rubygem-curb
smbftpd Move remaining USE_MYSQL, WANT_MYSQL_VER to USES=mysql 2019-11-15 10:12:08 +00:00
spegla Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
tftp-hpa
tnftp Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
tnftpd Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
twoftpd
uftp
urlgfe Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
vsftpd Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
vsftpd-ext Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
waiho
weex
wget Drop the ipv6 virtual category for f* category as it is not relevant anymore 2019-10-09 10:40:21 +00:00
wmget Add USES=xorg USES=gl, ports categories d 2019-11-05 15:56:41 +00:00
wput
wxdfast
wzdftpd Move remaining USE_MYSQL, WANT_MYSQL_VER to USES=mysql 2019-11-15 10:12:08 +00:00
yafc Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
Makefile Remove expired ports: 2019-10-16 15:29:32 +00:00