pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/google-authenticator google-authenticator: up...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3db912ab58fe
branches:  trunk
changeset: 384621:3db912ab58fe
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Aug 29 11:12:36 2018 +0000

description:
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:

 security/google-authenticator/Makefile |  31 ++++++++++++-------------------
 security/google-authenticator/PLIST    |  10 +++++++---
 security/google-authenticator/distinfo |  10 +++++-----
 3 files changed, 24 insertions(+), 27 deletions(-)

diffs (76 lines):

diff -r bfbc1fbb2846 -r 3db912ab58fe security/google-authenticator/Makefile
--- a/security/google-authenticator/Makefile    Wed Aug 29 11:07:52 2018 +0000
+++ b/security/google-authenticator/Makefile    Wed Aug 29 11:12:36 2018 +0000
@@ -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@localhost
-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
-
-CFLAGS+=       -DNO_STATIC_MODULES
-WRKSRC=                ${WRKDIR}/${DISTNAME:S/-source//}
-
-INSTALLATION_DIRS=     bin lib/security share/doc/google-authenticator
+USE_TOOLS=     gmake autoconf automake autoreconf
+USE_LIBTOOL=   yes
+GNU_CONFIGURE= yes
 
-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 -r bfbc1fbb2846 -r 3db912ab58fe security/google-authenticator/PLIST
--- a/security/google-authenticator/PLIST       Wed Aug 29 11:07:52 2018 +0000
+++ b/security/google-authenticator/PLIST       Wed Aug 29 11:12:36 2018 +0000
@@ -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 -r bfbc1fbb2846 -r 3db912ab58fe security/google-authenticator/distinfo
--- a/security/google-authenticator/distinfo    Wed Aug 29 11:07:52 2018 +0000
+++ b/security/google-authenticator/distinfo    Wed Aug 29 11:12:36 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index