diff options
author | David Wragg <dpw@lshift.net> | 2010-04-15 17:20:57 +0100 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2010-04-15 17:20:57 +0100 |
commit | 4b46daa91d12a8fb7b3af4f56fe7246f93dca9eb (patch) | |
tree | 451f80322dd892926d4a006154522cbc9caef017 | |
parent | c7757e8c624fab35966c1e4f4312b590c77c228c (diff) | |
parent | 0fe8ff7b04019d4342ec454da67222d43b19a4cf (diff) | |
download | rabbitmq-server-4b46daa91d12a8fb7b3af4f56fe7246f93dca9eb.tar.gz |
Merge from default
-rw-r--r-- | packaging/macports/Portfile.in | 4 | ||||
-rwxr-xr-x | packaging/macports/make-port-diff.sh | 27 |
2 files changed, 29 insertions, 2 deletions
diff --git a/packaging/macports/Portfile.in b/packaging/macports/Portfile.in index e1f58212..cf8be353 100644 --- a/packaging/macports/Portfile.in +++ b/packaging/macports/Portfile.in @@ -4,9 +4,9 @@ PortSystem 1.0 name rabbitmq-server version @VERSION@ -revision 1 +revision 0 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 |