diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 02:25:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 02:25:41 +0900 |
| commit | 96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (patch) | |
| tree | df40c99715f061d15c9c32165bcbf9a3343c256f /internal/rosa/libarchive.go | |
| parent | fcba32e9c4bc27a0cdcd1a78bbc1cf5ea799c18e (diff) | |
internal/rosa/package: migrate hwdata, kmod, libarchive
This removes a blank line in CTestCustom.cmake, causing a libarchive rebuild. Resulting IR is identical otherwise.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libarchive.go')
| -rw-r--r-- | internal/rosa/libarchive.go | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/internal/rosa/libarchive.go b/internal/rosa/libarchive.go deleted file mode 100644 index d79f1282..00000000 --- a/internal/rosa/libarchive.go +++ /dev/null @@ -1,98 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newLibarchive() (pkg.Artifact, string) { - const ( - version = "3.8.7" - checksum = "CUJK4MDQmZmATClgQBH2Wt-7Ts4iiSUlg1J_TVb6-5IK3rVUgVLIMc5k-bnWB9w3" - ) - return t.NewPackage("libarchive", version, newFromGitHub( - "libarchive/libarchive", - "v"+version, checksum, - ), &PackageAttr{ - Paths: []pkg.ExecPath{ - pkg.Path(AbsUsrSrc.Append( - "CTestCustom.cmake", - ), false, pkg.NewFile("CTestCustom.cmake", []byte(` -list(APPEND CTEST_CUSTOM_TESTS_IGNORE - "libarchive_test_archive_string_conversion_fail_c" - "libarchive_test_archive_string_conversion_fail_latin1" - "libarchive_test_archive_string_update_utf8_koi8" - "libarchive_test_gnutar_filename_encoding_KOI8R_UTF8" - "libarchive_test_gnutar_filename_encoding_KOI8R_CP866" - "libarchive_test_gnutar_filename_encoding_CP1251_UTF8" - "libarchive_test_gnutar_filename_encoding_Russian_Russia" - "libarchive_test_gnutar_filename_encoding_EUCJP_UTF8" - "libarchive_test_gnutar_filename_encoding_EUCJP_CP932" - "libarchive_test_gnutar_filename_encoding_CP932_UTF8" - "libarchive_test_pax_filename_encoding_KOI8R" - "libarchive_test_pax_filename_encoding_CP1251" - "libarchive_test_pax_filename_encoding_EUCJP" - "libarchive_test_pax_filename_encoding_CP932" - "libarchive_test_read_format_cpio_filename_UTF8_eucJP" - "libarchive_test_read_format_cpio_filename_CP866_KOI8R" - "libarchive_test_read_format_cpio_filename_KOI8R_CP866" - "libarchive_test_read_format_cpio_filename_UTF8_KOI8R" - "libarchive_test_read_format_cpio_filename_UTF8_CP866" - "libarchive_test_read_format_cpio_filename_eucJP_CP932" - "libarchive_test_read_format_cpio_filename_UTF8_CP932" - "libarchive_test_read_format_cpio_filename_CP866_CP1251" - "libarchive_test_read_format_cpio_filename_CP866_CP1251_win" - "libarchive_test_read_format_cpio_filename_KOI8R_CP1251" - "libarchive_test_read_format_cpio_filename_UTF8_CP1251" - "libarchive_test_read_format_gtar_filename_CP866_KOI8R" - "libarchive_test_read_format_gtar_filename_KOI8R_CP866" - "libarchive_test_read_format_gtar_filename_eucJP_CP932" - "libarchive_test_read_format_gtar_filename_CP866_CP1251" - "libarchive_test_read_format_gtar_filename_CP866_CP1251_win" - "libarchive_test_read_format_gtar_filename_KOI8R_CP1251" - "libarchive_test_read_format_rar_unicode_CP932" - "libarchive_test_read_format_zip_filename_CP932_eucJP" - "libarchive_test_read_format_zip_filename_UTF8_eucJP" - "libarchive_test_read_format_zip_filename_CP866_KOI8R" - "libarchive_test_read_format_zip_filename_KOI8R_CP866" - "libarchive_test_read_format_zip_filename_UTF8_KOI8R" - "libarchive_test_read_format_zip_filename_UTF8_CP866" - "libarchive_test_read_format_zip_filename_CP932_CP932" - "libarchive_test_read_format_zip_filename_UTF8_CP932" - "libarchive_test_read_format_zip_filename_CP866_CP1251" - "libarchive_test_read_format_zip_filename_CP866_CP1251_win" - "libarchive_test_read_format_zip_filename_KOI8R_CP1251" - "libarchive_test_read_format_zip_filename_UTF8_CP1251" - "libarchive_test_ustar_filename_encoding_KOI8R_UTF8" - "libarchive_test_ustar_filename_encoding_KOI8R_CP866" - "libarchive_test_ustar_filename_encoding_CP1251_UTF8" - "libarchive_test_ustar_filename_encoding_Russian_Russia" - "libarchive_test_ustar_filename_encoding_EUCJP_UTF8" - "libarchive_test_ustar_filename_encoding_EUCJP_CP932" - "libarchive_test_ustar_filename_encoding_CP932_UTF8" - "libarchive_test_zip_filename_encoding_KOI8R" - "libarchive_test_zip_filename_encoding_ru_RU_CP1251" - "libarchive_test_zip_filename_encoding_Russian_Russia" - "libarchive_test_zip_filename_encoding_EUCJP" - "libarchive_test_zip_filename_encoding_CP932" - "libarchive_test_read_format_cab_filename" - "libarchive_test_read_format_lha_filename" - "libarchive_test_read_format_tar_filename" - "libarchive_test_read_format_ustar_filename" - "libarchive_test_read_append_wrong_filter" -) -`))), - }, - - Writable: true, - ScriptEarly: ` -install -Dv /usr/src/CTestCustom.cmake /cure/ -`, - }, (*CMakeHelper)(nil)), version -} -func init() { - native.mustRegister(Toolchain.newLibarchive, &Metadata{ - Name: "libarchive", - Description: "multi-format archive and compression library", - Website: "https://www.libarchive.org/", - - ID: 1558, - }) -} |
