Commit graph

3476 commits

Author SHA1 Message Date
Ted Hess
6104632bc2 libv4l: Fix musl compatibility, update to 1.6.3
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-17 18:02:03 -04:00
Jo-Philipp Wich
c83350fd91 libdaq: fix musl compatibility
Change occurences of `sys/unistd.h` to the standard `unistd.h` include.
Fixes build against musl.

Also refresh existing patch since it applied with fuzz.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 23:47:52 +02:00
Jo-Philipp Wich
e4925c1efd 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.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 23:36:41 +02:00
Nikos Mavrogiannopoulos
7a3493a9eb ocserv: don't use isolate workers as seccomp is not enabled
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:55:08 +02:00
Nikos Mavrogiannopoulos
0bfd280c2d ocserv: use procd for init file
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:55:08 +02:00
Jo-Philipp Wich
d379979793 Merge pull request #1408 from jow-/screen-musl-compat
screen: fix musl compatibility
2015-06-17 22:41:27 +02:00
Jo-Philipp Wich
e0f8adcb0a Merge pull request #1405 from jow-/zabbix-musl-compat
zabbix: fix musl compatibility
2015-06-17 22:41:05 +02:00
Naoir
7c32778cbf Merge pull request #1403 from jow-/perl-musl-compat
perl: fix musl compatibility
2015-06-17 22:38:09 +02:00
Nikos Mavrogiannopoulos
16ce68e228 ocserv: disabled MIPS16
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:07:42 +02:00
Nikos Mavrogiannopoulos
00671e854d openconnect: updated to 7.06 and disabled MIPS16
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:06:52 +02:00
Nikos Mavrogiannopoulos
49bfb73dfd transmission: increase the number of retries for respawn
The default 5 per hour is too small for transmission which may
crash quite some times.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:03:40 +02:00
Álvaro Fernández Rojas
fc959cf5b8 flashrom: fix build with musl
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-06-17 21:34:08 +02:00
Jonathan McCrohan
81f9889bb0 Merge pull request #1406 from jow-/xinetd-musl-compat
xinetd: fix musl compatibility
2015-06-17 20:08:18 +01:00
Nikos Mavrogiannopoulos
b3d2d64928 gnutls: updated to 3.4.2
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 20:47:21 +02:00
Jo-Philipp Wich
e838c7f736 screen: fix musl compatibility
Add missing `os.h` include to `utmp.c` to pull in the required `utmp.h` header.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 20:01:59 +02:00
Jo-Philipp Wich
2b5856ae72 wifidog: fix musl compatibility
- Fix missing `fcntl.h` in `protocol.c`
 - Replace nonstandard `sys/unistd.h` includes with `unistd.h` ones

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:41:42 +02:00
Jo-Philipp Wich
644ae71ebc 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.

Also refresh patches while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:31:03 +02:00
Daniel Golle
780cf06d28 gnunet: update source
get rid of another cross-compile patch now fixed upstream

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-17 19:24:57 +02:00
Jo-Philipp Wich
c3f0347649 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.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:13:44 +02:00
Ted Hess
eba5ce8042 Merge pull request #1401 from kooiot/master
libzmq upgrade to 4.1.1  lzmq upgrade to 0.4.3
2015-06-17 12:49:40 -04:00
Ted Hess
0106a6931a Merge pull request #1393 from hnyman/vsftpd-musl
vsftpd: fix musl compatibility
2015-06-17 12:46:20 -04:00
Ted Hess
df6baaf7e0 Merge pull request #1397 from hnyman/rngtools-musl
rng-tools: musl compatibility
2015-06-17 12:45:33 -04:00
Thomas Heil
c49f85502f Merge pull request #1402 from openwrt/acpid
acpid: Import from oldpackages, update to latest version, add myself as
2015-06-17 18:42:44 +02:00
Jo-Philipp Wich
508e19a190 keepalived: fix musl compatibility
- Add missing sys/types.h include to provide u_short type under musl

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 18:28:23 +02:00
Jo-Philipp Wich
f9ac3e632b 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.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 17:42:00 +02:00
heil
3661e01a0d acpid: Import from oldpackages, update to latest version, add myself as
maintainer, ensure musl compatibility

 - with acpid kvm based setups can react on acpi shutdown and reboot
 actions

Signed-off-by: heil <heil@terminal-consulting.de>
2015-06-17 17:25:52 +02:00
Nikos Mavrogiannopoulos
73a853e1cf Merge pull request #1400 from yousong/libpam-fix-musl-2
libpam: bump to 1.2.0
2015-06-17 18:02:53 +03:00
Dirk Chang
3ff4d6dda5 libzmq upgrade to 4.1.1
lzmq upgrade to 0.4.3

Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-06-17 22:56:26 +08:00
Yousong Zhou
9f35f2a9e5 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

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-06-17 21:46:59 +08:00
Toke Høiland-Jørgensen
771ce26a71 [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.

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
2015-06-17 13:04:08 +02:00
Hannu Nyman
23334b9816 rng-tools: musl compatibility
Make rng-tools to compile with musl
by adding similar argp dependencies as with uclibc.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-06-17 11:33:38 +03:00
Luka Perkov
f48315ba03 Merge pull request #1395 from jow-/pptpd-musl-compat
pptpd: fix musl compatibility
2015-06-17 09:49:21 +02:00
Nikos Mavrogiannopoulos
24a1b1e5ad Merge pull request #1388 from yousong/libpam-musl-fix
libpam: fix compilation with musl.
2015-06-17 09:41:45 +03:00
Nikos Mavrogiannopoulos
5dc38551aa Merge pull request #1363 from nmav/master
transmission: use procd
2015-06-17 08:50:45 +03:00
Jo-Philipp Wich
d94d9bd232 Merge pull request #1392 from jow-/bridge-must-compat
bridge-utils: fix musl compatibility
2015-06-17 02:31:50 +02:00
Jo-Philipp Wich
ba31ff7d5e 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.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 00:12:42 +02:00
Hannu Nyman
bc7c3799d4 vsftpd: fix musl compatibility
Make vsftpd to compile with musl, while preserving uclibc compatibility.

When using musl:
* disable UTMPX functionality
* disable -lnsl option in upstream Makefile

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-06-16 21:50:04 +03:00
Jo-Philipp Wich
b10600d9aa Merge pull request #1389 from jow-/aiccu-musl-compat
aiccu: fix musl compatibility
2015-06-16 19:42:09 +02:00
Jo-Philipp Wich
c10f93b913 bridge-utils: fix musl compatibility
Add missing includes to libbridge.h to define struct timeval and the
required u_int*_t types under musl.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 19:39:25 +02:00
Ted Hess
94974c17fb Merge pull request #1391 from jow-/avrdude-musl-compat
avrdude: fix musl compatibility
2015-06-16 13:33:55 -04:00
Jo-Philipp Wich
d028771f28 avrdude: fix musl compatibility
- Build with -D_GNU_SOURCE to expose "loff_t" required for libelf.h
 - Include sys/types.h before usb.h to provide missing u_int*_t types

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 19:26:52 +02:00
Ted Hess
b5675064c2 Merge pull request #1378 from rkunze/hdparm
hdparm: Updated to latest version 9.47, removed obsolete patch.
2015-06-16 13:04:15 -04:00
Richard Kunze
791e912871 hdparm: Updated to latest version 9.47, removed obsolete patch.
Signed-off-by: Richard Kunze <richard.kunze@web.de>
2015-06-16 18:37:52 +02:00
Daniel Golle
b6e1de2bdc gnunet: update source
Most of the local patches have been integrated upstream.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-16 16:39:03 +02:00
Jo-Philipp Wich
e39e96d089 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

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 16:35:47 +02:00
Luka Perkov
8a88346ea2 Merge pull request #1385 from dangowrt/fix-f2fs-tools-build-with-musl
f2fs-tools: fix build with musl
2015-06-16 15:54:53 +02:00
Yousong Zhou
3083b9ccb3 libpam: fix compilation with musl.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-06-16 21:24:57 +08:00
Jo-Philipp Wich
e76f394fdc etherwake: fix musl compatibility
Always include net/ethernet.h instead linux specific headers,
fixes compilation with musl libc.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 15:08:27 +02:00
Ted Hess
c6963e4ac8 Merge pull request #1386 from jow-/socat-musl-compat
socat: fix musl compatibility
2015-06-16 09:04:43 -04:00
Jo-Philipp Wich
a0968faedb socat: fix musl compatibility
Do not include netinet/if_ether.h for musl to prevent struct ethhdr
redeclarations.

Also define NETDB_INTERNAL if needed to fix compilation of the network
backends.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 14:58:28 +02:00