summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2004-12-15 16:53:33 +0000
committerAndrej Kacian <ticho@gentoo.org>2004-12-15 16:53:33 +0000
commita2cb899a517beb5bc310500e118133223eb0524d (patch)
tree3f5e109f813c72c51c80e8b85c39d5c7490b622a /net-wireless/opd
parentAdjusted wxgtk deps (Manifest recommit) (diff)
downloadgentoo-2-a2cb899a517beb5bc310500e118133223eb0524d.tar.gz
gentoo-2-a2cb899a517beb5bc310500e118133223eb0524d.tar.bz2
gentoo-2-a2cb899a517beb5bc310500e118133223eb0524d.zip
Initial import.
Diffstat (limited to 'net-wireless/opd')
-rw-r--r--net-wireless/opd/ChangeLog10
-rw-r--r--net-wireless/opd/Manifest6
-rw-r--r--net-wireless/opd/files/0.2-compile-fix.patch77
-rw-r--r--net-wireless/opd/files/digest-opd-0.21
-rw-r--r--net-wireless/opd/metadata.xml10
-rw-r--r--net-wireless/opd/opd-0.2.ebuild36
6 files changed, 140 insertions, 0 deletions
diff --git a/net-wireless/opd/ChangeLog b/net-wireless/opd/ChangeLog
new file mode 100644
index 000000000000..a9a2d96db96e
--- /dev/null
+++ b/net-wireless/opd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-wireless/opd
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/opd/ChangeLog,v 1.1 2004/12/15 16:53:33 ticho Exp $
+
+*opd-0.2 (15 Dec 2004)
+
+ 15 Dec 2004; Andrej Kacian <ticho@gentoo.org> +metadata.xml,
+ +files/0.2-compile-fix.patch, +opd-0.2.ebuild:
+ Initial import.
+
diff --git a/net-wireless/opd/Manifest b/net-wireless/opd/Manifest
new file mode 100644
index 000000000000..e19943e396b6
--- /dev/null
+++ b/net-wireless/opd/Manifest
@@ -0,0 +1,6 @@
+MD5 06880c45c9ba9b21c9624494150e5758 opd-0.2.ebuild 692
+MD5 53c11476ac2f2668f4c154c1d0055e44 skel.metadata.xml 789
+MD5 41b06d0a80915d08c681c65343c5beef skel.ChangeLog 3666
+MD5 ccd1160b16bc87a961ce87531fd7891f files/0.2.20030318-compile-fix.patch 2176
+MD5 909c32de3fb03ded83b7246375834dad files/digest-opd-0.2 66
+MD5 2a2298396249b8a20411f49cef632514 files/digest-opd-0.2.20030318 74
diff --git a/net-wireless/opd/files/0.2-compile-fix.patch b/net-wireless/opd/files/0.2-compile-fix.patch
new file mode 100644
index 000000000000..d2576a0afc3b
--- /dev/null
+++ b/net-wireless/opd/files/0.2-compile-fix.patch
@@ -0,0 +1,77 @@
+--- orig/obex_handler.c 2003-03-18 16:35:04.000000000 +0100
++++ fixed/obex_handler.c 2004-12-15 17:29:11.303999448 +0100
+@@ -364,7 +364,7 @@
+
+
+ default:
+- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
++ printf("%s() Skipped header %02x\n", __FUNCTION__, hi);
+ }
+ }
+
+@@ -499,12 +499,12 @@
+
+
+
+- printf(__FUNCTION__ "()\n");
++ printf("%s()\n", __FUNCTION__);
+
+ while(OBEX_ObjectGetNextHeader(handle, object, &hi, &hv, &hlen)){
+ switch(hi) {
+ case OBEX_HDR_NAME:
+- printf(__FUNCTION__ "() Found name\n");
++ printf("%s() Found name\n", __FUNCTION__);
+
+ if( hlen/2 < sizeof(NameBuf) ){
+ OBEX_UnicodeToChar(NameBuf, hv.bs, hlen);
+@@ -513,7 +513,7 @@
+ break;
+
+ case OBEX_HDR_TYPE:
+- printf(__FUNCTION__ "() HEADER_TYPE = '%s' #%d \n", hv.bs, hlen);
++ printf("%s() HEADER_TYPE = '%s' #%d \n", __FUNCTION__, hv.bs, hlen);
+
+ if( hlen < sizeof(TypeBuf) ){
+ strcpy(TypeBuf,hv.bs);
+@@ -522,17 +522,17 @@
+ break;
+
+ case 0xcb:
+- printf(__FUNCTION__ "()CONNECTION_ID = %#x (%d length)\n", hv.bq4,hlen);
++ printf("%s()CONNECTION_ID = %#x (%d length)\n", __FUNCTION__, hv.bq4,hlen);
+ break;
+
+ case 0x71:
+- printf(__FUNCTION__ "()IMAGE_DESCRIPTION = ? (%d length)\n",hlen);
++ printf("%s()IMAGE_DESCRIPTION = ? (%d length)\n", __FUNCTION__, hlen);
+ dump_hex((void *)hv.bs,hlen);
+ break;
+
+
+ default:
+- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
++ printf("%s() Skipped header %02x\n", __FUNCTION__, hi);
+ }
+ }
+
+@@ -556,9 +556,9 @@
+ // We won'tanswer any other get's.
+ //
+ if(GotName){
+- printf(__FUNCTION__ "() Got a request for %s\n", NameBuf);
++ printf("%s() Got a request for %s\n", __FUNCTION__, NameBuf);
+ }else{
+- printf(__FUNCTION__ "() Got a GET without a name-header!\n");
++ printf("%s() Got a GET without a name-header!\n", __FUNCTION__);
+ }
+
+ OBEX_ObjectSetRsp(object, OBEX_RSP_NOT_FOUND, OBEX_RSP_NOT_FOUND);
+@@ -618,7 +618,7 @@
+ break;
+
+ default:
+- printf(__FUNCTION__ "() Denied %02x request\n", cmd);
++ printf("%s() Denied %02x request\n", __FUNCTION__, cmd);
+
+ OBEX_ObjectSetRsp(object, OBEX_RSP_NOT_IMPLEMENTED, OBEX_RSP_NOT_IMPLEMENTED);
+ break;
diff --git a/net-wireless/opd/files/digest-opd-0.2 b/net-wireless/opd/files/digest-opd-0.2
new file mode 100644
index 000000000000..c7c04a36f9cd
--- /dev/null
+++ b/net-wireless/opd/files/digest-opd-0.2
@@ -0,0 +1 @@
+MD5 8b016504aab0b595f9a36dba1a208c76 opd-v0.2-2003-03-18.tgz 9499
diff --git a/net-wireless/opd/metadata.xml b/net-wireless/opd/metadata.xml
new file mode 100644
index 000000000000..fededa19362e
--- /dev/null
+++ b/net-wireless/opd/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-wireless</herd>
+ <maintainer>
+ <email>ticho@gentoo.org</email>
+ <name>Andrej Kacian</name>
+ </maintainer>
+ <longdescription>OBEX Push daemon for BlueZ and IrDA.</longdescription>
+</pkgmetadata>
diff --git a/net-wireless/opd/opd-0.2.ebuild b/net-wireless/opd/opd-0.2.ebuild
new file mode 100644
index 000000000000..d755538e0c00
--- /dev/null
+++ b/net-wireless/opd/opd-0.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/opd/opd-0.2.ebuild,v 1.1 2004/12/15 16:53:33 ticho Exp $
+
+inherit eutils
+
+MY_PV="v${PV}-2003-03-18"
+DESCRIPTION="OBEX Push daemon for BlueZ and IrDA."
+HOMEPAGE="http://oss.bdit.de/opd.html"
+SRC_URI="http://oss.bdit.de/download/opd-${MY_PV}.tgz"
+LICENSE="as-is"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/libc
+ dev-libs/openobex
+ net-wireless/bluez-libs"
+
+
+S=${WORKDIR}
+
+src_compile() {
+ epatch ${FILESDIR}/${PV}-compile-fix.patch
+ make || "compilation failed"
+}
+
+src_install() {
+ dobin opd
+}
+
+pkg_postinst() {
+ einfo "As there is no documentation included, please read the information on URL:"
+ einfo "\t\t${HOMEPAGE}"
+}