Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199202 - net-proxy/squid setting SQUID_MAXFD without sed tricks
Summary: net-proxy/squid setting SQUID_MAXFD without sed tricks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 06:14 UTC by Tero Pelander
Modified: 2007-11-15 08:38 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 Tero Pelander 2007-11-15 06:14:33 UTC
The current ebuilds for squid use sed to replace SQUID_MAXFD value. The configure script has an option to set it without any sed tricks.

Current code in ebuilds:
  sed -i -e "s:^#define SQUID_MAXFD.*:#define SQUID_MAXFD 8192:" \
    include/autoconf.h

In squid-2.6.16.ebuild replace with configure option --with-maxfd=8192
In squid-3.0_rc1.ebuild replace with configure option --with-filedescriptors=8192
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-11-15 08:38:10 UTC
Fixed in cvs, thanks!