It is ebuild for InspIRCd version 1.1.14+Pepperjack in the attachment. Ebuild made as a copy of previous inspircd-1.1.13.ebuild with next changes: * SRC_URI now points to the official site, because there is no new version on SourceForge; * epoll flag added to the IUSE; * all references to the name of the package replaced with ${PN}.
Created attachment 135403 [details] inspircd-1.1.14.ebuild
(In reply to comment #0) > * epoll flag added to the IUSE; What would be a good description for that USE flag?
> > * epoll flag added to the IUSE; > What would be a good description for that USE flag? Enables epoll socket engine on Linux.
In fact, most users must want it enabled. Don't know... may be it's not a good idea to add thoose flag? Moreover, epoll is a Linux 2.6 specific feature, and IsnpIRCd has similar kqueue option for FreeBSD. These options safely ignored if a configuration script does not find support for them in the OS. But consider existence of Gentoo/BSD and other such projects, should ebuld somehow check OS and kernel version? Can't find guidance on the matter in the Developer Handbook.
(In reply to comment #4) > Moreover, epoll is a Linux 2.6 specific feature, and IsnpIRCd has similar > kqueue option for FreeBSD. These options safely ignored if a configuration > script does not find support for them in the OS. But consider existence of > Gentoo/BSD and other such projects, should ebuld somehow check OS and kernel > version? Since the inspircd ebuild has been only tested on Linux, I'd say it's rather safe to enable it by default. Making the USE flag enabled by default is rather difficult and involves changes to the portage tree's make.defaults, which I'd prefer to avoid. Can you please submit a diff against the latest ebuild in Portage with your changes and these things enabled by default?
Created attachment 135734 [details, diff] diff between inspircd-1.1.13-r1.ebuild and inspircd-1.1.14.ebuild * toolchain-funcs has been removed from inherit, because not used. Don't sure about multilib, so leave it; * IUSE moved behind KEYWORDS as in docs and skel.ebuild; * svn isn't actually used, so all svn stuff removed; * trailing slash added to HOMEPAGE; * SRC_URI now points to the official site, because there is no new version on SourceForge; * --disable-interactive option added for ./configure; * src_compile() partly rewritten and gracefully reformatted; * all references to the name of the package replaced with ${PN}.
Created attachment 135735 [details] inspircd-1.1.14.ebuild update according comments
Thanks for the update, it's in CVS.
The ebuild does compile it fine but this needs mysql/postgresql/sqlite USE flag set as well. They are used as a module that is a base of modules that rely on SQL backend and with the current ebuild, the SQL backend modules do not get built and has to be built by hand from the source. The modules are included in the 'modules/extra' directory of the source tarball, and needs to be placed in 'modules' for them to be compiled.