wok-next view l2tpd/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents e1c0edabdcb2
children
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="https://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 }