Commit 49bd7942 authored by Jakub Jirutka's avatar Jakub Jirutka 🇺🇦
Browse files

testing/radsecproxy: replace trashy config with our minimal config

parent 7f9dad0a
# Contributor: Josef Vybíhal <josef.vybihal@gmail.com>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Josef Vybíhal <josef.vybihal@gmail.com>
pkgname=radsecproxy
pkgver=1.9.1
......@@ -9,6 +11,7 @@ arch="all"
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
radsecproxy.conf
$pkgname.initd
$pkgname.confd
"
......@@ -35,16 +38,20 @@ check() {
package() {
make DESTDIR="$pkgdir" install
install -Dm644 radsecproxy.conf-example "$pkgdir"/etc/radsecproxy.conf
# NOTE: radsecproxy.conf-example is a garbage, so we rather install our
# minimal config that actually works.
install -Dm644 "$srcdir"/radsecproxy.conf "$pkgdir"/etc/radsecproxy.conf
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 radsecproxy.conf-example -t "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
sha512sums="
e72a3b55089cb985503c74a0aa0c62e0a05ac5325217900d39aa87563dd639f154ee372ac5e62ecd5aed92b832b0e58bc43f9588ed7950ec731fa5b297e5c07c radsecproxy-1.9.1.tar.gz
d1cf3b812854f952d69d536fbd9381e71debdd083992a8882d68427ffbadc29f6cc73b43d61dcafacad731d3f78cd4828dc7c0ade7172947ddb68b08f28f0dc1 radsecproxy.conf
68f569eb4fe0b4f5e9c6e1f65a596b1cd4d38521adad782b80e6a3228f74ed86e02b962c2ccefa20b9b3b16649c03af7b9105b4ae3ad568a8c05b1acd12d3bc7 radsecproxy.initd
e268759550151b31dcbc41d63b4a3f5c99c5aab5e85ecc0b52fe0027dd918af0fae1fd7298b0abdf9e31c8764f80e98de65483d13bb57739468ae12c9cb480b8 radsecproxy.confd
"
# Configuration file for radsecproxy(8).
# Refer to man page radsecproxy.conf(5) or example config with all options
# /usr/share/doc/radsecproxy/radsecproxy.conf-example.
## Global options
# Log to syslog. LOG_DAEMON used if facility not specified. The supported
# facilities are LOG_DAEMON, LOG_MAIL, LOG_USER and LOG_LOCAL0 ... LOG_LOCAL7.
LogDestination x-syslog:///
# Optional log level. 3 is default, 1 is less, 5 is more
#LogLevel 3
# Enable simple loop prevention. Note that this directive can be used in server
# blocks too, overriding what's set here in the basic settings.
#LoopPrevention on
# Add TTL attribute with value 20 if not present (prevents endless loops)
#AddTTL 20
# If we have TLS clients or servers we must define at least one tls block.
# The simplest configuration you can do is:
#tls default {
# You must specify at least one of CACertificateFile or CACertificatePath
# for TLS to work. We always verify peer certificate (client and server)
#CACertificatePath /etc/ssl/certs
# You must specify the below for TLS, we always present our certificate
#CertificateFile /etc/ssl/radsecproxy/host.example.com.crt
#CertificateKeyFile /etc/ssl/radsecproxy/host.example.com.key
#}
## Clients, servers and realms
# Example config for localhost, rejecting all users.
client localhost {
type udp
secret change-me
}
server 127.0.0.1 {
type udp
secret change-me
}
realm * {
replymessage "User unknown"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment