commit d14045ba151562934b8e2ebdf77441d1c489db81 parent 718544534c2cc7a1d18b3e01395d912ffac1f25c Author: sin <sin@2f30.org> Date: Thu, 13 Feb 2014 12:29:10 +0000 Remove dropbear Diffstat:
D | pkgs/dropbear | | | 33 | --------------------------------- |
1 file changed, 0 insertions(+), 33 deletions(-)
diff --git a/pkgs/dropbear b/pkgs/dropbear @@ -1,33 +0,0 @@ -url=$mirror/dropbear-2013.56.tar.bz2 - -fetch() { - wget -c $url -O src/dropbear-2013.56.tar.bz2 -} - -unpack() { - pushd src - [ -d dropbear-2013.56 ] || tar xjf dropbear-2013.56.tar.bz2 - popd -} - -build() { - pushd src/dropbear-2013.56 - CC=x86_64-linux-musl-gcc ./configure LDFLAGS=-static --prefix=$root || return 1 - for i in UTMP WTMP PUTUTLINE PUTUTXLINE SYSLOG LASTLOG; do - echo "#define DISABLE_$i" >> config.h - done - make SCPPROGRESS=1 PROGRAMS="dropbear dbclient scp dropbearkey" \ - prefix=$root sbindir=$root/bin -j$nprocs STATIC=1 || return 1 - popd -} - -install() { - pushd src/dropbear-2013.56 - make SCPPROGRESS=1 PROGRAMS="dropbear dbclient scp dropbearkey" prefix=$root \ - sbindir=$root/bin -j$nprocs install STATIC=1 || return 1 - pushd $root/bin - ln -sf dbclient ssh - popd - popd - cp $top/stuff/dropbearkeys $root/etc -}