pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/netbsd_exporter



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu May 23 06:55:00 UTC 2024

Modified Files:
        pkgsrc/sysutils/netbsd_exporter: Makefile distinfo
        pkgsrc/sysutils/netbsd_exporter/patches: patch-Makefile

Log Message:
netbsd_exporter: update to 0.9.4.

>From Matthias Petermann in wip.

* the new version fixes an integer overflow occured on 32 bit systems
* the package was converted to use Github as its primary source


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/netbsd_exporter/Makefile \
    pkgsrc/sysutils/netbsd_exporter/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/sysutils/netbsd_exporter/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/sysutils/netbsd_exporter/Makefile
diff -u pkgsrc/sysutils/netbsd_exporter/Makefile:1.1 pkgsrc/sysutils/netbsd_exporter/Makefile:1.2
--- pkgsrc/sysutils/netbsd_exporter/Makefile:1.1        Fri Dec 29 20:55:02 2023
+++ pkgsrc/sysutils/netbsd_exporter/Makefile    Thu May 23 06:55:00 2024
@@ -1,17 +1,16 @@
-# $NetBSD: Makefile,v 1.1 2023/12/29 20:55:02 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2024/05/23 06:55:00 wiz Exp $
 
-DISTNAME=      0.9.3
-PKGNAME=       netbsd_exporter-${DISTNAME}
+DISTNAME=      netbsd_exporter-0.9.4
 CATEGORIES=    sysutils
-MASTER_SITES=  https://forge.petermann-it.de/mpeterma/netbsd_exporter/archive/
-DIST_SUBDIR=   netbsd_exporter
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=MatthiasPetermann/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.petermann-it.de/en/blog/netbsd_exporter/
 COMMENT=       Prometheus exporter for NetBSD
 LICENSE=       2-clause-bsd
 
-WRKSRC=                ${WRKDIR}/netbsd_exporter
+WRKSRC=                ${WRKDIR}/${DISTNAME}
 
 ONLY_FOR_PLATFORM=     NetBSD-*
 
Index: pkgsrc/sysutils/netbsd_exporter/distinfo
diff -u pkgsrc/sysutils/netbsd_exporter/distinfo:1.1 pkgsrc/sysutils/netbsd_exporter/distinfo:1.2
--- pkgsrc/sysutils/netbsd_exporter/distinfo:1.1        Fri Dec 29 20:55:02 2023
+++ pkgsrc/sysutils/netbsd_exporter/distinfo    Thu May 23 06:55:00 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/12/29 20:55:02 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/05/23 06:55:00 wiz Exp $
 
-BLAKE2s (netbsd_exporter/0.9.3.tar.gz) = d7238b830d6b70b560b2d71d132356b62960a095286b27663136ef6f350600a2
-SHA512 (netbsd_exporter/0.9.3.tar.gz) = 25e1799638a9649b5230f49e794db6be4117f4348ba3b5457892c958216b4d603c0e1c42d7db4098bba1459d5d89c885dc344750355bfa975480d918716ab48f
-Size (netbsd_exporter/0.9.3.tar.gz) = 4921 bytes
-SHA1 (patch-Makefile) = 4a1714436a125ec03485a24424f41476798fcfde
+BLAKE2s (netbsd_exporter-0.9.4.tar.gz) = bc33ad7771e1845ee29b2ab954a42b1ad4db622a58eadcc92aa13706e890e6fa
+SHA512 (netbsd_exporter-0.9.4.tar.gz) = 1051cf9747a6c72fef728c0900cdb1e034cf7d3a524c2e6e3cec9127e46aa4106f3353f77b6fd0fca000f993f20a7cc85fef4897381664272cb4cb7bba41ed21
+Size (netbsd_exporter-0.9.4.tar.gz) = 4918 bytes
+SHA1 (patch-Makefile) = d6b87c237b179917d2ff932443d66cf34824bcaa

Index: pkgsrc/sysutils/netbsd_exporter/patches/patch-Makefile
diff -u pkgsrc/sysutils/netbsd_exporter/patches/patch-Makefile:1.1 pkgsrc/sysutils/netbsd_exporter/patches/patch-Makefile:1.2
--- pkgsrc/sysutils/netbsd_exporter/patches/patch-Makefile:1.1  Fri Dec 29 20:55:02 2023
+++ pkgsrc/sysutils/netbsd_exporter/patches/patch-Makefile      Thu May 23 06:55:00 2024
@@ -1,19 +1,20 @@
-$NetBSD: patch-Makefile,v 1.1 2023/12/29 20:55:02 wiz Exp $
+$NetBSD: patch-Makefile,v 1.2 2024/05/23 06:55:00 wiz Exp $
 
 Allow overriding installation paths.
 
 --- Makefile.orig      2023-12-27 17:56:57.000000000 +0000
 +++ Makefile
-@@ -2,6 +2,8 @@ CC=cc
+@@ -2,7 +2,9 @@ CC=cc
  CFLAGS=-Wall -Wextra
  TARGET=netbsd_exporter
+ VERSION=0.9.4
  
 +PREFIX?=/usr
 +MANDIR?=share/man
  PACKAGE=$(TARGET)-$(VERSION).tar.gz
  
  all: $(TARGET)
-@@ -21,7 +23,9 @@ dist:        $(TARGET)
+@@ -22,7 +24,9 @@ dist:        $(TARGET)
        (cd dist;tar -cvf ../$(PACKAGE) .)
  
  install: $(TARGET)



Home | Main Index | Thread Index | Old Index