summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2018-08-29 11:12:36 +0000
committertnn <tnn@pkgsrc.org>2018-08-29 11:12:36 +0000
commitb59ff4b45b2dc0ebf7ed9bb96df49c42157d13af (patch)
treed475675b11e54be69bceb85d4af608d9356c5f90 /security
parentb7ad7baf050a2594597d86b4283d3c109da1e884 (diff)
downloadpkgsrc-b59ff4b45b2dc0ebf7ed9bb96df49c42157d13af.tar.gz
google-authenticator: update to 1.05
- upstream renamed to google-authenticator-libpam, but keep our existing PKGNAME in pkgsrc for now - convert to github.mk style package - install documentation - other upstream changes unknown
Diffstat (limited to 'security')
-rw-r--r--security/google-authenticator/Makefile31
-rw-r--r--security/google-authenticator/PLIST10
-rw-r--r--security/google-authenticator/distinfo10
3 files changed, 24 insertions, 27 deletions
diff --git a/security/google-authenticator/Makefile b/security/google-authenticator/Makefile
index 52e9c320c6e..a35fc4ae171 100644
--- a/security/google-authenticator/Makefile
+++ b/security/google-authenticator/Makefile
@@ -1,30 +1,23 @@
-# $NetBSD: Makefile,v 1.4 2017/08/01 17:08:24 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2018/08/29 11:12:36 tnn Exp $
-DISTNAME= libpam-google-authenticator-1.0-source
-PKGNAME= ${DISTNAME:S/libpam-//:S/-source//}
+DISTNAME= google-authenticator-libpam-1.05
+PKGNAME= ${DISTNAME:S/libpam-//}
CATEGORIES= security
-MASTER_SITES= http://google-authenticator.googlecode.com/files/
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
+GITHUB_PROJECT= google-authenticator-libpam
+GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= jmmv@NetBSD.org
-HOMEPAGE= https://github.com/google/google-authenticator
+HOMEPAGE= https://github.com/google/google-authenticator-libpam
COMMENT= One-time password generator and PAM module from Google
LICENSE= apache-2.0
-USE_TOOLS= gmake
+USE_TOOLS= gmake autoconf automake autoreconf
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
-CFLAGS+= -DNO_STATIC_MODULES
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
-
-INSTALLATION_DIRS= bin lib/security share/doc/google-authenticator
-
-do-install:
- cd ${WRKSRC} && ${INSTALL_PROGRAM} google-authenticator \
- ${DESTDIR}${PREFIX}/bin
- cd ${WRKSRC} && ${INSTALL_LIB} pam_google_authenticator.so \
- ${DESTDIR}${PREFIX}/lib/security
- cd ${WRKSRC} && ${INSTALL_DATA} README \
- ${DESTDIR}${PREFIX}/share/doc/google-authenticator
+pre-configure:
+ cd ${WRKSRC} && autoreconf -vif
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/google-authenticator/PLIST b/security/google-authenticator/PLIST
index 71994f0749b..baba8bdb3ae 100644
--- a/security/google-authenticator/PLIST
+++ b/security/google-authenticator/PLIST
@@ -1,4 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/07 00:01:48 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/08/29 11:12:36 tnn Exp $
bin/google-authenticator
-lib/security/pam_google_authenticator.so
-share/doc/google-authenticator/README
+lib/security/pam_google_authenticator.la
+man/man1/google-authenticator.1
+man/man8/pam_google_authenticator.8
+share/doc/google-authenticator/FILEFORMAT
+share/doc/google-authenticator/README.md
+share/doc/google-authenticator/totp.html
diff --git a/security/google-authenticator/distinfo b/security/google-authenticator/distinfo
index c5c8e7abbc9..afbf4319622 100644
--- a/security/google-authenticator/distinfo
+++ b/security/google-authenticator/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:17:45 agc Exp $
+$NetBSD: distinfo,v 1.4 2018/08/29 11:12:36 tnn Exp $
-SHA1 (libpam-google-authenticator-1.0-source.tar.bz2) = 017b7d89989f1624e360abe02d6b27a6298d285d
-RMD160 (libpam-google-authenticator-1.0-source.tar.bz2) = ce26a2f805f36a82a7ab3d930116a73fb444e037
-SHA512 (libpam-google-authenticator-1.0-source.tar.bz2) = 92ec473b07e2e46f969cd0a1a6f5707892800418442ad7d046ebc1195bbd1654e396f53245056c7eee38decaeb1997102f9aa988b7da1d734dcd2b104402ef8c
-Size (libpam-google-authenticator-1.0-source.tar.bz2) = 32708 bytes
+SHA1 (google-authenticator-libpam-1.05.tar.gz) = e1e7f8ce7414f0be00eebcc0120716b0ed9c24d7
+RMD160 (google-authenticator-libpam-1.05.tar.gz) = add400ce63ff1655225538719f575daca053aa18
+SHA512 (google-authenticator-libpam-1.05.tar.gz) = d97b26c6181dbce0612628484db37b1bf61e984fb2fb3d4974d04038e564404aa17415368dba524f0d17d96ec8d57ae4129b27f0c672d849d16ef03941d87996
+Size (google-authenticator-libpam-1.05.tar.gz) = 57778 bytes