From 450b3f4661430110dbfd96094d197af921e7eb1f Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 11 Jul 2014 15:28:13 +0000 Subject: [PATCH] Add CPE to BIND9. Sponsored by: Absolight --- dns/bind910/Makefile | 8 ++++++++ dns/bind98/Makefile | 8 ++++++++ dns/bind99/Makefile | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile index 051507451545..187ef70936c9 100644 --- a/dns/bind910/Makefile +++ b/dns/bind910/Makefile @@ -18,6 +18,14 @@ ISCVERSION= 9.10.0-P2 MAKE_JOBS_UNSAFE= yes +USES= cpe + +CPE_VENDOR= isc +CPE_VERSION= ${ISCVERSION:C/-.*//} +.if ${ISCVERSION:M*-*} +CPE_UPDATE= ${ISCVERSION:C/.*-//} +.endif + LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile index c4b1bdf799d6..da36604bec3f 100644 --- a/dns/bind98/Makefile +++ b/dns/bind98/Makefile @@ -20,6 +20,14 @@ PORTSCOUT= limit:^9.8. MAKE_JOBS_UNSAFE= yes +USES= cpe + +CPE_VENDOR= isc +CPE_VERSION= ${ISCVERSION:C/-.*//} +.if ${ISCVERSION:M*-*} +CPE_UPDATE= ${ISCVERSION:C/.*-//} +.endif + LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile index f81989711d13..88058a297d58 100644 --- a/dns/bind99/Makefile +++ b/dns/bind99/Makefile @@ -18,6 +18,14 @@ ISCVERSION= 9.9.5-P1 MAKE_JOBS_UNSAFE= yes +USES= cpe + +CPE_VENDOR= isc +CPE_VERSION= ${ISCVERSION:C/-.*//} +.if ${ISCVERSION:M*-*} +CPE_UPDATE= ${ISCVERSION:C/.*-//} +.endif + LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes