wok-current view xl2tpd/receipt @ rev 25659

Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author Stanislas Leduc <shann@slitaz.org>
date Sun Feb 18 10:03:28 2024 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xl2tpd"
4 VERSION="1.3.15"
5 CATEGORY="network"
6 TAGS="vpn tunnel"
7 SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/xelerance/xl2tpd"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/xelerance/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="libpcap"
16 BUILD_DEPENDS="libpcap-dev"
18 CONFIG_FILES="/etc/xl2tpd"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' \
30 Makefile
31 make PREFIX=/usr DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 mkdir -p $fs/etc/xl2tpd
39 mkdir -p $fs/var/run/xl2tpd
41 cp -a $src/doc $install/usr/share/
42 rm $install/usr/share/doc/*.?
43 cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 }