View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009228CMakeModulespublic2009-07-03 09:192010-09-01 00:13
ReporterMichele Caini 
Assigned ToPhilip Lowman 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009228: FindGnutls.cmake
DescriptionI'd like to propose for integration a find-module for gnu tls.
I release it under the terms of GPLv3.
TagsNo tags attached.
Attached Files? file icon FindGnutls.cmake [^] (1,592 bytes) 2009-07-03 09:19
? file icon GnuTLS.cmake [^] (1,826 bytes) 2009-07-04 01:18

 Relationships

  Notes
(0016816)
Brad Hards (reporter)
2009-07-04 01:16

GPLv3 doesn't seem too good for this kind of thing. The library itself is LGPL.

Here is one that I've been using, based on the FindLibXML2.cmake code
(0016900)
Philip Lowman (developer)
2009-07-18 00:39

I agree with Brad. Also, I believe a GPL'd CMake find module may have unintended consequences. If someone calls the find_package() script it might have the effect or licensing all of their build system scripts under the GPL.

I'll volunteer to maintain GnuTLS.cmake (checking it in as FindGnuTLS.cmake) if that's ok with you Brad?

The only issues with it are minor:
1. GNUTLS_LIBRARIES cache var should be GNUTLS_LIBRARY
2. GNUTLS_LIBRARIES and GNUTLS_INCLUDE_DIRS should be created as regular variables.

See Modules/readme.txt for future reference
http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup [^]
(0017077)
Michele Caini (reporter)
2009-08-06 13:17
edited on: 2009-08-06 13:20

sure, you are right bradh. maybe it's better to release it under the terms of the lgpl license. this is not a problem, really.
thanks a lot. Have you never used your cmake file on win32? thanks in advance...

(0017080)
Brad Hards (reporter)
2009-08-07 00:59

[Not sure why I didn't see the earlier report]

I've got no problems with anyone maintaining it :-)

I haven't tried it on win32.
(0017106)
Philip Lowman (developer)
2009-08-12 22:37

I checked it in with the aforementioned changes.

I also removed the reference to GNUTLS_ROOTDIR in the documentation as it wasn't functional. I assume this it was just copy and paste error?

If you have time to test and/or improve the Windows support patches are welcome.
http://josefsson.org/gnutls4win/ [^]

/cvsroot/CMake/CMake/Modules/FindGnuTLS.cmake,v <-- FindGnuTLS.cmake
initial revision: 1.1
(0017111)
Michele Caini (reporter)
2009-08-13 07:27

Hi, I can try findgnutls.cmake on windows using mingw if you want, because I've compiled gnutls from source for a project. I'll update you as soon as possible.

 Issue History
Date Modified Username Field Change
2009-07-03 09:19 Michele Caini New Issue
2009-07-03 09:19 Michele Caini File Added: FindGnutls.cmake
2009-07-04 01:16 Brad Hards Note Added: 0016816
2009-07-04 01:18 Brad Hards File Added: GnuTLS.cmake
2009-07-18 00:39 Philip Lowman Note Added: 0016900
2009-07-18 00:39 Philip Lowman Assigned To => Philip Lowman
2009-07-18 00:39 Philip Lowman Status new => assigned
2009-08-06 13:17 Michele Caini Note Added: 0017077
2009-08-06 13:20 Michele Caini Note Edited: 0017077
2009-08-07 00:59 Brad Hards Note Added: 0017080
2009-08-12 22:37 Philip Lowman Note Added: 0017106
2009-08-13 07:27 Michele Caini Note Added: 0017111
2009-09-17 22:50 Philip Lowman Status assigned => resolved
2009-09-17 22:50 Philip Lowman Resolution open => fixed
2010-09-01 00:13 Philip Lowman Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team