Date: Wednesday, September 15, 2021 @ 21:04:57 Author: dvzrv Revision: 1016086
archrelease: copy trunk to community-x86_64 Added: mosquitto/repos/community-x86_64/PKGBUILD (from rev 1016085, mosquitto/trunk/PKGBUILD) mosquitto/repos/community-x86_64/mosquitto.service (from rev 1016085, mosquitto/trunk/mosquitto.service) mosquitto/repos/community-x86_64/sysusers_mosquitto.conf (from rev 1016085, mosquitto/trunk/sysusers_mosquitto.conf) Deleted: mosquitto/repos/community-x86_64/PKGBUILD mosquitto/repos/community-x86_64/mosquitto.service mosquitto/repos/community-x86_64/sysusers_mosquitto.conf -------------------------+ PKGBUILD | 96 +++++++++++++++++++++++----------------------- mosquitto.service | 36 ++++++++--------- sysusers_mosquitto.conf | 2 3 files changed, 67 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-15 21:04:46 UTC (rev 1016085) +++ PKGBUILD 2021-09-15 21:04:57 UTC (rev 1016086) @@ -1,48 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Contributor: Radek Podgorny <ra...@podgorny.cz> -# Contributor: Dan Anderson <dan-anderson at cox dptnet> - -pkgname=mosquitto -pkgver=2.0.11 -pkgrel=1 -pkgdesc="An Open Source MQTT Broker" -arch=('x86_64') -url="https://mosquitto.org/" -depends=('openssl' 'c-ares' 'util-linux-libs' 'cjson') -makedepends=('docbook-xsl' 'c-ares' 'libwebsockets') -license=('BSD') -source=(https://mosquitto.org/files/source/mosquitto-$pkgver.tar.gz{,.asc} - "$pkgname.service" - "sysusers_mosquitto.conf") -backup=("etc/$pkgname/$pkgname.conf") -sha512sums=('d0c7c52cb76c4711e54f841217529326d682c4decfc7a1bc96d872904e68df444ca3918fab7ba041b62f7b5420c89c631227b69a8eec51fd2e2dd480d8244710' - 'SKIP' - '7dd86bb454e6df45e609fc3cb53d3cae8cc1c36d459b1e23be9ab10c9770c7a406fbd34e47703b0db3056f4bc8550994666b8a398d4506f786bf274e4618b7e9' - '21848b890c2db258138795ec21a009e022b6a8369217eb31939f976ad434229dd9f61d33e8109ade7bc001e8668e9d42b59c1ab079753860417961e102356f0e') -validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7') - -prepare() { - cd "$pkgname-$pkgver" - # FIX upstream by making SBINDIR=foo or use CMAKE - sed -i 's|/sbin|/bin|g' src/Makefile -} - -build() { - cd "$pkgname-$pkgver" - make WITH_WEBSOCKETS=yes -} - -package() { - depends+=('libwebsockets.so') - 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 -} Copied: mosquitto/repos/community-x86_64/PKGBUILD (from rev 1016085, mosquitto/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-15 21:04:57 UTC (rev 1016086) @@ -0,0 +1,48 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Radek Podgorny <ra...@podgorny.cz> +# Contributor: Dan Anderson <dan-anderson at cox dptnet> + +pkgname=mosquitto +pkgver=2.0.12 +pkgrel=1 +pkgdesc="An Open Source MQTT Broker" +arch=('x86_64') +url="https://mosquitto.org/" +depends=('openssl' 'c-ares' 'util-linux-libs' 'cjson') +makedepends=('docbook-xsl' 'c-ares' 'libwebsockets') +license=('BSD') +source=(https://mosquitto.org/files/source/mosquitto-$pkgver.tar.gz{,.asc} + "$pkgname.service" + "sysusers_mosquitto.conf") +backup=("etc/$pkgname/$pkgname.conf") +sha512sums=('acf80980f124073fd2fdd99981bde840654fb40a6b6f1d6ef483e35880b45d029cfa9390a98753de6476f4ade068266cb4c6e3c753a0362c0309a5745ac4ebab' + 'SKIP' + '7dd86bb454e6df45e609fc3cb53d3cae8cc1c36d459b1e23be9ab10c9770c7a406fbd34e47703b0db3056f4bc8550994666b8a398d4506f786bf274e4618b7e9' + '21848b890c2db258138795ec21a009e022b6a8369217eb31939f976ad434229dd9f61d33e8109ade7bc001e8668e9d42b59c1ab079753860417961e102356f0e') +validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7') + +prepare() { + cd "$pkgname-$pkgver" + # FIX upstream by making SBINDIR=foo or use CMAKE + sed -i 's|/sbin|/bin|g' src/Makefile +} + +build() { + cd "$pkgname-$pkgver" + make WITH_WEBSOCKETS=yes +} + +package() { + depends+=('libwebsockets.so') + 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: mosquitto.service =================================================================== --- mosquitto.service 2021-09-15 21:04:46 UTC (rev 1016085) +++ mosquitto.service 2021-09-15 21:04:57 UTC (rev 1016086) @@ -1,18 +0,0 @@ -[Unit] -Description=Mosquitto MQTT Broker daemon -Requires=network.target - -[Service] -User=mosquitto -ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf -ExecReload=/bin/kill -HUP $MAINPID -Restart=on-failure - -NoNewPrivileges=yes -ProtectSystem=full -ProtectHome=true -PrivateTmp=true -PrivateDevices=true - -[Install] -WantedBy=multi-user.target Copied: mosquitto/repos/community-x86_64/mosquitto.service (from rev 1016085, mosquitto/trunk/mosquitto.service) =================================================================== --- mosquitto.service (rev 0) +++ mosquitto.service 2021-09-15 21:04:57 UTC (rev 1016086) @@ -0,0 +1,18 @@ +[Unit] +Description=Mosquitto MQTT Broker daemon +Requires=network.target + +[Service] +User=mosquitto +ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure + +NoNewPrivileges=yes +ProtectSystem=full +ProtectHome=true +PrivateTmp=true +PrivateDevices=true + +[Install] +WantedBy=multi-user.target Deleted: sysusers_mosquitto.conf =================================================================== --- sysusers_mosquitto.conf 2021-09-15 21:04:46 UTC (rev 1016085) +++ sysusers_mosquitto.conf 2021-09-15 21:04:57 UTC (rev 1016086) @@ -1 +0,0 @@ -u mosquitto - "Mosquitto MQTT Broker" /var/empty Copied: mosquitto/repos/community-x86_64/sysusers_mosquitto.conf (from rev 1016085, mosquitto/trunk/sysusers_mosquitto.conf) =================================================================== --- sysusers_mosquitto.conf (rev 0) +++ sysusers_mosquitto.conf 2021-09-15 21:04:57 UTC (rev 1016086) @@ -0,0 +1 @@ +u mosquitto - "Mosquitto MQTT Broker" /var/empty