Package Details: postgresql-jdbc 42.5.3-2

Git Clone URL: https://aur.archlinux.org/postgresql-jdbc.git (read-only, click to copy)
Package Base: postgresql-jdbc
Description: The official JDBC driver for PostgreSQL. Contains JDBC 4.2 drivers.
Upstream URL: http://jdbc.postgresql.org/
Licenses: custom: BSD
Submitter: None
Maintainer: Huulivoide
Last Packager: Huulivoide
Votes: 52
Popularity: 0.076922
First Submitted: 2008-01-28 20:22 (UTC)
Last Updated: 2023-02-09 09:23 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

snoreven commented on 2016-09-07 16:51 (UTC)

Sorry, didn't see the PKGBUILD from the comments. Works with it. Please fix.

snoreven commented on 2016-09-07 15:14 (UTC)

I can't install, getting error when it's unpacking the .jar: -> Pakker ut postgresql-jdbc-9.4.1208.jdbc4.jar med bsdtar META-INF/: Can't replace existing directory with non-directory bsdtar: Error exit delayed from previous errors.

SRChiP commented on 2016-07-04 17:21 (UTC)

You can use this PKGBUILD to successfully build it. The changes are renaming the file names in noextract, loser137's change. #Maintainer: Jesse Jaara <gmail.com: jesse.jaara> pkgname=postgresql-jdbc _mainver=9.4 _build=1208 pkgver=${_mainver}.${_build} pkgrel=2 pkgdesc="The official JDBC driver for PostgreSQL. Contains JDBC 4.0 and 4.1 drivers." arch=('any') url="http://jdbc.postgresql.org/" license=("Custom: BSD") depends=('java-runtime') source=(LICENSE postgresql-jdbc-${pkgver}.jdbc4.jar::http://jdbc.postgresql.org/download/postgresql-${_mainver}.${_build}.jre6.jar postgresql-jdbc-${pkgver}.jdbc41.jar::http://jdbc.postgresql.org/download/postgresql-${_mainver}.${_build}.jre7.jar postgresql-jdbc-${pkgver}.jdbc42.jar::http://jdbc.postgresql.org/download/postgresql-${_mainver}.${_build}.jar) md5sums=('da7e6f8b26deefe7c03b391454732a0d' 'ad222fd5d73c16db63aed7bc19396019' 'e23f33f6bac5638842ed0f810590e3d4' '19c06fdfc4fe514acf0bfacd1f8afd6a') noextract=(postgresql-jdbc-${pkgver}.jdbc4.jar postgresql-jdbc-${pkgver}.jdbc41.jar postgresql-jdbc-${pkgver}.jdbc42.jar) package() { install -d -m755 "${pkgdir}/usr/share/java/${pkgname}" install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc4.jar" "${pkgdir}/usr/share/java/${pkgname}/" install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc41.jar" "${pkgdir}/usr/share/java/${pkgname}/" install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc42.jar" "${pkgdir}/usr/share/java/${pkgname}/" ln -s postgresql-jdbc-${pkgver}.jdbc4.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc4.jar" ln -s postgresql-jdbc-${pkgver}.jdbc41.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc41.jar" ln -s postgresql-jdbc-${pkgver}.jdbc42.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc42.jar"

loser137 commented on 2016-03-22 08:05 (UTC)

postgresql-jdbc-9.4.1208.jdbc42.jar is downloaded but not installed. You can insert the following line in package() to fix this: install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jdbc42.jar" "${pkgdir}/usr/share/java/${pkgname}/"

GLaDER commented on 2016-02-17 10:36 (UTC)

AUR Packages (1): postgresql-jdbc-9.4.1206-2 :: Proceed with installation? [Y/n] :: Retrieving package(s)... Already up-to-date. :: View postgresql-jdbc PKGBUILD? [Y/n] :: postgresql-jdbc PKGBUILD viewed :: Checking postgresql-jdbc integrity... ==> ERROR: license should be an array :: failed to verify postgresql-jdbc integrity

egore911 commented on 2014-12-20 21:09 (UTC)

The following PKGBUILD can be used for the latest driver (9.3_1102) and JDBC 4.1 support: # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD # Contributor: [Christoph Brill](mailto:egore911@gmail.com) pkgname=postgresql-jdbc pkgver=9.3_1102 pkgrel=1 pkgdesc="The official JDBC driver for PostgreSQL. This package contains JDBC3 and JDBC4 drivers." arch=('any') url="http://jdbc.postgresql.org/" license="BSD" depends=('java-runtime') source=(http://jdbc.postgresql.org/download/postgresql-${pkgver//_/-}.jdbc3.jar \ http://jdbc.postgresql.org/download/postgresql-${pkgver//_/-}.jdbc4.jar \ http://jdbc.postgresql.org/download/postgresql-${pkgver//_/-}.jdbc41.jar) noextract=("postgresql-${pkgver//_/-}.jdbc3.jar" "postgresql-${pkgver//_/-}.jdbc4.jar" "postgresql-${pkgver//_/-}.jdbc41.jar") package() { mkdir -p $pkgdir/usr/share/java/$pkgname for f in $srcdir/*; do install -m644 ${f} $pkgdir/usr/share/java/$pkgname done for i in ${pkgdir}/usr/share/java/${pkgname}/*.jar; do _filename=${i##*\/}; _version=${pkgver//_/-} ln -s ${_filename} ${pkgdir}/usr/share/java/${pkgname}/${_filename/${_version}./} done } md5sums=('28130260a585a6c56c391c9522e04b5b' '5faefdec7dbd96f72a5b4c428cae4901' 'd45001469e6fc43664b5080fcea731a4') sha256sums=('bc0d11354b1932eba111fad53f2545b3aa796ebc16c2f49a2eae57d21fc5cbc3' '092090809bcf94aec9abc0ba6ba471949ad2e5971e7c1fc3777e2bc7ae9ebc3d' 'b78749d536da75c382d0a71c717cde6850df64e16594676fc7cacb5a74541d66')

vitalijr2 commented on 2012-12-01 07:16 (UTC)

9.2-1002

giddie commented on 2011-12-12 15:26 (UTC)

Is the arch actually restricted to x86 and x86_64, or should this actually be "any"?

vitalijr2 commented on 2011-11-20 21:42 (UTC)

I see. 9.1_901-2 (Fix noextract)

schuay commented on 2011-11-19 21:33 (UTC)

Yeah the package contents are now fine, because you install both .jar files manually (without using wildcards). If you look inside $srcdir/ though after a makepkg, you will see that both .jar's are extracted. So no, noextract doesn't work with wildcards.