From 71b30fe252375ce9cd17564309f0598b768bfec5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 4 Feb 2017 06:33:09 +0000 Subject: update --- config-mgmt-certbot.PKGBUILD | 3 +- config-mgmt-nshd.PKGBUILD | 61 +++++++++++++++++++++++ config-service-repo.PKGBUILD | 116 ++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 178 insertions(+), 2 deletions(-) create mode 100644 config-mgmt-nshd.PKGBUILD diff --git a/config-mgmt-certbot.PKGBUILD b/config-mgmt-certbot.PKGBUILD index 1bc650e..aeaca1d 100644 --- a/config-mgmt-certbot.PKGBUILD +++ b/config-mgmt-certbot.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161112 +pkgver=20170203 package() { preamble @@ -51,6 +51,7 @@ install -d etc/ssl/misc/certbot-get.d add-file -m755 etc/ssl/misc/certbot-get <<<'#!/bin/bash { set -eu + cd / # The first name listed should be the canonical host name domains=( diff --git a/config-mgmt-nshd.PKGBUILD b/config-mgmt-nshd.PKGBUILD new file mode 100644 index 0000000..b3336e3 --- /dev/null +++ b/config-mgmt-nshd.PKGBUILD @@ -0,0 +1,61 @@ +. ${BUILDFILE%/*}/common.sh +pkgver=20170203.3 + +package() { +preamble +# #### Parabola hackers + +depends=(parabola-hackers-nshd openssh) + +# 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 <