Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/duma: duma-2.4.27.ebuild ChangeLog duma-2.5.8.ebuild
Date: Wed, 10 Oct 2007 00:45:07
Message-Id: E1IfPXm-00080h-Jw@stork.gentoo.org
1 nerdboy 07/10/10 00:35:22
2
3 Modified: duma-2.4.27.ebuild ChangeLog
4 Added: duma-2.5.8.ebuild
5 Log:
6 version bump and stable bump (special case) for bug 195203
7 (Portage version: 2.1.3.12)
8
9 Revision Changes Path
10 1.3 dev-util/duma/duma-2.4.27.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild?r1=1.2&r2=1.3
15
16 Index: duma-2.4.27.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- duma-2.4.27.ebuild 12 Jul 2007 01:05:42 -0000 1.2
23 +++ duma-2.4.27.ebuild 10 Oct 2007 00:35:22 -0000 1.3
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2007 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild,v 1.2 2007/07/12 01:05:42 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild,v 1.3 2007/10/10 00:35:22 nerdboy Exp $
29
30 inherit eutils versionator multilib toolchain-funcs
31 # flag-o-matic
32 @@ -15,7 +15,7 @@
33
34 LICENSE="GPL-2"
35 SLOT="0"
36 -KEYWORDS="~amd64 ~x86"
37 +KEYWORDS="amd64 x86"
38 IUSE=""
39
40 DEPEND="virtual/libc"
41 @@ -38,12 +38,10 @@
42 }
43
44 src_unpack(){
45 - unpack ${A}
46 + unpack "${A}"
47 cd "${S}"
48 epatch "${FILESDIR}/${P}-types.patch"
49 epatch "${FILESDIR}/${P}-make.patch"
50 - # source has carriage returns scattered throughout...
51 - #edos2unix *
52 }
53
54 src_compile(){
55 @@ -51,7 +49,7 @@
56 # for next part of compile
57 use amd64 && export DUMA_ALIGNMENT=16
58 # append-flags doesn't work here (stupid static makefile)
59 - emake CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
60 + make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
61 || die "emake failed"
62 }
63
64 @@ -59,7 +57,7 @@
65 einfo "Control-C now if you want to disable tests..."
66 epause 5
67
68 - cd ${S}
69 + cd "${S}"
70 use amd64 && export DUMA_ALIGNMENT=16
71 make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \
72 CC=$(tc-getCC) check || die "make check failed"
73
74
75
76 1.3 dev-util/duma/ChangeLog
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?rev=1.3&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?rev=1.3&content-type=text/plain
80 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?r1=1.2&r2=1.3
81
82 Index: ChangeLog
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v
85 retrieving revision 1.2
86 retrieving revision 1.3
87 diff -u -r1.2 -r1.3
88 --- ChangeLog 3 Apr 2007 06:09:16 -0000 1.2
89 +++ ChangeLog 10 Oct 2007 00:35:22 -0000 1.3
90 @@ -1,6 +1,13 @@
91 # ChangeLog for dev-util/duma
92 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
93 -# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.2 2007/04/03 06:09:16 nerdboy Exp $
94 +# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.3 2007/10/10 00:35:22 nerdboy Exp $
95 +
96 +*duma-2.5.8 (10 Oct 2007)
97 +
98 + 10 Oct 2007; Steve Arnold <nerdboy@g.o>
99 + +files/duma-2.5.8-soname.patch, duma-2.4.27.ebuild, +duma-2.5.8.ebuild:
100 + Version bump and stable bump (special case, since there was only one
101 + unstable version to begin with). Closes bug 195203.
102
103 *duma-2.4.27 (03 Apr 2007)
104
105
106
107
108 1.1 dev-util/duma/duma-2.5.8.ebuild
109
110 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.8.ebuild?rev=1.1&view=markup
111 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.8.ebuild?rev=1.1&content-type=text/plain
112
113 Index: duma-2.5.8.ebuild
114 ===================================================================
115 # Copyright 1999-2007 Gentoo Foundation
116 # Distributed under the terms of the GNU General Public License v2
117 # $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.8.ebuild,v 1.1 2007/10/10 00:35:22 nerdboy Exp $
118
119 inherit eutils toolchain-funcs versionator
120
121 MY_P="${PN}_$(replace_all_version_separators '_')"
122 S="${WORKDIR}/${MY_P}"
123
124 DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library."
125 HOMEPAGE="http://duma.sourceforge.net/"
126
127 SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz"
128
129 LICENSE="GPL-2"
130 SLOT="0"
131 KEYWORDS="~amd64 ~ppc ~x86"
132 IUSE="examples"
133
134 DEPEND="virtual/libc"
135 RDEPEND="${DEPEND}
136 app-shells/bash"
137
138 pkg_setup() {
139 #DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION"
140 DUMA_OPTIONS="-DDUMA_USE_FRAMENO"
141 if [ -n "${DUMA_OPTIONS}" ]; then
142 ewarn ""
143 elog "Custom build options are ${DUMA_OPTIONS}."
144 ewarn ""
145 else
146 ewarn ""
147 elog "Custom build options are not set!"
148 elog "See the package Makefile for more options."
149 ewarn ""
150 fi
151 }
152
153 src_unpack(){
154 unpack "${A}"
155 cd "${S}"
156 epatch "${FILESDIR}/${P}-soname.patch"
157 }
158
159 src_compile(){
160 use amd64 && export DUMA_ALIGNMENT=16
161 # append-flags doesn't work here (stupid static makefile) and neither
162 # does distcc :(
163 make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
164 || die "emake failed"
165 }
166
167 src_test() {
168 ewarn "Control-C now if you want to disable tests..."
169 epause 5
170
171 cd "${S}"
172 use amd64 && export DUMA_ALIGNMENT=16
173 make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \
174 CC=$(tc-getCC) check || die "make check failed"
175
176 ewarn "Check output above to verify all tests have passed..."
177 }
178
179 src_install(){
180 # make install fails nicely here on the first file...
181 newbin duma.sh duma
182 dolib.so libduma.so.0.0
183 dosym libduma.so.0.0 /usr/$(get_libdir)/libduma.so.0
184 dosym libduma.so.0.0 /usr/$(get_libdir)/libduma.so
185 dolib.a libduma.a
186
187 insinto /usr/include
188 doins duma.h dumapp.h sem_inc.h paging.h print.h duma_hlp.h noduma.h \
189 || die "failed to install headers"
190
191 dodoc CHANGELOG README.txt TODO
192 doman duma.3
193
194 if use examples; then
195 insinto /usr/share/doc/${P}/examples
196 doins example[1-6].cpp
197 doins example_makes/ex6/Makefile
198 fi
199 }
200
201
202
203 --
204 gentoo-commits@g.o mailing list