Bug 211673 - [NEW PORT] databases/postgresql-npgsql: .NET data provider for PostgreSQL
Summary: [NEW PORT] databases/postgresql-npgsql: .NET data provider for PostgreSQL
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: pgsql
Keywords: feature
Depends on:
Reported: 2016-08-08 17:07 UTC by Carsten Larsen
Modified: 2018-02-10 21:58 UTC (History)
3 users (show)

See Also:

New port (2.18 KB, text/plain)
2016-08-08 17:07 UTC, Carsten Larsen
no flags Details
New port (2.20 KB, text/plain)
2016-08-22 17:17 UTC, Carsten Larsen
cs: maintainer-approval-
patch with pkgconfig (2.94 KB, text/plain)
2016-12-19 20:28 UTC, Carsten Larsen
cs: maintainer-approval+

Note You need to log in before you can comment on or make changes to this bug.
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.

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

  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 ?