diff options
author | brnrd <brnrd@FreeBSD.org> | 2016-12-11 00:04:43 +0800 |
---|---|---|
committer | brnrd <brnrd@FreeBSD.org> | 2016-12-11 00:04:43 +0800 |
commit | a624e2b571698ce620eb7e282f15b829e79ab884 (patch) | |
tree | 84301a7f466aed4ab01be0f93f603af608d7ab45 /misc/skyutils | |
parent | 1f38e22d3d330aabe50174bf17e485ddae5dc0ac (diff) | |
download | freebsd-ports-gnome-a624e2b571698ce620eb7e282f15b829e79ab884.tar.gz freebsd-ports-gnome-a624e2b571698ce620eb7e282f15b829e79ab884.tar.zst freebsd-ports-gnome-a624e2b571698ce620eb7e282f15b829e79ab884.zip |
misc/skyutils: Fix build without SSLv3
- Use SSLv23_methods
- Add USES= ssl
Approved by: SSL blanket
Diffstat (limited to 'misc/skyutils')
-rw-r--r-- | misc/skyutils/Makefile | 2 | ||||
-rw-r--r-- | misc/skyutils/files/patch-src_web.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/skyutils/Makefile b/misc/skyutils/Makefile index 6eb7bee4f3a4..7c788edb3987 100644 --- a/misc/skyutils/Makefile +++ b/misc/skyutils/Makefile @@ -11,7 +11,7 @@ MASTER_SITES= LOCAL/laszlof \ MAINTAINER= ports@FreeBSD.org COMMENT= Library required by smssend (same author) -USES= autoreconf libtool +USES= autoreconf libtool ssl GNU_CONFIGURE= yes USE_LDCONFIG= yes diff --git a/misc/skyutils/files/patch-src_web.c b/misc/skyutils/files/patch-src_web.c new file mode 100644 index 000000000000..e75d1ca64c19 --- /dev/null +++ b/misc/skyutils/files/patch-src_web.c @@ -0,0 +1,14 @@ +--- src/web.c.orig 2006-04-24 08:44:09 UTC ++++ src/web.c +@@ -123,7 +123,11 @@ SSL_CTX *SU_SSL_InitializeCTX(char *pcEr + char errormsg[1024]; + SSL_CTX *sslctx; + ++#ifndef OPENSSL_NO_SSL3 + sslctx = SSL_CTX_new(SSLv3_client_method()); ++#else ++ sslctx = SSL_CTX_new(SSLv23_client_method()); ++#endif + if(sslctx == NULL) + { + ERR_error_string(ERR_get_error(), errormsg); |