Subject: [alpine-aports] [PATCH 1/7] community/libmbim: update to 1.6.0

From: Stuart Cardall <[email-masked]>
Date: Mon, 22 Aug 2016 05:15:58 +0000

---
 community/libmbim/APKBUILD            |  8 ++++----
 community/modemmanager/no-XCASE.patch | 35 -----------------------------------
 2 files changed, 4 insertions(+), 39 deletions(-)
 delete mode 100644 community/modemmanager/no-XCASE.patch

diff --git a/community/libmbim/APKBUILD b/community/libmbim/APKBUILD
index 313c0c6..0066469 100644
--- a/community/libmbim/APKBUILD
+++ b/community/libmbim/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Stuart Cardall <[email-masked]>
 # Maintainer: Stuart Cardall <[email-masked]>
 pkgname=libmbim
-pkgver=1.12.4
+pkgver=1.6.0
 pkgrel=0
 pkgdesc="MBIM modem protocol helper library"
 url="http://www.freedesktop.org/wiki/Software/libmbim"
@@ -30,6 +30,6 @@ package() {
 	make DESTDIR="$pkgdir" install
 }
 
-md5sums="4561bc490fcd439aa805c1692b25cb61  libmbim-1.12.4.tar.xz"
-sha256sums="7bd9af154e88ee1cccaf2fedd05e0f5cb82e3359ab6ad2a75cfec98bf57f973a  libmbim-1.12.4.tar.xz"
-sha512sums="74b0290eba3c83c13d1a8a07c1eaa979eae79cfadccd1b7acef0729c9d4c90e721dee9503a7cf69dd9c13a11c4a876716000cf78c22017d7e2d4e2b7906a3fbf  libmbim-1.12.4.tar.xz"
+md5sums="029d81eeec5575ea0c47f93028ec826d  libmbim-1.6.0.tar.xz"
+sha256sums="e0efbdaf2aeddec033b4c7c5d0f7934c91ce535c5c9f0cadf1e67527d10ab082  libmbim-1.6.0.tar.xz"
+sha512sums="60c20da65cb5e0e5e3d73434c8b7960ebb7138d6b004d4e6223ba63ea95fdc97b35697a329f12a81033c39c36efcbb3bcb5d8ae813a569dc6e6ca928a1cd79dd  libmbim-1.6.0.tar.xz"
diff --git a/community/modemmanager/no-XCASE.patch b/community/modemmanager/no-XCASE.patch
deleted file mode 100644
index 1de41f7..0000000
--- a/community/modemmanager/no-XCASE.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-## http://man7.org/linux/man-pages/man3/termios.3.html
-## XCASE  (not in POSIX; not supported under Linux)
---- ModemManager-1.4.6/libqcdm/src/com.c
-+++ ModemManager-1.4.6.new/libqcdm/src/com.c
-@@ -39,7 +39,7 @@
-     stbuf.c_iflag &= ~(HUPCL | IUTF8 | IUCLC | ISTRIP | IXON | IXOFF | IXANY | ICRNL);
-     stbuf.c_oflag &= ~(OPOST | OCRNL | ONLCR | OLCUC | ONLRET);
-     stbuf.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO | ECHOE | ECHOK | ECHONL);
--    stbuf.c_lflag &= ~(NOFLSH | XCASE | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE);
-+    stbuf.c_lflag &= ~(NOFLSH | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE);
-     stbuf.c_cc[VMIN] = 1;
-     stbuf.c_cc[VTIME] = 0;
-     stbuf.c_cc[VEOF] = 1;
---- ModemManager-1.4.6/libwmc/src/com.c
-+++ ModemManager-1.4.6.new/libwmc/src/com.c
-@@ -39,7 +39,7 @@
-     stbuf.c_iflag &= ~(HUPCL | IUTF8 | IUCLC | ISTRIP | IXON | IXOFF | IXANY | ICRNL);
-     stbuf.c_oflag &= ~(OPOST | OCRNL | ONLCR | OLCUC | ONLRET);
-     stbuf.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO | ECHOE | ECHOK | ECHONL);
--    stbuf.c_lflag &= ~(NOFLSH | XCASE | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE);
-+    stbuf.c_lflag &= ~(NOFLSH | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE);
-     stbuf.c_cc[VMIN] = 1;
-     stbuf.c_cc[VTIME] = 0;
-     stbuf.c_cc[VEOF] = 1;
---- ModemManager-1.4.6/src/mm-port-serial.c
-+++ ModemManager-1.4.6.new/src/mm-port-serial.c
-@@ -455,7 +455,7 @@
- 
-     stbuf.c_iflag &= ~(IGNCR | ICRNL | IUCLC | INPCK | IXON | IXANY );
-     stbuf.c_oflag &= ~(OPOST | OLCUC | OCRNL | ONLCR | ONLRET);
--    stbuf.c_lflag &= ~(ICANON | XCASE | ECHO | ECHOE | ECHONL);
-+    stbuf.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHONL);
-     stbuf.c_lflag &= ~(ECHO | ECHOE);
-     stbuf.c_cc[VMIN] = 1;
-     stbuf.c_cc[VTIME] = 0;
-- 
2.9.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Thu, 22 Sep 2016 12:43:40 +0200

On Mon, 22 Aug 2016 05:15:58 +0000

> +++ b/community/libmbim/APKBUILD

This looks like a downgrade. Is this intentional? if so, why?

why was the reason for the downgrade not mentioned in commit message?

why says the commit message "upgrade" when its "downgrade"?

Thanks!

-nc

---

---

From: Stuart Cardall <[email-masked]>
Date: Thu, 22 Sep 2016 14:17:37 +0100

Unintentional - fixed & applied on github:

https://github.com/alpinelinux/aports/pull/277

Stuart.