Index: head/net/kea/Makefile =================================================================== --- head/net/kea/Makefile (revision 566998) +++ head/net/kea/Makefile (revision 566999) @@ -1,54 +1,59 @@ # $FreeBSD$ PORTNAME= kea PORTVERSION= ${ISCVERSION:S/-P/P/:S/-beta/b/:S/a/.a/:S/rc/.rc/} +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ISC/kea/${ISCVERSION} DISTNAME= ${PORTNAME}-${ISCVERSION} MAINTAINER= apevnev@me.com COMMENT= Alternative DHCP implementation by ISC LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblog4cplus.so:devel/log4cplus \ libboost_system.so:devel/boost-libs USES= autoreconf compiler:c++11-lang iconv libtool pathfix ssl cpe # ISC releases things like 1.4.0-P1, which our versioning doesn't like ISCVERSION= 1.8.2 CPE_VENDOR= isc CPE_VERSION= ${ISCVERSION:C/-.*//} .if ${ISCVERSION:M*-*} CPE_UPDATE= ${ISCVERSION:C/.*-//:tl} .endif USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \ --with-log4cplus=${LOCALBASE} \ --with-boost-include=${LOCALBASE}/include \ --with-boost-lib-dir=${LOCALBASE}/lib \ --without-werror INSTALL_TARGET= install-strip TEST_TARGET= check PORTDOCS= AUTHORS COPYING ChangeLog README \ CONTRIBUTING.md examples code_of_conduct.md \ platforms.rst OPTIONS_DEFINE= DOCS MYSQL PGSQL OPTIONS_SUB= yes MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MYSQL_CONFIGURE_OFF= --without-mysql +MYSQL_SUB_LIST= REQ_MYSQL=mysql +MYSQL_SUB_LIST_OFF= REQ_MYSQL="" PGSQL_USES= pgsql WANT_PGSQL= client PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE}/bin/pg_config PGSQL_CONFIGURE_OFF= --without-pgsql +PGSQL_SUB_LIST= REQ_PGSQL=postgresql +PGSQL_SUB_LIST_OFF= REQ_PGSQL="" .include Index: head/net/kea/files/kea.in =================================================================== --- head/net/kea/files/kea.in (revision 566998) +++ head/net/kea/files/kea.in (revision 566999) @@ -1,32 +1,32 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: kea -# REQUIRE: NETWORK netif routing +# REQUIRE: NETWORK netif routing %%REQ_MYSQL%% %%REQ_PGSQL%% # KEYWORD: shutdown # # Add the following to /etc/rc.conf[.local] to enable this service # # kea_enable="YES" # . /etc/rc.subr name=kea desc="Kea DHCP Server" rcvar=kea_enable load_rc_config $name kea_enable=${kea_enable:-"NO"} command="%%PREFIX%%/sbin/keactrl" required_files="%%PREFIX%%/etc/${name}/keactrl.conf" extra_commands=reload start_precmd=command_args=start stop_cmd="$command stop" status_cmd="$command status" reload_cmd="$command reload" run_rc_command "$1"