-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Apr 6, 2017
1 parent
8b39c66
commit 892cc55
Showing
10 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
#cd $GOPATH/src/github.com/FreifunkBremen/yanic/contrib/packages; | ||
cd contrib/packages; | ||
dpkg-buildpackage -us -uc | ||
cd -; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
yanic (0.0~git20170326.0.b131fac-1) UNRELEASED; urgency=medium | ||
|
||
* Initial release (Closes: TODO) | ||
|
||
-- root <TODO> Thu, 06 Apr 2017 15:30:03 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Source: yanic | ||
Section: devel | ||
Priority: extra | ||
Maintainer: Debian Go Packaging Team <[email protected]> | ||
Uploaders: root <TODO> | ||
Build-Depends: debhelper (>= 10), | ||
dh-golang | ||
Standards-Version: 3.9.8 | ||
Homepage: https://github.com/FreifunkBremen/yanic | ||
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/yanic.git | ||
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/yanic.git | ||
XS-Go-Import-Path: github.com/FreifunkBremen/yanic | ||
|
||
Package: yanic | ||
Architecture: any | ||
Built-Using: ${misc:Built-Using} | ||
Depends: ${shlibs:Depends}, | ||
${misc:Depends} | ||
Description: Yet another node info collector - for respondd to be used with MeshViewer, InfluxDB and Grafana | ||
Yanic ``` | ||
-------------------------------------------------------------------------------- | ||
. | ||
\ \ / /_ _ _ __ (_) ___ | ||
\ V / _| '_ \| |/ __| | ||
| | (_| | | | | | (__ |_|\__,_|_| |_|_|\___| | ||
Yet another node info collector `` (previously respond-collector | ||
(https://github.com/FreifunkBremen/respond-collector)) | ||
. | ||
Build Status (https://travis-ci.org/FreifunkBremen/yanic) Coverage Status | ||
(https://coveralls.io/github/FreifunkBremen/respond-collector?branch=master) | ||
. | ||
yanic is a respondd client that fetches, stores and publishes information | ||
about a Freifunk network. The goals: * Generating JSON for Meshviewer | ||
(https://github.com/ffrgb/meshviewer) * Storing statistics in InfluxDB | ||
(https://influxdata.com/) to be analyzed by Grafana (http://grafana.org/) | ||
* Provide a little webserver for a standalone installation with a | ||
meshviewer Usage | ||
. | ||
Usage of ./yanic: | ||
-config path/to/config.toml | ||
. | ||
Configuration Read comments in config_example.toml | ||
(config_example.toml) for more information. Live• | ||
meshviewer (https://map.bremen.freifunk.net) Freifunk Bremen | ||
with a patch to show state-version of nodes.json• grafana | ||
(https://grafana.bremen.freifunk.net) Freifunk Bremen show data of | ||
InfluxDBHow it works It sends the gluon-neighbour-info request and | ||
collects the answers. | ||
. | ||
It will send UDP packets with multicast group ff02:0:0:0:0:0:2:1001 and | ||
port 1001. | ||
. | ||
If a node does not answer, it will request with the last know address | ||
under the port 1001. Related projects Collecting data from respondd: * | ||
Node informant (https://github.com/ffdo/node-informant) written in Go * | ||
HopGlass Server (https://github.com/plumpudding/hopglass-server) written | ||
in Node.js | ||
. | ||
Respondd for servers: * ffnord-alfred-announce | ||
(https://github.com/ffnord/ffnord-alfred-announce) from FreiFunkNord * | ||
respondd (https://github.com/Sunz3r/ext-respondd) from Sunz3r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: yanic | ||
Source: https://github.com/FreifunkBremen/yanic | ||
|
||
Files: * | ||
Copyright: 2016 Freifunk Bremen | ||
License: TODO | ||
|
||
Files: debian/* | ||
Copyright: 2017 root <TODO> | ||
License: TODO | ||
Comment: Debian packaging is licensed under the same terms as upstream | ||
|
||
License: TODO | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[DEFAULT] | ||
pristine-tar = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/make -f | ||
|
||
%: | ||
dh $@ --buildsystem=golang --with=golang,systemd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
version=3 | ||
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/yanic-\$1\.tar\.gz/,\\ | ||
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \\ | ||
https://github.com/FreifunkBremen/yanic/tags .*/v?(\d\S*)\.tar\.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../init/linux-systemd/yanic.service |