This commit fixes an existent regression in boost 1.63 [1].
The regression appears when libc is used for the toolchain.
[1] - https://svn.boost.org/trac/boost/ticket/11756
Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
nDPI is an open source LGPLv3 library for deep-packet inspection. Based
on OpenDPI it includes ntop extensions. It had been tried to push the
source code into the OpenDPI source tree but nobody answered emails
so the ntop team had decided to create their own source tree.
github site: https://github.com/ntop/nDPI
official site: http://www.ntop.org/
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Need PCRE2 library for the fish shell. Took existing pcre makefile
as a base to build pcre2, supporting 8, 16, and 32 bit characters with
different install targets for each.
Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
Maintainer: me
Compile tested: brcm2708
aarch64_cortex-a53+neon-vfpv4_musl
LEDE head r3426-4c09f99
Run tested: NONE
Description: buildbots fail on link ARM object.
error: xxxxxx.o uses VFP register arguments,
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
libidn.pc file was missing in package staging area causing build
failures for other packages expecting to find libidn package config
files.
refreshed patches to clear existing patch fuzz
take over maintainership
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
While fixing up some incorrect STAGING_DIR_HOSTPKG uses I introduced, I
noticed that the LIBPNG12_CONFIG variable is not used by libgd anymore (it
is called LIBPNG_CONFIG now).
As the build runs fine without setting LIBPNG_CONFIG, let's just remove the
unused line.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Do not override configure recipe and do not invoke upstream autogen.sh.
The shipped autogen.sh attempts to call "gtkdocize" which is no guaranteed
build prereq of LEDE or OpenWrt.
Also add a patch to disable the processing of documentation, tests and
examples as these resources rely on gtk-doc infrastructure which is not
available within LEDE or OpenWrt.
Example error for the bad autogen.sh invocation:
( cd .../loudmouth-1.5.3; ./autogen.sh )
./autogen.sh: 33: ./autogen.sh: gtkdocize: not found
Makefile:73: recipe for target '.../.configured_yynyyyyn' failed
Example error for the lacking gtk-doc automake infrastructure:
automake: error: cannot open < gtk-doc.make: No such file or directory
autoreconf: .../host/bin/automake failed with exit status: 1
[...]
config.status: error: cannot find input file: `docs/reference/Makefile.in'
Makefile:72: recipe for target '.../.configured_yynyn' failed
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Update libcap to upstream release 2.25
Since the libattr thing was dropped upstream in [1] it is also removed here.
Then, to overcome an issue in cross-compiling [2], set the Make parameter
according to [3].
Take maintainership of this package.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
[1]:
http://git.kernel.org/cgit/linux/kernel/git/morgan/libcap.git/commit/?id=85f38a573fc47472ab792e813b6f6b6f0b1df112
[2]:
libcap: progs/Makefile:30 executes the cross-compiled binary on the host
[3]:
libcap: Make.Rules: comment from lines 74-81
v1.6.1:
- Faster VP9 encoding and decoding
- Bug Fixes
Now the ABI_VERSION is derived from PKG_VERSION
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Host files installed in Build/InstallDev are target-specific and will stay
in $(STAGING_DIR)/host after the STAGING_DIR_HOSTPKG unification.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Host files installed in Build/InstallDev are target-specific and will stay
in $(STAGING_DIR)/host after the STAGING_DIR_HOSTPKG unification.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Maintainer: @nxhack
Compile tested: ar71xx mips_24kc_musl-1.1.15 LEDE r2610-324bdf3
Run tested: NONE
Description:
icu: Bumped to v58.2
for emoji handling
previous PR #2817
add patches/001-disable-strtod_l.patch
missing xlocale.h in case of using musl.
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Use bz2 instead of gz tarball, saves about 900kbyte in size
Do minor adjustments to download URL
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.
STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.
Also fixes a typo in the dbus Makefile ("STAGIND_DIR").
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Fixes build error:
```
x86_64-openwrt-linux-musl-gcc -L/home/sandu/work/lede/staging_dir/target-x86_64_musl-1.1.15/usr/lib -L/home/sandu/work/lede/staging_dir/target-x86_64_musl-1.1.15/lib -L/home/sandu/work/lede/staging_dir/toolchain-x86_64_gcc-5.4.0_musl-1.1.15/usr/lib -L/home/sandu/work/lede/staging_dir/toolchain-x86_64_gcc-5.4.0_musl-1.1.15/lib -znow -zrelro -fPIC -shared -Wl,--version-script=libfdt/version.lds -Wl,-soname,libfdt.so.1 -o libfdt/libfdt-1.4.2.so libfdt/fdt.o libfdt/fdt_ro.o libfdt/fdt_wip.o libfdt/fdt_sw.o libfdt/fdt_rw.o libfdt/fdt_strerror.o libfdt/fdt_empty_tree.o libfdt/fdt_addresses.o
/home/sandu/work/lede/staging_dir/toolchain-x86_64_gcc-5.4.0_musl-1.1.15/lib64/gcc/x86_64-openwrt-linux-musl/5.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: libfdt/fdt.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
libfdt/fdt.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:283: recipe for target 'libfdt/libfdt-1.4.2.so' failed
make[4]: *** [libfdt/libfdt-1.4.2.so] Error 1
```
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Update to 3.16.0
Add following optimizations:
HAVE_ISNAN
HAVE_MALLOC_USABLE_SIZE
Link: https://www.sqlite.org/compile.html
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Maintainer: @ClaymorePT
Compile tested: Broadcom BCM2708
Run tested: None
Description:
This package update contains no new libraries.
Information about the 1.63.0 release (updated libraries, bug fixes, etc), can be found here [1].
[1]: http://www.boost.org/users/history/version_1_63_0.html
Signed-off-by: Carlos Ferreira <carlosmf.pt@gmail.com>
This should fix the build on LEDE buildbots which bail out with:
-snip-
...
! -d ./src/ ] || cp -fpR ./src/* /data/bowl-builder/arm_arm926ej-s/build/ (wrapped)
sdk/build_dir/target-arm_arm926ej-s_musl-1.1.15_eabi/libcanfestival-8bfe0ac0
Applying ./patches/001-sigval-ref-fix.patch using plaintext:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/drivers/timers_unix/timers_unix.c
|+++ b/drivers/timers_unix/timers_unix.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch failed! Please fix ./patches/001-sigval-ref-fix.patch!
...
-snap-
Reason is, that the tar ball created by hg checkout does not contain the
version string appended to the root source directory as expected by
default PKG_BUILD_DIR, so this patch adjusts the expected directory name.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
libcoap is not building in LEDE any more because it is extracted to
/libcoap/ and the package makefiles try to access it at
/libcoap-2da31de732c0e51a9bc9e1d4aea21e25da89cf87/.
This patch defines a PKG_BUILD_DIR variable to make it use /libcoap/
without the hash.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Some parts of boost need at least C++11, activate -std=gnu++14
when possible and otherwise use -std=gnu++11 instated of using the
default which is -std=gnu++98.
This fixes the build for me when I build everything expect
boost-coroutine2 with gcc 5.4.0 on LEDE.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Integrate support for RX/TX Java serial communications library.
Includes patch to include support for ttyACM* devices.
Signed-off-by: Dana H. Myers k6jq@comcast.net
This patch prepares for another future package (ecdsautils),
which builds multiple binaries all linked to libuecc.
The changes are a direct copy of [1]. The original commit
message was:
> commit cb2ecbfdf0c478568a28aacb99d30fd6ee5c0dd1
> From: Matthias Schiffer <mschiffer@universe-factory.net>
> Date: Tue, 3 May 2016 21:33:34 +0200
> Subject: libuecc: use shared instead of static library
>
> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
[1]: cb2ecbfdf0/patches/packages/openwrt/0007-libuecc-use-shared-instead-of-static-library.patch
Signed-off-by: Dominik Menke <dom@digineo.de>
Update liboping/oping/noping to upstream release 1.9.0
Also introduce new location of downloads and correct
the licence to LGPL-2.1+ (as seen in liboping's README)
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
At the moment, LEDE buildbots are complaining with:
-snip-
...
libcanfestival/examples/TestMasterSlave/TestMasterSlave.c:50: undefined reference to `MasterMap1'
TestMasterSlave.o: In function `InitNodes':
...
-snap-
Since we are only interessted in the library itself, skip compilation
of the example code. This should both fix the build and speedup it
a little bit.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
quasselc is a library providing an API to access a Quassel core
in pure C. Quassel is a distributed IRC client where the core
can run independently of the interface(s). This library provides
a C API for programs that wish to implement the Quassel protocol.
Signed-off-by: Ben Rosser <rosser.bjr@gmail.com>
This release improves upon the VP9 encoder and speeds up the encoding
and decoding processes.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
At least one LEDE buildbot is missing tools to create man pages, thus the build
sometimes (depends on which buildbot is used) fails with [1]:
-snip-
make[7]: Entering directory '/mnt/build-dir/lede/armeb_xscale/build/sdk/build_dir/target-armeb_xscale_musl-1.1.15/openldap-2.4.44/doc/man/man1'
PAGES=`cd .; echo *.1`; \
for page in $PAGES; do \
sed -e "s%LDVERSION%2.4.44%" \
-e 's%ETCDIR%/etc/openldap%g' \
-e 's%LOCALSTATEDIR%/var%' \
-e 's%SYSCONFDIR%/etc/openldap%' \
-e 's%DATADIR%/usr/share/openldap%' \
-e 's%SBINDIR%/usr/sbin%' \
-e 's%BINDIR%/usr/bin%' \
-e 's%LIBDIR%/usr/lib%' \
-e 's%LIBEXECDIR%/usr/lib%' \
-e 's%MODULEDIR%/usr/lib/openldap%' \
-e 's%RELEASEDATE%2016/02/05%' \
./$page \
| (cd .; soelim -) > $page.tmp; \
done
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
Makefile:292: recipe for target 'all-common' failed
make[7]: *** [all-common] Error 127
-snap-
For OpenWrt/LEDE, there is no reason to build the tests and/or man pages,
so let's patch it away. And since other packages need openldap as
build dependency (e.g. php) this automatically fixes the build of these
depended packages.
[1] https://downloads.lede-project.org/snapshots/faillogs/armeb_xscale/packages/openldap/compile.txt
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
When libattr is selected, libtalloc links to this shared library and
the build fails with:
"Package libtalloc is missing dependencies for the following libraries:
libattr.so.1"
This commit adds libattr dependency, so that libtalloc systematically
links to this library.
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
[Lucile: replace attr with libattr, edit commit message]
Signed-off-by: Lucile Quirion <lucile.quirion@savoirfairelinux.com>
before it was in Utilities, subcategory Sound.
Part of a wider housekeeping effort on the packages repository.
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Maintainer: @ClaymorePT
Compile tested: Broadcom BCM2708
Run tested: None
Description:
This package version update brings two new libraries:
Fiber [1] (Currently Broken)
Framework for userland-threads/fibers, from Oliver Kowalke.
QVM [2]
Boost QVM is a generic library for working with quaternions, vectors
and matrices of static size with the emphasis on 2, 3 and 4-dimensional
operations needed in graphics, video games and simulation applications,
from Emil Dotchevski.
More information about the 1.62.0 release (bug fixes, etc), can be found here [3].
[1]: http://www.boost.org/doc/libs/1_62_0/libs/fiber/
[2]: http://www.boost.org/doc/libs/1_62_0/libs/qvm/
[3]: http://www.boost.org/users/history/version_1_62_0.html
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
Introduce blacklist for CPU_TYPEs without ASM support in libx264
Add libpthread dependency required on non-musl builds
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
You can now specify in '/etc/config/network'
config interface 'eth1_autoip'
option ifname 'eth1'
option proto 'autoip'
And netifd would handle the rest of the logic/setup.
Signed-off-by: Claudiu Brasovean <cbrasho@gmail.com>
Signed-off-by: Ted Hess <thess@kitschensync.net>
Both postgresql-server and postgresql-cli install /usr/bin/psql which
thus creates a conflict when installing both packages.
Fix this by removing duplicate and useless binaries from the
postgresql-server package.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* convert package build to use host-build for ecpg, pg_config and zic
* introduce /lib/functions/postgresql.sh to be used by packages
requiring a postgres database to exist as well as postgres' init
* no longer require shadow-su, patch pg_ctl to setuid() ifself instead
* auto-create database directory if there is enough free space
* auto-create databases configured in UCI
* remove some dead uci config options
* grab maintainership
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add option that allows you to explicitly disable use of the tpm
otherwise if a tss stack such as trousers is found by gnutls build
system then it will use it which will cause a build failure when
PKCS11 support is not enabled.
Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
The previous attempt to fix the build error was not successfull
and introduced needlessly a new patch. However, the configure
already provide the required functionality, use it instead.
This should now really solve the build.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* Move curlget plugin to its own package with proper dependencies
* Fix abuse of 'foreach' in the Makefile which masked the above issue
Signed-off-by: Harald Geyer <harald@ccbib.org>
Upstream resolved security and stability problems.
While at, also install the libidn.so symlink which was
not covered by previous pattern.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
minor cleanup of CFLAGS, remove COPTS warnings
yasm needs to be added to x86 toolchain
(LEDE updated: c08651226f)
Signed-off-by: Daniel Golle daniel@makrotopia.org
Signed-off-by: Ted Hess <thess@kitschensync.net>
sqlite3 can now use editline or readline,
most package use readline, and we were using it,
so continue using readline and disable editline
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
libtalloc is a memory allocator used in Samba4 and freeradius-server
version 3.0.x and higher.
Signed-off-by: Lucile Quirion <lucile.quirion@savoirfairelinux.com>
OpenWRT/LEDE only understands the PKG_MD5SUM variable, and detects if the
hash is e.g. SHA256 by looking at the length of the hash.
This affects libs/libmicrohttpd, mail/ssmtp and utils/mc.
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
PF_PACKET support is not enabled by setting ac_libnet_have_pf_packet but by setting libnet_cv_have_packet_socket
in the Makefile
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
When openldap-server is built within an environment where ICU has been
previously built, the package will pick up this unintended dependency and
fail with the following error:
Package openldap-server is missing dependencies for the following libraries:
libicudata.so.55
libicuuc.so.55
Makefile:148: recipe for target '.../openldap-server_2.4.43-2_mips_34kc.ipk' failed
Since the ICU libraries are extremely big (~12MB) we cannot simply depend on
them so add the necessary autoconfig cache variable to let the ICU presence
test fail in order to inhibit linking against those libraries.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
When building libsoup within the SDK, the following usually nonfatal warning
is causing the build to fail:
make[6]: Entering directory '.../build_dir/target-arm_xscale_musl-1.1.14_eabi/libsoup-2.53.2/libsoup'
CC libsoup_2_4_la-soup-address.lo
cc1: error: .../staging_dir/target-arm_xscale_musl-1.1.14_eabi/include: No such file or directory [-Werror=missing-include-dirs]
cc1: some warnings being treated as errors
Makefile:962: recipe for target 'libsoup_2_4_la-soup-address.lo' failed
Use the upstream `--disable-more-warnings` configure switch to disable this
class of `-Werror` flags.
Also drop the shipped copy of `intltool.m4` to force using the system wide one
which does not require the `XML::Parser` module to be installed (see #2771).
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Patch `configure` and the shipped `intltool.m4` macro file to make a missing
XML::Parser perl module nonfatal.
All utilities provided by intltool are programmed to fail gracefully at run
time if the module cannot be loaded and those utilities commonly used during
the build do not require it at all.
Also drop the the build-prereq on XML::Parser now that it is optional.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
When libftdi1 is detecting the presence of the Boost unit testing framework,
it will conditionally enable the build of libftdi1 test binaries which fail to
link on some targets with the following error:
CMakeFiles/test_libftdi1.dir/basic.cpp.o: In function `main':
basic.cpp:(.text.startup+0xc): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
collect2: error: ld returned 1 exit status
test/CMakeFiles/test_libftdi1.dir/build.make:123: recipe for target 'test/test_libftdi1' failed
make[6]: *** [test/test_libftdi1] Error 1
Since we do not care about test cases and since we want to avoid unpredictable
conditional compilation simply disable the testcases entirely.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Correct spelling in a patch back to the faulty original,
as the patch wes broken by #2594
This commit fixes#2719
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
The libtiff library declares an `ftell()` compat macro redirecting calls
to `ftello()` if such an implementation exists. The compat macro however
is declared with a wrong number of arguments, leading to the following
error on our buildbots:
In file included from .../usr/include/uClibc++/iostream:29:0,
from tif_stream.cxx:31:
.../usr/include/uClibc++/fstream:422:22: error: macro "ftell" requires 3 arguments, but only 1 given
retval = ftell(fp);
Add a patch to fix the macro definition in order to fix compilation of
the tiff package.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Notable changes:
Add -DCMAKE_CXX_FLAGS="-DELEKTRA_SHARED" to work around an upstream
bug (already fixed) in the Makefile.
Signed-off-by: Harald Geyer <harald@ccbib.org>