influxdb: add new recipe and related dependency 59/3559/1
authorJackie Huang <jackie.huang@windriver.com>
Fri, 1 May 2020 09:19:45 +0000 (17:19 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Sun, 3 May 2020 02:59:52 +0000 (10:59 +0800)
influxdb is required by stx, so add the new recipe
and related dependency.

Issue-ID: INF-71
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I04bf23605a40ed4ae9dfdef4091aa4fe4f5de666

meta-stx/recipes-core/stx-monitoring/influxdb-extensions.inc
meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb [new file with mode: 0644]

index c2bf92c..36e3199 100644 (file)
@@ -16,6 +16,7 @@
 PACKAGES += " influxdb-extensions"
 
 RDEPENDS_influxdb-extensions += " \
+       influxdb \
        systemd \
        python-influxdb \
        "
diff --git a/meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb b/meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb
new file mode 100644 (file)
index 0000000..d90c1cb
--- /dev/null
@@ -0,0 +1,39 @@
+#
+## Copyright (C) 2019 Wind River Systems, Inc.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+SUMMARY = "InfluxDB is an open source time series platform"
+DESCRIPTION = "\
+InfluxDB is an open source time series platform. \
+This includes APIs for storing and querying data, \
+processing it in the background for ETL or monitoring \
+and alerting purposes, user dashboards, and visualizing \
+and exploring the data and more. \
+"
+HOMEPAGE = "https://www.influxdata.com/products/influxdb-overview/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI = "https://s3.amazonaws.com/influxdb/${BPN}_${PV}_x86_64.tar.gz"
+SRC_URI[md5sum] = "da0cbcc5a521adc0e588327550441fbf"
+SRC_URI[sha256sum] = "6d660007ca207f98eb847f4abf7f3060d1e6d239deeca9beaf833455a670fdb8"
+
+S = "${WORKDIR}//${BPN}_${PV}_x86_64"
+
+do_install() {
+    cp -av --no-preserve=ownership ${S}/* ${D}/
+}
+
+INSANE_SKIP_${PN}_append = "already-stripped ldflags"