[arch-commits] Commit in mosquitto/repos (14 files)

Jelle van der Waa jelle at archlinux.org
Sun Feb 26 21:14:27 UTC 2017


    Date: Sunday, February 26, 2017 @ 21:14:26
  Author: jelle
Revision: 213888

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mosquitto/repos/community-i686/PKGBUILD
    (from rev 213887, mosquitto/trunk/PKGBUILD)
  mosquitto/repos/community-i686/mosquitto.install
    (from rev 213887, mosquitto/trunk/mosquitto.install)
  mosquitto/repos/community-i686/mosquitto.service
    (from rev 213887, mosquitto/trunk/mosquitto.service)
  mosquitto/repos/community-i686/sysusers_mosquitto.conf
    (from rev 213887, mosquitto/trunk/sysusers_mosquitto.conf)
  mosquitto/repos/community-x86_64/PKGBUILD
    (from rev 213887, mosquitto/trunk/PKGBUILD)
  mosquitto/repos/community-x86_64/mosquitto.install
    (from rev 213887, mosquitto/trunk/mosquitto.install)
  mosquitto/repos/community-x86_64/mosquitto.service
    (from rev 213887, mosquitto/trunk/mosquitto.service)
  mosquitto/repos/community-x86_64/sysusers_mosquitto.conf
    (from rev 213887, mosquitto/trunk/sysusers_mosquitto.conf)
Deleted:
  mosquitto/repos/community-i686/PKGBUILD
  mosquitto/repos/community-i686/mosquitto.install
  mosquitto/repos/community-i686/mosquitto.service
  mosquitto/repos/community-x86_64/PKGBUILD
  mosquitto/repos/community-x86_64/mosquitto.install
  mosquitto/repos/community-x86_64/mosquitto.service

------------------------------------------+
 /PKGBUILD                                |   86 +++++++++++++++++++++++++++++
 /mosquitto.install                       |   14 ++++
 /mosquitto.service                       |   24 ++++++++
 community-i686/PKGBUILD                  |   40 -------------
 community-i686/mosquitto.install         |    4 -
 community-i686/mosquitto.service         |   12 ----
 community-i686/sysusers_mosquitto.conf   |    1 
 community-x86_64/PKGBUILD                |   40 -------------
 community-x86_64/mosquitto.install       |    4 -
 community-x86_64/mosquitto.service       |   12 ----
 community-x86_64/sysusers_mosquitto.conf |    1 
 11 files changed, 126 insertions(+), 112 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-02-26 21:14:12 UTC (rev 213887)
+++ community-i686/PKGBUILD	2017-02-26 21:14:26 UTC (rev 213888)
@@ -1,40 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Radek Podgorny <radek at podgorny.cz>
-# Contributor: Dan Anderson <dan-anderson at cox dptnet>
-
-pkgname=mosquitto
-pkgver=1.4.11
-pkgrel=1
-pkgdesc="An Open Source MQTT v3.1/v3.1.1 Broker"
-arch=('i686' 'x86_64')
-url="http://mosquitto.org/"
-depends=('openssl' 'c-ares' 'libwebsockets')
-makedepends=('docbook-xsl' 'c-ares')
-license=('BSD')
-source=(https://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" "$pkgname.install")
-install=$pkgname.install
-backup=("etc/$pkgname/$pkgname.conf")
-sha256sums=('ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5'
-            'SKIP'
-            '3480aa1a9da543230fbbb0e7e11cde9db2736e486cd024fbd505f927188fa3a2'
-            '43e65aef96a8cab33b62e66bdaa18c071ad20d9654f9e6a4af5716e4f4daabe6')
-validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
-
-build() {
-  cd "$pkgname-$pkgver"
-  # FIX upstream by making SBINDIR=foo or use CMAKE
-  sed -i 's|/sbin|/bin|g' src/Makefile
-  make WITH_WEBSOCKETS=yes
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make prefix=/usr DESTDIR="$pkgdir/" install
-
-  # Shipped in git.
-  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  mv "$pkgdir/etc/$pkgname/$pkgname.conf.example" "$pkgdir/etc/$pkgname/$pkgname.conf"
-}

Copied: mosquitto/repos/community-i686/PKGBUILD (from rev 213887, mosquitto/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1,43 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Radek Podgorny <radek at podgorny.cz>
+# Contributor: Dan Anderson <dan-anderson at cox dptnet>
+
+pkgname=mosquitto
+pkgver=1.4.11
+pkgrel=2
+pkgdesc="An Open Source MQTT v3.1/v3.1.1 Broker"
+arch=('i686' 'x86_64')
+url="http://mosquitto.org/"
+depends=('openssl' 'c-ares' 'libwebsockets')
+makedepends=('docbook-xsl' 'c-ares')
+license=('BSD')
+source=(https://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" "$pkgname.install" "sysusers_mosquitto.conf")
+install=$pkgname.install
+backup=("etc/$pkgname/$pkgname.conf")
+sha256sums=('ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5'
+            'SKIP'
+            '3480aa1a9da543230fbbb0e7e11cde9db2736e486cd024fbd505f927188fa3a2'
+            '7aa6edfc36c5a1d5bd89be4c28721b3f802a1eb67c042f5cfd74366cc4a4cae6'
+            'e648d0ce5428c0199ac75c623c8a27e40495a98aa1bf4a22179ed582492f748f')
+validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
+
+build() {
+  cd "$pkgname-$pkgver"
+  # FIX upstream by making SBINDIR=foo or use CMAKE
+  sed -i 's|/sbin|/bin|g' src/Makefile
+  make WITH_WEBSOCKETS=yes
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make prefix=/usr DESTDIR="$pkgdir/" install
+
+  # Shipped in git.
+  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  mv "$pkgdir/etc/$pkgname/$pkgname.conf.example" "$pkgdir/etc/$pkgname/$pkgname.conf"
+
+  install -D -m644 "${srcdir}"/sysusers_mosquitto.conf "${pkgdir}"/usr/lib/sysusers.d/mosquitto.conf
+}

Deleted: community-i686/mosquitto.install
===================================================================
--- community-i686/mosquitto.install	2017-02-26 21:14:12 UTC (rev 213887)
+++ community-i686/mosquitto.install	2017-02-26 21:14:26 UTC (rev 213888)
@@ -1,4 +0,0 @@
-post_install() {
-  getent group mosquitto &> /dev/null || groupadd -g 567 mosquitto > /dev/null
-  getent passwd mosquitto &> /dev/null || useradd -u 567 -c 'Mosquitto MQTT Broker daemon' -d /etc/mosquitto -s /bin/false -g mosquitto mosquitto > /dev/null
-}

Copied: mosquitto/repos/community-i686/mosquitto.install (from rev 213887, mosquitto/trunk/mosquitto.install)
===================================================================
--- community-i686/mosquitto.install	                        (rev 0)
+++ community-i686/mosquitto.install	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1,7 @@
+post_install() {
+  systemd-sysusers sysusers_mosquitto.conf
+}
+
+post_upgrade() {
+  systemd-sysusers sysusers_mosquitto.conf
+}

Deleted: community-i686/mosquitto.service
===================================================================
--- community-i686/mosquitto.service	2017-02-26 21:14:12 UTC (rev 213887)
+++ community-i686/mosquitto.service	2017-02-26 21:14:26 UTC (rev 213888)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Mosquitto MQTT Broker daemon
-Requires=network.target
-
-[Service]
-ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
-

Copied: mosquitto/repos/community-i686/mosquitto.service (from rev 213887, mosquitto/trunk/mosquitto.service)
===================================================================
--- community-i686/mosquitto.service	                        (rev 0)
+++ community-i686/mosquitto.service	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Mosquitto MQTT Broker daemon
+Requires=network.target
+
+[Service]
+ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+

Copied: mosquitto/repos/community-i686/sysusers_mosquitto.conf (from rev 213887, mosquitto/trunk/sysusers_mosquitto.conf)
===================================================================
--- community-i686/sysusers_mosquitto.conf	                        (rev 0)
+++ community-i686/sysusers_mosquitto.conf	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1 @@
+u mosquitto 567 "Mosquitto MQTT Broker" /var/empty

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-02-26 21:14:12 UTC (rev 213887)
+++ community-x86_64/PKGBUILD	2017-02-26 21:14:26 UTC (rev 213888)
@@ -1,40 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Radek Podgorny <radek at podgorny.cz>
-# Contributor: Dan Anderson <dan-anderson at cox dptnet>
-
-pkgname=mosquitto
-pkgver=1.4.11
-pkgrel=1
-pkgdesc="An Open Source MQTT v3.1/v3.1.1 Broker"
-arch=('i686' 'x86_64')
-url="http://mosquitto.org/"
-depends=('openssl' 'c-ares' 'libwebsockets')
-makedepends=('docbook-xsl' 'c-ares')
-license=('BSD')
-source=(https://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" "$pkgname.install")
-install=$pkgname.install
-backup=("etc/$pkgname/$pkgname.conf")
-sha256sums=('ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5'
-            'SKIP'
-            '3480aa1a9da543230fbbb0e7e11cde9db2736e486cd024fbd505f927188fa3a2'
-            '43e65aef96a8cab33b62e66bdaa18c071ad20d9654f9e6a4af5716e4f4daabe6')
-validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
-
-build() {
-  cd "$pkgname-$pkgver"
-  # FIX upstream by making SBINDIR=foo or use CMAKE
-  sed -i 's|/sbin|/bin|g' src/Makefile
-  make WITH_WEBSOCKETS=yes
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make prefix=/usr DESTDIR="$pkgdir/" install
-
-  # Shipped in git.
-  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  mv "$pkgdir/etc/$pkgname/$pkgname.conf.example" "$pkgdir/etc/$pkgname/$pkgname.conf"
-}

Copied: mosquitto/repos/community-x86_64/PKGBUILD (from rev 213887, mosquitto/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1,43 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Radek Podgorny <radek at podgorny.cz>
+# Contributor: Dan Anderson <dan-anderson at cox dptnet>
+
+pkgname=mosquitto
+pkgver=1.4.11
+pkgrel=2
+pkgdesc="An Open Source MQTT v3.1/v3.1.1 Broker"
+arch=('i686' 'x86_64')
+url="http://mosquitto.org/"
+depends=('openssl' 'c-ares' 'libwebsockets')
+makedepends=('docbook-xsl' 'c-ares')
+license=('BSD')
+source=(https://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" "$pkgname.install" "sysusers_mosquitto.conf")
+install=$pkgname.install
+backup=("etc/$pkgname/$pkgname.conf")
+sha256sums=('ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5'
+            'SKIP'
+            '3480aa1a9da543230fbbb0e7e11cde9db2736e486cd024fbd505f927188fa3a2'
+            '7aa6edfc36c5a1d5bd89be4c28721b3f802a1eb67c042f5cfd74366cc4a4cae6'
+            'e648d0ce5428c0199ac75c623c8a27e40495a98aa1bf4a22179ed582492f748f')
+validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
+
+build() {
+  cd "$pkgname-$pkgver"
+  # FIX upstream by making SBINDIR=foo or use CMAKE
+  sed -i 's|/sbin|/bin|g' src/Makefile
+  make WITH_WEBSOCKETS=yes
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make prefix=/usr DESTDIR="$pkgdir/" install
+
+  # Shipped in git.
+  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  mv "$pkgdir/etc/$pkgname/$pkgname.conf.example" "$pkgdir/etc/$pkgname/$pkgname.conf"
+
+  install -D -m644 "${srcdir}"/sysusers_mosquitto.conf "${pkgdir}"/usr/lib/sysusers.d/mosquitto.conf
+}

Deleted: community-x86_64/mosquitto.install
===================================================================
--- community-x86_64/mosquitto.install	2017-02-26 21:14:12 UTC (rev 213887)
+++ community-x86_64/mosquitto.install	2017-02-26 21:14:26 UTC (rev 213888)
@@ -1,4 +0,0 @@
-post_install() {
-  getent group mosquitto &> /dev/null || groupadd -g 567 mosquitto > /dev/null
-  getent passwd mosquitto &> /dev/null || useradd -u 567 -c 'Mosquitto MQTT Broker daemon' -d /etc/mosquitto -s /bin/false -g mosquitto mosquitto > /dev/null
-}

Copied: mosquitto/repos/community-x86_64/mosquitto.install (from rev 213887, mosquitto/trunk/mosquitto.install)
===================================================================
--- community-x86_64/mosquitto.install	                        (rev 0)
+++ community-x86_64/mosquitto.install	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1,7 @@
+post_install() {
+  systemd-sysusers sysusers_mosquitto.conf
+}
+
+post_upgrade() {
+  systemd-sysusers sysusers_mosquitto.conf
+}

Deleted: community-x86_64/mosquitto.service
===================================================================
--- community-x86_64/mosquitto.service	2017-02-26 21:14:12 UTC (rev 213887)
+++ community-x86_64/mosquitto.service	2017-02-26 21:14:26 UTC (rev 213888)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Mosquitto MQTT Broker daemon
-Requires=network.target
-
-[Service]
-ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
-

Copied: mosquitto/repos/community-x86_64/mosquitto.service (from rev 213887, mosquitto/trunk/mosquitto.service)
===================================================================
--- community-x86_64/mosquitto.service	                        (rev 0)
+++ community-x86_64/mosquitto.service	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Mosquitto MQTT Broker daemon
+Requires=network.target
+
+[Service]
+ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+

Copied: mosquitto/repos/community-x86_64/sysusers_mosquitto.conf (from rev 213887, mosquitto/trunk/sysusers_mosquitto.conf)
===================================================================
--- community-x86_64/sysusers_mosquitto.conf	                        (rev 0)
+++ community-x86_64/sysusers_mosquitto.conf	2017-02-26 21:14:26 UTC (rev 213888)
@@ -0,0 +1 @@
+u mosquitto 567 "Mosquitto MQTT Broker" /var/empty



More information about the arch-commits mailing list