[arch-commits] Commit in rabbitmq/repos/community-any (14 files)
Levente Polyak
anthraxx at archlinux.org
Fri Jul 6 00:53:37 UTC 2018
Date: Friday, July 6, 2018 @ 00:53:37
Author: anthraxx
Revision: 353273
archrelease: copy trunk to community-any
Added:
rabbitmq/repos/community-any/PKGBUILD
(from rev 353272, rabbitmq/trunk/PKGBUILD)
rabbitmq/repos/community-any/rabbitmq-customize-systemd-service.patch
(from rev 353272, rabbitmq/trunk/rabbitmq-customize-systemd-service.patch)
rabbitmq/repos/community-any/rabbitmq-env.conf
(from rev 353272, rabbitmq/trunk/rabbitmq-env.conf)
rabbitmq/repos/community-any/rabbitmq.install
(from rev 353272, rabbitmq/trunk/rabbitmq.install)
rabbitmq/repos/community-any/rabbitmq.logrotate
(from rev 353272, rabbitmq/trunk/rabbitmq.logrotate)
rabbitmq/repos/community-any/rabbitmq.sysusers
(from rev 353272, rabbitmq/trunk/rabbitmq.sysusers)
rabbitmq/repos/community-any/rabbitmq.tmpfiles
(from rev 353272, rabbitmq/trunk/rabbitmq.tmpfiles)
Deleted:
rabbitmq/repos/community-any/PKGBUILD
rabbitmq/repos/community-any/rabbitmq-customize-systemd-service.patch
rabbitmq/repos/community-any/rabbitmq-env.conf
rabbitmq/repos/community-any/rabbitmq.install
rabbitmq/repos/community-any/rabbitmq.logrotate
rabbitmq/repos/community-any/rabbitmq.sysusers
rabbitmq/repos/community-any/rabbitmq.tmpfiles
------------------------------------------+
PKGBUILD | 144 ++++++++++++++---------------
rabbitmq-customize-systemd-service.patch | 106 ++++++++++-----------
rabbitmq-env.conf | 6 -
rabbitmq.install | 18 +--
rabbitmq.logrotate | 12 +-
rabbitmq.sysusers | 2
rabbitmq.tmpfiles | 4
7 files changed, 146 insertions(+), 146 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-06 00:53:27 UTC (rev 353272)
+++ PKGBUILD 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1,72 +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.7.5
-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' 'socat')
-optdepends=('rabbitmqadmin: CLI management tool'
- 'logrotate: rotate log files')
-makedepends=('zip' 'unzip' 'libxslt' 'xmlto' 'systemd' 'elixir' 'python' 'python-simplejson' 'rsync')
-backup=('etc/rabbitmq/rabbitmq-env.conf')
-options=('!makeflags')
-install=rabbitmq.install
-source=(https://github.com/rabbitmq/rabbitmq-server/releases/download/v${pkgver}/rabbitmq-server-${pkgver}.tar.xz{,.asc}
- rabbitmq-customize-systemd-service.patch
- rabbitmq-env.conf
- rabbitmq.sysusers
- rabbitmq.tmpfiles
- rabbitmq.logrotate)
-sha512sums=('0ea83f893cb9c1bf2118bbf4efc25c8edc31d5244cbe3dd9a25bc646d002de3f6b5043a90c40408b0007cffd185f09565a4310b8e6a63e13dfe7f61aab3d0d48'
- 'SKIP'
- '1a74f8c375fa363104993fac0ef6d05288fff6e104e796623e52d75ff9ca9893d217b4f9f8a219110f4ab2c5a157b8074343a16472a958f7882f8e2b9fc87c0e'
- '8b841e28fa0a1424dd9e57c0988e015f3cd4cccef0f73ccdb7c7b66d11ca62ba8ef3a59c7ca5e5f0c9c9d8003ac72bf53785985d98aae867961787003286e179'
- '17d33e7104172bc265d97821fec58f1402ad3103f1ea4b1f6bbabcf0dd840685708a1bdc808b48c1a60726c5c0aa7b6479395afd9360d3116b812c143c432423'
- '5cbef5497029ff227050c6f18c4fcc35b3922747408d01b7590f096253af82a8a8f16008efcc8ea21f970ce87244de62e2e375f65c49e407e53440eada5d7114'
- 'f2a6aaa38e575e7c947191a7c67add1434beb768c50acb16d5faa5dd83d390a9a5ec7c153487add4ac26de058a02bbb5c3a7d6377e91a1d0cbcca3c1d6797b02')
-validpgpkeys=('0A9AF2115F4687BD29803A206B73A36E6026DFCA') # RabbitMQ Release Signing Key <info at rabbitmq.com>
-
-prepare() {
- cd ${pkgname}-server-${pkgver}
- sed -r 's|^(SYS_PREFIX=).*$|\1""|' -i deps/rabbit/scripts/rabbitmq-defaults
- patch -p1 < ../rabbitmq-customize-systemd-service.patch
-}
-
-build() {
- cd ${pkgname}-server-${pkgver}
- make
-}
-
-package() {
- cd ${pkgname}-server-${pkgver}
- make DESTDIR="${pkgdir}" PREFIX=/usr RMQ_ROOTDIR=/usr/lib/rabbitmq \
- install install-man install-bin
-
- # using script wrapper for better bin handling
- local libdir="${pkgdir}/usr/lib/rabbitmq/lib/rabbitmq_server-${pkgver}"
- install -d "${pkgdir}/usr/bin"
- install -Dm 755 scripts/rabbitmq-script-wrapper -t "${pkgdir}/usr/lib/rabbitmq/bin"
- for script in "${libdir}"/sbin/rabbit*; do
- ln -s /usr/lib/rabbitmq/bin/rabbitmq-script-wrapper "${pkgdir}/usr/bin/${script#${libdir}/sbin/}"
- done
-
- install -Dm 644 deps/rabbit/docs/rabbitmq-server.service.example "${pkgdir}/usr/lib/systemd/system/rabbitmq.service"
- install -Dm 644 "${srcdir}/rabbitmq-env.conf" "${pkgdir}/etc/rabbitmq/rabbitmq-env.conf"
- install -Dm 644 "${srcdir}/rabbitmq.sysusers" "${pkgdir}/usr/lib/sysusers.d/rabbitmq.conf"
- install -Dm 644 "${srcdir}/rabbitmq.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/rabbitmq.conf"
- install -Dm 644 "${srcdir}/rabbitmq.logrotate" "${pkgdir}/etc/logrotate.d/rabbitmq"
-
- chown -R 197:0 "${pkgdir}/etc/rabbitmq"
-}
-
-# vim: ts=2 sw=2 et:
Copied: rabbitmq/repos/community-any/PKGBUILD (from rev 353272, rabbitmq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1,72 @@
+# 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.7.7
+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' 'socat')
+optdepends=('rabbitmqadmin: CLI management tool'
+ 'logrotate: rotate log files')
+makedepends=('zip' 'unzip' 'libxslt' 'xmlto' 'systemd' 'elixir' 'python' 'python-simplejson' 'rsync')
+backup=('etc/rabbitmq/rabbitmq-env.conf')
+options=('!makeflags')
+install=rabbitmq.install
+source=(https://github.com/rabbitmq/rabbitmq-server/releases/download/v${pkgver}/rabbitmq-server-${pkgver}.tar.xz{,.asc}
+ rabbitmq-customize-systemd-service.patch
+ rabbitmq-env.conf
+ rabbitmq.sysusers
+ rabbitmq.tmpfiles
+ rabbitmq.logrotate)
+sha512sums=('b8ae8a71ab59f5e2e95286a782ed503eaf7371eb3fcf300723f2e581b9471f98bafdee6e6cf9a750c4beada956b80d289fb1cca0f62a9daca95aa3b2ddd954a2'
+ 'SKIP'
+ '1a74f8c375fa363104993fac0ef6d05288fff6e104e796623e52d75ff9ca9893d217b4f9f8a219110f4ab2c5a157b8074343a16472a958f7882f8e2b9fc87c0e'
+ '8b841e28fa0a1424dd9e57c0988e015f3cd4cccef0f73ccdb7c7b66d11ca62ba8ef3a59c7ca5e5f0c9c9d8003ac72bf53785985d98aae867961787003286e179'
+ '17d33e7104172bc265d97821fec58f1402ad3103f1ea4b1f6bbabcf0dd840685708a1bdc808b48c1a60726c5c0aa7b6479395afd9360d3116b812c143c432423'
+ '5cbef5497029ff227050c6f18c4fcc35b3922747408d01b7590f096253af82a8a8f16008efcc8ea21f970ce87244de62e2e375f65c49e407e53440eada5d7114'
+ 'f2a6aaa38e575e7c947191a7c67add1434beb768c50acb16d5faa5dd83d390a9a5ec7c153487add4ac26de058a02bbb5c3a7d6377e91a1d0cbcca3c1d6797b02')
+validpgpkeys=('0A9AF2115F4687BD29803A206B73A36E6026DFCA') # RabbitMQ Release Signing Key <info at rabbitmq.com>
+
+prepare() {
+ cd ${pkgname}-server-${pkgver}
+ sed -r 's|^(SYS_PREFIX=).*$|\1""|' -i deps/rabbit/scripts/rabbitmq-defaults
+ patch -p1 < ../rabbitmq-customize-systemd-service.patch
+}
+
+build() {
+ cd ${pkgname}-server-${pkgver}
+ make
+}
+
+package() {
+ cd ${pkgname}-server-${pkgver}
+ make DESTDIR="${pkgdir}" PREFIX=/usr RMQ_ROOTDIR=/usr/lib/rabbitmq \
+ install install-man install-bin
+
+ # using script wrapper for better bin handling
+ local libdir="${pkgdir}/usr/lib/rabbitmq/lib/rabbitmq_server-${pkgver}"
+ install -d "${pkgdir}/usr/bin"
+ install -Dm 755 scripts/rabbitmq-script-wrapper -t "${pkgdir}/usr/lib/rabbitmq/bin"
+ for script in "${libdir}"/sbin/rabbit*; do
+ ln -s /usr/lib/rabbitmq/bin/rabbitmq-script-wrapper "${pkgdir}/usr/bin/${script#${libdir}/sbin/}"
+ done
+
+ install -Dm 644 deps/rabbit/docs/rabbitmq-server.service.example "${pkgdir}/usr/lib/systemd/system/rabbitmq.service"
+ install -Dm 644 "${srcdir}/rabbitmq-env.conf" "${pkgdir}/etc/rabbitmq/rabbitmq-env.conf"
+ install -Dm 644 "${srcdir}/rabbitmq.sysusers" "${pkgdir}/usr/lib/sysusers.d/rabbitmq.conf"
+ install -Dm 644 "${srcdir}/rabbitmq.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/rabbitmq.conf"
+ install -Dm 644 "${srcdir}/rabbitmq.logrotate" "${pkgdir}/etc/logrotate.d/rabbitmq"
+
+ chown -R 197:0 "${pkgdir}/etc/rabbitmq"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: rabbitmq-customize-systemd-service.patch
===================================================================
--- rabbitmq-customize-systemd-service.patch 2018-07-06 00:53:27 UTC (rev 353272)
+++ rabbitmq-customize-systemd-service.patch 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1,53 +0,0 @@
-From 6990cfa74ea4864b11000b955ae3e5ea26e2b3f7 Mon Sep 17 00:00:00 2001
-From: anthraxx <levente at leventepolyak.net>
-Date: Wed, 21 Feb 2018 15:26:12 +0100
-Subject: [PATCH] Customize systemd service file
-
----
- deps/rabbit/docs/rabbitmq-server.service.example | 14 +++++++++++---
- 1 file changed, 11 insertions(+), 3 deletions(-)
-
-diff --git a/deps/rabbit/docs/rabbitmq-server.service.example b/deps/rabbit/docs/rabbitmq-server.service.example
-index f1ab926..9219394 100644
---- a/deps/rabbit/docs/rabbitmq-server.service.example
-+++ b/deps/rabbit/docs/rabbitmq-server.service.example
-@@ -1,4 +1,3 @@
--# systemd unit example
- [Unit]
- Description=RabbitMQ broker
- After=network.target epmd at 0.0.0.0.socket
-@@ -8,20 +7,29 @@ Wants=network.target epmd at 0.0.0.0.socket
- Type=notify
- User=rabbitmq
- Group=rabbitmq
-+SyslogIdentifier=rabbitmq
-+EnvironmentFile=/etc/rabbitmq/rabbitmq-env.conf
-+UMask=0027
- NotifyAccess=all
- TimeoutStartSec=3600
-+# Un-comment this setting if you need to increase RabbitMQ's
-+# open files limit
-+# LimitNOFILE=16384
-+#
- # Note:
- # You *may* wish to add the following to automatically restart RabbitMQ
- # in the event of a failure. systemd service restarts are not a
- # replacement for service monitoring. Please see
- # http://www.rabbitmq.com/monitoring.html
- #
--# Restart=on-failure
--# RestartSec=10
-+Restart=on-failure
-+RestartSec=10
- WorkingDirectory=/var/lib/rabbitmq
- ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server
- ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop
- ExecStop=/bin/sh -c "while ps -p $MAINPID >/dev/null 2>&1; do sleep 1; done"
-+# rabbitmq/rabbitmq-server-release#51
-+# SuccessExitStatus=69
-
- [Install]
- WantedBy=multi-user.target
---
-2.16.2
-
Copied: rabbitmq/repos/community-any/rabbitmq-customize-systemd-service.patch (from rev 353272, rabbitmq/trunk/rabbitmq-customize-systemd-service.patch)
===================================================================
--- rabbitmq-customize-systemd-service.patch (rev 0)
+++ rabbitmq-customize-systemd-service.patch 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1,53 @@
+From 6990cfa74ea4864b11000b955ae3e5ea26e2b3f7 Mon Sep 17 00:00:00 2001
+From: anthraxx <levente at leventepolyak.net>
+Date: Wed, 21 Feb 2018 15:26:12 +0100
+Subject: [PATCH] Customize systemd service file
+
+---
+ deps/rabbit/docs/rabbitmq-server.service.example | 14 +++++++++++---
+ 1 file changed, 11 insertions(+), 3 deletions(-)
+
+diff --git a/deps/rabbit/docs/rabbitmq-server.service.example b/deps/rabbit/docs/rabbitmq-server.service.example
+index f1ab926..9219394 100644
+--- a/deps/rabbit/docs/rabbitmq-server.service.example
++++ b/deps/rabbit/docs/rabbitmq-server.service.example
+@@ -1,4 +1,3 @@
+-# systemd unit example
+ [Unit]
+ Description=RabbitMQ broker
+ After=network.target epmd at 0.0.0.0.socket
+@@ -8,20 +7,29 @@ Wants=network.target epmd at 0.0.0.0.socket
+ Type=notify
+ User=rabbitmq
+ Group=rabbitmq
++SyslogIdentifier=rabbitmq
++EnvironmentFile=/etc/rabbitmq/rabbitmq-env.conf
++UMask=0027
+ NotifyAccess=all
+ TimeoutStartSec=3600
++# Un-comment this setting if you need to increase RabbitMQ's
++# open files limit
++# LimitNOFILE=16384
++#
+ # Note:
+ # You *may* wish to add the following to automatically restart RabbitMQ
+ # in the event of a failure. systemd service restarts are not a
+ # replacement for service monitoring. Please see
+ # http://www.rabbitmq.com/monitoring.html
+ #
+-# Restart=on-failure
+-# RestartSec=10
++Restart=on-failure
++RestartSec=10
+ WorkingDirectory=/var/lib/rabbitmq
+ ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server
+ ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop
+ ExecStop=/bin/sh -c "while ps -p $MAINPID >/dev/null 2>&1; do sleep 1; done"
++# rabbitmq/rabbitmq-server-release#51
++# SuccessExitStatus=69
+
+ [Install]
+ WantedBy=multi-user.target
+--
+2.16.2
+
Deleted: rabbitmq-env.conf
===================================================================
--- rabbitmq-env.conf 2018-07-06 00:53:27 UTC (rev 353272)
+++ rabbitmq-env.conf 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1,3 +0,0 @@
-NODENAME=rabbit
-NODE_IP_ADDRESS=0.0.0.0
-NODE_PORT=5672
Copied: rabbitmq/repos/community-any/rabbitmq-env.conf (from rev 353272, rabbitmq/trunk/rabbitmq-env.conf)
===================================================================
--- rabbitmq-env.conf (rev 0)
+++ rabbitmq-env.conf 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1,3 @@
+NODENAME=rabbit
+NODE_IP_ADDRESS=0.0.0.0
+NODE_PORT=5672
Deleted: rabbitmq.install
===================================================================
--- rabbitmq.install 2018-07-06 00:53:27 UTC (rev 353272)
+++ rabbitmq.install 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1,9 +0,0 @@
-post_install() {
- sed -e "/NODENAME/s/rabbit$/rabbit@$(hostname -s)/" -i /etc/rabbitmq/rabbitmq-env.conf
-}
-
-post_upgrade() {
- post_install
-}
-
-# vim: ts=2 sw=2 et:
Copied: rabbitmq/repos/community-any/rabbitmq.install (from rev 353272, rabbitmq/trunk/rabbitmq.install)
===================================================================
--- rabbitmq.install (rev 0)
+++ rabbitmq.install 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1,9 @@
+post_install() {
+ sed -e "/NODENAME/s/rabbit$/rabbit@$(hostname -s)/" -i /etc/rabbitmq/rabbitmq-env.conf
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Deleted: rabbitmq.logrotate
===================================================================
--- rabbitmq.logrotate 2018-07-06 00:53:27 UTC (rev 353272)
+++ rabbitmq.logrotate 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1,6 +0,0 @@
-/var/log/rabbitmq/*.log {
- missingok
- notifempty
- compress
- create 640 rabbitmq rabbitmq
-}
Copied: rabbitmq/repos/community-any/rabbitmq.logrotate (from rev 353272, rabbitmq/trunk/rabbitmq.logrotate)
===================================================================
--- rabbitmq.logrotate (rev 0)
+++ rabbitmq.logrotate 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1,6 @@
+/var/log/rabbitmq/*.log {
+ missingok
+ notifempty
+ compress
+ create 640 rabbitmq rabbitmq
+}
Deleted: rabbitmq.sysusers
===================================================================
--- rabbitmq.sysusers 2018-07-06 00:53:27 UTC (rev 353272)
+++ rabbitmq.sysusers 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1 +0,0 @@
-u rabbitmq 197 "RabbitMQ user" /var/lib/rabbitmq
Copied: rabbitmq/repos/community-any/rabbitmq.sysusers (from rev 353272, rabbitmq/trunk/rabbitmq.sysusers)
===================================================================
--- rabbitmq.sysusers (rev 0)
+++ rabbitmq.sysusers 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1 @@
+u rabbitmq 197 "RabbitMQ user" /var/lib/rabbitmq
Deleted: rabbitmq.tmpfiles
===================================================================
--- rabbitmq.tmpfiles 2018-07-06 00:53:27 UTC (rev 353272)
+++ rabbitmq.tmpfiles 2018-07-06 00:53:37 UTC (rev 353273)
@@ -1,2 +0,0 @@
-d /var/lib/rabbitmq 0750 rabbitmq rabbitmq - -
-d /var/log/rabbitmq 0750 rabbitmq rabbitmq - -
Copied: rabbitmq/repos/community-any/rabbitmq.tmpfiles (from rev 353272, rabbitmq/trunk/rabbitmq.tmpfiles)
===================================================================
--- rabbitmq.tmpfiles (rev 0)
+++ rabbitmq.tmpfiles 2018-07-06 00:53:37 UTC (rev 353273)
@@ -0,0 +1,2 @@
+d /var/lib/rabbitmq 0750 rabbitmq rabbitmq - -
+d /var/log/rabbitmq 0750 rabbitmq rabbitmq - -
More information about the arch-commits
mailing list