Pagina 1 di 1

Optware replacement - 1700+ packages (arm & x86)

Inviato: venerdì 9 gennaio 2015, 15:58
da dMajo
Da zxymon

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
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.
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.

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
to the end of root profile - (/root/.profile). If you are going to use Qnapware servises add a line

Codice: Seleziona tutto

/Apps/opt/etc/init.d/rc.unslung start
to /etc/rc.local


The syntax of opkg and ipkg is very similar. To install mc type

Codice: Seleziona tutto

opkg install mc
More resorces on Qnapware
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

Re: Optware replacement - 1700+ packages (arm & x86)

Inviato: venerdì 9 gennaio 2015, 16:09
da ste8604
ma è per QNAP! funziona anche sui nostri synology?

Re: Optware replacement - 1700+ packages (arm & x86)

Inviato: venerdì 9 gennaio 2015, 17:26
da dMajo
Sembrerebbe di si a detta dell'autore ... non ho provato personalmente ... l'autore però ne ha dato informazione sul forum ufficiale synology (di cui ho copiato ed incollato il testo) ... date un'occhiata al thread originale (linkato in prima riga)

I pacchetti di optware oramai sono anni che nesuno li aggiorna più.