openssh: some fixes for systemd units, drop unused rdep.

This commit is contained in:
Juan RP 2012-09-03 20:21:42 +02:00
parent ffd16dba1f
commit b2ae6500f2
3 changed files with 11 additions and 11 deletions

View File

@ -1,16 +1,16 @@
# Note that this is the service file for running a single SSH server for all
# incoming connections, suitable only for systems with a large amount of SSH
# traffic. In almost all other cases it is a better idea to use sshd.socket +
# sshd@.service (i.e. the on-demand spawning version for one instance per
# connection).
[Unit]
Description=SSH Secure Shell Service
After=syslog.target sshdgenkeys.service
Wants=sshdgenkeys.service
After=sshdgenkeys.service
[Service]
ExecStart=/usr/sbin/sshd -D
[Install]
WantedBy=multi-user.target
Also=sshdgenkeys.service
# Note that this is the service file for running a single SSH server for all
# incoming connections, suitable only for systems with a large amount of SSH
# traffic. In almost all other cases it is a better idea to use sshd.socket +
# sshd@.service (i.e. the on-demand spawning version for one instance per
# connection).

View File

@ -1,5 +1,7 @@
[Unit]
Conflicts=sshd.service
Wants=sshdgenkeys.service
After=sshdgenkeys.service
[Socket]
ListenStream=22
@ -7,4 +9,3 @@ Accept=yes
[Install]
WantedBy=sockets.target
Also=sshdgenkeys.service

View File

@ -1,14 +1,13 @@
# Template file for 'openssh'
pkgname=openssh
version=6.1p1
revision=1
revision=2
build_style=gnu-configure
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
--with-mantype=man --without-rpath --with-xauth=/usr/bin/xauth
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
--with-kerberos5=/usr --with-pid-dir=/run --with-pam"
depends="shadow"
replaces="openssh-client<6.1p1"
makedepends="perl>=0 zlib-devel openssl-devel pam-devel mit-krb5-devel e2fsprogs-devel"
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config"