mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
openssh-server: added runit service.
This commit is contained in:
parent
10b3bf3a9c
commit
95c0ff2506
2 changed files with 6 additions and 1 deletions
3
srcpkgs/openssh/files/sshd/run
Executable file
3
srcpkgs/openssh/files/sshd/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
ssh-keygen -A # Will generate host keys if they don't already exist
|
||||||
|
exec /usr/sbin/sshd -D
|
|
@ -3,7 +3,7 @@ _desc="The OpenSSH implementation of SSH protocol"
|
||||||
|
|
||||||
pkgname=openssh
|
pkgname=openssh
|
||||||
version=6.7p1
|
version=6.7p1
|
||||||
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
|
||||||
|
@ -58,6 +58,7 @@ post_install() {
|
||||||
openssh-server_package() {
|
openssh-server_package() {
|
||||||
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
|
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
|
||||||
make_dirs="/var/chroot/ssh 0755 root root"
|
make_dirs="/var/chroot/ssh 0755 root root"
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
depends="openssh>=$version"
|
depends="openssh>=$version"
|
||||||
short_desc="${_desc} - server"
|
short_desc="${_desc} - server"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -74,5 +75,6 @@ openssh-server_package() {
|
||||||
install -m644 ${FILESDIR}/*.{socket,service} \
|
install -m644 ${FILESDIR}/*.{socket,service} \
|
||||||
${PKGDESTDIR}/usr/lib/systemd/system
|
${PKGDESTDIR}/usr/lib/systemd/system
|
||||||
fi
|
fi
|
||||||
|
vsv sshd
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue