Ticket #37172: mysql_libwrap.patch

File mysql_libwrap.patch, 3.9 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 11 years ago)

patch

  • mysql5/Portfile

     
    66name                    mysql5
    77version                 5.1.66
    88# Please set revision_client and revision_server to 0 if you bump version.
    9 set revision_client     1
     9set revision_client     2
    1010set revision_server     1
    1111set branch              [join [lrange [split ${version} .] 0 1] .]
    1212homepage                http://www.mysql.com/
     
    6161    conflicts               mysql5-devel mysql4
    6262    depends_lib \
    6363        port:zlib \
    64         port:openssl
    65    
     64        port:openssl \
     65        port:tcp_wrappers
     66
    6667    archcheck.files         lib/libz.dylib \
    67                             lib/libssl.dylib
    68    
     68                            lib/libssl.dylib \
     69                            lib/libwrap.dylib
     70
    6971    patch.pre_args      -p1
    7072    patchfiles          patch-Makefile.in.diff \
    7173                        patch-scripts-mysql_secure_installation.sh.diff
  • mysql5-devel/Portfile

     
    1010name                    mysql5-devel
    1111conflicts               mysql5 mysql4
    1212version                 5.5.2-m2
    13 revision        1
     13revision        2
    1414set branch              [join [lrange [split ${version} .] 0 1] .]
    1515homepage                http://www.mysql.com/
    1616categories              databases
     
    4242
    4343depends_lib \
    4444    port:zlib \
    45     port:openssl
     45    port:openssl \
     46    port:tcp_wrappers
    4647
    4748archcheck.files         lib/libz.dylib \
    48                         lib/libssl.dylib
     49                        lib/libssl.dylib \
     50                        lib/libwrap.dylib
    4951
    5052set major_version       [strsed ${version} {s/\..*$//}]
    5153set mysql               mysql${major_version}
  • mysql51/Portfile

     
    77set name_mysql      ${name}
    88version             5.1.66
    99# Please set revision_client and revision_server to 0 if you bump version.
    10 set revision_client 0
     10set revision_client 1
    1111set revision_server 0
    1212categories          databases
    1313platforms           darwin
     
    5454    checksums           rmd160  27e7faea4d0ec1ea183eb70b7b29b7e8a864aa53 \
    5555                        sha256  eb85e3fa152949670f5b6f4379bd1d700a5f4726660ce18ff0ca628190cba907
    5656   
    57     depends_lib         port:zlib
     57    depends_lib         port:zlib port:tcp_wrappers
    5858    depends_run         port:mysql_select
    5959   
    6060    select.group        mysql
    6161    select.file         ${filespath}/${name_mysql}
    6262   
    63     archcheck.files     lib/libz.dylib
     63    archcheck.files     lib/libz.dylib lib/libwrap.dylib
    6464   
    6565    post-extract {
    6666        file mkdir ${worksrcpath}/build_macports/macports
  • mysql55/Portfile

     
    77set name_mysql      ${name}
    88version             5.5.28
    99# Please set revision_client and revision_server to 0 if you bump version.
    10 set revision_client 1
     10set revision_client 2
    1111set revision_server 0
    1212categories          databases
    1313platforms           darwin
     
    4646    checksums           rmd160  dbd2a75a2b55e54f5216d0ea1376b97fd7a107de \
    4747                        sha256  f9b2491f1ddd99842a8e75c21958368bebe59c47e84bec778baa915e255cc78f
    4848
    49     depends_lib-append  port:zlib
     49    depends_lib-append  port:zlib port:tcp_wrappers
    5050    depends_run-append  port:mysql_select
    5151
    5252    select.group        mysql
    5353    select.file         ${filespath}/${name_mysql}
    5454
    55     archcheck.files     lib/libz.dylib
     55    archcheck.files     lib/libz.dylib lib/libwrap.dylib
    5656
    5757    post-extract {
    5858        file mkdir ${worksrcpath}/build_macports/macports