Re: [cmake-developers] [MODERN] CMake 3.3 vs Qt 5.5 vs MSVC2015

2015-07-24 Thread Konstantin Podsvirov
Hi dear CMake developers!

Modern CMake requires modern platform!

To solve the problem you run cmake-gui is now possible with the following 
changes:

[PATCH]

CMake: Added option CMake_INSTALL_DEPENDENCIES

By default this option is ON
Turn OFF to disable installing runtime 3th dependencie

Addition QtDialog now installing on Windows platform plugin for Qt5

http://git.podsvirov.pro/?p=kitware/cmake.git;a=commitdiff;h=e955bd6783abdc1bf30a9e7c3d88bac3eb0acd60

Dear Brad, please consider the possibility of applying these changes.

Check out the work of these changes can on earlier installers.

cmake-gui should work now, but if not, then update your system and install

Visual C++ Redistributable for Visual Studio 2015 from the link below:

 http://www.microsoft.com/en-us/download/details.aspx?id=48145

23.07.2015, 16:47, Konstantin Podsvirov konstan...@podsvirov.pro:
 Hi Ruslan and other developers!

 23.07.2015, 16:12, Ruslan Baratov ruslan_bara...@yahoo.com:
 On 23-Jul-15 12:32, Konstantin Podsvirov wrote:
 Hi dear CMake developers!

 Meet modern CMake built on MSVC2015 c QtDialog based on Qt 5.5 from today 
 :-)

 Windows 32bit:

 http://ifw.podsvirov.pro/cmake/cmake-master-win32-online.exe

 Windows 64bit:

 http://ifw.podsvirov.pro/cmake/cmake-master-win64-online.exe

 As always, questions and suggestions are welcome.

 --
 Regards,
 Konstantin Podsvirov

 Both versions can't start because dll is missing:
 api-ms-win-crt-runtime-l1-1-0.dll
 Win 7 x64

 Ruslan

 To solve the problem quickly, you need to install Visual C++ Redistributable 
 for Visual Studio 2015 from the link below:

 http://www.microsoft.com/en-us/download/details.aspx?id=48145

 Now more interesting :-)

 Outdoor platforms may not be Universal CRT:

 http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx

 CMake uses the module InstallRequiredSystemLibraries to install 
 dependencies.
 Who is in charge here on this module? Should this module to install Universal 
 CRT
 (api-ms-win-crt-runtime-xxx.dll library) for MSVC14 ?

 --
 Regards,
 Konstantin Podsvirov

Regards,
Konstantin Podsvirov
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [cmake-developers] malware?

2015-07-24 Thread Sean McBride
On Fri, 24 Jul 2015 11:40:09 -0400, Chuck Atkins said:

I just checked the cmake.org download and was able to verify the following:

cmake-3.2.3-Darwin-x86_64.dmg - 27949121 Bytes - MD5
97c26048e9b3e242951bb5b1ff88da9e
cmake-3.3.0-Darwin-x86_64.dmg - 22628082 Bytes - MD5
232ae38586f3e6b665f9b7ac281167a0

I checked from both inside and outside Kitware's network as to verify
internal and external were the same.  Are these the same for the files you
downloaded from cmake.org?  Can you try to download from a different
machine to verify it's not a local problem?

If you're trying to detect imposter binaries, don't use md5.  In fact, don't 
use md5 ever for anything:
https://en.wikipedia.org/wiki/MD5#Security

I get the following for my cmake download:

$ shasum -a 256 /Users/sean/Downloads/cmake-3.3.0-Darwin-x86_64.dmg 
0282d6f139f5292c2bb9b3d600df6b7db242d8f53c4ab8d1e6ddff76402e0eab  
/Users/sean/Downloads/cmake-3.3.0-Darwin-x86_64.dmg

Cheers,

-- 

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com 
Mac Software Developer  Montréal, Québec, Canada


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [cmake-developers] malware?

2015-07-24 Thread Chuck Atkins
Hi David,

I just checked the cmake.org download and was able to verify the following:

cmake-3.2.3-Darwin-x86_64.dmg - 27949121 Bytes - MD5
97c26048e9b3e242951bb5b1ff88da9e
cmake-3.3.0-Darwin-x86_64.dmg - 22628082 Bytes - MD5
232ae38586f3e6b665f9b7ac281167a0

I checked from both inside and outside Kitware's network as to verify
internal and external were the same.  Are these the same for the files you
downloaded from cmake.org?  Can you try to download from a different
machine to verify it's not a local problem?

Thanks


- Chuck

On Fri, Jul 24, 2015 at 1:04 AM, David Powell d...@telus.net wrote:

 hi

 I downloaded cmake an hour ago from cmake.org and found myself with an
 unwanted piece of software called “advanced mac cleaner”, an app that was
 hard to get rid of. I’m not certain it came from your site but it happened
 at the same time and I can’t think of any other explanation..  The download
 file from cmake.org (supposedly the latest stable dmg for mac) was much
 bigger (30MB) than the cmake file I subsequently downloaded from github.

 --

 Powered by www.kitware.com

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Kitware offers various services to support the CMake community. For more
 information on each offering, please visit:

 CMake Support: http://cmake.org/cmake/help/support.html
 CMake Consulting: http://cmake.org/cmake/help/consulting.html
 CMake Training Courses: http://cmake.org/cmake/help/training.html

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/cmake-developers

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] malware?

2015-07-24 Thread James Johnston
 -Original Message-
 From: cmake-developers [mailto:cmake-developers-boun...@cmake.org]
 On 24/07/15 07:04, David Powell wrote:
  hi
 
  I downloaded cmake an hour ago from cmake.org http://cmake.org/ and
 found myself with an unwanted piece of software called advanced mac
 cleaner, an app that was hard to get rid of. I'm not certain it came from
your
 site but it happened at the same time and I can't think of any other
 explanation..  The download file from cmake.org http://cmake.org/
 (supposedly the latest stable dmg for mac) was much bigger (30MB) than the
 cmake file I subsequently downloaded from github.
 
 
 
 
 I don't know about that, but I just noticed that cmake.org allows HTTP
 (non-HTTPS) downloads.
 
 HTTP has no form of cryptographic authentication or verification, and it's
 incredibly easy for a MitM to attach malware to your downloads.
 
 IMO, the HTTP downloads should be removed ASAP.

Two other ideas that don't require HTTPS hosting of large binary files:

 * On Windows, cryptographically sign the setup program using Authenticode.
When the UAC prompts for elevation, Windows will show it signed by Kitware
instead of a yellow warning Unknown.  Probably the other operating systems
have a first-class way of doing something like this as well.  Downside:
certificates cost some modest amount of money to renew every year.

 * Post SHA-1 hashes of the EXEs/DMGs/tarballs on the CMake web site, and
post them over HTTPS.  But downside here is that many users won't bother to
check this (e.g. Windows has no well-known in-built utility for calculating
a file hash).

I agree the current situation of unsigned files available over HTTP only is
not really ideal.  Perhaps this would be a good opportunity for looking at
enhancements to CMake itself in the area of code signing (e.g. code signing
of individual target EXEs/DLLs, and code signing of the final setup EXE
package by CPack) that hides the various operating-system-specific ways of
doing this?  Then, CMake itself can be modified to be built with these new
features, if available.  A quick Google search of cmake.org for code signing
didn't yield much in the way of previous discussion or existing features...

Best regards,

James Johnston

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers


[cmake-developers] trace-expand and ctest-add_subdirectory-crash

2015-07-24 Thread Ben Boeckel
Hi,

I've pushed two new branches to stage (and merged to next):

  - trace-expand: adds --trace-expand option to cmake which expands
variable references in --trace output.
  - ctest-add_subdirectory-crash: fixes a crash present since 2008(!)
when using add_subdirectory from TEST_INCLUDE_FILE for
CTestTestfile.cmake.

I can rebase the second onto release if it makes sense to put into
3.3.1. I don't think making a point release just for it makes sense
since no one has used it…ever (and subdirs is actually more powerful
in CTest anyways[1])?

--Ben

[1]subdirs() detects absolute paths and handles them accordingly.
add_subdirectory() always prepends the current working directory.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] malware?

2015-07-24 Thread Chuck Atkins
 If you're trying to detect imposter binaries, don't use md5.


Fair enough, it was more force of habit than anything.  Regardless, the
file size seems way off



 I get the following for my cmake download:

 $ shasum -a 256 /Users/sean/Downloads/cmake-3.3.0-Darwin-x86_64.dmg
 0282d6f139f5292c2bb9b3d600df6b7db242d8f53c4ab8d1e6ddff76402e0eab
 /Users/sean/Downloads/cmake-3.3.0-Darwin-x86_64.dmg


Confirmed:

[chuck.atkins@hal9000 tmp]$ shasum -a 256 cmake-3.3.0-Darwin-x86_64.dmg
0282d6f139f5292c2bb9b3d600df6b7db242d8f53c4ab8d1e6ddff76402e0eab
cmake-3.3.0-Darwin-x86_64.dmg
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] malware?

2015-07-24 Thread Alan W. Irwin

An additional and obvious security measure is to cryptographically
sign each file release with a detached armored signature, e.g.,

gpg --default-key keyid --detach-sign --armor cmake-3.3.0.tar.gz

where keyid is a CMake release manager identification key (also created
and distributed by gpg).

The above command creates a small file called cmake-3.3.0.tar.gz.asc which
security-conscious users download along with the tarball itself.

They can then verify every byte of both downloads and that the correct
crytographic signature from the CMake release manager was applied using

gpg --verify cmake-3.3.0.tar.gz.asc

Most important open-source projects (and even many unimportant ones
like PLplot, :-) ) routinely apply this security measure for release
tarballs, but for some reason up to now, Kitware has not.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers