aboutsummaryrefslogtreecommitdiffstats
path: root/testing/radsecproxy/APKBUILD
diff options
context:
space:
mode:
authorJosef Vybíhal <josef.vybihal@gmail.com>2020-08-21 12:29:51 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-09-20 17:51:16 -0300
commit2c6abe985ea467477fb35863134914d08d78230c (patch)
tree852465af0cab2ef2fe60a7555ffa5fbdd2773c9d /testing/radsecproxy/APKBUILD
parentb5da7842e3f9dd7d11e4ffc1f1e805dde02477fc (diff)
downloadaports-2c6abe985ea467477fb35863134914d08d78230c.tar.gz
aports-2c6abe985ea467477fb35863134914d08d78230c.tar.bz2
aports-2c6abe985ea467477fb35863134914d08d78230c.tar.xz
testing/radsecproxy: new aport
https://github.com/radsecproxy/radsecproxy radsecproxy is a generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports. testing/
Diffstat (limited to 'testing/radsecproxy/APKBUILD')
-rw-r--r--testing/radsecproxy/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/radsecproxy/APKBUILD b/testing/radsecproxy/APKBUILD
new file mode 100644
index 0000000000..37f30b9684
--- /dev/null
+++ b/testing/radsecproxy/APKBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Josef Vybíhal <jvybihal@uniscomp.cz>
+pkgname=radsecproxy
+pkgver=1.8.2
+pkgrel=0
+pkgdesc="radsecproxy is a generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports."
+url="https://github.com/radsecproxy/radsecproxy"
+arch="all"
+license="BSD-3-Clause"
+makedepends="nettle-dev openssl-dev autoconf automake"
+subpackages="$pkgname-doc $pkgname-openrc"
+source="https://github.com/radsecproxy/radsecproxy/releases/download/$pkgver/radsecproxy-$pkgver.tar.gz
+ $pkgname.initd
+ $pkgname.confd
+ 0001-fix-memory-allocation-in-t_rewrite_config-fix-71.patch"
+
+prepare() {
+ default_prepare
+ autoreconf -fi
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc/radsecproxy
+ make
+
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+
+ install -D -m0644 radsecproxy.conf-example "$pkgdir"/etc/radsecproxy/radsecproxy.conf
+
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums="a755f67d22c225fc236bb2b28d6681fdb4e615ea971477ed1d7669049b0da8590697b2ec150a6cc0e9d20426260c42712984b9b940649c87a87dcd8f0d90d7d3 radsecproxy-1.8.2.tar.gz
+fb9b2761071f3773fe4c15ed74372333c0d7f39feb84eb48dbf8b531c85a5d4d3ae15fe8933f3f56c57bbf5047e9e08b652f0c44d7e974ec8d56909f3e308f30 radsecproxy.initd
+e1e7b62fd92d7433430cbef5fcb99b0213f140c8aaa03f63ac2f432cead005e276c34ce2f8f6473b602e85160dc3cf8cb2e5209a6f026b740b4056208b40d073 radsecproxy.confd
+a59d686b43f3b82655ffa14fab50f7491db3e93bcfa3c0885dca8338b8ee2f543c0dc600a2ea5f47c2639b88ed149b8a539ea3cdabfdb488e6174f802d43d803 0001-fix-memory-allocation-in-t_rewrite_config-fix-71.patch"