diff --git a/.gitignore b/.gitignore index b24cb90e2..61c01f85d 100644 --- a/.gitignore +++ b/.gitignore @@ -123,6 +123,9 @@ deps/clickhouse-cpp deps/cityhash/cityhash/ deps/lz4/lz4-1.7.5/ +#libev +deps/libev/libev-4.24/ + test/.vagrant .DS_Store proxysql-tests.ini diff --git a/deps/Makefile b/deps/Makefile index cc2849e9b..0cf7df996 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -11,12 +11,20 @@ endif PROXYSQLCLICKHOUSE := $(shell echo $(PROXYSQLCLICKHOUSE)) ifeq ($(PROXYSQLCLICKHOUSE),1) -default: libconfig libdaemon jemalloc mariadb_client re2 sqlite3 pcre clickhouse-cpp lz4 cityhash microhttpd curl +default: libconfig libdaemon jemalloc mariadb_client re2 sqlite3 pcre clickhouse-cpp lz4 cityhash microhttpd curl libev else -default: libconfig libdaemon jemalloc mariadb_client re2 sqlite3 pcre microhttpd curl +default: libconfig libdaemon jemalloc mariadb_client re2 sqlite3 pcre microhttpd curl libev endif .PHONY: default +libev/libev/.libs/libev.a: + cd libev && rm -rf libev-4.24 || true + cd libev && tar -zxf libev-4.24.tar.gz + cd libev/libev && ./configure + cd libev/libev && CC=${CC} CXX=${CXX} ${MAKE} +libev: libev/libev/.libs/libev.a + + curl/curl/lib/.libs/libcurl.a: cd curl && rm -rf curl-7.57.0 || true cd curl && tar -zxf curl-7.57.0.tar.gz diff --git a/deps/libev/LICENSE b/deps/libev/LICENSE new file mode 100644 index 000000000..2fdabd48a --- /dev/null +++ b/deps/libev/LICENSE @@ -0,0 +1,37 @@ +All files in libev are +Copyright (c)2007,2008,2009,2010,2011,2012,2013 Marc Alexander Lehmann. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Alternatively, the contents of this package may be used under the terms +of the GNU General Public License ("GPL") version 2 or any later version, +in which case the provisions of the GPL are applicable instead of the +above. If you wish to allow the use of your version of this package only +under the terms of the GPL and not to allow others to use your version of +this file under the BSD license, indicate your decision by deleting the +provisions above and replace them with the notice and other provisions +required by the GPL in this and the other files of this package. If you do +not delete the provisions above, a recipient may use your version of this +file under either the BSD or the GPL. diff --git a/deps/libev/libev b/deps/libev/libev new file mode 120000 index 000000000..ba5a1373a --- /dev/null +++ b/deps/libev/libev @@ -0,0 +1 @@ +libev-4.24 \ No newline at end of file diff --git a/deps/libev/libev-4.24.tar.gz b/deps/libev/libev-4.24.tar.gz new file mode 100644 index 000000000..c5efba32f Binary files /dev/null and b/deps/libev/libev-4.24.tar.gz differ