aboutsummaryrefslogtreecommitdiffstats
path: root/security/finger_mysql/Makefile
blob: e5a69c40068469da14466193ddd3f545bb6af8da (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
# Ports collection makefile for:  finger_mysql
# Date created:           03 Mar 2003
# Whom:               Yonatan <Yonatan@xpert.com>
#
# $FreeBSD$
#

PORTNAME=   finger_mysql
PORTVERSION=    1.0
CATEGORIES= security
MASTER_SITES=   http://www.fsix.net/crew/ \
        http://www.zone-h.org/files/49/ \
        http://downloads.securityfocus.com/vulnerabilities/exploits/
DISTNAME=   finger_mysql.c
EXTRACT_SUFX=   #none
EXTRACT_ONLY=   #none

MAINTAINER= Yonatan@xpert.com
COMMENT=    Threaded MySQL scanner

LIB_DEPENDS=    mysqlclient:${PORTSDIR}/databases/mysql323-client/

NO_WRKSUBDIR=   yes

post-extract:
    ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/

do-build:
    ${CC} ${CFLAGS} -L${PREFIX}/lib/mysql -I${PREFIX}/include ${PTHREAD_LIBS} -lmysqlclient -o ${WRKSRC}/finger_mysql ${WRKSRC}/${DISTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/finger_mysql ${PREFIX}/bin

.include <bsd.port.mk>