Date: Thu, 15 Oct 2009 20:21:51 -0300 (BRT) From: Sylvio Cesar <scjamorim@bsd.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Cc: miwi@FreeBSD.org Subject: ports/139659: [NEW PORT] comms/gammu-devel: GNU All Mobile Management Utilities Message-ID: <20091015232152.09B4B3F416D@fbsd.scjamorim.org> Resent-Message-ID: <200910152330.n9FNU41v017802@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139659 >Category: ports >Synopsis: [NEW PORT] comms/gammu-devel: GNU All Mobile Management Utilities >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 15 23:30:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylvio Cesar >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD fbsd.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 21:33:17 BRT 2009 >Description: You can see the log in my tinderbox: AMD64 http://www.scjamorim.org/Home/gammu-devel-1.26.90-6amd64.log http://www.scjamorim.org/Home/gammu-devel-1.26.90-7amd64.log http://www.scjamorim.org/Home/gammu-devel-1.26.90-8amd64.log http://www.scjamorim.org/Home/gammu-devel-1.26.90-9amd64.log Gammu (Gnu All Mobile Management Utilities) 1.26.90 Gammu allows you to manage your mobile phone directly from your PC. It has many features, such as SMS handling, Calendar, Java support, ringtones, pictures, and many, many other good things. WWW: http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page - Kirill Bezzubets <kirill@solaris.ru> Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- gammu-devel-1.26.90.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gammu-devel # gammu-devel/pkg-descr # gammu-devel/Makefile # gammu-devel/pkg-plist # gammu-devel/files # gammu-devel/files/patch-CMakeLists.txt # gammu-devel/files/patch-bluetooth # gammu-devel/files/patch-common.device.devfunc.c # gammu-devel/files/patch-common.service.gsmmisc.c # gammu-devel/distinfo # echo c - gammu-devel mkdir -p gammu-devel > /dev/null 2>&1 echo x - gammu-devel/pkg-descr sed 's/^X//' >gammu-devel/pkg-descr << '2b372163b747316e432a6337e7f3d755' XGammu (Gnu All Mobile Management Utilities) 1.26.90 X XGammu allows you to manage your mobile phone directly from Xyour PC. It has many features, such as SMS handling, Calendar, XJava support, ringtones, pictures, and many, many other good Xthings. X XWWW: http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page X X- Kirill Bezzubets X<kirill@solaris.ru> 2b372163b747316e432a6337e7f3d755 echo x - gammu-devel/Makefile sed 's/^X//' >gammu-devel/Makefile << 'f886f9fe04bd3ce5708d8ef0e389d24f' X# New ports collection makefile for: gammu-devel X# Date created: 2009-10-15 X# Whom: Sylvio Cesar <scjamorim@bsd.com.br> X# X# $FreeBSD$ X# X XPORTNAME= gammu XPORTVERSION= 1.26.90 XCATEGORIES= comms XMASTER_SITES= http://dl.cihar.com/gammu/releases/ \ X http://dl.cihar.com.nyud.net/gammu/releases/ XPKGNAMESUFFIX= -devel X XMAINTAINER= scjamorim@bsd.com.br XCOMMENT= GNU All Mobile Management Utilities X XRUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog X XCMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata X XUSE_CMAKE= yes XUSE_GNOME= pkgconfig X X.if defined(WITH_PYTHON_GAMMU) XUSE_PYTHON= YES XPLIST_SUB= WITH_PYTHON_GAMMU="" X.else XPLIST_SUB= WITH_PYTHON_GAMMU="@comment " X.endif X XPORTDOCS= * X X.if defined(NOPORTDOCS) XCMAKE_ARGS+= -DINSTALL_DOC=OFF -DINSTALL_PHP_EXAMPLES=OFF -DINSTALL_MEDIA=OFF \ X -DINSTALL_GNAPPLET=OFF X.else XMAN1= gammu.1 gammu-config.1 jadmaker.1 gammu-smsd.1 gammu-smsd-inject.1 \ X gammu-smsd-monitor.1 XMAN5= gammu-smsdrc.5 gammurc.5 XMAN7= gammu-smsd-files.7 gammu-smsd-mysql.7 gammu-smsd-pgsql.7 \ X gammu-smsd-dbi.7 gammu-smsd-tables.7 X.endif X X.include <bsd.port.pre.mk> X X.if (${ARCH} == "amd64" || ${ARCH} == "sparc64") XUSE_GCC= 4.3 X.endif X Xpost-patch: X @${REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config X.if ${OSVERSION} < 700042 X @${REINPLACE_CMD} -e 's@ -Wno-pointer-sign@@g' ${WRKSRC}/CMakeLists.txt X.endif X X.include <bsd.port.post.mk> f886f9fe04bd3ce5708d8ef0e389d24f echo x - gammu-devel/pkg-plist sed 's/^X//' >gammu-devel/pkg-plist << '21bbafaf664527130e444d5c3a543e3a' Xbin/gammu Xbin/gammu-config Xbin/gammu-smsd Xbin/gammu-smsd-inject Xbin/gammu-smsd-monitor Xbin/jadmaker Xinclude/gammu/gammu-backup.h Xinclude/gammu/gammu-bitmap.h Xinclude/gammu/gammu-calendar.h Xinclude/gammu/gammu-call.h Xinclude/gammu/gammu-callback.h Xinclude/gammu/gammu-category.h Xinclude/gammu/gammu-config.h Xinclude/gammu/gammu-datetime.h Xinclude/gammu/gammu-debug.h Xinclude/gammu/gammu-error.h Xinclude/gammu/gammu-file.h Xinclude/gammu/gammu-info.h Xinclude/gammu/gammu-inifile.h Xinclude/gammu/gammu-keys.h Xinclude/gammu/gammu-limits.h Xinclude/gammu/gammu-memory.h Xinclude/gammu/gammu-message.h Xinclude/gammu/gammu-misc.h Xinclude/gammu/gammu-nokia.h Xinclude/gammu/gammu-ringtone.h Xinclude/gammu/gammu-security.h Xinclude/gammu/gammu-settings.h Xinclude/gammu/gammu-smsd.h Xinclude/gammu/gammu-statemachine.h Xinclude/gammu/gammu-types.h Xinclude/gammu/gammu-unicode.h Xinclude/gammu/gammu-wap.h Xinclude/gammu/gammu.h Xlib/libGammu.a Xlib/libgsmsd.a Xlibdata/pkgconfig/gammu.pc Xlibdata/pkgconfig/gammu-smsd.pc X%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/__init__.py X%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/_gammu.so X%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Data.py X%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Worker.py X@dirrm include/gammu X%%WITH_PYTHON_GAMMU%%@dirrm %%PYTHON_SITELIBDIR%%/gammu 21bbafaf664527130e444d5c3a543e3a echo c - gammu-devel/files mkdir -p gammu-devel/files > /dev/null 2>&1 echo x - gammu-devel/files/patch-CMakeLists.txt sed 's/^X//' >gammu-devel/files/patch-CMakeLists.txt << '170bbeb4883fe882f0082a3fd7bb24df' X--- CMakeLists.txt.orig 2009-02-25 19:46:07.000000000 +0300 X+++ CMakeLists.txt 2009-03-11 13:04:48.000000000 +0300 X@@ -547,7 +547,7 @@ X set (INSTALL_DOC_DIR "share/doc/gammu" CACHE STRING "Path for documentation installation") X mark_as_advanced (INSTALL_DOC_DIR) X X-set (INSTALL_MAN_DIR "share/man" CACHE STRING "Path for man pages installation") X+set (INSTALL_MAN_DIR "man" CACHE STRING "Path for man pages installation") X mark_as_advanced (INSTALL_MAN_DIR) X X # Phone and protocol configuration 170bbeb4883fe882f0082a3fd7bb24df echo x - gammu-devel/files/patch-bluetooth sed 's/^X//' >gammu-devel/files/patch-bluetooth << 'f5ee1382b27405d3a6a69073a8c871bb' X--- libgammu/device/bluetoth/bluez.c.orig 2007-03-10 19:47:59.000000000 +0300 X+++ libgammu/device/bluetoth/bluez.c 2007-06-29 20:00:48.000000000 +0400 X@@ -23,6 +23,8 @@ X #ifdef GSM_ENABLE_BLUETOOTHDEVICE X #ifdef GSM_ENABLE_BLUEZ X X+#define BDADDR_ANY NG_HCI_BDADDR_ANY X+ X #include <stdlib.h> X #include <stdio.h> X #include <fcntl.h> X@@ -31,11 +33,7 @@ X #include <sys/socket.h> X #include <sys/time.h> X #include <unistd.h> X-#include <bluetooth/bluetooth.h> X-#include <bluetooth/rfcomm.h> X-#include <bluetooth/sdp.h> X-#include <bluetooth/sdp_lib.h> X-#include <bluetooth/hci_lib.h> X+#include <bluetooth.h> X X #include "../../gsmcomon.h" X #include "../devfunc.h" X@@ -44,7 +42,7 @@ X GSM_Error bluetooth_connect(GSM_StateMachine *s, int port, char *device) X { X GSM_Device_BlueToothData *d = &s->Device.Data.BlueTooth; X- struct sockaddr_rc laddr, raddr; X+ struct sockaddr_rfcomm laddr, raddr; X bdaddr_t bdaddr; X int fd; X X@@ -53,15 +51,15 @@ X X smprintf(s, "Connecting to RF channel %i\n",port); X X- fd = socket(PF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM); X+ fd = socket(PF_BLUETOOTH, SOCK_STREAM, BLUETOOTH_PROTO_RFCOMM); X if (fd < 0) { X smprintf(s, "Can't create socket\n"); X return ERR_DEVICENODRIVER; X } X X- bacpy(&laddr.rc_bdaddr, BDADDR_ANY); X- laddr.rc_family = AF_BLUETOOTH; X- laddr.rc_channel = 0; X+ bacpy(&laddr.rfcomm_bdaddr, BDADDR_ANY); X+ laddr.rfcomm_family = AF_BLUETOOTH; X+ laddr.rfcomm_channel = 0; X X if (bind(fd, (struct sockaddr *)&laddr, sizeof(laddr)) < 0) { X dbgprintf("Can't bind socket\n"); X@@ -70,9 +68,9 @@ X } X X str2ba(device, &bdaddr); X- bacpy(&raddr.rc_bdaddr, &bdaddr); X- raddr.rc_family = AF_BLUETOOTH; X- raddr.rc_channel = port; X+ bacpy(&raddr.rfcomm_bdaddr, &bdaddr); X+ raddr.rfcomm_family = AF_BLUETOOTH; X+ raddr.rfcomm_channel = port; X X if (connect(fd, (struct sockaddr *)&raddr, sizeof(raddr)) < 0) { X dbgprintf("Can't connect\n"); f5ee1382b27405d3a6a69073a8c871bb echo x - gammu-devel/files/patch-common.device.devfunc.c sed 's/^X//' >gammu-devel/files/patch-common.device.devfunc.c << 'c7f6802382e427a0c0414362f269d6fe' X--- libgammu/device/devfunc.c.orig Fri Feb 23 23:50:01 2007 X+++ libgammu/device/devfunc.c Tue Apr 10 23:46:39 2007 X@@ -19,6 +19,8 @@ X #include <string.h> X #include <fcntl.h> X #include <stdlib.h> X+#include <sys/stat.h> X+#include <sys/socket.h> X #ifdef WIN32 X # include <io.h> X #else c7f6802382e427a0c0414362f269d6fe echo x - gammu-devel/files/patch-common.service.gsmmisc.c sed 's/^X//' >gammu-devel/files/patch-common.service.gsmmisc.c << 'fe47daf8f75e99203110a0f2dda84c5f' X--- libgammu/service/gsmmisc.c.orig Fri Dec 30 18:18:47 2005 X+++ libgammu/service/gsmmisc.c Fri Dec 30 18:19:07 2005 X@@ -3,6 +3,7 @@ X #include <string.h> X #include <stdlib.h> X #include <sys/stat.h> X+#include <sys/socket.h> X X #include <gammu-keys.h> X #include <gammu-debug.h> fe47daf8f75e99203110a0f2dda84c5f echo x - gammu-devel/distinfo sed 's/^X//' >gammu-devel/distinfo << '01ccc8c9b6776c6888d9c2c30167fe03' XMD5 (gammu-1.26.90.tar.gz) = 62e53f3fd7da4d820d3c17d6de66bb65 XSHA256 (gammu-1.26.90.tar.gz) = 83318d46fc42893009838969231202487aba1f295736970d4acc404b945b3268 XSIZE (gammu-1.26.90.tar.gz) = 3446832 01ccc8c9b6776c6888d9c2c30167fe03 exit --- gammu-devel-1.26.90.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091015232152.09B4B3F416D>