Compiling "file" with spksrc for synology NAS
Read the disclaimer This article describes how to compile "file" for synology devices, package it and install it. You can get "file" sources at: https://github.com/file/file ftp://ftp.astron.com/pub/file/ The package described in this guide is will download the content from that repository. The "file" command is "a file type guesser", that is, a command-line tool that tells you in words what kind of data a file contains. The original spksrc already contains a file package, that only compiles the binaries : https://github.com/SynoCommunity/spksrc/tree/master/cross/file This package fills the gap and provides the command line utilities from the shell: file This guide is the same that https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html You can follow the different steps there. I'll document only the steps referring specifically to "file". Clone the repository and make setup ...