diff options
Diffstat (limited to 'net-misc/omniORB')
-rw-r--r-- | net-misc/omniORB/Manifest | 4 | ||||
-rw-r--r-- | net-misc/omniORB/metadata.xml | 15 | ||||
-rw-r--r-- | net-misc/omniORB/omniORB-4.3.0.ebuild | 92 |
3 files changed, 106 insertions, 5 deletions
diff --git a/net-misc/omniORB/Manifest b/net-misc/omniORB/Manifest index cac07b17284e..3d0cdc503a04 100644 --- a/net-misc/omniORB/Manifest +++ b/net-misc/omniORB/Manifest @@ -1,4 +1,6 @@ AUX omniNames 571 BLAKE2B d1a151abb6faf582478e3892b7b057f92263fa0278cb3f3fb82fec20ba60b3e40733fcc2b223286466c9f4eb60fbe49cd9ce239f95e7e1cccb5b5b1df2e88893 SHA512 98f08cd0bef699bdd8da026efbf211c5bf8dfa5bb24bd4438581dd4acf6cbabdb42e19de5a5d8ae9db74bafea86fb316ff75f3278c255cab7277f95681578044 DIST omniORB-4.2.4.tar.bz2 2713397 BLAKE2B 5759b2563dca421b9a994bb13c30ce6dd98324a2357c4908130a42ce5baec357b881c22b4dff27809607ebde27e7cd65305a91aa5cbdb6d68a19df1f36524e72 SHA512 0b142b127175f16f844823e5adf5593b290528646e13a4c30f6cbd92d159d3998a81b952717039c3f0e386f79404ddd18a3de35fc45fa88383d1d9e51064d988 +DIST omniORB-4.3.0.tar.bz2 2762061 BLAKE2B f9103080011a7e683b7e63f6553e8a60947820a331d7c4e3559c961a7f36b17e235c5808e7b282d0227343e6e794106b9f2b93bf138b1a919716d1338e1c9cc2 SHA512 b081c1acbea3c7bee619a288fec209a0705b7d436f8e5fd4743675046356ef271a8c75882334fcbde4ff77d15f54d2da55f6cfcd117b01e42919d04fd29bfe2f EBUILD omniORB-4.2.4.ebuild 2356 BLAKE2B a245ac15e187ed3a520ed6c41d3673dfacc72b9ba94e9b4764b932627fcaf1b5915aa5af80d737e69d15703b0d2ee0b589c43d508bb7897680e697538480149d SHA512 25d9491129305db575442b6d732530048ae24c411224098dcf5633efcb1747e98c2cd900f769fc1e92371d0298eb7c41322d63b7f45ebeca8df68c336dacc36c -MISC metadata.xml 248 BLAKE2B 6b95a9a2c894490085abcf451cc5d598f356cb34085ae0a247c4c3d4943a472c947983bf2f90242bb949e09485f95a4f7a368593a24f1638606c2bbb9a12e8fa SHA512 b1b79973bfd62795feea524b26a30a5e00b230d3f6416f94cd912899d8b1e22aa3a78e71f8333382a19a41a112e21b0af17b88993b137a87c5b38f81028e6670 +EBUILD omniORB-4.3.0.ebuild 2338 BLAKE2B 81b4181cf5389a16caee3df78ff2087dd23d4d9de2bc1ade1e01614dbb3fbb290c87833cb6c9e24cf135fd7884df4cac7680dc96a1b5506a1e10e04f96e9789d SHA512 dc84d1bef1aa5aec6e9991aff4eb19a331c4d5b929491a6c9a301354017b84fc5f989f121d9630faf361e40ecb6da364012f8bb011d7a257e50ff44d8261d4b8 +MISC metadata.xml 480 BLAKE2B 18c6b730f8a61f23ca0141f021af7106bcb9d47d66b9bebccf2caecb242b01e9256458da34b2a76d6451ef5f19e926c4c0362ade9a0bfff0dc5384c2f2949de2 SHA512 ee60840029f943440643b41e21daf17edb0c74e56210ce753ffcd0628aa5fc3191101f4c1b53a9b275df78cb8afddcca9c82795ea632cc1e2946fd0e371b33d7 diff --git a/net-misc/omniORB/metadata.xml b/net-misc/omniORB/metadata.xml index fb1b00f74288..2178b72656c8 100644 --- a/net-misc/omniORB/metadata.xml +++ b/net-misc/omniORB/metadata.xml @@ -1,8 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!--maintainer-needed--> - <upstream> - <remote-id type="sourceforge">omniorb</remote-id> - </upstream> + <maintainer type="person" proxied="yes"> + <email>aliens.satin0y@icloud.com</email> + <name>Thomas Juerges</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">omniorb</remote-id> + </upstream> </pkgmetadata> diff --git a/net-misc/omniORB/omniORB-4.3.0.ebuild b/net-misc/omniORB/omniORB-4.3.0.ebuild new file mode 100644 index 000000000000..2ba601fe4528 --- /dev/null +++ b/net-misc/omniORB/omniORB-4.3.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +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:= )" +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/unix.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 +} |