Bug 185258 - [PATCH] security/ykpers: update to 1.14.1
Summary: [PATCH] security/ykpers: update to 1.14.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-29 00:10 UTC by matt
Modified: 2014-01-02 00:00 UTC (History)
0 users

See Also:


Attachments
ykpers-1.14.1.patch (1.79 KB, patch)
2013-12-29 00:10 UTC, matt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2013-12-29 00:10:00 UTC
	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.
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-12-31 02:24:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-01 23:50:01 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"
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-01 23:55:34 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!