wok-next view l2tpd/receipt @ rev 20611

Add rpcsvc-proto
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 21:54:31 2018 +0300 (2018-04-19)
parents 2a5cc8208d36
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="l2tpd"
4 VERSION="0.69"
5 CATEGORY="network"
6 SHORT_DESC="Layer 2 Virtual Private Network"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sourceforge.net/projects/l2tpd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
16 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
17 sed -i 's/recv packet from.*,$/&\\n \\/' network.c
18 sed -i 's/If you do, please$/&\\n \\/' call.c
19 make &&
20 install -Dm755 $src/l2tpd $install/usr/sbin/l2tpd
21 }
23 genpkg_rules() {
24 copy @std
25 TAGS="vpn tunnel"
26 }