Ticket #25682: macport.diff

File macport.diff, 2.2 KB (added by emile@…, 14 years ago)
  • rabbitmq-server/files/rabbitmq-script-wrapper

    diff -Naur --exclude=.svn macports/rabbitmq-server/files/rabbitmq-script-wrapper rabbitmq/rabbitmq-server/files/rabbitmq-script-wrapper
    old new  
    4545SCRIPT=`basename $0`
    4646
    4747if [ `id -u` = 0 ] ; then
    48     sudo -E -u rabbitmq -H /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
     48    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}"
    4949elif [ `id -u` = `id -u rabbitmq` ] ; then
    5050    /usr/lib/rabbitmq/bin/${SCRIPT} "$@"
    5151else
  • 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         1.7.2
     6version         1.8.1
    77categories      net
    88maintainers     paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer
    99platforms       darwin
     
    1818master_sites    http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/
    1919
    2020checksums \
    21     md5 fb83be3b1577cdd54459012b85b7631d \
    22     sha1 ecc35617cc14cca7752f67b845bcc97e421254b4 \
    23     rmd160 ba2db97f88a3b51c6246307244e3f5b40112bb36
     21    md5 2471bdf0ba77b73aed1cc8eddc10aa19 \
     22    sha1 f8a803eb7a5fa78074d47196ed920bf1edcfb240 \
     23    rmd160 433cd232c14c1e8dc66e2359da55dd665a9b1ea2
    2424
    25 depends_lib     port:erlang
     25depends_lib     port:erlang
     26depends_build   port:xmlto port:libxslt
    2627
    2728platform darwin 7 {
    2829    depends_build-append port:py25-simplejson
     
    9697    xinstall -m 555 ${filespath}/rabbitmq-asroot-script-wrapper \
    9798                ${wrappersbin}/rabbitmq-activate-plugins
    9899
     100    reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:" \
     101                ${wrappersbin}/rabbitmq-multi
    99102    reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:" \
    100103                ${wrappersbin}/rabbitmq-multi
    101104    reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \