summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-13 18:04:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-13 18:04:52 +0000
commite0223ff97b0e08bb3f8945bd0c0012edd06ee7cd (patch)
treecb5b74cc7e200e92563a5bc91bafd0ebbdc8042e /app-forensics/zzuf
parentVersion bump. (diff)
downloadhistorical-e0223ff97b0e08bb3f8945bd0c0012edd06ee7cd.tar.gz
historical-e0223ff97b0e08bb3f8945bd0c0012edd06ee7cd.tar.bz2
historical-e0223ff97b0e08bb3f8945bd0c0012edd06ee7cd.zip
Version bump, fix tests being built unconditionally (bug #226355), add src_test for the testsuite, which doesn't work with sandbox.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'app-forensics/zzuf')
-rw-r--r--app-forensics/zzuf/ChangeLog9
-rw-r--r--app-forensics/zzuf/Manifest16
-rw-r--r--app-forensics/zzuf/zzuf-0.12.ebuild (renamed from app-forensics/zzuf/zzuf-0.10.ebuild)27
3 files changed, 44 insertions, 8 deletions
diff --git a/app-forensics/zzuf/ChangeLog b/app-forensics/zzuf/ChangeLog
index 6f7bd704b8c0..826e39d6a0fc 100644
--- a/app-forensics/zzuf/ChangeLog
+++ b/app-forensics/zzuf/ChangeLog
@@ -1,6 +1,13 @@
# 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.2 2008/05/19 00:25:47 carlo Exp $
+# $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ò <flameeyes@gentoo.org> -zzuf-0.10.ebuild,
+ +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 <carlo@gentoo.org> zzuf-0.10.ebuild:
Keyword ~x86.
diff --git a/app-forensics/zzuf/Manifest b/app-forensics/zzuf/Manifest
index 70698651f552..fce40ab47466 100644
--- a/app-forensics/zzuf/Manifest
+++ b/app-forensics/zzuf/Manifest
@@ -1,4 +1,14 @@
-DIST zzuf-0.10.tar.gz 425897 RMD160 521369e990b1e79db71de688494b264995baa508 SHA1 92d0948e6b821945011f9707244db6d17a4d0ba0 SHA256 a5fa82e49c01721f0ae339345780c55d1ae9e42ed6909901a1c688800e5b834c
-EBUILD zzuf-0.10.ebuild 1116 RMD160 1534e01d477f1470837470fcde90914e645359dc SHA1 4f8fbd67062e64941706895927f49fe46f3d7c6e SHA256 564426647c02b6edb6fc7eee408e1b8a8786b8afd77e44f165a44867cc8b99d5
-MISC ChangeLog 475 RMD160 141e2dd1b78eb741da7495527579b68c7b39fbd4 SHA1 7e8eb2a6a5363a9dfac910e60315d7d72a3d3f07 SHA256 981cb1836597e1a02417f62c1e4b31a5f0a83e16d68681cdbf199744cba5f68c
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST zzuf-0.12.tar.gz 446043 RMD160 2eb81c4136b2f44f012eec34484197138aed8684 SHA1 13a5abecf585f4da893f0592485f9e50fb42ad71 SHA256 0a89fdb6912d4dd68ac88c54951e87738294d13562e0d57662fb90974b947710
+EBUILD zzuf-0.12.ebuild 1698 RMD160 e173583a42f4e131397fca710ea21f4dcf219b76 SHA1 71c06d0755fa0a4854b2e0769e7a9ab3a861a8f5 SHA256 82caf9ae4ae8d7da597557d201f68d4c86771270b4d1ef7f47efb349be8ababc
+MISC ChangeLog 735 RMD160 b633027d493fef99bd096ae5f29e6cbb6caf770e SHA1 9ef9532977868f4ca850eeb207c33fc4e97eced3 SHA256 2ec1714c4ec61da7c1629df297925efb5a5f2b18abac86941ce2906b987a3a40
MISC metadata.xml 225 RMD160 d973b4a3a0e8ed0a3bc126ecb9dea3ce3371371f SHA1 5872fd680b46d3aef07c0239f38a4362649f0de9 SHA256 0bc12d2711e9d0335e5a6b4561909de251122ba63cb2039e1f60e5cdcb52ad5b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhStssACgkQAiZjviIA2XjaMgCeKMQL0MZ0PSyIDevD2N0h4IlZ
+J3IAnRdpvtl2zBM7Nt0Q6UNPDAaW0hxq
+=BuLZ
+-----END PGP SIGNATURE-----
diff --git a/app-forensics/zzuf/zzuf-0.10.ebuild b/app-forensics/zzuf/zzuf-0.12.ebuild
index 224d6228be38..5065968a45da 100644
--- a/app-forensics/zzuf/zzuf-0.10.ebuild
+++ b/app-forensics/zzuf/zzuf-0.12.ebuild
@@ -1,12 +1,12 @@
# 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.10.ebuild,v 1.2 2008/05/19 00:25:47 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/zzuf/zzuf-0.12.ebuild,v 1.1 2008/06/13 18:04:52 flameeyes Exp $
inherit autotools
DESCRIPTION="Transparent application input fuzzer"
-HOMEPAGE="http://sam.zoy.org/zzuf/"
-SRC_URI="http://sam.zoy.org/zzuf/${P}.tar.gz"
+HOMEPAGE="http://libcaca.zoy.org/wiki/zzuf/"
+SRC_URI="mirro://gentoo/${P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
@@ -19,8 +19,11 @@ src_unpack() {
unpack ${A}
cd "${S}"
- sed -i -e '/CFLAGS/d' "${S}/configure.ac" \
+ 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
}
@@ -36,6 +39,22 @@ src_compile() {
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