feed/packages.git
7 years agofreeradius3: A couple of small fixes
Toke Høiland-Jørgensen [Wed, 26 Apr 2017 12:54:31 +0000 (14:54 +0200)]
freeradius3: A couple of small fixes

- Moves /etc/freeradius3/sites-{enabled,available}/inner-tunnel to be part of
  the freeradius3-mod-eap package. This prevents conflicts between
  freeradius3-mod-eap-peap and freeradius3-mod-eap-ttls which both included the
  file before. This fixes LEDE bug FS#678.

- Change the demo cert validity to be 1 year instead of 60 days. Should keep the
  cert valid for the duration of the LEDE release cycle (with some slack). This
  fixes #4239.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
7 years agoMerge pull request #4303 from dibdot/package-adblock
Hannu Nyman [Wed, 26 Apr 2017 11:51:59 +0000 (14:51 +0300)]
Merge pull request #4303 from dibdot/package-adblock

adblock: update 2.6.1

7 years agoadblock: update 2.6.1 4303/head
Dirk Brenken [Tue, 25 Apr 2017 20:42:12 +0000 (22:42 +0200)]
adblock: update 2.6.1

* add "adb_forcedns" to redirect all dns requests
  to local resolver (disabled by default)
* add "adb_forcesrt" to enable overall sort / duplicate removal
  on low memory devices with less than 64 MB RAM (disabled by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #4282 from dibdot/patch-wifischedule
Hannu Nyman [Wed, 26 Apr 2017 08:09:21 +0000 (11:09 +0300)]
Merge pull request #4282 from dibdot/patch-wifischedule

wifischedule: remove package arch dependency

7 years agoMerge pull request #4302 from EricLuehrsen/unbound_162
Hannu Nyman [Wed, 26 Apr 2017 06:03:19 +0000 (09:03 +0300)]
Merge pull request #4302 from EricLuehrsen/unbound_162

unbound: update to version 1.6.2

7 years agounbound: update to version 1.6.2 4302/head
Eric Luehrsen [Tue, 25 Apr 2017 03:00:59 +0000 (23:00 -0400)]
unbound: update to version 1.6.2

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
7 years agognunet: update sources
Daniel Golle [Tue, 11 Apr 2017 10:20:25 +0000 (12:20 +0200)]
gnunet: update sources

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agoMerge pull request #4297 from commodo/tcpreplay-4-2-3
Hannu Nyman [Tue, 25 Apr 2017 09:48:56 +0000 (12:48 +0300)]
Merge pull request #4297 from commodo/tcpreplay-4-2-3

tcpreplay: update to 4.2.3

7 years agotcpreplay: update to 4.2.3 4297/head
Alexandru Ardelean [Tue, 25 Apr 2017 09:32:49 +0000 (12:32 +0300)]
tcpreplay: update to 4.2.3

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agoMerge pull request #4295 from Ansuel/bump-cryptodev
Hannu Nyman [Tue, 25 Apr 2017 05:52:09 +0000 (08:52 +0300)]
Merge pull request #4295 from Ansuel/bump-cryptodev

cryptodev-linux: bump to 4.9

7 years agocryptodev-linux: bump to 4.9 4295/head
Ansuel Smith [Mon, 24 Apr 2017 21:49:51 +0000 (23:49 +0200)]
cryptodev-linux: bump to 4.9

Cosmetic update just to remove git date

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
7 years agoMerge pull request #4265 from pprindeville/isc-dhcp-reassign
Daniel Golle [Mon, 24 Apr 2017 17:30:39 +0000 (19:30 +0200)]
Merge pull request #4265 from pprindeville/isc-dhcp-reassign

isc-dhcp: reassign to new owner

7 years agoMerge pull request #3768 from xypron/m4
Hannu Nyman [Sun, 23 Apr 2017 07:10:55 +0000 (10:10 +0300)]
Merge pull request #3768 from xypron/m4

devel/m4: upgrade to release 1.4.18

7 years agoMerge pull request #3794 from adam2104/master
Luka Perkov [Sun, 23 Apr 2017 06:02:37 +0000 (08:02 +0200)]
Merge pull request #3794 from adam2104/master

net/squid: Allow squid to parse mime.conf

7 years agodevel/m4: upgrade to release 1.4.18 3768/head
Heinrich Schuchardt [Thu, 5 Jan 2017 19:59:15 +0000 (20:59 +0100)]
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>
7 years agoMerge pull request #4289 from Tiboris/jansson-update
Hannu Nyman [Sat, 22 Apr 2017 12:35:43 +0000 (15:35 +0300)]
Merge pull request #4289 from Tiboris/jansson-update

jansson: Update to v2.10

7 years agojansson: Update to v2.10 4289/head
Tibor Dudlák [Tue, 11 Apr 2017 17:43:51 +0000 (19:43 +0200)]
jansson: Update to v2.10

jansson in version 2.9 or later is required as dependency for jose

Signed-off-by: Tibor Dudlák <tibor.dudlak@gmail.com>
7 years agoMerge pull request #4291 from dibdot/package-travelmate
Hannu Nyman [Fri, 21 Apr 2017 19:18:42 +0000 (22:18 +0300)]
Merge pull request #4291 from dibdot/package-travelmate

travelmate: update 0.7.1

7 years agoMerge pull request #4287 from zx2c4/patch-5
Hannu Nyman [Fri, 21 Apr 2017 07:49:19 +0000 (10:49 +0300)]
Merge pull request #4287 from zx2c4/patch-5

wireguard: update to 0.0.20170421

7 years agonet/wireguard: update to 0.0.20170421 4287/head
Jason A. Donenfeld [Fri, 21 Apr 2017 04:21:34 +0000 (06:21 +0200)]
net/wireguard: update to 0.0.20170421

Simple version bump.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
7 years agocollectd: upstream fix for vulnerability in network plugin
Hannu Nyman [Thu, 20 Apr 2017 15:52:08 +0000 (18:52 +0300)]
collectd: upstream fix for vulnerability in network plugin

Import an upstream fix for a DDoS vulnerability in the
network plugin: CVE-2017-7401

Refresh patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agotravelmate: update 0.7.1 4291/head
Dirk Brenken [Thu, 20 Apr 2017 11:52:25 +0000 (13:52 +0200)]
travelmate: update 0.7.1

* fix startup & json update behavior
* LuCI-frontend update (see luci repo for details)

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #4283 from dibdot/package-travelmate
Hannu Nyman [Thu, 20 Apr 2017 07:47:42 +0000 (10:47 +0300)]
Merge pull request #4283 from dibdot/package-travelmate

travelmate: update 0.7.0

7 years agoMerge pull request #4281 from val-kulkov/libgd-package
Hannu Nyman [Thu, 20 Apr 2017 07:33:42 +0000 (10:33 +0300)]
Merge pull request #4281 from val-kulkov/libgd-package

libgd: fix missing dependency, add build options

7 years agotravelmate: update 0.7.0 4283/head
Dirk Brenken [Thu, 20 Apr 2017 07:22:22 +0000 (09:22 +0200)]
travelmate: update 0.7.0

* no longer misuse ubus/procd service object for travelmate runtime
  information, now save all required information directly
  in a JSON file/format
* new 'status' init command to print runtime information
* add a configurable interface trigger timeout for
  nested & slow modem/router setups, set 'trm_triggerdelay' accordingly
* change start priority & refine reload timings
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agowifischedule: remove package arch dependency 4282/head
dibdot [Thu, 20 Apr 2017 06:32:02 +0000 (08:32 +0200)]
wifischedule: remove package arch dependency

Remove package architecture dependency cause wifischedule is "shell script only"

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agolibgd: fix missing dependency, add build options 4281/head
Val Kulkov [Thu, 20 Apr 2017 01:51:18 +0000 (21:51 -0400)]
libgd: fix missing dependency, add build options

libgd fails to build due to missing dependency if the libtiff
package is selected. Fix the build issue and add two new
configuration options, both disabled by default:
1) enable TIFF support, and
2) enable Freetype 2.x support.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
7 years agoMerge pull request #4214 from diizzyy/patch-42
Hannu Nyman [Wed, 19 Apr 2017 08:25:54 +0000 (11:25 +0300)]
Merge pull request #4214 from diizzyy/patch-42

libs/libgd: Update to 2.2.4

7 years agolua-bencode: download .tar.gz instead of using hg
Hannu Nyman [Tue, 18 Apr 2017 20:33:47 +0000 (23:33 +0300)]
lua-bencode: download .tar.gz instead of using hg

Avoid using 'hg' (Mercurial) to download sources.

'hg' is not an official prerequisite and it is not installed
in all buildslaves in Openwrt and LEDE buildbots, which
leads to frequent build failures.

Download the .tar.gz source archive instead.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 years agophp7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ option
Michael Heimpold [Tue, 18 Apr 2017 19:30:17 +0000 (21:30 +0200)]
php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ option

This fixes a stupid typo from last commit which lead to the following
compiler warning:

cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agoMerge pull request #4275 from mattsm/master
Florian Fainelli [Tue, 18 Apr 2017 17:53:33 +0000 (10:53 -0700)]
Merge pull request #4275 from mattsm/master

hfsprogs: fix when not linking aginst glibc

7 years agohfsprogs: fix when not linking aginst glibc 4275/head
Matthew McClintock [Tue, 18 Apr 2017 17:36:23 +0000 (12:36 -0500)]
hfsprogs: fix when not linking aginst glibc

Only link with libbsd when we are using GLIBC

Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
7 years agophp7: fix build of php7-mod-intl
Michael Heimpold [Mon, 17 Apr 2017 22:12:20 +0000 (00:12 +0200)]
php7: fix build of php7-mod-intl

This fixes the following build error (shortened paths for readability):

-snip-
In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0,
                 from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21:
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:56:16: error: 'UChar' does not name a type
 u_strlen(const UChar *s);
                ^
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:80:19: error: 'char16_t' has not been declared
                   char16_t *dest, int32_t destCapacity,
                   ^
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:81:25: error: 'char16_t' does not name a type
                   const char16_t *src, int32_t srcLength,
                         ^
In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0,
                 from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21:
.../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:462:16: error: 'char16_t' does not name a type
          const char16_t *srcChars) const;
                ^
[...]
-snap-

This build error was introduced by update of icu to 59.1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agophp7: fix php build issues with musl headers (fixes #4263)
Philip Prindeville [Fri, 14 Apr 2017 18:51:15 +0000 (12:51 -0600)]
php7: fix php build issues with musl headers (fixes #4263)

MUSL is complaining about <sys/poll.h> instead of <poll.h>.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
[ Replaced the *-t1lib filtering stuff by simply removing the
left-over configure option ]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agolibs/libgd: Update to 2.2.4 4214/head
Daniel Engberg [Tue, 28 Mar 2017 12:10:13 +0000 (14:10 +0200)]
libs/libgd: Update to 2.2.4

Update libgd to 2.2.4
Fixes multiple CVEs
Refresh patches
Update list according to:
https://svnweb.freebsd.org/ports/head/graphics/gd/pkg-plist?revision=432648&view=markup
...except helpers as it's not generated.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoMerge pull request #4266 from diizzyy/patch-45
Hannu Nyman [Mon, 17 Apr 2017 17:40:52 +0000 (20:40 +0300)]
Merge pull request #4266 from diizzyy/patch-45

libs/libpng: Add more symlinks

7 years agoMerge pull request #4268 from lucize/doveup
Hannu Nyman [Mon, 17 Apr 2017 17:35:25 +0000 (20:35 +0300)]
Merge pull request #4268 from lucize/doveup

Dovecot: update to 2.2.29.1

7 years agoMerge pull request #4262 from tsl0922/ttyd-1.3.2
Hannu Nyman [Mon, 17 Apr 2017 17:33:09 +0000 (20:33 +0300)]
Merge pull request #4262 from tsl0922/ttyd-1.3.2

ttyd: update to 1.3.2

7 years agoMerge pull request #4267 from dibdot/package-adblock
Hannu Nyman [Mon, 17 Apr 2017 17:28:50 +0000 (20:28 +0300)]
Merge pull request #4267 from dibdot/package-adblock

adblock: update 2.6.0-2

7 years agoMerge pull request #4270 from nxhack/update_to_59_1
Hannu Nyman [Mon, 17 Apr 2017 17:28:13 +0000 (20:28 +0300)]
Merge pull request #4270 from nxhack/update_to_59_1

icu: bump to 59.1

7 years agoadblock: update 2.6.0-2 4267/head
Dirk Brenken [Sun, 16 Apr 2017 06:25:42 +0000 (08:25 +0200)]
adblock: update 2.6.0-2

* change start priority to get all interface trigger events, even on
fast hardware
* made default trigger delay more conservative to fix possible start up
issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agolibs/libpng: Add more symlinks 4266/head
Daniel Engberg [Sun, 16 Apr 2017 00:54:17 +0000 (02:54 +0200)]
libs/libpng: Add more symlinks

Sprinkle more symlinks for compatibility

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agolibsoxr: Explicitly disable support for OpenMP
Florian Fainelli [Fri, 14 Apr 2017 19:07:00 +0000 (12:07 -0700)]
libsoxr: Explicitly disable support for OpenMP

In case a toolchain supports OpenMP (e.g: external toolchains), just
disable support for it in libsoxr since cmake would detect that and
later we would fail to create the package because there is no libgomp
package being created.

In case OpenMP is desireable and this is supported by the toolchain, we
should introduce a specific option for that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agoicu: bump to 59.1 4270/head
Hirokazu MORIKAWA [Mon, 17 Apr 2017 00:47:25 +0000 (09:47 +0900)]
icu: bump to 59.1

Maintainer: me
Compile tested: ar71xx brcm2708, LEDE trunk r3972-aefa195
Run tested: NONE

Description:
upstream update to 59.1

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
7 years agoDovecot: update to 2.2.29.1 4268/head
Lucian Cristian [Sun, 16 Apr 2017 17:56:28 +0000 (20:56 +0300)]
Dovecot: update to 2.2.29.1

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
7 years agottyd: update to 1.3.2 4262/head
Shuanglei Tao [Fri, 14 Apr 2017 16:19:30 +0000 (00:19 +0800)]
ttyd: update to 1.3.2

Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
7 years agoMerge pull request #4264 from pprindeville/lcdproc-disable-nls
Michael Heimpold [Sat, 15 Apr 2017 12:49:43 +0000 (14:49 +0200)]
Merge pull request #4264 from pprindeville/lcdproc-disable-nls

lcdproc: simplify dropping --disable-nls fron CONFIGURE_ARGS

7 years agoser2net: add some upstream patches (fixes #4249)
Michael Heimpold [Sat, 15 Apr 2017 12:33:00 +0000 (14:33 +0200)]
ser2net: add some upstream patches (fixes #4249)

As reported by @thornley-touchstar, there are some issues in the
showshortport and showport commands on the monitoring channel.
After short dicussion with upstream, the following patches were merged
upstream to fix the issue(s).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agoisc-dhcp: reassign to new owner 4265/head
Philip Prindeville [Fri, 14 Apr 2017 21:42:45 +0000 (15:42 -0600)]
isc-dhcp: reassign to new owner

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agolcdproc: simplify dropping --disable-nls fron CONFIGURE_ARGS 4264/head
Philip Prindeville [Fri, 14 Apr 2017 20:37:55 +0000 (14:37 -0600)]
lcdproc: simplify dropping --disable-nls fron CONFIGURE_ARGS

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agoMerge pull request #4177 from pprindeville/shadow-add-applets
Daniel Golle [Fri, 14 Apr 2017 12:53:29 +0000 (14:53 +0200)]
Merge pull request #4177 from pprindeville/shadow-add-applets

shadow: add chpasswd, et al to list of applets

7 years agoMerge pull request #4045 from pprindeville/lcdproc
Daniel Golle [Fri, 14 Apr 2017 12:30:40 +0000 (14:30 +0200)]
Merge pull request #4045 from pprindeville/lcdproc

lcdproc: alternative package to drive LCD displays

7 years agolcdproc: alternative package to drive LCD displays 4045/head
Philip Prindeville [Wed, 11 Jan 2017 20:25:40 +0000 (13:25 -0700)]
lcdproc: alternative package to drive LCD displays

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>
7 years agoshadow: add chpasswd, et al to list of applets 4177/head
Philip Prindeville [Tue, 21 Mar 2017 02:00:05 +0000 (20:00 -0600)]
shadow: add chpasswd, et al to list of applets

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>
7 years agophp7: enable filter support by default (fixes #3831)
Michael Heimpold [Thu, 13 Apr 2017 20:59:07 +0000 (22:59 +0200)]
php7: enable filter support by default (fixes #3831)

Filter support brings several useful features which many PHP applications
rely on. To make it easier for users who don't want to build own packages
enable this by default. This slightly increases the binary SAPI packages,
but since PHP is a huge monster anyway, I doubt this hurts anybody.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agophp7: update to 7.1.4
Michael Heimpold [Thu, 13 Apr 2017 20:40:08 +0000 (22:40 +0200)]
php7: update to 7.1.4

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agodarkstat: Depend on libbsd for glibc-based toolchains
Florian Fainelli [Wed, 12 Apr 2017 20:59:25 +0000 (13:59 -0700)]
darkstat: Depend on libbsd for glibc-based toolchains

darkstat's configure script searches for libbsd for different routines,
so if it manages to pick it up, make sure the dependency is reflected.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agoap51-flash: Define IPPORT_TFTP where it is used
Florian Fainelli [Wed, 12 Apr 2017 20:46:55 +0000 (13:46 -0700)]
ap51-flash: Define IPPORT_TFTP where it is used

Defining IPPORT_TFTP on the pre-processor command line leads to the
following error for glibc-based toolchains:

mipsel-linux-gnu-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc
-fno-caller-saves -mips16 -minterlink-mips16
-I/local/users/fainelli/openwrt/trunk/staging_dir/target-mipsel-linux-gnu_glibc/usr/include
-I/local/users/fainelli/openwrt/trunk/staging_dir/target-mipsel-linux-gnu_glibc/include
-I/opt/toolchains/stbgcc-4.8-1.5/usr/include
-I/opt/toolchains/stbgcc-4.8-1.5/include  -Wall -Werror -W -g3
-std=gnu99 -Os -fno-strict-aliasing -DLINUX
-DREVISION_VERSION=\"2016-10-16\" -DFLASH_FROM_FILE -DNO_LIBPCAP
-D_GNU_SOURCE -UIPPORT_TFTP -DIPPORT_TFTP=69 -MD -c flash.c -o flash.o
<command-line>:0:13: error: expected identifier before numeric constant

Instead, move this where this gets used, in proto.c

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agoacme: Fix for curl linked against mbed TLS. (#4254)
Daniel H [Wed, 12 Apr 2017 20:51:58 +0000 (22:51 +0200)]
acme: Fix for curl linked against mbed TLS. (#4254)

Use newest acme.sh release (2.6.8).
Remove dependency on ca-certificates and add dependency on ca-bundle.
Update environment variable.

Signed-off-by: Daniel Halmschlager <da@halms.at>
7 years agoMerge pull request #4219 from diizzyy/patch-43
Hannu Nyman [Wed, 12 Apr 2017 15:33:46 +0000 (18:33 +0300)]
Merge pull request #4219 from diizzyy/patch-43

libs/libpng: Update to 1.6.29

7 years agoMerge pull request #4253 from dibdot/package-adblock
Hannu Nyman [Wed, 12 Apr 2017 14:04:25 +0000 (17:04 +0300)]
Merge pull request #4253 from dibdot/package-adblock

adblock: update 2.6.0

7 years agoadblock: update 2.6.0 4253/head
Dirk Brenken [Mon, 10 Apr 2017 19:15:34 +0000 (21:15 +0200)]
adblock: update 2.6.0

* no longer misuse ubus/procd service object for adblock runtime
  information, now save all required information directly
  in a JSON file/format (/tmp/adb_runtime.json)
* new 'status' init command to print runtime information
* add a configurable interface trigger timeout for
  nested or slow modem/router setups,
  set 'adb_triggerdelay' accordingly (default 1 second)
* add support for pure http download utilities like wget-nossl
  or uclient-fetch without libustream-ssl (http donwloads only!)
* fix stop action
* fix enabled/disabled action
* fix country code in regional list for china
* LuCI update to reflect all changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agoMerge pull request #4245 from TDT-GmbH/mwan3-add-ubus
Hannu Nyman [Wed, 12 Apr 2017 13:10:45 +0000 (16:10 +0300)]
Merge pull request #4245 from TDT-GmbH/mwan3-add-ubus

net/mwan3: add ubus interface

7 years agobcp38: iptables 1.6.1 compatibility (#4248)
Kevin Darbyshire-Bryant [Wed, 12 Apr 2017 08:34:02 +0000 (09:34 +0100)]
bcp38: iptables 1.6.1 compatibility (#4248)

-m state has been removed, now use -m conntrack --ctstate

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agophp7: fix bind_textdomain_codeset detection (refs #4250)
Michael Heimpold [Tue, 11 Apr 2017 21:31:34 +0000 (23:31 +0200)]
php7: fix bind_textdomain_codeset detection (refs #4250)

The gettext extension is only useful when linked against libintl-full
package, however, the detection did not work sucessfully. This patch
by @Dimazhan fixes this.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agonet/mwan3: update Makefile version 4245/head
Florian Eckert [Mon, 10 Apr 2017 13:33:10 +0000 (15:33 +0200)]
net/mwan3: update Makefile version

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agonet/mwan3: mwan3track interrupt sleep on signal (trap) event
Florian Eckert [Thu, 6 Apr 2017 14:36:46 +0000 (16:36 +0200)]
net/mwan3: mwan3track interrupt sleep on signal (trap) event

Sleep will be aborted if a signal is send to this process.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agonet/mwan3: registrate SIGUSR1 trap on interface down event
Florian Eckert [Thu, 6 Apr 2017 13:41:05 +0000 (15:41 +0200)]
net/mwan3: registrate SIGUSR1 trap on interface down event

If interface is getting down by netifd (unplug ethernet cable)
mwan3track will not recognize this change. It will also generate an
additional down event when he notice does his tracking interface is offline.

Mwan3track will now be informed by a signal (trap) USR1 during down event
that the interface is already down. An additional down event will not be
generated.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agonet/mwan3: add status track ubus interface
Florian Eckert [Thu, 6 Apr 2017 13:17:17 +0000 (15:17 +0200)]
net/mwan3: add status track ubus interface

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoMerge pull request #4247 from pprindeville/perl-cgi-4.36
Hannu Nyman [Mon, 10 Apr 2017 15:44:19 +0000 (18:44 +0300)]
Merge pull request #4247 from pprindeville/perl-cgi-4.36

perl-cgi: Update to 4.36

7 years agoMerge pull request #4244 from Wedmer/master
Hannu Nyman [Mon, 10 Apr 2017 09:30:22 +0000 (12:30 +0300)]
Merge pull request #4244 from Wedmer/master

[net/siit] Added compability for Linux >= 4.7.0

7 years agoznc: update to 1.6.5
Jonas Gorski [Mon, 10 Apr 2017 08:16:47 +0000 (10:16 +0200)]
znc: update to 1.6.5

Changelog:

 * Fixed a regression of 1.6.4 which caused a crash in modperl/modpython
   (not packaged)
 * Fixed the behavior of verbose command in the sasl module.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
7 years agoperl-cgi: Update to 4.36 4247/head
Philip Prindeville [Mon, 10 Apr 2017 05:01:15 +0000 (23:01 -0600)]
perl-cgi: Update to 4.36

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years ago[net/siit] Added compability for Linux >= 4.7.0 4244/head
Vladimir Ulrich [Mon, 10 Apr 2017 00:34:40 +0000 (03:34 +0300)]
[net/siit] Added compability for Linux >= 4.7.0
Closes #4242

Signed-off-by: Vladimir Ulrich <admin@evl.su>
7 years agoMerge pull request #4243 from zx2c4/patch-4
Hannu Nyman [Sun, 9 Apr 2017 18:58:25 +0000 (21:58 +0300)]
Merge pull request #4243 from zx2c4/patch-4

net/wireguard: version bump

7 years agonet/wireguard: version bump 4243/head
Jason A. Donenfeld [Sun, 9 Apr 2017 14:37:55 +0000 (16:37 +0200)]
net/wireguard: version bump

Simple version bump to 20170409.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
7 years agoMerge pull request #4233 from ygalblum/master
Matthias Schiffer [Thu, 6 Apr 2017 15:08:31 +0000 (17:08 +0200)]
Merge pull request #4233 from ygalblum/master

node: Move NPM into a separated pacakge

7 years agoMerge pull request #4235 from TDT-GmbH/mwan3track-refactoring
Hannu Nyman [Thu, 6 Apr 2017 12:20:00 +0000 (15:20 +0300)]
Merge pull request #4235 from TDT-GmbH/mwan3track-refactoring

Mwan3track refactoring

7 years agonode: Move NPM into a separated pacakge 4233/head
Ygal Blum [Mon, 3 Apr 2017 12:21:39 +0000 (15:21 +0300)]
node: Move NPM into a separated pacakge

In order to reduce flash requirements and also to disallow running NPM on the target
move NPM out of the default NodeJS package.
In order to allow adding NPM via opkg install, move it to a separated
directory

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
7 years agoMerge pull request #3349 from marcin1j/pr/mini_snmpd/fix-init-script
Ted Hess [Wed, 5 Apr 2017 11:10:30 +0000 (07:10 -0400)]
Merge pull request #3349 from marcin1j/pr/mini_snmpd/fix-init-script

mini_snmpd: restart daemon when monitored interfaces appears/disappears

7 years agomini_snmpd: fix bugs and automatically reload daemon if one of monitored interfaces... 3349/head
Marcin Jurkowski [Sat, 15 Oct 2016 18:52:21 +0000 (20:52 +0200)]
mini_snmpd: fix bugs and automatically reload daemon if one of monitored interfaces goes up/down

This commit fixes bugs, cleans and enhances init.d script:
1. The first disk and interface was passed to mini_snmpd with extra
   leading space.
   This bug caused the first monitored disk and interface to be
   inaccessible by SNMP daemon.
2. Automatically reload deamon if one of monitored interfaces goes
   up/down.
   Since mini_snmpd reads interface list only at startup, it won't
   detect any interface which appeared after the daemon was started.
   Fortunately we can use procd interface triggers to automatically
   restart the daemon.
3. Replace hand-written direct ubus calls and json data filtering with
   standard network functions.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
7 years agonet/mwan3: update Makefile version 4235/head
Florian Eckert [Tue, 4 Apr 2017 14:30:21 +0000 (16:30 +0200)]
net/mwan3: update Makefile version

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agonet/mwan3: decrease parameter invocation of mwan3track
Florian Eckert [Tue, 4 Apr 2017 14:28:18 +0000 (16:28 +0200)]
net/mwan3: decrease parameter invocation of mwan3track

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoMerge pull request #4226 from ffainelli/hiredis
Florian Fainelli [Tue, 4 Apr 2017 19:16:54 +0000 (12:16 -0700)]
Merge pull request #4226 from ffainelli/hiredis

hiredis: Fix __redis_strerror_r lvalue error

7 years agoMerge pull request #4232 from ffainelli/haproxy
Florian Fainelli [Tue, 4 Apr 2017 17:51:10 +0000 (10:51 -0700)]
Merge pull request #4232 from ffainelli/haproxy

Haproxy builds fixes

7 years agonet/mwan3: add clean_up trap function for SIGINT SIGTERM
Florian Eckert [Tue, 4 Apr 2017 14:00:06 +0000 (16:00 +0200)]
net/mwan3: add clean_up trap function for SIGINT SIGTERM

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agonet/mwan3: unify logging in mwan3track
Florian Eckert [Tue, 4 Apr 2017 13:33:37 +0000 (15:33 +0200)]
net/mwan3: unify logging in mwan3track

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agonet/mwan3: move global mwan3track into main function
Florian Eckert [Tue, 4 Apr 2017 13:01:34 +0000 (15:01 +0200)]
net/mwan3: move global mwan3track into main function

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years agoMerge pull request #4207 from diizzyy/patch-41
Jo-Philipp Wich [Tue, 4 Apr 2017 12:47:40 +0000 (14:47 +0200)]
Merge pull request #4207 from diizzyy/patch-41

net/vnstat: Update to 1.17

7 years agoMerge pull request #4234 from dibdot/package-adblock
Hannu Nyman [Tue, 4 Apr 2017 12:28:07 +0000 (15:28 +0300)]
Merge pull request #4234 from dibdot/package-adblock

adblock: update 2.5.1

7 years agoadblock: update 2.5.1 4234/head
Dirk Brenken [Tue, 4 Apr 2017 12:15:30 +0000 (14:15 +0200)]
adblock: update 2.5.1

* re-order all regional lists in adblocklist/easylist format
    * add polish blocklist
    * add chinese blocklist
    * lists called now 'reg_<ch|pl|ro|ru>'
* changed interface trigger default in config to 'wan' only
* update / sync LuCI frontend (see luci repo for details)
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agosslh: Also pass down TARGET_CPPFLAGS
Florian Fainelli [Tue, 4 Apr 2017 01:57:59 +0000 (18:57 -0700)]
sslh: Also pass down TARGET_CPPFLAGS

Make sure we do pass TARGET_CPPFLAGS using CPPFLAGS (which is supported
by sslh's Makefile), fixing build issues with some external toolchains:

mipsel-linux-gnu-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc
-fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1 -Wl,-z,now
-Wl,-z,relro -DENABLE_REGEX -DLIBCONFIG -c sslh-main.c
sslh-main.c:26:23: fatal error: libconfig.h: No such file or directory
 #include <libconfig.h>
                       ^
compilation terminated.
Makefile:63: recipe for target 'sslh-main.o' failed
make[4]: *** [sslh-main.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agopackage: haproxy
Thomas Heil [Mon, 3 Apr 2017 11:50:03 +0000 (13:50 +0200)]
package: haproxy
[RELEASE] Released version 1.7.5 due to bug in compression

 Released version 1.7.5 with the following main changes :
  - BUG/MEDIUM: peers: fix buffer overflow control in intdecode.
  - BUG/MEDIUM: buffers: Fix how input/output data are injected into buffers
  - BUG/MEDIUM: http: Fix blocked HTTP/1.0 responses when compression is enabled
  - BUG/MINOR: filters: Don't force the stream's wakeup when we wait in flt_end_analyze
  - DOC: fix parenthesis and add missing "Example" tags
  - DOC: update the contributing file
  - DOC: log-format/tcplog/httplog update
  - MINOR: config parsing: add warning when log-format/tcplog/httplog is overriden in "defaults" sections

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
7 years agoMerge pull request #4138 from Ansuel/update-webui
Hannu Nyman [Mon, 3 Apr 2017 07:50:25 +0000 (10:50 +0300)]
Merge pull request #4138 from Ansuel/update-webui

webui-aria2: update to last commit

7 years agohfsprogs: Fix build failures with external toolchains
Florian Fainelli [Mon, 3 Apr 2017 02:58:37 +0000 (19:58 -0700)]
hfsprogs: Fix build failures with external toolchains

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>
7 years agoMerge pull request #4224 from ffainelli/mdns
Florian Fainelli [Mon, 3 Apr 2017 02:12:19 +0000 (19:12 -0700)]
Merge pull request #4224 from ffainelli/mdns

mdnsresponder: Also pass TARGET_CPPFLAGS

7 years agoMerge pull request #4231 from ffainelli/squeezelite
Ted Hess [Mon, 3 Apr 2017 00:50:51 +0000 (20:50 -0400)]
Merge pull request #4231 from ffainelli/squeezelite

squeezelite: Specify all libraries to link against

7 years agohaproxy: Fix PCRE_DIR include path 4232/head
Florian Fainelli [Sun, 2 Apr 2017 21:26:07 +0000 (14:26 -0700)]
haproxy: Fix PCRE_DIR include path

haproxy's Makefile already happens include/ after specifying PCRE_DIR
which would result in the following build errors on an external
toolchain that does not automatically search for headers in
$(STAGING_DIR):

mipsel-linux-gnu-gcc -Iinclude -Iebtree -Wall  -O2 -g
-fno-strict-aliasing -Wdeclaration-after-statement  -DBUFSIZE=16384
-DMAXREWRITE=1030 -DSYSTEM_MAXCONN=165530      -DCONFIG_HAP_LINUX_SPLICE
-DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB
-DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS
-DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DCONFIG_REGPARM=3
-DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_LUA
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/lua-5.3.3/include
-DUSE_PCRE
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/include/include
-DUSE_PCRE_JIT  -DCONFIG_HAPROXY_VERSION=\"1.7.4-patch02\"
-DCONFIG_HAPROXY_DATE=\"2017/04/01\" \
      -DBUILD_TARGET='"linux2628"' \
      -DBUILD_ARCH='""' \
      -DBUILD_CPU='"generic"' \
      -DBUILD_CC='"mipsel-linux-gnu-gcc"' \
      -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing
-Wdeclaration-after-statement -DBUFSIZE=16384 -DMAXREWRITE=1030
-DSYSTEM_MAXCONN=165530"' \
      -DBUILD_OPTIONS='"USE_LINUX_SPLICE=1 USE_LINUX_TPROXY=1
USE_ZLIB=yes USE_REGPARM=1 USE_OPENSSL=1 USE_LUA=1 USE_PCRE=1
USE_PCRE_JIT=1"' \
       -c -o src/haproxy.o src/haproxy.c
In file included from include/types/proxy.h:33:0,
                 from include/proto/log.h:32,
                 from include/common/cfgparse.h:29,
                 from src/haproxy.c:65:
include/common/regex.h:31:18: fatal error: pcre.h: No such file or
directory
 #include <pcre.h>

Fix this by stripping the additional include/ being added.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agohaproxy: Pass down TARGET_CPPFLAGS for lua build
Florian Fainelli [Sun, 2 Apr 2017 21:17:33 +0000 (14:17 -0700)]
haproxy: Pass down TARGET_CPPFLAGS for lua build

Some external toolchaind don't automatically search for headers in
$(STAGING_DIR), make sure we do pass TARGET_CPPFLAGS as appropriate.
This fixes build errors such as:

mipsel-linux-gnu-gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX
-c -o lua.o lua.c
lua.c:80:31: fatal error: readline/readline.h: No such file or directory
 #include <readline/readline.h>
                               ^
compilation terminated.
<builtin>: recipe for target 'lua.o' failed
make[6]: *** [lua.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agosqueezelite: Specify all libraries to link against 4231/head
Florian Fainelli [Sun, 2 Apr 2017 19:16:03 +0000 (12:16 -0700)]
squeezelite: Specify all libraries to link against

squeezelite needs to link against libvorbis and libogg, some external
toolchains may not be able to automatically pull these dependencies in,
resulting the such linking errors:

mipsel-linux-gnu-gcc main.o slimproto.o buffer.o stream.o utils.o
output.o output_alsa.o output_pa.o output_stdout.o output_pack.o
decode.o flac.o pcm.o mad.o vorbis.o faad.o
-L/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib
-L/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/lib
-L/home/florian/dev/toolchains/stbgcc-4.8-1.5/usr/lib
-L/home/florian/dev/toolchains/stbgcc-4.8-1.5/lib -znow -zrelro -lasound
-lpthread -lm -lrt  -lasound -lpthread -lm -lrt -lFLAC -lmad
-lvorbisfile -lfaad -o squeezelite
/home/florian/dev/toolchains/stbgcc-4.8-1.5/bin/../lib/gcc/mipsel-linux-gnu/4.8.5/../../../../mipsel-linux-gnu/bin/ld:
warning: libvorbis.so.0, needed by
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libvorbisfile.so,
not found (try using -rpath or -rpath-link)
/home/florian/dev/toolchains/stbgcc-4.8-1.5/bin/../lib/gcc/mipsel-linux-gnu/4.8.5/../../../../mipsel-linux-gnu/bin/ld:
warning: libogg.so.0, needed by
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libvorbisfile.so,
not found (try using -rpath or -rpath-link)
/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libvorbisfile.so:
undefined reference to `ogg_stream_reset'
collect2: error: ld returned 1 exit status

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>