Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341867 - app-admin/syslog-ng - please enable pcre use flag by default
Summary: app-admin/syslog-ng - please enable pcre use flag by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mr. Bones. (RETIRED)
URL: http://bazsi.blogs.balabit.com/2008/0...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 09:57 UTC by Balazs Nemeth
Modified: 2010-10-21 07:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.