diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index ef76fbcbc863..d327f32153a9 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -7,16 +7,13 @@ PORTNAME= ddclient PORTVERSION= 3.8.1 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= rfarmer@predatorlabs.net COMMENT= Update dynamic DNS entries -.ifndef WITHOUT_SSL -RUN_DEPENDS= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL -.endif - LICENSE= GPLv2 USE_BZIP2= yes @@ -24,6 +21,14 @@ USE_PERL5_RUN= yes NO_BUILD= yes USE_RC_SUBR= ${PORTNAME} +OPTIONS= SSL "Enable SSL support" ON + +.include + +.ifndef WITHOUT_SSL +RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL +.endif + SUB_FILES= pkg-message ddclient_force PKGMESSAGE= ${WRKDIR}/pkg-message diff --git a/dns/ddclient/files/ddclient.in b/dns/ddclient/files/ddclient.in index e0080afc9f34..45711c32c364 100644 --- a/dns/ddclient/files/ddclient.in +++ b/dns/ddclient/files/ddclient.in @@ -10,6 +10,9 @@ # # ddclient_enable="YES" # +# By default, ddclient does not daemonize. To launch ddclient +# as a daemon, add the -daemon 300 argument to ddclient_flags +# . /etc/rc.subr @@ -22,6 +25,6 @@ required_files="%%PREFIX%%/etc/${name}.conf" load_rc_config ${name} : ${ddclient_enable="NO"} -: ${ddclient_flags="-daemon 300"} +: ${ddclient_flags=""} run_rc_command "$1"