From 6881fbab77d3090a79fef791d2a15dd97f2af360 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 27 May 2020 10:38:35 +0300 Subject: dropbear: add new package at 2019.78 --- extra/dropbear/build | 23 +++++++++++++++++++++++ extra/dropbear/checksums | 2 ++ extra/dropbear/depends | 1 + extra/dropbear/files/run | 3 +++ extra/dropbear/sources | 2 ++ extra/dropbear/version | 1 + 6 files changed, 32 insertions(+) create mode 100755 extra/dropbear/build create mode 100644 extra/dropbear/checksums create mode 100644 extra/dropbear/depends create mode 100755 extra/dropbear/files/run create mode 100644 extra/dropbear/sources create mode 100644 extra/dropbear/version (limited to 'extra/dropbear') 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 -- cgit v1.2.3