head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.2 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.3.0.28 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.26 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.24 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.22 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.20 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.18 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.16 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.14 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.12 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.10 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.8 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-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.4 date 2013.03.15.08.18.43; author plunky; state dead; branches; next 1.3; 1.3 date 2009.07.20.05.56.03; author hasso; state Exp; branches; next 1.2; 1.2 date 2006.07.24.17.07.15; author xtraeme; state Exp; branches; next 1.1; 1.1 date 2006.07.17.12.29.57; author xtraeme; state Exp; branches; next ; desc @@ 1.4 log @Update to ObexFTP 0.24 There is a new maintainer, Hendrik Sattler and the sources are held at gitorius.org. Build is changed to CMake and although it does not appear in the ChangeLog below, I forwarded all the NetBSD related patches that pkgsrc had (and more in fact, to get it working) although I would still say that obexapp is the better program. From the ChangeLog: ObexFTP 0.24 (released 2013-03-05) ---------------------------------- * Maintainer changed from Christian to Hendrik * change build system to using CMake * integrate obexfs-0.12 * fix build for OpenOBEX-1.7 ObexFTP 0.23 (released 2009-02-17) ---------------------------------- * allow win32 to use hci src names * adding a simpler connect wrapper * show OBEX_HandleInput errors * catch errors and let the user know * print timeout stats if available * sdp unregister more verbose * upgrading btkit * fix for win32 without bt * replacing deprecated automake vars * sizeof() fixes * removing bdaddr_t reference from obexftpd.c * adding bootstrap helper * concurrency bug in extconf.rb generated Makefile (fix by Alin Năstac) * switching from POD to asciidoc * clearing gnu-style implicit rules ObexFTP 0.22 (released 2008-06-15) ---------------------------------- * added proper unicode support * added support for transparent OBEX-over-AT mode * rewritten at-command function * added specific error messages * refactored to flexible bt_kit layer * fixed cache root duplicates * fixed off-by-one and unfreed mem in cache layer * added pkg-config file * added example code * switched to doxygen * added python binding callbacks * portable packed structs * enabled linux hci dev names for source selection * Python binding uses distutils now, tested by Adam Williamson * removed exit from bt discovery * Better autodetection for possible language bindings * reworked win32 support * Motorola SLVR L2 cobex fix by Andrey Rahmatullin * now using AC_HELP_STRING for compat with autoconf <=2.57 * added hci selection support, drafted by Manuel Naranjo * switched obexftp cli to new discovery api * prefer PCSUITE over FTP, req. by Martin Storsjö for Series 60 2nd Ed. * fixed compile error with >=swig-1.3.28 * renamed sdp browse function * fixed month/day swapping in atotime, spotted by Dr. Johannes Zellner * added BFC compatibility for newer Siemens phones * added PCSOFTWARE uuid support for SHARP phones * added motorola support * end bfb mode properly * added CPROT=0 support from 3GPP 27.007 * fixed ericsson init * fixed invalid conn_id in disconnect rep. by Alan J. McFarlane * better create flag handling in setpath * Changed LDADD to LIBADD sug. by Sergey Vlasov * obexftpd clean up by Hendrik Sattler * 64-bit fixes by Hendrik Sattler * Removed all (dangerous) obex_headerdata_t casts * Reorganized all swig-dependant Makefiles * Applied cobex write patch from Simon Ruggier * Applied from Frode Isaksen ObexFTP 0.21 (released 2006-06-27) ---------------------------------- 2006-05-26 Christian W. Zuckschwerdt * Fixes to obexftpd suggested by Hendrik Sattler 2006-05-24 Christian W. Zuckschwerdt * Added ruby binding * Added preliminary discovery function @ text @$NetBSD: patch-ak,v 1.3 2009/07/20 05:56:03 hasso Exp $ --- apps/obexftp_sdp.c.orig 2006-03-08 00:34:15.000000000 +0100 +++ apps/obexftp_sdp.c @@@@ -25,6 +25,8 @@@@ #include #endif +#ifdef HAVE_BLUETOOTH + #include #include #include @@@@ -34,6 +36,53 @@@@ #include #include +#if defined(__NetBSD__) || defined(__DragonFly__) +#include +#include + +#include "obexftp_sdp.h" + +#define OBEXFTP_RFCOMM_CHANNEL 10 + +static void *session; + +void +obexftp_sdp_unregister(void) +{ + sdp_close(session); +} + +int +obexftp_sdp_register(void) +{ + sdp_ftrn_profile_t ftrn; + bdaddr_t bdaddr; + + memset(&ftrn, 0, sizeof(ftrn)); + ftrn.server_channel = OBEXFTP_RFCOMM_CHANNEL; + + bdaddr_copy(&bdaddr, BDADDR_ANY); + + session = sdp_open_local(NULL); + if (session == NULL || (errno = sdp_error(session))) { + syslog(LOG_ERR, "Failed to connect to the local SDP server. %s(%d)", + strerror(errno), errno); + + return -1; + } + + if (sdp_register_service(session, SDP_SERVICE_CLASS_OBEX_FILE_TRANSFER, + &bdaddr, (uint8_t *)&ftrn, sizeof(ftrn), NULL) != 0) { + errno = sdp_error(session); + syslog(LOG_ERR, "SDP registration failed. %s(%d)", + strerror(errno), errno); + sdp_close(session); + return -1; + } + + return 0; +} +#else /* __NetBSD__ */ #include #include #include @@@@ -173,3 +222,5 @@@@ int obexftp_sdp_search(bdaddr_t *src, bd return 0; } */ +#endif /* !__NetBSD__ */ +#endif /* HAVE_BLUETOOTH */ @ 1.3 log @Bluetooth support for DragonFly. Bump PKGREVISION. PR pkg/41640. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 2006/07/24 17:07:15 xtraeme Exp $ @ 1.2 log @Merge in patches to make this build again on NetBSD without bluetooth, thanks to dillo for that. @ text @d1 1 a1 1 $NetBSD$ d18 1 a18 1 +#ifdef __NetBSD__ @ 1.1 log @Update to 0.20 (latest stable version): Changes: * Motorola support, tested with models v710/e815 * object caching and directory parsing (for things like ObexFS) * Nokia support via IrDA and Bluetooth * Siemens S65 support * Everything but data goes to stderr for more simple redirection. * VMO converter (gsm and wav) split into seperate package. * Ericsson and Siemens cable support unified (still testing). pkgsrc changes: * NetBSD bluetooth support, thanks to Iain Hibbert for finishing it. @ text @d3 1 a3 1 --- apps/obexftp_sdp.c.orig 2006-07-15 19:50:12.000000000 +0100 d5 10 a14 1 @@@@ -34,6 +34,53 @@@@ d64 1 a64 1 +#else d68 1 a68 1 @@@@ -173,3 +220,4 @@@@ int obexftp_sdp_search(bdaddr_t *src, bd d72 2 a73 1 +#endif @