summaryrefslogtreecommitdiff
path: root/dev-util/breakpad
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-29 21:37:46 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-10-29 21:37:46 +0000
commit6769d991d1a040381ab263b2eef043e6f50190a6 (patch)
tree94f6b868964e05c2497cdcd5ee402c03323a3e6a /dev-util/breakpad
parent67c78fc4ac5b7eada5a0196fa051b16628dac90c (diff)
gentoo auto-resync : 29:10:2023 - 21:37:46
Diffstat (limited to 'dev-util/breakpad')
-rw-r--r--dev-util/breakpad/Manifest3
-rw-r--r--dev-util/breakpad/breakpad-2023.01.27.ebuild55
-rw-r--r--dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch119
3 files changed, 177 insertions, 0 deletions
diff --git a/dev-util/breakpad/Manifest b/dev-util/breakpad/Manifest
index 3b68246c7a5e..48cb1fb49579 100644
--- a/dev-util/breakpad/Manifest
+++ b/dev-util/breakpad/Manifest
@@ -1,5 +1,8 @@
AUX breakpad-2022.06.04-gentoo.patch 3418 BLAKE2B cbcaabb31e17e45f7b2ed82a6bf6d0f0a587c205c4650d4ac813e8d44e7ac8b5cea7ea50836f40bd8175b96f8670522e09bc77826ab3af9bca45e98c32c529ff SHA512 424bbfd473acd5626abced365323282f95ccd95cd6bedaa30ffbb9d363ae42300dbe264e1d38d31ec8535b3730d42047a3a1b8f38ec845db1bb729be52375af1
AUX breakpad-2022.07.12-gcc13.patch 340 BLAKE2B 60c71f3d7f3eaa69a40573daad827a7e030a4a5541e324fe7dcbc9e25b21f67c7f1b070b3bfef4f23c8c031e09f8184c3eb374956d6d48aabcbc8eef1e3e0e05 SHA512 8a0abbcd31e0d05563a7445a12c620b665c5d1dbbe57d36c0d81b78f126d0d253fb936e105bf056e9752556e26fad3e0984d626b6255f4ea27f810b0665904e3
+AUX breakpad-2023.01.27-gentoo.patch 3424 BLAKE2B 355ff268ef203c869a1da64f38c5324c0776873ce9f5ffd5caaadf11341e4816e3537b3f79f7872b93558b6d56d335dc92bbded2a3ea14450f7c839c37519deb SHA512 01d7a44f764a9e5f5662d0060b067364ba86f3612de828ec6bd6f35b697ab06ab3ba071979490b28e41830f76a79aeb1f9f6090df41627062f4f8b84c31b847b
DIST breakpad-2022.07.12.tar.gz 5373070 BLAKE2B 3598bcebf249c73a13eb77743ee993fb96ebf9585a68e45169afcf34fb836a126ce3b8d71e78dedd3407b843297857619de39fc38661ff80545d572dde098ea1 SHA512 872fa74520709d6510b798c7adfb7fed34a84b1831e774087515c23a005b0ea76ef7758bb565f0ff9f2153206cf53958621463fba0e055c9d31dc68f687e2b8f
+DIST breakpad-2023.01.27.tar.gz 5455242 BLAKE2B 650f9c2ff4ee5e50f9d51573706757cc56a4d64171a5aea7b825327c55b05b9122d375e718951eee26c2bde7aae69d385205fa777fa23e61e5c97683f3c76120 SHA512 c6802c55653289780232b20e2abc0458c49f3cdff108c3ddfd6e40a2f378da34adbc158548e9c88cbfdbba9526477da9b68c2c45e205231e2802fe533b6bd6a4
EBUILD breakpad-2022.07.12.ebuild 1051 BLAKE2B a4704c377b1a9ca11734b7a344b255a596496b7ceea914bfe2455fd3c54757c2d4e2aeec1f3ca9aef2b24968560f262a6ed5a8aa7a77d33e1fba6633ad23039b SHA512 cfcdbad15225e94150bc020978154595afe16d8f91277eb9932a3608cffee56b770f0add22e07a7991de6a3b7e43e256fb46641996b5bcce205f5bb44772ed0c
+EBUILD breakpad-2023.01.27.ebuild 1007 BLAKE2B 149ffc6ff8f7fe05afef6d8d395bb6fda5a95e78b1f7f74c021e4f28b3d583282835509e0931b4d9adcd81317386a57fbd0e67705ad2c0c1e4b29e75dfe17944 SHA512 08924eb8074d1656a1879d85c87d73ca3b0dd7d6d6b559d8ca48d32b8617b111faf33085999be5d30f6a01751ecaa1ad802774a9e651d32d062b9ed676a504ce
MISC metadata.xml 328 BLAKE2B 1fb236117a2b1729f37d92c4cfd6a3ef2675e901467e0631a2be86d6f61c9e9103da96c730009aa3efb3e8846d2e9e77940ac925ea2700b87bee2ba7d148a2b8 SHA512 1f3b69819c461d2a3479490e963940db29211128b0f05faf60489f817fd69eabc79369e11d3f23299090e5bdb14399e72f54ee724e8f6b8a4b189859854cf951
diff --git a/dev-util/breakpad/breakpad-2023.01.27.ebuild b/dev-util/breakpad/breakpad-2023.01.27.ebuild
new file mode 100644
index 000000000000..398f79e86f23
--- /dev/null
+++ b/dev-util/breakpad/breakpad-2023.01.27.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="implement a crash-reporting system."
+HOMEPAGE="https://chromium.googlesource.com/breakpad/breakpad/"
+SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ net-misc/curl
+"
+DEPEND="${RDEPEND}
+ dev-libs/linux-syscall-support
+ dev-embedded/libdisasm
+"
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's|"third_party/lss\(.*\)"|<lss\1>|' \
+ $(find src -name '*.cc' -o -name '*.h') \
+ || die
+ sed -i \
+ -e '/includelss/d' \
+ -e '/third_party\/curl/d' \
+ Makefile.am \
+ || die
+ sed -i \
+ -e "/AC_INIT/s:0.1:${PVR}:" \
+ -e "/AS_VAR_APPEND/d" \
+ configure.ac \
+ || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-system-test-libs \
+ || die
+}
diff --git a/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch b/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch
new file mode 100644
index 000000000000..83a4e824c970
--- /dev/null
+++ b/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch
@@ -0,0 +1,119 @@
+--- a/src/common/linux/libcurl_wrapper.h 2022-06-07 21:55:00.387396660 +0200
++++ b/src/common/linux/libcurl_wrapper.h 2022-06-07 21:55:18.450145751 +0200
+@@ -36,7 +36,7 @@
+ #include <map>
+
+ #include "common/using_std_string.h"
+-#include "third_party/curl/curl.h"
++#include <curl/curl.h>
+
+ namespace google_breakpad {
+
+--- a/src/common/linux/http_upload.cc 2022-06-07 21:53:55.505298529 +0200
++++ b/src/common/linux/http_upload.cc 2022-06-07 21:54:17.944986506 +0200
+@@ -30,7 +30,7 @@
+
+ #include <assert.h>
+ #include <dlfcn.h>
+-#include "third_party/curl/curl.h"
++#include <curl/curl.h>
+
+ namespace {
+
+--- a/src/processor/disassembler_x86.h 2022-06-08 08:41:45.569686249 +0200
++++ b/src/processor/disassembler_x86.h 2022-06-08 08:42:09.049377873 +0200
+@@ -42,7 +42,7 @@
+ #include "google_breakpad/common/breakpad_types.h"
+
+ namespace libdis {
+-#include "third_party/libdisasm/libdis.h"
++#include <libdis.h>
+ }
+
+ namespace google_breakpad {
+--- a/Makefile.am 2022-06-08 08:51:35.221948155 +0200
++++ b/Makefile.am 2022-06-08 08:53:21.679551745 +0200
+@@ -176,7 +176,6 @@
+
+ lib_LIBRARIES += src/libbreakpad.a
+ pkgconfig_DATA += breakpad.pc
+-noinst_LIBRARIES += src/third_party/libdisasm/libdisasm.a
+
+ ## Programs
+ bin_PROGRAMS += \
+@@ -944,7 +943,7 @@
+ src/processor/stackwalker_x86.o \
+ src/processor/symbolic_constants_win.o \
+ src/processor/tokenize.o \
+- src/third_party/libdisasm/libdisasm.a \
++ -ldisasm \
+ $(TEST_LIBS) \
+ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
+
+@@ -967,7 +966,7 @@
+ $(AM_CPPFLAGS) $(TEST_CFLAGS)
+ src_processor_disassembler_x86_unittest_LDADD = \
+ src/processor/disassembler_x86.o \
+- src/third_party/libdisasm/libdisasm.a \
++ -ldisasm \
+ $(TEST_LIBS) \
+ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
+
+@@ -1074,7 +1073,7 @@
+ src/processor/stackwalker_x86.o \
+ src/processor/symbolic_constants_win.o \
+ src/processor/tokenize.o \
+- src/third_party/libdisasm/libdisasm.a \
++ -ldisasm \
+ $(TEST_LIBS) \
+ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
+
+@@ -1104,7 +1103,7 @@
+ src_processor_proc_maps_linux_unittest_LDADD = \
+ src/processor/logging.o \
+ src/processor/pathname_stripper.o \
+- src/third_party/libdisasm/libdisasm.a \
++ -ldisasm \
+ $(TEST_LIBS) \
+ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
+
+@@ -1405,7 +1404,7 @@
+ src/processor/stackwalker_sparc.o \
+ src/processor/stackwalker_x86.o \
+ src/processor/tokenize.o \
+- src/third_party/libdisasm/libdisasm.a
++ -ldisasm
+
+ src_processor_minidump_stackwalk_SOURCES = \
+ src/processor/minidump_stackwalk.cc
+@@ -1448,7 +1448,7 @@
+ src/processor/stackwalker_x86.o \
+ src/processor/symbolic_constants_win.o \
+ src/processor/tokenize.o \
+- src/third_party/libdisasm/libdisasm.a
++ -ldisasm
+
+ ## Additional files to be included in a source distribution
+ ##
+--- a/src/processor/exploitability_win.cc 2022-06-08 08:59:44.437471336 +0200
++++ b/src/processor/exploitability_win.cc 2022-06-08 09:00:04.061210421 +0200
+@@ -43,7 +43,7 @@
+ #include "processor/disassembler_x86.h"
+ #include "processor/logging.h"
+
+-#include "third_party/libdisasm/libdis.h"
++#include <libdis.h>
+
+ namespace google_breakpad {
+
+--- a/src/processor/disassembler_x86_unittest.cc 2022-06-08 10:30:23.370615114 +0200
++++ b/src/processor/disassembler_x86_unittest.cc 2022-06-08 10:30:44.003341412 +0200
+@@ -30,7 +30,7 @@
+
+ #include "breakpad_googletest_includes.h"
+ #include "processor/disassembler_x86.h"
+-#include "third_party/libdisasm/libdis.h"
++#include <libdis.h>
+
+ namespace {
+