pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/2fa



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed May 12 14:19:03 UTC 2021

Modified Files:
        pkgsrc/security/2fa: Makefile PLIST distinfo
Added Files:
        pkgsrc/security/2fa: go-modules.mk

Log Message:
2fa: Update to 1.2.0

Changelog:
* go modulized
* Depend on github.com/atotto/clipboard


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/security/2fa/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/2fa/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/2fa/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/2fa/go-modules.mk

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

Modified files:

Index: pkgsrc/security/2fa/Makefile
diff -u pkgsrc/security/2fa/Makefile:1.31 pkgsrc/security/2fa/Makefile:1.32
--- pkgsrc/security/2fa/Makefile:1.31   Sat May  8 15:02:28 2021
+++ pkgsrc/security/2fa/Makefile        Wed May 12 14:19:03 2021
@@ -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 @@ HOMEPAGE=   ${MASTER_SITE_GITHUB:=rsc/2fa/
 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
 
+pre-configure:
+       # Fix build error, invalid vendor/modules.txt.
+       ${RM} -rf ${WRKSRC}/vendor
+
 do-install:
-       ${INSTALL_PROGRAM} ${WRKDIR}/bin/2fa ${DESTDIR}${PREFIX}/bin
+       # 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-package.mk"
+.include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/2fa/PLIST
diff -u pkgsrc/security/2fa/PLIST:1.1 pkgsrc/security/2fa/PLIST:1.2
--- pkgsrc/security/2fa/PLIST:1.1       Mon Nov 27 18:47:09 2017
+++ pkgsrc/security/2fa/PLIST   Wed May 12 14:19:03 2021
@@ -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

Index: pkgsrc/security/2fa/distinfo
diff -u pkgsrc/security/2fa/distinfo:1.2 pkgsrc/security/2fa/distinfo:1.3
--- pkgsrc/security/2fa/distinfo:1.2    Sat May  4 06:11:53 2019
+++ pkgsrc/security/2fa/distinfo        Wed May 12 14:19:03 2021
@@ -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

Added files:

Index: pkgsrc/security/2fa/go-modules.mk
diff -u /dev/null pkgsrc/security/2fa/go-modules.mk:1.1
--- /dev/null   Wed May 12 14:19:03 2021
+++ pkgsrc/security/2fa/go-modules.mk   Wed May 12 14:19:03 2021
@@ -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