openssh-server: use make_dirs.

This commit is contained in:
Juan RP 2012-07-14 23:44:00 +02:00
parent 1c9cf30a50
commit 9965ac1fcb
3 changed files with 2 additions and 4 deletions

View file

@ -1 +0,0 @@
d /var/chroot/ssh 755 root root

View file

@ -2,6 +2,7 @@
#
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
systemd_services="sshd.socket on"
make_dirs="/var/chroot/ssh 0755 root root"
depends="openssh>=$version"
short_desc="The OpenSSH server"
long_desc="${long_desc}
@ -20,6 +21,4 @@ do_install() {
vmkdir usr/lib/systemd/system
install -m644 ${FILESDIR}/*.{socket,service} \
${DESTDIR}/usr/lib/systemd/system
vinstall ${FILESDIR}/sshd.tmpfiles.d 644 \
usr/lib/tmpfiles.d sshd.conf
}

View file

@ -1,7 +1,7 @@
# Template file for 'openssh'
pkgname=openssh
version=6.0p1
revision=3
revision=4
build_style=gnu-configure
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody --with-pam