diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32034 -> 32034 bytes | |||
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.33.41.ebuild | 90 | ||||
-rw-r--r-- | app-admin/bitwarden-desktop-bin/Manifest | 4 | ||||
-rw-r--r-- | app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.7.1.ebuild (renamed from app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.6.0.ebuild) | 0 | ||||
-rw-r--r-- | app-admin/consul/Manifest | 6 | ||||
-rw-r--r-- | app-admin/consul/consul-1.18.2.ebuild | 61 | ||||
-rw-r--r-- | app-admin/consul/consul-1.19.1.ebuild | 61 | ||||
-rw-r--r-- | app-admin/needrestart/Manifest | 4 | ||||
-rw-r--r-- | app-admin/needrestart/needrestart-3.7.ebuild | 41 | ||||
-rw-r--r-- | app-admin/needrestart/needrestart-9999.ebuild | 5 | ||||
-rw-r--r-- | app-admin/vault/Manifest | 4 | ||||
-rw-r--r-- | app-admin/vault/vault-1.16.3.ebuild | 87 |
13 files changed, 359 insertions, 6 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex ebfd7cf8d3f1..2c3cff43427f 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index a529a1fabded..abf89cbf4f01 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,7 +1,9 @@ DIST aws-cli-1.33.31.gh.tar.gz 2765982 BLAKE2B 424422520aada1a5ab21843e61d5027937c1cd306936740ce6fe80ac8beadc5c5885727d716a7efe1890a3a3d7138710cb4b43a04d5293593d8b6fbf94e83ff9 SHA512 d7f860cb1b37c32a05550a43ff4c7e691f90ca8753fead9e1f2590556e589d6748ba163408ffbc7ecb1b1414a9df3590ffd5962aaf2acc6e49fff60a101034cb DIST aws-cli-1.33.35.gh.tar.gz 2768498 BLAKE2B d925c1a63a73bda27711d2f930d0832ea17e012d62d634330cef16f1962cbcbeb9149a5ef14765af04bfbc4b49c6160a319e02a3eab475473a2fe46ab27da305 SHA512 5804947acc002cd9f53b94865542d4f4708116a3a31dafd6a217e84d2222ff973b6c6af0237272d52d9d15e0eaf7f243ef577c1a1b3c2f18e845857886d9f2c1 DIST aws-cli-1.33.40.gh.tar.gz 2769444 BLAKE2B a26e26cb4694460e36fe2d9730092db33aff74e436642f3de5f94dc2fcbb594bb1ef2db425584359f50d0ae37be8be6034a0e722968a0ea4179e888b2f23be7c SHA512 d19d762a1ca0b02f3076d9241be19755f74c2b228cdb258f873d73dc91f25730b40e4a82bed3cb77e94b30ba34e1260629a3af6e7a7b7df108522d21103f34bb +DIST aws-cli-1.33.41.gh.tar.gz 2769886 BLAKE2B fa6ea3d7349b1fb5a7ed4e0d8a4b2dcec717d97c471976ee57637552939e0af5b6ed2d7577a73dedb51a2dce634920ee7413178390047e58d00a5d48592fbcbf SHA512 82efb569286f5dd64b6d63b177224eab389713b9a6b81c928b471df91d65bac70fa9931de49f3f776c4660f79c614dbdc8b5d35d77f85511e42b5eb1cf5c8d6e EBUILD awscli-1.33.31.ebuild 3048 BLAKE2B 4002d52c91dbcd135f95485348470378b344c96349c05b8cf1424900a18cbe82683c050253b47d845dcf0d4373ed97946287f1e403e5d2a7e0b2646449257a4b SHA512 ec71ff0fdf28ff024763abb7e7f603521b109f027cb56c2806ab6bf50c71a02947cbf067d112451093df8ae6c786585effe20c5c980138d7a8149219d59edfff EBUILD awscli-1.33.35.ebuild 3055 BLAKE2B 442cc5222134bd9b622bc3f9f35b1882cc0ff4c8cfe9b5d1a5cae7fe09f1d7036d057ab1e231f5cb29370aaabea11be300ace2fbe634cb38c819b401a728afdb SHA512 00175b451b0c44db1b3e57fa56f4bd845c6b91a5409412e8b7580eaedea5c2c17e4841ad6fb1ae6d65cf94d302259493a961e8e1c4f30cf928be229bb8e0486a EBUILD awscli-1.33.40.ebuild 3055 BLAKE2B 442cc5222134bd9b622bc3f9f35b1882cc0ff4c8cfe9b5d1a5cae7fe09f1d7036d057ab1e231f5cb29370aaabea11be300ace2fbe634cb38c819b401a728afdb SHA512 00175b451b0c44db1b3e57fa56f4bd845c6b91a5409412e8b7580eaedea5c2c17e4841ad6fb1ae6d65cf94d302259493a961e8e1c4f30cf928be229bb8e0486a +EBUILD awscli-1.33.41.ebuild 3055 BLAKE2B 442cc5222134bd9b622bc3f9f35b1882cc0ff4c8cfe9b5d1a5cae7fe09f1d7036d057ab1e231f5cb29370aaabea11be300ace2fbe634cb38c819b401a728afdb SHA512 00175b451b0c44db1b3e57fa56f4bd845c6b91a5409412e8b7580eaedea5c2c17e4841ad6fb1ae6d65cf94d302259493a961e8e1c4f30cf928be229bb8e0486a MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.33.41.ebuild b/app-admin/awscli/awscli-1.33.41.ebuild new file mode 100644 index 000000000000..c212ce9cac21 --- /dev/null +++ b/app-admin/awscli/awscli-1.33.41.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit bash-completion-r1 distutils-r1 + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# botocore is x.(y+1).(z+118), sigh +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1 )).$(( $(ver_cut 3-) + 118 ))" +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local serial_tests=( + tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success + tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success} + tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking + tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows + tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking + tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success + tests/unit/customizations/test_sessionmanager.py + tests/unit/test_compat.py::TestIgnoreUserSignals + tests/unit/test_help.py + tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + local EPYTEST_DESELECT=( "${serial_tests[@]}" ) + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + + insinto /usr/share/zsh/site-functions + newins bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +} diff --git a/app-admin/bitwarden-desktop-bin/Manifest b/app-admin/bitwarden-desktop-bin/Manifest index e5c74e31c3d0..bd2c214cb9a0 100644 --- a/app-admin/bitwarden-desktop-bin/Manifest +++ b/app-admin/bitwarden-desktop-bin/Manifest @@ -1,5 +1,5 @@ -DIST Bitwarden-2024.6.0-amd64.deb 80663126 BLAKE2B 70855af5b213fee1c8d64f59ba22bd122031070b1fc88d688b2554b223d5b955026c81d54316d30f8b004c0ce098ba493a4deebd93061305184b0aea939df1d2 SHA512 8c88464f0e2281ff44d91ee0da85caaa6f99d3e7d37eab4961c4bd67eaf462a73a0e40d50cc11061d90468d360d42bf5194435e3f11cf71d824f26f69860e573 DIST Bitwarden-2024.6.4-amd64.deb 79772094 BLAKE2B 4cb5b0f0e96f27176327b531cc259518216e7ded24d7294df58c045544f4421713791db2dbb50a49679fb6ec2d56450f830bdf1bece0ec9972e4fb0af39d3236 SHA512 0d118caa5940ec2c970bf814f879dc997750278c0b3d4b369c2b3439798447d3c8ea5c6312d97ed4efc427167eedae866837b8f96ddd89b173a22b9073d0b4a5 -EBUILD bitwarden-desktop-bin-2024.6.0.ebuild 1689 BLAKE2B 80d621cf295463043cbf79341d07dbb18f8e659bd866901ad6c208495dfc6e84904aa96a104ebb710183a6355412c66918a59e9065fa3edbc4e148950ce109b6 SHA512 378dd06d8917e0f61dc9d55ac9bb02ebd8951783dcfce56d0b502fa766208451e6abf2e111d6bd83de3ff8ec7b4e8b506337aecbd3e8a41753a65d39e4692180 +DIST Bitwarden-2024.7.1-amd64.deb 81805416 BLAKE2B 8d3a02e0fb86ecf42f47815c39dd4510fea535694f8764e91bdbe260123e2e39600ff70a45b741069bed8fbf497270b74c13c6996309d1dfa72c10d1f0a70614 SHA512 bfdf9574ee3b3ab56592fb8b20d39991315eff096b875e8d077ec7a08b54a67b3539936c1ed64df2e5ee5aa99942916073038795407f69d563734a01dca3cc87 EBUILD bitwarden-desktop-bin-2024.6.4.ebuild 1689 BLAKE2B 80d621cf295463043cbf79341d07dbb18f8e659bd866901ad6c208495dfc6e84904aa96a104ebb710183a6355412c66918a59e9065fa3edbc4e148950ce109b6 SHA512 378dd06d8917e0f61dc9d55ac9bb02ebd8951783dcfce56d0b502fa766208451e6abf2e111d6bd83de3ff8ec7b4e8b506337aecbd3e8a41753a65d39e4692180 +EBUILD bitwarden-desktop-bin-2024.7.1.ebuild 1689 BLAKE2B 80d621cf295463043cbf79341d07dbb18f8e659bd866901ad6c208495dfc6e84904aa96a104ebb710183a6355412c66918a59e9065fa3edbc4e148950ce109b6 SHA512 378dd06d8917e0f61dc9d55ac9bb02ebd8951783dcfce56d0b502fa766208451e6abf2e111d6bd83de3ff8ec7b4e8b506337aecbd3e8a41753a65d39e4692180 MISC metadata.xml 323 BLAKE2B 3f1affe8fb7b242a0ea072faaebcccd37bf005ee68c7519857701c37fe6a11b0dffe1692af141b54218367ee8c8361cb0e6608621453d424d52b061b569563d1 SHA512 95ab28dcb844ac6d2ba4573699e86a4c303aa46b4c2eddf1273ecf37a3bbb751b9a478b535fbdcbc12424bc4f826b4b0781cfb8079e5563ed41f12ce68b35908 diff --git a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.6.0.ebuild b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.7.1.ebuild index a98f129ada65..a98f129ada65 100644 --- a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.6.0.ebuild +++ b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.7.1.ebuild diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest index c8320bcbb02c..70eb4c8d43b3 100644 --- a/app-admin/consul/Manifest +++ b/app-admin/consul/Manifest @@ -10,7 +10,13 @@ DIST consul-1.15.11.tar.gz 28951114 BLAKE2B 02378088d1bbc4313ec62d644b583c328bc9 DIST consul-1.15.3-vendor.tar.gz 43434721 BLAKE2B 7595c98cdecf67e9fb412d8fea1d790dc6b1c29f7bc427e1d0872045a05f8873dc6107f196cea04fe0a2f2553d4fbb1f8d501e5e107b2bea3ae841e5d94eda64 SHA512 b69e3a7c1ebb01c7a64f2c6167e63e8a530b81be9aad8b591d0a71f512f5157ba9a564b46f9effe52a5abd3ae61732e7af10c5ba002110f745eb3d94ebcec256 DIST consul-1.18.1-deps.tar.xz 10161908 BLAKE2B da7e3e63470f082bf0f1e92252a2d30cce90c4268e5ad3d180ab4bfed6601e92e26e0a108fe7477a1d596cf44114e97551712bce4c2b3d13c06c3fae0fa948e5 SHA512 f0d3961de4c38052209d79817ba6570fc43f3b9c472c959d591cc8fd23029f32070a98c59c70c02f56b80c214ae60d4a2711ca2ec31472758209538ba00ef786 DIST consul-1.18.1.tar.gz 34424463 BLAKE2B 1c205471fa5d2500e4421eae37159dc3a3f8ebb46ab50266440302ca814834d39fddf0c27f4da5e78a103a2d7411eebf74bd256153b3954c6bc3c384de660a2f SHA512 023ee6f2dff82343f9c3382b531c8fa7f032e1820e09d18f67201c8ae839dfc89b145a8197be2f9c241709541a915a073dd117f5523e17ba0cdaa665bffc2f4c +DIST consul-1.18.2-deps.tar.xz 10054328 BLAKE2B ed8dd4188f692b9ea0104eccc9d32668a7d14b85937be1fb4c1fbae584dc7336c1247134e43918a028994a82d003e12e69072a002693194e39b83bac8b51323d SHA512 1f80c5c3af228d939366306b7b9f4cada03d9ca430f3bdf666652a2af71cbee65f4baa68f8c6b11cb474a10b335255320c600bf3663ab2a7167b43dc9d25407a +DIST consul-1.18.2.tar.gz 34440848 BLAKE2B c1b383c088db069a5acc4b09929f0e129be6eb35b2ab1177bd78638687d1274ded75111adc0c4a1511fa10d95e0a6218d2a7ae0b8c4692afabba21392a4d2a5e SHA512 e02296199bc8e53549ef4b7e63b8392c2ddb3d78a1ec5ceee2ea08acb1b7a78b25c383172a6abf8be07717b3c8462297bdf594327784854788f902e938509931 +DIST consul-1.19.1-deps.tar.xz 10102748 BLAKE2B 9d121764915ff191e660450007adaab4a2b2f6ee3dbd7993a32a9d0f105584aff1940f4ebdde1811dcaedcd253df77f2227e6ddb36b165657532f1d9693b716e SHA512 3981ce7dfeaf0b8bf83342edfe6cb3f01112af60b7ec155ee6df355e9f7e7a6d928a34d5be299a31dafb8bc87d369882d1ef80acce72dd53a071dc80ba37b243 +DIST consul-1.19.1.tar.gz 35683711 BLAKE2B 47504c91413388ef3439adc848af19af2e344944845e0a275fb9b5e5df81b13d86002f4df421a467a82b194b738422e90691b281c37ff7807093905eba95ff10 SHA512 d5912b5340e49f38823f265c0a90f09a20d6b7d8920d6d1bcce96ee556e7edf2fca0441afe4b2f65cc50b3c228479ef6babc917c5c0f17fa521c136a5147c899 EBUILD consul-1.15.11.ebuild 1596 BLAKE2B 042a8ef2dfbd403ad46515f2bc408a0d2209faf44aee9f6638d0e44ba992fa106db11c09dcea395ab275a77c0f4727c7d1c1263469901c6c43612775351fb5e7 SHA512 06bd16ea9b8425fcd81b6505943cb799a08b096d086c71bc7841bccb9702d6f8cc3f04255167ca5cecdc0009d29cc9fe5e81e0de606f6509f89bbd04e0316cbd EBUILD consul-1.15.3.ebuild 1528 BLAKE2B 2891bd50fc5724c581c1a22744facad77fad5245448e9e23452cefc0107093732917c35c608fadbe305f100e04b363d85160de181b479b38195dce3b4dbedc0c SHA512 d2b62e8516431314efd38428eafa50bd6a7048db64684b89c1f16073b1f5871dc66d27c3d8d78750b38f3248a6814112ea98e4a434384159df92948fd6b2083d EBUILD consul-1.18.1.ebuild 1573 BLAKE2B cd959989546b1b7c133a1e7a63e8e0e7c005b73c5823474513712ae4fc4ca3e3d8eedba2cccb55823fe741bc04de09f3afabe773b868cbb91bf89a16c74de16d SHA512 d1a1939d8653a952c80fe3f4191f86db65992728bc470ccfab106cba4a31c63cd0d20299fedb4a2ebb1237ea7f8ac2e7149bf731c0f8050f81f5da2d4ea27d5a +EBUILD consul-1.18.2.ebuild 1597 BLAKE2B f9a4c7afc46daf60b808b5d2f09dc59b7620de8d9100ac6e55833da4010d10cda3e8a4cb48cfebef7e445fd753acb2582d60d48e82d29b224c6745eda8a1ce68 SHA512 e5e37b20f4b674559947a25697918a6987a1ee007033f71ebd61dc0ce1477543d81868cd074dc4a4288dea320dbf898608eb24cc2c0d6bd2bda2b5f3febfb45c +EBUILD consul-1.19.1.ebuild 1651 BLAKE2B 6a5e0b1b2df67b5346f170d161dd6101cf7ccaa5277c5d9af58ea8bcd77e016dfd0a907b98425be29ce80225026563e6b88904470ed810361c3c5dcb607fe2d2 SHA512 4239a8b6b2b2a832345c85690029d773591ddd56910467e6e187bdea37a984d77e10ed06bde028bc365dde3ce5dccbf08d3a17cc404cfc8ae78d02fad985f070 MISC metadata.xml 392 BLAKE2B 4995d973307987bb70802d4328dbb1d5e052683a2e1900912b40be5e345969740b1df9e8e1b3bcbf76fb90066ed43ac5ce91e8e11a0ad19c9d587c7204f45419 SHA512 92d4589b5294df0ddcee6fbafa5db5288b3e892dbec6d84bf0e53beb2b0a30e385f9166c536462e51aeaa9ee8799dd1ae3634b7b13e452e3059ba2853c5b77f1 diff --git a/app-admin/consul/consul-1.18.2.ebuild b/app-admin/consul/consul-1.18.2.ebuild new file mode 100644 index 000000000000..bdcf55a69a5d --- /dev/null +++ b/app-admin/consul/consul-1.18.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd + +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="https://www.consul.io" +GIT_COMMIT="9fc827caf808b6ef1dc8c0748c3c4dce95d5b33a" +GIT_DATE="2024-05-16T19:10:00Z" + +SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" +LICENSE="BUSL-1.1 MPL-2.0" +LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +RESTRICT="test" + +BDEPEND="dev-go/gox" +COMMON_DEPEND=" + acct-group/consul + acct-user/consul" + DEPEND="${COMMON_DEPEND}" + RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + default + sed -e "s|^GIT_DATE=.*|GIT_DATE=${GIT_DATE}|" -i Makefile || die +} + +src_compile() { + if use x86; then + #924629 pie breaks build on x86 + GOFLAGS=${GOFLAGS//-buildmode=pie} + fi + # The dev target sets causes build.sh to set appropriate XC_OS + # and XC_ARCH, and skips generation of an unused zip file, + # avoiding a dependency on app-arch/zip. + GIT_DESCRIBE="v${PV}" \ + GIT_DIRTY="" \ + GIT_COMMIT="${GIT_COMMIT}" \ + emake dev-build +} + +src_install() { + dobin bin/consul + + keepdir /etc/consul.d + insinto /etc/consul.d + doins "${FILESDIR}/"*.json.example + + keepdir /var/log/consul + fowners consul:consul /var/log/consul + + newinitd "${FILESDIR}/consul.initd" "${PN}" + newconfd "${FILESDIR}/consul.confd" "${PN}" + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + systemd_dounit "${FILESDIR}/consul.service" +} diff --git a/app-admin/consul/consul-1.19.1.ebuild b/app-admin/consul/consul-1.19.1.ebuild new file mode 100644 index 000000000000..b635af45d4a7 --- /dev/null +++ b/app-admin/consul/consul-1.19.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd + +DESCRIPTION="A tool for service discovery, monitoring and configuration" +HOMEPAGE="https://www.consul.io" +GIT_COMMIT="9f62fb4113d286a5642dff9da0138aa3bbef05da" +GIT_DATE="2024-07-11T14:47:27Z" # source build-support/functions/10-util.sh; git_date + +SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" +LICENSE="BUSL-1.1 MPL-2.0" +LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +RESTRICT="test" + +BDEPEND="dev-go/gox" +COMMON_DEPEND=" + acct-group/consul + acct-user/consul" + DEPEND="${COMMON_DEPEND}" + RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + default + sed -e "s|^GIT_DATE=.*|GIT_DATE=${GIT_DATE}|" -i Makefile || die +} + +src_compile() { + if use x86; then + #924629 pie breaks build on x86 + GOFLAGS=${GOFLAGS//-buildmode=pie} + fi + # The dev target sets causes build.sh to set appropriate XC_OS + # and XC_ARCH, and skips generation of an unused zip file, + # avoiding a dependency on app-arch/zip. + GIT_DESCRIBE="v${PV}" \ + GIT_DIRTY="" \ + GIT_COMMIT="${GIT_COMMIT}" \ + emake dev-build +} + +src_install() { + dobin bin/consul + + keepdir /etc/consul.d + insinto /etc/consul.d + doins "${FILESDIR}/"*.json.example + + keepdir /var/log/consul + fowners consul:consul /var/log/consul + + newinitd "${FILESDIR}/consul.initd" "${PN}" + newconfd "${FILESDIR}/consul.confd" "${PN}" + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + systemd_dounit "${FILESDIR}/consul.service" +} diff --git a/app-admin/needrestart/Manifest b/app-admin/needrestart/Manifest index 484a3000b9e5..e65d11f6f005 100644 --- a/app-admin/needrestart/Manifest +++ b/app-admin/needrestart/Manifest @@ -1,5 +1,7 @@ DIST needrestart-3.6.tar.gz 71159 BLAKE2B 76994ef0e77a4db0532dca2e17990097b2314f912fc3c32e67643eca7c44fff9611a42b49abd55f959a0e959d6ea69cfef36ad9008c86debfd125b64bdc673b5 SHA512 5c0f2f427c93e6f621fc1727f6abf42651e184e168b3f720708ac73b425bc7dfb94622c6cc2afad1161e3ffbfd36500eb99c375f2f5a525c9cd10d7142f1e365 +DIST needrestart-3.7.tar.gz 74515 BLAKE2B 920076d4a0bdfff1e8adbc0d158565692ba78a64d36b559ec8afe39ae93f6adea4e7ab853b44f52e8500e51f5eef562cd73cc5466de41c7deeb22452d8615e1e SHA512 bb88bf2be2e56a58ea4114f7285b64cb2897cd5d187551018fc3126d9560e150e5938693a824d54a39cc9185c55c9dc5cddece71b24b7ee99a092ad829a2ba49 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 943 BLAKE2B ad240853963c67a4457dc34983fd91e3027fec9aecd6b70b69d7069899bfbaae51bf1ba566a0bbd65fd4fbba5cdb985fb450f8fcff5f4747366b1fff90ed94e8 SHA512 3ab107ca42430b1a91478795d3c6f740b1eface0c70861545c7bfa3a78eac1835fbfbb58c4d2d1f77ecc3ffbb8e961631a514c0c2c6bcc430dec1ed7c5bd0ac7 +EBUILD needrestart-3.7.ebuild 931 BLAKE2B fb2e3a4f4b67058292e67c0b4127e78b94de5160d74acac947afdb03f4c4f89e31a37ffd2d77a04c147ba64c1f31b6489498d6cff7e6e388906f1f079a977b1d SHA512 2ef680e55f8321a5a9cf678e506e81f767de874153d9f310f8577c81bb65b0cef8e8e7be719a3e38b702df4b83cffea3ebbce5156cf6f43dd61850160ba04742 +EBUILD needrestart-9999.ebuild 931 BLAKE2B fb2e3a4f4b67058292e67c0b4127e78b94de5160d74acac947afdb03f4c4f89e31a37ffd2d77a04c147ba64c1f31b6489498d6cff7e6e388906f1f079a977b1d SHA512 2ef680e55f8321a5a9cf678e506e81f767de874153d9f310f8577c81bb65b0cef8e8e7be719a3e38b702df4b83cffea3ebbce5156cf6f43dd61850160ba04742 MISC metadata.xml 361 BLAKE2B 32f60b794e1017b1b358c91737d3117fcca6e90b52b6b0dc611488262db98966ac2856341b7ba726dd167ca6f63bbb5b6165ac4d066ea49066c1b771447266d5 SHA512 4f21f03e0462da778f7b85ada6f1e8c4fb4f5d2e7ca8d227b0baebbb5922f06a6e3baae21e8bfc33d20bd33ddcbd9fec4cc2eb1711b3f8d8d8bd52b104cd5353 diff --git a/app-admin/needrestart/needrestart-3.7.ebuild b/app-admin/needrestart/needrestart-3.7.ebuild new file mode 100644 index 000000000000..883d2efdf3d0 --- /dev/null +++ b/app-admin/needrestart/needrestart-3.7.ebuild @@ -0,0 +1,41 @@ +# 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 +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" +LICENSE="GPL-2+" +SLOT="0" +IUSE="systemd" + +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 d530994f324f..883d2efdf3d0 100644 --- a/app-admin/needrestart/needrestart-9999.ebuild +++ b/app-admin/needrestart/needrestart-9999.ebuild @@ -6,7 +6,6 @@ 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" @@ -14,9 +13,9 @@ 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+" +SLOT="0" +IUSE="systemd" RDEPEND=" >=sys-apps/sed-4.2.2 diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest index 6f3c6bb67742..fb6ab606a23f 100644 --- a/app-admin/vault/Manifest +++ b/app-admin/vault/Manifest @@ -14,8 +14,12 @@ DIST vault-1.15.6.tar.gz 31923253 BLAKE2B 8a4e7b9d8d6753b6f717c6699b2d4822cecff2 DIST vault-1.16.1-deps.tar.xz 21476528 BLAKE2B 2ba0bd2165ce41bfae6fb56a0ff97fe4ed30ac5e16f30ceba14d618e30851b9bb31a964cf5035cd4089baf87c2cda5acd17558bb363acbbcc371ddf47b453c73 SHA512 a0262f421eacfc729a0bc98c137a580d3ca7b384b5b7a8e3bb81cc27b0791b81fdb9005ff9721159cccaf49f2ec6e86dafe7f4e2dde4b5c8d806a8bf1c68de2c DIST vault-1.16.1-webui.tar.xz 2213524 BLAKE2B 40c0811c84c849beba934f110afa21fe1ebe60f9a01750fcb4c6442f6a8ef28babd4c32157e6bb3eaf7545b683a81122f445a1a0d717cf7442a678e87206f67a SHA512 ca25ffaa85445070310fad9d5a05d6ff477729d64707a4da8bc433781d7f2283e18e680a9a06d6aa37496a21b148ac3bdc5eb3f475246ee3fe3cf4a8db096ffb DIST vault-1.16.1.tar.gz 32997180 BLAKE2B e8c6ccf19ce2c48eee1b4b7544c6d164bd98be3d06a08397b06049bbb6aed9304df592bcb5103e943a629aca4c2e83f661b16469e3353c022e3ca552fa1afedb SHA512 e970004343abb2792aeea4db55a002d1c18701d309caab4a49e3f387028083b70dfa67b7ff34b60c5d4d34ffa8ac3bef308b7218a0344dffde3b000b0e5d43a9 +DIST vault-1.16.3-deps.tar.xz 21492052 BLAKE2B 5800105ab4f005c9569b4fd9eee567c706d2c0e1d0fbb937af6e3348f06f2a6e8ea7c159a738d04c266d577a5b1e7419735ffae410a106aac4b65740f55c7979 SHA512 9e4d515dad7862f56fef8822852b6989b52b494a786a38b74ce85af60b3f562738f3af5bf1497e5af0c07b42aaff407c1d39c3bd3f18d1f646998b7ac0b100a2 +DIST vault-1.16.3-webui.tar.xz 2180172 BLAKE2B b1d8d59c462f7cd60ec5ef5878320591290c1655d1b1727508541faf45e5fe3c6085ff8fb66b3b82d95ca74cc1ee800fed09f0db7eb98580f7cc135a3eebfe6e SHA512 61ead17ceed96f7dda7439e292d0c0497d65c8938491f70927064ed647276ae41ffa35777e2a119dee116233baca9575b82e3e53cbeb9b622eb34f1563f4e164 +DIST vault-1.16.3.tar.gz 33353350 BLAKE2B b185b9ad6b1e30da4ca2c2e9425a606e19fbda0b4ac529fb8410d2bff5a215eafe62d12c5c9988423ba7185a0456b7a5e364a466abe00ba9e45b57d59fd115d8 SHA512 b68189b978155168c42bac3e867abc44fcd4b6e9f680bd6951b99208536f1225013e8d336711ea17b9700b0ec75758dd2678e583811918e278849f306ddc9c2e EBUILD vault-1.14.5.ebuild 2095 BLAKE2B 9381f523b1b70fff142571c5e61627cf211c60b3b5f061b1a7a3dbaa26b0531fc86f430370f5eb48a2a65881a19a1f3142b5dbe21311bc51d9d51bb5163c7227 SHA512 dd949037626cec46c7cc35e3811befb80b78d2a7cba1d91d36d8878f3dea50188a7fb26268e0f26162cfa6206fcd35db8016a6dc1ebf266ed3c65847218ae0dd EBUILD vault-1.14.9.ebuild 2094 BLAKE2B 3472fc7a0868be220400af480b23a0f774599224d7acbe89417af075ca7ec2d20fcbe62eaec295216ab3db10d5650eeaedece2dc303a06e15dcbf16079ea5648 SHA512 2b267dcab689aaf9d3116c2bcdfe011efb5ad5ac3200a6818d2f31c1834453700dfa7dea6a95ebe7a878557aa5185676ad59135660d3a3fc56271595e355d874 EBUILD vault-1.15.6.ebuild 2216 BLAKE2B 95e6fa34e25f679998994fe02378d21f870e31e1f1ceac250eebcd219ff459bae217af95fca55544aa3b2934495635eaeeea4493ab09b31c29fa5f6ae6d11cba SHA512 269544c6cdfe28d330b3c0d7924afbb25faf721353cdc4d95b2d4e77ef36b15e26e0b838a9f28e37da0ba1af756c74887455edecae23a7fa539bc9cce9eb5205 EBUILD vault-1.16.1.ebuild 2246 BLAKE2B 109a10163de80fb8bec933dd2ac5767a414dd5727fea8ad7b3d400f8157468d4c32b709e6728a0db354bb24000ab2cbbd030a525809d2201f41f15e17a05825d SHA512 3a3cfd01cf461c5ad4cc3f0f4ebed94d8423ace283d0b0137005fa29068a0dd3dd66744fabfedac6a93ebaaeb9b7c6dad65c02b9006cbb1ce0e68c95eb78c995 +EBUILD vault-1.16.3.ebuild 2243 BLAKE2B 21a7a98f4fb91b6da0480720f5339e04acc729585cc82389e3c602fd5326a4eeb1383a35fbe3458db7fe060ba990af62ae966e0ff185c73a928eaac98b79c96a SHA512 5d8abce718bb9a05566668b6991ee4e22e7e5df69b160659edcd6ee39a912b441ffe4a3afe0d68adc2841ee6858f316c6b543e655e99bbaff09a29addd9514b4 MISC metadata.xml 372 BLAKE2B 8e18e03d14e17a6a5d8c6b7bdb0d87ef6aec8530e203edc579a66b0c6ba0809bbddf4d68943281483ed841daa18a87ee13bed427162e40cd6c2fe3c45b0ec4fb SHA512 07bd140cd5152ccf7e9c39a0ad45a9361b56306b773176155fceaee3dbfa4645d74dba5a21a131f0221419aed5a9aeed4a5aef7c4eec2750c803e11c96621b02 diff --git a/app-admin/vault/vault-1.16.3.ebuild b/app-admin/vault/vault-1.16.3.ebuild new file mode 100644 index 000000000000..2ad80d89998d --- /dev/null +++ b/app-admin/vault/vault-1.16.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module systemd + +DESCRIPTION="A tool for managing secrets" +HOMEPAGE="https://vaultproject.io/" + +VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz" +SRC_URI="https://github.com/hashicorp/vault/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" webui? ( https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE} )" +SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" + +LICENSE="BUSL-1.1 MPL-2.0" +LICENSE+=" Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="+webui" + +BDEPEND=" + app-arch/zip + dev-go/enumer + dev-go/gox + >=dev-lang/go-1.21" +COMMON_DEPEND="acct-group/vault + acct-user/vault" + DEPEND="${COMMON_DEPEND}" + RDEPEND="${COMMON_DEPEND}" + +FILECAPS=( + -m 755 'cap_ipc_lock=+ep' usr/bin/${PN} +) + +RESTRICT="test" +PATCHES=("${FILESDIR}/${PN}-1.15.6-stubmaker-outside-git-repo-24678.patch") + +src_unpack() { + default +} + +src_prepare() { + default + # Avoid the need to have a git checkout + sed -e 's:^\(GIT_COMMIT=\).*:\1:' \ + -e 's:^\(GIT_DIRTY=\).*:\1:' \ + -e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \ + -e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \ + -i scripts/build.sh || die + sed -e "/hooks/d" \ + -e 's|^\([[:space:]]*\)goimports .*)|\1true|' \ + -e "s/gofumpt/gofmt/g" \ + -i Makefile || die + if [[ -d "${WORKDIR}/http/web_ui" ]]; then + rm -rf "${S}/http/web_ui" || die + mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" || + die "mv failed" + else + mkdir -p "${S}/http/web_ui" || die + touch "${S}/http/web_ui/no_web_ui" || die + fi +} + +src_compile() { + mkdir "${T}"/bin || die + BUILD_TAGS="$(usex webui ui '')" \ + GOPATH="${T}" \ + XC_ARCH=$(go env GOARCH) \ + XC_OS=$(go env GOOS) \ + XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \ + emake bin +} + +src_install() { + dobin bin/${PN} + dodoc CHANGELOG.md CONTRIBUTING.md README.md + insinto /etc/${PN}.d + doins "${FILESDIR}/"*.json.example + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} |