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

Bug 188202

Summary: net-irc/unrealircd ebuild removal
Product: Gentoo Linux Reporter: Chris Brennan <xaero>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal CC: xaero
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Brennan 2007-08-09 08:47:15 UTC
UnrealIRCd 3.2x should be removed from portage as it's build process is too dynamic for portage. Also, UnrealIRCd dev's and support staff don't UnrealIRCd ran as root.

Reproducible: Always




At the very least, install the ircd in a chroot environment. Allow for a complete list of args for the ircd.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 08:52:45 UTC
(In reply to comment #0)
> UnrealIRCd 3.2x should be removed from portage as it's build process is too
> dynamic for portage. 

If you want something fixed, then file bugs about broken/missing features, preferably accompanied by a patch in unified diff format. Marking this one as INVALID as we are not removing ebuilds out of the blue just because you dislike them.
Comment 2 Chris Brennan 2007-08-09 19:00:28 UTC
There are more reasons then "just because I don't like it." On the contrary, I like UnrealIRCd a lot. But there are numerous technical reasons to not include this package in portage.

1) Running UnrealIRCd as root is not supported by the UnrealIRCd Developers and Supports.

2) Using the System installed Curl/ares packages will not work correctly with UnrealIRCd. Remote Includes will fail with very obscure errors. Ideally the instructions in the package need to be followed so that this feature is not broken.

3) The default iuse flags are insufficient for a working build of the ircd. If anything, a full list of xargs switches should be includes. An example of the xargs to pass to the configure script is as follows (These options are based on the recomendations of the UnrealIRCd developers.

defaults except where noted
===========================
--enable-nospoof
--enable-prefixaq
--enable-hub
--enable-ssl=/path/to/ssl # /usr
--enable-ziplinks=/path/to/zlib # /usr
--enable-libcurl=/path/to/curl # /usr
--enable-dynamic-linking
--enable-inet6 # changes the conf syntax for ipv4 IPs
--with-listen=<somaxconn> # cat /proc/sys/net/core/somaxconn
-with-nick-history=2000 # Config script default
--with-sendq=3000000 # Config script default
--with-bufferpool=18 # Config script default
--with-hostname=$(hostname)
--with-permissions=600
--with-dpath=/usr/local/lib/Unreal
--with-fd-setsize=$(ulimit -n) # my suggestion but should prolly be configurable to less then the full result.
--with-spath=/usr/local/bin/unrealird # my suggestion for the UnrealIRCd binary?
--with-showlistmodes
-with-listen=$(cat /proc/sys/net/core/somaxconn)
--with-dpath=/usr/local/lib/UnrealIRCd
--with-spath=/usr/local/bin/unrealircd

Use flags based on these would allow at least a semi-reasonablely configured ircd that is mostly functional. Using the full set would be idea and in the spirit of Gentoo's felxability.