Skip to content

Commit 627f0df

Browse files
committed
CI test prior to release
1 parent c41ee82 commit 627f0df

File tree

4 files changed

+196
-10
lines changed

4 files changed

+196
-10
lines changed

.META/SOURCE.cdx.json

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
3+
"bomFormat": "CycloneDX",
4+
"specVersion": "1.6",
5+
"version": 1,
6+
"metadata": {
7+
"timestamp": "2025-08-03T12:36:11+00:00",
8+
"lifecycles": [
9+
{
10+
"phase": "pre-build"
11+
}
12+
],
13+
"authors": [
14+
{
15+
"bom-ref": "FilipSergot",
16+
"name": "Filip Sergot"
17+
},
18+
{
19+
"bom-ref": "ElizabethMattijsenlizrakurocks",
20+
"name": "Elizabeth Mattijsen",
21+
"email": "[email protected]"
22+
}
23+
],
24+
"component": {
25+
"type": "library",
26+
"mime-type": "text/plain",
27+
"bom-ref": "pkg:raku/zef:raku-community-modules/[email protected]",
28+
"authors": [
29+
{
30+
"bom-ref": "FilipSergot",
31+
"name": "Filip Sergot"
32+
},
33+
{
34+
"bom-ref": "ElizabethMattijsenlizrakurocks",
35+
"name": "Elizabeth Mattijsen",
36+
"email": "[email protected]"
37+
}
38+
],
39+
"publisher": "zef",
40+
"group": "zef:raku-community-modules",
41+
"name": "OpenSSL",
42+
"version": "0.2.5",
43+
"description": "OpenSSL bindings",
44+
"scope": "required",
45+
"licenses": [
46+
{
47+
"license": {
48+
"id": "MIT",
49+
"acknowledgement": "declared",
50+
"url": "https://spdx.org/licenses/MIT.json"
51+
}
52+
}
53+
],
54+
"purl": "pkg:raku/zef:raku-community-modules/[email protected]",
55+
"externalReferences": [
56+
{
57+
"url": "https://raku.land/zef:raku-community-modules/OpenSSL?v=0.2.5",
58+
"type": "documentation"
59+
},
60+
{
61+
"url": "https://github.com/raku-community-modules/OpenSSL",
62+
"type": "distribution"
63+
},
64+
{
65+
"url": "https://github.com/raku-community-modules/OpenSSL/issues",
66+
"type": "issue-tracker"
67+
},
68+
{
69+
"url": "https://github.com/raku-community-modules/OpenSSL/archive/refs/tags/0.2.5.zip",
70+
"type": "source-distribution"
71+
},
72+
{
73+
"url": "https://spdx.org/licenses/MIT.json",
74+
"type": "license"
75+
}
76+
],
77+
"tags": [
78+
"OPENSSL",
79+
"MD5",
80+
"SHA1",
81+
"SHA224",
82+
"SHA256",
83+
"SHA384",
84+
"SHA256"
85+
]
86+
},
87+
"licenses": [
88+
{
89+
"license": {
90+
"id": "MIT",
91+
"acknowledgement": "declared",
92+
"url": "https://spdx.org/licenses/MIT.json"
93+
}
94+
}
95+
],
96+
"tools": {
97+
"components": [
98+
{
99+
"type": "library",
100+
"mime-type": "text/plain",
101+
"bom-ref": "pkg:raku/zef:lizmat/SBOM::[email protected]",
102+
"authors": [
103+
{
104+
"bom-ref": "ElizabethMattijsen",
105+
"name": "Elizabeth Mattijsen"
106+
}
107+
],
108+
"publisher": "zef",
109+
"group": "zef:lizmat",
110+
"name": "SBOM::Raku",
111+
"version": "0.0.6",
112+
"description": "Raku specific SBOM functionality",
113+
"scope": "required",
114+
"licenses": [
115+
{
116+
"license": {
117+
"id": "Artistic-2.0",
118+
"acknowledgement": "declared",
119+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
120+
}
121+
}
122+
],
123+
"purl": "pkg:raku/zef:lizmat/SBOM::[email protected]",
124+
"externalReferences": [
125+
{
126+
"url": "https://raku.land/zef:lizmat/SBOM::Raku?v=0.0.6",
127+
"type": "documentation"
128+
},
129+
{
130+
"url": "mailto:[email protected]",
131+
"type": "support"
132+
},
133+
{
134+
"url": "https://github.com/lizmat/SBOM-Raku/issues",
135+
"type": "issue-tracker"
136+
},
137+
{
138+
"url": "https://github.com/lizmat/SBOM-Raku",
139+
"type": "distribution"
140+
},
141+
{
142+
"url": "https://github.com/lizmat/SBOM-Raku/archive/refs/tags/0.0.6.zip",
143+
"type": "source-distribution"
144+
},
145+
{
146+
"url": "https://spdx.org/licenses/Artistic-2.0.json",
147+
"type": "license"
148+
}
149+
],
150+
"tags": [
151+
"SBOM",
152+
"RAKU",
153+
"META"
154+
]
155+
}
156+
]
157+
}
158+
},
159+
"externalReferences": [
160+
{
161+
"url": "https://raku.land/zef:raku-community-modules/OpenSSL?v=0.2.5",
162+
"type": "documentation"
163+
},
164+
{
165+
"url": "https://github.com/raku-community-modules/OpenSSL",
166+
"type": "distribution"
167+
},
168+
{
169+
"url": "https://github.com/raku-community-modules/OpenSSL/issues",
170+
"type": "issue-tracker"
171+
},
172+
{
173+
"url": "https://github.com/raku-community-modules/OpenSSL/archive/refs/tags/0.2.5.zip",
174+
"type": "source-distribution"
175+
},
176+
{
177+
"url": "https://spdx.org/licenses/MIT.json",
178+
"type": "license"
179+
}
180+
]
181+
}

Build.rakumod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use PathTools:ver<0.2.0+>:auth<github:ugexe>;
1+
use File::Directory::Tree:ver<0.2+>:auth<zef:raku-community-modules>;
22
use JSON::Fast:ver<0.19+>:auth<cpan:TIMOTIMO>;
33

44
unit class Build;
@@ -30,14 +30,14 @@ method build($cwd --> Bool) {
3030
}
3131

3232
my $json = to-json(%libraries, :pretty, :sorted-keys);
33-
"resources/libraries.json".IO.spurt: $json;
33+
$*PROGRAM.child("resources/libraries.json").spurt: $json;
3434

3535
# DO NOT COPY THIS SOLUTION
3636
# Delete precomp files when building in case the openssl libs have since been updated
3737
# (ideally this type of stale precomp would get picked up by raku)
3838
# see: https://github.com/sergot/openssl/issues/82#issuecomment-864523511
39-
try rm($cwd.IO.child('.precomp').absolute, :r, :f, :d);
40-
try rm($cwd.IO.child('lib/.precomp').absolute, :r, :f, :d);
39+
rmtree $cwd.IO.child('.precomp');
40+
rmtree $cwd.IO.child('lib/.precomp');
4141

4242
True
4343
}

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Revision history for OpenSSL
22

33
{{$NEXT}}
4+
- Change build dependency of "PathTools" to the Raku Community
5+
module "File::Directory::Tree" dependency, because it is also
6+
a Raku Community module
7+
- Modernized META file a bit
48

59
0.2.5 2025-07-26T15:44:53+02:00
610
- Tighten build dependencies

META6.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
"auth": "zef:raku-community-modules",
33
"authors": [
44
"Filip Sergot",
5-
"Elizabeth Mattijsen <[email protected]>"
5+
"Elizabeth Mattijsen"
66
],
77
"build-depends": [
8-
"PathTools:ver<0.2.0>:auth<github:ugexe>",
8+
"File::Directory::Tree:ver<0.2+>:auth<zef:raku-community-modules>",
99
"JSON::Fast:ver<0.19+>:auth<cpan:TIMOTIMO>"
1010
],
1111
"depends": [
1212
],
1313
"description": "OpenSSL bindings",
1414
"license": "MIT",
1515
"name": "OpenSSL",
16-
"perl": "6.*",
1716
"provides": {
1817
"OpenSSL": "lib/OpenSSL.rakumod",
1918
"OpenSSL::Bio": "lib/OpenSSL/Bio.rakumod",
@@ -41,7 +40,11 @@
4140
"libeay32.dll",
4241
"libraries.json"
4342
],
44-
"source-url": "https://github.com/raku-community-modules/OpenSSL.git",
43+
"support": {
44+
"bugtracker": "https://github.com/raku-community-modules/OpenSSL/issues",
45+
"email": "[email protected]",
46+
"source": "https://github.com/raku-community-modules/OpenSSL.git"
47+
},
4548
"tags": [
4649
"OPENSSL",
4750
"MD5",
@@ -51,7 +54,5 @@
5154
"SHA384",
5255
"SHA256"
5356
],
54-
"test-depends": [
55-
],
5657
"version": "0.2.5"
5758
}

0 commit comments

Comments
 (0)