aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/curl.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-19 22:26:40 +0900
committerOphestra <cat@gensokyo.uk>2026-05-19 22:26:40 +0900
commit1c6f30379e0b21dad7f8da21e9c7736c1fa72997 (patch)
tree5d24065c75a14a360d3ba09903b2525a737519d5 /internal/rosa/package/curl.az
parent009a4e0d583d14ebe328473df6468424587087a7 (diff)
internal/rosa/package: migrate bzip2, curl, connman
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/curl.az')
-rw-r--r--internal/rosa/package/curl.az47
1 files changed, 47 insertions, 0 deletions
diff --git a/internal/rosa/package/curl.az b/internal/rosa/package/curl.az
new file mode 100644
index 00000000..947218fc
--- /dev/null
+++ b/internal/rosa/package/curl.az
@@ -0,0 +1,47 @@
+package curl {
+ description = "command line tool and library for transferring data with URLs";
+ website = "https://curl.se";
+ anitya = 381;
+
+ version* = "8.20.0";
+ source = remoteTar {
+ url = "https://curl.se/download/curl-"+version+".tar.bz2";
+ checksum = "xyHXwrngIRGMasuzhn-I5MSCOhktwINbsWt1f_LuR-5jRVvyx_g6U1EQfDLEbr9r";
+ compress = bzip2;
+ };
+
+ // remove broken test
+ writable = true;
+ early = "\nchmod +w tests/data && rm -f tests/data/test459\n";
+
+ exec = make {
+ configure = {
+ "with-openssl";
+ "with-ca-bundle": "/system/etc/ssl/certs/ca-bundle.crt";
+
+ "disable-smb";
+ };
+
+ check = [
+ "TFLAGS=" + jobsLFlagE,
+ "test-nonflaky",
+ ];
+ };
+
+ inputs = [
+ perl,
+ python,
+ pkg-config,
+ diffutils,
+
+ libpsl,
+ openssl,
+ ];
+
+ runtime = [
+ zlib,
+ zstd,
+ libpsl,
+ openssl,
+ ];
+}