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

View file

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

View file

@ -0,0 +1 @@
7f9dc40b003d9df9408c647b5b4ed20a nginx-confgen-2.0.tar.gz

View file

@ -0,0 +1 @@
aa7e9df5d9834e3dd0f84f263da139a18dc0fa82 nginx-confgen-2.0.tar.gz

View file

@ -0,0 +1 @@
b4d4cbf73a22214e5d769ab7b147733d177b7b0caa66ec8ef1670b8697b2c64f nginx-confgen-2.0.tar.gz