[arch-commits] Commit in rabbitmq/repos/community-any (10 files)

Levente Polyak anthraxx at archlinux.org
Mon Nov 6 19:32:11 UTC 2017


    Date: Monday, November 6, 2017 @ 19:32:10
  Author: anthraxx
Revision: 265598

archrelease: copy trunk to community-any

Added:
  rabbitmq/repos/community-any/PKGBUILD
    (from rev 265597, rabbitmq/trunk/PKGBUILD)
  rabbitmq/repos/community-any/rabbitmq-env.conf
    (from rev 265597, rabbitmq/trunk/rabbitmq-env.conf)
  rabbitmq/repos/community-any/rabbitmq-script-wrapper
    (from rev 265597, rabbitmq/trunk/rabbitmq-script-wrapper)
  rabbitmq/repos/community-any/rabbitmq.install
    (from rev 265597, rabbitmq/trunk/rabbitmq.install)
  rabbitmq/repos/community-any/rabbitmq.service
    (from rev 265597, rabbitmq/trunk/rabbitmq.service)
Deleted:
  rabbitmq/repos/community-any/PKGBUILD
  rabbitmq/repos/community-any/rabbitmq-env.conf
  rabbitmq/repos/community-any/rabbitmq-script-wrapper
  rabbitmq/repos/community-any/rabbitmq.install
  rabbitmq/repos/community-any/rabbitmq.service

-------------------------+
 PKGBUILD                |  134 +++++++++++++++++++++++-----------------------
 rabbitmq-env.conf       |   12 ++--
 rabbitmq-script-wrapper |   96 ++++++++++++++++----------------
 rabbitmq.install        |   30 +++++-----
 rabbitmq.service        |   30 +++++-----
 5 files changed, 151 insertions(+), 151 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-06 19:31:59 UTC (rev 265597)
+++ PKGBUILD	2017-11-06 19:32:10 UTC (rev 265598)
@@ -1,67 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Marcello "mereghost" Rocha <marcello.rocha at gmail.com>
-# Contributor: Gianni Vialetto <gianni at rootcube dot net>
-# Contributor: Stefan J. Betz <info at stefan-betz dot net>
-# Contributor: p2k <Patrick dot Schneider at uni-ulm dot de>
-# Contributor: Jonathan Liu <net147 at gmail.com>
-# Contributor: Christopher Grebs <cg at webshox.org>
-# Contributor: mutantmonkey
-
-pkgname=rabbitmq
-pkgver=3.6.12
-pkgrel=1
-pkgdesc='Highly reliable and performant enterprise messaging implementation of AMQP written in Erlang/OTP'
-url='https://rabbitmq.com'
-arch=('any')
-license=('MPL')
-depends=('util-linux' 'inetutils' 'erlang-nox')
-optdepends=('rabbitmqadmin: CLI management tool')
-backup=('etc/rabbitmq/rabbitmq-env.conf')
-install=rabbitmq.install
-source=(https://www.rabbitmq.com/releases/${pkgname}-server/v${pkgver}/${pkgname}-server-generic-unix-${pkgver}.tar.xz{,.asc}
-        rabbitmq-env.conf
-        rabbitmq.service
-        rabbitmq-script-wrapper)
-sha512sums=('6c2551a01c6210cd9e353ae19f69098478349a7ba59bc83844a682fc73d9e920cbc21c753edaf40cc9119f8befcd3d1647bf20d47741fb5ac1e969844cb5fb1d'
-            'SKIP'
-            '4872ff514c9f841fe4c93bc442ec4e3177d1bfa3834e8d8a26fc77a63aff1cdc14944827673a59556e26210b2b4c0091f93c8e93a334710e5bc3336a64e77140'
-            'd51b43f948febb23cdd5b0c7736f966d8433b05ccd95778e90d280d45ccfd9a714e888762f458337a784fff4b86430151adb0f81d779d6b99c9154fcd7e0e319'
-            '3f271d546836eccc3bcf61105c013d3b590c3e2535106d07e5605a63174fd62ef204207367c2cd39be54e0246d0bbd9aecebe8b5cefe9018a766ceb8af70bc81')
-validpgpkeys=('0A9AF2115F4687BD29803A206B73A36E6026DFCA') # RabbitMQ Release Signing Key <info at rabbitmq.com>
-
-prepare() {
-  cd ${pkgname}_server-${pkgver}
-  sed -r 's|^(SYS_PREFIX=).*$|\1""|' -i sbin/rabbitmq-defaults
-}
-
-package() {
-  cd ${pkgname}_server-${pkgver}
-  local libdir="${pkgdir}/usr/lib/rabbitmq/lib/rabbitmq-server-${pkgver}"
-
-  install -d "${libdir}"
-  install -d "${pkgdir}/usr/bin"
-  install -dm 750 "${pkgdir}/var/log/rabbitmq"
-  install -dm 750 "${pkgdir}/var/lib/rabbitmq"
-
-  cp -R ebin "${libdir}"
-  cp -R include "${libdir}"
-  cp -R plugins "${libdir}"
-  cp -R sbin "${libdir}"
-  cp -R share "${pkgdir}/usr"
-
-  install -d "${pkgdir}/usr/lib/rabbitmq/bin"
-  install -Dm 755 "${srcdir}/rabbitmq-script-wrapper" -t "${pkgdir}/usr/lib/rabbitmq/bin"
-  for script in "${libdir}"/sbin/*; do
-    ln -s "${script#${pkgdir}}" "${pkgdir}/usr/lib/rabbitmq/bin"
-    ln -s /usr/lib/rabbitmq/bin/rabbitmq-script-wrapper "${pkgdir}/usr/bin/${script#${libdir}/sbin/}"
-  done
-
-  install -Dm 644 "${srcdir}/rabbitmq-env.conf" "${pkgdir}/etc/rabbitmq/rabbitmq-env.conf"
-  install -Dm 644 "${srcdir}/rabbitmq.service" "${pkgdir}/usr/lib/systemd/system/rabbitmq.service"
-
-  chown -R 197:197 "${pkgdir}/var/log/rabbitmq"
-  chown -R 197:197 "${pkgdir}/var/lib/rabbitmq"
-  chown -R 197:0 "${pkgdir}/etc/rabbitmq"
-}
-
-# vim: ts=2 sw=2 et:

Copied: rabbitmq/repos/community-any/PKGBUILD (from rev 265597, rabbitmq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-06 19:32:10 UTC (rev 265598)
@@ -0,0 +1,67 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Marcello "mereghost" Rocha <marcello.rocha at gmail.com>
+# Contributor: Gianni Vialetto <gianni at rootcube dot net>
+# Contributor: Stefan J. Betz <info at stefan-betz dot net>
+# Contributor: p2k <Patrick dot Schneider at uni-ulm dot de>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+# Contributor: Christopher Grebs <cg at webshox.org>
+# Contributor: mutantmonkey
+
+pkgname=rabbitmq
+pkgver=3.6.13
+pkgrel=1
+pkgdesc='Highly reliable and performant enterprise messaging implementation of AMQP written in Erlang/OTP'
+url='https://rabbitmq.com'
+arch=('any')
+license=('MPL')
+depends=('util-linux' 'inetutils' 'erlang-nox')
+optdepends=('rabbitmqadmin: CLI management tool')
+backup=('etc/rabbitmq/rabbitmq-env.conf')
+install=rabbitmq.install
+source=(https://www.rabbitmq.com/releases/${pkgname}-server/v${pkgver}/${pkgname}-server-generic-unix-${pkgver}.tar.xz{,.asc}
+        rabbitmq-env.conf
+        rabbitmq.service
+        rabbitmq-script-wrapper)
+sha512sums=('d8e3e5c1523578173ca5b0096418da0d1b97ac244a7c9eba895fac2be0ea7be3e4ab482ba97d5b3a3f19e4b10b47e0a1a9021d00555ac9f1ec62dd5f0aeaa329'
+            'SKIP'
+            '4872ff514c9f841fe4c93bc442ec4e3177d1bfa3834e8d8a26fc77a63aff1cdc14944827673a59556e26210b2b4c0091f93c8e93a334710e5bc3336a64e77140'
+            'd51b43f948febb23cdd5b0c7736f966d8433b05ccd95778e90d280d45ccfd9a714e888762f458337a784fff4b86430151adb0f81d779d6b99c9154fcd7e0e319'
+            '3f271d546836eccc3bcf61105c013d3b590c3e2535106d07e5605a63174fd62ef204207367c2cd39be54e0246d0bbd9aecebe8b5cefe9018a766ceb8af70bc81')
+validpgpkeys=('0A9AF2115F4687BD29803A206B73A36E6026DFCA') # RabbitMQ Release Signing Key <info at rabbitmq.com>
+
+prepare() {
+  cd ${pkgname}_server-${pkgver}
+  sed -r 's|^(SYS_PREFIX=).*$|\1""|' -i sbin/rabbitmq-defaults
+}
+
+package() {
+  cd ${pkgname}_server-${pkgver}
+  local libdir="${pkgdir}/usr/lib/rabbitmq/lib/rabbitmq-server-${pkgver}"
+
+  install -d "${libdir}"
+  install -d "${pkgdir}/usr/bin"
+  install -dm 750 "${pkgdir}/var/log/rabbitmq"
+  install -dm 750 "${pkgdir}/var/lib/rabbitmq"
+
+  cp -R ebin "${libdir}"
+  cp -R include "${libdir}"
+  cp -R plugins "${libdir}"
+  cp -R sbin "${libdir}"
+  cp -R share "${pkgdir}/usr"
+
+  install -d "${pkgdir}/usr/lib/rabbitmq/bin"
+  install -Dm 755 "${srcdir}/rabbitmq-script-wrapper" -t "${pkgdir}/usr/lib/rabbitmq/bin"
+  for script in "${libdir}"/sbin/*; do
+    ln -s "${script#${pkgdir}}" "${pkgdir}/usr/lib/rabbitmq/bin"
+    ln -s /usr/lib/rabbitmq/bin/rabbitmq-script-wrapper "${pkgdir}/usr/bin/${script#${libdir}/sbin/}"
+  done
+
+  install -Dm 644 "${srcdir}/rabbitmq-env.conf" "${pkgdir}/etc/rabbitmq/rabbitmq-env.conf"
+  install -Dm 644 "${srcdir}/rabbitmq.service" "${pkgdir}/usr/lib/systemd/system/rabbitmq.service"
+
+  chown -R 197:197 "${pkgdir}/var/log/rabbitmq"
+  chown -R 197:197 "${pkgdir}/var/lib/rabbitmq"
+  chown -R 197:0 "${pkgdir}/etc/rabbitmq"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: rabbitmq-env.conf
===================================================================
--- rabbitmq-env.conf	2017-11-06 19:31:59 UTC (rev 265597)
+++ rabbitmq-env.conf	2017-11-06 19:32:10 UTC (rev 265598)
@@ -1,6 +0,0 @@
-NODENAME=rabbit
-NODE_IP_ADDRESS=0.0.0.0
-NODE_PORT=5672
-
-LOG_BASE=/var/log/rabbitmq
-MNESIA_BASE=/var/lib/rabbitmq/mnesia

Copied: rabbitmq/repos/community-any/rabbitmq-env.conf (from rev 265597, rabbitmq/trunk/rabbitmq-env.conf)
===================================================================
--- rabbitmq-env.conf	                        (rev 0)
+++ rabbitmq-env.conf	2017-11-06 19:32:10 UTC (rev 265598)
@@ -0,0 +1,6 @@
+NODENAME=rabbit
+NODE_IP_ADDRESS=0.0.0.0
+NODE_PORT=5672
+
+LOG_BASE=/var/log/rabbitmq
+MNESIA_BASE=/var/lib/rabbitmq/mnesia

Deleted: rabbitmq-script-wrapper
===================================================================
--- rabbitmq-script-wrapper	2017-11-06 19:31:59 UTC (rev 265597)
+++ rabbitmq-script-wrapper	2017-11-06 19:32:10 UTC (rev 265598)
@@ -1,48 +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 Developer of the Original Code is GoPivotal, Inc.
-##  Copyright (c) 2007-2014 GoPivotal, Inc.  All rights reserved.
-##
-
-# Escape spaces and quotes, because shell is revolting.
-for arg in "$@" ; do
-	# Escape quotes in parameters, so that they're passed through cleanly.
-	arg=$(sed -e 's/"/\\"/g' <<-END
-		$arg
-		END
-	)
-	CMDLINE="${CMDLINE} \"${arg}\""
-done
-
-SCRIPT="$(basename "$0")"
-
-if [ $(id -u) = $(id -u rabbitmq) ] && [ "$SCRIPT" = "rabbitmq-server" ]; then
-	cd /var/lib/rabbitmq
-    /usr/lib/rabbitmq/bin/rabbitmq-server "$@" > "/var/log/rabbitmq/startup_log" 2> "/var/log/rabbitmq/startup_err"
-elif [ $(id -u) = $(id -u rabbitmq) ]; then
-	cd /var/lib/rabbitmq
-    if [ -f "${PWD}/.erlang.cookie" ] ; then
-        export HOME=.
-    fi
-    "/usr/lib/rabbitmq/bin/${SCRIPT}" "$@"
-elif [ $(id -u) = 0 ] ; then
-	cd /var/lib/rabbitmq
-    su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
-else
-    "/usr/lib/rabbitmq/bin/${SCRIPT}"
-    echo
-    echo "Only root or rabbitmq should run ${SCRIPT}"
-    echo
-    exit 1
-fi

Copied: rabbitmq/repos/community-any/rabbitmq-script-wrapper (from rev 265597, rabbitmq/trunk/rabbitmq-script-wrapper)
===================================================================
--- rabbitmq-script-wrapper	                        (rev 0)
+++ rabbitmq-script-wrapper	2017-11-06 19:32:10 UTC (rev 265598)
@@ -0,0 +1,48 @@
+#!/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 Developer of the Original Code is GoPivotal, Inc.
+##  Copyright (c) 2007-2014 GoPivotal, Inc.  All rights reserved.
+##
+
+# Escape spaces and quotes, because shell is revolting.
+for arg in "$@" ; do
+	# Escape quotes in parameters, so that they're passed through cleanly.
+	arg=$(sed -e 's/"/\\"/g' <<-END
+		$arg
+		END
+	)
+	CMDLINE="${CMDLINE} \"${arg}\""
+done
+
+SCRIPT="$(basename "$0")"
+
+if [ $(id -u) = $(id -u rabbitmq) ] && [ "$SCRIPT" = "rabbitmq-server" ]; then
+	cd /var/lib/rabbitmq
+    /usr/lib/rabbitmq/bin/rabbitmq-server "$@" > "/var/log/rabbitmq/startup_log" 2> "/var/log/rabbitmq/startup_err"
+elif [ $(id -u) = $(id -u rabbitmq) ]; then
+	cd /var/lib/rabbitmq
+    if [ -f "${PWD}/.erlang.cookie" ] ; then
+        export HOME=.
+    fi
+    "/usr/lib/rabbitmq/bin/${SCRIPT}" "$@"
+elif [ $(id -u) = 0 ] ; then
+	cd /var/lib/rabbitmq
+    su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
+else
+    "/usr/lib/rabbitmq/bin/${SCRIPT}"
+    echo
+    echo "Only root or rabbitmq should run ${SCRIPT}"
+    echo
+    exit 1
+fi

Deleted: rabbitmq.install
===================================================================
--- rabbitmq.install	2017-11-06 19:31:59 UTC (rev 265597)
+++ rabbitmq.install	2017-11-06 19:32:10 UTC (rev 265598)
@@ -1,15 +0,0 @@
-post_install() {
-  if ! getent passwd rabbitmq &>/dev/null; then
-    groupadd -r -g 197 rabbitmq &>/dev/null
-    useradd -r -u 197 -g rabbitmq -d /var/lib/rabbitmq -s /bin/nologin -c 'RabbitMQ user' rabbitmq &>/dev/null
-    passwd -l rabbitmq &>/dev/null
-  fi
-  sed -e "/NODENAME/s/rabbit$/rabbit@$(hostname -s)/" -i /etc/rabbitmq/rabbitmq-env.conf
-}
-
-post_upgrade() {
-  post_install
-  usermod -s /bin/nologin rabbitmq &>/dev/null
-}
-
-# vim: ts=2 sw=2 et:

Copied: rabbitmq/repos/community-any/rabbitmq.install (from rev 265597, rabbitmq/trunk/rabbitmq.install)
===================================================================
--- rabbitmq.install	                        (rev 0)
+++ rabbitmq.install	2017-11-06 19:32:10 UTC (rev 265598)
@@ -0,0 +1,15 @@
+post_install() {
+  if ! getent passwd rabbitmq &>/dev/null; then
+    groupadd -r -g 197 rabbitmq &>/dev/null
+    useradd -r -u 197 -g rabbitmq -d /var/lib/rabbitmq -s /bin/nologin -c 'RabbitMQ user' rabbitmq &>/dev/null
+    passwd -l rabbitmq &>/dev/null
+  fi
+  sed -e "/NODENAME/s/rabbit$/rabbit@$(hostname -s)/" -i /etc/rabbitmq/rabbitmq-env.conf
+}
+
+post_upgrade() {
+  post_install
+  usermod -s /bin/nologin rabbitmq &>/dev/null
+}
+
+# vim: ts=2 sw=2 et:

Deleted: rabbitmq.service
===================================================================
--- rabbitmq.service	2017-11-06 19:31:59 UTC (rev 265597)
+++ rabbitmq.service	2017-11-06 19:32:10 UTC (rev 265598)
@@ -1,15 +0,0 @@
-[Unit]
-Description=RabbitMQ Messaging Server
-After=network.target
-
-[Service]
-Type=simple
-User=rabbitmq
-SyslogIdentifier=rabbitmq
-EnvironmentFile=/etc/rabbitmq/rabbitmq-env.conf
-
-ExecStart=/usr/bin/rabbitmq-server
-ExecStop=/usr/bin/rabbitmqctl stop
-
-[Install]
-WantedBy=multi-user.target

Copied: rabbitmq/repos/community-any/rabbitmq.service (from rev 265597, rabbitmq/trunk/rabbitmq.service)
===================================================================
--- rabbitmq.service	                        (rev 0)
+++ rabbitmq.service	2017-11-06 19:32:10 UTC (rev 265598)
@@ -0,0 +1,15 @@
+[Unit]
+Description=RabbitMQ Messaging Server
+After=network.target
+
+[Service]
+Type=simple
+User=rabbitmq
+SyslogIdentifier=rabbitmq
+EnvironmentFile=/etc/rabbitmq/rabbitmq-env.conf
+
+ExecStart=/usr/bin/rabbitmq-server
+ExecStop=/usr/bin/rabbitmqctl stop
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list