Bug 185259 - [PATCH] security/ykclient: update to 2.12
Summary: [PATCH] security/ykclient: update to 2.12
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
ykclient-2.12.patch (1.41 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/ykclient port to 2.12.
	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:04 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:53:00 UTC
Author: danilo
Date: Wed Jan  1 23:52:47 2014
New Revision: 338406
URL: http://svnweb.freebsd.org/changeset/ports/338406

Log:
  - Update from 2.9 to 2.12
  - Update MASTER_SITES
  - Convert LICENSE from BSD to BSD2CLAUSE
  - Add pkgconfig to USES
  - Add STATIC as option
  - Add stage support
  
  PR:		ports/185259
  Submitted by:	Matt Stofko <matt@mjslabs.com> (maintainer)

Modified:
  head/security/ykclient/Makefile
  head/security/ykclient/distinfo

Modified: head/security/ykclient/Makefile
==============================================================================
--- head/security/ykclient/Makefile	Wed Jan  1 23:49:53 2014	(r338405)
+++ head/security/ykclient/Makefile	Wed Jan  1 23:52:47 2014	(r338406)
@@ -1,36 +1,41 @@
 # $FreeBSD$
 
 PORTNAME=	ykclient
-PORTVERSION=	2.9
-PORTREVISION=	1
+PORTVERSION=	2.12
 CATEGORIES=	security
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	http://opensource.yubico.com/yubico-c-client/releases/
 
 MAINTAINER=	matt@mjslabs.com
 COMMENT=	Yubico C client library
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 
-LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
-BUILD_DEPENDS=	curl-config:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
+BUILD_DEPENDS=	curl-config:${PORTSDIR}/ftp/curl \
+		help2man:${PORTSDIR}/misc/help2man
 
+USES=		pkgconfig
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 PLIST_FILES=	bin/ykclient \
 		include/ykclient.h \
+		include/ykclient_errors.h \
 		include/ykclient_server_response.h \
-		lib/libykclient.a \
+		include/ykclient_version.h \
 		lib/libykclient.la \
 		lib/libykclient.so \
-		lib/libykclient.so.7
+		lib/libykclient.so.8 \
+		man/man1/ykclient.1.gz
 
-PROJECTHOST=	yubico-c-client
+OPTIONS_DEFINE=	STATIC
+
+STATIC_CONFIGURE_ENABLE=	static
+STATIC_PLIST_FILES=		lib/libykclient.a
 
 MAKE_JOBS_UNSAFE=	yes
 
 regression-test: build
 	@(cd ${WRKSRC}; ${MAKE} check)
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/security/ykclient/distinfo
==============================================================================
--- head/security/ykclient/distinfo	Wed Jan  1 23:49:53 2014	(r338405)
+++ head/security/ykclient/distinfo	Wed Jan  1 23:52:47 2014	(r338406)
@@ -1,2 +1,2 @@
-SHA256 (ykclient-2.9.tar.gz) = f5f93d77dd9f2e3fd1854f7fcfbbc3cfbf4227c3ebe145c8a3f7a2339efbeca5
-SIZE (ykclient-2.9.tar.gz) = 352183
+SHA256 (ykclient-2.12.tar.gz) = eda62475b51e488686ec82564c82bd707eeb30a2fe74a24a5ced2a730f74198c
+SIZE (ykclient-2.12.tar.gz) = 385009
_______________________________________________
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 dfilter service freebsd_committer freebsd_triage 2014-01-01 23:54:34 UTC
Author: danilo
Date: Wed Jan  1 23:54:27 2014
New Revision: 338407
URL: http://svnweb.freebsd.org/changeset/ports/338407

Log:
  - Bump PORTREVISION
  - Convert LICENSE from BSD to BSD2CLAUSE
  - Remove LDAP from DEFAULT_OPTIONS
  
  PR:		ports/185259
  Submitted by:	Matt Stofko <matt@mjslabs.com> (maintainer)

Modified:
  head/security/pam_yubico/Makefile

Modified: head/security/pam_yubico/Makefile
==============================================================================
--- head/security/pam_yubico/Makefile	Wed Jan  1 23:52:47 2014	(r338406)
+++ head/security/pam_yubico/Makefile	Wed Jan  1 23:54:27 2014	(r338407)
@@ -2,16 +2,16 @@
 
 PORTNAME=	pam_yubico
 PORTVERSION=	2.14
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://opensource.yubico.com/yubico-pam/releases/
 
 MAINTAINER=	matt@mjslabs.com
 COMMENT=	PAM module for authenticating with a Yubico YubiKey
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 
 LIB_DEPENDS=	libykclient.so:${PORTSDIR}/security/ykclient \
-		libykpers-1.so:${PORTSDIR}/security/ykpers \
 		libyubikey.so:${PORTSDIR}/security/libyubikey
 
 GNU_CONFIGURE=	yes
@@ -25,9 +25,10 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	CR LDAP DOCS STATIC
 CR_DESC=	Include Challenge/response support
-OPTIONS_DEFAULT=	CR LDAP
+OPTIONS_DEFAULT=	CR
 
 CR_CONFIGURE_WITH=	cr
+CR_LIB_DEPENDS=	libykpers-1.so:${PORTSDIR}/security/ykpers
 CR_PLIST_FILES=	bin/ykpamcfg \
 		man/man1/ykpamcfg.1.gz
 
_______________________________________________
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 4 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-01 23:55:21 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!