Commit graph

7557 commits

Author SHA1 Message Date
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
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
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
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
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
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
Luiz Angelo Daros de Luca
e66e7d35bc ruby: change source to .xz
It will save about 2M of download. Thanks @diizzyy.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-03-27 23:05:49 -03:00
Michael Heimpold
d235263b94 php7-pecl-dio: upgrade to 0.1.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-03-27 21:44:58 +02:00
Michael Heimpold
5b2a6b921f php7-pecl-http: remove left-over backup directory
This directory was added by mistake in one of the last commits to
this package, just remove it, it's not needed.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-03-27 21:44:51 +02:00
Michael Heimpold
f8be06e956 mmc-utils: upgrade to latest revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-03-27 21:44:48 +02:00
Hannu Nyman
b8f42d79ba Merge pull request #4206 from commodo/tcpreplay-upgrade
tcpreplay: upgrade to version 4.2.1
2017-03-27 17:14:00 +03:00
Hannu Nyman
2fd495edd8 Merge pull request #4181 from yegorich/libsoc
libsoc: new package
2017-03-27 15:20:37 +03:00
Hannu Nyman
444fabcda8 Merge pull request #4193 from TDT-GmbH/mwan3-add-failure-recovery-interval
net/mwan3: add failure and recovery interval
2017-03-27 15:19:11 +03:00
Alexandru Ardelean
eb7f1cdaae tcpreplay: upgrade to version 4.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-03-27 11:58:04 +03:00
Hannu Nyman
a0714019fa Merge pull request #4204 from commodo/python3-upgrade
python3: upgrade to version 3.6.1
2017-03-27 11:57:34 +03:00
Alexandru Ardelean
39680db273 python3: upgrade to version 3.6.1
Dropped patch `002-do-not-add-include-dirs-when-cross-compiling.patch`
Seems upstream also fixed it (yay).

Refreshed patch `011-fix-ncursesw-definition-colisions.patch`

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-03-27 11:44:15 +03:00
Thomas Heil
db1a4ab49a [libs/pcre]: fix CVE-2017-7186
Fix CVE-2017-7186 mentioned in https://bugs.exim.org/show_bug.cgi?id=2052

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-03-27 10:03:16 +02:00
Hannu Nyman
4168e5baaf Merge pull request #4203 from Wedmer/master
[libs/fftw3] Updated to version 3.3.6-pl2
2017-03-27 10:41:08 +03:00
Florian Eckert
ae335e7384 net/mwan3: add failure and recovery interval
If mwan3track detects a failure the interval check will change to
"failure_interval" value until this interface is declared "offline".
After interface gets "offline" normal "interval" value is used again.
If interface ping is successful again "recovery_interval" value is used until
interface is declared "online" again.

Using the different intervals will accelerate the wan line detections on
failure and recovery.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-27 08:45:13 +02:00
Peter Wagner
e90b775740 git: update to 2.12.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-27 00:44:58 +02:00
Vladimir Ulrich
ffbc82e849 [libs/fftw3] Updated to version 3.3.6-pl2
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2017-03-26 23:45:24 +03:00
Peter Wagner
8e493759b8 ntpd: update to 4.2.8p10
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-26 13:39:09 +02:00