head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q2:1.3.0.28 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.26 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.24 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.22 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.20 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.18 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.16 pkgsrc-2008Q1:1.3.0.14 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.12 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.10 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.8 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.6 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.4 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.2 pkgsrc-2006Q3-base:1.3; locks; strict; comment @# @; 1.4 date 2009.08.07.12.18.33; author plunky; state dead; branches; next 1.3; 1.3 date 2006.07.09.09.27.52; author xtraeme; state Exp; branches; next 1.2; 1.2 date 2006.07.03.19.18.57; author xtraeme; state dead; branches; next 1.1; 1.1 date 2006.07.02.18.16.53; author xtraeme; state Exp; branches; next ; desc @@ 1.4 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-af,v 1.3 2006/07/09 09:27:52 xtraeme Exp $ --- lib/btobex.c.orig 2006-07-09 10:36:43.000000000 +0200 +++ lib/btobex.c 2006-07-09 10:38:51.000000000 +0200 @@@@ -37,7 +37,7 @@@@ #include #else /* _WIN32 */ -/* Linux case */ +/* Linux/NetBSD case */ #include #include @@@@ -46,8 +46,17 @@@@ #include #include +#ifdef HAVE_NETBSD_BLUETOOTH +#define rc_family bt_family +#define rc_bdaddr bt_bdaddr +#define rc_channel bt_channel +#define sockaddr_rc sockaddr_bt +#include +#include +#else #include #include +#endif #endif /* _WIN32 */ @ 1.3 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.2 log @Unbreak on platforms where bluetooth wasn't detected, reported by dillo@@. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2006/07/02 18:16:53 xtraeme Exp $ d3 28 a30 10 --- src/obex.h.orig 2006-07-02 19:31:28.000000000 +0200 +++ src/obex.h 2006-07-02 19:31:36.000000000 +0200 @@@@ -51,7 +51,7 @@@@ typedef void* obex_object_t; typedef void (*obex_event_t)(obex_t *handle, obex_object_t *obj, int mode, int event, int obex_cmd, int obex_rsp); // This is to workaround compilation without Bluetooth support. - Jean II -#ifndef SOL_RFCOMM +#ifdef SOL_RFCOMM typedef char* bdaddr_t; #endif @ 1.1 log @Add support for NetBSD's bluetooth, required by the upcoming package obexapp. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @