summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Brueckner <darks@gentoo.org>2001-06-25 16:52:04 +0000
committerHolger Brueckner <darks@gentoo.org>2001-06-25 16:52:04 +0000
commitb41cad27349560c47d24a9c21dbdbc1d1982a2f8 (patch)
treeb5ec6e7b671ba8d5ad3f0fc1999e00b119d05ec1 /net-misc/omniORB
parentFixed digest (diff)
downloadgentoo-2-b41cad27349560c47d24a9c21dbdbc1d1982a2f8.tar.gz
gentoo-2-b41cad27349560c47d24a9c21dbdbc1d1982a2f8.tar.bz2
gentoo-2-b41cad27349560c47d24a9c21dbdbc1d1982a2f8.zip
new version and moved from berlin-base
Diffstat (limited to 'net-misc/omniORB')
-rw-r--r--net-misc/omniORB/files/digest-omniORB-3042
-rwxr-xr-xnet-misc/omniORB/files/omniORB35
-rw-r--r--net-misc/omniORB/omniORB-304.ebuild96
3 files changed, 133 insertions, 0 deletions
diff --git a/net-misc/omniORB/files/digest-omniORB-304 b/net-misc/omniORB/files/digest-omniORB-304
new file mode 100644
index 000000000000..d4f7b8f9e6ac
--- /dev/null
+++ b/net-misc/omniORB/files/digest-omniORB-304
@@ -0,0 +1,2 @@
+MD5 60fe9ee00b217e20070727e7eb6fd399 omniORB_304.tar.gz
+MD5 290b557b0203e7e01b3f81d89c00b69e omniORBpy_1_4.tar.gz
diff --git a/net-misc/omniORB/files/omniORB b/net-misc/omniORB/files/omniORB
new file mode 100755
index 000000000000..482c167cbdf1
--- /dev/null
+++ b/net-misc/omniORB/files/omniORB
@@ -0,0 +1,35 @@
+#!/bin/sh
+#RCUPDATE:3 4:99:This line is required for script management
+
+. /etc/rc.d/config/functions
+
+SERVICE=omniORB
+EXE="/usr/bin/omniNames"
+opts="start stop restart"
+
+start() {
+ if [ ! -d "/var/log/omniORB" ] ; then
+ install -d /var/log/omniORB
+ fi
+ if [ "/var/log/omniORB/omninames*" ] ; then
+ rm -f /var/log/omniORB/omninames*
+ fi
+ ebegin "Starting ${SERVICE}"
+ exec $EXE -start 8200 -logdir /var/log/omniORB -errlog /var/log/omniORB/omniORB.errors 1>&2 &
+ eend $? "Error starting ${SERVICE}."
+}
+
+stop() {
+ ebegin "Stopping ${SERVICE}"
+ killall $EXE 1>&2
+ eend $? "Error stopping ${SERVICE}."
+}
+
+restart() {
+ stop
+ start
+}
+
+doservice ${@}
+
+
diff --git a/net-misc/omniORB/omniORB-304.ebuild b/net-misc/omniORB/omniORB-304.ebuild
new file mode 100644
index 000000000000..bcf0e2382e86
--- /dev/null
+++ b/net-misc/omniORB/omniORB-304.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Your Name <your email>
+# /home/cvsroot/gentoo-x86/berlin-base/omniORB/omniORB-303.ebuild,v 1.7 2001/05/28 05:24:13 achim Exp
+
+A="${PN}_${PV}.tar.gz omniORBpy_1_4.tar.gz"
+S=${WORKDIR}/omni
+DESCRIPTION="a robust, high-performance CORBA 2 ORB"
+SRC_URI="ftp://ftp.uk.research.att.com/pub/omniORB/omniORB3/${PN}_${PV}.tar.gz
+ ftp://ftp.uk.research.att.com/pub/omniORB/omniORBpy/${PN}py_1_4.tar.gz"
+HOMEPAGE="http://www.uk.research.att.com/omniORB/"
+
+DEPEND="virtual/glibc dev-lang/python"
+
+PLT="i586_linux_2.0_glibc2.1"
+
+src_unpack() {
+
+ unpack ${PN}_${PV}.tar.gz
+ cd ${S}/src/lib
+ unpack ${PN}py_1_4.tar.gz
+
+ cd ${S}/config
+ cp config.mk config.mk.orig
+ sed -e "s:#platform = ${PLT}:platform = ${PLT}:" \
+ config.mk.orig > config.mk
+
+ cd ${S}/mk
+ cp unix.mk unix.mk.orig
+ sed -e "s:^MKDIRHIER.*:MKDIRHIER = mkdir -p:" unix.mk.orig > unix.mk
+
+ cd platforms
+ cp ${PLT}.mk ${PLT}.orig
+ sed -e "s:#PYTHON = /usr.*:PYTHON=/usr/bin/python:" \
+ ${PLT}.orig > ${PLT}.mk
+
+}
+
+
+src_compile() {
+
+ cd ${S}/src
+ try make export
+ cd ${S}/src/lib/omniORBpy
+ try make export
+}
+
+src_install () {
+
+ T=/usr
+ into ${T}
+ cd ${S}
+ dodir /usr/share/omniORB/bin/scripts
+ cp -af bin/scripts/* ${D}/usr/share/omniORB/bin/scripts
+ dobin bin/${PLT}/*
+ insinto ${T}/idl
+ doins idl/*.idl
+ insinto ${T}/idl/COS
+ doins idl/COS/*.idl
+ cp -af include ${D}/${T}
+ dodir /usr/lib/python2.0/site-packages
+ cd ${S}
+ cp -af lib/${PLT}/_* ${D}/usr/lib/python2.0/site-packages
+ dolib lib/${PLT}/*.{a,so*}
+ rm ${D}/usr/lib/_*.*
+ exeinto ${T}/lib
+ doexe lib/${PLT}/omnicpp
+ dodir /usr/lib/python2.0
+ cp -af lib/python/* ${D}/usr/lib/python2.0/
+ doman man/man[15]/*.[15]
+
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/omniORB
+
+ dodoc CHANGES* COPYING* CREDITS PORTING README* ReleaseNote_omniORB_304 THIS_IS_omniORB_3_0_4
+ cd doc
+ docinto print
+ dodoc *.ps
+ dodoc *.tex
+ dodoc *.pdf
+
+ docinto html
+ dodoc *.html
+ docinto html/omniORB
+ dodoc omniORB/*.{gif,html}
+
+ dodir /etc/env.d/
+ echo "PATH=/usr/share/omniORB/bin/scripts" > ${D}/etc/env.d/90omniORB
+# echo "PYTHONPATH=/usr/share/omniORB/python" >> ${D}/etc/env.d/90omniORB
+}
+pkg_postinst() {
+ if [ ! -f "${ROOT}etc/omniORB.cfg" ] ; then
+ echo "ORBInitialHost `uname -n`" > ${ROOT}etc/omniORB.cfg
+ echo "ORBInitialPort 8200" >> ${ROOT}etc/omniORB.cfg
+ fi
+}