pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
netdata: start a package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Dec 19 15:30:20 2025 +0100
Changeset: d43ba03d598deee6c1043bc1402b49003adab6c9
Modified Files:
Makefile
Added Files:
netdata/DESCR
netdata/Makefile
netdata/PLIST
netdata/TODO
netdata/distinfo
netdata/patches/patch-aa
Log Message:
netdata: start a package
Fails in the build stage, see TODO
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d43ba03d598deee6c1043bc1402b49003adab6c9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 ++
netdata/DESCR | 23 +++++++++++++++++++++++
netdata/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
netdata/PLIST | 4 ++++
netdata/TODO | 5 +++++
netdata/distinfo | 6 ++++++
netdata/patches/patch-aa | 15 +++++++++++++++
7 files changed, 95 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index bc0599c5a2..6f265be147 100644
--- a/Makefile
+++ b/Makefile
@@ -1053,6 +1053,7 @@ SUBDIR+= freefilesync
SUBDIR+= freegish-git
SUBDIR+= freej
SUBDIR+= freem
+SUBDIR+= freemasterofmagic
SUBDIR+= freeserf
SUBDIR+= freeswitch-core
SUBDIR+= freeswitch-music
@@ -2622,6 +2623,7 @@ SUBDIR+= netbsd-make
SUBDIR+= netbsd-pf
SUBDIR+= netbsd-x11-i386
SUBDIR+= netclasses
+SUBDIR+= netdata
SUBDIR+= netdata-git
SUBDIR+= netgen
SUBDIR+= netkit-base
diff --git a/netdata/DESCR b/netdata/DESCR
new file mode 100644
index 0000000000..65753d2a37
--- /dev/null
+++ b/netdata/DESCR
@@ -0,0 +1,23 @@
+TODO: Adjust the following lines from README.md
+
+<p align="center">
+<a href="https://www.netdata.cloud#gh-light-mode-only">
+ <img src="https://www.netdata.cloud/img/readme-images/netdata_readme_logo_light.png" alt="Netdata" width="300"/>
+</a>
+<a href="https://www.netdata.cloud#gh-dark-mode-only">
+ <img src="https://www.netdata.cloud/img/readme-images/netdata_readme_logo_dark.png" alt="Netdata" width="300"/>
+</a>
+</p>
+<h3 align="center">X-Ray Vision for your infrastructure!</h3>
+<h4 align="center">Every Metric, Every Second. No BS.</h4>
+
+<br />
+<p align="center">
+ <a href="https://github.com/netdata/netdata/"><img src="https://img.shields.io/github/stars/netdata/netdata?style=social" alt="GitHub Stars"></a>
+ <br />
+ <a href="https://app.netdata.cloud/spaces/netdata-demo?utm_campaign=github_readme_demo_badge"><img src="https://img.shields.io/badge/Live%20Demo-green" alt="Live Demo"></a>
+ <a href="https://github.com/netdata/netdata/releases/latest"><img src="https://img.shields.io/github/release/netdata/netdata.svg" alt="Latest release"></a>
+ <a href="https://github.com/netdata/netdata-nightlies/releases/latest"><img src="https://img.shields.io/github/release/netdata/netdata-nightlies.svg" alt="Latest nightly build"></a>
+ <br/>
+ <a href="https://community.netdata.cloud"><img alt="Discourse topics" src="https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.netdata.cloud%2F&logo=discourse&label=discourse%20forum"></a>
+...
diff --git a/netdata/Makefile b/netdata/Makefile
new file mode 100644
index 0000000000..dfdfbfaf6a
--- /dev/null
+++ b/netdata/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD$
+
+DISTNAME= netdata-2.8.3
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=netdata/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/netdata/netdata/
+COMMENT= AI-powered full stack observability
+LICENSE= gnu-gpl-v3
+
+TOOL_DEPENDS+= go-[0-9]*:../../lang/go
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+CMAKE_CONFIGURE_ARGS+= -DGO_EXECUTABLE=${GO}
+# wants to download corrosion
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NETDATA_JOURNAL_FILE_READER=OFF
+CMAKE_CONFIGURE_ARGS+= -DENABLE_PLUGIN_OTEL=OFF
+# wants to download dlib
+CMAKE_CONFIGURE_ARGS+= -DENABLE_ML=OFF
+# wants to download dashboard
+CMAKE_CONFIGURE_ARGS+= -DENABLE_DASHBOARD=OFF
+# needs libipmimonitoring
+CMAKE_CONFIGURE_ARGS+= -DENABLE_PLUGIN_FREEIPMI=OFF
+
+.include "../../devel/cmake/build.mk"
+.include "../../lang/go/version.mk"
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../devel/abseil/buildlink3.mk"
+.include "../../devel/libuuid/buildlink3.mk"
+.include "../../devel/libuv/buildlink3.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+.include "../../devel/snappy/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../textproc/libyaml/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/netdata/PLIST b/netdata/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/netdata/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/netdata/TODO b/netdata/TODO
new file mode 100644
index 0000000000..41e06261ec
--- /dev/null
+++ b/netdata/TODO
@@ -0,0 +1,5 @@
+Gets through configure, but then fails with
+
+ninja: error: '/scratch/wip/netdata/work/netdata-2.8.3/src/aclk/aclk-schemas/proto/aclk/v1/lib.proto', needed by 'src/aclk/aclk-schemas/proto/aclk/v1/lib.pb.cc', missing and no known rule to make it
+
+/scratch/wip/netdata/work/netdata-2.8.3/src/aclk/aclk-schemas/ is an empty directory.
diff --git a/netdata/distinfo b/netdata/distinfo
new file mode 100644
index 0000000000..144bb877b0
--- /dev/null
+++ b/netdata/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (netdata-2.8.3.tar.gz) = 3cc3d7306e2c4a6a100b4b504b129ae5bad1a8fe98e2118b913cc00d11067718
+SHA512 (netdata-2.8.3.tar.gz) = 78d86b275029557b07a16ded21baa1af1df233512688f707436ed71bd23823051e89fc731be9e714a4800a784580cbd55095b471f4fcbc9941dc612c182bf3e7
+Size (netdata-2.8.3.tar.gz) = 15606863 bytes
+SHA1 (patch-aa) = b5615c043d603776926daceeaa60e9d0aa3ab4d7
diff --git a/netdata/patches/patch-aa b/netdata/patches/patch-aa
new file mode 100644
index 0000000000..93f8cc9113
--- /dev/null
+++ b/netdata/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- packaging/cmake/Modules/NetdataPlatform.cmake.orig 2025-12-19 12:56:26.413513975 +0000
++++ packaging/cmake/Modules/NetdataPlatform.cmake
+@@ -65,6 +65,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darw
+ elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
+ set(OS_FREEBSD True)
+ message(STATUS " Compiling for FreeBSD... ")
++elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "NetBSD")
++ # handle NetBSD like FreeBSD for now
++ set(OS_FREEBSD True)
++ message(STATUS " Compiling for FreeBSD... ")
+ elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
+ set(OS_LINUX True)
+ add_definitions(-D_GNU_SOURCE)
Home |
Main Index |
Thread Index |
Old Index