summaryrefslogtreecommitdiff
path: root/security/passivedns/Makefile
blob: ddb61b83eadbcde4824a7be1e1a2dd1816c33752 (plain)
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
35

PORTNAME=	passivedns
DISTVERSION=	1.2.1-10
DISTVERSIONSUFFIX=	-ge126cbb
CATEGORIES=	security

MAINTAINER=	shadowbq@gmail.com
COMMENT=	Network sniffer that logs DNS replies for use in passive DNS setups

LICENSE=	GPLv2

BROKEN_FreeBSD_13=	ld: error: duplicate symbol: config
BROKEN_FreeBSD_14=	ld: error: duplicate symbol: config

LIB_DEPENDS=	libldns.so:dns/ldns

USES=		autoreconf gmake libtool

USE_GITHUB=	yes
GH_ACCOUNT=	gamelinux

SUB_FILES=	pkg-message

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-ldns-includes=${LOCALBASE}/include \
		--with-ldns-libraries=${LOCALBASE}/lib

USE_RC_SUBR=	passivedns

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/passivedns \
		${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}/var/log/passivedns

.include <bsd.port.mk>