summaryrefslogtreecommitdiff
path: root/comms/openobex/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-07-09 09:27:52 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-07-09 09:27:52 +0000
commit1e8e1afd247a9b63c3d976555522a065bea51935 (patch)
treefccf9a4bd9971d125013227eb96805695f7a2595 /comms/openobex/Makefile
parent157a9fd30e85b17cfa76c9c4fef3b717884d8772 (diff)
downloadpkgsrc-1e8e1afd247a9b63c3d976555522a065bea51935.tar.gz
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 ***
Diffstat (limited to 'comms/openobex/Makefile')
-rw-r--r--comms/openobex/Makefile27
1 files changed, 10 insertions, 17 deletions
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index 6ccba5a83de..327f7c4f39e 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -1,17 +1,16 @@
-# $NetBSD: Makefile,v 1.10 2006/07/06 16:31:39 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2006/07/09 09:27:52 xtraeme Exp $
#
-DISTNAME= openobex-1.0.1
-PKGREVISION= 3
+DISTNAME= openobex-1.3
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://openobex.sourceforge.net/
COMMENT= Implementation of the Object Exchange (OBEX) protocol
GNU_CONFIGURE= yes
-USE_TOOLS+= gmake pkg-config
+USE_TOOLS+= autoconf gmake pkg-config
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= openobex-config.in
@@ -21,19 +20,13 @@ PKGCONFIG_OVERRIDE= openobex-config.in
.if (${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h))
SUBST_CLASSES+= bt
SUBST_STAGE.bt= post-patch
-SUBST_FILES.bt= configure
-SUBST_SED.bt= -e "s|bluetooth/bluetooth.h|bluetooth.h|g"
-SUBST_SED.bt+= -e "s|bluetooth/rfcomm.h|netbt/rfcomm.h|g"
-SUBST_SED.bt+= -e "s|sockaddr_rc|sockaddr_bt|g"
+SUBST_FILES.bt= include/obex.h
+SUBST_SED.bt= -e "s|ifndef SOL_RFCOMM|ifdef SOL_RFCOMM|"
SUBST_MESSAGE.bt= Fixing bluetooth detection.
-
-SUBST_CLASSES+= bt2
-SUBST_STAGE.bt2= post-patch
-SUBST_FILES.bt2= src/obex.h
-SUBST_SED.bt2= -e "s|ifndef SOL_RFCOMM|ifdef SOL_RFCOMM|"
-
-# bacpy() and friends
-CPPFLAGS+= -DCOMPAT_BLUEZ
.endif
+post-patch:
+ cd ${WRKSRC} && autoconf
+
+.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"