Commit graph

2882 commits

Author SHA1 Message Date
Hannu Nyman
fa2a7077d6 Merge pull request #4523 from dibdot/adblock
adblock: update 2.8.1
2017-06-29 14:07:41 +03:00
Dirk Brenken
e2af11adeb adblock: update 2.8.1
* revert 'wan6' interface trigger in default config
  due to current procd limitation (see: #4521)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-29 12:57:15 +02:00
Alexandru Ardelean
919b9bc41a openvswitch: make dependencies conditional for openvswitch-python subpackage
Apparently, even if you don't select the `openvswitch-python` package,
Python still gets built (for the target build).

But, if the python dependencies are conditional on the
`PACKAGE_openvswitch-python` symbol then they aren't build.

This should improve build times, if you only want to build the
`openvswitch` package.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-29 13:50:42 +03:00
Alexandru Ardelean
2171c73de0 openvswitch: add CONFIG_PACKAGE_openvswitch-python to PKG_BUILD_DEPENDS
That way, OVS gets rebuilt if the openvswitch-python
package is selected or unselected.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-29 13:48:42 +03:00
Alexandru Ardelean
e26a34c6b4 openvswitch: enforce the use of the python binary from packages
Seems it was not failing for me because it was probably
using my host Python, which may have the `six` package
available.

This patch enforces the use of the packaged Python.
That way, it's more consistent that the python-six
package is available.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-06-29 13:48:42 +03:00
Rafał Miłecki
1359e072be lighttpd: backport more mod_cgi fixes queued for 1.4.46
The most important change is local redirects being disabled by default.
There is an option called cgi.local-redir that allows enabling this
optimization manually back if needed.

Local redirects were initially introduced in 1.4.40 but caused many
problems for *some* web services.

One of problems is breaking Post/Redirect/Get design pattern. With
redirects handled on server side there is no browser redirection making
it "lose" the POST data.

Another possible issue are HTML forms with action="". With CGI local
redirects browser may be sending form data to the wrong URL (the one
that was supposed to redirect the browser).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-06-29 09:41:30 +02:00
Hannu Nyman
33666f92da Merge pull request #4483 from andor-pierdelacabeza/patch-1
ddns: Fix dnsmadeeasy ddns url
2017-06-28 23:17:44 +03:00
Jason A. Donenfeld
09148df173 wireguard: version bump
From upstream's changelog:

  * main: annotate init/exit functions to save memory
  * selftest: remove antique siphash self test
  * haskell: re-add updated haskell example
  * socket: use ip_rt_put instead of dst_release
  * device: avoid double icmp send on routing loop
  * compat: clean up cruft
  * global: cleanup IP header checking
  * compat: do not export symbols unnecessarily
  
  Various cleanups and updates.
  
  * device: netdevice destruction logic change for 4.12
  
  When Linux 4.12 is released next week, we're good to go.
  
  * device: only use one sleep notifier
  
  Rather than have a separate sleep notification for every interface, we now
  have a single notifier for every interface. This improves performance,
  especially when creating many interfaces at once.
  
  * device: remove icmp conntrack hacks
  
  We're moving hacks upstream the proper way, and then backporting them to
  compat.
  
  * receive: extend rate limiting to 1 second after under load detection
  
  After we determine that we're under load, we now wait 1 second before not
  being under load again, a timer which is global across all interfaces on a
  given system.
  
  * curve25519: satisfy sparse and use short types
  * curve25519: keep certain sandy2x functions in C
  
  Certain functions have been made into C, which should improve stack frames and
  reliability.
  
  * ratelimiter: rewrite from scratch
  
  This is a big change. We no longer rely on x_tables or xt_hashlimit, instead
  using a super minimal and sleek token bucket ratelimiter. This works much
  better than the old cruft and should allow us to run more places. It also has
  the benefit of being global, so that it's possible to have thousands of
  interfaces without killing the system with separate GCs and vmallocs, which is
  what happened prior.
  
  * socket: verify saddr belongs to interface
  
  We now more quickly react to changes of the v4 routing table, by ensuring that
  the sticky source address is actually still valid.
  
  * wg-quick: properly match IPv6 endpoint
  
  wg-quick now works better with IPv6.
  
  * wg-quick: use printf -v instead of namerefs for bash 4.2
  
  This adds support for old bash, which means wg-quick should be generically
  "bash 4 and up". I'm not happy about this but EL7 uses old bash, so we're
  stuck with it.
  
  * compat: support EL7.3
  
  Support for RHEL, CentOS, ScientificLinux, and so forth.
  
  * compat: support Ubuntu 14.04
  
  An old crufty Ubuntu is now supported, since it's LTS.
2017-06-28 14:57:04 +02:00
Eric Luehrsen
3dbd00df3c unbound: update to 1.6.4
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-06-27 23:47:46 -04:00
Alvaro [Andor]
f721a27b15 Fix http/https, increase PKG_RELEASE 2017-06-27 23:48:53 +02:00
Hannu Nyman
400a46f779 Merge pull request #4517 from dibdot/adblock
adblock: update 2.8.0 (release 2)
2017-06-27 10:24:47 +03:00
Dirk Brenken
14c5e7cae9 adblock: update 2.8.0 (release 2)
* fix a logical glitch

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-27 08:44:15 +02:00
Hannu Nyman
dda3c1dd5f Merge pull request #4516 from dibdot/adblock
adblock: update 2.8.0
2017-06-27 09:19:59 +03:00
Dirk Brenken
e660813798 adblock: update 2.8.0
* add bind support (see readme)
* export all blocked domains in one central file (adb_list.overall)
  * prerequisite for proper bind support
  * much faster sort operation with less memory consumption
  * backups are still handled per source separately,
    to be more flexible in adding/removing block list sources
* add additional 'wan6' interface trigger in default configuration
* various small fixes & optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-27 07:45:34 +02:00
Nikos Mavrogiannopoulos
8abd57588d Merge pull request #4494 from yousong/openconnect
openconnect: openconnect-wrapper: rewrite
2017-06-26 11:03:36 +02:00
Peter Wagner
2be4c04101 git: update to 2.13.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-06-25 16:54:14 +02:00
Daniel Golle
358de85d40 gnunet: update source and init script
Fixes starting EXIT service when offering services.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-24 15:05:59 +02:00
Daniel Golle
701f9a49d8 gnunet: update source
fixes namestore iterator and other bugs when using PostgreSQL

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-23 20:58:34 +02:00
Hannu Nyman
bc8a70cc19 Merge pull request #4454 from poranje/fs#785
unbound: manage resolv.conf iff when listening on 127.0.0.1#53
2017-06-23 08:54:52 +03:00
Florian Eckert
085a76bebf net/mwan3: update version
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-22 13:42:14 +02:00
Florian Eckert
99229475b7 net/mwan3: simplify tracking status statement command
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-22 13:42:14 +02:00
Florian Eckert
b6e9debc1b net/mwan3: add lock for mwan3 hotplug script
If more then one interface get up/down at once mwan3 could be in a
undefined state, because more then one mwan3 hotplug script are running
and editing the iptables.

Lock the critical section should solve this issue.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-22 13:42:12 +02:00
Philip Prindeville
384c2a8cfd net-snmp: add symlink for net-snmp-config into usr/bin
A lot of autoconf-based scripts expect --with-foo-dir=$(STAGING_DIR)/usr
and break if they can't find bin/foo-config as a child of that path.

Putting things in $(STAGING_DIR)/host/bin seems to be suboptimal; I
could change the install path but there's no saying what that would
break.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-21 11:53:38 -06:00
Paul Oranje
39322d45b0 unbound: manage resolv.conf iff when listening on 127.0.0.1#53
With this patch the unbound init routines manage resolv.conf if and only if
when unbound will listen on 127.0.0.1#53 and dnsmasq is not.

Also logs some cases where config values are overriden with sane defaults.

Fixes (partially) LEDE FS#785
Fixes openwrt/packages#4487

Signed-off-by: Paul Oranje <por@xs4all.nl>
2017-06-20 16:31:09 +02:00
Stijn Tintel
29d38eaa76 Merge pull request #4273 from dedeckeh/pr-netsnmp-trap
net-snmp: add notification config options
2017-06-20 05:44:19 +02:00
Daniel Golle
bc0085a70f usbip: use libudev-fbsd instead of eudev
eudev was removed, switch to libudev-fbsd

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 20:49:40 +02:00
Hannu Nyman
f64be26d2a Merge pull request #4495 from dibdot/travelmate
travelmate: update 0.8.0
2017-06-19 17:18:31 +03:00
Daniel Golle
e7b5bdd9e9 cgi-io: merge changes from luci2-io-helper
luci2-io-helper: bugfix buckup script read timeout

Reading files from stdin will block for ever. The uhttpd is killing the
backup process after script_timeout.

Switching read to non blocking mode and add a waitpid for the slave
process does not end in a script_timeout anymore.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 12:49:59 +02:00
Dirk Brenken
aa39c780ef travelmate: update 0.8.0
* use iwinfo instead iw for wlan scanning,
  scanning now works on radio-level
* enhance multiple radio support:
    * support STA-only radio configurations,
      e.g first radio with local AP, second radio
      with a bunch of STAs (without APs)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-19 09:52:01 +02:00
Hans Dedecker
bb0dfbe6cc net-snmp: add notification config options
Add config support which allow snmpd to take a more active role by sending
traps.

Following config options are supported which map directly on snmpd directives:
-trapcommunity
-trapsink
-trap2sink
-informsink
-authtrapenable
-v1trapaddress
-trapsess

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-06-19 09:00:27 +02:00
Yousong Zhou
dbc36c3092 openconnect: openconnect-wrapper: rewrite
- use exec directly to eliminate a level in the process tree
 - use "$@" instead of "$*" to pass arguments to openconnect

According to openconnect(8), openconnect will call vpnc-script to
cleanup before quit when it received SIGINT(2) and will quit immediately
when it received SIGTERM (the default signal by kill command)

Before and after the change, openconnect process will be killed first
with SIGINT sent from netifd.  This was decided by the
'proto_kill_command "$config" 2' notify call in the proto script.

SIGKILL is the only other signal that can be sent from netifd when the
process did not quit on SIGINT on time.  There should be no need to trap
on signal 1 3 6 9 (HUP QUIT ABRT KILL)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 12:37:24 +08:00
Florian Fainelli
cdc800874a zerotier: Allow building with older GCC 4.8
ZeroTier builds fine with GCC 4.8, so relax the check to make that
possible.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-18 20:08:26 -07:00
Daniel Golle
2c597f291d gnurl: update to version 7.54.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 01:33:32 +02:00
Daniel Golle
aadbc9a252 opentracker: bump source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 01:33:32 +02:00
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
325b7d2cd2 (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
Bjørn Mork
f42caaffb8 conserver: add advanced serial console package
Conserver is an application that allows multiple users to use
serial consoles at the same time, with logging.  It has a client-
server design which makes it easy to manage a distributed set
of serial consoles.  Logging makes post-crash analyses easier.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2017-06-04 11:22:43 +02:00
Hauke Mehrtens
93811f98a0 Merge pull request #4220 from p-wassi/atftp
net/atftp: update source URL and checksum
2017-06-04 00:29:40 +02:00
Stephen Walker
b63a809213 packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2017-06-03 16:38:06 -04:00
Ted Hess
870a621107 Merge pull request #4427 from diizzyy/patch-57
net/socat: Update to 1.7.3.2
2017-06-03 15:23:22 -04:00
Peter Wagner
325b7d2cd2 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: Peter Wagner <tripolar@gmx.at>
2017-06-03 01:04:27 +02:00
Daniel Engberg
076eba07f4 net/socat: Update to 1.7.3.2
Update socat to 1.7.3.2
Remove SSLv3 patch, workaround added upstream
Remove inclusion of stddef.h, fix added upstream
Replace obsolete tarball hash variable with PKG_HASH

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-06-02 13:43:06 +02:00
Philip Prindeville
79f9f1a3ec lighttpd: use procd-based init.d script
This will allow procd to restart the service if it crashes or otherwise
exits.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-01 20:12:58 -06:00
Luka Perkov
ea7046d634 Merge pull request #4403 from sartura/symlink-soversion-sysrepo
sysrepo: modify copy of .so files
2017-06-01 15:53:35 +02:00
Luka Perkov
c3dad17728 Merge pull request #4388 from sartura/netopeer2-dependency
sysrepo: add patch for disabling autostart
2017-06-01 15:53:11 +02:00
danrl
a9f39cff42 wireguard: version bump
From upstreams changelog:
 This rather large snapshot touches quite a few sensitive areas, so I'm
  releasing it now rather than later to receive feedback on any possible issues.
  It also contains fixes, so everybody should upgrade.

  * man: fix psk mention in wg-quick man page
  * man: update wg-quick(8) to show Debian resolvconf braindamage

  Documentation cleanups.

  * wg-quick: use src routing for default routes in v6

  ip-rule(8) doesn't do the right thing with source addresses, unless we
  explicitly set it inside the route. This fixes wg-quick on IPv6 systems.

  * curve25519: actually, do some things on heap sometimes
  * curve25519: align the basepoint to 32 bytes
  * curve25519: add NEON versions for ARM
  * data: enable BH during parallel crypto on ARM/NEON
  * chacha20poly1305: move constants to rodata
  * chacha20poly1305: add NEON versions for ARM and ARM64

  We now have faster primitives on ARM and ARM64 processors, which should
  improve performance.

  * handshake: process in parallel

  Handshakes are now processed in parallel using all cores, which should improve
  throughput during a storm.

  * noise: no need to store ephemeral public key
  * noise: precompute static-static ECDH operation

  We can precompute the ECDH(s, s) calculation, which improves handshake
  initiation message performance by double.

  * style: spaces after for loops
  * peer: use iterator macro instead of callback

  The most unreadable C ever produced. It might be wise to find a sexier-looking
  alternative at some point.

  * compat: remove warning for < 4.1
  * compat: ship padata if kernel doesn't have it

  The usual array of annoying compat things.

  * rust test: convert screech test to snow
  * rust test: add icmp ping

  We now use Jake's snow library for Noise in the test, which we've expanded to
  complete a ping.

  * config: do not error out when getting if no peers
  * tools: allow creating device with no peers

  Fixing some small things in the tool/config interaction.

  * device: keep going when share_check fails
  * routingtable: remove unnecessary check in node_placement()
  * config: it's faster to memcpy than strncpy
  * timers: fix typo in comment

  Nits.

  * debug: print interface name in dmesg

  For those who compile with `make debug`, you'll be happy to see a bit better
  information in dmesg.

  * timers: rework handshake reply control flow
  * timers: the completion of a handshake also is on key confirmation
  * timers: reset retry-attempt counter when not retrying

  Tightening up our timer implementation, which is quite important.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-06-01 10:54:25 +02:00
Hannu Nyman
d1936da414 Merge pull request #4400 from starcms/master
net/dnscrypt-proxy: add support for LogLevel; update dnscrypt-proxy-resolvers
2017-05-31 18:57:40 +03:00
starcms
a032c44a50 net/dnscrypt-proxy: add LogLevel support, update dnscrypt-resolvers.csv,
bump version number.

Signed-off-by: Chris Saaidi <starcms@gmail.com>
2017-05-30 19:56:27 -05:00
Christian Schoenebeck
80ae569ba7 radicale: update to version 1.1.3
update to version 1.1.3

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-05-30 21:47:15 +02:00
Stijn Tintel
4660504c61 strongswan: fix typo
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-05-30 19:25:54 +02:00
Stijn Tintel
916f14aacf Merge pull request #4208 from dedeckeh/pr-netsnmp-fw
net-snmp: add inbound firewall rule support
2017-05-30 16:01:40 +02:00
Stijn Tintel
a268689adc strongswan: add curve25519 plugin
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-05-30 15:14:13 +02:00