Changeset 137069


Ignore:
Timestamp:
Jun 4, 2015, 3:49:33 AM (4 years ago)
Author:
pixilla@…
Message:

databases/mariadb:

  • Use cmake.out_of_source. See #47197
  • Update mysql select file.
  • Update version to 5.5.43.

databases/mariadb-10.0:

  • Use cmake.out_of_source. See #47197
  • Update mysql select file.
  • Update version to 10.0.19.

databases/mariadb-10.1:

  • Use cmake.out_of_source. See #47197
  • Update mysql select file.
  • Update version to 10.1.4.
  • Fix build with upstream patch.

databases/mysql51:

  • Update mysql select file.
  • Update version to 5.1.73.

databases/mysql55:

  • Use cmake.out_of_source. See #47197
  • Update mysql select file.
  • Update version to 5.5.44.

databases/mysql56:

  • Use cmake.out_of_source. See #47197
  • Update mysql select file.
  • Update version to 5.6.25. See #47893

databases/mysql_select:

  • Update mysql select files.

databases/percona:

  • Use cmake.out_of_source. See #47197
  • Update mysql select file.
  • Update version to 5.6.24-72.2.
Location:
trunk/dports/databases
Files:
1 added
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mariadb-10.0/Portfile

    r132888 r137069  
    66name                mariadb-10.0
    77set name_mysql      ${name}
    8 version             10.0.16
     8version             10.0.19
    99set version_branch  [join [lrange [split ${version} .] 0 1] .]
    1010# Please set revision_client and revision_server to 0 if you bump version.
     
    4141
    4242    distname            mariadb-${version}
     43    cmake.out_of_source yes
    4344    use_parallel_build  yes
    4445
     
    4748                        patch-CMakeLists.txt.diff
    4849
    49     checksums           rmd160  bf2a309c041aae6be0465bd71b0760334328c8a5 \
    50                         sha256  44134a5f3e174e3e8443c1d07916af57f3ffadd4c8846338d41850fedfefcde4
     50    checksums           rmd160  2f9d70cce15d85654739ca7d64de87997f7db240 \
     51                        sha256  2fbf5e5d7d8094691601ece8ae60b941478d73c98a58a960aeebfa021091a132
    5152
    5253    depends_lib-append  port:zlib port:tcp_wrappers port:ncurses
     
    5960
    6061    post-extract {
    61         file mkdir ${worksrcpath}/build_macports/macports
     62        file mkdir ${cmake.build_dir}/macports
    6263        copy ${filespath}/macports-default.cnf \
    6364            ${filespath}/my.cnf \
    64             ${worksrcpath}/build_macports/macports/
     65            ${cmake.build_dir}/macports/
    6566    }
    6667
     
    6970            ${worksrcpath}/cmake/install_layout.cmake
    7071        reinplace "s|@NAME@|${name_mysql}|g" \
    71             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    72             ${worksrcpath}/build_macports/macports/my.cnf
     72            ${cmake.build_dir}/macports/macports-default.cnf \
     73            ${cmake.build_dir}/macports/my.cnf
    7374        reinplace "s|@PREFIX@|${prefix}|g" \
    74             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    75             ${worksrcpath}/build_macports/macports/my.cnf
    76     }
    77 
    78     configure.cmd       cmake ..
    79     configure.dir       ${worksrcpath}/build_macports
     75            ${cmake.build_dir}/macports/macports-default.cnf \
     76            ${cmake.build_dir}/macports/my.cnf
     77    }
     78
    8079    configure.args-delete \
    8180                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
     
    10099                        -DMYSQL_MAINTAINER_MODE:STRING=AUTO
    101100
    102     build.dir           ${worksrcpath}/build_macports
    103101    post-build {
    104         set dirs ${worksrcpath}/build_macports
     102        set dirs ${cmake.build_dir}
    105103        foreach dir ${dirs} {
    106104            reinplace -E {s|-arch [a-z0-9_]+||g} \
     
    127125        xinstall -m 755 -o root -d \
    128126            ${destroot}${prefix}/etc/${name_mysql}
    129         copy ${worksrcpath}/build_macports/macports/macports-default.cnf \
     127        copy ${cmake.build_dir}/macports/macports-default.cnf \
    130128            ${destroot}${prefix}/etc/${name_mysql}/
    131129        xinstall -m 755 -o root -d \
    132130            ${destroot}${prefix}/share/${name_mysql}/support-files/macports
    133         copy ${worksrcpath}/build_macports/macports/my.cnf \
     131        copy ${cmake.build_dir}/macports/my.cnf \
    134132            ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
    135133    }
  • trunk/dports/databases/mariadb-10.0/files/mariadb-10.0

    r122194 r137069  
    1515-
    1616lib/mariadb-10.0/bin/mysql_config
     17-
    1718lib/mariadb-10.0/bin/mysql_convert_table_format
     19lib/mariadb-10.0/bin/mysql_embedded
    1820lib/mariadb-10.0/bin/mysql_find_rows
    1921lib/mariadb-10.0/bin/mysql_fix_extensions
  • trunk/dports/databases/mariadb-10.1/Portfile

    r122194 r137069  
    66name                mariadb-10.1
    77set name_mysql      ${name}
    8 version             10.1.0
     8version             10.1.4
    99set version_branch  [join [lrange [split ${version} .] 0 1] .]
    1010# Please set revision_client and revision_server to 0 if you bump version.
     
    2525    revision            ${revision_client}
    2626    license             GPL-2
    27     description         (Beta version) Multithreaded SQL database server
    28     long_description    (Beta version) Mariadb is a fork of the MySQL server, a multi-threaded SQL database.
     27    description         (Warning: Alpha version) Multithreaded SQL database server
     28    long_description    (Warning: Alpha version) Mariadb is a fork of the MySQL server, a \
     29                        multi-threaded SQL database.
    2930
    3031    master_sites \
     
    4142
    4243    distname            mariadb-${version}
     44    cmake.out_of_source yes
    4345    use_parallel_build  yes
    4446
     
    4749                        patch-CMakeLists.txt.diff
    4850
    49     checksums           rmd160  83126e28b37cb51daedc99cacbd30df842fab2f3 \
    50                         sha256  994cf538e4e833080bb91b99652399b0c47bde3cdaa139b2118a60075d766521
     51    # Upstream issue MDEV-8073 fix
     52    # https://mariadb.atlassian.net/browse/MDEV-8073
     53    patchfiles-append   patch-sql-mdl.cc.diff
     54
     55    checksums           rmd160  07d5ff5d48cc85093655c6af3579f6be61416df9 \
     56                        sha256  14cc92414b2c3822923977a6fb544593498dbb5005044db33c193511757d411c
    5157
    5258    depends_lib-append  port:zlib port:tcp_wrappers port:ncurses
     
    5965
    6066    post-extract {
    61         file mkdir ${worksrcpath}/build_macports/macports
     67        file mkdir ${cmake.build_dir}/macports
    6268        copy ${filespath}/macports-default.cnf \
    6369            ${filespath}/my.cnf \
    64             ${worksrcpath}/build_macports/macports/
     70            ${cmake.build_dir}/macports/
    6571    }
    6672
     
    6975            ${worksrcpath}/cmake/install_layout.cmake
    7076        reinplace "s|@NAME@|${name_mysql}|g" \
    71             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    72             ${worksrcpath}/build_macports/macports/my.cnf
     77            ${cmake.build_dir}/macports/macports-default.cnf \
     78            ${cmake.build_dir}/macports/my.cnf
    7379        reinplace "s|@PREFIX@|${prefix}|g" \
    74             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    75             ${worksrcpath}/build_macports/macports/my.cnf
    76     }
    77 
    78     configure.cmd       cmake ..
    79     configure.dir       ${worksrcpath}/build_macports
     80            ${cmake.build_dir}/macports/macports-default.cnf \
     81            ${cmake.build_dir}/macports/my.cnf
     82    }
     83
    8084    configure.args-delete \
    8185                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
     
    9296                        -DWITH_UNIT_TESTS:BOOL=ON \
    9397                        -DWITHOUT_OQGRAPH_STORAGE_ENGINE:BOOL=ON \
    94                         -DWITHOUT_TOKUDB_STORAGE_ENGINE:BOOL=ON \
     98                        -DPLUGIN_TOKUDB:STRING=NO \
    9599                        -DENABLE_GCOV:BOOL=OFF \
    96100                        -DENABLE_DTRACE:BOOL=OFF \
     
    100104                        -DMYSQL_MAINTAINER_MODE:STRING=AUTO
    101105
    102     build.dir           ${worksrcpath}/build_macports
    103106    post-build {
    104         set dirs ${worksrcpath}/build_macports
     107        set dirs ${cmake.build_dir}
    105108        foreach dir ${dirs} {
    106109            reinplace -E {s|-arch [a-z0-9_]+||g} \
     
    127130        xinstall -m 755 -o root -d \
    128131            ${destroot}${prefix}/etc/${name_mysql}
    129         copy ${worksrcpath}/build_macports/macports/macports-default.cnf \
     132        copy ${cmake.build_dir}/macports/macports-default.cnf \
    130133            ${destroot}${prefix}/etc/${name_mysql}/
    131134        xinstall -m 755 -o root -d \
    132135            ${destroot}${prefix}/share/${name_mysql}/support-files/macports
    133         copy ${worksrcpath}/build_macports/macports/my.cnf \
     136        copy ${cmake.build_dir}/macports/my.cnf \
    134137            ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
    135138    }
     
    201204
    202205    livecheck.type      regex
    203     livecheck.url       https://downloads.mariadb.org/mariadb/
    204     livecheck.regex     "btn-large\" href=\"/mariadb/(\[^/\]+)/\">"
     206    livecheck.url       https://downloads.mariadb.org
     207    livecheck.regex     "btn-large\" href=\"/mariadb/(${version_branch}\[^/\]+)/\">"
    205208}
    206209
  • trunk/dports/databases/mariadb-10.1/files/mariadb-10.1

    r122194 r137069  
    1515-
    1616lib/mariadb-10.1/bin/mysql_config
     17-
    1718lib/mariadb-10.1/bin/mysql_convert_table_format
     19lib/mariadb-10.1/bin/mysql_embedded
    1820lib/mariadb-10.1/bin/mysql_find_rows
    1921lib/mariadb-10.1/bin/mysql_fix_extensions
  • trunk/dports/databases/mariadb/Portfile

    r130371 r137069  
    66name                mariadb
    77set name_mysql      ${name}
    8 version             5.5.41
     8version             5.5.43
    99set version_branch  [join [lrange [split ${version} .] 0 1] .]
    1010# Please set revision_client and revision_server to 0 if you bump version.
     
    4242# http://mirror.switch.ch/mirror/mariadb/mariadb-${version}/source/ \
    4343
     44    cmake.out_of_source yes
    4445    use_parallel_build  yes
    4546
     
    4849                        patch-CMakeLists.txt.diff
    4950
    50     checksums           rmd160  ac6d8c529efd2dd8c9648459d2fc4eefb23c83b7 \
    51                         sha256  a16dc62e4bcabecd5c483f2f8b657483a8c51934e7be5ad4ab21b8baea1f5332
     51    checksums           rmd160  93296e8d9e14949d47d4d0195f566891ba83bc76 \
     52                        sha256  a0709997140549154edb87c9dfab564cd4755b238251acbf42369118f9bb4d01
    5253
    5354    depends_lib-append  port:zlib port:tcp_wrappers port:ncurses
     
    6061
    6162    post-extract {
    62         file mkdir ${worksrcpath}/build_macports/macports
     63        file mkdir ${cmake.build_dir}/macports
    6364        copy ${filespath}/macports-default.cnf \
    6465            ${filespath}/my.cnf \
    65             ${worksrcpath}/build_macports/macports/
     66            ${cmake.build_dir}/macports/
    6667    }
    6768
     
    7071            ${worksrcpath}/cmake/install_layout.cmake
    7172        reinplace "s|@NAME@|${name_mysql}|g" \
    72             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    73             ${worksrcpath}/build_macports/macports/my.cnf
     73            ${cmake.build_dir}/macports/macports-default.cnf \
     74            ${cmake.build_dir}/macports/my.cnf
    7475        reinplace "s|@PREFIX@|${prefix}|g" \
    75             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    76             ${worksrcpath}/build_macports/macports/my.cnf
    77     }
    78 
    79     configure.cmd       cmake ..
    80     configure.dir       ${worksrcpath}/build_macports
    81     build.dir           ${worksrcpath}/build_macports
     76            ${cmake.build_dir}/macports/macports-default.cnf \
     77            ${cmake.build_dir}/macports/my.cnf
     78    }
    8279
    8380    configure.args-delete \
     
    103100
    104101    post-build {
    105         set dirs ${worksrcpath}/build_macports
     102        set dirs ${cmake.build_dir}
    106103        foreach dir ${dirs} {
    107104            reinplace -E {s|-arch [a-z0-9_]+||g} \
     
    128125        xinstall -m 755 -o root -d \
    129126            ${destroot}${prefix}/etc/${name_mysql}
    130         copy ${worksrcpath}/build_macports/macports/macports-default.cnf \
     127        copy ${cmake.build_dir}/macports/macports-default.cnf \
    131128            ${destroot}${prefix}/etc/${name_mysql}/
    132129        xinstall -m 755 -o root -d \
    133130            ${destroot}${prefix}/share/${name_mysql}/support-files/macports
    134         copy ${worksrcpath}/build_macports/macports/my.cnf \
     131        copy ${cmake.build_dir}/macports/my.cnf \
    135132            ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
    136133    }
  • trunk/dports/databases/mariadb/files/mariadb

    r130158 r137069  
    1515-
    1616lib/mariadb/bin/mysql_config
     17-
    1718lib/mariadb/bin/mysql_convert_table_format
     19lib/mariadb/bin/mysql_embedded
    1820lib/mariadb/bin/mysql_find_rows
    1921lib/mariadb/bin/mysql_fix_extensions
  • trunk/dports/databases/mysql51/Portfile

    r111523 r137069  
    66name                mysql51
    77set name_mysql      ${name}
    8 version             5.1.72
     8version             5.1.73
    99# Set revision_client and revision_server to 0 if you bump version.
    10 set revision_client 1
     10set revision_client 0
    1111set revision_server 0
    1212set version_branch  [join [lrange [split ${version} .] 0 1] .]
     
    4444                        patch-scripts-mysql_secure_installation.sh.diff
    4545
    46     checksums           rmd160  a5ba8bedf4027af90a4612a1a7f3a848999cfbf5 \
    47                         sha256  c414a64722ffa89d315152a030661d34764894e293e33792809cea61c8a5303e
     46    checksums           rmd160  ceee36663abbf135d3ddbebe52ebc537ecba25a6 \
     47                        sha256  05ebe21305408b24407d14b77607a3e5ffa3c300e03f1359d3066f301989dcb5
    4848   
    4949    depends_lib         port:zlib port:tcp_wrappers
     
    209209    livecheck.type          regex
    210210    livecheck.url           http://dev.mysql.com/downloads/mysql/${version_branch}.html
    211     livecheck.regex         "<h1>MySQL Community Server (${version_branch}(\.\[0-9.\]+)?)</h1>"
     211    livecheck.regex         "MySQL Community Server (${version_branch}(\.\[0-9.\]+)?)"
    212212}
    213213
  • trunk/dports/databases/mysql51/files/mysql51

    r94673 r137069  
    1515lib/mysql51/bin/mysql_client_test_embedded
    1616lib/mysql51/bin/mysql_config
     17-
    1718lib/mysql51/bin/mysql_convert_table_format
     19lib/mysql51/bin/mysql_embedded
    1820lib/mysql51/bin/mysql_find_rows
    1921lib/mysql51/bin/mysql_fix_extensions
  • trunk/dports/databases/mysql55/Portfile

    r134676 r137069  
    66name                mysql55
    77set name_mysql      ${name}
    8 version             5.5.42
     8version             5.5.44
    99# Set revision_client and revision_server to 0 if you bump version.
    1010set revision_client 0
     
    3737    patchfiles          patch-cmake-install_layout.cmake.diff
    3838
    39     checksums           rmd160  6dc47c5a885439a99585a0a8225a8e234a19e12e \
    40                         sha256  887b12676be4893fa833e4a585c6c8b0c0f18dee30ba7d22cfe860cd85bfc74a
     39    checksums           rmd160  72faecbd2cae73ac109253e4a512086e74058128 \
     40                        sha256  85f05b257db39e63c82ff4b5ce4e0c6d2b07560b5fc1646d47d7ae48eab3e5de
    4141
    4242    depends_lib-append  port:zlib port:tcp_wrappers
     
    4949
    5050    post-extract {
    51         file mkdir ${configure.dir}/macports
     51        file mkdir ${cmake.build_dir}/macports
    5252        copy ${filespath}/macports-default.cnf \
    5353            ${filespath}/my.cnf \
    54             ${configure.dir}/macports/
     54            ${cmake.build_dir}/macports/
    5555    }
    5656
     
    5959            ${worksrcpath}/cmake/install_layout.cmake
    6060        reinplace "s|@NAME@|${name_mysql}|g" \
    61             ${configure.dir}/macports/macports-default.cnf \
    62             ${configure.dir}/macports/my.cnf
     61            ${cmake.build_dir}/macports/macports-default.cnf \
     62            ${cmake.build_dir}/macports/my.cnf
    6363        reinplace "s|@PREFIX@|${prefix}|g" \
    64             ${configure.dir}/macports/macports-default.cnf \
    65             ${configure.dir}/macports/my.cnf
     64            ${cmake.build_dir}/macports/macports-default.cnf \
     65            ${cmake.build_dir}/macports/my.cnf
    6666    }
    6767
     
    8787
    8888    post-build {
    89         foreach dir ${configure.dir} {
     89        set dirs ${cmake.build_dir}
     90        foreach dir ${dirs} {
    9091            reinplace -E {s|-arch [a-z0-9_]+||g} \
    9192                ${dir}/scripts/mysql_config \
     
    111112        xinstall -m 755 -o root -d \
    112113            ${destroot}${prefix}/etc/${name_mysql}
    113         copy ${configure.dir}/macports/macports-default.cnf \
     114        copy ${cmake.build_dir}/macports/macports-default.cnf \
    114115            ${destroot}${prefix}/etc/${name_mysql}/
    115116        xinstall -m 755 -o root -d \
    116117            ${destroot}${prefix}/share/${name_mysql}/support-files/macports
    117         copy ${configure.dir}/macports/my.cnf \
     118        copy ${cmake.build_dir}/macports/my.cnf \
    118119            ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
    119120    }
  • trunk/dports/databases/mysql55/files/mysql55

    r94746 r137069  
    1515-
    1616lib/mysql55/bin/mysql_config
     17-
    1718lib/mysql55/bin/mysql_convert_table_format
     19lib/mysql55/bin/mysql_embedded
    1820lib/mysql55/bin/mysql_find_rows
    1921lib/mysql55/bin/mysql_fix_extensions
  • trunk/dports/databases/mysql56/Portfile

    r134816 r137069  
    77name                mysql56
    88set name_mysql      ${name}
    9 version             5.6.24
     9version             5.6.25
    1010# Set revision_client, revision_server and revision_innodb_memcached_plugin to 0 on
    1111# version bump.
     
    6060    }
    6161
    62     checksums           rmd160  cc1b8e7347e3b0bc0c94a35c1611d1cb82f80799 \
    63                         sha256  37e27305b67d76883c5902dce59c89d596beee9dca7dbadd4a2e117f8101dfeb
     62    checksums           rmd160  a65b1aa209cb2f08295db7cb7259a7ce294c0713 \
     63                        sha256  15079c0b83d33a092649cbdf402c9225bcd3f33e87388407be5cdbf1432c7fbd
    6464
    6565    depends_lib-append  port:zlib port:tcp_wrappers
     
    7272
    7373    post-extract {
    74         file mkdir ${configure.dir}/macports
     74        file mkdir ${cmake.build_dir}/macports
    7575        copy ${filespath}/macports-default.cnf \
    7676            ${filespath}/my.cnf \
    77             ${configure.dir}/macports/
     77            ${cmake.build_dir}/macports/
    7878    }
    7979
     
    8282            ${worksrcpath}/cmake/install_layout.cmake
    8383        reinplace "s|@NAME@|${name_mysql}|g" \
    84             ${configure.dir}/macports/macports-default.cnf \
    85             ${configure.dir}/macports/my.cnf
     84            ${cmake.build_dir}/macports/macports-default.cnf \
     85            ${cmake.build_dir}/macports/my.cnf
    8686        reinplace "s|@PREFIX@|${prefix}|g" \
    87             ${configure.dir}/macports/macports-default.cnf \
    88             ${configure.dir}/macports/my.cnf
     87            ${cmake.build_dir}/macports/macports-default.cnf \
     88            ${cmake.build_dir}/macports/my.cnf
    8989        reinplace "s|@SYSCONFDIR@|/etc/${name_mysql}|g" \
    9090            ${worksrcpath}/scripts/mysql_install_db.pl.in
     
    134134        xinstall -m 755 -o root -d \
    135135            ${destroot}${prefix}/etc/${name_mysql}
    136         copy ${configure.dir}/macports/macports-default.cnf \
     136        copy ${cmake.build_dir}/macports/macports-default.cnf \
    137137            ${destroot}${prefix}/etc/${name_mysql}/
    138138        xinstall -m 755 -o root -d \
    139139            ${destroot}${prefix}/share/${name_mysql}/support-files/macports
    140         copy ${configure.dir}/macports/my.cnf \
     140        copy ${cmake.build_dir}/macports/my.cnf \
    141141            ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
    142142        # Remove file supplied by ${name_mysql}-innodb-memcached-plugin subport.
  • trunk/dports/databases/mysql56/files/mysql56

    r107196 r137069  
    1515-
    1616lib/mysql56/bin/mysql_config
     17lib/mysql56/bin/mysql_config_editor
    1718lib/mysql56/bin/mysql_convert_table_format
     19lib/mysql56/bin/mysql_embedded
    1820lib/mysql56/bin/mysql_find_rows
    1921lib/mysql56/bin/mysql_fix_extensions
  • trunk/dports/databases/mysql_select/files/base

    r94682 r137069  
    1515bin/mysql_client_test_embedded
    1616bin/mysql_config
     17bin/mysql_config_editor
    1718bin/mysql_convert_table_format
     19bin/mysql_embedded
    1820bin/mysql_find_rows
    1921bin/mysql_fix_extensions
  • trunk/dports/databases/mysql_select/files/none

    r94682 r137069  
    140140-
    141141-
     142-
     143-
  • trunk/dports/databases/percona/Portfile

    r133741 r137069  
    77set name_mysql      ${name}
    88set name_package    ${name}-server
    9 set version_mysql   5.6.23
    10 set release         72.1
     9set version_mysql   5.6.24
     10set release         72.2
    1111# Please set revision_client and revision_server to 0 if you bump version_mysql or release.
    12 set revision_client 1
     12set revision_client 0
    1313set revision_server 0
    1414version             ${version_mysql}-${release}
     
    3333
    3434    master_sites \
    35     http://www.percona.com/redir/downloads/Percona-Server-${version_branch}/Percona-Server-${version}/source/tarball/:src \
    36     http://form.percona.com/rs/percona/images/:pdf
     35    http://www.percona.com/redir/downloads/Percona-Server-${version_branch}/Percona-Server-${version}/source/tarball
    3736
    3837    distname            ${name_package}-${version}
     38    cmake.out_of_source yes
    3939    distfiles           ${distname}${extract.suffix}:src
    4040    use_parallel_build  yes
     
    4343    patchfiles          patch-cmake-install_layout.cmake.diff
    4444
    45     checksums           ${distname}${extract.suffix} \
    46                         rmd160  bfc92bb84ca8027ecec9fefb9fbadebf0e06c6da \
    47                         sha256  5382630b98dd05f72e372ede5535ddcad2e389b594311a69f03a3d95f68d4907 \
    48 
    49 #    set manual_distfile "PerconaServer-${version} manual.pdf"
    50 #    extract.only        ${distname}${extract.suffix}
    51 #    distfiles-append    ${manual_distfile}:pdf
    52 #    checksums-append    ${manual_distfile} \
    53 #                        rmd160  b8040e186bc12079a2f66e0bd02db2bed8d35712 \
    54 #                        sha256  6a0195663e7a1e52ed558e2f814d9f06c5455fbe8cca2abd97a68ac20e384ba5
     45    checksums           rmd160  1309841316b8b2a472d8b862020878271e5635fc \
     46                        sha256  5aa6469f3a55fe0fd1cfe315f2f9cacb0ce318620086c93821c9000d6e25c0de
    5547
    5648    depends_lib-append  port:zlib port:tcp_wrappers
     
    6355
    6456    post-extract {
    65         file mkdir ${worksrcpath}/build_macports/macports
     57        file mkdir ${cmake.build_dir}/macports
    6658        copy ${filespath}/macports-default.cnf \
    6759            ${filespath}/my.cnf \
    68             ${worksrcpath}/build_macports/macports/
    69 #         copy ${distpath}/${manual_distfile} \
    70 #             ${worksrcpath}/build_macports/macports/
     60            ${cmake.build_dir}/macports/
    7161    }
    7262
     
    7565            ${worksrcpath}/cmake/install_layout.cmake
    7666        reinplace "s|@NAME@|${name_mysql}|g" \
    77             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    78             ${worksrcpath}/build_macports/macports/my.cnf
     67            ${cmake.build_dir}/macports/macports-default.cnf \
     68            ${cmake.build_dir}/macports/my.cnf
    7969        reinplace "s|@PREFIX@|${prefix}|g" \
    80             ${worksrcpath}/build_macports/macports/macports-default.cnf \
    81             ${worksrcpath}/build_macports/macports/my.cnf
     70            ${cmake.build_dir}/macports/macports-default.cnf \
     71            ${cmake.build_dir}/macports/my.cnf
    8272    }
    8373
     
    8777        configure.compiler gcc
    8878    }
    89     configure.cmd       cmake ..
    90     configure.dir       ${worksrcpath}/build_macports
    91     build.dir           ${worksrcpath}/build_macports
    9279
    9380    configure.args-delete \
     
    10592                        -DENABLE_GCOV:BOOL=OFF \
    10693                        -DENABLE_DTRACE:BOOL=OFF \
    107                         -DWITH_READLINE:BOOL=ON \
    108                         -DWITH_LIBEDIT:BOOL=OFF \
     94                        -DWITH_EDITLINE:STRING=bundled \
    10995                        -DWITH_LIBWRAP:BOOL=ON \
    11096                        -DWITH_SSL:STRING=bundled \
     
    11298
    11399    post-build {
    114         set dirs ${worksrcpath}/build_macports
     100        set dirs ${cmake.build_dir}
    115101        foreach dir ${dirs} {
    116102            reinplace -E {s|-arch [a-z0-9_]+||g} \
     
    137123        xinstall -m 755 -o root -d \
    138124            ${destroot}${prefix}/etc/${name_mysql}
    139         copy ${worksrcpath}/build_macports/macports/macports-default.cnf \
     125        copy ${cmake.build_dir}/macports/macports-default.cnf \
    140126            ${destroot}${prefix}/etc/${name_mysql}/
    141127        xinstall -m 755 -o root -d \
    142128            ${destroot}${prefix}/share/${name_mysql}/support-files/macports
    143         copy ${worksrcpath}/build_macports/macports/my.cnf \
     129        copy ${cmake.build_dir}/macports/my.cnf \
    144130            ${destroot}${prefix}/share/${name_mysql}/support-files/macports/
    145 #         copy ${worksrcpath}/build_macports/macports/${manual_distfile} \
    146 #             ${destroot}${prefix}/share/doc/${name_mysql}/
    147131    }
    148132
     
    191175        # of readline but use the system's (i.e. MacPorts') copy of readline"
    192176        depends_lib-append      port:readline
    193         configure.args-delete   -DWITH_READLINE:BOOL=ON
    194         configure.args-append   -DWITH_READLINE:BOOL=OFF
     177        configure.args-delete   -DWITH_EDITLINE:STRING=bundled
     178        configure.args-append   -DWITH_READLINE:STRING=system
    195179        archcheck.files-append  lib/libreadline.dylib
    196180    }
  • trunk/dports/databases/percona/files/percona

    r94599 r137069  
    1515-
    1616lib/percona/bin/mysql_config
     17lib/percona/bin/mysql_config_editor
    1718lib/percona/bin/mysql_convert_table_format
     19lib/percona/bin/mysql_embedded
    1820lib/percona/bin/mysql_find_rows
    1921lib/percona/bin/mysql_fix_extensions
Note: See TracChangeset for help on using the changeset viewer.