8089a619e7
* Added a whole bunch of security validation to DwCompress.c * We now handle EasyDNS' bad truncation in a reasonable manner * Added new SQA test for es-us.noticias.yahoo.com issue in May/June 2012 And other, also fix the homepage. Ok sthen@
37 lines
885 B
Makefile
37 lines
885 B
Makefile
# $OpenBSD: Makefile,v 1.3 2013/03/11 14:06:14 gonzalo Exp $
|
|
|
|
COMMENT= recursive DNS resolver
|
|
|
|
DISTNAME= deadwood-3.2.03
|
|
PKGNAME= ${DISTNAME:S/^/maradns-/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://maradns.org/deadwood/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES= http://www.maradns.org/deadwood/stable/ \
|
|
http://www.maradns.org/deadwood/stable/old/
|
|
|
|
MAKE_FLAGS= FLAGS="${CFLAGS} -DIPV6" CC="${CC}"
|
|
WRKSRC= ${WRKDIST}/src
|
|
|
|
post-extract:
|
|
rm ${WRKSRC}/*.orig
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}; perl -pi -e 's,/etc/,${SYSCONFDIR}/,g' DwMararc.h DwMain.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Deadwood ${PREFIX}/sbin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/maradns-deadwood
|
|
cd ${WRKDIST}/doc; \
|
|
${INSTALL_MAN} Deadwood.1 ${PREFIX}/man/man1; \
|
|
${INSTALL_DATA} dwood3rc ${PREFIX}/share/examples/maradns-deadwood/
|
|
|
|
.include <bsd.port.mk>
|