Blob


1 # WebPKG
3 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.
5 => https://webpkg.omarpolo.com WebPKG
6 => https://git.omarpolo.com/webpkg Source code
7 => https://github.com/omar-polo/webpkg GitHub mirror
9 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.
11 => https://kristaps.bsd.lv/kcgi/ KCGI – minimal CGI and FastCGI library for C/C++
12 => https://kristaps.bsd.lv/sqlbox/ sqlbox – secure database access library
14 ## Building
16 Requires the two mentioned libraries (kcgi and sqlbox) installed, then a simple
17 ```
18 $ make
19 ```
20 will build everything, as pkg-config is used to obtain the correct CFLAGS/LDFLAGS.
22 You may need to point the SQLPORTS variable to the sqlports database.
24 By default
25 ```
26 $ make install
27 ```
28 will used doas to install the files inside /var/www/