wok rev 23872
Add gpart
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 25 08:10:14 2020 +0000 (2020-06-25) |
parents | 53914b720f76 |
children | 5317a720eaa1 |
files | dropbear/receipt gpart/receipt |
line diff
1.1 --- a/dropbear/receipt Tue Jun 23 13:35:04 2020 +0000 1.2 +++ b/dropbear/receipt Thu Jun 25 08:10:14 2020 +0000 1.3 @@ -40,6 +40,7 @@ 1.4 DROPBEARS="dropbearkey dropbearconvert dbclient scp" 1.5 cat > localoptions.h <<EOT 1.6 #define SFTPSERVER_PATH "/usr/sbin/sftp-server" 1.7 +#define DROPBEAR_X11FWD 1 1.8 EOT 1.9 sed -i 's|shell arch|shell uname -m|' libtommath/makefile_include.mk 1.10 ./configure --prefix=/usr --without-pam $CONFIGURE_ARGS $CROSS_ARGS && 1.11 @@ -55,7 +56,6 @@ 1.12 cat >> localoptions.h <<EOT 1.13 #define DROPBEAR_SVR_PASSWORD_AUTH 0 1.14 #define DROPBEAR_SVR_PAM_AUTH 1 1.15 -#define DROPBEAR_X11FWD 1 1.16 EOT 1.17 ./configure --prefix=/usr --enable-pam $CONFIGURE_ARGS && 1.18 make PROGRAMS="dropbear $DROPBEARS" MULTI=1 SCPPROGRESS=1 && 1.19 @@ -92,7 +92,8 @@ 1.20 ln -s sshx $fs/usr/bin/sshfbvnc 1.21 touch $fs/etc/dropbear/dropbear_dss_host_key \ 1.22 $fs/etc/dropbear/dropbear_rsa_host_key \ 1.23 - $fs/etc/dropbear/dropbear_ecdsa_host_key 1.24 + $fs/etc/dropbear/dropbear_ecdsa_host_key \ 1.25 + $fs/etc/dropbear/dropbear_ed25519_host_key 1.26 1.27 # Fix dropbear initscript perms 1.28 chown -R root.root $fs
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gpart/receipt Thu Jun 25 08:10:14 2020 +0000 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gpart" 2.7 +VERSION="0.3" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="A partition recovery tool" 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="https://github.com/baruch/gpart" 2.14 +WGET_URL="$WEB_SITE/archive/$VERSION/$TARBALL" 2.15 + 2.16 +BUILD_DEPENDS="automake" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + ./autogen.sh 2.22 + ./configure --prefix=/usr \ 2.23 + --mandir=/usr/share/man \ 2.24 + $CONFIGURE_ARGS && 2.25 + make && 2.26 + make DESTDIR=$DESTDIR install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr 2.33 + cp -a $install/usr/sbin $fs/usr 2.34 +}