~xdavidwu/systemd-apkbuilds

d8ae699f0049bc97aef67f6be1e57be9a56da1ae — xdavidwu 2 years ago d7c0d39
openssh-server-pam-systemd: remove
3 files changed, 0 insertions(+), 61 deletions(-)

D openssh-server-pam-systemd/APKBUILD
D openssh-server-pam-systemd/sshd-pam.service
D openssh-server-pam-systemd/sshdgenkeys.service
D openssh-server-pam-systemd/APKBUILD => openssh-server-pam-systemd/APKBUILD +0 -32
@@ 1,32 0,0 @@
# Maintainer: xdavidwu <xdavidwuph@gmail.com>
pkgname=openssh-server-pam-systemd
pkgver=3
pkgrel=0
pkgdesc="systemd services for openssh-server-pam"
url="https://gitlab.xdavidwu.link/alpine-systemd/openssh-server-pam-systemd"
arch="noarch"
license="MIT"
install_if="openssh-server-pam systemd"
source="sshd-pam.service
	sshdgenkeys.service"
builddir="$srcdir/"

build() {
	# Replace with proper build command(s)
	:
}

check() {
	# Replace with proper check command(s)
	:
}

package() {
	install -Dm644 sshdgenkeys.service "${pkgdir}"/lib/systemd/system/sshdgenkeys.service
	install -Dm644 sshd-pam.service "${pkgdir}"/lib/systemd/system/sshd-pam.service
}

sha512sums="
fa445c4a53214524baed4e9c52a5463592a074f88a5a286eacb60d0907c0545f725afde23abd68cf611067add80c2ccb289a381fc5ff6a5f654ea49c81f02fe8  sshd-pam.service
e8cda24aebd0c865915a3d2067815fce3795c9954acce273aca541886a9c1c208c442650a032d909510644b38416648e9250b05939fc0c156014a3e393dd5c74  sshdgenkeys.service
"

D openssh-server-pam-systemd/sshd-pam.service => openssh-server-pam-systemd/sshd-pam.service +0 -14
@@ 1,14 0,0 @@
[Unit]
Description=OpenSSH Daemon
Wants=sshdgenkeys.service
After=sshdgenkeys.service
After=network.target

[Service]
ExecStart=/usr/sbin/sshd.pam -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target

D openssh-server-pam-systemd/sshdgenkeys.service => openssh-server-pam-systemd/sshdgenkeys.service +0 -15
@@ 1,15 0,0 @@
[Unit]
Description=SSH Key Generation
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub

[Service]
ExecStart=/usr/bin/ssh-keygen -A
Type=oneshot
RemainAfterExit=yes