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

Levente Polyak anthraxx at archlinux.org
Sat Jan 9 20:06:13 UTC 2016


    Date: Saturday, January 9, 2016 @ 21:06:13
  Author: anthraxx
Revision: 155809

archrelease: copy trunk to community-any

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

-------------------+
 PKGBUILD          |  114 ++++++++++++++++++++++++++--------------------------
 rabbitmq-env.conf |   12 ++---
 rabbitmq.install  |   41 +++++++-----------
 rabbitmq.service  |   30 ++++++-------
 4 files changed, 94 insertions(+), 103 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-09 20:06:05 UTC (rev 155808)
+++ PKGBUILD	2016-01-09 20:06:13 UTC (rev 155809)
@@ -1,57 +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.0
-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=('erlang-nox' 'systemd')
-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)
-sha512sums=('f5693ed68ba9ab3c08e4f34bc3da4461e65a84ae763dde023554eb901fc909153c773dcda9cd8fec4612ffbc6cdb36a628cc0afdcfebb36100f5ab680b7d10b7'
-            'SKIP'
-            '4872ff514c9f841fe4c93bc442ec4e3177d1bfa3834e8d8a26fc77a63aff1cdc14944827673a59556e26210b2b4c0091f93c8e93a334710e5bc3336a64e77140'
-            'd51b43f948febb23cdd5b0c7736f966d8433b05ccd95778e90d280d45ccfd9a714e888762f458337a784fff4b86430151adb0f81d779d6b99c9154fcd7e0e319')
-validpgpkeys=('F78372A06FF50C80464FC1B4F7B8CEA6056E8E56') # 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"
-
-  for script in ${libdir}/sbin/*; do
-    ln -s "${script#${pkgdir}}" "${pkgdir}/usr/bin/"
-  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"
-}
-
-# vim: ts=2 sw=2 et:

Copied: rabbitmq/repos/community-any/PKGBUILD (from rev 155808, rabbitmq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-01-09 20:06:13 UTC (rev 155809)
@@ -0,0 +1,57 @@
+# 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.0
+pkgrel=2
+pkgdesc="Highly reliable and performant enterprise messaging implementation of AMQP written in Erlang/OTP"
+url="https://rabbitmq.com"
+arch=('any')
+license=('MPL')
+depends=('erlang-nox' 'systemd')
+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)
+sha512sums=('f5693ed68ba9ab3c08e4f34bc3da4461e65a84ae763dde023554eb901fc909153c773dcda9cd8fec4612ffbc6cdb36a628cc0afdcfebb36100f5ab680b7d10b7'
+            'SKIP'
+            '4872ff514c9f841fe4c93bc442ec4e3177d1bfa3834e8d8a26fc77a63aff1cdc14944827673a59556e26210b2b4c0091f93c8e93a334710e5bc3336a64e77140'
+            'd51b43f948febb23cdd5b0c7736f966d8433b05ccd95778e90d280d45ccfd9a714e888762f458337a784fff4b86430151adb0f81d779d6b99c9154fcd7e0e319')
+validpgpkeys=('F78372A06FF50C80464FC1B4F7B8CEA6056E8E56') # 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"
+
+  for script in ${libdir}/sbin/*; do
+    ln -s "${script#${pkgdir}}" "${pkgdir}/usr/bin/"
+  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"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: rabbitmq-env.conf
===================================================================
--- rabbitmq-env.conf	2016-01-09 20:06:05 UTC (rev 155808)
+++ rabbitmq-env.conf	2016-01-09 20:06:13 UTC (rev 155809)
@@ -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 155808, rabbitmq/trunk/rabbitmq-env.conf)
===================================================================
--- rabbitmq-env.conf	                        (rev 0)
+++ rabbitmq-env.conf	2016-01-09 20:06:13 UTC (rev 155809)
@@ -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.install
===================================================================
--- rabbitmq.install	2016-01-09 20:06:05 UTC (rev 155808)
+++ rabbitmq.install	2016-01-09 20:06:13 UTC (rev 155809)
@@ -1,25 +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 -c 'RabbitMQ user' rabbitmq &>/dev/null
-    passwd -l rabbitmq &>/dev/null
-  fi
-
-  sed -e "/NODENAME/s/rabbit/rabbit@$(hostname)/" -i /etc/rabbitmq/rabbitmq-env.conf
-  post_upgrade
-}
-
-pre_upgrade() {
-  # tmp: fixing old installations
-  chmod 750 /var/log/rabbitmq /var/lib/rabbitmq
-}
-
-post_upgrade() {
-  chown -R rabbitmq:rabbitmq /var/log/rabbitmq
-  chown -R rabbitmq:rabbitmq /var/lib/rabbitmq
-  chown -R rabbitmq:root /etc/rabbitmq
-}
-
-pre_remove() {
-  systemctl stop rabbitmq
-}

Copied: rabbitmq/repos/community-any/rabbitmq.install (from rev 155808, rabbitmq/trunk/rabbitmq.install)
===================================================================
--- rabbitmq.install	                        (rev 0)
+++ rabbitmq.install	2016-01-09 20:06:13 UTC (rev 155809)
@@ -0,0 +1,16 @@
+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 -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_upgrade() {
+  chown -R rabbitmq:rabbitmq /var/log/rabbitmq
+  chown -R rabbitmq:rabbitmq /var/lib/rabbitmq
+  chown -R rabbitmq:root /etc/rabbitmq
+}

Deleted: rabbitmq.service
===================================================================
--- rabbitmq.service	2016-01-09 20:06:05 UTC (rev 155808)
+++ rabbitmq.service	2016-01-09 20:06:13 UTC (rev 155809)
@@ -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 155808, rabbitmq/trunk/rabbitmq.service)
===================================================================
--- rabbitmq.service	                        (rev 0)
+++ rabbitmq.service	2016-01-09 20:06:13 UTC (rev 155809)
@@ -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