Commit graph

3462 commits

Author SHA1 Message Date
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
Jo-Philipp Wich
acfce97879 picocom: fix compilation with musl (#1383)
Only use termio.h with glibc or uclibc, for musl include sys/ioctl.h and
termios.h instead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 14:39:44 +02:00
Daniel Golle
36e4c90f6c f2fs-tools: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-16 14:07:50 +02:00
Daniel Golle
4116e327af gnunet: update source and fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-16 13:12:11 +02:00
Steven Barth
ccadda422b procps: fix for new musl libc
Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-16 10:30:20 +02:00
Micke Prag
605e3ba441 python-crcmod: new package
Signed-off-by: Micke Prag <micke.prag@telldus.se>
2015-06-16 09:54:01 +02:00
Steven Barth
52a5e8c4ec Merge pull request #1373 from Wedmer/master
[utils/zoneinfo] Updated to the latest version
2015-06-15 10:11:26 +02:00
Steven Barth
9f5d9acb5f elfutils: moved to base
Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-15 09:56:57 +02:00
Steven Barth
0a2681c8e4 bzip2: moved to base
Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-15 09:54:11 +02:00
Vladimir Ulrich
12f573dded [utils/zoneinfo] Updated to the latest version
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2015-06-15 04:35:40 +03:00
Ted Hess
c6e4370b19 argp-standalone: Moved to git.openwrt.org/openwrt.git
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-14 20:30:56 -04:00
Nikos Mavrogiannopoulos
8b22db13d2 libseccomp: corrected typo in patch
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-15 00:22:40 +02:00
Nikos Mavrogiannopoulos
dfec11ef48 Merge pull request #1345 from dangowrt/fix-libseccomp-with-musl
libseccomp: work-around prctl.h mess
2015-06-15 01:20:11 +03:00
Steven Barth
e9f4127027 Merge pull request #1371 from mstorchak/smartmontools
smartmontools: update to 6.4
2015-06-14 23:08:07 +02:00
Daniel Golle
b065013042 libevdev: work around macro definition missing in uClibc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-14 22:33:19 +02:00