summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé María Alonso <nimiux@gentoo.org>2013-01-08 19:41:58 +0000
committerJosé María Alonso <nimiux@gentoo.org>2013-01-08 19:41:58 +0000
commitcb3c7dd64dea865d5c3596f8c943b050da4cc038 (patch)
treeae16763f8a954c667e41f12d57bfab01dbd730c3 /net-irc/inspircd
parentFix x32 builds. (diff)
downloadgentoo-2-cb3c7dd64dea865d5c3596f8c943b050da4cc038.tar.gz
gentoo-2-cb3c7dd64dea865d5c3596f8c943b050da4cc038.tar.bz2
gentoo-2-cb3c7dd64dea865d5c3596f8c943b050da4cc038.zip
Fix keepdir of /var/run wrt bug #450838.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key D628E536)
Diffstat (limited to 'net-irc/inspircd')
-rw-r--r--net-irc/inspircd/ChangeLog8
-rw-r--r--net-irc/inspircd/files/inspircd-2.0.10-init9
-rw-r--r--net-irc/inspircd/inspircd-2.0.10.ebuild6
3 files changed, 14 insertions, 9 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog
index 691c1fe7b064..eeaf09a4bdc4 100644
--- a/net-irc/inspircd/ChangeLog
+++ b/net-irc/inspircd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/inspircd
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.63 2012/12/17 12:07:26 nimiux Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.64 2013/01/08 19:41:58 nimiux Exp $
+
+ 08 Jan 2013; Chema Alonso <nimiux@gentoo.org> inspircd-2.0.10.ebuild,
+ files/inspircd-2.0.10-init:
+ Fix keepdir of /var/run wrt bug #450838.
*inspircd-2.0.10 (17 Dec 2012)
diff --git a/net-irc/inspircd/files/inspircd-2.0.10-init b/net-irc/inspircd/files/inspircd-2.0.10-init
index a5bdad8a40c3..e2e9682e7d90 100644
--- a/net-irc/inspircd/files/inspircd-2.0.10-init
+++ b/net-irc/inspircd/files/inspircd-2.0.10-init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/files/inspircd-2.0.10-init,v 1.1 2012/12/17 12:07:26 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/files/inspircd-2.0.10-init,v 1.2 2013/01/08 19:41:58 nimiux Exp $
extra_commands="rehash version"
@@ -12,10 +12,11 @@ depend() {
start() {
ebegin "Starting InspIRCd"
+ checkpath -d -m 0750 -o inspircd:inspircd /var/run/inspircd
start-stop-daemon --start --quiet --user inspircd \
--exec /usr/bin/inspircd -- \
--config /etc/inspircd/inspircd.conf \
- --logfile /var/log/inspircd/ircd.log &> /dev/null
+ --logfile /var/log/inspircd/ircd.log
eend $?
}
@@ -27,7 +28,7 @@ stop() {
rehash() {
ebegin "Rehashing InspIRCd"
- /usr/lib/inspircd/inspircd.launcher/inspircd rehash &> /dev/null
+ /usr/lib/inspircd/inspircd.launcher/inspircd rehash
eend $?
}
diff --git a/net-irc/inspircd/inspircd-2.0.10.ebuild b/net-irc/inspircd/inspircd-2.0.10.ebuild
index 7a64c05a2129..4abfe6d401ca 100644
--- a/net-irc/inspircd/inspircd-2.0.10.ebuild
+++ b/net-irc/inspircd/inspircd-2.0.10.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-2.0.10.ebuild,v 1.1 2012/12/17 12:07:26 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-2.0.10.ebuild,v 1.2 2013/01/08 19:41:58 nimiux Exp $
EAPI=4
@@ -88,7 +88,7 @@ src_install() {
doins include/*
diropts -o"${PN}" -g"${PN}"
- dodir "/var/run/${PN}" "/var/lib/${PN}/data"
+ dodir "/var/lib/${PN}/data"
newinitd "${FILESDIR}/${PF}-init" "${PN}"
keepdir "/var/log/${PN}"/