aboutsummaryrefslogtreecommitdiffstats
path: root/security/gwee/Makefile
blob: 83e8ded16acf3b3cd97c6109844dc5cb8aa29f8f (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
32
33
34
# New ports collection makefile for:    gwee
# Date created:        2005-05-04
# Whom:                chinsan <chinsan@mail2000.com.tw>
#
# $FreeBSD$
#

PORTNAME=   gwee
PORTVERSION=    1.36
CATEGORIES= security www
MASTER_SITES=   http://tigerteam.se/dl/gwee/

MAINTAINER= chinsan.tw@gmail.com
COMMENT=    Tool to exploit command execution vulnerabilities in web scripts

USE_OPENSSL=    yes
USE_PERL5=  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>