Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 18:32:59 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/179781: [PATCH] Upgrade security/duo to 1.9.2
Message-ID:  <201306201832.r5KIWx3H097814@freefall.freebsd.org>
Resent-Message-ID: <201306201840.r5KIe0bn098004@freefall.freebsd.org>

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

>Number:         179781
>Category:       ports
>Synopsis:       [PATCH] Upgrade security/duo to 1.9.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 20 18:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Brooks Davis
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r252008: Wed Jun 19 21:39:58 UTC 2013 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64


	
>Description:

Upgrade to 1.9.2.

Remove unused dependency on curl.

Add USE_GCC=yes to work around a miscompile on clang.  A source fix has
been submitted upstream, but I'd rather not patch without review.
https://github.com/duosecurity/duo_unix/pull/32

>How-To-Repeat:
	
>Fix:


Index: Makefile
===================================================================
--- Makefile	(revision 321387)
+++ Makefile	(working copy)
@@ -1,15 +1,12 @@
-# New ports collection makefile for:	duo
-# Date created:				17 Jul 2011
-# Whom:					Ryan Steinmetz <zi@FreeBSD.org>
-#
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	duo
-PORTVERSION=	1.9
+PORTVERSION=	1.9.2
 CATEGORIES=	security
-MASTER_SITES=	http://cloud.github.com/downloads/${PORTNAME}security/${PORTNAME}_unix/ \
-		http://mirrors.rit.edu/zi/
+MASTER_SITES=	https://dl.duosecurity.com/ \
+		${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	brooks
 DISTNAME=	${PORTNAME}_unix-${PORTVERSION}
 
 MAINTAINER=	zi@FreeBSD.org
@@ -17,22 +14,25 @@
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
-
 CONFIGURE_ARGS=	--with-pam=${PREFIX}/lib/security --sysconfdir=${ETCDIR} \
 		--docdir=${DOCSDIR}
 
 GNU_CONFIGURE=	yes
+USE_GCC=	yes
 USE_LDCONFIG=	yes
 SUB_FILES=	pkg-message
 
 MAN3=		duo.3
 MAN8=		login_duo.8 pam_duo.8
 
+OPTIONS=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/login_duo/login_duo.8
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pam_duo/pam_duo.8
-.if defined(NOPORTDOCS)
+.if !${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -e 's|README AUTHORS CHANGES LICENSE||g' ${WRKSRC}/Makefile.in
 .endif
 
Index: distinfo
===================================================================
--- distinfo	(revision 321387)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (duo_unix-1.9.tar.gz) = 92121c2f0d06babc17a70a71aa272d24c035522136304758f2357c79b67b3061
-SIZE (duo_unix-1.9.tar.gz) = 444818
+SHA256 (duo_unix-1.9.2.tar.gz) = a8d37d3fc99b840144d2b55d4f603d32b344c0f7b8022b25c9d50c155fe7f50a
+SIZE (duo_unix-1.9.2.tar.gz) = 434788
>Release-Note:
>Audit-Trail:
>Unformatted:



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