Jo-Philipp Wich [Fri, 26 Jun 2015 15:09:13 +0000 (17:09 +0200)]
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>
Jo-Philipp Wich [Thu, 25 Jun 2015 09:38:08 +0000 (11:38 +0200)]
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>
Steven Barth [Fri, 26 Jun 2015 09:31:06 +0000 (11:31 +0200)]
Merge pull request #1475 from ejurgensen/master
forked-daapd: update to 23.2
Daniel Golle [Fri, 26 Jun 2015 02:19:20 +0000 (04:19 +0200)]
gnunet: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Thu, 25 Jun 2015 21:33:47 +0000 (23:33 +0200)]
Merge pull request #1326 from dangowrt/update-libmicrohttpd
libmicrohttpd: update source
Daniel Golle [Fri, 5 Jun 2015 01:26:00 +0000 (03:26 +0200)]
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>
Daniel Golle [Thu, 4 Jun 2015 10:52:31 +0000 (12:52 +0200)]
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>
Daniel Golle [Sun, 31 May 2015 03:28:38 +0000 (05:28 +0200)]
libmicrohttpd: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
ejurgensen [Thu, 25 Jun 2015 20:40:46 +0000 (22:40 +0200)]
forked-daapd: update to 23.2
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
Luka Perkov [Thu, 25 Jun 2015 20:04:35 +0000 (22:04 +0200)]
Merge pull request #1469 from jow-/squid-musl-compat
squid: fix musl compatibility
Luka Perkov [Thu, 25 Jun 2015 20:00:35 +0000 (22:00 +0200)]
snort: add maintainer and SPDX license info
Signed-off-by: Luka Perkov <luka@openwrt.org>
Luka Perkov [Thu, 25 Jun 2015 19:54:58 +0000 (21:54 +0200)]
Merge pull request #1470 from jow-/snort-hardening-fix
snort: fix build with CONFIG_PKG_CHECK_FORMAT_SECURITY
Álvaro Fernández Rojas [Thu, 25 Jun 2015 17:47:49 +0000 (19:47 +0200)]
minicom: fix full language support
Fixes https://github.com/openwrt/packages/issues/1467
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Ted Hess [Thu, 25 Jun 2015 16:38:43 +0000 (12:38 -0400)]
Merge pull request #1472 from psycho-nico/for-upstream
libv4l: fix musl compatibility on 64-bits
Jo-Philipp Wich [Thu, 25 Jun 2015 15:26:37 +0000 (17:26 +0200)]
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>
Nicolas Thill [Thu, 25 Jun 2015 15:10:31 +0000 (17:10 +0200)]
libv4l: fix musl compatibility on 64-bits
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Jo-Philipp Wich [Thu, 25 Jun 2015 14:44:52 +0000 (16:44 +0200)]
Merge pull request #1468 from jow-/sstp-client-musl-compat
sstp-client: fix musl compatibility
Jo-Philipp Wich [Thu, 25 Jun 2015 14:42:52 +0000 (16:42 +0200)]
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>
Jo-Philipp Wich [Thu, 25 Jun 2015 14:30:32 +0000 (16:30 +0200)]
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>
Nuno Goncalves [Thu, 25 Jun 2015 12:51:42 +0000 (13:51 +0100)]
Merge pull request #1466 from jow-/usbip-musl-compat
usb: fix musl compatibility
Jo-Philipp Wich [Thu, 25 Jun 2015 12:49:05 +0000 (14:49 +0200)]
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>
Steven Barth [Wed, 24 Jun 2015 17:00:09 +0000 (19:00 +0200)]
Merge pull request #1461 from chris5560/master
ddns-scripts: fix/update to version 2.4.3-1
Christian Schoenebeck [Wed, 24 Jun 2015 16:46:52 +0000 (18:46 +0200)]
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>
Daniel Golle [Wed, 24 Jun 2015 14:03:45 +0000 (16:03 +0200)]
hiredis: add new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Jo-Philipp Wich [Wed, 24 Jun 2015 11:50:57 +0000 (13:50 +0200)]
Merge pull request #1407 from jow-/wifidog-musl-compat
wifidog: fix musl compatibility
Jo-Philipp Wich [Wed, 24 Jun 2015 11:50:00 +0000 (13:50 +0200)]
Merge pull request #1387 from jow-/etherwake-musl-compat
etherwake: fix musl compatibility
Steven Barth [Wed, 24 Jun 2015 06:44:17 +0000 (08:44 +0200)]
Merge pull request #1333 from br101/master
bluez: Add bluez-daemon package
Jonathan McCrohan [Tue, 23 Jun 2015 22:04:10 +0000 (23:04 +0100)]
Merge pull request #1425 from jow-/mtr-musl-compat
mtr: switch to upstream "newdns" branch
Steven Barth [Tue, 23 Jun 2015 16:40:54 +0000 (18:40 +0200)]
strongswan: add more exceptions to musl-fixes
Signed-off-by: Steven Barth <steven@midlink.org>
Nicolas Thill [Tue, 23 Jun 2015 08:57:35 +0000 (10:57 +0200)]
Merge branch 'ulogd-musl-compat'
Nicolas Thill [Tue, 23 Jun 2015 08:57:12 +0000 (10:57 +0200)]
Merge branch 'ulogd-musl-compat' of git://github.com/jow-/packages into ulogd-musl-compat
Nicolas Thill [Mon, 22 Jun 2015 23:35:41 +0000 (01:35 +0200)]
Merge branch 'jow--keepalived-musl-compat'
Nicolas Thill [Mon, 22 Jun 2015 23:33:11 +0000 (01:33 +0200)]
Merge branch 'keepalived-musl-compat' of git://github.com/jow-/packages into jow--keepalived-musl-compat
Nicolas Thill [Mon, 22 Jun 2015 23:20:02 +0000 (01:20 +0200)]
Merge branch 'paulfertser-macchanger-musl-fix'
Nicolas Thill [Mon, 22 Jun 2015 23:19:27 +0000 (01:19 +0200)]
Merge branch 'macchanger-musl-fix' of git://github.com/paulfertser/packages into paulfertser-macchanger-musl-fix
Nicolas Thill [Mon, 22 Jun 2015 23:06:36 +0000 (01:06 +0200)]
erlang: fix musl compatibility
gethostbyname_r is available when _GNU_SOURCE is defined, add a patch to check for it instead of __GLIBC__, build with -D_GNU_SOURCE, bump release number
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Noah Meyerhans [Mon, 22 Jun 2015 21:44:20 +0000 (14:44 -0700)]
Merge pull request #1436 from ManoftheSea/musl-compat
Make ipsec-tools compatible with musl
Steven Barth [Mon, 22 Jun 2015 15:20:09 +0000 (17:20 +0200)]
Merge pull request #1421 from Zokormazo/bwm-ng
bwm-ng: Fix building with gcc-security enabled
Steven Barth [Mon, 22 Jun 2015 15:16:57 +0000 (17:16 +0200)]
Merge pull request #1380 from mickeprag/master
python-crcmod: new package
Steven Barth [Mon, 22 Jun 2015 15:15:27 +0000 (17:15 +0200)]
Merge pull request #1369 from kissg1988/seafile
seafile: build against libevhtp 1.1 instead of 1.2
Steven Barth [Mon, 22 Jun 2015 15:15:21 +0000 (17:15 +0200)]
Merge pull request #1368 from kissg1988/libevhtp-1.1
libevhtp-1.1: package added
heil [Mon, 22 Jun 2015 12:57:26 +0000 (14:57 +0200)]
haproxy: upstream fixes
- [PATCH 15/18] MEDIUM: ssl: replace standards DH groups with custom
- [PATCH 16/18] BUG/MINOR: debug: display (null) in place of "meth"
- [PATCH 17/18] CLEANUP: deinit: remove codes for cleaning
- [PATCH 18/18] BUG/MINOR: ssl: fix smp_fetch_ssl_fc_session_id
Signed-off-by: heil <heil@terminal-consulting.de>
Ted Hess [Mon, 22 Jun 2015 12:39:53 +0000 (08:39 -0400)]
Merge pull request #1437 from mstorchak/luaposix
luaposix: fix compatibility with musl
Maxim Storchak [Fri, 19 Jun 2015 17:14:33 +0000 (20:14 +0300)]
luaposix: fix compatibility with musl
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Steven Barth [Mon, 22 Jun 2015 10:24:19 +0000 (12:24 +0200)]
strongswan: refresh musl compatibility fixes
Signed-off-by: Steven Barth <steven@midlink.org>
Steven Barth [Mon, 22 Jun 2015 10:03:48 +0000 (12:03 +0200)]
Revert "mysql: disable SSP for ppc (toolchain issue?)"
This reverts commit
e1e671139ca98c39fd6dffe3e7aaf2359cce4533.
Signed-off-by: Steven Barth <steven@midlink.org>
Derek LaHousse [Fri, 19 Jun 2015 16:16:31 +0000 (12:16 -0400)]
ipsec-tools: Make compatible with musl
Based on changes at http://git.alpinelinux.org/cgit/aports/plain/main/ipsec-tools/musl-cdefs.patch
Removed references to "login" and "logout" functions, as musl utmp
doesn't.
Bump PKG_RELEASE
Signed-off-by: Derek LaHousse <dlahouss@mtu.edu>
Karl Palsson [Sun, 21 Jun 2015 17:41:15 +0000 (17:41 +0000)]
libev: Update to 4.20
Minor release, changes from upstream:
- prefer noexcept over throw () with C++ 11.
- update ecb.h due to incompatibilities with c11.
- fix a potential aliasing issue when reading and writing
watcher callbacks.
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Ted Hess [Sun, 21 Jun 2015 21:05:18 +0000 (17:05 -0400)]
Merge pull request #1448 from damianorenfer/master
net/dnscrypt-proxy: update to 1.5.0
Ted Hess [Sun, 21 Jun 2015 21:01:32 +0000 (17:01 -0400)]
Merge pull request #1449 from rkunze/hdparm
hdparm: update to version 9.48
Richard Kunze [Sun, 21 Jun 2015 20:26:55 +0000 (22:26 +0200)]
hdparm: update to version 9.48
Signed-off-by: Richard Kunze <richard.kunze@web.de>
heil [Sun, 21 Jun 2015 19:41:17 +0000 (21:41 +0200)]
nginx: fix musl compatibility
- include Patches according to issue #1129
- refresh Makefile
Signed-off-by: heil <heil@terminal-consulting.de>
Daniel Golle [Sun, 21 Jun 2015 13:24:43 +0000 (15:24 +0200)]
libextractor: build against libarchive-noopenssl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Sun, 21 Jun 2015 19:33:08 +0000 (21:33 +0200)]
lvm2: update sources
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Sun, 21 Jun 2015 19:32:20 +0000 (21:32 +0200)]
Merge pull request #1447 from dangowrt/libarchive-without-openssl
libarchive: add build-variant without libopenssl
Damiano Renfer [Sun, 21 Jun 2015 16:45:30 +0000 (18:45 +0200)]
net/dnscrypt-proxy: update to 1.5.0
Signed-off-by: Damiano Renfer damiano.renfer@gmail.com
Daniel Golle [Sun, 21 Jun 2015 15:29:33 +0000 (17:29 +0200)]
gnunet: build PostgreSQL and mySQL backends
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Sun, 21 Jun 2015 13:17:26 +0000 (15:17 +0200)]
libarchive: add build-variant without libopenssl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Sun, 21 Jun 2015 11:57:37 +0000 (13:57 +0200)]
gnunet: update source to r35963
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Sun, 21 Jun 2015 11:53:07 +0000 (13:53 +0200)]
i2c-tools: import from oldpackages
- license and maintainer added
- bumped to recent release source tarball instead of SVN source
- add archive.org mirror to work-around the lm-sensors.org domain
currently being broken...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Paul Fertser [Sun, 21 Jun 2015 12:06:32 +0000 (15:06 +0300)]
macchanger: fix build with musl
According to netdevice(7) ifr_data is a "char *", not caddr_t.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Nikos Mavrogiannopoulos [Sun, 21 Jun 2015 10:00:02 +0000 (12:00 +0200)]
transmission: bumped version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Steven Barth [Sat, 20 Jun 2015 15:52:11 +0000 (17:52 +0200)]
Merge pull request #1444 from thess/libnetfilter-cleanup
libnetfilter: packages moved to trunk git.openwrt.org/openwrt.git
Ted Hess [Sat, 20 Jun 2015 15:49:30 +0000 (11:49 -0400)]
libnetfilter: packages moved to trunk git.openwrt.org/openwrt.git
Signed-off-by: Ted Hess <thess@kitschensync.net>
Steven Barth [Sat, 20 Jun 2015 14:27:25 +0000 (16:27 +0200)]
Merge pull request #1441 from commodo/ovs-musl
openvswitch: a bit of cleanup + fix musl compatibility
Nikos Mavrogiannopoulos [Sat, 20 Jun 2015 11:56:49 +0000 (13:56 +0200)]
ocserv: depend on radcli
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 20 Jun 2015 11:50:16 +0000 (13:50 +0200)]
libradcli: added package to replace freeradius-client
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Sat, 20 Jun 2015 10:48:40 +0000 (13:48 +0300)]
Merge pull request #1442 from nmav/oc
openconnect: added support for supplying a fixed second password.
Nikos Mavrogiannopoulos [Sat, 20 Jun 2015 10:36:55 +0000 (12:36 +0200)]
openconnect: updated documentation
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Thu, 18 Jun 2015 20:40:25 +0000 (22:40 +0200)]
openconnect: allow processing multiple passwords from stdin
Resolves #1419
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Alexandru Ardelean [Sat, 20 Jun 2015 06:32:29 +0000 (09:32 +0300)]
openvswitch: fix musl compatibility
Remove libatomic support from OVS: musl's libatomic seems incomplete.
Conditionally compile <net/if_packet.h>.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Sat, 20 Jun 2015 06:31:34 +0000 (09:31 +0300)]
openvswitch: cleanup makefile (remove explicit build rules)
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Álvaro Fernández Rojas [Fri, 19 Jun 2015 19:06:51 +0000 (21:06 +0200)]
minicom: fix iconv dependencies, music includes and musl compatibility
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Steven Barth [Fri, 19 Jun 2015 16:38:44 +0000 (18:38 +0200)]
strongswan: fix musl builds, reenable lost modules
Signed-off-by: Steven Barth <steven@midlink.org>
Steven Barth [Fri, 19 Jun 2015 14:52:13 +0000 (16:52 +0200)]
mysql: disable SSP for ppc (toolchain issue?)
Signed-off-by: Steven Barth <steven@midlink.org>
Jo-Philipp Wich [Fri, 19 Jun 2015 14:03:08 +0000 (16:03 +0200)]
Merge pull request #1426 from jow-/tinc-musl-compat
tinc: fix musl compatibility
Jonas Gorski [Fri, 19 Jun 2015 11:07:17 +0000 (13:07 +0200)]
znc: update to 1.6.0
Fixes compilation with musl.
Requires GCC 4.7 or newer, so broken for octeon.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Jo-Philipp Wich [Fri, 19 Jun 2015 10:21:26 +0000 (12:21 +0200)]
Merge pull request #1427 from jow-/tgt-musl-compat
tgt: fix musl compatibility
Matthias Schiffer [Fri, 19 Jun 2015 02:16:09 +0000 (04:16 +0200)]
fastd: fix musl compatibility
Prefer linux/if_ether.h over netinet/if_ether.h if available since the
musl libc if_ether.h header does not allow mixing with kernel headers,
it will result in a struct ethhdr redefinition error.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Nuno Goncalves [Fri, 19 Jun 2015 00:55:52 +0000 (01:55 +0100)]
Merge pull request #1428 from jow-/tcsh-musl-compat
tcsh: fix musl compatibility
Marcel Denia [Fri, 12 Jun 2015 13:23:30 +0000 (15:23 +0200)]
perl-*: Bump PKG_RELEASE
Trigger a rebuild to make everything adapt to perl 5.22.0.
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Tue, 9 Jun 2015 17:43:35 +0000 (19:43 +0200)]
perl: Update to 5.22.0
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Thu, 18 Jun 2015 18:18:08 +0000 (20:18 +0200)]
perl: Disable strerror_r usage with musl
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Wed, 17 Jun 2015 16:38:06 +0000 (18:38 +0200)]
perl: Enable threading support by default for all libc implementations
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Sun, 14 Jun 2015 15:50:17 +0000 (17:50 +0200)]
perl: Upgrade base package dependencies
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Tue, 9 Jun 2015 17:49:36 +0000 (19:49 +0200)]
perl: Upgrade base package definitions
- Remove perlbase-cgi
- Remove Module::Build from perlbase-module
- Remove perlbase-package
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Thu, 11 Jun 2015 16:11:14 +0000 (18:11 +0200)]
perl: Upgrade configuration files to perl 5.22.0
Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia [Tue, 9 Jun 2015 19:31:26 +0000 (21:31 +0200)]
perl: Have perl's major version number in one central place
This will simplify updating the package in the future.
Signed-off-by: Marcel Denia <naoir@gmx.net>
Jo-Philipp Wich [Thu, 18 Jun 2015 21:51:28 +0000 (23:51 +0200)]
Merge pull request #1416 from jow-/vpnc-musl-compat
vpnc: fix musl compatibility
Luka Perkov [Thu, 18 Jun 2015 21:49:41 +0000 (23:49 +0200)]
Merge pull request #1410 from jow-/libnet-musl-compat
libnet-1.2.x: fix musl compatiblity
Luka Perkov [Thu, 18 Jun 2015 21:48:30 +0000 (23:48 +0200)]
Merge pull request #1429 from jow-/sysstat-musl-compat
sysstat: fix musl compatibility
Ted Hess [Thu, 18 Jun 2015 20:27:18 +0000 (16:27 -0400)]
gst1-libav: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
Ted Hess [Thu, 18 Jun 2015 19:06:29 +0000 (15:06 -0400)]
mocp: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
Jo-Philipp Wich [Thu, 18 Jun 2015 18:42:00 +0000 (20:42 +0200)]
sysstat: fix musl compatibility
Add missing `limits.h` and `sys/types.h` includes to the appropriate
source files.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Thu, 18 Jun 2015 18:32:50 +0000 (20:32 +0200)]
tcsh: fix musl compatibility
Avoid using `union wait` under musl as it does not provide this definition.
Implement solution suggested by http://www.openwall.com/lists/musl/2013/06/21/4
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Thu, 18 Jun 2015 18:16:34 +0000 (20:16 +0200)]
tgt: fix musl compatibility
- Include `sys/user.h` if `__WORDSIZE` is undefined
- Add `fcntl.h` to `libscc.c` in order to declare `loff_t`
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Thu, 18 Jun 2015 17:48:17 +0000 (19:48 +0200)]
tinc: fix musl compatibility
Let configure include `sys/if_tun.h` when testing for `netinet/if_ether.h`
to detect the Kernel/libc header conflict on musl.
After this patch, configure will correctly detect `netinet/if_ether.h` as
unusable and the subsequent compilation will not attempt to use it.
Fixes the following compatibility error:
In file included from .../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/linux/if_tun.h:20:0,
from linux/device.c:24:
.../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/linux/if_ether.h:137:8: error: redefinition of 'struct ethhdr'
struct ethhdr {
^
In file included from .../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/net/ethernet.h:10:0,
from linux/../have.h:180,
from linux/../system.h:26,
from linux/device.c:21:
.../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/netinet/if_ether.h:96:8: note: originally defined here
struct ethhdr {
^
make[5]: *** [linux/device.o] Error 1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Julen Landa Alustiza [Thu, 18 Jun 2015 16:48:31 +0000 (18:48 +0200)]
Merge remote-tracking branch 'upstream/master' into bwm-ng
Julen Landa Alustiza [Thu, 18 Jun 2015 16:45:04 +0000 (18:45 +0200)]
bwm-ng: fix building with gcc-security enabled
Signed-off-by: Julen Landa Alustiza <julen@zokormazo.info>
Jo-Philipp Wich [Thu, 18 Jun 2015 15:32:51 +0000 (17:32 +0200)]
mtr: switch to upstream "newdns" branch
Switch the mtr package to the upstream `newdns` git branch.
This will fix compilation on Glibc, uClibc and musl without requiring
further patches.
Note that the base version of this branch is 0.85, not 0.86 so the
lower version number is intentional.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>