Page 1 of 1
FreeBSD port :)
Posted: Thursday 28 January 2016 15:05
by kiwi
Hi there,
Wanted to inform you that I have successfully added Domoticz into FreeBSD ports.
For the moment it is lacking of OpenZWave support, waiting to OpenZWave port (not from me) to be commited.
Regards,
Xavier
Re: FreeBSD port :)
Posted: Thursday 28 January 2016 19:31
by gizmocuz
Great!
You mean you can now do on FreeBSD
sudo apt-get install domoticz
or
sudo apt-get install domoticz-dev
?
Can you also do this for debian ?
Re: FreeBSD port :)
Posted: Thursday 28 January 2016 23:49
by kiwi
FreeBSD doesn't have apt-get (the real freebsd not Debian/kFreeBSD).
On FreeBSD you will be able to to "pkg install domoticz" (depending when the pkg will be done on FreeBSD poudriere...).
About Linux debian, I am not really up to date on the debian packaging system (another philosophy).
By the way I have just finished some "adaptation" on the CMakeList.txt for linking MQTT on the FreeBSD ports and not using the embedded MQTT library.
You can see my work on :
https://github.com/xbeaudouin/freebsd-p ... w/domoticz, the most "important" patch is :
https://github.com/xbeaudouin/freebsd-p ... eLists.txt
And
https://github.com/xbeaudouin/freebsd-p ... are_MQTT.h
When I will have some time I may send you a pull request about that.
Re: FreeBSD port :)
Posted: Friday 29 January 2016 22:30
by kiwi
I have just done the Pull request (and fixed somewhat Win32 build).
Feel free to comment this

Re: FreeBSD port :)
Posted: Friday 29 January 2016 22:56
by nayr
was there issue with using the native mqtt headers? personally I like the static builds as its more portable, most of my boxes are too slow to build on so I just build, tar, sftp, untar without worrying about keeping library versions in sync.
but thanks for this, should be a piece of cake to run on my FreeNAS if I need to.. I dont like using premade jails, id rather use a default jail and grab it from the repos so I can update at my connivence... though building from source would be no issue for my 6 core freenas.
Re: FreeBSD port :)
Posted: Saturday 13 February 2016 11:00
by kiwi
I rather like ports and avoid duplicate code everywhere.
Anyway the FreeBSD port is done, just waiting for OpenZWave port (third party) to be commited.
Have to fix also HardwareMonitor.cpp to work on FreeBSD as well (well this will be lots of work since there is lots of awfull linuxism inside eg. using /proc/<stuff> instead of using standard posix calls...), but this will wait I have some times.
Also there is some outstanding issues like remote domoticz doesn't seems to works and the fact that FreeBSD bind inet and inet6 separatly...
Re: FreeBSD port :)
Posted: Saturday 13 February 2016 20:31
by nayr
thanks a bunch, bsd is a great platform for home automation appliances... iirc typically once you get it building in FBSD most of the rest of the BSD's come with it.
Re: FreeBSD port :)
Posted: Friday 04 August 2017 18:33
by bjorker
Thanks for creating this port.
There is now a new stable version of domoticz, would you be able to update the port please?
Sent from my ONEPLUS A3003 using Tapatalk