From ae7d0399650f4caf2cc9a5923eca6773a80760c2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 24 May 2012 13:06:10 +0000 Subject: main/freeradius: enable pam support --- main/freeradius/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'main/freeradius/APKBUILD') 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 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" -- cgit v1.2.3