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.
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.
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 * --------------------------------------------------------------------------------
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 * -----------------------------------------------------------------------------
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.
Created attachment 428710 [details] inspircd-2.0.21-init This attachment is for the ${FILESDIR}/inspircd-2.0.21-init file.
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
Created attachment 429020 [details, diff] ebuild patch v3 Add ~arm to KEYWORDS. Thanks for testing, Louis!
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