diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-15 09:32:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-15 09:32:31 +0000 |
commit | ffec4b922807fb67af8fdef84ac67f52e9168f81 (patch) | |
tree | 4fa2bb5a88f6af2e86c4421917d6e969e3b780ad /dev-util | |
parent | 337b0e33a7c7a910e94b011161f8ea67c6be10c4 (diff) |
gentoo auto-resync : 15:12:2022 - 09:32:31
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 69294 -> 69297 bytes | |||
-rw-r--r-- | dev-util/ROPgadget/Manifest | 2 | ||||
-rw-r--r-- | dev-util/ROPgadget/ROPgadget-7.2.ebuild | 35 | ||||
-rw-r--r-- | dev-util/meson/Manifest | 2 | ||||
-rw-r--r-- | dev-util/meson/meson-1.0.0_rc1.ebuild | 120 |
5 files changed, 159 insertions, 0 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 640aa8ba1e7f..ae55b6edfe2f 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/ROPgadget/Manifest b/dev-util/ROPgadget/Manifest index 613df2a43a25..51276dd30461 100644 --- a/dev-util/ROPgadget/Manifest +++ b/dev-util/ROPgadget/Manifest @@ -1,4 +1,6 @@ DIST ROPgadget-7.1.gh.tar.gz 10092729 BLAKE2B dc06e99347987d9eb8b346a6a55599013b7d90b996cbd59f27721f26ce6e59a1ead7c0e3824fdb4fa4d215256d6ad378b2e6eec210561a217b2fa65b2efda169 SHA512 f86956108ba5f131a609026087d4d952cb106ed03e72b04844ae551bdf5902ff70b917bc7c2bcd256591142d4f03e3aef0ceca7ad0d325fb5663f892e27b4b70 +DIST ROPgadget-7.2.gh.tar.gz 10092747 BLAKE2B 1a1de7ce06115c8ffb377d3e7c77a268d3e9a158ed9255c02f954da4a0c32732f741e7ca081fa0b75b9a5dce2fa099b8548f26d248ed0285a2290f88dadc848d SHA512 cc3f87a4a331a3c7799f197b8a9056d1da85697a47c57d03cc080aa61d6c8a00775e7f972082f92451439c36ef9d820c982194464f02ec041b5bbeb97fa26f9a EBUILD ROPgadget-7.1.ebuild 784 BLAKE2B 717dae1ba5b9ab56ad59443fbf61d5c9e767e47720172629862ee71b174fd1fc6e2d029705a1fd0b6328d1964390a47d66a9ed8eb23b2c1132184a097cfb8b33 SHA512 6ff973aceb7444ab5f2c2c32ace723922c82b6d964a22fa06c4c8b39c8cc73a676dc9ba57fdbc811c3a6a2da5f114b52bbeb8c9c8494db7cb3bab505d4e043fc +EBUILD ROPgadget-7.2.ebuild 786 BLAKE2B 37ece1f9e9d0e0dd9c54ef33e76247618769baa1b9fdb69e4bbdab177a342833ec43560c4850cdf49eb1d22b8b0e5a8b1d67e938e04549e7b89d022cf20d49ab SHA512 66b95cf6c4fdf24fb0115a83e2ae4d007316681699e425f639bb1f8cb9b98163da3cf5204d3c6933c49f6d3ff16a75ad492cc89360d74f03eb299680782649bb EBUILD ROPgadget-9999.ebuild 786 BLAKE2B 37ece1f9e9d0e0dd9c54ef33e76247618769baa1b9fdb69e4bbdab177a342833ec43560c4850cdf49eb1d22b8b0e5a8b1d67e938e04549e7b89d022cf20d49ab SHA512 66b95cf6c4fdf24fb0115a83e2ae4d007316681699e425f639bb1f8cb9b98163da3cf5204d3c6933c49f6d3ff16a75ad492cc89360d74f03eb299680782649bb MISC metadata.xml 894 BLAKE2B 5b46ce7117f8bf1adc0fcae940bcb693b2efe1d46469627e28cf2b6375d9c0952968c69dbda53e4d6190c13e47010127caffa63f3f9a68fd28ede9970d841445 SHA512 2c198345cebbd725e2ba634d8b72efb7e62209fc38c12c05e3cb2ce949e9ed870e0b937096a16e2e75bbbd298a1ec5376e49d79b6992ed775061742ca60a088c diff --git a/dev-util/ROPgadget/ROPgadget-7.2.ebuild b/dev-util/ROPgadget/ROPgadget-7.2.ebuild new file mode 100644 index 000000000000..50c40c36f4b9 --- /dev/null +++ b/dev-util/ROPgadget/ROPgadget-7.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation" +HOMEPAGE="https://shell-storm.org/project/ROPgadget/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget" +else + SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/capstone-5[python,${PYTHON_USEDEP}] +" + +src_test() { + pushd test-suite-binaries || die + ./test.sh || die + popd || die +} diff --git a/dev-util/meson/Manifest b/dev-util/meson/Manifest index 050b504da01b..00c4d555ffee 100644 --- a/dev-util/meson/Manifest +++ b/dev-util/meson/Manifest @@ -1,7 +1,9 @@ AUX meson-0.63-xtools-support.patch 1136 BLAKE2B 7600b29f1c4accbf33ca587b848566d4f9d30e26695b125aa895ec8a48ee0f7355c7692845c0d9bbb59eb452fc0cd8b634bd2a90d8918efa0b65ef4759b56d8e SHA512 725b193afe229690b6ef0d7a2a832695b7c09ca3376512097baec597a84df6e8e18791e9f29221e8a4a3537ad2371672e74041aa05ec6a218ed9b6218ea2ab61 DIST meson-0.63.3.tar.gz 2067612 BLAKE2B aa6052330f15aa6b1f64598a60075ea3b245ba4b53d65e760670fd526e3e462c110f95e710a83f91ab32f316fdb66dff1783c79ea832ed11d263fe0a3304eaa8 SHA512 6855b2bfe05d592419bfeaf4346c3d1079319f14de995109c09a7e5e9770cef829f66d659553337b3e54ca0dd6c497bccd4abef720f299173077b664d905864b DIST meson-0.64.1.tar.gz 2089752 BLAKE2B e444df936738ddbbc8af1cc203417ee8f6063bf36a953158295da0c0a40aeb05e6c9a8677a17440c3a4153e0e479fb7215e18b5f0ce7c896fd928f841637ce07 SHA512 4896f5a09f89cadce028080f70e5ca005fd3bb2141a730a0ad71ded63d1bde6d1254957fe079f5e4c6e3b9420a9fcc4525b01e689979f0bab6d09d6483ca42ec +DIST meson-1.0.0rc1.tar.gz 2099284 BLAKE2B 5750617d0cb825e064eb18bc5bdcb56ee54ac67d25db85b05da65d932116b301a96cda64d037868705b4f3561786499ab3b138c86b6ddd1ea6a24c1e6416d6ec SHA512 88f8f2523a5800b966c1c288db4acb329c75a80a5b9c33521dff0b96d015f60663b44c8b6fa9caf19b6c6bece27f36595b100c9888e77a77aae7975a783a16a1 EBUILD meson-0.63.3.ebuild 2978 BLAKE2B 7e3c27064fc4bbf116a7fc5efaf9d56bf942567b0c674c70c832826a557edd458a29ce0dbb445ab5b4e04cad03236798ebc499aab4c5edcefd7049d84f1e862e SHA512 176d0bd3a9f7b4aab8614ee10f5b7b18c5d8889c7a07dd7f49b283b01e72ae7c878108de8e135bcdd60d5563a51d6c62c44093f6eb115676087c9fd073ed762c EBUILD meson-0.64.1.ebuild 3024 BLAKE2B d1364c97302f4507adc94fa970cd9083b4833787433a789296596b372198f6c0a22063ca0e8c3eb9d9c3e0076c43b0884c6f7355090549aeb9c4d48308aaf4a0 SHA512 456477d6bcd781841a935163c64e15cd62a227fea9ac84f5257df607371ee4c09013b3d5927ea15e9c0986dd9cfc24106c300299f5ba4b86706c4b71288c3cc9 +EBUILD meson-1.0.0_rc1.ebuild 3024 BLAKE2B d1364c97302f4507adc94fa970cd9083b4833787433a789296596b372198f6c0a22063ca0e8c3eb9d9c3e0076c43b0884c6f7355090549aeb9c4d48308aaf4a0 SHA512 456477d6bcd781841a935163c64e15cd62a227fea9ac84f5257df607371ee4c09013b3d5927ea15e9c0986dd9cfc24106c300299f5ba4b86706c4b71288c3cc9 EBUILD meson-9999.ebuild 3024 BLAKE2B d1364c97302f4507adc94fa970cd9083b4833787433a789296596b372198f6c0a22063ca0e8c3eb9d9c3e0076c43b0884c6f7355090549aeb9c4d48308aaf4a0 SHA512 456477d6bcd781841a935163c64e15cd62a227fea9ac84f5257df607371ee4c09013b3d5927ea15e9c0986dd9cfc24106c300299f5ba4b86706c4b71288c3cc9 MISC metadata.xml 480 BLAKE2B 5d3a0af4d84e497dcc2ccd5eb680e898beda896d5c37dc71fcaad2fe63f436f758d356990a5bca06baee9d265389b6e7084daec90d13c004f5523df4d0badbff SHA512 748f91fc17a18302ad0892d458e8e59650ab23dd3db5e83da85cfbca03d7932633c37b16f039faa12d87f6e4ec75a7a7fe4cc22f17328e61d57d99b073b6df3f diff --git a/dev-util/meson/meson-1.0.0_rc1.ebuild b/dev-util/meson/meson-1.0.0_rc1.ebuild new file mode 100644 index 000000000000..7eaa764dfcab --- /dev/null +++ b/dev-util/meson/meson-1.0.0_rc1.ebuild @@ -0,0 +1,120 @@ +# Copyright 2016-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/mesonbuild/meson" + inherit git-r3 +else + MY_P=${P/_/} + S=${WORKDIR}/${MY_P} + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + fi +fi + +inherit bash-completion-r1 distutils-r1 toolchain-funcs + +DESCRIPTION="Open source build system" +HOMEPAGE="https://mesonbuild.com/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-util/ninja + dev-vcs/git + sys-libs/zlib[static-libs(+)] + virtual/pkgconfig + ) +" +RDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.63-xtools-support.patch +) + +python_prepare_all() { + local disable_unittests=( + # ASAN and sandbox both want control over LD_PRELOAD + # https://bugs.gentoo.org/673016 + -e 's/test_generate_gir_with_address_sanitizer/_&/' + + # ASAN is unsupported on some targets + # https://bugs.gentoo.org/692822 + -e 's/test_pch_with_address_sanitizer/_&/' + + # https://github.com/mesonbuild/meson/issues/7203 + -e 's/test_templates/_&/' + + # Broken due to python2 wrapper + -e 's/test_python_module/_&/' + ) + + sed -i "${disable_unittests[@]}" unittests/*.py || die + + # Broken due to python2 script created by python_wrapper_setup + rm -r "test cases/frameworks/1 boost" || die + + distutils-r1_python_prepare_all +} + +src_test() { + tc-export PKG_CONFIG + if ${PKG_CONFIG} --exists Qt5Core && ! ${PKG_CONFIG} --exists Qt5Gui; then + ewarn "Found Qt5Core but not Qt5Gui; skipping tests" + else + distutils-r1_src_test + fi +} + +python_test() { + ( + # test_meson_installed + unset PYTHONDONTWRITEBYTECODE + + # https://bugs.gentoo.org/687792 + unset PKG_CONFIG + + # test_cross_file_system_paths + unset XDG_DATA_HOME + + # 'test cases/unit/73 summary' expects 80 columns + export COLUMNS=80 + + # If JAVA_HOME is not set, meson looks for javac in PATH. + # If javac is in /usr/bin, meson assumes /usr/include is a valid + # JDK include path. Setting JAVA_HOME works around this broken + # autodetection. If no JDK is installed, we should end up with an empty + # value in JAVA_HOME, and the tests should get skipped. + export JAVA_HOME=$(java-config -O 2>/dev/null) + + # Call python3 instead of EPYTHON to satisfy test_meson_uninstalled. + python3 run_tests.py + ) || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr/share/vim/vimfiles + doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax} + + insinto /usr/share/zsh/site-functions + doins data/shell-completions/zsh/_meson + + dobashcomp data/shell-completions/bash/meson +} |