wok-tiny rev 138

dropbear: shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 22:31:30 2018 +0100 (2018-03-05)
parents 817547059bd8
children 88e2011c8afe
files dropbear-client-without-zlib/receipt dropbear-client/receipt dropbear-without-zlib/receipt dropbear/receipt
line diff
     1.1 --- a/dropbear-client-without-zlib/receipt	Mon Mar 05 16:43:41 2018 +0100
     1.2 +++ b/dropbear-client-without-zlib/receipt	Mon Mar 05 22:31:30 2018 +0100
     1.3 @@ -25,11 +25,16 @@
     1.4  	DROPBEARS="dbclient scp"
     1.5  	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
     1.6  		-e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
     1.7 +		-e 's|.*MD5_HMAC.*|/*&*/|' \
     1.8 +		-e 's|.*_AES128.*|/*&*/|' \
     1.9 +		-e 's|.*TWOFISH128.*|/*&*/|' \
    1.10  		options.h
    1.11  	[ -d $WOK/zlib/taz ] || cook zlib
    1.12  	ln -s $WOK/zlib/taz/*/fs/usr/lib/* /usr/share/uclibc-cross-compiler-$TARGET/lib/ 2> /dev/null
    1.13  	ln -s /usr/include/z*.h /usr/share/uclibc-cross-compiler-$TARGET/include/ 2> /dev/null
    1.14  	./configure --prefix=/usr --without-pam --host=$TARGET-pc-linux-gnu \
    1.15 +		--disable-lastlog --disable-utmp --disable-utmpx \
    1.16 +		--disable-wtmp --disable-wtmpx \
    1.17  		--disable-zlib CC=uclibc-$TARGET-cc &&
    1.18  	make PROGRAMS="$DROPBEARS" MULTI=1 &&
    1.19  	install -d -m 755 $DESTDIR/usr/bin &&
     2.1 --- a/dropbear-client/receipt	Mon Mar 05 16:43:41 2018 +0100
     2.2 +++ b/dropbear-client/receipt	Mon Mar 05 22:31:30 2018 +0100
     2.3 @@ -25,8 +25,13 @@
     2.4  	DROPBEARS="dbclient scp"
     2.5  	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
     2.6  		-e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
     2.7 +		-e 's|.*MD5_HMAC.*|/*&*/|' \
     2.8 +		-e 's|.*_AES128.*|/*&*/|' \
     2.9 +		-e 's|.*TWOFISH128.*|/*&*/|' \
    2.10  		options.h
    2.11  	./configure --prefix=/usr --without-pam --host=$TARGET-pc-linux-gnu \
    2.12 +		--disable-lastlog --disable-utmp --disable-utmpx \
    2.13 +		--disable-wtmp --disable-wtmpx \
    2.14  		CC=uclibc-$TARGET-cc &&
    2.15  	make PROGRAMS="$DROPBEARS" MULTI=1 &&
    2.16  	install -d -m 755 $DESTDIR/usr/bin &&
     3.1 --- a/dropbear-without-zlib/receipt	Mon Mar 05 16:43:41 2018 +0100
     3.2 +++ b/dropbear-without-zlib/receipt	Mon Mar 05 22:31:30 2018 +0100
     3.3 @@ -25,6 +25,9 @@
     3.4  	DROPBEARS="dbclient scp"
     3.5  	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
     3.6  		-e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
     3.7 +		-e 's|.*MD5_HMAC.*|/*&*/|' \
     3.8 +		-e 's|.*_AES128.*|/*&*/|' \
     3.9 +		-e 's|.*TWOFISH128.*|/*&*/|' \
    3.10  		options.h
    3.11  	./configure --prefix=/usr --without-pam --host=$TARGET-pc-linux-gnu \
    3.12  		--disable-zlib CC=uclibc-$TARGET-cc &&
     4.1 --- a/dropbear/receipt	Mon Mar 05 16:43:41 2018 +0100
     4.2 +++ b/dropbear/receipt	Mon Mar 05 22:31:30 2018 +0100
     4.3 @@ -24,6 +24,9 @@
     4.4  	DROPBEARS="dbclient scp"
     4.5  	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
     4.6  		-e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
     4.7 +		-e 's|.*MD5_HMAC.*|/*&*/|' \
     4.8 +		-e 's|.*_AES128.*|/*&*/|' \
     4.9 +		-e 's|.*TWOFISH128.*|/*&*/|' \
    4.10  		options.h
    4.11  	[ -d $WOK/zlib/taz ] || cook zlib
    4.12  	ln -s $WOK/zlib/taz/*/fs/usr/lib/* /usr/share/uclibc-cross-compiler-$TARGET/lib/ 2> /dev/null