Fair enough. FWIW, if anybody is having the "You need to update" error -- make sure that you compile nspostgres with ACS=1 as follows:
$ gmake ACS=1 POSTGRES=/usr/local ... $ gmake ACS=1 POSTGRES=/usr/local install
(substitute for just make on Linux).
As far as nssha1 is concerned -- lines 139 and 140 of nssha1.c need to be commented out if you are compiling in FreeBSD (probably it should just be wrapped in to a sensible #ifdef/#endif:
--- nssha1-0.1/nssha1.c.org Mon Jan 20 00:57:45 2003 +++ nssha1-0.1/nssha1.c Mon Jan 20 00:52:46 2003 @@ -136,8 +136,8 @@ return NS_OK; } -typedef unsigned int u_int32_t; -typedef unsigned char u_int8_t; +/*typedef unsigned int u_int32_t; +typedef unsigned char u_int8_t;*/ /*** FROM sha.h: ***/
After these changes all is good with the follwoing setup: FreeBSD 5.0-CURRENT/postgresql-devel (7.3.1) from ports/OpenACS 4.6-final