summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-08-23 11:43:58 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-08-23 11:43:58 -0500
commita77a551daa6f26572780ac14b944eb9901c2a178 (patch)
treedd28b097024e63e41bc4a39508503d564ecfb80c /pcr
parent8c9d16dca525b75bd33b368ff24e1f469db6157a (diff)
Removing mosquitto: This package is in [community] repo
Diffstat (limited to 'pcr')
-rw-r--r--pcr/mosquitto/PKGBUILD46
-rw-r--r--pcr/mosquitto/mosquitto.install17
-rw-r--r--pcr/mosquitto/mosquitto.service16
-rw-r--r--pcr/mosquitto/usr_move.patch21
4 files changed, 0 insertions, 100 deletions
diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD
deleted file mode 100644
index 046767dea..000000000
--- a/pcr/mosquitto/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# This is the PKGBUILD for mosquitto, an MQTT broker and example clients
-
-# Maintainer (Arch): Tomáš Mládek <tmladek{at}inventati{dt}org>
-# Contributor (Arch): Dan Anderson <dan-anderson at cox dptnet>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=mosquitto
-pkgver=1.4.8
-pkgrel=1
-pkgdesc="An Open Source MQTT v3.1 Broker"
-arch=('i686' 'x86_64' 'armv7h')
-url="http://mosquitto.org/"
-depends=('openssl' 'c-ares')
-makedepends=('python' 'docbook-xsl' 'c-ares')
-conflicts=('mosquitto-hg')
-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=('d96eb5610e57cc3e273f4527d3f54358ab7711459941a9e64bc4d0a85c2acfda'
- 'SKIP'
- 'b09c9852b5b438bad8dd54b3ac665bb0d05d1a9e4daf8c920956457c83622b64'
- '09b8a17fc59f36f40ead4644fffc95458a9255c32d4848f39ceca05925dcc95b'
- 'c436bcc5a61d923ab36d5b3f24e5f628bf18ef14c2f351633d58ca983b5f655c')
-validpgpkeys=('A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -p1 < ../usr_move.patch
-
- make
-}
-
-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"
- echo 'pid_file /run/mosquitto.pid' >> "$pkgdir/etc/mosquitto/mosquitto.conf.example"
-
- # license files
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
diff --git a/pcr/mosquitto/mosquitto.install b/pcr/mosquitto/mosquitto.install
deleted file mode 100644
index ab99d1d0f..000000000
--- a/pcr/mosquitto/mosquitto.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
- 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() {
- post_install $1
- echo "You may want to remove mosquitto user and group"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/mosquitto/mosquitto.service b/pcr/mosquitto/mosquitto.service
deleted file mode 100644
index 9a0a7eca8..000000000
--- a/pcr/mosquitto/mosquitto.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Mosquitto MQTT Broker daemon
-ConditionPathExists=/etc/mosquitto/mosquitto.conf
-Requires=network.target
-
-[Service]
-Type=forking
-ExecStartPre=/usr/bin/rm -f /run/mosquitto.pid
-ExecStart=/usr/bin/mosquitto -c /etc/mosquitto/mosquitto.conf -d
-ExecReload=/bin/kill -HUP $MAINPID
-PIDFile=/run/mosquitto.pid
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/pcr/mosquitto/usr_move.patch b/pcr/mosquitto/usr_move.patch
deleted file mode 100644
index 4a5bb2e13..000000000
--- a/pcr/mosquitto/usr_move.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/src/Makefile 2015-02-18 02:44:09.000000000 +0100
-+++ a/src/Makefile 2015-02-20 17:15:30.180477359 +0100
-@@ -102,15 +102,15 @@
- ${CROSS_COMPILE}${CC} $(CFLAGS) ${CPPFLAGS} -c $< -o $@
-
- install : all
-- $(INSTALL) -d ${DESTDIR}$(prefix)/sbin
-- $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} mosquitto ${DESTDIR}${prefix}/sbin/mosquitto
-+ $(INSTALL) -d ${DESTDIR}$(prefix)/bin
-+ $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} mosquitto ${DESTDIR}${prefix}/bin/mosquitto
- $(INSTALL) mosquitto_plugin.h ${DESTDIR}${prefix}/include/mosquitto_plugin.h
- ifeq ($(WITH_TLS),yes)
- $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} 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
-