diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-11-11 00:22:55 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-11-11 00:22:55 +0000 |
| commit | 5569524d10cb7bac81deb7435aee12266ca607cb (patch) | |
| tree | 3cf404080e5b9dc2df9e0475126e51aab9c1ca7d /src/tesserae | |
| parent | added openldap definition (diff) | |
added openssh definition
Diffstat (limited to 'src/tesserae')
| -rw-r--r-- | src/tesserae/openssh.nim | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/tesserae/openssh.nim b/src/tesserae/openssh.nim new file mode 100644 index 0000000..26c58dd --- /dev/null +++ b/src/tesserae/openssh.nim @@ -0,0 +1,38 @@ +import .. / lapis + +tessera "openssh": + source: "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-10.0p1.tar.gz" + patches: @[""] + dependencies: @[""] + build: @[ + "install -v -g sys -m700 -d /var/lib/sshd", + "groupadd -g 50 sshd", + """ + useradd -c 'sshd PrivSep' \ + -d /var/lib/sshd \ + -g sshd \ + -s /bin/false \ + -u 50 sshd + """, + """ + ./configure --prefix=/usr \ + --sysconfdir=/etc/ssh \ + --with-privsep-path=/var/lib/sshd \ + --with-default-path=/usr/bin \ + --with-superuser-path=/usr/sbin:/usr/bin \ + --with-pid-dir=/run + """, + "make", + "make install", + "install -v -m755 contrib/ssh-copy-id /usr/bin", + """ + install -v -m644 contrib/ssh-copy-id.1 \ + /usr/share/man/man1 + """, + "install -v -m755 -d /usr/share/doc/openssh-10.0p1", + """ + install -v -m644 INSTALL LICENCE OVERVIEW README* \ + /usr/share/doc/openssh-10.0p1 + """ + ] + result: "ssh" |
