pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/prometheus-cpp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun 26 11:39:20 UTC 2023

Added Files:
        pkgsrc/databases/prometheus-cpp: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
databases/prometheus-cpp: import prometheus-cpp-1.1.0

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/prometheus-cpp/DESCR \
    pkgsrc/databases/prometheus-cpp/Makefile \
    pkgsrc/databases/prometheus-cpp/PLIST \
    pkgsrc/databases/prometheus-cpp/buildlink3.mk \
    pkgsrc/databases/prometheus-cpp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/prometheus-cpp/DESCR
diff -u /dev/null pkgsrc/databases/prometheus-cpp/DESCR:1.1
--- /dev/null   Mon Jun 26 11:39:20 2023
+++ pkgsrc/databases/prometheus-cpp/DESCR       Mon Jun 26 11:39:20 2023
@@ -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.
Index: pkgsrc/databases/prometheus-cpp/Makefile
diff -u /dev/null pkgsrc/databases/prometheus-cpp/Makefile:1.1
--- /dev/null   Mon Jun 26 11:39:20 2023
+++ pkgsrc/databases/prometheus-cpp/Makefile    Mon Jun 26 11:39:20 2023
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2023/06/26 11:39:20 wiz Exp $
+
+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"
Index: pkgsrc/databases/prometheus-cpp/PLIST
diff -u /dev/null pkgsrc/databases/prometheus-cpp/PLIST:1.1
--- /dev/null   Mon Jun 26 11:39:20 2023
+++ pkgsrc/databases/prometheus-cpp/PLIST       Mon Jun 26 11:39:20 2023
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2023/06/26 11:39:20 wiz Exp $
+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
Index: pkgsrc/databases/prometheus-cpp/buildlink3.mk
diff -u /dev/null pkgsrc/databases/prometheus-cpp/buildlink3.mk:1.1
--- /dev/null   Mon Jun 26 11:39:20 2023
+++ pkgsrc/databases/prometheus-cpp/buildlink3.mk       Mon Jun 26 11:39:20 2023
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/06/26 11:39:20 wiz Exp $
+
+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?=   ../../databases/prometheus-cpp
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.endif # PROMETHEUS_CPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -prometheus-cpp
Index: pkgsrc/databases/prometheus-cpp/distinfo
diff -u /dev/null pkgsrc/databases/prometheus-cpp/distinfo:1.1
--- /dev/null   Mon Jun 26 11:39:20 2023
+++ pkgsrc/databases/prometheus-cpp/distinfo    Mon Jun 26 11:39:20 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/06/26 11:39:20 wiz Exp $
+
+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