Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 545004

Summary: dev-java/jdbc-postgresql-9.4_p1201 version bump
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://jdbc.postgresql.org/documentation/changelog.html#version_9.4-1200
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: jdbc-postgresql-9.4_p1201.ebuild.diff
jdbc-postgresql-9.4_p1201-remove-osgi.patch
jdbc-postgresql-9.4_p1201-remove-sspi.patch

Description Andreas Sturmlechner gentoo-dev 2015-03-29 21:52:03 UTC
Created attachment 400090 [details, diff]
jdbc-postgresql-9.4_p1201.ebuild.diff

Lots of good fixes, but two things do stand out:

* Make Pgjdbc an OSGi bundle
* Add native SSPI authentication support on Windows using JNA via Waffle

I personally don't care about the first, and I guess no one cares about the latter - so the ebuild gets rid of them both, unless maybe someone wants to introduce an osgi flag?

The result probably doesn't look pretty, but it works for me, and the tests do as well.
Comment 1 Andreas Sturmlechner gentoo-dev 2015-03-29 21:53:31 UTC
Created attachment 400092 [details, diff]
jdbc-postgresql-9.4_p1201-remove-osgi.patch

Use a patch where there's no hope for sed.
Comment 2 Andreas Sturmlechner gentoo-dev 2015-03-29 21:55:11 UTC
Created attachment 400094 [details, diff]
jdbc-postgresql-9.4_p1201-remove-sspi.patch

Patch out SSPI from ConnectionFactoryImpl.java, the single place where it is in use. This essentially brings it back to 9.3 level.
Comment 3 Patrice Clement gentoo-dev 2015-04-22 22:27:42 UTC
+*jdbc-postgresql-9.4_p1201 (22 Apr 2015)
+
+  22 Apr 2015; Patrice Clement <monsieurp@gentoo.org>
+  +files/jdbc-postgresql-9.4_p1201-remove-osgi.patch,
+  +files/jdbc-postgresql-9.4_p1201-remove-sspi.patch,
+  +jdbc-postgresql-9.4_p1201.ebuild, jdbc-postgresql-9.3_p1100.ebuild:
+  Version bump courtesy of Andreas Sturmlechner
+  <andreas.sturmlechner@gmail.com>. Fix bug 545004.
+

Thanks.