Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575956 - net-irc/inspircd: version bump to 2.0.21
Summary: net-irc/inspircd: version bump to 2.0.21
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: A. Wilcox (awilfox)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 00:26 UTC by A. Wilcox (awilfox)
Modified: 2016-03-26 04:52 UTC (History)
1 user (show)

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


Attachments
ebuild patch (inspircd-2.0.21,2.17 KB, patch)
2016-02-29 00:26 UTC, A. Wilcox (awilfox)
Details | Diff
inspircd-2.0.21-fix-path-builds.patch (inspircd-2.0.21-fix-path-builds.patch,9.31 KB, patch)
2016-02-29 00:28 UTC, A. Wilcox (awilfox)
Details | Diff
ebuild patch v2 (ebuild.patch,2.71 KB, patch)
2016-03-21 15:08 UTC, A. Wilcox (awilfox)
Details | Diff
inspircd-2.0.21-init (inspircd-2.0.21-init,770 bytes, text/plain)
2016-03-21 15:08 UTC, A. Wilcox (awilfox)
Details
ebuild patch v3 (inspircd.patch,2.71 KB, patch)
2016-03-26 02:25 UTC, A. Wilcox (awilfox)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2016-02-29 00:26:56 UTC
Created attachment 426940 [details, diff]
ebuild patch

InspIRCd version 2.0.21 is out with bugfixes, including the patch for tmpnam that was required for 2.0.20.

The new ebuild uses EAPI=6.  As such the patches are cleaner.  I also massively cleaned up src_configure.

Additionally, I have fixed up the paths patch for this version to include the modules.conf.example which is pretty much required these days to have a working server.
Comment 1 A. Wilcox (awilfox) 2016-02-29 00:28:11 UTC
Created attachment 426942 [details, diff]
inspircd-2.0.21-fix-path-builds.patch

This is the new files/inspircd-2.0.21-fix-path-builds.patch file.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2016-02-29 14:00:45 UTC
perfect patches however

/net-irc/inspircd $ sudo ebuild inspircd-2.0.20.ebuild clean install

works


~/github/gentoo/net-irc/inspircd $ sudo ebuild inspircd-2.0.21.ebuild clean install

yields

>>> Completed installing inspircd-2.0.21 into /mnt/gen2/TmpDir/portage/net-irc/inspircd-2.0.21/image/

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-12803.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: inspircd
A: /var/lib/inspircd
R: /var/lib/inspircd
C: /usr/bin/install -d -o inspircd -m 0755 /var/lib/inspircd data 

F: mkdir
S: deny
P: inspircd
A: /var/log/inspircd
R: /var/log/inspircd
C: /usr/bin/install -d -o inspircd -m 0755 /var/log/inspircd 
 * --------------------------------------------------------------------------------
Comment 3 Brendan Horan 2016-02-29 14:02:36 UTC
I can confirm that :
1) all the patches work fine
2) I also get access violations:
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-19656.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: inspircd
A: /var/lib/inspircd
R: /var/lib/inspircd
C: /usr/bin/install -d -o inspircd -m 0755 /var/lib/inspircd data 

F: mkdir
S: deny
P: inspircd
A: /var/log/inspircd
R: /var/log/inspircd
C: /usr/bin/install -d -o inspircd -m 0755 /var/log/inspircd 
 * -----------------------------------------------------------------------------
Comment 4 A. Wilcox (awilfox) 2016-03-21 15:08:21 UTC
Created attachment 428708 [details, diff]
ebuild patch v2

This patch fixes the sandbox violation, and additionally cleans up the installation routine.  However, it now needs a small change to the init script that is incompatible with the 2.0.20 ebuild.  So I have made it ${P} instead of ${PN}.  This will also allow for further modification if/when 2.2 is ever released.
Comment 5 A. Wilcox (awilfox) 2016-03-21 15:08:59 UTC
Created attachment 428710 [details]
inspircd-2.0.21-init

This attachment is for the ${FILESDIR}/inspircd-2.0.21-init file.
Comment 6 Louis Sautier (sbraz) gentoo-dev 2016-03-21 21:11:28 UTC
This works fine on arm, you can add it to keywords :)
*************************************
*        BUILD COMPLETE!            *
*                                   *
*   To install InspIRCd, type:      *
*         make install              *
*************************************
>>> Source compiled.
>>> Test phase: net-irc/inspircd-2.0.21
>>> Completed testing net-irc/inspircd-2.0.21
# uname -m
armv7l
Comment 7 A. Wilcox (awilfox) 2016-03-26 02:25:19 UTC
Created attachment 429020 [details, diff]
ebuild patch v3

Add ~arm to KEYWORDS.  Thanks for testing, Louis!
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2016-03-26 04:52:17 UTC
commit 4b8f1252bd89153bbef8c79eff4f353565cf7cf4
Author: Ian Delaney <idella4@gentoo.org>
Date:   Sat Mar 26 12:51:56 2016 +0800

    net-irc/inspircd: bump to vn. 2.0.21
    
    patches to bump ebuild and fix build paths sunbmitted by
    the proxy maintainer via the gentoo bug. Keyword arm
    intially tested fine however requires keywording in
    required dep, held back for later.
    
    Gentoo bug: #575956