summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorBart Verwilst <verwilst@gentoo.org>2002-11-14 18:07:58 +0000
committerBart Verwilst <verwilst@gentoo.org>2002-11-14 18:07:58 +0000
commit1869459ad36ce33dd9f2fe8e7673236b6c0fe232 (patch)
treeab35e4ea4bbc606808c8c874b81da83a7ffdb366 /net-im
parentemake is b0rked (diff)
downloadgentoo-2-1869459ad36ce33dd9f2fe8e7673236b6c0fe232.tar.gz
gentoo-2-1869459ad36ce33dd9f2fe8e7673236b6c0fe232.tar.bz2
gentoo-2-1869459ad36ce33dd9f2fe8e7673236b6c0fe232.zip
worked on the install bit, made things a lot more secure, + keygen script updated
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-server/files/config-1.4.2-r1.tbz2bin2988 -> 3222 bytes
-rw-r--r--net-im/jabber-server/jabber-server-1.4.2-r2.ebuild27
2 files changed, 17 insertions, 10 deletions
diff --git a/net-im/jabber-server/files/config-1.4.2-r1.tbz2 b/net-im/jabber-server/files/config-1.4.2-r1.tbz2
index e1f9a367c770..606a84ae6f03 100644
--- a/net-im/jabber-server/files/config-1.4.2-r1.tbz2
+++ b/net-im/jabber-server/files/config-1.4.2-r1.tbz2
Binary files differ
diff --git a/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild b/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild
index b1b91a6287cd..85f2d390f83c 100644
--- a/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild
+++ b/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild,v 1.9 2002/11/14 17:17:36 verwilst Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild,v 1.10 2002/11/14 18:07:58 verwilst Exp $
IUSE="ssl"
@@ -118,17 +118,24 @@ src_install() {
pkg_postinst() {
- cd /usr/jabber-${PV}
groupadd jabber
- useradd jabber -s /bin/false -d /usr/jabber-${PV} -g jabber -m
- chown jabber.jabber * -R
- chmod o-rwx * -R
- chmod g-x * -R
- chmod g+rw * -R
- chmod u+xs jabberd/jabberd
+ useradd jabber -s /bin/false -g jabber
+ chown jabber.jabber /etc/jabber
+ chown jabber.jabber /usr/sbin/jabberd
+ chown jabber.jabber /var/spool/jabber -R
+ chmod o-rwx /etc/jabber
+ chmod o-rwx /usr/sbin/jabberd
+ chmod o-rwx /var/spool/jabber -R
+ chmod g-x /etc/jabber
+ chmod g-x /usr/sbin/jabberd
+ chmod g-x /var/spool/jabber -R
+ chmod g+rw /etc/jabber
+ chmod g+rw /usr/sbin/jabberd
+ chmod g+rw /var/spool/jabber -R
+ chmod u+xs /usr/sbin/jabberd
- einfo "Change 'localhost' to your server's domainname in the *.xml configs first"
- einfo "To enable SSL connections, execute ./self-cert.sh in the server's dir"
+ einfo "Change 'localhost' to your server's domainname in the /etc/jabber/*.xml configs first"
+ einfo "To enable SSL connections, execute /etc/jabber/self-cert.sh"
einfo "(Only if compiled with SSL support (ssl in USE)"
einfo "Server admins should be added to the "jabber" group"