summaryrefslogtreecommitdiff
path: root/sys-block/endpoint
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /sys-block/endpoint
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'sys-block/endpoint')
-rw-r--r--sys-block/endpoint/Manifest1
-rw-r--r--sys-block/endpoint/endpoint-0.1.0-r2.ebuild33
-rw-r--r--sys-block/endpoint/files/endpoint-0.1.0-ar.patch32
-rw-r--r--sys-block/endpoint/files/endpoint-0.1.0-errormessages.patch47
-rw-r--r--sys-block/endpoint/files/endpoint-0.1.0-impl-exit.patch12
-rw-r--r--sys-block/endpoint/metadata.xml15
6 files changed, 140 insertions, 0 deletions
diff --git a/sys-block/endpoint/Manifest b/sys-block/endpoint/Manifest
new file mode 100644
index 000000000000..994a3409a68c
--- /dev/null
+++ b/sys-block/endpoint/Manifest
@@ -0,0 +1 @@
+DIST endpoint-0.1.0.tar.gz 121954 BLAKE2B a41cf9cfc5f3215d719738ecc76b05476be304bd66fa22e1e21923434c1c37b8ed7569e84b668296559452f87422db3d9bb766e3214332ed227f5769a886c6a2 SHA512 9fbba37c3521a6b30327e65e40cbfbd4a0db7d8592b463e5fa4d6f200bb091bd7f659f13307c3d26312d39ace097942e251afd645570342a859f8699b8afee0c
diff --git a/sys-block/endpoint/endpoint-0.1.0-r2.ebuild b/sys-block/endpoint/endpoint-0.1.0-r2.ebuild
new file mode 100644
index 000000000000..2287991fb3a1
--- /dev/null
+++ b/sys-block/endpoint/endpoint-0.1.0-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Endpoint turns a Linux machine with a firewire card 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="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/libraw1394-0.9
+ >=dev-libs/glib-2:2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-errormessages.patch
+ "${FILESDIR}"/${P}-impl-exit.patch
+ "${FILESDIR}"/${P}-ar.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/endpoint-0.1.0-ar.patch b/sys-block/endpoint/files/endpoint-0.1.0-ar.patch
new file mode 100644
index 000000000000..fb80b485195f
--- /dev/null
+++ b/sys-block/endpoint/files/endpoint-0.1.0-ar.patch
@@ -0,0 +1,32 @@
+Use toolchain ar instead of declaring it explicitly
+https://bugs.gentoo.org/725772
+--- a/libjconfig/Makefile.in
++++ b/libjconfig/Makefile.in
+@@ -163,7 +163,6 @@
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+-AR = ar
+
+ clean-noinstLIBRARIES:
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+--- a/librbc/Makefile.in
++++ b/librbc/Makefile.in
+@@ -169,7 +169,6 @@
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+-AR = ar
+
+ clean-noinstLIBRARIES:
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+--- a/libsbp2/Makefile.in
++++ b/libsbp2/Makefile.in
+@@ -185,7 +185,6 @@
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+-AR = ar
+
+ clean-noinstLIBRARIES:
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
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/files/endpoint-0.1.0-impl-exit.patch b/sys-block/endpoint/files/endpoint-0.1.0-impl-exit.patch
new file mode 100644
index 000000000000..f5f4d57535b0
--- /dev/null
+++ b/sys-block/endpoint/files/endpoint-0.1.0-impl-exit.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/908584
+Add include with exit so test doesn't fail
+--- a/configure
++++ b/configure
+@@ -3291,6 +3291,7 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ #include <ctype.h>
++#include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
diff --git a/sys-block/endpoint/metadata.xml b/sys-block/endpoint/metadata.xml
new file mode 100644
index 000000000000..cc20c15f7de5
--- /dev/null
+++ b/sys-block/endpoint/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </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>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>