Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/omniORB: ChangeLog omniORB-4.1.4.ebuild
Date: Mon, 07 Sep 2009 20:27:45
Message-Id: E1MkkoQ-0006HQ-Nl@stork.gentoo.org
1 patrick 09/09/07 20:27:42
2
3 Modified: ChangeLog
4 Added: omniORB-4.1.4.ebuild
5 Log:
6 Bump
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 net-misc/omniORB/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 20 Jun 2009 15:37:09 -0000 1.51
23 +++ ChangeLog 7 Sep 2009 20:27:42 -0000 1.52
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/omniORB
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.51 2009/06/20 15:37:09 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.52 2009/09/07 20:27:42 patrick Exp $
29 +
30 +*omniORB-4.1.4 (07 Sep 2009)
31 +
32 + 07 Sep 2009; Patrick Lauer <patrick@g.o> +omniORB-4.1.4.ebuild:
33 + Bump
34
35 20 Jun 2009; Samuli Suominen <ssuominen@g.o> omniORB-4.1.3.ebuild,
36 +files/omniORB-4.1.3-glibc-2.10.patch:
37
38
39
40 1.1 net-misc/omniORB/omniORB-4.1.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/omniORB-4.1.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/omniORB-4.1.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: omniORB-4.1.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.1.4.ebuild,v 1.1 2009/09/07 20:27:42 patrick Exp $
50
51 EAPI="2"
52
53 inherit python eutils
54
55 DESCRIPTION="A robust, high-performance CORBA 2 ORB"
56 SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz"
57 HOMEPAGE="http://omniorb.sourceforge.net/"
58
59 LICENSE="LGPL-2 GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="ssl"
63
64 RDEPEND="dev-lang/python
65 ssl? ( >=dev-libs/openssl-0.9.6b )"
66 DEPEND="${RDEPEND}"
67
68 src_prepare() {
69 sed -i -e 's/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = $(OPTCXXFLAGS)/' \
70 -e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \
71 mk/beforeauto.mk.in \
72 mk/platforms/i586_linux_2.0*.mk || die "sed failed"
73 }
74
75 src_compile() {
76 mkdir build || die
77 cd build
78
79 MY_CONF="--prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg \
80 --with-omniNames-logdir=/var/log/omniORB --libdir=/usr/$(get_libdir)"
81
82 use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr"
83
84 python_version
85 PYTHON=/usr/bin/python${PYVER} ECONF_SOURCE=".." econf ${MY_CONF} \
86 || die "./configure failed"
87
88 emake OPTCFLAGS="${OPTCFLAGS}" OPTCXXFLAGS="${CXXFLAGS}" || die "emake failed"
89 }
90
91 src_install () {
92 cd "${S}/build"
93 emake DESTDIR="${D}" install || die "emake install failed"
94
95 cd "${S}"
96 dodoc COPYING* CREDITS README* ReleaseNotes* || die
97
98 docinto print
99 #dodoc doc/*.ps doc/*.pdf || die
100
101 dodir /etc/env.d/
102 cat <<- EOF > "${T}/90omniORB"
103 PATH="/usr/share/omniORB/bin/scripts"
104 OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg"
105 EOF
106 doenvd "${T}/90omniORB" || die
107 doinitd "${FILESDIR}"/omniNames || die
108
109 cp "sample.cfg" "${T}/omniORB.cfg" || die
110 cat <<- EOF >> "${T}/omniORB.cfg"
111 # resolve the omniNames running on localhost
112 InitRef = NameService=corbaname::localhost
113 EOF
114 dodir /etc/omniorb
115 insinto /etc/omniorb
116 doins "${T}/omniORB.cfg" || die
117
118 keepdir /var/log/omniORB
119 }
120
121 pkg_postinst() {
122 elog "Since 4.1.2, the omniORB init script has been renamed to omniNames for clarity."
123 python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl"
124 python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl_be"
125 }
126
127 pkg_postrm() {
128 python_mod_cleanup
129 }