summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/openl2tp
Commit message (Collapse)AuthorAgeFilesLines
* openl2tp: Replace ifconfig with ip command in ptest run scriptKhem Raj2025-03-281-3/+2
| | | | | | | ifconfig may not exist on all systems since its deprecated, fixes ptests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openl2tp: Pin to C17 stdKhem Raj2025-03-201-1/+1
| | | | | | | Does not compile with C23 with GCC-15 and the last release was long time ago. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openl2tp: don't inherit autotoolsRoss Burton2025-03-191-2/+4
| | | | | | | | This upstream does not in fact use autotools, so remove the inherit and implement the required do_install. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openl2tp: Fix ptestsKhem Raj2024-09-302-4/+4
| | | | | | | | | | | | - Detect active network interface to use, instead of asking user, this needs to run in automation - Find the location of ppp_null.so with find instead of rpm, rpm is a distro choice it can be assumed to be always there. - Add missing runtime deps for ptests - Kill openl2tpd started by run-ptest script before exiting, otherwise ptest runner hangs forever. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-1/+1
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-217-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-244-17/+17
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-01-271-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openl2tp: Provide prototype for l2tp_api_rpc_check_requestKhem Raj2022-08-303-0/+75
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-4/+4
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openl2tp: update systemd service fileKai Kang2019-12-192-2/+2
| | | | | | | | | | | | | | | | It shows an warning of openl2tp in systemd log: | /lib/systemd/system/openl2tpd.service:8: PIDFile= references a path | below legacy directory /var/run/, updating /var/run/openl2tpd.pid → | /run/openl2tpd.pid; please update the unit file accordingly. Update the systemd service file to fix the warning. Update SRC_URI as well that the homepage openl2tp.org has been closed. Use archived file on sourceforge instead. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openl2tp: fix ipv6 address compare problemChangqing Li2018-09-051-2/+5
| | | | | | | | Ipv6 address type is "u_int8_t s6_addr[16]", so compare use memcmp. htonl is for ipv4, and return uint32_t. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openl2tp: Add bison-native to build depsKhem Raj2018-08-191-1/+1
| | | | | | | | | Fixes: | make: bison: Command not found | make: *** [Makefile:212: l2tp_config_parse.c] Error 127 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: Fix build without glibc's rpc/nsl supportKhem Raj2018-05-173-77/+5
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* openl2tp: fix compile issue with 4.15 kernelArmin Kuster2018-04-062-0/+45
| | | | | | | see: http://errors.yoctoproject.org/Errors/Details/168101/ for errors. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: add ptest supportMingli Yu2018-01-083-1/+132
| | | | | | | | | * Add run-ptest * Add patch to enable the regressin test Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: Fix build with musl/libtirpcKhem Raj2017-10-112-0/+32
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: Add bash to rdepsKhem Raj2017-09-121-1/+1
| | | | | | | | | | Fixes QA Issue: /etc/init.d/openl2tpd contained in package openl2tp requires /bin/bash , but no providers found in RDEPENDS_openl2tp? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: add init script and systemd supportJackie Huang2017-09-125-1/+161
| | | | | | | | | | - Add patches to fix init script issues - Add openl2tpd.service to add systemd support - Add runtime dependency on ppp and ppp-l2tp Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: add LGPL-2.1 licenseJackie Huang2017-09-121-2/+9
| | | | | | | | cli and usl use license LGPL-2.1. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: Fix build with muslKhem Raj2017-04-257-1/+208
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: update SRC_URIKai Kang2017-01-191-1/+1
| | | | | | | | The original SRC_URI is not valid, so update it with openl2tp official ftp site. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openl2tp: Fix build with clangKhem Raj2016-11-142-2/+41
| | | | | | | | | Fix a typo in compile cmdline specified via EXTRA_OECMAKE Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: Obey LDFLAGS in MakefileAdrian Dudau2016-09-262-0/+16
| | | | | | | This avoids a "QA Issue: No GNU_HASH in the elf binary" Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: add new recipeLi xin2015-01-263-0/+183
OpenL2TP is an open source L2TP client / server, written specifically for Linux. It has been designed for use as an enterprise L2TP VPN server or in commercial, Linux-based, embedded networking products and is able to support hundreds of sessions, each with different configuration. It is used by several ISPs to provide L2TP services and by corporations to implement L2TP VPNs. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>