pkgsrc-WIP-changes archive

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

go-collectd: implement some suggestions by bsiegert



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Nov 29 21:11:18 2025 +0100
Changeset:	f70a2bdf80d36024a595f8f039e83f47398d3b2b

Modified Files:
	collectd-unbound/Makefile
	collectd-unbound/distinfo
Added Files:
	collectd-unbound/files/go.mod
	collectd-unbound/files/go.sum
	collectd-unbound/go-modules.mk

Log Message:
go-collectd: implement some suggestions by bsiegert

to make build progress further

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f70a2bdf80d36024a595f8f039e83f47398d3b2b

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

diffstat:
 collectd-unbound/Makefile      |  5 +++++
 collectd-unbound/distinfo      | 12 ++++++++++++
 collectd-unbound/files/go.mod  |  7 +++++++
 collectd-unbound/files/go.sum  | 14 ++++++++++++++
 collectd-unbound/go-modules.mk |  6 ++++++
 5 files changed, 44 insertions(+)

diffs:
diff --git a/collectd-unbound/Makefile b/collectd-unbound/Makefile
index 91b814e4b2..a35d92056f 100644
--- a/collectd-unbound/Makefile
+++ b/collectd-unbound/Makefile
@@ -19,6 +19,11 @@ GO_DIST_BASE=		${DISTNAME}-${GITHUB_TAG}*
 DEPENDS+=		go-collectd-[0-9]*:../../wip/go-collectd
 DEPENDS+=		collectd-[0-9]*:../../sysutils/collectd
 
+post-extract:
+	${CP} ${FILESDIR}/go* ${WRKSRC}
+
+.include "go-modules.mk"
+
 #.include "../../wip/go-collectd/buildlink3.mk"
 .include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/collectd-unbound/distinfo b/collectd-unbound/distinfo
index 264a04c7bd..71a2ea0cb3 100644
--- a/collectd-unbound/distinfo
+++ b/collectd-unbound/distinfo
@@ -3,4 +3,16 @@ $NetBSD$
 BLAKE2s (collectd-unbound-e751f863013753578f47d6528cea1b4f91a5f6c6.tar.gz) = 873899a8f03688cc933e695bd6ff63bebdc2af9d214cdce8cf0864e8a0b90bfc
 SHA512 (collectd-unbound-e751f863013753578f47d6528cea1b4f91a5f6c6.tar.gz) = 83fb4fce2a299049d7e63ff6b06d148ffcb00e5dcf1a515ecfdfd902c8a8960a8c4fee20ae81befb908df4a0f0151648ca49169020af8289bdaa213e3c42cd59
 Size (collectd-unbound-e751f863013753578f47d6528cea1b4f91a5f6c6.tar.gz) = 2639 bytes
+BLAKE2s (collectd.org_@v_v0.6.0.mod) = 44a06a84593a7ee1a7e1318402e997e8e5f04c6e55097a77ccfa6c974ffff2de
+SHA512 (collectd.org_@v_v0.6.0.mod) = 4868cb2d53e60c3f69f2b2ab56cdc4df9edbe9b6b2cbb3bbb59dc38bc46e51a1b3092060c5ac40c45dac59181720918b81fab7b8049c3477f70b531c42ac770b
+Size (collectd.org_@v_v0.6.0.mod) = 426 bytes
+BLAKE2s (collectd.org_@v_v0.6.0.zip) = 975b341a0f4623e8f43fa43a52c1720207a23062e63f7abf117804fb14d4279b
+SHA512 (collectd.org_@v_v0.6.0.zip) = 1303890dbf18137bc712920dc5035e051f79ea0b5bdea5effd9b456a524f582e95e5831daf4f219fa7269bb9b4081518f6fa4bce0bfe4041ebbab5ca5be7470e
+Size (collectd.org_@v_v0.6.0.zip) = 94993 bytes
+BLAKE2s (go.uber.org_multierr_@v_v1.11.0.mod) = af43db525fd91735162b6974a2d5fcd5f747aa82158a7bf08cb4bc6fc8c58ac5
+SHA512 (go.uber.org_multierr_@v_v1.11.0.mod) = f104d72db3ff0496329bf07fa55629a9e8d4f9833769aac37b37bc0b16bc3a88b14f0d249e44f669050275e878c54c35678470e9a99b2f42ae5eb2a2cece9b0e
+Size (go.uber.org_multierr_@v_v1.11.0.mod) = 228 bytes
+BLAKE2s (go.uber.org_multierr_@v_v1.11.0.zip) = 38cc533a0c9eea9b5cc6393d1d24d1c18c1a8e2cbd986575e627372fa23e7389
+SHA512 (go.uber.org_multierr_@v_v1.11.0.zip) = 68040fe6658ae4d8215b807c5ccb00df995cbf6bae56d68beef8335abb38d1008f2814abf71b196ccb1ccde10d5234de2da77055171ae87780816ac20521a662
+Size (go.uber.org_multierr_@v_v1.11.0.zip) = 25681 bytes
 SHA1 (patch-collectd-unbound.go) = 8c9b7aee55b78897fe49bdec46a28020ee409071
diff --git a/collectd-unbound/files/go.mod b/collectd-unbound/files/go.mod
new file mode 100644
index 0000000000..bcd639bb36
--- /dev/null
+++ b/collectd-unbound/files/go.mod
@@ -0,0 +1,7 @@
+module github.com/falzm/collectd-unbound
+
+go 1.25.4
+
+require collectd.org v0.6.0
+
+require go.uber.org/multierr v1.11.0 // indirect
diff --git a/collectd-unbound/files/go.sum b/collectd-unbound/files/go.sum
new file mode 100644
index 0000000000..5553dcda6b
--- /dev/null
+++ b/collectd-unbound/files/go.sum
@@ -0,0 +1,14 @@
+collectd.org v0.6.0 h1:wDTcB13Zork7m9bEHmU2sVL4z+hxBmm8EyeMjjxtW7s=
+collectd.org v0.6.0/go.mod h1:fXcRZb1qBKshIHJa2T8qBS7Xew/I43iMutefnTdGeYo=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
+github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
+go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/collectd-unbound/go-modules.mk b/collectd-unbound/go-modules.mk
new file mode 100644
index 0000000000..19f6d83f0d
--- /dev/null
+++ b/collectd-unbound/go-modules.mk
@@ -0,0 +1,6 @@
+# $NetBSD$
+
+GO_MODULE_FILES+=	collectd.org/@v/v0.6.0.mod
+GO_MODULE_FILES+=	collectd.org/@v/v0.6.0.zip
+GO_MODULE_FILES+=	go.uber.org/multierr/@v/v1.11.0.mod
+GO_MODULE_FILES+=	go.uber.org/multierr/@v/v1.11.0.zip


Home | Main Index | Thread Index | Old Index