summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-09-07 20:27:42 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-09-07 20:27:42 +0000
commitf25fd9a02239b51a771ed4b11eece6a0aaee3f67 (patch)
tree9e55edb0221b9cf6b57001d4e31126f5221e7893 /net-misc/omniORB
parentStable on alpha, bug #283632 (diff)
downloadgentoo-2-f25fd9a02239b51a771ed4b11eece6a0aaee3f67.tar.gz
gentoo-2-f25fd9a02239b51a771ed4b11eece6a0aaee3f67.tar.bz2
gentoo-2-f25fd9a02239b51a771ed4b11eece6a0aaee3f67.zip
Bump
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/omniORB')
-rw-r--r--net-misc/omniORB/ChangeLog7
-rw-r--r--net-misc/omniORB/omniORB-4.1.4.ebuild83
2 files changed, 89 insertions, 1 deletions
diff --git a/net-misc/omniORB/ChangeLog b/net-misc/omniORB/ChangeLog
index 32739b591e3d..2694db82e2b5 100644
--- a/net-misc/omniORB/ChangeLog
+++ b/net-misc/omniORB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/omniORB
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.51 2009/06/20 15:37:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.52 2009/09/07 20:27:42 patrick Exp $
+
+*omniORB-4.1.4 (07 Sep 2009)
+
+ 07 Sep 2009; Patrick Lauer <patrick@gentoo.org> +omniORB-4.1.4.ebuild:
+ Bump
20 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> omniORB-4.1.3.ebuild,
+files/omniORB-4.1.3-glibc-2.10.patch:
diff --git a/net-misc/omniORB/omniORB-4.1.4.ebuild b/net-misc/omniORB/omniORB-4.1.4.ebuild
new file mode 100644
index 000000000000..de78729e1a81
--- /dev/null
+++ b/net-misc/omniORB/omniORB-4.1.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.1.4.ebuild,v 1.1 2009/09/07 20:27:42 patrick Exp $
+
+EAPI="2"
+
+inherit python eutils
+
+DESCRIPTION="A robust, high-performance CORBA 2 ORB"
+SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz"
+HOMEPAGE="http://omniorb.sourceforge.net/"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ssl"
+
+RDEPEND="dev-lang/python
+ ssl? ( >=dev-libs/openssl-0.9.6b )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e 's/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = $(OPTCXXFLAGS)/' \
+ -e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \
+ mk/beforeauto.mk.in \
+ mk/platforms/i586_linux_2.0*.mk || die "sed failed"
+}
+
+src_compile() {
+ mkdir build || die
+ cd build
+
+ MY_CONF="--prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg \
+ --with-omniNames-logdir=/var/log/omniORB --libdir=/usr/$(get_libdir)"
+
+ use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr"
+
+ python_version
+ PYTHON=/usr/bin/python${PYVER} ECONF_SOURCE=".." econf ${MY_CONF} \
+ || die "./configure failed"
+
+ emake OPTCFLAGS="${OPTCFLAGS}" OPTCXXFLAGS="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install () {
+ cd "${S}/build"
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ cd "${S}"
+ dodoc COPYING* CREDITS README* ReleaseNotes* || die
+
+ docinto print
+ #dodoc doc/*.ps doc/*.pdf || die
+
+ dodir /etc/env.d/
+ cat <<- EOF > "${T}/90omniORB"
+ PATH="/usr/share/omniORB/bin/scripts"
+ OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg"
+ EOF
+ doenvd "${T}/90omniORB" || die
+ doinitd "${FILESDIR}"/omniNames || die
+
+ cp "sample.cfg" "${T}/omniORB.cfg" || die
+ cat <<- EOF >> "${T}/omniORB.cfg"
+ # resolve the omniNames running on localhost
+ InitRef = NameService=corbaname::localhost
+ EOF
+ dodir /etc/omniorb
+ insinto /etc/omniorb
+ doins "${T}/omniORB.cfg" || die
+
+ keepdir /var/log/omniORB
+}
+
+pkg_postinst() {
+ elog "Since 4.1.2, the omniORB init script has been renamed to omniNames for clarity."
+ python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl"
+ python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl_be"
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}