pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/comms/gammu
Module Name: pkgsrc
Committed By: manu
Date: Sat Feb 15 02:19:49 UTC 2020
Modified Files:
pkgsrc/comms/gammu: Makefile PLIST distinfo
Added Files:
pkgsrc/comms/gammu/patches: patch-libgammu_gsmstate.c
Log Message:
Make sure power is enabled on startup. Useful for D-Link DWM-157
Submitted upstream as https://github.com/gammu/gammu/pull/516
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/comms/gammu/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/comms/gammu/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/comms/gammu/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/comms/gammu/patches/patch-libgammu_gsmstate.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/gammu/Makefile
diff -u pkgsrc/comms/gammu/Makefile:1.40 pkgsrc/comms/gammu/Makefile:1.41
--- pkgsrc/comms/gammu/Makefile:1.40 Sat Jan 18 21:48:54 2020
+++ pkgsrc/comms/gammu/Makefile Sat Feb 15 02:19:49 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.40 2020/01/18 21:48:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.41 2020/02/15 02:19:49 manu Exp $
#
DISTNAME= gammu-1.41.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= comms
MASTER_SITES= http://dl.cihar.com/gammu/releases/
EXTRACT_SUFX= .tar.bz2
Index: pkgsrc/comms/gammu/PLIST
diff -u pkgsrc/comms/gammu/PLIST:1.11 pkgsrc/comms/gammu/PLIST:1.12
--- pkgsrc/comms/gammu/PLIST:1.11 Mon Jan 13 11:17:58 2020
+++ pkgsrc/comms/gammu/PLIST Sat Feb 15 02:19:49 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2020/01/13 11:17:58 leot Exp $
+@comment $NetBSD: PLIST,v 1.12 2020/02/15 02:19:49 manu Exp $
bin/gammu
bin/gammu-config
bin/gammu-smsd
Index: pkgsrc/comms/gammu/distinfo
diff -u pkgsrc/comms/gammu/distinfo:1.20 pkgsrc/comms/gammu/distinfo:1.21
--- pkgsrc/comms/gammu/distinfo:1.20 Mon Jan 13 11:17:58 2020
+++ pkgsrc/comms/gammu/distinfo Sat Feb 15 02:19:49 2020
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.20 2020/01/13 11:17:58 leot Exp $
+$NetBSD: distinfo,v 1.21 2020/02/15 02:19:49 manu Exp $
SHA1 (gammu-1.41.0.tar.bz2) = 74d28c3ae959d0498adf94bbbc7304cff317ea74
RMD160 (gammu-1.41.0.tar.bz2) = 49681b5249cf936ce1a3533b9ef6f72c79701535
SHA512 (gammu-1.41.0.tar.bz2) = f2c2534d3827216bf015607431938e0cf2524d5f2c670a5f76bb5ab7928962d22de981bbbf2dfa7af833c7903b60a775242048210bac6c35b1a9ee7668db4543
Size (gammu-1.41.0.tar.bz2) = 2167233 bytes
SHA1 (patch-contrib_smscgi_sms__cgi.c) = 39598119eae4fd27d6d1844ca4a846fc79b126c1
+SHA1 (patch-libgammu_gsmstate.c) = ac870d432d949388ae790f35dd00ac0401e23527
SHA1 (patch-libgammu_phone_at_at-sms.c) = fb9dd703f822f20efa35303b15faba482e39538c
SHA1 (patch-smsd_services_pgsql.c) = 35d30183851c6d6b14e0450b59a56c858889e701
SHA1 (patch-smsd_services_sql.c) = 62a2c113f18d767360a598284ac1083b9abb1f29
Added files:
Index: pkgsrc/comms/gammu/patches/patch-libgammu_gsmstate.c
diff -u /dev/null pkgsrc/comms/gammu/patches/patch-libgammu_gsmstate.c:1.1
--- /dev/null Sat Feb 15 02:19:49 2020
+++ pkgsrc/comms/gammu/patches/patch-libgammu_gsmstate.c Sat Feb 15 02:19:49 2020
@@ -0,0 +1,23 @@
+$NetBSD: patch-libgammu_gsmstate.c,v 1.1 2020/02/15 02:19:49 manu Exp $
+
+Make sure power is enabled on startup. Useful for D-Link DWM-157
+
+From upstream https://github.com/gammu/gammu/pull/516
+
+--- libgammu/gsmstate.c.orig 2019-01-28 16:16:07.000000000 +0100
++++ libgammu/gsmstate.c 2020-02-14 03:16:46.526678044 +0100
+@@ -900,8 +900,14 @@
+ GSM_LogError(s, "Init:Phone->GetFirmware" , error);
+ return error;
+ }
+
++ error=s->Phone.Functions->SetPower(s, 1);
++ if (error != ERR_NONE && error != ERR_NOTSUPPORTED) {
++ GSM_LogError(s, "Init:Phone->SetPower" , error);
++ return error;
++ }
++
+ error=s->Phone.Functions->PostConnect(s);
+ if (error != ERR_NONE && error != ERR_NOTSUPPORTED) {
+ GSM_LogError(s, "Init:Phone->PostConnect" , error);
+ return error;
Home |
Main Index |
Thread Index |
Old Index