From b2eff28c89b9d4cb5d312df63d2dcdb34ecd80ed Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Tue, 22 Nov 2022 01:16:44 +0000
Subject: [PATCH] community/prometheus-wireguard-exporter: upgrade to 3.6.6

---
 community/prometheus-wireguard-exporter/APKBUILD | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/community/prometheus-wireguard-exporter/APKBUILD b/community/prometheus-wireguard-exporter/APKBUILD
index d74fd23c67fc..e7214bb0af63 100644
--- a/community/prometheus-wireguard-exporter/APKBUILD
+++ b/community/prometheus-wireguard-exporter/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Nicolas Lorin <androw95220@gmail.com>
 # Maintainer: psykose <alice@ayaya.dev>
 pkgname=prometheus-wireguard-exporter
-pkgver=3.6.3
+pkgver=3.6.6
 pkgrel=0
 pkgdesc="A Prometheus exporter for WireGuard, written in Rust"
 url="https://github.com/MindFlavor/prometheus_wireguard_exporter"
@@ -18,12 +18,6 @@ source="https://github.com/MindFlavor/prometheus_wireguard_exporter/archive/$pkg
 options="net"
 builddir="$srcdir"/prometheus_wireguard_exporter-"$pkgver"
 
-# optimize binary for size
-export CARGO_PROFILE_RELEASE_LTO=true
-export CARGO_PROFILE_RELEASE_PANIC=abort
-export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-export CARGO_PROFILE_RELEASE_OPT_LEVEL="s"
-
 prepare() {
 	default_prepare
 
@@ -47,7 +41,7 @@ package() {
 }
 
 sha512sums="
-e4b66aa92f1710a56d8d21317b7777c014b1399cdebda470007e6cc6508aa6fa8b0f81404e2c59128d18c1d73f988afad3b9e9b34266811d7fcb8dfedfa6bd16  prometheus_wireguard_exporter-3.6.3.tar.gz
+2fd84a119c1b09f9025100ce8c92a99c2cc3e1dc0a7a565b26d3f819740db041e36265a28e2aa7f100af3ed5b2182867591df24a04b6b16c7b158f38afc3ef8f  prometheus_wireguard_exporter-3.6.6.tar.gz
 649b119f8a91835e1d9af225359d9d1aec2b4ef501a59c93dd23fefffec194fe2417815003edbe5a3de1323392d4ae045b9af26d4664d72d729fc5c7c6c63279  prometheus-wireguard-exporter.initd
 aaf53d1a2e3f8b672b05f73542b51fc52c0491eaba92b43da4fe43250ba880ca2a439b4faa0a9fbac58fbf8db8936780ec2dd48203c79ea80e87ce06655ac962  prometheus-wireguard-exporter.confd
 "
-- 
GitLab