feed/packages.git
7 years agolibcanfestival: use http download instead of hg checkout 4276/head
Michael Heimpold [Tue, 18 Apr 2017 22:44:55 +0000 (00:44 +0200)]
libcanfestival: use http download instead of hg checkout

This was suggested by @hnyman because hg is not a prerequisite in
LEDE or Openwrt, so using that should be avoided, if possible.

The tricky part is that the filename is appended to the URL,
thus we construct/use an URL where the appended filename does not hurt.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agolibcanfestival: fix several small build process issues
Michael Heimpold [Tue, 18 Apr 2017 21:18:00 +0000 (23:18 +0200)]
libcanfestival: fix several small build process issues

This patch tries to address the following package issues:

- the upstream hg repository seems to contain some invalid timestamps,
  at least the following warning are generated during package compilation
  (only one example):

  emcy.c: Timestamp out of range; substituting 2514-05-30 01:53:03.999999999

  This can be fixed by touching all files after unpacking, thus tar is
  now given the -m switch.

- one or more LEDE buildbot(s) do not have hg tool installed and thus are not
  able to checkout the sources from upstream

  This patch populates PKG_MIRROR_HASH in the hope that the buildbot's first
  try is to download an already packed source tarball prior to checkout it out
  from upstream.

- While at packaging from upstream, use the common infrastructure, i.e. use
  a source date etc. This also results in tar.xz files and thus reduces the
  disk footprint a little bit.

- during compilation the follwing warning could be observed:

  cc1: note: someone does not honour copts correctly, passed 0 times

  To silent down these warning, patch the Makefiles and pass the expected
  option.

Important note: changes are only compile tested due to missing hardware at
hand.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
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 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 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>
7 years agouanytun: Pass down TARGET_CPPFLAGS
Florian Fainelli [Sun, 2 Apr 2017 20:53:56 +0000 (13:53 -0700)]
uanytun: Pass down TARGET_CPPFLAGS

Fixes build errors with toolchains that don't automatically search for
headers in STAGING_DIR (such as external toolchains) resulting in the
following build failures:

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  -DUSE_SSL_CRYPTO -c options.c
In file included from options.c:62:0:
auth_algo.h:53:26: fatal error: openssl/hmac.h: No such file or
directory
 #include <openssl/hmac.h>
                          ^
compilation terminated.
Makefile:95: recipe for target 'options.o' failed
make[4]: *** [options.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agolibsndfile: update to 1.0.28
Peter Wagner [Sun, 2 Apr 2017 18:44:31 +0000 (20:44 +0200)]
libsndfile: update to 1.0.28

Signed-off-by: Peter Wagner <tripolar@gmx.at>
7 years agoMerge pull request #4230 from ffainelli/unrar
Álvaro Fernández Rojas [Sun, 2 Apr 2017 18:39:30 +0000 (20:39 +0200)]
Merge pull request #4230 from ffainelli/unrar

unrar: Properly pass LDFLAGS

7 years agovsftpd: Pass TARGET_CPPFLAGS
Florian Fainelli [Sun, 2 Apr 2017 18:36:20 +0000 (11:36 -0700)]
vsftpd: Pass TARGET_CPPFLAGS

Fixes build errors with external toolchains that don't have STAGING_DIR
in their default search path for headers:

mipsel-linux-gnu-gcc -c ssl.c -Os -pipe -mno-branch-likely -mips32r2
-mtune=24kc -fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1
-Wl,-z,now -Wl,-z,relro -D_GNU_SOURCE -include fcntl.h -idirafter
dummyinc
ssl.c:28:25: fatal error: openssl/err.h: No such file or directory
 #include <openssl/err.h>
                         ^
compilation terminated.
Makefile:28: recipe for target 'ssl.o' failed
make[3]: *** [ssl.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agounrar: Properly pass LDFLAGS 4230/head
Florian Fainelli [Sun, 2 Apr 2017 18:32:19 +0000 (11:32 -0700)]
unrar: Properly pass LDFLAGS

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>
7 years agowebui-aria2: update to last commit 4138/head
Ansuel Smith [Sat, 11 Mar 2017 20:46:44 +0000 (21:46 +0100)]
webui-aria2: update to last commit

Update to last commit

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
7 years agoMerge pull request #4190 from InkblotAdmirer/dnscrypt_plugins
Hannu Nyman [Sun, 2 Apr 2017 13:37:24 +0000 (16:37 +0300)]
Merge pull request #4190 from InkblotAdmirer/dnscrypt_plugins

dnscrypt-proxy: add optional plugins

7 years agoMerge pull request #4225 from ffainelli/x264
Ted Hess [Sun, 2 Apr 2017 11:08:37 +0000 (07:08 -0400)]
Merge pull request #4225 from ffainelli/x264

libx264: Blacklist all MIPS CPUs for assembly optimizations

7 years agoMerge pull request #4227 from dibdot/package-travelmate
Hannu Nyman [Sun, 2 Apr 2017 09:22:41 +0000 (12:22 +0300)]
Merge pull request #4227 from dibdot/package-travelmate

travelmate: update 0.6.0

7 years agoMerge pull request #4228 from diizzyy/patch-44
Hannu Nyman [Sun, 2 Apr 2017 08:56:36 +0000 (11:56 +0300)]
Merge pull request #4228 from diizzyy/patch-44

net/stunnel: Update to 5.41

7 years agonet/stunnel: Update to 5.41 4228/head
Daniel Engberg [Sun, 2 Apr 2017 08:49:49 +0000 (10:49 +0200)]
net/stunnel: Update to 5.41

Update stunnel to 5.41
Add main site as last resort mirror

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agotravelmate: update 0.6.0 4227/head
Dirk Brenken [Sun, 2 Apr 2017 05:41:57 +0000 (07:41 +0200)]
travelmate: update 0.6.0

* rework automatic mode (active scan/re-connection handling):
   * much more procd & resource friendly
   * now enabled by default
* save runtime information in ubus service (data section)
* final backend preparation for new LuCI-GUI (still WIP!)
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
7 years agopthsem: Add linux 4.x to supported platforms
Florian Fainelli [Sun, 2 Apr 2017 00:41:35 +0000 (17:41 -0700)]
pthsem: Add linux 4.x to supported platforms

Fixes the following build failures:

pth_mctx.c: In function '__pth_mctx_set':
pth_mctx.c:480:2: error: #error "Unsupported Linux (g)libc version
and/or platform"
 #error "Unsupported Linux (g)libc version and/or platform"
  ^
Makefile:991: recipe for target 'pth_mctx.lo' failed

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agompack: Fix conflicting malloc definition
Florian Fainelli [Sun, 2 Apr 2017 01:04:03 +0000 (18:04 -0700)]
mpack: Fix conflicting malloc definition

Use stdlib.h for malloc(), getenv() and realloc(). Fixes the following
build failure:

unixos.c:42:14: error: conflicting types for 'malloc'
 extern char *malloc();
              ^
Makefile:168: recipe for target 'unixos.o' failed
make[3]: *** [unixos.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agohiredis: Fix __redis_strerror_r lvalue error 4226/head
Florian Fainelli [Sun, 2 Apr 2017 00:50:14 +0000 (17:50 -0700)]
hiredis: Fix __redis_strerror_r lvalue error

Fixes the following build error:
hiredis.h:101:24: error: lvalue required as left operand of assignment
             buf[(len)] = '\0';

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agolibx264: Blacklist all MIPS CPUs for assembly optimizations 4225/head
Florian Fainelli [Sun, 2 Apr 2017 00:27:09 +0000 (17:27 -0700)]
libx264: Blacklist all MIPS CPUs for assembly optimizations

None of the CPUs supported in OpenWrt/LEDE are MSA capable (requires
MIPS32r5/r6 for that) which would lead to this error during configure:

You specified a pre-MSA CPU in your CFLAGS.
If you really want to run on such a CPU, configure with --disable-asm.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agomdnsresponder: Also pass TARGET_CPPFLAGS 4224/head
Florian Fainelli [Sat, 1 Apr 2017 22:27:49 +0000 (15:27 -0700)]
mdnsresponder: Also pass TARGET_CPPFLAGS

Use CFLAGS_DEBUG which is already used for TARGET_CFLAGS to also pass
TARGET_CPPFLAGS.

This fixes build issues with toolchains that don't automatically search
for header files (e.g: sys/capability.h), such as stbgcc-4.8-1.5

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agoMerge pull request #4128 from ffainelli/dansguardian-fix
Florian Fainelli [Sun, 2 Apr 2017 00:51:39 +0000 (17:51 -0700)]
Merge pull request #4128 from ffainelli/dansguardian-fix

dansguardian: Fix build error due to missing cstdlib include

7 years agoMerge pull request #4222 from nikil/moreutils
Hannu Nyman [Sun, 2 Apr 2017 00:34:39 +0000 (03:34 +0300)]
Merge pull request #4222 from nikil/moreutils

moreutils: Fix build failure due to install stripping

7 years agomoreutils: Fix build failure due to install stripping 4222/head
Nikil Mehta [Sat, 1 Apr 2017 20:04:30 +0000 (13:04 -0700)]
moreutils: Fix build failure due to install stripping

Signed-off-by: Nikil Mehta nikil.mehta@gmail.com
7 years agolibs/libpng: Update to 1.6.29 4219/head
Daniel Engberg [Sat, 1 Apr 2017 08:13:40 +0000 (10:13 +0200)]
libs/libpng: Update to 1.6.29

Update libpng to 1.6.29
Add patch to allow older versions of libtool

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agosslh: Add support for external config file
Mircea Horea IONICĂ [Fri, 31 Mar 2017 18:33:24 +0000 (19:33 +0100)]
sslh: Add support for external config file

This allows users to use an external config file if required (for
example matching packets based on SNI hostname or REGEX patterns).

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
Signed-off-by: Mircea Horea IONICĂ <mionica@gmail.com>
7 years agoMerge pull request #4218 from stangri/simple-adblock
Hannu Nyman [Fri, 31 Mar 2017 07:33:54 +0000 (10:33 +0300)]
Merge pull request #4218 from stangri/simple-adblock

simple-adblock: update hosts/domains filters, README

7 years agosimple-adblock: update domains/hosts filters, README. 4218/head
Stan Grishin [Sat, 18 Mar 2017 23:23:35 +0000 (16:23 -0700)]
simple-adblock: update domains/hosts filters, README.

7 years agommc-utils: rely on common variables
Michael Heimpold [Wed, 29 Mar 2017 20:45:58 +0000 (22:45 +0200)]
mmc-utils: rely on common variables

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>
7 years agoMerge pull request #4217 from commodo/ulogd-fix-crash-on-start
Ted Hess [Wed, 29 Mar 2017 20:36:11 +0000 (16:36 -0400)]
Merge pull request #4217 from commodo/ulogd-fix-crash-on-start

ulogd: use strncpy instead of memcpy

7 years agoulogd: use strncpy instead of memcpy 4217/head
Alexandru Ardelean [Thu, 16 Mar 2017 19:33:41 +0000 (21:33 +0200)]
ulogd: use strncpy instead of memcpy

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agoMerge pull request #4196 from pprindeville/drop-CRYPTO_set_id_callback
Hannu Nyman [Wed, 29 Mar 2017 17:08:44 +0000 (20:08 +0300)]
Merge pull request #4196 from pprindeville/drop-CRYPTO_set_id_callback

syslog-ng: fix openssl callbacks to not require backward compatibility