aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosquitto
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-06 10:34:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-06 10:34:31 +0000
commit7fff08868f2d95ac1902e92145ad01c7d136b88a (patch)
treefbf406ac895ccfa17284e4c99001f23e6e9ea373 /main/mosquitto
parent6763782d6d859364421c60bd0cf5ca0e2654d369 (diff)
downloadaports-7fff08868f2d95ac1902e92145ad01c7d136b88a.tar.bz2
aports-7fff08868f2d95ac1902e92145ad01c7d136b88a.tar.xz
main/mosquitto: upgrade to 1.4
Diffstat (limited to 'main/mosquitto')
-rw-r--r--main/mosquitto/APKBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/main/mosquitto/APKBUILD b/main/mosquitto/APKBUILD
index 78c6c8464a..da860435b9 100644
--- a/main/mosquitto/APKBUILD
+++ b/main/mosquitto/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mosquitto
-pkgver=1.3.4
+pkgver=1.4
pkgrel=0
pkgdesc="An Open Source MQTT v3.1 Broker"
url="http://mosquitto.org/"
@@ -8,9 +8,9 @@ arch="all"
license="BSD"
depends=""
depends_dev=""
-makedepends="$depends_dev openssl-dev python-dev c-ares-dev"
+makedepends="$depends_dev openssl-dev c-ares-dev util-linux-dev"
install="$pkgname.pre-install"
-subpackages="$pkgname-dev $pkgname-doc py-$pkgname:_py $pkgname-libs++:_pp
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs++:_pp
$pkgname-libs $pkgname-clients"
replaces="mosquitto-utils"
source="http://mosquitto.org/files/source/mosquitto-$pkgver.tar.gz
@@ -29,7 +29,7 @@ prepare() {
sed -i "s|prefix=/usr/local|prefix=/usr|" config.mk
# dont strip
sed -i -e "s|(INSTALL) -s|(INSTALL)|g" \
- -e 's|--strip-program=$(STRIP)||' \
+ -e 's|--strip-program=${CROSS_COMPILE}${STRIP}||' \
*/Makefile */*/Makefile
}
@@ -49,13 +49,6 @@ package() {
install -Dm755 "$srcdir"/mosquitto.initd "$pkgdir"/etc/init.d/mosquitto
}
-_py() {
- pkgdesc="Python binding to mosquitto"
- replaces=
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
-}
-
_pp() {
pkgdesc="C++ wrapper for libmosquitto"
replaces=
@@ -70,9 +63,9 @@ clients() {
mv "$pkgdir"/usr/bin/mosquitto_[ps]ub "$subpkgdir"/usr/bin/
}
-md5sums="9d729849efd74c6e3eee17a4a002e1e9 mosquitto-1.3.4.tar.gz
+md5sums="cd879f5964311501ba8e2275add71484 mosquitto-1.4.tar.gz
8b5822b6c06148183cd33319f68d54bd mosquitto.initd"
-sha256sums="0a3982d6b875a458909c8828731da04772035468700fa7eb2f0885f4bd6d0dbc mosquitto-1.3.4.tar.gz
+sha256sums="591f3adcb6ed92c01f7ace1c878af728b797fe836892535620aa6106f42dbcc6 mosquitto-1.4.tar.gz
8a3bdbf100995803e9e595f3893bdd6e285e762b88e5d11f2a2f228a51ca654f mosquitto.initd"
-sha512sums="4b1c21e11ce5468c6d96fce9f500a39d99d1b2b1cbd0fbfc1438281a085f3cc903c3a7bdb761a8219bcb3941f5c637f56102231ea302b0ac5f25466fd2f21637 mosquitto-1.3.4.tar.gz
+sha512sums="6cb445334e1839e87feb89dac73cc6bb471b9d30b5978181d9c39bf5a4ceade3fd1f4db6601fe760d2629ec92679e762dcf2fa10da00e8321dcfc5d218d7369d mosquitto-1.4.tar.gz
d883da1414000a1dc335df1d9f9087c3a9ca594bdb7927f7a7e97866b467077830acb02833c70c6462b86feea24951e069708b5305f07b50bd724dd2f78a196a mosquitto.initd"