pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
prometheus-cpp: add finished package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Thu Jun 22 17:23:45 2023 +0200
Changeset: ddcc72e361b5f5cda0b2c400b5e87c0915cbd1d6
Modified Files:
Makefile
Added Files:
prometheus-cpp/DESCR
prometheus-cpp/Makefile
prometheus-cpp/PLIST
prometheus-cpp/buildlink3.mk
prometheus-cpp/distinfo
Log Message:
prometheus-cpp: add finished package
for import after the freeze
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ddcc72e361b5f5cda0b2c400b5e87c0915cbd1d6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
prometheus-cpp/DESCR | 5 +++++
prometheus-cpp/Makefile | 30 ++++++++++++++++++++++++++++++
prometheus-cpp/PLIST | 37 +++++++++++++++++++++++++++++++++++++
prometheus-cpp/buildlink3.mk | 17 +++++++++++++++++
prometheus-cpp/distinfo | 5 +++++
6 files changed, 95 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index fbae1b66a1..b4e3cb410f 100644
--- a/Makefile
+++ b/Makefile
@@ -3264,6 +3264,7 @@ SUBDIR+= prodigal
SUBDIR+= progreiserfs
SUBDIR+= proj
SUBDIR+= proj-data
+SUBDIR+= prometheus-cpp
SUBDIR+= prometheus-lts
SUBDIR+= promtail
SUBDIR+= proplib
diff --git a/prometheus-cpp/DESCR b/prometheus-cpp/DESCR
new file mode 100644
index 0000000000..7e780e4643
--- /dev/null
+++ b/prometheus-cpp/DESCR
@@ -0,0 +1,5 @@
+This library aims to enable Metrics-Driven Development for C++
+services. It implements the Prometheus Data Model, a powerful
+abstraction on which to collect and expose metrics. We offer the
+possibility for metrics to be collected by Prometheus, but other
+push/pull collections can be added as plugins.
diff --git a/prometheus-cpp/Makefile b/prometheus-cpp/Makefile
new file mode 100644
index 0000000000..cdfd3d6240
--- /dev/null
+++ b/prometheus-cpp/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME= prometheus-cpp-with-submodules
+PKGNAME= prometheus-cpp-1.1.0
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jupp0r/}
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= prometheus-cpp
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/jupp0r/prometheus-cpp/
+COMMENT= Prometheus Client Library for Modern C++
+LICENSE= mit
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= 3rdparty/googletest/googlemock/cmake/gmock.pc.in
+PKGCONFIG_OVERRIDE+= 3rdparty/googletest/googlemock/cmake/gmock_main.pc.in
+PKGCONFIG_OVERRIDE+= 3rdparty/googletest/googletest/cmake/gtest.pc.in
+PKGCONFIG_OVERRIDE+= 3rdparty/googletest/googletest/cmake/gtest_main.pc.in
+PKGCONFIG_OVERRIDE+= cmake/prometheus-cpp-core.pc.in
+PKGCONFIG_OVERRIDE+= cmake/prometheus-cpp-pull.pc.in
+PKGCONFIG_OVERRIDE+= cmake/prometheus-cpp-push.pc.in
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/prometheus-cpp/PLIST b/prometheus-cpp/PLIST
new file mode 100644
index 0000000000..b5c02a8197
--- /dev/null
+++ b/prometheus-cpp/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD$
+include/prometheus/CivetServer.h
+include/prometheus/check_names.h
+include/prometheus/civetweb.h
+include/prometheus/client_metric.h
+include/prometheus/collectable.h
+include/prometheus/counter.h
+include/prometheus/detail/builder.h
+include/prometheus/detail/ckms_quantiles.h
+include/prometheus/detail/core_export.h
+include/prometheus/detail/http_method.h
+include/prometheus/detail/pull_export.h
+include/prometheus/detail/push_export.h
+include/prometheus/detail/time_window_quantiles.h
+include/prometheus/detail/utils.h
+include/prometheus/exposer.h
+include/prometheus/family.h
+include/prometheus/gateway.h
+include/prometheus/gauge.h
+include/prometheus/histogram.h
+include/prometheus/info.h
+include/prometheus/labels.h
+include/prometheus/metric_family.h
+include/prometheus/metric_type.h
+include/prometheus/registry.h
+include/prometheus/serializer.h
+include/prometheus/summary.h
+include/prometheus/text_serializer.h
+lib/cmake/prometheus-cpp/prometheus-cpp-config.cmake
+lib/cmake/prometheus-cpp/prometheus-cpp-targets-noconfig.cmake
+lib/cmake/prometheus-cpp/prometheus-cpp-targets.cmake
+lib/libprometheus-cpp-core.a
+lib/libprometheus-cpp-pull.a
+lib/libprometheus-cpp-push.a
+lib/pkgconfig/prometheus-cpp-core.pc
+lib/pkgconfig/prometheus-cpp-pull.pc
+lib/pkgconfig/prometheus-cpp-push.pc
diff --git a/prometheus-cpp/buildlink3.mk b/prometheus-cpp/buildlink3.mk
new file mode 100644
index 0000000000..bad48cd386
--- /dev/null
+++ b/prometheus-cpp/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= prometheus-cpp
+
+.if !defined(PROMETHEUS_CPP_BUILDLINK3_MK)
+PROMETHEUS_CPP_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.prometheus-cpp?= build
+
+BUILDLINK_API_DEPENDS.prometheus-cpp+= prometheus-cpp>=1.1.0
+BUILDLINK_PKGSRCDIR.prometheus-cpp?= ../../wip/prometheus-cpp
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.endif # PROMETHEUS_CPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -prometheus-cpp
diff --git a/prometheus-cpp/distinfo b/prometheus-cpp/distinfo
new file mode 100644
index 0000000000..bd91fbf65a
--- /dev/null
+++ b/prometheus-cpp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (prometheus-cpp-1.1.0/prometheus-cpp-with-submodules.tar.gz) = c44229c5487789f72461b9bf0a8f8efc94812b85dbe7690c63044d010e4a9bdc
+SHA512 (prometheus-cpp-1.1.0/prometheus-cpp-with-submodules.tar.gz) = 8a364364b6122e6543e5b4166973c0d5803d88673d348e307c8285b5c414788d2dcc242323ee71ec3c7bd2741db238965f6c6adf3c3d638d6ef497cf965287dd
+Size (prometheus-cpp-1.1.0/prometheus-cpp-with-submodules.tar.gz) = 13014032 bytes
Home |
Main Index |
Thread Index |
Old Index