summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-09-02 09:33:00 +0000
committerStuart Herbert <stuart@gentoo.org>2003-09-02 09:33:00 +0000
commit95d51acc4c80c173bb50df18bf201e6c525a1d64 (patch)
tree10cf4956003f7971c136127696b7cfff1f503487 /eclass
parentsecurity update (diff)
downloadgentoo-2-95d51acc4c80c173bb50df18bf201e6c525a1d64.tar.gz
gentoo-2-95d51acc4c80c173bb50df18bf201e6c525a1d64.tar.bz2
gentoo-2-95d51acc4c80c173bb50df18bf201e6c525a1d64.zip
Added missing dependency
Diffstat (limited to 'eclass')
-rw-r--r--eclass/nxserver.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/nxserver.eclass b/eclass/nxserver.eclass
index a96f354d30e9..07f87896755b 100644
--- a/eclass/nxserver.eclass
+++ b/eclass/nxserver.eclass
@@ -26,7 +26,8 @@ RDEPEND="$RDEPEND
>=sys-libs/zlib-1.1.4-r1
>=x11-base/xfree-4.3.0-r2
>=net-misc/openssh-3.6.1_p2
- >=dev-lang/perl-5.8.0-r12"
+ >=dev-lang/perl-5.8.0-r12
+ =net-misc/nxssh-1.2.2"
DEPEND="$DEPEND
>=sys-apps/shadow-4.0.3-r6
@@ -80,7 +81,7 @@ nxserver_pkg_postinst() {
einfo "Generating SSH keys for the 'nx' user"
if [ ! -f /usr/NX/etc/users.id_dsa ]; then
- ssh-keygen -q -t dsa -N '' -f /usr/NX/nxhome/.ssh/users.id_dsa
+ ssh-keygen -q -t dsa -N '' -f /usr/NX/etc/users.id_dsa
fi
cp -f /usr/NX/nxhome/.ssh/server.id_dsa.pub.key /usr/NX/nxhome/.ssh/authorized_keys2