First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 128102
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: voip herd <voip@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vladyslav Bakayev <vbakayev@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 128102 depends on: Show dependency tree
Show dependency graph
Bug 128102 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-30 05:50 0000
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
...

------- Comment #1 From Alasdair Ramsay 2006-08-29 11:14:47 0000 -------
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

------- Comment #2 From Stefan Schweizer 2007-04-14 10:14:05 0000 -------
I did this unconditional, thanks :)

First Last Prev Next    No search results available      Search page      Enter new bug