aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosquitto
diff options
context:
space:
mode:
authorPedro Filipe <xpecex@outlook.com>2018-09-01 14:10:16 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-04 10:21:04 +0000
commit2c5a2a90f70d074a17202138ad7740165437fb0c (patch)
tree3efbb734893e4477207397b5f1084040916bce0d /main/mosquitto
parent40dbc07c3cd450edd86fef7e1d181d734a1889c8 (diff)
downloadaports-2c5a2a90f70d074a17202138ad7740165437fb0c.tar.bz2
aports-2c5a2a90f70d074a17202138ad7740165437fb0c.tar.xz
main/mosquitto: upgrade to 1.5.1
Diffstat (limited to 'main/mosquitto')
-rw-r--r--main/mosquitto/APKBUILD9
-rw-r--r--main/mosquitto/mosquitto_passwd-flush.patch20
2 files changed, 4 insertions, 25 deletions
diff --git a/main/mosquitto/APKBUILD b/main/mosquitto/APKBUILD
index f9fb6ccc4c..bacc6c1abd 100644
--- a/main/mosquitto/APKBUILD
+++ b/main/mosquitto/APKBUILD
@@ -1,7 +1,8 @@
+# Contributor: Pedro Filipe <xpecex@outlook.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mosquitto
-pkgver=1.4.15
-pkgrel=4
+pkgver=1.5.1
+pkgrel=0
pkgdesc="An Open Source MQTT v3.1 Broker"
url="http://mosquitto.org/"
arch="all"
@@ -18,7 +19,6 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-libs++:_pp $pkgname-openrc
source="http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz
libressl.patch
config.patch
- mosquitto_passwd-flush.patch
mosquitto.initd"
builddir="$srcdir/$pkgname-$pkgver"
@@ -87,8 +87,7 @@ clients() {
mv "$pkgdir"/usr/bin/mosquitto_[ps]ub "$subpkgdir"/usr/bin/
}
-sha512sums="36b06547553cf28af3ca9b728c42fc27e849c4ae84d7964572d430233ab26e2b59eee2a215ac23ddf2d0bef419e7c70e64e2a22c397fadb3e0677314d03f1100 mosquitto-1.4.15.tar.gz
+sha512sums="7b076a977778ca87f9fa4579eb4a6b62b171df746920719e9bd6efce0a4815c15edc9da177669819509184d2b01ed0756be8259adba344df690efe0547fd6741 mosquitto-1.5.1.tar.gz
53859b628f965b77f6e47910c0ceba2f2737b815131ed800dc64a80419e434d25b5ba0938ae645882e9aa5d475d4940c7d35cc6d56f54bc4937a66b32d7db4ad libressl.patch
d5442373ae6ae8bc83eee59b425fbd76e80f905b9fd2bd2ed2a37a7e156fe95a9cf477c9c4dac0975c5fd90e70884de6fb8a16aefcd37b239199d5deae50b7d2 config.patch
-fa38a60cce4444de2b5c017513c978ef9085b3174f2ea901028c862637c1b2f3c02eb467eb8f7ed61b48d5f741f217352a0ae91e35913e6127ca1d910b9517b0 mosquitto_passwd-flush.patch
16f96d8f7f3a8b06e2b2e04d42d7e0d89a931b52277fc017e4802f7a3bc85aff4dd290b1a0c40382ea8f5568d0ceb7319c031d9be916f346d805231a002b0433 mosquitto.initd"
diff --git a/main/mosquitto/mosquitto_passwd-flush.patch b/main/mosquitto/mosquitto_passwd-flush.patch
deleted file mode 100644
index 19288992e1..0000000000
--- a/main/mosquitto/mosquitto_passwd-flush.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/mosquitto_passwd.c b/src/mosquitto_passwd.c
-index ea8c315..5b303c1 100644
---- a/src/mosquitto_passwd.c
-+++ b/src/mosquitto_passwd.c
-@@ -288,6 +288,7 @@ int get_password(char *password, int len)
- char pw1[MAX_BUFFER_LEN], pw2[MAX_BUFFER_LEN];
-
- printf("Password: ");
-+ fflush(stdout);
- if(gets_quiet(pw1, MAX_BUFFER_LEN)){
- fprintf(stderr, "Error: Empty password.\n");
- return 1;
-@@ -295,6 +296,7 @@ int get_password(char *password, int len)
- printf("\n");
-
- printf("Reenter password: ");
-+ fflush(stdout);
- if(gets_quiet(pw2, MAX_BUFFER_LEN)){
- fprintf(stderr, "Error: Empty password.\n");
- return 1;