Receipt for package "l2tpd"
# SliTaz package receipt. PACKAGE="l2tpd" VERSION="0.69" CATEGORY="network" SHORT_DESC="Layer 2 Virtual Private Network." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://sourceforge.net/projects/$PACKAGE/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" CONFIG_FILES="/etc/l2tp" TAGS="vpn tunnel" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/l2tpd/files/L2TPd/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/L2TPd/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { 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 $fs/etc/l2tp $fs/var/run/l2tp-control mkdir -p $install/usr/share/man touch $fs/etc/l2tp/l2tp-secrets $fs/etc/l2tp/l2tpd.conf cp -a $src/?[A-Z]* $src/doc $install/usr/share mv $install/usr/share/doc/*.? $install/usr/share/man cp -a $src/l2tpd $fs/usr/sbin }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)