# HG changeset patch # User Pascal Bellard # Date 1266226588 -3600 # Node ID 12f8af5fe3c8ace7eb4ec8124672185836a59403 # Parent d90d5291a362cb377389f3bcf6f2f267451a6900 Add l2tpd diff -r d90d5291a362 -r 12f8af5fe3c8 cloudvpn/receipt --- a/cloudvpn/receipt Mon Feb 15 09:51:33 2010 +0100 +++ b/cloudvpn/receipt Mon Feb 15 10:36:28 2010 +0100 @@ -10,6 +10,7 @@ WGET_URL="http://www.e-x-a.org/releases/$TARBALL" BUILD_DEPENDS="gnutls-dev zlib-dev" DEPENDS="gcc-lib-base gnutls zlib" +TAGS="vpn tunnel" # Rules to configure and make the package. compile_rules() diff -r d90d5291a362 -r 12f8af5fe3c8 l2tpd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/l2tpd/receipt Mon Feb 15 10:36:28 2010 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="l2tpd" +VERSION="0.69" +CATEGORY="network" +SHORT_DESC="Layer 2 Virtual Private Network." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://sourceforge.net/projects/$PACKAGE/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +TAGS="vpn tunnel" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c + sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c + sed -i 's/recv packet from.*,$/&\\n \\/' network.c + sed -i 's/If you do, please$/&\\n \\/' call.c + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/sbin + cp -a $src/l2tpd $fs/usr/sbin +} + diff -r d90d5291a362 -r 12f8af5fe3c8 tinc/receipt --- a/tinc/receipt Mon Feb 15 09:51:33 2010 +0100 +++ b/tinc/receipt Mon Feb 15 10:36:28 2010 +0100 @@ -10,6 +10,7 @@ WGET_URL="${WEB_SITE}packages/$TARBALL" BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev" DEPENDS="libcrypto zlib lzo" +TAGS="vpn tunnel" # Rules to configure and make the package. compile_rules()