d75651d4d8
Based on PR#44274, with some fixes. Changes from zzuf 0.12 to 0.13 * various fixes for Linux, FreeBSD, OS X and OpenBSD libc calls. * network host filtering support. * support for memory limits on OS X. * massive testsuite improvements. * support most cat options in zzcat, which is now fully programmable.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2010/12/25 11:00:51 obache Exp $
|
|
#
|
|
|
|
DISTNAME= zzuf-0.13
|
|
CATEGORIES= devel security
|
|
MASTER_SITES= http://caca.zoy.org/files/zzuf/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://caca.zoy.org/wiki/zzuf/
|
|
COMMENT= Transparent application input fuzzer
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
BUILDLINK_TRANSFORM+= l:gnugetopt:getopt
|
|
SHLIBTOOL_OVERRIDE= # empty
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_FILES.fix-paths= doc/libzzuf.3.in
|
|
SUBST_MESSAGE.fix-paths=Fixing hard-coded pathnames
|
|
SUBST_SED.fix-paths= -e 's,/usr,${PREFIX},g'
|
|
SUBST_STAGE.fix-paths= post-patch
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
LIBS.NetBSD+= ${NETBSDLIB.rt}
|
|
###
|
|
### XXX Do this with autoconf?
|
|
###
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/aio.h)
|
|
.PHONY: netbsd-posix-aio-check
|
|
netbsd-posix-aio-check:
|
|
NETBSDLIB.rt!= \
|
|
if ( /sbin/sysctl -n kern.posix_aio >/dev/null 2>&1 ); then \
|
|
lib=-lrt; \
|
|
fi || ${TRUE}; \
|
|
echo "$$lib"
|
|
.endif
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|