Changeset 87609


Ignore:
Timestamp:
Nov 28, 2011, 6:04:17 PM (8 years ago)
Author:
ciserlohn@…
Message:

rabbitmq-server: update to version 2.7.0 (see #32015)

Location:
trunk/dports/net/rabbitmq-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/rabbitmq-server/Portfile

    r83940 r87609  
    44PortSystem 1.0
    55name            rabbitmq-server
    6 version         2.6.1
     6version         2.7.0
    77categories      net
    88maintainers     paperplanes.de:meyer openmaintainer
     
    2525checksums \
    2626    ${name}-${version}${extract.suffix} \
    27         sha1 628ec7453c0ee8ec3bad0780504e335b48f9b533 \
    28         rmd160 818cd8bfbf5593b0cdb4bd4a71d4b7124472f35c \
     27        sha1 f80d58f6b8635e09c1fbd81650a25182eb6cb4b3 \
     28        rmd160 1cebc445e15f5667566e0fa7012c35f07922321f \
    2929    ${name}-generic-unix-${version}${extract.suffix} \
    30         sha1 2dad2383073d9a1e78236382baf1cbb30f4142f2 \
    31         rmd160 9c75e17f9c4315670965a844c4585c56ef05f020
     30        sha1 735f706ae8490c1d50df42c8a9a4e887a10ccde0 \
     31        rmd160 95471452414eb862c0f456aa427bfa113764c01f
    3232
    3333depends_lib     port:erlang
     
    8484    reinplace -E "s:(/etc/rabbitmq/rabbitmq):${prefix}\\1:g" \
    8585        ${realsbin}/rabbitmq-env
    86     foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE} {
     86    foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE ENABLED_PLUGINS_FILE} {
    8787        reinplace -E "s:^($var)=/:\\1=${prefix}/:" \
    8888            ${realsbin}/rabbitmq-server \
    89             ${realsbin}/rabbitmqctl
     89            ${realsbin}/rabbitmqctl \
     90            ${realsbin}/rabbitmq-plugins
    9091    }
    9192
    9293    xinstall -m 555 ${filespath}/rabbitmq-script-wrapper \
    9394                ${wrappersbin}/rabbitmq-server
     95    reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:g" \
     96                ${wrappersbin}/rabbitmq-server
     97    reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:g" \
     98                ${wrappersbin}/rabbitmq-server
     99    reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:g" \
     100                ${wrappersbin}/rabbitmq-server
    94101
    95     reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:" \
    96                 ${wrappersbin}/rabbitmq-server
    97     reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:" \
    98                 ${wrappersbin}/rabbitmq-server
    99     reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \
    100                 ${wrappersbin}/rabbitmq-server
    101102    file copy ${wrappersbin}/rabbitmq-server ${wrappersbin}/rabbitmqctl
     103    file copy ${wrappersbin}/rabbitmq-server ${wrappersbin}/rabbitmq-plugins
    102104
    103     xinstall -m 644 -W ${mansrc}/man1 rabbitmq-server.1.gz rabbitmqctl.1.gz \
     105    xinstall -m 644 -W ${mansrc}/man1 rabbitmq-server.1.gz rabbitmqctl.1.gz rabbitmq-plugins.1.gz \
    104106        ${mandest}/man1/
    105107    xinstall -m 644 -W ${mansrc}/man5 rabbitmq-env.conf.5.gz ${mandest}/man5/
  • trunk/dports/net/rabbitmq-server/files/rabbitmq-script-wrapper

    r75667 r87609  
    3030SCRIPT=`basename $0`
    3131
    32 if [ `id -u` = 0 ] ; then
     32if [ `id -u` = `id -u rabbitmq` -o "$SCRIPT" = "rabbitmq-plugins" ] ; then
     33    /usr/lib/rabbitmq/bin/${SCRIPT} "$@"
     34elif [ `id -u` = 0 ] ; then
    3335    SHELL=/bin/sh HOME=/var/lib/rabbitmq USER=rabbitmq LOGNAME=rabbitmq PATH="$(eval `PATH=MACPORTS_PREFIX/bin /usr/libexec/path_helper -s`; echo $PATH)" su -m rabbitmq -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
    34 elif [ `id -u` = `id -u rabbitmq` ] ; then
    35     /usr/lib/rabbitmq/bin/${SCRIPT} "$@"
    3636else
    3737    /usr/lib/rabbitmq/bin/${SCRIPT}
Note: See TracChangeset for help on using the changeset viewer.