diff -Naur --exclude=.svn macports/rabbitmq-server/files/rabbitmq-script-wrapper rabbitmq/rabbitmq-server/files/rabbitmq-script-wrapper
old
|
new
|
|
45 | 45 | SCRIPT=`basename $0` |
46 | 46 | |
47 | 47 | if [ `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}" |
49 | 49 | elif [ `id -u` = `id -u rabbitmq` ] ; then |
50 | 50 | /usr/lib/rabbitmq/bin/${SCRIPT} "$@" |
51 | 51 | else |
diff -Naur --exclude=.svn macports/rabbitmq-server/Portfile rabbitmq/rabbitmq-server/Portfile
old
|
new
|
|
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | name rabbitmq-server |
6 | | version 1.7.2 |
| 6 | version 1.8.1 |
7 | 7 | categories net |
8 | 8 | maintainers paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer |
9 | 9 | platforms darwin |
… |
… |
|
18 | 18 | master_sites http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/ |
19 | 19 | |
20 | 20 | checksums \ |
21 | | md5 fb83be3b1577cdd54459012b85b7631d \ |
22 | | sha1 ecc35617cc14cca7752f67b845bcc97e421254b4 \ |
23 | | rmd160 ba2db97f88a3b51c6246307244e3f5b40112bb36 |
| 21 | md5 2471bdf0ba77b73aed1cc8eddc10aa19 \ |
| 22 | sha1 f8a803eb7a5fa78074d47196ed920bf1edcfb240 \ |
| 23 | rmd160 433cd232c14c1e8dc66e2359da55dd665a9b1ea2 |
24 | 24 | |
25 | | depends_lib port:erlang |
| 25 | depends_lib port:erlang |
| 26 | depends_build port:xmlto port:libxslt |
26 | 27 | |
27 | 28 | platform darwin 7 { |
28 | 29 | depends_build-append port:py25-simplejson |
… |
… |
|
96 | 97 | xinstall -m 555 ${filespath}/rabbitmq-asroot-script-wrapper \ |
97 | 98 | ${wrappersbin}/rabbitmq-activate-plugins |
98 | 99 | |
| 100 | reinplace -E "s:MACPORTS_PREFIX/bin:${prefix}/bin:" \ |
| 101 | ${wrappersbin}/rabbitmq-multi |
99 | 102 | reinplace -E "s:/usr/lib/rabbitmq/bin/:${prefix}/lib/rabbitmq/bin/:" \ |
100 | 103 | ${wrappersbin}/rabbitmq-multi |
101 | 104 | reinplace -E "s:/var/lib/rabbitmq:${prefix}/var/lib/rabbitmq:" \ |