summaryrefslogtreecommitdiffstats
path: root/main/freeradius/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/freeradius/APKBUILD')
-rw-r--r--main/freeradius/APKBUILD26
1 files changed, 19 insertions, 7 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index b6bb36f16..5a149a6c4 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=freeradius
-pkgver=2.2.1
+pkgver=2.2.2
pkgrel=0
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="http://freeradius.org/"
@@ -21,12 +21,21 @@ subpackages="$pkgname-doc $pkgname-dev $pkgname-ldap $pkgname-lib
source="ftp://ftp.freeradius.org/pub/freeradius/$pkgname-server-$pkgver.tar.gz
freeradius.confd
freeradius.initd
+ 0001-Fix-errors.patch
"
_builddir="$srcdir"/$pkgname-server-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch)
+ msg "Applying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
update_config_sub || return 1
# we dont have libnsl
@@ -201,12 +210,15 @@ webif() {
done
}
-md5sums="311abdb7a7e485c8b1393cf431daed8e freeradius-server-2.2.1.tar.gz
+md5sums="863fa5eb2656621a73ec44f0bb18e8f6 freeradius-server-2.2.2.tar.gz
fc6693f3df5a0694610110287a28568a freeradius.confd
-5d83f40bd5c3a5d4e4a5f43c29e7f0da freeradius.initd"
-sha256sums="bdc4b2135f60e481ba25e88816102837539004831be882f545fa7198fa7cc70c freeradius-server-2.2.1.tar.gz
+5d83f40bd5c3a5d4e4a5f43c29e7f0da freeradius.initd
+e4178d862dab58644a57c5a625c35c85 0001-Fix-errors.patch"
+sha256sums="96317c27ada5f8284fbabf018ed86baf8bddb463892d4627d6b3d03bbc1fa182 freeradius-server-2.2.2.tar.gz
2d5b3e1af1299373182f2c8021bdf45c29db5d82b0a077b965a16ded32cb6292 freeradius.confd
-78b1de6399f99c16f761700024bcf171557a64060ef4801b04b65886fb2d365d freeradius.initd"
-sha512sums="88d2f3dd99e7bd1c60f01aceaaefb1cfe04ff134cb705d74e55c0b08289a552096ca322a0bc1d8590348f7858d2b24610a4dc075b4248ac5aba1f75a6dd92d13 freeradius-server-2.2.1.tar.gz
+78b1de6399f99c16f761700024bcf171557a64060ef4801b04b65886fb2d365d freeradius.initd
+64d35574ff5419a09ffea930562e464658d2dd26a27adfa9af9f7fe5daf69b9a 0001-Fix-errors.patch"
+sha512sums="07d7909e29427f9dd04208c62ac8e7862024756a15282856ae073af5288aa82e16b57b9382d233a7e9c094f2a099a8103d8dcfbb7ef0c0fedd354fee7b7cd3c5 freeradius-server-2.2.2.tar.gz
e248159c0a44f722e405c51c8015d9ad672e42ad0d38ca28f8a051ff911aa4d3e630b9bd4543e9d610940bc4ae50c022594e219ce341b36abe85c572acad418b freeradius.confd
-34c98c4ccded62aaa4a7539a9139288f7c39dbd8b6ca816c92cf6b0ae7546f81aa6c529dea943af5d8958cac2aad3d368a90f455ceaef725fce9fe5ef0cee84d freeradius.initd"
+34c98c4ccded62aaa4a7539a9139288f7c39dbd8b6ca816c92cf6b0ae7546f81aa6c529dea943af5d8958cac2aad3d368a90f455ceaef725fce9fe5ef0cee84d freeradius.initd
+aa033b4b401c825197d7b09f464135a30557baa2328a2dde2a1f7cd912d9a48fdbade4564ab1230d3c393c63d97afd9672d633846fbdac5c7887904f69bd04ec 0001-Fix-errors.patch"