mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Libsyncml is an 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/ PR: ports/121632 Submitted by: Daniel Roethlisberger <daniel@roe.ch> Approved by: gabor (mentor)
This commit is contained in:
parent
c013f5d1d2
commit
0c90a812dd
@ -60,6 +60,7 @@
|
||||
SUBDIR += ktrack
|
||||
SUBDIR += libfec
|
||||
SUBDIR += libirman
|
||||
SUBDIR += libsyncml
|
||||
SUBDIR += libticables
|
||||
SUBDIR += libticables2
|
||||
SUBDIR += libticalcs2
|
||||
|
35
comms/libsyncml/Makefile
Normal file
35
comms/libsyncml/Makefile
Normal file
@ -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>
|
3
comms/libsyncml/distinfo
Normal file
3
comms/libsyncml/distinfo
Normal file
@ -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
|
37
comms/libsyncml/files/patch-configure.in
Normal file
37
comms/libsyncml/files/patch-configure.in
Normal file
@ -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
|
@ -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"
|
5
comms/libsyncml/pkg-descr
Normal file
5
comms/libsyncml/pkg-descr
Normal file
@ -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/
|
30
comms/libsyncml/pkg-plist
Normal file
30
comms/libsyncml/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user