Version: netsaint-plugins-1.2.9-4.tar.gz
configure fails for the check_pgsql plugin, it misses
the postgres libs and generates wrong Makefiles
1. Missing lib:
the configure script requires libcrypto for check_pgsql
to build. OpenBSD since 2.0 has no libcrypto because
the functions in libcrypto are placed in libc for
OpenBSD since version 2.0. see:
2. wrong include path for postgres headers
case '.../include/pgsql/ and .../include/postgresql/'
Even if configure finds a fake libcrypto it generates
wrong include path for postgres headers, even when
configure used with option --with-pgsql=/path/to/pg
Reason: the configure/configure.in script checks for
postgres includes at three different places ../pgsql/
../postgresql/ and direct. Regardless where the include
libpq_fe.h were found the script ignores the path from
--with-pgsql and always sets path-prefix PGINCLUDE to
/usr/include/ (see line 103 and 106 in configure.in)
Sorry, no fix available.
With best regards
Alexander