source: trunk/dports/security/zzuf/Portfile @ 78051

Last change on this file since 78051 was 78051, checked in by l2g@…, 8 years ago

zzuf: fix for memory-checking bug (#29157, maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 78051 2011-04-21 05:19:29Z l2g@macports.org $
2
3PortSystem 1.0
4
5name              zzuf
6version           0.13
7revision          2
8categories        security
9platforms         darwin
10maintainers       pmq
11
12description       zzuf is a transparent application input fuzzer
13long_description  zzuf is a transparent application input fuzzer. Its purpose \
14                  is to find bugs in applications by corrupting their \
15                  user-contributed data (which more than often comes from \
16                  untrusted sources on the Internet). It works by intercepting \
17                  file and network operations and changing random bits in the \
18                  program's input. zzuf's behaviour is deterministic, making it \
19                  easier to reproduce bugs.
20
21homepage          http://libcaca.zoy.org/wiki/${name}/
22master_sites      http://libcaca.zoy.org/files/${name}/
23
24checksums         sha1 19f904d63d045194885639c381a607ca86a319b5 \
25              rmd160 ef9988a6d97f213090227a0b6d87e4d942ed8c15
26
27# This is a patch from upstream to fix a bug with checking free memory in
28# OS X. Source: http://caca.zoy.org/changeset/4314/zzuf/trunk
29patchfiles      patch-src-libzzuf-lib--mem.c.diff
30patch.pre_args  -p3
31
32# zzcat conflicts with libzzip; zzuff upstream has renamed it
33# to 'zzat', but a new release is not yet available.
34# See also: http://caca.zoy.org/ticket/86
35#
36post-patch {
37        reinplace "s|zzcat|zzat|g" "${worksrcpath}/doc/zzcat.1.in"
38}
39
40post-destroot {
41        file rename "${destroot}/${prefix}/bin/zzcat" "${destroot}/${prefix}/bin/zzat"
42        file rename "${destroot}/${prefix}/share/man/man1/zzcat.1" "${destroot}/${prefix}/share/man/man1/zzat.1"
43}
Note: See TracBrowser for help on using the repository browser.