Page 1 of 8

[ModBase1] Common libraries and tools for use by other modules

Posted: 24 Jan 2021, 05:40
by outkastm
Image

This module bundles common libraries and tools for use by other modules.

Applicable models: x.64 series, armV8 series
Applicable TOS4: 4.1.27 or later versions
Applicable TOS5: 5.1.13 or later versions
App download: https://tmnascommunity.eu/download/modbase1

Module WebUI for additional settings can be accesses at:
TOS4: http(s)://yournasip:port/modules/ModBase1/www
TOS5: click on Support & Help from app description inside the App Center

Binaries available at /usr/local/ModBase1/sys/bin and this location can be added to PATH using the package WebUI.
Some binaries are using the hashed certificates from TOS and fall back to bundle root certificate pulled from https://curl.se/ca/cacert.pem
The bundle root certificate will be pulled when NAS is rebooted or the ModBase1 is started manually.
And only if the local one available at /mnt/appdata/MOD_CONFIG/SSL_certs/cacert.pem is older than the remote one


Include binaries and more

Code: Select all

aspell - 0.60.8
aspell_dict - en
bzip2-1.0.6
byobu - 5.133
coreutils - 8.32
curl-7.74.0
DevIL - 1.8.0
e2fsprogs - 1.46.4
fusermount - 2.9.7
git-2.30.0
glib - 2.52.2
idn2-2.3.0
jasper - 2.0.14
LittleCMS - 2.12
onig - 6.9.6
nano - 5.6.1
openssl - 1.1.1i
pcre-8.40
rar2fs - 1.29.4
screen - 4.8.0
slang - 2.3.2
sqlite - 3290000
tmux - 3.2a
unrar - 6.0
util-linux - 2.29.1
wget-1.21
whiptail (newt) - 0.52.21
Include library

Code: Select all

expat-2.0.1
ncurses-6.2
libffi - 3.2.1
libfuse - 2.9.7
libiconv-1.15
libjpeg - 9d
libjpeg-turbo - 2.0.5
libmediainfo-0.7.87
libmng - 1.0.10
libpng - 1.6.22
libpsl-0.21.1
libssh2 - 1.9.0
libtiff - 4.2.0
libzen - 0.4.33
zlib - 1.2.11

Re: [ModBase1][1.00.01] Common libraries and tools for use by other modules

Posted: 08 Mar 2021, 06:08
by outkastm
updated to 1.00.01

added: screen, unrar, fusermount, rar2fs

rar2fs
screen

Re: [ModBase1][1.00.02] Common libraries and tools for use by other modules

Posted: 12 Mar 2021, 05:54
by outkastm
updated to 1.00.02

Re: [ModBase1][1.00.03] Common libraries and tools for use by other modules

Posted: 14 Mar 2021, 08:21
by outkastm
updated to 1.00.03

Re: [ModBase1][1.00.07] Common libraries and tools for use by other modules

Posted: 08 Apr 2021, 05:09
by outkastm
updated to 1.00.07

Re: [ModBase1][1.00.07] Common libraries and tools for use by other modules

Posted: 28 Apr 2021, 04:24
by ilian
Good job. Thank you!

You fail to mention that this application downloads and installs a complete set of CA certificates. That we know nothing about.
That is not something I wouldn't quietly do for the user's convenience!

A much cleaner solution would have been to fetch the certificates from the curl website: https://curl.se/ca/cacert.pem
Oh... and if you decide to do that, please don't download them 4 times! :)

Btw, I'm not stupid - I'm understand that with the gigabyte of programs you have many, less obvious opportunities to do something evil, if you wanted to! Also Sweden, being one of the oldest EU members, should have a heavy punishment if someone is found guilty of falsifying a digital signature.

Just saying: don't look evil unless you have to! And you don't have to in this case. :)

Cheers,
Ilian

Re: [ModBase1][1.00.07] Common libraries and tools for use by other modules

Posted: 28 Apr 2021, 06:08
by outkastm
The bundle certificate are required for tools like curl, wget, openssl etc to work properly without forcing to use insecure connections.

https://curl.haxx.se is now pointing to https://curl.se/ca, so the bundle certificate are pulled from https://curl.se/ca

The download command is using --time-cond attribute, the certificate is only pulled when the local one is older than the remote one.
And the download comand is used anyway only when the NAS is rebooted.

But i will remove the download command from the startup script and the binary tools will use the bundle certificate from TOS instead of pulling the latest one.

Image

Re: [ModBase1][1.00.09] Common libraries and tools for use by other modules

Posted: 29 Apr 2021, 05:50
by outkastm
Updated to 1.00.09. Also the first post was updated with information how and when the Bundle of CA Root Certificates is pulled

Re: [ModBase1][1.00.10] Common libraries and tools for use by other modules

Posted: 28 Aug 2021, 07:02
by outkastm
updated to 1.00.10
added tmux and byobu

Re: [ModBase1][1.00.10.1] Common libraries and tools for use by other modules

Posted: 08 Sep 2021, 06:48
by outkastm
updated to 1.00.10.1 to fix a small issue for Sonarr