Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ropper/
Date: Fri, 28 Jan 2022 05:18:49
Message-Id: 1643347004.4e8c857abe0389613cc28766ea3fbb7b15cafdd6.sam@gentoo
1 commit: 4e8c857abe0389613cc28766ea3fbb7b15cafdd6
2 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
3 AuthorDate: Sat Jan 15 13:10:23 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 28 05:16:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e8c857a
7
8 dev-util/ropper: new ebuild
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-util/ropper/Manifest | 1 +
15 dev-util/ropper/metadata.xml | 23 +++++++++++++++++++++
16 dev-util/ropper/ropper-1.13.6.ebuild | 39 ++++++++++++++++++++++++++++++++++++
17 dev-util/ropper/ropper-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++
18 4 files changed, 102 insertions(+)
19
20 diff --git a/dev-util/ropper/Manifest b/dev-util/ropper/Manifest
21 new file mode 100644
22 index 000000000000..1e30c7f56dee
23 --- /dev/null
24 +++ b/dev-util/ropper/Manifest
25 @@ -0,0 +1 @@
26 +DIST ropper-1.13.6.tar.gz 1491005 BLAKE2B aa82c9791eec2362c79f3cd96995cb505b73c8131b0b6fe6a7d0932e3551dd15ea401383e12ab79901ea05e749cb2ca8244fa3c909e0e8955910d321c8436ea9 SHA512 c3e20bc7182a94984f50c42334a7af1e64bd564615a3aaaa08f432b0641a9557d27fd19bdb6c33a276d66c4b512534c625751e20531c324bde96a58d9c89b6d4
27
28 diff --git a/dev-util/ropper/metadata.xml b/dev-util/ropper/metadata.xml
29 new file mode 100644
30 index 000000000000..55a2e0eba0c7
31 --- /dev/null
32 +++ b/dev-util/ropper/metadata.xml
33 @@ -0,0 +1,23 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="person">
38 + <email>mario.haustein@×××××××××××××××.de</email>
39 + <name>Mario Haustein</name>
40 + </maintainer>
41 + <maintainer type="person">
42 + <email>sam@g.o</email>
43 + <name>Sam James</name>
44 + </maintainer>
45 + <longdescription>
46 + You can use ropper to display information about binary files in
47 + different file formats and you can search for gadgets to build rop
48 + chains for different architectures.
49 + </longdescription>
50 + <use>
51 + <flag name="z3">Enable Z3 contraint solver support</flag>
52 + </use>
53 + <upstream>
54 + <remote-id type="github">sashs/Ropper</remote-id>
55 + </upstream>
56 +</pkgmetadata>
57
58 diff --git a/dev-util/ropper/ropper-1.13.6.ebuild b/dev-util/ropper/ropper-1.13.6.ebuild
59 new file mode 100644
60 index 000000000000..edf020a8ceb0
61 --- /dev/null
62 +++ b/dev-util/ropper/ropper-1.13.6.ebuild
63 @@ -0,0 +1,39 @@
64 +# Copyright 1999-2022 Gentoo Authors
65 +# Distributed under the terms of the GNU General Public License v2
66 +
67 +EAPI=8
68 +
69 +PYTHON_COMPAT=( python3_{9..10} )
70 +DISTUTILS_SINGLE_IMPL=1
71 +
72 +inherit distutils-r1
73 +
74 +DESCRIPTION="Use to display information about binary files in different file formats"
75 +HOMEPAGE="https://scoding.de/ropper https://github.com/sashs/Ropper"
76 +
77 +if [[ ${PV} == *9999 ]]; then
78 + inherit git-r3
79 + EGIT_REPO_URI="https://github.com/sashs/Ropper"
80 +else
81 + SRC_URI="https://github.com/sashs/Ropper/archive/v${PV}.tar.gz -> ${P}.tar.gz"
82 + S="${WORKDIR}/Ropper-${PV}"
83 +
84 + KEYWORDS="~amd64 ~x86"
85 +fi
86 +
87 +LICENSE="BSD"
88 +SLOT="0"
89 +IUSE="z3"
90 +RESTRICT="test"
91 +
92 +RDEPEND="${PYTHON_DEPS}
93 + $(python_gen_cond_dep '
94 + dev-libs/capstone[python,${PYTHON_USEDEP}]
95 + dev-libs/keystone[python,${PYTHON_USEDEP}]
96 + dev-python/filebytes[${PYTHON_USEDEP}]
97 + ')
98 + z3? ( sci-mathematics/z3[python,${PYTHON_SINGLE_USEDEP}] )
99 +"
100 +DEPEND="${RDEPEND}"
101 +
102 +distutils_enable_tests setup.py
103
104 diff --git a/dev-util/ropper/ropper-9999.ebuild b/dev-util/ropper/ropper-9999.ebuild
105 new file mode 100644
106 index 000000000000..edf020a8ceb0
107 --- /dev/null
108 +++ b/dev-util/ropper/ropper-9999.ebuild
109 @@ -0,0 +1,39 @@
110 +# Copyright 1999-2022 Gentoo Authors
111 +# Distributed under the terms of the GNU General Public License v2
112 +
113 +EAPI=8
114 +
115 +PYTHON_COMPAT=( python3_{9..10} )
116 +DISTUTILS_SINGLE_IMPL=1
117 +
118 +inherit distutils-r1
119 +
120 +DESCRIPTION="Use to display information about binary files in different file formats"
121 +HOMEPAGE="https://scoding.de/ropper https://github.com/sashs/Ropper"
122 +
123 +if [[ ${PV} == *9999 ]]; then
124 + inherit git-r3
125 + EGIT_REPO_URI="https://github.com/sashs/Ropper"
126 +else
127 + SRC_URI="https://github.com/sashs/Ropper/archive/v${PV}.tar.gz -> ${P}.tar.gz"
128 + S="${WORKDIR}/Ropper-${PV}"
129 +
130 + KEYWORDS="~amd64 ~x86"
131 +fi
132 +
133 +LICENSE="BSD"
134 +SLOT="0"
135 +IUSE="z3"
136 +RESTRICT="test"
137 +
138 +RDEPEND="${PYTHON_DEPS}
139 + $(python_gen_cond_dep '
140 + dev-libs/capstone[python,${PYTHON_USEDEP}]
141 + dev-libs/keystone[python,${PYTHON_USEDEP}]
142 + dev-python/filebytes[${PYTHON_USEDEP}]
143 + ')
144 + z3? ( sci-mathematics/z3[python,${PYTHON_SINGLE_USEDEP}] )
145 +"
146 +DEPEND="${RDEPEND}"
147 +
148 +distutils_enable_tests setup.py