Changes between Initial Version and Version 1 of Ticket #37172


Ignore:
Timestamp:
Nov 30, 2012, 5:35:01 AM (11 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

Deleted my proposed changes since they were insufficient. Even with the package installed, the build picks it up from /usr instead of $prefix

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37172 – Description

    initial v1  
    1212
    1313It should be using /opt/local/lib/libwrap.7.dylib from port:tcp_wrappers
    14 
    15 Proposed changes:
    16 
    17 {{{
    18 ~/src/macports/dports/databases $ svn diff
    19 Index: mysql5/Portfile
    20 ===================================================================
    21 --- mysql5/Portfile     (revision 100113)
    22 +++ mysql5/Portfile     (working copy)
    23 @@ -6,7 +6,7 @@
    24  name                    mysql5
    25  version                 5.1.66
    26  # Please set revision_client and revision_server to 0 if you bump version.
    27 -set revision_client     1
    28 +set revision_client     2
    29  set revision_server     1
    30  set branch              [join [lrange [split ${version} .] 0 1] .]
    31  homepage                http://www.mysql.com/
    32 @@ -61,11 +61,13 @@
    33      conflicts               mysql5-devel mysql4
    34      depends_lib \
    35          port:zlib \
    36 -        port:openssl
    37 -   
    38 +        port:openssl \
    39 +        port:tcp_wrappers
    40 +
    41      archcheck.files         lib/libz.dylib \
    42 -                            lib/libssl.dylib
    43 -   
    44 +                            lib/libssl.dylib \
    45 +                            lib/libwrap.dylib
    46 +
    47      patch.pre_args      -p1
    48      patchfiles          patch-Makefile.in.diff \
    49                          patch-scripts-mysql_secure_installation.sh.diff
    50 Index: mysql5-devel/Portfile
    51 ===================================================================
    52 --- mysql5-devel/Portfile       (revision 100113)
    53 +++ mysql5-devel/Portfile       (working copy)
    54 @@ -10,7 +10,7 @@
    55  name                    mysql5-devel
    56  conflicts               mysql5 mysql4
    57  version                 5.5.2-m2
    58 -revision        1
    59 +revision        2
    60  set branch              [join [lrange [split ${version} .] 0 1] .]
    61  homepage                http://www.mysql.com/
    62  categories              databases
    63 @@ -42,10 +42,12 @@
    64  
    65  depends_lib \
    66      port:zlib \
    67 -    port:openssl
    68 +    port:openssl \
    69 +    port:tcp_wrappers
    70  
    71  archcheck.files         lib/libz.dylib \
    72 -                        lib/libssl.dylib
    73 +                        lib/libssl.dylib \
    74 +                        lib/libwrap.dylib
    75  
    76  set major_version       [strsed ${version} {s/\..*$//}]
    77  set mysql               mysql${major_version}
    78 Index: mysql51/Portfile
    79 ===================================================================
    80 --- mysql51/Portfile    (revision 100113)
    81 +++ mysql51/Portfile    (working copy)
    82 @@ -7,7 +7,7 @@
    83  set name_mysql      ${name}
    84  version             5.1.66
    85  # Please set revision_client and revision_server to 0 if you bump version.
    86 -set revision_client 0
    87 +set revision_client 1
    88  set revision_server 0
    89  categories          databases
    90  platforms           darwin
    91 @@ -54,13 +54,13 @@
    92      checksums           rmd160  27e7faea4d0ec1ea183eb70b7b29b7e8a864aa53 \
    93                          sha256  eb85e3fa152949670f5b6f4379bd1d700a5f4726660ce18ff0ca628190cba907
    94      
    95 -    depends_lib         port:zlib
    96 +    depends_lib         port:zlib port:tcp_wrappers
    97      depends_run         port:mysql_select
    98      
    99      select.group        mysql
    100      select.file         ${filespath}/${name_mysql}
    101      
    102 -    archcheck.files     lib/libz.dylib
    103 +    archcheck.files     lib/libz.dylib lib/libwrap.dylib
    104      
    105      post-extract {
    106          file mkdir ${worksrcpath}/build_macports/macports
    107 Index: mysql55/Portfile
    108 ===================================================================
    109 --- mysql55/Portfile    (revision 100113)
    110 +++ mysql55/Portfile    (working copy)
    111 @@ -7,7 +7,7 @@
    112  set name_mysql      ${name}
    113  version             5.5.28
    114  # Please set revision_client and revision_server to 0 if you bump version.
    115 -set revision_client 1
    116 +set revision_client 2
    117  set revision_server 0
    118  categories          databases
    119  platforms           darwin
    120 @@ -46,13 +46,13 @@
    121      checksums           rmd160  dbd2a75a2b55e54f5216d0ea1376b97fd7a107de \
    122                          sha256  f9b2491f1ddd99842a8e75c21958368bebe59c47e84bec778baa915e255cc78f
    123  
    124 -    depends_lib-append  port:zlib
    125 +    depends_lib-append  port:zlib port:tcp_wrappers
    126      depends_run-append  port:mysql_select
    127  
    128      select.group        mysql
    129      select.file         ${filespath}/${name_mysql}
    130  
    131 -    archcheck.files     lib/libz.dylib
    132 +    archcheck.files     lib/libz.dylib lib/libwrap.dylib
    133  
    134      post-extract {
    135          file mkdir ${worksrcpath}/build_macports/macports
    136 }}}