Portage is a package management system used by Gentoo Linux
# ChangeLog for app-forensics/zzuf
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/zzuf/ChangeLog,v 1.3 2008/06/13 18:04:52 flameeyes Exp $
*zzuf-0.12 (13 Jun 2008)
13 Jun 2008; Diego Pettenò
+zzuf-0.12.ebuild:
Version bump, fix tests being built unconditionally (bug #226355), add
src_test for the testsuite, which doesn't work with sandbox.
19 May 2008; Carsten Lohrke
Keyword ~x86.
*zzuf-0.10 (19 Apr 2008)
19 Apr 2008; Diego Pettenò
+zzuf-0.10.ebuild:
Initial import of zzuf. Thanks also to Jakub Moc in bug #188646.
DIST zzuf-0.12.tar.gz 446043 RMD160 2eb81c4136b2f44f012eec34484197138aed8684 SHA1 13a5abecf585f4da893f0592485f9e50fb42ad71 SHA256 0a89fdb6912d4dd68ac88c54951e87738294d13562e0d57662fb90974b947710
EBUILD zzuf-0.12.ebuild 1699 RMD160 c523783f905fb9cb15932d621867e093fb3af884 SHA1 9f542d31f1dc375a1692a760c9ac0d660ff5a0a0 SHA256 2f977acc2cd492b452110d3d41b147c07d3d062ad0a2ac7d89e9ae998659ffaa
MISC ChangeLog 735 RMD160 b633027d493fef99bd096ae5f29e6cbb6caf770e SHA1 9ef9532977868f4ca850eeb207c33fc4e97eced3 SHA256 2ec1714c4ec61da7c1629df297925efb5a5f2b18abac86941ce2906b987a3a40
MISC metadata.xml 225 RMD160 d973b4a3a0e8ed0a3bc126ecb9dea3ce3371371f SHA1 5872fd680b46d3aef07c0239f38a4362649f0de9 SHA256 0bc12d2711e9d0335e5a6b4561909de251122ba63cb2039e1f60e5cdcb52ad5b
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/zzuf/zzuf-0.12.ebuild,v 1.2 2008/06/15 14:09:11 mr_bones_ Exp $
inherit autotools
DESCRIPTION="Transparent application input fuzzer"
HOMEPAGE="http://libcaca.zoy.org/wiki/zzuf/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e '/CFLAGS/d' "${S}"/configure.ac \
|| die "unable to fix the configure.ac"
sed -i -e 's:noinst_:check_:' "${S}"/test/Makefile.am \
|| die "unable to fix unconditional test building"
eautoreconf
}
src_compile() {
# Don't build the static library, as the library is only used for
# preloading, so there is no reason to build it statically, unless
# you want to use zzuf with a static-linked executable, which I'm
# not even sure would be a good idea.
econf \
--disable-dependency-tracking \
--disable-static \
|| die "econf failed"
emake || die "emake failed"
}
# This could be removed in next versions if my patches will be applied
# by Sam. -- Diego 'Flameeyes'
src_test() {
if hasq sandbox ${FEATURES}; then
ewarn "zzuf tests don't work correctly when sandbox is enabled,"
ewarn "skipping tests. If you want to run the testsuite, please"
ewarn "disable sandbox for this build."
return
fi
cd "${S}"/test
emake check || die "Unable to build tools needed for testsuite"
./testsuite.sh || die "testsuite failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
find "${D}" -name '*.la' -delete
}