Commit Graph
100 Commits
Author SHA1 Message Date
Yousong Zhou af5ebf6220 xl2tpd: bump to version 1.3.12
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-21 16:09:26 +08:00
Yousong Zhou 0cb460a2a7 bash: style and doc fix
The patch is about job control in general instead of the builtin jobs
command

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 20:15:55 +08:00
Yousong Zhou d859554090 bash: fix postinst script
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 20:14:50 +08:00
Yousong Zhou da1912f868 treewide: use mirror tag @KERNEL where applicable
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 17:05:53 +08:00
Yousong Zhou af9c7aae09 dtc: add subpackage fdt-utils
Suggested-by: Tom Burkart <tom@aussec.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 15:45:51 +08:00
Yousong Zhou 8f18594ac9 dtc: bump to version 1.4.6
Suggested-by: Tom Burkart <tom@aussec.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 15:45:51 +08:00
Yousong Zhou fa958f4a99 openvswitch: bump to version 2.8.2
Changes since 2.8.2 as recorded in NEWS-2.8.2

    - NSH implementation now conforms to latest draft (draft-ietf-sfc-nsh-28).
    - Bug fixes

0006-adapt-ovs-scripts.patch was splited into two separate patches as
the original patch does not apply against 2.8.2 anymore.  Other patches
are just re-numbered without actual function change

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-14 22:40:30 +08:00
Yousong Zhou ecd396a764 xl2tpd: bump to version 1.3.11 2018-03-12 11:25:16 +08:00
Yousong Zhou 5eef0d56cf tree: bump PKG_RELEASE
It was missing in a previous change bab8741 (tree: use
TARGET_{CFLAGS,LDFLAGS} instead of the package default)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 12:36:36 +08:00
Yousong Zhou e22de081f9 openvswitch: use https download url
At the time of this writing, Open vSwitch official website suggests
http://openvswitch.org whose https couterpart uses a self-signed
certificate, but it redirects to http://www.openvswitch.org, which has a
working https equivalent.

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 6aedd02984 openvswitch: set Yousong Zhou as the maintainer
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 5f5dc3614f openvswitch: add gre, vxlan, geneve tunneling support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 19b2e7627e openvswitch: bump PKG_RELEASE
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou eeb6a3fcbb openvswitch: rework openvswitch kernel datapath package
- KCONFIG: bridge compatibility was removed since Open vSwitch 1.10.
   See Open vSwitch FAQ.md for details
 - The module does not depend on kmod-gre, kmod-vxlan
 - Use AutoProbe to remove dependecy on specific priority

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou f53d452bd1 openvswitch: python: rework host and target dependency
Open vSwitch needs to run python on build machine to make build-time
required files.  python-six library is only required by the openvswitch
python library on target machine, not a build dependency.

We override host PYTHONPATH by overriding it in MAKE_VARS.  This way we
can remove 0003-override-pythonpath-via-make-vars.patch

This also fixes shebang wrongly pointing to python on host

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 5b56acae21 openvswitch: python: remove openvswitch as a dependency
The python library is a standalone unit.  Remove dependency on
PACKAGE_openvswitch to allow users to use it with maybe remote
openvswitch services.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou c8ed010772 openvswitch: remove --disable-ssl
Remove it since we already select libopenssl in openvswitch-base

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou f11d8495ca openvswitch: use default rundir /var/run/openvswitch/
This subdir contains multiple pid, unix domain socket files.  It's a
custom to put them in it's own subdir

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 4feb43bf43 openvswitch: remove dependency on SUPPORTED_KERNELS
Quote from Open vSwitch FAQ.md

    Open vSwitch userspace should also work with the Linux kernel module
    built into Linux 3.3 and later.

    Open vSwitch userspace is not sensitive to the Linux kernel version. It
    should build against almost any kernel, certainly against 2.6.32 and
    later.

The SUPPORTED_KERNEL dependency for openvswitch kernel module only
makes sense when we are building it from the ovs release tarballs
against mainline kernels.  Now that we are using the module from vanilla
kernel itself, the dependency does not exist anymore

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-03-06 00:29:53 +08:00
Yousong Zhou 8bd3bd86ad qemu: bump to version 2.11.1
Here are the notable changes

 - pixman is now not part of the release tarball and is required as an
   external dependency
 - archipelago is removed by upstream
 - patches are regenerated with git-format-patch
 - ifunc requirement is now removed

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-24 15:41:36 +08:00
Yousong Zhou e35e2bf91b pixman: initial version 0.34.0
This will be required by qemu 2.11.  The two patches are copied from
packaging of current qemu 2.6

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-24 15:41:36 +08:00
Yousong Zhou 90843cff63 pixiewps: use compiler, linker options of the build system
pixiewps has its own CFLAGS setting and uses LDFLAGS from
environment variable.  When PKG_ALSR_PIE was enabled, objects were not
compiled with -fPIC supplied from the build system and the final link
step would fail because of the -pie option

Fixes #5590

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-11 12:10:07 +08:00
Yousong Zhou ffbdc7e4fd node: depends on availability of fpu
It requires either hardware or software emulated fpu, otherwise program
can fail with SIGILL for fp instructions emitted by the JIT compiler

See #1937, #2633, #2442, FS#1257 for details

From code snippet at deps/v8/src/mips/constants-mips.h

    #elif(defined(__mips_soft_float) && __mips_soft_float != 0)
    // This flag is raised when -msoft-float is passed to the compiler.
    // // Although FPU is a base requirement for v8, soft-float ABI is used
    // // on soft-float systems with FPU kernel emulation.
    // const bool IsMipsSoftFloatABI = true;

[1] https://bugs.chromium.org/p/v8/issues/detail?id=4704

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-09 15:47:50 +08:00
Yousong Zhou 805c6b0ecf shadowsocks-libev: remove unnecessary curly braces
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-02 17:26:53 +08:00
Yousong Zhou 4d211674ce shadowsocks-libev: bump to version 3.1.3
Notable changes since 3.1.2

    afce1b3 eliminate timered delay between handshake and data stream #1572
    539bf6e sni in redir removed and no disable_sni option #1876
    1d94442..29ff5d3 udprelay fix (no idea what's the problem...) #1883

Now disable_sni=true is the default.  Existing uci configs setting it
will be a nop

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-02 17:24:45 +08:00
Yousong Zhou f6b24878a0 pixiewps: bump to version 1.4.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-29 19:12:24 +08:00
Yousong Zhou bd93547d2b inadyn: update package description and project url
Fixes #5348

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-27 14:38:27 +08:00
Yousong Zhou f552f738e2 github: adapt templates
Remove refs to LEDE and use "OpenWrt" instead of "OpenWRT"

Remove instructions on self-checking pull request content for the
following considerations

 - The checks are now enforced by travis autocheck scripts
 - Github now prompts users to refer to the contributing guide on
   submitting new issue and pull request

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-27 11:24:43 +08:00
Yousong Zhou 5dd0a570e6 exfat-nofuse: set Yousong Zhou as the current maintainer
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-25 09:36:20 +08:00
Yousong Zhou 780330a251 exfat-nofuse: bump to source date 2017-06-20
Fixes #5322, #5444.  Closes #5388

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-25 09:36:20 +08:00
Yousong Zhou d438de95a6 vpnc: fix using proto_add_host_dependency
Fixes #4343

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-19 11:17:27 +08:00
Yousong Zhou cdb8722abe procps-ng: use alternatives to coexist with busybox applets
Fixes FS#699

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-12 17:59:37 +08:00
Yousong Zhou ef2a2962e1 shadowsocks-libev: remove option manager_address
It's an option that is supposed to be fed by ss-manager.  It can be
in the form of host:port or path to unix dgram socket.  Drop it now with
the assumption that it has no real user at the moment

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:48:19 +08:00
Yousong Zhou 4e2336c5f4 shadowsocks-libev: bump to version 3.1.2
Notable changes since 3.1.1

 - 57ab828 fix possible use-after-free in ss-server
 - 65e9d23 filter through acl first before doing sni detection
 - b26cbc2 another attack on null ref
 - d237a05 udprelay: fix off-by-one bug
 - 0c3cf8b fix runtime TFO detection
 - d445ea9 Linux 4.11 TFO socket option support
2018-01-02 10:39:39 +08:00
Yousong Zhou a1fadbde07 shadowsocks-libev: new option no_delay
--no-delay is a new cmdline argument introduced in 3.1.0 to NOT turn off
TCP_NODELAY socket option, i.e. keeping it's default value without
setting it explicitly.  This can be potentially useful for interactive
traffics

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-02 10:34:50 +08:00
Yousong Zhou 9853f20b0f reaver: configure with --enable-savetocurrent
It will let reaver to save session file to cwd of the process instead of
/etc/reaver.  This has the same effect as the old patch

  0002-Use-the-current-directory-for-storing-and-loading-se.patch

which was removed in the transition to reaver-wps-t6x-fork

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-25 14:16:36 +08:00
Yousong Zhou c4fa84cc21 xl2tpd: README.md: add docs on uci options
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-19 10:18:41 +08:00
Yousong Zhou 0d2f9d9bd6 openconnect: fix compilation against libp11 0.4.7
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-15 09:50:26 +08:00
Yousong Zhou 3ac5812983 libp11: include also p11_err.h when InstallDev
Fix the following compilation error

    In file included from openconnect-internal.h:95:0,
		     from ssl.c:41:
    /home/yousong/git-repo/lede-project/lede/staging_dir/target-mips_24kc_musl/usr/include/libp11.h: At top level:
    /home/yousong/git-repo/lede-project/lede/staging_dir/target-mips_24kc_musl/usr/include/libp11.h:27:21: fatal error: p11_err.h: No such file or directory
    compilation terminated.
    make[5]: *** [libopenconnect_la-ssl.lo] Error 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-08 11:09:28 +08:00
Yousong Zhou 209f0a37c4 pixiewps: initial version 1.4.1
Addresses #2872

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-05 11:20:32 +08:00
Yousong Zhou 9a35d5397d reaver: switch to reaver-wps-fork-t6x
Addresses #2872

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-05 11:19:59 +08:00
Yousong Zhou a9aeab53b9 openconnect: unify indentation in README
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-12-05 09:37:06 +08:00
Yousong Zhou 3ef23b9ebe shadowsocks-libev: bump to version 3.1.1
Notable changes since 3.1.0

    26ae365: fix possible socks5 exchange corruption caused by bad
             state transition when parsing responses
    f19a96e: fix segfault when presented with config {"mode": null}

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-11-21 17:29:53 +08:00
Yousong Zhou bdb01ebc55 shadowsocks-libev: bump to version 3.1.0
Notable changes since 3.0.8

    ede744a: depends on libcares now instead of libudns
    1c64829: new cmdline option --no-delay for not turning off TCP_NODELAY
    9201619: ss-local: check if client supports socks5 protocol and no-auth-required method
    f8283fc: Fix potential buffer overflow when parsing json config
    380fddb: redir: fix conversion from DSCP to ToS

The two patches are now in the offical repo
2017-09-18 13:29:24 +08:00
Yousong Zhou 0931d35319 shadowsocks-libev: ss-rules: eliminiate not needed local var 2017-09-18 13:29:23 +08:00
Yousong Zhou fd0f3aa930 shadowsocks-libev: minor tweak without functional change
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-09-14 11:25:34 +08:00
Yousong Zhou d4e9a4f098 shadowsocks-libev: more common default config
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-30 17:45:56 +08:00
Yousong Zhou fac1082803 shadowsocks-libev: ss-rules: query resolveip only for ipv4 addresses
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-30 17:40:05 +08:00
Yousong Zhou 5f95c0a2e3 shadowsocks-libev: ss-rules: fix multiple continous \x20 in $o_ifnames
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-30 10:13:30 +08:00
Yousong Zhou 8d7c2f2073 shadowsocks-libev: shorten init script by 2 lines
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-30 10:13:30 +08:00
Yousong Zhou ec6f7f7f53 shadowsocks-libev: ss-rules: resolve server names before adding to ipset
ipset command line utility supports ranges of address: IP-IP, but the
dash character is also valid character in host names.  If we have a
remote server ss-00.example.com, ipset may complain that

    ipset v6.32: Syntax error: cannot parse ss: resolving to IPv4 address failed

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-30 10:13:29 +08:00
Yousong Zhou cff4f65d81 shadowsocks-libev: fix validation of list option
ubox 'list' type is for validating multiple elements separated by
tabs/whitespaces in a single value.  E.g. The following should not be
accepted

    list src_ip_bypass '1.2.3.4 4.3.2.1'

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-30 10:13:29 +08:00
Yousong Zhou d6d0a7612a shadowsocks-libev: ss-rules: new bool option --dst-forward-recentrst
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 19:52:14 +08:00
Yousong Zhou 4ca3a7fcec shadowsocks-libev: ss-rules: rename usage func
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 19:52:14 +08:00
Yousong Zhou df395767d3 shadowsocks-libev: rewrite ss-rules
- New UCI options ifnames, dst_default
 - UCI options src_ips_xxx now accept cidr as their values
 - Export ipset names as part of the interface so that it can be
   depended on and used by other programs
 - Bypass only remote servers used ss-redir instances, so that it's
   possible to let other servers to go through existing re-redir
   instances

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20 02:21:54 +08:00
Yousong Zhou d4ed4c1f21 shadowsocks-libev: setting mode with default value tcp_only
This is the default value taken by ss-server and ss-redir.  After this
change ss_rules section can still use those ss-redir instances who do
not have mode explicitly specified.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13 12:39:01 +08:00
Yousong Zhou 682b0c2be7 shadowsocks-libev: support disable_sni for ss_server section
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-04 22:19:30 +08:00
Yousong Zhou 49dcdca5d0 shadowsocks-libev: backport patch for logging with daemon facility
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:34:49 +08:00
Yousong Zhou 716d2c1357 shadowsocks-libev: add ipv6_first option support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:34:40 +08:00
Yousong Zhou 7f0adf9631 shadowsocks-libev: bump to version 3.0.8
Notable changes since 3.0.7

 - ss-local, ss-redir: ipv6_first awareness
 - ss-server: ppbloom_add only after 1st decryption succeeds

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-31 10:23:47 +08:00
Yousong Zhou 2f910479cf shadowsocks-libev: use xargs -r just in case
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:10:46 +08:00
Yousong Zhou b7f69c0633 shadowsocks-libev: fix compiling with stale object files
This will cause various kinds of failures in the buildbot

    ➜  shadowsocks-libev-3.0.7 git:(master) find . -name '*.o' -o -name '*.lo'
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.lo
    ./libbloom/libbloom_la-bloom.lo
    ./libbloom/libbloom_la-bloom.o
    ➜  shadowsocks-libev-3.0.7 git:(master) ls -l libbloom/murmur2
    total 24
    -rw-r--r-- 1 yousong yousong  324 Jun 27 14:17 libbloom_la-MurmurHash2.lo
    -rw-r--r-- 1 yousong yousong 4168 Jun 27 14:17 libbloom_la-MurmurHash2.o
    -rw-r--r-- 1 yousong yousong 1344 Feb 17 08:47 MurmurHash2.c
    -rw-r--r-- 1 yousong yousong  142 Feb 17 08:47 murmurhash2.h
    -rw-r--r-- 1 yousong yousong  213 Feb 17 08:47 README
    ➜  shadowsocks-libev-3.0.7 git:(master) file ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
    ➜  shadowsocks-libev-3.0.7 git:(master)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:06:24 +08:00
Yousong Zhou 1999396443 shadowsocks-libev: configure options for release build
- It's a common practice that assert should be ignored in release build
 - Whether to enable ssp should be decided by the config of build system

This was taken from Makefile in shadowsocks/openwrt-shadowsocks.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-26 10:17:48 +08:00
Yousong Zhou c7195ece14 shadowsocks-libev: configure with --disable-silent-rules
So that more details will be shown in faillogs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 16:48:34 +08:00
Yousong Zhou 1c82410cf9 shadowsocks-libev: bump version 3.0.7
Notable changes since 3.0.6

    f308dde ss-server: fix a use-after-free bug
    0b2dce5 ss-redir: fix a mem leak
    b7bdb16 ss-local: SOCKS5 UDP associate terminates the connection prematurely
    3f0d39a ss-local: use getsockname udp_fd where it applies (fixes local_port==0)
    eb30a3d fix possible data loss with salsa20 cipher
    0559d8c fix partial nonce data being overwritten

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 01:06:10 +08:00
Yousong Zhou 57114609c4 shadowsocks-libev: fix cases where passwords contain dquote
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24 13:10:18 +08:00
Yousong Zhou 3fe965dd1c shadowsocks-libev: validate bool with default value 0
The change is mainly for keeping compatibility with old validate_data
before ubox commit ac481cdd999ee84d3f115c33a56397237e95ec64 in Sat Jul
16 14:52:36 2016 +0200.  The behaviour change comes with that commit can
be seen with the following command line session

    root@LEDE:/usr/bin# validate_data network interface wan 'disabled:bool:false'
    network.wan.disabled is unset and defaults to bool false
    disabled=0; root@LEDE:/usr/bin#

    root@OpenWrt:/# validate_data network interface lan 'disabled:bool:false'
    disabled='false'; root@OpenWrt:/#

This will cause shadowsocks-libev in current master branch fail on OpenWrt
15.01 though they actually should only use packages from the 15.01 branch...

Fixes openwrt/packages#4614

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23 23:29:47 +08:00
Yousong Zhou 8ad2f36550 shadowsocks-libev: ss-rules: add executable bits 2017-07-23 23:29:12 +08:00
Yousong Zhou 327c325d30 shadowsocks-libev: disable documentation
This should also fix build by removing dependency on asciidoc

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-03 15:04:39 +08:00
Yousong Zhou b61af9703e shadowsocks-libev: rewrite
- Selecting only a single or subset of all components of shadowsocks-libev is
  now possible (this is the main motivation behind the rewrite)
- Configuring multiple instances of the same component is now also possible
- Same option names as with the json config
- Unified configuration generation method for each component
- Add support for ss-local, ss-tunnel, ss-server
- Most data validation is now done with validate_data
- USE_PROCD=1
- Update ss-rules with the one from shadowsocks/luci-app-shadowsocks
- Add README.md
- Set myself as the maintainer

Addresses #4435

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-02 10:01:53 +08:00
Yousong Zhou dbc36c3092 openconnect: openconnect-wrapper: rewrite
- use exec directly to eliminate a level in the process tree
 - use "$@" instead of "$*" to pass arguments to openconnect

According to openconnect(8), openconnect will call vpnc-script to
cleanup before quit when it received SIGINT(2) and will quit immediately
when it received SIGTERM (the default signal by kill command)

Before and after the change, openconnect process will be killed first
with SIGINT sent from netifd.  This was decided by the
'proto_kill_command "$config" 2' notify call in the proto script.

SIGKILL is the only other signal that can be sent from netifd when the
process did not quit on SIGINT on time.  There should be no need to trap
on signal 1 3 6 9 (HUP QUIT ABRT KILL)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 12:37:24 +08:00
Yousong Zhou 094cf18b3e coreutils: stdbuf: fix missing libstdbuf.so
Fixes #1674

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 12:03:23 +08:00
Yousong ZhouandNikos Mavrogiannopoulos 4034e9ee21 openconnect: new option mtu
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>
2017-06-18 13:10:34 +02:00
Yousong ZhouandNikos Mavrogiannopoulos 4b3fde326c openconnect: drop stale config: interface
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>
2017-06-18 13:10:34 +02:00
Yousong Zhou ce563ea706 shadowsocks-libev: bump to version 3.0.6
Below are changes in the packaging method

 - Use tarball provided by the upstream project maintainer instead of
   cloning the whole git-repo
 - Drop openssl variant as it was deprecated then removed by the
   upstream project
 - Add dependency on libev, libsodium, libudns as they are not bundled
   with the source code anymore

Addresses issue #4191

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-05-22 09:56:56 +08:00
Yousong Zhou 957ade65e7 udns: initial version 0.4
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-05-22 09:56:56 +08:00
Yousong Zhou 069879fa4d xl2tpd: backporting fix for race condition causing xl2tpd hang
The patch was taken from https://github.com/xelerance/xl2tpd/pull/125

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-02-14 19:36:52 +08:00
Yousong Zhou ea9e3b05ef luajit: move patches dir to the right place
Closes #3792

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-01-08 22:10:25 +08:00
Yousong Zhou 7b812e8fdd qemu: build sub-packages only for selected targets
While at it, move these pacakges to submenu Utilities -> Virtualization

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-13 21:15:33 -06:00
Yousong Zhou 3aa9ece43c qemu: virtio-console-helper as a separate package
While at it, update copyright header.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou c778ff5714 qemu: packaging target {x86_64,arm}-softmmu and friends
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>
2016-12-11 21:32:22 -06:00
Yousong Zhou 83f0cfb71a qemu: bump to version 2.6.2
- use CXX_DEPENDS instead of explictly requiring libstdcpp
 - use PKG_INSTALL_DIR for packaging qemu-ga
 - explicitly --disable-docs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou 3e4d616a74 dtc: initial version 1.4.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou 25621beab4 reaver: use 65536 as snaplen with pcap
It should fix issue #3333.  The patch was formed with help from
t6x/reaver-wps-fork-t6x#101

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-08 09:54:30 -06:00
Yousong ZhouandGitHub de80f3f1f5 Merge pull request #3421 from miska/rsyslog
rsyslog: Add uClibc dependencies
2016-11-11 04:04:49 -06:00
Yousong ZhouandGitHub 17083195d7 Merge pull request #3390 from bobafetthotmail/patch-16
dvtm: move to Terminal submenu
2016-10-25 00:03:41 -05:00
Yousong ZhouandGitHub 9f8dd657a1 Merge pull request #3352 from yousong/python-packages
python-packages: initial version 1.0
2016-10-21 10:27:51 -05:00
Yousong Zhou c6ddd3d7c0 python-packages: initial version 1.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-10-21 12:07:23 +08:00
Yousong Zhou 3a710acf93 python-pip: add host build
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-10-17 19:55:39 +08:00
Yousong Zhou fbba266e79 python: introduce Build/Compile/HostPyRun{Host,Target}
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-10-17 19:55:39 +08:00
Yousong ZhouandGitHub 45f6380e37 Merge pull request #3337 from jazzgs/feature_opencv
opencv: install missing pkgconfig file in staging folder
2016-10-14 20:15:11 -05:00
Yousong Zhou c8c91ed23c erlang: fix compilation error by disabling mips16
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>
2016-09-01 16:49:25 +08:00
Yousong ZhouandGitHub e15834550f Merge pull request #3095 from yousong/master
Add an issue template
2016-08-26 02:54:06 -05:00
Yousong Zhou 0be823dfc9 Add an issue template
So that maintainers can receive at least one notification at the issue
creation time ;)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-08-25 20:32:50 +08:00
Yousong Zhou ae8668ae88 qemu: remove the leftover --enable-qemu-agent option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-08-18 11:33:01 +08:00
Yousong Zhou ac0ea8b970 qemu: build only qemu-ga
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>
2016-08-18 11:28:21 +08:00
Yousong Zhou 13014e3633 libffi: patch n32.S to fix mips64 soft-float build
This should fix openwrt/packages#2511

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-08-17 09:55:20 +08:00
Yousong ZhouandGitHub 4972489d8d Merge pull request #3054 from plntyk/fix_qemu
qemu: fix ccache enabled builds
2016-08-13 18:31:19 -05:00
Yousong ZhouandGitHub 5ae3447d2c Merge pull request #3049 from dedeckeh/pr_l2tp_teardown_on_l3_link_down
xl2tpd: Enable netifd notification teardown_on_l3_link_down
2016-08-12 17:28:49 +08:00
Yousong ZhouandGitHub 2c5d49ab47 Merge pull request #2106 from jefferyto/obfsproxy
obfsproxy: new package
2016-08-01 18:15:49 +08:00