[DEV] Update new lutin 2.2.0 (no legacy support)

This commit is contained in:
Edouard DUPIN 2016-10-04 23:41:29 +02:00
parent 6a61ed0482
commit d8b1295f88
23 changed files with 141 additions and 225 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -26,8 +26,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
"""
my_module.add_prebuild_action(
src="openssl/crypto/x86_64cpuid.pl",
@ -808,12 +807,12 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('z')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "crypto", "modes"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "crypto", "asn1"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "crypto", "evp"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "generate"))
my_module.add_path("openssl")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl/crypto/modes")
my_module.add_path("openssl/crypto/asn1")
my_module.add_path("openssl/crypto/evp")
my_module.add_path("generate")
my_module.add_header_file([
'openssl/crypto/aes/aes.h',
'openssl/crypto/asn1/asn1.h',
@ -903,4 +902,4 @@ def create(target, module_name):
'rpc',
'arpa',
])
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,18 +28,14 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/asn1pars.c',
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -29,10 +29,7 @@ def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +37,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -29,10 +29,7 @@ def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +37,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -29,10 +29,7 @@ def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -41,7 +38,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -29,10 +29,7 @@ def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +37,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -40,7 +36,7 @@ def create(target, module_name):
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,19 +28,15 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/verify.c',
])
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -28,11 +28,7 @@ def get_maintainer():
def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/apps/apps.c',
'openssl/apps/app_rand.c',
@ -64,7 +60,7 @@ def create(target, module_name):
"""
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('openssl')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl", "apps"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
return my_module
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -26,10 +26,7 @@ def get_version():
return [1,0,2]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openssl/ssl/s2_meth.c',
@ -96,8 +93,8 @@ def create(target, module_name):
my_module.compile_version("c", 1989, gnu=True)
my_module.add_depend('crypto')
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/crypto"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openssl/ssl"))
my_module.add_path("openssl/apps")
my_module.add_path("openssl/crypto")
my_module.add_path("openssl")
return my_module
return True