Page MenuHomeFreeBSD

D3695.diff
No OneTemporary

D3695.diff

Index: devel/tcltls/Makefile
===================================================================
--- devel/tcltls/Makefile
+++ devel/tcltls/Makefile
@@ -26,13 +26,14 @@
TCLPKG= tls${PORTVERSION}
WRKSRC= ${WRKDIR}/${TCLPKG}
-PLIST_FILES= include/tls.h \
- lib/${TCLPKG}/libtls.so.1 \
+PLIST_FILES= lib/${TCLPKG}/libtls.so.1 \
lib/${TCLPKG}/pkgIndex.tcl \
lib/${TCLPKG}/tls.tcl
PORTDOCS= *
post-patch:
+ # Do not install tls.h
+ ${REINPLACE_CMD} -e '/^PKG_HEADERS/s|^|#|' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e \
's,package require tls.*,load ${WRKSRC}/libtls.so.1;\
source ${WRKSRC}/tls.tcl,' \
Index: devel/tcltls/files/patch-tlsInt.h
===================================================================
--- /dev/null
+++ devel/tcltls/files/patch-tlsInt.h
@@ -0,0 +1,17 @@
+--- tlsInt.h.orig 2015-09-18 14:45:32 UTC
++++ tlsInt.h
+@@ -54,6 +54,14 @@
+ #include <openssl/rand.h>
+ #endif
+
++#ifdef OPENSSL_NO_SSL2
++#define NO_SSL2
++#endif
++
++#ifdef OPENSSL_NO_SSL3
++#define NO_SSL3
++#endif
++
+ #ifndef SSL_OP_NO_TLSv1_1
+ #define NO_TLS1_1
+ #endif

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 6, 11:42 PM (5 m, 1 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28451377
Default Alt Text
D3695.diff (1 KB)

Event Timeline