Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198317 - net-irc/inspircd-1.1.14 version bump
Summary: net-irc/inspircd-1.1.14 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michael Hanselmann (hansmi) (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-11-07 00:21 UTC by Eugene Janusov
Modified: 2008-01-16 13:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
inspircd-1.1.14.ebuild (inspircd-1.1.14.ebuild,2.40 KB, text/plain)
2007-11-07 00:23 UTC, Eugene Janusov
Details
diff between inspircd-1.1.13-r1.ebuild and inspircd-1.1.14.ebuild (inspircd-1.1.13-r1-14.patch,4.09 KB, patch)
2007-11-11 12:20 UTC, Eugene Janusov
Details | Diff
inspircd-1.1.14.ebuild update according comments (inspircd-1.1.14.ebuild,2.26 KB, text/plain)
2007-11-11 12:23 UTC, Eugene Janusov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Janusov 2007-11-07 00:21:29 UTC
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}.
Comment 1 Eugene Janusov 2007-11-07 00:23:14 UTC
Created attachment 135403 [details]
inspircd-1.1.14.ebuild
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-11-07 10:27:57 UTC
(In reply to comment #0)
> * epoll flag added to the IUSE;

What would be a good description for that USE flag?
Comment 3 Eugene Janusov 2007-11-07 22:55:42 UTC
> > * epoll flag added to the IUSE;
> What would be a good description for that USE flag?
Enables epoll socket engine on Linux.
Comment 4 Eugene Janusov 2007-11-07 23:25:03 UTC
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.
Comment 5 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-11-10 21:34:19 UTC
(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?
Comment 6 Eugene Janusov 2007-11-11 12:20:48 UTC
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}.
Comment 7 Eugene Janusov 2007-11-11 12:23:05 UTC
Created attachment 135735 [details]
inspircd-1.1.14.ebuild update according comments
Comment 8 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-11-12 21:48:08 UTC
Thanks for the update, it's in CVS.
Comment 9 a 2008-01-16 13:09:50 UTC
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.