From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 12 00:40:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F0A1065672 for ; Wed, 12 Mar 2008 00:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3B70D8FC20 for ; Wed, 12 Mar 2008 00:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2C0e1L2085530 for ; Wed, 12 Mar 2008 00:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2C0e1tG085529; Wed, 12 Mar 2008 00:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 12 Mar 2008 00:40:01 GMT Resent-Message-Id: <200803120040.m2C0e1tG085529@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Roethlisberger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B2A91065674 for ; Wed, 12 Mar 2008 00:30:38 +0000 (UTC) (envelope-from daniel+roe=marvin@roe.ch) Received: from calvin.roe.ch (calvin.roe.ch [213.144.141.26]) by mx1.freebsd.org (Postfix) with ESMTP id 103CB8FC1A for ; Wed, 12 Mar 2008 00:30:37 +0000 (UTC) (envelope-from daniel+roe=marvin@roe.ch) Received: from marvin.roe ([10.23.42.11]) by calvin.roe.ch (envelope-from ) with ESMTPS (TLSv1:AES256-SHA:256) id 1JZEpl-000L4j-N8 ; Wed, 12 Mar 2008 01:28:41 +0100 Received: from marvin.roe (localhost [127.0.0.1]) by marvin.roe (8.14.2/8.14.2) with ESMTP id m2C0X7nF076383; Wed, 12 Mar 2008 01:33:07 +0100 (CET) (envelope-from roe@marvin.roe) Received: (from roe@localhost) by marvin.roe (8.14.2/8.14.2/Submit) id m2C0X7Qh076382; Wed, 12 Mar 2008 01:33:07 +0100 (CET) (envelope-from roe) Message-Id: <200803120033.m2C0X7Qh076382@marvin.roe> Date: Wed, 12 Mar 2008 01:33:07 +0100 (CET) From: Daniel Roethlisberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: daniel@roe.ch Subject: ports/121632: New port: comms/libsyncml - SyncML library for PIM data sync X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Roethlisberger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 00:40:01 -0000 >Number: 121632 >Category: ports >Synopsis: New port: comms/libsyncml - SyncML library for PIM data sync >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 12 00:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Daniel Roethlisberger >Release: FreeBSD 6.3-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD marvin.roe 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Libsyncml is an implementation of the SyncML protocol. It's purpose is PIM data synchronization with mobile devices over HTTP or OBEX/Bluetooth channels. This port is one more step towards having a functional OpenSync environment within our ports tree. The configure.ac patch for -lbluetooth support was imported from pkgsrc. >How-To-Repeat: >Fix: --- libsyncml-0.4.5.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libsyncml # libsyncml/Makefile # libsyncml/files # libsyncml/files/patch-configure.in # libsyncml/files/patch-libsyncml_transports_obex_client.c # libsyncml/distinfo # libsyncml/pkg-descr # libsyncml/pkg-plist # echo c - libsyncml mkdir -p libsyncml > /dev/null 2>&1 echo x - libsyncml/Makefile sed 's/^X//' >libsyncml/Makefile << 'END-of-libsyncml/Makefile' X# New ports collection makefile for: libsyncml X# Date created: 2008-03-09 X# Whom: Daniel Roethlisberger X# X# $FreeBSD$ X# X XPORTNAME= libsyncml XPORTVERSION= 0.4.5 XCATEGORIES= comms XMASTER_SITES= http://libsyncml.opensync.org/download/releases/${PORTVERSION}/ \ X http://mirror.roe.ch/dist/${PORTNAME}/ X XMAINTAINER= daniel@roe.ch XCOMMENT= SyncML protocol library for PIM data synchronization X XLIB_DEPENDS= wbxml2:${PORTSDIR}/textproc/wbxml2 \ X openobex:${PORTSDIR}/comms/openobex \ X soup:${PORTSDIR}/devel/libsoup X XUSE_AUTOTOOLS= autoheader:261 automake:110 XGNU_CONFIGURE= yes XUSE_BZIP2= yes XUSE_GNOME= glib20 libxml2 XUSE_LDCONFIG= yes XCONFIGURE_ARGS= --enable-bluetooth --enable-obex --with-wbxml=${LOCALBASE} X XMAN1= syncml-http-server.1 syncml-obex-client.1 X Xpost-patch: X @${REINPLACE_CMD} \ X -e 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \ X ${WRKSRC}/Makefile.am X X.include END-of-libsyncml/Makefile echo c - libsyncml/files mkdir -p libsyncml/files > /dev/null 2>&1 echo x - libsyncml/files/patch-configure.in sed 's/^X//' >libsyncml/files/patch-configure.in << 'END-of-libsyncml/files/patch-configure.in' X$NetBSD: patch-aa,v 1.1.1.1 2008/01/12 14:09:35 dillo Exp $ X$FreeBSD$ X XCheck for -lbluetooth in addition to -lbluez, to make this compile on BSD. X X--- configure.ac.orig 2007-10-16 14:42:45.000000000 +0200 X+++ configure.ac X@@ -78,20 +78,27 @@ AC_ARG_ENABLE(bluetooth, X AS_HELP_STRING([--enable-bluetooth], [enable obex over bluetooth transports]), X WANT_BLUETOOTH=$enableval) X X-PKG_CHECK_MODULES(LIBBLUETOOTH, bluez, HAVE_BLUETOOTH=yes, HAVE_BLUETOOTH=no) X+PKG_CHECK_MODULES(LIBBLUETOOTH, bluez, X+ [HAVE_BLUETOOTH=yes X+ AC_DEFINE(HAVE_BLUETOOTH_BLUETOOTH_H, 1, [Define to 1 if you have the header file.])], X+ [AC_CHECK_LIB(bluetooth, bt_gethostbyname, X+ [HAVE_BLUETOOTH=yes X+ LIBBLUETOOTH_LIBS=-lbluetooth], X+ HAVE_BLUETOOTH=no)]) X if test "x${HAVE_BLUETOOTH}" = "xyes"; then X if test "x${WANT_BLUETOOTH}" = "xno"; then X ENABLE_BLUETOOTH=no X else X AC_SUBST(LIBBLUETOOTH_CFLAGS) X AC_SUBST(LIBBLUETOOTH_LIBS) X+ AC_SUBST(HAVE_BLUETOOTH_BLUETOOTH_H) X ENABLE_BLUETOOTH=yes X AC_SUBST(ENABLE_BLUETOOTH) X AC_DEFINE(ENABLE_BLUETOOTH,1,[Bluetooth Transport]) X fi X else X if test "x${WANT_BLUETOOTH}" = "xyes"; then X- AC_MSG_ERROR("Bluez not found") X+ AC_MSG_ERROR("Bluetooth libraries not found") X else X ENABLE_BLUETOOTH=no X fi END-of-libsyncml/files/patch-configure.in echo x - libsyncml/files/patch-libsyncml_transports_obex_client.c sed 's/^X//' >libsyncml/files/patch-libsyncml_transports_obex_client.c << 'END-of-libsyncml/files/patch-libsyncml_transports_obex_client.c' X--- libsyncml/transports/obex_client.c.orig 2007-10-16 15:25:31.000000000 +0200 X+++ libsyncml/transports/obex_client.c 2008-03-09 22:32:06.000000000 +0100 X@@ -26,7 +26,13 @@ X #include X X #ifdef ENABLE_BLUETOOTH X+#ifdef HAVE_BLUETOOTH_BLUETOOTH_H X #include X+#else X+#define COMPAT_BLUEZ X+#include X+#define BDADDR_ANY NG_HCI_BDADDR_ANY X+#endif X #endif X X #include "obex_client.h" END-of-libsyncml/files/patch-libsyncml_transports_obex_client.c echo x - libsyncml/distinfo sed 's/^X//' >libsyncml/distinfo << 'END-of-libsyncml/distinfo' XMD5 (libsyncml-0.4.5.tar.bz2) = 90f4285cf04b70d92fdbe4fece148385 XSHA256 (libsyncml-0.4.5.tar.bz2) = ef11f0b79ebeb14369f0fdff34d9072a34c28fb83eccc75450f84225c56cc432 XSIZE (libsyncml-0.4.5.tar.bz2) = 374803 END-of-libsyncml/distinfo echo x - libsyncml/pkg-descr sed 's/^X//' >libsyncml/pkg-descr << 'END-of-libsyncml/pkg-descr' XLibsyncml is an implementation of the SyncML protocol. XIt's purpose is PIM data synchronization with mobile Xdevices over HTTP or OBEX/Bluetooth channels. X XWWW: http://libsyncml.opensync.org/ END-of-libsyncml/pkg-descr echo x - libsyncml/pkg-plist sed 's/^X//' >libsyncml/pkg-plist << 'END-of-libsyncml/pkg-plist' Xbin/syncml-http-server Xbin/syncml-obex-client Xbin/syncml-http-client Xinclude/libsyncml-1.0/libsyncml/http_server.h Xinclude/libsyncml-1.0/libsyncml/http_client.h Xinclude/libsyncml-1.0/libsyncml/obex_client.h Xinclude/libsyncml-1.0/libsyncml/obex_server.h Xinclude/libsyncml-1.0/libsyncml/sml_auth.h Xinclude/libsyncml-1.0/libsyncml/sml_ds_server.h Xinclude/libsyncml-1.0/libsyncml/sml_devinf_obj.h Xinclude/libsyncml-1.0/libsyncml/syncml.h Xinclude/libsyncml-1.0/libsyncml/sml_transport.h Xinclude/libsyncml-1.0/libsyncml/sml_defines.h Xinclude/libsyncml-1.0/libsyncml/sml_command.h Xinclude/libsyncml-1.0/libsyncml/sml_devinf.h Xinclude/libsyncml-1.0/libsyncml/sml_elements.h Xinclude/libsyncml-1.0/libsyncml/sml_parse.h Xinclude/libsyncml-1.0/libsyncml/sml_manager.h Xinclude/libsyncml-1.0/libsyncml/sml_session.h Xinclude/libsyncml-1.0/libsyncml/sml_notification.h Xinclude/libsyncml-1.0/libsyncml/sml_error.h Xinclude/libsyncml-1.0/libsyncml/sml_base64.h Xinclude/libsyncml-1.0/libsyncml/sml_md5.h Xlib/libsyncml.so.0 Xlib/libsyncml.la Xlibdata/pkgconfig/libsyncml-1.0.pc END-of-libsyncml/pkg-plist exit --- libsyncml-0.4.5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: