# HG changeset patch # User Pascal Bellard # Date 1520264621 -3600 # Node ID 817547059bd86cbadb72d1015db5d5b3022320c8 # Parent f16721d1439f6f14cb025a69191655f183f9d6f4 Add dropbear-client-without-zlib diff -r f16721d1439f -r 817547059bd8 dropbear-client-without-zlib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dropbear-client-without-zlib/receipt Mon Mar 05 16:43:41 2018 +0100 @@ -0,0 +1,51 @@ +# SliTaz package receipt. + +PACKAGE="dropbear-client-without-zlib" +SOURCE="dropbear" +VERSION="0.53" +CATEGORY="security" +SHORT_DESC="Light SSH client without compression support." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +DEPENDS="libutil" +[ -n "$TARGET" ] || TARGET="i486" +BUILD_DEPENDS="dropbear uclibc-cross-compiler-$TARGET" +WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" +WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" +CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf" +PROVIDE="ssh scp dropbear-client" +TAGS="ssh" + +# Rules to configure and make the package. +compile_rules() +{ + local i + local DROPBEARS + DROPBEARS="dbclient scp" + sed -i -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \ + -e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \ + options.h + [ -d $WOK/zlib/taz ] || cook zlib + ln -s $WOK/zlib/taz/*/fs/usr/lib/* /usr/share/uclibc-cross-compiler-$TARGET/lib/ 2> /dev/null + ln -s /usr/include/z*.h /usr/share/uclibc-cross-compiler-$TARGET/include/ 2> /dev/null + ./configure --prefix=/usr --without-pam --host=$TARGET-pc-linux-gnu \ + --disable-zlib CC=uclibc-$TARGET-cc && + make PROGRAMS="$DROPBEARS" MULTI=1 && + install -d -m 755 $DESTDIR/usr/bin && + install -m 755 dropbearmulti $DESTDIR/usr/bin/dbclient && + chown root $DESTDIR/usr/bin/dbclient && + chgrp 0 $DESTDIR/usr/bin/dbclient && + install -d -m 755 $DESTDIR/usr/bin && + for i in scp ssh; do + ln $DESTDIR/usr/bin/dbclient $DESTDIR/usr/bin/$i + done +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + chown -R root.root $fs +} diff -r f16721d1439f -r 817547059bd8 dropbear-client/receipt --- a/dropbear-client/receipt Mon Mar 05 15:58:24 2018 +0100 +++ b/dropbear-client/receipt Mon Mar 05 16:43:41 2018 +0100 @@ -4,13 +4,13 @@ SOURCE="dropbear" VERSION="0.53" CATEGORY="security" -SHORT_DESC="Light SSH client without compression support." +SHORT_DESC="Light SSH client." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$SOURCE-$VERSION.tar.gz" -DEPENDS="libutil" +DEPENDS="libutil zlib" [ -n "$TARGET" ] || TARGET="i486" -BUILD_DEPENDS="dropbear uclibc-cross-compiler-$TARGET" +BUILD_DEPENDS="dropbear uclibc-cross-compiler-$TARGET zlib-dev" WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf" @@ -27,7 +27,7 @@ -e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \ options.h ./configure --prefix=/usr --without-pam --host=$TARGET-pc-linux-gnu \ - --disable-zlib CC=uclibc-$TARGET-cc && + CC=uclibc-$TARGET-cc && make PROGRAMS="$DROPBEARS" MULTI=1 && install -d -m 755 $DESTDIR/usr/bin && install -m 755 dropbearmulti $DESTDIR/usr/bin/dbclient && diff -r f16721d1439f -r 817547059bd8 fbvnc-ssh/receipt --- a/fbvnc-ssh/receipt Mon Mar 05 15:58:24 2018 +0100 +++ b/fbvnc-ssh/receipt Mon Mar 05 16:43:41 2018 +0100 @@ -8,7 +8,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://tiny.slitaz.org/" -DEPENDS="base-tiny fbvnc-config dropbear" +DEPENDS="base-tiny fbvnc-config dropbear-client" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules()