In SConstruct the set of executables in the devenv variable should be adjusted to use the cross compile toolchain (as opposed to host's executables).
Achieved by setting target option to the toolchain prefix which corrects compilation on macOS.
Note, TARGET_CROSS has to have the hyphen stripped as SConstruct uses the target variable with an implied hyphen (env['target'] + '-' + toolname)
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
This commit adds a patch to remove a superfluous include.
Removing this include prevents the following error (detected by LEDE
project's buildbot while compiling for mips64 architecture):
(Note: directory names shorted for better readability)
In file included from mmc.h:20:0,
from mmc_cmds.c:37:
/srv/.../include/asm-generic/int-ll64.h:29:44: error: conflicting types for '__s64'
__extension__ typedef __signed__ long long __s64;
^
In file included from /srv/.../include/asm/types.h:22:0,
from /srv/.../include/linux/types.h:4,
from /srv/.../include/linux/fs.h:11,
from mmc_cmds.c:35:
/srv/.../include/asm-generic/int-l64.h:28:25: note: previous declaration of '__s64' was here
typedef __signed__ long __s64;
^
In file included from mmc.h:20:0,
from mmc_cmds.c:37:
/srv/.../include/asm-generic/int-ll64.h:30:42: error: conflicting types for '__u64'
__extension__ typedef unsigned long long __u64;
^
In file included from /srv/.../include/asm/types.h:22:0,
from /srv/.../include/linux/types.h:4,
from /srv/.../include/linux/fs.h:11,
from mmc_cmds.c:35:
/srv/.../include/asm-generic/int-l64.h:29:23: note: previous declaration of '__u64' was here
typedef unsigned long __u64;
^
Makefile:36: recipe for target 'mmc_cmds.o' failed
The patch was already sent upstream, no response yet.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* Add description to both Makefile and init script that
mentions the default of /dev/urandom as the entropy source.
* Remove the deprecated interval parameter from init script.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This package installs a couple of helper programs for the Flent testing
tool. These are useful when running tests and gathering remote data from
an OpenWrt/LEDE router.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
---
config.c: In function 'strndup':
config.c:87:10: error: nonnull argument 's' compared to NULL [-Werror=nonnull-compare]
if(!s)
^
cc1: all warnings being treated as errors
---
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
slide-switch translates slide switch position changes into normal button
presses and releases for OpenWrt / LEDE devices.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Maintainer: @nwf
Compile tested: LEDE HEAD ar71xx
Run tested: LEDE HEAD on ar71xx, basic functionality testing
Description: A minimal kermit file transfer program
Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
This patch fixes the watchcat init script in case of mode 'always'.
This mode just needs the config parameters: mode, period and forcedelay.
But a wrong check against the variable pingperiod, needed in the mode 'ping'
prevented mode 'always' to work properly.
Signed-off-by: Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
Enable tail_csv plugin that "follows" (tails) and parses CSV files.
Compile-tested with ar71xx.
This closes#3083
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This has two effects
- Saves time and computing resources. Non-relevant tools like
qemu-img, qemu-io will not be built
- Fixes packaging failure on octeon target caused by failure of
building internal pixman library
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Only mention busybox applets for the meta package and do not imply that
applets are enabled for any possible coreutils program.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
database
Signed-off-by: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
bandwidthd-php is a set of PHP files that allows to graph bandwidthd
data stored in a postgresql database. This bandwidthd data can be
generated using bandwidthd-pgsql in OpenWRT or LEDE or with
bandwidthd on different OS (Windows, Linux for example).
Addition of a config file and an init file.
Modification of the Makefile to take in account the changes above
Signed-off-by: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
Since 3048ebedec added a autoreconfig fixup to
procps-ng, the build fails on certain systems with errors like
configure.ac:72: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
or
configure:14998: error: possibly undefined macro: AM_ICONV_LINKFLAGS_BODY
Fix the issue by adding build time dependencies on the `gettext` and `libiconv`
stub libraries to ensure that `gettext.m4` and `iconv.m4` are installed into
the staging directory before `procps-ng` is getting reconfigured.
Fixes https://github.com/openwrt/packages/issues/2890#issuecomment-231115844
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
The license BSD-3-Clause.
Indicate license file.
Use @SF for PKG_SOURCE_URL instead of sourceforge.net URL.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
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>
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses without any quotation marks and long git hashes
Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
Fix missing `PKG_SOURCE` variable leading to a
`Download/default is missing the FILE field` error in the buildroot.
Also remove now uneeded variable as the default one matches the git clone
structure. Finally use the common variable assignment style for
`PKG_SOURCE_PROTO` and `PKG_SOURCE_VERSION`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
While normally busybox version of findutils is enough, sometimes you want the full deal.
Here it is.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Package relayctl provides a command-line tool to control
SainSmart USB relay boards based on FTDI chips using bitbang
mode.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
- Use a temporary file path within the package build directory to avoid
cluttering the host systems `/tmp` directory.
- Switch to a gzipped, snapshotted copy of the `oui.txt` file since the
upstream IEEE server is extremely slow, also fetching an unversioned HTTP
resource during compilation breaks reproducable builds.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
[rework to use standard download facility]
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
The klish is a framework for implementing a CISCO-like CLI on a UNIX
systems. It is configurable by XML files. The KLISH stands for Kommand
Line Interface Shell.
klish is an active fork of the clish program created by Graeme
McKerrell.
Makefile from https://dev.openwrt.org/browser/packages/utils/klish/Makefile?rev=31310
add SOB.
add Maintainer.
change URL http://libcode.org/projects/klish/files
update to 2.1.1 (newest version).
merge klish and konf package.
[squash commits]
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
The current procps-ng Makefile calls the shipped autogen.sh script which
introduces incorrect implicit dependencies on host utilities, leading to
the following error observed on a minimal build system:
(cd .../procps-ng-3.3.11; echo "3.3.11" > ".../procps-ng-3.3.11/.tarball-version"; ./autogen.sh );
You must have autopoint installed to generate procps-ng build system.
The autopoint command is part of the GNU gettext package.
Makefile:96: recipe for target '.../procps-ng-3.3.11/.configured_yynyyyyy' failed
make[3]: *** [.../procps-ng-3.3.11/.configured_yynyyyyy] Error 1
Apply the following changes in order to fix compilation:
- Apply the generic autoreconf fixup to generate configure and Makefiles
- Use Build/Prepare to populate .tarball-version and revert Build/Configure
to its default implementation
- Disable to build of docs and tests as those require additional utilities
not guaranteed to be present
Fixes#2890.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
If we've enable POSIX ACL's and XATTR support as the default, then
make tar build with such support by default as well.
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
There was harcoded list of available images. Instead of it, LuCI LXC app will
now try to download list of available container images.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
As containers are basically virtual machines, it should not depend on the
build target but on the real hardware architecture. For example there is plenty
of ARM families (mvebu, sunxi, ...) but all armv7l arms should be able to run
armv7l containers.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
I makes quite some sense to provide user the choice between various versions of
the distribution to install into LXC.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
This contains format string fixes among others. procps-ng was not properly
displaying cpu usage in top and ps.
Signed-off-by: Rob Mosher nyt-lede@countercultured.net
Otherwise it will pull all compression libraries to install
(on newly configured targets) when maybe 1 or 2 are needed.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Adjusting LuCI app for LXC to try to read path to your LXC containers from
configuration file and if not succeeding falling back to /srv/lxc to match
previous commit.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
Due to KConfig misbehavior the tar config options where getting
enabled even when tar was not enabled. We fix this by enclosing
the options in an if PACKAGE_tar ; endif block.
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
Normally LXC uses /var/lib, but due to hack OpenWRT employs this is not an
option. But instead of introducing new top-level directory, FSH compatible /srv
can be used.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
Apply the version fixup in order to solve the following build error on systems
not using exactly gettext version 0.18:
make[6]: Entering directory '.../build_dir/target-mips_34kc_musl-1.1.14/mc-4.8.17/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.19
The fixup will ensure that embedded macro versions are replaced with the
version of the staged gettext executable in ./staging_dir/host/bin
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This patch make building tar with POSIX ACL and XATTR
support configuration options. It also makes building
seamless (e.g. -z -J -j) compression support a configuration
option for each compression program available in OpenWrt.
It also makes POSIX ACL support disabled by default
(by default OpenWrt doesn't build POSIX ACL support
into the kernel, never mind allowing to mount with it
enabled). Also XATTR support is disabled by
default as this seems to be the standard default for packages
in OpenWrt.
Finally Bzip2, Gzip, and XZ seamless support are made
available by default and appropriate dependencies
are added based on the configuration choice.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
At least when building with OpenWrt SDK, if libudev is present
(even if not actually used by the system), then at least the
disk plugin attempts to link against udev, which results in
packages failure due to lack of dependencies, and it's not
desirable to add a dependency on udev just because udev
was built for the SDK, so we disable libudev support
explicity.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Conflicts:
utils/collectd/Makefile
Note that this implies an API change (allways -> always).
The wrong spelling "allways" is still accepted for backward compatibility.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Because this selects ttyUSB0 (bad choice) by default, turn off enabling gps
by default until the user set's the tty manually and will stop gpsd from
stomping on another device's tty.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>