Lines Matching +full:fips +full:- +full:sources
23 (c) 2013-2017 Christian Heimes <christian@python.org>
74 '--debug',
79 '--disable-ancient',
84 '--openssl',
93 '--libressl',
102 '--tests',
108 '--base-directory',
110 help="Base directory for OpenSSL / LibreSSL sources and builds."
113 '--no-network',
119 '--steps',
129 '--system',
134 '--force',
140 '--keep-sources',
143 help="Keep original sources for debugging."
213 '-c', 'import ssl; print(ssl.OPENSSL_VERSION)'
243 return out.strip().decode("utf-8")
246 """Download sources"""
298 "shared", "--debug",
299 "--prefix={}".format(self.install_dir)
301 # cmd.extend(["no-deprecated", "--api=1.1.0"])
310 ["make", "-j1", self.depend_target], cwd=cwd, env=env
312 self._subprocess_call(["make", f"-j{self.jobs}"], cwd=cwd, env=env)
316 ["make", "-j1", self.install_target],
356 env["CPPFLAGS"] = "-I{}".format(self.include_dir)
357 env["LDFLAGS"] = "-L{}".format(self.lib_dir)
367 cmd = [sys.executable, "-c", "import _ssl; import _hashlib"]
380 '-j0'
383 cmd = [sys.executable, '-m', 'test.regrtest']
385 cmd = [sys.executable, '-m', 'test', '-j0']
387 cmd.extend(['-u', 'network', '-u', 'urlfetch'])
388 cmd.extend(['-w', '-r'])
396 "https://www.openssl.org/source/openssl-{v}.tar.gz",
397 "https://www.openssl.org/source/old/{s}/openssl-{v}.tar.gz"
399 src_template = "openssl-{}.tar.gz"
400 build_template = "openssl-{}"
411 config_args += ("enable-fips",)
416 # Install FIPS module
418 ["make", "-j1", "install_ssldirs", "install_fips"],
422 # 3.0.0-beta2 uses lib64 on 64 bit platforms
434 # OpenSSL 3.0.0 -> /old/3.0/
441 "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-{v}.tar.gz",
443 src_template = "libressl-{}.tar.gz"
444 build_template = "libressl-{}"
451 './configure', '--config-cache', '--quiet',
452 '--with-pydebug'
456 subprocess.check_call(['make', '--quiet'])
524 datetime.now() - start