Changeset 63017 for trunk/dports/java


Ignore:
Timestamp:
Jan 23, 2010, 4:34:19 PM (10 years ago)
Author:
nox@…
Message:

Update mysql-connector-java to 5.1.11

Location:
trunk/dports/java/mysql-connector-java
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/mysql-connector-java/Portfile

    r62102 r63017  
    44
    55name                            mysql-connector-java
    6 version                         5.1.10
     6version                         5.1.11
    77set branch          [join [lrange [split ${version} .] 0 1] .]
    88
     
    2323
    2424master_sites            http://ftp.plusline.de/mysql/Downloads/Connector-J/
    25 checksums           md5     f9da616de868ddd1acf1428334f3313d \
    26                     sha1    32938f3004c70a657a7481496bc3813b85df20de \
    27                     rmd160  ef5b6cf4cceaac0c6d32858920c362bab6004bc1
     25checksums           md5     22630172e67c1a96996c3201d9b30398 \
     26                    sha1    0183a6b52cfdb935826590f667e5272f6fffe943 \
     27                    rmd160  53c048d215bee69f35d3f8335bd61328d734ff21
    2828
    2929patchfiles                      patch-build.xml
     
    4545
    4646destroot {
    47         xinstall -m 755 -d ${destroot}${prefix}/share/java \
     47        xinstall -d ${destroot}${prefix}/share/java \
    4848                ${destroot}${prefix}/share/doc
    4949        xinstall -m 644 ${worksrcpath}/build/${distname}/${distname}-bin.jar \
    5050                ${destroot}${prefix}/share/java/${name}-5.0.jar
    51         file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
     51        copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
     52
     53    set docdir ${prefix}/share/doc/${name}
     54    xinstall -m 644 -W ${worksrcpath} CHANGES COPYING EXCEPTIONS-CONNECTOR-J \
     55        ${destroot}${docdir}
    5256}
    5357
  • trunk/dports/java/mysql-connector-java/files/patch-JDK-1.6.diff

    r61130 r63017  
    18671867--- src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java.orig       2009-11-28 18:58:49.000000000 +0100
    18681868+++ src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java    2009-11-29 01:26:55.000000000 +0100
    1869 @@ -25,10 +25,18 @@
     1869@@ -25,9 +25,16 @@
    18701870 package com.mysql.jdbc.jdbc2.optional;
    18711871 
     
    18821882+import java.sql.Struct;
    18831883 import java.util.Map;
    1884 +import java.util.Properties;
     1884 import java.util.Properties;
    18851885 import java.util.TimeZone;
    1886  
    1887  import com.mysql.jdbc.Connection;
    18881886@@ -2619,4 +2627,58 @@
    1889                         boolean queryTimeoutKillsConnection) {
    1890                 this.mc.setQueryTimeoutKillsConnection(queryTimeoutKillsConnection);
     1887        public Properties getProperties() {
     1888                return this.mc.getProperties();
    18911889        }
    18921890+
     
    19451943+       }
    19461944 }
     1945\ No newline at end of file
    19471946--- src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java.orig 2009-11-28 18:58:49.000000000 +0100
    19481947+++ src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java      2009-11-29 01:15:15.000000000 +0100
Note: See TracChangeset for help on using the changeset viewer.