pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/golint golint: remove redundant do-install and R...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37629cc43c50
branches: trunk
changeset: 459554:37629cc43c50
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Oct 09 09:52:16 2021 +0000
description:
golint: remove redundant do-install and RELRO_SKIP. Use go-modules.mk idiom.
diffstat:
devel/golint/Makefile | 22 +++-------------------
devel/golint/distinfo | 23 ++++++++++++++++++++++-
devel/golint/go-modules.mk | 21 +++++++++++++++++++++
3 files changed, 46 insertions(+), 20 deletions(-)
diffs (127 lines):
diff -r 05404e0d8dc6 -r 37629cc43c50 devel/golint/Makefile
--- a/devel/golint/Makefile Sat Oct 09 09:43:38 2021 +0000
+++ b/devel/golint/Makefile Sat Oct 09 09:52:16 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2021/10/08 18:55:09 bsiegert Exp $
+# $NetBSD: Makefile,v 1.44 2021/10/09 09:52:16 tnn Exp $
DISTNAME= golint-20200301
PKGREVISION= 14
@@ -12,25 +12,9 @@
COMMENT= Linter for Go source files
LICENSE= modified-bsd
-GO_BUILD_PATTERN= ./golint
-
-CHECK_RELRO_SKIP+= bin/golint
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/golint ${DESTDIR}${PREFIX}/bin
+.include "go-modules.mk"
-GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191011191535-87dc89f01550.mod
-GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190308221718-c2843e01d9a2.mod
-GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191011141410-1b5146add898.mod
-GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190215142949-d0b11bdaac8a.mod
-GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190412213103-97732733099d.mod
-GO_MODULE_FILES+= golang.org/x/mod/@v/v0.1.1-0.20191105210325-c90efee705ee.mod
-GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.0.mod
-GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190423024810-112230192c58.mod
-GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200130002326-2f3ba24bd6e7.mod
-GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190620200207-3b0461eec859.mod
-GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190404232315-eb5bcb51f2a3.mod
-GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200130002326-2f3ba24bd6e7.zip
+GO_BUILD_PATTERN= ./golint
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 05404e0d8dc6 -r 37629cc43c50 devel/golint/distinfo
--- a/devel/golint/distinfo Sat Oct 09 09:43:38 2021 +0000
+++ b/devel/golint/distinfo Sat Oct 09 09:52:16 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2021/10/07 13:39:41 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/10/09 09:52:16 tnn Exp $
RMD160 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = 183c918cefe501fad260e58e749108493fd09855
SHA512 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) =
2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
@@ -6,27 +6,45 @@
RMD160 (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.mod) = 710cff58e3b0974d2133ccdc7d91d47fda16b370
SHA512 (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.mod) =
f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
Size (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.mod) = 146 bytes
+RMD160 (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.zip) = 66c24ef4d1d23006818b191b9a6964373194085f
+SHA512 (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.zip) =
fc5402097646068a495867d50f55b00c2a774ddb99df373dc860c175383f8f1ab5c802bbefa55e013e45201a3077cb04f5dc8831f3ff320422623167d8c38568
+Size (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.zip) = 1844911 bytes
RMD160 (golang.org_x_mod_@v_v0.1.1-0.20191105210325-c90efee705ee.mod) = 879fd224c6932e0905763aacff5ec6f28f1ffad7
SHA512 (golang.org_x_mod_@v_v0.1.1-0.20191105210325-c90efee705ee.mod) =
5e225da646ef87b8bf435b745313187cecd1bd3e88660f8a90cd2a6fdcadbe8fc51f53edae4b3aa2357ad273a8e58034920bb61a1cd5898b95d3fe39f30ec648
Size (golang.org_x_mod_@v_v0.1.1-0.20191105210325-c90efee705ee.mod) = 159 bytes
+RMD160 (golang.org_x_mod_@v_v0.1.1-0.20191105210325-c90efee705ee.zip) = 74a95b691ea6ed5bd8124b72bce07b528c512ad6
+SHA512 (golang.org_x_mod_@v_v0.1.1-0.20191105210325-c90efee705ee.zip) =
13d1a28e9df57073c8f25a8d86e17525ae17cb461bcb6affd82cc447394c8068d13653e32ecf1282af6c4811680f4883e3d856384480f7d9ad47b320fa76a1d6
+Size (golang.org_x_mod_@v_v0.1.1-0.20191105210325-c90efee705ee.zip) = 134147 bytes
RMD160 (golang.org_x_net_@v_v0.0.0-20190404232315-eb5bcb51f2a3.mod) = afd75680a7f105a82833b8ce7c412fd2c478ff29
SHA512 (golang.org_x_net_@v_v0.0.0-20190404232315-eb5bcb51f2a3.mod) = 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
Size (golang.org_x_net_@v_v0.0.0-20190404232315-eb5bcb51f2a3.mod) = 119 bytes
RMD160 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 6077c70d91389aa6df26b79509a83d95b1e79225
SHA512 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
Size (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 181 bytes
+RMD160 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = 549ab736387c915dd8878219a02eaeca635813d6
+SHA512 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = e79353b8f6b6866a14236eed278aae32ccb02eed040a557dda219cd96eecdc0174a8ac29a5509a33f6f0f9e5aa16f7d1c6861167d9798a5cb1eb01aabcee56f2
+Size (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = 1421786 bytes
RMD160 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = 72304f724cba64497765c9436b735d183f2adf21
SHA512 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
Size (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = 25 bytes
+RMD160 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = c98350c65489c512ceaff1e0cc724770bc0f4154
+SHA512 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = 5a9db9d294b5f2121f3de994da38161f013a0512ad64aaf51f1c7a94b7cdb1ec4102f7c457d29f9bde209e8c254f6ad034c294af3649dbd10d5349c05874f74c
+Size (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = 25620 bytes
RMD160 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = d0b39e9f156ac4a72364d57c54e08d92f91000c0
SHA512 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
Size (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = 24 bytes
RMD160 (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.mod) = 470ffe5252fd7913930e210baaa374da49776819
SHA512 (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
Size (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.mod) = 33 bytes
+RMD160 (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.zip) = 935e39137faa9519a474d1d83103c6ad66a01953
+SHA512 (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.zip) = a981d025dbb8bc8d3b48cbe7327076531e614f9bb9662f24b5f89997d8f9612d750ac53b9191e7df42dc326a36913b29350acaf7fe2f4bf2f08b986a510e95da
+Size (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.zip) = 1697094 bytes
RMD160 (golang.org_x_text_@v_v0.3.0.mod) = 2954886f81bdca9d743aac213cd223e1ec7f8484
SHA512 (golang.org_x_text_@v_v0.3.0.mod) = ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
Size (golang.org_x_text_@v_v0.3.0.mod) = 25 bytes
+RMD160 (golang.org_x_text_@v_v0.3.0.zip) = 6e5ab0fad42b4bac5d765044b4d03aae57aaf7bd
+SHA512 (golang.org_x_text_@v_v0.3.0.zip) = 982d78f580a7eac99a0c51e6f1fd2b2c3b91f56cd5e2b96fe960510049f7daf5915264f73f55f05675eee232a52998f9667fa84a9ccba15ed7819e4c93f583a7
+Size (golang.org_x_text_@v_v0.3.0.zip) = 6349244 bytes
RMD160 (golang.org_x_tools_@v_v0.0.0-20200130002326-2f3ba24bd6e7.mod) = 71df1b37c117f722aa4f390422e7882a92aa7fd9
SHA512 (golang.org_x_tools_@v_v0.0.0-20200130002326-2f3ba24bd6e7.mod) =
91b0380c7073eac4442bfd1924d311fc7b50b098ec4c72ea72fcc831273012326a44245add9b05a90895be46d11052ddcc942ea6bb909bda51d782f95acddff8
Size (golang.org_x_tools_@v_v0.0.0-20200130002326-2f3ba24bd6e7.mod) = 267 bytes
@@ -36,6 +54,9 @@
RMD160 (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.mod) = 5199856d86a07427d7c628e06cb792a3f6ab4f08
SHA512 (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.mod) =
659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
Size (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.mod) = 37 bytes
+RMD160 (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.zip) = d1fed2257dbb80f11b6e1f496df99ff88e2c95d3
+SHA512 (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.zip) =
464d0f5e1ce45f303f0cf3b6c109629384cb23a8d1e23c5cbf16fbaffb19ae1641da4457b1baabd0e8d2f9784fda64774adfb4c1baaae837877275396d0f22fa
+Size (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.zip) = 19898 bytes
RMD160 (golint-20200301-738671d3881b9731cc63024d5d88cf28db875626.tar.gz) = 530bfffc4de5aa622ea4e45ef5c9adbd2758bde7
SHA512 (golint-20200301-738671d3881b9731cc63024d5d88cf28db875626.tar.gz) =
d62a20f02006d6e69391f5758ed1f3fe2c81a44e782d6a5530c6feacd9b1547168ae9401f84c92ff4adfcbda32d97049cd7afe47b00ee91ec50bc850c8ca9462
Size (golint-20200301-738671d3881b9731cc63024d5d88cf28db875626.tar.gz) = 31870 bytes
diff -r 05404e0d8dc6 -r 37629cc43c50 devel/golint/go-modules.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/golint/go-modules.mk Sat Oct 09 09:52:16 2021 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: go-modules.mk,v 1.1 2021/10/09 09:52:16 tnn Exp $
+
+GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190308221718-c2843e01d9a2.mod
+GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191011191535-87dc89f01550.mod
+GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191011191535-87dc89f01550.zip
+GO_MODULE_FILES+= golang.org/x/mod/@v/v0.1.1-0.20191105210325-c90efee705ee.mod
+GO_MODULE_FILES+= golang.org/x/mod/@v/v0.1.1-0.20191105210325-c90efee705ee.zip
+GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190404232315-eb5bcb51f2a3.mod
+GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190620200207-3b0461eec859.mod
+GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190620200207-3b0461eec859.zip
+GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190423024810-112230192c58.mod
+GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190423024810-112230192c58.zip
+GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190215142949-d0b11bdaac8a.mod
+GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190412213103-97732733099d.mod
+GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190412213103-97732733099d.zip
+GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.0.mod
+GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.0.zip
+GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200130002326-2f3ba24bd6e7.mod
+GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200130002326-2f3ba24bd6e7.zip
+GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191011141410-1b5146add898.mod
+GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191011141410-1b5146add898.zip
Home |
Main Index |
Thread Index |
Old Index