Using the tarball allows getting rid of autoreconf and speeding up the build.
Also easier to bump the package.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Taken from Fedora. Reordered them so as to apply properly.
Added a CPE ID.
Added parallel build for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to regular tarballs. Makes updating easier and avoids having to
autoreconf. Simplifies Makefile slightly.
Updated project URL. Some Makefile reorganization was done for consistency
with other packages.
Added parallel build for faster building.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This update includes fixes for the following CVEs:
- CVE-2018-1115
- CVE-2018-10925
- CVE-2018-10915
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
CMake 3.0.12 uses SWIG_DIR to set SWIG_LIB, used as the library
install location, which defaults to
$(STAGING_HOSTPKG)/share/sig/(SWIGVERSION). If it is set, then the
original installed swig library directory is ignored, and compilation
fails:
[ 0%] Swig source
Error: Unable to find 'swig.swg'
:3: Error: Unable to find 'python.swg'
Instead of setting it manually, let the default be used, which works
well.
Also, cmake picks up python3, while package wants 2.7, so we add
-DPython_ADDITIONAL_VERSIONS=2.7 to force use of 2.7, not 3.x.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
CMake 3.0.12 uses SWIG_DIR to set SWIG_LIB, is used as the library
install location, which defaults to
$(STAGING_HOSTPKG)/share/sig/(SWIGVERSION). If it is set, then the
installed swig library directory is ignored, and compilation fails:
[ 32%] Swig source
Error: Unable to find 'swig.swg'
:3: Error: Unable to find 'python.swg'
Instead of setting it manually, let the default be used, which works
well.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
There seems to be no proper location for this, nor an up to date fork.
Arch uses this link so switch to that.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Applied a patch submitted upstream that fixes a compilation error with
cmake >= 3.12 Error: Unable to find 'swig.swg' [...] 'python.swg'
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Package versions newer than 2.11 require meson/ninja which OpenWrt does not
support in its build environment. These files provide the minimum autotool
configuration necessary to build later versions.
Signed-off-by: Ted Hess <thess@kitschensync.net>
The eventlog package is no longer required by syslog-ng, and it conflicts
with the files installed by syslog-ng. No other package requires eventlog,
the external eventlog library project has not been updated in a long time,
and syslog-ng is no longer compatible with the external eventlog library.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Switched to tarball. Should be faster.
Codeload is used as the regular tarball is on the rtorrent github page
with rtorrent's versioning.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to codeload instead of git for downloads. Should be faster and more reliable.
Re-organized the Makefile slightly
Signed-off-by: Rosen Penev <rosenp@gmail.com>
mariadb was sorted out by including nls.mk. Include it also in libzdb
and get rid of the previously introduced hack.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
They are missed out from the FIXUP check probably because of a flaw in
the fixup-makefile.pl script
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Error of the following kind can happen when parallel build with goals "all" and
"install" both specified on the command line. Seems like make can parallelly
build for both targets causing race conditions
make[3]: Entering directory `/tmp/tmp.HIR3tEIqBb/build_dir/target-mips_24kc_musl/libsoc-2016-12-22-5b788d4d'
Making all in lib
Making install in lib
make[4]: Entering directory `/tmp/tmp.HIR3tEIqBb/build_dir/target-mips_24kc_musl/libsoc-2016-12-22-5b788d4d/lib'
CC libsoc_la-gpio.lo
make[4]: Entering directory `/tmp/tmp.HIR3tEIqBb/build_dir/target-mips_24kc_musl/libsoc-2016-12-22-5b788d4d/lib'
CC libsoc_la-spi.lo
CC libsoc_la-gpio.lo
CC libsoc_la-file.lo
CC libsoc_la-i2c.lo
CC libsoc_la-spi.lo
CC libsoc_la-pwm.lo
CC libsoc_la-board.lo
CC libsoc_la-file.lo
CC libsoc_la-conffile.lo
CC libsoc_la-debug.lo
CC libsoc_la-pwm.lo
CC libsoc_la-conffile.lo
CCLD libsoc.la
OpenWrt-libtool: link: `libsoc_la-pwm.lo' is not a valid libtool object
make[4]: *** [libsoc.la] Error 1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>