diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 69294 -> 69295 bytes | |||
-rw-r--r-- | dev-util/cutter/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cutter/cutter-2.3.2.ebuild | 56 | ||||
-rw-r--r-- | dev-util/d-spy/Manifest | 2 | ||||
-rw-r--r-- | dev-util/d-spy/d-spy-1.8.0.ebuild | 43 | ||||
-rw-r--r-- | dev-util/rizin/Manifest | 3 | ||||
-rw-r--r-- | dev-util/rizin/rizin-0.6.2.ebuild | 98 |
7 files changed, 204 insertions, 0 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 2a5006e91caa..e290278b533d 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 786bb2dcc354..577fd3d0abd4 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1,5 +1,7 @@ DIST cutter-2.2.1.tar.gz 11028914 BLAKE2B 4afb93940a3878b254d0c8cff37f63a40a2ba6d581d0ac086b0fe12fb914b161375c64aa18369892feae5da1726c047f96b2405d48f4cdba7532ef839c557ef6 SHA512 1036679049666971bc3dc8f54067d822bc6df798138790fdba2f70932f3034aceeceb10cb732c8257539b128a2d0b10f684d2d6db787402f70bfb1bf13dbbf39 DIST cutter-2.3.1.tar.gz 11269422 BLAKE2B 7c0060551d9a40b9bef33e28db122f1d1aa5469750f5a02d436ac7c33e1849cb75b9080d21ff22b29868357395b224aa2267deed298c0913713f71429e9da23d SHA512 7166e9acf757b6cb11e3a16be5d5cc3783cdea906e642c40967e823bd0fe3cd877969b5123a555673e1ed23588c0037bb83b50be2beed6a436a90ab0eafa03a1 +DIST cutter-2.3.2.tar.gz 11280258 BLAKE2B 20dba40d96fed296b9af0b0e0b66dd46901bfc6621ba59cce1940ed2980acfc1e8b6447c20995bbeace71c7eeb1c9b180bf3b2076bbae9035706c6d4aff6dc5f SHA512 65ca98f6618b1e60efa25d33bb4f3ef6b36dfd8496cf1f40c6a6b9744df3c2f77673d1d3cc1142c1b3b064abd0698ca07a20c5e4009ba5f6b05fc7f7501a4435 EBUILD cutter-2.2.1.ebuild 1345 BLAKE2B df0419a836ee7e1522e19f2677223cf5dcd1fcfed63dc17c1df566b8fb2021f0bf06b9c0896f8c177aa9a331fa73db7cbb4efb187caa135c886037d8e17df308 SHA512 956f479b54ffcdf053a1e223b73e15699e521a8a739bbe5e6d9f19a7c765bb092295da3ea3fcb85a4bd3d71d5a57aeabfde0dd015e53cf5e317e1149ae222022 EBUILD cutter-2.3.1.ebuild 1347 BLAKE2B 54877e880445b4a2609f46112e413f68d01579f669be3cf3668f3778041ca8daecdfb0b43c76be4c7ad2be13e6a71e5a9aa095af541933bb4d4dbc4f786a6b16 SHA512 dba5a8013397d6baabfc4f2462b51d056806bec6bda2c2ea019206fbd21506a9b7c353720fa3e8e265f5e358d956809d89ea2a808c1ce7060274b77eccc5521e +EBUILD cutter-2.3.2.ebuild 1347 BLAKE2B 54877e880445b4a2609f46112e413f68d01579f669be3cf3668f3778041ca8daecdfb0b43c76be4c7ad2be13e6a71e5a9aa095af541933bb4d4dbc4f786a6b16 SHA512 dba5a8013397d6baabfc4f2462b51d056806bec6bda2c2ea019206fbd21506a9b7c353720fa3e8e265f5e358d956809d89ea2a808c1ce7060274b77eccc5521e MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb diff --git a/dev-util/cutter/cutter-2.3.2.ebuild b/dev-util/cutter/cutter-2.3.2.ebuild new file mode 100644 index 000000000000..410b1cc43a64 --- /dev/null +++ b/dev-util/cutter/cutter-2.3.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake toolchain-funcs xdg-utils python-single-r1 + +MY_P="${PN^}-v${PV}" + +DESCRIPTION="A Qt and C++ GUI for rizin reverse engineering framework" +HOMEPAGE="https://cutter.re https://github.com/rizinorg/cutter/" +SRC_URI="https://github.com/rizinorg/${PN}/releases/download/v${PV}/${MY_P}-src.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="CC-BY-SA-3.0 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="graphviz" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + >=dev-util/rizin-0.6.1:= + graphviz? ( media-gfx/graphviz )" +RDEPEND="${DEPEND} + !net-analyzer/cutter" # https://bugs.gentoo.org/897738 +BDEPEND="dev-qt/linguist-tools:5" + +src_configure() { + local mycmakeargs=( + -DCMAKE_CXX_COMPILER="$(tc-getCXX)" + -DCMAKE_C_COMPILER="$(tc-getCC)" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCUTTER_ENABLE_GRAPHVIZ="$(usex graphviz)" + -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=OFF + -DCUTTER_ENABLE_PYTHON=ON + -DCUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF + -DCUTTER_USE_BUNDLED_RIZIN=OFF + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/dev-util/d-spy/Manifest b/dev-util/d-spy/Manifest index 0e42ee53e45a..a763063b8b42 100644 --- a/dev-util/d-spy/Manifest +++ b/dev-util/d-spy/Manifest @@ -1,3 +1,5 @@ DIST d-spy-1.6.0.tar.xz 215844 BLAKE2B 4811591024d3b599e5e10354db8aa14d5b80bf6fb3c8bfbeadcf5d9c14501af0d00368643cb58eac5ad9452b541743ce3ff9f8376202270f635078876a1012b3 SHA512 7a65bd64320a69eb54077a359381bda35f285b42f4181bf972bc790a8002a773b66c23303e5e94c3dec8c7b9bfc7b8aa60a5ce60f2eb47459ce3dfd634a05703 +DIST d-spy-1.8.0.tar.xz 232944 BLAKE2B cb6f90e9b3d779aa5a76bc93f16e9ae677af029b72451bbb983ffeb06b99a92aa2402ef8b6f6a6c6b4ad4f6ba49a924db37d7e9fc9cb98157a6475a0ec234267 SHA512 49c0ff250a91110014f98453ed6958cf4b5191cc0c8d31c5e63b1408864eaf0906ab3860b0479400a04a8614ee36fe5b9527b179e6346bdb5616cb188d2648f0 EBUILD d-spy-1.6.0.ebuild 713 BLAKE2B c20eb83944720bc54f7534e687d8210b492fa04f90fd0714e8f8044a48789e4b661db632d21a615cc5cd6c5fbf37d0685828ec5a7a00f84b4b9793728a5735c0 SHA512 4bb75be0821d544937d08dc6635869f33fe53847e6ca2cc3a8b97e5e1cad7487cff839509177c42f222ea8d527b10858f6744d8b91e95ff560e57012ccfd1564 +EBUILD d-spy-1.8.0.ebuild 714 BLAKE2B 059aeb06105889d3fc61d23136ab9b0622ac6df31164566de1fa5cd07d989df7431027bec8dc00a7b1472006464cbc9e6555b9914c6c262dd39befa25a09413b SHA512 d0b47254f6155d661ae0ce1bd9be973faaced4dea80fcdae1547d71d699cf4d212e212d44d010234fe2bb2f8a937de0f3e30d3d44b64f9b58c3ed7f2fab57746 MISC metadata.xml 346 BLAKE2B ed5a5f063aa92eb582564f615a38bb8e3d71955f0c42cc91eb488d0cb81b615dd1bb05b8b833c9a225dddf2e6f5d3089983357a4dac0f81edac3303327dc3121 SHA512 fb5ae140eaf1130d78e8222253cc2c2ef059e7b3d7d765c2f1b8038f691e1119867be986b1585c981f07fe038ec010f427e1a758ec3d22c618cc7e289160274b diff --git a/dev-util/d-spy/d-spy-1.8.0.ebuild b/dev-util/d-spy/d-spy-1.8.0.ebuild new file mode 100644 index 000000000000..31de818002f3 --- /dev/null +++ b/dev-util/d-spy/d-spy-1.8.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson xdg + +DESCRIPTION="D-spy is a blisteringly fast D-Bus debugger" +HOMEPAGE="https://gitlab.gnome.org/GNOME/d-spy" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="1" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-libs/glib-2.68:2 + >=gui-libs/gtk-4.6:4 + >=gui-libs/libadwaita-1.0:1 +" +RDEPEND=" + ${DEPEND} + >=sys-apps/dbus-1 +" +BDEPEND=" + dev-libs/appstream-glib + dev-util/desktop-file-utils + sys-devel/gettext + virtual/pkgconfig +" + +src_install() { + meson_src_install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest index 34444e2a22c2..6d121bf231ff 100644 --- a/dev-util/rizin/Manifest +++ b/dev-util/rizin/Manifest @@ -3,10 +3,13 @@ AUX rizin-0.5.2-find-tree-sitter-parser.patch 1128 BLAKE2B c3a72fda5005d50f47b2a DIST rizin-src-v0.5.1.tar.xz 11770688 BLAKE2B 31369497d5aa425aa6030ce404baa5d4a10ef2453a93f9b2c9f7d47135b5ffbc61618ef7e743acef3939bca2838a94637b7a1794ff44998608aee3f988301483 SHA512 c856112651bec91bb6e9f5580f60e3168f02a9f194bf567186a66398c162f59953ca8c3bf43441315356ca6ef077b7c56e4150e2dd8a79d4d08c5f789c549596 DIST rizin-src-v0.5.2.tar.xz 11779644 BLAKE2B d74c02c1f58d099a0047a7a528b7e182980901bc1bf2722aef259e03ddf9af908c3ebcde4f1268fcbd07125a21f064259601a54c6b8413e19f6b85c95113cf3d SHA512 2fbd3873c7725d4fa1dee53d685c4a5d372013f300cd19dd92752b82987f049a4eba77b4d4ae33b576678714752147355ac486951949a35275cc3fdc5447a351 DIST rizin-src-v0.6.1.tar.xz 15397540 BLAKE2B d641279505be2f58b1874d431922066e09affef20e18025c0d3781dbe1fad8f12db53335464ad645344daa25a0ed61fa842fa96bcca6c4832b359b424b5f09a3 SHA512 56ed3c9f7e4e689dfc27461b5a2de9cc6d14fec2e4cc17af6a011975fbecd4f2ec44e8dd26f0ce8f99a448b75514f6083177acfd073182bbdf921bc264fa9561 +DIST rizin-src-v0.6.2.tar.xz 15409072 BLAKE2B 9e90b07b5a3a5196e68e7c283dcfa214449e9cf1099c90b80a4e3712997bd6f28d5682de01c6f2b6ccafa749e74a4a9a8f7e6e0a313e926779394322a52b14ff SHA512 2b75ebd1c94dd560bb48ffaf8cb56d765ceafd00a3a878f0ae8802a51f398202c501db4c2ec2caefa89a770d4e674743ff5b56fd21f06bf99d9bac4753580dce DIST rizin-testbins-0264ae4ee5bd606ec6c6a539255eeb57ce2c82c2.tar.gz 179281553 BLAKE2B b86278589da2f8e5859b0f4b16e2667a6e7477c9a889158da5a2c1a1b6e29af4798d56a22dd4c3e23aec1908e7b444ca999502e73f8d8ccf4e0bf2a969380564 SHA512 ae11b6da5cb995f8f1cc996a7b772234b3e7e7c2b0695d0b223657ba839c82dbbcb390600aeb0d16c7c61a5037ba9d0739df79efd730c1b96392cfc1e6f6613d +DIST rizin-testbins-903588ed69d7717069955322b31dad5e666b338a.tar.gz 181644100 BLAKE2B ea491bea61a6d17fa2727e1b08b810be2bb99d05cf2afa4e97dc440a69a4fd376a39c25c6e86e9e2d499732b55e7c75e5eef39adef84f571e48d147e410d04e5 SHA512 fffef043d76440976e02e2b890138f57df849f507c0a7a48bd97b421fc1683e73696c50b6daddf906a53685eccfd7346e25881d3d498417e4e55b97ef56b8317 DIST rizin-testbins-d66f95359fe830514267f446975374752201c3f1.tar.gz 179428523 BLAKE2B 9d18c2f49460e26809bc526eab9d7bfed15d3fb3f94b22d327f9981547130f82107259f2942e098834cd8ad755e8eadb4b8459a10070105ec116b16fbac19fe3 SHA512 cdeefc6e4103e99c4581a45475c2326505f8003c80a158a78be32b27dfa65fe42a80bbf25ffc47c1f8abdd50faba0fb073a7236395ab67eafb0202695877c4ba DIST rizin-testbins-e959eb18182724809b78ad94cb7a9cdfbc5e3a6f.tar.gz 181638434 BLAKE2B 87c853d5e8b892cc5487bc4b2b7a09bd68292d0dc15eeb94f00aa12c3cdea2b4f3e147e62fc2de1beeeaec941b85981843310bd981f8679993db9473e638db31 SHA512 55bd5c2e91856e16318c3e342302f1e6dc9bb8059dbd5aee6f1643f08fe710e32ab91f084fdfce1746a9fbc1dcdfb55b01135b4de74bca6c5b99c7a06bf46ae6 EBUILD rizin-0.5.1.ebuild 2256 BLAKE2B 4a21a2ce71e77de80320b9175306d23e432223626f8ac8a47aa059fa64bbe59b430a2bb7d9c3c706e018f141080cf4d98feeb36f64b20259bf04005f7ec49f62 SHA512 e3d9e81d3154f13d5c5b605d874d36f55190b694f77d546179672a24ff1bd83f7d89ce92c0cc196f4ca54912ff2e5853697fe1e1a30aa217637b37930c430b3f EBUILD rizin-0.5.2.ebuild 2474 BLAKE2B c832721ecd6497f471657bbf8b181de1d651ef7c0ae491ac02de0c74460b9f6eba374f990825bce92008f4e23aa76b4224933c8a59daefd8b2845ec4c96025a9 SHA512 28acf70e6d56f5dd5e52d492789371d57daee3ac79d0eef5cb045f8ac3634c61bbae22a801ff8f83f514c2881d2405887815fde35a08e5f4447dc3742f4ba7ed EBUILD rizin-0.6.1.ebuild 2531 BLAKE2B 774e4eb141cd7731ae05be2be2487d68ab030d027dcfc07f9dec596ec0d576b098b46d9a766186e6cb49e8eaf9ad81eec429f87a9de1c670c77529a6ccae9c4b SHA512 36d0f2eeda5ffcfb2b9bd1dea40a03839b1151a3813ac73306bf68f11c2a61edf85023cd5a52b9cb265fc3165669db8b4bb96e59505c97fe5c29593846d331a9 +EBUILD rizin-0.6.2.ebuild 2531 BLAKE2B 162431e1ea9ca4325b5dc3f77cfdf571f0618a25b0ae48df1d89d003154f0f6948b0cc2ccfd9f8ddb48141cfe5971956d3a37749693933ee8512a2ea659c2e7d SHA512 7cc86df0b6b0028a70177bbe4a710bc585160d6789f4125dead27d4d91c9a1b390652b042c7eda124178ee19aef9946406c55ff56bf95697b76ed1a75bef11a1 MISC metadata.xml 427 BLAKE2B 2937970e78526f69e371b4451a3406b1fdc35a01707d366e8b54e23f9d13e8a713254902825ae111817ee00ea3aaf3bc968db8b6d944b15f869e2b89ba8e16b8 SHA512 65cc9c4cd5f2f64cd02e89b0f7f4972fefec51cb175650625da263b729022587c9487e9ab9faed8517200ed622a8ca5ec35b2b6f4c67966d78344c043197c981 diff --git a/dev-util/rizin/rizin-0.6.2.ebuild b/dev-util/rizin/rizin-0.6.2.ebuild new file mode 100644 index 000000000000..6061d10b5c4a --- /dev/null +++ b/dev-util/rizin/rizin-0.6.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +# This is the commit that the CI for the release commit used +BINS_COMMIT="903588ed69d7717069955322b31dad5e666b338a" + +inherit meson python-any-r1 + +DESCRIPTION="reverse engineering framework for binary analysis" +HOMEPAGE="https://rizin.re/" + +SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz + test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )" +KEYWORDS="~amd64 ~arm64 ~x86" + +LICENSE="Apache-2.0 BSD LGPL-3 MIT" +SLOT="0/${PV}" +IUSE="test" + +# Need to audit licenses of the binaries used for testing +RESTRICT="test? ( fetch ) !test? ( test )" + +# TODO: unbundle dev-libs/blake3 +RDEPEND=" + app-arch/lz4:0= + app-arch/xz-utils + >=dev-libs/capstone-5:0= + dev-libs/libmspack + dev-libs/libzip:0= + dev-libs/openssl:0= + >=dev-libs/tree-sitter-0.19.0 + dev-libs/xxhash + sys-apps/file + sys-libs/zlib:0= +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}/${PN}-0.4.0-never-rebuild-parser.patch" + "${FILESDIR}/${PN}-0.5.2-find-tree-sitter-parser.patch" +) + +S="${WORKDIR}/${PN}-v${PV}" + +src_prepare() { + default + + local py_to_mangle=( + librz/core/cmd_descs/cmd_descs_generate.py + sys/clang-format.py + test/fuzz/scripts/fuzz_rz_asm.py + test/scripts/gdbserver.py + ) + + python_fix_shebang "${py_to_mangle[@]}" + + # https://github.com/rizinorg/rizin/issues/3459 + sed -ie '/dyld_chained_ptr_arm64e_auth/d' test/unit/test_bin_mach0.c || die + + if use test; then + cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die + cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die + fi +} + +src_configure() { + local emesonargs=( + -Dcli=enabled + -Duse_sys_capstone=enabled + -Duse_sys_libmspack=enabled + -Duse_sys_libzip=enabled + -Duse_sys_lz4=enabled + -Duse_sys_lzma=enabled + -Duse_sys_magic=enabled + # https://github.com/rizinorg/rizin/issues/3841 + # -Duse_sys_openssl=enabled + -Duse_sys_tree_sitter=enabled + -Duse_sys_xxhash=enabled + -Duse_sys_zlib=enabled + + $(meson_use test enable_tests) + $(meson_use test enable_rz_test) + ) + meson_src_configure +} + +src_test() { + # We can select running either unit or integration tests, or all of + # them by not passing --suite. According to upstream, integration + # tests are more fragile and unit tests are sufficient for testing + # packaging, so only run those. + meson_src_test --suite unit +} |