Opened 9 years ago

Last modified 8 years ago

#555 closed enhancement

Add osx installer and package to the SF downloads — at Version 2

Reported by: Alex Samorukov Owned by: Alex Samorukov
Priority: minor Milestone: Release 6.5
Component: all Version: 6.4
Keywords: darwin Cc:

Description (last modified by Alex Samorukov)

There are number of ways to get recent smartmontools on the OSX. However all of them will require to install many additional tools (xcode, etc.) and result may vary. It should be find to have kind of "reference" build available from the sourceforge download. As far as i could see [1] it should be possible to do such cross-build from the Linux env, however i did not tried yet myself.

Correct resolution of the tickets should include:

  1. Setup and build smartmontools under osxcross, check if autoconf may handle this [done]
  2. Find if it is possible to generate pkg and dmg on Linux [2] ?
  3. Find if it is possible to run smartd as a daemon with desktop notifications
  4. If everything works - add result to the SF downloads :)

[1] https://github.com/tpoechtrager/osxcross
[2] http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html

Change History (2)

comment:1 by Alex Samorukov, 9 years ago

Few comments:

  1. I been able to build working osxcross in 14.04 without using any external repository. Only external part was SDK locally generated on my laptop.
  2. Project compiles fine with

./configure --host x86_64-apple-darwin13 CC=o64-clang CXX=o64-clang++ && make

  1. Smartctl and smartd are working fine on OSX 10.10. Output matching one from homebrew.
  2. Size from homebrew is smaller, 515K with 415K, but after strip size is +- same.
bash-3.2$ ./smartctl --version
smartctl 6.4 2015-06-04 r4109 [x86_64-apple-darwin13] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.

smartmontools release 6.4 dated 2015-06-04 at 16:29:41 UTC
smartmontools SVN rev 4109 dated 2015-06-04 at 16:30:15
smartmontools build host: x86_64-apple-darwin13
smartmontools build with: GCC 4.2.1 Compatible Ubuntu Clang 3.4 (tags/RELEASE_34/final)
smartmontools configure arguments:  '--host' 'x86_64-apple-darwin13' 'host_alias=x86_64-apple-darwin13' 'CXX=o64-clang++' 'CC=o64-clang'
Last edited 9 years ago by Alex Samorukov (previous) (diff)

comment:2 by Alex Samorukov, 9 years ago

Description: modified (diff)
Status: newaccepted
Note: See TracTickets for help on using tickets.