Commit Graph

145 Commits

Author SHA1 Message Date
Jeffery To 55674b73d7
packr: New package
From the README:

Packr is a simple solution for bundling static assets inside of Go
binaries. Most importantly it does it in a way that is friendly to
developers while they are developing.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-08 03:37:18 +08:00
Rosen Penev 70ef0d2452
meson: update to 0.55.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-20 15:52:57 -07:00
Rosen Penev 52569b80fa ninja: fix typo
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-09 00:48:37 -07:00
Rosen Penev 54449e9c66
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>
2020-09-08 21:52:31 -07:00
Rosen Penev 9ab77d7da0
lttng-tools: update to 2.12.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-31 00:29:38 -07:00
Rosen Penev 0f317d6536
ninja: update to 1.10.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-27 17:32:27 -07:00
Rosen Penev 856c954998
Merge pull request #13154 from neheb/meson551
meson: update to 0.55.1
2020-08-18 00:42:48 -07:00
Rosen Penev 9e1e4fc680
meson: update to 0.55.1
Remove upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-18 00:17:49 -07:00
Rosen Penev 8d927653d7
lpc2list: remove deprecated functions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-14 13:49:36 -07:00
Rosen Penev 572e34843a
scons: update to 4.0.1
Cleaned up Makefile to standards.

Replaced HIDDEN with BUILDONLY. It's more descriptive.

Added PKG_HOST_ONLY. This is a host only package.

Added HOST_BUILD_PARALLEL.

Added URL for uscan.

Added patch to fix library searching.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 00:53:13 -07:00
Rosen Penev b01076ccd8
meson: backport upstream rpath fix
-Wl,rpath= does not work with clang, yet -Wl,rpath, does not work with
meson. Backport upstream patch fixing this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-01 09:34:17 -07:00
Rosen Penev 6b65b20664
meson: backport no setuptools patch
It seems this was cut after the release. Fixes CircleCI compilation.

Remove distutils patch. It looks like it does nothing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-25 00:25:55 -07:00
Rosen Penev c7057755cd
meson: update to 0.55.0
Remove upstreamed patch and add distutils one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 18:55:13 -07:00
Rosen Penev 737f1f46ce
meson: fix arch mapping
meson uses a different architecture mapping than CONFIG_ARCH does.

Fix the problematic ones and fall back to CONFIG_ARCH.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-18 15:31:37 -07:00
Rosen Penev 0710282a6b
meson: update to 0.54.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-29 15:19:17 -07:00
Rosen Penev ab913c6565
automake: update to 1.16.2
Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-06 21:08:33 -07:00
Rosen Penev c3127bdc86
pkgconf: update to 0.7.3
Switched to building with meson. Faster.

Add missing InstallDev section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-02 13:32:14 -07:00
Rosen Penev 6ce19ac7c2
make: update to 4.3
Switch to gz tarball. bz2 one went away.

Add PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-28 12:41:32 -07:00
Rosen Penev b385702309
meson: update to 0.54.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-20 12:29:37 -07:00
Rosen Penev 67c6bb1937
meson: update to 0.54.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-01 12:56:22 -07:00
Rosen Penev d88e1ae4dd
meson: fix rpath handling
This was uncovered with glib2 where the host builds were linking to the
actual host instead of the generated libraries.

Patch taken from buildroot.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-22 18:37:33 -07:00
Rosen Penev 48ef84ccef
Merge pull request #11874 from neheb/meson
meson: allow compilation in a subdirectory
2020-04-21 21:46:08 -07:00
Jeffery To 1bc2f4f3c6 treewide: Remove Python variants for non-Python packages
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.

This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Rosen Penev e74498c97a
meson: allow compilation in a subdirectory
Small tweak to get it to build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-18 00:22:12 -07:00
Josef Schlehofer 5f19c28578 meson: update to version 0.54.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-06 21:46:27 -10:00
Rosen Penev ef3b3f61c2
Merge pull request #11518 from neheb/mes
meson: update to 0.53.2
2020-03-13 21:17:57 -07:00
David Bauer 5091c82333 lttng: replace SUBDIRS with M in package recipe
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-03-11 00:47:14 +01:00
Rosen Penev ccb70a3407
meson: update to 0.53.2
Switched to PyPI.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-06 16:26:31 -08:00
Rosen Penev 66bf801f3a meson: update to 0.53.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-05 02:31:05 -08:00
Rosen Penev 1c4e99cc4e
ninja: updated to 1.10.0
Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-04 19:55:18 -08:00
Jeffery To 644a16f962 scons: Switch to standalone version, update to 3.1.2
* Install the standalone (scons-local) version

  Advantages:
  - The regular version of SCons requires distutils during installation;
    the standalone version does not have this requirement

  Disadvantages:
  - The scons-local package is not available from the Fossies mirror
  - The patch will need to be manually updated with each version update

* Install files to $(STAGING_DIR_HOSTPKG) instead of $(STAGING_DIR_HOST)

* Write the correct shebang into scripts instead of using the wrapper

* Update to 3.1.2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-16 20:25:48 +08:00
Rosen Penev 56e090ffff
Merge pull request #10976 from jefferyto/asu-python3
asu: Change Python 2 dependencies to Python 3
2020-01-12 14:46:29 -08:00
Andre Heider f5c8565d1b 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>
2020-01-11 18:49:17 +01:00
Jeffery To 8bd4b03ef3 asu: Change Python 2 dependencies to Python 3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-01-10 20:58:23 +08:00
Josef Schlehofer ce027362c4
meson: Update to version 0.52.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-16 16:40:34 +01:00
W. Michael Petullo 722ec42b43 gcc: fix build with 8.3.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-11-09 02:01:53 -05:00
Rosen Penev 243a1a1324 pkg-config: Add CONFLICTS for pkgconf
Fixed license information.

Added PKG_BUILD_PARALLEL for faster compilation.

Remove PKG_ASLR_PIE. It seems it's going through a rework.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-02 11:14:50 -07:00
Rosen Penev a1a2544bde pkgconf: Add package
pkgconf is a lighterweight alternative to pkg-config that does not require
glib2.

It also seems to be improved in several key areas. See the feature
comparison: http://pkgconf.org/features.html

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-02 11:14:50 -07:00
Andre Heider d83cba79c1 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>
2019-11-01 08:14:25 +01:00
Andre Heider 5ead78be5a 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>
2019-11-01 08:14:25 +01:00
Jeffery To 635cb1309c treewide: Use pypi.mk for Python packages
This updates all Python packages that download their source from PyPi to
use pypi.mk.

This will allow future improvements/changes to pypi.mk to affect all
relevant packages.

This also makes it easier for future Python packages to start using
pypi.mk, when it's clear how it is used in existing packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-30 23:16:18 +08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Petr Štetiar 7087efd72a scons: move host build tool to a proper place
This patch aims to move scons host build tool into packages feeds, where
this tools belongs. There are currently no packages in the master tree
which would need scons, yet scons is build always as part of host tools,
just in order to satisfy host build dependency of few packages in the
packages feeeds.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-13 07:09:28 +02:00
Sven Eckelmann bbb1ea7345 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>
2019-09-10 07:45:15 +02:00
Russell Senior 604102a865 patch: rename CVE-2019-13638 patch to mollify uscan
Signed-off-by: Russell Senior <russell@personaltelco.net>
2019-09-01 15:56:23 -07:00
Russell Senior b82198ff47 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>
2019-08-11 13:01:04 -07:00
Noble Pepper 31977ae6f3
gcc: fix build on x86 targets
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
(cherry-picked from 32203bec9)
2019-08-04 14:51:54 -07:00
Russell Senior c8142f1ac1 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>
2019-07-29 13:14:58 -07:00
Noble Pepper 5caa181b17
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-19 22:14:11 -07:00
Yousong Zhou b02e4eafd1 diffutils: provide diff, cmp as alternatives
Resolves openwrt/packages#6361

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-15 13:28:43 +08:00