Bug 61998

Summary: PostgreSQL support for mail/vpopmail 5.3.30 (correction)
Product: Ports & Packages Reporter: Sascha Luck <sascha>
Component: Individual Port(s)Assignee: Peter Pentchev <roam>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Sascha Luck 2004-01-27 18:40:11 UTC
vpopmail-5.3.30 supports PostgreSQL but this isn't reflected in th
e port.

Fix: 

Makefile diff follows:

50,51
> WITH_PGSQL= yes #- allow authentication via PostgreSQL (NOT TESTED!)
> WITH_PGSQL_LOG= yes#- enable logging into PostgreSQL db
121a124,132
> 
> .if defined(WITH_PGSQL)
> CONFIGURE_ARGS+=      --enable-postgres=y \
>                       --enable-passwd=n 
> .if defined(WITH_PGSQL_LOG)
> CONFIGURE_ARGS+=      --enable-pgsql-logging=y \
>                       --enable-auth-logging=y 
> .endif
> .endif
(END)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-01-30 09:29:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer.
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2004-01-30 18:03:44 UTC
State Changed
From-To: open->analyzed

I committed a preliminary version of the PostgreSQL authentication support, 
adding the necessary library dependency handling (we need to depend on 
either databases/postgresql-client or databases/postgresql7 or some other 
suitable port containing the PostgreSQL client libraries) and a first shot 
at a scheme of specifying database connection credentials like the MySQL 
authentication does - WITH_PGSQL_USER and WITH_PGSQL_DB.  The support for 
a server different from localhost and a password is a bit harder - I'll 
have to patch the vpgsql.h and vpgsql.c files - but I guess I'll do it 
over the weekend. 

Thanks for the idea, and for the patch!
Comment 3 Palle Girgensohn freebsd_committer freebsd_triage 2006-11-03 11:25:54 UTC
State Changed
From-To: analyzed->closed

outdated PR