summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-02-27 09:07:07 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-02-27 09:07:07 +0000
commit30048847d910ffb6950414fec1c07586f95205f9 (patch)
tree216b95588c67cd0eadb736dfce9930d42bd97455 /sys-block/endpoint
parentVersion bump. (diff)
downloadgentoo-2-30048847d910ffb6950414fec1c07586f95205f9.tar.gz
gentoo-2-30048847d910ffb6950414fec1c07586f95205f9.tar.bz2
gentoo-2-30048847d910ffb6950414fec1c07586f95205f9.zip
Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'sys-block/endpoint')
-rw-r--r--sys-block/endpoint/ChangeLog11
-rw-r--r--sys-block/endpoint/Manifest9
-rw-r--r--sys-block/endpoint/endpoint-0.1.0.ebuild26
-rw-r--r--sys-block/endpoint/files/digest-endpoint-0.1.03
-rw-r--r--sys-block/endpoint/files/endpoint-0.1.0-errormessages.patch47
-rw-r--r--sys-block/endpoint/metadata.xml15
6 files changed, 111 insertions, 0 deletions
diff --git a/sys-block/endpoint/ChangeLog b/sys-block/endpoint/ChangeLog
new file mode 100644
index 000000000000..45e55f742175
--- /dev/null
+++ b/sys-block/endpoint/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-block/endpoint
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/endpoint/ChangeLog,v 1.1 2006/02/27 09:07:07 robbat2 Exp $
+
+*endpoint-0.1.0 (27 Feb 2006)
+
+ 27 Feb 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +files/endpoint-0.1.0-errormessages.patch, +metadata.xml,
+ +endpoint-0.1.0.ebuild:
+ Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/sys-block/endpoint/Manifest b/sys-block/endpoint/Manifest
new file mode 100644
index 000000000000..24192c0d1ef2
--- /dev/null
+++ b/sys-block/endpoint/Manifest
@@ -0,0 +1,9 @@
+MD5 6b2d36935bfab686ec79c7cf8aa0cb12 endpoint-0.1.0.ebuild 789
+RMD160 a95edbfb1bcb291e1b3918782c185148a0a02004 endpoint-0.1.0.ebuild 789
+SHA256 4bafe05dd751050561ed3b2d322d35ee4550a0277b9bd84619371e91406c1883 endpoint-0.1.0.ebuild 789
+MD5 951e48d703d8afa1150afc84b4eaa2a2 files/digest-endpoint-0.1.0 244
+RMD160 c646844ac9eab6a390b6d0e5337b7945f681bcd7 files/digest-endpoint-0.1.0 244
+SHA256 04714f497c6012fd1c3c106224d4b82b30fd407b337f3197e079bb32c25b2785 files/digest-endpoint-0.1.0 244
+MD5 ced3267b8b685f4bfb46e879fec13c90 files/endpoint-0.1.0-errormessages.patch 1290
+RMD160 3a5245c326605eed14796aa2d8360fb04de98ca6 files/endpoint-0.1.0-errormessages.patch 1290
+SHA256 35f5ec030700a9490f29fda3ad531bafb23d7e48ecd0201d5a19de51dbc0e226 files/endpoint-0.1.0-errormessages.patch 1290
diff --git a/sys-block/endpoint/endpoint-0.1.0.ebuild b/sys-block/endpoint/endpoint-0.1.0.ebuild
new file mode 100644
index 000000000000..0224829b4f9b
--- /dev/null
+++ b/sys-block/endpoint/endpoint-0.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/endpoint/endpoint-0.1.0.ebuild,v 1.1 2006/02/27 09:07:07 robbat2 Exp $
+
+DESCRIPTION="Endpoint turns a Linux machine with one or more firewire cards into an SBP-2 device."
+HOMEPAGE="http://oss.oracle.com/projects/endpoint/"
+SRC_URI="http://oss.oracle.com/projects/endpoint/dist/files/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/libc
+ >=sys-libs/libraw1394-0.9*
+ >=dev-libs/glib-2*"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-errormessages.patch
+}
+
+src_install() {
+ emake -j1 install DESTDIR="${D}"
+ insinto /etc
+ newins docs/sample-endpoint.conf endpoint.conf
+ dodoc README AUTHORS ChangeLog
+}
diff --git a/sys-block/endpoint/files/digest-endpoint-0.1.0 b/sys-block/endpoint/files/digest-endpoint-0.1.0
new file mode 100644
index 000000000000..4bb89214c303
--- /dev/null
+++ b/sys-block/endpoint/files/digest-endpoint-0.1.0
@@ -0,0 +1,3 @@
+MD5 0b352fba7bcbd4a4c9dfe2f1cec4a3b2 endpoint-0.1.0.tar.gz 121954
+RMD160 a93ab2b8e50be8fe6903254f582bac45e36ca1ad endpoint-0.1.0.tar.gz 121954
+SHA256 53831b97f831dabd5694364d06b8ad2f33d1e73ab03f6c57bea3ad96fa7f510a endpoint-0.1.0.tar.gz 121954
diff --git a/sys-block/endpoint/files/endpoint-0.1.0-errormessages.patch b/sys-block/endpoint/files/endpoint-0.1.0-errormessages.patch
new file mode 100644
index 000000000000..17926bc70574
--- /dev/null
+++ b/sys-block/endpoint/files/endpoint-0.1.0-errormessages.patch
@@ -0,0 +1,47 @@
+diff -Naur endpoint-0.1.0/libjconfig/jconfig.c endpoint-0.1.0.new/libjconfig/jconfig.c
+--- endpoint-0.1.0/libjconfig/jconfig.c 2003-10-13 15:21:12.000000000 -0700
++++ endpoint-0.1.0.new/libjconfig/jconfig.c 2006-02-26 23:48:58.000000000 -0800
+@@ -1242,9 +1242,12 @@
+ cfc = j_config_new_context();
+ if (cfc)
+ {
++ j_config_context_set_verbose(cfc,TRUE);
+ cf = j_config_parse_file_with_context(cfc, filename);
+ j_config_context_free(cfc);
+- }
++ } else {
++ g_warning("Failed to get config context.\n");
++ }
+
+ return(cf);
+ } /* j_config_parse_file() */
+diff -Naur endpoint-0.1.0/src/main.c endpoint-0.1.0.new/src/main.c
+--- endpoint-0.1.0/src/main.c 2003-10-13 15:21:14.000000000 -0700
++++ endpoint-0.1.0.new/src/main.c 2006-02-26 23:44:42.000000000 -0800
+@@ -133,7 +133,7 @@
+
+ if (!app)
+ {
+- /* ERROR MESSAGE */
++ fprintf(stderr,"Failed to parse config file %s.\n",configfile);
+ exit (1);
+ }
+
+@@ -142,7 +142,7 @@
+
+ if (app->ps_len < strlen (MASTER_NAME))
+ {
+- /* ERROR MESSAGE */
++ fprintf(stderr,"Failed strlen(MASTER_NAME).\n");
+ exit (1);
+ }
+
+@@ -152,7 +152,7 @@
+
+ if (!wire_init ())
+ {
+- /* ERROR MESSAGE */
++ fprintf(stderr,"Failed wire_init.\n");
+ exit (1);
+ }
+
diff --git a/sys-block/endpoint/metadata.xml b/sys-block/endpoint/metadata.xml
new file mode 100644
index 000000000000..4ec666d51226
--- /dev/null
+++ b/sys-block/endpoint/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ Endpoint turns a Linux machine with one or more firewire cards into an SBP-2
+ device. The advantage is that you can use any file or device the linux
+ machine supports as storage, and that multiple clients can sit on separate
+ buses so they can get the full bandwidth of the bus.
+ </longdescription>
+</pkgmetadata>
+