This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Add firmware pkginfo is possible?

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Add firmware pkginfo is possible?

Post by alexey123 »

May be possible add to system pkg database?
Reason
In case add any software to NAS4Free from freebsd ports over pkg_add usually presents packages, which already included in firmware. Such as php, gettext, libiconv, etc
But pkg_add not know about it, and replace original packages - this is not good, sometimes firmware soft patched for NAS4free. Also I have way broke system - over remove over webgui.
I begin manually build table with pkginfo, but I see it no real work.
Also update or packages, or firmware on full version will be "more clean".
What need?
Maximum: add to /var/db/pkg folder files with firmware packages info + add into folders files +REQUIRED_BY and content it only one world "firmware".
but need create its with flag unchg - no rempve, no change
Example pkg database from my server
Image


Minimum: Add to building script subroutine, which create file, named pkginfo and or include to LiveCD/USB version, or make it downloadable over internet.
I was find this way when I tried compile BSDMC - after compile I have list with needed packages, and I can go from nanoBSD to miniBSD. I attach this file to post.
Users can built firmware folders itself.
You do not have the required permissions to view the files attached to this post.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Add firmware pkginfo is possible?

Post by daoyama »

alexey123 wrote:May be possible add to system pkg database?
This is impossible. NAS4Free use own ports tree instead of FreeBSD.
http://nas4free.svn.sourceforge.net/vie ... ild/ports/

Also, not all files install to the /dev/md0.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Add firmware pkginfo is possible?

Post by alexey123 »

daoyama wrote:This is impossible.
It's a pity :cry:
daoyama wrote:NAS4Free use own ports tree instead of FreeBSD. Also, not all files install to the /dev/md0.
I'm talking about the same thing.
Now ownCloud may be installed very simple as downlod-extract-use. But peoples want have not only ounCloud, they want net2ftp, phpMyAdmin, phpPGAdmin and another millions application.
Example: net2ftp need module php5-ftp.
I go check it into freshports and find line Required To Run: lang/php5. So the original NAS4Free package will be replaced with a package from FreeBSD tree. How You configure php I check into php/makefile, but I need find also configure for FreeBSD php5 package and compare its. When I find differences, recompile sources.. Oohhh.
Also wil be replaced pcre, libxml2, pkgconf. Gui will kill.
Given the fact that their own ports patched to the NAS4Free, then how will work a server no one knows, not even you. So I would like to have proactive protection against the installation packages on top of the original.
Or use jails.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
zoon01
Developer
Developer
Posts: 724
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

Re: Add firmware pkginfo is possible?

Post by zoon01 »

alexey123 wrote:
daoyama wrote:This is impossible.
It's a pity :cry:
daoyama wrote:NAS4Free use own ports tree instead of FreeBSD. Also, not all files install to the /dev/md0.
I'm talking about the same thing.
Now ownCloud may be installed very simple as downlod-extract-use. But peoples want have not only ounCloud, they want net2ftp, phpMyAdmin, phpPGAdmin and another millions applications
I have to say one thing;

More and more often lately i notice that some forget that NAS4Free is a NAS OS.
NAS http://en.wikipedia.org/wiki/Network-attached_storage means and stands for Network-attached storage.
Ofcource over the years we have added many features so the system can do more thing while in idle time.
But if i read your commit, it looks like you also suspect the NAS should do a 1000 tasks more.
I think that everyone that wants to use all other applications should use a full freebsd install than.
Thats how i personal do think about it.

Regards,
zoon01
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

Post Reply

Return to “Suggestions & Requests”