wok rev 4920

Add l2tpd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 15 10:36:28 2010 +0100 (2010-02-15)
parents d90d5291a362
children 574b7ff5dfab
files cloudvpn/receipt l2tpd/receipt tinc/receipt
line diff
     1.1 --- a/cloudvpn/receipt	Mon Feb 15 09:51:33 2010 +0100
     1.2 +++ b/cloudvpn/receipt	Mon Feb 15 10:36:28 2010 +0100
     1.3 @@ -10,6 +10,7 @@
     1.4  WGET_URL="http://www.e-x-a.org/releases/$TARBALL"
     1.5  BUILD_DEPENDS="gnutls-dev zlib-dev"
     1.6  DEPENDS="gcc-lib-base gnutls zlib"
     1.7 +TAGS="vpn tunnel"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/l2tpd/receipt	Mon Feb 15 10:36:28 2010 +0100
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="l2tpd"
     2.7 +VERSION="0.69"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Layer 2 Virtual Private Network."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +TAGS="vpn tunnel"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
    2.21 +	sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
    2.22 +	sed -i 's/recv packet from.*,$/&\\n \\/' network.c
    2.23 +	sed -i 's/If you do, please$/&\\n \\/' call.c
    2.24 +	make
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/sbin
    2.31 +	cp -a $src/l2tpd $fs/usr/sbin
    2.32 +}
    2.33 +
     3.1 --- a/tinc/receipt	Mon Feb 15 09:51:33 2010 +0100
     3.2 +++ b/tinc/receipt	Mon Feb 15 10:36:28 2010 +0100
     3.3 @@ -10,6 +10,7 @@
     3.4  WGET_URL="${WEB_SITE}packages/$TARBALL"
     3.5  BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev"
     3.6  DEPENDS="libcrypto zlib lzo"
     3.7 +TAGS="vpn tunnel"
     3.8  
     3.9  # Rules to configure and make the package.
    3.10  compile_rules()