nginx-confgen 2.0

This commit is contained in:
Yorhel 2020-10-22 15:36:06 +02:00
parent 35c6dd4aa8
commit 2f07d8e8e0
7 changed files with 40 additions and 14 deletions

View file

@ -20,6 +20,12 @@ the incidental article on this site. Enjoy your stay!
<!-- These announcements are parsed by mkfeed.pl, see that file for formatting -->
## Announcements <a href="/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
`2020-10-22` - nginx-confgen 2.0 released <!-- link: /nginx-confgen -->
: 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 <!-- tags: ncdu, link: /ncdu -->
: 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.

View file

@ -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 <input.conf >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).

View file

@ -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)).