Bug 211673

Summary: [NEW PORT] databases/postgresql-npgsql: .NET data provider for PostgreSQL
Product: Ports & Packages Reporter: Carsten Larsen <cs>
Component: Individual Port(s)Assignee: pgsql
Status: New ---    
Severity: Affects Only Me CC: girgen, mono, w.schwarzenfeld
Priority: --- Keywords: feature
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
New port
none
New port
cs: maintainer-approval-
patch with pkgconfig cs: maintainer-approval+

Description Carsten Larsen 2016-08-08 17:07:21 UTC
Created attachment 173415 [details]
New port

Npgsql is an open source ADO.NET Data Provider for PostgreSQL,
it allows programs written in C#, Visual Basic, F# to access
the PostgreSQL database server. It allows any program developed
for .NET framework to access database server. It is implemented
in 100% C# code. Works with PostgreSQL 9.x and above.

WWW: http://www.npgsql.org/


portlint -AC
    WARN: Makefile: possible use of absolute pathname "/p:Configuration=Rel...".

poudriere (10.3, amd64)
    No errors.
Comment 1 Carsten Larsen 2016-08-22 17:17:29 UTC
Created attachment 173951 [details]
New port

Bumped to version 3.1.7 and tested with new Mono 4.4 from ports.

Portlint:
  WARN: Makefile: possible use of absolute pathname "/p:Configuration=Rel...".

Poudriere:
  No errors.
Comment 2 Carsten Larsen 2016-09-17 18:05:58 UTC
Comment on attachment 173951 [details]
New port

pkg-config file should be included so xbuild can resolve library references.
Comment 3 Carsten Larsen 2016-12-19 20:28:51 UTC
Created attachment 178120 [details]
patch with pkgconfig

- Updated to 3.1.9
- Included pkgconfig
Comment 4 Palle Girgensohn freebsd_committer 2018-02-10 19:50:42 UTC
I'm adding mono@FreeBSD.org to the cc-list since I have not exeperience with mono or .NET. Perhaps you can nurse the port to the tree?
Comment 5 Carsten Larsen 2018-02-10 21:58:52 UTC
Current version of npgsql is 3.2.6. Entity Framework is actually also supported by  npgsql but not included in this port. If the current version of mono in the ports tree support Entity Framework, the Npgsql Entity Framework 6 provider should be included. Any hints on this from mono@FreeBSD.org ?