* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-04-25 22:01 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-04-25 22:01 UTC (permalink / raw
To: gentoo-commits
commit: 044e2eaed9c9613eafad2bb51de3acbf58e8d003
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 21:23:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 22:00:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=044e2eae
app-forensics/aflplusplus: respect CXX
Closes: https://bugs.gentoo.org/779655
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
index bd5b17d198b..d6d3ef5f510 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
@@ -65,8 +65,16 @@ src_compile() {
MAN_PATH="${EPREFIX}/usr/share/man/man8"
}
+src_test() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)"
+}
+
src_install() {
emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \
HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-04-25 22:01 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-04-25 22:01 UTC (permalink / raw
To: gentoo-commits
commit: 01b5fe8a3bfe5c3216f67a84fd4ecb9017b2e93e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 21:15:49 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 22:00:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b5fe8a
app-forensics/aflplusplus: fix install
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-3.12c.ebuild => aflplusplus-3.12c-r1.ebuild} | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
similarity index 97%
rename from app-forensics/aflplusplus/aflplusplus-3.12c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
index 8f54edd03d1..bd5b17d198b 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.12c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
@@ -57,6 +57,7 @@ src_prepare() {
src_compile() {
emake \
CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
CFLAGS_FLTO="" \
PREFIX="${EPREFIX}/usr" \
HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
@@ -66,7 +67,7 @@ src_compile() {
src_install() {
emake \
- DESTDIR="${D}"
+ DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \
HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-04-27 18:20 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-04-27 18:20 UTC (permalink / raw
To: gentoo-commits
commit: 43ab977c0eb0504b46bf04823afb8018da15e5da
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 18:16:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 18:20:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ab977c
app-forensics/aflplusplus: allow LLVM 12, add optfeature for sanitizers, clang dep
* Allow LLVM 12
* Add optfeature for sanitizers
* Clang is required for afl-* testing during build (and generating some
targets)
Signed-off-by: Sam James <sam <AT> gentoo.org>
...3.12c-r1.ebuild => aflplusplus-3.12c-r2.ebuild} | 25 ++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
similarity index 74%
rename from app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
rename to app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
index d6d3ef5f510..4a430c66773 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.12c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
@@ -4,8 +4,8 @@
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
-LLVM_MAX_SLOT=11
-inherit toolchain-funcs llvm python-single-r1
+LLVM_MAX_SLOT=12
+inherit toolchain-funcs llvm optfeature python-single-r1
DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -23,12 +23,14 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# This isn't compatible with sandbox
RESTRICT="test"
+# It turns out we need Clang too
RDEPEND="
${PYTHON_DEPS}
+ >=sys-devel/llvm-10:=
|| (
- sys-devel/llvm:10
- sys-devel/llvm:11
- sys-devel/llvm:12
+ sys-devel/clang:10
+ sys-devel/clang:11
+ sys-devel/clang:12
)
"
DEPEND="
@@ -43,6 +45,11 @@ PATCHES=(
"${FILESDIR}/${PN}-3.0c-CFLAGS.patch"
)
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
pkg_setup() {
llvm_pkg_setup
python-single-r1_pkg_setup
@@ -82,3 +89,9 @@ src_install() {
MAN_PATH="${EPREFIX}/usr/share/man/man8" \
install
}
+
+pkg_postinst() {
+ # TODO: Any otherrs?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-04-27 18:22 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-04-27 18:22 UTC (permalink / raw
To: gentoo-commits
commit: 7c30f574e00b97e11ea608bac6cd81618a3e9a03
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 18:21:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 18:22:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c30f574
app-forensics/aflplusplus: fix minor comment typo
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
index 4a430c66773..c2f64e5af6d 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
@@ -91,7 +91,7 @@ src_install() {
}
pkg_postinst() {
- # TODO: Any otherrs?
+ # TODO: Any others?
optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-07-02 5:05 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-07-02 5:05 UTC (permalink / raw
To: gentoo-commits
commit: 4447a0cd5eddeac7ceb6ebdd016620e29278e8de
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 2 04:52:57 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 2 04:52:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4447a0cd
app-forensics/aflplusplus: add blocker with app-forensics/afl
Closes: https://bugs.gentoo.org/792450
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-3.12c-r2.ebuild => aflplusplus-3.12c-r3.ebuild} | 1 +
.../{aflplusplus-3.13c.ebuild => aflplusplus-3.13c-r1.ebuild} | 1 +
2 files changed, 2 insertions(+)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild
similarity index 99%
rename from app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
rename to app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild
index c2f64e5af6d..2e0c7d30195 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.12c-r2.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild
@@ -32,6 +32,7 @@ RDEPEND="
sys-devel/clang:11
sys-devel/clang:12
)
+ !app-forensics/afl
"
DEPEND="
${RDEPEND}
diff --git a/app-forensics/aflplusplus/aflplusplus-3.13c.ebuild b/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild
similarity index 99%
rename from app-forensics/aflplusplus/aflplusplus-3.13c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild
index c665a60d41b..9fafa1fa35e 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.13c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild
@@ -32,6 +32,7 @@ RDEPEND="
sys-devel/clang:11
sys-devel/clang:12
)
+ !app-forensics/afl
"
DEPEND="
${RDEPEND}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-07-22 2:50 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-07-22 2:50 UTC (permalink / raw
To: gentoo-commits
commit: 02dbc9a1a5d85b5fe5ed065c256112c4fcf29cbf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 02:49:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 02:49:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02dbc9a1
app-forensics/aflplusplus: Stabilize 3.13c-r1 amd64, #803218
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild
index 9fafa1fa35e..fb2fb345083 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-07-22 3:23 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-07-22 3:23 UTC (permalink / raw
To: gentoo-commits
commit: 37fef0ae5d9d02ed125a7092ab2f556b70bc16db
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 03:23:09 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 03:23:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37fef0ae
app-forensics/aflplusplus: add 3.14c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 1 +
app-forensics/aflplusplus/aflplusplus-3.14c.ebuild | 98 ++++++++++++++++++++++
2 files changed, 99 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 981ff63c53a..765f9130b88 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,2 +1,3 @@
DIST aflplusplus-3.12c.tar.gz 2065569 BLAKE2B ff7a87eb02f7731b5ce8e1a3016239c6fd1cd1bfeb0b9c0fb69f72bdbf079e7700cdb32abe64f64853e5ff82f1c0ecd86d2cadb892e7c40be6bb2a7b089f7387 SHA512 a814d61298b60d99388289e742dbedf2ed1ab454a5e1ea20d48bb2f18b36c01553ab1f097a06f733439d67e804d48cb823a82ff249c404fb0b83a281564f3040
DIST aflplusplus-3.13c.tar.gz 2128787 BLAKE2B 40fa65654468dc1de7f6e1b63d2266915a40d145b7cb91b8b95488bc975804f70887bc1c3718fbd12c76872a0126f3bcc36134eb55ef729060b5efcf93dad424 SHA512 916a714deaf67969c9ac6e90bd2d8015a1e5188c8a8122f4d5d64ce4b841822de65458e469a47d4244358fab5e31ef4e52b8ec1432dcbd60d29aedf15e4c36fe
+DIST aflplusplus-3.14c.tar.gz 2162934 BLAKE2B 0830b320cea65b9bdd048a08a388c7145164f6b7f4dc140a2f4268a3aa22dc608a771169c830e2196e7a0d543e6f3da49f39736f3b2514c559b986ce929d43c4 SHA512 318607cff40b5f2fc94938747e2ac6b8f400767138eb39edf4daf320afbdab417d0d97a80a1c9db8bb557ad4b7b62f887ae6e692c376f5d5673a493bd23bb811
diff --git a/app-forensics/aflplusplus/aflplusplus-3.14c.ebuild b/app-forensics/aflplusplus/aflplusplus-3.14c.ebuild
new file mode 100644
index 00000000000..9fafa1fa35e
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-3.14c.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+LLVM_MAX_SLOT=12
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/AFLplusplus-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+# It turns out we need Clang too
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=sys-devel/llvm-10:=
+ || (
+ sys-devel/clang:10
+ sys-devel/clang:11
+ sys-devel/clang:12
+ )
+ !app-forensics/afl
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+
+QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.0c-LDFLAGS.patch"
+ "${FILESDIR}/${PN}-3.13c-CFLAGS.patch"
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ sed -i -e 's/-O3 -fno-unroll-loops//' GNUmakefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8"
+}
+
+src_test() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ install
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-07-22 4:03 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-07-22 4:03 UTC (permalink / raw
To: gentoo-commits
commit: 7b8cd38af90c005e3c1b3d2f51ffc3d22c38c930
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 04:02:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 04:02:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8cd38a
app-forensics/aflplusplus: allow LLVM 13, Python compat (+3.10, -3.7)
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-3.14c.ebuild => aflplusplus-3.14c-r1.ebuild} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.14c.ebuild b/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
similarity index 96%
rename from app-forensics/aflplusplus/aflplusplus-3.14c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
index 9fafa1fa35e..066cbd062f6 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.14c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
@@ -3,8 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
-LLVM_MAX_SLOT=12
+PYTHON_COMPAT=( python3_{8,9,10} )
+LLVM_MAX_SLOT=13
inherit toolchain-funcs llvm optfeature python-single-r1
DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
@@ -31,6 +31,7 @@ RDEPEND="
sys-devel/clang:10
sys-devel/clang:11
sys-devel/clang:12
+ sys-devel/clang:13
)
!app-forensics/afl
"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-08-24 11:40 Agostino Sarubbo
0 siblings, 0 replies; 47+ messages in thread
From: Agostino Sarubbo @ 2021-08-24 11:40 UTC (permalink / raw
To: gentoo-commits
commit: 6af380b2187355a1991d0b37067c46ec31d1324a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 24 11:40:12 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 11:40:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af380b2
app-forensics/aflplusplus: amd64 stable wrt bug #809743
Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
index 066cbd062f6..4e5ee050900 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2021-08-24 23:26 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-08-24 23:26 UTC (permalink / raw
To: gentoo-commits
commit: 9e72fcfe4ee644480bf765a85fd70f39cdc041d6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 24 23:24:14 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 23:24:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e72fcfe
app-forensics/aflplusplus: Stabilize 3.14c-r1 arm64, #809743
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
index 4e5ee050900..74e2f4d3a72 100644
--- a/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-03-02 3:42 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-03-02 3:42 UTC (permalink / raw
To: gentoo-commits
commit: 079fe1253743dd41fc4ed1cf5561573cc9f98aa2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 2 03:41:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 2 03:41:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079fe125
app-forensics/aflplusplus: Stabilize 4.00c amd64, #834453
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.00c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild
index 8f04bfb0de1b..aa463051b648 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-03-06 8:00 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-03-06 8:00 UTC (permalink / raw
To: gentoo-commits
commit: 8e5fad2c00676748ed89bdb004d9f436bbe41e2e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 07:59:42 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 07:59:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5fad2c
app-forensics/aflplusplus: Stabilize 4.00c arm64, #834453
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.00c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild
index aa463051b648..d327f3912c26 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.00c.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-07-04 23:24 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-07-04 23:24 UTC (permalink / raw
To: gentoo-commits
commit: 85db2b0d3b94be573a063b56b4181e92eaa901d5
Author: Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Mon Jul 4 20:06:24 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 4 23:24:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85db2b0d
app-forensics/aflplusplus: Don't try to strip test cases
Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.01c.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.01c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.01c.ebuild
index 18186168e86e..5ff60c119327 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.01c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.01c.ebuild
@@ -80,6 +80,7 @@ src_install() {
DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
MAN_PATH="${EPREFIX}/usr/share/man/man8" \
install
+ dostrip -x /usr/share/afl/testcases/
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-07-19 20:26 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-07-19 20:26 UTC (permalink / raw
To: gentoo-commits
commit: 8a2cce194051d5899f8419c9c5e7cd134d011e7b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 19 20:25:08 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 19 20:26:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2cce19
app-forensics/aflplusplus: Stabilize 4.01c-r1 amd64, #859364
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild
index 5ff60c119327..ec7bf2cc000b 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-07-20 2:45 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-07-20 2:45 UTC (permalink / raw
To: gentoo-commits
commit: d74e454e34e5e92444c49571ba1d63694c617f68
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 02:44:29 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 02:44:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74e454e
app-forensics/aflplusplus: Stabilize 4.01c-r1 arm64, #859364
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild
index ec7bf2cc000b..098797d09e10 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.01c-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/AFLplusplus-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-08-31 4:39 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-08-31 4:39 UTC (permalink / raw
To: gentoo-commits
commit: 4d0a2ac721a67fb6b3cf0e81d04a7c9d3406e578
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 04:38:53 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 04:38:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0a2ac7
app-forensics/aflplusplus: style tweak
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.02c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.02c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.02c.ebuild
index 45d84376a414..208b53026270 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.02c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.02c.ebuild
@@ -10,7 +10,7 @@ inherit toolchain-funcs llvm optfeature python-single-r1
DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/AFLplusplus-${PV}"
+S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-08-31 18:29 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-08-31 18:29 UTC (permalink / raw
To: gentoo-commits
commit: f91525e84ec644c4c879cf09f0ceba7c3ad6761d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 18:23:22 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 18:29:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f91525e8
app-forensics/aflplusplus: fix make args
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-4.02c.ebuild => aflplusplus-4.02c-r1.ebuild} | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.02c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.02c-r1.ebuild
similarity index 97%
rename from app-forensics/aflplusplus/aflplusplus-4.02c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-4.02c-r1.ebuild
index 208b53026270..1e726329302b 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.02c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.02c-r1.ebuild
@@ -61,7 +61,8 @@ mymake() {
PREFIX="${EPREFIX}/usr" \
HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8"
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
}
src_compile() {
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-09-22 1:09 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-09-22 1:09 UTC (permalink / raw
To: gentoo-commits
commit: 34355eb96cdbae9cda24aeb616eba7966668408c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 05:13:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 01:09:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34355eb9
app-forensics/aflplusplus: add 4.03c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 +
app-forensics/aflplusplus/aflplusplus-4.03c.ebuild | 86 ++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 3a76da8c144b..3e32b229cde6 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,2 +1,4 @@
DIST aflplusplus-4.01c.tar.gz 2818445 BLAKE2B f3699c4b2fabec0ab238277c3b2c7b19b35af7a0b82b14a57c34b8579121cfa0644ef432132cf4a3382547db3faf799d2ab601512ddfb469e4a2246cdb61aa7f SHA512 d2b03ab4ff9538fe0b52aa3ed4778a6e5657d64d6f0e5f75a99305bad69c5179d6b1c882650f19a884a740577acb73dab7cee3d5c9c7b06ff2326ffeba37d1fe
DIST aflplusplus-4.02c.tar.gz 2828429 BLAKE2B 0c4d7937626a699bb6768e2f67f369508f7ec131d1170cd48f8650d8081135b466733de34e52f2ac2213c4bd13ab8936b17d3b0f8debf28e8a32ad87d9dcb55d SHA512 f5159a84e0ecd2c260d2d8ce7df33fe4704c664bdf06f193a7fef377d48646e4d921ee90d0b66c7dac02d16e6b1607c6569351aaeea9b2ee3968d22b3f583763
+DIST aflplusplus-4.03c-patches.tar.xz 4444 BLAKE2B 4eed2ee97e4f7aef987e5c931469b7bb1d85310cb101878e5e71431ac36329a07b0e05812ed1e743c6ed3ce76e10c4392f2bf7ccc98ec1537b75196c5629acfe SHA512 bcaa196640f47923be6daa65e3c5f8461eadaec3b939f2cfe0223eacc64be385c80166ec7dc0df25d0c38053a38c3efcfbc25d8387bed5c54c95a8781ed64b00
+DIST aflplusplus-4.03c.tar.gz 2830718 BLAKE2B 1b55daf3c3a0a0b11c1ef0a7dd1005cfa1ec61fb54691b96519f57788233b1385b52948468f2d5beada3c58129bc0524f07aebfb25ee8cef1e5d5afd06b1233d SHA512 4bab00d964eb9d0664d97062f5da8090dfef599480f25b04d08b84e7f47676a9790fb23573f7e885b5da6ab813694f9ab26a0b5c9d341834892530558e3b83ef
diff --git a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
new file mode 100644
index 000000000000..3c1388fc37fd
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=15
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.03c-patches"
+DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+# It turns out we need Clang too
+RDEPEND="${PYTHON_DEPS}
+ >=sys-devel/llvm-13:=
+ || (
+ sys-devel/clang:13
+ sys-devel/clang:${LLVM_MAX_SLOT}
+ )
+ !app-forensics/afl"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
+
+QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-12-10 4:48 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-12-10 4:48 UTC (permalink / raw
To: gentoo-commits
commit: 5747f07d0740d33a861e3392c6353c8a631b41cf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 04:43:15 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 04:43:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5747f07d
app-forensics/aflplusplus: add 4.04c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 +
app-forensics/aflplusplus/aflplusplus-4.04c.ebuild | 86 ++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 0693d54c0bc7..cf6daae2784f 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,3 +1,5 @@
DIST aflplusplus-4.01c.tar.gz 2818445 BLAKE2B f3699c4b2fabec0ab238277c3b2c7b19b35af7a0b82b14a57c34b8579121cfa0644ef432132cf4a3382547db3faf799d2ab601512ddfb469e4a2246cdb61aa7f SHA512 d2b03ab4ff9538fe0b52aa3ed4778a6e5657d64d6f0e5f75a99305bad69c5179d6b1c882650f19a884a740577acb73dab7cee3d5c9c7b06ff2326ffeba37d1fe
DIST aflplusplus-4.03c-patches.tar.xz 4444 BLAKE2B 4eed2ee97e4f7aef987e5c931469b7bb1d85310cb101878e5e71431ac36329a07b0e05812ed1e743c6ed3ce76e10c4392f2bf7ccc98ec1537b75196c5629acfe SHA512 bcaa196640f47923be6daa65e3c5f8461eadaec3b939f2cfe0223eacc64be385c80166ec7dc0df25d0c38053a38c3efcfbc25d8387bed5c54c95a8781ed64b00
DIST aflplusplus-4.03c.tar.gz 2830718 BLAKE2B 1b55daf3c3a0a0b11c1ef0a7dd1005cfa1ec61fb54691b96519f57788233b1385b52948468f2d5beada3c58129bc0524f07aebfb25ee8cef1e5d5afd06b1233d SHA512 4bab00d964eb9d0664d97062f5da8090dfef599480f25b04d08b84e7f47676a9790fb23573f7e885b5da6ab813694f9ab26a0b5c9d341834892530558e3b83ef
+DIST aflplusplus-4.04c-patches.tar.xz 4236 BLAKE2B 86bb5d1e0da271833fc548633e08897bd681f1b575b3131d72222eeb7135f3cbdbd5580d0afc56a23639eb4621f878fd4ffdc4e0ba11b34388a99768f2529c76 SHA512 5c607b255e2d74033d5258218a907a8edcd44eab006377edee9618d3755815fbda9f5d565444e090ab0b27220675736a1eed285f92cb74122d0b9b3bcbcc0a2c
+DIST aflplusplus-4.04c.tar.gz 2832011 BLAKE2B 80a5652b0d64b4824c3b4f91bf993a8499a0c86cf878ca83c7b7afe217cc1603700d4cf7408ae40f1435251153f88e0663cabe470a06387e6664249b3a015172 SHA512 1c2e2e6677e87de2f069e1acdc2319580e488670c3d4975a0f0807da33965c4a14087a7c734195d0a47260acc91f7211b10bd905aac99bdab81145b282edb44e
diff --git a/app-forensics/aflplusplus/aflplusplus-4.04c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.04c.ebuild
new file mode 100644
index 000000000000..317591bfd4ab
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.04c.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=15
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.04c-patches"
+DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+# It turns out we need Clang too
+RDEPEND="${PYTHON_DEPS}
+ >=sys-devel/llvm-13:=
+ || (
+ sys-devel/clang:13
+ sys-devel/clang:${LLVM_MAX_SLOT}
+ )
+ !app-forensics/afl"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
+
+QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-12-10 4:48 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-12-10 4:48 UTC (permalink / raw
To: gentoo-commits
commit: d692fe5728413811fd1ffefcf6b65def1255cdf2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 04:38:04 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 04:38:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d692fe57
app-forensics/aflplusplus: drop 4.02c-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 1 -
.../aflplusplus/aflplusplus-4.02c-r1.ebuild | 85 ----------------------
2 files changed, 86 deletions(-)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 3e32b229cde6..0693d54c0bc7 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,4 +1,3 @@
DIST aflplusplus-4.01c.tar.gz 2818445 BLAKE2B f3699c4b2fabec0ab238277c3b2c7b19b35af7a0b82b14a57c34b8579121cfa0644ef432132cf4a3382547db3faf799d2ab601512ddfb469e4a2246cdb61aa7f SHA512 d2b03ab4ff9538fe0b52aa3ed4778a6e5657d64d6f0e5f75a99305bad69c5179d6b1c882650f19a884a740577acb73dab7cee3d5c9c7b06ff2326ffeba37d1fe
-DIST aflplusplus-4.02c.tar.gz 2828429 BLAKE2B 0c4d7937626a699bb6768e2f67f369508f7ec131d1170cd48f8650d8081135b466733de34e52f2ac2213c4bd13ab8936b17d3b0f8debf28e8a32ad87d9dcb55d SHA512 f5159a84e0ecd2c260d2d8ce7df33fe4704c664bdf06f193a7fef377d48646e4d921ee90d0b66c7dac02d16e6b1607c6569351aaeea9b2ee3968d22b3f583763
DIST aflplusplus-4.03c-patches.tar.xz 4444 BLAKE2B 4eed2ee97e4f7aef987e5c931469b7bb1d85310cb101878e5e71431ac36329a07b0e05812ed1e743c6ed3ce76e10c4392f2bf7ccc98ec1537b75196c5629acfe SHA512 bcaa196640f47923be6daa65e3c5f8461eadaec3b939f2cfe0223eacc64be385c80166ec7dc0df25d0c38053a38c3efcfbc25d8387bed5c54c95a8781ed64b00
DIST aflplusplus-4.03c.tar.gz 2830718 BLAKE2B 1b55daf3c3a0a0b11c1ef0a7dd1005cfa1ec61fb54691b96519f57788233b1385b52948468f2d5beada3c58129bc0524f07aebfb25ee8cef1e5d5afd06b1233d SHA512 4bab00d964eb9d0664d97062f5da8090dfef599480f25b04d08b84e7f47676a9790fb23573f7e885b5da6ab813694f9ab26a0b5c9d341834892530558e3b83ef
diff --git a/app-forensics/aflplusplus/aflplusplus-4.02c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.02c-r1.ebuild
deleted file mode 100644
index 1e726329302b..000000000000
--- a/app-forensics/aflplusplus/aflplusplus-4.02c-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=14
-inherit toolchain-funcs llvm optfeature python-single-r1
-
-DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
-HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
-SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/AFLplusplus-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests involve heavy use of LD_PRELOAD in some cases
-# This isn't compatible with sandbox
-RESTRICT="test"
-
-# It turns out we need Clang too
-RDEPEND="${PYTHON_DEPS}
- >=sys-devel/llvm-13:=
- || (
- sys-devel/clang:13
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
- !app-forensics/afl"
-DEPEND="${RDEPEND}
- test? ( dev-util/cmocka )"
-
-QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.02c-respect-flags.patch
- "${FILESDIR}"/${PN}-4.02c-no-ignore-errors-makefile.patch
- "${FILESDIR}"/${PN}-4.01c-lld-detect.patch
-)
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
- has_version -b "sys-devel/llvm:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-mymake() {
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS_FLTO="" \
- LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
- PREFIX="${EPREFIX}/usr" \
- HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
- DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8" \
- "$@"
-}
-
-src_compile() {
- mymake
-}
-
-src_test() {
- mymake test
-}
-
-src_install() {
- mymake DESTDIR="${D}" install
- dostrip -x /usr/share/afl/testcases/
-}
-
-pkg_postinst() {
- # TODO: Any others?
- optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
- optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-12-10 4:51 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-12-10 4:51 UTC (permalink / raw
To: gentoo-commits
commit: 79b66696ab36e7e43abb1d2a19b9db7618bc49a7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 04:51:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 04:51:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b66696
app-forensics/aflplusplus: Stabilize 4.03c amd64, #885133
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.03c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
index 3c1388fc37fd..ecbe0f7bd779 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-12-10 4:52 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-12-10 4:52 UTC (permalink / raw
To: gentoo-commits
commit: 5697e45b37dc458db491ba646f59d8b115e9506c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 04:52:34 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 04:52:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5697e45b
app-forensics/aflplusplus: Stabilize 4.03c arm64, #885133
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.03c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
index ecbe0f7bd779..24d7d0165394 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2022-12-10 4:52 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2022-12-10 4:52 UTC (permalink / raw
To: gentoo-commits
commit: de7fe0e6030441b3e0de05f26e7a90f2219452ce
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 04:52:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 04:52:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de7fe0e6
app-forensics/aflplusplus: allow Clang 14 (already allows 15)
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-4.04c.ebuild => aflplusplus-4.04c-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.04c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
similarity index 98%
rename from app-forensics/aflplusplus/aflplusplus-4.04c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
index 317591bfd4ab..4f564af1db6d 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.04c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
@@ -30,6 +30,7 @@ RDEPEND="${PYTHON_DEPS}
>=sys-devel/llvm-13:=
|| (
sys-devel/clang:13
+ sys-devel/clang:14
sys-devel/clang:${LLVM_MAX_SLOT}
)
!app-forensics/afl"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-01-09 9:45 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-01-09 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 927f2cef20d3fd9d7c96378a839bc60d6bd0c2dc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 9 09:44:16 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 9 09:45:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=927f2cef
app-forensics/aflplusplus: add 4.05c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 +
app-forensics/aflplusplus/aflplusplus-4.05c.ebuild | 87 ++++++++++++++++++++++
2 files changed, 89 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index cf6daae2784f..97392ef78644 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -3,3 +3,5 @@ DIST aflplusplus-4.03c-patches.tar.xz 4444 BLAKE2B 4eed2ee97e4f7aef987e5c931469b
DIST aflplusplus-4.03c.tar.gz 2830718 BLAKE2B 1b55daf3c3a0a0b11c1ef0a7dd1005cfa1ec61fb54691b96519f57788233b1385b52948468f2d5beada3c58129bc0524f07aebfb25ee8cef1e5d5afd06b1233d SHA512 4bab00d964eb9d0664d97062f5da8090dfef599480f25b04d08b84e7f47676a9790fb23573f7e885b5da6ab813694f9ab26a0b5c9d341834892530558e3b83ef
DIST aflplusplus-4.04c-patches.tar.xz 4236 BLAKE2B 86bb5d1e0da271833fc548633e08897bd681f1b575b3131d72222eeb7135f3cbdbd5580d0afc56a23639eb4621f878fd4ffdc4e0ba11b34388a99768f2529c76 SHA512 5c607b255e2d74033d5258218a907a8edcd44eab006377edee9618d3755815fbda9f5d565444e090ab0b27220675736a1eed285f92cb74122d0b9b3bcbcc0a2c
DIST aflplusplus-4.04c.tar.gz 2832011 BLAKE2B 80a5652b0d64b4824c3b4f91bf993a8499a0c86cf878ca83c7b7afe217cc1603700d4cf7408ae40f1435251153f88e0663cabe470a06387e6664249b3a015172 SHA512 1c2e2e6677e87de2f069e1acdc2319580e488670c3d4975a0f0807da33965c4a14087a7c734195d0a47260acc91f7211b10bd905aac99bdab81145b282edb44e
+DIST aflplusplus-4.05c-patches.tar.xz 4860 BLAKE2B dcc0bf2799393bb7e27c6592cf46efc19277733ae1e17b3ab5b7a60aed244ec24405ceaecb5f310ac344390a92b4348275e8a19936b8760c0f2fe74f086771b9 SHA512 7a475f433796d9b9c13c5755a11aa632174662d18e69add6531fe1cbe42d75ad514bc779e42630b0a48c9df9edcc89fe992f654812fa2281b6ffa64a1019c82c
+DIST aflplusplus-4.05c.tar.gz 2839704 BLAKE2B 31594e5c41cb057a1598a112e158360a172a512756a2cba2ec9bd78643045945c9a0f378e322c9250e75a6348b76f5cc84d8de6560e0a6a92a19f4d4b9a149eb SHA512 cb07279e4b1b2fa48a455acd551e26d9a53cf585258880aba4f26aa147b748b947b0608e5bbec4212362da3efc20183ba90b2dfa6584df93861dcca269d5ea7c
diff --git a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
new file mode 100644
index 000000000000..eac16abd0282
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=15
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.05c-patches"
+DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+# It turns out we need Clang too
+RDEPEND="${PYTHON_DEPS}
+ >=sys-devel/llvm-13:=
+ || (
+ sys-devel/clang:13
+ sys-devel/clang:14
+ sys-devel/clang:${LLVM_MAX_SLOT}
+ )
+ !app-forensics/afl"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
+
+QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-01-10 3:36 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-01-10 3:36 UTC (permalink / raw
To: gentoo-commits
commit: 95e9c79154455ff83a6d63b376c69f857c3299fa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 03:35:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 03:35:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e9c791
app-forensics/aflplusplus: enable py3.11
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.05c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
index eac16abd0282..3be15a8fa0d8 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
LLVM_MAX_SLOT=15
inherit toolchain-funcs llvm optfeature python-single-r1
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-01-27 6:23 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-01-27 6:23 UTC (permalink / raw
To: gentoo-commits
commit: 56d5417dfe5de34c49f39a985d06631363ee8d29
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 06:23:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 06:23:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d5417d
app-forensics/aflplusplus: Stabilize 4.04c-r1 amd64, #892139
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
index df8f96ad972f..fc0847fce0e0 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-03-04 5:53 Arthur Zamarin
0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-03-04 5:53 UTC (permalink / raw
To: gentoo-commits
commit: f811f965a06b9da23ffa6d7905ab454ad949d72b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 05:53:35 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 05:53:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f811f965
app-forensics/aflplusplus: Stabilize 4.05c arm64, #899518
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.05c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
index a1d36b4b2540..0838cb1a9224 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-03-04 9:34 Arthur Zamarin
0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-03-04 9:34 UTC (permalink / raw
To: gentoo-commits
commit: 62333e134ef40969de6eee7108af5ff8186527a1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 09:34:06 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 09:34:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62333e13
app-forensics/aflplusplus: Stabilize 4.05c amd64, #899518
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.05c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
index 0838cb1a9224..a4d5afa1cc42 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-04-18 5:30 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-04-18 5:30 UTC (permalink / raw
To: gentoo-commits
commit: 14914a937af2dd0daf896d6912890bcac8ac1e58
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 05:27:36 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 05:27:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14914a93
app-forensics/aflplusplus: add 4.06c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 +
app-forensics/aflplusplus/aflplusplus-4.06c.ebuild | 87 ++++++++++++++++++++++
2 files changed, 89 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 90512a2f7a66..4bfecf350b20 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -4,3 +4,5 @@ DIST aflplusplus-4.04c-patches.tar.xz 4236 BLAKE2B 86bb5d1e0da271833fc548633e088
DIST aflplusplus-4.04c.tar.gz 2832011 BLAKE2B 80a5652b0d64b4824c3b4f91bf993a8499a0c86cf878ca83c7b7afe217cc1603700d4cf7408ae40f1435251153f88e0663cabe470a06387e6664249b3a015172 SHA512 1c2e2e6677e87de2f069e1acdc2319580e488670c3d4975a0f0807da33965c4a14087a7c734195d0a47260acc91f7211b10bd905aac99bdab81145b282edb44e
DIST aflplusplus-4.05c-patches.tar.xz 4860 BLAKE2B dcc0bf2799393bb7e27c6592cf46efc19277733ae1e17b3ab5b7a60aed244ec24405ceaecb5f310ac344390a92b4348275e8a19936b8760c0f2fe74f086771b9 SHA512 7a475f433796d9b9c13c5755a11aa632174662d18e69add6531fe1cbe42d75ad514bc779e42630b0a48c9df9edcc89fe992f654812fa2281b6ffa64a1019c82c
DIST aflplusplus-4.05c.tar.gz 2839704 BLAKE2B 31594e5c41cb057a1598a112e158360a172a512756a2cba2ec9bd78643045945c9a0f378e322c9250e75a6348b76f5cc84d8de6560e0a6a92a19f4d4b9a149eb SHA512 cb07279e4b1b2fa48a455acd551e26d9a53cf585258880aba4f26aa147b748b947b0608e5bbec4212362da3efc20183ba90b2dfa6584df93861dcca269d5ea7c
+DIST aflplusplus-4.06c-patches.tar.xz 4360 BLAKE2B fb59065ef610e87d8bc822513822c150b592e0cdcf4f8f2d861b5dc4a5ded49a03b4ccc46636e24d69bdcee58f6882511f25a04cbc02565f9435c47be1b0829f SHA512 251db964ce6c7e1f59c6c1a8383c1fe4d362c7d336df4d13f0bc1f3c8583494e2b9c9f160fdd544174cc784afc1ae100310109d0d6a30c361b82f3ab50350afa
+DIST aflplusplus-4.06c.tar.gz 2859398 BLAKE2B bf26d6be364d01f91a5b60e2bca1ab48e2fed04571bbaee2fd74c31af1c3d53295808c5372bda8dc941232349e9113e09f2d0e8cadc5917fc4fc52e24bad9d60 SHA512 b585b244218e70e1120a81a5fbb7401d277174be13c5d5d507130ff7a7b25723ff29c2b3c820466ba847ff53ef016b23781edaccdfcdce904f6b93ec4d860140
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
new file mode 100644
index 000000000000..2d81610f1f76
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+LLVM_MAX_SLOT=16
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.06c-patches"
+DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+# It turns out we need Clang too
+RDEPEND="${PYTHON_DEPS}
+ >=sys-devel/llvm-13:=
+ || (
+ sys-devel/clang:13
+ sys-devel/clang:14
+ sys-devel/clang:${LLVM_MAX_SLOT}
+ )
+ !app-forensics/afl"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
+
+QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-09 13:48 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-06-09 13:48 UTC (permalink / raw
To: gentoo-commits
commit: 59720c5039036cda5324feca51f2774b0814f16a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 9 13:47:23 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 9 13:47:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59720c50
app-forensics/aflplusplus: Stabilize 4.06c amd64, #908115
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.06c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
index 2d81610f1f76..e0f9365c1f14 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-09 14:01 Arthur Zamarin
0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-06-09 14:01 UTC (permalink / raw
To: gentoo-commits
commit: 47308205bd510289c99877526ccdd6131868f767
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 9 14:01:17 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 9 14:01:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47308205
app-forensics/aflplusplus: Stabilize 4.06c arm64, #908115
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.06c.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
index e0f9365c1f14..43743137e3f6 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-10 13:47 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-06-10 13:47 UTC (permalink / raw
To: gentoo-commits
commit: ed112e4a73541375344231395d4f74d3dd7b41c7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 13:46:52 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 13:46:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed112e4a
app-forensics/aflplusplus: drop 4.03c, 4.04c-r1, 4.05c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 6 --
app-forensics/aflplusplus/aflplusplus-4.03c.ebuild | 86 ---------------------
.../aflplusplus/aflplusplus-4.04c-r1.ebuild | 87 ----------------------
app-forensics/aflplusplus/aflplusplus-4.05c.ebuild | 87 ----------------------
4 files changed, 266 deletions(-)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 4bfecf350b20..95113c56470f 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,8 +1,2 @@
-DIST aflplusplus-4.03c-patches.tar.xz 4444 BLAKE2B 4eed2ee97e4f7aef987e5c931469b7bb1d85310cb101878e5e71431ac36329a07b0e05812ed1e743c6ed3ce76e10c4392f2bf7ccc98ec1537b75196c5629acfe SHA512 bcaa196640f47923be6daa65e3c5f8461eadaec3b939f2cfe0223eacc64be385c80166ec7dc0df25d0c38053a38c3efcfbc25d8387bed5c54c95a8781ed64b00
-DIST aflplusplus-4.03c.tar.gz 2830718 BLAKE2B 1b55daf3c3a0a0b11c1ef0a7dd1005cfa1ec61fb54691b96519f57788233b1385b52948468f2d5beada3c58129bc0524f07aebfb25ee8cef1e5d5afd06b1233d SHA512 4bab00d964eb9d0664d97062f5da8090dfef599480f25b04d08b84e7f47676a9790fb23573f7e885b5da6ab813694f9ab26a0b5c9d341834892530558e3b83ef
-DIST aflplusplus-4.04c-patches.tar.xz 4236 BLAKE2B 86bb5d1e0da271833fc548633e08897bd681f1b575b3131d72222eeb7135f3cbdbd5580d0afc56a23639eb4621f878fd4ffdc4e0ba11b34388a99768f2529c76 SHA512 5c607b255e2d74033d5258218a907a8edcd44eab006377edee9618d3755815fbda9f5d565444e090ab0b27220675736a1eed285f92cb74122d0b9b3bcbcc0a2c
-DIST aflplusplus-4.04c.tar.gz 2832011 BLAKE2B 80a5652b0d64b4824c3b4f91bf993a8499a0c86cf878ca83c7b7afe217cc1603700d4cf7408ae40f1435251153f88e0663cabe470a06387e6664249b3a015172 SHA512 1c2e2e6677e87de2f069e1acdc2319580e488670c3d4975a0f0807da33965c4a14087a7c734195d0a47260acc91f7211b10bd905aac99bdab81145b282edb44e
-DIST aflplusplus-4.05c-patches.tar.xz 4860 BLAKE2B dcc0bf2799393bb7e27c6592cf46efc19277733ae1e17b3ab5b7a60aed244ec24405ceaecb5f310ac344390a92b4348275e8a19936b8760c0f2fe74f086771b9 SHA512 7a475f433796d9b9c13c5755a11aa632174662d18e69add6531fe1cbe42d75ad514bc779e42630b0a48c9df9edcc89fe992f654812fa2281b6ffa64a1019c82c
-DIST aflplusplus-4.05c.tar.gz 2839704 BLAKE2B 31594e5c41cb057a1598a112e158360a172a512756a2cba2ec9bd78643045945c9a0f378e322c9250e75a6348b76f5cc84d8de6560e0a6a92a19f4d4b9a149eb SHA512 cb07279e4b1b2fa48a455acd551e26d9a53cf585258880aba4f26aa147b748b947b0608e5bbec4212362da3efc20183ba90b2dfa6584df93861dcca269d5ea7c
DIST aflplusplus-4.06c-patches.tar.xz 4360 BLAKE2B fb59065ef610e87d8bc822513822c150b592e0cdcf4f8f2d861b5dc4a5ded49a03b4ccc46636e24d69bdcee58f6882511f25a04cbc02565f9435c47be1b0829f SHA512 251db964ce6c7e1f59c6c1a8383c1fe4d362c7d336df4d13f0bc1f3c8583494e2b9c9f160fdd544174cc784afc1ae100310109d0d6a30c361b82f3ab50350afa
DIST aflplusplus-4.06c.tar.gz 2859398 BLAKE2B bf26d6be364d01f91a5b60e2bca1ab48e2fed04571bbaee2fd74c31af1c3d53295808c5372bda8dc941232349e9113e09f2d0e8cadc5917fc4fc52e24bad9d60 SHA512 b585b244218e70e1120a81a5fbb7401d277174be13c5d5d507130ff7a7b25723ff29c2b3c820466ba847ff53ef016b23781edaccdfcdce904f6b93ec4d860140
diff --git a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
deleted file mode 100644
index d8c85c6f9398..000000000000
--- a/app-forensics/aflplusplus/aflplusplus-4.03c.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-LLVM_MAX_SLOT=15
-inherit toolchain-funcs llvm optfeature python-single-r1
-
-AFL_PATCHSET="${PN}-4.03c-patches"
-DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
-HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
-SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
-S="${WORKDIR}"/AFLplusplus-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests involve heavy use of LD_PRELOAD in some cases
-# This isn't compatible with sandbox
-RESTRICT="test"
-
-# It turns out we need Clang too
-RDEPEND="${PYTHON_DEPS}
- >=sys-devel/llvm-13:=
- || (
- sys-devel/clang:13
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
- !app-forensics/afl"
-DEPEND="${RDEPEND}
- test? ( dev-util/cmocka )"
-
-QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
-QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
-
-PATCHES=(
- "${WORKDIR}"/${AFL_PATCHSET}
-)
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
- has_version -b "sys-devel/llvm:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-mymake() {
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS_FLTO="" \
- LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
- PREFIX="${EPREFIX}/usr" \
- HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
- DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8" \
- "$@"
-}
-
-src_compile() {
- mymake
-}
-
-src_test() {
- mymake test
-}
-
-src_install() {
- mymake DESTDIR="${D}" install
- dostrip -x /usr/share/afl/testcases/
-}
-
-pkg_postinst() {
- # TODO: Any others?
- optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
- optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
-}
diff --git a/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
deleted file mode 100644
index a043031da627..000000000000
--- a/app-forensics/aflplusplus/aflplusplus-4.04c-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-LLVM_MAX_SLOT=15
-inherit toolchain-funcs llvm optfeature python-single-r1
-
-AFL_PATCHSET="${PN}-4.04c-patches"
-DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
-HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
-SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
-S="${WORKDIR}"/AFLplusplus-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests involve heavy use of LD_PRELOAD in some cases
-# This isn't compatible with sandbox
-RESTRICT="test"
-
-# It turns out we need Clang too
-RDEPEND="${PYTHON_DEPS}
- >=sys-devel/llvm-13:=
- || (
- sys-devel/clang:13
- sys-devel/clang:14
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
- !app-forensics/afl"
-DEPEND="${RDEPEND}
- test? ( dev-util/cmocka )"
-
-QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
-QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
-
-PATCHES=(
- "${WORKDIR}"/${AFL_PATCHSET}
-)
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
- has_version -b "sys-devel/llvm:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-mymake() {
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS_FLTO="" \
- LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
- PREFIX="${EPREFIX}/usr" \
- HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
- DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8" \
- "$@"
-}
-
-src_compile() {
- mymake
-}
-
-src_test() {
- mymake test
-}
-
-src_install() {
- mymake DESTDIR="${D}" install
- dostrip -x /usr/share/afl/testcases/
-}
-
-pkg_postinst() {
- # TODO: Any others?
- optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
- optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
-}
diff --git a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
deleted file mode 100644
index a4d5afa1cc42..000000000000
--- a/app-forensics/aflplusplus/aflplusplus-4.05c.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-LLVM_MAX_SLOT=15
-inherit toolchain-funcs llvm optfeature python-single-r1
-
-AFL_PATCHSET="${PN}-4.05c-patches"
-DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
-HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
-SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
-S="${WORKDIR}"/AFLplusplus-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests involve heavy use of LD_PRELOAD in some cases
-# This isn't compatible with sandbox
-RESTRICT="test"
-
-# It turns out we need Clang too
-RDEPEND="${PYTHON_DEPS}
- >=sys-devel/llvm-13:=
- || (
- sys-devel/clang:13
- sys-devel/clang:14
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
- !app-forensics/afl"
-DEPEND="${RDEPEND}
- test? ( dev-util/cmocka )"
-
-QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
-QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
-
-PATCHES=(
- "${WORKDIR}"/${AFL_PATCHSET}
-)
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
- has_version -b "sys-devel/llvm:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-mymake() {
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS_FLTO="" \
- LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
- PREFIX="${EPREFIX}/usr" \
- HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
- DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8" \
- "$@"
-}
-
-src_compile() {
- mymake
-}
-
-src_test() {
- mymake test
-}
-
-src_install() {
- mymake DESTDIR="${D}" install
- dostrip -x /usr/share/afl/testcases/
-}
-
-pkg_postinst() {
- # TODO: Any others?
- optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
- optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-10 13:48 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-06-10 13:48 UTC (permalink / raw
To: gentoo-commits
commit: 053958cf506407561ca316635d12b8826b256341
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 13:48:10 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 13:48:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053958cf
app-forensics/aflplusplus: disable py3.9
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.06c.ebuild | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
index 43743137e3f6..f86e69395a77 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
LLVM_MAX_SLOT=16
inherit toolchain-funcs llvm optfeature python-single-r1
@@ -25,8 +25,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# This isn't compatible with sandbox
RESTRICT="test"
-# It turns out we need Clang too
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
+ ${PYTHON_DEPS}
>=sys-devel/llvm-13:=
|| (
sys-devel/clang:13
@@ -34,8 +34,10 @@ RDEPEND="${PYTHON_DEPS}
sys-devel/clang:${LLVM_MAX_SLOT}
)
!app-forensics/afl"
-DEPEND="${RDEPEND}
- test? ( dev-util/cmocka )"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-17 5:42 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-06-17 5:42 UTC (permalink / raw
To: gentoo-commits
commit: 5546101726cf707f5ea1cc8094f294b56e30b66d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 05:14:48 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 05:40:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55461017
app-forensics/aflplusplus: fix LLVM dep
15 was missing. Thanks to Anatolii for reporting by email.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-4.06c.ebuild => aflplusplus-4.06c-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c-r1.ebuild
similarity index 97%
rename from app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-4.06c-r1.ebuild
index f86e69395a77..e7be31befa79 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.06c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.06c-r1.ebuild
@@ -27,10 +27,10 @@ RESTRICT="test"
RDEPEND="
${PYTHON_DEPS}
- >=sys-devel/llvm-13:=
+ >=sys-devel/llvm-14:=
|| (
- sys-devel/clang:13
sys-devel/clang:14
+ sys-devel/clang:15
sys-devel/clang:${LLVM_MAX_SLOT}
)
!app-forensics/afl"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-17 5:42 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-06-17 5:42 UTC (permalink / raw
To: gentoo-commits
commit: e64d2bab0141d9ac2fac6503cc300257826816d1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 05:23:44 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 05:40:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64d2bab
app-forensics/aflplusplus: add 4.07c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 +
app-forensics/aflplusplus/aflplusplus-4.07c.ebuild | 92 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 95113c56470f..d97648b84c54 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,2 +1,4 @@
DIST aflplusplus-4.06c-patches.tar.xz 4360 BLAKE2B fb59065ef610e87d8bc822513822c150b592e0cdcf4f8f2d861b5dc4a5ded49a03b4ccc46636e24d69bdcee58f6882511f25a04cbc02565f9435c47be1b0829f SHA512 251db964ce6c7e1f59c6c1a8383c1fe4d362c7d336df4d13f0bc1f3c8583494e2b9c9f160fdd544174cc784afc1ae100310109d0d6a30c361b82f3ab50350afa
DIST aflplusplus-4.06c.tar.gz 2859398 BLAKE2B bf26d6be364d01f91a5b60e2bca1ab48e2fed04571bbaee2fd74c31af1c3d53295808c5372bda8dc941232349e9113e09f2d0e8cadc5917fc4fc52e24bad9d60 SHA512 b585b244218e70e1120a81a5fbb7401d277174be13c5d5d507130ff7a7b25723ff29c2b3c820466ba847ff53ef016b23781edaccdfcdce904f6b93ec4d860140
+DIST aflplusplus-4.07c-patches.tar.xz 4788 BLAKE2B de109198fbabfce2554459fee6a14f66002a952f5584ff265a6ff7d7646f520ed53a6d9c8c125a05eb5a4aa0c1cc675dca82647ad4c0965cdab10d3aa2f09467 SHA512 0ea4279b261d55cf209e32ca4b7fd7dc1181ec902dd7e4c7f36854d84f14037e643a543dcbb849927b41919c527303fc5877c9fab5b09c8988fbfab499b8f8bc
+DIST aflplusplus-4.07c.tar.gz 2878659 BLAKE2B c3c4c5507e29ed8015784378a13a55cb6b389dec915979749b1869496c16366ce876f1eecc91eb09d51cc58266a92296218cd5eda2a201f5cf4faaa2ea61942f SHA512 c62fce112d59ef5ffb847adab9a7ff8486d44e6316a391392979da19a8160b55f9af7f75fd39cdc98997b3e166f4f6a33ddf31b827c9414a1392657701ecb5e8
diff --git a/app-forensics/aflplusplus/aflplusplus-4.07c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.07c.ebuild
new file mode 100644
index 000000000000..0cc23849eada
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.07c.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+LLVM_MAX_SLOT=16
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.07c-patches"
+DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=sys-devel/llvm-14:=
+ || (
+ sys-devel/clang:14
+ sys-devel/clang:15
+ sys-devel/clang:${LLVM_MAX_SLOT}
+ )
+ !app-forensics/afl
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+
+QA_FLAGS_IGNORED="
+ usr/lib.*/afl/afl-gcc-cmplog-pass.so
+ usr/lib.*/afl/afl-gcc-cmptrs-pass.so
+"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-06-17 23:17 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-06-17 23:17 UTC (permalink / raw
To: gentoo-commits
commit: bf6b6efa2708673ac4630fd7cd7ab51e544046f2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 23:16:01 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 23:17:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf6b6efa
app-forensics/aflplusplus: fix LLVM dep
We don't want to bind to the latest one around, as we're not even using it.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{aflplusplus-4.06c-r1.ebuild => aflplusplus-4.06c-r2.ebuild} | 2 +-
.../{aflplusplus-4.07c.ebuild => aflplusplus-4.07c-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c-r2.ebuild
similarity index 97%
rename from app-forensics/aflplusplus/aflplusplus-4.06c-r1.ebuild
rename to app-forensics/aflplusplus/aflplusplus-4.06c-r2.ebuild
index e7be31befa79..8c9982b8702c 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.06c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.06c-r2.ebuild
@@ -27,7 +27,7 @@ RESTRICT="test"
RDEPEND="
${PYTHON_DEPS}
- >=sys-devel/llvm-14:=
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
|| (
sys-devel/clang:14
sys-devel/clang:15
diff --git a/app-forensics/aflplusplus/aflplusplus-4.07c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
similarity index 97%
rename from app-forensics/aflplusplus/aflplusplus-4.07c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
index 0cc23849eada..289f971a3c75 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.07c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
@@ -26,7 +26,7 @@ RESTRICT="test"
RDEPEND="
${PYTHON_DEPS}
- >=sys-devel/llvm-14:=
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
|| (
sys-devel/clang:14
sys-devel/clang:15
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-07-24 3:19 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-07-24 3:19 UTC (permalink / raw
To: gentoo-commits
commit: 71f37df26548eb587de378a6c22d193d79aa9f36
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 03:18:59 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 03:18:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71f37df2
app-forensics/aflplusplus: Stabilize 4.07c-r1 arm64, #910957
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
index 289f971a3c75..c3f7e68dccc7 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-07-24 3:57 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-07-24 3:57 UTC (permalink / raw
To: gentoo-commits
commit: 0078cce260e510c32e0801c4b6798860eab236d2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 03:55:34 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 03:55:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0078cce2
app-forensics/aflplusplus: Stabilize 4.07c-r1 amd64, #910957
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
index c3f7e68dccc7..81389b9c438e 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-11-25 8:38 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-11-25 8:38 UTC (permalink / raw
To: gentoo-commits
commit: 79b6097b68752e2763eaca4583efd27abb5bf4fd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 07:02:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 08:36:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b6097b
app-forensics/aflplusplus: drop 4.06c-r2
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 -
.../aflplusplus/aflplusplus-4.06c-r2.ebuild | 89 ----------------------
2 files changed, 91 deletions(-)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index d97648b84c54..802e3724f442 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,4 +1,2 @@
-DIST aflplusplus-4.06c-patches.tar.xz 4360 BLAKE2B fb59065ef610e87d8bc822513822c150b592e0cdcf4f8f2d861b5dc4a5ded49a03b4ccc46636e24d69bdcee58f6882511f25a04cbc02565f9435c47be1b0829f SHA512 251db964ce6c7e1f59c6c1a8383c1fe4d362c7d336df4d13f0bc1f3c8583494e2b9c9f160fdd544174cc784afc1ae100310109d0d6a30c361b82f3ab50350afa
-DIST aflplusplus-4.06c.tar.gz 2859398 BLAKE2B bf26d6be364d01f91a5b60e2bca1ab48e2fed04571bbaee2fd74c31af1c3d53295808c5372bda8dc941232349e9113e09f2d0e8cadc5917fc4fc52e24bad9d60 SHA512 b585b244218e70e1120a81a5fbb7401d277174be13c5d5d507130ff7a7b25723ff29c2b3c820466ba847ff53ef016b23781edaccdfcdce904f6b93ec4d860140
DIST aflplusplus-4.07c-patches.tar.xz 4788 BLAKE2B de109198fbabfce2554459fee6a14f66002a952f5584ff265a6ff7d7646f520ed53a6d9c8c125a05eb5a4aa0c1cc675dca82647ad4c0965cdab10d3aa2f09467 SHA512 0ea4279b261d55cf209e32ca4b7fd7dc1181ec902dd7e4c7f36854d84f14037e643a543dcbb849927b41919c527303fc5877c9fab5b09c8988fbfab499b8f8bc
DIST aflplusplus-4.07c.tar.gz 2878659 BLAKE2B c3c4c5507e29ed8015784378a13a55cb6b389dec915979749b1869496c16366ce876f1eecc91eb09d51cc58266a92296218cd5eda2a201f5cf4faaa2ea61942f SHA512 c62fce112d59ef5ffb847adab9a7ff8486d44e6316a391392979da19a8160b55f9af7f75fd39cdc98997b3e166f4f6a33ddf31b827c9414a1392657701ecb5e8
diff --git a/app-forensics/aflplusplus/aflplusplus-4.06c-r2.ebuild b/app-forensics/aflplusplus/aflplusplus-4.06c-r2.ebuild
deleted file mode 100644
index 8c9982b8702c..000000000000
--- a/app-forensics/aflplusplus/aflplusplus-4.06c-r2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-LLVM_MAX_SLOT=16
-inherit toolchain-funcs llvm optfeature python-single-r1
-
-AFL_PATCHSET="${PN}-4.06c-patches"
-DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
-HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
-SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
-S="${WORKDIR}"/AFLplusplus-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests involve heavy use of LD_PRELOAD in some cases
-# This isn't compatible with sandbox
-RESTRICT="test"
-
-RDEPEND="
- ${PYTHON_DEPS}
- <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
- || (
- sys-devel/clang:14
- sys-devel/clang:15
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
- !app-forensics/afl"
-DEPEND="
- ${RDEPEND}
- test? ( dev-util/cmocka )
-"
-
-QA_FLAGS_IGNORED="afl-gcc-cmplog-pass.so afl-gcc-cmptrs-pass.so"
-QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
-
-PATCHES=(
- "${WORKDIR}"/${AFL_PATCHSET}
-)
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
- has_version -b "sys-devel/llvm:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-mymake() {
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS_FLTO="" \
- LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
- PREFIX="${EPREFIX}/usr" \
- HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
- DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8" \
- "$@"
-}
-
-src_compile() {
- mymake
-}
-
-src_test() {
- mymake test
-}
-
-src_install() {
- mymake DESTDIR="${D}" install
- dostrip -x /usr/share/afl/testcases/
-}
-
-pkg_postinst() {
- # TODO: Any others?
- optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
- optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-11-25 8:38 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-11-25 8:38 UTC (permalink / raw
To: gentoo-commits
commit: 5d8e685c156239bb2a4ada4282cb896ca0d7882b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 07:22:54 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 08:36:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8e685c
app-forensics/aflplusplus: add 4.08c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 1 +
app-forensics/aflplusplus/aflplusplus-4.08c.ebuild | 92 ++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 802e3724f442..1d808f455616 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,2 +1,3 @@
DIST aflplusplus-4.07c-patches.tar.xz 4788 BLAKE2B de109198fbabfce2554459fee6a14f66002a952f5584ff265a6ff7d7646f520ed53a6d9c8c125a05eb5a4aa0c1cc675dca82647ad4c0965cdab10d3aa2f09467 SHA512 0ea4279b261d55cf209e32ca4b7fd7dc1181ec902dd7e4c7f36854d84f14037e643a543dcbb849927b41919c527303fc5877c9fab5b09c8988fbfab499b8f8bc
DIST aflplusplus-4.07c.tar.gz 2878659 BLAKE2B c3c4c5507e29ed8015784378a13a55cb6b389dec915979749b1869496c16366ce876f1eecc91eb09d51cc58266a92296218cd5eda2a201f5cf4faaa2ea61942f SHA512 c62fce112d59ef5ffb847adab9a7ff8486d44e6316a391392979da19a8160b55f9af7f75fd39cdc98997b3e166f4f6a33ddf31b827c9414a1392657701ecb5e8
+DIST aflplusplus-4.08c.tar.gz 2894794 BLAKE2B 5576ec54969c7ae10b05fe10320581b348f989c1bc412bd63b2ca7ecb3bd1782a90c2660d971375667f6dd820f9035d7abb2207f59a1aaa5e7640d352eaa5757 SHA512 52c35ed544db8be778b79a64977fcc74092b541c4c07a788b20f4b9e8db95ff9c52c997ebf6f5a1056f962f3551df06a5eca02679bc2b71bb9d8944c1f77984a
diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild
new file mode 100644
index 000000000000..51cd62ea7a29
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+LLVM_MAX_SLOT=17
+inherit toolchain-funcs llvm optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.07c-patches"
+DESCRIPTION="Fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
+ || (
+ sys-devel/clang:14
+ sys-devel/clang:15
+ sys-devel/clang:${LLVM_MAX_SLOT}
+ )
+ !app-forensics/afl
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+
+QA_FLAGS_IGNORED="
+ usr/lib.*/afl/afl-gcc-cmplog-pass.so
+ usr/lib.*/afl/afl-gcc-cmptrs-pass.so
+"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
+ has_version -b "sys-devel/llvm:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-12-04 1:54 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-12-04 1:54 UTC (permalink / raw
To: gentoo-commits
commit: 7edacb6ebeecfe51254eb8659a5a923799085742
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 4 01:53:23 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 4 01:53:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edacb6e
app-forensics/aflplusplus: allow LLVM 16 again
Reported by toralf/dwfreed. Should really consider some helper for this in llvm.eclass
I think.
Signed-off-by: Sam James <sam <AT> gentoo.org>
...splus-4.08c.ebuild => aflplusplus-4.08c-r1.ebuild} | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
similarity index 89%
rename from app-forensics/aflplusplus/aflplusplus-4.08c.ebuild
rename to app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
index 51cd62ea7a29..2451f727113e 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
@@ -5,6 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
LLVM_MAX_SLOT=17
+LLVM_MIN_SLOT=14
inherit toolchain-funcs llvm optfeature python-single-r1
AFL_PATCHSET="${PN}-4.07c-patches"
@@ -24,14 +25,20 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# This isn't compatible with sandbox
RESTRICT="test"
-RDEPEND="
- ${PYTHON_DEPS}
+LLVM_DEPS="
<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
|| (
- sys-devel/clang:14
- sys-devel/clang:15
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
+"
+# We go downwards as Portage prefers left-most in || ( .. )
+for ((i=${LLVM_MAX_SLOT}; i >= ${LLVM_MIN_SLOT}; i--)) ; do
+ LLVM_DEPS+=" sys-devel/clang:${i}"
+done
+LLVM_DEPS+=" )"
+unset i
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ ${LLVM_DEPS}
!app-forensics/afl
"
DEPEND="
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-12-15 21:05 Arthur Zamarin
0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-12-15 21:05 UTC (permalink / raw
To: gentoo-commits
commit: 8b6ea80f034f24dc89b735f24fe7606dd629bba0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 21:05:43 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 21:05:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6ea80f
app-forensics/aflplusplus: Stabilize 4.08c-r1 amd64, #920047
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
index 2451f727113e..e56e8651fb61 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2023-12-15 23:03 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2023-12-15 23:03 UTC (permalink / raw
To: gentoo-commits
commit: b0429aad3f1f49b51eda7d42f6495e685f11ecdc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 23:03:38 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 23:03:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0429aad
app-forensics/aflplusplus: Stabilize 4.08c-r1 arm64, #920047
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
index e56e8651fb61..f4311f8fd156 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/AFLplusplus-${PV}
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2024-10-03 9:35 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2024-10-03 9:35 UTC (permalink / raw
To: gentoo-commits
commit: ab7e9308da3172c57562d0d582065ecb37dd2271
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 3 09:25:24 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 3 09:35:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7e9308
app-forensics/aflplusplus: drop 4.07c-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 1 -
.../aflplusplus/aflplusplus-4.07c-r1.ebuild | 92 ----------------------
2 files changed, 93 deletions(-)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index 1d808f455616..bf9dc0fa2be8 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,3 +1,2 @@
DIST aflplusplus-4.07c-patches.tar.xz 4788 BLAKE2B de109198fbabfce2554459fee6a14f66002a952f5584ff265a6ff7d7646f520ed53a6d9c8c125a05eb5a4aa0c1cc675dca82647ad4c0965cdab10d3aa2f09467 SHA512 0ea4279b261d55cf209e32ca4b7fd7dc1181ec902dd7e4c7f36854d84f14037e643a543dcbb849927b41919c527303fc5877c9fab5b09c8988fbfab499b8f8bc
-DIST aflplusplus-4.07c.tar.gz 2878659 BLAKE2B c3c4c5507e29ed8015784378a13a55cb6b389dec915979749b1869496c16366ce876f1eecc91eb09d51cc58266a92296218cd5eda2a201f5cf4faaa2ea61942f SHA512 c62fce112d59ef5ffb847adab9a7ff8486d44e6316a391392979da19a8160b55f9af7f75fd39cdc98997b3e166f4f6a33ddf31b827c9414a1392657701ecb5e8
DIST aflplusplus-4.08c.tar.gz 2894794 BLAKE2B 5576ec54969c7ae10b05fe10320581b348f989c1bc412bd63b2ca7ecb3bd1782a90c2660d971375667f6dd820f9035d7abb2207f59a1aaa5e7640d352eaa5757 SHA512 52c35ed544db8be778b79a64977fcc74092b541c4c07a788b20f4b9e8db95ff9c52c997ebf6f5a1056f962f3551df06a5eca02679bc2b71bb9d8944c1f77984a
diff --git a/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
deleted file mode 100644
index 81389b9c438e..000000000000
--- a/app-forensics/aflplusplus/aflplusplus-4.07c-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-LLVM_MAX_SLOT=16
-inherit toolchain-funcs llvm optfeature python-single-r1
-
-AFL_PATCHSET="${PN}-4.07c-patches"
-DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer"
-HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
-SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
-S="${WORKDIR}"/AFLplusplus-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests involve heavy use of LD_PRELOAD in some cases
-# This isn't compatible with sandbox
-RESTRICT="test"
-
-RDEPEND="
- ${PYTHON_DEPS}
- <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
- || (
- sys-devel/clang:14
- sys-devel/clang:15
- sys-devel/clang:${LLVM_MAX_SLOT}
- )
- !app-forensics/afl
-"
-DEPEND="
- ${RDEPEND}
- test? ( dev-util/cmocka )
-"
-
-QA_FLAGS_IGNORED="
- usr/lib.*/afl/afl-gcc-cmplog-pass.so
- usr/lib.*/afl/afl-gcc-cmptrs-pass.so
-"
-QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
-
-PATCHES=(
- "${WORKDIR}"/${AFL_PATCHSET}
-)
-
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}" && \
- has_version -b "sys-devel/llvm:${LLVM_SLOT}"
-}
-
-pkg_setup() {
- llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-mymake() {
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS_FLTO="" \
- LLVM_CONFIG="$(get_llvm_prefix ${LLVM_MAX_SLOT})"/bin/llvm-config \
- PREFIX="${EPREFIX}/usr" \
- HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
- DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
- MAN_PATH="${EPREFIX}/usr/share/man/man8" \
- "$@"
-}
-
-src_compile() {
- mymake
-}
-
-src_test() {
- mymake test
-}
-
-src_install() {
- mymake DESTDIR="${D}" install
- dostrip -x /usr/share/afl/testcases/
-}
-
-pkg_postinst() {
- # TODO: Any others?
- optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
- optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2024-10-03 9:35 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2024-10-03 9:35 UTC (permalink / raw
To: gentoo-commits
commit: ded73ffc452f59c9d777691f58a6a10964875472
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 3 09:26:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 3 09:35:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded73ffc
app-forensics/aflplusplus: enable py3.13
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
index f4311f8fd156..0431fd829024 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
LLVM_MAX_SLOT=17
LLVM_MIN_SLOT=14
inherit toolchain-funcs llvm optfeature python-single-r1
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2024-10-05 2:23 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2024-10-05 2:23 UTC (permalink / raw
To: gentoo-commits
commit: d7386e01cee302b22b0d2c12f7d7083dc54538b0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 02:21:37 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 02:21:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7386e01
app-forensics/aflplusplus: add 4.21c
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/Manifest | 2 +
app-forensics/aflplusplus/aflplusplus-4.21c.ebuild | 94 ++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest
index bf9dc0fa2be8..f96d174d16ab 100644
--- a/app-forensics/aflplusplus/Manifest
+++ b/app-forensics/aflplusplus/Manifest
@@ -1,2 +1,4 @@
DIST aflplusplus-4.07c-patches.tar.xz 4788 BLAKE2B de109198fbabfce2554459fee6a14f66002a952f5584ff265a6ff7d7646f520ed53a6d9c8c125a05eb5a4aa0c1cc675dca82647ad4c0965cdab10d3aa2f09467 SHA512 0ea4279b261d55cf209e32ca4b7fd7dc1181ec902dd7e4c7f36854d84f14037e643a543dcbb849927b41919c527303fc5877c9fab5b09c8988fbfab499b8f8bc
DIST aflplusplus-4.08c.tar.gz 2894794 BLAKE2B 5576ec54969c7ae10b05fe10320581b348f989c1bc412bd63b2ca7ecb3bd1782a90c2660d971375667f6dd820f9035d7abb2207f59a1aaa5e7640d352eaa5757 SHA512 52c35ed544db8be778b79a64977fcc74092b541c4c07a788b20f4b9e8db95ff9c52c997ebf6f5a1056f962f3551df06a5eca02679bc2b71bb9d8944c1f77984a
+DIST aflplusplus-4.21c-patches.tar.xz 4932 BLAKE2B 8d53291a6d26ecc3d08fb4ca2711544e16c393def9fcb383d4eeb1d67d6bcd531788907ebeac2413e7fed5af5d56f363c6c4d766453e1d8de482cb6d285164ca SHA512 10322ed8d4549ccd2ee85fee00ffea712195858a004344424c31ebe4e4e8d3caf03f0d81d5cb38365418ee1e96288ba44504cb41a66644076e2cb46527f111fc
+DIST aflplusplus-4.21c.tar.gz 3004235 BLAKE2B c182260ba25a8a7a87b91ece5b3ea6aafba09b3361259361d9be24b7c5dd90430403a3170ed9397edaa714a45f62de26f324aab005a27a44fffce2708bb366e5 SHA512 cb58d58561ac814e07e9b5b735fade42b977fb1b92a63f1d7a66a5809203e83acf805ccfdc8ce29c9a3b374a189690010ca3d8ae20e261680751cea3c4841777
diff --git a/app-forensics/aflplusplus/aflplusplus-4.21c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.21c.ebuild
new file mode 100644
index 000000000000..f1979de0556c
--- /dev/null
+++ b/app-forensics/aflplusplus/aflplusplus-4.21c.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..19} )
+PYTHON_COMPAT=( python3_{10..13} )
+inherit toolchain-funcs llvm-r1 optfeature python-single-r1
+
+AFL_PATCHSET="${PN}-4.21c-patches"
+DESCRIPTION="Fork of AFL, the popular compile-time instrumentation fuzzer"
+HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus"
+SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${AFL_PATCHSET}.tar.xz"
+S="${WORKDIR}"/AFLplusplus-${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests involve heavy use of LD_PRELOAD in some cases
+# This isn't compatible with sandbox
+RESTRICT="test"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}=
+ sys-devel/llvm:${LLVM_SLOT}=
+ ')
+ !app-forensics/afl
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+
+QA_FLAGS_IGNORED="
+ usr/lib.*/afl/afl-gcc-cmplog-pass.so
+ usr/lib.*/afl/afl-gcc-cmptrs-pass.so
+"
+QA_PREBUILT="usr/share/afl/testcases/others/elf/small_exec.elf"
+
+PATCHES=(
+ "${WORKDIR}"/${AFL_PATCHSET}
+)
+
+pkg_setup() {
+ llvm-r1_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+mymake() {
+ # afl-fuzz spews garbage to stdout if the environment contains any
+ # variables whose name beginning with USE_ (including the underscore),
+ # regardless of their value (even if empty!). The ebuild environment
+ # contains several such variables and the garbage that gets printed
+ # ends up in the generated man page.
+ #
+ # We can work around the problem by unsetting all these variables when
+ # running make.
+ local badvars=("${!USE_@}")
+
+ env "${badvars[@]/#/-u}" emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS_FLTO="" \
+ PREFIX="${EPREFIX}/usr" \
+ HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
+ DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \
+ MAN_PATH="${EPREFIX}/usr/share/man/man8" \
+ "$@"
+}
+
+src_compile() {
+ mymake
+}
+
+src_test() {
+ mymake test
+}
+
+src_install() {
+ mymake DESTDIR="${D}" install
+ dostrip -x /usr/share/afl/testcases/
+}
+
+pkg_postinst() {
+ # TODO: Any others?
+ optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
+ optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/
@ 2024-10-05 2:23 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2024-10-05 2:23 UTC (permalink / raw
To: gentoo-commits
commit: b57ec2cd26d3ca4951dbaad3ebdb3915d0c6e78c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 02:08:42 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 02:08:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57ec2cd
app-forensics/aflplusplus: fix man page
Closes: https://bugs.gentoo.org/940252
Thanks-to: Nick Bowler <nbowler <AT> draconx.ca>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
index 0431fd829024..09e9bd1defec 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild
@@ -67,7 +67,17 @@ pkg_setup() {
}
mymake() {
- emake \
+ # afl-fuzz spews garbage to stdout if the environment contains any
+ # variables whose name beginning with USE_ (including the underscore),
+ # regardless of their value (even if empty!). The ebuild environment
+ # contains several such variables and the garbage that gets printed
+ # ends up in the generated man page.
+ #
+ # We can work around the problem by unsetting all these variables when
+ # running make.
+ local badvars=("${!USE_@}")
+
+ env "${badvars[@]/#/-u}" emake \
CC="$(tc-getCC)" \
CXX="$(tc-getCXX)" \
CFLAGS_FLTO="" \
^ permalink raw reply related [flat|nested] 47+ messages in thread
end of thread, other threads:[~2024-10-05 2:23 UTC | newest]
Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31 18:29 [gentoo-commits] repo/gentoo:master commit in: app-forensics/aflplusplus/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-10-05 2:23 Sam James
2024-10-05 2:23 Sam James
2024-10-03 9:35 Sam James
2024-10-03 9:35 Sam James
2023-12-15 23:03 Sam James
2023-12-15 21:05 Arthur Zamarin
2023-12-04 1:54 Sam James
2023-11-25 8:38 Sam James
2023-11-25 8:38 Sam James
2023-07-24 3:57 Sam James
2023-07-24 3:19 Sam James
2023-06-17 23:17 Sam James
2023-06-17 5:42 Sam James
2023-06-17 5:42 Sam James
2023-06-10 13:48 Sam James
2023-06-10 13:47 Sam James
2023-06-09 14:01 Arthur Zamarin
2023-06-09 13:48 Sam James
2023-04-18 5:30 Sam James
2023-03-04 9:34 Arthur Zamarin
2023-03-04 5:53 Arthur Zamarin
2023-01-27 6:23 Sam James
2023-01-10 3:36 Sam James
2023-01-09 9:45 Sam James
2022-12-10 4:52 Sam James
2022-12-10 4:52 Sam James
2022-12-10 4:51 Sam James
2022-12-10 4:48 Sam James
2022-12-10 4:48 Sam James
2022-09-22 1:09 Sam James
2022-08-31 4:39 Sam James
2022-07-20 2:45 Sam James
2022-07-19 20:26 Sam James
2022-07-04 23:24 Sam James
2022-03-06 8:00 Sam James
2022-03-02 3:42 Sam James
2021-08-24 23:26 Sam James
2021-08-24 11:40 Agostino Sarubbo
2021-07-22 4:03 Sam James
2021-07-22 3:23 Sam James
2021-07-22 2:50 Sam James
2021-07-02 5:05 Sam James
2021-04-27 18:22 Sam James
2021-04-27 18:20 Sam James
2021-04-25 22:01 Sam James
2021-04-25 22:01 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox