According to openconnect --help output:
-m, --mtu=MTU Request MTU from server
--base-mtu=MTU Indicate path MTU to/from server
Fixes#2099 by allowing setting tunnel mtu
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
It was introduced with 41f8d5465 ("openconnect: fix a couple of minor
things and add an interface option") and not needed since 4083de9d7
("openconnect: use proto_add_host_dependency")
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
At the moment, only build these softmmu emulators for x86_64 and sunxi
target. The decision was made for the following reasons
- It seems that interests of virtualization with qemu are mostly from
x86, and ARM recently.
- x86, sunxi boards/boxes capable of running qemu with accel=kvm are more
widely available
- Not all host, target combinations of qemu works, or even compiles
- Extra maintenance work and server resources
Test results are as the following
- Nested vmx works: lede-qemu-x86_64-kvm on lede-qemu-x86_64-kvm
- KVM on Cubieboard2 works
- tcg with malta works: lede-qemu-malta-tcg on lede-qemu-malta-tcg.
But it's too slow to be useful thus not included in this version
- mips64 host does not compile
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This is caused by a toolchain bug and has been reported to GCC a
while a ago without receiving any responses yet [1]. Fix it at the
moment by not compiling with mips16 enabled.
Should fix#1750 and #1904.
[1] Bug 71519 - "Out of range operand" bteqz inst generated by
"casesi_internal_mips16_<mode>",
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71519
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This has two effects
- Saves time and computing resources. Non-relevant tools like
qemu-img, qemu-io will not be built
- Fixes packaging failure on octeon target caused by failure of
building internal pixman library
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
$(CP) was defined as `cp -fpR' since the very begining of OpenWrt build
system (2006-06-22). The -R option should be enough and base packages
use only $(CP) for the same purposes just fine and BSD manual of cp also
discourages the use of `-r' option. So let's just tidy up the usage now.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
As said in a related github discussion thread [1], OpenWrt is so small a
system that
- "airmon-ng check kill" does not have much to check
- airmon-ng takes up too much space for not that much benefit (bringing
up monitor interface with just iw should be enough for at least b43
and ath9k drivers)
Airmon-ng depends on a lot of utility binaries to run and these
dependencies increase the installation size. With this commit we can
provide a working airmon-ng and a smaller aircrack-ng package.
Dependency spec of airmon-ng is also reworked to
- select usbutils only if USB feature is available
- select pciutils only if PCI feature is available
While doing the split, this commit also contains a few other minor
changes
- Use SPDX identifier for license name.
- Add PKG_LICENSE_FILES definition.
- Set PKG_MAINTAINER (MAINTAINER variable will take value from it).
[1] https://github.com/openwrt/packages/pull/1693
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Main changes are as the following
- Allow specifying port in server option, e.g. example.com:1702 (fixes
github issue #1960 "xl2tpd port change bug").
- Fixes NULL dereference on connection timeout
- Update 100-makefile_opt_flags.patch
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
While at it, also do the following fixes
- Drop the URL pointing to the old github repo
- Fix detection of default set of private keys
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
The update is mainly for addressing some memory corruption and segementation
faults issues observed when running xl2tpd in OpenWrt. The relevant upstream
pull request was at link [1]
[1] Devel fix valgrind #77, https://github.com/xelerance/xl2tpd/pull/77
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
- Update copyright year.
- Add PKG_LICENSE:=GPL-2.0 from the Google Code project page.
- Add autoreconf as the PKG_FIXUP method.
- Add myself as the package maintainer.
- Add a patch to fix building with musl-libc.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
When only strongswan-minimal is selected, libtls.so will not be built
yet package strongswan will still try to copy the file causing build
failure.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Several patches here and pull requests at the upstream github project
page were merged into the devel branch. Switch to that until the next
stable release.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This change aims to address the following 2 issues
- The control file was there yet xl2tpd process was not
- The control file's existence prevented xl2tpd from start
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
L2TP with xl2tpd has no proto_task in the context of netifd and because
of this there is no valid $ERROR to check for when doing tearing down.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
- Add configure options --disable-nis, --disable-regenerate-docu
- 000-OE-libpam-xtests.patch is not relevant in OpenWrt
- 001-no_nis.patch was dropped because we now --disable-nis
- 002-no_yywrap.patch was dropped be cause it was fixed in 1.2.0
- 003-no_doc was dropped because we ignore doc/ with
--disable-regenreate-docu
- 004-fix_lib64 was replaced by new 0001-build-use-host_cpu...
- pam_rhosts will not be built with musl because ruserok{,_af{
are not available
- pam_lastlog will not be built with musl because logwtmp is missing
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
- Use netifd no_proto_task for notifying that xl2tpd does not have a
protocol task running.
- Use procd for xl2tpd service management.
- Refreshed 2xx patches to
- Prevent leftover regular type control result file.
- Allow xl2tpd run as foreground process while logging via syslog.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
- bumped version
- removed dependency on `ip` package as routes are setup by netifd
if iproute2 is actually required, please depend on
`@(PACKAGE_ip||PACKAGE_ip-full)` instead of `ip`
Signed-off-by: Daniel Golle <daniel@makrotopia.org>