aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/freeradius/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index 32d4ad0dd3..87aa3e5920 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -2,20 +2,22 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=freeradius
pkgver=2.1.12
-pkgrel=2
+pkgrel=3
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="http://freeradius.org/"
arch="all"
license="GPL"
depends="freeradius-lib freeradius-radclient"
makedepends="openssl-dev pth-dev mysql-dev postgresql-dev gdbm-dev readline-dev
- bash libtool autoconf automake perl-dev python-dev openldap-dev unixodbc-dev"
+ bash libtool autoconf automake perl-dev python-dev openldap-dev
+ unixodbc-dev linux-pam-dev"
pkggroups="radiusd"
pkgusers="radiusd"
install="freeradius.pre-install"
subpackages="$pkgname-doc $pkgname-dev $pkgname-ldap $pkgname-lib
$pkgname-mssql $pkgname-mysql $pkgname-oracle $pkgname-perl
- $pkgname-postgresql $pkgname-python $pkgname-radclient $pkgname-unixodbc"
+ $pkgname-postgresql $pkgname-python $pkgname-radclient
+ $pkgname-unixodbc $pkgname-pam"
source="ftp://ftp.freeradius.org/pub/freeradius/$pkgname-server-$pkgver.tar.gz
freeradius.confd
freeradius.initd
@@ -165,6 +167,11 @@ unixodbc() {
mv $pkgdir/usr/lib/freeradius/rlm_sql_unixodbc* $subpkgdir/usr/lib/freeradius
}
+pam() {
+ depends="freeradius freeradius-lib"
+ mkdir -p $subpkgdir/usr/lib/freeradius
+ mv $pkgdir/usr/lib/freeradius/rlm_pam* $subpkgdir/usr/lib/freeradius
+}
md5sums="dcbaed16df8ccff672ba132a08bf8510 freeradius-server-2.1.12.tar.gz
fc6693f3df5a0694610110287a28568a freeradius.confd
5443a250d7bd0e89985e356fcdf38024 freeradius.initd"