pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/2fa 2fa: Update to 1.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/bdb6ce8a7d1b
branches: trunk
changeset: 452533:bdb6ce8a7d1b
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Wed May 12 14:19:03 2021 +0000
description:
2fa: Update to 1.2.0
Changelog:
* go modulized
* Depend on github.com/atotto/clipboard
diffstat:
security/2fa/Makefile | 23 +++++++++++++----------
security/2fa/PLIST | 3 +--
security/2fa/distinfo | 18 +++++++++++++-----
security/2fa/go-modules.mk | 4 ++++
4 files changed, 31 insertions(+), 17 deletions(-)
diffs (82 lines):
diff -r e024570248d1 -r bdb6ce8a7d1b security/2fa/Makefile
--- a/security/2fa/Makefile Wed May 12 14:15:28 2021 +0000
+++ b/security/2fa/Makefile Wed May 12 14:19:03 2021 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.31 2021/05/08 15:02:28 bsiegert Exp $
+# $NetBSD: Makefile,v 1.32 2021/05/12 14:19:03 ryoon Exp $
-DISTNAME= 2fa-1.1.0
-PKGREVISION= 19
+DISTNAME= 2fa-1.2.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=rsc/}
-GITHUB_TAG= v1.1.0
+GITHUB_TAG= v1.2.0
GITHUB_PROJECT= 2fa
MAINTAINER= bsiegert%NetBSD.org@localhost
@@ -12,15 +11,19 @@
COMMENT= Command-line client for two-factor authentication
LICENSE= modified-bsd
-GO_DIST_BASE= ${DISTNAME}
-GO_SRCPATH= rsc.io/2fa
-
CHECK_RELRO_SKIP+= bin/2fa
INSTALLATION_DIRS= bin
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/bin/2fa ${DESTDIR}${PREFIX}/bin
+pre-configure:
+ # Fix build error, invalid vendor/modules.txt.
+ ${RM} -rf ${WRKSRC}/vendor
-.include "../../lang/go/go-package.mk"
+do-install:
+ # gocopy and gopaste are not required to use 2fa.
+ ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/2fa ${DESTDIR}${PREFIX}/bin
+
+.include "go-modules.mk"
+
+.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e024570248d1 -r bdb6ce8a7d1b security/2fa/PLIST
--- a/security/2fa/PLIST Wed May 12 14:15:28 2021 +0000
+++ b/security/2fa/PLIST Wed May 12 14:19:03 2021 +0000
@@ -1,3 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2017/11/27 18:47:09 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/05/12 14:19:03 ryoon Exp $
bin/2fa
-@pkgdir gopkg
diff -r e024570248d1 -r bdb6ce8a7d1b security/2fa/distinfo
--- a/security/2fa/distinfo Wed May 12 14:15:28 2021 +0000
+++ b/security/2fa/distinfo Wed May 12 14:19:03 2021 +0000
@@ -1,6 +1,14 @@
-$NetBSD: distinfo,v 1.2 2019/05/04 06:11:53 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2021/05/12 14:19:03 ryoon Exp $
-SHA1 (2fa-1.1.0.tar.gz) = 1a7c7344ade0740197c2060119e1345111657eda
-RMD160 (2fa-1.1.0.tar.gz) = 551c5fc2ede21a6cc1390baba2169b9f686f686f
-SHA512 (2fa-1.1.0.tar.gz) = 3c732ec6cb868a6fed160c44efd636dde60db34b2a0516dace4c67f7d789abf0d8320ffacf7f6d9059ab78186dcad0e59df6719bd3b167d8dd7534396c73022f
-Size (2fa-1.1.0.tar.gz) = 5849 bytes
+SHA1 (2fa-1.2.0.tar.gz) = 7c14eeda66f60fee842e33ba3f0cffab99a04a4d
+RMD160 (2fa-1.2.0.tar.gz) = 11fcc6611762d9d48841b7e8c3ace1d8073bcee7
+SHA512 (2fa-1.2.0.tar.gz) = 67759b1ef5b800910111f2756599a30f899c0317c30f16846eb132f698a428b3d9d7600de7b98a36bf12ec54760356ea1cb0bc521eeb617dc1434d71f99cb3ea
+Size (2fa-1.2.0.tar.gz) = 6107 bytes
+SHA1 (github.com_atotto_clipboard_@v_v0.1.2.mod) = 1466083476bd054060a1a8b6132412073b112a49
+RMD160 (github.com_atotto_clipboard_@v_v0.1.2.mod) = 6c4c922bc597aaaa10f4e6f853507428d16a49d7
+SHA512 (github.com_atotto_clipboard_@v_v0.1.2.mod) = 49d95d7db5b42c6948c50dcbee20a5ec6b554e78f8ee4beec2303b318d6289a32be807084806bd17ee8e680e58c2693f753614fdb6788f424c9d7496790b20ba
+Size (github.com_atotto_clipboard_@v_v0.1.2.mod) = 35 bytes
+SHA1 (github.com_atotto_clipboard_@v_v0.1.2.zip) = 99df10ee521612a23700c58b7a92a94b784d90fc
+RMD160 (github.com_atotto_clipboard_@v_v0.1.2.zip) = c188a75faf05866c1f71ce070ca0dc5d1effc4c4
+SHA512 (github.com_atotto_clipboard_@v_v0.1.2.zip) = 5df11a2def2b93ec0465fffaeee22cf12802fd63574dccf977a6153aaddbe95c2a3ce20388fa3c3dba0b41d0cafbfa827ab9e6c311cfeb491e5b09aa907cb6cb
+Size (github.com_atotto_clipboard_@v_v0.1.2.zip) = 7610 bytes
diff -r e024570248d1 -r bdb6ce8a7d1b security/2fa/go-modules.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/2fa/go-modules.mk Wed May 12 14:19:03 2021 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: go-modules.mk,v 1.1 2021/05/12 14:19:03 ryoon Exp $
+
+GO_MODULE_FILES+= github.com/atotto/clipboard/@v/v0.1.2.mod
+GO_MODULE_FILES+= github.com/atotto/clipboard/@v/v0.1.2.zip
Home |
Main Index |
Thread Index |
Old Index