openssh: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 22:50:09 +02:00
parent b7603d99c0
commit b32c7058b8
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=SSH Secure Shell Service Description=SSH Secure Shell Service
After=syslog.target After=syslog.target sshdgenkeys.service
[Service] [Service]
ExecStart=/usr/sbin/sshd -D ExecStart=/usr/sbin/sshd -D

View file

@ -17,9 +17,9 @@ do_install() {
vmove usr/share/man/man8/${f}.8 usr/share/man/man8 vmove usr/share/man/man8/${f}.8 usr/share/man/man8
done done
vmove etc/pam.d etc vmove etc/pam.d etc
vmkdir lib/systemd/system vmkdir usr/lib/systemd/system
install -m644 ${FILESDIR}/*.{socket,service} \ install -m644 ${FILESDIR}/*.{socket,service} \
${DESTDIR}/lib/systemd/system ${DESTDIR}/usr/lib/systemd/system
vinstall ${FILESDIR}/sshd.tmpfiles.d 644 \ vinstall ${FILESDIR}/sshd.tmpfiles.d 644 \
usr/lib/tmpfiles.d sshd.conf usr/lib/tmpfiles.d sshd.conf
} }

View file

@ -1,7 +1,7 @@
# Template file for 'openssh' # Template file for 'openssh'
pkgname=openssh pkgname=openssh
version=6.0p1 version=6.0p1
revision=2 revision=3
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 --with-pam --sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody --with-pam