summaryrefslogtreecommitdiff
path: root/sysutils/direnv
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-01-13 16:41:16 +0000
committerjperkin <jperkin@pkgsrc.org>2021-01-13 16:41:16 +0000
commitc2b928857c38d2722bb056891efe42d908d0121e (patch)
tree75a92473d8df7a6b56d6d8d0c54a66f79fd36aad /sysutils/direnv
parent8e3671ac97e092cebe94fdc8d3701e5620fb4449 (diff)
downloadpkgsrc-c2b928857c38d2722bb056891efe42d908d0121e.tar.gz
direnv: Import version 2.27.0.
direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh and fish shell to load or unload environment variables depending on the current directory. This allows to have project-specific environment variables and not clutter the "~/.profile" file. Originally packaged in wip by Terin Stock, updated by myself.
Diffstat (limited to 'sysutils/direnv')
-rw-r--r--sysutils/direnv/DESCR4
-rw-r--r--sysutils/direnv/Makefile25
-rw-r--r--sysutils/direnv/PLIST6
-rw-r--r--sysutils/direnv/distinfo114
-rw-r--r--sysutils/direnv/go-modules.mk29
5 files changed, 178 insertions, 0 deletions
diff --git a/sysutils/direnv/DESCR b/sysutils/direnv/DESCR
new file mode 100644
index 00000000000..b94d8c4694d
--- /dev/null
+++ b/sysutils/direnv/DESCR
@@ -0,0 +1,4 @@
+direnv is an environment switcher for the shell. It knows how to hook into bash,
+zsh, tcsh and fish shell to load or unload environment variables depending on
+the current directory. This allows to have project-specific environment
+variables and not clutter the "~/.profile" file.
diff --git a/sysutils/direnv/Makefile b/sysutils/direnv/Makefile
new file mode 100644
index 00000000000..3a24ea3b386
--- /dev/null
+++ b/sysutils/direnv/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2021/01/13 16:41:16 jperkin Exp $
+
+DISTNAME= direnv-2.27.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=direnv/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@pkgsrc.org
+HOMEPAGE= https://direnv.net/
+COMMENT= Environment switcher for the shell
+LICENSE= mit
+
+.include "go-modules.mk"
+
+do-build:
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO} build -o direnv
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/bin
+ ${INSTALL_MAN_DIR} ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/direnv ${DESTDIR}/${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/direnv/PLIST b/sysutils/direnv/PLIST
new file mode 100644
index 00000000000..2ec016a3369
--- /dev/null
+++ b/sysutils/direnv/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/13 16:41:16 jperkin Exp $
+bin/direnv
+man/man1/direnv-fetchurl.1
+man/man1/direnv-stdlib.1
+man/man1/direnv.1
+man/man1/direnv.toml.1
diff --git a/sysutils/direnv/distinfo b/sysutils/direnv/distinfo
new file mode 100644
index 00000000000..578a653619d
--- /dev/null
+++ b/sysutils/direnv/distinfo
@@ -0,0 +1,114 @@
+$NetBSD: distinfo,v 1.1 2021/01/13 16:41:16 jperkin Exp $
+
+SHA1 (direnv-2.27.0.tar.gz) = 7e617e6e08f00cc3cd523ee867e57802e4b1c40f
+RMD160 (direnv-2.27.0.tar.gz) = 7444d2a1b659f2c0c1a8e130ba83a42ed91475c3
+SHA512 (direnv-2.27.0.tar.gz) = 5e87fbdbad0b16bada0e51b499c65e21d2ad834bf2dc06dbfed01150bcd588a57bcc95bdf44d56fe4840315ffec62fc8bc11ec87ab2bdd7463d57adb8cca1ed3
+Size (direnv-2.27.0.tar.gz) = 86094 bytes
+SHA1 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 0937ac1d493b480c07bf48073bffe60c2ba902f1
+RMD160 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 722a12078a5d845bfcf238c63a7b7d3a563b48be
+SHA512 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
+Size (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 34 bytes
+SHA1 (github.com__burnt_sushi_toml_@v_v0.3.1.zip) = 5c870c5cbf65bb55d76313cdd27933198b37a582
+RMD160 (github.com__burnt_sushi_toml_@v_v0.3.1.zip) = e626b6d983287297f9bd907c23fcd3f040798eeb
+SHA512 (github.com__burnt_sushi_toml_@v_v0.3.1.zip) = 43ed64ae515738487e9b75a2290d0b2bc25e83c021a9f29b21487c37adbf34e74e1e7d3d5ec0dfe678c8396356f95c3993a5f5610d1791ff62056cd182a4272f
+Size (github.com__burnt_sushi_toml_@v_v0.3.1.zip) = 56132 bytes
+SHA1 (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.mod) = 78bb2d37d56100e03e7081535516a1bc78c06cb0
+RMD160 (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.mod) = 15344ca59ca59fcbfea024f9a55e0881d987db34
+SHA512 (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.mod) = 4978ec06a9d32791c27f52638b8eef07e09045220da6a52c7844faf2b0e4ca3551d6ff6f14eaa0b4a0e8a13e1e7aaf63edae4a49d21c948ef57bdb5765095862
+Size (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.mod) = 35 bytes
+SHA1 (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.zip) = b4df2ff17fe2f6ac42a8962bf4fc0a9520a6c6ed
+RMD160 (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.zip) = d516a0fbccd51ecacfb7548420829710e13eeb0f
+SHA512 (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.zip) = fda1e4b00db158000395a55d24544992a32e2bbb4b397880817ed6943916ea3af9d58478a4b48b056600b54b575901ee0843925a376c82e2eb7489f32ae492d2
+Size (github.com_direnv_go-dotenv_@v_v0.0.0-20181227095604-4cce6d1a66f7.zip) = 4701 bytes
+SHA1 (github.com_mattn_go-isatty_@v_v0.0.12.mod) = cfc47e14cb345b375b98e849bd0d8038df30f1ae
+RMD160 (github.com_mattn_go-isatty_@v_v0.0.12.mod) = d40077cb670a9f1b21a76671bfb37f2291023e04
+SHA512 (github.com_mattn_go-isatty_@v_v0.0.12.mod) = 7bd9f6a38aa9a16c3569142164389d1c4046170f66b5e9044f7aaa3192e9d2e2ccec486e3bc7fbac868c9693b6d333068c1a34ccd9e79dec1746a86348951503
+Size (github.com_mattn_go-isatty_@v_v0.0.12.mod) = 104 bytes
+SHA1 (github.com_mattn_go-isatty_@v_v0.0.12.zip) = 5fab916c3edf3c971e6b17feeab5f0fe46539f78
+RMD160 (github.com_mattn_go-isatty_@v_v0.0.12.zip) = 4a697bb087dd8e784a3d18d25e6b29dd880a2799
+SHA512 (github.com_mattn_go-isatty_@v_v0.0.12.zip) = 79ba14a04838c509500e6098553e8aadcd7105445387160a8aa1a6d7b0e70f0e807c99036c31faf51920544da2156195174c8530e317a72728719cb0a9a66098
+Size (github.com_mattn_go-isatty_@v_v0.0.12.zip) = 8902 bytes
+SHA1 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = c3e39c7d2e068f84aa5bea52adee1b947b7172ef
+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
+Size (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = 88 bytes
+SHA1 (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.mod) = bf62c0db434e5f8e36e718adbf545c12a7e5022d
+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
+SHA1 (golang.org_x_crypto_@v_v0.0.0-20191011191535-87dc89f01550.zip) = 93b4553a999eead33afb115bc42bbf993697ef50
+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
+SHA1 (golang.org_x_mod_@v_v0.4.0.mod) = 0c6a88e6b10ddeb7ac6c867161efa5a34070aaeb
+RMD160 (golang.org_x_mod_@v_v0.4.0.mod) = fd98422c574f4766653ca3f30440f690bf43705c
+SHA512 (golang.org_x_mod_@v_v0.4.0.mod) = 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
+Size (golang.org_x_mod_@v_v0.4.0.mod) = 214 bytes
+SHA1 (golang.org_x_mod_@v_v0.4.0.zip) = 29034e52a2b79beb0d755836afa608ab9bcaf28e
+RMD160 (golang.org_x_mod_@v_v0.4.0.zip) = e64f2094891e39bc48a7ea6b67c79f8a6df988bb
+SHA512 (golang.org_x_mod_@v_v0.4.0.zip) = bc26de861771474bcb7f4b19131c90f7e5de723ec4a9101ae904ac275b88e2acd651c9b22a26e3f35ffc4b2346a87086635db7b335d02d29a2b3986056c1a543
+Size (golang.org_x_mod_@v_v0.4.0.zip) = 139506 bytes
+SHA1 (golang.org_x_net_@v_v0.0.0-20190404232315-eb5bcb51f2a3.mod) = 6ef6a99d81892498abd5503dbb2b07c0ae1bc68d
+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
+SHA1 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 5bee146df48c9e4cb0f2c9cc2239739676f02036
+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
+SHA1 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = d8f81511dc644d7081e69270f11269d397e6f395
+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
+SHA1 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = 48db416881bc35baec4037f704b48ea04caa6b20
+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
+SHA1 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = f0262fb90e7f520593c97fc793b1643b7195b293
+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
+SHA1 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = 536a84fdba3fc4d815d54fbe7255aa493fbd3ecb
+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
+SHA1 (golang.org_x_sys_@v_v0.0.0-20190412213103-97732733099d.mod) = 9c0a67f5f608966214879bdc8263f4927cb8da2f
+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
+SHA1 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 9c0a67f5f608966214879bdc8263f4927cb8da2f
+RMD160 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 470ffe5252fd7913930e210baaa374da49776819
+SHA512 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 33 bytes
+SHA1 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.zip) = 2e3656673d977eec98133ebb9a0dced69291f2f7
+RMD160 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.zip) = b193e8089ee1bc07358a81d732b526e673d58db8
+SHA512 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.zip) = 26e655cb67ad0630e05c176a342135ec67c08eaa396000095f568f0c112810a262c204d7973e16a16539c69b7f543062ba29b6b1c9bc934f7b0783b79dd33b7a
+Size (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.zip) = 1913147 bytes
+SHA1 (golang.org_x_text_@v_v0.3.0.mod) = f3a33d4b075f49232516e483aeb74d4015994c88
+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
+SHA1 (golang.org_x_text_@v_v0.3.0.zip) = 6d55d1ba31d50719f91c77cd1fe44553f9ce07e0
+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
+SHA1 (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.mod) = 8e0d9c69abce2e4f8ea64e58f2b30b5f4e102a55
+RMD160 (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.mod) = 76255d81fdcfaa17a5eec174b2d5def1d7a7ad0a
+SHA512 (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.mod) = 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109
+Size (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.mod) = 212 bytes
+SHA1 (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.zip) = 0fd38bc67c6efa3f9deb018eb696926391afec16
+RMD160 (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.zip) = 9cdc52486c864dc5d551403bd280a97365a6641e
+SHA512 (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.zip) = aaf6ca06dabd80c7f91bb9ad127b5b72982e275315e07f553e68f9f5d40d11fcd90468c96046ed90dff1c53dae5427cd46a1e9b2f9ae48488ccb81d2a780dc84
+Size (golang.org_x_tools_@v_v0.0.0-20191119224855-298f0cb1881e.zip) = 2915387 bytes
+SHA1 (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = 8d7e758a07d4abc4637100ab62d3e41c1b87b79d
+RMD160 (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = 5199856d86a07427d7c628e06cb792a3f6ab4f08
+SHA512 (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
+Size (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = 37 bytes
+SHA1 (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.mod) = 8d7e758a07d4abc4637100ab62d3e41c1b87b79d
+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
+SHA1 (golang.org_x_xerrors_@v_v0.0.0-20191011141410-1b5146add898.zip) = 2eccf857e62d53be40c10940e90ac3bb2f35e516
+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
diff --git a/sysutils/direnv/go-modules.mk b/sysutils/direnv/go-modules.mk
new file mode 100644
index 00000000000..d25f516e7ce
--- /dev/null
+++ b/sysutils/direnv/go-modules.mk
@@ -0,0 +1,29 @@
+# $NetBSD: go-modules.mk,v 1.1 2021/01/13 16:41:16 jperkin Exp $
+
+GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.mod
+GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.zip
+GO_MODULE_FILES+= github.com/direnv/go-dotenv/@v/v0.0.0-20181227095604-4cce6d1a66f7.mod
+GO_MODULE_FILES+= github.com/direnv/go-dotenv/@v/v0.0.0-20181227095604-4cce6d1a66f7.zip
+GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.12.mod
+GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.12.zip
+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.4.0.mod
+GO_MODULE_FILES+= golang.org/x/mod/@v/v0.4.0.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-20200116001909-b77594299b42.mod
+GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200116001909-b77594299b42.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-20191119224855-298f0cb1881e.mod
+GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191119224855-298f0cb1881e.zip
+GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.mod
+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