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 ***
32 lines
814 B
Makefile
32 lines
814 B
Makefile
# $NetBSD: Makefile,v 1.11 2006/07/09 09:27:52 xtraeme Exp $
|
|
#
|
|
|
|
DISTNAME= openobex-1.3
|
|
CATEGORIES= comms
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
HOMEPAGE= http://openobex.sourceforge.net/
|
|
COMMENT= Implementation of the Object Exchange (OBEX) protocol
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= autoconf gmake pkg-config
|
|
USE_LIBTOOL= yes
|
|
|
|
PKGCONFIG_OVERRIDE= openobex-config.in
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h))
|
|
SUBST_CLASSES+= bt
|
|
SUBST_STAGE.bt= post-patch
|
|
SUBST_FILES.bt= include/obex.h
|
|
SUBST_SED.bt= -e "s|ifndef SOL_RFCOMM|ifdef SOL_RFCOMM|"
|
|
SUBST_MESSAGE.bt= Fixing bluetooth detection.
|
|
.endif
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
.include "../../devel/libusb/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|