diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32026 -> 32031 bytes | |||
-rw-r--r-- | app-admin/apache-tools/Manifest | 2 | ||||
-rw-r--r-- | app-admin/apache-tools/apache-tools-2.4.60.ebuild | 113 | ||||
-rw-r--r-- | app-admin/awscli/Manifest | 2 | ||||
-rw-r--r-- | app-admin/awscli/awscli-1.33.19.ebuild | 90 | ||||
-rw-r--r-- | app-admin/hcloud/Manifest | 4 | ||||
-rw-r--r-- | app-admin/hcloud/hcloud-1.44.1.ebuild (renamed from app-admin/hcloud/hcloud-1.44.0.ebuild) | 0 | ||||
-rw-r--r-- | app-admin/keepass/Manifest | 2 | ||||
-rw-r--r-- | app-admin/keepass/keepass-2.57.ebuild | 116 |
9 files changed, 327 insertions, 2 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex 669b763aee14..f383ef349392 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/apache-tools/Manifest b/app-admin/apache-tools/Manifest index 50f60bb134da..eda4f905660d 100644 --- a/app-admin/apache-tools/Manifest +++ b/app-admin/apache-tools/Manifest @@ -4,7 +4,9 @@ AUX apache-tools-2.4.54-no-which.patch 1807 BLAKE2B 27fbe5079f3844645c1e3fe237f4 DIST httpd-2.4.57.tar.bz2 7457022 BLAKE2B b33b51a741acd308ef4d4bdd2444d43eca9db68676fa67ec907eeea7384554f3f9a5608fc43dcf5819498264bbe36f176f30be9809474307642b70720036b88c SHA512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155 DIST httpd-2.4.58.tar.bz2 7485817 BLAKE2B 2105b8fada99f1dda55201ed89ed5326f0edb078d352cbff44f02cde80d129b65b63e07366a9a744ba474be5687fa8d3d2d8ddc64ac914b47166607f3f4a9de2 SHA512 d6e73bf413a507ec16b621ff635e178206207a9e9810ce3944b3dc98d39cde8f225307110167fc9da5822175796c8cb66f98be5b9f0d8b76dcd83a401d39b2c1 DIST httpd-2.4.59.tar.bz2 7503198 BLAKE2B 836e3538a120d71c016149397a4efd61ae6acd8a8fb9d2ce117c7d86209c4b40c0be3c464007891f28c58182e9d40a8793abe9e94e642354492954af91d9878c SHA512 209da0bbac5e2564d4590302515b35495be6402273ff4024aa93e85e44554c95e053201d606383936425a41e1b5b97e6b40055dcbb385eb691a5029a6f3158c2 +DIST httpd-2.4.60.tar.bz2 7508704 BLAKE2B d1b4d2e05edfe8b88f541e6fa8b5db73f37cc349a4037b493e57ae2f2e0bb84f92aad3ad3bc0bdbc454d2677091bbca283ebe752a9335fae6931ec65cc687326 SHA512 c1591389f76699beaa5d32b019729e25f1ed5b828311c82b52f1a4edd5d28b73e697958df384d7628b314521a831dbb0af418bc37cdf031cfe133e53c195d8ad EBUILD apache-tools-2.4.57.ebuild 2660 BLAKE2B e610383768eb40949e65f762eb68ce449aa777aa3fdd39d9c58cee42525422baa74d57b6200d194c4371123a22d9f7469b6340cf28c2ac73acd19b342409f3f9 SHA512 3a234b734543c19ebbf6f6f0616e01ce9dee328493d95a8be7cda9ccc43da4205de6b7979e3c5eddc904717a2309cafef77f50b8ee08803d23d42dc394fccc5b EBUILD apache-tools-2.4.58.ebuild 2660 BLAKE2B e610383768eb40949e65f762eb68ce449aa777aa3fdd39d9c58cee42525422baa74d57b6200d194c4371123a22d9f7469b6340cf28c2ac73acd19b342409f3f9 SHA512 3a234b734543c19ebbf6f6f0616e01ce9dee328493d95a8be7cda9ccc43da4205de6b7979e3c5eddc904717a2309cafef77f50b8ee08803d23d42dc394fccc5b EBUILD apache-tools-2.4.59.ebuild 2660 BLAKE2B e610383768eb40949e65f762eb68ce449aa777aa3fdd39d9c58cee42525422baa74d57b6200d194c4371123a22d9f7469b6340cf28c2ac73acd19b342409f3f9 SHA512 3a234b734543c19ebbf6f6f0616e01ce9dee328493d95a8be7cda9ccc43da4205de6b7979e3c5eddc904717a2309cafef77f50b8ee08803d23d42dc394fccc5b +EBUILD apache-tools-2.4.60.ebuild 2667 BLAKE2B 787d5cdfd21d93569358a3ff1c83df593f295946699a859d792b0c4eba384ccacda91f53ded8f8b4bf2fa88d02a245a93bc56e5e3f4f8aebb2405ff686df4d72 SHA512 26c44c4fdf9590fbb5a2672d8634674e91b1e7b2869c626351411112d067990e5d1bed06ae68d9c91331dc40c40f6b3a91afb2eba4b54c4e6306bbe824cefeb1 MISC metadata.xml 557 BLAKE2B 2453755857cf2e46c2df17a307b095ad2b7edaa4e87363964a0bb5e3dedc9284e09c41256f24037f8d680fd3b87e906f18ffd0f8358025fb0828ea0871229731 SHA512 d7f046261c3bb8529bbfaa7e8e47a304341c397dea4d0c276696a5c32b2fa12f0af0f73ed7ad435c3548a2a167230f3abece216e3cff7440fe0cf1498b7c8819 diff --git a/app-admin/apache-tools/apache-tools-2.4.60.ebuild b/app-admin/apache-tools/apache-tools-2.4.60.ebuild new file mode 100644 index 000000000000..ff67bbf7dac4 --- /dev/null +++ b/app-admin/apache-tools/apache-tools-2.4.60.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" +HOMEPAGE="https://httpd.apache.org/" +SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="ssl" +RESTRICT="test" + +RDEPEND=">=dev-libs/apr-1.5.0:1= + dev-libs/apr-util:1= + dev-libs/expat + dev-libs/libpcre2 + virtual/libcrypt:= + kernel_linux? ( sys-apps/util-linux ) + ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + dev-build/libtool" +BDEPEND=" + virtual/pkgconfig +" + +S="${WORKDIR}/httpd-${PV}" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.54-Makefile.patch" #459446 + "${FILESDIR}/${PN}-2.4.54-no-which.patch" #844868 + "${FILESDIR}/${PN}-2.4.54-libtool.patch" #858833 +) + +src_prepare() { + default + + # This package really should upgrade to using pcre's .pc file. + cat <<-\EOF > "${T}"/pcre2-config + #!/usr/bin/env bash + flags=() + for flag; do + if [[ ${flag} == "--version" ]]; then + flags+=( --modversion ) + else + flags+=( "${flag}" ) + fi + done + exec ${PKG_CONFIG} libpcre2-8 "${flags[@]}" + EOF + chmod a+x "${T}"/pcre2-config || die + + # Only here for libtool and which patches + eautoreconf +} + +src_configure() { + # Silly check. + tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" + + tc-export PKG_CONFIG + export ac_cv_path_PKGCONFIG="${PKG_CONFIG}" + export ac_cv_prog_ac_ct_PCRE_CONFIG="${T}"/pcre2-config + + local myeconfargs=( + --libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules + --sbindir="${EPREFIX}"/usr/sbin + --with-z="${EPREFIX}"/usr + --with-apr="${ESYSROOT}"/usr + --with-apr-util="${ESYSROOT}"/usr + --without-pcre + --with-pcre2="${T}"/pcre2-config + $(use_enable ssl) + $(usex ssl '--with-ssl="${EPREFIX}"/usr' '') + ) + + # econf overwrites the stuff from config.layout. + econf "${myeconfargs[@]}" + + sed -i \ + -e '/^LTFLAGS/s:--silent::' \ + build/rules.mk build/config_vars.mk || die +} + +src_compile() { + emake -C support +} + +src_install() { + emake -C support DESTDIR="${D}" install + dodoc CHANGES + doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ + docs/man/{htcacheclean,rotatelogs}.8 + + # Providing compatiblity symlinks for #177697 (which we'll stop to install + # at some point). + pushd "${ED}"/usr/sbin >/dev/null || die + local i + for i in *; do + dosym ${i} /usr/sbin/${i}2 + done + popd >/dev/null || die + + # Provide a symlink for ab-ssl + if use ssl ; then + dosym ab /usr/bin/ab-ssl + dosym ab /usr/bin/ab2-ssl + fi +} diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index b4cfb93f14c0..ad6fc7452a1b 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,7 +1,9 @@ DIST aws-cli-1.33.13.gh.tar.gz 2751169 BLAKE2B b849f4c5c0eac5092c3f163c4344a7bee332f374f252bc295794cb1e5a4024e08f353815362f0e7016b054d881927650c407d527f557c828543d1a5b96e9bd0b SHA512 7cdea65b6cd4fc7b51b657f9abf2e5cde41ef5d87f6fa45659ebedb2047fc09af9d457aeb8779f56fb55518acb12d139d486f8e95dfe7679ae5f8c21d901e608 DIST aws-cli-1.33.18.gh.tar.gz 2752774 BLAKE2B 8f78ba78c3fac623f091344fb2710ac79440d3bf96e0c33168bdf5d6c6d705318c8ea82d769eef4fb82840e8e94998b65b81999831c75be9a1924fac7be37aa4 SHA512 e0444118ab02fcba91cc1f078db80176da97abee64d2cd38875281c8344930fa63b89d1b59f43ed7690c432fc0d36273e7f4d2e0c947ae56a13ec6f42dea6ec9 +DIST aws-cli-1.33.19.gh.tar.gz 2753605 BLAKE2B 5967d0cbc2afef08f28bbf9035d867d880f07c2962001611985d6c22b61f57265daa720bb410b1d2f3204a81c19415857069da668eba10bcaf9603ea9fc998fa SHA512 95eacc803d9011bcb80e5e09243b0274f17692a4a27b434de676d295c5090cc61382665226073b6ca9af7deb6701ea303f9cf1f7b6baba850eb1a828c92dec34 DIST aws-cli-1.33.9.gh.tar.gz 2744062 BLAKE2B d888e111d93ec22c6bbabf083d612b15845883e2e56814a37173f79c108e4fe25745dbba83d46f99f54e7ddcc2f471c81e3b568de7233eb7e0bb51ed25a89f7a SHA512 5bdb9873487570c841b582ee466d989705c2fc5827386356819507caa8e105b76b0101555f8a6ee485f38aaa433881470fdde5cb21f6fdc88243c92ce7c31a81 EBUILD awscli-1.33.13.ebuild 3055 BLAKE2B 1564ea4eaf31db7fef7e41b625d95906b7a57c0cd6160d9ec11e6c8cdec5460e0a12e889aa60f5b189bd9e24b0511b3d5a83a3755630c7d1478031c857c9ef93 SHA512 59151ce65e2beb06d0487e5779bf7c8916ecb7120b4e1781cdba8167205ca4f52666653b41f21d31ca89f3424249de030cc783bcc0f033e7502a0af82c4658dd EBUILD awscli-1.33.18.ebuild 3055 BLAKE2B 1564ea4eaf31db7fef7e41b625d95906b7a57c0cd6160d9ec11e6c8cdec5460e0a12e889aa60f5b189bd9e24b0511b3d5a83a3755630c7d1478031c857c9ef93 SHA512 59151ce65e2beb06d0487e5779bf7c8916ecb7120b4e1781cdba8167205ca4f52666653b41f21d31ca89f3424249de030cc783bcc0f033e7502a0af82c4658dd +EBUILD awscli-1.33.19.ebuild 3055 BLAKE2B 1564ea4eaf31db7fef7e41b625d95906b7a57c0cd6160d9ec11e6c8cdec5460e0a12e889aa60f5b189bd9e24b0511b3d5a83a3755630c7d1478031c857c9ef93 SHA512 59151ce65e2beb06d0487e5779bf7c8916ecb7120b4e1781cdba8167205ca4f52666653b41f21d31ca89f3424249de030cc783bcc0f033e7502a0af82c4658dd EBUILD awscli-1.33.9.ebuild 3048 BLAKE2B 12780280e20a5681960cbfeaea03d9f3fcc292c8f1c1b2f174652dd6a76e0aad304e84a5acc67687f5585781bee6ad8568cafc6b02bf69aee39d180b1dfa7154 SHA512 805bcb6a01036c600f8a9423eda8459177d5729e11c6c9c17c4197ce06f5a0126b06cb3b760fee8f11cd81e2f962a67e982e79798aa6590099465818c3d6fc06 MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab diff --git a/app-admin/awscli/awscli-1.33.19.ebuild b/app-admin/awscli/awscli-1.33.19.ebuild new file mode 100644 index 000000000000..a7a293c4a8e8 --- /dev/null +++ b/app-admin/awscli/awscli-1.33.19.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..12} ) + +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/hcloud/Manifest b/app-admin/hcloud/Manifest index 44a5d50d72c2..ff5dc353f823 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,5 +1,5 @@ DIST hcloud-1.43.1.tar.xz 1889004 BLAKE2B 563cde962cf1fd180bbef60127b714419c09da198afeb4923f8fc1cd48850131b3b91de243de43e269497f36d14757a1e71941d30dfbee98baebb533f20e6cdd SHA512 c8fa46e9d3e2c73cc2d86e597bebf6e1dbf28b7145dbc272c403607807251ac27eee14b9ad267fdf2aa730da16ce52be4d2b0d94653612b4f375f1779c95d90b -DIST hcloud-1.44.0.tar.xz 2198712 BLAKE2B 120960528a1ef82993acd6ce791dd2f7a47968ab933f896e0d19df2d85b1453d3a4c7cbf6482aa0f051a6bcdd90a1ce34d7ff22ae10162c09b96b7afac9387bd SHA512 7fc6a4c531f991fc96decc79aa869bd875167a741630e86801bdc538877d372183f8ee34e2e4d683230f556573df01ab6f87f30cde6a43ffe70da1437bcfcd2d +DIST hcloud-1.44.1.tar.xz 2198900 BLAKE2B 48c6e8bacc66a54cb111ce196ccbcdb1ed6f867a5fce21eef02d73a81ee4c7d7398720e28f6d4d120beceb29b0178039d42a4ac1f1c3a4700e4e894265c36a14 SHA512 9086af42f7b30dbaae350937e58afcc85c717d39ac0a5e42b00a47266293de047b9906705ad7d0f5bee92cae1a151308467c03bdadef8077351050090a063131 EBUILD hcloud-1.43.1.ebuild 644 BLAKE2B 30273b4b3244eca66768acebc13756f702912728e8e42aaa66b17ae72956d79e99e80b3a2a0bf667589b931eaef0b53178ac1384499df33485ce2c039f6bb89d SHA512 f2b86d28d88c28ea3eda268c1ec8f6fb0ec356af0693278e8fdda80f5929b3f3fd745837d7b3f78853ba7e36644f7fb66cca60699ba3fabfdafe58560923b778 -EBUILD hcloud-1.44.0.ebuild 645 BLAKE2B 479b4959afc11357387cc1cec715f31e8b63f2d66e9fade3e0916e9133c41e9726c345615828b4b547a2512892f3ec54c615e0ed1b64c69dee0f95b33fe680c2 SHA512 91df85323ebcef2444b5e983b584dfa5d039e3e87d7bafe90f40f1376918dfd780a6d8afe639ac517d8f149cc398abf7072dfd0f3436b72474949f9ccc4232bc +EBUILD hcloud-1.44.1.ebuild 645 BLAKE2B 479b4959afc11357387cc1cec715f31e8b63f2d66e9fade3e0916e9133c41e9726c345615828b4b547a2512892f3ec54c615e0ed1b64c69dee0f95b33fe680c2 SHA512 91df85323ebcef2444b5e983b584dfa5d039e3e87d7bafe90f40f1376918dfd780a6d8afe639ac517d8f149cc398abf7072dfd0f3436b72474949f9ccc4232bc MISC metadata.xml 338 BLAKE2B 6ba2cbe509581ac35dabd93abe166f960d69d1f14336779848483386d28e22dd06e5d196061312827b7a945369f05a466417a1636b607e138515957a75db6f84 SHA512 cc69ce0ab7ba3a9af94ef1918738074cdd725bef2ff70d6c19e46d07bb9514d05ef6415c7ba5b372e7a98902a8440cdb9f7b14a848c3ff2f054863356971ddde diff --git a/app-admin/hcloud/hcloud-1.44.0.ebuild b/app-admin/hcloud/hcloud-1.44.1.ebuild index c4449b25b091..c4449b25b091 100644 --- a/app-admin/hcloud/hcloud-1.44.0.ebuild +++ b/app-admin/hcloud/hcloud-1.44.1.ebuild diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest index 587e9fba8c56..4164fddd2211 100644 --- a/app-admin/keepass/Manifest +++ b/app-admin/keepass/Manifest @@ -4,7 +4,9 @@ AUX keepass.xml 275 BLAKE2B 8e64d7e60b0808b9505387caf97c9198d14ead3510c72d3a62cb DIST KeePass-2.49-Source.zip 5135190 BLAKE2B bf5a9aab0065a97545bd1b81a74b5ab113e4c4802873445719ce2a571745b04c69ab5d8be9a67dc59a713947f0955cbcccc782b6628f722a0d564283b943eee6 SHA512 7a25de6acb2637bd8820fb70866ab4ced4ece4b3e64172f616c2fb59d2a4e7a2f340435db10731ed3d7e66db7761487925cf1c7941b0bac12e72c5fcd9e8b7d3 DIST KeePass-2.53-Source.zip 5201820 BLAKE2B a87918278915f1a54d8f6d6b8ef05d5a86f41a58887a1c80a8217112061fd40d59393012ae7b69d6c2110a7b0b36c57ecce4292a68e9161e99e1762b1622192e SHA512 8d35ec83ada7142e91be6a5889eabb98f1d8fe32140a3b904db76d64f42bed0ce1cc0378f38560b7f1307df545f00a398da599ef9fc44474e8c16722433d4e4e DIST KeePass-2.56-Source.zip 5231868 BLAKE2B d7ed0baf6db6a0398ce9bceb9a61088ef7cc14ba0c5b13a01123f9c7fca37e52bf352c438c3100ba32d59cfcfa90de790a07649684a971224bba6eb554cbed34 SHA512 cee9d8569e59a29044760dc94c4ab3ee6f1eb26aaa12d18a36d9e1b87e421291b49a3747fdb340a7af06494d65fe4d37579f16a577b0af2c053504b80e8a1c60 +DIST KeePass-2.57-Source.zip 5238885 BLAKE2B d7015eda056109aa0dc575a21a8ad720db4503a0cbf3124e6e0d0e0cf3d856a5a6509e605b3c1aafe984befa85646d716cdbe74fda936a967fd3da2778e7c455 SHA512 c553d2fa67d6c32b8122959bf222d6edadd79a9784802ac8f391ba0e89163172f431a24140d9dce775130d02374880e432c6958dfa19808f20f617e2f8067a30 EBUILD keepass-2.49.ebuild 3193 BLAKE2B 9d52bdc9d9f51ffe75e537efa4a74fba79fa11844f3dc38305b8c88a3a640935da1d72d0c7a95ba7dd5a88fd3ecbbf150ef844ab94bbea3225b2b76a68637b10 SHA512 b40be9b2bff28197211a739fd79bd12e23a73eb5515247dc901410772e91006e1ee6442fca1b5e6559e9b73cc66396156b5ebdfc874c6acacb42dcf7ff29c4e2 EBUILD keepass-2.53.ebuild 3193 BLAKE2B f170c2ca84b5ef87845070f8ee06588aec71acbd91a074ecb3d116d710ec4a0b8e0a3f1ae6470eb31301e9fbaabefbc6727e3201abfb539d56681a12ada16f92 SHA512 119ddbb9f19d48b3c045ff8a9d504e7f0bd64bec5919875307be678f18e5287fa5407576174ad0d2bf570be4fe94f2118531e7f7fe8dee8899f612ced66c3ecb EBUILD keepass-2.56.ebuild 3195 BLAKE2B 3f8d3015204ffe325fb6b6fecaa27c60950664a6246009d6be22d437462aa4614cb9ebc32a62c8fbe2d3d0e0639a6d2f3765fcdf2070d4b1270da941fa1a1645 SHA512 af328026cc82cb59784d1ae1505152e932a433ede41c874e21326d69a18000a25ef0f9e67410fcff002564047a595b3f42b4b038d7a275789a0d5ef5f0758248 +EBUILD keepass-2.57.ebuild 3195 BLAKE2B 3f8d3015204ffe325fb6b6fecaa27c60950664a6246009d6be22d437462aa4614cb9ebc32a62c8fbe2d3d0e0639a6d2f3765fcdf2070d4b1270da941fa1a1645 SHA512 af328026cc82cb59784d1ae1505152e932a433ede41c874e21326d69a18000a25ef0f9e67410fcff002564047a595b3f42b4b038d7a275789a0d5ef5f0758248 MISC metadata.xml 404 BLAKE2B fe98657d555dbc2a9fe393c6815bcf86fba0221d66c21cc61d739928a24346c23465429acfe6bbdb813ea3d16233d1522949c643b011183036b8ce9fe44aeebf SHA512 4fed5e6a3553de56af9c39ae60c51266a18aaf2d747a0521c83d4ff71f06ebfd2c8a1c0743e33eeb3dd277e8c628ce3b634f8ded9b735b9a3832bbd75d850ccc diff --git a/app-admin/keepass/keepass-2.57.ebuild b/app-admin/keepass/keepass-2.57.ebuild new file mode 100644 index 000000000000..6cde0c268a1d --- /dev/null +++ b/app-admin/keepass/keepass-2.57.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature wrapper xdg-utils + +MY_PN="KeePass" +DESCRIPTION="A free, open source, light-weight and easy-to-use password manager" +HOMEPAGE="https://keepass.info/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_PN}-${PV}-Source.zip" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="aot" + +BDEPEND="app-arch/unzip" +DEPEND="dev-lang/mono" +RDEPEND=" + ${DEPEND} + dev-dotnet/libgdiplus[cairo] +" + +PATCHES=( "${FILESDIR}/${PN}-2.53-xsl-path-detection.patch" ) + +# bug #687052 +# file generated by mono --aot where *FLAGS don't make sense +QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so" + +src_prepare() { + # KeePass looks for some XSL files in the same folder as the executable, + # we prefer to have it in /usr/share/KeePass. Apply patch using base function. + # This XSL file will not be upstreamed since the KeePass creator said that + # including this patch would break the Portable USB version of KeePass + # (which keeps/looks for xsl files in its own folder) + default + + # Switch into build dir so the mono prepration script works correctly + pushd Build || die + source PrepMonoDev.sh || die + popd || die +} + +src_compile() { + export MONO_REGISTRY_PATH=/dev/null # bug 659808 + + # bug 704358 + export LANG=C LC_ALL=C + + # Build with Release target + xbuild /target:KeePass /property:Configuration=Release || die + + # Run Ahead Of Time compiler on the binary + if use aot; then + cp Ext/KeePass.exe.config Build/KeePass/Release/ || die + mono --aot -O=all Build/KeePass/Release/KeePass.exe || die + fi +} + +src_install() { + # Wrapper script to launch mono + make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe" + + # Some XSL files + insinto "/usr/share/${PN}/XSL" + doins Ext/XSL/* + + insinto "/usr/$(get_libdir)/${PN}" + exeinto "/usr/$(get_libdir)/${PN}" + + doins Ext/KeePass.exe.config + + # Default configuration, simply says to use user-specific configuration + doins Ext/KeePass.config.xml + + # The actual executable + doexe Build/KeePass/Release/KeePass.exe + + # Copy the AOT compilation result + if use aot; then + doexe Build/KeePass/Release/KeePass.exe.so + fi + + # Prepare the icons + newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png" + newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png" + + # Create a desktop entry and associate it with the KeePass mime type + make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;" + + # MIME descriptor for .kdbx files + insinto /usr/share/mime/packages + doins "${FILESDIR}/${PN}.xml" + + # sed, because patching this really sucks + sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update + + optfeature "enables autotype/autofill" x11-misc/xdotool + + elog "Some systems may experience issues with copy and paste operations." + elog "If you encounter this, please install x11-misc/xsel." +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |