Commit graph

7726 commits

Author SHA1 Message Date
Florian Eckert
51367883fc net/mwan3: unify logging in mwan3track
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-04 15:33:37 +02:00
Florian Eckert
23339d7ae1 net/mwan3: move global mwan3track into main function
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-04 15:01:34 +02:00
Jo-Philipp Wich
1a9597382c Merge pull request #4207 from diizzyy/patch-41
net/vnstat: Update to 1.17
2017-04-04 14:47:39 +02:00
Hannu Nyman
23fada1e8c Merge pull request #4234 from dibdot/package-adblock
adblock: update 2.5.1
2017-04-04 15:28:07 +03:00
Dirk Brenken
1fdf5d1e7e 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>
2017-04-04 14:15:30 +02:00
Florian Fainelli
37e8aa3639 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>
2017-04-03 19:21:27 -07:00
Thomas Heil
f04adc3dda 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>
2017-04-03 13:50:03 +02:00
Hannu Nyman
4cfebf8c83 Merge pull request #4138 from Ansuel/update-webui
webui-aria2: update to last commit
2017-04-03 10:50:25 +03:00
Florian Fainelli
94478ebff8 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>
2017-04-02 20:00:33 -07:00
Florian Fainelli
a04b137c87 Merge pull request #4224 from ffainelli/mdns
mdnsresponder: Also pass TARGET_CPPFLAGS
2017-04-02 19:12:19 -07:00
Ted Hess
29e4eadf93 Merge pull request #4231 from ffainelli/squeezelite
squeezelite: Specify all libraries to link against
2017-04-02 20:50:51 -04:00
Florian Fainelli
dad9606d4d 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>
2017-04-02 14:26:07 -07:00
Florian Fainelli
75091d42e1 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>
2017-04-02 14:17:33 -07:00
Florian Fainelli
828a72d6ff 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>
2017-04-02 14:02:09 -07:00
Florian Fainelli
11543475e3 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>
2017-04-02 13:56:08 -07:00
Peter Wagner
dd46a5fc1b libsndfile: update to 1.0.28
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-04-02 20:44:31 +02:00
Álvaro Fernández Rojas
bdd603b61c Merge pull request #4230 from ffainelli/unrar
unrar: Properly pass LDFLAGS
2017-04-02 20:39:30 +02:00
Florian Fainelli
2e5deb6263 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>
2017-04-02 11:36:20 -07:00
Florian Fainelli
6ecc58abce 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>
2017-04-02 11:32:19 -07:00
Ansuel Smith
ec2ec6f4bc
webui-aria2: update to last commit
Update to last commit

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2017-04-02 18:29:16 +02:00
Hannu Nyman
c275bd2bf4 Merge pull request #4190 from InkblotAdmirer/dnscrypt_plugins
dnscrypt-proxy: add optional plugins
2017-04-02 16:37:24 +03:00
Ted Hess
b7dae3c921 Merge pull request #4225 from ffainelli/x264
libx264: Blacklist all MIPS CPUs for assembly optimizations
2017-04-02 07:08:37 -04:00
Hannu Nyman
f67f708560 Merge pull request #4227 from dibdot/package-travelmate
travelmate: update 0.6.0
2017-04-02 12:22:41 +03:00
Hannu Nyman
834c400a04 Merge pull request #4228 from diizzyy/patch-44
net/stunnel: Update to 5.41
2017-04-02 11:56:36 +03:00
Daniel Engberg
4f3b2f83d8 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>
2017-04-02 10:49:49 +02:00
Dirk Brenken
cf919894d6 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>
2017-04-02 07:41:57 +02:00
Florian Fainelli
d9b6d1bbc8 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>
2017-04-01 18:07:44 -07:00
Florian Fainelli
16750dd412 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>
2017-04-01 18:04:47 -07:00
Florian Fainelli
49ed5295b1 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>
2017-04-01 17:53:47 -07:00
Florian Fainelli
39b2c6f2f5 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>
2017-04-01 17:52:34 -07:00
Florian Fainelli
df1236a51a 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>
2017-04-01 17:52:24 -07:00
Florian Fainelli
0c432f8902 Merge pull request #4128 from ffainelli/dansguardian-fix
dansguardian: Fix build error due to missing cstdlib include
2017-04-01 17:51:39 -07:00
Hannu Nyman
b505c3e671 Merge pull request #4222 from nikil/moreutils
moreutils: Fix build failure due to install stripping
2017-04-02 03:34:39 +03:00
Nikil Mehta
f1ec183605 moreutils: Fix build failure due to install stripping
Signed-off-by: Nikil Mehta nikil.mehta@gmail.com
2017-04-01 13:05:59 -07:00
Daniel Engberg
f24db23b8d 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>
2017-04-01 10:14:02 +02:00
Mircea Horea IONICĂ
727cb7e6e7 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>
2017-03-31 22:51:37 +01:00
Hannu Nyman
16ac0e8205 Merge pull request #4218 from stangri/simple-adblock
simple-adblock: update hosts/domains filters, README
2017-03-31 10:33:54 +03:00
Stan Grishin
281c4f8ec9 simple-adblock: update domains/hosts filters, README. 2017-03-30 17:16:20 -07:00
Michael Heimpold
77dd883e3e 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>
2017-03-29 22:52:54 +02:00
Ted Hess
da354276ec Merge pull request #4217 from commodo/ulogd-fix-crash-on-start
ulogd: use strncpy instead of memcpy
2017-03-29 16:36:11 -04:00
Alexandru Ardelean
953f951c5e ulogd: use strncpy instead of memcpy
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-03-29 22:20:29 +03:00
Hannu Nyman
cc02cb2cf5 Merge pull request #4196 from pprindeville/drop-CRYPTO_set_id_callback
syslog-ng: fix openssl callbacks to not require backward compatibility
2017-03-29 20:08:44 +03:00
Philip Prindeville
f3a8766954 syslog-ng: fix openssl callbacks to not require backward compatibility
The functions for registering callbacks for threads has changed
in OpenSSL 1.0.0.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-03-29 09:47:14 -06:00
Ted Hess
050e88ee87 avahi: Change avahi-utils dependency to allow stand-alone selection
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-03-28 16:29:55 -04:00
Luka Perkov
8705dec5d0 Merge pull request #4215 from sartura/typo-fix
libwebsockets: fix typos referencing package name
2017-03-28 18:12:16 +02:00
Denis Osvald
7982274860 libwebsockets: fix typos referencing package name
In commit f82287cf5c (treewide: use name in define and eval lines)
two typos were committed as result of replacing PKG_NAME macro with
actual package name.

Undo those typos here to make the affected variants installable.

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
2017-03-28 17:50:01 +02:00
Thomas Heil
afeac709c8 package: haproxy
Correct Download Url to http://www.haproxy.org/download/1.7/src

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-28 13:16:19 +02:00
Thomas Heil
bb33a56225 package: haproxy bump to latest stable 1.7.4
[RELEASE] Released version 1.7.4

    Released version 1.7.4 with the following main changes :
        - MINOR: config: warn when some HTTP rules are used in a TCP proxy
        - BUG/MINOR: spoe: Fix soft stop handler using a specific id for spoe filters
        - BUG/MINOR: spoe: Fix parsing of arguments in spoe-message section
        - BUG/MEDIUM: ssl: Clear OpenSSL error stack after trying to parse OCSP file
        - BUG/MEDIUM: cli: Prevent double free in CLI ACL lookup
        - BUG/MINOR: Fix "get map <map> <value>" CLI command
        - BUG/MAJOR: connection: update CO_FL_CONNECTED before calling the data layer
        - BUG/MEDIUM: ssl: switchctx should not return SSL_TLSEXT_ERR_ALERT_WARNING
        - BUG/MINOR: checks: attempt clean shutw for SSL check
        - CONTRIB: tcploop: add limits.h to fix build issue with some compilers
        - CONTRIB: tcploop: make it build on FreeBSD
        - CONTRIB: tcploop: fix time format to silence build warnings
        - CONTRIB: tcploop: report action 'K' (kill) in usage message
        - CONTRIB: tcploop: fix connect's address length
        - CONTRIB: tcploop: use the trash instead of NULL for recv()
        - BUG/MEDIUM: listener: do not try to rebind another process' socket
        - BUG/MEDIUM: filters: Fix channels synchronization in flt_end_analyze
        - BUG/MAJOR: stream-int: do not depend on connection flags to detect connection
        - BUG/MEDIUM: connection: ensure to always report the end of handshakes
        - BUG: payload: fix payload not retrieving arbitrary lengths
        - BUG/MAJOR: http: fix typo in http_apply_redirect_rule
        - MINOR: doc: 2.4. Examples should be 2.5. Examples
        - BUG/MEDIUM: stream: fix client-fin/server-fin handling
        - MINOR: fd: add a new flag HAP_POLL_F_RDHUP to struct poller
        - BUG/MINOR: raw_sock: always perfom the last recv if RDHUP is not available
        - DOC/MINOR: Fix typos in proxy protocol doc
        - DOC: Protocol doc: add checksum, TLV type ranges
        - DOC: Protocol doc: add SSL TLVs, rename CHECKSUM
        - DOC: Protocol doc: add noop TLV
        - MEDIUM: global: add a 'hard-stop-after' option to cap the soft-stop time
        - BUG/MINOR: cfgparse: loop in tracked servers lists not detected by check_config_validity().
        - MINOR: server: irrelevant error message with 'default-server' config file keyword.
        - MINOR: doc: fix use-server example (imap vs mail)
        - BUG/MEDIUM: tcp: don't require privileges to bind to device
        - BUILD: make the release script use shortlog for the final changelog
        - BUILD: scripts: fix typo in announce-release error message

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-28 11:42:16 +02:00
Thomas Heil
4a4b1ba07c package: memcached - upgrade to latest stable
bump to version 1.4.36

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-28 11:34:23 +02:00
Luiz Angelo Daros de Luca
d4d499a586 Merge pull request #4211 from luizluca/ruby_update
ruby: change source to .xz
2017-03-27 23:10:04 -03:00