summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Christensen2021-02-14 09:05:04 +0100
committerLars Christensen2021-02-14 09:05:04 +0100
commit994ace6a7fc7f2ed4cb5b0748d8d38b5be87d640 (patch)
tree7716c96e2fc4c61dddea9b4acb78522c288ddc21
parentc079cbf9c2266f8089acfb15036cfe1fc5d65079 (diff)
downloadaur-994ace6a7fc7f2ed4cb5b0748d8d38b5be87d640.tar.gz
Preserve config, install LICENSE
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 12 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3fe4bf65512..68cdec7ab1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = owamp
pkgdesc = A tool for performing one-way or two-way active network measurements
pkgver = 4.3.3
- pkgrel = 2
+ pkgrel = 3
url = http://software.internet2.edu/owamp/
install = owamp.install
arch = x86_64
@@ -9,6 +9,10 @@ pkgbase = owamp
makedepends = i2util
depends = glibc
depends = libcap
+ backup = etc/owamp-server/owamp-server.conf
+ backup = etc/owamp-server/owamp-server.limits
+ backup = etc/twamp-server/twamp-server.conf
+ backup = etc/twamp-server/twamp-server.limits
source = https://github.com/perfsonar/owamp/archive/v4.3.3/owamp-4.3.3.tar.gz
source = owamp.install
source = owamp.sysusers
diff --git a/PKGBUILD b/PKGBUILD
index 1c5d4dcf1df..510162501c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=owamp
pkgver=4.3.3
-pkgrel=2
+pkgrel=3
pkgdesc="A tool for performing one-way or two-way active network measurements"
arch=("x86_64")
url="http://software.internet2.edu/owamp/"
@@ -16,6 +16,10 @@ source=("https://github.com/perfsonar/${pkgname}/archive/v${pkgver}/${pkgname}-$
"owamp.tmpfiles"
"datadir.patch"
"pidfile.patch")
+backup=("etc/owamp-server/owamp-server.conf"
+ "etc/owamp-server/owamp-server.limits"
+ "etc/twamp-server/twamp-server.conf"
+ "etc/twamp-server/twamp-server.limits")
sha256sums=('18b396749647c849b99013b15b27c0cb0e57ce369556cbb19987dfae4090be6f'
'708169332bd057747b566f77acf6c3cff7beac59ea0e0aa98901a8060d48f216'
'47ee8cf49956726db26c2386a6c81adc8d2f00ae68abfb2c7d36522a829bbffa'
@@ -54,6 +58,8 @@ package() {
install -o root -g root -d "$pkgdir/etc/twamp-server"
install -o root -g root -m 0644 conf/twampd.conf "$pkgdir/etc/twamp-server/twamp-server.conf"
install -o root -g root -m 0644 conf/twampd.limits "$pkgdir/etc/twamp-server/twamp-server.limits"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/owamp/LICENSE"
}
# vim:set ts=2 sw=2 et: