FreeBSD Bugzilla – Attachment 41231 Details for
Bug 64597
New port: sysutils/obexapp sends objects via OBEX to mobile devices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.76 KB, created by
Guido Falsi
on 2004-03-22 23:20:15 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2004-03-22 23:20:15 UTC
Size:
3.76 KB
patch
obsolete
># 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: ># ># obexapp ># obexapp/Makefile ># obexapp/distinfo ># obexapp/files ># obexapp/files/patch-main.c ># obexapp/files/patch-server.c ># obexapp/files/patch-Makefile ># obexapp/pkg-plist ># obexapp/pkg-descr ># >echo c - obexapp >mkdir -p obexapp > /dev/null 2>&1 >echo x - obexapp/Makefile >sed 's/^X//' >obexapp/Makefile << 'END-of-obexapp/Makefile' >X# New ports collection makefile for: obexapp >X# Date created: 22 March 2004 >X# Whom: Guido Falsi <mad@madpilot.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= obexapp >XPORTVERSION= 1.1 >XCATEGORIES= sysutils net >XMASTER_SITES= http://www.geocities.com/m_evmenkin/ >XWRKSRC= ${WRKDIR}/${PORTNAME} >X >XLIB_DEPENDS= openobex-1.0.1:${PORTSDIR}/sysutils/openobex >X >XMAINTAINER= mad@madpilot.net >XCOMMENT= Obex application to transfer objects to mobile equipment >X >XMAN1= obexapp.1 >XMANCOMPRESSED= yes >XUSE_GNOME= glib12 >X >X.include <bsd.port.mk> >END-of-obexapp/Makefile >echo x - obexapp/distinfo >sed 's/^X//' >obexapp/distinfo << 'END-of-obexapp/distinfo' >XMD5 (obexapp-1.1.tar.gz) = fbe6006f5f9490303ea43078edd298e8 >XSIZE (obexapp-1.1.tar.gz) = 195743 >END-of-obexapp/distinfo >echo c - obexapp/files >mkdir -p obexapp/files > /dev/null 2>&1 >echo x - obexapp/files/patch-main.c >sed 's/^X//' >obexapp/files/patch-main.c << 'END-of-obexapp/files/patch-main.c' >X--- main.c.orig Mon Mar 22 21:01:45 2004 >X+++ main.c Mon Mar 22 21:02:10 2004 >X@@ -137,7 +137,7 @@ >X custfunc.listen = obexapp_transport_listen; >X custfunc.write = obexapp_transport_write; >X custfunc.handleinput = obexapp_transport_handle_input; >X- custfunc.userdata = &context; >X+ custfunc.customdata = &context; >X >X /* Process command line options */ >X service = 0; >END-of-obexapp/files/patch-main.c >echo x - obexapp/files/patch-server.c >sed 's/^X//' >obexapp/files/patch-server.c << 'END-of-obexapp/files/patch-server.c' >X--- server.c.orig Mon Mar 22 21:04:12 2004 >X+++ server.c Mon Mar 22 21:32:45 2004 >X@@ -105,6 +105,7 @@ >X { >X context_p context = (context_p) OBEX_GetUserData(handle); >X struct passwd *pw = NULL; >X+ struct sockaddr *saddr = NULL; >X gint error; >X >X if (context->user != NULL) { >X@@ -169,7 +170,13 @@ >X >X g_message("%s: Starting OBEX server", G_GNUC_FUNCTION); >X >X- if (OBEX_ServerRegister(handle, "OBEX") < 0) { >X+ if (( saddr = (struct sockaddr *) g_malloc(sizeof(struct sockaddr))) == NULL) { >X+ g_critical("%s(): Could not allocate saddr", >X+ G_GNUC_FUNCTION); >X+ exit(1); >X+ } >X+ >X+ if (OBEX_ServerRegister(handle, saddr, sizeof(struct sockaddr)) < 0) { >X g_critical("%s(): OBEX_ServerRegister failed", G_GNUC_FUNCTION); >X return (-1); >X } >END-of-obexapp/files/patch-server.c >echo x - obexapp/files/patch-Makefile >sed 's/^X//' >obexapp/files/patch-Makefile << 'END-of-obexapp/files/patch-Makefile' >X--- Makefile.orig Mon Mar 22 22:14:11 2004 >X+++ Makefile Mon Mar 22 22:15:52 2004 >X@@ -1,8 +1,10 @@ >X # $Id: Makefile,v 1.6 2004/03/12 22:10:52 max Exp $ >X # $FreeBSD$ >X >X-BINDIR= /usr/local/bin >X-MANDIR= /usr/local/man/man >X+PREFIX?= /usr/local >X+ >X+BINDIR= ${PREFIX}/bin >X+MANDIR= ${PREFIX}/man/man >X PROG= obexapp >X MAN1= obexapp.1 >X >END-of-obexapp/files/patch-Makefile >echo x - obexapp/pkg-plist >sed 's/^X//' >obexapp/pkg-plist << 'END-of-obexapp/pkg-plist' >Xbin/obexapp >END-of-obexapp/pkg-plist >echo x - obexapp/pkg-descr >sed 's/^X//' >obexapp/pkg-descr << 'END-of-obexapp/pkg-descr' >XAn obex application to transfer objects (address book items, images, movies, anything the target can handle) to mobile devices via IrDA, bluetooth and other protocol via the OBEX format. >X >X- Guido Falsi <mad@madpilot.net> >END-of-obexapp/pkg-descr >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 64597
: 41231