From owner-svn-ports-head@FreeBSD.ORG Tue Oct 2 18:19:53 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C60EB106564A; Tue, 2 Oct 2012 18:19:53 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B19CB8FC1D; Tue, 2 Oct 2012 18:19:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q92IJrdu082881; Tue, 2 Oct 2012 18:19:53 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q92IJr94082879; Tue, 2 Oct 2012 18:19:53 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210021819.q92IJr94082879@svn.freebsd.org> From: Eitan Adler Date: Tue, 2 Oct 2012 18:19:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305169 - head/dns/opendd X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2012 18:19:53 -0000 Author: eadler Date: Tue Oct 2 18:19:53 2012 New Revision: 305169 URL: http://svn.freebsd.org/changeset/ports/305169 Log: Covert to OptionsNG Mark opendd broken Approved by: maintainer timeout (>= 3 months) Modified: head/dns/opendd/Makefile Modified: head/dns/opendd/Makefile ============================================================================== --- head/dns/opendd/Makefile Tue Oct 2 18:17:07 2012 (r305168) +++ head/dns/opendd/Makefile Tue Oct 2 18:19:53 2012 (r305169) @@ -14,8 +14,9 @@ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= avl@FreeBSD.org COMMENT= A small DynDNS client -OPTIONS= OPENSSL "Build with SSL support" on \ - RC_NG "Install RC_NG script" on +OPTIONS_DEFINE= OPENSSL RCNG +OPTIONS_DEFAULT= OPENSSL RCNG +RCNG_DESC= "Install RC_NG script" MAKE_JOBS_SAFE= yes PORTDOCS= COPYING COPYRIGHT README @@ -28,22 +29,24 @@ PLIST_FILES= sbin/${PORTNAME} \ .include -.if defined(WITH_RC_NG) +.if ${PORT_OPTIONS:MRCNG} USE_RC_SUBR= ${PORTNAME} .endif -.if !defined(WITHOUT_OPENSSL) +.if ${PORT_OPTIONS:MOPENSSL} .include "${PORTSDIR}/Mk/bsd.openssl.mk" CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} MAKE_ENV+= "USE_SOCKET_SSL=yes" .endif +BROKEN= segfaults upon use + pre-patch: @${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}.${PORTVERSION} post-patch: -.if !defined(WITHOUT_OPENSSL) +.if ${PORT_OPTIONS:MOPENSSL} @${REINPLACE_CMD} 's|use_ssl = 0|use_ssl = 1|' ${WRKSRC}/${PORTNAME}.conf @${REINPLACE_CMD} -e "s|^FLAGS =|FLAGS = ${CFLAGS}|" -e "s|^SSL =|SSL = ${LDFLAGS}|" \ ${WRKSRC}/Makefile @@ -54,7 +57,7 @@ post-patch: .endfor @${REINPLACE_CMD} 's|/etc/${PORTNAME}.conf|${ETCDIR}/${PORTNAME}.conf|' \ ${WRKSRC}/globals.h -.if defined(WITH_RC_NG) +.if ${PORT_OPTIONS:MRCNG} @${REINPLACE_CMD} 's|runasdaemon = 0|runasdaemon = 1|' ${WRKSRC}/${PORTNAME}.conf .endif