summaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp30-server/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-06-15 07:19:56 +0000
committersem <sem@FreeBSD.org>2005-06-15 07:19:56 +0000
commit914c8aa0fe4b0dfa6d2f8bca4168eb43390289a5 (patch)
tree8e89ce41278abd0c8374cc687436153aed650aa1 /net/isc-dhcp30-server/Makefile
parentd733194abb589f28528b619109a56fcb401f58dc (diff)
downloadFreeBSD-ports-914c8aa0fe4b0dfa6d2f8bca4168eb43390289a5.zip
FreeBSD-ports-914c8aa0fe4b0dfa6d2f8bca4168eb43390289a5.tar.gz
- added support for draft-ietf-dhc-leasequery-08.txt
DHCPLEASEQUERY support. Thanks to Dmitry V. Sukhodoev <raven@chics.ru> for providing this patch - introduced new OPTION to enable DHCPLEASEQUERY support PR: ports/79599 Submitted by: maintainer
Diffstat (limited to 'net/isc-dhcp30-server/Makefile')
-rw-r--r--net/isc-dhcp30-server/Makefile23
1 files changed, 20 insertions, 3 deletions
diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile
index e528579..c536c48 100644
--- a/net/isc-dhcp30-server/Makefile
+++ b/net/isc-dhcp30-server/Makefile
@@ -8,7 +8,7 @@
PORTNAME= dhcp
PORTVERSION= 3.0.2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history
@@ -34,7 +34,8 @@ OPTIONS= DHCP_PARANOIA "add -user, -group and -chroot options" on \
DHCP_LDAP "add experimental LDAP backend support" off \
DHCP_LDAP_SSL "support LDAP connection over SSL/TLS" on \
OPENSSL_BASE "use the base system OpenSSL (required by TLS)" on \
- OPENSSL_PORT "use OpenSSL from ports (required by TLS)" off
+ OPENSSL_PORT "use OpenSSL from ports (required by TLS)" off \
+ DHCP_LQ "DHCPLEASEQUERY support used by Cisco uBR's" off
.endif
.include <bsd.port.pre.mk>
@@ -56,6 +57,13 @@ USE_OPENSSL= yes
.endif
.endif
+.if ${SUBSYS} == server && defined(WITH_DHCP_LQ)
+# Based on patch from Dmitry Sukhodoev :
+PATCH_SITES= http://bingo.ru/~raven/FreeBSD/patches/ \
+ ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/
+PATCHFILES+= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-dlq-patch
+.endif
+
# Global variables
#
@@ -200,7 +208,7 @@ extract-script:
post-patch: patch-scripts patch-makefile-conf \
patch-makefiles-dist patch-man-pages \
patch-pkgmessage patch-site-conf \
- patch-rc-scripts
+ patch-rc-scripts patch-dlq
patch-scripts:
@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
@@ -260,6 +268,15 @@ patch-pkgmessage:
.endif
.endif
+patch-dlq:
+.if ${SUBSYS} == server && defined(WITH_DHCP_LQ)
+.if defined(WITH_DHCP_LDAP)
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq-ldap
+.else
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq
+.endif
+.endif
+
# Post-install
#
OpenPOWER on IntegriCloud