diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-19 14:43:13 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-19 14:43:13 +0000 |
commit | 6ab60d4920bb3199aee8cd872b930e9e3e808ba7 (patch) | |
tree | 3d761dbf8793a1d2422fbd14667255c7e0292ea4 /contrib/conf/colorit/colorit.conf | |
parent | c2f27dfe8218545c327ab49d225a49910347c5c6 (diff) | |
download | gnunet-6ab60d4920bb3199aee8cd872b930e9e3e808ba7.tar.gz gnunet-6ab60d4920bb3199aee8cd872b930e9e3e808ba7.zip |
Restructure contrib folder.
contrib/pogen.sh -> bin/pogen.sh
bootstrap: Use new pogen location and execute it.
contrib/openvpn-tap32: Move to contrib/3rdparty/Windows/openvpn-tap32.
contrib/gnunet-logo*: Move to contrib/branding/logo/
Delete old patches in contrib, predating git.
Move buildbot data to contrib/ci/buildbot,
move docker data to contrib/ci/docker.
Create contrib/conf and populate it with config files found in contrib and bin.
Move gns related data to contrib/gns.
delete contrib/repeat.sh
Move contrib/log.php into contrib/web/log.php.
Create folder contrib/scripts and use it for most scripts in contrib.
Remove trailing whitespace in doc/Makefile.am
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'contrib/conf/colorit/colorit.conf')
-rw-r--r-- | contrib/conf/colorit/colorit.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/conf/colorit/colorit.conf b/contrib/conf/colorit/colorit.conf new file mode 100644 index 000000000..77d57aa59 --- /dev/null +++ b/contrib/conf/colorit/colorit.conf | |||
@@ -0,0 +1,30 @@ | |||
1 | dnl -*- m4 -*- | ||
2 | dnl vim:ft=m4 | ||
3 | dnl | ||
4 | dnl colorit(1) configuration for gnunet logs | ||
5 | dnl | ||
6 | divert(-1) | ||
7 | dnl | ||
8 | dnl Define some useful color variables | ||
9 | dnl | ||
10 | define(`black', `0') | ||
11 | define(`red', `1') | ||
12 | define(`green', `2') | ||
13 | define(`yellow', `3') | ||
14 | define(`blue', `4') | ||
15 | define(`magenta', `5') | ||
16 | define(`cyan', `6') | ||
17 | define(`white', `7') | ||
18 | dnl | ||
19 | dnl Mark macro arguments: regexp foreground-color [background-color] | ||
20 | dnl | ||
21 | define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[3$2;4$3m"'', ``"\033[3$2m"'')' `"\033[m"') | ||
22 | dnl | ||
23 | divert | ||
24 | |||
25 | mark(`^[A-Z][a-z]{2} .[0-9] [0-9:]{8}(-[0-9]{6})?', yellow) | ||
26 | |||
27 | mark(`ERROR', red) | ||
28 | mark(`WARNING', yellow) | ||
29 | mark(`INFO', green) | ||
30 | mark(`DEBUG', cyan) | ||