openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

Softethervpn 5.02.5180 doesn't work - how to downgrade to 5.01.9674? #17192

Open desigabri opened 2 years ago

desigabri commented 2 years ago

MAINTAINER:=Andy Walsh andy.walsh44+github@gmail.com

Environment: ipq806x TP-Link Archer c2600 master , openwrt-21.02

I can get working only old package version v5.01.9674 compiling the newer v5.02.5180, firmware loose configuration, and VPN interfaces couldn't work.

If I reconfigure them from scratch they seem working but after some time the interfaces stops and show error so I loose the vpn connections

So I have to compile firmware with older v5.01.9674 version:

ninja: Entering directory `/home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eab/SoftEtherVPN-5.01.9674'

ninja: error: loading 'build.ninja': No such file or directory

On master, selecting actual version 5.02.5180, the compiling ends right (but vpn interfaces do not work as already said).

HOW CAN I SELECT THE OLDER (PREVIOUS) SOFTETHERVPN5 PACKAGE VERSION FOR COMPILING PLEASE? THANKS

Andy2244 commented 2 years ago

Just use the old makefile? https://github.com/openwrt/packages/blob/9c756cf618d501baaf309e1054024a546d123bb1/net/softethervpn5/Makefile

desigabri commented 2 years ago

I think it's not sufficient: the package has differents patches and files. I tried changing full package in the place of the current, but It doesn't work, so I tried adding the package into another places. It worked for older revisions (I have to check which ones), for older master revision. At the moment, in my esperience, master doesn't accept older softethervpn package as for right position so for alternative positions.

desigabri commented 2 years ago

-- Build files have been written to: /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674 touch /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674/.configured_a17fb5ef857664f03cd0ce37cc5ea591 rm -f /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674/.built touch /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674/.built_check MAKEFLAGS="" /home/gabriele/openwrt/mastermod/staging_dir/host/bin/ninja -v -j1 -C /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674 vpnserver vpnbridge vpnclient vpncmd hamcore-archive-build ninja: Entering directory `/home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674' ninja: error: loading 'build.ninja': No such file or directory make[3]: [Makefile:169: /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674/.built] Error 1 make[3]: Leaving directory '/home/gabriele/openwrt/mastermod/package/network/services/softethervpn5' time: package/network/services/softethervpn5/compile#6.59#6.09#11.88 ERROR: package/network/services/softethervpn5 failed to build. make[2]: [package/Makefile:116: package/network/services/softethervpn5/compile] Error 1 make[2]: Leaving directory '/home/gabriele/openwrt/mastermod' make[1]: [package/Makefile:110: /home/gabriele/openwrt/mastermod/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/gabriele/openwrt/mastermod' make: [/home/gabriele/openwrt/mastermod/include/toplevel.mk:230: world] Error 2