summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
commita3bb28551df94028000fb72308a9e9baa01458b0 (patch)
tree33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /app-admin
parent6657c680376cedf378fcf328e5fa03ed3b41d580 (diff)
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/Manifest.gzbin32035 -> 32042 bytes
-rw-r--r--app-admin/gtkdiskfree/Manifest2
-rw-r--r--app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch18
-rw-r--r--app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild39
-rw-r--r--app-admin/lnav/Manifest2
-rw-r--r--app-admin/lnav/metadata.xml9
-rw-r--r--app-admin/needrestart/Manifest3
-rw-r--r--app-admin/needrestart/needrestart-3.6-r1.ebuild42
-rw-r--r--app-admin/needrestart/needrestart-9999.ebuild6
-rw-r--r--app-admin/opentofu/Manifest3
-rw-r--r--app-admin/opentofu/opentofu-1.7.1.ebuild40
11 files changed, 151 insertions, 13 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz
index 63eeb369a569..1e274ea34fee 100644
--- a/app-admin/Manifest.gz
+++ b/app-admin/Manifest.gz
Binary files differ
diff --git a/app-admin/gtkdiskfree/Manifest b/app-admin/gtkdiskfree/Manifest
index c9d30ba43fa6..e75e9509224b 100644
--- a/app-admin/gtkdiskfree/Manifest
+++ b/app-admin/gtkdiskfree/Manifest
@@ -1,5 +1,7 @@
AUX gtkdiskfree-2.0.4-musl-setlocale.patch 304 BLAKE2B 3ed1157d242a0d6d4aba09721111c8f6811dd087ead3537e1f2f7808fdb0d57558819c14f0d178c852a31a9bc760eb11b7a53671517cbf7ea29b8b7bb6894e9b SHA512 fde3ba124368a14144553464b2465fc24c40bab5ed86519e59432c982823c285369c34770930d132998c28abbe6f9ca98410741acb1ec2bd01f1ab00e256c58a
+AUX gtkdiskfree-2.0.4-use-const-data-for-icon.patch 456 BLAKE2B c997cc936f878133641ccf213e72f978dda04a52e1dd78b39aa4404edee511dee82836e21f776c8e2b4112833a26f7611ac28aaa1cac99efa8a41104e642e10b SHA512 b99d9950a24b11f7e4bcc6410293683a960f5b12622ac04a3643fe2ce89fb75f3d9cb181cb82d9133416d6db80607a650d8bfe87c1f2276e8b8f47d537286d79
DIST gtkdiskfree-bdda379b9109a226a37801505a19da91494144a6.tar.gz 318381 BLAKE2B 06fa325714dba0ec8ee319448286af791472d4aebdd7b94923fc102dfa0352f69247b941e91877c906b754a3b15c8c97d3b01281389274bc92ae23d1c4dfe858 SHA512 641aff62adb665ed6faa82925cc8941d894591e8209a46097b04a5feaba50a401144414edaaa1d97dd9c6b01fa6b4a057b3a5d96f9fd20318f85e535550ef2b7
EBUILD gtkdiskfree-2.0.4_p20200224-r1.ebuild 858 BLAKE2B 2c8c2a71fe1d4151c13fd5f4a6f593b194829d9907d9b7a86d906318188bca7b59a5e129c971c39193226f51b5ca77f5bd37d5c03d36b4d1efd33cff1e0edddc SHA512 4a6af5c3840da75410cb7282f8e02ad346f285089b4717defb08de1cc25b9499ccce960e9e712d265460e77d8329c7d1f47527e70cb7d3d41555776bba273070
+EBUILD gtkdiskfree-2.0.4_p20200224-r2.ebuild 917 BLAKE2B 3c0da657998f4be364faefd72777886a4ff694093df45388a74acdd53e4c92303141c870aa77617cc52d0e6b7837399fbbf7217aaa9104612c8edf73dd2ea76d SHA512 85a47717202fc343d5c2e4e1b70e477e09b627979b384ec11c8634210cc4237a54db8f1eb1e898027684d8eec3d76eae817c51bc19bfab56d8a5fc152f9115d5
EBUILD gtkdiskfree-2.0.4_p20200224.ebuild 775 BLAKE2B bfbc8fa6f36663e46239e49954c2e23de38a6a32aa88991f6a7f5b6322fe58112e490c71a610516f2ff2d7b6da9e58559df87f26660c6e698d30c93454374c63 SHA512 e3aac871b014e841241b7af30feefd40168feee5eb883c9090a5a5792ed3dc582c9de6db2078dedee77e28abd7b4c501cc7cc782d1783069429cf05868c0e338
MISC metadata.xml 476 BLAKE2B 3991159342982a35d1edc7d40505ed702a6720cc6b94b15bc0d934a9015928185e122d2198d6fe4e1e1fbb9754e60a4a9aa46b678e15226da7cd9f423da6f97c SHA512 8ea510fdb6ad071afdc0a4a557b3422df7746e24e037cdd4d67d6398039c6dfabfa306eeb420ce106e518931b26c682728e22e3c3c6cb9777df4a4d32534f41e
diff --git a/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch b/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch
new file mode 100644
index 000000000000..a1b99c946c73
--- /dev/null
+++ b/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch
@@ -0,0 +1,18 @@
+https://gitlab.com/listout/gtkdiskfree/-/commit/3e8d72c2e4115e1372edb81ae9e3a9cd682e9c48.patch
+Bug: https://bugs.gentoo.org/923113
+From: Samuel Bauer <samuel.bauer@yahoo.fr>
+Date: Tue, 8 Jun 2021 20:40:21 +0200
+Subject: [PATCH] Use const datas for icon
+
+--- a/src/icons/icon.xpm
++++ b/src/icons/icon.xpm
+@@ -1,5 +1,5 @@
+ /* XPM */
+-static char * icon_xpm[] = {
++const static char * icon_xpm[] = {
+ "48 48 592 2",
+ " c None",
+ ". c #C7C7C7",
+--
+GitLab
+
diff --git a/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild b/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild
new file mode 100644
index 000000000000..7b48a540eb7d
--- /dev/null
+++ b/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Graphical tool to show free disk space like df"
+HOMEPAGE="https://gitlab.com/mazes_80/gtkdiskfree"
+COMMIT="bdda379b9109a226a37801505a19da91494144a6"
+SRC_URI="https://gitlab.com/mazes_80/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk2"
+
+RDEPEND="
+ dev-libs/glib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk2? ( x11-libs/gtk+:2 )
+ !gtk2? ( x11-libs/gtk+:3 )"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+BDEPEND="sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0.4-musl-setlocale.patch
+ "${FILESDIR}"/${PN}-2.0.4-use-const-data-for-icon.patch
+)
+
+src_configure() {
+ if use gtk2 ; then
+ econf $(use_with gtk2)
+ else
+ econf --enable-old-color-selector
+ fi
+}
diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest
index ee654f4e1a2d..642a03d956fd 100644
--- a/app-admin/lnav/Manifest
+++ b/app-admin/lnav/Manifest
@@ -4,4 +4,4 @@ DIST lnav-0.11.1.tar.gz 10268167 BLAKE2B d490c6798685e80021437e1771742dee59c3b51
DIST lnav-0.11.2.tar.gz 12379373 BLAKE2B 513e10f44d3770fb0135ad7fd035d07b35d2a44b2745acf700de0bf82ef428eb1549f9fd389ae4d6e3e268378a980f59f164479390a2a3faea16555941d3c9ca SHA512 a48c81e075923a5e1cdb051dd18329ff417f628518c8273fc19d0787226414668e1c29645edf20a46173fdf65a2b8978517948317fdc8b45c772fdc82cb82154
EBUILD lnav-0.11.1-r2.ebuild 1141 BLAKE2B 7ddf30143ece50dbe6240ece60967a7c4b92857705a4298f2dcbe576ea4ff39a35b63494681b42d9487941191808a2e74ba93624265e2eb50f1eaebbe2c3dbff SHA512 efae32a37544629390a1db703129c3ff6cde22e7d3d3c7514923fa058b602bb15d6c1f6f46d6435da928186e849c87a9fdc615918d54d559511a9add73316214
EBUILD lnav-0.11.2.ebuild 1052 BLAKE2B 5d5913e668d23ffa162024256d09b54f107bc8cc12562c57a1eea66a4b2b4b3327da0158b043a8ea342c0ce5b8f491cf3aa9178278e51ede12c03e861738df62 SHA512 91e506ef385658eb35c408f5bdedd9a09b857253435fa88dde51e18fb2c5e370f997d79a8f5eae7bf13b04753e6ae1f537aea617497d3ad95bca8fd2fd165cdf
-MISC metadata.xml 858 BLAKE2B 6596baed4200d06faeacd61693e5d2e257587a30555469e0b6661755ab563cfc6693dd7e0970856a78c132544cde04655ca7febac482c9406c26a3b7cbdfc201 SHA512 1787552bd321e245a49a1b5b95d6e6f58362422153b6ee0b51ce644bf67ab098dd3c5ea11cb144dc5dae089208360fcf2a732845c24bb1e4c5dd5c67987e88bf
+MISC metadata.xml 612 BLAKE2B afc47732dba3190cacef50c032d297ed71ca1c30db8c0b01c97ca12ec9f580cc9a9eaa672d2eada43a60f143992c10aee06ba62ff48bd0719cae6939ebd15db0 SHA512 aa14a62218dbfc8cb67eb67bd3b51f3efafce2a03ae27ba5ee2171613c6f1a6e41a06ee7129b5da2e7e194ed0ca9e6b48637f9ee106fe9ca31fdaf9113abea52
diff --git a/app-admin/lnav/metadata.xml b/app-admin/lnav/metadata.xml
index 49ed98af6520..9adb44759029 100644
--- a/app-admin/lnav/metadata.xml
+++ b/app-admin/lnav/metadata.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>randy@electronsweatshop.com</email>
- <name>Randy Barlow</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<longdescription lang="en">
The Log File Navigator, lnav for short, is an advanced log file viewer for the small-scale. It
is a terminal application that can understand your log files and make it easy for you to find
diff --git a/app-admin/needrestart/Manifest b/app-admin/needrestart/Manifest
index a7d8d0163120..484a3000b9e5 100644
--- a/app-admin/needrestart/Manifest
+++ b/app-admin/needrestart/Manifest
@@ -1,4 +1,5 @@
DIST needrestart-3.6.tar.gz 71159 BLAKE2B 76994ef0e77a4db0532dca2e17990097b2314f912fc3c32e67643eca7c44fff9611a42b49abd55f959a0e959d6ea69cfef36ad9008c86debfd125b64bdc673b5 SHA512 5c0f2f427c93e6f621fc1727f6abf42651e184e168b3f720708ac73b425bc7dfb94622c6cc2afad1161e3ffbfd36500eb99c375f2f5a525c9cd10d7142f1e365
+EBUILD needrestart-3.6-r1.ebuild 943 BLAKE2B ad240853963c67a4457dc34983fd91e3027fec9aecd6b70b69d7069899bfbaae51bf1ba566a0bbd65fd4fbba5cdb985fb450f8fcff5f4747366b1fff90ed94e8 SHA512 3ab107ca42430b1a91478795d3c6f740b1eface0c70861545c7bfa3a78eac1835fbfbb58c4d2d1f77ecc3ffbb8e961631a514c0c2c6bcc430dec1ed7c5bd0ac7
EBUILD needrestart-3.6.ebuild 912 BLAKE2B fa17a3fe3c3fe84244901cfd22817e7b78ab5d9ea0b11baa796ce190bc0a2c21e6d6c39e3b1157cfd86c541efccd595ea5ebbb3e26404cdee2c046521daba684 SHA512 b47923f8c912c055251b24f281c00245b0967f497d02ae262c91b4008fe639dce050652232be15c92c8500ca0cdc3a95fb3bad8e36058a01179427615bdd9e1e
-EBUILD needrestart-9999.ebuild 915 BLAKE2B 82577740e01939ca0e0104f3c2be796ae6bdc1e74e0d197057f6672ba9242785e4145ea578c6f236b00f7ab59e61364cbb874837eaa2c99c5c72fbc7752afb7a SHA512 983cfb758f1994a85a68c8a5a45b32218862ede337e7e3443c19133645efa0b691a078a54cc65787acc0608be2a99adfef745aa5f68d6d87f43ffd26a3545d79
+EBUILD needrestart-9999.ebuild 943 BLAKE2B ad240853963c67a4457dc34983fd91e3027fec9aecd6b70b69d7069899bfbaae51bf1ba566a0bbd65fd4fbba5cdb985fb450f8fcff5f4747366b1fff90ed94e8 SHA512 3ab107ca42430b1a91478795d3c6f740b1eface0c70861545c7bfa3a78eac1835fbfbb58c4d2d1f77ecc3ffbb8e961631a514c0c2c6bcc430dec1ed7c5bd0ac7
MISC metadata.xml 361 BLAKE2B 32f60b794e1017b1b358c91737d3117fcca6e90b52b6b0dc611488262db98966ac2856341b7ba726dd167ca6f63bbb5b6165ac4d066ea49066c1b771447266d5 SHA512 4f21f03e0462da778f7b85ada6f1e8c4fb4f5d2e7ca8d227b0baebbb5922f06a6e3baae21e8bfc33d20bd33ddcbd9fec4cc2eb1711b3f8d8d8bd52b104cd5353
diff --git a/app-admin/needrestart/needrestart-3.6-r1.ebuild b/app-admin/needrestart/needrestart-3.6-r1.ebuild
new file mode 100644
index 000000000000..d530994f324f
--- /dev/null
+++ b/app-admin/needrestart/needrestart-3.6-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/liske/${PN}.git"
+ inherit git-r3
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/liske/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Restart daemons after library updates"
+HOMEPAGE="https://fiasko-nw.net/~thomas/tag/needrestart.html https://github.com/liske/needrestart"
+IUSE="systemd"
+SLOT="0"
+LICENSE="GPL-2+"
+
+RDEPEND="
+ >=sys-apps/sed-4.2.2
+ dev-lang/perl:=
+ dev-perl/libintl-perl
+ dev-perl/Module-Find
+ dev-perl/Module-ScanDeps
+ dev-perl/Proc-ProcessTable
+ dev-perl/Sort-Naturally
+ dev-perl/TermReadKey
+ !systemd? ( sys-apps/init-system-helpers )
+ amd64? ( sys-apps/iucode_tool )
+ x86? ( sys-apps/iucode_tool )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+src_install() {
+ default
+ doman man/*.1
+ dodoc -r ex
+}
diff --git a/app-admin/needrestart/needrestart-9999.ebuild b/app-admin/needrestart/needrestart-9999.ebuild
index c773506fddc2..d530994f324f 100644
--- a/app-admin/needrestart/needrestart-9999.ebuild
+++ b/app-admin/needrestart/needrestart-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ fi
DESCRIPTION="Restart daemons after library updates"
HOMEPAGE="https://fiasko-nw.net/~thomas/tag/needrestart.html https://github.com/liske/needrestart"
-
+IUSE="systemd"
SLOT="0"
LICENSE="GPL-2+"
@@ -27,7 +27,7 @@ RDEPEND="
dev-perl/Proc-ProcessTable
dev-perl/Sort-Naturally
dev-perl/TermReadKey
- sys-apps/init-system-helpers
+ !systemd? ( sys-apps/init-system-helpers )
amd64? ( sys-apps/iucode_tool )
x86? ( sys-apps/iucode_tool )
"
diff --git a/app-admin/opentofu/Manifest b/app-admin/opentofu/Manifest
index 8f7d1db6a765..227dc5716323 100644
--- a/app-admin/opentofu/Manifest
+++ b/app-admin/opentofu/Manifest
@@ -4,7 +4,10 @@ DIST opentofu-1.6.1-deps.tar.xz 332000152 BLAKE2B bfa5bee3c7ba8cc79cd8f81137fb61
DIST opentofu-1.6.1.tar.gz 3709010 BLAKE2B 3d172a4228ff10608dc74da6980eda38ec9afa13ac4bbfeb4ae3fb3142af81fc30988a99fea01ee7988b7ad057efbe1b270b4b880e4152ec3d87939f29ae8614 SHA512 6d98e5f03340853ad3f516ad890fe297c4239c03c0c5d4b0e7efc490b734ce2948bbd3ee5d1375d9eade2ea4a6ef71dbb22a5dd48fc81df5a9440ce73090a92e
DIST opentofu-1.6.2-deps.tar.xz 106556484 BLAKE2B fe6ed9507aa3589e34f8c3189d6ee03044b6397a650663c9746c94e45066dbc6e15529f9b4ed3c57649083580a7589596c0b710fdcf0ec832816e76d5137607e SHA512 d8c2e66ab9254d0031aa8fd7dc6fb0ef1aa748282a0b7d9d277398c2f50bceb097b52389a19b70c67d5d0abba9ef289f3d19a786436f16f7549b293bf6b46a48
DIST opentofu-1.6.2.tar.gz 3708735 BLAKE2B 07c48de78e5510c87413447bf2393ee3e93a91ea562a28849e9db6342eccb7b85745cea0aaa3d8e3861a10127905f4b3614b77863b62a21a0a8c8f5163afac22 SHA512 25fac0e6837f2d125d35f780c3091139819a00ae3f96c2e62a1c3c544e425a60c9880c84b4e1aa6727771c5523c81e8dbab38d5151b854bbc470d7819746567c
+DIST opentofu-1.7.1-deps.tar.xz 107794272 BLAKE2B cf06be88cdfe1e2b12d9f5b6c3576bb5d5fab9a05041fa60ad98a094778ab937efb5d2cc0f535f6212ed233188a4c620cc4ac80b5f58306b2dc92399d138c8b1 SHA512 d9e950cf196b93d75211593b372ecf46a6933f05a653e63c60bb1813530ddf39edce5236f1dcdc815812fbbe2b7721c237ca0cc36f3fcded523e1d213ba7ed7f
+DIST opentofu-1.7.1.tar.gz 3890267 BLAKE2B c82bd4a99eb904a2dddc1c38c7a67680b3a51eb9a4a23ff618d038c4b467c7666a9801c7fb205d2f93b60ec8137a28b193347c0be43357a7397a0d98b8e1cf06 SHA512 11573449cf73e44352124463bb2dfe890688fc0bb1a232fb57a16872612c562e0fe08ed926635fc21063118d83a120febd156073c23d8dc3294e00035c660ad6
EBUILD opentofu-1.6.0.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.6.1.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.6.2.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
+EBUILD opentofu-1.7.1.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
MISC metadata.xml 417 BLAKE2B 82486cb8f3504862ce7658f0d54141e559a952874ec92697e7bd03f7f7a1e4a3df90a20158c8be6b4bb42d9c4e9de49c27754589e909a4e32ec52950a3d169bd SHA512 2a347bf9bd1be70d9e1853ae802091fcbea299a15fe4c170aacba005e7528c3b9c784d2b34bfff015f1b531648e6fb2e73ff3fb9d158df0991b3348a91f74eb6
diff --git a/app-admin/opentofu/opentofu-1.7.1.ebuild b/app-admin/opentofu/opentofu-1.7.1.ebuild
new file mode 100644
index 000000000000..544c2e0b5f16
--- /dev/null
+++ b/app-admin/opentofu/opentofu-1.7.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="The open source infrastructure as code tool"
+HOMEPAGE="https://www.opentofu.org/"
+SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-go/gox"
+
+RESTRICT="test"
+
+DOCS=( {README,CHANGELOG}.md )
+
+src_compile() {
+ export CGO_ENABLED=0
+ gox \
+ -os=$(go env GOOS) \
+ -arch=$(go env GOARCH) \
+ -output bin/tofu \
+ -verbose \
+ ./cmd/tofu || die
+}
+
+src_install() {
+ dobin bin/*
+ einstalldocs
+}
+
+pkg_postinst() {
+ elog "If you would like to install shell completions please run:"
+ elog " tofu -install-autocomplete"
+}