extra/netdata to 1.40.1-2

This commit is contained in:
Kevin Mihelich 2023-07-04 13:43:53 +00:00
parent eba8a38917
commit 3da84ea927
3 changed files with 70 additions and 5 deletions

View file

@ -5,8 +5,8 @@
# - disable LTO
pkgname=netdata
pkgver=1.40.0
pkgrel=1
pkgver=1.40.1
pkgrel=2
pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
url="https://github.com/netdata/netdata"
arch=('x86_64')
@ -29,9 +29,18 @@ optdepends=('nodejs: for monitoring named and SNMP devices'
'iw: for monitoring Linux as access point')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/releases/download/v$pkgver/netdata-v$pkgver.tar.gz"
"$pkgname.sysusers")
sha512sums=('0fb103d6b5f37cba68a553d9934fbc7a6fb1f4dd59f1aae0cc755076b8fc2c6889405fd2875eff703036fa811334c29ffcfda080d93453f5882f8e230d05a8da'
'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
"$pkgname.sysusers"
protobuf-23.patch)
sha512sums=('e2769c65036422371c4cca7757d813a35202a7f3bb905e03e40247be96e48d5ce71431ae43f3b8ab03a72b690e5fe370b0079c82e00e00ef5454d9a0a8d42132'
'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66'
'5a759d6fe29f6ded679ebe61189a81639adf4397219cb0f1128a1490702ca4b1e250a70ed3bb548ca37c53992659f9c910e1ddc8b167bc6cf1f518630b960e05')
prepare() {
cd $pkgname-v$pkgver
patch -p1 -i ../protobuf-23.patch # Fix build with protobuf 23
# protobuf 23 requires c++17
sed -e 's|\# AX_CXX_COMPILE_STDCXX(17, noext, optional)|AX_CXX_COMPILE_STDCXX(17, noext, optional)|' -i configure.ac
}
build() {
cd "$pkgname-v$pkgver"

View file

@ -0,0 +1,37 @@
diff --git a/aclk/schema-wrappers/alarm_stream.cc b/aclk/schema-wrappers/alarm_stream.cc
index 11b9284f5..9e34b78a2 100644
--- a/aclk/schema-wrappers/alarm_stream.cc
+++ b/aclk/schema-wrappers/alarm_stream.cc
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: GPL-3.0-or-later
-#include "alarm_stream.h"
-
#include "proto/alarm/v1/stream.pb.h"
#include "libnetdata/libnetdata.h"
+#include "alarm_stream.h"
+
#include "schema_wrapper_utils.h"
using namespace alarms::v1;
diff --git a/aclk/schema-wrappers/schema_wrapper_utils.h b/aclk/schema-wrappers/schema_wrapper_utils.h
index 2815d0f20..751caa324 100644
--- a/aclk/schema-wrappers/schema_wrapper_utils.h
+++ b/aclk/schema-wrappers/schema_wrapper_utils.h
@@ -3,11 +3,12 @@
#ifndef SCHEMA_WRAPPER_UTILS_H
#define SCHEMA_WRAPPER_UTILS_H
+#include <google/protobuf/timestamp.pb.h>
+#include <google/protobuf/map.h>
+
#include "database/rrd.h"
#include <sys/time.h>
-#include <google/protobuf/timestamp.pb.h>
-#include <google/protobuf/map.h>
#if GOOGLE_PROTOBUF_VERSION < 3001000
#define PROTO_COMPAT_MSG_SIZE(msg) (size_t)msg.ByteSize();

19
extra/rclone/.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = rclone
pkgdesc = Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage
pkgver = 1.63.0
pkgrel = 1
url = https://rclone.org/
arch = x86_64
license = MIT
makedepends = python
makedepends = pandoc
makedepends = go
makedepends = git
makedepends = fuse3
depends = glibc
optdepends = fuse3: for rclone mount
options = !lto
source = rclone-1.63.0.tar.gz::https://github.com/rclone/rclone/archive/v1.63.0.tar.gz
sha512sums = 5f4590a5244d4eb1a51fc15a4ebef70941af94db8790d3ea1bd56b91f399f580b2cd1cc168c5d5e1fd9ee4bc4a3a4a908c8720aead8f8c24bcee3eacc6423ef3
pkgname = rclone