Bug 262603 - www/apache24: build with pcre2 by default
Summary: www/apache24: build with pcre2 by default
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-16 21:26 UTC by Vladimir Druzenko
Modified: 2022-05-29 19:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (apache)


Attachments
build with pcre2 by default (514 bytes, patch)
2022-03-16 21:26 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2022-03-16 21:26:09 UTC
Created attachment 232491 [details]
build with pcre2 by default

If both pcre and pcre2 installed then httpd linked with pcre2:
# readelf -d /usr/local/sbin/httpd

Dynamic section at offset 0xa4e78 contains 31 entries:
  Tag                Type                  Name/Value
 0x000000000000001d RUNPATH              Library runpath: [/usr/local/lib:/usr/local/lib:/usr/local/lib]
 0x0000000000000001 NEEDED               Shared library: [libpcre2-8.so.0]
 0x0000000000000001 NEEDED               Shared library: [libaprutil-1.so.0]
 0x0000000000000001 NEEDED               Shared library: [libdb-18.1.so]
 0x0000000000000001 NEEDED               Shared library: [libgdbm.so.6]
 0x0000000000000001 NEEDED               Shared library: [libexpat.so.1]
 0x0000000000000001 NEEDED               Shared library: [libapr-1.so.0]
 0x0000000000000001 NEEDED               Shared library: [libcrypt.so.5]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2022-04-07 17:13:18 UTC
Something wrong?
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-05-29 19:14:31 UTC
A commit in branch main references this bug:

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

commit a36d3413fcd8c8f5769a6e481eb0c3a602a1d2a3
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2022-05-29 19:12:01 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2022-05-29 19:14:07 +0000

    www/apache24: switch to pcre2

    PR:     262603
    Sponsored by:   Netzkommune GmbH

 www/apache24/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)