aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/curl.go
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/curl.go
parent009a4e0d583d14ebe328473df6468424587087a7 (diff)
internal/rosa/package: migrate bzip2, curl, connman
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/curl.go')
-rw-r--r--internal/rosa/curl.go54
1 files changed, 0 insertions, 54 deletions
diff --git a/internal/rosa/curl.go b/internal/rosa/curl.go
deleted file mode 100644
index c05eea20..00000000
--- a/internal/rosa/curl.go
+++ /dev/null
@@ -1,54 +0,0 @@
-package rosa
-
-import "hakurei.app/internal/pkg"
-
-func (t Toolchain) newCurl() (pkg.Artifact, string) {
- const (
- version = "8.20.0"
- checksum = "xyHXwrngIRGMasuzhn-I5MSCOhktwINbsWt1f_LuR-5jRVvyx_g6U1EQfDLEbr9r"
- )
- return t.NewPackage("curl", version, newTar(
- "https://curl.se/download/curl-"+version+".tar.bz2",
- checksum,
- pkg.TarBzip2,
- ), &PackageAttr{
- // remove broken test
- Writable: true,
- ScriptEarly: `
-chmod +w tests/data && rm -f tests/data/test459
-`,
- }, &MakeHelper{
- Configure: []KV{
- {"with-openssl"},
- {"with-ca-bundle", "/system/etc/ssl/certs/ca-bundle.crt"},
-
- {"disable-smb"},
- },
- Check: []string{
- "TFLAGS=" + jobsLFlagE,
- "test-nonflaky",
- },
- },
- Perl,
- Python,
- PkgConfig,
- Diffutils,
-
- Libpsl,
- OpenSSL,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newCurl, &Metadata{
- Name: "curl",
- Description: "command line tool and library for transferring data with URLs",
- Website: "https://curl.se/",
-
- Dependencies: P{
- Libpsl,
- OpenSSL,
- },
-
- ID: 381,
- })
-}