Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 23:04:51 +0300 (MSK)
From:      "Boris B. Samorodov" <bsam@ipt.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89468: [patch] comms/gammu: update to new release version 1.03.0
Message-ID:  <200511232004.jANK4p2q042879@mi.ipt.ru>
Resent-Message-ID: <200511232010.jANKALCG001526@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89468
>Category:       ports
>Synopsis:       [patch] comms/gammu: update to new release version 1.03.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 23 20:10:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Boris B. Samorodov
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD mi.ipt.ru 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Nov 2 17:58:38 MSK 2005 bsam@mi.ipt.ru:/usr/obj/usr/src/sys/PROBA1 i386

>Description:
	New stable version 1.03.0 of comms/gammu is released. Changes since
	1.02.0 (many, actually there were four sub-releases):
	http://www.mwiacek.com/zips/gsm/gammu/changelog
>How-To-Repeat:
>Fix:
	The patch is relative the port:
	# cd /usr/ports/comms
	# patch -p0 < _the_patch_
	<delete gammu/*.orig gammu/files/*.orig files>

--- gammu.patch begins here ---
diff -ruN gammu.orig/Makefile gammu/Makefile
--- gammu.orig/Makefile	Thu Nov 17 09:36:04 2005
+++ gammu/Makefile	Wed Nov 23 22:06:42 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gammu
-PORTVERSION=	1.02.0
-PORTREVISION=	1
+PORTVERSION=	1.03.0
 CATEGORIES=	comms
 MASTER_SITES=	http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/
 
diff -ruN gammu.orig/distinfo gammu/distinfo
--- gammu.orig/distinfo	Wed Sep 21 09:54:34 2005
+++ gammu/distinfo	Wed Nov 23 22:07:24 2005
@@ -1,2 +1,3 @@
-MD5 (gammu-1.02.0.tar.gz) = f8d0b2c6cc045891b6d8f0021246a464
-SIZE (gammu-1.02.0.tar.gz) = 906417
+MD5 (gammu-1.03.0.tar.gz) = 1e9175547c27bf883f899ef8f4db1651
+SHA256 (gammu-1.03.0.tar.gz) = 524eba093fef653043081558b94c7ec38b26b9231e37178ca76b55d3bff6754c
+SIZE (gammu-1.03.0.tar.gz) = 915678
diff -ruN gammu.orig/files/patch-bluetooth gammu/files/patch-bluetooth
--- gammu.orig/files/patch-bluetooth	Tue Jul 26 23:41:29 2005
+++ gammu/files/patch-bluetooth	Wed Nov 23 22:12:56 2005
@@ -1,6 +1,5 @@
-diff -ru ../gammu-1.01.0.orig/common/device/bluetoth/bluez.c common/device/bluetoth/bluez.c
---- ../gammu-1.01.0.orig/common/device/bluetoth/bluez.c	Thu Mar 10 10:35:58 2005
-+++ common/device/bluetoth/bluez.c	Sat Jul  9 12:46:07 2005
+--- common/device/bluetoth/bluez.c.orig	Wed Sep 14 21:47:08 2005
++++ common/device/bluetoth/bluez.c	Wed Nov 23 22:11:16 2005
 @@ -23,6 +23,8 @@
  #ifdef GSM_ENABLE_BLUETOOTHDEVICE
  #ifdef GSM_ENABLE_BLUEZ
@@ -10,7 +9,7 @@
  #include <stdlib.h>
  #include <stdio.h>
  #include <fcntl.h>
-@@ -31,10 +33,7 @@
+@@ -31,11 +33,7 @@
  #include <sys/socket.h>
  #include <sys/time.h>
  #include <unistd.h>
@@ -18,11 +17,12 @@
 -#include <bluetooth/rfcomm.h>
 -#include <bluetooth/sdp.h>
 -#include <bluetooth/sdp_lib.h>
+-#include <bluetooth/hci_lib.h>
 +#include <bluetooth.h>
  
  #include "../../gsmcomon.h"
  #include "../devfunc.h"
-@@ -43,21 +42,21 @@
+@@ -44,21 +42,21 @@
  GSM_Error bluetooth_connect(GSM_StateMachine *s, int port, char *device)
  {
  	GSM_Device_BlueToothData 	*d = &s->Device.Data.BlueTooth;
@@ -49,7 +49,7 @@
  
  	if (bind(fd, (struct sockaddr *)&laddr, sizeof(laddr)) < 0) {
  		dbgprintf("Can't bind socket\n");
-@@ -66,9 +65,9 @@
+@@ -67,9 +65,9 @@
  	}
  
  	str2ba(device, &bdaddr);
diff -ruN gammu.orig/files/patch-cfg-Makefile.glo gammu/files/patch-cfg-Makefile.glo
--- gammu.orig/files/patch-cfg-Makefile.glo	Wed Sep 21 09:54:34 2005
+++ gammu/files/patch-cfg-Makefile.glo	Wed Nov 23 22:17:29 2005
@@ -9,15 +9,6 @@
  
  $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
  	@echo Linking gammu
-@@ -136,7 +136,7 @@
- 
- $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR): $(COMMON)
- 	@echo Linking libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
--	@$(CC) $(LDLIBS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(COMMON)
-+	@$(CC) $(LDLIBS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(COMMON)
- 	@$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR)
- 	@$(LN) -s libGammu.so.$(SONAME_MAJOR) $(TOPDIR)/common/libGammu.so
- 
 @@ -225,12 +225,14 @@
  	@$(INSTALL) -m 0644 $(TOPDIR)/changelog $(DESTDIR)$(INSTALL_DOC_DIR)
  	@$(INSTALL) -m 0644 $(TOPDIR)/readme.txt $(DESTDIR)$(INSTALL_DOC_DIR)
--- gammu.patch ends here ---


WBR
-- 
bsam

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511232004.jANK4p2q042879>