[75667] trunk/dports/net/rabbitmq-server
ryandesign at macports.org
ryandesign at macports.org
Thu Feb 3 13:11:20 PST 2011
Revision: 75667
http://trac.macports.org/changeset/75667
Author: ryandesign at macports.org
Date: 2011-02-03 13:11:18 -0800 (Thu, 03 Feb 2011)
Log Message:
-----------
rabbitmq-server: maintainer update to 2.3.1; see #28254
Modified Paths:
--------------
trunk/dports/net/rabbitmq-server/Portfile
trunk/dports/net/rabbitmq-server/files/rabbitmq-script-wrapper
Removed Paths:
-------------
trunk/dports/net/rabbitmq-server/files/rabbitmq-asroot-script-wrapper
Modified: trunk/dports/net/rabbitmq-server/Portfile
===================================================================
--- trunk/dports/net/rabbitmq-server/Portfile 2011-02-03 20:37:49 UTC (rev 75666)
+++ trunk/dports/net/rabbitmq-server/Portfile 2011-02-03 21:11:18 UTC (rev 75667)
@@ -3,7 +3,7 @@
PortSystem 1.0
name rabbitmq-server
-version 2.1.1
+version 2.3.1
categories net
maintainers paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer
platforms darwin
@@ -19,11 +19,19 @@
homepage http://www.rabbitmq.com/
master_sites http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/
-checksums sha1 d60bc55f819a56bef00b0bfafd12f707fc985301 \
- rmd160 41d312dd934d017d492f2d1ccecdc9bd428e8a8a
+distfiles ${name}-${version}${extract.suffix} \
+ ${name}-generic-unix-${version}${extract.suffix}
+checksums \
+ ${name}-${version}${extract.suffix} \
+ sha1 d38e7e12836b94e45402774d5790873413599ab4 \
+ rmd160 5e06fe0bae359d0d3d5ea4b2c23e6adbbd89cc19 \
+ ${name}-generic-unix-${version}${extract.suffix} \
+ sha1 6f8c417537b51115725df6f35cc1f76657b0dde0 \
+ rmd160 3a339edda163e42d18569711f57ae4dccc367058
+
depends_lib port:erlang
-depends_build port:xmlto port:libxslt
+depends_build port:libxslt
platform darwin 8 {
depends_build-append port:py26-simplejson
@@ -45,11 +53,15 @@
set sbindir ${destroot}${prefix}/lib/rabbitmq/bin
set wrappersbin ${destroot}${prefix}/sbin
set realsbin ${destroot}${prefix}/lib/rabbitmq/lib/rabbitmq_server-${version}/sbin
+set mansrc ${workpath}/rabbitmq_server-${version}/share/man
+set mandest ${destroot}${prefix}/share/man
use_configure no
use_parallel_build yes
+destroot.target install_bin
+
destroot.destdir \
TARGET_DIR=${destroot}${prefix}/lib/rabbitmq/lib/rabbitmq_server-${version} \
SBIN_DIR=${sbindir} \
@@ -71,7 +83,7 @@
reinplace -E "s:(/etc/rabbitmq/rabbitmq.conf):${prefix}\\1:g" \
${realsbin}/rabbitmq-env
- foreach var {CONFIG_FILE CLUSTER_CONFIG_FILE LOG_BASE MNESIA_BASE PIDS_FILE} {
+ foreach var {CONFIG_FILE LOG_BASE MNESIA_BASE PIDS_FILE} {
reinplace -E "s:^($var)=/:\\1=${prefix}/:" \
${realsbin}/rabbitmq-multi \
${realsbin}/rabbitmq-server \
@@ -89,6 +101,9 @@
${wrappersbin}/rabbitmq-multi
file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmq-server
file copy ${wrappersbin}/rabbitmq-multi ${wrappersbin}/rabbitmqctl
+
+ xinstall -m 644 -W ${mansrc}/man1 rabbitmq-multi.1.gz rabbitmq-server.1.gz rabbitmqctl.1.gz ${mandest}/man1/
+ xinstall -m 644 -W ${mansrc}/man5 rabbitmq.conf.5.gz ${mandest}/man5/
}
pre-install {
Deleted: trunk/dports/net/rabbitmq-server/files/rabbitmq-asroot-script-wrapper
===================================================================
--- trunk/dports/net/rabbitmq-server/files/rabbitmq-asroot-script-wrapper 2011-02-03 20:37:49 UTC (rev 75666)
+++ trunk/dports/net/rabbitmq-server/files/rabbitmq-asroot-script-wrapper 2011-02-03 21:11:18 UTC (rev 75667)
@@ -1,45 +0,0 @@
-#!/bin/sh
-## The contents of this file are subject to the Mozilla Public License
-## Version 1.1 (the "License"); you may not use this file except in
-## compliance with the License. You may obtain a copy of the License at
-## http://www.mozilla.org/MPL/
-##
-## Software distributed under the License is distributed on an "AS IS"
-## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-## License for the specific language governing rights and limitations
-## under the License.
-##
-## The Original Code is RabbitMQ.
-##
-## The Initial Developers of the Original Code are LShift Ltd,
-## Cohesive Financial Technologies LLC, and Rabbit Technologies Ltd.
-##
-## Portions created before 22-Nov-2008 00:00:00 GMT by LShift Ltd,
-## Cohesive Financial Technologies LLC, or Rabbit Technologies Ltd
-## are Copyright (C) 2007-2008 LShift Ltd, Cohesive Financial
-## Technologies LLC, and Rabbit Technologies Ltd.
-##
-## Portions created by LShift Ltd are Copyright (C) 2007-2010 LShift
-## Ltd. Portions created by Cohesive Financial Technologies LLC are
-## Copyright (C) 2007-2010 Cohesive Financial Technologies
-## LLC. Portions created by Rabbit Technologies Ltd are Copyright
-## (C) 2007-2010 Rabbit Technologies Ltd.
-##
-## All Rights Reserved.
-##
-## Contributor(s): ______________________________________.
-##
-
-cd /var/lib/rabbitmq
-
-SCRIPT=`basename $0`
-
-if [ `id -u` = 0 ] ; then
- /usr/lib/rabbitmq/bin/${SCRIPT} "$@"
-else
- echo
- echo "Only root should run ${SCRIPT}"
- echo
- exit 1
-fi
-
Modified: trunk/dports/net/rabbitmq-server/files/rabbitmq-script-wrapper
===================================================================
--- trunk/dports/net/rabbitmq-server/files/rabbitmq-script-wrapper 2011-02-03 20:37:49 UTC (rev 75666)
+++ trunk/dports/net/rabbitmq-server/files/rabbitmq-script-wrapper 2011-02-03 21:11:18 UTC (rev 75667)
@@ -1,34 +1,19 @@
#!/bin/sh
-## The contents of this file are subject to the Mozilla Public License
-## Version 1.1 (the "License"); you may not use this file except in
-## compliance with the License. You may obtain a copy of the License at
-## http://www.mozilla.org/MPL/
+## The contents of this file are subject to the Mozilla Public License
+## Version 1.1 (the "License"); you may not use this file except in
+## compliance with the License. You may obtain a copy of the License
+## at http://www.mozilla.org/MPL/
##
-## Software distributed under the License is distributed on an "AS IS"
-## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-## License for the specific language governing rights and limitations
-## under the License.
+## Software distributed under the License is distributed on an "AS IS"
+## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+## the License for the specific language governing rights and
+## limitations under the License.
##
-## The Original Code is RabbitMQ.
+## The Original Code is RabbitMQ.
##
-## The Initial Developers of the Original Code are LShift Ltd,
-## Cohesive Financial Technologies LLC, and Rabbit Technologies Ltd.
+## The Initial Developer of the Original Code is VMware, Inc.
+## Copyright (c) 2007-2011 VMware, Inc. All rights reserved.
##
-## Portions created before 22-Nov-2008 00:00:00 GMT by LShift Ltd,
-## Cohesive Financial Technologies LLC, or Rabbit Technologies Ltd
-## are Copyright (C) 2007-2008 LShift Ltd, Cohesive Financial
-## Technologies LLC, and Rabbit Technologies Ltd.
-##
-## Portions created by LShift Ltd are Copyright (C) 2007-2010 LShift
-## Ltd. Portions created by Cohesive Financial Technologies LLC are
-## Copyright (C) 2007-2010 Cohesive Financial Technologies
-## LLC. Portions created by Rabbit Technologies Ltd are Copyright
-## (C) 2007-2010 Rabbit Technologies Ltd.
-##
-## All Rights Reserved.
-##
-## Contributor(s): ______________________________________.
-##
# Escape spaces and quotes, because shell is revolting.
for arg in "$@" ; do
@@ -55,4 +40,3 @@
echo
exit 1
fi
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110203/a9707709/attachment.html>
More information about the macports-changes
mailing list