public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre2/
Date: Fri, 19 Feb 2021 00:48:13 +0000 (UTC)	[thread overview]
Message-ID: <1613695690.6398d91b7792348b1b903fcb4c4567ed93ae0f9d.whissi@gentoo> (raw)

commit:     6398d91b7792348b1b903fcb4c4567ed93ae0f9d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 00:45:56 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 00:48:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6398d91b

dev-libs/libpcre2: fix performance regression

Bug: https://bugs.exim.org/show_bug.cgi?id=2698
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/libpcre2/Manifest                 |  1 +
 dev-libs/libpcre2/libpcre2-10.36-r1.ebuild | 91 ++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-libs/libpcre2/Manifest b/dev-libs/libpcre2/Manifest
index 1e61e8faa74..d21cbbc6362 100644
--- a/dev-libs/libpcre2/Manifest
+++ b/dev-libs/libpcre2/Manifest
@@ -1,3 +1,4 @@
 DIST libpcre2-10.34-patchset-01.tar.xz 1208 BLAKE2B 615b7eff085bd52bb3aed30c90ec5b8cec406f96c58bdfb0304dd59311517662067e68f85bc9930ed6f749820ecfe3c483e261616187bc1077ebb053670d4950 SHA512 d881665701bc330f237d19ee48491a81dc8b952b0b8e529eb83c3ffdf14710f68eb934f872ed76ef6b0bee1864261453e7e71e60e14217c004e4e12c6baa499f
+DIST libpcre2-10.36-patchset-01.tar.xz 1364 BLAKE2B bfef3c876a092e06972107b44794c23b758a030181f3040c8b722db166789eac794783169b468fc71334fd660bc2f1c31422a8cb8e5bdc18a69b72654b1b59b2 SHA512 04324d1efa6d155fa3ffbc328638e4674bea305fef7f57d4369ab4a6399a0f489b4c0ecfb49643feff310d91872e1673e965c48a5c60f1bf54a319f0d275c306
 DIST pcre2-10.35.tar.bz2 1725214 BLAKE2B f97412258f0d2c09dc18c5973156e616730ae301713a0172fb2f467e5d2857bf64c6d02ac247e797ce4c96e2fb9b122888f71aede3f5eb3540731f6c3c254ed4 SHA512 ecfb8d48e219daff02874783b7b436fe7d70d8471e44eb66e1e29abb7b0aa67547e6b5fba7058b074ac90eef265ece7d12728f80afdda45b6b8124435f4561fd
 DIST pcre2-10.36.tar.bz2 1722310 BLAKE2B 5c70b7b1b0644edbcc29d3486fc0f3e2d0cb4822f4f3f3e7df603b4f4e27656a2e7f71389628ceb9bd7acc746ce4b626cd2a128d894840b22796841d1269765f SHA512 fc2a920562c80c3d31cedd94028fab55314ae0fb168cac7178f286c344a11fc514939edc3b83b8e0b57c872db4e595fd5530fd1d4b8c779be629553e9ec965a3

diff --git a/dev-libs/libpcre2/libpcre2-10.36-r1.ebuild b/dev-libs/libpcre2/libpcre2-10.36-r1.ebuild
new file mode 100644
index 00000000000..b4562da1909
--- /dev/null
+++ b/dev-libs/libpcre2/libpcre2-10.36-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic libtool multilib-minimal toolchain-funcs usr-ldscript
+
+PATCH_SET="${PN}-10.36-patchset-01.tar.xz"
+
+DESCRIPTION="Perl-compatible regular expression library"
+HOMEPAGE="https://www.pcre.org/"
+MY_P="pcre2-${PV/_rc/-RC}"
+if [[ ${PV} != *_rc* ]] ; then
+	# Only the final releases are available here.
+	SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
+		https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2"
+else
+	SRC_URI="https://ftp.pcre.org/pub/pcre/Testing/${MY_P}.tar.bz2"
+fi
+
+if [[ -n "${PATCH_SET}" ]] ; then
+	SRC_URI+=" https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}
+		https://dev.gentoo.org/~polynomial-c/dist/${PATCH_SET}"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
+REQUIRED_USE="?? ( libedit readline )"
+
+BDEPEND="
+	virtual/pkgconfig
+	userland_GNU? ( >=sys-apps/findutils-4.4.0 )
+"
+RDEPEND="
+	bzip2? ( app-arch/bzip2 )
+	libedit? ( dev-libs/libedit )
+	readline? ( sys-libs/readline:0= )
+	zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+MULTILIB_CHOST_TOOLS=(
+	/usr/bin/pcre2-config
+)
+
+src_prepare() {
+	[[ -d "${WORKDIR}/patches" ]] && eapply "${WORKDIR}"/patches
+
+	default
+
+	elibtoolize
+}
+
+multilib_src_configure() {
+	local myeconfargs=(
+		--enable-pcre2-8
+		--enable-shared
+		--with-match-limit-depth=$(usex recursion-limit 8192 MATCH_LIMIT)
+		$(multilib_native_use_enable bzip2 pcre2grep-libbz2)
+		$(multilib_native_use_enable libedit pcre2test-libedit)
+		$(multilib_native_use_enable readline pcre2test-libreadline)
+		$(multilib_native_use_enable zlib pcre2grep-libz)
+		$(use_enable jit)
+		$(use_enable jit pcre2grep-jit)
+		$(use_enable pcre16 pcre2-16)
+		$(use_enable pcre32 pcre2-32)
+		$(use_enable static-libs static)
+		$(use_enable unicode)
+	)
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+	emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
+}
+
+multilib_src_install() {
+	emake \
+		DESTDIR="${D}" \
+		$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
+		install
+	multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix
+}
+
+multilib_src_install_all() {
+	find "${ED}" -type f -name "*.la" -delete || die
+}


             reply	other threads:[~2021-02-19  0:48 UTC|newest]

Thread overview: 165+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19  0:48 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  7:59 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre2/ Sam James
2024-08-29  3:51 Sam James
2024-08-29  3:15 Sam James
2024-08-29  3:15 Sam James
2024-08-29  2:35 Sam James
2024-08-29  2:35 Sam James
2024-06-27  6:37 Sam James
2024-06-27  6:35 Sam James
2024-06-24  0:43 Sam James
2024-04-12  6:26 Arthur Zamarin
2024-03-16 11:11 Sam James
2024-03-03  2:48 Sam James
2024-03-02 22:50 Sam James
2024-03-02 18:25 Arthur Zamarin
2024-02-28 18:52 Arthur Zamarin
2024-02-27 23:39 Jakov Smolić
2024-02-27 23:39 Jakov Smolić
2024-02-17  3:03 Sam James
2024-02-06 22:49 Sam James
2024-01-11  6:05 WANG Xuerui
2023-12-01 14:58 Andreas K. Hüttel
2023-08-13  8:08 Sam James
2023-08-13  8:08 Sam James
2023-06-29  6:18 Sam James
2023-05-14 17:11 Sam James
2023-05-14  7:26 Sam James
2023-05-14  0:31 Sam James
2023-03-31 11:44 Arthur Zamarin
2023-02-03  6:20 Sam James
2023-02-01 15:58 Arthur Zamarin
2023-01-28 21:49 Jakov Smolić
2023-01-28  9:05 Arthur Zamarin
2023-01-27 10:11 Jakov Smolić
2023-01-27 10:11 Jakov Smolić
2023-01-18 22:09 Sam James
2022-12-16 20:59 Arthur Zamarin
2022-12-13 23:00 Sam James
2022-12-12 17:54 Sam James
2022-12-11 17:55 Arthur Zamarin
2022-12-10  3:26 Sam James
2022-12-10  3:16 Sam James
2022-12-10  3:16 Sam James
2022-12-10  3:16 Sam James
2022-12-10  3:04 Sam James
2022-12-10  3:04 Sam James
2022-10-27 23:55 Sam James
2022-05-19 20:31 Sam James
2022-05-18 14:58 Jakov Smolić
2022-05-18 14:47 Jakov Smolić
2022-05-18  7:58 Agostino Sarubbo
2022-05-18  7:58 Agostino Sarubbo
2022-05-18  7:57 Agostino Sarubbo
2022-05-18  7:57 Agostino Sarubbo
2022-05-18  7:57 Agostino Sarubbo
2022-04-16  4:48 Sam James
2022-04-16  3:07 Sam James
2022-04-12  7:15 Sam James
2022-04-12  7:15 Sam James
2022-03-22 15:12 Mike Gilbert
2022-01-06  9:07 David Seifert
2021-12-14 20:11 Arthur Zamarin
2021-12-13 19:17 Arthur Zamarin
2021-12-13 18:37 Arthur Zamarin
2021-12-13  7:08 Agostino Sarubbo
2021-12-13  7:03 Agostino Sarubbo
2021-12-13  7:02 Agostino Sarubbo
2021-12-13  6:57 Agostino Sarubbo
2021-12-13  6:17 Sam James
2021-10-29 19:17 Sam James
2021-10-03  9:17 Lars Wendler
2021-08-23  2:06 Sam James
2021-08-15 19:51 Sam James
2021-08-11 23:10 Sam James
2021-08-11  0:23 Sam James
2021-08-11  0:12 Sam James
2021-08-11  0:02 Sam James
2021-06-14  9:19 David Seifert
2021-05-27  7:05 Lars Wendler
2021-05-26 23:17 Lars Wendler
2021-05-13 10:59 David Seifert
2021-05-11 15:45 Sergei Trofimovich
2021-05-10 16:03 Sam James
2021-05-09 21:42 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2020-12-27 14:21 Fabian Groffen
2020-12-04 18:20 Lars Wendler
2020-12-04 18:20 Lars Wendler
2020-08-31 23:25 Sam James
2020-08-21 15:36 Agostino Sarubbo
2020-08-21 15:31 Agostino Sarubbo
2020-08-21 15:30 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-08-19  4:07 Sam James
2020-05-10 14:08 Lars Wendler
2020-04-21  7:44 Lars Wendler
2020-04-20  9:50 Agostino Sarubbo
2020-04-20  9:48 Agostino Sarubbo
2020-04-19 12:16 Agostino Sarubbo
2020-04-19 12:15 Agostino Sarubbo
2020-04-19 12:14 Agostino Sarubbo
2020-04-19 11:17 Mart Raudsepp
2020-04-18  9:18 Agostino Sarubbo
2020-04-17 16:24 Sergei Trofimovich
2020-03-25 18:37 Thomas Deutschmann
2020-03-25 18:37 Thomas Deutschmann
2020-01-16 20:51 Tim Harder
2019-11-22  9:14 Lars Wendler
2019-11-22  8:37 Lars Wendler
2019-11-22  8:37 Lars Wendler
2019-11-13  7:39 Agostino Sarubbo
2019-11-12 13:36 Agostino Sarubbo
2019-11-09 22:55 Matt Turner
2019-11-08  8:35 Mikle Kolyada
2019-11-05  1:17 Aaron Bauman
2019-11-04 21:20 Thomas Deutschmann
2019-11-03 14:03 Mikle Kolyada
2019-11-03 11:56 Piotr Karbowski
2019-11-02 23:20 Sergei Trofimovich
2019-11-01 21:03 Thomas Deutschmann
2019-10-31 20:04 Thomas Deutschmann
2019-05-04 18:38 Andreas K. Hüttel
2019-05-03 16:10 Lars Wendler
2019-05-02 22:09 Mikle Kolyada
2019-05-02 22:09 Mikle Kolyada
2019-05-02 22:09 Mikle Kolyada
2019-04-27 15:48 Sergei Trofimovich
2019-04-26 20:54 Mikle Kolyada
2019-04-22 14:40 Sergei Trofimovich
2019-04-20 18:43 Mikle Kolyada
2019-04-18 20:32 Thomas Deutschmann
2019-04-17 20:01 Sergei Trofimovich
2019-04-17 18:37 Aaron Bauman
2019-04-17 11:26 Mikle Kolyada
2019-04-17  8:43 Lars Wendler
2019-02-27 11:44 Michael Haubenwallner
2018-09-12  8:37 Lars Wendler
2018-06-03 13:55 Mike Frysinger
2018-05-01 16:04 Mikle Kolyada
2018-03-21  7:05 Lars Wendler
2018-03-02 20:35 Mart Raudsepp
2018-02-13  8:22 Lars Wendler
2018-02-13  8:22 Lars Wendler
2017-12-01 22:57 Sergei Trofimovich
2017-09-25 21:50 Sergei Trofimovich
2017-09-25 21:42 Sergei Trofimovich
2017-09-15 20:38 Sergei Trofimovich
2017-08-25 22:34 Matt Turner
2017-08-25 21:33 Mikle Kolyada
2017-08-25  4:44 Markus Meier
2017-08-18 20:45 Sergei Trofimovich
2017-08-18 19:13 Thomas Deutschmann
2017-08-16  9:44 Lars Wendler
2017-06-10 19:06 Sergei Trofimovich
2017-03-13  8:25 Michael Weber
2017-02-14 21:05 Lars Wendler
2017-01-29 16:19 Fabian Groffen
2017-01-22 10:39 Jeroen Roovers
2017-01-02 19:35 Markus Meier
2016-11-16 20:33 Pacho Ramos
2016-11-15 14:53 Tobias Klausmann
2016-08-15 10:05 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613695690.6398d91b7792348b1b903fcb4c4567ed93ae0f9d.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox