openssh-server: use make_dirs.
This commit is contained in:
parent
1c9cf30a50
commit
9965ac1fcb
3 changed files with 2 additions and 4 deletions
|
@ -1 +0,0 @@
|
||||||
d /var/chroot/ssh 755 root root
|
|
|
@ -2,6 +2,7 @@
|
||||||
#
|
#
|
||||||
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
|
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
|
||||||
systemd_services="sshd.socket on"
|
systemd_services="sshd.socket on"
|
||||||
|
make_dirs="/var/chroot/ssh 0755 root root"
|
||||||
depends="openssh>=$version"
|
depends="openssh>=$version"
|
||||||
short_desc="The OpenSSH server"
|
short_desc="The OpenSSH server"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
@ -20,6 +21,4 @@ do_install() {
|
||||||
vmkdir usr/lib/systemd/system
|
vmkdir usr/lib/systemd/system
|
||||||
install -m644 ${FILESDIR}/*.{socket,service} \
|
install -m644 ${FILESDIR}/*.{socket,service} \
|
||||||
${DESTDIR}/usr/lib/systemd/system
|
${DESTDIR}/usr/lib/systemd/system
|
||||||
vinstall ${FILESDIR}/sshd.tmpfiles.d 644 \
|
|
||||||
usr/lib/tmpfiles.d sshd.conf
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openssh'
|
# Template file for 'openssh'
|
||||||
pkgname=openssh
|
pkgname=openssh
|
||||||
version=6.0p1
|
version=6.0p1
|
||||||
revision=3
|
revision=4
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue