Optware replacement - 1700+ packages (arm & x86) [official thread]
I have made a port of Entware - https://github.com/Entware/entware for arm and x86 based NASes. The packages were tested on QNAP and Synology.
Enware is
Since some of official QNAP packages use optware and /opt folder, I had to modify Entware to use /Apps/opt folder instead of /opt. I Have also ported Entware from mipsel+uclibc to x86/arm+glibc. For the current time 1700 packages are ready. I call this Qnapware because I've tried packages on QNAP x86 NAS for the first time.a package repository for embedded devices. These packages allow you to add new functionality to your device. Most of them taken from OpenWRT, but others are unique.
The list of packages (with sort and search capabilities) is here -
(arm) http://qnapware.zyxmon.org/binaries-arm/Packages.html
(x86) http://qnapware.zyxmon.org/binaries-x86/Packages.html
Some technical details on Qnapware.
1. Qnapware uses glibc 2.20. The binary locales archive (/usr/lib/locale/locale-archive) in NASes with old glibc is incompatible with this new glibc version. Qnapware uses a separate locales archive (/Apps/opt/usr/lib/locale/locale-archive). Now there are two locales installed - en_EN.UTF-8 and ru_RU.UTF-8. One can add more locales to be used by Qnapware binaries with localedef.new utility.
2. Qnapware uses a separate dynamic loader (/Apps/opt/lib/ld.so) and separate shared libs in /Apps/opt/lib. If you try to mix old and new libs you'll get a segfault or an unusable binary. Do not try to delete, add or move *.so files. Qnapware's approach leads to a slightly more ram usage, then optware.
To install Qnapware download bootstrap script, make it executable (chmod +x) and run.
(arm script) http://qnapware.zyxmon.org/binaries-arm ... all_arm.sh
(x86 script) http://qnapware.zyxmon.org/binaries-x86 ... all_x86.sh
After the script finishes please add /Apps/opt/bin and /Apps/opt/sbin to you path. The easy way do do it is to add a line
Codice: Seleziona tutto
. /Apps/opt/etc/profile
Codice: Seleziona tutto
/Apps/opt/etc/init.d/rc.unslung start
The syntax of opkg and ipkg is very similar. To install mc type
Codice: Seleziona tutto
opkg install mc
1. Topic on qnap forum - http://forum.qnap.com/viewtopic.php?f=320&t=100843
2. Topics (in Russian) on my forum - http://forum.zyxmon.org/forum8-setevye- ... y-nas.html