Import openobex-1.0.1.

openobex is an open source implementation of the Object
Exchange (OBEX) protocol. OBEX is a session protocol and
can best be described as a binary HTTP protocol. OBEX is
optimised for ad-hoc wireless links and can be used to
exchange all kind of objects like files, pictures, calendar
entries (vCal) and business cards (vCard).

Some help and ok naddy@.
This commit is contained in:
grange 2004-11-12 08:04:22 +00:00
parent c20e749cd4
commit 667b76c79a
11 changed files with 131 additions and 0 deletions

20
comms/openobex/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
COMMENT= "OBEX protocol implementation"
DISTNAME= openobex-1.0.1
CATEGORIES= comms
HOMEPAGE= http://openobex.sourceforge.net/
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

3
comms/openobex/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (openobex-1.0.1.tar.gz) = 3742666bb98259face76be49b73ea89d
RMD160 (openobex-1.0.1.tar.gz) = 70dc7d2e38b819af0c35ccb26f806b7aa7682b0e
SHA1 (openobex-1.0.1.tar.gz) = aa73b3f9e345088e8f1c070e0e727f586820d20e

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-openobex-config_in,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- openobex-config.in.orig Wed Oct 20 22:18:55 2004
+++ openobex-config.in Wed Oct 20 22:19:30 2004
@@ -4,6 +4,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
includedir=@includedir@
+libdir=@libdir@
usage()
{
@@ -87,7 +88,7 @@ if $cflags; then
fi
if $libs; then
- all_flags="$all_flags $services $the_libs -lopenobex"
+ all_flags="$all_flags $services $the_libs -L$libdir -lopenobex"
fi
if test -z "$all_flags" || test "x$all_flags" = "x "; then

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- src/Makefile.in.orig Fri Nov 12 10:51:50 2004
+++ src/Makefile.in Fri Nov 12 10:52:19 2004
@@ -95,7 +95,7 @@ lib_LTLIBRARIES = libopenobex.la
libopenobex_la_SOURCES = obex.c obex_main.c obex_main.h obex_connect.c obex_connect.h obex_header.c obex_header.h obex_object.c obex_object.h obex_transport.c obex_transport.h obex_server.c obex_server.h obex_client.c obex_client.h irobex.c irobex.h inobex.c inobex.h btobex.c btobex.h netbuf.c netbuf.h irda.h irda_wrap.h
-libopenobex_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-symbols $(top_srcdir)/src/obex.sym
+libopenobex_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -export-symbols $(top_srcdir)/src/obex.sym
INCLUDES = -I$(top_srcdir)/src

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_irda_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- src/irda.h.orig Wed Oct 20 21:47:28 2004
+++ src/irda.h Wed Oct 20 21:47:46 2004
@@ -26,7 +26,9 @@
#define IRDA_H
#include <sys/types.h>
+#ifndef __OpenBSD__
#include <stdint.h>
+#endif
/* Hint bit positions for first hint byte */
#define HINT_PNP 0x01

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_netbuf_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- src/netbuf.h.orig Wed Oct 20 21:48:32 2004
+++ src/netbuf.h Wed Oct 20 21:48:55 2004
@@ -37,7 +37,11 @@
#ifndef G_NETBUF_H
#define G_NETBUF_H
+#ifndef __OpenBSD__
#include <stdint.h>
+#else
+#include <sys/types.h>
+#endif
typedef struct _slist_t{
void *data;

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_obex_const_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- src/obex_const.h.orig Wed Oct 20 21:46:41 2004
+++ src/obex_const.h Wed Oct 20 21:47:01 2004
@@ -30,7 +30,11 @@
#ifndef OBEX_CONST_H
#define OBEX_CONST_H
+#ifndef __OpenBSD__
#include <stdint.h>
+#else
+#include <sys/types.h>
+#endif
typedef union {
uint32_t bq4;

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_obex_h,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
--- src/obex.h.orig Wed Oct 20 21:47:57 2004
+++ src/obex.h Wed Oct 20 21:48:22 2004
@@ -30,7 +30,11 @@
#ifndef OBEX_H
#define OBEX_H
+#ifndef __OpenBSD__
#include <stdint.h>
+#else
+#include <sys/types.h>
+#endif
#ifdef _WIN32
#include <winsock.h>

6
comms/openobex/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
openobex is an open source implementation of the Object
Exchange (OBEX) protocol. OBEX is a session protocol and
can best be described as a binary HTTP protocol. OBEX is
optimised for ad-hoc wireless links and can be used to
exchange all kind of objects like files, pictures, calendar
entries (vCal) and business cards (vCard).

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
@lib lib/libopenobex.so.1.0

10
comms/openobex/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/12 08:04:22 grange Exp $
%%SHARED%%
bin/openobex-config
include/openobex/
include/openobex/obex.h
include/openobex/obex_const.h
lib/libopenobex.a
lib/libopenobex.la
share/aclocal/
share/aclocal/openobex.m4