Commit Graph

82 Commits

Author SHA1 Message Date
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
Hannu Nyman b58a5ce47a Merge pull request #3276 from diizzyy/patch-11
autoconf: switch to xz tarball
2016-10-15 01:10:55 +03:00
Ted Hess 5d10d10707 Merge pull request #3279 from diizzyy/patch-14
m4: switch to xz tarball
2016-10-07 17:03:31 -04:00
Noble Pepper 77a8b220fd gcc: Update to version 5.4.0, change maintainer
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
2016-10-02 04:34:31 -05:00
diizzyy 79ae5d7074 make switch to bz2 tarball
Switch to bz2 tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-01 23:23:45 +02:00
diizzyy 9f3fc6f756 m4: switch to xz tarball
Switch to xz tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-01 23:19:56 +02:00
diizzyy fa679bb173 libtool-bin: switch to xz tarball
Switch to xz tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-01 23:16:05 +02:00
diizzyy 32cd810478 automake: switch to xz tarball
Switch to xz tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-01 23:10:53 +02:00
diizzyy 5f91b00fb3 autoconf: switch to xz tarball
Switch to xz tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-01 23:07:26 +02:00
champtar 73afc9c023 Merge pull request #2722 from jow-/lttng-tools-fix
lttng-tools: musl compile fixes
2016-07-02 15:43:09 +02:00
champtar 2bdc3323fe Merge pull request #2572 from Skeen/lpc21isp
lpc21isp: Add the package
2016-07-02 11:36:16 +02:00
Heinrich Schuchardt 2c37154807 devel/make: GNU Make 4.2.1
The release contains a bunch of bug fixes.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-06-13 19:56:17 +02:00
diizzyy 6217aa43d2 gcc: Use URL alias
Remove hardcoded URL and use alias instead.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-05-24 21:09:18 +02:00
Heinrich Schuchardt 34b831ad5b devel/make: GNU Make 4.2
The release contains a bunch of bug fixes.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-05-23 07:55:03 +02:00
Jo-Philipp Wich bd949ea29f lttng-tools: musl compile fixes
Add two patches to address three distinct build problems spotted by our
build bots when compiling lttng-tools:

1) unconditional use of `__GLIBC_PREREQ`

On musl based toolchains there is no such macro defined, leading to the
following preprocessor error:

      CC       compat-epoll.lo
    In file included from compat-epoll.c:33:0:
    poll.h:76:19: error: missing binary operator before token "("
     #if __GLIBC_PREREQ(2, 9)

2) undeclared `mode_t` type

On musl based toolchains the `mode_t` type is not implicitely defined through
other includes, leading to the following compile error:

      CC       hashtable.lo
    In file included from ../../../src/common/common.h:24:0,
                     from hashtable.c:24:
    ../../../src/common/runas.h:25:46: error: unknown type name 'mode_t'
     int run_as_mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid);
                                                  ^
    ../../../src/common/runas.h:26:36: error: unknown type name 'mode_t'
     int run_as_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid);
                                        ^
    ../../../src/common/runas.h:27:46: error: unknown type name 'mode_t'
     int run_as_open(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid);
                                                  ^

3) multiple definitions

The header files declare several `const char *` pointers which are initialized
in various `*.c` files later on. Due to a missing `extern` declaration in the
header, the final linking of the executables fails with errors such as:

      CCLD     lttng
    ../../../src/common/.libs/libcommon.a(mi-lttng.o):(.data.rel.ro.local+0x0): multiple definition of `mi_lttng_element_snapshots'
    commands/enable_events.o:(.bss+0x18): first defined here
    collect2: error: ld returned 1 exit status

This commits addresses these issues with two patches, `100-musl-compat.patch`
fixes issue 1 by declaring a fallback dummy declaration of `__GLIBC_PREREQ` and
issue 2 by explicitely including `sys/stat.h` which provides `mode_t` according
to POSIX.

The second patch, `200-use-extern.patch` declares all char pointers in the
header file as `extern`, fixing the observed linker errors.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-20 14:07:28 +02:00
Emil 'Skeen' Madsen 93c32e1a88 Added the lpc21isp package.
Signed-off-by: Emil 'Skeen' Madsen <sovende@gmail.com>
2016-04-03 14:20:18 +02:00
Heinrich Schuchardt 04c0d95776 pkg-config: update to 0.29.1
The changes in 0.29.1 center on the treatment of --variable
and --define_variable.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-03-07 07:45:55 +01:00
Michael Heimpold 8223017fed automake: fix unversioned links during package build
Reported by buildbots (shortened and line-wrapped):
...
ln -sf -r .../ipkg-ramips_24kec/automake/usr/bin/automake-1.15
   .../ipkg-ramips_24kec/automake/usr/bin/automake
ln: invalid option -- 'r'

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-01-26 21:48:58 +01:00
Heinrich Schuchardt e207730a64 devel/libtool-bin: new package
GNU libtool is used to ease the usage of shared libraries in Makefiles.

The new package libtool-bin contains the script libtoolize which is used
to prepare a package to use libtool.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-01-23 22:48:37 +01:00
Heinrich Schuchardt 686606eaae devel/automake: add automake-$(PKG_VERSION)
To make automake work correctly it is necessary to have files
* automake
* aclocal
* automake-$(PKG_VERSION)
* aclocal-$(PKG_VERSION)

The files without version number can be supplied as symbolic
links.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-01-09 19:39:13 +01:00
Michael Heimpold 40d611c673 devel/pkg-config: fix build when CONFIG_BUILD_NLS is set
Buildbots reported build failures when full NLS is enabled:

http://buildbot.openwrt.org:8010/broken_packages/ar71xx/pkg-config/compile.txt

So add NLS awareness and the conditional dependency.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-01-08 22:59:06 +01:00
Heinrich Schuchardt d44c1a9bcf devel/pkg-config: new package (closes #2206)
pkg-config is a helper tool used when compiling applications and libraries.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

[Fixed trailing whitespace in package description.]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-01-02 00:02:04 +01:00
Heinrich Schuchardt c6ac1e3f76 devel/automake: add new package (closes #2192)
Automake is a tool for automatically generating Makefile.in files compliant
with the GNU Coding Standards.

A new package automake is provided.

version 2:
	do not reference staging directory in distributed files
	copy only one version of automake
	resolve whitespace issues

CC: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2015-12-29 12:48:15 +01:00
Heinrich Schuchardt 0f1abd63f8 devel/autoconf: add new package (closes #2190)
This patch provides package autoconf.

Autoconf is required to generated the configure script of autotools
projects.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

[Fixed commit summary (first line of commit message)]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-12-27 12:24:33 +01:00
Heinrich Schuchardt 89d35c260e devel/m4: add new package (closes #2189)
GNU M4 is a prerequisite to run autoconf and automake.

This patch packages the macro processor.

This is a prerequisite for packaging autoconf and automake.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

[Fixed commit summary according to our best-practise]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-12-27 12:23:11 +01:00
Heinrich Schuchardt 53c7868491 GNU Make
OpenWRT provides gcc but lacks make. So building foreign software is
difficult.

This patch provides GNU Make 4.1.

Built on Debian Jessie amd64.
Tested on TP-Link MR3020 (ar71xx/generic).

version 4:
	remove gnumake.h from the package
	We could package it in a separate make-dev package if really needed.

version 3:
	use Build/InstallDev to provide build time dependency

version 2:
	superfluous lines removed as suggested by Yousong Zhou

CC: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2015-12-26 21:13:58 +01:00
Christian Beier 82e56d1bf8 gcc: fix build with musl.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
2015-07-21 16:01:59 +02:00
Jo-Philipp Wich d80ab67b13 diffutils: fix fortify source compat
Compile with `-std=gnu99` instead of `-std=c99` to avoid redefining
`__attribute__` in `src/system.h`.

Fixes the following error spotted by the buildbot:

    In file included from ../lib/stdio.h:43:0,
                     from cmp.c:22:
    .../staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_musl-1.1.10_eabi/include/fortify/stdio.h: In function 'snprintf':
    .../staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_musl-1.1.10_eabi/include/fortify/stdio.h:99:2: error: invalid use of '__builtin_va_arg_pack ()'
      return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack());
      ^

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-29 11:39:57 +02:00
Nicolas Thill c1923c34cf lttng-modules: fix dependency on kernel tracing
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-05-13 01:20:19 +02:00
Nicolas Thill c7dbdcef17 lttng-modules: update to 2.6.1
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-05-13 01:20:19 +02:00
Nicolas Thill b06712cdec lttng-modules: fix build on recent kernels
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-04-02 17:02:11 +02:00
Hannu Nyman 3b6fd83312 patch: bump version to 2.7.5
Bump GNU patch from 2.7.4 to 2.7.5.

Changelog: http://git.savannah.gnu.org/cgit/patch.git/tree/NEWS
Changes in version 2.7.5:

* There are users which expect patch to follow symbolic links in the working
   directory, so patch now again follows symbolic links as long as they do not
   leave the working directory.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-03-14 12:09:34 +02:00
John Crispin 98be2ca3e0 global: change all instances of USE_EGLIBC to USE_GLIBC
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-12 20:52:37 +01:00
Nicolas Thill 2224d60af4 lttng-tools: fix build failure with libkmod (closes: #1004)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-03-08 17:40:48 +01:00
Nicolas Thill 041fbeecad lttng-modules: add dependency on kernel tracing
Fixes: #888

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-11 11:52:01 +01:00
Nicolas Thill dd313555f3 lttng-modules: add new package
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-08 20:55:48 +01:00
Nicolas Thill 0796ff4e36 lttng-tools: import from old packages feed
- update to latest version (v2.6.0)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-08 20:55:48 +01:00