Commit graph

3715 commits

Author SHA1 Message Date
Othmar Truniger
3cf6ae0fb1 linknx: fix musl compatibility
Signed-off-by: Othmar Truniger <github@truniger.ch>
2015-06-27 22:55:51 +02:00
Othmar Truniger
77cee81ca0 knxd: fix musl compatibility
Signed-off-by: Othmar Truniger <github@truniger.ch>
2015-06-27 21:49:25 +02:00
Jo-Philipp Wich
474a5bf795 screen: remove leftover Makefile code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-27 14:31:29 +02:00
Jo-Philipp Wich
371bf39546 screen: fix autoconf misdetection
The configure script shipped by screen uses the presence of `elf.h` and `-lelf`
as indicator for an SVR4 system which implies a `#define BUGGYGETLOGIN`.

The SVR4 `getlogin()` replacement function does not compile with a musl
toolchain and we do not want it anyway, so patch configure to remove the broken
SVR4 detection logic.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-27 14:29:48 +02:00
Jo-Philipp Wich
572fd1e40b Merge pull request #1439 from mstorchak/iodine
iodine: fix musl compatibility
2015-06-27 13:30:05 +02:00
Jo-Philipp Wich
1696390af8 Merge pull request #1483 from jow-/open-plc-utils-musl-compat
open-plc-utils: fix musl and fortify source compatibility
2015-06-27 11:19:07 +02:00
Nikos Mavrogiannopoulos
3ed70bb772 vpnc-scripts: bumped version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-27 08:22:07 +02:00
Nikos Mavrogiannopoulos
c70aff2445 Merge pull request #1489 from nmav/dns
vpnc-script: handle multiple servers in INTERNAL_IP_DNS vars
2015-06-27 09:20:37 +03:00
Nikos Mavrogiannopoulos
39ecf00d65 vpnc-script: handle multiple servers in INTERNAL_IP_DNS vars
Resolves #1372

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-27 08:15:29 +02:00
Ted Hess
5d540875a1 Merge pull request #1488 from thess/mpd-0.19-work
mpd: Upgrade to 0.19.10, refresh patches
2015-06-26 17:57:24 -04:00
Ted Hess
77224a6124 Merge pull request #1487 from thess/boost-build-fix
boost: force build of meta-package to satisfy other package dependencies
2015-06-26 17:56:53 -04:00
Ted Hess
62d824dc7b Merge pull request #1460 from cjkoenig/update_mpc
mpc: update to 0.27
2015-06-26 17:04:08 -04:00
Ted Hess
19d76b3b32 boost: force build of meta-package to satisfy other package dependencies
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-26 16:49:11 -04:00
Ted Hess
8b09195b2b mpd: Upgrade to 0.19.10, refresh patches
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-26 16:46:05 -04:00
heil
7c0d75e013 haproxy: bugfix release 1.5.13
Released version 1.5.13 with the following main changes :
  - BUG/MINOR: check: fix tcpcheck error message
  - CLEANUP: deinit: remove codes for cleaning p->block_rules
  - DOC: Update doc about weight, act and bck fields in the statistics
  - MINOR: ssl: add a destructor to free allocated SSL ressources
  - BUG/MEDIUM: ssl: fix tune.ssl.default-dh-param value being overwritten
  - MEDIUM: ssl: replace standards DH groups with custom ones
  - BUG/MINOR: debug: display (null) in place of "meth"
  - BUG/MINOR: cfgparse: fix typo in 'option httplog' error message
  - BUG/MEDIUM: cfgparse: segfault when userlist is misused
  - BUG/MEDIUM: stats: properly initialize the scope before dumping stats
  - BUG/MEDIUM: http: don't forward client shutdown without NOLINGER except for tunnels
  - CLEANUP: checks: fix double usage of cur / current_step in tcp-checks
  - BUG/MEDIUM: checks: do not dereference head of a tcp-check at the end
  - CLEANUP: checks: simplify the loop processing of tcp-checks
  - BUG/MAJOR: checks: always check for end of list before proceeding
  - BUG/MEDIUM: checks: do not dereference a list as a tcpcheck struct
  - BUG/MEDIUM: peers: apply a random reconnection timeout
  - BUG/MINOR: ssl: fix smp_fetch_ssl_fc_session_id
  - MEDIUM: init: don't stop proxies in parent process when exiting
  - MINOR: peers: store the pointer to the signal handler
  - MEDIUM: peers: unregister peers that were never started
  - MEDIUM: config: propagate the table's process list to the peers sections
  - MEDIUM: init: stop any peers section not bound to the correct process
  - MEDIUM: config: validate that peers sections are bound to exactly one process
  - MAJOR: peers: allow peers section to be used with nbproc > 1
  - DOC: relax the peers restriction to single-process
  - CLEANUP: config: fix misleading information in error message.
  - MINOR: config: report the number of processes using a peers section in the error case
  - BUG/MEDIUM: config: properly compute the default number of processes for a proxy

Signed-off-by: heil <heil@terminal-consulting.de>
2015-06-26 18:02:49 +02:00
Jo-Philipp Wich
fdde981522 net-snmp: fix musl compatibility
Fixup `iwlib.h` to not consider an musl environment to be an unsupported
platform.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 17:47:33 +02:00
Jo-Philipp Wich
d9e391bbce Merge pull request #1480 from jow-/postfix-musl-compat
postfix: fix musl compatibility
2015-06-26 17:28:40 +02:00
Jo-Philipp Wich
cbf11196b7 ntpd: fix fortify source compatibility
The ntpd package ships autoconf macros which attempt to test for the C99
compliance of `snprintf()` and `vsnprintf()`.

Those macros unconditionally consider the functions not compliant in a cross
compile setting and therfore break all subsequent configure tests because
the `snprintf` and `vsnprintf` symbols are shadowed with `#define` directives
redirecting them to their respectiv gnulib replacements.

The fortify source headers in turn will `#undef` those defines when wrapping
the associated functions and therfore cause all `conftest` programs to emit
a failure.

Pass the required magic autoconf cache variables via `CONFIGURE_VARS` to let
`./configure` assume C99 compliance of the affected functions, thus fixing
the build.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 17:17:13 +02:00
Micke Prag
b506d3b835 python-pyserial: new package
This is the pyserial package ported from oldpackages. It is a
bumped version and depends on python-light instead of python-mini

Signed-off-by: Micke Prag <micke.prag@telldus.se>
2015-06-26 16:52:10 +02:00
Jo-Philipp Wich
e10abaf165 ntripclient: fix musl comaptibility
Add missing `sys/select.h` include to `ntripclient.c` to provide
declarations for `struct timeval` and `fd_set` under musl.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 16:48:26 +02:00
Jo-Philipp Wich
d3c279d4f6 open-plc-utils: fix musl and fortify source compatibility
- Include `poll.h` at the top of `ether/readpacket.c` to avoid nested
   declaration errors caused by fortify source headers
 - Add missing `sys/select.h` include to `serial/serial.c`

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 16:41:26 +02:00
Jo-Philipp Wich
e86ca8c6e1 Merge pull request #1464 from jow-/c-ares-fortify-source-fix
c-ares: fix build with CONFIG_PKG_FORTIFY_SOURCE*
2015-06-26 15:51:15 +02:00
Jo-Philipp Wich
a187bc8d57 opennhrp: fix musl compatibility
- Add `fcntl.h` to `nrhp/opennhrp.c` for `open()`, `O_WRONLY` etc.
 - Add missing `sys/types.h` include to `nrhp/nrhp_common.h` to provide
   required `u_int*_t` types under musl

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 15:48:25 +02:00
Jo-Philipp Wich
940c522cf6 lm-sensors: fix musl compatibility
Only use `asm/io.h` for uClibc, else include `sys/io.h`

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 15:10:03 +02:00
Jo-Philipp Wich
abcadcbede postfix: fix musl compatibility
The current package patches `makedefs` to probe for the existance
of the `nsl` and `resolv` libraries but uses the wrong variables
for the prefix, leading to `makedefs` probing the host directories,
not the staging dir ones.

Replace `$PKG_BUILD_DIR` with `$STAGING_DIR` to perform the library
tests in the correct directory.

Fixes the following error spotted by doing test builds against musl
which does not provide a `libnsl`:

    .../mips-openwrt-linux-musl/bin/ld: cannot find -lnsl
    collect2: error: ld returned 1 exit status
    make: *** [master] Error 1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 14:55:33 +02:00
Jo-Philipp Wich
f1fbc7f51e pthsem: fix musl and fortify source compatibility
This commit addresses two issues encountered while building pthsem for
x86_64/musl:

1) Autoconf incorrectly assumes a broken Glibc and thus falls back
   to Linux compatibility code which runs into an unsupported
   platform error with musl libc. Since musl provides a proper
   implementation of `sigaltstack(2)`, force configure to use the
   POSIX compliant code when musl libc is used.

2) The `pth_syscall.c` file undefines various libc function names
   which breaks the indirection set up by fortify-source headers,
   therefore forcibly disable fortify source in the OpenWrt Makefile.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 12:13:03 +02:00
Steven Barth
22cd467290 Merge pull request #1475 from ejurgensen/master
forked-daapd: update to 23.2
2015-06-26 11:31:06 +02:00
Daniel Golle
2925877e73 gnunet: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-26 04:20:08 +02:00
Daniel Golle
edb90c8ded Merge pull request #1326 from dangowrt/update-libmicrohttpd
libmicrohttpd: update source
2015-06-25 23:33:47 +02:00
Daniel Golle
9e221b6b83 libmicrohttpd: import fixes from subversion repo
Fixes a memleak as well as a bug in digest authentication.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-25 23:28:54 +02:00
Daniel Golle
24056cfdad libmicrohttpd: get rid of OpenSSL dependency
Depending on both, GnuTLS and OpenSSL doesn't make sense, we should
use either TLS implementation but not both. Use GnuTLS for now and
get rid of OpenSSL dependency by explicitely telling the package's
build-system to do so using CONFIGURE_ARGS.

If future uses of libmicrohttpd require OpenSSL, it probably makes
most sense to build several variants of the package, i.e.
libmicrohttpd-openssl as well as libmicrohttpd-gnutls. As with most
packages making use of any TLS implementation, these are build-time
decissions resulting in conflicting variants of the same package
which cannot be installed simultanously.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-25 23:25:46 +02:00
Daniel Golle
e14423f866 libmicrohttpd: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-25 23:25:45 +02:00
ejurgensen
5c0d034171 forked-daapd: update to 23.2
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2015-06-25 22:40:46 +02:00
Luka Perkov
0983670143 Merge pull request #1469 from jow-/squid-musl-compat
squid: fix musl compatibility
2015-06-25 22:04:35 +02:00
Luka Perkov
c6ffaa34d6 snort: add maintainer and SPDX license info
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-06-25 22:00:35 +02:00
Luka Perkov
b35efb38d5 Merge pull request #1470 from jow-/snort-hardening-fix
snort: fix build with CONFIG_PKG_CHECK_FORMAT_SECURITY
2015-06-25 21:54:58 +02:00
Álvaro Fernández Rojas
b73068365d minicom: fix full language support
Fixes https://github.com/openwrt/packages/issues/1467

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-06-25 19:47:49 +02:00
Maxim Storchak
5d4955c9ff iodine: fix musl compatibility
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-06-25 19:57:50 +03:00
Ted Hess
e553e65f2f Merge pull request #1472 from psycho-nico/for-upstream
libv4l: fix musl compatibility on 64-bits
2015-06-25 12:38:43 -04:00
Jo-Philipp Wich
a89c0cadcf shadowsocks-client: fix fortify source compatibility
The shadowsocks source uses the name `encrypt` which is already reserved by
the `unistd.h` header. Rename the local `encrypt` and `decrypt` functions to
`crypto_encrypt` and `crypto_decrypt` in order to prevent clashes with the
standard headers.

Fixes the following build error oberserved on the buildbot:

    In file included from client.c:19:0:
    crypto.h:18:5: error: conflicting types for 'encrypt'
     int encrypt(int sockfd, struct link *ln);
         ^
    In file included from .../staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_musl-1.1.10/include/fortify/unistd.h:20:0,
                     from client.c:12:
    .../staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_musl-1.1.10/include/unistd.h:145:6: note: previous declaration of 'encrypt' was here
     void encrypt(char *, int);
          ^
    make[3]: *** [sslocal] Error 1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 18:02:37 +02:00
Jo-Philipp Wich
eaf4652760 snort: fix build with CONFIG_PKG_CHECK_FORMAT_SECURITY
The configure script incorrectly mangles `CFLAGS` by attempting to remove
`-Werror` from it, thus turning `-Werror=format-security` into just
`=format-security` which will cause subsequent autoconf tests to fail.

Patch out the custom `CFLAGS` mangling to fix the build.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 17:29:22 +02:00
Nicolas Thill
9aa904b04b libv4l: fix musl compatibility on 64-bits
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-06-25 17:10:31 +02:00
Jo-Philipp Wich
321043ede9 Merge pull request #1468 from jow-/sstp-client-musl-compat
sstp-client: fix musl compatibility
2015-06-25 16:44:52 +02:00
Jo-Philipp Wich
768f1a42ae squid: fix musl compatibility
Change `sys/signal.h` include to just `signal.h`. The build otherwise fails
due to `-Werror` with the following message:

    In file included from rfcnb-io.c:43:0:
    .../staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_musl-1.1.10/include/sys/signal.h:1:2: error: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Werror=cpp]
     #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
      ^
    cc1: all warnings being treated as errors

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 16:44:11 +02:00
Jo-Philipp Wich
419637e17f sstp-client: fix musl compatibility
- Ship a `net/ppp_defs.h` replacement header since musl does not provide one
   but `pppd/pppd.h` provided by pppd is needing it.
 - Add missing `sys/types.h` includes

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 16:31:58 +02:00
Nuno Goncalves
50b3175b12 Merge pull request #1466 from jow-/usbip-musl-compat
usb: fix musl compatibility
2015-06-25 13:51:42 +01:00
Jo-Philipp Wich
757de70511 usb: fix musl compatibility
Replace the nonstandard `SIGCLD` signal name with the proper `SIGCHLD` spelling
as the `SIGCLD` alias is not provided by musl.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 14:49:52 +02:00
Jo-Philipp Wich
2e73fcd4b0 c-ares: fix build with CONFIG_PKG_FORTIFY_SOURCE*
When fortify source is enabled, the c-ares configure script will abort with:
    configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1

Change the OpenWrt Makefile to move any -D flags from TARGET_CFLAGS to
TARGET_CPPFLAGS in order to satisfy `configure`.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 12:57:36 +02:00
Steven Barth
07c0677b7b Merge pull request #1461 from chris5560/master
ddns-scripts: fix/update to version 2.4.3-1
2015-06-24 19:00:09 +02:00
Christian Schoenebeck
3788dd697b ddns-scripts: fix/update to version 2.4.3-1
fixed sed when filtering IP address from nslookup output
because "Server:" block might have multiple address lines.
Thanks to Arjen de Korte

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-06-24 18:46:52 +02:00