a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
615 B

tarxf http://ftp.spline.de/pub/OpenBSD/OpenSSH/portable/ openssh-5.8p1 .tar.gz
cp $K/openssh-hacks.h .
CC="gcc -include openssh-hacks.h -D_BSD_SOURCE -DMISSING_HOWMANY -DMISSING_FD_MASK -DMISSING_NFDBITS" ./configure --prefix=/ \
--sbindir=/bin --libexecdir=/lib/ssh --sysconfdir=/etc/ssh \
--with-privsep-user=nobody \
--with-md5-passwords --with-mantype=man --mandir=/share/man \
--disable-strip --disable-lastlog --disable-utmpx --disable-btmp
mkdir netinet
touch netinet/in_systm.h
sed -i '/USE_BTMP/d' config.h
make
chown root:root /var/empty
chmod 0755 /var/empty
make DESTDIR=$R install-nokeys