Commit Graph

118 Commits

Author SHA1 Message Date
Rosen Penev a6a27c904a ninja: update to 1.10.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit f25f29c740)
2021-03-04 23:49:55 -08:00
Rosen Penev b4adde5872 ninja: fix typo
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 52569b80fa)
2021-03-04 23:49:55 -08:00
Rosen Penev 7fd6802244 ninja: use for CMake
CMake supports Ninja for faster compilation and less bugginess when it
comes to parallel compilation. That is, some CMake packages currently
have PKG_BUILD_PARALLEL set where it is not needed with ninja.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 54449e9c66)
2021-03-04 23:49:54 -08:00
Rosen Penev 1299b07ee8 ninja: update to 1.10.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0f317d6536)
2021-03-04 23:49:54 -08:00
Rosen Penev b40a139fbc
meson: allow compilation in a subdirectory
Small tweak to get it to build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit e74498c97a)
2020-07-21 14:36:11 -07:00
Rosen Penev 125f6ff9ec meson: use python3
meson supports python 3.5.3 and up only.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-14 03:44:34 -07:00
Josef Schlehofer 67be4858ca meson: update to version 0.54.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 5f19c28578)
2020-04-12 19:47:16 -07:00
Rosen Penev 7a2b9425da ninja: updated to 1.10.0
Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1c4e99cc4e)
2020-04-12 19:46:41 -07:00
Rosen Penev fa572d1358
meson: update to 0.53.2
Switched to PyPI.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ccb70a3407)
2020-04-06 22:03:06 +02:00
Rosen Penev 75c1baa9fd
meson: update to 0.53.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 66bf801f3a)
2020-04-06 22:03:01 +02:00
Andre Heider c7e1a34531
meson: fix building host binaries with ccache
With CONFIG_CCACHE, $HOSTCC is 'ccache gcc' while $TARGET_CC points to a
single wrapper script. Compiling target binaries with ccache works, but
doesn't for host binaries, because we need to supply an argv array for
argc > 1 in the meson cross file.

Always pass an array for the c and c++ compiler, and while at it, do it
for the target as well - just to be on the safe side if that ever
changes.

Fixes #10982.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit f5c8565d1b)
2020-04-06 22:02:48 +02:00
Josef Schlehofer 20d3d99a50
meson: Update to version 0.52.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ce027362c4)
2019-12-21 21:53:29 +01:00
Andre Heider c61579b564
meson: add new package
This adds a host as well as a target package.

meson.mk is provided to build packages using meson.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit d83cba79c1)
2019-12-10 12:02:56 +01:00
Andre Heider fd5ef39e83
ninja: add new package
This adds a host as well as a target package.

ninja.mk is provided to execute ninja.

The two patches have been taken from upstream to fix compile issues.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 5ead78be5a)
2019-12-10 12:02:50 +01:00
Jan Pavlinec 937b19ebb7
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from bf2f1a0263)
2019-09-26 19:36:27 -07:00
Sven Eckelmann 1142f52078
treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry-picked from bbb1ea7345)
2019-09-26 19:36:25 -07:00
Russell Senior 4e2e2ed8f8
patch: rename CVE-2019-13638 patch to mollify uscan
Signed-off-by: Russell Senior <russell@personaltelco.net>
(cherry-picked from 604102a865)
2019-09-26 19:36:21 -07:00
Russell Senior 89b362e22b
patch: apply upstream patch for CVE-2019-13638
GNU patch through 2.7.6 is vulnerable to OS shell command injection that
can be exploited by opening a crafted patch file that contains an ed style
diff payload with shell metacharacters. The ed editor does not need to be
present on the vulnerable system. This is different from CVE-2018-1000156.

https://nvd.nist.gov/vuln/detail/CVE-2019-13638

Signed-off-by: Russell Senior <russell@personaltelco.net>
(cherry-picked from b82198ff47)
2019-09-26 19:36:21 -07:00
Russell Senior d91bbb1971
tools/patch: apply upstream patch for CVE-2019-13636
In GNU patch through 2.7.6, the following of symlinks is mishandled in
certain cases other than input files. This affects inp.c and util.c.

https://nvd.nist.gov/vuln/detail/CVE-2019-13636

Signed-off-by: Russell Senior <russell@personaltelco.net>
(cherry-picked from c8142f1ac1)
2019-09-26 19:36:21 -07:00
Rosen Penev 30ef3a22b1
Merge pull request #9642 from noblepepper/gcc-7.4.0
gcc: fix build on x86 targets
2019-08-04 08:46:28 -07:00
Noble Pepper 32203bec95 gcc: fix build on x86 targets
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
2019-08-04 09:51:44 -05:00
Yousong Zhou d7796a36d9 diffutils: provide diff, cmp as alternatives
Resolves openwrt/packages#6361

Resolves openwrt/packages#9524 by backporting from master b02e4eafd

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-07-20 07:34:03 +00:00
Noble Pepper 368bde61ab gcc: update to version 7.4.0, Add config options
for coping libc.a, libpthread.a and libstdc++ to target.
Add config option to eliminate need for -lstdc++ and -lgcc_pic
switches when linking statically

Signed-off-by: Noble Pepper <noblepepper@gmail.com>
2019-07-08 06:13:48 -05:00
Rosen Penev 91c97efbf4 make: Do not use libelf
libelf is used under Solaris for nlist. This is not needed in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-02 14:06:24 -07:00
Rosen Penev 9777877718
lttng-tools: Update to 2.10.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-07 17:13:33 -07:00
Daniel Golle c13ae5ba28 asu: improve packaging
* use gunicorn instead of Flask for main server threads
 * generate and deploy random database password
 * provide distribution files

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-08 04:26:31 +01:00
Daniel Golle 31950ff200 asu: add attended sysupgrade server package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-08 03:36:25 +01:00
Rosen Penev b2de31d22a
diffutils: Update to 3.7
Some Makefile consistency updates.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-16 21:39:47 -08:00
Rosen Penev bba50f547f lttng-modules: Update to 2.10.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-08 19:54:48 -08:00
Michael Heimpold d7fefd2963 automake: update to 1.15.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-11-07 23:59:42 +01:00
Rosen Penev 394ff73e53 patch: Add missing CVE-2018-6951 patch
The last commit added PKG_CPE_ID and now uscan detects a CVE that I missed

Reordered patches by date

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[tweaked commit message]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-10-18 08:41:32 +01:00
Rosen Penev 6f0ff25503 patch: Fix CVE-2018-6952 and CVE-2018-1000156
Patches taken from official git repository.

Added PKG_CPE_ID for proper CVE tracking.

Added PKG_BUILD_PARALLEL for faster compilation.

Also adjusted Makefile to be more similar to other projects.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-12 14:27:25 -07:00
Hannu Nyman 0198114039
Merge pull request #6256 from neheb/patch-17
pkg-config: Update to 0.29.2
2018-07-10 22:58:21 +03:00
Sébastien Delafond 698821001f diffutils: fix 'compilation error on x86_64
Here was the first error I got:

  xstrtol-error.c:84:26: error: invalid use of undefined type 'struct
  rpl_option'

More information on this error here:
  https://www.mail-archive.com/clfs-support@lists.clfs.org/msg00297.html

I'm not sure if this is an issue in my build environment, but I believe
this is the proper fix because gzip and zile use the same option:

  ./utils/gzip/Makefile:	gl_cv_func_getopt_gnu=yes \
  ./utils/zile/Makefile:	gl_cv_func_getopt_gnu=yes \

This commit is mostly a reformat/sign-off of previous work by Dirk
Morris <dmorris@untangle.com>

Signed-off-by: Sébastien Delafond <sdelafond@gmail.com>
2018-06-13 18:15:26 +02:00
Rosen Penev 84856c27f1 pkg-config: Update to 0.29.2
Also switch to HTTPS URLs.

Add PIE support to fix Travis.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-10 17:36:32 -07:00
Eneas U de Queiroz 054d5273cb gcc: enable compilation with gcc 7.x
Defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS instructs gcc 7.x libstdc++ to
include the system's stdlib.h and math.h, and not their own.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 14:21:20 -03:00
Russell Senior 47351ade2f patch: update to version 2.7.6
Signed-off-by: Russell Senior <russell@personaltelco.net>
2018-02-13 02:29:27 -08:00
Hannu Nyman f37c3df222 diffutils: update to 3.6
Update GNU diffutils to 3.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-05 22:50:28 +02:00
Alexander Couzens a7289e54f8 lpc21isp: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-03 06:21:45 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Hannu Nyman d077d5b5a7 Merge pull request #3768 from xypron/m4
devel/m4: upgrade to release 1.4.18
2017-04-23 10:10:55 +03:00
Heinrich Schuchardt ae782d26b1 devel/m4: upgrade to release 1.4.18
NEWS has these comments:

Noteworthy changes in release 1.4.18 (2016-12-31) [stable]
* Diagnose --word-regexp as unsupported if it was not configured.
* Preliminary support for OS/2.
* A number of portability improvements inherited from gnulib.

SHA256SUM is used as package checksum

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2017-04-22 23:21:22 +02:00
Noble Pepper 4224c4ccf4 gcc:Add support for Arm with FPU
also removes erroneous --with-local-prefix=/usr configure option
Signed-off-by: Noble Pepper <gitmail@noblepepper.com>

compile tested:
mips Vocore2
mvebu  WRT1200AC (Caiman)

run tested:
mips Vocore2
mvebu  WRT1200AC (Caiman)
2017-01-26 04:09:05 -06:00
Hannu Nyman 7e2e9d5c89 Merge pull request #3280 from diizzyy/patch-15
make switch to bz2 tarball
2016-11-29 20:20:44 +02:00
Michael Heimpold 93ed17cded autoconf: prevent emacs detection and usage during compile
The LEDE buildbots currently fail to build the package since there seems
to be a problem with the emacs installed on the buildbot(s) (e.g. [1]):

-snip-
Making all in emacs
make[7]: Entering directory `/opt/buildbot/slaves/lede-slave-tah/x86_64/build/sdk/build_dir/target-x86_64_musl-1.1.15/autoconf-2.69/lib/emacs'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
      set x; \
      list='autoconf-mode.el autotest-mode.el'; for p in $list; do \
        if test -f "$p"; then d=; else d="./"; fi; \
        set x "$@" "$d$p"; shift; \
      done; \
      shift; \
      EMACS="emacs" /bin/bash ../../build-aux/elisp-comp "$@" || exit 1; \
    else : ; fi
4;1H; last errno 10)
No buffers needed saving: you didn't lose any work.
mv: cannot stat '*.elc': No such file or directory
make[7]: *** [elc-stamp] Error 1
-snap-

So let's disable the emacs usage - the resulting artifacts are not
packaged at the moment at all.

[1] https://downloads.lede-project.org/snapshots/faillogs/x86_64/packages/autoconf/compile.txt

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-10-27 17:31:41 +02:00
Hannu Nyman 172c50c4b1 Merge pull request #3278 from diizzyy/patch-13
libtool-bin: switch to xz tarball
2016-10-27 09:47:28 +03:00
Matthias Schiffer 06692e3c24
automake: don't rely on STAGING_DIR_HOST
We're currently preparing a change in LEDE that will change the host
staging dirs in a way that might break the sed commands used by the
automake Makefile. Change the command in a way that doesn't depend on the
path of the staging dir.

While it would be nicer to modify the configure script to use the correct
path in the first place, this doesn't work for the perl path, as perl is
used in shebang lines and must thus be an absolute path. Some scripts are
used both during build and on the target system, so fixing up the scripts
in the install step seems like the best option.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-16 17:49:13 +02:00
Matthias Schiffer 9e170ba2c0
autoconf: don't rely on STAGING_DIR_HOST
We can just set M4 in the configure command instead of fixing up the paths
using sed afterwards. This makes the build more robust (and we're currently
preparing a change of the host staging dirs in LEDE that might break this
otherwise).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-16 17:48:15 +02:00
Matthias Schiffer bc65f629d6
libtool-bin: don't rely on STAGING_DIR_HOST
We can just set GREP and SED in the configure command instead of fixing up
the paths using sed afterwards. This makes the build more robust (and we're
currently preparing a change of the host staging dirs in LEDE that might
break this otherwise).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-16 17:44:48 +02:00
Hannu Nyman ffce02f10f Merge pull request #3277 from diizzyy/patch-12
automake: switch to xz tarball
2016-10-15 01:11:21 +03:00