# HG changeset patch # User Hans-G?nter Theisgen # Date 1573145799 -3600 # Node ID 704bb2b5d1d048cf95b2d329b0a2086a4276d627 # Parent e3048e2da3e4c3956c1634580e2f35bf59dff4a1 updated xl2tpd (1.2.4 -> 1.3.15) diff -r e3048e2da3e4 -r 704bb2b5d1d0 xl2tpd/receipt --- a/xl2tpd/receipt Thu Nov 07 17:39:20 2019 +0100 +++ b/xl2tpd/receipt Thu Nov 07 17:56:39 2019 +0100 @@ -1,34 +1,40 @@ # SliTaz package receipt. PACKAGE="xl2tpd" -VERSION="1.2.4" +VERSION="1.3.15" CATEGORY="network" +TAGS="vpn tunnel" SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.xelerance.com/software/xl2tpd" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://www.xelerance.com/software/xl2tpd" -WGET_URL="$WEB_SITE/$TARBALL" -TAGS="vpn tunnel" -CONFIG_FILES="/etc/xl2tpd" +WGET_URL="https://github.com/xelerance/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="libpcap" BUILD_DEPENDS="libpcap-dev" +CONFIG_FILES="/etc/xl2tpd" + # Rules to configure and make the package. compile_rules() { - sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile + sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' \ + Makefile make PREFIX=/usr DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr $fs/etc/xl2tpd $fs/var/run/xl2tpd - cp -a $src/doc $install/usr/share/ + mkdir -p $fs/usr + mkdir -p $fs/etc/xl2tpd + mkdir -p $fs/var/run/xl2tpd + + cp -a $src/doc $install/usr/share/ rm $install/usr/share/doc/*.? - cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr + cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr }