-- Leo's gemini proxy
-- Connecting to gemini.omarpolo.com:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en
> Writing about things, sometimes
WebPKG is a web-interface for the OpenBSD ports collection. It features a full-text search across package names, comment, description and mantainer field, as well as a presentation page for the packages.
On the technical side, WebPKG is a CGI script written in C that uses sqlports, an sqlite database with the data about all the ports. It was written by leveraging kcgi and sqlbox, so the resulting code base is very short.
Requires the two mentioned libraries (kcgi and sqlbox) installed, then a simple
$ make
will build everything, as pkg-config is used to obtain the correct CFLAGS/LDFLAGS.
You may need to point the SQLPORTS variable to the sqlports database.
By default
$ make install
will used doas to install the files inside /var/www/
-- text: CC0 1.0; code: public domain (unless specified otherwise). No copyright here.
For comments, write at < blog at omarpolo dot com > or @op@bsd.network in the fediverse.
-- Response ended
-- Page fetched on Thu Aug 11 00:03:16 2022