2013-01-15 13:40:28 +00:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
2008-01-28 19:38:44 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dnswall
|
|
|
|
PORTVERSION= 0.1.4
|
2010-09-15 18:35:24 +00:00
|
|
|
PORTREVISION= 1
|
2008-01-28 19:38:44 +00:00
|
|
|
CATEGORIES= dns security
|
2008-03-27 19:27:34 +00:00
|
|
|
MASTER_SITES= GOOGLE_CODE CRITICAL
|
2008-01-28 19:38:44 +00:00
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 14:00:30 +00:00
|
|
|
COMMENT= Daemon that filters out private IP addresses in DNS responses
|
2008-01-28 19:38:44 +00:00
|
|
|
|
2013-12-18 11:57:51 +00:00
|
|
|
USES= dos2unix
|
2008-03-13 11:27:29 +00:00
|
|
|
PROJECTHOST= google-dnswall
|
2010-12-22 20:05:49 +00:00
|
|
|
USE_AUTOTOOLS= automake autoconf:env
|
2008-01-28 19:38:44 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
AUTOFILES= depcomp install-sh missing
|
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/dnswall
|
|
|
|
|
2010-12-22 20:05:49 +00:00
|
|
|
AUTOTOOLSFILES= aclocal.m4
|
|
|
|
|
2013-01-15 13:40:28 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2008-06-06 02:36:00 +00:00
|
|
|
post-patch:
|
2010-12-22 20:05:49 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|1.10|%%AUTOMAKE_APIVER%%|g' \
|
|
|
|
-e 's|2.61|%%AUTOCONF_VERSION%%|g' \
|
|
|
|
${WRKSRC}/aclocal.m4
|
2013-01-15 13:40:28 +00:00
|
|
|
.if empty(PORT_OPTIONS:MDOCS)
|
2008-06-19 13:43:23 +00:00
|
|
|
@${REINPLACE_CMD} -e '/^dist_doc_DATA/d' ${WRKSRC}/Makefile.am
|
|
|
|
.endif
|
2008-06-06 02:36:00 +00:00
|
|
|
|
2008-01-28 19:38:44 +00:00
|
|
|
pre-configure:
|
|
|
|
.for f in ${AUTOFILES}
|
|
|
|
@${RM} ${WRKSRC}/${f}
|
2013-03-30 02:15:07 +00:00
|
|
|
@${LN} -s ${AUTOMAKE_DIR}/${f} ${WRKSRC}/${f}
|
2008-01-28 19:38:44 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|