summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2005-09-30 00:55:14 +0000
committerBryan Østergaard <kloeri@gentoo.org>2005-09-30 00:55:14 +0000
commitfa70fca9df329cc7603b977d7789954147713535 (patch)
tree87782aa69fb5d5422d06815c4337da89e081e19c /net-misc
parentNew release: 2.12.2 (diff)
downloadgentoo-2-fa70fca9df329cc7603b977d7789954147713535.tar.gz
gentoo-2-fa70fca9df329cc7603b977d7789954147713535.tar.bz2
gentoo-2-fa70fca9df329cc7603b977d7789954147713535.zip
Initial commit, ebuild by James Le Cuirot <chewi@ffaura.com>, bug 87857.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/omnievents/ChangeLog10
-rw-r--r--net-misc/omnievents/Manifest4
-rw-r--r--net-misc/omnievents/files/digest-omnievents-2.6.21
-rw-r--r--net-misc/omnievents/files/omnievents-conf23
-rw-r--r--net-misc/omnievents/files/omnievents-init23
-rw-r--r--net-misc/omnievents/metadata.xml8
-rw-r--r--net-misc/omnievents/omnievents-2.6.2.ebuild44
7 files changed, 113 insertions, 0 deletions
diff --git a/net-misc/omnievents/ChangeLog b/net-misc/omnievents/ChangeLog
new file mode 100644
index 000000000000..40310aab429c
--- /dev/null
+++ b/net-misc/omnievents/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/omnievents
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/ChangeLog,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+*omnievents-2.6.2 (30 Sep 2005)
+
+ 30 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> +files/omnievents-conf,
+ +files/omnievents-init, +metadata.xml, +omnievents-2.6.2.ebuild:
+ Initial commit, ebuild by James Le Cuirot <chewi@ffaura.com>, bug 87857.
+
diff --git a/net-misc/omnievents/Manifest b/net-misc/omnievents/Manifest
new file mode 100644
index 000000000000..282f30e3899c
--- /dev/null
+++ b/net-misc/omnievents/Manifest
@@ -0,0 +1,4 @@
+MD5 77dd284eeb5a0fc94329b78318ace5a3 omnievents-2.6.2.ebuild 940
+MD5 ab37db48c0c5fa7134cf1c0d5dfbe5a5 files/digest-omnievents-2.6.2 73
+MD5 874e95b109a46e47a55ceb0953bbedc1 files/omnievents-init 666
+MD5 63439b3b1335e558f9889de7cdb30491 files/omnievents-conf 701
diff --git a/net-misc/omnievents/files/digest-omnievents-2.6.2 b/net-misc/omnievents/files/digest-omnievents-2.6.2
new file mode 100644
index 000000000000..58b79736c32b
--- /dev/null
+++ b/net-misc/omnievents/files/digest-omnievents-2.6.2
@@ -0,0 +1 @@
+MD5 2087d0f6b7e89da22697c8854a9c8ad0 omniEvents-2_6_2-src.tar.gz 1328376
diff --git a/net-misc/omnievents/files/omnievents-conf b/net-misc/omnievents/files/omnievents-conf
new file mode 100644
index 000000000000..c30bbb4321b4
--- /dev/null
+++ b/net-misc/omnievents/files/omnievents-conf
@@ -0,0 +1,23 @@
+# /etc/conf.d/omniEvents
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/files/omnievents-conf,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+# Determines the port on which omniEvents will listen.
+
+OMNIEVENTS_PORT=11169
+
+# The name of omniEvents' EventChannelFactory in the naming service.
+# Examples: TopLevelName Context/SubContext/Id.Kind
+
+OMNIEVENTS_NS_NAME=EventChannelFactory
+
+# Set alternate endPoint for failover. The address should point to the
+# alternate omniEvents daemon, usually on another machine.
+
+#OMNIEVENTS_ALTERNATE=giop:tcp:<alternate_host>:11169
+
+# Any other options.
+# For debugging, you might set it to: -ORBtraceLevel 10 -t/var/log/omniEvents.log
+
+#OMNIEVENTS_OPTIONS=
diff --git a/net-misc/omnievents/files/omnievents-init b/net-misc/omnievents/files/omnievents-init
new file mode 100644
index 000000000000..245726c46a72
--- /dev/null
+++ b/net-misc/omnievents/files/omnievents-init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/files/omnievents-init,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ test -n "$OMNIEVENTS_ALTERNATE" && OPT_ALTERNATE="-a $OMNIEVENTS_ALTERNATE"
+ test -n "$OMNIEVENTS_NS_NAME" && OPT_NS_NAME="-N $OMNIEVENTS_NS_NAME"
+
+ ebegin "Starting omniEvents"
+ start-stop-daemon --start --quiet --exec /usr/sbin/omniEvents -- $OMNIEVENTS_OPTIONS -P /var/run/omniEvents.pid -l /var/lib/omniEvents -p $OMNIEVENTS_PORT $OPT_ALTERNATE $OPT_NS_NAME
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping omniEvents"
+ start-stop-daemon --stop --quiet --pidfile /var/run/omniEvents.pid
+ eend $?
+}
diff --git a/net-misc/omnievents/metadata.xml b/net-misc/omnievents/metadata.xml
new file mode 100644
index 000000000000..95764d95acc2
--- /dev/null
+++ b/net-misc/omnievents/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>kloeri@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/omnievents/omnievents-2.6.2.ebuild b/net-misc/omnievents/omnievents-2.6.2.ebuild
new file mode 100644
index 000000000000..212f02ac9c28
--- /dev/null
+++ b/net-misc/omnievents/omnievents-2.6.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/omnievents-2.6.2.ebuild,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+inherit versionator
+
+MY_PV=$(replace_all_version_separators "_")
+MY_P="omniEvents-${MY_PV}"
+
+
+DESCRIPTION="An implementation of the CORBA Events Service for omniORB"
+SRC_URI="mirror://sourceforge/omnievents/${MY_P}-src.tar.gz"
+HOMEPAGE="http://www.omnievents.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=net-misc/omniORB-4"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ econf || die "Failed to configure!"
+ emake -j1 || die "Failed to compile!"
+}
+
+src_install () {
+ make DESTDIR=${D} install
+
+ doman doc/man/*
+
+ dohtml -A xml -x man,rc -r doc/*
+
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/*
+
+ diropts -m0700
+ dodir /var/lib/omniEvents
+ keepdir /var/lib/omniEvents
+
+ install -D -m0755 ${FILESDIR}/${PN}-init ${D}/etc/init.d/${PN}
+ install -D -m0644 ${FILESDIR}/${PN}-conf ${D}/etc/conf.d/${PN}
+}