Commit Graph
100 Commits
Author SHA1 Message Date
Yousong Zhou 31abcf26de qemu: remove ref to now non-existent TARGET_arm64
It was removed in base system commit 88468f7e ("armvirt: merge arm64 as
subtarget 64") in 2017

No change in packaged content

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-12-18 20:29:06 +08:00
Yousong Zhou 33bbeceaa7 qemu: add patch for qga guest-shutdown command
Ref: https://github.com/openwrt/packages/issues/14244
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-12-17 17:08:40 +08:00
Yousong Zhou 02b1187af2 xl2tpd: fix invoking xl2tpd-control
Upstream commit 90884c62 ("xl2tpd-control refactoring") introduced in
1.3.16 changed command names

The l2tp protocol handler part was from @danvd in pull request
openwrt/packages#13866

Fixes f07319d6 ("xl2tpd: bump to version 1.3.16")

Ref: https://github.com/openwrt/packages/pull/13866
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-11-12 15:20:16 +08:00
Yousong Zhou f07319d6b1 xl2tpd: bump to version 1.3.16
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-10-30 15:24:27 +08:00
Yousong Zhou 6c50a78b65 ovn: bump to version 20.09.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-10-19 14:17:04 +08:00
Yousong Zhou f2d67dc48a spice-protocol: bump to version 0.14.3
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-10-19 10:26:37 +08:00
Yousong Zhou 04dea23c62 shadowsocks-libev: bump to version 3.3.5
Patch removed because the relevant code was removed upstream

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-09-21 17:19:59 +08:00
Yousong Zhou 3445e1b470 openconnect: allow disable dtls with bool option no_dtls
openconnect may emit following error logs every minute when negotiating
with deployments forbidding usage of dtls

  Thu Aug 27 04:11:59 2020 daemon.notice openconnect[12024]: DTLS handshake failed: Error in the push function.
  Thu Aug 27 04:11:59 2020 daemon.notice openconnect[12024]: (Is a firewall preventing you from sending UDP packets?)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-27 13:59:52 +08:00
Yousong Zhou fce2b069df openconnect: break each var into its own line in order
For easier review

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-27 13:59:35 +08:00
Yousong Zhou d6d9376141 ovn: include ovn-appctl
Required by ovn-ctl for stopping ovn ovsdb instances

This utility was introduced since 20.03.0 after the project was
maintained in its own repo

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-27 13:58:39 +08:00
Yousong Zhou fed92c81b6 ovn: bump to version 20.06.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-25 15:50:37 +08:00
Yousong Zhou 282038d97b openvswitch: bump to version 2.14.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-25 15:50:32 +08:00
Yousong Zhou 1e836cb41a qemu: fix build failure caused by ld cannot find iconv
This was caused by upstream project commit db5adeaa ("build-sys: clean
up flags included in the linker command line")

Reported-by: W. Michael Petullo <mike@flyn.org>
Link: https://github.com/openwrt/packages/issues/13081
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-12 00:05:37 +08:00
Yousong Zhou 100bd27e4d qemu: use $(ICONV_DEPENDS)
In case CONFIG_BUILD_NLS was enabled

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-12 00:05:37 +08:00
Yousong Zhou 3f383103ee openvswitch: bump to version 2.13.1
The two backported patches are included in 2.13.1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-10 20:38:49 +08:00
Yousong Zhou 4418d240a1 shadowsocks-libev: note the deprecation of ss_server.bind_address
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-04 11:40:45 +08:00
Yousong Zhou 7d7cbae75e shadowsocks-libev: support ss-server option local_{ipv4,ipv6}_address
At the moment ss-server seems to be the only component using these two
options.  It also accepts "local_address" of either ip4 or ip6 address,
but the meaning is different from that of ss-local, ss-tunnel etc.
where it is for listen bind

With this commit, we start deprecation process of uci option
"bind_address".  The name was replaced with "local_addr" in upstream
project commit 5fa98a66 ("Fix #1911") and available as json config
option "local_address".  This upstream change was released in 3.2.0

Link: https://github.com/shadowsocks/shadowsocks-libev/commit/4a42da641b6e0039497998614e84c94205939c24
Link: https://github.com/openwrt/packages/issues/12931
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-03 11:52:56 +08:00
Yousong Zhou a00671bf86 openvswitch: remove explicit dependency on librt
Selection of librt will be handled by the build system

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 11:54:34 +08:00
Yousong Zhou 52e074411b openvswitch: only libopenvswitch depends on libunbound, libunwind
This is to make explicit the conditional select of libunwind is only
needed for libopenvswitch.  If we spill it over other packages, the
generated kconfig will have recursive dependency issue.  2 new patches
were made for this goal

The other thing is that "+libunwind" will cause it to be built if any of the
packages defined in this Makefile is enabled (y or m).  This is at the moment
by-design of the build system.

Libunwind does not support architectures like arc.  Use conditional select To
avoid (libunwind) build failures like the following,

  checking for ELF helper width... configure: error: Unknown ELF target: arc
  make[3]: *** [Makefile:65: /data/openwrt/build_dir/target-arc_arc700_uClibc/
  libunwind-1.3.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1

Things like "+PACKAGE_openvswitch-libopenvswitch:libunwind" will also result in
recursive deps error for chains of 3 nodes.  Kconfig construct like the
following will be made

	config A
		tristate
		select B
		depends on !(C) || (x)

	config B
		tristate
		select C

	config C
		tristate

	config x
		bool

Other changes include

 - Shared use of variable ovs__common_depends was removed
 - Ovn doc build was patched out

Link: https://github.com/openwrt/packages/pull/12959#issuecomment-665021413
Reported-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 10:02:13 +08:00
Yousong Zhou f69f4f3fae openvswitch: rename shared var name ovs{,_}_common_depends
To avoid conflict with package ovs_common_depends of package
openvswitch-common

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 10:02:13 +08:00
Yousong Zhou acca35d460 openvswitch: backport patch fixing build for 4.14.187
Supersedes openwrt/packages#12932

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 10:02:13 +08:00
Yousong Zhou 74d78af936 ovn: bump to version 20.06.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-14 21:25:20 +08:00
Yousong Zhou 7a98f0b370 qemu: explictly --disable-linux-io-uring
Fixes openwrt/packages#12808

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-14 21:24:39 +08:00
Yousong Zhou 7e3d046a04 ovn: bump to version 20.06.0 2020-06-15 20:34:26 +08:00
Yousong Zhou 70fe482c41 pixman: bump to version 0.40.0
Ref: https://github.com/openwrt/packages/pull/12421
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(splits of commit)
2020-06-08 11:00:03 +08:00
Yousong Zhou c020d5a2b4 pixman: switch to using meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(splits of commit)
2020-06-08 11:00:03 +08:00
Yousong Zhou 34219363c7 pixman: cosmetic change on spacing
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(splits of commit)
2020-06-08 11:00:03 +08:00
Yousong Zhou 26291bba4e openvswitch: pass KERNEL_MAKE_FLAGS for reproducible build
Reported-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-27 16:38:56 +08:00
Yousong Zhou 931ff98633 openvswitch: rework disabling docs build
This is needed since openvswitch 2.13 commit 2a97891eb23b
("Documentation: Work with sphinx-build for Python 3 also.")

The 4th patch was also reworked to serve as another guard

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-27 16:38:56 +08:00
Yousong Zhou d6c66721cb exfat-nofuse: use $(KERNEL_MAKE) to account for reproducible build
This leverages on -iremap flag embedded there since the build system
commit 4ed356fa719e ("kernel.mk: add KCFLAGS to make kmods reproducible")

Reported-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-21 19:10:19 +08:00
Yousong Zhou ba6e5fc393 qemu: filter out configure args with predefined macros
Reported-by: https://github.com/openwrt/packages/commit/a3033406eae94105b50ea9d57ea4a032b34a87a1#commitcomment-39321758
Suggested-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-21 11:16:07 +08:00
Yousong Zhou a3033406ea qemu: ignore configure option --disable-ipv6
Fixes: https://github.com/openwrt/packages/issues/12194
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-20 23:32:01 +08:00
Yousong Zhou 1091badd83 openvswitch: fix file generation in /etc/modules.d
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Reported-by: Paul Spooren <mail@aparcar.org>
2020-05-20 23:29:44 +08:00
Yousong Zhou 0b6f288560 spice-protocol: bump to version 0.14.2
Starting in this version the upstream project

 - only provides .xz tarball
 - meson is the only supported build method

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-20 15:49:47 +08:00
Yousong Zhou f40420d456 qemu: bump to version 5.0.0
The slirp patch was included in this QEMU release

CXX_DEPENDS is now added for all host components otherwise we get
errors like the following

  Package qemu-img is missing dependencies for the following libraries:
  libuClibc++.so.0
  Package qemu-nbd is missing dependencies for the following libraries:
  libuClibc++.so.0

--disable-bluez was removed from configure args because upstream
deprecated bluetooth subsystem since qemu v3.1 and remove the code in
commit 1d4ffe8dc77c ("Remove the core bluetooth code")

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-11 17:02:16 +08:00
Yousong Zhou 2f73c4853b shadowsocks-libev: ignore error from flushing route table
Linux kernel and iproute2 together now implement strict checking of the
existence of route tables.

Previously kernel does not support filtering by table id, now it does
and will error with nlmsgerr "ipv4: FIB table does not exist".

Previously iproute2 dump all routes and filter by table id in userspace,
now this has changed with iproute2 commit c7e6371bc4af ("ip route: Add
protocol, table id and device to dump request")

Error scene

	root@OpenWrt:/# ip route flush table 100
	Error: ipv4: FIB table does not exist.
	Flush terminated
	root@OpenWrt:/# echo $?
	2

Fixes: https://github.com/openwrt/packages/issues/12095
Ref: https://lists.openwall.net/netdev/2019/05/02/105
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-06 21:38:53 +08:00
Yousong Zhou d917d662ae acme: depends on wget-ssl
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-04-14 11:37:04 +08:00
Yousong Zhou 585e4a38fe wget: make the ssl variant provides wget-ssl
This is to address the need for specifying dependency on a wget
implementation with ssl support.

Now we have a game of names for opkg

 1. uclient-fetch: minimal version by openwrt project
 2. wget-nossl: gnu wget w/o ssl support
 3. wget-ssl: for the moment since this commit, gnu wget w/ ssl support
 4. wget: uclient-fetch, wget-nossl, or wget-ssl
 5. gnu-wget: wget-nossl or wget-ssl

By the time we provide some dummy package like uclient-fetch-ssl and
make it also provide wget-ssl, I guess by then we will also need
gnu-wget-ssl...

Ref: https://github.com/openwrt/packages/issues/11534
Ref: https://github.com/openwrt/packages/pull/9941
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-04-14 11:37:04 +08:00
Yousong Zhou 47d9bf8418 qemu: fix building on mips arch
Add fallback zero value definition for MAP_SYNC etc. even when building
for CONFIG_LINUX.

Fixes openwrt/packages#11067

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-30 13:23:39 +08:00
Yousong Zhou 132f58ee49 reaver: enable PKG_BUILD_PARALLEL
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-27 10:57:24 +08:00
Yousong Zhou 61331a464b reaver: bump to version 1.6.6
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-27 10:57:24 +08:00
Yousong Zhou 88dcd09487 openvswitch: depend on IPV6 for intree kmods
Ref: https://github.com/openwrt/packages/issues/11665
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-26 15:50:34 +08:00
Yousong Zhou 07d6310d2f openvswitch: unset CONFIG_AUTOREMOVE
Phase 2 buildbots with this option enabled will cleanup openvswitch
build dir which is needed later when building ovn

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-26 15:50:34 +08:00
Yousong Zhou 0fa07ed578 openvswitch: openvswitch.mk: add ovs_common_depends variable
This is to address the need that openvswitch starting with 2.13 now
depends on libunwind for handling SIGSEGV (upstream commit e2ed6fbeb18
("fatal-signal: Catch SIGSEGV and print backtrace"))

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-24 10:45:57 +08:00
Yousong Zhou f31a9349ea ovn: initial version 20.03.0
Compared to original packaging scheme within openvswitch, we removed
ovn-trace, ovn-detrace from openvswitch-ovn-common package.  ovn-detrace
requires python libs to run, so it does not actually work out of box in
previous builds anyway.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-23 16:07:24 +08:00
Yousong Zhou bf4f584e75 openvswitch: bump to version 2.13.0
python2 library is now removed as the transition has been done by the
upstream project

OVN is now a separate project released with its own release plan and
it's not included within openvswitch starting with ovs 2.13.

openvswitch.mk is split out from the main Makefile for adding ovn
packages back in following commits.

The following two patches are already included in 2.13

 - ovsdb-idlc-fix-dict-change-during-iteration.patch
 - compat-Include-confirm_neigh-parameter-if-needed.patch

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-23 16:07:24 +08:00
Yousong Zhou ca7ea1402c qemu: add ui options to PKG_CONFIG_DEPENDS
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-20 17:27:13 +08:00
Yousong Zhou 7d000f2042 spice-protocol: bump to version 0.14.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-20 17:27:13 +08:00
Yousong Zhou d977f63136 spice: bump to version 0.14.3
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-20 17:27:13 +08:00
Yousong Zhou 1f00e4a327 dtc: bump to version 1.6.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-20 17:27:13 +08:00
Yousong Zhou e9d6414437 openvswitch: fix PIE build against 4.14 kernel
Reported-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Ref: https://github.com/openwrt/packages/pull/11567
2020-03-16 15:26:17 +08:00
Yousong Zhou 1186e6d427 exfat-nofuse: rename to kmod-fs-exfat0
exFAT fs driver has been upstreamed as a staging driver since linux 5.4.
The package name kmod-fs-exfat is used for that.

Three things happened in this commit

 - The package will only be built for kernel 4.14 and 4.19
 - The driver will be available as opkg package "kmod-fs-exfat0".
   "kmod-fs-exfat" is to be used for the one in upstream kernel
 - Mark "kmod-fs-exfat0" as deprecated in package title

Signed-off-by: Paul Blazejowski <paulb at blazebox.homeip.net>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(rename, rewording, and deprecation)
2020-03-09 22:03:43 +08:00
Yousong Zhou db8fa4b326 sqm-scripts: luci-app-sqm: init ucitrack with uci-defaults
To avoid build failure when luci-app-sqm is selected as builtin where
the ipk will be installed on build machine

While at it, switch to using $(MAKE) instead of plain "make"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-01 13:53:19 +08:00
Yousong Zhou bdac2c8289 qemu: enable guest_agent no matter whether softmmu is enabled
Fixes: openwrt/packages#11067

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-02-07 03:12:54 +08:00
Yousong Zhou b758d897a9 shadowsocks-libev: bump to version 3.3.4
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-01-13 10:14:50 +08:00
Yousong Zhou d0dc891c14 openvswitch: bump PKG_RELEASE
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-01-08 11:54:47 +08:00
Yousong Zhou 7cc9c437be openvswitch: fix building failure caused by dst_ops api change
Ref: https://github.com/openwrt/packages/issues/10961
Reported-by: Sven Roederer <devel-sven@geroedel.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-01-08 11:54:46 +08:00
Yousong Zhou 99ecbf7f40 openvswitch: configure with --disable-silent-rules
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-01-08 11:54:46 +08:00
Yousong Zhou 5a25cf86ea spice: fix building against arc770-uclibc toolchain
Supersedes openwrt/packages#10873

Ref: https://github.com/openwrt/packages/pull/10873
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-12-25 19:01:30 +08:00
Yousong Zhou 14ee7cd3bf qemu: bump to version 4.2.0 2019-12-16 02:50:15 +00:00
Yousong Zhou cfb1371019 spice: configure --without-sasl
Fixes openwrt/packages#10709

Ref: https://github.com/openwrt/packages/issues/10709
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-12-06 02:18:14 +00:00
Yousong Zhou df4811c6c3 qemu: bump to version 4.1.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-18 02:54:51 +00:00
Yousong Zhou c0d5c29a24 spice: Fix compilation without deprecated OpenSSL APIs
Fixes openwrt/packages#10451

Supersedes openwrt/packages#10461

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(use separate upstreamed patches)
Ref: https://github.com/openwrt/packages/pull/10461
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-10 05:21:41 +00:00
Yousong Zhou 0a2b3b3b82 shadowsocks-libev: README.md: more notes on the dns configuration
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-06 15:40:24 +00:00
Yousong Zhou 4f3244db40 circleci: skip compiling packages not enabled
E.g. some packages are target, or arch specific, skip compiling them if
they cannot be enabled for current sdk.  This should reduce false
positives for packages like docker-ce etc.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-06 20:38:47 +08:00
Yousong Zhou 97bada594b shadowsocks-libev: bump to version 3.3.3
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-04 04:54:43 +00:00
Yousong Zhou 274269fdbe spice: bump to version 0.14.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-04 04:54:43 +00:00
Yousong Zhou 2c672fc625 spice-protocol: bump to version 0.14.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-04 04:54:43 +00:00
Yousong Zhou 924b136aa7 qemu: allow configure SPICE ui support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-28 09:10:11 +08:00
Yousong Zhou 422b955ef1 spice: initial version 0.14.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-28 09:10:11 +08:00
Yousong Zhou 45898d8af5 spice-protocol: initial version 0.12.15
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-28 09:10:11 +08:00
Yousong Zhou 0d4313fdcc qemu: enable basic VNC ui support
With other features like vnc jpeg, png, sasl configurable

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-28 09:10:11 +08:00
Yousong Zhou 0412c20f1b xl2tpd: fix building failure caused by pfc
Fixes openwrt/packages#10270

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-18 11:43:08 +00:00
Yousong Zhou 620ba386b4 xl2tpd: bump to version 1.3.15
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-14 08:23:07 +00:00
Yousong Zhou 29991142e2 shadowsocks-libev: bump to version 3.3.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-14 08:23:07 +00:00
Yousong Zhou a2bbedb880 qemu: patch for CVE-2019-15890
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-23 02:16:01 +00:00
Yousong Zhou 384398d452 openconnect: allow specifying form_entry list
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-21 10:33:18 +00:00
Yousong Zhou 41a4aecccf dtc: bump to version 1.5.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-16 08:00:19 +00:00
Yousong Zhou feacaa5f80 openvswitch: bump to version 2.12.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-16 07:59:31 +00:00
Yousong Zhou b6a3145df5 cgroups-mount,docker-ce,lxc: rework kernel feature dependency
Fix that KERNEL_CGROUPS is enabled (selected) automatically along with
cgroups-mount

Replace "if PACKAGE_docker-ce" with a menu to avoid circular denpendency
issue involving PACKAGE_docker-ce, PACKAGE_cgroups-mount and
KERNEL_CGRUOPS

docker-ce, lxc: replace KERNEL_LXC_MISC with more specific options

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-12 10:31:16 +08:00
Yousong Zhouandtripolar 20efa32d2d acme: depends on gnu-wget
Fixes openwrt/packages#9456

Ref: https://github.com/openwrt/packages/issues/9456
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-09 09:40:34 +02:00
Yousong Zhouandtripolar 99aed64005 wget: provides gnu-wget
So that packages like acme requiring features from it can depend on it
explicitly, not the more basic "wget" which is also provided by
"uclient-fetch"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-09 09:40:34 +02:00
Yousong Zhou 1a3f436a2f qemu: bump to version 4.1.0
Package qemu-blobs was removed and replaced with separate firmware
packages for size considerations.

QEMU switched to libssh from libssh2 and configure option also changes

For upstream changelog, see http://wiki.qemu.org/ChangeLog/4.1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-20 10:05:51 +00:00
Yousong Zhou af41e07e10 dtc: backport patch to export fdt_check_full()
This is required for configure script of QEMU to detect presence of
system libfdt library

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-20 10:05:51 +00:00
Yousong Zhou 1333a015e3 xl2tpd: bump to version 1.3.14
Changelog prepared by upstream project

* osport.h: replace SUSv3-specific functions by POSIX variants [Fabrice Fontaine]
* avp: Error Code field in Result Code AVP is optional [Pau Espin Pedrol]
* network_thread: Early continue in loop to remove huge indented block [Pau Espin Pedrol]
*  network_thread: Simplify while loop using for loop [Pau Espin Pedrol]
* network: connect_pppol2tp: early return to avoid huge indentation block [Pau Espin Pedrol]
* xl2tpd: start_pppd: Fix truncation of last character [Pau Espin Pedrol]
* handle_packet: Remove unneded else clause when handling payload [Pau Espin Pedrol]
* control: Split control message handling into its own function [Pau Espin Pedrol]
* handle_packet: Rearrange code flow to simplify it [Pau Espin Pedrol]
* avp: Early failure if no handler to remove indent block [Pau Espin Pedrol]
* xl2tpd: Mark internal symbols as static [Pau Espin Pedrol]
* Fix indentation and whitespace in code block [Pau Espin Pedrol]
* xl2tpd: Remove unused variable [Pau Espin Pedrol]
* network: Add missing close(kernel_fd) on init network failure [Pau Espin Pedrol]
* network: Add missing close(server_fd) on init network failure [Pau Espin Pedrol]
* Add 'cap backoff' option, limiting exponential backoff retries will
  be delayed by exponentially longer time, unless that time is capped
  by configuration. [Bart Trojanowski]
* Add program to show status icon in system tray. [Github user: username34]
* Add info on building and installing xl2tpd [Samir Hussain]
* Update formatting of README.md [Samir Hussain]
* Rename README.xl2tpd to README.md [Samir Hussain]
* Update Debian changelog [Samir Hussain]

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-12 09:16:29 +00:00
Yousong Zhou 2b469232e6 pservice: shorten code
- use uci_load_validate()
 - remove stop_service()
 - fix validation of "args" option

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-12 08:23:03 +00:00
Yousong Zhou 5d7d44d605 shadowsocks-libev: bump to version 3.3.1
This should fix openwrt/packages#9346 ("shadowsocks-libev: undefined
behavior from unaligned access")

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-12 08:21:00 +00:00
Yousong Zhou af2e419c26 collectd: bump PKG_RELEASE to 4
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-10 09:52:22 +08:00
Yousong Zhou 2f66fa5c23 collectd: remove the patch scaling ping_droprate from 0-1 to 0-100
Upstream project's behaviour of reporting this data source in range 0-1
is used by at least CentOS 7 collectd 5.8.1, very likely the same
behaviour is also in widely use by other distributions.

The change is important for providing consistent experience across
collectd deployments on different environments

Ref: https://github.com/collectd/collectd/pull/3244
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-10 09:52:22 +08:00
Yousong Zhou 6583414797 collectd: use uname to get default Hostname
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-10 09:52:22 +08:00
Yousong Zhou 02840f4c2a collectd: log stderr output
Collectd without log type plugin loaded will write log lines to stderr.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-10 09:52:22 +08:00
Yousong Zhou d58a81f35c pservice: initial version
The can be convenient for running commands or services as procd services
without needing to separately write initscripts, just uci configuration.

The package was imported from [1].

 [1] https://github.com/yousong/waller/tree/0a85f5c75fb70627f68cbbcab4807e02e3299e2e/pservice

Ref: https://github.com/yousong/waller/issues/1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-06 10:09:58 +08:00
Yousong Zhou 9282044851 coreutils: add alternatives support
Fixes openwrt/packages#9290

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-07-13 11:04:41 +00:00
Yousong Zhou 8897ea4d51 openvswitch: conditionally depends on nf_conncount.ko
This is required for conntrack zone limit support.  Linux upstream
commit is 11efd5cb ("openvswitch: Support conntrack zone limit")

Ref: https://github.com/openwrt/packages/issues/9274#issuecomment-507181166
Reported-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-07-01 13:45:38 +00:00
Yousong Zhou 9ff174097b netdata: netdata.init: fix indentation 2019-06-21 01:58:36 +00:00
Yousong Zhou 9ac5ac81ab treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-21 09:52:32 +08:00
Yousong Zhou 6aef8faae7 openvswitch: bump to version 2.11.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-20 08:35:31 +00:00
Yousong Zhou 51a68f08c5 openvswitch: drop dependencies on kmod-mpls
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-20 08:35:31 +00:00
Yousong Zhou 885fc52411 openvswitch: conditionally select kmod-nsh
The nsh.ko requirement was introduced in kernel 4.15.  Currently there
are 3 kernel versions in base system, 4.9, 4.14, 4.19

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-20 08:35:31 +00:00
Yousong Zhou a6ec885522 openvswitch: rework skipping intree kmod build for unsupported kernels
This is a workaround to prevent the whole build from failing because of
the intree kmods are not supported yet by upstream project.

Root cause is that kernel version should not play a part when making
DEPENDS as the generated kconfig was for all targets that may have
different kernel versions.

One less than ideal effect of this change is that for an unsupported
kernel version, people can still select the intree kmod but it won't be
built.  This may contradict expectation if the warning was not noticed
by them

Resolves openwrt/packages#9274

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-20 08:24:55 +00:00