wok-6.x rev 2226

Add freeradius-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 11:53:23 2009 +0000 (2009-02-12)
parents df867b642841
children 820f3837a1a3
files freeradius-pam/receipt freeradius/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/freeradius-pam/receipt	Thu Feb 12 11:53:23 2009 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +Taz package receipt.
     1.5 +
     1.6 +PACKAGE="freeradius-pam"
     1.7 +VERSION="2.1.1"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="pam module for radius server"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +DEPENDS="freeradius pam"
    1.12 +WEB_SITE="http://www.freeradius.org/"
    1.13 +WANTED="freeradius"
    1.14 +SOURCE="freeradius-server"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib $fs/etc/raddb/modules
    1.20 +	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.21 +	cp -a $_pkg/usr/lib/rlm_pam*.so* $fs/usr/lib
    1.22 +	cp -a $_pkg/etc/raddb/modules/pam $fs/etc/raddb/modules
    1.23 +}
    1.24 +                
     2.1 --- a/freeradius/receipt	Thu Feb 12 10:24:10 2009 +0000
     2.2 +++ b/freeradius/receipt	Thu Feb 12 11:53:23 2009 +0000
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="radius server"
     2.5  MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
     2.6  DEPENDS="openssl"
     2.7 -BUILD_DEPENDS="libtool openldap-dev openssl-dev"
     2.8 +BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev"
     2.9  SOURCE="freeradius-server"
    2.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.11  WEB_SITE="http://www.freeradius.org/"
    2.12 @@ -38,4 +38,5 @@
    2.13  	cp -a $_pkg/usr/share/freeradius $fs/usr/share
    2.14  	cp -a $_pkg/etc $fs
    2.15  	cp -a $_pkg/var $fs
    2.16 +	rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
    2.17  }