aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-24 13:06:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-24 13:06:10 +0000
commitae7d0399650f4caf2cc9a5923eca6773a80760c2 (patch)
treee2ec31476022f39a7a122f3c23a07aa70f30854f /main/freeradius
parent3c3b068769c2ade172072f68a61e0b96039118cd (diff)
downloadaports-ae7d0399650f4caf2cc9a5923eca6773a80760c2.tar.bz2
aports-ae7d0399650f4caf2cc9a5923eca6773a80760c2.tar.xz
main/freeradius: enable pam support
Diffstat (limited to 'main/freeradius')
-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"