aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-10-23 21:22:27 +0100
committerSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-10-23 21:22:27 +0100
commit517a0451cd223fe8219449ad03b12847ba3d57b2 (patch)
tree2d9b61c4395d49201b6063260a7c3280576cc4cc
parentAdded classads (diff)
downloadsci-517a0451cd223fe8219449ad03b12847ba3d57b2.tar.gz
sci-517a0451cd223fe8219449ad03b12847ba3d57b2.tar.bz2
sci-517a0451cd223fe8219449ad03b12847ba3d57b2.zip
Added gcb
-rw-r--r--net-firewall/gcb/ChangeLog10
-rw-r--r--net-firewall/gcb/Manifest5
-rw-r--r--net-firewall/gcb/files/gcb-1.5.6-shared.patch104
-rw-r--r--net-firewall/gcb/gcb-1.5.6.ebuild33
-rw-r--r--net-firewall/gcb/metadata.xml15
5 files changed, 167 insertions, 0 deletions
diff --git a/net-firewall/gcb/ChangeLog b/net-firewall/gcb/ChangeLog
new file mode 100644
index 000000000..fd9bfd2e6
--- /dev/null
+++ b/net-firewall/gcb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-firewall/gcb
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*gcb-1.5.6 (23 Oct 2009)
+
+ 23 Oct 2009; S├ębastien Fabbro <bicatali@gentoo.org> +gcb-1.5.6.ebuild,
+ +files/gcb-1.5.6-shared.patch, +metadata.xml:
+ Initial import, needed for condor
+
diff --git a/net-firewall/gcb/Manifest b/net-firewall/gcb/Manifest
new file mode 100644
index 000000000..dd3512a33
--- /dev/null
+++ b/net-firewall/gcb/Manifest
@@ -0,0 +1,5 @@
+AUX gcb-1.5.6-shared.patch 4503 RMD160 9c7b263987e2c88d52f8776f87a2f32a6a67f4e0 SHA1 dc84e989ee01b6e98f9b06f7a0f09572d799a02c SHA256 538dcdba63a891137bef77a69c58208cf56e102c2c3e9185f99baf206029acf6
+DIST gcb-1.5.6.tar.gz 1326341 RMD160 2cbdd3596ebb521d62e873a55c722c7c14165724 SHA1 229191a7924468ee453956f807b9d2b1ca26df35 SHA256 315ac4f325060d7df7ae03361d959151619cb308841207322cc2bd91193054bb
+EBUILD gcb-1.5.6.ebuild 702 RMD160 5a67e5e0a98569d93b4ca3244c40dbf5cf25c5de SHA1 4db56fe352b310a94dd47b80378249d2e6e56a16 SHA256 dde603e802913522936877f247bbe9e1ef941da8e2737d5423afe84c8a6822bf
+MISC ChangeLog 302 RMD160 08a5acbcc6c3642c3b5c371ae323d089d152fd88 SHA1 71e9f84f2bf3a1c156d6ec470a37d8489e1f47f4 SHA256 cda30df31ccec034b37143a26c690b18f8b1824ba87774680824e5e8aea1ccc0
+MISC metadata.xml 617 RMD160 38736667fdb338f050bdd626bca46ba439425f82 SHA1 97153fb49e53fbfa1e42dbe1a19066483d48bfc9 SHA256 975d6074d71c61a5c39c46ca6f180102bfbcea670ab86ef6a53bdcd0fd7e1450
diff --git a/net-firewall/gcb/files/gcb-1.5.6-shared.patch b/net-firewall/gcb/files/gcb-1.5.6-shared.patch
new file mode 100644
index 000000000..9f66e9fe9
--- /dev/null
+++ b/net-firewall/gcb/files/gcb-1.5.6-shared.patch
@@ -0,0 +1,104 @@
+diff -Nur gcb-1.5.6.orig/configure.ac gcb-1.5.6/configure.ac
+--- gcb-1.5.6.orig/configure.ac 2009-10-23 20:26:41.000000000 +0100
++++ gcb-1.5.6/configure.ac 2009-10-23 20:27:13.000000000 +0100
+@@ -20,9 +20,7 @@
+ AC_PROG_AWK
+ AC_PROG_CC
+ AC_PROG_CXX
+-AC_PROG_INSTALL
+-AC_PROG_LN_S
+-AC_PROG_RANLIB
++AC_PROG_LIBTOOL
+
+ if test x$_cv_uname_sysname = "xIRIX" ; then
+ CHECK_SOURCE_STANDARDS_DEFINE([_SGI_SOURCE],[1],
+diff -Nur gcb-1.5.6.orig/src/client/Makefile.am gcb-1.5.6/src/client/Makefile.am
+--- gcb-1.5.6.orig/src/client/Makefile.am 2009-10-23 20:26:41.000000000 +0100
++++ gcb-1.5.6/src/client/Makefile.am 2009-10-23 21:19:34.000000000 +0100
+@@ -22,12 +22,13 @@
+
+ AM_CFLAGS = -Wall
+
+-lib_LIBRARIES = libGCB.a
+-libGCB_a_SOURCES = accept.c client_util.c dup.c get_GCB_env.c \
++lib_LTLIBRARIES = libGCB.la
++libGCB_la_SOURCES = accept.c client_util.c dup.c get_GCB_env.c \
+ inherit.c route.c serialize.c active.c close.c getsockname.c \
+ init.c select.c socket.c async_event.c connect.c execv.c \
+ getsockopt.c listen.c send.c bind.c data.c heartbeat.c recv.c \
+ sendto.c generic_socket.c wrap.c non_block.c query.c
+
+-libGCB_a_LIBADD = ../common/log.o ../common/util.o ../common/ex_cmd.o ../common/gcbstring.o
++libGCB_la_LIBADD = ../common/log.lo ../common/util.lo ../common/ex_cmd.lo ../common/gcbstring.lo
++libGCB_la_LDFLAGS = -Wl,--wrap,socket -Wl,--wrap,bind -Wl,--wrap,listen -Wl,--wrap,connect -Wl,--wrap,accept -Wl,--wrap,select -Wl,--wrap,recv -Wl,--wrap,read -Wl,--wrap,recvfrom -Wl,--wrap,send -Wl,--wrap,sendto -Wl,--wrap,write -Wl,--wrap,close -Wl,--wrap,dup -Wl,--wrap,dup2 -Wl,--wrap,getsockname -Wl,--wrap,getsockaddr -Wl,--wrap,getsockopt -Wl,--wrap,execv -Wl,--wrap,execve -Wl,--wrap,execl
+ noinst_HEADERS = client.h
+diff -Nur gcb-1.5.6.orig/src/common/Makefile.am gcb-1.5.6/src/common/Makefile.am
+--- gcb-1.5.6.orig/src/common/Makefile.am 2009-10-23 20:26:41.000000000 +0100
++++ gcb-1.5.6/src/common/Makefile.am 2009-10-23 20:28:10.000000000 +0100
+@@ -24,7 +24,7 @@
+
+ ## This library is not being installed on user's site. This is just for
+ ## internal use
+-noinst_LIBRARIES = libGCBcomm.a
++noinst_LTLIBRARIES = libGCBcomm.la
+
+ ## Source files in library
+-libGCBcomm_a_SOURCES = log.c util.c ex_cmd.c get_exec_path.c gcbstring.c
++libGCBcomm_la_SOURCES = log.c util.c ex_cmd.c get_exec_path.c gcbstring.c
+diff -Nur gcb-1.5.6.orig/src/server/Makefile.am gcb-1.5.6/src/server/Makefile.am
+--- gcb-1.5.6.orig/src/server/Makefile.am 2009-10-23 20:26:41.000000000 +0100
++++ gcb-1.5.6/src/server/Makefile.am 2009-10-23 20:29:58.000000000 +0100
+@@ -20,7 +20,7 @@
+ ## Makefile.am -- Process this file with automake to produce Makefile.in
+
+ INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
+-LDADD = ../common/libGCBcomm.a
++LDADD = ../common/libGCBcomm.la
+ AM_CFLAGS = -Wall
+ AM_CXXFLAGS = -Wall
+
+diff -Nur gcb-1.5.6.orig/src/test/Makefile.am gcb-1.5.6/src/test/Makefile.am
+--- gcb-1.5.6.orig/src/test/Makefile.am 2009-10-23 20:26:41.000000000 +0100
++++ gcb-1.5.6/src/test/Makefile.am 2009-10-23 20:52:17.000000000 +0100
+@@ -24,7 +24,7 @@
+ AM_CXXFLAGS = -Wall
+
+ # Programs to build and install
+-noinst_PROGRAMS = log_t GCB_t EchoServer TCPecho get_exec_path_t\
++check_PROGRAMS = log_t GCB_t EchoServer TCPecho get_exec_path_t\
+ tcp_server_1 tcp_client_1\
+ udp_server_1 udp_client_1\
+ tcp_server_2 tcp_client_2\
+@@ -35,16 +35,16 @@
+
+ # log_t source and lib
+ log_t_SOURCES = log_t.c
+-log_t_LDADD = ../common/libGCBcomm.a
++log_t_LDADD = ../common/libGCBcomm.la
+
+ get_exec_path_t_SOURCES = get_exec_path_t.c
+-get_exec_path_t_LDADD = ../common/libGCBcomm.a
++get_exec_path_t_LDADD = ../common/libGCBcomm.la
+
+ # RUDP_t source and lib
+ #RUDP_t_SOURCES = RUDP_t.C
+-#RUDP_t_LDADD = ../common/libGCBcomm.a
++#RUDP_t_LDADD = ../common/libGCBcomm.la
+
+-GCB_TEST_LIB = ../client/libGCB.a ../common/libGCBcomm.a
++GCB_TEST_LIB = ../client/libGCB.la ../common/libGCBcomm.la
+
+ # GCB_t source and lib
+ GCB_t_SOURCES = GCB_t.C
+diff -Nur gcb-1.5.6.orig/src/tools/Makefile.am gcb-1.5.6/src/tools/Makefile.am
+--- gcb-1.5.6.orig/src/tools/Makefile.am 2009-10-23 20:26:41.000000000 +0100
++++ gcb-1.5.6/src/tools/Makefile.am 2009-10-23 20:30:20.000000000 +0100
+@@ -20,7 +20,7 @@
+ ## Makefile.am -- Process this file with automake to produce Makefile.in
+
+ INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
+-LDADD = ../common/libGCBcomm.a
++LDADD = ../common/libGCBcomm.la
+ AM_CFLAGS = -Wall
+ AM_CXXFLAGS = -Wall
+
diff --git a/net-firewall/gcb/gcb-1.5.6.ebuild b/net-firewall/gcb/gcb-1.5.6.ebuild
new file mode 100644
index 000000000..50d3117d8
--- /dev/null
+++ b/net-firewall/gcb/gcb-1.5.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils autotools
+
+DESCRIPTION="Generic Connection Brokering for communications over firewall/NAT"
+HOMEPAGE="http://www.cs.wisc.edu/condor/gcb"
+SRC_URI="${HOMEPAGE}/download/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-shared.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NOTICE.txt doc/protocol.txt
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/*.pdf || die
+ fi
+}
diff --git a/net-firewall/gcb/metadata.xml b/net-firewall/gcb/metadata.xml
new file mode 100644
index 000000000..0c28ccc79
--- /dev/null
+++ b/net-firewall/gcb/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>hp-cluster</herd>
+<maintainer>
+ <email>bicatali@gentoo.org</email>
+</maintainer>
+<longdescription lang='en'>
+ Generic Connection Brokering (GCB) is a firewall/NAT traversal
+ solution that enables communications over firewall/NAT. It consists
+ of daemon processes and a communication library that is supposed to
+ be linked with applications. GCB enables connections into networks
+ behind firewall/NAT by reversing the direction of the connections.
+</longdescription>
+</pkgmetadata>