fa18673f0b
crashme is a very simple program that tests the operating environment's robustness by invoking random data as if it were a procedure. The standard signals are caught and handled with a setjmp back to a loop which will try again to produce a fault by executing random data. Some people call this stress testing. Tweaks/distfile hosting/ok jasper@ Req'd by deraadt@
27 lines
635 B
Makefile
27 lines
635 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/04/20 20:03:33 landry Exp $
|
|
|
|
COMMENT = test operating environment software robustness
|
|
|
|
#miod's modified version from cvs
|
|
DISTNAME = crashme-2.4
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = No
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://distfiles.nl/
|
|
NO_REGRESS = Yes
|
|
WANTLIB = c
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} crashme
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/crashme ${PREFIX}/bin/crashme
|
|
${INSTALL_MAN} ${WRKSRC}/crashme.man ${PREFIX}/man/man1/crashme.1
|
|
|
|
.include <bsd.port.mk>
|