Date: Sunday, March 31, 2019 @ 18:00:22 Author: anthraxx Revision: 446877
archrelease: copy trunk to community-any Added: rabbitmq/repos/community-any/PKGBUILD (from rev 446876, rabbitmq/trunk/PKGBUILD) rabbitmq/repos/community-any/rabbitmq-customize-systemd-service.patch (from rev 446876, rabbitmq/trunk/rabbitmq-customize-systemd-service.patch) rabbitmq/repos/community-any/rabbitmq-env.conf (from rev 446876, rabbitmq/trunk/rabbitmq-env.conf) rabbitmq/repos/community-any/rabbitmq.install (from rev 446876, rabbitmq/trunk/rabbitmq.install) rabbitmq/repos/community-any/rabbitmq.logrotate (from rev 446876, rabbitmq/trunk/rabbitmq.logrotate) rabbitmq/repos/community-any/rabbitmq.sysusers (from rev 446876, rabbitmq/trunk/rabbitmq.sysusers) rabbitmq/repos/community-any/rabbitmq.tmpfiles (from rev 446876, 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 | 147 ++++++++++++++--------------- 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(+), 149 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-31 18:00:13 UTC (rev 446876) +++ PKGBUILD 2019-03-31 18:00:22 UTC (rev 446877) @@ -1,75 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Marcello "mereghost" Rocha <marcello.ro...@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 <net...@gmail.com> -# Contributor: Christopher Grebs <c...@webshox.org> -# Contributor: mutantmonkey - -pkgname=rabbitmq -pkgver=3.7.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' '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-3.7-erlang-21.3-fix.patch::https://github.com/rabbitmq/rabbitmq-aws/commit/27823e011119b95cf8d509c8b80e21b37c5bb7c4.patch - rabbitmq-customize-systemd-service.patch - rabbitmq-env.conf - rabbitmq.sysusers - rabbitmq.tmpfiles - rabbitmq.logrotate) -sha512sums=('33cc3682214782152e4e1270d1011e94df79b454abf6fcf9d56b73be1f8cf42ce0a4a559f243b4721ae25b10897c756960c655909bee2b427395d0f0b63a2fb9' - 'SKIP' - '05746496575058ecff51cff0b126f84dcdf0779fed35a0c4825ff8de6ff6454a6fe99722645953038d90a6528b4e7b811bac0bb8b46ec5cdb077bdbeb7857cbe' - '1a74f8c375fa363104993fac0ef6d05288fff6e104e796623e52d75ff9ca9893d217b4f9f8a219110f4ab2c5a157b8074343a16472a958f7882f8e2b9fc87c0e' - '8b841e28fa0a1424dd9e57c0988e015f3cd4cccef0f73ccdb7c7b66d11ca62ba8ef3a59c7ca5e5f0c9c9d8003ac72bf53785985d98aae867961787003286e179' - '17d33e7104172bc265d97821fec58f1402ad3103f1ea4b1f6bbabcf0dd840685708a1bdc808b48c1a60726c5c0aa7b6479395afd9360d3116b812c143c432423' - '5cbef5497029ff227050c6f18c4fcc35b3922747408d01b7590f096253af82a8a8f16008efcc8ea21f970ce87244de62e2e375f65c49e407e53440eada5d7114' - 'f2a6aaa38e575e7c947191a7c67add1434beb768c50acb16d5faa5dd83d390a9a5ec7c153487add4ac26de058a02bbb5c3a7d6377e91a1d0cbcca3c1d6797b02') -validpgpkeys=('0A9AF2115F4687BD29803A206B73A36E6026DFCA') # RabbitMQ Release Signing Key <i...@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 - patch -Np1 -d deps/rabbitmq_aws < ../rabbitmq-3.7-erlang-21.3-fix.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 446876, rabbitmq/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-31 18:00:22 UTC (rev 446877) @@ -0,0 +1,72 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Marcello "mereghost" Rocha <marcello.ro...@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 <net...@gmail.com> +# Contributor: Christopher Grebs <c...@webshox.org> +# Contributor: mutantmonkey + +pkgname=rabbitmq +pkgver=3.7.14 +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=('38c38e64a736c0c27dbefe2249a8c9a42a04dc8c05090d3c15ffa2a651685c646b800a627eb5a1997f76335fd07c41d5dd132dac3be5e027ceb6fac989104038' + 'SKIP' + '4859e67725dc8467b43102200bf47bdf69e3f3b700da859e861327e2f01491bfaeed8e32da4fc2415d8a127037420b768ef321a42d535f181cab56945f83d2c2' + '8b841e28fa0a1424dd9e57c0988e015f3cd4cccef0f73ccdb7c7b66d11ca62ba8ef3a59c7ca5e5f0c9c9d8003ac72bf53785985d98aae867961787003286e179' + '17d33e7104172bc265d97821fec58f1402ad3103f1ea4b1f6bbabcf0dd840685708a1bdc808b48c1a60726c5c0aa7b6479395afd9360d3116b812c143c432423' + '5cbef5497029ff227050c6f18c4fcc35b3922747408d01b7590f096253af82a8a8f16008efcc8ea21f970ce87244de62e2e375f65c49e407e53440eada5d7114' + 'f2a6aaa38e575e7c947191a7c67add1434beb768c50acb16d5faa5dd83d390a9a5ec7c153487add4ac26de058a02bbb5c3a7d6377e91a1d0cbcca3c1d6797b02') +validpgpkeys=('0A9AF2115F4687BD29803A206B73A36E6026DFCA') # RabbitMQ Release Signing Key <i...@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 2019-03-31 18:00:13 UTC (rev 446876) +++ rabbitmq-customize-systemd-service.patch 2019-03-31 18:00:22 UTC (rev 446877) @@ -1,53 +0,0 @@ -From 6990cfa74ea4864b11000b955ae3e5ea26e2b3f7 Mon Sep 17 00:00:00 2001 -From: anthraxx <leve...@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@0.0.0.0.socket -@@ -8,20 +7,29 @@ Wants=network.target epmd@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 446876, rabbitmq/trunk/rabbitmq-customize-systemd-service.patch) =================================================================== --- rabbitmq-customize-systemd-service.patch (rev 0) +++ rabbitmq-customize-systemd-service.patch 2019-03-31 18:00:22 UTC (rev 446877) @@ -0,0 +1,53 @@ +From 6990cfa74ea4864b11000b955ae3e5ea26e2b3f7 Mon Sep 17 00:00:00 2001 +From: anthraxx <leve...@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@0.0.0.0.socket +@@ -8,20 +7,29 @@ Wants=network.target epmd@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 + # https://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 2019-03-31 18:00:13 UTC (rev 446876) +++ rabbitmq-env.conf 2019-03-31 18:00:22 UTC (rev 446877) @@ -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 446876, rabbitmq/trunk/rabbitmq-env.conf) =================================================================== --- rabbitmq-env.conf (rev 0) +++ rabbitmq-env.conf 2019-03-31 18:00:22 UTC (rev 446877) @@ -0,0 +1,3 @@ +NODENAME=rabbit +NODE_IP_ADDRESS=0.0.0.0 +NODE_PORT=5672 Deleted: rabbitmq.install =================================================================== --- rabbitmq.install 2019-03-31 18:00:13 UTC (rev 446876) +++ rabbitmq.install 2019-03-31 18:00:22 UTC (rev 446877) @@ -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 446876, rabbitmq/trunk/rabbitmq.install) =================================================================== --- rabbitmq.install (rev 0) +++ rabbitmq.install 2019-03-31 18:00:22 UTC (rev 446877) @@ -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 2019-03-31 18:00:13 UTC (rev 446876) +++ rabbitmq.logrotate 2019-03-31 18:00:22 UTC (rev 446877) @@ -1,6 +0,0 @@ -/var/log/rabbitmq/*.log { - missingok - notifempty - compress - create 640 rabbitmq rabbitmq -} Copied: rabbitmq/repos/community-any/rabbitmq.logrotate (from rev 446876, rabbitmq/trunk/rabbitmq.logrotate) =================================================================== --- rabbitmq.logrotate (rev 0) +++ rabbitmq.logrotate 2019-03-31 18:00:22 UTC (rev 446877) @@ -0,0 +1,6 @@ +/var/log/rabbitmq/*.log { + missingok + notifempty + compress + create 640 rabbitmq rabbitmq +} Deleted: rabbitmq.sysusers =================================================================== --- rabbitmq.sysusers 2019-03-31 18:00:13 UTC (rev 446876) +++ rabbitmq.sysusers 2019-03-31 18:00:22 UTC (rev 446877) @@ -1 +0,0 @@ -u rabbitmq 197 "RabbitMQ user" /var/lib/rabbitmq Copied: rabbitmq/repos/community-any/rabbitmq.sysusers (from rev 446876, rabbitmq/trunk/rabbitmq.sysusers) =================================================================== --- rabbitmq.sysusers (rev 0) +++ rabbitmq.sysusers 2019-03-31 18:00:22 UTC (rev 446877) @@ -0,0 +1 @@ +u rabbitmq 197 "RabbitMQ user" /var/lib/rabbitmq Deleted: rabbitmq.tmpfiles =================================================================== --- rabbitmq.tmpfiles 2019-03-31 18:00:13 UTC (rev 446876) +++ rabbitmq.tmpfiles 2019-03-31 18:00:22 UTC (rev 446877) @@ -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 446876, rabbitmq/trunk/rabbitmq.tmpfiles) =================================================================== --- rabbitmq.tmpfiles (rev 0) +++ rabbitmq.tmpfiles 2019-03-31 18:00:22 UTC (rev 446877) @@ -0,0 +1,2 @@ +d /var/lib/rabbitmq 0750 rabbitmq rabbitmq - - +d /var/log/rabbitmq 0750 rabbitmq rabbitmq - -