From f9e77b406b3e178fade8fc27c4d91bb779a56d3a Mon Sep 17 00:00:00 2001 From: rohee Date: Tue, 23 Mar 1999 19:24:31 +0000 Subject: [PATCH] ORBit, a CORBA ORB, import --- devel/ORBit/Makefile | 32 ++++++++++++ devel/ORBit/files/md5 | 3 ++ devel/ORBit/patches/patch-aa | 21 ++++++++ devel/ORBit/patches/patch-ab | 23 +++++++++ devel/ORBit/patches/patch-ac | 39 +++++++++++++++ devel/ORBit/patches/patch-ad | 14 ++++++ devel/ORBit/patches/patch-ae | 21 ++++++++ devel/ORBit/patches/patch-af | 18 +++++++ devel/ORBit/patches/patch-ag | 14 ++++++ devel/ORBit/patches/patch-ah | 21 ++++++++ devel/ORBit/patches/patch-ai | 14 ++++++ devel/ORBit/patches/patch-aj | 28 +++++++++++ devel/ORBit/patches/patch-ak | 14 ++++++ devel/ORBit/patches/patch-al | 14 ++++++ devel/ORBit/pkg/COMMENT | 1 + devel/ORBit/pkg/DESCR | 3 ++ devel/ORBit/pkg/PLIST | 94 ++++++++++++++++++++++++++++++++++++ 17 files changed, 374 insertions(+) create mode 100644 devel/ORBit/Makefile create mode 100644 devel/ORBit/files/md5 create mode 100644 devel/ORBit/patches/patch-aa create mode 100644 devel/ORBit/patches/patch-ab create mode 100644 devel/ORBit/patches/patch-ac create mode 100644 devel/ORBit/patches/patch-ad create mode 100644 devel/ORBit/patches/patch-ae create mode 100644 devel/ORBit/patches/patch-af create mode 100644 devel/ORBit/patches/patch-ag create mode 100644 devel/ORBit/patches/patch-ah create mode 100644 devel/ORBit/patches/patch-ai create mode 100644 devel/ORBit/patches/patch-aj create mode 100644 devel/ORBit/patches/patch-ak create mode 100644 devel/ORBit/patches/patch-al create mode 100644 devel/ORBit/pkg/COMMENT create mode 100644 devel/ORBit/pkg/DESCR create mode 100644 devel/ORBit/pkg/PLIST diff --git a/devel/ORBit/Makefile b/devel/ORBit/Makefile new file mode 100644 index 00000000000..5c64b83881a --- /dev/null +++ b/devel/ORBit/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/03/23 19:24:31 rohee Exp $ + +DISTNAME = ORBit-0.4.0 +CATEGORIES = devel gnome corba + +NEED_VERSION = 1.78 + +MAINTAINER = rohee@OpenBSD.ORG + +MASTER_SITES = ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR = ORBit + +BUILD_DEPENDS = libtool:${PORTSDIR}/devel/libtool +LIB_DEPENDS += glib\.1\.2:${PORTSDIR}/devel/glib +RUN_DEPENDS += gindent:${PORTSDIR}/devel/gindent + +USE_GMAKE = yes + +GNU_CONFIGURE = yes +CONFIGURE_ARGS += ${CONFIGURE_SHARED} # does not honour it +CONFIGURE_ARGS += --sysconfdir=/etc +CONFIGURE_ARGS += --disable-indent + +CONFIGURE_ENV += LIBTOOL=/usr/local/bin/libtool + +post-install: + test -f ${PREFIX}/info/dir || \ + sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir + install-info ${PREFIX}/info/libIDL.info ${PREFIX}/info/dir + ${LDCONFIG} -m ${PREFIX}/lib + +.include diff --git a/devel/ORBit/files/md5 b/devel/ORBit/files/md5 new file mode 100644 index 00000000000..2c7156db52a --- /dev/null +++ b/devel/ORBit/files/md5 @@ -0,0 +1,3 @@ +SHA1 (ORBit-0.4.0.tar.gz) = 76fe8a4eca258d6edcba709395c8fae97e00254d +RMD160 (ORBit-0.4.0.tar.gz) = 1f34aa4f69aa61e2eae8424c15d758c63ffd327a +MD5 (ORBit-0.4.0.tar.gz) = 41182664df08b1a5c4a9a7e46823d0cc diff --git a/devel/ORBit/patches/patch-aa b/devel/ORBit/patches/patch-aa new file mode 100644 index 00000000000..672f1c2b772 --- /dev/null +++ b/devel/ORBit/patches/patch-aa @@ -0,0 +1,21 @@ +$OpenBSD: patch-aa,v 1.1.1.1 1999/03/23 19:24:31 rohee Exp $ +$NetBSD: patch-aa,v 1.3 1999/03/05 00:25:10 tron Exp $ + +--- popt/configure.orig Wed Feb 24 20:54:33 1999 ++++ popt/configure Thu Mar 4 23:23:12 1999 +@@ -1895,6 +1895,7 @@ + fi + + # Always use our own libtool. ++if false; then + LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + # Check for any special flags to pass to ltconfig. +@@ -2126,6 +2127,7 @@ + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ + $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } ++fi + + # Redirect the config.log output again, so that the ltconfig log is not + # clobbered by the next message. diff --git a/devel/ORBit/patches/patch-ab b/devel/ORBit/patches/patch-ab new file mode 100644 index 00000000000..3d5b5fe75ff --- /dev/null +++ b/devel/ORBit/patches/patch-ab @@ -0,0 +1,23 @@ +$OpenBSD: patch-ab,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ab,v 1.2 1999/03/05 00:25:10 tron Exp $ + +--- Makefile.in.orig Thu Feb 25 16:17:03 1999 ++++ Makefile.in Thu Mar 4 23:51:40 1999 +@@ -48,7 +48,7 @@ + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} + transform = @program_transform_name@ + + NORMAL_INSTALL = : +@@ -93,7 +93,7 @@ + + AUTOMAKE_OPTIONS = 1.3 # required version of automake. + +-SUBDIRS = popt libIDL src test ++SUBDIRS = popt libIDL src + + bin_SCRIPTS = orbit-config + diff --git a/devel/ORBit/patches/patch-ac b/devel/ORBit/patches/patch-ac new file mode 100644 index 00000000000..b241a69dd84 --- /dev/null +++ b/devel/ORBit/patches/patch-ac @@ -0,0 +1,39 @@ +$OpenBSD: patch-ac,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ac,v 1.1 1998/08/20 22:07:25 agc Exp $ + +Use NetBSD's libtool package +Comment out erroneous setting of INSTALL variable. + +--- configure 1998/08/19 10:37:24 1.1 ++++ configure 1998/08/19 10:38:11 +@@ -1236,6 +1236,7 @@ + echo "$ac_t""no" 1>&6 + fi + ++if false; then + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +@@ -1281,6 +1282,7 @@ + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ + $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } ++fi + + # Redirect the config.log output again, so that the ltconfig log is not + # clobbered by the next message. +@@ -3261,10 +3263,10 @@ + *) # Relative path. + ac_sub_cache_file="$ac_dots$cache_file" ;; + esac +- case "$ac_given_INSTALL" in +- [/$]*) INSTALL="$ac_given_INSTALL" ;; +- *) INSTALL="$ac_dots$ac_given_INSTALL" ;; +- esac ++# case "$ac_given_INSTALL" in ++# [/$]*) INSTALL="$ac_given_INSTALL" ;; ++# *) INSTALL="$ac_dots$ac_given_INSTALL" ;; ++# esac + + echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" + # The eval makes quoting arguments work. diff --git a/devel/ORBit/patches/patch-ad b/devel/ORBit/patches/patch-ad new file mode 100644 index 00000000000..e689ff055ff --- /dev/null +++ b/devel/ORBit/patches/patch-ad @@ -0,0 +1,14 @@ +$OpenBSD: patch-ad,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ad,v 1.3 1999/03/05 00:25:10 tron Exp $ + +--- popt/Makefile.in.orig Thu Feb 25 16:17:05 1999 ++++ popt/Makefile.in Thu Mar 4 23:25:05 1999 +@@ -122,7 +122,7 @@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ++LINK = $(LIBTOOL) --mode=link $(CCLD) -rpath $(PREFIX)/lib $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ + HEADERS = $(noinst_HEADERS) + + DIST_COMMON = README ./stamp-h.in COPYING Makefile.am Makefile.in \ diff --git a/devel/ORBit/patches/patch-ae b/devel/ORBit/patches/patch-ae new file mode 100644 index 00000000000..a07636a5a08 --- /dev/null +++ b/devel/ORBit/patches/patch-ae @@ -0,0 +1,21 @@ +$OpenBSD: patch-ae,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ae,v 1.2 1998/12/19 12:31:47 tron Exp $ + +--- src/services/name/Makefile.in.orig Wed Dec 16 03:41:47 1998 ++++ src/services/name/Makefile.in Sat Dec 19 12:55:42 1998 +@@ -1,3 +1,6 @@ ++# NetBSD ++# ++# There might as well be something here. + # Makefile.in generated automatically by automake 1.3 from Makefile.am + + # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +@@ -768,7 +771,7 @@ + + + $(CosNaming_built): CosNaming.idl $(srcdir)/LName.h $(IDL) +- $(IDL) $< ++ $(IDL) CosNaming.idl + cat $(srcdir)/LName.h >>CosNaming.h + + dist-hook: diff --git a/devel/ORBit/patches/patch-af b/devel/ORBit/patches/patch-af new file mode 100644 index 00000000000..7d5d2da6ca7 --- /dev/null +++ b/devel/ORBit/patches/patch-af @@ -0,0 +1,18 @@ +$OpenBSD: patch-af,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-af,v 1.3 1999/03/05 00:25:10 tron Exp $ + +--- src/idl-compiler/orbit-c-backend.c.orig Mon Feb 22 17:27:40 1999 ++++ src/idl-compiler/orbit-c-backend.c Thu Mar 4 23:05:25 1999 +@@ -16,10 +16,10 @@ + Output: (in files) header, skeletons, stubs, and common code. + */ + #ifdef HAVE_INDENT_KR +-# define INDENT "indent -npro -kr -i8 -bad -fca -sc -sob" ++# define INDENT "gindent -npro -kr -i8 -bad -fca -sc -sob" + #else + # ifdef HAVE_INDENT +-# define INDENT "indent -npro -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp" ++# define INDENT "gindent -npro -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp" + # else + # define INDENT "cat" + # endif diff --git a/devel/ORBit/patches/patch-ag b/devel/ORBit/patches/patch-ag new file mode 100644 index 00000000000..8f965f64b71 --- /dev/null +++ b/devel/ORBit/patches/patch-ag @@ -0,0 +1,14 @@ +$OpenBSD: patch-ag,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ + +This one won't be needed anymore when will be included in . + +--- src/IIOP/connection.c.orig Tue Mar 16 23:19:53 1999 ++++ src/IIOP/connection.c Tue Mar 16 23:23:10 1999 +@@ -10,6 +10,7 @@ + #include "IIOP.h" + #include "IIOP-private.h" + #include "giop-msg-buffer.h" ++#include /* tcpd.h use FILE so need */ + #include + #include + #include diff --git a/devel/ORBit/patches/patch-ah b/devel/ORBit/patches/patch-ah new file mode 100644 index 00000000000..2313557315c --- /dev/null +++ b/devel/ORBit/patches/patch-ah @@ -0,0 +1,21 @@ +$OpenBSD: patch-ah,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ah,v 1.1 1999/03/05 00:25:10 tron Exp $ + +--- libIDL/configure.orig Wed Feb 24 20:54:31 1999 ++++ libIDL/configure Fri Mar 5 00:18:15 1999 +@@ -2185,6 +2185,7 @@ + fi + + # Always use our own libtool. ++if false; then + LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + # Check for any special flags to pass to ltconfig. +@@ -2416,6 +2417,7 @@ + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ + $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } ++fi + + # Redirect the config.log output again, so that the ltconfig log is not + # clobbered by the next message. diff --git a/devel/ORBit/patches/patch-ai b/devel/ORBit/patches/patch-ai new file mode 100644 index 00000000000..2d538eec637 --- /dev/null +++ b/devel/ORBit/patches/patch-ai @@ -0,0 +1,14 @@ +$OpenBSD: patch-ai,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ai,v 1.1 1999/03/05 00:25:10 tron Exp $ + +--- libIDL/Makefile.in.orig Thu Feb 25 16:17:07 1999 ++++ libIDL/Makefile.in Fri Mar 5 00:21:00 1999 +@@ -120,7 +120,7 @@ + + libIDL_la_SOURCES = parser.c parser.h lexer.c ns.c util.c util.h rename.h + +-libIDL_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ++libIDL_la_LDFLAGS = -release $(LT_RELEASE) + + + m4datadir = $(datadir)/aclocal diff --git a/devel/ORBit/patches/patch-aj b/devel/ORBit/patches/patch-aj new file mode 100644 index 00000000000..88cd810f9dd --- /dev/null +++ b/devel/ORBit/patches/patch-aj @@ -0,0 +1,28 @@ +$OpenBSD: patch-aj,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-aj,v 1.2 1999/03/11 20:07:57 tron Exp $ + +--- src/IIOP/Makefile.in.orig Thu Feb 25 16:17:16 1999 ++++ src/IIOP/Makefile.in Thu Mar 11 21:02:03 1999 +@@ -90,9 +90,7 @@ + VERSION = @VERSION@ + YACC = @YACC@ + +-LIBWRAP_PATH = @LIBWRAP_PATH@ +-@HAVE_HOSTS_ACCESS_TRUE@libwrap_files = $(addsuffix .lo, $(basename $(filter %.o, $(shell ar t $(LIBWRAP_PATH))))) +-@HAVE_HOSTS_ACCESS_FALSE@libwrap_files = ++libwrap_files = + + libIIOPincludedir = $(includedir)/IIOP + +@@ -123,10 +121,7 @@ + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ +-@HAVE_HOSTS_ACCESS_TRUE@libIIOP_la_DEPENDENCIES = $(addsuffix .lo, \ +-@HAVE_HOSTS_ACCESS_TRUE@$(basename $(filter %.o, $(shell ar t \ +-@HAVE_HOSTS_ACCESS_TRUE@$(LIBWRAP_PATH))))) +-@HAVE_HOSTS_ACCESS_FALSE@libIIOP_la_DEPENDENCIES = ++libIIOP_la_DEPENDENCIES = + libIIOP_la_OBJECTS = connection.lo encoders.lo giop-msg-buffer.lo \ + iiop-endian.lo + CFLAGS = @CFLAGS@ diff --git a/devel/ORBit/patches/patch-ak b/devel/ORBit/patches/patch-ak new file mode 100644 index 00000000000..2de897b1fa6 --- /dev/null +++ b/devel/ORBit/patches/patch-ak @@ -0,0 +1,14 @@ +$OpenBSD: patch-ak,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-ak,v 1.1 1999/03/05 00:25:10 tron Exp $ + +--- orbit-config.in.orig Tue Oct 27 14:52:35 1998 ++++ orbit-config.in Fri Mar 5 00:44:54 1999 +@@ -86,7 +86,7 @@ + ;; + + client|server) +- the_libs="$the_libs -L@libdir@ -lORBit -lIIOP -lORBitutil `glib-config --libs` @LIBS@ -lm" ++ the_libs="$the_libs -L@libdir@ -lORBit -lIIOP -lORBitutil `glib-config --libs` @LIBS@ -lm -lwrap" + the_flags="$the_flags `glib-config --cflags` -I@includedir@" + ;; + diff --git a/devel/ORBit/patches/patch-al b/devel/ORBit/patches/patch-al new file mode 100644 index 00000000000..e7097d55679 --- /dev/null +++ b/devel/ORBit/patches/patch-al @@ -0,0 +1,14 @@ +$OpenBSD: patch-al,v 1.1.1.1 1999/03/23 19:24:32 rohee Exp $ +$NetBSD: patch-al,v 1.1 1999/03/05 00:25:10 tron Exp $ + +--- src/daemons/interface_repository/Makefile.in.orig Thu Feb 25 16:17:26 1999 ++++ src/daemons/interface_repository/Makefile.in Fri Mar 5 00:52:59 1999 +@@ -100,7 +100,7 @@ + + + orbit_ird_LDFLAGS = -static +-orbit_ird_LDADD = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la @GLIB_LIBS@ -lm ++orbit_ird_LDADD = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la @GLIB_LIBS@ -lm -lwrap + + + orbit_ird_SOURCES = interface_repository-common.c interface_repository-skels.c interface_repository-impl.c diff --git a/devel/ORBit/pkg/COMMENT b/devel/ORBit/pkg/COMMENT new file mode 100644 index 00000000000..2940a9f1f17 --- /dev/null +++ b/devel/ORBit/pkg/COMMENT @@ -0,0 +1 @@ +high-performance CORBA ORB with support for the C language diff --git a/devel/ORBit/pkg/DESCR b/devel/ORBit/pkg/DESCR new file mode 100644 index 00000000000..8336574a166 --- /dev/null +++ b/devel/ORBit/pkg/DESCR @@ -0,0 +1,3 @@ +ORBit is a high-performance CORBA ORB with support for the C language. +It allows programs to send requests and receive replies from other +programs, regardless of the locations of the two programs. diff --git a/devel/ORBit/pkg/PLIST b/devel/ORBit/pkg/PLIST new file mode 100644 index 00000000000..121895c637e --- /dev/null +++ b/devel/ORBit/pkg/PLIST @@ -0,0 +1,94 @@ +@pkgdep glib-1.2.0 +@pkgdep indent-1.9.1 +bin/libIDL-config +bin/orbit-idl +bin/name-client +bin/orbit-name-server +bin/old-name-server +bin/orbit-event-server +bin/orbit-ird +bin/orbit-config +info/dir +info/libIDL.info +share/aclocal/libIDL.m4 +include/libIDL/IDL.h +include/orb/allocator-defs.h +include/orb/allocators.h +include/orb/cdr.h +include/orb/dii.h +include/orb/dynany.h +include/orb/env.h +include/orb/iop.h +include/orb/ir.h +include/orb/options.h +include/orb/orb.h +include/orb/orbit.h +include/orb/orbit_config.h +include/orb/orbit_types.h +include/orb/poa.h +include/orb/sequences.h +include/orb/typecode.h +include/orb/corba_any.h +include/orb/corba_any_type.h +include/orb/corba_any_proto.h +include/orb/corba_basic_sequences_type.h +include/orb/corba_env.h +include/orb/corba_env_type.h +include/orb/corba_object.h +include/orb/corba_object_type.h +include/orb/corba_orb.h +include/orb/corba_orb_type.h +include/orb/corba_portableserver.h +include/orb/corba_portableserver_type.h +include/orb/corba_sequences.h +include/orb/corba_sequences_type.h +include/orb/corba_typecode.h +include/orb/corba_typecode_type.h +include/orb/orbit_object.h +include/orb/orbit_object_type.h +include/orb/orbit_poa.h +include/orb/orbit_poa_type.h +include/orb/orbit_typecode.h +include/orb/interface_repository.h +include/ORBitutil/basic_types.h +include/ORBitutil/thread-safety.h +include/ORBitutil/trace.h +include/ORBitutil/util.h +include/ORBitutil/compat.h +include/IIOP/IIOP-config.h +include/IIOP/IIOP-types.h +include/IIOP/IIOP.h +include/IIOP/giop-msg-buffer.h +include/IIOP/iiop-encoders.h +include/IIOP/iiop-endian.h +include/ORBitservices/CosNaming.h +include/ORBitservices/CosNaming_impl.h +include/ORBitservices/CosNaming.idl +include/ORBitservices/LName.pidl +include/ORBitservices/CosEventComm.idl +include/ORBitservices/CosEventChannel.idl +include/ORBitservices/CosTypedEventComm.idl +include/ORBitservices/CosTypedEventChannel.idl +lib/libIIOP.a +lib/libIDL-0.6.so.0.0 +lib/libIDL.la +lib/libIDL.a +lib/libIDLConf.sh +lib/libORBit.so.4.0 +lib/libORBit.la +lib/libORBit.a +lib/libORBitutil.so.4.0 +lib/libORBitutil.la +lib/libORBitutil.a +lib/libIIOP.so.4.0 +lib/libIIOP.la +lib/libname-server.a +lib/libORBitCosNaming.so.4.0 +lib/libORBitCosNaming.la +lib/libORBitCosNaming.a +@dirrm include/ORBitservices +@dirrm include/IIOP +@dirrm include/ORBitutil +@dirrm include/orb +@dirrm include/libIDL +@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m /usr/local/lib