[Bug 223505] www/squid Enable PCRE regexp
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 8 01:05:48 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223505
Bug ID: 223505
Summary: www/squid Enable PCRE regexp
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: olivierw1+bugzilla-freebsd at hotmail.com
CC: timp87 at gmail.com
CC: timp87 at gmail.com
Flags: maintainer-feedback?(timp87 at gmail.com)
Created attachment 187833
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187833&action=edit
Add "PCRE" option to the Makefile
Hello,
I'm currently migrating my Squid from Debian to FreeBSD and I want to reuse all
my rules/ACL.
I'm using quite a lot of "url_regex" pattern matching but on FreeBSD I
encountered errors like: "repetition-operator operand invalid".
I found out Squid needed to be compiled with PCRE by using LDFLAGS="-lpcreposix
-lpcre". Source:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Regex-Problem-Squid-3-0STABLE10-td1034824.html
Please find attached a patch which will add a "PCRE" option to the Makefile.
This new option is not enabled by default.
I've tested it with Squid 3.5.27 on FreeBSD 11.1 and now Squid does start and
my ACLs works.
Best Regards,
Olivier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list