#555 closed enhancement (fixed)
Add osx installer and package to the SF downloads
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 )
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:
Setup and build smartmontools under osxcross, check if autoconf may handle this[done]- Find if it is possible to generate pkg on Linux
Find if it possible to do dmg on Linux[done, using mkisofs + dmg]?- Find if it is possible to run smartd as a daemon with desktop notifications
- Make smartctl/smartd universal binaries (32 and 64 bits)
- 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 (13)
comment:2 by , 9 years ago
Description: | modified (diff) |
---|---|
Status: | new → accepted |
comment:4 by , 9 years ago
comment:5 by , 9 years ago
here seems to be good howto about dmg creation with mkisofs https://github.com/DMDirc/Installers/blob/master/makeDMG.sh
comment:6 by , 9 years ago
Description: | modified (diff) |
---|
dmg compression working with dmglib from the https://github.com/andreas56/libdmg-hfsplus, using /dmg/dmg dmg ~/tmp/smartmontools.dmg test.dmg
. Also this adds valid checksum to the image:
bash-3.2$ hdiutil verify test.dmg Checksumming whole disk (unknown partition : 0)… ...................................................................................................................................................... whole disk (unknown partition : 0): verified CRC32 $71CDFD20 ...................................................................................................................................................... verified CRC32 $F1CCA2CE hdiutil: verify: checksum of "test.dmg" is VALID
comment:7 by , 9 years ago
Found very good article about building installed (pkg) w/o osx:
http://hogliux.github.io/bomutils/faq.html
It seems that now we have all the staff:
- ossxcross will be used to build smartmontools package on Linux
- Bomutils + xar to build pkg file
- mkisofs + libdmg - to create compressed dmg file with checksum
Only proprietary component here is OSX SDK required for ossxcross to work.
Things needs to be done:
- Docker environment to automatically create Debian with all required staff (svn, ossxcross, Bomutils, dmglib, autoconf, etc.)
- Play with Bomutils to create working pkg
- Scripts to provide dmg creation in the end of process
comment:8 by , 9 years ago
great info about flat package format http://s.sudre.free.fr/Stuff/Ivanhoe/FLAT.html
comment:9 by , 9 years ago
Initial import of the files needed to build pkg done in r4123.
TODO:
- integrate with native build commands (Makefile.am) and remove do_package.sh
- add instructions about build environment requirements and setup.
comment:10 by , 9 years ago
Current pkg do not work with OSX El Capitan because of root-less mode which protects /usr/bin and friends. Need to fix that.
comment:11 by , 9 years ago
packages now installed to the /usr/local prefix, because it seems to be only supported way
comment:12 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Package done, daily builds are available from the http://builds.smartmontools.org
comment:13 by , 9 years ago
Milestone: | undecided → Release 6.5 |
---|
Few comments: