wok-stable rev 2224
Add openvpn-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 10:08:47 2009 +0000 (2009-02-12) |
parents | 0088f0af4413 |
children | df867b642841 |
files | openvpn-pam/receipt openvpn/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openvpn-pam/receipt Thu Feb 12 10:08:47 2009 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openvpn-pam" 1.7 +VERSION="2.0.9" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="PAM plugin for OpenVPN." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://openvpn.net/" 1.12 +DEPENDS="openvpn pam" 1.13 +WANTED="openvpn" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/share/openvpn 1.19 + cp -a $src/plugin/auth-pam/openvpn-auth-pam.so $fs/usr/share/openvpn 1.20 +}
2.1 --- a/openvpn/receipt Thu Feb 12 09:46:12 2009 +0000 2.2 +++ b/openvpn/receipt Thu Feb 12 10:08:47 2009 +0000 2.3 @@ -18,6 +18,8 @@ 2.4 ./configure --prefix=/usr \ 2.5 $CONFIGURE_ARGS && 2.6 make && 2.7 + ( cd plugin/auth-pam/ ; make ) && 2.8 + ( cd plugin/down-root/ ; make ) && 2.9 make DESTDIR=$PWD/_pkg install 2.10 } 2.11