Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 18:29:01 GMT
From:      "Ilya A. Arkhipov" <rum1cro@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178423: [net-mgmt/circe] patch to optionsng
Message-ID:  <201305081829.r48IT137092797@oldred.FreeBSD.org>
Resent-Message-ID: <201305081830.r48IU0fV054712@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178423
>Category:       ports
>Synopsis:       [net-mgmt/circe] patch to optionsng
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 08 18:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ilya A. Arkhipov
>Release:        10.0-CURRENT
>Organization:
Rambler
>Environment:
FreeBSD mhome 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Thu Mar 29 18:04:50 UTC 2012     root@mhome:/usr/obj/usr/src/sys/MICROKERNEL  amd64
>Description:
patch to optionsng for net-mgmt/circe

>How-To-Repeat:
install it ^_^
>Fix:
diff -Nru circe_old/Makefile circe/Makefile
--- circe_old/Makefile	2013-05-07 21:44:28.517893370 +0400
+++ circe/Makefile	2013-05-07 21:58:34.735705764 +0400
@@ -1,9 +1,5 @@
-# New ports collection makefile for: circe
-# Date created:		23 July 2010
-# Whom:			Berkeley NAC-Team
-#
-# $FreeBSD: ports/net-mgmt/circe/Makefile,v 1.7 2012/11/17 06:00:31 svnexp Exp $
-#
+# Created by: Berkeley NAC-Team <circe-port-maintainers@bws.net.berkeley.edu>
+# $FreeBSD$
 
 PORTNAME=	circe
 PORTVERSION=	0.2.3
@@ -33,11 +29,12 @@
 DIST_SUBDIR=	${PORTNAME}
 WRKSRC=		${WRKDIR}
 
-OPTIONS=	ENCRYPT "Encrypt the destination URL in redirection" Off
+OPTIONS_DEFINE=	ENCRYPT
+ENCRYPT_DESC=	Encrypt destination URL in redirection
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_ENCRYPT)
+.if ${PORT_OPTIONS:MENCRYPT}
 RUN_DEPENDS+=	p5-Crypt-DES>=0:${PORTSDIR}/security/p5-Crypt-DES \
 		p5-Crypt-OpenSSL-AES>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-AES
 .endif


Patch attached with submission follows:

diff -Nru circe_old/Makefile circe/Makefile
--- circe_old/Makefile	2013-05-07 21:44:28.517893370 +0400
+++ circe/Makefile	2013-05-07 21:58:34.735705764 +0400
@@ -1,9 +1,5 @@
-# New ports collection makefile for: circe
-# Date created:		23 July 2010
-# Whom:			Berkeley NAC-Team
-#
-# $FreeBSD: ports/net-mgmt/circe/Makefile,v 1.7 2012/11/17 06:00:31 svnexp Exp $
-#
+# Created by: Berkeley NAC-Team <circe-port-maintainers@bws.net.berkeley.edu>
+# $FreeBSD$
 
 PORTNAME=	circe
 PORTVERSION=	0.2.3
@@ -33,11 +29,12 @@
 DIST_SUBDIR=	${PORTNAME}
 WRKSRC=		${WRKDIR}
 
-OPTIONS=	ENCRYPT "Encrypt the destination URL in redirection" Off
+OPTIONS_DEFINE=	ENCRYPT
+ENCRYPT_DESC=	Encrypt destination URL in redirection
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_ENCRYPT)
+.if ${PORT_OPTIONS:MENCRYPT}
 RUN_DEPENDS+=	p5-Crypt-DES>=0:${PORTSDIR}/security/p5-Crypt-DES \
 		p5-Crypt-OpenSSL-AES>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-AES
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305081829.r48IT137092797>