pkgsrc/security/nfsbug/Makefile
jmc 1e5ca05b9d Provide a better rule for platforms to build this on. Basically only 1.5B
or greater unless it's x86. (All due to exposure of struct pmap on pre 1.5B
systems from vm/vm.h inclusion).
2002-02-11 17:07:59 +00:00

27 lines
776 B
Makefile

# $NetBSD: Makefile,v 1.5 2002/02/11 17:07:59 jmc Exp $
DISTNAME= nfsshell-1.0
WRKSRC= ${WRKDIR}/nfsbug
CATEGORIES= net security
MASTER_SITES= http://www.asmodeus.com/archive/Xnix/
DISTFILES= nfsBugFerret.tgz \
nfsShell.c
MAINTAINER= packages@netbsd.org
COMMENT= NFS security verification suite
EXTRACT_ONLY= nfsBugFerret.tgz
# Only works on 1.5B or greater on most platforms but will work on any x86
# since struct pmap didn't get exposed through vm.h there.
ONLY_FOR_PLATFORM= NetBSD-1.5[B-Z]-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[6-9]*-* \
NetBSD-*-i386
post-extract:
${CP} ${DISTDIR}/nfsShell.c ${WRKSRC}/nfsshell.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nfsbug ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/nfsshell ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"