32 lines
676 B
Makefile
32 lines
676 B
Makefile
# Created by: chinsan <chinsan@mail2000.com.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gwee
|
|
PORTVERSION= 1.36
|
|
CATEGORIES= security www
|
|
MASTER_SITES= PACKETSTORM
|
|
MASTER_SITE_SUBDIR= UNIX/utilities
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tool to exploit command execution vulnerabilities in web scripts
|
|
|
|
USES= perl5
|
|
USE_OPENSSL= yes
|
|
USE_PYTHON= yes
|
|
|
|
LDFLAGS+= -lssl -lcrypto
|
|
CFLAGS+= -DWITH_SSL
|
|
|
|
MAN1= gwee.1
|
|
PLIST_FILES= bin/gwee
|
|
|
|
NO_STAGE= yes
|
|
do-build:
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
|
|
-o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|