From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA332138335 for ; Mon, 19 Nov 2018 08:45:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61505E099F; Mon, 19 Nov 2018 08:45:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E60BE099F for ; Mon, 19 Nov 2018 08:45:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B72FC335C31 for ; Mon, 19 Nov 2018 08:45:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0275343A for ; Mon, 19 Nov 2018 08:44:59 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1542617067.9ae25933810f43633a229d4ac9796c78c6fe22b3.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/omniORB/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/omniORB/Manifest net-misc/omniORB/omniORB-4.2.2.ebuild X-VCS-Directories: net-misc/omniORB/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 9ae25933810f43633a229d4ac9796c78c6fe22b3 X-VCS-Branch: master Date: Mon, 19 Nov 2018 08:44:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0ef8dd57-7600-472a-a30e-c5082c39b036 X-Archives-Hash: 64d38e1b7e63b011bc47ef90c9f0ab75 commit: 9ae25933810f43633a229d4ac9796c78c6fe22b3 Author: Alexey Shvetsov gentoo org> AuthorDate: Mon Nov 19 08:37:36 2018 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Mon Nov 19 08:44:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae25933 net-misc/omniORB: Version bump Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov gentoo.org> net-misc/omniORB/Manifest | 1 + net-misc/omniORB/omniORB-4.2.2.ebuild | 97 +++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) diff --git a/net-misc/omniORB/Manifest b/net-misc/omniORB/Manifest index e69e18926f4..47c456667c2 100644 --- a/net-misc/omniORB/Manifest +++ b/net-misc/omniORB/Manifest @@ -1,2 +1,3 @@ DIST omniORB-4.1.4.tar.gz 3093814 BLAKE2B 6f85ff31f55533eac779554a165346fa693c41e261650f22c5d1889de731a5ca3b09d178945dee89b80553a81e7a9db3286efd465b4aafcb7c19e5dc5de5d105 SHA512 0ed989dd9a8c024a575ebbe1def137d11c4e52297727883d26cb1fdc87d2965e6d0152ee4b7b90097f2d97eb22501bb968eff0d070e88f80a9fef6b7439e1a1c DIST omniORB-4.2.1-2.tar.bz2 2663504 BLAKE2B 3a5a48e7d85b5815b576067f16cf602ff9a44e547e4350d25d8ae43d8063e1bccb3da88eed09328224c88420870a64f331e6198f2f8911f4a718322ffcd3a8e0 SHA512 574bbc66f9eee87f06500c798e034a289e6104b3a921c8e956231c5c042a3306016b2aa69699eadef25edb97bed7580f7f27beec3893582a1ba16bb01f934fd6 +DIST omniORB-4.2.2.tar.bz2 2673800 BLAKE2B 6afe4759cf19b69bd02d4864e305a0ebd0d11943a54c20d53987d9775f04833d5d2dbeb99e5bdcc59d56f116cfb14b9ae92399323e3980a44d9cef47a012c24f SHA512 3fe6c05d0e7f19455c4cd6702887f91b7d14cdc248008cbc456c103072a37251387877bd64d59a271c6e92703a70bbbb9713f9fa2e45d094628e42564cffd0ad diff --git a/net-misc/omniORB/omniORB-4.2.2.ebuild b/net-misc/omniORB/omniORB-4.2.2.ebuild new file mode 100644 index 00000000000..289f1fa2c4f --- /dev/null +++ b/net-misc/omniORB/omniORB-4.2.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# The build system picks one version of python and sticks with it. It +# tries to guess your version (based on /usr/bin/python), but for +# consistency we have to force it to use one that we specify. The +# highest version the configure script will accept is python-3.3, but +# that's on it's way out, so we prefer to stick with python-2.7 for now. +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit python-single-r1 + +MY_P="${P/_p/-}" +DESCRIPTION="A robust, high-performance CORBA 2 ORB" +HOMEPAGE="http://omniorb.sourceforge.net/" +SRC_URI="mirror://sourceforge/omniorb/${MY_P}.tar.bz2" + +LICENSE="LGPL-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc ipv6 ssl" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + # The OPTC(XX)FLAGS variables aren't present in these files, but we + # will set them when we call emake. + sed \ + -e 's/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = $(OPTCXXFLAGS)/' \ + -e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \ + -i mk/beforeauto.mk.in mk/platforms/i586_linux_2.0*.mk || \ + die 'failed to switch CFLAGS variables in the makefile includes' + + # The out-of-source build is suggested by upstream. + mkdir build || die 'failed to create build directory' +} + +src_configure() { + cd build || die 'failed to change into the build directory' + + ECONF_SOURCE=".." econf \ + --disable-static \ + --with-omniORB-config=/etc/omniorb/omniORB.cfg \ + --with-omniNames-logdir=/var/log/omniORB \ + --libdir="/usr/$(get_libdir)" \ + $(use_enable ipv6) \ + $(use_with ssl openssl "/usr") +} + +src_compile() { + cd build || die 'failed to change into the build directory' + emake OPTCFLAGS="${CFLAGS}" OPTCXXFLAGS="${CXXFLAGS}" +} + +src_install() { + cd build || die 'failed to change into the build directory' + default + + rm "${ED}/usr/bin/omniidlrun.py" || \ + die 'failed to remove redundant omniidlrun.py' + + cd "${S}" || die "failed to change into the ${S} directory" + + dodoc CREDITS doc/*.html ReleaseNotes.txt update.log + dodoc -r doc/omniORB + + if use doc; then + dodoc doc/*.pdf + fi + + cat <<- EOF > "${T}/90omniORB" + PATH="/usr/share/omniORB/bin/scripts" + OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg" + EOF + doenvd "${T}/90omniORB" + doinitd "${FILESDIR}"/omniNames + + cp "sample.cfg" "${T}/omniORB.cfg" || die + cat <<- EOF >> "${T}/omniORB.cfg" + # resolve the omniNames running on localhost + InitRef = NameService=corbaname::localhost + EOF + insinto /etc/omniorb + doins "${T}"/omniORB.cfg + + keepdir /var/log/omniORB + + python_optimize + python_fix_shebang "${ED}"/usr/bin/omniidl +}