opt/dropbear/Pkgfile

26 lines
656 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Small and secure SSH2 server and client
# URL: http://matt.ucc.asn.au/dropbear/dropbear.html
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
# Depends on: zlib
name=dropbear
2018-02-28 11:36:21 +01:00
version=2018.76
release=2
2011-03-03 10:05:44 +01:00
source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.bz2 \
$name CVE-2018-15599.diff)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2013-04-19 17:15:57 +02:00
patch -p1 -i $SRC/CVE-2018-15599.diff
2018-02-28 11:36:21 +01:00
echo '#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server"' > localoptions.h
2015-11-26 10:05:42 +01:00
./configure --prefix=/usr
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
install -d $PKG/etc/{rc.d,dropbear}/
install -D -m 755 $SRC/dropbear $PKG/etc/rc.d/
2006-02-23 16:26:10 +01:00
}