Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-forensics/zzuf: ChangeLog zzuf-0.13.ebuild
Date: Fri, 26 Feb 2010 20:50:43
Message-Id: E1Nl78n-00084u-L7@stork.gentoo.org
1 patrick 10/02/26 20:50:29
2
3 Modified: ChangeLog
4 Added: zzuf-0.13.ebuild
5 Log:
6 Bump
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 app-forensics/zzuf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/zzuf/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/zzuf/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/zzuf/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-forensics/zzuf/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 28 Dec 2009 16:29:48 -0000 1.5
23 +++ ChangeLog 26 Feb 2010 20:50:28 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-forensics/zzuf
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/zzuf/ChangeLog,v 1.5 2009/12/28 16:29:48 flameeyes Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/zzuf/ChangeLog,v 1.6 2010/02/26 20:50:28 patrick Exp $
30 +
31 +*zzuf-0.13 (26 Feb 2010)
32 +
33 + 26 Feb 2010; Patrick Lauer <patrick@g.o> +zzuf-0.13.ebuild:
34 + Bump
35
36 28 Dec 2009; Diego E. Pettenò <flameeyes@g.o> metadata.xml:
37 Relinquish this to maintainer-needed.
38
39
40
41 1.1 app-forensics/zzuf/zzuf-0.13.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/zzuf/zzuf-0.13.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/zzuf/zzuf-0.13.ebuild?rev=1.1&content-type=text/plain
45
46 Index: zzuf-0.13.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-forensics/zzuf/zzuf-0.13.ebuild,v 1.1 2010/02/26 20:50:28 patrick Exp $
51
52 inherit autotools
53
54 DESCRIPTION="Transparent application input fuzzer"
55 HOMEPAGE="http://libcaca.zoy.org/wiki/zzuf/"
56 SRC_URI="http://caca.zoy.org/files/${PN}/${P}.tar.gz"
57
58 LICENSE="WTFPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~sparc ~x86"
61 IUSE=""
62
63 RDEPEND=""
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68
69 sed -i -e '/CFLAGS/d' "${S}"/configure.ac \
70 || die "unable to fix the configure.ac"
71 sed -i -e 's:noinst_:check_:' "${S}"/test/Makefile.am \
72 || die "unable to fix unconditional test building"
73
74 eautoreconf
75 }
76
77 src_compile() {
78 # Don't build the static library, as the library is only used for
79 # preloading, so there is no reason to build it statically, unless
80 # you want to use zzuf with a static-linked executable, which I'm
81 # not even sure would be a good idea.
82 econf \
83 --disable-dependency-tracking \
84 --disable-static \
85 || die "econf failed"
86 emake || die "emake failed"
87 }
88
89 # This could be removed in next versions if my patches will be applied
90 # by Sam. -- Diego 'Flameeyes'
91 src_test() {
92 if hasq sandbox ${FEATURES}; then
93 ewarn "zzuf tests don't work correctly when sandbox is enabled,"
94 ewarn "skipping tests. If you want to run the testsuite, please"
95 ewarn "disable sandbox for this build."
96 return
97 fi
98
99 cd "${S}"/test
100 emake check || die "Unable to build tools needed for testsuite"
101
102 ./testsuite.sh || die "testsuite failed"
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install || die "emake install failed"
107 dodoc AUTHORS ChangeLog NEWS README TODO
108
109 find "${D}" -name '*.la' -delete
110 }