Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mico/
Date: Thu, 06 Jun 2019 16:49:37
Message-Id: 1559839743.bf38294d4901f60feb6470577f7cbe2e500c169b.asturm@gentoo
1 commit: bf38294d4901f60feb6470577f7cbe2e500c169b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 4 19:06:06 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 6 16:49:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf38294d
7
8 net-misc/mico: Drop 2.3.13-r12
9
10 Broken by >=OpenSSL-1.1.
11 Package-Manager: Portage-2.3.67, Repoman-2.3.13
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 net-misc/mico/Manifest | 1 -
15 net-misc/mico/mico-2.3.13-r12.ebuild | 149 -----------------------------------
16 2 files changed, 150 deletions(-)
17
18 diff --git a/net-misc/mico/Manifest b/net-misc/mico/Manifest
19 index 498feb5d815..26f32e44648 100644
20 --- a/net-misc/mico/Manifest
21 +++ b/net-misc/mico/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST mico-2.3.13-gentoo-patches-20170529.tar.xz 15196 BLAKE2B a25371cc1b7d0ee912aaa694943e9faa87f9c3df1c85186af1ab0d328bfa3138ce82381e1c91c732ae4b4d9d9b394058a1666af3b8547da675948aa556176a26 SHA512 ea7cbf00b33ed5eaacc5418539562645cecefc6f2ee7929d58517f7775fa62ac07a26967cd84570410281930b7a4570302f4edc9a9cc76661a99a5f28bce37cf
24 DIST mico-2.3.13-gentoo-r13.patch 133254 BLAKE2B 71e22f8bd7491b6aa594a32d7d2a5677b3fc1376bb8ff11eae20e6749ec9c582b99704030c2178f81f1b1fd4ac8f4c2b14e3c80cdf9769ed49004c5a4bab761d SHA512 4e4c60c8e3f6e303b136d17cc83cd5bb92a2b23c0a843721ba74e62d6c69224719bf254a5d8c028df0166c36a07ef349e98f4244b4d208e689c3b6c382c1b906
25 DIST mico-2.3.13.tar.gz 3269814 BLAKE2B cddf6a3d3192625af492b1fa3cf91d4d19d3c8b410de9889cc2e68b6a0db28aef228c1c4e11dc04d4de629d58181dc9e9fd93ddd74537e3362ad5bcd4881750b SHA512 b4c09b5a41e480b8211529776b83e84669e1e91ccba7a0d2d940834f217bc7f3d9ef74101dadc43778c6813b733ccfdae2b00eab2f0993b58193bb9f270e3895
26
27 diff --git a/net-misc/mico/mico-2.3.13-r12.ebuild b/net-misc/mico/mico-2.3.13-r12.ebuild
28 deleted file mode 100644
29 index 97281d44bfd..00000000000
30 --- a/net-misc/mico/mico-2.3.13-r12.ebuild
31 +++ /dev/null
32 @@ -1,149 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -
38 -inherit flag-o-matic toolchain-funcs autotools
39 -
40 -PATCH_VER=20170529
41 -
42 -if [[ ${PV} == 9999 ]]; then
43 - EDARCS_REPOSITORY="http://mico.org/mico-darcs-repository"
44 - inherit darcs
45 - SRC_URI=
46 -else
47 - SRC_URI="http://www.mico.org/${P}.tar.gz"
48 -fi
49 -
50 -if [[ -n ${PATCH_VER} ]]; then
51 - SRC_URI+=" https://dev.gentoo.org/~haubi/distfiles/${P}-gentoo-patches-${PATCH_VER}.tar.xz"
52 - PATCHES=${WORKDIR}/patches
53 -else
54 - PATCHES=
55 -fi
56 -
57 -DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
58 -HOMEPAGE="http://www.mico.org/"
59 -LICENSE="GPL-2 LGPL-2"
60 -SLOT="0"
61 -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
62 -IUSE="gtk postgres ssl tcl threads X"
63 -RESTRICT="test" #298101
64 -
65 -# doesn't compile:
66 -# bluetooth? ( net-wireless/bluez )
67 -
68 -RDEPEND="
69 - gtk? ( x11-libs/gtk+:2 )
70 - postgres? ( dev-db/postgresql:* )
71 - ssl? ( dev-libs/openssl:0= )
72 - tcl? ( dev-lang/tcl:0 )
73 - X? ( x11-libs/libXt )
74 -"
75 -DEPEND="${RDEPEND}
76 - >=sys-devel/flex-2.5.2
77 - >=sys-devel/bison-1.22
78 -"
79 -
80 -if [[ ${PV} == 9999 ]]; then
81 - src_unpack() {
82 - darcs_src_unpack
83 - default
84 - }
85 -else
86 - S=${WORKDIR}/${PN}
87 -fi
88 -
89 -src_prepare() {
90 - default
91 -
92 - eautoreconf
93 -
94 - # cannot use big TOC (AIX only), gdb doesn't like it.
95 - # This assumes that the compiler (or -wrapper) uses
96 - # gcc flag '-mminimal-toc' for compilation.
97 - sed -i -e 's/,-bbigtoc//' "${S}"/configure || die
98 -}
99 -
100 -src_configure() {
101 - tc-export CC CXX
102 -
103 - if use gtk && [[ -n ${PATCH_VER} ]]; then
104 - # need gtk-1 wrapper for gtk-2
105 - export PATH="${WORKDIR}"/helpers:${PATH}
106 - fi
107 -
108 - # Don't know which version of JavaCUP would suffice, but there is no
109 - # configure argument to disable checking for JavaCUP.
110 - # So we override the configure check to not find 'javac'.
111 - export ac_cv_path_JAVAC=no
112 -
113 - # '--without-ssl' just does not add another search path - the only way
114 - # to disable openssl utilization seems to override the configure check.
115 - use ssl || export ac_cv_lib_ssl_open=no
116 -
117 - local myconf=
118 - myconf() {
119 - myconf="${myconf} $*"
120 - }
121 -
122 - myconf --disable-mini-stl
123 - myconf $(use_enable threads)
124 -
125 - # '--without-*' or '--with-*=no' does not disable some features,
126 - # the value needs to be empty instead.
127 - # This applies to: gtk, pgsql, qt, tcl, bluetooth.
128 - myconf --with-gtk=$( use gtk && echo "${EPREFIX}"/usr)
129 - myconf --with-pgsql=$(use postgres && echo "${EPREFIX}"/usr)
130 - myconf --with-tcl=$( use tcl && echo "${EPREFIX}"/usr)
131 - # bluetooth and wireless both don't compile cleanly
132 - myconf --with-bluetooth=''
133 - myconf --disable-wireless
134 - # But --without-x works.
135 - myconf $(use_with X x "${EPREFIX}"/usr)
136 -
137 - # http://www.mico.org/pipermail/mico-devel/2009-April/010285.html
138 - [[ ${CHOST} == *-hpux* ]] && append-cppflags -D_XOPEN_SOURCE_EXTENDED
139 -
140 - if [[ ${CHOST} == *-winnt* ]]; then
141 - # disabling static libs, since ar on interix takes nearly
142 - # one hour per library, thanks to mico's monster objects.
143 - use threads &&
144 - ewarn "disabling USE='threads', does not work on ${CHOST}"
145 - myconf --disable-threads --disable-static --enable-final
146 - append-flags -D__STDC__
147 - fi
148 -
149 - econf ${myconf}
150 -}
151 -
152 -src_install() {
153 - emake INSTDIR="${ED}"usr SHARED_INSTDIR="${ED}"usr install LDCONFIG=:
154 - if [[ $(get_libdir) != lib ]]; then #500744
155 - mv "${ED}"usr/lib "${ED}"usr/$(get_libdir) || die
156 - fi
157 -
158 - # avoid conflict with net-dns/nsd, bug#544488
159 - mv "${ED}"usr/bin/{,mico-}nsd || die
160 - mv "${ED}"usr/man/man8/{,mico-}nsd.8 || die
161 -
162 - # avoid conflict with net-misc/eventd, bug#632170
163 - mv "${ED}"usr/bin/{,mico-}eventd || die
164 -
165 - dodir /usr/share
166 - mv "${ED}"usr/man "${ED}"usr/share || die
167 - dodir /usr/share/doc/${PF}
168 - mv "${ED}"usr/doc "${ED}"usr/share/doc/${PF} || die
169 -
170 - dodoc BUGS CHANGES* CONVERT FAQ README* ROADMAP TODO VERSION WTODO
171 -}
172 -
173 -pkg_postinst() {
174 - einfo "The MICO Name Service daemon 'nsd' is named 'mico-nsd'"
175 - einfo "due to a name conflict with net-dns/nsd. For details"
176 - einfo "please refer to https://bugs.gentoo.org/544488."
177 - einfo
178 - einfo "The MICO Event daemon 'eventd' is named 'mico-eventd'"
179 - einfo "due to a name conflict with net-misc/eventd. For details"
180 - einfo "please refer to https://bugs.gentoo.org/632170."
181 -}