From matts@phjeer.us  Sun Dec 29 00:08:12 2013
Return-Path: <matts@phjeer.us>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id B6F21B3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Dec 2013 00:08:12 +0000 (UTC)
Received: from phjeer.us (phjeer.us [184.105.237.83])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 96FB615CB
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Dec 2013 00:08:12 +0000 (UTC)
Received: from phjeer.us (localhost [127.0.0.1])
	by phjeer.us (8.14.7/8.14.7) with ESMTP id rBT08AeP056998
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Dec 2013 16:08:10 -0800 (PST)
	(envelope-from matts@phjeer.us)
Received: (from matts@localhost)
	by phjeer.us (8.14.7/8.14.7/Submit) id rBT08AVi056997;
	Sat, 28 Dec 2013 16:08:10 -0800 (PST)
	(envelope-from matts)
Message-Id: <201312290008.rBT08AVi056997@phjeer.us>
Date: Sat, 28 Dec 2013 16:08:10 -0800 (PST)
From: Matt Stofko <matt@mjslabs.com>
Reply-To: Matt Stofko <matt@mjslabs.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] security/ykpers: update to 1.14.1
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         185258
>Category:       ports
>Synopsis:       [PATCH] security/ykpers: update to 1.14.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danilo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 29 00:10:00 UTC 2013
>Closed-Date:    Wed Jan 01 23:55:34 UTC 2014
>Last-Modified:  Thu Jan  2 00:00:00 UTC 2014
>Originator:     Matt Stofko
>Release:        FreeBSD 9.2-RELEASE-p2 amd64
>Organization:
mjslabs.com
>Environment:
System: FreeBSD phjeer.us 9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #0 r259452: Mon Dec 16 01:52:26 PST 2013 root@phjeer.us:/usr/obj/usr/src/sys/DAEMON amd64


	
>Description:
	Update the security/ykpers port to 1.14.1.
	Do not build static libs by default.
	Yubico no longer uses Google Code to host the project.
	Stage support.

>How-To-Repeat:
	
>Fix:

	

--- ykpers-1.14.1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 337172)
+++ Makefile	(working copy)
@@ -1,9 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	ykpers
-PORTVERSION=	1.12.0
+PORTVERSION=	1.14.1
 CATEGORIES=	security
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	http://opensource.yubico.com/yubikey-personalization/releases/
 
 MAINTAINER=	matt@mjslabs.com
 COMMENT=	Library and tool for personalization of Yubico's YubiKey
@@ -16,9 +16,6 @@
 USE_LDCONFIG=	yes
 USES=		pkgconfig
 
-MAN1=		ykchalresp.1 \
-		ykinfo.1 \
-		ykpersonalize.1
 PLIST_FILES=	bin/ykchalresp \
 		bin/ykinfo \
 		bin/ykpersonalize \
@@ -28,20 +25,24 @@
 		include/ykpers-1/ykpers.h \
 		include/ykpers-1/ykpers-version.h \
 		include/ykpers-1/ykstatus.h \
-		lib/libykpers-1.a \
 		lib/libykpers-1.la \
 		lib/libykpers-1.so \
-		lib/libykpers-1.so.13 \
-		libdata/pkgconfig/ykpers-1.pc
+		lib/libykpers-1.so.15 \
+		libdata/pkgconfig/ykpers-1.pc \
+		man/man1/ykchalresp.1.gz \
+		man/man1/ykinfo.1.gz \
+		man/man1/ykpersonalize.1.gz
 PLIST_DIRS=	include/ykpers-1
 
-PROJECTHOST=	yubikey-personalization
+OPTIONS_DEFINE=STATIC
 
+STATIC_CONFIGURE_ENABLE=static
+STATIC_PLIST_FILES=lib/libykpers-1.a
+
 MAKE_JOBS_UNSAFE=yes
 
 LDFLAGS+=	-L/usr/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|^pkgconfigdir = .*|pkgconfigdir = /usr/local/libdata/pkgconfig|g' \
 		${WRKSRC}/Makefile.in
Index: distinfo
===================================================================
--- distinfo	(revision 337172)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (ykpers-1.12.0.tar.gz) = b6968982b9e9c3435a245ba6c3096a823dcb722967b5700402d91b8614a72429
-SIZE (ykpers-1.12.0.tar.gz) = 464464
+SHA256 (ykpers-1.14.1.tar.gz) = 7c1e25cd9c931bafa3c4693e98c64a481db25d0f7674e4960103cce639da1607
+SIZE (ykpers-1.14.1.tar.gz) = 499173
--- ykpers-1.14.1.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danilo 
Responsible-Changed-By: danilo 
Responsible-Changed-When: Tue Dec 31 02:24:29 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185258 
State-Changed-From-To: open->closed 
State-Changed-By: danilo 
State-Changed-When: Wed Jan 1 23:55:34 UTC 2014 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185258 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/185258: commit references a PR
Date: Wed,  1 Jan 2014 23:50:01 +0000 (UTC)

 Author: danilo
 Date: Wed Jan  1 23:49:53 2014
 New Revision: 338405
 URL: http://svnweb.freebsd.org/changeset/ports/338405
 
 Log:
   - Update from 1.12.0 to 1.14.1
   - Update MASTER_SITES
   - Convert LICENSE from BSD to BSD2CLAUSE
   - Convert LIB_DEPENDS to new syntax
   - Add stage support
   - Add STATIC as option
   
   PR:		ports/185258
   Submitted by:	Matt Stofko <matt@mjslabs.com> (maintainer)
 
 Modified:
   head/security/ykpers/Makefile
   head/security/ykpers/distinfo
 
 Modified: head/security/ykpers/Makefile
 ==============================================================================
 --- head/security/ykpers/Makefile	Wed Jan  1 23:46:59 2014	(r338404)
 +++ head/security/ykpers/Makefile	Wed Jan  1 23:49:53 2014	(r338405)
 @@ -1,24 +1,21 @@
  # $FreeBSD$
  
  PORTNAME=	ykpers
 -PORTVERSION=	1.12.0
 +PORTVERSION=	1.14.1
  CATEGORIES=	security
 -MASTER_SITES=	GOOGLE_CODE
 +MASTER_SITES=	http://opensource.yubico.com/yubikey-personalization/releases/
  
  MAINTAINER=	matt@mjslabs.com
  COMMENT=	Library and tool for personalization of Yubico's YubiKey
  
 -LICENSE=	BSD
 +LICENSE=	BSD2CLAUSE
  
 -LIB_DEPENDS=	yubikey:${PORTSDIR}/security/libyubikey
 +LIB_DEPENDS=	libyubikey.so:${PORTSDIR}/security/libyubikey
  
  GNU_CONFIGURE=	yes
  USE_LDCONFIG=	yes
  USES=		pkgconfig
  
 -MAN1=		ykchalresp.1 \
 -		ykinfo.1 \
 -		ykpersonalize.1
  PLIST_FILES=	bin/ykchalresp \
  		bin/ykinfo \
  		bin/ykpersonalize \
 @@ -28,20 +25,24 @@ PLIST_FILES=	bin/ykchalresp \
  		include/ykpers-1/ykpers.h \
  		include/ykpers-1/ykpers-version.h \
  		include/ykpers-1/ykstatus.h \
 -		lib/libykpers-1.a \
  		lib/libykpers-1.la \
  		lib/libykpers-1.so \
 -		lib/libykpers-1.so.13 \
 -		libdata/pkgconfig/ykpers-1.pc
 +		lib/libykpers-1.so.15 \
 +		libdata/pkgconfig/ykpers-1.pc \
 +		man/man1/ykchalresp.1.gz \
 +		man/man1/ykinfo.1.gz \
 +		man/man1/ykpersonalize.1.gz
  PLIST_DIRS=	include/ykpers-1
  
 -PROJECTHOST=	yubikey-personalization
 +OPTIONS_DEFINE=	STATIC
  
 -MAKE_JOBS_UNSAFE=yes
 +STATIC_CONFIGURE_ENABLE=	static
 +STATIC_PLIST_FILES=		lib/libykpers-1.a
 +
 +MAKE_JOBS_UNSAFE=	yes
  
  LDFLAGS+=	-L/usr/lib
  
 -NO_STAGE=	yes
  post-patch:
  	@${REINPLACE_CMD} -e 's|^pkgconfigdir = .*|pkgconfigdir = /usr/local/libdata/pkgconfig|g' \
  		${WRKSRC}/Makefile.in
 
 Modified: head/security/ykpers/distinfo
 ==============================================================================
 --- head/security/ykpers/distinfo	Wed Jan  1 23:46:59 2014	(r338404)
 +++ head/security/ykpers/distinfo	Wed Jan  1 23:49:53 2014	(r338405)
 @@ -1,2 +1,2 @@
 -SHA256 (ykpers-1.12.0.tar.gz) = b6968982b9e9c3435a245ba6c3096a823dcb722967b5700402d91b8614a72429
 -SIZE (ykpers-1.12.0.tar.gz) = 464464
 +SHA256 (ykpers-1.14.1.tar.gz) = 7c1e25cd9c931bafa3c4693e98c64a481db25d0f7674e4960103cce639da1607
 +SIZE (ykpers-1.14.1.tar.gz) = 499173
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
