Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2016 20:00:32 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r410480 - in head/security/pam_google_authenticator: . files
Message-ID:  <201603062000.u26K0WGt007870@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Mar  6 20:00:32 2016
New Revision: 410480
URL: https://svnweb.freebsd.org/changeset/ports/410480

Log:
  Update to the 1.01.20160208 snapshot.
  
  - Removed STEPSIZE option since it's now part of the code (which also makes the
    patches obsolete).
  - The upstream code is now hosted on GitHub, so use USE_GITHUB=yes.
  - The upstream code now has a proper buildsystem, which allows us to simplify
    the code quite significantly.
  
  PR:		207229
  Submitted by:	Ralf van der Enden <tremere@cainites.net>
  Approved by:	maintainer timeout (20 days)

Added:
  head/security/pam_google_authenticator/pkg-plist   (contents, props changed)
Deleted:
  head/security/pam_google_authenticator/files/
Modified:
  head/security/pam_google_authenticator/Makefile
  head/security/pam_google_authenticator/distinfo

Modified: head/security/pam_google_authenticator/Makefile
==============================================================================
--- head/security/pam_google_authenticator/Makefile	Sun Mar  6 19:56:18 2016	(r410479)
+++ head/security/pam_google_authenticator/Makefile	Sun Mar  6 20:00:32 2016	(r410480)
@@ -2,31 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	pam_google_authenticator
-PORTVERSION=	20140826
-PORTREVISION=	1
+PORTVERSION=	1.01.20160208
+PORTEPOCH=	1
 CATEGORIES=	security
-MASTER_SITES=	LOCAL/riggs/google-authenticator
-DISTNAME=	google-authenticator-${PORTVERSION}
 
 MAINTAINER=	jnlin@freebsd.cs.nctu.edu.tw
 COMMENT=	PAM module for two-step authentication from Google
 
 LICENSE=	APACHE20
 
-OPTIONS_DEFINE=	STEPSIZE
-STEPSIZE_DESC=	Allow time steps other than the default of 30 seconds
-STEPSIZE_CFLAGS= -DSTEPSIZE
+USES=		autoreconf gmake libtool
+GNU_CONFIGURE=	YES
 
-USES=		gmake
+WRKSRC_SUBDIR=  libpam
 
-PLIST_FILES=	bin/google-authenticator lib/pam_google_authenticator.so
-
-.include <bsd.port.options.mk>
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/google-authenticator \
-		${STAGEDIR}${PREFIX}/bin/google-authenticator
-	${INSTALL_LIB} ${WRKSRC}/pam_google_authenticator.so \
-		${STAGEDIR}${PREFIX}/lib/pam_google_authenticator.so
+USE_GITHUB=     yes
+GH_ACCOUNT=     google
+GH_PROJECT=     google-authenticator
+GH_TAGNAME=     195ddc1
 
 .include <bsd.port.mk>

Modified: head/security/pam_google_authenticator/distinfo
==============================================================================
--- head/security/pam_google_authenticator/distinfo	Sun Mar  6 19:56:18 2016	(r410479)
+++ head/security/pam_google_authenticator/distinfo	Sun Mar  6 20:00:32 2016	(r410480)
@@ -1,2 +1,2 @@
-SHA256 (google-authenticator-20140826.tar.gz) = 4988bae896fc48c0ffaa471837289adc5afa1ad6c9f7e3df97907fc134fc2e8d
-SIZE (google-authenticator-20140826.tar.gz) = 38302
+SHA256 (google-google-authenticator-1.01.20160208-195ddc1_GH0.tar.gz) = 65c0ec2dea2191337a921e518e24774058fadd55d52f2a21d60371b5d5a0c2a3
+SIZE (google-google-authenticator-1.01.20160208-195ddc1_GH0.tar.gz) = 1791991

Added: head/security/pam_google_authenticator/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pam_google_authenticator/pkg-plist	Sun Mar  6 20:00:32 2016	(r410480)
@@ -0,0 +1,5 @@
+bin/google-authenticator
+lib/security/pam_google_authenticator.so
+share/doc/google-authenticator/FILEFORMAT
+share/doc/google-authenticator/README.md
+share/doc/google-authenticator/totp.html



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