mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
A commit to squid a few months ago broke using openssl's MD5 implementation
without compiling in ssl. This fix disables including the openssl headers unless SSL support is compiled in, leaving the md5 stuff to hopefully compile correctly.
This commit is contained in:
parent
707a32d306
commit
fbebf2897b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216051
www
cacheboy
cacheboy15-devel
cacheboy16
@ -76,7 +76,7 @@
|
||||
|
||||
PORTNAME= cacheboy
|
||||
DISTVERSION= 1.3.3
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTNAME= CACHEBOY_1.3.3
|
||||
|
19
www/cacheboy/files/patch-libiapp-iapp_ssl.h
Normal file
19
www/cacheboy/files/patch-libiapp-iapp_ssl.h
Normal file
@ -0,0 +1,19 @@
|
||||
--- libiapp/iapp_ssl.h (revision 12992)
|
||||
+++ libiapp/iapp_ssl.h (working copy)
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
#include "../include/config.h"
|
||||
|
||||
+/* Don't include these if we are -not- building with SSL support */
|
||||
+
|
||||
+#if USE_SSL
|
||||
#if HAVE_OPENSSL_SSL_H
|
||||
#include <openssl/ssl.h>
|
||||
#endif
|
||||
@@ -12,5 +15,6 @@
|
||||
#if HAVE_OPENSSL_ENGINE_H
|
||||
#include <openssl/engine.h>
|
||||
#endif
|
||||
+#endif /* USE_SSL */
|
||||
|
||||
#endif
|
@ -76,7 +76,7 @@
|
||||
|
||||
PORTNAME= cacheboy
|
||||
DISTVERSION= 1.3.3
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTNAME= CACHEBOY_1.3.3
|
||||
|
19
www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h
Normal file
19
www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h
Normal file
@ -0,0 +1,19 @@
|
||||
--- libiapp/iapp_ssl.h (revision 12992)
|
||||
+++ libiapp/iapp_ssl.h (working copy)
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
#include "../include/config.h"
|
||||
|
||||
+/* Don't include these if we are -not- building with SSL support */
|
||||
+
|
||||
+#if USE_SSL
|
||||
#if HAVE_OPENSSL_SSL_H
|
||||
#include <openssl/ssl.h>
|
||||
#endif
|
||||
@@ -12,5 +15,6 @@
|
||||
#if HAVE_OPENSSL_ENGINE_H
|
||||
#include <openssl/engine.h>
|
||||
#endif
|
||||
+#endif /* USE_SSL */
|
||||
|
||||
#endif
|
@ -76,7 +76,7 @@
|
||||
|
||||
PORTNAME= cacheboy
|
||||
DISTVERSION= 1.3.3
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTNAME= CACHEBOY_1.3.3
|
||||
|
19
www/cacheboy16/files/patch-libiapp-iapp_ssl.h
Normal file
19
www/cacheboy16/files/patch-libiapp-iapp_ssl.h
Normal file
@ -0,0 +1,19 @@
|
||||
--- libiapp/iapp_ssl.h (revision 12992)
|
||||
+++ libiapp/iapp_ssl.h (working copy)
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
#include "../include/config.h"
|
||||
|
||||
+/* Don't include these if we are -not- building with SSL support */
|
||||
+
|
||||
+#if USE_SSL
|
||||
#if HAVE_OPENSSL_SSL_H
|
||||
#include <openssl/ssl.h>
|
||||
#endif
|
||||
@@ -12,5 +15,6 @@
|
||||
#if HAVE_OPENSSL_ENGINE_H
|
||||
#include <openssl/engine.h>
|
||||
#endif
|
||||
+#endif /* USE_SSL */
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user