summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasha Romijn2021-04-17 15:32:17 +0200
committerSasha Romijn2021-04-17 15:32:17 +0200
commite2b89e27bde335d346921b380fd1a7a31fc61f7a (patch)
tree4a593206d932a454b0392717648139fc4587d288
parentd7fd5b888c203750770b8c26b10d10242901cf0c (diff)
downloadaur-e2b89e27bde335d346921b380fd1a7a31fc61f7a.tar.gz
Update for rpki-client 7.0
Thanks to T.J. Townsend for the PKGBUILD patch
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD29
2 files changed, 27 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1709c1b564..6a14ee9303f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,22 @@
pkgbase = rpki-client
pkgdesc = Implementation of RPKI for Relying Parties to facilitate ROA validation
- pkgver = 6.8p1
+ pkgver = 7.0
pkgrel = 1
- url = https://github.com/rpki-client/rpki-client-portable
+ url = https://rpki-client.org
install = rpki-client.install
arch = x86_64
arch = aarch64
license = ISC
- makedepends = git
depends = glibc
depends = rsync
- depends = openssl
- source = 6.8p1.tar.gz::https://github.com/rpki-client/rpki-client-portable/archive/6.8p1.tar.gz
+ depends = libressl
+ source = https://cdn.openbsd.org/pub/OpenBSD/rpki-client/rpki-client-7.0.tar.gz
+ source = https://cdn.openbsd.org/pub/OpenBSD/rpki-client/rpki-client-7.0.tar.gz.asc
source = sysusers-rpki-client.conf
source = tmpfiles-rpki-client.conf
- sha512sums = bc7c7ed4fd573316e5732a5b0089a4e4d0d4203b13d4a2496386c78019e26589ca61f0fb3b5d8e4725ebc52b68fc77449fadfa2ebfeca566e3c7e0c706ab4105
+ validpgpkeys = B5B6416FEA6DDA05EA562A9FCB987F2783972FF9
+ sha512sums = 40a23207e79ab6995f08d25beadf9035a9acde38ec56e6b90f7ee7ab337e318d6dc2a6f954e83f9239fddc83b331ceea7615269b1ff7ae85dd5aec101b402412
+ sha512sums = SKIP
sha512sums = 13603ff4fe582a07984dd8a2a0704c8795f5d604a9b2afee43278169d9e187300a349d2629bea0d64f0ff6a3d6347ad2a9d9010ae96d440b07ec1a1f869c0891
sha512sums = d51b0464399d4a36af4353dd99492eff6a99d1bcb6bd95b8602c8c0c23af18e278c41b9a081b84bbd97e84e9f18917e1e0d70a3ff897bd3e261796b292f72826
diff --git a/PKGBUILD b/PKGBUILD
index 4c77893934d..0aabdf87dba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,40 @@
# Maintainer: Sasha Romijn <arch at mxsasha.eu>
+
pkgname=rpki-client
-pkgver="6.8p1"
+pkgver="7.0"
pkgrel=1
pkgdesc="Implementation of RPKI for Relying Parties to facilitate ROA validation"
arch=('x86_64' 'aarch64')
-url="https://github.com/rpki-client/rpki-client-portable"
+url="https://rpki-client.org"
license=('ISC')
-source=("${pkgver}.tar.gz::https://github.com/rpki-client/rpki-client-portable/archive/$pkgver.tar.gz"
+depends=('glibc' 'rsync' 'libressl')
+source=("https://cdn.openbsd.org/pub/OpenBSD/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
"sysusers-rpki-client.conf"
"tmpfiles-rpki-client.conf")
-sha512sums=('bc7c7ed4fd573316e5732a5b0089a4e4d0d4203b13d4a2496386c78019e26589ca61f0fb3b5d8e4725ebc52b68fc77449fadfa2ebfeca566e3c7e0c706ab4105'
+sha512sums=('40a23207e79ab6995f08d25beadf9035a9acde38ec56e6b90f7ee7ab337e318d6dc2a6f954e83f9239fddc83b331ceea7615269b1ff7ae85dd5aec101b402412'
+ 'SKIP'
'13603ff4fe582a07984dd8a2a0704c8795f5d604a9b2afee43278169d9e187300a349d2629bea0d64f0ff6a3d6347ad2a9d9010ae96d440b07ec1a1f869c0891'
'd51b0464399d4a36af4353dd99492eff6a99d1bcb6bd95b8602c8c0c23af18e278c41b9a081b84bbd97e84e9f18917e1e0d70a3ff897bd3e261796b292f72826')
+validpgpkeys=('B5B6416FEA6DDA05EA562A9FCB987F2783972FF9') # Sebastian Benoit
+
install="rpki-client.install"
-depends=('glibc' 'rsync' 'openssl')
-makedepends=('git')
build() {
- cd "rpki-client-portable-$pkgver"
+ cd "${pkgname}-${pkgver}"
+
+ CFLAGS+=' -I/usr/include/libressl -L/usr/lib/libressl -Wl,-rpath=/usr/lib/libressl' \
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-user=rpki-client
- ./autogen.sh
- ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var --with-user=rpki-client
make
}
package() {
- cd "rpki-client-portable-$pkgver"
+ cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install