. ${BUILDFILE%/*}/common.sh pkgver=20180910 package() { preamble # #### Parabola hackers depends=( parabola-hackers-nshd openssh sudo config-parabola-mgmt-nshd-updater ) # sshd is configured to force the use of keys (no password-based # login), and to use [parabola-hackers][] `ssh-list-authorized-keys` # in addition to checking `~/.ssh/authorized_keys`. # `ssh-list-authorized-keys` returns the authorized keys from the # [hackers.git][] checkout in `/var/lib/hackers-git` (the path to the # checkout is configured in `/etc/parabola-hackers.yml`). # # [parabola-hackers]: https://www.parabola.nu/packages/libre/x86_64/parabola-hackers/ # [hackers.git]: https://git.parabola.nu/hackers.git/ add-file -m755 usr/share/holo/files/10-"$pkgname"/etc/ssh/sshd_config.holoscript < Reloading nshd...' systemctl reload nshd.service EOF postamble }