diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
| commit | 93a354611e38a6949add5c2e5ccc93ef79b9755f (patch) | |
| tree | 7fee41752b1047d74c59f8ee046cd62735e7e934 /openssh | |
| parent | 35912580b66e9439f91ea441938828ad8aa33b0d (diff) | |
| download | alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip | |
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'openssh')
| -rw-r--r-- | openssh/.checksum | 2 | ||||
| -rw-r--r-- | openssh/.files | 48 | ||||
| -rw-r--r-- | openssh/abuild | 8 | ||||
| -rwxr-xr-x | openssh/postinstall | 10 | ||||
| -rwxr-xr-x | openssh/sshd.run | 5 |
5 files changed, 73 insertions, 0 deletions
diff --git a/openssh/.checksum b/openssh/.checksum new file mode 100644 index 00000000..0157f6e7 --- /dev/null +++ b/openssh/.checksum @@ -0,0 +1,2 @@ +214da311ab5a920d9d72b4b913712d82b15af8f80e0bc4290303601d7906979e openssh-10.0p1.tar.gz +4012d0f90ad02ef57f7688b61d249061b7065e0b0fe7fcb7dd2d519cc9541a3c sshd.run diff --git a/openssh/.files b/openssh/.files new file mode 100644 index 00000000..835a0185 --- /dev/null +++ b/openssh/.files @@ -0,0 +1,48 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/moduli.new +-rw-r--r-- root/root etc/ssh_config.new +-rw-r--r-- root/root etc/sshd_config.new +drwxr-xr-x root/root etc/sv/ +drwxr-xr-x root/root etc/sv/sshd/ +-rwxr-xr-x root/root etc/sv/sshd/run.new +lrwxrwxrwx root/root etc/sv/sshd/supervise -> ../../../run/runit/supervise.sshd +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/scp +-rwxr-xr-x root/root usr/bin/sftp +-rwxr-xr-x root/root usr/bin/ssh +-rwxr-xr-x root/root usr/bin/ssh-add +-rwxr-xr-x root/root usr/bin/ssh-agent +-rwxr-xr-x root/root usr/bin/ssh-keygen +-rwxr-xr-x root/root usr/bin/ssh-keyscan +drwxr-xr-x root/root usr/libexec/ +-rwxr-xr-x root/root usr/libexec/sftp-server +-rws--x--x root/root usr/libexec/ssh-keysign +-rwxr-xr-x root/root usr/libexec/ssh-pkcs11-helper +-rwxr-xr-x root/root usr/libexec/ssh-sk-helper +-rwxr-xr-x root/root usr/libexec/sshd-auth +-rwxr-xr-x root/root usr/libexec/sshd-session +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/sshd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/scp.1.gz +-rw-r--r-- root/root usr/share/man/man1/sftp.1.gz +-rw-r--r-- root/root usr/share/man/man1/ssh-add.1.gz +-rw-r--r-- root/root usr/share/man/man1/ssh-agent.1.gz +-rw-r--r-- root/root usr/share/man/man1/ssh-keygen.1.gz +-rw-r--r-- root/root usr/share/man/man1/ssh-keyscan.1.gz +-rw-r--r-- root/root usr/share/man/man1/ssh.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/moduli.5.gz +-rw-r--r-- root/root usr/share/man/man5/ssh_config.5.gz +-rw-r--r-- root/root usr/share/man/man5/sshd_config.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/sftp-server.8.gz +-rw-r--r-- root/root usr/share/man/man8/ssh-keysign.8.gz +-rw-r--r-- root/root usr/share/man/man8/ssh-pkcs11-helper.8.gz +-rw-r--r-- root/root usr/share/man/man8/ssh-sk-helper.8.gz +-rw-r--r-- root/root usr/share/man/man8/sshd.8.gz +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/empty/ diff --git a/openssh/abuild b/openssh/abuild new file mode 100644 index 00000000..06f10cfa --- /dev/null +++ b/openssh/abuild @@ -0,0 +1,8 @@ +name=openssh +version=10.0p1 +release=1 +source="https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/${name}-${version}.tar.gz + sshd.run" +sv="sshd.run" +build_opt="--without-zlib-version-check --with-privsep-user=nobody --with-privsep-path=/var/empty" +#export CFLAGS="$CFLAGS -Wno-error=incompatible-pointer-types" diff --git a/openssh/postinstall b/openssh/postinstall new file mode 100755 index 00000000..981ce237 --- /dev/null +++ b/openssh/postinstall @@ -0,0 +1,10 @@ +#!/bin/sh + +getent group sshd >/dev/null || groupadd -g 50 sshd +getent passwd messagebus >/dev/null || \ + useradd -c 'sshd PrivSep' \ + -d /var/lib/sshd \ + -g sshd \ + -s /bin/false \ + -u 50 sshd + diff --git a/openssh/sshd.run b/openssh/sshd.run new file mode 100755 index 00000000..8079fc4b --- /dev/null +++ b/openssh/sshd.run @@ -0,0 +1,5 @@ +#!/bin/sh +exec 2>&1 +ssh-keygen -A >/dev/null 2>&1 # Will generate host keys if they don't already exist +[ -r conf ] && . ./conf +exec sshd -D $OPTS |