Dillo 3.0.5 with HTTPS SNI support for TC 14 x86_64 Earlier build notes http://tinycorelinux.net/10.x/x86_64/tcz/src/dillo/dillo.tcz.build-dep http://tinycorelinux.net/11.x/x86_64/tcz/src/dillo/dillo.tcz.build-dep64 * Install extensions: compiletc squashfs-tools fltk-1.3-dev openssl-dev * tar xvjf dillo-3.0.5.tar.bz2 * cd dillo-3.0.5 * Apply HTTPS SNI patch: patch -p1 < ../dillo_ext/dillo-3.0.5_https_sni.patch * Apply Debian "FTBFS with gcc-10" patch: patch -p1 < ../dillo_ext/fix-FTBFS-with-gcc-10.patch * Change certs directory: sed -i 's%/etc/ssl/certs/%/usr/local/etc/ssl/certs/%' dpi/https.c * Force SSL support: sed -i 's/ssl_ok=no/ssl_ok=yes/' configure * export CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig * ./configure --prefix=/usr/local --enable-ssl --localstatedir=/var * make * src/dillo * sudo make DESTDIR=/tmp/dillo install-strip * split into dillo.tcz, dillo-doc.tcz based on files included in earlier extensions. - mkdir -p ~/src/dillo_ext/new/dillo - cd ~/src/dillo_ext/new/dillo - for dir in `sed 's/\/[^/]*$//g' ../../old/dillo.tcz.list | uniq`; do sudo mkdir -p "${dir#/}"; done - for file in `cat ../../old/dillo.tcz.list`; do sudo mv /tmp/dillo/"${file#/}" "${file#/}"; done - Note files not found. -- Repeat for dillo-doc - tree -ap /tmp/dillo - move remaining files to appropriate locations (files not found earlier are a hint) - cd /tmp/dillo - find -type f - Finds any files missed. - cd .. - sudo rm -R dillo - cd ~/src/dillo_ext/new/ - sudo chown -R root:root * * Generate file lists: for dir in `find -maxdepth 1 -mindepth 1 -type d`; do cd $dir; find usr ! -type d | sed "s/^/\//g" > ../$dir.tcz.list; cd ..; done * Generate extensions and checksums: * for dir in `find -maxdepth 1 -mindepth 1 -type d`; do mksquashfs $dir ${dir#./}.tcz; md5sum ${dir#./}.tcz > ${dir#./}.tcz.md5.txt; done * Make dillo.tcz.dep: wget.tcz libXcursor.tcz fltk-1.3.tcz dejavu-fonts-ttf.tcz openssl.tcz * HTTPS test websites: https://check-tls.akamaized.net/ https://www.ssllabs.com/ * Copy dillo.tcz (+ dep, md5) to "tce/optional". * tce-load -i dillo * dillo &