aboutsummaryrefslogtreecommitdiff
path: root/security/gwee/Makefile
blob: a98c5412fa4e207bea46b604c4e0552ef336cdd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

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>