aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authornixfloyd <nixfloyd@gmail.com>2020-01-09 16:10:13 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-01-09 17:45:18 +0100
commit23a988ab046f7516e0a8d2dba4641d7bfd48c5fc (patch)
treebd40efcb86415aaceb338edc729b3573da946d55 /testing
parentfb6750336fd093aef28f7f59e4a28f77fc2d2a4b (diff)
downloadaports-23a988ab046f7516e0a8d2dba4641d7bfd48c5fc.tar.bz2
aports-23a988ab046f7516e0a8d2dba4641d7bfd48c5fc.tar.xz
testing/prometheus-snmp-exporter: patch not needed
- not needed since we're not using the makefile to build the package
Diffstat (limited to 'testing')
-rw-r--r--testing/prometheus-snmp-exporter/APKBUILD2
-rw-r--r--testing/prometheus-snmp-exporter/disable-go-race-detector.patch33
2 files changed, 0 insertions, 35 deletions
diff --git a/testing/prometheus-snmp-exporter/APKBUILD b/testing/prometheus-snmp-exporter/APKBUILD
index 5fac63d802..b542bad1aa 100644
--- a/testing/prometheus-snmp-exporter/APKBUILD
+++ b/testing/prometheus-snmp-exporter/APKBUILD
@@ -12,7 +12,6 @@ install="$pkgname.pre-install"
subpackages="$pkgname-openrc"
source="
$pkgname-$pkgver.tar.gz::https://github.com/prometheus/snmp_exporter/archive/v$pkgver.tar.gz
- disable-go-race-detector.patch
prometheus-snmp-exporter.initd
prometheus-snmp-exporter.confd
"
@@ -51,6 +50,5 @@ package() {
}
sha512sums="ca82464e66c5ac44b46b790582508066e369bcdc1ec9fd06e6576762a8d7afd41bad279717b50f43e3eb7dad156e820432357e52cbbe17e2d87f1621b51e0df5 prometheus-snmp-exporter-0.16.1.tar.gz
-36952039e5db39aa06a2ca16fa5d318f22eb967e3e9b1363508b2f3d3d0b14e5df111c77ce951bea2f65dd2be0a0a1582be245acfe4641623381a940204e53d9 disable-go-race-detector.patch
42fadcab29b0bac956dd547ca70bb0d3b92b151ba739b5fb94519157ef54f180e13e50a22cb11c701657631bc1c48f3bf5448459ec24bca98fee4f735b07397c prometheus-snmp-exporter.initd
489cb298e215bd9647aa5293d456106eb26a73f5fbd9d42fab68de26d273ebb612dba01ba113ce58521b543a2f82a10ad86dc35056ef8d0438b39e77be61f67e prometheus-snmp-exporter.confd"
diff --git a/testing/prometheus-snmp-exporter/disable-go-race-detector.patch b/testing/prometheus-snmp-exporter/disable-go-race-detector.patch
deleted file mode 100644
index ba3c4cf571..0000000000
--- a/testing/prometheus-snmp-exporter/disable-go-race-detector.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5136eb5266b2ff022a44a3316a07d02b4dcc9e08 Mon Sep 17 00:00:00 2001
-From: Tiago Ilieve <tiago.myhro@gmail.com>
-Date: Sun, 12 May 2019 11:21:01 +0200
-Subject: [PATCH] Disable Go race detector
-
-Go race detector is not supported on musl[1].
-
-[1]: https://github.com/golang/go/issues/14481
----
- Makefile.common | 7 -------
- 1 file changed, 7 deletions(-)
-
-diff --git a/Makefile.common b/Makefile.common
-index 4f18ea5..18085e4 100644
---- a/Makefile.common
-+++ b/Makefile.common
-@@ -94,13 +94,6 @@ BUILD_DOCKER_ARCHS = $(addprefix common-docker-,$(DOCKER_ARCHS))
- PUBLISH_DOCKER_ARCHS = $(addprefix common-docker-publish-,$(DOCKER_ARCHS))
- TAG_DOCKER_ARCHS = $(addprefix common-docker-tag-latest-,$(DOCKER_ARCHS))
-
--ifeq ($(GOHOSTARCH),amd64)
-- ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux freebsd darwin windows))
-- # Only supported on amd64
-- test-flags := -race
-- endif
--endif
--
- # This rule is used to forward a target like "build" to "common-build". This
- # allows a new "build" target to be defined in a Makefile which includes this
- # one and override "common-build" without override warnings.
---
-2.17.1
-