diff options
| author | David Wragg <dpw@lshift.net> | 2010-02-17 13:59:52 +0000 |
|---|---|---|
| committer | David Wragg <dpw@lshift.net> | 2010-02-17 13:59:52 +0000 |
| commit | 52bc28f38f5a60c4bfd4570690bd1aed2e2c2c75 (patch) | |
| tree | dc3846365c161160dee6056e867a7942be1a4520 | |
| parent | 09c0e33011e742e2b9278f7926fb9d73139bde44 (diff) | |
| download | rabbitmq-server-git-52bc28f38f5a60c4bfd4570690bd1aed2e2c2c75.tar.gz | |
Add a script to assist in the macports submission process
| -rwxr-xr-x | packaging/macports/make-port-diff.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packaging/macports/make-port-diff.sh b/packaging/macports/make-port-diff.sh new file mode 100755 index 0000000000..3eb1b9f589 --- /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 |
