惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Engineering at Meta
Engineering at Meta
博客园 - 叶小钗
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
N
News and Events Feed by Topic
Cloudbric
Cloudbric
B
Blog
Cisco Talos Blog
Cisco Talos Blog
V
Vulnerabilities – Threatpost
N
News and Events Feed by Topic
V
Visual Studio Blog
A
Arctic Wolf
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
S
Security @ Cisco Blogs
博客园 - 聂微东
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
G
GRAHAM CLULEY
L
LINUX DO - 热门话题
量子位
NISL@THU
NISL@THU
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Troy Hunt's Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Tenable Blog
月光博客
月光博客
S
Security Affairs
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Hacker News
The Hacker News
Spread Privacy
Spread Privacy
D
Docker
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
博客园 - 司徒正美
T
The Exploit Database - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Help Net Security
Help Net Security
D
DataBreaches.Net

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - android-cli AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - prometheus-libvirt-exporter
2026-06-26 · via AUR Newest Packages

Thanks wallun. Not sure if it was you but upstream merged a PR 5days ago which I think fixed the version problem: https://github.com/inovex/prometheus-libvirt-exporter/issues/64

$ EXPORTER_VERSION="1.7.0" goreleaser build --clean  --single-target
$ ./dist/prometheus-libvirt-exporter_linux_amd64_v1/prometheus-libvirt-exporter --version
libvirt_exporter, version 1.7.0 (branch: , revision: unknown)
  build user:       
  build date:       
  go version:       go1.24.0
  platform:         linux/amd64
  tags:             netgo

Hi,

Thanks for the hint!

I plan to switch to this fork, but I need to fix some issues first. At the moment, prometheus-libvirt-exporter --version returns no version.

I saw some warning during the build, it seems to be related to go-releaser.

https://github.com/inovex/prometheus-libvirt-exporter looks like a better maintained fork. Any chance to update the PKGBUILD?

Here is the diff:

diff --git a/PKGBUILD b/PKGBUILD
index 2f4c154..5632b25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,37 @@
 # Maintainer: Wallun <wallun@disroot.org>
 pkgname=prometheus-libvirt-exporter
-pkgver=1.2.0
+pkgver=1.6.0
 pkgrel=2
 pkgdesc="A prometheus exporter for libvirt"
 arch=('x86_64')
-url="https://github.com/zhangjianweibj/prometheus-libvirt-exporter"
+url="https://github.com/inovex/prometheus-libvirt-exporter"
 options=()
 license=(MIT)
 depends=()
 optdepends=()
 makedepends=(
   'go'
+  'goreleaser'
 )
-source=("${pkgname}-${pkgver}::${url}/archive/refs/tags/${pkgver}.tar.gz"
+source=("${pkgname}-${pkgver}::${url}/archive/refs/tags/v${pkgver}.tar.gz"
         prometheus-libvirt-exporter.service)
-sha256sums=('f73940ebf884f26001151be085fe7a04e4f83b097b9344d67b1751bf7a9ddc46'
+sha256sums=('9836f3282b9857ee1eea632738d7f4ec394eed342f472a74211e605700b329a5'
             'b31552e3ce21a5c5e4e683b78e2fb4be0c1f56378271b14e1b39e925d0913085')

 build() {
   cd "${srcdir}/${pkgname}-${pkgver}" || 1
-  make
+  # https://github.com/inovex/prometheus-libvirt-exporter/blob/master/Taskfile.yml
+  EXPORTER_VERSION="${pkgver}" goreleaser build --clean --snapshot --single-target
 }

 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"

   # Install binary
-  install -D -m0775 "${srcdir}/${pkgname}-${pkgver}/build/${pkgname}"\
+  install -D -m0775 "${srcdir}/${pkgname}-${pkgver}/dist/prometheus-libvirt-exporter_linux_amd64_v1/${pkgname}"\
     "${pkgdir}/usr/bin/${pkgname}"

   # Install systemd service file
-  install -D -m0644 "${srcdir}/${pkgname}.service" \
+  install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/contrib/prometheus-libvirt-exporter.service" \
    "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
 }