summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Majkowski <marek@rabbitmq.net>2010-06-18 11:04:45 +0000
committerMarek Majkowski <marek@rabbitmq.net>2010-06-18 11:04:45 +0000
commit5ed0e36a4484310aa1871bb93c2cc499fd2ad20d (patch)
tree46f4a83f244b3f1867a06d414fdd5902fce4f265
parent51cb9799d1c4c83fbe77058cd2a1db4f1e9db545 (diff)
parent8f67fbbb6b551ffaead422a670bbebf113b86998 (diff)
downloadrabbitmq-server-bug18062.tar.gz
rabbitmq_v1_8_0 merged into bug18062bug18062
-rw-r--r--packaging/macports/Portfile.in3
-rwxr-xr-xpackaging/macports/make-port-diff.sh27
2 files changed, 28 insertions, 2 deletions
diff --git a/packaging/macports/Portfile.in b/packaging/macports/Portfile.in
index 153727be..b0158ab0 100644
--- a/packaging/macports/Portfile.in
+++ b/packaging/macports/Portfile.in
@@ -4,9 +4,8 @@
PortSystem 1.0
name rabbitmq-server
version @VERSION@
-revision 1
categories net
-maintainers rabbitmq.com:tonyg
+maintainers paperplanes.de:meyer rabbitmq.com:tonyg openmaintainer
platforms darwin
description The RabbitMQ AMQP Server
long_description \
diff --git a/packaging/macports/make-port-diff.sh b/packaging/macports/make-port-diff.sh
new file mode 100755
index 00000000..3eb1b9f5
--- /dev/null
+++ b/packaging/macports/make-port-diff.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# This script grabs the latest rabbitmq-server bits from the main
+# macports subversion repo, and from the rabbitmq.com macports repo,
+# and produces a diff from the former to the latter for submission
+# through the macports trac.
+
+set -e
+
+dir=/tmp/$(basename $0).$$
+mkdir -p $dir/macports $dir/rabbitmq
+
+# Get the files from the macports subversion repo
+cd $dir/macports
+svn checkout http://svn.macports.org/repository/macports/trunk/dports/net/rabbitmq-server/ 2>&1 >/dev/null
+
+# Clear out the svn $id tag
+sed -i -e 's|^# \$.*$|# $Id$|' rabbitmq-server/Portfile
+
+# Get the files from the rabbitmq.com macports repo
+cd ../rabbitmq
+curl -s http://www.rabbitmq.com/releases/macports/net/rabbitmq-server.tgz | tar xzf -
+
+cd ..
+diff -Naur --exclude=.svn macports rabbitmq
+cd /
+rm -rf $dir