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-aa,v 1.2 2006/07/09 09:27:52 xtraeme Exp $ --- configure.in.orig 2006-06-14 11:24:13.000000000 +0200 +++ configure.in 2006-07-09 10:01:18.000000000 +0200 @@@@ -23,6 +23,8 @@@@ AC_PATH_BLUEZ AC_PATH_USB +NETBSD_BLUETOOTH_CHECK + AC_ARG_OPENOBEX AC_OUTPUT(Makefile include/Makefile lib/Makefile apps/Makefile ircp/Makefile doc/Makefile openobex.pc) @ 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 7 a9 7 --- src/obex_transport.h.orig 2003-10-01 13:17:13.000000000 +0200 +++ src/obex_transport.h 2006-07-02 18:51:48.000000000 +0200 @@@@ -39,7 +39,11 @@@@ #ifdef HAVE_IRDA #include "irda_wrap.h" #endif /*HAVE_IRDA*/ -#ifdef HAVE_BLUETOOTH d11 1 a11 22 +#if defined(HAVE_BLUETOOTH) && defined(__NetBSD__) +#include +#include +#elif defined(HAVE_BLUETOOTH) #include #include #endif /*HAVE_BLUETOOTH*/ @@@@ -52,7 +56,11 @@@@ #endif /*HAVE_IRDA*/ struct sockaddr_in inet; #ifdef HAVE_BLUETOOTH +#ifdef __NetBSD__ + struct sockaddr_bt rfcomm; +#else struct sockaddr_rc rfcomm; +#endif #endif /*HAVE_BLUETOOTH*/ } saddr_t; @@@@ -76,7 +84,4 @@@@ int obex_transport_read(obex_t *self, int count, uint8_t *buf, int buflen); d13 1 a13 5 -#endif OBEX_TRANSPORT_H - - - +#endif /* OBEX_TRANSPORT_H */ @