Date: Tuesday, December 6, 2022 @ 05:22:07
Author: hashworks
Revision: 1356680
archrelease: copy trunk to community-x86_64
Added:
prometheus-smokeping-prober/repos/community-x86_64/PKGBUILD
(from rev 1356679, prometheus-smokeping-prober/trunk/PKGBUILD)
prometheus-smokeping-prober/repos/community-x86_64/systemd.service
(from rev 1356679, prometheus-smokeping-prober/trunk/systemd.service)
Deleted:
prometheus-smokeping-prober/repos/community-x86_64/PKGBUILD
prometheus-smokeping-prober/repos/community-x86_64/systemd.service
-----------------+
PKGBUILD | 136 +++++++++++++++++++++++++++---------------------------
systemd.service | 56 +++++++++++-----------
2 files changed, 96 insertions(+), 96 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-06 05:22:00 UTC (rev 1356679)
+++ PKGBUILD 2022-12-06 05:22:07 UTC (rev 1356680)
@@ -1,68 +0,0 @@
-# Maintainer: Justin Kromlinger <[email protected]>
-
-pkgname=prometheus-smokeping-prober
-_pkgname=smokeping_prober
-pkgver=0.6.1
-pkgrel=1
-pkgdesc="Prometheus exporter style smokeping"
-arch=('x86_64')
-url="https://github.com/SuperQ/smokeping_prober"
-license=('Apache')
-depends=('glibc')
-makedepends=('go')
-options=(!lto)
-backup=(etc/prometheus/smokeping_prober.yml)
-source=(
- "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
- 'systemd.service'
-)
-sha512sums=('80a05586799f54109878963e4b0ad0fcafaea3245cba1eba2eff0ceec52f19ee37873615d69d94fe633640c51bc9bc66600c78c1c60486b6106a72643db29bda'
-
'56c3743429489966b28c33402e450e558a3d42fd3fe7471ee572bdfc1e563c97851b3e2ac165e8fd1f0a04439b9b280c945af610bcd464140f5944f05c4b9ebf')
-
-prepare() {
- cd "$_pkgname-$pkgver"
-
- # create folder for build output
- rm -Rf build
- mkdir build
-
- # download dependencies
- go mod download
-}
-
-build() {
- cd "$_pkgname-$pkgver"
- go build -v \
- -buildmode=pie \
- -trimpath \
- -mod=readonly \
- -modcacherw \
- -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
- -o build .
-}
-
-check() {
- cd "$_pkgname-$pkgver"
- go test ./...
-}
-
-package() {
- # systemd integration
- install -Dm644 systemd.service
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
- # example config
- install -Dm644 "$_pkgname-$pkgver/smokeping_prober.yml"
"$pkgdir/etc/prometheus/smokeping_prober.yml"
- install -Dm644 "$_pkgname-$pkgver/example-rules.yml"
"$pkgdir/usr/share/doc/$pkgname/example-rules.yml"
- install -Dm644 "$_pkgname-$pkgver/dashboard.json"
"$pkgdir/usr/share/doc/$pkgname/dashboard.json"
-
- # docs
- install -Dm644 "$_pkgname-$pkgver/README.md"
"$pkgdir/usr/share/doc/$pkgname/README.md"
- install -Dm644 "$_pkgname-$pkgver/CHANGELOG.md"
"$pkgdir/usr/share/doc/$pkgname/CHANGELOG.md"
-
- # license
- install -Dm644 "$_pkgname-$pkgver/LICENSE"
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # binary
- install -Dm755 "$_pkgname-$pkgver/build/$_pkgname" "$pkgdir/usr/bin/$pkgname"
-}
-
Copied: prometheus-smokeping-prober/repos/community-x86_64/PKGBUILD (from rev
1356679, prometheus-smokeping-prober/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-06 05:22:07 UTC (rev 1356680)
@@ -0,0 +1,68 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+
+pkgname=prometheus-smokeping-prober
+_pkgname=smokeping_prober
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="Prometheus exporter style smokeping"
+arch=('x86_64')
+url="https://github.com/SuperQ/smokeping_prober"
+license=('Apache')
+depends=('glibc')
+makedepends=('go')
+options=(!lto)
+backup=(etc/prometheus/smokeping_prober.yml)
+source=(
+ "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+ 'systemd.service'
+)
+sha512sums=('80a05586799f54109878963e4b0ad0fcafaea3245cba1eba2eff0ceec52f19ee37873615d69d94fe633640c51bc9bc66600c78c1c60486b6106a72643db29bda'
+
'7afca18a0426dbba0dce9ea1315d683a7f6b746efd4222ad687bd7a2c54f8ef1b1308159b8892fd18f4ee8a48b3e2be3800556dea603a14ee4a21df07fb5df2b')
+
+prepare() {
+ cd "$_pkgname-$pkgver"
+
+ # create folder for build output
+ rm -Rf build
+ mkdir build
+
+ # download dependencies
+ go mod download
+}
+
+build() {
+ cd "$_pkgname-$pkgver"
+ go build -v \
+ -buildmode=pie \
+ -trimpath \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
+ -o build .
+}
+
+check() {
+ cd "$_pkgname-$pkgver"
+ go test ./...
+}
+
+package() {
+ # systemd integration
+ install -Dm644 systemd.service
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
+
+ # example config
+ install -Dm644 "$_pkgname-$pkgver/smokeping_prober.yml"
"$pkgdir/etc/prometheus/smokeping_prober.yml"
+ install -Dm644 "$_pkgname-$pkgver/example-rules.yml"
"$pkgdir/usr/share/doc/$pkgname/example-rules.yml"
+ install -Dm644 "$_pkgname-$pkgver/dashboard.json"
"$pkgdir/usr/share/doc/$pkgname/dashboard.json"
+
+ # docs
+ install -Dm644 "$_pkgname-$pkgver/README.md"
"$pkgdir/usr/share/doc/$pkgname/README.md"
+ install -Dm644 "$_pkgname-$pkgver/CHANGELOG.md"
"$pkgdir/usr/share/doc/$pkgname/CHANGELOG.md"
+
+ # license
+ install -Dm644 "$_pkgname-$pkgver/LICENSE"
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # binary
+ install -Dm755 "$_pkgname-$pkgver/build/$_pkgname" "$pkgdir/usr/bin/$pkgname"
+}
+
Deleted: systemd.service
===================================================================
--- systemd.service 2022-12-06 05:22:00 UTC (rev 1356679)
+++ systemd.service 2022-12-06 05:22:07 UTC (rev 1356680)
@@ -1,28 +0,0 @@
-[Unit]
-Description=Prometheus style smokeping
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/prometheus-smokeping-prober
--config.file="/etc/prometheus/smokeping_prober.yml"
-ExecReload=/bin/kill -HUP $MAINPID
-DynamicUser=true
-
-NoNewPrivileges=true
-ProtectSystem=full
-ProtectKernelModules=true
-ProtectKernelTunables=true
-PrivateTmp=true
-LockPersonality=true
-ProtectHostname=true
-ProtectHome=true
-ProtectControlGroups=true
-ProtectKernelLogs=true
-PrivateDevices=true
-RestrictRealtime=true
-CapabilityBoundingSet=
-MemoryDenyWriteExecute=true
-CapabilityBoundingSet=CAP_NET_RAW
-AmbientCapabilities=CAP_NET_RAW
-
-[Install]
-WantedBy=multi-user.target
Copied: prometheus-smokeping-prober/repos/community-x86_64/systemd.service
(from rev 1356679, prometheus-smokeping-prober/trunk/systemd.service)
===================================================================
--- systemd.service (rev 0)
+++ systemd.service 2022-12-06 05:22:07 UTC (rev 1356680)
@@ -0,0 +1,28 @@
+[Unit]
+Description=Prometheus style smokeping
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/prometheus-smokeping-prober
--config.file="/etc/prometheus/smokeping_prober.yml"
+ExecReload=/bin/kill -HUP $MAINPID
+DynamicUser=true
+
+NoNewPrivileges=true
+ProtectSystem=full
+ProtectKernelModules=true
+ProtectKernelTunables=true
+PrivateTmp=true
+LockPersonality=true
+ProtectHostname=true
+ProtectHome=true
+ProtectControlGroups=true
+ProtectKernelLogs=true
+PrivateDevices=true
+RestrictRealtime=true
+CapabilityBoundingSet=
+MemoryDenyWriteExecute=true
+CapabilityBoundingSet=CAP_NET_RAW
+AmbientCapabilities=CAP_NET_RAW
+
+[Install]
+WantedBy=multi-user.target