Bug 259829

Summary: mail/{rspamd,rspamd-devel}: Switch to use PCRE2
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Vsevolod Stakhov <vsevolod>
Status: Closed FIXED    
Severity: Affects Only Me CC: moiseev, vsevolod
Priority: --- Flags: yasu: maintainer-feedback? (vsevolod)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://www.pcre.org/
Attachments:
Description Flags
Patch file
none
Updated patch file
none
Updated patch file none

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.