Gsasl 2.2.1 for TC15 x86_64 Earlier gsasl.tcz and libgsasl.tcz extension build for TC 7 x86: http://tinycorelinux.net/7.x/x86/tcz/src/gsasl/gsasl.build * Install extensions: compiletc squashfs-tools libidn-dev.tcz libffi-dev gnutls38-dev readline-dev * export CFLAGS="-mtune=generic -Os -fno-asynchronous-unwind-tables -flto -fuse-linker-plugin -pipe" CXXFLAGS="-mtune=generic -Os -fno-asynchronous-unwind-tables -flto -fuse-linker-plugin -fno-exceptions -fno-rtti -pipe" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig * ./configure --prefix=/usr/local --disable-static --enable-year2038 configure: summary of main build options: Version: 2.2.1 Libtool version 18:0:0 DLL version: 18 Header version: major 2 minor 2 patch 1 number 0x020201 Build system: x86_64-pc-linux-gnu Host/Target system: x86_64-pc-linux-gnu Install prefix: /usr/local Compiler: gcc CFLAGS: -mtune=generic -Os -fno-asynchronous-unwind-tables -flto -fuse-linker-plugin -pipe CPPFLAGS: LDFLAGS: -Wl,-O1 Library types: Shared=yes, Static=no Warning flags: WERROR_CFLAGS: WARN_LIB_CFLAGS: -Wframe-larger-than=800 WARN_CFLAGS: -fanalyzer -fstrict-flex-arrays -Wall -Warith-conversion -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Wformat-signedness -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Woverlength-strings -Wpacked -Wpointer-arith -Wshadow -Wstack-protector -Wstrict-flex-arrays -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wvla -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-sign-compare Client side: yes Server side: yes Libidn: -L/usr/local/lib -lidn -R/usr/local/lib Libgcrypt: Libntlm: GSS-API: no LTLIBGSS: LTLIBGSSGLUE: LTLIBGSSAPI32: GSS_LIBS: ANONYMOUS: yes EXTERNAL: yes PLAIN: yes LOGIN: yes SECURID: yes NTLM: no CRAM-MD5: yes DIGEST-MD5: yes SCRAM-SHA-1: yes SCRAM-SHA-256: yes SAML20: yes OPENID20: yes GS2: no GSSAPI: no Readline: yes LIBREADLINE: /usr/local/lib/libreadline.so -Wl,-rpath -Wl,/usr/local/lib GnuTLS: yes INCLIBGNUTLS: LTLIBGNUTLS: -L/usr/local/lib -lgnutls -R/usr/local/lib Valgrind: yes * make * make check ============================================================================ Testsuite summary for GNU SASL 2.2.1 ============================================================================ # TOTAL: 31 # PASS: 25 # SKIP: 6 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ * src/gsasl * sudo make DESTDIR=/tmp/gsasl install-strip * split /tmp/gsasl into directories: libgsasl-dev libgsasl gsasl gsasl-doc gsasl-locale based on files included in earlier x86 extensions. - mkdir -p ~/src/gsasl_ext/2.2.1/gsasl - cd ~/src/gsasl_ext/2.2.1/gsasl - for dir in `sed 's/\/[^/]*$//g' ../../tc7/gsasl.tcz.list | uniq`; do sudo mkdir -p "$dir"; done - for file in `cat ../../tc7/gsasl.tcz.list`; do sudo mv /tmp/gsasl/"$file" "$file"; done - Note files not found. -- Repeat for libgsasl-dev libgsasl gsasl-doc gsasl-locale - tree -ap /tmp/gsasl - move remailing files to appropriate locations (files not found earlier are a hint) - cd /tmp/gsasl -find -type f - Finds any files missed. - cd .. - sudo rm -R gsasl - cd ~/src/gsasl_ext/2.2.1/ - sudo chown -R root:root * * sudo chown -R root:root gsasl* * In each dir. run "find usr ! -type d | sed "s/^/\//g" > ../gsasl.tcz.list". - 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 * Make into extensions using mksquashfs. "mksquashfs gsasl gsasl.tcz "md5sum gsasl.tcz > gsasl.tcz.md5.txt" etc... - for dir in `find -maxdepth 1 -mindepth 1 -type d`; do mksquashfs $dir ${dir#./}.tcz; md5sum ${dir#./}.tcz > ${dir#./}.tcz.md5.txt; done * Make gsasl.tcz.dep: Dep files updated from those in TC7 extensions. * Copy gsasl.tcz (+ dep, md5) to "tce/optional". * tce-load -i gsasl * gsasl --help