diff options
author | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-05-31 04:30:36 +0000 |
---|---|---|
committer | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-05-31 04:30:36 +0000 |
commit | 0c90a812ddb6cc96cf2c7f99fe173b5e54a004dd (patch) | |
tree | eba60f4a542a6688f43852420a052645b7d8dea0 /comms | |
parent | c013f5d1d23fd987efe7c304fe9835c25219e256 (diff) |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/libsyncml/Makefile | 35 | ||||
-rw-r--r-- | comms/libsyncml/distinfo | 3 | ||||
-rw-r--r-- | comms/libsyncml/files/patch-configure.in | 37 | ||||
-rw-r--r-- | comms/libsyncml/files/patch-libsyncml_transports_obex_client.c | 16 | ||||
-rw-r--r-- | comms/libsyncml/pkg-descr | 5 | ||||
-rw-r--r-- | comms/libsyncml/pkg-plist | 30 |
7 files changed, 127 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index c6f9a68b91ce..e1dfc1395096 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -60,6 +60,7 @@ SUBDIR += ktrack SUBDIR += libfec SUBDIR += libirman + SUBDIR += libsyncml SUBDIR += libticables SUBDIR += libticables2 SUBDIR += libticalcs2 diff --git a/comms/libsyncml/Makefile b/comms/libsyncml/Makefile new file mode 100644 index 000000000000..938e1e38cf99 --- /dev/null +++ b/comms/libsyncml/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: libsyncml +# Date created: 2008-03-09 +# Whom: Daniel Roethlisberger <daniel@roe.ch> +# +# $FreeBSD$ +# + +PORTNAME= libsyncml +PORTVERSION= 0.4.5 +CATEGORIES= comms +MASTER_SITES= http://libsyncml.opensync.org/download/releases/${PORTVERSION}/ \ + http://mirror.roe.ch/dist/${PORTNAME}/ + +MAINTAINER= daniel@roe.ch +COMMENT= SyncML protocol library for PIM data synchronization + +LIB_DEPENDS= wbxml2:${PORTSDIR}/textproc/wbxml2 \ + openobex:${PORTSDIR}/comms/openobex \ + soup-2.2.8:${PORTSDIR}/devel/libsoup22 + +USE_AUTOTOOLS= autoheader:261 automake:110 libtool:15 +GNU_CONFIGURE= yes +USE_BZIP2= yes +USE_GNOME= glib20 libxml2 +USE_LDCONFIG= yes +CONFIGURE_ARGS= --enable-bluetooth --enable-obex --with-wbxml=${LOCALBASE} + +MAN1= syncml-http-server.1 syncml-obex-client.1 + +post-patch: + @${REINPLACE_CMD} \ + -e 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile.am + +.include <bsd.port.mk> diff --git a/comms/libsyncml/distinfo b/comms/libsyncml/distinfo new file mode 100644 index 000000000000..69f30ad00f42 --- /dev/null +++ b/comms/libsyncml/distinfo @@ -0,0 +1,3 @@ +MD5 (libsyncml-0.4.5.tar.bz2) = 90f4285cf04b70d92fdbe4fece148385 +SHA256 (libsyncml-0.4.5.tar.bz2) = ef11f0b79ebeb14369f0fdff34d9072a34c28fb83eccc75450f84225c56cc432 +SIZE (libsyncml-0.4.5.tar.bz2) = 374803 diff --git a/comms/libsyncml/files/patch-configure.in b/comms/libsyncml/files/patch-configure.in new file mode 100644 index 000000000000..c0ce31e9ba13 --- /dev/null +++ b/comms/libsyncml/files/patch-configure.in @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/01/12 14:09:35 dillo Exp $ +$FreeBSD$ + +Check for -lbluetooth in addition to -lbluez, to make this compile on BSD. + +--- configure.ac.orig 2007-10-16 14:42:45.000000000 +0200 ++++ configure.ac +@@ -78,20 +78,27 @@ AC_ARG_ENABLE(bluetooth, + AS_HELP_STRING([--enable-bluetooth], [enable obex over bluetooth transports]), + WANT_BLUETOOTH=$enableval) + +-PKG_CHECK_MODULES(LIBBLUETOOTH, bluez, HAVE_BLUETOOTH=yes, HAVE_BLUETOOTH=no) ++PKG_CHECK_MODULES(LIBBLUETOOTH, bluez, ++ [HAVE_BLUETOOTH=yes ++ AC_DEFINE(HAVE_BLUETOOTH_BLUETOOTH_H, 1, [Define to 1 if you have the <bluetooth/bluetooth.h> header file.])], ++ [AC_CHECK_LIB(bluetooth, bt_gethostbyname, ++ [HAVE_BLUETOOTH=yes ++ LIBBLUETOOTH_LIBS=-lbluetooth], ++ HAVE_BLUETOOTH=no)]) + if test "x${HAVE_BLUETOOTH}" = "xyes"; then + if test "x${WANT_BLUETOOTH}" = "xno"; then + ENABLE_BLUETOOTH=no + else + AC_SUBST(LIBBLUETOOTH_CFLAGS) + AC_SUBST(LIBBLUETOOTH_LIBS) ++ AC_SUBST(HAVE_BLUETOOTH_BLUETOOTH_H) + ENABLE_BLUETOOTH=yes + AC_SUBST(ENABLE_BLUETOOTH) + AC_DEFINE(ENABLE_BLUETOOTH,1,[Bluetooth Transport]) + fi + else + if test "x${WANT_BLUETOOTH}" = "xyes"; then +- AC_MSG_ERROR("Bluez not found") ++ AC_MSG_ERROR("Bluetooth libraries not found") + else + ENABLE_BLUETOOTH=no + fi diff --git a/comms/libsyncml/files/patch-libsyncml_transports_obex_client.c b/comms/libsyncml/files/patch-libsyncml_transports_obex_client.c new file mode 100644 index 000000000000..79a7b41a479e --- /dev/null +++ b/comms/libsyncml/files/patch-libsyncml_transports_obex_client.c @@ -0,0 +1,16 @@ +--- libsyncml/transports/obex_client.c.orig 2007-10-16 15:25:31.000000000 +0200 ++++ libsyncml/transports/obex_client.c 2008-03-09 22:32:06.000000000 +0100 +@@ -26,7 +26,13 @@ + #include <libsyncml/sml_transport_internals.h> + + #ifdef ENABLE_BLUETOOTH ++#ifdef HAVE_BLUETOOTH_BLUETOOTH_H + #include <bluetooth/bluetooth.h> ++#else ++#define COMPAT_BLUEZ ++#include <bluetooth.h> ++#define BDADDR_ANY NG_HCI_BDADDR_ANY ++#endif + #endif + + #include "obex_client.h" diff --git a/comms/libsyncml/pkg-descr b/comms/libsyncml/pkg-descr new file mode 100644 index 000000000000..7226b778a11c --- /dev/null +++ b/comms/libsyncml/pkg-descr @@ -0,0 +1,5 @@ +Libsyncml is a implementation of the SyncML protocol. +It's purpose is PIM data synchronization with mobile +devices over HTTP or OBEX/Bluetooth channels. + +WWW: http://libsyncml.opensync.org/ diff --git a/comms/libsyncml/pkg-plist b/comms/libsyncml/pkg-plist new file mode 100644 index 000000000000..ed3d8cc13e04 --- /dev/null +++ b/comms/libsyncml/pkg-plist @@ -0,0 +1,30 @@ +bin/syncml-http-server +bin/syncml-obex-client +bin/syncml-http-client +include/libsyncml-1.0/libsyncml/http_server.h +include/libsyncml-1.0/libsyncml/http_client.h +include/libsyncml-1.0/libsyncml/obex_client.h +include/libsyncml-1.0/libsyncml/obex_server.h +include/libsyncml-1.0/libsyncml/sml_auth.h +include/libsyncml-1.0/libsyncml/sml_ds_server.h +include/libsyncml-1.0/libsyncml/sml_devinf_obj.h +include/libsyncml-1.0/libsyncml/syncml.h +include/libsyncml-1.0/libsyncml/sml_transport.h +include/libsyncml-1.0/libsyncml/sml_defines.h +include/libsyncml-1.0/libsyncml/sml_command.h +include/libsyncml-1.0/libsyncml/sml_devinf.h +include/libsyncml-1.0/libsyncml/sml_elements.h +include/libsyncml-1.0/libsyncml/sml_parse.h +include/libsyncml-1.0/libsyncml/sml_manager.h +include/libsyncml-1.0/libsyncml/sml_session.h +include/libsyncml-1.0/libsyncml/sml_notification.h +include/libsyncml-1.0/libsyncml/sml_error.h +include/libsyncml-1.0/libsyncml/sml_base64.h +include/libsyncml-1.0/libsyncml/sml_md5.h +lib/libsyncml.so +lib/libsyncml.so.0 +lib/libsyncml.a +lib/libsyncml.la +libdata/pkgconfig/libsyncml-1.0.pc +@dirrm include/libsyncml-1.0/libsyncml +@dirrm include/libsyncml-1.0 |