pkgsrc/net/wide-dhcpv6/Makefile
obache ed72aaec09 Update wide-dhcpv6 to 20070507.
pkgsrc changes:
  Fix hard-coded paths in manual pages.
  Pointed out in PR 36316 by Jonathan A. Kollasch.

Changes:
[Common to all programs]
- supports compilation on Solaris
- supports interface names other than {alphabet}{numeric} format.
- allows a user to specify the owner/group for the installed files.
- fixed a bug that IA-PD/IA-NA cannot coexist in one DHCP message when they
  have the same IA-ID.


[DHCPv6 Relay]
- supported script execution for dhcp6relay.
- accepts ULA
- changes the destination port of a relayed DHCP packet from 546 to 547, when
  it is supposed to be bound for a relay, instead of a client.


[DHCPv6 Server]
- implemented DHCPv6 Confirm message processing
- implemented DHCPv6 Decline message processing
- fixed a Solicitation message validation as stated in RFC3315 15.2.
- fixed a bug that Rebind does not work for IA-NA.
- supported an address pool that has only one entry.
- fixed an IA allocation failure from pool when it doubly requested by the same
  client
- recognizes "-P" option.
2007-05-22 12:53:01 +00:00

49 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2007/05/22 12:53:01 obache Exp $
DISTNAME= wide-dhcpv6-20070507
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wide-dhcpv6/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wide-dhcpv6.sourceforge.net/
COMMENT= DHCP6 client, server and relay agent by WIDE project
USE_TOOLS+= lex yacc
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-localdbdir=${VARBASE:Q}/db
RCD_SCRIPTS= dhcp6c dhcp6relay dhcp6s
BUILD_DEFS+= VARBASE
EGDIR= ${PREFIX}/share/examples/wide-dhcpv6
COMMANDS= dhcp6c dhcp6s dhcp6relay dhcp6ctl
EXAMPLES= dhcp6c.conf dhcp6s.conf
MAN5= dhcp6c.conf.5 dhcp6s.conf.5
MAN8= dhcp6c.8 dhcp6ctl.8 dhcp6relay.8 dhcp6s.8
INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin \
share/examples/wide-dhcpv6
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths=Fixing absolute paths.
SUBST_FILES.fix-paths= ${MAN5} ${MAN8}
SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR:Q},g'
do-install:
.for f in ${COMMANDS}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/sbin
.endfor
.for f in ${MAN5}
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/${PKGMANDIR}/man5
.endfor
.for f in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/${PKGMANDIR}/man8
.endfor
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f}.sample ${EGDIR}/${f}
.endfor
.include "../../mk/bsd.pkg.mk"