SQLite Forum

Packaging althttpd
Login
I'm packaging althttpd for Alpine Linux and hosting the package file in a personal repo (said repo is being served by althttpd also).

I'm using a date format in the package build as a version number:

pkgver="05.09.2020"

A link to the src:

https://sqlite.org/docsrc/zip?ci=ad2370ccce&in=misc/althttpd.c

and this link for the overall project url:

url="https://sqlite.org/docsrc/doc/trunk/misc/althttpd.md"

Just wondering if this looks about right?  The package builds fine and creates an open-rc sub-package to integrate with the service management system.

It took me a few tries to come up with the src url but I believe the form above will always get the same source that corresponds with the version date as listed in the pkgver variable?  To update the build I'm changing the version date and the ci= portion of the src url to the new check-in string.

I'm also applying a patch to allow plus signs in filenames as many of the files in the repo have them, eg. c++