openbsd-ports/security/cgichk/Makefile
2007-09-15 23:29:57 +00:00

35 lines
762 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/09/15 23:29:58 merdely Exp $
COMMENT= scans webservers for vulnerable CGI programs
PKGNAME= cgichk-3.6
DISTNAME= cgichk3.6
EXTRACT_SUFX= .tgz
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_BACKUP}
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
WRKDIST= ${WRKDIR}/cgichk3
MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS} \
-DCGICHK_CONF="\"${SYSCONFDIR}/cgichk.conf\""'
MAKE_ENV= SYSCONFDIR="${SYSCONFDIR}"
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cgichk
${INSTALL_DATA} ${WRKSRC}/cgi.conf \
${PREFIX}/share/examples/cgichk/cgichk.conf
.include <bsd.port.mk>