Bug 259829 - mail/{rspamd,rspamd-devel}: Switch to use PCRE2
Summary: mail/{rspamd,rspamd-devel}: Switch to use PCRE2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vsevolod Stakhov
URL: https://www.pcre.org/
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-14 16:05 UTC by Yasuhiro Kimura
Modified: 2022-03-29 02:21 UTC (History)
2 users (show)

See Also:
yasu: maintainer-feedback? (vsevolod)


Attachments
Patch file (2.04 KB, patch)
2021-11-14 16:05 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (3.33 KB, patch)
2021-12-14 05:19 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (3.31 KB, patch)
2021-12-14 07:31 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2021-11-14 16:05:13 UTC
Created attachment 229487 [details]
Patch file

PCRE1 has reached its end-of-life. So switch to use PCRE2.

Reference:      https://www.pcre.org/
Comment 1 Alexander Moisseev 2021-11-15 07:07:10 UTC
For mail/rspamd-devel instead of adding "-DENABLE_PCRE2=ON" I'd suggest to update the port to the current snapshot where it is enabled by default.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-12-14 05:19:48 UTC
Created attachment 230100 [details]
Updated patch file

Update mail/rspamd-devel to latest snapshot that uses PCRE2 by default.
Comment 3 Alexander Moisseev 2021-12-14 07:08:25 UTC
(In reply to Yasuhiro Kimura from comment #2)

We don't need to bump PORTREVISION for mail/rspamd-devel since PORTVERSION is updated.
Comment 4 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-12-14 07:31:59 UTC
Created attachment 230103 [details]
Updated patch file

Don't bump PORTREVISION of mail/rspamd-devel.
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-12-15 23:00:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ae9bd8de5bbdd6b4a43741441726dc8ee96629ff

commit ae9bd8de5bbdd6b4a43741441726dc8ee96629ff
Author:     Vsevolod Stakhov <vsevolod@FreeBSD.org>
AuthorDate: 2021-12-15 22:36:23 +0000
Commit:     Vsevolod Stakhov <vsevolod@FreeBSD.org>
CommitDate: 2021-12-15 22:53:30 +0000

    mail/rspamd-devel: Switch to use PCRE2

    PR:     259829
    Reported by:    yasu

 mail/rspamd-devel/Makefile  | 7 ++++---
 mail/rspamd-devel/distinfo  | 6 +++---
 mail/rspamd-devel/pkg-plist | 1 +
 3 files changed, 8 insertions(+), 6 deletions(-)
Comment 6 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-03-29 02:21:47 UTC
With ports 380b24898c26 mail/rspamd is updated and switched to PCRE2.