diff options
author | drochner <drochner@pkgsrc.org> | 2010-09-01 15:52:58 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-09-01 15:52:58 +0000 |
commit | e28b29b0905268fbdc17eb2eb8603a6dfd315fc3 (patch) | |
tree | 50488234214055ff7af9b34dee37068b540f553a | |
parent | bd4fb7a0ed5274898f42ecc668567a49b7bf5714 (diff) | |
download | pkgsrc-e28b29b0905268fbdc17eb2eb8603a6dfd315fc3.tar.gz |
add omniORB-4.1.4, a CORBA implementation, from Ian Zagorskih per pkgsrc-wip
-rw-r--r-- | net/omniORB/DESCR | 24 | ||||
-rw-r--r-- | net/omniORB/Makefile | 71 | ||||
-rw-r--r-- | net/omniORB/PLIST | 433 | ||||
-rw-r--r-- | net/omniORB/buildlink3.mk | 12 | ||||
-rw-r--r-- | net/omniORB/distinfo | 9 | ||||
-rw-r--r-- | net/omniORB/files/omninames.sh | 30 | ||||
-rw-r--r-- | net/omniORB/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/omniORB/patches/patch-ad | 14 | ||||
-rw-r--r-- | net/omniORB/patches/patch-ae | 17 | ||||
-rw-r--r-- | net/omniORB/patches/patch-af | 63 |
10 files changed, 686 insertions, 0 deletions
diff --git a/net/omniORB/DESCR b/net/omniORB/DESCR new file mode 100644 index 00000000000..a4a1204c7ed --- /dev/null +++ b/net/omniORB/DESCR @@ -0,0 +1,24 @@ +omniORB is a robust high performance CORBA ORB for C++ and Python. It is +freely available under the terms of the GNU Lesser General Public License +(for the libraries), and GNU General Public License (for the tools). It is +one of only three ORBs to have been awarded the Open Group's Open Brand for +CORBA. This means that omniORB has been tested and certified CORBA 2.1 +compliant. +The technical highlights are: + * C++ and Python language bindings. + * Adheres to the CORBA 2.6 specification. + * Support for GIOP and IIOP 1.0, 1.1 and 1.2. + * Fully multithreaded runtime. + * TypeCode and type Any. + * CORBA 2.6 DynAny interfaces. + * Dynamic Invocation and Dynamic Skeleton interfaces. + * Complete Naming Service, omniNames. + * Support for wchar, wstring and code set negotiation. + * Full long long, long double, fixed point support. + * PortableServer::Current. + * Unix domain socket transport. + * Bidirectional GIOP. + * Interoperable Secure Socket Layer transport. + * Flexible thread management. + * Interceptors. + * Fully interoperable with other CORBA ORBs. diff --git a/net/omniORB/Makefile b/net/omniORB/Makefile new file mode 100644 index 00000000000..0e2742e199a --- /dev/null +++ b/net/omniORB/Makefile @@ -0,0 +1,71 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ +# + +DISTNAME= omniORB-4.1.4 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=omniorb/} + +MAINTAINER= ianzag@mail.ru +HOMEPAGE= http://omniorb.sourceforge.net/ +COMMENT= CORBA ORB + +PKG_DESTDIR_SUPPORT= user-destdir +MAKE_FILE= GNUmakefile +GNU_CONFIGURE= YES +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake +PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniCOS4.pc.in +PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniCOSDynamic4.pc.in +PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniConnectionMgmt4.pc.in +PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniDynamic4.pc.in +PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniORB4.pc.in +PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omnithread3.pc.in + +# Note: not sure if it is required though +USE_LIBTOOL= YES + +# omniORB requires native threads support +PTHREAD_OPTS= require native +RCD_SCRIPTS= omninames + +OMNIORB_ETCDIR?= ${PKG_SYSCONFDIR} +OMNIORB_CONFIG= ${OMNIORB_ETCDIR}/omniORB.cfg + +CONFIGURE_ENV+= PYTHON=${PYTHONBIN} +CONFIGURE_ARGS+= --with-omniORB-config=${OMNIORB_CONFIG:Q} +#CONFIGURE_ARGS+= --with-omniNames-logdir= +#CONFIGURE_ARGS+= --with-openssl + +PKG_OPTIONS_VAR= PKG_OPTIONS.omniORB +PKG_SUPPORTED_OPTIONS= inet6 +.include "../../mk/bsd.options.mk" +.if empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+=--disable-ipv6 +.endif + +PY_PATCHPLIST= yes +REPLACE_PYTHON+= src/tool/omniidl/python/scripts/omniidlrun.py + +pre-install: + cd ${WRKSRC}/include && ${SETENV} ${MAKE_ENV} ${GMAKE} install + +post-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/omniORB/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/omniORB/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/omniORB/omniORB + ${INSTALL_DATA} ${WRKSRC}/sample.cfg \ + ${DESTDIR}${PREFIX}/share/examples/omniORB/ + ${INSTALL_DATA} ${WRKSRC}/doc/*.html \ + ${DESTDIR}${PREFIX}/share/doc/omniORB/ + ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf \ + ${DESTDIR}${PREFIX}/share/doc/omniORB/ + ${INSTALL_DATA} ${WRKSRC}/doc/omniORB/* \ + ${DESTDIR}${PREFIX}/share/doc/omniORB/omniORB/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/man1/* \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ + +.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/omniORB/PLIST b/net/omniORB/PLIST new file mode 100644 index 00000000000..a18bc0a52b3 --- /dev/null +++ b/net/omniORB/PLIST @@ -0,0 +1,433 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ +bin/catior +bin/convertior +bin/genior +bin/nameclt +bin/omkdepend +bin/omniMapper +bin/omniNames +bin/omnicpp +bin/omniidl +bin/omniidlrun.py +include/COS/COS_sysdep.h +include/COS/CosEventChannelAdmin.hh +include/COS/CosEventComm.hh +include/COS/CosLifeCycle.hh +include/COS/CosNotification.hh +include/COS/CosNotifyChannelAdmin.hh +include/COS/CosNotifyComm.hh +include/COS/CosNotifyFilter.hh +include/COS/CosTime.hh +include/COS/TimeBase.hh +include/omniORB4/BiDirPolicy.h +include/omniORB4/CORBA.h +include/omniORB4/CORBA_AbstractBase.h +include/omniORB4/CORBA_Any.h +include/omniORB4/CORBA_Any_vartypes.h +include/omniORB4/CORBA_BOA.h +include/omniORB4/CORBA_Context.h +include/omniORB4/CORBA_Current.h +include/omniORB4/CORBA_DomainManager.h +include/omniORB4/CORBA_Environment.h +include/omniORB4/CORBA_Exception.h +include/omniORB4/CORBA_ExceptionList.h +include/omniORB4/CORBA_Fixed.h +include/omniORB4/CORBA_LocalObject.h +include/omniORB4/CORBA_LocalObject_vartypes.h +include/omniORB4/CORBA_NamedValue.h +include/omniORB4/CORBA_ORB.h +include/omniORB4/CORBA_Object.h +include/omniORB4/CORBA_Object_vartypes.h +include/omniORB4/CORBA_Policy.h +include/omniORB4/CORBA_Principal.h +include/omniORB4/CORBA_Request.h +include/omniORB4/CORBA_ServerRequest.h +include/omniORB4/CORBA_String.h +include/omniORB4/CORBA_TypeCode.h +include/omniORB4/CORBA_TypeCode_member.h +include/omniORB4/CORBA_UnknownUserException.h +include/omniORB4/CORBA_ValueBase.h +include/omniORB4/CORBA_ValueBase_vartypes.h +include/omniORB4/CORBA_basetypes.h +include/omniORB4/CORBA_primitive_types.h +include/omniORB4/CORBA_static_fns.h +include/omniORB4/CORBA_sysdep.h +include/omniORB4/CORBA_sysdep_auto.h +include/omniORB4/CORBA_sysdep_trad.h +include/omniORB4/CORBA_vartypes.h +include/omniORB4/GIOP.h +include/omniORB4/IIOP.h +include/omniORB4/IOP.h +include/omniORB4/IOP_C.h +include/omniORB4/IOP_S.h +include/omniORB4/Naming.hh +include/omniORB4/acconfig.h +include/omniORB4/anyStream.h +include/omniORB4/boa.h +include/omniORB4/bootstrap.hh +include/omniORB4/boxes_defs.hh +include/omniORB4/boxes_operators.hh +include/omniORB4/boxes_poa.hh +include/omniORB4/callDescriptor.h +include/omniORB4/callHandle.h +include/omniORB4/cdrStream.h +include/omniORB4/codeSets.h +include/omniORB4/corba_operators.h +include/omniORB4/corbaidl_defs.hh +include/omniORB4/corbaidl_operators.hh +include/omniORB4/corbaidl_poa.hh +include/omniORB4/distdate.hh +include/omniORB4/dynAny.h +include/omniORB4/finalCleanup.h +include/omniORB4/fixed.h +include/omniORB4/giopEndpoint.h +include/omniORB4/internal/GIOP_C.h +include/omniORB4/internal/GIOP_S.h +include/omniORB4/internal/SocketCollection.h +include/omniORB4/internal/anonObject.h +include/omniORB4/internal/codeSetUtil.h +include/omniORB4/internal/context.h +include/omniORB4/internal/corbaBoa.h +include/omniORB4/internal/corbaOrb.h +include/omniORB4/internal/deferredRequest.h +include/omniORB4/internal/dynAnyImpl.h +include/omniORB4/internal/dynamicImplementation.h +include/omniORB4/internal/dynamicLib.h +include/omniORB4/internal/excepthandler.h +include/omniORB4/internal/exceptiondefs.h +include/omniORB4/internal/giopBiDir.h +include/omniORB4/internal/giopMonitor.h +include/omniORB4/internal/giopRendezvouser.h +include/omniORB4/internal/giopRope.h +include/omniORB4/internal/giopServer.h +include/omniORB4/internal/giopStrand.h +include/omniORB4/internal/giopStrandFlags.h +include/omniORB4/internal/giopStream.h +include/omniORB4/internal/giopStreamImpl.h +include/omniORB4/internal/giopWorker.h +include/omniORB4/internal/inProcessIdentity.h +include/omniORB4/internal/initRefs.h +include/omniORB4/internal/initialiser.h +include/omniORB4/internal/invoker.h +include/omniORB4/internal/libcWrapper.h +include/omniORB4/internal/localIdentity.h +include/omniORB4/internal/objectAdapter.h +include/omniORB4/internal/objectStub.h +include/omniORB4/internal/objectTable.h +include/omniORB4/internal/omniCurrent.h +include/omniORB4/internal/omniIdentity.h +include/omniORB4/internal/orbOptions.h +include/omniORB4/internal/orbParameters.h +include/omniORB4/internal/poacurrentimpl.h +include/omniORB4/internal/poaimpl.h +include/omniORB4/internal/poamanager.h +include/omniORB4/internal/pseudo.h +include/omniORB4/internal/remoteIdentity.h +include/omniORB4/internal/request.h +include/omniORB4/internal/rmutex.h +include/omniORB4/internal/shutdownIdentity.h +include/omniORB4/internal/tcParser.h +include/omniORB4/internal/transportRules.h +include/omniORB4/internal/typecode.h +include/omniORB4/ir_defs.hh +include/omniORB4/ir_operators.hh +include/omniORB4/ir_poa.hh +include/omniORB4/linkHacks.h +include/omniORB4/local_config.h +include/omniORB4/minorCode.h +include/omniORB4/objTracker.h +include/omniORB4/omniAsyncInvoker.h +include/omniORB4/omniConnectionData.hh +include/omniORB4/omniConnectionMgmt.h +include/omniORB4/omniIOR.h +include/omniORB4/omniInterceptors.h +include/omniORB4/omniInternal.h +include/omniORB4/omniORB.h +include/omniORB4/omniORBcompat.h +include/omniORB4/omniObjKey.h +include/omniORB4/omniObjRef.h +include/omniORB4/omniPolicy.h +include/omniORB4/omniServant.h +include/omniORB4/omniServer.h +include/omniORB4/omniTransport.h +include/omniORB4/omniTypedefs.hh +include/omniORB4/omniURI.h +include/omniORB4/omniutilities.h +include/omniORB4/optionalFeatures.h +include/omniORB4/poa.h +include/omniORB4/poa_defs.h +include/omniORB4/poa_enums_defs.hh +include/omniORB4/poa_enums_operators.hh +include/omniORB4/poa_enums_poa.hh +include/omniORB4/poa_poa.h +include/omniORB4/proxyFactory.h +include/omniORB4/seqTemplatedecls.h +include/omniORB4/seqTemplatedefns.h +include/omniORB4/sslContext.h +include/omniORB4/streamOperators.h +include/omniORB4/stringtypes.h +include/omniORB4/tcpAddress.h +include/omniORB4/tcpConnection.h +include/omniORB4/tcpEndpoint.h +include/omniORB4/tcpTransportImpl.h +include/omniORB4/templatedecls.h +include/omniORB4/templatedefns.h +include/omniORB4/tracedthread.h +include/omniORB4/unixAddress.h +include/omniORB4/unixConnection.h +include/omniORB4/unixEndpoint.h +include/omniORB4/unixTransportImpl.h +include/omniORB4/userexception.h +include/omniORB4/valueFactoryManager.h +include/omniORB4/valueTemplatedecls.h +include/omniORB4/valueTemplatedefns.h +include/omniORB4/valueType.h +include/omniORB4/wstringtypes.h +include/omniconfig.h +include/omnithread.h +include/omnithread/mach.h +include/omnithread/nt.h +include/omnithread/posix.h +include/omnithread/pthread_nt.h +include/omnithread/solaris.h +lib/libCOS4.a +lib/libCOS4.so +lib/libCOS4.so.1 +lib/libCOS4.so.1.4 +lib/libCOSDynamic4.a +lib/libCOSDynamic4.so +lib/libCOSDynamic4.so.1 +lib/libCOSDynamic4.so.1.4 +lib/libomniCodeSets4.a +lib/libomniCodeSets4.so +lib/libomniCodeSets4.so.1 +lib/libomniCodeSets4.so.1.4 +lib/libomniConnectionMgmt4.a +lib/libomniConnectionMgmt4.so +lib/libomniConnectionMgmt4.so.1 +lib/libomniConnectionMgmt4.so.1.4 +lib/libomniDynamic4.a +lib/libomniDynamic4.so +lib/libomniDynamic4.so.1 +lib/libomniDynamic4.so.1.4 +lib/libomniORB4.a +lib/libomniORB4.so +lib/libomniORB4.so.1 +lib/libomniORB4.so.1.4 +lib/libomnithread.a +lib/libomnithread.so +lib/libomnithread.so.3 +lib/libomnithread.so.3.4 +lib/pkgconfig/omniCOS4.pc +lib/pkgconfig/omniCOSDynamic4.pc +lib/pkgconfig/omniConnectionMgmt4.pc +lib/pkgconfig/omniDynamic4.pc +lib/pkgconfig/omniORB4.pc +lib/pkgconfig/omnithread3.pc +${PYSITELIB}/_omniidlmodule.so +${PYSITELIB}/_omniidlmodule.so.4 +${PYSITELIB}/_omniidlmodule.so.4.1 +${PYSITELIB}/omniidl/__init__.py +${PYSITELIB}/omniidl/__init__.pyc +${PYSITELIB}/omniidl/idlast.py +${PYSITELIB}/omniidl/idlast.pyc +${PYSITELIB}/omniidl/idlstring.py +${PYSITELIB}/omniidl/idlstring.pyc +${PYSITELIB}/omniidl/idltype.py +${PYSITELIB}/omniidl/idltype.pyc +${PYSITELIB}/omniidl/idlutil.py +${PYSITELIB}/omniidl/idlutil.pyc +${PYSITELIB}/omniidl/idlvisitor.py +${PYSITELIB}/omniidl/idlvisitor.pyc +${PYSITELIB}/omniidl/main.py +${PYSITELIB}/omniidl/main.pyc +${PYSITELIB}/omniidl/output.py +${PYSITELIB}/omniidl/output.pyc +${PYSITELIB}/omniidl_be/__init__.py +${PYSITELIB}/omniidl_be/__init__.pyc +${PYSITELIB}/omniidl_be/cxx/__init__.py +${PYSITELIB}/omniidl_be/cxx/__init__.pyc +${PYSITELIB}/omniidl_be/cxx/ast.py +${PYSITELIB}/omniidl_be/cxx/ast.pyc +${PYSITELIB}/omniidl_be/cxx/call.py +${PYSITELIB}/omniidl_be/cxx/call.pyc +${PYSITELIB}/omniidl_be/cxx/config.py +${PYSITELIB}/omniidl_be/cxx/config.pyc +${PYSITELIB}/omniidl_be/cxx/cxx.py +${PYSITELIB}/omniidl_be/cxx/cxx.pyc +${PYSITELIB}/omniidl_be/cxx/descriptor.py +${PYSITELIB}/omniidl_be/cxx/descriptor.pyc +${PYSITELIB}/omniidl_be/cxx/dynskel/__init__.py +${PYSITELIB}/omniidl_be/cxx/dynskel/__init__.pyc +${PYSITELIB}/omniidl_be/cxx/dynskel/main.py +${PYSITELIB}/omniidl_be/cxx/dynskel/main.pyc +${PYSITELIB}/omniidl_be/cxx/dynskel/tcstring.py +${PYSITELIB}/omniidl_be/cxx/dynskel/tcstring.pyc +${PYSITELIB}/omniidl_be/cxx/dynskel/template.py +${PYSITELIB}/omniidl_be/cxx/dynskel/template.pyc +${PYSITELIB}/omniidl_be/cxx/dynskel/typecode.py +${PYSITELIB}/omniidl_be/cxx/dynskel/typecode.pyc +${PYSITELIB}/omniidl_be/cxx/header/__init__.py +${PYSITELIB}/omniidl_be/cxx/header/__init__.pyc +${PYSITELIB}/omniidl_be/cxx/header/defs.py +${PYSITELIB}/omniidl_be/cxx/header/defs.pyc +${PYSITELIB}/omniidl_be/cxx/header/forward.py +${PYSITELIB}/omniidl_be/cxx/header/forward.pyc +${PYSITELIB}/omniidl_be/cxx/header/marshal.py +${PYSITELIB}/omniidl_be/cxx/header/marshal.pyc +${PYSITELIB}/omniidl_be/cxx/header/obv.py +${PYSITELIB}/omniidl_be/cxx/header/obv.pyc +${PYSITELIB}/omniidl_be/cxx/header/opers.py +${PYSITELIB}/omniidl_be/cxx/header/opers.pyc +${PYSITELIB}/omniidl_be/cxx/header/poa.py +${PYSITELIB}/omniidl_be/cxx/header/poa.pyc +${PYSITELIB}/omniidl_be/cxx/header/tcstring.py +${PYSITELIB}/omniidl_be/cxx/header/tcstring.pyc +${PYSITELIB}/omniidl_be/cxx/header/template.py +${PYSITELIB}/omniidl_be/cxx/header/template.pyc +${PYSITELIB}/omniidl_be/cxx/header/tie.py +${PYSITELIB}/omniidl_be/cxx/header/tie.pyc +${PYSITELIB}/omniidl_be/cxx/id.py +${PYSITELIB}/omniidl_be/cxx/id.pyc +${PYSITELIB}/omniidl_be/cxx/iface.py +${PYSITELIB}/omniidl_be/cxx/iface.pyc +${PYSITELIB}/omniidl_be/cxx/impl/__init__.py +${PYSITELIB}/omniidl_be/cxx/impl/__init__.pyc +${PYSITELIB}/omniidl_be/cxx/impl/main.py +${PYSITELIB}/omniidl_be/cxx/impl/main.pyc +${PYSITELIB}/omniidl_be/cxx/impl/template.py +${PYSITELIB}/omniidl_be/cxx/impl/template.pyc +${PYSITELIB}/omniidl_be/cxx/mapping.py +${PYSITELIB}/omniidl_be/cxx/mapping.pyc +${PYSITELIB}/omniidl_be/cxx/output.py +${PYSITELIB}/omniidl_be/cxx/output.pyc +${PYSITELIB}/omniidl_be/cxx/skel/__init__.py +${PYSITELIB}/omniidl_be/cxx/skel/__init__.pyc +${PYSITELIB}/omniidl_be/cxx/skel/main.py +${PYSITELIB}/omniidl_be/cxx/skel/main.pyc +${PYSITELIB}/omniidl_be/cxx/skel/mangler.py +${PYSITELIB}/omniidl_be/cxx/skel/mangler.pyc +${PYSITELIB}/omniidl_be/cxx/skel/poa.py +${PYSITELIB}/omniidl_be/cxx/skel/poa.pyc +${PYSITELIB}/omniidl_be/cxx/skel/template.py +${PYSITELIB}/omniidl_be/cxx/skel/template.pyc +${PYSITELIB}/omniidl_be/cxx/skutil.py +${PYSITELIB}/omniidl_be/cxx/skutil.pyc +${PYSITELIB}/omniidl_be/cxx/support.py +${PYSITELIB}/omniidl_be/cxx/support.pyc +${PYSITELIB}/omniidl_be/cxx/types.py +${PYSITELIB}/omniidl_be/cxx/types.pyc +${PYSITELIB}/omniidl_be/cxx/util.py +${PYSITELIB}/omniidl_be/cxx/util.pyc +${PYSITELIB}/omniidl_be/cxx/value.py +${PYSITELIB}/omniidl_be/cxx/value.pyc +${PYSITELIB}/omniidl_be/dump.py +${PYSITELIB}/omniidl_be/dump.pyc +${PYSITELIB}/omniidl_be/example.py +${PYSITELIB}/omniidl_be/example.pyc +${PYSITELIB}/omniidl_be/interactive.py +${PYSITELIB}/omniidl_be/interactive.pyc +man/man1/catior.1 +man/man1/convertior.1 +man/man1/genior.1 +man/man1/nameclt.1 +man/man1/omnicpp.1 +man/man1/omniidl.1 +share/doc/omniORB/omniNames.html +share/doc/omniORB/omniNames.pdf +share/doc/omniORB/omniORB.pdf +share/doc/omniORB/omniORB/contents_motif.gif +share/doc/omniORB/omniORB/index.html +share/doc/omniORB/omniORB/next_motif.gif +share/doc/omniORB/omniORB/omniORB.css +share/doc/omniORB/omniORB/omniORB.html +share/doc/omniORB/omniORB/omniORB001.html +share/doc/omniORB/omniORB/omniORB002.html +share/doc/omniORB/omniORB/omniORB003.html +share/doc/omniORB/omniORB/omniORB004.html +share/doc/omniORB/omniORB/omniORB005.html +share/doc/omniORB/omniORB/omniORB006.html +share/doc/omniORB/omniORB/omniORB007.html +share/doc/omniORB/omniORB/omniORB008.html +share/doc/omniORB/omniORB/omniORB009.html +share/doc/omniORB/omniORB/omniORB010.html +share/doc/omniORB/omniORB/omniORB011.html +share/doc/omniORB/omniORB/omniORB012.html +share/doc/omniORB/omniORB/omniORB013.html +share/doc/omniORB/omniORB/omniORB014.html +share/doc/omniORB/omniORB/omniORB015.html +share/doc/omniORB/omniORB/previous_motif.gif +share/doc/omniORB/omniidl.html +share/doc/omniORB/omniidl.pdf +share/doc/omniORB/omnithread.html +share/doc/omniORB/omnithread.pdf +share/doc/omniORB/utilities.html +share/doc/omniORB/utilities.pdf +share/examples/omniORB/sample.cfg +share/examples/rc.d/omninames +share/idl/omniORB/COS/CosCollection.idl +share/idl/omniORB/COS/CosCompoundLifeCycle.idl +share/idl/omniORB/COS/CosConcurrencyControl.idl +share/idl/omniORB/COS/CosContainment.idl +share/idl/omniORB/COS/CosEventChannelAdmin.idl +share/idl/omniORB/COS/CosEventComm.idl +share/idl/omniORB/COS/CosExternalization.idl +share/idl/omniORB/COS/CosExternalizationContainment.idl +share/idl/omniORB/COS/CosExternalizationReference.idl +share/idl/omniORB/COS/CosGraphs.idl +share/idl/omniORB/COS/CosLicensingManager.idl +share/idl/omniORB/COS/CosLifeCycle.idl +share/idl/omniORB/COS/CosLifeCycleContainment.idl +share/idl/omniORB/COS/CosLifeCycleReference.idl +share/idl/omniORB/COS/CosNaming.idl +share/idl/omniORB/COS/CosNotification.idl +share/idl/omniORB/COS/CosNotifyChannelAdmin.idl +share/idl/omniORB/COS/CosNotifyComm.idl +share/idl/omniORB/COS/CosNotifyFilter.idl +share/idl/omniORB/COS/CosObjectIdentity.idl +share/idl/omniORB/COS/CosPersistenceDDO.idl +share/idl/omniORB/COS/CosPersistenceDS_CLI.idl +share/idl/omniORB/COS/CosPersistencePDS.idl +share/idl/omniORB/COS/CosPersistencePDS_DA.idl +share/idl/omniORB/COS/CosPersistencePID.idl +share/idl/omniORB/COS/CosPersistencePO.idl +share/idl/omniORB/COS/CosPersistencePOM.idl +share/idl/omniORB/COS/CosPropertyService.idl +share/idl/omniORB/COS/CosQuery.idl +share/idl/omniORB/COS/CosQueryCollection.idl +share/idl/omniORB/COS/CosReference.idl +share/idl/omniORB/COS/CosRelationships.idl +share/idl/omniORB/COS/CosStream.idl +share/idl/omniORB/COS/CosTSPortability.idl +share/idl/omniORB/COS/CosTime.idl +share/idl/omniORB/COS/CosTimerEvent.idl +share/idl/omniORB/COS/CosTrading.idl +share/idl/omniORB/COS/CosTradingDynamic.idl +share/idl/omniORB/COS/CosTradingRepos.idl +share/idl/omniORB/COS/CosTransactions.idl +share/idl/omniORB/COS/CosTypedEventChannelAdmin.idl +share/idl/omniORB/COS/CosTypedEventComm.idl +share/idl/omniORB/COS/CosTypedNotifyChannelAdmin.idl +share/idl/omniORB/COS/CosTypedNotifyComm.idl +share/idl/omniORB/COS/DCE_CIOPSecurity.idl +share/idl/omniORB/COS/LifeCycleService.idl +share/idl/omniORB/COS/Lname-library.idl +share/idl/omniORB/COS/NRService.idl +share/idl/omniORB/COS/RDITestTypes.idl +share/idl/omniORB/COS/SECIOP.idl +share/idl/omniORB/COS/SSLIOP.idl +share/idl/omniORB/COS/Security.idl +share/idl/omniORB/COS/SecurityAdmin.idl +share/idl/omniORB/COS/SecurityLevel1.idl +share/idl/omniORB/COS/SecurityLevel2.idl +share/idl/omniORB/COS/SecurityReplaceable.idl +share/idl/omniORB/COS/TimeBase.idl +share/idl/omniORB/Naming.idl +share/idl/omniORB/bootstrap.idl +share/idl/omniORB/boxes.idl +share/idl/omniORB/corbaidl.idl +share/idl/omniORB/echo.idl +share/idl/omniORB/ir.idl +share/idl/omniORB/orb.idl +share/idl/omniORB/poa.idl +share/idl/omniORB/poa_include.idl diff --git a/net/omniORB/buildlink3.mk b/net/omniORB/buildlink3.mk new file mode 100644 index 00000000000..4ed6eb888b2 --- /dev/null +++ b/net/omniORB/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ + +BUILDLINK_TREE+= omniORB + +.if !defined(OMNIORB_BUILDLINK3_MK) +OMNIORB_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.omniORB+= omniORB>=4.1.2 +BUILDLINK_PKGSRCDIR.omniORB?= ../../net/omniORB +.endif # OMNIORB_BUILDLINK3_MK + +BUILDLINK_TREE+= -omniORB diff --git a/net/omniORB/distinfo b/net/omniORB/distinfo new file mode 100644 index 00000000000..6d6d94e38e0 --- /dev/null +++ b/net/omniORB/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ + +SHA1 (omniORB-4.1.4.tar.gz) = 7150d999bcef10c6c3cb24725386497c3f338aa1 +RMD160 (omniORB-4.1.4.tar.gz) = b84131230c59b1cef8f714ff1545e44f6779ade1 +Size (omniORB-4.1.4.tar.gz) = 3093814 bytes +SHA1 (patch-aa) = d89023f2d875f20ab44f2c72caccf1d89420eff2 +SHA1 (patch-ad) = ea3009b39fda6addf47a064f5df518135e44b789 +SHA1 (patch-ae) = 87bd20235c52417fedf8f2db6480d160e9a5ae38 +SHA1 (patch-af) = feb5c3c52290181f6bcf990622fa7911e73127c8 diff --git a/net/omniORB/files/omninames.sh b/net/omniORB/files/omninames.sh new file mode 100644 index 00000000000..5ac7a0e96d9 --- /dev/null +++ b/net/omniORB/files/omninames.sh @@ -0,0 +1,30 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: omninames.sh,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ +# +# omniORB NameService rc.d control script +# +# PROVIDE: omninames +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# You will need to set some variables in /etc/rc.conf to start omniNames: +# +# omniNames=YES +# +# The following variables are optional: +# +# omniNames_flags="-start 423" # Listen on a different port +# +# "omniNames_flags" contains options for the omniNames service. See +# omniNames(1) for possible options. + +$_rc_subr_loaded . /etc/rc.subr + +name="omniNames" +rcvar=$name +command="@PREFIX@/bin/${name}" +pidfile="/var/run/${name}.pid" + +load_rc_config $name +run_rc_command "$1" diff --git a/net/omniORB/patches/patch-aa b/net/omniORB/patches/patch-aa new file mode 100644 index 00000000000..65a2aa3f9e6 --- /dev/null +++ b/net/omniORB/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ + +--- bin/scripts/omkdirhier.orig 2004-02-11 21:36:28.000000000 +0600 ++++ bin/scripts/omkdirhier +@@ -81,7 +81,7 @@ do + fi + done + +- mkdir $paths || status=$? ++ mkdir -m 0755 $paths || status=$? + + break + } diff --git a/net/omniORB/patches/patch-ad b/net/omniORB/patches/patch-ad new file mode 100644 index 00000000000..fddf700b6d2 --- /dev/null +++ b/net/omniORB/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ + +--- include/omnithread.h.orig 2004-07-02 02:11:21.000000000 +0700 ++++ include/omnithread.h +@@ -151,6 +151,9 @@ class omni_thread; + #elif defined(__irix__) + #include <omnithread/posix.h> + ++#elif defined(__netbsd__) ++#include <omnithread/posix.h> ++ + #elif defined(__freebsd__) + #include <omnithread/posix.h> + diff --git a/net/omniORB/patches/patch-ae b/net/omniORB/patches/patch-ae new file mode 100644 index 00000000000..c824d9245ed --- /dev/null +++ b/net/omniORB/patches/patch-ae @@ -0,0 +1,17 @@ +$NetBSD: patch-ae,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ + +--- mk/beforeauto.mk.in.orig 2007-05-11 12:17:21.000000000 +0200 ++++ mk/beforeauto.mk.in +@@ -1030,7 +1030,11 @@ endif + ifdef NetBSD + IMPORT_CPPFLAGS += -D__netbsd__ + +-OMNITHREAD_CPPFLAGS = -D_REENTRANT ++CLINKOPTIONS = $(CDEBUGFLAGS) $(COPTIONS) -Wl,-rpath,$(INSTALLLIBDIR) ++CXXLINKOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) -Wl,-rpath,$(INSTALLLIBDIR) ++SharedLibraryPlatformLinkFlagsTemplate = $(CXXLINKOPTIONS) -shared -Wl,-soname,$$soname ++ ++OMNITHREAD_CPPFLAGS = -D_REENTRANT -D_THREAD_SAFE + OMNITHREAD_POSIX_CPPFLAGS = -DUsePthread -DPthreadDraftVersion=10 + OMNITHREAD_LIB += -pthread + endif diff --git a/net/omniORB/patches/patch-af b/net/omniORB/patches/patch-af new file mode 100644 index 00000000000..c4faf397c75 --- /dev/null +++ b/net/omniORB/patches/patch-af @@ -0,0 +1,63 @@ +$NetBSD: patch-af,v 1.1.1.1 2010/09/01 15:52:58 drochner Exp $ + +--- src/appl/omniNames/omniNames.cc.orig 2008-02-05 17:44:52.000000000 +0100 ++++ src/appl/omniNames/omniNames.cc +@@ -105,7 +105,9 @@ usage() + int + main(int argc, char **argv) + { ++ int devnull = -1; + int port = 0; ++ pid_t proc = 0; + const char* logdir = 0; + const char* errlog = 0; + CORBA::Boolean ignoreport = 0; +@@ -122,6 +124,48 @@ main(int argc, char **argv) + int new_argc = 1; + char** new_argv = new char*[argc]; + ++ /* Daemonize part 1: Close all file descriptors */ ++ devnull = open("/dev/null", O_RDWR); ++ if (devnull == -1) ++ { ++ perror("/dev/null"); ++ exit(EXIT_FAILURE); ++ } ++ ++ close(STDIN_FILENO); ++ if (dup2(devnull, STDIN_FILENO) == -1) ++ { ++ perror("dup2 (STDIN)"); ++ exit(EXIT_FAILURE); ++ } ++ ++ close(STDOUT_FILENO); ++ if (dup2(devnull, STDOUT_FILENO) == -1) ++ { ++ perror("dup2 (STDOUT)"); ++ exit(EXIT_FAILURE); ++ } ++ ++ close(STDERR_FILENO); ++ if (dup2(devnull, STDERR_FILENO) == -1) ++ { ++ perror("dup2 (STDERR)"); ++ exit(EXIT_FAILURE); ++ } ++ ++ /* Daemonize part 1: Close all file descriptors */ ++ proc = fork(); ++ if (proc == -1) ++ { ++ perror("fork"); ++ exit(EXIT_FAILURE); ++ } ++ else if (proc != 0) ++ { ++ /* Parent process */ ++ exit(EXIT_SUCCESS); ++ } ++ + new_argv[0] = argv[0]; + + // Process command line arguments |