diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/mosquitto | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/mosquitto')
-rw-r--r-- | pcr/mosquitto/PKGBUILD | 44 | ||||
-rw-r--r-- | pcr/mosquitto/binmerge.patch | 21 | ||||
-rw-r--r-- | pcr/mosquitto/mosquitto.service | 22 |
3 files changed, 0 insertions, 87 deletions
diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD deleted file mode 100644 index 2f765ad13..000000000 --- a/pcr/mosquitto/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# This is the PKGBUILD for mosquitto, an MQTT broker and example clients -# Maintainer: Alexander Rust <mail at alr dot st> -# Contributor: Dan Anderson <dan-anderson at cox dptnet> - -pkgname=mosquitto -pkgver=1.1.3 -pkgrel=3 -pkgdesc="An Open Source MQTT v3.1 Broker" -arch=('i686' 'x86_64' 'arm' 'armv6h' 'mips64el') -url="http://mosquitto.org/" -makedepends=('python') -optdepends=('python: python support') -license=('BSD') -source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc} "$pkgname.service" - "binmerge.patch") -md5sums=('fd0cae17221d778b0a002c31e6c3de9e' - 'SKIP' - '58af79ed48be928f91e5435cda82bb8b' - '27e24b672d63b797f0e026ab85c64c4b') - -prepare() { - cd "$srcdir/$pkgname-$pkgver/src" - patch -N -i ${srcdir}/binmerge.patch -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - make prefix=/usr -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make prefix=/usr DESTDIR="$pkgdir/" install - - # Systemd service file - install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service - - # License files - install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE - install -Dm644 LICENSE-3rd-party.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-3rd-party -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/mosquitto/binmerge.patch b/pcr/mosquitto/binmerge.patch deleted file mode 100644 index d6d79041d..000000000 --- a/pcr/mosquitto/binmerge.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- src/Makefile.orig 2013-06-03 12:23:15.288586121 -0300 -+++ src/Makefile 2013-06-03 12:23:29.455571403 -0300 -@@ -90,15 +90,15 @@ - ${CC} $(CFLAGS) ${CPPFLAGS} -c $< -o $@ - - install : all -- $(INSTALL) -d ${DESTDIR}$(prefix)/sbin -- $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/sbin/mosquitto -+ $(INSTALL) -d ${DESTDIR}$(prefix)/bin -+ $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/bin/mosquitto - $(INSTALL) mosquitto_plugin.h ${DESTDIR}${prefix}/include/mosquitto_plugin.h - ifeq ($(WITH_TLS),yes) - $(INSTALL) -s mosquitto_passwd ${DESTDIR}${prefix}/bin/mosquitto_passwd - endif - - uninstall : -- -rm -f ${DESTDIR}${prefix}/sbin/mosquitto -+ -rm -f ${DESTDIR}${prefix}/bin/mosquitto - -rm -f ${DESTDIR}${prefix}/include/mosquitto_plugin.h - -rm -f ${DESTDIR}${prefix}/bin/mosquitto_passwd - diff --git a/pcr/mosquitto/mosquitto.service b/pcr/mosquitto/mosquitto.service deleted file mode 100644 index 9626cbc45..000000000 --- a/pcr/mosquitto/mosquitto.service +++ /dev/null @@ -1,22 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=Mosquitto MQTT Broker daemon -ConditionPathExists=/etc/mosquitto/mosquitto.conf -Requires=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf -d -ExecStartPre=/usr/bin/rm -f /run/mosquitto.pid -PIDFile=/run/mosquitto.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target - |