FreeBSD port :)

Compatibility (hardware, devices and OS)
Post Reply
kiwi
Posts: 25
Joined: Thursday 28 January 2016 14:41
Target OS: Linux
Domoticz version:
Contact:

FreeBSD port :)

Post by kiwi » Thursday 28 January 2016 16:05

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

User avatar
gizmocuz
Posts: 8526
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: FreeBSD port :)

Post by gizmocuz » Thursday 28 January 2016 20:31

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 ?
Quality outlives Quantity!

kiwi
Posts: 25
Joined: Thursday 28 January 2016 14:41
Target OS: Linux
Domoticz version:
Contact:

Re: FreeBSD port :)

Post by kiwi » Friday 29 January 2016 0:49

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.

kiwi
Posts: 25
Joined: Thursday 28 January 2016 14:41
Target OS: Linux
Domoticz version:
Contact:

Re: FreeBSD port :)

Post by kiwi » Friday 29 January 2016 23:30

I have just done the Pull request (and fixed somewhat Win32 build).

Feel free to comment this :D

User avatar
nayr
Posts: 430
Joined: Tuesday 11 November 2014 19:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: FreeBSD port :)

Post by nayr » Friday 29 January 2016 23:56

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.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth

kiwi
Posts: 25
Joined: Thursday 28 January 2016 14:41
Target OS: Linux
Domoticz version:
Contact:

Re: FreeBSD port :)

Post by kiwi » Saturday 13 February 2016 12:00

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

User avatar
nayr
Posts: 430
Joined: Tuesday 11 November 2014 19:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: FreeBSD port :)

Post by nayr » Saturday 13 February 2016 21:31

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.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth

bjorker
Posts: 1
Joined: Friday 04 August 2017 18:29
Target OS: -
Domoticz version:
Contact:

Re: FreeBSD port :)

Post by bjorker » Friday 04 August 2017 18:33

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests