Blob


1 # pkg_fcgi - FastCGI interface for the OpenBSD ports tree
3 pkg_fcgi is meant to be the replacement of gempkg, a Python CGI script
4 that allows to browse the OpenBSD package archive via Gemini.
6 There's a hosted version updated daily available at
7 <gemini://gemini.omarpolo.com/cgi/gempkg/>.
9 pkg_fcgi depends on libevent and sqlite3. To build, please run
11 $ ./configure
12 $ make
13 $ doas make install
15 To operate, pkg_fcgi needs an augmented version of the sqlite database
16 installed by the sqlports package. To generate it, issue;
18 # install -d -o www /var/www/pkg_fcgi/
19 # cp /usr/local/share/sqlports /var/www/pkg_fcgi/pkgs.sqlite3
20 # sqlite3 /var/www/pkg_fcgi/pkgs.sqlite3 <schema.sql
22 A sample configuration for gmid is:
24 server "localhost" {
25 listen on *
26 fastcgi socket "/run/pkg_fcgi.sock"
27 }