1 |
commit: 9ae25933810f43633a229d4ac9796c78c6fe22b3 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 19 08:37:36 2018 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 19 08:44:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae25933 |
7 |
|
8 |
net-misc/omniORB: Version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
11 |
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> |
12 |
|
13 |
net-misc/omniORB/Manifest | 1 + |
14 |
net-misc/omniORB/omniORB-4.2.2.ebuild | 97 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 98 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/omniORB/Manifest b/net-misc/omniORB/Manifest |
18 |
index e69e18926f4..47c456667c2 100644 |
19 |
--- a/net-misc/omniORB/Manifest |
20 |
+++ b/net-misc/omniORB/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST omniORB-4.1.4.tar.gz 3093814 BLAKE2B 6f85ff31f55533eac779554a165346fa693c41e261650f22c5d1889de731a5ca3b09d178945dee89b80553a81e7a9db3286efd465b4aafcb7c19e5dc5de5d105 SHA512 0ed989dd9a8c024a575ebbe1def137d11c4e52297727883d26cb1fdc87d2965e6d0152ee4b7b90097f2d97eb22501bb968eff0d070e88f80a9fef6b7439e1a1c |
23 |
DIST omniORB-4.2.1-2.tar.bz2 2663504 BLAKE2B 3a5a48e7d85b5815b576067f16cf602ff9a44e547e4350d25d8ae43d8063e1bccb3da88eed09328224c88420870a64f331e6198f2f8911f4a718322ffcd3a8e0 SHA512 574bbc66f9eee87f06500c798e034a289e6104b3a921c8e956231c5c042a3306016b2aa69699eadef25edb97bed7580f7f27beec3893582a1ba16bb01f934fd6 |
24 |
+DIST omniORB-4.2.2.tar.bz2 2673800 BLAKE2B 6afe4759cf19b69bd02d4864e305a0ebd0d11943a54c20d53987d9775f04833d5d2dbeb99e5bdcc59d56f116cfb14b9ae92399323e3980a44d9cef47a012c24f SHA512 3fe6c05d0e7f19455c4cd6702887f91b7d14cdc248008cbc456c103072a37251387877bd64d59a271c6e92703a70bbbb9713f9fa2e45d094628e42564cffd0ad |
25 |
|
26 |
diff --git a/net-misc/omniORB/omniORB-4.2.2.ebuild b/net-misc/omniORB/omniORB-4.2.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..289f1fa2c4f |
29 |
--- /dev/null |
30 |
+++ b/net-misc/omniORB/omniORB-4.2.2.ebuild |
31 |
@@ -0,0 +1,97 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+# The build system picks one version of python and sticks with it. It |
38 |
+# tries to guess your version (based on /usr/bin/python), but for |
39 |
+# consistency we have to force it to use one that we specify. The |
40 |
+# highest version the configure script will accept is python-3.3, but |
41 |
+# that's on it's way out, so we prefer to stick with python-2.7 for now. |
42 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
43 |
+ |
44 |
+inherit python-single-r1 |
45 |
+ |
46 |
+MY_P="${P/_p/-}" |
47 |
+DESCRIPTION="A robust, high-performance CORBA 2 ORB" |
48 |
+HOMEPAGE="http://omniorb.sourceforge.net/" |
49 |
+SRC_URI="mirror://sourceforge/omniorb/${MY_P}.tar.bz2" |
50 |
+ |
51 |
+LICENSE="LGPL-2 GPL-2" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
54 |
+IUSE="doc ipv6 ssl" |
55 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
56 |
+ |
57 |
+RDEPEND="${PYTHON_DEPS} |
58 |
+ ssl? ( dev-libs/openssl:0= )" |
59 |
+DEPEND="${RDEPEND}" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ # The OPTC(XX)FLAGS variables aren't present in these files, but we |
65 |
+ # will set them when we call emake. |
66 |
+ sed \ |
67 |
+ -e 's/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = $(OPTCXXFLAGS)/' \ |
68 |
+ -e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \ |
69 |
+ -i mk/beforeauto.mk.in mk/platforms/i586_linux_2.0*.mk || \ |
70 |
+ die 'failed to switch CFLAGS variables in the makefile includes' |
71 |
+ |
72 |
+ # The out-of-source build is suggested by upstream. |
73 |
+ mkdir build || die 'failed to create build directory' |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ cd build || die 'failed to change into the build directory' |
78 |
+ |
79 |
+ ECONF_SOURCE=".." econf \ |
80 |
+ --disable-static \ |
81 |
+ --with-omniORB-config=/etc/omniorb/omniORB.cfg \ |
82 |
+ --with-omniNames-logdir=/var/log/omniORB \ |
83 |
+ --libdir="/usr/$(get_libdir)" \ |
84 |
+ $(use_enable ipv6) \ |
85 |
+ $(use_with ssl openssl "/usr") |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ cd build || die 'failed to change into the build directory' |
90 |
+ emake OPTCFLAGS="${CFLAGS}" OPTCXXFLAGS="${CXXFLAGS}" |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ cd build || die 'failed to change into the build directory' |
95 |
+ default |
96 |
+ |
97 |
+ rm "${ED}/usr/bin/omniidlrun.py" || \ |
98 |
+ die 'failed to remove redundant omniidlrun.py' |
99 |
+ |
100 |
+ cd "${S}" || die "failed to change into the ${S} directory" |
101 |
+ |
102 |
+ dodoc CREDITS doc/*.html ReleaseNotes.txt update.log |
103 |
+ dodoc -r doc/omniORB |
104 |
+ |
105 |
+ if use doc; then |
106 |
+ dodoc doc/*.pdf |
107 |
+ fi |
108 |
+ |
109 |
+ cat <<- EOF > "${T}/90omniORB" |
110 |
+ PATH="/usr/share/omniORB/bin/scripts" |
111 |
+ OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg" |
112 |
+ EOF |
113 |
+ doenvd "${T}/90omniORB" |
114 |
+ doinitd "${FILESDIR}"/omniNames |
115 |
+ |
116 |
+ cp "sample.cfg" "${T}/omniORB.cfg" || die |
117 |
+ cat <<- EOF >> "${T}/omniORB.cfg" |
118 |
+ # resolve the omniNames running on localhost |
119 |
+ InitRef = NameService=corbaname::localhost |
120 |
+ EOF |
121 |
+ insinto /etc/omniorb |
122 |
+ doins "${T}"/omniORB.cfg |
123 |
+ |
124 |
+ keepdir /var/log/omniORB |
125 |
+ |
126 |
+ python_optimize |
127 |
+ python_fix_shebang "${ED}"/usr/bin/omniidl |
128 |
+} |