community/freeradius to 3.0.20-2

This commit is contained in:
Kevin Mihelich 2019-12-10 19:21:08 +00:00
parent a8fd6eef99
commit be8ad2d3cf

View file

@ -7,7 +7,7 @@
pkgname=freeradius
pkgver=3.0.20
pkgrel=1
pkgrel=2
pkgdesc='The premier open source RADIUS server'
arch=('x86_64')
url="https://freeradius.org/"
@ -42,16 +42,17 @@ build() {
--libdir=/usr/lib/freeradius \
--localstatedir=/var \
--enable-heimdal-krb5 \
--enable-reproducible-builds \
--with-system-libltdl \
--with-system-libtool \
--with-udpfromto
make
make PACKAGE='archlinux'
}
package() {
cd "$srcdir"/freeradius-server-$pkgver
make install R="$pkgdir"
make install R="$pkgdir" PACKAGE='archlinux'
chmod o+r "$pkgdir"/etc/raddb/*
mv "$pkgdir"/etc/raddb "$pkgdir"/etc/raddb.default
rm -rf "$pkgdir"/var/run