Provides a way to acquire the list of installed packages without the
need to have opkg available. It is being used for the GSoC 17 project
implementing easy sysupgrade functionality.
Signed-off-by: Paul Spooren <paul@spooren.de>
Upgrade the package to R55. Patches refreshed.
Added `-DMKSHRC_PATH=\"/etc/mkshrc\"` to `CPPFLAGS` to set the default
startup file during both login and nonlogin sessions, so that there is
no need to source `/etc/mkshrc` file manually.
In addition to the package upgrade, use PKG_HASH instead of
PKG_MD5SUM.
Reviewed-by: Thorsten Glaser <tg@mirbsd.org>
Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
On ar71xx the package grow by less than 1k
150377 screen_4.6.0-1_mips_24kc.ipk
151356 screen_4.6.0-2_mips_24kc.ipk
Original commit by @nobk
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Fixes build errors/warnings:
locfile.c: In function 'locfile_init':
locfile.c:21:3: error: 'for' loop initial declarations are only allowed
in C99 mode
for (int i=0; i<length; i++) {
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Add the UNIX-based ACPI utilities. For now, only "acpidump" seems to
be useful on the target system. The others would only be of interest
on the host system, and only then if one were developing BIOS.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
It's pretty useless as udev cannot run in coexistence with procd.
It was added mostly to get packages compiled which depend on libudev,
knowing that the udev related functionality will be broken.
eudev has now been replaced by libudev-fbsd which does the job much
better and may serve as a drop-in replacement with even some working
features.
In future we may want our own libudev-procd library which can also be
a mostly-stub implementation but may query things from procd using
ubus in some situations...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The udev rule installed was ineffective as udev cannot run in
coexistence with procd. If needed, it should be reimplemented as
rule under /etc/hotplug.d/
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
cpp/examples/MinOZW/Makefile contains this rule:
LIBS = $(wildcard $(LIBDIR)/*.so $(LIBDIR)/*.dylib $(top_builddir)/*.so
$(top_builddir)/*.dylib $(top_builddir)/cpp/build/*.so
$(top_builddir)/cpp/build/*.dylib )
LIBSDIR = $(abspath $(dir $(firstword $(LIBS))))
with LIBDIR not being defined anywhere we end up picking up host
libraries.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
TARGET_CPPFLAGS were not propagated correctly leading to these kinds of
build failure:
btrfstune.c:26:23: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
^
compilation terminated.
btrfs-find-root.c:24:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
mkfs/common.c:18:23: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
Fix that by passing TARGET_CPPFLAGS via EXTRA_CFLAGS
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes build issues with external toolchains:
/home/florian/dev/toolchains/stbgcc-4.8-1.5/bin/../lib/gcc/mipsel-linux-gnu/4.8.5/../../../../mipsel-linux-gnu/bin/ld:
warning: libz.so.1, needed by
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so,
not found (try using -rpath or -rpath-link)
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so:
undefined reference to `gzopen64'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so:
undefined reference to `gzdirect'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so:
undefined reference to `gzclose'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so:
undefined reference to `gzwrite'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so:
undefined reference to `gzdopen'
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libxml2.so:
undefined reference to `gzread'
collect2: error: ld returned 1 exit status
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
The Makefile would still force the use of and linking against uClibc++
even though libstdc++ may have been chosen, which would result in the
package depending on libstdcpp ($(CXX_DEPENDS) but we would still be
missing an libuClibc++ library depdency.
Fix this by looking at CONFIG_USE_UCLIBCXX to adjust the configure
script variables.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Passing GNU_TARGET_NAME implies that we have a 4-group triplet (e.g:
arm-openwrt-unknown-linux), and this works fine with pciutils'
lib/configure operating system detection. If we have an external
toolchain (e.g: mipsel-linux-gnu), the configure script is all confused
and ends-up picking up i386-ports, which is not valid on the target
architecture.
Finally, we are not passing TARGET_CPPFLAGS as we should, so let's do
that correctly.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
We would first not be able to properly detect libxml2 because it's not
automatically found, fix that by explicitly linking against it (and zlib
a dependency). Then if we don't don't define X_OPEN_SOURCE=500, we would
run into the following build error:
clish/shell/shell_execute.c: In function 'clish_shell_exec_action':
clish/shell/shell_execute.c:309:18: error: 'sigignore' undeclared (first
use in this function)
sa.sa_handler = sigignore; /* Empty signal handler */
^
clish/shell/shell_execute.c:309:18: note: each undeclared identifier is
reported only once for each function it appears in
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments
Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
Update tmux to 2.5
Drop patch
Update homepage URL
Use toolchain functionality for configuring and compiling
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Fixes CVE-2017-6318
Patches where refreshed and the following removed:
- 020-fix_pieusb.patch: fixed upstream
- 030-musl.patch: accepted upstream
PS: there was no sane-backends 1.0.26
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Mitigate stack exhaustion when printing a very deeply nested term.
Fix heap buffer overflow in tokenadd()
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
There is a gcc related bug that causes the following issue on MIPS:
Assertion failed: jv_get_kind(a) == JV_KIND_STRING (jv.c: jvp_string_ptr: 435)
This patch will disable SRA optimizations on MIPS platform and prevent
the above issue.
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This removes unnecessary dependancy on xmlto which can be problematic on macOS build environment.
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
Changes to NTFS-3G:
Delegated processing of special reparse points to external plugins
Allowed kernel cacheing by lowntfs-3g when not using Posix ACLs
Enabled fallback to read-only mount when the volume is hibernated
Made a full check for whether an extended attribute is allowed
Moved secaudit and usermap to ntfsprogs (now ntfssecaudit and ntfsusermap)
Enabled encoding broken UTF-16 into broken UTF-8
Autoconfigured selecting <sys/sysmacros.h> vs <sys/mkdev>
Allowed using the full library API on systems without extended attributes support
Fixed DISABLE_PLUGINS as the condition for not using plugins
Corrected validation of multi sector transfer protected records
Denied creating/removing files from $Extend
Returned the size of locale encoded target as the size of symlinks
http://www.tuxera.com/community/release-history/
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Make ntfs-3g-utils into a single package due to upstream package changes.
Signed-off-by: Ted Hess <thess@kitschensync.net>
Enable collectd-mod-cpufreq also for armvirt to make it
available for ipq806x devices in LEDE buildbot snapshots.
LEDE phase2 buildbot for arm_cortex-a15_neon-vfpv4 that is
the package arch for ipq806x, uses armvirt SDK instead of
ipq806x SDK.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Longest package titles are not shown in the menuconfig,
which decreases manuconfig usability.
Shorten some of the longest titles.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
As lcd4linux is all kinds of BROKEN lately, and of unknown status.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Reviewed-by: Harald Geyer <harald@ccbib.org>
If you have a firstboot script which seeds a passwd based on
run-time information (like MAC addresses, hostname, etc) then
you need to be able to pass in a cleartext string via chpasswd.
Other applets are similarly potentially useful in other corner
cases.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Several problems were found with building against an external toolchain:
* TARGET_CPPFLAGS was missing which would prevent finding the headers
* TARGET_LDFLAGS also was not passed correctly
* when building against glibc, since we use strlcpy() we need to link
against libbsd
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
External toolchains don't automatically have STAGING_DIR in their
default search path, so make sure we pass TARGET_LDFLAGS down. Since the
unrar makefile does not allow overriding, we also need to preserve the
original LDFLAGS which include lpthread.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Instead of assigning various variables ourself, rely on the common logic
provided by "packaging framework". This brings this package in sync with
other ones which also use git repos as source, dates and commit ids as
version etc. This results also in using xz for tarballs. While at,
populate the PKG_MIRROR_HASH.
Thanks @diizzyy for suggesting these improvements.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
cryptodev log by default unecessary debug message
With some app (like aria2) the syslog get spammed with lots of this message
cryptodev: aria2c[3231] (adjust_sg_array:106): reallocating from 32 to 512 pages
With this we disable logging of debug message as they are just for info purpose and they are not error at all.
Signed-off-by: Ansuel Smith ansuelsmth@gmail.com
Update to 4.1
Remove 0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch
as it's included in upstream repo.
Refresh patch
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
For consistency, use full name instead of $(PKG_NAME) in define and eval
lines for all packages.
I've seen reviews that asked to do this before, and I am asking the same
during reviews now. To avoid this in the future, fix this treewide so
when people use existing packages as example, we will not have to
request this change anymore.
This makes all packages consistent with both LEDE and OpenWrt base
repositories.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Revert an upstream commit to enable compiling without external glib2.
Edit the 'disable UI compilation' patch to match the original
upstream commit more closely.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
The purpose of irqbalance is to distribute hardware interrupts across
processors/cores on a multiprocessor/-core system in order to increase
performance.
This initial implementation of the package uses external glib2,
which is a large dependency.
Only the cmd-line tool is compiled and installed.
Run-tested with ipq806x / R7800.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Buildbot revealed that Collectd 5.7.1 uses libcap to evaluate system
capabilities and display advice on some plugins (dns, iptables, exec,
ping, ceph, turbostat).
Disable the check in configure.ac in order to avoid a dependency
for libcap. (It is not that big, only 6 kB .ipk, but still avoid that.)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Remove the encryption functionality from the network plugin.
It is a non-core functionality and causes a need for additional
dependency on the main program when enabled in 5.7.1.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
The encrypted network feature seems to have changed between 5.5.3 and 5.7.1.
Adjust Makefile to enable compilation with that feature.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Update collectd to version 5.7.1
* replace 003-remove-werror.patch with configure option
* remove 200-fix-git-describe-error.patch that is now unnecessary
* reformat other patches due to whitespace changes
* add new plugins to the list as disabled
* correct download & homepage links
* add myself as the second maintainer
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Tree is a recursive directory listing command that produces a depth indented listing of files,
which is colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty.
Tree has been ported and reported to work under the following operating systems:
Linux, FreeBSD, OS X, Solaris, HP/UX, Cygwin, HP Nonstop and OS/2.
root@lede:/# tree -L 1
.
├── bin
├── dev
├── etc
├── lib
├── mnt
├── overlay
├── proc
├── rom
├── root
├── sbin
├── sys
├── tmp
├── usr
├── var -> /tmp
└── www
15 directories, 0 files
http://mama.indstate.edu/users/ice/tree/
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
lighttpd starts at priority 50, but promptly calls getrandom() on
initialization (li_rand_reseed() and li_rand_device_bytes() from
server_init()). If /dev/urandom (which getrandom() uses by default)
doesn't have sufficient entropy, this will block.
Since Openwrt runs the startup scripts serially, this can block
initialization indefinitely. I've seen 15-20 minutes typically.
Seeding the pool early on can quickly built sufficient entropy to
complete booting without blocking.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
The fuller package is built with --with-features=big and contains
the files that would normally live in /usr/share/vim/, including
syntax highlighting and colours. This package supports truecolor
support in terminals.
Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
-import from oldpackages
-add PKG_LICENSE, PKG_LICENSE_FILES, PKG_MAINTAINER
-add two build fix patches
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
If libcap happens to be present in the environment, coreutils will pick it up
and link some applets against it.
Since the idea of coreutils is to provide a full featured alternative to the
busybox applets, do not inhibit the optional dependency but explicitely
require libcap instead.
Fixes the following error spotted on the buildbots:
Package coreutils-dir is missing dependencies for the following libraries:
libcap.so.2
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This adds the beep utility, which allows users to control a pc speaker device.
Maintainer: me / @riptidewave93
Compile tested: x86/64, LEDE Reboot SNAPSHOT r2709-b7677f0
Run tested: x86/64, LEDE Reboot SNAPSHOT r2709-b7677f0. Verify program works.
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Bump the version of gnupg and use new PKG_HASH for
sha256sum and PKG_MD5SUM for md5sum (for backwards
compatibility).
Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
@Nico seems MIA; @hnyman asked if I'd be interested
in taking over. I'm willing so adding myself.
Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
gpgv is a stripped down gnupg useful for only verifying signatures.
Having this package can save space when all you need is signature
verification.
Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
With a LuCI app (of which I have one written) ucification makes
sense (and is in fact needed), so ucify the initscripts.
Also, rather than making selection of things to include an image
a matter of selecting compile-time config options, make optional
things into seperate packages that are built in default builds,
and leave selection of what to include or not up to the user
(e.g. using ImageBuilder, or adding packages via opkg).
Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
This fixes an alignment issue on some platforms, which renders
some tools, e.g. plcID, unusable.
While at, switch to xz compression for the tarball, drop an already
mainlined patch and remove a meanswhile absolete compiler switch.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.
STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.
Also fixes a typo in the dbus Makefile ("STAGIND_DIR").
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Add Sourceforge as primary download site and main site as secondary.
Drop fedoraproject.org repo
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Addition of sqlite storage
Tracking of SMTP traffic instead of P2P traffic
Based on NethServer bandwidthd implementation
Signed-off-by: Jean-Michel lacroix <lacroix@lepine-lacroix.info>
Should be PKG_BUILD_DEPENDS not BUILD_DEPENDS
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
At the moment, only build these softmmu emulators for x86_64 and sunxi
target. The decision was made for the following reasons
- It seems that interests of virtualization with qemu are mostly from
x86, and ARM recently.
- x86, sunxi boards/boxes capable of running qemu with accel=kvm are more
widely available
- Not all host, target combinations of qemu works, or even compiles
- Extra maintenance work and server resources
Test results are as the following
- Nested vmx works: lede-qemu-x86_64-kvm on lede-qemu-x86_64-kvm
- KVM on Cubieboard2 works
- tcg with malta works: lede-qemu-malta-tcg on lede-qemu-malta-tcg.
But it's too slow to be useful thus not included in this version
- mips64 host does not compile
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Package zip is currently broken with a runtime error.
When zip is run, it immediately exits with
"zip warning : Not supported (uzoff_t not same size as zoff_t)"
The issue boils down to the package's configure script which tries to
determine LARGE_FILE_SUPPORT on *host* side. The conftest.c is
compiled and ran on the building host to see whether LFS is given or not.
This will fail when cross-compiling. The patch here is created by Romain Naour,
taken from http://lists.busybox.net/pipermail/buildroot/2015-January/117909.html
Reworked and tested by me. Now LFS is detected and the built binaries work
on the target.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Enable cpufreq plugin also for ipq806x,
as IPQ8065 supports CPU frequency scaling.
Run-tested with Netgear R7800.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
- typo in path of uci-defaults scripts
- fix init script when there is no rngd config
- convert init script to procd
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
Enabling the default configuration will pipe /dev/urandom back into
/dev/random ala the current package behavior. Because this amounts to
disabling the in-kernel entropy estimation, default disabled.
While here, uci-paramaterize the high watermark.
While here, add a pre-command hook for real RNGs that need 'stty raw'
or other such hooks. (e.g. the TrueRNG devices)
As offered in github openwrt/packages#3422, take over maintainership.
See github openwrt/packages#3142.
Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
Add more dependencies needed by download template and replace all, not just
first occurence of : or _ in template name with space in webui.
Signed-off-by: Michal Hrušecký <Michal.Hrusecky@nic.cz>