Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Ebuilds for gnugk do not take into account configure --with-large-fdset[=MAXFD] option. The compiled gnugk have default=1024 FD_MAX limit, therefore limiting the number of open files and sockets. part of configure output: ... checking for /usr/share/pwlib/../openh323/version.h... yes OpenH323 prefix set to /usr/share/pwlib/../openh323 checking for /usr/share/pwlib/../openh323/version.h... (cached) yes OpenH323 version is 1.15.6 RADIUS support enabled LARGE FDSET support disabled ...
This is fairly trivial to implement. Create portage overlay for gnugk and apply the following diff to the existing ebuild then change version (I used -r5 but cannot remember why :$) diff -u /usr/local/portage/net-misc/gnugk/gnugk-2.2.3-r5.ebuild /usr/local/portage/net-misc/gnugk/gnugk-2.2.3_p2.ebuild --- /usr/local/portage/net-misc/gnugk/gnugk-2.2.3-r5.ebuild 2005-11-11 00:32:27.000000000 +0000 +++ /usr/local/portage/net-misc/gnugk/gnugk-2.2.3_p2.ebuild 2005-11-11 00:38:48.000000000 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/gnugk/gnugk-2.2.3_p2.ebuild,v 1.1 2005/09/04 22:23:51 stkn Exp $ -IUSE="mysql postgres radius large" +IUSE="large mysql postgres radius" MY_P=${P/_p/-} @@ -24,7 +24,7 @@ src_compile() { econf \ - `use_with large "large-fdset=4096" ` \ + `use_with large "large-fdset=4096"` \ `use_enable mysql` \ `use_enable postgres sql` \ `use_enable radius` || die
I did this unconditional, thanks :)