diff options
-rwxr-xr-x | extra/dropbear/build | 23 | ||||
-rw-r--r-- | extra/dropbear/checksums | 2 | ||||
-rw-r--r-- | extra/dropbear/depends | 1 | ||||
-rwxr-xr-x | extra/dropbear/files/run | 3 | ||||
-rw-r--r-- | extra/dropbear/sources | 2 | ||||
-rw-r--r-- | extra/dropbear/version | 1 |
6 files changed, 32 insertions, 0 deletions
diff --git a/extra/dropbear/build b/extra/dropbear/build new file mode 100755 index 00000000..eb926ca3 --- /dev/null +++ b/extra/dropbear/build @@ -0,0 +1,23 @@ +#!/bin/sh -e + +kinstall() { + mkdir -p "${3%/*}"; cp "$2" "$3" + chmod "$1" "$3" +} + +export LDFLAGS="$LDFLAGS -static" + +./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-static + +make +make DESTDIR="$1" install + +ln -s dbclient "$1/usr/bin/ssh" + +# Install user services +kinstall 755 run "$1/etc/sv/dropbear/run" +kinstall 755 run "$1/etc/sysmgr/dropbear" +ln -sf /run/runit/supervise.dropbear "$1/etc/sv/dropbear/supervise" diff --git a/extra/dropbear/checksums b/extra/dropbear/checksums new file mode 100644 index 00000000..f2109a85 --- /dev/null +++ b/extra/dropbear/checksums @@ -0,0 +1,2 @@ +525965971272270995364a0eb01f35180d793182e63dd0b0c3eb0292291644a4 dropbear-2019.78.tar.bz2 +44462eb4da98a0fa312099e15ba925e20f4469f16a64a6ca37896149ee79cd90 run diff --git a/extra/dropbear/depends b/extra/dropbear/depends new file mode 100644 index 00000000..17a6d43d --- /dev/null +++ b/extra/dropbear/depends @@ -0,0 +1 @@ +zlib make diff --git a/extra/dropbear/files/run b/extra/dropbear/files/run new file mode 100755 index 00000000..3ae7aef6 --- /dev/null +++ b/extra/dropbear/files/run @@ -0,0 +1,3 @@ +#!/bin/sh + +exec dropbear -F diff --git a/extra/dropbear/sources b/extra/dropbear/sources new file mode 100644 index 00000000..523c38b2 --- /dev/null +++ b/extra/dropbear/sources @@ -0,0 +1,2 @@ +https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 +files/run diff --git a/extra/dropbear/version b/extra/dropbear/version new file mode 100644 index 00000000..a41059f8 --- /dev/null +++ b/extra/dropbear/version @@ -0,0 +1 @@ +2019.78 1 |