Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/openmotif-compat: ChangeLog openmotif-compat-2.2.3-r1.ebuild
Date: Sat, 09 Oct 2010 15:03:26
Message-Id: 20101009140439.325862004E@flycatcher.gentoo.org
1 ulm 10/10/09 14:04:39
2
3 Modified: ChangeLog
4 Added: openmotif-compat-2.2.3-r1.ebuild
5 Log:
6 Fix buffer overflow in libmrm, bug 340249.
7
8 (Portage version: 2.1.9.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 x11-libs/openmotif-compat/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif-compat/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif-compat/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif-compat/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/openmotif-compat/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 15 Dec 2009 09:23:41 -0000 1.7
24 +++ ChangeLog 9 Oct 2010 14:04:26 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-libs/openmotif-compat
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif-compat/ChangeLog,v 1.7 2009/12/15 09:23:41 ulm Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif-compat/ChangeLog,v 1.8 2010/10/09 14:04:26 ulm Exp $
31 +
32 +*openmotif-compat-2.2.3-r1 (09 Oct 2010)
33 +
34 + 09 Oct 2010; Ulrich Mueller <ulm@g.o>
35 + +openmotif-compat-2.2.3-r1.ebuild:
36 + Fix buffer overflow in libmrm, bug 340249.
37
38 15 Dec 2009; Ulrich Mueller <ulm@g.o>
39 openmotif-compat-2.2.3.ebuild:
40
41
42
43 1.1 x11-libs/openmotif-compat/openmotif-compat-2.2.3-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif-compat/openmotif-compat-2.2.3-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif-compat/openmotif-compat-2.2.3-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: openmotif-compat-2.2.3-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif-compat/openmotif-compat-2.2.3-r1.ebuild,v 1.1 2010/10/09 14:04:27 ulm Exp $
53
54 WANT_AUTOMAKE="1.6"
55
56 inherit eutils flag-o-matic multilib autotools
57
58 MY_P=openMotif-${PV}
59 DESCRIPTION="Legacy Open Motif libraries for old binaries"
60 HOMEPAGE="http://www.motifzone.net/"
61 SRC_URI="ftp://ftp.ics.com/openmotif/2.2/${PV}/src/${MY_P}.tar.gz
62 mirror://gentoo/openmotif-${PV}-patches-4.tar.bz2"
63
64 LICENSE="MOTIF MIT"
65 SLOT="2.2"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="!x11-libs/motif-config
70 !x11-libs/lesstif
71 !=x11-libs/openmotif-2.2*
72 x11-libs/libXmu
73 x11-libs/libXp"
74
75 DEPEND="${RDEPEND}
76 x11-libs/libXaw
77 x11-misc/xbitmaps"
78
79 S=${WORKDIR}/${MY_P}
80
81 src_unpack() {
82 unpack ${A}
83 cd "${S}"
84
85 EPATCH_SUFFIX=patch epatch
86
87 # This replaces deprecated, obsoleted and now invalid AC_DEFINE
88 # with their proper alternatives.
89 sed -i -e 's:AC_DEFINE(\([^)]*\)):AC_DEFINE(\1, [], [\1]):g' \
90 configure.in acinclude.m4
91
92 # Build only the libraries
93 sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/=.*/= lib clients/;}' Makefile.am
94 sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/=.*/= uil/;}' clients/Makefile.am
95
96 eautoreconf
97 }
98
99 src_compile() {
100 # get around some LANG problems in make (#15119)
101 unset LANG
102
103 # bug #80421
104 filter-flags -ftracer
105
106 # multilib includes don't work right in this package...
107 has_multilib_profile && append-flags "-I$(get_ml_incdir)"
108
109 # feel free to fix properly if you care
110 append-flags -fno-strict-aliasing
111
112 econf --with-x || die "econf failed"
113 emake -j1 || die "emake failed"
114 }
115
116 src_install() {
117 emake -j1 DESTDIR="${D}" install-exec || die "emake install failed"
118
119 # cleanups
120 rm -Rf "${D}"/usr/bin
121 rm -f "${D}"/usr/$(get_libdir)/*.{so,la,a}
122
123 dodoc README RELEASE RELNOTES BUGREPORT TODO
124 }