head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.10 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.8 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.2 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q2:1.2.0.28 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.26 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.24 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.22 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.20 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.18 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.16 pkgsrc-2008Q1:1.2.0.14 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.12 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.10 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.8 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.6 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.4 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2; locks; strict; comment @# @; 1.3 date 2009.08.07.12.18.33; author plunky; state dead; branches; next 1.2; 1.2 date 2006.07.09.09.27.52; author xtraeme; state Exp; branches; next 1.1; 1.1 date 2006.07.02.18.16.53; author xtraeme; state Exp; branches; next ; desc @@ 1.3 log @update to openobex 1.5, Bluetooth detection on BSD is much improved so the patches are no longer required. They got it wrong though, so one patch added (I also fed that upstream) while here, include LICENSE=gnu-lgpl-v2 update HOMEPAGE=http://www.openobex.org/ @ text @$NetBSD: patch-ac,v 1.2 2006/07/09 09:27:52 xtraeme Exp $ --- lib/obex_transport.h.orig 2006-07-09 10:19:01.000000000 +0200 +++ lib/obex_transport.h 2006-07-09 10:20:53.000000000 +0200 @@@@ -39,7 +39,10 @@@@ #ifdef HAVE_IRDA #include "irda_wrap.h" #endif /*HAVE_IRDA*/ -#ifdef HAVE_BLUETOOTH +#ifdef HAVE_NETBSD_BLUETOOTH +#include +#include +#elif defined(HAVE_BLUETOOTH) #include #include #endif /*HAVE_BLUETOOTH*/ @@@@ -54,7 +57,9 @@@@ struct sockaddr_irda irda; #endif /*HAVE_IRDA*/ struct sockaddr_in inet; -#ifdef HAVE_BLUETOOTH +#ifdef HAVE_NETBSD_BLUETOOTH + struct sockaddr_bt rfcomm; +#elif defined(HAVE_BLUETOOTH) struct sockaddr_rc rfcomm; #endif /*HAVE_BLUETOOTH*/ #ifdef HAVE_USB @ 1.2 log @Update to 1.3: ver 1.3: Add support for setting the creation-ID. Updated constants to match IrOBEX 1.3. Replace netbuf implementation with databuffer. Fix segmentation fault when receiving invalid OBEX packets. ver 1.2: Add OBEX_EV_REQCHECK support. Add support for suspend after sending a header. Add support for empty headers for buggy OBEX servers. Fix memory leak in obex_object_send(). ver 1.1: Fix list of exported functions. Fix duplicate string from basename() result. Fix wrong order of sanity checks. Fix memory leak in send_stream() function. ISO C99 says that inttypes.h includes stdint.h header. Add proper client side ABORT support. Add support for OBEX_SuspendRequest() and OBEX_ResumeRequest(). Add USB transport support. Increase the allowed maximum MTU to 64kB-1. Disconnect when an ABORT fails. Make it possible to include headers from C++ source code. Advertise OBEX Protocol Version 1.0. pkgsrc: * I've added patches to detect properly NetBSD bluetooth support and I have sent it to the openobex folks, they will be integrated soon. * Take maintainership for now. * Bump BUILDLINK_API_DEPENDS because the API has changed. *** PLEASE DO NOT TOUCH OBEXFTP, I'M UPDATING IT RIGHT NOW. THANKS *** @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add support for NetBSD's bluetooth, required by the upcoming package obexapp. Bump PKGREVISION. @ text @d3 8 a10 7 --- src/obex_main.c.orig 2003-10-01 13:17:13.000000000 +0200 +++ src/obex_main.c 2006-07-02 18:56:16.000000000 +0200 @@@@ -46,7 +46,11 @@@@ #include #ifdef HAVE_BLUETOOTH +#ifdef __NetBSD__ d12 2 a13 1 +#else d15 1 a15 1 +#endif /* __NetBSD__ */ d17 11 a27 2 #endif /* _WIN32 */ @