summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-24 13:06:10 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-05-25 12:21:06 +0000
commitfded9ee2e4a796b748fdd55ec1f73a170b588e1f (patch)
treee2ec31476022f39a7a122f3c23a07aa70f30854f /main
parente22d01d18701fca50f801d2d1a41700cde2aca46 (diff)
downloadaports-fded9ee2e4a796b748fdd55ec1f73a170b588e1f.tar.bz2
aports-fded9ee2e4a796b748fdd55ec1f73a170b588e1f.tar.xz
main/freeradius: enable pam support
Diffstat (limited to 'main')
-rw-r--r--main/freeradius/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index 32d4ad0dd..87aa3e592 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"