summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2005-04-16 14:00:58 +0000
committerGustavo Felisberto <humpback@gentoo.org>2005-04-16 14:00:58 +0000
commit94be2a14cb932b49614299dc4af3d8c6e759607e (patch)
treec5b67a87896df8700a54a34e9fd11205f2643503 /net-im
parentnew upstream version , fixes #87956 (diff)
downloadgentoo-2-94be2a14cb932b49614299dc4af3d8c6e759607e.tar.gz
gentoo-2-94be2a14cb932b49614299dc4af3d8c6e759607e.tar.bz2
gentoo-2-94be2a14cb932b49614299dc4af3d8c6e759607e.zip
small file permission fixes
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ejabberd/ChangeLog6
-rw-r--r--net-im/ejabberd/ejabberd-0.7.5.ebuild8
-rw-r--r--net-im/ejabberd/files/ejabberd2
3 files changed, 11 insertions, 5 deletions
diff --git a/net-im/ejabberd/ChangeLog b/net-im/ejabberd/ChangeLog
index 7f32b42bcb7d..341cb4d5c091 100644
--- a/net-im/ejabberd/ChangeLog
+++ b/net-im/ejabberd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/ejabberd
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.2 2005/04/10 18:10:56 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.3 2005/04/16 14:00:58 humpback Exp $
+
+ 16 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>; files/ejabberd,
+ ejabberd-0.7.5.ebuild:
+ Small file permission patches
10 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>;
files/ejabberd-0.7.5.initd, +files/self-cert.sh, ejabberd-0.7.5.ebuild:
diff --git a/net-im/ejabberd/ejabberd-0.7.5.ebuild b/net-im/ejabberd/ejabberd-0.7.5.ebuild
index 56d650a4e355..5d1aa068f023 100644
--- a/net-im/ejabberd/ejabberd-0.7.5.ebuild
+++ b/net-im/ejabberd/ejabberd-0.7.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-0.7.5.ebuild,v 1.2 2005/04/10 18:10:56 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-0.7.5.ebuild,v 1.3 2005/04/16 14:00:58 humpback Exp $
inherit eutils
@@ -50,14 +50,15 @@ src_install() {
# Database
dodir /var/spool/ejabberd
fowners ejabberd:jabber /var/spool/ejabberd
+ fperms 700 /var/spool/ejabberd
# Home
dodir /var/run/ejabberd
- fowners ejabber:jabber /var/run/ejabberd
+ fowners ejabberd:jabber /var/run/ejabberd
# Logs
dodir /var/log/ejabberd
- fowners ejabber:jabber /var/log/ejabberd
+ fowners ejabberd:jabber /var/log/ejabberd
cd ..
dodoc doc/*.tex
@@ -70,6 +71,7 @@ src_install() {
exeinto /etc/init.d
newexe ${FILESDIR}/ejabberd-0.7.5.initd ejabberd
if use ssl ; then
+ exeinto /etc/ejabberd
doexe ${FILESDIR}/self-cert.sh
fi
diff --git a/net-im/ejabberd/files/ejabberd b/net-im/ejabberd/files/ejabberd
index 2bc1ddf1d93f..d7506959fb3a 100644
--- a/net-im/ejabberd/files/ejabberd
+++ b/net-im/ejabberd/files/ejabberd
@@ -4,8 +4,8 @@ erl -pa /var/lib/ejabberd/ebin \
-sname ejabberd \
-s ejabberd \
-ejabberd config \"/etc/ejabberd/ejabberd.cfg\" \
- -kernel inetrc \"/etc/ejabberd/inetrc\" \
log_path \"/var/log/ejabberd/ejabberd.log\" \
+ -kernel inetrc \"/etc/ejabberd/inetrc\" \
-sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} \
-mnesia dir \"/var/spool/ejabberd\" \
$@