ports/74270: dns/dnsmasq 2.18 upstream changes necessitate port modification
Eric P. Scott
eps+pbug0411 at ana.com
Mon Nov 22 21:01:17 UTC 2004
>Number: 74270
>Category: ports
>Synopsis: dns/dnsmasq 2.18 upstream changes necessitate port modification
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 22 21:00:55 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Eric P. Scott
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
ana-systems, Inc.
>Environment:
System: FreeBSD tools 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004 root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1. Changes introduced with dnsmasq 2.18 make it no longer compile "out of the box" on FreeBSD 4.10-RELEASE. The port now needs to specify USE_GETOPT_LONG.
2. The USE_REINPLACE stuff has been superfluous for some time.
3. There should be a WITHOUT_IPV6 knob.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# Makefile
# distinfo
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for: dnsmasq
X# Date created: 1 June 2003
X# Whom: Steven Honson <steven at honson.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= dnsmasq
XPORTVERSION= 2.18
XCATEGORIES= dns
XMASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
X
XMAINTAINER= steven at honson.org
XCOMMENT= Lightweight, easy to configure DNS forwarder and DHCP server
X
XMAN8= dnsmasq.8
XPLIST_FILES= sbin/dnsmasq etc/dnsmasq.conf.example etc/rc.d/dnsmasq.sh
X
XUSE_GETOPT_LONG= yes
XMAKE_ENV+= "LIBS=${LDFLAGS}"
X.if defined(WITHOUT_IPV6)
XMAKE_ENV+= RPM_OPT_FLAGS="${CPPFLAGS} -DNO_IPV6"
X.else
XMAKE_ENV+= RPM_OPT_FLAGS="${CPPFLAGS}"
X.endif
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
X ${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/etc
X ${INSTALL_SCRIPT} ${FILESDIR}/dnsmasq.sh ${PREFIX}/etc/rc.d
X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (dnsmasq-2.18.tar.gz) = 7a3d4864c97ebf484cd4e76487ad5e3c
XSIZE (dnsmasq-2.18.tar.gz) = 133590
END-of-distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list