openssh: added systemd build option.
This commit is contained in:
parent
6a7efe218b
commit
ab3f9f89ef
|
@ -3,7 +3,7 @@ _desc="The OpenSSH implementation of SSH protocol"
|
|||
|
||||
pkgname=openssh
|
||||
version=6.6p1
|
||||
revision=8
|
||||
revision=9
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
|
||||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||
|
@ -22,7 +22,7 @@ distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$version.
|
|||
checksum=48c1f0664b4534875038004cc4f3555b8329c2a81c1df48db5c517800de203bb
|
||||
|
||||
# Package build options
|
||||
build_options="openssh_identitypersist"
|
||||
build_options="systemd openssh_identitypersist"
|
||||
desc_option_openssh_identitypersist="add key to ssh-agent(1) upon connecting"
|
||||
|
||||
pre_configure() {
|
||||
|
@ -67,8 +67,10 @@ openssh-server_package() {
|
|||
vmove usr/share/man/man8/${f}.8
|
||||
done
|
||||
vmove etc/pam.d
|
||||
vmkdir usr/lib/systemd/system
|
||||
install -m644 ${FILESDIR}/*.{socket,service} \
|
||||
${PKGDESTDIR}/usr/lib/systemd/system
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vmkdir usr/lib/systemd/system
|
||||
install -m644 ${FILESDIR}/*.{socket,service} \
|
||||
${PKGDESTDIR}/usr/lib/systemd/system
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue