Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2012 14:54:51 GMT
From:      Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164311: [PATCH] Update security/pam_google_authenticator to 2012-01-09 snapshot
Message-ID:  <201201191454.q0JEspLk003128@red.freebsd.org>
Resent-Message-ID: <201201191500.q0JF0L2N092995@freefall.freebsd.org>

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

>Number:         164311
>Category:       ports
>Synopsis:       [PATCH] Update security/pam_google_authenticator to 2012-01-09 snapshot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 19 15:00:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Sébastien Pédron
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
Yakaz
>Environment:
System: FreeBSD viking.yzserv.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The google-authenticator project doesn't provide releases. The distfile is based on a snapshot dated 2012-01-19, which corresponds to the changeset 98:1f3c0d8a2b4a of the Mercurial repository.

The distfile is available here:
http://people.freebsd.org/~dumbbell/pam_google_authenticator/google-authenticator-20120119.tar.gz
I don't know if this is a suitable location for it.

The distfile has a different layout than the 20110519 snaphot. The 20110519 snapshot contains two subdirectories: libpam and mobile. The new snapshot only has the content of the libpam directory because the other directory is unused.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Naur security/pam_google_authenticator.orig/Makefile security/pam_google_authenticator/Makefile
--- security/pam_google_authenticator.orig/Makefile	2012-01-09 16:41:03.000000000 +0100
+++ security/pam_google_authenticator/Makefile	2012-01-19 11:19:06.143443806 +0100
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	pam_google_authenticator
-PORTVERSION=	20110519
+PORTVERSION=	20120119
 CATEGORIES=	security
-MASTER_SITES=	http://www.cs.nctu.edu.tw/~jnlin/distfiles/
+MASTER_SITES=	http://people.freebsd.org/~dumbbell/pam_google_authenticator/
 DISTNAME=	google-authenticator-${PORTVERSION}
 
 MAINTAINER=	jnlin@csie.nctu.edu.tw
@@ -16,8 +16,6 @@
 
 LICENSE=	AL2
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/libpam
-
 USE_GMAKE=	yes
 
 PLIST_FILES=	bin/google-authenticator lib/pam_google_authenticator.so
diff -Naur security/pam_google_authenticator.orig/distinfo security/pam_google_authenticator/distinfo
--- security/pam_google_authenticator.orig/distinfo	2011-05-19 04:45:47.000000000 +0200
+++ security/pam_google_authenticator/distinfo	2012-01-19 11:13:24.049427396 +0100
@@ -1,2 +1,2 @@
-SHA256 (google-authenticator-20110519.tar.gz) = ceae954d2d6533ded5abc100ec4b22ee5199b7484969b3ac113656e0da687f30
-SIZE (google-authenticator-20110519.tar.gz) = 402127
+SHA256 (google-authenticator-20120119.tar.gz) = 5626086d46a68525975cbb3f06553ac0120f464f205bfbe8979a13f16d821cf5
+SIZE (google-authenticator-20120119.tar.gz) = 36795


>Release-Note:
>Audit-Trail:
>Unformatted:



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