summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2002-12-15 18:35:05 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2002-12-15 18:35:05 +0000
commit87d586b7ea938eb72cb1455386ecb9154c3cdefd (patch)
tree3d8cd1761c95069f967f97b5e91ba6cb3a66b7cd /net-misc/omniORB
parentUnmasking perl 5.8 for arch testing. it is getting to the point where it (diff)
downloadgentoo-2-87d586b7ea938eb72cb1455386ecb9154c3cdefd.tar.gz
gentoo-2-87d586b7ea938eb72cb1455386ecb9154c3cdefd.tar.bz2
gentoo-2-87d586b7ea938eb72cb1455386ecb9154c3cdefd.zip
fixed bug (init script got not installed)
Diffstat (limited to 'net-misc/omniORB')
-rw-r--r--net-misc/omniORB/files/omniORB-4.0.028
-rw-r--r--net-misc/omniORB/omniORB-4.0.0.ebuild15
2 files changed, 39 insertions, 4 deletions
diff --git a/net-misc/omniORB/files/omniORB-4.0.0 b/net-misc/omniORB/files/omniORB-4.0.0
new file mode 100644
index 000000000000..e81ff66fed32
--- /dev/null
+++ b/net-misc/omniORB/files/omniORB-4.0.0
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/files/omniORB-4.0.0,v 1.1 2002/12/15 18:35:05 lordvan Exp $
+
+depend() {
+ need net
+}
+
+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 omniORB"
+ exec /usr/bin/omniNames -start 2809 -logdir /var/log/omniORB \
+ -errlog /var/log/omniORB/omniORB.errors 1>&2 &
+ eend $? "Error starting omniORB."
+}
+
+stop() {
+ ebegin "Stopping omniORB"
+ killall omniNames 1>&2
+ eend $? "Error stopping omniORB."
+}
+
diff --git a/net-misc/omniORB/omniORB-4.0.0.ebuild b/net-misc/omniORB/omniORB-4.0.0.ebuild
index 801b268af46a..332d416506bc 100644
--- a/net-misc/omniORB/omniORB-4.0.0.ebuild
+++ b/net-misc/omniORB/omniORB-4.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.0.0.ebuild,v 1.1 2002/12/14 09:54:11 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.0.0.ebuild,v 1.2 2002/12/15 18:35:05 lordvan Exp $
DESCRIPTION="A robust, high-performance CORBA 2 ORB"
SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz"
@@ -35,7 +35,7 @@ src_compile() {
src_install () {
cd ${S}/build
- emake DESTDIR=${D} install
+ emake DESTDIR=${D} install
cd ${S}
dodoc COPYING* CREDITS README* ReleaseNotes*
@@ -51,7 +51,14 @@ src_install () {
dodir /etc/env.d/
echo "PATH=/usr/share/omniORB/bin/scripts" > ${D}/etc/env.d/90omniORB
echo "OMNIORB_CONFIG=/etc/omniorb/omniORB.cfg" >> ${D}/etc/env.d/90omniORB
-
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/omniORB-4.0.0 omniORB
+
+ cp ${S}/sample.cfg ${S}/omniORB.cfg
+ dodir /etc/omniorb
+ insinto /etc/omniorb
+ doins ${S}/omniORB.cfg
+
}
pkg_postinst() {
@@ -61,5 +68,5 @@ pkg_postinst() {
echo "ORBInitialHost `uname -n`" > ${ROOT}etc/omniorb/omniORB.cfg
echo "ORBInitialPort 2809" >> ${ROOT}etc/omniorb/omniORB.cfg
fi
-
+ #/usr/bin/python ${ROOT}usr/share/doc/${PF}/mkomnistubs.py
}