1 |
nerdboy 10/04/04 07:41:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: duma-2.5.15-r1.ebuild |
5 |
Removed: duma-2.5.15.ebuild |
6 |
Log: |
7 |
Updated with fix for duma shell script (closes bug 310701). |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 dev-util/duma/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 26 Sep 2009 09:32:17 -0000 1.13 |
24 |
+++ ChangeLog 4 Apr 2010 07:41:06 -0000 1.14 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-util/duma |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.13 2009/09/26 09:32:17 flameeyes Exp $ |
29 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.14 2010/04/04 07:41:06 nerdboy Exp $ |
31 |
+ |
32 |
+*duma-2.5.15-r1 (04 Apr 2010) |
33 |
+ |
34 |
+ 04 Apr 2010; Steve Arnold <nerdboy@g.o> -duma-2.5.15.ebuild, |
35 |
+ +duma-2.5.15-r1.ebuild: |
36 |
+ Updated with fix for duma shell script (closes bug #310701). |
37 |
|
38 |
26 Sep 2009; Diego E. Pettenò <flameeyes@g.o> duma-2.5.15.ebuild, |
39 |
-files/duma-2.5.15-GNUmakefile.patch: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-util/duma/duma-2.5.15-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.15-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.15-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: duma-2.5.15-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/dev-util/duma/duma-2.5.15-r1.ebuild,v 1.1 2010/04/04 07:41:06 nerdboy Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit eutils flag-o-matic multilib toolchain-funcs versionator |
56 |
|
57 |
MY_P=${PN}_$(replace_all_version_separators '_') |
58 |
|
59 |
DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library" |
60 |
HOMEPAGE="http://duma.sourceforge.net" |
61 |
SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz |
62 |
mirror://gentoo/${P}-GNUmakefile.patch.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~x86" |
67 |
IUSE="examples" |
68 |
|
69 |
RDEPEND="app-shells/bash" |
70 |
DEPEND="${RDEPEND}" |
71 |
|
72 |
S=${WORKDIR}/${MY_P} |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${DISTDIR}"/${P}-GNUmakefile.patch.bz2 |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
# strip-flags |
80 |
replace-flags O? O0 |
81 |
append-flags -Wall -Wextra -U_FORTIFY_SOURCE |
82 |
tc-export AR CC CXX LD RANLIB |
83 |
|
84 |
case "${CHOST}" in |
85 |
*-linux-gnu) |
86 |
OS=linux;; |
87 |
*-solaris*) |
88 |
OS=solaris;; |
89 |
*-darwin*) |
90 |
OS=osx;; |
91 |
*-freebsd*) |
92 |
OS=freebsd;; |
93 |
*-netbsd*) |
94 |
OS=netbsd;; |
95 |
*-cygwin*) |
96 |
OS=cygwin;; |
97 |
**-irix**) |
98 |
OS=irix;; |
99 |
esac |
100 |
export OS="${OS}" |
101 |
elog "Detected OS is: ${OS}" |
102 |
|
103 |
if use amd64 && ! [ -n "${DUMA_ALIGNMENT}" ]; then |
104 |
export DUMA_ALIGNMENT=16 |
105 |
elog "Exported DUMA_ALIGNMENT=${DUMA_ALIGNMENT} for x86_64," |
106 |
fi |
107 |
|
108 |
make reconfig || die "make config failed" |
109 |
# The above must be run first if distcc is enabled, otherwise |
110 |
# the real build breaks on parallel makes. |
111 |
emake || die "emake failed" |
112 |
} |
113 |
|
114 |
src_test() { |
115 |
emake test || die "emake test failed" |
116 |
|
117 |
elog "Please, see the output above to verify all tests have passed." |
118 |
elog "Both static and dynamic confidence tests should say PASSED." |
119 |
} |
120 |
|
121 |
src_install(){ |
122 |
emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" \ |
123 |
docdir="${D}/usr/share/doc/${PF}" install || die "emake install failed" |
124 |
|
125 |
dosed "s|LD_PRELOAD=./libduma|LD_PRELOAD=libduma|" /usr/bin/duma \ |
126 |
|| die "dosed failed" |
127 |
|
128 |
dodoc CHANGELOG TODO GNUmakefile |
129 |
|
130 |
if use examples; then |
131 |
insinto /usr/share/doc/${PF}/examples |
132 |
doins example[1-6].cpp example_makes/ex6/Makefile || die "doins failed" |
133 |
fi |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
elog "See the GNUmakefile which will be also installed at" |
138 |
elog "/usr/share/doc/${PF} for more options. You can now export" |
139 |
elog "varibles to the build system easily, e.g.:" |
140 |
elog "# export CPPFLAGS=\"-DFLAG\" (or by using append-cppflags)" |
141 |
elog "# export DUMA_ALIGNMENT=${DUMA_ALIGNMENT} (Default is 16 for x86_64)" |
142 |
elog "See more information about DUMA_ALIGNMENT from Readme.txt" |
143 |
} |