Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144175831
D3695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3695.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3695: devel/tcltls: Make libtls.h header tcl private
Attached
Detach File
Event Timeline
Log In to Comment