8097 Commits

Author SHA1 Message Date
Jonas Gorski e49e86e036 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>
2015-06-19 13:10:19 +02:00
Jo-Philipp Wich a9277215a9 Merge pull request #1427 from jow-/tgt-musl-compat
tgt: fix musl compatibility
2015-06-19 12:21:26 +02:00
Matthias Schiffer c38ba76698 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>
2015-06-19 04:16:09 +02:00
Jo-Philipp Wich 23bd12a89a Merge pull request #1416 from jow-/vpnc-musl-compat
vpnc: fix musl compatibility
2015-06-18 23:51:28 +02:00
Jo-Philipp Wich e55822ec2b 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>
2015-06-18 20:18:15 +02:00
Jo-Philipp Wich 4004ec2c75 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>
2015-06-18 19:51:59 +02:00
Julen Landa Alustiza 5aae478e24 bwm-ng: fix building with gcc-security enabled
Signed-off-by: Julen Landa Alustiza <julen@zokormazo.info>
2015-06-18 18:45:04 +02:00
Jo-Philipp Wich 54e6887881 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>
2015-06-18 18:35:22 +02:00
Jo-Philipp Wich d5c31e1bf3 ulogd: fix musl compatibility
- Avoid non-pointer use of `FILE` type since its just a forward declaration
 - Build with -D_GNU_SOURCE to expose required `struct tcphdr` members

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

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 00:30:21 +02:00
Peter Ivanov 192884514f vnstat: fix musl compatibility
Signed-off-by: Peter Ivanov <pivanov@hotmail.com>
2015-06-18 01:26:46 +03: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
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
Jonathan McCrohan 81f9889bb0 Merge pull request #1406 from jow-/xinetd-musl-compat
xinetd: fix musl compatibility
2015-06-17 20:08:18 +01: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
Ted Hess 0106a6931a Merge pull request #1393 from hnyman/vsftpd-musl
vsftpd: fix musl compatibility
2015-06-17 12:46:20 -04: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
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
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 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 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
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 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
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
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
Nikos Mavrogiannopoulos 6161f40875 Optimized /proc/meminfo parsing
Suggested by @jow-

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-14 21:21:04 +02:00
Gergely Kiss 4b897fe764 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.
2015-06-14 18:04:23 +02:00
Nikos Mavrogiannopoulos 6091831a5b transmission: make the memory percentage allowed configurable
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-13 00:28:47 +02:00
Nikos Mavrogiannopoulos e797b5ff78 transmission: use procd
That allows to restart transmission when it crashes, to limit
the memory used by it, as well as be jailed in the directories
it is supposed to access.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-13 00:19:02 +02:00
Steven Barth 9cb63f38e8 Merge pull request #1362 from oneru/fwknopd
Fwknopd: Set capture interface to wan by default
2015-06-12 10:34:01 +02:00
heil d5c18252d4 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

Signed-off-by: heil <heil@terminal-consulting.de>
2015-06-11 19:03:14 +02:00
Jonathan Bennett a624a63150 Fwknopd: Set capture interface to wan by default
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2015-06-10 21:57:13 -05:00
Matthias Schiffer ace1918bf5 ethtool: update to 4.0
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2015-06-10 21:19:41 +02:00
Marko Ratkaj ca26e17048 netdiscover: add license info
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-06-09 12:20:33 +02:00
Marko Ratkaj 1fac9ac756 luci-app-squid: add package
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-06-09 12:18:04 +02:00
Marko Ratkaj 69116fb9e7 squid: minor changes in Makefile and init script
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-06-09 12:15:36 +02:00
Steven Barth 267174b747 strongswan: bump to 5.3.2
Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-08 18:09:58 +02:00
Steven Barth ee60975f76 Merge pull request #1354 from fededim/master
sstp-client: updated to version 1.0.10
2015-06-08 12:42:18 +02:00
Rupan 47486a9889 sstp-client: updated to version 1.0.10
Signed-off-by: Federico Di Marco <fededim@gmail.com>
2015-06-08 12:26:13 +02:00
Steven Barth 433a621c42 strongswan: update to 5.3.1, cleanup broken modules
Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-08 07:48:41 +02:00
Daniel Golle 9b5a7966ff gnunet: package accidentally dropped peerstore_sqlite
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-05 17:42:34 +02:00
Daniel Golle e0b2a226a3 xl2tpd: fix xl2tpd options
The previous commit left an unwanted string in the options passed
to xl2tpd-control. Remove that as well.
Also set procd respawn parameter now that I'm at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-05 17:42:06 +02:00