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
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
Jo-Philipp Wich [Wed, 17 Jun 2015 22:28:37 +0000 (00:28 +0200)]
vpnc: fix musl compatibility
- Add missing `sys/ttydefaults.h` include to `config.c`
- Restrict usage of `error.h` to glibc and uclibc only
- Avoid including `linux/if_tun.h` on non-glibc/uclibc to prevent
musl kernel/libc header conflicts
Jo-Philipp Wich [Wed, 17 Jun 2015 21:31:40 +0000 (23:31 +0200)]
libnet-1.2.x: fix musl compatiblity
The correct includes for musl are protected by an __GLIBC__ check in the
upstream sources.
Since musl does not provide own defines to identify itself, simply invert
the condition to !__UCLIBC__ in order to fix the build on all libc flavors
supported by OpenWrt.
Jo-Philipp Wich [Wed, 17 Jun 2015 17:27:37 +0000 (19:27 +0200)]
xinetd: fix musl compatibility
Pass HAVE_RLIM_T via TARGET_CPPFLAGS since configure uses that define
but never actually declares it.
Without doing that, `config.h` tries to declare `rlim_t` itself which
leads to `config.h:126:16: error: 'long long long' is too long for GCC`
with musl on at least x86_64.
Jo-Philipp Wich [Wed, 17 Jun 2015 17:09:55 +0000 (19:09 +0200)]
zabbix: fix musl compatibility
Under musl a compilation unit cannot include both linux/kernel.h
and sys/sysinfo.h at the same time since that leads to a redefinition
of `struct sysinfo`.
Change the autoconf template to include linux/kernel.h while testing
for sys/sysinfo.h to test for that conflict.
Jo-Philipp Wich [Wed, 17 Jun 2015 15:36:03 +0000 (17:36 +0200)]
perl: fix musl compatibility
- Add patch to inhibit the libm IEEE math switch on musl
- Add postprocessing for config.sh to the Makefile to fixup
defines for musl, idea taken
from http://patchwork.openembedded.org/patch/91707/
This is the least invasive approach I could come up to fix the build
failure asap. Another possibility is maintaining yet another set of
musl specific architecture config files, but I think that this introduces
a lot of maintenance overhead.
Yousong Zhou [Wed, 17 Jun 2015 13:37:24 +0000 (21:37 +0800)]
libpam: bump to 1.2.0
- Add configure options --disable-nis, --disable-regenerate-docu
- 000-OE-libpam-xtests.patch is not relevant in OpenWrt
- 001-no_nis.patch was dropped because we now --disable-nis
- 002-no_yywrap.patch was dropped be cause it was fixed in 1.2.0
- 003-no_doc was dropped because we ignore doc/ with
--disable-regenreate-docu
- 004-fix_lib64 was replaced by new 0001-build-use-host_cpu...
- pam_rhosts will not be built with musl because ruserok{,_af{
are not available
- pam_lastlog will not be built with musl because logwtmp is missing
[sqm-scripts/luci-app-sqm] Document how to disable shaping on a per direction basis
sqm-scripts for a long time interprets a "Down- or Upload speed" of zero as
an indication that the shaper should be disabled. Note that really shaping
an individual direction down o zero will make the link effectively dead
for tcp (think reverse ACK traffic). Son instead of allowing the user to
configure something broken, 0 was "over-loaded" to denote no shaping
since several years, but that information has not been documented visibly
to the users. This commit aims at fixing that oversight.
Jo-Philipp Wich [Tue, 16 Jun 2015 22:10:05 +0000 (00:10 +0200)]
pptpd: 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.
- Replace deprecated MSG_TRYHARD flag with the proper MSG_DONTROUTE one
- Unconditionally include string.h in bcrelay to avoid undeclared memset()
and strcpy() warnings.
Jo-Philipp Wich [Tue, 16 Jun 2015 14:32:21 +0000 (16:32 +0200)]
aiccu: fix musl compatibility
- Fix redefinition of struct ethhdr
- Restrict the use of res_ninit() and res_nquery() to glibc
- Fix a warning in dn_skipname.c by declaring ns_name_skip() static
- Refresh patches
Gergely Kiss [Sun, 14 Jun 2015 16:04:23 +0000 (18:04 +0200)]
seafile: build against libevhtp 1.1 instead of 1.2
This fixes multiple issues like upload/download problems on seahub
and also makes it possible to use the new HTTP syncing feature
which doesn't work with libevhtp 1.2.10 at all.
Gergely Kiss [Sun, 14 Jun 2015 16:01:25 +0000 (18:01 +0200)]
libevhtp-1.1: package added
seafile-server seems to have compatibility issues with the 1.2 branch of
libevtp. This package makes it possible to build seafile against a
supported version, 1.1.7.
heil [Thu, 11 Jun 2015 17:03:14 +0000 (19:03 +0200)]
haproxy: add patches from upstream
- [PATCH 1/2] BUG/MEDIUM: stats: properly initialize the scope before
- [PATCH 2/2] BUG/MEDIUM: http: don't forward client shutdown without
- [PATCH 3/8] BUG/MINOR: check: fix tcpcheck error message
- [PATCH 4/8] CLEANUP: checks: fix double usage of cur / current_step
- [PATCH 5/8] BUG/MEDIUM: checks: do not dereference head of a
- [PATCH 6/8] CLEANUP: checks: simplify the loop processing of
- [PATCH 7/8] BUG/MAJOR: checks: always check for end of list before
- [PATCH 8/8] BUG/MEDIUM: checks: do not dereference a list as a
- [PATCH 09/10] BUG/MEDIUM: peers: apply a random reconnection timeout
- [PATCH 10/10] DOC: Update doc about weight, act and bck fields in the
- [PATCH 11/14] MINOR: ssl: add a destructor to free allocated SSL
- [PATCH 12/14] BUG/MEDIUM: ssl: fix tune.ssl.default-dh-param value
- [PATCH 13/14] BUG/MINOR: cfgparse: fix typo in 'option httplog' error
- [PATCH 14/14] BUG/MEDIUM: cfgparse: segfault when userlist is misused
Bruno Randolf [Fri, 29 May 2015 13:58:29 +0000 (14:58 +0100)]
bluez: Add bluez-daemon package
Move bluetoothd and related programs and files from bluez-utils into
bluez-daemon package. The main motivation for this is to remove the dependency
to DBus from bluez-utils. The utilities like "hcitool" are useful without it.
Also add kmod-bluetooth dependency to bluez-utils, as the utils don't make much
sense without bluetooth support in the kernel.