Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545004 - dev-java/jdbc-postgresql-9.4_p1201 version bump
Summary: dev-java/jdbc-postgresql-9.4_p1201 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL: https://jdbc.postgresql.org/documenta...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-29 21:52 UTC by Andreas Sturmlechner
Modified: 2015-04-22 22:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
jdbc-postgresql-9.4_p1201.ebuild.diff (jdbc-postgresql-9.4_p1201.ebuild.diff,2.85 KB, patch)
2015-03-29 21:52 UTC, Andreas Sturmlechner
Details | Diff
jdbc-postgresql-9.4_p1201-remove-osgi.patch (jdbc-postgresql-9.4_p1201-remove-osgi.patch,1.59 KB, patch)
2015-03-29 21:53 UTC, Andreas Sturmlechner
Details | Diff
jdbc-postgresql-9.4_p1201-remove-sspi.patch (jdbc-postgresql-9.4_p1201-remove-sspi.patch,6.66 KB, patch)
2015-03-29 21:55 UTC, Andreas Sturmlechner
Details | Diff

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