The first and last hunks of the patch were already taken care of, but
the middle two were still needed.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Versions earlier than 1.2.15 had security vulnerabilities, especially
related to the bundled oniguruma. Now libevhtp uses a system-provided
library instead. The API changed as well, requiring patches to
seafile-server.
Adds @cotequeiroz Eneas U de Queiroz as maintainer.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
oniguruma is a regular expression library for different character
encodings.
It is a dependency of current version of libevhtp, and is currently only
producing a static library, not generating an installable package.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Forum user portuquesa raised a topic (see [1]) about being unable to use
Asterisk on his armeb xscale device. We narrowed it down to sqlite3.
Asterisk was unable to insert a simple table into its db.
In short, sqlite3 assumes little endian for every ARM device. This
worked OK for 4 Byte bit (unaligned) access. But once upstream (back in
2015) added a function which accesses 2 Bytes (see [2]) this failed for
some (if not all) ARM big endian devices. ARM CPUs are bi-endian for 4
Byte reads but not for 2 Byte reads.
This patch fixes the problem by setting the endianness adequately for
ARM targets, for both 32 bit and 64 bit varieties. The patch was applied
upstream (see [3]).
[1] https://forum.openwrt.org/t/solved-asterisk13-or-15-sqlite3-database-problem/36856
[2] 329428e208
[3] https://www.sqlite.org/src/info/b7aad929619f7043
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Pull request #9033 showed that there are problems with builds where
thread-safe mode is disabled. The binaries still reference functions
from libpthread. This commit removes the thread-safe choice for now.
Once this is addressed upstream the choice can be added back.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Libevhtp is building a static library, used by seafile-server.
Every time the libevhtp binary changes, seafile-server needs a release
bump.
Leave a note in the libevhtp Makefile, as a reminder.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Patch was posted on the mailing list. Awaits inclusion looks like. Fixes
long range build failures on the platform.
Updated Mirror list. The first two seem to not work.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Maintainer: me
Correct issues with TITLE and add URL pointing to the fstrm GitHub Page. Reformat the description so it renders correctly in menuconfig.
Fixes#9022
Signed-off-by: James Taylor <james@jtaylor.id.au>
Fixes CVE-2019-10129: Memory disclosure in partition routing
Does **NOT** fix CVE-2019-9193 which PostgreSQL doesn't consider a
security issue, see [1].
[1]: https://www.postgresql.org/about/news/1935/
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
fstrm is an optimized C implementation of Frame Streams that includes a fast, lockless circular queue implementation and exposes library interfaces for setting up a dedicated Frame Streams I/O thread and asynchronously submitting data frames for transport from worker threads. It was originally written to facilitate the addition of high speed binary logging to DNS servers written in C using the dnstap log format.
Maintainer: me
Compile Tested: armv7l, SNAPSHOT 655fff1571 SDK
Run Tested: armv7l, Linksys WRT1900ACS, OpenWrt SNAPSHOT, r9987-655fff1571
Signed-off-by: James Taylor <james@jtaylor.id.au>
Description from Amol Bhave:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Description from Amol Bhave:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
DEPENDS:=@!arc is causing a recursive dependency because of the optional
selection of libseccomp by util/lxc. The workaround hides the package
in Package/libseccomp/config instead.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
For some reason from 1.1.7 to 1.2.0, oniguruma no longer gets installed by
default. Fix that to fix compilation with seafile.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
From the README:
Newt is a programming library for color text mode, widget based user
interfaces. Newt can be used to add stacked windows, entry widgets,
checkboxes, radio buttons, labels, plain text fields, scrollbars,
etc., to text mode user interfaces. Newt is based on the slang library.
Adapted from the old packages feed:
https://git.openwrt.org/?p=openwrt/svn-archive/packages.git;a=tree;f=libs/newt
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
From the S-Lang website:
S-Lang is a multi-platform programmer's library designed to allow a
developer to create robust multi-platform software. It provides
facilities required by interactive applications such as display/screen
management, keyboard input, keymaps, and so on. The most exciting
feature of the library is the slang interpreter that may be easily
embedded into a program to make it extensible. While the emphasis has
always been on the embedded nature of the interpreter, it may also be
used in a stand-alone fashion through the use of slsh, which is part of
the S-Lang distribution.
Adapted from the old packages feed:
https://git.openwrt.org/?p=openwrt/svn-archive/packages.git;a=tree;f=libs/slang2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
[Depends on libwangle]
Facebook's branch of Apache Thrift, including a new C++ server.
Thrift is a serialization and RPC framework for service communication.
Thrift enables these features in all major languages, and there is
strong support for C++, Python, Hack, and Java.
Test Plan: compile fbthrift on openwrt master for nbg6817
Maintainer: me
Signed-off-by: Amol Bhave <ambhave@fb.com>
Description: folly automatically picks up lz4 and unwind if they are found
by its cmake build script. This is causing buildbot failure.
Include these libraries in DEPENDS as well.
Test Plan:
- build packages liblz4 and libunwind
- build folly, and check that it throws an error
- add this patch, and rebuild
- verify that it succeeds this time around
Compile Tested: nbg6817, openwrt master
Maintainer: me
Signed-off-by: Amol Bhave <ambhave@fb.com>
Summary: Currently, boost host build doesn't actually compile boost
libraries for the host arch. If there are host tools that would want
to link against boost, it can't right now.
This diff adds support for compiling host boost library as well.
Any packages that need to depend on a host boost library can depend on
CONFIG_boost-host-build-<lib>.
Test Plan: Compiled fbthrift and verified that it works.
used openwrt master using nbg6817
Maintainer: @ClaymorePT
Signed-off-by: Amol Bhave <ambhave@fb.com>
Wangle is a framework providing a set of common client/server
abstractions for building services in a consistent, modular, and
composable way.
tested with: master on nbg6817 and arc700.
Signed-off-by: Amol Bhave <ambhave@fb.com>
C++ implementation of RSocket
RSocket is a binary protocol for use on byte stream transports such as
TCP, WebSockets, and Aeron. (https://rsocket.io/)
This ships with two separte libraries, yarpl and rsocket
Patch 100 is already upstream
(862202c6e9).
Patch 101 in process of upstreaming as it needs to made compatible with
using both gold and ld.
[Dependency of https://github.com/facebook/openr]
Compile tested: openwrt master - nbg6817, arc700
Signed-off-by: Amol Bhave <ambhave@fb.com>
Fizz is a TLS 1.3 implementation.
Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with
the final specification), and 23. All major handshake modes are
supported, including PSK resumption, early data, client authentication,
and HelloRetryRequest.
Compile tested: nbg6817 and arc700, openwrt master
Signed-off-by: Amol Bhave <ambhave@fb.com>
folly is an open-source C++ library developed and used at Facebook.
Adding this package will enable adding further packages that depend on
this.
Depends on PR #7098, PR #7101, PR #7126, PR #7877
Maintainer: me
Compile tested: openwrt-18.06 for ipq40xx, ipq806x, x86 and ar71xx
Run tested: Tested on devices running on the above architectures.
Verified that dependent packages can successfully build and run using
the libfolly.so shared library.
Signed-off-by: Amol Bhave <ambhave@fb.com>
mstch is an implementation of the the mustache templates using C++.
This package will build mstch static library that can be used by
other packages.
Signed-off-by: Amol Bhave <ambhave@fb.com>
Copy the cmake directory in the InstallDev step.
I am currently trying out actual host build for boost i.e. compiling
boost libaries for host tools. When I do that, that step installs the
boost cmake files in staging_dir/host.
This breaks other packages that use cmake to compile and use boost as a
dependency. This is because, their compilation step now begins using
staging_dir/host version of Boost, rather than the target version of
boost. Cmake gives priority to cmake version of Boost config, over
finding boost headers manually.
This change resolves that problem by installing the BoostConfig.cmake
file in staging_dir/<target> as well.
Compile tested: nbg6817
Signed-off-by: Amol Bhave <ambhave@fb.com>
In the tree, libevhtp is used only for Seafile. This is the most recent
version that Haiwen lists as working.
Updated threads patch for OpenSSL 1.1.
Removed Maintainer as he is inactive.
Simplified Makefile a little bit and reorganized for consistency between
packages.
Fixed compilation with uClibc-ng.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Boost 1.70.0 broke the apply_visitor functions for lvalue reference
variants.
This imports the patch that fixes this issue from upstream.
Tested this by compiling a library
(https://github.com/facebookincubator/fizz) that works with 1.69 but
breaks with 1.70. And then, importing this patch and trying the
compilation again.
Compile tested: nbg6817
Maintainer: @ClaymorePT
Signed-off-by: Amol Bhave <ambhave@fb.com>
sigar is a System Information Gatherer And Reporter library for C++
Adding the package so other C++ packages that depends on this library
can build.
This creates a libsigar.so shared library.
Signed-off-by: Amol Bhave <ambhave@fb.com>
Users have reported errors with Apache. Enable DSO to try to fix.
Most of these vars default to no since we're cross-compiling. Change them
to on since all the libc's that OpenWrt supports supports these. epoll for
example should have better stability.
Changed PKG_LICENSE to SPDX.
Slight cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Update (lib)x264 to 20190324
* Stop using GNU Autotools and use libx264's own
configuration facility
* Drop hardcoded CFLAGS, x264 will handle those fine on its own
This will override toolchain optimizaion and set -O3
irregardless of setting.
* Rework LTO and ASM optmization selection to make it more
compact and readable. This drops optimization for x86 32-bit
which is being deprecated in favour of x86_64 in general and
the very few systems still in use that doesn't support 64-bit
are too slow to be usable anyway.
* Import patches to fix compilation on ARM and x86 (32-bit)
from OpenEmbedded
* Minor style fixes to Makefile
Source: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/x264/x264
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
OpenWrt uses uClibc-ng now, and it seems that these are no longer needed
as it seems faad2 automatically renames these functions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Previous GCC7 fix was incorrect and GCC8 correctly complains about it.
Fix it properly.
Also cleaned up the Makefile for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream has really infrequent releases while having an active git
repository with important bugfixes. This is also needed because
libimobiledevice requires a new API from libusbmuxd.
Signed-off-by: Rosen Penev <rosenp@gmail.com>