Commit graph

8333 commits

Author SHA1 Message Date
Philip Prindeville
0a9337a985 Merge pull request #4645 from pprindeville/syslog-ng-wrong-pid-path
syslog-ng: fix typo in .pid file path
2017-07-28 15:47:13 -06:00
Jo-Philipp Wich
e32168f9b7 nlbwmon: add package
This commit introduces nlbwmon, the lightweight NetLink BandWidth Montor.

The nlbwmon daemon gathers per-host traffic statistics by querying netlink
accounting data. Due to this approach, the executable is very small and does
not rely on libpcap and CPU intensive raw sockets to monitor traffic.

Besides raw per-host traffic counters, nlbwmon also support rudimentary
traffic classification by observing IP protocols and used port numbers.

Gathered accounting data is stored into a series of database files which
are regularily committed to persistent storage.

Refresh, commit and accounting intervals are freely configurable as well
as the layer7 protocol mapping rules and observed source subnets.

This package also bundles a cli client which can be used to dump the
gathered traffic data as JSON, CSV or plaintext data. A pull request to
add a graphical LuCI frontend for nlbwmon is pending.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28 15:30:06 +02:00
tripolar
43aadd7f7d Merge pull request #4634 from pprindeville/ntp-add-uci-support
ntpd: use UCI to synthesize minimal conf file
2017-07-28 10:01:11 +02:00
Yousong Zhou
2f910479cf shadowsocks-libev: use xargs -r just in case
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:10:46 +08:00
Yousong Zhou
b7f69c0633 shadowsocks-libev: fix compiling with stale object files
This will cause various kinds of failures in the buildbot

    ➜  shadowsocks-libev-3.0.7 git:(master) find . -name '*.o' -o -name '*.lo'
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.lo
    ./libbloom/libbloom_la-bloom.lo
    ./libbloom/libbloom_la-bloom.o
    ➜  shadowsocks-libev-3.0.7 git:(master) ls -l libbloom/murmur2
    total 24
    -rw-r--r-- 1 yousong yousong  324 Jun 27 14:17 libbloom_la-MurmurHash2.lo
    -rw-r--r-- 1 yousong yousong 4168 Jun 27 14:17 libbloom_la-MurmurHash2.o
    -rw-r--r-- 1 yousong yousong 1344 Feb 17 08:47 MurmurHash2.c
    -rw-r--r-- 1 yousong yousong  142 Feb 17 08:47 murmurhash2.h
    -rw-r--r-- 1 yousong yousong  213 Feb 17 08:47 README
    ➜  shadowsocks-libev-3.0.7 git:(master) file ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
    ➜  shadowsocks-libev-3.0.7 git:(master)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:06:24 +08:00
Philip Prindeville
3b4df04332 syslog-ng: fix typo in .pid file path
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-27 21:04:19 -06:00
Florian Fainelli
99374712ac softethervpn: Pass down CFLAGS, CPPFLAGS and LDFLAGS
The softethervpn does not actually supported CCFLAGS, or other standard
variables, so we need to override CC to include all of those to fix
build errors with external toolchains.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-27 18:23:04 -07:00
Florian Fainelli
749be47e53 sox: Explicitly disable support for OpenMP
In case a toolchain happens to be built with OpenMP, sox's configure
script would be picking that, but we would not be depending on libgomp
and would fail creating the package.

Since internal OpenWrt/LEDE toolchains don't enable OpenMP by default,
let's just do that here as well.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-27 17:13:43 -07:00
Philip Prindeville
f5ca3ea50f ntpd: use UCI to synthesize minimal conf file
Borrowed code from Busybox's sysntpd.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-27 17:47:27 -06:00
Daniel Golle
113c4e8e91 Merge pull request #4643 from aparcar/patch-2
rpcd-mod-attendedsysupgrade: add missing .rpcd
2017-07-27 23:53:17 +02:00
Paul Spooren
c98e9f3b18 rpcd-mod-attendedsysupgrade: add missing .rpcd
due to renaming .rpcd was forgotten in the Makefile

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-07-27 19:20:33 +02:00
Philip Prindeville
fb54ca1ef5 Merge pull request #4610 from pprindeville/syslog-ng-fix-reload
syslog-ng: use syslog-ng-ctl to handle reload operation
2017-07-27 09:03:15 -06:00
Hannu Nyman
93f56a4427 Merge pull request #4639 from commodo/python-cryptography-update
python-cryptography: update to version 1.9 ; add python3 variant, and simplify/remove python-cffi host dep
2017-07-27 16:12:40 +03:00
Alexandru Ardelean
6cbed9fe15 python-cryptography: bump to version 1.9 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:07:51 +03:00
Alexandru Ardelean
b6ba77b289 python-cffi: install host-side via pip + add myself 2nd maintainer
python-cryptography needs this dep to build
the sources.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:07:39 +03:00
Alexandru Ardelean
8291361cc7 python-idna: bump to version 2.5 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:05:48 +03:00
Alexandru Ardelean
990ddfffe2 python-pyasn1: bump to version 0.2.3 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:05:03 +03:00
Alexandru Ardelean
b61864cdce python-six: add python3-six variant + add myself as 2nd maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:04:13 +03:00
Hannu Nyman
5a58466cac Merge pull request #4637 from commodo/python-refresh-patches
python,python3: refresh patches via refresh cmd (reduce patch fuzz)
2017-07-27 07:19:42 +03:00
Alexandru Ardelean
5986c5f5cd python3: refresh patches make package/python3/refresh cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-26 23:56:51 +03:00
Alexandru Ardelean
1660549e92 python: refresh patches make package/python/refresh cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-26 23:56:14 +03:00
Zoltan Herpai
dee9bbcc2b Merge pull request #4616 from diizzyy/patch-76
sound/mpg123: Update to 1.25.3
2017-07-26 21:13:17 +02:00
Philip Prindeville
83bd830407 syslog-ng: use syslog-ng-ctl for proper reloads
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville
08a13fb27a syslog-ng: add syntax check to startup script
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville
2898e7cc47 syslog-ng: get rid of guardian process
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville
1923459f4e syslog-ng: replace hardcoded paths with variables
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville
07a6e8bc73 syslog-ng: add customization directory
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Philip Prindeville
237b77002c syslog-ng: retire PKG_MD5SUM
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-26 11:54:06 -06:00
Hannu Nyman
20ebb47696 Merge pull request #4628 from ejurgensen/forked-daapd_25.0
forked-daapd: Update to 25.0
2017-07-26 20:09:55 +03:00
ejurgensen
cdb5e763af forked-daapd: Update to 25.0
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-07-26 17:02:45 +02:00
Yousong Zhou
1999396443 shadowsocks-libev: configure options for release build
- It's a common practice that assert should be ignored in release build
 - Whether to enable ssp should be decided by the config of build system

This was taken from Makefile in shadowsocks/openwrt-shadowsocks.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-26 10:17:48 +08:00
Etienne Champetier
fb00f8f39d build,travis: fix repo unshallowing
git merge-base does not work as I expected

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-25 16:08:09 -07:00
Marcin Jurkowski
aef80dbb9d httping: import from oldpackages and upgrade to version 2.5
Package version upgraded to 2.5 with patches:
- Fixed compiler warnings
- Fixed miscalculated response time
- Reduced binary size by stripping unused code

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-07-26 00:23:34 +02:00
Daniel Golle
d12344183e Merge pull request #4627 from aparcar/rpcd-mod-attended-sysupgrade
rpcd-mod-attendedsysupgrade: add package
2017-07-25 19:46:35 +02:00
Etienne Champetier
af076a65c0 build,travis: allow '/' in the start of the commit
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-25 10:43:56 -07:00
champtar
0ec29f082d Merge pull request #4626 from aparcar/patch-2
build,travis: allow dash in package name
2017-07-25 10:40:54 -07:00
Paul Spooren
bd8b66ec16 build,travis: allow dash in package name
Signed-off-by: Paul Spooren <paul@spooren.de>
2017-07-25 19:38:02 +02:00
Paul Spooren
f9a6c81c11 rpcd-mod-attendedsysupgrade: add package
add ubus call to perform a sysupgrade and acl file for the attended
sysupgrade use case as well uci defaults.
Package is a part of the GSoC 17 project implementing easy
sysupgrade functionality.

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-07-25 19:29:21 +02:00
Daniel Golle
0499b69423 Merge pull request #4625 from aparcar/rpcd-mod-packagelist
rpcd-mod-packagelist: add package
2017-07-25 19:27:07 +02:00
Paul Spooren
0d2e674aa1 rpcd-mod-packagelist: add package
Provides a way to acquire the list of installed packages without the
need to have opkg available. It is being used for the GSoC 17 project
implementing easy sysupgrade functionality.

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-07-25 17:54:24 +02:00
champtar
df1f3a41c8 Merge pull request #4624 from champtar/travis
build,travis: do not modify .travis.yml
2017-07-25 07:55:33 -07:00
Yousong Zhou
c7195ece14 shadowsocks-libev: configure with --disable-silent-rules
So that more details will be shown in faillogs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 16:48:34 +08:00
Hannu Nyman
eaac2b03b0 Merge pull request #4601 from commodo/python-cffi-upgrade
python-cffi: upgrade to 1.10.0 (together with dependencies)
2017-07-25 09:49:15 +03:00
Hannu Nyman
78c7889c24 Merge pull request #4623 from ejurgensen/gperf_3.1
gperf: Update to 3.1
2017-07-25 09:46:10 +03:00
Thomas Heil
e9ad69b59a Merge pull request #4034 from artynet/apache-fix
apache : fixing zlib dependency
2017-07-25 02:44:46 +02:00
Etienne Champetier
85bf0d11f4 build,travis: do not modify .travis.yml
restarting a build doesn't update .travis.yml but does update .travis_do.sh ...

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-24 16:32:55 -07:00
champtar
cd682e9262 Merge pull request #4618 from champtar/travis
Travis improvements
2017-07-24 15:08:42 -07:00
ejurgensen
b5af9e0ab2 gperf: Update to 3.1
The patch fixes a problem where an incorrect getline.h would get included
(not gperf's own which resides in ./lib)

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-07-24 23:23:00 +02:00
Etienne Champetier
e6013407a8 build,travis: fetch commits until we find merge-base
if the merge-base is not in the initial clone,
git diff / git rev-list will return funky results

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-07-24 12:01:09 -07:00
Ted Hess
dd0603a170 Merge pull request #4619 from diizzyy/patch-77
libs/expat: Fix poor entropy compilation error
2017-07-24 14:09:36 -04:00