summaryrefslogtreecommitdiff
path: root/net-mgmt/netdata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/netdata/Makefile')
-rw-r--r--net-mgmt/netdata/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index 06cb32a2bfe9..7bee121eb952 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -1,6 +1,6 @@
PORTNAME= netdata
DISTVERSIONPREFIX= v
-DISTVERSION= 2.5.4
+DISTVERSION= 2.6.3
CATEGORIES= net-mgmt
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/:netdata \
https://raw.githubusercontent.com/netdata/netdata/refs/tags/v${DISTVERSION}/src/go/:goplugin \
@@ -16,8 +16,7 @@ WWW= https://github.com/netdata/netdata
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${LOCALBASE}/bin/mmv:misc/mmv \
- ${LOCALBASE}/lib/libbacktrace.a:devel/libbacktrace
+BUILD_DEPENDS= ${LOCALBASE}/lib/libbacktrace.a:devel/libbacktrace
LIB_DEPENDS= libabsl_base.so:devel/abseil \
libbrotlicommon.so:archivers/brotli \
libcurl.so:ftp/curl \
@@ -75,7 +74,7 @@ NETDATA_CACHE= /var/cache/${PORTNAME}
NETDATA_LOG= /var/log/${PORTNAME}
NETDATA_PERST= /var/db/${PORTNAME}
NETDATA_RUN= /var/run/${PORTNAME}
-NETDATA_DASHBOARD_VERSION= 20250629
+NETDATA_DASHBOARD_VERSION= 20250824
PLIST_SUB= NETDATA_CACHE=${NETDATA_CACHE} \
NETDATA_LOG=${NETDATA_LOG} \
@@ -83,8 +82,7 @@ PLIST_SUB= NETDATA_CACHE=${NETDATA_CACHE} \
NETDATA_RUN=${NETDATA_RUN}
OPTIONS_DEFINE= CUPS DASHBOARD FREEIPMI GOPLUGIN ML PROMETHEUS
-OPTIONS_DEFAULT= ML
-OPTIONS_EXCLUDE_powerpc64le= ML
+OPTIONS_DEFAULT= DASHBOARD GOPLUGIN ML
OPTIONS_SUB= YES
CUPS_DESC= Enable support for cups
@@ -152,10 +150,10 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/netdata.conf.sample ${STAGEDIR}${ETCDIR}/netdata.conf.sample
${INSTALL_DATA} ${FILESDIR}/netdata.newsyslog.conf.sample ${STAGEDIR}${ETCDIR}/netdata.newsyslog.conf.sample
${TOUCH} ${STAGEDIR}${ETCDIR}/.opt-out-from-anonymous-statistics
- @(cd ${STAGEDIR}${LOCALBASE}/lib/${PORTNAME} && mmv ";*.conf" "#1#2.conf.sample")
- ${RM} ${STAGEDIR}${ETCDIR}/netdata-updater.conf
- ${RM} ${STAGEDIR}${LOCALBASE}/libexec/netdata/netdata-updater.sh
- ${RM} -r ${STAGEDIR}${PREFIX}/lib/netdata/system
+ ${RM} -r ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/netdata-updater.sh \
+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/conf.d/netdata-updater.conf \
+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/system
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} -type f -name "*.conf" -exec ${MV} {} {}.sample \;
post-install-DASHBOARD-on:
@(cd ${WRKDIR}/dist/agent && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/web)