Commit Graph

3079 Commits

Author SHA1 Message Date
Rosen Penev
7bfc23f24d Merge pull request #10969 from ja-pa/measurement-kit-0.10.8
measurement-kit: update to version 0.10.8
2020-01-08 18:41:56 -08:00
W. Michael Petullo
0762c72cc5 libgd: provide a -full variant
The php7-mod-gd package requires that freetype support exist in libgd,
but this is not included in the default libgd build. In order to allow
a working php7-mod-gd package while keeping the default libgd package
as small as possible, this commit introduces a -full variant of the
libgd package.

Ref: https://github.com/openwrt/packages/issues/10944
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-01-08 20:46:46 -05:00
Jan Pavlinec
744e2dd19d measurement-kit: update to version 0.10.8
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-01-09 01:22:43 +01:00
Rosen Penev
caf6d5ed2a libcap: Update to 2.29
Fixed PKG_LICENSE.

Added PKG_BUILD_PARALLEL for faster compilation.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-08 16:08:35 -08:00
Mathew McBride
19c284e05d libwebsockets: enable unix socket support in the full build
This functionality can be used by downstream applications such as
ttyd to present their HTTP service as a unix domain socket rather
than a TCP server.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2020-01-08 16:41:34 +11:00
Daniel Golle
c2d15517ab postgresql: fix PKG_HASH
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 09:40:58 +02:00
Daniel Golle
af420515be postgresql: update to version 12.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Sebastian Kemper
141bd55316 apr-util: add drivers
This adds the following drivers as extra packages:

- openssl
- mysql
- odbc
- pgsql
- sqlite3
- gdbm (dbm)
- ldap

This also removes the gratuitous dependency on libsqlite3 from
libaprutil (dbd_sqlite3 was nevery packaged before, after all).

With this ldap and session-crypto support can be enabled in apache.

The mysql driver is currently marked BROKEN, because apr-util still uses
mysql server headers, which aren't part of mariadb-connector-c. But
there's work underway at apr-util upstream to fix that so that BROKEN
can be removed during a feature version bump.

The gdbm dbm driver got added together with a patch that fixes the error
handling. Patch is from Debian.

Resolves #10886

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-06 13:10:26 +01:00
W. Michael Petullo
7bd2a149ff libgd: fix building with freetype support
Freetype support is required for php7-mod-gd as of commit 0f10c8c8,
which causes the PHP7 package to build using this external libgd library.
This commit adds FREETYPE_INCLUDE_DIRS to the definition of CMAKE_OPTIONS.
Without this, libgd does not build freetype support as shown by
this message:

....
Build libgd:
-- Could NOT find Freetype (missing:  FREETYPE_INCLUDE_DIRS)
-- Configuring done
-- Generating done
....

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-01-04 19:12:43 -05:00
Rosen Penev
13810e0980 liburcu: Don't build under ARC, not even InstallDev
This should finally get rid of buildbot failures.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-03 18:54:26 -08:00
Andy Walsh
6620f6cc72 rpcsvc-proto: set as buildonly
* set package buildonly

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-01-03 20:03:33 +01:00
Andy Walsh
a558b20944 glib2: fix mips16 build, add size reducing static link, fpic CFLAGS
* allows building as mips16 (fixes broken mips16/32 mixed static linking)
* add some static link related flags to reduce target binary size

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-31 18:40:21 +01:00
tripolar
7fb36fb8d0 Merge pull request #10441 from neheb/glib
glib2: Disable Werror
2019-12-31 14:17:01 +01:00
Rosen Penev
ae23ebdd28 Merge pull request #10652 from gladiac1337/pcre2-jit-co
pcre2: Update to v10.34 & add JIT-support for select architectures
2019-12-30 21:51:14 -08:00
Sebastian Kemper
03124bf4b4 apr-util: allow iconv-stub use
Allow iconv-stub use when NLS support is disabled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-30 19:06:36 +01:00
Sebastian Kemper
27c4723936 apr-util: clean up the package
- removes extra flags '$(FPIC)' etc., there is no good reason for them
  being used
- stops removing aclocal.m4 and build/ltmain.sh (reason of removal of
  these files is not apparent anymore)
- adds PKG_BUILD_PARALLEL:=1

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-30 19:02:19 +01:00
Sebastian Kemper
40a29bf055 apr: clean up the package
- removes '$(FPIC)' and '--without-pic', there is no good reason for
  them being used (also @minfrin mentioned memory footprint implications
  when '--without-pic' is used)
- stops removing aclocal.m4 and build/ltmain.sh (reason of removal of
  these files is not apparent anymore)
- adds PKG_BUILD_PARALLEL:=1

Resolves #10884

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-30 18:52:56 +01:00
Andy Walsh
f2631db1a5 libtirpc: update to 1.2.5
* update to 1.2.5
* remove upstream merged patches

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-30 17:31:57 +01:00
Leonid Esman
c5c4f5f54b ipfs-http-client: initial commit
IPFS C++ HTTP API client library allows C++ applications to communicate with an IPFS node.
It implements IPFS API bindings for C++. Not all methods are implemented.
https://github.com/vasild/cpp-ipfs-http-client

Signed-off-by: Leonid Esman <leonid.esman@gmail.com>
2019-12-26 12:54:18 +03:00
Rosen Penev
8b771491c9 Merge pull request #10872 from neheb/rp
rpcsvc-proto: Fix compilation with uClibc-ng
2019-12-25 10:28:21 -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
Rosen Penev
39d8acb42f rpcsvc-proto: Fix compilation with uClibc-ng
Also fixed compilation with full iconv.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-24 18:03:35 -08:00
Rosen Penev
05e3b1a943 Merge pull request #10849 from neheb/nss
nss: Fix compilation with uClibc-ng
2019-12-23 15:42:05 -08:00
Nicholas Smith
8ac36e0755 libmbim: bump libmbim to 1.20.4
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-12-23 08:34:35 +10:00
Rosen Penev
ac100e45f7 boost: Fix embarassing ARC typo
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-21 17:39:19 -08:00
Rosen Penev
1858cb5ff5 Merge pull request #10843 from ClaymorePT/boost_1.72.0
boost: Package Version Update (1.72.0)
2019-12-21 15:42:22 -08:00
Carlos Miguel Ferreira
c8907926cc boost: Package Version Update (1.72.0)
This commit updates Boost to version 1.72.0
    There are no new libraries in this release.

    Note:
    - This commit also adds a post-release patch to fix an issue
    with Boost.Coroutine

    More info about Boost 1.72.0 can be found at the usual place [1].

    [1]: https://www.boost.org/users/history/version_1_72_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2019-12-21 22:19:56 +00:00
Rosen Penev
7940093fd0 nss: Fix compilation with uClibc-ng
_GNU_SOURCE is needed for fdopen, sigaction, and probably more.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-20 13:14:20 -08:00
Rosen Penev
2adb93a7ba Merge pull request #10842 from neheb/icu
icu: Backport C++11 math patch
2019-12-19 16:25:03 -08:00
James Taylor
b7cb0f6700 h2o: backport backtrace detection
backport patch for backtrace detection in h2o.

This patch solves the issue of uclibc pretending to be glibc

Signed-off-by: James Taylor <james@jtaylor.id.au>
2019-12-20 11:06:30 +11:00
Rosen Penev
93d049951d icu: Backport C++11 math patch
Fixes compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-19 16:03:32 -08:00
Rosen Penev
5117ed17f4 Merge pull request #10061 from ynezz/upstream/service-status-fix
treewide: fix service status
2019-12-18 16:18:45 -08:00
Rosen Penev
e9a3a4c354 Merge pull request #10781 from Andy2244/samba-4.11-python3-new
samba4: update to 4.11.4 (python3 version), add rpcsvc-proto, add libasn1 host build
2019-12-18 16:10:33 -08:00
Rosen Penev
e6e3de1d0f Merge pull request #10785 from neheb/apple
[WIP]Add idevicerestore
2019-12-18 15:59:27 -08:00
Rosen Penev
c996e6b470 Merge pull request #10819 from ja-pa/lmdb-fix-ar
lmdb: use toolchain AR for compilation
2019-12-18 07:12:35 -08:00
Jan Pavlinec
7c82793719 lmdb: use toolchain AR for compilation
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-12-18 11:58:34 +01:00
Sebastian Kemper
0c381f7c7a libzip: fix musl-fts failure
musl doesn't support fts. But with the extra package musl-fts installed,
libzip picks up the fts header and fails at the linking stage:

zipcmp.c:(.text.startup+0x130): undefined reference to `fts_open'
/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: zipcmp.c:(.text.startup+0x172): undefined reference to `fts_read'

So with musl-fts we need to link in libfts. To address that this commits
patches the cmake setup to check if fts is available in libc itself or
in any external libfts.

So when musl-fts is installed on the system the setup will be the
following:

musl: use libfts
uclibc: use fts from libc
glibc: like uclibc

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-16 23:33:32 +01:00
Rosen Penev
130b770a8b libplist: Several fixes
Add myself as maintainer.

Add PKG_CPE_ID.

Switch to submenu for easier readability.

Change libplist-utils name to the utility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-16 12:54:06 -08:00
Rosen Penev
09799e54c6 libusbmuxd: Several fixes
Add myself as maintainer.

Add PKG_CPE_ID.

Add submenu for easier readability.

Install extra tool.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-16 12:53:31 -08:00
Rosen Penev
0b51b4c469 libirecovery: Add package
Needed for idevicerestore

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-16 12:21:20 -08:00
Rosen Penev
517005ca51 libimobiledevice: Update to latest master
Added patch to fix Wformat warning.

Fixed license information.

Removed outdated iconv dependency

Placed in a submenu for readability.

Added myself as maintainer.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-16 12:21:07 -08:00
Rosen Penev
ce89774942 Merge pull request #10793 from micmac1/dnsdist-no-bomb
dnsdist: fix various build failures
2019-12-15 21:37:46 -08:00
Rosen Penev
31fb078125 Merge pull request #10794 from mhei/add-libconfig
libzip: add package
2019-12-15 21:02:22 -08:00
Alexander Couzens
662e83c97b libmicrohttpd: update to version 0.9.69
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2019-12-15 20:47:01 +01:00
Michael Heimpold
a4a98d5efe libzip: add package
This introduces libzip which is e.g. a dependency for upcoming upgrade
of PHP to version 7.4.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-15 13:35:21 +01:00
Sebastian Kemper
6c4336eb19 tinycdb: install shared lib and pic archive
dnsdist picks up cdb.h but can't link in the static archive.

/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcdb.a(cdb_init.o): relocation R_MIPS_26 against `fstat' can not be used when making a shared object; recompile with -fPIC

This commit extends the tinycdb Makefile to build and install as well
the shared library as well as the pic archive. dnsdist will then pick
the shared library.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:44:08 +01:00
Sebastian Kemper
a99af740ea tinycdb: use OpenWrt flags
Currently tinycdb doesn't use {C,CPP,LD}FLAGS. This commit adds
MAKE_FLAGS to address this.

Before:

make[3]: Entering directory '/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/tinycdb-0.78'
ccache_cc -O -D_FILE_OFFSET_BITS=64 -c cdb_init.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O -D_FILE_OFFSET_BITS=64 -c cdb_find.c
...

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:39:02 +01:00
Rosen Penev
cfd690ca17 Merge pull request #10791 from micmac1/protobuf-host-libs
protobuf: fix libdir handling for host build
2019-12-14 13:33:00 -08:00
Leonid Esman
b891d6ad78 nlohmannjson: initial commit
JSON for Modern C++ library.
Design goals: intuitive syntax, trivial integration, serious testing.
https://nlohmann.github.io/json/
IPFS C++ HTTP API client library depends on this library.

Signed-off-by: Leonid Esman <leonid.esman@gmail.com>
2019-12-14 23:40:37 +03:00
Sebastian Kemper
956b2706f2 protobuf: fix libdir handling for host build
On some host machines (example: Gentoo amd64 no-multilib) by default
cmake will install libraries to lib64. But in OpenWrt the correct libdir
is lib (for instance the RPATH is set to lib). So you may end up with
libraries in lib64 while RPATH points to lib:

sk@darth ~/tmp/openwrt $ ldd staging_dir/hostpkg/bin/protoc
	linux-vdso.so.1 (0x00007ffc741ea000)
	libprotoc.so.3.8.0.0 => not found
	libprotobuf.so.3.8.0.0 => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0a8f7ea000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6 (0x00007f0a8f572000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f0a8f427000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1 (0x00007f0a8f40d000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f0a8f23c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0a8f827000)
sk@darth ~/tmp/openwrt $

Fix this by specifying the libdir during host builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-14 12:26:08 +01:00