Overview
Comment: | Merged in trunk |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tls-1-7 |
Files: | files | file ages | folders |
SHA1: |
6aff73e57a2c67485f0a1f9699184b0a |
User & Date: | rkeene on 2016-12-13 17:15:41 |
Other Links: | branch diff | manifest | tags |
Context
2016-12-13
| ||
17:17 | TclTLS 1.7.7 check-in: 027e77a11d user: rkeene tags: tls-1-7, tls-1-7-7 | |
17:15 | Merged in trunk check-in: 6aff73e57a user: rkeene tags: tls-1-7 | |
17:14 | Updated to allow a specified prefix to override the detected Tcl package path check-in: 97b136826e user: rkeene tags: trunk | |
16:05 | TclTLS 1.7.6 check-in: ba6e2a082f user: rkeene tags: tls-1-7, tls-1-7-6 | |
Changes
Modified Makefile.in from [f8ea5f6abc] to [cbd033543a].
1 2 3 4 5 6 7 8 9 10 11 12 | CC = @[email protected] AR = @[email protected] RANLIB = @[email protected] CFLAGS = @[email protected] @[email protected] CPPFLAGS = @[email protected] [email protected]@ -I. @[email protected] @[email protected] LDFLAGS = @[email protected] @[email protected] LIBS = @[email protected] INSTALL = @[email protected] PACKAGE_VERSION = @[email protected] TCL_PACKAGE_PATH = @[email protected] PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/tcltls$(PACKAGE_VERSION) VPATH = @[email protected] | > > > < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | CC = @[email protected] AR = @[email protected] RANLIB = @[email protected] CFLAGS = @[email protected] @[email protected] CPPFLAGS = @[email protected] [email protected]@ -I. @[email protected] @[email protected] LDFLAGS = @[email protected] @[email protected] LIBS = @[email protected] INSTALL = @[email protected] PACKAGE_VERSION = @[email protected] prefix = @[email protected] exec_prefix = @[email protected] libdir = @[email protected] TCL_PACKAGE_PATH = @[email protected] PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/tcltls$(PACKAGE_VERSION) VPATH = @[email protected] all: @[email protected] # The shared object target [email protected]@: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o [email protected]@ tls.o tlsBIO.o tlsIO.o tlsX509.o $(LIBS) |
︙ | ︙ | |||
29 30 31 32 33 34 35 | tlsBIO.o: @[email protected]/tlsBIO.c @[email protected]/tlsInt.h Makefile tlsIO.o: @[email protected]/tlsIO.c @[email protected]/tlsInt.h Makefile tlsX509.o: @[email protected]/tlsX509.c @[email protected]/tlsInt.h Makefile # Create a C-source-ified version of the script resources # for TclTLS so that we only need a single file to enable # this extension | | | | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | tlsBIO.o: @[email protected]/tlsBIO.c @[email protected]/tlsInt.h Makefile tlsIO.o: @[email protected]/tlsIO.c @[email protected]/tlsInt.h Makefile tlsX509.o: @[email protected]/tlsX509.c @[email protected]/tlsInt.h Makefile # Create a C-source-ified version of the script resources # for TclTLS so that we only need a single file to enable # this extension tls.tcl.h: @srcdir@/tls.tcl od -A n -v -t xC < '@srcdir@/tls.tcl' > tls.tcl.h.new.1 sed '[email protected] *@@g;[email protected]@0x&, @g' < tls.tcl.h.new.1 > tls.tcl.h.new.2 rm -f tls.tcl.h.new.1 mv tls.tcl.h.new.2 tls.tcl.h # Create default DH parameters dh_params.h: @[email protected]/gen_dh_params Makefile @[email protected]/gen_dh_params @[email protected] > dh_params.h.new |
︙ | ︙ | |||
58 59 60 61 62 63 64 65 | test: @[email protected] cd tests && @[email protected] all.tcl # Clean the local build directory for rebuild against the same configuration clean: rm -f tls.o tlsBIO.o tlsIO.o tlsX509.o rm -f [email protected]@ rm -f tcltls.a.new tcltls.a | > | > > | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | test: @[email protected] cd tests && @[email protected] all.tcl # Clean the local build directory for rebuild against the same configuration clean: rm -f tls.o tlsBIO.o tlsIO.o tlsX509.o rm -f [email protected]@ rm -f [email protected]@.a [email protected]@.def rm -f tcltls.a.new tcltls.a rm -f tls.tcl.h.new.1 tls.tcl.h.new.2 @if [ '@[email protected]' != '.' ]; then echo rm -f tls.tcl.h; rm -f tls.tcl.h; fi # Clean the local build directory back to what it was after unpacking the # distribution tarball distclean: clean rm -f config.log config.status rm -f dh_params.h.new dh_params.h rm -f Makefile pkgIndex.tcl rm -f tcltls.a.linkadd # Clean the local build directory back to only thing things that exist in # version control system mrproper: distclean rm -f @[email protected]/configure @[email protected]/config.sub @[email protected]/config.guess @[email protected]/install-sh rm -f @[email protected]/aclocal.m4 rm -rf @[email protected]/autom4te.cache rm -f @[email protected]/tls.tcl.h .PHONY: all install clean distclean mrproper test |
Modified aclocal/shobj.m4 from [1858889d4f] to [00e2f95c18].
︙ | ︙ | |||
37 38 39 40 41 42 43 | AC_SUBST(SHOBJLDFLAGS) DC_CHK_OS_INFO AC_MSG_CHECKING(how to create shared objects) if test -z "$SHOBJFLAGS" -a -z "$SHOBJLDFLAGS" -a -z "$SHOBJCPPFLAGS"; then | < | < | | | | | | | | | | | | | | | | | < < | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | AC_SUBST(SHOBJLDFLAGS) DC_CHK_OS_INFO AC_MSG_CHECKING(how to create shared objects) if test -z "$SHOBJFLAGS" -a -z "$SHOBJLDFLAGS" -a -z "$SHOBJCPPFLAGS"; then DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-shared], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-shared -mimpure-text], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-shared -rdynamic -Wl,-G,-z,textoff], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-shared -Wl,-G], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-shared -dynamiclib -flat_namespace -undefined suppress -bind_at_load], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-dynamiclib -flat_namespace -undefined suppress -bind_at_load], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-Wl,-dynamiclib -Wl,-flat_namespace -Wl,-undefined,suppress -Wl,-bind_at_load], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-dynamiclib -flat_namespace -undefined suppress], [ DC_TEST_SHOBJFLAGS([-fPIC], [-DPIC], [-dynamiclib], [ AC_MSG_RESULT(cant) AC_MSG_ERROR([We are unable to make shared objects.]) ]) ]) ]) ]) ]) ]) ]) ]) ]) fi AC_MSG_RESULT($SHOBJCPPFLAGS $SHOBJFLAGS $SHOBJLDFLAGS) DC_SYNC_SHLIBOBJS |
︙ | ︙ |
Modified aclocal/tcl.m4 from [4c6596ca03] to [05bc5f225d].
︙ | ︙ | |||
152 153 154 155 156 157 158 | esac done )` TCL_DEFS="${TCL_DEFS_TCL_ONLY}" AC_SUBST(TCL_DEFS) dnl Needed for package installation | > | > > > | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | esac done )` TCL_DEFS="${TCL_DEFS_TCL_ONLY}" AC_SUBST(TCL_DEFS) dnl Needed for package installation if test "$prefix" = 'NONE' -a "$exec_prefix" = 'NONE' -a "${libdir}" = '${exec_prefix}/lib'; then TCL_PACKAGE_PATH="`echo "${TCL_PACKAGE_PATH}" | sed '[email protected] *$''@@' | awk '{ print [$]1 }'`" else TCL_PACKAGE_PATH='${libdir}' fi AC_SUBST(TCL_PACKAGE_PATH) AC_SUBST(LIBS) ]) |
Modified build/post.sh from [f54d16cc5c] to [cb645c3205].
1 2 3 4 5 6 | #! /usr/bin/env bash set -e rm -rf build rm -f autogen.sh | < | 1 2 3 4 5 6 7 8 | #! /usr/bin/env bash set -e rm -rf build rm -f autogen.sh exit 0 |
Modified configure.ac from [e48be975db] to [4fb6dad28a].
︙ | ︙ | |||
126 127 128 129 130 131 132 | AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations], [CFLAGS="$CFLAGS -Wno-deprecated-declarations"]) fi dnl Find "pkg-config" since we need to use it AC_CHECK_TOOL([PKGCONFIG], [pkg-config], [false]) dnl Determine if we have been asked to use a fast path if possible | | | > > | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations], [CFLAGS="$CFLAGS -Wno-deprecated-declarations"]) fi dnl Find "pkg-config" since we need to use it AC_CHECK_TOOL([PKGCONFIG], [pkg-config], [false]) dnl Determine if we have been asked to use a fast path if possible tcltls_ssl_fastpath='no' AC_ARG_ENABLE([ssl-fastpath], AS_HELP_STRING([--disable-ssl-fastpath], [disable using the underlying file descriptor for talking directly to the SSL library]), [ if test "$enableval" = 'yes'; then tcltls_ssl_fastpath='yes' else tcltls_ssl_fastpath='no' fi ]) if test "$tcltls_ssl_fastpath" = 'yes'; then AC_DEFINE(TCLTLS_SSL_USE_FASTPATH, [1], [Define this to enable using the underlying file descriptor for talking directly to the SSL library]) fi |
︙ | ︙ |