forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portfile
35 lines (29 loc) · 1.47 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PortSystem 1.0
name forkbomb
version 1.4
categories benchmarks
maintainers nomaintainer
license public-domain
description System stress testing tool
long_description \
forkbomb is tool for stress testing. It can create many processes \
using fork(), eats all available memory using realloc() and \
accesses this memory. It has different switches for fine-tuning \
operation. While classic fork() bomb is good only for fun, \
running multiple memory-eaters can be useful for determining \
maximum memory which can be given to servers (bind or squid) \
without taking machine down. You can test different operation \
systems with this tool and see how they are handling the load.
homepage http://home.tiscali.cz:8080/~cz210552/forkbomb.html
platforms darwin
master_sites http://home.tiscali.cz:8080/~cz210552/distfiles/
checksums md5 b806797a61a46c7176857bf24597a1b8 \
rmd160 9f3a8b92c9f12f7181af49271a020cfe107faea8 \
sha256 729b937e44c8408ad743fb243ee98580d01c9223a6716e8b25e0e1099097f1b6
patchfiles patch-Makefile.diff
use_configure no
variant universal {}
build.env-append CC=${configure.cc} \
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"
destroot.args-append PREFIX=${prefix}