diff --git a/ChangeLog b/ChangeLog index 9599322..f261f1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-01-03 Danilo Chang + + * Bump version to v0.12 + * Update to paho.mqtt.c-1.3.8 files + 2020-11-25 Danilo Chang * Bump version to v0.11 diff --git a/LICENSE b/LICENSE index 18593d9..9b199ae 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2016, Danilo Chang +Copyright (c) 2016-2021 Danilo Chang All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Makefile b/Makefile index 37ae2ec..26025e8 100644 --- a/Makefile +++ b/Makefile @@ -57,8 +57,8 @@ PKG_HEADERS = # configuration options) composed of the named objects. #======================================================================== -PKG_LIB_FILE = libmqttc0.11.so -PKG_STUB_LIB_FILE = libmqttcstub0.11.a +PKG_LIB_FILE = libmqttc0.12.so +PKG_STUB_LIB_FILE = libmqttcstub0.12.a lib_BINARIES = $(PKG_LIB_FILE) BINARIES = $(lib_BINARIES) @@ -94,7 +94,7 @@ INSTALL_SCRIPT = ${INSTALL} INSTALL_LIBRARY = ${INSTALL_DATA} PACKAGE_NAME = mqttc -PACKAGE_VERSION = 0.11 +PACKAGE_VERSION = 0.12 CC = gcc CFLAGS_DEFAULT = -O2 -fomit-frame-pointer -DNDEBUG CFLAGS_WARNING = -Wall @@ -154,8 +154,8 @@ PKG_CFLAGS = -DOPENSSL -DTLS2_VERSION -DTLS3_VERSION # that your library may use. TCL_DEFS can actually be a problem if # you do not compile with a similar machine setup as the Tcl core was # compiled with. -#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"mqttc\" -DPACKAGE_TARNAME=\"mqttc\" -DPACKAGE_VERSION=\"0.11\" -DPACKAGE_STRING=\"mqttc\ 0.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_mqttc=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS) -DEFS = -DPACKAGE_NAME=\"mqttc\" -DPACKAGE_TARNAME=\"mqttc\" -DPACKAGE_VERSION=\"0.11\" -DPACKAGE_STRING=\"mqttc\ 0.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_mqttc=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS) +#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"mqttc\" -DPACKAGE_TARNAME=\"mqttc\" -DPACKAGE_VERSION=\"0.12\" -DPACKAGE_STRING=\"mqttc\ 0.12\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_mqttc=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS) +DEFS = -DPACKAGE_NAME=\"mqttc\" -DPACKAGE_TARNAME=\"mqttc\" -DPACKAGE_VERSION=\"0.12\" -DPACKAGE_STRING=\"mqttc\ 0.12\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_mqttc=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS) # Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl diff --git a/config.status b/config.status index fe599b9..1531564 100755 --- a/config.status +++ b/config.status @@ -380,7 +380,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by mqttc $as_me 0.11, which was +This file was extended by mqttc $as_me 0.12, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -419,7 +419,7 @@ Report bugs to the package provider." ac_cs_config="" ac_cs_version="\ -mqttc config.status 0.11 +mqttc config.status 0.12 configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" @@ -670,8 +670,8 @@ S["PKG_HEADERS"]="" S["PKG_TCL_SOURCES"]="" S["PKG_STUB_OBJECTS"]="" S["PKG_STUB_SOURCES"]="" -S["PKG_STUB_LIB_FILE"]="libmqttcstub0.11.a" -S["PKG_LIB_FILE"]="libmqttc0.11.so" +S["PKG_STUB_LIB_FILE"]="libmqttcstub0.12.a" +S["PKG_LIB_FILE"]="libmqttc0.12.so" S["EXEEXT"]="" S["CYGPATH"]="echo" S["target_alias"]="" @@ -681,7 +681,7 @@ S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" -S["DEFS"]="-DPACKAGE_NAME=\\\"mqttc\\\" -DPACKAGE_TARNAME=\\\"mqttc\\\" -DPACKAGE_VERSION=\\\"0.11\\\" -DPACKAGE_STRING=\\\"mqttc\\ 0.11\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_"\ +S["DEFS"]="-DPACKAGE_NAME=\\\"mqttc\\\" -DPACKAGE_TARNAME=\\\"mqttc\\\" -DPACKAGE_VERSION=\\\"0.12\\\" -DPACKAGE_STRING=\\\"mqttc\\ 0.12\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_"\ "URL=\\\"\\\" -DBUILD_mqttc=/\\*\\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE"\ "_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_T"\ "HREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DHAVE_H"\ @@ -710,8 +710,8 @@ S["prefix"]="/usr" S["exec_prefix"]="/usr" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="" -S["PACKAGE_STRING"]="mqttc 0.11" -S["PACKAGE_VERSION"]="0.11" +S["PACKAGE_STRING"]="mqttc 0.12" +S["PACKAGE_VERSION"]="0.12" S["PACKAGE_TARNAME"]="mqttc" S["PACKAGE_NAME"]="mqttc" S["PATH_SEPARATOR"]=":" diff --git a/configure b/configure index d8aac6a..c8a49c7 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for mqttc 0.11. +# Generated by GNU Autoconf 2.69 for mqttc 0.12. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='mqttc' PACKAGE_TARNAME='mqttc' -PACKAGE_VERSION='0.11' -PACKAGE_STRING='mqttc 0.11' +PACKAGE_VERSION='0.12' +PACKAGE_STRING='mqttc 0.12' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1295,7 +1295,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures mqttc 0.11 to adapt to many kinds of systems. +\`configure' configures mqttc 0.12 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1356,7 +1356,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of mqttc 0.11:";; + short | recursive ) echo "Configuration of mqttc 0.12:";; esac cat <<\_ACEOF @@ -1458,7 +1458,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -mqttc configure 0.11 +mqttc configure 0.12 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2006,7 +2006,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by mqttc $as_me 0.11, which was +It was created by mqttc $as_me 0.12, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -9560,7 +9560,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by mqttc $as_me 0.11, which was +This file was extended by mqttc $as_me 0.12, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9613,7 +9613,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -mqttc config.status 0.11 +mqttc config.status 0.12 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 53d13f5..b08fa5c 100755 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ dnl to configure the system for the local environment. # so that we create the export library with the dll. #----------------------------------------------------------------------- -AC_INIT([mqttc], [0.11]) +AC_INIT([mqttc], [0.12]) #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. diff --git a/pkgIndex.tcl b/pkgIndex.tcl index fcc3862..c8441c0 100644 --- a/pkgIndex.tcl +++ b/pkgIndex.tcl @@ -1,5 +1,5 @@ # # Tcl package index file # -package ifneeded mqttc 0.11 \ - [list load [file join $dir libmqttc0.11.so] mqttc] +package ifneeded mqttc 0.12 \ + [list load [file join $dir libmqttc0.12.so] mqttc] diff --git a/tcl.mqttc_SUSE.spec b/tcl.mqttc_SUSE.spec index 9f483ce..6bc4093 100644 --- a/tcl.mqttc_SUSE.spec +++ b/tcl.mqttc_SUSE.spec @@ -4,7 +4,7 @@ Name: tcl.mqttc Summary: MQTT Client for Tcl -Version: 0.11 +Version: 0.12 Release: 0 License: BSD 3-Clause License Group: Development/Libraries/Tcl