diff options
Diffstat (limited to 'comms/gammu-devel')
-rw-r--r-- | comms/gammu-devel/Makefile | 47 | ||||
-rw-r--r-- | comms/gammu-devel/distinfo | 3 | ||||
-rw-r--r-- | comms/gammu-devel/files/patch-bluetooth | 64 | ||||
-rw-r--r-- | comms/gammu-devel/files/patch-cfg-Makefile.glo | 57 | ||||
-rw-r--r-- | comms/gammu-devel/files/patch-common.device.devfunc.c | 11 | ||||
-rw-r--r-- | comms/gammu-devel/files/patch-common.service.gsmmisc.c | 10 | ||||
-rw-r--r-- | comms/gammu-devel/files/patch-configure.in | 79 | ||||
-rw-r--r-- | comms/gammu-devel/pkg-descr | 11 | ||||
-rw-r--r-- | comms/gammu-devel/pkg-plist | 113 |
9 files changed, 0 insertions, 395 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile deleted file mode 100644 index 9ee0c0b21c8e..000000000000 --- a/comms/gammu-devel/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# New ports collection makefile for: gammu -# Date created: 12 december 2003 -# Whom: Kirill Bezzubets <kirill@solaris.ru> -# -# $FreeBSD$ -# - -PORTNAME= gammu -PORTVERSION= 1.09.00 -CATEGORIES= comms -MASTER_SITES= http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/ \ - http://dl.cihar.com/gammu/stable/1_0x/ - -MAINTAINER= bsam@FreeBSD.org -COMMENT= GNU All Mobile Management Utilities - -MAN1= gammu.1 -USE_GMAKE= yes -USE_GNOME= pkgconfig -GNU_CONFIGURE= yes -USE_AUTOTOOLS= autoconf:259:env -USE_LDCONFIG= yes - -PORTDOCS= * - -CONFIGURE_ARGS= --disable-bluerfsearch -CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC" - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= does not compile with gcc 2.95 -.endif - -post-patch: -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|%zd|%d|g' -e 's|%zi|%i|g' \ - ${WRKSRC}/common/phone/at/atgen.c \ - ${WRKSRC}/common/phone/obex/obexgen.c \ - ${WRKSRC}/gammu/depend/nokia/dct3trac/wmx-gsm.c -.endif -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e 's@ installdocs@@g' \ - ${WRKSRC}/cfg/Makefile.glo -.endif - -.include <bsd.port.post.mk> diff --git a/comms/gammu-devel/distinfo b/comms/gammu-devel/distinfo deleted file mode 100644 index 52652a87856b..000000000000 --- a/comms/gammu-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (gammu-1.09.00.tar.gz) = 0d555102bd4d0bc7b4e609abc462fb01 -SHA256 (gammu-1.09.00.tar.gz) = 7746961a708f3b48bd31165b0fc99b051a35be60b49a6c51774fdf13a1c0bc65 -SIZE (gammu-1.09.00.tar.gz) = 1137894 diff --git a/comms/gammu-devel/files/patch-bluetooth b/comms/gammu-devel/files/patch-bluetooth deleted file mode 100644 index c841c156b5de..000000000000 --- a/comms/gammu-devel/files/patch-bluetooth +++ /dev/null @@ -1,64 +0,0 @@ ---- 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 - -+#define BDADDR_ANY NG_HCI_BDADDR_ANY -+ - #include <stdlib.h> - #include <stdio.h> - #include <fcntl.h> -@@ -31,11 +33,7 @@ - #include <sys/socket.h> - #include <sys/time.h> - #include <unistd.h> --#include <bluetooth/bluetooth.h> --#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" -@@ -44,21 +42,21 @@ - GSM_Error bluetooth_connect(GSM_StateMachine *s, int port, char *device) - { - GSM_Device_BlueToothData *d = &s->Device.Data.BlueTooth; -- struct sockaddr_rc laddr, raddr; -+ struct sockaddr_rfcomm laddr, raddr; - bdaddr_t bdaddr; - int fd; - - smprintf(s, "Connecting to RF channel %i\n",port); - -- fd = socket(PF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM); -+ fd = socket(PF_BLUETOOTH, SOCK_STREAM, BLUETOOTH_PROTO_RFCOMM); - if (fd < 0) { - dbgprintf("Can't create socket\n"); - return ERR_DEVICENODRIVER; - } - -- bacpy(&laddr.rc_bdaddr, BDADDR_ANY); -- laddr.rc_family = AF_BLUETOOTH; -- laddr.rc_channel = 0; -+ bacpy(&laddr.rfcomm_bdaddr, BDADDR_ANY); -+ laddr.rfcomm_family = AF_BLUETOOTH; -+ laddr.rfcomm_channel = 0; - - if (bind(fd, (struct sockaddr *)&laddr, sizeof(laddr)) < 0) { - dbgprintf("Can't bind socket\n"); -@@ -67,9 +65,9 @@ - } - - str2ba(device, &bdaddr); -- bacpy(&raddr.rc_bdaddr, &bdaddr); -- raddr.rc_family = AF_BLUETOOTH; -- raddr.rc_channel = port; -+ bacpy(&raddr.rfcomm_bdaddr, &bdaddr); -+ raddr.rfcomm_family = AF_BLUETOOTH; -+ raddr.rfcomm_channel = port; - - if (connect(fd, (struct sockaddr *)&raddr, sizeof(raddr)) < 0) { - dbgprintf("Can't connect\n"); diff --git a/comms/gammu-devel/files/patch-cfg-Makefile.glo b/comms/gammu-devel/files/patch-cfg-Makefile.glo deleted file mode 100644 index c2a88cd1ae03..000000000000 --- a/comms/gammu-devel/files/patch-cfg-Makefile.glo +++ /dev/null @@ -1,57 +0,0 @@ ---- cfg/Makefile.glo.orig Tue Apr 12 10:26:08 2005 -+++ cfg/Makefile.glo Tue Sep 6 08:38:21 2005 -@@ -122,7 +122,7 @@ - @echo Making $< - @$(CC) -c $(CFLAGS) -I$(TOPDIR)/common/ $(CPPFLAGS) $*.c -o $*.o - --all: gammu -+all: gammu shared - - $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU) - @echo Linking gammu -@@ -225,12 +225,14 @@ - @$(INSTALL) -m 0644 $(TOPDIR)/changelog $(DESTDIR)$(INSTALL_DOC_DIR) - @$(INSTALL) -m 0644 $(TOPDIR)/readme.txt $(DESTDIR)$(INSTALL_DOC_DIR) - @$(INSTALL) -m 0644 $(TOPDIR)/copying $(DESTDIR)$(INSTALL_DOC_DIR) -+ -+installman: - @echo Installing man to $(DESTDIR)$(INSTALL_MAN_DIR) - @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_MAN_DIR) - @$(INSTALL) -m 0644 $(TOPDIR)/docs/docs/english/gammu.1 $(DESTDIR)$(INSTALL_MAN_DIR) - @$(RM) $(DESTDIR)$(INSTALL_DOC_DIR)/docs/english/gammu.1 - --install: uninstall all installdocs installlocales installonly -+install: uninstall all installdocs installman installlocales installlibonly - - installonly: all - @echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR) -@@ -238,7 +240,7 @@ - @$(INSTALL) -m 0755 $(TOPDIR)/gammu/gammu $(DESTDIR)$(INSTALL_BIN_DIR) - - installshared: installlib --installlib: uninstall makelib installdocs installlocales installlibonly -+installlib: uninstall makelib installman installdocs installlocales installlibonly - - installlibonly: shared - @echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR) -@@ -247,8 +249,7 @@ - - @echo Installing shared library to $(DESTDIR)$(INSTALL_LIB_DIR) - @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR) -- @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR) -- @$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR) -+ @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR) - @$(LN) -s libGammu.so.$(SONAME_MAJOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so - - @echo Installing static library to $(DESTDIR)$(INSTALL_LIB_DIR) -@@ -267,8 +268,8 @@ - @$(INSTALL) -m 0644 cfg/config.h $(DESTDIR)$(INSTALL_H_DIR)/config.h - - @echo Installing pkgconfig file -- @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig -- @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig -+ @$(INSTALL) -m 0755 -d $(prefix)/libdata/pkgconfig -+ @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(prefix)/libdata/pkgconfig - - apidoc: - @if test -z "$(DOXYGEN)" ; then \ diff --git a/comms/gammu-devel/files/patch-common.device.devfunc.c b/comms/gammu-devel/files/patch-common.device.devfunc.c deleted file mode 100644 index f6dddacea0cb..000000000000 --- a/comms/gammu-devel/files/patch-common.device.devfunc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- common/device/devfunc.c.orig Sun Nov 20 22:01:18 2005 -+++ common/device/devfunc.c Thu Jan 19 18:35:48 2006 -@@ -17,6 +17,8 @@ - */ - - #include <string.h> -+#include <sys/stat.h> -+#include <sys/socket.h> - #ifdef WIN32 - # include <io.h> - #else diff --git a/comms/gammu-devel/files/patch-common.service.gsmmisc.c b/comms/gammu-devel/files/patch-common.service.gsmmisc.c deleted file mode 100644 index 4fd010de5d40..000000000000 --- a/comms/gammu-devel/files/patch-common.service.gsmmisc.c +++ /dev/null @@ -1,10 +0,0 @@ ---- common/service/gsmmisc.c.orig Fri Dec 30 18:18:47 2005 -+++ common/service/gsmmisc.c Fri Dec 30 18:19:07 2005 -@@ -3,6 +3,7 @@ - #include <string.h> - #include <stdlib.h> - #include <sys/stat.h> -+#include <sys/socket.h> - #ifdef WIN32 - # include <io.h> - # include <fcntl.h> diff --git a/comms/gammu-devel/files/patch-configure.in b/comms/gammu-devel/files/patch-configure.in deleted file mode 100644 index 1be761b36415..000000000000 --- a/comms/gammu-devel/files/patch-configure.in +++ /dev/null @@ -1,79 +0,0 @@ ---- cfg/autoconf/configure.in.orig Tue Mar 8 19:16:22 2005 -+++ cfg/autoconf/configure.in Fri Nov 11 21:09:43 2005 -@@ -184,18 +184,18 @@ - fi - fi - if test "$gsm_blue_stack" = unknown ; then -- AC_CHECK_HEADERS(bluetooth/bluetooth.h, -- [gsm_blue_stack=Bluez -+ AC_CHECK_HEADERS(bluetooth.h, -+ [gsm_blue_stack=FreeBSD - LDLIBS="$LDLIBS -lbluetooth" - AC_CHECK_LIB(sdp, sdp_list_append, LDLIBS="$LDLIBS -lsdp") - AC_DEFINE(GSM_ENABLE_BLUEZ) - ]) - fi - -- dnl Path for Bluez bluetooth library -+ dnl Path for FreeBSD bluetooth library - gsm_bt_dir="" - AC_ARG_WITH(bluedir, -- [ --with-bluedir=DIR Specifies the base libbluetooth from Bluez], -+ [ --with-bluedir=DIR Specifies the base libbluetooth from FreeBSD], - [ if test x$withval = xyes; then - AC_MSG_WARN(Usage is: --with-bluedir=DIR) - else -@@ -292,7 +292,7 @@ - [ --disable-bluefbus Disable Nokia FBUS2 over Bluetooth stack - (Nokia 6210)], - [gsm_enable_bluefbus2="no"], -- [if test $gsm_blue_stack = Bluez; then -+ [if test $gsm_blue_stack = FreeBSD; then - AC_DEFINE(GSM_ENABLE_BLUEFBUS2) - gsm_enable_bluefbus2="yes" - else -@@ -302,7 +302,7 @@ - [ --disable-bluephonet Disable Nokia PHONET FBUS over Bluetooth - stack (all new Nokias)], - [gsm_enable_bluephonet="no"], -- [if test $gsm_blue_stack = Bluez; then -+ [if test $gsm_blue_stack = FreeBSD; then - AC_DEFINE(GSM_ENABLE_BLUEPHONET) - gsm_enable_bluephonet="yes" - else -@@ -311,7 +311,7 @@ - AC_ARG_ENABLE(blueat, - [ --disable-blueat Disable AT commands over Bluetooth stack], - [gsm_enable_blueat="no"], -- [if test $gsm_blue_stack = Bluez; then -+ [if test $gsm_blue_stack = FreeBSD; then - AC_DEFINE(GSM_ENABLE_BLUEAT) - gsm_enable_blueat="yes" - else -@@ -320,7 +320,7 @@ - AC_ARG_ENABLE(blueobex, - [ --disable-blueobex Disable OBEX over Bluetooth stack], - [gsm_enable_blueobex="no"], -- [if test $gsm_blue_stack = Bluez; then -+ [if test $gsm_blue_stack = FreeBSD; then - AC_DEFINE(GSM_ENABLE_BLUEOBEX) - gsm_enable_blueobex="yes" - else -@@ -355,7 +355,7 @@ - AC_ARG_ENABLE(bluerfsearch, - [ --disable-bluerfsearch Disable searching for RF channels with Bluetooth stack], - [gsm_enable_bluerfsearch="no"], -- [if test $gsm_blue_stack = Bluez; then -+ [if test $gsm_blue_stack = FreeBSD; then - AC_DEFINE(BLUETOOTH_RF_SEARCHING) - gsm_enable_bluerfsearch="yes" - fi]) -@@ -443,7 +443,7 @@ - Binaries - $bindir - RPM making directory - $RPM_DIR - Temporary directory - $TEMP_DIR -- Bluez library path - $gsm_bt_dir -+ FreeBSD Bluetooth library path - $gsm_bt_dir - - General options - --------------- diff --git a/comms/gammu-devel/pkg-descr b/comms/gammu-devel/pkg-descr deleted file mode 100644 index b329b1944038..000000000000 --- a/comms/gammu-devel/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -Gammu (Gnu All Mobile Management Utilities) 0.98.0 - -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> diff --git a/comms/gammu-devel/pkg-plist b/comms/gammu-devel/pkg-plist deleted file mode 100644 index add6f6295c1f..000000000000 --- a/comms/gammu-devel/pkg-plist +++ /dev/null @@ -1,113 +0,0 @@ -bin/gammu -%%DATADIR%%/gammu_cs.txt -%%DATADIR%%/gammu_de.txt -%%DATADIR%%/gammu_es.txt -%%DATADIR%%/gammu_it.txt -%%DATADIR%%/gammu_pl.txt -%%DATADIR%%/gammu_ru.txt -%%DATADIR%%/gammu_us.txt -libdata/pkgconfig/gammu.pc -lib/libGammu.a -lib/libGammu.so -lib/libGammu.so.0 -include/gammu/config.h -include/gammu/gammu.h -include/gammu/gsmcomon.h -include/gammu/gsmstate.h -include/gammu/device/devfunc.h -include/gammu/device/bluetoth/affix.h -include/gammu/device/bluetoth/blue_w32.h -include/gammu/device/bluetoth/bluetoth.h -include/gammu/device/bluetoth/bluez.h -include/gammu/device/irda/irda.h -include/gammu/device/irda/irda_unx.h -include/gammu/device/irda/irda_w32.h -include/gammu/device/serial/ser_djg.h -include/gammu/device/serial/ser_unx.h -include/gammu/device/serial/ser_w32.h -include/gammu/misc/cfg.h -include/gammu/misc/misc.h -include/gammu/misc/coding/coding.h -include/gammu/misc/coding/md5.h -include/gammu/phone/pfunc.h -include/gammu/phone/alcatel/alcatel.h -include/gammu/phone/at/atfunc.h -include/gammu/phone/at/atgen.h -include/gammu/phone/at/samsung.h -include/gammu/phone/at/siemens.h -include/gammu/phone/nokia/ncommon.h -include/gammu/phone/nokia/nfunc.h -include/gammu/phone/nokia/nfuncold.h -include/gammu/phone/nokia/dct3/dct3comm.h -include/gammu/phone/nokia/dct3/dct3func.h -include/gammu/phone/nokia/dct3/n0650.h -include/gammu/phone/nokia/dct3/n6110.h -include/gammu/phone/nokia/dct3/n7110.h -include/gammu/phone/nokia/dct3/n9210.h -include/gammu/phone/nokia/dct4s40/dct4func.h -include/gammu/phone/nokia/dct4s40/n3320.h -include/gammu/phone/nokia/dct4s40/6510/6510cal.h -include/gammu/phone/nokia/dct4s40/6510/6510file.h -include/gammu/phone/nokia/dct4s40/6510/n6510.h -include/gammu/phone/nokia/wd2/n3650.h -include/gammu/phone/obex/obexgen.h -include/gammu/phone/obex/obexfunc.h -include/gammu/phone/sonyeric/sefunc.h -include/gammu/phone/sonyeric/sonyeric.h -include/gammu/phone/symbian/gnapgen.h -include/gammu/protocol/protocol.h -include/gammu/protocol/alcatel/alcabus.h -include/gammu/protocol/at/at.h -include/gammu/protocol/nokia/fbus2.h -include/gammu/protocol/nokia/mbus2.h -include/gammu/protocol/nokia/phonet.h -include/gammu/protocol/obex/obex.h -include/gammu/protocol/symbian/gnapbus.h -include/gammu/service/gsmcal.h -include/gammu/service/gsmcall.h -include/gammu/service/gsmdata.h -include/gammu/service/gsmlogo.h -include/gammu/service/gsmmisc.h -include/gammu/service/gsmnet.h -include/gammu/service/gsmpbk.h -include/gammu/service/gsmprof.h -include/gammu/service/gsmring.h -include/gammu/service/backup/backgen.h -include/gammu/service/backup/backics.h -include/gammu/service/backup/backldif.h -include/gammu/service/backup/backlmb.h -include/gammu/service/backup/backtext.h -include/gammu/service/backup/backvcf.h -include/gammu/service/backup/backvcs.h -include/gammu/service/backup/gsmback.h -include/gammu/service/sms/gsmems.h -include/gammu/service/sms/gsmmulti.h -include/gammu/service/sms/gsmsms.h -@dirrm include/gammu/service/sms -@dirrm include/gammu/service/backup -@dirrm include/gammu/service -@dirrm include/gammu/protocol/symbian -@dirrm include/gammu/protocol/obex -@dirrm include/gammu/protocol/nokia -@dirrm include/gammu/protocol/at -@dirrm include/gammu/protocol/alcatel -@dirrm include/gammu/protocol -@dirrm include/gammu/phone/symbian -@dirrm include/gammu/phone/sonyeric -@dirrm include/gammu/phone/obex -@dirrm include/gammu/phone/nokia/dct3 -@dirrm include/gammu/phone/nokia/dct4s40/6510 -@dirrm include/gammu/phone/nokia/dct4s40 -@dirrm include/gammu/phone/nokia/wd2 -@dirrm include/gammu/phone/nokia -@dirrm include/gammu/phone/at -@dirrm include/gammu/phone/alcatel -@dirrm include/gammu/phone -@dirrm include/gammu/misc/coding -@dirrm include/gammu/misc -@dirrm include/gammu/device/serial -@dirrm include/gammu/device/irda -@dirrm include/gammu/device/bluetoth -@dirrm include/gammu/device -@dirrm include/gammu -@dirrm %%DATADIR%% |