From 7135cf95adfb077933552542bf0449dad12a8907 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Tue, 8 Jun 2021 14:25:56 +0200 Subject: [PATCH 1/2] tinyssh: update to 20210601. --- srcpkgs/tinyssh/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tinyssh/template b/srcpkgs/tinyssh/template index 0283f890bcd7..5f4bf95eec7b 100644 --- a/srcpkgs/tinyssh/template +++ b/srcpkgs/tinyssh/template @@ -1,6 +1,6 @@ # Template file for 'tinyssh' pkgname=tinyssh -version=20210319 +version=20210601 revision=1 build_style=gnu-makefile make_dirs="/etc/tinyssh 0755 root root" @@ -10,7 +10,7 @@ maintainer="Christopher Brannon " license="Public Domain" homepage="https://tinyssh.org" distfiles="https://github.com/janmojzis/tinyssh/archive/${version}.tar.gz" -checksum=dfa1f18a1cda03fda93b7659949377b40dee4e2f74e14db38eb146e5bc959c8d +checksum=2a051437878998c7782d9d38ef13e5e7a76435ae6b9c3e9ec492c3a567bd6314 nocross=yes pre_build() { From 3c187eca4aa29f18a65ff7d0da151aea3c3d8e3a Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Wed, 9 Jun 2021 15:18:50 -0700 Subject: [PATCH 2/2] tinyssh: make cross compilation work! --- srcpkgs/tinyssh/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/tinyssh/template b/srcpkgs/tinyssh/template index 5f4bf95eec7b..50f91f1ee29e 100644 --- a/srcpkgs/tinyssh/template +++ b/srcpkgs/tinyssh/template @@ -11,7 +11,11 @@ license="Public Domain" homepage="https://tinyssh.org" distfiles="https://github.com/janmojzis/tinyssh/archive/${version}.tar.gz" checksum=2a051437878998c7782d9d38ef13e5e7a76435ae6b9c3e9ec492c3a567bd6314 -nocross=yes +#nocross=yes + +if [ -n "${CROSS_BUILD}" ] ; then + make_build_target=cross-compile +fi pre_build() { echo '/usr/bin' > conf-bin