Commit Graph

4048 Commits

Author SHA1 Message Date
Florian Fainelli 0b85489a97 cgi-io: Find and search for libubus.h
Fixes build errors with external toolchains:

[ 33%] Building C object CMakeFiles/cgi-io.dir/main.c.o
/home/florian/dev/openwrt/trunk/build_dir/target-mipsel-unknown-linux-gnu_glibc/cgi-io/main.c:30:21:
fatal error: libubus.h: No such file or directory
 #include <libubus.h>
                     ^
compilation terminated.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-18 12:45:30 -07:00
Florian Fainelli 3b333ec0f9 fping: Set -std=gnu99 to fix build errors due to C99 constructs
Fixes build errors such as:

mipsel-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/include
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/include
-I/home/florian/dev/toolchains/stbgcc-4.8-1.5/usr/include
-I/home/florian/dev/toolchains/stbgcc-4.8-1.5/include  -Wall -Wextra
-Wno-sign-compare -DIPV6 -Os -pipe -mno-branch-likely -mips32r2
-mtune=24kc -fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1
-Wl,-z,now -Wl,-z,relro  -MT fping-optparse.o -MD -MP -MF
.deps/fping-optparse.Tpo -c -o fping-optparse.o `test -f 'optparse.c' ||
echo './'`optparse.c
optparse.c: In function 'permute':
optparse.c:55:5: error: 'for' loop initial declarations are only allowed
in C99 mode
     for (int i = index; i < options->optind - 1; i++)
     ^
optparse.c:55:5: note: use option -std=c99 or -std=gnu99 to compile your
code
optparse.c: In function 'optstring_from_long':
optparse.c:160:5: error: 'for' loop initial declarations are only
allowed in C99 mode
     for (int i = 0; !longopts_end(longopts, i); i++) {

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-18 11:39:44 -07:00
Yousong Zhou 4034e9ee21 openconnect: new option mtu
According to openconnect --help output:

  -m, --mtu=MTU                   Request MTU from server
      --base-mtu=MTU              Indicate path MTU to/from server

Fixes #2099 by allowing setting tunnel mtu

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-18 13:10:34 +02:00
Yousong Zhou 4b3fde326c openconnect: drop stale config: interface
It was introduced with 41f8d5465 ("openconnect: fix a couple of minor
things and add an interface option") and not needed since 4083de9d7
("openconnect: use proto_add_host_dependency")

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-18 13:10:34 +02:00
Hannu Nyman b23a5435a6 Merge pull request #4429 from sdwalker/cleanup
packages: cleanup Makefile variables
2017-06-17 09:25:22 +03:00
Florian Fainelli 7eaa97f91c reaver: Fix build with external toolchains
We would not be able to search for pcap.h because CFLAGS are not passed
from src/Makefile down to src/wps/Makefile:

make[4]: Entering directory
'/home/florian/dev/openwrt/trunk/build_dir/target-mipsel-unknown-linux-gnu_glibc/reaver-1.4/src/wps'
mipsel-linux-gnu-gcc -I../utils -I ../ wps_attr_build.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps_attr_parse.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps_attr_process.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps_common.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps_dev_attr.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps_enrollee.c -c
mipsel-linux-gnu-gcc -I../utils -I ../ wps_registrar.c -c
In file included from ../misc.h:41:0,
                 from wps_registrar.c:27:
../defs.h:43:18: fatal error: pcap.h: No such file or directory
 #include <pcap.h>
                  ^
compilation terminated.
Makefile:28: recipe for target 'wps_registrar.o' failed

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-16 20:47:03 -07:00
Alvaro [Andor] c55885e9c5 Fix dnsmadeeasy ddns url
Dnsmadeeasy dyndns service url was wrong, fixed both the address, the parameters, and the ssl connection.
2017-06-15 22:05:50 +02:00
Jason A. Donenfeld de97e29328 wireguard: remove misspelled debugging line
There are no other "echo" debug lines in this file, and it seems
clear that this one was accidentally left as a debugging line,
since it misspelled "dependency". So, we just remove this line.

We don't bump the package version, though, because this is
pretty inconsequential.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-06-14 03:15:27 +02:00
Jason A. Donenfeld c833b249a9 wireguard: version bump
From upstream's changelog:

  * timers: queue up killing ephemerals only if not already

  We fix up a small detail in the timer logic that changed during the last
  snapshot.

  * receive: trim incoming packets to IP header length

  Packets are now trimmed to their actual length, not their length+padding,
  before handing to the rest of the network subsystem, so that packets look
  pretty in tcpdump. This doesn't actually affect what userspace sees, since the
  kernel trims it at a later stage, but it does make pcaps a bit nicer to use.

  * curve25519: use more standard label convention in asm

  This ensures that perf(1) shows the function name instead of the label name.

  * compat: remove padata hotplug code

  Fixes building on kernels that have HOTPLUG enabled but no PADATA support.

  * config: add new line for style
  * device: do-while assignment style
  * peer: explicitly initialize atomic

  Style.

  * noise: fix race when replacing handshake

  Handle a situation in which three peers, all running on the same system, begin
  a handshake with all three of each other, at exactly the same time, on a
  multi-CPU system.

  * random: wait for random bytes when generating nonces and ephemerals

  We've been working with upstream to add a new API to the kernel for ensuring
  that the RNG actually is seeded. Until they merge it for 4.13, we provide a
  poly-fill to the compat code. This means that WireGuard will block during
  handshakes until the RNG has enough entropy, so that it's never in a
  circumstance in which ephemeral keys are generated from bad randomness.

  * go test: properly pad message
  * go test: correct tai64n and formatting
  * external-tests: add keepalive packet
  * go test: use x/crypto for blake2s now that we have 128-bit mac
  * external-tests: trim the fat

  Improvements for the external tests.

  * wg-quick: make sure we have empty table for both v6 and v4
  * wg-quick: match ipv6 default route more broadly

  Tiny nits with wg-quick, one of which should now allow multiple v6-only
  wg-quick instances running at the same time.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-06-13 15:35:26 +02:00
Daniel Golle 5455a88d45 freeradius2: move to packages-abandoned
I'm no longer going to maintain freeradius2. Please use freeradius3
instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-13 02:34:44 +02:00
Peter Wagner da48fc0417 git: update to 2.13.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-06-12 20:25:01 +02:00
Peter Wagner 2cbdef6d67 irssi: update to 1.0.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-06-12 20:15:59 +02:00
Hannu Nyman 03ae8210da Merge pull request #4465 from dibdot/adblock
adblock: update 2.7.1
2017-06-10 10:20:11 +03:00
Hannu Nyman 59a1031542 Merge pull request #4467 from dibdot/travelmate
travelmate: maintenance update 0.7.5
2017-06-10 10:19:49 +03:00
Dirk Brenken 457b517b8a travelmate: maintenance update 0.7.5
* fix wrong connection status in case of an error
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-10 07:56:32 +02:00
Dirk Brenken 88be3d2d49 adblock: update 2.7.1
backend:
* cosmetics

frontend:
* "Save & Reply" now distinguish between normal and manual/backup mode
  and triggers an appropriate reload or a start action

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-09 20:19:56 +02:00
Daniel Golle 4a01f66e60 gnunet: update git source
Disable DV component for now, it is broken upstream as it hasn't been
converted to the new MQ API.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-09 18:02:00 +02:00
Hannu Nyman bed8fc190b Merge pull request #4458 from fededim/master
Bugfix #1327
2017-06-08 21:50:21 +03:00
Luka Perkov 2b5b997db5 Merge pull request #4447 from sartura/sysrepo-salience
sysrepo: salience
2017-06-08 11:12:26 +02:00
Antonio Paunovic 5dcfde18be sysrepo: salience
Script priority adjusted.
Custom memory management turned off to save some memory on low-end device.

Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-06-08 08:46:43 +00:00
Federico Di Marco d03e302afe neon: removed forced LFS support, the library automatically checks for off_t type length
davfs2: patched build error (#1327) when 'Compile with full language support' option was enabled

Signed-off-by: fededim@gmail.com
2017-06-07 23:21:38 +02:00
Hannu Nyman 7e1b875e28 Merge pull request #4457 from dibdot/adblock
adblock: update 2.7.0
2017-06-07 21:31:40 +03:00
Dirk Brenken 617448dc93 adblock: update 2.7.0
backend:
* add new 'manual mode' to re-use blocklist backups during startup,
  get fresh lists only via manual reload or restart action
* additional free memory check during dns restart to prevent OOM errors
* removed palevo tracker from default config,
  this tracker has been discontinued
* cosmetics

LuCI frontend (see luci repo):
* add new 'manual mode' under extra options

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-07 19:31:13 +02:00
Karl Palsson 5d8538215a mosquitto: fix empty client-nossl package
Fallout of PROVIDES handling.
Fixes: https://github.com/openwrt/packages/issues/4432

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-06-07 16:05:16 +00:00
Noah Meyerhans f2902073dd Merge pull request #4444 from olmari/add_bind-dnssec-settime
bind: Include dnssec-settime in bind-dnssec/tool
2017-06-07 08:48:41 -07:00
Luka Perkov 2436771252 Merge pull request #4448 from sartura/netopeer2-init-recover
netopeer2-server: init recovery
2017-06-07 09:48:31 +02:00
Luka Perkov dc9e334239 Merge pull request #4434 from sartura/sysrepo-timeouts
sysrepo: larger timeouts
2017-06-07 09:47:32 +02:00
Hannu Nyman 29b32556c2 Merge pull request #4449 from wvdakker/master
shorewall(6)-lite: Fixed build-error.
2017-06-07 10:19:40 +03:00
W. van den Akker adc918d15c Fixed shorewall6-lite build error.
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-06-07 07:51:44 +02:00
Antonio Paunovic 06bf9345d0 netopeer2-server: init recovery
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-06-06 14:47:46 +00:00
Hannu Nyman 6950c73a7c Merge pull request #4433 from aTanW/master
ipsec: add ability to configure "none" SA
2017-06-06 09:53:56 +03:00
Florian Fainelli fdd3f3f7f9 smartsnmpd: Properly pass down TARGET_CPPFLAGS
The smartsnmpd SConstruct file only accepts setting CFLAGS and does not
use CPPFLAGS, so pass both down using CFLAGS.

This fixes build errors with external toolchains that don't
automatically search for headers in $(STAGING_DIR).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 17:18:51 -07:00
Florian Fainelli bb1c950c52 tgt: Pass down TARGET_CPPFLAGS and TARGET_LDFLAGS
Make sure we pass down TARGET_CPPFLAGS and TARGET_LDFLAGS to fix build
with external toolchains that don't automatically search for headers and
libraries in $(STAGING_DIR).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 17:18:51 -07:00
Florian Fainelli 20891e8d42 tgt: Drop dependency against KERNEL_DIRECT_IO
This was removed in LEDE commit 0b7ed65cec8084bb98ae0e2758b7aca6c447cd4b
("kernel: remove out of tree direct-io disable hack")

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 17:18:51 -07:00
Sami Olmari fcf5a48a7a bind: Include dnssec-settime in bind-dnssec/tool
<net/bind>

Maintainer: @nmeyerhans
Compile tested: x86_64, OpenWRT 50107
Run tested: x86 / 64, OpenWRT 50107

Description:

Added dnssec-settime into bind-dnssec and bind-tools

Signed-off-by: Sami Olmari <sami+git@olmari.fi>
2017-06-06 01:47:05 +03:00
Alexandru Ardelean 2675e6813c netatalk: fix config files permissions
After checking in the ipkg-install dir of netatalk,
it seems that the permissions it sets to the conf-files
are 644.

 # ls -la lede/build_dir/target-mips_24kc_musl/netatalk-3.1.11/ipkg-install/etc
 -rw-r--r-- 1 sandu sandu   226 iun  5 20:53 afp.conf
 -rw-r--r-- 1 sandu sandu  1948 iun  5 20:53 dbus-session.conf
 -rw-r--r-- 1 sandu sandu 25037 iun  5 20:53 extmap.conf

While the Package/netatalk/install build rule overrides
them to 600.

According to
* https://github.com/openwrt/packages/issues/4318
* https://forum.lede-project.org/t/help-with-apple-filesharing-protocol-for-time-machine/3259/5
this is a problem in some setups.

So, this patch changes them to what the netatalk
package creators intended initially (i.e. 644).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-05 21:02:09 +03:00
Hauke Mehrtens b83d982bcd Merge pull request #3769 from wvdakker/master
Added Shorewall(6)-lite.
2017-06-05 18:51:18 +02:00
Philip Prindeville 9fdba25e04 openssh: if we don't generate a dsa key we shouldn't look for it
The earlier commit ea119211b2 removed 'dsa' as one of the ssh_host_*_key
types that got generated.  Problem was that it didn't remove that key
as one of the paths that the server looks for by default.  As a
consequence, your log file might fill up with messages like:

    2017-06-01T15:43:07-06:00 openwrt sshd[31929]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key

The patch is forunately trivial.  Don't set the path for the dsa
key file in the server configuration.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-05 18:22:04 +02:00
Daniel Golle d96c092a00 Revert "The earlier commit ea119211b2 removed 'dsa' as one of the ssh_host_*_key"
The author (@pprindeville) of the original commit noted that the wrong
commit was picked, see
https://github.com/openwrt/packages/commit/325b7d2cd2d6e9d4903c6e7628c7c9ae0ddab564#commitcomment-22387528
"Err... looks like the wrong fix got committed. I was hoping that this
commit d902e5d would have gone in instead."

This reverts commit 325b7d2cd2.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-05 18:22:03 +02:00
W. van den Akker 7c8990cac5 Add package shorewall(6)-lite.
Bump to version 5.1.4.1

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
2017-06-05 17:54:59 +02:00
Alexandru Ardelean 820d998a97 netatalk: switch maintainer to me
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-05 18:25:56 +03:00
Daniel Golle bef4c67bd1 Merge pull request #4402 from commodo/netatalk-upgrade
netatalk: upgrade to version 3.1.11
2017-06-05 17:08:33 +02:00
Daniel Golle 92b2a187bb Merge pull request #4099 from dangowrt/freeradius3-ldap
freeradius3: build and package support for LDAP
2017-06-05 16:51:38 +02:00
Hauke Mehrtens f243d7c2bc Merge pull request #4284 from bmork/conserver
conserver: add advanced serial console package
2017-06-05 15:33:08 +02:00
Daniel Golle 3548a8b2c2 Merge pull request #4423 from pprindeville/lighttpd-use-procd
lighttpd: use procd-based init.d script
2017-06-05 14:47:32 +02:00
Antonio Paunovic a8dbabeaf9 sysrepo: larger timeouts
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-06-05 11:09:35 +00:00
Hannu Nyman 28e97784b7 Merge pull request #4419 from danrl/wireguard
wireguard: version bump
2017-06-05 09:20:12 +03:00
aTanW df0e0bc17b ipsec: add ability to configure "none" SA
Also added myself as co-maintainer

Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile           |    5 +++--
 files/functions.sh |   35 +++++++++++++++++++++++++++++++++++
 files/racoon       |    4 ++++
 files/racoon.init  |   12 ++++++++----
 4 files changed, 50 insertions(+), 6 deletions(-)
2017-06-05 08:25:09 +03:00
Florian Fainelli 4eec08f225 fossil: Explicitly link with libm
Fixes the following build error with an external toolchain:

./bld/sqlite3.o: In function `fts5Bm25Function':
sqlite3.c:(.text+0x27234): undefined reference to `log'
./bld/piechart.o: In function `piechart_render':
piechart_.c:(.text+0x430): undefined reference to `sincos'
piechart_.c:(.text+0x47c): undefined reference to `sincos'
piechart_.c:(.text+0x548): undefined reference to `sincos'
collect2: error: ld returned 1 exit status
src/main.mk:526: recipe for target 'fossil' failed
make[3]: *** [fossil] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-04 19:48:46 -07:00
Florian Fainelli b493f36887 linuxptp: Remove unnecessary netdb.h includes
This backports a patch that has been accepted upstream in linuxptp:
8b61aa2c3f3103db1d4ca1d1e49bb4f8831c1abf ("udp: Avoid including
netdb.h") to fix build errors with external glibc toolchains that
provide rpc/types.h.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-04 14:01:27 -07:00