Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 341867

Summary: app-admin/syslog-ng - please enable pcre use flag by default
Product: Gentoo Linux Reporter: Balazs Nemeth <jobbara.artalmatlan>
Component: New packagesAssignee: Mr. Bones. (RETIRED) <mr_bones_>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bazsi.blogs.balabit.com/2008/06/migrate-over-to-pcre/
Whiteboard:
Package list:
Runtime testing required: ---

Description Balazs Nemeth 2010-10-20 09:57:35 UTC
As of 20 October I have noticed that pcre use flag was removed from /default/linux/make.defaults

"  19 Oct 2010; Ole Markus With <olemarkus@gentoo.org>                                                                                                                                                                                        
        default/bsd/fbsd/make.defaults, default/linux/make.defaults:                                                                                                                                                                         
        PHP ebuilds now make use of default USE flags. No longer any point in enabling                                                                                                                                                       
        them by default in make.defaults."

The next "emerge -avN" on default systems will compile syslog-ng with pcre support disabled which could make many configuration unusable.

Please turn pcre use flag on by default on syslog-ng ebuilds.
Without pcre support most of the syslog-ng filters would not work!

Regards,
Balázs Németh / from Balabit
Comment 1 Balazs Nemeth 2010-10-20 12:37:59 UTC
Or at least add a short einfo to the ebuild to notice the users about the situation.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-10-20 15:31:20 UTC
It's easy to turn the use flag on by default but that doesn't stop people from turning it off with USE=-pcre.  Also, compiling with pcre is incompatible with static linking so it's turned off automatically for people who want a static syslog-ng binary.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2010-10-20 15:34:30 UTC
And that's done in portage.  Thanks for the bug report.
Comment 4 Balazs Nemeth 2010-10-21 07:45:55 UTC
(In reply to comment #2)
> It's easy to turn the use flag on by default but that doesn't stop people from
> turning it off with USE=-pcre. 
Yes you are absolutely right. I think it is just a failsafe mechanism for users who didn't customize the default configuraution.

> Also, compiling with pcre is incompatible with
> static linking so it's turned off automatically for people who want a static
> syslog-ng binary.
> 

I didn't know about this, thanks for the info and also for the changes in the ebuild.