Ticket #28916: macports.patch

File macports.patch, 3.0 KB (added by alexandru@…, 14 years ago)

Portfile patch

  • rabbitmq-server/Portfile

    diff -Naur '--exclude=.svn' macports/rabbitmq-server/Portfile rabbitmq/rabbitmq-server/Portfile
    old new  
    33
    44PortSystem 1.0
    55name            rabbitmq-server
    6 version         2.3.1
     6version         2.4.0
    77categories      net
    88maintainers     paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer
    99platforms       darwin
     
    2424
    2525checksums \
    2626    ${name}-${version}${extract.suffix} \
    27         sha1    d38e7e12836b94e45402774d5790873413599ab4 \
    28         rmd160  5e06fe0bae359d0d3d5ea4b2c23e6adbbd89cc19 \
     27        md5 5df5df63ec24249b7806e44b64059da5 \
     28        sha1 9f39d830aa778cf8e71fd5eb47c8a42e26c3c42d \
     29        rmd160 6362f4f2bf06f201410132be91edbd64a1577798 \
    2930    ${name}-generic-unix-${version}${extract.suffix} \
    30         sha1    6f8c417537b51115725df6f35cc1f76657b0dde0 \
    31         rmd160  3a339edda163e42d18569711f57ae4dccc367058
     31        md5 450ae2eceabdd46156529edb327561fa \
     32        sha1 fb29a454cee4b24904ee70b57166b99d46bda950 \
     33        rmd160 886fc2874bdce9ec7fee43271f34e1965d6b440d
    3234
    3335depends_lib     port:erlang
    3436depends_build   port:libxslt
     
    8183    xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${serverhome}
    8284    xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${mnesiadbdir}
    8385
    84     reinplace -E "s:(/etc/rabbitmq/rabbitmq.conf):${prefix}\\1:g" \
     86    reinplace -E "s:(/etc/rabbitmq/rabbitmq):${prefix}\\1:g" \
    8587        ${realsbin}/rabbitmq-env
    86     foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE PIDS_FILE} {
     88    foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE} {
    8789        reinplace -E "s:^($var)=/:\\1=${prefix}/:" \
    88             ${realsbin}/rabbitmq-multi \
    8990            ${realsbin}/rabbitmq-server \
    9091            ${realsbin}/rabbitmqctl
    9192    }
    9293
    9394    xinstall -m 555 ${filespath}/rabbitmq-script-wrapper \
    94                 ${wrappersbin}/rabbitmq-multi
     95                ${wrappersbin}/rabbitmq-server
    9596
    9697    reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:" \
    97                 ${wrappersbin}/rabbitmq-multi
     98                ${wrappersbin}/rabbitmq-server
    9899    reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:" \
    99                 ${wrappersbin}/rabbitmq-multi
     100                ${wrappersbin}/rabbitmq-server
    100101    reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \
    101                 ${wrappersbin}/rabbitmq-multi
    102     file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmq-server
    103     file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmqctl
     102                ${wrappersbin}/rabbitmq-server
     103    file copy ${wrappersbin}/rabbitmq-server ${wrappersbin}/rabbitmqctl
    104104
    105     xinstall -m 644 -W ${mansrc}/man1 rabbitmq-multi.1.gz rabbitmq-server.1.gz rabbitmqctl.1.gz ${mandest}/man1/
    106     xinstall -m 644 -W ${mansrc}/man5 rabbitmq.conf.5.gz ${mandest}/man5/
     105    xinstall -m 644 -W ${mansrc}/man1 rabbitmq-server.1.gz rabbitmqctl.1.gz \
     106        ${mandest}/man1/
     107    xinstall -m 644 -W ${mansrc}/man5 rabbitmq-env.conf.5.gz ${mandest}/man5/
    107108}
    108109
    109110pre-install {