

Building curl plugin

ln -s /usr/local/include/curl /usr/include/curl
ln -s /usr/local/lib/libcurl.so.25.15  /usr/lib/libcurl.so.25.15


Building Pg plugin

as root:

pkg_add postgresql-server postgresql-client
su - _postgresql
mkdir /var/postgresql/data
initdb -D /var/postgresql/data -U postgres -A md5 -W

ln -s /usr/local/include/postgresql/libpq-fe.h /usr/include/
ln -s /usr/local/include/postgresql/postgres_ext.h /usr/include/
ln -s /usr/local/include/postgresql/pg_config_ext.h /usr/include/
ln -s /usr/local/lib/libpq.so.6.10 /usr/lib/

exit
rcctl start postgresql
psql -U postgres
***** (postgres)


CREATE USER gabor WITH PASSWORD 'gabor';            
CREATE DATABASE testje;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO gabor;
psql -c 'create table boeken (id integer, titel varchar(100));' -U gabor -d testje
psql -c "insert into boeken values(1,'handboek')" -U gabor -d testje
psql -c "insert into boeken values(2,'telefoongids')" -U gabor -d testje



Build password plugin


pkg_add libsodium

Add example install notes for OpenBSD 6.3
Add example install notes for OpenBSD 6.3
