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] [Unit]
Description=SSH Secure Shell Service Description=SSH Secure Shell Service
After=syslog.target sshdgenkeys.service Wants=sshdgenkeys.service
After=sshdgenkeys.service
[Service] [Service]
ExecStart=/usr/sbin/sshd -D ExecStart=/usr/sbin/sshd -D
[Install] [Install]
WantedBy=multi-user.target 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] [Unit]
Conflicts=sshd.service Conflicts=sshd.service
Wants=sshdgenkeys.service
After=sshdgenkeys.service
[Socket] [Socket]
ListenStream=22 ListenStream=22
@ -7,4 +9,3 @@ Accept=yes
[Install] [Install]
WantedBy=sockets.target WantedBy=sockets.target
Also=sshdgenkeys.service

View File

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