1
0
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:
Adrian Chadd 2008-06-30 22:13:16 +00:00
parent 707a32d306
commit fbebf2897b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216051
6 changed files with 60 additions and 3 deletions

View File

@ -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

View 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

View File

@ -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

View 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

View File

@ -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

View 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