gonzalo a2158ab41c Security Update for maradns-deadwood to 3.2.05:
- Fixed cppcheck detected warnings and errors
- Default file name for entropy in Windows is now "secret.txt"
- dw_substr() bounds check updated
- More validation done with DNS packets sent to Deadwood
- Dashes can now be the first character of a black listed domain

Pluss -> fix for some not-really-explained blind spoofing attack
(http://samiam.org/blog/20131202.html)

OK sthen@
2014-04-29 17:21:27 +00:00

36 lines
875 B
Makefile

# $OpenBSD: Makefile,v 1.7 2014/04/29 17:21:27 gonzalo Exp $
COMMENT= recursive DNS resolver
DISTNAME= deadwood-3.2.05
PKGNAME= ${DISTNAME:S/^/maradns-/}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net
HOMEPAGE= http://maradns.samiam.org/deadwood
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c
MASTER_SITES= http://maradns.samiam.org/deadwood/stable/ \
http://maradns.samiam.org/deadwood/stable/old/
MAKE_FLAGS= FLAGS="${CFLAGS} -DIPV6" CC="${CC}"
WRKSRC= ${WRKDIST}/src
NO_TEST= Yes
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>