summaryrefslogtreecommitdiff
path: root/pcr/mosquitto
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mosquitto')
-rw-r--r--pcr/mosquitto/PKGBUILD6
-rw-r--r--pcr/mosquitto/mosquitto.install6
2 files changed, 7 insertions, 5 deletions
diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD
index b11a40bb7..f0b1969f0 100644
--- a/pcr/mosquitto/PKGBUILD
+++ b/pcr/mosquitto/PKGBUILD
@@ -5,7 +5,7 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=mosquitto
-pkgver=1.4.2
+pkgver=1.4.3
pkgrel=1
pkgdesc="An Open Source MQTT v3.1 Broker"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
@@ -17,10 +17,10 @@ provides=('mosquitto')
license=('BSD')
source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" "$pkgname.install" "usr_move.patch")
install=$pkgname.install
-sha256sums=('5ebc3800a0018bfbec62dcc3748fb29f628df068acd39c62c4ef651d9276647e'
+sha256sums=('773d7436f729b5a6088035708c9277a9c6ba5651e127b63c8f29fe39e152479c'
'SKIP'
'b09c9852b5b438bad8dd54b3ac665bb0d05d1a9e4daf8c920956457c83622b64'
- '877ce99413301b0525f40adb5322dc50e69e2f90092138bf495c393dec65d449'
+ '09b8a17fc59f36f40ead4644fffc95458a9255c32d4848f39ceca05925dcc95b'
'c436bcc5a61d923ab36d5b3f24e5f628bf18ef14c2f351633d58ca983b5f655c')
validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
diff --git a/pcr/mosquitto/mosquitto.install b/pcr/mosquitto/mosquitto.install
index b2dfb9600..ab99d1d0f 100644
--- a/pcr/mosquitto/mosquitto.install
+++ b/pcr/mosquitto/mosquitto.install
@@ -1,10 +1,12 @@
post_install() {
- getent group mosquitto > /dev/null || groupadd mosquitto
- getent passwd mosquitto > /dev/null || useradd -c 'Mosquitto MQTT Broker daemon' -d /etc/mosquitto -s /bin/false -g mosquitto mosquitto
+ getent group mosquitto > /dev/null || groupadd -g 567 mosquitto
+ getent passwd mosquitto > /dev/null || useradd -c 'Mosquitto MQTT Broker daemon' -d /etc/mosquitto -s /bin/false -g mosquitto -u 567 -g 567 mosquitto
}
post_upgrade() {
post_install $1
+ usermod -u 567 mosquitto
+ groupmod -g 567 mosquitto
}
post_remove() {