pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/google-authenticator



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Aug 29 11:12:36 UTC 2018

Modified Files:
        pkgsrc/security/google-authenticator: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/google-authenticator/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/security/google-authenticator/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/google-authenticator/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/google-authenticator/Makefile
diff -u pkgsrc/security/google-authenticator/Makefile:1.4 pkgsrc/security/google-authenticator/Makefile:1.5
--- pkgsrc/security/google-authenticator/Makefile:1.4   Tue Aug  1 17:08:24 2017
+++ pkgsrc/security/google-authenticator/Makefile       Wed Aug 29 11:12:36 2018
@@ -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
+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"

Index: pkgsrc/security/google-authenticator/PLIST
diff -u pkgsrc/security/google-authenticator/PLIST:1.1.1.1 pkgsrc/security/google-authenticator/PLIST:1.2
--- pkgsrc/security/google-authenticator/PLIST:1.1.1.1  Mon May  7 00:01:48 2012
+++ pkgsrc/security/google-authenticator/PLIST  Wed Aug 29 11:12:36 2018
@@ -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

Index: pkgsrc/security/google-authenticator/distinfo
diff -u pkgsrc/security/google-authenticator/distinfo:1.3 pkgsrc/security/google-authenticator/distinfo:1.4
--- pkgsrc/security/google-authenticator/distinfo:1.3   Wed Nov  4 01:17:45 2015
+++ pkgsrc/security/google-authenticator/distinfo       Wed Aug 29 11:12:36 2018
@@ -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