From patchwork Mon Oct 5 10:19:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kochetkov X-Patchwork-Id: 1376731 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=inbox.ru Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=inbox.ru header.i=@inbox.ru header.a=rsa-sha256 header.s=mail3 header.b=UWTqP68I; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C4c5x5HWsz9sSs for ; Mon, 5 Oct 2020 21:19:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F22558704E; Mon, 5 Oct 2020 10:19:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ehg7w-g0fa6M; Mon, 5 Oct 2020 10:19:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F2F7D87014; Mon, 5 Oct 2020 10:19:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 71C931BF30A for ; Mon, 5 Oct 2020 10:19:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6D7E5857D0 for ; Mon, 5 Oct 2020 10:19:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B6USWbK7lF6I for ; Mon, 5 Oct 2020 10:19:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [94.100.177.113]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5B0D58622A for ; Mon, 5 Oct 2020 10:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=c8uOkbX94AMHUlCOQhio+UlNIJehlrbdFG8hdDyq5TM=; b=UWTqP68IFoCSg3GxL3N1BnG+ZqQlk/pVB9cMq5GRdmDvNADjaLc6k86yS6P2txl1O3cuuNzY2Tgy9jCNF9k/KDVjLZdfUrVvDu6HiAZmSavzvkB7qbLuXMlAU6qhr0C2MOA6qrnxmM5hLdHV0rxq5OIVvHgc/MQzUwkf1UKXnuI=; Received: by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1kPNaW-000359-8A; Mon, 05 Oct 2020 13:19:24 +0300 From: Maxim Kochetkov To: buildroot@buildroot.org Date: Mon, 5 Oct 2020 13:19:51 +0300 Message-Id: <20201005101951.3112095-3-fido_max@inbox.ru> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201005101951.3112095-1-fido_max@inbox.ru> References: <20201005101951.3112095-1-fido_max@inbox.ru> MIME-Version: 1.0 Authentication-Results: smtp53.i.mail.ru; auth=pass smtp.auth=fido_max@inbox.ru smtp.mailfrom=fido_max@inbox.ru X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9E98D7292067252302C0E76C52979D672675FED68DAFAF9FC182A05F538085040D7502C970EA824F06723389C7452A0DD5D79053B7E5E88F6AF8D4231B69A5104 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7FEAC828D2BF6EC3CEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063726CA83C7ABDB938E8638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FC62FD9C154AAE7AC5E652EDC9761D37859E821C41EA1CBA03389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0E7DDDDC251EA7DABA471835C12D1D977725E5C173C3A84C3CF36E64A7E3F8E58117882F4460429728AD0CFFFB425014EFE57002F862A6B6676E601842F6C81A19E625A9149C048EEC24E1E72F37C03A04782AAF36435267CD8FC6C240DEA76429449624AB7ADAF37B2D370F7B14D4BC40A6AB1C7CE11FEE3CE4AEF6198D2632603F1AB874ED89028C4224003CC8364767A15B7713DBEF166A7F4EDE966BC389F9E8FC8737B5C2249EB4D44AFC205D51D089D37D7C0E48F6CCF19DD082D7633A0E7DDDDC251EA7DABAAAE862A0553A39223F8577A6DFFEA7C6EBF3F0004E5513043847C11F186F3C5E7DDDDC251EA7DABCC89B49CDF41148FA8EF81845B15A4842623479134186CDE6BA297DBC24807EABDAD6C7F3747799A X-C8649E89: BEE060D5804B702210876974D50C95F1AEFEF61F0CCBCF2073357C545951CFFD503131BC8FA287CF X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj1bf1uU7Q7DwuXk0pe+hxNw== X-Mailru-Internal-Actual: A:0.86402264788663 X-Mailru-Sender: 11C2EC085EDE56FA9C10FA2967F5AB2424CF75970F53B11AAE918D2B4CA07E5F3E584EF2D6FCC9ECEE9242D420CFEBFD3DDE9B364B0DF2891A624F84B2C74EDA4239CF2AF0A6D4F80DA7A0AF5A3A8387 X-Mras: Ok Subject: [Buildroot] [PATCH 2/2] package/timescaledb: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxim Kochetkov Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" TimescaleDB is an open-source database designed to make SQL scalable for time-series data. It is engineered up from PostgreSQL and packaged as a PostgreSQL extension, providing automatic partitioning across time and space (partitioning key), as well as full SQL support. Signed-off-by: Maxim Kochetkov --- package/Config.in | 1 + package/timescaledb/Config.in | 11 +++++++++++ package/timescaledb/timescaledb.hash | 3 +++ package/timescaledb/timescaledb.mk | 22 ++++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 package/timescaledb/Config.in create mode 100644 package/timescaledb/timescaledb.hash create mode 100644 package/timescaledb/timescaledb.mk diff --git a/package/Config.in b/package/Config.in index 16acc30ce6..5c50d4d523 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1379,6 +1379,7 @@ menu "Database" source "package/mongodb/Config.in" source "package/mysql/Config.in" source "package/postgresql/Config.in" + source "package/timescaledb/Config.in" source "package/redis/Config.in" source "package/rocksdb/Config.in" source "package/sqlcipher/Config.in" diff --git a/package/timescaledb/Config.in b/package/timescaledb/Config.in new file mode 100644 index 0000000000..e11fb14ac0 --- /dev/null +++ b/package/timescaledb/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_TIMESCALEDB + bool "timescaledb" + depends on BR2_PACKAGE_POSTGRESQL + help + TimescaleDB is an open-source database designed + to make SQL scalable for time-series data. + It is engineered up from PostgreSQL and packaged + as a PostgreSQL extension, providing automatic + partitioning across time and space (partitioning key), + as well as full SQL support. + diff --git a/package/timescaledb/timescaledb.hash b/package/timescaledb/timescaledb.hash new file mode 100644 index 0000000000..452e2efc8f --- /dev/null +++ b/package/timescaledb/timescaledb.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d0b7a153ff3e02ecf033a869ecdf4286f8610ea76140baa84928fc3a80223e99 timescaledb-1.7.4.tar.gz +sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/package/timescaledb/timescaledb.mk b/package/timescaledb/timescaledb.mk new file mode 100644 index 0000000000..958fa1e508 --- /dev/null +++ b/package/timescaledb/timescaledb.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# timescaledb +# +################################################################################ + +TIMESCALEDB_VERSION = 1.7.4 +TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) +TIMESCALEDB_LICENSE = Apache-2.0 +TIMESCALEDB_LICENSE_FILES = LICENSE + +TIMESCALEDB_DEPENDENCIES = postgresql +TIMESCALEDB_CONF_OPTS += -DREGRESS_CHECKS=OFF +TIMESCALEDB_CONF_OPTS += -DPG_PKGLIBDIR=lib/postgresql +TIMESCALEDB_CONF_OPTS += -DPG_SHAREDIR=share/postgresql +TIMESCALEDB_CONF_OPTS += -DPG_BINDIR=bin +TIMESCALEDB_CONF_OPTS += -DPG_CPPFLAGS="$(POSTGRESQL_CPPFLAGS) " +TIMESCALEDB_CONF_OPTS += -DPG_CFLAGS="$(POSTGRESQL_CFLAGS) " +TIMESCALEDB_CONF_OPTS += -DPG_LDFLAGS="$(POSTGRESQL_LDFLAGS) " +TIMESCALEDB_CONF_OPTS += -DPG_LIBS=" " + +$(eval $(cmake-package))