Date: Mon, 12 Apr 2004 03:25:26 +0200 (CEST) From: Guido Falsi <mad@madpilot.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65449: [maintainer-update] comms/obexappto version 1.2 Message-ID: <200404120125.i3C1PQdL062446@wedge.madpilot.net> Resent-Message-ID: <200404120130.i3C1UK2o048502@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65449 >Category: ports >Synopsis: [maintainer-update] comms/obexappto version 1.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Apr 11 18:30:20 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 5.2-CURRENT i386 >Organization: none >Environment: System: FreeBSD wedge.madpilot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #16: Thu Apr 1 01:55:05 CEST 2004 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386 >Description: upgrading to 1.2, main diffs: - removed glib dependancy - fixed sdp/chroot bug removed files: files/patch-server.c files/patch-main.c >How-To-Repeat: >Fix: diff -ruN obexapp.old/Makefile obexapp/Makefile --- obexapp.old/Makefile Mon Apr 12 03:05:46 2004 +++ obexapp/Makefile Mon Apr 12 03:16:14 2004 @@ -6,7 +6,7 @@ # PORTNAME= obexapp -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= comms net MASTER_SITES= http://www.geocities.com/m_evmenkin/ @@ -15,7 +15,6 @@ LIB_DEPENDS= openobex-1.0.1:${PORTSDIR}/comms/openobex -USE_GNOME= glib12 WRKSRC= ${WRKDIR}/${PORTNAME} # libbluetooth is only installed on i386 diff -ruN obexapp.old/distinfo obexapp/distinfo --- obexapp.old/distinfo Mon Apr 12 03:05:46 2004 +++ obexapp/distinfo Mon Apr 12 03:08:10 2004 @@ -1,2 +1,2 @@ -MD5 (obexapp-1.1.tar.gz) = fbe6006f5f9490303ea43078edd298e8 -SIZE (obexapp-1.1.tar.gz) = 195743 +MD5 (obexapp-1.2.tar.gz) = 3f02b3e490f018bf8eb6f2d8f670ae56 +SIZE (obexapp-1.2.tar.gz) = 303365 diff -ruN obexapp.old/files/patch-Makefile obexapp/files/patch-Makefile --- obexapp.old/files/patch-Makefile Mon Apr 12 03:05:46 2004 +++ obexapp/files/patch-Makefile Mon Apr 12 03:11:21 2004 @@ -1,7 +1,7 @@ ---- Makefile.orig Mon Mar 22 22:14:11 2004 -+++ Makefile Mon Mar 22 22:15:52 2004 +--- Makefile.orig Mon Apr 12 03:10:25 2004 ++++ Makefile Mon Apr 12 03:10:59 2004 @@ -1,8 +1,10 @@ - # $Id: Makefile,v 1.6 2004/03/12 22:10:52 max Exp $ + # $Id: Makefile,v 1.7 2004/04/09 21:09:09 max Exp $ # $FreeBSD$ -BINDIR= /usr/local/bin diff -ruN obexapp.old/files/patch-main.c obexapp/files/patch-main.c --- obexapp.old/files/patch-main.c Mon Apr 12 03:05:46 2004 +++ obexapp/files/patch-main.c Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- main.c.orig Mon Mar 22 21:01:45 2004 -+++ main.c Mon Mar 22 21:02:10 2004 -@@ -137,7 +137,7 @@ - custfunc.listen = obexapp_transport_listen; - custfunc.write = obexapp_transport_write; - custfunc.handleinput = obexapp_transport_handle_input; -- custfunc.userdata = &context; -+ custfunc.customdata = &context; - - /* Process command line options */ - service = 0; diff -ruN obexapp.old/files/patch-server.c obexapp/files/patch-server.c --- obexapp.old/files/patch-server.c Mon Apr 12 03:05:46 2004 +++ obexapp/files/patch-server.c Thu Jan 1 01:00:00 1970 @@ -1,25 +0,0 @@ ---- server.c.orig Mon Mar 22 21:04:12 2004 -+++ server.c Mon Mar 22 21:32:45 2004 -@@ -105,6 +105,7 @@ - { - context_p context = (context_p) OBEX_GetUserData(handle); - struct passwd *pw = NULL; -+ struct sockaddr *saddr = NULL; - gint error; - - if (context->user != NULL) { -@@ -169,7 +170,13 @@ - - g_message("%s: Starting OBEX server", G_GNUC_FUNCTION); - -- if (OBEX_ServerRegister(handle, "OBEX") < 0) { -+ if (( saddr = (struct sockaddr *) g_malloc(sizeof(struct sockaddr))) == NULL) { -+ g_critical("%s(): Could not allocate saddr", -+ G_GNUC_FUNCTION); -+ exit(1); -+ } -+ -+ if (OBEX_ServerRegister(handle, saddr, sizeof(struct sockaddr)) < 0) { - g_critical("%s(): OBEX_ServerRegister failed", G_GNUC_FUNCTION); - return (-1); - } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404120125.i3C1PQdL062446>