Commit Graph
100 Commits
Author SHA1 Message Date
Jo-Philipp WichandHannu Nyman b7c7074a4b boost: fix raw kconfig syntax
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

cherry picked from commit af4cacd108
to correct the errors related to kernel config parsing.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-09-04 23:10:52 +03:00
Jo-Philipp WichandGitHub d9f29124b7 Merge pull request #9064 from cotequeiroz/lm-sensors-noperl
lm-sensors: add conditionals to perl dependencies
2019-06-06 11:20:47 +02:00
Jo-Philipp WichandGitHub edf10aaa61 Merge pull request #9167 from jow-/master
nlbwmon: update to latest Git HEAD
2019-06-06 09:29:28 +02:00
Jo-Philipp Wich c528e01f4c nlbwmon: update to latest Git HEAD
4574e6e nfnetlink: prevent tight retry loops
163a211 client: fix commit error information
21290db nlbwmon: merge existing data
abe701d database: do not overwrite unexpectedly preexisting databases
ef3fa58 socket: handle EAGAIN on send()

Ref: https://github.com/jow-/nlbwmon/issues/23
Ref: https://github.com/jow-/nlbwmon/issues/26
Ref: https://github.com/jow-/nlbwmon/issues/30
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-06 08:58:34 +02:00
Jo-Philipp WichandGitHub f6e4628076 Merge pull request #8874 from jefferyto/libjpeg-pkg-config
libjpeg: Install pkg-config metadata file in Build/InstallDev
2019-05-02 10:56:20 +02:00
Jo-Philipp WichandGitHub 82ef2ea8cc Merge pull request #8341 from neheb/patch-6
libp11: Fix dependency breakage
2019-03-06 16:54:49 +01:00
Jo-Philipp WichandGitHub 02d4981d3a Merge pull request #8011 from neheb/ar
aria2: Fix the faulty patch again
2019-01-25 11:27:16 +01:00
Jo-Philipp Wich 2fcb74aaba at: change libelf1 dependency to libelf
The libelf1 source package has been renamed to libelf in OpenWrt base,
adjust the dependency in "at" accordingly.

There are no functional changes and no changes in the resulting binary.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-24 13:15:38 +01:00
Jo-Philipp Wich 24061255cd avrdude: change libelf1 dependency to libelf
The libelf1 source package has been renamed to libelf in OpenWrt base,
adjust the dependency in avrdude accordingly.

There are no functional changes and no changes in the resulting binary.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-24 13:13:15 +01:00
Jo-Philipp Wich eaf6411452 conntrack-tools: add missing patch
Add a forgotten patch which was part of the original PR to switch ct tools
to libtirpc.

Fixes: ecebe0ed1 ("conntrack-tools: update to 1.4.5 and link against libtirpc")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-24 13:09:23 +01:00
Jo-Philipp Wich cd9354e548 conntrack-tools: import from OpenWrt base
In order to allow for the switch from librpc to libtirpc, we need to
relocate the conntrack-tools package here.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-22 08:13:24 +01:00
Jo-Philipp WichandGitHub d0d4494ec5 Merge pull request #7178 from neheb/setser
setserial: Don't build docs to remove nroff dependency
2018-10-12 07:03:02 +02:00
Jo-Philipp WichandToke Høiland-Jørgensen 08cda777e0 sqm-scripts: select luci-base instead of depending on it
Currently luci-app-sqm provided by sqm-scripts depends on luci-base instead
of selecting it, this leads to an indirect circular dependency in kconfig:

    tmp/.config-package.in:34646:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:34646:	symbol PACKAGE_iptables is selected by PACKAGE_sqm-scripts
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:961:	symbol PACKAGE_sqm-scripts is selected by PACKAGE_luci-app-sqm
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:22421:	symbol PACKAGE_luci-app-sqm depends on PACKAGE_luci-base
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:21387:	symbol PACKAGE_luci-base is selected by PACKAGE_luci-lib-iptparser
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:22899:	symbol PACKAGE_luci-lib-iptparser is selected by PACKAGE_luci-app-splash
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:22402:	symbol PACKAGE_luci-app-splash is selected by PACKAGE_luci-mod-freifunk-community
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:21552:	symbol PACKAGE_luci-mod-freifunk-community depends on PACKAGE_iptables

Solve the issue by turning the dependencies into selecting ones which also
matches the behaviour of other LuCI applications.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10 14:31:34 +02:00
Jo-Philipp WichandGitHub d344c56f9e Merge pull request #6981 from neheb/png
libpng: Update to l.6.35
2018-09-19 07:39:13 +02:00
Jo-Philipp WichandGitHub e3edf8fd01 Merge pull request #6819 from tru7/emailrelay
emailrelay: add some runtime options
2018-08-21 15:33:19 +02:00
Jo-Philipp WichandGitHub d2014c75b7 Merge pull request #6698 from dedeckeh/pr-xtables-addons-rtsp
Pr xtables addons rtsp
2018-08-16 15:57:49 +02:00
Jo-Philipp WichandGitHub 65d9b3f92b Merge pull request #6562 from KarlVogel/host_sanitize
ddns-scripts: sanitize host charset and shell escape characters
2018-08-16 15:44:28 +02:00
Jo-Philipp WichandNuno Goncalves eded6ed7cf usbip: remove nonshared flag (#6681)
Since https://git.openwrt.org/d0e0b7049f88774e67c3d5ad6b573f7070e5f900,
OpenWrt SDKs ship the appropriate sources for building usbip userspace
packages, so special nonshared handling is not required anymore.

Sucessfully tested by compiling usbip utilities for various architectures
using self built SDKs after applying the change linked above.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-05 10:49:33 +02:00
Jo-Philipp WichandGitHub d0bac09ae5 Merge pull request #6531 from jow-/privoxy-fix-uci-parsing
privoxy: fix uci configuration parsing after upstream OpenWrt changes
2018-08-01 08:02:18 +02:00
Jo-Philipp WichandGitHub 591a481594 Merge pull request #5273 from brianjmurrell/add-foolsm
Add package foolsm
2018-07-30 20:57:59 +02:00
Jo-Philipp WichandGitHub 644ff72edb Merge pull request #5563 from Andy2244/samba-4.8
samba4: add package samba-4.8
2018-07-30 09:36:15 +02:00
Jo-Philipp WichandGitHub d16fa7b838 Merge pull request #6573 from EricLuehrsen/unbound_20180721
unbound: add UCI for forward stub and auth zone clauses
2018-07-30 07:01:20 +02:00
Jo-Philipp WichandGitHub 688014e89e Merge pull request #6601 from MikePetullo/eventlog
eventlog: remove package
2018-07-28 20:12:21 +02:00
Jo-Philipp WichandGitHub 74d75e4662 Merge pull request #6471 from BKPepe/master
owfs: update to the latest version (v3.2p2)
2018-07-28 19:21:51 +02:00
Jo-Philipp WichandGitHub 2d79ac1fa3 Merge pull request #6274 from TDT-AG/pr/20180611-add-bonding-proto
net/bonding: added protohandler package for netifd
2018-07-26 20:33:34 +02:00
Jo-Philipp WichandGitHub 5e7e696afb Merge pull request #6462 from korzhyk/web_home
transmission: Allow user to configure web ui home directory
2018-07-26 20:18:31 +02:00
Jo-Philipp Wich 3113d62393 privoxy: fix uci configuration parsing after upstream OpenWrt changes
OpenWrt changed the way the uci shell parsing functions deal with list
configuration items.

This change broke the generation of the privoxy runtime configuration
because no callbacks were emitted anymore.

Fix the problem by defining a list_cb() that simply calls the existing
option_cb() to deal with list item values.

Ref: c9c0fc28a9 ("base-files: fix UCI config parsing and callback handling")
Ref: https://forum.lede-project.org/t/openwrt-snapshot-privoxy-error/15919
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-21 21:16:03 +02:00
Jo-Philipp WichandGitHub 58eb061f33 Merge pull request #4615 from xdarklight/vnstat-port-init-to-procd
vnstat: port init-script to procd and enable auto-respawn
2018-05-31 13:15:24 +02:00
Jo-Philipp WichandGitHub bd6fc2465c Merge pull request #5780 from jefferyto/golang
golang: new packages
2018-05-24 15:05:01 +02:00
Jo-Philipp Wich cb6e98ba44 flashrom: update to v1.0
Update to flashrom version 1.0 and cherry-pick an upstream fix for deprecated
libusb api usage.

Fixes the following error spotted by the buildbots:

    ch341a_spi.c: In function 'ch341a_spi_init':
    ch341a_spi.c:447:2: error: 'libusb_set_debug' is deprecated: [...]
      libusb_set_debug(NULL, 3); // Enable information, warning and [...]
      ^~~~~~~~~~~~~~~~
    In file included from ch341a_spi.c:25:0:
    .../libusb-1.0/libusb.h:1300:18: note: declared here
     void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                      ^~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    Makefile:1030: recipe for target 'ch341a_spi.o' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-15 07:39:20 +02:00
Jo-Philipp WichandGitHub 72d2829781 Merge pull request #6050 from ldir-EDB0/bumpminiupnpd
miniupnpd: bump to v2.1 20180508
2018-05-14 09:50:35 +02:00
Jo-Philipp WichandGitHub 20c6cec0c8 Merge pull request #6039 from vortigont/ddns-now
ddns-scripts: "now-dns.com" service fix
2018-05-14 07:40:18 +02:00
Jo-Philipp WichandGitHub ddaf94229c Merge pull request #6001 from ldir-EDB0/importminiupnpd
miniupnpd: Import release 20180422 to repo
2018-05-05 19:40:06 +02:00
Jo-Philipp WichandGitHub bcb7c9a68d Merge pull request #5999 from tohojo/master
sqm-scripts: Bump to v1.2.0
2018-05-02 18:14:11 +02:00
Jo-Philipp WichandGitHub 19ba0551a8 Merge pull request #5851 from micmac1/mariadb
mysql: switch from MySQL to Mariadb
2018-04-28 14:46:29 +02:00
Jo-Philipp WichandToke Høiland-Jørgensen a6ea246cb2 bcp38: add init script
This commit adds a simple procd init script for bcp38 with the sole purpose
to register a configuration change trigger for /etc/config/bcp38.

The change will allow for automatic firewall reloads triggered by invoking
/sbin/reload_config or through ubus config change events emitted by LuCI.

With the init script in place and started, calling

  ubus call service event '{"type":"config.change","data":{"package":"bcp38"}}'

or

  /sbin/reload_config

will issue an /etc/init.d/firewall reload if /etc/config/bcp38 has been
modified since the last reload_config call.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-19 11:02:10 +02:00
Jo-Philipp WichandGitHub f5793af4a6 Merge pull request #5812 from micmac1/mysql-fix
mysql: remove $(FPIC), fix AARCH64 builds
2018-03-24 14:00:57 +01:00
Jo-Philipp WichandGitHub e089ea548b Merge pull request #4562 from pprindeville/lm-sensors-fix-conf-file
lm-sensors: update name of configuration file
2018-02-20 17:08:54 +01:00
Jo-Philipp WichandGitHub d8aab3467b Merge pull request #5557 from pprindeville/xtables-addons-xtgeoip-dir
xtables-addons: don't forget database dir
2018-02-04 12:42:57 +01:00
Jo-Philipp WichandGitHub f2760f973f Merge pull request #5451 from jow-/ulogd-conditional-deps
ulogd: conditionalize dependencies
2018-01-20 15:19:50 +01:00
Jo-Philipp WichandGitHub b663b1f65e Merge pull request #5231 from pprindeville/lm-sensors-add-init.d
lm-sensors add init.d
2018-01-16 23:36:45 +01:00
Jo-Philipp Wich c5fe5cf886 ulogd: conditionalize dependencies
Make most dependencies depend on the selection state of the respective
plugins requiring them. This cuts down compile time considerably when
plugins like MySQL support are disabled.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-15 15:56:23 +01:00
Jo-Philipp WichandGitHub 5d0971b9cc Merge pull request #4369 from val-kulkov/libmilter-package
libmilter-sendmail: the sendmail mail filter API library
2018-01-11 02:28:04 +01:00
Jo-Philipp Wich 175cf9e985 iodine: workaround incomplete musl nameser.h header
The arpa/nameser.h header of musl libc indirectly depends on the endian.h
header but fails to explicitely include it to properly define
`__BYTE_ORDER` and `__BIG_ENDIAN` prior to declaring the DNS `HEADER`
structure.

When both the appropriate `__BYTE_ORDER` and `__BIG_ENDIAN` defines are
unset, the `#if __BYTE_ORDER == __BIG_ENDIAN` condition in `nameser.h`
evaluates to true, causing it to declare a bad (big endian) DNS packet
header structure on little endian systems.

Work around this musl bug by forcibly passing `-include endian.h` through
the `osflags` file.

An upstream fix for musl libc has been submitted with
http://www.openwall.com/lists/musl/2017/12/04/3

This should solve iodine packet corruption on little endian musl systems
reported at
http://lists.infradead.org/pipermail/lede-dev/2017-November/010085.html

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-12-12 23:41:44 +01:00
Jo-Philipp Wich 5f5d4489e5 setserial: introduce package
This packages setserial, the standard Linux program for setting serial
device attributes such as baud rate, flow control etc.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-12-12 22:05:55 +01:00
Jo-Philipp Wich 70858690c0 nlbwmon: update to current HEAD
Update to latest Git HEAD in order to solve a number of issues.

 - Improves MAC address lookup reliability
 - Properly counts DNAT-ed connections (e.g. for port forwards)
 - Fixes stack corruption when parsing netlink records
 - Fixes deletion of gzipped databases

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-12-12 22:01:56 +01:00
Jo-Philipp WichandGitHub c48f5185d3 Merge pull request #5214 from lynxis/rb_ddns_cloud
ddns-scripts: remove gzip timestamp
2017-12-08 10:47:15 +01:00
Jo-Philipp WichandGitHub 62a3ec91c9 Merge pull request #5225 from diizzyy/patch-110
libs/libpng: Update to 1.6.34
2017-12-06 12:49:45 +01:00
Jo-Philipp WichandGitHub 118dda3143 Merge pull request #5224 from diizzyy/patch-109
libs/libgd: Update to 2.2.5
2017-12-06 12:49:20 +01:00
Jo-Philipp Wich afaceadeda polipo: forcibly enable IPv6 support
Currently `polipo.h` uses the conditional
`(__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)` to decide
whether to enable IPv6 support.

This used to work for OpenWrt CC which uses uClibc disguising itself
as Glibc 2.x but it does not work with Musl libc anymore as this library
does not export any Glibc defines.

Forcibly enable IPv6 support by passing `-DHAVE_IPv6` unconditionally
through the build flags in the OpenWrt/LEDE Makefile.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-23 20:54:45 +01:00
Jo-Philipp Wich 46d0799c43 cgi-io: support SHA256 checksums for file uploads
Report SHA256 checksums in addition to the MD5 ones to make cgi-io suitable
for sysupgrade image verification.

Also allow stat(), md5sum and/or sha256sum to fail and respond with a JSON
null value instead, leaving it to the frontend to handle errors as needed.

Fixes #4790.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-13 17:16:29 +01:00
Jo-Philipp WichandGitHub 9f6eee3960 Merge pull request #4977 from sartura/dhcpcd_bump_to_6.11.5
dhcpcd: bump to 6.11.5
2017-10-20 14:58:45 +02:00
Jo-Philipp WichandGitHub 9b9ef2375d Merge pull request #4940 from diizzyy/patch-95
libs/libpng: Update to 1.6.32
2017-10-19 11:24:05 +02:00
Jo-Philipp Wich f6f750ad17 cgi-io: fix stray semicolon
Remove an improperly placed semicolon in order to solve the following
compiler error:

.../main.c:144:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (execl("/bin/busybox", "/bin/busybox", "md5sum", file, NULL));
    ^~
    .../main.c:145:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    return NULL;
    ^~~~~~
    cc1: all warnings being treated as errors

Fixes #4723.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-18 14:28:33 +02:00
Jo-Philipp WichandGitHub 12cf3d7511 Merge pull request #3751 from ianchi/node
Node: update error & fix compile error
2017-08-17 15:45:12 +02:00
Jo-Philipp WichandGitHub 90a1af9fc7 Merge pull request #4709 from kdarbyshirebryant/nlbwmontweak
nlbwmon: preserve protocols mapping across sysupgrade
2017-08-16 08:55:56 +02:00
Jo-Philipp Wich 024c3e692b nlbwmon: update to latest version
Changes since last update:

32fc092 build: remove extraneous _GNU_SOURCE defines
096aaa3 build: compile with -D_GNU_SOURCE
76487b5 transform to source-only repository

Fixes build with uClibc and eglibc toolchains.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-02 17:13:32 +02:00
Jo-Philipp WichandGitHub 60e52df628 Merge pull request #4646 from jow-/introduce-nlbwmon
nlbwmon: add package
2017-07-30 11:52:30 +02:00
Jo-Philipp Wich e32168f9b7 nlbwmon: add package
This commit introduces nlbwmon, the lightweight NetLink BandWidth Montor.

The nlbwmon daemon gathers per-host traffic statistics by querying netlink
accounting data. Due to this approach, the executable is very small and does
not rely on libpcap and CPU intensive raw sockets to monitor traffic.

Besides raw per-host traffic counters, nlbwmon also support rudimentary
traffic classification by observing IP protocols and used port numbers.

Gathered accounting data is stored into a series of database files which
are regularily committed to persistent storage.

Refresh, commit and accounting intervals are freely configurable as well
as the layer7 protocol mapping rules and observed source subnets.

This package also bundles a cli client which can be used to dump the
gathered traffic data as JSON, CSV or plaintext data. A pull request to
add a graphical LuCI frontend for nlbwmon is pending.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28 15:30:06 +02:00
Jo-Philipp WichandGitHub 4cafe3e5ae Merge pull request #4561 from wertarbyte/package_libnet
libnet-1.2.x: simplify build dep installation
2017-07-11 16:59:54 +02:00
Jo-Philipp WichandGitHub 576393b162 Merge pull request #4511 from wertarbyte/package_triggerhappy
triggerhappy: update to upstream version 0.5.0
2017-07-11 16:54:56 +02:00
Jo-Philipp WichandGitHub 2d7cab05f2 Merge pull request #4538 from commodo/python-updates
python,python3: minor build improvements
2017-07-03 15:17:46 +02:00
Jo-Philipp WichandGitHub 1f50e104f3 Merge pull request #4493 from yousong/coreutils-stdbuf
coreutils: stdbuf: fix missing libstdbuf.so
2017-06-19 07:27:37 +02:00
Jo-Philipp WichandGitHub 527753f0ce Merge pull request #4462 from ryzhovau/lcdproc_ldflags
lcdproc: respect LDFLAGS
2017-06-15 01:44:58 +02:00
Jo-Philipp WichandGitHub 1a9597382c Merge pull request #4207 from diizzyy/patch-41
net/vnstat: Update to 1.17
2017-04-04 14:47:39 +02:00
Jo-Philipp WichandGitHub 87b7be1b29 Merge pull request #4154 from br101/horst-fix
horst: Fix build for LEDE
2017-03-15 23:17:13 +01:00
Jo-Philipp WichandGitHub 335e356af4 Merge pull request #4103 from gabri94/master
openwisp-config: new package
2017-03-07 16:50:48 +01:00
Jo-Philipp Wich e751c3abbe Revert "vnstat: update to v1.16"
This reverts commit 79b6e9dc61.

Undo the recent vnstat update due to upstream bugs preventing database
restoration.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-06 11:01:45 +01:00
Jo-Philipp WichandGitHub 3849b5b6d8 Merge pull request #3850 from diizzyy/patch-24
wshaper: Retire package
2017-01-31 22:15:11 +01:00
Jo-Philipp Wich 79b6e9dc61 vnstat: update to v1.16
Updates vnStat to the latest stable version, drops obsolete patches.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 15:46:44 +01:00
Jo-Philipp WichandGitHub 1a2a65dd81 Merge pull request #3623 from p-wassi/oping_190
libs/liboping: update to 1.9.0
2017-01-20 10:11:59 +01:00
Jo-Philipp WichandKarl Palsson 8dd6ca99fc mosquitto: fix provides <=> package name conflicts
The virtual package declared by PROVIDES must not have the same name as the
variant declaring it, otherwise buildroot will fail with errors like:

    cp: '.../pkginfo/mosquitto.provides' and '.../pkginfo/mosquitto.provides' are the same file

In order to fix the above error, rename the existing "mosquitto" and
"libmosquitto" packages into "mosquitto-ssl" and "libmosquitto-ssl"
respectively.

Also substitute use of $(PKG_NAME) with literal "mosquitto" in
Package/* defines to improve readability of the Makefile.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-19 10:41:53 +00:00
Jo-Philipp Wich d548d6bf1f coreutils: add libcap dependency to selected applets
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>
2017-01-18 12:10:44 +01:00
Jo-Philipp Wich dcb2407c89 loudmouth: fix autoconf errors
Do not override configure recipe and do not invoke upstream autogen.sh.
The shipped autogen.sh attempts to call "gtkdocize" which is no guaranteed
build prereq of LEDE or OpenWrt.

Also add a patch to disable the processing of documentation, tests and
examples as these resources rely on gtk-doc infrastructure which is not
available within LEDE or OpenWrt.

Example error for the bad autogen.sh invocation:

    ( cd .../loudmouth-1.5.3; ./autogen.sh )
    ./autogen.sh: 33: ./autogen.sh: gtkdocize: not found
    Makefile:73: recipe for target '.../.configured_yynyyyyn' failed

Example error for the lacking gtk-doc automake infrastructure:

    automake: error: cannot open < gtk-doc.make: No such file or directory
    autoreconf: .../host/bin/automake failed with exit status: 1
    [...]
    config.status: error: cannot find input file: `docs/reference/Makefile.in'
    Makefile:72: recipe for target '.../.configured_yynyn' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-18 04:48:07 +01:00
Jo-Philipp Wich a642b4d371 nail: fix build against OpenSSL with disabled SSLv3
Extend the existing patch handling disabled SSLv2 to cover the SSLv3 case as
well in order to fix the following build error reported by the buildbot:

    openssl.o: In function `ssl_open':
    openssl.c:(.text+0xa1c): undefined reference to `SSLv3_client_method'
    collect2: error: ld returned 1 exit status

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-18 04:05:26 +01:00
Jo-Philipp Wich 02d3e96620 pen: update to v0.34.0
Update the pen package to upstream release v0.34.0 in order to fix the
following build error reported by the buildbot:

    ssl.o: In function `ssl_create_context':
    ssl.c:(.text+0x9c): undefined reference to `SSLv3_method'
    collect2: error: ld returned 1 exit status

Also switch from PKG_MD5SUM to PKG_HASH with SHA256 while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-18 03:55:33 +01:00
Jo-Philipp Wich 20ee2c902a perl-www-curl: fix build against curl >= 7.50
Import a proposed upstream bug fix to allow building against recent curl
versions. Fixes the following error observed by the buildbots:

    curlopt-constants.c:129:49: error: 'CURL_STRICTER' undeclared (first use in this function)
                 if (strEQ(name, "STRICTER")) return CURL_STRICTER;

Upstream bug: https://rt.cpan.org/Public/Bug/Display.html?id=117793

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-18 03:44:18 +01:00
Jo-Philipp Wich 5e0596b541 socat: work around missing stddef.h include
The buildbots fail to build socat due to the following error:

    nestlex.c:14:7: error: unknown type name 'ptrdiff_t'

It appears that certain source files do not include all required headers,
depending on the configure options passed to socat.

Work around the error by passing `-include stddef.h` via `TARGET_CFLAGS` to
forcibly inject this header file into all compilation units.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-17 21:24:12 +01:00
Jo-Philipp WichandGitHub cb1e8c2dd5 Merge pull request #3625 from p-wassi/grep_226
utils/grep: update to 2.26
2017-01-06 17:03:28 +01:00
Jo-Philipp Wich 399d0e57cd net-snmp: build against libnl-tiny
Instead of causing nondeterministing conditional compilation depending on
whether libnl-core happens to be present or not, fixup the net-snmp package
to link against libnl-tiny which is present by default on the majority of
systems.

In order to successfully build against libnl-tiny, a number of things had
to be fixed in both the upstream configure and the outer Makefile:

- Add a patch which fixes the upstream configure macros to properly handle
  cases where the cache variables for nl_connect() and netlink.h tests are
  predefined. Without this patch, all subsequent link tests in configure
  will fail, causing the build system to assume functions like opendir() or
  readdir() to be missing, leading to build failures later on due to
  conflicting redefinitions of structures and function prototypes

- In the same patch, stop probing the host systems /usr/include/libnl-3 if
  ac_cv_header_netlink_netlink_h is given. This brings the proprietary
  configure bits in line with the behaviour expected from autoconfig in a
  cross compile setting

- Explicitely request nl support by passing the --with-nl flag to configure

- Pass the required cache variables to skip the broken tests for
  nl_connect() and netlink.h

- Amend TARGET_CPPFLAGS to let net-snmp's build system discover nl-tiny's
  netlink/netlink.h and netlink/socket.h

- Enable the autoreconf fixup to regenerate the broken shipped configure
  from patched macros

- Adjust the depends to unconditionally require libnl-tiny

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-06 16:46:28 +01:00
Jo-Philipp WichandGitHub 08035876b7 Merge pull request #3745 from D-Albers/libpng
libpng: Update to version 1.2.57 fixes CVE-2016-10087
2017-01-03 20:22:17 +01:00
Jo-Philipp WichandGitHub 98e3fbff59 Merge pull request #3605 from bittorf/mysqld-allow_spaces_in_config
mysql-server: initscript: allow spaces in 'mysql-config' datadir
2016-12-20 16:20:26 +01:00
Jo-Philipp WichandGitHub c964379fc4 Merge pull request #3658 from jow-/openvswitch-kmod-compile-time
openswitch: improve build time for kmod-only builds
2016-12-20 15:07:00 +01:00
Jo-Philipp Wich 49cf5815e3 python: move includes after common package variables
Move the python-host.mk and python-package.mk includes after the definition of
common package variables. This is required to ensure that PKG_UNPACK is not set
to to the dummy "true" command which happens if PKG_SOURCE is not yet set.

Fixes the following error observed while attempting to build Python on a recent
LEDE version:

    make[2]: Entering directory '.../lang/python'
    true
    [ ! -d ./src/ ] || cp -fpR ./src/* .../Python-2.7.12

    Applying ./patches/001-enable-zlib.patch using plaintext:
    can't find file to patch at input line 14
    Perhaps you used the wrong -p or --strip option?
    [...]
    Patch failed!  Please fix ./patches/001-enable-zlib.patch!
    Makefile:242: recipe for target '.../Python-2.7.12/.prepared_...' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-16 03:24:19 +01:00
Jo-Philipp Wich bf7ef2af12 openswitch: improve build time for kmod-only builds
When only kmod-openvswitch is enabled, which commonly happens during LEDE
release builds, there is no need to build the entire userland of openvswitch
as this is done at a later stage on systems dedicated to build only userspace
packages.

This change conditionalizes the dependency on python, which means that python
prerequisites are only compiled if the openvswitch-python package is enabled,
which allows us to eliminate the entire python dependency chain.

Furthermore, this change sets MAKE_PATH to the kernel module sub directory
if only kmod-openvswitch is enabled which causes the openvswitch build system
to only process sources related to the .ko files.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-16 02:57:26 +01:00
Jo-Philipp WichandGitHub c2f712935d Merge pull request #3604 from danrl/jool
jool: added support for Jool SIIT/NAT64
2016-12-14 19:43:14 +01:00
Jo-Philipp WichandGitHub b7c332fab4 Merge pull request #3498 from fededim/master
softethervpn: added new package 4.21-9613
2016-12-07 15:18:52 +01:00
Jo-Philipp WichandGitHub a413685c58 Merge pull request #3611 from diizzyy/patch-26
libs/libarchive: Fix unintended linking of liblz4
2016-12-03 10:32:13 +01:00
Jo-Philipp WichandGitHub c212c4aaee Merge pull request #3433 from jow-/python-use-staging-dir-hostpkg
python, python3: use STAGING_DIR_HOSTPKG
2016-11-01 13:35:54 +01:00
Jo-Philipp Wich 4a083de4a9 python3: avoid use of HOST_BUILD_PREFIX
Currently, the python3-package.mk framework relies on HOST_BUILD_PREFIX to
refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX
variable requires the use of include/host-build.mk which in turn includes
python3-package.mk, leading to target redefinition errors.

In order to provide a global, uniform way to refer to the host staging
directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points
to $(STAGING_DIR)/host for now with the purpose of eventually being able to
relocate that directory in the future.

This commit changes python3-package.mk to ...
 - stop including include/host-build.mk (revert of #3423)
 - replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
 - warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is
   unavailable

The fallback code will ensure that the python host build infrastructure
continues to work properly on older OpenWrt and LEDE versions until the
STAGING_DIR_HOSTPKG is fully settled in and can be removed some time
in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-11-01 12:57:41 +01:00
Jo-Philipp Wich 73b7f55424 python: avoid use of HOST_BUILD_PREFIX
Currently, the python-host.mk framework relies on HOST_BUILD_PREFIX to
refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX
variable requires the use of include/host-build.mk which in turn includes
python-host.mk, leading to target redefinition errors.

In order to provide a global, uniform way to refer to the host staging
directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points
to $(STAGING_DIR)/host for now with the purpose of eventually being able to
relocate that directory in the future.

This commit changes python-host.mk to ...
 - stop including include/host-build.mk (revert of #3423)
 - replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
 - warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is
   unavailable

The fallback code will ensure that the python host build infrastructure
continues to work properly on older OpenWrt and LEDE versions until the
STAGING_DIR_HOSTPKG is fully settled in and can be removed some time
in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-11-01 12:57:36 +01:00
Jo-Philipp Wich 117bc23432 ntfs-3g: ship /sbin/mount.ntfs compatibility symlink
Like on other common desktop Linux distributions, ship an /sbin/mount.ntfs
symlink in addition to the /sbin/mount.ntfs-3g one in order to let wrapper
programs successfully call external mount helpers by the filesystem name.

The assumption is that /sbin/mount.ntfs is only ever called by util-linux
mount and other mount-wrappers when kernel NTFS support is not available,
means shipping the additional symlink will not interfere with kernel mode
NTFS support.

This commit is mainly intended to prepare transparent fs-tools support for
mounting fuse filesystems, with focus on ntfs-3g in particular.

Please see http://git.lede-project.org/f027c68 for the corresponding
fs-tools support code.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-21 19:04:53 +02:00
Jo-Philipp Wich 22c35987c1 ocserv: avoid implicit dependencies
Explicitely disable liblz4 and external libtalloc support in order to avoid
implicit dependencies leading to the following error on build environments
that happen to provide liblz4 and libtalloc:

    Package ocserv is missing dependencies for the following libraries:
    liblz4.so.1
    libtalloc.so.2

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-07 19:21:29 +02:00
Jo-Philipp WichandGitHub 82a482e92a Merge pull request #3220 from dangowrt/update-postgresql
postgresql: update to version 9.5.4 and major rework
2016-09-24 17:25:50 +02:00
Jo-Philipp Wich a67e66c280 mwan3: remove bad local shell variable declarations
Local variable declarations outside of functions are illegal since the Busybox
update to v1.25.0, therfore remove them from the appropriate places.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-09-24 14:47:38 +02:00
Jo-Philipp WichandGitHub e30df120ea Merge pull request #3097 from dangowrt/fix-postgresql-rebuild
postgresql: make host-built-tools safe for rebuilds
2016-08-26 20:27:46 +02:00
Jo-Philipp WichandGitHub 200311a327 Merge pull request #3061 from hnyman/collectd552
collectd: bump version to 5.5.2
2016-08-14 18:29:16 +02:00
Jo-Philipp Wich 32f6b85a52 luasec: fix build with OPENSSL_NO_COMP
Currently luasec fails to build if OpenSSL was built without compression
support due to an undefined COMP_METHOD type:

    ssl.c: In function 'meth_compression':
    ssl.c:404:9: error: unknown type name 'COMP_METHOD'
       const COMP_METHOD *comp;
             ^
    <builtin>: recipe for target 'ssl.o' failed
    make[6]: *** [ssl.o] Error 1

Add a local patch to stub the `meth_compression()` function if there is no
compression support available in the OpenSSL library in order to allow
luasec to build.

A similar fix has been added upstream with
https://github.com/brunoos/luasec/pull/30

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-09 09:35:21 +02:00
Jo-Philipp Wich 630a41fd05 coreutils: adjust applet descriptions
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>
2016-07-30 15:25:40 +02:00
Jo-Philipp Wich aafbeea12b procps-ng: add required build dependencies
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>
2016-07-12 20:58:14 +02:00