aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/openssl.az
blob: eb2f28fa715b0b089f7472106e7485604fc23ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package openssl {
	description = "TLS/SSL and crypto library";
	website = "https://www.openssl.org";
	anitya = 2566;
	// strange malformed tags treated as pre-releases in Anitya
	latest = anityaFallback;

	version# = "4.0.3";
	source = remoteGitHubRelease {
		suffix = "openssl/openssl";
		tag = "openssl-"+version;
		name = "openssl-"+version+".tar.gz";
		checksum = "qRm2EpUnLqKBgUFimF2uqjHZJaUgK-AWTuX9DVHhnowvCdm09p0wIn3mPRjXjGxj";
		compress = gzip;
	};

	env = [
		"CC=cc",
	];

	exec = make {
		defaults = false;

		configureName = "/usr/src/openssl/Configure";
		configure = {
			"prefix": "/system";
			"libdir": "lib";
			"openssldir": "etc/ssl";
			"": "no-docs";
		};

		check = [
			"HARNESS_JOBS=" + jobsE,
			"TESTS='-test_bio_dgram'",
			"test",
		];
	};

	tools = [
		perl,
		coreutils,
	];

	inputs = [
		zlib,
		kernel-headers,
	];

	runtime = nil;
}