From 2f07d8e8e036d8c3b3608ba0febe8b9fc673663f Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 22 Oct 2020 15:36:06 +0200 Subject: [PATCH] nginx-confgen 2.0 --- dat/index.md | 6 +++++ dat/nginx-confgen.md | 26 +++++++++----------- dat/yxml.md | 3 +++ pub/download/nginx-confgen-2.0.tar.gz.asc | 16 ++++++++++++ pub/download/nginx-confgen-2.0.tar.gz.md5 | 1 + pub/download/nginx-confgen-2.0.tar.gz.sha1 | 1 + pub/download/nginx-confgen-2.0.tar.gz.sha256 | 1 + 7 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 pub/download/nginx-confgen-2.0.tar.gz.asc create mode 100644 pub/download/nginx-confgen-2.0.tar.gz.md5 create mode 100644 pub/download/nginx-confgen-2.0.tar.gz.sha1 create mode 100644 pub/download/nginx-confgen-2.0.tar.gz.sha256 diff --git a/dat/index.md b/dat/index.md index bce1043..ac21bab 100644 --- a/dat/index.md +++ b/dat/index.md @@ -20,6 +20,12 @@ the incidental article on this site. Enjoy your stay! ## Announcements Atom feed +`2020-10-22` - nginx-confgen 2.0 released +: Completely rewritten in C for easier, more portable and more lightweight + builds. Variables are now globally scoped, `pre_if` supports braces, + improved error reporting and a whole bunch of other improvements. + [Homepage](/nginx-confgen) - [Changelog](/nginx-confgen/changes). + `2020-06-10` - ncdu 1.15.1 released : Fixes two bugs introduced in 1.15: Fix building on older Linux systems and revert to the old follow-firmlinks-by-default behavior on macOS. diff --git a/dat/nginx-confgen.md b/dat/nginx-confgen.md index cf07d6c..2c0f78e 100644 --- a/dat/nginx-confgen.md +++ b/dat/nginx-confgen.md @@ -40,22 +40,20 @@ See the [manual](/nginx-confgen/man) for more features. ## Download -If you're on Debian, you can install the [package](https://packages.debian.org/nginx-confgen). +Latest version +: 2.0 ([nginx-confgen-2.0.tar.gz](/download/nginx-confgen-2.0.tar.gz) - [changes](/nginx-confgen/changes)) -If you're on a x86\_64 Linux system, you can use the binary: +Requirements +: A C compiler and a UNIX-like system. Only tested on Linux, but should also + work on \*BSD and MacOS (patches welcome if this is not the case). -``` -curl -s https://dev.yorhel.nl/download/nginx-confgen-linux-amd64-1.2.tar.gz | tar -xzf- -./nginx-confgen output.conf -``` +License +: MIT -To compile from source, install [Haskell Stack](https://haskellstack.org/) and run: +Distribution packages +: nginx-confgen is available in [Debian](https://packages.debian.org/nginx-confgen). -``` -git clone https://code.blicky.net/yorhel/nginx-confgen.git -cd nginx-confgen -stack install -``` +Development version +: `git clone https://code.blicky.net/yorhel/nginx-confgen.git` -The git repository is also available for [online -browsing](https://code.blicky.net/yorhel/nginx-confgen). + The git repository is also available for [online browsing](https://code.blicky.net/yorhel/nginx-confgen). diff --git a/dat/yxml.md b/dat/yxml.md index be194c9..766fe03 100644 --- a/dat/yxml.md +++ b/dat/yxml.md @@ -112,6 +112,9 @@ Yxml is used in a few products. Let me know if I missed one. ([src](https://github.com/gllmflndn/gifti/blob/master/%40gifti/private/xml_parser.c)). - [RetroArch](https://github.com/libretro/RetroArch) ([src](https://github.com/libretro/RetroArch/blob/master/libretro-common/formats/xml/rxml.c)). +- [radare2](https://www.radare.org/n/radare2.html) uses it to parse information + out of XNU binaries + ([src](https://github.com/radareorg/radare2/blob/160fc95e66e82d844ef0f5a258c03de844524a6e/libr/bin/format/xnu/r_cf_dict.c)). - [Crank Software's Storyboard](https://www.cranksoftware.com/storyboard) uses it to parse runtime configurations ([license](https://resources.cranksoftware.com/cranksoftware/v6.0.0/license/CrankStoryboardLicensing.html#idm45747345758896)). diff --git a/pub/download/nginx-confgen-2.0.tar.gz.asc b/pub/download/nginx-confgen-2.0.tar.gz.asc new file mode 100644 index 0000000..898ca73 --- /dev/null +++ b/pub/download/nginx-confgen-2.0.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAl+RhZIACgkQYjlMaYwn +OfpYTRAAuym3+x9Ztfz5NK3SyjTLlXtrdhjjagmkwcdbPMa9DchYYO74iFqPID+r +9IIOANBsGHab98UL4/Ijz4IAVSkDZs28wdAD91NuqB8IgYl66rKbXVWpH0X8xFxI +I7xMf0LzF++E9k4IhuIDDCdgC3CxHoC9l7XHYWkR5jfHi89mpvFmp6e9HNWy2lq5 +USFhmrapOjm8W6GdFG1ZEsB6f9iv9xZHlNpnD4jktcIK2/XwNytJhVTXed6wJgxV +fR8EupzBQAGo321qdKn912PS1t8AU5Ipi4AfypNSFI7jEgmcHhnUxDgqRmXQ3MDq +1SgS6Tao/ASaKIHfmtVU9cfJHzpT6STM7paEL+c1i+ELAbojvACjMAyICZr2/H9x +ca3tFokC6UQ8errmFnQyZcGKnnBeNKiB1vFmcoGnZPadLD9Nw4NDZ3EP9b8EKOUQ +aMXXC69B+23VRrzkTppm3GVHKNzksJZteejYpxMXzSTn9ATf5XWv9qQuLOtuB3dh +dxKcN8LgDYiplPJ4fxogvh9ZT/OfGxva+CpVR5ALIHoj5ONyFm9ijSZjtgo+Xgkm +X1cWIK+oTjOj1Ch6CAj2t4YFsJQssBr6adxJjwawRE/58ZyqxWHd+Di4OR1maB8i +1E24w9nMliNFfxmXhojWnv9x/E3SUxuwya4sSN8m02o5mabziIQ= +=ZoxL +-----END PGP SIGNATURE----- diff --git a/pub/download/nginx-confgen-2.0.tar.gz.md5 b/pub/download/nginx-confgen-2.0.tar.gz.md5 new file mode 100644 index 0000000..86aabd5 --- /dev/null +++ b/pub/download/nginx-confgen-2.0.tar.gz.md5 @@ -0,0 +1 @@ +7f9dc40b003d9df9408c647b5b4ed20a nginx-confgen-2.0.tar.gz diff --git a/pub/download/nginx-confgen-2.0.tar.gz.sha1 b/pub/download/nginx-confgen-2.0.tar.gz.sha1 new file mode 100644 index 0000000..d923074 --- /dev/null +++ b/pub/download/nginx-confgen-2.0.tar.gz.sha1 @@ -0,0 +1 @@ +aa7e9df5d9834e3dd0f84f263da139a18dc0fa82 nginx-confgen-2.0.tar.gz diff --git a/pub/download/nginx-confgen-2.0.tar.gz.sha256 b/pub/download/nginx-confgen-2.0.tar.gz.sha256 new file mode 100644 index 0000000..3ad3c8f --- /dev/null +++ b/pub/download/nginx-confgen-2.0.tar.gz.sha256 @@ -0,0 +1 @@ +b4d4cbf73a22214e5d769ab7b147733d177b7b0caa66ec8ef1670b8697b2c64f nginx-confgen-2.0.tar.gz