openbsd-ports/net/dnsmasq/Makefile
ajacoutot e8f03b8304 Several fixes from upstream:
- Fix non-response to router-solicitations when router-advertisement
  configured, but DHCPv6 not configured.
- Fix a bug which broke DHCPv6/RA with prefix lengths which are not
  divisible by 8.

from Brad
2012-05-23 09:16:19 +00:00

39 lines
927 B
Makefile

# $OpenBSD: Makefile,v 1.24 2012/05/23 09:16:19 ajacoutot Exp $
NOT_FOR_ARCHS= ${GCC2_ARCHS}
COMMENT= lightweight caching DNS forwarder, DHCP and TFTP server
DISTNAME= dnsmasq-2.61
REVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MAKE_ENV= CC="${CC}"
MAKE_FLAGS= CFLAGS="${CFLAGS} -Wall -W"
NO_REGRESS= Yes
pre-build:
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 \
${WRKSRC}/src/config.h \
${WRKSRC}/dnsmasq.conf.example
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
.include <bsd.port.mk>