diff --git a/.agents/architecture.md b/.agents/architecture.md new file mode 100644 index 00000000..aad81aa9 --- /dev/null +++ b/.agents/architecture.md @@ -0,0 +1,62 @@ +# 架构与接口 + +## 运行时与仓库边界 + +ReliefOS 面向 x86_64,支持 Legacy BIOS 与 UEFI。应用运行在 Ring 3,内核和 +可加载模块运行在 Ring 0。GRUB 直接引导带 Multiboot2 头的 `kernel.sys`, +initramfs 加载根设备与文件系统模块后通过 `switch_root` 进入系统,再启动服务与桌面。 +用户态使用 glibc 和官方 systemd,pacman 管理软件包和内核。系统遵循 Arch 的 merged-usr 布局。 + +| 路径 | 职责 | +| --- | --- | +| `boot/` | GRUB 配置与 BIOS/UEFI 引导资源,模块来自锁定源码。 | +| `kernel/reliefnt/` | ReliefNT 子仓,持有内核核心、驱动、UAPI、内核测试和手册。 | +| `userland/runtime/` | 用户态运行库、syscall 包装、字体、网络/HTTP/TLS、PTY 等公共实现。 | +| `userland/apps/` | 系统与桌面应用,图形前端使用 FLTK/X11。 | +| `packages/arch/` | 自有软件包、systemd 单元和 pacman 钩子。 | +| `include/reliefos/` | 公共 C ABI。 | +| `system/` | staging 配置、资源与默认内容。 | +| `configs/` | 构建版本、源码锁和默认配置。 | +| `scripts/reliefos/`、`tools/host/`、`tools/build/` | 产品集成、宿主 C 工具和上游构建适配器。 | +| `Documentation/` | ReliefOS 用户态与系统集成手册。 | +| `third_party/` | `.gitmodules` 登记的上游子模块。 | +| `out/`、`build/` | 可再生产物,手写源码保留在受跟踪源码目录。 | + +安装介质使用独立的 systemd 运行根。GUI/TUI 通过同一后端从官方 Arch 仓库 +和已签名 RPR 安装目标系统。默认 GPT 布局按选择创建 BIOS Boot 分区, +保留 FAT32 ESP 和 ext4 根分区。引导身份见[安装手册](../Documentation/admin-guide/installation.rst)。 + +## 特权与模块 + +- 用户态经 Linux 编号的 x86_64 `syscall` ABI 进入内核,寄存器为 + `rax/rdi/rsi/rdx/r10/r8/r9`,错误返回负 `errno`,未知调用返回 `-ENOSYS`。 +- 内核负责用户指针与长度校验、页表、进程资源、硬件及最终授权。 +- 内核子系统分别归属子仓的 `kernel/`、`lib/`、`mm/`、`net/`、`fs/`、`block/`、 + `sound/` 和 `drivers/`。defconfig 默认内置生产组件,独立生命周期组件可用 tristate + 编译为针对同一 ReliefNT ABI 的 ELF `.ko`。必要的调度、内存与 VFS 核心保持内置。 +- 模块注册、回调、IRQ/DMA、OFD/VMA 保留实现 owner,真实引用排空后释放代码。 + 保持现有 syscall/ioctl 边界,禁止恢复旧 `.drv` 协议、私有窗口服务器、窗口 IPC、 + UI 传输兼容层和按可执行文件 GID 授予服务身份的旧逻辑。 +- 图形应用通过 X11 连接 Xorg,由所选桌面管理窗口。来宾路径采用 Unix 根目录语义, + 源码路径与 staging 后的安装路径分别核对,相关约定见[文件系统契约](../Documentation/userspace-api/filesystem.rst)。 + +## 公共 ABI 与 SDK + +新增或修改 syscall、ioctl、公共结构、输入/网络 API 或 UI 库接口时,逐项检查 +公共定义、内核实现及错误路径、运行库声明与包装、真实消费者、测试、头文件导出、 +SDK 装配及许可证和专题文档。接口归属见[ABI 手册](../Documentation/userspace-api/abi.rst)。 + +- 公共定义位于 `include/reliefos/`,运行库位于 `userland/runtime/include/` 与 `src/`。 +- 使用定宽类型,校验指针、容量、长度、枚举和版本,记录权限与返回值。 + 公开数据禁止泄漏内核指针或私有对象,结构扩展兼容旧调用方的大小与行为。 +- SDK 与用户态消费 `configs/header-export.list` 和 `headers_install` 的真实导出结果, + 通过 `tools/test_header_export.py` 检查,禁止维护手工 ABI 镜像副本。 +- `libreliefos` 的开发头、共享库与许可证通过 Arch 软件包交付。 + +## 第三方移植 + +- 检查实际上游源码、适配层、启动代码、libc/分配器依赖、ELF、staging 和运行路径。 + 来宾运行依赖由包清单声明,用实际来宾结果确认。 +- 新增软件同步构建脚本、组件清单、安装路径、所需桌面入口、许可证、归属、 + 公开的 SDK/API 包及文档。第三方源码修改先提交到其所属仓库,再更新 gitlink。 +- 安装包检查元数据、内容、目标路径、部分写入、失败清理、启动/自启动授权和安装后运行。 diff --git a/.agents/build.md b/.agents/build.md new file mode 100644 index 00000000..801ec3a7 --- /dev/null +++ b/.agents/build.md @@ -0,0 +1,24 @@ +# 构建规则 + +根 `Makefile` 是生产入口。自研 C、C++、汇编和宿主工具使用锁定的 Linux 6.12 +Kbuild/Kconfig。`scripts/kbuild-source.json` 记录原版文件与许可证。项目扩展放在 +专用 Makefile 与目录级 Kbuild,保留 .cmd、fixdep 和 jobserver。 + +在 x86_64 Linux 宿主上用本地 Docker 准备隔离的 Arch/glibc 构建根。常用入口为 +`make doctor`、`make fetch`、`make build`、`make rpr-testing`、`make rootfs`、 +`make image-vmdk` 和 `make installer`。`make all` 完成签名和镜像装配。 +已有产品通过 `make run-only` 或 `make run-installer` 启动。详见 +[构建手册](../Documentation/kbuild/building.rst)。 + +- 默认产品输出为 `out/arch-root//`,支持 `ARCH=x86_64`、 + `PROFILE=release|debug`。原生 Kbuild 测试使用单独的输出树。 +- `fetch` 准备官方构建根与锁定源码。离线 `build` 使用固定输入,不能隐式联网。 + Arch 软件包通过标准 PKGBUILD 打包。官方依赖来自签名的 Arch 仓库。 +- 自有应用遵循 `tools/build/arch-applications.list` 的包与配置清单。 + 开发头与共享库由 `libreliefos` 包提供,明确链接直接使用的共享库。 +- 同一 `O` 的实际构建互斥,不同 `O` 可并行。构建不写源码树。 + `clean/distclean` 只清带所有权标记的输出,保留共享缓存。 +- `SOURCE_DATE_EPOCH` 默认取提交时间。发布使用递增包序号和已签名快照。 + 检查包的归属、内容、权限、依赖和失败清理。内核模块使用版本化目录。 +- 原生宿主回归使用 `make test`,内核独立验证委托 ReliefNT。 + 签名仓库、启动、安装和升级检查使用 `tests/integration/` 与 CI 的实际流程。 diff --git a/.agents/desktop-and-io.md b/.agents/desktop-and-io.md new file mode 100644 index 00000000..b368e1e9 --- /dev/null +++ b/.agents/desktop-and-io.md @@ -0,0 +1,38 @@ +# 桌面与 I/O + +## UI、主题与输入 + +UI 变化检查所有受影响应用、共享 FLTK 组件、会话配置和 staging 资源。关联入口包括 +`system/xorg/`、`userland/apps/fltk_*.h`、应用前端、`system/` 字体/图标和资源生成工具。 + +- IceWM 用户主题与会话设置位于 `~/.icewm/`,系统默认值来自 `system/xorg/`。 + FLTK 使用默认 `gtk+` scheme,优先改善布局和使用体验。 +- 程序名放在标题栏,内容区优先展示工具栏、数据和工作画布,空状态使用普通字号。 +- 检查 UTF-8、字体、图标、焦点、键鼠、文本编辑、主题变化、快捷方式、分辨率和高 DPI。 + 登录、OOBE、Installer 与早期 framebuffer 按各自阶段和配置时机验证。 +- 字体、图标和文件读取安排在可让出调度的路径,保持事件循环响应。 +- 输入与终端变更覆盖事件消费顺序、焦点、修饰键释放、文本提交、预编辑和应用/全局快捷键。 + 密码等敏感字段禁止第三方输入法接收文本。 +- 使用真实交互控件和状态,处理尺寸不足、键盘导航、鼠标命中与主题变化。 + 默认及边缘尺寸下检查窗口按钮、任务栏、状态栏、候选框与菜单重叠。 + 按窗口能力隐藏不支持的放大按钮。 + +## 存储与长期操作 + +- 文件系统写入、解包、下载和复制处理短读、短写、临时失败、重试边界、最终错误和资源关闭, + 按实际传输字节数判断完成。 +- 长时间磁盘操作放入 worker 或服务路径并持续让出调度,UI 展示进度及可恢复的成功/失败状态。 + 禁止在绘制、输入事件或持锁热路径执行长时间同步 I/O。 +- 偶发权限拒绝、资源缺失或图标/字体加载失败,优先检查共享存储、目录枚举、缓存、并发和状态提交。 +- 账户、安装状态和配置使用可诊断的写入与提交顺序,保证重启后的主体状态与完成标记一致。 + +## 网络与 TLS + +- 网络按设备接口工作,QEMU 与 VMware 的网卡、DHCP、DNS、TCP、显示和驱动行为分别取证, + 报告实际运行平台。 +- 分别诊断 DNS、TCP、握手、证书链、主机名、时间、发送与读取。保留底层状态, + UI 按实际失败阶段提示。 +- TLS 维持证书、主机名和时钟校验,`MBEDTLS_SSL_VERIFY_REQUIRED` 是现有 mbedTLS 路径的基线。 + CA 解析返回非负部分成功时,结合成功解析的根证书数量处理。 +- 日志可包含主机名、阶段、返回码、网络状态、证书校验标志和时钟状态,禁止输出密码、 + Cookie、请求体、令牌、私钥或私密证书内容。 diff --git a/.agents/development.md b/.agents/development.md new file mode 100644 index 00000000..2640e905 --- /dev/null +++ b/.agents/development.md @@ -0,0 +1,62 @@ +# 开发与验证 + +## 排查和验证 + +先检查工作树与定向差异,再用 `rg` 或 `git grep` 串起 UI/API、实现、构建和 staging。 +用 `make --trace`、`make -n`、`V=1` 确认实际构建路径,按风险选择最小充分验证。 +修复定位真实边界、状态机、权限、I/O 和提交路径,保留诊断信息。 +禁止以删除 fallback、增加 sleep、关闭校验、无限增大超时、吞错误或硬编码成功掩盖根因。 + +| 修改类型 | 验证范围 | +| --- | --- | +| 代理规则与普通说明 | 定向检查内容、路径、链接及 `git diff --check`。 | +| 构建脚本、Kconfig、组件清单 | `make test` 和相关目标,确认菜单、同步与目标选择。 | +| 内核、存储、ABI、libc | 受影响目标编译及相关用户态重建,检查头文件、链接与调用链。 | +| 应用、UI、主题、字体 | 受影响应用和 VMDK/ESP 构建,以及 QEMU 可见行为与交互。 | +| VMware 专属显示或驱动 | VMware 启动与实际操作。 | +| Installer | Installer ISO、实际安装和安装后启动。 | +| 网络、TLS | 相关构建及虚拟机真实请求,覆盖传输、验证与 UI 状态。 | +| 安全修复 | 定向回归与适当运行证据,确认触发条件和错误处理。 | + +- 每次源码修改完成后运行 `git diff --check`,交付报告实际执行的命令与结果。 +- 编译、镜像内容、启动、日志与可见 UI 分别证明,保留平台和硬件验证边界。 + VMware 验证未完成时必须明示。 +- 概率性失败记录平台、镜像、网络、步骤和关键日志,再做定向复现以支撑根因。 +- QMP Unix socket 放在支持 Unix socket 的数据盘目录,例如 + `/home/xiaobai/Projects/Projects/.reliefos-qmp-.sock`,禁止放在 `/mnt/d/`、`/tmp` 或 tmpfs。 + 内核子仓测试的 `TMPDIR` 使用父仓绝对路径下的 `out/tmp`。 +- ABI golden 与音频 manifest 的变更依照用户明确决策,禁止用它们掩盖失败。 + +## 测试归属 + +内核、驱动、文件系统、内存、调度和 Linux UAPI 的脚本、原生探针及夹具归 ReliefNT +`tools/`、`tools/tests/`、`tests/host/`。主仓持有应用、运行库、SDK、打包、安装器、 +镜像和完整系统集成测试,直接消费子仓探针路径。内核宿主套件由子仓 `make test-host` +选择,父仓委托调用。两仓 `tools/test_test_ownership.py` 检查边界,主仓 Shell 测试 +禁止断言内核私有源码或头文件的内容和存在性。 + +## 注释、文档和日志 + +`kernel/reliefnt/kernel/` 内函数定义和公共声明紧贴 Doxygen 注释,C 与汇编预处理源 +使用 `/** ... */`。静态函数至少注释定义,公共声明与实现描述一致。 + +```c +/** + * @brief 说明职责、边界与副作用。 + * @param request 说明方向、可空性、所有权及长度或容量。 + * @param out_result 调用方提供的可写结果。 + * @return 成功值、错误和特殊状态。 + */ +int subsystem_handle(const struct request *request, struct result *out_result); +``` + +- `@brief` 描述实际行为,必要时写明用户指针、权限、锁、中断、映射、引用计数或硬件 I/O。 + 逐个记录参数,无参数函数省略 `@param`,非 `void` 函数描述返回值,不返回或异步完成需说明时机。 + 修改签名、返回约定、所有权、锁或副作用时同步注释,复杂结构、ABI 与算法另作说明。 +- 功能、公开 API、构建开关、镜像布局和第三方移植变更同步手册、SDK、示例、许可证与归属。 + 已实现接口与计划明确标注。手册采用 `Documentation/` 下的 RST,内核手册归内核仓。 + 具体格式见[文档规则](../Documentation/process/documentation.rst)。 +- 日志使用稳定前缀,如 `[reliefnt]`,兼容期保留 `[ntclks]`、`[tls]`,记录阶段、返回码和状态。 +- 安全审计用简体中文,原始输出临时放 `out/security/`,长期约束写入 + `Documentation/process/security.rst`,说明静态覆盖、PoC/QEMU 验证情况和修复版本依据。 +- 用户要求继续或实施时,确认范围后推进。诊断结论以源码和日志为依据,修改依用户授权执行。 diff --git a/.agents/git-and-release.md b/.agents/git-and-release.md new file mode 100644 index 00000000..126cca74 --- /dev/null +++ b/.agents/git-and-release.md @@ -0,0 +1,35 @@ +# Git、CI 与发布 + +## Git 与子模块 + +- 以用户明确授权的范围创建分支、提交、推送或 PR。提交前检查 `git status --short` 和 + `git diff --check`,只暂存本任务文件,保留已有工作。丢弃改动或强制操作需明确授权。 +- 产物、缓存、密钥和无关内容排除提交,包括 `out/`、`build/`、`.zcode/`、`result/` + 及作为 ELF 产物的 `tools/dependencies.py`。 +- 内核变更在 `kernel/reliefnt/` 所属仓库完成,先推送内核提交,再由主仓更新并推送 gitlink。 + 首次使用初始化递归子模块,依赖通过子仓 `make fetch` 获取,缓存排除提交。 +- 子模块 detached HEAD 是正常状态,保持用户选择的分支或提交。源码变更在对应上游或分叉 + 仓库提交,父仓仅登记 gitlink。 +- `release` 要求子仓 clean 且 HEAD 与 gitlink 一致,开发 `all/kernel` 允许 dirty。 + +## CI + +`.github/workflows/` 必须能从干净 checkout 和递归子模块构建。依赖、Kconfig、组件、 +目标、SDK、Installer、第三方适配或产物布局变更时检查 CI 调用链。 +Linux CI 与 QEMU、VMware 交互各自报告验证结果。 + +## 版本与 Release + +发布前读取并遵循[发布规范](../Documentation/process/releasing.rst)。 + +- 更新范围为 `(上一版本号提交, 本次版本号提交]`,使用精确提交区间统计有效变更。 +- ReliefOS 说明只记录主仓变更,排除 ReliefNT 实现与纯 gitlink 更新。 + ReliefNT 只记录内核仓变更。两份说明章节格式一致、正文独立,合并重复项, + 排除已撤销功能、计划和机械版本号条目。 +- 说明包括更新内容、破坏性更新判断、更新与迁移注意事项、开发者提示, + 归档到 `Documentation/releases/<版本>.rst`。 +- 先推内核版本提交,再更新父仓 gitlink。标签与 GitHub Release 固定到各自精确版本提交, + 用 `gh` 和审阅过的正文文件发布,随后回读核对。重写标签、Release 或合并分支需明确授权。 +- `/etc/os-release` 的 `VERSION_ID` 与主仓版本一致,保留品牌显示规则。预发布标记 prerelease。 +- 发布检查 VMDK、在线安装 ISO、签名 RPR、开发包、校验和与第三方归属, + 实际组件由当前 profile 决定。二进制按用户明确要求从本版本重建,附校验和,禁止上传旧产物。 diff --git a/.github/CI.md b/.github/CI.md index 951cff5c..1c9f6160 100644 --- a/.github/CI.md +++ b/.github/CI.md @@ -1,135 +1,37 @@ # ReliefOS automation -```mermaid -flowchart TD - A[PR / main push / manual run] --> B[Select checks] - A --> C[Workflow and orchestration checks] - B --> D[Documentation: Sphinx 5 / 7 / 9] - B --> L[Restore verified downloads and compiler cache] - L --> E[Build images and Pages once] - E --> F[Product and core regressions] - B --> R[Isolated regressions: kernel / auth / pages] - F --> G[Record commit and SHA-256 / upload products] - G --> H[BIOS: disk / live / installer] - G --> I[UEFI: disk / live / installer] - B --> J[CI result] - C --> J - D --> J - R --> J - H --> J - I --> J - J --> K[Deploy the verified Pages artifact on main] -``` - -`ci.yml` owns validation and Pages deployment. `check-docs.yml` is a reusable -workflow; it no longer runs separately on branch pushes and PR updates. -SourceHut mirroring and manual code statistics remain independent maintenance -workflows. Job dependencies form the native graph on the Actions run page. - -## Selection and the merge check - -PRs changing only manuals run documentation checks without compiling images. -README, PR template and maintenance workflow changes still run workflow checks. -Unknown source paths require a full build. Shared build/version/kernel inputs -also run the documentation compatibility matrix. Main pushes and manual runs -always run all stages. Select **CI result** as the required branch check: it -fails for failed, cancelled, missing or unexpectedly skipped required jobs. - -`tools/ci.py changes` uses the actual PR base and checked-out merge commit, -including removed and renamed files. It does not depend on the Actions paths -filter's file-count limit. Manual runs default to validation only. Checking -`deploy_pages` explicitly enables publication and is accepted only on `main`. - -## Products, signatures and deployment - -The build job runs `make all pages` and then -`make RELIEFOS_CI_TEST_GROUP=core test` in one working tree. This lets -product-dependent regressions consume the current SDK, libraries and staging -tree without transferring the entire compiler output between jobs. -Common runner dependencies live in `scripts/ci/install.sh` and the local setup -action. The build checkout includes full Git history for kernel rollback -regressions. Host development packages include FFmpeg, Cairo, GLib and Xvfb. - -Three focused regression jobs start alongside the product build, workflow -checks and documentation matrix. `test-ci-kernel` covers concurrent and -incremental builds, the kernel adapter, header boundaries, reproducibility and -submodule rollback; `test-ci-auth` covers authentication staging; -`test-ci-pages` covers complete site assembly. Each job has its own checkout -and output tree and builds only its group's prerequisites. The final gate -requires the product build, every regression group and both boot jobs. -Focused groups install the compiler, native tools and their specific test -dependencies; they do not install the product build's FFmpeg and GUI stack. -The kernel group also installs image and boot tools because its concurrency -contract checks that the complete `make doctor` can run while a build holds -the output lock. - -`tools/ci_test_shards.py` owns the test partition and supplies the workflow -matrix. It checks that each focused suite exists and belongs to exactly one -group; new suites join core automatically. Ordinary `make test` continues to -run every suite. `make -j"$(nproc)"` passes the jobserver through the contract -runner to nested Make processes. Suites within a group remain sequential -because some temporarily probe shared source files. Each suite logs its -elapsed seconds, and a dry run never executes its scripts. - -The download cache covers both repositories' `cache/downloads`, keyed by both -dependency locks and runner platform. A fallback can supply unchanged archives -after a lock update, but `make fetch` still verifies their hashes and replaces -stale bytes before a build. Verified downloads are saved before compilation, -so a later test failure does not throw them away. ReliefNT fetch is already -delegated by the parent and is not repeated. - -`ccache` wraps the standard compiler names for the build and its nested tests. -Compiler caches have separate keys for the product build (4G), kernel tests -(2G), authentication tests (1G) and Pages tests (1G). They check compiler -contents and retain the default header, flag and working-directory checks. -Path rewriting stays disabled so Kbuild source/dependency records retain their -native paths. Each run saves a new cache, even after a test failure, and reports -hits/misses in the run summary. A main-only maintenance job retains at most two -snapshots per role/platform/ref and applies an 8 GiB budget to the new compiler -cache namespace, always preserving the latest main snapshot for each role and -platform. It leaves download, legacy and unrelated caches alone. Only this -maintenance job receives Actions write permission; PR checks do not. No output -tree, signed APK, image or private key is restored from a build cache. GitHub's -cache ref scope separates PR caches from the default branch. The pinned -actionlint binary has a separate platform/version cache; warm runs avoid -installing Go just to rebuild the linter. - -Publishing builds use `RELIEFOS_APK_SIGNING_KEY_B64`, with the existing -legacy secret fallback. PRs and validation-only manual runs use -an ephemeral RSA key. APKs, images, the installer download and RPR share one -build and signing cohort. The private key stays in the runner's temporary -directory and is removed before artifact upload, including on failure. - -`ci/manifest.json` records the source commit, kernel release, sizes and SHA-256 -of all three boot media, `.config` and `kernel-install/install.bundle.json`. -The exact same installer must appear in Pages. Image transfer uses ZIP -compression level 1; the manifest continues to identify the uncompressed -image bytes. The public Pages tree contains -the manifest as `build-manifest.json`. Boot jobs verify all five files both -before and after running; they call the existing acceptance runner directly -and never invoke Make or rebuild an image. - -BIOS and UEFI each test disk, live ISO and installer ISO. The runner requires -kernel/PID 1 evidence and the expected graphical login or installer screen, -checks the recorded kernel release, and uses private scratch disks. KVM is -used when accessible, otherwise TCG. Boot logs, screenshots and result records -are retained for seven days; images and Pages artifacts for three days. - -Only a successful `CI result` allows the deployment job to consume this run's -Pages artifact. Pages permissions and the `github-pages` environment belong -only to that job. A running main build is allowed to finish; GitHub keeps the -newest pending run in the concurrency group. Newer PR updates cancel -superseded PR runs. GitHub Release publication remains a separate procedure. - -## Local validation - -```sh -actionlint -shellcheck scripts/ci/*.sh -sh tests/build/test-ci.sh -python3 tools/ci_test_shards.py --check -``` - -The workflow pins third-party action commits and actionlint's version. Full -product verification uses the existing `make test` and dual-firmware boot -acceptance, rather than treating YAML validation as runtime evidence. +`ci.yml` runs on pushes and pull requests targeting `main` or +`rewrite/new-os` and supports manual dispatch. `tools/ci.py` selects +checks from the actual merge diff. Documentation-only changes can use +the reusable Sphinx workflow. SourceHut mirroring is independent. + +## Build and regressions + +The checks job lints GitHub workflows and shell scripts and runs CI +orchestration unit tests. The native regression matrix runs build, +desktop and ReliefNT host suites. `scripts/ci/install.sh` and the local +setup action provide their dependencies. + +The Arch build-root matrix runs the public entry on Ubuntu 24.04 and +Debian 13 userspace. The Debian container uses the runner's kernel and +Docker engine. Both jobs produce the kernel, its install manifest and +glibc-based pacman packages from the same isolated toolchain. + +The Ubuntu job uses a disposable OpenPGP identity to publish a local +testing RPR and checks pacman install, update and signature rejection. +It assembles the system root, disk and online installer, then runs a +two-generation signed kernel upgrade and verifies boot confirmation, +module reload and fallback. The job uploads the exact media for smoke +tests and retains failing upgrade logs. + +## Boot and status + +BIOS and UEFI jobs download the same media, start the online installer +and boot the assembled system as systemd PID 1. The smoke checks cover +merged-usr, packages, ext4 and the ESP, core services and boot confirmation. +QEMU jobs retain serial logs and result records. + +Select **CI result** as the required branch check. It reports every +required job and treats a missing or failed result as a failure. +Production publishing is performed separately following the release +guide, using a complete signed RPR snapshot and the matching media. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a6520b34..c5409815 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -18,4 +18,4 @@ CI result 汇总本次要求的检查;构建清单记录提交号、内核版 ## 兼容性与发布影响 - + diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index f1c1233b..e9754904 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,8 +1,8 @@ name: Prepare ReliefOS runner -description: Install the shared build or boot-test environment on Ubuntu 24.04. +description: Install the native regression or boot-test environment on Ubuntu 24.04. inputs: profile: - description: Runner profile (build, kernel, auth, pages or smoke) + description: Runner profile (build, desktop, kernel or smoke) required: true runs: using: composite @@ -12,25 +12,3 @@ runs: env: SETUP_PROFILE: ${{ inputs.profile }} run: bash scripts/ci/install.sh "$SETUP_PROFILE" - - name: Enable APK staging namespaces - if: inputs.profile != 'smoke' - shell: bash - run: | - for setting in kernel.apparmor_restrict_unprivileged_userns kernel.unprivileged_userns_clone; do - if sysctl "$setting" >/dev/null 2>&1; then - value=1 - [[ "$setting" != kernel.apparmor_restrict_unprivileged_userns ]] || value=0 - sudo sysctl -w "$setting=$value" - fi - done - unshare -Ur true - - name: Enable compiler cache - if: inputs.profile != 'smoke' - shell: bash - run: | - sudo update-ccache-symlinks - for compiler in cc c++ clang clang++; do - test -L "/usr/lib/ccache/$compiler" - done - # Preserve the toolchain's compiler names, including nested test builds. - echo /usr/lib/ccache >> "$GITHUB_PATH" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21d3e6aa..c0ee6d42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,24 +2,14 @@ name: ReliefOS CI on: pull_request: - branches: [main] + branches: [main, rewrite/new-os] push: - branches: [main] + branches: [main, rewrite/new-os] workflow_dispatch: - inputs: - installer_root_size_mib: - description: Installer runtime root size in MiB (32-4096) - default: '32' - type: string - deploy_pages: - description: Publish the verified build to Pages (main only) - default: false - type: boolean permissions: contents: read -# Superseded PRs can stop; running main builds and deployments finish. concurrency: group: reliefos-ci-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} @@ -36,8 +26,6 @@ jobs: outputs: build: ${{ steps.scope.outputs.build }} docs: ${{ steps.scope.outputs.docs }} - publish: ${{ steps.scope.outputs.publish }} - test-groups: ${{ steps.groups.outputs.groups }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -46,11 +34,6 @@ jobs: - name: Select checks for this commit id: scope run: python3 tools/ci.py changes - - name: Select every focused regression group - id: groups - run: | - groups=$(python3 tools/ci_test_shards.py --groups-json) - printf 'groups=%s\n' "$groups" >> "$GITHUB_OUTPUT" checks: name: Workflow and orchestration checks @@ -82,8 +65,26 @@ jobs: run: '"$GOBIN/actionlint" -color' - name: Check CI scripts run: | - shellcheck scripts/ci/*.sh - python3 -m unittest discover -s tools/tests -p 'test_ci*.py' -v + if ! command -v cpio >/dev/null || ! /usr/bin/python3 -c 'from PIL import Image' 2>/dev/null; then + sudo apt-get update + sudo apt-get install -y --no-install-recommends cpio python3-pil + fi + shellcheck scripts/ci/{install,smoke,arch-host}.sh tools/build/arch-{root,libreliefos,paru,desktop,filesystem,kernel,boot}.sh \ + tools/build/arch-image{,-build}.sh tools/build/arch-installer-build.sh \ + packages/arch/reliefos-desktop/{xdm-session,icewm-startup} \ + packages/arch/reliefos-filesystem/reliefos-update \ + packages/arch/reliefos-boot/reliefos-{mkinitramfs,mkbundle,boot-preflight,boot-update} \ + packages/arch/reliefos-boot/reliefos-modules-load-prepare \ + packages/arch/reliefos-boot/reliefos-kernel-prune \ + tools/build/arch-rootfs{,-install}.sh tools/build/arch-guest-packages.sh \ + tools/build/glibc-runtime-headers.sh userland/apps/installer/arch-online-install.sh \ + system/installer/installer-session \ + tools/build/arch-rpr-{sign,trust,kernel-check}.sh \ + tests/integration/arch-{runtime,kernel,boot}-package.sh tests/integration/arch-boot-hook.sh \ + tests/integration/arch-rpr-{testing,pacman}.sh \ + tests/integration/arch-{kernel-prune,kernel-prune-container,systemd-boot,systemd-entry}.sh \ + tests/integration/arch-kernel-upgrade{,-build}.sh + /usr/bin/python3 -m unittest discover -s tools/tests -p 'test_ci*.py' -v documentation: name: Documentation @@ -91,232 +92,163 @@ jobs: if: needs.changes.outputs.docs == 'true' uses: ./.github/workflows/check-docs.yml - build: - name: Build and regression tests + regressions: + name: Native regressions (${{ matrix.group }}) needs: changes if: needs.changes.outputs.build == 'true' runs-on: ubuntu-24.04 - timeout-minutes: 120 - env: - CCACHE_DIR: ${{ github.workspace }}/cache/ccache - # Kbuild's native source/dependency records retain their absolute paths. - CCACHE_BASEDIR: '' - CCACHE_COMPILERCHECK: content - CCACHE_MAXSIZE: 4G + timeout-minutes: 45 + strategy: + fail-fast: false + matrix: + group: [build, desktop, kernel] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: - # Rollback regressions exercise historical kernel commits as well. - fetch-depth: 0 submodules: recursive persist-credentials: false - uses: ./.github/actions/setup with: - profile: build - - name: Restore locked dependency downloads - id: download-cache - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: | - cache/downloads - kernel/reliefnt/cache/downloads - key: downloads-v1-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('configs/dependencies.lock.json', 'kernel/reliefnt/configs/dependencies.lock.json') }} - restore-keys: | - downloads-v1-${{ runner.os }}-${{ runner.arch }}- - - name: Restore compiler cache - id: compiler-cache - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: ${{ env.CCACHE_DIR }} - key: ccache-v2-${{ runner.os }}-${{ runner.arch }}-build-${{ github.run_id }}-${{ github.run_attempt }} - restore-keys: | - ccache-v2-${{ runner.os }}-${{ runner.arch }}-build- - ccache-v1-${{ runner.os }}-${{ runner.arch }}- - - name: Reset compiler cache statistics - run: ccache --zero-stats - - name: Prepare build configuration - env: - INSTALLER_ROOT_SIZE_MIB: ${{ inputs.installer_root_size_mib || '32' }} - run: bash scripts/ci/configure.sh - - name: Save verified dependency downloads - if: steps.download-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: | - cache/downloads - kernel/reliefnt/cache/downloads - key: ${{ steps.download-cache.outputs.cache-primary-key }} - - name: Prepare APK signing key + profile: ${{ matrix.group }} + - name: Run native tests without building system images env: - PUBLISH: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && needs.changes.outputs.publish == 'true' }} - RELIEFOS_APK_SIGNING_KEY_B64: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && needs.changes.outputs.publish == 'true' && secrets.RELIEFOS_APK_SIGNING_KEY_B64 || '' }} - LEONOS_APK_SIGNING_KEY_B64: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && needs.changes.outputs.publish == 'true' && secrets.LEONOS_APK_SIGNING_KEY_B64 || '' }} - run: | - key_path="$RUNNER_TEMP/reliefos-ci-signing-key.rsa" - umask 077 - if [[ "$PUBLISH" == true ]]; then - encoded_key="${RELIEFOS_APK_SIGNING_KEY_B64:-${LEONOS_APK_SIGNING_KEY_B64:-}}" - test -n "$encoded_key" || { echo 'Missing APK signing secret' >&2; exit 1; } - printf '%s' "$encoded_key" | base64 --decode > "$key_path" - else - openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out "$key_path" 2>/dev/null - fi - chmod 0600 "$key_path" - openssl pkey -in "$key_path" -noout -check >/dev/null - printf 'APK_SIGNING_KEY=%s\n' "$key_path" >> "$GITHUB_ENV" - - name: Build images and Pages from the same products + GROUP: ${{ matrix.group }} run: | - mkdir -p out/x86_64/release/ci - make -j"$(nproc)" APK_SIGNING_KEY="$APK_SIGNING_KEY" all pages 2>&1 | tee out/x86_64/release/ci/build.log - - name: Run product and core regressions - timeout-minutes: 60 - run: | - mkdir -p out/tmp - TMPDIR="$PWD/out/tmp" make -j"$(nproc)" APK_SIGNING_KEY="$APK_SIGNING_KEY" RELIEFOS_CI_TEST_GROUP=core test 2>&1 | tee out/x86_64/release/ci/regressions.log - - name: Verify products and record their identity - run: | - qemu-img info out/x86_64/release/images/reliefos.vmdk - python3 tools/ci.py manifest --root out/x86_64/release --pages out/x86_64/release/pages - sh tools/build/verify-pages.sh out/x86_64/release/pages - python3 tools/test_documentation.py --site out/x86_64/release/pages/docs - - name: Remove signing key - if: always() - run: rm -f -- "$RUNNER_TEMP/reliefos-ci-signing-key.rsa" - - name: Report compiler cache usage - if: ${{ !cancelled() && steps.compiler-cache.outcome == 'success' }} - run: | - ccache --show-stats | tee -a "$GITHUB_STEP_SUMMARY" - - name: Save compiler cache - if: ${{ !cancelled() && steps.compiler-cache.outcome == 'success' }} - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: ${{ env.CCACHE_DIR }} - key: ${{ steps.compiler-cache.outputs.cache-primary-key }} - - name: Upload images for boot verification - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 - with: - name: reliefos-images-${{ github.sha }} - path: | - out/x86_64/release/images/reliefos.vmdk - out/x86_64/release/images/reliefos-live.iso - out/x86_64/release/images/reliefos-installer.iso - out/x86_64/release/.config - out/x86_64/release/kernel-install/install.bundle.json - out/x86_64/release/ci/manifest.json - include-hidden-files: true - if-no-files-found: error - compression-level: 1 - retention-days: 3 - - name: Upload verified Pages tree - if: needs.changes.outputs.publish == 'true' - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 - with: - path: out/x86_64/release/pages - include-hidden-files: true - retention-days: 3 - - name: Preserve build diagnostics + set -o pipefail + mkdir -p out/ci-native out/tmp + TMPDIR="$PWD/out/tmp" make -j2 HOSTCC=clang O=out/ci-native "test-ci-$GROUP" 2>&1 | tee out/ci-native/tests.log + - name: Preserve failing regression output if: failure() uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: - name: build-diagnostics-${{ github.sha }} - path: | - out/x86_64/release/logs - out/x86_64/release/ci - out/kbuild-migration - if-no-files-found: warn - retention-days: 7 + name: native-${{ matrix.group }}-diagnostics + path: out/ci-native/tests.log + if-no-files-found: ignore + retention-days: 3 - regressions: - name: Regressions (${{ matrix.group }}) + arch_root: + name: Arch build root (${{ matrix.host }}) needs: changes if: needs.changes.outputs.build == 'true' runs-on: ubuntu-24.04 - timeout-minutes: 60 + timeout-minutes: 120 strategy: fail-fast: false matrix: - group: ${{ fromJSON(needs.changes.outputs.test-groups) }} - env: - CCACHE_DIR: ${{ github.workspace }}/cache/ccache - CCACHE_BASEDIR: '' - CCACHE_COMPILERCHECK: content - CCACHE_MAXSIZE: ${{ matrix.group == 'kernel' && '2G' || '1G' }} + host: [ubuntu-24.04, debian-13] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 submodules: recursive persist-credentials: false - - uses: ./.github/actions/setup - with: - profile: ${{ matrix.group }} - - name: Restore locked dependency downloads - id: download-cache - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: | - cache/downloads - kernel/reliefnt/cache/downloads - key: downloads-v1-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('configs/dependencies.lock.json', 'kernel/reliefnt/configs/dependencies.lock.json') }} - restore-keys: | - downloads-v1-${{ runner.os }}-${{ runner.arch }}- - - name: Restore compiler cache for this group - id: compiler-cache - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: ${{ env.CCACHE_DIR }} - key: ccache-v2-${{ runner.os }}-${{ runner.arch }}-${{ matrix.group }}-${{ github.run_id }}-${{ github.run_attempt }} - restore-keys: | - ccache-v2-${{ runner.os }}-${{ runner.arch }}-${{ matrix.group }}- - - name: Prepare build configuration - env: - INSTALLER_ROOT_SIZE_MIB: ${{ inputs.installer_root_size_mib || '32' }} - run: bash scripts/ci/configure.sh - - name: Save verified dependency downloads - if: steps.download-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 - with: - path: | - cache/downloads - kernel/reliefnt/cache/downloads - key: ${{ steps.download-cache.outputs.cache-primary-key }} - - name: Validate the complete test partition - run: python3 tools/ci_test_shards.py --check - - name: Reset compiler cache statistics - run: ccache --zero-stats - - name: Run isolated regression group + - name: Build the kernel and verify the Arch packages env: - TEST_GROUP: ${{ matrix.group }} + HOST_USERSPACE: ${{ matrix.host }} + # The mirror can reject non-interactive pulls from hosted runners. + ARCH_BASE_REGISTRY: docker.io run: | - mkdir -p out/tmp out/x86_64/release/ci - TMPDIR="$PWD/out/tmp" make -j"$(nproc)" "test-ci-$TEST_GROUP" 2>&1 | tee "out/x86_64/release/ci/regressions-$TEST_GROUP.log" - - name: Report compiler cache usage - if: ${{ !cancelled() && steps.compiler-cache.outcome == 'success' }} - run: ccache --show-stats | tee -a "$GITHUB_STEP_SUMMARY" - - name: Save compiler cache for this group - if: ${{ !cancelled() && steps.compiler-cache.outcome == 'success' }} - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + bash scripts/ci/arch-host.sh "$HOST_USERSPACE" out/ci-arch-root + test -s out/ci-arch-root/generated/system/kernel.sys + test -s out/ci-arch-root/generated/system/kernel.debug + test -s out/ci-arch-root/kernel-install/install.bundle.json + # arch-build validates the archive and its consumer before publishing it here. + shopt -s nullglob + for package in paru reliefos-filesystem reliefos-st reliefos-desktop; do + archives=(out/ci-arch-root/packages/arch/"$package"-*.pkg.tar.zst) + [[ ${#archives[@]} == 1 && -s ${archives[0]} ]] + done + runtime_package=$(/, custom O=out/). +# Make output trees (default products in out/arch-root//). # Keep these anchored: Documentation/, tests/build/ and tools/build/ are source. /out/ # Shared verified downloads, intentionally retained by make distclean. @@ -10,7 +10,6 @@ /.config.old /include/generated/build_info.h /build-summary.md -/leonos-deps-contract.*/ __pycache__/ *.egg-info/ *.log diff --git a/.gitmodules b/.gitmodules index d98d4464..d111f67f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,21 +1,6 @@ -[submodule "third_party/busybox"] - path = third_party/busybox - url = https://github.com/mirror/busybox.git [submodule "third_party/pl_editor"] path = third_party/pl_editor url = https://github.com/Leonmmcoset/pl_editor.git -[submodule "third_party/stardustui"] - path = third_party/stardustui - url = https://github.com/xingji-studio/StardustUI.git -[submodule "third_party/portablegl"] - path = third_party/portablegl - url = https://github.com/rswinkle/PortableGL.git -[submodule "third_party/musl"] - path = third_party/musl - url = https://git.musl-libc.org/git/musl -[submodule "third_party/mimalloc"] - path = third_party/mimalloc - url = https://github.com/microsoft/mimalloc.git [submodule "kernel/ntclks"] path = kernel/reliefnt url = https://github.com/ReliefOSProject/ReliefNT.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 5f7e0edf..fbe2f387 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,29 +2,15 @@ "version": "0.2.0", "configurations": [ { - "name": "ReliefOS: Debug kernel (Windows + WSL)", + "name": "ReliefOS: Attach to QEMU kernel", "type": "cppdbg", "request": "launch", - "program": "${config:leonos.wslProjectRoot}/out/x86_64/release/reliefnt/generated/system/kernel.unstripped", - "cwd": "${config:leonos.wslProjectRoot}", + "program": "${workspaceFolder}/out/arch-root/x86_64/release/reliefnt/generated/system/kernel.unstripped", + "cwd": "${workspaceFolder}", "MIMode": "gdb", "miDebuggerServerAddress": "127.0.0.1:1234", - "pipeTransport": { - "pipeProgram": "wsl.exe", - "pipeArgs": [ - "-e" - ], - "debuggerPath": "/usr/bin/gdb", - "pipeCwd": "${workspaceFolder}", - "quoteArgs": true - }, - "sourceFileMap": { - "${config:leonos.wslProjectRoot}": "${workspaceFolder}" - }, "targetArchitecture": "x86_64", "stopAtEntry": false, - "preLaunchTask": "ReliefOS: Start QEMU for GDB", - "postDebugTask": "ReliefOS: Stop QEMU for GDB", "setupCommands": [ { "description": "Disable GDB pagination", diff --git a/.vscode/settings.json b/.vscode/settings.json index 492e4bc4..47c44c68 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,5 @@ { "cmake.ignoreCMakeListsMissing": true, - "leonos.wslProjectRoot": "/mnt/d/Projects/C/LeonOS-4", - "leonos.wslOvmfPath": "/usr/share/ovmf/OVMF.fd", - "leonos.buildTheme": "linux", "C_Cpp.default.cStandard": "gnu11", "C_Cpp.default.cppStandard": "c++17", "C_Cpp.default.intelliSenseMode": "linux-clang-x64", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9544f3e5..1e6be36d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,279 +2,244 @@ "version": "2.0.0", "tasks": [ { - "label": "ReliefOS: Build image (VMDK)", + "label": "ReliefOS: Build packages", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "make image-vmdk" + "build" ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [], "group": { "kind": "build", "isDefault": true - }, - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "shared", - "clear": false } }, + { + "label": "ReliefOS: Fetch build inputs", + "type": "process", + "command": "make", + "args": [ + "fetch" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] + }, { "label": "ReliefOS: Build all", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "make all" + "all" ], - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "shared", - "clear": false - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: Build kernel", + "label": "ReliefOS: Build image (VMDK)", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "make kernel" + "image-vmdk" ], - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "shared", - "clear": false - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { "label": "ReliefOS: Build installer", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "make installer" + "installer" ], - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "shared", - "clear": false - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { "label": "ReliefOS: Run QEMU", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "make run" + "run-only" ], - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "dedicated", - "focus": true - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { "label": "ReliefOS: Start QEMU for GDB", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "ovmf='${config:leonos.wslOvmfPath}'; test -r \"$ovmf\" || { echo \"OVMF not found: $ovmf\"; exit 1; }; rm -f build/qemu-vscode.pid build/qemu-vscode-serial.log; echo 'ReliefOS QEMU GDB starting'; qemu-system-x86_64 -cpu max -machine q35 -m 512M -bios \"$ovmf\" -serial file:build/qemu-vscode-serial.log -device VGA,xres=1920,yres=1080 -netdev user,id=net0 -device e1000,netdev=net0 -audiodev driver=none,id=snd0 -device AC97,audiodev=snd0 -gdb tcp::1234 -S -no-reboot -no-shutdown -pidfile build/qemu-vscode.pid -drive file=out/x86_64/release/images/reliefos.vmdk,if=none,id=sata0 -device ich9-ahci,id=ahci -device ide-hd,drive=sata0,bus=ahci.0; code=$?; rm -f build/qemu-vscode.pid; exit $code" + "run-debug" ], - "dependsOn": "ReliefOS: Build image (VMDK)", - "dependsOrder": "sequence", - "isBackground": true, - "problemMatcher": { - "owner": "reliefos-qemu", - "pattern": { - "regexp": "^$" - }, - "background": { - "activeOnStart": true, - "beginsPattern": "^ReliefOS QEMU GDB starting$", - "endsPattern": "^ReliefOS QEMU GDB starting$" - } + "options": { + "cwd": "${workspaceFolder}" }, - "presentation": { - "reveal": "always", - "panel": "dedicated", - "focus": false, - "showReuseMessage": false, - "clear": true - } + "problemMatcher": [] }, { - "label": "ReliefOS: Stop QEMU for GDB", + "label": "ReliefOS: Clean build outputs", "type": "process", - "command": "wsl.exe", + "command": "make", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "if test -s build/qemu-vscode.pid; then pid=$(cat build/qemu-vscode.pid); kill -TERM \"$pid\" 2>/dev/null || true; fi; rm -f build/qemu-vscode.pid" + "clean" ], - "problemMatcher": [], - "presentation": { - "reveal": "never", - "panel": "dedicated", - "showReuseMessage": false - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: Test terminal (QMP)", + "label": "ReliefOS: Generate compile database (all regions)", "type": "process", - "command": "wsl.exe", + "command": "python3", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "python3 build.py test qmp-terminal" + "tools/vscode/generate_compile_commands.py", + "--region", + "all" ], - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "shared", - "clear": false - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: Generate compile database (all regions)", + "label": "ReliefOS: clang-tidy (all regions)", "type": "process", - "command": "wsl.exe", + "command": "python3", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "python3 tools/vscode/generate_compile_commands.py --region all" + "tools/vscode/run_clang_tidy.py", + "--region", + "all" ], - "group": "build", - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { "label": "ReliefOS: Generate compile database (kernel)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/generate_compile_commands.py --region kernel"], - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} - }, - { - "label": "ReliefOS: Generate compile database (libc)", - "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/generate_compile_commands.py --region libc"], - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/generate_compile_commands.py", + "--region", + "kernel" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: Generate compile database (userland)", + "label": "ReliefOS: clang-tidy (kernel)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/generate_compile_commands.py --region userland"], - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/run_clang_tidy.py", + "--region", + "kernel" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: clang-tidy kernel", + "label": "ReliefOS: Generate compile database (glibc runtime)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/run_clang_tidy.py --region kernel"], - "dependsOn": "ReliefOS: Generate compile database (kernel)", - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/generate_compile_commands.py", + "--region", + "libc" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: clang-tidy libc", + "label": "ReliefOS: clang-tidy (glibc runtime)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/run_clang_tidy.py --region libc"], - "dependsOn": "ReliefOS: Generate compile database (libc)", - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/run_clang_tidy.py", + "--region", + "libc" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: clang-tidy userland", + "label": "ReliefOS: Generate compile database (userland)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/run_clang_tidy.py --region userland"], - "dependsOn": "ReliefOS: Generate compile database (userland)", - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/generate_compile_commands.py", + "--region", + "userland" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: clang-tidy devtools SDK", + "label": "ReliefOS: clang-tidy (userland)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/run_clang_tidy.py --region devtools"], - "dependsOn": "ReliefOS: Generate compile database (devtools SDK)", - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "shared", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/run_clang_tidy.py", + "--region", + "userland" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: clang-tidy all first-party code", + "label": "ReliefOS: Generate compile database (host tools)", "type": "process", - "command": "wsl.exe", - "args": ["--cd", "${config:leonos.wslProjectRoot}", "--", "bash", "-lc", "python3 tools/vscode/run_clang_tidy.py --region all"], - "dependsOn": "ReliefOS: Generate compile database (all regions)", - "problemMatcher": [], - "presentation": {"reveal": "always", "panel": "dedicated", "clear": false} + "command": "python3", + "args": [ + "tools/vscode/generate_compile_commands.py", + "--region", + "host" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] }, { - "label": "ReliefOS: Clean build outputs", + "label": "ReliefOS: clang-tidy (host tools)", "type": "process", - "command": "wsl.exe", + "command": "python3", "args": [ - "--cd", - "${config:leonos.wslProjectRoot}", - "--", - "bash", - "-lc", - "make clean" + "tools/vscode/run_clang_tidy.py", + "--region", + "host" ], - "problemMatcher": [], - "presentation": { - "reveal": "always", - "panel": "shared", - "clear": false - } + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] } ] } diff --git a/AGENT.md b/AGENT.md index 133e3daa..7a715ab8 100644 --- a/AGENT.md +++ b/AGENT.md @@ -1,361 +1,34 @@ # ReliefOS Agent Guide -本文件是 ReliefOS 仓库内所有自动化代理、维护者和贡献者的工作约定。它 -描述当前架构、构建与验证边界,以及本项目维护者偏好的协作方式。除非用户的 -明确指令与本文件冲突,否则应遵守本文件。 - -## 1. 总则:先检查、再修改、再证明 - -- 先检查真实工作区、相关源码、构建图和 `git diff`,再判断问题或实施修改。 - 不要根据目录名、历史印象或“应该如此”推断已交付功能。 -- 任何结论都要区分四个层次:**源码已检查**、**已修改**、**已编译/已打包**、 - **已在目标虚拟机运行验证**。不能把前一层说成后一层。 -- 发现工作区已有未提交修改时,默认把它们视为用户工作:保留、绕开、不要 - 重置、覆盖、批量格式化或还原。先用 `git status --short` 和定向 - `git diff` 确定自己的改动范围。 -- 不要为了排查而随意结束用户的构建、QEMU、VMware、WSL、TUI 或其他进程。 - 先检查进程、任务状态和日志;只有用户明确要求或确认目标后才停止进程。 -- 变更应保持在请求范围内。发现相邻的明确缺陷可一并修复,但应说明其与 - 当前问题的关系;不要未经授权引入大范围重构、替代工具链或可选功能。 -- 涉及数据删除、镜像重建覆盖、磁盘格式化、清理用户文件、Git 强制操作或 - 远程推送前,必须核实精确目标和用户授权。禁止 `git reset --hard`、 - `git checkout --` 这类会丢弃用户改动的操作,除非用户明确要求。 - -## 2. 项目定位与运行时架构 - -ReliefOS 是面向 x86_64、支持 Legacy BIOS 与 UEFI 启动的操作系统项目。默认磁盘使用 -GPT,包含未格式化的 BIOS Boot 分区、FAT32 ESP 和 ext4 根文件系统;应用运行在 -Ring 3,内核和可加载驱动运行在 Ring 0。当前 Xorg profile 的主要启动 -与服务链如下: - -```text -BIOS 或 UEFI / GRUB - -> kernel/reliefnt 子仓产物 kernel.sys(Ring 0,自带 Multiboot2 头,GRUB 直接引导) - -> initramfs /init,加载根设备/文件系统模块后 switch_root - -> /sbin/init / OpenRC - -> Xorg / XDM - -> IceWM / 普通桌面应用(纯控制台安装不启动 Xorg) -``` - -安装器 ISO 是另一条启动路径:顶层 ISO 只包含启动所需的内核和 -installer root;真正安装到磁盘的系统分为 `/install/esp`(FAT32 -启动载荷)、`/install/root`(Xorg 运行时根载荷)和 `/install/root-console` -(纯控制台载荷)。不要把“安装器运行时镜像内容”和“安装后系统内容”混为一谈。 -新安装默认同时安装 BIOS / UEFI loader,可分别取消;旧系统更新不重分区。 -安装器在分区之前选择引导方式;自动布局只在选择 BIOS 时创建 BIOS Boot, -所有引导组合均保留存放内核与 GRUB 资源的 FAT32 ESP。返回修改选项不得自动擦盘。 -具体布局、引导身份和已验证边界见 `Documentation/admin-guide/installation.rst` 及其中的双启动说明。 - -### 根目录职责 - -| 路径 | 职责 | +本文件适用于 ReliefOS 仓库。用户明确指令优先,源码路径均相对仓库根目录。 +开始相关修改前,按下表读取详细规则,跨领域任务同时读取相关文档。 + +## 核心约定 + +- 修改前检查 `git status --short`、相关差异、真实源码和构建调用链,保留已有工作。 +- 按请求范围实施,优先选择成本低、可回退且能提供证据的步骤,找到根因后修复。 +- 分支、提交、推送、PR、删除数据、覆盖镜像、格式化和停止用户进程均须核对授权与精确目标。 +- 遵守适用的 Linux ABI、POSIX 和上游许可证,保持接口语义与兼容性。 +- 内核实现、测试和手册归 `kernel/reliefnt/`,主仓负责用户态、产品构建和系统集成。 +- 自研源码使用目录级 Kbuild,构建与生成文件写入所选 `O`。 +- 按风险执行最小充分验证,修改后运行 `git diff --check`。 +- 分别报告源码检查、修改、编译、打包、QEMU 和 VMware 运行证据。VMware 验证未完成时必须明示。 +- 日志保留阶段、错误码和状态,保护密码、令牌、Cookie、私钥与请求体。 +- 默认使用简体中文交付,先给结果,再说明关键改动、验证和会影响判断的限制。 +- 严禁只在worktree工作而抛弃主工作区,非必要不用worktree,如果要用,在worktree工作完后必须同步到主工作区 + +## 按任务读取 + +| 任务 | 规则 | | --- | --- | -| `boot/` | GRUB 配置与 BIOS 模块清单;两平台模块由锁定源码构建。 | -| `kernel/reliefnt/` | ReliefNT 子仓(gitlink,URL 为 github.com/ReliefOSProject/ReliefNT):内核核心(调度、内存、ELF 进程、syscall、网络、驱动管理、权限判定与 `lib/` 内部工具)、`drivers/`、`include/uapi` 与内核侧 `include/reliefnt/`。首次使用执行 `git submodule update --init --recursive`,并在子仓内 `make fetch`(其缓存不入库)。 | -| `userland/runtime/` | ReliefOS libc、syscall 包装、字体、网络/HTTP/TLS、PTY 等公共实现。 | -| `userland/apps/` | Ring-3 系统与桌面应用;当前图形应用使用 FLTK/X11;未迁移的旧图形应用源码保留但不构建、不打包。 | -| `userland/busybox/` 等第三方端口目录 | 第三方软件的 ReliefOS 适配层与构建输入。 | -| `include/reliefos/` | 公共 C ABI 头文件;旧 `include/leonos/` 转发头保持兼容。 | -| `system/` | 被 staging 的系统配置、字体、壁纸、证书、图标、应用资源和默认内容。 | -| `configs/` | 动态组件清单、可提交 build profile 与默认配置。 | -| `tools/` | 构建、Kconfig 同步、镜像、安装器、SDK、资源生成和验证脚本。 | -| `Kbuild`、`scripts/reliefos/`、`tools/host/`、`tools/build/` | 原生 Kbuild、产品集成、C 工具及上游适配器。 | -| `Documentation/` | 架构、ABI、构建、文件系统、驱动、安全等项目文档。 | -| `third_party/` | 通过 Git submodule 引入的上游源码;见 `.gitmodules`。 | -| `build/` | 可再生产物与 staging 输出;不可作为手写源码的唯一来源。 | - -### 特权边界 - -- Ring-3 程序经 Linux 编号的 x86_64 syscall ABI 进入内核,入口目前为 - `syscall`;参数使用 `rax/rdi/rsi/rdx/r10/r8/r9`,负返回值为 - `-errno`。已实现接口才可视为可用,未知 syscall 返回 `-ENOSYS`。 -- 内核负责用户指针与长度验证、页表/进程资源、硬件和最终授权。 -- 内核内部能力按职责落在内核子仓的 `kernel/`、`lib/`、`mm/`、`net/`、 - `fs/`、`block/`、`sound/` 和 `drivers/` 等目录(均相对于 `kernel/reliefnt/`)。 - defconfig 默认将生产组件全部内置;支持独立生命周期的部件可经 tristate - 编译为针对同一 ReliefNT ABI 的 ELF `.ko`,不加载 Linux 原版二进制模块。 - 调度、内存和 VFS 等必要核心仍内置。模块注册、回调、IRQ/DMA、OFD/VMA - 必须保留实现 owner,排空真实用户后才能释放代码;不恢复旧私有 `.drv` 协议。 - 用户态与内核之间只有 - syscall/ioctl ABI;图形会话通过 Xorg 的 X11 协议通信。职责归属与旧数据格式的兼容策略见 - `Documentation/userspace-api/abi.rst`。 -- X11 应用连接 Xorg,由 IceWM 管理窗口。不得恢复已移除的自研窗口服务器、 - 私有窗口 IPC、UI 传输兼容层或按可执行文件 GID 授予服务身份的旧逻辑。 -- 来宾运行路径使用 Unix 根目录格式,例如 `/usr/lib/reliefos/apps/fileman/fileman.elf`; - 仓库源码路径(`system/`、`kernel/reliefnt/drivers/`、`Documentation/`)是构建输入,不等于来宾路径。 - 现行 rootfs 契约见 `Documentation/userspace-api/filesystem.rst`。 - 相对路径依赖任务当前目录;路径统一使用 Unix 根目录语义。 - -## 3. 公共 ABI、库和 SDK 的联动规则 - -任何新 syscall、ioctl、公共结构、窗口/鼠标/网络/输入法 API 或 UI 库接口, -都要逐项检查以下闭环,不能只修改一处: - -1. `include/reliefos/*.h`:公共定义、常量、结构布局、权限语义和返回值。 -2. `kernel/reliefnt/kernel/`(内核子仓):编号、用户范围检查、权限检查、实现和错误路径。 -3. `userland/runtime/include/` 与 `userland/runtime/src/`:声明、包装和实现。 -4. 使用该 API 的系统应用、Xorg 适配及相关测试程序。 -5. `configs/header-export.list` 白名单与 `headers_install` 导出:SDK/用户态只消费 - 导出结果,由 `tools/test_header_export.py` 校验;不维护手工 ABI 镜像副本。 -6. `packages/reliefos-musl-sdk.tar.gz` 装配规则与归属/许可证文本。 -7. `Documentation/userspace-api/abi.rst` 或对应专题文档。 - -公开结构应采用定宽类型,校验用户提供的指针、容量、长度、枚举值和版本。 -不要在 ABI 中泄漏内核指针、窗口服务器私有地址或未经界定的可变对象。扩展 -现有结构时,要考虑旧调用方的大小与兼容行为。 - -### libc 与第三方移植 - -- musl、mimalloc 与 ReliefOS 扩展库构成用户态 C 环境;不要把“成功链接”误称为 - “已完整移植”。每个移植软件都需要确认其真实源码、适配层、启动代码、 - musl/mimalloc 依赖、ELF 输出、镜像 staging 和运行路径。 -- 新增第三方软件时,除上游源码外还要处理:构建脚本、组件清单、镜像路径、 - launcher/桌面入口(若需要)、许可证和归属、SDK/API 包(若公开)、以及 - 对应文档。 -- `third_party/` 有 submodule 时,遵守 submodule 工作流:上游或分叉仓库的 - 源码变更先在正确仓库提交,再在主仓库更新 gitlink;不要把未初始化或宿主机 - 目录误当成可提交的第三方源码。 -- 任何 API 安装包都必须同时检查包元数据、归档内容、目标安装路径、部分写入 - 和失败清理、启动/自启动授权以及安装后的可运行性。 - -## 4. UI、桌面、主题、字体和输入原则 - -UI 修改必须横向检查,而不是只改一个应用。典型关联范围包括: - -- `system/xorg/`:XDM、IceWM 会话、窗口管理配置、菜单、键位与主题。 -- `userland/apps/fltk_*.h` 及应用的 FLTK 前端:控件、布局、UTF-8、字体与图标。 -- 所有受影响内置应用:窗口尺寸、焦点、键鼠、文本编辑、主题变化事件、 - 图标/快捷方式和高 DPI/分辨率边界。 -- `system/` 中的字体、壁纸、BMP/PNG/图标等 staging 资产,以及 - `tools/make_app_icons.py` 等生成步骤。 -- 登录、OOBE、Installer 与早期 framebuffer:它们可能使用不同的启动阶段和 - 配置读取时机,不能仅以登录后桌面正常就宣布完成。 - -### 主题与个性化 - -- IceWM 的用户主题与会话设置位于 `~/.icewm/`,系统默认值来自 `system/xorg/`。 -- FLTK 控件统一使用默认 `gtk+` scheme;优先改善排版,不另造控件主题。 -- 登录、安装器和早期 framebuffer 的显示路径分别验证。不要把登录后 X11 正常 - 当作所有阶段的证明;字体、图标和文件读取不得长期阻塞应用事件循环。 - -### 输入、窗口与可访问性 - -- 功能性应用的内容区不放程序名称的大标题或介绍横幅。程序名放在窗口标题栏, - 内容区优先展示原生工具栏、数据和工作画布;空状态提示保持普通字号。 -- 新输入、键盘快捷键、鼠标模式或终端行为要同时验证:事件消费顺序、焦点、 - 修饰键释放、文本提交、预编辑文本、应用快捷键与窗口服务器全局快捷键。 -- 密码或其他安全输入字段必须明确禁止第三方输入法;不得为了“兼容”把敏感 - 文本交给扩展提供者。 -- 控件应依赖真实 UI 控件/状态,而不是仅通过绘制模拟的伪控件来承载交互。 - 新控件需处理尺寸不足、键盘导航、鼠标命中和主题变化。 -- 窗口控制按钮、任务栏、状态栏、候选框和上下文菜单必须在默认窗口尺寸和 - 边缘尺寸下不重叠。对不支持缩放的窗口,应按窗口能力隐藏而非仅灰化放大按钮。 - -## 5. 存储、网络与长期操作 - -### 存储与响应性 - -- 任何文件系统写入、API 解包、词库下载、游戏资源安装或大文件复制必须正确 - 处理短读、短写、临时失败、重试边界、最终错误和资源关闭。`ret == 0` 不等同 - 于完整写入成功;以实际传输字节数判断。 -- 不能在 Desktop、窗口绘制、输入事件或持锁的热路径中执行长时间同步磁盘 - 操作。将重操作放入 worker/服务路径,并持续让出调度机会;UI 只显示进度和 - 可恢复的完成/失败状态。 -- 概率性“权限拒绝、资源缺失、图标/字体/壁纸偶尔不加载”等问题,应优先从 - 共享的存储、目录枚举、缓存、并发和状态提交路径排查,而不是分别添加 fallback。 -- 对写入关键状态(账户创建完成标记、安装状态、配置)使用可诊断的提交顺序, - 保证重启后不会产生“主体成功、完成标记失败”的矛盾状态。 - -### 网络与 TLS - -- 网络栈通过逐设备接口同时服务 e1000、e1000e 和 Realtek;QEMU/VMware 的网卡、DHCP、DNS、TCP 和显示/ - 驱动行为并不完全相同。报告时必须说明实际运行平台。 -- TLS 故障必须区分 DNS、TCP 连接、握手、证书链、主机名、时间、发送与读取。 - 日志可输出主机名、阶段、返回码、网络状态、证书校验标志和时钟状态;绝不 - 输出密码、Cookie、HTTP 请求体、令牌或私密证书内容。 -- 不得通过关闭证书、主机名或时钟验证来掩盖问题。`MBEDTLS_SSL_VERIFY_REQUIRED` - 是安全基线;CA 解析的非负“部分成功”结果应结合已解析根数量处理。 -- 网络错误 UI 不应把所有 TLS/传输错误都称为“证书验证失败”。保留底层状态, - 使诊断和用户提示能反映实际失败阶段。 - -## 6. 构建系统和动态 Menuconfig - -根 `Makefile` 是受支持的生产入口。自研 C、C++、汇编和宿主工具使用固定的 Linux 6.12 -Kbuild;原版引擎、Kconfig 和许可证由 `scripts/kbuild-source.json` 逐文件记录,不直接修改。 -项目扩展放在单独的 `scripts/Makefile.*` 与目录 `Kbuild`,沿用 `.cmd`、fixdep 和 jobserver。 -`scripts/reliefos/` 集成第三方、SDK、镜像、运行和测试;`tools/host/` 的 C 程序转换数据, -`tools/build/` 适配上游 configure/Make 与镜像格式工具。第三方维持其原有构建边界。 -不得增加平行的自研编译链、调用旧 Python 构建引擎,或让生产链执行 Python、Meson、Ninja。Sphinx 仅用于独立文档与 Pages 目标。 -不要求 Rust 工具链。 - -```sh -make help -make doctor -make fetch -make defconfig -make -j8 all -make menuconfig -make olddefconfig -make O=out/debug PROFILE=debug -j8 kernel -make V=1 image-vmdk -make --trace userland -make -n installer -make test -make test-long -make test-legacy -make test-smoke -``` - -- 默认 O 为 `out//`,支持 `ARCH=x86_64`、`PROFILE=release|debug`。 - 修改输出目录用 O,修改目标工具用显式 CC/CXX/LD/AR;HOSTCC 独立。 -- `O/.config` 是当前配置,Kconfig、Kconfig.components 与 configs/components.toml - 是受跟踪输入。组件 BUILD、IMAGE、ENTRY 的作用不得混用;required 组件不可关闭。 - SDK/API 字段仅保留为兼容元数据,不是可选构建控制;SDK 内容由实际产品清单定义。 - 修改组件元数据时保持 Kconfig.components 同步,运行组件 fixture。 -- 原版 Kconfig 生成 `O/include/config/auto.conf` 与 `O/include/generated/autoconf.h`; - 不改写原版配置头。生成的配置和版本头写入 O。生产构建不得改写源码目录、递增版本计数,或使用 - 当前时钟/随机 UUID 破坏可重现性;SOURCE_DATE_EPOCH 默认来自提交时间。 -- 下载只能出现在显式 fetch;生产消费已校验缓存,不允许隐式联网。依赖锁是唯一下载身份来源。 -- 源码成员显式登记在相应 Kbuild 中;增加/删除文件时同步对象清单。源码、头文件、 - 编译/链接参数和对象清单变化、多输出成员缺失必须正确触发重建。 - 对目录 stage 使用完整成员清单,临时树完成并校验后再发布,不能以 stamp 代替存在性检查。 -- 内核每个生产代码目录由本地 `Kbuild` 管理对象和直接子目录;根目录不维护全局 - 源码清单。模块边界、私有共享状态与迁移追溯见 `kernel/reliefnt/Documentation/core-api/modules.rst`。 -- 同一 O 的真实构建互斥,不手工伪造 RELIEFOS_BUILD_OWNER。不同 O 可并行。 - `-n/-q` 不重建被包含的配置,避免干扰持锁构建;首次预览应用和产品前先 defconfig、config-sync。 -- `all` 包括 kernel、userland、runtime、sdk、apk-repo、image-vmdk、iso、installer; - `release` 再加本地 rpr-pages。run/run-debug/run-iso/run-installer 只负责运行对应产物。 -- SDK 必须用随包 C 编译器驱动实际编译/链接,覆盖路径含空格的重定位和静态/动态程序。 - APK 必须保留真实上游数据库、签名、依赖和文件所有权;本地 world 请求不可精确锁版本。 -- 更新已安装系统必须保留 Alpine 包与本地配置;正式发布包版本必须递增。 - 新 APK 的版本代际为 1,兼容旧 0.time_ns 版本升级;脏工作区内容哈希本身不保证时序。 -- clean/distclean 仅清有所有权标记的 O,拒绝 symlink/源码根/不明目录,保留下载缓存。 - 不删除用户旧 build/、buildsystem/cache/、buildsystem/deps/、ISO 或 VMDK。 -- Python 仅允许现存非生产 OS 测试、维护工具及上游参考代码。详见 - `Documentation/kbuild/building.rst`;不以保留的参考实现冒充新链验收。 - -## 7. 验证要求 - -按风险选择最小但充分的验证,并在交付时逐项报告实际执行过的命令与结果。 - -| 修改类型 | 至少应验证 | 完成标准 | -| --- | --- | --- | -| 文档/单文件说明 | 定向检查 + `git diff --check` | 内容正确、无格式/空白问题。 | -| 构建脚本/Kconfig/组件清单 | `make test`、相关 Make 目标 | 菜单、同步和目标选择真实生效。 | -| 内核/存储/ABI/libc | 受影响目标编译 + 相关用户态重建 | 编译链接、头文件与调用链一致。 | -| 应用/UI/主题/字体 | 受影响应用、VMDK/ESP 构建 + QEMU | GUI 可见行为、交互和日志被证明。 | -| VMware 专属显示/驱动 | VMware 启动与可见操作 | 不以 QEMU 成功替代 VMware 证明。 | -| Installer 变更 | Installer ISO + 实际安装/启动路径 | installer runtime 与安装后系统均正确。 | -| 网络/TLS | 相关构建 + VM 真实网络请求 | DNS、TCP、握手、验证与 UI 状态可区分。 | -| 安全修复 | 定向回归检查 + 合适的运行证明 | 触发条件被阻断,未用降级掩盖。 | - -测试源码按被测实现归属:内核、驱动、文件系统、内存、调度和 Linux UAPI 的 -脚本、原生探针与夹具放在 ReliefNT 的 `tools/`、`tools/tests/`、`tests/host/`。 -主仓只持有应用、运行库、SDK、打包、安装器、镜像和完整系统集成测试; -需要内核原生探针时消费子仓路径,不复制私有实现。内核宿主测试由子仓 -`make test-host` 选择;父仓委托目标不得维护另一份内核套件清单。 -两边的 `tools/test_test_ownership.py` 检查此边界;主仓的 Shell 测试也不得直接 -断言内核私有源码和头文件的内容或存在性,这些检查由内核仓持有。 - -额外规则: - -- 每次源码修改完成后运行 `git diff --check`。 -- 编译通过不等于镜像已含文件;镜像已生成不等于虚拟机能启动;日志出现不等于 - UI 可见。分别证明。 -- QEMU 的 QMP Unix socket 不要放在 `/mnt/d/...`(WSL DrvFs 不支持绑定); - 使用支持 Unix socket 的数据盘目录,例如 - `/home/xiaobai/Projects/Projects/.reliefos-qmp-.sock`;不要使用 `/tmp` 或 tmpfs。 -- 遇到概率性失败,记录平台、镜像、网络、操作步骤和关键日志,重复定向验证; - 不要以单次成功或失败就宣布根因。 -- 新增安全审计记录时,使用简体中文,原始输出临时放在 `out/security/`; - 经确认的长期约束写入 `Documentation/process/security.rst`。明确静态覆盖范围 - 和未做的 PoC/QEMU 验证,不能虚构修复版本或利用结论。 - -## 8. 代码注释规范 - -`kernel/reliefnt/kernel/`(内核子仓)中的每个函数定义和公共函数声明必须紧贴 -Doxygen 风格块注释。C 与汇编预处理源统一使用 `/** ... */`,格式如下: - -```c -/** - * @brief 说明函数实际负责的行为、边界与副作用。 - * @param request 输入;说明可空性、所有权、长度或容量。 - * @param out_result 输出;调用方提供的可写存储。 - * @return 成功值和所有重要错误/特殊返回值。 - */ -int subsystem_handle(const struct request *request, struct result *out_result); -``` - -- `@brief` 必须表达职责,不能只重复函数名。涉及用户指针、权限、锁、中断上下文、 - 内存映射、引用计数或硬件 I/O 时,要记录适用的关键前置条件或副作用。 -- 每个参数都用 `@param` 说明输入/输出方向、可空性、所有权与字节长度/数组容量; - 无参数函数不写占位 `@param`。不返回的函数应说明不返回的原因。 -- 每个非 `void` 函数都用 `@return` 描述成功结果、负 errno 或其他特殊值。异步函数还要 - 说明完成、回调或状态变化的时机。 -- 静态私有函数至少在定义处注释;公共函数的头文件声明和实现都必须有一致描述。函数 - 注释不替代结构、宏、ABI、状态机或复杂算法所需的独立说明。 -- 修改已有函数签名、返回约定、所有权、锁定规则或副作用时,必须同步修改其 Doxygen - 注释;新函数不带合格注释不得合入。 - -## 9. 文档、日志和交付质量 - -- 新功能、公开 API、构建开关、镜像布局或第三方移植发生变化时,更新相关 - `Documentation/`、SDK 说明、示例和归属/许可证文本。文档只能描述 - 已确认存在的接口;计划中的接口必须明确标为计划。 -- 日志应使用稳定前缀(例如 `[reliefnt]`,兼容期 `[ntclks]`、`[tls]`),包含足够的 - 阶段、返回码和状态来定位问题,但不能泄露令牌、密码、Cookie、私钥或请求体。 -- 对用户的最终交付应优先给出结果,然后列出:修改了什么、关键路径、构建/ - 打包/运行验证分别是否完成、已知限制和下一步。默认使用简体中文。 -- 当用户要求“继续”“开始改”“赶紧改代码”时,在确认工作区与范围后直接实施; - 不要重复给方案代替执行。只有缺少会实质改变范围或安全性的授权时才提问。 -- 当用户问“为什么”或要求诊断时,先给源码和日志证据,再给结论;除非用户 - 同时要求修复,否则不要擅自修改。 - -## 10. Git、CI 与发布 - -- 提交前检查 `git status --short`、`git diff --check`,并只 stage 本任务的文件。 - 没有用户明确要求时,不要自行创建分支、提交、push 或创建 PR。 -- CI 配置位于 `.github/workflows/`。凡是改变依赖、Kconfig、组件清单、构建 - 目标、SDK、Installer、第三方移植或产物布局,都要检查 CI 是否仍能从干净 - checkout 和递归 submodule 状态构建。 -- CI 的构建通过仅证明 Linux 自动化路径;不要把它等同于 VMware/QEMU 的图形、 - 音频、鼠标、网络或安装交互已经验证。 -- 发布任务应同时考虑 VMDK、普通 ISO、Installer ISO、SDK、API 包、校验和与 - 第三方归属文件;任何一项是否包含某个组件由当前 profile 与组件清单决定。 -- ReliefNT 子仓(`kernel/reliefnt`,`https://github.com/ReliefOSProject/ReliefNT`)日常开发在子仓内进行:在子仓里开分支或 - 游离提交(detached HEAD),验证通过后推送其工作分支或 main;主仓只提交 - 更新后的 gitlink(`git add kernel/reliefnt`),不把子仓改动拆进主仓提交。 - 子仓 checkout 处于 detached HEAD 是正常状态(gitlink 检出即游离),不要 - 在主仓 `git submodule update` 后顺手帮子仓建分支。发布目标(rpr-pages/ - release)要求子仓 clean 且 HEAD 与 gitlink 一致;开发构建(all/kernel) - 允许子仓 dirty。 - -## 11. 常用排查顺序 - -1. `git status --short`,查看是否有用户进行中的工作。 -2. `git diff -- <相关路径>`,确定当前改动与请求关系。 -3. `rg` 或 `git grep` 找到从 UI/API/构建到 staging 的完整调用链。 -4. 用 `make --trace`、`make -n` 和 `V=1` 证明实际构建路径。 -5. 以最小相关目标编译;必要时构建 VMDK/Installer。 -6. 在对应的 QEMU 或 VMware 平台进行运行/可视验证。 -7. `git diff --check`,并在交付中区分已验证与未验证项。 - -不要以删除 fallback、增加 sleep、关闭校验、无限增大超时、吞掉错误或硬编码 -成功状态来“修复”问题。应找到真实边界、状态机、权限、I/O 或构建/staging -断点,并保留可观察的诊断。 +| 架构、目录归属、ABI、运行库、SDK、第三方移植 | [架构与接口](.agents/architecture.md) | +| Kbuild、Kconfig、依赖、staging、镜像、清理 | [构建规则](.agents/build.md) | +| FLTK/X11、主题、输入、存储、网络与 TLS | [桌面与 I/O](.agents/desktop-and-io.md) | +| 测试、QEMU、注释、文档和问题诊断 | [开发与验证](.agents/development.md) | +| 子模块、提交、CI、版本与 Release | [Git 与发布](.agents/git-and-release.md) | +| ReliefNT 内核开发 | [内核仓规则](kernel/reliefnt/AGENT.md) | -## 12. 版本发布的长期规则 +## 产品体系 -- 发布前必须阅读并遵循 [发布规范](Documentation/process/releasing.rst)。Release 更新范围是 - `(上一版本号提交, 本次版本号提交]`,不是发布日期之间或任意最近 tag 之间。 - 例如 5.1.0 从“改为 5.0.0”的提交之后统计到“改为 5.1.0”的提交。 -- ReliefOS 只写主仓自身变更,排除 ReliefNT 实现和纯 gitlink 更新;ReliefNT - 只写内核仓变更。两份说明的章节格式相同,正文独立;合并去重,不能把已撤销 - 的功能或计划当作交付,不列“更新版本号到 x.x.x”等无用更新。 -- 说明必须包括:更新内容、是否破坏性更新、更新与迁移注意事项、开发者提示; - 归档到 `Documentation/releases/<版本>.rst`。 -- 先推送内核版本提交,再更新父仓 gitlink 并推送;标签与 GitHub Release - 必须固定到各自精确版本提交。使用 `gh` 和审阅过的正文文件发布,回读核对。 -- `/etc/os-release` 的 `VERSION_ID` 与主仓发布版本一致;保留品牌显示规则。 - 二进制仅在明确要求时从本版本重建并附校验和,不上传旧产物。预发布标记 - prerelease;不自动重写标签或 Release,不自动合并开发分支。 +ReliefOS 使用 glibc、pacman/AUR/paru、systemd、Arch 风格 merged-usr 和在线 +RPR 滚动更新。以 `rewrite/new-os` 的源码、构建产物和运行验证判断迁移状态。 diff --git a/Documentation/admin-guide/accounts.rst b/Documentation/admin-guide/accounts.rst index 3f4538b3..a8903f83 100644 --- a/Documentation/admin-guide/accounts.rst +++ b/Documentation/admin-guide/accounts.rst @@ -5,42 +5,30 @@ 日常身份 ======== -使用普通账户登录,按操作通过 sudo 提权。系统使用 PAM、shadow 和 -标准用户/组资料,root 账户与普通账户权限不同。图形设备授权需核对 ``video`` -组(GID 44);wheel 组的 sudo 权限仍要求密码认证。不要覆盖已有账户库来套用示例。 +使用普通账户登录,需要时在终端通过 sudo 提权。系统使用 Arch 提供的 PAM、shadow +和标准用户组资料。wheel 组的 sudo 权限要求密码认证。systemd-logind 管理图形会话及设备访问。 密码不得出现在命令行、环境、串口或调试日志中。 -测试镜像账户 +安装后的账户 ============ -独立测试镜像可包含公开夹具账户: ``test/test`` (UID/GID 1000, -wheel/video 补充组)、 ``root/root``,以及锁定的 nobody。 -它们只用于 VMDK/普通镜像的独立测试账户装配,不属于安装器部署后的真实密码。 -安装器按用户选择创建账户;公开测试账户不能当作安全部署默认值。 +安装器按向导中的设置创建普通账户和 root 账户,使用 yescrypt 把密码保存到 ``/etc/shadow``。 +开发镜像的自动测试可以在临时副本中创建测试账户。 授权边界 ======== -能打开应用不代表能修改块设备或系统配置。普通文件访问由内核 DAC 和 -描述符模式检查;重读分区表要求 CAP_SYS_ADMIN。Diskmgr 的普通用户窗口只读, -管理员操作需该用户已有 sudo 授权。详见 :doc:`../applications/diskmgr`。 +普通文件访问由内核检查 DAC 权限及描述符模式。重读分区表要求 CAP_SYS_ADMIN。 +Diskmgr、文件管理器和 ReliefPackages 使用 polkit 授权需要管理员权限的操作。 +详见 :doc:`../applications/diskmgr`。 操作权限矩阵 ============ * 普通文件或块设备打开:按当前 UID、主组、补充组及节点模式进行 DAC 检查。 * 已打开描述符读写:继续要求匹配的访问模式;O_PATH 不授予读写能力。 -* root 的可写块描述符:允许标准原始写入,不再要求旧桌面角色或安装器标志。 +* root 的可写块描述符:允许标准原始写入。 * BLKRRPART:另检查 CAP_SYS_ADMIN;仅有可写 fd 不足以重读分区表。 -* Diskmgr 提权:验证调用用户已有的 sudo 授权;错误或取消不改变原窗口身份。 - -可执行文件的组 ID 不授予窗口服务器或服务身份。旧保留服务组不再由系统镜像创建; -已有文件的属组仍按普通 Linux DAC 语义处理。sudo 的图形提示由普通用户运行的 -FLTK 辅助程序提供,密码仅经标准输出管道交给 sudo;控制台 PAM 兼容会话使用 -上游 libpam_misc 的终端会话实现。 - -sudo 保留 PAM 认证及其账户、会话检查,支持现有 yescrypt 密码。 -密码提示及其翻译由上游 sudo/PAM 提供,ReliefOS 的图形辅助程序原样显示提示, -不替换为自定义的“密码:”。默认 askpass 路径为 -``/usr/lib/reliefos/apps/reliefaskpass/reliefaskpass.elf``;旧配置中指向 -``sudod`` 的路径仍可原样转发提示,升级不会覆盖管理员修改过的配置。 +* Diskmgr 提权:polkit 授权后由专用辅助程序执行磁盘操作,图形窗口以普通账户运行。 + +图形授权提示由桌面会话的 polkit 认证代理显示。控制台登录和 sudo 使用系统 PAM 配置。 diff --git a/Documentation/admin-guide/coreutils.rst b/Documentation/admin-guide/coreutils.rst index f6a4afef..00c42c9f 100644 --- a/Documentation/admin-guide/coreutils.rst +++ b/Documentation/admin-guide/coreutils.rst @@ -1,137 +1,18 @@ -======================== -GNU coreutils 与 BusyBox -======================== +================= +GNU 基础命令 +================= -命令与文件归属 -============== +ReliefOS 从 Arch 官方仓库安装 GNU coreutils、Bash 和 util-linux。 +``/bin``、``/sbin`` 和 ``/usr/sbin`` 都指向 ``/usr/bin``,软件包在该目录拥有命令文件。 +Linux 设备和文件系统工具随各自的官方软件包更新。 -系统安装锁定的 GNU coreutils 9.12 全部 109 个命令入口,包括 ``[``、 -``test``、``arch``、``hostname``、``kill``、``uptime`` 与 ``coreutils`` -分发器。完整清单位于源码 ``userland/coreutils/programs.list``,构建时与 -锁定上游归档的程序清单比较,缺失任意入口或辅助库都会使构建失败。 +可以在终端查询可执行文件的位置和包归属:: -``/usr/bin/coreutils`` 是实际 ELF,其余 GNU 入口使用上游 single-binary -symlink 模式指向它。``stdbuf`` 的预加载库安装在 -``/usr/libexec/coreutils/libstdbuf.so``;程序、链接、文档和许可证由 -``reliefos-coreutils`` APK 管理。 - -根文件系统没有合并 ``/bin`` 与 ``/usr/bin``。原先由 BusyBox 提供的 -``/bin/cat``、``/bin/cp``、``/usr/sbin/chroot`` 等旧路径保留为指向 GNU -入口的相对链接,并转交同一个 coreutils 包。链接生成阶段不会再为同名 GNU -命令生成 BusyBox 入口。其他命令与 BusyBox 的 ``sh``、启动及救援功能保持可用。 - -在终端中检查外部入口和 APK 归属:: - - type -P ls + command -v ls /usr/bin/ls --version - readlink -f /bin/cat - apk info --who-owns /usr/bin/ls /bin/cat - -``echo``、``printf``、``test``、``pwd`` 等名称也可能是 Bash/ash 内建命令。 -需要明确调用 GNU 版本时使用 ``/usr/bin/printf`` 等绝对路径。显式 -``/bin/busybox NAME`` 仍调用 BusyBox applet;更新和救援脚本需要此入口。 -不要用 ``busybox --install`` 覆盖系统已经登记的文件。 - -升级与兼容性 -============ - -新的 BusyBox 包依赖 ``reliefos-coreutils``,GNU 包声明接管旧 BusyBox 包的 -重叠文件,使 APK 在正常事务中转移所有权,无需强制覆盖。不要手工删除 -BusyBox ELF 或剥离它的内置 applet;显式救援调用仍依赖它们。 -发行包与 Alpine 的 ``coreutils``、``coreutils-single`` 声明冲突,避免两个 -包同时提供 GNU 入口。使用系统的 ``reliefos-coreutils`` 包进行更新。 - -GNU 与 BusyBox 的选项集合不完全相同。例如 GNU ``hostname`` 接受主机名参数, -不支持 BusyBox 的 ``-F``。系统初始化对现有主机名文件的读取显式使用 -``/bin/busybox hostname -F /etc/hostname``;自定义脚本也应选择正确的实现。 - -终端颜色 -======== - -交互式 Bash 通过 ``/etc/bash/colors.sh`` 为 ``ls``、``dir``、``vdir`` -设置 ``--color=auto`` 别名,文件类型和扩展名颜色使用 GNU ``dircolors`` -的默认数据库。配置由系统 bashrc 加载,新账户和已有账户均在重新打开 -终端后生效;当前终端也可执行 ``. /etc/bash/colors.sh``。 - -自动模式只在命令输出到终端时着色,管道和文件重定向保持纯文本。 -非交互脚本不加载这些别名;``command ls`` 或 ``/usr/bin/ls`` 可以直接 -调用外部命令,``ls --color=never`` 可关闭本次输出的颜色。 - -已有的 ``LS_COLORS``、``LESS``、同名别名和函数不会被覆盖。 -未设置 ``LESS`` 时使用 ``-R``,允许分页器显示 ANSI 颜色。 -启动 shell 前设置 ``TERM=dumb``、不设置终端类型或设置非空 ``NO_COLOR`` -会跳过默认颜色配置。GNU 9.12 的帮助包含超链接控制序列,当前 st 不支持该扩展; -可用 ``TERM=dumb ls --help | less`` 查看纯文本帮助,其他命令的颜色不受影响。 - -``fdisk``、``sfdisk`` 保持 util-linux 原有的自动颜色及 -``terminal-colors.d`` 用户配置。本镜像中的 ``grep``、``diff``、``tree``、 -``dmesg`` 和 ``cal`` 为 BusyBox 实现,没有实际着色功能;不为其添加 -无效选项,也不强制为纯文本工具插入转义序列。 - -功能边界 -======== - -启用所有命令入口不代表内核实现所有扩展。``chcon`` 和 ``runcon`` 使用 -上游没有 libselinux 时的实现,对实际 SELinux 操作返回失败;ReliefNT 当前 -不提供 SELinux。不能把这两个命令能够显示版本解释为安全上下文操作可用。 - -本构建保持禁用 NLS、ACL 和扩展属性集成。普通权限、用户/组、文件操作、文本、 -编码、校验和等使用真实 GNU 实现;依赖具体文件系统、设备或内核功能的选项, -仍以实际系统支持及命令退出码为准。 - -目标代码使用 x86-64 的 x87/SSE 基线。可选的 CPU 分发 CRC 后端会引入宿主 -compiler-rt 的预编译 CPU 检测构造函数,该函数的 ISA 不受目标 ``-mno-avx`` -约束,因此交叉构建使用上游通用 CRC 路径。此设置保留 CRC 计算功能, -也避免在尚未保存 AVX 状态的内核中执行 AVX 指令。 - -验收与测速 -========== - -``tools/test_coreutils_qemu.py`` 使用完整生产 VMDK 的私有副本启动 ReliefOS, -仅注入用户态测试程序、数据和 OpenRC 测试服务,不替换生产内核、libc 或 GNU -程序。它核对镜像内 ELF 与构建产物的哈希,并在结束后核对原始 VMDK 未修改。 - -来宾测试逐个验证 109 个命令入口和实际行为,包括退出码、文件内容、权限、 -链接、文本转换、编码、散列、终端与进程工具。SELinux 两项单独记录为预期 -不支持;同时查询真实 APK 数据库确认 GNU 路径归属,检查显式 BusyBox 救援调用。 -这不是全部 GNU 上游测试或全部选项组合的替代品。 - -使用同一优化级别比较两种实现,例如使用 release 构建:: - - mkdir -p out/tmp - TMPDIR="$PWD/out/tmp" make O=out/coreutils-release PROFILE=release defconfig - TMPDIR="$PWD/out/tmp" make O=out/coreutils-release PROFILE=release -j6 image-vmdk - TMPDIR="$PWD/out/tmp" python3 tools/test_coreutils_qemu.py \ - --build-dir out/coreutils-release \ - --busybox-benchmark out/coreutils-release/userland/busybox.elf \ - --output out/coreutils-qa-new --accel kvm - -验收虚拟机使用 1 个 vCPU、4 GiB 内存,并显式提供 invariant TSC。 -当前内核仅在单 CPU 条件下启用可信 TSC 高精度计时,多核回退的 PIT 计时 -可能漏算长时间同步 I/O 的墙上时间。测试消费内核仓自己的 vDSO 探针,要求 -高精度模式验证成功后才测速;不能把不满足此门槛的数据作为吞吐结果。 - -每项性能测试先预热一次,再测三次,输出原始纳秒样本、中位耗时与 MiB/s: - -* ``cat``:读取 32 MiB,写入 ``/dev/null``。 -* ``wc -l -w -c``:完整扫描 32 MiB,核对行数、单词数和字节数。 -* ``sha256sum``:对 32 MiB 文件计算并核对已知摘要。 -* ``tr a-z A-Z``:转换 32 MiB,写入 ``/dev/null``。 -* ``sort``:排序 262144 行八位数字(2.25 MiB),写入 ``/dev/null``, - 另对完整排序输出核对独立生成的有序数据摘要。 -* ``cp``:实际向 ext4 复制 1 MiB 文件,并逐字节比较副本。 - -``cat``、``tr``、``sort`` 另通过管道对完整输出做不计时的摘要校验,避免将文本 -处理测试变成额外的磁盘写入测试。复制使用较小的数据集,以适应当前文件系统同步刷新 -成本;不为测速绕过系统持久化语义。测量包含进程启动与退出,输入经历 -预热,不清空系统缓存,也不要求每次复制强制落盘。因此它们是指定工作负载的 -耗时与吞吐,不能当作冷盘速度、持久化写入速度或跨机器性能保证。报告应包含 -虚拟机平台、vCPU/内存、两种实现的编译优化级别及校验结果。 - -真实签名 APK 的旧路径升级可单独验证:: - - TMPDIR="$PWD/out/tmp" python3 tools/test_coreutils_apk_upgrade.py \ - --build-dir out/coreutils-release --output out/coreutils-upgrade-new + pacman -Qo /usr/bin/ls /usr/bin/cat + pacman -Q coreutils bash util-linux -此测试在宿主 Linux 用户命名空间的私有根目录内执行 APK 事务,仅证明包升级 -和文件归属;系统内功能与测速必须以上述 ReliefOS 来宾运行结果为依据。 +自定义脚本使用相应命令的帮助或手册确认选项。 +交互式 Bash 的别名由系统和用户配置,脚本需要外部命令时可使用其绝对路径。 +有关软件包查询和滚动更新,见 :doc:`packages`。 diff --git a/Documentation/admin-guide/desktop.rst b/Documentation/admin-guide/desktop.rst index 8f41ec58..b0854a5c 100644 --- a/Documentation/admin-guide/desktop.rst +++ b/Documentation/admin-guide/desktop.rst @@ -5,13 +5,28 @@ Xorg、XDM 与 IceWM 会话 ==== -默认图形链为内核、PID 1、Xorg、XDM、IceWM。XDM 完成 PAM 登录后, -IceWM 和应用使用普通用户身份运行;不要用 root 桌面代替正常授权。 -终端为 st,默认浏览器为 NetSurf。图形载荷使用锁文件中 ``feature=xorg`` 的依赖; -当前 Alpine 基线为 ``v3.24``,Mesa 26.3.1 与 LLVM 23 图形运行库使用 -锁定 SHA 和签名的官方 edge APK,以提供未修改的 VirGL 驱动。 -准备依赖使用 ``make fetch``。 -首次配置及真实运行测试必须区分 QEMU 与 VMware。 +通过 ``make rootfs`` 装配开发根文件系统。 +``ARCH_DESKTOP=icewm`` 为默认值,``xfce`` 为实验选项,``console`` 用于控制台。 +前置步骤和各选项的归档名称见 :doc:`../kbuild/building`。 +QEMU/KVM 的 BIOS 路径已验证普通用户 XDM 登录、IceWM、st、XDG 自启动、 +用户 systemd 与 D-Bus、中英日 UTF-8 locale,以及注销后再次登录。 +普通用户执行 ``systemctl reboot`` 后,系统重新进入 XDM 登录界面。 +实验性 Xfce 也已通过普通用户 XDM 登录检查。VMware 验证尚未完成。 + +图形配置安装 testing RPR 的 ``reliefos-desktop`` 和 ``reliefos-st``,依赖官方 +Arch ``xorg-xdm``、Xorg 和 IceWM 包。装配时启用官方 ``xdm.service``, +建立 ``display-manager.service`` 别名并选择 ``graphical.target``。 +XDM 使用官方包的 ``/etc/pam.d/xdm`` 完成 PAM 登录,再以已认证用户身份执行 +``/usr/lib/reliefos/xdm-session``。服务覆盖配置位于 +``/usr/lib/systemd/system/xdm.service.d/50-reliefos.conf``。 + +``/etc/reliefos/desktop-session`` 保存一行 ``icewm`` 或 ``xfce``,默认是 ``icewm``。 +会话脚本分别调用 ``icewm-session`` 或 ``startxfce4``,也接受用户可执行的 +``~/.xsession``。``console`` 装配选择 ``multi-user.target``。 + +IceWM 的 ``/etc/icewm/startup`` 调用 +``dex --autostart --environment ICEWM`` 处理 XDG 自启动,并启动终端。 +Xfce 分支通过 ``startxfce4`` 交给 Xfce 会话管理自启动。 Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则使用 framebuffer。XDM 的 Xorg wrapper 为 VirtIO-GPU 生成 @@ -20,14 +35,14 @@ Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/gla 管理员配置。检查实际 Xorg/Mesa 日志与绘制结果,不能只看显卡名称。 VirtIO-GPU 运行 -==================== +================== QEMU/KVM 可在原生入口选择 2D 或 VirGL;不指定时仍使用原来的 VGA:: make run QEMU_GPU=virtio QEMU_BOOT=bios - make run QEMU_GPU=virgl QEMU_BOOT=uefi + make run QEMU_GPU=virgl QEMU_BOOT=uefi QEMU_DISPLAY=gtk,gl=on -VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer +VirGL 需要支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render node。可以通过 ``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。 @@ -44,29 +59,44 @@ ROOT 须含完整来宾运行库;宿主只提供 EGL/GLES2/GBM 头文件,链 探针检查实际 renderer、着色器、三角形像素与销毁;打印的 64×64 离屏 draw 速率属于观察值,不能作为桌面 FPS。VMware 验证未完成。 +控制台 +====== + +控制台使用 ReliefNT 的 UTF-8 字体渲染与内建键盘映射。 +``reliefos-boot`` 为 ``systemd-vconsole-setup.service`` 安装设备条件, +仅在内核提供真实 ``/dev/vcsN`` 屏幕设备时执行上游字体及键位配置, +同一条件也进入 dracut initramfs。当前内核尚未提供这些屏幕设备以及完整 +Linux VT 字体、键位配置接口,因此使用内建控制台设置。X11 键位与输入法 +由桌面会话配置。 + 主题与菜单 ========== -XDM 使用 ``/etc/X11/xdm/`` 下的标准配置和 Xresources;IceWM 的背景、 -颜色和装饰由 IceWM 主题决定。两者分别配置,不再强制使用同一张背景图片。 -系统 IceWM 配置由 ``/etc/icewm`` 及 ``/etc/reliefos/icewm`` 提供, -用户的 ``~/.icewm/`` 可覆盖系统配置。主题不能替代菜单、工具栏与键位文件。 +Arch/systemd 的 XDM 覆盖配置位于 ``/etc/reliefos/xdm/``,包括 +``xdm-config``、``Xservers`` 和 ``Xresources``。IceWM 的背景、颜色和装饰由 IceWM 主题决定。 +IceWM 的 preferences、theme、menu、toolbar、keys、winoptions 和 startup +沿用 ``/etc/icewm/``。``/usr/etc/icewm`` 链接到该目录,接通官方包编译时的 +系统配置搜索路径。用户的 ``~/.icewm/`` 可覆盖系统配置。 +``/etc/reliefos/icewm/`` 保存终端及关于对话框的辅助脚本。 + +IceWM 的系统默认主题是 ``default/default.theme``。用户自己选择的主题优先。 修改键位或会话配置后需要重新加载 IceWM 或重新登录。自定义菜单应保留按功能 -分组的应用入口。Win+Shift+S 启动 ReliefCapture;用户自定义 keys 覆盖默认键位时 +分组的应用入口。默认的 Win+Shift+S 启动 ReliefCapture;用户自定义 keys 覆盖默认键位时 需自行合并该绑定。 用户目录与快捷方式 ================== 登录会话运行上游 ``xdg-user-dirs-update``,按用户语言初始化 Desktop、Documents、 -Downloads 等目录。安装器和账户种子只准备主目录与配置模板,不再预建另一套目录。 +Downloads 等目录。该步骤由 ``/usr/lib/reliefos/xdm-session`` 执行。 + Fileman 及下载路径读取 ``$XDG_CONFIG_HOME/user-dirs.dirs``;未设置有效的 ``XDG_CONFIG_HOME`` 时使用 ``~/.config/user-dirs.dirs``。桌面由 ``XDG_DESKTOP_DIR`` 决定,下载位置由 ``XDG_DOWNLOAD_DIR`` 决定。未配置或 禁用的特殊目录回退到主目录。配置只按路径数据读取,不执行其中的 shell 代码。 -Fileman 的“创建快捷方式”可选择桌面或当前目录:应用使用标准 ``.desktop``, +Fileman 的“创建快捷方式”可选择桌面或当前目录,应用使用标准 ``.desktop``, 已有应用启动项保留名称、图标、文件参数和终端设置;普通文件与文件夹使用 POSIX 符号链接。创建操作不覆盖同名文件,自动选择新的名称。打开应用启动项时复用系统 GLib ``gio launch``,由上游处理 Exec 转义、字段码、工作目录和终端启动规则。 @@ -88,19 +118,3 @@ IceWM 的应用菜单继续通过 ``icewm-menu-fdo`` 读取标准应用入口。 编译压力下的拖动与硬关机后的锁文件问题见 :doc:`limitations`。 上游登录管理器的程序名为 ``xdm``;它与 IceWM 的会话和主题配置分别维护。 - -源码与兼容边界 -============== - -系统只交付 Xorg、XDM、IceWM 和已迁移的图形应用。旧自研桌面、私有窗口 -传输、对应 SDK 窗口头文件和 ELF 窗口接口均已删除,不提供兼容服务或空实现。 -内核保留标准 framebuffer、DRM 和 evdev 设备接口,不再包含内置桌面绘制。 - -尚未迁移的图形客户端源码继续保留在 ``userland/apps/``,但不在组件菜单、 -构建清单、安装包或启动菜单中。终端使用 st,浏览器使用 NetSurf。旧的设置、 -设备管理及协议演示程序需迁移到 X11 后才能重新加入;保留源码不表示它们 -仍可编译或运行。第三方上游源码及其许可证保留,旧窗口平台适配层已移除。 - -这是旧图形 API 的破坏性移除。现有应用需迁移至 FLTK/X11;进程快照、 -CPU 亲和性和单调时钟声明位于 ````,独立 framebuffer -辅助接口位于 ````。重新生成 SDK 并重新链接应用,不要混用旧库。 diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst index 34cc8c98..902c5871 100644 --- a/Documentation/admin-guide/index.rst +++ b/Documentation/admin-guide/index.rst @@ -19,7 +19,7 @@ ipv6 kernel-modules usb - openrc-controller + service-controller accounts console limitations diff --git a/Documentation/admin-guide/installation.rst b/Documentation/admin-guide/installation.rst index 618c304e..38da950c 100644 --- a/Documentation/admin-guide/installation.rst +++ b/Documentation/admin-guide/installation.rst @@ -7,11 +7,10 @@ 备份目标磁盘。安装器的重新分区、格式化会破坏所选磁盘的数据; 先用磁盘型号、容量和现有分区核对身份,不能只凭设备编号判断。 -默认介质包括 ``reliefos-installer.iso``、``reliefos-live.iso`` 和 ``reliefos.vmdk``, -同一介质支持 Legacy BIOS 与 UEFI。ISO 使用双 El Torito 光盘入口, -不承诺是可直接写入 U 盘的 hybrid 镜像。 +安装介质 ``reliefos-installer.iso`` 支持 Legacy BIOS 与 UEFI。ISO 使用双 El Torito +光盘入口,不承诺是可直接写入 U 盘的 hybrid 镜像。也可使用预制磁盘 ``reliefos.vmdk``。 -安装器运行时、Live 会话和安装后的系统是不同的根文件系统。 +安装器运行时和安装后的系统是不同的根文件系统。 只有实际安装并移除 ISO 后启动成功,才能证明安装后的系统可用。 QEMU/KVM 的 VirtIO 磁盘 @@ -43,33 +42,35 @@ ext4 分区;这不等同于安装器支持在 4Kn 磁盘上全新安装,也 安装介质布局 ============ -新安装器 ISO 将安装器自身的运行时保留在可写的 ext4 RAM 盘 ``/dev/ram0``, -将 IceWM、纯控制台、XFCE 和 ESP 的安装文件分别放在 ``root``、 -``root-console``、``root-xfce`` 和 ``esp`` 中,合并打包为 -``/install/payload.squashfs``。引导时,这个压缩镜像作为只读的 -``/dev/ram1`` 加载,随后以 ``ro,nosuid,nodev`` 挂载至来宾的 ``/install``。 -安装器仍从原路径读取文件,不需要先把载荷解压到第二个 RAM 盘。 +安装器 ISO 使用 ReliefNT 和未压缩的 CPIO initramfs,由 systemd 启动可写的 +安装环境。ISO 光盘只读挂载,提供引导资源;目标系统的软件包不从镜像复制。 +安装时必须联网访问 Arch 官方仓库和 ReliefOS 软件包仓库(RPR)。 +安装器在写盘前独立验证 RPR 数据库的签名,并为所选桌面解析依赖和估算容量。 +pacman 校验软件包签名,再安装到目标磁盘。安装后的系统有自己的 pacman 信任数据库。 -旧版安装介质没有独立载荷,直接从运行时根中的 ``/install`` 读取。 -新介质的独立载荷若无法加载或挂载,启动会报错,不会当成旧介质继续。 -这项改动只影响安装介质;Live 根和新安装的默认磁盘根仍使用 ext4, -手动选用 ext3 的流程也不变。已安装的系统无需转换文件系统。 +安装器和新系统默认使用 10 路并行下载。安装器根据可用内存为下载缓存选择 +有界 tmpfs,内存不足时使用目标磁盘缓存。中断后由 pacman 续传并重新验证。 +软件包在同一次事务内完成验签和安装。后续可在 ``/etc/pacman.conf`` 中调整 +``ParallelDownloads``,常规更新保留用户配置。 + +ReliefNT 当前未提供 Landlock。生成的系统配置使用 pacman 标准选项 +``DisableSandboxFilesystem``,下载仍由 ``alpm`` 用户执行并使用 seccomp 过滤, +软件包签名策略由 ``SigLevel`` 管理。 全新安装 ======== 在 GRUB 中选择图形安装或控制台安装;控制台会话条目为 ``Install ReliefOS (console session)``。图形和控制台向导使用相同的步骤顺序: -语言、许可证、安装模式、目标磁盘、引导方式、分区方案、系统选项、账户、 -安装摘要、安装进度和结果。更新模式只显示适用的磁盘检查、摘要、更新进度和结果, -不会要求重新配置账户、分区或桌面。 +语言、许可证、在线安装说明、目标磁盘、引导方式、分区方案、系统选项、账户、 +安装摘要、安装进度和结果。安装器只负责全新安装;安装后请用 pacman 更新。 安装前可以用“上一步”返回,图形侧栏也可回到已经经过的配置步骤。 修改磁盘、引导方式、分区或系统选项后,摘要根据当前选择重新生成; 账户密码不会出现在摘要或日志中。图形许可证页面需明确勾选确认, 控制台通过“接受并继续”确认。 -桌面和交换文件在单独的“系统选项”步骤配置,最终摘要只用于核对, -不会在即将开始安装时再混入新的配置项。 +在“系统选项”中选择桌面、IANA 时区、Arch 镜像源和可选交换文件。默认镜像列表优先使用 +清华大学 TUNA,Arch 地理镜像作为备用;也可直接选择 Arch 地理镜像。最终摘要只用于核对。 图形向导的页面本身不滚动,当前步骤的全部设置和导航按钮始终可见。 最小窗口客户区为 768×540,可用于 800×600 屏幕;调整窗口大小时, @@ -77,29 +78,20 @@ ext4 分区;这不等同于安装器支持在 4Kn 磁盘上全新安装,也 许可证正文、列表、变更计划和日志较长时,仅在各自控件内部滚动, 不需要滚动整个页面来寻找设置或继续按钮。 -桌面环境默认选择 IceWM;也可选择 XFCE(实验性)或纯控制台系统。 -XFCE 包含面板、窗口管理器、桌面、Thunar 文件管理器和 XFCE Terminal, -使用锁定版本的 Alpine 官方包,随安装介质提供,安装时不需要联网。 -XFCE 会话由 ``/etc/X11/Xsession`` 启动,使用独立的 D-Bus 会话; -用户可通过可执行的 ``~/.xsession`` 覆盖系统默认会话。 -XFCE 默认关闭窗口合成;用户可在“窗口管理器微调”中开启。 -实验性 XFCE 在软件渲染环境中首次登录时,桌面和面板可能需要较长时间才能出现。 -切换安装向导选项不会修改正在运行的安装器桌面,也不会在更新模式中更换已有桌面。 - -控制台安装器使用原版 ncursesw,提供与图形向导对应的语言、许可证、安装/更新、 -磁盘、引导、分区、系统选项、账户、确认及完成页面。终端中直接运行 +桌面环境默认选择 IceWM;也可选择 Xfce(实验性)或纯控制台系统。 +桌面软件包在安装时下载;纯控制台不安装图形登录管理器或桌面。 +XDM 的默认会话由 ``/etc/X11/Xsession`` 选择;用户可用可执行的 +``~/.xsession`` 覆盖。切换安装选项不会改变正在运行的安装器桌面。 + +控制台安装器使用 ncursesw,提供与图形向导对应的页面。终端中直接运行 ``installer`` 或 ``installer --text``;图形入口为 ``installer --graphical``。 支持英文、中文和日文,字符显示依赖终端及其字体覆盖。 使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 返回修改,PgUp/PgDn 滚动页面或许可证。界面适配终端大小, -需要至少 60 列、20 行。密码以遮罩显示。GUI 和 TUI 的安装复制与同步、 -以及 TUI 的分区操作均在后台进程中执行;进度通道拥塞时合并进度, -不会阻塞复制,也不会把未完成的后台任务误报为成功。 -进度页保留当前阶段、百分比和活动详情。新建 ext4 根分区在格式化时直接写入 -所选系统文件,写入期间显示已用时间。手动选择 ext3 时继续按文件复制。 -新安装日志为 -``/var/log/installer.log``,系统更新详情日志为 ``/var/log/installer-update.log``。 +需要至少 60 列、20 行。密码以遮罩显示。GUI 和 TUI 在后台执行安装, +进度页显示分区、下载、验签、包事务、配置及引导安装等阶段。 +安装失败时保留错误详情,完整日志位于安装环境的 ``/var/log/installer.log``。 图形向导在语言选择后显示 Apache License 2.0 英文原文,可滚动阅读全文。 该文本直接取自仓库的 ``LICENSE``,中文界面也保留许可证原文。 @@ -109,7 +101,7 @@ F3 继续、F2 返回修改,PgUp/PgDn 滚动页面或许可证。界面适 * 选择 BIOS 时创建 1 MiB 未格式化 BIOS Boot 分区;只选 UEFI 或都不选时省去该分区。 BIOS Boot 不能格式化、挂载或直接占用已有文件系统。 -* 所有方案都创建 128 MiB FAT32 ESP,保存内核、GRUB 配置及所选引导器的资源。 +* 所有方案都创建 512 MiB FAT32 ESP,保存内核、GRUB 配置及所选引导器的资源。 BIOS 引导同样从该 FAT32 分区读取启动资源,不能因为只选 BIOS 而删除它。 * 剩余整 MiB 空间用作 ext4 根分区。 @@ -135,7 +127,7 @@ TUI 分区页提供容量示意条和分区表格,列出设备、容量、文 开始写盘前再次核对原始分区表及文件系统头;磁盘已被其他程序更改时, 拒绝执行过期的方案,需要重新检查和确认。 -格式化前会检查所选载荷需要的空间和 inode。菜单通过 GPT PARTUUID 绑定 +格式化前会根据已解析的软件包估算目标容量,并检查引导分区所需空间。菜单通过 GPT PARTUUID 绑定 根分区;缺失、无效或重复身份应报错,不能以连接顺序替代身份。 完成后正常关机、移除安装介质,再从目标磁盘启动。 @@ -146,11 +138,9 @@ TUI 分区页提供容量示意条和分区表格,列出设备、容量、文 控制器为 AHCI;当前不支持用 NVMe、IDE 或其他存储作为这个 swap 后端。 安装器不会在 Live 或安装器会话中启用目标 swap。 -安装器完整写入并格式化文件,设置 root 所有、权限 0600,再发布 fstab 和 -OpenRC 配置。标准 swap 服务在 localmount 后运行;项目检查服务会核对 -``/proc/swaps`` 中实际出现的 ``/swapfile``,以便发现配置存在但启用失败的 -情况。重启后可检查 ``/proc/swaps`` 以及服务状态。磁盘 I/O 或清理本身失败时, -安装器会报告错误;单文件同步和替换不构成跨文件的断电原子事务。 +安装器完整写入并格式化文件,设置 root 所有、权限 0600,再把交换文件写入 +``/etc/fstab``。systemd 在目标系统启动时激活它;可用 ``swapon --show`` 或 +``systemctl status swapfile.swap`` 检查。若磁盘 I/O 或清理失败,安装器会报告错误。 未选择此项时不会自动启用 swap。手工配置须先准备完全分配、位于支持的 AHCI SATA 设备上的专用文件或未挂载分区,再使用 ``mkswap`` 初始化并通过 @@ -163,7 +153,7 @@ AHCI SATA 设备上的专用文件或未挂载分区,再使用 ``mkswap`` 初 与已有系统共存时选择手动分区,为 ReliefOS 指定单独的根分区。 所选根分区会格式化;已有 FAT32 ESP 默认保留,不要求它达到自动方案的 -128 MiB,但必须有足够剩余空间。只有显式勾选格式化 ESP 才会清除其中的 +512 MiB,但必须有足够剩余空间。只有显式勾选格式化 ESP 才会清除其中的 所有 EFI 文件。TUI 在分区页提供相同的“格式化所选 ESP”选项。 自动分区仍是明确的整盘擦除方案,不是保留其他系统的并列安装。 @@ -171,7 +161,7 @@ AHCI SATA 设备上的专用文件或未挂载分区,再使用 ``mkswap`` 初 ``/efi/reliefos/instances/<根分区 PARTUUID>`` bind 到 ``/boot``。 每个实例有独立的 GRUB 配置、根分区绑定、A/B 内核状态和版本文件; 内核包更新检查实例所有权,拒绝把当前根的内核发布到另一个实例。 -initramfs 在切换真实根之前按 fstab 完成两层挂载。 +systemd 根据目标系统的 fstab 装配这两层挂载。 UEFI 文件位于 ``/EFI/ReliefOS/<根分区 PARTUUID>/grubx64.efi``; 标准厂商入口 ``/EFI/ReliefOS/grubx64.efi`` 指向一个已有安装,其菜单可选择其他实例。 @@ -184,110 +174,20 @@ GRUB 在启动时枚举其他 ReliefOS 实例;UEFI 菜单识别常见的 Windo shim/GRUB 和 systemd-boot 文件,BIOS 菜单支持 Windows 分区引导及其他 系统的 GRUB 配置。其他系统的配置只在用户选择相应条目后执行。 BIOS 安装会替换所选整盘的主引导代码;只需 UEFI 共存时可取消 BIOS。 -旧预制磁盘若没有 ESP 上的 ``core.img`` 副本,更新器会校验 MBR 中的 -GRUB 核心位置及 BIOS Boot 分区内的块列表,识别实际嵌入的引导器。 -新预制镜像同时保存该副本,保持与安装器生成的布局一致。 - -Live 只有一个普通启动项。安装介质保留图形和控制台两个安装入口; -磁盘保留普通启动及高级选项中的日志暂停、关闭内核日志颜色和有效旧内核回退。 -不再展示失效的 debug/autospawn 参数、重复日志条目或同内核副本伪装的回退。 -ISO 优先从固件交接的实际介质加载菜单,Live 与 Installer 的后备标记相互独立。 - -独立磁盘镜像身份 -================ +安装介质保留图形和控制台两个安装入口。磁盘保留普通启动及高级选项中的 +日志暂停、关闭内核日志颜色和有效旧内核回退。 -``IMAGE_INSTANCE_ID``(也可在 menuconfig 中设置 ``DISK_INSTANCE_ID``) -决定预制磁盘的 GPT 磁盘和分区身份,并同步生成 fstab、GRUB 根绑定和查找标记。 -同一输入、同一实例标识保持可重现;需要同时连接的镜像应使用不同标识,例如:: +升级与迁移 +========== - make O=out/desktop-a defconfig - make O=out/desktop-a IMAGE_INSTANCE_ID=desktop-a image-vmdk - make O=out/desktop-b defconfig - make O=out/desktop-b IMAGE_INSTANCE_ID=desktop-b image-vmdk - -逐字节复制一张已有磁盘仍会复制其 UUID,不能把这样的副本当作独立安装同时连接。 -正式安装到不同根分区时使用各自 GPT 身份,不依赖预制镜像的实例标识。 - - -更新已有系统 -============ +旧体系不支持原地转换。先确认用户数据和启动分区均已备份,再使用在线安装器 +全新安装。安装完成后,常规系统更新统一在运行中的新系统通过 +``sudo pacman -Syu`` 进行,不需要重新从安装介质启动。不要只同步仓库数据库 +而不升级已安装的包。请检查 pacman 报告的 ``.pacnew`` 等配置文件变化。 -更新不自动重分区。旧两分区 UEFI 磁盘保持原有布局,缺少 BIOS Boot -空间时增加 BIOS 引导的请求应在写入前失败。先备份用户文件和引导分区, -检查已安装 APK 数据库、信任密钥及所选更新介质。正常关闭已安装系统后, -再从安装介质启动。 -在安装器中选择更新和目标磁盘后,后台协调进程依次只读检查已安装系统、桌面 -类型、软件包数据库、安装介质、引导布局和空间,再验证离线软件包方案。 -每个阶段在独立进程组中执行,界面持续显示当前阶段;慢速读盘期间也能响应 -取消检查。取消后先终止该阶段的所有进程并释放挂载,再返回目标磁盘步骤。 -检查完成后仍留在目标磁盘步骤, -显示检查结果和检测到的 BIOS/UEFI 引导选项;可以先修改选择,再继续到只读摘要。 -摘要列出当前版本、介质版本、根分区、ESP、空间需求和引导方式。核对后点击更新。 -同盘有多个安装时,可在目标磁盘页选择明确的根分区和 ESP;留空 ESP 时读取 -所选根的 fstab,不能简单取磁盘上第一个 ESP。显式选择与该根的 fstab 不一致时 -拒绝更新,避免把引导文件写到其他系统的分区。旧的 ``/boot`` 直接挂载 FAT32 -布局继续兼容,更新不强制改变现有挂载布局。 -旧布局中未能通过所有权验证的现有 EFI 可执行文件及相邻配置会保留, -不会因系统更新而覆盖。兼容命令 ``reliefos-grub-installer`` 现直接转交原生 -CLI,需要明确的 ``--disk``、``--boot-directory`` 和根分区身份; -不再接受无法绑定安装实例的旧式单个 ESP 路径复制操作。 -TTY 入口使用相同的后端,并在显示摘要和引导选项后通过 ``y/N`` 确认。 - -检查过程使用私有 APK 数据库和已安装系统的信任密钥,验证签名索引、完整 -软件包归档以及离线依赖。私有数据库和有大小上限的计划数据临时存放在 -``/run`` tmpfs 中,结束后清理;归档直接从只读安装介质验证和读取, -不把整个仓库复制到内存。检查不修改目标系统。 -空间预算包括介质归档缓存、所有包(含上游依赖)的逐包正增长、最大单包的 -替换空间及保留余量;不提前把尚未删除的包或缩小的文件折算成可用空间。 -确认后的执行会再次核对磁盘、分区 UUID、索引和 -已安装包数据库及 world 选择;目标已经变化时需要重新检查。已被其他路径挂载的分区、 -无法唯一识别的根分区或 ESP,以及早于已安装系统的介质会在写入前被拒绝。 - -确认执行后不再单独重复一次完整检查;包事务在自己的预检通过后执行一次。 -根文件系统使用 APK 更新,保留外部包、world 选择和受保护配置;新默认配置 -可能以 ``.apk-new`` 出现。根事务成功后才发布引导文件。 -离线更新只从安装介质的签名仓库取得新软件包。``world`` 中已有的 -``@testing``、``@alpine`` 等标签在本次事务的私有配置中注册到该仓库, -使已安装的外部软件包可以继续满足依赖,不要求原仓库在线或保留索引缓存。 -原有仓库配置和标签选择保持不变;介质和已安装软件包无法满足的版本约束 -仍会在预检查时拒绝,不会强制忽略依赖。 -更新保留现有 fstab 和 swap 设置,不会自动添加或更改交换文件。 -软件包写入和引导发布期间不能通过界面取消。各阶段使用单调时钟计时:系统 -识别和挂载准备最多 2 分钟,介质检查和现有引导布局检查最多 3 分钟, -引导源检查、恢复和根同步最多 5 分钟,依赖检查最多 15 分钟,包更新最多 -60 分钟,引导发布最多 10 分钟。超时先请求终止,再强制终止整个进程组。 -界面的周期性状态表示协调进程仍在工作,不代表已完成新的文件或软件包。 -如果内核中的 I/O 无法响应终止,协调进程继续持锁并报告等待,不能把仍存活 -的写入进程当作已经退出。 - -更新详情显示软件包和引导操作的实际输出,完整日志位于安装器运行环境的 -``/var/log/installer-update.log``。失败页面保留错误和日志位置,并返回目标磁盘步骤重新检查; -新安装失败后也先返回检查方案,不能把重新进入进度页当作已经获准再次擦盘。 - -更新进度会显示当前的软件包或缓存归档、已处理数量和缓存大小,以及已复用的 -缓存大小。大小按完成比较或发布的整个文件累计,正在复制的文件完成后计入; -包事务中的数量只计入当前包之前已处理的包。缓存归档和签名索引逐字节相同 -时直接复用,内容不同则先写入独立临时文件并校验,再替换原文件。比较或写入 -出错会终止本次更新,日志和失败页保留步骤、文件名及命令退出状态,供重试定位。 - -目标系统的 ``/var/lib/reliefos/installer-update/state`` 持久记录软件包、根同步、 -引导提交和完成阶段,记录通过临时文件、文件同步、原子替换和目录同步发布。 -同一介质的引导提交失败后,重新检查会核对根分区、索引、包数据库和 world, -只有这些身份仍匹配时才跳过已完成的包事务,继续引导提交;软件包阶段失败 -则重新预检并执行包修复。这属于向前修复,不是整个根文件系统的原子回滚。 -旧内核模块 -保留与 A/B 内核发布继续使用共同的原生引导接口。更新期间由独立进程持有 -安装器更新锁,释放目标挂载后才报告完成。阶段及其子命令继承同一把锁, -避免协调进程意外退出后并行启动另一次写入。清理失败会保留工作区并报告错误; -检测到上次遗留的更新挂载时拒绝开始新事务,应保存日志并重启安装环境后重试。 -APK 已记录为损坏的系统包会先通过 -已验证的归档执行定向修复,再执行升级;已有的外部包错误保留并在日志中说明。 - -旧内核包清单中的 ``kerneldebug.sys`` 作为可选历史成员继续校验、保留和恢复, -以支持升级旧安装;新内核包和 ESP 发布不生成该文件。历史成员若损坏或是符号 -链接,仍会拒绝更新,不会跳过内核包完整性检查。 - -单文件原子替换不等于全部包、ESP 和 BIOS 写入的整体断电原子事务。 -回退条目只使用通过完整性检查的匹配内核与 initramfs,不把当前内核的别名当作回退。 +安装新的 ReliefNT 软件包时,pacman 钩子检查引导分区和空间,在包事务后生成 +与该版本匹配的 initramfs 和 GRUB 条目。若引导步骤失败,软件包可能已安装; +先解决报错,再以管理员身份运行 ``reliefos-boot-update / /boot`` 重试。 +需要恢复时,可从 GRUB 选择仍保留的上一版内核。回退内核不会回退其他软件包。 运行验证和未覆盖范围见 :doc:`limitations`。 diff --git a/Documentation/admin-guide/ipv6.rst b/Documentation/admin-guide/ipv6.rst index 37458e36..2f8f3816 100644 --- a/Documentation/admin-guide/ipv6.rst +++ b/Documentation/admin-guide/ipv6.rst @@ -15,8 +15,8 @@ IPv6 网络 ip -6 addr show ip -6 route show - ping6 -c 3 ::1 - ping6 -c 3 fe80::1%eth0 + ping -6 -c 3 ::1 + ping -6 -c 3 fe80::1%eth0 ip -6 addr add 2001:db8:1::20/64 dev eth0 ip -6 route add default via fe80::1 dev eth0 @@ -28,25 +28,20 @@ IPv6 网络 DNS 自动配置 ============ -``reliefos-rdnss`` OpenRC 服务运行 ``rdnssd``,读取路由器通告中的 RDNSS -选项。它检查链路本地路由器来源、hop limit 255、接收接口和完整选项长度, -按通告有效期撤销 DNS,接口禁用时清除该接口的通告缓存。链路本地 DNS -带区域标识,避免将同名地址发到错误的接口。 - -服务只更新 ``/run/reliefos/ra-dns``,现有 ``publish-resolver`` 统一发布 -``/etc/resolv.conf``。自动模式合并 IPv6 RDNSS 与 IPv4 DHCP DNS,去重后 -最多发布三个服务器。显式的自定义 DNS 或 Cloudflare 策略优先,RA 不覆盖 -用户的选择。DNS 搜索后缀的 DNSSL 自动配置尚未提供。 +systemd-networkd 从 IPv6 路由器通告接收 RDNSS 服务器与搜索域, +systemd-resolved 按接口解析域名。默认物理有线配置开启 DHCP 和 +``IPv6AcceptRA=yes``。为接口显式配置 DNS 时,Network Controller +会关闭从 DHCP 和 RA 获取的 DNS。关闭图形界面后,服务继续运行。 .. code-block:: sh - rc-service reliefos-rdnss status - cat /etc/resolv.conf - cat /var/log/rdnssd.log + networkctl status eth0 + resolvectl status + resolvectl query example.org + journalctl -u systemd-networkd -b -当前默认自动地址来自 RA/SLAAC;不自动运行有状态 DHCPv6 地址租约客户端。 -网络控制器的持久化配置页仍管理 IPv4,IPv6 通过标准命令管理。关闭可选的 -网络控制器 GUI 不影响 IPv6 和 RDNSS 服务。 +``/etc/resolv.conf`` 指向 resolved 的运行时 stub 配置。可以通过 +``resolvectl status`` 看到每个接口的实际 DNS 服务器。 排查时分别检查链路、地址、路由、数值地址连通性与 DNS;能 Ping 通不等于 DNS 或 TLS 已成功。实现和 Linux ABI 的边界见 ReliefNT 仓库的 diff --git a/Documentation/admin-guide/kernel-modules.rst b/Documentation/admin-guide/kernel-modules.rst index 8aaae226..02e88353 100644 --- a/Documentation/admin-guide/kernel-modules.rst +++ b/Documentation/admin-guide/kernel-modules.rst @@ -16,7 +16,8 @@ Linux 原版二进制模块或其全部内核内部 API 可直接使用。POSIX export TMPDIR="$PWD/out/tmp" make O=out/modules defconfig make O=out/modules kernel-menuconfig - make O=out/modules -j8 image-vmdk iso installer + make O=out/modules fetch + make O=out/modules -j8 build ``defconfig`` 明确重置 OS 和对应内核的配置,默认生产组件均为内置 ``y``。 在内核菜单中可将有独立生命周期的部件改为 ``m``;调度、内存、模块加载器 @@ -31,11 +32,11 @@ Linux 原版二进制模块或其全部内核内部 API 可直接使用。POSIX 启动与自动加载 ============== -GRUB 同时加载内核和薄 newc initramfs。``/init`` 挂载 proc/sys/dev,使用 -真实 BusyBox modprobe 加载根控制器和文件系统,再根据 ``root=`` 挂载真实根 -并 switch_root。Live/Installer 的大根镜像是独立的内存块设备,不能替代 -initramfs。普通 OpenRC 模块服务先于音频、网络和 Xorg;PCI 设备通过 sysfs -modalias 选择模块,平台模块来自当前内核版本的生成清单。 +GRUB 使用 Multiboot2 加载内核和 dracut 生成的未压缩 CPIO。 +常规启动优先挂载指定 PARTUUID 的 ext4 根。需要模块才能访问根设备时, +dracut 通过 kmod 加载模块并切换到真实根。进入系统后, +``systemd-modules-load.service`` 读取当前 release 的平台模块清单, +udev 根据 PCI 设备的 sysfs modalias 自动加载匹配模块。 管理员可使用 ``/etc/modules-load.d/*.conf`` 和 ``/etc/modprobe.d/*.conf``。 同名配置的覆盖、屏蔽、blacklist 和参数由实际模块工具与加载策略处理。 @@ -52,7 +53,7 @@ modalias 选择模块,平台模块来自当前内核版本的生成清单。 sudo modprobe module_name sudo modprobe -r module_name -模块安装在 ``/lib/modules//``。modprobe 读取目标兼容 depmod +模块安装在 ``/usr/lib/modules//``。modprobe 读取目标兼容 depmod 生成的依赖、别名和内置数据库;内置模块的 modprobe 是有效的空操作。 修改内核模块需要内核检查的 ``CAP_SYS_MODULE``,仅在 UI 中获得管理员 身份不能绕过该检查。错误版本、未解析符号和损坏 ELF 必须明确失败。 @@ -70,14 +71,22 @@ modalias 选择模块,平台模块来自当前内核版本的生成清单。 更新后的候选内核只有一次自动试启动机会。选择器在真正启动菜单项时,先 通过上游 GRUB ``save_env`` 在预分配的状态文件中消耗这次机会;写入失败 -会拒绝候选内核并保留已确认版本。候选启动后,默认运行级的 -``reliefos-boot-confirm`` 服务调用原生静态工具,核对运行内核、启动参数中的 +会拒绝候选内核并保留已确认版本。候选启动后,systemd 的 +``reliefos-boot-confirm`` 服务调用引导核对工具,核对运行内核、启动参数中的 A/B 槽位、发布代数和 initramfs 摘要,以及完整的已安装载荷,才确认本次启动。 同一 ``uname -r`` 下不同 initramfs 不能互相代为确认。 +确认期间持有 POSIX 更新锁,每份 ESP 内核及 initramfs 只读取并校验一次, +随后依据有效槽位的发布代数判定最新版本。 + +确认工具也可从根文件系统的 +``/.reliefos/kernel-bundles//`` 读取完整载荷, +并按运行版本和启动参数中的 initramfs 摘要选择目录。载荷必须通过完整性校验, +且其内核、模块 ABI 与启动记录一致。可使用 ``reliefos-mkbundle --persist`` 生成持久 +载荷。pacman 的更新钩子使用这一持久载荷。 若候选内核 panic、被复位或在确认前中断,下次启动自动选择保留的已确认槽位。 -此机制不主动复位已挂起的机器,也不回滚用户态 APK;它只在下一次启动时回退 -内核及 initramfs。达到默认运行级的核心服务启动顺序是确认边界,不代表所有 +此机制不主动复位已挂起的机器,也不回滚用户态 pacman 事务;它只在下一次启动时回退 +内核及 initramfs。达到 multi-user.target 的核心服务启动顺序是确认边界,不代表所有 桌面应用、网络服务或外设都经过健康检查。再次发布不同候选版本时,原生发布器 会覆盖未确认槽位,继续保留最后一个已确认版本。相同候选的重试发布是幂等的, 不会暗中重置已经消耗的试启动次数。 @@ -86,9 +95,13 @@ A/B 槽位、发布代数和 initramfs 摘要,以及完整的已安装载荷 /usr/libexec/reliefos/kernel-bundle --boot-status / /boot -健康记录绑定到不可变选择记录的发布代数;迁移标记存在后,缺失、损坏或旧代数 -的健康记录不会被当作启动成功。已有安装必须先通过匹配安装器更新引导资源, -再使用新在线更新器;日常更新不直接替换正在使用的 BIOS/EFI 加载器。 +Arch/systemd 系统由 ``reliefos-boot`` 包提供并在根文件系统装配时启用 +``reliefos-boot-confirm.service``。该服务在 ``multi-user.target`` 完成后运行, +等待 ``/boot`` 挂载,并要求它是独立挂载点。确认命令失败时服务进入失败状态, +候选版本保持未确认。管理员可以在修复启动分区问题后重新启动该服务。 + +健康记录绑定到不可变选择记录的发布代数。缺失、损坏或旧代数的健康记录 +不会被当作启动成功。日常包更新保留正在使用的 BIOS/EFI 加载器。 故障模型包括任一步写入/同步失败、未同步数据或目录条目丢失,以及非当前 选择记录撕裂。同步成功的数据被设备丢弃、任意 FAT 元数据损坏,以及更新 @@ -99,9 +112,9 @@ QEMU、VMware 和真实硬件的运行证据分别记录,不能互相替代。 GRUB 中检查摘要参数、成对载荷和回退选择:: TMPDIR="$PWD/out/tmp" python3 tools/test_kernel_slots_qemu.py \ - --stage out/x86_64/release --output out/grub-slot-check + --stage out/arch-root/x86_64/release --output out/grub-slot-check -先在同一 ``--stage`` 构建 ``grub-host grub-efi``,输出目录必须尚不存在。 +先对同一输出运行 ``make build``,输出目录必须尚不存在。 GRUB 的本地补丁为上游 ``hashsum`` 增加单文件 ``--expected`` 比对;选择器 独立验证内核和 initramfs 的实际字节,避免把缺项校验清单当作载荷验证。 升级内核包不替换固件加载器;更新此选择器时,必须同时安装同版 BIOS/EFI diff --git a/Documentation/admin-guide/limitations.rst b/Documentation/admin-guide/limitations.rst index 11476dce..fb533743 100644 --- a/Documentation/admin-guide/limitations.rst +++ b/Documentation/admin-guide/limitations.rst @@ -7,7 +7,6 @@ 必须分别报告源码检查、编译、镜像打包、实际运行。历史单项成功不代表 本次源码、全部应用或完整安装升级路径成功。VMware 验证未完成;物理硬件未验证。 -本次文档重组不修改这些运行状态,也不等于新一轮硬件验收。 运行限制 ======== @@ -29,12 +28,10 @@ 测试基线 ======== -历史 soundctl APK 归属缺失已在当前策略中补齐;APK 归属测试同时覆盖 -Python 3.10 与严格宿主 umask 的场景。驱动 ABI 保留 168 字节原始前缀, +驱动 ABI 保留 168 字节原始前缀, 版本 2 的 17 个追加服务字段通过单独夹具校验,总长为 304 字节; 原始 golden 未重生成,旧版本驱动描述符在 init 前拒绝。 音频支持清单检查验证声明的前提、证据和范围,不再固定要求所有运行标志 -为未验证。音频产品检查仍需要实际构建产物;部分旧 fixture 及完整系统的 -既有问题仍须单独复验,不宣称公开总测试全部通过。 +为未验证。音频产品检查仍需要实际构建产物;完整系统的既有问题仍须单独复验。 Linux/POSIX 定向测试通过不能视为全量兼容认证;完整本机自举也未完成。 报告失败时保留原始命令、配置、返回码和日志,不能放宽断言后宣称通过。 diff --git a/Documentation/admin-guide/network-controller.rst b/Documentation/admin-guide/network-controller.rst index 4830b37a..eb73e247 100644 --- a/Documentation/admin-guide/network-controller.rst +++ b/Documentation/admin-guide/network-controller.rst @@ -1,73 +1,32 @@ -================== +====================== Network Controller -================== +====================== -网络控制器是使用 C++ 和 FLTK 编写的原生 X11 应用,启动命令为 -``network-controller``。支持中文,入口位于系统应用菜单;默认包含在 Xorg 镜像中。 -普通用户选择 sudo 密码或 root 密码解锁受限工作进程,GUI 保持原用户身份。 -root 账户直接进入。密码不保存在命令参数、环境变量、文件或日志中。 +从桌面菜单打开 Network Controller,或运行 ``network-controller``。 +界面按接口显示链路、地址、路由和流量,提供配置、DHCP 续租、DNS 查询和 +诊断输出。默认由 systemd-networkd 管理有线网络,由 systemd-resolved 提供 DNS。 -查看与诊断 -========== - -左侧按实际接口查询结果列出网卡。“概览”显示 IPv4、掩码、网关、MAC、MTU、 -解析器。自动刷新只更新状态,不覆盖未保存的配置。若系统导出标准接口计数,则 -同时显示收发总量、速率、包数及错误;当前内核尚未导出这些计数,界面明确提示 -并隐藏该组字段,不把缺失数据显示为零。网关和连接信息使用已有公开网络查询接口。 +每个接口可选择自动(DHCP)、静态 IPv4 或禁用。静态配置需要 IPv4 地址及 +前缀,可指定网关。DNS 可由网络自动获得,或使用 Cloudflare 或自定义 DNS。 +自定义 DNS 会关闭该接口通过 DHCP 和 IPv6 路由器通告获取的 DNS。 +其他接口的配置仍由各自的 systemd 文件决定。 -“诊断工具”提供 Ping、DNS 查询、TCP 端口测试和 IPv4 子网计算。工具菜单提供 -有效路由、TCP 连接、DHCP 租约、解析器、DHCP 日志和诊断报告。诊断命令 -异步执行,支持取消、超时与关闭清理;结果在“输出”中保留,可复制或导出。 -TCP 连接建立不代表 TLS 校验或目标应用健康;DNS、端口与 Ping 的失败各自报告。 - -配置与迁移 +保存与应用 ========== -左侧选择实际枚举的以太网接口并分别编辑;切换网卡前会提示丢弃未保存的修改。 -没有 IPv4 地址或处于禁用状态的网卡也会显示。支持自动 -DHCP、静态 IPv4 和禁用;静态模式可以不设置默认网关,DNS 必须明确选择 -自定义或 Cloudflare。自定义 DNS 最多三个 IPv4 地址,以空格分隔。 - -eth0 继续使用 ``/etc/reliefos/network.conf``;其他接口使用 -``/etc/reliefos/network.d/<接口名>.conf``。未设置的接口默认使用 DHCP。 -配置是版本化数据,不作为 shell 脚本执行。静态地址、前缀、网关和 DNS 在 GUI、 -工作进程及启动链分别验证,接口名必须对应已枚举的 ``eth`` 加十进制编号。 -文件目录和配置必须由 root 所有,不能由组或其他用户写入,不能使用符号链接 -替代配置文件或目录。保存检查外部变动,并通过临时文件、同步与 rename 原子 -替换;各接口各自保留 ``.bak`` 备份。“恢复上次配置”也检查当前快照,不能 -绕过冲突检查。 -原先没有配置文件的状态可以恢复为缺省状态。 - -旧的 DNS-only ``network.conf`` 保持可读;旧 udhcpc DNS 策略在迁移前继续生效。 -第一次保存写入完整的新格式并备份旧文件,恢复旧备份后仍能通过原链路启动。 -升级时保留本地 ``/etc`` 配置,不要求手动删除旧文件。 -版本化 profile 生效后,旧 DNS 写入 API 返回 ``EBUSY``,调用方应通过本程序或 -编辑 profile 后重启网络服务调整策略;不会在解析器忽略旧文件时谎报设置成功。 -未迁移的旧配置继续支持旧 API。 - -``reliefos-dhcp`` OpenRC 服务启动时从 ``/proc/net/dev`` 枚举全部以太网卡, -逐卡设置静态/禁用状态或启动各自的 ``supervise-daemon`` 和 DHCP 客户端。 -停止或应用某卡时先停其监督器,再校验客户端 PID 及接口参数并等待退出, -然后仅清理该卡地址、默认路由和租约;不会根据刚保存的新模式漏停旧客户端。 -eth0 保留原有 ``/run/reliefos/udhcpc.pid``、``dhcp-lease`` 和 ``dhcp-dns`` -路径,其他接口的运行状态带接口名后缀。``network-profile`` 独立于可选 GUI, -关闭 GUI 组件不影响基础网络启动。 - -DNS 解析器由 ``publish-resolver`` 全系统共享并串行发布。先按内核枚举顺序 -收集未禁用且未停止接口的显式自定义/Cloudflare 服务器,再收集 eth0 的自动 RDNSS -(仅 eth0 为自动 DNS 时),最后按同一顺序收集自动 DHCP 租约;去重后发布最多 -三个地址,多余地址保留在各自租约缓存中。某接口的释放、续租或停用不会删除 -其他接口的 DNS 状态。单独 eth0 的旧 DNS-only 和固定 DNS 行为保持兼容。 +管理员授权后,界面为该接口保存 +``/etc/systemd/network/20-reliefos-<接口>.network``,再调用 +``networkctl reload`` 和 ``networkctl reconfigure``。修改结果及系统命令 +的错误会显示在界面。DHCP 续租使用 ``networkctl renew``,只用于自动地址模式。 +未单独配置的物理有线接口由发行版提供的 ``89-reliefos-wired.network`` 处理。 -“仅保存”更改持久化策略,供随后服务重启、DHCP 更新或下次启动读取; -“保存并应用”只重新配置选中的接口,可能中断该接口的连接;如果整个服务 -已停止,则由 OpenRC 启动服务并配置全部接口。应用失败时已保存的文件 -仍保留,程序显示失败和输出,可修正或恢复备份;不能将保存成功等同于联网成功。 +管理员也可直接检查 live 状态:: -边界 -==== + networkctl status + networkctl status eth0 + resolvectl status + resolvectl query example.org + journalctl -u systemd-networkd -b -当前 GUI 不提供 IPv6 持久化配置;系统的 IPv6/SLAAC、RDNSS 与命令行配置见 -:doc:`ipv6`。此 GUI 也不提供 Wi-Fi、VPN、桥接、VLAN、任意静态路由管理或改变内核固定的 -MTU。不能将单条 TCP 连接的字节计数冒充网卡总流量。不支持的能力不会显示成已生效。以太网链路能力取决于当前内核和驱动。 -QEMU 运行验证与 VMware 实机验证分别记录;VMware 验证未完成。 +``eth0`` 应换成实际接口名。静态配置或断开网卡前,确认远程会话是否依赖该接口。 +IPv6 和 DNS 自动配置见 :doc:`ipv6`。 diff --git a/Documentation/admin-guide/openrc-controller.rst b/Documentation/admin-guide/openrc-controller.rst deleted file mode 100644 index 63a8c613..00000000 --- a/Documentation/admin-guide/openrc-controller.rst +++ /dev/null @@ -1,78 +0,0 @@ -================= -OpenRC Controller -================= - -在系统应用菜单中打开“OpenRC 控制器”,或运行 ``openrc-controller``。 -程序使用 C++、FLTK 原生 gtk+ 控件和系统中文翻译,不属于 Office 分组。 - -权限与会话 -========== - -root 账户直接进入。普通用户进入前选择 sudo 当前用户密码或 root 账户密码; -取消认证会退出程序。sudo 方式仍要求账户具有 sudo 权限,例如属于 wheel 组。 -密码不保存,输入期间关闭输入法,认证后清除内存缓冲区。 - -图形界面保持启动用户身份;固定路径 -``/usr/lib/reliefos/apps/openrc-controller/openrc-controller.elf --worker`` -作为受限 root 工作进程,处理校验过的服务、运行级别与配置请求。 -会话仅存在于本次应用运行期间,断开后需重新打开并认证。 -sudoers 对该工作程序禁用 ``use_pty``,以保持二进制通信和 EOF 语义; -这条规则不会授予新的 sudo 权限,也不免除密码认证。 - -服务与运行级别 -============== - -服务表显示真实 OpenRC 状态、直接加入的运行级别和可用的运行时间。 -左侧提供状态及运行级别筛选,上方可搜索,单击列标题排序。 -Ctrl 或 Shift 多选,工具栏提供启动、停止、重启、重载、启用与停用。 - -“启用/停用”对应 ``rc-update add/del``,改变启动配置; -“启动/停止”改变当前运行状态。它们是独立的操作。 -批量请求按顺序执行,失败会停止后续请求,实际输出保留在“输出”页。 -外部服务命令最长允许 180 秒,界面异步显示输出;取消或关闭可能留下过渡状态, -应先查看服务状态,再决定是否使用高级操作中的 ``zap``。 -``zap`` 仅重置 OpenRC 记录,不会停止实际进程。 -配置保存会完成当前原子提交,再处理取消或退出请求。 - -高级操作可以指定服务公布的自定义命令,选择模拟执行、条件执行、 -忽略依赖或调试模式。每个参数独立传递,不拼接 shell 命令。 -依赖页支持需要、使用、希望、排序及反向依赖类型。 - -运行级别菜单支持创建自定义级别、添加/删除成员、堆叠/取消堆叠、 -删除空且未使用的自定义级别,以及切换普通运行级别。 -切换时可以选择仅启动目标服务,或完整切换。 -完整切换可能停止网络和桌面需要的服务;程序不直接调用 -``sysinit``、``boot``、``single``、``shutdown`` 或 ``reboot`` 等特殊级别。 -“所有运行级别状态”显示上游 OpenRC 对堆叠和动态服务的原始解释。 - -配置与工具 -========== - -可以编辑 ``/etc/conf.d/<服务>`` 和全局 ``/etc/rc.conf``。 -保存保留原始文本、权限与所有者,检测外部修改,先生成 -``.openrc-controller.bak``,再原子替换并同步。 -符号链接、非普通文件、不安全权限及大于 256 KiB 的配置会被拒绝。 -恢复备份前同样检查冲突,恢复时把现存内容保存成新的备份; -文件已删除时,按备份的所有者和权限重建,不放宽私有文件的权限。 -修改配置后是否需要重启服务由相应服务决定,程序不会隐式重启它。 - -工具菜单提供手动启动、未分配、崩溃及受监督服务查询,依赖缓存重建, -OpenRC/启动/系统日志查看,以及诊断报告和文本导出。 -日志只读取已存在的常用文件,并显示最后至多 256 KiB; -文件不存在时请检查 ``rc_logger`` 或系统日志服务配置。 -工具原始输出保留 OpenRC 的术语,界面和操作提示支持中文。 - -构建与验证 -========== - -组件为 ``APP_OPENRC_CONTROLLER``,默认构建、打包和提供桌面入口。 -使用正常 Kbuild 入口:: - - TMPDIR="$PWD/out/tmp" make O=out/xorg-debug PROFILE=debug -j4 app-openrc-controller nls image-vmdk - TMPDIR="$PWD/out/tmp" make O=out/xorg-debug PROFILE=debug test-openrc-controller - -宿主测试在私有 user namespace 和 chroot 中运行测试命令,不操作宿主 OpenRC。 -完整系统验收脚本为 ``tools/test_openrc_controller_qemu.py``,使用私有镜像和服务夹具; -保留构建产物哈希、原始输出、截图和操作证据;默认退出私有来宾, -加 ``--keep-running`` 可继续进行手动图形界面检查。 -VMware 验证未完成。 diff --git a/Documentation/admin-guide/packages.rst b/Documentation/admin-guide/packages.rst index 190ccf52..b2209840 100644 --- a/Documentation/admin-guide/packages.rst +++ b/Documentation/admin-guide/packages.rst @@ -1,111 +1,60 @@ -============ -软件包与证书 -============ +==================== +软件包与仓库 +==================== -命令行 -====== +pacman 管理 Arch 官方仓库的基础系统、工具、开发库和桌面依赖,以及 ReliefOS +软件仓库(RPR)中的自研程序、运行库、paru 和内核。系统的包配置保存在 +``/etc/pacman.conf``,Arch 镜像列表在 ``/etc/pacman.d/mirrorlist``。 +本机已安装包数据库在 ``/var/lib/pacman/local``。 -系统使用真实的上游 apk 命令、数据库、签名和依赖关系。 -只读查询无需把桌面作为 root 启动;修改系统包通常需要管理员权限。 -在 ReliefOS 终端中可使用:: +新安装默认优先使用清华大学 TUNA 镜像访问 Arch 官方仓库,Arch 地理镜像作为备用。 +更新软件包不会覆盖现有镜像选择;已有系统如需切换,可把 +``/usr/share/reliefos/pacman/mirrorlist`` 的清华源条目放到 +``/etc/pacman.d/mirrorlist`` 的首位,然后执行完整升级。 - apk info - apk info --who-owns /usr/bin/fastfetch - sudo apk update - sudo apk add gcc make - sudo apk del package-name - -软件源位于 ``/etc/apk/repositories``,world 和公钥按 apk 的标准路径管理。 -不要为解决包冲突删除仍在使用的 libc、认证或基础包,也不要关闭签名验证。 -外部软件存在 Linux ABI 依赖,安装成功不代表全部功能已验证。 - -基础命令由完整的 ``reliefos-coreutils`` GNU 包与 BusyBox 按路径分工提供。 -同名外部命令使用 GNU 入口,旧路径由 APK 管理并转发;详情与验收方法见 -:doc:`coreutils`。 - -基础依赖 -======== - -sl、ncurses、zlib、libpng、SQLite、mbedTLS 3 由签名 Alpine APK 提供。 -系统直接请求官方命令、终端工具/数据和 SQLite 命令/运行库,不再生成本地包装包。 -文件所有权可通过 -``apk info --who-owns /usr/bin/sl``、``/usr/bin/tput``、``/usr/lib/libsqlite3.so.0`` 查询。 -离线更新器在预检时将旧包装包的 world 请求转换为官方包,保留其他包和配置; -正式事务自动卸载旧包,完成后清除离线缓存中的旧包装包归档。 -新的自有包使用第 7 代版本前缀,保证从第 2、3、4、5、6 代包按正常版本顺序升级。 -旧的 ``sqlite.so.3`` ABI 已移除。 -依赖旧自定义 SQLite VFS 或厂商内部符号的外部程序需要重新编译。 - -libmd 1.3.0、libbsd 运行库,以及 dosfstools、e2fsprogs 工具及其配套运行库和文档, -均直接使用锁定的官方 Alpine APK。 -ext2/3/4 和 FAT 工具保留官方 ``/sbin`` 路径,旧 ``/usr/sbin`` 入口由兼容链接转发。 -libmd 保留官方 ``/usr/lib`` 路径,旧 ``/lib`` 入口由本地认证支持包中的单向链接转发。 -本地文件系统包继续提供 exfatprogs;兼容包通过真实 APK 依赖安装官方库和工具, -升级时同时转移旧文件的所有权,不强制覆盖。 -shadow 构建使用独立提取的 libbsd 和 libmd 开发文件,运行镜像不包含 libmd 的头文件、 -静态库和 pkg-config 文件,也不把 Alpine 的 Linux 头文件混入 SDK。 - -util-linux 2.42.4 的命令、运行库和手册由锁定的官方 Alpine edge APK 提供。 -分区和文件系统工具保留官方 ``/sbin`` 路径,mount、umount、lsblk 保留 ``/bin`` 路径; -旧入口通过单向兼容链接转发。exfatprogs 的开发依赖从官方 APK 单独提取,运行镜像不包含 -这份开发根。现有 shadow login、newgrp、nologin 和 PAM 策略由本地认证包明确接管重叠文件, -官方包保留 su、runuser 的文件归属和权限。 - -liblastlog2 依赖 SQLite 运行库,因此桌面和控制台基础系统均保留 sqlite-libs; -SQLite 命令仍由组件开关控制。 - -官方 lsblk 2.42.4-r3 的直接探测路径未请求文件系统版本,因此 ``FSVER`` 列可能为空。 -本版保留该原版行为;读取真实版本可使用:: - - sudo blkid -p -s VERSION -o value /dev/sda2 - -RPR 本地发布树继续包含完整的签名索引、原始上游 APK 和自有包,构建 -``rpr-pages`` 不等于部署到线上。运行库因新增 ELF NEEDED 而得到真实 APK -依赖,不能只复制新的 ``libreliefos.so.2`` 而遗漏配套库。 +查询和安装 +========== -内核与模块更新 -============== +.. code-block:: sh -``reliefos-kernel`` APK 同时拥有版本化的内核、initramfs、模块树和校验清单。 -``reliefos-grub`` 提供静态引导维护工具和标准 APK commit hook;内核包依赖 -同一包版本的引导工具,包脚本调用共同的完整载荷发布接口。 -不要手工替换 ESP 上的单个 ``kernel.sys``,或把其他内核的模块复制到当前目录。 + pacman -Q + pacman -Ss gcc + pacman -Qo /usr/bin/ls + sudo pacman -S gcc make + sudo pacman -R package-name + sudo pacman -Syu -在线整机更新使用原生客户端:: +如果需要先刷新仓库索引,应使用完整的 ``pacman -Syu``。 +升级准备与启动文件故障恢复见 :doc:`system-updates`。 - sudo reliefos-update prepare - sudo reliefos-update apply --plan <计划 ID> - sudo reliefos-update status +RPR 与签名 +========== -命令行和 ReliefAPK 的“升级系统”共享相同的持久计划、签名索引、依赖解析、 -缓存和提交检查。更新包括已安装的系统包、上游依赖与应用;保留 world 中的 -版本和仓库标签约束,提交阶段不重新从移动的软件源选择版本。 +``/etc/pacman.d/reliefos-rpr.conf`` 定义 ``[rpr]``,要求软件包和数据库均通过可信签名 +验证。系统首次启动时由 ``reliefos-pacman-init.service`` 初始化信任。Arch 官方 +包使用 Arch 密钥环。开发快照的指纹需由独立可信渠道核对,构建和初始化方法见 +:doc:`../kbuild/building`。 -内核更新必须同时校验内核、initramfs、模块 ABI 和完整清单,再发布 A/B -引导记录。客户端使用已安装的信任密钥,不从网络自动导入新的公钥。 -旧安装缺少匹配的稳定 GRUB 和启动确认资源时,应先通过安装介质完成迁移。 +RPR 页面显示生成所选快照时的 Git 短提交号,链接指向完整提交。 +未记录提交的旧快照不会显示当前源码的提交号。 -更新中断后使用 ``sudo reliefos-update status`` 检查阶段,并通过 ``resume`` 或 -``repair`` 显式恢复。用户态包原地更新;内核回退不能代替整个系统快照。 -完整操作、缓存与空间要求、启动确认和失败处理见 :doc:`system-updates`。 -模块配置与日常管理见 :doc:`kernel-modules`。 +``libreliefos`` 同时提供共享库和应用开发头文件。 +``reliefos-kernel`` 依赖一个具有特定 release 和 ABI 的内核包。 +该内核包拥有 ``/usr/lib/modules//`` 下的内核与模块文件。 +``reliefos-boot`` 提供 dracut 和 GRUB 更新工具、钩子及启动确认服务。 -ReliefAPK -========= +ReliefPackages 与 AUR +===================== -ReliefAPK 是 apk 的原生 C++/FLTK 前端,提供包查询、安装、删除、升级、 -修复及仓库配置等入口。应用修改前先审阅计划和输出;长任务在子进程执行。 -普通用户可在程序内通过已有 sudo/root 认证流程执行特权事务。 -取消、认证失败或 apk 失败必须保留明确状态,不能把退出码或空输出当成成功。 +从桌面菜单打开 ReliefPackages,或运行 ``reliefpackages``。应用通过 libalpm +查询本地和同步数据库,通过 polkit 授权执行 pacman 的安装、删除和升级事务。 +更新入口与软件包管理共用同一套数据库和事务锁。界面显示 pacman 的输出, +并报告启动钩子失败或需要人工合并的配置文件。 -信任与更新 -========== +需要 AUR 软件时,先安装工具链并用普通用户运行 paru:: -自建系统的签名私钥保存在宿主用户目录,不属于发行内容。升级要沿用目标 -系统已信任的公钥;更换密钥需要独立、经认证的轮换流程,不能从更新介质自动信任。 + sudo pacman -Syu --needed base-devel + paru -S package-name -ReliefMail 的证书修复通过 ReliefAPK 预览并更新 ``ca-certificates`` 和 -``ca-certificates-bundle``。损坏的安全常规文件可先备份并恢复出厂 CA; -修复仍须检查签名、TLS、权限和最终证书内容。不要关闭域名、有效期或证书链验证。 -生成目录 ``/etc/ssl/certs`` 与管理员自定义源、apk 保护规则需人工协调。 -细节见 :doc:`../applications/reliefmail`。 +paru 由 RPR 签名发布,并随 pacman 更新。检查 AUR 包的 PKGBUILD、来源与 +构建步骤。paru 在普通用户身份下运行第三方构建,只在执行实际安装事务时提权。 diff --git a/Documentation/admin-guide/reliefsettings.rst b/Documentation/admin-guide/reliefsettings.rst index 67490fa4..888c33f1 100644 --- a/Documentation/admin-guide/reliefsettings.rst +++ b/Documentation/admin-guide/reliefsettings.rst @@ -47,23 +47,19 @@ XKB_VARIANT 记录 XKB 规则中的布局、变体标识。DISPLAY 行由空格 ================== 时区列表来自 IANA tzdata 的 ``/usr/share/zoneinfo/zone.tab``,可输入城市或 -区域名称筛选。应用通过临时符号链接及原子重命名更新 ``/etc/localtime``, -指向已安装的 TZif 文件。系统时钟本身不受影响。新的进程使用新时区, +区域名称筛选。系统时钟本身不受影响。新的进程使用新时区, 已有进程的缓存更新时间由其 C 库与应用决定。 -普通用户修改时区时由上游 sudo 与 ReliefAskpass 完成认证,设置中心执行 -固定的 ``--set-timezone`` 辅助入口。该入口要求有效 UID 为 root,只接受 -时区标识,目标目录固定为 ``/etc`` 与 ``/usr/share/zoneinfo``。 +设置中心调用 ``timedatectl set-timezone``,由 systemd-timedated 通过 polkit 授权。 +工具使用已安装的 IANA 时区标识,更新系统的 ``/etc/localtime``。 -网络和服务页启动已安装的 Network Controller 与 OpenRC Controller, +网络和服务页启动已安装的 Network Controller 与 Service Controller, 各管理器负责自己的认证和操作。相应组件未安装时入口禁用。 构建配置 ======== -``APP_RELIEFSETTINGS`` 组件默认启用,可分别控制构建、镜像成员和入口。 -原版 xrandr、setxkbmap 通过 Xorg APK 集合安装,tzdata 通过基础 APK 集合 -安装。其下载身份固定在依赖锁中。 - -``make app-reliefsettings nls`` 构建应用与翻译。定向配置测试为 +设置中心由 RPR 的 ``reliefos-settings`` 包提供。 +显示、键盘和时区所需的工具来自 Arch 软件包。 +``make userland`` 构建应用及翻译,定向配置测试为 ``sh tests/build/test-reliefsettings.sh``。 diff --git a/Documentation/admin-guide/service-controller.rst b/Documentation/admin-guide/service-controller.rst new file mode 100644 index 00000000..c4e11264 --- /dev/null +++ b/Documentation/admin-guide/service-controller.rst @@ -0,0 +1,21 @@ +================== +Service Controller +================== + +从系统应用菜单打开 Service Controller,或运行 ``service-controller``。 +它通过 ``systemctl`` 查询 systemd 系统服务,显示单元的启动配置与当前运行状态。 +选中服务后可查看详细状态,也可通过 ``journalctl`` 读取最近的日志。 +日志可见范围遵循当前用户的系统权限。 + +“启动”“停止”和“重启”改变当前服务状态。“启用”“禁用”调整单元文件 +的开机启动配置。修改系统服务时由 systemd 通过 polkit 请求授权, +界面显示命令的实际输出和结果。 + +从终端查看相同的服务与日志:: + + systemctl list-units --all --type=service + systemctl list-unit-files --type=service + systemctl status systemd-networkd.service + journalctl -u systemd-networkd.service -b + +服务控制器由 RPR 的 ``reliefos-service-controller`` 包提供。 diff --git a/Documentation/admin-guide/system-updates.rst b/Documentation/admin-guide/system-updates.rst index 3afa03ce..a939924b 100644 --- a/Documentation/admin-guide/system-updates.rst +++ b/Documentation/admin-guide/system-updates.rst @@ -1,135 +1,49 @@ -============ -在线系统更新 -============ - -``reliefos-update`` 是原生 C 客户端。命令行与 ReliefAPK 的“升级系统”共用 -同一套准备、校验、提交和恢复流程。更新范围包括已安装的 ReliefOS 软件包、 -上游依赖及应用;普通软件包的查询、单独安装和删除仍使用 APK。 - -更新器调用真实的 APK 签名验证、依赖求解器、软件包数据库和提交钩子, -不维护平行的包管理数据库,也不通过 Shell 脚本拼接安装命令。 -外部软件仍可能依赖尚未实现的 Linux ABI;包升级成功不代表应用运行验证通过。 - -日常操作 -======== - -先准备更新,再审阅准备结果,最后应用同一个计划:: - - sudo reliefos-update prepare - sudo reliefos-update apply --plan - sudo reliefos-update status - -准备过程会联网、验证签名并写入持久缓存,因此需要管理员权限。 -计划 ID 是 64 位小写十六进制字符串,只标识本机已经准备好的计划, -不能用网络 URL、任意路径或另一个系统的计划代替。 -准备完成不会安装软件包。取消准备或下载失败不会把部分下载当成可安装的软件包。 -状态目录仅管理员可读,查询状态也应使用 ``sudo``。 - -ReliefAPK 的“升级系统”先调用同一客户端准备计划,再在用户确认后应用该计划。 -普通桌面会话不必以 root 启动,特权步骤沿用系统的 sudo/root 认证机制。 -准备阶段可以取消;进入 APK 提交后应等待明确的完成或失败状态。 - -软件源和信任 -============ - -软件源沿用 APK 的 ``/etc/apk/repositories`` 及其标准配置目录。 -客户端冻结当次使用的源配置、签名索引和信任密钥;保留 world 中的版本限制、 -仓库标签及管理员的软件源策略。提交阶段只消费本机准备好的索引和归档, -不重新访问更新后的网站,也不临时选择另一个版本。 +================== +系统更新与启动恢复 +================== -生产系统的软件源使用 HTTPS,不能通过关闭 TLS、主机名或包签名验证解决更新错误。 -RPR 地址由 ``/etc/reliefos/rpr.conf`` 指定。仓库连通性、索引校验和完整更新 -准备是不同的检查:健康探测成功不表示依赖闭包或全部归档可用。 +安装后的系统通过同一套 pacman 数据库和签名策略滚动更新。 +要同时升级 Arch、RPR 和 AUR 软件包,请以有权运行 pacman 的普通用户执行:: -信任公钥来自系统已经安装的 ``/etc/apk/keys``。 -配置软件源不会从该源下载并覆盖本地信任公钥;新增或轮换密钥需要独立认证。 -管理员修改软件源、密钥、world 或 APK 数据库后,旧计划不能继续提交, -需要重新准备并审阅计划。 + reliefos-update -持久状态和空间 -============== +该命令运行 ``paru -Syu``。不要用 ``sudo`` 启动它;AUR 软件包由普通用户构建, +paru 仅在需要执行 pacman 事务时请求授权。首次构建 AUR 软件包所需的工具见 +:doc:`packages`。仅升级 Arch 和 RPR 软件包时,可执行 ``sudo pacman -Syu``, +或从桌面系统菜单打开“系统更新”。 -计划及状态位于 ``/var/lib/reliefos/update``,每个计划有独立缓存和验证记录。 -不要手工删除正在准备、提交或等待修复的计划。下载成功的完整归档可以在恢复时复用; -不完整或校验失败的归档不能作为已验证缓存使用。 +pacman 串行执行有写入的事务。升级前确认联网、软件包与启动分区空间。 +软件源和签名策略见 :doc:`packages`。如果 pacman 生成 ``.pacnew`` +或 ``.pacsave``,检查事务输出和本机配置,逐项合并需要保留的变更。 -准备过程检查下载与展开所需空间;内核更新还需要根文件系统及 ESP 的可用空间。 -已有内核保留副本、用户模块和管理员文件不会为了腾空间被批量删除。 -历史内核和失败计划的空间占用应结合客户端状态及引导恢复需要处理。 +安装内核与发布启动项 +==================== -更新器通过进程生命周期内的锁串行化操作,状态写入使用临时文件、同步和替换。 -APK 的 pre-commit 钩子在其数据库写锁内再次检查准备时的系统身份, -拒绝审阅后发生变化的目标。锁文件、临时文件或日志存在本身不代表更新成功。 +固定名称的 ``reliefos-kernel`` 包依赖本代的确切内核包。每代内核和模块 +位于独立的 ``/usr/lib/modules//`` 目录。更新前的 pacman 钩子检查 +``/boot`` 的挂载、写入及剩余空间。安装后由 ``reliefos-boot-update`` +使用已安装模块生成 dracut initramfs,验证文件并更新 GRUB 的启动选择。 +旧版本的已安装软件包与已经确认的启动项仍可使用。 -中断和失败恢复 +钩子失败与重试 ============== -遇到断网、进程退出、重启或软件包脚本失败,先查看状态和失败阶段:: - - sudo reliefos-update status - sudo reliefos-update resume - -下载阶段可以从持久计划继续;恢复完成并重新获得可应用的计划后,再审阅并提交。 -对已经准备好的计划执行 ``resume`` 只返回计划 ID,不会自动安装。 -尚未进入包提交的计划可以通过 ``sudo reliefos-update discard`` 作废后重新准备, -原计划的日志和缓存仍保留以供诊断;已经开始提交的失败事务必须先修复,不能丢弃。 -如果已经进入 APK 安装阶段,不能假定所有包文件都保持旧版本。 -客户端保留失败状态,并提供显式修复入口:: - - sudo reliefos-update repair - -修复使用该事务已经验证的本机软件包,仍须检查 APK 的退出码、包脚本及最终状态。 -计划会在 ``/var/lib/reliefos/update/plans/<计划 ID>/tools/`` 保留当时的静态更新器和 -APK 副本。若安装路径下的 ``/usr/sbin/reliefos-update`` 或 ``/sbin/apk`` 在失败后不可用, -可直接运行计划内的恢复客户端;它会检查固定的 APK 和更新器入口,仅恢复缺失或无法运行的工具, -然后从事务中已经验证的签名 APK 重新安装这两个文件的实际所属包。 -旧副本只用于启动修复,不能代替数据库记录的新版本;已经可以运行的新版本工具不会被旧副本覆盖:: - - sudo /var/lib/reliefos/update/plans/<计划 ID>/tools/reliefos-update repair - -如果系统已无法正常启动,可从匹配的 ReliefOS 救援介质挂载根文件系统,例如挂载到 -``/mnt/reliefos``,再运行该根目录内保留的静态客户端。``--root`` 必须指向已挂载的目标根; -需要发布内核载荷时,还必须把该系统的 ESP 挂载到目标根下的 ``boot``:: - - sudo /mnt/reliefos/var/lib/reliefos/update/plans/<计划 ID>/tools/reliefos-update --root /mnt/reliefos repair - -修复失败会继续报告错误,不应通过删除数据库、强制覆盖文件或关闭签名校验来清除错误。 -如果失败之后软件源、密钥或 world 已改变,修复会拒绝继续,应先按诊断核对并恢复 -原配置。软件包脚本在中断前合法改变这些配置时,同样需要管理员核对,不能把另一组 -依赖版本混入原事务。修复允许包数据库因已执行的提交发生变化。 - -用户态软件包按 APK 的标准方式原地更新。本功能没有创建根文件系统快照, -也不承诺断电后整个用户态自动退回更新前的内容。用户数据和本地配置遵循 -APK 文件归属与受保护路径规则;需要合并的配置可能以 ``.apk-new`` 保留。 - -内核启动确认和回退 -================== - -内核、initramfs、模块和 ABI 清单作为完整的 ``reliefos-kernel`` 软件包校验。 -发布之前保留旧启动载荷和独立模块副本,再切换 A/B 引导记录;正在运行的内核 -在重启前不会改变。更新器不在日常更新中重写 BIOS/UEFI 固件加载器。 - -新内核经过启动确认之后才成为已确认版本。启动尝试耗尽而没有确认时, -引导选择器使用保留的已确认载荷。回退仅覆盖内核、initramfs 和对应模块产品, -不会撤销已提交的普通应用或系统库更新。 - -缺少匹配的稳定 GRUB 选择脚本、内核包记录或启动确认资源的旧安装, -应使用匹配的安装介质完成引导迁移;客户端拒绝只替换 ``kernel.sys`` 的半套更新。 -模块管理参见 :doc:`kernel-modules`。 +安装后的钩子在包数据库变更之后运行。若界面或 pacman 输出报告失败, +查看启动发布状态,修复失败原因后重试:: -自动化与验证边界 -================ + sudo reliefos-boot-update --status / + sudo reliefos-boot-update / /boot -机器接口使用 ``--machine``,例如:: +可从 GRUB 高级菜单选择已保留的内核。新候选内核启动后由 +``reliefos-boot-confirm.service`` 核对并确认。未确认的试启动耗尽后, +下次启动选择上次已确认的内核。该选择只涉及引导文件,根文件系统中的 +用户态包保留本次事务结果。详情见 :doc:`kernel-modules`。 - sudo reliefos-update prepare --machine - sudo reliefos-update apply --plan <64 位小写十六进制 ID> --machine - sudo reliefos-update status --machine +清理已保留的内核在独立的包事务中执行。先处理本次启动或更新错误, +再查看清理候选:: -准备成功才会输出 ``plan_id=...``。自动化必须同时检查退出状态、计划 ID 和最终状态, -不能依据单条下载或安装日志判断成功。 + sudo reliefos-kernel-prune --dry-run / /boot + sudo reliefos-kernel-prune / /boot -``--root`` 为显式隔离根测试提供入口;Linux 宿主根目录的修改请求被拒绝。 -隔离测试可以使用回环 HTTP 仓库与专用签名密钥;这一测试入口不会放宽 -生产系统的 HTTPS 或签名策略。宿主端签名 APK 回归、目标编译、镜像打包、 -QEMU BIOS/UEFI 启动与 VMware/物理硬件验证应分别报告,不能互相替代。 +清理命令按已安装包和已发布启动项检查保护集合。运行中的内核、当前候选及有效 +启动项引用的内核受保护。 diff --git a/Documentation/admin-guide/usb.rst b/Documentation/admin-guide/usb.rst index b039de27..5325f1c5 100644 --- a/Documentation/admin-guide/usb.rst +++ b/Documentation/admin-guide/usb.rst @@ -10,7 +10,7 @@ SuperSpeed BOT/SCSI 存储,以及 USB 2.0/1.x BOT 存储、boot HID 键盘和 鼠标。EHCI 支持 USB 2.0 高速 BOT/SCSI 存储;低速/全速键鼠可由 UHCI companion 提供。VMware 中可选择“USB Controller / USB Compatibility / USB 3.x”使用 xHCI,或选择 USB 2.0 使用 EHCI;两种路径的验证结果分别记录。 -USB 的 Linux 块设备与 evdev 接口由内核提供,不需要修改 BusyBox。 +USB 的 Linux 块设备与 evdev 接口由 ReliefNT 提供。 xHCI 支持 USB2/USB3 Hub、多级路由和下游设备热插拔;USB2 的 multi-TT Hub 使用默认 single-TT 模式。拔掉 Hub 时,下游设备一起断开,旧打开不会 @@ -37,7 +37,7 @@ FAT32、exFAT、ext2 和 ext4。分区介质与整盘文件系统均可使用。 逻辑扇区要求仍为 512 字节。 挂载点使用 ``/run/media/<数字 UID>/<设备名>-``,由 root 创建。 -普通用户通过现有 sudo / ReliefAskpass 密码窗口授权,需要相应 sudo 权限。 +普通用户通过 polkit 授权挂载和弹出操作。需要认证时,桌面的 polkit 代理会打开认证窗口。 FAT32/exFAT 使用 Linux ``uid/gid/fmask/dmask`` 挂载选项,为发起用户提供读写权限。 ext 文件系统保留介质自身的 POSIX 所有权与模式。挂载同时启用 ``nosuid,nodev``。 设备身份通过 sysfs 和 ``BLKGETDISKSEQ`` 复核。拔插后需要重新选择新介质。 diff --git a/Documentation/applications/diskmgr.rst b/Documentation/applications/diskmgr.rst index a00999df..4bc0f147 100644 --- a/Documentation/applications/diskmgr.rst +++ b/Documentation/applications/diskmgr.rst @@ -14,9 +14,8 @@ e2fsprogs ``mke2fs``,挂载使用 ``data=ordered``。分区名称支持中文 使用 GPT 规定的 UTF-16,界面使用 UTF-8;超过36个 UTF-16编码单元的名称被拒绝。 界面输入另有71字节上限,分区表显示超出列宽时可调整列宽或水平滚动。 -普通用户默认只读;“以管理员身份打开…”使用标准 sudo 验证当前用户密码, -成功后打开 root 窗口。需要该用户已有 sudo 权限;密码通过标准输入传送, -不进入命令行或环境变量。取消或验证失败保留原窗口。 +普通用户默认只能查看磁盘。“以管理员身份打开…”使用 polkit 授权扫描磁盘, +修改分区时也通过 polkit 授权。授权后由专用辅助程序执行操作,界面继续以普通账户运行。 新建、格式化和删除需要输入对话框给出的 CREATE、FORMAT、DELETE,连续点击 两次确认。修改任意字段会取消第一次确认。系统分区和已挂载分区受到保护; diff --git a/Documentation/applications/reliefmail.rst b/Documentation/applications/reliefmail.rst index eb04e7f9..8a239677 100644 --- a/Documentation/applications/reliefmail.rst +++ b/Documentation/applications/reliefmail.rst @@ -12,55 +12,13 @@ ReliefMail 使用 ``/etc/ssl/certs/ca-certificates.crt``,并校验服务器证 账户“高级”页提供“修复或更新系统证书”。使用默认 CA 的连接测试遇到证书库加载 失败或信任链错误时,也可从错误对话框进入修复。 -该入口启动 ``reliefapk --repair-ca``: - -1. 检查证书恢复条件;系统 CA 可用时,在线模拟固定证书包的变更。 - 恢复计划会说明两个 CA 包的 world 请求将刷新为不带版本或仓库标签约束的包名; - 使用已配置的默认签名仓库,其他请求保留。 -2. 在 ReliefAPK 中检查变更并应用,使用其现有 sudo/root 密码认证。 -3. 系统 CA 不可用时,先原子恢复随系统分发的证书库,将原有常规文件保留为 - 权限 ``0600`` 的独立备份。随后才进行在线包可用性检查和真实 apk 模拟。 -4. apk 使用已配置的软件源和包签名验证获取固定的 - ``ca-certificates`` 与 ``ca-certificates-bundle`` 软件包。先用 ``add --upgrade`` 更新 - 两个请求及其版本,再用 ``fix --reinstall`` 修复源文件和生成文件。每次真实变更前 - 均重新模拟,依赖仍由 apk 求解。HTTPS 源必须通过 TLS - 证书验证;管理员配置的本地或 HTTP 源也必须通过 apk 签名验证。 -5. 安装后重新解析证书库;文件仍不可用、新生成 ``.apk-new`` 或 apk 报告 - ``APK unavailable, skipped`` 时报告失败,不把退出码 0 当作实际执行的充分证据。 -6. 返回 ReliefMail,重新输入测试所需的邮箱授权码并测试连接。 - -证书修复不会发送邮件。邮箱密码与系统提权密码分别由两个程序处理,不通过启动 -参数传递。账户已指定私有 CA 时,应检查该文件,不会自动替换为公共 CA。 - -下载使用当前有效的系统证书库;文件缺失或损坏时,使用随 ReliefOS 分发、 -由 root 管理的 ``/usr/share/reliefos/certs/ca-certificates.crt`` 恢复系统证书库。 -恢复文件及其父目录必须由 root 拥有、不可由组或其他用户写入,且不能是符号链接。 -预览阶段说明恢复计划,不修改系统证书。经认证应用后才恢复文件并进行在线模拟; -恢复后的网络或签名检查失败时保留已恢复的出厂 CA,并明确报告更新失败。 -预览与实际修复禁用磁盘缓存;检查包可用性时仅请求元数据,不下载归档。 -固定修复工作程序启动 apk 时使用独立的最小环境,忽略调用者的 ``APK_CONFIG``、代理和 TLS -环境变量,也不加载全局 ``/etc/apk/config``,防止配置关闭签名或证书验证。 -APK 输出中的仓库 URL 会隐藏,避免将可能包含的仓库凭据写入操作日志。 -软件源、签名密钥与架构仍使用系统配置;仅依靠环境变量配置代理的网络需要管理员 -先提供可直接访问的软件源。 -邮箱连接仍按账户配置验证。apk 当前下载库优先读取编译时指定的 CA 文件, -恢复过程直接修复该系统文件,不依赖环境变量覆盖该路径。 -在线操作前和安装后均检查系统 CA 文件及其父目录的信任条件。即使 PEM 可以解析, -符号链接、非 root 属主或组/其他用户可写的路径也会被拒绝。管理员应先核对来源, -恢复 root 拥有的常规文件和安全权限;程序不会把这种文件直接用作特权下载的信任锚。 - -``reliefos-trust`` 同时提供恢复证书库和 -``/etc/apk/protected_paths.d/reliefos-ca-bundle.list``。apk 3 的文件替换保护按目录生效; -该规则把 ``/etc/ssl/certs`` 作为生成的证书输出目录,允许签名证书包替换损坏的已安装 -文件,避免仅生成 ``.apk-new`` 而留下错误文件。私有 CA 源文件宜保存在 -``/usr/local/share/ca-certificates``,账户专用文件可放在其他适当目录。 - -更新已有系统时,应同步更新 ReliefMail、ReliefAPK 和系统信任包/配置。仅复制新程序 -到旧镜像,可能缺少恢复证书文件或 apk 保护规则;应检查安装日志及 ``.apk-new``。 -自定义保护策略仍需由管理员合并;修复程序会检查最终证书文件是否可解析。 -不能只更新汇总包: `Alpine 的安装钩子 `_ 会执行 ``update-ca-certificates``,按源文件 -重新生成证书库。仅替换汇总文件可能被旧源集合覆盖;所以修复流程同步维护两个包, -并移除它们在旧镜像中遗留的精确 world 约束,允许后续安全更新。 +该入口启动 ``reliefpackages --repair-ca``。检查确认对话框后,由 polkit +授权使用 pacman 重新安装 Arch 官方的 ``ca-certificates-utils`` 与 +``ca-certificates-mozilla``。需要时先从本机信任锚重新生成证书库,再使用系统签名策略执行安装。 +事务显示软件包及钩子输出。成功后返回 ReliefMail,重新测试该账户的连接。 + +邮箱密码保留在 ReliefMail。系统授权由桌面的 polkit 代理处理。 +如果账户选择了私有 CA,应检查该文件的路径、权限与证书内容。 按实际原因处理 ============== @@ -84,18 +42,7 @@ CA 包中部分证书无法解析时,只要有可用根证书,程序会继 定向验证 ======== -.. code-block:: sh - - TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefmail.sh protocol - TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefmail.sh worker - TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefapk-model.sh - TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefapk-certificates.sh - TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefapk-process.sh - TMPDIR="$PWD/out/tmp" python3 tools/tests/test_reliefapk_apk.py \ - --apk out/xorg-debug/upstream/apk/apk.static - TMPDIR="$PWD/out/tmp" make O=out/xorg-debug PROFILE=debug -j4 \ - app-reliefmail app-reliefapk nls image-vmdk - -QEMU 工具 ``tools/test_reliefmail_ca_qemu.py`` 使用独立磁盘副本及临时签名仓库, -测试 CA 损坏后的可见错误与修复流程。测试 CA、仓库密钥和账户均为夹具, -不会安装到宿主系统或生产输入镜像中。 +在完成源码修改后,使用真实邮箱连接或对应 TLS 夹具复核证书加载与错误状态。 +应用的协议、后台任务与证书校验测试入口为:: + + TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefmail.sh diff --git a/Documentation/applications/reliefmath-rendering.rst b/Documentation/applications/reliefmath-rendering.rst index cb5796a3..89c9540c 100644 --- a/Documentation/applications/reliefmath-rendering.rst +++ b/Documentation/applications/reliefmath-rendering.rst @@ -18,7 +18,7 @@ ReliefMath 数学渲染 只使用 STIX 字体,不分发 MicroTeX 的代码或资源。目标路径为 ``/usr/share/reliefmath/STIXTwoMath-Regular.otf``,中文使用 ``/usr/share/fonts/reliefos/simsun.ttc``;许可证装入 ``/usr/share/licenses/reliefmath/``。 -Cairo ``1.18.4-r1`` 与 FreeType ``2.14.3-r0`` 的开发 APK 使用 ``configs/dependencies.lock.json`` 固定 URL 与 SHA256,通过显式 ``make fetch`` 获取。构建脚本使用系统信任密钥验证 APK 签名并校验摘要,再以临时完整树发布到专有开发目录;不覆盖共享 X11 开发树。运行时使用系统已有的相同版本 APK。没有改变全局 C++ 编译标志。 +渲染器使用官方 Arch Cairo 和 FreeType。隔离构建根通过 pacman 安装开发头与库,ReliefMath 包声明相应的运行依赖。 渲染与输出 ========== diff --git a/Documentation/applications/reliefplayer.rst b/Documentation/applications/reliefplayer.rst index 1f270a95..4be5f642 100644 --- a/Documentation/applications/reliefplayer.rst +++ b/Documentation/applications/reliefplayer.rst @@ -50,10 +50,7 @@ HEVC 视频及 AAC、MP3 音轨;音频最多 8 声道,转换为 48 kHz 立 (竖屏时可交换边长)。不含硬件加速、HDR 色调映射、字幕或多音轨选择; 高分辨率视频的流畅程度取决于虚拟机性能。 -``make fetch`` 下载锁定源码,``upstream-ffmpeg`` 离线构建五个解码共享库。 -播放器启用时,运行库及 LGPL 许可证随 ``reliefos-media-codecs`` APK 一起进入镜像; -开发头文件留在独立构建目录。库名及 SONAME 带有 ``-reliefplayer`` 后缀, -可以与 Alpine 的完整 FFmpeg/VLC 依赖共存。FFmpeg 不构建命令行程序、网络协议或外部编码器。 +播放器通过 pacman 依赖 Arch 官方 FFmpeg 软件包。FFmpeg 的共享库和许可证由该软件包交付。 解码、文件读取和音频写入由独立子进程执行,GUI 通过非阻塞管道控制。 视频通过有界共享内存发布 RGB 快照,GUI 保存自己的画面副本;双方只尝试获取 diff --git a/Documentation/applications/system-tools.rst b/Documentation/applications/system-tools.rst index fd05c0d1..24f73715 100644 --- a/Documentation/applications/system-tools.rst +++ b/Documentation/applications/system-tools.rst @@ -60,9 +60,8 @@ XDM 的 IceWM 登录会话设置 ``XDG_CURRENT_DESKTOP=ICEWM``,并运行 其他程序 ======== -系统还提供 ReliefAPK、图像查看、绘画、扫雷、系统信息及游戏入口。 +系统还提供 ReliefPackages、图像查看、绘画、扫雷、系统信息及游戏入口。 组件选择决定它们是否安装,菜单入口不表示程序永远存在。 -ReliefOS Browser 应用的系统主页为 ``about:reliefos``;X11 默认浏览器为 NetSurf。 ``driverinfo`` 是控制台驱动信息工具,默认显示已激活/Loaded,``-a`` 显示全部状态; 以实际设备和驱动状态为准,不把设备枚举等同于成功驱动。 控制台工具与外来软件不需要自研应用桌面图标。 diff --git a/Documentation/kbuild/building.rst b/Documentation/kbuild/building.rst index 5c110fa4..b1afca39 100644 --- a/Documentation/kbuild/building.rst +++ b/Documentation/kbuild/building.rst @@ -2,50 +2,321 @@ 从源码构建 ========== -宿主条件 -======== +宿主与隔离构建根 +================ -使用 Linux/WSL、GNU Make 4.3+ 和仓库指定的 Clang/LLVM 工具链。 -Clang 必须包含 x86_64 compiler-rt builtins。典型 Debian/Ubuntu 依赖为:: +在 x86_64 Linux 上可以通过本地 Docker 构建,无需在宿主安装 pacman、Arch 包或 +编译器。宿主需要 Bash、Git 2.31+、GNU Make 4.3+、coreutils、awk、sed 和 +util-linux(``flock``),以及可通过 Unix socket 访问的 Docker Engine 25+。 +例如 Debian 13 可安装 ``docker.io git make``;先按宿主发行版的说明配置 +Docker。以普通用户执行,不要使用 ``sudo make``。Docker daemon 对其使用者授予高权限, +仅使用受信任的本地 daemon;目前不支持远端、rootless 或 userns-remap 模式。 +源码和 ``O`` 路径沿用 Kbuild 的字符限制,不支持空格。 - sudo apt install build-essential clang lld llvm libclang-rt-dev \ - autoconf automake libtool libtool-bin pkg-config bison flex gperf gettext \ - texinfo libncurses-dev grub-common grub-efi-amd64-bin grub-pc-bin \ - xorriso mtools dosfstools e2fsprogs squashfs-tools libext2fs-dev fakeroot fdisk \ - qemu-utils qemu-system-x86 ovmf zip curl xz-utils patch git +在仓库根目录依次运行:: -HTML 文档另需 Sphinx,见 :doc:`../process/documentation`。Sphinx 仅服务文档; -内核和用户态生产编译不因此改用 Python、Meson 或 Ninja。 + git submodule update --init --recursive + make doctor + make fetch + make build ARCH_JOBS=8 -``make test-build`` 中的播放器宿主检查另需 ``ffmpeg``、``libavformat-dev``、 -``libavcodec-dev``、``libavutil-dev``、``libswresample-dev`` 和 ``libswscale-dev``。 -这些是宿主检查依赖;生产播放器使用锁定源码构建的 musl 库。 -自启动的宿主检查另需 ``libglib2.0-dev``;生产程序使用锁定 APK 提供的目标 GIO 库和头文件。 -可通过 ``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh tests/build/test-reliefplayer-mp4.sh`` -在 Linux 宿主上同时运行实际精简库和 musl 版本的解码/控制检查;这不等于来宾播放验证。 +``doctor`` 只检查宿主条件,不下载、不创建输出;``make -n`` 可预览入口。 +``fetch`` 使用摘要固定的官方 Arch 基础镜像和 pacman 签名验证准备工具链, +并下载校验 ReliefNT、paru 和 st 锁定的源码与依赖。Arch 软件仓库滚动更新;固定的是基础镜像, +不是每次初次获取时的软件仓库快照。 -构建顺序 -======== +``make fetch`` 默认从官方 Docker Hub(``docker.io``)拉取 Arch 基础镜像。 +如需使用 1ms 镜像站,将上面的 ``make fetch`` 替换为:: -在 ReliefOS 仓库根目录执行:: + make fetch ARCH_BASE_REGISTRY=docker.1ms.run - git submodule update --init --recursive - make help - make doctor - make fetch - make -C kernel/reliefnt fetch - make defconfig - make -j8 all +该参数只影响基础镜像的下载地址,两种来源使用相同的镜像摘要和软件包验签设置。 +如果本地已有同一构建配方生成的镜像,``make fetch`` 会直接复用,不会重新拉取基础镜像。 + +``build`` 不拉镜像、不联网,先运行根 Makefile 的 ``kernel`` 目标, +再用 ``makepkg`` 构建 glibc 版 ``libreliefos``、``paru``、``reliefos-filesystem``、 +``reliefos-st``、``reliefos-desktop``、应用包和版本化内核包。 +容器内使用调用者的 UID/GID, +源码、Git 元数据和容器根均为只读;下载缓存保存在 ``O/downloads/``。 +默认 ``O=out/arch-root/x86_64/release``,也可为这三个命令指定同一个新目录。 +隔离构建和原生 Kbuild 使用各自的 ``O``。 + +``SOURCE_DATE_EPOCH`` 默认取 ReliefOS 提交时间,也可在 ``build`` 时显式 +指定。它传入隔离构建根并计入 ReliefNT 的模块身份,时间变化会产生新的内核 +release;相同构建输入和时间可重现相同身份。 + +已有完整构建输出时,可运行 ``make O=/path/to/output arch-kernel``,仅增量编译 +内核、打包工具及版本化内核和更新包。此入口沿用隔离构建根,并在离线环境中运行。 +发布新一代内核时使用递增的 ``RELIEFOS_KERNEL_PACKAGE_SEQUENCE``,随后运行 +``make O=/path/to/output rpr-testing`` 签名。其他软件包沿用现有构建输出中的版本和内容。 +CI 的签名内核升级检查使用同一入口生成候选内核。 + +输出包括 ``O/generated/system/kernel.sys``、``kernel.debug``、 +``O/kernel-install/install.bundle.json`` 和 +``O/packages/arch/`` 下的 Arch 包。构建检查运行库的 merged-usr 路径、ELF 依赖和 +使用包内头文件与库的程序,也检查 paru 的 libalpm 依赖并执行包内程序。开发包在下一阶段签名,再用于装配系统。 + +内核包的开发工具可通过 ``O/host/bin/reliefos-kernel-tools arch-kernel-stage +INSTALL OUTPUT`` 生成 merged-usr 暂存树,输出路径须为绝对路径。工具验证 +``INSTALL/install.bundle.json`` 及其全部成员,按当前 release 将内核、调试信息和模块 +放入 ``OUTPUT/usr/lib/modules//``,并生成 ``arch-kernel-stage.json`` 校验清单。 +未指定索引工具时,输出只包含安装清单列出的文件。校验或复制失败时保留上一次发布的暂存树。 + +在命令末尾依次指定原生 kmod 的 ``MODINFO DEPMOD`` 路径,可验证模块名称、ABI、 +加载策略和依赖关系,并生成 ``modules.dep``、``modules.alias``、``modules.symbols`` +及其二进制索引。平台加载清单位于该 release 目录的 +``modules-load.d/reliefnt-platform.conf``,清单和索引均计入校验清单。索引生成失败时 +保留上一次发布的暂存树。``build`` 在隔离构建根中使用此模式。 + +``reliefos-boot`` 安装官方 ``systemd-modules-load.service`` 的 drop-in,在标准扫描前 +通过 ``%v`` 读取运行内核的 release,将对应平台清单链接到 +``/run/modules-load.d/reliefnt-platform.conf``。升级后回退旧内核时仍使用旧版清单。 +清单缺失或为空时可继续标准扫描。同名配置在 ``/etc/modules-load.d``、 +``/run/modules-load.d``、``/usr/local/lib/modules-load.d`` 或 ``/usr/lib/modules-load.d`` +中存在时优先,包含 ``/dev/null`` 屏蔽链接。准备步骤支持重复执行,失败会使服务报告失败。 + +``build`` 将经过验证的内核文件打包到 ``/usr/lib/modules//``,包名包含 +release 和完整模块 ABI。不同身份的内核包可并存。包文件保存在 ``O/packages/arch/``, +``reliefos-kernel-current`` 依次记录版本化内核包和固定名称 ``reliefos-kernel`` 更新包的 +文件名。更新包精确依赖本次构建的内核包,升级时已安装的旧内核包保留。默认更新包版本 +为 ``1.-1``,序号取 ReliefOS 提交的第一父提交链长度;浅克隆须通过 +``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` 指定正整数序号。序号须随发布递增,同一包身份 +已有不同内容时构建失败。 + +``reliefos-kernel`` 安装 ``/usr/lib/reliefos/kernel/current-release``,其中记录 +该更新包所依赖内核的 release,供启动载荷生成使用。升级更新包会替换此记录, +已安装的版本化内核包继续保留。 + +``build`` 还构建 ``reliefos-boot``,并以 ``reliefos-boot-current`` 记录当前包名。 +该包的版本使用上述构建序号,testing RPR 签名发布后由 pacman 安装和更新。发布时拒绝 +相同版本不同内容或低于当前快照的版本。根文件系统装配会安装该包并验证一次真实的 +initramfs 生成,临时验证产物不进入归档。 + +``libreliefos`` 包的发行号使用 ``1.``,``libreliefos-current`` 记录当前包名。 +``reliefos-boot`` 中的 ``/usr/libexec/reliefos/kernel-bundle`` 使用 glibc,并声明本次 +构建运行库的最低版本依赖。发布 testing RPR 时检查包架构和运行库依赖,拒绝运行库 +版本回退或同一版本的不同内容。 + +安装系统后,可运行 ``reliefos-mkinitramfs /usr/lib/modules/ /boot/initramfs-.img`` +为指定内核生成未压缩的通用 initramfs。命令核对内核包的文件归属、完整性和 initramfs +配置,使用该 release 的配置和模块目录调用 dracut,并检查归档和 ``init``。成功时在 +目标目录原子替换输出,失败时保留原有文件。 + +dracut 对支持文件名填充的内核启用增强 CPIO。重建早期内核的启动归档时使用普通 CPIO。 + +未显式设置 ``TMPDIR`` 且 ``/run`` 为至少剩余 128 MiB 的 tmpfs 时, +dracut 在该内存文件系统中暂存目录树。最终归档仍写入目标文件系统, +归档内容和原子发布规则不变;其他情况沿用 dracut 的暂存目录设置。 + +运行 ``reliefos-mkbundle /usr/lib/modules/ /path/to/new-bundle`` 可从已安装的 +版本化内核包生成经过校验的启动载荷。命令核验 pacman 的文件归属和完整性,并以包所 +拥有的模块文件副本运行 dracut,再生成校验清单和初始启动记录。载荷目录必须尚不存在, +生成失败保留原有目标。构建后的载荷可由 ``reliefos-kernel-bundle --inspect`` 检查。 + +运行 ``reliefos-mkbundle --persist /usr/lib/modules/ /`` 可将完整载荷保存到 +根文件系统的 ``/.reliefos/kernel-bundles//``。载荷目录 +必须位于根文件系统,存储路径不得包含符号链接。并发发布通过锁协调,重复生成会校验并 +复用一致载荷,内容冲突或生成失败时保留已有载荷。pacman 更新钩子通过 +``reliefos-boot-update`` 调用该入口。 + +在命令开头添加 ``--print-path`` 时,标准输出仅包含生成的载荷绝对路径,生成日志写入 +标准错误,便于后续启动事务使用该路径。 + +``reliefos-boot-update / /boot`` 读取已安装的内核 release,检查独立挂载的启动分区, +生成持久载荷并按待发布文件检查可用空间,然后启用启动确认服务并发布双槽候选。 +事务通过锁串行执行,已有一致的启动文件可用于重试。执行阶段和失败退出码保存在 +``/var/lib/reliefos/boot-update/status``,可用 ``reliefos-boot-update --status /`` 查询。 +修复失败原因后可再次运行更新命令。pacman 或 paru 安装、升级 ``reliefos-kernel`` +后会自动运行该事务。钩子失败时 pacman 可能仍返回成功,须检查上述状态。 + +旧内核通过独立事务清理。先执行 ``reliefos-kernel-prune --dry-run / /boot`` +查看候选包,再执行 ``reliefos-kernel-prune / /boot`` 确认删除。 +``--noconfirm`` 可用于已经确认候选的自动化流程。命令保护运行内核、已安装更新包 +所指的内核、最后确认启动的版本,以及全部有效启动槽引用的版本和完整模块 ABI。 +缺少可信确认记录或保护版本的包归属不完整时,清理失败。 + +清理与启动发布使用同一把锁,并在 pacman 持有数据库锁的 PreTransaction 阶段再次 +核对保护集合。额外的临时钩子保留系统及管理员配置的正常钩子,结束后删除。 +删除以版本化包的完整文件清单为范围,保留其他模块、持久启动载荷及 ESP 启动文件。 +遇到数据库锁或中途失败后可重试,升级钩子只负责生成和发布启动文件。 + +pacman 安装钩子可以重新生成模块索引。载荷使用包拥有的模块副本重新生成索引, +因此本机额外安装的模块不会进入载荷。 + +已有内核载荷校验器和双槽发布器支持清单使用 ``lib/modules//`` 或 +``usr/lib/modules//``,同一清单不能混用两种路径。校验按清单中的实际路径 +访问文件,merged-usr 系统可保留 ``/lib`` 指向 ``usr/lib`` 的符号链接。 + +启动事务可调用 ``reliefos-boot-preflight /boot `` 检查启动目录本身是否 +为挂载点、挂载是否可写及可用空间是否满足给定的字节数。调用方负责计算事务所需空间。 +检查使用临时文件验证实际写入,失败时保留已有启动文件。 + +签名 testing RPR +---------------- + +运行 ``make build`` 后,用同一个 ``O`` 生成 testing pacman 仓库。宿主需要 +``gpg`` 和 ``gpgv``。使用源码树和输出目录之外、由当前用户持有的 0700 GnuPG +目录,以及预先选定的签名主密钥完整指纹:: + + RPR_GNUPGHOME=/path/to/signing-home RPR_SIGNING_FINGERPRINT='YOUR_FULL_FINGERPRINT' make rpr-testing + +签名在宿主完成,私钥不进入构建容器。命令将包、数据库、分离签名、公开密钥和 +校验和写到 ``O/rpr-testing//``;签名验证通过后才发布完整的本地快照, +本地构建不会上传快照。上线时先完整上传快照,再切换客户端 +使用的 URL,不能逐件覆盖正在服务的快照。 + +testing RPR 收录当前版本化内核包、固定名称的更新包,以及 ``reliefos-desktop``、 +``reliefos-st`` 等本地构建包。每个签名主密钥在同一个 +``O`` 下通过 ``rpr-testing/current-<完整大写指纹>`` 维护本地快照历史。发布后续 +快照时保留历史内核包并重新签名。更新包版本不得回退,同一更新包版本和同一内核 +身份的内容必须一致。发布失败时保留原历史指针。更换 ``O`` 会开始新的本地历史, +除非迁移已有历史;更换签名主密钥会开始新的本地历史。 + +客户端必须先通过独立可信渠道取得发布者的完整指纹。在 Arch 测试环境中,可用 +``bash tools/build/arch-rpr-trust.sh PUBLIC_KEY FINGERPRINT PACMAN_GPGDIR`` 初始化一个 +新的 pacman 信任目录。已签名的 ``reliefos-testing-keyring`` 包保存公开信任数据, +不能替代首次指纹核验。让 ``[rpr]`` 指向所选快照,仓库使用 +``SigLevel = Required TrustedOnly``;testing 环境之外使用 HTTPS。此入口不配置 +系统 pacman,也不安装或切换系统组件。 + +``reliefos-filesystem`` 依赖官方 Arch ``filesystem`` 和 ``systemd``,提供系统标识及 +普通物理有线接口的默认配置。``/etc/os-release`` 通过相对符号链接指向 +``/usr/lib/reliefos/os-release``。有效标识为 ``ID=reliefos``、``ID_LIKE=arch``, +``VERSION_ID`` 与 ReliefOS 版本一致。Arch ``filesystem`` 保持 merged-usr 布局、 +``/usr/lib/os-release`` 和 ``/etc/resolv.conf`` 的包归属。 + +paru 从上游固定提交构建,依赖使用上游 ``Cargo.lock``;不从 AUR 获取 paru 的构建脚本 +或二进制。通过 testing RPR 安装 ``paru``,之后用 ``pacman -Syu`` 同其他系统包一起更新。 +升级时保留修改过的 ``/etc/paru.conf``。运行 paru 和构建 AUR 包应使用普通用户, +准备好 ``base-devel``,仅为实际的 pacman 安装事务授权。RPR 的签名不为 AUR 内容背书; +运行第三方构建脚本之前仍需审查其源码和构建指令。 + +装配 Arch/systemd 根文件系统 +----------------------------- + +用同一个 ``O`` 下已签名的 testing 快照和独立核验的签名主密钥指纹运行:: + + RPR_SNAPSHOT=/path/to/output/rpr-testing/SNAPSHOT_ID RPR_SIGNING_FINGERPRINT='YOUR_FULL_FINGERPRINT' RPR_SERVER_URL=https://testing.example.org/rpr make O=/path/to/output rootfs + +开发用 ``rootfs`` 显式联网,在独立的 Arch 容器中从空包数据库安装官方 ``base``、 +systemd、D-Bus broker、dracut 和 testing RPR 的 ReliefOS 包,包括 ``reliefos-kernel`` +及其精确依赖的版本化内核包。官方安装钩子在容器内运行,任一事务或钩子失败都会阻止发布。 + +``ARCH_DESKTOP`` 选择开发根文件系统的桌面配置,输出均保存在 ``O/arch-rootfs/``。 +在上述命令末尾添加 ``ARCH_DESKTOP=xfce`` 或 ``ARCH_DESKTOP=console`` 可选择对应配置。 + +* ``icewm`` 为默认值,安装 ``reliefos-desktop``、``reliefos-st`` 及官方 XDM、Xorg、IceWM 依赖, + 输出 ``reliefos-systemd-rootfs.tar.zst``。 +* ``xfce`` 为实验选项,另装官方 Xfce 会话、窗口管理器、面板、桌面和 Thunar 等包, + 输出 ``reliefos-systemd-rootfs-xfce.tar.zst``。 +* ``console`` 使用 ``multi-user.target``,输出 ``reliefos-systemd-rootfs-console.tar.zst``。 + +图形配置启用官方 ``xdm.service`` 和 ``graphical.target``,XDM 使用官方 PAM 配置。 +ReliefOS 的 XDM 覆盖配置、会话选择和 IceWM 自启动规则见 :doc:`../admin-guide/desktop`。 +三种配置均用 glibc ``locale-gen`` 生成 en_US、zh_CN 和 ja_JP 的 UTF-8 区域数据, +初始 ``/etc/locale.conf`` 为 ``LANG=en_US.UTF-8``,详见 :doc:`../userspace-api/locale`。 + +归档排除安装时的挂载、缓存、已初始化的机器 ID 和临时 pacman 信任目录。 +已校验的持久内核载荷进入归档,供离线磁盘装配和安装后的启动更新使用。 +载荷发布锁文件在归档前删除。 + +必须用 ``RPR_SERVER_URL`` 指定目标系统使用的在线仓库地址。开发测试应指定测试服务器。目标系统的 +``/etc/pacman.d/reliefos-rpr.conf`` 将该地址配置为 ``[rpr]``,包和数据库均须通过 +可信签名验证。首次启动时 ``reliefos-pacman-init.service`` 使用已安装的 Arch 和 +ReliefOS 公钥初始化独立的 pacman 信任目录,后续密钥包升级会更新 ReliefOS 信任数据。 + +组装时离线启用官方 ``systemd-networkd.service`` 和 ``systemd-resolved.service``。 +``/etc/resolv.conf`` 链接到 ``/run/systemd/resolve/stub-resolv.conf``,运行时由 resolved +提供本地 DNS stub。官方 networkd 启用规则同时带入关联 socket、generator 和 wait-online。 + +包内 ``/usr/lib/systemd/network/89-reliefos-wired.network`` 使用 ``Kind=!*`` 和 +``Type=ether`` 匹配普通物理有线接口,设置 ``DHCP=yes`` 和 ``IPv6AcceptRA=yes``, +由 networkd 获取 DHCP 配置并接受 IPv6 路由通告。管理员可在 +``/etc/systemd/network/89-reliefos-wired.network`` 提供同名覆盖配置。 + +仅验证 filesystem 包时,可使用已有 Arch 构建镜像运行轻量入口。 + +.. code-block:: sh + + mkdir -p out/network-defaults-check + ARCH_TEST_IMAGE=reliefos-arch-build:EXISTING_TAG bash tests/integration/arch-rpr-testing.sh out/network-defaults-check --filesystem-only + +该入口离线构建实际包,检查网络配置、依赖、同输出目录的旧包清理及失败回滚。 +完整 ``--with-rootfs`` 验证还检查服务启用链接与 resolver 链接。轻量入口仅使用已有镜像。 +filesystem 新归档通过原子重命名发布后,清理该包的旧归档及签名。打包或重命名失败时保留旧产物。 + +桌面和会话设置见 :doc:`../admin-guide/desktop`。 + +装配 Arch BIOS/UEFI 磁盘 +------------------------ + +完成同一 ``O`` 的 ``build``、签名 testing RPR 和 ``rootfs`` 后运行:: + + make O=out/arch-root/verify image-vmdk + +该入口在离线 Arch 容器内将 rootfs 解包到私有目录,保留数字 UID/GID、权限、ACL、 +扩展属性和包文件时间。装配前核对唯一持久内核载荷的 release 与 SHA256 清单, +复用产品的 GRUB BIOS/UEFI 和磁盘布局入口,输出 ``O/images/reliefos.raw`` 与 +``O/images/reliefos.vmdk``。根分区为 ext4,ESP 挂载到 ``/boot``,两者通过 PARTUUID +写入 fstab。根分区预留后续内核更新及下载空间。 + +离线 Arch rootfs 和在线安装目标都检查本次 pacman +事务是否已生成动态链接器缓存、系统用户、日志目录和硬件数据库。仅当所需钩子、生成文件和本地 hwdb 检查全部通过时,才调用官方 +``systemd-update-done`` 写入更新标记。证据不足时保留正常首启处理,之后的更新仍可触发对应服务。 + +``fetch`` 下载并校验锁定的 GRUB 源码;``build`` 在隔离构建根中通过 +根 Makefile 编译 BIOS/UEFI GRUB,应用项目维护的原始磁盘嵌入及显式摘要校验补丁。 + +``ARCH_DESKTOP=xfce`` 或 ``ARCH_DESKTOP=console`` 选择同名 rootfs 归档,默认使用 IceWM。 +此步骤需要预先准备好的构建镜像与归档,源码树和归档只读挂载,临时解包树在结束后删除。 + +Arch 镜像和在线安装写入的 GRUB 默认项优先用内置存储驱动挂载指定 PARTUUID 的 ext4 根, +由 systemd 按 fstab 挂载 ESP 和实例目录。GRUB 仍校验并加载备用 initramfs。 +内核无法挂载指定根时继续使用 dracut;高级菜单也可显式走 dracut 并显示完整启动状态。 +默认启动在屏幕报告失败的服务,常规内核日志送到串口。 + +完整启动检查使用每次独立的 qcow2 overlay,验证实际 ext4 根目录和引导确认:: + + python3 tools/test_arch_systemd_qemu.py --disk out/arch-root/verify/images/reliefos.raw --output out/arch-root/verify/ci/arch-systemd + +入口检查官方 systemd PID 1、ESP 挂载、核心服务、启动确认及包数据库,并保留串口日志 +和结果。测试 VM 通过 ``systemd.run`` 执行附加只读 FAT 磁盘中的检查脚本。 +退出时删除 overlay、FAT 和临时截屏;仅指定 ``--screenshot`` 时保留截图。 + +两代内核升级检查复用已装配的磁盘和构建缓存,运行以下入口:: + + bash tests/integration/arch-kernel-upgrade-build.sh out/arch-root/verify + +该入口用一次性密钥签名两代 testing RPR,将第二代 VirtIO 块驱动配置为模块, +通过真实 HTTP 仓库执行来宾 ``pacman -Syu`` 和引导钩子。BIOS 与 UEFI 分别检查 +新版启动确认、模块卸载与加载及块设备读取、手动选择上一版、未确认启动后的自动回退。 +成功与失败启动分支从同一次已同步的升级事务创建独立 overlay。 + +串口日志和逐阶段结果保存在 ``O/ci/arch-kernel-upgrade/``。退出时删除 +测试 overlay、临时构建输出和签名密钥,默认不保留截图。 +第一代配置需要 ``CONFIG_VIRTIO_BLK=y``,宿主需要完整启动检查使用的 QEMU、OVMF、 +mtools、dosfstools、Pillow 与 Tesseract。 + +制作在线安装 ISO +---------------- + +用已签名的 testing 快照和可访问的 RPR 地址在同一个构建目录制作安装介质:: + + RPR_SNAPSHOT=/path/to/output/rpr-testing/SNAPSHOT_ID RPR_SIGNING_FINGERPRINT='YOUR_FULL_FINGERPRINT' RPR_SERVER_URL=https://testing.example.org/rpr make O=/path/to/output installer -根 Makefile 是受支持入口。fetch 是显式联网阶段,按锁文件校验摘要; -内核缓存独立。普通构建缺缓存应报错,不暗中下载。第三方保留自己的上游构建系统。 -源码与公开头从各自所有者导出,不从历史 build 目录补齐。 +输出为 ``O/images/reliefos-installer.iso``。GRUB 支持 BIOS 和 UEFI,并提供图形和文本安装入口。 +安装介质使用官方 systemd 和预置的 RPR 公钥,目标系统通过网络从 Arch 和 RPR 下载软件包。 +格式化前同步软件包索引并核对 RPR 签名。安装使用一次 pacman 事务下载、验签和写入, +内存充足时用有上限的 tmpfs 暂存软件包。内存不足或暂存下载失败时使用目标磁盘的 +pacman 缓存。事务开始写入后由安装器报告错误。 +可选择安装后的桌面、Arch 镜像、时区、语言和 swap,完成后使用 ``pacman -Syu`` 更新。 -``make installer`` 使用 ``mksquashfs`` 生成 ``O/images/installer-payload.squashfs``, -以 gzip 压缩并与可写的 ``installer-root.ext4`` 一起打入原路径的 -``O/images/reliefos-installer.iso``。此目标要求 ReliefNT 配置中保留默认的 -``CONFIG_SQUASHFS=y``。``CONFIG_INSTALLER_ROOT_SIZE_MIB`` 仅设置运行时 ext4 的容量 -下限,默认 32 MiB;构建仍根据运行时文件及预留空间自动增大该镜像。 +安装器使用目标根的已安装软件包数据库核验内核包,并生成启动载荷。 +引导工具支持本地查询时,启动载荷生成与目标根的独立 pacman 密钥环初始化并行。 +卸载目标 API 文件系统前,安装器会等待密钥环初始化完成并关闭其 GnuPG 守护进程。 +glibc 版本与 locale 配置匹配时复用介质的三语 locale 数据。内核 ABI 和早期用户态版本匹配时 +复用已经校验的通用 dracut 归档,并仍在目标根生成模块索引、校验软件包和发布启动载荷。 +版本发生变化时在目标系统重新生成对应产物。 配置内核 ======== @@ -69,8 +340,8 @@ QEMU 选项继续在 OS 菜单中配置。仅已完成运行时边界的部件 ========== 用 ``V=1`` 查看命令,``make --trace`` 查看依赖,``make -n`` 预览。 -首次预览产品前先执行 defconfig、config-sync。同一 O 互斥,不伪造内部锁 token; -不同 O 可并行。原版 Kbuild 的 .cmd 与 fixdep 跟踪命令、源码和头文件依赖。 +产品锁覆盖隔离容器的整个调用。不同输出目录可并行。 +原版 Kbuild 的 .cmd 与 fixdep 跟踪命令、源码和头文件依赖。 clean 保留配置;distclean 同时清配置。它们只清有所有权标记的输出树, 不删除共享下载缓存或用户旧镜像。 diff --git a/Documentation/kbuild/configuration.rst b/Documentation/kbuild/configuration.rst index 376c4f7b..f1d61270 100644 --- a/Documentation/kbuild/configuration.rst +++ b/Documentation/kbuild/configuration.rst @@ -2,75 +2,33 @@ 配置与版本 ========== -输出树 -====== - -默认 ``O=out/x86_64/release``;支持 ``ARCH=x86_64`` 和 -``PROFILE=release|debug``。例如:: - - make O=out/debug PROFILE=debug defconfig - make O=out/debug PROFILE=debug menuconfig - make O=out/debug PROFILE=debug -j4 kernel - -当前配置是 ``O/.config``。olddefconfig 保留设置并补新项;defconfig 重置。 -空输出目录首次运行 olddefconfig 或 menuconfig 时,也先载入相同的项目种子。 -``configs/default.conf`` 是默认配置种子;完整结果由原版 Kconfig 生成。 -不能把镜像策略混入内核私有配置。ReliefNT 的配置只在其独立仓库维护, -不会 source 主仓的应用、镜像、授权或 QEMU 配置。 - -菜单与实际作用 -============== - -主菜单按系统镜像、授权策略、软件仓库、可选用户态组件和 QEMU 运行参数分组。 -镜像尺寸是构建工具的最低容量请求,工具仍会按文件大小和分区开销扩大输出。 -QEMU 的 CPU、内存、显示和网络参数只控制来宾启动命令,不编译内核功能。 - -编译策略使用 ``PROFILE=release`` 或 ``PROFILE=debug``,显示命令用 ``V=1``。 -旧 BUILD 预设、优化/LTO/符号/剥离开关已经不被生产链消费,现已移除; -测试按明确的 Make 目标运行,校验和与归属文件由相应产品规则保证, -不提供能跳过这些规则的虚设开关。 - -Legacy framebuffer 外观仅控制保留程序读取的 display.conf; -XDM 使用自己的 Xresources,IceWM 使用自己的主题,均不由该选项改变。 - -组件选择 -======== - -``configs/components.toml`` 是组件身份、依赖和默认策略的唯一清单。 -维护后运行 ``make regen-component-kconfig``,检查生成的 Kconfig.components。 -每个可选组件有独立子菜单;required 组件固定启用,不生成可关闭的选项。 - -* BUILD:启用组件。依赖可自动启用它;第三方库也可能因其他产物需要而被构建。 -* IMAGE:把启用的组件纳入系统载荷。静态库可用 image_supported=false 明确声明 - 没有独立运行时载荷,这类组件不生成 IMAGE 开关。 -* ENTRY:控制旧应用注册表的入口,依赖 IMAGE。它不会改写 X11 程序提供的 - desktop 文件;原生 X11 菜单和 MIME 行为仍由这些文件定义。库没有应用入口开关。 - -当前 musl SDK 是产品规则定义的固定 sysroot;组件 SDK 开关没有控制它,已移除。 -API 包也没有对应的可选生产目标,不生成 API 开关。组件元数据保留原格式的 -SDK/API 字段供兼容读取,不能由这些字段推断 SDK 实际文件;以安装清单为准。 +输出与配置 +========== -旧配置与检查 -============ +产品默认使用 ``O=out/arch-root/x86_64/release``,原生 Kbuild 测试 +默认使用 ``O=out/x86_64/release``。可通过 ``PROFILE=debug`` +选择调试构建。每个输出目录拥有独立配置和构建锁。 -现有 O/.config 先备份,再执行 olddefconfig 与 config-sync,原版 Kconfig 会去掉 -已删除及不属于本仓的符号。更早的 LEON_COMPONENT 名称先用 migrate-config 显式迁移, -该步骤保留备份并拒绝冲突;不要直接用默认配置覆盖用户选择。 -未被构建链使用的重复默认模板已删除。 +``ARCH_DESKTOP=icewm|xfce|console`` 选择装配配置。IceWM 是默认桌面, +Xfce 为实验选项,控制台模式进入 ``multi-user.target``。 +自有应用与配置来自 Arch 包,包清单在 +``tools/build/arch-applications.list`` 和 +``tools/build/arch-guest-packages.sh``。安装时可以另选桌面。 -``tests/build/test-kconfig-contract.sh`` 检查原生依赖、独立镜像/入口选择、 -无效控制项和配置稳定性;config-groups 与 config-first-build 检查并发、增量、 -缺失产物修复及首次构建。它们使用真实原版 conf,不以文本替换代替 Kconfig 求值。 +内核菜单和默认配置由 ReliefNT 维护。进入 ``make kernel-menuconfig`` +选择需要的设备与可加载模块,使用 ``make kernel-olddefconfig`` 将已有配置 +同步到新源码。重新设置默认值用 ``make defconfig``。 +内核构建树默认位于选定输出目录的 ``reliefnt/``,可通过 ``RELIEFNT_O`` 指定。 版本身份 ======== -主仓与内核分别读取自己的 ``configs/build-version``。主仓 -``system/rootfs/etc/os-release`` 的 VERSION_ID 必须与发布版本一致。 -生成头只写 O;源码身份与数字发布版本分开。内核后缀例如:: - - make EXTRAVERSION=-perf LOCALVERSION=-test kernel +主仓和内核各自使用 ``configs/build-version``。ReliefOS 版本与 +安装后 ``/etc/os-release`` 的 ``VERSION_ID`` 一致。内核包含发布版本、 +后缀和构建输入标识,可用 ``uname -r`` 查看。 -完整内核版本最多 31 字节,后缀仅接受已允许字符。包元数据仍使用数字基础版本。 -SOURCE_DATE_EPOCH 默认为提交时间;不得递增源码计数器或用当前时钟破坏可重现性。 -旧输出的 ``config/.config`` 可复制为新输出的 ``.config``,再 olddefconfig。 +改变内核后缀可传入 ``EXTRAVERSION`` 与 ``LOCALVERSION``。 +``SOURCE_DATE_EPOCH`` 默认取当前提交时间,固定输入与时间产生一致的构建身份。 +更新包序号默认为主仓提交的第一父提交链长度;浅克隆发布时通过 +``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` 提供递增序号。软件包和引导归属 +规则见 :doc:`building`。 diff --git a/Documentation/kbuild/memory-testing.rst b/Documentation/kbuild/memory-testing.rst index 7393f853..bedd7e45 100644 --- a/Documentation/kbuild/memory-testing.rst +++ b/Documentation/kbuild/memory-testing.rst @@ -3,7 +3,7 @@ ============================ 这些入口用于独占、可丢弃的 ReliefOS 来宾,不是生产启动路径。内核探针源码位于 -``kernel/reliefnt/tools/tests/``;使用正式 SDK 的 ``bin/reliefos-musl-cc`` 构建, +``kernel/reliefnt/tools/tests/``;使用隔离 Arch 构建根的 glibc 工具链构建, 不要在宿主上执行来宾压力探针。将构建、宿主测试和内存测量分时进行,并记录 配置、磁盘、内核、模块、initramfs、工作负载和实际平台。单次成功只覆盖实际运行的 配置和用例。 @@ -45,7 +45,7 @@ QEMU 编排 ========= ``tools/test_memory_qemu.py`` 消费已有标准磁盘、内核 payload/ESP cohort、所选 -``kernel.sys`` 以及由 SDK 编译好的 lifecycle、pressure 和 OOM 可执行文件。 +``kernel.sys`` 以及由 glibc 工具链编译好的 lifecycle、pressure 和 OOM 可执行文件。 它在新输出目录内制作私有磁盘并逐项读回载荷;不改写源盘,不编译、不下载、不修改 用户磁盘。每次准备生成随机 nonce。来宾 workload 由调用方提供,它应使用 ``MEMORY_QA_NONCE`` 生成自己的文件名,检查每个命令的返回值并在完成或错误时处理 diff --git a/Documentation/kbuild/products.rst b/Documentation/kbuild/products.rst index 0f46d3de..5b07ad0e 100644 --- a/Documentation/kbuild/products.rst +++ b/Documentation/kbuild/products.rst @@ -1,46 +1,23 @@ -========== -目标与输出 -========== - -产品 -==== - -输出均相对于 O: - -* ``kernel``:generated/system 内核与独立调试符号。 -* ``runtime`` / ``userland``:公共运行库与所选应用。 -* ``sdk``:packages/reliefos-musl-sdk.tar.gz。 -* ``apk-repo``:packages/apk/repository。 -* ``rootfs``:rootfs/managed 与 manifest.json。 -* ``image-vmdk``:images/reliefos.raw 与 images/reliefos.vmdk。 -* ``iso``:images/reliefos-live.iso。 -* ``installer``:images/reliefos-installer.iso。 -* ``rpr-pages``:独立 RPR 机器接口和人类页面。 -* ``pages``:pages/ 网站,包括下载、RPR 与 Sphinx 文档。 -* ``htmldocs``:Documentation/html/,只构建手册,不构建镜像。 - -all 包含 SDK 和三类镜像;release 再包含网站,均不自动上传。 -文档与 Pages 的 Sphinx 依赖不影响单独构建内核和用户态。 - -运行与发布 -========== - -``make run``、run-iso、run-installer 启动对应介质。 -默认 ``QEMU_BOOT=uefi`` 使用 OVMF;``QEMU_BOOT=bios`` 使用 SeaBIOS。 -可覆盖 CPUS、MEMORY 和 QEMU 变量;无 KVM 的宿主用 ``QEMU_KVM=0``。 - -RPR、下载页与文档组装为一个 Pages 输出;RPR 签名、APK 索引和内核摘要保持 -机器契约,不因文档主题更换而改变。发布目标要求内核 clean 且等于主仓 gitlink。 -真实版本发布见 :doc:`../process/releasing`。 - -文档与 RPR -========== - -完整 Pages 网站分别从主仓 Documentation/ 和所选 ReliefNT 仓库的 Documentation/ -读取源文档,生成 docs/reliefos/ 与 docs/reliefnt/,docs/index.html 是产品入口。 -两份手册使用各自的 Sphinx 配置和版本,不把内核源文档复制到主仓维护。 -RPR 首页及内核下载页链接到相应手册,APK 索引、公钥、health 与内核发布元数据 -路径保持原协议。独立 rpr-pages 仍只装配包和内核子树,可供 RPR 客户端使用; -页面中的站点导航和文档链接依赖完整 Pages 父目录,预览完整网站应使用 pages。 -完整手册由 pages 发布。 -任一手册构建失败时,保留上次完整网站,不发布部分文档。 +================== +目标与构建产物 +================== + +产品默认写到 ``O=out/arch-root/x86_64/release``。改用其他输出目录时, +在下载、构建、签名、装配和运行各步使用同一个 ``O``。 + +* ``make build`` 构建内核、GRUB、运行库和应用,发布开发用 + ``packages/arch/*.pkg.tar.zst`` 与 ``kernel-install/install.bundle.json``。 +* ``make sdk`` 生成供开发使用的 ``libreliefos`` 软件包,见 :doc:`sdk`。 +* ``make rpr-testing`` 用显式选定的密钥生成 ``rpr-testing//``。 + 快照含 Arch 包、仓库数据库、公开密钥、分离签名和完整文件校验清单。 +* ``make rootfs`` 消费指定签名快照,输出 + ``arch-rootfs/reliefos-systemd-rootfs*.tar.zst``。 +* ``make image-vmdk`` 消费对应桌面配置的 rootfs 归档,生成 + ``images/reliefos.raw`` 和 ``images/reliefos.vmdk``。 +* ``make installer`` 从签名快照组装图形和文本安装介质,输出 + ``images/reliefos-installer.iso``。 +* ``make all`` 连续构建、签名并生成磁盘镜像和安装 ISO。 +* ``make pages`` 从现有签名仓库和产物装配本地站点。``make release`` 在 + 核对内核 gitlink 后执行完整构建与站点组装。线上发布按 :doc:`../process/releasing` 进行。 + +准备密钥、快照和来宾可访问地址的方法见 :doc:`building`。 diff --git a/Documentation/kbuild/sdk.rst b/Documentation/kbuild/sdk.rst index 83d78b47..e7eaa9ad 100644 --- a/Documentation/kbuild/sdk.rst +++ b/Documentation/kbuild/sdk.rst @@ -1,25 +1,21 @@ -================ -SDK 与用户态移植 -================ +==================== +glibc 应用开发 +==================== -消费 SDK -======== +在仓库根执行 ``make fetch`` 和 ``make sdk``。开发包在 +``O/packages/arch/``,实际文件名记录于 ``libreliefos-current``。 +安装后头文件在 ``/usr/include/reliefos/``,共享库在 ``/usr/lib/``, +SONAME 为 ``libreliefos.so.2``。开发包同时包含链接器使用的 +``libreliefos.so`` 符号链接。 -SDK 为可重定位 musl sysroot,C 驱动 ``reliefos-musl-cc`` 按自身位置找头与库。 -验证时必须真正编译、链接和运行适当探针,覆盖带空格的重定位路径、动态与 -``-static``;成功列出归档成员不能替代消费验证。 -公开头通过白名单导出,不复制内核私有头。 +在 ReliefOS 或隔离的 Arch/glibc 开发环境中使用 GCC 或 Clang。 +在软件包来自已签名 RPR 时,通过 ``pacman -S libreliefos`` 安装。 +从本地签名发布构建到 sysroot 和软件包验证的步骤见 :doc:`building`。 -库与 ABI -======== +使用 ReliefOS 接口的 C 应用包含相应 ```` 头并链接 +``-lreliefos``。POSIX 接口直接使用 glibc 标准头与库。应用若直接引用 +zlib、libpng、SQLite、X11 或其他共享库,应按其开发文档显式链接该库。 -目标环境使用 musl、mimalloc 和 ReliefOS 扩展库。保持实际 SONAME 与动态 -装载依赖,不用宿主 glibc 库冒充目标产物。旧库与旧转发头的兼容范围见 -:doc:`../userspace-api/abi`。新接口需同步公开头、运行库、内核实现、消费者、 -头导出及包归属,不能只改声明。 - -SDK 同时携带锁定版本的 zlib、libpng、SQLite、mbedTLS 3 头文件、动态库和静态库。 -驱动为扩展库补全 PNG、zlib、mbedTLS 的传递链接依赖;直接使用 SQLite 的程序 -仍需传入 ``-lsqlite3``。开发包的来源元数据位于 ``share/reliefos/sdk/apk``, -许可位于 ``share/licenses``。所有 mbedTLS 消费者必须使用随包配置头,不能使用 -旧私有 ``MBEDTLS_CONFIG_FILE`` 配置改变结构布局。 +自研程序仍从根 Makefile 进入 Kbuild。添加程序时在本目录的 Kbuild +声明对象,在 ``tools/build/arch-applications.list`` 和对应 PKGBUILD +声明需要交付的包与依赖。接口归属见 :doc:`../userspace-api/abi`。 diff --git a/Documentation/kbuild/smp-measurement.rst b/Documentation/kbuild/smp-measurement.rst index b6121303..c9706a8a 100644 --- a/Documentation/kbuild/smp-measurement.rst +++ b/Documentation/kbuild/smp-measurement.rst @@ -4,10 +4,10 @@ SMP 整机测量与输入身份 ``tools/test_smp_latency_qemu.py`` 在单独复制的系统镜像中运行有限次工作负载, 不构建内核或获取软件包。开始前需准备独立、不可变的 root ``kernel-payload`` -目录和与之匹配的 ESP ``boot-payload`` 目录,以及已安装官方 GCC、make、musl +目录和与之匹配的 ESP ``boot-payload`` 目录,以及已安装官方 GCC、make、glibc 开发头文件、binutils、FFmpeg(含 libx264)、Xorg 和 IceWM 的来宾磁盘。宿主机 -需要 QEMU、e2fsprogs、dosfstools、mtools、``grub-editenv``、目标 musl sysroot、正式 SDK 和 -目标 X11 开发文件。源镜像可以是 raw 或单文件 VMDK;外部 extent 和 backing +需要 QEMU、e2fsprogs、dosfstools、mtools、``grub-editenv``、准备好的 Arch 构建根和 +它提供匹配的 glibc 和 X11 开发文件。源镜像可以是 raw 或单文件 VMDK;外部 extent 和 backing 链无法由单个文件哈希标识,因此会被拒绝。 源盘如果已含所选 release 的内核或模块目录,工具也会拒绝注入,避免保留 清单之外的旧文件;请使用不含该 release 的干净用户态镜像。 @@ -20,7 +20,6 @@ SMP 整机测量与输入身份 --image "$SOURCE_IMAGE" --source-sha256 "$SOURCE_SHA256" \ --kernel "$COHORT_ROOT/usr/lib/reliefos/kernel/$RELEASE/kernel.sys" \ --kernel-payload "$COHORT_ROOT" --boot-payload "$COHORT_ESP" \ - --sysroot "$SYSROOT" --sdk "$SDK" --x11-root "$X11_DEVELOPMENT_ROOT" \ --out "$NEW_OUTPUT_DIRECTORY" --expect-profiler both \ --cpus 4 --repeat 3 --jobs 4 --timeout 1800 --prepare-only @@ -38,8 +37,7 @@ VMware 中运行;VMware 的超时控制、串口采集与关闭由操作者负 ``--jobs 0`` 在固定 32 个翻译单元上使用无参数 ``make -j``;其余取值是作业数。 输出记录配置、镜像和源文件身份,保留准备日志、完整 root 和 ESP 回读、 串口、QEMU 日志以及失败结果。内核、initramfs、模块数据库、两个启动槽、 -版本文件和清单在启动前核对;不重写 GRUB 或固件。私有副本中禁用原来的 -``smp-setup``、DHCP、NTP 和图形会话启动链接,并离线删除旧的 :0 socket、 +版本文件和清单在启动前核对;不重写 GRUB 或固件。私有副本使用 systemd 的 multi-user.target,并离线删除旧的 :0 socket、 锁文件和 ``Xorg.0.log``;源盘不变。来宾将 gcc、make、as、ld、ffmpeg 和 ffprobe 的完整版本输出与退出状态写入串口并保存在解析结果中,缺失或失败 的版本记录会使测量失败。串口原始日志完整保留;解析遥测块时只跳过符合 @@ -78,18 +76,8 @@ p95、p99 和最大值。页故障样本包含探针自己的内容检查和读 桌面与编译优先级 ================ -正常图形启动由 root 所有的 ``reliefos-xdm`` 使用现有 BusyBox ``renice`` -将自身设为 nice=-10,XDM、Xorg 的线程及 IceWM 继承这个普通调度优先级。 -不切换到实时调度。``Xsession`` 在启动 IceWM 后、启动初始终端前将自身 -恢复为 nice=0;IceWM 的菜单与快捷键终端入口同样先恢复为 nice=0。 -因此终端中执行的 shell、``make -j`` 及其编译器子进程使用正常优先级。 -无法调整优先级时仍继续启动会话,不因权限或工具不可用而中断登录。 - -该策略优先处理繁忙时的显示与窗口事件,交互繁忙时可能让出部分编译吞吐。 -验收应在正常 XDM 登录链中只读取 ``getpriority`` 的实际值,覆盖 Xorg 的 -输入线程、IceWM 和终端;由测试脚本临时修改优先级的实验不能代替此检查。 -Fileman 导航应核对应用提交后的窗口标题和实际截图,避免仅依赖 OCR 对 -中文、路径或小字体的识别结果。 +XDM 由 systemd 启动。IceWM 启动终端时使用 util-linux 的 ``renice``,将编译等终端任务恢复到一般优先级。 +验收以实际登录会话中 Xorg、IceWM 和终端的优先级为准。 诊断节点使用独立的原始 ``tsc_cycles``,各 CPU 的 TSC 不假定同步,不换算成 用户态延迟。每次先停止采样再重新打开快照;因停止可能截断已取得锁的样本, diff --git a/Documentation/kbuild/third-party.rst b/Documentation/kbuild/third-party.rst index 698dcefc..e0f6c119 100644 --- a/Documentation/kbuild/third-party.rst +++ b/Documentation/kbuild/third-party.rst @@ -1,74 +1,20 @@ -================ -第三方软件与归属 -================ - -来源 -==== - -依赖下载身份由 ``configs/dependencies.lock.json`` 给出,源码子模块由 -``.gitmodules`` 和 gitlink 固定。fetch 校验摘要;原生生产目标只消费已验证缓存。 -Linux 6.12 Kbuild/Kconfig 的来源与逐文件摘要见 ``scripts/kbuild-source.json``。 -不能直接修改上游引擎来绕过项目边界。 - -``make fetch-check`` 检查锁定下载地址的可用性,不比较上游版本。 -依赖升级需要另行核对对应 Alpine 仓库索引或上游正式发布,并同步版本、 -下载地址、SHA256、补丁和构建适配中的版本信息。APK 同时验证官方签名; -运行库与开发包采用匹配版本,升级后重新检查构建与运行行为。 - -当前 GRUB 2.16 的 EFI 路径使用 GOP;上游已移除仅用于旧固件的 UGA 支持, -镜像模块清单不再请求 ``efi_uga``。Legacy BIOS 的引导路径保持独立。 - -musl、BusyBox、GRUB、认证库等保留各自原生构建与 -移植边界。目标程序与开发 SDK 的 staging 不可混用。上游 README、许可证、 -COPYING、归属和字体许可是来源资料,保留原文,不属于待清理的过程报告。 - -musl 的互斥锁属性探测补丁将内核缺少 PI futex 的 ``ENOSYS`` 转换为 -POSIX 的 ``ENOTSUP``,以便 PulseAudio 等调用者回退到普通互斥锁。 -该补丁不伪装成已实现优先级继承,也不改变其他 futex 错误。补丁及摘要由 -依赖锁管理;已有镜像需要重新构建 musl 和系统包才会取得此修正。 - -ReliefPlayer 的 MP4 解码使用官方 FFmpeg 8.1.3 源码,以 LGPL 配置构建 -``avformat``、``avcodec``、``avutil``、``swresample`` 和 ``swscale``。 -源码 tag、commit、归档摘要和许可证由依赖锁固定;构建使用独立的 ``-reliefplayer`` -库名和 SONAME,避免与用户安装的完整 FFmpeg 运行库发生文件及提供者冲突。 -只将选中的播放器所需运行库与 LGPL 原文装入 ``reliefos-media-codecs`` 包, -不向镜像发布 FFmpeg 命令行程序或开发头文件。 - -移植与打包 -========== - -添加依赖时同步获取锁、配置/组件、Kbuild 适配、运行路径、包归属、 -动态库依赖、桌面入口及许可证。不要仅为安装成功关闭上游验证。 -标准控制台工具没有必要伪装成自研图形应用或分配桌面图标。 -上游源码修订先在其仓库提交并推送,再更新父仓引用。 - -预编译基础依赖 -============== - -sl、ncurses、zlib、libpng、SQLite 和 mbedTLS 3 使用 Alpine v3.24 x86_64 的 -原始签名 APK;不再初始化对应的六个源码子模块。准确版本与 SHA256 均在依赖锁中。 -运行时 APK 经过 ``upstream-apk`` 校验;``runtime-development`` 仅从锁定且通过 -官方签名校验的运行、dev 和 static 包暂存匹配的头文件与库,不将开发树覆盖到来宾。 -生产构建离线消费缓存,缺包时先执行 ``make fetch``。 - -``libreliefos.so.2`` 和 ``libleonos.so.2`` 通过 ELF NEEDED 引用独立的 PNG、zlib、 -mbedTLS 库。所有使用方采用 ``mbedtls3-dev`` 的配置头;不能继续定义旧的 ALT 配置, -也不能混用 main 仓库的 mbedTLS 4.x。时钟、熵和线程接口由官方库经 musl/内核获取, -证书链、域名、有效期验证继续生效。 - -ReliefMail 链接标准 ``libsqlite3.so.0``,不再单独编译 amalgamation 或旧的 -``sqlite.so.3`` 自定义 VFS。数据库继续使用 DELETE journal、FULL synchronous、 -foreign_keys,并显式设置 ``mmap_size=0``。扩展库的厂商私有符号不是稳定 ABI, -需要使用它们的外部应用应针对独立库及同版本头文件重新构建。 - -``component:sl``、``component:ncurses``、``component:sqlite`` 锁特性由镜像的 -``etc/reliefos/apk-components`` 选择,保留 BUILD/IMAGE 的组件约束;运行库的 -基础依赖在控制台和桌面配置中均可用。命令和库由官方包直接提供,不生成本地 -包装包、注册表包装入口或迁移说明载荷。离线更新器迁移旧 world 请求并卸载旧包, -保留独立的许可证文本。许可证在 ``resources/licenses``, -SDK 另带原始 ``.PKGINFO`` 记录;源码和构建配方可从对应 Alpine aports 获取。 - -目标 ABI 使用实际 SDK 在 Linux/QEMU 验证。带 ASan 的 glibc 宿主测试不能链接 musl -静态归档,因此 ``host-runtime-development`` 从锁定的同版本 SQLite/mbedTLS 发布归档 -构建原生测试库(使用官方配置);该目标仅属于测试,不参与系统、SDK 或发行包构建。 -可通过 ``RELIEFOS_TEST_DEP_ROOT`` 指向其他 O 的 ``host/runtime-development``。 +================== +第三方来源与归属 +================== + +隔离的 Arch 构建根在 ``tools/build/arch-root.Dockerfile`` 固定官方基础 +镜像摘要。工具链和系统依赖由 pacman 从签名的 Arch 仓库安装。 +第一次准备工具链时使用当前镜像站索引。同一配方复用本地构建镜像。 + +ReliefNT 及直接导入的应用源码使用 Git 记录的提交。GRUB 来自 +``configs/grub.lock.json`` 记录的上游归档,构建前校验 SHA-256,并应用 +配套补丁。``configs/application-sources.lock.json`` 与各 PKGBUILD +记录其余直接构建的应用源码,例如 st、paru 和 Nuked OPL3。 +paru 的 Rust 依赖由其固定上游提交中的 ``Cargo.lock`` 确定。 + +获取或更新依赖使用 ``make fetch``。常规 ``make build`` 在无网络的 +构建容器内消费已准备好的输入。打包依赖和软件包归属由 Arch PKGBUILD +声明,来宾从官方仓库和签名 RPR 安装。 + +向本仓引入或更新第三方源码时,同步维护来源、完整性信息和许可证。 +``NOTICE`` 记录项目直接再分发的来源,归档的第三方文本保留上游措辞。 diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/accounts.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/accounts.po index dceec5e5..9f945f72 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/accounts.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/accounts.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:37+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "账户与管理员权限" msgstr "Accounts and Administrator Privileges" @@ -19,50 +22,9 @@ msgstr "Accounts and Administrator Privileges" msgid "日常身份" msgstr "Everyday User Identity" -msgid "" -"使用普通账户登录,按操作通过 sudo 提权。系统使用 PAM、shadow 和 标准用户/组资料,root 账户与普通账户权限不同。图形设备授权需核对" -" ``video`` 组(GID 44);wheel 组的 sudo 权限仍要求密码认证。不要覆盖已有账户库来套用示例。 " -"密码不得出现在命令行、环境、串口或调试日志中。" -msgstr "" -"Log in with a regular account and use sudo to elevate privileges for " -"individual operations. The system uses PAM, shadow, and standard user/group " -"records; root and regular accounts have different privileges. Check " -"membership in the ``video`` group (GID 44) for graphics device access; sudo " -"privileges for the wheel group still require password authentication. Do not" -" overwrite an existing account database to apply an example. Passwords must " -"never appear in command lines, the environment, serial output, or debug " -"logs." - -msgid "测试镜像账户" -msgstr "Test Image Accounts" - -msgid "" -"独立测试镜像可包含公开夹具账户: ``test/test`` (UID/GID 1000, wheel/video 补充组)、 " -"``root/root``,以及锁定的 nobody。 它们只用于 VMDK/普通镜像的独立测试账户装配,不属于安装器部署后的真实密码。 " -"安装器按用户选择创建账户;公开测试账户不能当作安全部署默认值。" -msgstr "" -"Standalone test images may contain public fixture accounts: ``test/test`` " -"(UID/GID 1000, with wheel/video supplementary groups), ``root/root``, and a " -"locked nobody account. These are used only to provision standalone test " -"accounts in VMDK/regular images; they are not the actual passwords of an " -"installation deployed by the installer. The installer creates accounts " -"according to the user's choices; public test accounts must not be treated as" -" secure deployment defaults." - msgid "授权边界" msgstr "Authorization Boundaries" -msgid "" -"能打开应用不代表能修改块设备或系统配置。普通文件访问由内核 DAC 和 描述符模式检查;重读分区表要求 CAP_SYS_ADMIN。Diskmgr " -"的普通用户窗口只读, 管理员操作需该用户已有 sudo 授权。详见 :doc:`../applications/diskmgr`。" -msgstr "" -"Being able to open an application does not imply permission to modify block " -"devices or system configuration. The kernel checks DAC and descriptor modes " -"for ordinary file access; rereading the partition table requires " -"CAP_SYS_ADMIN. Diskmgr windows opened by regular users are read-only, and " -"administrative operations require that user to already have sudo " -"authorization. See :doc:`../applications/diskmgr`." - msgid "操作权限矩阵" msgstr "Operation Permission Matrix" @@ -76,42 +38,54 @@ msgstr "" "Reading or writing an open descriptor: a matching access mode is still " "required; O_PATH grants no read or write capability." -msgid "root 的可写块描述符:允许标准原始写入,不再要求旧桌面角色或安装器标志。" -msgstr "" -"Writable block descriptors held by root: standard raw writes are allowed; " -"legacy desktop roles or installer flags are no longer required." - msgid "BLKRRPART:另检查 CAP_SYS_ADMIN;仅有可写 fd 不足以重读分区表。" msgstr "" "BLKRRPART: CAP_SYS_ADMIN is checked separately; a writable fd alone is " "insufficient to reread the partition table." -msgid "Diskmgr 提权:验证调用用户已有的 sudo 授权;错误或取消不改变原窗口身份。" +msgid "" +"使用普通账户登录,需要时在终端通过 sudo 提权。系统使用 Arch 提供的 PAM、shadow 和标准用户组资料。wheel 组的 sudo" +" 权限要求密码认证。systemd-logind 管理图形会话及设备访问。 密码不得出现在命令行、环境、串口或调试日志中。" msgstr "" -"Diskmgr privilege elevation: the calling user's existing sudo authorization " -"is verified; errors or cancellation leave the original window's user " -"identity unchanged." +"Use a regular account and elevate with sudo in the terminal when needed. " +"The system uses Arch's PAM, shadow, and standard user and group records. " +"Members of wheel authenticate with a password when using sudo. systemd-" +"logind manages graphical sessions and device access. Passwords must stay " +"out of command lines, environment variables, serial output, and debug " +"logs." + +msgid "安装后的账户" +msgstr "Accounts After Installation" msgid "" -"可执行文件的组 ID 不授予窗口服务器或服务身份。旧保留服务组不再由系统镜像创建; 已有文件的属组仍按普通 Linux DAC 语义处理。sudo " -"的图形提示由普通用户运行的 FLTK 辅助程序提供,密码仅经标准输出管道交给 sudo;控制台 PAM 兼容会话使用 上游 libpam_misc " -"的终端会话实现。" +"安装器按向导中的设置创建普通账户和 root 账户,使用 yescrypt 把密码保存到 ``/etc/shadow``。 " +"开发镜像的自动测试可以在临时副本中创建测试账户。" msgstr "" -"An executable's group ID does not grant the identity of the window server or" -" a service. System images no longer create the legacy reserved service " -"groups; group ownership of existing files is still handled using ordinary " -"Linux DAC semantics. Graphical sudo prompts are provided by an FLTK helper " -"running as a regular user, which passes the password to sudo only through a " -"standard-output pipe. Console PAM-compatible sessions use the upstream " -"libpam_misc terminal conversation implementation." +"The installer creates a regular account and the root account using the " +"wizard settings and stores their passwords as yescrypt hashes in " +"``/etc/shadow``. Automated tests can create test accounts in a disposable" +" copy of a development image." msgid "" -"sudo 保留 PAM 认证及其账户、会话检查,支持现有 yescrypt 密码。 密码提示及其翻译由上游 sudo/PAM 提供,ReliefOS 的图形辅助程序原样显示提示, " -"不替换为自定义的“密码:”。默认 askpass 路径为 ``/usr/lib/reliefos/apps/reliefaskpass/reliefaskpass.elf``;旧配置中指向 " -"``sudod`` 的路径仍可原样转发提示,升级不会覆盖管理员修改过的配置。" +"普通文件访问由内核检查 DAC 权限及描述符模式。重读分区表要求 CAP_SYS_ADMIN。 Diskmgr、文件管理器和 " +"ReliefPackages 使用 polkit 授权需要管理员权限的操作。 详见 :doc:`../applications/diskmgr`。" +msgstr "" +"The kernel checks DAC permissions and descriptor modes for ordinary file " +"access. Rereading a partition table requires CAP_SYS_ADMIN. Diskmgr, the " +"file manager, and ReliefPackages use polkit to authorize administrative " +"operations. See :doc:`../applications/diskmgr`." + +msgid "root 的可写块描述符:允许标准原始写入。" +msgstr "Writable block descriptors held by root allow standard raw writes." + +msgid "Diskmgr 提权:polkit 授权后由专用辅助程序执行磁盘操作,图形窗口以普通账户运行。" +msgstr "" +"Diskmgr elevation: a dedicated helper performs the disk operation after " +"polkit authorization. The graphical window runs under the regular " +"account." + +msgid "图形授权提示由桌面会话的 polkit 认证代理显示。控制台登录和 sudo 使用系统 PAM 配置。" msgstr "" -"sudo retains PAM authentication and its account and session checks, including support for existing yescrypt passwords. " -"Password prompts and their translations come from upstream sudo/PAM. The ReliefOS graphical helper displays each prompt unchanged, " -"without substituting a custom password label. The default askpass path is " -"``/usr/lib/reliefos/apps/reliefaskpass/reliefaskpass.elf``. Paths pointing to ``sudod`` in older configurations still forward the prompt unchanged; " -"upgrades preserve administrator-modified configuration." +"The desktop session's polkit authentication agent displays graphical " +"authorization prompts. Console login and sudo use the system PAM " +"configuration." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/coreutils.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/coreutils.po index 5a112468..5c7d235c 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/coreutils.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/coreutils.po @@ -4,294 +4,39 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgid "GNU coreutils 与 BusyBox" -msgstr "GNU coreutils and BusyBox" - -msgid "命令与文件归属" -msgstr "Commands and File Ownership" - -msgid "" -"系统安装锁定的 GNU coreutils 9.12 全部 109 个命令入口,包括 ``[``、 " -"``test``、``arch``、``hostname``、``kill``、``uptime`` 与 ``coreutils`` " -"分发器。完整清单位于源码 ``userland/coreutils/programs.list``,构建时与 " -"锁定上游归档的程序清单比较,缺失任意入口或辅助库都会使构建失败。" -msgstr "" -"The system installs all 109 command entry points from the pinned GNU " -"coreutils 9.12, including ``[``, ``test``, ``arch``, ``hostname``, ``kill``," -" ``uptime``, and the ``coreutils`` dispatcher. The complete list is in " -"``userland/coreutils/programs.list`` in the source tree. At build time it is" -" compared with the program list in the pinned upstream archive; any missing " -"entry point or helper library causes the build to fail." - -msgid "" -"``/usr/bin/coreutils`` 是实际 ELF,其余 GNU 入口使用上游 single-binary symlink " -"模式指向它。``stdbuf`` 的预加载库安装在 " -"``/usr/libexec/coreutils/libstdbuf.so``;程序、链接、文档和许可证由 ``reliefos-coreutils``" -" APK 管理。" -msgstr "" -"``/usr/bin/coreutils`` is the actual ELF binary; the other GNU entry points " -"use upstream single-binary symlinks pointing to it. The preload library for " -"``stdbuf`` is installed at ``/usr/libexec/coreutils/libstdbuf.so``. " -"Programs, links, documentation, and licenses are managed by the ``reliefos-" -"coreutils`` APK." - -msgid "" -"根文件系统没有合并 ``/bin`` 与 ``/usr/bin``。原先由 BusyBox 提供的 " -"``/bin/cat``、``/bin/cp``、``/usr/sbin/chroot`` 等旧路径保留为指向 GNU 入口的相对链接,并转交同一个 " -"coreutils 包。链接生成阶段不会再为同名 GNU 命令生成 BusyBox 入口。其他命令与 BusyBox 的 " -"``sh``、启动及救援功能保持可用。" -msgstr "" -"The root filesystem does not merge ``/bin`` and ``/usr/bin``. Legacy paths " -"formerly supplied by BusyBox, such as ``/bin/cat``, ``/bin/cp``, and " -"``/usr/sbin/chroot``, remain as relative links to GNU entry points and are " -"transferred to the same coreutils package. Link generation no longer creates" -" BusyBox entry points for GNU commands of the same name. Other commands and " -"BusyBox's ``sh``, boot, and rescue functions remain available." - -msgid "在终端中检查外部入口和 APK 归属::" -msgstr "Check external entry points and APK ownership in a terminal::" - -msgid "" -"``echo``、``printf``、``test``、``pwd`` 等名称也可能是 Bash/ash 内建命令。 需要明确调用 GNU 版本时使用" -" ``/usr/bin/printf`` 等绝对路径。显式 ``/bin/busybox NAME`` 仍调用 BusyBox " -"applet;更新和救援脚本需要此入口。 不要用 ``busybox --install`` 覆盖系统已经登记的文件。" -msgstr "" -"Names such as ``echo``, ``printf``, ``test``, and ``pwd`` may also refer to " -"Bash/ash builtins. Use absolute paths such as ``/usr/bin/printf`` to " -"explicitly invoke the GNU version. Explicit ``/bin/busybox NAME`` still " -"invokes a BusyBox applet; update and rescue scripts need this entry point. " -"Do not use ``busybox --install`` to overwrite files already registered by " -"the system." - -msgid "升级与兼容性" -msgstr "Upgrades and Compatibility" - -msgid "" -"新的 BusyBox 包依赖 ``reliefos-coreutils``,GNU 包声明接管旧 BusyBox 包的 重叠文件,使 APK " -"在正常事务中转移所有权,无需强制覆盖。不要手工删除 BusyBox ELF 或剥离它的内置 applet;显式救援调用仍依赖它们。 发行包与 " -"Alpine 的 ``coreutils``、``coreutils-single`` 声明冲突,避免两个 包同时提供 GNU 入口。使用系统的 " -"``reliefos-coreutils`` 包进行更新。" -msgstr "" -"The new BusyBox package depends on ``reliefos-coreutils``, and the GNU " -"package declares that it takes over overlapping files from the old BusyBox " -"package, allowing APK to transfer ownership in normal transactions without " -"forced overwrites. Do not manually delete the BusyBox ELF or strip its " -"built-in applets; explicit rescue calls still depend on them. The " -"distribution package declares conflicts with Alpine's ``coreutils`` and " -"``coreutils-single`` to prevent two packages from supplying the GNU entry " -"points simultaneously. Update using the system's ``reliefos-coreutils`` " -"package." - -msgid "" -"GNU 与 BusyBox 的选项集合不完全相同。例如 GNU ``hostname`` 接受主机名参数, 不支持 BusyBox 的 " -"``-F``。系统初始化对现有主机名文件的读取显式使用 ``/bin/busybox hostname -F " -"/etc/hostname``;自定义脚本也应选择正确的实现。" -msgstr "" -"GNU and BusyBox do not support exactly the same options. For example, GNU " -"``hostname`` accepts a hostname argument but does not support BusyBox's " -"``-F``. System initialization explicitly uses ``/bin/busybox hostname -F " -"/etc/hostname`` to read the existing hostname file; custom scripts should " -"likewise choose the appropriate implementation." - -msgid "终端颜色" -msgstr "Terminal Colors" - -msgid "" -"交互式 Bash 通过 ``/etc/bash/colors.sh`` 为 ``ls``、``dir``、``vdir`` 设置 " -"``--color=auto`` 别名,文件类型和扩展名颜色使用 GNU ``dircolors`` 的默认数据库。配置由系统 bashrc " -"加载,新账户和已有账户均在重新打开 终端后生效;当前终端也可执行 ``. /etc/bash/colors.sh``。" -msgstr "" -"Interactive Bash sets ``--color=auto`` aliases for ``ls``, ``dir``, and " -"``vdir`` through ``/etc/bash/colors.sh``. File-type and extension colors use" -" GNU ``dircolors``' default database. The system bashrc loads this " -"configuration; it takes effect for both new and existing accounts when a new" -" terminal is opened. To apply it in the current terminal, run ``. " -"/etc/bash/colors.sh``." - -msgid "" -"自动模式只在命令输出到终端时着色,管道和文件重定向保持纯文本。 非交互脚本不加载这些别名;``command ls`` 或 " -"``/usr/bin/ls`` 可以直接 调用外部命令,``ls --color=never`` 可关闭本次输出的颜色。" -msgstr "" -"Automatic mode adds colors only when output goes to a terminal; pipes and " -"file redirection retain plain text. Noninteractive scripts do not load these" -" aliases. Use ``command ls`` or ``/usr/bin/ls`` to call the external command" -" directly, or ``ls --color=never`` to disable colors for that invocation." - -msgid "" -"已有的 ``LS_COLORS``、``LESS``、同名别名和函数不会被覆盖。 未设置 ``LESS`` 时使用 ``-R``,允许分页器显示 " -"ANSI 颜色。 启动 shell 前设置 ``TERM=dumb``、不设置终端类型或设置非空 ``NO_COLOR`` 会跳过默认颜色配置。GNU " -"9.12 的帮助包含超链接控制序列,当前 st 不支持该扩展; 可用 ``TERM=dumb ls --help | less`` " -"查看纯文本帮助,其他命令的颜色不受影响。" -msgstr "" -"Existing ``LS_COLORS``, ``LESS``, and aliases or functions of the same names" -" are not overwritten. If ``LESS`` is unset, ``-R`` is used to allow the " -"pager to display ANSI colors. Setting ``TERM=dumb``, leaving the terminal " -"type unset, or setting a nonempty ``NO_COLOR`` before starting the shell " -"skips the default color configuration. GNU 9.12 help includes hyperlink " -"control sequences, an extension not currently supported by st. Use " -"``TERM=dumb ls --help | less`` for plain-text help without affecting the " -"colors of other commands." - -msgid "" -"``fdisk``、``sfdisk`` 保持 util-linux 原有的自动颜色及 ``terminal-colors.d`` 用户配置。本镜像中的" -" ``grep``、``diff``、``tree``、 ``dmesg`` 和 ``cal`` 为 BusyBox 实现,没有实际着色功能;不为其添加" -" 无效选项,也不强制为纯文本工具插入转义序列。" -msgstr "" -"``fdisk`` and ``sfdisk`` retain util-linux's original automatic colors and " -"``terminal-colors.d`` user configuration. In this image, ``grep``, ``diff``," -" ``tree``, ``dmesg``, and ``cal`` are BusyBox implementations without actual" -" coloring support. No ineffective options are added to them, and escape " -"sequences are not forcibly inserted into plain-text tools." - -msgid "功能边界" -msgstr "Functional Boundaries" - -msgid "" -"启用所有命令入口不代表内核实现所有扩展。``chcon`` 和 ``runcon`` 使用 上游没有 libselinux 时的实现,对实际 " -"SELinux 操作返回失败;ReliefNT 当前 不提供 SELinux。不能把这两个命令能够显示版本解释为安全上下文操作可用。" -msgstr "" -"Enabling every command entry point does not mean that the kernel implements " -"every extension. ``chcon`` and ``runcon`` use upstream's implementation for " -"builds without libselinux and fail on actual SELinux operations; ReliefNT " -"currently provides no SELinux support. The ability of these commands to " -"display version information must not be taken to mean that security context " -"operations are available." +"Generated-By: Babel 2.18.0\n" -msgid "" -"本构建保持禁用 NLS、ACL 和扩展属性集成。普通权限、用户/组、文件操作、文本、 编码、校验和等使用真实 GNU " -"实现;依赖具体文件系统、设备或内核功能的选项, 仍以实际系统支持及命令退出码为准。" -msgstr "" -"This build keeps NLS, ACL, and extended-attribute integration disabled. " -"Standard permissions, users/groups, file operations, text, encoding, and " -"checksums use genuine GNU implementations. Options that depend on particular" -" filesystems, devices, or kernel features remain subject to actual system " -"support and command exit status." +msgid "GNU 基础命令" +msgstr "GNU core utilities" msgid "" -"目标代码使用 x86-64 的 x87/SSE 基线。可选的 CPU 分发 CRC 后端会引入宿主 compiler-rt 的预编译 CPU " -"检测构造函数,该函数的 ISA 不受目标 ``-mno-avx`` 约束,因此交叉构建使用上游通用 CRC 路径。此设置保留 CRC 计算功能, " -"也避免在尚未保存 AVX 状态的内核中执行 AVX 指令。" +"ReliefOS 从 Arch 官方仓库安装 GNU coreutils、Bash 和 util-linux。 " +"``/bin``、``/sbin`` 和 ``/usr/sbin`` 都指向 ``/usr/bin``,软件包在该目录拥有命令文件。 Linux " +"设备和文件系统工具随各自的官方软件包更新。" msgstr "" -"Target code uses the x86-64 x87/SSE baseline. The optional CPU-dispatched " -"CRC backend introduces a precompiled CPU-detection constructor from the host" -" compiler-rt, whose ISA is not constrained by the target's ``-mno-avx``. " -"Cross-builds therefore use upstream's generic CRC path. This preserves CRC " -"calculation while avoiding AVX instructions in a kernel that does not yet " -"save AVX state." +"ReliefOS installs GNU coreutils, Bash and util-linux from the official " +"Arch repositories. ``/bin``, ``/sbin`` and ``/usr/sbin`` all resolve to " +"``/usr/bin``, where packages own the command files. Linux device and " +"filesystem tools are updated through their official packages." -msgid "验收与测速" -msgstr "Acceptance Testing and Benchmarks" - -msgid "" -"``tools/test_coreutils_qemu.py`` 使用完整生产 VMDK 的私有副本启动 ReliefOS, " -"仅注入用户态测试程序、数据和 OpenRC 测试服务,不替换生产内核、libc 或 GNU 程序。它核对镜像内 ELF " -"与构建产物的哈希,并在结束后核对原始 VMDK 未修改。" -msgstr "" -"``tools/test_coreutils_qemu.py`` boots ReliefOS from a private copy of the " -"complete production VMDK. It injects only userspace test programs, data, and" -" an OpenRC test service, without replacing the production kernel, libc, or " -"GNU programs. It compares ELF hashes in the image with build artifacts and " -"verifies afterward that the original VMDK is unchanged." - -msgid "" -"来宾测试逐个验证 109 个命令入口和实际行为,包括退出码、文件内容、权限、 链接、文本转换、编码、散列、终端与进程工具。SELinux " -"两项单独记录为预期 不支持;同时查询真实 APK 数据库确认 GNU 路径归属,检查显式 BusyBox 救援调用。 这不是全部 GNU " -"上游测试或全部选项组合的替代品。" -msgstr "" -"Guest tests verify all 109 command entry points and their actual behavior " -"individually, including exit codes, file contents, permissions, links, text " -"transformations, encodings, hashes, and terminal and process tools. The two " -"SELinux commands are recorded separately as expected unsupported cases. " -"Tests also query the real APK database to verify ownership of GNU paths and " -"check explicit BusyBox rescue calls. This does not replace the full GNU " -"upstream test suite or every combination of options." - -msgid "使用同一优化级别比较两种实现,例如使用 release 构建::" -msgstr "" -"Compare the two implementations at the same optimization level, for example " -"with a release build::" - -msgid "" -"验收虚拟机使用 1 个 vCPU、4 GiB 内存,并显式提供 invariant TSC。 当前内核仅在单 CPU 条件下启用可信 TSC " -"高精度计时,多核回退的 PIT 计时 可能漏算长时间同步 I/O 的墙上时间。测试消费内核仓自己的 vDSO 探针,要求 " -"高精度模式验证成功后才测速;不能把不满足此门槛的数据作为吞吐结果。" -msgstr "" -"The acceptance VM uses 1 vCPU and 4 GiB of RAM, with invariant TSC " -"explicitly provided. The current kernel enables trusted high-resolution TSC " -"timing only on a single CPU; the PIT timing fallback on multiple CPUs may " -"undercount wall time during long synchronous I/O. The test uses the kernel " -"repository's own vDSO probe and runs benchmarks only after high-resolution " -"mode is verified. Data that fails this prerequisite must not be presented as" -" throughput results." - -msgid "每项性能测试先预热一次,再测三次,输出原始纳秒样本、中位耗时与 MiB/s:" -msgstr "" -"Each benchmark performs one warm-up run followed by three measured runs, " -"reporting raw nanosecond samples, median elapsed time, and MiB/s:" - -msgid "``cat``:读取 32 MiB,写入 ``/dev/null``。" -msgstr "``cat``: read 32 MiB and write to ``/dev/null``." - -msgid "``wc -l -w -c``:完整扫描 32 MiB,核对行数、单词数和字节数。" -msgstr "" -"``wc -l -w -c``: scan all 32 MiB and verify line, word, and byte counts." - -msgid "``sha256sum``:对 32 MiB 文件计算并核对已知摘要。" -msgstr "" -"``sha256sum``: compute the hash of a 32 MiB file and verify it against a " -"known digest." - -msgid "``tr a-z A-Z``:转换 32 MiB,写入 ``/dev/null``。" -msgstr "``tr a-z A-Z``: transform 32 MiB and write to ``/dev/null``." - -msgid "" -"``sort``:排序 262144 行八位数字(2.25 MiB),写入 ``/dev/null``, 另对完整排序输出核对独立生成的有序数据摘要。" -msgstr "" -"``sort``: sort 262144 lines of eight-digit numbers (2.25 MiB) and write to " -"``/dev/null``; separately verify the digest of the complete sorted output " -"against independently generated sorted data." - -msgid "``cp``:实际向 ext4 复制 1 MiB 文件,并逐字节比较副本。" -msgstr "" -"``cp``: actually copy a 1 MiB file to ext4 and compare the copy byte for " -"byte." - -msgid "" -"``cat``、``tr``、``sort`` 另通过管道对完整输出做不计时的摘要校验,避免将文本 " -"处理测试变成额外的磁盘写入测试。复制使用较小的数据集,以适应当前文件系统同步刷新 成本;不为测速绕过系统持久化语义。测量包含进程启动与退出,输入经历 " -"预热,不清空系统缓存,也不要求每次复制强制落盘。因此它们是指定工作负载的 耗时与吞吐,不能当作冷盘速度、持久化写入速度或跨机器性能保证。报告应包含 " -"虚拟机平台、vCPU/内存、两种实现的编译优化级别及校验结果。" -msgstr "" -"``cat``, ``tr``, and ``sort`` also verify digests of their entire output " -"through pipes outside the timed runs, so text-processing tests do not become" -" additional disk-write tests. Copying uses a smaller dataset to accommodate " -"the current filesystem's synchronous flush cost; persistence semantics are " -"not bypassed for benchmarking. Measurements include process startup and " -"exit, use warmed input, do not clear system caches, and do not require each " -"copy to be forced to disk. They therefore describe elapsed time and " -"throughput for the specified workloads, not cold-disk speed, durable-write " -"speed, or a performance guarantee across machines. Reports should include " -"the VM platform, vCPU/memory, compilation optimization levels for both " -"implementations, and verification results." - -msgid "真实签名 APK 的旧路径升级可单独验证::" -msgstr "" -"Legacy-path upgrades using real signed APKs can be verified separately::" +msgid "可以在终端查询可执行文件的位置和包归属::" +msgstr "Check executable locations and package ownership in a terminal::" msgid "" -"此测试在宿主 Linux 用户命名空间的私有根目录内执行 APK 事务,仅证明包升级 和文件归属;系统内功能与测速必须以上述 ReliefOS " -"来宾运行结果为依据。" +"自定义脚本使用相应命令的帮助或手册确认选项。 交互式 Bash 的别名由系统和用户配置,脚本需要外部命令时可使用其绝对路径。 " +"有关软件包查询和滚动更新,见 :doc:`packages`。" msgstr "" -"This test runs APK transactions in a private root directory inside a host " -"Linux user namespace. It proves only package upgrades and file ownership; " -"in-system functionality and benchmarks must rely on the ReliefOS guest " -"results described above." +"Use the command's help or manual to check script options. Interactive " +"Bash aliases come from system and user configuration. Scripts can select " +"an external executable by its absolute path. See :doc:`packages` for " +"package queries and rolling updates." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/desktop.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/desktop.po index ea322ead..1a1d6406 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/desktop.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/desktop.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "Xorg、XDM 与 IceWM" msgstr "Xorg, XDM, and IceWM" @@ -20,18 +23,41 @@ msgid "会话" msgstr "Sessions" msgid "" -"默认图形链为内核、PID 1、Xorg、XDM、IceWM。XDM 完成 PAM 登录后, IceWM 和应用使用普通用户身份运行;不要用 root 桌面代替正常授权。 终端为 " -"st,默认浏览器为 NetSurf。图形载荷使用锁文件中 ``feature=xorg`` 的依赖; 当前 Alpine 基线为 ``v3.24``,Mesa 26.3.1 与 LLVM 23 " -"图形运行库使用 锁定 SHA 和签名的官方 edge APK,以提供未修改的 VirGL 驱动。 准备依赖使用 ``make fetch``。 首次配置及真实运行测试必须区分 QEMU 与 " -"VMware。" +"图形配置安装 testing RPR 的 ``reliefos-desktop`` 和 ``reliefos-st``,依赖官方 Arch " +"``xorg-xdm``、Xorg 和 IceWM 包。装配时启用官方 ``xdm.service``, 建立 ``display-" +"manager.service`` 别名并选择 ``graphical.target``。 XDM 使用官方包的 " +"``/etc/pam.d/xdm`` 完成 PAM 登录,再以已认证用户身份执行 ``/usr/lib/reliefos/xdm-" +"session``。服务覆盖配置位于 " +"``/usr/lib/systemd/system/xdm.service.d/50-reliefos.conf``。" +msgstr "" +"The graphical configuration installs ``reliefos-desktop`` and ``reliefos-" +"st`` from the testing RPR, with dependencies on the official Arch ``xorg-" +"xdm``, Xorg and IceWM packages. Assembly enables the official " +"``xdm.service``, creates the ``display-manager.service`` alias and " +"selects ``graphical.target``. XDM authenticates through the official " +"package's ``/etc/pam.d/xdm`` PAM configuration, then executes " +"``/usr/lib/reliefos/xdm-session`` as the authenticated user. The service " +"override is installed at " +"``/usr/lib/systemd/system/xdm.service.d/50-reliefos.conf``." + +msgid "" +"``/etc/reliefos/desktop-session`` 保存一行 ``icewm`` 或 ``xfce``,默认是 " +"``icewm``。 会话脚本分别调用 ``icewm-session`` 或 ``startxfce4``,也接受用户可执行的 " +"``~/.xsession``。``console`` 装配选择 ``multi-user.target``。" +msgstr "" +"``/etc/reliefos/desktop-session`` contains a single line selecting " +"``icewm`` or ``xfce``, with ``icewm`` as the default. The session script " +"invokes ``icewm-session`` or ``startxfce4`` respectively and also accepts" +" an executable user ``~/.xsession``. The ``console`` configuration " +"selects ``multi-user.target``." + +msgid "" +"IceWM 的 ``/etc/icewm/startup`` 调用 ``dex --autostart --environment ICEWM``" +" 处理 XDG 自启动,并启动终端。 Xfce 分支通过 ``startxfce4`` 交给 Xfce 会话管理自启动。" msgstr "" -"The default graphics chain is kernel, PID 1, Xorg, XDM and IceWM. After XDM completes PAM login, " -"IceWM and applications run as the ordinary user; a root desktop is not a replacement for " -"authorization. The terminal is st and the default browser is NetSurf. Graphics payloads use " -"dependencies marked ``feature=xorg`` in the lock file. Alpine ``v3.24`` remains the baseline; " -"Mesa 26.3.1 and LLVM 23 graphics runtime libraries use official edge APKs with pinned hashes and " -"verified signatures to provide unmodified VirGL. Prepare dependencies with ``make fetch``. " -"Distinguish QEMU from VMware for initial configuration and runtime validation." +"IceWM's ``/etc/icewm/startup`` runs ``dex --autostart --environment " +"ICEWM`` for XDG autostart and starts a terminal. The Xfce branch " +"delegates autostart to the Xfce session manager through ``startxfce4``." msgid "" "Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则使用 framebuffer。XDM 的 " @@ -52,103 +78,118 @@ msgstr "Running VirtIO-GPU" msgid "QEMU/KVM 可在原生入口选择 2D 或 VirGL;不指定时仍使用原来的 VGA::" msgstr "" -"The native QEMU/KVM entry point can select 2D or VirGL. Without a selection, the existing VGA " -"default remains::" +"The native QEMU/KVM entry point can select 2D or VirGL. Without a " +"selection, the existing VGA default remains::" msgid "" -"VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render " -"node。可以通过 ``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。" +"VirGL 需要支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render node。可以通过 " +"``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。" msgstr "" -"VirGL defaults to ``gtk,gl=on``. It requires a QEMU build with OpenGL " -"support, virglrenderer, and access to a host render node. Set " -"``QEMU_DISPLAY`` to select a display backend such as EGL-headless." +"VirGL requires QEMU with OpenGL support, virglrenderer and access to a " +"render node. Set ``QEMU_DISPLAY`` to choose a display backend such as EGL" +" headless." msgid "" -"检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。 内核未协商 VirGL 时不提供 render node,不能将软件 " -"renderer 当成硬件加速。 Linux VirtGPU ioctl、legacy KMS、同设备 PRIME 和 sync_file 已实现; atomic " -"KMS、跨设备共享、syncobj、blob 及 Venus/Vulkan 不在当前支持范围。" +"检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。 内核未协商 VirGL" +" 时不提供 render node,不能将软件 renderer 当成硬件加速。 Linux VirtGPU ioctl、legacy " +"KMS、同设备 PRIME 和 sync_file 已实现; atomic KMS、跨设备共享、syncobj、blob 及 " +"Venus/Vulkan 不在当前支持范围。" msgstr "" -"Check ``glamor initialized``, ``virgl`` and DRI2/DRI3 state in Xorg logs. The kernel does not " -"publish a render node without negotiated VirGL; software rendering is not evidence of hardware " -"acceleration. Linux VirtGPU ioctls, legacy KMS, same-device PRIME and sync_file are implemented. " -"Atomic KMS, cross-device sharing, syncobj, blobs and Venus/Vulkan are outside current support." +"Check ``glamor initialized``, ``virgl`` and DRI2/DRI3 state in Xorg logs." +" The kernel does not publish a render node without negotiated VirGL; " +"software rendering is not evidence of hardware acceleration. Linux " +"VirtGPU ioctls, legacy KMS, same-device PRIME and sync_file are " +"implemented. Atomic KMS, cross-device sharing, syncobj, blobs and " +"Venus/Vulkan are outside current support." msgid "" "``tools/test_virtgpu_qemu.py`` 使用新建的私有测试目录启动真实来宾,可检查 " -"2D、VirGL、BIOS/UEFI、Xorg/IceWM/Fileman、控制台恢复、panic 及模块重载。 用匹配内核的 ``--module-root`` 指向 " -"modules_install 根目录验证 drm.ko。 EGL 探针通过 ``sh tools/build-virtgpu-egl-probe.sh ROOT OUTPUT`` 编译, " -"ROOT 须含完整来宾运行库;宿主只提供 EGL/GLES2/GBM 头文件,链接使用来宾库。 探针检查实际 renderer、着色器、三角形像素与销毁;打印的 64×64 离屏 draw " -"速率属于观察值,不能作为桌面 FPS。VMware 验证未完成。" -msgstr "" -"``tools/test_virtgpu_qemu.py`` boots a real guest in a new private test directory and checks 2D, " -"VirGL, BIOS/UEFI, Xorg/IceWM/Fileman, console restoration, panic and module reload. Point " -"``--module-root`` at the modules_install root from the matching kernel to test drm.ko. Build the " -"EGL probe with ``sh tools/build-virtgpu-egl-probe.sh ROOT OUTPUT``, where ROOT contains the " -"complete guest runtime libraries. The host supplies only EGL/GLES2/GBM headers; linking uses " -"guest libraries. The probe checks the actual renderer, shaders, triangle pixels and teardown. Its" -" reported 64×64 offscreen draw rate is an observation, not desktop FPS. VMware validation is " -"incomplete." +"2D、VirGL、BIOS/UEFI、Xorg/IceWM/Fileman、控制台恢复、panic 及模块重载。 用匹配内核的 " +"``--module-root`` 指向 modules_install 根目录验证 drm.ko。 EGL 探针通过 ``sh tools" +"/build-virtgpu-egl-probe.sh ROOT OUTPUT`` 编译, ROOT 须含完整来宾运行库;宿主只提供 " +"EGL/GLES2/GBM 头文件,链接使用来宾库。 探针检查实际 renderer、着色器、三角形像素与销毁;打印的 64×64 离屏 draw" +" 速率属于观察值,不能作为桌面 FPS。VMware 验证未完成。" +msgstr "" +"``tools/test_virtgpu_qemu.py`` boots a real guest in a new private test " +"directory and checks 2D, VirGL, BIOS/UEFI, Xorg/IceWM/Fileman, console " +"restoration, panic and module reload. Point ``--module-root`` at the " +"modules_install root from the matching kernel to test drm.ko. Build the " +"EGL probe with ``sh tools/build-virtgpu-egl-probe.sh ROOT OUTPUT``, where" +" ROOT contains the complete guest runtime libraries. The host supplies " +"only EGL/GLES2/GBM headers; linking uses guest libraries. The probe " +"checks the actual renderer, shaders, triangle pixels and teardown. Its " +"reported 64×64 offscreen draw rate is an observation, not desktop FPS. " +"VMware validation is incomplete." msgid "主题与菜单" msgstr "Themes and Menus" msgid "" -"XDM 使用 ``/etc/X11/xdm/`` 下的标准配置和 Xresources;IceWM 的背景、 颜色和装饰由 IceWM " -"主题决定。两者分别配置,不再强制使用同一张背景图片。 系统 IceWM 配置由 ``/etc/icewm`` 及 " -"``/etc/reliefos/icewm`` 提供, 用户的 ``~/.icewm/`` 可覆盖系统配置。主题不能替代菜单、工具栏与键位文件。" +"Arch/systemd 的 XDM 覆盖配置位于 ``/etc/reliefos/xdm/``,包括 ``xdm-" +"config``、``Xservers`` 和 ``Xresources``。IceWM 的背景、颜色和装饰由 IceWM 主题决定。 IceWM" +" 的 preferences、theme、menu、toolbar、keys、winoptions 和 startup 沿用 " +"``/etc/icewm/``。``/usr/etc/icewm`` 链接到该目录,接通官方包编译时的 系统配置搜索路径。用户的 " +"``~/.icewm/`` 可覆盖系统配置。 ``/etc/reliefos/icewm/`` 保存终端及关于对话框的辅助脚本。" +msgstr "" +"The XDM overrides in the Arch/systemd system are in " +"``/etc/reliefos/xdm/`` and include ``xdm-config``, ``Xservers`` and " +"``Xresources``. The IceWM theme controls its background, colors and " +"decoration. IceWM keeps preferences, theme, menu, toolbar, keys, " +"winoptions and startup under ``/etc/icewm/``. ``/usr/etc/icewm`` points " +"there to match the official package's search path. Users can override " +"settings in ``~/.icewm/``. Helpers for the terminal and About dialog are " +"under ``/etc/reliefos/icewm/``." + +msgid "IceWM 的系统默认主题是 ``default/default.theme``。用户自己选择的主题优先。" msgstr "" -"XDM uses standard configuration and Xresources under ``/etc/X11/xdm/``; " -"IceWM backgrounds, colors, and decorations are controlled by IceWM themes. " -"They are configured separately and are no longer forced to share one " -"background image. System IceWM configuration comes from ``/etc/icewm`` and " -"``/etc/reliefos/icewm``; users can override it in ``~/.icewm/``. Themes do " -"not replace menu, toolbar, or key binding files." +"The system default IceWM theme is ``default/default.theme``. A theme " +"selected by the user takes precedence." msgid "" -"修改键位或会话配置后需要重新加载 IceWM 或重新登录。自定义菜单应保留按功能 分组的应用入口。Win+Shift+S 启动 " +"修改键位或会话配置后需要重新加载 IceWM 或重新登录。自定义菜单应保留按功能 分组的应用入口。默认的 Win+Shift+S 启动 " "ReliefCapture;用户自定义 keys 覆盖默认键位时 需自行合并该绑定。" msgstr "" -"Reload IceWM or log in again after changing key bindings or session " -"configuration. Custom menus should retain application entries grouped by " -"function. Win+Shift+S launches ReliefCapture; users whose custom keys file " -"overrides the defaults must merge this binding themselves." +"Reload IceWM or sign in again after changing key bindings or session " +"settings. Group application entries by function when customizing the " +"menu. Win+Shift+S starts ReliefCapture by default. Add that binding to " +"any custom keys file that overrides the defaults." msgid "用户目录与快捷方式" msgstr "User Directories and Shortcuts" msgid "" "登录会话运行上游 ``xdg-user-dirs-update``,按用户语言初始化 Desktop、Documents、 Downloads " -"等目录。安装器和账户种子只准备主目录与配置模板,不再预建另一套目录。 Fileman 及下载路径读取 ``$XDG_CONFIG_HOME/user-" -"dirs.dirs``;未设置有效的 ``XDG_CONFIG_HOME`` 时使用 ``~/.config/user-dirs.dirs``。桌面由 " +"等目录。该步骤由 ``/usr/lib/reliefos/xdm-session`` 执行。" +msgstr "" +"At login, ``/usr/lib/reliefos/xdm-session`` runs upstream ``xdg-user-" +"dirs-update`` to initialize Desktop, Documents, Downloads and other " +"directories in the user's language." + +msgid "" +"Fileman 及下载路径读取 ``$XDG_CONFIG_HOME/user-dirs.dirs``;未设置有效的 " +"``XDG_CONFIG_HOME`` 时使用 ``~/.config/user-dirs.dirs``。桌面由 " "``XDG_DESKTOP_DIR`` 决定,下载位置由 ``XDG_DOWNLOAD_DIR`` 决定。未配置或 " "禁用的特殊目录回退到主目录。配置只按路径数据读取,不执行其中的 shell 代码。" msgstr "" -"The login session runs upstream ``xdg-user-dirs-update`` to initialize " -"Desktop, Documents, Downloads, and other directories according to the user's" -" language. The installer and account seed prepare only the home directory " -"and configuration templates; they no longer pre-create a separate directory " -"set. Fileman and download paths read ``$XDG_CONFIG_HOME/user-dirs.dirs``, or" -" ``~/.config/user-dirs.dirs`` if a valid ``XDG_CONFIG_HOME`` is not set. " -"``XDG_DESKTOP_DIR`` determines the desktop directory and " -"``XDG_DOWNLOAD_DIR`` the download location. Unconfigured or disabled special" -" directories fall back to the home directory. Configuration is read strictly" -" as path data; shell code in it is never executed." +"Fileman and download paths use ``$XDG_CONFIG_HOME/user-dirs.dirs``, or " +"``~/.config/user-dirs.dirs`` when ``XDG_CONFIG_HOME`` has no valid value." +" ``XDG_DESKTOP_DIR`` selects the desktop and ``XDG_DOWNLOAD_DIR`` selects" +" downloads. Disabled or unconfigured directories fall back to the home " +"directory. The configuration is parsed as path data." msgid "" -"Fileman 的“创建快捷方式”可选择桌面或当前目录:应用使用标准 ``.desktop``, " +"Fileman 的“创建快捷方式”可选择桌面或当前目录,应用使用标准 ``.desktop``, " "已有应用启动项保留名称、图标、文件参数和终端设置;普通文件与文件夹使用 POSIX " "符号链接。创建操作不覆盖同名文件,自动选择新的名称。打开应用启动项时复用系统 GLib ``gio launch``,由上游处理 Exec " "转义、字段码、工作目录和终端启动规则。 IceWM 的应用菜单继续通过 ``icewm-menu-fdo`` 读取标准应用入口。" msgstr "" -"Fileman's Create Shortcut action offers the desktop or current directory as " -"a destination. Applications use standard ``.desktop`` files; existing " -"application launchers retain their names, icons, file arguments, and " -"terminal settings. Regular files and folders use POSIX symbolic links. " -"Creation never overwrites an existing name and automatically selects a new " -"one. Opening an application launcher reuses the system GLib ``gio launch``, " -"leaving Exec escaping, field codes, working directories, and terminal launch" -" rules to upstream. IceWM's application menu continues to read standard " -"application entries through ``icewm-menu-fdo``." +"Fileman's Create Shortcut action can target the desktop or current " +"directory. Application shortcuts use standard ``.desktop`` launchers and " +"preserve the name, icon, file arguments and terminal setting. Files and " +"directories use POSIX symlinks. Fileman picks an available name and opens" +" launchers through GLib's ``gio launch``, which handles Exec escaping, " +"field codes, working directories and terminal rules. The IceWM menu reads" +" standard launchers through ``icewm-menu-fdo``." msgid "" "``~/.icewm`` 是窗口管理器配置目录,桌面图标的显示仍需独立图标管理器;创建 " @@ -157,73 +198,70 @@ msgid "" msgstr "" "``~/.icewm`` is the window manager's configuration directory. Displaying " "desktop icons still requires a separate icon manager; creating shortcuts " -"does not automatically add a desktop icon service. Updates do not delete or " -"move users' existing files or personal directories. Legacy private shortcuts" -" are no longer parsed; recreate any such existing shortcuts as standard " -"launchers or symbolic links." +"does not automatically add a desktop icon service. Updates do not delete " +"or move users' existing files or personal directories. Legacy private " +"shortcuts are no longer parsed; recreate any such existing shortcuts as " +"standard launchers or symbolic links." msgid "中文与故障排查" msgstr "Chinese Support and Troubleshooting" msgid "" -"原生 C++ 应用使用 FLTK gtk+ 控件、系统中文字体和 UTF-8。 显示字体、键盘布局和输入法是不同配置,见 " -":doc:`../userspace-api/locale`。 密码输入不能交给第三方输入法。" +"原生 C++ 应用使用 FLTK gtk+ 控件、系统中文字体和 UTF-8。 显示字体、键盘布局和输入法是不同配置,见 :doc" +":`../userspace-api/locale`。 密码输入不能交给第三方输入法。" msgstr "" -"Native C++ applications use FLTK gtk+ widgets, system Chinese fonts, and " -"UTF-8. Display fonts, keyboard layouts, and input methods are separate " -"settings; see :doc:`../userspace-api/locale`. Password input must not be " -"passed to third-party input methods." +"Native C++ applications use the FLTK gtk+ theme, system Chinese fonts and" +" UTF-8. Font, keyboard and input-method settings are separate. See :doc" +":`../userspace-api/locale`. Enter passwords using the keyboard directly." msgid "" "记录启动固件、CPU/内存、Xorg 日志、用户身份、主题和复现步骤。 通过 VT 切换或串口确认系统是否仍可调度,再区分 " "Xorg、窗口管理器和应用故障。 编译压力下的拖动与硬关机后的锁文件问题见 :doc:`limitations`。" msgstr "" -"Record the boot firmware, CPU/memory, Xorg logs, user identity, theme, and " -"reproduction steps. Use VT switching or serial output to check whether the " -"system can still schedule tasks, then distinguish between Xorg, window " -"manager, and application failures. For dragging under compilation load and " -"lock files left after a hard power-off, see :doc:`limitations`." +"Record the boot firmware, CPU/memory, Xorg logs, user identity, theme, " +"and reproduction steps. Use VT switching or serial output to check " +"whether the system can still schedule tasks, then distinguish between " +"Xorg, window manager, and application failures. For dragging under " +"compilation load and lock files left after a hard power-off, see " +":doc:`limitations`." msgid "上游登录管理器的程序名为 ``xdm``;它与 IceWM 的会话和主题配置分别维护。" msgstr "" -"The upstream display manager executable is named ``xdm``; its configuration " -"is maintained separately from IceWM's session and theme settings." - -msgid "源码与兼容边界" -msgstr "Source Code and Compatibility Boundaries" +"The upstream display manager executable is named ``xdm``; its " +"configuration is maintained separately from IceWM's session and theme " +"settings." msgid "" -"系统只交付 Xorg、XDM、IceWM 和已迁移的图形应用。旧自研桌面、私有窗口 传输、对应 SDK 窗口头文件和 ELF " -"窗口接口均已删除,不提供兼容服务或空实现。 内核保留标准 framebuffer、DRM 和 evdev 设备接口,不再包含内置桌面绘制。" +"通过 ``make rootfs`` 装配开发根文件系统。 ``ARCH_DESKTOP=icewm`` 为默认值,``xfce`` " +"为实验选项,``console`` 用于控制台。 前置步骤和各选项的归档名称见 :doc:`../kbuild/building`。 " +"QEMU/KVM 的 BIOS 路径已验证普通用户 XDM 登录、IceWM、st、XDG 自启动、 用户 systemd 与 D-Bus、中英日" +" UTF-8 locale,以及注销后再次登录。 普通用户执行 ``systemctl reboot`` 后,系统重新进入 XDM 登录界面。 " +"实验性 Xfce 也已通过普通用户 XDM 登录检查。VMware 验证尚未完成。" msgstr "" -"The system ships only Xorg, XDM, IceWM, and graphical applications that have" -" been migrated. The old in-house desktop, private window transport, " -"corresponding SDK window headers, and ELF window interfaces have all been " -"removed; no compatibility service or stub implementation is provided. The " -"kernel retains standard framebuffer, DRM, and evdev device interfaces and no" -" longer includes built-in desktop drawing." +"Assemble the development root filesystem with ``make rootfs``. " +"``ARCH_DESKTOP=icewm`` is the default, ``xfce`` is experimental, and " +"``console`` starts a console. See :doc:`../kbuild/building` for " +"prerequisites and archive names. The QEMU/KVM BIOS path has exercised " +"ordinary-user XDM login, IceWM, st, XDG autostart, user systemd and " +"D-Bus, and Chinese, English and Japanese UTF-8 locales. The same run " +"checked logging out and in again and returning to XDM after an ordinary " +"user ran ``systemctl reboot``. Experimental Xfce has also passed " +"ordinary-user XDM login checks. VMware verification remains pending." -msgid "" -"尚未迁移的图形客户端源码继续保留在 ``userland/apps/``,但不在组件菜单、 构建清单、安装包或启动菜单中。终端使用 st,浏览器使用 " -"NetSurf。旧的设置、 设备管理及协议演示程序需迁移到 X11 后才能重新加入;保留源码不表示它们 " -"仍可编译或运行。第三方上游源码及其许可证保留,旧窗口平台适配层已移除。" -msgstr "" -"Source for graphical clients that have not yet been migrated remains in " -"``userland/apps/``, but they are absent from the component menu, build " -"manifest, packages, and launch menu. The terminal is st and the browser is " -"NetSurf. Legacy settings, device management, and protocol demonstration " -"programs must be migrated to X11 before they can be included again; retained" -" source does not imply that they still build or run. Third-party upstream " -"source and licenses are retained, while the old window platform adaptation " -"layer has been removed." +msgid "控制台" +msgstr "Console" msgid "" -"这是旧图形 API 的破坏性移除。现有应用需迁移至 FLTK/X11;进程快照、 CPU 亲和性和单调时钟声明位于 " -"````,独立 framebuffer 辅助接口位于 ````。重新生成 SDK " -"并重新链接应用,不要混用旧库。" +"控制台使用 ReliefNT 的 UTF-8 字体渲染与内建键盘映射。 ``reliefos-boot`` 为 ``systemd-" +"vconsole-setup.service`` 安装设备条件, 仅在内核提供真实 ``/dev/vcsN`` 屏幕设备时执行上游字体及键位配置," +" 同一条件也进入 dracut initramfs。当前内核尚未提供这些屏幕设备以及完整 Linux VT " +"字体、键位配置接口,因此使用内建控制台设置。X11 键位与输入法 由桌面会话配置。" msgstr "" -"This is a breaking removal of the old graphical API. Existing applications " -"must migrate to FLTK/X11. Process snapshot, CPU affinity, and monotonic " -"clock declarations are in ````, and independent " -"framebuffer helpers are in ````. Regenerate the SDK and " -"relink applications; do not mix in old libraries." +"The console uses ReliefNT's UTF-8 font renderer and built-in keyboard " +"mapping. ``reliefos-boot`` installs a device condition for ``systemd-" +"vconsole-setup.service`` so that the upstream font and keymap setup runs " +"when the kernel provides actual ``/dev/vcsN`` screen devices. The same " +"condition is included in the dracut initramfs. The current kernel uses " +"its built-in console settings while screen devices and the full Linux VT " +"font and keymap interfaces remain to be implemented. The desktop session " +"configures X11 keyboard mappings and input methods." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/installation.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/installation.po index 6e68e1f5..61a3b355 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/installation.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/installation.po @@ -10,11 +10,11 @@ msgstr "" "Last-Translator: ReliefOS translation contributors\n" "Language: en\n" "Language-Team: English\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.18.0\n" msgid "安装 ReliefOS" msgstr "Installing ReliefOS" @@ -22,144 +22,46 @@ msgstr "Installing ReliefOS" msgid "安装前" msgstr "Before Installation" -msgid "" -"备份目标磁盘。安装器的重新分区、格式化会破坏所选磁盘的数据; 先用磁盘型号、容量和现有分区核对身份,不能只凭设备编号判断。 默认介质包括 " -"``reliefos-installer.iso``、``reliefos-live.iso`` 和 ``reliefos.vmdk``, " -"同一介质支持 Legacy BIOS 与 UEFI。ISO 使用双 El Torito 光盘入口, 不承诺是可直接写入 U 盘的 hybrid " -"镜像。" -msgstr "" -"Back up the target disk. Repartitioning and formatting by the installer " -"destroy data on the selected disk. Verify its identity using the model, " -"capacity, and existing partitions, rather than relying only on the device" -" number. Default media include ``reliefos-installer.iso``, ``reliefos-" -"live.iso``, and ``reliefos.vmdk``; the same medium supports Legacy BIOS " -"and UEFI. The ISO uses dual El Torito optical boot entries and is not " -"guaranteed to be a hybrid image that can be written directly to a USB " -"drive." - -msgid "安装器运行时、Live 会话和安装后的系统是不同的根文件系统。 只有实际安装并移除 ISO 后启动成功,才能证明安装后的系统可用。" -msgstr "" -"The installer runtime, Live session, and installed system use different " -"root filesystems. Only a successful boot after actual installation and " -"removal of the ISO proves that the installed system is usable." - msgid "安装介质布局" msgstr "Installation media layout" msgid "" -"新安装器 ISO 将安装器自身的运行时保留在可写的 ext4 RAM 盘 ``/dev/ram0``, 将 IceWM、纯控制台、XFCE 和 ESP 的安装文件分别放在" -" ``root``、 ``root-console``、``root-xfce`` 和 ``esp`` 中,合并打包为 " -"``/install/payload.squashfs``。引导时,这个压缩镜像作为只读的 ``/dev/ram1`` 加载,随后以 " -"``ro,nosuid,nodev`` 挂载至来宾的 ``/install``。 安装器仍从原路径读取文件,不需要先把载荷解压到第二个 RAM 盘。" +"安装器和新系统默认使用 10 路并行下载。安装器根据可用内存为下载缓存选择 有界 tmpfs,内存不足时使用目标磁盘缓存。中断后由 pacman 续传并重新验证。 " +"软件包在同一次事务内完成验签和安装。后续可在 ``/etc/pacman.conf`` 中调整 ``ParallelDownloads``,常规更新保留用户配置。" msgstr "" -"The new installer ISO keeps the installer runtime on the writable ext4 RAM disk " -"``/dev/ram0``. It packages the IceWM, console-only, XFCE, and ESP installation files " -"under ``root``, ``root-console``, ``root-xfce``, and ``esp``, respectively, into " -"``/install/payload.squashfs``. At boot, the compressed image is loaded as the read-" -"only ``/dev/ram1`` and mounted at ``/install`` in the guest with ``ro,nosuid,nodev``." -" The installer reads the files from the same paths without first unpacking the " -"payload into a second RAM disk." +"The installer and newly installed systems use 10 parallel downloads by " +"default. The installer selects a bounded tmpfs download cache based on " +"available memory and uses the target disk cache when memory is " +"insufficient. After an interruption, pacman resumes downloads and " +"verifies them again. Package signatures are verified and packages are " +"installed in the same transaction. You can adjust ``ParallelDownloads`` " +"in ``/etc/pacman.conf`` afterwards. Regular updates preserve the user's " +"configuration." msgid "" -"旧版安装介质没有独立载荷,直接从运行时根中的 ``/install`` 读取。 新介质的独立载荷若无法加载或挂载,启动会报错,不会当成旧介质继续。" -" 这项改动只影响安装介质;Live 根和新安装的默认磁盘根仍使用 ext4, 手动选用 ext3 的流程也不变。已安装的系统无需转换文件系统。" +"ReliefNT 当前未提供 Landlock。生成的系统配置使用 pacman 标准选项 ``DisableSandboxFilesystem``,下载仍由 " +"``alpm`` 用户执行并使用 seccomp 过滤, 软件包签名策略由 ``SigLevel`` 管理。" msgstr "" -"Older installation media have no separate payload. The installer reads " -"directly from ``/install`` in the runtime root. If the separate payload " -"on new media cannot be loaded or mounted, startup stops with an error. " -"This change only affects installation media. The live root and the " -"default on-disk root for new installations still use ext4, and the manual" -" ext3 installation procedure still applies. Existing installations can " -"keep their current filesystems." +"ReliefNT currently lacks Landlock support. Generated system " +"configurations use pacman's standard ``DisableSandboxFilesystem`` " +"option. Downloads run as the ``alpm`` user with seccomp filtering, and " +"``SigLevel`` controls the package signature policy." msgid "全新安装" msgstr "Fresh Installation" msgid "" -"在 GRUB 中选择图形安装或控制台安装;控制台会话条目为 ``Install ReliefOS (console " -"session)``。图形和控制台向导使用相同的步骤顺序: 语言、许可证、安装模式、目标磁盘、引导方式、分区方案、系统选项、账户、 " -"安装摘要、安装进度和结果。更新模式只显示适用的磁盘检查、摘要、更新进度和结果, 不会要求重新配置账户、分区或桌面。" -msgstr "" -"In GRUB, choose graphical or console installation; the console entry is " -"``Install ReliefOS (console session)``. Both interfaces follow the same " -"steps: language, license, installation mode, target disk, bootloaders, " -"partition layout, system options, accounts, review, progress, and result." -" Update mode shows only the applicable disk inspection, review, update " -"progress, and result, without asking to reconfigure accounts, partitions," -" or the desktop." - -msgid "" -"图形向导的页面本身不滚动,当前步骤的全部设置和导航按钮始终可见。 " -"最小窗口客户区为 768×540,可用于 800×600 屏幕;调整窗口大小时, " -"磁盘和分区列表、安装变更计划及日志阅读区随可用空间调整。 " -"许可证正文、列表、变更计划和日志较长时,仅在各自控件内部滚动, " +"图形向导的页面本身不滚动,当前步骤的全部设置和导航按钮始终可见。 最小窗口客户区为 768×540,可用于 800×600 屏幕;调整窗口大小时," +" 磁盘和分区列表、安装变更计划及日志阅读区随可用空间调整。 许可证正文、列表、变更计划和日志较长时,仅在各自控件内部滚动, " "不需要滚动整个页面来寻找设置或继续按钮。" msgstr "" -"The graphical wizard pages do not scroll. All settings and navigation buttons for the current " -"step stay visible. The minimum window content area is 768×540, which fits an 800×600 screen. " -"When you resize the window, the disk and partition lists, installation plan, and log viewer " -"adjust to the available space. Long license text, lists, plans, and logs scroll within their own" -" controls, so you can always reach the settings and Continue button without scrolling the page." - -msgid "" -"桌面环境默认选择 IceWM;也可选择 XFCE(实验性)或纯控制台系统。 XFCE 包含面板、窗口管理器、桌面、Thunar 文件管理器和 " -"XFCE Terminal, 使用锁定版本的 Alpine 官方包,随安装介质提供,安装时不需要联网。 XFCE 会话由 " -"``/etc/X11/Xsession`` 启动,使用独立的 D-Bus 会话; 用户可通过可执行的 ``~/.xsession`` " -"覆盖系统默认会话。 XFCE 默认关闭窗口合成;用户可在“窗口管理器微调”中开启。 实验性 XFCE " -"在软件渲染环境中首次登录时,桌面和面板可能需要较长时间才能出现。 切换安装向导选项不会修改正在运行的安装器桌面,也不会在更新模式中更换已有桌面。" -msgstr "" -"Choose IceWM (default), experimental XFCE, or a console-only system. XFCE" -" includes a panel, window manager, desktop, Thunar file manager, and XFCE" -" Terminal, using pinned packages from Alpine’s official repositories " -"bundled on the installation media; installation therefore works offline. " -"The XFCE session starts through ``/etc/X11/Xsession`` in its own D-Bus " -"session. Users can override the default session with an executable " -"``~/.xsession``. Compositing is disabled by default and can be enabled in" -" Window Manager Tweaks. On software-rendered systems, the first XFCE " -"login may take some time to show the desktop and panel. Changing the " -"installer selection does not change the currently running installer " -"desktop or replace an existing desktop during a system update." - -msgid "" -"控制台安装器使用原版 ncursesw,提供与图形向导对应的语言、许可证、安装/更新、 " -"磁盘、引导、分区、系统选项、账户、确认及完成页面。终端中直接运行 ``installer`` 或 ``installer " -"--text``;图形入口为 ``installer --graphical``。 支持英文、中文和日文,字符显示依赖终端及其字体覆盖。" -msgstr "" -"The console installer uses upstream ncursesw and offers language, " -"license, install/update, disk, bootloader, partition, system options, " -"account, review, and completion pages corresponding to the graphical " -"wizard. Run ``installer`` or ``installer --text`` in a terminal. Use " -"``installer --graphical`` for the graphical interface. English, Chinese, " -"and Japanese are supported. Character rendering depends on the terminal " -"and its font coverage." - -# | msgid "" "使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 -# | 返回修改,PgUp/PgDn " "滚动页面或许可证。界面适配终端大小, 需要至少 60 列、20 -# 行。密码以遮罩显示;安装及分区操作由后台进程执行, -# | " "进度页保留当前阶段、百分比和活动详情。新安装日志为 ``/var/log/installer.log``,系统更新详情日志为 -# | ``/var/log" "/installer-update.log``。" -msgid "" -"使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 返回修改,PgUp/PgDn " -"滚动页面或许可证。界面适配终端大小, 需要至少 60 列、20 行。密码以遮罩显示。GUI 和 TUI 的安装复制与同步、 以及 TUI " -"的分区操作均在后台进程中执行;进度通道拥塞时合并进度, 不会阻塞复制,也不会把未完成的后台任务误报为成功。 " -"进度页保留当前阶段、百分比和活动详情。新建 ext4 根分区在格式化时直接写入 所选系统文件,写入期间显示已用时间。手动选择 ext3 " -"时继续按文件复制。 新安装日志为 ``/var/log/installer.log``,系统更新详情日志为 ``/var/log" -"/installer-update.log``。" -msgstr "" -"Use Tab, Shift+Tab, and the arrow keys to select controls. Space toggles " -"options; Enter activates the selected button. F3 continues, F2 returns to" -" edit the choices, and PgUp/PgDn scroll pages or the license. The " -"interface adapts to the terminal and requires at least 60 columns and 20 " -"rows. Passwords are masked. File copying and synchronization in both the " -"GUI and TUI installers, and partition operations in the TUI, run in " -"background processes. When the progress channel is busy, updates are " -"coalesced so they do not block copying or report unfinished work as " -"successful. The progress page shows the current stage, percentage, and " -"activity details. While formatting a new ext4 root partition, the " -"installer writes the selected system files directly and displays elapsed " -"time. Manually selected ext3 partitions continue to use file-by-file " -"copying. Fresh installations log to ``/var/log/installer.log``; detailed " -"system-update logs are written to ``/var/log/installer-update.log``." +"The graphical wizard pages do not scroll. All settings and navigation " +"buttons for the current step stay visible. The minimum window content " +"area is 768×540, which fits an 800×600 screen. When you resize the " +"window, the disk and partition lists, installation plan, and log viewer " +"adjust to the available space. Long license text, lists, plans, and logs " +"scroll within their own controls, so you can always reach the settings " +"and Continue button without scrolling the page." msgid "" "图形向导在语言选择后显示 Apache License 2.0 英文原文,可滚动阅读全文。 该文本直接取自仓库的 " @@ -187,15 +89,6 @@ msgstr "" "omitted when only UEFI or neither method is selected. BIOS Boot must not " "be formatted, mounted, or placed directly over an existing filesystem." -msgid "" -"所有方案都创建 128 MiB FAT32 ESP,保存内核、GRUB 配置及所选引导器的资源。 BIOS 引导同样从该 FAT32 " -"分区读取启动资源,不能因为只选 BIOS 而删除它。" -msgstr "" -"Every layout creates a 128 MiB FAT32 ESP for the kernel, GRUB " -"configuration, and resources for the selected loaders. BIOS boot also " -"reads boot resources from this FAT32 partition; do not remove it just " -"because only BIOS is selected." - msgid "剩余整 MiB 空间用作 ext4 根分区。" msgstr "The remaining whole-MiB space becomes the ext4 root partition." @@ -251,16 +144,6 @@ msgstr "" "filesystem headers again. If another program changed the disk, the stale " "plan is rejected and must be inspected and confirmed again." -msgid "" -"格式化前会检查所选载荷需要的空间和 inode。菜单通过 GPT PARTUUID 绑定 " -"根分区;缺失、无效或重复身份应报错,不能以连接顺序替代身份。 完成后正常关机、移除安装介质,再从目标磁盘启动。" -msgstr "" -"Before formatting, the installer checks the space and inode requirements " -"of the selected payload. Menus bind the root partition by GPT PARTUUID. " -"Missing, invalid, or duplicate identities must produce an error; " -"connection order must not replace identity. After completion, shut down " -"normally, remove the installation medium, and boot from the target disk." - msgid "" "全新安装可选择创建根分区的 ``/swapfile``,默认不选。建议值为内存大小向上 取整到 MiB 后限制在 512 MiB 至 2 " "GiB;可以手动填写其他有效的整数 MiB, 安装器不会自动缩小。所需文件空间和余量在重新分区或格式化之前一起检查。 " @@ -278,21 +161,6 @@ msgstr "" "other storage are not currently supported as this swap backend. The " "installer does not activate target swap in the Live or installer session." -msgid "" -"安装器完整写入并格式化文件,设置 root 所有、权限 0600,再发布 fstab 和 OpenRC 配置。标准 swap 服务在 " -"localmount 后运行;项目检查服务会核对 ``/proc/swaps`` 中实际出现的 " -"``/swapfile``,以便发现配置存在但启用失败的 情况。重启后可检查 ``/proc/swaps`` 以及服务状态。磁盘 I/O " -"或清理本身失败时, 安装器会报告错误;单文件同步和替换不构成跨文件的断电原子事务。" -msgstr "" -"The installer fully writes and formats the file, sets root ownership and " -"mode 0600, then publishes fstab and OpenRC configuration. The standard " -"swap service runs after localmount; the project's check service verifies " -"that ``/swapfile`` actually appears in ``/proc/swaps`` to detect " -"configured-but-inactive swap. After reboot, inspect ``/proc/swaps`` and " -"service status. Disk I/O or cleanup failures are reported as errors. " -"Syncing and replacing individual files does not form a power-failure-" -"atomic transaction across files." - msgid "" "未选择此项时不会自动启用 swap。手工配置须先准备完全分配、位于支持的 AHCI SATA 设备上的专用文件或未挂载分区,再使用 " "``mkswap`` 初始化并通过 ``swapon`` 激活;``mkswap`` 会覆盖所选目标。只有完成身份核对和必要备份后 " @@ -312,32 +180,6 @@ msgstr "" msgid "共享 ESP 与多系统" msgstr "Shared ESP and Multiple Operating Systems" -msgid "" -"与已有系统共存时选择手动分区,为 ReliefOS 指定单独的根分区。 所选根分区会格式化;已有 FAT32 ESP " -"默认保留,不要求它达到自动方案的 128 MiB,但必须有足够剩余空间。只有显式勾选格式化 ESP 才会清除其中的 所有 EFI 文件。TUI " -"在分区页提供相同的“格式化所选 ESP”选项。 自动分区仍是明确的整盘擦除方案,不是保留其他系统的并列安装。" -msgstr "" -"To coexist with an existing system, select manual partitioning and assign" -" a dedicated ReliefOS root partition. The selected root partition will be" -" formatted. An existing FAT32 ESP is preserved by default and can be " -"smaller than the automatic layout's 128 MiB if it has sufficient free " -"space. Explicitly selecting ESP formatting erases all its EFI files. The " -"TUI provides the same ESP-formatting option on the partition page. " -"Automatic partitioning is an explicit whole-disk erasure operation." - -msgid "" -"新安装将物理 ESP 挂到 ``/efi``,并把 ``/efi/reliefos/instances/<根分区 PARTUUID>`` bind" -" 到 ``/boot``。 每个实例有独立的 GRUB 配置、根分区绑定、A/B 内核状态和版本文件; " -"内核包更新检查实例所有权,拒绝把当前根的内核发布到另一个实例。 initramfs 在切换真实根之前按 fstab 完成两层挂载。" -msgstr "" -"New installations mount the physical ESP at ``/efi`` and bind " -"``/efi/reliefos/instances/<根分区 PARTUUID>`` to ``/boot``. Each instance " -"has its own GRUB configuration, root binding, A/B kernel state, and " -"version files. Kernel package updates verify instance ownership and " -"refuse to publish the current root's kernel to another instance. Before " -"switching to the real root, initramfs performs both mount layers " -"according to fstab." - msgid "" "UEFI 文件位于 ``/EFI/ReliefOS/<根分区 PARTUUID>/grubx64.efi``; 标准厂商入口 " "``/EFI/ReliefOS/grubx64.efi`` 指向一个已有安装,其菜单可选择其他实例。 已有的其他系统 EFI 文件和未知的 " @@ -355,117 +197,9 @@ msgstr "" " BootOrder. If firmware does not display the new entry, add a boot entry " "using the EFI path shown on the completion page." -msgid "" -"GRUB 在启动时枚举其他 ReliefOS 实例;UEFI 菜单识别常见的 Windows、 shim/GRUB 和 systemd-boot " -"文件,BIOS 菜单支持 Windows 分区引导及其他 系统的 GRUB 配置。其他系统的配置只在用户选择相应条目后执行。 BIOS " -"安装会替换所选整盘的主引导代码;只需 UEFI 共存时可取消 BIOS。 旧预制磁盘若没有 ESP 上的 ``core.img`` " -"副本,更新器会校验 MBR 中的 GRUB 核心位置及 BIOS Boot 分区内的块列表,识别实际嵌入的引导器。 " -"新预制镜像同时保存该副本,保持与安装器生成的布局一致。" -msgstr "" -"At boot, GRUB enumerates other ReliefOS instances. UEFI menus recognize " -"common Windows, shim/GRUB, and systemd-boot files; BIOS menus support " -"Windows partition booting and GRUB configurations from other systems. " -"Other systems' configurations execute only after the user selects their " -"entry. BIOS installation replaces the master boot code of the selected " -"whole disk; deselect BIOS if only UEFI coexistence is needed. For old " -"prebuilt disks without a copy of ``core.img`` on the ESP, the updater " -"checks the GRUB core location in the MBR and block lists in the BIOS Boot" -" partition to identify the embedded loader. New prebuilt images also " -"retain this copy, matching installer-generated layouts." - -msgid "" -"Live 只有一个普通启动项。安装介质保留图形和控制台两个安装入口; 磁盘保留普通启动及高级选项中的日志暂停、关闭内核日志颜色和有效旧内核回退。 " -"不再展示失效的 debug/autospawn 参数、重复日志条目或同内核副本伪装的回退。 ISO 优先从固件交接的实际介质加载菜单,Live 与" -" Installer 的后备标记相互独立。" -msgstr "" -"Live has a single normal boot entry. Installation media retain graphical " -"and console installation entries; disks retain normal boot and advanced " -"options for pausing logs, disabling kernel log colors, and falling back " -"to a valid old kernel. Obsolete debug/autospawn parameters, duplicate log" -" entries, and copies of the same kernel disguised as fallbacks are no " -"longer shown. ISOs prefer loading menus from the actual medium handed " -"over by firmware, with independent fallback markers for Live and " -"Installer." - -msgid "独立磁盘镜像身份" -msgstr "Independent Disk Image Identities" - -msgid "" -"``IMAGE_INSTANCE_ID``(也可在 menuconfig 中设置 ``DISK_INSTANCE_ID``) 决定预制磁盘的 " -"GPT 磁盘和分区身份,并同步生成 fstab、GRUB 根绑定和查找标记。 " -"同一输入、同一实例标识保持可重现;需要同时连接的镜像应使用不同标识,例如::" -msgstr "" -"``IMAGE_INSTANCE_ID`` (also configurable as ``DISK_INSTANCE_ID`` in " -"menuconfig) determines GPT disk and partition identities for prebuilt " -"disks, generating matching fstab, GRUB root bindings, and search markers." -" Identical input and instance IDs remain reproducible. Images that will " -"be attached simultaneously should use different IDs, for example::" - -msgid "" -"逐字节复制一张已有磁盘仍会复制其 UUID,不能把这样的副本当作独立安装同时连接。 正式安装到不同根分区时使用各自 GPT " -"身份,不依赖预制镜像的实例标识。" -msgstr "" -"Copying an existing disk byte for byte also copies its UUIDs; such a copy" -" cannot be attached simultaneously as an independent installation. Actual" -" installations on different root partitions use their respective GPT " -"identities and do not depend on prebuilt image instance IDs." - -msgid "更新已有系统" -msgstr "Updating an Existing System" - -msgid "" -"更新进度会显示当前的软件包或缓存归档、已处理数量和缓存大小,以及已复用的 缓存大小。大小按完成比较或发布的整个文件累计,正在复制的文件完成后计入;" -" 包事务中的数量只计入当前包之前已处理的包。缓存归档和签名索引逐字节相同 时直接复用,内容不同则先写入独立临时文件并校验,再替换原文件。比较或写入" -" 出错会终止本次更新,日志和失败页保留步骤、文件名及命令退出状态,供重试定位。" -msgstr "" -"Update progress shows the current package or cached archive, processed " -"count, cache size, and reused cache size. Sizes accumulate whole files " -"after comparison or publication completes; a file being copied is counted" -" only when finished. Package-transaction counts include only packages " -"processed before the current package. Byte-identical cached archives and " -"signed indexes are reused directly; differing contents are first written " -"to separate temporary files, verified, and then replace the originals. " -"Comparison or write errors terminate the update. The log and failure page" -" retain the step, filename, and command exit status for diagnosing " -"retries." - -msgid "" -"旧内核包清单中的 ``kerneldebug.sys`` 作为可选历史成员继续校验、保留和恢复, 以支持升级旧安装;新内核包和 ESP " -"发布不生成该文件。历史成员若损坏或是符号 链接,仍会拒绝更新,不会跳过内核包完整性检查。" -msgstr "" -"``kerneldebug.sys`` in old kernel package manifests continues to be " -"verified, retained, and restored as an optional historical member to " -"support upgrading old installations. New kernel packages and ESP " -"publishing do not generate this file. A corrupted or symbolic-link " -"historical member still causes update rejection; kernel package integrity" -" checks are not skipped." - -msgid "" -"单文件原子替换不等于全部包、ESP 和 BIOS 写入的整体断电原子事务。 回退条目只使用通过完整性检查的匹配内核与 " -"initramfs,不把当前内核的别名当作回退。" -msgstr "" -"Atomic replacement of a single file is not a power-failure-atomic " -"transaction covering all packages, ESP, and BIOS writes. Fallback entries" -" use only matching kernels and initramfs images that pass integrity " -"checks, never aliases of the current kernel presented as fallbacks." - msgid "运行验证和未覆盖范围见 :doc:`limitations`。" msgstr "For runtime verification and uncovered areas, see :doc:`limitations`." -msgid "" -"安装前可以用“上一步”返回,图形侧栏也可回到已经经过的配置步骤。 修改磁盘、引导方式、分区或系统选项后,摘要根据当前选择重新生成; " -"账户密码不会出现在摘要或日志中。图形许可证页面需明确勾选确认, 控制台通过“接受并继续”确认。 " -"桌面和交换文件在单独的“系统选项”步骤配置,最终摘要只用于核对, 不会在即将开始安装时再混入新的配置项。" -msgstr "" -"Before installation, use Back to edit earlier choices; the graphical " -"sidebar also returns to configuration steps already visited. Changing the" -" disk, bootloaders, partitions, or system options regenerates the review " -"from the current choices. Passwords never appear in the review or logs. " -"Explicitly check the graphical license acknowledgement, or select Accept " -"and continue in the console. Configure the desktop and swap file in the " -"separate System options step. The final review presents the choices for " -"verification without adding new settings just before installation." - msgid "QEMU/KVM 的 VirtIO 磁盘" msgstr "VirtIO disks in QEMU/KVM" @@ -509,125 +243,202 @@ msgstr "" "is incomplete." msgid "" -"更新不自动重分区。旧两分区 UEFI 磁盘保持原有布局,缺少 BIOS Boot 空间时增加 BIOS 引导的请求应在写入前失败。先备份用户文件和引导分区, 检查已安装 APK " -"数据库、信任密钥及所选更新介质。正常关闭已安装系统后, 再从安装介质启动。 在安装器中选择更新和目标磁盘后,后台协调进程依次只读检查已安装系统、桌面 " -"类型、软件包数据库、安装介质、引导布局和空间,再验证离线软件包方案。 每个阶段在独立进程组中执行,界面持续显示当前阶段;慢速读盘期间也能响应 " -"取消检查。取消后先终止该阶段的所有进程并释放挂载,再返回目标磁盘步骤。 检查完成后仍留在目标磁盘步骤, 显示检查结果和检测到的 BIOS/UEFI " -"引导选项;可以先修改选择,再继续到只读摘要。 摘要列出当前版本、介质版本、根分区、ESP、空间需求和引导方式。核对后点击更新。 同盘有多个安装时,可在目标磁盘页选择明确的根分区和 " -"ESP;留空 ESP 时读取 所选根的 fstab,不能简单取磁盘上第一个 ESP。显式选择与该根的 fstab 不一致时 拒绝更新,避免把引导文件写到其他系统的分区。旧的 " -"``/boot`` 直接挂载 FAT32 布局继续兼容,更新不强制改变现有挂载布局。 旧布局中未能通过所有权验证的现有 EFI 可执行文件及相邻配置会保留, " -"不会因系统更新而覆盖。兼容命令 ``reliefos-grub-installer`` 现直接转交原生 CLI,需要明确的 " -"``--disk``、``--boot-directory`` 和根分区身份; 不再接受无法绑定安装实例的旧式单个 ESP 路径复制操作。 TTY " -"入口使用相同的后端,并在显示摘要和引导选项后通过 ``y/N`` 确认。" -msgstr "" -"Updates do not repartition automatically. Old two-partition UEFI disks retain their " -"layout; a request to add BIOS boot without BIOS Boot space must fail before writing. First " -"back up user files and boot partitions, and check the installed APK database, trusted " -"keys, and selected update medium. Shut down the installed system normally before booting " -"the installation media. After selecting Update and a target disk, the installer uses a " -"background coordinator to check the installed system, desktop type, package database, " -"installation medium, boot layout, and available space, then verifies the offline package " -"plan. Each stage runs in its own process group, and the interface shows the current stage. " -"Checks can be canceled while a slow disk is being read. Cancellation first stops the " -"stage's processes and releases its mounts, then returns to target disk selection. After " -"inspection, the target disk step remains open and shows the results and detected BIOS/UEFI " -"bootloader choices. Adjust these before continuing to the read-only review. The review " -"lists the installed and medium versions, root partition, ESP, space requirements, and " -"bootloaders. Verify these and click Update. If the same disk contains multiple " -"installations, choose an explicit root partition and ESP on the target disk page. Leaving " -"ESP blank reads the selected root's fstab, rather than simply taking the disk's first ESP. " -"An explicit selection inconsistent with that root's fstab is rejected to avoid writing " -"boot files to another system's partition. Legacy layouts mounting FAT32 directly at " -"``/boot`` remain compatible; updates do not force changes to existing mounts. Existing EFI " -"executables and adjacent configuration in old layouts that cannot pass ownership " -"verification are preserved, rather than overwritten by the system update. The " -"compatibility command ``reliefos-grub-installer`` now forwards directly to the native CLI, " -"requiring explicit ``--disk``, ``--boot-directory``, and root partition identity. It no " -"longer accepts the old operation of copying to a single ESP path without binding an " -"installation instance. The TTY entry uses the same backend and requests ``y/N`` " -"confirmation after showing the summary and boot options." - -msgid "" -"检查过程使用私有 APK 数据库和已安装系统的信任密钥,验证签名索引、完整 软件包归档以及离线依赖。私有数据库和有大小上限的计划数据临时存放在 ``/run`` tmpfs " -"中,结束后清理;归档直接从只读安装介质验证和读取, 不把整个仓库复制到内存。检查不修改目标系统。 空间预算包括介质归档缓存、所有包(含上游依赖)的逐包正增长、最大单包的 " -"替换空间及保留余量;不提前把尚未删除的包或缩小的文件折算成可用空间。 确认后的执行会再次核对磁盘、分区 UUID、索引和 已安装包数据库及 world " -"选择;目标已经变化时需要重新检查。已被其他路径挂载的分区、 无法唯一识别的根分区或 ESP,以及早于已安装系统的介质会在写入前被拒绝。" -msgstr "" -"Checks use a private APK database and the installed system's trusted keys to verify signed " -"indexes, complete package archives, and offline dependencies. The private database and " -"bounded planning data are stored temporarily in the ``/run`` tmpfs and removed at the end. " -"Archives are verified and read directly from the read-only installation medium, without " -"copying the entire repository into memory. Checks do not modify the target system. The " -"space budget includes cached media archives, positive per-package growth for all packages " -"including upstream dependencies, room to replace the largest package, and a reserve. It " -"does not count packages that have not yet been removed or size reductions as available " -"space. Execution after confirmation rechecks disks, partition UUIDs, indexes, the " -"installed package database, and world selections; changed targets require a fresh check. " -"Partitions already mounted elsewhere, roots or ESPs that cannot be uniquely identified, " -"and media older than the installed system are rejected before writing." - -msgid "" -"确认执行后不再单独重复一次完整检查;包事务在自己的预检通过后执行一次。 根文件系统使用 APK 更新,保留外部包、world 选择和受保护配置;新默认配置 可能以 " -"``.apk-new`` 出现。根事务成功后才发布引导文件。 离线更新只从安装介质的签名仓库取得新软件包。``world`` 中已有的 " -"``@testing``、``@alpine`` 等标签在本次事务的私有配置中注册到该仓库, 使已安装的外部软件包可以继续满足依赖,不要求原仓库在线或保留索引缓存。 " -"原有仓库配置和标签选择保持不变;介质和已安装软件包无法满足的版本约束 仍会在预检查时拒绝,不会强制忽略依赖。 更新保留现有 fstab 和 swap " -"设置,不会自动添加或更改交换文件。 软件包写入和引导发布期间不能通过界面取消。各阶段使用单调时钟计时:系统 识别和挂载准备最多 2 分钟,介质检查和现有引导布局检查最多 3 分钟, " -"引导源检查、恢复和根同步最多 5 分钟,依赖检查最多 15 分钟,包更新最多 60 分钟,引导发布最多 10 分钟。超时先请求终止,再强制终止整个进程组。 " -"界面的周期性状态表示协调进程仍在工作,不代表已完成新的文件或软件包。 如果内核中的 I/O 无法响应终止,协调进程继续持锁并报告等待,不能把仍存活 的写入进程当作已经退出。" -msgstr "" -"After confirmation, the installer does not repeat the complete inspection as a separate " -"step; the package transaction performs its own preflight once. The root filesystem is " -"updated with APK, preserving external packages, world selections, and protected " -"configuration; new defaults may appear as ``.apk-new``. Boot files are published only " -"after the root transaction succeeds. Offline updates obtain new packages only from the " -"installation medium's signed repository. Existing tags in ``world``, such as ``@testing`` " -"and ``@alpine``, are registered against that repository in the transaction's private " -"configuration, allowing installed external packages to continue satisfying dependencies " -"without requiring their original repositories online or cached indexes. Existing " -"repository configuration and tag selections remain unchanged. Version constraints that " -"cannot be satisfied by the medium and installed packages are still rejected during " -"preflight; dependencies are not forcibly ignored. Updates preserve existing fstab and swap " -"settings and do not automatically add or change swap files. Package writes and boot " -"publication cannot be canceled through the interface. Stages use monotonic deadlines: " -"system identification and mount preparation take at most 2 minutes; media and installed " -"boot-layout checks, 3 minutes; boot-source checks, recovery, and root synchronization, 5 " -"minutes; dependency planning, 15 minutes; package updates, 60 minutes; and boot " -"publication, 10 minutes. On timeout, the stage first receives a termination request, " -"followed by a forceful stop of its process group. Periodic interface updates indicate that " -"the coordinator is alive; they do not mean a new file or package has completed. If kernel " -"I/O cannot respond to termination, the coordinator keeps the lock and waits rather than " -"releasing a transaction with a live writer." - -msgid "" -"更新详情显示软件包和引导操作的实际输出,完整日志位于安装器运行环境的 ``/var/log/installer-update.log``。失败页面保留错误和日志位置,并返回目标磁盘" -"步骤重新检查; 新安装失败后也先返回检查方案,不能把重新进入进度页当作已经获准再次擦盘。" -msgstr "" -"Update details show actual output from package and boot operations; the full log is at " -"``/var/log/installer-update.log`` in the installer runtime. The failure page retains the " -"error and log location and returns to target disk selection for inspection. Failed fresh " -"installations also return to plan review; entering progress again does not authorize " -"another destructive write." - -msgid "" -"目标系统的 ``/var/lib/reliefos/installer-update/state`` 持久记录软件包、根同步、 " -"引导提交和完成阶段,记录通过临时文件、文件同步、原子替换和目录同步发布。 同一介质的引导提交失败后,重新检查会核对根分区、索引、包数据库和 world, " -"只有这些身份仍匹配时才跳过已完成的包事务,继续引导提交;软件包阶段失败 则重新预检并执行包修复。这属于向前修复,不是整个根文件系统的原子回滚。 旧内核模块 保留与 A/B " -"内核发布继续使用共同的原生引导接口。更新期间由独立进程持有 安装器更新锁,释放目标挂载后才报告完成。阶段及其子命令继承同一把锁, " -"避免协调进程意外退出后并行启动另一次写入。清理失败会保留工作区并报告错误; 检测到上次遗留的更新挂载时拒绝开始新事务,应保存日志并重启安装环境后重试。 APK " -"已记录为损坏的系统包会先通过 已验证的归档执行定向修复,再执行升级;已有的外部包错误保留并在日志中说明。" -msgstr "" -"The target system's ``/var/lib/reliefos/installer-update/state`` persistently records " -"package, root-sync, boot-commit, and completion phases. Each record is published using a " -"temporary file, file synchronization, atomic replacement, and directory synchronization. " -"After a boot commit fails for the same medium, rechecking verifies the root partition, " -"index, package database, and world selection. The installer skips the completed package " -"transaction and resumes boot publication only when all identities still match. A " -"package-phase failure triggers a fresh preflight and package repair. This is forward " -"recovery, not an atomic rollback of the whole root filesystem. Retention of old kernel " -"modules and A/B kernel publishing continue to share the native boot interface. The update " -"lock is inherited by each stage and its commands, preventing another write from starting " -"if the coordinator exits unexpectedly. Cleanup failures preserve the workspace and report " -"an error; if an old update mount remains, a new transaction is refused. Save the log and " -"restart the installer environment before retrying. System packages marked broken by APK " -"are first repaired selectively using verified archives, then upgraded. Existing " -"external-package errors are retained and explained in the log." +"备份目标磁盘。安装器的重新分区、格式化会破坏所选磁盘的数据; 先用磁盘型号、容量和现有分区核对身份,不能只凭设备编号判断。 安装介质 " +"``reliefos-installer.iso`` 支持 Legacy BIOS 与 UEFI。ISO 使用双 El Torito " +"光盘入口,不承诺是可直接写入 U 盘的 hybrid 镜像。也可使用预制磁盘 ``reliefos.vmdk``。" +msgstr "" +"Back up the target disk. Repartitioning or formatting destroys data on " +"the selected disk. Verify the model, capacity, and existing partitions; " +"do not rely on the device number alone. The ``reliefos-installer.iso`` " +"supports legacy BIOS and UEFI through dual El Torito boot entries. It is " +"not guaranteed to work as a hybrid image written directly to a USB drive." +" The prebuilt ``reliefos.vmdk`` disk is also available." + +msgid "安装器运行时和安装后的系统是不同的根文件系统。 只有实际安装并移除 ISO 后启动成功,才能证明安装后的系统可用。" +msgstr "" +"The installer and the installed system use different root filesystems. To" +" verify that the installed system works, complete the installation, " +"remove the ISO, and boot from the target disk." + +msgid "" +"安装器 ISO 使用 ReliefNT 和未压缩的 CPIO initramfs,由 systemd 启动可写的 安装环境。ISO " +"光盘只读挂载,提供引导资源;目标系统的软件包不从镜像复制。 安装时必须联网访问 Arch 官方仓库和 ReliefOS 软件包仓库(RPR)。 " +"安装器在写盘前独立验证 RPR 数据库的签名,并为所选桌面解析依赖和估算容量。 pacman " +"校验软件包签名,再安装到目标磁盘。安装后的系统有自己的 pacman 信任数据库。" +msgstr "" +"The installer ISO boots a writable systemd environment using ReliefNT and" +" an uncompressed CPIO initramfs. The read-only optical medium supplies " +"boot assets; target packages are not copied from the image. Installation " +"requires network access to the official Arch repositories and the " +"ReliefOS package repository (RPR). Before writing to disk, the installer " +"independently verifies the RPR database signature, resolves dependencies " +"for the selected desktop, and estimates disk usage. Pacman verifies " +"package signatures before installing to the target. The installed system " +"has its own pacman trust database." + +msgid "" +"在 GRUB 中选择图形安装或控制台安装;控制台会话条目为 ``Install ReliefOS (console " +"session)``。图形和控制台向导使用相同的步骤顺序: 语言、许可证、在线安装说明、目标磁盘、引导方式、分区方案、系统选项、账户、 " +"安装摘要、安装进度和结果。安装器只负责全新安装;安装后请用 pacman 更新。" +msgstr "" +"Select graphical or console installation in GRUB. The console entry is " +"``Install ReliefOS (console session)``. Both wizards follow the same " +"sequence: language, license, online installation information, target " +"disk, bootloaders, partition layout, system options, accounts, review, " +"progress, and result. The installer performs clean installations only; " +"use pacman for subsequent updates." + +msgid "" +"安装前可以用“上一步”返回,图形侧栏也可回到已经经过的配置步骤。 修改磁盘、引导方式、分区或系统选项后,摘要根据当前选择重新生成; " +"账户密码不会出现在摘要或日志中。图形许可证页面需明确勾选确认, 控制台通过“接受并继续”确认。 在“系统选项”中选择桌面、IANA 时区、Arch" +" 镜像源和可选交换文件。默认镜像列表优先使用 清华大学 TUNA,Arch 地理镜像作为备用;也可直接选择 Arch " +"地理镜像。最终摘要只用于核对。" +msgstr "" +"Use Back to revise earlier steps before installing, or use the graphical " +"sidebar to return to a completed step. Changing the disk, boot mode, " +"partition layout, or system options regenerates the summary. Account " +"passwords never appear in the summary or logs. Accept the license " +"explicitly in the graphical installer, or select Accept and Continue in " +"the console. System Options lets you choose the desktop, IANA time zone, " +"Arch mirror, and optional swap file. The default list prefers Tsinghua " +"University TUNA with the Arch geographic mirror as a fallback; you can " +"also select the Arch geographic mirror directly. The final summary is for" +" review only." + +msgid "" +"桌面环境默认选择 IceWM;也可选择 Xfce(实验性)或纯控制台系统。 桌面软件包在安装时下载;纯控制台不安装图形登录管理器或桌面。 XDM " +"的默认会话由 ``/etc/X11/Xsession`` 选择;用户可用可执行的 ``~/.xsession`` " +"覆盖。切换安装选项不会改变正在运行的安装器桌面。" +msgstr "" +"IceWM is the default. Xfce (experimental) and a console-only system are " +"also available. Desktop packages are downloaded during installation; the " +"console profile does not install a graphical login manager or desktop. " +"The XDM default session is selected by ``/etc/X11/Xsession`` and can be " +"overridden with an executable ``~/.xsession``. Changing this option does " +"not affect the desktop running the installer." + +msgid "" +"控制台安装器使用 ncursesw,提供与图形向导对应的页面。终端中直接运行 ``installer`` 或 ``installer " +"--text``;图形入口为 ``installer --graphical``。 支持英文、中文和日文,字符显示依赖终端及其字体覆盖。" +msgstr "" +"The console installer uses ncursesw and presents the same steps as the " +"graphical wizard. From a terminal, run ``installer`` or ``installer " +"--text``; use ``installer --graphical`` for the graphical wizard. " +"English, Chinese, and Japanese are supported, subject to terminal and " +"font coverage." + +msgid "" +"使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 返回修改,PgUp/PgDn " +"滚动页面或许可证。界面适配终端大小, 需要至少 60 列、20 行。密码以遮罩显示。GUI 和 TUI 在后台执行安装, " +"进度页显示分区、下载、验签、包事务、配置及引导安装等阶段。 安装失败时保留错误详情,完整日志位于安装环境的 " +"``/var/log/installer.log``。" +msgstr "" +"Use Tab, Shift+Tab, and the arrow keys to navigate, Space to toggle a " +"choice, and Enter to activate the selected button. F3 continues, F2 goes " +"back, and PgUp/PgDn scrolls the page or license. The interface requires " +"at least 60 columns and 20 rows. Passwords are masked. Both front ends " +"install in the background. The progress page shows partitioning, " +"downloading, signature verification, the package transaction, system " +"configuration, and bootloader installation. On failure, the error details" +" remain visible. The full log is in ``/var/log/installer.log`` in the " +"installation environment." + +msgid "" +"所有方案都创建 512 MiB FAT32 ESP,保存内核、GRUB 配置及所选引导器的资源。 BIOS 引导同样从该 FAT32 " +"分区读取启动资源,不能因为只选 BIOS 而删除它。" +msgstr "" +"Every automatic layout creates a 512 MiB FAT32 EFI System Partition (ESP)" +" for the kernel, GRUB configuration, and selected bootloader assets. BIOS" +" boot reads those assets from the same partition, so keep it even for " +"BIOS-only installations." + +msgid "" +"格式化前会根据已解析的软件包估算目标容量,并检查引导分区所需空间。菜单通过 GPT PARTUUID 绑定 " +"根分区;缺失、无效或重复身份应报错,不能以连接顺序替代身份。 完成后正常关机、移除安装介质,再从目标磁盘启动。" +msgstr "" +"Before formatting, the installer estimates target capacity from resolved " +"packages and checks the space needed on the boot partition. The menu " +"binds the root partition by GPT PARTUUID; missing, invalid, or duplicate " +"identifiers are errors, not a reason to fall back to disk order. After " +"installation, shut down normally, remove the installation medium, and " +"boot from the target disk." + +msgid "" +"安装器完整写入并格式化文件,设置 root 所有、权限 0600,再把交换文件写入 ``/etc/fstab``。systemd " +"在目标系统启动时激活它;可用 ``swapon --show`` 或 ``systemctl status swapfile.swap`` " +"检查。若磁盘 I/O 或清理失败,安装器会报告错误。" +msgstr "" +"The installer fully allocates and formats the file, sets root ownership " +"and mode 0600, and records it in ``/etc/fstab``. Systemd activates it at " +"boot. Check with ``swapon --show`` or ``systemctl status swapfile.swap``." +" The installer reports disk I/O and cleanup failures." + +msgid "" +"与已有系统共存时选择手动分区,为 ReliefOS 指定单独的根分区。 所选根分区会格式化;已有 FAT32 ESP " +"默认保留,不要求它达到自动方案的 512 MiB,但必须有足够剩余空间。只有显式勾选格式化 ESP 才会清除其中的 所有 EFI 文件。TUI " +"在分区页提供相同的“格式化所选 ESP”选项。 自动分区仍是明确的整盘擦除方案,不是保留其他系统的并列安装。" +msgstr "" +"To coexist with an existing system, use manual partitioning and select a " +"separate ReliefOS root partition. The selected root is formatted. The " +"existing FAT32 ESP is preserved by default; it may be smaller than 512 " +"MiB if there is enough free space. Explicitly choosing to format it " +"erases all its EFI files. The console partition page offers the same " +"format option. Automatic partitioning erases the entire disk and is not a" +" coexistence option." + +msgid "" +"新安装将物理 ESP 挂到 ``/efi``,并把 ``/efi/reliefos/instances/<根分区 PARTUUID>`` bind" +" 到 ``/boot``。 每个实例有独立的 GRUB 配置、根分区绑定、A/B 内核状态和版本文件; " +"内核包更新检查实例所有权,拒绝把当前根的内核发布到另一个实例。 systemd 根据目标系统的 fstab 装配这两层挂载。" +msgstr "" +"A new installation mounts the physical ESP at ``/efi`` and bind-mounts " +"``/efi/reliefos/instances/`` at ``/boot``. Each " +"installation has its own GRUB configuration, root binding, A/B kernel " +"state, and versioned files. Kernel package updates check ownership and " +"refuse to publish the current root's kernel to another instance. Systemd " +"sets up both mounts from the installed system's fstab." + +msgid "" +"GRUB 在启动时枚举其他 ReliefOS 实例;UEFI 菜单识别常见的 Windows、 shim/GRUB 和 systemd-boot " +"文件,BIOS 菜单支持 Windows 分区引导及其他 系统的 GRUB 配置。其他系统的配置只在用户选择相应条目后执行。 BIOS " +"安装会替换所选整盘的主引导代码;只需 UEFI 共存时可取消 BIOS。 安装介质保留图形和控制台两个安装入口。磁盘保留普通启动及高级选项中的 " +"日志暂停、关闭内核日志颜色和有效旧内核回退。" +msgstr "" +"At boot, GRUB enumerates other ReliefOS instances. The UEFI menu " +"recognizes common Windows, shim/GRUB, and systemd-boot files. The BIOS " +"menu can start Windows partitions and use other systems' GRUB " +"configurations. Other systems' configurations run only when selected. " +"BIOS installation replaces the selected disk's master boot code; deselect" +" BIOS if only UEFI coexistence is needed. The installer medium offers " +"graphical and console entries. The installed disk offers normal boot and " +"advanced entries for pausing on logs, disabling kernel log colors, and " +"booting a valid previous kernel." + +msgid "升级与迁移" +msgstr "Upgrades and migration" + +msgid "" +"旧体系不支持原地转换。先确认用户数据和启动分区均已备份,再使用在线安装器 全新安装。安装完成后,常规系统更新统一在运行中的新系统通过 ``sudo" +" pacman -Syu`` 进行,不需要重新从安装介质启动。不要只同步仓库数据库 而不升级已安装的包。请检查 pacman 报告的 " +"``.pacnew`` 等配置文件变化。" +msgstr "" +"There is no in-place conversion from the previous system. Back up user " +"data and boot partitions, then perform a clean installation with the " +"online installer. Afterwards, run ``sudo pacman -Syu`` in the new system " +"for regular updates; there is no need to boot the installer again. Do not" +" synchronize the repository databases without upgrading installed " +"packages. Review configuration changes reported by pacman, including " +"``.pacnew`` files." + +msgid "" +"安装新的 ReliefNT 软件包时,pacman 钩子检查引导分区和空间,在包事务后生成 与该版本匹配的 initramfs 和 GRUB " +"条目。若引导步骤失败,软件包可能已安装; 先解决报错,再以管理员身份运行 ``reliefos-boot-update / /boot`` 重试。" +" 需要恢复时,可从 GRUB 选择仍保留的上一版内核。回退内核不会回退其他软件包。" +msgstr "" +"When a new ReliefNT package is installed, pacman hooks check the boot " +"partition and its free space, then generate the matching initramfs and " +"GRUB entries after the package transaction. A boot preparation failure " +"does not necessarily mean the package was not installed. Correct the " +"reported error and retry as an administrator with ``reliefos-boot-update " +"/ /boot``. For recovery, select a retained previous kernel from GRUB. " +"Kernel rollback does not roll back other packages." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/ipv6.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/ipv6.po index 2ee90d85..e1b2bc36 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/ipv6.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/ipv6.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "IPv6 网络" msgstr "IPv6 Networking" @@ -23,72 +26,57 @@ msgstr "" "The system supports dual-stack IPv4/IPv6. Enabled Ethernet interfaces " "automatically generate link-local addresses and use duplicate address " "detection and router advertisements to configure SLAAC addresses, prefix " -"routes, and default routes. The network must actually provide IPv6; without " -"router advertisements, the system does not fabricate a publicly reachable " -"IPv6 address." +"routes, and default routes. The network must actually provide IPv6; " +"without router advertisements, the system does not fabricate a publicly " +"reachable IPv6 address." msgid "查看与配置" msgstr "Inspection and Configuration" msgid "可以使用未修改的标准用户态工具查看和临时配置地址:" msgstr "" -"Use unmodified standard userspace tools to inspect addresses and configure " -"them temporarily:" +"Use unmodified standard userspace tools to inspect addresses and " +"configure them temporarily:" msgid "" "``2001:db8::/32`` 是文档示例地址,实际使用时换成网络分配的地址。 链路本地目标必须带接口区域;也可以使用工具提供的接口参数。 " "地址和路由变更需要 root 或相应的 ``CAP_NET_ADMIN``。raw ICMPv6 socket 需要 " "``CAP_NET_RAW``。临时配置不修改持久化的 IPv4 profile。" msgstr "" -"``2001:db8::/32`` is an address range reserved for documentation examples; " -"replace it with an address assigned by your network in actual use. Link-" -"local destinations require an interface zone, or an interface option " -"provided by the tool. Address and route changes require root or the " -"appropriate ``CAP_NET_ADMIN`` capability. Raw ICMPv6 sockets require " -"``CAP_NET_RAW``. Temporary configuration does not change the persistent IPv4" -" profile." +"``2001:db8::/32`` is an address range reserved for documentation " +"examples; replace it with an address assigned by your network in actual " +"use. Link-local destinations require an interface zone, or an interface " +"option provided by the tool. Address and route changes require root or " +"the appropriate ``CAP_NET_ADMIN`` capability. Raw ICMPv6 sockets require " +"``CAP_NET_RAW``. Temporary configuration does not change the persistent " +"IPv4 profile." msgid "DNS 自动配置" msgstr "Automatic DNS Configuration" msgid "" -"``reliefos-rdnss`` OpenRC 服务运行 ``rdnssd``,读取路由器通告中的 RDNSS " -"选项。它检查链路本地路由器来源、hop limit 255、接收接口和完整选项长度, 按通告有效期撤销 DNS,接口禁用时清除该接口的通告缓存。链路本地" -" DNS 带区域标识,避免将同名地址发到错误的接口。" -msgstr "" -"The ``reliefos-rdnss`` OpenRC service runs ``rdnssd`` to read RDNSS options " -"in router advertisements. It checks that the source is a link-local router, " -"the hop limit is 255, and the receiving interface and full option length are" -" valid. DNS entries expire according to advertisement lifetimes, and " -"disabling an interface clears its advertisement cache. Link-local DNS " -"addresses include zone identifiers to avoid sending an identical address to " -"the wrong interface." - -msgid "" -"服务只更新 ``/run/reliefos/ra-dns``,现有 ``publish-resolver`` 统一发布 " -"``/etc/resolv.conf``。自动模式合并 IPv6 RDNSS 与 IPv4 DHCP DNS,去重后 最多发布三个服务器。显式的自定义 " -"DNS 或 Cloudflare 策略优先,RA 不覆盖 用户的选择。DNS 搜索后缀的 DNSSL 自动配置尚未提供。" +"systemd-networkd 从 IPv6 路由器通告接收 RDNSS 服务器与搜索域, systemd-resolved " +"按接口解析域名。默认物理有线配置开启 DHCP 和 ``IPv6AcceptRA=yes``。为接口显式配置 DNS 时,Network " +"Controller 会关闭从 DHCP 和 RA 获取的 DNS。关闭图形界面后,服务继续运行。" msgstr "" -"The service updates only ``/run/reliefos/ra-dns``; the existing ``publish-" -"resolver`` centrally publishes ``/etc/resolv.conf``. Automatic mode merges " -"IPv6 RDNSS and IPv4 DHCP DNS, removes duplicates, and publishes at most " -"three servers. Explicit custom DNS or Cloudflare policies take precedence, " -"so RA does not override the user's choice. DNSSL automatic configuration of " -"DNS search suffixes is not yet provided." +"systemd-networkd receives RDNSS servers and search domains in IPv6 Router" +" Advertisements. systemd-resolved resolves names per interface. The " +"default wired profile enables DHCP and ``IPv6AcceptRA=yes``. When you set" +" explicit DNS servers, Network Controller disables DNS from DHCP and " +"Router Advertisements for that interface. The services keep running after" +" the GUI closes." msgid "" -"当前默认自动地址来自 RA/SLAAC;不自动运行有状态 DHCPv6 地址租约客户端。 网络控制器的持久化配置页仍管理 IPv4,IPv6 " -"通过标准命令管理。关闭可选的 网络控制器 GUI 不影响 IPv6 和 RDNSS 服务。" +"``/etc/resolv.conf`` 指向 resolved 的运行时 stub 配置。可以通过 ``resolvectl status`` " +"看到每个接口的实际 DNS 服务器。" msgstr "" -"Default automatic addressing currently uses RA/SLAAC; no stateful DHCPv6 " -"address lease client runs automatically. The Network Controller's persistent" -" configuration page still manages IPv4, while IPv6 is managed through " -"standard commands. Disabling the optional Network Controller GUI does not " -"affect IPv6 or the RDNSS service." +"``/etc/resolv.conf`` points to the runtime stub configuration from " +"resolved. Use ``resolvectl status`` to view the actual DNS servers for " +"each interface." msgid "" -"排查时分别检查链路、地址、路由、数值地址连通性与 DNS;能 Ping 通不等于 DNS 或 TLS 已成功。实现和 Linux ABI 的边界见 " -"ReliefNT 仓库的 ``Documentation/userspace-api/ipv6.rst``。" +"排查时分别检查链路、地址、路由、数值地址连通性与 DNS;能 Ping 通不等于 DNS 或 TLS 已成功。实现和 Linux ABI 的边界见" +" ReliefNT 仓库的 ``Documentation/userspace-api/ipv6.rst``。" msgstr "" "When troubleshooting, check the link, addresses, routes, numeric-address " "connectivity, and DNS separately. A successful ping does not imply " diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/kernel-modules.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/kernel-modules.po index b6b9a689..5fae288f 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/kernel-modules.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/kernel-modules.po @@ -4,29 +4,32 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "内核模块的系统管理" msgstr "System Administration of Kernel Modules" msgid "" -"ReliefNT 的可加载模块采用 Linux 风格的 Kconfig、Kbuild、ELF ``.ko`` 和 模块管理命令。模块必须针对正在使用的 " -"ReliefNT 内核重新编译;这不表示 Linux 原版二进制模块或其全部内核内部 API 可直接使用。POSIX 不定义 " -"内核模块格式,用户态系统调用遵循已实现的 Linux x86_64 ABI。" +"ReliefNT 的可加载模块采用 Linux 风格的 Kconfig、Kbuild、ELF ``.ko`` 和 " +"模块管理命令。模块必须针对正在使用的 ReliefNT 内核重新编译;这不表示 Linux 原版二进制模块或其全部内核内部 API " +"可直接使用。POSIX 不定义 内核模块格式,用户态系统调用遵循已实现的 Linux x86_64 ABI。" msgstr "" "ReliefNT loadable modules use Linux-style Kconfig, Kbuild, ELF ``.ko`` " "files, and module management commands. Modules must be rebuilt for the " "ReliefNT kernel in use; this does not mean that original Linux binary " -"modules or all Linux internal kernel APIs can be used directly. POSIX does " -"not define a kernel module format. Userspace system calls follow the " -"implemented Linux x86_64 ABI." +"modules or all Linux internal kernel APIs can be used directly. POSIX " +"does not define a kernel module format. Userspace system calls follow the" +" implemented Linux x86_64 ABI." msgid "构建配置" msgstr "Build Configuration" @@ -41,42 +44,42 @@ msgid "" "时仍可生成全内置系统。" msgstr "" "``defconfig`` explicitly resets both OS and corresponding kernel " -"configurations; all default production components are built in as ``y``. In " -"the kernel menu, components with independent lifecycles can be changed to " -"``m``; boot-critical components such as scheduling, memory, the module " -"loader, and VFS remain built in. ``kernel-allmodconfig`` selects m for " -"modularizable components; ``kernel-olddefconfig`` synchronizes an existing " -"kernel configuration. Normal builds do not silently change m back to y. " -"Disabling ``CONFIG_MODULES`` still allows a fully built-in system." +"configurations; all default production components are built in as ``y``. " +"In the kernel menu, components with independent lifecycles can be changed" +" to ``m``; boot-critical components such as scheduling, memory, the " +"module loader, and VFS remain built in. ``kernel-allmodconfig`` selects m" +" for modularizable components; ``kernel-olddefconfig`` synchronizes an " +"existing kernel configuration. Normal builds do not silently change m " +"back to y. Disabling ``CONFIG_MODULES`` still allows a fully built-in " +"system." msgid "" -"模块与 initramfs 消费内核实际 install manifest。镜像打包检查根控制器、 根文件系统及其依赖闭包,拒绝缺失必需功能、模块错 " -"ABI 或成对载荷不一致, 不会为让构建成功而静默修改配置。产物位置沿用 :doc:`../kbuild/building`。" +"模块与 initramfs 消费内核实际 install manifest。镜像打包检查根控制器、 " +"根文件系统及其依赖闭包,拒绝缺失必需功能、模块错 ABI 或成对载荷不一致, 不会为让构建成功而静默修改配置。产物位置沿用 " +":doc:`../kbuild/building`。" msgstr "" "Modules and initramfs use the kernel's actual install manifest. Image " -"packaging checks the root controller, root filesystem, and their dependency " -"closure, rejecting missing required functionality, module ABI mismatches, or" -" inconsistent paired payloads. It does not silently alter configuration to " -"make a build succeed. Artifact locations remain as described in " -":doc:`../kbuild/building`." +"packaging checks the root controller, root filesystem, and their " +"dependency closure, rejecting missing required functionality, module ABI " +"mismatches, or inconsistent paired payloads. It does not silently alter " +"configuration to make a build succeed. Artifact locations remain as " +"described in :doc:`../kbuild/building`." msgid "启动与自动加载" msgstr "Boot and Automatic Loading" msgid "" -"GRUB 同时加载内核和薄 newc initramfs。``/init`` 挂载 proc/sys/dev,使用 真实 BusyBox " -"modprobe 加载根控制器和文件系统,再根据 ``root=`` 挂载真实根 并 switch_root。Live/Installer " -"的大根镜像是独立的内存块设备,不能替代 initramfs。普通 OpenRC 模块服务先于音频、网络和 Xorg;PCI 设备通过 sysfs " -"modalias 选择模块,平台模块来自当前内核版本的生成清单。" -msgstr "" -"GRUB loads both the kernel and a thin newc initramfs. ``/init`` mounts " -"proc/sys/dev, uses real BusyBox modprobe to load the root controller and " -"filesystem, then mounts the real root according to ``root=`` and runs " -"switch_root. The large Live/Installer root image is a separate in-memory " -"block device and cannot replace initramfs. The regular OpenRC module service" -" runs before audio, networking, and Xorg. PCI devices select modules through" -" sysfs modalias; platform modules come from a generated manifest for the " -"current kernel version." +"GRUB 使用 Multiboot2 加载内核和 dracut 生成的未压缩 CPIO。 常规启动优先挂载指定 PARTUUID 的 ext4 " +"根。需要模块才能访问根设备时, dracut 通过 kmod 加载模块并切换到真实根。进入系统后, ``systemd-modules-" +"load.service`` 读取当前 release 的平台模块清单, udev 根据 PCI 设备的 sysfs modalias " +"自动加载匹配模块。" +msgstr "" +"GRUB loads the kernel and dracut's uncompressed CPIO through Multiboot2. " +"Ordinary boot first tries the ext4 root identified by PARTUUID. When root" +" storage requires modules, dracut loads them through kmod and switches to" +" the installed root. On the installed system, ``systemd-modules-" +"load.service`` reads the platform list for the running release. udev " +"loads modules matching PCI modalias entries in sysfs." msgid "" "管理员可使用 ``/etc/modules-load.d/*.conf`` 和 ``/etc/modprobe.d/*.conf``。 " @@ -84,9 +87,10 @@ msgid "" msgstr "" "Administrators can use ``/etc/modules-load.d/*.conf`` and " "``/etc/modprobe.d/*.conf``. Overrides and masking of same-name " -"configuration, blacklists, and parameters are handled by the actual module " -"tools and loading policy. Do not copy a generated platform manifest from an " -"old kernel version into a static configuration shared by all versions." +"configuration, blacklists, and parameters are handled by the actual " +"module tools and loading policy. Do not copy a generated platform " +"manifest from an old kernel version into a static configuration shared by" +" all versions." msgid "查询与装卸" msgstr "Inspection, Loading, and Unloading" @@ -95,16 +99,15 @@ msgid "在目标 ReliefOS 系统内执行::" msgstr "Run on the target ReliefOS system::" msgid "" -"模块安装在 ``/lib/modules//``。modprobe 读取目标兼容 depmod " -"生成的依赖、别名和内置数据库;内置模块的 modprobe 是有效的空操作。 修改内核模块需要内核检查的 ``CAP_SYS_MODULE``,仅在 " -"UI 中获得管理员 身份不能绕过该检查。错误版本、未解析符号和损坏 ELF 必须明确失败。" +"模块安装在 ``/usr/lib/modules//``。modprobe 读取目标兼容 depmod " +"生成的依赖、别名和内置数据库;内置模块的 modprobe 是有效的空操作。 修改内核模块需要内核检查的 " +"``CAP_SYS_MODULE``,仅在 UI 中获得管理员 身份不能绕过该检查。错误版本、未解析符号和损坏 ELF 必须明确失败。" msgstr "" -"Modules are installed under ``/lib/modules//``. modprobe reads " -"dependency, alias, and built-in databases generated by a target-compatible " -"depmod; modprobe for a built-in module is a valid no-op. Modifying kernel " -"modules requires ``CAP_SYS_MODULE``, as checked by the kernel; merely " -"obtaining administrator identity in the UI cannot bypass this check. Wrong " -"versions, unresolved symbols, and corrupted ELF files must fail explicitly." +"Modules are installed under ``/usr/lib/modules//``. modprobe " +"reads depmod's dependency, alias and built-in databases. Loading a built-" +"in module is a successful no-op. The kernel requires ``CAP_SYS_MODULE`` " +"for changes. A version mismatch, unresolved symbols or a damaged ELF file" +" must fail explicitly." msgid "" "活跃挂载、打开的设备、用户映射、IRQ、DMA 和在途回调会保留模块 owner。 卸载忙碌的根磁盘、文件系统、DRM 或 PCM " @@ -112,104 +115,116 @@ msgid "" msgstr "" "Active mounts, open devices, user mappings, IRQs, DMA, and in-flight " "callbacks retain the module owner. Refusal to unload a busy root disk, " -"filesystem, DRM, or PCM implementation is normal. Code still in use must not" -" be freed merely to make an unload command succeed." +"filesystem, DRM, or PCM implementation is normal. Code still in use must " +"not be freed merely to make an unload command succeed." msgid "更新与恢复" msgstr "Updates and Recovery" msgid "" -"签名内核包及 RPR 的完整事务见 :doc:`packages`。A/B 选择记录绑定完整 模块 ABI、内核 SHA-256 和 initramfs" -" SHA-256;版本目录还包含成对清单。 首次安装的残缺零分配或同一候选版本记录可重试,不明旧记录不会被覆盖。" +"签名内核包及 RPR 的完整事务见 :doc:`packages`。A/B 选择记录绑定完整 模块 ABI、内核 SHA-256 和 " +"initramfs SHA-256;版本目录还包含成对清单。 首次安装的残缺零分配或同一候选版本记录可重试,不明旧记录不会被覆盖。" msgstr "" "For complete signed kernel package and RPR transactions, see " ":doc:`packages`. A/B selection records bind the full module ABI, kernel " "SHA-256, and initramfs SHA-256; version directories also contain paired " -"manifests. An incomplete all-zero allocation from a first installation or a " -"record for the same candidate version can be retried; unknown old records " -"are not overwritten." +"manifests. An incomplete all-zero allocation from a first installation or" +" a record for the same candidate version can be retried; unknown old " +"records are not overwritten." msgid "" "更新后的候选内核只有一次自动试启动机会。选择器在真正启动菜单项时,先 通过上游 GRUB ``save_env`` " -"在预分配的状态文件中消耗这次机会;写入失败 会拒绝候选内核并保留已确认版本。候选启动后,默认运行级的 ``reliefos-boot-" -"confirm`` 服务调用原生静态工具,核对运行内核、启动参数中的 A/B 槽位、发布代数和 initramfs " -"摘要,以及完整的已安装载荷,才确认本次启动。 同一 ``uname -r`` 下不同 initramfs 不能互相代为确认。" -msgstr "" -"The updated candidate kernel has one automatic trial boot. When its menu " -"entry is actually launched, the selector first consumes that opportunity " -"in a preallocated state file using upstream GRUB ``save_env``. A write " -"failure rejects the candidate and retains the confirmed version. After " -"the candidate boots, the default-runlevel ``reliefos-boot-confirm`` " -"service invokes a native static tool. It confirms the boot only after " -"checking the running kernel, the A/B slot, publication generation and " -"initramfs digest in the boot arguments, and the complete installed " -"payload. Different initramfs images with the same ``uname -r`` cannot " -"confirm one another." - -msgid "" -"若候选内核 panic、被复位或在确认前中断,下次启动自动选择保留的已确认槽位。 此机制不主动复位已挂起的机器,也不回滚用户态 " -"APK;它只在下一次启动时回退 内核及 initramfs。达到默认运行级的核心服务启动顺序是确认边界,不代表所有 " +"在预分配的状态文件中消耗这次机会;写入失败 会拒绝候选内核并保留已确认版本。候选启动后,systemd 的 ``reliefos-boot-" +"confirm`` 服务调用引导核对工具,核对运行内核、启动参数中的 A/B 槽位、发布代数和 initramfs " +"摘要,以及完整的已安装载荷,才确认本次启动。 同一 ``uname -r`` 下不同 initramfs 不能互相代为确认。 " +"确认期间持有 POSIX 更新锁,每份 ESP 内核及 initramfs 只读取并校验一次, 随后依据有效槽位的发布代数判定最新版本。" +msgstr "" +"An updated candidate gets one automatic trial boot. Before loading it, " +"the selector consumes the trial in a preallocated state file using GRUB " +"``save_env``. A write failure keeps the confirmed version. After boot, " +"systemd's ``reliefos-boot-confirm`` service checks the running kernel, " +"A/B slot, generation, initramfs digest and installed payload. " +"Confirmation is specific to that initramfs even if another has the same " +"``uname -r``. Confirmation holds the POSIX update lock, reads and " +"verifies each ESP kernel and initramfs payload once, then selects the " +"latest version by the generation of the valid slots." + +msgid "" +"确认工具也可从根文件系统的 ``/.reliefos/kernel-bundles//`` " +"读取完整载荷, 并按运行版本和启动参数中的 initramfs 摘要选择目录。载荷必须通过完整性校验, 且其内核、模块 ABI " +"与启动记录一致。可使用 ``reliefos-mkbundle --persist`` 生成持久 载荷。pacman 的更新钩子使用这一持久载荷。" +msgstr "" +"The confirmation tool can read the full payload from ``/.reliefos/kernel-" +"bundles//``. It uses the running release and " +"boot argument digest to select the directory, and checks the integrity, " +"kernel and module ABI against the boot record. ``reliefos-mkbundle " +"--persist`` prepares the persistent payload used by the pacman hook." + +msgid "" +"若候选内核 panic、被复位或在确认前中断,下次启动自动选择保留的已确认槽位。 此机制不主动复位已挂起的机器,也不回滚用户态 pacman " +"事务;它只在下一次启动时回退 内核及 initramfs。达到 multi-user.target 的核心服务启动顺序是确认边界,不代表所有 " "桌面应用、网络服务或外设都经过健康检查。再次发布不同候选版本时,原生发布器 " "会覆盖未确认槽位,继续保留最后一个已确认版本。相同候选的重试发布是幂等的, 不会暗中重置已经消耗的试启动次数。" msgstr "" -"If the candidate panics, is reset, or is interrupted before confirmation," -" the next boot automatically selects the retained confirmed slot. This " -"mechanism does not actively reset a hung machine or roll back userspace " -"APKs; it rolls back the kernel and initramfs on the next boot only. Core " -"service startup ordering at the default runlevel defines the confirmation" -" boundary; it does not mean every desktop application, network service, " -"or peripheral passed a health check. Publishing a different candidate " -"overwrites the unconfirmed slot while preserving the last confirmed " -"version. Retrying publication of the same candidate is idempotent and " -"does not silently reset consumed boot attempts." +"If a candidate panics, is reset or is interrupted before confirmation, " +"the next boot selects the retained confirmed slot. Fallback concerns the " +"kernel and initramfs. Userspace retains the result of the pacman " +"transaction, and a hung system requires a reset. Confirmation follows the" +" core services ordered with multi-user.target. Publishing a different " +"candidate replaces the unconfirmed slot and keeps the last confirmed " +"version. Retrying publication for the same candidate preserves its trial " +"count." msgid "查看当前记录可执行::" msgstr "Inspect the current records with::" msgid "" -"健康记录绑定到不可变选择记录的发布代数;迁移标记存在后,缺失、损坏或旧代数 " -"的健康记录不会被当作启动成功。已有安装必须先通过匹配安装器更新引导资源, 再使用新在线更新器;日常更新不直接替换正在使用的 BIOS/EFI " -"加载器。" +"Arch/systemd 系统由 ``reliefos-boot`` 包提供并在根文件系统装配时启用 ``reliefos-boot-" +"confirm.service``。该服务在 ``multi-user.target`` 完成后运行, 等待 ``/boot`` " +"挂载,并要求它是独立挂载点。确认命令失败时服务进入失败状态, 候选版本保持未确认。管理员可以在修复启动分区问题后重新启动该服务。" msgstr "" -"Health records bind to the publication generation of immutable selection " -"records. Once the migration marker exists, missing, damaged, or old-" -"generation health records are not treated as successful boots. Existing " -"installations must update their boot resources using a matching installer" -" before using the new online updater. Routine updates do not directly " -"replace the active BIOS/EFI loader." +"On Arch/systemd systems, the ``reliefos-boot`` package supplies " +"``reliefos-boot-confirm.service``, which is enabled when the root " +"filesystem is assembled. It runs after ``multi-user.target``, waits for " +"``/boot`` to be mounted, and requires it to be a separate mount point. If" +" confirmation fails, the service enters the failed state and the " +"candidate remains unconfirmed. An administrator can restart the service " +"after fixing the boot partition." + +msgid "健康记录绑定到不可变选择记录的发布代数。缺失、损坏或旧代数的健康记录 不会被当作启动成功。日常包更新保留正在使用的 BIOS/EFI 加载器。" +msgstr "" +"The health record is bound to the generation in the immutable selection " +"record. Missing, invalid or stale records leave the boot unconfirmed. " +"Ordinary package updates keep the working BIOS and EFI loaders." msgid "" -"故障模型包括任一步写入/同步失败、未同步数据或目录条目丢失,以及非当前 选择记录撕裂。同步成功的数据被设备丢弃、任意 FAT 元数据损坏,以及更新 " -"MBR/EFI 固件加载器本体,超出日常内核包 A/B 发布的保证范围。 QEMU、VMware 和真实硬件的运行证据分别记录,不能互相替代。" +"故障模型包括任一步写入/同步失败、未同步数据或目录条目丢失,以及非当前 选择记录撕裂。同步成功的数据被设备丢弃、任意 FAT 元数据损坏,以及更新" +" MBR/EFI 固件加载器本体,超出日常内核包 A/B 发布的保证范围。 QEMU、VMware 和真实硬件的运行证据分别记录,不能互相替代。" msgstr "" -"The fault model includes write/sync failure at any step, loss of unsynced " -"data or directory entries, and tearing of the noncurrent selection record. A" -" device discarding successfully synced data, arbitrary FAT metadata " -"corruption, and updates to the MBR/EFI firmware loader itself are outside " -"the guarantees of routine kernel-package A/B publishing. Runtime evidence " -"for QEMU, VMware, and physical hardware is recorded separately and cannot " -"substitute for one another." +"The fault model includes write/sync failure at any step, loss of unsynced" +" data or directory entries, and tearing of the noncurrent selection " +"record. A device discarding successfully synced data, arbitrary FAT " +"metadata corruption, and updates to the MBR/EFI firmware loader itself " +"are outside the guarantees of routine kernel-package A/B publishing. " +"Runtime evidence for QEMU, VMware, and physical hardware is recorded " +"separately and cannot substitute for one another." msgid "固件选择器的回归测试使用独立、无可执行内核的 ISO,在真实 BIOS 和 UEFI GRUB 中检查摘要参数、成对载荷和回退选择::" msgstr "" "Firmware selector regression tests use an independent ISO without an " -"executable kernel to check digest arguments, paired payloads, and fallback " -"selection in real BIOS and UEFI GRUB::" - -msgid "" -"先在同一 ``--stage`` 构建 ``grub-host grub-efi``,输出目录必须尚不存在。 GRUB 的本地补丁为上游 " -"``hashsum`` 增加单文件 ``--expected`` 比对;选择器 独立验证内核和 initramfs " -"的实际字节,避免把缺项校验清单当作载荷验证。 升级内核包不替换固件加载器;更新此选择器时,必须同时安装同版 BIOS/EFI GRUB " -"模块,不能仅复制新的配置文件到旧版 GRUB。" -msgstr "" -"First build ``grub-host grub-efi`` with the same ``--stage``; the output " -"directory must not already exist. The local GRUB patch adds single-file " -"``--expected`` comparison to upstream ``hashsum``. The selector " -"independently verifies the actual bytes of the kernel and initramfs, " -"avoiding the mistake of treating an incomplete checksum list as payload " -"verification. Kernel package upgrades do not replace the firmware loader. " -"When updating this selector, install matching BIOS/EFI GRUB modules too; do " -"not merely copy a new configuration file to an old GRUB version." +"executable kernel to check digest arguments, paired payloads, and " +"fallback selection in real BIOS and UEFI GRUB::" + +msgid "" +"先对同一输出运行 ``make build``,输出目录必须尚不存在。 GRUB 的本地补丁为上游 ``hashsum`` 增加单文件 " +"``--expected`` 比对;选择器 独立验证内核和 initramfs 的实际字节,避免把缺项校验清单当作载荷验证。 " +"升级内核包不替换固件加载器;更新此选择器时,必须同时安装同版 BIOS/EFI GRUB 模块,不能仅复制新的配置文件到旧版 GRUB。" +msgstr "" +"Run ``make build`` for the same build output first. Use a new directory " +"for the test results. The GRUB patch adds a single-file ``--expected`` " +"comparison to upstream ``hashsum``. The selector checks the actual kernel" +" and initramfs bytes. Kernel package upgrades preserve the firmware " +"loaders. A selector update requires matching BIOS and EFI GRUB modules." msgid "实际 GRUB 的健康记录写入与下次启动回退使用独立可写 FAT 磁盘验证::" msgstr "" diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/limitations.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/limitations.po index 480b05b3..940143aa 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/limitations.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/limitations.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "支持范围与已知限制" msgstr "Support Scope and Known Limitations" @@ -20,47 +23,46 @@ msgid "验证层次" msgstr "Levels of Verification" msgid "" -"必须分别报告源码检查、编译、镜像打包、实际运行。历史单项成功不代表 本次源码、全部应用或完整安装升级路径成功。VMware 验证未完成;物理硬件未验证。" -" 本次文档重组不修改这些运行状态,也不等于新一轮硬件验收。" +"必须分别报告源码检查、编译、镜像打包、实际运行。历史单项成功不代表 本次源码、全部应用或完整安装升级路径成功。VMware " +"验证未完成;物理硬件未验证。" msgstr "" -"Source inspection, compilation, image packaging, and actual execution must " -"be reported separately. A past individual success does not prove success for" -" the current source, all applications, or a complete installation/upgrade " -"path. VMware verification is incomplete; physical hardware is unverified. " -"This documentation reorganization does not change those runtime statuses or " -"constitute a new round of hardware acceptance testing." +"Report source inspection, compilation, image packaging and actual runtime" +" results separately. Historical results cover the tested versions and " +"cases. VMware verification is incomplete and physical hardware remains " +"untested." msgid "运行限制" msgstr "Runtime Limitations" msgid "" -"PCI BAR 使用独立设备映射窗口;物理地址位宽、RAM 重叠和缓存别名仍会 限制设备可用性,不能将一种 OVMF 拓扑推广到所有硬件。NVMe " -"当前不提供 已准入的 swap 后端;swap 存储仅支持经审计的 AHCI SATA。" +"PCI BAR 使用独立设备映射窗口;物理地址位宽、RAM 重叠和缓存别名仍会 限制设备可用性,不能将一种 OVMF 拓扑推广到所有硬件。NVMe" +" 当前不提供 已准入的 swap 后端;swap 存储仅支持经审计的 AHCI SATA。" msgstr "" -"PCI BARs use a separate device mapping window. Physical address width, RAM " -"overlap, and cache aliases still limit device availability; one OVMF " -"topology cannot be generalized to all hardware. NVMe currently provides no " -"approved swap backend; swap storage supports only audited AHCI SATA." +"PCI BARs use a separate device mapping window. Physical address width, " +"RAM overlap, and cache aliases still limit device availability; one OVMF " +"topology cannot be generalized to all hardware. NVMe currently provides " +"no approved swap backend; swap storage supports only audited AHCI SATA." msgid "64 TiB 是内核直映射窗口的设计上限,不是已验证的物理 RAM 容量。实际 使用量还受固件拓扑、早期页表和内存元数据约束。" msgstr "" "64 TiB is the design limit of the kernel's direct mapping window, not a " -"verified physical RAM capacity. Actual usable capacity is also constrained " -"by firmware topology, early page tables, and memory metadata." +"verified physical RAM capacity. Actual usable capacity is also " +"constrained by firmware topology, early page tables, and memory metadata." msgid "强制关机后的 Xorg 锁文件可能阻止桌面恢复。" msgstr "" -"Xorg lock files left after a forced power-off may prevent desktop recovery." +"Xorg lock files left after a forced power-off may prevent desktop " +"recovery." msgid "编译压力下 IceWM 拖动与延迟问题尚无完整修复验收证据。" msgstr "" -"There is not yet complete acceptance evidence for a fix to IceWM dragging " -"and latency issues under compilation load." +"There is not yet complete acceptance evidence for a fix to IceWM dragging" +" and latency issues under compilation load." msgid "ReliefMath 曾在关窗时退出 139,尚未完成根因修复和最终复验。" msgstr "" -"ReliefMath has exited with status 139 when closing a window; a root-cause " -"fix and final retest are not yet complete." +"ReliefMath has exited with status 139 when closing a window; a root-cause" +" fix and final retest are not yet complete." msgid "" "图形设备使用启动 framebuffer 或 VirtIO-GPU。3D 加速取决于设备是否提供 VirGL。 当前 DRM 接口不支持跨设备 " @@ -75,32 +77,23 @@ msgid "" "API。实际配置与管理见 :doc:`kernel-modules`。" msgstr "" "Loadable ``.ko`` modules must be compiled for the matching ReliefNT ABI. " -"Direct loading of original Linux binary modules and arbitrary Linux internal" -" APIs is unsupported. For actual configuration and administration, see " -":doc:`kernel-modules`." +"Direct loading of original Linux binary modules and arbitrary Linux " +"internal APIs is unsupported. For actual configuration and " +"administration, see :doc:`kernel-modules`." msgid "测试基线" msgstr "Test Baseline" msgid "" -"历史 soundctl APK 归属缺失已在当前策略中补齐;APK 归属测试同时覆盖 Python 3.10 与严格宿主 umask 的场景。驱动 " -"ABI 保留 168 字节原始前缀, 版本 2 的 17 个追加服务字段通过单独夹具校验,总长为 304 字节; 原始 golden " +"驱动 ABI 保留 168 字节原始前缀, 版本 2 的 17 个追加服务字段通过单独夹具校验,总长为 304 字节; 原始 golden " "未重生成,旧版本驱动描述符在 init 前拒绝。 音频支持清单检查验证声明的前提、证据和范围,不再固定要求所有运行标志 " -"为未验证。音频产品检查仍需要实际构建产物;部分旧 fixture 及完整系统的 既有问题仍须单独复验,不宣称公开总测试全部通过。 Linux/POSIX" -" 定向测试通过不能视为全量兼容认证;完整本机自举也未完成。 报告失败时保留原始命令、配置、返回码和日志,不能放宽断言后宣称通过。" +"为未验证。音频产品检查仍需要实际构建产物;完整系统的既有问题仍须单独复验。 Linux/POSIX " +"定向测试通过不能视为全量兼容认证;完整本机自举也未完成。 报告失败时保留原始命令、配置、返回码和日志,不能放宽断言后宣称通过。" msgstr "" -"The historical lack of soundctl APK ownership has been addressed in the " -"current policy; APK ownership tests also cover Python 3.10 and a strict host" -" umask. The driver ABI retains its original 168-byte prefix, and the 17 " -"appended version-2 service fields are checked with a separate fixture, for a" -" total size of 304 bytes. The original golden reference was not regenerated;" -" old-version driver descriptors are rejected before init. Audio support-list" -" checks validate the stated prerequisites, evidence, and scope, rather than " -"requiring every runtime flag to remain unverified. Audio product checks " -"still require actual build artifacts. Some old fixtures and pre-existing " -"full-system issues still need separate retesting; no claim is made that the " -"entire public test suite passes. Passing targeted Linux/POSIX tests does not" -" constitute full compatibility certification, and complete native self-" -"hosting is also unfinished. Failure reports must retain the original " -"command, configuration, return code, and logs; do not weaken assertions and " -"then claim success." +"The driver ABI preserves its original 168-byte prefix. A separate fixture" +" checks the 17 additions in version 2, for a total of 304 bytes. The " +"original baseline is retained and obsolete driver descriptors are " +"rejected before initialization. Audio checks require real build artifacts" +" and record their prerequisites and observed results. Full-system issues " +"and native self-hosting still need verification. Keep the command, " +"configuration, exit status and logs for failures." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/network-controller.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/network-controller.po index 848caf4b..200ec268 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/network-controller.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/network-controller.po @@ -4,176 +4,64 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "Network Controller" msgstr "Network Controller" msgid "" -"网络控制器是使用 C++ 和 FLTK 编写的原生 X11 应用,启动命令为 ``network-" -"controller``。支持中文,入口位于系统应用菜单;默认包含在 Xorg 镜像中。 普通用户选择 sudo 密码或 root " -"密码解锁受限工作进程,GUI 保持原用户身份。 root 账户直接进入。密码不保存在命令参数、环境变量、文件或日志中。" -msgstr "" -"Network Controller is a native X11 application written in C++ and FLTK, " -"launched with ``network-controller``. It supports Chinese, appears in the " -"system applications menu, and is included in Xorg images by default. Regular" -" users unlock a restricted worker using either their sudo password or the " -"root password, while the GUI retains the original user identity. Root enters" -" directly. Passwords are not stored in command arguments, environment " -"variables, files, or logs." - -msgid "查看与诊断" -msgstr "Inspection and Diagnostics" - -msgid "" -"左侧按实际接口查询结果列出网卡。“概览”显示 IPv4、掩码、网关、MAC、MTU、 " -"解析器。自动刷新只更新状态,不覆盖未保存的配置。若系统导出标准接口计数,则 同时显示收发总量、速率、包数及错误;当前内核尚未导出这些计数,界面明确提示 " -"并隐藏该组字段,不把缺失数据显示为零。网关和连接信息使用已有公开网络查询接口。" -msgstr "" -"The left pane lists network adapters returned by actual interface queries. " -"Overview displays IPv4, netmask, gateway, MAC, MTU, and resolver " -"information. Automatic refresh updates status only, without overwriting " -"unsaved configuration. If the system exports standard interface counters, " -"totals, rates, packet counts, and errors for transmission and reception are " -"also shown. The current kernel does not yet export these counters; the " -"interface explicitly says so and hides those fields instead of presenting " -"missing data as zero. Gateway and connection information use existing public" -" network query interfaces." - -msgid "" -"“诊断工具”提供 Ping、DNS 查询、TCP 端口测试和 IPv4 子网计算。工具菜单提供 有效路由、TCP 连接、DHCP 租约、解析器、DHCP" -" 日志和诊断报告。诊断命令 异步执行,支持取消、超时与关闭清理;结果在“输出”中保留,可复制或导出。 TCP 连接建立不代表 TLS " -"校验或目标应用健康;DNS、端口与 Ping 的失败各自报告。" -msgstr "" -"Diagnostic Tools provides Ping, DNS lookup, TCP port testing, and IPv4 " -"subnet calculation. The Tools menu offers effective routes, TCP connections," -" DHCP leases, resolver information, DHCP logs, and diagnostic reports. " -"Diagnostic commands run asynchronously with cancellation, timeouts, and " -"cleanup on close. Results remain in Output and can be copied or exported. " -"Establishing a TCP connection does not prove TLS validation or target " -"application health; DNS, port, and Ping failures are reported separately." - -msgid "配置与迁移" -msgstr "Configuration and Migration" - -msgid "" -"左侧选择实际枚举的以太网接口并分别编辑;切换网卡前会提示丢弃未保存的修改。 没有 IPv4 地址或处于禁用状态的网卡也会显示。支持自动 DHCP、静态 " -"IPv4 和禁用;静态模式可以不设置默认网关,DNS 必须明确选择 自定义或 Cloudflare。自定义 DNS 最多三个 IPv4 " -"地址,以空格分隔。" -msgstr "" -"Select an actually enumerated Ethernet interface in the left pane and edit " -"each separately. Switching adapters prompts you to discard unsaved changes. " -"Interfaces without IPv4 addresses or currently disabled are also listed. " -"Modes include automatic DHCP, static IPv4, and disabled. Static mode allows " -"no default gateway, but DNS must explicitly be custom or Cloudflare. Custom " -"DNS accepts at most three space-separated IPv4 addresses." - -msgid "" -"eth0 继续使用 ``/etc/reliefos/network.conf``;其他接口使用 " -"``/etc/reliefos/network.d/<接口名>.conf``。未设置的接口默认使用 DHCP。 配置是版本化数据,不作为 shell " -"脚本执行。静态地址、前缀、网关和 DNS 在 GUI、 工作进程及启动链分别验证,接口名必须对应已枚举的 ``eth`` 加十进制编号。 " -"文件目录和配置必须由 root 所有,不能由组或其他用户写入,不能使用符号链接 替代配置文件或目录。保存检查外部变动,并通过临时文件、同步与 " -"rename 原子 替换;各接口各自保留 ``.bak`` 备份。“恢复上次配置”也检查当前快照,不能 绕过冲突检查。 " -"原先没有配置文件的状态可以恢复为缺省状态。" +"从桌面菜单打开 Network Controller,或运行 ``network-controller``。 " +"界面按接口显示链路、地址、路由和流量,提供配置、DHCP 续租、DNS 查询和 诊断输出。默认由 systemd-networkd " +"管理有线网络,由 systemd-resolved 提供 DNS。" msgstr "" -"eth0 continues to use ``/etc/reliefos/network.conf``; other interfaces use " -"``/etc/reliefos/network.d/<接口名>.conf``. Unconfigured interfaces default to " -"DHCP. Configuration is versioned data, not executable shell scripts. Static " -"addresses, prefixes, gateways, and DNS are validated independently in the " -"GUI, worker, and boot chain. Interface names must match enumerated ``eth`` " -"names followed by a decimal number. Configuration files and directories must" -" be root-owned, not group- or other-writable, and must not be replaced by " -"symbolic links. Saving checks external changes and atomically replaces files" -" using temporary files, sync, and rename; each interface retains its own " -"``.bak`` backup. Restore Previous Configuration also checks the current " -"snapshot and cannot bypass conflict checks. An originally absent " -"configuration file can be restored to its default, absent state." +"Open Network Controller from the desktop menu or run ``network-" +"controller``. The window shows link state, addresses, routes and traffic " +"per interface. It also provides configuration, DHCP renewal, DNS queries " +"and diagnostics. systemd-networkd manages wired links and systemd-" +"resolved provides DNS." msgid "" -"旧的 DNS-only ``network.conf`` 保持可读;旧 udhcpc DNS 策略在迁移前继续生效。 " -"第一次保存写入完整的新格式并备份旧文件,恢复旧备份后仍能通过原链路启动。 升级时保留本地 ``/etc`` 配置,不要求手动删除旧文件。 版本化 " -"profile 生效后,旧 DNS 写入 API 返回 ``EBUSY``,调用方应通过本程序或 编辑 profile " -"后重启网络服务调整策略;不会在解析器忽略旧文件时谎报设置成功。 未迁移的旧配置继续支持旧 API。" +"每个接口可选择自动(DHCP)、静态 IPv4 或禁用。静态配置需要 IPv4 地址及 前缀,可指定网关。DNS 可由网络自动获得,或使用 " +"Cloudflare 或自定义 DNS。 自定义 DNS 会关闭该接口通过 DHCP 和 IPv6 路由器通告获取的 DNS。 " +"其他接口的配置仍由各自的 systemd 文件决定。" msgstr "" -"Legacy DNS-only ``network.conf`` files remain readable, and the old udhcpc " -"DNS policy remains active until migration. The first save writes the full " -"new format and backs up the old file; restoring that backup still allows " -"boot through the original chain. Upgrades preserve local ``/etc`` " -"configuration without requiring manual removal of old files. Once a " -"versioned profile takes effect, the old DNS write API returns ``EBUSY``. " -"Callers should change policy through this application or edit the profile " -"and restart networking; the API does not falsely report success while the " -"resolver ignores the old file. Unmigrated legacy configuration continues to " -"support the old API." +"Choose automatic DHCP, static IPv4 or disabled for each interface. Static" +" configuration requires an IPv4 address and prefix, with an optional " +"gateway. Select automatic DNS, Cloudflare or custom servers. Custom DNS " +"disables DNS from DHCP and IPv6 Router Advertisements on that interface. " +"Other interfaces use their own systemd configuration." -msgid "" -"``reliefos-dhcp`` OpenRC 服务启动时从 ``/proc/net/dev`` 枚举全部以太网卡, " -"逐卡设置静态/禁用状态或启动各自的 ``supervise-daemon`` 和 DHCP 客户端。 停止或应用某卡时先停其监督器,再校验客户端 PID" -" 及接口参数并等待退出, 然后仅清理该卡地址、默认路由和租约;不会根据刚保存的新模式漏停旧客户端。 eth0 保留原有 " -"``/run/reliefos/udhcpc.pid``、``dhcp-lease`` 和 ``dhcp-dns`` " -"路径,其他接口的运行状态带接口名后缀。``network-profile`` 独立于可选 GUI, 关闭 GUI 组件不影响基础网络启动。" -msgstr "" -"At startup, the ``reliefos-dhcp`` OpenRC service enumerates all Ethernet " -"adapters from ``/proc/net/dev``, applying each static/disabled state or " -"starting its own ``supervise-daemon`` and DHCP client. Stopping or applying " -"an interface first stops its supervisor, validates the client PID and " -"interface arguments, waits for exit, and then clears only that interface's " -"addresses, default route, and lease. It does not overlook an old client " -"because the newly saved mode differs. eth0 retains the original " -"``/run/reliefos/udhcpc.pid``, ``dhcp-lease``, and ``dhcp-dns`` paths; other " -"interfaces' runtime state has interface-name suffixes. ``network-profile`` " -"is independent of the optional GUI, so disabling the GUI component does not " -"affect basic network startup." - -msgid "" -"DNS 解析器由 ``publish-resolver`` 全系统共享并串行发布。先按内核枚举顺序 " -"收集未禁用且未停止接口的显式自定义/Cloudflare 服务器,再收集 eth0 的自动 RDNSS (仅 eth0 为自动 DNS " -"时),最后按同一顺序收集自动 DHCP 租约;去重后发布最多 三个地址,多余地址保留在各自租约缓存中。某接口的释放、续租或停用不会删除 其他接口的 " -"DNS 状态。单独 eth0 的旧 DNS-only 和固定 DNS 行为保持兼容。" -msgstr "" -"DNS resolver publication is shared system-wide and serialized by ``publish-" -"resolver``. It first collects explicit custom/Cloudflare servers from " -"interfaces that are neither disabled nor stopped, in kernel enumeration " -"order; then eth0's automatic RDNSS, only when eth0 uses automatic DNS; and " -"finally automatic DHCP leases in the same order. After deduplication, at " -"most three addresses are published, with extras retained in their lease " -"caches. Releasing, renewing, or disabling one interface does not delete " -"another's DNS state. Legacy DNS-only and fixed-DNS behavior for eth0 alone " -"remains compatible." +msgid "保存与应用" +msgstr "Save and apply" msgid "" -"“仅保存”更改持久化策略,供随后服务重启、DHCP 更新或下次启动读取; “保存并应用”只重新配置选中的接口,可能中断该接口的连接;如果整个服务 " -"已停止,则由 OpenRC 启动服务并配置全部接口。应用失败时已保存的文件 仍保留,程序显示失败和输出,可修正或恢复备份;不能将保存成功等同于联网成功。" +"管理员授权后,界面为该接口保存 ``/etc/systemd/network/20-reliefos-<接口>.network``,再调用 " +"``networkctl reload`` 和 ``networkctl reconfigure``。修改结果及系统命令 " +"的错误会显示在界面。DHCP 续租使用 ``networkctl renew``,只用于自动地址模式。 未单独配置的物理有线接口由发行版提供的 " +"``89-reliefos-wired.network`` 处理。" msgstr "" -"Save Only changes persistent policy for later service restarts, DHCP " -"updates, or the next boot. Save and Apply reconfigures only the selected " -"interface and may interrupt its connections; if the entire service is " -"stopped, OpenRC starts it and configures all interfaces. On apply failure, " -"the saved file remains, and the application displays failure and output so " -"you can correct it or restore a backup. Successful saving must not be " -"equated with successful connectivity." +"After administrator authorization, the controller saves " +"``/etc/systemd/network/20-reliefos-.network``, then calls " +"``networkctl reload`` and ``networkctl reconfigure``. It displays the " +"result and command errors. ``networkctl renew`` renews a lease in " +"automatic mode. The distributed ``89-reliefos-wired.network`` handles " +"physical wired interfaces without a specific configuration." -msgid "边界" -msgstr "Boundaries" +msgid "管理员也可直接检查 live 状态::" +msgstr "Administrators can also inspect the live state directly::" -msgid "" -"当前 GUI 不提供 IPv6 持久化配置;系统的 IPv6/SLAAC、RDNSS 与命令行配置见 :doc:`ipv6`。此 GUI 也不提供 " -"Wi-Fi、VPN、桥接、VLAN、任意静态路由管理或改变内核固定的 MTU。不能将单条 TCP " -"连接的字节计数冒充网卡总流量。不支持的能力不会显示成已生效。以太网链路能力取决于当前内核和驱动。 QEMU 运行验证与 VMware " -"实机验证分别记录;VMware 验证未完成。" +msgid "``eth0`` 应换成实际接口名。静态配置或断开网卡前,确认远程会话是否依赖该接口。 IPv6 和 DNS 自动配置见 :doc:`ipv6`。" msgstr "" -"The current GUI provides no persistent IPv6 configuration; for system " -"IPv6/SLAAC, RDNSS, and command-line configuration, see :doc:`ipv6`. It also " -"provides no Wi-Fi, VPN, bridging, VLAN, arbitrary static route management, " -"or changes to the kernel's fixed MTU. Per-connection TCP byte counts must " -"not be passed off as total adapter traffic. Unsupported capabilities are not" -" shown as active. Ethernet link capabilities depend on the current kernel " -"and driver. QEMU runtime and actual VMware verification are recorded " -"separately; VMware verification is incomplete." +"Replace ``eth0`` with the interface name. Before setting a static address" +" or disconnecting the device, check whether your remote session uses the " +"link. See :doc:`ipv6` for IPv6 and automatic DNS." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/openrc-controller.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/openrc-controller.po deleted file mode 100644 index 17f3a383..00000000 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/openrc-controller.po +++ /dev/null @@ -1,162 +0,0 @@ -# en translation of the ReliefOS documentation. -# Copyright (C) 2021-2026, ReliefOS contributors -# Distributed under the same license as ReliefOS. -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS 5.3.2\n" -"PO-Revision-Date: 2026-11-14 00:00+0800\n" -"Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgid "OpenRC Controller" -msgstr "OpenRC Controller" - -msgid "" -"在系统应用菜单中打开“OpenRC 控制器”,或运行 ``openrc-controller``。 程序使用 C++、FLTK 原生 gtk+ " -"控件和系统中文翻译,不属于 Office 分组。" -msgstr "" -"Open OpenRC Controller from the system applications menu, or run ``openrc-" -"controller``. The program uses C++, FLTK native gtk+ widgets, and system " -"Chinese translations, and is not in the Office group." - -msgid "权限与会话" -msgstr "Privileges and Sessions" - -msgid "" -"root 账户直接进入。普通用户进入前选择 sudo 当前用户密码或 root 账户密码; 取消认证会退出程序。sudo 方式仍要求账户具有 sudo " -"权限,例如属于 wheel 组。 密码不保存,输入期间关闭输入法,认证后清除内存缓冲区。" -msgstr "" -"Root enters directly. Regular users choose either their current user's sudo " -"password or the root account password before entry; cancelling " -"authentication exits the program. The sudo method still requires sudo " -"authorization, such as wheel group membership. Passwords are not saved; " -"input methods are disabled during entry and the memory buffer is cleared " -"after authentication." - -msgid "" -"图形界面保持启动用户身份;固定路径 ``/usr/lib/reliefos/apps/openrc-controller/openrc-" -"controller.elf --worker`` 作为受限 root 工作进程,处理校验过的服务、运行级别与配置请求。 " -"会话仅存在于本次应用运行期间,断开后需重新打开并认证。 sudoers 对该工作程序禁用 ``use_pty``,以保持二进制通信和 EOF 语义; " -"这条规则不会授予新的 sudo 权限,也不免除密码认证。" -msgstr "" -"The GUI retains the launching user's identity. The fixed path " -"``/usr/lib/reliefos/apps/openrc-controller/openrc-controller.elf --worker`` " -"runs as a restricted root worker, handling validated service, runlevel, and " -"configuration requests. The session exists only for this application run; " -"after disconnection, reopen and authenticate again. sudoers disables " -"``use_pty`` for this worker to preserve binary communication and EOF " -"semantics. This rule neither grants new sudo privileges nor waives password " -"authentication." - -msgid "服务与运行级别" -msgstr "Services and Runlevels" - -msgid "" -"服务表显示真实 OpenRC 状态、直接加入的运行级别和可用的运行时间。 左侧提供状态及运行级别筛选,上方可搜索,单击列标题排序。 Ctrl 或 " -"Shift 多选,工具栏提供启动、停止、重启、重载、启用与停用。" -msgstr "" -"The service table shows actual OpenRC status, directly assigned runlevels, " -"and available uptime information. The left pane filters by status and " -"runlevel, the top provides search, and column headers sort the table. Use " -"Ctrl or Shift for multiple selection; the toolbar offers Start, Stop, " -"Restart, Reload, Enable, and Disable." - -msgid "" -"“启用/停用”对应 ``rc-update add/del``,改变启动配置; “启动/停止”改变当前运行状态。它们是独立的操作。 " -"批量请求按顺序执行,失败会停止后续请求,实际输出保留在“输出”页。 外部服务命令最长允许 180 秒,界面异步显示输出;取消或关闭可能留下过渡状态, " -"应先查看服务状态,再决定是否使用高级操作中的 ``zap``。 ``zap`` 仅重置 OpenRC 记录,不会停止实际进程。 " -"配置保存会完成当前原子提交,再处理取消或退出请求。" -msgstr "" -"Enable/Disable corresponds to ``rc-update add/del`` and changes startup " -"configuration; Start/Stop changes the current running state. These are " -"independent operations. Batch requests run sequentially and stop on failure," -" with actual output retained on the Output page. External service commands " -"have a 180-second limit, with asynchronous output display. Cancellation or " -"closing may leave a transitional state; inspect service status before " -"deciding whether to use ``zap`` in Advanced Operations. ``zap`` only resets " -"OpenRC records and does not stop actual processes. A configuration save " -"completes its current atomic commit before handling cancellation or exit." - -msgid "" -"高级操作可以指定服务公布的自定义命令,选择模拟执行、条件执行、 忽略依赖或调试模式。每个参数独立传递,不拼接 shell 命令。 " -"依赖页支持需要、使用、希望、排序及反向依赖类型。" -msgstr "" -"Advanced Operations can invoke custom commands advertised by a service and " -"select dry-run, conditional execution, dependency ignoring, or debug mode. " -"Arguments are passed separately, never concatenated into a shell command. " -"The Dependencies page supports need, use, want, ordering, and reverse " -"dependency types." - -msgid "" -"运行级别菜单支持创建自定义级别、添加/删除成员、堆叠/取消堆叠、 删除空且未使用的自定义级别,以及切换普通运行级别。 " -"切换时可以选择仅启动目标服务,或完整切换。 完整切换可能停止网络和桌面需要的服务;程序不直接调用 " -"``sysinit``、``boot``、``single``、``shutdown`` 或 ``reboot`` 等特殊级别。 " -"“所有运行级别状态”显示上游 OpenRC 对堆叠和动态服务的原始解释。" -msgstr "" -"The Runlevels menu can create custom levels, add/remove members, " -"stack/unstack levels, delete empty unused custom levels, and switch ordinary" -" runlevels. Switching can either start target services only or perform a " -"full transition. A full transition may stop services needed by networking " -"and the desktop. The program does not directly invoke special levels such as" -" ``sysinit``, ``boot``, ``single``, ``shutdown``, or ``reboot``. All " -"Runlevel Status shows upstream OpenRC's raw interpretation of stacking and " -"dynamic services." - -msgid "配置与工具" -msgstr "Configuration and Tools" - -msgid "" -"可以编辑 ``/etc/conf.d/<服务>`` 和全局 ``/etc/rc.conf``。 保存保留原始文本、权限与所有者,检测外部修改,先生成 " -"``.openrc-controller.bak``,再原子替换并同步。 符号链接、非普通文件、不安全权限及大于 256 KiB 的配置会被拒绝。 " -"恢复备份前同样检查冲突,恢复时把现存内容保存成新的备份; 文件已删除时,按备份的所有者和权限重建,不放宽私有文件的权限。 " -"修改配置后是否需要重启服务由相应服务决定,程序不会隐式重启它。" -msgstr "" -"Edit ``/etc/conf.d/<服务>`` and global ``/etc/rc.conf``. Saving preserves " -"original text, permissions, and ownership, detects external changes, creates" -" ``.openrc-controller.bak``, then atomically replaces and syncs the file. " -"Symbolic links, nonregular files, unsafe permissions, and configurations " -"larger than 256 KiB are rejected. Restoring backups also checks conflicts " -"and saves current contents as a new backup. If a file has been deleted, it " -"is recreated with the backup's ownership and permissions without loosening " -"private-file permissions. Whether a service needs restarting after a " -"configuration change depends on that service; the program does not restart " -"it implicitly." - -msgid "" -"工具菜单提供手动启动、未分配、崩溃及受监督服务查询,依赖缓存重建, OpenRC/启动/系统日志查看,以及诊断报告和文本导出。 " -"日志只读取已存在的常用文件,并显示最后至多 256 KiB; 文件不存在时请检查 ``rc_logger`` 或系统日志服务配置。 工具原始输出保留 " -"OpenRC 的术语,界面和操作提示支持中文。" -msgstr "" -"The Tools menu queries manual-start, unassigned, crashed, and supervised " -"services; rebuilds dependency caches; views OpenRC, boot, and system logs; " -"and provides diagnostic reports and text export. Logs are read only from " -"existing common files, displaying at most the final 256 KiB. If a file is " -"missing, check ``rc_logger`` or the system logging service configuration. " -"Raw tool output retains OpenRC terminology; the interface and operation " -"prompts support Chinese." - -msgid "构建与验证" -msgstr "Build and Verification" - -msgid "组件为 ``APP_OPENRC_CONTROLLER``,默认构建、打包和提供桌面入口。 使用正常 Kbuild 入口::" -msgstr "" -"The component is ``APP_OPENRC_CONTROLLER``, built, packaged, and given a " -"desktop entry by default. Use the normal Kbuild entry points::" - -msgid "" -"宿主测试在私有 user namespace 和 chroot 中运行测试命令,不操作宿主 OpenRC。 完整系统验收脚本为 " -"``tools/test_openrc_controller_qemu.py``,使用私有镜像和服务夹具; " -"保留构建产物哈希、原始输出、截图和操作证据;默认退出私有来宾, 加 ``--keep-running`` 可继续进行手动图形界面检查。 VMware " -"验证未完成。" -msgstr "" -"Host tests run test commands in a private user namespace and chroot without " -"operating the host's OpenRC. The full-system acceptance script, " -"``tools/test_openrc_controller_qemu.py``, uses a private image and service " -"fixtures, retaining artifact hashes, raw output, screenshots, and operation " -"evidence. It exits the private guest by default; add ``--keep-running`` to " -"continue manual GUI inspection. VMware verification is incomplete." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/packages.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/packages.po index 76297be7..5ca89275 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/packages.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/packages.po @@ -4,190 +4,109 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" -msgid "软件包与证书" -msgstr "Packages and Certificates" - -msgid "命令行" -msgstr "Command Line" +msgid "软件包与仓库" +msgstr "Packages and repositories" msgid "" -"系统使用真实的上游 apk 命令、数据库、签名和依赖关系。 只读查询无需把桌面作为 root 启动;修改系统包通常需要管理员权限。 在 ReliefOS" -" 终端中可使用::" +"pacman 管理 Arch 官方仓库的基础系统、工具、开发库和桌面依赖,以及 ReliefOS 软件仓库(RPR)中的自研程序、运行库、paru" +" 和内核。系统的包配置保存在 ``/etc/pacman.conf``,Arch 镜像列表在 " +"``/etc/pacman.d/mirrorlist``。 本机已安装包数据库在 ``/var/lib/pacman/local``。" msgstr "" -"The system uses the real upstream apk command, database, signatures, and " -"dependencies. Read-only queries do not require running the desktop as root; " -"modifying system packages usually requires administrator privileges. In a " -"ReliefOS terminal, use::" +"pacman manages the base system, tools, development libraries and desktop " +"dependencies from Arch, and ReliefOS applications, runtime, paru and " +"kernels from RPR. Configuration uses ``/etc/pacman.conf`` and the Arch " +"mirror list at ``/etc/pacman.d/mirrorlist``. The local installed-package " +"database is in ``/var/lib/pacman/local``." msgid "" -"软件源位于 ``/etc/apk/repositories``,world 和公钥按 apk 的标准路径管理。 不要为解决包冲突删除仍在使用的 " -"libc、认证或基础包,也不要关闭签名验证。 外部软件存在 Linux ABI 依赖,安装成功不代表全部功能已验证。" +"新安装默认优先使用清华大学 TUNA 镜像访问 Arch 官方仓库,Arch 地理镜像作为备用。 " +"更新软件包不会覆盖现有镜像选择;已有系统如需切换,可把 ``/usr/share/reliefos/pacman/mirrorlist`` " +"的清华源条目放到 ``/etc/pacman.d/mirrorlist`` 的首位,然后执行完整升级。" msgstr "" -"Repositories are configured in ``/etc/apk/repositories``; world and public " -"keys use standard apk paths. Do not resolve package conflicts by deleting " -"libc, authentication, or base packages still in use, or by disabling " -"signature verification. External software has Linux ABI dependencies; " -"successful installation does not mean every feature has been verified." +"New installations prefer the Tsinghua University TUNA mirror for the " +"official Arch repositories, with the Arch geographic mirror as a " +"fallback. Package updates do not overwrite the current mirror selection. " +"On an existing system, to switch mirrors, put the Tsinghua entry from " +"``/usr/share/reliefos/pacman/mirrorlist`` first in " +"``/etc/pacman.d/mirrorlist`` and run a full upgrade." -msgid "" -"基础命令由完整的 ``reliefos-coreutils`` GNU 包与 BusyBox 按路径分工提供。 同名外部命令使用 GNU 入口,旧路径由" -" APK 管理并转发;详情与验收方法见 :doc:`coreutils`。" -msgstr "" -"Basic commands are supplied by the complete GNU ``reliefos-coreutils`` " -"package and BusyBox, divided by path. External commands with overlapping " -"names use GNU entry points; APK manages and forwards legacy paths. For " -"details and acceptance procedures, see :doc:`coreutils`." +msgid "查询和安装" +msgstr "Query and install packages" -msgid "基础依赖" -msgstr "Base Dependencies" - -msgid "" -"sl、ncurses、zlib、libpng、SQLite、mbedTLS 3 由签名 Alpine APK 提供。 " -"系统直接请求官方命令、终端工具/数据和 SQLite 命令/运行库,不再生成本地包装包。 文件所有权可通过 ``apk info --who-owns " -"/usr/bin/sl``、``/usr/bin/tput``、``/usr/lib/libsqlite3.so.0`` 查询。 " -"离线更新器在预检时将旧包装包的 world 请求转换为官方包,保留其他包和配置; 正式事务自动卸载旧包,完成后清除离线缓存中的旧包装包归档。 " -"新的自有包使用第 7 代版本前缀,保证从第 2、3、4、5、6 代包按正常版本顺序升级。 旧的 ``sqlite.so.3`` ABI 已移除。 依赖旧自定义 " -"SQLite VFS 或厂商内部符号的外部程序需要重新编译。" +msgid "如果需要先刷新仓库索引,应使用完整的 ``pacman -Syu``。 升级准备与启动文件故障恢复见 :doc:`system-updates`。" msgstr "" -"sl, ncurses, zlib, libpng, SQLite, and mbedTLS 3 are supplied by signed " -"Alpine APKs. The system requests official commands, terminal tools/data, and" -" SQLite commands/runtime libraries directly, no longer generating local " -"wrapper packages. Query file ownership with ``apk info --who-owns " -"/usr/bin/sl``, ``/usr/bin/tput``, and ``/usr/lib/libsqlite3.so.0``. During " -"preflight, the offline updater converts old wrapper-package world requests " -"to official packages while preserving other packages and configuration. The " -"actual transaction automatically removes old packages; afterward it clears " -"their wrapper archives from the offline cache. New project-owned packages " -"use a seventh-generation version prefix to upgrade normally from second-, " -"third-, fourth-, fifth-, and sixth-generation packages. The old ``sqlite.so.3`` ABI has been removed. " -"External programs depending on the old custom SQLite VFS or vendor-internal " -"symbols must be rebuilt." - -msgid "libmd 1.3.0、libbsd 运行库,以及 dosfstools、e2fsprogs 工具及其配套运行库和文档, 均直接使用锁定的官方 Alpine APK。 ext2/3/4 和 FAT 工具保留官方 ``/sbin`` 路径,旧 ``/usr/sbin`` 入口由兼容链接转发。 libmd 保留官方 ``/usr/lib`` 路径,旧 ``/lib`` 入口由本地认证支持包中的单向链接转发。 本地文件系统包继续提供 exfatprogs;兼容包通过真实 APK 依赖安装官方库和工具, 升级时同时转移旧文件的所有权,不强制覆盖。 shadow 构建使用独立提取的 libbsd 和 libmd 开发文件,运行镜像不包含 libmd 的头文件、 静态库和 pkg-config 文件,也不把 Alpine 的 Linux 头文件混入 SDK。" -msgstr "The libmd 1.3.0 and libbsd runtime libraries, along with dosfstools, e2fsprogs, their supporting libraries and documentation, come directly from pinned official Alpine APKs. ext2/3/4 and FAT tools retain their official ``/sbin`` paths; compatibility links forward older ``/usr/sbin`` entry points. libmd retains its official ``/usr/lib`` path; one-way links in the local authentication support package forward older ``/lib`` entry points. The local filesystem package continues to provide exfatprogs. Compatibility packages use real APK dependencies, transferring ownership of old files during upgrades without forced overwrites. Shadow uses separately extracted libbsd and libmd development inputs. Runtime images exclude libmd headers, static archives and pkg-config files, and Alpine Linux headers are not mixed into the SDK." +"Run a full ``pacman -Syu`` when refreshing repository databases. See :doc" +":`system-updates` for upgrade preparation and boot recovery." -msgid "util-linux 2.42.4 的命令、运行库和手册由锁定的官方 Alpine edge APK 提供。 分区和文件系统工具保留官方 ``/sbin`` 路径,mount、umount、lsblk 保留 ``/bin`` 路径; 旧入口通过单向兼容链接转发。exfatprogs 的开发依赖从官方 APK 单独提取,运行镜像不包含 这份开发根。现有 shadow login、newgrp、nologin 和 PAM 策略由本地认证包明确接管重叠文件, 官方包保留 su、runuser 的文件归属和权限。" -msgstr "The util-linux 2.42.4 commands, runtime libraries, and manuals come from pinned official Alpine edge APKs. Partition and filesystem tools retain their official ``/sbin`` paths; mount, umount, and lsblk retain their ``/bin`` paths. One-way compatibility links forward older entry points. Development dependencies for exfatprogs are extracted separately from official APKs; this development root is excluded from runtime images. The local authentication package explicitly owns overlapping files for the existing shadow login, newgrp, nologin, and PAM policy. Official packages retain ownership and permissions of su and runuser." - -msgid "liblastlog2 依赖 SQLite 运行库,因此桌面和控制台基础系统均保留 sqlite-libs; SQLite 命令仍由组件开关控制。" -msgstr "liblastlog2 depends on the SQLite runtime library, so both desktop and console base systems retain sqlite-libs. The SQLite command remains controlled by its component option." - -msgid "官方 lsblk 2.42.4-r3 的直接探测路径未请求文件系统版本,因此 ``FSVER`` 列可能为空。 本版保留该原版行为;读取真实版本可使用::" -msgstr "The direct probing path in official lsblk 2.42.4-r3 does not request the filesystem version, so the ``FSVER`` column may be empty. This release preserves that upstream behavior. To read the actual version, use::" +msgid "RPR 与签名" +msgstr "RPR and signatures" msgid "" -"RPR 本地发布树继续包含完整的签名索引、原始上游 APK 和自有包,构建 ``rpr-pages`` 不等于部署到线上。运行库因新增 ELF " -"NEEDED 而得到真实 APK 依赖,不能只复制新的 ``libreliefos.so.2`` 而遗漏配套库。" +"``/etc/pacman.d/reliefos-rpr.conf`` 定义 ``[rpr]``,要求软件包和数据库均通过可信签名 " +"验证。系统首次启动时由 ``reliefos-pacman-init.service`` 初始化信任。Arch 官方 包使用 Arch " +"密钥环。开发快照的指纹需由独立可信渠道核对,构建和初始化方法见 :doc:`../kbuild/building`。" msgstr "" -"The local RPR publication tree still contains complete signed indexes, " -"original upstream APKs, and project-owned packages; building ``rpr-pages`` " -"does not deploy it online. New ELF NEEDED entries give runtime libraries " -"real APK dependencies; do not copy only a new ``libreliefos.so.2`` while " -"omitting its companion libraries." - -msgid "内核与模块更新" -msgstr "Kernel and Module Updates" - -msgid "" -"``reliefos-kernel`` APK 同时拥有版本化的内核、initramfs、模块树和校验清单。 ``reliefos-grub`` " -"提供静态引导维护工具和标准 APK commit hook;内核包依赖 同一包版本的引导工具,包脚本调用共同的完整载荷发布接口。 不要手工替换 ESP " -"上的单个 ``kernel.sys``,或把其他内核的模块复制到当前目录。" -msgstr "" -"The ``reliefos-kernel`` APK owns the versioned kernel, initramfs, module " -"tree, and checksum manifests together. ``reliefos-grub`` supplies static " -"boot maintenance tools and the standard APK commit hook. The kernel package " -"depends on boot tools of the same package version, and package scripts call " -"the common complete-payload publication interface. Do not manually replace " -"an individual ``kernel.sys`` on the ESP or copy another kernel's modules " -"into the current directory." - -msgid "在线整机更新使用原生客户端::" -msgstr "Online whole-system updates use the native client::" - -msgid "" -"命令行和 ReliefAPK 的“升级系统”共享相同的持久计划、签名索引、依赖解析、 缓存和提交检查。更新包括已安装的系统包、上游依赖与应用;保留" -" world 中的 版本和仓库标签约束,提交阶段不重新从移动的软件源选择版本。" +"``/etc/pacman.d/reliefos-rpr.conf`` defines ``[rpr]`` and requires " +"trusted signatures on packages and the database. ``reliefos-pacman-" +"init.service`` initializes trust on the first boot. Official packages use" +" the Arch keyring. Verify development snapshot fingerprints through an " +"independent trusted channel. See :doc:`../kbuild/building` for building " +"and trust setup." + +msgid "RPR 页面显示生成所选快照时的 Git 短提交号,链接指向完整提交。 未记录提交的旧快照不会显示当前源码的提交号。" msgstr "" -"The command line and ReliefAPK’s “Upgrade system” action share persistent" -" plans, signed indexes, dependency resolution, cache, and commit checks. " -"Updates include installed system packages, upstream dependencies, and " -"applications. Version and repository-tag constraints in world are " -"preserved; commit does not select different versions from a moving " -"repository." +"The RPR page shows the abbreviated Git commit recorded when the selected " +"snapshot was generated and links to the full commit. Older snapshots " +"without a recorded commit do not show the current source commit." msgid "" -"内核更新必须同时校验内核、initramfs、模块 ABI 和完整清单,再发布 A/B " -"引导记录。客户端使用已安装的信任密钥,不从网络自动导入新的公钥。 旧安装缺少匹配的稳定 GRUB 和启动确认资源时,应先通过安装介质完成迁移。" +"``libreliefos`` 同时提供共享库和应用开发头文件。 ``reliefos-kernel`` 依赖一个具有特定 release 和 " +"ABI 的内核包。 该内核包拥有 ``/usr/lib/modules//`` 下的内核与模块文件。 ``reliefos-" +"boot`` 提供 dracut 和 GRUB 更新工具、钩子及启动确认服务。" msgstr "" -"Kernel updates must verify the kernel, initramfs, module ABI, and " -"complete manifest together before publishing A/B boot records. The client" -" uses installed trusted keys and does not automatically import new public" -" keys from the network. Older installations without matching stable GRUB " -"and boot confirmation resources should migrate through installation media" -" first." +"``libreliefos`` provides a shared library and application development " +"headers. ``reliefos-kernel`` depends on a kernel package with a specific " +"release and ABI. That package owns the kernel and modules under " +"``/usr/lib/modules//``. ``reliefos-boot`` provides dracut and " +"GRUB update tools, hooks and boot confirmation." -msgid "" -"更新中断后使用 ``sudo reliefos-update status`` 检查阶段,并通过 ``resume`` 或 ``repair`` " -"显式恢复。用户态包原地更新;内核回退不能代替整个系统快照。 完整操作、缓存与空间要求、启动确认和失败处理见 :doc:`system-" -"updates`。 模块配置与日常管理见 :doc:`kernel-modules`。" -msgstr "" -"After an interrupted update, inspect the stage with ``sudo reliefos-" -"update status`` and explicitly recover using ``resume`` or ``repair``. " -"Userspace packages update in place; kernel rollback cannot replace a " -"whole-system snapshot. See :doc:`system-updates` for complete operations," -" cache and space requirements, boot confirmation, and failure handling. " -"See :doc:`kernel-modules` for module configuration and routine " -"management." - -msgid "ReliefAPK" -msgstr "ReliefAPK" +msgid "ReliefPackages 与 AUR" +msgstr "ReliefPackages and the AUR" msgid "" -"ReliefAPK 是 apk 的原生 C++/FLTK 前端,提供包查询、安装、删除、升级、 " -"修复及仓库配置等入口。应用修改前先审阅计划和输出;长任务在子进程执行。 普通用户可在程序内通过已有 sudo/root 认证流程执行特权事务。 " -"取消、认证失败或 apk 失败必须保留明确状态,不能把退出码或空输出当成成功。" +"从桌面菜单打开 ReliefPackages,或运行 ``reliefpackages``。应用通过 libalpm 查询本地和同步数据库,通过 " +"polkit 授权执行 pacman 的安装、删除和升级事务。 更新入口与软件包管理共用同一套数据库和事务锁。界面显示 pacman 的输出, " +"并报告启动钩子失败或需要人工合并的配置文件。" msgstr "" -"ReliefAPK is a native C++/FLTK frontend for apk, providing package queries, " -"installation, removal, upgrades, repair, and repository configuration. " -"Review plans and output before applying changes; long tasks run in child " -"processes. Regular users can perform privileged transactions through the " -"existing sudo/root authentication flow within the application. Cancellation," -" authentication failure, and apk failure must retain explicit status; " -"neither an exit code nor empty output should simply be assumed to mean " -"success." - -msgid "信任与更新" -msgstr "Trust and Updates" - -msgid "" -"自建系统的签名私钥保存在宿主用户目录,不属于发行内容。升级要沿用目标 系统已信任的公钥;更换密钥需要独立、经认证的轮换流程,不能从更新介质自动信任。" +"Open ReliefPackages from the desktop or run ``reliefpackages``. It " +"queries local and sync databases through libalpm and uses polkit to " +"authorize pacman installations, removals and upgrades. The System Updates" +" entry shares the package databases and transaction lock. The window " +"displays pacman output, boot hook failures and configuration files that " +"need merging." + +msgid "需要 AUR 软件时,先安装工具链并用普通用户运行 paru::" msgstr "" -"Signing private keys for self-built systems are stored in the host user's " -"directory and are not distributed. Upgrades must use public keys already " -"trusted by the target system. Replacing keys requires a separate " -"authenticated rotation process; update media must not be trusted " -"automatically." +"Install the build tools and run paru as an ordinary user for AUR " +"packages::" msgid "" -"ReliefMail 的证书修复通过 ReliefAPK 预览并更新 ``ca-certificates`` 和 ``ca-certificates-" -"bundle``。损坏的安全常规文件可先备份并恢复出厂 CA; 修复仍须检查签名、TLS、权限和最终证书内容。不要关闭域名、有效期或证书链验证。 " -"生成目录 ``/etc/ssl/certs`` 与管理员自定义源、apk 保护规则需人工协调。 细节见 " -":doc:`../applications/reliefmail`。" +"paru 由 RPR 签名发布,并随 pacman 更新。检查 AUR 包的 PKGBUILD、来源与 构建步骤。paru " +"在普通用户身份下运行第三方构建,只在执行实际安装事务时提权。" msgstr "" -"ReliefMail certificate repair previews and updates ``ca-certificates`` and " -"``ca-certificates-bundle`` through ReliefAPK. Corrupted regular files with " -"safe permissions can first be backed up and restored to factory CA contents." -" Repair must still verify signatures, TLS, permissions, and the final " -"certificate contents. Do not disable hostname, validity-period, or " -"certificate-chain validation. The generated ``/etc/ssl/certs`` directory, " -"administrator-defined sources, and apk protection rules require manual " -"coordination. For details, see :doc:`../applications/reliefmail`." +"RPR signs paru, and pacman updates it. Review each AUR package's " +"PKGBUILD, sources and build instructions. paru builds third-party " +"software as an ordinary user and obtains elevated privileges for the " +"actual installation transaction." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/reliefsettings.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/reliefsettings.po index a720492b..88c81aac 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/reliefsettings.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/reliefsettings.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefSettings" msgstr "ReliefSettings" @@ -21,8 +24,8 @@ msgid "" "命令启动。应用使用独立的 ``reliefsettings`` gettext 翻译域,随系统提供中文和日语资源。语言列表提供 " "English、中文与日本語。" msgstr "" -"ReliefSettings is a C++/FLTK system settings center, launched from IceWM's " -"settings menu or with ``reliefsettings``. It uses a separate " +"ReliefSettings is a C++/FLTK system settings center, launched from " +"IceWM's settings menu or with ``reliefsettings``. It uses a separate " "``reliefsettings`` gettext domain, with Chinese and Japanese resources " "supplied by the system. The language list offers English, Chinese, and " "Japanese." @@ -36,44 +39,45 @@ msgid "" "文件接口、同目录临时文件和原子重命名,并检查打开 设置后是否已有其他程序修改文件。桌面操作使用独立的 POSIX 建议锁,防止 " "多个设置窗口同时预览和恢复显示模式或键盘布局。" msgstr "" -"User settings are saved in ``$XDG_CONFIG_HOME/reliefos/``. If the variable " -"is empty or uses a relative path, ``$HOME/.config/reliefos/`` is used. New " -"directories have mode 0700 and configuration files mode 0600. Saving uses " -"POSIX file interfaces, same-directory temporary files, and atomic rename, " -"and checks whether another program changed the file after settings were " -"opened. Desktop operations use a separate POSIX advisory lock to prevent " -"multiple settings windows from simultaneously previewing and restoring " -"display modes or keyboard layouts." +"User settings are saved in ``$XDG_CONFIG_HOME/reliefos/``. If the " +"variable is empty or uses a relative path, ``$HOME/.config/reliefos/`` is" +" used. New directories have mode 0700 and configuration files mode 0600. " +"Saving uses POSIX file interfaces, same-directory temporary files, and " +"atomic rename, and checks whether another program changed the file after " +"settings were opened. Desktop operations use a separate POSIX advisory " +"lock to prevent multiple settings windows from simultaneously previewing " +"and restoring display modes or keyboard layouts." msgid "" -"``locale.conf`` 使用 ``LANG=zh_CN.UTF-8`` 等 locale.conf 赋值语法。 选择“系统默认”移除用户的 " -"LANG 覆盖,现有其他区域类别赋值保留。登录 Shell 与 XDM 会话导入经过验证的 LANG 和 LC_* 值,系统默认值仍来自 " +"``locale.conf`` 使用 ``LANG=zh_CN.UTF-8`` 等 locale.conf 赋值语法。 选择“系统默认”移除用户的" +" LANG 覆盖,现有其他区域类别赋值保留。登录 Shell 与 XDM 会话导入经过验证的 LANG 和 LC_* 值,系统默认值仍来自 " "``/etc/reliefos/locale.conf``。语言修改在下次登录生效。" msgstr "" "``locale.conf`` uses locale.conf assignment syntax such as " "``LANG=zh_CN.UTF-8``. Selecting System Default removes the user's LANG " -"override while preserving existing assignments for other locale categories. " -"Login shells and XDM sessions import validated LANG and LC_* values; system " -"defaults still come from ``/etc/reliefos/locale.conf``. Language changes " -"take effect at the next login." +"override while preserving existing assignments for other locale " +"categories. Login shells and XDM sessions import validated LANG and LC_* " +"values; system defaults still come from ``/etc/reliefos/locale.conf``. " +"Language changes take effect at the next login." msgid "" -"``desktop.conf`` 是 ReliefSettings 的键值配置文件。XKB_LAYOUT 和 XKB_VARIANT 记录 XKB " -"规则中的布局、变体标识。DISPLAY 行由空格分隔 输出名称、模式名称和刷新率。同一输出只能出现一次。下面给出配置示例。" +"``desktop.conf`` 是 ReliefSettings 的键值配置文件。XKB_LAYOUT 和 XKB_VARIANT 记录 XKB" +" 规则中的布局、变体标识。DISPLAY 行由空格分隔 输出名称、模式名称和刷新率。同一输出只能出现一次。下面给出配置示例。" msgstr "" -"``desktop.conf`` is ReliefSettings' key-value configuration file. XKB_LAYOUT" -" and XKB_VARIANT store layout and variant identifiers from XKB rules. " -"DISPLAY lines contain a space-separated output name, mode name, and refresh " -"rate. Each output may appear only once. A configuration example follows." +"``desktop.conf`` is ReliefSettings' key-value configuration file. " +"XKB_LAYOUT and XKB_VARIANT store layout and variant identifiers from XKB " +"rules. DISPLAY lines contain a space-separated output name, mode name, " +"and refresh rate. Each output may appear only once. A configuration " +"example follows." msgid "" "键盘布局和变体从系统安装的 XKB ``evdev.lst`` 读取,通过原版 ``setxkbmap`` " "应用。选择系统默认清除下次登录的覆盖。中文输入由会话的 输入法提供。" msgstr "" -"Keyboard layouts and variants are read from the installed XKB ``evdev.lst`` " -"and applied through the original ``setxkbmap``. Choosing System Default " -"clears the override for the next login. Chinese input is provided by the " -"session's input method." +"Keyboard layouts and variants are read from the installed XKB " +"``evdev.lst`` and applied through the original ``setxkbmap``. Choosing " +"System Default clears the override for the next login. Chinese input is " +"provided by the session's input method." msgid "" "显示模式通过原版 ``xrandr`` 读取和应用,只提供 X server 实际报告的模式, " @@ -81,73 +85,60 @@ msgid "" "诊断。登录时只恢复仍连接、已启用且仍提供该模式的输出。" msgstr "" "Display modes are read and applied through the original ``xrandr``. Only " -"modes actually reported by the X server are offered, and only the resolution" -" and refresh rate of enabled outputs are adjusted. A separate child process " -"handles previews, a 15-second confirmation period, and restoration. Closing " -"the application or letting the preview time out restores the original mode; " -"saving occurs only after confirmation. Restoration failures display " -"diagnostics. At login, only outputs that remain connected, enabled, and " -"still offer the mode are restored." +"modes actually reported by the X server are offered, and only the " +"resolution and refresh rate of enabled outputs are adjusted. A separate " +"child process handles previews, a 15-second confirmation period, and " +"restoration. Closing the application or letting the preview time out " +"restores the original mode; saving occurs only after confirmation. " +"Restoration failures display diagnostics. At login, only outputs that " +"remain connected, enabled, and still offer the mode are restored." msgid "" "配置文件作为数据解析,登录脚本通过验证后的赋值导入环境。 若原子重命名已经完成、随后目录同步失败,界面保留已应用的设置并报告同步 " "错误。诊断窗口支持滚动查看命令输出。重启前应处理存储错误并重新保存。" msgstr "" -"Configuration files are parsed as data; login scripts import the environment" -" through validated assignments. If atomic rename succeeds but directory sync" -" then fails, the interface keeps the applied settings and reports the sync " -"error. The diagnostic window provides scrollable command output. Resolve " -"storage errors and save again before rebooting." +"Configuration files are parsed as data; login scripts import the " +"environment through validated assignments. If atomic rename succeeds but " +"directory sync then fails, the interface keeps the applied settings and " +"reports the sync error. The diagnostic window provides scrollable command" +" output. Resolve storage errors and save again before rebooting." msgid "系统时区与管理入口" msgstr "System Time Zone and Administration Entry Points" msgid "" "时区列表来自 IANA tzdata 的 ``/usr/share/zoneinfo/zone.tab``,可输入城市或 " -"区域名称筛选。应用通过临时符号链接及原子重命名更新 ``/etc/localtime``, 指向已安装的 TZif " -"文件。系统时钟本身不受影响。新的进程使用新时区, 已有进程的缓存更新时间由其 C 库与应用决定。" +"区域名称筛选。系统时钟本身不受影响。新的进程使用新时区, 已有进程的缓存更新时间由其 C 库与应用决定。" msgstr "" -"The time zone list comes from IANA tzdata's ``/usr/share/zoneinfo/zone.tab``" -" and can be filtered by city or region name. The application updates " -"``/etc/localtime`` using a temporary symbolic link and atomic rename, " -"pointing to an installed TZif file. The system clock itself is unaffected. " -"New processes use the new time zone; when existing processes refresh cached " -"settings depends on their C library and application." +"The timezone list comes from IANA tzdata's " +"``/usr/share/zoneinfo/zone.tab``. Search by city or region. New processes" +" use the new timezone. Existing processes refresh cached timezone data " +"according to their libc and application behavior." msgid "" -"普通用户修改时区时由上游 sudo 与 ReliefAskpass 完成认证,设置中心执行 固定的 ``--set-timezone`` " -"辅助入口。该入口要求有效 UID 为 root,只接受 时区标识,目标目录固定为 ``/etc`` 与 ``/usr/share/zoneinfo``。" +"设置中心调用 ``timedatectl set-timezone``,由 systemd-timedated 通过 polkit 授权。 " +"工具使用已安装的 IANA 时区标识,更新系统的 ``/etc/localtime``。" msgstr "" -"When a regular user changes the time zone, upstream sudo and ReliefAskpass " -"provide authentication, and the settings center invokes the fixed ``--set-" -"timezone`` helper entry point. This entry point requires effective UID root " -"and accepts only a time zone identifier; target directories are fixed to " -"``/etc`` and ``/usr/share/zoneinfo``." +"Settings runs ``timedatectl set-timezone``. systemd-timedated authorizes " +"the operation through polkit and updates ``/etc/localtime`` using an " +"installed IANA timezone identifier." msgid "" -"网络和服务页启动已安装的 Network Controller 与 OpenRC Controller, " +"网络和服务页启动已安装的 Network Controller 与 Service Controller, " "各管理器负责自己的认证和操作。相应组件未安装时入口禁用。" msgstr "" -"The Network and Services pages launch the installed Network Controller and " -"OpenRC Controller. Each manager handles its own authentication and " -"operations. Entry points are disabled when the corresponding components are " -"not installed." +"The Network and Services pages open Network Controller and Service " +"Controller when installed. Each controller handles its own authentication" +" and operations. An unavailable controller's entry is disabled." msgid "构建配置" msgstr "Build Configuration" msgid "" -"``APP_RELIEFSETTINGS`` 组件默认启用,可分别控制构建、镜像成员和入口。 原版 xrandr、setxkbmap 通过 Xorg " -"APK 集合安装,tzdata 通过基础 APK 集合 安装。其下载身份固定在依赖锁中。" -msgstr "" -"The ``APP_RELIEFSETTINGS`` component is enabled by default, with separate " -"controls for building, image inclusion, and menu entry. Original xrandr and " -"setxkbmap are installed through the Xorg APK set, and tzdata through the " -"base APK set. Their download identities are pinned in the dependency lock." - -msgid "" -"``make app-reliefsettings nls`` 构建应用与翻译。定向配置测试为 ``sh tests/build/test-" -"reliefsettings.sh``。" +"设置中心由 RPR 的 ``reliefos-settings`` 包提供。 显示、键盘和时区所需的工具来自 Arch 软件包。 ``make " +"userland`` 构建应用及翻译,定向配置测试为 ``sh tests/build/test-reliefsettings.sh``。" msgstr "" -"``make app-reliefsettings nls`` builds the application and translations. The" -" targeted configuration test is ``sh tests/build/test-reliefsettings.sh``." +"Settings is provided by RPR's ``reliefos-settings`` package. Display, " +"keyboard and timezone tools come from Arch packages. ``make userland`` " +"builds the app and catalogs. The targeted check is ``sh tests/build/test-" +"reliefsettings.sh``." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/service-controller.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/service-controller.po new file mode 100644 index 00000000..97db674a --- /dev/null +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/service-controller.po @@ -0,0 +1,50 @@ +# English translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS 5.3.4\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language: en\n" +"Language-Team: en \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +msgid "Service Controller" +msgstr "Service Controller" + +msgid "" +"从系统应用菜单打开 Service Controller,或运行 ``service-controller``。 它通过 " +"``systemctl`` 查询 systemd 系统服务,显示单元的启动配置与当前运行状态。 选中服务后可查看详细状态,也可通过 " +"``journalctl`` 读取最近的日志。 日志可见范围遵循当前用户的系统权限。" +msgstr "" +"Open Service Controller from the system menu or run ``service-" +"controller``. It queries systemd services through ``systemctl`` and shows" +" their startup and current states. Select a service to see details or " +"recent logs from ``journalctl``. The logs visible to you depend on your " +"system permissions." + +msgid "" +"“启动”“停止”和“重启”改变当前服务状态。“启用”“禁用”调整单元文件 的开机启动配置。修改系统服务时由 systemd 通过 polkit " +"请求授权, 界面显示命令的实际输出和结果。" +msgstr "" +"Start, Stop and Restart change the running service. Enable and Disable " +"update the unit's boot configuration. systemd requests authorization " +"through polkit for changes and the window shows command output and " +"results." + +msgid "从终端查看相同的服务与日志::" +msgstr "Inspect the same services and logs from a terminal::" + +msgid "服务控制器由 RPR 的 ``reliefos-service-controller`` 包提供。" +msgstr "" +"RPR provides Service Controller in the ``reliefos-service-controller`` " +"package." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/system-updates.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/system-updates.po index 0f1713c1..c165eba5 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/system-updates.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/system-updates.po @@ -7,273 +7,94 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-11-16 16:50+0000\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" "Language-Team: en \n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.18.0\n" -msgid "在线系统更新" -msgstr "Online System Updates" +msgid "系统更新与启动恢复" +msgstr "System updates and boot recovery" msgid "" -"``reliefos-update`` 是原生 C 客户端。命令行与 ReliefAPK 的“升级系统”共用 " -"同一套准备、校验、提交和恢复流程。更新范围包括已安装的 ReliefOS 软件包、 上游依赖及应用;普通软件包的查询、单独安装和删除仍使用 APK。" +"安装后的系统通过同一套 pacman 数据库和签名策略滚动更新。 要同时升级 Arch、RPR 和 AUR 软件包,请以有权运行 pacman " +"的普通用户执行::" msgstr "" -"``reliefos-update`` is a native C client. The command line and ReliefAPK’s " -"“Upgrade system” action share the same preparation, verification, commit, " -"and recovery workflow. Updates include installed ReliefOS packages, " -"upstream dependencies, and applications; ordinary package queries, " -"individual installation, and removal continue to use APK." +"The installed system uses the same pacman database and signature policy " +"for rolling updates. To upgrade packages from Arch, RPR, and the AUR " +"together, run the following as a regular user with permission to run " +"pacman::" msgid "" -"更新器调用真实的 APK 签名验证、依赖求解器、软件包数据库和提交钩子, 不维护平行的包管理数据库,也不通过 Shell 脚本拼接安装命令。 " -"外部软件仍可能依赖尚未实现的 Linux ABI;包升级成功不代表应用运行验证通过。" +"该命令运行 ``paru -Syu``。不要用 ``sudo`` 启动它;AUR 软件包由普通用户构建, paru 仅在需要执行 pacman " +"事务时请求授权。首次构建 AUR 软件包所需的工具见 :doc:`packages`。仅升级 Arch 和 RPR 软件包时,可执行 ``sudo" +" pacman -Syu``, 或从桌面系统菜单打开“系统更新”。" msgstr "" -"The updater uses APK’s actual signature verification, dependency solver, " -"package database, and commit hooks. It does not maintain a parallel package" -" database or assemble installation commands with Shell scripts. External " -"software may still depend on unimplemented Linux ABIs; a successful package" -" upgrade does not establish that the application runs correctly." - -msgid "日常操作" -msgstr "Everyday Operation" - -msgid "先准备更新,再审阅准备结果,最后应用同一个计划::" -msgstr "Prepare an update, review the result, and apply that same plan::" - -msgid "" -"准备过程会联网、验证签名并写入持久缓存,因此需要管理员权限。 计划 ID 是 64 位小写十六进制字符串,只标识本机已经准备好的计划, 不能用网络 " -"URL、任意路径或另一个系统的计划代替。 准备完成不会安装软件包。取消准备或下载失败不会把部分下载当成可安装的软件包。 " -"状态目录仅管理员可读,查询状态也应使用 ``sudo``。" -msgstr "" -"Preparation accesses the network, verifies signatures, and writes a " -"persistent cache, so it requires administrator privileges. A plan ID is a " -"64-character lowercase hexadecimal string identifying a plan already " -"prepared on this machine. A network URL, arbitrary path, or plan from " -"another system cannot replace it. Preparation does not install packages. " -"Cancellation or a failed download does not turn partial downloads into " -"installable packages. The state directory is readable only by " -"administrators; use ``sudo`` for status queries as well." - -msgid "" -"ReliefAPK 的“升级系统”先调用同一客户端准备计划,再在用户确认后应用该计划。 普通桌面会话不必以 root 启动,特权步骤沿用系统的 " -"sudo/root 认证机制。 准备阶段可以取消;进入 APK 提交后应等待明确的完成或失败状态。" -msgstr "" -"ReliefAPK’s “Upgrade system” action first prepares a plan with the same " -"client, then applies it after user confirmation. A normal desktop session " -"need not run as root; privileged steps use the system’s existing sudo/root " -"authentication. Preparation can be cancelled. Once APK commit begins, wait " -"for an explicit success or failure status." - -msgid "软件源和信任" -msgstr "Repositories and Trust" - -msgid "" -"软件源沿用 APK 的 ``/etc/apk/repositories`` 及其标准配置目录。 客户端冻结当次使用的源配置、签名索引和信任密钥;保留 " -"world 中的版本限制、 仓库标签及管理员的软件源策略。提交阶段只消费本机准备好的索引和归档, 不重新访问更新后的网站,也不临时选择另一个版本。" -msgstr "" -"Repositories use APK’s ``/etc/apk/repositories`` and its standard " -"configuration directories. The client freezes the repository configuration," -" signed indexes, and trusted keys for the transaction while preserving " -"version constraints in world, repository tags, and administrator policy. " -"Commit consumes only locally prepared indexes and archives; it does not " -"revisit a changed repository or select a different version." - -msgid "" -"生产系统的软件源使用 HTTPS,不能通过关闭 TLS、主机名或包签名验证解决更新错误。 RPR 地址由 " -"``/etc/reliefos/rpr.conf`` 指定。仓库连通性、索引校验和完整更新 " -"准备是不同的检查:健康探测成功不表示依赖闭包或全部归档可用。" -msgstr "" -"Production repositories use HTTPS. Do not resolve update errors by " -"disabling TLS, hostname, or package signature verification. " -"``/etc/reliefos/rpr.conf`` specifies the RPR address. Repository " -"connectivity, index verification, and complete update preparation are " -"distinct checks: a successful health probe does not establish that the " -"dependency closure or every archive is available." - -msgid "" -"信任公钥来自系统已经安装的 ``/etc/apk/keys``。 配置软件源不会从该源下载并覆盖本地信任公钥;新增或轮换密钥需要独立认证。 " -"管理员修改软件源、密钥、world 或 APK 数据库后,旧计划不能继续提交, 需要重新准备并审阅计划。" -msgstr "" -"Trusted public keys come from the installed ``/etc/apk/keys`` directory. " -"Configuring a repository does not download its keys and overwrite local " -"trust; adding or rotating keys requires separate authentication. If an " -"administrator changes repositories, keys, world, or the APK database, an " -"old plan cannot be committed. Prepare and review a new plan." - -msgid "持久状态和空间" -msgstr "Persistent State and Space" - -msgid "" -"计划及状态位于 ``/var/lib/reliefos/update``,每个计划有独立缓存和验证记录。 " -"不要手工删除正在准备、提交或等待修复的计划。下载成功的完整归档可以在恢复时复用; 不完整或校验失败的归档不能作为已验证缓存使用。" -msgstr "" -"Plans and state reside in ``/var/lib/reliefos/update``. Each plan has its " -"own cache and verification records. Do not manually delete a plan that is " -"being prepared, committed, or awaiting repair. Complete downloaded archives" -" can be reused during recovery; incomplete or invalid archives cannot serve" -" as verified cache entries." - -msgid "" -"准备过程检查下载与展开所需空间;内核更新还需要根文件系统及 ESP 的可用空间。 已有内核保留副本、用户模块和管理员文件不会为了腾空间被批量删除。 " -"历史内核和失败计划的空间占用应结合客户端状态及引导恢复需要处理。" -msgstr "" -"Preparation checks the space required for downloading and unpacking. Kernel" -" updates also require free space on the root filesystem and ESP. Retained " -"kernels, user modules, and administrator files are not deleted in bulk to " -"free space. Consider client status and boot recovery requirements when " -"managing space occupied by historical kernels and failed plans." +"This command runs ``paru -Syu``. Do not start it with ``sudo``: AUR " +"packages are built as a regular user, and paru asks for authorization " +"only when it needs to run a pacman transaction. See :doc:`packages` for " +"tools needed to build AUR packages for the first time. To upgrade Arch " +"and RPR packages only, run ``sudo pacman -Syu`` or open System Updates " +"from the desktop system menu." msgid "" -"更新器通过进程生命周期内的锁串行化操作,状态写入使用临时文件、同步和替换。 APK 的 pre-commit " -"钩子在其数据库写锁内再次检查准备时的系统身份, 拒绝审阅后发生变化的目标。锁文件、临时文件或日志存在本身不代表更新成功。" -msgstr "" -"The updater serializes operations with a lock held for the process " -"lifetime. State writes use temporary files, synchronization, and " -"replacement. APK’s pre-commit hook rechecks the prepared system identity " -"while holding its database write lock, rejecting a target that changed " -"after review. The presence of a lock file, temporary file, or log does not " -"itself indicate success." - -msgid "中断和失败恢复" -msgstr "Interruptions and Failure Recovery" - -msgid "遇到断网、进程退出、重启或软件包脚本失败,先查看状态和失败阶段::" +"pacman 串行执行有写入的事务。升级前确认联网、软件包与启动分区空间。 软件源和签名策略见 :doc:`packages`。如果 pacman" +" 生成 ``.pacnew`` 或 ``.pacsave``,检查事务输出和本机配置,逐项合并需要保留的变更。" msgstr "" -"After a network failure, process exit, restart, or package script failure, " -"inspect the status and failed stage first::" +"pacman serializes write transactions. Check connectivity and space for " +"packages and boot files before upgrading. See :doc:`packages` for mirrors" +" and signing. If pacman creates ``.pacnew`` or ``.pacsave`` files, review" +" the transaction output and merge the configuration changes you need." -msgid "" -"下载阶段可以从持久计划继续;恢复完成并重新获得可应用的计划后,再审阅并提交。 对已经准备好的计划执行 ``resume`` 只返回计划 " -"ID,不会自动安装。 尚未进入包提交的计划可以通过 ``sudo reliefos-update discard`` 作废后重新准备, " -"原计划的日志和缓存仍保留以供诊断;已经开始提交的失败事务必须先修复,不能丢弃。 如果已经进入 APK 安装阶段,不能假定所有包文件都保持旧版本。 " -"客户端保留失败状态,并提供显式修复入口::" -msgstr "" -"Downloads can continue from a persistent plan. Once recovery returns an " -"applicable plan, review and commit it. Running ``resume`` on an already " -"prepared plan returns its ID without installing anything. A plan that has " -"not entered package commit can be invalidated with ``sudo reliefos-update " -"discard`` before preparing a new one; its logs and cache remain available " -"for diagnosis. A failed transaction that already began commit must be " -"repaired and cannot be discarded. Once APK installation begins, do not " -"assume that all package files retain their old versions. The client retains" -" failure state and provides an explicit repair entry point::" +msgid "安装内核与发布启动项" +msgstr "Installing kernels and publishing boot entries" msgid "" -"修复使用该事务已经验证的本机软件包,仍须检查 APK 的退出码、包脚本及最终状态。 计划会在 " -"``/var/lib/reliefos/update/plans/<计划 ID>/tools/`` 保留当时的静态更新器和 APK " -"副本。若安装路径下的 ``/usr/sbin/reliefos-update`` 或 ``/sbin/apk`` 在失败后不可用, " -"可直接运行计划内的恢复客户端;它会检查固定的 APK 和更新器入口,仅恢复缺失或无法运行的工具, 然后从事务中已经验证的签名 APK " -"重新安装这两个文件的实际所属包。 旧副本只用于启动修复,不能代替数据库记录的新版本;已经可以运行的新版本工具不会被旧副本覆盖::" +"固定名称的 ``reliefos-kernel`` 包依赖本代的确切内核包。每代内核和模块 位于独立的 " +"``/usr/lib/modules//`` 目录。更新前的 pacman 钩子检查 ``/boot`` " +"的挂载、写入及剩余空间。安装后由 ``reliefos-boot-update`` 使用已安装模块生成 dracut " +"initramfs,验证文件并更新 GRUB 的启动选择。 旧版本的已安装软件包与已经确认的启动项仍可使用。" msgstr "" -"Repair uses local packages already verified for that transaction. Still " -"check APK’s exit status, package scripts, and final state. The plan retains" -" the static updater and APK used for that transaction in " -"``/var/lib/reliefos/update/plans//tools/``. If ``/usr/sbin" -"/reliefos-update`` or ``/sbin/apk`` becomes unavailable after failure, run " -"the saved recovery client directly. It checks those fixed entry points and " -"restores only missing or unusable tools, then reinstalls both files’ actual" -" owning packages from the signed APKs verified for the transaction. Saved " -"old copies only bootstrap recovery and cannot replace the newer versions " -"recorded in the database. Runnable newer tools are not overwritten with old" -" copies::" +"The fixed-name ``reliefos-kernel`` package depends on the exact kernel " +"package for that generation. Each kernel and its modules live under a " +"separate ``/usr/lib/modules//``. The pre-transaction hook checks" +" the mount, writability and free space of ``/boot``. After installation, " +"``reliefos-boot-update`` builds the dracut initramfs from the installed " +"modules, checks the files and updates the GRUB selection. Installed older" +" kernels and confirmed boot entries remain available." -msgid "" -"如果系统已无法正常启动,可从匹配的 ReliefOS 救援介质挂载根文件系统,例如挂载到 " -"``/mnt/reliefos``,再运行该根目录内保留的静态客户端。``--root`` 必须指向已挂载的目标根; " -"需要发布内核载荷时,还必须把该系统的 ESP 挂载到目标根下的 ``boot``::" -msgstr "" -"If the system cannot boot normally, mount its root filesystem from matching" -" ReliefOS recovery media, for example at ``/mnt/reliefos``, and run the " -"static client retained inside that root. ``--root`` must name the mounted " -"target root. If recovery must publish kernel payloads, also mount that " -"system’s ESP at ``boot`` under the target root::" +msgid "钩子失败与重试" +msgstr "Hook failures and retry" -msgid "" -"修复失败会继续报告错误,不应通过删除数据库、强制覆盖文件或关闭签名校验来清除错误。 如果失败之后软件源、密钥或 world " -"已改变,修复会拒绝继续,应先按诊断核对并恢复 原配置。软件包脚本在中断前合法改变这些配置时,同样需要管理员核对,不能把另一组 " -"依赖版本混入原事务。修复允许包数据库因已执行的提交发生变化。" +msgid "安装后的钩子在包数据库变更之后运行。若界面或 pacman 输出报告失败, 查看启动发布状态,修复失败原因后重试::" msgstr "" -"Failed repair continues to report an error; do not erase it by deleting the" -" database, forcibly overwriting files, or disabling signature verification." -" If repositories, keys, or world changed after failure, repair refuses to " -"continue; inspect the diagnosis and restore the original configuration " -"first. Legitimate package script changes made before interruption also " -"require administrator review. Do not mix a different set of dependency " -"versions into the original transaction. Repair permits database changes " -"resulting from the commit already performed." +"The post-transaction hook runs after changes to the package database. If " +"the graphical updater or pacman reports a failure, check the boot " +"publication status, correct the cause and retry::" msgid "" -"用户态软件包按 APK 的标准方式原地更新。本功能没有创建根文件系统快照, 也不承诺断电后整个用户态自动退回更新前的内容。用户数据和本地配置遵循 " -"APK 文件归属与受保护路径规则;需要合并的配置可能以 ``.apk-new`` 保留。" +"可从 GRUB 高级菜单选择已保留的内核。新候选内核启动后由 ``reliefos-boot-confirm.service`` " +"核对并确认。未确认的试启动耗尽后, 下次启动选择上次已确认的内核。该选择只涉及引导文件,根文件系统中的 用户态包保留本次事务结果。详情见 :doc" +":`kernel-modules`。" msgstr "" -"Userspace packages are upgraded in place using APK’s standard behavior. " -"This feature does not create a root filesystem snapshot or promise " -"automatic rollback of all userspace after power loss. User data and local " -"configuration follow APK ownership and protected-path rules; configuration " -"requiring a merge may be retained as ``.apk-new``." - -msgid "内核启动确认和回退" -msgstr "Kernel Boot Confirmation and Rollback" +"Use the GRUB advanced menu to choose a retained kernel. After a candidate" +" boots, ``reliefos-boot-confirm.service`` verifies and confirms it. Once " +"the unconfirmed trial is exhausted, the next boot selects the last " +"confirmed version. The selection affects boot files and preserves the " +"result of the userspace transaction. See :doc:`kernel-modules`." -msgid "" -"内核、initramfs、模块和 ABI 清单作为完整的 ``reliefos-kernel`` 软件包校验。 " -"发布之前保留旧启动载荷和独立模块副本,再切换 A/B 引导记录;正在运行的内核 在重启前不会改变。更新器不在日常更新中重写 BIOS/UEFI " -"固件加载器。" +msgid "清理已保留的内核在独立的包事务中执行。先处理本次启动或更新错误, 再查看清理候选::" msgstr "" -"The kernel, initramfs, modules, and ABI manifest are verified as a complete" -" ``reliefos-kernel`` package. Before publication, the old boot payload and " -"independent module copies are retained; the A/B boot records are then " -"switched. The running kernel does not change until reboot. Routine updates " -"do not rewrite the BIOS/UEFI firmware loader." +"Pruning retained kernels is a separate package transaction. Resolve the " +"current boot or update failure before inspecting removal candidates::" -msgid "" -"新内核经过启动确认之后才成为已确认版本。启动尝试耗尽而没有确认时, 引导选择器使用保留的已确认载荷。回退仅覆盖内核、initramfs " -"和对应模块产品, 不会撤销已提交的普通应用或系统库更新。" -msgstr "" -"A new kernel becomes confirmed only after boot confirmation. If its boot " -"attempts are exhausted without confirmation, the boot selector uses the " -"retained confirmed payload. Rollback covers only the kernel, initramfs, and" -" corresponding module products; it does not undo committed application or " -"system library upgrades." - -msgid "" -"缺少匹配的稳定 GRUB 选择脚本、内核包记录或启动确认资源的旧安装, 应使用匹配的安装介质完成引导迁移;客户端拒绝只替换 " -"``kernel.sys`` 的半套更新。 模块管理参见 :doc:`kernel-modules`。" -msgstr "" -"Older installations lacking a matching stable GRUB selector, kernel package" -" records, or boot confirmation resources should migrate their boot setup " -"using matching installation media. The client rejects incomplete updates " -"that replace only ``kernel.sys``. See :doc:`kernel-modules` for module " -"management." - -msgid "自动化与验证边界" -msgstr "Automation and Validation Limits" - -msgid "机器接口使用 ``--machine``,例如::" -msgstr "Use ``--machine`` for the machine interface, for example::" - -msgid "准备成功才会输出 ``plan_id=...``。自动化必须同时检查退出状态、计划 ID 和最终状态, 不能依据单条下载或安装日志判断成功。" -msgstr "" -"``plan_id=...`` is output only after successful preparation. Automation " -"must check the exit status, plan ID, and final state together; a single " -"download or installation log line does not establish success." - -msgid "" -"``--root`` 为显式隔离根测试提供入口;Linux 宿主根目录的修改请求被拒绝。 隔离测试可以使用回环 HTTP " -"仓库与专用签名密钥;这一测试入口不会放宽 生产系统的 HTTPS 或签名策略。宿主端签名 APK 回归、目标编译、镜像打包、 QEMU " -"BIOS/UEFI 启动与 VMware/物理硬件验证应分别报告,不能互相替代。" +msgid "清理命令按已安装包和已发布启动项检查保护集合。运行中的内核、当前候选及有效 启动项引用的内核受保护。" msgstr "" -"``--root`` provides an explicit isolated-root testing interface. Mutation " -"requests against the Linux host root are refused. Isolated tests can use " -"loopback HTTP repositories and dedicated signing keys; this testing " -"interface does not relax production HTTPS or signature policy. Host-side " -"signed APK regression tests, target compilation, image packaging, QEMU " -"BIOS/UEFI boots, and VMware/physical hardware validation must be reported " -"separately and cannot substitute for one another." +"The prune command checks protection against installed packages and " +"published entries. It protects the running kernel, current candidate and " +"any kernel referenced by a valid boot entry." diff --git a/Documentation/locale/en/LC_MESSAGES/admin-guide/usb.po b/Documentation/locale/en/LC_MESSAGES/admin-guide/usb.po index 1f599b35..5fc8347f 100644 --- a/Documentation/locale/en/LC_MESSAGES/admin-guide/usb.po +++ b/Documentation/locale/en/LC_MESSAGES/admin-guide/usb.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "USB U 盘与键盘鼠标" msgstr "USB Drives, Keyboards, and Mice" @@ -20,55 +23,55 @@ msgid "控制器与设备" msgstr "Controllers and Devices" msgid "" -"默认内核内置 xHCI、EHCI 和 UHCI。xHCI 支持根端口或 Hub 后的 USB 3.x SuperSpeed BOT/SCSI 存储,以及" -" USB 2.0/1.x BOT 存储、boot HID 键盘和相对 鼠标。EHCI 支持 USB 2.0 高速 BOT/SCSI " +"默认内核内置 xHCI、EHCI 和 UHCI。xHCI 支持根端口或 Hub 后的 USB 3.x SuperSpeed BOT/SCSI " +"存储,以及 USB 2.0/1.x BOT 存储、boot HID 键盘和相对 鼠标。EHCI 支持 USB 2.0 高速 BOT/SCSI " "存储;低速/全速键鼠可由 UHCI companion 提供。VMware 中可选择“USB Controller / USB " "Compatibility / USB 3.x”使用 xHCI,或选择 USB 2.0 使用 EHCI;两种路径的验证结果分别记录。 USB 的 " -"Linux 块设备与 evdev 接口由内核提供,不需要修改 BusyBox。" +"Linux 块设备与 evdev 接口由 ReliefNT 提供。" msgstr "" -"The default kernel has xHCI, EHCI, and UHCI built in. xHCI supports USB 3.x " -"SuperSpeed BOT/SCSI storage on root ports or behind hubs, as well as USB " -"2.0/1.x BOT storage, boot HID keyboards, and relative mice. EHCI supports " -"USB 2.0 high-speed BOT/SCSI storage; low/full-speed keyboards and mice can " -"use a UHCI companion. In VMware, select USB Controller / USB Compatibility /" -" USB 3.x for xHCI, or USB 2.0 for EHCI; verification results for the two " -"paths are recorded separately. The kernel provides Linux block-device and " -"evdev interfaces for USB; BusyBox modifications are unnecessary." +"The default kernel includes xHCI, EHCI and UHCI. xHCI handles USB 3.x " +"SuperSpeed BOT/SCSI storage, USB 2.0/1.x BOT storage, boot HID keyboards " +"and relative mice on root ports and hubs. EHCI handles USB 2.0 high-speed" +" BOT/SCSI storage and can use a UHCI companion for low- and full-speed " +"input. VMware's USB 3.x compatibility setting selects xHCI and USB 2.0 " +"selects EHCI. Record results for each separately. ReliefNT provides the " +"Linux USB block and evdev interfaces." msgid "" -"xHCI 支持 USB2/USB3 Hub、多级路由和下游设备热插拔;USB2 的 multi-TT Hub 使用默认 single-TT 模式。拔掉 " -"Hub 时,下游设备一起断开,旧打开不会 转向重新插入的设备。UAS、stream、等时音视频及非 boot HID 不受支持。 " +"xHCI 支持 USB2/USB3 Hub、多级路由和下游设备热插拔;USB2 的 multi-TT Hub 使用默认 single-TT " +"模式。拔掉 Hub 时,下游设备一起断开,旧打开不会 转向重新插入的设备。UAS、stream、等时音视频及非 boot HID 不受支持。 " "USB4、Type-C/PD 和物理电气认证也不在支持范围内。SuperSpeedPlus 可按已验证的控制器协议能力识别速率,但日志中的 " "``bps`` 是控制器声明的 链路速率,不是实测吞吐量;10/20 Gb/s 物理链路尚未验证。" msgstr "" -"xHCI supports USB2/USB3 hubs, multilevel routing, and downstream hotplug. " -"USB2 multi-TT hubs use the default single-TT mode. Unplugging a hub " -"disconnects its downstream devices; old opens never redirect to reinserted " -"devices. UAS, streams, isochronous audio/video, and non-boot HID are " -"unsupported. USB4, Type-C/PD, and physical electrical certification are also" -" outside scope. SuperSpeedPlus rates can be identified according to verified" -" controller protocol capabilities, but ``bps`` in logs is the controller-" -"declared link rate, not measured throughput. Physical 10/20 Gb/s links " -"remain unverified." +"xHCI supports USB2/USB3 hubs, multilevel routing, and downstream hotplug." +" USB2 multi-TT hubs use the default single-TT mode. Unplugging a hub " +"disconnects its downstream devices; old opens never redirect to " +"reinserted devices. UAS, streams, isochronous audio/video, and non-boot " +"HID are unsupported. USB4, Type-C/PD, and physical electrical " +"certification are also outside scope. SuperSpeedPlus rates can be " +"identified according to verified controller protocol capabilities, but " +"``bps`` in logs is the controller-declared link rate, not measured " +"throughput. Physical 10/20 Gb/s links remain unverified." msgid "" -"接管固件配置的 xHCI 时,驱动只在必要寄存器几何推导出的边界内访问扩展 能力,不对正在使用的 BAR 做破坏性尺寸探测。这依赖固件对必要寄存器和 " -"BAR 范围的描述真实;无法确认边界内的能力会被拒绝。" +"接管固件配置的 xHCI 时,驱动只在必要寄存器几何推导出的边界内访问扩展 能力,不对正在使用的 BAR " +"做破坏性尺寸探测。这依赖固件对必要寄存器和 BAR 范围的描述真实;无法确认边界内的能力会被拒绝。" msgstr "" "When taking over firmware-configured xHCI, the driver accesses extended " -"capabilities only within bounds derived from required register geometry and " -"does not destructively probe the size of an in-use BAR. This relies on " -"accurate firmware descriptions of required registers and BAR ranges; " +"capabilities only within bounds derived from required register geometry " +"and does not destructively probe the size of an in-use BAR. This relies " +"on accurate firmware descriptions of required registers and BAR ranges; " "capabilities that cannot be confirmed within bounds are rejected." msgid "" -"存储当前要求 512 字节逻辑扇区,支持 GPT、MBR/扩展分区和直接在整个设备上 创建的文件系统。没有介质的读卡器、更换介质需重新拔插。不是所有 " -"USB 协议都受支持,例如 UAS、等时音视频和非 boot HID 设备;文件系统类型还 必须有相应内核实现。" +"存储当前要求 512 字节逻辑扇区,支持 GPT、MBR/扩展分区和直接在整个设备上 " +"创建的文件系统。没有介质的读卡器、更换介质需重新拔插。不是所有 USB 协议都受支持,例如 UAS、等时音视频和非 boot HID " +"设备;文件系统类型还 必须有相应内核实现。" msgstr "" "Storage currently requires 512-byte logical sectors and supports GPT, " "MBR/extended partitions, and filesystems created directly on the whole " -"device. Card readers without media, or media changes, require unplugging and" -" reconnecting. Not all USB protocols are supported, including UAS, " +"device. Card readers without media, or media changes, require unplugging " +"and reconnecting. Not all USB protocols are supported, including UAS, " "isochronous audio/video, and non-boot HID devices; filesystem types also " "require corresponding kernel implementations." @@ -80,51 +83,53 @@ msgid "" "点击卷名或“打开”后挂载并进入文件夹,已挂载卷前显示星号。支持已有驱动可读的 FAT32、exFAT、ext2 和 " "ext4。分区介质与整盘文件系统均可使用。当前存储驱动的 逻辑扇区要求仍为 512 字节。" msgstr "" -"The Devices list on Fileman's left side automatically discovers removable " -"storage volumes and refreshes in the background about every two seconds. " -"Clicking a volume name or Open mounts it and enters its folder; mounted " -"volumes have an asterisk prefix. FAT32, exFAT, ext2, and ext4 readable by " -"existing drivers are supported, on partitioned media or as whole-device " -"filesystems. Current storage drivers still require 512-byte logical sectors." +"The Devices list on Fileman's left side automatically discovers removable" +" storage volumes and refreshes in the background about every two seconds." +" Clicking a volume name or Open mounts it and enters its folder; mounted " +"volumes have an asterisk prefix. FAT32, exFAT, ext2, and ext4 readable by" +" existing drivers are supported, on partitioned media or as whole-device " +"filesystems. Current storage drivers still require 512-byte logical " +"sectors." msgid "" -"挂载点使用 ``/run/media/<数字 UID>/<设备名>-``,由 root 创建。 普通用户通过现有 sudo / " -"ReliefAskpass 密码窗口授权,需要相应 sudo 权限。 FAT32/exFAT 使用 Linux " +"挂载点使用 ``/run/media/<数字 UID>/<设备名>-``,由 root 创建。 普通用户通过 polkit " +"授权挂载和弹出操作。需要认证时,桌面的 polkit 代理会打开认证窗口。 FAT32/exFAT 使用 Linux " "``uid/gid/fmask/dmask`` 挂载选项,为发起用户提供读写权限。 ext 文件系统保留介质自身的 POSIX " "所有权与模式。挂载同时启用 ``nosuid,nodev``。 设备身份通过 sysfs 和 ``BLKGETDISKSEQ`` " "复核。拔插后需要重新选择新介质。" msgstr "" -"Mount points use ``/run/media/<数字 UID>/<设备名>-`` and are created by " -"root. Regular users authorize through the existing sudo / ReliefAskpass " -"password dialog and need appropriate sudo privileges. FAT32/exFAT use Linux " -"``uid/gid/fmask/dmask`` mount options to grant the initiating user " -"read/write access. ext filesystems retain the medium's POSIX ownership and " -"modes. Mounts also enable ``nosuid,nodev``. Device identity is rechecked " -"through sysfs and ``BLKGETDISKSEQ``. After reconnection, the new medium must" -" be selected again." +"Mount points use ``/run/media/<数字 UID>/<设备名>-`` and are created " +"by root. Regular users authorize mounting and ejecting through polkit. " +"The desktop polkit agent opens an authentication dialog when required. " +"FAT32/exFAT use Linux ``uid/gid/fmask/dmask`` mount options to grant the " +"initiating user read/write access. ext filesystems retain the medium's " +"POSIX ownership and modes. Mounts also enable ``nosuid,nodev``. Device " +"identity is rechecked through sysfs and ``BLKGETDISKSEQ``. After " +"reconnection, the new medium must be selected again." msgid "" -"拔出前选择卷并点击“弹出”。Fileman 离开当前设备目录,然后后台卸载该设备的 各个挂载点并同步设备缓存。成功提示“现在可以安全拔出设备”后,可拔出" -" U 盘或 在 VMware 中断开对应 USB 设备。物理供电由设备连接控制。 " -"系统挂载受到保护。文件、工作目录、映射或裸块设备使用者造成占用时,界面报告 失败,并在可枚举时列出相关进程 PID。关闭使用者后可以重试。部分卷已卸载而" -" 后续卷失败时,设备列表按实际挂载状态刷新,仍需完成弹出后再拔出。" +"拔出前选择卷并点击“弹出”。Fileman 离开当前设备目录,然后后台卸载该设备的 " +"各个挂载点并同步设备缓存。成功提示“现在可以安全拔出设备”后,可拔出 U 盘或 在 VMware 中断开对应 USB " +"设备。物理供电由设备连接控制。 系统挂载受到保护。文件、工作目录、映射或裸块设备使用者造成占用时,界面报告 失败,并在可枚举时列出相关进程 " +"PID。关闭使用者后可以重试。部分卷已卸载而 后续卷失败时,设备列表按实际挂载状态刷新,仍需完成弹出后再拔出。" msgstr "" "Before unplugging, select the volume and click Eject. Fileman leaves the " -"current device directory, then unmounts that device's mount points and syncs" -" its cache in the background. After the success message says the device can " -"safely be removed, unplug the USB drive or disconnect the corresponding USB " -"device in VMware. Physical power is controlled by the device connection. " -"System mounts are protected. If files, working directories, mappings, or raw" -" block-device users keep it busy, the interface reports failure and lists " -"related process PIDs when enumerable. Close those users and retry. If some " -"volumes unmount but a later one fails, the device list reflects actual mount" -" state; finish ejecting before unplugging." +"current device directory, then unmounts that device's mount points and " +"syncs its cache in the background. After the success message says the " +"device can safely be removed, unplug the USB drive or disconnect the " +"corresponding USB device in VMware. Physical power is controlled by the " +"device connection. System mounts are protected. If files, working " +"directories, mappings, or raw block-device users keep it busy, the " +"interface reports failure and lists related process PIDs when enumerable." +" Close those users and retry. If some volumes unmount but a later one " +"fails, the device list reflects actual mount state; finish ejecting " +"before unplugging." msgid "设备发现、挂载和卸载均使用独立子进程,Fileman 窗口继续处理事件。 正在执行设备操作时,关闭窗口会提示等待完成。" msgstr "" -"Device discovery, mounting, and unmounting all use separate child processes," -" so Fileman's window continues handling events. Closing the window during a " -"device operation prompts you to wait for completion." +"Device discovery, mounting, and unmounting all use separate child " +"processes, so Fileman's window continues handling events. Closing the " +"window during a device operation prompts you to wait for completion." msgid "命令行挂载" msgstr "Command-Line Mounting" @@ -136,10 +141,10 @@ msgid "" msgstr "" "Devices use ordinary ``/dev/sdX`` names, with numeric suffixes for " "partitions. Numbering depends on existing disks; do not assume every USB " -"drive is ``sdb``. First use ``lsblk`` to inspect devices, capacities, and " -"filesystems, verify the target, and then run as root. Names may change after" -" reconnection, so verify the device again. ``sdX1`` below is a placeholder " -"and must be replaced with the actual partition:" +"drive is ``sdb``. First use ``lsblk`` to inspect devices, capacities, and" +" filesystems, verify the target, and then run as root. Names may change " +"after reconnection, so verify the device again. ``sdX1`` below is a " +"placeholder and must be replaced with the actual partition:" msgid "" "ext4/exFAT 介质分别使用 ``-t ext4`` 或 ``-t exfat``;整个设备上直接创建的 文件系统使用 " @@ -150,20 +155,21 @@ msgstr "" "filesystems created directly on the whole device use ``/dev/sdX``. Use " "``mount -o ro`` for write-protected media. Complete unmounting before " "disconnecting a VMware removable device or unplugging a USB drive. After " -"sudden removal, old opens return ``ENODEV``; reinsertion does not redirect " -"old handles to the new device." +"sudden removal, old opens return ``ENODEV``; reinsertion does not " +"redirect old handles to the new device." msgid "" -"如果设备无法证明写入已落盘,并且拒绝缓存同步命令,``umount`` 会报告错误。 应保留设备连接并检查日志;不能把文件能够读回当成安全断电的证明。 " -"此类设备重新连接后,可使用 ``mount -o ro`` 读取;从未尝试写入的设备无需 提交本驱动的写缓存,读取后的卸载不会被不支持的同步命令阻断。" +"如果设备无法证明写入已落盘,并且拒绝缓存同步命令,``umount`` 会报告错误。 " +"应保留设备连接并检查日志;不能把文件能够读回当成安全断电的证明。 此类设备重新连接后,可使用 ``mount -o ro`` " +"读取;从未尝试写入的设备无需 提交本驱动的写缓存,读取后的卸载不会被不支持的同步命令阻断。" msgstr "" -"If a device cannot prove writes reached persistent storage and rejects cache" -" synchronization commands, ``umount`` reports an error. Keep it connected " -"and inspect logs; successful readback alone is not proof of safe power " -"removal. After reconnecting such a device, ``mount -o ro`` can be used to " -"read it. A device on which no write was attempted needs no write-cache " -"commit from this driver, so unmounting after reading is not blocked by an " -"unsupported sync command." +"If a device cannot prove writes reached persistent storage and rejects " +"cache synchronization commands, ``umount`` reports an error. Keep it " +"connected and inspect logs; successful readback alone is not proof of " +"safe power removal. After reconnecting such a device, ``mount -o ro`` can" +" be used to read it. A device on which no write was attempted needs no " +"write-cache commit from this driver, so unmounting after reading is not " +"blocked by an unsupported sync command." msgid "使用模块配置时" msgstr "With Modular Configuration" @@ -176,55 +182,56 @@ msgid "" "该控制器会返回忙。应先卸载文件系统、关闭使用者,不强制卸载。重新连接 后的 ``/dev/sdX`` 名称可能变化,旧打开不会被重新绑定。" msgstr "" "``make defconfig`` builds drivers in by default. Selecting " -"``CONFIG_USB_XHCI_HCD=m`` or ``CONFIG_USB_EHCI_HCD=m`` puts ``xhci.ko`` or " -"``ehci.ko`` and corresponding PCI aliases in the image, loaded by the " -"existing module coldplug policy. EHCI low/full-speed root-port keyboards and" -" mice also need a UHCI companion. For settings and other module management " -"steps, see :doc:`kernel-modules`. USB device users hold the corresponding " -"controller module; unloading it returns busy while USB block devices are " -"mounted or open. First unmount filesystems and close users; do not force " -"unloading. Reconnection may change ``/dev/sdX`` names; old opens are not " -"rebound." +"``CONFIG_USB_XHCI_HCD=m`` or ``CONFIG_USB_EHCI_HCD=m`` puts ``xhci.ko`` " +"or ``ehci.ko`` and corresponding PCI aliases in the image, loaded by the " +"existing module coldplug policy. EHCI low/full-speed root-port keyboards " +"and mice also need a UHCI companion. For settings and other module " +"management steps, see :doc:`kernel-modules`. USB device users hold the " +"corresponding controller module; unloading it returns busy while USB " +"block devices are mounted or open. First unmount filesystems and close " +"users; do not force unloading. Reconnection may change ``/dev/sdX`` " +"names; old opens are not rebound." msgid "集成验证" msgstr "Integration Verification" msgid "" -"``tools/test_usb2_qemu.py`` 消费 ReliefNT 的原生输入/移除探针,在关闭 PS/2 控制器的 QEMU 中检查 " -"USB 键盘登录、相对鼠标精确事件、U 盘读写和写保护、 MBR/GPT/整盘 FAT、拔插后旧 FD 的 " +"``tools/test_usb2_qemu.py`` 消费 ReliefNT 的原生输入/移除探针,在关闭 PS/2 控制器的 QEMU 中检查" +" USB 键盘登录、相对鼠标精确事件、U 盘读写和写保护、 MBR/GPT/整盘 FAT、拔插后旧 FD 的 " "``ENODEV``、新设备名及可选模块装卸。 离线核对写入字节;镜像使用只读快照,测试 U 盘与输出目录新建,不接管宿主机 物理 " -"USB。探针哈希、内核 release、固件、控制器、QMP 设备树及每个设备的 端口与协商速率记录在输出中;xHCI 检查要求每个 U 盘实际协商 " -"``SUPER``, 不能仅凭设备连接到 xHCI 或其他设备的速率判定成功。" +"USB。探针哈希、内核 release、固件、控制器、QMP 设备树及每个设备的 端口与协商速率记录在输出中;xHCI 检查要求每个 U " +"盘实际协商 ``SUPER``, 不能仅凭设备连接到 xHCI 或其他设备的速率判定成功。" msgstr "" -"``tools/test_usb2_qemu.py`` uses ReliefNT's native input/removal probe in " -"QEMU with the PS/2 controller disabled. It checks USB keyboard login, exact " -"relative-mouse events, USB-drive read/write and write protection, " -"MBR/GPT/whole-disk FAT, ``ENODEV`` on old FDs after reconnection, new device" -" names, and optional module loading/unloading. Written bytes are checked " -"offline. The image uses a read-only snapshot, and test drives and output " -"directories are newly created; host physical USB is not taken over. Output " -"records probe hashes, kernel release, firmware, controller, QMP device tree," -" and each device's port and negotiated rate. xHCI checks require every USB " -"drive to actually negotiate ``SUPER``; attachment to xHCI or another " -"device's rate alone cannot establish success." +"``tools/test_usb2_qemu.py`` uses ReliefNT's native input/removal probe in" +" QEMU with the PS/2 controller disabled. It checks USB keyboard login, " +"exact relative-mouse events, USB-drive read/write and write protection, " +"MBR/GPT/whole-disk FAT, ``ENODEV`` on old FDs after reconnection, new " +"device names, and optional module loading/unloading. Written bytes are " +"checked offline. The image uses a read-only snapshot, and test drives and" +" output directories are newly created; host physical USB is not taken " +"over. Output records probe hashes, kernel release, firmware, controller, " +"QMP device tree, and each device's port and negotiated rate. xHCI checks " +"require every USB drive to actually negotiate ``SUPER``; attachment to " +"xHCI or another device's rate alone cannot establish success." msgid "" -"默认仍是 ``--topology highspeed --firmware bios``;``companion`` 保留 EHCI / UHCI " -"行为。选择 ``qemu-xhci`` 或 ``nec-usb-xhci`` 时,各配置八个 USB2 和 八个 USB3 根端口;``--hid-" -"usb-version 1`` 和 ``2`` 分别检查 FULL 和 HIGH 键鼠,默认使用 ``2``。``--modules`` " -"检查所选控制器模块,需使用对应模块化 镜像。xHCI 测试要求独立探针身份 JSON 中的 ``probe_sha256`` 与实际探针 " -"一致;默认查找探针同目录下的 ``probe-identity.json``,也可用 ``--probe-identity`` " -"指定。必须为每行选择全新的输出目录:" +"默认仍是 ``--topology highspeed --firmware bios``;``companion`` 保留 EHCI / " +"UHCI 行为。选择 ``qemu-xhci`` 或 ``nec-usb-xhci`` 时,各配置八个 USB2 和 八个 USB3 根端口" +";``--hid-usb-version 1`` 和 ``2`` 分别检查 FULL 和 HIGH 键鼠,默认使用 " +"``2``。``--modules`` 检查所选控制器模块,需使用对应模块化 镜像。xHCI 测试要求独立探针身份 JSON 中的 " +"``probe_sha256`` 与实际探针 一致;默认查找探针同目录下的 ``probe-identity.json``,也可用 " +"``--probe-identity`` 指定。必须为每行选择全新的输出目录:" msgstr "" -"The default remains ``--topology highspeed --firmware bios``; ``companion`` " -"preserves EHCI/UHCI behavior. Selecting ``qemu-xhci`` or ``nec-usb-xhci`` " -"configures eight USB2 and eight USB3 root ports for each. ``--hid-usb-" -"version 1`` and ``2`` check FULL and HIGH keyboards/mice respectively, with " -"``2`` as default. ``--modules`` checks the selected controller module and " -"requires the corresponding modular image. xHCI tests require " -"``probe_sha256`` in a separate probe identity JSON to match the actual " -"probe. The default is ``probe-identity.json`` beside the probe; ``--probe-" -"identity`` can override it. Choose a new output directory for every row:" +"The default remains ``--topology highspeed --firmware bios``; " +"``companion`` preserves EHCI/UHCI behavior. Selecting ``qemu-xhci`` or " +"``nec-usb-xhci`` configures eight USB2 and eight USB3 root ports for " +"each. ``--hid-usb-version 1`` and ``2`` check FULL and HIGH " +"keyboards/mice respectively, with ``2`` as default. ``--modules`` checks " +"the selected controller module and requires the corresponding modular " +"image. xHCI tests require ``probe_sha256`` in a separate probe identity " +"JSON to match the actual probe. The default is ``probe-identity.json`` " +"beside the probe; ``--probe-identity`` can override it. Choose a new " +"output directory for every row:" msgid "" "UEFI 使用 ``QEMU_FIRMWARE`` 指定的 OVMF 镜像,默认 " @@ -234,63 +241,64 @@ msgid "" "的对应低地址设置。结果文件记录原始镜像运行前后的 SHA-256; 只有 guest 检查、离线字节检查和镜像不变均通过,整行才通过。" msgstr "" "UEFI uses the OVMF image specified by ``QEMU_FIRMWARE``, defaulting to " -"``/usr/share/edk2/x64/OVMF.4m.fd``, reading the shared firmware file only " -"through ``-bios``. The test sets ``opt/ovmf/X-PciMmio64Mb=0`` to place NVMe " -"64-bit BARs in the low MMIO window, matching the low-MMIO mode of " -"``tools/test_dual_boot_qemu.py``. BIOS uses the corresponding SeaBIOS low-" -"address setting. Results record SHA-256 of the original image before and " -"after execution; a row passes only if guest checks, offline byte checks, and" -" image immutability all pass." +"``/usr/share/edk2/x64/OVMF.4m.fd``, reading the shared firmware file only" +" through ``-bios``. The test sets ``opt/ovmf/X-PciMmio64Mb=0`` to place " +"NVMe 64-bit BARs in the low MMIO window, matching the low-MMIO mode of " +"``tools/test_dual_boot_qemu.py``. BIOS uses the corresponding SeaBIOS " +"low-address setting. Results record SHA-256 of the original image before " +"and after execution; a row passes only if guest checks, offline byte " +"checks, and image immutability all pass." msgid "" -"完整验收矩阵包括 builtin 的 qemu-xhci/BIOS/HIGH HID、 nec-usb-xhci/UEFI/FULL HID,模块化 " -"qemu-xhci/BIOS/FULL HID,以及原有 EHCI/UHCI companion 回归。各行是否运行和通过以其 " -"``results.json`` 为准。 真实 VMware xHCI 曾观察到虚拟 SuperSpeed 存储及 FULL 键鼠枚举,但当前集成 " -"验证未完成,不能据此声称存储、输入和缓存同步全部成功;以往 VMware USB2 失败仍按原结果记录。物理 USB 直通和实体硬件尚未验证。QEMU " -"的 ``-vga vmware`` 也不代表真实 VMware 验证。" +"完整验收矩阵包括 builtin 的 qemu-xhci/BIOS/HIGH HID、 nec-usb-xhci/UEFI/FULL " +"HID,模块化 qemu-xhci/BIOS/FULL HID,以及原有 EHCI/UHCI companion 回归。各行是否运行和通过以其 " +"``results.json`` 为准。 真实 VMware xHCI 曾观察到虚拟 SuperSpeed 存储及 FULL 键鼠枚举,但当前集成" +" 验证未完成,不能据此声称存储、输入和缓存同步全部成功;以往 VMware USB2 失败仍按原结果记录。物理 USB " +"直通和实体硬件尚未验证。QEMU 的 ``-vga vmware`` 也不代表真实 VMware 验证。" msgstr "" -"The full acceptance matrix includes built-in qemu-xhci/BIOS/HIGH HID, nec-" -"usb-xhci/UEFI/FULL HID, modular qemu-xhci/BIOS/FULL HID, and the existing " -"EHCI/UHCI companion regression. Whether each row ran and passed is " -"determined by its ``results.json``. Actual VMware xHCI has shown enumeration" -" of virtual SuperSpeed storage and FULL keyboards/mice, but current " -"integration verification is incomplete; this cannot establish successful " -"storage, input, and cache synchronization. Historical VMware USB2 failures " -"retain their original results. Physical USB passthrough and real hardware " -"remain unverified. QEMU's ``-vga vmware`` does not constitute actual VMware " -"verification either." +"The full acceptance matrix includes built-in qemu-xhci/BIOS/HIGH HID, " +"nec-usb-xhci/UEFI/FULL HID, modular qemu-xhci/BIOS/FULL HID, and the " +"existing EHCI/UHCI companion regression. Whether each row ran and passed " +"is determined by its ``results.json``. Actual VMware xHCI has shown " +"enumeration of virtual SuperSpeed storage and FULL keyboards/mice, but " +"current integration verification is incomplete; this cannot establish " +"successful storage, input, and cache synchronization. Historical VMware " +"USB2 failures retain their original results. Physical USB passthrough and" +" real hardware remain unverified. QEMU's ``-vga vmware`` does not " +"constitute actual VMware verification either." msgid "" "``tools/test_xhci_hub_qemu.py`` 另行验证两级全速 Hub 后的 U 盘、USB 键盘 登录和相对鼠标、单独 U " -"盘拔插、整棵 Hub 树移除/重建,以及可选 ``--modules`` 的挂载阻止卸载和卸载后重新枚举。使用 console backend 的测试 " -"副本,避免 XDM 在 TTY 键盘验证期间切换焦点。该脚本同样消费匹配镜像的 ``--manifest``、内核仓原生 " +"盘拔插、整棵 Hub 树移除/重建,以及可选 ``--modules`` 的挂载阻止卸载和卸载后重新枚举。使用 console backend " +"的测试 副本,避免 XDM 在 TTY 键盘验证期间切换焦点。该脚本同样消费匹配镜像的 ``--manifest``、内核仓原生 " "``--probe``,并要求新建 ``--output``:" msgstr "" -"``tools/test_xhci_hub_qemu.py`` separately verifies USB drives, USB keyboard" -" login, and relative mice behind two levels of full-speed hubs, individual " -"drive removal/reinsertion, removal/recreation of the entire hub tree, and " -"optional ``--modules`` checks for mounts preventing unloading and re-" -"enumeration after unloading. It uses a console-backend test copy to prevent " -"XDM from switching focus during TTY keyboard checks. This script also uses " -"an image-matching ``--manifest`` and the kernel repository's native " -"``--probe``, and requires a new ``--output``:" +"``tools/test_xhci_hub_qemu.py`` separately verifies USB drives, USB " +"keyboard login, and relative mice behind two levels of full-speed hubs, " +"individual drive removal/reinsertion, removal/recreation of the entire " +"hub tree, and optional ``--modules`` checks for mounts preventing " +"unloading and re-enumeration after unloading. It uses a console-backend " +"test copy to prevent XDM from switching focus during TTY keyboard checks." +" This script also uses an image-matching ``--manifest`` and the kernel " +"repository's native ``--probe``, and requires a new ``--output``:" msgid "" -"QEMU 的 ``usb-hub`` 只支持全速,不能用它证明高速 Hub 的 TT 或 USB3 Hub 物理链路。内核支持边界和硬件协议验证归属 " -"ReliefNT 文档;Hub 的 VMware 验证未完成,物理 USB 直通和实体 Hub 也尚未验证。" +"QEMU 的 ``usb-hub`` 只支持全速,不能用它证明高速 Hub 的 TT 或 USB3 Hub " +"物理链路。内核支持边界和硬件协议验证归属 ReliefNT 文档;Hub 的 VMware 验证未完成,物理 USB 直通和实体 Hub " +"也尚未验证。" msgstr "" -"QEMU's ``usb-hub`` supports full speed only and cannot prove high-speed hub " -"TT operation or USB3 hub physical links. Kernel support boundaries and " -"hardware protocol verification belong to ReliefNT documentation. VMware hub " -"verification is incomplete; physical USB passthrough and real hubs are also " -"unverified." +"QEMU's ``usb-hub`` supports full speed only and cannot prove high-speed " +"hub TT operation or USB3 hub physical links. Kernel support boundaries " +"and hardware protocol verification belong to ReliefNT documentation. " +"VMware hub verification is incomplete; physical USB passthrough and real " +"hubs are also unverified." msgid "" "VMware 的 USB 兼容性和可移动设备操作见 `Workstation Pro 官方手册 " -"`_。" +"`_。" msgstr "" "For VMware USB compatibility and removable-device operations, see the " "`official Workstation Pro manual " -"`_." +"`_." diff --git a/Documentation/locale/en/LC_MESSAGES/applications/diskmgr.po b/Documentation/locale/en/LC_MESSAGES/applications/diskmgr.po index 0411cfec..a2f97bf8 100644 --- a/Documentation/locale/en/LC_MESSAGES/applications/diskmgr.po +++ b/Documentation/locale/en/LC_MESSAGES/applications/diskmgr.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:37+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "磁盘管理器(Diskmgr)" msgstr "Disk Manager (Diskmgr)" @@ -20,69 +23,60 @@ msgid "" "运行 ``diskmgr``,或从系统菜单打开磁盘管理器。程序使用 C++、FLTK 和 X11, 沿用系统 FLTK " "主题、中文字体及现有磁盘管理器图标。左侧选择磁盘,右侧选择 分区;工具栏与“分区”菜单提供同一组操作。Ctrl+R 刷新,Ctrl+Q 关闭。" msgstr "" -"Run ``diskmgr`` or open Disk Manager from the system menu. The program uses " -"C++, FLTK, and X11, retaining the system FLTK theme, Chinese fonts, and " -"existing disk manager icon. Select a disk on the left and a partition on the" -" right. The toolbar and Partition menu offer the same operations. Ctrl+R " -"refreshes; Ctrl+Q closes." +"Run ``diskmgr`` or open Disk Manager from the system menu. The program " +"uses C++, FLTK, and X11, retaining the system FLTK theme, Chinese fonts, " +"and existing disk manager icon. Select a disk on the left and a partition" +" on the right. The toolbar and Partition menu offer the same operations. " +"Ctrl+R refreshes; Ctrl+Q closes." msgid "" "支持查看 GPT 分区、文件系统、容量、PARTUUID 和实际挂载位置;在空闲空间 " "新建并格式化分区,格式化、删除分区,以及挂载和卸载数据分区。新文件系统 可选 ext4、ext3、FAT32、exFAT,也可挂载现有 ext2 " -"分区。现有格式化器要求 FAT32 至少32 MiB,ext4/exFAT至少128 MiB,ext3至少8 MiB。ext3 格式化调用系统提供的 " -"e2fsprogs ``mke2fs``,挂载使用 ``data=ordered``。分区名称支持中文,磁盘上 " -"使用 GPT 规定的 UTF-16,界面使用 UTF-8;超过36个 UTF-16编码单元的名称被拒绝。 " +"分区。现有格式化器要求 FAT32 至少32 MiB,ext4/exFAT至少128 MiB,ext3至少8 MiB。ext3 " +"格式化调用系统提供的 e2fsprogs ``mke2fs``,挂载使用 ``data=ordered``。分区名称支持中文,磁盘上 使用 GPT" +" 规定的 UTF-16,界面使用 UTF-8;超过36个 UTF-16编码单元的名称被拒绝。 " "界面输入另有71字节上限,分区表显示超出列宽时可调整列宽或水平滚动。" msgstr "" "You can inspect GPT partitions, filesystems, capacities, PARTUUIDs, and " -"actual mount locations; create and format partitions in free space; format " -"or delete partitions; and mount or unmount data partitions. New filesystems " -"can be ext4, ext3, FAT32, or exFAT; existing ext2 partitions can also be mounted. " -"Current formatters require at least 32 MiB for FAT32, 128 MiB for " -"ext4/exFAT, and 8 MiB for ext3. The ext3 formatter calls the system-" -"provided e2fsprogs ``mke2fs``, and ext3 mounts use ``data=ordered``. " -"Partition names support Chinese, using GPT-mandated UTF-16 on disk and UTF-8" -" in the interface. Names longer than 36 UTF-16 code units are rejected, and " -"interface input has a separate 71-byte limit. Resize columns or scroll " -"horizontally if partition-table content exceeds the column width." - -msgid "" -"普通用户默认只读;“以管理员身份打开…”使用标准 sudo 验证当前用户密码, 成功后打开 root 窗口。需要该用户已有 sudo " -"权限;密码通过标准输入传送, 不进入命令行或环境变量。取消或验证失败保留原窗口。" -msgstr "" -"Regular users default to read-only access. Open as Administrator… uses " -"standard sudo to verify the current user's password, then opens a root " -"window on success. The user must already have sudo authorization. The " -"password is sent through standard input, never command lines or environment " -"variables. Cancellation or authentication failure preserves the original " -"window." +"actual mount locations; create and format partitions in free space; " +"format or delete partitions; and mount or unmount data partitions. New " +"filesystems can be ext4, ext3, FAT32, or exFAT; existing ext2 partitions " +"can also be mounted. Current formatters require at least 32 MiB for " +"FAT32, 128 MiB for ext4/exFAT, and 8 MiB for ext3. The ext3 formatter " +"calls the system-provided e2fsprogs ``mke2fs``, and ext3 mounts use " +"``data=ordered``. Partition names support Chinese, using GPT-mandated " +"UTF-16 on disk and UTF-8 in the interface. Names longer than 36 UTF-16 " +"code units are rejected, and interface input has a separate 71-byte " +"limit. Resize columns or scroll horizontally if partition-table content " +"exceeds the column width." msgid "" "新建、格式化和删除需要输入对话框给出的 CREATE、FORMAT、DELETE,连续点击 " -"两次确认。修改任意字段会取消第一次确认。系统分区和已挂载分区受到保护; 含挂载分区的整盘不能更改 GPT。BIOS Boot 分区不能格式化或挂载。 " -"扫描和磁盘操作在独立子进程执行,期间窗口继续处理 X11 事件,操作完成后 刷新列表;操作进行中不能关闭窗口。新建成功但格式化失败会明确报告部分成功。" +"两次确认。修改任意字段会取消第一次确认。系统分区和已挂载分区受到保护; 含挂载分区的整盘不能更改 GPT。BIOS Boot " +"分区不能格式化或挂载。 扫描和磁盘操作在独立子进程执行,期间窗口继续处理 X11 事件,操作完成后 " +"刷新列表;操作进行中不能关闭窗口。新建成功但格式化失败会明确报告部分成功。" msgstr "" "Create, Format, and Delete require typing CREATE, FORMAT, or DELETE as " "specified in the dialog and clicking confirmation twice consecutively. " "Changing any field cancels the first confirmation. System and mounted " -"partitions are protected; GPT cannot be changed on a disk containing mounted" -" partitions. BIOS Boot partitions cannot be formatted or mounted. Scans and " -"disk operations run in separate child processes while the window continues " -"handling X11 events, with lists refreshed afterward. The window cannot be " -"closed during an operation. Successful creation followed by failed " -"formatting is explicitly reported as partial success." +"partitions are protected; GPT cannot be changed on a disk containing " +"mounted partitions. BIOS Boot partitions cannot be formatted or mounted. " +"Scans and disk operations run in separate child processes while the " +"window continues handling X11 events, with lists refreshed afterward. The" +" window cannot be closed during an operation. Successful creation " +"followed by failed formatting is explicitly reported as partial success." msgid "" -"使用现有 POSIX 文件操作、Linux 块设备 ioctl 和 mount/umount2,支持512字节 逻辑扇区和有效 GPT。没有 GPT " -"或分区表损坏的磁盘 仅报告错误,需先用独立工具准备 GPT。挂载点为 ``/mnt/disk<编号>p<分区号>``, " +"使用现有 POSIX 文件操作、Linux 块设备 ioctl 和 mount/umount2,支持512字节 逻辑扇区和有效 GPT。没有 " +"GPT 或分区表损坏的磁盘 仅报告错误,需先用独立工具准备 GPT。挂载点为 ``/mnt/disk<编号>p<分区号>``, " "已有挂载、符号链接、权限不安全或非空目录会被拒绝。" msgstr "" -"The program uses existing POSIX file operations, Linux block-device ioctls, " -"and mount/umount2, supporting 512-byte logical sectors and valid GPT. Disks " -"without GPT or with damaged partition tables only produce errors; prepare " -"GPT with a separate tool first. Mount points use ``/mnt/disk<编号>p<分区号>``. " -"Existing mounts, symbolic links, unsafe permissions, and nonempty " -"directories are rejected." +"The program uses existing POSIX file operations, Linux block-device " +"ioctls, and mount/umount2, supporting 512-byte logical sectors and valid " +"GPT. Disks without GPT or with damaged partition tables only produce " +"errors; prepare GPT with a separate tool first. Mount points use " +"``/mnt/disk<编号>p<分区号>``. Existing mounts, symbolic links, unsafe " +"permissions, and nonempty directories are rejected." msgid "" "写入前重新检查设备节点、GPT 头、分区 GUID、范围、只读、diskseq 及挂载状态。 " @@ -94,6 +88,16 @@ msgstr "" "only state, diskseq, and mounts are rechecked. Refresh and reselect the " "target after device hotplug. Open objects retain the original medium's " "identity. Ordinary descriptor reads/writes are checked against file " -"permissions; rereading the partition table requires Linux ``CAP_SYS_ADMIN``," -" consistent with upstream's `Linux block-device ioctl implementation " +"permissions; rereading the partition table requires Linux " +"``CAP_SYS_ADMIN``, consistent with upstream's `Linux block-device ioctl " +"implementation " "`_." + +msgid "" +"普通用户默认只能查看磁盘。“以管理员身份打开…”使用 polkit 授权扫描磁盘, 修改分区时也通过 polkit " +"授权。授权后由专用辅助程序执行操作,界面继续以普通账户运行。" +msgstr "" +"Regular users can inspect disks by default. Open as Administrator uses " +"polkit to authorize a privileged disk scan. Changes to partitions also " +"require polkit authorization. A dedicated helper performs authorized " +"operations while the interface runs under the regular account." diff --git a/Documentation/locale/en/LC_MESSAGES/applications/reliefmail.po b/Documentation/locale/en/LC_MESSAGES/applications/reliefmail.po index 912cb336..fb80b6e0 100644 --- a/Documentation/locale/en/LC_MESSAGES/applications/reliefmail.po +++ b/Documentation/locale/en/LC_MESSAGES/applications/reliefmail.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefMail 证书与连接排查" msgstr "ReliefMail Certificate and Connection Troubleshooting" @@ -20,162 +23,42 @@ msgid "" "添加普通邮箱时,账户“高级”页的“自定义 CA 文件(可选)”留空。 ReliefMail 使用 ``/etc/ssl/certs/ca-" "certificates.crt``,并校验服务器证书链、域名和有效期。 企业或自建邮箱的私有 CA 文件由管理员提供,按账户单独选择。" msgstr "" -"For an ordinary email account, leave Optional Custom CA File blank on the " -"account's Advanced page. ReliefMail uses ``/etc/ssl/certs/ca-" -"certificates.crt`` and validates the server's certificate chain, hostname, " -"and validity period. Private CA files for corporate or self-hosted mail are " -"supplied by the administrator and selected separately per account." +"For an ordinary email account, leave Optional Custom CA File blank on the" +" account's Advanced page. ReliefMail uses ``/etc/ssl/certs/ca-" +"certificates.crt`` and validates the server's certificate chain, " +"hostname, and validity period. Private CA files for corporate or self-" +"hosted mail are supplied by the administrator and selected separately per" +" account." msgid "修复或更新系统证书" msgstr "Repairing or Updating System Certificates" msgid "账户“高级”页提供“修复或更新系统证书”。使用默认 CA 的连接测试遇到证书库加载 失败或信任链错误时,也可从错误对话框进入修复。" msgstr "" -"The account's Advanced page provides Repair or Update System Certificates. " -"If a connection test using the default CA encounters a certificate-store " -"loading failure or trust-chain error, the error dialog also provides access " -"to repair." - -msgid "该入口启动 ``reliefapk --repair-ca``:" -msgstr "This entry launches ``reliefapk --repair-ca``:" +"The account's Advanced page provides Repair or Update System " +"Certificates. If a connection test using the default CA encounters a " +"certificate-store loading failure or trust-chain error, the error dialog " +"also provides access to repair." msgid "" -"检查证书恢复条件;系统 CA 可用时,在线模拟固定证书包的变更。 恢复计划会说明两个 CA 包的 world 请求将刷新为不带版本或仓库标签约束的包名;" -" 使用已配置的默认签名仓库,其他请求保留。" -msgstr "" -"Check certificate restoration prerequisites. If the system CA is usable, " -"simulate changes to the fixed certificate packages online. The restoration " -"plan explains that world requests for the two CA packages will be refreshed " -"to plain package names without version or repository-tag constraints. The " -"configured default signed repository is used; other requests are preserved." - -msgid "在 ReliefAPK 中检查变更并应用,使用其现有 sudo/root 密码认证。" +"该入口启动 ``reliefpackages --repair-ca``。检查确认对话框后,由 polkit 授权使用 pacman 重新安装 " +"Arch 官方的 ``ca-certificates-utils`` 与 ``ca-certificates-" +"mozilla``。需要时先从本机信任锚重新生成证书库,再使用系统签名策略执行安装。 事务显示软件包及钩子输出。成功后返回 " +"ReliefMail,重新测试该账户的连接。" msgstr "" -"Review and apply changes in ReliefAPK, using its existing sudo/root password" -" authentication." +"The action opens ``reliefpackages --repair-ca``. After confirmation, " +"polkit authorizes pacman to reinstall the official Arch ``ca-" +"certificates-utils`` and ``ca-certificates-mozilla`` packages. If needed," +" it rebuilds the certificate bundle from local trust anchors before " +"installing with the system's signature policy. The window shows package " +"and hook output. Return to ReliefMail and retry the account after " +"success." -msgid "" -"系统 CA 不可用时,先原子恢复随系统分发的证书库,将原有常规文件保留为 权限 ``0600`` 的独立备份。随后才进行在线包可用性检查和真实 apk " -"模拟。" +msgid "邮箱密码保留在 ReliefMail。系统授权由桌面的 polkit 代理处理。 如果账户选择了私有 CA,应检查该文件的路径、权限与证书内容。" msgstr "" -"If the system CA is unusable, first atomically restore the certificate store" -" distributed with the system, retaining the original regular file as a " -"separate backup with permissions ``0600``. Only then check online package " -"availability and run the actual apk simulation." - -msgid "" -"apk 使用已配置的软件源和包签名验证获取固定的 ``ca-certificates`` 与 ``ca-certificates-bundle`` " -"软件包。先用 ``add --upgrade`` 更新 两个请求及其版本,再用 ``fix --reinstall`` " -"修复源文件和生成文件。每次真实变更前 均重新模拟,依赖仍由 apk 求解。HTTPS 源必须通过 TLS 证书验证;管理员配置的本地或 HTTP " -"源也必须通过 apk 签名验证。" -msgstr "" -"apk obtains the fixed ``ca-certificates`` and ``ca-certificates-bundle`` " -"packages using configured repositories and package-signature verification. " -"It first uses ``add --upgrade`` to update both requests and their versions, " -"then ``fix --reinstall`` to repair source and generated files. Each actual " -"change is preceded by another simulation, with dependencies still resolved " -"by apk. HTTPS repositories must pass TLS certificate validation; " -"administrator-configured local or HTTP repositories must also pass apk " -"signature verification." - -msgid "" -"安装后重新解析证书库;文件仍不可用、新生成 ``.apk-new`` 或 apk 报告 ``APK unavailable, skipped`` " -"时报告失败,不把退出码 0 当作实际执行的充分证据。" -msgstr "" -"After installation, parse the certificate store again. If it remains " -"unusable, a new ``.apk-new`` appears, or apk reports ``APK unavailable, " -"skipped``, report failure; exit code 0 alone is insufficient evidence that " -"the operation actually ran." - -msgid "返回 ReliefMail,重新输入测试所需的邮箱授权码并测试连接。" -msgstr "" -"Return to ReliefMail, reenter the mail authorization code needed for " -"testing, and test the connection." - -msgid "" -"证书修复不会发送邮件。邮箱密码与系统提权密码分别由两个程序处理,不通过启动 参数传递。账户已指定私有 CA 时,应检查该文件,不会自动替换为公共 CA。" -msgstr "" -"Certificate repair sends no email. The mail password and system elevation " -"password are handled by separate programs and are not passed in launch " -"arguments. If an account specifies a private CA, inspect that file; it is " -"not automatically replaced with a public CA." - -msgid "" -"下载使用当前有效的系统证书库;文件缺失或损坏时,使用随 ReliefOS 分发、 由 root 管理的 " -"``/usr/share/reliefos/certs/ca-certificates.crt`` 恢复系统证书库。 恢复文件及其父目录必须由 root" -" 拥有、不可由组或其他用户写入,且不能是符号链接。 预览阶段说明恢复计划,不修改系统证书。经认证应用后才恢复文件并进行在线模拟; " -"恢复后的网络或签名检查失败时保留已恢复的出厂 CA,并明确报告更新失败。 预览与实际修复禁用磁盘缓存;检查包可用性时仅请求元数据,不下载归档。 " -"固定修复工作程序启动 apk 时使用独立的最小环境,忽略调用者的 ``APK_CONFIG``、代理和 TLS 环境变量,也不加载全局 " -"``/etc/apk/config``,防止配置关闭签名或证书验证。 APK 输出中的仓库 URL 会隐藏,避免将可能包含的仓库凭据写入操作日志。 " -"软件源、签名密钥与架构仍使用系统配置;仅依靠环境变量配置代理的网络需要管理员 先提供可直接访问的软件源。 邮箱连接仍按账户配置验证。apk " -"当前下载库优先读取编译时指定的 CA 文件, 恢复过程直接修复该系统文件,不依赖环境变量覆盖该路径。 在线操作前和安装后均检查系统 CA " -"文件及其父目录的信任条件。即使 PEM 可以解析, 符号链接、非 root 属主或组/其他用户可写的路径也会被拒绝。管理员应先核对来源, 恢复 root" -" 拥有的常规文件和安全权限;程序不会把这种文件直接用作特权下载的信任锚。" -msgstr "" -"Downloads use the currently valid system certificate store. If it is missing" -" or damaged, restore it from the root-managed " -"``/usr/share/reliefos/certs/ca-certificates.crt`` distributed with ReliefOS." -" The restoration file and its parent directories must be root-owned, not " -"group- or other-writable, and not symbolic links. Preview explains the " -"restoration plan without changing certificates. Only authenticated " -"application restores the file and runs online simulation. If subsequent " -"network or signature checks fail, the restored factory CA is retained and " -"update failure is explicitly reported. Preview and actual repair disable " -"disk caches; package availability checks request metadata only, without " -"downloading archives. The fixed repair worker launches apk with a separate " -"minimal environment, ignoring the caller's ``APK_CONFIG``, proxy, and TLS " -"environment variables and not loading global ``/etc/apk/config``, preventing" -" configuration from disabling signature or certificate verification. " -"Repository URLs in APK output are hidden to avoid logging embedded " -"repository credentials. Repositories, signing keys, and architecture still " -"use system configuration. Networks configured for proxies only through " -"environment variables require administrators to first provide directly " -"reachable repositories. Mail connections still validate according to account" -" settings. apk's current download library prioritizes its compile-time CA " -"file; restoration repairs that system file directly rather than relying on " -"an environment override. Trust conditions for the system CA file and its " -"parents are checked before online operations and after installation. Even " -"parsable PEM is rejected if paths are symbolic links, not root-owned, or " -"writable by group/others. Administrators must verify provenance and restore " -"root-owned regular files with safe permissions first; such unsafe files are " -"not directly used as trust anchors for privileged downloads." - -msgid "" -"``reliefos-trust`` 同时提供恢复证书库和 ``/etc/apk/protected_paths.d/reliefos-ca-" -"bundle.list``。apk 3 的文件替换保护按目录生效; 该规则把 ``/etc/ssl/certs`` " -"作为生成的证书输出目录,允许签名证书包替换损坏的已安装 文件,避免仅生成 ``.apk-new`` 而留下错误文件。私有 CA 源文件宜保存在 " -"``/usr/local/share/ca-certificates``,账户专用文件可放在其他适当目录。" -msgstr "" -"``reliefos-trust`` supplies both the restoration certificate store and " -"``/etc/apk/protected_paths.d/reliefos-ca-bundle.list``. apk 3 replacement " -"protection operates by directory. This rule treats ``/etc/ssl/certs`` as " -"generated certificate output, allowing signed certificate packages to " -"replace damaged installed files rather than merely producing ``.apk-new`` " -"and leaving broken files. Private CA sources should be stored in " -"``/usr/local/share/ca-certificates``; account-specific files can use other " -"appropriate directories." - -msgid "" -"更新已有系统时,应同步更新 ReliefMail、ReliefAPK 和系统信任包/配置。仅复制新程序 到旧镜像,可能缺少恢复证书文件或 apk " -"保护规则;应检查安装日志及 ``.apk-new``。 自定义保护策略仍需由管理员合并;修复程序会检查最终证书文件是否可解析。 不能只更新汇总包: " -"`Alpine 的安装钩子 " -"`_ 会执行 ``update-ca-certificates``,按源文件 " -"重新生成证书库。仅替换汇总文件可能被旧源集合覆盖;所以修复流程同步维护两个包, 并移除它们在旧镜像中遗留的精确 world 约束,允许后续安全更新。" -msgstr "" -"When updating existing systems, update ReliefMail, ReliefAPK, and system " -"trust packages/configuration together. Copying only new programs into an old" -" image may omit restoration certificates or apk protection rules; inspect " -"installation logs and ``.apk-new``. Administrators still need to merge " -"custom protection policies; the repair tool checks that the final " -"certificate file parses. Updating only the bundle package is insufficient: " -"`Alpine's installation hook " -"`_ runs ``update-ca-certificates`` to " -"regenerate the store from source files. Replacing the bundle alone may be " -"undone by the old source set. Repair therefore maintains both packages and " -"removes their legacy exact world constraints to allow future security " -"updates." +"Mailbox passwords stay in ReliefMail. The desktop polkit agent handles " +"system authorization. For accounts using a private CA, check the chosen " +"file's path, permissions and certificate data." msgid "按实际原因处理" msgstr "Addressing the Actual Cause" @@ -198,8 +81,8 @@ msgstr "" msgid "提示:证书已过期或尚未生效; 应检查的内容:系统日期、时间和服务器证书有效期。" msgstr "" -"Message: Certificate expired or not yet valid; Check: system date/time and " -"server certificate validity period." +"Message: Certificate expired or not yet valid; Check: system date/time " +"and server certificate validity period." msgid "提示:域名不匹配; 应检查的内容:IMAP/SMTP 主机名与服务器证书是否相符。" msgstr "" @@ -208,27 +91,25 @@ msgstr "" msgid "提示:TLS 协商失败; 应检查的内容:端口、隐式 TLS/STARTTLS 选择、网络状态与双方协议支持。" msgstr "" -"Message: TLS negotiation failed; Check: port, implicit TLS/STARTTLS choice, " -"network status, and protocol support at both ends." +"Message: TLS negotiation failed; Check: port, implicit TLS/STARTTLS " +"choice, network status, and protocol support at both ends." msgid "" -"CA 包中部分证书无法解析时,只要有可用根证书,程序会继续用这些根验证服务器; 服务器身份、有效期和信任链校验仍为必需。全部证书不可用时拒绝连接。 " -"诊断保留失败阶段、TLS 返回码、校验标志和系统时间,便于区分原因。" +"CA 包中部分证书无法解析时,只要有可用根证书,程序会继续用这些根验证服务器; 服务器身份、有效期和信任链校验仍为必需。全部证书不可用时拒绝连接。" +" 诊断保留失败阶段、TLS 返回码、校验标志和系统时间,便于区分原因。" msgstr "" -"If some certificates in a CA bundle cannot be parsed, the program continues " -"using any usable roots to validate the server. Server identity, validity, " -"and trust-chain checks remain mandatory. If no certificates are usable, the " -"connection is refused. Diagnostics retain the failure stage, TLS return " -"code, verification flags, and system time to distinguish causes." +"If some certificates in a CA bundle cannot be parsed, the program " +"continues using any usable roots to validate the server. Server identity," +" validity, and trust-chain checks remain mandatory. If no certificates " +"are usable, the connection is refused. Diagnostics retain the failure " +"stage, TLS return code, verification flags, and system time to " +"distinguish causes." msgid "定向验证" msgstr "Targeted Verification" -msgid "" -"QEMU 工具 ``tools/test_reliefmail_ca_qemu.py`` 使用独立磁盘副本及临时签名仓库, 测试 CA " -"损坏后的可见错误与修复流程。测试 CA、仓库密钥和账户均为夹具, 不会安装到宿主系统或生产输入镜像中。" +msgid "在完成源码修改后,使用真实邮箱连接或对应 TLS 夹具复核证书加载与错误状态。 应用的协议、后台任务与证书校验测试入口为::" msgstr "" -"The QEMU tool ``tools/test_reliefmail_ca_qemu.py`` uses an independent disk " -"copy and temporary signed repository to test visible errors and repair after" -" CA corruption. Test CAs, repository keys, and accounts are fixtures and are" -" not installed on the host or into the production input image." +"After source changes, check certificate loading and error reporting with " +"a real account or the matching TLS fixture. The application suite covers " +"protocol, worker and certificate handling::" diff --git a/Documentation/locale/en/LC_MESSAGES/applications/reliefmath-rendering.po b/Documentation/locale/en/LC_MESSAGES/applications/reliefmath-rendering.po index 201c37bc..6baa18f6 100644 --- a/Documentation/locale/en/LC_MESSAGES/applications/reliefmath-rendering.po +++ b/Documentation/locale/en/LC_MESSAGES/applications/reliefmath-rendering.po @@ -4,22 +4,25 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefMath 数学渲染" msgstr "ReliefMath Mathematical Rendering" msgid "本文件记录实现选择与实际证据;目标 GUI 及虚拟机运行仍待验收。" msgstr "" -"This document records implementation choices and actual evidence; target GUI" -" and VM runtime acceptance are still pending." +"This document records implementation choices and actual evidence; target " +"GUI and VM runtime acceptance are still pending." msgid "选择依据" msgstr "Selection Rationale" @@ -27,35 +30,35 @@ msgstr "Selection Rationale" msgid "" "已确认规格将 MicroTeX 固定候选设为 " "``0e3707f6dafebb121d98b53c64364d16fefe481d``。实际下载该提交并隔离检查,默认主机 CMake 因缺少 " -"``gtksourceviewmm-3.0`` 失败;其 GNU 构建采用 C++20,并依赖标准 C++ 库、异常、filesystem 和 GTK " -"C++ 图形实现。使用本项目现行 C++17、``-nostdinc++ -fno-exceptions -fno-rtti`` 标志交叉编译 " -"``src/core/core.cpp``,实际在 ``cstring`` 头处失败。证据保留于 ``out/tmp/reliefmath-" -"backend/cmake-host.log`` 和 ``microtex-" +"``gtksourceviewmm-3.0`` 失败;其 GNU 构建采用 C++20,并依赖标准 C++ 库、异常、filesystem 和 " +"GTK C++ 图形实现。使用本项目现行 C++17、``-nostdinc++ -fno-exceptions -fno-rtti`` " +"标志交叉编译 ``src/core/core.cpp``,实际在 ``cstring`` 头处失败。证据保留于 ``out/tmp" +"/reliefmath-backend/cmake-host.log`` 和 ``microtex-" "target.log``。这不是声称上游不能移植,而是本版本没有为公式工具引入完整 GTK/C++ 开发栈。" msgstr "" "The confirmed specification pinned the MicroTeX candidate to " -"``0e3707f6dafebb121d98b53c64364d16fefe481d``. That commit was downloaded and" -" inspected in isolation. Default host CMake failed because " -"``gtksourceviewmm-3.0`` was missing. Its GNU build uses C++20 and depends on" -" the standard C++ library, exceptions, filesystem, and GTK C++ graphics. " -"Cross-compiling ``src/core/core.cpp`` with this project's current C++17 and " -"``-nostdinc++ -fno-exceptions -fno-rtti`` flags failed at the ``cstring`` " -"header. Evidence remains in ``out/tmp/reliefmath-backend/cmake-host.log`` " -"and ``microtex-target.log``. This does not claim upstream cannot be ported; " -"this version simply does not introduce a full GTK/C++ development stack for " -"the formula tool." +"``0e3707f6dafebb121d98b53c64364d16fefe481d``. That commit was downloaded " +"and inspected in isolation. Default host CMake failed because " +"``gtksourceviewmm-3.0`` was missing. Its GNU build uses C++20 and depends" +" on the standard C++ library, exceptions, filesystem, and GTK C++ " +"graphics. Cross-compiling ``src/core/core.cpp`` with this project's " +"current C++17 and ``-nostdinc++ -fno-exceptions -fno-rtti`` flags failed " +"at the ``cstring`` header. Evidence remains in ``out/tmp/reliefmath-" +"backend/cmake-host.log`` and ``microtex-target.log``. This does not claim" +" upstream cannot be ported; this version simply does not introduce a full" +" GTK/C++ development stack for the formula tool." msgid "" "因此采用规格允许的本地受限递归下降解析器、数学盒模型和扁平字形显示列表,使用 FreeType 与 Cairo 的 C 接口。GUI " -"不链接数学后端;独立 ``reliefmath-render.elf`` 只接受有界源码协议,不运行 shell、网络请求或 TeX 命令。支持范围见 " -"兼容清单。" +"不链接数学后端;独立 ``reliefmath-render.elf`` 只接受有界源码协议,不运行 shell、网络请求或 TeX " +"命令。支持范围见 兼容清单。" msgstr "" -"The implementation therefore uses the specification-permitted local bounded " -"recursive-descent parser, mathematical box model, and flat glyph display " -"list, through FreeType and Cairo C interfaces. The GUI does not link the " -"math backend. A separate ``reliefmath-render.elf`` accepts only a bounded " -"source protocol and runs no shells, network requests, or TeX commands. See " -"the compatibility list for supported scope." +"The implementation therefore uses the specification-permitted local " +"bounded recursive-descent parser, mathematical box model, and flat glyph " +"display list, through FreeType and Cairo C interfaces. The GUI does not " +"link the math backend. A separate ``reliefmath-render.elf`` accepts only " +"a bounded source protocol and runs no shells, network requests, or TeX " +"commands. See the compatibility list for supported scope." msgid "字体与依赖" msgstr "Fonts and Dependencies" @@ -63,41 +66,38 @@ msgstr "Fonts and Dependencies" msgid "" "数学字体为 STIX Two Math,来源 ``stipub/stixfonts`` 的 ``v2.13b171``,原文件路径 " "``fonts/static_otf/STIXTwoMath-Regular.otf``。仓库字体 SHA256 为 " -"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c``,完整 SIL " -"OFL 随资源保留。字形缺失时回退到系统现有 SimSun;中文也通过 FreeType 提取轮廓。两者仍无字形则明确报错,不生成缺字符号冒充成功。" +"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c``,完整 " +"SIL OFL 随资源保留。字形缺失时回退到系统现有 SimSun;中文也通过 FreeType " +"提取轮廓。两者仍无字形则明确报错,不生成缺字符号冒充成功。" msgstr "" "The math font is STIX Two Math from ``stipub/stixfonts`` ``v2.13b171``, " -"originally at ``fonts/static_otf/STIXTwoMath-Regular.otf``. The repository " -"font SHA256 is " -"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c``, and " -"the complete SIL OFL is retained with the resources. Missing glyphs fall " -"back to the system's existing SimSun; Chinese outlines are also extracted " -"through FreeType. If neither font has a glyph, rendering explicitly fails " -"rather than substituting a missing-character symbol and claiming success." +"originally at ``fonts/static_otf/STIXTwoMath-Regular.otf``. The " +"repository font SHA256 is " +"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c``, and" +" the complete SIL OFL is retained with the resources. Missing glyphs fall" +" back to the system's existing SimSun; Chinese outlines are also " +"extracted through FreeType. If neither font has a glyph, rendering " +"explicitly fails rather than substituting a missing-character symbol and " +"claiming success." msgid "" -"只使用 STIX 字体,不分发 MicroTeX 的代码或资源。目标路径为 ``/usr/share/reliefmath/STIXTwoMath-" -"Regular.otf``,中文使用 ``/usr/share/fonts/reliefos/simsun.ttc``;许可证装入 " +"只使用 STIX 字体,不分发 MicroTeX 的代码或资源。目标路径为 ``/usr/share/reliefmath" +"/STIXTwoMath-Regular.otf``,中文使用 " +"``/usr/share/fonts/reliefos/simsun.ttc``;许可证装入 " "``/usr/share/licenses/reliefmath/``。" msgstr "" -"Only STIX fonts are used; MicroTeX code and resources are not distributed. " -"The target path is ``/usr/share/reliefmath/STIXTwoMath-Regular.otf``; " -"Chinese uses ``/usr/share/fonts/reliefos/simsun.ttc``. Licenses are " -"installed under ``/usr/share/licenses/reliefmath/``." +"Only STIX fonts are used; MicroTeX code and resources are not " +"distributed. The target path is ``/usr/share/reliefmath/STIXTwoMath-" +"Regular.otf``; Chinese uses ``/usr/share/fonts/reliefos/simsun.ttc``. " +"Licenses are installed under ``/usr/share/licenses/reliefmath/``." msgid "" -"Cairo ``1.18.4-r1`` 与 FreeType ``2.14.3-r0`` 的开发 APK 使用 " -"``configs/dependencies.lock.json`` 固定 URL 与 SHA256,通过显式 ``make fetch`` " -"获取。构建脚本使用系统信任密钥验证 APK 签名并校验摘要,再以临时完整树发布到专有开发目录;不覆盖共享 X11 开发树。运行时使用系统已有的相同版本 " -"APK。没有改变全局 C++ 编译标志。" +"渲染器使用官方 Arch Cairo 和 FreeType。隔离构建根通过 pacman 安装开发头与库,ReliefMath " +"包声明相应的运行依赖。" msgstr "" -"Development APK URLs and SHA256 values for Cairo ``1.18.4-r1`` and FreeType " -"``2.14.3-r0`` are pinned in ``configs/dependencies.lock.json`` and fetched " -"explicitly with ``make fetch``. Build scripts verify APK signatures with " -"system trusted keys and check digests, then publish a complete temporary " -"tree to a dedicated development directory without overwriting the shared X11" -" development tree. Runtime uses existing system APKs of the same versions. " -"Global C++ compilation flags are unchanged." +"The renderer uses the official Arch Cairo and FreeType libraries. The " +"isolated build root installs headers and libraries through pacman, and " +"the ReliefMath package declares its runtime dependencies." msgid "渲染与输出" msgstr "Rendering and Output" @@ -107,18 +107,19 @@ msgid "" "``svg/g/path``,所有字形(包含中文)都是真实曲线;没有位图、``text``、脚本或外部链接。PNG 由同一条 Cairo " "路径填充到透明图层,预览由其直通 RGBA 数据生成。SVG 与 PNG 尺寸、边距和基线相同。" msgstr "" -"Formula layout generates one shared path for glyphs, stretching, and rules. " -"SVG writes only ``svg/g/path``; all glyphs, including Chinese, are actual " -"curves, with no bitmaps, ``text``, scripts, or external links. PNG fills the" -" same Cairo path onto a transparent layer, and preview is generated from its" -" straight RGBA data. SVG and PNG share dimensions, margins, and baseline." +"Formula layout generates one shared path for glyphs, stretching, and " +"rules. SVG writes only ``svg/g/path``; all glyphs, including Chinese, are" +" actual curves, with no bitmaps, ``text``, scripts, or external links. " +"PNG fills the same Cairo path onto a transparent layer, and preview is " +"generated from its straight RGBA data. SVG and PNG share dimensions, " +"margins, and baseline." msgid "" "解析前检查 UTF-8、64 KiB 源码与 128 层嵌套限制;输出前检查 16384 单边和 16777216 " "总像素限制。未知命令、环境、宏定义、文件访问或字体缺字均返回错误和源码字节范围。" msgstr "" -"Before parsing, UTF-8, the 64 KiB source limit, and the 128-level nesting " -"limit are checked. Before output, limits of 16384 pixels per side and " +"Before parsing, UTF-8, the 64 KiB source limit, and the 128-level nesting" +" limit are checked. Before output, limits of 16384 pixels per side and " "16777216 pixels total are checked. Unknown commands/environments, macro " -"definitions, file access, and missing font glyphs return errors with source " -"byte ranges." +"definitions, file access, and missing font glyphs return errors with " +"source byte ranges." diff --git a/Documentation/locale/en/LC_MESSAGES/applications/reliefplayer.po b/Documentation/locale/en/LC_MESSAGES/applications/reliefplayer.po index d178b729..a1b7aaa2 100644 --- a/Documentation/locale/en/LC_MESSAGES/applications/reliefplayer.po +++ b/Documentation/locale/en/LC_MESSAGES/applications/reliefplayer.po @@ -4,24 +4,27 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: English\n" "Language: en\n" +"Language-Team: English\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefPlayer" msgstr "ReliefPlayer" msgid "" -"ReliefPlayer 是独立的 FLTK 本地音视频播放器,位于“网络和多媒体”应用分组, 不属于 ReliefOffice。使用系统中文字体和 " -"FLTK 默认 gtk+ 控件。" +"ReliefPlayer 是独立的 FLTK 本地音视频播放器,位于“网络和多媒体”应用分组, 不属于 " +"ReliefOffice。使用系统中文字体和 FLTK 默认 gtk+ 控件。" msgstr "" -"ReliefPlayer is a standalone FLTK local audio/video player in the Network " -"and Multimedia applications group, outside ReliefOffice. It uses system " +"ReliefPlayer is a standalone FLTK local audio/video player in the Network" +" and Multimedia applications group, outside ReliefOffice. It uses system " "Chinese fonts and FLTK's default gtk+ widgets." msgid "" @@ -29,12 +32,13 @@ msgid "" "秒、软件音量和静音。窗口显示文件名、格式、采样率、声道、位深、 已播放时间和总时长。MP4 视频在窗口中保持比例显示,支持常见的直角旋转元数据。 " "文件管理器中的 MP3、WAV、MP4 默认使用本程序打开。" msgstr "" -"Click Open Media to select a file; playback starts automatically. Controls " -"include play/pause, stop, seeking by dragging, ten-second backward/forward " -"jumps, software volume, and mute. The window shows filename, format, sample " -"rate, channels, bit depth, elapsed time, and duration. MP4 video keeps its " -"aspect ratio and supports common right-angle rotation metadata. The file " -"manager opens MP3, WAV, and MP4 with this program by default." +"Click Open Media to select a file; playback starts automatically. " +"Controls include play/pause, stop, seeking by dragging, ten-second " +"backward/forward jumps, software volume, and mute. The window shows " +"filename, format, sample rate, channels, bit depth, elapsed time, and " +"duration. MP4 video keeps its aspect ratio and supports common right-" +"angle rotation metadata. The file manager opens MP3, WAV, and MP4 with " +"this program by default." msgid "Ctrl+O:打开媒体。" msgstr "Ctrl+O: open media." @@ -52,10 +56,11 @@ msgid "" "音量只影响本程序输出,不更改系统混音器。暂停和停止会释放音频设备; 恢复播放从已经播放到的位置继续,停止后再次播放从开头开始。 " "设备被其他程序占用或不可用时会在状态栏提示,可以释放设备后重试播放。" msgstr "" -"Volume affects only this program's output, not the system mixer. Pause and " -"Stop release the audio device. Resuming continues from the played position; " -"playing after Stop starts from the beginning. A busy or unavailable device " -"is reported in the status bar; release it and retry playback." +"Volume affects only this program's output, not the system mixer. Pause " +"and Stop release the audio device. Resuming continues from the played " +"position; playing after Stop starts from the beginning. A busy or " +"unavailable device is reported in the status bar; release it and retry " +"playback." msgid "支持范围" msgstr "Supported Formats and Features" @@ -67,60 +72,53 @@ msgid "" "`_。" msgstr "" "MP3 uses the repository's existing minimp3, supporting mono/stereo MPEG " -"Layer III including variable bitrates. Initial opening scans a frame index " -"to determine duration; seeking predecodes to restore state. Timing counts " -"audio frames without trimming encoder delay or trailing padding. ID3 and " -"APEv2 tag boundaries are skipped; cover art and tag information are not read" -" or displayed. APEv2 boundary layout follows `FFmpeg's official " -"implementation `_." +"Layer III including variable bitrates. Initial opening scans a frame " +"index to determine duration; seeking predecodes to restore state. Timing " +"counts audio frames without trimming encoder delay or trailing padding. " +"ID3 and APEv2 tag boundaries are skipped; cover art and tag information " +"are not read or displayed. APEv2 boundary layout follows `FFmpeg's " +"official implementation " +"`_." msgid "" "WAV 支持 RIFF 中的单/双声道 PCM 8、16、24、32 位和 IEEE float32; 支持容器位深与有效位深相同的对应 " "WAVE_FORMAT_EXTENSIBLE 子格式。 采样率范围 8–192 kHz,不支持其他 WAV 压缩编码、RF64 或多声道源文件。 " "最多打开 2 GiB 的文件;MP3 索引最多 100 万帧。" msgstr "" -"WAV supports mono/stereo PCM 8, 16, 24, and 32-bit and IEEE float32 in RIFF," -" plus corresponding WAVE_FORMAT_EXTENSIBLE subformats whose container and " -"valid bit depths match. Sample rates are 8–192 kHz. Other WAV compression, " -"RF64, and multichannel sources are unsupported. Files are limited to 2 GiB " -"and MP3 indexes to one million frames." +"WAV supports mono/stereo PCM 8, 16, 24, and 32-bit and IEEE float32 in " +"RIFF, plus corresponding WAVE_FORMAT_EXTENSIBLE subformats whose " +"container and valid bit depths match. Sample rates are 8–192 kHz. Other " +"WAV compression, RF64, and multichannel sources are unsupported. Files " +"are limited to 2 GiB and MP3 indexes to one million frames." msgid "" -"MP4 使用锁定的官方 FFmpeg 8.1.3 LGPL 精简共享库,支持 H.264、MPEG-4 Part 2、 HEVC 视频及 AAC、MP3" -" 音轨;音频最多 8 声道,转换为 48 kHz 立体声。 无音轨的视频使用单调时钟播放,不需要打开音频设备。含音轨的视频按音频设备 " -"已经播放的帧同步画面,定位会刷新解码器并丢弃关键帧到目标位置之间的预解码数据。 不支持的编码、损坏文件和解码失败会报告错误。" +"MP4 使用锁定的官方 FFmpeg 8.1.3 LGPL 精简共享库,支持 H.264、MPEG-4 Part 2、 HEVC 视频及 " +"AAC、MP3 音轨;音频最多 8 声道,转换为 48 kHz 立体声。 无音轨的视频使用单调时钟播放,不需要打开音频设备。含音轨的视频按音频设备" +" 已经播放的帧同步画面,定位会刷新解码器并丢弃关键帧到目标位置之间的预解码数据。 不支持的编码、损坏文件和解码失败会报告错误。" msgstr "" "MP4 uses pinned official FFmpeg 8.1.3 LGPL reduced shared libraries, " -"supporting H.264, MPEG-4 Part 2, and HEVC video with AAC or MP3 audio. Up to" -" eight audio channels are converted to 48 kHz stereo. Video without audio " -"uses a monotonic clock and does not open an audio device. Video with audio " -"synchronizes to frames already played by the audio device; seeking flushes " -"decoders and discards predecoded data between the keyframe and target. " -"Unsupported codecs, damaged files, and decoding failures report errors." +"supporting H.264, MPEG-4 Part 2, and HEVC video with AAC or MP3 audio. Up" +" to eight audio channels are converted to 48 kHz stereo. Video without " +"audio uses a monotonic clock and does not open an audio device. Video " +"with audio synchronizes to frames already played by the audio device; " +"seeking flushes decoders and discards predecoded data between the " +"keyframe and target. Unsupported codecs, damaged files, and decoding " +"failures report errors." msgid "" "视频使用软件解码,源画面最多 4096 × 2160,显示快照最多 1280 × 720 像素 (竖屏时可交换边长)。不含硬件加速、HDR " "色调映射、字幕或多音轨选择; 高分辨率视频的流畅程度取决于虚拟机性能。" msgstr "" -"Video decoding is software-based, with source frames limited to 4096 × 2160 " -"and display snapshots to 1280 × 720 pixels (dimensions may swap for " -"portrait). Hardware acceleration, HDR tone mapping, subtitles, and multiple-" -"audio-track selection are absent; high-resolution smoothness depends on VM " -"performance." +"Video decoding is software-based, with source frames limited to 4096 × " +"2160 and display snapshots to 1280 × 720 pixels (dimensions may swap for " +"portrait). Hardware acceleration, HDR tone mapping, subtitles, and " +"multiple-audio-track selection are absent; high-resolution smoothness " +"depends on VM performance." -msgid "" -"``make fetch`` 下载锁定源码,``upstream-ffmpeg`` 离线构建五个解码共享库。 播放器启用时,运行库及 LGPL 许可证随" -" ``reliefos-media-codecs`` APK 一起进入镜像; 开发头文件留在独立构建目录。库名及 SONAME 带有 " -"``-reliefplayer`` 后缀, 可以与 Alpine 的完整 FFmpeg/VLC 依赖共存。FFmpeg " -"不构建命令行程序、网络协议或外部编码器。" +msgid "播放器通过 pacman 依赖 Arch 官方 FFmpeg 软件包。FFmpeg 的共享库和许可证由该软件包交付。" msgstr "" -"``make fetch`` downloads pinned sources; ``upstream-ffmpeg`` builds five " -"decoding shared libraries offline. With the player enabled, runtime " -"libraries and LGPL licenses enter the image in the ``reliefos-media-codecs``" -" APK; development headers remain in a separate build directory. Library " -"names and SONAMEs carry a ``-reliefplayer`` suffix to coexist with Alpine's " -"full FFmpeg/VLC dependencies. FFmpeg builds no command-line programs, " -"network protocols, or external encoders." +"The player depends on the official Arch FFmpeg package through pacman. " +"That package supplies the FFmpeg shared libraries and licenses." msgid "" "解码、文件读取和音频写入由独立子进程执行,GUI 通过非阻塞管道控制。 视频通过有界共享内存发布 RGB 快照,GUI " @@ -130,16 +128,17 @@ msgid "" msgstr "" "A separate child process handles decoding, file reads, and audio writes, " "controlled by the GUI through nonblocking pipes. Video publishes RGB " -"snapshots through bounded shared memory; the GUI keeps its own frame copy. " -"Both sides only try to acquire the copy lock, never wait for one another, " -"and do not read files or decode under the lock. Linear interpolation is used" -" when source and device sample rates differ. Device output is S16_LE on " -"front stereo channels, with extra hardware channels zeroed. Nonblocking " -"short writes, backpressure, and draining preserve unfinished data. Playback " -"failures never disguise progress as complete. Five continuous seconds with " -"neither writing nor playback progress produces an error. At the end, " -"nonblocking padding to hardware periods and remaining-queue queries drain " -"output while control commands remain responsive." +"snapshots through bounded shared memory; the GUI keeps its own frame " +"copy. Both sides only try to acquire the copy lock, never wait for one " +"another, and do not read files or decode under the lock. Linear " +"interpolation is used when source and device sample rates differ. Device " +"output is S16_LE on front stereo channels, with extra hardware channels " +"zeroed. Nonblocking short writes, backpressure, and draining preserve " +"unfinished data. Playback failures never disguise progress as complete. " +"Five continuous seconds with neither writing nor playback progress " +"produces an error. At the end, nonblocking padding to hardware periods " +"and remaining-queue queries drain output while control commands remain " +"responsive." msgid "本版只播放单个本地文件,不含播放列表、网络串流、均衡器或媒体库。" msgstr "" diff --git a/Documentation/locale/en/LC_MESSAGES/applications/system-tools.po b/Documentation/locale/en/LC_MESSAGES/applications/system-tools.po index 6278b625..a76717e5 100644 --- a/Documentation/locale/en/LC_MESSAGES/applications/system-tools.po +++ b/Documentation/locale/en/LC_MESSAGES/applications/system-tools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-11-14 15:19+0800\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" "Language: en\n" @@ -144,17 +144,13 @@ msgid "其他程序" msgstr "Other Programs" msgid "" -"系统还提供 ReliefAPK、图像查看、绘画、扫雷、系统信息及游戏入口。 组件选择决定它们是否安装,菜单入口不表示程序永远存在。 " -"ReliefOS Browser 应用的系统主页为 ``about:reliefos``;X11 默认浏览器为 NetSurf。 " +"系统还提供 ReliefPackages、图像查看、绘画、扫雷、系统信息及游戏入口。 组件选择决定它们是否安装,菜单入口不表示程序永远存在。 " "``driverinfo`` 是控制台驱动信息工具,默认显示已激活/Loaded,``-a`` 显示全部状态; " "以实际设备和驱动状态为准,不把设备枚举等同于成功驱动。 控制台工具与外来软件不需要自研应用桌面图标。" msgstr "" -"The system also provides ReliefAPK, image viewing, painting, Minesweeper," -" system information, and game entries. Component selection determines " -"installation; a menu entry does not mean the program is always present. " -"ReliefOS Browser's system home page is ``about:reliefos``; the default " -"X11 browser is NetSurf. ``driverinfo`` is a console driver-information " -"tool, showing active/Loaded status by default and all statuses with " -"``-a``. Rely on actual device and driver state; enumeration alone does " -"not mean a driver is working. Console tools and external software do not " -"require custom application desktop icons." +"ReliefOS also offers ReliefPackages, image viewing, painting, " +"Minesweeper, system information and games. Installed packages determine " +"which entries are available. The console tool ``driverinfo`` shows active" +" drivers by default and all states with ``-a``. Check actual device and " +"driver state. Console and external applications can use the icons " +"supplied by their packages." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/building.po b/Documentation/locale/en/LC_MESSAGES/kbuild/building.po index 01c821e5..5b63e5eb 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/building.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/building.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-14 15:19+0800\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" "Language: en\n" @@ -17,77 +17,730 @@ msgstr "" msgid "从源码构建" msgstr "Building from source" -msgid "宿主条件" -msgstr "Host requirements" +msgid "宿主与隔离构建根" +msgstr "Host and isolated build root" msgid "" -"使用 Linux/WSL、GNU Make 4.3+ 和仓库指定的 Clang/LLVM 工具链。 Clang 必须包含 x86_64 " -"compiler-rt builtins。典型 Debian/Ubuntu 依赖为::" +"在 x86_64 Linux 上可以通过本地 Docker 构建,无需在宿主安装 pacman、Arch 包或 编译器。宿主需要 Bash、Git" +" 2.31+、GNU Make 4.3+、coreutils、awk、sed 和 util-linux(``flock``),以及可通过 Unix" +" socket 访问的 Docker Engine 25+。 例如 Debian 13 可安装 ``docker.io git " +"make``;先按宿主发行版的说明配置 Docker。以普通用户执行,不要使用 ``sudo make``。Docker daemon " +"对其使用者授予高权限, 仅使用受信任的本地 daemon;目前不支持远端、rootless 或 userns-remap 模式。 源码和 " +"``O`` 路径沿用 Kbuild 的字符限制,不支持空格。" msgstr "" -"Use Linux/WSL, GNU Make 4.3+, and the Clang/LLVM toolchain specified by " -"the repository. Clang must include x86_64 compiler-rt builtins. Typical " -"Debian/Ubuntu dependencies are::" +"On x86_64 Linux, use local Docker without installing pacman, Arch " +"packages, or a compiler on the host. The host needs Bash, Git 2.31+, GNU " +"Make 4.3+, coreutils, awk, sed, and util-linux (``flock``), plus Docker " +"Engine 25+ accessible over a Unix socket. On Debian 13, for example, " +"install ``docker.io git make`` and configure Docker according to the host" +" distribution’s instructions. Run as a regular user, not with ``sudo " +"make``. A Docker daemon grants its users elevated privileges. Use only a " +"trusted local daemon; remote, rootless, and userns-remap modes are not " +"currently supported. Source and ``O`` paths follow the Kbuild character " +"restrictions and cannot contain spaces." + +msgid "在仓库根目录依次运行::" +msgstr "Run these commands in the repository root::" + +msgid "" +"``doctor`` 只检查宿主条件,不下载、不创建输出;``make -n`` 可预览入口。 ``fetch`` 使用摘要固定的官方 Arch " +"基础镜像和 pacman 签名验证准备工具链, 并下载校验 ReliefNT、paru 和 st 锁定的源码与依赖。Arch " +"软件仓库滚动更新;固定的是基础镜像, 不是每次初次获取时的软件仓库快照。" +msgstr "" +"``doctor`` checks host prerequisites without downloading or creating " +"output. Use ``make -n`` to preview an entry point. ``fetch`` prepares the" +" toolchain from the digest-pinned official Arch base image with pacman " +"signature verification, and downloads and verifies pinned inputs for " +"ReliefNT, paru, and st. The base image is pinned, but the Arch package " +"repositories used to prepare the toolchain are rolling." + +msgid "" +"``make fetch`` 默认从官方 Docker Hub(``docker.io``)拉取 Arch 基础镜像。 如需使用 1ms " +"镜像站,将上面的 ``make fetch`` 替换为::" +msgstr "" +"By default, ``make fetch`` pulls the Arch base image from the official " +"Docker Hub (``docker.io``). To use the 1ms mirror, replace the ``make " +"fetch`` command above with::" + +msgid "" +"该参数只影响基础镜像的下载地址,两种来源使用相同的镜像摘要和软件包验签设置。 如果本地已有同一构建配方生成的镜像,``make fetch`` " +"会直接复用,不会重新拉取基础镜像。" +msgstr "" +"This option changes only where the base image is downloaded from. Both " +"registries use the same image digest and package signature verification. " +"If the build image for the same recipe already exists locally, ``make " +"fetch`` reuses it without pulling the base image again." + +msgid "" +"``build`` 不拉镜像、不联网,先运行根 Makefile 的 ``kernel`` 目标, 再用 ``makepkg`` 构建 glibc" +" 版 ``libreliefos``、``paru``、``reliefos-filesystem``、 ``reliefos-st" +"``、``reliefos-desktop``、应用包和版本化内核包。 容器内使用调用者的 UID/GID, 源码、Git " +"元数据和容器根均为只读;下载缓存保存在 ``O/downloads/``。 默认 ``O=out/arch-" +"root/x86_64/release``,也可为这三个命令指定同一个新目录。 隔离构建和原生 Kbuild 使用各自的 ``O``。" +msgstr "" +"``build`` runs offline without pulling images. It runs the root " +"Makefile's ``kernel`` target, then invokes ``makepkg`` for glibc-based " +"``libreliefos``, ``paru``, ``reliefos-filesystem``, ``reliefos-st``, " +"``reliefos-desktop``, application packages and the versioned kernel. The " +"container uses your UID and GID. Source, Git metadata and the container " +"root are read-only, and downloads are cached under ``O/downloads/``. Use " +"the same output directory for all three commands. The default is ``O=out" +"/arch-root/x86_64/release``. Isolated product builds and native Kbuild " +"use separate output trees." + +msgid "" +"``SOURCE_DATE_EPOCH`` 默认取 ReliefOS 提交时间,也可在 ``build`` 时显式 指定。它传入隔离构建根并计入 " +"ReliefNT 的模块身份,时间变化会产生新的内核 release;相同构建输入和时间可重现相同身份。" +msgstr "" +"``SOURCE_DATE_EPOCH`` defaults to the ReliefOS commit timestamp and can " +"be specified for ``build``. It enters the build root and contributes to " +"ReliefNT's module identity. A changed timestamp changes the kernel " +"release. The same inputs and time reproduce the same identity." + +msgid "" +"输出包括 ``O/generated/system/kernel.sys``、``kernel.debug``、 ``O/kernel-" +"install/install.bundle.json`` 和 ``O/packages/arch/`` 下的 Arch 包。构建检查运行库的 " +"merged-usr 路径、ELF 依赖和 使用包内头文件与库的程序,也检查 paru 的 libalpm " +"依赖并执行包内程序。开发包在下一阶段签名,再用于装配系统。" +msgstr "" +"Outputs include ``O/generated/system/kernel.sys``, ``kernel.debug``, ``O" +"/kernel-install/install.bundle.json`` and the Arch packages under " +"``O/packages/arch/``. The build checks the runtime's merged-usr paths and" +" ELF dependencies, runs a consumer of its headers and library, and checks" +" and runs paru with its libalpm dependency. Sign the development packages" +" before assembling the system." + +msgid "" +"内核包的开发工具可通过 ``O/host/bin/reliefos-kernel-tools arch-kernel-stage INSTALL " +"OUTPUT`` 生成 merged-usr 暂存树,输出路径须为绝对路径。工具验证 " +"``INSTALL/install.bundle.json`` 及其全部成员,按当前 release 将内核、调试信息和模块 放入 " +"``OUTPUT/usr/lib/modules//``,并生成 ``arch-kernel-stage.json`` " +"校验清单。 未指定索引工具时,输出只包含安装清单列出的文件。校验或复制失败时保留上一次发布的暂存树。" +msgstr "" +"The kernel packaging development tool creates a merged-usr staging tree " +"with ``O/host/bin/reliefos-kernel-tools arch-kernel-stage INSTALL " +"OUTPUT``, where the output path must be absolute. It validates " +"``INSTALL/install.bundle.json`` and every member, places the kernel, " +"debug information and modules in ``OUTPUT/usr/lib/modules//``, " +"and generates the ``arch-kernel-stage.json`` checksum manifest. Without " +"index tools, the output contains only files listed in the installation " +"manifest. The previously published staging tree is preserved if " +"validation or copying fails." + +msgid "" +"在命令末尾依次指定原生 kmod 的 ``MODINFO DEPMOD`` 路径,可验证模块名称、ABI、 加载策略和依赖关系,并生成 " +"``modules.dep``、``modules.alias``、``modules.symbols`` 及其二进制索引。平台加载清单位于该 " +"release 目录的 ``modules-load.d/reliefnt-" +"platform.conf``,清单和索引均计入校验清单。索引生成失败时 保留上一次发布的暂存树。``build`` 在隔离构建根中使用此模式。" +msgstr "" +"Append native kmod's ``MODINFO DEPMOD`` paths to check module names, ABI," +" loading policy and dependencies and generate ``modules.dep``, " +"``modules.alias``, ``modules.symbols`` and their binary indexes. The " +"release-specific platform list is ``modules-load.d/reliefnt-" +"platform.conf``. The checksums cover its list and indexes. A failed index" +" build preserves the last published stage. ``build`` uses this mode in " +"the isolated root." + +msgid "" +"``reliefos-boot`` 安装官方 ``systemd-modules-load.service`` 的 drop-in,在标准扫描前 " +"通过 ``%v`` 读取运行内核的 release,将对应平台清单链接到 ``/run/modules-load.d/reliefnt-" +"platform.conf``。升级后回退旧内核时仍使用旧版清单。 清单缺失或为空时可继续标准扫描。同名配置在 ``/etc/modules-" +"load.d``、 ``/run/modules-load.d``、``/usr/local/lib/modules-load.d`` 或 " +"``/usr/lib/modules-load.d`` 中存在时优先,包含 ``/dev/null`` " +"屏蔽链接。准备步骤支持重复执行,失败会使服务报告失败。" +msgstr "" +"``reliefos-boot`` installs a drop-in for the official ``systemd-modules-" +"load.service``. Before the standard scan it reads the running kernel " +"release through ``%v`` and links the corresponding platform list to " +"``/run/modules-load.d/reliefnt-platform.conf``. Booting an older kernel " +"after an upgrade therefore selects that kernel's list. A missing or empty" +" list allows the standard scan to continue. An existing configuration of " +"the same name in ``/etc/modules-load.d``, ``/run/modules-load.d``, " +"``/usr/local/lib/modules-load.d`` or ``/usr/lib/modules-load.d`` takes " +"precedence, including a ``/dev/null`` masking link. The preparation step " +"supports repeated execution and causes the service to report failure when" +" preparation fails." + +msgid "" +"``build`` 将经过验证的内核文件打包到 ``/usr/lib/modules//``,包名包含 release " +"和完整模块 ABI。不同身份的内核包可并存。包文件保存在 ``O/packages/arch/``, ``reliefos-kernel-" +"current`` 依次记录版本化内核包和固定名称 ``reliefos-kernel`` 更新包的 " +"文件名。更新包精确依赖本次构建的内核包,升级时已安装的旧内核包保留。默认更新包版本 为 ``1.-1``,序号取 " +"ReliefOS 提交的第一父提交链长度;浅克隆须通过 ``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` " +"指定正整数序号。序号须随发布递增,同一包身份 已有不同内容时构建失败。" +msgstr "" +"``build`` packages the verified kernel under " +"``/usr/lib/modules//``. The package name includes the release " +"and full module ABI, and multiple kernels can coexist. Archives are under" +" ``O/packages/arch/``. ``reliefos-kernel-current`` lists the versioned " +"package and the fixed-name ``reliefos-kernel`` update package in order. " +"The update package depends on this exact kernel and retains earlier " +"installed kernels. The default update version is ``1.-1``. The " +"sequence is the first-parent commit count. A shallow release checkout " +"must supply a positive ``RELIEFOS_KERNEL_PACKAGE_SEQUENCE``. Increase the" +" sequence for publication. Conflicting bytes under the same package " +"identity fail the build." + +msgid "" +"``reliefos-kernel`` 安装 ``/usr/lib/reliefos/kernel/current-release``,其中记录 " +"该更新包所依赖内核的 release,供启动载荷生成使用。升级更新包会替换此记录, 已安装的版本化内核包继续保留。" +msgstr "" +"``reliefos-kernel`` installs ``/usr/lib/reliefos/kernel/current-release``" +" with the release of its kernel dependency for boot bundle generation. " +"Upgrading the update package replaces this record while retaining " +"installed versioned kernel packages." + +msgid "" +"``build`` 还构建 ``reliefos-boot``,并以 ``reliefos-boot-current`` 记录当前包名。 " +"该包的版本使用上述构建序号,testing RPR 签名发布后由 pacman 安装和更新。发布时拒绝 " +"相同版本不同内容或低于当前快照的版本。根文件系统装配会安装该包并验证一次真实的 initramfs 生成,临时验证产物不进入归档。" +msgstr "" +"``build`` also builds ``reliefos-boot`` and records its filename in " +"``reliefos-boot-current``. It uses the build sequence above and is " +"installed and upgraded by pacman once signed in testing RPR. Publication " +"rejects changed content at the same version and an older version than the" +" current snapshot. Root filesystem assembly installs the package and " +"checks actual initramfs generation. The temporary check artifact stays " +"out of the archive." + +msgid "" +"``libreliefos`` 包的发行号使用 ``1.``,``libreliefos-current`` 记录当前包名。 " +"``reliefos-boot`` 中的 ``/usr/libexec/reliefos/kernel-bundle`` 使用 " +"glibc,并声明本次 构建运行库的最低版本依赖。发布 testing RPR 时检查包架构和运行库依赖,拒绝运行库 " +"版本回退或同一版本的不同内容。" +msgstr "" +"The ``libreliefos`` package release uses ``1.``, and " +"``libreliefos-current`` records the current filename. The " +"``/usr/libexec/reliefos/kernel-bundle`` in ``reliefos-boot`` uses glibc " +"and declares a minimum dependency on the runtime built with it. Testing " +"RPR publication checks the package architecture and runtime dependency, " +"rejecting runtime version rollbacks and different contents for the same " +"version." + +msgid "" +"安装系统后,可运行 ``reliefos-mkinitramfs /usr/lib/modules/ " +"/boot/initramfs-.img`` 为指定内核生成未压缩的通用 initramfs。命令核对内核包的文件归属、完整性和" +" initramfs 配置,使用该 release 的配置和模块目录调用 dracut,并检查归档和 ``init``。成功时在 " +"目标目录原子替换输出,失败时保留原有文件。" +msgstr "" +"After installation, run ``reliefos-mkinitramfs /usr/lib/modules/" +" /boot/initramfs-.img`` to generate an uncompressed, generic " +"initramfs for the selected kernel. The command verifies kernel package " +"ownership, integrity and initramfs configuration, invokes dracut using " +"that release's configuration and module directory, and checks the archive" +" and ``init``. It atomically replaces the output in the destination " +"directory on success and preserves an existing file on failure." + +msgid "dracut 对支持文件名填充的内核启用增强 CPIO。重建早期内核的启动归档时使用普通 CPIO。" +msgstr "Dracut uses enhanced CPIO for kernels that support filename padding. It uses standard CPIO when rebuilding an archive for an earlier kernel." + +msgid "" +"未显式设置 ``TMPDIR`` 且 ``/run`` 为至少剩余 128 MiB 的 tmpfs 时, dracut " +"在该内存文件系统中暂存目录树。最终归档仍写入目标文件系统, 归档内容和原子发布规则不变;其他情况沿用 dracut 的暂存目录设置。" +msgstr "" +"If no explicit ``TMPDIR`` is set and ``/run`` is a tmpfs with at least " +"128 MiB free, dracut stages its tree in memory. The final archive still " +"goes to the destination filesystem, with no change to its contents or " +"atomic publication. Otherwise dracut uses its configured scratch " +"location." + +msgid "" +"运行 ``reliefos-mkbundle /usr/lib/modules/ /path/to/new-bundle`` " +"可从已安装的 版本化内核包生成经过校验的启动载荷。命令核验 pacman 的文件归属和完整性,并以包所 拥有的模块文件副本运行 " +"dracut,再生成校验清单和初始启动记录。载荷目录必须尚不存在, 生成失败保留原有目标。构建后的载荷可由 ``reliefos-kernel-" +"bundle --inspect`` 检查。" +msgstr "" +"Run ``reliefos-mkbundle /usr/lib/modules/ /path/to/new-bundle`` " +"to generate a validated boot payload from an installed versioned kernel " +"package. The command checks pacman file ownership and integrity, runs " +"dracut on a copy of the package-owned module files, and generates a " +"checksum inventory and initial boot record. The payload directory must " +"not already exist. A failed generation preserves an existing target. The " +"resulting payload can be checked with ``reliefos-kernel-bundle " +"--inspect``." + +msgid "" +"运行 ``reliefos-mkbundle --persist /usr/lib/modules/ /`` 可将完整载荷保存到" +" 根文件系统的 ``/.reliefos/kernel-bundles//``。载荷目录 " +"必须位于根文件系统,存储路径不得包含符号链接。并发发布通过锁协调,重复生成会校验并 复用一致载荷,内容冲突或生成失败时保留已有载荷。pacman " +"更新钩子通过 ``reliefos-boot-update`` 调用该入口。" +msgstr "" +"Run ``reliefos-mkbundle --persist /usr/lib/modules/ /`` to store" +" a complete payload in ``/.reliefos/kernel-bundles//`` on the root filesystem. The payload directory must reside on " +"the root filesystem and its path must contain no symbolic links. A lock " +"coordinates concurrent publication. Repeated generation validates and " +"reuses matching payloads, preserving existing payloads on content " +"conflicts or generation failures. The pacman update hook calls this entry" +" point through ``reliefos-boot-update``." + +msgid "在命令开头添加 ``--print-path`` 时,标准输出仅包含生成的载荷绝对路径,生成日志写入 标准错误,便于后续启动事务使用该路径。" +msgstr "" +"Add ``--print-path`` at the beginning of the command to print only the " +"absolute payload path to standard output. Generation logs go to standard " +"error, allowing a boot transaction to use the path." + +msgid "" +"``reliefos-boot-update / /boot`` 读取已安装的内核 release,检查独立挂载的启动分区, " +"生成持久载荷并按待发布文件检查可用空间,然后启用启动确认服务并发布双槽候选。 " +"事务通过锁串行执行,已有一致的启动文件可用于重试。执行阶段和失败退出码保存在 ``/var/lib/reliefos/boot-" +"update/status``,可用 ``reliefos-boot-update --status /`` 查询。 " +"修复失败原因后可再次运行更新命令。pacman 或 paru 安装、升级 ``reliefos-kernel`` 后会自动运行该事务。钩子失败时 " +"pacman 可能仍返回成功,须检查上述状态。" +msgstr "" +"Run ``reliefos-boot-update / /boot`` to read the installed kernel " +"release, check the separately mounted boot filesystem, generate a " +"persistent payload, check the space needed for unpublished files, enable " +"the boot confirmation service and publish a dual-slot candidate. A lock " +"serializes transactions, and matching existing boot files are reused on " +"retry. The stage and failure exit code are saved in ``/var/lib/reliefos" +"/boot-update/status`` and can be queried with ``reliefos-boot-update " +"--status /``. After correcting a failure, rerun the update command. " +"Installing or upgrading ``reliefos-kernel`` with pacman or paru runs this" +" transaction automatically. Pacman may still return success when the hook" +" fails, so check the status above." + +msgid "" +"旧内核通过独立事务清理。先执行 ``reliefos-kernel-prune --dry-run / /boot`` 查看候选包,再执行 " +"``reliefos-kernel-prune / /boot`` 确认删除。 ``--noconfirm`` " +"可用于已经确认候选的自动化流程。命令保护运行内核、已安装更新包 所指的内核、最后确认启动的版本,以及全部有效启动槽引用的版本和完整模块 ABI。 " +"缺少可信确认记录或保护版本的包归属不完整时,清理失败。" +msgstr "" +"Clean up old kernels in a separate transaction. Run ``reliefos-kernel-" +"prune --dry-run / /boot`` to review candidate packages, then ``reliefos-" +"kernel-prune / /boot`` to confirm removal. ``--noconfirm`` supports " +"automation with previously approved candidates. The command protects the " +"running kernel, the kernel selected by the installed update package, the " +"last confirmed boot version, and the versions and full module ABIs " +"referenced by every valid boot slot. Cleanup fails when a trusted " +"confirmation record is missing or protected package ownership is " +"incomplete." + +msgid "" +"清理与启动发布使用同一把锁,并在 pacman 持有数据库锁的 PreTransaction 阶段再次 " +"核对保护集合。额外的临时钩子保留系统及管理员配置的正常钩子,结束后删除。 删除以版本化包的完整文件清单为范围,保留其他模块、持久启动载荷及 ESP" +" 启动文件。 遇到数据库锁或中途失败后可重试,升级钩子只负责生成和发布启动文件。" +msgstr "" +"Cleanup shares the boot publication lock and rechecks the protected set " +"during PreTransaction while pacman holds its database lock. The extra " +"temporary hook preserves the normal system and administrator-configured " +"hooks and is removed afterward. Removal follows each versioned package " +"inventory and preserves other modules, persistent boot payloads and ESP " +"boot files. Database-lock and interrupted-operation failures can be " +"retried. The upgrade hook generates and publishes boot files." + +msgid "pacman 安装钩子可以重新生成模块索引。载荷使用包拥有的模块副本重新生成索引, 因此本机额外安装的模块不会进入载荷。" +msgstr "" +"The pacman installation hook may regenerate module indexes. The payload " +"regenerates its indexes from copies of the package-owned modules, so " +"additional locally installed modules are excluded." + +msgid "" +"已有内核载荷校验器和双槽发布器支持清单使用 ``lib/modules//`` 或 " +"``usr/lib/modules//``,同一清单不能混用两种路径。校验按清单中的实际路径 访问文件,merged-usr " +"系统可保留 ``/lib`` 指向 ``usr/lib`` 的符号链接。" +msgstr "" +"The existing kernel payload validator and dual-slot publisher support " +"inventories using either ``lib/modules//`` or " +"``usr/lib/modules//``. An inventory cannot mix the two paths. " +"Validation accesses files using the paths in the inventory, so a merged-" +"usr system can retain its ``/lib`` symlink to ``usr/lib``." + +msgid "" +"启动事务可调用 ``reliefos-boot-preflight /boot `` 检查启动目录本身是否 " +"为挂载点、挂载是否可写及可用空间是否满足给定的字节数。调用方负责计算事务所需空间。 检查使用临时文件验证实际写入,失败时保留已有启动文件。" +msgstr "" +"A boot transaction can run ``reliefos-boot-preflight /boot `` to check that the boot directory itself is a mount point, the " +"mount is writable, and the requested number of bytes is available. The " +"caller calculates the space required for the transaction. The check " +"writes a temporary file and preserves existing boot files on failure." + +msgid "签名 testing RPR" +msgstr "Signed testing RPR" + +msgid "" +"运行 ``make build`` 后,用同一个 ``O`` 生成 testing pacman 仓库。宿主需要 ``gpg`` 和 " +"``gpgv``。使用源码树和输出目录之外、由当前用户持有的 0700 GnuPG 目录,以及预先选定的签名主密钥完整指纹::" +msgstr "" +"After ``make build``, create the testing pacman repository with the same " +"``O``. Install ``gpg`` and ``gpgv`` on the host. Use a GnuPG directory " +"owned by the current user with mode 0700, outside both the checkout and " +"output, and the full fingerprint of the selected signing primary key::" + +msgid "" +"签名在宿主完成,私钥不进入构建容器。命令将包、数据库、分离签名、公开密钥和 校验和写到 ``O/rpr-" +"testing//``;签名验证通过后才发布完整的本地快照, 本地构建不会上传快照。上线时先完整上传快照,再切换客户端 使用的" +" URL,不能逐件覆盖正在服务的快照。" +msgstr "" +"Signing runs on the host. The private key stays outside the build " +"container. The tool writes packages, databases, detached signatures, the " +"public key and checksums to ``O/rpr-testing//`` and publishes " +"the complete local snapshot after verification. Upload that snapshot " +"completely before switching the client URL." msgid "" -"HTML 文档另需 Sphinx,见 :doc:`../process/documentation`。Sphinx 仅服务文档; " -"内核和用户态生产编译不因此改用 Python、Meson 或 Ninja。" +"testing RPR 收录当前版本化内核包、固定名称的更新包,以及 ``reliefos-desktop``、 ``reliefos-st`` " +"等本地构建包。每个签名主密钥在同一个 ``O`` 下通过 ``rpr-testing/current-<完整大写指纹>`` " +"维护本地快照历史。发布后续 快照时保留历史内核包并重新签名。更新包版本不得回退,同一更新包版本和同一内核 " +"身份的内容必须一致。发布失败时保留原历史指针。更换 ``O`` 会开始新的本地历史, 除非迁移已有历史;更换签名主密钥会开始新的本地历史。" msgstr "" -"HTML documentation also requires Sphinx; see " -":doc:`../process/documentation`. Sphinx is used only for documentation; " -"production kernel and userspace builds do not switch to Python, Meson, or" -" Ninja as a result." +"The testing RPR includes the current versioned kernel package, fixed-name" +" update packages, and locally built packages such as ``reliefos-desktop``" +" and ``reliefos-st``. Each signing primary key maintains local snapshot " +"history in the same ``O`` through ``rpr-testing/current-``. Subsequent snapshots retain and re-sign historical kernel" +" packages. Update-package versions must advance or remain equal, with " +"identical contents required for the same update-package version and " +"kernel identity. Publication failure preserves the previous history " +"pointer. Changing ``O`` starts new local history unless existing history " +"is migrated. Changing the signing primary key starts new local history." msgid "" -"``make test-build`` 中的播放器宿主检查另需 ``ffmpeg``、``libavformat-dev``、 " -"``libavcodec-dev``、``libavutil-dev``、``libswresample-dev`` 和 " -"``libswscale-dev``。 这些是宿主检查依赖;生产播放器使用锁定源码构建的 musl 库。 自启动的宿主检查另需 " -"``libglib2.0-dev``;生产程序使用锁定 APK 提供的目标 GIO 库和头文件。 可通过 " -"``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh tests/build/test-" -"reliefplayer-mp4.sh`` 在 Linux 宿主上同时运行实际精简库和 musl 版本的解码/控制检查;这不等于来宾播放验证。" +"客户端必须先通过独立可信渠道取得发布者的完整指纹。在 Arch 测试环境中,可用 ``bash tools/build/arch-rpr-" +"trust.sh PUBLIC_KEY FINGERPRINT PACMAN_GPGDIR`` 初始化一个 新的 pacman 信任目录。已签名的" +" ``reliefos-testing-keyring`` 包保存公开信任数据, 不能替代首次指纹核验。让 ``[rpr]`` " +"指向所选快照,仓库使用 ``SigLevel = Required TrustedOnly``;testing 环境之外使用 " +"HTTPS。此入口不配置 系统 pacman,也不安装或切换系统组件。" msgstr "" -"The host-side player checks in ``make test-build`` also require " -"``ffmpeg``, ``libavformat-dev``, ``libavcodec-dev``, ``libavutil-dev``, " -"``libswresample-dev``, and ``libswscale-dev``. These are host-check " -"dependencies; the production player uses musl libraries built from pinned" -" sources. Autostart host checks also require ``libglib2.0-dev``. The " -"production application uses the target GIO library and headers supplied " -"by pinned APKs. Run ``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh " -"tests/build/test-reliefplayer-mp4.sh`` on a Linux host to check decoding " -"and controls with both the actual reduced libraries and their musl " -"builds; this does not constitute guest playback validation." +"Clients must first obtain the publisher’s full fingerprint through an " +"independent trusted channel. In an Arch test environment, run ``bash " +"tools/build/arch-rpr-trust.sh PUBLIC_KEY FINGERPRINT PACMAN_GPGDIR`` to " +"initialize a new pacman trust directory. The signed ``reliefos-testing-" +"keyring`` package carries public trust data but cannot replace the " +"initial fingerprint check. Point ``[rpr]`` at the chosen snapshot and use" +" ``SigLevel = Required TrustedOnly`` for the repository. Use HTTPS " +"outside testing environments. This entry point does not configure the " +"system pacman or install or switch system components." -msgid "构建顺序" -msgstr "Build order" +msgid "" +"``reliefos-filesystem`` 依赖官方 Arch ``filesystem`` 和 ``systemd``,提供系统标识及 " +"普通物理有线接口的默认配置。``/etc/os-release`` 通过相对符号链接指向 ``/usr/lib/reliefos/os-" +"release``。有效标识为 ``ID=reliefos``、``ID_LIKE=arch``, ``VERSION_ID`` 与 " +"ReliefOS 版本一致。Arch ``filesystem`` 保持 merged-usr 布局、 ``/usr/lib/os-" +"release`` 和 ``/etc/resolv.conf`` 的包归属。" +msgstr "" +"``reliefos-filesystem`` depends on the official Arch ``filesystem`` and " +"``systemd`` packages and supplies system identification and defaults for " +"ordinary physical wired interfaces. ``/etc/os-release`` is a relative " +"symbolic link to ``/usr/lib/reliefos/os-release``. The identifiers are " +"``ID=reliefos`` and ``ID_LIKE=arch``, with ``VERSION_ID`` matching the " +"ReliefOS version. Arch ``filesystem`` retains ownership of the merged-usr" +" layout, ``/usr/lib/os-release`` and ``/etc/resolv.conf``." + +msgid "" +"paru 从上游固定提交构建,依赖使用上游 ``Cargo.lock``;不从 AUR 获取 paru 的构建脚本 或二进制。通过 testing" +" RPR 安装 ``paru``,之后用 ``pacman -Syu`` 同其他系统包一起更新。 升级时保留修改过的 " +"``/etc/paru.conf``。运行 paru 和构建 AUR 包应使用普通用户, 准备好 ``base-devel``,仅为实际的 " +"pacman 安装事务授权。RPR 的签名不为 AUR 内容背书; 运行第三方构建脚本之前仍需审查其源码和构建指令。" +msgstr "" +"Paru is built from a pinned upstream commit with the upstream " +"``Cargo.lock``. Its build recipe and binary are not taken from the AUR. " +"Install ``paru`` from the testing RPR and update it along with the other " +"system packages using ``pacman -Syu``. Upgrades preserve local edits to " +"``/etc/paru.conf``. Run paru and build AUR packages as a regular user " +"with ``base-devel`` installed; authorize only the actual pacman " +"installation transaction. RPR signatures do not vouch for AUR content. " +"Review the source and build instructions before running a third-party " +"build recipe." + +msgid "装配 Arch/systemd 根文件系统" +msgstr "Assembling the Arch/systemd root filesystem" + +msgid "用同一个 ``O`` 下已签名的 testing 快照和独立核验的签名主密钥指纹运行::" +msgstr "" +"Run this with a signed testing snapshot from the same ``O`` and the " +"independently verified fingerprint of the primary signing key::" + +msgid "" +"开发用 ``rootfs`` 显式联网,在独立的 Arch 容器中从空包数据库安装官方 ``base``、 systemd、D-Bus " +"broker、dracut 和 testing RPR 的 ReliefOS 包,包括 ``reliefos-kernel`` " +"及其精确依赖的版本化内核包。官方安装钩子在容器内运行,任一事务或钩子失败都会阻止发布。" +msgstr "" +"The development ``rootfs`` stage goes online explicitly in a separate " +"Arch container. It installs official ``base``, systemd, D-Bus broker, " +"dracut and the ReliefOS packages from testing RPR into an empty package " +"database. This includes ``reliefos-kernel`` and its exact versioned " +"dependency. Official hooks run in the container. A failed transaction or " +"hook blocks output publication." + +msgid "" +"``ARCH_DESKTOP`` 选择开发根文件系统的桌面配置,输出均保存在 ``O/arch-rootfs/``。 在上述命令末尾添加 " +"``ARCH_DESKTOP=xfce`` 或 ``ARCH_DESKTOP=console`` 可选择对应配置。" +msgstr "" +"``ARCH_DESKTOP`` selects the development root filesystem desktop " +"configuration. All output is stored in ``O/arch-rootfs/``. Append " +"``ARCH_DESKTOP=xfce`` or ``ARCH_DESKTOP=console`` to the commands above " +"to select those configurations." + +msgid "" +"``icewm`` 为默认值,安装 ``reliefos-desktop``、``reliefos-st`` 及官方 XDM、Xorg、IceWM" +" 依赖, 输出 ``reliefos-systemd-rootfs.tar.zst``。" +msgstr "" +"``icewm`` is the default. It installs ``reliefos-desktop``, ``reliefos-" +"st`` and official XDM, Xorg and IceWM dependencies, producing ``reliefos-" +"systemd-rootfs.tar.zst``." + +msgid "" +"``xfce`` 为实验选项,另装官方 Xfce 会话、窗口管理器、面板、桌面和 Thunar 等包, 输出 ``reliefos-" +"systemd-rootfs-xfce.tar.zst``。" +msgstr "" +"``xfce`` is experimental. It additionally installs official Xfce session," +" window manager, panel, desktop, Thunar and related packages, producing " +"``reliefos-systemd-rootfs-xfce.tar.zst``." -msgid "在 ReliefOS 仓库根目录执行::" -msgstr "Run from the ReliefOS repository root::" +msgid "" +"``console`` 使用 ``multi-user.target``,输出 ``reliefos-systemd-rootfs-" +"console.tar.zst``。" +msgstr "" +"``console`` uses ``multi-user.target`` and produces ``reliefos-systemd-" +"rootfs-console.tar.zst``." + +msgid "" +"图形配置启用官方 ``xdm.service`` 和 ``graphical.target``,XDM 使用官方 PAM 配置。 ReliefOS" +" 的 XDM 覆盖配置、会话选择和 IceWM 自启动规则见 :doc:`../admin-guide/desktop`。 三种配置均用 " +"glibc ``locale-gen`` 生成 en_US、zh_CN 和 ja_JP 的 UTF-8 区域数据, 初始 " +"``/etc/locale.conf`` 为 ``LANG=en_US.UTF-8``,详见 :doc:`../userspace-" +"api/locale`。" +msgstr "" +"Graphical configurations enable the official ``xdm.service`` and " +"``graphical.target``. XDM uses the official PAM configuration. ReliefOS " +"XDM overrides, session selection and IceWM autostart rules are described " +"in :doc:`../admin-guide/desktop`. All three configurations use glibc " +"``locale-gen`` to generate UTF-8 locale data for en_US, zh_CN and ja_JP. " +"The initial ``/etc/locale.conf`` sets ``LANG=en_US.UTF-8``. See :doc" +":`../userspace-api/locale`." + +msgid "" +"归档排除安装时的挂载、缓存、已初始化的机器 ID 和临时 pacman 信任目录。 " +"已校验的持久内核载荷进入归档,供离线磁盘装配和安装后的启动更新使用。 载荷发布锁文件在归档前删除。" +msgstr "" +"The archive excludes installation mounts, caches, initialized machine IDs" +" and temporary pacman trust directories. Verified persistent kernel " +"payloads are included for offline disk composition and subsequent " +"installed-system boot updates. Payload publication lock files are removed" +" before archiving." + +msgid "" +"必须用 ``RPR_SERVER_URL`` 指定目标系统使用的在线仓库地址。开发测试应指定测试服务器。目标系统的 " +"``/etc/pacman.d/reliefos-" +"rpr.conf`` 将该地址配置为 ``[rpr]``,包和数据库均须通过 可信签名验证。首次启动时 ``reliefos-pacman-" +"init.service`` 使用已安装的 Arch 和 ReliefOS 公钥初始化独立的 pacman 信任目录,后续密钥包升级会更新 " +"ReliefOS 信任数据。" +msgstr "" +"Set ``RPR_SERVER_URL`` to the target system's online repository URL. Use " +"the testing server for development. The target's ``/etc/pacman.d/reliefos-" +"rpr.conf`` configures this URL under ``[rpr]``. Both packages and the " +"database must have trusted signatures. On first boot, ``reliefos-pacman-" +"init.service`` initializes a dedicated pacman trust directory from the " +"installed Arch and ReliefOS public keys. Later keyring package upgrades " +"refresh the ReliefOS trust data." msgid "" -"根 Makefile 是受支持入口。fetch 是显式联网阶段,按锁文件校验摘要; " -"内核缓存独立。普通构建缺缓存应报错,不暗中下载。第三方保留自己的上游构建系统。 源码与公开头从各自所有者导出,不从历史 build 目录补齐。" +"组装时离线启用官方 ``systemd-networkd.service`` 和 ``systemd-resolved.service``。 " +"``/etc/resolv.conf`` 链接到 ``/run/systemd/resolve/stub-resolv.conf``,运行时由 " +"resolved 提供本地 DNS stub。官方 networkd 启用规则同时带入关联 socket、generator 和 wait-" +"online。" +msgstr "" +"Assembly enables the official ``systemd-networkd.service`` and ``systemd-" +"resolved.service`` offline. ``/etc/resolv.conf`` points to " +"``/run/systemd/resolve/stub-resolv.conf``, where resolved provides the " +"local DNS stub at runtime. The official networkd enablement rules also " +"enable its associated sockets, generator and wait-online service." + +msgid "" +"包内 ``/usr/lib/systemd/network/89-reliefos-wired.network`` 使用 ``Kind=!*`` " +"和 ``Type=ether`` 匹配普通物理有线接口,设置 ``DHCP=yes`` 和 ``IPv6AcceptRA=yes``, 由 " +"networkd 获取 DHCP 配置并接受 IPv6 路由通告。管理员可在 ``/etc/systemd/network/89" +"-reliefos-wired.network`` 提供同名覆盖配置。" +msgstr "" +"The packaged ``/usr/lib/systemd/network/89-reliefos-wired.network`` " +"matches ordinary physical wired interfaces with ``Kind=!*`` and " +"``Type=ether``. It sets ``DHCP=yes`` and ``IPv6AcceptRA=yes`` so networkd" +" obtains DHCP configuration and accepts IPv6 router advertisements. " +"Administrators can override it with ``/etc/systemd/network/89-reliefos-" +"wired.network``." + +msgid "仅验证 filesystem 包时,可使用已有 Arch 构建镜像运行轻量入口。" msgstr "" -"The root Makefile is the supported entry point. Fetching is an explicit " -"network stage that verifies digests against the lockfile; the kernel has " -"a separate cache. A normal build must fail if its cache is missing, " -"without silently downloading anything. Third-party projects retain their " -"upstream build systems. Sources and public headers are exported by their " -"respective owners, not recovered from old build directories." +"To validate only the filesystem package, use an existing Arch build image" +" with the lightweight entry point." msgid "" -"``make installer`` 使用 ``mksquashfs`` 生成 ``O/images/installer-" -"payload.squashfs``, 以 gzip 压缩并与可写的 ``installer-root.ext4`` 一起打入原路径的 " -"``O/images/reliefos-installer.iso``。此目标要求 ReliefNT 配置中保留默认的 " -"``CONFIG_SQUASHFS=y``。``CONFIG_INSTALLER_ROOT_SIZE_MIB`` 仅设置运行时 ext4 的容量 " -"下限,默认 32 MiB;构建仍根据运行时文件及预留空间自动增大该镜像。" +"该入口离线构建实际包,检查网络配置、依赖、同输出目录的旧包清理及失败回滚。 完整 ``--with-rootfs`` 验证还检查服务启用链接与 " +"resolver 链接。轻量入口仅使用已有镜像。 filesystem " +"新归档通过原子重命名发布后,清理该包的旧归档及签名。打包或重命名失败时保留旧产物。" +msgstr "" +"This entry point builds the actual package offline and checks network " +"configuration, dependencies, cleanup of old packages in the same output " +"directory and failure rollback. Full ``--with-rootfs`` validation also " +"checks service enablement links and the resolver link. The lightweight " +"entry point uses an existing image. After the new filesystem archive is " +"published by atomic rename, old archives and signatures for that package " +"are removed. Packaging or rename failures preserve the previous " +"artifacts." + +msgid "桌面和会话设置见 :doc:`../admin-guide/desktop`。" +msgstr "See :doc:`../admin-guide/desktop` for desktop and session settings." + +msgid "装配 Arch BIOS/UEFI 磁盘" +msgstr "Composing an Arch BIOS/UEFI disk" + +msgid "完成同一 ``O`` 的 ``build``、签名 testing RPR 和 ``rootfs`` 后运行::" msgstr "" -"``make installer`` uses ``mksquashfs`` to create the gzip-compressed " -"``O/images/installer-payload.squashfs`` and packs it alongside the " -"writable ``installer-root.ext4`` into ``O/images/reliefos-" -"installer.iso``. The ReliefNT configuration must keep the default " -"``CONFIG_SQUASHFS=y`` for this target. ``CONFIG_INSTALLER_ROOT_SIZE_MIB``" -" sets the minimum size of the runtime ext4 image (32 MiB by default). The" -" build expands it as needed to fit the runtime files and reserve free " -"space." +"After running ``build``, signing testing RPR and running ``rootfs`` with " +"the same ``O``, assemble a disk::" + +msgid "" +"该入口在离线 Arch 容器内将 rootfs 解包到私有目录,保留数字 UID/GID、权限、ACL、 " +"扩展属性和包文件时间。装配前核对唯一持久内核载荷的 release 与 SHA256 清单, 复用产品的 GRUB BIOS/UEFI " +"和磁盘布局入口,输出 ``O/images/reliefos.raw`` 与 ``O/images/reliefos.vmdk``。根分区为 " +"ext4,ESP 挂载到 ``/boot``,两者通过 PARTUUID 写入 fstab。根分区预留后续内核更新及下载空间。" +msgstr "" +"This entry point unpacks the rootfs into a private directory in an " +"offline Arch container, preserving numeric UID/GID, modes, ACLs, extended" +" attributes and package file timestamps. It checks the unique persistent " +"kernel payload release and SHA256 manifest, then reuses the product GRUB " +"BIOS/UEFI and disk-layout entry points to produce " +"``O/images/reliefos.raw`` and ``O/images/reliefos.vmdk``. The ext4 root " +"and ESP mounted at ``/boot`` are recorded in fstab by PARTUUID. The root " +"partition reserves space for subsequent kernel updates and downloads." + +msgid "" +"离线 Arch rootfs 和在线安装目标都检查本次 pacman " +"事务是否已生成动态链接器缓存、系统用户、日志目录和硬件数据库。仅当所需钩子、生成文件和本地 hwdb 检查全部通过时,才调用官方 " +"``systemd-update-done`` 写入更新标记。证据不足时保留正常首启处理,之后的更新仍可触发对应服务。" +msgstr "" +"Both the offline Arch rootfs and the online installer target check " +"whether the current pacman transaction generated the dynamic linker " +"cache, system users, journal catalog, and hardware database. Only after " +"the required hooks, artifacts, and local hwdb checks pass does the " +"official ``systemd-update-done`` write update stamps. Without sufficient " +"evidence, normal first-boot processing remains enabled, and later updates" +" can still trigger the affected services." + +msgid "" +"``fetch`` 下载并校验锁定的 GRUB 源码;``build`` 在隔离构建根中通过 根 Makefile 编译 BIOS/UEFI " +"GRUB,应用项目维护的原始磁盘嵌入及显式摘要校验补丁。" +msgstr "" +"``fetch`` retrieves and verifies pinned GRUB sources. ``build`` invokes " +"the root Makefile inside the isolated root to compile BIOS and UEFI GRUB " +"with the disk embedding and explicit checksum verification patches." + +msgid "" +"``ARCH_DESKTOP=xfce`` 或 ``ARCH_DESKTOP=console`` 选择同名 rootfs 归档,默认使用 " +"IceWM。 此步骤需要预先准备好的构建镜像与归档,源码树和归档只读挂载,临时解包树在结束后删除。" +msgstr "" +"``ARCH_DESKTOP=xfce`` or ``ARCH_DESKTOP=console`` selects the " +"corresponding rootfs archive. IceWM is the default. This step requires a " +"prepared build image and archive, mounts the sources and archive read-" +"only, and removes the temporary extraction tree when finished." + +msgid "" +"Arch 镜像和在线安装写入的 GRUB 默认项优先用内置存储驱动挂载指定 PARTUUID 的 ext4 根, 由 systemd 按 " +"fstab 挂载 ESP 和实例目录。GRUB 仍校验并加载备用 initramfs。 内核无法挂载指定根时继续使用 " +"dracut;高级菜单也可显式走 dracut 并显示完整启动状态。 默认启动在屏幕报告失败的服务,常规内核日志送到串口。" +msgstr "" +"The default GRUB entry created by the Arch image and online installer " +"first mounts the ext4 root identified by PARTUUID using built-in storage " +"drivers. systemd mounts the ESP and instance directories according to " +"fstab. GRUB still verifies and loads a fallback initramfs. If the kernel " +"cannot mount the specified root, boot continues through dracut. The " +"advanced menu can also select dracut explicitly and display the full boot" +" status. The default boot reports failed services on screen and sends " +"normal kernel logs to the serial console." + +msgid "完整启动检查使用每次独立的 qcow2 overlay,验证实际 ext4 根目录和引导确认::" +msgstr "" +"The full boot check uses an independent qcow2 overlay for each run and " +"verifies the actual ext4 root and boot confirmation::" + +msgid "" +"入口检查官方 systemd PID 1、ESP 挂载、核心服务、启动确认及包数据库,并保留串口日志 和结果。测试 VM 通过 " +"``systemd.run`` 执行附加只读 FAT 磁盘中的检查脚本。 退出时删除 overlay、FAT 和临时截屏;仅指定 " +"``--screenshot`` 时保留截图。" +msgstr "" +"The entry point checks official systemd PID 1, the ESP mount, core " +"services, boot confirmation and the package database, retaining serial " +"logs and results. The test VM runs the check script on an attached read-" +"only FAT disk using ``systemd.run``. On exit it removes the overlay, FAT " +"disk and temporary captures. A screenshot is kept only with " +"``--screenshot``." + +msgid "两代内核升级检查复用已装配的磁盘和构建缓存,运行以下入口::" +msgstr "" +"The two-generation kernel upgrade check reuses the assembled disk and " +"build cache. Run the following entry point::" + +msgid "" +"该入口用一次性密钥签名两代 testing RPR,将第二代 VirtIO 块驱动配置为模块, 通过真实 HTTP 仓库执行来宾 ``pacman" +" -Syu`` 和引导钩子。BIOS 与 UEFI 分别检查 新版启动确认、模块卸载与加载及块设备读取、手动选择上一版、未确认启动后的自动回退。 " +"成功与失败启动分支从同一次已同步的升级事务创建独立 overlay。" +msgstr "" +"This entry point signs two generations of the testing RPR with a " +"disposable key, configures the second-generation VirtIO block driver as a" +" module, and runs guest ``pacman -Syu`` and boot hooks through a real " +"HTTP repository. BIOS and UEFI each check new-kernel boot confirmation, " +"module unloading and loading with block-device reads, manual selection of" +" the previous kernel, and automatic fallback after an unconfirmed boot. " +"Successful and failed boot branches use separate overlays derived from " +"the same synced upgrade transaction." + +msgid "" +"串口日志和逐阶段结果保存在 ``O/ci/arch-kernel-upgrade/``。退出时删除 测试 " +"overlay、临时构建输出和签名密钥,默认不保留截图。 第一代配置需要 " +"``CONFIG_VIRTIO_BLK=y``,宿主需要完整启动检查使用的 QEMU、OVMF、 mtools、dosfstools、Pillow" +" 与 Tesseract。" +msgstr "" +"Serial logs and per-phase results are stored in ``O/ci/arch-kernel-" +"upgrade/``. On exit, the check removes test overlays, temporary build " +"output, and signing keys. No screenshot is kept by default. The first-" +"generation configuration requires ``CONFIG_VIRTIO_BLK=y``. The host needs" +" QEMU, OVMF, mtools, dosfstools, Pillow, and Tesseract, as used by the " +"full boot check." + +msgid "制作在线安装 ISO" +msgstr "Building the online installer ISO" + +msgid "用已签名的 testing 快照和可访问的 RPR 地址在同一个构建目录制作安装介质::" +msgstr "" +"Build the installation medium in the same build directory using a signed " +"testing snapshot and a reachable RPR URL::" + +msgid "" +"输出为 ``O/images/reliefos-installer.iso``。GRUB 支持 BIOS 和 UEFI,并提供图形和文本安装入口。" +" 安装介质使用官方 systemd 和预置的 RPR 公钥,目标系统通过网络从 Arch 和 RPR 下载软件包。 格式化前同步软件包索引并核对 " +"RPR 签名。安装使用一次 pacman 事务下载、验签和写入, 内存充足时用有上限的 tmpfs " +"暂存软件包。内存不足或暂存下载失败时使用目标磁盘的 pacman 缓存。事务开始写入后由安装器报告错误。 可选择安装后的桌面、Arch " +"镜像、时区、语言和 swap,完成后使用 ``pacman -Syu`` 更新。" +msgstr "" +"The output is ``O/images/reliefos-installer.iso``. GRUB supports BIOS and" +" UEFI and offers graphical and text installer entries. The installation " +"medium uses official systemd and a preinstalled RPR public key. The " +"target system downloads packages from Arch and RPR. Before formatting, " +"the installer synchronizes package indexes and verifies the RPR " +"signature. One pacman transaction downloads, verifies and installs the " +"packages. When sufficient memory is available, a size-limited tmpfs " +"stages the packages. If memory is insufficient or staged downloads fail, " +"the installer uses the pacman cache on the target disk. The installer " +"reports errors after the transaction begins writing. Select the installed" +" desktop, Arch mirror, time zone, language and swap, then use ``pacman " +"-Syu`` for updates." + +msgid "" +"安装器使用目标根的已安装软件包数据库核验内核包,并生成启动载荷。 引导工具支持本地查询时,启动载荷生成与目标根的独立 pacman 密钥环初始化并行。 卸载目标 API " +"文件系统前,安装器会等待密钥环初始化完成并关闭其 GnuPG 守护进程。 glibc 版本与 locale 配置匹配时复用介质的三语 locale 数据。内核 ABI " +"和早期用户态版本匹配时 复用已经校验的通用 dracut 归档,并仍在目标根生成模块索引、校验软件包和发布启动载荷。 版本发生变化时在目标系统重新生成对应产物。" +msgstr "" +"The installer verifies the kernel package against the target’s installed package database " +"and builds the boot payload. When the boot tools support local queries, payload generation " +"runs alongside initialization of the target’s independent pacman keyring. Before unmounting " +"the target API filesystems, the installer waits for keyring initialization and stops its " +"GnuPG daemons. When the glibc version and locale configuration match, it reuses the " +"medium’s locale data for the three languages. When the kernel ABI and early userspace " +"versions match, it reuses the verified generic dracut archive while still generating module " +"indexes, verifying packages and publishing the boot payload in the target root. When " +"versions change, the corresponding artifacts are regenerated in the target system." msgid "配置内核" msgstr "Configuring the kernel" @@ -122,16 +775,14 @@ msgid "增量与排错" msgstr "Incremental builds and troubleshooting" msgid "" -"用 ``V=1`` 查看命令,``make --trace`` 查看依赖,``make -n`` 预览。 首次预览产品前先执行 defconfig" -"、config-sync。同一 O 互斥,不伪造内部锁 token; 不同 O 可并行。原版 Kbuild 的 .cmd 与 fixdep " -"跟踪命令、源码和头文件依赖。" +"用 ``V=1`` 查看命令,``make --trace`` 查看依赖,``make -n`` 预览。 " +"产品锁覆盖隔离容器的整个调用。不同输出目录可并行。 原版 Kbuild 的 .cmd 与 fixdep 跟踪命令、源码和头文件依赖。" msgstr "" -"Use ``V=1`` to show commands, ``make --trace`` to inspect dependencies, " -"and ``make -n`` for a preview. Run defconfig and config-sync before the " -"first product preview. Builds using the same O are mutually exclusive; do" -" not forge internal lock tokens. Different O directories may build in " -"parallel. Upstream Kbuild's .cmd files and fixdep track commands, source " -"files, and header dependencies." +"Use ``V=1`` to print commands, ``make --trace`` to inspect dependencies " +"and ``make -n`` for a preview. The product lock spans the entire " +"container invocation. Different output directories can build " +"concurrently. Upstream Kbuild tracks commands, sources and headers " +"through .cmd and fixdep." msgid "clean 保留配置;distclean 同时清配置。它们只清有所有权标记的输出树, 不删除共享下载缓存或用户旧镜像。" msgstr "" @@ -139,27 +790,17 @@ msgstr "" "only output trees with ownership markers and do not delete shared " "download caches or users' old images." -#~ msgid "" -#~ "``make test-build`` 中的播放器宿主检查另需 ``ffmpeg" -#~ "``、``libavformat-dev``、 ``libavcodec-dev" -#~ "``、``libavutil-dev``、``libswresample-dev`` 和 " -#~ "``libswscale-dev``。 这些是宿主检查依赖;生产播放器使用锁定源码构建的 musl " -#~ "库。 可通过 ``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release " -#~ "sh tests/build/test-reliefplayer-mp4.sh`` 在" -#~ " Linux 宿主上同时运行实际精简库和 musl 版本的解码/控制检查;这不等于来宾播放验证。" -#~ msgstr "" -#~ "The host-side player checks in " -#~ "``make test-build`` also require " -#~ "``ffmpeg``, ``libavformat-dev``, ``libavcodec-" -#~ "dev``, ``libavutil-dev``, ``libswresample-" -#~ "dev``, and ``libswscale-dev``. These are" -#~ " host-check dependencies; the production" -#~ " player uses musl libraries built " -#~ "from pinned sources. Run " -#~ "``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh " -#~ "tests/build/test-reliefplayer-mp4.sh`` on a" -#~ " Linux host to check decoding and " -#~ "controls with both the actual reduced" -#~ " libraries and their musl builds; " -#~ "this does not constitute guest playback" -#~ " validation." +msgid "" +"已有完整构建输出时,可运行 ``make O=/path/to/output arch-kernel``,仅增量编译 " +"内核、打包工具及版本化内核和更新包。此入口沿用隔离构建根,并在离线环境中运行。 发布新一代内核时使用递增的 " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE``,随后运行 ``make O=/path/to/output rpr-" +"testing`` 签名。其他软件包沿用现有构建输出中的版本和内容。 CI 的签名内核升级检查使用同一入口生成候选内核。" +msgstr "" +"With a complete build output, run ``make O=/path/to/output arch-kernel`` " +"to incrementally build the kernel, packaging tools, versioned kernel " +"package and update package. This entry point reuses the isolated build " +"root and runs offline. Use an increasing " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` for a new kernel generation, then " +"sign with ``make O=/path/to/output rpr-testing``. The existing output " +"supplies the versions and contents of other packages. CI uses the same " +"entry point to build its candidate for the signed kernel upgrade check." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/configuration.po b/Documentation/locale/en/LC_MESSAGES/kbuild/configuration.po index ed15c443..deac612e 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/configuration.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/configuration.po @@ -1,147 +1,79 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "配置与版本" msgstr "Configuration and versions" -msgid "输出树" -msgstr "Output tree" - -msgid "默认 ``O=out/x86_64/release``;支持 ``ARCH=x86_64`` 和 ``PROFILE=release|debug``。例如::" -msgstr "" -"The default is ``O=out/x86_64/release``; ``ARCH=x86_64`` and ``PROFILE=release|debug`` are " -"supported. For example::" +msgid "输出与配置" +msgstr "Outputs and configuration" msgid "" -"当前配置是 ``O/.config``。olddefconfig 保留设置并补新项;defconfig 重置。 空输出目录首次运行 olddefconfig 或 menuconfig " -"时,也先载入相同的项目种子。 ``configs/default.conf`` 是默认配置种子;完整结果由原版 Kconfig 生成。 不能把镜像策略混入内核私有配置。ReliefNT " -"的配置只在其独立仓库维护, 不会 source 主仓的应用、镜像、授权或 QEMU 配置。" -msgstr "" -"The active configuration is ``O/.config``. olddefconfig preserves settings and adds new options; " -"defconfig resets them. The first olddefconfig or menuconfig run in an empty output directory also " -"loads the same project seed first. ``configs/default.conf`` is the default configuration seed; " -"upstream Kconfig generates the complete result. Image policy must not be mixed into private kernel" -" configuration. ReliefNT configuration is maintained only in its separate repository and does not " -"source application, image, authorization, or QEMU configuration from this repository." - -msgid "菜单与实际作用" -msgstr "Menus and their effects" - -msgid "" -"主菜单按系统镜像、授权策略、软件仓库、可选用户态组件和 QEMU 运行参数分组。 镜像尺寸是构建工具的最低容量请求,工具仍会按文件大小和分区开销扩大输出。 QEMU 的 " -"CPU、内存、显示和网络参数只控制来宾启动命令,不编译内核功能。" -msgstr "" -"The main menu groups system images, authorization policy, software repositories, optional " -"userspace components, and QEMU runtime parameters. Image size is a minimum capacity request to the" -" build tools; the tools may still enlarge output to accommodate files and partition overhead. QEMU" -" CPU, memory, display, and network parameters control only the guest launch command and do not " -"compile kernel features." - -msgid "" -"编译策略使用 ``PROFILE=release`` 或 ``PROFILE=debug``,显示命令用 ``V=1``。 旧 BUILD " -"预设、优化/LTO/符号/剥离开关已经不被生产链消费,现已移除; 测试按明确的 Make 目标运行,校验和与归属文件由相应产品规则保证, 不提供能跳过这些规则的虚设开关。" -msgstr "" -"Select build policy with ``PROFILE=release`` or ``PROFILE=debug``; use ``V=1`` to display " -"commands. The old BUILD presets and optimization/LTO/symbol/stripping switches were no longer " -"consumed by the production pipeline and have been removed. Tests run through explicit Make " -"targets. Checksums and ownership files are enforced by the relevant product rules; there are no " -"dummy switches to bypass those rules." - -msgid "Legacy framebuffer 外观仅控制保留程序读取的 display.conf; XDM 使用自己的 Xresources,IceWM 使用自己的主题,均不由该选项改变。" +"产品默认使用 ``O=out/arch-root/x86_64/release``,原生 Kbuild 测试 默认使用 " +"``O=out/x86_64/release``。可通过 ``PROFILE=debug`` 选择调试构建。每个输出目录拥有独立配置和构建锁。" msgstr "" -"The legacy framebuffer appearance option controls only display.conf as read by retained programs. " -"XDM uses its own Xresources and IceWM its own themes; this option changes neither." - -msgid "组件选择" -msgstr "Component selection" - -msgid "" -"``configs/components.toml`` 是组件身份、依赖和默认策略的唯一清单。 维护后运行 ``make regen-component-kconfig``,检查生成的 " -"Kconfig.components。 每个可选组件有独立子菜单;required 组件固定启用,不生成可关闭的选项。" -msgstr "" -"``configs/components.toml`` is the sole manifest for component identity, dependencies, and default" -" policy. After editing it, run ``make regen-component-kconfig`` and inspect the generated " -"Kconfig.components. Each optional component has its own submenu; required components are always " -"enabled and have no disable option." - -msgid "BUILD:启用组件。依赖可自动启用它;第三方库也可能因其他产物需要而被构建。" -msgstr "" -"BUILD: enables the component. Dependencies can enable it automatically; third-party libraries may " -"also be built because other artifacts need them." - -msgid "IMAGE:把启用的组件纳入系统载荷。静态库可用 image_supported=false 明确声明 没有独立运行时载荷,这类组件不生成 IMAGE 开关。" -msgstr "" -"IMAGE: includes an enabled component in the system payload. A static library can explicitly " -"declare image_supported=false to indicate that it has no standalone runtime payload; such " -"components have no IMAGE switch." - -msgid "ENTRY:控制旧应用注册表的入口,依赖 IMAGE。它不会改写 X11 程序提供的 desktop 文件;原生 X11 菜单和 MIME 行为仍由这些文件定义。库没有应用入口开关。" -msgstr "" -"ENTRY: controls the entry in the legacy application registry and depends on IMAGE. It does not " -"rewrite desktop files provided by X11 programs; those files still define native X11 menus and MIME" -" behavior. Libraries have no application-entry switch." - -msgid "" -"当前 musl SDK 是产品规则定义的固定 sysroot;组件 SDK 开关没有控制它,已移除。 API 包也没有对应的可选生产目标,不生成 API 开关。组件元数据保留原格式的 " -"SDK/API 字段供兼容读取,不能由这些字段推断 SDK 实际文件;以安装清单为准。" -msgstr "" -"The current musl SDK is a fixed sysroot defined by product rules; component SDK switches did not " -"control it and have been removed. API packages likewise have no optional production target, so no " -"API switch is generated. Component metadata retains the original SDK/API fields for compatible " -"readers; these fields do not establish the SDK's actual contents. Consult the installation " -"manifest." - -msgid "旧配置与检查" -msgstr "Old configurations and checks" +"Product builds default to ``O=out/arch-root/x86_64/release``. Native " +"Kbuild tests default to ``O=out/x86_64/release``. Choose " +"``PROFILE=debug`` to build with the debug profile. Each output has its " +"own configuration and lock." msgid "" -"现有 O/.config 先备份,再执行 olddefconfig 与 config-sync,原版 Kconfig 会去掉 已删除及不属于本仓的符号。更早的 LEON_COMPONENT " -"名称先用 migrate-config 显式迁移, 该步骤保留备份并拒绝冲突;不要直接用默认配置覆盖用户选择。 未被构建链使用的重复默认模板已删除。" +"``ARCH_DESKTOP=icewm|xfce|console`` 选择装配配置。IceWM 是默认桌面, Xfce " +"为实验选项,控制台模式进入 ``multi-user.target``。 自有应用与配置来自 Arch 包,包清单在 ``tools/build" +"/arch-applications.list`` 和 ``tools/build/arch-guest-" +"packages.sh``。安装时可以另选桌面。" msgstr "" -"Back up an existing O/.config before running olddefconfig and config-sync. Upstream Kconfig " -"removes deleted symbols and symbols outside this repository. Explicitly migrate older " -"LEON_COMPONENT names with migrate-config first; it keeps a backup and rejects conflicts. Do not " -"overwrite user selections directly with defaults. Unused duplicate default templates have been " -"removed." +"``ARCH_DESKTOP=icewm|xfce|console`` selects an assembly profile. IceWM is" +" the default, Xfce is experimental, and console starts ``multi-" +"user.target``. Applications and settings come from Arch packages listed " +"in ``tools/build/arch-applications.list`` and ``tools/build/arch-guest-" +"packages.sh``. The installer offers its own desktop selection." msgid "" -"``tests/build/test-kconfig-contract.sh`` 检查原生依赖、独立镜像/入口选择、 无效控制项和配置稳定性;config-groups 与 config-" -"first-build 检查并发、增量、 缺失产物修复及首次构建。它们使用真实原版 conf,不以文本替换代替 Kconfig 求值。" +"内核菜单和默认配置由 ReliefNT 维护。进入 ``make kernel-menuconfig`` 选择需要的设备与可加载模块,使用 " +"``make kernel-olddefconfig`` 将已有配置 同步到新源码。重新设置默认值用 ``make defconfig``。 " +"内核构建树默认位于选定输出目录的 ``reliefnt/``,可通过 ``RELIEFNT_O`` 指定。" msgstr "" -"``tests/build/test-kconfig-contract.sh`` checks native dependencies, independent image/entry " -"selection, ineffective controls, and configuration stability. config-groups and config-first-build" -" check concurrency, incremental builds, missing-artifact repair, and first builds. They use the " -"real upstream conf, not text substitution in place of Kconfig evaluation." +"ReliefNT owns the kernel menu and defaults. Use ``make kernel-" +"menuconfig`` to choose devices and loadable modules and ``make kernel-" +"olddefconfig`` to synchronize existing settings with new sources. Use " +"``make defconfig`` to restore defaults. The kernel build tree defaults to" +" ``reliefnt/`` under the selected output. Override it with " +"``RELIEFNT_O``." msgid "版本身份" msgstr "Version identity" msgid "" -"主仓与内核分别读取自己的 ``configs/build-version``。主仓 ``system/rootfs/etc/os-release`` 的 VERSION_ID 必须与发布版本一致。" -" 生成头只写 O;源码身份与数字发布版本分开。内核后缀例如::" +"主仓和内核各自使用 ``configs/build-version``。ReliefOS 版本与 安装后 ``/etc/os-release`` " +"的 ``VERSION_ID`` 一致。内核包含发布版本、 后缀和构建输入标识,可用 ``uname -r`` 查看。" msgstr "" -"This repository and the kernel each read their own ``configs/build-version``. VERSION_ID in this " -"repository's ``system/rootfs/etc/os-release`` must match the release version. Generated headers " -"are written only to O; source identity is separate from the numeric release version. Example " -"kernel suffix::" +"The main repository and the kernel each use ``configs/build-version``. " +"The ReliefOS version matches ``VERSION_ID`` in the installed ``/etc/os-" +"release``. ``uname -r`` shows the kernel release, suffix and build " +"identity." msgid "" -"完整内核版本最多 31 字节,后缀仅接受已允许字符。包元数据仍使用数字基础版本。 SOURCE_DATE_EPOCH 默认为提交时间;不得递增源码计数器或用当前时钟破坏可重现性。 旧输出的 " -"``config/.config`` 可复制为新输出的 ``.config``,再 olddefconfig。" +"改变内核后缀可传入 ``EXTRAVERSION`` 与 ``LOCALVERSION``。 ``SOURCE_DATE_EPOCH`` " +"默认取当前提交时间,固定输入与时间产生一致的构建身份。 更新包序号默认为主仓提交的第一父提交链长度;浅克隆发布时通过 " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` 提供递增序号。软件包和引导归属 规则见 :doc:`building`。" msgstr "" -"The complete kernel version is limited to 31 bytes; suffixes accept only allowed characters. " -"Package metadata continues to use the numeric base version. SOURCE_DATE_EPOCH defaults to the " -"commit timestamp; do not increment source counters or use the current clock to break " -"reproducibility. An old output's ``config/.config`` can be copied to ``.config`` in the new " -"output, followed by olddefconfig." +"Set ``EXTRAVERSION`` and ``LOCALVERSION`` to change kernel suffixes. " +"``SOURCE_DATE_EPOCH`` defaults to the current commit time. Identical " +"inputs and timestamps give an identical build identity. The update " +"sequence defaults to the main repository's first-parent commit count. For" +" publication from a shallow checkout, supply an increasing " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE``. See :doc:`building` for package and" +" boot ownership rules." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/memory-testing.po b/Documentation/locale/en/LC_MESSAGES/kbuild/memory-testing.po index c3a59ffb..61865c43 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/memory-testing.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/memory-testing.po @@ -1,103 +1,119 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "内存、swap 与 OOM 的目标验证" msgstr "Target validation of memory, swap, and OOM" msgid "" -"这些入口用于独占、可丢弃的 ReliefOS 来宾,不是生产启动路径。内核探针源码位于 ``kernel/reliefnt/tools/tests/``;使用正式 SDK 的 " -"``bin/reliefos-musl-cc`` 构建, 不要在宿主上执行来宾压力探针。将构建、宿主测试和内存测量分时进行,并记录 " +"这些入口用于独占、可丢弃的 ReliefOS 来宾,不是生产启动路径。内核探针源码位于 " +"``kernel/reliefnt/tools/tests/``;使用隔离 Arch 构建根的 glibc 工具链构建, " +"不要在宿主上执行来宾压力探针。将构建、宿主测试和内存测量分时进行,并记录 " "配置、磁盘、内核、模块、initramfs、工作负载和实际平台。单次成功只覆盖实际运行的 配置和用例。" msgstr "" -"These entry points are for exclusive, disposable ReliefOS guests, not production boot paths. " -"Kernel probe sources are in ``kernel/reliefnt/tools/tests/``; build them with the official SDK's " -"``bin/reliefos-musl-cc`` and do not run guest stress probes on the host. Schedule builds, host " -"tests, and memory measurements separately, and record the configuration, disk, kernel, modules, " -"initramfs, workload, and actual platform. A single successful run covers only the configuration " -"and cases actually exercised." +"Use these entries for an exclusive, disposable ReliefOS guest. Compile " +"the kernel probes in ``kernel/reliefnt/tools/tests/`` with the isolated " +"Arch glibc toolchain. Run stress probes inside the guest. Schedule " +"builds, host tests and memory measurements separately. Record the " +"configuration, disk, kernel, modules, initramfs, workload and platform. " +"Each success covers the observed configuration and cases." msgid "来宾探针" msgstr "Guest probes" msgid "" -"``memory_lifecycle_guest_probe.c`` 要求 ``uname -s`` 为 ``ReliefNT``。示例在 来宾中运行,文件参数必须是 root ext " -"文件系统中不存在的专用路径:" +"``memory_lifecycle_guest_probe.c`` 要求 ``uname -s`` 为 ``ReliefNT``。示例在 " +"来宾中运行,文件参数必须是 root ext 文件系统中不存在的专用路径:" msgstr "" -"``memory_lifecycle_guest_probe.c`` requires ``uname -s`` to be ``ReliefNT``. Run the example in " -"the guest; the file argument must be a dedicated, nonexistent path on the root ext filesystem:" +"``memory_lifecycle_guest_probe.c`` requires ``uname -s`` to be " +"``ReliefNT``. Run the example in the guest; the file argument must be a " +"dedicated, nonexistent path on the root ext filesystem:" msgid "" "探针在任何锁策略测试之前,用独立 peer 栈执行原始隐式栈的 ``CLONE_VM`` 丢弃与 重访;随后检查私有 fork/COW、共享匿名 " -"fork、普通锁失败后的既有锁、``PROT_NONE`` 固定移动和权限恢复。共享文件首次写测试仅在可将两个 peer 固定到两个实际 CPU 时 运行,否则记录 " -"``LIFECYCLE_SKIP``。两个 peer 的就绪与指定 CPU 不证明首次 fault 精确重叠,也不证明远端 TLB 故障或硬件特性。探针用锁页拒绝丢弃和未锁页可丢弃 " -"进行有限检查,不校验 ``VmLck`` 数值。" +"fork、普通锁失败后的既有锁、``PROT_NONE`` 固定移动和权限恢复。共享文件首次写测试仅在可将两个 peer 固定到两个实际 CPU " +"时 运行,否则记录 ``LIFECYCLE_SKIP``。两个 peer 的就绪与指定 CPU 不证明首次 fault 精确重叠,也不证明远端 " +"TLB 故障或硬件特性。探针用锁页拒绝丢弃和未锁页可丢弃 进行有限检查,不校验 ``VmLck`` 数值。" msgstr "" -"Before any locking-policy tests, the probe uses a separate peer stack to discard and revisit the " -"original implicit ``CLONE_VM`` stack. It then checks private fork/COW, shared anonymous fork, " -"existing locks after an ordinary lock failure, fixed moves of ``PROT_NONE`` mappings, and " -"permission restoration. The shared-file first-write test runs only when two peers can be pinned to" -" two actual CPUs; otherwise it records ``LIFECYCLE_SKIP``. Peer readiness and assigned CPUs do not" -" prove precisely overlapping first faults, remote TLB failures, or hardware properties. Limited " -"checks use locked pages refusing discard and unlocked pages allowing discard; they do not validate" -" ``VmLck`` values." - -msgid "``poll`` 和 ``pselect`` 用已同步的延迟写入检查空管道不就绪、用户可见的等待与 唤醒、返回的字节和描述符复用;等待时间不证明内核内部的瞬态任务状态。" +"Before any locking-policy tests, the probe uses a separate peer stack to " +"discard and revisit the original implicit ``CLONE_VM`` stack. It then " +"checks private fork/COW, shared anonymous fork, existing locks after an " +"ordinary lock failure, fixed moves of ``PROT_NONE`` mappings, and " +"permission restoration. The shared-file first-write test runs only when " +"two peers can be pinned to two actual CPUs; otherwise it records " +"``LIFECYCLE_SKIP``. Peer readiness and assigned CPUs do not prove " +"precisely overlapping first faults, remote TLB failures, or hardware " +"properties. Limited checks use locked pages refusing discard and unlocked" +" pages allowing discard; they do not validate ``VmLck`` values." + +msgid "" +"``poll`` 和 ``pselect`` 用已同步的延迟写入检查空管道不就绪、用户可见的等待与 " +"唤醒、返回的字节和描述符复用;等待时间不证明内核内部的瞬态任务状态。" msgstr "" -"``poll`` and ``pselect`` use synchronized delayed writes to check that empty pipes are not ready, " -"user-visible waiting and wakeup, returned bytes, and descriptor reuse. Wait duration does not " -"prove transient internal kernel task states." +"``poll`` and ``pselect`` use synchronized delayed writes to check that " +"empty pipes are not ready, user-visible waiting and wakeup, returned " +"bytes, and descriptor reuse. Wait duration does not prove transient " +"internal kernel task states." msgid "" -"可选字节数须为 4096 的倍数、不超过 2 GiB;应根据来宾 ``MemTotal``、已有可用 swap 和宿主内存预算选取。探针写入整个私有映射后,结合标准 ``mincore``、系统级" -" ``pswpout`` 快照及活动 swap,只有在对应操作前观测到非驻留页才检查 fork/COW 与 受保护页的移动、恢复和字节指纹。没有足够非驻留页或相关观察不可用时输出 SKIP, " -"不能当成换页通过;计数器是系统快照而非某个进程的归属证明。" +"可选字节数须为 4096 的倍数、不超过 2 GiB;应根据来宾 ``MemTotal``、已有可用 swap " +"和宿主内存预算选取。探针写入整个私有映射后,结合标准 ``mincore``、系统级 ``pswpout`` 快照及活动 " +"swap,只有在对应操作前观测到非驻留页才检查 fork/COW 与 受保护页的移动、恢复和字节指纹。没有足够非驻留页或相关观察不可用时输出 " +"SKIP, 不能当成换页通过;计数器是系统快照而非某个进程的归属证明。" msgstr "" -"The optional byte count must be a multiple of 4096 and at most 2 GiB; choose it based on guest " -"``MemTotal``, existing usable swap, and the host memory budget. After writing the entire private " -"mapping, the probe combines standard ``mincore``, system-wide ``pswpout`` snapshots, and active " -"swap. It checks fork/COW and protected-page moves, restoration, and byte fingerprints only when " -"nonresident pages were observed before the relevant operation. Insufficient nonresident pages or " -"unavailable observations produce SKIP, not a swap pass. Counters are system snapshots, not proof " -"of attribution to a particular process." +"The optional byte count must be a multiple of 4096 and at most 2 GiB; " +"choose it based on guest ``MemTotal``, existing usable swap, and the host" +" memory budget. After writing the entire private mapping, the probe " +"combines standard ``mincore``, system-wide ``pswpout`` snapshots, and " +"active swap. It checks fork/COW and protected-page moves, restoration, " +"and byte fingerprints only when nonresident pages were observed before " +"the relevant operation. Insufficient nonresident pages or unavailable " +"observations produce SKIP, not a swap pass. Counters are system " +"snapshots, not proof of attribution to a particular process." msgid "" "现有 ``memory_pressure_guest_probe.c`` 可用 ``--expect-nonresident`` 检查更大 " -"工作集的实际非驻留与完整读回;``memory_oom_guest_probe.c`` 的 ``--guest-oom MAX_BYTES TIMEOUT_SECONDS`` " -"对所拥有子进程制造破坏性压力,验证 OOM 信号、计数和后续分配。应按目标环境设置上限并在私有 VM 内显式运行。探针的 编译成功不等于它们已在来宾运行。" +"工作集的实际非驻留与完整读回;``memory_oom_guest_probe.c`` 的 ``--guest-oom MAX_BYTES " +"TIMEOUT_SECONDS`` 对所拥有子进程制造破坏性压力,验证 OOM 信号、计数和后续分配。应按目标环境设置上限并在私有 VM " +"内显式运行。探针的 编译成功不等于它们已在来宾运行。" msgstr "" -"The existing ``memory_pressure_guest_probe.c`` can use ``--expect-nonresident`` to check actual " -"nonresidency and complete readback of a larger working set. ``memory_oom_guest_probe.c`` uses " -"``--guest-oom MAX_BYTES TIMEOUT_SECONDS`` to apply destructive pressure to its own child process " -"and validate OOM signals, counters, and subsequent allocation. Set limits for the target " -"environment and run explicitly in a private VM. Successful compilation does not mean these probes " -"have run in a guest." +"The existing ``memory_pressure_guest_probe.c`` can use ``--expect-" +"nonresident`` to check actual nonresidency and complete readback of a " +"larger working set. ``memory_oom_guest_probe.c`` uses ``--guest-oom " +"MAX_BYTES TIMEOUT_SECONDS`` to apply destructive pressure to its own " +"child process and validate OOM signals, counters, and subsequent " +"allocation. Set limits for the target environment and run explicitly in a" +" private VM. Successful compilation does not mean these probes have run " +"in a guest." msgid "QEMU 编排" msgstr "QEMU orchestration" msgid "" -"``tools/test_memory_qemu.py`` 消费已有标准磁盘、内核 payload/ESP cohort、所选 ``kernel.sys`` 以及由 SDK 编译好的 " -"lifecycle、pressure 和 OOM 可执行文件。 它在新输出目录内制作私有磁盘并逐项读回载荷;不改写源盘,不编译、不下载、不修改 用户磁盘。每次准备生成随机 nonce。来宾 " -"workload 由调用方提供,它应使用 ``MEMORY_QA_NONCE`` 生成自己的文件名,检查每个命令的返回值并在完成或错误时处理 自己的资源。预置可执行文件的路径为:" +"``tools/test_memory_qemu.py`` 消费已有标准磁盘、内核 payload/ESP cohort、所选 " +"``kernel.sys`` 以及由 glibc 工具链编译好的 lifecycle、pressure 和 OOM 可执行文件。 " +"它在新输出目录内制作私有磁盘并逐项读回载荷;不改写源盘,不编译、不下载、不修改 用户磁盘。每次准备生成随机 nonce。来宾 workload " +"由调用方提供,它应使用 ``MEMORY_QA_NONCE`` 生成自己的文件名,检查每个命令的返回值并在完成或错误时处理 " +"自己的资源。预置可执行文件的路径为:" msgstr "" -"``tools/test_memory_qemu.py`` consumes an existing standard disk, a kernel payload/ESP cohort, the" -" selected ``kernel.sys``, and SDK-built lifecycle, pressure, and OOM executables. It creates a " -"private disk in a new output directory and reads back each payload item. It does not rewrite the " -"source disk, build, download, or modify user disks. Each preparation generates a random nonce. The" -" caller supplies the guest workload, which should use ``MEMORY_QA_NONCE`` for its filenames, check" -" every command's return value, and handle its own resources on completion or error. Preinstalled " -"executables are located at:" +"``tools/test_memory_qemu.py`` accepts a standard disk, a matching kernel " +"and ESP payload, and lifecycle, pressure and OOM executables built with " +"glibc. It creates a private disk in a new output directory and reads back" +" each payload member. Each run gets a random nonce. The supplied guest " +"workload should use ``MEMORY_QA_NONCE`` for its filenames, check exit " +"statuses, and clean up its own resources. The probe paths are as follows:" msgid "``/usr/lib/reliefos/tests/memory/lifecycle``" msgstr "``/usr/lib/reliefos/tests/memory/lifecycle``" @@ -109,35 +125,46 @@ msgid "``/usr/lib/reliefos/tests/memory/oom``" msgstr "``/usr/lib/reliefos/tests/memory/oom``" msgid "例如,准备并启动一个 BIOS、256 MiB、双 CPU 的 AHCI 来宾:" -msgstr "For example, prepare and start a BIOS AHCI guest with 256 MiB and two CPUs:" +msgstr "" +"For example, prepare and start a BIOS AHCI guest with 256 MiB and two " +"CPUs:" msgid "" -"输入磁盘必须有唯一的 ``RELIEFOS_ROOT`` 和 ``RELIEFOS_ESP`` GPT 分区,且尚未 包含待注入的同版本内核树。``--prepare-only`` " -"只生成私有镜像和 ``prepared.json``; 此模式无需 QMP 目录。运行模式仅启动一个工作磁盘,拒绝已存在的 QEMU/VMware 进程,在调用者指定的非 tmpfs 目录创建短 " -"QMP socket,对自己的 VM 设置超时和 RSS 上限,并记录清理状态。请为高 RAM 测试另行选取宿主能够承受的 RSS 限额; 配置的来宾 RAM " -"容量不等于允许它全部触碰宿主内存。工作镜像和日志保留在新输出 目录,目录中的固定锁文件留在 QMP 目录中供后续运行串行化。" +"输入磁盘必须有唯一的 ``RELIEFOS_ROOT`` 和 ``RELIEFOS_ESP`` GPT 分区,且尚未 包含待注入的同版本内核树" +"。``--prepare-only`` 只生成私有镜像和 ``prepared.json``; 此模式无需 QMP " +"目录。运行模式仅启动一个工作磁盘,拒绝已存在的 QEMU/VMware 进程,在调用者指定的非 tmpfs 目录创建短 QMP " +"socket,对自己的 VM 设置超时和 RSS 上限,并记录清理状态。请为高 RAM 测试另行选取宿主能够承受的 RSS 限额; 配置的来宾 " +"RAM 容量不等于允许它全部触碰宿主内存。工作镜像和日志保留在新输出 目录,目录中的固定锁文件留在 QMP 目录中供后续运行串行化。" msgstr "" -"The input disk must have unique ``RELIEFOS_ROOT`` and ``RELIEFOS_ESP`` GPT partitions and must not" -" already contain the kernel tree for the release to be injected. ``--prepare-only`` generates only" -" the private image and ``prepared.json``; this mode needs no QMP directory. Run mode starts only " -"one working disk, rejects existing QEMU/VMware processes, creates a short QMP socket in a caller-" -"specified non-tmpfs directory, sets a timeout and RSS limit on its own VM, and records cleanup " -"status. Choose a separate host-tolerable RSS limit for high-RAM tests; configured guest RAM does " -"not authorize touching that full amount of host memory. Working images and logs remain in the new " -"output directory; the fixed lock file in the QMP directory remains there to serialize subsequent " +"The input disk must have unique ``RELIEFOS_ROOT`` and ``RELIEFOS_ESP`` " +"GPT partitions and must not already contain the kernel tree for the " +"release to be injected. ``--prepare-only`` generates only the private " +"image and ``prepared.json``; this mode needs no QMP directory. Run mode " +"starts only one working disk, rejects existing QEMU/VMware processes, " +"creates a short QMP socket in a caller-specified non-tmpfs directory, " +"sets a timeout and RSS limit on its own VM, and records cleanup status. " +"Choose a separate host-tolerable RSS limit for high-RAM tests; configured" +" guest RAM does not authorize touching that full amount of host memory. " +"Working images and logs remain in the new output directory; the fixed " +"lock file in the QMP directory remains there to serialize subsequent " "runs." msgid "" -"``result.json`` 的 ``script_completed`` 只说明本次非重复 nonce 的工作负载以零 状态完成、启动标记匹配且没有报告 " -"fatal;``observations`` 列出实际打印的探针 标记与 SKIP。具体 swap 激活、换出、回读、OOM、swapoff 及工作负载正确性仍须由 workload " -"的断言和串口日志证明。此编排不自动设置 swap,也不自动证明高 PFN、 跨 CPU fault 同时发生、VMware、物理硬件或完整 Linux/POSIX 兼容。标准模块高 PFN " -"探针说明见 ReliefNT 的 ``Documentation/core-api/resource-limits.rst``;应记录其 物理地址、实际读写、平台和限制。" +"``result.json`` 的 ``script_completed`` 只说明本次非重复 nonce 的工作负载以零 " +"状态完成、启动标记匹配且没有报告 fatal;``observations`` 列出实际打印的探针 标记与 SKIP。具体 swap " +"激活、换出、回读、OOM、swapoff 及工作负载正确性仍须由 workload 的断言和串口日志证明。此编排不自动设置 " +"swap,也不自动证明高 PFN、 跨 CPU fault 同时发生、VMware、物理硬件或完整 Linux/POSIX 兼容。标准模块高 " +"PFN 探针说明见 ReliefNT 的 ``Documentation/core-api/resource-limits.rst``;应记录其 " +"物理地址、实际读写、平台和限制。" msgstr "" -"``script_completed`` in ``result.json`` means only that this workload, using a unique nonce, " -"completed with status zero, its boot markers matched, and no fatal condition was reported. " -"``observations`` lists the probe markers and SKIPs actually printed. Actual swap activation, swap-" -"out, readback, OOM, swapoff, and workload correctness still require workload assertions and serial" -" logs as evidence. This orchestration does not automatically configure swap or prove high PFNs, " -"simultaneous cross-CPU faults, VMware, physical hardware, or full Linux/POSIX compatibility. For " -"the standard-module high-PFN probe, see ReliefNT's ``Documentation/core-api/resource-limits.rst``;" -" record its physical addresses, actual reads and writes, platform, and limitations." +"``script_completed`` in ``result.json`` means only that this workload, " +"using a unique nonce, completed with status zero, its boot markers " +"matched, and no fatal condition was reported. ``observations`` lists the " +"probe markers and SKIPs actually printed. Actual swap activation, swap-" +"out, readback, OOM, swapoff, and workload correctness still require " +"workload assertions and serial logs as evidence. This orchestration does " +"not automatically configure swap or prove high PFNs, simultaneous cross-" +"CPU faults, VMware, physical hardware, or full Linux/POSIX compatibility." +" For the standard-module high-PFN probe, see ReliefNT's ``Documentation" +"/core-api/resource-limits.rst``; record its physical addresses, actual " +"reads and writes, platform, and limitations." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/products.po b/Documentation/locale/en/LC_MESSAGES/kbuild/products.po index cbbe2b3b..c94260ab 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/products.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/products.po @@ -1,101 +1,84 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgid "目标与输出" -msgstr "Targets and outputs" - -msgid "产品" -msgstr "Products" - -msgid "输出均相对于 O:" -msgstr "All output paths are relative to O:" - -msgid "``kernel``:generated/system 内核与独立调试符号。" -msgstr "``kernel``: kernel in generated/system and separate debug symbols." - -msgid "``runtime`` / ``userland``:公共运行库与所选应用。" -msgstr "``runtime`` / ``userland``: shared runtime libraries and selected applications." - -msgid "``sdk``:packages/reliefos-musl-sdk.tar.gz。" -msgstr "``sdk``: packages/reliefos-musl-sdk.tar.gz." - -msgid "``apk-repo``:packages/apk/repository。" -msgstr "``apk-repo``: packages/apk/repository." - -msgid "``rootfs``:rootfs/managed 与 manifest.json。" -msgstr "``rootfs``: rootfs/managed and manifest.json." - -msgid "``image-vmdk``:images/reliefos.raw 与 images/reliefos.vmdk。" -msgstr "``image-vmdk``: images/reliefos.raw and images/reliefos.vmdk." +"Generated-By: Babel 2.18.0\n" -msgid "``iso``:images/reliefos-live.iso。" -msgstr "``iso``: images/reliefos-live.iso." +msgid "目标与构建产物" +msgstr "Targets and build products" -msgid "``installer``:images/reliefos-installer.iso。" -msgstr "``installer``: images/reliefos-installer.iso." - -msgid "``rpr-pages``:独立 RPR 机器接口和人类页面。" -msgstr "``rpr-pages``: standalone RPR machine interfaces and human-readable pages." - -msgid "``pages``:pages/ 网站,包括下载、RPR 与 Sphinx 文档。" -msgstr "``pages``: the pages/ website, including downloads, RPR, and Sphinx documentation." +msgid "" +"产品默认写到 ``O=out/arch-root/x86_64/release``。改用其他输出目录时, " +"在下载、构建、签名、装配和运行各步使用同一个 ``O``。" +msgstr "" +"Product output defaults to ``O=out/arch-root/x86_64/release``. If you " +"choose another directory, use the same ``O`` for fetching, building, " +"signing, assembling and running the products." -msgid "``htmldocs``:Documentation/html/,只构建手册,不构建镜像。" -msgstr "``htmldocs``: Documentation/html/; builds only the manual, without images." +msgid "" +"``make build`` 构建内核、GRUB、运行库和应用,发布开发用 ``packages/arch/*.pkg.tar.zst`` 与 " +"``kernel-install/install.bundle.json``。" +msgstr "" +"``make build`` builds the kernel, GRUB, runtime and applications and " +"writes development packages to ``packages/arch/*.pkg.tar.zst`` and the " +"kernel manifest to ``kernel-install/install.bundle.json``." -msgid "all 包含 SDK 和三类镜像;release 再包含网站,均不自动上传。 文档与 Pages 的 Sphinx 依赖不影响单独构建内核和用户态。" +msgid "``make sdk`` 生成供开发使用的 ``libreliefos`` 软件包,见 :doc:`sdk`。" msgstr "" -"all includes the SDK and all three image types; release also includes the website. Neither uploads" -" automatically. The Sphinx dependencies of documentation and Pages do not affect standalone kernel" -" and userspace builds." +"``make sdk`` builds the development ``libreliefos`` package. See " +":doc:`sdk`." -msgid "运行与发布" -msgstr "Running and publishing" +msgid "" +"``make rpr-testing`` 用显式选定的密钥生成 ``rpr-testing//``。 快照含 Arch " +"包、仓库数据库、公开密钥、分离签名和完整文件校验清单。" +msgstr "" +"``make rpr-testing`` uses the selected signing key to create ``rpr-" +"testing//``, containing Arch packages, the repository database," +" the public key, detached signatures and a complete checksum list." msgid "" -"``make run``、run-iso、run-installer 启动对应介质。 默认 ``QEMU_BOOT=uefi`` 使用 OVMF;``QEMU_BOOT=bios`` 使用 " -"SeaBIOS。 可覆盖 CPUS、MEMORY 和 QEMU 变量;无 KVM 的宿主用 ``QEMU_KVM=0``。" +"``make rootfs`` 消费指定签名快照,输出 ``arch-rootfs/reliefos-systemd-" +"rootfs*.tar.zst``。" msgstr "" -"``make run``, run-iso, and run-installer start the corresponding media. The default " -"``QEMU_BOOT=uefi`` uses OVMF; ``QEMU_BOOT=bios`` uses SeaBIOS. CPUS, MEMORY, and QEMU variables " -"can be overridden; use ``QEMU_KVM=0`` on hosts without KVM." +"``make rootfs`` assembles the root filesystem from the signed snapshot " +"and writes ``arch-rootfs/reliefos-systemd-rootfs*.tar.zst``." msgid "" -"RPR、下载页与文档组装为一个 Pages 输出;RPR 签名、APK 索引和内核摘要保持 机器契约,不因文档主题更换而改变。发布目标要求内核 clean 且等于主仓 gitlink。 " -"真实版本发布见 :doc:`../process/releasing`。" +"``make image-vmdk`` 消费对应桌面配置的 rootfs 归档,生成 ``images/reliefos.raw`` 和 " +"``images/reliefos.vmdk``。" +msgstr "" +"``make image-vmdk`` consumes the archive for the selected desktop and " +"generates ``images/reliefos.raw`` and ``images/reliefos.vmdk``." + +msgid "``make installer`` 从签名快照组装图形和文本安装介质,输出 ``images/reliefos-installer.iso``。" msgstr "" -"RPR, download pages, and documentation are assembled into one Pages output. RPR signatures, APK " -"indexes, and kernel digests retain their machine contracts regardless of documentation theme " -"changes. Release targets require a clean kernel checkout matching this repository's gitlink. For " -"actual version releases, see :doc:`../process/releasing`." +"``make installer`` uses the signed snapshot to compose the graphical and " +"text installation medium at ``images/reliefos-installer.iso``." -msgid "文档与 RPR" -msgstr "Documentation and RPR" +msgid "``make all`` 连续构建、签名并生成磁盘镜像和安装 ISO。" +msgstr "" +"``make all`` builds and signs packages, then generates the disk and " +"installer ISO." msgid "" -"完整 Pages 网站分别从主仓 Documentation/ 和所选 ReliefNT 仓库的 Documentation/ 读取源文档,生成 docs/reliefos/ 与 " -"docs/reliefnt/,docs/index.html 是产品入口。 两份手册使用各自的 Sphinx 配置和版本,不把内核源文档复制到主仓维护。 RPR " -"首页及内核下载页链接到相应手册,APK 索引、公钥、health 与内核发布元数据 路径保持原协议。独立 rpr-pages 仍只装配包和内核子树,可供 RPR 客户端使用; " -"页面中的站点导航和文档链接依赖完整 Pages 父目录,预览完整网站应使用 pages。 完整手册由 pages 发布。 任一手册构建失败时,保留上次完整网站,不发布部分文档。" +"``make pages`` 从现有签名仓库和产物装配本地站点。``make release`` 在 核对内核 gitlink " +"后执行完整构建与站点组装。线上发布按 :doc:`../process/releasing` 进行。" +msgstr "" +"``make pages`` builds a local site from existing signed packages and " +"products. ``make release`` checks the kernel gitlink and builds all " +"products and the site. For publishing, see :doc:`../process/releasing`." + +msgid "准备密钥、快照和来宾可访问地址的方法见 :doc:`building`。" msgstr "" -"The complete Pages website reads documentation from this repository's Documentation/ and the " -"selected ReliefNT repository's Documentation/, generating docs/reliefos/ and docs/reliefnt/; " -"docs/index.html is the product entry point. The two manuals use their own Sphinx configurations " -"and versions; kernel documentation is not copied into this repository for maintenance. The RPR " -"home page and kernel download page link to the corresponding manuals, while APK index, public key," -" health, and kernel release metadata paths retain their protocols. Standalone rpr-pages still " -"assembles only the package and kernel subtrees for RPR clients. Site navigation and documentation " -"links on those pages depend on the complete Pages parent directory; use pages to preview the full " -"website. Complete manuals are published by pages. If either manual fails to build, the last " -"complete website is retained and no partial documentation is published." +"See :doc:`building` to prepare the key, snapshot and a guest-accessible " +"repository URL." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/sdk.po b/Documentation/locale/en/LC_MESSAGES/kbuild/sdk.po index be0079c4..15623d77 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/sdk.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/sdk.po @@ -1,55 +1,60 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" -msgid "SDK 与用户态移植" -msgstr "SDK and userspace porting" - -msgid "消费 SDK" -msgstr "Using the SDK" +msgid "glibc 应用开发" +msgstr "glibc application development" msgid "" -"SDK 为可重定位 musl sysroot,C 驱动 ``reliefos-musl-cc`` 按自身位置找头与库。 验证时必须真正编译、链接和运行适当探针,覆盖带空格的重定位路径、动态与 " -"``-static``;成功列出归档成员不能替代消费验证。 公开头通过白名单导出,不复制内核私有头。" +"在仓库根执行 ``make fetch`` 和 ``make sdk``。开发包在 ``O/packages/arch/``,实际文件名记录于 " +"``libreliefos-current``。 安装后头文件在 ``/usr/include/reliefos/``,共享库在 " +"``/usr/lib/``, SONAME 为 ``libreliefos.so.2``。开发包同时包含链接器使用的 " +"``libreliefos.so`` 符号链接。" msgstr "" -"The SDK is a relocatable musl sysroot. The C driver ``reliefos-musl-cc`` locates headers and " -"libraries relative to itself. Validation must actually compile, link, and run appropriate probes, " -"covering relocation paths containing spaces, dynamic linking, and ``-static``. Successfully " -"listing archive members is no substitute for consumer validation. Public headers are exported " -"through an allowlist; private kernel headers are not copied." +"Run ``make fetch`` and ``make sdk`` in the repository root. The " +"development package is in ``O/packages/arch/`` and its filename is in " +"``libreliefos-current``. The installed headers are in " +"``/usr/include/reliefos/`` and libraries in ``/usr/lib/``. The SONAME is " +"``libreliefos.so.2``. The package also includes the linker's " +"``libreliefos.so`` symlink." -msgid "库与 ABI" -msgstr "Libraries and ABI" +msgid "" +"在 ReliefOS 或隔离的 Arch/glibc 开发环境中使用 GCC 或 Clang。 在软件包来自已签名 RPR 时,通过 " +"``pacman -S libreliefos`` 安装。 从本地签名发布构建到 sysroot 和软件包验证的步骤见 " +":doc:`building`。" +msgstr "" +"Use GCC or Clang on ReliefOS or inside an isolated Arch/glibc development" +" environment. Install a signed RPR build with ``pacman -S libreliefos``. " +"See :doc:`building` for local signing and package verification." msgid "" -"目标环境使用 musl、mimalloc 和 ReliefOS 扩展库。保持实际 SONAME 与动态 装载依赖,不用宿主 glibc 库冒充目标产物。旧库与旧转发头的兼容范围见 " -":doc:`../userspace-api/abi`。新接口需同步公开头、运行库、内核实现、消费者、 头导出及包归属,不能只改声明。" +"使用 ReliefOS 接口的 C 应用包含相应 ```` 头并链接 ``-lreliefos``。POSIX " +"接口直接使用 glibc 标准头与库。应用若直接引用 zlib、libpng、SQLite、X11 或其他共享库,应按其开发文档显式链接该库。" msgstr "" -"The target environment uses musl, mimalloc, and ReliefOS extension libraries. Preserve actual " -"SONAMEs and dynamic loading dependencies; do not pass off host glibc libraries as target " -"artifacts. For compatibility with old libraries and forwarding headers, see :doc:`../userspace-" -"api/abi`. New interfaces require coordinated changes to public headers, runtime libraries, kernel " -"implementations, consumers, header exports, and package ownership; declarations alone are " -"insufficient." +"C applications using ReliefOS extensions include the relevant " +"```` header and link with ``-lreliefos``. Use glibc's " +"headers and libraries for POSIX. For direct calls to zlib, libpng, " +"SQLite, X11 or another shared library, link its documented library " +"explicitly." msgid "" -"SDK 同时携带锁定版本的 zlib、libpng、SQLite、mbedTLS 3 头文件、动态库和静态库。 驱动为扩展库补全 PNG、zlib、mbedTLS 的传递链接依赖;直接使用 " -"SQLite 的程序 仍需传入 ``-lsqlite3``。开发包的来源元数据位于 ``share/reliefos/sdk/apk``, 许可位于 ``share/licenses``。所有 " -"mbedTLS 消费者必须使用随包配置头,不能使用 旧私有 ``MBEDTLS_CONFIG_FILE`` 配置改变结构布局。" +"自研程序仍从根 Makefile 进入 Kbuild。添加程序时在本目录的 Kbuild 声明对象,在 ``tools/build/arch-" +"applications.list`` 和对应 PKGBUILD 声明需要交付的包与依赖。接口归属见 :doc:`../userspace-" +"api/abi`。" msgstr "" -"The SDK also includes pinned versions of zlib, libpng, SQLite, and mbedTLS 3 headers, shared " -"libraries, and static libraries. The driver supplies transitive PNG, zlib, and mbedTLS link " -"dependencies for extension libraries; programs using SQLite directly must still pass " -"``-lsqlite3``. Development package provenance metadata is in ``share/reliefos/sdk/apk`` and " -"licenses in ``share/licenses``. All mbedTLS consumers must use the packaged configuration header; " -"do not alter structure layouts with an old private ``MBEDTLS_CONFIG_FILE`` configuration." +"First-party applications enter Kbuild through the root Makefile. List " +"objects in the application's Kbuild and declare the packages and " +"dependencies in ``tools/build/arch-applications.list`` and the relevant " +"PKGBUILD. See :doc:`../userspace-api/abi` for interface ownership." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/smp-measurement.po b/Documentation/locale/en/LC_MESSAGES/kbuild/smp-measurement.po index f842abef..9391530e 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/smp-measurement.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/smp-measurement.po @@ -1,172 +1,185 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "SMP 整机测量与输入身份" msgstr "Whole-system SMP measurement and input identity" msgid "" -"``tools/test_smp_latency_qemu.py`` 在单独复制的系统镜像中运行有限次工作负载, 不构建内核或获取软件包。开始前需准备独立、不可变的 root ``kernel-" -"payload`` 目录和与之匹配的 ESP ``boot-payload`` 目录,以及已安装官方 GCC、make、musl 开发头文件、binutils、FFmpeg(含 " -"libx264)、Xorg 和 IceWM 的来宾磁盘。宿主机 需要 QEMU、e2fsprogs、dosfstools、mtools、``grub-editenv``、目标 musl " -"sysroot、正式 SDK 和 目标 X11 开发文件。源镜像可以是 raw 或单文件 VMDK;外部 extent 和 backing 链无法由单个文件哈希标识,因此会被拒绝。 " -"源盘如果已含所选 release 的内核或模块目录,工具也会拒绝注入,避免保留 清单之外的旧文件;请使用不含该 release 的干净用户态镜像。" +"``tools/test_smp_latency_qemu.py`` 在单独复制的系统镜像中运行有限次工作负载, " +"不构建内核或获取软件包。开始前需准备独立、不可变的 root ``kernel-payload`` 目录和与之匹配的 ESP ``boot-" +"payload`` 目录,以及已安装官方 GCC、make、glibc 开发头文件、binutils、FFmpeg(含 libx264)、Xorg" +" 和 IceWM 的来宾磁盘。宿主机 需要 QEMU、e2fsprogs、dosfstools、mtools、``grub-" +"editenv``、准备好的 Arch 构建根和 它提供匹配的 glibc 和 X11 开发文件。源镜像可以是 raw 或单文件 VMDK;外部 " +"extent 和 backing 链无法由单个文件哈希标识,因此会被拒绝。 源盘如果已含所选 release " +"的内核或模块目录,工具也会拒绝注入,避免保留 清单之外的旧文件;请使用不含该 release 的干净用户态镜像。" msgstr "" -"``tools/test_smp_latency_qemu.py`` runs a bounded number of workloads in a separately copied " -"system image; it does not build kernels or fetch packages. Prepare separate, immutable root " -"``kernel-payload`` and matching ESP ``boot-payload`` directories, plus a guest disk with official " -"GCC, make, musl development headers, binutils, FFmpeg (including libx264), Xorg, and IceWM " -"installed. The host needs QEMU, e2fsprogs, dosfstools, mtools, ``grub-editenv``, the target musl " -"sysroot, official SDK, and target X11 development files. Source images may be raw or single-file " -"VMDK; external extents and backing chains cannot be identified by one file hash and are rejected. " -"Injection is also rejected if the source disk already contains a kernel or module directory for " -"the selected release, to avoid retaining old files outside the manifest. Use a clean userspace " -"image without that release." +"``tools/test_smp_latency_qemu.py`` runs a bounded workload on a private " +"image. Prepare an immutable root kernel payload and its matching ESP " +"payload, and a guest with official GCC, make, glibc headers, binutils, " +"FFmpeg with libx264, Xorg and IceWM. The host needs QEMU, e2fsprogs, " +"dosfstools, mtools, ``grub-editenv`` and the Arch build root with " +"matching glibc and X11 development files. Use a raw disk or single-file " +"VMDK without external extents or backing chains. Choose a source disk " +"without the selected release tree." msgid "从仓库根目录执行,以下变量由测量者指向已冻结的产物:" msgstr "" -"Run from the repository root; the measurer must point the following variables at frozen artifacts:" +"Run from the repository root; the measurer must point the following " +"variables at frozen artifacts:" msgid "" -"``--prepare-only`` 只生成镜像,不启动虚拟机;删除该参数才由工具启动拥有的 QEMU 子进程。它发现已有 QEMU 或 VMware 时拒绝启动,使用短路径 QMP " -"socket, 超时或失败时只停止并回收自己的子进程,每次等待均有限时。启动前、负载和 清理失败均写入 ``result.json``,保留失败阶段与清理状态。可用准备好的 raw " -"镜像交由操作者在 VMware 中运行;VMware 的超时控制、串口采集与关闭由操作者负责。离线串口 校验可使用 ``--validate-serial LOG --nonce NONCE " -"--release RELEASE --expect-profiler MODE --repeat N``,身份信息位于 ``prepared.json``。" +"``--prepare-only`` 只生成镜像,不启动虚拟机;删除该参数才由工具启动拥有的 QEMU 子进程。它发现已有 QEMU 或 " +"VMware 时拒绝启动,使用短路径 QMP socket, 超时或失败时只停止并回收自己的子进程,每次等待均有限时。启动前、负载和 " +"清理失败均写入 ``result.json``,保留失败阶段与清理状态。可用准备好的 raw 镜像交由操作者在 VMware 中运行;VMware" +" 的超时控制、串口采集与关闭由操作者负责。离线串口 校验可使用 ``--validate-serial LOG --nonce NONCE " +"--release RELEASE --expect-profiler MODE --repeat N``,身份信息位于 " +"``prepared.json``。" msgstr "" -"``--prepare-only`` generates images without starting a VM; remove it to let the tool start its own" -" QEMU child process. It refuses to start if QEMU or VMware is already running, uses a short-path " -"QMP socket, and stops and reaps only its own child on timeout or failure, with bounded waits " -"throughout. Pre-launch, workload, and cleanup failures are written to ``result.json``, preserving " -"the failure stage and cleanup status. Operators may run a prepared raw image in VMware; they are " -"responsible for VMware timeouts, serial capture, and shutdown. Offline serial validation accepts " -"``--validate-serial LOG --nonce NONCE --release RELEASE --expect-profiler MODE --repeat N``; " -"identity data is in ``prepared.json``." +"``--prepare-only`` generates images without starting a VM; remove it to " +"let the tool start its own QEMU child process. It refuses to start if " +"QEMU or VMware is already running, uses a short-path QMP socket, and " +"stops and reaps only its own child on timeout or failure, with bounded " +"waits throughout. Pre-launch, workload, and cleanup failures are written " +"to ``result.json``, preserving the failure stage and cleanup status. " +"Operators may run a prepared raw image in VMware; they are responsible " +"for VMware timeouts, serial capture, and shutdown. Offline serial " +"validation accepts ``--validate-serial LOG --nonce NONCE --release " +"RELEASE --expect-profiler MODE --repeat N``; identity data is in " +"``prepared.json``." msgid "" -"``--expect-profiler both`` 在已配置诊断节点的同一内核上分别运行 ``off`` 和 ``on``;``on`` 或 ``off`` 只运行其中一种。``absent``" -" 明确要求 ``CONFIG_LOCK_STAT=n`` 的节点不存在,不能作为节点缺失时的自动回退。 ``--jobs 0`` 在固定 32 个翻译单元上使用无参数 ``make " -"-j``;其余取值是作业数。 输出记录配置、镜像和源文件身份,保留准备日志、完整 root 和 ESP 回读、 串口、QEMU 日志以及失败结果。内核、initramfs、模块数据库、两个启动槽、" -" 版本文件和清单在启动前核对;不重写 GRUB 或固件。私有副本中禁用原来的 ``smp-setup``、DHCP、NTP 和图形会话启动链接,并离线删除旧的 :0 socket、 锁文件和 " -"``Xorg.0.log``;源盘不变。来宾将 gcc、make、as、ld、ffmpeg 和 ffprobe 的完整版本输出与退出状态写入串口并保存在解析结果中,缺失或失败 " -"的版本记录会使测量失败。串口原始日志完整保留;解析遥测块时只跳过符合 内核格式的完整 DEBUG/INFO 行,其他异常内容仍使该块失败。" +"``--expect-profiler both`` 在已配置诊断节点的同一内核上分别运行 ``off`` 和 ``on``;``on`` 或 " +"``off`` 只运行其中一种。``absent`` 明确要求 ``CONFIG_LOCK_STAT=n`` " +"的节点不存在,不能作为节点缺失时的自动回退。 ``--jobs 0`` 在固定 32 个翻译单元上使用无参数 ``make " +"-j``;其余取值是作业数。 输出记录配置、镜像和源文件身份,保留准备日志、完整 root 和 ESP 回读、 串口、QEMU " +"日志以及失败结果。内核、initramfs、模块数据库、两个启动槽、 版本文件和清单在启动前核对;不重写 GRUB 或固件。私有副本使用 " +"systemd 的 multi-user.target,并离线删除旧的 :0 socket、 锁文件和 " +"``Xorg.0.log``;源盘不变。来宾将 gcc、make、as、ld、ffmpeg 和 ffprobe " +"的完整版本输出与退出状态写入串口并保存在解析结果中,缺失或失败 的版本记录会使测量失败。串口原始日志完整保留;解析遥测块时只跳过符合 " +"内核格式的完整 DEBUG/INFO 行,其他异常内容仍使该块失败。" msgstr "" -"``--expect-profiler both`` runs ``off`` and ``on`` on the same kernel with the diagnostic node " -"configured; ``on`` or ``off`` runs just that mode. ``absent`` explicitly requires the node to be " -"absent with ``CONFIG_LOCK_STAT=n`` and is not an automatic fallback for a missing node. ``--jobs " -"0`` uses argument-free ``make -j`` on a fixed set of 32 translation units; other values specify " -"the job count. Output records configuration, image, and source identities and retains preparation " -"logs, full root and ESP readbacks, serial and QEMU logs, and failure results. The kernel, " -"initramfs, module database, both boot slots, version files, and manifests are checked before " -"launch; GRUB and firmware are not rewritten. In the private copy, existing ``smp-setup``, DHCP, " -"NTP, and graphical-session startup links are disabled, and old :0 sockets, lock files, and " -"``Xorg.0.log`` are removed offline; the source disk is unchanged. The guest writes complete " -"version output and exit status for gcc, make, as, ld, ffmpeg, and ffprobe to serial, retaining " -"them in parsed results. Missing or failed version records fail the measurement. Full raw serial " -"logs are retained; telemetry parsing skips only complete DEBUG/INFO lines matching the kernel " -"format. Other anomalous content still fails the block." +"``--expect-profiler both`` runs ``off`` and ``on`` on the same kernel " +"with profiler nodes. Select ``on`` or ``off`` for one mode, or ``absent``" +" to require ``CONFIG_LOCK_STAT=n`` and missing profiler nodes. ``--jobs " +"0`` uses unbounded ``make -j`` on the fixed 32 units. The output records " +"input identities, preparation and serial logs, root and ESP readback, " +"QEMU logs and failures. It checks the kernel, initramfs, module database," +" boot slots and checksums before boot. The private copy uses systemd's " +"multi-user.target and removes stale X display :0 artifacts offline. The " +"guest records versions and exit statuses for gcc, make, as, ld, ffmpeg " +"and ffprobe. The parser skips complete kernel DEBUG and INFO records " +"within telemetry and reports other unexpected content as a failure." msgid "" -"固定策略是先不采样地编译并编码/解码一次,然后每次清理目标文件重新编译, 每次编码并完整解码固定 640×360、24 fps、5 秒的软件视频;不清空系统缓存。 " -"这些是预热策略下的重复运行,不应标记为冷启动。编译夹具必须输出精确值 ``660e5ee6e1d4b501``;视频必须有 120 帧、正确宽高并完整解码。另有空闲控制 " -"和原生进程/线程内存、COW、暖缓存文件映射与 ``pread`` 负载。任何退出码、 结果检查、样本缺失、超时或来宾崩溃都会使本次结果失败。" +"固定策略是先不采样地编译并编码/解码一次,然后每次清理目标文件重新编译, 每次编码并完整解码固定 640×360、24 fps、5 " +"秒的软件视频;不清空系统缓存。 这些是预热策略下的重复运行,不应标记为冷启动。编译夹具必须输出精确值 " +"``660e5ee6e1d4b501``;视频必须有 120 帧、正确宽高并完整解码。另有空闲控制 和原生进程/线程内存、COW、暖缓存文件映射与" +" ``pread`` 负载。任何退出码、 结果检查、样本缺失、超时或来宾崩溃都会使本次结果失败。" msgstr "" -"The fixed policy first compiles and encodes/decodes once without sampling, then removes object " -"files and rebuilds each time, encoding and fully decoding a fixed 640×360, 24 fps, five-second " -"software video on each run; system caches are not flushed. These are repeated warm-up-policy runs," -" not cold starts. The compilation fixture must output exactly ``660e5ee6e1d4b501``; video must " -"have 120 frames, correct dimensions, and decode completely. There are also an idle control and " -"native process/thread memory, COW, warm-cache file-mapping, and ``pread`` workloads. Any bad exit " -"status, failed result check, missing sample, timeout, or guest crash fails the run." +"The fixed policy first compiles and encodes/decodes once without " +"sampling, then removes object files and rebuilds each time, encoding and " +"fully decoding a fixed 640×360, 24 fps, five-second software video on " +"each run; system caches are not flushed. These are repeated warm-up-" +"policy runs, not cold starts. The compilation fixture must output exactly" +" ``660e5ee6e1d4b501``; video must have 120 frames, correct dimensions, " +"and decode completely. There are also an idle control and native " +"process/thread memory, COW, warm-cache file-mapping, and ``pread`` " +"workloads. Any bad exit status, failed result check, missing sample, " +"timeout, or guest crash fails the run." msgid "" -"每次负载期间运行真实 Xorg、IceWM 和专用窗口。测试服务使用现有 tty wrapper, 仅在隔离镜像的单个 VT 上启动 Xorg;``-nolisten tcp -ac`` 关闭远程" -" TCP 并 允许隔离系统内的本地客户端连接。X11 数值是客户端定时绘制及 ``XSync`` 服务端 确认的时长,不是物理鼠标、键盘或屏幕扫描输出延迟。程序核对窗口管理器和 " -"实际可见窗口的像素并保存每一个样本;样本使用 ``CLOCK_MONOTONIC`` 纳秒。原生探针也使用 该时钟。X11 探针有独立的有限超时,即使连接或服务端确认卡住也会失败退出。 " -"按样本排序后以 nearest-rank ``ceil(N*p)-1`` (从 0 开始)计算 p50、 p95、p99 和最大值。页故障样本包含探针自己的内容检查和读写开销。" +"每次负载期间运行真实 Xorg、IceWM 和专用窗口。测试服务使用现有 tty wrapper, 仅在隔离镜像的单个 VT 上启动 " +"Xorg;``-nolisten tcp -ac`` 关闭远程 TCP 并 允许隔离系统内的本地客户端连接。X11 数值是客户端定时绘制及 " +"``XSync`` 服务端 确认的时长,不是物理鼠标、键盘或屏幕扫描输出延迟。程序核对窗口管理器和 实际可见窗口的像素并保存每一个样本;样本使用 " +"``CLOCK_MONOTONIC`` 纳秒。原生探针也使用 该时钟。X11 探针有独立的有限超时,即使连接或服务端确认卡住也会失败退出。 " +"按样本排序后以 nearest-rank ``ceil(N*p)-1`` (从 0 开始)计算 p50、 p95、p99 " +"和最大值。页故障样本包含探针自己的内容检查和读写开销。" msgstr "" -"Real Xorg, IceWM, and a dedicated window run during every workload. The test service uses the " -"existing tty wrapper and starts Xorg on only one VT in the isolated image; ``-nolisten tcp -ac`` " -"disables remote TCP and permits local clients within the isolated system. X11 values measure timed" -" client drawing plus ``XSync`` server acknowledgment, not physical mouse, keyboard, or display " -"scanout latency. The program verifies the window manager and pixels of the actually visible window" -" and saves every sample in ``CLOCK_MONOTONIC`` nanoseconds. Native probes use the same clock. The " -"X11 probe has its own finite timeout and fails even if connection or server acknowledgment hangs. " -"Sorted samples use nearest-rank ``ceil(N*p)-1`` with zero-based indexing for p50, p95, p99, and maximum. Page-" -"fault samples include the probe's own content checks and read/write overhead." +"Real Xorg, IceWM, and a dedicated window run during every workload. The " +"test service uses the existing tty wrapper and starts Xorg on only one VT" +" in the isolated image; ``-nolisten tcp -ac`` disables remote TCP and " +"permits local clients within the isolated system. X11 values measure " +"timed client drawing plus ``XSync`` server acknowledgment, not physical " +"mouse, keyboard, or display scanout latency. The program verifies the " +"window manager and pixels of the actually visible window and saves every " +"sample in ``CLOCK_MONOTONIC`` nanoseconds. Native probes use the same " +"clock. The X11 probe has its own finite timeout and fails even if " +"connection or server acknowledgment hangs. Sorted samples use nearest-" +"rank ``ceil(N*p)-1`` with zero-based indexing for p50, p95, p99, and " +"maximum. Page-fault samples include the probe's own content checks and " +"read/write overhead." msgid "" -"纳秒是存储单位,不表示时钟具有纳秒分辨率。当前多核来宾不假定 TSC 跨 CPU 同步;时钟回退及延迟的 timer IRQ 会影响测量。比较编译吞吐时应 " -"另记录编译区间的宿主单调墙钟和串口观察误差,不能用整个启动/清理耗时 代替编译耗时。X11 round-trip 也不能代替真实拖动、按键和应用操作验收。" +"纳秒是存储单位,不表示时钟具有纳秒分辨率。当前多核来宾不假定 TSC 跨 CPU 同步;时钟回退及延迟的 timer IRQ " +"会影响测量。比较编译吞吐时应 另记录编译区间的宿主单调墙钟和串口观察误差,不能用整个启动/清理耗时 代替编译耗时。X11 round-trip " +"也不能代替真实拖动、按键和应用操作验收。" msgstr "" -"Nanoseconds are the storage unit, not a claim of nanosecond clock resolution. Current multicore " -"guests do not assume TSC synchronization across CPUs; clock fallback and delayed timer IRQs affect" -" measurements. For compilation-throughput comparisons, separately record host monotonic wall time " -"for the compilation interval and serial observation error; total boot/cleanup time cannot " -"substitute for compilation time. X11 round trips also cannot replace acceptance testing of actual " -"dragging, keystrokes, and application operations." +"Nanoseconds are the storage unit, not a claim of nanosecond clock " +"resolution. Current multicore guests do not assume TSC synchronization " +"across CPUs; clock fallback and delayed timer IRQs affect measurements. " +"For compilation-throughput comparisons, separately record host monotonic " +"wall time for the compilation interval and serial observation error; " +"total boot/cleanup time cannot substitute for compilation time. X11 round" +" trips also cannot replace acceptance testing of actual dragging, " +"keystrokes, and application operations." msgid "" -"交互验收先确认 IceWM 和终端已经可用,再启动编译。检查标题栏和 Alt 拖动、缩放、最大化/最小化与恢复、释放后的指针移动、终端命令及 Fileman " -"导航。``tools/test_icewm_interactions_qemu.py`` 的截图等待包含宿主图像分析: 1920×1080 的连通区域识别每帧可能超过 2 " -"秒,需允许连续两帧确认;该等待 时间不是来宾输入延迟。冷启动 Xorg/XDM 的等待也与已经运行的桌面分开记录。 最大化的黑色客户区可能与桌面背景连通;应同时用 X11 报告的位置、尺寸和 " -"``map_state`` 核对移动、缩放及最小化。原生窗口状态与实际截图分别留证, 不能以截图识别器没有检测到边界判定窗口管理器未执行操作。" +"交互验收先确认 IceWM 和终端已经可用,再启动编译。检查标题栏和 Alt 拖动、缩放、最大化/最小化与恢复、释放后的指针移动、终端命令及 " +"Fileman 导航。``tools/test_icewm_interactions_qemu.py`` 的截图等待包含宿主图像分析: " +"1920×1080 的连通区域识别每帧可能超过 2 秒,需允许连续两帧确认;该等待 时间不是来宾输入延迟。冷启动 Xorg/XDM " +"的等待也与已经运行的桌面分开记录。 最大化的黑色客户区可能与桌面背景连通;应同时用 X11 报告的位置、尺寸和 ``map_state`` " +"核对移动、缩放及最小化。原生窗口状态与实际截图分别留证, 不能以截图识别器没有检测到边界判定窗口管理器未执行操作。" msgstr "" -"For interactive acceptance testing, first confirm that IceWM and the terminal are usable, then " -"start compilation. Check title-bar and Alt dragging, resizing, maximize/minimize and restore, " -"pointer movement after release, terminal commands, and Fileman navigation. Screenshot waits in " -"``tools/test_icewm_interactions_qemu.py`` include host image analysis: connected-component " -"recognition at 1920×1080 may exceed two seconds per frame, and confirmation needs two consecutive " -"frames. This wait is not guest input latency. Cold-start Xorg/XDM waits are also recorded " -"separately from the running desktop. A maximized black client area can connect to the desktop " -"background; also verify moves, resizing, and minimization against X11 position, dimensions, and " -"``map_state``. Preserve native window state and actual screenshots separately; a screenshot " -"recognizer missing an edge does not show that the window manager failed to act." +"For interactive acceptance testing, first confirm that IceWM and the " +"terminal are usable, then start compilation. Check title-bar and Alt " +"dragging, resizing, maximize/minimize and restore, pointer movement after" +" release, terminal commands, and Fileman navigation. Screenshot waits in " +"``tools/test_icewm_interactions_qemu.py`` include host image analysis: " +"connected-component recognition at 1920×1080 may exceed two seconds per " +"frame, and confirmation needs two consecutive frames. This wait is not " +"guest input latency. Cold-start Xorg/XDM waits are also recorded " +"separately from the running desktop. A maximized black client area can " +"connect to the desktop background; also verify moves, resizing, and " +"minimization against X11 position, dimensions, and ``map_state``. " +"Preserve native window state and actual screenshots separately; a " +"screenshot recognizer missing an edge does not show that the window " +"manager failed to act." msgid "桌面与编译优先级" msgstr "Desktop and compilation priorities" msgid "" -"正常图形启动由 root 所有的 ``reliefos-xdm`` 使用现有 BusyBox ``renice`` 将自身设为 nice=-10,XDM、Xorg 的线程及 IceWM " -"继承这个普通调度优先级。 不切换到实时调度。``Xsession`` 在启动 IceWM 后、启动初始终端前将自身 恢复为 nice=0;IceWM 的菜单与快捷键终端入口同样先恢复为 " -"nice=0。 因此终端中执行的 shell、``make -j`` 及其编译器子进程使用正常优先级。 无法调整优先级时仍继续启动会话,不因权限或工具不可用而中断登录。" -msgstr "" -"During normal graphical startup, root-owned ``reliefos-xdm`` uses existing BusyBox ``renice`` to " -"set itself to nice=-10. XDM, Xorg threads, and IceWM inherit this normal scheduling priority; " -"real-time scheduling is not used. After starting IceWM and before starting the initial terminal, " -"``Xsession`` resets itself to nice=0; IceWM menu and shortcut terminal entry points likewise reset" -" to nice=0 first. Shells, ``make -j``, and compiler children launched from terminals therefore run" -" at normal priority. If adjusting priority fails, session startup continues; unavailable " -"permissions or tools do not interrupt login." - -msgid "" -"该策略优先处理繁忙时的显示与窗口事件,交互繁忙时可能让出部分编译吞吐。 验收应在正常 XDM 登录链中只读取 ``getpriority`` 的实际值,覆盖 Xorg 的 输入线程、IceWM " -"和终端;由测试脚本临时修改优先级的实验不能代替此检查。 Fileman 导航应核对应用提交后的窗口标题和实际截图,避免仅依赖 OCR 对 中文、路径或小字体的识别结果。" +"XDM 由 systemd 启动。IceWM 启动终端时使用 util-linux 的 ``renice``,将编译等终端任务恢复到一般优先级。 " +"验收以实际登录会话中 Xorg、IceWM 和终端的优先级为准。" msgstr "" -"This policy prioritizes display and window events under load and may sacrifice some compilation " -"throughput during heavy interaction. Acceptance testing should only read actual ``getpriority`` " -"values in the normal XDM login chain, covering Xorg input threads, IceWM, and terminals. " -"Experiments that temporarily change priorities from test scripts are not a substitute. For Fileman" -" navigation, check the application-updated window title and actual screenshots instead of relying " -"solely on OCR of Chinese, paths, or small fonts." +"systemd starts XDM. When IceWM starts a terminal, it uses util-linux " +"``renice`` to give terminal workloads such as compilation normal " +"priority. Inspect the actual Xorg, IceWM and terminal priorities in a " +"login session." msgid "" -"诊断节点使用独立的原始 ``tsc_cycles``,各 CPU 的 TSC 不假定同步,不换算成 用户态延迟。每次先停止采样再重新打开快照;因停止可能截断已取得锁的样本, " -"持锁直方图总数不必等于取得锁总数。任何 ``clock_errors`` 都会使该测量失败。 使用一致的来宾用户态、源文件、作业数、缓存策略、重复次数和检查结果进行 " -"前后比较;失败的行不能用于宣称性能改善。" +"诊断节点使用独立的原始 ``tsc_cycles``,各 CPU 的 TSC 不假定同步,不换算成 " +"用户态延迟。每次先停止采样再重新打开快照;因停止可能截断已取得锁的样本, 持锁直方图总数不必等于取得锁总数。任何 ``clock_errors``" +" 都会使该测量失败。 使用一致的来宾用户态、源文件、作业数、缓存策略、重复次数和检查结果进行 前后比较;失败的行不能用于宣称性能改善。" msgstr "" -"Diagnostic nodes use separate raw ``tsc_cycles``. CPU TSCs are not assumed synchronized and are " -"not converted to userspace latency. Stop sampling before reopening each snapshot. Stopping can " -"truncate samples whose locks were already acquired, so hold-time histogram totals need not equal " -"total acquisitions. Any ``clock_errors`` fail the measurement. Compare before and after with " -"identical guest userspace, sources, job count, cache policy, repeat count, and result checks; " -"failed rows cannot support performance-improvement claims." +"Diagnostic nodes use separate raw ``tsc_cycles``. CPU TSCs are not " +"assumed synchronized and are not converted to userspace latency. Stop " +"sampling before reopening each snapshot. Stopping can truncate samples " +"whose locks were already acquired, so hold-time histogram totals need not" +" equal total acquisitions. Any ``clock_errors`` fail the measurement. " +"Compare before and after with identical guest userspace, sources, job " +"count, cache policy, repeat count, and result checks; failed rows cannot " +"support performance-improvement claims." diff --git a/Documentation/locale/en/LC_MESSAGES/kbuild/third-party.po b/Documentation/locale/en/LC_MESSAGES/kbuild/third-party.po index c7aee126..001ab383 100644 --- a/Documentation/locale/en/LC_MESSAGES/kbuild/third-party.po +++ b/Documentation/locale/en/LC_MESSAGES/kbuild/third-party.po @@ -1,156 +1,57 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgid "第三方软件与归属" -msgstr "Third-party software and ownership" - -msgid "来源" -msgstr "Provenance" - -msgid "" -"依赖下载身份由 ``configs/dependencies.lock.json`` 给出,源码子模块由 ``.gitmodules`` 和 gitlink 固定。fetch " -"校验摘要;原生生产目标只消费已验证缓存。 Linux 6.12 Kbuild/Kconfig 的来源与逐文件摘要见 ``scripts/kbuild-source.json``。 " -"不能直接修改上游引擎来绕过项目边界。" -msgstr "" -"``configs/dependencies.lock.json`` identifies dependency downloads; ``.gitmodules`` and gitlinks " -"pin source submodules. fetch verifies digests; native production targets consume only verified " -"caches. Linux 6.12 Kbuild/Kconfig provenance and per-file digests are in ``scripts/kbuild-" -"source.json``. Do not modify the upstream engine directly to bypass project boundaries." - -msgid "" -"``make fetch-check`` 检查锁定下载地址的可用性,不比较上游版本。 依赖升级需要另行核对对应 Alpine 仓库索引或上游正式发布,并同步版本、 " -"下载地址、SHA256、补丁和构建适配中的版本信息。APK 同时验证官方签名; 运行库与开发包采用匹配版本,升级后重新检查构建与运行行为。" -msgstr "" -"``make fetch-check`` checks availability of locked download URLs; it does not compare upstream " -"versions. Dependency upgrades require separate checks against the relevant Alpine repository index" -" or official upstream release, updating versions, download URLs, SHA256, patches, and version " -"references in build adaptations together. APKs also undergo official signature verification. " -"Runtime and development packages use matching versions; recheck build and runtime behavior after " -"upgrades." - -msgid "" -"当前 GRUB 2.16 的 EFI 路径使用 GOP;上游已移除仅用于旧固件的 UGA 支持, 镜像模块清单不再请求 ``efi_uga``。Legacy BIOS 的引导路径保持独立。" -msgstr "" -"The current GRUB 2.16 EFI path uses GOP. Upstream removed UGA support, which served only old " -"firmware, so image module lists no longer request ``efi_uga``. The legacy BIOS boot path remains " -"separate." - -msgid "" -"musl、BusyBox、GRUB、认证库等保留各自原生构建与 移植边界。目标程序与开发 SDK 的 staging 不可混用。上游 README、许可证、 " -"COPYING、归属和字体许可是来源资料,保留原文,不属于待清理的过程报告。" -msgstr "" -"musl, BusyBox, GRUB, authentication libraries, and other dependencies retain their native builds " -"and porting boundaries. Do not mix target-program staging with development-SDK staging. Upstream " -"README files, licenses, COPYING, attribution, and font licenses are provenance materials; retain " -"their original text. They are not process reports to be cleaned up." - -msgid "" -"musl 的互斥锁属性探测补丁将内核缺少 PI futex 的 ``ENOSYS`` 转换为 POSIX 的 ``ENOTSUP``,以便 PulseAudio 等调用者回退到普通互斥锁。 " -"该补丁不伪装成已实现优先级继承,也不改变其他 futex 错误。补丁及摘要由 依赖锁管理;已有镜像需要重新构建 musl 和系统包才会取得此修正。" -msgstr "" -"The musl mutex-attribute probe patch converts ``ENOSYS`` for missing kernel PI futex support to " -"POSIX ``ENOTSUP``, allowing callers such as PulseAudio to fall back to ordinary mutexes. It does " -"not pretend priority inheritance is implemented and leaves other futex errors unchanged. The " -"dependency lock manages the patch and digest; existing images require rebuilt musl and system " -"packages to receive the fix." - -msgid "" -"ReliefPlayer 的 MP4 解码使用官方 FFmpeg 8.1.3 源码,以 LGPL 配置构建 " -"``avformat``、``avcodec``、``avutil``、``swresample`` 和 ``swscale``。 源码 " -"tag、commit、归档摘要和许可证由依赖锁固定;构建使用独立的 ``-reliefplayer`` 库名和 SONAME,避免与用户安装的完整 FFmpeg 运行库发生文件及提供者冲突。 " -"只将选中的播放器所需运行库与 LGPL 原文装入 ``reliefos-media-codecs`` 包, 不向镜像发布 FFmpeg 命令行程序或开发头文件。" -msgstr "" -"ReliefPlayer decodes MP4 with official FFmpeg 8.1.3 sources, building ``avformat``, ``avcodec``, " -"``avutil``, ``swresample``, and ``swscale`` with an LGPL configuration. Source tag, commit, " -"archive digest, and license are pinned by the dependency lock. Separate ``-reliefplayer`` library " -"names and SONAMEs prevent file/provider conflicts with user-installed full FFmpeg runtimes. Only " -"the selected player runtime libraries and original LGPL text enter ``reliefos-media-codecs``; " -"FFmpeg command-line programs and development headers are not shipped in the image." +"Generated-By: Babel 2.18.0\n" -msgid "移植与打包" -msgstr "Porting and packaging" +msgid "第三方来源与归属" +msgstr "Third-party sources and ownership" msgid "" -"添加依赖时同步获取锁、配置/组件、Kbuild 适配、运行路径、包归属、 动态库依赖、桌面入口及许可证。不要仅为安装成功关闭上游验证。 标准控制台工具没有必要伪装成自研图形应用或分配桌面图标。 " -"上游源码修订先在其仓库提交并推送,再更新父仓引用。" +"隔离的 Arch 构建根在 ``tools/build/arch-root.Dockerfile`` 固定官方基础 镜像摘要。工具链和系统依赖由 " +"pacman 从签名的 Arch 仓库安装。 第一次准备工具链时使用当前镜像站索引。同一配方复用本地构建镜像。" msgstr "" -"When adding dependencies, update the fetch lock, configuration/components, Kbuild adaptations, " -"runtime paths, package ownership, shared-library dependencies, desktop entries, and licenses " -"together. Do not disable upstream validation merely to make installation succeed. Standard console" -" tools need not masquerade as in-house graphical applications or receive desktop icons. Commit and" -" push upstream source revisions in their own repositories before updating parent-repository " -"references." - -msgid "预编译基础依赖" -msgstr "Prebuilt base dependencies" - -msgid "" -"sl、ncurses、zlib、libpng、SQLite 和 mbedTLS 3 使用 Alpine v3.24 x86_64 的 原始签名 APK;不再初始化对应的六个源码子模块。准确版本与 " -"SHA256 均在依赖锁中。 运行时 APK 经过 ``upstream-apk`` 校验;``runtime-development`` 仅从锁定且通过 官方签名校验的运行、dev 和 " -"static 包暂存匹配的头文件与库,不将开发树覆盖到来宾。 生产构建离线消费缓存,缺包时先执行 ``make fetch``。" -msgstr "" -"sl, ncurses, zlib, libpng, SQLite, and mbedTLS 3 use original signed APKs from Alpine v3.24 " -"x86_64; their six source submodules are no longer initialized. Exact versions and SHA256 values " -"are in the dependency lock. Runtime APKs are verified by ``upstream-apk``. ``runtime-development``" -" stages matching headers and libraries only from locked runtime, dev, and static packages whose " -"official signatures have passed verification; it does not overlay the development tree onto the " -"guest. Production builds consume caches offline; run ``make fetch`` first if packages are missing." +"The isolated Arch build root pins the official base-image digest in " +"``tools/build/arch-root.Dockerfile``. pacman installs the toolchain and " +"system dependencies from signed Arch repositories. Initial provisioning " +"uses the current mirror indexes. The same recipe reuses its local build " +"image." msgid "" -"``libreliefos.so.2`` 和 ``libleonos.so.2`` 通过 ELF NEEDED 引用独立的 PNG、zlib、 mbedTLS 库。所有使用方采用 " -"``mbedtls3-dev`` 的配置头;不能继续定义旧的 ALT 配置, 也不能混用 main 仓库的 mbedTLS 4.x。时钟、熵和线程接口由官方库经 musl/内核获取, " -"证书链、域名、有效期验证继续生效。" +"ReliefNT 及直接导入的应用源码使用 Git 记录的提交。GRUB 来自 ``configs/grub.lock.json`` " +"记录的上游归档,构建前校验 SHA-256,并应用 配套补丁。``configs/application-sources.lock.json`` " +"与各 PKGBUILD 记录其余直接构建的应用源码,例如 st、paru 和 Nuked OPL3。 paru 的 Rust " +"依赖由其固定上游提交中的 ``Cargo.lock`` 确定。" msgstr "" -"``libreliefos.so.2`` and ``libleonos.so.2`` reference separate PNG, zlib, and mbedTLS libraries " -"through ELF NEEDED. All consumers use configuration headers from ``mbedtls3-dev``; old ALT " -"configurations must not remain defined, and mbedTLS 4.x from main must not be mixed in. Official " -"libraries obtain clock, entropy, and threading services through musl/the kernel; certificate-" -"chain, hostname, and validity-period checks remain active." +"ReliefNT and directly imported application sources use commits recorded " +"in Git. The GRUB archive is pinned in ``configs/grub.lock.json``, checked" +" with SHA-256 and built with the accompanying patches. ``configs" +"/application-sources.lock.json`` and the PKGBUILDs record other sources " +"built directly, including st, paru and Nuked OPL3. paru's Rust " +"dependencies come from the pinned upstream ``Cargo.lock``." msgid "" -"ReliefMail 链接标准 ``libsqlite3.so.0``,不再单独编译 amalgamation 或旧的 ``sqlite.so.3`` 自定义 VFS。数据库继续使用 DELETE" -" journal、FULL synchronous、 foreign_keys,并显式设置 ``mmap_size=0``。扩展库的厂商私有符号不是稳定 ABI, " -"需要使用它们的外部应用应针对独立库及同版本头文件重新构建。" +"获取或更新依赖使用 ``make fetch``。常规 ``make build`` 在无网络的 " +"构建容器内消费已准备好的输入。打包依赖和软件包归属由 Arch PKGBUILD 声明,来宾从官方仓库和签名 RPR 安装。" msgstr "" -"ReliefMail links standard ``libsqlite3.so.0`` instead of separately compiling the amalgamation or " -"the old custom ``sqlite.so.3`` VFS. Databases retain DELETE journaling, FULL synchronous, and " -"foreign_keys, and explicitly set ``mmap_size=0``. Vendor-private symbols in extension libraries " -"are not stable ABI; external applications needing them should rebuild against the separate " -"libraries and matching headers." +"Use ``make fetch`` to retrieve or update inputs. Ordinary ``make build`` " +"consumes prepared inputs in an offline container. Arch PKGBUILDs declare " +"packaging dependencies and ownership. The guest installs from the " +"official repositories and signed RPR." -msgid "" -"``component:sl``、``component:ncurses``、``component:sqlite`` 锁特性由镜像的 ``etc/reliefos/apk-" -"components`` 选择,保留 BUILD/IMAGE 的组件约束;运行库的 基础依赖在控制台和桌面配置中均可用。命令和库由官方包直接提供,不生成本地 " -"包装包、注册表包装入口或迁移说明载荷。离线更新器迁移旧 world 请求并卸载旧包, 保留独立的许可证文本。许可证在 ``resources/licenses``, SDK 另带原始 " -"``.PKGINFO`` 记录;源码和构建配方可从对应 Alpine aports 获取。" -msgstr "" -"The image's ``etc/reliefos/apk-components`` selects the ``component:sl``, ``component:ncurses``, " -"and ``component:sqlite`` lock features, retaining BUILD/IMAGE component constraints. Base runtime " -"dependencies are available in both console and desktop configurations. Official packages directly " -"provide commands and libraries; no local wrapper packages, registry wrapper entries, or migration-" -"note payloads are generated. The offline updater migrates old world requests and uninstalls old " -"packages, retaining separate license texts. Licenses are in ``resources/licenses``; the SDK also " -"includes original ``.PKGINFO`` records. Sources and build recipes are available from the " -"corresponding Alpine aports." - -msgid "" -"目标 ABI 使用实际 SDK 在 Linux/QEMU 验证。带 ASan 的 glibc 宿主测试不能链接 musl 静态归档,因此 ``host-runtime-development`` " -"从锁定的同版本 SQLite/mbedTLS 发布归档 构建原生测试库(使用官方配置);该目标仅属于测试,不参与系统、SDK 或发行包构建。 可通过 " -"``RELIEFOS_TEST_DEP_ROOT`` 指向其他 O 的 ``host/runtime-development``。" +msgid "向本仓引入或更新第三方源码时,同步维护来源、完整性信息和许可证。 ``NOTICE`` 记录项目直接再分发的来源,归档的第三方文本保留上游措辞。" msgstr "" -"Validate the target ABI on Linux/QEMU using the actual SDK. ASan-enabled glibc host tests cannot " -"link musl static archives, so ``host-runtime-development`` builds native test libraries from " -"locked, same-version SQLite/mbedTLS release archives using official configuration. This is a test-" -"only target and does not participate in system, SDK, or release-package builds. " -"``RELIEFOS_TEST_DEP_ROOT`` may point to another O's ``host/runtime-development``." +"When importing or updating third-party sources, maintain their origin, " +"integrity information and licenses together. ``NOTICE`` identifies " +"directly redistributed sources. Keep the upstream wording in archived " +"license texts." diff --git a/Documentation/locale/en/LC_MESSAGES/process/kernel-modules-plan.po b/Documentation/locale/en/LC_MESSAGES/process/kernel-modules-plan.po deleted file mode 100644 index d930e65b..00000000 --- a/Documentation/locale/en/LC_MESSAGES/process/kernel-modules-plan.po +++ /dev/null @@ -1,471 +0,0 @@ -# -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2026-11-14 00:00+0000\n" -"Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgid "内核模块的系统集成实施计划" -msgstr "Kernel module system-integration implementation plan" - -msgid "" -"状态:设计于 2026-10-24,系统集成功能实施与分层验收已完成。以下记录交付范围, 编译、打包和来宾验证分别说明;既有失败与未验证范围继续保留。父仓调查基线为 " -"``9f7ab3c11869056ac9ad9192e1c3ae682b4d57ec``。 内核机制和 K1-K8 阶段由 ReliefNT 仓库 " -"``Documentation/process/module-support-plan.rst`` 定义;本计划只持有 ReliefOS 配置、用户态、启动载荷、安装更新及验收编排。" -msgstr "" -"Status: designed on 2026-10-24; system-integration implementation and layered acceptance are " -"complete. This record describes delivered scope, with compilation, packaging, and guest validation" -" reported separately; existing failures and unverified areas remain documented. The parent-" -"repository investigation baseline is ``9f7ab3c11869056ac9ad9192e1c3ae682b4d57ec``. Kernel " -"mechanisms and stages K1-K8 are defined in ReliefNT's ``Documentation/process/module-support-" -"plan.rst``. This plan owns only ReliefOS configuration, userspace, boot payloads, " -"installation/update, and acceptance orchestration." - -msgid "" -"用户已确认 .ko 采用 Linux 风格机制,但针对 ReliefNT 重新编译。 当前已授权实现;建立分支、提交或推送须另获明确授权。实施使用 executing-" -"plans;允许委派时使用用户指定的 GPT-6.1-Terra / Max。" -msgstr "" -"The user confirmed Linux-style .ko mechanisms, recompiled for ReliefNT. Implementation is " -"currently authorized; branch creation, commits, and pushes require separate explicit " -"authorization. Use executing-plans for implementation; when delegation is allowed, use the user-" -"specified GPT-6.1-Terra / Max." - -msgid "系统行为契约" -msgstr "System behavior contract" - -msgid "" -"``make O=... defconfig`` 明确重置 OS 配置,并对同一输出对应的内核 ``RELIEFNT_SUBBUILD_O`` 执行 defconfig;默认生产组件均为 y。" -msgstr "" -"``make O=... defconfig`` explicitly resets OS configuration and runs defconfig for the kernel's " -"``RELIEFNT_SUBBUILD_O`` corresponding to the same output; all production components default to y." - -msgid "" -"``make kernel-menuconfig``、``kernel-olddefconfig``、``kernel-allmodconfig`` 委派到实际内核输出。OS menuconfig" -" 继续管理 OS 产品;不复制或导入内核 功能符号到主仓 Kconfig,也不把应用配置放进内核。" -msgstr "" -"``make kernel-menuconfig``, ``kernel-olddefconfig``, and ``kernel-allmodconfig`` delegate to the " -"actual kernel output. OS menuconfig continues to manage OS products; kernel feature symbols are " -"not copied or imported into this repository's Kconfig, and application configuration is not placed" -" in the kernel." - -msgid "普通 make/all/kernel/image、自动 config-sync 和缺文件修复不能重置用户 的 m 设置。首次无配置时允许初始化默认配置,已有配置只同步新增选项。" -msgstr "" -"Normal make/all/kernel/image, automatic config-sync, and missing-file repair must not reset users'" -" m selections. Initial default configuration is allowed when none exists; existing configurations " -"only synchronize new options." - -msgid "" -"镜像适配消费内核 install manifest,不扫描源码猜模块,也不在主仓再编译 内核对象。原 kernel.sys/debug、镜像输出位置保持,新增模块树与 initramfs。" -msgstr "" -"Image integration consumes the kernel install manifest; it neither scans sources to guess modules " -"nor recompiles kernel objects in this repository. Existing kernel.sys/debug and image output " -"locations remain, with module trees and initramfs added." - -msgid "同一镜像中的内核、模块、模块数据库和 initramfs 必须属于同一 ABI 身份。 配置遗漏根设备驱动/FS、缺模块、错误版本须在打包阶段失败,不能交给启动试错。" -msgstr "" -"The kernel, modules, module database, and initramfs in one image must share an ABI identity. " -"Missing root-device drivers/filesystems, missing modules, or wrong versions must fail packaging " -"rather than be discovered by trial booting." - -msgid "推荐启动链" -msgstr "Recommended boot chain" - -msgid "" -"初版采用外置、未压缩 newc 档案,减少必须内置的解压依赖;压缩作为独立后续 功能,不提供当前无法使用的压缩选项。OS 镜像统一带一个小 initramfs,即使 " -"生产组件全内置也使用同一系统启动策略;内核自身仍可支持独立无 initramfs 启动。" -msgstr "" -"The first version uses an external uncompressed newc archive to reduce required built-in " -"decompression dependencies. Compression is a separate future feature; no currently unusable " -"compression options are exposed. OS images all include a small initramfs, using the same system " -"boot policy even with all production components built in. The kernel itself may still support " -"standalone boot without initramfs." - -msgid "" -"早期用户态使用现有 musl/BusyBox,包含 /init、mount/switch_root/modprobe、 最小设备节点和当前内核启动依赖。普通镜像的初始根不包含完整桌面。 " -"安装/live 载荷仍是独立的大型文件系统模块:GRUB 同时传递 initramfs 和原有 安装根载荷,早期程序加载 FS 后从内存块设备挂载。不可把 ext4 镜像简单改名 成 " -"initramfs,或要求尚未可见的根分区提供读取它自己必需的驱动。" -msgstr "" -"Early userspace uses existing musl/BusyBox, including /init, mount/switch_root/modprobe, minimal " -"device nodes, and current kernel boot dependencies. A normal image's initial root does not contain" -" the full desktop. Installation/live payloads remain separate large filesystem modules: GRUB " -"passes both initramfs and the existing installation-root payload, and early userspace loads the FS" -" then mounts it from a memory block device. Do not merely rename an ext4 image to initramfs, or " -"require an invisible root partition to supply the driver needed to read itself." - -msgid "" -"可移植发行镜像打包所选存储驱动和支持的根 FS 的模块依赖闭包;不能只根据 构建宿主机的硬件选择启动模块。root=PARTUUID 等根身份和 BIOS/UEFI loader " -"选择保持现有契约,不能随磁盘枚举顺序改变目标。" -msgstr "" -"Portable release images package the dependency closure of modules for selected storage drivers and" -" supported root filesystems; boot modules must not be selected solely from build-host hardware. " -"Existing root identity contracts such as root=PARTUUID and BIOS/UEFI loader selection remain; disk" -" enumeration order must not change the target." - -msgid "工具与安装布局" -msgstr "Tools and installation layout" - -msgid "" -"沿用现有 BusyBox 的 insmod、rmmod、lsmod、modinfo、modprobe、depmod。 设计调查时启用了 MODPROBE_SMALL,alias/symbol " -"配置关闭;实现已切换为 完整 modprobe/depmod 配置,验收覆盖依赖、别名、blacklist、参数与内置识别。 不新造一套同名私有工具,也不假定现有命令“存在”就已经能加载模块。" -msgstr "" -"Reuse BusyBox insmod, rmmod, lsmod, modinfo, modprobe, and depmod. At design investigation, " -"MODPROBE_SMALL was enabled and alias/symbol options disabled. Implementation switched to full " -"modprobe/depmod configuration; acceptance covers dependencies, aliases, blacklists, parameters, " -"and built-in detection. Do not invent private tools with the same names or assume an existing " -"command can already load modules merely because it exists." - -msgid "" -"目标目录为 ``/lib/modules//``,数据库由目标兼容 depmod 离线生成;宿主 depmod 可读相同产物作为交叉检查,不假定宿主版本相同。 " -"宿主工具必须指定私有根,例如 ``depmod -b ``, 不得重写宿主的模块目录。还须检查 APK/BusyBox 的命令归属,避免分发时被 " -"另一个同名程序覆盖;最终镜像中的实际工具也要完成同一套读取和依赖测试。 静态配置遵循 ``/etc/modules-" -"load.d/*.conf``、``/etc/modprobe.d/*.conf``; 设备 coldplug 根据 sysfs modalias 加载。内核别名/依赖来自编译元数据,不在 OS " -"脚本里维护第二份 PCI ID 或依赖表。" -msgstr "" -"The target directory is ``/lib/modules//``; a target-compatible depmod generates " -"databases offline. Host depmod may read the same artifacts as a cross-check, without assuming " -"matching host versions. Host tools must specify a private root, for example ``depmod -b " -"``, and must not rewrite host module directories. Check APK/BusyBox command " -"ownership to prevent same-name replacement in distribution; actual tools in the final image must " -"pass the same reading and dependency tests. Static configuration follows ``/etc/modules-" -"load.d/*.conf`` and ``/etc/modprobe.d/*.conf``; device coldplug loads from sysfs modalias. Kernel " -"aliases/dependencies come from compiled metadata, not a second PCI-ID or dependency table in OS " -"scripts." - -msgid "" -"早期依赖在 /init 中加载;普通设备模块服务必须早于音频、网络和 Xorg。 不能靠固定 sleep 等待模块完成,完成条件应是 modprobe 返回与对应设备出现。 用户手动操作 root" -" 磁盘、挂载中的 FS、活跃 DRM/PCM 等模块时,安全拒绝卸载 属于预期行为;不能为“所有命令成功”而让系统继续使用被释放的代码。" -msgstr "" -"Load early dependencies in /init; normal device-module services must precede audio, network, and " -"Xorg. Do not wait using fixed sleeps: completion means modprobe returns and the relevant device " -"appears. Safe refusal to unload modules for the root disk, mounted filesystems, active DRM/PCM, " -"and similar resources during manual operations is expected. Never let the system use freed code " -"just to make every command succeed." - -msgid "构建、安装和更新事务" -msgstr "Build, install, and update transactions" - -msgid "" -"内核 install 扩展 manifest,至少公布 KERNELRELEASE、模块 ABI 身份、 模块路径/依赖/校验和、内置元数据、配置与 symvers。父仓构建图增加模块树 和 " -"initramfs 的完整前置依赖,m-y-n 切换、模块删除或配置变化均触发重建。 清理严格受产物 manifest 约束,不删除用户手工安装的模块和其他内核版本。" -msgstr "" -"Kernel install extends the manifest to publish at least KERNELRELEASE, module ABI identity, module" -" paths/dependencies/checksums, built-in metadata, configuration, and symvers. The parent build " -"graph adds complete prerequisites for module trees and initramfs; m-y-n transitions, module " -"deletion, and configuration changes trigger rebuilds. Cleanup is strictly bounded by artifact " -"manifests and must not delete manually installed modules or other kernel versions." - -msgid "" -"内核 release 使用唯一 ABI 后缀,OS VERSION_ID 保持发行数字版本。 模块安装在版本目录,更新时可同时保留当前和新内核模块。 GRUB " -"仍提供既有公开入口;其版本入口精确绑定 kernel/initramfs 成对文件。 旧版本入口引用自己的内核、initramfs 和模块树。" -msgstr "" -"Kernel releases use unique ABI suffixes while OS VERSION_ID keeps the numeric release version. " -"Modules install in versioned directories, allowing current and new kernel modules to coexist " -"during updates. GRUB retains existing public entries; version entries bind exact kernel/initramfs " -"pairs. Old version entries reference their own kernel, initramfs, and module tree." - -msgid "" -"父仓预生成可移植 initramfs,与相应内核和所选模块共同装入内核 APK/安装 载荷。Installer、普通系统更新和 RPR 使用同一套载荷校验/发布接口:先完整 " -"写入新版本模块、kernel、initramfs,校验并同步,再发布版本选择记录。 不能先删当前内核模块目录,也不能让旧内核指向新模块。 更换 BIOS/UEFI loader " -"选项不影响模块载荷配对与回滚。" -msgstr "" -"The parent repository pregenerates a portable initramfs and packages it with the matching kernel " -"and selected modules into the kernel APK/installation payload. Installer, normal updates, and RPR " -"share payload validation/publication interfaces: fully write new-version modules, kernel, and " -"initramfs, verify and sync, then publish the version-selection record. Never delete current kernel" -" modules first or point an old kernel to new modules. BIOS/UEFI loader changes do not affect " -"module-payload pairing or rollback." - -msgid "明确的提交点与故障模型" -msgstr "Explicit commit points and fault model" - -msgid "" -"不能把 ESP/FAT 上的临时文件加 rename 当作整套更新的断电原子保证。 日常内核更新不重写稳定的 GRUB 入口,采用预分配的 A/B 选择槽:每槽包含 固定尺寸的版本描述文件与独立 " -"SHA-256 校验文件,各自引用不可变版本载荷。 更新只写非当前槽;先同步载荷,再同步完整描述,最后写入并同步该槽校验。 槽从校验失败转为校验成功就是新版本的发布条件,不另写单点 active " -"指针。" -msgstr "" -"Temporary files plus rename on ESP/FAT do not guarantee power-loss atomicity for an entire update." -" Routine kernel updates leave stable GRUB entries untouched and use preallocated A/B selection " -"slots. Each slot contains a fixed-size version descriptor and separate SHA-256 checksum file " -"referencing immutable version payloads. Updates write only the noncurrent slot: sync payloads, " -"then the complete descriptor, then write and sync the slot checksum. A slot transitioning from " -"invalid to valid checksum publishes the new version; no separate single-point active pointer is " -"written." - -msgid "" -"稳定 GRUB 脚本先校验槽,再读取其受限版本/递增序号;选择校验有效且序号 最高的完整版本,同时保留旧版本菜单。解析有界且只允许预定字段/路径, 不能在校验前 source 描述文件。内核与 " -"initramfs 的哈希也要校验。 两平台 GRUB 模块清单补齐原版 hashsum/SHA-256 所需组件,不写自定义引导协议。 " -"首次安装预分配两个槽;已有系统迁移保留旧入口,确认新入口后才启用槽选择。" -msgstr "" -"The stable GRUB script verifies slots before reading their restricted version/increasing sequence " -"fields. It selects the complete valid slot with the highest sequence and retains old-version " -"menus. Parsing is bounded and permits only predefined fields/paths; descriptors must not be " -"sourced before verification. Kernel and initramfs hashes are also checked. Both platforms' GRUB " -"module lists include upstream hashsum/SHA-256 dependencies; no custom boot protocol is introduced." -" Initial installation preallocates both slots. Migration preserves old entries and enables slot " -"selection only after confirming the new entry." - -msgid "" -"断电验收模型是任一步写入/同步失败、未同步写入丢失,以及正在写的非当前槽 记录撕裂:校验失败应回退到最后完整槽。设备丢失已同步数据、任意 FAT 元数据 损坏、更新固件/MBR/EFI " -"本体不属于“内核包原子更新”的可证明范围,必须另行 报告;不承诺跨文件系统/固件的绝对断电原子性。" -msgstr "" -"The power-loss acceptance model covers failure of any write/sync, loss of unsynced writes, and " -"torn records in the noncurrent slot being written. Invalid checksums must fall back to the last " -"complete slot. Devices losing synced data, arbitrary FAT metadata corruption, and firmware/MBR/EFI" -" executable updates are outside the provable scope of atomic kernel-package updates and must be " -"reported separately. Absolute power-loss atomicity across filesystems/firmware is not promised." - -msgid "阶段与执行检查" -msgstr "Stages and execution checks" - -msgid "O1:双仓配置委派" -msgstr "O1: configuration delegation across both repositories" - -msgid "" -"依赖 K1。修改 ``scripts/reliefos/Makefile.config``、``Makefile.kernel`` 与 帮助文本;新增 ``tests/build/test-" -"kernel-config-delegation.sh``。" -msgstr "" -"Depends on K1. Modify ``scripts/reliefos/Makefile.config``, ``Makefile.kernel``, and help text; " -"add ``tests/build/test-kernel-config-delegation.sh``." - -msgid "" -"[x] 先以可记录参数的 fake 子 make 测试同一 ARCH/PROFILE/绝对 O= 的委派, 覆盖新输出、defconfig 重置、普通构建保留 m、用户覆盖 RELIEFNT_O。" -msgstr "" -"[x] First test delegation with the same ARCH/PROFILE/absolute O= using a fake child make that " -"records arguments, covering new outputs, defconfig reset, preserving m in normal builds, and user " -"RELIEFNT_O overrides." - -msgid "" -"[x] 接入三个 kernel 配置目标;将 defconfig 的 OS/内核操作有序执行, 不并行竞争同一配置输出,也不引入 parent/child KCONFIG_CONFIG 环境串用。" -msgstr "" -"[x] Wire up three kernel configuration targets; run OS/kernel defconfig steps in order, without " -"parallel races on the same configuration output or parent/child KCONFIG_CONFIG environment cross-" -"contamination." - -msgid "[x] 使用真实两仓 conf/mconf 再验证默认全内置与配置持久化。" -msgstr "" -"[x] Revalidate default all-built-in behavior and configuration persistence with real conf/mconf in" -" both repositories." - -msgid "O2:模块产物、用户工具与 initramfs" -msgstr "O2: module artifacts, userspace tools, and initramfs" - -msgid "" -"依赖 K2-K4、K6a/K6b、K7。修改 ``Makefile.kernel``、``Makefile.rootfs``、BusyBox 配置;新增 " -"``tools/build/modules-stage.sh``、``initramfs-stage.sh``、 ``system/initramfs/init`` 和相应构建入口。" -msgstr "" -"Depends on K2-K4, K6a/K6b, and K7. Modify ``Makefile.kernel``, ``Makefile.rootfs``, and BusyBox " -"configuration; add ``tools/build/modules-stage.sh``, ``initramfs-stage.sh``, " -"``system/initramfs/init``, and build entry points." - -msgid "" -"[x] 增加 ``test-kernel-modules-stage.sh`` 与 ``test-initramfs-stage.sh``: 空模块集、依赖闭包、缺文件、错 " -"ABI、档案可复现、受控清理和 m-y-n 切换。" -msgstr "" -"[x] Add ``test-kernel-modules-stage.sh`` and ``test-initramfs-stage.sh``: empty module sets, " -"dependency closure, missing files, wrong ABI, reproducible archives, controlled cleanup, and m-y-n" -" transitions." - -msgid "" -"[x] 构建原生 BusyBox,读取真实 .modinfo/dep 数据库,测试别名、built-in no-op、blacklist、参数及多层依赖;不能只用假的 modprobe " -"输出断言成功。" -msgstr "" -"[x] Build native BusyBox, read actual .modinfo/dep databases, and test aliases, built-in no-ops, " -"blacklists, parameters, and multilevel dependencies; fake modprobe output alone cannot assert " -"success." - -msgid "" -"[x] /init 挂载 proc/sys/dev、加载启动模块、解析根身份、等待有界设备发现、 挂载真实根并 exec 新 init。支持 rdinit= 诊断;失败提供明确的早期诊断入口。" -msgstr "" -"[x] /init mounts proc/sys/dev, loads boot modules, resolves root identity, waits for bounded " -"device discovery, mounts the real root, and execs the new init. Support rdinit= diagnostics and an" -" explicit early diagnostic entry on failure." - -msgid "[x] 引入 early/normal 模块加载顺序;不让普通服务在模块未准备好时启动。" -msgstr "" -"[x] Introduce early/normal module-loading order; normal services must not start before modules are" -" ready." - -msgid "O3:ISO、VMDK 与安装器载荷" -msgstr "O3: ISO, VMDK, and installer payloads" - -msgid "" -"依赖 K5-K7、O2。修改 ``boot/grub/grub.cfg``、 ``scripts/reliefos/Makefile.images``、``tools/build/{boot-" -"stage,iso,images,installer-stage}.sh``、 ``userland/apps/installer/install_ops.c`` 和载荷检查。" -msgstr "" -"Depends on K5-K7 and O2. Modify ``boot/grub/grub.cfg``, ``scripts/reliefos/Makefile.images``, " -"``tools/build/{boot-stage,iso,images,installer-stage}.sh``, " -"``userland/apps/installer/install_ops.c``, and payload checks." - -msgid "" -"[x] 为 BIOS/UEFI、磁盘/普通 ISO/Installer ISO 添加一致的 Multiboot2 initramfs 项,正确区分安装根载荷与初始根。检查安装器 " -"Xorg/控制台两种载荷。" -msgstr "" -"[x] Add consistent Multiboot2 initramfs entries for BIOS/UEFI and disk/normal ISO/Installer ISO, " -"correctly distinguishing installation-root payloads from initial root. Check both installer Xorg " -"and console payloads." - -msgid "[x] 打包前验证必需功能 n 的非法 profile、根驱动/FS 为 m 的依赖闭包、 模块版本、kernel/initramfs 哈希与解包内容。禁止静默改成 y。" -msgstr "" -"[x] Before packaging, validate illegal profiles with required features set to n, dependency " -"closure when root driver/FS=m, module versions, kernel/initramfs hashes, and unpacked contents. " -"Never silently change settings to y." - -msgid "[x] 分别测试全内置、混合及 allmodconfig 产物,既有输出文件地址不改变。" -msgstr "" -"[x] Test all-built-in, mixed, and allmodconfig artifacts separately, preserving existing output " -"file locations." - -msgid "O4:更新、RPR 与恢复" -msgstr "O4: updates, RPR, and recovery" - -msgid "" -"依赖 O3。修改 ``userland/runtime/src/bootloader{,_publish}.c``、 " -"``scripts/reliefos/Makefile.rpr``、``tools/build/rpr-pages.sh`` 及 APK 内核载荷。" -msgstr "" -"Depends on O3. Modify ``userland/runtime/src/bootloader{,_publish}.c``, " -"``scripts/reliefos/Makefile.rpr``, ``tools/build/rpr-pages.sh``, and APK kernel payloads." - -msgid "" -"[x] 新增 ``tools/test_kernel_bundle.py``,验证完整发布、缺模块拒绝、短写、 同步/校验失败、各发布边界中断、双槽记录撕裂、启动前校验回退,以及旧 " -"入口和旧模块树保留;以私有镜像和明确故障模型注入,不改宿主磁盘。" -msgstr "" -"[x] Add ``tools/test_kernel_bundle.py`` to validate complete publication, missing-module " -"rejection, short writes, sync/checksum failures, interruptions at publication boundaries, torn " -"dual-slot records, pre-boot verification fallback, and preservation of old entries/module trees. " -"Inject faults in private images under an explicit fault model without changing host disks." - -msgid "[x] 用同一发布接口绑定新版本三件套;只写非当前槽,成功前不改旧选择记录。" -msgstr "" -"[x] Bind the new version's three artifacts through the same publication interface; write only the " -"noncurrent slot and leave old selection records unchanged until success." - -msgid "[x] RPR 元数据同时记录所需内核 ABI 和模块清单;发布 guard 继续要求 子仓 clean 且 gitlink 一致。不得因模块产物增加而跳过该规则。" -msgstr "" -"[x] RPR metadata records both required kernel ABI and module manifests. Publication guards still " -"require a clean subrepository matching the gitlink; additional module artifacts must not bypass " -"this rule." - -msgid "O5:全链运行矩阵与文档" -msgstr "O5: end-to-end runtime matrix and documentation" - -msgid "新增 ``tools/test_kernel_modules_qemu.py`` 编排器,消费内核拥有的模块和 原生探针;只操作私有 VM/镜像与短路径 QMP socket。" -msgstr "" -"Add ``tools/test_kernel_modules_qemu.py`` orchestration, consuming kernel-owned modules and native" -" probes and operating only on private VMs/images and short-path QMP sockets." - -msgid "[x] defconfig 全内置、部分模块、allmodconfig,以及 MODULES=n 全内置。" -msgstr "[x] defconfig all-built-in, partial modules, allmodconfig, and MODULES=n all-built-in." - -msgid "" -"[x] BIOS 与 UEFI;1 和 4 vCPU;分别以 IDE/ATAPI、AHCI、NVMe 为根, 至少覆盖 ext4 与可支持的其他根 FS;Installer/live " -"的内存根另外验证。" -msgstr "" -"[x] BIOS and UEFI; 1 and 4 vCPUs; IDE/ATAPI, AHCI, and NVMe roots, covering at least ext4 and " -"other supported root filesystems. Validate Installer/live memory roots separately." - -msgid "[x] 最关键门槛:根控制器=m、根 FS=m,最终出现真实桌面并可读写文件。 不是只看到 GRUB、启动日志或 /init 探针就算成功。" -msgstr "" -"[x] Critical gate: root controller=m and root FS=m must reach a real desktop with " -"readable/writable files. Seeing GRUB, boot logs, or an /init probe alone is insufficient." - -msgid "" -"[x] e1000 联网和数据校验;声卡 PCM 的 open/mmap/close;Xorg/IceWM 的 DRM/fbdev " -"路径;内置/模块行为一致。QEMU 与 VMware 的验证结果分别记录。" -msgstr "" -"[x] e1000 networking and data validation, sound-card PCM open/mmap/close," -" and Xorg/IceWM DRM/fbdev. Built-in and modular behavior match. Record " -"QEMU and VMware results separately." - -msgid "[x] 多层依赖装卸、内置 modprobe、重复加载、故意缺依赖/错版本文件的 错误诊断、busy 卸载拒绝、空闲装卸循环、进程/映射/IRQ 并发持有。" -msgstr "" -"[x] Multilevel dependency load/unload, built-in modprobe, repeated loading, diagnostics for " -"deliberately missing dependencies/wrong-version files, busy-unload rejection, idle load/unload " -"loops, and concurrent process/mapping/IRQ references." - -msgid "" -"[x] 以相同 release profile 记录 yes/dd、启动耗时与桌面操作延迟对比; 出现稳定明显退化先定位,不能把性能损失归因于“模块本来就慢”。 同一 BIOS/1 " -"vCPU/AHCI/4 GiB 的 QEMU/KVM 平台上,预热后各五次 2 GiB yes/dd,中位数约为 default 2.755 GB/s、全模块 2.749 GB/s; 比值为 " -"0.9979,差异在本次样本波动范围内。普通启动及 VT 切换记录 只是单次观察,不能当作统计延迟结论;缺少同环境改造前基线,不声称 相对旧内核全面无性能退化。PIIX/IDE 无 " -"initramfs 的直接根 已通过桌面与声卡验证,但冷启动仍慢。实际 VMware 的 HDA、DRM 各八轮 生命周期及普通桌面十轮 Fileman/VT 验证通过;真实物理硬件尚未验证。" -msgstr "" -"[x] Record yes/dd, boot time, and desktop-operation latency comparisons with the same release " -"profile. Investigate stable significant regressions; do not dismiss losses as modules being " -"inherently slow. On the same BIOS/1 vCPU/AHCI/4 GiB QEMU/KVM platform, five warmed-up 2 GiB yes/dd" -" runs each yielded medians of about 2.755 GB/s for default and 2.749 GB/s for all-modular, a " -"0.9979 ratio within this sample's variation. Normal-boot and VT-switch records are single " -"observations, not statistical latency conclusions. Without a pre-change baseline in the same " -"environment, no claim of universally unchanged performance against the old kernel is made. " -"PIIX/IDE direct root without initramfs passed desktop and sound-card validation but still boots " -"slowly from cold. Real VMware passed eight HDA and DRM lifecycle rounds each and ten ordinary-" -"desktop Fileman/VT rounds; physical hardware remains unverified." - -msgid "[x] 更新两仓职责对应的构建/安装/ABI/驱动文档与 RPR 说明,清除失效静态 假设;保留有明确用途的全内置独立启动路径与历史发布事实。" -msgstr "" -"[x] Update build/install/ABI/driver documentation and RPR notes according to each repository's " -"responsibilities, removing invalid static assumptions while retaining purposeful all-built-in " -"standalone boot paths and historical release facts." - -msgid "安装验收的实际范围" -msgstr "Actual installation acceptance scope" - -msgid "" -"全模块媒体的控制台、中文桌面两套实际安装盘均已分别从 BIOS、UEFI 启动; BIOS 完成普通用户登录,桌面版实际显示 IceWM 与 Fileman,UEFI 到达对应 " -"登录界面。离线检查两盘文件系统、UID 1000 账户、全部 41 项内核载荷及其中 24 个模块的路径、大小与哈希;模块包括 18 个生产模块和 6 个验收模块。 默认全内置、混合与 " -"MODULES=n 的普通运行由各自配置的运行矩阵验证, 不能把这两次全模块新安装扩大表述为四种配置均完成了全新安装。" -msgstr "" -"Both actual all-modular installation disks, console and Chinese desktop, booted separately under " -"BIOS and UEFI. BIOS reached normal-user login and the desktop version actually displayed IceWM and" -" Fileman; UEFI reached the corresponding login screens. Offline checks covered both filesystems, " -"UID 1000 accounts, and paths, sizes, and hashes of all 41 kernel payload items, including 24 " -"modules: 18 production and six acceptance modules. Default all-built-in, mixed, and MODULES=n " -"normal runs were validated by their own runtime matrices; these two all-modular fresh " -"installations do not establish fresh-install validation of all four configurations." - -msgid "" -"原 2400 秒安装速度门禁仍失败。独立功能长测实际完成桌面安装后,因全量 约 6 MB 日志经串口读取超时而失败,原结果未改判通过。取证工具已改为读取 " -"有界末尾、使用本次请求标志并检查读取状态,宿主回归与真实来宾正负例通过; 已有安装盘再经独立双固件启动和完整离线检查验收。工具修正后没有重跑完整 安装复制,不作为安装提速证据。功能长测的 7200" -" 秒设置只是等待循环截止, 单次取帧或完成确认可以越界,并非绝对时间墙。" -msgstr "" -"The original 2400-second installation-speed gate still fails. A separate functional long test " -"completed desktop installation but failed when reading roughly 6 MB of full logs over serial timed" -" out; the original result was not reclassified as a pass. Evidence collection now reads a bounded " -"tail, uses a per-request marker, and checks read status; host regressions and positive/negative " -"real-guest cases passed. Existing installed disks then passed independent dual-firmware boot and " -"complete offline checks. Full installation copying was not rerun after the tooling fix, so it is " -"not evidence of faster installation. The long test's 7200-second setting only bounds the wait " -"loop; a frame capture or completion check may overrun it, so it is not an absolute wall-time " -"limit." - -msgid "新版 Installer 的 VMware 验证未完成,真实物理硬件未验证;上述内核 VMware 运行结果与 Installer 安装验证分别记录。" -msgstr "" -"VMware validation of the new Installer is incomplete, and physical hardware is unverified. The " -"kernel's VMware runtime results above are recorded separately from Installer installation " -"validation." - -msgid "" -"交付证据分源码检查、宿主测试、编译打包、QEMU、VMware与真实硬件记录, 每个运行结果绑定内核、模块与 initramfs 的精确哈希。 既有宿主失败、ABI golden 决策与音频 " -"manifest 决策独立记录,不静默改写。 VMware 验证未完成时必须明示;实现与运行结果按实际完成的阶段分别记录。" -msgstr "" -"Delivery evidence separates source inspection, host tests, compilation/packaging, QEMU, VMware, " -"and physical hardware records. Every runtime result is bound to exact kernel, module, and " -"initramfs hashes. Existing host failures, ABI golden decisions, and audio-manifest decisions are " -"recorded independently and never silently rewritten. Incomplete VMware validation must be " -"explicit; implementation and runtime results are recorded by the stages actually completed." - -msgid "参考" -msgstr "References" - -msgid "`Linux Kbuild 模块安装 `_" -msgstr "`Linux Kbuild module installation `_" - -msgid "`Linux 早期用户态与 initramfs `_" -msgstr "" -"`Linux early userspace and initramfs `_" diff --git a/Documentation/locale/en/LC_MESSAGES/process/testing.po b/Documentation/locale/en/LC_MESSAGES/process/testing.po index 81805aa9..07c4acba 100644 --- a/Documentation/locale/en/LC_MESSAGES/process/testing.po +++ b/Documentation/locale/en/LC_MESSAGES/process/testing.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-15 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "测试与验收" msgstr "Testing and acceptance" @@ -18,148 +20,108 @@ msgstr "Testing and acceptance" msgid "执行入口" msgstr "Entry points" -msgid "从主仓根目录执行;临时文件放在项目输出目录::" -msgstr "Run from the parent repository root; put temporary files in the project output directory::" - -msgid "" -"test 为宿主/构建契约,test-long 包括长流程与恢复,test-legacy 显式运行 非生产 OS 测试,test-smoke 顺序检查三类介质的 BIOS/UEFI 启动。 " -"test-build 包含 Pages 文档回归,宿主需要 Sphinx;普通内核和用户态编译不因此依赖它。 按风险选择定向检查;通过已有失败之前的步骤不能称为全套通过。" +msgid "从主仓根执行本机回归,临时文件放在项目输出目录::" msgstr "" -"test covers host/build contracts; test-long includes long workflows and recovery; test-legacy " -"explicitly runs nonproduction OS tests; test-smoke checks BIOS/UEFI boot of all three media types " -"sequentially. test-build includes Pages documentation regressions and needs Sphinx on the host; " -"ordinary kernel and userspace compilation do not thereby depend on it. Choose targeted checks " -"according to risk; passing steps before a known failure is not a full-suite pass." +"Run native regressions from the main repository root and keep temporary " +"files under the project output directory::" msgid "" -"构建契约套件顺序运行,套件内部的递归 Make 共享上层 jobserver,避免 " -"每个临时构建退化为单线程;日志中的 ``TIME`` 行记录每套耗时。 " -"``make -n test`` 不执行测试脚本。ReliefMail 的宿主夹具在独立工作目录中 " -"运行,并使用 ``TMPDIR`` 创建私有目录,不依赖调用方位于源码根目录。 " -"CI 的下载缓存仍由依赖锁逐个校验;编译缓存只复用编译结果,镜像与签名 " -"产物每次构建。具体缓存范围和最终检查见仓库 ``.github/CI.md``。" +"``make test`` 覆盖构建契约和桌面程序。``test-ci-kernel`` 委托内核测试并 检查模块、引导载荷和 dracut " +"产物。各套件顺序运行,内部的递归 Make 共用 jobserver,并记录每套耗时。CI 的宿主依赖见 ``.github/CI.md``。" msgstr "" -"Build contract suites run sequentially, while recursive Make processes share the parent " -"jobserver so temporary builds can compile in parallel. Each suite logs its elapsed time on " -"a ``TIME`` line. ``make -n test`` never executes test scripts. ReliefMail host fixtures run " -"in a separate working directory and create private directories under ``TMPDIR``, independent " -"of the caller's location. CI download caches are still checked against the dependency locks; " -"the compiler cache reuses compilation results, while images and signed products are rebuilt " -"on each run. See ``.github/CI.md`` for cache scope and the final gate." - -msgid "" -"APK 归属测试和组件 Kconfig 维护脚本支持 Python 3.10+;3.10 另需 TOML 解析包 ``tomli``(Debian/Ubuntu 的 " -"``python3-tomli``),3.11+ 使用标准库 ``tomllib``。APK 夹具在测试子进程中固定 ``umask 022``,避免继承宿主 私有权限掩码后与预期文件模式冲突。 " -"宿主文件写入失败测试使用子进程的文件大小限制,验证短写后报错、原文件 保留与临时文件清理;不依赖 root 是否能绕过目录权限。" -msgstr "" -"APK ownership tests and component Kconfig maintenance scripts support Python 3.10+. Python 3.10 " -"also needs TOML parser ``tomli`` (``python3-tomli`` on Debian/Ubuntu); 3.11+ uses standard-library" -" ``tomllib``. APK fixtures set ``umask 022`` in test subprocesses to avoid inheriting private host" -" masks that conflict with expected modes. Host file-write failure tests use subprocess file-size " -"limits to verify errors after short writes, original-file preservation, and temporary-file " -"cleanup; they do not depend on whether root bypasses directory permissions." - -msgid "" -"``make test-audio`` 仍需要真实 ALSA 和 OPL3 构建依赖; ``tools/test_audio_userland.py`` 的日志写入 ``out/audio-" -"hda/qa/logs/``。 音频产品检查需要已有内核包、rootfs 和 SDK,缺少产物必须报错。" -msgstr "" -"``make test-audio`` still requires real ALSA and OPL3 build dependencies; " -"``tools/test_audio_userland.py`` writes logs to ``out/audio-hda/qa/logs/``. Audio product checks " -"require existing kernel packages, rootfs, and SDK; missing artifacts must be errors." +"``make test`` covers build contracts and desktop applications. ``test-ci-" +"kernel`` delegates kernel tests and checks modules, boot payload and " +"dracut products. Suites run in order, share the Make jobserver internally" +" and log elapsed time. See ``.github/CI.md`` for host dependencies." msgid "仓库边界" msgstr "Repository boundaries" msgid "" -"ReliefOS 持有应用、运行库、SDK、APK、安装器、镜像与完整系统 QEMU/VMware 集成测试。内核实现、驱动、文件系统、调度、内存和 Linux UAPI 的测试及原生 " -"系统调用探针由 ReliefNT 仓库持有,入口见其 ``Documentation/process/testing.rst``。混合套件按实现归属拆开,主仓不保留 内核夹具副本或旧脚本转发文件。" -msgstr "" -"ReliefOS owns applications, runtime libraries, SDK, APKs, installer, images, and full-system " -"QEMU/VMware integration tests. ReliefNT owns tests and native syscall probes for kernel " -"implementation, drivers, filesystems, scheduling, memory, and Linux UAPI; see its " -"``Documentation/process/testing.rst``. Mixed suites are split by implementation ownership; this " -"repository keeps neither copies of kernel fixtures nor old script-forwarding files." - -msgid "" -"``tests/build/test-test-ownership.sh`` 构建契约检查测试源码归属,包括 Shell 测试 直接引用内核私有源码和头文件的情况。旧内核桌面实现与可执行文件 " -"GID 服务权限的 残留检查由 ReliefNT 的 ``service_roles`` 套件持有;主仓的 ``tests/build/test-x11-only.sh`` " -"只检查本仓的应用、运行库与产品配置。 主仓保留方便调用的 ``test-vdso``、``test-smp-time``、``test-page-cache-growth``、 ``test-" -"user-return``、``test-syscall-io``、``test-kernel-host`` 与 ``test-kernel-ownership`` Make " -"目标,它们委托内核自己的 Make 入口, 不在父仓复制内核测试清单。``test-legacy`` 同样先委托内核定向回归组, 再运行主仓 Unix IPC 与用户态 syscall 头检查。" +"ReliefOS 持有应用、运行库、打包、安装器、镜像和完整系统集成测试。 内核测试和原生 ABI 探针由 ReliefNT 持有,主仓通过内核 " +"Make 入口或实际 探针源码运行集成检查。``tools/test_test_ownership.py`` 检查测试归属。" msgstr "" -"The ``tests/build/test-test-ownership.sh`` build contract checks test-source ownership, including " -"shell tests directly referencing private kernel sources/headers. ReliefNT's ``service_roles`` " -"suite owns residual checks for old kernel desktop implementations and executable GID service " -"permissions; this repository's ``tests/build/test-x11-only.sh`` checks only its applications, " -"runtime, and product configuration. Convenient Make targets ``test-vdso``, ``test-smp-time``, " -"``test-page-cache-growth``, ``test-user-return``, ``test-syscall-io``, ``test-kernel-host``, and " -"``test-kernel-ownership`` remain here, delegating to kernel-owned Make entry points without " -"copying the kernel test list. ``test-legacy`` likewise delegates targeted kernel regression groups" -" first, then runs this repository's Unix IPC and userspace syscall-header checks." +"ReliefOS owns application, runtime, package, installer, image and full-" +"system tests. ReliefNT owns kernel tests and native ABI probes. The main " +"repository uses the kernel's Make entry points or probe sources for " +"integration. ``tools/test_test_ownership.py`` checks those boundaries." msgid "" -"来宾启动、SDK 编译和应用互操作仍由本仓编排;需要原生 ABI 探针时,直接消费 ``kernel/reliefnt/tools/tests/`` 内的源文件;公开 UAPI 的消费和完整系统的" -" 构建集成检查仍属于主仓。" +"签名、安装 ISO、磁盘启动与内核滚动升级使用 ``tests/integration/arch-*`` " +"的实际脚本。``tools/test_arch_systemd_qemu.py`` 通过只读夹具磁盘和私有 overlay " +"运行来宾检查,默认保留串口与结果。" msgstr "" -"This repository still orchestrates guest boot, SDK compilation, and application interoperability. " -"When native ABI probes are needed, consume sources directly from ``kernel/reliefnt/tools/tests/``." -" Public-UAPI consumption and full-system build-integration checks also remain here." +"Signing, installer ISO, disk boot and kernel rolling upgrades use the " +"scripts in ``tests/integration/arch-*``. " +"``tools/test_arch_systemd_qemu.py`` runs guest checks with read-only " +"fixtures and a private overlay. It retains the serial logs and results by" +" default." msgid "运行证据" msgstr "Runtime evidence" msgid "" -"QEMU 测试使用私有磁盘,保留源镜像与注入载荷摘要、完整串口、返回码、 截图和独立读回。界面出现不等于交互成功;编译成功不等于镜像含有新文件。 Installer 还须覆盖安装后的无 ISO " -"启动;VT、权限、错误路径分别检查。 QEMU 的 VMware 显卡型号不能替代 VMware 真实运行证明。 现有失败见 :doc:`../admin-" -"guide/limitations`;不重生成 golden 掩盖差异。" +"QEMU 测试使用私有磁盘,保留源镜像与注入载荷摘要、完整串口、返回码、 " +"独立读回,图形回归按需保留截图。界面出现不等于交互成功;编译成功不等于镜像含有新文件。 Installer 还须覆盖安装后的无 ISO " +"启动;VT、权限、错误路径分别检查。 QEMU 的 VMware 显卡型号不能替代 VMware 真实运行证明。 现有失败见 :doc" +":`../admin-guide/limitations`;不重生成 golden 掩盖差异。" msgstr "" -"QEMU tests use private disks and preserve source-image and injected-payload digests, complete " -"serial logs, return codes, screenshots, and independent readback. A visible UI does not prove " -"successful interaction; successful compilation does not prove new files reached the image. " -"Installer tests must also boot the installed system without an ISO, checking VT, permissions, and " -"error paths separately. QEMU's VMware graphics model cannot replace real VMware evidence. Existing" -" failures are in :doc:`../admin-guide/limitations`; do not regenerate golden data to hide " -"differences." +"QEMU uses private disks. Keep source and injected file digests, full " +"serial logs, exit codes and independent readback. Capture graphical " +"evidence when needed. For installer changes, verify boot without the ISO " +"after installation, and check VT, permissions and error paths " +"individually. Verify VMware separately. See :doc:`../admin-" +"guide/limitations` for existing failures and preserve baseline fixtures " +"to expose differences." msgid "Xorg 渲染回归" msgstr "Xorg rendering regressions" msgid "" -"``tools/tests/xorg_render_runtime_probe.c`` 是在隔离 X server 上运行的维护 探针,不安装到产品镜像。它使用 POSIX C 和 " -"Xlib。可在具备 C 编译器、X11 开发头及库的 ReliefOS 来宾内编译并运行::" +"``tools/tests/xorg_render_runtime_probe.c`` 是在隔离 X server 上运行的维护 " +"探针,不安装到产品镜像。它使用 POSIX C 和 Xlib。可在具备 C 编译器、X11 开发头及库的 ReliefOS 来宾内编译并运行::" msgstr "" -"``tools/tests/xorg_render_runtime_probe.c`` is a maintenance probe for an isolated X server, not " -"installed in product images. It uses POSIX C and Xlib and can be compiled and run in a ReliefOS " -"guest with a C compiler and X11 development headers/libraries::" +"``tools/tests/xorg_render_runtime_probe.c`` is a maintenance probe for an" +" isolated X server, not installed in product images. It uses POSIX C and " +"Xlib and can be compiled and run in a ReliefOS guest with a C compiler " +"and X11 development headers/libraries::" msgid "" -"``--wait`` 只验证可连接 X server;``--wait-wm`` 等待窗口管理器发布 ``_NET_SUPPORTING_WM_CHECK`` " -"并检查目标窗口回指自身,拒绝失效属性;两者都 不能替代绘制测试。普通模式检查同步 矩形绘制、批量绘制、重叠滚动、窗口移动和 Pixmap 创建/复制/销毁;关键 阶段以 XGetImage " -"验证像素。X 错误、错误像素和分配失败均使探针失败。 独立 heartbeat 进程每两秒输出时间,供外部超时监视器检查系统是否仍响应。" +"``--wait`` 只验证可连接 X server;``--wait-wm`` 等待窗口管理器发布 " +"``_NET_SUPPORTING_WM_CHECK`` 并检查目标窗口回指自身,拒绝失效属性;两者都 不能替代绘制测试。普通模式检查同步 " +"矩形绘制、批量绘制、重叠滚动、窗口移动和 Pixmap 创建/复制/销毁;关键 阶段以 XGetImage 验证像素。X " +"错误、错误像素和分配失败均使探针失败。 独立 heartbeat 进程每两秒输出时间,供外部超时监视器检查系统是否仍响应。" msgstr "" -"``--wait`` checks only X-server connectivity. ``--wait-wm`` waits for ``_NET_SUPPORTING_WM_CHECK``" -" and checks that the target window points back to itself, rejecting stale properties. Neither " -"replaces rendering tests. Normal mode checks synchronous and batched rectangle drawing, " -"overlapping scrolling, window movement, and Pixmap creation/copy/destruction; XGetImage verifies " -"pixels at key stages. X errors, wrong pixels, or allocation failures fail the probe. An " -"independent heartbeat process prints time every two seconds so an external timeout monitor can " -"check system responsiveness." +"``--wait`` checks only X-server connectivity. ``--wait-wm`` waits for " +"``_NET_SUPPORTING_WM_CHECK`` and checks that the target window points " +"back to itself, rejecting stale properties. Neither replaces rendering " +"tests. Normal mode checks synchronous and batched rectangle drawing, " +"overlapping scrolling, window movement, and Pixmap " +"creation/copy/destruction; XGetImage verifies pixels at key stages. X " +"errors, wrong pixels, or allocation failures fail the probe. An " +"independent heartbeat process prints time every two seconds so an " +"external timeout monitor can check system responsiveness." msgid "" -"探针的窗口使用 override_redirect,窗口移动不等于验证 IceWM 鼠标拖动。 普通模式要求窗口无遮挡;XGetImage 不保证返回被遮挡且无 backing store 的 " -"窗口区域内容,见 `Xlib 图像读回约定 `_。 " -"与其他桌面应用并发时,使用 ``--offscreen`` 在独占 Pixmap 上 绘制和校验,并复制首尾画面到窗口,避免把遮挡/Expose 当作绘制错误。 同步绘制包含 X11 " -"往返开销;批量绘制包含末尾读回,不能将它们解释为纯 GPU 吞吐量。计时只用于诊断,返回零也不表示达到了某个性能门槛。" +"探针的窗口使用 override_redirect,窗口移动不等于验证 IceWM 鼠标拖动。 普通模式要求窗口无遮挡;XGetImage " +"不保证返回被遮挡且无 backing store 的 窗口区域内容,见 `Xlib 图像读回约定 " +"`_。" +" 与其他桌面应用并发时,使用 ``--offscreen`` 在独占 Pixmap 上 绘制和校验,并复制首尾画面到窗口,避免把遮挡/Expose" +" 当作绘制错误。 同步绘制包含 X11 往返开销;批量绘制包含末尾读回,不能将它们解释为纯 GPU " +"吞吐量。计时只用于诊断,返回零也不表示达到了某个性能门槛。" msgstr "" -"Probe windows use override_redirect; moving them does not validate IceWM mouse dragging. Normal " -"mode requires unobscured windows: XGetImage does not guarantee contents of obscured regions " -"without backing store; see `Xlib image readback contract " -"`_. Alongside other " -"desktop applications, use ``--offscreen`` to draw and validate in an exclusive Pixmap, copying " -"initial/final frames to the window so obscuration/Expose is not mistaken for drawing errors. " -"Synchronous drawing includes X11 round trips; batched drawing includes final readback, so neither " -"measures pure GPU throughput. Timing is diagnostic only; zero exit status does not imply a " -"performance threshold was met." +"Probe windows use override_redirect; moving them does not validate IceWM " +"mouse dragging. Normal mode requires unobscured windows: XGetImage does " +"not guarantee contents of obscured regions without backing store; see " +"`Xlib image readback contract " +"`_." +" Alongside other desktop applications, use ``--offscreen`` to draw and " +"validate in an exclusive Pixmap, copying initial/final frames to the " +"window so obscuration/Expose is not mistaken for drawing errors. " +"Synchronous drawing includes X11 round trips; batched drawing includes " +"final readback, so neither measures pure GPU throughput. Timing is " +"diagnostic only; zero exit status does not imply a performance threshold " +"was met." msgid "" "比较性能时使用相同探针、桌面配置、分辨率、vCPU 和内存,等待 IceWM 就绪后重复采样,顺序运行各台 VM。软件对照使用 " @@ -177,11 +139,14 @@ msgstr "" "separately from font and library loading at startup." msgid "" -"全量 syscall-trace 会向串口输出大量日志,显著扰动测试,应仅用于定性 定位;其结果不能进入性能对照。超时、探针失败、Xorg 退出和 Kernel Panic " -"要分别记录。稳定性测试应另行叠加桌面应用、CPU/内存压力与重复启动, 并保留 panic 的 Reason、RIP 和调用栈;短时无崩溃不构成永久稳定性保证。" +"全量 syscall-trace 会向串口输出大量日志,显著扰动测试,应仅用于定性 定位;其结果不能进入性能对照。超时、探针失败、Xorg 退出和" +" Kernel Panic 要分别记录。稳定性测试应另行叠加桌面应用、CPU/内存压力与重复启动, 并保留 panic 的 Reason、RIP " +"和调用栈;短时无崩溃不构成永久稳定性保证。" msgstr "" -"Full syscall-trace produces heavy serial logging and significantly perturbs tests; use it only for" -" qualitative diagnosis, never performance comparisons. Record timeouts, probe failures, Xorg " -"exits, and Kernel Panics separately. Stability tests should additionally combine desktop " -"applications, CPU/memory pressure, and repeated boots, retaining panic Reason, RIP, and call " -"stacks. A short crash-free period is no guarantee of permanent stability." +"Full syscall-trace produces heavy serial logging and significantly " +"perturbs tests; use it only for qualitative diagnosis, never performance " +"comparisons. Record timeouts, probe failures, Xorg exits, and Kernel " +"Panics separately. Stability tests should additionally combine desktop " +"applications, CPU/memory pressure, and repeated boots, retaining panic " +"Reason, RIP, and call stacks. A short crash-free period is no guarantee " +"of permanent stability." diff --git a/Documentation/locale/en/LC_MESSAGES/userspace-api/abi.po b/Documentation/locale/en/LC_MESSAGES/userspace-api/abi.po index 623c5436..e1a6f496 100644 --- a/Documentation/locale/en/LC_MESSAGES/userspace-api/abi.po +++ b/Documentation/locale/en/LC_MESSAGES/userspace-api/abi.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "ABI 与系统调用" msgstr "ABI and system calls" @@ -19,115 +21,161 @@ msgid "入口与错误" msgstr "Entry points and errors" msgid "" -"x86_64 使用 Linux syscall 编号和寄存器约定:rax 为编号,参数为 rdi/rsi/rdx/r10/r8/r9,返回负 errno 表示失败。未知接口返回 ENOSYS; " -"应用不能从一个编号存在推断其全部 Linux 行为。POSIX 用户态应优先使用 libc。 指针、容量、枚举、版本及授权由内核最终检查。" +"x86_64 使用 Linux syscall 编号和寄存器约定:rax 为编号,参数为 rdi/rsi/rdx/r10/r8/r9,返回负 " +"errno 表示失败。未知接口返回 ENOSYS; 应用不能从一个编号存在推断其全部 Linux 行为。POSIX 用户态应优先使用 libc。 " +"指针、容量、枚举、版本及授权由内核最终检查。" msgstr "" -"x86_64 uses Linux syscall numbers and register conventions: rax holds the number, " -"rdi/rsi/rdx/r10/r8/r9 hold arguments, and a negative errno return indicates failure. Unknown " -"interfaces return ENOSYS; applications must not infer complete Linux behavior from the existence " -"of a number. POSIX userspace should prefer libc. The kernel performs final checks of pointers, " -"capacities, enumerations, versions, and authorization." +"x86_64 uses Linux syscall numbers and register conventions: rax holds the" +" number, rdi/rsi/rdx/r10/r8/r9 hold arguments, and a negative errno " +"return indicates failure. Unknown interfaces return ENOSYS; applications " +"must not infer complete Linux behavior from the existence of a number. " +"POSIX userspace should prefer libc. The kernel performs final checks of " +"pointers, capacities, enumerations, versions, and authorization." -msgid "系统调用声明与编号位于内核导出的 UAPI,公开扩展位于主仓 include/reliefos。 用户态只消费 headers_install 的白名单结果,不复制内核私有布局。" +msgid "" +"系统调用声明与编号位于内核导出的 UAPI,公开扩展位于主仓 include/reliefos。 用户态只消费 headers_install " +"的白名单结果,不复制内核私有布局。" msgstr "" -"System-call declarations and numbers are in the kernel-exported UAPI; public extensions are in " -"this repository's include/reliefos. Userspace consumes only the allowlisted headers_install " -"output, without copying private kernel layouts." +"System-call declarations and numbers are in the kernel-exported UAPI; " +"public extensions are in this repository's include/reliefos. Userspace " +"consumes only the allowlisted headers_install output, without copying " +"private kernel layouts." msgid "版本与兼容" msgstr "Versions and compatibility" msgid "" -"公开结构用定宽字段;扩展要处理调用方大小、版本和错误,不传内核指针。 规范扩展库为 ``libreliefos.so.2``,旧 ``libleonos.so.2`` 是独立兼容库, " -"不能简单把旧库变成新库符号链接。既有 leonos 转发头、符号与冻结协议值在 明确支持处保留,不代表允许新增旧命名接口。" +"公开结构用定宽字段;扩展要处理调用方大小、版本和错误,不传内核指针。 规范扩展库为 ``libreliefos.so.2``,公共头位于 " +"````。 应用需使用 glibc 工具链和当前开发包重新链接。" msgstr "" -"Public structures use fixed-width fields; extensions must handle caller size, version, and errors " -"without passing kernel pointers. The canonical extension library is ``libreliefos.so.2``; old " -"``libleonos.so.2`` is a separate compatibility library and cannot simply become a symlink to the " -"new library. Existing leonos forwarding headers, symbols, and frozen protocol values remain where " -"explicitly supported; this does not permit adding interfaces with old names." +"Public structures use fixed-width fields. Extensions must account for " +"caller size, version and errors and keep kernel pointers private. The " +"extension library is ``libreliefos.so.2``, with public headers under " +"````. Relink applications with glibc and the current " +"development package." msgid "" -"早期产品激活接口已退役:不再提供联网验证、离线密钥、许可证状态或对应的 旧名称别名,SDK 也不再导出这些声明。依赖旧激活接口的应用需要移除调用后 " -"重新编译;兼容验证将这组接口列为已退役,要求当前库中不存在这些符号。 历史 ABI 基线保留原记录。独立的硬件信息接口与 标准 DMI/sysfs 查询继续提供,不涉及产品激活。" -msgstr "" -"Early product-activation interfaces are retired: online verification, offline keys, license " -"status, and corresponding old-name aliases are no longer provided, and the SDK no longer exports " -"their declarations. Applications depending on them must remove calls and recompile. Compatibility " -"validation marks these interfaces as retired and requires their symbols to be absent from current " -"libraries. Historical ABI baselines retain their records. Separate hardware-information interfaces" -" and standard DMI/sysfs queries remain available and do not involve product activation." +"早期产品激活接口已退役:不再提供联网验证、离线密钥、许可证状态或对应的 旧名称别名,SDK 也不再导出这些声明。依赖旧激活接口的应用需要移除调用后" +" 重新编译;兼容验证将这组接口列为已退役,要求当前库中不存在这些符号。 历史 ABI 基线保留原记录。独立的硬件信息接口与 标准 " +"DMI/sysfs 查询继续提供,不涉及产品激活。" +msgstr "" +"Early product-activation interfaces are retired: online verification, " +"offline keys, license status, and corresponding old-name aliases are no " +"longer provided, and the SDK no longer exports their declarations. " +"Applications depending on them must remove calls and recompile. " +"Compatibility validation marks these interfaces as retired and requires " +"their symbols to be absent from current libraries. Historical ABI " +"baselines retain their records. Separate hardware-information interfaces " +"and standard DMI/sysfs queries remain available and do not involve " +"product activation." msgid "" -"驱动服务表当前为版本 2、304 字节;测试保留 168 字节历史前缀并单独冻结 版本 2 的追加字段。旧版本驱动描述符在初始化前拒绝,不能将前缀保留视为 旧驱动二进制兼容;见 " -":doc:`../admin-guide/limitations`。 调用约定一致不等于所有结构布局或行为已完整认证。" -msgstr "" -"The driver service table is currently version 2 and 304 bytes. Tests retain the historical " -"168-byte prefix and separately freeze version 2's appended fields. Old-version driver descriptors " -"are rejected before initialization; preserving the prefix does not establish binary compatibility " -"with old drivers. See :doc:`../admin-guide/limitations`. Matching calling conventions do not " -"constitute full certification of all structure layouts or behavior." +"驱动服务表当前为版本 2、304 字节;测试保留 168 字节历史前缀并单独冻结 版本 2 " +"的追加字段。旧版本驱动描述符在初始化前拒绝,不能将前缀保留视为 旧驱动二进制兼容;见 :doc:`../admin-" +"guide/limitations`。 调用约定一致不等于所有结构布局或行为已完整认证。" +msgstr "" +"The driver service table is currently version 2 and 304 bytes. Tests " +"retain the historical 168-byte prefix and separately freeze version 2's " +"appended fields. Old-version driver descriptors are rejected before " +"initialization; preserving the prefix does not establish binary " +"compatibility with old drivers. See :doc:`../admin-guide/limitations`. " +"Matching calling conventions do not constitute full certification of all " +"structure layouts or behavior." msgid "进程、时间与描述符" msgstr "Processes, time, and descriptors" msgid "" -"execve/execveat 的参数、环境和初始栈限制由 ReliefNT 的现行契约定义; fd 时间戳操作按打开的 inode 身份执行。文件访问模式、O_PATH 和能力不能绕过。 " -"vDSO 提供已实现的时间接口,失败或不支持的时钟保留 syscall 路线。 源文件与运行模型见内核 ``Documentation/userspace-api/``。" -msgstr "" -"ReliefNT's current contract defines execve/execveat argument, environment, and initial-stack " -"limits; fd timestamp operations act on the identity of the opened inode. File access modes, " -"O_PATH, and capabilities cannot be bypassed. The vDSO provides implemented time interfaces, " -"retaining the syscall path for failures or unsupported clocks. For sources and the runtime model, " -"see the kernel's ``Documentation/userspace-api/``." +"execve/execveat 的参数、环境和初始栈限制由 ReliefNT 的现行契约定义; fd 时间戳操作按打开的 inode " +"身份执行。文件访问模式、O_PATH 和能力不能绕过。 vDSO 提供已实现的时间接口,失败或不支持的时钟保留 syscall 路线。 " +"源文件与运行模型见内核 ``Documentation/userspace-api/``。" +msgstr "" +"ReliefNT's current contract defines execve/execveat argument, " +"environment, and initial-stack limits; fd timestamp operations act on the" +" identity of the opened inode. File access modes, O_PATH, and " +"capabilities cannot be bypassed. The vDSO provides implemented time " +"interfaces, retaining the syscall path for failures or unsupported " +"clocks. For sources and the runtime model, see the kernel's " +"``Documentation/userspace-api/``." msgid "X11 应用通过 Xorg 通信。未知或旧兼容路径不能当作新的公开接口。" msgstr "" -"X11 applications communicate through Xorg. Unknown or old compatibility paths must not be treated " -"as new public interfaces." - -msgid "兼容名称分类" -msgstr "Compatibility-name categories" +"X11 applications communicate through Xorg. Unknown or old compatibility " +"paths must not be treated as new public interfaces." -msgid "品牌检查对旧名称按精确文件路径登记,不使用整目录豁免:" -msgstr "Brand checks register old names by exact file path, without directory-wide exemptions:" - -msgid "compatibility:已有符号、SONAME、磁盘/协议字节值及转发头。" -msgstr "" -"compatibility: existing symbols, SONAMEs, disk/protocol byte values, and forwarding headers." +msgid "带进程文件描述符的快照" +msgstr "Snapshots with process file descriptors" -msgid "history:明确的历史事实或源码迁移映射,不是当前产品显示名。" +msgid "" +"```` 中的 ``reliefos_task_snapshot_pidfds()`` 和原有 " +"``reliefos_task_snapshot()`` 使用相同的进程记录和时间戳约定。调用者为 ``tasks`` 和 ``pidfds`` " +"各提供至少 ``capacity`` 个元素;成功返回的行数同时 适用于两个数组。每一行的 ``pidfds`` 值是带 " +"``FD_CLOEXEC`` 的独立描述符, 或在无法取得稳定描述符时为 ``-1``。调用者负责关闭返回范围内的所有非负值。" msgstr "" -"history: explicit historical facts or source-migration mappings, not current product display " -"names." +"``reliefos_task_snapshot_pidfds()`` in ```` uses the " +"same process records and timestamp conventions as " +"``reliefos_task_snapshot()``. Provide at least ``capacity`` elements in " +"each of ``tasks`` and ``pidfds``. On success, the returned row count " +"applies to both arrays. Each entry in ``pidfds`` is a separate descriptor" +" with ``FD_CLOEXEC``, or ``-1`` if a stable descriptor is unavailable. " +"The caller must close every nonnegative descriptor in the returned range." -msgid "external-url:实际仍使用的外部 URL,不能未经迁移擅自改名。" +msgid "" +"任务管理器用描述符绑定选中的进程。打开结束任务确认框时,它复制该描述符, 不因列表刷新改变目标;如果进程已退出或描述符不可用,不退回按数字 PID" +" 发送信号。" msgstr "" -"external-url: external URLs still in actual use, which must not be renamed without migration." +"Task Manager identifies the selected process by its descriptor. It " +"duplicates the descriptor before opening the End Task confirmation, so " +"refreshing the list cannot change the target. If the process has exited " +"or no descriptor is available, Task Manager does not fall back to " +"signaling a numeric PID." -msgid "attribution:第三方作者、许可和来源原文。" -msgstr "attribution: original third-party authorship, license, and provenance text." +msgid "按任务选择 uname 系统名" +msgstr "Selecting the uname system name per task" -msgid "migration:尚待完成的过渡项,严格发布检查必须单独审阅。" -msgstr "migration: unfinished transitions requiring separate review in strict release checks." +msgid "" +"导出头 ```` 定义 ``RELIEFOS_PR_SET_UNAME_LINUX`` " +"(``0x52550001``)和 ``RELIEFOS_PR_GET_UNAME_LINUX``(``0x52550002``)。 使用 " +"libc 的 ``prctl`` 调用,无需额外用户态包装或特权。 SET 的第二个参数为 ``0UL``(原生)或 " +"``1UL``(Linux),其余参数必须 为零;GET 的四个参数必须为零,返回当前的 0 或 1。 非法值或非零保留参数返回 " +"``EINVAL``,不更改状态。" +msgstr "" +"The exported header ```` defines " +"``RELIEFOS_PR_SET_UNAME_LINUX`` (``0x52550001``) and " +"``RELIEFOS_PR_GET_UNAME_LINUX`` (``0x52550002``). Use libc's ``prctl`` " +"without an extra userspace wrapper or privileges. SET takes ``0UL`` " +"(native) or ``1UL`` (Linux) as its second argument; all remaining " +"arguments must be zero. GET requires four zero arguments and returns the " +"current 0 or 1 selection. Invalid values or nonzero reserved arguments " +"return ``EINVAL`` without changing state." -msgid "文档迁移只移除已删除文件的登记;无关的既有失败不因目录改名而豁免。" +msgid "" +"该选择针对调用任务,随 fork/clone 复制并跨 exec 保留;修改某任务的选择 不会影响已存在的其他任务。默认关闭,仅改变 " +"``uname(2)`` 的 ``sysname``,保留其他字段和全局内核信息。SDK 的 headers_install " +"白名单同时导出此头;使用方式见 :doc:`../admin-guide/linuxuname`。" msgstr "" -"Documentation migration removes registrations only for deleted files; unrelated existing failures " -"receive no exemption from a directory rename." +"The selection belongs to the calling task, is copied by fork/clone, and " +"survives exec. Changing one task never affects other existing tasks. It " +"is disabled by default and changes only ``uname(2)``'s ``sysname``, " +"preserving the other fields and global kernel information. The SDK " +"headers_install allowlist also exports this header. See :doc:`../admin-" +"guide/linuxuname` for usage." msgid "旧窗口接口移除" msgstr "Removal of old window interfaces" msgid "" -"旧自研窗口、鼠标区域、外观广播和 UI 工具包导出已移除,不再提供转发或空实现。 集成验证要求已移除的图形接口不存在,并继续检查 其他接口的布局、符号类型和 SONAME。进程/时钟与 fbdev" -" 辅助声明分别位于 ```` 和 ````,应用必须重新构建。" -msgstr "" -"Exports for old in-house windows, mouse regions, appearance broadcasts, and UI toolkits have been " -"removed, without forwarding or stub implementations. Integration validation requires removed " -"graphics interfaces to be absent and continues checking layouts, symbol types, and SONAMEs of " -"other interfaces. Process/clock and fbdev helper declarations are in ```` and " -"```` respectively; applications must rebuild." +"旧自研窗口、鼠标区域、外观广播和 UI 工具包导出已移除,不再提供转发或空实现。 集成验证要求已移除的图形接口不存在,并继续检查 " +"其他接口的布局、符号类型和 SONAME。进程/时钟与 fbdev 辅助声明分别位于 ```` 和 " +"````,应用必须重新构建。" +msgstr "" +"Exports for old in-house windows, mouse regions, appearance broadcasts, " +"and UI toolkits have been removed, without forwarding or stub " +"implementations. Integration validation requires removed graphics " +"interfaces to be absent and continues checking layouts, symbol types, and" +" SONAMEs of other interfaces. Process/clock and fbdev helper declarations" +" are in ```` and ```` respectively; " +"applications must rebuild." msgid "引导与构建接口收敛" msgstr "Consolidation of boot and build interfaces" @@ -135,86 +183,60 @@ msgstr "Consolidation of boot and build interfaces" msgid "" "开机前的交互诊断会话、独立载荷、SDK 控制接口和旧名称别名已整体移除。 系统信息应用只显示版本信息,内核直接进入正常初始化流程。 " "依赖已删除控制接口的程序必须移除调用并重新构建,不提供兼容空实现。 ABI 清单同步删除这些已退役条目,其余结构布局、常量和符号约定保持不变。 " -"内核安装包只要求内核与独立符号文件;版本化启动目录保留内核、initramfs 和 引导环境文件。构建调试配置、符号定位、串口日志及 panic 报告继续可用。" -msgstr "" -"Pre-boot interactive diagnostic sessions, standalone payloads, SDK control interfaces, and old-" -"name aliases have all been removed. The system-information application shows only version " -"information, and the kernel enters normal initialization directly. Programs depending on removed " -"control interfaces must remove calls and rebuild; no compatibility stubs are provided. ABI " -"manifests remove these retired entries while preserving all other structure layouts, constants, " -"and symbol conventions. Kernel installation packages require only the kernel and separate symbol " -"file; versioned boot directories retain the kernel, initramfs, and boot-environment file. Build " -"debug configurations, symbol lookup, serial logs, and panic reports remain available." +"内核安装包只要求内核与独立符号文件;版本化启动目录保留内核、initramfs 和 引导环境文件。构建调试配置、符号定位、串口日志及 panic " +"报告继续可用。" +msgstr "" +"Pre-boot interactive diagnostic sessions, standalone payloads, SDK " +"control interfaces, and old-name aliases have all been removed. The " +"system-information application shows only version information, and the " +"kernel enters normal initialization directly. Programs depending on " +"removed control interfaces must remove calls and rebuild; no " +"compatibility stubs are provided. ABI manifests remove these retired " +"entries while preserving all other structure layouts, constants, and " +"symbol conventions. Kernel installation packages require only the kernel " +"and separate symbol file; versioned boot directories retain the kernel, " +"initramfs, and boot-environment file. Build debug configurations, symbol " +"lookup, serial logs, and panic reports remain available." msgid "独立安装实例的引导接口" msgstr "Boot interfaces for independent installation instances" msgid "" -"```` 保持原有 ``reliefos_boot_install_options`` 布局及旧接口, 新增 " -"``reliefos_boot_prepare_instance`` 创建带所有权标记的根 PARTUUID 命名目录, ``reliefos_boot_validate_instance`` " -"只读核对该目录和物理 ESP 的实际 inode, ``reliefos_boot_install_instance_at_root`` 发布实例内核、菜单及独立 EFI 文件。 " -"新接口显式传入物理 ESP;``boot_dir`` 可为实例目录的 bind 挂载点。 目录遍历拒绝 symlink,未知目录内容不能被认作本安装器所有。 低层内核包发布还会核对实例标记中的 " -"PARTUUID 与实际根设备,防止跨实例更新。 原有直接挂载 ESP 到 ``/boot`` 的系统继续使用旧接口,不改变其现有文件布局。" -msgstr "" -"```` preserves the existing ``reliefos_boot_install_options`` layout and " -"old interfaces. New ``reliefos_boot_prepare_instance`` creates an ownership-marked directory named" -" by root PARTUUID; ``reliefos_boot_validate_instance`` performs read-only checks of that directory" -" and actual inodes on the physical ESP; ``reliefos_boot_install_instance_at_root`` publishes the " -"instance kernel, menu, and separate EFI file. New interfaces explicitly take the physical ESP; " -"``boot_dir`` may be a bind mount of the instance directory. Directory traversal rejects symlinks, " -"and unknown contents must not be treated as installer-owned. Low-level kernel-package publication " -"also checks the marker's PARTUUID against the actual root device to prevent cross-instance " -"updates. Existing systems mounting ESP directly on ``/boot`` continue using old interfaces without" -" changing their file layout." +"```` 保持原有 ``reliefos_boot_install_options`` " +"布局及旧接口, 新增 ``reliefos_boot_prepare_instance`` 创建带所有权标记的根 PARTUUID 命名目录, " +"``reliefos_boot_validate_instance`` 只读核对该目录和物理 ESP 的实际 inode, " +"``reliefos_boot_install_instance_at_root`` 发布实例内核、菜单及独立 EFI 文件。 新接口显式传入物理" +" ESP;``boot_dir`` 可为实例目录的 bind 挂载点。 目录遍历拒绝 symlink,未知目录内容不能被认作本安装器所有。 " +"低层内核包发布还会核对实例标记中的 PARTUUID 与实际根设备,防止跨实例更新。 原有直接挂载 ESP 到 ``/boot`` " +"的系统继续使用旧接口,不改变其现有文件布局。" +msgstr "" +"```` preserves the existing " +"``reliefos_boot_install_options`` layout and old interfaces. New " +"``reliefos_boot_prepare_instance`` creates an ownership-marked directory " +"named by root PARTUUID; ``reliefos_boot_validate_instance`` performs " +"read-only checks of that directory and actual inodes on the physical ESP;" +" ``reliefos_boot_install_instance_at_root`` publishes the instance " +"kernel, menu, and separate EFI file. New interfaces explicitly take the " +"physical ESP; ``boot_dir`` may be a bind mount of the instance directory." +" Directory traversal rejects symlinks, and unknown contents must not be " +"treated as installer-owned. Low-level kernel-package publication also " +"checks the marker's PARTUUID against the actual root device to prevent " +"cross-instance updates. Existing systems mounting ESP directly on " +"``/boot`` continue using old interfaces without changing their file " +"layout." msgid "第三方库拆分" msgstr "Separation of third-party libraries" msgid "" -"zlib、libpng、mbedTLS 3 已从扩展库的对象集合移到各自官方共享库;公开的 ReliefOS 接口与旧 leonos 别名继续保留,链接器应显式链接使用的第三方库。旧扩展库偶然 " -"导出的厂商内部符号、旧私有 mbedTLS 配置及 ``sqlite.so.3`` VFS 不属于稳定兼容 接口。使用这些实现细节的程序须用 SDK 里的匹配头文件重编译;SQLite 使用标准 " +"zlib、libpng、mbedTLS 3 已从扩展库的对象集合移到各自官方共享库;公开的 ReliefOS " +"接口通过当前库导出,链接器应显式链接使用的第三方库。旧扩展库偶然 导出的厂商内部符号、旧私有 mbedTLS 配置及 " +"``sqlite.so.3`` VFS 不属于稳定兼容 接口。使用这些实现细节的程序须用 SDK 里的匹配头文件重编译;SQLite 使用标准 " "``libsqlite3.so.0`` POSIX VFS。历史 ABI 快照保持原样,兼容检查继续覆盖第一方接口。" msgstr "" -"zlib, libpng, and mbedTLS 3 have moved out of extension-library object sets into their official " -"shared libraries. Public ReliefOS interfaces and old leonos aliases remain; linkers should " -"explicitly link the third-party libraries used. Accidentally exported vendor-internal symbols, old" -" private mbedTLS configurations, and the ``sqlite.so.3`` VFS are not stable compatibility " -"interfaces. Programs relying on these implementation details must recompile with matching SDK " -"headers; SQLite uses standard ``libsqlite3.so.0`` POSIX VFS. Historical ABI snapshots stay " -"unchanged, and compatibility checks continue covering first-party interfaces." - -msgid "带进程文件描述符的快照" -msgstr "Snapshots with process file descriptors" - -msgid "" -"```` 中的 ``reliefos_task_snapshot_pidfds()`` 和原有 " -"``reliefos_task_snapshot()`` 使用相同的进程记录和时间戳约定。调用者为 ``tasks`` 和 ``pidfds`` " -"各提供至少 ``capacity`` 个元素;成功返回的行数同时 适用于两个数组。每一行的 ``pidfds`` 值是带 " -"``FD_CLOEXEC`` 的独立描述符, 或在无法取得稳定描述符时为 ``-1``。调用者负责关闭返回范围内的所有非负值。" -msgstr "" -"``reliefos_task_snapshot_pidfds()`` in ```` uses the " -"same process records and timestamp conventions as " -"``reliefos_task_snapshot()``. Provide at least ``capacity`` elements in " -"each of ``tasks`` and ``pidfds``. On success, the returned row count " -"applies to both arrays. Each entry in ``pidfds`` is a separate descriptor" -" with ``FD_CLOEXEC``, or ``-1`` if a stable descriptor is unavailable. " -"The caller must close every nonnegative descriptor in the returned range." - -msgid "" -"任务管理器用描述符绑定选中的进程。打开结束任务确认框时,它复制该描述符, 不因列表刷新改变目标;如果进程已退出或描述符不可用,不退回按数字 PID" -" 发送信号。" -msgstr "" -"Task Manager identifies the selected process by its descriptor. It " -"duplicates the descriptor before opening the End Task confirmation, so " -"refreshing the list cannot change the target. If the process has exited " -"or no descriptor is available, Task Manager does not fall back to " -"signaling a numeric PID." - -msgid "按任务选择 uname 系统名" -msgstr "Selecting the uname system name per task" - -msgid "导出头 ```` 定义 ``RELIEFOS_PR_SET_UNAME_LINUX`` (``0x52550001``)和 ``RELIEFOS_PR_GET_UNAME_LINUX``(``0x52550002``)。 使用 libc 的 ``prctl`` 调用,无需额外用户态包装或特权。 SET 的第二个参数为 ``0UL``(原生)或 ``1UL``(Linux),其余参数必须 为零;GET 的四个参数必须为零,返回当前的 0 或 1。 非法值或非零保留参数返回 ``EINVAL``,不更改状态。" -msgstr "The exported header ```` defines ``RELIEFOS_PR_SET_UNAME_LINUX`` (``0x52550001``) and ``RELIEFOS_PR_GET_UNAME_LINUX`` (``0x52550002``). Use libc's ``prctl`` without an extra userspace wrapper or privileges. SET takes ``0UL`` (native) or ``1UL`` (Linux) as its second argument; all remaining arguments must be zero. GET requires four zero arguments and returns the current 0 or 1 selection. Invalid values or nonzero reserved arguments return ``EINVAL`` without changing state." - -msgid "该选择针对调用任务,随 fork/clone 复制并跨 exec 保留;修改某任务的选择 不会影响已存在的其他任务。默认关闭,仅改变 ``uname(2)`` 的 ``sysname``,保留其他字段和全局内核信息。SDK 的 headers_install 白名单同时导出此头;使用方式见 :doc:`../admin-guide/linuxuname`。" -msgstr "The selection belongs to the calling task, is copied by fork/clone, and survives exec. Changing one task never affects other existing tasks. It is disabled by default and changes only ``uname(2)``'s ``sysname``, preserving the other fields and global kernel information. The SDK headers_install allowlist also exports this header. See :doc:`../admin-guide/linuxuname` for usage." +"zlib, libpng and mbedTLS 3 use their official shared libraries. ReliefOS " +"APIs are exported from the current library. Explicitly link any third-" +"party libraries your code uses. Rebuild code that used vendor internals, " +"private mbedTLS settings or the former SQLite VFS with the matching " +"headers. SQLite uses the standard ``libsqlite3.so.0`` POSIX VFS. First-" +"party interfaces remain covered by ABI checks." diff --git a/Documentation/locale/en/LC_MESSAGES/userspace-api/audio.po b/Documentation/locale/en/LC_MESSAGES/userspace-api/audio.po index f983fefc..6a6bb1af 100644 --- a/Documentation/locale/en/LC_MESSAGES/userspace-api/audio.po +++ b/Documentation/locale/en/LC_MESSAGES/userspace-api/audio.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "音频接口" msgstr "Audio interfaces" @@ -19,112 +21,131 @@ msgid "设备与行为" msgstr "Devices and behavior" msgid "" -"音频支持取决于控制器、codec、路由和当前构建。ALSA/OSS 兼容接口只承诺 实际实现的格式与操作,不因使用上游 alsa-lib 就自动符合完整 Linux 音频 ABI。 " -"缓冲写入需处理非阻塞短写、回压、排空、占用及错误,不能丢弃未完成数据。 应用应明确区分静音、无设备和播放失败。" +"音频支持取决于控制器、codec、路由和当前构建。ALSA/OSS 兼容接口只承诺 实际实现的格式与操作,不因使用上游 alsa-lib " +"就自动符合完整 Linux 音频 ABI。 缓冲写入需处理非阻塞短写、回压、排空、占用及错误,不能丢弃未完成数据。 " +"应用应明确区分静音、无设备和播放失败。" msgstr "" -"Audio support depends on the controller, codec, routing, and current build. ALSA/OSS compatibility" -" interfaces promise only implemented formats and operations; using upstream alsa-lib does not " -"automatically imply full Linux audio ABI conformance. Buffered writes must handle nonblocking " -"short writes, backpressure, draining, occupancy, and errors without dropping unfinished data. " -"Applications should clearly distinguish mute, missing devices, and playback failure." +"Audio support depends on the controller, codec, routing, and current " +"build. ALSA/OSS compatibility interfaces promise only implemented formats" +" and operations; using upstream alsa-lib does not automatically imply " +"full Linux audio ABI conformance. Buffered writes must handle nonblocking" +" short writes, backpressure, draining, occupancy, and errors without " +"dropping unfinished data. Applications should clearly distinguish mute, " +"missing devices, and playback failure." msgid "验证状态" msgstr "Validation status" msgid "" -"机器可读的音频支持清单位于 ``kernel/reliefnt/configs/audio-abi-support.json``。 这份数据在文档整理时保持内容不变;其 " -"guest_runtime/upstream_alsa 语义及 既有断言冲突仍需按原问题处理,不能通过修改标志掩盖。 ReliefPlayer 的具体编解码和输出范围见 " +"机器可读的音频支持清单位于 ``kernel/reliefnt/configs/audio-abi-support.json``。 " +"这份数据在文档整理时保持内容不变;其 guest_runtime/upstream_alsa 语义及 " +"既有断言冲突仍需按原问题处理,不能通过修改标志掩盖。 ReliefPlayer 的具体编解码和输出范围见 " ":doc:`../applications/reliefplayer`。" msgstr "" -"The machine-readable audio support manifest is ``kernel/reliefnt/configs/audio-abi-support.json``." -" Documentation reorganization leaves its contents unchanged. Its guest_runtime/upstream_alsa " -"semantics and existing assertion conflicts still require resolution as the original issues; " -"changing flags must not hide them. For ReliefPlayer's specific codec and output scope, see " -":doc:`../applications/reliefplayer`." +"The machine-readable audio support manifest is ``kernel/reliefnt/configs" +"/audio-abi-support.json``. Documentation reorganization leaves its " +"contents unchanged. Its guest_runtime/upstream_alsa semantics and " +"existing assertion conflicts still require resolution as the original " +"issues; changing flags must not hide them. For ReliefPlayer's specific " +"codec and output scope, see :doc:`../applications/reliefplayer`." msgid "控制设备与 soundctl" msgstr "Control devices and soundctl" -msgid "使用 ``soundctl cards`` 列出卡号,``soundctl --card 0 controls`` 列出当前设备 实际提供的名称、ID、范围和通道数。示例::" +msgid "" +"使用 ``soundctl cards`` 列出卡号,``soundctl --card 0 controls`` 列出当前设备 " +"实际提供的名称、ID、范围和通道数。示例::" msgstr "" -"Use ``soundctl cards`` to list card numbers and ``soundctl --card 0 controls`` to list the names, " -"IDs, ranges, and channel counts actually offered by the device. Example::" +"Use ``soundctl cards`` to list card numbers and ``soundctl --card 0 " +"controls`` to list the names, IDs, ranges, and channel counts actually " +"offered by the device. Example::" msgid "" "名称依卡而变。Master Playback Switch 的 on 表示打开,而 Playback Mute 的 on " -"表示静音。百分比按真实范围和步长取整;单值广播所有通道,多值必须匹配通道数。 枚举接受查询到的标签或项目 ID。route headphones 与 capture-source " -"microphone 依赖 Output Source/Input Source 控件,缺少时返回 ENOTSUP,不假定固定项目编号。" +"表示静音。百分比按真实范围和步长取整;单值广播所有通道,多值必须匹配通道数。 枚举接受查询到的标签或项目 ID。route headphones " +"与 capture-source microphone 依赖 Output Source/Input Source 控件,缺少时返回 " +"ENOTSUP,不假定固定项目编号。" msgstr "" -"Names vary by card. on for Master Playback Switch means enabled, whereas on for Playback Mute " -"means muted. Percentages are rounded to actual ranges and steps; a single value broadcasts to all " -"channels, while multiple values must match the channel count. Enumerations accept queried labels " -"or item IDs. route headphones and capture-source microphone depend on Output Source/Input Source " -"controls and return ENOTSUP if absent; fixed item numbers are not assumed." +"Names vary by card. on for Master Playback Switch means enabled, whereas " +"on for Playback Mute means muted. Percentages are rounded to actual " +"ranges and steps; a single value broadcasts to all channels, while " +"multiple values must match the channel count. Enumerations accept queried" +" labels or item IDs. route headphones and capture-source microphone " +"depend on Output Source/Input Source controls and return ENOTSUP if " +"absent; fixed item numbers are not assumed." msgid "" -"访问遵守设备节点 DAC。当前默认节点由 root 拥有、模式 0666,管理员可通过 chmod/chown 限制;播放与录音节点的 DAC 独立。控制元素的锁属于打开的文件描述 " -"对象(OFD),dup/fork 共享该对象;其他 OFD 不能窃取锁,最后引用关闭时释放。 事件订阅与排队也依附 OFD。不要按同名进程、路径或裸 fd 数字推断所有权。" +"访问遵守设备节点 DAC。当前默认节点由 root 拥有、模式 0666,管理员可通过 chmod/chown 限制;播放与录音节点的 DAC " +"独立。控制元素的锁属于打开的文件描述 对象(OFD),dup/fork 共享该对象;其他 OFD 不能窃取锁,最后引用关闭时释放。 " +"事件订阅与排队也依附 OFD。不要按同名进程、路径或裸 fd 数字推断所有权。" msgstr "" -"Access follows device-node DAC. Default nodes are currently root-owned with mode 0666; " -"administrators may restrict them with chmod/chown. Playback and recording nodes have independent " -"DAC. Control-element locks belong to the open file description (OFD), shared by dup/fork; other " -"OFDs cannot steal them, and the final close releases them. Event subscriptions and queues also " -"belong to the OFD. Do not infer ownership from process names, paths, or bare fd numbers." +"Access follows device-node DAC. Default nodes are currently root-owned " +"with mode 0666; administrators may restrict them with chmod/chown. " +"Playback and recording nodes have independent DAC. Control-element locks " +"belong to the open file description (OFD), shared by dup/fork; other OFDs" +" cannot steal them, and the final close releases them. Event " +"subscriptions and queues also belong to the OFD. Do not infer ownership " +"from process names, paths, or bare fd numbers." msgid "共享 PCM 与状态" msgstr "Shared PCM and state" msgid "" -"默认播放使用 dmix、录音使用 dsnoop,硬件端为 hw:0,0。当前配置周期 8192 帧、 硬件缓冲 65536 帧,48 kHz 下约 170.7 ms 周期及 1.365 s " -"缓冲,有明显延迟成本。 共享服务持有对应方向的硬件租约,直接打开 hw:0,0 可能返回 EBUSY。 没有录音端点时不会伪造 capture 节点。" +"默认播放使用 dmix、录音使用 dsnoop,硬件端为 hw:0,0。当前配置周期 8192 帧、 硬件缓冲 65536 帧,48 kHz 下约" +" 170.7 ms 周期及 1.365 s 缓冲,有明显延迟成本。 共享服务持有对应方向的硬件租约,直接打开 hw:0,0 可能返回 EBUSY。" +" 没有录音端点时不会伪造 capture 节点。" msgstr "" -"Playback defaults to dmix and recording to dsnoop, with hw:0,0 as the hardware endpoint. Current " -"configuration uses an 8192-frame period and 65536-frame hardware buffer: about 170.7 ms and 1.365 " -"s at 48 kHz, a substantial latency cost. Shared services hold hardware leases for the " -"corresponding direction; opening hw:0,0 directly may return EBUSY. No capture node is fabricated " -"when a recording endpoint is absent." - -msgid "" -"OpenRC reliefos-audio 服务在存在时恢复 /var/lib/alsa/asound.state;停止时先写 临时文件,再发布新状态,保存失败保留原状态。修改 " -"/etc/asound.conf 前先记录 设备、格式与运行日志,不用扩大缓冲掩盖有限流输出错误。" +"Playback defaults to dmix and recording to dsnoop, with hw:0,0 as the " +"hardware endpoint. Current configuration uses an 8192-frame period and " +"65536-frame hardware buffer: about 170.7 ms and 1.365 s at 48 kHz, a " +"substantial latency cost. Shared services hold hardware leases for the " +"corresponding direction; opening hw:0,0 directly may return EBUSY. No " +"capture node is fabricated when a recording endpoint is absent." + +msgid "音量和设备状态可通过 ALSA 工具查询或保存。修改 ``/etc/asound.conf`` 前先记录设备、格式与运行日志。" msgstr "" -"The OpenRC reliefos-audio service restores /var/lib/alsa/asound.state if present. On stop, it " -"writes a temporary file before publishing new state, preserving the original on save failure. " -"Before changing /etc/asound.conf, record devices, formats, and runtime logs; do not hide finite-" -"stream output errors by enlarging buffers." +"ALSA tools can inspect and save volume and device state. Record the " +"device, format and relevant logs before editing ``/etc/asound.conf``." msgid "错误处理与验收边界" msgstr "Error handling and acceptance boundaries" msgid "EAGAIN:非阻塞临时回压,保留正数短传输进度并按 poll 重试,保留 EINTR。" msgstr "" -"EAGAIN: temporary nonblocking backpressure; retain progress from positive short transfers, retry " -"according to poll, and preserve EINTR." +"EAGAIN: temporary nonblocking backpressure; retain progress from positive" +" short transfers, retry according to poll, and preserve EINTR." msgid "EPIPE:真实 XRUN,恢复前需 PREPARE;不能吞掉 XRUN 作为正常结束。" msgstr "" -"EPIPE: a real XRUN requiring PREPARE before recovery; do not swallow XRUN as normal completion." +"EPIPE: a real XRUN requiring PREPARE before recovery; do not swallow XRUN" +" as normal completion." msgid "EBUSY:可能是共享服务器或其他打开者持有独占硬件方向。" -msgstr "EBUSY: a shared server or another opener may hold the exclusive hardware direction." +msgstr "" +"EBUSY: a shared server or another opener may hold the exclusive hardware " +"direction." msgid "ENODEV/ENOENT:区分存在但不可用的兼容节点与缺失的真实端点。" msgstr "" -"ENODEV/ENOENT: distinguish an existing but unusable compatibility node from a missing real " -"endpoint." +"ENODEV/ENOENT: distinguish an existing but unusable compatibility node " +"from a missing real endpoint." msgid "非阻塞 DRAIN 还需观察 STATUS 到达 SETUP;完成通知的 POLLERR 不能单独变成 EIO, STATUS XRUN 仍是失败。" msgstr "" -"Nonblocking DRAIN also requires observing STATUS reaching SETUP. Completion-notification POLLERR " -"alone must not become EIO; STATUS XRUN still indicates failure." +"Nonblocking DRAIN also requires observing STATUS reaching SETUP. " +"Completion-notification POLLERR alone must not become EIO; STATUS XRUN " +"still indicates failure." msgid "" -"用 aplay -l、arecord -l、amixer -c 0 contents、设备权限及 HDA/PCM 日志定位。 完整有限流、重复关闭重开、长期 XRUN 清洁度与真实 VMware " -"HDA 可听性仍有未完成 验收;历史 EPIPE 与尾帧损失反例不能由一次重跑成功抹去。物理 codec 未验证。 AC97/ES1371 的窄 OSS 路线不等于 ALSA " +"用 aplay -l、arecord -l、amixer -c 0 contents、设备权限及 HDA/PCM 日志定位。 " +"完整有限流、重复关闭重开、长期 XRUN 清洁度与真实 VMware HDA 可听性仍有未完成 验收;历史 EPIPE " +"与尾帧损失反例不能由一次重跑成功抹去。物理 codec 未验证。 AC97/ES1371 的窄 OSS 路线不等于 ALSA " "卡支持,具体状态仍以支持清单与真实运行为准。" msgstr "" -"Diagnose with aplay -l, arecord -l, amixer -c 0 contents, device permissions, and HDA/PCM logs. " -"Acceptance remains incomplete for entire finite streams, repeated close/reopen, long-term absence " -"of XRUNs, and actual audible VMware HDA output. One successful rerun cannot erase historical EPIPE" -" and lost-tail-frame counterexamples. Physical codecs are unverified. The narrow AC97/ES1371 OSS " -"path does not imply ALSA card support; consult the support manifest and actual runs for status." +"Diagnose with aplay -l, arecord -l, amixer -c 0 contents, device " +"permissions, and HDA/PCM logs. Acceptance remains incomplete for entire " +"finite streams, repeated close/reopen, long-term absence of XRUNs, and " +"actual audible VMware HDA output. One successful rerun cannot erase " +"historical EPIPE and lost-tail-frame counterexamples. Physical codecs are" +" unverified. The narrow AC97/ES1371 OSS path does not imply ALSA card " +"support; consult the support manifest and actual runs for status." diff --git a/Documentation/locale/en/LC_MESSAGES/userspace-api/locale.po b/Documentation/locale/en/LC_MESSAGES/userspace-api/locale.po index 6adde219..5a7e0bf0 100644 --- a/Documentation/locale/en/LC_MESSAGES/userspace-api/locale.po +++ b/Documentation/locale/en/LC_MESSAGES/userspace-api/locale.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: en\n" "Language: en\n" +"Language-Team: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: Babel 2.18.0\n" msgid "语言、区域与资源" msgstr "Languages, locales, and resources" @@ -19,87 +21,110 @@ msgid "文本" msgstr "Text" msgid "" -"图形应用使用 UTF-8,中文和日语显示依赖随系统 staging 的 CJK 字体, 输入法由会话提供。 剪贴板、路径、文档格式和 GPT 名称分别处理编码,不能逐字节截断 Unicode。 " -"不要把可显示中文等同于完整 Unicode 分词、双向排版或 grapheme-break 支持。" +"图形应用使用 UTF-8,中文和日语显示依赖 CJK 字体, 输入法由会话提供。 剪贴板、路径、文档格式和 GPT " +"名称分别处理编码,不能逐字节截断 Unicode。 不要把可显示中文等同于完整 Unicode 分词、双向排版或 grapheme-break " +"支持。" +msgstr "" +"Graphical applications use UTF-8. Chinese and Japanese display depends on" +" CJK fonts. Input methods are supplied by the session. Clipboards, paths," +" document formats, and GPT names handle encoding separately. Do not " +"truncate Unicode by bytes. Chinese display capability does not imply " +"complete Unicode word segmentation, bidirectional layout, or grapheme-" +"break support." + +msgid "Arch/systemd 区域配置" +msgstr "Arch/systemd locale configuration" + +msgid "" +"``make rootfs`` 在目标根的 ``/etc/locale.gen`` 中启用 ``en_US.UTF-8 " +"UTF-8``、``zh_CN.UTF-8 UTF-8`` 和 ``ja_JP.UTF-8 UTF-8``, 运行目标系统的 ``locale-" +"gen`` 生成 glibc 区域数据,并用 ``locale -a`` 检查三种区域。 该步骤用于 IceWM、实验性 Xfce 和 " +"console 三种装配选项。" +msgstr "" +"``make rootfs`` enables ``en_US.UTF-8 UTF-8``, ``zh_CN.UTF-8 UTF-8`` and " +"``ja_JP.UTF-8 UTF-8`` in the target's ``/etc/locale.gen``, runs the " +"target ``locale-gen`` and checks the glibc locales with ``locale -a``. " +"This applies to IceWM, experimental Xfce and console images." + +msgid "" +"系统默认语言保存到 ``/etc/locale.conf``,初始内容为 ``LANG=en_US.UTF-8``。 调整默认语言时,将 " +"``LANG`` 设为已生成的 ``zh_CN.UTF-8`` 或 ``ja_JP.UTF-8`` 等区域并重新登录。区域数据供标准 " +"``setlocale`` 使用,应用翻译继续使用 gettext。 Arch/systemd 桌面依赖官方 ``noto-fonts-cjk``" +" 提供中日文字体。" msgstr "" -"Graphical applications use UTF-8. Chinese and Japanese display depends on CJK fonts staged with " -"the system; input methods are supplied by the session. Clipboards, paths, document formats, and " -"GPT names handle encoding separately; do not truncate Unicode by bytes. Chinese display capability" -" does not imply complete Unicode word segmentation, bidirectional layout, or grapheme-break " -"support." +"The system language default is stored in ``/etc/locale.conf``, initially " +"as ``LANG=en_US.UTF-8``. To change it, set ``LANG`` to a generated locale" +" such as ``zh_CN.UTF-8`` or ``ja_JP.UTF-8`` and log in again. Standard " +"``setlocale`` uses the locale data, and applications continue to use " +"gettext for translations. The Arch/systemd desktop depends on the " +"official ``noto-fonts-cjk`` package for Chinese and Japanese fonts." msgid "配置与翻译" msgstr "Configuration and translation" msgid "" -"区域配置位于 ``/etc/reliefos/locale.conf``。应用通过 gettext 加载各自的翻译域, 域名与应用源码目录名一致。``configs/nls/DOMAINS`` " -"登记翻译域, ``configs/nls/LINGUAS`` 登记随系统构建的语言。" +"自研应用继续通过 gettext 加载各自的翻译域, 域名与应用源码目录名一致。``configs/nls/DOMAINS`` 登记翻译域, " +"``configs/nls/LINGUAS`` 登记随系统构建的语言。" msgstr "" -"Locale configuration is in ``/etc/reliefos/locale.conf``. Applications load their own gettext " -"domains, named after their source directories. ``configs/nls/DOMAINS`` registers translation " -"domains; ``configs/nls/LINGUAS`` registers languages built with the system." +"In-house applications continue to load their own gettext domains, named " +"after their source directories. ``configs/nls/DOMAINS`` registers " +"translation domains. ``configs/nls/LINGUAS`` registers languages built " +"with the system." msgid "" -"随系统提供 ``zh_CN`` 和 ``ja_JP`` 翻译。用户可在安装器选择日本語, 或在 ReliefSettings 中保存 ``ja_JP.UTF-8`` 并重新登录。 " -"日语翻译包括界面、公共对话框和各应用的错误提示。 第三方应用使用各自的上游翻译资源。" +"现有应用提供 ``zh_CN`` 和 ``ja_JP`` 翻译。用户可在安装器选择日本語, 或在 ReliefSettings 中保存 " +"``ja_JP.UTF-8`` 并重新登录。 日语翻译包括界面、公共对话框和各应用的错误提示。 第三方应用使用各自的上游翻译资源。" msgstr "" -"The system includes ``zh_CN`` and ``ja_JP`` translations. Users can select Japanese in the " -"installer, or save ``ja_JP.UTF-8`` in ReliefSettings and log in again. Japanese translations cover" -" the UI, common dialogs, and application error messages. Third-party applications use their " -"upstream translation resources." +"Applications provide ``zh_CN`` and ``ja_JP`` translations. Select " +"Japanese during installation or set ``ja_JP.UTF-8`` in ReliefSettings and" +" sign in again. Japanese translations cover interfaces, shared dialogs " +"and error prompts. Third-party software uses its upstream catalogs." msgid "" -"例如,Fileman 的模板位于 ``configs/nls/po/fileman/fileman.pot``,中文译文位于 " -"``configs/nls/po/fileman/zh_CN.po``。``make nls`` 将其编译为 " -"``O/generated/nls/zh_CN/LC_MESSAGES/fileman.mo``,镜像安装到 " -"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``。Taskmgr 使用独立的 ``taskmgr`` 翻译域和对应目录。FLTK " -"公共按钮与文件选择器文案收录在各自应用的目录中。" +"Fileman 的模板位于 ``configs/nls/po/fileman/fileman.pot``,中文译文位于 " +"``configs/nls/po/fileman/zh_CN.po``。打包时使用 msgfmt 编译,并安装到 " +"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``。Taskmgr 使用独立的 " +"``taskmgr`` 翻译域和对应目录。FLTK 公共按钮与文件选择器文案收录在各自应用的目录中。" msgstr "" -"For example, Fileman's template is ``configs/nls/po/fileman/fileman.pot`` and its Chinese " -"translation is ``configs/nls/po/fileman/zh_CN.po``. ``make nls`` compiles it to " -"``O/generated/nls/zh_CN/LC_MESSAGES/fileman.mo``, installed in the image at " -"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``. Taskmgr has its own ``taskmgr`` domain and " -"corresponding directories. Common FLTK button and file-chooser text is included in each " -"application's catalog." +"Fileman's template is ``configs/nls/po/fileman/fileman.pot`` and its " +"Chinese catalog is ``configs/nls/po/fileman/zh_CN.po``. Packaging runs " +"msgfmt and installs the catalog at " +"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``. Taskmgr has its own " +"``taskmgr`` domain and directories. Each application's catalog includes " +"the common FLTK buttons and file chooser." msgid "" -"修改 Fileman 文案后执行 ``make nls-update-fileman``,可更新该应用的模板和译文。 ``make nls-update`` " -"更新已登记的全部应用。提取范围包含应用的子目录、 公共 FLTK 头文件、Kbuild 中复用的实现及该应用的 ``configs/nls/messages/<应用名>.c`` 动态文案标记。 " -"新增应用时登记翻译域,并为 ``LINGUAS`` 中的每种语言创建对应的 PO 文件。 常规构建只生成所选输出树中的资源,翻译源文件由显式维护目标更新。 " +"修改 Fileman 文案后执行 ``make nls-update-fileman``,可更新该应用的模板和译文。 ``make nls-" +"update`` 更新已登记的全部应用。提取范围包含应用的子目录、 公共 FLTK 头文件、Kbuild 中复用的实现及该应用的 " +"``configs/nls/messages/<应用名>.c`` 动态文案标记。 新增应用时登记翻译域,并为 ``LINGUAS`` " +"中的每种语言创建对应的 PO 文件。 常规构建只生成所选输出树中的资源,翻译源文件由显式维护目标更新。 " "系统更新时,应用二进制与对应翻译资源一起更新。" msgstr "" -"After changing Fileman text, run ``make nls-update-fileman`` to update its template and " -"translations. ``make nls-update`` updates all registered applications. Extraction covers " -"application subdirectories, shared FLTK headers, implementations reused in Kbuild, and dynamic-" -"text markers in the application's ``configs/nls/messages/<应用名>.c``. Register a domain for each new" -" application and create a PO for every language in ``LINGUAS``. Normal builds generate resources " -"only in the selected output tree; explicit maintenance targets update translation sources. System " -"updates update application binaries and their translation resources together." +"After changing Fileman text, run ``make nls-update-fileman`` to update " +"its template and translations. ``make nls-update`` updates all registered" +" applications. Extraction covers application subdirectories, shared FLTK " +"headers, implementations reused in Kbuild, and dynamic-text markers in " +"the application's ``configs/nls/messages/<应用名>.c``. Register a domain for" +" each new application and create a PO for every language in ``LINGUAS``. " +"Normal builds generate resources only in the selected output tree; " +"explicit maintenance targets update translation sources. System updates " +"update application binaries and their translation resources together." -msgid "" -"日语目录位于各应用的 ``ja_JP.po``,生成和安装目录中的语言名为 ``ja_JP``。区域数据位于 ``configs/locale/ja_JP.po``,由 ``make musl-" -"locales`` 生成 ``ja_JP.UTF-8`` 并安装到 ``/usr/share/musl/locales/``,供 musl 的日期、星期和上午/下午格式使用。 " -"``MUSL_LOCPATH`` 指向该目录,应用仍使用标准的 ``setlocale`` 与 gettext。 显示语言不会自动改变键盘布局,布局由 ReliefSettings " -"的键盘页单独设置。" +msgid "显示语言不会自动改变键盘布局,布局由 ReliefSettings 的键盘页单独设置。" msgstr "" -"Each application's Japanese catalog is ``ja_JP.po``; generated and installed directories use " -"``ja_JP``. Locale data is in ``configs/locale/ja_JP.po``. ``make musl-locales`` generates " -"``ja_JP.UTF-8`` and installs it in ``/usr/share/musl/locales/`` for musl date, weekday, and AM/PM " -"formatting. ``MUSL_LOCPATH`` points there; applications still use standard ``setlocale`` and " -"gettext. Display language does not automatically change the keyboard layout, which is configured " -"separately on ReliefSettings' keyboard page." +"Configure the keyboard layout separately on the ReliefSettings keyboard " +"page." msgid "" -"自研控制台工具也使用各自的翻译域,包括 driverinfo、soundctl、wavplay、 rprfetch、登录与 Shell 包装程序、rcctl、Snake、Matrix " -"和登录系统信息。 IceWM 的窗口标题、任务栏和应用菜单通过原生 Xft 字体设置使用 CJK 字体。 应用桌面入口通过标准 ``Name[ja]``、``GenericName[ja]`` 与" -" ``Comment[ja]`` 字段提供日语名称和说明。" +"IceWM 的窗口标题、任务栏和应用菜单通过原生 Xft 字体设置使用 CJK 字体。 应用桌面入口通过标准 " +"``Name[ja]``、``GenericName[ja]`` 与 ``Comment[ja]`` 字段提供日语名称和说明。" msgstr "" -"In-house console tools also use their own domains, including driverinfo, soundctl, wavplay, " -"rprfetch, login and shell wrappers, rcctl, Snake, Matrix, and login system information. IceWM " -"window titles, taskbar, and application menus use CJK fonts through native Xft settings. Desktop " -"entries provide Japanese names and descriptions through standard ``Name[ja]``, " -"``GenericName[ja]``, and ``Comment[ja]`` fields." +"IceWM uses native Xft font settings for CJK window titles, taskbar text " +"and menus. Application launchers use standard ``Name[ja]``, " +"``GenericName[ja]`` and ``Comment[ja]`` fields for Japanese names and " +"descriptions." msgid "原生文件格式的容量、恢复与字符边界见各应用手册。" msgstr "" -"See each application's manual for native-format capacity, recovery, and character boundaries." +"See each application's manual for native-format capacity, recovery, and " +"character boundaries." diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/accounts.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/accounts.po index d3f51e68..2f848e7e 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/accounts.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/accounts.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:37+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "账户与管理员权限" msgstr "アカウントと管理者権限" @@ -19,81 +22,55 @@ msgstr "アカウントと管理者権限" msgid "日常身份" msgstr "通常利用時のユーザー権限" -msgid "" -"使用普通账户登录,按操作通过 sudo 提权。系统使用 PAM、shadow 和 标准用户/组资料,root 账户与普通账户权限不同。图形设备授权需核对" -" ``video`` 组(GID 44);wheel 组的 sudo 权限仍要求密码认证。不要覆盖已有账户库来套用示例。 " -"密码不得出现在命令行、环境、串口或调试日志中。" -msgstr "" -"通常のアカウントでログインし、操作ごとに sudo で権限を昇格してください。システムは " -"PAM、shadow、標準のユーザー/グループ情報を使用し、root と一般アカウントの権限は異なります。グラフィックスデバイスのアクセス権限については" -" ``video`` グループ(GID 44)を確認してください。wheel グループの sudo " -"権限にもパスワード認証が必要です。例を適用するために既存のアカウントデータベースを上書きしないでください。パスワードをコマンドライン、環境変数、シリアル出力、デバッグログに含めてはいけません。" - -msgid "测试镜像账户" -msgstr "テストイメージのアカウント" - -msgid "" -"独立测试镜像可包含公开夹具账户: ``test/test`` (UID/GID 1000, wheel/video 补充组)、 " -"``root/root``,以及锁定的 nobody。 它们只用于 VMDK/普通镜像的独立测试账户装配,不属于安装器部署后的真实密码。 " -"安装器按用户选择创建账户;公开测试账户不能当作安全部署默认值。" -msgstr "" -"独立したテストイメージには、公開テスト用アカウントとして ``test/test``(UID/GID 1000、補助グループ " -"wheel/video)、``root/root``、ロック済みの nobody が含まれる場合があります。これらは " -"VMDK/通常イメージに独立したテスト用アカウントを組み込むためだけのもので、インストーラーによる導入後の実際のパスワードではありません。インストーラーはユーザーの選択に従ってアカウントを作成します。公開テスト用アカウントを安全な導入の既定値として扱わないでください。" - msgid "授权边界" msgstr "権限の境界" -msgid "" -"能打开应用不代表能修改块设备或系统配置。普通文件访问由内核 DAC 和 描述符模式检查;重读分区表要求 CAP_SYS_ADMIN。Diskmgr " -"的普通用户窗口只读, 管理员操作需该用户已有 sudo 授权。详见 :doc:`../applications/diskmgr`。" -msgstr "" -"アプリケーションを開けても、ブロックデバイスやシステム設定を変更できるとは限りません。通常のファイルアクセスではカーネルが DAC " -"とディスクリプターのモードを検査し、パーティションテーブルの再読み込みには CAP_SYS_ADMIN が必要です。一般ユーザーの Diskmgr " -"ウィンドウは読み取り専用で、管理操作にはそのユーザーが既に sudo の実行を許可されている必要があります。詳しくは " -":doc:`../applications/diskmgr` を参照してください。" - msgid "操作权限矩阵" msgstr "操作と権限の対応" msgid "普通文件或块设备打开:按当前 UID、主组、补充组及节点模式进行 DAC 检查。" -msgstr "" -"通常ファイルまたはブロックデバイスを開く際は、現在の UID、プライマリグループ、補助グループ、ノードのモードに基づいて DAC を検査します。" +msgstr "通常ファイルまたはブロックデバイスを開く際は、現在の UID、プライマリグループ、補助グループ、ノードのモードに基づいて DAC を検査します。" msgid "已打开描述符读写:继续要求匹配的访问模式;O_PATH 不授予读写能力。" msgstr "開いているディスクリプターの読み書きにも、対応するアクセスモードが引き続き必要です。O_PATH は読み書きの権限を与えません。" -msgid "root 的可写块描述符:允许标准原始写入,不再要求旧桌面角色或安装器标志。" -msgstr "" -"root が持つ書き込み可能なブロックディスクリプターでは、標準的な raw " -"書き込みが許可されます。旧デスクトップのロールやインストーラーのフラグは不要です。" - msgid "BLKRRPART:另检查 CAP_SYS_ADMIN;仅有可写 fd 不足以重读分区表。" -msgstr "" -"BLKRRPART は CAP_SYS_ADMIN を別途検査します。書き込み可能な fd だけではパーティションテーブルを再読み込みできません。" +msgstr "BLKRRPART は CAP_SYS_ADMIN を別途検査します。書き込み可能な fd だけではパーティションテーブルを再読み込みできません。" -msgid "Diskmgr 提权:验证调用用户已有的 sudo 授权;错误或取消不改变原窗口身份。" +msgid "" +"使用普通账户登录,需要时在终端通过 sudo 提权。系统使用 Arch 提供的 PAM、shadow 和标准用户组资料。wheel 组的 sudo" +" 权限要求密码认证。systemd-logind 管理图形会话及设备访问。 密码不得出现在命令行、环境、串口或调试日志中。" msgstr "" -"Diskmgr の権限昇格では、呼び出したユーザーに既に sudo " -"の実行が許可されているかを確認します。エラーやキャンセルが発生しても、元のウィンドウのユーザー権限は変わりません。" +"一般アカウントでログインし、必要に応じて端末で sudo を使います。システムは Arch の " +"PAM、shadow、標準のユーザーおよびグループ情報を使用します。wheel グループの sudo " +"操作にはパスワード認証が必要です。グラフィカルセッションとデバイスへのアクセスは systemd-logind " +"が管理します。コマンドライン、環境変数、シリアル出力、デバッグログにパスワードを含めないでください。" + +msgid "安装后的账户" +msgstr "インストール後のアカウント" msgid "" -"可执行文件的组 ID 不授予窗口服务器或服务身份。旧保留服务组不再由系统镜像创建; 已有文件的属组仍按普通 Linux DAC 语义处理。sudo " -"的图形提示由普通用户运行的 FLTK 辅助程序提供,密码仅经标准输出管道交给 sudo;控制台 PAM 兼容会话使用 上游 libpam_misc " -"的终端会话实现。" +"安装器按向导中的设置创建普通账户和 root 账户,使用 yescrypt 把密码保存到 ``/etc/shadow``。 " +"开发镜像的自动测试可以在临时副本中创建测试账户。" msgstr "" -"実行ファイルのグループ ID " -"によって、ウィンドウサーバーやサービスの実行主体としての権限が付与されることはありません。システムイメージは旧来の予約済みサービスグループを作成しなくなりました。既存ファイルの所有グループは、引き続き通常の" -" Linux DAC の意味に従って扱われます。sudo のグラフィカルなプロンプトは一般ユーザーとして動作する FLTK " -"ヘルパーが提供し、パスワードは標準出力のパイプだけを通じて sudo に渡されます。コンソールの PAM 互換セッションは、上流の " -"libpam_misc による端末対話実装を使用します。" +"インストーラーはウィザードの設定に従って一般アカウントと root アカウントを作成し、パスワードを yescrypt ハッシュとして " +"``/etc/shadow`` に保存します。自動テストでは開発イメージの一時的なコピーにテストアカウントを作成できます。" msgid "" -"sudo 保留 PAM 认证及其账户、会话检查,支持现有 yescrypt 密码。 密码提示及其翻译由上游 sudo/PAM 提供,ReliefOS 的图形辅助程序原样显示提示, " -"不替换为自定义的“密码:”。默认 askpass 路径为 ``/usr/lib/reliefos/apps/reliefaskpass/reliefaskpass.elf``;旧配置中指向 " -"``sudod`` 的路径仍可原样转发提示,升级不会覆盖管理员修改过的配置。" +"普通文件访问由内核检查 DAC 权限及描述符模式。重读分区表要求 CAP_SYS_ADMIN。 Diskmgr、文件管理器和 " +"ReliefPackages 使用 polkit 授权需要管理员权限的操作。 详见 :doc:`../applications/diskmgr`。" +msgstr "" +"通常のファイルアクセスでは、カーネルが DAC の権限とディスクリプターのモードを検査します。パーティションテーブルの再読み込みには " +"CAP_SYS_ADMIN が必要です。Diskmgr、ファイルマネージャー、ReliefPackages は、管理者権限が必要な操作を " +"polkit で認可します。詳細は :doc:`../applications/diskmgr` を参照してください。" + +msgid "root 的可写块描述符:允许标准原始写入。" +msgstr "root が保持する書き込み可能なブロックディスクリプターでは、標準の直接書き込みが可能です。" + +msgid "Diskmgr 提权:polkit 授权后由专用辅助程序执行磁盘操作,图形窗口以普通账户运行。" +msgstr "Diskmgr の昇格では、polkit の認可後に専用のヘルパーがディスクを操作します。画面は一般アカウントの権限で動作します。" + +msgid "图形授权提示由桌面会话的 polkit 认证代理显示。控制台登录和 sudo 使用系统 PAM 配置。" msgstr "" -"sudo は PAM 認証とアカウント・セッション検査を維持し、既存の yescrypt パスワードをサポートします。" -"パスワードプロンプトとその翻訳は上流の sudo/PAM が提供し、ReliefOS のグラフィカルヘルパーは独自の文言に置き換えず、そのまま表示します。" -"既定の askpass パスは ``/usr/lib/reliefos/apps/reliefaskpass/reliefaskpass.elf`` です。" -"旧設定で ``sudod`` を指しているパスもプロンプトをそのまま転送でき、更新時には管理者が変更した設定を保持します。" +"グラフィカルな認可ダイアログはデスクトップセッションの polkit 認証エージェントが表示します。コンソールへのログインと sudo " +"はシステムの PAM 設定を使います。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/coreutils.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/coreutils.po index f78d985d..bd65d82e 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/coreutils.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/coreutils.po @@ -4,241 +4,38 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "GNU coreutils 与 BusyBox" -msgstr "GNU coreutils と BusyBox" - -msgid "命令与文件归属" -msgstr "コマンドとファイルのパッケージ所有関係" - -msgid "" -"系统安装锁定的 GNU coreutils 9.12 全部 109 个命令入口,包括 ``[``、 " -"``test``、``arch``、``hostname``、``kill``、``uptime`` 与 ``coreutils`` " -"分发器。完整清单位于源码 ``userland/coreutils/programs.list``,构建时与 " -"锁定上游归档的程序清单比较,缺失任意入口或辅助库都会使构建失败。" -msgstr "" -"システムには、バージョンを固定した GNU coreutils 9.12 の全 109 " -"コマンドのエントリーポイントをインストールします。``[``、``test``、``arch``、``hostname``、``kill``、``uptime``、および" -" ``coreutils`` ディスパッチャーも含まれます。完全な一覧はソースの " -"``userland/coreutils/programs.list`` " -"にあり、ビルド時に固定された上流アーカイブのプログラム一覧と比較します。エントリーポイントまたは補助ライブラリが一つでも欠けるとビルドは失敗します。" - -msgid "" -"``/usr/bin/coreutils`` 是实际 ELF,其余 GNU 入口使用上游 single-binary symlink " -"模式指向它。``stdbuf`` 的预加载库安装在 " -"``/usr/libexec/coreutils/libstdbuf.so``;程序、链接、文档和许可证由 ``reliefos-coreutils``" -" APK 管理。" -msgstr "" -"``/usr/bin/coreutils`` が実体の ELF で、その他の GNU エントリーポイントは上流の single-binary " -"symlink 方式でこれを指します。``stdbuf`` のプリロードライブラリは " -"``/usr/libexec/coreutils/libstdbuf.so`` にインストールします。プログラム、リンク、文書、ライセンスは " -"``reliefos-coreutils`` APK が管理します。" - -msgid "" -"根文件系统没有合并 ``/bin`` 与 ``/usr/bin``。原先由 BusyBox 提供的 " -"``/bin/cat``、``/bin/cp``、``/usr/sbin/chroot`` 等旧路径保留为指向 GNU 入口的相对链接,并转交同一个 " -"coreutils 包。链接生成阶段不会再为同名 GNU 命令生成 BusyBox 入口。其他命令与 BusyBox 的 " -"``sh``、启动及救援功能保持可用。" -msgstr "" -"ルートファイルシステムでは ``/bin`` と ``/usr/bin`` を統合していません。従来 BusyBox が提供していた " -"``/bin/cat``、``/bin/cp``、``/usr/sbin/chroot`` などの旧パスは GNU " -"エントリーポイントへの相対リンクとして残し、同じ coreutils パッケージに引き継ぎます。リンク生成では、同名の GNU コマンド用に " -"BusyBox エントリーポイントを生成しなくなりました。その他のコマンドと BusyBox の ``sh``、起動、復旧機能は引き続き使用できます。" - -msgid "在终端中检查外部入口和 APK 归属::" -msgstr "端末で外部エントリーポイントと APK の所有関係を確認します::" - -msgid "" -"``echo``、``printf``、``test``、``pwd`` 等名称也可能是 Bash/ash 内建命令。 需要明确调用 GNU 版本时使用" -" ``/usr/bin/printf`` 等绝对路径。显式 ``/bin/busybox NAME`` 仍调用 BusyBox " -"applet;更新和救援脚本需要此入口。 不要用 ``busybox --install`` 覆盖系统已经登记的文件。" -msgstr "" -"``echo``、``printf``、``test``、``pwd`` などの名前は Bash/ash の組み込みコマンドでもあります。GNU " -"版を明示的に呼び出すには ``/usr/bin/printf`` などの絶対パスを使用してください。明示的な ``/bin/busybox NAME``" -" は引き続き BusyBox applet を呼び出し、更新・復旧スクリプトもこのエントリーポイントを必要とします。``busybox " -"--install`` でシステムに登録済みのファイルを上書きしないでください。" - -msgid "升级与兼容性" -msgstr "アップグレードと互換性" - -msgid "" -"新的 BusyBox 包依赖 ``reliefos-coreutils``,GNU 包声明接管旧 BusyBox 包的 重叠文件,使 APK " -"在正常事务中转移所有权,无需强制覆盖。不要手工删除 BusyBox ELF 或剥离它的内置 applet;显式救援调用仍依赖它们。 发行包与 " -"Alpine 的 ``coreutils``、``coreutils-single`` 声明冲突,避免两个 包同时提供 GNU 入口。使用系统的 " -"``reliefos-coreutils`` 包进行更新。" -msgstr "" -"新しい BusyBox パッケージは ``reliefos-coreutils`` に依存し、GNU パッケージは旧 BusyBox " -"パッケージと重複するファイルの引き継ぎを宣言します。これにより APK は強制上書きなしの通常のトランザクションで所有関係を移します。BusyBox " -"ELF を手動で削除したり、組み込み applet を除去したりしないでください。明示的な復旧呼び出しは引き続きそれらに依存します。配布パッケージは " -"Alpine の ``coreutils``、``coreutils-single`` との競合を宣言し、二つのパッケージが同時に GNU " -"エントリーポイントを提供することを防ぎます。更新にはシステムの ``reliefos-coreutils`` パッケージを使用してください。" - -msgid "" -"GNU 与 BusyBox 的选项集合不完全相同。例如 GNU ``hostname`` 接受主机名参数, 不支持 BusyBox 的 " -"``-F``。系统初始化对现有主机名文件的读取显式使用 ``/bin/busybox hostname -F " -"/etc/hostname``;自定义脚本也应选择正确的实现。" -msgstr "" -"GNU と BusyBox のオプションは完全には一致しません。例えば GNU ``hostname`` " -"はホスト名の引数を受け取りますが、BusyBox の ``-F`` はサポートしません。システム初期化では既存のホスト名ファイルの読み取りに " -"``/bin/busybox hostname -F /etc/hostname`` " -"を明示的に使用します。独自のスクリプトでも適切な実装を選択してください。" - -msgid "终端颜色" -msgstr "端末の色" - -msgid "" -"交互式 Bash 通过 ``/etc/bash/colors.sh`` 为 ``ls``、``dir``、``vdir`` 设置 " -"``--color=auto`` 别名,文件类型和扩展名颜色使用 GNU ``dircolors`` 的默认数据库。配置由系统 bashrc " -"加载,新账户和已有账户均在重新打开 终端后生效;当前终端也可执行 ``. /etc/bash/colors.sh``。" -msgstr "" -"対話型 Bash は ``/etc/bash/colors.sh`` によって ``ls``、``dir``、``vdir`` に " -"``--color=auto`` のエイリアスを設定します。ファイル種別と拡張子の色には GNU ``dircolors`` " -"の既定データベースを使用します。設定はシステムの bashrc から読み込まれ、新規・既存アカウントとも端末を開き直すと有効になります。現在の端末には " -"``. /etc/bash/colors.sh`` でも適用できます。" - -msgid "" -"自动模式只在命令输出到终端时着色,管道和文件重定向保持纯文本。 非交互脚本不加载这些别名;``command ls`` 或 " -"``/usr/bin/ls`` 可以直接 调用外部命令,``ls --color=never`` 可关闭本次输出的颜色。" -msgstr "" -"自動モードは出力先が端末の場合にだけ着色し、パイプやファイルへのリダイレクトはプレーンテキストのままです。非対話スクリプトはこれらのエイリアスを読み込みません。``command" -" ls`` または ``/usr/bin/ls`` で外部コマンドを直接呼び出し、``ls --color=never`` " -"で今回の出力の色を無効にできます。" - -msgid "" -"已有的 ``LS_COLORS``、``LESS``、同名别名和函数不会被覆盖。 未设置 ``LESS`` 时使用 ``-R``,允许分页器显示 " -"ANSI 颜色。 启动 shell 前设置 ``TERM=dumb``、不设置终端类型或设置非空 ``NO_COLOR`` 会跳过默认颜色配置。GNU " -"9.12 的帮助包含超链接控制序列,当前 st 不支持该扩展; 可用 ``TERM=dumb ls --help | less`` " -"查看纯文本帮助,其他命令的颜色不受影响。" -msgstr "" -"既存の ``LS_COLORS``、``LESS``、同名のエイリアスや関数は上書きしません。``LESS`` が未設定なら ``-R`` " -"を使用し、ページャーで ANSI カラーを表示できるようにします。shell 起動前に ``TERM=dumb`` " -"を設定する、端末種別を未設定にする、または空でない ``NO_COLOR`` を設定すると、既定の色設定を省略します。GNU 9.12 " -"のヘルプにはハイパーリンク制御シーケンスが含まれますが、現在の st はこの拡張に対応していません。``TERM=dumb ls --help | " -"less`` でプレーンテキストのヘルプを表示でき、他のコマンドの色には影響しません。" - -msgid "" -"``fdisk``、``sfdisk`` 保持 util-linux 原有的自动颜色及 ``terminal-colors.d`` 用户配置。本镜像中的" -" ``grep``、``diff``、``tree``、 ``dmesg`` 和 ``cal`` 为 BusyBox 实现,没有实际着色功能;不为其添加" -" 无效选项,也不强制为纯文本工具插入转义序列。" -msgstr "" -"``fdisk``、``sfdisk`` は util-linux 本来の自動着色と ``terminal-colors.d`` " -"のユーザー設定を維持します。本イメージの ``grep``、``diff``、``tree``、``dmesg``、``cal`` " -"は実際の着色機能を持たない BusyBox " -"実装です。無効なオプションを追加したり、プレーンテキストのツールにエスケープシーケンスを強制挿入したりしません。" - -msgid "功能边界" -msgstr "機能の範囲" - -msgid "" -"启用所有命令入口不代表内核实现所有扩展。``chcon`` 和 ``runcon`` 使用 上游没有 libselinux 时的实现,对实际 " -"SELinux 操作返回失败;ReliefNT 当前 不提供 SELinux。不能把这两个命令能够显示版本解释为安全上下文操作可用。" -msgstr "" -"すべてのコマンドのエントリーポイントを有効にしても、カーネルがすべての拡張を実装することにはなりません。``chcon`` と ``runcon`` は" -" libselinux がない場合の上流実装を使用し、実際の SELinux 操作は失敗します。ReliefNT は現在 SELinux " -"を提供していません。これらがバージョンを表示できることを、セキュリティコンテキスト操作が利用可能な証拠と解釈しないでください。" - -msgid "" -"本构建保持禁用 NLS、ACL 和扩展属性集成。普通权限、用户/组、文件操作、文本、 编码、校验和等使用真实 GNU " -"实现;依赖具体文件系统、设备或内核功能的选项, 仍以实际系统支持及命令退出码为准。" -msgstr "" -"本ビルドでは " -"NLS、ACL、拡張属性の統合を無効のままにしています。通常の権限、ユーザー/グループ、ファイル操作、テキスト、エンコーディング、チェックサムなどには実際の" -" GNU " -"実装を使用します。特定のファイルシステム、デバイス、カーネル機能に依存するオプションは、実際のシステム対応状況とコマンドの終了コードに従います。" - -msgid "" -"目标代码使用 x86-64 的 x87/SSE 基线。可选的 CPU 分发 CRC 后端会引入宿主 compiler-rt 的预编译 CPU " -"检测构造函数,该函数的 ISA 不受目标 ``-mno-avx`` 约束,因此交叉构建使用上游通用 CRC 路径。此设置保留 CRC 计算功能, " -"也避免在尚未保存 AVX 状态的内核中执行 AVX 指令。" -msgstr "" -"ターゲットコードは x86-64 の x87/SSE ベースラインを使用します。任意の CPU ディスパッチ型 CRC バックエンドは、ホスト " -"compiler-rt のビルド済み CPU 検出コンストラクターを導入します。この関数の ISA はターゲットの ``-mno-avx`` " -"に制約されないため、クロスビルドでは上流の汎用 CRC 経路を使用します。この設定は CRC 計算機能を保持し、AVX 状態をまだ保存しないカーネルでの" -" AVX 命令実行も回避します。" - -msgid "验收与测速" -msgstr "受け入れテストと性能測定" - -msgid "" -"``tools/test_coreutils_qemu.py`` 使用完整生产 VMDK 的私有副本启动 ReliefOS, " -"仅注入用户态测试程序、数据和 OpenRC 测试服务,不替换生产内核、libc 或 GNU 程序。它核对镜像内 ELF " -"与构建产物的哈希,并在结束后核对原始 VMDK 未修改。" -msgstr "" -"``tools/test_coreutils_qemu.py`` は完全な本番 VMDK の専用コピーから ReliefOS " -"を起動します。注入するのはユーザー空間のテストプログラム、データ、OpenRC テストサービスのみで、本番カーネル、libc、GNU " -"プログラムは置き換えません。イメージ内の ELF とビルド成果物のハッシュを照合し、終了後に元の VMDK が変更されていないことも確認します。" - -msgid "" -"来宾测试逐个验证 109 个命令入口和实际行为,包括退出码、文件内容、权限、 链接、文本转换、编码、散列、终端与进程工具。SELinux " -"两项单独记录为预期 不支持;同时查询真实 APK 数据库确认 GNU 路径归属,检查显式 BusyBox 救援调用。 这不是全部 GNU " -"上游测试或全部选项组合的替代品。" -msgstr "" -"ゲスト内のテストは 109 " -"個のエントリーポイントと実際の動作を個別に検証し、終了コード、ファイル内容、権限、リンク、テキスト変換、エンコーディング、ハッシュ、端末・プロセスツールを確認します。SELinux" -" の二項目は想定どおりの未対応として別に記録します。実際の APK データベースで GNU パスの所有関係を照会し、明示的な BusyBox " -"復旧呼び出しも確認します。GNU 上流の全テストや全オプションの組み合わせに代わるものではありません。" - -msgid "使用同一优化级别比较两种实现,例如使用 release 构建::" -msgstr "両実装を同じ最適化レベルで比較します。例えば release ビルドを使用します::" - -msgid "" -"验收虚拟机使用 1 个 vCPU、4 GiB 内存,并显式提供 invariant TSC。 当前内核仅在单 CPU 条件下启用可信 TSC " -"高精度计时,多核回退的 PIT 计时 可能漏算长时间同步 I/O 的墙上时间。测试消费内核仓自己的 vDSO 探针,要求 " -"高精度模式验证成功后才测速;不能把不满足此门槛的数据作为吞吐结果。" -msgstr "" -"受け入れテストの仮想マシンは 1 vCPU、4 GiB のメモリを使用し、invariant TSC を明示的に提供します。現在のカーネルが信頼できる " -"TSC 高精度計時を有効にするのは単一 CPU の場合だけで、複数 CPU の PIT フォールバック計時では長い同期 I/O " -"中の実経過時間を過少計測する可能性があります。テストはカーネルリポジトリ独自の vDSO " -"プローブを使用し、高精度モードの検証成功後にだけ測定します。この条件を満たさないデータをスループット結果として扱ってはいけません。" - -msgid "每项性能测试先预热一次,再测三次,输出原始纳秒样本、中位耗时与 MiB/s:" -msgstr "各性能テストは 1 回のウォームアップ後に 3 回測定し、生のナノ秒サンプル、所要時間の中央値、MiB/s を出力します。" - -msgid "``cat``:读取 32 MiB,写入 ``/dev/null``。" -msgstr "``cat``:32 MiB を読み、``/dev/null`` に書き込みます。" - -msgid "``wc -l -w -c``:完整扫描 32 MiB,核对行数、单词数和字节数。" -msgstr "``wc -l -w -c``:32 MiB 全体を走査し、行数、単語数、バイト数を確認します。" - -msgid "``sha256sum``:对 32 MiB 文件计算并核对已知摘要。" -msgstr "``sha256sum``:32 MiB のファイルのハッシュを計算し、既知のダイジェストと照合します。" - -msgid "``tr a-z A-Z``:转换 32 MiB,写入 ``/dev/null``。" -msgstr "``tr a-z A-Z``:32 MiB を変換し、``/dev/null`` に書き込みます。" - -msgid "" -"``sort``:排序 262144 行八位数字(2.25 MiB),写入 ``/dev/null``, 另对完整排序输出核对独立生成的有序数据摘要。" -msgstr "" -"``sort``:8 桁の数値 262144 行(2.25 MiB)を並べ替えて ``/dev/null`` " -"に書き込み、完全なソート出力のダイジェストを独立に生成した整列済みデータと別途照合します。" +"Generated-By: Babel 2.18.0\n" -msgid "``cp``:实际向 ext4 复制 1 MiB 文件,并逐字节比较副本。" -msgstr "``cp``:1 MiB のファイルを実際に ext4 にコピーし、コピーをバイト単位で比較します。" +msgid "GNU 基础命令" +msgstr "GNU 基本コマンド" msgid "" -"``cat``、``tr``、``sort`` 另通过管道对完整输出做不计时的摘要校验,避免将文本 " -"处理测试变成额外的磁盘写入测试。复制使用较小的数据集,以适应当前文件系统同步刷新 成本;不为测速绕过系统持久化语义。测量包含进程启动与退出,输入经历 " -"预热,不清空系统缓存,也不要求每次复制强制落盘。因此它们是指定工作负载的 耗时与吞吐,不能当作冷盘速度、持久化写入速度或跨机器性能保证。报告应包含 " -"虚拟机平台、vCPU/内存、两种实现的编译优化级别及校验结果。" +"ReliefOS 从 Arch 官方仓库安装 GNU coreutils、Bash 和 util-linux。 " +"``/bin``、``/sbin`` 和 ``/usr/sbin`` 都指向 ``/usr/bin``,软件包在该目录拥有命令文件。 Linux " +"设备和文件系统工具随各自的官方软件包更新。" msgstr "" -"``cat``、``tr``、``sort`` " -"は、計時対象外でもパイプを通じて出力全体のダイジェストを検証し、テキスト処理テストが追加のディスク書き込みテストになるのを避けます。コピーでは現在のファイルシステムの同期フラッシュコストに合わせて小さなデータセットを使用し、測定のためにシステムの永続化の意味を迂回しません。測定にはプロセスの起動と終了が含まれ、入力はウォームアップ済みです。システムキャッシュは消去せず、コピーごとの強制ディスク書き込みも要求しません。したがって結果は指定ワークロードの所要時間とスループットであり、コールド状態のディスク速度、永続化書き込み速度、マシン間の性能保証として扱えません。レポートには仮想マシンのプラットフォーム、vCPU/メモリ、両実装のコンパイル最適化レベル、検証結果を含めてください。" +"ReliefOS は公式 Arch リポジトリから GNU coreutils、Bash、util-linux " +"をインストールします。``/bin``、``/sbin``、``/usr/sbin`` はいずれも ``/usr/bin`` " +"を指し、コマンドファイルはこのディレクトリで各パッケージが管理します。Linux " +"のデバイスとファイルシステムのツールも公式パッケージで更新します。" -msgid "真实签名 APK 的旧路径升级可单独验证::" -msgstr "実際の署名済み APK による旧パスのアップグレードは、別途検証できます::" +msgid "可以在终端查询可执行文件的位置和包归属::" +msgstr "端末で実行ファイルの場所と所有パッケージを確認できます::" msgid "" -"此测试在宿主 Linux 用户命名空间的私有根目录内执行 APK 事务,仅证明包升级 和文件归属;系统内功能与测速必须以上述 ReliefOS " -"来宾运行结果为依据。" +"自定义脚本使用相应命令的帮助或手册确认选项。 交互式 Bash 的别名由系统和用户配置,脚本需要外部命令时可使用其绝对路径。 " +"有关软件包查询和滚动更新,见 :doc:`packages`。" msgstr "" -"このテストはホスト Linux のユーザー名前空間内の専用ルートディレクトリで APK " -"トランザクションを実行し、パッケージのアップグレードとファイルの所有関係だけを証明します。システム内の機能と性能測定は、上記の ReliefOS " -"ゲストでの実行結果に基づく必要があります。" +"スクリプトで使うオプションは、コマンドのヘルプやマニュアルで確認します。対話型 Bash " +"のエイリアスはシステム設定とユーザー設定で定義します。スクリプトで外部コマンドを指定する場合は絶対パスを使用できます。パッケージの照会とローリング更新は" +" :doc:`packages` を参照してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/desktop.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/desktop.po index 85d8bd95..92767268 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/desktop.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/desktop.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "Xorg、XDM 与 IceWM" msgstr "Xorg、XDM、IceWM" @@ -20,16 +23,37 @@ msgid "会话" msgstr "セッション" msgid "" -"默认图形链为内核、PID 1、Xorg、XDM、IceWM。XDM 完成 PAM 登录后, IceWM 和应用使用普通用户身份运行;不要用 root 桌面代替正常授权。 终端为 " -"st,默认浏览器为 NetSurf。图形载荷使用锁文件中 ``feature=xorg`` 的依赖; 当前 Alpine 基线为 ``v3.24``,Mesa 26.3.1 与 LLVM 23 " -"图形运行库使用 锁定 SHA 和签名的官方 edge APK,以提供未修改的 VirGL 驱动。 准备依赖使用 ``make fetch``。 首次配置及真实运行测试必须区分 QEMU 与 " -"VMware。" +"图形配置安装 testing RPR 的 ``reliefos-desktop`` 和 ``reliefos-st``,依赖官方 Arch " +"``xorg-xdm``、Xorg 和 IceWM 包。装配时启用官方 ``xdm.service``, 建立 ``display-" +"manager.service`` 别名并选择 ``graphical.target``。 XDM 使用官方包的 " +"``/etc/pam.d/xdm`` 完成 PAM 登录,再以已认证用户身份执行 ``/usr/lib/reliefos/xdm-" +"session``。服务覆盖配置位于 " +"``/usr/lib/systemd/system/xdm.service.d/50-reliefos.conf``。" +msgstr "" +"グラフィカル構成は testing RPR の ``reliefos-desktop`` と ``reliefos-st`` " +"をインストールし、Arch 公式の ``xorg-xdm``、Xorg、IceWM パッケージに依存します。構成時に公式の " +"``xdm.service`` を有効化し、``display-manager.service`` エイリアスを作成して " +"``graphical.target`` を選択します。XDM は公式パッケージの ``/etc/pam.d/xdm`` で PAM " +"認証を行い、認証済みユーザーとして ``/usr/lib/reliefos/xdm-session`` を実行します。サービスの上書き設定は " +"``/usr/lib/systemd/system/xdm.service.d/50-reliefos.conf`` にあります。" + +msgid "" +"``/etc/reliefos/desktop-session`` 保存一行 ``icewm`` 或 ``xfce``,默认是 " +"``icewm``。 会话脚本分别调用 ``icewm-session`` 或 ``startxfce4``,也接受用户可执行的 " +"``~/.xsession``。``console`` 装配选择 ``multi-user.target``。" +msgstr "" +"``/etc/reliefos/desktop-session`` には ``icewm`` または ``xfce`` を 1 " +"行で指定し、既定値は ``icewm`` です。セッションスクリプトはそれぞれ ``icewm-session`` または " +"``startxfce4`` を呼び出し、ユーザーの実行可能な ``~/.xsession`` も受け付けます。``console`` 構成は " +"``multi-user.target`` を選択します。" + +msgid "" +"IceWM 的 ``/etc/icewm/startup`` 调用 ``dex --autostart --environment ICEWM``" +" 处理 XDG 自启动,并启动终端。 Xfce 分支通过 ``startxfce4`` 交给 Xfce 会话管理自启动。" msgstr "" -"標準のグラフィックス経路はカーネル、PID 1、Xorg、XDM、IceWM です。XDM の PAM ログイン完了後、IceWM とアプリは一般ユーザーとして動作します。root " -"デスクトップを通常の認可の代わりにしないでください。端末は st、標準ブラウザーは NetSurf です。グラフィックスのペイロードはロックファイルの ``feature=xorg`` " -"依存関係を使用します。Alpine の基準は ``v3.24`` のままですが、未変更の VirGL を提供するため、Mesa 26.3.1 と LLVM 23 " -"のグラフィックス実行ライブラリには SHA を固定し署名を検証した公式 edge APK を使用します。依存関係は ``make fetch`` で準備します。初期設定と実行検証では QEMU " -"と VMware を区別してください。" +"IceWM の ``/etc/icewm/startup`` は ``dex --autostart --environment ICEWM`` " +"で XDG 自動起動を処理し、端末を起動します。Xfce の場合は ``startxfce4`` を通じて Xfce " +"セッションマネージャーに自動起動を委ねます。" msgid "" "Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则使用 framebuffer。XDM 的 " @@ -43,93 +67,107 @@ msgstr "" "``-configdir`` を優先します。デバイス名だけでなく、Xorg と Mesa のログや描画結果も確認してください。" msgid "VirtIO-GPU 运行" -msgstr "VirtIO-GPU の実行" +msgstr "VirtIO-GPU の起動" msgid "QEMU/KVM 可在原生入口选择 2D 或 VirGL;不指定时仍使用原来的 VGA::" msgstr "QEMU/KVM の標準実行ターゲットで 2D または VirGL を選択できます。指定しない場合は従来の VGA を使用します::" msgid "" -"VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render " -"node。可以通过 ``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。" +"VirGL 需要支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render node。可以通过 " +"``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。" msgstr "" -"VirGL の既定値は ``gtk,gl=on`` です。OpenGL 対応の QEMU、virglrenderer、アクセス可能なホストの " -"render node が必要です。EGL-headless などの表示バックエンドは ``QEMU_DISPLAY`` で指定できます。" +"VirGL には OpenGL 対応の QEMU、virglrenderer、アクセス可能な render node " +"が必要です。``QEMU_DISPLAY`` で EGL headless などの表示バックエンドを選べます。" msgid "" -"检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。 内核未协商 VirGL 时不提供 render node,不能将软件 " -"renderer 当成硬件加速。 Linux VirtGPU ioctl、legacy KMS、同设备 PRIME 和 sync_file 已实现; atomic " -"KMS、跨设备共享、syncobj、blob 及 Venus/Vulkan 不在当前支持范围。" +"检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。 内核未协商 VirGL" +" 时不提供 render node,不能将软件 renderer 当成硬件加速。 Linux VirtGPU ioctl、legacy " +"KMS、同设备 PRIME 和 sync_file 已实现; atomic KMS、跨设备共享、syncobj、blob 及 " +"Venus/Vulkan 不在当前支持范围。" msgstr "" -"Xorg ログで ``glamor initialized``、``virgl``、DRI2/DRI3 の状態を確認してください。カーネルは VirGL をネゴシエートしない場合に render" -" node を公開しません。ソフトウェア renderer をハードウェア加速の証拠として扱わないでください。Linux VirtGPU ioctl、legacy KMS、同一デバイスの " -"PRIME、sync_file は実装済みです。atomic KMS、デバイス間共有、syncobj、blob、Venus/Vulkan は現在の対応範囲外です。" +"Xorg ログで ``glamor initialized``、``virgl``、DRI2/DRI3 の状態を確認してください。カーネルは " +"VirGL をネゴシエートしない場合に render node を公開しません。ソフトウェア renderer " +"をハードウェア加速の証拠として扱わないでください。Linux VirtGPU ioctl、legacy KMS、同一デバイスの " +"PRIME、sync_file は実装済みです。atomic KMS、デバイス間共有、syncobj、blob、Venus/Vulkan " +"は現在の対応範囲外です。" msgid "" "``tools/test_virtgpu_qemu.py`` 使用新建的私有测试目录启动真实来宾,可检查 " -"2D、VirGL、BIOS/UEFI、Xorg/IceWM/Fileman、控制台恢复、panic 及模块重载。 用匹配内核的 ``--module-root`` 指向 " -"modules_install 根目录验证 drm.ko。 EGL 探针通过 ``sh tools/build-virtgpu-egl-probe.sh ROOT OUTPUT`` 编译, " -"ROOT 须含完整来宾运行库;宿主只提供 EGL/GLES2/GBM 头文件,链接使用来宾库。 探针检查实际 renderer、着色器、三角形像素与销毁;打印的 64×64 离屏 draw " -"速率属于观察值,不能作为桌面 FPS。VMware 验证未完成。" +"2D、VirGL、BIOS/UEFI、Xorg/IceWM/Fileman、控制台恢复、panic 及模块重载。 用匹配内核的 " +"``--module-root`` 指向 modules_install 根目录验证 drm.ko。 EGL 探针通过 ``sh tools" +"/build-virtgpu-egl-probe.sh ROOT OUTPUT`` 编译, ROOT 须含完整来宾运行库;宿主只提供 " +"EGL/GLES2/GBM 头文件,链接使用来宾库。 探针检查实际 renderer、着色器、三角形像素与销毁;打印的 64×64 离屏 draw" +" 速率属于观察值,不能作为桌面 FPS。VMware 验证未完成。" msgstr "" "``tools/test_virtgpu_qemu.py`` " "は新しい専用テストディレクトリから実際のゲストを起動し、2D、VirGL、BIOS/UEFI、Xorg/IceWM/Fileman、コンソール復元、panic、モジュール再ロードを確認できます。対応するカーネルの" -" modules_install ルートを ``--module-root`` に指定して drm.ko を検証します。EGL プローブは ``sh tools/build-virtgpu-" -"egl-probe.sh ROOT OUTPUT`` でビルドし、ROOT には完全なゲスト実行ライブラリを配置してください。ホストは EGL/GLES2/GBM " -"ヘッダーのみを提供し、リンクにはゲストライブラリを使用します。実際の renderer、シェーダー、三角形の画素、リソース破棄を検査します。表示される 64×64 " -"オフスクリーン描画速度は観測値であり、デスクトップ FPS ではありません。VMware の検証は未完了です。" +" modules_install ルートを ``--module-root`` に指定して drm.ko を検証します。EGL プローブは " +"``sh tools/build-virtgpu-egl-probe.sh ROOT OUTPUT`` でビルドし、ROOT " +"には完全なゲスト実行ライブラリを配置してください。ホストは EGL/GLES2/GBM " +"ヘッダーのみを提供し、リンクにはゲストライブラリを使用します。実際の " +"renderer、シェーダー、三角形の画素、リソース破棄を検査します。表示される 64×64 オフスクリーン描画速度は観測値であり、デスクトップ " +"FPS ではありません。VMware の検証は未完了です。" msgid "主题与菜单" msgstr "テーマとメニュー" msgid "" -"XDM 使用 ``/etc/X11/xdm/`` 下的标准配置和 Xresources;IceWM 的背景、 颜色和装饰由 IceWM " -"主题决定。两者分别配置,不再强制使用同一张背景图片。 系统 IceWM 配置由 ``/etc/icewm`` 及 " -"``/etc/reliefos/icewm`` 提供, 用户的 ``~/.icewm/`` 可覆盖系统配置。主题不能替代菜单、工具栏与键位文件。" +"Arch/systemd 的 XDM 覆盖配置位于 ``/etc/reliefos/xdm/``,包括 ``xdm-" +"config``、``Xservers`` 和 ``Xresources``。IceWM 的背景、颜色和装饰由 IceWM 主题决定。 IceWM" +" 的 preferences、theme、menu、toolbar、keys、winoptions 和 startup 沿用 " +"``/etc/icewm/``。``/usr/etc/icewm`` 链接到该目录,接通官方包编译时的 系统配置搜索路径。用户的 " +"``~/.icewm/`` 可覆盖系统配置。 ``/etc/reliefos/icewm/`` 保存终端及关于对话框的辅助脚本。" msgstr "" -"XDM は ``/etc/X11/xdm/`` 以下の標準設定と Xresources を使用し、IceWM の背景、色、装飾は IceWM " -"のテーマで決まります。両者は個別に設定し、同じ背景画像を強制的に使用することはありません。システムの IceWM 設定は ``/etc/icewm`` " -"と ``/etc/reliefos/icewm`` で提供され、ユーザーの ``~/.icewm/`` " -"で上書きできます。テーマはメニュー、ツールバー、キー割り当ての各ファイルの代わりにはなりません。" +"Arch/systemd の XDM 上書き設定は ``/etc/reliefos/xdm/`` にある ``xdm-" +"config``、``Xservers``、``Xresources`` です。IceWM " +"の背景、色、ウィンドウ装飾はテーマで設定します。preferences、theme、menu、toolbar、keys、winoptions、startup" +" は ``/etc/icewm/`` に置きます。公式パッケージの検索先である ``/usr/etc/icewm`` " +"はこのディレクトリを指します。ユーザー設定は ``~/.icewm/`` に置けます。端末や情報ダイアログの補助スクリプトは " +"``/etc/reliefos/icewm/`` にあります。" + +msgid "IceWM 的系统默认主题是 ``default/default.theme``。用户自己选择的主题优先。" +msgstr "IceWM のシステム既定テーマは ``default/default.theme`` です。ユーザーが選んだテーマが優先されます。" msgid "" -"修改键位或会话配置后需要重新加载 IceWM 或重新登录。自定义菜单应保留按功能 分组的应用入口。Win+Shift+S 启动 " +"修改键位或会话配置后需要重新加载 IceWM 或重新登录。自定义菜单应保留按功能 分组的应用入口。默认的 Win+Shift+S 启动 " "ReliefCapture;用户自定义 keys 覆盖默认键位时 需自行合并该绑定。" msgstr "" -"キー割り当てやセッション設定を変更したら、IceWM " -"を再読み込みするか再ログインしてください。カスタムメニューでも、機能別に分類したアプリケーション項目を維持してください。Win+Shift+S は " -"ReliefCapture を起動します。独自の keys " -"ファイルで既定のキー割り当てを上書きしている場合は、この割り当てを自分で統合する必要があります。" +"キー割り当てやセッション設定を変更した後は、IceWM " +"を再読み込みするか、再ログインします。メニューを編集する際はアプリを機能別にまとめます。既定の Win+Shift+S は " +"ReliefCapture を起動します。既定の keys ファイルを置き換える場合は、この割り当ても追加してください。" msgid "用户目录与快捷方式" msgstr "ユーザーディレクトリとショートカット" msgid "" "登录会话运行上游 ``xdg-user-dirs-update``,按用户语言初始化 Desktop、Documents、 Downloads " -"等目录。安装器和账户种子只准备主目录与配置模板,不再预建另一套目录。 Fileman 及下载路径读取 ``$XDG_CONFIG_HOME/user-" -"dirs.dirs``;未设置有效的 ``XDG_CONFIG_HOME`` 时使用 ``~/.config/user-dirs.dirs``。桌面由 " +"等目录。该步骤由 ``/usr/lib/reliefos/xdm-session`` 执行。" +msgstr "" +"ログイン時には ``/usr/lib/reliefos/xdm-session`` が上流の ``xdg-user-dirs-update`` " +"を実行し、デスクトップ、ドキュメント、ダウンロードなどをユーザーの言語に合わせて初期化します。" + +msgid "" +"Fileman 及下载路径读取 ``$XDG_CONFIG_HOME/user-dirs.dirs``;未设置有效的 " +"``XDG_CONFIG_HOME`` 时使用 ``~/.config/user-dirs.dirs``。桌面由 " "``XDG_DESKTOP_DIR`` 决定,下载位置由 ``XDG_DOWNLOAD_DIR`` 决定。未配置或 " "禁用的特殊目录回退到主目录。配置只按路径数据读取,不执行其中的 shell 代码。" msgstr "" -"ログインセッションは上流の ``xdg-user-dirs-update`` を実行し、ユーザーの言語に従って " -"Desktop、Documents、Downloads " -"などのディレクトリを初期化します。インストーラーとアカウント初期データはホームディレクトリと設定テンプレートだけを準備し、別のディレクトリ群を事前作成しません。Fileman" -" とダウンロード先は ``$XDG_CONFIG_HOME/user-dirs.dirs`` を参照し、有効な ``XDG_CONFIG_HOME`` " -"が未設定の場合は ``~/.config/user-dirs.dirs`` を使用します。デスクトップは " -"``XDG_DESKTOP_DIR``、ダウンロード先は ``XDG_DOWNLOAD_DIR`` " -"で決まります。未設定または無効な特殊ディレクトリはホームディレクトリにフォールバックします。設定はパスのデータとしてのみ読み取り、内部の shell " -"コードは実行しません。" +"Fileman とダウンロード先は ``$XDG_CONFIG_HOME/user-dirs.dirs`` " +"を参照します。``XDG_CONFIG_HOME`` に有効な値がない場合は ``~/.config/user-dirs.dirs`` " +"を使用します。デスクトップは ``XDG_DESKTOP_DIR``、ダウンロード先は ``XDG_DOWNLOAD_DIR`` " +"で指定します。無効または未設定のディレクトリはホームに戻ります。設定ファイルはパスデータとして読み込みます。" msgid "" -"Fileman 的“创建快捷方式”可选择桌面或当前目录:应用使用标准 ``.desktop``, " +"Fileman 的“创建快捷方式”可选择桌面或当前目录,应用使用标准 ``.desktop``, " "已有应用启动项保留名称、图标、文件参数和终端设置;普通文件与文件夹使用 POSIX " "符号链接。创建操作不覆盖同名文件,自动选择新的名称。打开应用启动项时复用系统 GLib ``gio launch``,由上游处理 Exec " "转义、字段码、工作目录和终端启动规则。 IceWM 的应用菜单继续通过 ``icewm-menu-fdo`` 读取标准应用入口。" msgstr "" -"Fileman の「ショートカットを作成」では、デスクトップまたは現在のディレクトリを選択できます。アプリケーションには標準の ``.desktop``" -" を使用し、既存のアプリケーション起動項目の名前、アイコン、ファイル引数、端末設定を保持します。通常のファイルとフォルダーには POSIX " -"シンボリックリンクを使用します。作成時に同名ファイルを上書きせず、新しい名前を自動で選びます。アプリケーション起動項目を開く際はシステムの GLib " -"``gio launch`` を再利用し、Exec のエスケープ、フィールドコード、作業ディレクトリ、端末起動規則の処理を上流に任せます。IceWM " -"のアプリケーションメニューは引き続き ``icewm-menu-fdo`` を通じて標準のアプリケーション項目を読み取ります。" +"Fileman の「ショートカットを作成」では、デスクトップか現在のディレクトリを選べます。アプリには標準の ``.desktop`` " +"を使用し、名前、アイコン、ファイル引数と端末設定を引き継ぎます。通常のファイルやディレクトリには POSIX " +"のシンボリックリンクを使用します。Fileman は空いている名前を選び、GLib の ``gio launch`` で起動します。Exec " +"のエスケープ、フィールドコード、作業ディレクトリと端末の扱いは GLib が処理します。IceWM のメニューは ``icewm-menu-" +"fdo`` で標準のランチャーを読み込みます。" msgid "" "``~/.icewm`` 是窗口管理器配置目录,桌面图标的显示仍需独立图标管理器;创建 " @@ -143,12 +181,12 @@ msgid "中文与故障排查" msgstr "中国語対応とトラブルシューティング" msgid "" -"原生 C++ 应用使用 FLTK gtk+ 控件、系统中文字体和 UTF-8。 显示字体、键盘布局和输入法是不同配置,见 " -":doc:`../userspace-api/locale`。 密码输入不能交给第三方输入法。" +"原生 C++ 应用使用 FLTK gtk+ 控件、系统中文字体和 UTF-8。 显示字体、键盘布局和输入法是不同配置,见 :doc" +":`../userspace-api/locale`。 密码输入不能交给第三方输入法。" msgstr "" -"ネイティブ C++ アプリケーションは FLTK gtk+ ウィジェット、システムの中国語フォント、UTF-8 " -"を使用します。表示フォント、キーボード配列、入力メソッドは別々の設定です。:doc:`../userspace-api/locale` " -"を参照してください。パスワード入力をサードパーティーの入力メソッドに渡してはいけません。" +"C++ アプリは FLTK の gtk+ テーマ、システムの中国語フォント、UTF-8 " +"を使用します。フォント、キーボード配列、入力メソッドは個別の設定です。:doc:`../userspace-api/locale` " +"を参照してください。パスワードはキーボードから直接入力してください。" msgid "" "记录启动固件、CPU/内存、Xorg 日志、用户身份、主题和复现步骤。 通过 VT 切换或串口确认系统是否仍可调度,再区分 " @@ -159,37 +197,34 @@ msgstr "" " :doc:`limitations` を参照してください。" msgid "上游登录管理器的程序名为 ``xdm``;它与 IceWM 的会话和主题配置分别维护。" -msgstr "" -"上流のディスプレイマネージャーのプログラム名は ``xdm`` です。その設定は IceWM のセッション設定やテーマ設定とは個別に管理します。" - -msgid "源码与兼容边界" -msgstr "ソースコードと互換性の範囲" +msgstr "上流のディスプレイマネージャーのプログラム名は ``xdm`` です。その設定は IceWM のセッション設定やテーマ設定とは個別に管理します。" msgid "" -"系统只交付 Xorg、XDM、IceWM 和已迁移的图形应用。旧自研桌面、私有窗口 传输、对应 SDK 窗口头文件和 ELF " -"窗口接口均已删除,不提供兼容服务或空实现。 内核保留标准 framebuffer、DRM 和 evdev 设备接口,不再包含内置桌面绘制。" +"通过 ``make rootfs`` 装配开发根文件系统。 ``ARCH_DESKTOP=icewm`` 为默认值,``xfce`` " +"为实验选项,``console`` 用于控制台。 前置步骤和各选项的归档名称见 :doc:`../kbuild/building`。 " +"QEMU/KVM 的 BIOS 路径已验证普通用户 XDM 登录、IceWM、st、XDG 自启动、 用户 systemd 与 D-Bus、中英日" +" UTF-8 locale,以及注销后再次登录。 普通用户执行 ``systemctl reboot`` 后,系统重新进入 XDM 登录界面。 " +"实验性 Xfce 也已通过普通用户 XDM 登录检查。VMware 验证尚未完成。" msgstr "" -"システムに含まれるのは Xorg、XDM、IceWM " -"と移行済みのグラフィカルアプリケーションのみです。旧自社製デスクトップ、独自のウィンドウ通信、対応する SDK のウィンドウヘッダー、ELF " -"ウィンドウインターフェースはすべて削除され、互換サービスや空の実装は提供されません。カーネルは標準の framebuffer、DRM、evdev " -"デバイスインターフェースを保持し、組み込みのデスクトップ描画は含みません。" +"開発用ルートファイルシステムは ``make rootfs`` で組み立てます。既定は ``ARCH_DESKTOP=icewm`` " +"で、``xfce`` は実験的な構成、``console`` はコンソール用です。前提条件とアーカイブ名は " +":doc:`../kbuild/building` を参照してください。QEMU/KVM の BIOS 起動で、一般ユーザーの XDM " +"ログイン、IceWM、st、XDG 自動起動、ユーザーの systemd と D-Bus、中・英・日の UTF-8 " +"ロケールを確認済みです。ログアウトと再ログイン、および一般ユーザーの ``systemctl reboot`` による XDM " +"への復帰も確認しました。実験的な Xfce も一般ユーザーによる XDM ログイン検査を通過しました。VMware の検証は未完了です。" -msgid "" -"尚未迁移的图形客户端源码继续保留在 ``userland/apps/``,但不在组件菜单、 构建清单、安装包或启动菜单中。终端使用 st,浏览器使用 " -"NetSurf。旧的设置、 设备管理及协议演示程序需迁移到 X11 后才能重新加入;保留源码不表示它们 " -"仍可编译或运行。第三方上游源码及其许可证保留,旧窗口平台适配层已移除。" -msgstr "" -"未移行のグラフィカルクライアントのソースは ``userland/apps/`` " -"に残っていますが、コンポーネントメニュー、ビルド一覧、パッケージ、起動メニューには含まれません。端末は st、ブラウザーは NetSurf " -"を使用します。旧設定プログラム、デバイス管理プログラム、プロトコルのデモプログラムを再び含めるには、X11 " -"への移行が必要です。ソースが残っていても、引き続きビルドや実行が可能であるとは限りません。サードパーティーの上流ソースとライセンスは保持し、旧ウィンドウプラットフォームの適合層は削除されています。" +msgid "控制台" +msgstr "コンソール" msgid "" -"这是旧图形 API 的破坏性移除。现有应用需迁移至 FLTK/X11;进程快照、 CPU 亲和性和单调时钟声明位于 " -"````,独立 framebuffer 辅助接口位于 ````。重新生成 SDK " -"并重新链接应用,不要混用旧库。" +"控制台使用 ReliefNT 的 UTF-8 字体渲染与内建键盘映射。 ``reliefos-boot`` 为 ``systemd-" +"vconsole-setup.service`` 安装设备条件, 仅在内核提供真实 ``/dev/vcsN`` 屏幕设备时执行上游字体及键位配置," +" 同一条件也进入 dracut initramfs。当前内核尚未提供这些屏幕设备以及完整 Linux VT " +"字体、键位配置接口,因此使用内建控制台设置。X11 键位与输入法 由桌面会话配置。" msgstr "" -"これは旧グラフィカル API の互換性を破る削除です。既存のアプリケーションは FLTK/X11 " -"に移行する必要があります。プロセススナップショット、CPU アフィニティー、単調時計の宣言は ```` " -"に、独立した framebuffer 補助インターフェースは ```` にあります。SDK " -"を再生成してアプリケーションを再リンクし、旧ライブラリを混在させないでください。" +"コンソールは ReliefNT の UTF-8 フォント描画と組み込みキーマップを使用します。 ``reliefos-boot`` は " +"``systemd-vconsole-setup.service`` にデバイス条件を追加し、カーネルが実際の ``/dev/vcsN`` " +"画面デバイスを提供する場合に上流のフォントとキーマップ設定を実行します。同じ条件を dracut initramfs " +"にも含めます。現在は画面デバイスと完全な Linux VT " +"フォント・キーマップ設定インターフェースが未実装のため、組み込みコンソール設定を使用します。X11 " +"のキー配置と入力メソッドはデスクトップセッションで設定します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/installation.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/installation.po index 55895b31..da963967 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/installation.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/installation.po @@ -10,11 +10,11 @@ msgstr "" "Last-Translator: ReliefOS translation contributors\n" "Language: ja\n" "Language-Team: Japanese\n" -"Plural-Forms: nplurals=1; plural=0\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.18.0\n" msgid "安装 ReliefOS" msgstr "ReliefOS のインストール" @@ -22,114 +22,38 @@ msgstr "ReliefOS のインストール" msgid "安装前" msgstr "インストール前" -msgid "" -"备份目标磁盘。安装器的重新分区、格式化会破坏所选磁盘的数据; 先用磁盘型号、容量和现有分区核对身份,不能只凭设备编号判断。 默认介质包括 " -"``reliefos-installer.iso``、``reliefos-live.iso`` 和 ``reliefos.vmdk``, " -"同一介质支持 Legacy BIOS 与 UEFI。ISO 使用双 El Torito 光盘入口, 不承诺是可直接写入 U 盘的 hybrid " -"镜像。" -msgstr "" -"対象ディスクをバックアップしてください。インストーラーによる再パーティションとフォーマットは、選択したディスクのデータを破壊します。デバイス番号だけで判断せず、ディスクの型番、容量、既存パーティションで対象を確認してください。既定のメディアには" -" ``reliefos-installer.iso``、``reliefos-live.iso``、``reliefos.vmdk`` " -"があり、同じメディアで Legacy BIOS と UEFI に対応します。ISO は二つの El Torito " -"光学ディスク起動エントリーを使用し、USB メモリに直接書き込める hybrid イメージであるとは保証しません。" - -msgid "安装器运行时、Live 会话和安装后的系统是不同的根文件系统。 只有实际安装并移除 ISO 后启动成功,才能证明安装后的系统可用。" -msgstr "" -"インストーラーの実行環境、Live セッション、インストール後のシステムは、それぞれ異なるルートファイルシステムです。実際にインストールし、ISO" -" を取り外して起動に成功した場合にのみ、インストール後のシステムが利用できると確認できます。" - msgid "安装介质布局" msgstr "インストールメディアの構成" msgid "" -"新安装器 ISO 将安装器自身的运行时保留在可写的 ext4 RAM 盘 ``/dev/ram0``, 将 IceWM、纯控制台、XFCE 和 ESP 的安装文件分别放在" -" ``root``、 ``root-console``、``root-xfce`` 和 ``esp`` 中,合并打包为 " -"``/install/payload.squashfs``。引导时,这个压缩镜像作为只读的 ``/dev/ram1`` 加载,随后以 " -"``ro,nosuid,nodev`` 挂载至来宾的 ``/install``。 安装器仍从原路径读取文件,不需要先把载荷解压到第二个 RAM 盘。" +"安装器和新系统默认使用 10 路并行下载。安装器根据可用内存为下载缓存选择 有界 tmpfs,内存不足时使用目标磁盘缓存。中断后由 pacman 续传并重新验证。 " +"软件包在同一次事务内完成验签和安装。后续可在 ``/etc/pacman.conf`` 中调整 ``ParallelDownloads``,常规更新保留用户配置。" msgstr "" -"新しいインストーラー ISO では、インストーラーの実行環境を書き込み可能な ext4 RAM ディスク ``/dev/ram0`` " -"に置きます。IceWM、コンソール専用、XFCE、ESP のインストールファイルをそれぞれ ``root``、``root-console``、``root-" -"xfce``、``esp`` に配置し、``/install/payload.squashfs`` にまとめます。起動時には、この圧縮イメージを読み取り専用の " -"``/dev/ram1`` として読み込み、ゲストの ``/install`` に ``ro,nosuid,nodev`` " -"でマウントします。インストーラーは、ペイロードを別の RAM ディスクに展開せず、従来と同じパスからファイルを読み取ります。" +"インストーラーと新規インストールしたシステムは、既定で 10 並列ダウンロードを使用します。" +"インストーラーは利用可能なメモリに応じて容量を制限した tmpfs をダウンロードキャッシュに使い、" +"メモリが不足する場合は対象ディスクのキャッシュを使います。中断後は pacman がダウンロードを再開し、" +"再検証します。パッケージの署名検証とインストールは同じトランザクションで行います。" +"後から ``/etc/pacman.conf`` の ``ParallelDownloads`` を調整できます。通常の更新ではユーザーの設定を保持します。" msgid "" -"旧版安装介质没有独立载荷,直接从运行时根中的 ``/install`` 读取。 新介质的独立载荷若无法加载或挂载,启动会报错,不会当成旧介质继续。" -" 这项改动只影响安装介质;Live 根和新安装的默认磁盘根仍使用 ext4, 手动选用 ext3 的流程也不变。已安装的系统无需转换文件系统。" +"ReliefNT 当前未提供 Landlock。生成的系统配置使用 pacman 标准选项 ``DisableSandboxFilesystem``,下载仍由 " +"``alpm`` 用户执行并使用 seccomp 过滤, 软件包签名策略由 ``SigLevel`` 管理。" msgstr "" -"従来のインストールメディアには独立したペイロードがなく、実行環境のルートにある ``/install`` " -"から直接読み取ります。新しいメディアで独立したペイロードを読み込めない、またはマウントできない場合は、エラーを表示して起動を中止します。変更が適用されるのはインストールメディアだけです。Live" -" 環境のルートと新規インストールの既定のディスク上のルートには引き続き ext4 を使用し、ext3 " -"を手動で選択する手順も従来どおりです。既にインストールされているシステムは、そのままのファイルシステムで利用できます。" +"ReliefNT は現時点で Landlock を実装していません。生成するシステム設定では pacman の標準オプション " +"``DisableSandboxFilesystem`` を使用します。ダウンロードは ``alpm`` ユーザーで実行し、seccomp " +"フィルターを適用します。パッケージの署名ポリシーは ``SigLevel`` で管理します。" msgid "全新安装" msgstr "新規インストール" msgid "" -"在 GRUB 中选择图形安装或控制台安装;控制台会话条目为 ``Install ReliefOS (console " -"session)``。图形和控制台向导使用相同的步骤顺序: 语言、许可证、安装模式、目标磁盘、引导方式、分区方案、系统选项、账户、 " -"安装摘要、安装进度和结果。更新模式只显示适用的磁盘检查、摘要、更新进度和结果, 不会要求重新配置账户、分区或桌面。" -msgstr "" -"GRUB でグラフィカルインストールまたはコンソールインストールを選択します。コンソールの項目名は ``Install ReliefOS " -"(console session)`` " -"です。両方のウィザードは、言語、ライセンス、インストール方式、対象ディスク、ブートローダー、パーティション構成、システム設定、アカウント、確認、進行状況、結果の順に進みます。更新では該当するディスク検査、確認、更新状況、結果のみを表示し、アカウント、パーティション、デスクトップの再設定は求めません。" - -msgid "" -"图形向导的页面本身不滚动,当前步骤的全部设置和导航按钮始终可见。 " -"最小窗口客户区为 768×540,可用于 800×600 屏幕;调整窗口大小时, " -"磁盘和分区列表、安装变更计划及日志阅读区随可用空间调整。 " -"许可证正文、列表、变更计划和日志较长时,仅在各自控件内部滚动, " +"图形向导的页面本身不滚动,当前步骤的全部设置和导航按钮始终可见。 最小窗口客户区为 768×540,可用于 800×600 屏幕;调整窗口大小时," +" 磁盘和分区列表、安装变更计划及日志阅读区随可用空间调整。 许可证正文、列表、变更计划和日志较长时,仅在各自控件内部滚动, " "不需要滚动整个页面来寻找设置或继续按钮。" msgstr "" -"グラフィカルウィザードではページ全体をスクロールせず、現在のステップの設定項目と操作ボタンがすべて表示されます。ウィンドウの内容領域は最小 768×540 で、800×600 の画面でも利用で" -"きます。ウィンドウのサイズを変更すると、ディスクとパーティションの一覧、インストールの変更計画、ログ表示領域が利用可能な領域に合わせて調整されます。ライセンス本文、一覧、変更計画、ログが長い場" -"合は、それぞれの表示領域内でスクロールします。設定項目や続行ボタンを探すためにページ全体をスクロールする必要はありません。" - -msgid "" -"桌面环境默认选择 IceWM;也可选择 XFCE(实验性)或纯控制台系统。 XFCE 包含面板、窗口管理器、桌面、Thunar 文件管理器和 " -"XFCE Terminal, 使用锁定版本的 Alpine 官方包,随安装介质提供,安装时不需要联网。 XFCE 会话由 " -"``/etc/X11/Xsession`` 启动,使用独立的 D-Bus 会话; 用户可通过可执行的 ``~/.xsession`` " -"覆盖系统默认会话。 XFCE 默认关闭窗口合成;用户可在“窗口管理器微调”中开启。 实验性 XFCE " -"在软件渲染环境中首次登录时,桌面和面板可能需要较长时间才能出现。 切换安装向导选项不会修改正在运行的安装器桌面,也不会在更新模式中更换已有桌面。" -msgstr "" -"デスクトップ環境は IceWM(既定)、実験的な XFCE、またはコンソールのみから選べます。XFCE " -"にはパネル、ウィンドウマネージャー、デスクトップ、Thunar ファイルマネージャー、XFCE Terminal が含まれます。Alpine " -"公式リポジトリの固定バージョンのパッケージをインストールメディアに収録するため、ネットワーク接続なしでインストールできます。XFCE " -"セッションは独立した D-Bus セッション内で ``/etc/X11/Xsession`` を通じて起動します。実行可能な " -"``~/.xsession`` " -"を置くと既定のセッションを上書きできます。コンポジターは既定で無効で、「ウィンドウマネージャーの調整」から有効にできます。ソフトウェアレンダリング環境では、初回ログイン後にデスクトップとパネルが表示されるまで時間がかかることがあります。インストーラーの選択を変更しても、実行中のインストーラーのデスクトップは変わらず、システム更新時に既存のデスクトップ環境も置き換わりません。" - -msgid "" -"控制台安装器使用原版 ncursesw,提供与图形向导对应的语言、许可证、安装/更新、 " -"磁盘、引导、分区、系统选项、账户、确认及完成页面。终端中直接运行 ``installer`` 或 ``installer " -"--text``;图形入口为 ``installer --graphical``。 支持英文、中文和日文,字符显示依赖终端及其字体覆盖。" -msgstr "" -"コンソールインストーラーは上流の ncursesw " -"を使用し、グラフィカルウィザードに対応する言語、ライセンス、インストール/更新、ディスク、ブートローダー、パーティション、システム設定、アカウント、確認、完了のページを提供します。端末で" -" ``installer`` または ``installer --text`` を実行してください。グラフィカル画面は ``installer " -"--graphical`` で起動します。英語、中国語、日本語に対応し、文字の表示は端末とフォントの対応範囲に依存します。" - -# | msgid "" "使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 -# | 返回修改,PgUp/PgDn " "滚动页面或许可证。界面适配终端大小, 需要至少 60 列、20 -# 行。密码以遮罩显示;安装及分区操作由后台进程执行, -# | " "进度页保留当前阶段、百分比和活动详情。新安装日志为 ``/var/log/installer.log``,系统更新详情日志为 -# | ``/var/log" "/installer-update.log``。" -msgid "" -"使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 返回修改,PgUp/PgDn " -"滚动页面或许可证。界面适配终端大小, 需要至少 60 列、20 行。密码以遮罩显示。GUI 和 TUI 的安装复制与同步、 以及 TUI " -"的分区操作均在后台进程中执行;进度通道拥塞时合并进度, 不会阻塞复制,也不会把未完成的后台任务误报为成功。 " -"进度页保留当前阶段、百分比和活动详情。新建 ext4 根分区在格式化时直接写入 所选系统文件,写入期间显示已用时间。手动选择 ext3 " -"时继续按文件复制。 新安装日志为 ``/var/log/installer.log``,系统更新详情日志为 ``/var/log" -"/installer-update.log``。" -msgstr "" -"Tab、Shift+Tab、矢印キーで項目を選択します。Space で選択を切り替え、Enter で選択中のボタンを実行します。F3 で続行、F2" -" で設定に戻り、PgUp/PgDn でページやライセンスをスクロールします。画面は端末サイズに合わせて表示され、60 列、20 " -"行以上が必要です。パスワードはマスクされます。GUI と TUI のインストーラーによるファイルのコピーと同期、および TUI " -"のパーティション操作はバックグラウンドプロセスで実行します。進行通知のキューが混雑した場合は更新をまとめるため、コピーを妨げず、未完了の処理を成功と誤って表示しません。進行画面には段階、割合、処理の詳細が表示されます。新しい" -" ext4 ルートパーティションのフォーマット中に選択したシステムファイルを直接書き込み、経過時間を表示します。ext3 " -"を手動で選択した場合は、従来どおりファイル単位でコピーします。新規インストールのログは " -"``/var/log/installer.log``、システム更新の詳細ログは ``/var/log/installer-update.log``" -" に記録されます。" +"グラフィカルウィザードではページ全体をスクロールせず、現在のステップの設定項目と操作ボタンがすべて表示されます。ウィンドウの内容領域は最小 " +"768×540 で、800×600 " +"の画面でも利用できます。ウィンドウのサイズを変更すると、ディスクとパーティションの一覧、インストールの変更計画、ログ表示領域が利用可能な領域に合わせて調整されます。ライセンス本文、一覧、変更計画、ログが長い場合は、それぞれの表示領域内でスクロールします。設定項目や続行ボタンを探すためにページ全体をスクロールする必要はありません。" msgid "" "图形向导在语言选择后显示 Apache License 2.0 英文原文,可滚动阅读全文。 该文本直接取自仓库的 " @@ -153,13 +77,6 @@ msgstr "" "のみ、または両方未選択の場合は省略します。BIOS Boot " "をフォーマット、マウントしたり、既存ファイルシステムを直接流用したりしてはいけません。" -msgid "" -"所有方案都创建 128 MiB FAT32 ESP,保存内核、GRUB 配置及所选引导器的资源。 BIOS 引导同样从该 FAT32 " -"分区读取启动资源,不能因为只选 BIOS 而删除它。" -msgstr "" -"どの構成でもカーネル、GRUB 設定、選択したブートローダーのリソースを保存する 128 MiB の FAT32 ESP を作成します。BIOS " -"起動もこの FAT32 パーティションから起動リソースを読むため、BIOS のみの選択でも削除してはいけません。" - msgid "剩余整 MiB 空间用作 ext4 根分区。" msgstr "残りの MiB 単位の領域を ext4 ルートパーティションにします。" @@ -201,13 +118,6 @@ msgstr "" "も指定します。最終確認にはディスク、パーティション変更、フォーマットまたは保持する領域、起動方式、デスクトップ、swap " "ファイルを一覧表示します。書き込み前に元のパーティション表とファイルシステムヘッダーを再確認し、他のプログラムが変更していれば古い計画を拒否します。その場合は再検査と再確認が必要です。" -msgid "" -"格式化前会检查所选载荷需要的空间和 inode。菜单通过 GPT PARTUUID 绑定 " -"根分区;缺失、无效或重复身份应报错,不能以连接顺序替代身份。 完成后正常关机、移除安装介质,再从目标磁盘启动。" -msgstr "" -"フォーマット前に選択した構成物に必要な容量と inode を検査します。メニューは GPT PARTUUID " -"でルートパーティションを結び付けます。識別情報の欠落、不正、重複はエラーにし、接続順で代用してはいけません。完了後は正常にシャットダウンし、インストールメディアを取り外して対象ディスクから起動してください。" - msgid "" "全新安装可选择创建根分区的 ``/swapfile``,默认不选。建议值为内存大小向上 取整到 MiB 后限制在 512 MiB 至 2 " "GiB;可以手动填写其他有效的整数 MiB, 安装器不会自动缩小。所需文件空间和余量在重新分区或格式化之前一起检查。 " @@ -221,18 +131,6 @@ msgstr "" "であることが必要です。現在、NVMe、IDE、その他のストレージはこの swap バックエンドに使用できません。Live " "やインストーラーのセッションで対象 swap を有効にすることはありません。" -msgid "" -"安装器完整写入并格式化文件,设置 root 所有、权限 0600,再发布 fstab 和 OpenRC 配置。标准 swap 服务在 " -"localmount 后运行;项目检查服务会核对 ``/proc/swaps`` 中实际出现的 " -"``/swapfile``,以便发现配置存在但启用失败的 情况。重启后可检查 ``/proc/swaps`` 以及服务状态。磁盘 I/O " -"或清理本身失败时, 安装器会报告错误;单文件同步和替换不构成跨文件的断电原子事务。" -msgstr "" -"インストーラーはファイル全体を書き込んでフォーマットし、root 所有、権限 0600 に設定してから fstab と OpenRC " -"設定を公開します。標準の swap サービスは localmount 後に動作し、プロジェクトの確認サービスは ``/proc/swaps`` に" -" ``/swapfile`` が実際に現れるかを確認して、設定はあるのに有効化に失敗した状態を検出します。再起動後は " -"``/proc/swaps`` とサービス状態を確認できます。ディスク I/O " -"やクリーンアップ自体が失敗した場合はエラーを報告します。単一ファイルの同期と置換は、複数ファイルをまたぐ電源断に対して原子的なトランザクションを構成しません。" - msgid "" "未选择此项时不会自动启用 swap。手工配置须先准备完全分配、位于支持的 AHCI SATA 设备上的专用文件或未挂载分区,再使用 " "``mkswap`` 初始化并通过 ``swapon`` 激活;``mkswap`` 会覆盖所选目标。只有完成身份核对和必要备份后 " @@ -248,27 +146,6 @@ msgstr "" msgid "共享 ESP 与多系统" msgstr "ESP の共有とマルチ OS" -msgid "" -"与已有系统共存时选择手动分区,为 ReliefOS 指定单独的根分区。 所选根分区会格式化;已有 FAT32 ESP " -"默认保留,不要求它达到自动方案的 128 MiB,但必须有足够剩余空间。只有显式勾选格式化 ESP 才会清除其中的 所有 EFI 文件。TUI " -"在分区页提供相同的“格式化所选 ESP”选项。 自动分区仍是明确的整盘擦除方案,不是保留其他系统的并列安装。" -msgstr "" -"既存のシステムと共存する場合は手動パーティション設定を選択し、ReliefOS " -"専用のルートパーティションを指定してください。選択したルートはフォーマットされます。既存の FAT32 ESP " -"は既定で保持し、空き容量が十分であれば自動構成の 128 MiB より小さくても使用できます。ESP " -"のフォーマットを明示的に選択すると、その中のすべての EFI ファイルを消去します。TUI のパーティションページにも同じ ESP " -"フォーマット設定があります。自動パーティション設定はディスク全体を消去する明示的な操作です。" - -msgid "" -"新安装将物理 ESP 挂到 ``/efi``,并把 ``/efi/reliefos/instances/<根分区 PARTUUID>`` bind" -" 到 ``/boot``。 每个实例有独立的 GRUB 配置、根分区绑定、A/B 内核状态和版本文件; " -"内核包更新检查实例所有权,拒绝把当前根的内核发布到另一个实例。 initramfs 在切换真实根之前按 fstab 完成两层挂载。" -msgstr "" -"新規インストールでは物理 ESP を ``/efi`` にマウントし、``/efi/reliefos/instances/<根分区 " -"PARTUUID>`` を ``/boot`` に bind マウントします。各インスタンスは独立した GRUB 設定、ルートの関連付け、A/B " -"カーネル状態、バージョンファイルを持ちます。カーネルパッケージの更新はインスタンスの所有関係を確認し、現在のルートのカーネルを別インスタンスへ公開することを拒否します。initramfs" -" は実ルートへの切り替え前に fstab に従って二層のマウントを完了します。" - msgid "" "UEFI 文件位于 ``/EFI/ReliefOS/<根分区 PARTUUID>/grubx64.efi``; 标准厂商入口 " "``/EFI/ReliefOS/grubx64.efi`` 指向一个已有安装,其菜单可选择其他实例。 已有的其他系统 EFI 文件和未知的 " @@ -284,86 +161,9 @@ msgstr "" "だけをインストール・更新します。このファイルコピー処理はファームウェア起動変数や BootOrder " "を変更しません。新しい項目がファームウェアに出なければ、完了ページの EFI ファイルパスを使って起動項目を追加してください。" -msgid "" -"GRUB 在启动时枚举其他 ReliefOS 实例;UEFI 菜单识别常见的 Windows、 shim/GRUB 和 systemd-boot " -"文件,BIOS 菜单支持 Windows 分区引导及其他 系统的 GRUB 配置。其他系统的配置只在用户选择相应条目后执行。 BIOS " -"安装会替换所选整盘的主引导代码;只需 UEFI 共存时可取消 BIOS。 旧预制磁盘若没有 ESP 上的 ``core.img`` " -"副本,更新器会校验 MBR 中的 GRUB 核心位置及 BIOS Boot 分区内的块列表,识别实际嵌入的引导器。 " -"新预制镜像同时保存该副本,保持与安装器生成的布局一致。" -msgstr "" -"起動時に GRUB は他の ReliefOS インスタンスを列挙します。UEFI メニューは一般的な Windows、shim/GRUB" -"、systemd-boot ファイルを認識し、BIOS メニューは Windows のパーティション起動と他システムの GRUB " -"設定に対応します。他システムの設定を実行するのはユーザーが該当項目を選択した後だけです。BIOS " -"インストールは選択したディスク全体のマスターブートコードを置き換えるため、UEFI の共存だけが必要なら BIOS を解除できます。ESP に " -"``core.img`` のコピーがない旧作成済みディスクでは、更新器が MBR 内の GRUB コア位置と BIOS Boot " -"パーティション内のブロックリストを検証し、実際に埋め込まれたローダーを識別します。新しい作成済みイメージはこのコピーも保存し、インストーラーが生成する構成と一致させます。" - -msgid "" -"Live 只有一个普通启动项。安装介质保留图形和控制台两个安装入口; 磁盘保留普通启动及高级选项中的日志暂停、关闭内核日志颜色和有效旧内核回退。 " -"不再展示失效的 debug/autospawn 参数、重复日志条目或同内核副本伪装的回退。 ISO 优先从固件交接的实际介质加载菜单,Live 与" -" Installer 的后备标记相互独立。" -msgstr "" -"Live " -"の通常起動項目は一つだけです。インストールメディアにはグラフィカルとコンソールの二つのインストール項目を残し、ディスクには通常起動と、詳細オプション内のログ一時停止、カーネルログ色の無効化、有効な旧カーネルへのフォールバックを残します。無効な" -" debug/autospawn パラメーター、重複ログ項目、同じカーネルのコピーを装ったフォールバックは表示しません。ISO " -"はファームウェアから引き渡された実際のメディアからのメニュー読み込みを優先し、Live と Installer の予備マーカーは独立しています。" - -msgid "独立磁盘镜像身份" -msgstr "独立したディスクイメージの識別情報" - -msgid "" -"``IMAGE_INSTANCE_ID``(也可在 menuconfig 中设置 ``DISK_INSTANCE_ID``) 决定预制磁盘的 " -"GPT 磁盘和分区身份,并同步生成 fstab、GRUB 根绑定和查找标记。 " -"同一输入、同一实例标识保持可重现;需要同时连接的镜像应使用不同标识,例如::" -msgstr "" -"``IMAGE_INSTANCE_ID``(menuconfig の ``DISK_INSTANCE_ID`` でも設定可能)は作成済みディスクの" -" GPT ディスク・パーティション識別情報を決め、それに合わせて fstab、GRUB " -"のルート関連付け、検索マーカーを生成します。同じ入力とインスタンス識別子では再現性を維持します。同時接続するイメージは異なる識別子を使ってください。例::" - -msgid "" -"逐字节复制一张已有磁盘仍会复制其 UUID,不能把这样的副本当作独立安装同时连接。 正式安装到不同根分区时使用各自 GPT " -"身份,不依赖预制镜像的实例标识。" -msgstr "" -"既存ディスクのバイト単位コピーは UUID " -"も複製するため、そのコピーを独立したインストールとして同時接続することはできません。異なるルートパーティションへの正式なインストールはそれぞれの " -"GPT 識別情報を使い、作成済みイメージのインスタンス識別子には依存しません。" - -msgid "更新已有系统" -msgstr "既存システムの更新" - -msgid "" -"更新进度会显示当前的软件包或缓存归档、已处理数量和缓存大小,以及已复用的 缓存大小。大小按完成比较或发布的整个文件累计,正在复制的文件完成后计入;" -" 包事务中的数量只计入当前包之前已处理的包。缓存归档和签名索引逐字节相同 时直接复用,内容不同则先写入独立临时文件并校验,再替换原文件。比较或写入" -" 出错会终止本次更新,日志和失败页保留步骤、文件名及命令退出状态,供重试定位。" -msgstr "更新進行状況には現在のパッケージまたはキャッシュアーカイブ、処理済み件数、キャッシュ容量、再利用済み容量を表示します。容量は比較または公開を完了したファイル全体を累計し、コピー中のファイルは完了後に加算します。パッケージ処理の件数には現在のパッケージより前に処理済みのものだけを含めます。キャッシュアーカイブと署名済みインデックスがバイト単位で同じなら直接再利用し、内容が異なれば別の一時ファイルに書いて検証してから元を置換します。比較や書き込みのエラーは今回の更新を中止し、ログと失敗ページに手順、ファイル名、コマンド終了状態を残して再試行時の調査に使えるようにします。" - -msgid "" -"旧内核包清单中的 ``kerneldebug.sys`` 作为可选历史成员继续校验、保留和恢复, 以支持升级旧安装;新内核包和 ESP " -"发布不生成该文件。历史成员若损坏或是符号 链接,仍会拒绝更新,不会跳过内核包完整性检查。" -msgstr "" -"旧カーネルパッケージ一覧の ``kerneldebug.sys`` " -"は、旧インストールの更新に対応するため、任意の履歴メンバーとして引き続き検証、保持、復元します。新しいカーネルパッケージと ESP " -"公開ではこのファイルを生成しません。履歴メンバーが破損していたりシンボリックリンクだったりする場合も更新を拒否し、カーネルパッケージの完全性検査を省略しません。" - -msgid "" -"单文件原子替换不等于全部包、ESP 和 BIOS 写入的整体断电原子事务。 回退条目只使用通过完整性检查的匹配内核与 " -"initramfs,不把当前内核的别名当作回退。" -msgstr "" -"単一ファイルの原子的置換は、全パッケージ、ESP、BIOS " -"書き込みを含む全体が電源断に対して原子的なトランザクションであることを意味しません。フォールバック項目は完全性検査を通った対応するカーネルと " -"initramfs のみを使い、現在のカーネルの別名をフォールバックとしません。" - msgid "运行验证和未覆盖范围见 :doc:`limitations`。" msgstr "動作検証と未検証範囲は :doc:`limitations` を参照してください。" -msgid "" -"安装前可以用“上一步”返回,图形侧栏也可回到已经经过的配置步骤。 修改磁盘、引导方式、分区或系统选项后,摘要根据当前选择重新生成; " -"账户密码不会出现在摘要或日志中。图形许可证页面需明确勾选确认, 控制台通过“接受并继续”确认。 " -"桌面和交换文件在单独的“系统选项”步骤配置,最终摘要只用于核对, 不会在即将开始安装时再混入新的配置项。" -msgstr "" -"インストール前は「戻る」で前の設定を変更でき、グラフィカル画面のサイドバーからも訪問済みの設定へ戻れます。ディスク、起動方式、パーティション、システム設定を変更すると、現在の選択から確認画面を再生成します。パスワードは確認画面やログに表示しません。グラフィカル画面ではライセンス確認欄に明示的にチェックし、コンソールでは「同意して続行」で確認します。デスクトップと" -" swap ファイルは独立したシステム設定の手順で指定し、最後の確認画面ではインストール直前に新しい設定項目を追加しません。" - msgid "QEMU/KVM 的 VirtIO 磁盘" msgstr "QEMU/KVM の VirtIO ディスク" @@ -401,84 +201,157 @@ msgstr "" "は現時点でスワップのバックエンドに使えません。VMware PVSCSI とは別のドライバーであり、VMware での検証は未完了です。" msgid "" -"更新不自动重分区。旧两分区 UEFI 磁盘保持原有布局,缺少 BIOS Boot 空间时增加 BIOS 引导的请求应在写入前失败。先备份用户文件和引导分区, 检查已安装 APK " -"数据库、信任密钥及所选更新介质。正常关闭已安装系统后, 再从安装介质启动。 在安装器中选择更新和目标磁盘后,后台协调进程依次只读检查已安装系统、桌面 " -"类型、软件包数据库、安装介质、引导布局和空间,再验证离线软件包方案。 每个阶段在独立进程组中执行,界面持续显示当前阶段;慢速读盘期间也能响应 " -"取消检查。取消后先终止该阶段的所有进程并释放挂载,再返回目标磁盘步骤。 检查完成后仍留在目标磁盘步骤, 显示检查结果和检测到的 BIOS/UEFI " -"引导选项;可以先修改选择,再继续到只读摘要。 摘要列出当前版本、介质版本、根分区、ESP、空间需求和引导方式。核对后点击更新。 同盘有多个安装时,可在目标磁盘页选择明确的根分区和 " -"ESP;留空 ESP 时读取 所选根的 fstab,不能简单取磁盘上第一个 ESP。显式选择与该根的 fstab 不一致时 拒绝更新,避免把引导文件写到其他系统的分区。旧的 " -"``/boot`` 直接挂载 FAT32 布局继续兼容,更新不强制改变现有挂载布局。 旧布局中未能通过所有权验证的现有 EFI 可执行文件及相邻配置会保留, " -"不会因系统更新而覆盖。兼容命令 ``reliefos-grub-installer`` 现直接转交原生 CLI,需要明确的 " -"``--disk``、``--boot-directory`` 和根分区身份; 不再接受无法绑定安装实例的旧式单个 ESP 路径复制操作。 TTY " -"入口使用相同的后端,并在显示摘要和引导选项后通过 ``y/N`` 确认。" -msgstr "" -"更新時に自動で再パーティションしません。旧来の 2 パーティション UEFI ディスクは元の構成を保持します。BIOS Boot 領域がない状態で BIOS " -"起動の追加を求めた場合は、書き込み前に失敗しなければなりません。まずユーザーファイルと起動パーティションをバックアップし、インストール済み APK " -"データベース、信頼鍵、選択した更新メディアを確認します。インストール済みシステムを正常終了してからメディアで起動してください。インストーラーで更新と対象ディスクを選ぶと、バックグラ" -"ウンドの調整プロセスが既存システム、デスクトップ種別、パッケージデータベース、メディア、起動レイアウト、空き容量を確認し、オフラインのパッケージ計画を検証します。各段階は独立したプ" -"ロセスグループで実行され、画面には現在の段階が表示されます。低速ディスクの読み取り中も検査をキャンセルできます。キャンセル時は、まず段階の全プロセスを停止してマウントを解放し、その" -"後対象ディスクの手順に戻ります。検査後も対象ディスクの手順に留まり、結果と検出された BIOS/UEFI " -"起動方式を表示します。選択を調整してから読み取り専用の確認画面へ進めます。確認画面にはインストール済みとメディアのバージョン、ルート、ESP、必要容量、起動方式を表示します。確認し" -"て更新をクリックしてください。同一ディスクに複数のインストールがある場合は、対象ディスクページでルートと ESP を明示できます。ESP を空欄にすると選択したルートの fstab " -"を読み、ディスクの最初の ESP を単純に使用しません。明示指定がそのルートの fstab と異なる場合は、他システムのパーティションへの起動ファイル書き込みを避けるため更新を拒否" -"します。FAT32 を ``/boot`` に直接マウントする旧構成も引き続き互換で、既存のマウント構成を強制変更しません。旧構成で所有関係を検証できなかった既存 EFI " -"実行ファイルと隣接設定は保持し、システム更新で上書きしません。互換コマンド ``reliefos-grub-installer`` は現在ネイティブ CLI に直接転送し、明示的な " -"``--disk``、``--boot-directory``、ルート識別情報が必要です。インストールインスタンスと結び付けられない旧式の単一 ESP " -"パスへのコピー操作は受け付けません。TTY 入口も同じバックエンドを使い、概要と起動オプションの表示後に ``y/N`` で確認します。" - -msgid "" -"检查过程使用私有 APK 数据库和已安装系统的信任密钥,验证签名索引、完整 软件包归档以及离线依赖。私有数据库和有大小上限的计划数据临时存放在 ``/run`` tmpfs " -"中,结束后清理;归档直接从只读安装介质验证和读取, 不把整个仓库复制到内存。检查不修改目标系统。 空间预算包括介质归档缓存、所有包(含上游依赖)的逐包正增长、最大单包的 " -"替换空间及保留余量;不提前把尚未删除的包或缩小的文件折算成可用空间。 确认后的执行会再次核对磁盘、分区 UUID、索引和 已安装包数据库及 world " -"选择;目标已经变化时需要重新检查。已被其他路径挂载的分区、 无法唯一识别的根分区或 ESP,以及早于已安装系统的介质会在写入前被拒绝。" -msgstr "" -"検査では専用の APK データベースとインストール済みシステムの信頼鍵を使用し、署名済みインデックス、パッケージアーカイブ全体、オフライン依存関係を検証します。専用データベースと上" -"限付きの計画データは ``/run`` の tmpfs に一時保存し、終了後に削除します。アーカイブは読み取り専用のインストールメディアから直接検証・読み取り、リポジトリ全体をメモ" -"リへコピーしません。検査によって対象システムは変更されません。容量の見積もりには、メディアアーカイブのキャッシュ、上流依存関係を含む全パッケージの正味増加分、最大パッケージ置換分、" -"予備領域を含めます。まだ削除されていないパッケージや縮小分を空き容量として先取りしません。確定後の実行時にもディスク、パーティション " -"UUID、インデックス、既存パッケージデータベース、world の選択を再確認し、対象が変化していれば再検査が必要です。他の場所にマウント済みのパーティション、一意に識別できないル" -"ートや ESP、既存システムより古いメディアは書き込み前に拒否します。" - -msgid "" -"确认执行后不再单独重复一次完整检查;包事务在自己的预检通过后执行一次。 根文件系统使用 APK 更新,保留外部包、world 选择和受保护配置;新默认配置 可能以 " -"``.apk-new`` 出现。根事务成功后才发布引导文件。 离线更新只从安装介质的签名仓库取得新软件包。``world`` 中已有的 " -"``@testing``、``@alpine`` 等标签在本次事务的私有配置中注册到该仓库, 使已安装的外部软件包可以继续满足依赖,不要求原仓库在线或保留索引缓存。 " -"原有仓库配置和标签选择保持不变;介质和已安装软件包无法满足的版本约束 仍会在预检查时拒绝,不会强制忽略依赖。 更新保留现有 fstab 和 swap " -"设置,不会自动添加或更改交换文件。 软件包写入和引导发布期间不能通过界面取消。各阶段使用单调时钟计时:系统 识别和挂载准备最多 2 分钟,介质检查和现有引导布局检查最多 3 分钟, " -"引导源检查、恢复和根同步最多 5 分钟,依赖检查最多 15 分钟,包更新最多 60 分钟,引导发布最多 10 分钟。超时先请求终止,再强制终止整个进程组。 " -"界面的周期性状态表示协调进程仍在工作,不代表已完成新的文件或软件包。 如果内核中的 I/O 无法响应终止,协调进程继续持锁并报告等待,不能把仍存活 的写入进程当作已经退出。" -msgstr "" -"確定後、完全な検査を別工程として重複実行しません。パッケージトランザクション自身の事前検査を一度実行します。ルートファイルシステムは APK で更新し、外部パッケージ、world " -"の選択、保護された設定を保持します。新しい既定設定は ``.apk-new`` として現れる場合があります。ルートのトランザクション成功後にだけ起動ファイルを公開します。オフライン" -"更新で新規パッケージを取得するのはメディアの署名済みリポジトリからだけです。``world`` にある ``@testing``、``@alpine`` " -"などのタグは今回のトランザクション専用設定内でそのリポジトリに登録し、既存の外部パッケージが依存関係を満たし続けられるようにします。元のリポジトリのオンライン状態やインデックスキャ" -"ッシュは要求しません。元のリポジトリ設定とタグ選択は保持し、メディアと既存パッケージで満たせないバージョン制約は事前検査で引き続き拒否して、依存関係を強制的に無視しません。既存の " -"fstab と swap 設定も保持し、swap ファイルを自動追加・変更しません。パッケージの書き込みと起動公開は画面からキャンセルできません。各段階は単調時計で期限を管理します" -"。システム識別とマウント準備は最大 2 分、メディアと既存起動レイアウトの検査は 3 分、起動元検査・復旧・ルート同期は 5 分、依存関係計画は 15 分、パッケージ更新は 60 " -"分、起動公開は 10 分です。期限超過時はまず終了要求を送り、その後プロセスグループを強制停止します。画面の定期更新は調整プロセスの稼働を示すもので、新しいファイルやパッケージの完" -"了を示すものではありません。カーネル I/O が終了要求に応答しない場合、書き込みプロセスが残ったままロックを解放せず、調整プロセスは保持したまま待機します。" - -msgid "" -"更新详情显示软件包和引导操作的实际输出,完整日志位于安装器运行环境的 ``/var/log/installer-update.log``。失败页面保留错误和日志位置,并返回目标磁盘" -"步骤重新检查; 新安装失败后也先返回检查方案,不能把重新进入进度页当作已经获准再次擦盘。" -msgstr "" -"更新の詳細にはパッケージ操作と起動操作の実際の出力を表示します。完全なログはインストーラー実行環境の ``/var/log/installer-update.log`` " -"にあります。失敗画面にはエラーとログの場所を残し、対象ディスクの手順へ戻って再検査します。新規インストールの失敗後も先に構成を再確認し、進行画面に戻っただけで再度のディスク消去を許" -"可したとは扱いません。" - -msgid "" -"目标系统的 ``/var/lib/reliefos/installer-update/state`` 持久记录软件包、根同步、 " -"引导提交和完成阶段,记录通过临时文件、文件同步、原子替换和目录同步发布。 同一介质的引导提交失败后,重新检查会核对根分区、索引、包数据库和 world, " -"只有这些身份仍匹配时才跳过已完成的包事务,继续引导提交;软件包阶段失败 则重新预检并执行包修复。这属于向前修复,不是整个根文件系统的原子回滚。 旧内核模块 保留与 A/B " -"内核发布继续使用共同的原生引导接口。更新期间由独立进程持有 安装器更新锁,释放目标挂载后才报告完成。阶段及其子命令继承同一把锁, " -"避免协调进程意外退出后并行启动另一次写入。清理失败会保留工作区并报告错误; 检测到上次遗留的更新挂载时拒绝开始新事务,应保存日志并重启安装环境后重试。 APK " -"已记录为损坏的系统包会先通过 已验证的归档执行定向修复,再执行升级;已有的外部包错误保留并在日志中说明。" -msgstr "" -"対象システムの ``/var/lib/reliefos/installer-update/state`` " -"は、パッケージ、ルート同期、起動コミット、完了の各段階を永続記録します。各記録は一時ファイル、ファイル同期、原子的置換、ディレクトリ同期を経て公開します。同じメディアで起動コミット" -"に失敗した後は、再検査でルートパーティション、インデックス、パッケージデータベース、world " -"の選択を確認します。すべての識別情報が一致する場合に限り、完了済みのパッケージ処理を省略して起動公開を再開します。パッケージ段階の失敗では事前検査とパッケージ修復を再実行します。こ" -"れは前進復旧であり、ルートファイルシステム全体の原子的なロールバックではありません。旧カーネルモジュールの保持と A/B " -"カーネル公開は、共通のネイティブ起動インターフェースを引き続き使います。段階とそのコマンドは更新ロックを継承し、調整プロセスが予期せず終了しても別の書き込みを開始できないようにしま" -"す。クリーンアップに失敗した場合は作業領域を保持してエラーを報告します。前回の更新マウントが残っていると新しい処理を拒否するため、ログを保存し、インストーラー環境を再起動してから再" -"試行してください。APK が破損済みと記録したシステムパッケージは、検証済みアーカイブで個別修復してから更新します。既存の外部パッケージのエラーは保持し、ログで説明します。" +"备份目标磁盘。安装器的重新分区、格式化会破坏所选磁盘的数据; 先用磁盘型号、容量和现有分区核对身份,不能只凭设备编号判断。 安装介质 " +"``reliefos-installer.iso`` 支持 Legacy BIOS 与 UEFI。ISO 使用双 El Torito " +"光盘入口,不承诺是可直接写入 U 盘的 hybrid 镜像。也可使用预制磁盘 ``reliefos.vmdk``。" +msgstr "" +"対象ディスクをバックアップしてください。パーティションの再作成やフォーマットを行うと、選択したディスクのデータが失われます。デバイス番号だけに頼らず、モデル、容量、既存のパーティションを確認してください" +"。``reliefos-installer.iso`` は El Torito の二つの起動エントリーでレガシー BIOS と UEFI " +"に対応します。USB メモリーに直接書き込むハイブリッドイメージとしての動作は保証されません。作成済みディスク ``reliefos.vmdk``" +" も利用できます。" + +msgid "安装器运行时和安装后的系统是不同的根文件系统。 只有实际安装并移除 ISO 后启动成功,才能证明安装后的系统可用。" +msgstr "" +"インストーラーとインストール済みシステムは異なるルートファイルシステムを使います。動作を確認するには、インストールを完了し、ISO " +"を取り外して対象ディスクから起動してください。" + +msgid "" +"安装器 ISO 使用 ReliefNT 和未压缩的 CPIO initramfs,由 systemd 启动可写的 安装环境。ISO " +"光盘只读挂载,提供引导资源;目标系统的软件包不从镜像复制。 安装时必须联网访问 Arch 官方仓库和 ReliefOS 软件包仓库(RPR)。 " +"安装器在写盘前独立验证 RPR 数据库的签名,并为所选桌面解析依赖和估算容量。 pacman " +"校验软件包签名,再安装到目标磁盘。安装后的系统有自己的 pacman 信任数据库。" +msgstr "" +"インストール ISO は ReliefNT と非圧縮 CPIO initramfs を使い、書き込み可能な systemd " +"環境を起動します。光学メディアは読み取り専用でマウントされ、ブート用ファイルを提供します。対象システムのパッケージはイメージからコピーしません。インストールには" +" Arch 公式リポジトリと ReliefOS " +"パッケージリポジトリ(RPR)へのネットワーク接続が必要です。ディスクに書き込む前に、インストーラーは RPR " +"データベースの署名を独立して検証し、選択したデスクトップの依存関係を解決して必要容量を見積もります。pacman " +"はパッケージの署名を検証してから対象にインストールします。インストール済みシステムは独自の pacman 信頼データベースを持ちます。" + +msgid "" +"在 GRUB 中选择图形安装或控制台安装;控制台会话条目为 ``Install ReliefOS (console " +"session)``。图形和控制台向导使用相同的步骤顺序: 语言、许可证、在线安装说明、目标磁盘、引导方式、分区方案、系统选项、账户、 " +"安装摘要、安装进度和结果。安装器只负责全新安装;安装后请用 pacman 更新。" +msgstr "" +"GRUB でグラフィカルまたはコンソールインストールを選択します。コンソールの項目は ``Install ReliefOS (console " +"session)`` " +"です。どちらも言語、ライセンス、オンラインインストールの案内、対象ディスク、ブートローダー、パーティション構成、システム設定、アカウント、確認、進捗、結果の順に進みます。インストーラーは新規インストール専用です。インストール後は" +" pacman で更新してください。" + +msgid "" +"安装前可以用“上一步”返回,图形侧栏也可回到已经经过的配置步骤。 修改磁盘、引导方式、分区或系统选项后,摘要根据当前选择重新生成; " +"账户密码不会出现在摘要或日志中。图形许可证页面需明确勾选确认, 控制台通过“接受并继续”确认。 在“系统选项”中选择桌面、IANA 时区、Arch" +" 镜像源和可选交换文件。默认镜像列表优先使用 清华大学 TUNA,Arch 地理镜像作为备用;也可直接选择 Arch " +"地理镜像。最终摘要只用于核对。" +msgstr "" +"インストール前は「戻る」で前の手順に戻れます。グラフィカル版ではサイドバーから完了済みの手順に戻ることもできます。ディスク、起動方式、パーティション構成、システムオプションを変更すると概要が再生成されます。アカウントのパスワードは概要やログに表示されません。グラフィカル版ではライセンスへの同意を明示的に選択し、コンソール版では「同意して続行」を選びます。「システムオプション」でデスクトップ、IANA" +" タイムゾーン、Arch ミラー、任意のスワップファイルを選択します。既定の一覧では清華大学の TUNA を優先して Arch " +"の地域別ミラーを予備にします。Arch の地域別ミラーを直接選ぶこともできます。最終概要は確認用です。" + +msgid "" +"桌面环境默认选择 IceWM;也可选择 Xfce(实验性)或纯控制台系统。 桌面软件包在安装时下载;纯控制台不安装图形登录管理器或桌面。 XDM " +"的默认会话由 ``/etc/X11/Xsession`` 选择;用户可用可执行的 ``~/.xsession`` " +"覆盖。切换安装选项不会改变正在运行的安装器桌面。" +msgstr "" +"既定は IceWM です。実験的な Xfce " +"やコンソール専用システムも選択できます。デスクトップ用パッケージはインストール時にダウンロードします。コンソール構成ではグラフィカルログインマネージャーやデスクトップをインストールしません。XDM" +" の既定セッションは ``/etc/X11/Xsession`` が選択し、実行可能な ``~/.xsession`` " +"で上書きできます。この設定を変更してもインストーラーが動作中のデスクトップには影響しません。" + +msgid "" +"控制台安装器使用 ncursesw,提供与图形向导对应的页面。终端中直接运行 ``installer`` 或 ``installer " +"--text``;图形入口为 ``installer --graphical``。 支持英文、中文和日文,字符显示依赖终端及其字体覆盖。" +msgstr "" +"コンソールインストーラーは ncursesw を使い、グラフィカル画面と同じ手順を提供します。端末からは ``installer`` または " +"``installer --text`` を実行します。グラフィカル版は ``installer --graphical`` " +"で起動します。英語、中国語、日本語に対応します。文字の表示は端末とフォントに依存します。" + +msgid "" +"使用 Tab、Shift+Tab 和方向键选择控件,空格切换选项,Enter 激活所选按钮, F3 继续、F2 返回修改,PgUp/PgDn " +"滚动页面或许可证。界面适配终端大小, 需要至少 60 列、20 行。密码以遮罩显示。GUI 和 TUI 在后台执行安装, " +"进度页显示分区、下载、验签、包事务、配置及引导安装等阶段。 安装失败时保留错误详情,完整日志位于安装环境的 " +"``/var/log/installer.log``。" +msgstr "" +"Tab、Shift+Tab、矢印キーで移動し、Space で選択を切り替え、Enter で選択したボタンを実行します。F3 で続行、F2 " +"で戻り、PgUp/PgDn でページやライセンスをスクロールします。最低 60 列、20 " +"行が必要です。パスワードは伏せ字になります。どちらの画面でもインストールはバックグラウンドで実行され、パーティション設定、ダウンロード、署名検証、パッケージ処理、設定、ブートローダーのインストールの進捗が表示されます。失敗時もエラーの詳細が残ります。完全なログはインストール環境の" +" ``/var/log/installer.log`` にあります。" + +msgid "" +"所有方案都创建 512 MiB FAT32 ESP,保存内核、GRUB 配置及所选引导器的资源。 BIOS 引导同样从该 FAT32 " +"分区读取启动资源,不能因为只选 BIOS 而删除它。" +msgstr "" +"自動構成では常に 512 MiB の FAT32 EFI システムパーティション(ESP)を作成し、カーネル、GRUB " +"設定、選択したブートローダーのファイルを保存します。BIOS 起動でもこのパーティションを使うため、BIOS のみでも必要です。" + +msgid "" +"格式化前会根据已解析的软件包估算目标容量,并检查引导分区所需空间。菜单通过 GPT PARTUUID 绑定 " +"根分区;缺失、无效或重复身份应报错,不能以连接顺序替代身份。 完成后正常关机、移除安装介质,再从目标磁盘启动。" +msgstr "" +"フォーマット前に、解決済みのパッケージから必要容量を見積もり、起動パーティションの空き容量を確認します。メニューは GPT PARTUUID " +"でルートパーティションを指定します。識別子がない、無効、または重複している場合はエラーとし、ディスクの順序では代用しません。完了後は通常の手順でシャットダウンし、インストールメディアを取り外して対象ディスクから起動してください。" + +msgid "" +"安装器完整写入并格式化文件,设置 root 所有、权限 0600,再把交换文件写入 ``/etc/fstab``。systemd " +"在目标系统启动时激活它;可用 ``swapon --show`` 或 ``systemctl status swapfile.swap`` " +"检查。若磁盘 I/O 或清理失败,安装器会报告错误。" +msgstr "" +"インストーラーはファイルの全領域を割り当ててフォーマットし、所有者を root、モードを 0600 に設定して ``/etc/fstab`` " +"に登録します。起動時に systemd が有効にします。``swapon --show`` または ``systemctl status " +"swapfile.swap`` で確認できます。ディスク I/O や後処理が失敗した場合は報告されます。" + +msgid "" +"与已有系统共存时选择手动分区,为 ReliefOS 指定单独的根分区。 所选根分区会格式化;已有 FAT32 ESP " +"默认保留,不要求它达到自动方案的 512 MiB,但必须有足够剩余空间。只有显式勾选格式化 ESP 才会清除其中的 所有 EFI 文件。TUI " +"在分区页提供相同的“格式化所选 ESP”选项。 自动分区仍是明确的整盘擦除方案,不是保留其他系统的并列安装。" +msgstr "" +"既存システムと共存するには、手動パーティション設定で ReliefOS " +"専用のルートパーティションを指定します。選択したルートはフォーマットされます。既存の FAT32 ESP は既定で保持され、空き容量が足りていれば" +" 512 MiB 未満でも使用できます。明示的にフォーマットを選ぶと EFI " +"ファイルはすべて消去されます。コンソールのパーティション画面にも同じ選択肢があります。自動パーティション設定はディスク全体を消去するため、共存用ではありません。" + +msgid "" +"新安装将物理 ESP 挂到 ``/efi``,并把 ``/efi/reliefos/instances/<根分区 PARTUUID>`` bind" +" 到 ``/boot``。 每个实例有独立的 GRUB 配置、根分区绑定、A/B 内核状态和版本文件; " +"内核包更新检查实例所有权,拒绝把当前根的内核发布到另一个实例。 systemd 根据目标系统的 fstab 装配这两层挂载。" +msgstr "" +"新規インストールでは物理 ESP を ``/efi`` にマウントし、``/efi/reliefos/instances/<ルートの " +"PARTUUID>`` を ``/boot`` にバインドマウントします。各インストールは個別の GRUB 設定、ルートとの対応、A/B " +"カーネルの状態、バージョン別ファイルを持ちます。カーネルパッケージの更新では所有権を確認し、別のインストールにカーネルを公開しません。systemd" +" はインストール済みシステムの fstab に従って両方をマウントします。" + +msgid "" +"GRUB 在启动时枚举其他 ReliefOS 实例;UEFI 菜单识别常见的 Windows、 shim/GRUB 和 systemd-boot " +"文件,BIOS 菜单支持 Windows 分区引导及其他 系统的 GRUB 配置。其他系统的配置只在用户选择相应条目后执行。 BIOS " +"安装会替换所选整盘的主引导代码;只需 UEFI 共存时可取消 BIOS。 安装介质保留图形和控制台两个安装入口。磁盘保留普通启动及高级选项中的 " +"日志暂停、关闭内核日志颜色和有效旧内核回退。" +msgstr "" +"起動時に GRUB は他の ReliefOS インスタンスを列挙します。UEFI メニューは一般的な Windows、shim/GRUB" +"、systemd-boot のファイルを認識します。BIOS メニューでは Windows のパーティションや他のシステムの GRUB " +"設定を利用できます。他のシステムの設定は該当項目を選択したときだけ実行されます。BIOS " +"のインストールは選択したディスクのマスターブートコードを置き換えます。UEFI での共存だけが必要なら BIOS " +"を解除してください。インストールメディアにはグラフィカルとコンソールの項目があります。インストール済みディスクには通常起動に加え、ログの一時停止、カーネルログの色無効化、有効な旧カーネルの起動の項目があります。" + +msgid "升级与迁移" +msgstr "アップグレードと移行" + +msgid "" +"旧体系不支持原地转换。先确认用户数据和启动分区均已备份,再使用在线安装器 全新安装。安装完成后,常规系统更新统一在运行中的新系统通过 ``sudo" +" pacman -Syu`` 进行,不需要重新从安装介质启动。不要只同步仓库数据库 而不升级已安装的包。请检查 pacman 报告的 " +"``.pacnew`` 等配置文件变化。" +msgstr "" +"以前のシステムからその場で変換することはできません。ユーザーデータと起動パーティションをバックアップしてから、オンラインインストーラーで新規インストールしてください。その後の通常更新は新システム上で" +" ``sudo pacman -Syu`` " +"を実行します。インストールメディアから起動し直す必要はありません。インストール済みパッケージを更新せずにリポジトリデータベースだけを同期しないでください。``.pacnew``" +" ファイルなど pacman が報告する設定変更を確認してください。" + +msgid "" +"安装新的 ReliefNT 软件包时,pacman 钩子检查引导分区和空间,在包事务后生成 与该版本匹配的 initramfs 和 GRUB " +"条目。若引导步骤失败,软件包可能已安装; 先解决报错,再以管理员身份运行 ``reliefos-boot-update / /boot`` 重试。" +" 需要恢复时,可从 GRUB 选择仍保留的上一版内核。回退内核不会回退其他软件包。" +msgstr "" +"新しい ReliefNT パッケージをインストールすると、pacman " +"のフックが起動パーティションと空き容量を確認し、パッケージ処理の後で対応する initramfs と GRUB " +"の項目を生成します。起動準備に失敗してもパッケージはすでにインストールされている場合があります。報告された原因を解消してから、管理者として " +"``reliefos-boot-update / /boot`` を実行し、再試行してください。復旧時は GRUB " +"で保持されている旧カーネルを選択できます。カーネルを戻しても他のパッケージは戻りません。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/ipv6.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/ipv6.po index f9b4f17c..8fe24bef 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/ipv6.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/ipv6.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "IPv6 网络" msgstr "IPv6 ネットワーク" @@ -21,8 +24,8 @@ msgid "" "地址、前缀路由及默认路由。所在网络必须 实际提供 IPv6;没有路由器通告时不会伪造可连接公网的 IPv6 地址。" msgstr "" "システムは IPv4/IPv6 " -"のデュアルスタックに対応しています。有効なイーサネットインターフェースはリンクローカルアドレスを自動生成し、重複アドレス検出とルーター広告を使って " -"SLAAC アドレス、プレフィックス経路、デフォルト経路を設定します。ネットワークが実際に IPv6 " +"のデュアルスタックに対応しています。有効なイーサネットインターフェースはリンクローカルアドレスを自動生成し、重複アドレス検出とルーター広告を使って" +" SLAAC アドレス、プレフィックス経路、デフォルト経路を設定します。ネットワークが実際に IPv6 " "を提供する必要があり、ルーター広告がなければインターネットに接続できる IPv6 アドレスを捏造しません。" msgid "查看与配置" @@ -38,44 +41,32 @@ msgid "" msgstr "" "``2001:db8::/32`` " "は文書の例示用アドレスです。実際にはネットワークから割り当てられたアドレスに置き換えてください。リンクローカルの宛先にはインターフェースのゾーン識別子が必要で、ツールのインターフェース指定オプションも使用できます。アドレスと経路の変更には" -" root または適切な ``CAP_NET_ADMIN`` が必要です。raw ICMPv6 socket には ``CAP_NET_RAW`` " -"が必要です。一時的な設定は永続化された IPv4 profile を変更しません。" +" root または適切な ``CAP_NET_ADMIN`` が必要です。raw ICMPv6 socket には ``CAP_NET_RAW``" +" が必要です。一時的な設定は永続化された IPv4 profile を変更しません。" msgid "DNS 自动配置" msgstr "DNS の自動設定" msgid "" -"``reliefos-rdnss`` OpenRC 服务运行 ``rdnssd``,读取路由器通告中的 RDNSS " -"选项。它检查链路本地路由器来源、hop limit 255、接收接口和完整选项长度, 按通告有效期撤销 DNS,接口禁用时清除该接口的通告缓存。链路本地" -" DNS 带区域标识,避免将同名地址发到错误的接口。" -msgstr "" -"``reliefos-rdnss`` OpenRC サービスは ``rdnssd`` を実行し、ルーター広告の RDNSS " -"オプションを読み取ります。リンクローカルのルーター送信元、hop limit " -"255、受信インターフェース、オプション全長を確認し、広告の有効期間に従って DNS " -"を失効させます。インターフェースの無効化時にはその広告キャッシュを消去します。リンクローカル DNS " -"にはゾーン識別子を付け、同一アドレスを誤ったインターフェースへ送信しないようにします。" - -msgid "" -"服务只更新 ``/run/reliefos/ra-dns``,现有 ``publish-resolver`` 统一发布 " -"``/etc/resolv.conf``。自动模式合并 IPv6 RDNSS 与 IPv4 DHCP DNS,去重后 最多发布三个服务器。显式的自定义 " -"DNS 或 Cloudflare 策略优先,RA 不覆盖 用户的选择。DNS 搜索后缀的 DNSSL 自动配置尚未提供。" +"systemd-networkd 从 IPv6 路由器通告接收 RDNSS 服务器与搜索域, systemd-resolved " +"按接口解析域名。默认物理有线配置开启 DHCP 和 ``IPv6AcceptRA=yes``。为接口显式配置 DNS 时,Network " +"Controller 会关闭从 DHCP 和 RA 获取的 DNS。关闭图形界面后,服务继续运行。" msgstr "" -"サービスは ``/run/reliefos/ra-dns`` のみを更新し、既存の ``publish-resolver`` が " -"``/etc/resolv.conf`` を一元的に公開します。自動モードは IPv6 RDNSS と IPv4 DHCP DNS " -"を統合して重複を除き、最大 3 サーバーを公開します。明示したカスタム DNS または Cloudflare の方針が優先し、RA " -"がユーザーの選択を上書きすることはありません。DNS 検索サフィックスの DNSSL 自動設定はまだ提供されていません。" +"systemd-networkd は IPv6 のルーター広告から RDNSS サーバーと検索ドメインを取得します。systemd-" +"resolved はインターフェイスごとに名前解決します。既定の有線設定では DHCP と ``IPv6AcceptRA=yes`` " +"が有効です。DNS を明示したインターフェイスでは、Network Controller が DHCP とルーター広告による DNS " +"の取得を無効にします。画面を閉じた後もサービスは動作します。" msgid "" -"当前默认自动地址来自 RA/SLAAC;不自动运行有状态 DHCPv6 地址租约客户端。 网络控制器的持久化配置页仍管理 IPv4,IPv6 " -"通过标准命令管理。关闭可选的 网络控制器 GUI 不影响 IPv6 和 RDNSS 服务。" +"``/etc/resolv.conf`` 指向 resolved 的运行时 stub 配置。可以通过 ``resolvectl status`` " +"看到每个接口的实际 DNS 服务器。" msgstr "" -"現在の既定の自動アドレス設定は RA/SLAAC によるもので、ステートフル DHCPv6 " -"アドレスリースクライアントは自動実行しません。ネットワークコントローラーの永続設定ページは引き続き IPv4 を管理し、IPv6 " -"は標準コマンドで管理します。任意のネットワークコントローラー GUI を無効にしても、IPv6 と RDNSS サービスには影響しません。" +"``/etc/resolv.conf`` は resolved の実行時スタブ設定を指します。インターフェイスごとの DNS サーバーは " +"``resolvectl status`` で確認できます。" msgid "" -"排查时分别检查链路、地址、路由、数值地址连通性与 DNS;能 Ping 通不等于 DNS 或 TLS 已成功。实现和 Linux ABI 的边界见 " -"ReliefNT 仓库的 ``Documentation/userspace-api/ipv6.rst``。" +"排查时分别检查链路、地址、路由、数值地址连通性与 DNS;能 Ping 通不等于 DNS 或 TLS 已成功。实现和 Linux ABI 的边界见" +" ReliefNT 仓库的 ``Documentation/userspace-api/ipv6.rst``。" msgstr "" "調査時はリンク、アドレス、経路、数値アドレスによる接続性、DNS を個別に確認してください。Ping が通っても DNS や TLS " "の成功を意味しません。実装と Linux ABI の範囲は ReliefNT リポジトリの ``Documentation/userspace-" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/kernel-modules.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/kernel-modules.po index 1f6dbbad..90215589 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/kernel-modules.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/kernel-modules.po @@ -4,22 +4,25 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "内核模块的系统管理" msgstr "カーネルモジュールのシステム管理" msgid "" -"ReliefNT 的可加载模块采用 Linux 风格的 Kconfig、Kbuild、ELF ``.ko`` 和 模块管理命令。模块必须针对正在使用的 " -"ReliefNT 内核重新编译;这不表示 Linux 原版二进制模块或其全部内核内部 API 可直接使用。POSIX 不定义 " -"内核模块格式,用户态系统调用遵循已实现的 Linux x86_64 ABI。" +"ReliefNT 的可加载模块采用 Linux 风格的 Kconfig、Kbuild、ELF ``.ko`` 和 " +"模块管理命令。模块必须针对正在使用的 ReliefNT 内核重新编译;这不表示 Linux 原版二进制模块或其全部内核内部 API " +"可直接使用。POSIX 不定义 内核模块格式,用户态系统调用遵循已实现的 Linux x86_64 ABI。" msgstr "" "ReliefNT のロード可能モジュールは Linux 形式の Kconfig、Kbuild、ELF " "``.ko``、モジュール管理コマンドを使用します。モジュールは使用中の ReliefNT カーネル向けに再コンパイルする必要があり、Linux " @@ -45,8 +48,9 @@ msgstr "" "へ戻すことはありません。``CONFIG_MODULES`` を無効にしても全組み込みシステムを生成できます。" msgid "" -"模块与 initramfs 消费内核实际 install manifest。镜像打包检查根控制器、 根文件系统及其依赖闭包,拒绝缺失必需功能、模块错 " -"ABI 或成对载荷不一致, 不会为让构建成功而静默修改配置。产物位置沿用 :doc:`../kbuild/building`。" +"模块与 initramfs 消费内核实际 install manifest。镜像打包检查根控制器、 " +"根文件系统及其依赖闭包,拒绝缺失必需功能、模块错 ABI 或成对载荷不一致, 不会为让构建成功而静默修改配置。产物位置沿用 " +":doc:`../kbuild/building`。" msgstr "" "モジュールと initramfs はカーネルの実際の install manifest " "を使用します。イメージ作成はルートコントローラー、ルートファイルシステム、および依存関係の閉包を確認し、必須機能の欠落、モジュール ABI " @@ -57,17 +61,16 @@ msgid "启动与自动加载" msgstr "起動と自動ロード" msgid "" -"GRUB 同时加载内核和薄 newc initramfs。``/init`` 挂载 proc/sys/dev,使用 真实 BusyBox " -"modprobe 加载根控制器和文件系统,再根据 ``root=`` 挂载真实根 并 switch_root。Live/Installer " -"的大根镜像是独立的内存块设备,不能替代 initramfs。普通 OpenRC 模块服务先于音频、网络和 Xorg;PCI 设备通过 sysfs " -"modalias 选择模块,平台模块来自当前内核版本的生成清单。" +"GRUB 使用 Multiboot2 加载内核和 dracut 生成的未压缩 CPIO。 常规启动优先挂载指定 PARTUUID 的 ext4 " +"根。需要模块才能访问根设备时, dracut 通过 kmod 加载模块并切换到真实根。进入系统后, ``systemd-modules-" +"load.service`` 读取当前 release 的平台模块清单, udev 根据 PCI 设备的 sysfs modalias " +"自动加载匹配模块。" msgstr "" -"GRUB はカーネルと小規模な newc initramfs の両方をロードします。``/init`` は proc/sys/dev " -"をマウントし、実際の BusyBox modprobe でルートコントローラーとファイルシステムをロードした後、``root=`` " -"に従って実ルートをマウントし switch_root を実行します。Live/Installer " -"の大きなルートイメージは別のメモリ内ブロックデバイスであり、initramfs の代わりにはなりません。通常の OpenRC " -"モジュールサービスは音声、ネットワーク、Xorg より先に実行されます。PCI デバイスは sysfs modalias " -"でモジュールを選び、プラットフォームモジュールは現在のカーネルバージョンの生成済み一覧から取得します。" +"GRUB は Multiboot2 でカーネルと dracut の非圧縮 CPIO を読み込みます。通常起動では PARTUUID で指定された " +"ext4 ルートのマウントを先に試みます。ルートデバイスにモジュールが必要な場合は、dracut が kmod " +"で読み込んで実ルートに切り替えます。起動後、``systemd-modules-load.service`` " +"が実行中のリリースのプラットフォーム一覧を読み込みます。udev は sysfs にある PCI デバイスの modalias " +"に対応するモジュールを読み込みます。" msgid "" "管理员可使用 ``/etc/modules-load.d/*.conf`` 和 ``/etc/modprobe.d/*.conf``。 " @@ -83,14 +86,13 @@ msgid "在目标 ReliefOS 系统内执行::" msgstr "対象の ReliefOS システム内で実行します::" msgid "" -"模块安装在 ``/lib/modules//``。modprobe 读取目标兼容 depmod " -"生成的依赖、别名和内置数据库;内置模块的 modprobe 是有效的空操作。 修改内核模块需要内核检查的 ``CAP_SYS_MODULE``,仅在 " -"UI 中获得管理员 身份不能绕过该检查。错误版本、未解析符号和损坏 ELF 必须明确失败。" +"模块安装在 ``/usr/lib/modules//``。modprobe 读取目标兼容 depmod " +"生成的依赖、别名和内置数据库;内置模块的 modprobe 是有效的空操作。 修改内核模块需要内核检查的 " +"``CAP_SYS_MODULE``,仅在 UI 中获得管理员 身份不能绕过该检查。错误版本、未解析符号和损坏 ELF 必须明确失败。" msgstr "" -"モジュールは ``/lib/modules//`` にインストールされます。modprobe はターゲット互換の depmod " -"が生成した依存関係、エイリアス、組み込みデータベースを読みます。組み込みモジュールへの modprobe " -"は正当な何もしない操作です。カーネルモジュールの変更にはカーネルが検査する ``CAP_SYS_MODULE`` が必要で、UI " -"上で管理者になっただけでは迂回できません。バージョン違い、未解決シンボル、破損 ELF は明確に失敗しなければなりません。" +"モジュールは ``/usr/lib/modules//`` にインストールされます。modprobe は depmod " +"が生成する依存関係、エイリアス、組み込み一覧を読みます。組み込みモジュールの読み込みは正常終了します。変更にはカーネルで検査する " +"``CAP_SYS_MODULE`` が必要です。バージョン不一致、未解決シンボル、破損した ELF は明示的なエラーになります。" msgid "" "活跃挂载、打开的设备、用户映射、IRQ、DMA 和在途回调会保留模块 owner。 卸载忙碌的根磁盘、文件系统、DRM 或 PCM " @@ -104,8 +106,8 @@ msgid "更新与恢复" msgstr "更新と復旧" msgid "" -"签名内核包及 RPR 的完整事务见 :doc:`packages`。A/B 选择记录绑定完整 模块 ABI、内核 SHA-256 和 initramfs" -" SHA-256;版本目录还包含成对清单。 首次安装的残缺零分配或同一候选版本记录可重试,不明旧记录不会被覆盖。" +"签名内核包及 RPR 的完整事务见 :doc:`packages`。A/B 选择记录绑定完整 模块 ABI、内核 SHA-256 和 " +"initramfs SHA-256;版本目录还包含成对清单。 首次安装的残缺零分配或同一候选版本记录可重试,不明旧记录不会被覆盖。" msgstr "" "署名済みカーネルパッケージと RPR の完全なトランザクションは :doc:`packages` を参照してください。A/B " "選択レコードは完全なモジュール ABI、カーネル SHA-256、initramfs SHA-256 " @@ -113,42 +115,60 @@ msgstr "" msgid "" "更新后的候选内核只有一次自动试启动机会。选择器在真正启动菜单项时,先 通过上游 GRUB ``save_env`` " -"在预分配的状态文件中消耗这次机会;写入失败 会拒绝候选内核并保留已确认版本。候选启动后,默认运行级的 ``reliefos-boot-" -"confirm`` 服务调用原生静态工具,核对运行内核、启动参数中的 A/B 槽位、发布代数和 initramfs " -"摘要,以及完整的已安装载荷,才确认本次启动。 同一 ``uname -r`` 下不同 initramfs 不能互相代为确认。" +"在预分配的状态文件中消耗这次机会;写入失败 会拒绝候选内核并保留已确认版本。候选启动后,systemd 的 ``reliefos-boot-" +"confirm`` 服务调用引导核对工具,核对运行内核、启动参数中的 A/B 槽位、发布代数和 initramfs " +"摘要,以及完整的已安装载荷,才确认本次启动。 同一 ``uname -r`` 下不同 initramfs 不能互相代为确认。 " +"确认期间持有 POSIX 更新锁,每份 ESP 内核及 initramfs 只读取并校验一次, 随后依据有效槽位的发布代数判定最新版本。" +msgstr "" +"更新候補の自動試行起動は一度です。ローダーは起動前に GRUB の ``save_env`` " +"で事前確保済みの状態ファイルに試行を記録します。書き込みに失敗したときは確認済みバージョンを維持します。起動後、systemd の " +"``reliefos-boot-confirm`` が実行中のカーネル、A/B スロット、世代、initramfs " +"のダイジェスト、インストール済みのペイロードを検査します。同じ ``uname -r`` でも、確認は対象の initramfs に限定されます。" +"確認中は POSIX 更新ロックを保持し、ESP 上の各カーネルと initramfs のペイロードを一度ずつ読み取って検証します。" +"その後、有効なスロットの公開世代に基づいて最新バージョンを判定します。" + +msgid "" +"确认工具也可从根文件系统的 ``/.reliefos/kernel-bundles//`` " +"读取完整载荷, 并按运行版本和启动参数中的 initramfs 摘要选择目录。载荷必须通过完整性校验, 且其内核、模块 ABI " +"与启动记录一致。可使用 ``reliefos-mkbundle --persist`` 生成持久 载荷。pacman 的更新钩子使用这一持久载荷。" msgstr "" -"更新された候補カーネルには、自動試行起動が 1 回だけ許可されます。実際にメニュー項目を起動する際、セレクターは上流 GRUB の " -"``save_env`` " -"を使い、事前割り当て済み状態ファイルで試行を先に消費します。書き込みに失敗すると候補を拒否し、確認済みバージョンを維持します。候補の起動後、デフォルトランレベルの" -" ``reliefos-boot-confirm`` サービスがネイティブの静的ツールを呼び出します。実行中のカーネル、起動引数の A/B " -"スロット、公開世代、initramfs ダイジェスト、およびインストール済みの完全なペイロードを確認して初めて起動を承認します。同じ " -"``uname -r`` でも異なる initramfs 同士では承認できません。" +"確認ツールは ``/.reliefos/kernel-bundles//`` " +"から完全なペイロードを読み込めます。実行中のリリースと起動引数のダイジェストでディレクトリを選び、完全性、カーネル、モジュール ABI " +"を起動記録と照合します。pacman フックが使う永続ペイロードは ``reliefos-mkbundle --persist`` で生成します。" msgid "" -"若候选内核 panic、被复位或在确认前中断,下次启动自动选择保留的已确认槽位。 此机制不主动复位已挂起的机器,也不回滚用户态 " -"APK;它只在下一次启动时回退 内核及 initramfs。达到默认运行级的核心服务启动顺序是确认边界,不代表所有 " +"若候选内核 panic、被复位或在确认前中断,下次启动自动选择保留的已确认槽位。 此机制不主动复位已挂起的机器,也不回滚用户态 pacman " +"事务;它只在下一次启动时回退 内核及 initramfs。达到 multi-user.target 的核心服务启动顺序是确认边界,不代表所有 " "桌面应用、网络服务或外设都经过健康检查。再次发布不同候选版本时,原生发布器 " "会覆盖未确认槽位,继续保留最后一个已确认版本。相同候选的重试发布是幂等的, 不会暗中重置已经消耗的试启动次数。" msgstr "" -"候補カーネルが " -"panic、リセット、確認前の中断に至った場合、次の起動では保持している確認済みスロットを自動選択します。この仕組みはハングしたマシンを自動リセットせず、ユーザー空間の" -" APK も戻しません。次回起動時のカーネルと initramfs " -"のみを戻します。デフォルトランレベルの主要サービスの起動順序が確認の境界であり、すべてのデスクトップアプリケーション、ネットワークサービス、周辺機器の正常性を保証するものではありません。異なる候補の公開時には未確認スロットを上書きし、最後の確認済みバージョンを保持します。同じ候補の再公開は冪等で、消費済みの試行回数を暗黙にリセットしません。" +"候補カーネルが panic " +"を起こした場合や、確認前にリセットまたは中断された場合、次回は保持している確認済みスロットが選ばれます。復帰の対象はカーネルと initramfs" +" です。ユーザー空間には pacman トランザクションの結果が残り、停止したシステムはリセットが必要です。確認は multi-" +"user.target " +"に関連する基本サービスの起動後に行います。別の候補を発行すると未確認スロットが置き換わり、最後の確認済みバージョンは残ります。同じ候補の再発行では試行回数を引き継ぎます。" msgid "查看当前记录可执行::" msgstr "現在の記録を確認するには、次を実行します::" msgid "" -"健康记录绑定到不可变选择记录的发布代数;迁移标记存在后,缺失、损坏或旧代数 " -"的健康记录不会被当作启动成功。已有安装必须先通过匹配安装器更新引导资源, 再使用新在线更新器;日常更新不直接替换正在使用的 BIOS/EFI " -"加载器。" +"Arch/systemd 系统由 ``reliefos-boot`` 包提供并在根文件系统装配时启用 ``reliefos-boot-" +"confirm.service``。该服务在 ``multi-user.target`` 完成后运行, 等待 ``/boot`` " +"挂载,并要求它是独立挂载点。确认命令失败时服务进入失败状态, 候选版本保持未确认。管理员可以在修复启动分区问题后重新启动该服务。" +msgstr "" +"Arch/systemd システムでは、``reliefos-boot`` パッケージが ``reliefos-boot-" +"confirm.service`` を提供し、ルートファイルシステムの組み立て時に有効化します。このサービスは ``multi-" +"user.target`` の完了後に実行され、``/boot`` " +"のマウントを待ち、独立したマウントポイントであることを要求します。確認コマンドが失敗するとサービスは失敗状態になり、候補は未確認のままです。管理者は起動パーティションの問題を修正した後、サービスを再起動できます。" + +msgid "健康记录绑定到不可变选择记录的发布代数。缺失、损坏或旧代数的健康记录 不会被当作启动成功。日常包更新保留正在使用的 BIOS/EFI 加载器。" msgstr "" -"正常性記録は不変の選択記録の公開世代に結び付けられます。移行マーカーが存在する場合、欠落、破損、旧世代の正常性記録は起動成功として扱いません。既存インストールは対応するインストーラーで起動リソースを更新してから、新オンライン更新クライアントを使用する必要があります。通常の更新では使用中の" -" BIOS/EFI ローダーを直接置き換えません。" +"正常性記録は変更されない選択レコードの世代と結び付きます。記録がない場合、破損している場合、または世代が古い場合は起動を確認しません。通常のパッケージ更新では現在の" +" BIOS と EFI ローダーを維持します。" msgid "" -"故障模型包括任一步写入/同步失败、未同步数据或目录条目丢失,以及非当前 选择记录撕裂。同步成功的数据被设备丢弃、任意 FAT 元数据损坏,以及更新 " -"MBR/EFI 固件加载器本体,超出日常内核包 A/B 发布的保证范围。 QEMU、VMware 和真实硬件的运行证据分别记录,不能互相替代。" +"故障模型包括任一步写入/同步失败、未同步数据或目录条目丢失,以及非当前 选择记录撕裂。同步成功的数据被设备丢弃、任意 FAT 元数据损坏,以及更新" +" MBR/EFI 固件加载器本体,超出日常内核包 A/B 发布的保证范围。 QEMU、VMware 和真实硬件的运行证据分别记录,不能互相替代。" msgstr "" "障害モデルには、各段階の書き込み/同期失敗、未同期データやディレクトリエントリの消失、現在選択されていないレコードの不完全な書き込みが含まれます。同期成功済みデータをデバイスが破棄すること、任意の" " FAT メタデータ破損、MBR/EFI ファームウェアローダー本体の更新は、通常のカーネルパッケージ A/B " @@ -160,16 +180,14 @@ msgstr "" "でダイジェスト引数、対となるペイロード、フォールバック選択を確認します::" msgid "" -"先在同一 ``--stage`` 构建 ``grub-host grub-efi``,输出目录必须尚不存在。 GRUB 的本地补丁为上游 " -"``hashsum`` 增加单文件 ``--expected`` 比对;选择器 独立验证内核和 initramfs " -"的实际字节,避免把缺项校验清单当作载荷验证。 升级内核包不替换固件加载器;更新此选择器时,必须同时安装同版 BIOS/EFI GRUB " -"模块,不能仅复制新的配置文件到旧版 GRUB。" -msgstr "" -"先に同じ ``--stage`` で ``grub-host grub-efi`` " -"をビルドしてください。出力ディレクトリは未作成である必要があります。GRUB のローカルパッチは上流の ``hashsum`` に単一ファイルの " -"``--expected`` 比較を追加します。選択器はカーネルと initramfs " -"の実バイトを独立に検証し、項目が欠けたチェックサム一覧をペイロード検証と誤認することを避けます。カーネルパッケージの更新はファームウェアローダーを置き換えません。この選択器を更新する際は、同じ版の" -" BIOS/EFI GRUB モジュールもインストールし、旧 GRUB に新しい設定ファイルだけをコピーしないでください。" +"先对同一输出运行 ``make build``,输出目录必须尚不存在。 GRUB 的本地补丁为上游 ``hashsum`` 增加单文件 " +"``--expected`` 比对;选择器 独立验证内核和 initramfs 的实际字节,避免把缺项校验清单当作载荷验证。 " +"升级内核包不替换固件加载器;更新此选择器时,必须同时安装同版 BIOS/EFI GRUB 模块,不能仅复制新的配置文件到旧版 GRUB。" +msgstr "" +"同じ出力先で先に ``make build`` を実行し、テスト結果には新しいディレクトリを指定します。GRUB のパッチは上流の " +"``hashsum`` に単一ファイルの ``--expected`` 比較を追加します。選択処理ではカーネルと initramfs " +"の実データを照合します。カーネルパッケージの更新ではファームウェアローダーを維持します。選択処理の更新には同じ版の BIOS と EFI の " +"GRUB モジュールが必要です。" msgid "实际 GRUB 的健康记录写入与下次启动回退使用独立可写 FAT 磁盘验证::" msgstr "実際の GRUB による正常性記録の書き込みと次回起動時のロールバックは、独立した書き込み可能な FAT ディスクで検証します::" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/limitations.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/limitations.po index 11574f64..ec4cf13d 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/limitations.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/limitations.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "支持范围与已知限制" msgstr "サポート範囲と既知の制限" @@ -20,18 +23,18 @@ msgid "验证层次" msgstr "検証の段階" msgid "" -"必须分别报告源码检查、编译、镜像打包、实际运行。历史单项成功不代表 本次源码、全部应用或完整安装升级路径成功。VMware 验证未完成;物理硬件未验证。" -" 本次文档重组不修改这些运行状态,也不等于新一轮硬件验收。" +"必须分别报告源码检查、编译、镜像打包、实际运行。历史单项成功不代表 本次源码、全部应用或完整安装升级路径成功。VMware " +"验证未完成;物理硬件未验证。" msgstr "" -"ソース確認、コンパイル、イメージ作成、実際の実行は別々に報告する必要があります。過去の個別の成功は、今回のソース、全アプリケーション、完全なインストール・更新経路の成功を示しません。VMware" -" の検証は未完了で、物理ハードウェアは未検証です。今回の文書再編はこれらの動作状況を変更せず、新たなハードウェア受け入れテストを意味しません。" +"ソース確認、コンパイル、イメージへの収録、実動作を個別に報告します。過去の結果が対象とするのは当時のバージョンと実行した項目です。VMware " +"の検証は未完了で、実機は未検証です。" msgid "运行限制" msgstr "動作上の制限" msgid "" -"PCI BAR 使用独立设备映射窗口;物理地址位宽、RAM 重叠和缓存别名仍会 限制设备可用性,不能将一种 OVMF 拓扑推广到所有硬件。NVMe " -"当前不提供 已准入的 swap 后端;swap 存储仅支持经审计的 AHCI SATA。" +"PCI BAR 使用独立设备映射窗口;物理地址位宽、RAM 重叠和缓存别名仍会 限制设备可用性,不能将一种 OVMF 拓扑推广到所有硬件。NVMe" +" 当前不提供 已准入的 swap 后端;swap 存储仅支持经审计的 AHCI SATA。" msgstr "" "PCI BAR は独立したデバイスマッピングウィンドウを使用します。物理アドレス幅、RAM " "との重複、キャッシュエイリアスは引き続きデバイスの利用を制限するため、一つの OVMF トポロジーを全ハードウェアに一般化できません。NVMe " @@ -63,23 +66,18 @@ msgid "" "API。实际配置与管理见 :doc:`kernel-modules`。" msgstr "" "ロード可能な ``.ko`` は一致する ReliefNT ABI 向けにコンパイルする必要があり、Linux " -"本来のバイナリモジュールの直接ロードや任意の Linux 内部 API には対応しません。実際の設定と管理は :doc:`kernel-modules`" -" を参照してください。" +"本来のバイナリモジュールの直接ロードや任意の Linux 内部 API には対応しません。実際の設定と管理は :doc:`kernel-" +"modules` を参照してください。" msgid "测试基线" msgstr "テストの基準" msgid "" -"历史 soundctl APK 归属缺失已在当前策略中补齐;APK 归属测试同时覆盖 Python 3.10 与严格宿主 umask 的场景。驱动 " -"ABI 保留 168 字节原始前缀, 版本 2 的 17 个追加服务字段通过单独夹具校验,总长为 304 字节; 原始 golden " +"驱动 ABI 保留 168 字节原始前缀, 版本 2 的 17 个追加服务字段通过单独夹具校验,总长为 304 字节; 原始 golden " "未重生成,旧版本驱动描述符在 init 前拒绝。 音频支持清单检查验证声明的前提、证据和范围,不再固定要求所有运行标志 " -"为未验证。音频产品检查仍需要实际构建产物;部分旧 fixture 及完整系统的 既有问题仍须单独复验,不宣称公开总测试全部通过。 Linux/POSIX" -" 定向测试通过不能视为全量兼容认证;完整本机自举也未完成。 报告失败时保留原始命令、配置、返回码和日志,不能放宽断言后宣称通过。" +"为未验证。音频产品检查仍需要实际构建产物;完整系统的既有问题仍须单独复验。 Linux/POSIX " +"定向测试通过不能视为全量兼容认证;完整本机自举也未完成。 报告失败时保留原始命令、配置、返回码和日志,不能放宽断言后宣称通过。" msgstr "" -"過去に欠けていた soundctl の APK 所有関係は現在の方針で補われ、APK 所有関係テストは Python 3.10 と厳格なホスト " -"umask のケースも対象としています。ドライバー ABI は元の 168 バイトのプレフィックスを保持し、バージョン 2 で追加された 17 " -"個のサービスフィールドを別の fixture で検証して、合計 304 バイトとなります。元の golden " -"は再生成せず、旧バージョンのドライバー記述子は init " -"前に拒否します。音声サポート一覧の検査は、記載された前提条件、証拠、範囲を検証し、すべての動作フラグを未検証に固定することは要求しなくなりました。音声製品の検査には引き続き実際のビルド成果物が必要です。一部の古い" -" fixture と完全なシステムの既存問題には個別の再検証が必要で、公開テスト全体が合格したとは主張しません。Linux/POSIX " -"の個別テスト合格は全体の互換性認証とはみなせず、完全なネイティブ自力ビルドも未完了です。失敗報告には元のコマンド、設定、戻り値、ログを残し、アサーションを緩めて合格と主張してはいけません。" +"ドライバー ABI は最初の 168 バイトを維持します。バージョン 2 で追加した 17 フィールドは専用のフィクスチャで検査し、合計は 304" +" " +"バイトです。元の基準データを維持し、古い記述子は初期化前に拒否します。音声の検査には実際の成果物が必要で、前提条件と観測結果を記録します。システム全体の既知の問題と完全なセルフホストは引き続き検証が必要です。失敗時はコマンド、設定、終了状態、ログを保持します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/network-controller.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/network-controller.po index 5df14220..41494a99 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/network-controller.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/network-controller.po @@ -4,138 +4,59 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "Network Controller" msgstr "Network Controller" msgid "" -"网络控制器是使用 C++ 和 FLTK 编写的原生 X11 应用,启动命令为 ``network-" -"controller``。支持中文,入口位于系统应用菜单;默认包含在 Xorg 镜像中。 普通用户选择 sudo 密码或 root " -"密码解锁受限工作进程,GUI 保持原用户身份。 root 账户直接进入。密码不保存在命令参数、环境变量、文件或日志中。" -msgstr "" -"ネットワークコントローラーは C++ と FLTK によるネイティブ X11 アプリケーションで、``network-controller`` " -"で起動します。中国語に対応し、システムのアプリケーションメニューに項目があり、Xorg イメージに既定で含まれます。一般ユーザーは sudo " -"パスワードか root パスワードを選んで制限付きワーカーを解除し、GUI は元のユーザー権限を維持します。root " -"は直接利用できます。パスワードはコマンド引数、環境変数、ファイル、ログに保存しません。" - -msgid "查看与诊断" -msgstr "確認と診断" - -msgid "" -"左侧按实际接口查询结果列出网卡。“概览”显示 IPv4、掩码、网关、MAC、MTU、 " -"解析器。自动刷新只更新状态,不覆盖未保存的配置。若系统导出标准接口计数,则 同时显示收发总量、速率、包数及错误;当前内核尚未导出这些计数,界面明确提示 " -"并隐藏该组字段,不把缺失数据显示为零。网关和连接信息使用已有公开网络查询接口。" -msgstr "" -"左側には実際のインターフェース照会結果に基づくネットワークカードを表示します。「概要」には " -"IPv4、マスク、ゲートウェイ、MAC、MTU、リゾルバーを表示します。自動更新は状態だけを更新し、未保存の設定を上書きしません。標準のインターフェースカウンターがシステムから公開されていれば、送受信の総量、速度、パケット数、エラーも表示します。現在のカーネルはまだこれらを公開していないため、その旨を明示してフィールド群を隠し、欠損データをゼロと表示しません。ゲートウェイと接続情報には既存の公開ネットワーク照会インターフェースを使います。" - -msgid "" -"“诊断工具”提供 Ping、DNS 查询、TCP 端口测试和 IPv4 子网计算。工具菜单提供 有效路由、TCP 连接、DHCP 租约、解析器、DHCP" -" 日志和诊断报告。诊断命令 异步执行,支持取消、超时与关闭清理;结果在“输出”中保留,可复制或导出。 TCP 连接建立不代表 TLS " -"校验或目标应用健康;DNS、端口与 Ping 的失败各自报告。" -msgstr "" -"「診断ツール」は Ping、DNS 照会、TCP ポートテスト、IPv4 サブネット計算を提供します。ツールメニューには有効な経路、TCP " -"接続、DHCP リース、リゾルバー、DHCP " -"ログ、診断レポートがあります。診断コマンドは非同期で実行し、キャンセル、タイムアウト、終了時の後処理に対応します。結果は「出力」に保持し、コピーやエクスポートが可能です。TCP" -" 接続の成立は TLS 検証や対象アプリケーションの正常性を意味せず、DNS、ポート、Ping の失敗は個別に報告します。" - -msgid "配置与迁移" -msgstr "設定と移行" - -msgid "" -"左侧选择实际枚举的以太网接口并分别编辑;切换网卡前会提示丢弃未保存的修改。 没有 IPv4 地址或处于禁用状态的网卡也会显示。支持自动 DHCP、静态 " -"IPv4 和禁用;静态模式可以不设置默认网关,DNS 必须明确选择 自定义或 Cloudflare。自定义 DNS 最多三个 IPv4 " -"地址,以空格分隔。" -msgstr "" -"左側で実際に列挙されたイーサネットインターフェースを選び、個別に編集します。カードを切り替える前には未保存の変更を破棄するか確認します。IPv4 " -"アドレスがないカードや無効なカードも表示します。自動 DHCP、静的 " -"IPv4、無効化に対応し、静的モードではデフォルトゲートウェイを省略できますが、DNS はカスタムか Cloudflare " -"を明示的に選ぶ必要があります。カスタム DNS は空白区切りの IPv4 アドレスを最大 3 個指定できます。" - -msgid "" -"eth0 继续使用 ``/etc/reliefos/network.conf``;其他接口使用 " -"``/etc/reliefos/network.d/<接口名>.conf``。未设置的接口默认使用 DHCP。 配置是版本化数据,不作为 shell " -"脚本执行。静态地址、前缀、网关和 DNS 在 GUI、 工作进程及启动链分别验证,接口名必须对应已枚举的 ``eth`` 加十进制编号。 " -"文件目录和配置必须由 root 所有,不能由组或其他用户写入,不能使用符号链接 替代配置文件或目录。保存检查外部变动,并通过临时文件、同步与 " -"rename 原子 替换;各接口各自保留 ``.bak`` 备份。“恢复上次配置”也检查当前快照,不能 绕过冲突检查。 " -"原先没有配置文件的状态可以恢复为缺省状态。" +"从桌面菜单打开 Network Controller,或运行 ``network-controller``。 " +"界面按接口显示链路、地址、路由和流量,提供配置、DHCP 续租、DNS 查询和 诊断输出。默认由 systemd-networkd " +"管理有线网络,由 systemd-resolved 提供 DNS。" msgstr "" -"eth0 は引き続き ``/etc/reliefos/network.conf`` を使い、他のインターフェースは " -"``/etc/reliefos/network.d/<接口名>.conf`` を使います。未設定のインターフェースは既定で DHCP " -"です。設定はバージョン付きデータで、shell スクリプトとして実行しません。静的アドレス、プレフィックス、ゲートウェイ、DNS は " -"GUI、ワーカー、起動経路でそれぞれ検証し、名前は列挙済みの ``eth`` と 10 進番号の組み合わせでなければなりません。ディレクトリと設定は " -"root " -"所有で、グループや他のユーザーが書き込めてはならず、シンボリックリンクで代用できません。保存は外部変更を確認し、一時ファイル、同期、rename " -"で原子的に置換して、インターフェースごとに ``.bak`` " -"を保持します。「前回の設定を復元」も現在のスナップショットを確認し、競合検査を迂回できません。元々設定ファイルがなかった状態も、ファイルなしの既定状態へ復元できます。" +"デスクトップメニューから Network Controller を開くか、``network-controller`` " +"を実行します。画面はリンク、アドレス、経路と通信量をインターフェイスごとに表示し、設定、DHCP 更新、DNS " +"照会、診断を提供します。有線リンクは systemd-networkd、DNS は systemd-resolved が管理します。" msgid "" -"旧的 DNS-only ``network.conf`` 保持可读;旧 udhcpc DNS 策略在迁移前继续生效。 " -"第一次保存写入完整的新格式并备份旧文件,恢复旧备份后仍能通过原链路启动。 升级时保留本地 ``/etc`` 配置,不要求手动删除旧文件。 版本化 " -"profile 生效后,旧 DNS 写入 API 返回 ``EBUSY``,调用方应通过本程序或 编辑 profile " -"后重启网络服务调整策略;不会在解析器忽略旧文件时谎报设置成功。 未迁移的旧配置继续支持旧 API。" +"每个接口可选择自动(DHCP)、静态 IPv4 或禁用。静态配置需要 IPv4 地址及 前缀,可指定网关。DNS 可由网络自动获得,或使用 " +"Cloudflare 或自定义 DNS。 自定义 DNS 会关闭该接口通过 DHCP 和 IPv6 路由器通告获取的 DNS。 " +"其他接口的配置仍由各自的 systemd 文件决定。" msgstr "" -"旧 DNS-only ``network.conf`` は引き続き読み取れ、移行前は旧 udhcpc DNS " -"方針が有効です。初回保存で完全な新形式を書き、旧ファイルをバックアップします。旧バックアップを戻しても元の経路で起動できます。更新はローカルの " -"``/etc`` 設定を保持し、旧ファイルの手動削除を要求しません。バージョン付き profile が有効になると旧 DNS 書き込み API は " -"``EBUSY`` を返します。呼び出し側は本アプリケーションを使うか、profile " -"を編集してネットワークサービスを再起動して方針を変更してください。リゾルバーが旧ファイルを無視しているのに設定成功を偽って報告しません。未移行の旧設定は旧" -" API を引き続きサポートします。" +"インターフェイスごとに DHCP 自動設定、固定 IPv4、無効を選べます。固定設定では IPv4 " +"アドレスとプレフィックスが必須で、ゲートウェイは任意です。DNS は自動、Cloudflare、任意のサーバーを選択できます。任意の DNS " +"を設定したインターフェイスでは DHCP と IPv6 ルーター広告による DNS の取得を停止します。他のインターフェイスにはそれぞれの " +"systemd 設定が適用されます。" -msgid "" -"``reliefos-dhcp`` OpenRC 服务启动时从 ``/proc/net/dev`` 枚举全部以太网卡, " -"逐卡设置静态/禁用状态或启动各自的 ``supervise-daemon`` 和 DHCP 客户端。 停止或应用某卡时先停其监督器,再校验客户端 PID" -" 及接口参数并等待退出, 然后仅清理该卡地址、默认路由和租约;不会根据刚保存的新模式漏停旧客户端。 eth0 保留原有 " -"``/run/reliefos/udhcpc.pid``、``dhcp-lease`` 和 ``dhcp-dns`` " -"路径,其他接口的运行状态带接口名后缀。``network-profile`` 独立于可选 GUI, 关闭 GUI 组件不影响基础网络启动。" -msgstr "" -"``reliefos-dhcp`` OpenRC サービスは起動時に ``/proc/net/dev`` " -"から全イーサネットカードを列挙し、各カードの静的/無効状態を設定するか、個別の ``supervise-daemon`` と DHCP " -"クライアントを起動します。カードの停止や適用時は監視プロセスを先に止め、クライアント PID " -"とインターフェース引数を確認して終了を待ち、そのカードのアドレス、デフォルト経路、リースだけを消去します。保存した新モードを理由に旧クライアントを停止し忘れることはありません。eth0" -" は元の ``/run/reliefos/udhcpc.pid``、``dhcp-lease``、``dhcp-dns`` " -"パスを保持し、他のインターフェースの実行時状態には名前の接尾辞が付きます。``network-profile`` は任意の GUI から独立し、GUI " -"コンポーネントを無効にしても基本のネットワーク起動には影響しません。" - -msgid "" -"DNS 解析器由 ``publish-resolver`` 全系统共享并串行发布。先按内核枚举顺序 " -"收集未禁用且未停止接口的显式自定义/Cloudflare 服务器,再收集 eth0 的自动 RDNSS (仅 eth0 为自动 DNS " -"时),最后按同一顺序收集自动 DHCP 租约;去重后发布最多 三个地址,多余地址保留在各自租约缓存中。某接口的释放、续租或停用不会删除 其他接口的 " -"DNS 状态。单独 eth0 的旧 DNS-only 和固定 DNS 行为保持兼容。" -msgstr "" -"DNS リゾルバーの公開は ``publish-resolver`` " -"がシステム全体で共有し直列化します。まずカーネルの列挙順で、無効化も停止もされていないインターフェースの明示的なカスタム/Cloudflare " -"サーバーを集め、次に eth0 の自動 RDNSS(eth0 が自動 DNS の場合のみ)、最後に同じ順序で自動 DHCP " -"リースを集めます。重複除去後は最大 3 アドレスを公開し、余分なものは各リースキャッシュに残します。一つのインターフェースの解放、更新、停止で他の " -"DNS 状態を削除しません。eth0 単独の旧 DNS-only と固定 DNS 動作も互換性を維持します。" +msgid "保存与应用" +msgstr "保存と適用" msgid "" -"“仅保存”更改持久化策略,供随后服务重启、DHCP 更新或下次启动读取; “保存并应用”只重新配置选中的接口,可能中断该接口的连接;如果整个服务 " -"已停止,则由 OpenRC 启动服务并配置全部接口。应用失败时已保存的文件 仍保留,程序显示失败和输出,可修正或恢复备份;不能将保存成功等同于联网成功。" +"管理员授权后,界面为该接口保存 ``/etc/systemd/network/20-reliefos-<接口>.network``,再调用 " +"``networkctl reload`` 和 ``networkctl reconfigure``。修改结果及系统命令 " +"的错误会显示在界面。DHCP 续租使用 ``networkctl renew``,只用于自动地址模式。 未单独配置的物理有线接口由发行版提供的 " +"``89-reliefos-wired.network`` 处理。" msgstr "" -"「保存のみ」は永続方針を変更し、後のサービス再起動、DHCP " -"更新、次回起動で読み取られます。「保存して適用」は選択したインターフェースだけを再設定するため、その接続が切れる場合があります。サービス全体が停止中なら" -" OpenRC " -"が起動して全インターフェースを設定します。適用に失敗しても保存済みファイルは残り、失敗と出力を表示して修正やバックアップ復元ができます。保存成功を接続成功と同一視してはいけません。" +"管理者の認証後、``/etc/systemd/network/20-reliefos-<インターフェイス>.network`` " +"を保存し、``networkctl reload`` と ``networkctl reconfigure`` " +"を実行します。結果とコマンドのエラーは画面に表示されます。自動モードのリース更新には ``networkctl renew`` " +"を使います。個別設定がない物理有線インターフェイスには、配布される ``89-reliefos-wired.network`` が適用されます。" -msgid "边界" -msgstr "機能の範囲" +msgid "管理员也可直接检查 live 状态::" +msgstr "管理者は実行時の状態を端末でも確認できます::" -msgid "" -"当前 GUI 不提供 IPv6 持久化配置;系统的 IPv6/SLAAC、RDNSS 与命令行配置见 :doc:`ipv6`。此 GUI 也不提供 " -"Wi-Fi、VPN、桥接、VLAN、任意静态路由管理或改变内核固定的 MTU。不能将单条 TCP " -"连接的字节计数冒充网卡总流量。不支持的能力不会显示成已生效。以太网链路能力取决于当前内核和驱动。 QEMU 运行验证与 VMware " -"实机验证分别记录;VMware 验证未完成。" +msgid "``eth0`` 应换成实际接口名。静态配置或断开网卡前,确认远程会话是否依赖该接口。 IPv6 和 DNS 自动配置见 :doc:`ipv6`。" msgstr "" -"現在の GUI は IPv6 の永続設定を提供しません。システムの IPv6/SLAAC、RDNSS、コマンドライン設定は :doc:`ipv6` " -"を参照してください。Wi-Fi、VPN、ブリッジ、VLAN、任意の静的経路管理、カーネル固定 MTU の変更も提供しません。単一 TCP " -"接続のバイト数をカード全体の通信量として扱ってはいけません。未対応機能を有効と表示しません。イーサネットのリンク機能は現在のカーネルとドライバーに依存します。QEMU" -" での実行検証と実際の VMware 検証は別々に記録し、VMware の検証は未完了です。" +"``eth0`` " +"を実際のインターフェイス名に置き換えます。固定アドレスを設定する前やデバイスを切断する前に、リモートセッションがこのリンクを使用しているか確認してください。IPv6" +" と自動 DNS は :doc:`ipv6` を参照してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/openrc-controller.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/openrc-controller.po deleted file mode 100644 index 6b43e38d..00000000 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/openrc-controller.po +++ /dev/null @@ -1,130 +0,0 @@ -# ja translation of the ReliefOS documentation. -# Copyright (C) 2021-2026, ReliefOS contributors -# Distributed under the same license as ReliefOS. -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS 5.3.2\n" -"PO-Revision-Date: 2026-11-14 00:00+0800\n" -"Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "OpenRC Controller" -msgstr "OpenRC Controller" - -msgid "" -"在系统应用菜单中打开“OpenRC 控制器”,或运行 ``openrc-controller``。 程序使用 C++、FLTK 原生 gtk+ " -"控件和系统中文翻译,不属于 Office 分组。" -msgstr "" -"システムのアプリケーションメニューから「OpenRC コントローラー」を開くか、``openrc-controller`` " -"を実行します。C++、FLTK のネイティブ gtk+ ウィジェット、システムの中国語翻訳を使うプログラムで、Office グループには属しません。" - -msgid "权限与会话" -msgstr "権限とセッション" - -msgid "" -"root 账户直接进入。普通用户进入前选择 sudo 当前用户密码或 root 账户密码; 取消认证会退出程序。sudo 方式仍要求账户具有 sudo " -"权限,例如属于 wheel 组。 密码不保存,输入期间关闭输入法,认证后清除内存缓冲区。" -msgstr "" -"root は直接利用できます。一般ユーザーは開始前に現在のユーザーの sudo パスワードか root " -"アカウントのパスワードを選び、認証を取り消すと終了します。sudo 方式には wheel グループ所属などの sudo " -"権限が引き続き必要です。パスワードは保存せず、入力中は入力メソッドを無効にし、認証後はメモリバッファーを消去します。" - -msgid "" -"图形界面保持启动用户身份;固定路径 ``/usr/lib/reliefos/apps/openrc-controller/openrc-" -"controller.elf --worker`` 作为受限 root 工作进程,处理校验过的服务、运行级别与配置请求。 " -"会话仅存在于本次应用运行期间,断开后需重新打开并认证。 sudoers 对该工作程序禁用 ``use_pty``,以保持二进制通信和 EOF 语义; " -"这条规则不会授予新的 sudo 权限,也不免除密码认证。" -msgstr "" -"GUI は起動ユーザーの権限を保ち、固定パス ``/usr/lib/reliefos/apps/openrc-controller/openrc-" -"controller.elf --worker`` を制限付き root " -"ワーカーとして実行し、検証済みのサービス、ランレベル、設定要求を処理します。セッションは今回の実行中だけ存在し、切断後は開き直して再認証が必要です。sudoers" -" はこのワーカーの ``use_pty`` を無効にして、バイナリ通信と EOF の意味を維持します。この規則は新たな sudo " -"権限を付与せず、パスワード認証も免除しません。" - -msgid "服务与运行级别" -msgstr "サービスとランレベル" - -msgid "" -"服务表显示真实 OpenRC 状态、直接加入的运行级别和可用的运行时间。 左侧提供状态及运行级别筛选,上方可搜索,单击列标题排序。 Ctrl 或 " -"Shift 多选,工具栏提供启动、停止、重启、重载、启用与停用。" -msgstr "" -"サービス表には実際の OpenRC " -"状態、直接登録されたランレベル、利用可能な稼働時間を表示します。左側で状態とランレベルを絞り込み、上部で検索し、列見出しのクリックで並べ替えます。Ctrl" -" または Shift で複数選択でき、ツールバーには開始、停止、再起動、再読み込み、有効化、無効化があります。" - -msgid "" -"“启用/停用”对应 ``rc-update add/del``,改变启动配置; “启动/停止”改变当前运行状态。它们是独立的操作。 " -"批量请求按顺序执行,失败会停止后续请求,实际输出保留在“输出”页。 外部服务命令最长允许 180 秒,界面异步显示输出;取消或关闭可能留下过渡状态, " -"应先查看服务状态,再决定是否使用高级操作中的 ``zap``。 ``zap`` 仅重置 OpenRC 记录,不会停止实际进程。 " -"配置保存会完成当前原子提交,再处理取消或退出请求。" -msgstr "" -"「有効化/無効化」は ``rc-update add/del`` " -"に対応して起動設定を変更し、「開始/停止」は現在の稼働状態を変更する独立した操作です。一括要求は順番に実行し、失敗時は後続を停止して、実際の出力を「出力」ページに残します。外部サービスコマンドの上限は" -" 180 秒で、出力を非同期表示します。キャンセルや終了で遷移途中の状態が残る場合があるため、サービス状態を確認してから詳細操作の ``zap`` " -"を使うか判断してください。``zap`` は OpenRC " -"の記録だけをリセットし、実プロセスは停止しません。設定保存は現在の原子的コミットを完了してからキャンセルや終了要求を処理します。" - -msgid "" -"高级操作可以指定服务公布的自定义命令,选择模拟执行、条件执行、 忽略依赖或调试模式。每个参数独立传递,不拼接 shell 命令。 " -"依赖页支持需要、使用、希望、排序及反向依赖类型。" -msgstr "" -"詳細操作ではサービスが公開するカスタムコマンドを指定し、模擬実行、条件付き実行、依存関係の無視、デバッグモードを選べます。各引数は個別に渡し、shell" -" コマンドとして連結しません。依存関係ページは need、use、want、順序指定、逆依存関係の各種別に対応します。" - -msgid "" -"运行级别菜单支持创建自定义级别、添加/删除成员、堆叠/取消堆叠、 删除空且未使用的自定义级别,以及切换普通运行级别。 " -"切换时可以选择仅启动目标服务,或完整切换。 完整切换可能停止网络和桌面需要的服务;程序不直接调用 " -"``sysinit``、``boot``、``single``、``shutdown`` 或 ``reboot`` 等特殊级别。 " -"“所有运行级别状态”显示上游 OpenRC 对堆叠和动态服务的原始解释。" -msgstr "" -"ランレベルメニューではカスタムレベルの作成、メンバーの追加/削除、スタック/解除、空で未使用のカスタムレベルの削除、通常のランレベルの切り替えができます。切り替えは対象サービスの開始のみか完全切り替えを選べます。完全切り替えはネットワークやデスクトップに必要なサービスを停止する場合があります。プログラムは" -" ``sysinit``、``boot``、``single``、``shutdown``、``reboot`` " -"などの特殊レベルを直接呼び出しません。「全ランレベルの状態」はスタックと動的サービスに関する上流 OpenRC の生の解釈を表示します。" - -msgid "配置与工具" -msgstr "設定とツール" - -msgid "" -"可以编辑 ``/etc/conf.d/<服务>`` 和全局 ``/etc/rc.conf``。 保存保留原始文本、权限与所有者,检测外部修改,先生成 " -"``.openrc-controller.bak``,再原子替换并同步。 符号链接、非普通文件、不安全权限及大于 256 KiB 的配置会被拒绝。 " -"恢复备份前同样检查冲突,恢复时把现存内容保存成新的备份; 文件已删除时,按备份的所有者和权限重建,不放宽私有文件的权限。 " -"修改配置后是否需要重启服务由相应服务决定,程序不会隐式重启它。" -msgstr "" -"``/etc/conf.d/<服务>`` とグローバルな ``/etc/rc.conf`` " -"を編集できます。保存では元のテキスト、権限、所有者を保持して外部変更を検出し、``.openrc-controller.bak`` " -"を作成してから原子的に置換・同期します。シンボリックリンク、通常ファイル以外、安全でない権限、256 KiB " -"を超える設定は拒否します。バックアップ復元前にも競合を調べ、現在の内容を新たなバックアップにします。削除済みならバックアップの所有者と権限で再作成し、非公開ファイルの権限を緩めません。設定変更後の再起動の要否はサービスごとに異なり、プログラムが暗黙に再起動することはありません。" - -msgid "" -"工具菜单提供手动启动、未分配、崩溃及受监督服务查询,依赖缓存重建, OpenRC/启动/系统日志查看,以及诊断报告和文本导出。 " -"日志只读取已存在的常用文件,并显示最后至多 256 KiB; 文件不存在时请检查 ``rc_logger`` 或系统日志服务配置。 工具原始输出保留 " -"OpenRC 的术语,界面和操作提示支持中文。" -msgstr "" -"ツールメニューには手動起動、未割り当て、クラッシュ、監視対象サービスの照会、依存関係キャッシュの再生成、OpenRC/起動/システムログの表示、診断レポート、テキスト出力があります。ログは既存の一般的なファイルだけを読み、末尾の最大" -" 256 KiB を表示します。ファイルがない場合は ``rc_logger`` またはシステムログサービスの設定を確認してください。ツールの生出力は " -"OpenRC の用語を保ち、画面と操作案内は中国語に対応します。" - -msgid "构建与验证" -msgstr "ビルドと検証" - -msgid "组件为 ``APP_OPENRC_CONTROLLER``,默认构建、打包和提供桌面入口。 使用正常 Kbuild 入口::" -msgstr "" -"コンポーネントは ``APP_OPENRC_CONTROLLER`` で、既定でビルド、パッケージ化、デスクトップ項目の提供を行います。通常の " -"Kbuild 入口を使用します::" - -msgid "" -"宿主测试在私有 user namespace 和 chroot 中运行测试命令,不操作宿主 OpenRC。 完整系统验收脚本为 " -"``tools/test_openrc_controller_qemu.py``,使用私有镜像和服务夹具; " -"保留构建产物哈希、原始输出、截图和操作证据;默认退出私有来宾, 加 ``--keep-running`` 可继续进行手动图形界面检查。 VMware " -"验证未完成。" -msgstr "" -"ホストテストは専用の user namespace と chroot 内でコマンドを実行し、ホストの OpenRC " -"を操作しません。システム全体の受け入れスクリプトは ``tools/test_openrc_controller_qemu.py`` " -"で、専用イメージとサービス fixture " -"を使い、成果物ハッシュ、生出力、スクリーンショット、操作証拠を保持します。既定では専用ゲストを終了し、``--keep-running`` " -"を付けると手動の GUI 確認を続けられます。VMware の検証は未完了です。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/packages.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/packages.po index 9106a5e8..1f5c15a1 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/packages.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/packages.po @@ -4,158 +4,96 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "软件包与证书" -msgstr "パッケージと証明書" - -msgid "命令行" -msgstr "コマンドライン" - -msgid "" -"系统使用真实的上游 apk 命令、数据库、签名和依赖关系。 只读查询无需把桌面作为 root 启动;修改系统包通常需要管理员权限。 在 ReliefOS" -" 终端中可使用::" -msgstr "" -"システムは実際の上流 apk コマンド、データベース、署名、依存関係を使用します。読み取り専用の照会に root " -"のデスクトップは不要で、システムパッケージの変更には通常管理者権限が必要です。ReliefOS の端末では次を使用できます::" - -msgid "" -"软件源位于 ``/etc/apk/repositories``,world 和公钥按 apk 的标准路径管理。 不要为解决包冲突删除仍在使用的 " -"libc、认证或基础包,也不要关闭签名验证。 外部软件存在 Linux ABI 依赖,安装成功不代表全部功能已验证。" -msgstr "" -"リポジトリは ``/etc/apk/repositories`` にあり、world と公開鍵は apk " -"標準のパスで管理します。競合解決のために使用中の " -"libc、認証、基礎パッケージを削除したり、署名検証を無効にしたりしないでください。外部ソフトウェアには Linux ABI " -"の依存関係があり、インストール成功は全機能の検証済みを意味しません。" +"Generated-By: Babel 2.18.0\n" -msgid "" -"基础命令由完整的 ``reliefos-coreutils`` GNU 包与 BusyBox 按路径分工提供。 同名外部命令使用 GNU 入口,旧路径由" -" APK 管理并转发;详情与验收方法见 :doc:`coreutils`。" -msgstr "" -"基本コマンドは完全な GNU ``reliefos-coreutils`` パッケージと BusyBox がパスごとに分担します。同名の外部コマンドは " -"GNU エントリーポイントを使用し、旧パスは APK が管理して転送します。詳細と受け入れ検証方法は :doc:`coreutils` " -"を参照してください。" - -msgid "基础依赖" -msgstr "基本依存関係" +msgid "软件包与仓库" +msgstr "パッケージとリポジトリ" msgid "" -"sl、ncurses、zlib、libpng、SQLite、mbedTLS 3 由签名 Alpine APK 提供。 " -"系统直接请求官方命令、终端工具/数据和 SQLite 命令/运行库,不再生成本地包装包。 文件所有权可通过 ``apk info --who-owns " -"/usr/bin/sl``、``/usr/bin/tput``、``/usr/lib/libsqlite3.so.0`` 查询。 " -"离线更新器在预检时将旧包装包的 world 请求转换为官方包,保留其他包和配置; 正式事务自动卸载旧包,完成后清除离线缓存中的旧包装包归档。 " -"新的自有包使用第 7 代版本前缀,保证从第 2、3、4、5、6 代包按正常版本顺序升级。 旧的 ``sqlite.so.3`` ABI 已移除。 依赖旧自定义 " -"SQLite VFS 或厂商内部符号的外部程序需要重新编译。" +"pacman 管理 Arch 官方仓库的基础系统、工具、开发库和桌面依赖,以及 ReliefOS 软件仓库(RPR)中的自研程序、运行库、paru" +" 和内核。系统的包配置保存在 ``/etc/pacman.conf``,Arch 镜像列表在 " +"``/etc/pacman.d/mirrorlist``。 本机已安装包数据库在 ``/var/lib/pacman/local``。" msgstr "" -"sl、ncurses、zlib、libpng、SQLite、mbedTLS 3 は署名済み Alpine APK " -"が提供します。システムは公式コマンド、端末ツール/データ、SQLite " -"コマンド/実行時ライブラリを直接要求し、ローカルのラッパーパッケージは生成しません。ファイルの所有関係は ``apk info --who-owns " -"/usr/bin/sl``、``/usr/bin/tput``、``/usr/lib/libsqlite3.so.0`` " -"で照会できます。オフライン更新器は事前検査で旧ラッパーパッケージの world " -"要求を公式パッケージに変換し、他のパッケージと設定は保持します。正式な処理では旧パッケージを自動削除し、完了後にオフラインキャッシュから旧ラッパーのアーカイブを除去します。新しい自有パッケージは第" -" 7 世代のバージョン接頭辞を使い、第 2・第 3・第 4・第 5・第 6 世代から通常のバージョン順に更新できます。旧 ``sqlite.so.3`` ABI " -"は削除済みです。旧独自 SQLite VFS やベンダー内部シンボルに依存する外部プログラムは再コンパイルが必要です。" - -msgid "libmd 1.3.0、libbsd 运行库,以及 dosfstools、e2fsprogs 工具及其配套运行库和文档, 均直接使用锁定的官方 Alpine APK。 ext2/3/4 和 FAT 工具保留官方 ``/sbin`` 路径,旧 ``/usr/sbin`` 入口由兼容链接转发。 libmd 保留官方 ``/usr/lib`` 路径,旧 ``/lib`` 入口由本地认证支持包中的单向链接转发。 本地文件系统包继续提供 exfatprogs;兼容包通过真实 APK 依赖安装官方库和工具, 升级时同时转移旧文件的所有权,不强制覆盖。 shadow 构建使用独立提取的 libbsd 和 libmd 开发文件,运行镜像不包含 libmd 的头文件、 静态库和 pkg-config 文件,也不把 Alpine 的 Linux 头文件混入 SDK。" -msgstr "libmd 1.3.0 と libbsd のランタイムライブラリ、および dosfstools、e2fsprogs とその関連ライブラリ・文書は、固定された公式 Alpine APK から直接提供されます。ext2/3/4 と FAT のツールは公式の ``/sbin`` パスを保持し、旧 ``/usr/sbin`` の入口は互換リンクで転送されます。libmd は公式の ``/usr/lib`` パスを保持し、旧 ``/lib`` の入口はローカル認証サポートパッケージの一方向リンクで転送されます。ローカルファイルシステムパッケージは引き続き exfatprogs を提供します。互換パッケージは実際の APK 依存関係を使用し、更新時に強制上書きを行わず旧ファイルの所有権を移します。shadow のビルドには個別に抽出した libbsd と libmd の開発用ファイルを使用します。ランタイムイメージには libmd のヘッダー、静的ライブラリ、pkg-config ファイルを含めず、Alpine の Linux ヘッダーを SDK に混在させません。" - -msgid "util-linux 2.42.4 的命令、运行库和手册由锁定的官方 Alpine edge APK 提供。 分区和文件系统工具保留官方 ``/sbin`` 路径,mount、umount、lsblk 保留 ``/bin`` 路径; 旧入口通过单向兼容链接转发。exfatprogs 的开发依赖从官方 APK 单独提取,运行镜像不包含 这份开发根。现有 shadow login、newgrp、nologin 和 PAM 策略由本地认证包明确接管重叠文件, 官方包保留 su、runuser 的文件归属和权限。" -msgstr "util-linux 2.42.4 のコマンド、実行時ライブラリ、マニュアルは固定した公式 Alpine edge APK が提供します。パーティションとファイルシステムのツールは公式の ``/sbin`` パスを、mount、umount、lsblk は ``/bin`` パスを維持します。従来の入口は一方向の互換リンクで転送します。exfatprogs の開発依存ファイルは公式 APK から別途展開し、その開発用ルートは実行時イメージに含めません。既存の shadow login、newgrp、nologin と PAM 設定の重複ファイルは、ローカル認証パッケージが明示的に所有します。su と runuser の所有関係および権限は公式パッケージが維持します。" - -msgid "liblastlog2 依赖 SQLite 运行库,因此桌面和控制台基础系统均保留 sqlite-libs; SQLite 命令仍由组件开关控制。" -msgstr "liblastlog2 は SQLite のランタイムライブラリに依存するため、デスクトップとコンソールの基本システムはいずれも sqlite-libs を保持します。SQLite コマンドの有効・無効は、引き続きコンポーネントの設定で制御します。" - -msgid "官方 lsblk 2.42.4-r3 的直接探测路径未请求文件系统版本,因此 ``FSVER`` 列可能为空。 本版保留该原版行为;读取真实版本可使用::" -msgstr "公式 lsblk 2.42.4-r3 の直接検出経路はファイルシステムのバージョンを要求しないため、``FSVER`` 列が空になる場合があります。本版ではこの上流の動作を維持します。実際のバージョンを読むには次を使います::" +"pacman は Arch の基本システム、ツール、開発ライブラリ、デスクトップの依存パッケージと、RPR の ReliefOS " +"アプリ、ランタイム、paru、カーネルを管理します。設定は ``/etc/pacman.conf``、Arch のミラーリストは " +"``/etc/pacman.d/mirrorlist`` にあります。インストール済みパッケージのデータベースは " +"``/var/lib/pacman/local`` です。" msgid "" -"RPR 本地发布树继续包含完整的签名索引、原始上游 APK 和自有包,构建 ``rpr-pages`` 不等于部署到线上。运行库因新增 ELF " -"NEEDED 而得到真实 APK 依赖,不能只复制新的 ``libreliefos.so.2`` 而遗漏配套库。" +"新安装默认优先使用清华大学 TUNA 镜像访问 Arch 官方仓库,Arch 地理镜像作为备用。 " +"更新软件包不会覆盖现有镜像选择;已有系统如需切换,可把 ``/usr/share/reliefos/pacman/mirrorlist`` " +"的清华源条目放到 ``/etc/pacman.d/mirrorlist`` 的首位,然后执行完整升级。" msgstr "" -"RPR のローカル公開ツリーは完全な署名済みインデックス、元の上流 APK、自有パッケージを引き続き含みます。``rpr-pages`` " -"のビルドはオンラインへのデプロイではありません。新たな ELF NEEDED によって実行時ライブラリには実際の APK 依存関係が付くため、新しい " -"``libreliefos.so.2`` だけをコピーして付随ライブラリを欠落させないでください。" +"新規インストールでは Arch 公式リポジトリの取得に清華大学の TUNA ミラーを優先し、Arch " +"の地域別ミラーを予備として使用します。パッケージ更新で既存のミラー設定が上書きされることはありません。既存システムで切り替えるには、``/usr/share/reliefos/pacman/mirrorlist``" +" にある TUNA の行を ``/etc/pacman.d/mirrorlist`` の先頭に置き、システム全体を更新してください。" -msgid "内核与模块更新" -msgstr "カーネルとモジュールの更新" +msgid "查询和安装" +msgstr "照会とインストール" -msgid "" -"``reliefos-kernel`` APK 同时拥有版本化的内核、initramfs、模块树和校验清单。 ``reliefos-grub`` " -"提供静态引导维护工具和标准 APK commit hook;内核包依赖 同一包版本的引导工具,包脚本调用共同的完整载荷发布接口。 不要手工替换 ESP " -"上的单个 ``kernel.sys``,或把其他内核的模块复制到当前目录。" +msgid "如果需要先刷新仓库索引,应使用完整的 ``pacman -Syu``。 升级准备与启动文件故障恢复见 :doc:`system-updates`。" msgstr "" -"``reliefos-kernel`` APK " -"はバージョン付きカーネル、initramfs、モジュールツリー、検証一覧をまとめて所有します。``reliefos-grub`` " -"は静的な起動保守ツールと標準 APK commit hook " -"を提供します。カーネルパッケージは同一パッケージバージョンの起動ツールに依存し、スクリプトは共通の完全ペイロード公開インターフェースを呼びます。ESP " -"の単独の ``kernel.sys`` を手動置換したり、他カーネルのモジュールを現在のディレクトリへコピーしたりしないでください。" +"リポジトリデータベースの更新時は、完全な ``pacman -Syu`` を実行します。更新の準備と起動の復旧は :doc:`system-" +"updates` を参照してください。" -msgid "在线整机更新使用原生客户端::" -msgstr "オンラインでのシステム全体の更新にはネイティブクライアントを使用します::" +msgid "RPR 与签名" +msgstr "RPR と署名" msgid "" -"命令行和 ReliefAPK 的“升级系统”共享相同的持久计划、签名索引、依赖解析、 缓存和提交检查。更新包括已安装的系统包、上游依赖与应用;保留" -" world 中的 版本和仓库标签约束,提交阶段不重新从移动的软件源选择版本。" +"``/etc/pacman.d/reliefos-rpr.conf`` 定义 ``[rpr]``,要求软件包和数据库均通过可信签名 " +"验证。系统首次启动时由 ``reliefos-pacman-init.service`` 初始化信任。Arch 官方 包使用 Arch " +"密钥环。开发快照的指纹需由独立可信渠道核对,构建和初始化方法见 :doc:`../kbuild/building`。" msgstr "" -"コマンドラインと ReliefAPK " -"の「システムをアップグレード」は、永続計画、署名済みインデックス、依存関係の解決、キャッシュ、コミット確認を共有します。対象はインストール済みのシステムパッケージ、上流の依存パッケージ、アプリケーションです。world" -" のバージョン制約とリポジトリタグを維持し、コミット時に変化したリポジトリから別のバージョンを選択しません。" +"``/etc/pacman.d/reliefos-rpr.conf`` が ``[rpr]`` " +"を定義し、パッケージとデータベースに信頼済みの署名を要求します。初回起動時に ``reliefos-pacman-init.service`` " +"が信頼設定を初期化します。公式パッケージには Arch " +"のキーリングを使います。開発用スナップショットの指紋は、独立した信頼できる経路で確認します。ビルドと設定は " +":doc:`../kbuild/building` を参照してください。" -msgid "" -"内核更新必须同时校验内核、initramfs、模块 ABI 和完整清单,再发布 A/B " -"引导记录。客户端使用已安装的信任密钥,不从网络自动导入新的公钥。 旧安装缺少匹配的稳定 GRUB 和启动确认资源时,应先通过安装介质完成迁移。" +msgid "RPR 页面显示生成所选快照时的 Git 短提交号,链接指向完整提交。 未记录提交的旧快照不会显示当前源码的提交号。" msgstr "" -"カーネル更新ではカーネル、initramfs、モジュール ABI、完全なマニフェストを一体として検証してから、A/B " -"起動記録を公開します。クライアントはインストール済みの信頼鍵を使用し、ネットワークから新しい公開鍵を自動的に取り込みません。対応する安定版 " -"GRUB と起動確認リソースがない旧インストールは、先にインストールメディアで移行してください。" +"RPR ページには、選択したスナップショットの生成時に記録した Git の短縮コミット ID " +"が表示され、完全なコミットへのリンクが付きます。コミットを記録していない以前のスナップショットには、現在のソースのコミットは表示されません。" msgid "" -"更新中断后使用 ``sudo reliefos-update status`` 检查阶段,并通过 ``resume`` 或 ``repair`` " -"显式恢复。用户态包原地更新;内核回退不能代替整个系统快照。 完整操作、缓存与空间要求、启动确认和失败处理见 :doc:`system-" -"updates`。 模块配置与日常管理见 :doc:`kernel-modules`。" +"``libreliefos`` 同时提供共享库和应用开发头文件。 ``reliefos-kernel`` 依赖一个具有特定 release 和 " +"ABI 的内核包。 该内核包拥有 ``/usr/lib/modules//`` 下的内核与模块文件。 ``reliefos-" +"boot`` 提供 dracut 和 GRUB 更新工具、钩子及启动确认服务。" msgstr "" -"更新が中断した場合は ``sudo reliefos-update status`` で段階を確認し、``resume`` または " -"``repair`` " -"で明示的に復旧します。ユーザー空間のパッケージはその場で更新されるため、カーネルのロールバックはシステム全体のスナップショットの代わりにはなりません。操作、キャッシュと空き容量、起動確認、失敗時の対応については" -" :doc:`system-updates` を参照してください。モジュールの設定と通常の管理については :doc:`kernel-" -"modules` を参照してください。" +"``libreliefos`` は共有ライブラリと開発ヘッダーを提供します。``reliefos-kernel`` は特定のリリースおよび ABI" +" のカーネルパッケージに依存します。そのパッケージが ``/usr/lib/modules//`` " +"のカーネルとモジュールを所有します。``reliefos-boot`` は dracut と GRUB " +"の更新ツール、フック、起動確認サービスを提供します。" -msgid "ReliefAPK" -msgstr "ReliefAPK" +msgid "ReliefPackages 与 AUR" +msgstr "ReliefPackages と AUR" msgid "" -"ReliefAPK 是 apk 的原生 C++/FLTK 前端,提供包查询、安装、删除、升级、 " -"修复及仓库配置等入口。应用修改前先审阅计划和输出;长任务在子进程执行。 普通用户可在程序内通过已有 sudo/root 认证流程执行特权事务。 " -"取消、认证失败或 apk 失败必须保留明确状态,不能把退出码或空输出当成成功。" +"从桌面菜单打开 ReliefPackages,或运行 ``reliefpackages``。应用通过 libalpm 查询本地和同步数据库,通过 " +"polkit 授权执行 pacman 的安装、删除和升级事务。 更新入口与软件包管理共用同一套数据库和事务锁。界面显示 pacman 的输出, " +"并报告启动钩子失败或需要人工合并的配置文件。" msgstr "" -"ReliefAPK は apk のネイティブ C++/FLTK " -"フロントエンドで、パッケージ照会、インストール、削除、更新、修復、リポジトリ設定などを提供します。変更の適用前に計画と出力を確認してください。長時間の処理は子プロセスで実行します。一般ユーザーもアプリ内の既存" -" sudo/root 認証経路で特権処理を実行できます。キャンセル、認証失敗、apk " -"失敗の状態を明確に保持し、終了コードや空の出力を単純に成功と扱ってはいけません。" +"デスクトップから ReliefPackages を開くか、``reliefpackages`` を実行します。libalpm " +"でローカルおよび同期データベースを照会し、polkit で pacman " +"のインストール、削除、更新を認証します。システム更新も同じデータベースとトランザクションロックを使用します。画面には pacman " +"の出力、起動フックの失敗、手動で統合する設定ファイルが表示されます。" -msgid "信任与更新" -msgstr "信頼と更新" - -msgid "" -"自建系统的签名私钥保存在宿主用户目录,不属于发行内容。升级要沿用目标 系统已信任的公钥;更换密钥需要独立、经认证的轮换流程,不能从更新介质自动信任。" -msgstr "" -"自前ビルドシステムの署名秘密鍵はホストのユーザーディレクトリに保存し、配布物には含めません。更新は対象システムが既に信頼する公開鍵を引き続き使用します。鍵変更には独立した認証済みローテーション手順が必要で、更新メディアを自動で信頼してはいけません。" +msgid "需要 AUR 软件时,先安装工具链并用普通用户运行 paru::" +msgstr "AUR パッケージを利用するには、ビルドツールをインストールし、一般ユーザーとして paru を実行します::" msgid "" -"ReliefMail 的证书修复通过 ReliefAPK 预览并更新 ``ca-certificates`` 和 ``ca-certificates-" -"bundle``。损坏的安全常规文件可先备份并恢复出厂 CA; 修复仍须检查签名、TLS、权限和最终证书内容。不要关闭域名、有效期或证书链验证。 " -"生成目录 ``/etc/ssl/certs`` 与管理员自定义源、apk 保护规则需人工协调。 细节见 " -":doc:`../applications/reliefmail`。" +"paru 由 RPR 签名发布,并随 pacman 更新。检查 AUR 包的 PKGBUILD、来源与 构建步骤。paru " +"在普通用户身份下运行第三方构建,只在执行实际安装事务时提权。" msgstr "" -"ReliefMail の証明書修復は ReliefAPK を通じて ``ca-certificates`` と ``ca-certificates-" -"bundle`` の更新をプレビュー・実行します。安全な権限の通常ファイルが破損している場合は、先にバックアップして出荷時の CA " -"に復元できます。修復時も署名、TLS、権限、最終的な証明書内容の確認が必要です。ホスト名、有効期間、証明書チェーンの検証を無効にしないでください。生成ディレクトリ" -" ``/etc/ssl/certs``、管理者独自のソース、apk の保護規則は手動調整が必要です。詳細は " -":doc:`../applications/reliefmail` を参照してください。" +"paru は RPR が署名し、pacman で更新します。AUR パッケージの PKGBUILD、ソース、ビルド手順を確認してください。paru" +" は一般ユーザーでビルドし、実際のインストール時に権限を取得します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/reliefsettings.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/reliefsettings.po index d7c6155a..5c3fc27f 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/reliefsettings.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/reliefsettings.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefSettings" msgstr "ReliefSettings" @@ -21,8 +24,8 @@ msgid "" "命令启动。应用使用独立的 ``reliefsettings`` gettext 翻译域,随系统提供中文和日语资源。语言列表提供 " "English、中文与日本語。" msgstr "" -"ReliefSettings は C++/FLTK のシステム設定センターで、IceWM の設定メニューまたは ``reliefsettings`` " -"コマンドから起動できます。独立した ``reliefsettings`` gettext " +"ReliefSettings は C++/FLTK のシステム設定センターで、IceWM の設定メニューまたは " +"``reliefsettings`` コマンドから起動できます。独立した ``reliefsettings`` gettext " "ドメインを使用し、システムには中国語と日本語のリソースが付属します。言語一覧には English、中国語、日本語があります。" msgid "语言、显示与键盘" @@ -35,27 +38,27 @@ msgid "" "多个设置窗口同时预览和恢复显示模式或键盘布局。" msgstr "" "ユーザー設定は ``$XDG_CONFIG_HOME/reliefos/`` に保存します。変数が空または相対パスなら " -"``$HOME/.config/reliefos/`` を使用します。新規ディレクトリのモードは 0700、設定ファイルは 0600 です。保存は " -"POSIX ファイルインターフェース、同一ディレクトリの一時ファイル、原子的 rename " +"``$HOME/.config/reliefos/`` を使用します。新規ディレクトリのモードは 0700、設定ファイルは 0600 です。保存は" +" POSIX ファイルインターフェース、同一ディレクトリの一時ファイル、原子的 rename " "を使い、設定を開いた後に別プログラムが変更していないか確認します。デスクトップ操作は独立した POSIX " "アドバイザリロックを使い、複数の設定ウィンドウが同時に表示モードやキーボード配列をプレビュー・復元することを防ぎます。" msgid "" -"``locale.conf`` 使用 ``LANG=zh_CN.UTF-8`` 等 locale.conf 赋值语法。 选择“系统默认”移除用户的 " -"LANG 覆盖,现有其他区域类别赋值保留。登录 Shell 与 XDM 会话导入经过验证的 LANG 和 LC_* 值,系统默认值仍来自 " +"``locale.conf`` 使用 ``LANG=zh_CN.UTF-8`` 等 locale.conf 赋值语法。 选择“系统默认”移除用户的" +" LANG 覆盖,现有其他区域类别赋值保留。登录 Shell 与 XDM 会话导入经过验证的 LANG 和 LC_* 值,系统默认值仍来自 " "``/etc/reliefos/locale.conf``。语言修改在下次登录生效。" msgstr "" "``locale.conf`` は ``LANG=zh_CN.UTF-8`` などの locale.conf " -"代入構文を使用します。「システムの既定」を選ぶとユーザーの LANG 上書きを除去し、他の既存ロケールカテゴリの代入は保持します。ログイン Shell " -"と XDM セッションは検証済み LANG と LC_* を取り込み、システム既定値は引き続き " +"代入構文を使用します。「システムの既定」を選ぶとユーザーの LANG 上書きを除去し、他の既存ロケールカテゴリの代入は保持します。ログイン " +"Shell と XDM セッションは検証済み LANG と LC_* を取り込み、システム既定値は引き続き " "``/etc/reliefos/locale.conf`` から取得します。言語変更は次回ログイン時に有効になります。" msgid "" -"``desktop.conf`` 是 ReliefSettings 的键值配置文件。XKB_LAYOUT 和 XKB_VARIANT 记录 XKB " -"规则中的布局、变体标识。DISPLAY 行由空格分隔 输出名称、模式名称和刷新率。同一输出只能出现一次。下面给出配置示例。" +"``desktop.conf`` 是 ReliefSettings 的键值配置文件。XKB_LAYOUT 和 XKB_VARIANT 记录 XKB" +" 规则中的布局、变体标识。DISPLAY 行由空格分隔 输出名称、模式名称和刷新率。同一输出只能出现一次。下面给出配置示例。" msgstr "" -"``desktop.conf`` は ReliefSettings のキーと値による設定ファイルです。XKB_LAYOUT と XKB_VARIANT " -"は XKB 規則の配列・バリアント識別子を記録します。DISPLAY " +"``desktop.conf`` は ReliefSettings のキーと値による設定ファイルです。XKB_LAYOUT と " +"XKB_VARIANT は XKB 規則の配列・バリアント識別子を記録します。DISPLAY " "行は出力名、モード名、リフレッシュレートを空白で区切り、同じ出力は一度だけ指定できます。以下に設定例を示します。" msgid "" @@ -86,44 +89,33 @@ msgstr "システムのタイムゾーンと管理画面への入口" msgid "" "时区列表来自 IANA tzdata 的 ``/usr/share/zoneinfo/zone.tab``,可输入城市或 " -"区域名称筛选。应用通过临时符号链接及原子重命名更新 ``/etc/localtime``, 指向已安装的 TZif " -"文件。系统时钟本身不受影响。新的进程使用新时区, 已有进程的缓存更新时间由其 C 库与应用决定。" +"区域名称筛选。系统时钟本身不受影响。新的进程使用新时区, 已有进程的缓存更新时间由其 C 库与应用决定。" msgstr "" -"タイムゾーン一覧は IANA tzdata の ``/usr/share/zoneinfo/zone.tab`` " -"から取得し、都市名や地域名で絞り込めます。一時シンボリックリンクと原子的 rename で ``/etc/localtime`` " -"を更新し、インストール済み TZif " -"ファイルを指すようにします。システム時計自体は変わりません。新しいプロセスは新タイムゾーンを使用し、既存プロセスのキャッシュ更新時期は C " -"ライブラリとアプリケーションに依存します。" +"時間帯の一覧は IANA tzdata の ``/usr/share/zoneinfo/zone.tab`` " +"から取得します。都市名または地域名で絞り込めます。新しいプロセスには変更後の時間帯が適用されます。実行中のプロセスがキャッシュを更新する時期は C" +" ライブラリとアプリに依存します。" msgid "" -"普通用户修改时区时由上游 sudo 与 ReliefAskpass 完成认证,设置中心执行 固定的 ``--set-timezone`` " -"辅助入口。该入口要求有效 UID 为 root,只接受 时区标识,目标目录固定为 ``/etc`` 与 ``/usr/share/zoneinfo``。" +"设置中心调用 ``timedatectl set-timezone``,由 systemd-timedated 通过 polkit 授权。 " +"工具使用已安装的 IANA 时区标识,更新系统的 ``/etc/localtime``。" msgstr "" -"一般ユーザーのタイムゾーン変更は上流 sudo と ReliefAskpass が認証し、設定センターが固定の ``--set-timezone`` " -"補助入口を実行します。この入口は実効 UID が root であることを要求し、タイムゾーン識別子だけを受け付けます。対象ディレクトリは " -"``/etc`` と ``/usr/share/zoneinfo`` に固定されています。" +"設定センターは ``timedatectl set-timezone`` を実行します。systemd-timedated が polkit " +"で認証を行い、インストール済みの IANA 時間帯識別子を使って ``/etc/localtime`` を更新します。" msgid "" -"网络和服务页启动已安装的 Network Controller 与 OpenRC Controller, " +"网络和服务页启动已安装的 Network Controller 与 Service Controller, " "各管理器负责自己的认证和操作。相应组件未安装时入口禁用。" msgstr "" -"ネットワークとサービスのページは、インストール済み Network Controller と OpenRC Controller " -"を起動し、各管理アプリが自分の認証と操作を担当します。該当コンポーネントがなければ入口は無効です。" +"ネットワークとサービスのページでは、インストール済みの Network Controller と Service Controller " +"を開けます。認証と操作は各アプリが処理します。対象のアプリが未インストールの場合は項目が無効になります。" msgid "构建配置" msgstr "ビルド設定" msgid "" -"``APP_RELIEFSETTINGS`` 组件默认启用,可分别控制构建、镜像成员和入口。 原版 xrandr、setxkbmap 通过 Xorg " -"APK 集合安装,tzdata 通过基础 APK 集合 安装。其下载身份固定在依赖锁中。" -msgstr "" -"``APP_RELIEFSETTINGS`` コンポーネントは既定で有効で、ビルド、イメージへの組み込み、入口を個別制御できます。原版 xrandr と" -" setxkbmap は Xorg APK セット、tzdata は基本 APK " -"セットからインストールし、ダウンロードの識別情報は依存関係ロックで固定します。" - -msgid "" -"``make app-reliefsettings nls`` 构建应用与翻译。定向配置测试为 ``sh tests/build/test-" -"reliefsettings.sh``。" +"设置中心由 RPR 的 ``reliefos-settings`` 包提供。 显示、键盘和时区所需的工具来自 Arch 软件包。 ``make " +"userland`` 构建应用及翻译,定向配置测试为 ``sh tests/build/test-reliefsettings.sh``。" msgstr "" -"``make app-reliefsettings nls`` でアプリケーションと翻訳をビルドします。個別の設定テストは ``sh " -"tests/build/test-reliefsettings.sh`` です。" +"設定センターは RPR の ``reliefos-settings`` が提供します。画面、キーボード、時間帯のツールは Arch " +"のパッケージで提供します。``make userland`` でアプリと翻訳をビルドし、``sh tests/build/test-" +"reliefsettings.sh`` で設定を検査できます。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/service-controller.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/service-controller.po new file mode 100644 index 00000000..5c5a0223 --- /dev/null +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/service-controller.po @@ -0,0 +1,44 @@ +# Japanese translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS 5.3.4\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language: ja\n" +"Language-Team: ja \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +msgid "Service Controller" +msgstr "サービスコントローラー" + +msgid "" +"从系统应用菜单打开 Service Controller,或运行 ``service-controller``。 它通过 " +"``systemctl`` 查询 systemd 系统服务,显示单元的启动配置与当前运行状态。 选中服务后可查看详细状态,也可通过 " +"``journalctl`` 读取最近的日志。 日志可见范围遵循当前用户的系统权限。" +msgstr "" +"システムメニューからサービスコントローラーを開くか、``service-controller`` を実行します。``systemctl`` で " +"systemd のシステムサービスを照会し、起動設定と現在の状態を表示します。サービスを選択すると、詳細や ``journalctl`` " +"の最近のログを確認できます。表示できるログはユーザーのシステム権限に従います。" + +msgid "" +"“启动”“停止”和“重启”改变当前服务状态。“启用”“禁用”调整单元文件 的开机启动配置。修改系统服务时由 systemd 通过 polkit " +"请求授权, 界面显示命令的实际输出和结果。" +msgstr "" +"「起動」「停止」「再起動」は現在のサービス状態を変更します。「有効化」「無効化」はユニットの自動起動設定を変更します。変更時は systemd が" +" polkit で認証を要求し、画面にはコマンド出力と結果が表示されます。" + +msgid "从终端查看相同的服务与日志::" +msgstr "同じサービスとログを端末から確認できます::" + +msgid "服务控制器由 RPR 的 ``reliefos-service-controller`` 包提供。" +msgstr "サービスコントローラーは RPR の ``reliefos-service-controller`` パッケージで提供します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/system-updates.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/system-updates.po index a3de69f3..f9ab1af5 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/system-updates.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/system-updates.po @@ -7,217 +7,80 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-11-16 16:50+0000\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.18.0\n" -msgid "在线系统更新" -msgstr "オンラインシステム更新" +msgid "系统更新与启动恢复" +msgstr "システム更新と起動の復旧" msgid "" -"``reliefos-update`` 是原生 C 客户端。命令行与 ReliefAPK 的“升级系统”共用 " -"同一套准备、校验、提交和恢复流程。更新范围包括已安装的 ReliefOS 软件包、 上游依赖及应用;普通软件包的查询、单独安装和删除仍使用 APK。" +"安装后的系统通过同一套 pacman 数据库和签名策略滚动更新。 要同时升级 Arch、RPR 和 AUR 软件包,请以有权运行 pacman " +"的普通用户执行::" msgstr "" -"``reliefos-update`` は C で書かれたネイティブクライアントです。コマンドラインと ReliefAPK " -"の「システムをアップグレード」は、準備、検証、コミット、復旧の処理を共有します。更新対象はインストール済みの ReliefOS " -"パッケージ、上流の依存パッケージ、アプリケーションです。通常のパッケージ照会、個別のインストール、削除には引き続き APK を使用します。" +"インストール後も同じ pacman データベースと署名ポリシーでローリング更新します。Arch、RPR、AUR " +"のパッケージをまとめて更新するには、pacman を実行できる一般ユーザーとして次を実行します::" msgid "" -"更新器调用真实的 APK 签名验证、依赖求解器、软件包数据库和提交钩子, 不维护平行的包管理数据库,也不通过 Shell 脚本拼接安装命令。 " -"外部软件仍可能依赖尚未实现的 Linux ABI;包升级成功不代表应用运行验证通过。" +"该命令运行 ``paru -Syu``。不要用 ``sudo`` 启动它;AUR 软件包由普通用户构建, paru 仅在需要执行 pacman " +"事务时请求授权。首次构建 AUR 软件包所需的工具见 :doc:`packages`。仅升级 Arch 和 RPR 软件包时,可执行 ``sudo" +" pacman -Syu``, 或从桌面系统菜单打开“系统更新”。" msgstr "" -"更新クライアントは APK " -"の実際の署名検証、依存関係ソルバー、パッケージデータベース、コミットフックを使用します。別のパッケージデータベースを維持せず、Shell " -"スクリプトでインストールコマンドを組み立てることもありません。外部ソフトウェアは未実装の Linux ABI " -"に依存する場合があり、パッケージの更新成功はアプリケーションの動作確認を意味しません。" - -msgid "日常操作" -msgstr "通常の操作" - -msgid "先准备更新,再审阅准备结果,最后应用同一个计划::" -msgstr "更新を準備し、結果を確認してから、同じ計画を適用します::" - -msgid "" -"准备过程会联网、验证签名并写入持久缓存,因此需要管理员权限。 计划 ID 是 64 位小写十六进制字符串,只标识本机已经准备好的计划, 不能用网络 " -"URL、任意路径或另一个系统的计划代替。 准备完成不会安装软件包。取消准备或下载失败不会把部分下载当成可安装的软件包。 " -"状态目录仅管理员可读,查询状态也应使用 ``sudo``。" -msgstr "" -"準備ではネットワークアクセス、署名検証、永続キャッシュへの書き込みを行うため、管理者権限が必要です。計画 ID " -"は、このマシンで準備済みの計画を示す小文字の 16 進数 64 桁です。ネットワーク " -"URL、任意のパス、別のシステムの計画では代用できません。準備ではパッケージをインストールしません。準備のキャンセルやダウンロードの失敗によって、不完全なファイルがインストール可能なパッケージとして扱われることはありません。状態ディレクトリは管理者のみ参照できるため、状態確認にも" -" ``sudo`` を使用してください。" - -msgid "" -"ReliefAPK 的“升级系统”先调用同一客户端准备计划,再在用户确认后应用该计划。 普通桌面会话不必以 root 启动,特权步骤沿用系统的 " -"sudo/root 认证机制。 准备阶段可以取消;进入 APK 提交后应等待明确的完成或失败状态。" -msgstr "" -"ReliefAPK の「システムをアップグレード」は、まず同じクライアントで計画を準備し、ユーザーの確認後に適用します。通常のデスクトップセッションを" -" root で起動する必要はありません。特権操作では既存の sudo/root 認証を使用します。準備段階はキャンセルできますが、APK " -"のコミット開始後は明示的な成功または失敗の状態が出るまで待ってください。" - -msgid "软件源和信任" -msgstr "リポジトリと信頼" - -msgid "" -"软件源沿用 APK 的 ``/etc/apk/repositories`` 及其标准配置目录。 客户端冻结当次使用的源配置、签名索引和信任密钥;保留 " -"world 中的版本限制、 仓库标签及管理员的软件源策略。提交阶段只消费本机准备好的索引和归档, 不重新访问更新后的网站,也不临时选择另一个版本。" -msgstr "" -"リポジトリには APK の ``/etc/apk/repositories`` " -"と標準の設定ディレクトリを使用します。クライアントは、その処理で使用するリポジトリ設定、署名済みインデックス、信頼鍵を固定し、world " -"のバージョン制約、リポジトリタグ、管理者の方針を維持します。コミットでは準備済みのローカルインデックスとアーカイブのみを使用し、更新されたサイトへの再アクセスや別バージョンの選択は行いません。" - -msgid "" -"生产系统的软件源使用 HTTPS,不能通过关闭 TLS、主机名或包签名验证解决更新错误。 RPR 地址由 " -"``/etc/reliefos/rpr.conf`` 指定。仓库连通性、索引校验和完整更新 " -"准备是不同的检查:健康探测成功不表示依赖闭包或全部归档可用。" -msgstr "" -"本番システムのリポジトリは HTTPS を使用します。TLS、ホスト名、パッケージ署名の検証を無効にして更新エラーを解消してはいけません。RPR " -"のアドレスは ``/etc/reliefos/rpr.conf`` " -"で指定します。接続確認、インデックス検証、完全な更新準備は別々の確認です。ヘルスチェックの成功は、依存関係全体やすべてのアーカイブが利用可能であることを保証しません。" - -msgid "" -"信任公钥来自系统已经安装的 ``/etc/apk/keys``。 配置软件源不会从该源下载并覆盖本地信任公钥;新增或轮换密钥需要独立认证。 " -"管理员修改软件源、密钥、world 或 APK 数据库后,旧计划不能继续提交, 需要重新准备并审阅计划。" -msgstr "" -"信頼する公開鍵は、インストール済みの ``/etc/apk/keys`` " -"から取得します。リポジトリ設定時にその公開鍵をダウンロードして既存の信頼鍵を上書きすることはありません。鍵の追加や更新には独立した認証が必要です。管理者がリポジトリ、鍵、world、APK" -" データベースを変更した場合、古い計画はコミットできません。新しい計画を準備して確認してください。" - -msgid "持久状态和空间" -msgstr "永続状態と空き容量" - -msgid "" -"计划及状态位于 ``/var/lib/reliefos/update``,每个计划有独立缓存和验证记录。 " -"不要手工删除正在准备、提交或等待修复的计划。下载成功的完整归档可以在恢复时复用; 不完整或校验失败的归档不能作为已验证缓存使用。" -msgstr "" -"計画と状態は ``/var/lib/reliefos/update`` " -"に保存され、計画ごとに独立したキャッシュと検証記録を持ちます。準備中、コミット中、修復待ちの計画を手動で削除しないでください。ダウンロード済みの完全なアーカイブは復旧時に再利用できます。不完全なアーカイブや検証に失敗したアーカイブは、検証済みキャッシュとして使用できません。" - -msgid "" -"准备过程检查下载与展开所需空间;内核更新还需要根文件系统及 ESP 的可用空间。 已有内核保留副本、用户模块和管理员文件不会为了腾空间被批量删除。 " -"历史内核和失败计划的空间占用应结合客户端状态及引导恢复需要处理。" -msgstr "" -"準備ではダウンロードと展開に必要な空き容量を確認します。カーネル更新には、ルートファイルシステムと ESP " -"の空き容量も必要です。空き容量確保のために、保存済みカーネル、ユーザーモジュール、管理者のファイルを一括削除することはありません。過去のカーネルや失敗した計画の容量を整理する際は、クライアントの状態と起動復旧の要件を考慮してください。" +"このコマンドは ``paru -Syu`` を実行します。``sudo`` で起動しないでください。AUR " +"パッケージは一般ユーザーとしてビルドし、paru は pacman のトランザクションを実行するときだけ認証を求めます。初めて AUR " +"パッケージをビルドする際に必要なツールは :doc:`packages` を参照してください。Arch と RPR のみを更新する場合は " +"``sudo pacman -Syu`` を実行するか、デスクトップのシステムメニューから「システム更新」を開きます。" msgid "" -"更新器通过进程生命周期内的锁串行化操作,状态写入使用临时文件、同步和替换。 APK 的 pre-commit " -"钩子在其数据库写锁内再次检查准备时的系统身份, 拒绝审阅后发生变化的目标。锁文件、临时文件或日志存在本身不代表更新成功。" +"pacman 串行执行有写入的事务。升级前确认联网、软件包与启动分区空间。 软件源和签名策略见 :doc:`packages`。如果 pacman" +" 生成 ``.pacnew`` 或 ``.pacsave``,检查事务输出和本机配置,逐项合并需要保留的变更。" msgstr "" -"更新クライアントはプロセスの存続期間中ロックを保持し、操作を直列化します。状態の書き込みには一時ファイル、同期、置換を使用します。APK の pre-" -"commit " -"フックはデータベースの書き込みロック内で準備時のシステム識別情報を再確認し、確認後に変更された対象を拒否します。ロックファイル、一時ファイル、ログの存在だけでは成功を示しません。" - -msgid "中断和失败恢复" -msgstr "中断と失敗からの復旧" +"pacman " +"の書き込みトランザクションは順番に実行されます。更新前にネットワーク接続、パッケージとブートファイルの空き容量を確認します。ミラーと署名は " +":doc:`packages` を参照してください。``.pacnew`` や ``.pacsave`` " +"が生成された場合は、トランザクションの出力を確認し、必要な設定を統合します。" -msgid "遇到断网、进程退出、重启或软件包脚本失败,先查看状态和失败阶段::" -msgstr "ネットワーク障害、プロセス終了、再起動、パッケージスクリプトの失敗が発生したら、まず状態と失敗段階を確認します::" - -msgid "" -"下载阶段可以从持久计划继续;恢复完成并重新获得可应用的计划后,再审阅并提交。 对已经准备好的计划执行 ``resume`` 只返回计划 " -"ID,不会自动安装。 尚未进入包提交的计划可以通过 ``sudo reliefos-update discard`` 作废后重新准备, " -"原计划的日志和缓存仍保留以供诊断;已经开始提交的失败事务必须先修复,不能丢弃。 如果已经进入 APK 安装阶段,不能假定所有包文件都保持旧版本。 " -"客户端保留失败状态,并提供显式修复入口::" -msgstr "" -"ダウンロードは永続化された計画から継続できます。復旧後に適用可能な計画が得られたら、確認してコミットしてください。準備済み計画への " -"``resume`` は計画 ID を返すだけで、自動インストールは行いません。パッケージのコミット前なら、``sudo reliefos-" -"update discard`` " -"で計画を無効化し、再準備できます。診断用のログとキャッシュは保持されます。コミットを開始した失敗処理は修復が必要で、破棄できません。APK " -"のインストール段階に入った場合、すべてのパッケージファイルが旧バージョンのままであるとは限りません。クライアントは失敗状態を保存し、明示的な修復コマンドを提供します::" +msgid "安装内核与发布启动项" +msgstr "カーネルのインストールと起動項目の発行" msgid "" -"修复使用该事务已经验证的本机软件包,仍须检查 APK 的退出码、包脚本及最终状态。 计划会在 " -"``/var/lib/reliefos/update/plans/<计划 ID>/tools/`` 保留当时的静态更新器和 APK " -"副本。若安装路径下的 ``/usr/sbin/reliefos-update`` 或 ``/sbin/apk`` 在失败后不可用, " -"可直接运行计划内的恢复客户端;它会检查固定的 APK 和更新器入口,仅恢复缺失或无法运行的工具, 然后从事务中已经验证的签名 APK " -"重新安装这两个文件的实际所属包。 旧副本只用于启动修复,不能代替数据库记录的新版本;已经可以运行的新版本工具不会被旧副本覆盖::" +"固定名称的 ``reliefos-kernel`` 包依赖本代的确切内核包。每代内核和模块 位于独立的 " +"``/usr/lib/modules//`` 目录。更新前的 pacman 钩子检查 ``/boot`` " +"的挂载、写入及剩余空间。安装后由 ``reliefos-boot-update`` 使用已安装模块生成 dracut " +"initramfs,验证文件并更新 GRUB 的启动选择。 旧版本的已安装软件包与已经确认的启动项仍可使用。" msgstr "" -"修復には、その処理で検証済みのローカルパッケージを使用します。APK " -"の終了ステータス、パッケージスクリプト、最終状態を必ず確認してください。計画は、その処理で使用した静的更新クライアントと APK のコピーを " -"``/var/lib/reliefos/update/plans/<計画 ID>/tools/`` に保持します。失敗後に ``/usr/sbin" -"/reliefos-update`` または ``/sbin/apk`` " -"が利用できない場合、計画内の復旧クライアントを直接実行してください。固定された入口を確認し、欠落または実行不能なツールのみ復元してから、その処理で検証済みの署名付き" -" APK " -"により両ファイルの実際の所有パッケージを再インストールします。古いコピーは修復の起動専用であり、データベースに記録された新しいバージョンの代わりにはなりません。実行可能な新しいツールを古いコピーで上書きしません::" +"固定名の ``reliefos-kernel`` は、その世代に対応するカーネルパッケージに依存します。カーネルとモジュールは世代ごとの " +"``/usr/lib/modules//`` に置かれます。更新前のフックは ``/boot`` " +"のマウント、書き込み可否、空き容量を確認します。インストール後に ``reliefos-boot-update`` がモジュールから dracut" +" initramfs を作成し、ファイルを検証して GRUB " +"の選択を更新します。旧カーネルのパッケージと確認済みの起動項目は引き続き使用できます。" -msgid "" -"如果系统已无法正常启动,可从匹配的 ReliefOS 救援介质挂载根文件系统,例如挂载到 " -"``/mnt/reliefos``,再运行该根目录内保留的静态客户端。``--root`` 必须指向已挂载的目标根; " -"需要发布内核载荷时,还必须把该系统的 ESP 挂载到目标根下的 ``boot``::" -msgstr "" -"システムが正常に起動できない場合、対応する ReliefOS 救援メディアからルートファイルシステムを、例えば ``/mnt/reliefos`` " -"にマウントし、そのルート内に保存された静的クライアントを実行します。``--root`` " -"にはマウント済みの対象ルートを指定してください。カーネルの起動用データを公開する必要がある場合、そのシステムの ESP も対象ルートの " -"``boot`` にマウントしてください::" +msgid "钩子失败与重试" +msgstr "フックの失敗と再試行" -msgid "" -"修复失败会继续报告错误,不应通过删除数据库、强制覆盖文件或关闭签名校验来清除错误。 如果失败之后软件源、密钥或 world " -"已改变,修复会拒绝继续,应先按诊断核对并恢复 原配置。软件包脚本在中断前合法改变这些配置时,同样需要管理员核对,不能把另一组 " -"依赖版本混入原事务。修复允许包数据库因已执行的提交发生变化。" +msgid "安装后的钩子在包数据库变更之后运行。若界面或 pacman 输出报告失败, 查看启动发布状态,修复失败原因后重试::" msgstr "" -"修復が失敗した場合は引き続きエラーとして報告します。データベースの削除、ファイルの強制上書き、署名検証の無効化でエラーを消してはいけません。失敗後にリポジトリ、鍵、world" -" " -"が変更された場合、修復は継続を拒否します。診断を確認し、元の設定を復元してください。中断前にパッケージスクリプトが正当にこれらの設定を変更した場合も、管理者の確認が必要です。元の処理に異なる依存バージョンを混在させないでください。実行済みコミットによるデータベース変更は修復時に許容されます。" +"更新後のフックはパッケージデータベースの更新後に動作します。画面や pacman " +"が失敗を報告した場合は、起動項目の発行状態を確認し、原因を修正してから再試行します::" msgid "" -"用户态软件包按 APK 的标准方式原地更新。本功能没有创建根文件系统快照, 也不承诺断电后整个用户态自动退回更新前的内容。用户数据和本地配置遵循 " -"APK 文件归属与受保护路径规则;需要合并的配置可能以 ``.apk-new`` 保留。" +"可从 GRUB 高级菜单选择已保留的内核。新候选内核启动后由 ``reliefos-boot-confirm.service`` " +"核对并确认。未确认的试启动耗尽后, 下次启动选择上次已确认的内核。该选择只涉及引导文件,根文件系统中的 用户态包保留本次事务结果。详情见 :doc" +":`kernel-modules`。" msgstr "" -"ユーザー空間のパッケージは APK " -"の標準動作に従ってその場で更新されます。この機能はルートファイルシステムのスナップショットを作成せず、停電後にユーザー空間全体が自動的に旧状態へ戻ることも保証しません。ユーザーデータとローカル設定には" -" APK のファイル所有権と保護パスの規則が適用され、マージが必要な設定は ``.apk-new`` として保存される場合があります。" +"保持したカーネルは GRUB の詳細メニューから選べます。候補の起動後に ``reliefos-boot-confirm.service`` " +"が検証と確認を行います。未確認の試行がなくなると、次回は前回確認済みのバージョンを選びます。この選択は起動ファイルに適用され、ユーザー空間のトランザクション結果は残ります。詳しくは" +" :doc:`kernel-modules` を参照してください。" -msgid "内核启动确认和回退" -msgstr "カーネルの起動確認とロールバック" - -msgid "" -"内核、initramfs、模块和 ABI 清单作为完整的 ``reliefos-kernel`` 软件包校验。 " -"发布之前保留旧启动载荷和独立模块副本,再切换 A/B 引导记录;正在运行的内核 在重启前不会改变。更新器不在日常更新中重写 BIOS/UEFI " -"固件加载器。" -msgstr "" -"カーネル、initramfs、モジュール、ABI マニフェストを完全な ``reliefos-kernel`` " -"パッケージとして検証します。公開前に旧起動ペイロードと独立したモジュールのコピーを保持し、その後 A/B " -"起動記録を切り替えます。実行中のカーネルは再起動まで変わりません。通常の更新では BIOS/UEFI のファームウェアローダーを書き換えません。" +msgid "清理已保留的内核在独立的包事务中执行。先处理本次启动或更新错误, 再查看清理候选::" +msgstr "保持した旧カーネルの整理は、別のパッケージトランザクションで行います。候補を表示する前に、現在の起動や更新のエラーを解決してください::" -msgid "" -"新内核经过启动确认之后才成为已确认版本。启动尝试耗尽而没有确认时, 引导选择器使用保留的已确认载荷。回退仅覆盖内核、initramfs " -"和对应模块产品, 不会撤销已提交的普通应用或系统库更新。" -msgstr "新しいカーネルは起動確認後にのみ確認済みとなります。確認前に起動試行回数を使い切ると、起動セレクターは保持している確認済みペイロードを使用します。ロールバック対象はカーネル、initramfs、対応するモジュール成果物のみであり、コミット済みのアプリケーションやシステムライブラリの更新は取り消しません。" - -msgid "" -"缺少匹配的稳定 GRUB 选择脚本、内核包记录或启动确认资源的旧安装, 应使用匹配的安装介质完成引导迁移;客户端拒绝只替换 " -"``kernel.sys`` 的半套更新。 模块管理参见 :doc:`kernel-modules`。" -msgstr "" -"対応する安定版 GRUB " -"セレクター、カーネルパッケージ記録、起動確認リソースがない旧インストールでは、対応するインストールメディアで起動構成を移行してください。クライアントは" -" ``kernel.sys`` のみを置き換える不完全な更新を拒否します。モジュール管理については :doc:`kernel-modules` " -"を参照してください。" - -msgid "自动化与验证边界" -msgstr "自動化と検証の範囲" - -msgid "机器接口使用 ``--machine``,例如::" -msgstr "機械向けインターフェイスには ``--machine`` を使用します。例::" - -msgid "准备成功才会输出 ``plan_id=...``。自动化必须同时检查退出状态、计划 ID 和最终状态, 不能依据单条下载或安装日志判断成功。" -msgstr "" -"``plan_id=...`` は準備が成功した場合にのみ出力されます。自動化では終了ステータス、計画 " -"ID、最終状態を合わせて確認してください。ダウンロードやインストールのログ 1 行だけで成功と判断してはいけません。" - -msgid "" -"``--root`` 为显式隔离根测试提供入口;Linux 宿主根目录的修改请求被拒绝。 隔离测试可以使用回环 HTTP " -"仓库与专用签名密钥;这一测试入口不会放宽 生产系统的 HTTPS 或签名策略。宿主端签名 APK 回归、目标编译、镜像打包、 QEMU " -"BIOS/UEFI 启动与 VMware/物理硬件验证应分别报告,不能互相替代。" -msgstr "" -"``--root`` は明示的な隔離ルートテスト用の入口です。Linux " -"ホストのルートディレクトリに対する変更要求は拒否します。隔離テストではループバック HTTP リポジトリと専用署名鍵を使用できますが、本番環境の " -"HTTPS や署名方針は緩和されません。ホスト側の署名済み APK 回帰、ターゲット向けビルド、イメージ作成、QEMU の BIOS/UEFI " -"起動、VMware/実機検証は個別に報告し、相互の代用にしてはいけません。" +msgid "清理命令按已安装包和已发布启动项检查保护集合。运行中的内核、当前候选及有效 启动项引用的内核受保护。" +msgstr "整理コマンドはインストール済みパッケージと発行済み起動項目を調べます。実行中のカーネル、現在の候補、有効な起動項目が参照するカーネルは保護されます。" diff --git a/Documentation/locale/ja/LC_MESSAGES/admin-guide/usb.po b/Documentation/locale/ja/LC_MESSAGES/admin-guide/usb.po index 68b7e3ea..1a4c7a3c 100644 --- a/Documentation/locale/ja/LC_MESSAGES/admin-guide/usb.po +++ b/Documentation/locale/ja/LC_MESSAGES/admin-guide/usb.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "USB U 盘与键盘鼠标" msgstr "USB メモリ、キーボード、マウス" @@ -20,43 +23,43 @@ msgid "控制器与设备" msgstr "コントローラーとデバイス" msgid "" -"默认内核内置 xHCI、EHCI 和 UHCI。xHCI 支持根端口或 Hub 后的 USB 3.x SuperSpeed BOT/SCSI 存储,以及" -" USB 2.0/1.x BOT 存储、boot HID 键盘和相对 鼠标。EHCI 支持 USB 2.0 高速 BOT/SCSI " +"默认内核内置 xHCI、EHCI 和 UHCI。xHCI 支持根端口或 Hub 后的 USB 3.x SuperSpeed BOT/SCSI " +"存储,以及 USB 2.0/1.x BOT 存储、boot HID 键盘和相对 鼠标。EHCI 支持 USB 2.0 高速 BOT/SCSI " "存储;低速/全速键鼠可由 UHCI companion 提供。VMware 中可选择“USB Controller / USB " "Compatibility / USB 3.x”使用 xHCI,或选择 USB 2.0 使用 EHCI;两种路径的验证结果分别记录。 USB 的 " -"Linux 块设备与 evdev 接口由内核提供,不需要修改 BusyBox。" +"Linux 块设备与 evdev 接口由 ReliefNT 提供。" msgstr "" -"既定のカーネルには xHCI、EHCI、UHCI が組み込まれています。xHCI はルートポートまたは Hub 配下の USB 3.x " -"SuperSpeed BOT/SCSI ストレージに加え、USB 2.0/1.x BOT ストレージ、boot HID " -"キーボード、相対マウスに対応します。EHCI は USB 2.0 高速 BOT/SCSI ストレージに対応し、低速/全速のキーボード・マウスは UHCI" -" companion が提供できます。VMware では「USB Controller / USB Compatibility / USB 3.x」で " -"xHCI、USB 2.0 で EHCI を選べます。二つの経路の検証結果は別々に記録します。USB の Linux ブロックデバイスと evdev " -"インターフェースはカーネルが提供し、BusyBox の変更は不要です。" +"既定のカーネルには xHCI、EHCI、UHCI が組み込まれています。xHCI はルートポートやハブに接続した USB 3.x " +"SuperSpeed BOT/SCSI ストレージ、USB 2.0/1.x BOT ストレージ、ブート HID " +"キーボード、相対マウスに対応します。EHCI は USB 2.0 の高速 BOT/SCSI を扱い、低速・フルスピードの入力は UHCI " +"コンパニオンを利用できます。VMware では USB 3.x 互換で xHCI、USB 2.0 で EHCI " +"を選び、結果を個別に記録します。Linux の USB ブロックデバイスと evdev は ReliefNT が提供します。" msgid "" -"xHCI 支持 USB2/USB3 Hub、多级路由和下游设备热插拔;USB2 的 multi-TT Hub 使用默认 single-TT 模式。拔掉 " -"Hub 时,下游设备一起断开,旧打开不会 转向重新插入的设备。UAS、stream、等时音视频及非 boot HID 不受支持。 " +"xHCI 支持 USB2/USB3 Hub、多级路由和下游设备热插拔;USB2 的 multi-TT Hub 使用默认 single-TT " +"模式。拔掉 Hub 时,下游设备一起断开,旧打开不会 转向重新插入的设备。UAS、stream、等时音视频及非 boot HID 不受支持。 " "USB4、Type-C/PD 和物理电气认证也不在支持范围内。SuperSpeedPlus 可按已验证的控制器协议能力识别速率,但日志中的 " "``bps`` 是控制器声明的 链路速率,不是实测吞吐量;10/20 Gb/s 物理链路尚未验证。" msgstr "" -"xHCI は USB2/USB3 Hub、多段ルーティング、下流デバイスのホットプラグに対応します。USB2 の multi-TT Hub は既定の " -"single-TT モードを使います。Hub を抜くと下流デバイスも切断され、既存の open " +"xHCI は USB2/USB3 Hub、多段ルーティング、下流デバイスのホットプラグに対応します。USB2 の multi-TT Hub " +"は既定の single-TT モードを使います。Hub を抜くと下流デバイスも切断され、既存の open " "が再接続したデバイスに向け直されることはありません。UAS、stream、等時音声・映像、非 boot HID " "は未対応です。USB4、Type-C/PD、物理的な電気認証も対象外です。SuperSpeedPlus " "は検証済みのコントローラープロトコル機能に従って速度を識別できますが、ログの ``bps`` " "はコントローラーが申告するリンク速度で、実測スループットではありません。10/20 Gb/s の物理リンクは未検証です。" msgid "" -"接管固件配置的 xHCI 时,驱动只在必要寄存器几何推导出的边界内访问扩展 能力,不对正在使用的 BAR 做破坏性尺寸探测。这依赖固件对必要寄存器和 " -"BAR 范围的描述真实;无法确认边界内的能力会被拒绝。" +"接管固件配置的 xHCI 时,驱动只在必要寄存器几何推导出的边界内访问扩展 能力,不对正在使用的 BAR " +"做破坏性尺寸探测。这依赖固件对必要寄存器和 BAR 范围的描述真实;无法确认边界内的能力会被拒绝。" msgstr "" "ファームウェア設定済みの xHCI を引き継ぐ際、ドライバーは必須レジスターの配置から導いた境界内だけで拡張機能にアクセスし、使用中の BAR " "に破壊的なサイズ検出を行いません。これは必須レジスターと BAR " "範囲に関するファームウェアの記述が正しいことに依存し、境界内だと確認できない機能は拒否します。" msgid "" -"存储当前要求 512 字节逻辑扇区,支持 GPT、MBR/扩展分区和直接在整个设备上 创建的文件系统。没有介质的读卡器、更换介质需重新拔插。不是所有 " -"USB 协议都受支持,例如 UAS、等时音视频和非 boot HID 设备;文件系统类型还 必须有相应内核实现。" +"存储当前要求 512 字节逻辑扇区,支持 GPT、MBR/扩展分区和直接在整个设备上 " +"创建的文件系统。没有介质的读卡器、更换介质需重新拔插。不是所有 USB 协议都受支持,例如 UAS、等时音视频和非 boot HID " +"设备;文件系统类型还 必须有相应内核实现。" msgstr "" "ストレージは現在 512 " "バイト論理セクターを要求し、GPT、MBR/拡張パーティション、デバイス全体に直接作成したファイルシステムに対応します。メディアのないカードリーダーやメディア交換では抜き差しが必要です。UAS、等時音声・映像、非" @@ -77,23 +80,24 @@ msgstr "" "バイト論理セクターを要求します。" msgid "" -"挂载点使用 ``/run/media/<数字 UID>/<设备名>-``,由 root 创建。 普通用户通过现有 sudo / " -"ReliefAskpass 密码窗口授权,需要相应 sudo 权限。 FAT32/exFAT 使用 Linux " +"挂载点使用 ``/run/media/<数字 UID>/<设备名>-``,由 root 创建。 普通用户通过 polkit " +"授权挂载和弹出操作。需要认证时,桌面的 polkit 代理会打开认证窗口。 FAT32/exFAT 使用 Linux " "``uid/gid/fmask/dmask`` 挂载选项,为发起用户提供读写权限。 ext 文件系统保留介质自身的 POSIX " "所有权与模式。挂载同时启用 ``nosuid,nodev``。 设备身份通过 sysfs 和 ``BLKGETDISKSEQ`` " "复核。拔插后需要重新选择新介质。" msgstr "" -"マウントポイントは ``/run/media/<数字 UID>/<设备名>-`` で、root が作成します。一般ユーザーは既存の " -"sudo / ReliefAskpass パスワード画面で許可し、適切な sudo 権限が必要です。FAT32/exFAT は Linux の " -"``uid/gid/fmask/dmask`` マウントオプションで操作ユーザーに読み書きを許可します。ext ファイルシステムはメディア自身の " -"POSIX 所有者とモードを保持します。マウントでは ``nosuid,nodev`` も有効にし、sysfs と ``BLKGETDISKSEQ`` " +"マウントポイントは ``/run/media/<数字 UID>/<设备名>-`` で、root " +"が作成します。一般ユーザーのマウントと取り出しは polkit で認可します。認証が必要な場合は、デスクトップの " +"polkit エージェントが認証ダイアログを開きます。FAT32/exFAT は Linux の ``uid/gid/fmask/dmask`` " +"マウントオプションで操作ユーザーに読み書きを許可します。ext ファイルシステムはメディア自身の POSIX " +"所有者とモードを保持します。マウントでは ``nosuid,nodev`` も有効にし、sysfs と ``BLKGETDISKSEQ`` " "でデバイス識別情報を再確認します。抜き差し後は新しいメディアを再選択してください。" msgid "" -"拔出前选择卷并点击“弹出”。Fileman 离开当前设备目录,然后后台卸载该设备的 各个挂载点并同步设备缓存。成功提示“现在可以安全拔出设备”后,可拔出" -" U 盘或 在 VMware 中断开对应 USB 设备。物理供电由设备连接控制。 " -"系统挂载受到保护。文件、工作目录、映射或裸块设备使用者造成占用时,界面报告 失败,并在可枚举时列出相关进程 PID。关闭使用者后可以重试。部分卷已卸载而" -" 后续卷失败时,设备列表按实际挂载状态刷新,仍需完成弹出后再拔出。" +"拔出前选择卷并点击“弹出”。Fileman 离开当前设备目录,然后后台卸载该设备的 " +"各个挂载点并同步设备缓存。成功提示“现在可以安全拔出设备”后,可拔出 U 盘或 在 VMware 中断开对应 USB " +"设备。物理供电由设备连接控制。 系统挂载受到保护。文件、工作目录、映射或裸块设备使用者造成占用时,界面报告 失败,并在可枚举时列出相关进程 " +"PID。关闭使用者后可以重试。部分卷已卸载而 后续卷失败时,设备列表按实际挂载状态刷新,仍需完成弹出后再拔出。" msgstr "" "取り外す前にボリュームを選び「取り出す」をクリックしてください。Fileman " "は現在のデバイス内ディレクトリから移動し、バックグラウンドでそのデバイスの各マウントポイントを解除してキャッシュを同期します。「デバイスを安全に取り外せます」と成功表示されたら" @@ -115,8 +119,8 @@ msgid "" "``lsblk`` 查看设备、容量和文件系统, 确认目标后以 root 执行。重新连接后名称可能改变,应再次确认设备。 下面的 ``sdX1`` " "是占位符,必须换成实际分区:" msgstr "" -"デバイスは通常の ``/dev/sdX`` 名、パーティションは数字付きの名前を使います。番号は既存ディスクに依存するため、すべての USB メモリが " -"``sdb`` とは限りません。まず ``lsblk`` でデバイス、容量、ファイルシステムを確認し、対象を特定して root " +"デバイスは通常の ``/dev/sdX`` 名、パーティションは数字付きの名前を使います。番号は既存ディスクに依存するため、すべての USB " +"メモリが ``sdb`` とは限りません。まず ``lsblk`` でデバイス、容量、ファイルシステムを確認し、対象を特定して root " "で実行してください。再接続で名前が変わる場合は再確認が必要です。以下の ``sdX1`` は仮の表記で、実際のパーティションに置き換えてください。" msgid "" @@ -130,12 +134,13 @@ msgstr "" "を返し、再挿入しても旧ハンドルが新デバイスへ向け直されることはありません。" msgid "" -"如果设备无法证明写入已落盘,并且拒绝缓存同步命令,``umount`` 会报告错误。 应保留设备连接并检查日志;不能把文件能够读回当成安全断电的证明。 " -"此类设备重新连接后,可使用 ``mount -o ro`` 读取;从未尝试写入的设备无需 提交本驱动的写缓存,读取后的卸载不会被不支持的同步命令阻断。" +"如果设备无法证明写入已落盘,并且拒绝缓存同步命令,``umount`` 会报告错误。 " +"应保留设备连接并检查日志;不能把文件能够读回当成安全断电的证明。 此类设备重新连接后,可使用 ``mount -o ro`` " +"读取;从未尝试写入的设备无需 提交本驱动的写缓存,读取后的卸载不会被不支持的同步命令阻断。" msgstr "" "デバイスが書き込みの永続化を保証できず、キャッシュ同期コマンドも拒否する場合、``umount`` " -"はエラーを報告します。接続を維持してログを調べ、読み戻せるだけで安全な電源断の証拠としないでください。この種のデバイスを再接続した後は ``mount " -"-o ro`` " +"はエラーを報告します。接続を維持してログを調べ、読み戻せるだけで安全な電源断の証拠としないでください。この種のデバイスを再接続した後は " +"``mount -o ro`` " "で読み取れます。書き込みを一度も試みていないデバイスでは本ドライバーの書き込みキャッシュをコミットする必要がなく、読み取り後の解除は未対応の同期コマンドに阻まれません。" msgid "使用模块配置时" @@ -149,22 +154,22 @@ msgid "" "该控制器会返回忙。应先卸载文件系统、关闭使用者,不强制卸载。重新连接 后的 ``/dev/sdX`` 名称可能变化,旧打开不会被重新绑定。" msgstr "" "``make defconfig`` はドライバーを既定で組み込みます。``CONFIG_USB_XHCI_HCD=m`` または " -"``CONFIG_USB_EHCI_HCD=m`` を選ぶと、イメージにそれぞれ ``xhci.ko`` または ``ehci.ko`` と対応 PCI" -" alias を含め、既存のモジュール coldplug 方針でロードします。EHCI の低速/全速ルートポートのキーボード・マウスには UHCI " -"companion も必要です。設定と他のモジュール管理手順は :doc:`kernel-modules` を参照してください。USB " +"``CONFIG_USB_EHCI_HCD=m`` を選ぶと、イメージにそれぞれ ``xhci.ko`` または ``ehci.ko`` と対応 " +"PCI alias を含め、既存のモジュール coldplug 方針でロードします。EHCI の低速/全速ルートポートのキーボード・マウスには " +"UHCI companion も必要です。設定と他のモジュール管理手順は :doc:`kernel-modules` を参照してください。USB " "デバイスの利用者は対応コントローラーモジュールを保持し、USB ブロックデバイスがマウント中または open 中なら解除は busy " -"を返します。先にファイルシステムを解除して利用者を閉じ、強制アンロードしないでください。再接続で ``/dev/sdX`` 名が変わる場合があり、旧 " -"open は再関連付けしません。" +"を返します。先にファイルシステムを解除して利用者を閉じ、強制アンロードしないでください。再接続で ``/dev/sdX`` " +"名が変わる場合があり、旧 open は再関連付けしません。" msgid "集成验证" msgstr "統合検証" msgid "" -"``tools/test_usb2_qemu.py`` 消费 ReliefNT 的原生输入/移除探针,在关闭 PS/2 控制器的 QEMU 中检查 " -"USB 键盘登录、相对鼠标精确事件、U 盘读写和写保护、 MBR/GPT/整盘 FAT、拔插后旧 FD 的 " +"``tools/test_usb2_qemu.py`` 消费 ReliefNT 的原生输入/移除探针,在关闭 PS/2 控制器的 QEMU 中检查" +" USB 键盘登录、相对鼠标精确事件、U 盘读写和写保护、 MBR/GPT/整盘 FAT、拔插后旧 FD 的 " "``ENODEV``、新设备名及可选模块装卸。 离线核对写入字节;镜像使用只读快照,测试 U 盘与输出目录新建,不接管宿主机 物理 " -"USB。探针哈希、内核 release、固件、控制器、QMP 设备树及每个设备的 端口与协商速率记录在输出中;xHCI 检查要求每个 U 盘实际协商 " -"``SUPER``, 不能仅凭设备连接到 xHCI 或其他设备的速率判定成功。" +"USB。探针哈希、内核 release、固件、控制器、QMP 设备树及每个设备的 端口与协商速率记录在输出中;xHCI 检查要求每个 U " +"盘实际协商 ``SUPER``, 不能仅凭设备连接到 xHCI 或其他设备的速率判定成功。" msgstr "" "``tools/test_usb2_qemu.py`` は ReliefNT のネイティブ入力/取り外しプローブを使用し、PS/2 " "コントローラーを無効にした QEMU で USB キーボードのログイン、相対マウスの正確なイベント、USB " @@ -175,15 +180,15 @@ msgstr "" "メモリで実際の ``SUPER`` 交渉を要求し、xHCI への接続や他デバイスの速度だけで成功としません。" msgid "" -"默认仍是 ``--topology highspeed --firmware bios``;``companion`` 保留 EHCI / UHCI " -"行为。选择 ``qemu-xhci`` 或 ``nec-usb-xhci`` 时,各配置八个 USB2 和 八个 USB3 根端口;``--hid-" -"usb-version 1`` 和 ``2`` 分别检查 FULL 和 HIGH 键鼠,默认使用 ``2``。``--modules`` " -"检查所选控制器模块,需使用对应模块化 镜像。xHCI 测试要求独立探针身份 JSON 中的 ``probe_sha256`` 与实际探针 " -"一致;默认查找探针同目录下的 ``probe-identity.json``,也可用 ``--probe-identity`` " -"指定。必须为每行选择全新的输出目录:" +"默认仍是 ``--topology highspeed --firmware bios``;``companion`` 保留 EHCI / " +"UHCI 行为。选择 ``qemu-xhci`` 或 ``nec-usb-xhci`` 时,各配置八个 USB2 和 八个 USB3 根端口" +";``--hid-usb-version 1`` 和 ``2`` 分别检查 FULL 和 HIGH 键鼠,默认使用 " +"``2``。``--modules`` 检查所选控制器模块,需使用对应模块化 镜像。xHCI 测试要求独立探针身份 JSON 中的 " +"``probe_sha256`` 与实际探针 一致;默认查找探针同目录下的 ``probe-identity.json``,也可用 " +"``--probe-identity`` 指定。必须为每行选择全新的输出目录:" msgstr "" -"既定は引き続き ``--topology highspeed --firmware bios`` で、``companion`` は EHCI / " -"UHCI の動作を維持します。``qemu-xhci`` または ``nec-usb-xhci`` を選ぶと、それぞれ USB2 と USB3 " +"既定は引き続き ``--topology highspeed --firmware bios`` で、``companion`` は EHCI /" +" UHCI の動作を維持します。``qemu-xhci`` または ``nec-usb-xhci`` を選ぶと、それぞれ USB2 と USB3 " "のルートポートを 8 個ずつ構成します。``--hid-usb-version 1`` と ``2`` はそれぞれ FULL と HIGH " "のキーボード・マウスを確認し、既定は ``2`` です。``--modules`` " "は選択したコントローラーモジュールを検査するため、対応するモジュール化イメージが必要です。xHCI テストでは独立したプローブ識別 JSON の " @@ -199,40 +204,42 @@ msgid "" msgstr "" "UEFI は ``QEMU_FIRMWARE`` 指定の OVMF イメージを使い、既定は " "``/usr/share/edk2/x64/OVMF.4m.fd`` です。``-bios`` " -"を通じ共有ファームウェアファイルを読み取るだけです。テストは ``opt/ovmf/X-PciMmio64Mb=0`` を設定して NVMe の 64 " -"ビット BAR を低 MMIO ウィンドウに配置し、``tools/test_dual_boot_qemu.py`` の低 MMIO " +"を通じ共有ファームウェアファイルを読み取るだけです。テストは ``opt/ovmf/X-PciMmio64Mb=0`` を設定して NVMe の " +"64 ビット BAR を低 MMIO ウィンドウに配置し、``tools/test_dual_boot_qemu.py`` の低 MMIO " "モードと一致させます。BIOS は SeaBIOS の対応する低アドレス設定を使います。結果には元イメージの実行前後の SHA-256 " "を記録し、guest 検査、オフラインバイト検査、イメージ不変のすべてに合格した場合だけ、その行を合格にします。" msgid "" -"完整验收矩阵包括 builtin 的 qemu-xhci/BIOS/HIGH HID、 nec-usb-xhci/UEFI/FULL HID,模块化 " -"qemu-xhci/BIOS/FULL HID,以及原有 EHCI/UHCI companion 回归。各行是否运行和通过以其 " -"``results.json`` 为准。 真实 VMware xHCI 曾观察到虚拟 SuperSpeed 存储及 FULL 键鼠枚举,但当前集成 " -"验证未完成,不能据此声称存储、输入和缓存同步全部成功;以往 VMware USB2 失败仍按原结果记录。物理 USB 直通和实体硬件尚未验证。QEMU " -"的 ``-vga vmware`` 也不代表真实 VMware 验证。" +"完整验收矩阵包括 builtin 的 qemu-xhci/BIOS/HIGH HID、 nec-usb-xhci/UEFI/FULL " +"HID,模块化 qemu-xhci/BIOS/FULL HID,以及原有 EHCI/UHCI companion 回归。各行是否运行和通过以其 " +"``results.json`` 为准。 真实 VMware xHCI 曾观察到虚拟 SuperSpeed 存储及 FULL 键鼠枚举,但当前集成" +" 验证未完成,不能据此声称存储、输入和缓存同步全部成功;以往 VMware USB2 失败仍按原结果记录。物理 USB " +"直通和实体硬件尚未验证。QEMU 的 ``-vga vmware`` 也不代表真实 VMware 验证。" msgstr "" -"完全な受け入れ行列には、組み込みの qemu-xhci/BIOS/HIGH HID、nec-usb-xhci/UEFI/FULL HID、モジュール化 " -"qemu-xhci/BIOS/FULL HID、従来の EHCI/UHCI companion 回帰を含みます。各行の実行・合格状況はその " -"``results.json`` に従います。実際の VMware xHCI では仮想 SuperSpeed ストレージと FULL " -"キーボード・マウスの列挙を観測しましたが、現在の統合検証は未完了で、ストレージ、入力、キャッシュ同期すべての成功とは主張できません。過去の VMware" -" USB2 の失敗も元の結果で記録します。物理 USB パススルーと実機は未検証です。QEMU の ``-vga vmware`` も実際の " -"VMware 検証を意味しません。" +"完全な受け入れ行列には、組み込みの qemu-xhci/BIOS/HIGH HID、nec-usb-xhci/UEFI/FULL " +"HID、モジュール化 qemu-xhci/BIOS/FULL HID、従来の EHCI/UHCI companion " +"回帰を含みます。各行の実行・合格状況はその ``results.json`` に従います。実際の VMware xHCI では仮想 " +"SuperSpeed ストレージと FULL " +"キーボード・マウスの列挙を観測しましたが、現在の統合検証は未完了で、ストレージ、入力、キャッシュ同期すべての成功とは主張できません。過去の " +"VMware USB2 の失敗も元の結果で記録します。物理 USB パススルーと実機は未検証です。QEMU の ``-vga vmware`` " +"も実際の VMware 検証を意味しません。" msgid "" "``tools/test_xhci_hub_qemu.py`` 另行验证两级全速 Hub 后的 U 盘、USB 键盘 登录和相对鼠标、单独 U " -"盘拔插、整棵 Hub 树移除/重建,以及可选 ``--modules`` 的挂载阻止卸载和卸载后重新枚举。使用 console backend 的测试 " -"副本,避免 XDM 在 TTY 键盘验证期间切换焦点。该脚本同样消费匹配镜像的 ``--manifest``、内核仓原生 " +"盘拔插、整棵 Hub 树移除/重建,以及可选 ``--modules`` 的挂载阻止卸载和卸载后重新枚举。使用 console backend " +"的测试 副本,避免 XDM 在 TTY 键盘验证期间切换焦点。该脚本同样消费匹配镜像的 ``--manifest``、内核仓原生 " "``--probe``,并要求新建 ``--output``:" msgstr "" "``tools/test_xhci_hub_qemu.py`` は、2 段の全速 Hub 配下の USB メモリ、USB " "キーボードのログイン、相対マウス、個別メモリの抜き差し、Hub ツリー全体の削除・再構築、任意の ``--modules`` " -"によるマウント中のアンロード拒否と解除後の再列挙を別途検証します。TTY キーボード検査中に XDM がフォーカスを切り替えないよう console " -"backend のテストコピーを使います。このスクリプトも対応イメージの ``--manifest`` とカーネルリポジトリのネイティブ " -"``--probe`` を使用し、新規の ``--output`` が必要です。" +"によるマウント中のアンロード拒否と解除後の再列挙を別途検証します。TTY キーボード検査中に XDM がフォーカスを切り替えないよう " +"console backend のテストコピーを使います。このスクリプトも対応イメージの ``--manifest`` " +"とカーネルリポジトリのネイティブ ``--probe`` を使用し、新規の ``--output`` が必要です。" msgid "" -"QEMU 的 ``usb-hub`` 只支持全速,不能用它证明高速 Hub 的 TT 或 USB3 Hub 物理链路。内核支持边界和硬件协议验证归属 " -"ReliefNT 文档;Hub 的 VMware 验证未完成,物理 USB 直通和实体 Hub 也尚未验证。" +"QEMU 的 ``usb-hub`` 只支持全速,不能用它证明高速 Hub 的 TT 或 USB3 Hub " +"物理链路。内核支持边界和硬件协议验证归属 ReliefNT 文档;Hub 的 VMware 验证未完成,物理 USB 直通和实体 Hub " +"也尚未验证。" msgstr "" "QEMU の ``usb-hub`` は全速のみで、高速 Hub の TT や USB3 Hub " "の物理リンクの証明には使えません。カーネルの対応範囲とハードウェアプロトコル検証は ReliefNT 文書が担当します。Hub の VMware " @@ -240,9 +247,10 @@ msgstr "" msgid "" "VMware 的 USB 兼容性和可移动设备操作见 `Workstation Pro 官方手册 " -"`_。" +"`_。" msgstr "" "VMware の USB 互換性とリムーバブルデバイス操作は `Workstation Pro 公式マニュアル " -"`_ を参照してください。" +"`_ " +"を参照してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/applications/diskmgr.po b/Documentation/locale/ja/LC_MESSAGES/applications/diskmgr.po index 5499936f..a248258a 100644 --- a/Documentation/locale/ja/LC_MESSAGES/applications/diskmgr.po +++ b/Documentation/locale/ja/LC_MESSAGES/applications/diskmgr.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:37+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "磁盘管理器(Diskmgr)" msgstr "ディスクマネージャー(Diskmgr)" @@ -20,52 +23,47 @@ msgid "" "运行 ``diskmgr``,或从系统菜单打开磁盘管理器。程序使用 C++、FLTK 和 X11, 沿用系统 FLTK " "主题、中文字体及现有磁盘管理器图标。左侧选择磁盘,右侧选择 分区;工具栏与“分区”菜单提供同一组操作。Ctrl+R 刷新,Ctrl+Q 关闭。" msgstr "" -"``diskmgr`` を実行するか、システムメニューからディスクマネージャーを開きます。C++、FLTK、X11 を使用し、システムの FLTK " +"``diskmgr`` を実行するか、システムメニューからディスクマネージャーを開きます。C++、FLTK、X11 を使用し、システムの FLTK" +" " "テーマ、中国語フォント、既存アイコンを引き継ぎます。左でディスク、右でパーティションを選び、ツールバーと「パーティション」メニューから同じ操作を利用できます。Ctrl+R" " で更新、Ctrl+Q で閉じます。" msgid "" "支持查看 GPT 分区、文件系统、容量、PARTUUID 和实际挂载位置;在空闲空间 " "新建并格式化分区,格式化、删除分区,以及挂载和卸载数据分区。新文件系统 可选 ext4、ext3、FAT32、exFAT,也可挂载现有 ext2 " -"分区。现有格式化器要求 FAT32 至少32 MiB,ext4/exFAT至少128 MiB,ext3至少8 MiB。ext3 格式化调用系统提供的 " -"e2fsprogs ``mke2fs``,挂载使用 ``data=ordered``。分区名称支持中文,磁盘上 " -"使用 GPT 规定的 UTF-16,界面使用 UTF-8;超过36个 UTF-16编码单元的名称被拒绝。 " +"分区。现有格式化器要求 FAT32 至少32 MiB,ext4/exFAT至少128 MiB,ext3至少8 MiB。ext3 " +"格式化调用系统提供的 e2fsprogs ``mke2fs``,挂载使用 ``data=ordered``。分区名称支持中文,磁盘上 使用 GPT" +" 规定的 UTF-16,界面使用 UTF-8;超过36个 UTF-16编码单元的名称被拒绝。 " "界面输入另有71字节上限,分区表显示超出列宽时可调整列宽或水平滚动。" msgstr "" "GPT " "パーティション、ファイルシステム、容量、PARTUUID、実際のマウント先を確認し、空き領域での作成・フォーマット、パーティションのフォーマット・削除、データパーティションのマウント・解除を行えます。新規ファイルシステムは" " ext4、ext3、FAT32、exFAT を選べ、既存 ext2 もマウントできます。現在のフォーマッターには FAT32 で最低 32 " "MiB、ext4/exFAT で最低 128 MiB、ext3 で最低 8 MiB が必要です。ext3 のフォーマットはシステムが提供する " -"e2fsprogs の ``mke2fs`` を呼び出し、マウントには ``data=ordered`` を使用します。パーティション名は中国語に対応し、ディスク上では " -"GPT 規定の UTF-16、画面では UTF-8 を使用します。36 UTF-16 コード単位を超える名前は拒否し、画面入力には別途 71 " +"e2fsprogs の ``mke2fs`` を呼び出し、マウントには ``data=ordered`` " +"を使用します。パーティション名は中国語に対応し、ディスク上では GPT 規定の UTF-16、画面では UTF-8 を使用します。36 " +"UTF-16 コード単位を超える名前は拒否し、画面入力には別途 71 " "バイトの上限があります。表の列幅を超える場合は幅の調整や水平スクロールを利用できます。" -msgid "" -"普通用户默认只读;“以管理员身份打开…”使用标准 sudo 验证当前用户密码, 成功后打开 root 窗口。需要该用户已有 sudo " -"权限;密码通过标准输入传送, 不进入命令行或环境变量。取消或验证失败保留原窗口。" -msgstr "" -"一般ユーザーは既定で読み取り専用です。「管理者として開く…」は標準 sudo で現在のユーザーのパスワードを確認し、成功すると root " -"のウィンドウを開きます。そのユーザーに既存の sudo " -"権限が必要です。パスワードは標準入力で送り、コマンドラインや環境変数には含めません。キャンセルや認証失敗では元のウィンドウを保持します。" - msgid "" "新建、格式化和删除需要输入对话框给出的 CREATE、FORMAT、DELETE,连续点击 " -"两次确认。修改任意字段会取消第一次确认。系统分区和已挂载分区受到保护; 含挂载分区的整盘不能更改 GPT。BIOS Boot 分区不能格式化或挂载。 " -"扫描和磁盘操作在独立子进程执行,期间窗口继续处理 X11 事件,操作完成后 刷新列表;操作进行中不能关闭窗口。新建成功但格式化失败会明确报告部分成功。" +"两次确认。修改任意字段会取消第一次确认。系统分区和已挂载分区受到保护; 含挂载分区的整盘不能更改 GPT。BIOS Boot " +"分区不能格式化或挂载。 扫描和磁盘操作在独立子进程执行,期间窗口继续处理 X11 事件,操作完成后 " +"刷新列表;操作进行中不能关闭窗口。新建成功但格式化失败会明确报告部分成功。" msgstr "" "作成、フォーマット、削除には、ダイアログ指定の CREATE、FORMAT、DELETE を入力し、確認を続けて 2 " "回クリックする必要があります。どのフィールドでも変更すると最初の確認が取り消されます。システムとマウント中のパーティションは保護し、マウント済み領域を含むディスクの" -" GPT は変更できません。BIOS Boot はフォーマットもマウントもできません。走査とディスク操作は独立した子プロセスで実行し、その間も X11 " -"イベントを処理して、完了後に一覧を更新します。操作中は閉じられません。作成成功後にフォーマットが失敗した場合は部分的な成功を明示します。" +" GPT は変更できません。BIOS Boot はフォーマットもマウントもできません。走査とディスク操作は独立した子プロセスで実行し、その間も " +"X11 イベントを処理して、完了後に一覧を更新します。操作中は閉じられません。作成成功後にフォーマットが失敗した場合は部分的な成功を明示します。" msgid "" -"使用现有 POSIX 文件操作、Linux 块设备 ioctl 和 mount/umount2,支持512字节 逻辑扇区和有效 GPT。没有 GPT " -"或分区表损坏的磁盘 仅报告错误,需先用独立工具准备 GPT。挂载点为 ``/mnt/disk<编号>p<分区号>``, " +"使用现有 POSIX 文件操作、Linux 块设备 ioctl 和 mount/umount2,支持512字节 逻辑扇区和有效 GPT。没有 " +"GPT 或分区表损坏的磁盘 仅报告错误,需先用独立工具准备 GPT。挂载点为 ``/mnt/disk<编号>p<分区号>``, " "已有挂载、符号链接、权限不安全或非空目录会被拒绝。" msgstr "" -"既存の POSIX ファイル操作、Linux ブロックデバイス ioctl、mount/umount2 を使用し、512 バイト論理セクターと有効な " -"GPT に対応します。GPT のないディスクや破損したパーティションテーブルはエラー報告のみで、先に別ツールで GPT " -"を準備する必要があります。マウントポイントは ``/mnt/disk<编号>p<分区号>`` " +"既存の POSIX ファイル操作、Linux ブロックデバイス ioctl、mount/umount2 を使用し、512 " +"バイト論理セクターと有効な GPT に対応します。GPT のないディスクや破損したパーティションテーブルはエラー報告のみで、先に別ツールで GPT" +" を準備する必要があります。マウントポイントは ``/mnt/disk<编号>p<分区号>`` " "です。既存マウント、シンボリックリンク、安全でない権限、空でないディレクトリは拒否します。" msgid "" @@ -78,5 +76,13 @@ msgstr "" "GUID、範囲、読み取り専用状態、diskseq、マウント状態を再検査します。ホットプラグ後は更新して対象を選び直してください。open " "済みオブジェクトは元のメディア識別情報を保持します。通常のディスクリプターの読み書きはファイル権限で検証し、パーティションテーブルの再読み込みには上流の" " `Linux ブロックデバイス ioctl 実装 " -"`_ と同様に Linux " -"``CAP_SYS_ADMIN`` が必要です。" +"`_ と同様に " +"Linux ``CAP_SYS_ADMIN`` が必要です。" + +msgid "" +"普通用户默认只能查看磁盘。“以管理员身份打开…”使用 polkit 授权扫描磁盘, 修改分区时也通过 polkit " +"授权。授权后由专用辅助程序执行操作,界面继续以普通账户运行。" +msgstr "" +"一般ユーザーは既定でディスクの情報を参照できます。「管理者として開く…」を選択すると、polkit " +"で権限が必要なディスクの検査を認可します。パーティションの変更にも polkit " +"の認可が必要です。認可された操作は専用のヘルパーが実行し、画面は一般アカウントの権限で動作します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/applications/reliefmail.po b/Documentation/locale/ja/LC_MESSAGES/applications/reliefmail.po index bf6bc9ae..70eddfee 100644 --- a/Documentation/locale/ja/LC_MESSAGES/applications/reliefmail.po +++ b/Documentation/locale/ja/LC_MESSAGES/applications/reliefmail.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefMail 证书与连接排查" msgstr "ReliefMail の証明書と接続のトラブルシューティング" @@ -32,110 +35,21 @@ msgstr "" "アカウントの「詳細」には「システム証明書を修復または更新」があります。既定 CA " "を使う接続テストで証明書ストアの読み込み失敗や信頼チェーンエラーが発生した場合も、エラーダイアログから修復に進めます。" -msgid "该入口启动 ``reliefapk --repair-ca``:" -msgstr "この入口は ``reliefapk --repair-ca`` を起動します。" - -msgid "" -"检查证书恢复条件;系统 CA 可用时,在线模拟固定证书包的变更。 恢复计划会说明两个 CA 包的 world 请求将刷新为不带版本或仓库标签约束的包名;" -" 使用已配置的默认签名仓库,其他请求保留。" -msgstr "" -"証明書復元の条件を確認し、システム CA が使える場合は固定の証明書パッケージの変更をオンラインでシミュレーションします。復元計画では、二つの CA " -"パッケージの world " -"要求を、バージョンやリポジトリタグの制約がないパッケージ名に更新することを示します。設定済みの既定の署名リポジトリを使い、他の要求は保持します。" - -msgid "在 ReliefAPK 中检查变更并应用,使用其现有 sudo/root 密码认证。" -msgstr "ReliefAPK で変更を確認して適用し、既存の sudo/root パスワード認証を使います。" - -msgid "" -"系统 CA 不可用时,先原子恢复随系统分发的证书库,将原有常规文件保留为 权限 ``0600`` 的独立备份。随后才进行在线包可用性检查和真实 apk " -"模拟。" -msgstr "" -"システム CA が使えなければ、付属の証明書ストアを先に原子的に復元し、元の通常ファイルを権限 ``0600`` " -"の独立バックアップとして残します。その後にオンラインのパッケージ可用性確認と実際の apk シミュレーションを行います。" - -msgid "" -"apk 使用已配置的软件源和包签名验证获取固定的 ``ca-certificates`` 与 ``ca-certificates-bundle`` " -"软件包。先用 ``add --upgrade`` 更新 两个请求及其版本,再用 ``fix --reinstall`` " -"修复源文件和生成文件。每次真实变更前 均重新模拟,依赖仍由 apk 求解。HTTPS 源必须通过 TLS 证书验证;管理员配置的本地或 HTTP " -"源也必须通过 apk 签名验证。" -msgstr "" -"apk は設定済みリポジトリとパッケージ署名検証を使い、固定の ``ca-certificates`` と ``ca-certificates-" -"bundle`` を取得します。まず ``add --upgrade`` で両要求とバージョンを更新し、``fix --reinstall`` " -"でソースと生成ファイルを修復します。実際の変更のたびに再シミュレーションし、依存関係は引き続き apk が解決します。HTTPS ソースは TLS " -"証明書検証、管理者設定のローカル・HTTP ソースも apk 署名検証に合格する必要があります。" - -msgid "" -"安装后重新解析证书库;文件仍不可用、新生成 ``.apk-new`` 或 apk 报告 ``APK unavailable, skipped`` " -"时报告失败,不把退出码 0 当作实际执行的充分证据。" -msgstr "" -"インストール後に証明書ストアを再解析します。まだ利用不可、新たな ``.apk-new`` の生成、apk の ``APK unavailable, " -"skipped`` 表示は失敗として報告し、終了コード 0 だけを実施済みの十分な証拠としません。" - -msgid "返回 ReliefMail,重新输入测试所需的邮箱授权码并测试连接。" -msgstr "ReliefMail に戻り、テスト用のメール認証コードを再入力して接続を確認します。" - -msgid "" -"证书修复不会发送邮件。邮箱密码与系统提权密码分别由两个程序处理,不通过启动 参数传递。账户已指定私有 CA 时,应检查该文件,不会自动替换为公共 CA。" -msgstr "" -"証明書修復でメールは送信しません。メールのパスワードと権限昇格用パスワードは別のプログラムが扱い、起動引数では渡しません。私有 CA " -"を指定したアカウントではそのファイルを確認し、公開 CA へ自動置換しません。" - msgid "" -"下载使用当前有效的系统证书库;文件缺失或损坏时,使用随 ReliefOS 分发、 由 root 管理的 " -"``/usr/share/reliefos/certs/ca-certificates.crt`` 恢复系统证书库。 恢复文件及其父目录必须由 root" -" 拥有、不可由组或其他用户写入,且不能是符号链接。 预览阶段说明恢复计划,不修改系统证书。经认证应用后才恢复文件并进行在线模拟; " -"恢复后的网络或签名检查失败时保留已恢复的出厂 CA,并明确报告更新失败。 预览与实际修复禁用磁盘缓存;检查包可用性时仅请求元数据,不下载归档。 " -"固定修复工作程序启动 apk 时使用独立的最小环境,忽略调用者的 ``APK_CONFIG``、代理和 TLS 环境变量,也不加载全局 " -"``/etc/apk/config``,防止配置关闭签名或证书验证。 APK 输出中的仓库 URL 会隐藏,避免将可能包含的仓库凭据写入操作日志。 " -"软件源、签名密钥与架构仍使用系统配置;仅依靠环境变量配置代理的网络需要管理员 先提供可直接访问的软件源。 邮箱连接仍按账户配置验证。apk " -"当前下载库优先读取编译时指定的 CA 文件, 恢复过程直接修复该系统文件,不依赖环境变量覆盖该路径。 在线操作前和安装后均检查系统 CA " -"文件及其父目录的信任条件。即使 PEM 可以解析, 符号链接、非 root 属主或组/其他用户可写的路径也会被拒绝。管理员应先核对来源, 恢复 root" -" 拥有的常规文件和安全权限;程序不会把这种文件直接用作特权下载的信任锚。" +"该入口启动 ``reliefpackages --repair-ca``。检查确认对话框后,由 polkit 授权使用 pacman 重新安装 " +"Arch 官方的 ``ca-certificates-utils`` 与 ``ca-certificates-" +"mozilla``。需要时先从本机信任锚重新生成证书库,再使用系统签名策略执行安装。 事务显示软件包及钩子输出。成功后返回 " +"ReliefMail,重新测试该账户的连接。" msgstr "" -"ダウンロードは現在有効なシステム証明書ストアを使い、欠落・破損時は ReliefOS 付属で root 管理の " -"``/usr/share/reliefos/certs/ca-certificates.crt`` から復元します。復元用ファイルと親ディレクトリは " -"root " -"所有で、グループや他ユーザーが書き込めず、シンボリックリンクでもない必要があります。プレビューは計画を説明するだけで証明書を変更せず、認証後の適用で初めて復元とオンラインシミュレーションを行います。復元後のネットワーク・署名検査に失敗しても出荷時" -" CA " -"は保持し、更新失敗を明示します。プレビューと実修復はディスクキャッシュを無効にし、パッケージ可用性確認はメタデータだけを要求してアーカイブを取得しません。固定の修復ワーカーは独立した最小環境で" -" apk を起動し、呼び出し元の ``APK_CONFIG``、プロキシ、TLS 環境変数を無視してグローバルな ``/etc/apk/config``" -" も読まず、設定による署名・証明書検証の無効化を防ぎます。APK 出力のリポジトリ URL " -"は隠し、含まれるかもしれない認証情報を操作ログに記録しません。ソフトウェアソース、署名鍵、アーキテクチャはシステム設定を使います。環境変数だけでプロキシを設定するネットワークでは、管理者が直接アクセス可能なソースを先に用意する必要があります。メール接続は引き続きアカウント設定で検証します。現在の" -" apk ダウンロードライブラリはコンパイル時指定の CA " -"を優先するため、復元は環境変数による上書きに頼らずそのシステムファイルを直接修復します。オンライン操作前とインストール後に CA " -"ファイルと親ディレクトリの信頼条件を確認し、PEM を解析できてもシンボリックリンク、非 root " -"所有、グループ・他ユーザー書き込み可能なパスは拒否します。管理者はまず出所を確認し、root " -"所有の通常ファイルと安全な権限を復元してください。そのような安全でないファイルを特権ダウンロードの信頼の基点に直接使用しません。" +"この操作は ``reliefpackages --repair-ca`` を起動します。確認後、polkit で認証し、pacman が公式 " +"Arch の ``ca-certificates-utils`` と ``ca-certificates-mozilla`` " +"を再インストールします。必要に応じてローカルの信頼アンカーから証明書バンドルを再生成し、システムの署名ポリシーでインストールします。画面にはパッケージとフックの出力が表示されます。成功後は" +" ReliefMail に戻り、アカウントの接続を再試行してください。" -msgid "" -"``reliefos-trust`` 同时提供恢复证书库和 ``/etc/apk/protected_paths.d/reliefos-ca-" -"bundle.list``。apk 3 的文件替换保护按目录生效; 该规则把 ``/etc/ssl/certs`` " -"作为生成的证书输出目录,允许签名证书包替换损坏的已安装 文件,避免仅生成 ``.apk-new`` 而留下错误文件。私有 CA 源文件宜保存在 " -"``/usr/local/share/ca-certificates``,账户专用文件可放在其他适当目录。" +msgid "邮箱密码保留在 ReliefMail。系统授权由桌面的 polkit 代理处理。 如果账户选择了私有 CA,应检查该文件的路径、权限与证书内容。" msgstr "" -"``reliefos-trust`` は復元用証明書ストアと ``/etc/apk/protected_paths.d/reliefos-ca-" -"bundle.list`` を提供します。apk 3 の置換保護はディレクトリ単位で、この規則は ``/etc/ssl/certs`` " -"を証明書の生成先とし、署名済み証明書パッケージが破損ファイルを置換できるようにして、``.apk-new`` " -"だけを作って問題のファイルを残すことを防ぎます。私有 CA のソースは ``/usr/local/share/ca-certificates`` " -"が適し、アカウント専用ファイルは他の適切な場所にも置けます。" - -msgid "" -"更新已有系统时,应同步更新 ReliefMail、ReliefAPK 和系统信任包/配置。仅复制新程序 到旧镜像,可能缺少恢复证书文件或 apk " -"保护规则;应检查安装日志及 ``.apk-new``。 自定义保护策略仍需由管理员合并;修复程序会检查最终证书文件是否可解析。 不能只更新汇总包: " -"`Alpine 的安装钩子 " -"`_ 会执行 ``update-ca-certificates``,按源文件 " -"重新生成证书库。仅替换汇总文件可能被旧源集合覆盖;所以修复流程同步维护两个包, 并移除它们在旧镜像中遗留的精确 world 约束,允许后续安全更新。" -msgstr "" -"既存システムの更新では " -"ReliefMail、ReliefAPK、システム信頼パッケージ・設定をまとめて更新してください。旧イメージに新プログラムだけをコピーすると復元用証明書や" -" apk 保護規則が欠ける場合があるため、インストールログと ``.apk-new`` " -"を確認します。独自の保護方針は管理者が統合する必要があり、修復ツールは最終証明書ファイルの解析可否を確認します。集約パッケージだけの更新では不十分です。`Alpine" -" のインストール hook " -"`_ が ``update-ca-certificates`` " -"でソースからストアを再生成するため、集約ファイルだけの置換は古いソース群で上書きされ得ます。修復は両パッケージを保守し、旧イメージに残る厳密な " -"world 制約を除いて、後のセキュリティ更新を可能にします。" +"メールのパスワードは ReliefMail が扱います。システムの認証はデスクトップの polkit エージェントが処理します。アカウントが独自の" +" CA を使用する場合は、指定ファイルの場所、権限、証明書の内容を確認してください。" msgid "按实际原因处理" msgstr "実際の原因に応じた対処" @@ -147,8 +61,7 @@ msgid "提示:自定义 CA 文件不可用; 应检查的内容:文件路径 msgstr "表示:カスタム CA ファイルが利用不可。確認:パス、権限、PEM 内容を調べるか、空欄にしてシステム証明書を使います。" msgid "提示:服务器证书链不受信任; 应检查的内容:服务器地址、中间证书链、私有 CA 选择,以及系统根证书是否需要更新。" -msgstr "" -"表示:サーバー証明書チェーンが信頼されない。確認:サーバーアドレス、中間証明書、私有 CA の選択、システムルート証明書の更新要否を調べます。" +msgstr "表示:サーバー証明書チェーンが信頼されない。確認:サーバーアドレス、中間証明書、私有 CA の選択、システムルート証明書の更新要否を調べます。" msgid "提示:证书已过期或尚未生效; 应检查的内容:系统日期、时间和服务器证书有效期。" msgstr "表示:証明書が期限切れまたは有効期間前。確認:システムの日付・時刻とサーバー証明書の有効期間を調べます。" @@ -160,8 +73,8 @@ msgid "提示:TLS 协商失败; 应检查的内容:端口、隐式 TLS/START msgstr "表示:TLS 交渉失敗。確認:ポート、暗黙 TLS/STARTTLS の選択、ネットワーク状態、双方のプロトコル対応を調べます。" msgid "" -"CA 包中部分证书无法解析时,只要有可用根证书,程序会继续用这些根验证服务器; 服务器身份、有效期和信任链校验仍为必需。全部证书不可用时拒绝连接。 " -"诊断保留失败阶段、TLS 返回码、校验标志和系统时间,便于区分原因。" +"CA 包中部分证书无法解析时,只要有可用根证书,程序会继续用这些根验证服务器; 服务器身份、有效期和信任链校验仍为必需。全部证书不可用时拒绝连接。" +" 诊断保留失败阶段、TLS 返回码、校验标志和系统时间,便于区分原因。" msgstr "" "CA " "パッケージ内に解析できない証明書があっても、使えるルートがあればそれでサーバーを検証します。サーバー識別、有効期間、信頼チェーンの検証は必須のままです。すべて利用不可なら接続を拒否します。診断には失敗段階、TLS" @@ -170,10 +83,7 @@ msgstr "" msgid "定向验证" msgstr "個別検証" -msgid "" -"QEMU 工具 ``tools/test_reliefmail_ca_qemu.py`` 使用独立磁盘副本及临时签名仓库, 测试 CA " -"损坏后的可见错误与修复流程。测试 CA、仓库密钥和账户均为夹具, 不会安装到宿主系统或生产输入镜像中。" +msgid "在完成源码修改后,使用真实邮箱连接或对应 TLS 夹具复核证书加载与错误状态。 应用的协议、后台任务与证书校验测试入口为::" msgstr "" -"QEMU ツール ``tools/test_reliefmail_ca_qemu.py`` は独立したディスクコピーと一時署名リポジトリで、CA " -"破損後の可視エラーと修復経路を検証します。テスト CA、リポジトリ鍵、アカウントは fixture " -"で、ホストや本番入力イメージにはインストールしません。" +"ソース変更後は、実際のアカウントまたは対応する TLS " +"フィクスチャで証明書の読み込みとエラー表示を確認します。アプリのプロトコル、バックグラウンド処理、証明書は次のテストで検査します::" diff --git a/Documentation/locale/ja/LC_MESSAGES/applications/reliefmath-rendering.po b/Documentation/locale/ja/LC_MESSAGES/applications/reliefmath-rendering.po index 3544baba..50f2c237 100644 --- a/Documentation/locale/ja/LC_MESSAGES/applications/reliefmath-rendering.po +++ b/Documentation/locale/ja/LC_MESSAGES/applications/reliefmath-rendering.po @@ -4,14 +4,17 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefMath 数学渲染" msgstr "ReliefMath の数式描画" @@ -25,27 +28,28 @@ msgstr "選択の根拠" msgid "" "已确认规格将 MicroTeX 固定候选设为 " "``0e3707f6dafebb121d98b53c64364d16fefe481d``。实际下载该提交并隔离检查,默认主机 CMake 因缺少 " -"``gtksourceviewmm-3.0`` 失败;其 GNU 构建采用 C++20,并依赖标准 C++ 库、异常、filesystem 和 GTK " -"C++ 图形实现。使用本项目现行 C++17、``-nostdinc++ -fno-exceptions -fno-rtti`` 标志交叉编译 " -"``src/core/core.cpp``,实际在 ``cstring`` 头处失败。证据保留于 ``out/tmp/reliefmath-" -"backend/cmake-host.log`` 和 ``microtex-" +"``gtksourceviewmm-3.0`` 失败;其 GNU 构建采用 C++20,并依赖标准 C++ 库、异常、filesystem 和 " +"GTK C++ 图形实现。使用本项目现行 C++17、``-nostdinc++ -fno-exceptions -fno-rtti`` " +"标志交叉编译 ``src/core/core.cpp``,实际在 ``cstring`` 头处失败。证据保留于 ``out/tmp" +"/reliefmath-backend/cmake-host.log`` 和 ``microtex-" "target.log``。这不是声称上游不能移植,而是本版本没有为公式工具引入完整 GTK/C++ 开发栈。" msgstr "" "確定仕様では MicroTeX 候補を ``0e3707f6dafebb121d98b53c64364d16fefe481d`` " "に固定しました。実際に取得して隔離調査したところ、既定のホスト CMake は ``gtksourceviewmm-3.0`` " "不足で失敗しました。GNU ビルドは C++20 で、標準 C++ ライブラリ、例外、filesystem、GTK C++ " -"グラフィックスに依存します。本プロジェクトの現行 C++17 と ``-nostdinc++ -fno-exceptions -fno-rtti`` で" -" ``src/core/core.cpp`` をクロスコンパイルすると、実際に ``cstring`` ヘッダーで失敗しました。証拠は " -"``out/tmp/reliefmath-backend/cmake-host.log`` と ``microtex-target.log`` " -"にあります。上流を移植できないという主張ではなく、本版では数式ツールのために完全な GTK/C++ 開発環境を導入しないという選択です。" +"グラフィックスに依存します。本プロジェクトの現行 C++17 と ``-nostdinc++ -fno-exceptions -fno-" +"rtti`` で ``src/core/core.cpp`` をクロスコンパイルすると、実際に ``cstring`` " +"ヘッダーで失敗しました。証拠は ``out/tmp/reliefmath-backend/cmake-host.log`` と " +"``microtex-target.log`` にあります。上流を移植できないという主張ではなく、本版では数式ツールのために完全な GTK/C++" +" 開発環境を導入しないという選択です。" msgid "" "因此采用规格允许的本地受限递归下降解析器、数学盒模型和扁平字形显示列表,使用 FreeType 与 Cairo 的 C 接口。GUI " -"不链接数学后端;独立 ``reliefmath-render.elf`` 只接受有界源码协议,不运行 shell、网络请求或 TeX 命令。支持范围见 " -"兼容清单。" +"不链接数学后端;独立 ``reliefmath-render.elf`` 只接受有界源码协议,不运行 shell、网络请求或 TeX " +"命令。支持范围见 兼容清单。" msgstr "" -"そのため仕様で認められたローカルの制限付き再帰下降パーサー、数式ボックスモデル、平坦な字形表示リストを使い、FreeType と Cairo の C " -"インターフェースを利用します。GUI は数式バックエンドをリンクせず、独立した ``reliefmath-render.elf`` " +"そのため仕様で認められたローカルの制限付き再帰下降パーサー、数式ボックスモデル、平坦な字形表示リストを使い、FreeType と Cairo の " +"C インターフェースを利用します。GUI は数式バックエンドをリンクせず、独立した ``reliefmath-render.elf`` " "が上限付きのソースプロトコルだけを受け付け、shell、ネット要求、TeX コマンドは実行しません。対応範囲は互換一覧を参照してください。" msgid "字体与依赖" @@ -54,35 +58,32 @@ msgstr "フォントと依存関係" msgid "" "数学字体为 STIX Two Math,来源 ``stipub/stixfonts`` 的 ``v2.13b171``,原文件路径 " "``fonts/static_otf/STIXTwoMath-Regular.otf``。仓库字体 SHA256 为 " -"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c``,完整 SIL " -"OFL 随资源保留。字形缺失时回退到系统现有 SimSun;中文也通过 FreeType 提取轮廓。两者仍无字形则明确报错,不生成缺字符号冒充成功。" +"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c``,完整 " +"SIL OFL 随资源保留。字形缺失时回退到系统现有 SimSun;中文也通过 FreeType " +"提取轮廓。两者仍无字形则明确报错,不生成缺字符号冒充成功。" msgstr "" "数式フォントは ``stipub/stixfonts`` の ``v2.13b171`` にある STIX Two Math で、元パスは " "``fonts/static_otf/STIXTwoMath-Regular.otf`` です。リポジトリ内フォントの SHA256 は " -"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c`` で、完全な " -"SIL OFL を資源と一緒に保持します。字形不足時は既存のシステム SimSun にフォールバックし、中国語も FreeType " +"``3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c`` " +"で、完全な SIL OFL を資源と一緒に保持します。字形不足時は既存のシステム SimSun にフォールバックし、中国語も FreeType " "で輪郭を抽出します。両方に字形がなければ明確にエラーとし、欠字記号で成功を装いません。" msgid "" -"只使用 STIX 字体,不分发 MicroTeX 的代码或资源。目标路径为 ``/usr/share/reliefmath/STIXTwoMath-" -"Regular.otf``,中文使用 ``/usr/share/fonts/reliefos/simsun.ttc``;许可证装入 " +"只使用 STIX 字体,不分发 MicroTeX 的代码或资源。目标路径为 ``/usr/share/reliefmath" +"/STIXTwoMath-Regular.otf``,中文使用 " +"``/usr/share/fonts/reliefos/simsun.ttc``;许可证装入 " "``/usr/share/licenses/reliefmath/``。" msgstr "" -"STIX フォントだけを使用し、MicroTeX のコード・資源は配布しません。配置先は " -"``/usr/share/reliefmath/STIXTwoMath-Regular.otf``、中国語は " -"``/usr/share/fonts/reliefos/simsun.ttc`` を使用し、ライセンスは " -"``/usr/share/licenses/reliefmath/`` に入れます。" +"STIX フォントだけを使用し、MicroTeX のコード・資源は配布しません。配置先は ``/usr/share/reliefmath" +"/STIXTwoMath-Regular.otf``、中国語は ``/usr/share/fonts/reliefos/simsun.ttc`` " +"を使用し、ライセンスは ``/usr/share/licenses/reliefmath/`` に入れます。" msgid "" -"Cairo ``1.18.4-r1`` 与 FreeType ``2.14.3-r0`` 的开发 APK 使用 " -"``configs/dependencies.lock.json`` 固定 URL 与 SHA256,通过显式 ``make fetch`` " -"获取。构建脚本使用系统信任密钥验证 APK 签名并校验摘要,再以临时完整树发布到专有开发目录;不覆盖共享 X11 开发树。运行时使用系统已有的相同版本 " -"APK。没有改变全局 C++ 编译标志。" +"渲染器使用官方 Arch Cairo 和 FreeType。隔离构建根通过 pacman 安装开发头与库,ReliefMath " +"包声明相应的运行依赖。" msgstr "" -"Cairo ``1.18.4-r1`` と FreeType ``2.14.3-r0`` の開発 APK は " -"``configs/dependencies.lock.json`` で URL と SHA256 を固定し、明示的な ``make fetch`` " -"で取得します。ビルドスクリプトはシステム信頼鍵で署名を検証してダイジェストを確認し、完全な一時ツリーを専用開発先へ公開して共有 X11 " -"開発ツリーを上書きしません。実行時は既存の同版システム APK を使います。グローバル C++ フラグは変更していません。" +"レンダラーには公式 Arch の Cairo と FreeType を使用します。隔離ビルド環境に pacman " +"で開発ヘッダーとライブラリをインストールし、実行時の依存関係は ReliefMath パッケージで宣言します。" msgid "渲染与输出" msgstr "描画と出力" diff --git a/Documentation/locale/ja/LC_MESSAGES/applications/reliefplayer.po b/Documentation/locale/ja/LC_MESSAGES/applications/reliefplayer.po index 83de2b17..3729fda4 100644 --- a/Documentation/locale/ja/LC_MESSAGES/applications/reliefplayer.po +++ b/Documentation/locale/ja/LC_MESSAGES/applications/reliefplayer.po @@ -4,24 +4,27 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" -"Language-Team: Japanese\n" "Language: ja\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "ReliefPlayer" msgstr "ReliefPlayer" msgid "" -"ReliefPlayer 是独立的 FLTK 本地音视频播放器,位于“网络和多媒体”应用分组, 不属于 ReliefOffice。使用系统中文字体和 " -"FLTK 默认 gtk+ 控件。" +"ReliefPlayer 是独立的 FLTK 本地音视频播放器,位于“网络和多媒体”应用分组, 不属于 " +"ReliefOffice。使用系统中文字体和 FLTK 默认 gtk+ 控件。" msgstr "" -"ReliefPlayer は独立した FLTK のローカル音声・動画プレーヤーで、「ネットワークとマルチメディア」に属し、ReliefOffice " -"には含まれません。システムの中国語フォントと FLTK 既定の gtk+ ウィジェットを使用します。" +"ReliefPlayer は独立した FLTK のローカル音声・動画プレーヤーで、「ネットワークとマルチメディア」に属し、ReliefOffice" +" には含まれません。システムの中国語フォントと FLTK 既定の gtk+ ウィジェットを使用します。" msgid "" "点击“打开媒体”选择文件,打开后自动播放。支持播放/暂停、停止、拖动进度、 前后跳转 10 " @@ -47,8 +50,7 @@ msgstr "Home:先頭に戻ります。" msgid "" "音量只影响本程序输出,不更改系统混音器。暂停和停止会释放音频设备; 恢复播放从已经播放到的位置继续,停止后再次播放从开头开始。 " "设备被其他程序占用或不可用时会在状态栏提示,可以释放设备后重试播放。" -msgstr "" -"音量は本アプリの出力だけに影響し、システムミキサーは変更しません。一時停止と停止は音声デバイスを解放します。再開は再生済み位置から、停止後の再生は先頭から始めます。使用中・利用不可のデバイスは状態バーで知らせ、解放後に再試行できます。" +msgstr "音量は本アプリの出力だけに影響し、システムミキサーは変更しません。一時停止と停止は音声デバイスを解放します。再開は再生済み位置から、停止後の再生は先頭から始めます。使用中・利用不可のデバイスは状態バーで知らせ、解放後に再試行できます。" msgid "支持范围" msgstr "対応範囲" @@ -62,8 +64,8 @@ msgstr "" "MP3 は既存 minimp3 を使い、可変ビットレートを含む単・2 チャンネル MPEG Layer III " "に対応します。初回にフレーム索引を走査して総時間を決め、シーク時は事前復号して状態を復元します。時間は音声フレームで数え、エンコーダー遅延と末尾 " "padding は切り詰めません。ID3、APEv2 のタグ境界を飛ばし、カバー画像とタグ情報は読み取り・表示しません。APEv2 の境界配置は " -"`FFmpeg の公式実装 `_ " -"を参照しています。" +"`FFmpeg の公式実装 " +"`_ を参照しています。" msgid "" "WAV 支持 RIFF 中的单/双声道 PCM 8、16、24、32 位和 IEEE float32; 支持容器位深与有效位深相同的对应 " @@ -71,14 +73,14 @@ msgid "" "最多打开 2 GiB 的文件;MP3 索引最多 100 万帧。" msgstr "" "WAV は RIFF 内の単・2 チャンネル PCM 8、16、24、32 ビットと IEEE " -"float32、およびコンテナーと有効ビット深度が一致する対応 WAVE_FORMAT_EXTENSIBLE サブ形式に対応します。サンプルレートは " -"8〜192 kHz です。他の WAV 圧縮、RF64、多チャンネル元ファイルは未対応です。ファイルは最大 2 GiB、MP3 索引は最大 100 " -"万フレームです。" +"float32、およびコンテナーと有効ビット深度が一致する対応 WAVE_FORMAT_EXTENSIBLE " +"サブ形式に対応します。サンプルレートは 8〜192 kHz です。他の WAV 圧縮、RF64、多チャンネル元ファイルは未対応です。ファイルは最大" +" 2 GiB、MP3 索引は最大 100 万フレームです。" msgid "" -"MP4 使用锁定的官方 FFmpeg 8.1.3 LGPL 精简共享库,支持 H.264、MPEG-4 Part 2、 HEVC 视频及 AAC、MP3" -" 音轨;音频最多 8 声道,转换为 48 kHz 立体声。 无音轨的视频使用单调时钟播放,不需要打开音频设备。含音轨的视频按音频设备 " -"已经播放的帧同步画面,定位会刷新解码器并丢弃关键帧到目标位置之间的预解码数据。 不支持的编码、损坏文件和解码失败会报告错误。" +"MP4 使用锁定的官方 FFmpeg 8.1.3 LGPL 精简共享库,支持 H.264、MPEG-4 Part 2、 HEVC 视频及 " +"AAC、MP3 音轨;音频最多 8 声道,转换为 48 kHz 立体声。 无音轨的视频使用单调时钟播放,不需要打开音频设备。含音轨的视频按音频设备" +" 已经播放的帧同步画面,定位会刷新解码器并丢弃关键帧到目标位置之间的预解码数据。 不支持的编码、损坏文件和解码失败会报告错误。" msgstr "" "MP4 は固定した公式 FFmpeg 8.1.3 LGPL の縮小共有ライブラリを使い、H.264、MPEG-4 Part 2、HEVC 動画と " "AAC、MP3 音声に対応します。音声は最大 8 チャンネルから 48 kHz " @@ -92,17 +94,10 @@ msgstr "" "ピクセルです(縦画面は辺を交換可能)。ハードウェア支援、HDR " "トーンマッピング、字幕、複数音声トラック選択はなく、高解像度の滑らかさは仮想マシン性能に依存します。" -msgid "" -"``make fetch`` 下载锁定源码,``upstream-ffmpeg`` 离线构建五个解码共享库。 播放器启用时,运行库及 LGPL 许可证随" -" ``reliefos-media-codecs`` APK 一起进入镜像; 开发头文件留在独立构建目录。库名及 SONAME 带有 " -"``-reliefplayer`` 后缀, 可以与 Alpine 的完整 FFmpeg/VLC 依赖共存。FFmpeg " -"不构建命令行程序、网络协议或外部编码器。" +msgid "播放器通过 pacman 依赖 Arch 官方 FFmpeg 软件包。FFmpeg 的共享库和许可证由该软件包交付。" msgstr "" -"``make fetch`` で固定ソースを取得し、``upstream-ffmpeg`` が 5 " -"個の復号共有ライブラリをオフラインビルドします。プレーヤー有効時は実行時ライブラリと LGPL ライセンスを ``reliefos-media-" -"codecs`` APK でイメージに含め、開発ヘッダーは独立ビルド先に残します。ライブラリ名と SONAME に ``-reliefplayer`` " -"を付け、Alpine の完全な FFmpeg/VLC 依存関係と共存できます。FFmpeg " -"のコマンドラインプログラム、ネットワークプロトコル、外部エンコーダーはビルドしません。" +"プレーヤーは pacman を通じて公式 Arch の FFmpeg パッケージに依存します。同パッケージが FFmpeg " +"の共有ライブラリとライセンスを提供します。" msgid "" "解码、文件读取和音频写入由独立子进程执行,GUI 通过非阻塞管道控制。 视频通过有界共享内存发布 RGB 快照,GUI " diff --git a/Documentation/locale/ja/LC_MESSAGES/applications/system-tools.po b/Documentation/locale/ja/LC_MESSAGES/applications/system-tools.po index 7b4783c9..fe5e52ac 100644 --- a/Documentation/locale/ja/LC_MESSAGES/applications/system-tools.po +++ b/Documentation/locale/ja/LC_MESSAGES/applications/system-tools.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS 5.3.2\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-11-14 15:19+0800\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0800\n" "Last-Translator: ReliefOS translation contributors\n" "Language: ja\n" @@ -117,13 +117,11 @@ msgid "其他程序" msgstr "その他のプログラム" msgid "" -"系统还提供 ReliefAPK、图像查看、绘画、扫雷、系统信息及游戏入口。 组件选择决定它们是否安装,菜单入口不表示程序永远存在。 " -"ReliefOS Browser 应用的系统主页为 ``about:reliefos``;X11 默认浏览器为 NetSurf。 " +"系统还提供 ReliefPackages、图像查看、绘画、扫雷、系统信息及游戏入口。 组件选择决定它们是否安装,菜单入口不表示程序永远存在。 " "``driverinfo`` 是控制台驱动信息工具,默认显示已激活/Loaded,``-a`` 显示全部状态; " "以实际设备和驱动状态为准,不把设备枚举等同于成功驱动。 控制台工具与外来软件不需要自研应用桌面图标。" msgstr "" -"システムは " -"ReliefAPK、画像表示、ペイント、マインスイーパー、システム情報、ゲームの項目も提供します。インストールの有無はコンポーネント選択で決まり、メニュー項目は常時存在の保証ではありません。ReliefOS" -" Browser のシステムホームページは ``about:reliefos``、X11 の既定ブラウザーは NetSurf " -"です。``driverinfo`` はコンソールのドライバー情報ツールで、既定では有効/Loaded、``-a`` " -"では全状態を表示します。実際のデバイスとドライバー状態に従い、列挙を駆動成功と同一視しないでください。コンソールツールと外部ソフトウェアに独自アプリ用のデスクトップアイコンは不要です。" +"ReliefOS は " +"ReliefPackages、画像ビューアー、ペイント、マインスイーパー、システム情報、ゲームも提供します。利用できる項目はインストール済みパッケージに従います。コンソールの" +" ``driverinfo`` は既定で稼働中のドライバーを表示し、``-a`` " +"で全状態を表示します。実際のデバイスとドライバーの状態を確認してください。コンソールや外部アプリには、各パッケージに付属するアイコンを使用できます。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/building.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/building.po index e3d1f715..dfaef3a1 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/building.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/building.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-14 15:19+0800\n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" "Language: ja\n" @@ -17,69 +17,601 @@ msgstr "" msgid "从源码构建" msgstr "ソースからのビルド" -msgid "宿主条件" -msgstr "ホスト環境の要件" +msgid "宿主与隔离构建根" +msgstr "ホストと隔離ビルド環境" msgid "" -"使用 Linux/WSL、GNU Make 4.3+ 和仓库指定的 Clang/LLVM 工具链。 Clang 必须包含 x86_64 " -"compiler-rt builtins。典型 Debian/Ubuntu 依赖为::" +"在 x86_64 Linux 上可以通过本地 Docker 构建,无需在宿主安装 pacman、Arch 包或 编译器。宿主需要 Bash、Git" +" 2.31+、GNU Make 4.3+、coreutils、awk、sed 和 util-linux(``flock``),以及可通过 Unix" +" socket 访问的 Docker Engine 25+。 例如 Debian 13 可安装 ``docker.io git " +"make``;先按宿主发行版的说明配置 Docker。以普通用户执行,不要使用 ``sudo make``。Docker daemon " +"对其使用者授予高权限, 仅使用受信任的本地 daemon;目前不支持远端、rootless 或 userns-remap 模式。 源码和 " +"``O`` 路径沿用 Kbuild 的字符限制,不支持空格。" msgstr "" -"Linux/WSL、GNU Make 4.3 以降、およびリポジトリ指定の Clang/LLVM ツールチェーンを使用します。Clang には " -"x86_64 用 compiler-rt builtins が必要です。Debian/Ubuntu での代表的な依存パッケージは次のとおりです::" +"x86_64 Linux ではローカル Docker を使ってビルドでき、ホストに pacman、Arch " +"パッケージ、コンパイラを入れる必要はありません。ホストには Bash、Git 2.31 以降、GNU Make 4.3 " +"以降、coreutils、awk、sed、util-linux(``flock``)、Unix ソケット経由で接続できる Docker " +"Engine 25 以降が必要です。例えば Debian 13 では ``docker.io git make`` " +"をインストールし、ホストのディストリビューションの手順に従って Docker を設定します。一般ユーザーで実行し、``sudo make`` " +"は使わないでください。Docker " +"デーモンは利用者に強い権限を与えるため、信頼できるローカルデーモンだけを使ってください。リモート、rootless、userns-remap " +"モードには現在対応していません。ソースと ``O`` のパスには Kbuild の文字制約が適用され、空白は使えません。" + +msgid "在仓库根目录依次运行::" +msgstr "リポジトリのルートで順番に実行します::" + +msgid "" +"``doctor`` 只检查宿主条件,不下载、不创建输出;``make -n`` 可预览入口。 ``fetch`` 使用摘要固定的官方 Arch " +"基础镜像和 pacman 签名验证准备工具链, 并下载校验 ReliefNT、paru 和 st 锁定的源码与依赖。Arch " +"软件仓库滚动更新;固定的是基础镜像, 不是每次初次获取时的软件仓库快照。" +msgstr "" +"``doctor`` はホストの前提条件だけを確認し、ダウンロードや出力の作成は行いません。入口の処理は ``make -n`` " +"で確認できます。``fetch`` はダイジェストを固定した公式 Arch ベースイメージを使用し、pacman " +"の署名検証を通じてツールチェーンを準備します。ReliefNT、paru、st " +"の固定入力も取得して検証します。固定されているのはベースイメージであり、初回取得時に使う Arch " +"のパッケージリポジトリはローリング更新されます。" + +msgid "" +"``make fetch`` 默认从官方 Docker Hub(``docker.io``)拉取 Arch 基础镜像。 如需使用 1ms " +"镜像站,将上面的 ``make fetch`` 替换为::" +msgstr "" +"``make fetch`` はデフォルトで公式 Docker Hub(``docker.io``)から Arch " +"ベースイメージを取得します。1ms ミラーを使うには、上の ``make fetch`` を次のコマンドに置き換えます::" + +msgid "" +"该参数只影响基础镜像的下载地址,两种来源使用相同的镜像摘要和软件包验签设置。 如果本地已有同一构建配方生成的镜像,``make fetch`` " +"会直接复用,不会重新拉取基础镜像。" +msgstr "" +"この指定で変わるのはベースイメージの取得先だけです。どちらも同じイメージダイジェストとパッケージ署名検証を使用します。同じレシピで作ったビルドイメージがローカルにあれば、``make" +" fetch`` はそれを再利用し、ベースイメージを再取得しません。" + +msgid "" +"``build`` 不拉镜像、不联网,先运行根 Makefile 的 ``kernel`` 目标, 再用 ``makepkg`` 构建 glibc" +" 版 ``libreliefos``、``paru``、``reliefos-filesystem``、 ``reliefos-st" +"``、``reliefos-desktop``、应用包和版本化内核包。 容器内使用调用者的 UID/GID, 源码、Git " +"元数据和容器根均为只读;下载缓存保存在 ``O/downloads/``。 默认 ``O=out/arch-" +"root/x86_64/release``,也可为这三个命令指定同一个新目录。 隔离构建和原生 Kbuild 使用各自的 ``O``。" +msgstr "" +"``build`` はイメージを取得せず、オフラインで実行します。ルート Makefile の ``kernel`` " +"ターゲットを実行した後、``makepkg`` で glibc 版の ``libreliefos``、``paru``、``reliefos-" +"filesystem``、``reliefos-st``、``reliefos-" +"desktop``、アプリ、バージョン付きカーネルを作成します。コンテナーは呼び出し元の UID と GID を使います。ソース、Git " +"メタデータとコンテナーのルートは読み取り専用で、キャッシュは ``O/downloads/`` " +"です。三つのコマンドで同じ出力先を使用してください。既定は ``O=out/arch-root/x86_64/release`` " +"です。隔離ビルドとネイティブ Kbuild は個別の出力ツリーを使います。" + +msgid "" +"``SOURCE_DATE_EPOCH`` 默认取 ReliefOS 提交时间,也可在 ``build`` 时显式 指定。它传入隔离构建根并计入 " +"ReliefNT 的模块身份,时间变化会产生新的内核 release;相同构建输入和时间可重现相同身份。" +msgstr "" +"``SOURCE_DATE_EPOCH`` の既定値は ReliefOS のコミット時刻です。``build`` " +"で明示的に指定できます。ビルド環境へ渡され、ReliefNT " +"のモジュール識別子に反映されます。時刻が変わるとカーネルリリースも変わります。同じ入力と時刻から同じ識別子を再現できます。" + +msgid "" +"输出包括 ``O/generated/system/kernel.sys``、``kernel.debug``、 ``O/kernel-" +"install/install.bundle.json`` 和 ``O/packages/arch/`` 下的 Arch 包。构建检查运行库的 " +"merged-usr 路径、ELF 依赖和 使用包内头文件与库的程序,也检查 paru 的 libalpm " +"依赖并执行包内程序。开发包在下一阶段签名,再用于装配系统。" +msgstr "" +"成果物は ``O/generated/system/kernel.sys``、``kernel.debug``、``O/kernel-" +"install/install.bundle.json`` と ``O/packages/arch/`` 以下の Arch " +"パッケージです。ランタイムの merged-usr パスと ELF 依存関係を確認し、ヘッダーとライブラリを使うプログラムを実行します。paru " +"の libalpm 依存関係と実行も確認します。開発パッケージにはシステムの組み立て前に署名します。" + +msgid "" +"内核包的开发工具可通过 ``O/host/bin/reliefos-kernel-tools arch-kernel-stage INSTALL " +"OUTPUT`` 生成 merged-usr 暂存树,输出路径须为绝对路径。工具验证 " +"``INSTALL/install.bundle.json`` 及其全部成员,按当前 release 将内核、调试信息和模块 放入 " +"``OUTPUT/usr/lib/modules//``,并生成 ``arch-kernel-stage.json`` " +"校验清单。 未指定索引工具时,输出只包含安装清单列出的文件。校验或复制失败时保留上一次发布的暂存树。" +msgstr "" +"カーネルパッケージ用の開発ツールは ``O/host/bin/reliefos-kernel-tools arch-kernel-stage " +"INSTALL OUTPUT`` で merged-usr ステージングツリーを生成します。出力パスは絶対パスにしてください。ツールは " +"``INSTALL/install.bundle.json`` とすべての構成ファイルを検証し、カーネル、デバッグ情報、モジュールを " +"``OUTPUT/usr/lib/modules//`` に配置して、チェックサムマニフェスト ``arch-kernel-" +"stage.json`` " +"を生成します。インデックスツールを指定しない場合、出力にはインストールマニフェストに記載されたファイルだけが含まれます。検証またはコピーに失敗した場合は、前回公開したステージングツリーを保持します。" + +msgid "" +"在命令末尾依次指定原生 kmod 的 ``MODINFO DEPMOD`` 路径,可验证模块名称、ABI、 加载策略和依赖关系,并生成 " +"``modules.dep``、``modules.alias``、``modules.symbols`` 及其二进制索引。平台加载清单位于该 " +"release 目录的 ``modules-load.d/reliefnt-" +"platform.conf``,清单和索引均计入校验清单。索引生成失败时 保留上一次发布的暂存树。``build`` 在隔离构建根中使用此模式。" +msgstr "" +"ネイティブ kmod の ``MODINFO DEPMOD`` " +"パスを末尾に指定すると、モジュール名、ABI、読み込みポリシー、依存関係を確認し、``modules.dep``、``modules.alias``、``modules.symbols``" +" とバイナリ索引を生成します。リリース別の一覧は ``modules-load.d/reliefnt-platform.conf`` " +"です。一覧と索引はチェックサムの対象です。索引の生成に失敗した場合は前回のステージングを保持します。隔離環境の ``build`` " +"はこのモードを使います。" + +msgid "" +"``reliefos-boot`` 安装官方 ``systemd-modules-load.service`` 的 drop-in,在标准扫描前 " +"通过 ``%v`` 读取运行内核的 release,将对应平台清单链接到 ``/run/modules-load.d/reliefnt-" +"platform.conf``。升级后回退旧内核时仍使用旧版清单。 清单缺失或为空时可继续标准扫描。同名配置在 ``/etc/modules-" +"load.d``、 ``/run/modules-load.d``、``/usr/local/lib/modules-load.d`` 或 " +"``/usr/lib/modules-load.d`` 中存在时优先,包含 ``/dev/null`` " +"屏蔽链接。准备步骤支持重复执行,失败会使服务报告失败。" +msgstr "" +"``reliefos-boot`` は公式の ``systemd-modules-load.service`` に drop-in " +"をインストールします。標準の走査に先立ち、``%v`` で実行中カーネルの release を読み、対応するプラットフォーム一覧を ``/run" +"/modules-load.d/reliefnt-platform.conf`` " +"にリンクします。更新後に旧カーネルへ戻した場合も、その旧版の一覧を使用します。一覧が存在しない場合や空の場合は標準の走査を続行できます。``/etc" +"/modules-load.d``、``/run/modules-load.d``、``/usr/local/lib/modules-" +"load.d``、``/usr/lib/modules-load.d`` に同名の設定が存在する場合は優先され、``/dev/null`` " +"へのマスク用リンクも対象です。準備処理は繰り返し実行でき、失敗時はサービスが失敗を報告します。" + +msgid "" +"``build`` 将经过验证的内核文件打包到 ``/usr/lib/modules//``,包名包含 release " +"和完整模块 ABI。不同身份的内核包可并存。包文件保存在 ``O/packages/arch/``, ``reliefos-kernel-" +"current`` 依次记录版本化内核包和固定名称 ``reliefos-kernel`` 更新包的 " +"文件名。更新包精确依赖本次构建的内核包,升级时已安装的旧内核包保留。默认更新包版本 为 ``1.-1``,序号取 " +"ReliefOS 提交的第一父提交链长度;浅克隆须通过 ``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` " +"指定正整数序号。序号须随发布递增,同一包身份 已有不同内容时构建失败。" +msgstr "" +"``build`` は検証済みカーネルを ``/usr/lib/modules//`` " +"にパッケージ化します。パッケージ名にはリリースと完全なモジュール ABI が含まれ、複数のカーネルを併存できます。アーカイブは " +"``O/packages/arch/`` 以下です。``reliefos-kernel-current`` " +"はバージョン付きパッケージと固定名の更新パッケージ ``reliefos-kernel`` " +"を順に記録します。更新パッケージの依存先はこの厳密な版で、以前のカーネルも保持します。既定の更新版は ``1.-1`` " +"で、連番は first-parent のコミット数です。浅いチェックアウトで公開する際は正の " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` " +"を指定します。公開ごとに連番を増やしてください。同じパッケージ識別子で内容が異なる場合はビルドに失敗します。" + +msgid "" +"``reliefos-kernel`` 安装 ``/usr/lib/reliefos/kernel/current-release``,其中记录 " +"该更新包所依赖内核的 release,供启动载荷生成使用。升级更新包会替换此记录, 已安装的版本化内核包继续保留。" +msgstr "" +"``reliefos-kernel`` は、起動ペイロードの生成に使う依存カーネルの release を " +"``/usr/lib/reliefos/kernel/current-release`` " +"に記録します。更新パッケージの更新時にこの記録は置き換わり、インストール済みのバージョン付きカーネルパッケージは保持されます。" + +msgid "" +"``build`` 还构建 ``reliefos-boot``,并以 ``reliefos-boot-current`` 记录当前包名。 " +"该包的版本使用上述构建序号,testing RPR 签名发布后由 pacman 安装和更新。发布时拒绝 " +"相同版本不同内容或低于当前快照的版本。根文件系统装配会安装该包并验证一次真实的 initramfs 生成,临时验证产物不进入归档。" +msgstr "" +"``build`` は ``reliefos-boot`` も作成し、ファイル名を ``reliefos-boot-current`` " +"に記録します。先述のビルド連番を使い、テスト用 RPR への署名後に pacman " +"でインストールと更新を行います。同じバージョンで内容が異なる場合や現行スナップショットより古い場合は公開を拒否します。ルートファイルシステムの組み立てではこのパッケージをインストールし、実際に" +" initramfs を生成して確認します。一時的な検査用成果物はアーカイブから除きます。" + +msgid "" +"``libreliefos`` 包的发行号使用 ``1.``,``libreliefos-current`` 记录当前包名。 " +"``reliefos-boot`` 中的 ``/usr/libexec/reliefos/kernel-bundle`` 使用 " +"glibc,并声明本次 构建运行库的最低版本依赖。发布 testing RPR 时检查包架构和运行库依赖,拒绝运行库 " +"版本回退或同一版本的不同内容。" +msgstr "" +"``libreliefos`` パッケージのリリース番号には ``1.`` を使用し、現在のファイル名を " +"``libreliefos-current`` に記録します。``reliefos-boot`` の " +"``/usr/libexec/reliefos/kernel-bundle`` は glibc " +"を使用し、同時にビルドしたランタイムへの最小バージョン依存を宣言します。testing RPR " +"の公開時にパッケージのアーキテクチャとランタイム依存を検査し、ランタイムのバージョン後退と同一バージョンで異なる内容を拒否します。" + +msgid "" +"安装系统后,可运行 ``reliefos-mkinitramfs /usr/lib/modules/ " +"/boot/initramfs-.img`` 为指定内核生成未压缩的通用 initramfs。命令核对内核包的文件归属、完整性和" +" initramfs 配置,使用该 release 的配置和模块目录调用 dracut,并检查归档和 ``init``。成功时在 " +"目标目录原子替换输出,失败时保留原有文件。" +msgstr "" +"インストール後に ``reliefos-mkinitramfs /usr/lib/modules/ " +"/boot/initramfs-.img`` を実行すると、指定したカーネル用の非圧縮の汎用 initramfs " +"を生成できます。このコマンドはカーネルパッケージのファイル所有権、完全性、initramfs 設定を確認し、その release " +"の設定とモジュールディレクトリを使って dracut を実行し、アーカイブと ``init`` " +"を検査します。成功時は出力先ディレクトリで出力をアトミックに置き換え、失敗時は既存ファイルを保持します。" + +msgid "dracut 对支持文件名填充的内核启用增强 CPIO。重建早期内核的启动归档时使用普通 CPIO。" +msgstr "dracut はファイル名のパディングに対応するカーネルで拡張 CPIO を使用します。以前のカーネル用アーカイブを再生成する際は標準の CPIO を使用します。" + +msgid "" +"未显式设置 ``TMPDIR`` 且 ``/run`` 为至少剩余 128 MiB 的 tmpfs 时, dracut " +"在该内存文件系统中暂存目录树。最终归档仍写入目标文件系统, 归档内容和原子发布规则不变;其他情况沿用 dracut 的暂存目录设置。" +msgstr "" +"``TMPDIR`` が明示的に設定されておらず、``/run`` が空き 128 MiB 以上の tmpfs である場合、dracut " +"はメモリ上でツリーを準備します。最終アーカイブは引き続き出力先のファイルシステムに書かれ、内容とアトミックな公開方法は変わりません。それ以外の場合、dracut" +" の作業ディレクトリ設定を使用します。" + +msgid "" +"运行 ``reliefos-mkbundle /usr/lib/modules/ /path/to/new-bundle`` " +"可从已安装的 版本化内核包生成经过校验的启动载荷。命令核验 pacman 的文件归属和完整性,并以包所 拥有的模块文件副本运行 " +"dracut,再生成校验清单和初始启动记录。载荷目录必须尚不存在, 生成失败保留原有目标。构建后的载荷可由 ``reliefos-kernel-" +"bundle --inspect`` 检查。" +msgstr "" +"``reliefos-mkbundle /usr/lib/modules/ /path/to/new-bundle`` " +"を実行すると、インストール済みのバージョン付きカーネルパッケージから検証済みの起動ペイロードを生成できます。このコマンドは pacman " +"のファイル所有権と完全性を確認し、パッケージ所有のモジュールファイルのコピーで dracut " +"を実行して、チェックサム一覧と初期起動記録を生成します。ペイロードディレクトリは既存であってはなりません。生成に失敗しても既存の出力先は保持されます。生成したペイロードは" +" ``reliefos-kernel-bundle --inspect`` で確認できます。" + +msgid "" +"运行 ``reliefos-mkbundle --persist /usr/lib/modules/ /`` 可将完整载荷保存到" +" 根文件系统的 ``/.reliefos/kernel-bundles//``。载荷目录 " +"必须位于根文件系统,存储路径不得包含符号链接。并发发布通过锁协调,重复生成会校验并 复用一致载荷,内容冲突或生成失败时保留已有载荷。pacman " +"更新钩子通过 ``reliefos-boot-update`` 调用该入口。" +msgstr "" +"``reliefos-mkbundle --persist /usr/lib/modules/ /`` " +"を実行すると、完全なペイロードをルートファイルシステム上の ``/.reliefos/kernel-bundles//`` " +"に保存できます。ディレクトリはルートファイルシステム上に置き、パスにシンボリックリンクを含めないでください。並行公開はロックで調整します。再生成時は一致するペイロードを検証して再利用し、内容の競合や生成失敗時には既存のペイロードを保持します。pacman" +" 更新フックは ``reliefos-boot-update`` 経由でこの入口を呼び出します。" + +msgid "在命令开头添加 ``--print-path`` 时,标准输出仅包含生成的载荷绝对路径,生成日志写入 标准错误,便于后续启动事务使用该路径。" +msgstr "" +"コマンドの先頭に ``--print-path`` " +"を追加すると、生成されたペイロードの絶対パスだけを標準出力に出力します。生成ログは標準エラーに出力され、後続の起動トランザクションでパスを使用できます。" + +msgid "" +"``reliefos-boot-update / /boot`` 读取已安装的内核 release,检查独立挂载的启动分区, " +"生成持久载荷并按待发布文件检查可用空间,然后启用启动确认服务并发布双槽候选。 " +"事务通过锁串行执行,已有一致的启动文件可用于重试。执行阶段和失败退出码保存在 ``/var/lib/reliefos/boot-" +"update/status``,可用 ``reliefos-boot-update --status /`` 查询。 " +"修复失败原因后可再次运行更新命令。pacman 或 paru 安装、升级 ``reliefos-kernel`` 后会自动运行该事务。钩子失败时 " +"pacman 可能仍返回成功,须检查上述状态。" +msgstr "" +"``reliefos-boot-update / /boot`` はインストール済みカーネルの release " +"を読み、独立してマウントされた起動ファイルシステムを確認し、永続ペイロードを生成します。未公開ファイルに必要な空き容量を確認し、起動確認サービスを有効化して、デュアルスロットの候補を公開します。ロックでトランザクションを直列化し、再試行時には一致する既存の起動ファイルを再利用します。実行段階と失敗時の終了コードは" +" ``/var/lib/reliefos/boot-update/status`` に保存され、``reliefos-boot-update " +"--status /`` で確認できます。失敗の原因を修正してから更新コマンドを再実行できます。pacman または paru で " +"``reliefos-kernel`` をインストールまたはアップグレードすると、このトランザクションが自動的に実行されます。フックが失敗しても " +"pacman は成功を返す場合があるため、上記の状態を確認してください。" + +msgid "" +"旧内核通过独立事务清理。先执行 ``reliefos-kernel-prune --dry-run / /boot`` 查看候选包,再执行 " +"``reliefos-kernel-prune / /boot`` 确认删除。 ``--noconfirm`` " +"可用于已经确认候选的自动化流程。命令保护运行内核、已安装更新包 所指的内核、最后确认启动的版本,以及全部有效启动槽引用的版本和完整模块 ABI。 " +"缺少可信确认记录或保护版本的包归属不完整时,清理失败。" +msgstr "" +"古いカーネルは独立したトランザクションで削除します。まず ``reliefos-kernel-prune --dry-run / /boot`` " +"で候補を確認し、``reliefos-kernel-prune / /boot`` で削除を承認します。候補を事前承認した自動処理では " +"``--noconfirm`` " +"を使用できます。実行中のカーネル、インストール済み更新パッケージが指定するカーネル、最後に起動確認された版、およびすべての有効な起動スロットが参照する版と完全なモジュール" +" ABI を保護します。信頼できる確認記録がない場合や保護対象のパッケージ所有情報が不完全な場合は失敗します。" + +msgid "" +"清理与启动发布使用同一把锁,并在 pacman 持有数据库锁的 PreTransaction 阶段再次 " +"核对保护集合。额外的临时钩子保留系统及管理员配置的正常钩子,结束后删除。 删除以版本化包的完整文件清单为范围,保留其他模块、持久启动载荷及 ESP" +" 启动文件。 遇到数据库锁或中途失败后可重试,升级钩子只负责生成和发布启动文件。" +msgstr "" +"削除と起動公開は同じロックを使用し、pacman がデータベースロックを保持する PreTransaction " +"段階で保護対象を再確認します。追加の一時フックはシステムと管理者設定の通常フックを保持し、終了後に削除されます。版別パッケージのファイル一覧に従って削除し、他のモジュール、永続起動ペイロード、ESP" +" の起動ファイルを保持します。データベースロックや途中失敗後は再試行できます。更新フックは起動ファイルの生成と公開を行います。" + +msgid "pacman 安装钩子可以重新生成模块索引。载荷使用包拥有的模块副本重新生成索引, 因此本机额外安装的模块不会进入载荷。" +msgstr "" +"pacman " +"のインストールフックはモジュール索引を再生成することがあります。ペイロードはパッケージ所有のモジュールのコピーから索引を再生成するため、ローカルに追加されたモジュールは含まれません。" + +msgid "" +"已有内核载荷校验器和双槽发布器支持清单使用 ``lib/modules//`` 或 " +"``usr/lib/modules//``,同一清单不能混用两种路径。校验按清单中的实际路径 访问文件,merged-usr " +"系统可保留 ``/lib`` 指向 ``usr/lib`` 的符号链接。" +msgstr "" +"既存のカーネルペイロード検証器とデュアルスロット発行器は、マニフェスト内の ``lib/modules//`` または " +"``usr/lib/modules//`` " +"に対応します。同一のマニフェストで両方のパスを混在させることはできません。検証はマニフェスト中の実際のパスでファイルにアクセスするため" +"、merged-usr システムでは ``/lib`` から ``usr/lib`` へのシンボリックリンクを維持できます。" + +msgid "" +"启动事务可调用 ``reliefos-boot-preflight /boot `` 检查启动目录本身是否 " +"为挂载点、挂载是否可写及可用空间是否满足给定的字节数。调用方负责计算事务所需空间。 检查使用临时文件验证实际写入,失败时保留已有启动文件。" +msgstr "" +"起動トランザクションは ``reliefos-boot-preflight /boot `` " +"を実行し、起動ディレクトリ自体がマウントポイントであること、書き込み可能であること、および指定したバイト数の空き容量があることを確認できます。必要な容量は呼び出し側が計算します。一時ファイルに実際に書き込み、失敗しても既存の起動ファイルを保持します。" + +msgid "签名 testing RPR" +msgstr "署名付き testing RPR" + +msgid "" +"运行 ``make build`` 后,用同一个 ``O`` 生成 testing pacman 仓库。宿主需要 ``gpg`` 和 " +"``gpgv``。使用源码树和输出目录之外、由当前用户持有的 0700 GnuPG 目录,以及预先选定的签名主密钥完整指纹::" +msgstr "" +"``make build`` の後、同じ ``O`` でテスト用 pacman リポジトリを作成します。ホストには ``gpg`` と " +"``gpgv`` が必要です。ソースと出力の外にある、現在のユーザー所有でモード 0700 の GnuPG " +"ディレクトリと、選択した署名主鍵の完全な指紋を使用します::" msgid "" -"HTML 文档另需 Sphinx,见 :doc:`../process/documentation`。Sphinx 仅服务文档; " -"内核和用户态生产编译不因此改用 Python、Meson 或 Ninja。" +"签名在宿主完成,私钥不进入构建容器。命令将包、数据库、分离签名、公开密钥和 校验和写到 ``O/rpr-" +"testing//``;签名验证通过后才发布完整的本地快照, 本地构建不会上传快照。上线时先完整上传快照,再切换客户端 使用的" +" URL,不能逐件覆盖正在服务的快照。" msgstr "" -"HTML ドキュメントには Sphinx も必要です。:doc:`../process/documentation` " -"を参照してください。Sphinx はドキュメント専用であり、カーネルやユーザー空間の本番ビルドを Python、Meson、Ninja " -"に切り替えるものではありません。" +"署名はホストで行い、秘密鍵はビルドコンテナーの外に置きます。パッケージ、データベース、分離署名、公開鍵、チェックサムを ``O/rpr-" +"testing//`` に保存し、検証後に完全なローカルスナップショットを発行します。クライアントの URL " +"を切り替える前に、スナップショット全体をアップロードします。" msgid "" -"``make test-build`` 中的播放器宿主检查另需 ``ffmpeg``、``libavformat-dev``、 " -"``libavcodec-dev``、``libavutil-dev``、``libswresample-dev`` 和 " -"``libswscale-dev``。 这些是宿主检查依赖;生产播放器使用锁定源码构建的 musl 库。 自启动的宿主检查另需 " -"``libglib2.0-dev``;生产程序使用锁定 APK 提供的目标 GIO 库和头文件。 可通过 " -"``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh tests/build/test-" -"reliefplayer-mp4.sh`` 在 Linux 宿主上同时运行实际精简库和 musl 版本的解码/控制检查;这不等于来宾播放验证。" +"testing RPR 收录当前版本化内核包、固定名称的更新包,以及 ``reliefos-desktop``、 ``reliefos-st`` " +"等本地构建包。每个签名主密钥在同一个 ``O`` 下通过 ``rpr-testing/current-<完整大写指纹>`` " +"维护本地快照历史。发布后续 快照时保留历史内核包并重新签名。更新包版本不得回退,同一更新包版本和同一内核 " +"身份的内容必须一致。发布失败时保留原历史指针。更换 ``O`` 会开始新的本地历史, 除非迁移已有历史;更换签名主密钥会开始新的本地历史。" msgstr "" -"``make test-build`` のプレーヤー用ホストチェックには、``ffmpeg``、``libavformat-dev" -"``、``libavcodec-dev``、``libavutil-dev``、``libswresample-dev" -"``、``libswscale-dev`` " -"も必要です。これらはホストチェックの依存パッケージです。本番のプレーヤーは、固定したソースからビルドした musl " -"用ライブラリを使用します。自動起動のホストチェックには ``libglib2.0-dev`` も必要です。本番のプログラムは、固定した APK " -"が提供するターゲット用の GIO ライブラリとヘッダーを使用します。Linux ホスト上で " -"``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh tests/build/test-" -"reliefplayer-mp4.sh`` を実行すると、実際の縮小版ライブラリと musl " -"版の両方についてデコードと操作を検査できます。これはゲストでの再生検証を意味しません。" +"testing RPR は現在のバージョン付きカーネルパッケージ、固定名の更新パッケージ、および ``reliefos-desktop" +"``、``reliefos-st`` などのローカルビルドパッケージを収録します。署名用の各主鍵は、同じ ``O`` 内の ``rpr-" +"testing/current-<完全な大文字フィンガープリント>`` " +"でローカルスナップショット履歴を管理します。後続のスナップショット公開時には過去のカーネルパッケージを保持し、再署名します。更新パッケージのバージョンを後退させてはいけません。同じ更新パッケージバージョンと同じカーネル識別情報には、同一内容が必要です。公開失敗時は以前の履歴ポインターを保持します。既存履歴を移行せずに" +" ``O`` を変更すると、新しいローカル履歴が始まります。署名主鍵の変更でも新しいローカル履歴が始まります。" -msgid "构建顺序" -msgstr "ビルドの順序" +msgid "" +"客户端必须先通过独立可信渠道取得发布者的完整指纹。在 Arch 测试环境中,可用 ``bash tools/build/arch-rpr-" +"trust.sh PUBLIC_KEY FINGERPRINT PACMAN_GPGDIR`` 初始化一个 新的 pacman 信任目录。已签名的" +" ``reliefos-testing-keyring`` 包保存公开信任数据, 不能替代首次指纹核验。让 ``[rpr]`` " +"指向所选快照,仓库使用 ``SigLevel = Required TrustedOnly``;testing 环境之外使用 " +"HTTPS。此入口不配置 系统 pacman,也不安装或切换系统组件。" +msgstr "" +"クライアントは、配布元の完全なフィンガープリントを事前に独立した信頼できる経路で取得してください。 Arch のテスト環境では、``bash " +"tools/build/arch-rpr-trust.sh PUBLIC_KEY FINGERPRINT PACMAN_GPGDIR`` で新しい" +" pacman の信頼ディレクトリを初期化できます。署名済みの ``reliefos-testing-keyring`` " +"パッケージには公開の信頼情報が含まれますが、初回のフィンガープリント照合の代わりにはなりません。 ``[rpr]`` " +"の参照先を対象のスナップショットに設定し、リポジトリには ``SigLevel = Required TrustedOnly`` " +"を指定します。テスト環境以外では HTTPS を使用してください。 この手順でシステムの pacman " +"の設定や、システムコンポーネントの導入・切り替えは行いません。" + +msgid "" +"``reliefos-filesystem`` 依赖官方 Arch ``filesystem`` 和 ``systemd``,提供系统标识及 " +"普通物理有线接口的默认配置。``/etc/os-release`` 通过相对符号链接指向 ``/usr/lib/reliefos/os-" +"release``。有效标识为 ``ID=reliefos``、``ID_LIKE=arch``, ``VERSION_ID`` 与 " +"ReliefOS 版本一致。Arch ``filesystem`` 保持 merged-usr 布局、 ``/usr/lib/os-" +"release`` 和 ``/etc/resolv.conf`` 的包归属。" +msgstr "" +"``reliefos-filesystem`` は Arch 公式の ``filesystem`` と ``systemd`` " +"に依存し、システム識別情報と通常の物理有線インターフェースの既定設定を提供します。``/etc/os-release`` は " +"``/usr/lib/reliefos/os-release`` を指す相対シンボリックリンクです。識別情報は ``ID=reliefos`` と" +" ``ID_LIKE=arch`` で、``VERSION_ID`` は ReliefOS のバージョンと一致します。merged-usr " +"構成、``/usr/lib/os-release``、``/etc/resolv.conf`` の所有権は Arch の " +"``filesystem`` が保持します。" + +msgid "" +"paru 从上游固定提交构建,依赖使用上游 ``Cargo.lock``;不从 AUR 获取 paru 的构建脚本 或二进制。通过 testing" +" RPR 安装 ``paru``,之后用 ``pacman -Syu`` 同其他系统包一起更新。 升级时保留修改过的 " +"``/etc/paru.conf``。运行 paru 和构建 AUR 包应使用普通用户, 准备好 ``base-devel``,仅为实际的 " +"pacman 安装事务授权。RPR 的签名不为 AUR 内容背书; 运行第三方构建脚本之前仍需审查其源码和构建指令。" +msgstr "" +"paru は上流の固定コミットから、上流の ``Cargo.lock`` を使用してビルドします。ビルドレシピやバイナリを AUR " +"から取得することはありません。testing RPR から ``paru`` をインストールし、以後は他のシステムパッケージと一緒に " +"``pacman -Syu`` で更新してください。更新時には ``/etc/paru.conf`` のローカル変更を保持します。``base-" +"devel`` を用意し、paru の実行と AUR パッケージのビルドは一般ユーザーで行ってください。権限を付与するのは実際の pacman " +"インストール処理だけです。RPR の署名は AUR の内容を保証しません。第三者のビルドレシピを実行する前にソースとビルド手順を確認してください。" + +msgid "装配 Arch/systemd 根文件系统" +msgstr "Arch/systemd ルートファイルシステムの組み立て" + +msgid "用同一个 ``O`` 下已签名的 testing 快照和独立核验的签名主密钥指纹运行::" +msgstr "同じ ``O`` 内の署名済み testing スナップショットと、別の信頼できる経路で確認した署名主鍵のフィンガープリントを指定して実行します::" + +msgid "" +"开发用 ``rootfs`` 显式联网,在独立的 Arch 容器中从空包数据库安装官方 ``base``、 systemd、D-Bus " +"broker、dracut 和 testing RPR 的 ReliefOS 包,包括 ``reliefos-kernel`` " +"及其精确依赖的版本化内核包。官方安装钩子在容器内运行,任一事务或钩子失败都会阻止发布。" +msgstr "" +"開発用の ``rootfs`` は独立した Arch コンテナーで明示的にネットワークを使用します。空のパッケージデータベースに、公式の " +"``base``、systemd、D-Bus broker、dracut とテスト用 RPR の ReliefOS パッケージを入れます" +"。``reliefos-kernel`` " +"と厳密に一致するバージョン付き依存先も含まれます。公式のフックはコンテナー内で実行し、トランザクションやフックが失敗した場合は成果物の発行を中止します。" + +msgid "" +"``ARCH_DESKTOP`` 选择开发根文件系统的桌面配置,输出均保存在 ``O/arch-rootfs/``。 在上述命令末尾添加 " +"``ARCH_DESKTOP=xfce`` 或 ``ARCH_DESKTOP=console`` 可选择对应配置。" +msgstr "" +"``ARCH_DESKTOP`` は開発用ルートファイルシステムのデスクトップ構成を選択します。出力はすべて ``O/arch-rootfs/``" +" に保存します。上記コマンドの末尾に ``ARCH_DESKTOP=xfce`` または ``ARCH_DESKTOP=console`` " +"を追加すると、対応する構成を選択できます。" + +msgid "" +"``icewm`` 为默认值,安装 ``reliefos-desktop``、``reliefos-st`` 及官方 XDM、Xorg、IceWM" +" 依赖, 输出 ``reliefos-systemd-rootfs.tar.zst``。" +msgstr "" +"``icewm`` が既定値です。``reliefos-desktop``、``reliefos-st`` と公式の XDM、Xorg、IceWM" +" 依存関係をインストールし、``reliefos-systemd-rootfs.tar.zst`` を出力します。" + +msgid "" +"``xfce`` 为实验选项,另装官方 Xfce 会话、窗口管理器、面板、桌面和 Thunar 等包, 输出 ``reliefos-" +"systemd-rootfs-xfce.tar.zst``。" +msgstr "" +"``xfce`` は実験的な選択肢です。公式の Xfce セッション、ウィンドウマネージャー、パネル、デスクトップ、Thunar " +"などを追加でインストールし、``reliefos-systemd-rootfs-xfce.tar.zst`` を出力します。" + +msgid "" +"``console`` 使用 ``multi-user.target``,输出 ``reliefos-systemd-rootfs-" +"console.tar.zst``。" +msgstr "" +"``console`` は ``multi-user.target`` を使用し、``reliefos-systemd-rootfs-" +"console.tar.zst`` を出力します。" + +msgid "" +"图形配置启用官方 ``xdm.service`` 和 ``graphical.target``,XDM 使用官方 PAM 配置。 ReliefOS" +" 的 XDM 覆盖配置、会话选择和 IceWM 自启动规则见 :doc:`../admin-guide/desktop`。 三种配置均用 " +"glibc ``locale-gen`` 生成 en_US、zh_CN 和 ja_JP 的 UTF-8 区域数据, 初始 " +"``/etc/locale.conf`` 为 ``LANG=en_US.UTF-8``,详见 :doc:`../userspace-" +"api/locale`。" +msgstr "" +"グラフィカル構成は公式の ``xdm.service`` と ``graphical.target`` を有効化し、XDM は公式の PAM " +"設定を使用します。ReliefOS の XDM 上書き設定、セッション選択、IceWM 自動起動規則は :doc:`../admin-" +"guide/desktop` を参照してください。3 構成とも glibc の ``locale-gen`` で " +"en_US、zh_CN、ja_JP の UTF-8 ロケールデータを生成します。初期の ``/etc/locale.conf`` は " +"``LANG=en_US.UTF-8`` です。詳細は :doc:`../userspace-api/locale` を参照してください。" + +msgid "" +"归档排除安装时的挂载、缓存、已初始化的机器 ID 和临时 pacman 信任目录。 " +"已校验的持久内核载荷进入归档,供离线磁盘装配和安装后的启动更新使用。 载荷发布锁文件在归档前删除。" +msgstr "" +"アーカイブにはインストール時のマウント、キャッシュ、初期化済みマシン ID、一時 pacman " +"信頼ディレクトリを含めません。検証済みの永続カーネルペイロードは、オフラインのディスク組み立てとインストール後の起動更新に使用するため含めます。ペイロード公開ロックファイルはアーカイブ前に削除します。" + +msgid "" +"必须用 ``RPR_SERVER_URL`` 指定目标系统使用的在线仓库地址。开发测试应指定测试服务器。目标系统的 " +"``/etc/pacman.d/reliefos-" +"rpr.conf`` 将该地址配置为 ``[rpr]``,包和数据库均须通过 可信签名验证。首次启动时 ``reliefos-pacman-" +"init.service`` 使用已安装的 Arch 和 ReliefOS 公钥初始化独立的 pacman 信任目录,后续密钥包升级会更新 " +"ReliefOS 信任数据。" +msgstr "" +"``RPR_SERVER_URL`` にインストール先システムが使うオンラインリポジトリの URL を指定してください。" +"開発テストではテストサーバーを指定します。インストール先の " +"``/etc/pacman.d/reliefos-rpr.conf`` はこの URL を ``[rpr]`` " +"に設定し、パッケージとデータベースの両方に信頼済みの署名を要求します。初回起動時に ``reliefos-pacman-" +"init.service`` がインストール済みの Arch と ReliefOS 公開鍵から専用の pacman " +"信頼ディレクトリを初期化し、それ以降の鍵パッケージ更新で ReliefOS の信頼データを更新します。" + +msgid "" +"组装时离线启用官方 ``systemd-networkd.service`` 和 ``systemd-resolved.service``。 " +"``/etc/resolv.conf`` 链接到 ``/run/systemd/resolve/stub-resolv.conf``,运行时由 " +"resolved 提供本地 DNS stub。官方 networkd 启用规则同时带入关联 socket、generator 和 wait-" +"online。" +msgstr "" +"組み立て時に公式の ``systemd-networkd.service`` と ``systemd-resolved.service`` " +"をオフラインで有効化します。``/etc/resolv.conf`` は ``/run/systemd/resolve/stub-" +"resolv.conf`` を指し、実行時には resolved がローカル DNS stub を提供します。公式の networkd " +"有効化規則により、関連する socket、generator、wait-online サービスも有効になります。" + +msgid "" +"包内 ``/usr/lib/systemd/network/89-reliefos-wired.network`` 使用 ``Kind=!*`` " +"和 ``Type=ether`` 匹配普通物理有线接口,设置 ``DHCP=yes`` 和 ``IPv6AcceptRA=yes``, 由 " +"networkd 获取 DHCP 配置并接受 IPv6 路由通告。管理员可在 ``/etc/systemd/network/89" +"-reliefos-wired.network`` 提供同名覆盖配置。" +msgstr "" +"パッケージ内の ``/usr/lib/systemd/network/89-reliefos-wired.network`` は " +"``Kind=!*`` と ``Type=ether`` で通常の物理有線インターフェースに一致します。``DHCP=yes`` と " +"``IPv6AcceptRA=yes`` を設定し、networkd が DHCP 設定を取得して IPv6 ルーター広告を受け入れます。管理者は" +" ``/etc/systemd/network/89-reliefos-wired.network`` で同名の設定を上書きできます。" + +msgid "仅验证 filesystem 包时,可使用已有 Arch 构建镜像运行轻量入口。" +msgstr "filesystem パッケージだけを検証する場合は、既存の Arch ビルドイメージで軽量エントリーポイントを実行します。" + +msgid "" +"该入口离线构建实际包,检查网络配置、依赖、同输出目录的旧包清理及失败回滚。 完整 ``--with-rootfs`` 验证还检查服务启用链接与 " +"resolver 链接。轻量入口仅使用已有镜像。 filesystem " +"新归档通过原子重命名发布后,清理该包的旧归档及签名。打包或重命名失败时保留旧产物。" +msgstr "" +"このエントリーポイントは実際のパッケージをオフラインでビルドし、ネットワーク設定、依存関係、同じ出力ディレクトリ内の旧パッケージの削除と失敗時のロールバックを検証します。完全な" +" ``--with-rootfs`` 検証では、サービスの有効化リンクと resolver " +"リンクも確認します。軽量エントリーポイントは既存のイメージを使用します。新しい filesystem " +"アーカイブをアトミックな名前変更で公開した後、このパッケージの旧アーカイブと署名を削除します。パッケージ作成や名前変更の失敗時は以前の成果物を保持します。" + +msgid "桌面和会话设置见 :doc:`../admin-guide/desktop`。" +msgstr "デスクトップおよびセッションの設定は :doc:`../admin-guide/desktop` を参照してください。" + +msgid "装配 Arch BIOS/UEFI 磁盘" +msgstr "Arch BIOS/UEFI ディスクの組み立て" + +msgid "完成同一 ``O`` 的 ``build``、签名 testing RPR 和 ``rootfs`` 后运行::" +msgstr "同じ ``O`` で ``build``、テスト用 RPR の署名、``rootfs`` を完了したら、ディスクを組み立てます::" + +msgid "" +"该入口在离线 Arch 容器内将 rootfs 解包到私有目录,保留数字 UID/GID、权限、ACL、 " +"扩展属性和包文件时间。装配前核对唯一持久内核载荷的 release 与 SHA256 清单, 复用产品的 GRUB BIOS/UEFI " +"和磁盘布局入口,输出 ``O/images/reliefos.raw`` 与 ``O/images/reliefos.vmdk``。根分区为 " +"ext4,ESP 挂载到 ``/boot``,两者通过 PARTUUID 写入 fstab。根分区预留后续内核更新及下载空间。" +msgstr "" +"この入口はオフラインの Arch コンテナ内の専用ディレクトリに rootfs を展開し、数値 " +"UID/GID、モード、ACL、拡張属性、パッケージファイル時刻を保持します。唯一の永続カーネルペイロードの release と SHA256 " +"一覧を照合し、製品の GRUB BIOS/UEFI とディスクレイアウトの入口を再利用して ``O/images/reliefos.raw`` と" +" ``O/images/reliefos.vmdk`` を生成します。ルートは ext4、ESP は ``/boot`` にマウントし、両方を " +"PARTUUID で fstab に記録します。ルートには次回のカーネル更新とダウンロード用の空きを確保します。" + +msgid "" +"离线 Arch rootfs 和在线安装目标都检查本次 pacman " +"事务是否已生成动态链接器缓存、系统用户、日志目录和硬件数据库。仅当所需钩子、生成文件和本地 hwdb 检查全部通过时,才调用官方 " +"``systemd-update-done`` 写入更新标记。证据不足时保留正常首启处理,之后的更新仍可触发对应服务。" +msgstr "" +"オフラインの Arch rootfs とオンラインインストール先の両方で、その pacman " +"トランザクションにより動的リンカキャッシュ、システムユーザー、ジャーナルカタログ、ハードウェアデータベースが生成されたかを確認します。必要なフック、生成物、ローカル" +" hwdb の条件をすべて満たす場合に限り、公式の ``systemd-update-done`` " +"で更新スタンプを書き込みます。十分な証拠がなければ通常の初回起動処理を保ち、後続の更新でも対応するサービスを起動できます。" + +msgid "" +"``fetch`` 下载并校验锁定的 GRUB 源码;``build`` 在隔离构建根中通过 根 Makefile 编译 BIOS/UEFI " +"GRUB,应用项目维护的原始磁盘嵌入及显式摘要校验补丁。" +msgstr "" +"``fetch`` は固定した GRUB ソースを取得して検証します。``build`` は隔離環境のルート Makefile から BIOS と" +" UEFI 用 GRUB をコンパイルし、ディスク埋め込みと明示的なチェックサム検証のパッチを適用します。" + +msgid "" +"``ARCH_DESKTOP=xfce`` 或 ``ARCH_DESKTOP=console`` 选择同名 rootfs 归档,默认使用 " +"IceWM。 此步骤需要预先准备好的构建镜像与归档,源码树和归档只读挂载,临时解包树在结束后删除。" +msgstr "" +"``ARCH_DESKTOP=xfce`` または ``ARCH_DESKTOP=console`` で対応する rootfs " +"アーカイブを選択します。既定は IceWM " +"です。準備済みのビルドイメージとアーカイブを使用し、ソースとアーカイブを読み取り専用でマウントします。一時展開ツリーは終了時に削除します。" + +msgid "" +"Arch 镜像和在线安装写入的 GRUB 默认项优先用内置存储驱动挂载指定 PARTUUID 的 ext4 根, 由 systemd 按 " +"fstab 挂载 ESP 和实例目录。GRUB 仍校验并加载备用 initramfs。 内核无法挂载指定根时继续使用 " +"dracut;高级菜单也可显式走 dracut 并显示完整启动状态。 默认启动在屏幕报告失败的服务,常规内核日志送到串口。" +msgstr "" +"Arch イメージとオンラインインストーラーが設定する GRUB の既定項目は、組み込みストレージドライバーを使って PARTUUID " +"で指定された ext4 ルートを優先してマウントします。systemd は fstab に従って ESP " +"とインスタンスディレクトリをマウントします。GRUB は予備の initramfs " +"も検証して読み込みます。カーネルが指定されたルートをマウントできない場合は dracut で起動を続けます。詳細メニューから dracut " +"を明示的に選び、完全な起動状態を表示することもできます。既定の起動では失敗したサービスを画面に表示し、通常のカーネルログをシリアルコンソールに送ります。" -msgid "在 ReliefOS 仓库根目录执行::" -msgstr "ReliefOS リポジトリのルートで実行します::" +msgid "完整启动检查使用每次独立的 qcow2 overlay,验证实际 ext4 根目录和引导确认::" +msgstr "完全な起動検証では毎回独立した qcow2 overlay を使用し、実際の ext4 ルートと起動確認を検証します::" msgid "" -"根 Makefile 是受支持入口。fetch 是显式联网阶段,按锁文件校验摘要; " -"内核缓存独立。普通构建缺缓存应报错,不暗中下载。第三方保留自己的上游构建系统。 源码与公开头从各自所有者导出,不从历史 build 目录补齐。" +"入口检查官方 systemd PID 1、ESP 挂载、核心服务、启动确认及包数据库,并保留串口日志 和结果。测试 VM 通过 " +"``systemd.run`` 执行附加只读 FAT 磁盘中的检查脚本。 退出时删除 overlay、FAT 和临时截屏;仅指定 " +"``--screenshot`` 时保留截图。" msgstr "" -"サポートする入口はルートの Makefile です。fetch " -"は明示的にネットワークへ接続する段階で、ロックファイルに従ってダイジェストを検証します。カーネルのキャッシュは独立しています。通常のビルドでは、キャッシュがなければエラーにし、暗黙にダウンロードしてはいけません。サードパーティーは上流のビルドシステムを維持します。ソースと公開ヘッダーはそれぞれの管理元からエクスポートし、過去の" -" build ディレクトリから補いません。" +"エントリポイントは公式 systemd の PID 1、ESP " +"マウント、主要サービス、起動確認とパッケージデータベースを検査し、シリアルログと結果を保存します。テスト VM は ``systemd.run``" +" を使い、追加の読み取り専用 FAT ディスク上の検査スクリプトを実行します。終了時には overlay、FAT " +"と一時キャプチャを削除し、``--screenshot`` が指定された場合にのみスクリーンショットを保存します。" + +msgid "两代内核升级检查复用已装配的磁盘和构建缓存,运行以下入口::" +msgstr "2 世代のカーネル更新チェックは構築済みディスクとビルドキャッシュを再利用します。次の入口を実行します::" msgid "" -"``make installer`` 使用 ``mksquashfs`` 生成 ``O/images/installer-" -"payload.squashfs``, 以 gzip 压缩并与可写的 ``installer-root.ext4`` 一起打入原路径的 " -"``O/images/reliefos-installer.iso``。此目标要求 ReliefNT 配置中保留默认的 " -"``CONFIG_SQUASHFS=y``。``CONFIG_INSTALLER_ROOT_SIZE_MIB`` 仅设置运行时 ext4 的容量 " -"下限,默认 32 MiB;构建仍根据运行时文件及预留空间自动增大该镜像。" +"该入口用一次性密钥签名两代 testing RPR,将第二代 VirtIO 块驱动配置为模块, 通过真实 HTTP 仓库执行来宾 ``pacman" +" -Syu`` 和引导钩子。BIOS 与 UEFI 分别检查 新版启动确认、模块卸载与加载及块设备读取、手动选择上一版、未确认启动后的自动回退。 " +"成功与失败启动分支从同一次已同步的升级事务创建独立 overlay。" msgstr "" -"``make installer`` は ``mksquashfs`` で gzip 圧縮の ``O/images/installer-" -"payload.squashfs`` を生成し、書き込み可能な ``installer-root.ext4`` とともに従来の " -"``O/images/reliefos-installer.iso`` に格納します。このターゲットには、ReliefNT の既定の設定 " -"``CONFIG_SQUASHFS=y`` が必要です。``CONFIG_INSTALLER_ROOT_SIZE_MIB`` は実行環境の " -"ext4 イメージの最小容量を指定します。既定値は 32 MiB " -"で、ビルドは実行環境のファイルと予備領域に合わせて必要に応じてイメージを拡大します。" +"この入口は一時鍵で 2 世代の testing RPR に署名し、第 2 世代の VirtIO ブロックドライバーをモジュールとして構成し、実際の" +" HTTP リポジトリ経由でゲストの ``pacman -Syu`` と起動フックを実行します。BIOS と UEFI " +"のそれぞれで新カーネルの起動確認、モジュールのアンロードとロードおよびブロックデバイスの読み取り、旧版の手動選択、未確認起動後の自動フォールバックを検証します。成功と失敗の起動分岐は、同じ同期済み更新トランザクションから個別の" +" overlay を作成します。" + +msgid "" +"串口日志和逐阶段结果保存在 ``O/ci/arch-kernel-upgrade/``。退出时删除 测试 " +"overlay、临时构建输出和签名密钥,默认不保留截图。 第一代配置需要 " +"``CONFIG_VIRTIO_BLK=y``,宿主需要完整启动检查使用的 QEMU、OVMF、 mtools、dosfstools、Pillow" +" 与 Tesseract。" +msgstr "" +"シリアルログと各段階の結果は ``O/ci/arch-kernel-upgrade/`` に保存します。終了時にテスト用 " +"overlay、一時ビルド出力と署名鍵を削除します。既定ではスクリーンショットを保存しません。第 1 世代の設定には " +"``CONFIG_VIRTIO_BLK=y`` が必要です。ホストには完全起動検査と同様に " +"QEMU、OVMF、mtools、dosfstools、Pillow と Tesseract が必要です。" + +msgid "制作在线安装 ISO" +msgstr "オンラインインストール ISO の作成" + +msgid "用已签名的 testing 快照和可访问的 RPR 地址在同一个构建目录制作安装介质::" +msgstr "署名付きの testing スナップショットと到達可能な RPR URL を使い、同じビルドディレクトリでインストールメディアを作成します::" + +msgid "" +"输出为 ``O/images/reliefos-installer.iso``。GRUB 支持 BIOS 和 UEFI,并提供图形和文本安装入口。" +" 安装介质使用官方 systemd 和预置的 RPR 公钥,目标系统通过网络从 Arch 和 RPR 下载软件包。 格式化前同步软件包索引并核对 " +"RPR 签名。安装使用一次 pacman 事务下载、验签和写入, 内存充足时用有上限的 tmpfs " +"暂存软件包。内存不足或暂存下载失败时使用目标磁盘的 pacman 缓存。事务开始写入后由安装器报告错误。 可选择安装后的桌面、Arch " +"镜像、时区、语言和 swap,完成后使用 ``pacman -Syu`` 更新。" +msgstr "" +"出力は ``O/images/reliefos-installer.iso`` です。GRUB は BIOS と UEFI " +"に対応し、グラフィカルおよびテキストのインストーラーを提供します。インストールメディアは公式 systemd と同梱の RPR " +"公開鍵を使用し、インストール先は Arch と RPR からパッケージをダウンロードします。フォーマット前にパッケージ索引を同期して RPR " +"署名を検証します。1 回の pacman " +"トランザクションでパッケージのダウンロード、署名検証、書き込みを行います。メモリに余裕がある場合は容量制限付きの tmpfs " +"にパッケージを一時保存します。メモリ不足や一時保存へのダウンロード失敗時にはインストール先ディスクの pacman " +"キャッシュを使用します。書き込み開始後のエラーはインストーラーが報告します。インストール後のデスクトップ、Arch " +"ミラー、タイムゾーン、言語、swap を選択でき、完了後は ``pacman -Syu`` で更新します。" + +msgid "" +"安装器使用目标根的已安装软件包数据库核验内核包,并生成启动载荷。 引导工具支持本地查询时,启动载荷生成与目标根的独立 pacman 密钥环初始化并行。 卸载目标 API " +"文件系统前,安装器会等待密钥环初始化完成并关闭其 GnuPG 守护进程。 glibc 版本与 locale 配置匹配时复用介质的三语 locale 数据。内核 ABI " +"和早期用户态版本匹配时 复用已经校验的通用 dracut 归档,并仍在目标根生成模块索引、校验软件包和发布启动载荷。 版本发生变化时在目标系统重新生成对应产物。" +msgstr "" +"インストーラーはインストール先のローカルパッケージデータベースでカーネルパッケージを検証し、起動ペイロードを生成します。起動ツールがローカルクエリーに対応している場合、ペイロード生成と" +"インストール先の独立した pacman キーリングの初期化を並行して行います。インストール先の API ファイルシステムをアンマウントする前に、キーリングの初期化を待ち、その " +"GnuPG デーモンを停止します。glibc のバージョンとロケール設定が一致する場合は、メディアの 3 言語のロケールデータを再利用します。カーネル ABI " +"と初期ユーザー空間のバージョンが一致する場合は検証済みの汎用 dracut " +"アーカイブを再利用し、インストール先のルートでモジュール索引の生成、パッケージの検証、起動ペイロードの公開を行います。バージョンが変わった場合は、対応する成果物をインストール先で再生成" +"します。" msgid "配置内核" msgstr "カーネルの設定" @@ -110,35 +642,26 @@ msgid "增量与排错" msgstr "差分ビルドとトラブルシューティング" msgid "" -"用 ``V=1`` 查看命令,``make --trace`` 查看依赖,``make -n`` 预览。 首次预览产品前先执行 defconfig" -"、config-sync。同一 O 互斥,不伪造内部锁 token; 不同 O 可并行。原版 Kbuild 的 .cmd 与 fixdep " -"跟踪命令、源码和头文件依赖。" +"用 ``V=1`` 查看命令,``make --trace`` 查看依赖,``make -n`` 预览。 " +"产品锁覆盖隔离容器的整个调用。不同输出目录可并行。 原版 Kbuild 的 .cmd 与 fixdep 跟踪命令、源码和头文件依赖。" msgstr "" -"``V=1`` でコマンドを表示し、``make --trace`` で依存関係を確認し、``make -n`` " -"で実行内容をプレビューできます。製品の初回プレビュー前に defconfig と config-sync を実行してください。同じ O " -"を使う処理は排他的に実行し、内部ロックの token を偽造しないでください。異なる O は並列に使用できます。オリジナルの Kbuild の " -".cmd と fixdep が、コマンド、ソース、ヘッダーの依存関係を追跡します。" +"``V=1`` でコマンド、``make --trace`` で依存関係、``make -n`` " +"で予定の処理を確認できます。製品のロックはコンテナーの呼び出し全体を保護します。出力先が異なるビルドは並行実行できます。上流 Kbuild の " +".cmd と fixdep がコマンド、ソース、ヘッダーの依存関係を追跡します。" msgid "clean 保留配置;distclean 同时清配置。它们只清有所有权标记的输出树, 不删除共享下载缓存或用户旧镜像。" msgstr "" "clean は設定を保持し、distclean " "は設定も削除します。所有権マーカーのある出力ツリーだけを消去し、共有ダウンロードキャッシュやユーザーの古いイメージは削除しません。" -#~ msgid "" -#~ "``make test-build`` 中的播放器宿主检查另需 ``ffmpeg" -#~ "``、``libavformat-dev``、 ``libavcodec-dev" -#~ "``、``libavutil-dev``、``libswresample-dev`` 和 " -#~ "``libswscale-dev``。 这些是宿主检查依赖;生产播放器使用锁定源码构建的 musl " -#~ "库。 可通过 ``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release " -#~ "sh tests/build/test-reliefplayer-mp4.sh`` 在" -#~ " Linux 宿主上同时运行实际精简库和 musl 版本的解码/控制检查;这不等于来宾播放验证。" -#~ msgstr "" -#~ "``make test-build`` のプレーヤー用ホストチェックには、``ffmpeg" -#~ "``、``libavformat-dev``、``libavcodec-dev``、``libavutil-" -#~ "dev``、``libswresample-dev``、``libswscale-dev`` " -#~ "も必要です。これらはホストチェックの依存パッケージです。本番のプレーヤーは、固定したソースからビルドした musl " -#~ "用ライブラリを使用します。Linux ホスト上で " -#~ "``PLAYER_TARGET_BUILD=/绝对路径/out/x86_64/release sh " -#~ "tests/build/test-reliefplayer-mp4.sh`` " -#~ "を実行すると、実際の縮小版ライブラリと musl " -#~ "版の両方についてデコードと操作を検査できます。これはゲストでの再生検証を意味しません。" +msgid "" +"已有完整构建输出时,可运行 ``make O=/path/to/output arch-kernel``,仅增量编译 " +"内核、打包工具及版本化内核和更新包。此入口沿用隔离构建根,并在离线环境中运行。 发布新一代内核时使用递增的 " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE``,随后运行 ``make O=/path/to/output rpr-" +"testing`` 签名。其他软件包沿用现有构建输出中的版本和内容。 CI 的签名内核升级检查使用同一入口生成候选内核。" +msgstr "" +"完全なビルド出力がある場合、 ``make O=/path/to/output arch-kernel`` " +"でカーネル、パッケージ用ツール、バージョン付きカーネルパッケージと更新パッケージを増分ビルドできます。この入口は隔離ビルドルートを再利用し、オフラインで動作します。新しいカーネル世代には増加する" +" ``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` を指定し、続けて ``make O=/path/to/output " +"rpr-testing`` で署名します。他のパッケージのバージョンと内容は既存のビルド出力を使用します。CI " +"の署名付きカーネル更新検査も、この入口から候補カーネルを生成します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/configuration.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/configuration.po index 2e389b1b..63b80413 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/configuration.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/configuration.po @@ -1,126 +1,72 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "配置与版本" msgstr "設定とバージョン" -msgid "输出树" -msgstr "出力ツリー" - -msgid "默认 ``O=out/x86_64/release``;支持 ``ARCH=x86_64`` 和 ``PROFILE=release|debug``。例如::" -msgstr "既定値は ``O=out/x86_64/release`` です。``ARCH=x86_64`` と ``PROFILE=release|debug`` をサポートします。例::" - -msgid "" -"当前配置是 ``O/.config``。olddefconfig 保留设置并补新项;defconfig 重置。 空输出目录首次运行 olddefconfig 或 menuconfig " -"时,也先载入相同的项目种子。 ``configs/default.conf`` 是默认配置种子;完整结果由原版 Kconfig 生成。 不能把镜像策略混入内核私有配置。ReliefNT " -"的配置只在其独立仓库维护, 不会 source 主仓的应用、镜像、授权或 QEMU 配置。" -msgstr "" -"現在の設定は ``O/.config`` です。olddefconfig は設定を保持して新しい項目を追加し、defconfig はリセットします。空の出力ディレクトリで初めて " -"olddefconfig または menuconfig を実行する場合も、同じプロジェクト初期設定を先に読み込みます。``configs/default.conf`` " -"がデフォルトの初期設定で、完全な結果はオリジナルの Kconfig が生成します。イメージのポリシーをカーネル内部の設定に混在させてはいけません。ReliefNT " -"の設定は独立したリポジトリだけで管理し、本リポジトリのアプリケーション、イメージ、認可、QEMU 設定を source しません。" - -msgid "菜单与实际作用" -msgstr "メニューと実際の効果" +msgid "输出与配置" +msgstr "出力と設定" msgid "" -"主菜单按系统镜像、授权策略、软件仓库、可选用户态组件和 QEMU 运行参数分组。 镜像尺寸是构建工具的最低容量请求,工具仍会按文件大小和分区开销扩大输出。 QEMU 的 " -"CPU、内存、显示和网络参数只控制来宾启动命令,不编译内核功能。" -msgstr "" -"メインメニューは、システムイメージ、認可ポリシー、ソフトウェアリポジトリ、任意のユーザー空間コンポーネント、QEMU " -"実行パラメーターに分かれています。イメージサイズはビルドツールへの最小容量の要求であり、ツールはファイル容量とパーティションのオーバーヘッドに応じて出力を拡大します。QEMU の " -"CPU、メモリー、表示、ネットワークのパラメーターは、ゲストの起動コマンドだけを制御し、カーネル機能のコンパイルには影響しません。" - -msgid "" -"编译策略使用 ``PROFILE=release`` 或 ``PROFILE=debug``,显示命令用 ``V=1``。 旧 BUILD " -"预设、优化/LTO/符号/剥离开关已经不被生产链消费,现已移除; 测试按明确的 Make 目标运行,校验和与归属文件由相应产品规则保证, 不提供能跳过这些规则的虚设开关。" -msgstr "" -"ビルド方針は ``PROFILE=release`` または ``PROFILE=debug`` で選び、コマンド表示には ``V=1`` を使います。旧 BUILD " -"プリセットと最適化/LTO/シンボル/strip のスイッチは本番工程で使われなくなったため削除しました。テストは明示的な Make " -"ターゲットで実行します。チェックサムと所有権ファイルは各製品のルールで保証し、そのルールを迂回する見せかけのスイッチは提供しません。" - -msgid "Legacy framebuffer 外观仅控制保留程序读取的 display.conf; XDM 使用自己的 Xresources,IceWM 使用自己的主题,均不由该选项改变。" +"产品默认使用 ``O=out/arch-root/x86_64/release``,原生 Kbuild 测试 默认使用 " +"``O=out/x86_64/release``。可通过 ``PROFILE=debug`` 选择调试构建。每个输出目录拥有独立配置和构建锁。" msgstr "" -"Legacy framebuffer の外観設定が制御するのは、残存プログラムが読み込む display.conf だけです。XDM は独自の Xresources、IceWM " -"は独自のテーマを使用し、この項目では変更されません。" - -msgid "组件选择" -msgstr "コンポーネントの選択" - -msgid "" -"``configs/components.toml`` 是组件身份、依赖和默认策略的唯一清单。 维护后运行 ``make regen-component-kconfig``,检查生成的 " -"Kconfig.components。 每个可选组件有独立子菜单;required 组件固定启用,不生成可关闭的选项。" -msgstr "" -"``configs/components.toml`` は、コンポーネントの識別情報、依存関係、デフォルト方針を定義する唯一の一覧です。変更後は ``make regen-component-" -"kconfig`` を実行し、生成された Kconfig.components を確認してください。任意コンポーネントには個別のサブメニューがあり、required " -"コンポーネントは常に有効で、無効化できる項目を生成しません。" - -msgid "BUILD:启用组件。依赖可自动启用它;第三方库也可能因其他产物需要而被构建。" -msgstr "BUILD:コンポーネントを有効にします。依存関係によって自動的に有効になる場合があり、サードパーティーライブラリも他の成果物が必要とするためビルドされることがあります。" - -msgid "IMAGE:把启用的组件纳入系统载荷。静态库可用 image_supported=false 明确声明 没有独立运行时载荷,这类组件不生成 IMAGE 开关。" -msgstr "" -"IMAGE:有効なコンポーネントをシステムのペイロードに含めます。静的ライブラリは image_supported=false " -"によって独立した実行時ペイロードがないと明示でき、そのようなコンポーネントには IMAGE スイッチを生成しません。" - -msgid "ENTRY:控制旧应用注册表的入口,依赖 IMAGE。它不会改写 X11 程序提供的 desktop 文件;原生 X11 菜单和 MIME 行为仍由这些文件定义。库没有应用入口开关。" -msgstr "" -"ENTRY:旧アプリケーションレジストリのエントリーを制御し、IMAGE に依存します。X11 プログラムが提供する desktop ファイルは書き換えず、ネイティブ X11 のメニューと " -"MIME 動作は引き続きそのファイルで定義します。ライブラリにはアプリケーションエントリーのスイッチがありません。" - -msgid "" -"当前 musl SDK 是产品规则定义的固定 sysroot;组件 SDK 开关没有控制它,已移除。 API 包也没有对应的可选生产目标,不生成 API 开关。组件元数据保留原格式的 " -"SDK/API 字段供兼容读取,不能由这些字段推断 SDK 实际文件;以安装清单为准。" -msgstr "" -"現在の musl SDK は製品ルールで定義する固定の sysroot です。コンポーネントの SDK スイッチはこれを制御していなかったため削除しました。API " -"パッケージにも対応する任意の本番ターゲットがなく、API スイッチは生成しません。互換性のある読み取りのため、コンポーネントのメタデータには従来形式の SDK/API " -"フィールドを残しますが、実際の SDK ファイルは推定できません。インストール一覧を基準にしてください。" - -msgid "旧配置与检查" -msgstr "旧設定とチェック" +"製品ビルドの既定は ``O=out/arch-root/x86_64/release``、ネイティブ Kbuild テストの既定は " +"``O=out/x86_64/release`` です。デバッグビルドには ``PROFILE=debug`` " +"を指定します。設定とビルドロックは出力先ごとに独立しています。" msgid "" -"现有 O/.config 先备份,再执行 olddefconfig 与 config-sync,原版 Kconfig 会去掉 已删除及不属于本仓的符号。更早的 LEON_COMPONENT " -"名称先用 migrate-config 显式迁移, 该步骤保留备份并拒绝冲突;不要直接用默认配置覆盖用户选择。 未被构建链使用的重复默认模板已删除。" +"``ARCH_DESKTOP=icewm|xfce|console`` 选择装配配置。IceWM 是默认桌面, Xfce " +"为实验选项,控制台模式进入 ``multi-user.target``。 自有应用与配置来自 Arch 包,包清单在 ``tools/build" +"/arch-applications.list`` 和 ``tools/build/arch-guest-" +"packages.sh``。安装时可以另选桌面。" msgstr "" -"既存の O/.config をバックアップしてから olddefconfig と config-sync を実行します。オリジナルの Kconfig " -"が削除済みのシンボルや本リポジトリに属さないシンボルを除去します。さらに古い LEON_COMPONENT 名は、先に migrate-config " -"で明示的に移行してください。この処理はバックアップを残し、競合を拒否します。ユーザーの選択をデフォルト設定で直接上書きしてはいけません。ビルド工程で使われない重複したデフォルトテンプレートは削除しました。" +"``ARCH_DESKTOP=icewm|xfce|console`` で組み立て構成を選びます。既定は IceWM、Xfce " +"は実験的、コンソールは ``multi-user.target`` で起動します。アプリと設定は Arch パッケージで提供します。一覧は " +"``tools/build/arch-applications.list`` と ``tools/build/arch-guest-" +"packages.sh`` にあります。インストーラーでもデスクトップを選択できます。" msgid "" -"``tests/build/test-kconfig-contract.sh`` 检查原生依赖、独立镜像/入口选择、 无效控制项和配置稳定性;config-groups 与 config-" -"first-build 检查并发、增量、 缺失产物修复及首次构建。它们使用真实原版 conf,不以文本替换代替 Kconfig 求值。" +"内核菜单和默认配置由 ReliefNT 维护。进入 ``make kernel-menuconfig`` 选择需要的设备与可加载模块,使用 " +"``make kernel-olddefconfig`` 将已有配置 同步到新源码。重新设置默认值用 ``make defconfig``。 " +"内核构建树默认位于选定输出目录的 ``reliefnt/``,可通过 ``RELIEFNT_O`` 指定。" msgstr "" -"``tests/build/test-kconfig-contract.sh`` は、本来の依存関係、イメージとエントリーの独立した選択、無効な制御項目、設定の安定性を検査します。config-" -"groups と config-first-build は、並行実行、差分ビルド、欠落した成果物の修復、初回ビルドを検査します。実物のオリジナル conf を使用し、Kconfig " -"の評価をテキスト置換で代用しません。" +"カーネルメニューと既定設定は ReliefNT が管理します。デバイスとモジュールは ``make kernel-menuconfig`` " +"で選択し、既存設定を新しいソースに同期するには ``make kernel-olddefconfig`` を使います。既定に戻すには ``make" +" defconfig`` を使います。カーネルの出力は既定で指定した出力先の ``reliefnt/`` になり、``RELIEFNT_O`` " +"で変更できます。" msgid "版本身份" msgstr "バージョン識別情報" msgid "" -"主仓与内核分别读取自己的 ``configs/build-version``。主仓 ``system/rootfs/etc/os-release`` 的 VERSION_ID 必须与发布版本一致。" -" 生成头只写 O;源码身份与数字发布版本分开。内核后缀例如::" +"主仓和内核各自使用 ``configs/build-version``。ReliefOS 版本与 安装后 ``/etc/os-release`` " +"的 ``VERSION_ID`` 一致。内核包含发布版本、 后缀和构建输入标识,可用 ``uname -r`` 查看。" msgstr "" -"本リポジトリとカーネルは、それぞれの ``configs/build-version`` を読み込みます。本リポジトリの ``system/rootfs/etc/os-release`` にある " -"VERSION_ID は、リリースバージョンと一致させる必要があります。生成ヘッダーは O だけに書き込み、ソースの識別情報は数値のリリースバージョンと分離します。カーネル接尾辞の例::" +"メインリポジトリとカーネルはそれぞれ ``configs/build-version`` を使います。ReliefOS の版はインストール後の " +"``/etc/os-release`` にある ``VERSION_ID`` と一致します。カーネルのリリース、接尾辞、ビルド識別子は " +"``uname -r`` に表示されます。" msgid "" -"完整内核版本最多 31 字节,后缀仅接受已允许字符。包元数据仍使用数字基础版本。 SOURCE_DATE_EPOCH 默认为提交时间;不得递增源码计数器或用当前时钟破坏可重现性。 旧输出的 " -"``config/.config`` 可复制为新输出的 ``.config``,再 olddefconfig。" +"改变内核后缀可传入 ``EXTRAVERSION`` 与 ``LOCALVERSION``。 ``SOURCE_DATE_EPOCH`` " +"默认取当前提交时间,固定输入与时间产生一致的构建身份。 更新包序号默认为主仓提交的第一父提交链长度;浅克隆发布时通过 " +"``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` 提供递增序号。软件包和引导归属 规则见 :doc:`building`。" msgstr "" -"カーネルの完全なバージョン文字列は最大 31 " -"バイトで、接尾辞には許可された文字だけを使用できます。パッケージのメタデータは引き続き数値のベースバージョンを使います。SOURCE_DATE_EPOCH " -"の既定値はコミット時刻です。ソースのカウンターを増加させたり、現在時刻を使って再現性を損なったりしてはいけません。旧出力の ``config/.config`` は、新出力の " -"``.config`` にコピーしてから olddefconfig を実行できます。" +"カーネルの接尾辞は ``EXTRAVERSION`` と ``LOCALVERSION`` " +"で変更します。``SOURCE_DATE_EPOCH`` " +"の既定値は現在のコミット時刻です。同じ入力と時刻で同じビルド識別子が得られます。更新連番の既定値はメインリポジトリの first-parent " +"のコミット数です。浅いチェックアウトから公開する場合は増加する ``RELIEFOS_KERNEL_PACKAGE_SEQUENCE`` " +"を指定します。パッケージと起動ファイルの管理は :doc:`building` を参照してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/memory-testing.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/memory-testing.po index 0dd72810..af2b1b73 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/memory-testing.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/memory-testing.po @@ -1,90 +1,103 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "内存、swap 与 OOM 的目标验证" msgstr "メモリー、swap、OOM のターゲット検証" msgid "" -"这些入口用于独占、可丢弃的 ReliefOS 来宾,不是生产启动路径。内核探针源码位于 ``kernel/reliefnt/tools/tests/``;使用正式 SDK 的 " -"``bin/reliefos-musl-cc`` 构建, 不要在宿主上执行来宾压力探针。将构建、宿主测试和内存测量分时进行,并记录 " +"这些入口用于独占、可丢弃的 ReliefOS 来宾,不是生产启动路径。内核探针源码位于 " +"``kernel/reliefnt/tools/tests/``;使用隔离 Arch 构建根的 glibc 工具链构建, " +"不要在宿主上执行来宾压力探针。将构建、宿主测试和内存测量分时进行,并记录 " "配置、磁盘、内核、模块、initramfs、工作负载和实际平台。单次成功只覆盖实际运行的 配置和用例。" msgstr "" -"これらの入口は、専用で使い捨て可能な ReliefOS ゲスト向けであり、本番の起動経路ではありません。カーネルプローブのソースは ``kernel/reliefnt/tools/tests/``" -" にあります。正式 SDK の ``bin/reliefos-musl-cc`` " -"でビルドし、ゲスト用の負荷プローブをホストで実行しないでください。ビルド、ホストテスト、メモリー測定は時間を分けて行い、設定、ディスク、カーネル、モジュール、initramfs、ワークロード、実際のプラットフォームを記録します。1" -" 回の成功がカバーするのは、実際に実行した設定とケースだけです。" +"これらの入口は専用の使い捨て ReliefOS ゲストで使用します。``kernel/reliefnt/tools/tests/`` " +"のカーネルプローブは隔離した Arch の glibc " +"ツールチェーンでビルドします。負荷プローブはゲスト内で実行します。ビルド、ホストテスト、メモリ測定は時間を分け、設定、ディスク、カーネル、モジュール、initramfs、負荷、プラットフォームを記録します。成功結果の範囲は実行した構成と項目です。" msgid "来宾探针" msgstr "ゲストプローブ" msgid "" -"``memory_lifecycle_guest_probe.c`` 要求 ``uname -s`` 为 ``ReliefNT``。示例在 来宾中运行,文件参数必须是 root ext " -"文件系统中不存在的专用路径:" +"``memory_lifecycle_guest_probe.c`` 要求 ``uname -s`` 为 ``ReliefNT``。示例在 " +"来宾中运行,文件参数必须是 root ext 文件系统中不存在的专用路径:" msgstr "" -"``memory_lifecycle_guest_probe.c`` は ``uname -s`` が ``ReliefNT`` であることを要求します。例はゲスト内で実行し、ファイル引数には " -"root の ext ファイルシステム上に存在しない専用パスを指定してください。" +"``memory_lifecycle_guest_probe.c`` は ``uname -s`` が ``ReliefNT`` " +"であることを要求します。例はゲスト内で実行し、ファイル引数には root の ext ファイルシステム上に存在しない専用パスを指定してください。" msgid "" "探针在任何锁策略测试之前,用独立 peer 栈执行原始隐式栈的 ``CLONE_VM`` 丢弃与 重访;随后检查私有 fork/COW、共享匿名 " -"fork、普通锁失败后的既有锁、``PROT_NONE`` 固定移动和权限恢复。共享文件首次写测试仅在可将两个 peer 固定到两个实际 CPU 时 运行,否则记录 " -"``LIFECYCLE_SKIP``。两个 peer 的就绪与指定 CPU 不证明首次 fault 精确重叠,也不证明远端 TLB 故障或硬件特性。探针用锁页拒绝丢弃和未锁页可丢弃 " -"进行有限检查,不校验 ``VmLck`` 数值。" +"fork、普通锁失败后的既有锁、``PROT_NONE`` 固定移动和权限恢复。共享文件首次写测试仅在可将两个 peer 固定到两个实际 CPU " +"时 运行,否则记录 ``LIFECYCLE_SKIP``。两个 peer 的就绪与指定 CPU 不证明首次 fault 精确重叠,也不证明远端 " +"TLB 故障或硬件特性。探针用锁页拒绝丢弃和未锁页可丢弃 进行有限检查,不校验 ``VmLck`` 数值。" msgstr "" -"ロック方針のテストに先立ち、プローブは別の peer スタックを使い、元の暗黙の ``CLONE_VM`` スタックを破棄して再アクセスします。その後、プライベート fork/COW、共有匿名 " -"fork、通常のロック失敗後に残る既存ロック、``PROT_NONE`` の固定位置への移動、権限復元を検査します。共有ファイルへの初回書き込みテストは、2 つの peer を実際の 2 CPU " -"に固定できる場合だけ実行し、それ以外は ``LIFECYCLE_SKIP`` を記録します。peer の準備完了と CPU 指定は、初回 fault の厳密な重なり、リモート TLB " -"の障害、ハードウェア特性を証明しません。ロック済みページの破棄拒否と未ロックページの破棄許可で限定的に検査し、``VmLck`` の値は検証しません。" +"ロック方針のテストに先立ち、プローブは別の peer スタックを使い、元の暗黙の ``CLONE_VM`` " +"スタックを破棄して再アクセスします。その後、プライベート fork/COW、共有匿名 " +"fork、通常のロック失敗後に残る既存ロック、``PROT_NONE`` " +"の固定位置への移動、権限復元を検査します。共有ファイルへの初回書き込みテストは、2 つの peer を実際の 2 CPU " +"に固定できる場合だけ実行し、それ以外は ``LIFECYCLE_SKIP`` を記録します。peer の準備完了と CPU 指定は、初回 " +"fault の厳密な重なり、リモート TLB " +"の障害、ハードウェア特性を証明しません。ロック済みページの破棄拒否と未ロックページの破棄許可で限定的に検査し、``VmLck`` " +"の値は検証しません。" -msgid "``poll`` 和 ``pselect`` 用已同步的延迟写入检查空管道不就绪、用户可见的等待与 唤醒、返回的字节和描述符复用;等待时间不证明内核内部的瞬态任务状态。" +msgid "" +"``poll`` 和 ``pselect`` 用已同步的延迟写入检查空管道不就绪、用户可见的等待与 " +"唤醒、返回的字节和描述符复用;等待时间不证明内核内部的瞬态任务状态。" msgstr "" "``poll`` と ``pselect`` " "は、同期した遅延書き込みで、空パイプが未準備であること、ユーザーから見える待機と起床、返されたバイト、記述子の再利用を検査します。待機時間はカーネル内部の一時的なタスク状態を証明しません。" msgid "" -"可选字节数须为 4096 的倍数、不超过 2 GiB;应根据来宾 ``MemTotal``、已有可用 swap 和宿主内存预算选取。探针写入整个私有映射后,结合标准 ``mincore``、系统级" -" ``pswpout`` 快照及活动 swap,只有在对应操作前观测到非驻留页才检查 fork/COW 与 受保护页的移动、恢复和字节指纹。没有足够非驻留页或相关观察不可用时输出 SKIP, " -"不能当成换页通过;计数器是系统快照而非某个进程的归属证明。" +"可选字节数须为 4096 的倍数、不超过 2 GiB;应根据来宾 ``MemTotal``、已有可用 swap " +"和宿主内存预算选取。探针写入整个私有映射后,结合标准 ``mincore``、系统级 ``pswpout`` 快照及活动 " +"swap,只有在对应操作前观测到非驻留页才检查 fork/COW 与 受保护页的移动、恢复和字节指纹。没有足够非驻留页或相关观察不可用时输出 " +"SKIP, 不能当成换页通过;计数器是系统快照而非某个进程的归属证明。" msgstr "" "任意のバイト数は 4096 の倍数かつ 2 GiB 以下とし、ゲストの ``MemTotal``、既存の利用可能な " -"swap、ホストのメモリー予算に応じて選んでください。プローブはプライベートマッピング全体へ書き込んだ後、標準の ``mincore``、システム全体の ``pswpout`` " -"スナップショット、有効な swap " +"swap、ホストのメモリー予算に応じて選んでください。プローブはプライベートマッピング全体へ書き込んだ後、標準の " +"``mincore``、システム全体の ``pswpout`` スナップショット、有効な swap " "を組み合わせます。対応操作の前に非常駐ページを観測した場合だけ、fork/COW、保護ページの移動と復元、バイトフィンガープリントを検査します。非常駐ページが不足する場合や関連観測を利用できない場合は" " SKIP を出力し、ページングの合格とはみなしません。カウンターはシステムのスナップショットであり、特定プロセスへの帰属を証明しません。" msgid "" "现有 ``memory_pressure_guest_probe.c`` 可用 ``--expect-nonresident`` 检查更大 " -"工作集的实际非驻留与完整读回;``memory_oom_guest_probe.c`` 的 ``--guest-oom MAX_BYTES TIMEOUT_SECONDS`` " -"对所拥有子进程制造破坏性压力,验证 OOM 信号、计数和后续分配。应按目标环境设置上限并在私有 VM 内显式运行。探针的 编译成功不等于它们已在来宾运行。" +"工作集的实际非驻留与完整读回;``memory_oom_guest_probe.c`` 的 ``--guest-oom MAX_BYTES " +"TIMEOUT_SECONDS`` 对所拥有子进程制造破坏性压力,验证 OOM 信号、计数和后续分配。应按目标环境设置上限并在私有 VM " +"内显式运行。探针的 编译成功不等于它们已在来宾运行。" msgstr "" "既存の ``memory_pressure_guest_probe.c`` は ``--expect-nonresident`` " -"で、より大きなワーキングセットの実際の非常駐状態と全内容の読み戻しを検査できます。``memory_oom_guest_probe.c`` の ``--guest-oom MAX_BYTES " -"TIMEOUT_SECONDS`` は、自身が所有する子プロセスに破壊的な負荷をかけ、OOM シグナル、カウンター、その後の割り当てを検証します。対象環境に合わせて上限を設定し、専用 VM " +"で、より大きなワーキングセットの実際の非常駐状態と全内容の読み戻しを検査できます。``memory_oom_guest_probe.c`` の " +"``--guest-oom MAX_BYTES TIMEOUT_SECONDS`` は、自身が所有する子プロセスに破壊的な負荷をかけ、OOM " +"シグナル、カウンター、その後の割り当てを検証します。対象環境に合わせて上限を設定し、専用 VM " "内で明示的に実行してください。コンパイル成功は、プローブをゲストで実行済みであることを意味しません。" msgid "QEMU 编排" msgstr "QEMU の実行制御" msgid "" -"``tools/test_memory_qemu.py`` 消费已有标准磁盘、内核 payload/ESP cohort、所选 ``kernel.sys`` 以及由 SDK 编译好的 " -"lifecycle、pressure 和 OOM 可执行文件。 它在新输出目录内制作私有磁盘并逐项读回载荷;不改写源盘,不编译、不下载、不修改 用户磁盘。每次准备生成随机 nonce。来宾 " -"workload 由调用方提供,它应使用 ``MEMORY_QA_NONCE`` 生成自己的文件名,检查每个命令的返回值并在完成或错误时处理 自己的资源。预置可执行文件的路径为:" +"``tools/test_memory_qemu.py`` 消费已有标准磁盘、内核 payload/ESP cohort、所选 " +"``kernel.sys`` 以及由 glibc 工具链编译好的 lifecycle、pressure 和 OOM 可执行文件。 " +"它在新输出目录内制作私有磁盘并逐项读回载荷;不改写源盘,不编译、不下载、不修改 用户磁盘。每次准备生成随机 nonce。来宾 workload " +"由调用方提供,它应使用 ``MEMORY_QA_NONCE`` 生成自己的文件名,检查每个命令的返回值并在完成或错误时处理 " +"自己的资源。预置可执行文件的路径为:" msgstr "" -"``tools/test_memory_qemu.py`` は、既存の標準ディスク、対応するカーネル payload/ESP 一式、選択した ``kernel.sys``、SDK でビルド済みの " +"``tools/test_memory_qemu.py`` は標準ディスク、対応するカーネルと ESP ペイロード、glibc で作成した " "lifecycle、pressure、OOM " -"実行ファイルを使用します。新しい出力ディレクトリ内に専用ディスクを作り、ペイロードを項目ごとに読み戻します。ソースディスクの書き換え、ビルド、ダウンロード、ユーザーディスクの変更はしません。準備のたびにランダムな" -" nonce を生成します。ゲストの workload は呼び出し側が用意し、``MEMORY_QA_NONCE`` " -"を使って自身のファイル名を生成し、すべてのコマンドの戻り値を検査して、完了時やエラー時に自身のリソースを処理してください。事前配置する実行ファイルのパスは次のとおりです。" +"の実行ファイルを受け取ります。新規出力先に専用ディスクを作り、ペイロードを一つずつ読み戻します。実行ごとにランダムな nonce " +"を発行します。ゲストの負荷スクリプトは ``MEMORY_QA_NONCE`` " +"をファイル名に使い、各コマンドの終了状態を確認し、自分で生成したリソースを片付けます。プローブのパスは次のとおりです。" msgid "``/usr/lib/reliefos/tests/memory/lifecycle``" msgstr "``/usr/lib/reliefos/tests/memory/lifecycle``" @@ -99,27 +112,34 @@ msgid "例如,准备并启动一个 BIOS、256 MiB、双 CPU 的 AHCI 来宾 msgstr "例として、BIOS、256 MiB、2 CPU の AHCI ゲストを準備して起動します。" msgid "" -"输入磁盘必须有唯一的 ``RELIEFOS_ROOT`` 和 ``RELIEFOS_ESP`` GPT 分区,且尚未 包含待注入的同版本内核树。``--prepare-only`` " -"只生成私有镜像和 ``prepared.json``; 此模式无需 QMP 目录。运行模式仅启动一个工作磁盘,拒绝已存在的 QEMU/VMware 进程,在调用者指定的非 tmpfs 目录创建短 " -"QMP socket,对自己的 VM 设置超时和 RSS 上限,并记录清理状态。请为高 RAM 测试另行选取宿主能够承受的 RSS 限额; 配置的来宾 RAM " -"容量不等于允许它全部触碰宿主内存。工作镜像和日志保留在新输出 目录,目录中的固定锁文件留在 QMP 目录中供后续运行串行化。" +"输入磁盘必须有唯一的 ``RELIEFOS_ROOT`` 和 ``RELIEFOS_ESP`` GPT 分区,且尚未 包含待注入的同版本内核树" +"。``--prepare-only`` 只生成私有镜像和 ``prepared.json``; 此模式无需 QMP " +"目录。运行模式仅启动一个工作磁盘,拒绝已存在的 QEMU/VMware 进程,在调用者指定的非 tmpfs 目录创建短 QMP " +"socket,对自己的 VM 设置超时和 RSS 上限,并记录清理状态。请为高 RAM 测试另行选取宿主能够承受的 RSS 限额; 配置的来宾 " +"RAM 容量不等于允许它全部触碰宿主内存。工作镜像和日志保留在新输出 目录,目录中的固定锁文件留在 QMP 目录中供后续运行串行化。" msgstr "" "入力ディスクには一意の ``RELIEFOS_ROOT`` と ``RELIEFOS_ESP`` GPT " -"パーティションが必要で、注入するリリースと同じバージョンのカーネルツリーをまだ含んでいない必要があります。``--prepare-only`` は専用イメージと ``prepared.json``" -" だけを生成し、このモードでは QMP ディレクトリは不要です。実行モードは作業ディスクを 1 つだけ起動し、既存の QEMU/VMware プロセスを拒否し、呼び出し側が指定する tmpfs " -"以外のディレクトリに短い QMP socket を作ります。自身の VM にタイムアウトと RSS 上限を設定し、後始末の状態を記録します。高 RAM テストでは、ホストが許容できる RSS " -"上限を別途選んでください。ゲストの RAM 設定量は、その全量をホストメモリーで使用してよいという意味ではありません。作業イメージとログは新しい出力ディレクトリに残し、QMP " +"パーティションが必要で、注入するリリースと同じバージョンのカーネルツリーをまだ含んでいない必要があります。``--prepare-only`` " +"は専用イメージと ``prepared.json`` だけを生成し、このモードでは QMP ディレクトリは不要です。実行モードは作業ディスクを 1" +" つだけ起動し、既存の QEMU/VMware プロセスを拒否し、呼び出し側が指定する tmpfs 以外のディレクトリに短い QMP socket" +" を作ります。自身の VM にタイムアウトと RSS 上限を設定し、後始末の状態を記録します。高 RAM テストでは、ホストが許容できる RSS " +"上限を別途選んでください。ゲストの RAM " +"設定量は、その全量をホストメモリーで使用してよいという意味ではありません。作業イメージとログは新しい出力ディレクトリに残し、QMP " "ディレクトリ内の固定ロックファイルも、後続実行を直列化するため残します。" msgid "" -"``result.json`` 的 ``script_completed`` 只说明本次非重复 nonce 的工作负载以零 状态完成、启动标记匹配且没有报告 " -"fatal;``observations`` 列出实际打印的探针 标记与 SKIP。具体 swap 激活、换出、回读、OOM、swapoff 及工作负载正确性仍须由 workload " -"的断言和串口日志证明。此编排不自动设置 swap,也不自动证明高 PFN、 跨 CPU fault 同时发生、VMware、物理硬件或完整 Linux/POSIX 兼容。标准模块高 PFN " -"探针说明见 ReliefNT 的 ``Documentation/core-api/resource-limits.rst``;应记录其 物理地址、实际读写、平台和限制。" +"``result.json`` 的 ``script_completed`` 只说明本次非重复 nonce 的工作负载以零 " +"状态完成、启动标记匹配且没有报告 fatal;``observations`` 列出实际打印的探针 标记与 SKIP。具体 swap " +"激活、换出、回读、OOM、swapoff 及工作负载正确性仍须由 workload 的断言和串口日志证明。此编排不自动设置 " +"swap,也不自动证明高 PFN、 跨 CPU fault 同时发生、VMware、物理硬件或完整 Linux/POSIX 兼容。标准模块高 " +"PFN 探针说明见 ReliefNT 的 ``Documentation/core-api/resource-limits.rst``;应记录其 " +"物理地址、实际读写、平台和限制。" msgstr "" -"``result.json`` の ``script_completed`` が示すのは、今回の重複しない nonce を使う workload が終了状態 0 " -"で完了し、起動マーカーが一致し、fatal の報告がなかったことだけです。``observations`` は実際に出力したプローブマーカーと SKIP を列挙します。具体的な swap " -"の有効化、スワップアウト、読み戻し、OOM、swapoff、workload の正しさは、引き続き workload のアサーションとシリアルログで証明する必要があります。この実行制御は swap" -" を自動設定せず、高 PFN、CPU 間で同時に起きる fault、VMware、物理ハードウェア、Linux/POSIX の完全な互換性も自動的には証明しません。標準モジュールの高 PFN " -"プローブは ReliefNT の ``Documentation/core-api/resource-limits.rst`` " +"``result.json`` の ``script_completed`` が示すのは、今回の重複しない nonce を使う workload " +"が終了状態 0 で完了し、起動マーカーが一致し、fatal の報告がなかったことだけです。``observations`` " +"は実際に出力したプローブマーカーと SKIP を列挙します。具体的な swap " +"の有効化、スワップアウト、読み戻し、OOM、swapoff、workload の正しさは、引き続き workload " +"のアサーションとシリアルログで証明する必要があります。この実行制御は swap を自動設定せず、高 PFN、CPU 間で同時に起きる " +"fault、VMware、物理ハードウェア、Linux/POSIX の完全な互換性も自動的には証明しません。標準モジュールの高 PFN プローブは" +" ReliefNT の ``Documentation/core-api/resource-limits.rst`` " "を参照し、物理アドレス、実際の読み書き、プラットフォーム、制限を記録してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/products.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/products.po index ca460d44..7e738d88 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/products.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/products.po @@ -1,96 +1,76 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "目标与输出" -msgstr "ターゲットと出力" - -msgid "产品" -msgstr "製品" - -msgid "输出均相对于 O:" -msgstr "出力先はすべて O からの相対パスです。" - -msgid "``kernel``:generated/system 内核与独立调试符号。" -msgstr "``kernel``:generated/system のカーネルと独立したデバッグシンボル。" - -msgid "``runtime`` / ``userland``:公共运行库与所选应用。" -msgstr "``runtime`` / ``userland``:共通のランタイムライブラリと選択したアプリケーション。" - -msgid "``sdk``:packages/reliefos-musl-sdk.tar.gz。" -msgstr "``sdk``:packages/reliefos-musl-sdk.tar.gz。" - -msgid "``apk-repo``:packages/apk/repository。" -msgstr "``apk-repo``:packages/apk/repository。" - -msgid "``rootfs``:rootfs/managed 与 manifest.json。" -msgstr "``rootfs``:rootfs/managed と manifest.json。" +"Generated-By: Babel 2.18.0\n" -msgid "``image-vmdk``:images/reliefos.raw 与 images/reliefos.vmdk。" -msgstr "``image-vmdk``:images/reliefos.raw と images/reliefos.vmdk。" +msgid "目标与构建产物" +msgstr "ターゲットと成果物" -msgid "``iso``:images/reliefos-live.iso。" -msgstr "``iso``:images/reliefos-live.iso。" - -msgid "``installer``:images/reliefos-installer.iso。" -msgstr "``installer``:images/reliefos-installer.iso。" - -msgid "``rpr-pages``:独立 RPR 机器接口和人类页面。" -msgstr "``rpr-pages``:独立した RPR のマシン向けインターフェースと閲覧用ページ。" +msgid "" +"产品默认写到 ``O=out/arch-root/x86_64/release``。改用其他输出目录时, " +"在下载、构建、签名、装配和运行各步使用同一个 ``O``。" +msgstr "" +"製品の出力先は既定で ``O=out/arch-root/x86_64/release`` " +"です。別のディレクトリを使う場合も、取得、ビルド、署名、組み立て、実行に同じ ``O`` を指定してください。" -msgid "``pages``:pages/ 网站,包括下载、RPR 与 Sphinx 文档。" -msgstr "``pages``:ダウンロード、RPR、Sphinx ドキュメントを含む pages/ のウェブサイト。" +msgid "" +"``make build`` 构建内核、GRUB、运行库和应用,发布开发用 ``packages/arch/*.pkg.tar.zst`` 与 " +"``kernel-install/install.bundle.json``。" +msgstr "" +"``make build`` はカーネル、GRUB、ランタイム、アプリをビルドし、開発パッケージを " +"``packages/arch/*.pkg.tar.zst``、カーネルのマニフェストを ``kernel-" +"install/install.bundle.json`` に出力します。" -msgid "``htmldocs``:Documentation/html/,只构建手册,不构建镜像。" -msgstr "``htmldocs``:Documentation/html/。マニュアルだけをビルドし、イメージはビルドしません。" +msgid "``make sdk`` 生成供开发使用的 ``libreliefos`` 软件包,见 :doc:`sdk`。" +msgstr "``make sdk`` で開発用の ``libreliefos`` パッケージを作成します。:doc:`sdk` を参照してください。" -msgid "all 包含 SDK 和三类镜像;release 再包含网站,均不自动上传。 文档与 Pages 的 Sphinx 依赖不影响单独构建内核和用户态。" +msgid "" +"``make rpr-testing`` 用显式选定的密钥生成 ``rpr-testing//``。 快照含 Arch " +"包、仓库数据库、公开密钥、分离签名和完整文件校验清单。" msgstr "" -"all は SDK と 3 種類のイメージを含み、release はさらにウェブサイトを含みます。いずれも自動アップロードは行いません。ドキュメントと Pages の Sphinx " -"依存関係は、カーネルやユーザー空間を単独でビルドする際には影響しません。" - -msgid "运行与发布" -msgstr "実行と公開" +"``make rpr-testing`` は指定の鍵で ``rpr-testing//`` を作成します。Arch " +"パッケージ、リポジトリデータベース、公開鍵、分離署名、全ファイルのチェックサムを含みます。" msgid "" -"``make run``、run-iso、run-installer 启动对应介质。 默认 ``QEMU_BOOT=uefi`` 使用 OVMF;``QEMU_BOOT=bios`` 使用 " -"SeaBIOS。 可覆盖 CPUS、MEMORY 和 QEMU 变量;无 KVM 的宿主用 ``QEMU_KVM=0``。" +"``make rootfs`` 消费指定签名快照,输出 ``arch-rootfs/reliefos-systemd-" +"rootfs*.tar.zst``。" msgstr "" -"``make run``、run-iso、run-installer はそれぞれ対応するメディアを起動します。既定の ``QEMU_BOOT=uefi`` は OVMF " -"を使用し、``QEMU_BOOT=bios`` は SeaBIOS を使用します。CPUS、MEMORY、QEMU の各変数は上書きできます。KVM のないホストでは ``QEMU_KVM=0``" -" を使います。" +"``make rootfs`` は署名済みスナップショットからルートファイルシステムを組み立て、``arch-rootfs/reliefos-" +"systemd-rootfs*.tar.zst`` に出力します。" msgid "" -"RPR、下载页与文档组装为一个 Pages 输出;RPR 签名、APK 索引和内核摘要保持 机器契约,不因文档主题更换而改变。发布目标要求内核 clean 且等于主仓 gitlink。 " -"真实版本发布见 :doc:`../process/releasing`。" +"``make image-vmdk`` 消费对应桌面配置的 rootfs 归档,生成 ``images/reliefos.raw`` 和 " +"``images/reliefos.vmdk``。" msgstr "" -"RPR、ダウンロードページ、ドキュメントは 1 つの Pages 出力にまとめます。RPR 署名、APK " -"インデックス、カーネルダイジェストのマシン向け契約は、ドキュメントテーマの変更では変わりません。公開ターゲットには、clean で本リポジトリの gitlink " -"と一致するカーネルが必要です。実際のバージョン公開は :doc:`../process/releasing` を参照してください。" +"``make image-vmdk`` は選択したデスクトップのアーカイブから ``images/reliefos.raw`` と " +"``images/reliefos.vmdk`` を作成します。" -msgid "文档与 RPR" -msgstr "ドキュメントと RPR" +msgid "``make installer`` 从签名快照组装图形和文本安装介质,输出 ``images/reliefos-installer.iso``。" +msgstr "" +"``make installer`` は署名済みスナップショットから GUI とテキストに対応する ``images/reliefos-" +"installer.iso`` を作成します。" + +msgid "``make all`` 连续构建、签名并生成磁盘镜像和安装 ISO。" +msgstr "``make all`` はパッケージをビルドして署名し、ディスクとインストーラー ISO を作成します。" msgid "" -"完整 Pages 网站分别从主仓 Documentation/ 和所选 ReliefNT 仓库的 Documentation/ 读取源文档,生成 docs/reliefos/ 与 " -"docs/reliefnt/,docs/index.html 是产品入口。 两份手册使用各自的 Sphinx 配置和版本,不把内核源文档复制到主仓维护。 RPR " -"首页及内核下载页链接到相应手册,APK 索引、公钥、health 与内核发布元数据 路径保持原协议。独立 rpr-pages 仍只装配包和内核子树,可供 RPR 客户端使用; " -"页面中的站点导航和文档链接依赖完整 Pages 父目录,预览完整网站应使用 pages。 完整手册由 pages 发布。 任一手册构建失败时,保留上次完整网站,不发布部分文档。" +"``make pages`` 从现有签名仓库和产物装配本地站点。``make release`` 在 核对内核 gitlink " +"后执行完整构建与站点组装。线上发布按 :doc:`../process/releasing` 进行。" msgstr "" -"完全な Pages サイトは、本リポジトリの Documentation/ と選択した ReliefNT リポジトリの Documentation/ " -"からそれぞれソースを読み、docs/reliefos/ と docs/reliefnt/ を生成します。docs/index.html が製品の入口です。2 つのマニュアルはそれぞれ独自の " -"Sphinx 設定とバージョンを使用し、カーネルのソースドキュメントを本リポジトリへコピーして管理しません。RPR " -"のトップページとカーネルのダウンロードページは対応するマニュアルへリンクし、APK インデックス、公開鍵、health、カーネル公開メタデータのパスは既存のプロトコルを維持します。独立した " -"rpr-pages は引き続きパッケージとカーネルのサブツリーだけを組み立て、RPR クライアントで使用できます。そのページのサイトナビゲーションとドキュメントリンクは、完全な Pages " -"の親ディレクトリに依存するため、サイト全体のプレビューには pages を使用してください。完全なマニュアルは pages " -"で公開します。どちらかのマニュアルのビルドに失敗した場合、前回の完全なサイトを保持し、不完全なドキュメントは公開しません。" +"``make pages`` は署名済みリポジトリと既存の成果物からローカルサイトを作成します。``make release`` はカーネルの " +"gitlink を確認してから全成果物とサイトを作成します。公開手順は :doc:`../process/releasing` " +"を参照してください。" + +msgid "准备密钥、快照和来宾可访问地址的方法见 :doc:`building`。" +msgstr "鍵、スナップショット、ゲストからアクセスできるリポジトリ URL の準備は :doc:`building` を参照してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/sdk.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/sdk.po index 8d3aedf6..e941f113 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/sdk.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/sdk.po @@ -1,48 +1,55 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -msgid "SDK 与用户态移植" -msgstr "SDK とユーザー空間への移植" - -msgid "消费 SDK" -msgstr "SDK の利用" +msgid "glibc 应用开发" +msgstr "glibc アプリケーション開発" msgid "" -"SDK 为可重定位 musl sysroot,C 驱动 ``reliefos-musl-cc`` 按自身位置找头与库。 验证时必须真正编译、链接和运行适当探针,覆盖带空格的重定位路径、动态与 " -"``-static``;成功列出归档成员不能替代消费验证。 公开头通过白名单导出,不复制内核私有头。" +"在仓库根执行 ``make fetch`` 和 ``make sdk``。开发包在 ``O/packages/arch/``,实际文件名记录于 " +"``libreliefos-current``。 安装后头文件在 ``/usr/include/reliefos/``,共享库在 " +"``/usr/lib/``, SONAME 为 ``libreliefos.so.2``。开发包同时包含链接器使用的 " +"``libreliefos.so`` 符号链接。" msgstr "" -"SDK は再配置可能な musl sysroot です。C ドライバー ``reliefos-musl-cc`` " -"は自身の位置を基準にヘッダーとライブラリを探します。検証では適切なプローブを実際にコンパイル、リンク、実行し、空白を含む再配置先、動的リンク、``-static`` " -"を網羅する必要があります。アーカイブのメンバーを列挙できただけでは、利用側の検証を代用できません。公開ヘッダーは許可リストでエクスポートし、カーネル内部のヘッダーはコピーしません。" +"リポジトリのルートで ``make fetch`` と ``make sdk`` を実行します。開発パッケージは " +"``O/packages/arch/`` にあり、ファイル名は ``libreliefos-current`` " +"に記録されます。インストール先はヘッダーが ``/usr/include/reliefos/``、ライブラリが ``/usr/lib/`` " +"です。SONAME は ``libreliefos.so.2`` で、リンカー用の ``libreliefos.so`` " +"シンボリックリンクも含まれます。" -msgid "库与 ABI" -msgstr "ライブラリと ABI" +msgid "" +"在 ReliefOS 或隔离的 Arch/glibc 开发环境中使用 GCC 或 Clang。 在软件包来自已签名 RPR 时,通过 " +"``pacman -S libreliefos`` 安装。 从本地签名发布构建到 sysroot 和软件包验证的步骤见 " +":doc:`building`。" +msgstr "" +"ReliefOS または隔離した Arch/glibc 開発環境で GCC や Clang を使います。署名済みの RPR から ``pacman" +" -S libreliefos`` でインストールできます。ローカル署名とパッケージの検証は :doc:`building` を参照してください。" msgid "" -"目标环境使用 musl、mimalloc 和 ReliefOS 扩展库。保持实际 SONAME 与动态 装载依赖,不用宿主 glibc 库冒充目标产物。旧库与旧转发头的兼容范围见 " -":doc:`../userspace-api/abi`。新接口需同步公开头、运行库、内核实现、消费者、 头导出及包归属,不能只改声明。" +"使用 ReliefOS 接口的 C 应用包含相应 ```` 头并链接 ``-lreliefos``。POSIX " +"接口直接使用 glibc 标准头与库。应用若直接引用 zlib、libpng、SQLite、X11 或其他共享库,应按其开发文档显式链接该库。" msgstr "" -"ターゲット環境は musl、mimalloc、ReliefOS 拡張ライブラリを使用します。実際の SONAME と動的ロードの依存関係を維持し、ホストの glibc " -"ライブラリをターゲット成果物として扱ってはいけません。旧ライブラリと旧転送ヘッダーの互換範囲は :doc:`../userspace-api/abi` " -"を参照してください。新しいインターフェースには、公開ヘッダー、ランタイムライブラリ、カーネル実装、利用側、ヘッダーのエクスポート、パッケージ所有権の同期が必要です。宣言だけの変更では不十分です。" +"ReliefOS 拡張を使用する C アプリは対応する ```` ヘッダーを取り込み、``-lreliefos`` " +"でリンクします。POSIX には glibc の標準ヘッダーとライブラリを使います。zlib、libpng、SQLite、X11 " +"などを直接使用する場合は、各ライブラリの文書に従って明示的にリンクします。" msgid "" -"SDK 同时携带锁定版本的 zlib、libpng、SQLite、mbedTLS 3 头文件、动态库和静态库。 驱动为扩展库补全 PNG、zlib、mbedTLS 的传递链接依赖;直接使用 " -"SQLite 的程序 仍需传入 ``-lsqlite3``。开发包的来源元数据位于 ``share/reliefos/sdk/apk``, 许可位于 ``share/licenses``。所有 " -"mbedTLS 消费者必须使用随包配置头,不能使用 旧私有 ``MBEDTLS_CONFIG_FILE`` 配置改变结构布局。" +"自研程序仍从根 Makefile 进入 Kbuild。添加程序时在本目录的 Kbuild 声明对象,在 ``tools/build/arch-" +"applications.list`` 和对应 PKGBUILD 声明需要交付的包与依赖。接口归属见 :doc:`../userspace-" +"api/abi`。" msgstr "" -"SDK には、固定バージョンの zlib、libpng、SQLite、mbedTLS 3 のヘッダー、動的ライブラリ、静的ライブラリも含まれます。ドライバーは拡張ライブラリに必要な " -"PNG、zlib、mbedTLS の推移的なリンク依存関係を補います。SQLite を直接使うプログラムは引き続き ``-lsqlite3`` " -"を渡す必要があります。開発パッケージの由来を示すメタデータは ``share/reliefos/sdk/apk``、ライセンスは ``share/licenses`` にあります。mbedTLS " -"のすべての利用側は同梱の設定ヘッダーを使い、旧来の独自 ``MBEDTLS_CONFIG_FILE`` 設定で構造体のレイアウトを変更してはいけません。" +"自作アプリはルート Makefile から Kbuild でビルドします。各アプリの Kbuild " +"にオブジェクトを記載し、``tools/build/arch-applications.list`` と対応する PKGBUILD " +"でパッケージと依存関係を宣言します。インターフェイスの管理は :doc:`../userspace-api/abi` を参照してください。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/smp-measurement.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/smp-measurement.po index 1f03b778..025894a8 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/smp-measurement.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/smp-measurement.po @@ -1,141 +1,149 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "SMP 整机测量与输入身份" msgstr "SMP のシステム全体の測定と入力の識別情報" msgid "" -"``tools/test_smp_latency_qemu.py`` 在单独复制的系统镜像中运行有限次工作负载, 不构建内核或获取软件包。开始前需准备独立、不可变的 root ``kernel-" -"payload`` 目录和与之匹配的 ESP ``boot-payload`` 目录,以及已安装官方 GCC、make、musl 开发头文件、binutils、FFmpeg(含 " -"libx264)、Xorg 和 IceWM 的来宾磁盘。宿主机 需要 QEMU、e2fsprogs、dosfstools、mtools、``grub-editenv``、目标 musl " -"sysroot、正式 SDK 和 目标 X11 开发文件。源镜像可以是 raw 或单文件 VMDK;外部 extent 和 backing 链无法由单个文件哈希标识,因此会被拒绝。 " -"源盘如果已含所选 release 的内核或模块目录,工具也会拒绝注入,避免保留 清单之外的旧文件;请使用不含该 release 的干净用户态镜像。" +"``tools/test_smp_latency_qemu.py`` 在单独复制的系统镜像中运行有限次工作负载, " +"不构建内核或获取软件包。开始前需准备独立、不可变的 root ``kernel-payload`` 目录和与之匹配的 ESP ``boot-" +"payload`` 目录,以及已安装官方 GCC、make、glibc 开发头文件、binutils、FFmpeg(含 libx264)、Xorg" +" 和 IceWM 的来宾磁盘。宿主机 需要 QEMU、e2fsprogs、dosfstools、mtools、``grub-" +"editenv``、准备好的 Arch 构建根和 它提供匹配的 glibc 和 X11 开发文件。源镜像可以是 raw 或单文件 VMDK;外部 " +"extent 和 backing 链无法由单个文件哈希标识,因此会被拒绝。 源盘如果已含所选 release " +"的内核或模块目录,工具也会拒绝注入,避免保留 清单之外的旧文件;请使用不含该 release 的干净用户态镜像。" msgstr "" "``tools/test_smp_latency_qemu.py`` " -"は、別途コピーしたシステムイメージ内で有限回のワークロードを実行し、カーネルのビルドやパッケージ取得は行いません。独立した変更不可の root 用 ``kernel-payload`` と対応する" -" ESP 用 ``boot-payload`` ディレクトリ、および正式な GCC、make、musl 開発ヘッダー、binutils、FFmpeg(libx264 を含む)、Xorg、IceWM" -" を導入済みのゲストディスクを準備してください。ホストには QEMU、e2fsprogs、dosfstools、mtools、``grub-editenv``、ターゲット用 musl " -"sysroot、正式 SDK、ターゲット用 X11 開発ファイルが必要です。ソースイメージは raw または単一ファイルの VMDK を使用できます。外部 extent や backing " -"チェーンは単一のファイルハッシュで識別できないため拒否します。ソースディスクに選択した release " -"のカーネルやモジュールのディレクトリがある場合も、一覧外の旧ファイルが残るのを防ぐため注入を拒否します。その release を含まないクリーンなユーザー空間イメージを使用してください。" +"は専用イメージで回数を制限した負荷を実行します。読み取り専用のルートカーネルペイロードと対応する ESP ペイロード、および公式 " +"GCC、make、glibc ヘッダー、binutils、libx264 対応の FFmpeg、Xorg、IceWM " +"を備えたゲストを用意します。ホストには QEMU、e2fsprogs、dosfstools、mtools、``grub-editenv`` " +"と、対応する glibc と X11 開発ファイルを含む Arch ビルド環境が必要です。外部エクステントや backing chain のない " +"raw または単一ファイルの VMDK を使います。ソースディスクは選択したリリースのツリーを含まないものを用意します。" msgid "从仓库根目录执行,以下变量由测量者指向已冻结的产物:" msgstr "リポジトリのルートから実行します。測定者は次の変数を固定済みの成果物に向けてください。" msgid "" -"``--prepare-only`` 只生成镜像,不启动虚拟机;删除该参数才由工具启动拥有的 QEMU 子进程。它发现已有 QEMU 或 VMware 时拒绝启动,使用短路径 QMP " -"socket, 超时或失败时只停止并回收自己的子进程,每次等待均有限时。启动前、负载和 清理失败均写入 ``result.json``,保留失败阶段与清理状态。可用准备好的 raw " -"镜像交由操作者在 VMware 中运行;VMware 的超时控制、串口采集与关闭由操作者负责。离线串口 校验可使用 ``--validate-serial LOG --nonce NONCE " -"--release RELEASE --expect-profiler MODE --repeat N``,身份信息位于 ``prepared.json``。" +"``--prepare-only`` 只生成镜像,不启动虚拟机;删除该参数才由工具启动拥有的 QEMU 子进程。它发现已有 QEMU 或 " +"VMware 时拒绝启动,使用短路径 QMP socket, 超时或失败时只停止并回收自己的子进程,每次等待均有限时。启动前、负载和 " +"清理失败均写入 ``result.json``,保留失败阶段与清理状态。可用准备好的 raw 镜像交由操作者在 VMware 中运行;VMware" +" 的超时控制、串口采集与关闭由操作者负责。离线串口 校验可使用 ``--validate-serial LOG --nonce NONCE " +"--release RELEASE --expect-profiler MODE --repeat N``,身份信息位于 " +"``prepared.json``。" msgstr "" -"``--prepare-only`` はイメージだけを生成し、VM を起動しません。この引数を外すと、ツールが所有する QEMU 子プロセスを起動します。既存の QEMU または VMware " -"を検出すると起動を拒否し、短いパスの QMP socket を使い、タイムアウトや失敗時は自身の子プロセスだけを停止して回収します。すべての待機には期限があります。起動前、負荷実行、後始末の失敗は" -" ``result.json`` に書き、失敗段階と後始末の状態を残します。準備済み raw イメージを操作者が VMware で実行することもできますが、VMware " -"のタイムアウト制御、シリアル収集、終了は操作者が担当します。オフラインのシリアル検証には ``--validate-serial LOG --nonce NONCE --release " -"RELEASE --expect-profiler MODE --repeat N`` を使えます。識別情報は ``prepared.json`` にあります。" +"``--prepare-only`` はイメージだけを生成し、VM を起動しません。この引数を外すと、ツールが所有する QEMU " +"子プロセスを起動します。既存の QEMU または VMware を検出すると起動を拒否し、短いパスの QMP socket " +"を使い、タイムアウトや失敗時は自身の子プロセスだけを停止して回収します。すべての待機には期限があります。起動前、負荷実行、後始末の失敗は " +"``result.json`` に書き、失敗段階と後始末の状態を残します。準備済み raw イメージを操作者が VMware " +"で実行することもできますが、VMware のタイムアウト制御、シリアル収集、終了は操作者が担当します。オフラインのシリアル検証には " +"``--validate-serial LOG --nonce NONCE --release RELEASE --expect-profiler" +" MODE --repeat N`` を使えます。識別情報は ``prepared.json`` にあります。" msgid "" -"``--expect-profiler both`` 在已配置诊断节点的同一内核上分别运行 ``off`` 和 ``on``;``on`` 或 ``off`` 只运行其中一种。``absent``" -" 明确要求 ``CONFIG_LOCK_STAT=n`` 的节点不存在,不能作为节点缺失时的自动回退。 ``--jobs 0`` 在固定 32 个翻译单元上使用无参数 ``make " -"-j``;其余取值是作业数。 输出记录配置、镜像和源文件身份,保留准备日志、完整 root 和 ESP 回读、 串口、QEMU 日志以及失败结果。内核、initramfs、模块数据库、两个启动槽、" -" 版本文件和清单在启动前核对;不重写 GRUB 或固件。私有副本中禁用原来的 ``smp-setup``、DHCP、NTP 和图形会话启动链接,并离线删除旧的 :0 socket、 锁文件和 " -"``Xorg.0.log``;源盘不变。来宾将 gcc、make、as、ld、ffmpeg 和 ffprobe 的完整版本输出与退出状态写入串口并保存在解析结果中,缺失或失败 " -"的版本记录会使测量失败。串口原始日志完整保留;解析遥测块时只跳过符合 内核格式的完整 DEBUG/INFO 行,其他异常内容仍使该块失败。" +"``--expect-profiler both`` 在已配置诊断节点的同一内核上分别运行 ``off`` 和 ``on``;``on`` 或 " +"``off`` 只运行其中一种。``absent`` 明确要求 ``CONFIG_LOCK_STAT=n`` " +"的节点不存在,不能作为节点缺失时的自动回退。 ``--jobs 0`` 在固定 32 个翻译单元上使用无参数 ``make " +"-j``;其余取值是作业数。 输出记录配置、镜像和源文件身份,保留准备日志、完整 root 和 ESP 回读、 串口、QEMU " +"日志以及失败结果。内核、initramfs、模块数据库、两个启动槽、 版本文件和清单在启动前核对;不重写 GRUB 或固件。私有副本使用 " +"systemd 的 multi-user.target,并离线删除旧的 :0 socket、 锁文件和 " +"``Xorg.0.log``;源盘不变。来宾将 gcc、make、as、ld、ffmpeg 和 ffprobe " +"的完整版本输出与退出状态写入串口并保存在解析结果中,缺失或失败 的版本记录会使测量失败。串口原始日志完整保留;解析遥测块时只跳过符合 " +"内核格式的完整 DEBUG/INFO 行,其他异常内容仍使该块失败。" msgstr "" -"``--expect-profiler both`` は、診断ノードを設定した同じカーネルで ``off`` と ``on`` をそれぞれ実行します。``on`` または ``off`` " -"は一方だけを実行します。``absent`` は ``CONFIG_LOCK_STAT=n`` " -"によりノードが存在しないことを明示的に要求し、ノード欠落時の自動フォールバックには使えません。``--jobs 0`` は固定の 32 翻訳単位に対して引数なしの ``make -j`` " -"を使い、それ以外はジョブ数を指定します。出力には設定、イメージ、ソースファイルの識別情報を記録し、準備ログ、root と ESP の完全な読み戻し、シリアル、QEMU " -"ログ、失敗結果を保持します。起動前にカーネル、initramfs、モジュールデータベース、両方の起動スロット、バージョンファイル、一覧を照合し、GRUB " -"やファームウェアは書き換えません。専用コピーでは従来の ``smp-setup``、DHCP、NTP、グラフィカルセッションの起動リンクを無効化し、古い :0 " -"socket、ロックファイル、``Xorg.0.log`` をオフラインで削除します。ソースディスクは変えません。ゲストは gcc、make、as、ld、ffmpeg、ffprobe " -"の完全なバージョン出力と終了状態をシリアルへ書き、解析結果にも保存します。記録の欠落や取得失敗は測定失敗とします。生のシリアルログはすべて残し、テレメトリーブロックの解析ではカーネル形式に合う完全な" -" DEBUG/INFO 行だけを読み飛ばします。他の異常内容があれば、そのブロックは失敗します。" +"``--expect-profiler both`` は計測ノードを備えた同じカーネルで ``off`` と ``on`` " +"を実行します。片方だけの場合は ``on`` または ``off``、``CONFIG_LOCK_STAT=n`` とノード不在を求める場合は " +"``absent`` を指定します。``--jobs 0`` は固定の 32 翻訳単位に上限なしの ``make -j`` " +"を使います。入力の識別、準備ログ、シリアルログ、ルートと ESP の読み戻し、QEMU " +"のログと失敗結果を保存します。起動前にカーネル、initramfs、モジュールデータベース、起動スロットとチェックサムを確認します。専用コピーでは" +" systemd の multi-user.target を使い、残っている X ディスプレイ :0 のファイルをオフラインで削除します。ゲストは" +" gcc、make、as、ld、ffmpeg、ffprobe のバージョンと終了状態を記録します。解析器は計測ログに挟まった正規のカーネル " +"DEBUG と INFO 行を読み飛ばし、その他の予期しない内容は失敗として扱います。" msgid "" -"固定策略是先不采样地编译并编码/解码一次,然后每次清理目标文件重新编译, 每次编码并完整解码固定 640×360、24 fps、5 秒的软件视频;不清空系统缓存。 " -"这些是预热策略下的重复运行,不应标记为冷启动。编译夹具必须输出精确值 ``660e5ee6e1d4b501``;视频必须有 120 帧、正确宽高并完整解码。另有空闲控制 " -"和原生进程/线程内存、COW、暖缓存文件映射与 ``pread`` 负载。任何退出码、 结果检查、样本缺失、超时或来宾崩溃都会使本次结果失败。" +"固定策略是先不采样地编译并编码/解码一次,然后每次清理目标文件重新编译, 每次编码并完整解码固定 640×360、24 fps、5 " +"秒的软件视频;不清空系统缓存。 这些是预热策略下的重复运行,不应标记为冷启动。编译夹具必须输出精确值 " +"``660e5ee6e1d4b501``;视频必须有 120 帧、正确宽高并完整解码。另有空闲控制 和原生进程/线程内存、COW、暖缓存文件映射与" +" ``pread`` 负载。任何退出码、 结果检查、样本缺失、超时或来宾崩溃都会使本次结果失败。" msgstr "" -"固定方針として、まずサンプリングせずにコンパイルとエンコード/デコードを 1 回行います。その後は毎回オブジェクトファイルを消して再コンパイルし、固定の 640×360、24 fps、5 " -"秒のソフトウェア動画を毎回エンコードして完全にデコードします。システムキャッシュは消しません。これはウォームアップ方針での反復実行であり、コールドスタートと表示してはいけません。コンパイル用 " -"fixture は厳密に ``660e5ee6e1d4b501`` を出力する必要があり、動画は 120 " -"フレーム、正しい幅と高さ、完全なデコードを満たす必要があります。ほかにアイドル対照と、ネイティブのプロセス/スレッドのメモリー、COW、ウォームキャッシュのファイルマッピング、``pread`` " -"の負荷があります。終了コード、結果検査、サンプル欠落、タイムアウト、ゲストクラッシュのいずれに問題があっても、その実行結果は失敗です。" +"固定方針として、まずサンプリングせずにコンパイルとエンコード/デコードを 1 " +"回行います。その後は毎回オブジェクトファイルを消して再コンパイルし、固定の 640×360、24 fps、5 " +"秒のソフトウェア動画を毎回エンコードして完全にデコードします。システムキャッシュは消しません。これはウォームアップ方針での反復実行であり、コールドスタートと表示してはいけません。コンパイル用" +" fixture は厳密に ``660e5ee6e1d4b501`` を出力する必要があり、動画は 120 " +"フレーム、正しい幅と高さ、完全なデコードを満たす必要があります。ほかにアイドル対照と、ネイティブのプロセス/スレッドのメモリー、COW、ウォームキャッシュのファイルマッピング、``pread``" +" の負荷があります。終了コード、結果検査、サンプル欠落、タイムアウト、ゲストクラッシュのいずれに問題があっても、その実行結果は失敗です。" msgid "" -"每次负载期间运行真实 Xorg、IceWM 和专用窗口。测试服务使用现有 tty wrapper, 仅在隔离镜像的单个 VT 上启动 Xorg;``-nolisten tcp -ac`` 关闭远程" -" TCP 并 允许隔离系统内的本地客户端连接。X11 数值是客户端定时绘制及 ``XSync`` 服务端 确认的时长,不是物理鼠标、键盘或屏幕扫描输出延迟。程序核对窗口管理器和 " -"实际可见窗口的像素并保存每一个样本;样本使用 ``CLOCK_MONOTONIC`` 纳秒。原生探针也使用 该时钟。X11 探针有独立的有限超时,即使连接或服务端确认卡住也会失败退出。 " -"按样本排序后以 nearest-rank ``ceil(N*p)-1`` (从 0 开始)计算 p50、 p95、p99 和最大值。页故障样本包含探针自己的内容检查和读写开销。" +"每次负载期间运行真实 Xorg、IceWM 和专用窗口。测试服务使用现有 tty wrapper, 仅在隔离镜像的单个 VT 上启动 " +"Xorg;``-nolisten tcp -ac`` 关闭远程 TCP 并 允许隔离系统内的本地客户端连接。X11 数值是客户端定时绘制及 " +"``XSync`` 服务端 确认的时长,不是物理鼠标、键盘或屏幕扫描输出延迟。程序核对窗口管理器和 实际可见窗口的像素并保存每一个样本;样本使用 " +"``CLOCK_MONOTONIC`` 纳秒。原生探针也使用 该时钟。X11 探针有独立的有限超时,即使连接或服务端确认卡住也会失败退出。 " +"按样本排序后以 nearest-rank ``ceil(N*p)-1`` (从 0 开始)计算 p50、 p95、p99 " +"和最大值。页故障样本包含探针自己的内容检查和读写开销。" msgstr "" -"各負荷の実行中には実際の Xorg、IceWM、専用ウィンドウを動かします。テストサービスは既存の tty wrapper を使い、隔離イメージの単一 VT だけで Xorg " -"を起動します。``-nolisten tcp -ac`` はリモート TCP を無効にし、隔離システム内のローカルクライアント接続を許可します。X11 の値は、クライアントの時間計測付き描画と " -"``XSync`` " -"によるサーバー確認の所要時間であり、物理的なマウス、キーボード、画面走査出力の遅延ではありません。プログラムはウィンドウマネージャーと実際に見えるウィンドウのピクセルを検査し、各サンプルを " -"``CLOCK_MONOTONIC`` のナノ秒で保存します。ネイティブプローブも同じ時計を使います。X11 " -"プローブには独立した有限のタイムアウトがあり、接続やサーバー確認が停止しても失敗終了します。サンプルをソートし、nearest-rank の ``ceil(N*p)-1`` を 0 始まりで適用して " -"p50、p95、p99、最大値を計算します。ページ fault のサンプルには、プローブ自身の内容検査と読み書きのコストも含まれます。" +"各負荷の実行中には実際の Xorg、IceWM、専用ウィンドウを動かします。テストサービスは既存の tty wrapper " +"を使い、隔離イメージの単一 VT だけで Xorg を起動します。``-nolisten tcp -ac`` はリモート TCP " +"を無効にし、隔離システム内のローカルクライアント接続を許可します。X11 の値は、クライアントの時間計測付き描画と ``XSync`` " +"によるサーバー確認の所要時間であり、物理的なマウス、キーボード、画面走査出力の遅延ではありません。プログラムはウィンドウマネージャーと実際に見えるウィンドウのピクセルを検査し、各サンプルを" +" ``CLOCK_MONOTONIC`` のナノ秒で保存します。ネイティブプローブも同じ時計を使います。X11 " +"プローブには独立した有限のタイムアウトがあり、接続やサーバー確認が停止しても失敗終了します。サンプルをソートし、nearest-rank の " +"``ceil(N*p)-1`` を 0 始まりで適用して p50、p95、p99、最大値を計算します。ページ fault " +"のサンプルには、プローブ自身の内容検査と読み書きのコストも含まれます。" msgid "" -"纳秒是存储单位,不表示时钟具有纳秒分辨率。当前多核来宾不假定 TSC 跨 CPU 同步;时钟回退及延迟的 timer IRQ 会影响测量。比较编译吞吐时应 " -"另记录编译区间的宿主单调墙钟和串口观察误差,不能用整个启动/清理耗时 代替编译耗时。X11 round-trip 也不能代替真实拖动、按键和应用操作验收。" +"纳秒是存储单位,不表示时钟具有纳秒分辨率。当前多核来宾不假定 TSC 跨 CPU 同步;时钟回退及延迟的 timer IRQ " +"会影响测量。比较编译吞吐时应 另记录编译区间的宿主单调墙钟和串口观察误差,不能用整个启动/清理耗时 代替编译耗时。X11 round-trip " +"也不能代替真实拖动、按键和应用操作验收。" msgstr "" -"ナノ秒は保存単位であり、時計にナノ秒の分解能があることを意味しません。現在のマルチコアゲストでは CPU 間の TSC 同期を仮定せず、時計のフォールバックや timer IRQ " +"ナノ秒は保存単位であり、時計にナノ秒の分解能があることを意味しません。現在のマルチコアゲストでは CPU 間の TSC " +"同期を仮定せず、時計のフォールバックや timer IRQ " "の遅延が測定に影響します。コンパイルのスループットを比較する際は、コンパイル区間のホスト単調実時間とシリアル観測誤差を別途記録し、起動/後始末を含む全時間をコンパイル時間の代わりにしてはいけません。X11" " round-trip も、実際のドラッグ、キー入力、アプリケーション操作の受け入れ検査には代えられません。" msgid "" -"交互验收先确认 IceWM 和终端已经可用,再启动编译。检查标题栏和 Alt 拖动、缩放、最大化/最小化与恢复、释放后的指针移动、终端命令及 Fileman " -"导航。``tools/test_icewm_interactions_qemu.py`` 的截图等待包含宿主图像分析: 1920×1080 的连通区域识别每帧可能超过 2 " -"秒,需允许连续两帧确认;该等待 时间不是来宾输入延迟。冷启动 Xorg/XDM 的等待也与已经运行的桌面分开记录。 最大化的黑色客户区可能与桌面背景连通;应同时用 X11 报告的位置、尺寸和 " -"``map_state`` 核对移动、缩放及最小化。原生窗口状态与实际截图分别留证, 不能以截图识别器没有检测到边界判定窗口管理器未执行操作。" +"交互验收先确认 IceWM 和终端已经可用,再启动编译。检查标题栏和 Alt 拖动、缩放、最大化/最小化与恢复、释放后的指针移动、终端命令及 " +"Fileman 导航。``tools/test_icewm_interactions_qemu.py`` 的截图等待包含宿主图像分析: " +"1920×1080 的连通区域识别每帧可能超过 2 秒,需允许连续两帧确认;该等待 时间不是来宾输入延迟。冷启动 Xorg/XDM " +"的等待也与已经运行的桌面分开记录。 最大化的黑色客户区可能与桌面背景连通;应同时用 X11 报告的位置、尺寸和 ``map_state`` " +"核对移动、缩放及最小化。原生窗口状态与实际截图分别留证, 不能以截图识别器没有检测到边界判定窗口管理器未执行操作。" msgstr "" "対話操作の受け入れ検査では、先に IceWM と端末が使えることを確認してからコンパイルを開始します。タイトルバーと Alt " "によるドラッグ、サイズ変更、最大化/最小化と復元、ボタンを離した後のポインター移動、端末コマンド、Fileman " -"の移動を検査します。``tools/test_icewm_interactions_qemu.py`` のスクリーンショット待機にはホスト側の画像解析が含まれます。1920×1080 " -"の連結領域認識は 1 フレームに 2 秒以上かかる場合があり、連続する 2 フレームでの確認を許容する必要があります。この待機時間はゲストの入力遅延ではありません。Xorg/XDM " -"のコールドスタート待ちも、起動済みデスクトップとは分けて記録します。最大化した黒いクライアント領域はデスクトップ背景と連結して見える場合があるため、X11 " -"が報告する位置、寸法、``map_state`` " +"の移動を検査します。``tools/test_icewm_interactions_qemu.py`` " +"のスクリーンショット待機にはホスト側の画像解析が含まれます。1920×1080 の連結領域認識は 1 フレームに 2 " +"秒以上かかる場合があり、連続する 2 フレームでの確認を許容する必要があります。この待機時間はゲストの入力遅延ではありません。Xorg/XDM " +"のコールドスタート待ちも、起動済みデスクトップとは分けて記録します。最大化した黒いクライアント領域はデスクトップ背景と連結して見える場合があるため、X11" +" が報告する位置、寸法、``map_state`` " "でも移動、サイズ変更、最小化を照合してください。ネイティブのウィンドウ状態と実際の画像を別々に保存し、画像認識が境界を検出しなかったことだけで、ウィンドウマネージャーが操作しなかったと判定してはいけません。" msgid "桌面与编译优先级" msgstr "デスクトップとコンパイルの優先度" msgid "" -"正常图形启动由 root 所有的 ``reliefos-xdm`` 使用现有 BusyBox ``renice`` 将自身设为 nice=-10,XDM、Xorg 的线程及 IceWM " -"继承这个普通调度优先级。 不切换到实时调度。``Xsession`` 在启动 IceWM 后、启动初始终端前将自身 恢复为 nice=0;IceWM 的菜单与快捷键终端入口同样先恢复为 " -"nice=0。 因此终端中执行的 shell、``make -j`` 及其编译器子进程使用正常优先级。 无法调整优先级时仍继续启动会话,不因权限或工具不可用而中断登录。" -msgstr "" -"通常のグラフィカル起動では、root 所有の ``reliefos-xdm`` が既存の BusyBox ``renice`` を使って自身を nice=-10 に設定し、XDM、Xorg " -"のスレッド、IceWM がこの通常スケジューリング優先度を継承します。リアルタイムスケジューリングには切り替えません。``Xsession`` は IceWM " -"の起動後、最初の端末を起動する前に自身を nice=0 へ戻します。IceWM のメニューやショートカットから端末を起動する入口も、先に nice=0 へ戻します。したがって端末内で実行する " -"shell、``make -j``、そのコンパイラー子プロセスは通常優先度を使います。優先度を変更できなくてもセッションを起動し、権限やツールが利用できないことを理由にログインを中断しません。" - -msgid "" -"该策略优先处理繁忙时的显示与窗口事件,交互繁忙时可能让出部分编译吞吐。 验收应在正常 XDM 登录链中只读取 ``getpriority`` 的实际值,覆盖 Xorg 的 输入线程、IceWM " -"和终端;由测试脚本临时修改优先级的实验不能代替此检查。 Fileman 导航应核对应用提交后的窗口标题和实际截图,避免仅依赖 OCR 对 中文、路径或小字体的识别结果。" +"XDM 由 systemd 启动。IceWM 启动终端时使用 util-linux 的 ``renice``,将编译等终端任务恢复到一般优先级。 " +"验收以实际登录会话中 Xorg、IceWM 和终端的优先级为准。" msgstr "" -"この方針は高負荷時の表示とウィンドウイベントを優先し、操作が集中するとコンパイルのスループットを一部譲る場合があります。受け入れ検査では、通常の XDM ログイン経路で実際の " -"``getpriority`` 値を読み取るだけとし、Xorg の入力スレッド、IceWM、端末を対象にします。テストスクリプトで一時的に優先度を変える実験では代用できません。Fileman " -"の移動は、アプリケーションが更新したウィンドウタイトルと実際のスクリーンショットを照合し、中国語、パス、小さい文字に対する OCR だけに依存しないでください。" +"XDM は systemd が起動します。IceWM は端末起動時に util-linux の ``renice`` " +"を使用し、コンパイルなどの端末タスクを通常の優先度に戻します。ログインセッションで Xorg、IceWM、端末の実際の優先度を確認してください。" msgid "" -"诊断节点使用独立的原始 ``tsc_cycles``,各 CPU 的 TSC 不假定同步,不换算成 用户态延迟。每次先停止采样再重新打开快照;因停止可能截断已取得锁的样本, " -"持锁直方图总数不必等于取得锁总数。任何 ``clock_errors`` 都会使该测量失败。 使用一致的来宾用户态、源文件、作业数、缓存策略、重复次数和检查结果进行 " -"前后比较;失败的行不能用于宣称性能改善。" +"诊断节点使用独立的原始 ``tsc_cycles``,各 CPU 的 TSC 不假定同步,不换算成 " +"用户态延迟。每次先停止采样再重新打开快照;因停止可能截断已取得锁的样本, 持锁直方图总数不必等于取得锁总数。任何 ``clock_errors``" +" 都会使该测量失败。 使用一致的来宾用户态、源文件、作业数、缓存策略、重复次数和检查结果进行 前后比较;失败的行不能用于宣称性能改善。" msgstr "" "診断ノードは独立した生の ``tsc_cycles`` を使います。各 CPU の TSC " "が同期しているとは仮定せず、ユーザー空間の遅延へ換算しません。毎回サンプリングを停止してからスナップショットを開き直します。停止により取得済みロックのサンプルが途中で切れる場合があるため、保持時間ヒストグラムの総数はロック取得総数と一致しなくても構いません。``clock_errors``" -" が 1 つでもあれば測定失敗です。ゲストのユーザー空間、ソース、ジョブ数、キャッシュ方針、反復回数、結果検査をそろえて前後を比較し、失敗行を性能改善の根拠にしてはいけません。" +" が 1 " +"つでもあれば測定失敗です。ゲストのユーザー空間、ソース、ジョブ数、キャッシュ方針、反復回数、結果検査をそろえて前後を比較し、失敗行を性能改善の根拠にしてはいけません。" diff --git a/Documentation/locale/ja/LC_MESSAGES/kbuild/third-party.po b/Documentation/locale/ja/LC_MESSAGES/kbuild/third-party.po index 8991bfba..8bce758a 100644 --- a/Documentation/locale/ja/LC_MESSAGES/kbuild/third-party.po +++ b/Documentation/locale/ja/LC_MESSAGES/kbuild/third-party.po @@ -1,134 +1,50 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "第三方软件与归属" -msgstr "サードパーティーソフトウェアと帰属" - -msgid "来源" -msgstr "入手元" - -msgid "" -"依赖下载身份由 ``configs/dependencies.lock.json`` 给出,源码子模块由 ``.gitmodules`` 和 gitlink 固定。fetch " -"校验摘要;原生生产目标只消费已验证缓存。 Linux 6.12 Kbuild/Kconfig 的来源与逐文件摘要见 ``scripts/kbuild-source.json``。 " -"不能直接修改上游引擎来绕过项目边界。" -msgstr "" -"依存物のダウンロード識別情報は ``configs/dependencies.lock.json`` に定義し、ソースのサブモジュールは ``.gitmodules`` と gitlink " -"で固定します。fetch がダイジェストを検証し、ネイティブの本番ターゲットは検証済みキャッシュだけを使用します。Linux 6.12 Kbuild/Kconfig " -"の由来とファイルごとのダイジェストは ``scripts/kbuild-source.json`` にあります。プロジェクト境界を迂回するため、上流エンジンを直接変更してはいけません。" - -msgid "" -"``make fetch-check`` 检查锁定下载地址的可用性,不比较上游版本。 依赖升级需要另行核对对应 Alpine 仓库索引或上游正式发布,并同步版本、 " -"下载地址、SHA256、补丁和构建适配中的版本信息。APK 同时验证官方签名; 运行库与开发包采用匹配版本,升级后重新检查构建与运行行为。" -msgstr "" -"``make fetch-check`` は固定したダウンロード URL の利用可否を確認し、上流のバージョン比較は行いません。依存物の更新時は対応する Alpine " -"リポジトリのインデックスまたは上流の正式リリースを別途確認し、バージョン、URL、SHA256、パッチ、ビルド適応部分のバージョン情報を同期します。APK " -"は公式署名も検証します。ランタイムと開発パッケージは同じバージョンを使い、更新後はビルドと実行動作を再確認します。" - -msgid "" -"当前 GRUB 2.16 的 EFI 路径使用 GOP;上游已移除仅用于旧固件的 UGA 支持, 镜像模块清单不再请求 ``efi_uga``。Legacy BIOS 的引导路径保持独立。" -msgstr "" -"現在の GRUB 2.16 の EFI 経路は GOP を使います。上流で旧ファームウェア専用の UGA 対応が削除されたため、イメージのモジュール一覧は ``efi_uga`` " -"を要求しません。Legacy BIOS の起動経路は独立したままです。" - -msgid "" -"musl、BusyBox、GRUB、认证库等保留各自原生构建与 移植边界。目标程序与开发 SDK 的 staging 不可混用。上游 README、许可证、 " -"COPYING、归属和字体许可是来源资料,保留原文,不属于待清理的过程报告。" -msgstr "" -"musl、BusyBox、GRUB、認証ライブラリなどは、それぞれ本来のビルドと移植境界を維持します。ターゲットプログラムと開発 SDK の staging を混用してはいけません。上流の " -"README、ライセンス、COPYING、帰属情報、フォントライセンスは由来の資料として原文を保持し、整理対象の作業報告として扱いません。" - -msgid "" -"musl 的互斥锁属性探测补丁将内核缺少 PI futex 的 ``ENOSYS`` 转换为 POSIX 的 ``ENOTSUP``,以便 PulseAudio 等调用者回退到普通互斥锁。 " -"该补丁不伪装成已实现优先级继承,也不改变其他 futex 错误。补丁及摘要由 依赖锁管理;已有镜像需要重新构建 musl 和系统包才会取得此修正。" -msgstr "" -"musl の mutex 属性検出パッチは、カーネルに PI futex がない場合の ``ENOSYS`` を POSIX の ``ENOTSUP`` に変換し、PulseAudio " -"などが通常の mutex へフォールバックできるようにします。優先度継承を実装済みに見せかけるものではなく、他の futex " -"エラーも変更しません。パッチとダイジェストは依存ロックで管理し、既存イメージに修正を反映するには musl とシステムパッケージの再ビルドが必要です。" - -msgid "" -"ReliefPlayer 的 MP4 解码使用官方 FFmpeg 8.1.3 源码,以 LGPL 配置构建 " -"``avformat``、``avcodec``、``avutil``、``swresample`` 和 ``swscale``。 源码 " -"tag、commit、归档摘要和许可证由依赖锁固定;构建使用独立的 ``-reliefplayer`` 库名和 SONAME,避免与用户安装的完整 FFmpeg 运行库发生文件及提供者冲突。 " -"只将选中的播放器所需运行库与 LGPL 原文装入 ``reliefos-media-codecs`` 包, 不向镜像发布 FFmpeg 命令行程序或开发头文件。" -msgstr "" -"ReliefPlayer の MP4 デコードは公式 FFmpeg 8.1.3 ソースを使い、LGPL 構成で " -"``avformat``、``avcodec``、``avutil``、``swresample``、``swscale`` をビルドします。ソース " -"tag、commit、アーカイブのダイジェスト、ライセンスは依存ロックで固定します。独立した ``-reliefplayer`` のライブラリ名と SONAME を使用し、ユーザーが導入した完全版" -" FFmpeg ランタイムとのファイルや提供元の競合を避けます。選択したプレーヤーに必要なランタイムライブラリと LGPL 原文だけを ``reliefos-media-codecs`` " -"パッケージに含め、FFmpeg のコマンドラインプログラムや開発ヘッダーはイメージに配布しません。" +"Generated-By: Babel 2.18.0\n" -msgid "移植与打包" -msgstr "移植とパッケージ化" +msgid "第三方来源与归属" +msgstr "サードパーティーのソースと帰属" msgid "" -"添加依赖时同步获取锁、配置/组件、Kbuild 适配、运行路径、包归属、 动态库依赖、桌面入口及许可证。不要仅为安装成功关闭上游验证。 标准控制台工具没有必要伪装成自研图形应用或分配桌面图标。 " -"上游源码修订先在其仓库提交并推送,再更新父仓引用。" +"隔离的 Arch 构建根在 ``tools/build/arch-root.Dockerfile`` 固定官方基础 镜像摘要。工具链和系统依赖由 " +"pacman 从签名的 Arch 仓库安装。 第一次准备工具链时使用当前镜像站索引。同一配方复用本地构建镜像。" msgstr "" -"依存物を追加する際は、取得ロック、設定/コンポーネント、Kbuild " -"適応、実行時パス、パッケージ所有権、動的ライブラリ依存、デスクトップエントリー、ライセンスを同期します。インストールを成功させるためだけに上流の検証を無効にしてはいけません。標準コンソールツールを自作の" -" GUI アプリケーションに見せかけたり、デスクトップアイコンを割り当てたりする必要はありません。上流ソースの修正は、そのリポジトリで先にコミットして push " -"してから、親リポジトリの参照を更新します。" - -msgid "预编译基础依赖" -msgstr "ビルド済みの基本依存物" - -msgid "" -"sl、ncurses、zlib、libpng、SQLite 和 mbedTLS 3 使用 Alpine v3.24 x86_64 的 原始签名 APK;不再初始化对应的六个源码子模块。准确版本与 " -"SHA256 均在依赖锁中。 运行时 APK 经过 ``upstream-apk`` 校验;``runtime-development`` 仅从锁定且通过 官方签名校验的运行、dev 和 " -"static 包暂存匹配的头文件与库,不将开发树覆盖到来宾。 生产构建离线消费缓存,缺包时先执行 ``make fetch``。" -msgstr "" -"sl、ncurses、zlib、libpng、SQLite、mbedTLS 3 は Alpine v3.24 x86_64 のオリジナル署名付き APK を使い、対応する 6 " -"つのソースサブモジュールは初期化しません。正確なバージョンと SHA256 は依存ロックにあります。実行用 APK は ``upstream-apk`` で検証します。``runtime-" -"development`` は固定済みかつ公式署名検証済みの runtime、dev、static パッケージだけから対応するヘッダーとライブラリを staging " -"し、開発ツリーをゲストに上書きしません。本番ビルドはキャッシュをオフラインで使用し、パッケージがなければ先に ``make fetch`` を実行します。" +"隔離した Arch ビルド環境の公式ベースイメージは ``tools/build/arch-root.Dockerfile`` " +"でダイジェストを固定します。pacman は署名済み Arch " +"リポジトリからツールチェーンと依存関係をインストールします。初回は現在のミラーインデックスを使用し、同じレシピではローカルのビルドイメージを再利用します。" msgid "" -"``libreliefos.so.2`` 和 ``libleonos.so.2`` 通过 ELF NEEDED 引用独立的 PNG、zlib、 mbedTLS 库。所有使用方采用 " -"``mbedtls3-dev`` 的配置头;不能继续定义旧的 ALT 配置, 也不能混用 main 仓库的 mbedTLS 4.x。时钟、熵和线程接口由官方库经 musl/内核获取, " -"证书链、域名、有效期验证继续生效。" +"ReliefNT 及直接导入的应用源码使用 Git 记录的提交。GRUB 来自 ``configs/grub.lock.json`` " +"记录的上游归档,构建前校验 SHA-256,并应用 配套补丁。``configs/application-sources.lock.json`` " +"与各 PKGBUILD 记录其余直接构建的应用源码,例如 st、paru 和 Nuked OPL3。 paru 的 Rust " +"依赖由其固定上游提交中的 ``Cargo.lock`` 确定。" msgstr "" -"``libreliefos.so.2`` と ``libleonos.so.2`` は ELF NEEDED で独立した PNG、zlib、mbedTLS ライブラリを参照します。すべての利用側は" -" ``mbedtls3-dev`` の設定ヘッダーを使い、旧 ALT 設定の定義を続けたり、main リポジトリの mbedTLS 4.x " -"を混用したりしてはいけません。時計、エントロピー、スレッド機能は公式ライブラリが musl/カーネル経由で取得し、証明書チェーン、ドメイン名、有効期間の検証は引き続き有効です。" +"ReliefNT と直接取り込むアプリソースは、Git に記録したコミットを使用します。GRUB アーカイブは " +"``configs/grub.lock.json`` に固定し、SHA-256 を照合してパッチを適用します。st、paru、Nuked OPL3" +" など直接ビルドする他のソースは ``configs/application-sources.lock.json`` と各 PKGBUILD " +"に記録します。paru の Rust 依存関係は固定した上流の ``Cargo.lock`` で決まります。" msgid "" -"ReliefMail 链接标准 ``libsqlite3.so.0``,不再单独编译 amalgamation 或旧的 ``sqlite.so.3`` 自定义 VFS。数据库继续使用 DELETE" -" journal、FULL synchronous、 foreign_keys,并显式设置 ``mmap_size=0``。扩展库的厂商私有符号不是稳定 ABI, " -"需要使用它们的外部应用应针对独立库及同版本头文件重新构建。" +"获取或更新依赖使用 ``make fetch``。常规 ``make build`` 在无网络的 " +"构建容器内消费已准备好的输入。打包依赖和软件包归属由 Arch PKGBUILD 声明,来宾从官方仓库和签名 RPR 安装。" msgstr "" -"ReliefMail は標準の ``libsqlite3.so.0`` にリンクし、amalgamation や旧 ``sqlite.so.3`` 独自 VFS " -"を個別コンパイルしません。データベースは DELETE journal、FULL synchronous、foreign_keys を維持し、``mmap_size=0`` " -"を明示します。拡張ライブラリ内のベンダー内部シンボルは安定 ABI ではなく、それを必要とする外部アプリケーションは独立ライブラリと同バージョンのヘッダーに対して再ビルドしてください。" +"入力の取得や更新には ``make fetch`` を使用します。通常の ``make build`` " +"は準備済みの入力をオフラインコンテナーで使用します。パッケージの依存関係と帰属は Arch PKGBUILD " +"に宣言します。ゲストは公式リポジトリと署名済み RPR からインストールします。" -msgid "" -"``component:sl``、``component:ncurses``、``component:sqlite`` 锁特性由镜像的 ``etc/reliefos/apk-" -"components`` 选择,保留 BUILD/IMAGE 的组件约束;运行库的 基础依赖在控制台和桌面配置中均可用。命令和库由官方包直接提供,不生成本地 " -"包装包、注册表包装入口或迁移说明载荷。离线更新器迁移旧 world 请求并卸载旧包, 保留独立的许可证文本。许可证在 ``resources/licenses``, SDK 另带原始 " -"``.PKGINFO`` 记录;源码和构建配方可从对应 Alpine aports 获取。" -msgstr "" -"``component:sl``、``component:ncurses``、``component:sqlite`` のロック機能は、イメージの ``etc/reliefos/apk-" -"components`` で選び、BUILD/IMAGE " -"のコンポーネント制約を維持します。基本のランタイム依存物はコンソール構成とデスクトップ構成の両方で利用できます。コマンドとライブラリは公式パッケージが直接提供し、ローカルなラッパーパッケージ、レジストリ用ラッパーエントリー、移行説明のペイロードは生成しません。オフライン更新器は旧" -" world 要求を移行して旧パッケージを削除し、独立したライセンス文を保持します。ライセンスは ``resources/licenses`` にあり、SDK には元の ``.PKGINFO`` " -"記録も含まれます。ソースとビルドレシピは対応する Alpine aports から取得できます。" - -msgid "" -"目标 ABI 使用实际 SDK 在 Linux/QEMU 验证。带 ASan 的 glibc 宿主测试不能链接 musl 静态归档,因此 ``host-runtime-development`` " -"从锁定的同版本 SQLite/mbedTLS 发布归档 构建原生测试库(使用官方配置);该目标仅属于测试,不参与系统、SDK 或发行包构建。 可通过 " -"``RELIEFOS_TEST_DEP_ROOT`` 指向其他 O 的 ``host/runtime-development``。" +msgid "向本仓引入或更新第三方源码时,同步维护来源、完整性信息和许可证。 ``NOTICE`` 记录项目直接再分发的来源,归档的第三方文本保留上游措辞。" msgstr "" -"ターゲット ABI は実際の SDK を使い Linux/QEMU で検証します。ASan 付き glibc ホストテストは musl の静的アーカイブをリンクできないため、``host-" -"runtime-development`` は固定済みの同バージョン SQLite/mbedTLS " -"公開アーカイブから、公式設定でネイティブのテストライブラリをビルドします。このターゲットはテスト専用で、システム、SDK、配布パッケージのビルドには参加しません。``RELIEFOS_TEST_DEP_ROOT``" -" で別の O の ``host/runtime-development`` を指定できます。" +"サードパーティーソースを取り込むか更新する際は、出所、完全性情報、ライセンスを一緒に管理します。直接再配布するソースは ``NOTICE`` " +"に記載し、保存するライセンス文は上流の原文を保持します。" diff --git a/Documentation/locale/ja/LC_MESSAGES/process/kernel-modules-plan.po b/Documentation/locale/ja/LC_MESSAGES/process/kernel-modules-plan.po deleted file mode 100644 index 8caaaa46..00000000 --- a/Documentation/locale/ja/LC_MESSAGES/process/kernel-modules-plan.po +++ /dev/null @@ -1,400 +0,0 @@ -# -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2026-11-14 00:00+0000\n" -"Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "内核模块的系统集成实施计划" -msgstr "カーネルモジュールのシステム統合実装計画" - -msgid "" -"状态:设计于 2026-10-24,系统集成功能实施与分层验收已完成。以下记录交付范围, 编译、打包和来宾验证分别说明;既有失败与未验证范围继续保留。父仓调查基线为 " -"``9f7ab3c11869056ac9ad9192e1c3ae682b4d57ec``。 内核机制和 K1-K8 阶段由 ReliefNT 仓库 " -"``Documentation/process/module-support-plan.rst`` 定义;本计划只持有 ReliefOS 配置、用户态、启动载荷、安装更新及验收编排。" -msgstr "" -"状態:2026-10-24 " -"に設計し、システム統合の実装と段階別の受け入れ検証は完了しています。以下は納品範囲の記録で、コンパイル、パッケージ化、ゲスト検証を分けて説明し、既存の失敗と未検証範囲を保持します。親リポジトリの調査基準は" -" ``9f7ab3c11869056ac9ad9192e1c3ae682b4d57ec`` です。カーネルの機構と K1-K8 段階は ReliefNT の " -"``Documentation/process/module-support-plan.rst`` で定義します。この計画が担当するのは ReliefOS " -"の設定、ユーザー空間、起動ペイロード、インストール更新、受け入れ実行制御だけです。" - -msgid "" -"用户已确认 .ko 采用 Linux 风格机制,但针对 ReliefNT 重新编译。 当前已授权实现;建立分支、提交或推送须另获明确授权。实施使用 executing-" -"plans;允许委派时使用用户指定的 GPT-6.1-Terra / Max。" -msgstr "" -"ユーザーは .ko に Linux 形式の機構を採用し、ReliefNT 向けに再コンパイルすることを確認済みです。実装は現在承認済みですが、ブランチ作成、コミット、push " -"には別途明示的な許可が必要です。実装には executing-plans を使い、委任が許可された場合はユーザー指定の GPT-6.1-Terra / Max を使用します。" - -msgid "系统行为契约" -msgstr "システム動作の契約" - -msgid "" -"``make O=... defconfig`` 明确重置 OS 配置,并对同一输出对应的内核 ``RELIEFNT_SUBBUILD_O`` 执行 defconfig;默认生产组件均为 y。" -msgstr "" -"``make O=... defconfig`` は OS 設定を明示的にリセットし、同じ出力に対応するカーネルの ``RELIEFNT_SUBBUILD_O`` で defconfig " -"を実行します。本番コンポーネントはすべて既定で y です。" - -msgid "" -"``make kernel-menuconfig``、``kernel-olddefconfig``、``kernel-allmodconfig`` 委派到实际内核输出。OS menuconfig" -" 继续管理 OS 产品;不复制或导入内核 功能符号到主仓 Kconfig,也不把应用配置放进内核。" -msgstr "" -"``make kernel-menuconfig``、``kernel-olddefconfig``、``kernel-allmodconfig`` は実際のカーネル出力へ委譲します。OS " -"menuconfig は引き続き OS 製品を管理し、カーネル機能のシンボルを本リポジトリの Kconfig へコピーまたは取り込まず、アプリケーション設定をカーネルへ置きません。" - -msgid "普通 make/all/kernel/image、自动 config-sync 和缺文件修复不能重置用户 的 m 设置。首次无配置时允许初始化默认配置,已有配置只同步新增选项。" -msgstr "" -"通常の make/all/kernel/image、自動 config-sync、欠落ファイル修復では、ユーザーの m " -"設定をリセットしてはいけません。設定がない初回だけ既定設定を初期化でき、既存設定では新しい項目だけを同期します。" - -msgid "" -"镜像适配消费内核 install manifest,不扫描源码猜模块,也不在主仓再编译 内核对象。原 kernel.sys/debug、镜像输出位置保持,新增模块树与 initramfs。" -msgstr "" -"イメージ適応はカーネルの install manifest を使用し、ソース走査でモジュールを推測したり、本リポジトリでカーネルオブジェクトを再コンパイルしたりしません。従来の " -"kernel.sys/debug とイメージ出力先は維持し、モジュールツリーと initramfs を追加します。" - -msgid "同一镜像中的内核、模块、模块数据库和 initramfs 必须属于同一 ABI 身份。 配置遗漏根设备驱动/FS、缺模块、错误版本须在打包阶段失败,不能交给启动试错。" -msgstr "" -"同じイメージのカーネル、モジュール、モジュールデータベース、initramfs は同一の ABI 識別情報を持つ必要があります。root デバイスのドライバー/FS " -"の設定漏れ、モジュール欠落、バージョン不一致はパッケージ化で失敗させ、起動時の試行錯誤に任せません。" - -msgid "推荐启动链" -msgstr "推奨する起動経路" - -msgid "" -"初版采用外置、未压缩 newc 档案,减少必须内置的解压依赖;压缩作为独立后续 功能,不提供当前无法使用的压缩选项。OS 镜像统一带一个小 initramfs,即使 " -"生产组件全内置也使用同一系统启动策略;内核自身仍可支持独立无 initramfs 启动。" -msgstr "" -"初版は外部の非圧縮 newc アーカイブを使い、組み込み必須の展開依存を減らします。圧縮は独立した後続機能とし、現時点で利用不能な圧縮項目は提供しません。OS イメージはすべて小さな " -"initramfs を含み、本番コンポーネントが全組み込みでも同じ起動方針を使います。カーネル自体は引き続き initramfs なしの独立起動に対応できます。" - -msgid "" -"早期用户态使用现有 musl/BusyBox,包含 /init、mount/switch_root/modprobe、 最小设备节点和当前内核启动依赖。普通镜像的初始根不包含完整桌面。 " -"安装/live 载荷仍是独立的大型文件系统模块:GRUB 同时传递 initramfs 和原有 安装根载荷,早期程序加载 FS 后从内存块设备挂载。不可把 ext4 镜像简单改名 成 " -"initramfs,或要求尚未可见的根分区提供读取它自己必需的驱动。" -msgstr "" -"初期ユーザー空間は既存の musl/BusyBox " -"を使い、/init、mount/switch_root/modprobe、最小デバイスノード、現在のカーネル起動依存を含みます。通常イメージの初期 root " -"には完全なデスクトップを含めません。インストール/live のペイロードは独立した大きなファイルシステムモジュールのままで、GRUB が initramfs と既存のインストール root " -"ペイロードを両方渡し、初期プログラムが FS をロードしてメモリーブロックデバイスからマウントします。ext4 イメージを単に initramfs へ改名したり、まだ見えない root " -"パーティションに自身を読むためのドライバーを要求したりしてはいけません。" - -msgid "" -"可移植发行镜像打包所选存储驱动和支持的根 FS 的模块依赖闭包;不能只根据 构建宿主机的硬件选择启动模块。root=PARTUUID 等根身份和 BIOS/UEFI loader " -"选择保持现有契约,不能随磁盘枚举顺序改变目标。" -msgstr "" -"可搬な配布イメージには、選択したストレージドライバーと対応する root FS " -"のモジュール依存閉包を含めます。ビルドホストのハードウェアだけで起動モジュールを選んではいけません。root=PARTUUID などの root 識別情報と BIOS/UEFI loader " -"の選択は既存の契約を維持し、ディスク列挙順で対象を変えません。" - -msgid "工具与安装布局" -msgstr "ツールとインストール配置" - -msgid "" -"沿用现有 BusyBox 的 insmod、rmmod、lsmod、modinfo、modprobe、depmod。 设计调查时启用了 MODPROBE_SMALL,alias/symbol " -"配置关闭;实现已切换为 完整 modprobe/depmod 配置,验收覆盖依赖、别名、blacklist、参数与内置识别。 不新造一套同名私有工具,也不假定现有命令“存在”就已经能加载模块。" -msgstr "" -"既存 BusyBox の insmod、rmmod、lsmod、modinfo、modprobe、depmod を使います。設計調査時は MODPROBE_SMALL " -"が有効、alias/symbol 設定が無効でしたが、実装では完全な modprobe/depmod " -"設定へ切り替え、依存、別名、blacklist、引数、組み込み識別を検証しました。同名の独自ツール群を作らず、コマンドが存在するだけでモジュールをロードできると仮定しません。" - -msgid "" -"目标目录为 ``/lib/modules//``,数据库由目标兼容 depmod 离线生成;宿主 depmod 可读相同产物作为交叉检查,不假定宿主版本相同。 " -"宿主工具必须指定私有根,例如 ``depmod -b ``, 不得重写宿主的模块目录。还须检查 APK/BusyBox 的命令归属,避免分发时被 " -"另一个同名程序覆盖;最终镜像中的实际工具也要完成同一套读取和依赖测试。 静态配置遵循 ``/etc/modules-" -"load.d/*.conf``、``/etc/modprobe.d/*.conf``; 设备 coldplug 根据 sysfs modalias 加载。内核别名/依赖来自编译元数据,不在 OS " -"脚本里维护第二份 PCI ID 或依赖表。" -msgstr "" -"対象ディレクトリは ``/lib/modules//`` で、ターゲット互換の depmod がデータベースをオフライン生成します。ホスト depmod " -"でも同じ成果物を読んで照合できますが、ホストのバージョン一致は仮定しません。ホストツールには ``depmod -b `` のように専用 root" -" を指定し、ホストのモジュールディレクトリを書き換えてはいけません。配布時に同名プログラムで上書きされないよう APK/BusyBox " -"のコマンド所有権も確認し、最終イメージの実際のツールで同じ読み取りと依存テストを完了します。静的設定は ``/etc/modules-" -"load.d/*.conf``、``/etc/modprobe.d/*.conf`` に従い、デバイス coldplug は sysfs modalias " -"でロードします。カーネルの別名/依存はコンパイルのメタデータを使い、OS スクリプトに別の PCI ID 表や依存表を保持しません。" - -msgid "" -"早期依赖在 /init 中加载;普通设备模块服务必须早于音频、网络和 Xorg。 不能靠固定 sleep 等待模块完成,完成条件应是 modprobe 返回与对应设备出现。 用户手动操作 root" -" 磁盘、挂载中的 FS、活跃 DRM/PCM 等模块时,安全拒绝卸载 属于预期行为;不能为“所有命令成功”而让系统继续使用被释放的代码。" -msgstr "" -"初期依存は /init でロードし、通常のデバイスモジュールサービスは音声、ネットワーク、Xorg より前に実行します。固定 sleep で待たず、modprobe " -"の復帰と対応デバイスの出現を完了条件にします。root ディスク、マウント中 FS、使用中 DRM/PCM " -"などのモジュールを手動操作した際、安全のためアンロードを拒否するのは期待どおりです。全コマンドを成功させるために、解放済みコードをシステムに使わせてはいけません。" - -msgid "构建、安装和更新事务" -msgstr "ビルド、インストール、更新のトランザクション" - -msgid "" -"内核 install 扩展 manifest,至少公布 KERNELRELEASE、模块 ABI 身份、 模块路径/依赖/校验和、内置元数据、配置与 symvers。父仓构建图增加模块树 和 " -"initramfs 的完整前置依赖,m-y-n 切换、模块删除或配置变化均触发重建。 清理严格受产物 manifest 约束,不删除用户手工安装的模块和其他内核版本。" -msgstr "" -"カーネル install は manifest を拡張し、少なくとも KERNELRELEASE、モジュール ABI " -"識別情報、モジュールのパス/依存/チェックサム、組み込みメタデータ、設定、symvers を公開します。親のビルドグラフはモジュールツリーと initramfs " -"の完全な前提依存を追加し、m-y-n 切り替え、モジュール削除、設定変更で再ビルドします。消去は成果物 manifest " -"に厳密に限定し、手動導入したモジュールや他のカーネルバージョンを削除しません。" - -msgid "" -"内核 release 使用唯一 ABI 后缀,OS VERSION_ID 保持发行数字版本。 模块安装在版本目录,更新时可同时保留当前和新内核模块。 GRUB " -"仍提供既有公开入口;其版本入口精确绑定 kernel/initramfs 成对文件。 旧版本入口引用自己的内核、initramfs 和模块树。" -msgstr "" -"カーネル release は一意の ABI 接尾辞を使い、OS の VERSION_ID " -"は数値の配布バージョンを維持します。モジュールはバージョン別ディレクトリに導入し、更新時は現在と新しいカーネルのモジュールを併存できます。GRUB は既存の公開入口を保ち、バージョン別入口は " -"kernel/initramfs の正確な組を結び付けます。旧入口は自身のカーネル、initramfs、モジュールツリーを参照します。" - -msgid "" -"父仓预生成可移植 initramfs,与相应内核和所选模块共同装入内核 APK/安装 载荷。Installer、普通系统更新和 RPR 使用同一套载荷校验/发布接口:先完整 " -"写入新版本模块、kernel、initramfs,校验并同步,再发布版本选择记录。 不能先删当前内核模块目录,也不能让旧内核指向新模块。 更换 BIOS/UEFI loader " -"选项不影响模块载荷配对与回滚。" -msgstr "" -"親リポジトリは可搬な initramfs を事前生成し、対応カーネルと選択モジュールとともにカーネル APK/インストールペイロードへ入れます。Installer、通常のシステム更新、RPR " -"は同じ検証/公開 API を使い、新バージョンのモジュール、kernel、initramfs " -"を完全に書き、検証と同期をしてからバージョン選択記録を公開します。現在のカーネルモジュールを先に削除したり、旧カーネルを新モジュールへ向けたりしてはいけません。BIOS/UEFI loader " -"の変更はペイロードの組やロールバックに影響しません。" - -msgid "明确的提交点与故障模型" -msgstr "明確な確定点と障害モデル" - -msgid "" -"不能把 ESP/FAT 上的临时文件加 rename 当作整套更新的断电原子保证。 日常内核更新不重写稳定的 GRUB 入口,采用预分配的 A/B 选择槽:每槽包含 固定尺寸的版本描述文件与独立 " -"SHA-256 校验文件,各自引用不可变版本载荷。 更新只写非当前槽;先同步载荷,再同步完整描述,最后写入并同步该槽校验。 槽从校验失败转为校验成功就是新版本的发布条件,不另写单点 active " -"指针。" -msgstr "" -"ESP/FAT 上の一時ファイルと rename を、更新一式の停電時アトミック保証としてはいけません。日常のカーネル更新は安定した GRUB 入口を書き換えず、事前確保した A/B " -"選択スロットを使います。各スロットは固定長のバージョン記述ファイルと独立した SHA-256 " -"検証ファイルを持ち、不変のバージョン別ペイロードを参照します。更新は非現行スロットだけに書き、ペイロード、完全な記述の順に同期し、最後にスロットのチェックサムを書いて同期します。検証失敗から成功への遷移が新バージョンの公開条件で、単一障害点となる" -" active ポインターは別途書きません。" - -msgid "" -"稳定 GRUB 脚本先校验槽,再读取其受限版本/递增序号;选择校验有效且序号 最高的完整版本,同时保留旧版本菜单。解析有界且只允许预定字段/路径, 不能在校验前 source 描述文件。内核与 " -"initramfs 的哈希也要校验。 两平台 GRUB 模块清单补齐原版 hashsum/SHA-256 所需组件,不写自定义引导协议。 " -"首次安装预分配两个槽;已有系统迁移保留旧入口,确认新入口后才启用槽选择。" -msgstr "" -"安定した GRUB " -"スクリプトは先にスロットを検証し、制限付きのバージョン/増分連番を読みます。検証済みで連番最大の完全な版を選び、旧版メニューも保持します。解析は有界で所定フィールド/パスだけを許可し、検証前に記述ファイルを" -" source してはいけません。カーネルと initramfs のハッシュも検証します。両プラットフォームの GRUB モジュール一覧にオリジナル hashsum/SHA-256 " -"の依存を補い、独自起動プロトコルは作りません。初回インストールで両スロットを事前確保し、既存システムの移行では旧入口を残して新入口の確認後にスロット選択を有効にします。" - -msgid "" -"断电验收模型是任一步写入/同步失败、未同步写入丢失,以及正在写的非当前槽 记录撕裂:校验失败应回退到最后完整槽。设备丢失已同步数据、任意 FAT 元数据 损坏、更新固件/MBR/EFI " -"本体不属于“内核包原子更新”的可证明范围,必须另行 报告;不承诺跨文件系统/固件的绝对断电原子性。" -msgstr "" -"停電検証モデルは、任意の書き込み/同期の失敗、未同期書き込みの消失、書き込み中の非現行スロットの記録破断です。検証失敗時は最後の完全なスロットへ戻る必要があります。同期済みデータのデバイス側消失、任意の" -" FAT メタデータ破損、ファームウェア/MBR/EFI " -"本体の更新は、カーネルパッケージのアトミック更新で証明できる範囲外として別途報告します。ファイルシステム/ファームウェアをまたぐ絶対的な停電アトミック性は保証しません。" - -msgid "阶段与执行检查" -msgstr "段階と実行チェック" - -msgid "O1:双仓配置委派" -msgstr "O1:両リポジトリの設定委譲" - -msgid "" -"依赖 K1。修改 ``scripts/reliefos/Makefile.config``、``Makefile.kernel`` 与 帮助文本;新增 ``tests/build/test-" -"kernel-config-delegation.sh``。" -msgstr "" -"K1 に依存します。``scripts/reliefos/Makefile.config``、``Makefile.kernel``、ヘルプを変更し、``tests/build/test-" -"kernel-config-delegation.sh`` を追加します。" - -msgid "" -"[x] 先以可记录参数的 fake 子 make 测试同一 ARCH/PROFILE/绝对 O= 的委派, 覆盖新输出、defconfig 重置、普通构建保留 m、用户覆盖 RELIEFNT_O。" -msgstr "" -"[x] 引数を記録する fake 子 make で同じ ARCH/PROFILE/絶対 O= の委譲を先に検査し、新規出力、defconfig リセット、通常ビルドでの m 保持、ユーザーの " -"RELIEFNT_O 指定を網羅します。" - -msgid "" -"[x] 接入三个 kernel 配置目标;将 defconfig 的 OS/内核操作有序执行, 不并行竞争同一配置输出,也不引入 parent/child KCONFIG_CONFIG 环境串用。" -msgstr "" -"[x] 3 つの kernel 設定ターゲットを接続し、defconfig の OS/カーネル処理を順番に実行します。同一設定出力への並行競合や、親子間での KCONFIG_CONFIG " -"環境の混用を導入しません。" - -msgid "[x] 使用真实两仓 conf/mconf 再验证默认全内置与配置持久化。" -msgstr "[x] 両リポジトリの実際の conf/mconf で、既定の全組み込みと設定保持を再検証します。" - -msgid "O2:模块产物、用户工具与 initramfs" -msgstr "O2:モジュール成果物、ユーザーツール、initramfs" - -msgid "" -"依赖 K2-K4、K6a/K6b、K7。修改 ``Makefile.kernel``、``Makefile.rootfs``、BusyBox 配置;新增 " -"``tools/build/modules-stage.sh``、``initramfs-stage.sh``、 ``system/initramfs/init`` 和相应构建入口。" -msgstr "" -"K2-K4、K6a/K6b、K7 に依存します。``Makefile.kernel``、``Makefile.rootfs``、BusyBox " -"設定を変更し、``tools/build/modules-stage.sh``、``initramfs-stage.sh``、``system/initramfs/init`` " -"と対応ビルド入口を追加します。" - -msgid "" -"[x] 增加 ``test-kernel-modules-stage.sh`` 与 ``test-initramfs-stage.sh``: 空模块集、依赖闭包、缺文件、错 " -"ABI、档案可复现、受控清理和 m-y-n 切换。" -msgstr "" -"[x] ``test-kernel-modules-stage.sh`` と ``test-initramfs-stage.sh`` を追加し、空モジュール集合、依存閉包、欠落ファイル、誤 " -"ABI、アーカイブ再現性、制御した消去、m-y-n 切り替えを検査します。" - -msgid "" -"[x] 构建原生 BusyBox,读取真实 .modinfo/dep 数据库,测试别名、built-in no-op、blacklist、参数及多层依赖;不能只用假的 modprobe " -"输出断言成功。" -msgstr "" -"[x] ネイティブ BusyBox をビルドし、実際の .modinfo/dep データベースを読み、別名、built-in no-op、blacklist、引数、多段依存を検査します。偽の " -"modprobe 出力だけで成功と判定しません。" - -msgid "" -"[x] /init 挂载 proc/sys/dev、加载启动模块、解析根身份、等待有界设备发现、 挂载真实根并 exec 新 init。支持 rdinit= 诊断;失败提供明确的早期诊断入口。" -msgstr "" -"[x] /init は proc/sys/dev をマウントし、起動モジュールをロードし、root を識別し、有界のデバイス検出を待ち、実 root をマウントして新 init を exec " -"します。rdinit= 診断をサポートし、失敗時に明確な初期診断入口を提供します。" - -msgid "[x] 引入 early/normal 模块加载顺序;不让普通服务在模块未准备好时启动。" -msgstr "[x] early/normal のモジュールロード順序を導入し、モジュール準備前に通常サービスを起動しません。" - -msgid "O3:ISO、VMDK 与安装器载荷" -msgstr "O3:ISO、VMDK、インストーラーのペイロード" - -msgid "" -"依赖 K5-K7、O2。修改 ``boot/grub/grub.cfg``、 ``scripts/reliefos/Makefile.images``、``tools/build/{boot-" -"stage,iso,images,installer-stage}.sh``、 ``userland/apps/installer/install_ops.c`` 和载荷检查。" -msgstr "" -"K5-K7、O2 に依存します。``boot/grub/grub.cfg``、``scripts/reliefos/Makefile.images``、``tools/build/{boot-" -"stage,iso,images,installer-stage}.sh``、``userland/apps/installer/install_ops.c`` とペイロード検査を変更します。" - -msgid "" -"[x] 为 BIOS/UEFI、磁盘/普通 ISO/Installer ISO 添加一致的 Multiboot2 initramfs 项,正确区分安装根载荷与初始根。检查安装器 " -"Xorg/控制台两种载荷。" -msgstr "" -"[x] BIOS/UEFI、ディスク/通常 ISO/Installer ISO に統一した Multiboot2 initramfs 項目を追加し、インストール root ペイロードと初期 " -"root を正しく区別します。インストーラーの Xorg とコンソールの両ペイロードを検査します。" - -msgid "[x] 打包前验证必需功能 n 的非法 profile、根驱动/FS 为 m 的依赖闭包、 模块版本、kernel/initramfs 哈希与解包内容。禁止静默改成 y。" -msgstr "" -"[x] パッケージ化前に、必須機能が n の不正 profile、root ドライバー/FS が m の依存閉包、モジュールバージョン、kernel/initramfs " -"ハッシュ、展開内容を検証します。黙って y に変えてはいけません。" - -msgid "[x] 分别测试全内置、混合及 allmodconfig 产物,既有输出文件地址不改变。" -msgstr "[x] 全組み込み、混合、allmodconfig の成果物を個別に検査し、従来の出力ファイル位置を維持します。" - -msgid "O4:更新、RPR 与恢复" -msgstr "O4:更新、RPR、復旧" - -msgid "" -"依赖 O3。修改 ``userland/runtime/src/bootloader{,_publish}.c``、 " -"``scripts/reliefos/Makefile.rpr``、``tools/build/rpr-pages.sh`` 及 APK 内核载荷。" -msgstr "" -"O3 " -"に依存します。``userland/runtime/src/bootloader{,_publish}.c``、``scripts/reliefos/Makefile.rpr``、``tools/build/rpr-" -"pages.sh``、APK カーネルペイロードを変更します。" - -msgid "" -"[x] 新增 ``tools/test_kernel_bundle.py``,验证完整发布、缺模块拒绝、短写、 同步/校验失败、各发布边界中断、双槽记录撕裂、启动前校验回退,以及旧 " -"入口和旧模块树保留;以私有镜像和明确故障模型注入,不改宿主磁盘。" -msgstr "" -"[x] ``tools/test_kernel_bundle.py`` " -"を追加し、完全な公開、欠落モジュールの拒否、部分書き込み、同期/検証失敗、各公開境界での中断、両スロットの記録破断、起動前検証のフォールバック、旧入口と旧モジュールツリーの保持を検証します。明示的な障害モデルで専用イメージへ注入し、ホストディスクは変更しません。" - -msgid "[x] 用同一发布接口绑定新版本三件套;只写非当前槽,成功前不改旧选择记录。" -msgstr "[x] 同じ公開 API で新バージョンの 3 成果物を結び付け、非現行スロットだけを書き、成功前に旧選択記録を変えません。" - -msgid "[x] RPR 元数据同时记录所需内核 ABI 和模块清单;发布 guard 继续要求 子仓 clean 且 gitlink 一致。不得因模块产物增加而跳过该规则。" -msgstr "" -"[x] RPR メタデータに必要なカーネル ABI とモジュール一覧を両方記録します。公開 guard は引き続きサブリポジトリが clean かつ gitlink " -"と一致することを要求し、モジュール成果物の追加でこのルールを迂回しません。" - -msgid "O5:全链运行矩阵与文档" -msgstr "O5:全経路の実行マトリックスとドキュメント" - -msgid "新增 ``tools/test_kernel_modules_qemu.py`` 编排器,消费内核拥有的模块和 原生探针;只操作私有 VM/镜像与短路径 QMP socket。" -msgstr "" -"``tools/test_kernel_modules_qemu.py`` を追加し、カーネル管理のモジュールとネイティブプローブを使用して、専用 VM/イメージと短い QMP socket " -"だけを操作します。" - -msgid "[x] defconfig 全内置、部分模块、allmodconfig,以及 MODULES=n 全内置。" -msgstr "[x] defconfig の全組み込み、一部モジュール、allmodconfig、MODULES=n の全組み込み。" - -msgid "" -"[x] BIOS 与 UEFI;1 和 4 vCPU;分别以 IDE/ATAPI、AHCI、NVMe 为根, 至少覆盖 ext4 与可支持的其他根 FS;Installer/live " -"的内存根另外验证。" -msgstr "" -"[x] BIOS と UEFI、1 および 4 vCPU、IDE/ATAPI、AHCI、NVMe の各 root で、少なくとも ext4 と対応可能な他の root FS " -"を網羅します。Installer/live のメモリー root は別途検証します。" - -msgid "[x] 最关键门槛:根控制器=m、根 FS=m,最终出现真实桌面并可读写文件。 不是只看到 GRUB、启动日志或 /init 探针就算成功。" -msgstr "" -"[x] 最重要の条件は、root コントローラー=m、root FS=m で実際のデスクトップが現れ、ファイルを読み書きできることです。GRUB、起動ログ、/init " -"プローブが見えるだけでは成功としません。" - -msgid "" -"[x] e1000 联网和数据校验;声卡 PCM 的 open/mmap/close;Xorg/IceWM 的 DRM/fbdev " -"路径;内置/模块行为一致。QEMU 与 VMware 的验证结果分别记录。" -msgstr "" -"[x] e1000 の通信とデータ検証、サウンドカードの PCM open/mmap/close、Xorg/IceWM の " -"DRM/fbdev。組み込みとモジュールの動作は一致します。QEMU と VMware の検証結果は個別に記録します。" - -msgid "[x] 多层依赖装卸、内置 modprobe、重复加载、故意缺依赖/错版本文件的 错误诊断、busy 卸载拒绝、空闲装卸循环、进程/映射/IRQ 并发持有。" -msgstr "" -"[x] 多段依存のロード/アンロード、組み込み modprobe、反復ロード、意図的な依存欠落/誤バージョンファイルの診断、busy " -"時アンロード拒否、アイドル時の反復ロード/アンロード、プロセス/マッピング/IRQ の並行参照保持。" - -msgid "" -"[x] 以相同 release profile 记录 yes/dd、启动耗时与桌面操作延迟对比; 出现稳定明显退化先定位,不能把性能损失归因于“模块本来就慢”。 同一 BIOS/1 " -"vCPU/AHCI/4 GiB 的 QEMU/KVM 平台上,预热后各五次 2 GiB yes/dd,中位数约为 default 2.755 GB/s、全模块 2.749 GB/s; 比值为 " -"0.9979,差异在本次样本波动范围内。普通启动及 VT 切换记录 只是单次观察,不能当作统计延迟结论;缺少同环境改造前基线,不声称 相对旧内核全面无性能退化。PIIX/IDE 无 " -"initramfs 的直接根 已通过桌面与声卡验证,但冷启动仍慢。实际 VMware 的 HDA、DRM 各八轮 生命周期及普通桌面十轮 Fileman/VT 验证通过;真实物理硬件尚未验证。" -msgstr "" -"[x] 同じ release profile で " -"yes/dd、起動時間、デスクトップ操作遅延を比較記録します。安定した明確な低下があれば先に原因を調べ、モジュールは本来遅いからとは片付けません。同一の BIOS/1 vCPU/AHCI/4 " -"GiB の QEMU/KVM 上で、予熱後それぞれ 5 回の 2 GiB yes/dd を測定し、中央値は default 約 2.755 GB/s、全モジュール約 2.749 GB/s、比は " -"0.9979 で、今回のサンプル変動範囲内でした。通常起動と VT " -"切り替えの記録は単回観測であり、統計的な遅延の結論にはできません。同じ環境の変更前基準がないため、旧カーネルに比べて全面的に性能低下がないとは主張しません。initramfs なしの " -"PIIX/IDE 直接 root はデスクトップと音声検証に合格しましたが、コールド起動は依然遅い状態です。実際の VMware で HDA、DRM 各 8 回のライフサイクルと通常デスクトップ " -"10 回の Fileman/VT 検証が合格しました。実物のハードウェアは未検証です。" - -msgid "[x] 更新两仓职责对应的构建/安装/ABI/驱动文档与 RPR 说明,清除失效静态 假设;保留有明确用途的全内置独立启动路径与历史发布事实。" -msgstr "" -"[x] 両リポジトリの責務に応じてビルド/インストール/ABI/ドライバー文書と RPR " -"説明を更新し、無効な静的前提を除きます。明確な用途のある全組み込み独立起動経路と過去のリリース事実は保持します。" - -msgid "安装验收的实际范围" -msgstr "インストール受け入れ検証の実範囲" - -msgid "" -"全模块媒体的控制台、中文桌面两套实际安装盘均已分别从 BIOS、UEFI 启动; BIOS 完成普通用户登录,桌面版实际显示 IceWM 与 Fileman,UEFI 到达对应 " -"登录界面。离线检查两盘文件系统、UID 1000 账户、全部 41 项内核载荷及其中 24 个模块的路径、大小与哈希;模块包括 18 个生产模块和 6 个验收模块。 默认全内置、混合与 " -"MODULES=n 的普通运行由各自配置的运行矩阵验证, 不能把这两次全模块新安装扩大表述为四种配置均完成了全新安装。" -msgstr "" -"全モジュールメディアのコンソール版と中国語デスクトップ版の実インストールディスクは、それぞれ BIOS と UEFI で起動済みです。BIOS は通常ユーザーログインを完了し、デスクトップ版では " -"IceWM と Fileman を実表示しました。UEFI は対応するログイン画面へ到達しました。両ディスクのファイルシステム、UID 1000 アカウント、全 41 " -"項目のカーネルペイロードと、そのうち 24 モジュールのパス、サイズ、ハッシュをオフライン検査しました。モジュールは本番用 18 個と検証用 6 個です。既定全組み込み、混合、MODULES=n " -"の通常実行は各設定の実行マトリックスで検証したものであり、今回 2 件の全モジュール新規インストールを、4 設定すべての新規インストール完了に拡大して表現してはいけません。" - -msgid "" -"原 2400 秒安装速度门禁仍失败。独立功能长测实际完成桌面安装后,因全量 约 6 MB 日志经串口读取超时而失败,原结果未改判通过。取证工具已改为读取 " -"有界末尾、使用本次请求标志并检查读取状态,宿主回归与真实来宾正负例通过; 已有安装盘再经独立双固件启动和完整离线检查验收。工具修正后没有重跑完整 安装复制,不作为安装提速证据。功能长测的 7200" -" 秒设置只是等待循环截止, 单次取帧或完成确认可以越界,并非绝对时间墙。" -msgstr "" -"元の 2400 秒のインストール速度条件は引き続き失敗です。独立した機能長時間テストではデスクトップ導入を実際に完了しましたが、約 6 MB " -"の全ログのシリアル読み取りがタイムアウトし、元の結果を合格へ変更していません。証拠収集ツールは、有界の末尾読み取り、今回の要求マーカー、読み取り状態検査へ修正し、ホスト回帰と実ゲストの正負例が合格しました。既存の導入済みディスクは、さらに独立した両ファームウェア起動と完全なオフライン検査に合格しました。修正後にインストール全体のコピーは再実行しておらず、高速化の根拠にはなりません。機能長時間テストの" -" 7200 秒設定は待機ループの期限にすぎず、1 回のフレーム取得や完了確認は超過し得るため、絶対的な実時間制限ではありません。" - -msgid "新版 Installer 的 VMware 验证未完成,真实物理硬件未验证;上述内核 VMware 运行结果与 Installer 安装验证分别记录。" -msgstr "" -"新 Installer の VMware 検証は未完了で、実物のハードウェアは未検証です。上記のカーネル VMware 実行結果と Installer のインストール検証は分けて記録します。" - -msgid "" -"交付证据分源码检查、宿主测试、编译打包、QEMU、VMware与真实硬件记录, 每个运行结果绑定内核、模块与 initramfs 的精确哈希。 既有宿主失败、ABI golden 决策与音频 " -"manifest 决策独立记录,不静默改写。 VMware 验证未完成时必须明示;实现与运行结果按实际完成的阶段分别记录。" -msgstr "" -"納品証拠はソース検査、ホストテスト、コンパイル/パッケージ化、QEMU、VMware、実機の記録に分け、各実行結果をカーネル、モジュール、initramfs " -"の正確なハッシュに結び付けます。既存のホスト失敗、ABI golden の判断、音声 manifest の判断は独立して記録し、黙って改変しません。VMware " -"検証が未完了なら明示し、実装と実行結果は実際に完了した段階ごとに記録します。" - -msgid "参考" -msgstr "参考資料" - -msgid "`Linux Kbuild 模块安装 `_" -msgstr "`Linux Kbuild のモジュールインストール `_" - -msgid "`Linux 早期用户态与 initramfs `_" -msgstr "" -"`Linux の初期ユーザー空間と initramfs `_" diff --git a/Documentation/locale/ja/LC_MESSAGES/process/testing.po b/Documentation/locale/ja/LC_MESSAGES/process/testing.po index 86f31d0f..dd6c4dc1 100644 --- a/Documentation/locale/ja/LC_MESSAGES/process/testing.po +++ b/Documentation/locale/ja/LC_MESSAGES/process/testing.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-15 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "测试与验收" msgstr "テストと受け入れ検証" @@ -18,129 +20,91 @@ msgstr "テストと受け入れ検証" msgid "执行入口" msgstr "実行入口" -msgid "从主仓根目录执行;临时文件放在项目输出目录::" -msgstr "本リポジトリのルートから実行し、一時ファイルはプロジェクト出力ディレクトリに置きます::" - -msgid "" -"test 为宿主/构建契约,test-long 包括长流程与恢复,test-legacy 显式运行 非生产 OS 测试,test-smoke 顺序检查三类介质的 BIOS/UEFI 启动。 " -"test-build 包含 Pages 文档回归,宿主需要 Sphinx;普通内核和用户态编译不因此依赖它。 按风险选择定向检查;通过已有失败之前的步骤不能称为全套通过。" -msgstr "" -"test はホスト/ビルド契約、test-long は長い処理と復旧、test-legacy は非本番 OS テストを明示的に実行し、test-smoke は 3 種メディアの BIOS/UEFI" -" 起動を順番に検査します。test-build は Pages 文書回帰を含み、ホストに Sphinx " -"が必要ですが、通常のカーネルやユーザー空間コンパイルがこれに依存するわけではありません。リスクに応じた対象検査を選び、既存の失敗より前の手順を通過しただけで全件合格とはいえません。" - -msgid "" -"构建契约套件顺序运行,套件内部的递归 Make 共享上层 jobserver,避免 " -"每个临时构建退化为单线程;日志中的 ``TIME`` 行记录每套耗时。 " -"``make -n test`` 不执行测试脚本。ReliefMail 的宿主夹具在独立工作目录中 " -"运行,并使用 ``TMPDIR`` 创建私有目录,不依赖调用方位于源码根目录。 " -"CI 的下载缓存仍由依赖锁逐个校验;编译缓存只复用编译结果,镜像与签名 " -"产物每次构建。具体缓存范围和最终检查见仓库 ``.github/CI.md``。" -msgstr "" -"ビルド契約スイートは順番に実行し、内部の再帰 Make は親の jobserver を共有して一時ビルドも並列にコンパイルします。" -"各スイートの所要時間は ``TIME`` 行に記録されます。``make -n test`` はテストスクリプトを実行しません。" -"ReliefMail のホスト fixture は独立した作業ディレクトリで実行し、``TMPDIR`` 内に専用ディレクトリを作るため、" -"呼び出し元の場所に依存しません。CI のダウンロードキャッシュは依存ロックで引き続き個別に検証します。" -"コンパイラキャッシュはコンパイル結果を再利用しますが、イメージと署名済み成果物は毎回ビルドします。" -"キャッシュの範囲と最終チェックはリポジトリの ``.github/CI.md`` を参照してください。" - -msgid "" -"APK 归属测试和组件 Kconfig 维护脚本支持 Python 3.10+;3.10 另需 TOML 解析包 ``tomli``(Debian/Ubuntu 的 " -"``python3-tomli``),3.11+ 使用标准库 ``tomllib``。APK 夹具在测试子进程中固定 ``umask 022``,避免继承宿主 私有权限掩码后与预期文件模式冲突。 " -"宿主文件写入失败测试使用子进程的文件大小限制,验证短写后报错、原文件 保留与临时文件清理;不依赖 root 是否能绕过目录权限。" -msgstr "" -"APK 所有権テストとコンポーネント Kconfig 保守スクリプトは Python 3.10 以降に対応します。3.10 には TOML 解析パッケージ " -"``tomli``(Debian/Ubuntu の ``python3-tomli``)も必要で、3.11 以降は標準の ``tomllib`` を使います。APK fixture " -"はテスト子プロセスで ``umask 022`` " -"に固定し、ホストの私的権限マスク継承による期待モードとの競合を防ぎます。ホストの書き込み失敗テストは子プロセスのファイルサイズ上限で、部分書き込み後のエラー、元ファイル保持、一時ファイル消去を検証し、root" -" の権限迂回可否には依存しません。" +msgid "从主仓根执行本机回归,临时文件放在项目输出目录::" +msgstr "メインリポジトリのルートからネイティブ回帰テストを実行し、一時ファイルはプロジェクトの出力先に置きます::" msgid "" -"``make test-audio`` 仍需要真实 ALSA 和 OPL3 构建依赖; ``tools/test_audio_userland.py`` 的日志写入 ``out/audio-" -"hda/qa/logs/``。 音频产品检查需要已有内核包、rootfs 和 SDK,缺少产物必须报错。" +"``make test`` 覆盖构建契约和桌面程序。``test-ci-kernel`` 委托内核测试并 检查模块、引导载荷和 dracut " +"产物。各套件顺序运行,内部的递归 Make 共用 jobserver,并记录每套耗时。CI 的宿主依赖见 ``.github/CI.md``。" msgstr "" -"``make test-audio`` は引き続き実際の ALSA と OPL3 のビルド依存を必要とし、``tools/test_audio_userland.py`` のログは " -"``out/audio-hda/qa/logs/`` に書きます。音声製品検査には既存のカーネルパッケージ、rootfs、SDK が必要で、欠落はエラーにします。" +"``make test`` はビルドの取り決めとデスクトップアプリを検査します。``test-ci-kernel`` " +"はカーネルテストを委譲し、モジュール、起動ペイロード、dracut 成果物を検査します。各スイートを順に実行し、内部の Make は " +"jobserver を共有して所要時間を記録します。ホストの依存関係は ``.github/CI.md`` を参照してください。" msgid "仓库边界" msgstr "リポジトリの境界" msgid "" -"ReliefOS 持有应用、运行库、SDK、APK、安装器、镜像与完整系统 QEMU/VMware 集成测试。内核实现、驱动、文件系统、调度、内存和 Linux UAPI 的测试及原生 " -"系统调用探针由 ReliefNT 仓库持有,入口见其 ``Documentation/process/testing.rst``。混合套件按实现归属拆开,主仓不保留 内核夹具副本或旧脚本转发文件。" -msgstr "" -"ReliefOS はアプリケーション、ランタイム、SDK、APK、インストーラー、イメージ、システム全体の QEMU/VMware " -"統合テストを担当します。カーネル実装、ドライバー、FS、スケジューリング、メモリー、Linux UAPI のテストとネイティブ syscall プローブは ReliefNT が担当し、入口はその " -"``Documentation/process/testing.rst`` を参照します。混合スイートは実装の所属で分け、本リポジトリにカーネル fixture " -"のコピーや旧スクリプト転送ファイルを残しません。" - -msgid "" -"``tests/build/test-test-ownership.sh`` 构建契约检查测试源码归属,包括 Shell 测试 直接引用内核私有源码和头文件的情况。旧内核桌面实现与可执行文件 " -"GID 服务权限的 残留检查由 ReliefNT 的 ``service_roles`` 套件持有;主仓的 ``tests/build/test-x11-only.sh`` " -"只检查本仓的应用、运行库与产品配置。 主仓保留方便调用的 ``test-vdso``、``test-smp-time``、``test-page-cache-growth``、 ``test-" -"user-return``、``test-syscall-io``、``test-kernel-host`` 与 ``test-kernel-ownership`` Make " -"目标,它们委托内核自己的 Make 入口, 不在父仓复制内核测试清单。``test-legacy`` 同样先委托内核定向回归组, 再运行主仓 Unix IPC 与用户态 syscall 头检查。" +"ReliefOS 持有应用、运行库、打包、安装器、镜像和完整系统集成测试。 内核测试和原生 ABI 探针由 ReliefNT 持有,主仓通过内核 " +"Make 入口或实际 探针源码运行集成检查。``tools/test_test_ownership.py`` 检查测试归属。" msgstr "" -"``tests/build/test-test-ownership.sh`` はテストソースの所属を検査し、Shell " -"テストがカーネル内部のソースやヘッダーを直接参照する場合も対象にします。旧カーネルデスクトップ実装と実行ファイル GID サービス権限の残存検査は ReliefNT の " -"``service_roles`` が担当し、本リポジトリの ``tests/build/test-x11-only.sh`` " -"は自分のアプリケーション、ランタイム、製品設定だけを検査します。便利な Make ターゲット ``test-vdso``、``test-smp-time``、``test-page-cache-" -"growth``、``test-user-return``、``test-syscall-io``、``test-kernel-host``、``test-kernel-ownership`` " -"は残し、カーネル独自の Make 入口へ委譲して、テスト一覧を親へコピーしません。``test-legacy`` も先にカーネルの対象回帰群へ委譲し、その後に本リポジトリの Unix IPC " -"とユーザー空間 syscall ヘッダーを検査します。" +"ReliefOS はアプリ、ランタイム、パッケージ、インストーラー、イメージ、システム統合の検査を担当します。カーネルの検査とネイティブ ABI " +"プローブは ReliefNT が管理します。統合テストはカーネルの Make " +"入口またはプローブのソースを利用します。``tools/test_test_ownership.py`` でこの境界を検査します。" msgid "" -"来宾启动、SDK 编译和应用互操作仍由本仓编排;需要原生 ABI 探针时,直接消费 ``kernel/reliefnt/tools/tests/`` 内的源文件;公开 UAPI 的消费和完整系统的" -" 构建集成检查仍属于主仓。" +"签名、安装 ISO、磁盘启动与内核滚动升级使用 ``tests/integration/arch-*`` " +"的实际脚本。``tools/test_arch_systemd_qemu.py`` 通过只读夹具磁盘和私有 overlay " +"运行来宾检查,默认保留串口与结果。" msgstr "" -"ゲスト起動、SDK コンパイル、アプリケーション相互運用は引き続き本リポジトリが制御します。ネイティブ ABI プローブが必要な場合は " -"``kernel/reliefnt/tools/tests/`` のソースを直接使用します。公開 UAPI の利用検査とシステム全体のビルド統合検査も本リポジトリの担当です。" +"署名、インストーラー ISO、ディスク起動、カーネルのローリング更新には ``tests/integration/arch-*`` " +"のスクリプトを使用します。``tools/test_arch_systemd_qemu.py`` は読み取り専用のフィクスチャと専用 " +"overlay でゲストを検査し、既定でシリアルログと結果を保存します。" msgid "运行证据" msgstr "実行証拠" msgid "" -"QEMU 测试使用私有磁盘,保留源镜像与注入载荷摘要、完整串口、返回码、 截图和独立读回。界面出现不等于交互成功;编译成功不等于镜像含有新文件。 Installer 还须覆盖安装后的无 ISO " -"启动;VT、权限、错误路径分别检查。 QEMU 的 VMware 显卡型号不能替代 VMware 真实运行证明。 现有失败见 :doc:`../admin-" -"guide/limitations`;不重生成 golden 掩盖差异。" +"QEMU 测试使用私有磁盘,保留源镜像与注入载荷摘要、完整串口、返回码、 " +"独立读回,图形回归按需保留截图。界面出现不等于交互成功;编译成功不等于镜像含有新文件。 Installer 还须覆盖安装后的无 ISO " +"启动;VT、权限、错误路径分别检查。 QEMU 的 VMware 显卡型号不能替代 VMware 真实运行证明。 现有失败见 :doc" +":`../admin-guide/limitations`;不重生成 golden 掩盖差异。" msgstr "" "QEMU " -"テストは専用ディスクを使い、元イメージと注入ペイロードのダイジェスト、全シリアルログ、戻り値、画像、独立した読み戻しを残します。画面表示は操作成功を、コンパイル成功は新ファイルのイメージへの収録を証明しません。Installer" -" では導入後の ISO なし起動も必要で、VT、権限、エラー経路を個別に検査します。QEMU の VMware GPU モデルを実際の VMware 実行証拠に代えられません。既存の失敗は " -":doc:`../admin-guide/limitations` を参照し、差異を隠すために golden を再生成しません。" +"では専用ディスクを使用します。ソースと注入ファイルのダイジェスト、完全なシリアルログ、終了状態、独立した読み戻しを保存します。画面の証拠は必要に応じて保存します。インストーラーではインストール後に" +" ISO なしで起動し、VT、権限、エラー経路も個別に確認します。VMware は別途検証します。既知の問題は :doc:`../admin-" +"guide/limitations` を参照し、比較のための基準フィクスチャは保持します。" msgid "Xorg 渲染回归" msgstr "Xorg 描画回帰" msgid "" -"``tools/tests/xorg_render_runtime_probe.c`` 是在隔离 X server 上运行的维护 探针,不安装到产品镜像。它使用 POSIX C 和 " -"Xlib。可在具备 C 编译器、X11 开发头及库的 ReliefOS 来宾内编译并运行::" +"``tools/tests/xorg_render_runtime_probe.c`` 是在隔离 X server 上运行的维护 " +"探针,不安装到产品镜像。它使用 POSIX C 和 Xlib。可在具备 C 编译器、X11 开发头及库的 ReliefOS 来宾内编译并运行::" msgstr "" -"``tools/tests/xorg_render_runtime_probe.c`` は隔離 X server で動く保守用プローブで、製品イメージには導入しません。POSIX C と Xlib" -" を使い、C コンパイラーと X11 開発ヘッダー/ライブラリのある ReliefOS ゲストでコンパイルして実行できます::" +"``tools/tests/xorg_render_runtime_probe.c`` は隔離 X server " +"で動く保守用プローブで、製品イメージには導入しません。POSIX C と Xlib を使い、C コンパイラーと X11 " +"開発ヘッダー/ライブラリのある ReliefOS ゲストでコンパイルして実行できます::" msgid "" -"``--wait`` 只验证可连接 X server;``--wait-wm`` 等待窗口管理器发布 ``_NET_SUPPORTING_WM_CHECK`` " -"并检查目标窗口回指自身,拒绝失效属性;两者都 不能替代绘制测试。普通模式检查同步 矩形绘制、批量绘制、重叠滚动、窗口移动和 Pixmap 创建/复制/销毁;关键 阶段以 XGetImage " -"验证像素。X 错误、错误像素和分配失败均使探针失败。 独立 heartbeat 进程每两秒输出时间,供外部超时监视器检查系统是否仍响应。" +"``--wait`` 只验证可连接 X server;``--wait-wm`` 等待窗口管理器发布 " +"``_NET_SUPPORTING_WM_CHECK`` 并检查目标窗口回指自身,拒绝失效属性;两者都 不能替代绘制测试。普通模式检查同步 " +"矩形绘制、批量绘制、重叠滚动、窗口移动和 Pixmap 创建/复制/销毁;关键 阶段以 XGetImage 验证像素。X " +"错误、错误像素和分配失败均使探针失败。 独立 heartbeat 进程每两秒输出时间,供外部超时监视器检查系统是否仍响应。" msgstr "" -"``--wait`` は X server への接続だけを検証します。``--wait-wm`` はウィンドウマネージャーの ``_NET_SUPPORTING_WM_CHECK`` " +"``--wait`` は X server への接続だけを検証します。``--wait-wm`` はウィンドウマネージャーの " +"``_NET_SUPPORTING_WM_CHECK`` " "公開を待ち、対象ウィンドウが自身を指すことを調べ、無効なプロパティーを拒否します。どちらも描画テストの代わりにはなりません。通常モードは同期矩形描画、一括描画、重複スクロール、ウィンドウ移動、Pixmap" -" の作成/コピー/破棄を調べ、主要段階で XGetImage によりピクセルを検証します。X エラー、誤ピクセル、割り当て失敗はプローブ失敗です。独立 heartbeat プロセスが 2 " +" の作成/コピー/破棄を調べ、主要段階で XGetImage によりピクセルを検証します。X " +"エラー、誤ピクセル、割り当て失敗はプローブ失敗です。独立 heartbeat プロセスが 2 " "秒ごとに時刻を出力し、外部のタイムアウト監視がシステム応答を確認できます。" msgid "" -"探针的窗口使用 override_redirect,窗口移动不等于验证 IceWM 鼠标拖动。 普通模式要求窗口无遮挡;XGetImage 不保证返回被遮挡且无 backing store 的 " -"窗口区域内容,见 `Xlib 图像读回约定 `_。 " -"与其他桌面应用并发时,使用 ``--offscreen`` 在独占 Pixmap 上 绘制和校验,并复制首尾画面到窗口,避免把遮挡/Expose 当作绘制错误。 同步绘制包含 X11 " -"往返开销;批量绘制包含末尾读回,不能将它们解释为纯 GPU 吞吐量。计时只用于诊断,返回零也不表示达到了某个性能门槛。" +"探针的窗口使用 override_redirect,窗口移动不等于验证 IceWM 鼠标拖动。 普通模式要求窗口无遮挡;XGetImage " +"不保证返回被遮挡且无 backing store 的 窗口区域内容,见 `Xlib 图像读回约定 " +"`_。" +" 与其他桌面应用并发时,使用 ``--offscreen`` 在独占 Pixmap 上 绘制和校验,并复制首尾画面到窗口,避免把遮挡/Expose" +" 当作绘制错误。 同步绘制包含 X11 往返开销;批量绘制包含末尾读回,不能将它们解释为纯 GPU " +"吞吐量。计时只用于诊断,返回零也不表示达到了某个性能门槛。" msgstr "" "プローブのウィンドウは override_redirect を使うため、移動しても IceWM " -"のマウスドラッグを検証したことにはなりません。通常モードは遮蔽のないウィンドウを必要とします。XGetImage は backing store のない遮蔽領域の内容を保証しません。`Xlib " -"の画像読み戻し規約 `_ " -"を参照してください。他のデスクトップアプリケーションと同時実行する場合は ``--offscreen`` で専用 Pixmap " -"に描画して検証し、最初と最後の画面をウィンドウへコピーして、遮蔽/Expose を描画エラーと誤認しないようにします。同期描画は X11 往復、一括描画は最後の読み戻しを含み、純粋な GPU " -"スループットとは解釈できません。計時は診断専用で、終了状態 0 でも性能条件を満たしたことにはなりません。" +"のマウスドラッグを検証したことにはなりません。通常モードは遮蔽のないウィンドウを必要とします。XGetImage は backing store " +"のない遮蔽領域の内容を保証しません。`Xlib の画像読み戻し規約 " +"`_" +" を参照してください。他のデスクトップアプリケーションと同時実行する場合は ``--offscreen`` で専用 Pixmap " +"に描画して検証し、最初と最後の画面をウィンドウへコピーして、遮蔽/Expose を描画エラーと誤認しないようにします。同期描画は X11 " +"往復、一括描画は最後の読み戻しを含み、純粋な GPU スループットとは解釈できません。計時は診断専用で、終了状態 0 " +"でも性能条件を満たしたことにはなりません。" msgid "" "比较性能时使用相同探针、桌面配置、分辨率、vCPU 和内存,等待 IceWM 就绪后重复采样,顺序运行各台 VM。软件对照使用 " @@ -155,9 +119,12 @@ msgstr "" "を記録します。カーネルとプローブのダイジェスト、シリアルログ全体、終了コード、各回の所要時間を記録します。起動時のフォントとライブラリの読み込み時間は、定常時の描画性能と分けて測定します。" msgid "" -"全量 syscall-trace 会向串口输出大量日志,显著扰动测试,应仅用于定性 定位;其结果不能进入性能对照。超时、探针失败、Xorg 退出和 Kernel Panic " -"要分别记录。稳定性测试应另行叠加桌面应用、CPU/内存压力与重复启动, 并保留 panic 的 Reason、RIP 和调用栈;短时无崩溃不构成永久稳定性保证。" +"全量 syscall-trace 会向串口输出大量日志,显著扰动测试,应仅用于定性 定位;其结果不能进入性能对照。超时、探针失败、Xorg 退出和" +" Kernel Panic 要分别记录。稳定性测试应另行叠加桌面应用、CPU/内存压力与重复启动, 并保留 panic 的 Reason、RIP " +"和调用栈;短时无崩溃不构成永久稳定性保证。" msgstr "" -"全 syscall-trace は大量のシリアルログで測定を大きく乱すため、定性的な原因調査だけに使い、性能比較には含めません。タイムアウト、プローブ失敗、Xorg 終了、Kernel Panic" -" は個別に記録します。安定性テストではさらにデスクトップアプリケーション、CPU/メモリー負荷、反復起動を組み合わせ、panic の " +"全 syscall-trace " +"は大量のシリアルログで測定を大きく乱すため、定性的な原因調査だけに使い、性能比較には含めません。タイムアウト、プローブ失敗、Xorg " +"終了、Kernel Panic " +"は個別に記録します。安定性テストではさらにデスクトップアプリケーション、CPU/メモリー負荷、反復起動を組み合わせ、panic の " "Reason、RIP、スタックを残します。短時間クラッシュしなかったことは恒久的な安定性の保証ではありません。" diff --git a/Documentation/locale/ja/LC_MESSAGES/userspace-api/abi.po b/Documentation/locale/ja/LC_MESSAGES/userspace-api/abi.po index 1617198e..57b2dd75 100644 --- a/Documentation/locale/ja/LC_MESSAGES/userspace-api/abi.po +++ b/Documentation/locale/ja/LC_MESSAGES/userspace-api/abi.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "ABI 与系统调用" msgstr "ABI とシステムコール" @@ -19,93 +21,131 @@ msgid "入口与错误" msgstr "入口とエラー" msgid "" -"x86_64 使用 Linux syscall 编号和寄存器约定:rax 为编号,参数为 rdi/rsi/rdx/r10/r8/r9,返回负 errno 表示失败。未知接口返回 ENOSYS; " -"应用不能从一个编号存在推断其全部 Linux 行为。POSIX 用户态应优先使用 libc。 指针、容量、枚举、版本及授权由内核最终检查。" +"x86_64 使用 Linux syscall 编号和寄存器约定:rax 为编号,参数为 rdi/rsi/rdx/r10/r8/r9,返回负 " +"errno 表示失败。未知接口返回 ENOSYS; 应用不能从一个编号存在推断其全部 Linux 行为。POSIX 用户态应优先使用 libc。 " +"指针、容量、枚举、版本及授权由内核最终检查。" msgstr "" -"x86_64 は Linux の syscall 番号とレジスター規約を使います。rax は番号、rdi/rsi/rdx/r10/r8/r9 は引数で、負の errno " -"を返すと失敗です。未知のインターフェースは ENOSYS を返します。アプリケーションは番号の存在から Linux の全動作を推定してはいけません。POSIX ユーザー空間では libc " +"x86_64 は Linux の syscall 番号とレジスター規約を使います。rax は番号、rdi/rsi/rdx/r10/r8/r9 " +"は引数で、負の errno を返すと失敗です。未知のインターフェースは ENOSYS を返します。アプリケーションは番号の存在から Linux " +"の全動作を推定してはいけません。POSIX ユーザー空間では libc " "を優先してください。ポインター、容量、列挙値、バージョン、認可はカーネルが最終検査します。" -msgid "系统调用声明与编号位于内核导出的 UAPI,公开扩展位于主仓 include/reliefos。 用户态只消费 headers_install 的白名单结果,不复制内核私有布局。" +msgid "" +"系统调用声明与编号位于内核导出的 UAPI,公开扩展位于主仓 include/reliefos。 用户态只消费 headers_install " +"的白名单结果,不复制内核私有布局。" msgstr "" -"システムコールの宣言と番号はカーネルがエクスポートする UAPI に、公開拡張は本リポジトリの include/reliefos にあります。ユーザー空間は headers_install " -"の許可リストによる結果だけを使用し、カーネル内部のレイアウトはコピーしません。" +"システムコールの宣言と番号はカーネルがエクスポートする UAPI に、公開拡張は本リポジトリの include/reliefos " +"にあります。ユーザー空間は headers_install の許可リストによる結果だけを使用し、カーネル内部のレイアウトはコピーしません。" msgid "版本与兼容" msgstr "バージョンと互換性" msgid "" -"公开结构用定宽字段;扩展要处理调用方大小、版本和错误,不传内核指针。 规范扩展库为 ``libreliefos.so.2``,旧 ``libleonos.so.2`` 是独立兼容库, " -"不能简单把旧库变成新库符号链接。既有 leonos 转发头、符号与冻结协议值在 明确支持处保留,不代表允许新增旧命名接口。" +"公开结构用定宽字段;扩展要处理调用方大小、版本和错误,不传内核指针。 规范扩展库为 ``libreliefos.so.2``,公共头位于 " +"````。 应用需使用 glibc 工具链和当前开发包重新链接。" msgstr "" -"公開構造体は固定幅フィールドを使い、拡張では呼び出し側のサイズ、バージョン、エラーを扱い、カーネルポインターを渡しません。正式な拡張ライブラリは ``libreliefos.so.2`` で、旧 " -"``libleonos.so.2`` は独立した互換ライブラリです。単に新ライブラリへのシンボリックリンクにしてはいけません。既存の leonos " -"転送ヘッダー、シンボル、凍結済みプロトコル値は、明示的な対応箇所で保持しますが、旧名称の新規インターフェースを許可するものではありません。" +"公開構造体には固定幅フィールドを使います。拡張時は呼び出し元のサイズ、バージョン、エラーを扱い、カーネルポインターは内部に保持します。拡張ライブラリは" +" ``libreliefos.so.2`` で、公開ヘッダーは ```` にあります。アプリは glibc " +"と現行の開発パッケージでリンクし直します。" msgid "" -"早期产品激活接口已退役:不再提供联网验证、离线密钥、许可证状态或对应的 旧名称别名,SDK 也不再导出这些声明。依赖旧激活接口的应用需要移除调用后 " -"重新编译;兼容验证将这组接口列为已退役,要求当前库中不存在这些符号。 历史 ABI 基线保留原记录。独立的硬件信息接口与 标准 DMI/sysfs 查询继续提供,不涉及产品激活。" +"早期产品激活接口已退役:不再提供联网验证、离线密钥、许可证状态或对应的 旧名称别名,SDK 也不再导出这些声明。依赖旧激活接口的应用需要移除调用后" +" 重新编译;兼容验证将这组接口列为已退役,要求当前库中不存在这些符号。 历史 ABI 基线保留原记录。独立的硬件信息接口与 标准 " +"DMI/sysfs 查询继续提供,不涉及产品激活。" msgstr "" "初期の製品アクティベーション API は廃止しました。オンライン検証、オフラインキー、ライセンス状態、対応する旧名称の別名は提供せず、SDK " "も宣言をエクスポートしません。依存するアプリケーションは呼び出しを削除して再コンパイルする必要があります。互換性検証ではこの一群を廃止済みとし、現行ライブラリにシンボルがないことを要求します。過去の" -" ABI 基準には元の記録を残します。独立したハードウェア情報 API と標準の DMI/sysfs 照会は引き続き提供し、製品アクティベーションには関与しません。" +" ABI 基準には元の記録を残します。独立したハードウェア情報 API と標準の DMI/sysfs " +"照会は引き続き提供し、製品アクティベーションには関与しません。" msgid "" -"驱动服务表当前为版本 2、304 字节;测试保留 168 字节历史前缀并单独冻结 版本 2 的追加字段。旧版本驱动描述符在初始化前拒绝,不能将前缀保留视为 旧驱动二进制兼容;见 " -":doc:`../admin-guide/limitations`。 调用约定一致不等于所有结构布局或行为已完整认证。" +"驱动服务表当前为版本 2、304 字节;测试保留 168 字节历史前缀并单独冻结 版本 2 " +"的追加字段。旧版本驱动描述符在初始化前拒绝,不能将前缀保留视为 旧驱动二进制兼容;见 :doc:`../admin-" +"guide/limitations`。 调用约定一致不等于所有结构布局或行为已完整认证。" msgstr "" "ドライバーサービステーブルは現在バージョン 2、304 バイトです。テストでは過去の 168 バイトの接頭部を保持し、バージョン 2 " -"の追加フィールドを個別に凍結します。旧バージョンのドライバー記述子は初期化前に拒否するため、接頭部の保持を旧ドライバーのバイナリー互換性とみなしてはいけません。:doc:`../admin-" -"guide/limitations` を参照してください。呼び出し規約の一致は、全構造体レイアウトや動作の完全な認証を意味しません。" +"の追加フィールドを個別に凍結します。旧バージョンのドライバー記述子は初期化前に拒否するため、接頭部の保持を旧ドライバーのバイナリー互換性とみなしてはいけません。:doc" +":`../admin-guide/limitations` " +"を参照してください。呼び出し規約の一致は、全構造体レイアウトや動作の完全な認証を意味しません。" msgid "进程、时间与描述符" msgstr "プロセス、時刻、記述子" msgid "" -"execve/execveat 的参数、环境和初始栈限制由 ReliefNT 的现行契约定义; fd 时间戳操作按打开的 inode 身份执行。文件访问模式、O_PATH 和能力不能绕过。 " -"vDSO 提供已实现的时间接口,失败或不支持的时钟保留 syscall 路线。 源文件与运行模型见内核 ``Documentation/userspace-api/``。" +"execve/execveat 的参数、环境和初始栈限制由 ReliefNT 的现行契约定义; fd 时间戳操作按打开的 inode " +"身份执行。文件访问模式、O_PATH 和能力不能绕过。 vDSO 提供已实现的时间接口,失败或不支持的时钟保留 syscall 路线。 " +"源文件与运行模型见内核 ``Documentation/userspace-api/``。" msgstr "" -"execve/execveat の引数、環境、初期スタックの制限は ReliefNT の現行契約で定義します。fd のタイムスタンプ操作は、開いた inode " -"の識別情報に基づいて行います。ファイルアクセスモード、O_PATH、ケーパビリティーは迂回できません。vDSO は実装済みの時刻 API を提供し、失敗や未対応の時計には syscall " -"経路を残します。ソースと実行モデルはカーネルの ``Documentation/userspace-api/`` を参照してください。" +"execve/execveat の引数、環境、初期スタックの制限は ReliefNT の現行契約で定義します。fd のタイムスタンプ操作は、開いた" +" inode の識別情報に基づいて行います。ファイルアクセスモード、O_PATH、ケーパビリティーは迂回できません。vDSO は実装済みの時刻 " +"API を提供し、失敗や未対応の時計には syscall 経路を残します。ソースと実行モデルはカーネルの ``Documentation" +"/userspace-api/`` を参照してください。" msgid "X11 应用通过 Xorg 通信。未知或旧兼容路径不能当作新的公开接口。" msgstr "X11 アプリケーションは Xorg 経由で通信します。未知の経路や旧互換経路を新しい公開 API とみなしてはいけません。" -msgid "兼容名称分类" -msgstr "互換名称の分類" - -msgid "品牌检查对旧名称按精确文件路径登记,不使用整目录豁免:" -msgstr "ブランド検査では旧名称を正確なファイルパス単位で登録し、ディレクトリ全体は除外しません。" - -msgid "compatibility:已有符号、SONAME、磁盘/协议字节值及转发头。" -msgstr "compatibility:既存のシンボル、SONAME、ディスク/プロトコルのバイト値、転送ヘッダー。" +msgid "带进程文件描述符的快照" +msgstr "プロセスファイルディスクリプター付きのスナップショット" -msgid "history:明确的历史事实或源码迁移映射,不是当前产品显示名。" -msgstr "history:明確な過去の事実やソース移行の対応表。現行製品の表示名ではありません。" +msgid "" +"```` 中的 ``reliefos_task_snapshot_pidfds()`` 和原有 " +"``reliefos_task_snapshot()`` 使用相同的进程记录和时间戳约定。调用者为 ``tasks`` 和 ``pidfds`` " +"各提供至少 ``capacity`` 个元素;成功返回的行数同时 适用于两个数组。每一行的 ``pidfds`` 值是带 " +"``FD_CLOEXEC`` 的独立描述符, 或在无法取得稳定描述符时为 ``-1``。调用者负责关闭返回范围内的所有非负值。" +msgstr "" +"```` の ``reliefos_task_snapshot_pidfds()`` は、既存の " +"``reliefos_task_snapshot()`` と同じプロセスレコードとタイムスタンプの規約を使用します。呼び出し側は " +"``tasks`` と ``pidfds`` にそれぞれ ``capacity`` " +"個以上の要素を用意します。成功時の戻り値は両方の配列に共通する行数です。``pidfds`` の各要素は ``FD_CLOEXEC`` " +"付きの個別のディスクリプター、または安定したディスクリプターを取得できない場合は ``-1`` です。返された範囲の 0 " +"以上のディスクリプターはすべて呼び出し側で閉じてください。" -msgid "external-url:实际仍使用的外部 URL,不能未经迁移擅自改名。" -msgstr "external-url:実際に使用中の外部 URL。移行せずに勝手に改名してはいけません。" +msgid "" +"任务管理器用描述符绑定选中的进程。打开结束任务确认框时,它复制该描述符, 不因列表刷新改变目标;如果进程已退出或描述符不可用,不退回按数字 PID" +" 发送信号。" +msgstr "" +"タスクマネージャーは、選択したプロセスをディスクリプターで識別します。タスクの終了を確認するダイアログを開く前にディスクリプターを複製するため、一覧が更新されても対象は変わりません。プロセスが終了済みの場合やディスクリプターが取得できない場合に、数値" +" PID を使ってシグナルを送信することはありません。" -msgid "attribution:第三方作者、许可和来源原文。" -msgstr "attribution:サードパーティーの著者、ライセンス、由来の原文。" +msgid "按任务选择 uname 系统名" +msgstr "タスクごとの uname システム名の選択" -msgid "migration:尚待完成的过渡项,严格发布检查必须单独审阅。" -msgstr "migration:未完了の移行項目。厳格なリリース検査では個別に審査が必要です。" +msgid "" +"导出头 ```` 定义 ``RELIEFOS_PR_SET_UNAME_LINUX`` " +"(``0x52550001``)和 ``RELIEFOS_PR_GET_UNAME_LINUX``(``0x52550002``)。 使用 " +"libc 的 ``prctl`` 调用,无需额外用户态包装或特权。 SET 的第二个参数为 ``0UL``(原生)或 " +"``1UL``(Linux),其余参数必须 为零;GET 的四个参数必须为零,返回当前的 0 或 1。 非法值或非零保留参数返回 " +"``EINVAL``,不更改状态。" +msgstr "" +"公開ヘッダー ```` は " +"``RELIEFOS_PR_SET_UNAME_LINUX``(``0x52550001``)と " +"``RELIEFOS_PR_GET_UNAME_LINUX``(``0x52550002``)を定義します。追加のユーザー空間ラッパーや特権は不要で、libc" +" の ``prctl`` を使用します。SET の第 2 引数は ``0UL``(ネイティブ)または " +"``1UL``(Linux)とし、残りの引数はすべてゼロにします。GET の 4 引数はすべてゼロとし、現在の選択 0 または 1 " +"を返します。不正な値やゼロ以外の予約引数には、状態を変更せず ``EINVAL`` を返します。" -msgid "文档迁移只移除已删除文件的登记;无关的既有失败不因目录改名而豁免。" -msgstr "ドキュメント移行では削除済みファイルの登録だけを除去し、無関係な既存の失敗をディレクトリ名変更によって免除しません。" +msgid "" +"该选择针对调用任务,随 fork/clone 复制并跨 exec 保留;修改某任务的选择 不会影响已存在的其他任务。默认关闭,仅改变 " +"``uname(2)`` 的 ``sysname``,保留其他字段和全局内核信息。SDK 的 headers_install " +"白名单同时导出此头;使用方式见 :doc:`../admin-guide/linuxuname`。" +msgstr "" +"選択は呼び出しタスクに属し、fork/clone でコピーされ、exec " +"後も保持されます。あるタスクの変更は既存の別タスクに影響しません。既定では無効で、``uname(2)`` の ``sysname`` " +"だけを変更し、他のフィールドとグローバルなカーネル情報を保持します。SDK の headers_install " +"許可リストもこのヘッダーを公開します。使用方法は :doc:`../admin-guide/linuxuname` を参照してください。" msgid "旧窗口接口移除" msgstr "旧ウィンドウ API の削除" msgid "" -"旧自研窗口、鼠标区域、外观广播和 UI 工具包导出已移除,不再提供转发或空实现。 集成验证要求已移除的图形接口不存在,并继续检查 其他接口的布局、符号类型和 SONAME。进程/时钟与 fbdev" -" 辅助声明分别位于 ```` 和 ````,应用必须重新构建。" +"旧自研窗口、鼠标区域、外观广播和 UI 工具包导出已移除,不再提供转发或空实现。 集成验证要求已移除的图形接口不存在,并继续检查 " +"其他接口的布局、符号类型和 SONAME。进程/时钟与 fbdev 辅助声明分别位于 ```` 和 " +"````,应用必须重新构建。" msgstr "" -"旧自作ウィンドウ、マウス領域、外観ブロードキャスト、UI ツールキットのエクスポートは削除し、転送や空実装を提供しません。統合検証は削除済みグラフィック API が存在しないことを要求し、他の " -"API のレイアウト、シンボル型、SONAME は引き続き検査します。プロセス/時計と fbdev の補助宣言は、それぞれ ```` と " -"```` にあります。アプリケーションは再ビルドが必要です。" +"旧自作ウィンドウ、マウス領域、外観ブロードキャスト、UI " +"ツールキットのエクスポートは削除し、転送や空実装を提供しません。統合検証は削除済みグラフィック API が存在しないことを要求し、他の API " +"のレイアウト、シンボル型、SONAME は引き続き検査します。プロセス/時計と fbdev の補助宣言は、それぞれ " +"```` と ```` にあります。アプリケーションは再ビルドが必要です。" msgid "引导与构建接口收敛" msgstr "起動とビルドの API 整理" @@ -113,11 +153,12 @@ msgstr "起動とビルドの API 整理" msgid "" "开机前的交互诊断会话、独立载荷、SDK 控制接口和旧名称别名已整体移除。 系统信息应用只显示版本信息,内核直接进入正常初始化流程。 " "依赖已删除控制接口的程序必须移除调用并重新构建,不提供兼容空实现。 ABI 清单同步删除这些已退役条目,其余结构布局、常量和符号约定保持不变。 " -"内核安装包只要求内核与独立符号文件;版本化启动目录保留内核、initramfs 和 引导环境文件。构建调试配置、符号定位、串口日志及 panic 报告继续可用。" +"内核安装包只要求内核与独立符号文件;版本化启动目录保留内核、initramfs 和 引导环境文件。构建调试配置、符号定位、串口日志及 panic " +"报告继续可用。" msgstr "" "起動前の対話診断セッション、独立ペイロード、SDK 制御 " -"API、旧名称の別名をまとめて削除しました。システム情報アプリケーションはバージョン情報だけを表示し、カーネルは通常の初期化へ直接進みます。削除した制御 API " -"に依存するプログラムは呼び出しを除去して再ビルドする必要があり、互換用の空実装は提供しません。ABI " +"API、旧名称の別名をまとめて削除しました。システム情報アプリケーションはバージョン情報だけを表示し、カーネルは通常の初期化へ直接進みます。削除した制御" +" API に依存するプログラムは呼び出しを除去して再ビルドする必要があり、互換用の空実装は提供しません。ABI " "一覧からも廃止項目を削除し、他の構造体レイアウト、定数、シンボル規約は維持します。カーネルのインストールパッケージが要求するのはカーネルと独立シンボルファイルだけで、バージョン付き起動ディレクトリにはカーネル、initramfs、起動環境ファイルを保持します。デバッグ用ビルド設定、シンボル解決、シリアルログ、panic" " 報告は引き続き利用できます。" @@ -125,61 +166,35 @@ msgid "独立安装实例的引导接口" msgstr "独立したインストールインスタンスの起動 API" msgid "" -"```` 保持原有 ``reliefos_boot_install_options`` 布局及旧接口, 新增 " -"``reliefos_boot_prepare_instance`` 创建带所有权标记的根 PARTUUID 命名目录, ``reliefos_boot_validate_instance`` " -"只读核对该目录和物理 ESP 的实际 inode, ``reliefos_boot_install_instance_at_root`` 发布实例内核、菜单及独立 EFI 文件。 " -"新接口显式传入物理 ESP;``boot_dir`` 可为实例目录的 bind 挂载点。 目录遍历拒绝 symlink,未知目录内容不能被认作本安装器所有。 低层内核包发布还会核对实例标记中的 " -"PARTUUID 与实际根设备,防止跨实例更新。 原有直接挂载 ESP 到 ``/boot`` 的系统继续使用旧接口,不改变其现有文件布局。" +"```` 保持原有 ``reliefos_boot_install_options`` " +"布局及旧接口, 新增 ``reliefos_boot_prepare_instance`` 创建带所有权标记的根 PARTUUID 命名目录, " +"``reliefos_boot_validate_instance`` 只读核对该目录和物理 ESP 的实际 inode, " +"``reliefos_boot_install_instance_at_root`` 发布实例内核、菜单及独立 EFI 文件。 新接口显式传入物理" +" ESP;``boot_dir`` 可为实例目录的 bind 挂载点。 目录遍历拒绝 symlink,未知目录内容不能被认作本安装器所有。 " +"低层内核包发布还会核对实例标记中的 PARTUUID 与实际根设备,防止跨实例更新。 原有直接挂载 ESP 到 ``/boot`` " +"的系统继续使用旧接口,不改变其现有文件布局。" msgstr "" -"```` は既存の ``reliefos_boot_install_options`` レイアウトと旧 API を保持します。新しい " -"``reliefos_boot_prepare_instance`` は所有権マーカー付きの root PARTUUID " -"名のディレクトリを作り、``reliefos_boot_validate_instance`` はそのディレクトリと物理 ESP の実 inode " -"を読み取り専用で照合し、``reliefos_boot_install_instance_at_root`` はインスタンスのカーネル、メニュー、独立 EFI ファイルを公開します。新 API " -"は物理 ESP を明示的に受け取り、``boot_dir`` にはインスタンスディレクトリの bind マウント先も指定できます。ディレクトリ走査は symlink " +"```` は既存の ``reliefos_boot_install_options`` " +"レイアウトと旧 API を保持します。新しい ``reliefos_boot_prepare_instance`` は所有権マーカー付きの " +"root PARTUUID 名のディレクトリを作り、``reliefos_boot_validate_instance`` " +"はそのディレクトリと物理 ESP の実 inode " +"を読み取り専用で照合し、``reliefos_boot_install_instance_at_root`` " +"はインスタンスのカーネル、メニュー、独立 EFI ファイルを公開します。新 API は物理 ESP を明示的に受け取り、``boot_dir`` " +"にはインスタンスディレクトリの bind マウント先も指定できます。ディレクトリ走査は symlink " "を拒否し、未知の内容をこのインストーラーの所有物とは扱いません。下位のカーネルパッケージ公開もマーカーの PARTUUID と実際の root " -"デバイスを照合し、別インスタンスの更新を防ぎます。ESP を直接 ``/boot`` にマウントする既存システムは旧 API を使い続け、既存のファイル配置を変えません。" +"デバイスを照合し、別インスタンスの更新を防ぎます。ESP を直接 ``/boot`` にマウントする既存システムは旧 API " +"を使い続け、既存のファイル配置を変えません。" msgid "第三方库拆分" msgstr "サードパーティーライブラリの分離" msgid "" -"zlib、libpng、mbedTLS 3 已从扩展库的对象集合移到各自官方共享库;公开的 ReliefOS 接口与旧 leonos 别名继续保留,链接器应显式链接使用的第三方库。旧扩展库偶然 " -"导出的厂商内部符号、旧私有 mbedTLS 配置及 ``sqlite.so.3`` VFS 不属于稳定兼容 接口。使用这些实现细节的程序须用 SDK 里的匹配头文件重编译;SQLite 使用标准 " +"zlib、libpng、mbedTLS 3 已从扩展库的对象集合移到各自官方共享库;公开的 ReliefOS " +"接口通过当前库导出,链接器应显式链接使用的第三方库。旧扩展库偶然 导出的厂商内部符号、旧私有 mbedTLS 配置及 " +"``sqlite.so.3`` VFS 不属于稳定兼容 接口。使用这些实现细节的程序须用 SDK 里的匹配头文件重编译;SQLite 使用标准 " "``libsqlite3.so.0`` POSIX VFS。历史 ABI 快照保持原样,兼容检查继续覆盖第一方接口。" msgstr "" -"zlib、libpng、mbedTLS 3 は拡張ライブラリのオブジェクト群から各公式共有ライブラリへ移しました。公開 ReliefOS API と旧 leonos " -"別名は保持し、使用するサードパーティーライブラリは明示的にリンクしてください。旧拡張ライブラリが偶発的に公開したベンダー内部シンボル、旧独自 mbedTLS 設定、``sqlite.so.3`` " -"VFS は安定した互換 API ではありません。実装詳細に依存するプログラムは SDK の対応ヘッダーで再コンパイルする必要があります。SQLite は標準 ``libsqlite3.so.0``" -" の POSIX VFS を使います。過去の ABI スナップショットは保持し、互換性検査は引き続き第一者の API を対象にします。" - -msgid "带进程文件描述符的快照" -msgstr "プロセスファイルディスクリプター付きのスナップショット" - -msgid "" -"```` 中的 ``reliefos_task_snapshot_pidfds()`` 和原有 " -"``reliefos_task_snapshot()`` 使用相同的进程记录和时间戳约定。调用者为 ``tasks`` 和 ``pidfds`` " -"各提供至少 ``capacity`` 个元素;成功返回的行数同时 适用于两个数组。每一行的 ``pidfds`` 值是带 " -"``FD_CLOEXEC`` 的独立描述符, 或在无法取得稳定描述符时为 ``-1``。调用者负责关闭返回范围内的所有非负值。" -msgstr "" -"```` の ``reliefos_task_snapshot_pidfds()`` は、既存の " -"``reliefos_task_snapshot()`` と同じプロセスレコードとタイムスタンプの規約を使用します。呼び出し側は " -"``tasks`` と ``pidfds`` にそれぞれ ``capacity`` " -"個以上の要素を用意します。成功時の戻り値は両方の配列に共通する行数です。``pidfds`` の各要素は ``FD_CLOEXEC`` " -"付きの個別のディスクリプター、または安定したディスクリプターを取得できない場合は ``-1`` です。返された範囲の 0 " -"以上のディスクリプターはすべて呼び出し側で閉じてください。" - -msgid "" -"任务管理器用描述符绑定选中的进程。打开结束任务确认框时,它复制该描述符, 不因列表刷新改变目标;如果进程已退出或描述符不可用,不退回按数字 PID" -" 发送信号。" -msgstr "" -"タスクマネージャーは、選択したプロセスをディスクリプターで識別します。タスクの終了を確認するダイアログを開く前にディスクリプターを複製するため、一覧が更新されても対象は変わりません。プロセスが終了済みの場合やディスクリプターが取得できない場合に、数値" -" PID を使ってシグナルを送信することはありません。" - -msgid "按任务选择 uname 系统名" -msgstr "タスクごとの uname システム名の選択" - -msgid "导出头 ```` 定义 ``RELIEFOS_PR_SET_UNAME_LINUX`` (``0x52550001``)和 ``RELIEFOS_PR_GET_UNAME_LINUX``(``0x52550002``)。 使用 libc 的 ``prctl`` 调用,无需额外用户态包装或特权。 SET 的第二个参数为 ``0UL``(原生)或 ``1UL``(Linux),其余参数必须 为零;GET 的四个参数必须为零,返回当前的 0 或 1。 非法值或非零保留参数返回 ``EINVAL``,不更改状态。" -msgstr "公開ヘッダー ```` は ``RELIEFOS_PR_SET_UNAME_LINUX``(``0x52550001``)と ``RELIEFOS_PR_GET_UNAME_LINUX``(``0x52550002``)を定義します。追加のユーザー空間ラッパーや特権は不要で、libc の ``prctl`` を使用します。SET の第 2 引数は ``0UL``(ネイティブ)または ``1UL``(Linux)とし、残りの引数はすべてゼロにします。GET の 4 引数はすべてゼロとし、現在の選択 0 または 1 を返します。不正な値やゼロ以外の予約引数には、状態を変更せず ``EINVAL`` を返します。" - -msgid "该选择针对调用任务,随 fork/clone 复制并跨 exec 保留;修改某任务的选择 不会影响已存在的其他任务。默认关闭,仅改变 ``uname(2)`` 的 ``sysname``,保留其他字段和全局内核信息。SDK 的 headers_install 白名单同时导出此头;使用方式见 :doc:`../admin-guide/linuxuname`。" -msgstr "選択は呼び出しタスクに属し、fork/clone でコピーされ、exec 後も保持されます。あるタスクの変更は既存の別タスクに影響しません。既定では無効で、``uname(2)`` の ``sysname`` だけを変更し、他のフィールドとグローバルなカーネル情報を保持します。SDK の headers_install 許可リストもこのヘッダーを公開します。使用方法は :doc:`../admin-guide/linuxuname` を参照してください。" +"zlib、libpng、mbedTLS 3 は公式の共有ライブラリを使用します。ReliefOS API " +"は現行ライブラリからエクスポートされます。直接使用するサードパーティーライブラリは明示的にリンクします。ライブラリの内部シンボル、非公開 " +"mbedTLS 設定、従来の SQLite VFS を使用するコードは、対応するヘッダーで再ビルドしてください。SQLite は標準の " +"``libsqlite3.so.0`` POSIX VFS を使用します。自作インターフェイスは引き続き ABI 検査の対象です。" diff --git a/Documentation/locale/ja/LC_MESSAGES/userspace-api/audio.po b/Documentation/locale/ja/LC_MESSAGES/userspace-api/audio.po index 87dcaa8f..defc1b82 100644 --- a/Documentation/locale/ja/LC_MESSAGES/userspace-api/audio.po +++ b/Documentation/locale/ja/LC_MESSAGES/userspace-api/audio.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "音频接口" msgstr "音声 API" @@ -19,70 +21,77 @@ msgid "设备与行为" msgstr "デバイスと動作" msgid "" -"音频支持取决于控制器、codec、路由和当前构建。ALSA/OSS 兼容接口只承诺 实际实现的格式与操作,不因使用上游 alsa-lib 就自动符合完整 Linux 音频 ABI。 " -"缓冲写入需处理非阻塞短写、回压、排空、占用及错误,不能丢弃未完成数据。 应用应明确区分静音、无设备和播放失败。" +"音频支持取决于控制器、codec、路由和当前构建。ALSA/OSS 兼容接口只承诺 实际实现的格式与操作,不因使用上游 alsa-lib " +"就自动符合完整 Linux 音频 ABI。 缓冲写入需处理非阻塞短写、回压、排空、占用及错误,不能丢弃未完成数据。 " +"应用应明确区分静音、无设备和播放失败。" msgstr "" -"音声対応はコントローラー、codec、経路、現在のビルドに依存します。ALSA/OSS 互換 API が保証するのは実装済みの形式と操作だけで、上流 alsa-lib の使用だけで完全な " -"Linux 音声 ABI " +"音声対応はコントローラー、codec、経路、現在のビルドに依存します。ALSA/OSS 互換 API " +"が保証するのは実装済みの形式と操作だけで、上流 alsa-lib の使用だけで完全な Linux 音声 ABI " "適合にはなりません。バッファー書き込みでは非ブロッキングの部分書き込み、バックプレッシャー、排出、占有量、エラーを扱い、未完了データを捨ててはいけません。アプリケーションはミュート、デバイスなし、再生失敗を明確に区別してください。" msgid "验证状态" msgstr "検証状況" msgid "" -"机器可读的音频支持清单位于 ``kernel/reliefnt/configs/audio-abi-support.json``。 这份数据在文档整理时保持内容不变;其 " -"guest_runtime/upstream_alsa 语义及 既有断言冲突仍需按原问题处理,不能通过修改标志掩盖。 ReliefPlayer 的具体编解码和输出范围见 " +"机器可读的音频支持清单位于 ``kernel/reliefnt/configs/audio-abi-support.json``。 " +"这份数据在文档整理时保持内容不变;其 guest_runtime/upstream_alsa 语义及 " +"既有断言冲突仍需按原问题处理,不能通过修改标志掩盖。 ReliefPlayer 的具体编解码和输出范围见 " ":doc:`../applications/reliefplayer`。" msgstr "" "機械可読な音声対応一覧は ``kernel/reliefnt/configs/audio-abi-support.json`` " "にあります。ドキュメント整理では内容を変更しません。guest_runtime/upstream_alsa " -"の意味や既存アサーションの競合は、引き続き元の問題として対処する必要があり、フラグ変更で隠してはいけません。ReliefPlayer の具体的な codec と出力範囲は " -":doc:`../applications/reliefplayer` を参照してください。" +"の意味や既存アサーションの競合は、引き続き元の問題として対処する必要があり、フラグ変更で隠してはいけません。ReliefPlayer の具体的な " +"codec と出力範囲は :doc:`../applications/reliefplayer` を参照してください。" msgid "控制设备与 soundctl" msgstr "制御デバイスと soundctl" -msgid "使用 ``soundctl cards`` 列出卡号,``soundctl --card 0 controls`` 列出当前设备 实际提供的名称、ID、范围和通道数。示例::" +msgid "" +"使用 ``soundctl cards`` 列出卡号,``soundctl --card 0 controls`` 列出当前设备 " +"实际提供的名称、ID、范围和通道数。示例::" msgstr "" "``soundctl cards`` でカード番号を、``soundctl --card 0 controls`` " "で現在のデバイスが実際に提供する名前、ID、範囲、チャンネル数を表示します。例::" msgid "" "名称依卡而变。Master Playback Switch 的 on 表示打开,而 Playback Mute 的 on " -"表示静音。百分比按真实范围和步长取整;单值广播所有通道,多值必须匹配通道数。 枚举接受查询到的标签或项目 ID。route headphones 与 capture-source " -"microphone 依赖 Output Source/Input Source 控件,缺少时返回 ENOTSUP,不假定固定项目编号。" +"表示静音。百分比按真实范围和步长取整;单值广播所有通道,多值必须匹配通道数。 枚举接受查询到的标签或项目 ID。route headphones " +"与 capture-source microphone 依赖 Output Source/Input Source 控件,缺少时返回 " +"ENOTSUP,不假定固定项目编号。" msgstr "" "名前はカードによって異なります。Master Playback Switch の on は有効、Playback Mute の on " -"はミュートを意味します。百分率は実際の範囲と刻み幅に合わせて丸めます。単一値は全チャンネルへ適用し、複数値はチャンネル数と一致する必要があります。列挙型には取得したラベルまたは項目 ID " -"を指定できます。route headphones と capture-source microphone は Output Source/Input Source コントロールに依存し、なければ " -"ENOTSUP を返します。固定の項目番号は仮定しません。" +"はミュートを意味します。百分率は実際の範囲と刻み幅に合わせて丸めます。単一値は全チャンネルへ適用し、複数値はチャンネル数と一致する必要があります。列挙型には取得したラベルまたは項目" +" ID を指定できます。route headphones と capture-source microphone は Output " +"Source/Input Source コントロールに依存し、なければ ENOTSUP を返します。固定の項目番号は仮定しません。" msgid "" -"访问遵守设备节点 DAC。当前默认节点由 root 拥有、模式 0666,管理员可通过 chmod/chown 限制;播放与录音节点的 DAC 独立。控制元素的锁属于打开的文件描述 " -"对象(OFD),dup/fork 共享该对象;其他 OFD 不能窃取锁,最后引用关闭时释放。 事件订阅与排队也依附 OFD。不要按同名进程、路径或裸 fd 数字推断所有权。" +"访问遵守设备节点 DAC。当前默认节点由 root 拥有、模式 0666,管理员可通过 chmod/chown 限制;播放与录音节点的 DAC " +"独立。控制元素的锁属于打开的文件描述 对象(OFD),dup/fork 共享该对象;其他 OFD 不能窃取锁,最后引用关闭时释放。 " +"事件订阅与排队也依附 OFD。不要按同名进程、路径或裸 fd 数字推断所有权。" msgstr "" -"アクセスはデバイスノードの DAC に従います。現在の既定ノードは root 所有、モード 0666 で、管理者は chmod/chown で制限できます。再生ノードと録音ノードの DAC " -"は独立しています。制御要素のロックは open file description(OFD)に属し、dup/fork で共有します。他の OFD " -"はロックを奪えず、最後の参照を閉じると解放します。イベントの購読とキューも OFD に属します。同名プロセス、パス、単なる fd 番号から所有権を推定しないでください。" +"アクセスはデバイスノードの DAC に従います。現在の既定ノードは root 所有、モード 0666 で、管理者は chmod/chown " +"で制限できます。再生ノードと録音ノードの DAC は独立しています。制御要素のロックは open file " +"description(OFD)に属し、dup/fork で共有します。他の OFD " +"はロックを奪えず、最後の参照を閉じると解放します。イベントの購読とキューも OFD に属します。同名プロセス、パス、単なる fd " +"番号から所有権を推定しないでください。" msgid "共享 PCM 与状态" msgstr "共有 PCM と状態" msgid "" -"默认播放使用 dmix、录音使用 dsnoop,硬件端为 hw:0,0。当前配置周期 8192 帧、 硬件缓冲 65536 帧,48 kHz 下约 170.7 ms 周期及 1.365 s " -"缓冲,有明显延迟成本。 共享服务持有对应方向的硬件租约,直接打开 hw:0,0 可能返回 EBUSY。 没有录音端点时不会伪造 capture 节点。" +"默认播放使用 dmix、录音使用 dsnoop,硬件端为 hw:0,0。当前配置周期 8192 帧、 硬件缓冲 65536 帧,48 kHz 下约" +" 170.7 ms 周期及 1.365 s 缓冲,有明显延迟成本。 共享服务持有对应方向的硬件租约,直接打开 hw:0,0 可能返回 EBUSY。" +" 没有录音端点时不会伪造 capture 节点。" msgstr "" -"既定の再生は dmix、録音は dsnoop を使い、ハードウェア側は hw:0,0 です。現在は周期 8192 フレーム、ハードウェアバッファー 65536 フレームで、48 kHz では約 " -"170.7 ms の周期と 1.365 s のバッファーとなり、明確な遅延コストがあります。共有サービスが対応方向のハードウェアリースを持つため、hw:0,0 を直接開くと EBUSY " +"既定の再生は dmix、録音は dsnoop を使い、ハードウェア側は hw:0,0 です。現在は周期 8192 フレーム、ハードウェアバッファー" +" 65536 フレームで、48 kHz では約 170.7 ms の周期と 1.365 s " +"のバッファーとなり、明確な遅延コストがあります。共有サービスが対応方向のハードウェアリースを持つため、hw:0,0 を直接開くと EBUSY " "の場合があります。録音端点がなければ capture ノードを偽装生成しません。" -msgid "" -"OpenRC reliefos-audio 服务在存在时恢复 /var/lib/alsa/asound.state;停止时先写 临时文件,再发布新状态,保存失败保留原状态。修改 " -"/etc/asound.conf 前先记录 设备、格式与运行日志,不用扩大缓冲掩盖有限流输出错误。" +msgid "音量和设备状态可通过 ALSA 工具查询或保存。修改 ``/etc/asound.conf`` 前先记录设备、格式与运行日志。" msgstr "" -"OpenRC の reliefos-audio サービスは /var/lib/alsa/asound.state " -"があれば復元します。停止時は一時ファイルへ書いてから新状態を公開し、保存に失敗したら元の状態を保持します。/etc/asound.conf " -"を変更する前にデバイス、形式、実行ログを記録し、バッファー拡大で有限ストリームの出力エラーを隠さないでください。" +"音量やデバイスの状態は ALSA ツールで確認して保存できます。``/etc/asound.conf`` " +"を編集する前に、デバイス、形式、関連ログを記録してください。" msgid "错误处理与验收边界" msgstr "エラー処理と受け入れ範囲" @@ -101,14 +110,16 @@ msgstr "ENODEV/ENOENT:存在するが利用不能な互換ノードと、実 msgid "非阻塞 DRAIN 还需观察 STATUS 到达 SETUP;完成通知的 POLLERR 不能单独变成 EIO, STATUS XRUN 仍是失败。" msgstr "" -"非ブロッキング DRAIN では STATUS が SETUP に到達することも確認します。完了通知の POLLERR だけで EIO にしてはいけません。STATUS XRUN " -"は引き続き失敗です。" +"非ブロッキング DRAIN では STATUS が SETUP に到達することも確認します。完了通知の POLLERR だけで EIO " +"にしてはいけません。STATUS XRUN は引き続き失敗です。" msgid "" -"用 aplay -l、arecord -l、amixer -c 0 contents、设备权限及 HDA/PCM 日志定位。 完整有限流、重复关闭重开、长期 XRUN 清洁度与真实 VMware " -"HDA 可听性仍有未完成 验收;历史 EPIPE 与尾帧损失反例不能由一次重跑成功抹去。物理 codec 未验证。 AC97/ES1371 的窄 OSS 路线不等于 ALSA " +"用 aplay -l、arecord -l、amixer -c 0 contents、设备权限及 HDA/PCM 日志定位。 " +"完整有限流、重复关闭重开、长期 XRUN 清洁度与真实 VMware HDA 可听性仍有未完成 验收;历史 EPIPE " +"与尾帧损失反例不能由一次重跑成功抹去。物理 codec 未验证。 AC97/ES1371 的窄 OSS 路线不等于 ALSA " "卡支持,具体状态仍以支持清单与真实运行为准。" msgstr "" -"aplay -l、arecord -l、amixer -c 0 contents、デバイス権限、HDA/PCM ログで原因を調べます。有限ストリーム全体、反復した閉鎖と再オープン、長時間の " -"XRUN 不発生、実際の VMware HDA の可聴性は、まだ受け入れ検証が完了していません。1 回の再実行成功で、過去の EPIPE や末尾フレーム欠落の反例は消せません。物理 codec " +"aplay -l、arecord -l、amixer -c 0 contents、デバイス権限、HDA/PCM " +"ログで原因を調べます。有限ストリーム全体、反復した閉鎖と再オープン、長時間の XRUN 不発生、実際の VMware HDA " +"の可聴性は、まだ受け入れ検証が完了していません。1 回の再実行成功で、過去の EPIPE や末尾フレーム欠落の反例は消せません。物理 codec " "は未検証です。AC97/ES1371 の限定的な OSS 経路は ALSA カード対応を意味せず、具体的な状態は対応一覧と実際の実行に従います。" diff --git a/Documentation/locale/ja/LC_MESSAGES/userspace-api/locale.po b/Documentation/locale/ja/LC_MESSAGES/userspace-api/locale.po index 6e08e230..a3c216c1 100644 --- a/Documentation/locale/ja/LC_MESSAGES/userspace-api/locale.po +++ b/Documentation/locale/ja/LC_MESSAGES/userspace-api/locale.po @@ -1,16 +1,18 @@ # msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-12-02 07:10+0800\n" "PO-Revision-Date: 2026-11-14 00:00+0000\n" "Last-Translator: ReliefOS translators\n" -"Language-Team: ja\n" "Language: ja\n" +"Language-Team: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" msgid "语言、区域与资源" msgstr "言語、ロケール、リソース" @@ -19,75 +21,93 @@ msgid "文本" msgstr "テキスト" msgid "" -"图形应用使用 UTF-8,中文和日语显示依赖随系统 staging 的 CJK 字体, 输入法由会话提供。 剪贴板、路径、文档格式和 GPT 名称分别处理编码,不能逐字节截断 Unicode。 " -"不要把可显示中文等同于完整 Unicode 分词、双向排版或 grapheme-break 支持。" +"图形应用使用 UTF-8,中文和日语显示依赖 CJK 字体, 输入法由会话提供。 剪贴板、路径、文档格式和 GPT " +"名称分别处理编码,不能逐字节截断 Unicode。 不要把可显示中文等同于完整 Unicode 分词、双向排版或 grapheme-break " +"支持。" msgstr "" -"GUI アプリケーションは UTF-8 を使い、中国語と日本語の表示はシステムとともに staging する CJK " +"GUI アプリケーションは UTF-8 を使い、中国語と日本語の表示は CJK " "フォントに依存します。入力メソッドはセッションが提供します。クリップボード、パス、文書形式、GPT 名はそれぞれ符号化を扱い、Unicode " "をバイト単位で切断してはいけません。中国語を表示できることは、完全な Unicode の単語分割、双方向組版、書記素境界への対応を意味しません。" +msgid "Arch/systemd 区域配置" +msgstr "Arch/systemd のロケール設定" + +msgid "" +"``make rootfs`` 在目标根的 ``/etc/locale.gen`` 中启用 ``en_US.UTF-8 " +"UTF-8``、``zh_CN.UTF-8 UTF-8`` 和 ``ja_JP.UTF-8 UTF-8``, 运行目标系统的 ``locale-" +"gen`` 生成 glibc 区域数据,并用 ``locale -a`` 检查三种区域。 该步骤用于 IceWM、实验性 Xfce 和 " +"console 三种装配选项。" +msgstr "" +"``make rootfs`` は対象の ``/etc/locale.gen`` で ``en_US.UTF-8 " +"UTF-8``、``zh_CN.UTF-8 UTF-8``、``ja_JP.UTF-8 UTF-8`` を有効にします。対象の ``locale-" +"gen`` で glibc ロケールを生成し、``locale -a`` で確認します。IceWM、実験的な " +"Xfce、コンソールの各イメージに適用します。" + +msgid "" +"系统默认语言保存到 ``/etc/locale.conf``,初始内容为 ``LANG=en_US.UTF-8``。 调整默认语言时,将 " +"``LANG`` 设为已生成的 ``zh_CN.UTF-8`` 或 ``ja_JP.UTF-8`` 等区域并重新登录。区域数据供标准 " +"``setlocale`` 使用,应用翻译继续使用 gettext。 Arch/systemd 桌面依赖官方 ``noto-fonts-cjk``" +" 提供中日文字体。" +msgstr "" +"システムの既定言語は ``/etc/locale.conf`` に保存し、初期値は ``LANG=en_US.UTF-8`` です。 " +"変更する場合は ``LANG`` を生成済みの ``zh_CN.UTF-8`` や ``ja_JP.UTF-8`` " +"などに設定し、再ログインします。 ロケールデータは標準の ``setlocale`` が使用し、アプリケーションの翻訳には引き続き gettext" +" を使用します。 Arch/systemd デスクトップの中国語・日本語フォントは、依存先の公式 ``noto-fonts-cjk`` " +"パッケージが提供します。" + msgid "配置与翻译" msgstr "設定と翻訳" msgid "" -"区域配置位于 ``/etc/reliefos/locale.conf``。应用通过 gettext 加载各自的翻译域, 域名与应用源码目录名一致。``configs/nls/DOMAINS`` " -"登记翻译域, ``configs/nls/LINGUAS`` 登记随系统构建的语言。" +"自研应用继续通过 gettext 加载各自的翻译域, 域名与应用源码目录名一致。``configs/nls/DOMAINS`` 登记翻译域, " +"``configs/nls/LINGUAS`` 登记随系统构建的语言。" msgstr "" -"ロケール設定は ``/etc/reliefos/locale.conf`` にあります。アプリケーションは gettext " -"で自身の翻訳ドメインを読み込み、ドメイン名はソースディレクトリ名と一致します。``configs/nls/DOMAINS`` に翻訳ドメイン、``configs/nls/LINGUAS`` " -"にシステムとともにビルドする言語を登録します。" +"自作アプリケーションは引き続き gettext " +"で自身の翻訳ドメインを読み込み、ドメイン名はソースディレクトリ名と一致します。``configs/nls/DOMAINS`` " +"に翻訳ドメイン、``configs/nls/LINGUAS`` にシステムとともにビルドする言語を登録します。" msgid "" -"随系统提供 ``zh_CN`` 和 ``ja_JP`` 翻译。用户可在安装器选择日本語, 或在 ReliefSettings 中保存 ``ja_JP.UTF-8`` 并重新登录。 " -"日语翻译包括界面、公共对话框和各应用的错误提示。 第三方应用使用各自的上游翻译资源。" +"现有应用提供 ``zh_CN`` 和 ``ja_JP`` 翻译。用户可在安装器选择日本語, 或在 ReliefSettings 中保存 " +"``ja_JP.UTF-8`` 并重新登录。 日语翻译包括界面、公共对话框和各应用的错误提示。 第三方应用使用各自的上游翻译资源。" msgstr "" -"システムには ``zh_CN`` と ``ja_JP`` の翻訳を同梱します。インストーラーで日本語を選ぶか、ReliefSettings で ``ja_JP.UTF-8`` " -"を保存して再ログインできます。日本語訳は UI、共通ダイアログ、各アプリケーションのエラーメッセージを含みます。サードパーティーアプリケーションは上流の翻訳リソースを使います。" +"アプリは ``zh_CN`` と ``ja_JP`` の翻訳を提供します。インストーラーで日本語を選ぶか、ReliefSettings で " +"``ja_JP.UTF-8`` " +"を保存して再ログインしてください。日本語訳は画面、共通ダイアログ、エラーメッセージに対応します。サードパーティーアプリは上流の翻訳を使用します。" msgid "" -"例如,Fileman 的模板位于 ``configs/nls/po/fileman/fileman.pot``,中文译文位于 " -"``configs/nls/po/fileman/zh_CN.po``。``make nls`` 将其编译为 " -"``O/generated/nls/zh_CN/LC_MESSAGES/fileman.mo``,镜像安装到 " -"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``。Taskmgr 使用独立的 ``taskmgr`` 翻译域和对应目录。FLTK " -"公共按钮与文件选择器文案收录在各自应用的目录中。" +"Fileman 的模板位于 ``configs/nls/po/fileman/fileman.pot``,中文译文位于 " +"``configs/nls/po/fileman/zh_CN.po``。打包时使用 msgfmt 编译,并安装到 " +"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``。Taskmgr 使用独立的 " +"``taskmgr`` 翻译域和对应目录。FLTK 公共按钮与文件选择器文案收录在各自应用的目录中。" msgstr "" -"たとえば Fileman のテンプレートは ``configs/nls/po/fileman/fileman.pot``、中国語訳は " -"``configs/nls/po/fileman/zh_CN.po`` です。``make nls`` は " -"``O/generated/nls/zh_CN/LC_MESSAGES/fileman.mo`` へコンパイルし、イメージ内の " -"``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo`` へインストールします。Taskmgr は独立した ``taskmgr`` " -"ドメインと対応ディレクトリを使います。FLTK 共通ボタンやファイル選択ダイアログの文言は、各アプリケーションのカタログに含めます。" +"Fileman のテンプレートは ``configs/nls/po/fileman/fileman.pot``、中国語カタログは " +"``configs/nls/po/fileman/zh_CN.po`` です。パッケージ作成時に msgfmt " +"でコンパイルし、``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo`` " +"にインストールします。Taskmgr は独立した ``taskmgr`` ドメインとディレクトリを使用します。FLTK " +"の共通ボタンとファイル選択の文言は各アプリのカタログに含みます。" msgid "" -"修改 Fileman 文案后执行 ``make nls-update-fileman``,可更新该应用的模板和译文。 ``make nls-update`` " -"更新已登记的全部应用。提取范围包含应用的子目录、 公共 FLTK 头文件、Kbuild 中复用的实现及该应用的 ``configs/nls/messages/<应用名>.c`` 动态文案标记。 " -"新增应用时登记翻译域,并为 ``LINGUAS`` 中的每种语言创建对应的 PO 文件。 常规构建只生成所选输出树中的资源,翻译源文件由显式维护目标更新。 " +"修改 Fileman 文案后执行 ``make nls-update-fileman``,可更新该应用的模板和译文。 ``make nls-" +"update`` 更新已登记的全部应用。提取范围包含应用的子目录、 公共 FLTK 头文件、Kbuild 中复用的实现及该应用的 " +"``configs/nls/messages/<应用名>.c`` 动态文案标记。 新增应用时登记翻译域,并为 ``LINGUAS`` " +"中的每种语言创建对应的 PO 文件。 常规构建只生成所选输出树中的资源,翻译源文件由显式维护目标更新。 " "系统更新时,应用二进制与对应翻译资源一起更新。" msgstr "" -"Fileman の文言変更後は ``make nls-update-fileman`` でテンプレートと翻訳を更新できます。``make nls-update`` " -"は登録済み全アプリケーションを更新します。抽出範囲にはアプリケーションのサブディレクトリ、共通 FLTK ヘッダー、Kbuild で再利用する実装、そのアプリケーションの " -"``configs/nls/messages/<应用名>.c`` にある動的文言マーカーを含みます。新規アプリケーションは翻訳ドメインを登録し、``LINGUAS`` の全言語に対応する PO " +"Fileman の文言変更後は ``make nls-update-fileman`` でテンプレートと翻訳を更新できます。``make nls-" +"update`` は登録済み全アプリケーションを更新します。抽出範囲にはアプリケーションのサブディレクトリ、共通 FLTK ヘッダー、Kbuild" +" で再利用する実装、そのアプリケーションの ``configs/nls/messages/<应用名>.c`` " +"にある動的文言マーカーを含みます。新規アプリケーションは翻訳ドメインを登録し、``LINGUAS`` の全言語に対応する PO " "を作成します。通常のビルドは選択した出力ツリー内のリソースだけを生成し、翻訳ソースは明示的な保守ターゲットで更新します。システム更新ではアプリケーションのバイナリーと対応翻訳リソースを一緒に更新します。" -msgid "" -"日语目录位于各应用的 ``ja_JP.po``,生成和安装目录中的语言名为 ``ja_JP``。区域数据位于 ``configs/locale/ja_JP.po``,由 ``make musl-" -"locales`` 生成 ``ja_JP.UTF-8`` 并安装到 ``/usr/share/musl/locales/``,供 musl 的日期、星期和上午/下午格式使用。 " -"``MUSL_LOCPATH`` 指向该目录,应用仍使用标准的 ``setlocale`` 与 gettext。 显示语言不会自动改变键盘布局,布局由 ReliefSettings " -"的键盘页单独设置。" -msgstr "" -"日本語カタログは各アプリケーションの ``ja_JP.po`` にあり、生成先とインストール先の言語名は ``ja_JP`` です。ロケールデータは " -"``configs/locale/ja_JP.po`` にあり、``make musl-locales`` が ``ja_JP.UTF-8`` を生成して " -"``/usr/share/musl/locales/`` に導入し、musl の日付、曜日、午前/午後の書式に使います。``MUSL_LOCPATH`` " -"はこのディレクトリを指し、アプリケーションは引き続き標準の ``setlocale`` と gettext を使います。表示言語はキーボード配列を自動変更せず、配列は ReliefSettings" -" のキーボードページで別途設定します。" +msgid "显示语言不会自动改变键盘布局,布局由 ReliefSettings 的键盘页单独设置。" +msgstr "キーボード配列は ReliefSettings のキーボードページで別途設定できます。" msgid "" -"自研控制台工具也使用各自的翻译域,包括 driverinfo、soundctl、wavplay、 rprfetch、登录与 Shell 包装程序、rcctl、Snake、Matrix " -"和登录系统信息。 IceWM 的窗口标题、任务栏和应用菜单通过原生 Xft 字体设置使用 CJK 字体。 应用桌面入口通过标准 ``Name[ja]``、``GenericName[ja]`` 与" -" ``Comment[ja]`` 字段提供日语名称和说明。" +"IceWM 的窗口标题、任务栏和应用菜单通过原生 Xft 字体设置使用 CJK 字体。 应用桌面入口通过标准 " +"``Name[ja]``、``GenericName[ja]`` 与 ``Comment[ja]`` 字段提供日语名称和说明。" msgstr "" -"自作コンソールツールも個別ドメインを使い、driverinfo、soundctl、wavplay、rprfetch、ログインと Shell " -"ラッパー、rcctl、Snake、Matrix、ログイン時のシステム情報を含みます。IceWM のウィンドウタイトル、タスクバー、アプリケーションメニューは、本来の Xft フォント設定で CJK" -" フォントを使います。デスクトップエントリーは標準の ``Name[ja]``、``GenericName[ja]``、``Comment[ja]`` で日本語の名前と説明を提供します。" +"IceWM のウィンドウタイトル、タスクバー、メニューの CJK フォントは Xft の設定で指定します。アプリのランチャーでは " +"``Name[ja]``、``GenericName[ja]``、``Comment[ja]`` に日本語名と説明を記載します。" msgid "原生文件格式的容量、恢复与字符边界见各应用手册。" msgstr "ネイティブファイル形式の容量、復旧、文字の境界は各アプリケーションのマニュアルを参照してください。" diff --git a/Documentation/process/index.rst b/Documentation/process/index.rst index 29b93fd0..4f5406b5 100644 --- a/Documentation/process/index.rst +++ b/Documentation/process/index.rst @@ -13,4 +13,3 @@ releasing assets security - kernel-modules-plan diff --git a/Documentation/process/kernel-modules-plan.rst b/Documentation/process/kernel-modules-plan.rst deleted file mode 100644 index ea2745f9..00000000 --- a/Documentation/process/kernel-modules-plan.rst +++ /dev/null @@ -1,232 +0,0 @@ -========================== -内核模块的系统集成实施计划 -========================== - -状态:设计于 2026-10-24,系统集成功能实施与分层验收已完成。以下记录交付范围, -编译、打包和来宾验证分别说明;既有失败与未验证范围继续保留。父仓调查基线为 -``9f7ab3c11869056ac9ad9192e1c3ae682b4d57ec``。 -内核机制和 K1-K8 阶段由 ReliefNT 仓库 -``Documentation/process/module-support-plan.rst`` 定义;本计划只持有 -ReliefOS 配置、用户态、启动载荷、安装更新及验收编排。 - -用户已确认 .ko 采用 Linux 风格机制,但针对 ReliefNT 重新编译。 -当前已授权实现;建立分支、提交或推送须另获明确授权。实施使用 -executing-plans;允许委派时使用用户指定的 GPT-6.1-Terra / Max。 - -系统行为契约 -============ - -* ``make O=... defconfig`` 明确重置 OS 配置,并对同一输出对应的内核 - ``RELIEFNT_SUBBUILD_O`` 执行 defconfig;默认生产组件均为 y。 -* ``make kernel-menuconfig``、``kernel-olddefconfig``、``kernel-allmodconfig`` - 委派到实际内核输出。OS menuconfig 继续管理 OS 产品;不复制或导入内核 - 功能符号到主仓 Kconfig,也不把应用配置放进内核。 -* 普通 make/all/kernel/image、自动 config-sync 和缺文件修复不能重置用户 - 的 m 设置。首次无配置时允许初始化默认配置,已有配置只同步新增选项。 -* 镜像适配消费内核 install manifest,不扫描源码猜模块,也不在主仓再编译 - 内核对象。原 kernel.sys/debug、镜像输出位置保持,新增模块树与 initramfs。 -* 同一镜像中的内核、模块、模块数据库和 initramfs 必须属于同一 ABI 身份。 - 配置遗漏根设备驱动/FS、缺模块、错误版本须在打包阶段失败,不能交给启动试错。 - -推荐启动链 -========== - -.. code-block:: text - - BIOS / UEFI / GRUB - -> kernel.sys + initramfs.cpio - -> 内核内置的调度/内存/VFS/模块加载器 - -> initramfs /init(PID 1) - -> modprobe 根磁盘与文件系统模块及其依赖 - -> 挂载 root= 指定的真实根,switch_root - -> /sbin/init / OpenRC / 设备模块自动加载 - -> XDM / Xorg / IceWM,或纯控制台 - -初版采用外置、未压缩 newc 档案,减少必须内置的解压依赖;压缩作为独立后续 -功能,不提供当前无法使用的压缩选项。OS 镜像统一带一个小 initramfs,即使 -生产组件全内置也使用同一系统启动策略;内核自身仍可支持独立无 initramfs 启动。 - -早期用户态使用现有 musl/BusyBox,包含 /init、mount/switch_root/modprobe、 -最小设备节点和当前内核启动依赖。普通镜像的初始根不包含完整桌面。 -安装/live 载荷仍是独立的大型文件系统模块:GRUB 同时传递 initramfs 和原有 -安装根载荷,早期程序加载 FS 后从内存块设备挂载。不可把 ext4 镜像简单改名 -成 initramfs,或要求尚未可见的根分区提供读取它自己必需的驱动。 - -可移植发行镜像打包所选存储驱动和支持的根 FS 的模块依赖闭包;不能只根据 -构建宿主机的硬件选择启动模块。root=PARTUUID 等根身份和 BIOS/UEFI loader -选择保持现有契约,不能随磁盘枚举顺序改变目标。 - -工具与安装布局 -============== - -沿用现有 BusyBox 的 insmod、rmmod、lsmod、modinfo、modprobe、depmod。 -设计调查时启用了 MODPROBE_SMALL,alias/symbol 配置关闭;实现已切换为 -完整 modprobe/depmod 配置,验收覆盖依赖、别名、blacklist、参数与内置识别。 -不新造一套同名私有工具,也不假定现有命令“存在”就已经能加载模块。 - -目标目录为 ``/lib/modules//``,数据库由目标兼容 depmod -离线生成;宿主 depmod 可读相同产物作为交叉检查,不假定宿主版本相同。 -宿主工具必须指定私有根,例如 ``depmod -b ``, -不得重写宿主的模块目录。还须检查 APK/BusyBox 的命令归属,避免分发时被 -另一个同名程序覆盖;最终镜像中的实际工具也要完成同一套读取和依赖测试。 -静态配置遵循 ``/etc/modules-load.d/*.conf``、``/etc/modprobe.d/*.conf``; -设备 coldplug 根据 sysfs modalias 加载。内核别名/依赖来自编译元数据,不在 -OS 脚本里维护第二份 PCI ID 或依赖表。 - -早期依赖在 /init 中加载;普通设备模块服务必须早于音频、网络和 Xorg。 -不能靠固定 sleep 等待模块完成,完成条件应是 modprobe 返回与对应设备出现。 -用户手动操作 root 磁盘、挂载中的 FS、活跃 DRM/PCM 等模块时,安全拒绝卸载 -属于预期行为;不能为“所有命令成功”而让系统继续使用被释放的代码。 - -构建、安装和更新事务 -==================== - -内核 install 扩展 manifest,至少公布 KERNELRELEASE、模块 ABI 身份、 -模块路径/依赖/校验和、内置元数据、配置与 symvers。父仓构建图增加模块树 -和 initramfs 的完整前置依赖,m-y-n 切换、模块删除或配置变化均触发重建。 -清理严格受产物 manifest 约束,不删除用户手工安装的模块和其他内核版本。 - -内核 release 使用唯一 ABI 后缀,OS VERSION_ID 保持发行数字版本。 -模块安装在版本目录,更新时可同时保留当前和新内核模块。 -GRUB 仍提供既有公开入口;其版本入口精确绑定 kernel/initramfs 成对文件。 -旧版本入口引用自己的内核、initramfs 和模块树。 - -父仓预生成可移植 initramfs,与相应内核和所选模块共同装入内核 APK/安装 -载荷。Installer、普通系统更新和 RPR 使用同一套载荷校验/发布接口:先完整 -写入新版本模块、kernel、initramfs,校验并同步,再发布版本选择记录。 -不能先删当前内核模块目录,也不能让旧内核指向新模块。 -更换 BIOS/UEFI loader 选项不影响模块载荷配对与回滚。 - -明确的提交点与故障模型 ----------------------- - -不能把 ESP/FAT 上的临时文件加 rename 当作整套更新的断电原子保证。 -日常内核更新不重写稳定的 GRUB 入口,采用预分配的 A/B 选择槽:每槽包含 -固定尺寸的版本描述文件与独立 SHA-256 校验文件,各自引用不可变版本载荷。 -更新只写非当前槽;先同步载荷,再同步完整描述,最后写入并同步该槽校验。 -槽从校验失败转为校验成功就是新版本的发布条件,不另写单点 active 指针。 - -稳定 GRUB 脚本先校验槽,再读取其受限版本/递增序号;选择校验有效且序号 -最高的完整版本,同时保留旧版本菜单。解析有界且只允许预定字段/路径, -不能在校验前 source 描述文件。内核与 initramfs 的哈希也要校验。 -两平台 GRUB 模块清单补齐原版 hashsum/SHA-256 所需组件,不写自定义引导协议。 -首次安装预分配两个槽;已有系统迁移保留旧入口,确认新入口后才启用槽选择。 - -断电验收模型是任一步写入/同步失败、未同步写入丢失,以及正在写的非当前槽 -记录撕裂:校验失败应回退到最后完整槽。设备丢失已同步数据、任意 FAT 元数据 -损坏、更新固件/MBR/EFI 本体不属于“内核包原子更新”的可证明范围,必须另行 -报告;不承诺跨文件系统/固件的绝对断电原子性。 - -阶段与执行检查 -============== - -O1:双仓配置委派 ----------------- - -依赖 K1。修改 ``scripts/reliefos/Makefile.config``、``Makefile.kernel`` 与 -帮助文本;新增 ``tests/build/test-kernel-config-delegation.sh``。 - -* [x] 先以可记录参数的 fake 子 make 测试同一 ARCH/PROFILE/绝对 O= 的委派, - 覆盖新输出、defconfig 重置、普通构建保留 m、用户覆盖 RELIEFNT_O。 -* [x] 接入三个 kernel 配置目标;将 defconfig 的 OS/内核操作有序执行, - 不并行竞争同一配置输出,也不引入 parent/child KCONFIG_CONFIG 环境串用。 -* [x] 使用真实两仓 conf/mconf 再验证默认全内置与配置持久化。 - -O2:模块产物、用户工具与 initramfs ----------------------------------- - -依赖 K2-K4、K6a/K6b、K7。修改 ``Makefile.kernel``、``Makefile.rootfs``、BusyBox -配置;新增 ``tools/build/modules-stage.sh``、``initramfs-stage.sh``、 -``system/initramfs/init`` 和相应构建入口。 - -* [x] 增加 ``test-kernel-modules-stage.sh`` 与 ``test-initramfs-stage.sh``: - 空模块集、依赖闭包、缺文件、错 ABI、档案可复现、受控清理和 m-y-n 切换。 -* [x] 构建原生 BusyBox,读取真实 .modinfo/dep 数据库,测试别名、built-in - no-op、blacklist、参数及多层依赖;不能只用假的 modprobe 输出断言成功。 -* [x] /init 挂载 proc/sys/dev、加载启动模块、解析根身份、等待有界设备发现、 - 挂载真实根并 exec 新 init。支持 rdinit= 诊断;失败提供明确的早期诊断入口。 -* [x] 引入 early/normal 模块加载顺序;不让普通服务在模块未准备好时启动。 - -O3:ISO、VMDK 与安装器载荷 --------------------------- - -依赖 K5-K7、O2。修改 ``boot/grub/grub.cfg``、 -``scripts/reliefos/Makefile.images``、``tools/build/{boot-stage,iso,images,installer-stage}.sh``、 -``userland/apps/installer/install_ops.c`` 和载荷检查。 - -* [x] 为 BIOS/UEFI、磁盘/普通 ISO/Installer ISO 添加一致的 Multiboot2 - initramfs 项,正确区分安装根载荷与初始根。检查安装器 Xorg/控制台两种载荷。 -* [x] 打包前验证必需功能 n 的非法 profile、根驱动/FS 为 m 的依赖闭包、 - 模块版本、kernel/initramfs 哈希与解包内容。禁止静默改成 y。 -* [x] 分别测试全内置、混合及 allmodconfig 产物,既有输出文件地址不改变。 - -O4:更新、RPR 与恢复 --------------------- - -依赖 O3。修改 ``userland/runtime/src/bootloader{,_publish}.c``、 -``scripts/reliefos/Makefile.rpr``、``tools/build/rpr-pages.sh`` 及 APK 内核载荷。 - -* [x] 新增 ``tools/test_kernel_bundle.py``,验证完整发布、缺模块拒绝、短写、 - 同步/校验失败、各发布边界中断、双槽记录撕裂、启动前校验回退,以及旧 - 入口和旧模块树保留;以私有镜像和明确故障模型注入,不改宿主磁盘。 -* [x] 用同一发布接口绑定新版本三件套;只写非当前槽,成功前不改旧选择记录。 -* [x] RPR 元数据同时记录所需内核 ABI 和模块清单;发布 guard 继续要求 - 子仓 clean 且 gitlink 一致。不得因模块产物增加而跳过该规则。 - -O5:全链运行矩阵与文档 ----------------------- - -新增 ``tools/test_kernel_modules_qemu.py`` 编排器,消费内核拥有的模块和 -原生探针;只操作私有 VM/镜像与短路径 QMP socket。 - -* [x] defconfig 全内置、部分模块、allmodconfig,以及 MODULES=n 全内置。 -* [x] BIOS 与 UEFI;1 和 4 vCPU;分别以 IDE/ATAPI、AHCI、NVMe 为根, - 至少覆盖 ext4 与可支持的其他根 FS;Installer/live 的内存根另外验证。 -* [x] 最关键门槛:根控制器=m、根 FS=m,最终出现真实桌面并可读写文件。 - 不是只看到 GRUB、启动日志或 /init 探针就算成功。 -* [x] e1000 联网和数据校验;声卡 PCM 的 open/mmap/close;Xorg/IceWM 的 - DRM/fbdev 路径;内置/模块行为一致。QEMU 与 VMware 的验证结果分别记录。 -* [x] 多层依赖装卸、内置 modprobe、重复加载、故意缺依赖/错版本文件的 - 错误诊断、busy 卸载拒绝、空闲装卸循环、进程/映射/IRQ 并发持有。 -* [x] 以相同 release profile 记录 yes/dd、启动耗时与桌面操作延迟对比; - 出现稳定明显退化先定位,不能把性能损失归因于“模块本来就慢”。 - 同一 BIOS/1 vCPU/AHCI/4 GiB 的 QEMU/KVM 平台上,预热后各五次 - 2 GiB yes/dd,中位数约为 default 2.755 GB/s、全模块 2.749 GB/s; - 比值为 0.9979,差异在本次样本波动范围内。普通启动及 VT 切换记录 - 只是单次观察,不能当作统计延迟结论;缺少同环境改造前基线,不声称 - 相对旧内核全面无性能退化。PIIX/IDE 无 initramfs 的直接根 - 已通过桌面与声卡验证,但冷启动仍慢。实际 VMware 的 HDA、DRM 各八轮 - 生命周期及普通桌面十轮 Fileman/VT 验证通过;真实物理硬件尚未验证。 -* [x] 更新两仓职责对应的构建/安装/ABI/驱动文档与 RPR 说明,清除失效静态 - 假设;保留有明确用途的全内置独立启动路径与历史发布事实。 - -安装验收的实际范围 ------------------- - -全模块媒体的控制台、中文桌面两套实际安装盘均已分别从 BIOS、UEFI 启动; -BIOS 完成普通用户登录,桌面版实际显示 IceWM 与 Fileman,UEFI 到达对应 -登录界面。离线检查两盘文件系统、UID 1000 账户、全部 41 项内核载荷及其中 -24 个模块的路径、大小与哈希;模块包括 18 个生产模块和 6 个验收模块。 -默认全内置、混合与 MODULES=n 的普通运行由各自配置的运行矩阵验证, -不能把这两次全模块新安装扩大表述为四种配置均完成了全新安装。 - -原 2400 秒安装速度门禁仍失败。独立功能长测实际完成桌面安装后,因全量 -约 6 MB 日志经串口读取超时而失败,原结果未改判通过。取证工具已改为读取 -有界末尾、使用本次请求标志并检查读取状态,宿主回归与真实来宾正负例通过; -已有安装盘再经独立双固件启动和完整离线检查验收。工具修正后没有重跑完整 -安装复制,不作为安装提速证据。功能长测的 7200 秒设置只是等待循环截止, -单次取帧或完成确认可以越界,并非绝对时间墙。 - -新版 Installer 的 VMware 验证未完成,真实物理硬件未验证;上述内核 VMware -运行结果与 Installer 安装验证分别记录。 - -交付证据分源码检查、宿主测试、编译打包、QEMU、VMware与真实硬件记录, -每个运行结果绑定内核、模块与 initramfs 的精确哈希。 -既有宿主失败、ABI golden 决策与音频 manifest 决策独立记录,不静默改写。 -VMware 验证未完成时必须明示;实现与运行结果按实际完成的阶段分别记录。 - -参考 -==== - -* `Linux Kbuild 模块安装 `_ -* `Linux 早期用户态与 initramfs `_ diff --git a/Documentation/process/testing.rst b/Documentation/process/testing.rst index 6dbba842..bdb7423d 100644 --- a/Documentation/process/testing.rst +++ b/Documentation/process/testing.rst @@ -5,67 +5,32 @@ 执行入口 ======== -从主仓根目录执行;临时文件放在项目输出目录:: +从主仓根执行本机回归,临时文件放在项目输出目录:: mkdir -p out/tmp TMPDIR="$PWD/out/tmp" make -j"$(nproc)" test - TMPDIR="$PWD/out/tmp" make test-long - TMPDIR="$PWD/out/tmp" make test-legacy - TMPDIR="$PWD/out/tmp" make test-smoke - -test 为宿主/构建契约,test-long 包括长流程与恢复,test-legacy 显式运行 -非生产 OS 测试,test-smoke 顺序检查三类介质的 BIOS/UEFI 启动。 -test-build 包含 Pages 文档回归,宿主需要 Sphinx;普通内核和用户态编译不因此依赖它。 -按风险选择定向检查;通过已有失败之前的步骤不能称为全套通过。 - -构建契约套件顺序运行,套件内部的递归 Make 共享上层 jobserver,避免 -每个临时构建退化为单线程;日志中的 ``TIME`` 行记录每套耗时。 -``make -n test`` 不执行测试脚本。ReliefMail 的宿主夹具在独立工作目录中 -运行,并使用 ``TMPDIR`` 创建私有目录,不依赖调用方位于源码根目录。 -CI 的下载缓存仍由依赖锁逐个校验;编译缓存只复用编译结果,镜像与签名 -产物每次构建。具体缓存范围和最终检查见仓库 ``.github/CI.md``。 - -APK 归属测试和组件 Kconfig 维护脚本支持 Python 3.10+;3.10 另需 TOML 解析包 -``tomli``(Debian/Ubuntu 的 ``python3-tomli``),3.11+ 使用标准库 -``tomllib``。APK 夹具在测试子进程中固定 ``umask 022``,避免继承宿主 -私有权限掩码后与预期文件模式冲突。 -宿主文件写入失败测试使用子进程的文件大小限制,验证短写后报错、原文件 -保留与临时文件清理;不依赖 root 是否能绕过目录权限。 - -``make test-audio`` 仍需要真实 ALSA 和 OPL3 构建依赖; -``tools/test_audio_userland.py`` 的日志写入 ``out/audio-hda/qa/logs/``。 -音频产品检查需要已有内核包、rootfs 和 SDK,缺少产物必须报错。 + TMPDIR="$PWD/out/tmp" make test-ci-kernel + +``make test`` 覆盖构建契约和桌面程序。``test-ci-kernel`` 委托内核测试并 +检查模块、引导载荷和 dracut 产物。各套件顺序运行,内部的递归 Make 共用 +jobserver,并记录每套耗时。CI 的宿主依赖见 ``.github/CI.md``。 仓库边界 ======== -ReliefOS 持有应用、运行库、SDK、APK、安装器、镜像与完整系统 QEMU/VMware -集成测试。内核实现、驱动、文件系统、调度、内存和 Linux UAPI 的测试及原生 -系统调用探针由 ReliefNT 仓库持有,入口见其 -``Documentation/process/testing.rst``。混合套件按实现归属拆开,主仓不保留 -内核夹具副本或旧脚本转发文件。 - -``tests/build/test-test-ownership.sh`` 构建契约检查测试源码归属,包括 Shell 测试 -直接引用内核私有源码和头文件的情况。旧内核桌面实现与可执行文件 GID 服务权限的 -残留检查由 ReliefNT 的 ``service_roles`` 套件持有;主仓的 -``tests/build/test-x11-only.sh`` 只检查本仓的应用、运行库与产品配置。 -主仓保留方便调用的 -``test-vdso``、``test-smp-time``、``test-page-cache-growth``、 -``test-user-return``、``test-syscall-io``、``test-kernel-host`` 与 -``test-kernel-ownership`` Make 目标,它们委托内核自己的 Make 入口, -不在父仓复制内核测试清单。``test-legacy`` 同样先委托内核定向回归组, -再运行主仓 Unix IPC 与用户态 syscall 头检查。 - -来宾启动、SDK 编译和应用互操作仍由本仓编排;需要原生 ABI 探针时,直接消费 -``kernel/reliefnt/tools/tests/`` 内的源文件;公开 UAPI 的消费和完整系统的 -构建集成检查仍属于主仓。 +ReliefOS 持有应用、运行库、打包、安装器、镜像和完整系统集成测试。 +内核测试和原生 ABI 探针由 ReliefNT 持有,主仓通过内核 Make 入口或实际 +探针源码运行集成检查。``tools/test_test_ownership.py`` 检查测试归属。 +签名、安装 ISO、磁盘启动与内核滚动升级使用 ``tests/integration/arch-*`` +的实际脚本。``tools/test_arch_systemd_qemu.py`` 通过只读夹具磁盘和私有 +overlay 运行来宾检查,默认保留串口与结果。 运行证据 ======== QEMU 测试使用私有磁盘,保留源镜像与注入载荷摘要、完整串口、返回码、 -截图和独立读回。界面出现不等于交互成功;编译成功不等于镜像含有新文件。 +独立读回,图形回归按需保留截图。界面出现不等于交互成功;编译成功不等于镜像含有新文件。 Installer 还须覆盖安装后的无 ISO 启动;VT、权限、错误路径分别检查。 QEMU 的 VMware 显卡型号不能替代 VMware 真实运行证明。 现有失败见 :doc:`../admin-guide/limitations`;不重生成 golden 掩盖差异。 diff --git a/Documentation/userspace-api/abi.rst b/Documentation/userspace-api/abi.rst index f8b51422..5ec9d13e 100644 --- a/Documentation/userspace-api/abi.rst +++ b/Documentation/userspace-api/abi.rst @@ -17,9 +17,8 @@ rdi/rsi/rdx/r10/r8/r9,返回负 errno 表示失败。未知接口返回 ENOSYS ========== 公开结构用定宽字段;扩展要处理调用方大小、版本和错误,不传内核指针。 -规范扩展库为 ``libreliefos.so.2``,旧 ``libleonos.so.2`` 是独立兼容库, -不能简单把旧库变成新库符号链接。既有 leonos 转发头、符号与冻结协议值在 -明确支持处保留,不代表允许新增旧命名接口。 +规范扩展库为 ``libreliefos.so.2``,公共头位于 ````。 +应用需使用 glibc 工具链和当前开发包重新链接。 早期产品激活接口已退役:不再提供联网验证、离线密钥、许可证状态或对应的 旧名称别名,SDK 也不再导出这些声明。依赖旧激活接口的应用需要移除调用后 @@ -69,19 +68,6 @@ SET 的第二个参数为 ``0UL``(原生)或 ``1UL``(Linux),其余参 ``sysname``,保留其他字段和全局内核信息。SDK 的 headers_install 白名单同时导出此头;使用方式见 :doc:`../admin-guide/linuxuname`。 -兼容名称分类 -============ - -品牌检查对旧名称按精确文件路径登记,不使用整目录豁免: - -* compatibility:已有符号、SONAME、磁盘/协议字节值及转发头。 -* history:明确的历史事实或源码迁移映射,不是当前产品显示名。 -* external-url:实际仍使用的外部 URL,不能未经迁移擅自改名。 -* attribution:第三方作者、许可和来源原文。 -* migration:尚待完成的过渡项,严格发布检查必须单独审阅。 - -文档迁移只移除已删除文件的登记;无关的既有失败不因目录改名而豁免。 - 旧窗口接口移除 ============== @@ -116,7 +102,7 @@ ABI 清单同步删除这些已退役条目,其余结构布局、常量和符 ============ zlib、libpng、mbedTLS 3 已从扩展库的对象集合移到各自官方共享库;公开的 ReliefOS -接口与旧 leonos 别名继续保留,链接器应显式链接使用的第三方库。旧扩展库偶然 +接口通过当前库导出,链接器应显式链接使用的第三方库。旧扩展库偶然 导出的厂商内部符号、旧私有 mbedTLS 配置及 ``sqlite.so.3`` VFS 不属于稳定兼容 接口。使用这些实现细节的程序须用 SDK 里的匹配头文件重编译;SQLite 使用标准 ``libsqlite3.so.0`` POSIX VFS。历史 ABI 快照保持原样,兼容检查继续覆盖第一方接口。 diff --git a/Documentation/userspace-api/audio.rst b/Documentation/userspace-api/audio.rst index 3f58a835..96f0a280 100644 --- a/Documentation/userspace-api/audio.rst +++ b/Documentation/userspace-api/audio.rst @@ -48,9 +48,8 @@ chmod/chown 限制;播放与录音节点的 DAC 独立。控制元素的锁属 共享服务持有对应方向的硬件租约,直接打开 hw:0,0 可能返回 EBUSY。 没有录音端点时不会伪造 capture 节点。 -OpenRC reliefos-audio 服务在存在时恢复 /var/lib/alsa/asound.state;停止时先写 -临时文件,再发布新状态,保存失败保留原状态。修改 /etc/asound.conf 前先记录 -设备、格式与运行日志,不用扩大缓冲掩盖有限流输出错误。 +音量和设备状态可通过 ALSA 工具查询或保存。修改 ``/etc/asound.conf`` +前先记录设备、格式与运行日志。 错误处理与验收边界 ================== diff --git a/Documentation/userspace-api/locale.rst b/Documentation/userspace-api/locale.rst index e34db716..e61bee27 100644 --- a/Documentation/userspace-api/locale.rst +++ b/Documentation/userspace-api/locale.rst @@ -5,26 +5,38 @@ 文本 ==== -图形应用使用 UTF-8,中文和日语显示依赖随系统 staging 的 CJK 字体, +图形应用使用 UTF-8,中文和日语显示依赖 CJK 字体, 输入法由会话提供。 剪贴板、路径、文档格式和 GPT 名称分别处理编码,不能逐字节截断 Unicode。 不要把可显示中文等同于完整 Unicode 分词、双向排版或 grapheme-break 支持。 +Arch/systemd 区域配置 +===================== + +``make rootfs`` 在目标根的 ``/etc/locale.gen`` 中启用 +``en_US.UTF-8 UTF-8``、``zh_CN.UTF-8 UTF-8`` 和 ``ja_JP.UTF-8 UTF-8``, +运行目标系统的 ``locale-gen`` 生成 glibc 区域数据,并用 ``locale -a`` 检查三种区域。 +该步骤用于 IceWM、实验性 Xfce 和 console 三种装配选项。 + +系统默认语言保存到 ``/etc/locale.conf``,初始内容为 ``LANG=en_US.UTF-8``。 +调整默认语言时,将 ``LANG`` 设为已生成的 ``zh_CN.UTF-8`` 或 ``ja_JP.UTF-8`` +等区域并重新登录。区域数据供标准 ``setlocale`` 使用,应用翻译继续使用 gettext。 +Arch/systemd 桌面依赖官方 ``noto-fonts-cjk`` 提供中日文字体。 + 配置与翻译 ========== -区域配置位于 ``/etc/reliefos/locale.conf``。应用通过 gettext 加载各自的翻译域, +自研应用继续通过 gettext 加载各自的翻译域, 域名与应用源码目录名一致。``configs/nls/DOMAINS`` 登记翻译域, ``configs/nls/LINGUAS`` 登记随系统构建的语言。 -随系统提供 ``zh_CN`` 和 ``ja_JP`` 翻译。用户可在安装器选择日本語, +现有应用提供 ``zh_CN`` 和 ``ja_JP`` 翻译。用户可在安装器选择日本語, 或在 ReliefSettings 中保存 ``ja_JP.UTF-8`` 并重新登录。 日语翻译包括界面、公共对话框和各应用的错误提示。 第三方应用使用各自的上游翻译资源。 -例如,Fileman 的模板位于 ``configs/nls/po/fileman/fileman.pot``,中文译文位于 -``configs/nls/po/fileman/zh_CN.po``。``make nls`` 将其编译为 -``O/generated/nls/zh_CN/LC_MESSAGES/fileman.mo``,镜像安装到 +Fileman 的模板位于 ``configs/nls/po/fileman/fileman.pot``,中文译文位于 +``configs/nls/po/fileman/zh_CN.po``。打包时使用 msgfmt 编译,并安装到 ``/usr/share/locale/zh_CN/LC_MESSAGES/fileman.mo``。Taskmgr 使用独立的 ``taskmgr`` 翻译域和对应目录。FLTK 公共按钮与文件选择器文案收录在各自应用的目录中。 @@ -36,15 +48,8 @@ 常规构建只生成所选输出树中的资源,翻译源文件由显式维护目标更新。 系统更新时,应用二进制与对应翻译资源一起更新。 -日语目录位于各应用的 ``ja_JP.po``,生成和安装目录中的语言名为 -``ja_JP``。区域数据位于 ``configs/locale/ja_JP.po``,由 -``make musl-locales`` 生成 ``ja_JP.UTF-8`` 并安装到 -``/usr/share/musl/locales/``,供 musl 的日期、星期和上午/下午格式使用。 -``MUSL_LOCPATH`` 指向该目录,应用仍使用标准的 ``setlocale`` 与 gettext。 显示语言不会自动改变键盘布局,布局由 ReliefSettings 的键盘页单独设置。 -自研控制台工具也使用各自的翻译域,包括 driverinfo、soundctl、wavplay、 -rprfetch、登录与 Shell 包装程序、rcctl、Snake、Matrix 和登录系统信息。 IceWM 的窗口标题、任务栏和应用菜单通过原生 Xft 字体设置使用 CJK 字体。 应用桌面入口通过标准 ``Name[ja]``、``GenericName[ja]`` 与 ``Comment[ja]`` 字段提供日语名称和说明。 diff --git a/Kbuild b/Kbuild index 5afb96eb..328ae92b 100644 --- a/Kbuild +++ b/Kbuild @@ -7,48 +7,17 @@ include $(srctree)/scripts/reliefos/Makefile.toolchain include $(srctree)/scripts/reliefos/Makefile.config include $(srctree)/scripts/reliefos/Makefile.kernel include $(srctree)/scripts/reliefos/Makefile.headers -include $(srctree)/scripts/reliefos/Makefile.boot -include $(srctree)/scripts/reliefos/Makefile.third-party -include $(srctree)/scripts/reliefos/Makefile.pam -include $(srctree)/scripts/reliefos/Makefile.apk-dependencies -include $(srctree)/scripts/reliefos/Makefile.runtime -include $(srctree)/scripts/reliefos/Makefile.upstream -include $(srctree)/scripts/reliefos/Makefile.modules -include $(srctree)/scripts/reliefos/Makefile.grub -include $(srctree)/scripts/reliefos/Makefile.components.audio -include $(srctree)/scripts/reliefos/Makefile.userland -include $(srctree)/scripts/reliefos/Makefile.resources +include $(srctree)/scripts/reliefos/Makefile.tool-identity +include $(srctree)/tools/host/Kbuild include $(srctree)/scripts/reliefos/Makefile.nls -include $(srctree)/scripts/reliefos/Makefile.sdk -include $(srctree)/scripts/reliefos/Makefile.rootfs -include $(srctree)/scripts/reliefos/Makefile.apk -include $(srctree)/scripts/reliefos/Makefile.images -include $(srctree)/scripts/reliefos/Makefile.rpr -include $(srctree)/scripts/reliefos/Makefile.site -include $(srctree)/scripts/reliefos/Makefile.run +include $(srctree)/scripts/reliefos/Makefile.grub include $(srctree)/scripts/reliefos/Makefile.tests -include $(srctree)/tools/host/Kbuild -tools: $(RELIEFOS_HOST_TOOLS) +ifneq ($(filter glibc-runtime glibc-boot glibc-apps glibc-installer,$(MAKECMDGOALS)),) +include $(srctree)/scripts/reliefos/Makefile.runtime +endif +.PHONY: kernel tools config-sync build-info kernel: $(RELIEFOS_KERNEL_SYS) $(RELIEFOS_KERNEL_SYMBOLS) - -test: test-tools test-build - -test-smoke: image-vmdk iso installer - @QEMU='$(QEMU)' DUAL_BOOT_ACCEL='$(if $(filter 1,$(QEMU_KVM)),kvm,tcg)' DUAL_BOOT_CPU='$(if $(filter 1,$(QEMU_KVM)),host,max)' sh $(RELIEFOS_SRC)/scripts/test-smoke.sh $(O_IMAGES) $(O_LOGS) '$(QEMU_FIRMWARE)' - -test-legacy: - @sh $(RELIEFOS_SRC)/scripts/test-legacy.sh $(RELIEFOS_SRC) - -rootfs: apk-repo - -all: kernel userland runtime sdk apk-repo image-vmdk iso installer - -.PHONY: image-iso release config-sync build-info test-all -image-iso: iso -# `release` is gated by the ReliefNT release guard (scripts/reliefos/Makefile.rpr): release builds -# must come from a clean kernel/reliefnt submodule at the committed gitlink. -release: reliefnt-release-guard all pages -config-sync: $(AUTOCONF_H) $(RELIEFOS_COMPONENT_MK) +tools: $(RELIEFOS_HOST_TOOLS) +config-sync: $(AUTOCONF_H) build-info: $(BUILD_INFO_HEADER) -test-all: test test-long test-legacy test-smoke diff --git a/Kconfig b/Kconfig index eecf98e4..181ddb64 100644 --- a/Kconfig +++ b/Kconfig @@ -1,123 +1,4 @@ mainmenu "ReliefOS System Configuration" -comment "Kernel configuration is owned by ReliefNT" -comment "Build policy: PROFILE=debug|release; V=1" - -menu "System images" - -config VMDK_DEFAULT_LANG - string "Default system locale" - default "zh_CN.UTF-8" - help - Locale written into /etc/reliefos/locale.conf of system images. - Use an installed locale; C.UTF-8 does not enable gettext translations. - -config IMAGE_SIZE_MIB - int "Minimum standalone disk size in MiB (GPT, BIOS Boot, ESP and ext4)" - range 384 4096 - default 1024 - help - Minimum size requested by the BIOS/UEFI disk-image builder. The builder - may increase it to fit the root filesystem and partition overhead. - -config DISK_INSTANCE_ID - string "Standalone disk image instance identity" - default "reliefos" - help - Use a distinct identity for disk images that will be connected together. - It deterministically derives GPT disk and partition UUIDs. An exact - byte-for-byte clone retains its identities, just as on other systems. - -config INSTALLER_ROOT_SIZE_MIB - int "Minimum installer runtime root size in MiB" - range 32 4096 - default 32 - help - GRUB loads the complete installer root as a Multiboot module. It consumes - guest RAM before userspace starts; the image builder may enlarge it to - fit the runtime. Use sufficient guest RAM (normally at least 2 GiB). - -menu "Boot console colors" - -comment "XDM and IceWM use their own settings and themes" - -choice - prompt "Boot console color palette" - default VMDK_DEFAULT_THEME_METRO - help - Controls the early kernel console and panic display color palette. - This does not change the XDM login screen or the IceWM desktop theme. - -config VMDK_DEFAULT_THEME_METRO - bool "Metro" - -config VMDK_DEFAULT_THEME_WIN95 - bool "Win95" - -endchoice - - - -endmenu -endmenu - -menu "Package repository" - -config RPR_BASE_URL - string "ReliefOS remote package repository URL" - default "https://reliefosproject.github.io/ReliefOS/rpr" - help - Base URL of the RPR subtree. Clients append /apk for signed package - metadata and /kernel for kernel releases. It is not the documentation - URL or the complete Pages site root. - -endmenu - -source "Kconfig.components" - -menu "QEMU run targets" - -config QEMU_MEMORY_MB - int "Guest memory in MiB" - range 128 65536 - default 4096 - help - Default for run, run-iso and run-installer; MEMORY overrides it. - Small values may be insufficient for the selected boot media. - -config QEMU_SMP_CPUS - int "Virtual CPU count" - range 1 64 - default 4 - help - Default for run targets. CPUS overrides it; this does not configure - or limit the number of CPUs supported by the kernel. - -config QEMU_DISPLAY_WIDTH - int "VGA display width" - range 640 7680 - default 1920 - -config QEMU_DISPLAY_HEIGHT - int "VGA display height" - range 480 4320 - default 1080 - -config QEMU_ENABLE_KVM - bool "Use KVM acceleration" - default y - help - Requires usable KVM on the host. QEMU_KVM=0 selects software emulation. - -config QEMU_NET_DEVICE - string "Network device model (empty disables networking)" - default "e1000" - -config QEMU_OVMF_PATH - string "Preferred OVMF firmware path for UEFI" - default "/usr/share/ovmf/OVMF.fd" - help - An existing file takes priority over automatic OVMF discovery. - QEMU_BOOT=bios uses SeaBIOS and does not use this firmware path. - -endmenu +comment "Kernel options are owned by ReliefNT; use kernel-menuconfig" +comment "Desktop package sets: ARCH_DESKTOP=icewm|xfce|console" diff --git a/Kconfig.components b/Kconfig.components deleted file mode 100644 index b58a2eb0..00000000 --- a/Kconfig.components +++ /dev/null @@ -1,855 +0,0 @@ -# This file is generated by tools/generate_component_kconfig.py. -# Edit configs/components.toml instead. - -menu "Optional userland components" - -comment "Required base components are always enabled" -comment "The SDK uses a fixed product sysroot" - -menu "Core services" - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFASKPASS_BUILD - bool "X11 authentication prompt" - default y - help - Enable X11 authentication prompt (reliefaskpass). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFASKPASS_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFASKPASS_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFASKPASS_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_RELIEFASKPASS_IMAGE - -endmenu - -menu "Desktop applications" - -menuconfig RELIEFOS_COMPONENT_APP_CALC_BUILD - bool "Calculator" - default y - help - Enable Calculator (calc). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_CALC_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_CALC_BUILD - -config RELIEFOS_COMPONENT_APP_CALC_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_CALC_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_IMAGEVIEW_BUILD - bool "Image viewer" - default y - help - Enable Image viewer (imageview). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_IMAGEVIEW_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_IMAGEVIEW_BUILD - -config RELIEFOS_COMPONENT_APP_IMAGEVIEW_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_IMAGEVIEW_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_OSVER_BUILD - bool "System information" - default y - help - Enable System information (osver). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_OSVER_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_OSVER_BUILD - -config RELIEFOS_COMPONENT_APP_OSVER_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_OSVER_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_PAINT_BUILD - bool "Paint" - default y - help - Enable Paint (paint). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_PAINT_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_PAINT_BUILD - -config RELIEFOS_COMPONENT_APP_PAINT_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_PAINT_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFCAPTURE_BUILD - bool "ReliefCapture" - default y - help - Enable ReliefCapture (reliefcapture). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFCAPTURE_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFCAPTURE_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFCAPTURE_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFCAPTURE_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFCLIPBOARD_BUILD - bool "ReliefClipboard" - default y - help - Enable ReliefClipboard (reliefclipboard). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFCLIPBOARD_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFCLIPBOARD_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFCLIPBOARD_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFCLIPBOARD_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_TASKMGR_BUILD - bool "Task manager" - default y - help - Enable Task manager (taskmgr). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_TASKMGR_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_TASKMGR_BUILD - -config RELIEFOS_COMPONENT_APP_TASKMGR_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_TASKMGR_IMAGE - -endmenu - -menu "Developer applications" - -menuconfig RELIEFOS_COMPONENT_APP_ABITEST_BUILD - bool "Linux ABI runtime tests" - default y - help - Enable Linux ABI runtime tests (abittest). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_ABITEST_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_ABITEST_BUILD - -config RELIEFOS_COMPONENT_APP_ABITEST_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_ABITEST_IMAGE - -menuconfig RELIEFOS_COMPONENT_TOOL_BUSYBOX_BUILD - bool "BusyBox" - default y - help - Enable BusyBox (busybox). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_TOOL_BUSYBOX_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_TOOL_BUSYBOX_BUILD - -config RELIEFOS_COMPONENT_TOOL_BUSYBOX_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_TOOL_BUSYBOX_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_FASTFETCH_BUILD - bool "fastfetch system summary" - default y - help - Enable fastfetch system summary (fastfetch). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_FASTFETCH_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_FASTFETCH_BUILD - -config RELIEFOS_COMPONENT_APP_FASTFETCH_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_FASTFETCH_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_IPCTEST_BUILD - bool "Unix IPC smoke test" - default y - help - Enable Unix IPC smoke test (ipctest). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_IPCTEST_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_IPCTEST_BUILD - -config RELIEFOS_COMPONENT_APP_IPCTEST_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_IPCTEST_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_LEONMMCOSSET_BUILD - bool "Leonmmcoset easter egg" - default y - help - Enable Leonmmcoset easter egg (leonmmcoset). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_LEONMMCOSSET_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_LEONMMCOSSET_BUILD - -config RELIEFOS_COMPONENT_APP_LEONMMCOSSET_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_LEONMMCOSSET_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_MEMTEST_BUILD - bool "Memory test" - default y - help - Enable Memory test (memtest). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_MEMTEST_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_MEMTEST_BUILD - -config RELIEFOS_COMPONENT_APP_MEMTEST_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_MEMTEST_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_PLEDITOR_BUILD - bool "PL editor" - default y - help - Enable PL editor (pleditor). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_PLEDITOR_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_PLEDITOR_BUILD - -config RELIEFOS_COMPONENT_APP_PLEDITOR_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_PLEDITOR_IMAGE - -menuconfig RELIEFOS_COMPONENT_TOOL_SL_BUILD - bool "sl Steam Locomotive" - default y - help - Enable sl Steam Locomotive (sl). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_TOOL_SL_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_TOOL_SL_BUILD - -config RELIEFOS_COMPONENT_TOOL_SL_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_TOOL_SL_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_SMPTEST_BUILD - bool "SMP test" - default y - help - Enable SMP test (smptest). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_SMPTEST_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_SMPTEST_BUILD - -config RELIEFOS_COMPONENT_APP_SMPTEST_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_SMPTEST_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_XIAOBAI_BUILD - bool "Xiaobai easter egg" - default y - help - Enable Xiaobai easter egg (xiaobai). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_XIAOBAI_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_XIAOBAI_BUILD - -config RELIEFOS_COMPONENT_APP_XIAOBAI_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_XIAOBAI_IMAGE - -endmenu - -menu "Games" - -menuconfig RELIEFOS_COMPONENT_APP_DOOM_BUILD - bool "DOOM" - default y - help - Enable DOOM (doom). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_DOOM_IMAGE - bool "Include in system images" - default n - depends on RELIEFOS_COMPONENT_APP_DOOM_BUILD - -config RELIEFOS_COMPONENT_APP_DOOM_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_DOOM_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_DOOMLAUNCHER_BUILD - bool "DOOM launcher" - default y - select RELIEFOS_COMPONENT_APP_DOOM_BUILD - help - Enable DOOM launcher (doomlauncher). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_DOOMLAUNCHER_IMAGE - bool "Include in system images" - default n - depends on RELIEFOS_COMPONENT_APP_DOOMLAUNCHER_BUILD - -config RELIEFOS_COMPONENT_APP_DOOMLAUNCHER_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_DOOMLAUNCHER_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_MATRIX_BUILD - bool "Matrix" - default y - help - Enable Matrix (matrix). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_MATRIX_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_MATRIX_BUILD - -config RELIEFOS_COMPONENT_APP_MATRIX_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_MATRIX_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_MINESWEEPER_BUILD - bool "Minesweeper" - default y - help - Enable Minesweeper (minesweeper). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_MINESWEEPER_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_MINESWEEPER_BUILD - -config RELIEFOS_COMPONENT_APP_MINESWEEPER_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_MINESWEEPER_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_SNAKE_BUILD - bool "Snake" - default y - help - Enable Snake (snake). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_SNAKE_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_SNAKE_BUILD - -config RELIEFOS_COMPONENT_APP_SNAKE_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_SNAKE_IMAGE - -endmenu - -menu "Libraries" - -menuconfig RELIEFOS_COMPONENT_LIB_NCURSES_BUILD - bool "ncurses wide-character terminal library" - default y - help - Enable ncurses wide-character terminal library (ncurses). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_LIB_NCURSES_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_LIB_NCURSES_BUILD - -endmenu - -menu "Network and multimedia" - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFPLAYER_BUILD - bool "ReliefPlayer" - default y - help - Enable ReliefPlayer (reliefplayer). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFPLAYER_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFPLAYER_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFPLAYER_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFPLAYER_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_WAVPLAY_BUILD - bool "WAV player" - default y - help - Enable WAV player (wavplay). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_WAVPLAY_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_WAVPLAY_BUILD - -config RELIEFOS_COMPONENT_APP_WAVPLAY_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_WAVPLAY_IMAGE - -endmenu - -menu "Office applications" - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_BUILD - bool "ReliefDiagram" - default y - help - Enable ReliefDiagram (reliefdiagram). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFEXCEL_BUILD - bool "ReliefExcel" - default y - help - Enable ReliefExcel (reliefexcel). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFEXCEL_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFEXCEL_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFEXCEL_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFEXCEL_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFMAIL_BUILD - bool "ReliefMail" - default y - select RELIEFOS_COMPONENT_LIB_SQLITE_BUILD - help - Enable ReliefMail (reliefmail). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFMAIL_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFMAIL_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFMAIL_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFMAIL_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFMATH_BUILD - bool "ReliefMath" - default y - help - Enable ReliefMath (reliefmath). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFMATH_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFMATH_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFMATH_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFMATH_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFMATHPP_BUILD - bool "ReliefMath++" - default y - help - Enable ReliefMath++ (reliefmathpp). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFMATHPP_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFMATHPP_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFMATHPP_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFMATHPP_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFPPT_BUILD - bool "ReliefPPT" - default y - help - Enable ReliefPPT (reliefppt). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFPPT_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFPPT_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFPPT_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFPPT_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFTODO_BUILD - bool "ReliefTodo" - default y - help - Enable ReliefTodo (relieftodo). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFTODO_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFTODO_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFTODO_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFTODO_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFWORD_BUILD - bool "ReliefWord" - default y - help - Enable ReliefWord (reliefword). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFWORD_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFWORD_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFWORD_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFWORD_IMAGE - -endmenu - -menu "System applications" - -menuconfig RELIEFOS_COMPONENT_APP_DISKMGR_BUILD - bool "Disk manager" - default y - help - Enable Disk manager (diskmgr). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_DISKMGR_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_DISKMGR_BUILD - -config RELIEFOS_COMPONENT_APP_DISKMGR_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_DISKMGR_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_DRIVERINFO_BUILD - bool "Driver information" - default y - help - Enable Driver information (driverinfo). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_DRIVERINFO_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_DRIVERINFO_BUILD - -config RELIEFOS_COMPONENT_APP_DRIVERINFO_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_DRIVERINFO_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_LINUXUNAME_BUILD - bool "Linux uname launcher" - default y - help - Enable Linux uname launcher (linuxuname). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_LINUXUNAME_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_LINUXUNAME_BUILD - -config RELIEFOS_COMPONENT_APP_LINUXUNAME_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_LINUXUNAME_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_NETWORK_CONTROLLER_BUILD - bool "Network Controller" - default y - select RELIEFOS_COMPONENT_APP_SUDO_BUILD - select RELIEFOS_COMPONENT_APP_SU_BUILD - help - Enable Network Controller (network-controller). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_NETWORK_CONTROLLER_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_NETWORK_CONTROLLER_BUILD - -config RELIEFOS_COMPONENT_APP_NETWORK_CONTROLLER_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_NETWORK_CONTROLLER_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_OPENRC_CONTROLLER_BUILD - bool "OpenRC Controller" - default y - select RELIEFOS_COMPONENT_APP_SUDO_BUILD - select RELIEFOS_COMPONENT_APP_SU_BUILD - help - Enable OpenRC Controller (openrc-controller). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_OPENRC_CONTROLLER_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_OPENRC_CONTROLLER_BUILD - -config RELIEFOS_COMPONENT_APP_OPENRC_CONTROLLER_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_OPENRC_CONTROLLER_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFAPK_BUILD - bool "ReliefAPK" - default y - select RELIEFOS_COMPONENT_APP_SUDO_BUILD - select RELIEFOS_COMPONENT_APP_SU_BUILD - help - Enable ReliefAPK (reliefapk). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFAPK_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFAPK_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFAPK_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFAPK_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_RELIEFSETTINGS_BUILD - bool "ReliefSettings" - default y - select RELIEFOS_COMPONENT_APP_SUDO_BUILD - select RELIEFOS_COMPONENT_APP_RELIEFASKPASS_BUILD - help - Enable ReliefSettings (reliefsettings). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_RELIEFSETTINGS_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFSETTINGS_BUILD - -config RELIEFOS_COMPONENT_APP_RELIEFSETTINGS_ENTRY - bool "Enable the legacy application-registry entry" - default y - depends on RELIEFOS_COMPONENT_APP_RELIEFSETTINGS_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_SOUNDCTL_BUILD - bool "Sound controls" - default y - help - Enable Sound controls (soundctl). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_SOUNDCTL_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_SOUNDCTL_BUILD - -config RELIEFOS_COMPONENT_APP_SOUNDCTL_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_SOUNDCTL_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_SU_BUILD - bool "su" - default y - help - Enable su (su). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_SU_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_SU_BUILD - -config RELIEFOS_COMPONENT_APP_SU_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_SU_IMAGE - -menuconfig RELIEFOS_COMPONENT_APP_SUDO_BUILD - bool "sudo" - default y - help - Enable sudo (sudo). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_APP_SUDO_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_APP_SUDO_BUILD - -config RELIEFOS_COMPONENT_APP_SUDO_ENTRY - bool "Enable the legacy application-registry entry" - default n - depends on RELIEFOS_COMPONENT_APP_SUDO_IMAGE - -endmenu - -menu "Third-party libraries" - -menuconfig RELIEFOS_COMPONENT_LIB_SQLITE_BUILD - bool "SQLite database library" - default y - help - Enable SQLite database library (sqlite). Dependencies may enable it - automatically. Libraries may also be built when another product - needs them; image membership is controlled separately below. - -config RELIEFOS_COMPONENT_LIB_SQLITE_IMAGE - bool "Include in system images" - default y - depends on RELIEFOS_COMPONENT_LIB_SQLITE_BUILD - -endmenu - -endmenu diff --git a/Makefile b/Makefile index e08bc551..db75ce01 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,32 @@ $(error GNU Make >= 4.3 is required, this is $(MAKE_VERSION)) endif RELIEFOS_SRC := $(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) +.DEFAULT_GOAL := help # --- user-facing variables -------------------------------------------------- +reliefos_arch_goals := doctor fetch fetch-check build all release userland runtime sdk \ + rootfs image image-vmdk iso image-iso installer rpr-testing pages \ + arch-doctor arch-fetch arch-build arch-kernel arch-rpr-testing arch-rootfs arch-image arch-installer +reliefos_run_goals := run run-debug run-only run-iso run-iso-only run-installer run-installer-only +reliefos_arch_goal := $(filter $(reliefos_arch_goals) $(reliefos_run_goals),$(MAKECMDGOALS)) +# Serialise product stages sharing O; their container Kbuilds remain parallel. +# Native and product builds use separate ownership markers and output layouts. +ifneq ($(strip $(reliefos_arch_goal)),) +ifneq ($(filter-out help $(reliefos_arch_goals) $(reliefos_run_goals),$(MAKECMDGOALS)),) +$(error use a separate make invocation for native, documentation or cleanup targets) +endif +.NOTPARALLEL: +endif +ifneq ($(filter clean distclean,$(MAKECMDGOALS)),) +ifneq ($(filter-out help clean distclean,$(MAKECMDGOALS)),) +$(error use a separate make invocation for cleanup) +endif +endif +ifneq ($(filter glibc-runtime glibc-boot glibc-apps glibc-installer,$(MAKECMDGOALS)),) +ifneq ($(words $(MAKECMDGOALS)),1) +$(error build each internal glibc target in its own make invocation) +endif +endif # ARCH, PROFILE and O may come from the command line or from these defaults # only. An inherited environment value is ignored on purpose: an unrelated shell # setting must not silently change what gets built (plan section 6.2). @@ -29,7 +53,7 @@ ifneq ($(origin PROFILE),command line) override PROFILE := release endif ifneq ($(origin O),command line) -override O := $(RELIEFOS_SRC)/out/$(ARCH)/$(PROFILE) +override O := $(RELIEFOS_SRC)/out/$(if $(or $(reliefos_arch_goal),$(filter help clean distclean,$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,1)),arch-root/)$(ARCH)/$(PROFILE) endif V ?= 0 @@ -78,7 +102,7 @@ endif # been restricted to a safe character set above, so quoting here cannot be escaped. reliefos_O_absolute := $(shell realpath -m -- '$(O)' 2>/dev/null || printf '%s' '$(O)') # Resolve child overrides before the native Kbuild instance changes into O. -reliefos_kernel_path_keys := RELIEFNT_DIR NTCLKS_DIR RELIEFNT_O NTCLKS_O +reliefos_kernel_path_keys := RELIEFNT_DIR RELIEFNT_O reliefos_kernel_path_unsafe := $(foreach key,$(reliefos_kernel_path_keys),$(call strip_allowed,$($(key)),$(RELIEFOS_ALLOWED_CHARS))) ifneq ($(strip $(reliefos_kernel_path_unsafe)),) $(error kernel checkout/output paths accept only A-Z a-z 0-9 . _ / -) @@ -100,55 +124,15 @@ $(error unsupported PROFILE '$(PROFILE)'; use PROFILE=debug or PROFILE=release) endif # Reject misspelled configuration overrides before any output is created. -reliefos_config_symbols := $(shell awk '$$1 == "config" || $$1 == "menuconfig" { print "CONFIG_" $$2 }' $(RELIEFOS_SRC)/Kconfig $(RELIEFOS_SRC)/Kconfig.components) +reliefos_config_symbols := $(shell awk '$$1 == "config" || $$1 == "menuconfig" { print "CONFIG_" $$2 }' $(RELIEFOS_SRC)/Kconfig) reliefos_config_cli := $(foreach key,$(filter CONFIG_%,$(.VARIABLES)),$(if $(filter command line,$(origin $(key))),$(key))) reliefos_config_unknown := $(filter-out CONFIG_SHELL $(reliefos_config_symbols),$(reliefos_config_cli)) ifneq ($(strip $(reliefos_config_unknown)),) $(error unknown configuration override: $(reliefos_config_unknown)) endif -# --- output layout ---------------------------------------------------------- -O_HOST := $(O)/host -O_GENERATED := $(O)/generated -O_INCLUDE := $(O)/include -O_CONFIG := $(O)/config -O_SYSROOT := $(O)/sysroot -O_STAGE := $(O)/stage -O_PACKAGES := $(O)/packages -O_IMAGES := $(O)/images -O_LOGS := $(O)/logs -O_META := $(O)/meta -# Third-party build directories stay separate from source-relative native -# Kbuild objects under tools/ and userland/. -O_THIRD_PARTY := $(O)/third-party -# Staged root filesystem fragment for the upstream authentication libraries -# (Linux-PAM, libxcrypt, ...). Same status as third-party: a layout extension, -# because these packages install into their own DESTDIR rather than a flat -# object tree. -O_AUTH := $(O)/auth - -# Shared download cache: deliberately outside O because it is profile -# independent and `distclean` must not throw it away. -RELIEFOS_CACHE ?= $(if $(strip $(LEONOS_CACHE)),$(LEONOS_CACHE),$(RELIEFOS_SRC)/cache/downloads) - -# Written when an output tree is created and re-checked before anything is -# deleted, so `clean` can never operate on a directory it does not own. +# A document or native Kbuild output has a checkout-specific ownership marker. RELIEFOS_O_MARKER := $(O)/.reliefos-out - -# Read-only public input aliases are also available to help/doctor callers. -include $(RELIEFOS_SRC)/scripts/reliefos/Makefile.host -RELIEFOS_LOCK ?= $(if $(strip $(LEONOS_LOCK)),$(LEONOS_LOCK),$(RELIEFOS_SRC)/configs/dependencies.lock.json) -RELIEFOS_FETCH_SCRIPT ?= $(if $(strip $(LEONOS_FETCH_SCRIPT)),$(LEONOS_FETCH_SCRIPT),$(RELIEFOS_SRC)/tools/build/fetch.sh) -RELIEFOS_QEMU_IDE ?= $(LEONOS_QEMU_IDE) -RELIEFOS_QEMU_NVME ?= $(LEONOS_QEMU_NVME) - -# Older wrappers may still pass the lock ownership token under its former -# name. The ReliefOS spelling wins whenever both are supplied. -ifeq ($(origin RELIEFOS_BUILD_OWNER),undefined) -ifneq ($(strip $(LEONOS_BUILD_OWNER)),) -RELIEFOS_BUILD_OWNER := $(LEONOS_BUILD_OWNER) -endif -endif export RELIEFOS_BUILD_OWNER # --- same-output-directory mutual exclusion --------------------------------- @@ -167,7 +151,19 @@ export RELIEFOS_BUILD_OWNER # and refusing them would make `make -n` depend on unrelated builds), and goals # that write nothing at all -- a bare `make` and `make help` must keep working # while a build is running elsewhere, and must not create the output tree. -reliefos_read_only_goals := help doctor +# Arch entry points do not delegate to host Kbuild or take its PID-based lock. +# Only the container can run native Kbuild in an owned Arch output directory. +ifneq ($(filter-out help clean distclean $(reliefos_arch_goals) $(reliefos_run_goals),$(MAKECMDGOALS)),) +ifneq ($(abspath $(O)),$(reliefos_O_absolute)) +$(error refusing a symlink in the native output path '$(O)') +endif +ifneq ($(wildcard $(reliefos_O_absolute)/.reliefos-arch-root),) +ifneq ($(reliefos_O_absolute),/reliefos-build) +$(error '$(O)' is an Arch build output; use the arch targets or choose another O) +endif +endif +endif +reliefos_read_only_goals := help clean distclean $(reliefos_arch_goals) $(reliefos_run_goals) reliefos_lock_not_needed := ifeq ($(MAKECMDGOALS),) reliefos_lock_not_needed := 1 @@ -188,37 +184,21 @@ endif export RELIEFOS_BUILD_OWNER endif -# The source entry only validates and delegates. All production rules are Kbuild. -.DEFAULT_GOAL := help +# The source entry validates inputs and delegates compilation to Kbuild. ifeq ($(V),1) Q := else Q := @ endif -ifneq ($(filter doctor,$(MAKECMDGOALS)),) -include $(RELIEFOS_SRC)/scripts/reliefos/Makefile.toolchain -endif -.PHONY: help doctor clean distclean htmldocs gettext gettext-check __kbuild -help: - @V='$(V)' O='$(O)' ARCH='$(ARCH)' PROFILE='$(PROFILE)' CPUS='$(CPUS)' \ - TOOLCHAIN='$(TOOLCHAIN)' SRC='$(RELIEFOS_SRC)' CACHE='$(RELIEFOS_CACHE)' \ - LOCK='$(RELIEFOS_LOCK)' sh $(RELIEFOS_SRC)/scripts/help.sh - -doctor: - @SRC='$(RELIEFOS_SRC)' O='$(O)' ARCH='$(ARCH)' PROFILE='$(PROFILE)' \ - TOOLCHAIN='$(TOOLCHAIN)' HOSTCC='$(HOSTCC)' \ - TARGET_CC='$(TARGET_CC)' TARGET_LD='$(TARGET_LD)' TARGET_AR='$(TARGET_AR)' \ - TARGET_OBJCOPY='$(TARGET_OBJCOPY)' TARGET_STRIP='$(TARGET_STRIP)' \ - TARGET_TRIPLE_KERNEL='$(TRIPLE_KERNEL)' \ - TARGET_TRIPLE_USER='$(TRIPLE_USER)' \ - DEPS='$(RELIEFOS_DEPS_TOOL)' LOCK='$(RELIEFOS_LOCK)' CACHE='$(RELIEFOS_CACHE)' \ - sh $(RELIEFOS_SRC)/scripts/doctor.sh +include $(RELIEFOS_SRC)/scripts/reliefos/Makefile.product -clean: - @O='$(reliefos_O_absolute)' SRC='$(RELIEFOS_SRC)' KEEP_CONFIG=1 sh $(RELIEFOS_SRC)/scripts/clean.sh +.PHONY: help clean distclean htmldocs gettext gettext-check __kbuild +help: + @O='$(O)' ARCH='$(ARCH)' PROFILE='$(PROFILE)' sh $(RELIEFOS_SRC)/scripts/help.sh -distclean: - @O='$(reliefos_O_absolute)' SRC='$(RELIEFOS_SRC)' KEEP_CONFIG=0 sh $(RELIEFOS_SRC)/scripts/clean.sh +clean distclean: + @O='$(abspath $(O))' SRC='$(RELIEFOS_SRC)' KEEP_CONFIG=$(if $(filter clean,$@),1,0) \ + sh $(RELIEFOS_SRC)/scripts/clean.sh SPHINXBUILD ?= sphinx-build SPHINXOPTS ?= @@ -240,36 +220,19 @@ gettext gettext-check: $(RELIEFOS_O_MARKER) $(RELIEFOS_DOCS_I18N_INPUTS) sh $(RELIEFOS_SRC)/scripts/docs-python.sh $(RELIEFOS_SRC)/scripts/update-doc-translations.py \ --output $(O)/Documentation/gettext $(if $(filter gettext-check,$@),--check) -reliefos_run_only_goals := run-only run-installer-only run-iso-only -reliefos_goals := $(filter-out help doctor clean distclean htmldocs gettext gettext-check,$(MAKECMDGOALS)) +reliefos_goals := $(filter-out help clean distclean htmldocs gettext gettext-check $(reliefos_arch_goals) $(reliefos_run_goals),$(MAKECMDGOALS)) reliefos_kbuild_goals := $(patsubst $(reliefos_O_absolute)/%,%,$(patsubst $(O)/%,%,$(reliefos_goals))) ifneq ($(strip $(reliefos_goals)),) .PHONY: $(reliefos_goals) $(reliefos_goals): __kbuild ; endif -# Inspection never creates O. Configuration-independent goals may inspect an -# existing host-only tree without creating a .config as a side effect. -reliefos_config_free_goals := tools fetch fetch-check reliefnt-fetch ntclks-fetch reliefnt-fetch-check ntclks-fetch-check headers_install defconfig olddefconfig menuconfig kernel-menuconfig kernel-olddefconfig kernel-allmodconfig migrate-config regen-component-kconfig $(reliefos_run_only_goals) -ifneq ($(strip $(reliefos_lock_skip)),) +# Inspection never creates O or configures a tree. +ifneq ($(strip $(reliefos_lock_skip)$(findstring t,$(firstword -$(MAKEFLAGS)))),) ifneq ($(strip $(reliefos_goals)),) ifeq ($(wildcard $(reliefos_O_absolute)),) $(error initialize this output with make O=$(O) defconfig before -n/-q) endif -ifneq ($(strip $(filter-out $(reliefos_config_free_goals),$(reliefos_goals))),) -ifeq ($(wildcard $(reliefos_O_absolute)/.config),) -$(error initialize this output with make O=$(O) defconfig before -n/-q) -endif -reliefos_component_goals := all userland sdk apk-repo rootfs rootfs-raw image-vmdk iso installer \ - image-iso release test-smoke run run-debug run-iso run-installer rpr-apps rpr-pages -reliefos_selection_goals := $(filter $(reliefos_component_goals),$(reliefos_goals)) \ - $(filter app-% userland/apps/%,$(reliefos_goals)) -ifneq ($(strip $(reliefos_selection_goals)),) -ifeq ($(wildcard $(reliefos_O_absolute)/config/components.mk),) -$(error configuration selection is incomplete at '$(reliefos_O_absolute)/config/components.mk'; run 'make O=$(O) config-sync' before -n/-q) -endif -endif -endif endif endif @@ -292,7 +255,7 @@ reliefos_hostcc_fingerprint = $(shell sh $(RELIEFOS_SRC)/scripts/reliefos/hostcc reliefos_native_hostcc = env RELIEFOS_HOST_COMPILER_ID=$(reliefos_hostcc_fingerprint) $(reliefos_hostcc_command) __kbuild: -ifneq ($(strip $(filter-out $(reliefos_run_only_goals),$(reliefos_kbuild_goals))),) +ifneq ($(strip $(reliefos_kbuild_goals)),) $(Q)mkdir -p '$(reliefos_O_absolute)' $(Q)test -f '$(RELIEFOS_O_MARKER)' || printf 'reliefos-build-out version=1 root=%s\n' '$(RELIEFOS_SRC)' > '$(RELIEFOS_O_MARKER)' +$(Q)CONFIG_SHELL=/bin/sh AWK=awk srctree='$(RELIEFOS_SRC)' objtree=. VPATH='$(RELIEFOS_SRC)' \ diff --git a/NOTICE b/NOTICE index c48d1b5d..7c54e9ce 100644 --- a/NOTICE +++ b/NOTICE @@ -7,7 +7,7 @@ component. Project-owned source is governed by the root LICENSE file. Each third-party component remains governed by its own license. Complete license texts are kept with the corresponding source, submodule, -generated SDK, or installed program package. The paths below refer to the +or installed program package. The paths below refer to the repository unless an installed path is explicitly shown. ReliefOS-owned code @@ -20,99 +20,28 @@ file merely because it is distributed in the same repository or image. Runtime, libraries, and applications ------------------------------------ -* GNU GRUB 2: GPL-3.0-or-later. See the GRUB source and boot artifacts. -* Mbed TLS 3.6.7: Apache-2.0 OR GPL-2.0-or-later. See - resources/licenses/mbedtls3-LICENSE. -* musl 1.2.6: MIT and upstream notices; see third_party/musl/COPYRIGHT. -* mimalloc 3.5.1: MIT; see third_party/mimalloc/LICENSE. -* zlib 1.4: zlib License. See resources/licenses/zlib-LICENSE. - Copyright (C) 1995-2026 Jean-loup Gailly and Mark Adler. -* libpng 1.6.59: libpng License. See resources/licenses/libpng-LICENSE. -* SQLite 3.53.4: public-domain dedication and blessing. See - resources/licenses/sqlite-LICENSE. -* BusyBox 1.36.1: GPL-2.0-only. See third_party/busybox/LICENSE. -* GNU findutils 4.10.0: GPL-3.0-or-later. The unmodified official Alpine APK - and its pinned checksum are recorded in configs/openrc-packages.json. -* sudo 1.9.17p2: ISC and upstream file-specific terms; see LICENSE.md. -* Linux-PAM 1.7.2: upstream BSD/GPL alternatives and file-specific terms; - see Copyright and the recorded platform patch in patches/linux-pam/. -* util-linux 2.42.4 (su/runuser and storage utilities/libraries): unmodified - signed official Alpine APKs. See resources/licenses/util-linux-README.licensing - for upstream GPL/LGPL/BSD/MIT and file-specific terms. Archive hashes, - recipe commits and package licenses are in configs/dependencies.lock.json. - blkid/uuid development inputs are isolated for building exfatprogs. -* libeconf 0.8.4: MIT, Copyright (c) 2019 SUSE LLC. See - resources/licenses/libeconf-LICENSE (upstream v0.8.4 LICENSE). -* utmps 0.1.3.4 and skalibs 2.16.0.0 runtime libraries: ISC. See - resources/licenses/utmps-COPYING (the upstream 0.1.3.4 release) and - /usr/share/licenses/skalibs/COPYING from the signed skalibs-doc APK. - All three dependencies use original signed Alpine APKs with recipe commits, - versions and archive hashes in configs/dependencies.lock.json. -* e2fsprogs 1.47.4 and dosfstools 4.2: unmodified signed Alpine APKs, - including their split runtime libraries and documentation. Versions, - archive hashes, recipe commits and package licenses are recorded in - configs/dependencies.lock.json. See resources/licenses/e2fsprogs-NOTICE - and the dosfstools-doc package's /usr/share/doc/dosfstools/COPYING. - exfatprogs 1.4.4 remains source-built; see its COPYING and source headers, - configs/storage-upstream.json and /usr/share/licenses/exfatprogs/. -* libxcrypt 4.5.2: LGPL-2.1-or-later and file-specific terms; see COPYING.LIB - and LICENSING. -* shadow-utils 4.20.2: BSD-3-Clause and file-specific SPDX terms; see COPYING. -* libbsd 0.12.2: unmodified signed Alpine runtime/documentation APKs; - development APKs are extracted only for building shadow. See - resources/licenses/libbsd-LICENSE for BSD/ISC/MIT and file-specific terms, - and configs/dependencies.lock.json for archive identities. -* libmd 1.3.0: unmodified signed Alpine runtime/documentation APKs under - BSD/ISC/Beerware/public-domain and file-specific terms. Full notices are in - /usr/share/licenses/libmd/COPYING from libmd-doc. The official development - APK is extracted only into shadow's isolated build inputs. Versions, - recipe commits and archive hashes are in configs/dependencies.lock.json. -* Vim (vim, vim-common, xxd): Vim License. Installed from signed Alpine APKs; - versions and archive hashes are recorded in configs/dependencies.lock.json. -* ncurses 6.6: MIT-style license. See resources/licenses/ncurses-LICENSE. -* Mesa 26.3.0 and LLVM 23 runtime libraries: original signed Alpine edge APKs - pinned in configs/dependencies.lock.json. Mesa uses MIT and file-specific - terms; LLVM uses Apache-2.0 WITH LLVM-exception and file-specific terms. - Original package license metadata and recipe identities are retained. - These packages provide unmodified VirGL/OpenGL userspace drivers; they - do not change the license of the independent ReliefNT driver. -* Dyne musl 2.2.0 native toolchain: GCC 15.1.0 and GNU binutils 2.44 - (GPL-3.0-or-later), musl (MIT), and the upstream bundled static libraries. - GCC runtime libraries use the GCC Runtime Library Exception where applicable. - See userland/musl-gcc/README.rst, COPYING3 and COPYING.RUNTIME; installed - provenance and upstream file hashes are in /share/licenses/musl-gcc/. - Source/build recipes: https://github.com/dyne/musl/tree/2.2.0. -* less: GPL-3.0-or-later OR BSD-2-Clause. Installed from the signed Alpine APK; - package license metadata is in .PKGINFO. -* Fastfetch 2.68.1 (VasilyZa/fastfetch release): MIT. See userland/fastfetch/LICENSE. -* file/libmagic: BSD-2-Clause. Installed from signed Alpine APKs; package - license metadata is in .PKGINFO. -* StardustUI: MIT. See third_party/stardustui/LICENSE. -* PL Editor (LeonOS fork): MIT. See third_party/pl_editor/LICENSE. -* sl: permissive upstream license. See resources/licenses/sl-LICENSE. -* ab_glyph_rasterizer 0.1.10: Apache-2.0. See the nested StardustUI - dependency at third_party/stardustui/third_party/ab_glyph_rasterizer/upstream. -* minimp3: CC0-1.0/public-domain dedication. See - third_party/minimp3/minimp3.h. +* GNU GRUB 2: GPL-3.0-or-later. See configs/grub.lock.json for the source + archive and patches/grub/ for ReliefOS adaptations. +* The official Arch packages, including glibc, systemd, pacman, PAM, shadow, + kmod, Xorg and desktop dependencies, carry their upstream license + metadata and notices. Package versions and ownership are recorded by + pacman. Source recipes are available at https://gitlab.archlinux.org/archlinux/packaging/packages. +* Paru: GPL-3.0-or-later. See packages/arch/paru/PKGBUILD for the pinned + source commit and checksum, and /usr/share/licenses/paru/LICENSE. +* st: MIT/X Consortium License. See packages/arch/reliefos-st/PKGBUILD and + /usr/share/licenses/reliefos-st/LICENSE. +* PL Editor: MIT. See third_party/pl_editor/LICENSE. +* minimp3: CC0-1.0/public-domain dedication. See third_party/minimp3/minimp3.h. * DoomGeneric: GPL-2.0-only. See third_party/doomgeneric/LICENSE. - -Data, dictionaries, and visual resources ------------------------------------------ - -* Freedoom IWAD: BSD-3-Clause. See - third_party/doomgeneric/FREEDOOM-COPYING.txt. The same notice is bundled in - the optional reliefos-doom APK. -* rime-pinyin-simp dictionary: Apache-2.0. See - third_party/rime-pinyin-simp/LICENSE and ATTRIBUTION.txt. Both files are - bundled in the optional reliefos-oschinpt APK. -* Microsoft font files in system/fonts (Deng.ttf, times.ttf, and simsun.ttc) - are subject to the applicable Microsoft license terms. They are not covered - by the root LICENSE; verify redistribution rights before publishing - an image containing them. -* Mozilla CA root certificates distributed as the curl CA Extract: - system/certs/cacert.pem. The file contains Mozilla certificate data and its - source, conversion, date, and checksum comments. See - https://curl.se/ca/caextract.html and the links recorded in that file. +* Nuked OPL3: LGPL-2.1-or-later. See configs/application-sources.lock.json + and /usr/share/licenses/reliefos-doom/Nuked-OPL3-LICENSE. +* Freedoom IWAD: BSD-3-Clause. See third_party/doomgeneric/FREEDOOM-COPYING.txt + and the license directory of the optional reliefos-doom package. +* STIX Two Math: SIL Open Font License 1.1. See + resources/licenses/reliefmath/STIX-OFL.txt. +* The bundled GB18030 double-byte mapping comes from Unicode ICU data. + See userland/runtime/data/ICU-DATA-LICENSE. The libreliefos package + includes this notice as /usr/share/licenses/libreliefos/GBK-mapping-COPYRIGHT. Distribution requirements ------------------------- @@ -134,21 +63,15 @@ and LICENSES/kbuild/COPYING. Project compiler-policy adapters are separate files. These build-tool terms do not relabel the ReliefOS-owned application or operating-system source. -The SDK's Linux VirtGPU and sync_file headers come from ReliefNT's installed -UAPI. Their original notices remain in the headers. The SDK also includes +The libreliefos package's Linux VirtGPU and sync_file headers come from ReliefNT's installed +UAPI. Their original notices remain in the headers. The package also includes ReliefNT's NOTICE, GPL version 2 text and Linux-syscall-note exception in -share/licenses/reliefnt/. See kernel/reliefnt/NOTICE for the pinned upstream +/usr/share/licenses/libreliefos/reliefnt/. See kernel/reliefnt/NOTICE for the pinned upstream revision and the BSD, MIT and GPL-1.0-or-later WITH Linux-syscall-note terms. -The SDK also includes VMware's vmwgfx_drm.h under its MIT license option. +The package also includes VMware's vmwgfx_drm.h under its MIT license option. ReliefNT's VMware SVGA II backend uses VMware's public SVGA protocol headers under their MIT option and adapts VMware host messaging and statistics code under MIT. The headers and sources retain VMware's copyright and permission notices. See kernel/reliefnt/NOTICE for the pinned upstream revision and file origins. - -Binary dependencies sl, ncurses, zlib, libpng, SQLite and mbedtls3 are distributed -as unmodified signed Alpine v3.24 APKs. Exact versions, archive URLs, SHA256 and -license metadata are recorded in configs/dependencies.lock.json. Source recipes -are available at https://gitlab.alpinelinux.org/alpine/aports (v3.24). SDK archives -include matching development/static inputs and their original .PKGINFO records. diff --git a/boot/grub/arch-installer.cfg b/boot/grub/arch-installer.cfg new file mode 100644 index 00000000..5a5f850e --- /dev/null +++ b/boot/grub/arch-installer.cfg @@ -0,0 +1,35 @@ +set timeout=5 +set default=0 +insmod multiboot2 +insmod all_video +insmod serial +insmod font +insmod gfxterm +serial --unit=0 --speed=115200 +terminal_input console serial +set gfxmode=1280x800,1024x768,auto +set gfxpayload=keep +if loadfont ($root)/grub/fonts/unicode.pf2; then + terminal_output gfxterm serial +else + terminal_output console serial +fi + +function reliefos_live_installer { + if ! multiboot2 /reliefos/kernel.sys root=/ log=serial rdinit=/usr/lib/systemd/systemd console=tty1 console=ttyS0 systemd.show_status=error $1; then + return 1 + fi + set gfxpayload=keep + if module2 /install/initramfs.cpio initramfs; then + boot + fi + multiboot2 +} + +menuentry "Install ReliefOS" { + reliefos_live_installer +} + +menuentry "Install ReliefOS (console session)" { + reliefos_live_installer reliefos.installer=tty +} diff --git a/boot/grub/grub.cfg b/boot/grub/grub.cfg index 22024d9e..3d65f4af 100644 --- a/boot/grub/grub.cfg +++ b/boot/grub/grub.cfg @@ -13,6 +13,7 @@ insmod gfxmenu # A per-instance EFI wrapper or BIOS prefix identifies its own boot tree. set reliefos_directory= set reliefos_root= +set reliefos_direct_root= set reliefos_prefix_device= regexp --set=1:reliefos_prefix_device '^\(([^)]+)\)' "$prefix" if [ "$reliefos_prefix_device" = "$root" ]; then @@ -21,9 +22,13 @@ fi if [ -f ($root)$reliefos_directory/reliefos/config/root.cfg ]; then source ($root)$reliefos_directory/reliefos/config/root.cfg fi -export reliefos_root reliefos_directory -if [ -f ($root)$reliefos_directory/grub/fonts/leonos-unicode.pf2 ]; then - loadfont ($root)$reliefos_directory/grub/fonts/leonos-unicode.pf2 +set reliefos_root_policy= +if [ "$reliefos_direct_root" = 1 ]; then + set reliefos_root_policy=reliefos.direct_root=1 +fi +export reliefos_root reliefos_directory reliefos_root_policy +if [ -f ($root)$reliefos_directory/grub/fonts/unicode.pf2 ]; then + loadfont ($root)$reliefos_directory/grub/fonts/unicode.pf2 fi set color_normal=light-gray/black set color_highlight=black/light-gray @@ -44,13 +49,21 @@ fi if [ "$reliefos_boot_ready" = 1 ]; then menuentry "ReliefOS" { if reliefos_prepare_boot; then - multiboot2 $reliefos_kernel root=$reliefos_root log=screen,serial reliefos.boot_slot=$reliefos_selected reliefos.boot_generation=$reliefos_selected_generation reliefos.boot_initramfs=$reliefos_selected_initramfs + multiboot2 $reliefos_kernel root=$reliefos_root $reliefos_root_policy log=serial systemd.show_status=error rd.systemd.show_status=error reliefos.boot_slot=$reliefos_selected reliefos.boot_generation=$reliefos_selected_generation reliefos.boot_initramfs=$reliefos_selected_initramfs module2 $reliefos_initramfs initramfs set gfxpayload=keep boot fi } submenu "Advanced options" { + menuentry "Start with dracut and show startup messages" { + if reliefos_prepare_boot; then + multiboot2 $reliefos_kernel root=$reliefos_root log=screen,serial systemd.show_status=yes rd.systemd.show_status=yes reliefos.boot_slot=$reliefos_selected reliefos.boot_generation=$reliefos_selected_generation reliefos.boot_initramfs=$reliefos_selected_initramfs + module2 $reliefos_initramfs initramfs + set gfxpayload=keep + boot + fi + } menuentry "Pause after startup diagnostics" { if reliefos_prepare_boot; then multiboot2 $reliefos_kernel root=$reliefos_root log=screen,serial bootlog-pause=1 reliefos.boot_slot=$reliefos_selected reliefos.boot_generation=$reliefos_selected_generation reliefos.boot_initramfs=$reliefos_selected_initramfs diff --git a/boot/grub/installer.cfg b/boot/grub/installer.cfg deleted file mode 100644 index 7e8594f0..00000000 --- a/boot/grub/installer.cfg +++ /dev/null @@ -1,65 +0,0 @@ -set timeout=5 -set default=0 -insmod serial -insmod terminal -insmod part_gpt -insmod fat -insmod iso9660 -insmod multiboot2 -insmod all_video -insmod font -insmod gfxterm -insmod gfxmenu -if [ -f ($root)/grub/fonts/leonos-unicode.pf2 ]; then - loadfont ($root)/grub/fonts/leonos-unicode.pf2 -fi -set color_normal=light-gray/black -set color_highlight=black/light-gray -set gfxmode=1920x1080,1280x800,1024x768,auto -set gfxpayload=keep -serial --unit=0 --speed=115200 -terminal_input console serial -terminal_output gfxterm -set theme=($root)/grub/theme/theme.txt -export theme - -function reliefos_install { - # Only absent payloads use the legacy root image layout. A present file - # that cannot be loaded must not fall through to an incomplete boot. - set installer_payload= - if [ -f /install/payload.squashfs ]; then - set installer_payload=reliefos.installer_payload=squashfs - fi - if ! multiboot2 /reliefos/kernel.sys root=/ log=screen,serial mode=installer $installer_payload $1; then - return 1 - fi - # Multiboot2 applies its framebuffer hint while loading; retain the menu mode. - set gfxpayload=keep - if module2 /reliefos/initramfs.cpio initramfs; then - if module2 /install/root.fat reliefos-installer-root; then - if [ -z "$installer_payload" ]; then - boot - return - elif module2 /install/payload.squashfs reliefos-installer-payload; then - boot - return - fi - fi - fi - # An empty multiboot2 command clears the incomplete loader before GRUB's - # implicit boot at the end of a menu entry. - multiboot2 - echo "Could not load the ReliefOS installer image. Check the installation medium and available memory." -} - -menuentry "Install ReliefOS" { - reliefos_install -} - -menuentry "Install ReliefOS (console session)" { - reliefos_install installer-session=tui -} - -menuentry "Reboot" { - reboot -} diff --git a/boot/grub/live.cfg b/boot/grub/live.cfg deleted file mode 100644 index 043f2c27..00000000 --- a/boot/grub/live.cfg +++ /dev/null @@ -1,25 +0,0 @@ -set timeout=5 -set default=0 -insmod serial -insmod terminal -insmod fat -insmod iso9660 -insmod multiboot2 -insmod all_video -insmod font -insmod gfxterm -loadfont /grub/fonts/leonos-unicode.pf2 -set gfxmode=1920x1080,1280x800,1024x768,auto -set gfxpayload=keep -serial --unit=0 --speed=115200 -terminal_input console serial -terminal_output gfxterm serial - -menuentry "ReliefOS Live Desktop" { - multiboot2 /reliefos/kernel.sys root=/ log=screen,serial mode=live - module2 /reliefos/initramfs.cpio initramfs - # Multiboot2 applies its framebuffer hint while loading; retain the menu mode. - set gfxpayload=keep - module2 /install/root.fat reliefos-installer-root - boot -} diff --git a/boot/grub/theme/theme.txt b/boot/grub/theme/theme.txt index a3105948..6110519d 100644 --- a/boot/grub/theme/theme.txt +++ b/boot/grub/theme/theme.txt @@ -1,8 +1,8 @@ title-text: "" -title-font: "LeonOS Pixel Regular 16" +title-font: "Unifont Regular 16" title-color: "#ffffff" desktop-color: "#080b10" -terminal-font: "LeonOS Pixel Regular 16" +terminal-font: "Unifont Regular 16" terminal-left: "7%" terminal-top: "72%" terminal-width: "86%" @@ -15,7 +15,7 @@ terminal-border: "0" width = 360 height = 28 text = "ReliefOS" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#ffffff" } @@ -25,7 +25,7 @@ terminal-border: "0" width = 360 height = 20 text = "A simple operating system" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#8fa3b8" } @@ -35,7 +35,7 @@ terminal-border: "0" width = 160 height = 18 text = " :-------:." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } @@ -45,7 +45,7 @@ terminal-border: "0" width = 192 height = 18 text = " :-----------." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } @@ -55,7 +55,7 @@ terminal-border: "0" width = 168 height = 18 text = " --------------." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -64,7 +64,7 @@ terminal-border: "0" width = 64 height = 18 text = " ." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -74,7 +74,7 @@ terminal-border: "0" width = 176 height = 18 text = " .---------------." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -83,7 +83,7 @@ terminal-border: "0" width = 72 height = 18 text = " .::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -93,7 +93,7 @@ terminal-border: "0" width = 136 height = 18 text = " .-----.:------" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -102,7 +102,7 @@ terminal-border: "0" width = 112 height = 18 text = ":::..:::::::." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -112,7 +112,7 @@ terminal-border: "0" width = 88 height = 18 text = " :-----: -" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -121,7 +121,7 @@ terminal-border: "0" width = 168 height = 18 text = ":::...::::::::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -131,7 +131,7 @@ terminal-border: "0" width = 64 height = 18 text = " :-----:" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -140,7 +140,7 @@ terminal-border: "0" width = 200 height = 18 text = " ...:::::::::::::::::::." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -150,7 +150,7 @@ terminal-border: "0" width = 56 height = 18 text = ":-----." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -159,7 +159,7 @@ terminal-border: "0" width = 208 height = 18 text = " .:::::::::::...:::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -169,7 +169,7 @@ terminal-border: "0" width = 48 height = 18 text = "----- " - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -178,7 +178,7 @@ terminal-border: "0" width = 216 height = 18 text = " .::::........::::::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -188,7 +188,7 @@ terminal-border: "0" width = 40 height = 18 text = "---- " - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -197,7 +197,7 @@ terminal-border: "0" width = 224 height = 18 text = " .::: ..::::::::::::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -207,7 +207,7 @@ terminal-border: "0" width = 32 height = 18 text = ":--:" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -216,7 +216,7 @@ terminal-border: "0" width = 224 height = 18 text = " ::. .::::::::::::::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -226,7 +226,7 @@ terminal-border: "0" width = 32 height = 18 text = " ---" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -235,7 +235,7 @@ terminal-border: "0" width = 224 height = 18 text = " :. .::::::::::::::::::::." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -245,7 +245,7 @@ terminal-border: "0" width = 40 height = 18 text = " :-." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -254,7 +254,7 @@ terminal-border: "0" width = 192 height = 18 text = " . ::::::::::::::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -264,7 +264,7 @@ terminal-border: "0" width = 48 height = 18 text = " :." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#005A9E" } + label { @@ -273,7 +273,7 @@ terminal-border: "0" width = 176 height = 18 text = " ::::::::::::::::::" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -283,7 +283,7 @@ terminal-border: "0" width = 128 height = 18 text = "..::::::::::::." - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#0078D4" } @@ -293,7 +293,7 @@ terminal-border: "0" width = 40% height = 20 text = "Select an operating system to start" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#8fa3b8" } @@ -302,7 +302,7 @@ terminal-border: "0" top = 36% width = 40% height = 190 - item_font = "LeonOS Pixel Regular 16" + item_font = "Unifont Regular 16" item_color = "#8fa3b8" selected_item_color = "#ffffff" item_height = 32 @@ -317,6 +317,6 @@ terminal-border: "0" width = 86% height = 20 text = "[UP] [DOWN] select [ENTER] boot [E] edit" - font = "LeonOS Pixel Regular 16" + font = "Unifont Regular 16" color = "#708090" } diff --git a/configs/apk-ownership.json b/configs/apk-ownership.json deleted file mode 100644 index aa7901f6..00000000 --- a/configs/apk-ownership.json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "version": 1, - "current_distributor": "reliefos-build", - "apk_registration": "not-installed", - "upstream_components": { - "sl": ["sl"], - "ncurses": ["ncurses", "ncurses-terminfo"], - "sqlite": ["sqlite", "sqlite-libs"] - }, - "groups": { - "reliefos-kernel": { - "destination": "reliefos", - "components": [], - "paths": ["lib/modules", "usr/lib/reliefos/kernel"], - "reason": "Matching versioned ReliefNT kernel, initramfs, modules and verified bundle metadata. Console/kernel products have no desktop icons." - }, - "reliefos-grub": { - "destination": "reliefos", - "components": [], - "paths": ["usr/sbin/grub-install", "usr/sbin/grub-bios-setup", "usr/sbin/grub-probe", "usr/bin/grub-mkimage", "usr/lib/grub", "usr/share/licenses/grub", "usr/sbin/reliefos-boot-install", "usr/libexec/reliefos/kernel-bundle", "lib/apk/commit_hooks.d/reliefos-kernel", "etc/init.d/reliefos-boot-confirm", "etc/runlevels/default/reliefos-boot-confirm", "usr/sbin/leonos-grub-installer", "usr/sbin/reliefos-grub-installer"], - "reason": "GNU GRUB 2.16 built from locked source for musl, its BIOS platform modules and GPL notices, and the shared ReliefOS boot installer CLI. Console tools have no desktop icons." - }, - "reliefos-xdm-config": { - "destination": "reliefos", - "components": [], - "paths": ["etc/X11/xdm/xdm-config", "etc/X11/xdm/Xservers", "etc/X11/xdm/Xresources", "usr/lib/X11/xdm/Xsession", "usr/lib/X11/xdm/Xsetup_0"], - "reason": "Local XDM policy at the upstream default paths. The signed package depends on and replaces the overlapping configuration files of xdm, without modifying the upstream archive." - }, - "reliefos-nls": { - "destination": "reliefos", - "components": [], - "paths": ["usr/share/locale/zh_CN", "usr/share/locale/ja_JP", "usr/share/musl/locales/zh_CN.UTF-8", "usr/share/musl/locales/ja_JP.UTF-8"], - "reason": "Per-application gettext catalogs from configs/nls/po/, scoped per language to preserve upstream catalog ownership." - }, - "reliefos-apps": { - "destination": "reliefos", - "components": ["installer", "login", "device-agent", "soundctl", "rcctl", "shell", "fileman", "taskmgr", "osver", "diskmgr", "driverinfo", "rdnssd", "sudod", "reliefaskpass", "calc", "openrc-controller", "reliefapk", "reliefexcel", "reliefmail", "reliefword", "reliefppt", "paint", "minesweeper", "snake", "matrix", "memtest", "smptest", "abittest", "ipctest", "rprfetch", "imageview", "wavplay", "pleditor", "doomlauncher", "doom", "leonmmcoset", "xiaobai"], - "paths": ["usr/lib/leonos", "usr/lib/reliefos", "usr/share/reliefos", "usr/share/fonts/reliefos", "etc/reliefos", "etc/icewm"], - "reason": "Native desktop, service, graphics and application interfaces. Embedded dependencies remain part of their actual consumers." - }, - "reliefos-system-update": { - "destination": "reliefos", - "components": ["systemupdate"], - "paths": ["usr/sbin/reliefos-update", "usr/sbin/leonos-rpr-apkcheck", "usr/sbin/leonos-rpr-ping", "usr/sbin/leonos-kernel-update", "usr/sbin/leonos-check-update", "usr/sbin/reliefos-rpr-apkcheck", "usr/sbin/reliefos-rpr-ping", "usr/sbin/reliefos-kernel-update", "usr/sbin/reliefos-check-update", "lib/apk/commit_hooks.d/reliefos-update", "etc/reliefos/rpr.conf"], - "reason": "Static native online updater, its authenticated repository configuration, compatibility command symlinks and APK transaction guard. Ordinary package management remains with upstream APK." - }, - "reliefos-linuxuname": { - "destination": "reliefos", - "components": ["linuxuname"], - "paths": ["usr/bin/linuxuname"], - "reason": "Command-line launcher for the task-local Linux uname selection, installed and removed with its executable and command symlink. No desktop entry or icons." - }, - "reliefos-reliefplayer": { - "destination": "reliefos", - "components": ["reliefplayer"], - "paths": ["usr/bin/reliefplayer", "usr/share/applications/reliefos-reliefplayer.desktop"], - "reason": "ReliefPlayer audio/video executable, launcher, desktop entry and component artwork are installed and removed together. minimp3 remains embedded in its consumers." - }, - "reliefos-media-codecs": { - "destination": "reliefos", - "components": [], - "paths": ["usr/lib/libavformat-reliefplayer.so", "usr/lib/libavcodec-reliefplayer.so", "usr/lib/libavutil-reliefplayer.so", "usr/lib/libswresample-reliefplayer.so", "usr/lib/libswscale-reliefplayer.so", "usr/share/licenses/ffmpeg"], - "reason": "Pinned LGPL FFmpeg libraries for local MP4 decoding in ReliefPlayer; headers and development files stay outside the runtime image." - }, - "reliefos-network-controller": { - "destination": "reliefos", - "components": ["network-controller"], - "paths": ["usr/bin/network-controller", "usr/share/applications/reliefos-network-controller.desktop"], - "reason": "Network Controller GUI, restricted worker, launcher, desktop entry and artwork are installed and removed together. Shared network boot and resolver tools remain independent of the optional GUI." - }, - "reliefos-reliefsettings": { - "destination": "reliefos", - "components": ["reliefsettings"], - "paths": ["usr/bin/reliefsettings", "usr/share/applications/reliefos-reliefsettings.desktop"], - "reason": "ReliefSettings GUI, session preferences helper, timezone helper, launcher, desktop entry and component artwork are installed and removed together." - }, - "reliefos-reliefclipboard": { - "destination": "reliefos", - "components": ["reliefclipboard"], - "paths": ["usr/bin/reliefclipboard", "usr/share/applications/reliefos-reliefclipboard.desktop"], - "reason": "Clipboard manager, history UI, launcher, desktop entry and artwork are installed together." - }, - "reliefos-reliefcapture": { - "destination": "reliefos", - "components": ["reliefcapture"], - "paths": ["usr/bin/reliefcapture", "usr/share/applications/reliefos-reliefcapture.desktop"], - "reason": "ReliefCapture screenshot and annotation executable, launcher, desktop entry and component artwork are installed and removed together." - }, - "reliefos-reliefdiagram": { - "destination": "reliefos", - "components": ["reliefdiagram"], - "paths": ["usr/bin/reliefdiagram", "usr/share/applications/reliefos-reliefdiagram.desktop", "usr/share/mime/packages/reliefdiagram.xml"], - "reason": "ReliefDiagram editor, desktop entry, MIME declaration and component artwork are installed and removed together." - }, - "reliefos-reliefmathpp": { - "destination": "reliefos", - "components": ["reliefmathpp"], - "paths": ["usr/bin/reliefmathpp", "usr/share/applications/reliefos-reliefmathpp.desktop", "usr/share/mime/packages/reliefmathpp.xml"], - "reason": "ReliefMath++ geometry application, desktop entry, MIME declaration and component artwork are installed and removed together." - }, - "reliefos-relieftodo": { - "destination": "reliefos", - "components": ["relieftodo"], - "paths": ["usr/bin/relieftodo", "usr/share/applications/reliefos-relieftodo.desktop", "usr/share/mime/packages/relieftodo.xml"], - "reason": "ReliefTodo task manager, desktop launcher, MIME declaration and component artwork are installed and removed together." - }, - "reliefos-reliefmath": { - "destination": "reliefos", - "components": ["reliefmath"], - "paths": ["usr/bin/reliefmath", "usr/share/applications/reliefos-reliefmath.desktop", "usr/share/mime/packages/reliefmath.xml", "usr/share/reliefmath", "usr/share/licenses/reliefmath"], - "reason": "ReliefMath GUI and isolated worker, their private math font and license texts, desktop launcher, MIME declaration and component icon are installed and removed together." - }, - "reliefos-fastfetch": { - "destination": "reliefos", - "components": ["fastfetch"], - "future_apk_conflicts": ["fastfetch"], - "reason": "Retain the verified ReliefOS release with the legacy LeonOS Logo alias. The future real local APK must depend on !fastfetch. This manifest does not enforce that conflict." - }, - "musl": { - "destination": "alpine-after-validation", - "components": [], - "paths": ["lib/ld-musl-x86_64.so.1", "lib/libc.so", "etc/ld-musl-x86_64.path"], - "alpine_candidates": ["musl"], - "reason": "The locally patched musl owns the real loader/libc. Its musl compatibility provider uses the binary-checked upstream version; it does not claim Alpine revisions." - }, - "reliefos-mimalloc": { - "destination": "reliefos", - "components": [], - "paths": ["lib/libmimalloc.so.3"], - "reason": "ReliefOS runtime allocator contract; statically linked copies belong to their consumers." - }, - "reliefos-musl-dev": { - "destination": "reliefos", - "components": [], - "paths": ["usr/share/licenses/leonos-musl-dev", "usr/share/licenses/reliefos-musl-dev"], - "reason": "Default-installed headers, startup objects and static libraries generated from the exact runtime musl sysroot. The APK builder assigns their exact file paths when packaging and repackaging roots." - }, - "busybox": { - "destination": "alpine-after-validation", - "components": ["busybox"], - "alpine_candidates": ["busybox"], - "reason": "Transfer /bin/sh and applet symlinks together after shell, init and installer regressions. Separately installed utilities retain their own paths." - }, - "findutils": { - "destination": "alpine-after-validation", - "components": [], - "paths": ["usr/bin/find", "usr/bin/xargs"], - "alpine_candidates": ["findutils"], - "reason": "Use the official Alpine findutils implementation for find and xargs; do not duplicate these commands in BusyBox." - }, - "coreutils": { - "destination": "alpine-after-validation", - "components": [], - "paths": [ - "usr/bin/[", "usr/bin/arch", "usr/bin/b2sum", "usr/bin/base32", - "usr/bin/base64", "usr/bin/basename", "usr/bin/basenc", "usr/bin/cat", - "usr/bin/chcon", "usr/bin/chgrp", "usr/bin/chmod", "usr/bin/chown", - "usr/bin/chroot", "usr/bin/cksum", "usr/bin/comm", "usr/bin/coreutils", - "usr/bin/cp", "usr/bin/csplit", "usr/bin/cut", "usr/bin/date", - "usr/bin/dd", "usr/bin/df", "usr/bin/dir", "usr/bin/dircolors", - "usr/bin/dirname", "usr/bin/du", "usr/bin/echo", "usr/bin/env", - "usr/bin/expand", "usr/bin/expr", "usr/bin/factor", "usr/bin/false", - "usr/bin/fmt", "usr/bin/fold", "usr/bin/groups", "usr/bin/head", - "usr/bin/hostid", "usr/bin/hostname", "usr/bin/id", "usr/bin/install", - "usr/bin/join", "usr/bin/kill", "usr/bin/link", "usr/bin/ln", - "usr/bin/logname", "usr/bin/ls", "usr/bin/md5sum", "usr/bin/mkdir", - "usr/bin/mkfifo", "usr/bin/mknod", "usr/bin/mktemp", "usr/bin/mv", - "usr/bin/nice", "usr/bin/nl", "usr/bin/nohup", "usr/bin/nproc", - "usr/bin/numfmt", "usr/bin/od", "usr/bin/paste", "usr/bin/pathchk", - "usr/bin/pinky", "usr/bin/pr", "usr/bin/printenv", "usr/bin/printf", - "usr/bin/ptx", "usr/bin/pwd", "usr/bin/readlink", "usr/bin/realpath", - "usr/bin/rm", "usr/bin/rmdir", "usr/bin/runcon", "usr/bin/seq", - "usr/bin/sha1sum", "usr/bin/sha224sum", "usr/bin/sha256sum", "usr/bin/sha384sum", - "usr/bin/sha512sum", "usr/bin/shred", "usr/bin/shuf", "usr/bin/sleep", - "usr/bin/sort", "usr/bin/split", "usr/bin/stat", "usr/bin/stdbuf", - "usr/bin/stty", "usr/bin/sum", "usr/bin/sync", "usr/bin/tac", - "usr/bin/tail", "usr/bin/tee", "usr/bin/test", "usr/bin/timeout", - "usr/bin/touch", "usr/bin/tr", "usr/bin/true", "usr/bin/truncate", - "usr/bin/tsort", "usr/bin/tty", "usr/bin/uname", "usr/bin/unexpand", - "usr/bin/uniq", "usr/bin/unlink", "usr/bin/uptime", "usr/bin/users", - "usr/bin/vdir", "usr/bin/wc", "usr/bin/who", "usr/bin/whoami", - "usr/bin/yes", "usr/libexec/coreutils", "usr/share/licenses/coreutils", "usr/share/doc/coreutils", - "usr/share/info/coreutils.info", "usr/share/info/coreutils.info-1", "usr/share/info/coreutils.info-2", "usr/share/info/coreutils.info-3", - "usr/share/info/coreutils.info-4", "usr/share/info/coreutils.info-5", "usr/share/info/coreutils.info-6", "usr/share/man/man1/arch.1", - "usr/share/man/man1/b2sum.1", "usr/share/man/man1/base32.1", "usr/share/man/man1/base64.1", "usr/share/man/man1/basename.1", - "usr/share/man/man1/basenc.1", "usr/share/man/man1/cat.1", "usr/share/man/man1/chcon.1", "usr/share/man/man1/chgrp.1", - "usr/share/man/man1/chmod.1", "usr/share/man/man1/chown.1", "usr/share/man/man1/chroot.1", "usr/share/man/man1/cksum.1", - "usr/share/man/man1/comm.1", "usr/share/man/man1/coreutils.1", "usr/share/man/man1/cp.1", "usr/share/man/man1/csplit.1", - "usr/share/man/man1/cut.1", "usr/share/man/man1/date.1", "usr/share/man/man1/dd.1", "usr/share/man/man1/df.1", - "usr/share/man/man1/dir.1", "usr/share/man/man1/dircolors.1", "usr/share/man/man1/dirname.1", "usr/share/man/man1/du.1", - "usr/share/man/man1/echo.1", "usr/share/man/man1/env.1", "usr/share/man/man1/expand.1", "usr/share/man/man1/expr.1", - "usr/share/man/man1/factor.1", "usr/share/man/man1/false.1", "usr/share/man/man1/fmt.1", "usr/share/man/man1/fold.1", - "usr/share/man/man1/groups.1", "usr/share/man/man1/head.1", "usr/share/man/man1/hostid.1", "usr/share/man/man1/hostname.1", - "usr/share/man/man1/id.1", "usr/share/man/man1/install.1", "usr/share/man/man1/join.1", "usr/share/man/man1/kill.1", - "usr/share/man/man1/link.1", "usr/share/man/man1/ln.1", "usr/share/man/man1/logname.1", "usr/share/man/man1/ls.1", - "usr/share/man/man1/md5sum.1", "usr/share/man/man1/mkdir.1", "usr/share/man/man1/mkfifo.1", "usr/share/man/man1/mknod.1", - "usr/share/man/man1/mktemp.1", "usr/share/man/man1/mv.1", "usr/share/man/man1/nice.1", "usr/share/man/man1/nl.1", - "usr/share/man/man1/nohup.1", "usr/share/man/man1/nproc.1", "usr/share/man/man1/numfmt.1", "usr/share/man/man1/od.1", - "usr/share/man/man1/paste.1", "usr/share/man/man1/pathchk.1", "usr/share/man/man1/pinky.1", "usr/share/man/man1/pr.1", - "usr/share/man/man1/printenv.1", "usr/share/man/man1/printf.1", "usr/share/man/man1/ptx.1", "usr/share/man/man1/pwd.1", - "usr/share/man/man1/readlink.1", "usr/share/man/man1/realpath.1", "usr/share/man/man1/rm.1", "usr/share/man/man1/rmdir.1", - "usr/share/man/man1/runcon.1", "usr/share/man/man1/seq.1", "usr/share/man/man1/sha1sum.1", "usr/share/man/man1/sha224sum.1", - "usr/share/man/man1/sha256sum.1", "usr/share/man/man1/sha384sum.1", "usr/share/man/man1/sha512sum.1", "usr/share/man/man1/shred.1", - "usr/share/man/man1/shuf.1", "usr/share/man/man1/sleep.1", "usr/share/man/man1/sort.1", "usr/share/man/man1/split.1", - "usr/share/man/man1/stat.1", "usr/share/man/man1/stdbuf.1", "usr/share/man/man1/stty.1", "usr/share/man/man1/sum.1", - "usr/share/man/man1/sync.1", "usr/share/man/man1/tac.1", "usr/share/man/man1/tail.1", "usr/share/man/man1/tee.1", - "usr/share/man/man1/test.1", "usr/share/man/man1/timeout.1", "usr/share/man/man1/touch.1", "usr/share/man/man1/tr.1", - "usr/share/man/man1/true.1", "usr/share/man/man1/truncate.1", "usr/share/man/man1/tsort.1", "usr/share/man/man1/tty.1", - "usr/share/man/man1/uname.1", "usr/share/man/man1/unexpand.1", "usr/share/man/man1/uniq.1", "usr/share/man/man1/unlink.1", - "usr/share/man/man1/uptime.1", "usr/share/man/man1/users.1", "usr/share/man/man1/vdir.1", "usr/share/man/man1/wc.1", - "usr/share/man/man1/who.1", "usr/share/man/man1/whoami.1", "usr/share/man/man1/yes.1" - ], - "alpine_candidates": ["coreutils"], - "reason": "The complete locked GNU coreutils suite, its multi-call command links, historical executable-path aliases, stdbuf preload library, manuals and licenses are one signed package. BusyBox supplies no same-name PATH links; explicit BusyBox applet calls remain available for bootstrap and update helpers." - }, - "authentication": { - "destination": "alpine-after-validation", - "components": ["sudo", "su"], - "library_stems": ["lib/libpam", "lib/libpam_misc", "lib/libpamc", "lib/libcrypt", "usr/lib/libsubid"], - "paths": ["bin/login", "usr/bin/newgrp", "sbin/nologin", "usr/bin/sudo", "usr/bin/sudoedit", "usr/bin/passwd", "sbin/unix_chkpwd", "lib/security", "usr/lib/security", "usr/lib/sudo", "etc/pam.d", "etc/security", "etc/sudoers", "etc/sudoers.d", "etc/sudo.conf", "lib/libpam.so.0", "lib/libpam_misc.so.0", "lib/libpamc.so.0", "lib/libcrypt.so.2"], - "alpine_candidates": ["linux-pam", "shadow", "sudo", "libxcrypt"], - "reason": "PAM patches and shadow login/newgrp/nologin retain their real local owner. The signed authentication package replaces the overlapping util-linux-login files and su-l policy, while official APKs own su/runuser and their modes." - }, - "auth-support-libraries": { - "destination": "alpine-after-validation", - "components": [], - "paths": ["lib/libmd.so", "lib/libmd.so.0", "lib/libmd.so.0.3.0"], - "alpine_candidates": [], - "reason": "Legacy /lib libmd entry points forward to the official runtime SONAME. Original libmd/libbsd runtime and documentation APKs retain ownership; their development inputs are isolated for building shadow." - }, - "storage-util-linux": { - "destination": "alpine-after-validation", - "components": [], - "paths": ["usr/sbin/fdisk", "usr/sbin/sfdisk", "usr/sbin/runuser", "usr/sbin/fsck", "usr/sbin/blkid", "usr/bin/mount", "usr/bin/umount", "usr/bin/lsblk", "sbin/umount"], - "alpine_candidates": [], - "reason": "Compatibility aliases depend on the official util-linux command, library and documentation packages. No locally built util-linux executables, libraries, headers or static archives enter the runtime." - }, - "storage-filesystems": { - "destination": "alpine-after-validation", - "components": [], - "paths": ["usr/bin/chattr", "usr/bin/lsattr", "usr/sbin/e2fsck", "usr/sbin/mke2fs", "usr/sbin/dosfsck", "usr/sbin/dosfslabel", "usr/sbin/fatlabel", "usr/sbin/mkdosfs", "usr/sbin/mkfs.ext3", "usr/sbin/fsck.ext3", "usr/sbin/mkfs.vfat", "usr/sbin/fsck.vfat", "usr/sbin/mkfs.msdos", "usr/sbin/fsck.msdos", "usr/sbin/mkfs.fat32", "usr/sbin/fsck.fat32", "sbin/mkfs.fat32", "sbin/fsck.fat32"], - "alpine_candidates": ["exfatprogs"], - "reason": "Local exfatprogs and compatibility aliases depend on official e2fsprogs/dosfstools packages. Official APKs retain ownership of ext/FAT executables, shared libraries, configuration and documentation." - }, - "trust": { - "destination": "alpine-after-validation", - "components": [], - "paths": ["etc/ssl/certs", "etc/ssl/cert.pem", "etc/apk/keys", "etc/apk/ca.pem", "etc/apk/protected_paths.d/reliefos-ca-bundle.list", "usr/share/reliefos/certs", "usr/share/licenses/alpine-keys"], - "alpine_candidates": ["ca-certificates", "alpine-keys"], - "reason": "Transfer trust data via authenticated packages; validate certificate update triggers on ReliefOS." - }, - "reliefos-apk-tools": { - "destination": "reliefos", - "components": [], - "paths": ["sbin/apk", "usr/lib/leonos/leonos-apk-update", "usr/lib/reliefos/leonos-apk-update", "usr/lib/reliefos/reliefos-apk-update", "usr/share/licenses/apk-tools"], - "reason": "Upstream apk transaction tools plus the local signed repository updater and legacy command paths." - }, - "reliefos-base": { - "destination": "reliefos", - "components": [], - "reason": "Fallback distribution inventory, not proof of an individual package producer. Includes kernel, boot, identity and layout; review every fallback before generating APKs." - } - }, - "apk_only_future_packages": ["python3", "gcc", "g++", "binutils", "musl-dev", "tcc"], - "forbidden_shortcuts": ["fake-installed-database", "fake-provides", "force-overwrite", "disable-signature-verification", "disable-tls-verification"] -} diff --git a/configs/app-icons.list b/configs/app-icons.list index f8b2f290..b85a2054 100644 --- a/configs/app-icons.list +++ b/configs/app-icons.list @@ -1,7 +1,7 @@ # ReliefOS-authored X11 graphical applications only. # Console commands, services, and third-party applications do not get artwork. calc -openrc-controller +service-controller diskmgr doomlauncher fileman @@ -12,7 +12,7 @@ minesweeper network-controller osver paint -reliefapk +reliefpackages reliefcapture reliefclipboard reliefexcel diff --git a/configs/application-sources.lock.json b/configs/application-sources.lock.json new file mode 100644 index 00000000..82000b91 --- /dev/null +++ b/configs/application-sources.lock.json @@ -0,0 +1,17 @@ +{ + "schema_version": 1, + "dependencies": [ + { + "id": "nuked-opl3", + "kind": "tarball", + "version": "1.8", + "commit": "765ec962e473aeb767e4cba74ffdc8f588ffbfe8", + "url": "https://codeload.github.com/nukeykt/Nuked-OPL3/tar.gz/765ec962e473aeb767e4cba74ffdc8f588ffbfe8", + "sha256": "2fad908c3904d3ef51b55e0d6a8980c7142942e2d0baa7e99bf038cf0a41199d", + "directory": "Nuked-OPL3-765ec962e473aeb767e4cba74ffdc8f588ffbfe8", + "script": "tools/build/arch-apps.sh", + "target": "glibc-apps", + "license_in_source": "LICENSE" + } + ] +} diff --git a/configs/auth-upstream.json b/configs/auth-upstream.json deleted file mode 100644 index c76d9542..00000000 --- a/configs/auth-upstream.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "shadow": { - "version": "4.20.2", - "url": "https://github.com/shadow-maint/shadow/releases/download/4.20.2/shadow-4.20.2.tar.xz", - "sha256": "b89f432b75ae55a2d852b446d0365484795fdf533ab97d550e325fa15594a224", - "directory": "shadow-4.20.2", - "license_file": "COPYING", - "checksum_source": "https://api.github.com/repos/shadow-maint/shadow/releases/tags/4.20.2" - }, - "libxcrypt": { - "version": "4.5.2", - "url": "https://github.com/besser82/libxcrypt/releases/download/v4.5.2/libxcrypt-4.5.2.tar.xz", - "sha256": "71513a31c01a428bccd5367a32fd95f115d6dac50fb5b60c779d5c7942aec071", - "directory": "libxcrypt-4.5.2", - "license_file": "COPYING.LIB", - "checksum_source": "https://api.github.com/repos/besser82/libxcrypt/releases/tags/v4.5.2" - }, - "sudo": { - "version": "1.9.17p2", - "url": "https://github.com/sudo-project/sudo/releases/download/v1.9.17p2/sudo-1.9.17p2.tar.gz", - "sha256": "4a38a1ab3adb1199257edc2a7c4a2bd714665eb605b04368843b06dada2cfcfb", - "directory": "sudo-1.9.17p2", - "license_file": "LICENSE.md", - "checksum_source": "https://api.github.com/repos/sudo-project/sudo/releases/tags/v1.9.17p2" - }, - "linux-pam": { - "version": "1.7.2", - "url": "https://github.com/linux-pam/linux-pam/releases/download/v1.7.2/Linux-PAM-1.7.2.tar.xz", - "sha256": "3d86b6383fb5fd9eb9578d2cd47d92801191f4bf3f9bc61419bfefc8aa1e531a", - "directory": "Linux-PAM-1.7.2", - "license_file": "Copyright", - "checksum_source": "https://api.github.com/repos/linux-pam/linux-pam/releases/tags/v1.7.2" - } -} diff --git a/configs/components.toml b/configs/components.toml deleted file mode 100644 index a7cc5360..00000000 --- a/configs/components.toml +++ /dev/null @@ -1,753 +0,0 @@ -version = 1 - -[[components]] -id = "soundctl" -symbol = "APP_SOUNDCTL" -label = "Sound controls" -category = "System applications" -kind = "system-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -# The component manifest is the source for optional build, image and entry -# switches. Required components cannot be disabled. SDK/API fields describe -# retained metadata; the current SDK is a fixed sysroot, not a menu selection. - -[[components]] -id = "reliefaskpass" -symbol = "APP_RELIEFASKPASS" -label = "X11 authentication prompt" -category = "Core services" -kind = "system-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "rdnssd" -symbol = "APP_RDNSSD" -label = "IPv6 router-advertisement DNS service" -category = "Core services" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "installer" -symbol = "APP_INSTALLER" -label = "Installer" -category = "Core services" -kind = "system-app" -default = true -required = true -stage = false -entry = false -sdk = false -api = false - -[[components]] -id = "login" -symbol = "APP_LOGIN" -label = "Login" -category = "System applications" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "shell" -symbol = "APP_SHELL" -label = "Shell" -category = "System applications" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "linuxuname" -symbol = "APP_LINUXUNAME" -label = "Linux uname launcher" -category = "System applications" -kind = "system-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "fileman" -symbol = "APP_FILEMAN" -label = "File manager" -category = "Desktop applications" -kind = "system-app" -default = true -required = true -stage = true -entry = true -sdk = false -api = false -depends = ["sudo", "reliefaskpass"] - -[[components]] -id = "taskmgr" -symbol = "APP_TASKMGR" -label = "Task manager" -category = "Desktop applications" -kind = "system-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "osver" -symbol = "APP_OSVER" -label = "System information" -category = "Desktop applications" -kind = "system-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "diskmgr" -symbol = "APP_DISKMGR" -label = "Disk manager" -category = "System applications" -kind = "system-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "driverinfo" -symbol = "APP_DRIVERINFO" -label = "Driver information" -category = "System applications" -kind = "system-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "sudo" -symbol = "APP_SUDO" -label = "sudo" -category = "System applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "su" -symbol = "APP_SU" -label = "su" -category = "System applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -# Fixed file-operation worker launched through upstream sudo. -id = "sudod" -symbol = "APP_SUDOD" -label = "Privileged file-operation worker" -category = "Core services" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "calc" -symbol = "APP_CALC" -label = "Calculator" -category = "Desktop applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "network-controller" -symbol = "APP_NETWORK_CONTROLLER" -label = "Network Controller" -category = "System applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -depends = ["sudo", "su"] - -[[components]] -id = "reliefsettings" -symbol = "APP_RELIEFSETTINGS" -label = "ReliefSettings" -category = "System applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -depends = ["sudo", "reliefaskpass"] - -[[components]] -id = "openrc-controller" -symbol = "APP_OPENRC_CONTROLLER" -label = "OpenRC Controller" -category = "System applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -depends = ["sudo", "su"] - -[[components]] -id = "reliefapk" -symbol = "APP_RELIEFAPK" -label = "ReliefAPK" -category = "System applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".apk"] -depends = ["sudo", "su"] - -[[components]] -id = "reliefmail" -symbol = "APP_RELIEFMAIL" -label = "ReliefMail" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -depends = ["sqlite"] - -[[components]] -id = "reliefexcel" -symbol = "APP_RELIEFEXCEL" -label = "ReliefExcel" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rexl", ".csv"] - -[[components]] -id = "reliefword" -symbol = "APP_RELIEFWORD" -label = "ReliefWord" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rword", ".txt", ".html", ".htm"] - -[[components]] -id = "reliefmath" -symbol = "APP_RELIEFMATH" -label = "ReliefMath" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rmath"] - -[[components]] -id = "reliefmathpp" -symbol = "APP_RELIEFMATHPP" -label = "ReliefMath++" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rmathpp"] - -[[components]] -id = "reliefdiagram" -symbol = "APP_RELIEFDIAGRAM" -label = "ReliefDiagram" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rdiagram"] - -[[components]] -id = "relieftodo" -symbol = "APP_RELIEFTODO" -label = "ReliefTodo" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rtodo"] - -[[components]] -id = "reliefppt" -symbol = "APP_RELIEFPPT" -label = "ReliefPPT" -category = "Office applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".rppt"] - -[[components]] -id = "minesweeper" -symbol = "APP_MINESWEEPER" -label = "Minesweeper" -category = "Games" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "snake" -symbol = "APP_SNAKE" -label = "Snake" -category = "Games" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "matrix" -symbol = "APP_MATRIX" -label = "Matrix" -category = "Games" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "memtest" -symbol = "APP_MEMTEST" -label = "Memory test" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "smptest" -symbol = "APP_SMPTEST" -label = "SMP test" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "abittest" -symbol = "APP_ABITEST" -label = "Linux ABI runtime tests" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "ipctest" -symbol = "APP_IPCTEST" -label = "Unix IPC smoke test" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "systemupdate" -symbol = "APP_SYSTEMUPDATE" -label = "System update client" -category = "System services" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "rprfetch" -symbol = "APP_RPRFETCH" -label = "RPR HTTPS fetch helper" -category = "System services" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "imageview" -symbol = "APP_IMAGEVIEW" -label = "Image viewer" -category = "Desktop applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".bmp", ".dib", ".png"] - -[[components]] -id = "paint" -symbol = "APP_PAINT" -label = "Paint" -category = "Desktop applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".bmp", ".dib", ".png"] - -[[components]] -id = "reliefcapture" -symbol = "APP_RELIEFCAPTURE" -label = "ReliefCapture" -category = "Desktop applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = false - -[[components]] -id = "reliefclipboard" -symbol = "APP_RELIEFCLIPBOARD" -label = "ReliefClipboard" -category = "Desktop applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "reliefplayer" -symbol = "APP_RELIEFPLAYER" -label = "ReliefPlayer" -category = "Network and multimedia" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false -open_with = true -extensions = [".mp3", ".wav", ".mp4"] - -[[components]] -id = "wavplay" -symbol = "APP_WAVPLAY" -label = "WAV player" -category = "Network and multimedia" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false -open_with = true -extensions = [".wav"] - -[[components]] -id = "ncurses" -symbol = "LIB_NCURSES" -label = "ncurses wide-character terminal library" -category = "Libraries" -kind = "library" -default = true -required = false -stage = true -entry = false -sdk = true -api = false - -[[components]] -id = "fastfetch" -symbol = "APP_FASTFETCH" -label = "fastfetch system summary" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "sl" -symbol = "TOOL_SL" -label = "sl Steam Locomotive" -category = "Developer applications" -kind = "tool" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "pleditor" -symbol = "APP_PLEDITOR" -label = "PL editor" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = true -sdk = false -api = false - -[[components]] -id = "doomlauncher" -symbol = "APP_DOOMLAUNCHER" -label = "DOOM launcher" -category = "Games" -kind = "package-app" -default = true -required = false -stage = false -entry = false -sdk = false -api = false -depends = ["doom"] - -[[components]] -id = "doom" -symbol = "APP_DOOM" -label = "DOOM" -category = "Games" -kind = "package-app" -default = true -required = false -stage = false -entry = false -sdk = false -api = false - -[[components]] -id = "busybox" -symbol = "TOOL_BUSYBOX" -label = "BusyBox" -category = "Developer applications" -kind = "tool" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "sqlite" -symbol = "LIB_SQLITE" -label = "SQLite database library" -category = "Third-party libraries" -kind = "library" -default = true -required = false -stage = true -entry = false -sdk = true -api = false - -[[components]] -id = "leonmmcoset" -symbol = "APP_LEONMMCOSSET" -label = "Leonmmcoset easter egg" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "xiaobai" -symbol = "APP_XIAOBAI" -label = "Xiaobai easter egg" -category = "Developer applications" -kind = "program-app" -default = true -required = false -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "device-agent" -symbol = "APP_DEVICE_AGENT" -label = "ReliefOS device protocol" -category = "Core services" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false - -[[components]] -id = "rcctl" -symbol = "APP_RCCTL" -label = "Authorized OpenRC command adapter" -category = "Core services" -kind = "system-app" -default = true -required = true -stage = true -entry = false -sdk = false -api = false diff --git a/configs/dependencies.lock.json b/configs/dependencies.lock.json deleted file mode 100644 index 5944d9df..00000000 --- a/configs/dependencies.lock.json +++ /dev/null @@ -1,6205 +0,0 @@ -{ - "schema_version": 1, - "dependencies": [ - { - "id": "ffmpeg", - "kind": "tarball", - "version": "8.1.3", - "commit": "1041abdc962f4cc4f394aa8de9dc5236c0c3b9e7", - "url": "https://codeload.github.com/FFmpeg/FFmpeg/tar.gz/refs/tags/n8.1.3", - "sha256": "09f990289327d3ebfedf4fc15cae3f884a65dab7a5aac7bbb5b01ff83900efd9", - "directory": "FFmpeg-n8.1.3", - "script": "tools/build/ffmpeg.sh", - "target": "upstream-ffmpeg", - "license_in_source": "COPYING.LGPLv2.1" - }, - { - "id": "alpine-bash", - "kind": "apk", - "version": "5.3.9-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bash-5.3.9-r1.apk", - "sha256": "4ad962f26fb3c68365171233fe61e3c51bbee1cab35e8dc661198233daeab0dd", - "directory": "bash-5.3.9-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main package; recipe commit 1522c3193610902d8493f9790a2755c11f21f26d; GPL-3.0-or-later; default login shell with upstream startup files and APK shell-registration scripts", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-bash-completion", - "kind": "apk", - "version": "2.17.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bash-completion-2.17.0-r1.apk", - "sha256": "9db205ae09360013128162b0f94cf121c24a8887c46330e0422fc31b8c854d6c", - "directory": "bash-completion-2.17.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main package; recipe commit 5fc8418c6904b56de1ce06118049cfa7f000281e; GPL-2.0-or-later; programmable completion loaded by the upstream Bash configuration", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-bash-doc", - "kind": "apk", - "version": "5.3.9-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bash-doc-5.3.9-r1.apk", - "sha256": "519c0a4d7b13e044862bfab9a5cdb8ebf634d6d59483b3af40c09779a3771bb9", - "directory": "bash-doc-5.3.9-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main package; recipe commit 1522c3193610902d8493f9790a2755c11f21f26d; GPL-3.0-or-later; Bash manuals and examples", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-readline", - "kind": "apk", - "version": "8.3.3-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/readline-8.3.3-r1.apk", - "sha256": "766911ecb986a6c5cf0841a6b556cd1e9dbbf22b3559726de32416486cd15c81", - "directory": "readline-8.3.3-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main package; recipe commit a854c03acdac188901fb012f7acbee70a36e8041; GPL-3.0-or-later; Bash line editing and libreadline.so.8, using the pinned libncursesw provider", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-giflib", - "kind": "apk", - "version": "5.2.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/giflib-5.2.2-r2.apk", - "sha256": "b9e569173af3a34a4756d9834fab7212863bd3b74f870ea9ed217caaf6faa695", - "directory": "giflib-5.2.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xrandr", - "kind": "apk", - "version": "1.5.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xrandr-1.5.4-r0.apk", - "sha256": "4f8d9302be2d7587b3b6c1f1fa967d618dc2aeee8b9081875f2d1cc1d4959b8d", - "directory": "xrandr-1.5.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine v3.24 community package; MIT; ReliefSettings runtime dependency, embedded APK signature verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-setxkbmap", - "kind": "apk", - "version": "1.3.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/setxkbmap-1.3.5-r0.apk", - "sha256": "435315fb1950be93493f5e95b61cf8617903ebc864e64fd2f06e0ebd30fc0446", - "directory": "setxkbmap-1.3.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine v3.24 community package; MIT; ReliefSettings runtime dependency, embedded APK signature verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-tzdata", - "kind": "apk", - "version": "2026f-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/tzdata-2026f-r0.apk", - "sha256": "f41a4a5913372a3694f157825f5133fe32743e679ed8476f258c984e13113602", - "directory": "tzdata-2026f-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main package; Public-Domain; ReliefSettings runtime dependency, embedded APK signature verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-icewm", - "kind": "apk", - "version": "4.0.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/icewm-4.0.0-r1.apk", - "sha256": "0c761742ef8915407c55cc258cb15bc5463976cac26774735fa0b499f7c19e46", - "directory": "icewm-4.0.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.0-only; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-imlib2", - "kind": "apk", - "version": "1.12.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/imlib2-1.12.6-r0.apk", - "sha256": "fd55f7cc7a1d8f54982b99dd1de11a259cfafea6b1385ab4a4a00b00acf30d0c", - "directory": "imlib2-1.12.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = Imlib2; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-lame-libs", - "kind": "apk", - "version": "3.100-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/lame-libs-3.100-r5.apk", - "sha256": "3f9df27e0451f8e1b32941c70bf73d7f3ec136b1b665921538f638d039a04e25", - "directory": "lame-libs-3.100-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libao", - "kind": "apk", - "version": "1.2.2-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libao-1.2.2-r3.apk", - "sha256": "9c91d2ce1f34232c2cd39ba33c50035ea95a0651b5b6da5b900ba274740274f1", - "directory": "libao-1.2.2-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdav1d", - "kind": "apk", - "version": "1.5.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libdav1d-1.5.3-r0.apk", - "sha256": "40a2b1b92cdcc6fd295934f799ee80ef67e2e384097624d565c6222d827f8480", - "directory": "libdav1d-1.5.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-2-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libde265", - "kind": "apk", - "version": "1.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libde265-1.1.3-r0.apk", - "sha256": "df3533c00e5ac95208830b7f248775ae282ac8d8ead63fc9ec820c04e9f41aa3", - "directory": "libde265-1.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-3.0-or-later; recipe commit c91a404808a54ac43837f3e459595fb868d5d6e1; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libflac", - "kind": "apk", - "version": "1.4.3-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libflac-1.4.3-r2.apk", - "sha256": "683e75654d71965a504acd09fa5829cd7f376b4317b9fc905ebc7944f97965bb", - "directory": "libflac-1.4.3-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause AND GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-1.23.7-r0.apk", - "sha256": "e57e22bc2d04e8b9a0d3008b1baf631aa244b8be2b27da31dfc91772ff428950", - "directory": "libheif-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-dav1d", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-dav1d-1.23.7-r0.apk", - "sha256": "ac0f44f6344452d21e6993ba25a968541840a702129762031c90ef57be066ad1", - "directory": "libheif-dav1d-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-libde265", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-libde265-1.23.7-r0.apk", - "sha256": "8289a2cc31e98848724bdc4b14e0fa19fcb9ad6fd6ded85bafb2eef3e88032e2", - "directory": "libheif-libde265-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libid3tag", - "kind": "apk", - "version": "0.16.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libid3tag-0.16.3-r0.apk", - "sha256": "ce406d44edcf4b79612c857426001e240bbed55f0f1a84e84a96336f459f67f5", - "directory": "libid3tag-0.16.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libogg", - "kind": "apk", - "version": "1.3.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libogg-1.3.6-r0.apk", - "sha256": "597c42559f346f9dc019e4165c9408baeb3d6aad828d548916b55fa51fe81183", - "directory": "libogg-1.3.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-librsvg", - "kind": "apk", - "version": "2.62.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/librsvg-2.62.3-r0.apk", - "sha256": "e2aeb4a2b6b1ab20627dbb0e9136ea90f7120ec61412ed52f4335ee231361fde", - "directory": "librsvg-2.62.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsndfile", - "kind": "apk", - "version": "1.2.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libsndfile-1.2.2-r2.apk", - "sha256": "56b9aff207756be28b7cbb013a5ae063761e2721ecc1b10ca393d670eff808f2", - "directory": "libsndfile-1.2.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libvorbis", - "kind": "apk", - "version": "1.3.7-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libvorbis-1.3.7-r2.apk", - "sha256": "3a9f459499e52caf84c091ddea59a4da183152ab97cff39980a5703674d40c47", - "directory": "libvorbis-1.3.7-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libwebpdemux", - "kind": "apk", - "version": "1.6.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libwebpdemux-1.6.0-r0.apk", - "sha256": "a4fad211e35c4d87c44015259be007c1922868207cf75fec71127d1e5095b0da", - "directory": "libwebpdemux-1.6.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mpg123-libs", - "kind": "apk", - "version": "1.33.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/mpg123-libs-1.33.5-r0.apk", - "sha256": "3cab9a9a4b414a77dd9947e227e32d6108361ebdf8c6c1ee61345d9c42abc6f3", - "directory": "mpg123-libs-1.33.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-only; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-opus", - "kind": "apk", - "version": "1.6.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/opus-1.6.1-r0.apk", - "sha256": "8aecfcbe5b02eb8642ebc8703880ac3bbcdbeac537495bd98c5e4269c904f9e0", - "directory": "opus-1.6.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-tiff", - "kind": "apk", - "version": "4.7.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/tiff-4.7.2-r0.apk", - "sha256": "757ce87ebe4923a6be9869d026e250958ca09696529c464781e8a91d2b81670b", - "directory": "tiff-4.7.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = libtiff; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "x11-dev-fltk", - "kind": "apk", - "version": "1.3.11-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/fltk-dev-1.3.11-r1.apk", - "sha256": "ad0d535e2675acdb64b939c0f42a7a8151099cf9d235cfd684f63d8e7e2c8497", - "directory": "fltk-dev-1.3.11-r1", - "script": "tools/build/x11-development.sh", - "target": "x11-development", - "feature": "xorg", - "note": "Build-only FLTK 1.3.11 C++ headers and linker symlink; Alpine v3.24 community x86_64 APK signature verified before extraction (LGPL-2.0-only WITH FLTK-exception).", - "license_in_source": ".PKGINFO" - }, - { - "id": "x11-dev-glib", - "kind": "apk", - "version": "2.88.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/glib-dev-2.88.1-r1.apk", - "sha256": "ad1c0a360a2effd1e2d905f2e4e90de53b05ff012cb9e900f49d7ba20f33161d", - "directory": "glib-dev-2.88.1-r1", - "script": "tools/build/x11-development.sh", - "target": "x11-development", - "feature": "xorg", - "note": "Alpine v3.24 build-only GLib/GIO headers matching alpine-glib. LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "x11-dev-ncurses", - "kind": "apk", - "version": "6.6_p20260516-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ncurses-dev-6.6_p20260516-r0.apk", - "sha256": "f619c185ae571d0cc78b2f78e578f560a243a4153ae849de0c25564e73b98023", - "directory": "ncurses-dev-6.6_p20260516-r0", - "script": "tools/build/x11-development.sh", - "target": "x11-development", - "feature": "xorg", - "note": "Alpine v3.24 build-only ncursesw headers matching alpine-libncursesw. X11 license; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "x11-dev-libx11", - "kind": "apk", - "version": "1.8.14-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libx11-dev-1.8.14-r0.apk", - "sha256": "e6f72a43c12c734fb76bee5e01856f42dbefc37cc4bacb52667fe31d858238fc", - "directory": "libx11-dev-1.8.14-r0", - "script": "tools/build/x11-development.sh", - "target": "x11-development", - "feature": "xorg", - "note": "Build-only headers; matching alpine-libx11 runtime. Official APK signature verified before extraction.", - "license_in_source": ".PKGINFO" - }, - { - "id": "x11-dev-xorgproto", - "kind": "apk", - "version": "2025.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/xorgproto-2025.1-r0.apk", - "sha256": "8e43324c60aa227a1a335aef357dc2c0c26afcc536952f992b4a32293d230d76", - "directory": "xorgproto-2025.1-r0", - "script": "tools/build/x11-development.sh", - "target": "x11-development", - "feature": "xorg", - "note": "Build-only X11 protocol headers. Official APK signature verified before extraction.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-adwaita-icon-theme", - "kind": "apk", - "version": "50.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/adwaita-icon-theme-50.0-r1.apk", - "sha256": "cdda5d059fdf6adae4d7e8fdc863ddf082eeb3a665a1ace3dc3740fe6f607f1e", - "directory": "adwaita-icon-theme-50.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-3.0-or-later OR CC-BY-SA-3.0; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-adwaita-xfce-icon-theme", - "kind": "apk", - "version": "0.0.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/adwaita-xfce-icon-theme-0.0.4-r0.apk", - "sha256": "6a89fa51571d7bcea4722459df201d68197d29130ba0145252c23b1e70d84d28", - "directory": "adwaita-xfce-icon-theme-0.0.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-only; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-at-spi2-core-libs", - "kind": "apk", - "version": "2.60.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/at-spi2-core-libs-2.60.5-r0.apk", - "sha256": "bcd4846311c8b19ad7e08ffc3cf726ddbe3d36bbc524386bda64758f5c5981a6", - "directory": "at-spi2-core-libs-2.60.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-avahi-libs", - "kind": "apk", - "version": "0.9_rc4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/avahi-libs-0.9_rc4-r0.apk", - "sha256": "380d59c58cfce9cb5cf342cf73947749ca77a880f729970e2f508aaa6fc2f713", - "directory": "avahi-libs-0.9_rc4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-brotli-libs", - "kind": "apk", - "version": "1.2.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/brotli-libs-1.2.1-r0.apk", - "sha256": "62a7e37e43bbfc1f8525a00ad2125fd5897135dc93b849733884cb78ffd8e26c", - "directory": "brotli-libs-1.2.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-bubblewrap", - "kind": "apk", - "version": "0.12.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bubblewrap-0.12.0-r0.apk", - "sha256": "7755592c3f7c6de79a5c3c13554ada6302dbd98e520fe6dd8064f87ba77092e5", - "directory": "bubblewrap-0.12.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-busybox-openrc", - "kind": "apk", - "version": "1.37.0-r31", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/busybox-openrc-1.37.0-r31.apk", - "sha256": "e0aafdbbcf62119611b7fad19b7653bc9ae2a602e432549fc96937a99e68a4b3", - "directory": "busybox-openrc-1.37.0-r31", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit c3ef5d10e6ef6528852c51f0564963e2f8c1be19 apk-tools installs .LICENSE as usr/share/licenses/busybox-openrc", - "license_in_source": ".LICENSE" - }, - { - "id": "alpine-c-ares", - "kind": "apk", - "version": "1.34.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/c-ares-1.34.9-r0.apk", - "sha256": "3539a3e11c1ef1516117d8179a546ac882086e94e0d78ad51d687b3fa2b3b5f2", - "directory": "c-ares-1.34.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ca-certificates", - "kind": "apk", - "version": "20261020-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ca-certificates-20261020-r0.apk", - "sha256": "ca8de7a7469e2a04b9008eb728d6de1a6da691e09e3379d83dfd77bbfce4e3f9", - "directory": "ca-certificates-20261020-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MPL-2.0 AND MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ca-certificates-bundle", - "kind": "apk", - "version": "20261020-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ca-certificates-bundle-20261020-r0.apk", - "sha256": "bb008f6d214b6af7576324659856fb63dc8dcb4373f8345ff706388696f1254d", - "directory": "ca-certificates-bundle-20261020-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MPL-2.0 AND MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-cairo", - "kind": "apk", - "version": "1.18.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/cairo-1.18.4-r1.apk", - "sha256": "23364d77506b5f60eae26daa0a5489cdee8bc100fcd010cd73774dfa5a7f9305", - "directory": "cairo-1.18.4-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later OR MPL-1.1; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-cairo-gobject", - "kind": "apk", - "version": "1.18.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/cairo-gobject-1.18.4-r1.apk", - "sha256": "ec302c75a24edaa4a2f867cfb5eec85cf30efe184044bab6e2b9678840e2bc2a", - "directory": "cairo-gobject-1.18.4-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later OR MPL-1.1; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-cups-libs", - "kind": "apk", - "version": "2.4.19-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/cups-libs-2.4.19-r1.apk", - "sha256": "5739c568d90f23006d74ff82619e1a18447a6f698ae2af61970debe6658a7bea", - "directory": "cups-libs-2.4.19-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Apache-2.0; recipe commit 636370bb6f28ad23a01cefdd5316b06c85fa5761; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-dbus-libs", - "kind": "apk", - "version": "1.16.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dbus-libs-1.16.2-r2.apk", - "sha256": "105f6ba17454c587ca9345f9deb348012d1950588a22da42120c954d396c99b6", - "directory": "dbus-libs-1.16.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = AFL-2.1 OR GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-encodings", - "kind": "apk", - "version": "1.1.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/encodings-1.1.0-r0.apk", - "sha256": "f7c0eb762638d0249b4fbbe07a8e4ed6aab8e86b74c239c40e47a36219777d52", - "directory": "encodings-1.1.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Public Domain; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-eudev-libs", - "kind": "apk", - "version": "3.2.14-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/eudev-libs-3.2.14-r6.apk", - "sha256": "45fdbcf37c5c0e82067e98a818d3c1fd16d0261c62128dcb6b935b86b4ec6c86", - "directory": "eudev-libs-3.2.14-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-file", - "kind": "apk", - "version": "5.47-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/file-5.47-r2.apk", - "sha256": "4681c153c509aec126e2b9ea2c959730309b24a792d49fc8cc26fa5fa87e8fdd", - "directory": "file-5.47-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit a05d36fa86411cd0ce86d756f818e525d0eee1c3; .PKGINFO license = BSD-2-Clause", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-findutils", - "kind": "apk", - "version": "4.10.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/findutils-4.10.0-r1.apk", - "sha256": "86cf2b3f8aa3b1092cb3225fcc8179fc1229d178aa126266cfeadfda09487dc2", - "directory": "findutils-4.10.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 1a4e2ce6309586205b7e4c500c7ae287be39ea31 apk-tools installs .LICENSE as usr/share/licenses/findutils", - "license_in_source": ".LICENSE" - }, - { - "id": "alpine-font-alias", - "kind": "apk", - "version": "1.0.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/font-alias-1.0.6-r0.apk", - "sha256": "754e5c1d19c2c69d5a2c3c02c7340cad7df3c26e63789516372ea164b564b927", - "directory": "font-alias-1.0.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = custom; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-font-cursor-misc", - "kind": "apk", - "version": "1.0.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/font-cursor-misc-1.0.4-r1.apk", - "sha256": "a1a0c0659a9a48e24b4cc4b35583f4e57da9d2a0ae2cc8adb9be1143b66911b4", - "directory": "font-cursor-misc-1.0.4-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Public Domain; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-font-liberation", - "kind": "apk", - "version": "2.1.5-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/font-liberation-2.1.5-r2.apk", - "sha256": "fcd4d5f27c4a2a8e32a53e3466d4eb0adfb198bf720397fa6ad130bca67a7e00", - "directory": "font-liberation-2.1.5-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = OFL-1.1; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-font-misc-misc", - "kind": "apk", - "version": "1.1.3-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/font-misc-misc-1.1.3-r1.apk", - "sha256": "2c48f2a8529ac63243a0bdd5e7ab2329e0a8b8f996ffe95faed8b79fb05b4a52", - "directory": "font-misc-misc-1.1.3-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Public Domain; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-fontconfig", - "kind": "apk", - "version": "2.17.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/fontconfig-2.17.1-r1.apk", - "sha256": "7634cf2fb1066ec97c8f41ec90ec9f036540e056276b7bf9a10dc4ec9e44d238", - "directory": "fontconfig-2.17.1-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-freetype", - "kind": "apk", - "version": "2.14.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/freetype-2.14.3-r0.apk", - "sha256": "09d76fde675a9ca3cfeb83d72fb09cb2e9ccf79b2937daa05a1af9a37a6b7815", - "directory": "freetype-2.14.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = FTL OR GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-fribidi", - "kind": "apk", - "version": "1.0.16-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/fribidi-1.0.16-r3.apk", - "sha256": "be0cba50bc7bfdaadfba020fe8239ba3f25f35d309806a9e89e9e09860f985c0", - "directory": "fribidi-1.0.16-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gdk-pixbuf", - "kind": "apk", - "version": "2.44.7-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gdk-pixbuf-2.44.7-r1.apk", - "sha256": "71c422b35822af144fbc14baf7308fa6bd59c490b19842de93aef4ed46c88422", - "directory": "gdk-pixbuf-2.44.7-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-glib", - "kind": "apk", - "version": "2.88.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/glib-2.88.1-r1.apk", - "sha256": "2f32203b97789bc9a92e57e2d9b89eb2e6951b69534ba082a683c6e49031cb5d", - "directory": "glib-2.88.1-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-glycin-image-rs", - "kind": "apk", - "version": "2.1.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/glycin-image-rs-2.1.5-r0.apk", - "sha256": "9c9d639e1484e244316acfd8b9815ec90773f695b90f99451e914c66ddaf4726", - "directory": "glycin-image-rs-2.1.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MPL-2.0 OR LGPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-glycin-svg", - "kind": "apk", - "version": "2.1.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/glycin-svg-2.1.5-r0.apk", - "sha256": "59cf8cb8816249019f9498ef3acf20073f5443d2e89d4d3baf7878c0a454137a", - "directory": "glycin-svg-2.1.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MPL-2.0 OR LGPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gmp", - "kind": "apk", - "version": "6.3.0-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gmp-6.3.0-r4.apk", - "sha256": "85323ef5bce8ff234736dc2d6592ea37aebdc6348a531e27430bdfe38364d256", - "directory": "gmp-6.3.0-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-3.0-or-later OR GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gnutls", - "kind": "apk", - "version": "3.8.13-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gnutls-3.8.13-r0.apk", - "sha256": "8d3f3612145db8cd7feb83607187a60f809f06cfa3c2e74d310d58a6b053d54c", - "directory": "gnutls-3.8.13-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gobject-introspection", - "kind": "apk", - "version": "1.86.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gobject-introspection-1.86.0-r1.apk", - "sha256": "ad831499410b235a1072dde40705f4ea5303be9ad47ce1e97dcb1b9658c6eee9", - "directory": "gobject-introspection-1.86.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.0-or-later AND GPL-2.0-or-later AND MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-graphite2", - "kind": "apk", - "version": "1.3.14-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/graphite2-1.3.14-r6.apk", - "sha256": "2caa36d901f79215753ce3b614818ca71596baf2bbb2c21b6eadcf073d81b552", - "directory": "graphite2-1.3.14-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later OR MPL-1.1; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gtk+3.0", - "kind": "apk", - "version": "3.24.52-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gtk+3.0-3.24.52-r0.apk", - "sha256": "c7c0c0faffa3061bc8fca9540b250d024bdba1aa6ae1fb06f5185adefceaa070", - "directory": "gtk+3.0-3.24.52-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-harfbuzz", - "kind": "apk", - "version": "13.2.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/harfbuzz-13.2.1-r0.apk", - "sha256": "01f7862265ef2256bbadd0fc998df3d1243dee606df3bd8284471cf390f86f29", - "directory": "harfbuzz-13.2.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-hicolor-icon-theme", - "kind": "apk", - "version": "0.18-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/hicolor-icon-theme-0.18-r0.apk", - "sha256": "e05ffcf07a87bd283390cf5d91967d1ffeca84140ac70f4da2734a8c45a58d46", - "directory": "hicolor-icon-theme-0.18-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-hwdata-pci", - "kind": "apk", - "version": "0.408-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/hwdata-pci-0.408-r0.apk", - "sha256": "fe61404e6d2bd1e04c021d53641c0ebce97911084d77994e43a288a1278686c1", - "directory": "hwdata-pci-0.408-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later OR XFree86-1.1; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-lcms2", - "kind": "apk", - "version": "2.19-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/lcms2-2.19-r0.apk", - "sha256": "b4cb038af3c2f02bedd8456ae876c97ac0a9f29789add77871bfd6ce084ff136", - "directory": "lcms2-2.19-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-less", - "kind": "apk", - "version": "702-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/less-702-r0.apk", - "sha256": "afa47eee1729eab04d6d72142c52dea513c756b71be91cc13756fa628282ec7e", - "directory": "less-702-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 58c8a1ed3dcfa0680c6ad25e2edd6512bcb0ff93; .PKGINFO license = GPL-3.0-or-later OR BSD-2-Clause", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libatk-1.0", - "kind": "apk", - "version": "2.60.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libatk-1.0-2.60.5-r0.apk", - "sha256": "ab5f603b17f0f0c5577d259b8263c5cbc6c7b3fd031f06ddc1e3e26417e1609a", - "directory": "libatk-1.0-2.60.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libatk-bridge-2.0", - "kind": "apk", - "version": "2.60.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libatk-bridge-2.0-2.60.5-r0.apk", - "sha256": "f5e38bc54bae780680134f7b96ce8e01ef24e98ae0ac67ded7229af07aa0b0f1", - "directory": "libatk-bridge-2.0-2.60.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libbz2", - "kind": "apk", - "version": "1.0.8-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libbz2-1.0.8-r6.apk", - "sha256": "2737e2b23ed08d4911ee62cd0163b5f4bf0379cacf4dc35b23a00209584c98fd", - "directory": "libbz2-1.0.8-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = bzip2-1.0.6; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libcap2", - "kind": "apk", - "version": "2.78-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libcap2-2.78-r0.apk", - "sha256": "42886a7b4bcde26347c712925c8dc7db202b6029ef9b8c7ee81577ab7bdd8fad", - "directory": "libcap2-2.78-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 0c35848136c4c16a1b1672cb812efa88fffef1c2 apk-tools installs .LICENSE as usr/share/licenses/libcap2", - "license_in_source": ".LICENSE" - }, - { - "id": "alpine-libcrypto3", - "kind": "apk", - "version": "3.5.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libcrypto3-3.5.9-r0.apk", - "sha256": "6632d758d8f5e9ea3b650fe966f23bbf9a202f8b8dceecac93da135dec5e3689", - "directory": "libcrypto3-3.5.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Apache-2.0; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libcurl", - "kind": "apk", - "version": "8.23.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libcurl-8.23.0-r0.apk", - "sha256": "1f70ca404818805a6465b615bbfe84ef861488a963d7e630108ebd7fbaa51665", - "directory": "libcurl-8.23.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = curl; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdrm", - "kind": "apk", - "version": "2.4.134-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libdrm-2.4.134-r0.apk", - "sha256": "584fd84ad5030040e613fa1816097cd1706ddd542100070852b0eab6e09e12ca", - "directory": "libdrm-2.4.134-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libeconf", - "kind": "apk", - "version": "0.8.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libeconf-0.8.4-r0.apk", - "sha256": "285cc8268c2426030be8d5a47bcc6f695e14af22fc94733927fcebf47ce1b838", - "directory": "libeconf-0.8.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 96066c3b6d2992dd2b72db6492c4e65d7f17520f; .PKGINFO license = MIT; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libelf", - "kind": "apk", - "version": "0.195-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libelf-0.195-r0.apk", - "sha256": "78c5a1993342ab1bdcdce30639fd0937e8000f6d0d85cea171f573d31decd036", - "directory": "libelf-0.195-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-3.0-or-later AND ( GPL-2.0-or-later OR LGPL-3.0-or-later ); embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libepoxy", - "kind": "apk", - "version": "1.5.10-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libepoxy-1.5.10-r1.apk", - "sha256": "0be13b4b524fe64315e0663ab615a244d75d7da73130ac1c630cd6096841444e", - "directory": "libepoxy-1.5.10-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libevdev", - "kind": "apk", - "version": "1.13.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libevdev-1.13.6-r0.apk", - "sha256": "b38a27a4ac55701fd2eb0032977af2664b6fc23b2f9c2cc6e893ad4452fd82d5", - "directory": "libevdev-1.13.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libexif", - "kind": "apk", - "version": "0.6.26-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libexif-0.6.26-r0.apk", - "sha256": "9fcc1b2c7f9a28aa7c310fe1ee215be4ece70e4b27f5cf079b3b56bf4ba683ae", - "directory": "libexif-0.6.26-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libexpat", - "kind": "apk", - "version": "2.10.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libexpat-2.10.0-r0.apk", - "sha256": "e7e7408ea787ed06d00159b0ff1f9b65a63cf634f36d9e0fa7512ce2c489a503", - "directory": "libexpat-2.10.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libffi", - "kind": "apk", - "version": "3.5.2-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libffi-3.5.2-r1.apk", - "sha256": "6da1a19313a40c56cac756fb11e2c4d5267831e1c22fc8323f24c943c94da6e0", - "directory": "libffi-3.5.2-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libfltk", - "kind": "apk", - "version": "1.3.11-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libfltk-1.3.11-r1.apk", - "sha256": "a32e2422971dc8964f968694cd96e13c5b6df9e777ef4df4bc591c06be904ec5", - "directory": "libfltk-1.3.11-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.0-only WITH FLTK-exception; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libfm", - "kind": "apk", - "version": "1.4.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libfm-1.4.0-r0.apk", - "sha256": "eb07e69bb0271b65948d4de66fbd6f950a16532eddf3833c81d1b7142a10aed3", - "directory": "libfm-1.4.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libfm-extra", - "kind": "apk", - "version": "1.3.2-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libfm-extra-1.3.2-r1.apk", - "sha256": "624eea88370d9c398cbafb59ecff86b6b00f0bd17fe60550f9d0dccf7c16f11c", - "directory": "libfm-extra-1.3.2-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libfontenc", - "kind": "apk", - "version": "1.1.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libfontenc-1.1.9-r0.apk", - "sha256": "ea7f6d097653572991da749ac0764c2568d8902a01eea4236e56b10b90a7b0e3", - "directory": "libfontenc-1.1.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgcc", - "kind": "apk", - "version": "15.2.0-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libgcc-15.2.0-r5.apk", - "sha256": "393dcd32629f06d7d85409c272d142d0c082772d10b87ef55ee82f47de3be637", - "directory": "libgcc-15.2.0-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libglycin", - "kind": "apk", - "version": "2.1.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libglycin-2.1.5-r0.apk", - "sha256": "3541d1a5d4d2599d145904f4febf26e56942403b6d80834461e196636b35b280", - "directory": "libglycin-2.1.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MPL-2.0 OR LGPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libice", - "kind": "apk", - "version": "1.1.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libice-1.1.2-r0.apk", - "sha256": "08daa589d57149b52b00c666b4009212aa3af95021ebdb2a359555c9bcaa76e1", - "directory": "libice-1.1.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = X11; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libidn2", - "kind": "apk", - "version": "2.3.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libidn2-2.3.8-r0.apk", - "sha256": "7d038ac558dde464964b033ce5126dd2eaf84cc414dc15e77c5424a321d0ebee", - "directory": "libidn2-2.3.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later OR LGPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libintl", - "kind": "apk", - "version": "1.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libintl-1.0-r0.apk", - "sha256": "cb03919cba5624b5e8759d04f3b31913b02585355988b914bc31de4746ff5ef6", - "directory": "libintl-1.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libjpeg-turbo", - "kind": "apk", - "version": "3.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libjpeg-turbo-3.1.3-r0.apk", - "sha256": "6299627dd0a9156a7463511e4915a6294dfb592d8b4bdf85e55265adf1b8ea04", - "directory": "libjpeg-turbo-3.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause AND IJG AND Zlib; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libmagic", - "kind": "apk", - "version": "5.47-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libmagic-5.47-r2.apk", - "sha256": "1820acd299025619a848b19ac98c7996fd92c06965255898800b6a790a8b03a2", - "directory": "libmagic-5.47-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit a05d36fa86411cd0ce86d756f818e525d0eee1c3; .PKGINFO license = BSD-2-Clause; so:libmagic.so.1 for alpine-file", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libncursesw", - "kind": "apk", - "version": "6.6_p20260516-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libncursesw-6.6_p20260516-r0.apk", - "sha256": "cf8caa8a88bc4ce9d9e395567fefaf9ef7fbd55c50ae6155b35c1b58f3755023", - "directory": "libncursesw-6.6_p20260516-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 2cee8a7328d061418336ad327b512d96bcd7bc5e; .PKGINFO license = X11; so:libncursesw.so.6 for alpine-less and alpine-vim", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libpciaccess", - "kind": "apk", - "version": "0.19-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libpciaccess-0.19-r0.apk", - "sha256": "03fdccd1e2a0825e7f7fabbac67212e05d271d31d2eff44cc92f707e69908ad4", - "directory": "libpciaccess-0.19-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = X11; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libpng", - "kind": "apk", - "version": "1.6.59-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libpng-1.6.59-r0.apk", - "sha256": "d16aeb0597f2bc43e0583ac9ff779388ec160c3e22568b640122e94ba55be6d7", - "directory": "libpng-1.6.59-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Libpng; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libptytty", - "kind": "apk", - "version": "2.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libptytty-2.0-r0.apk", - "sha256": "3f905798c193c19d25fe209f4ff49fcb5e0d830372fece4f7a8fa12f6136ce0e", - "directory": "libptytty-2.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libpsl", - "kind": "apk", - "version": "0.21.5-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libpsl-0.21.5-r3.apk", - "sha256": "ec665a344b6e887f00f0a47015cc732c3a281b69e84641dc8662ea234fde6cdb", - "directory": "libpsl-0.21.5-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libseccomp", - "kind": "apk", - "version": "2.6.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libseccomp-2.6.1-r0.apk", - "sha256": "b22ccfe8cb072e4c8d3bc17222eeda132e270ce6258c27622acb193bf27b48e1", - "directory": "libseccomp-2.6.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsharpyuv", - "kind": "apk", - "version": "1.6.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libsharpyuv-1.6.0-r0.apk", - "sha256": "34621ff53f43030d24d1224fe9cb53b1590ab614cbce6080005cde703e6c874a", - "directory": "libsharpyuv-1.6.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsm", - "kind": "apk", - "version": "1.2.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libsm-1.2.6-r0.apk", - "sha256": "dd7eff58a46fd60e4afee9c7c1c3508920b0e1d6560129e59aee82329f68afc8", - "directory": "libsm-1.2.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libssl3", - "kind": "apk", - "version": "3.5.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libssl3-3.5.9-r0.apk", - "sha256": "05e3393fb95aa5751ca2f9d242f659f6cff82c1cc7767cc2df4a086f7ad01877", - "directory": "libssl3-3.5.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Apache-2.0; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libstdc++", - "kind": "apk", - "version": "15.2.0-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libstdc++-15.2.0-r5.apk", - "sha256": "14c987b556f5385a5db18376e788c75f37d85321b8dc1920d926ea7daac1d6f6", - "directory": "libstdc++-15.2.0-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libtasn1", - "kind": "apk", - "version": "4.21.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libtasn1-4.21.0-r0.apk", - "sha256": "407f255c5af989f4e22a5e9404c4558f6fda04f14a4209a2ca1e06c3f2ba476e", - "directory": "libtasn1-4.21.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libunistring", - "kind": "apk", - "version": "1.4.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libunistring-1.4.2-r0.apk", - "sha256": "3aa6030e603e34d96192742f327c0509f409c6769ce2e7b1463685dede38d714", - "directory": "libunistring-1.4.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later OR LGPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libwebp", - "kind": "apk", - "version": "1.6.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libwebp-1.6.0-r0.apk", - "sha256": "dc50c0280348330bb113079331c4a35d85e28351c7baa9268ee346aad8398288", - "directory": "libwebp-1.6.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libx11", - "kind": "apk", - "version": "1.8.14-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libx11-1.8.14-r0.apk", - "sha256": "016efc189c6d566061ffe206ed0780e32686c1a8c832a3917d35d2c66d61a40f", - "directory": "libx11-1.8.14-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = X11; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxau", - "kind": "apk", - "version": "1.0.12-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxau-1.0.12-r0.apk", - "sha256": "3506cdba7ed916a6f814a010fbb127dbfdae4147107f64a15f5fa2651c5d8510", - "directory": "libxau-1.0.12-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxaw", - "kind": "apk", - "version": "1.0.16-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxaw-1.0.16-r1.apk", - "sha256": "8ac469cddeac40ff2e91c84cb02ba526d7c62e30a79a25c2e3b6e5269236801d", - "directory": "libxaw-1.0.16-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxcb", - "kind": "apk", - "version": "1.17.0-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxcb-1.17.0-r2.apk", - "sha256": "7935d5ad9c7137b7b3f1292d62f55f7e0cc5c919155218c3060ea46503b3f211", - "directory": "libxcb-1.17.0-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxcomposite", - "kind": "apk", - "version": "0.4.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxcomposite-0.4.7-r0.apk", - "sha256": "90d6c22a5a730c7f884c992a8ca4c41102a71918aff9d804313356c721f2b50e", - "directory": "libxcomposite-0.4.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxcursor", - "kind": "apk", - "version": "1.2.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxcursor-1.2.3-r0.apk", - "sha256": "5be10886e7361c8a9a6ae68b83ea664a6bd6a021043a9203fe6c8b878e99c0cd", - "directory": "libxcursor-1.2.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxcvt", - "kind": "apk", - "version": "0.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxcvt-0.1.3-r0.apk", - "sha256": "809b454981887c1d1d835c909c46a80650ca72a73a92268a2cf8a666ad82b6b7", - "directory": "libxcvt-0.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = custom; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxdamage", - "kind": "apk", - "version": "1.1.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxdamage-1.1.7-r0.apk", - "sha256": "d3fbef1ed735be3385531682c40a593d78467ff1713ad2c4a57daecb755b1bf7", - "directory": "libxdamage-1.1.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxdmcp", - "kind": "apk", - "version": "1.1.5-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxdmcp-1.1.5-r1.apk", - "sha256": "2a93f44f3f85c1eda9ed53691c35d0742b5fcd8e0057cd7380934025936cbf6f", - "directory": "libxdmcp-1.1.5-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxext", - "kind": "apk", - "version": "1.3.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxext-1.3.7-r0.apk", - "sha256": "8afe1ee6ab8cb656e12f20dc5b7fb2d4103faee4a38298b94f26ab52e597cbc8", - "directory": "libxext-1.3.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxfixes", - "kind": "apk", - "version": "6.0.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxfixes-6.0.2-r0.apk", - "sha256": "cb00578d1b83abe8baf291f311f194d4deca0f9cf525f47ab10e3bd7c0e54e24", - "directory": "libxfixes-6.0.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxfont2", - "kind": "apk", - "version": "2.0.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxfont2-2.0.8-r0.apk", - "sha256": "f8bf87b9ce835cb307eb8a3d270e226c4437757478c52ba3ad384cecc2ac6fef", - "directory": "libxfont2-2.0.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxft", - "kind": "apk", - "version": "2.3.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxft-2.3.9-r0.apk", - "sha256": "eba6fd85599b4fedf3acdd3ad3e2eec84ea97a5ba8f1ac570fa1ee37a7d81420", - "directory": "libxft-2.3.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxi", - "kind": "apk", - "version": "1.8.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxi-1.8.4-r0.apk", - "sha256": "e41ff864833603ab1065ac37680b47838436f78d4d9510604723341fcb933723", - "directory": "libxi-1.8.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT AND X11; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxinerama", - "kind": "apk", - "version": "1.1.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxinerama-1.1.6-r0.apk", - "sha256": "9f780efb3cf675b5253b73b84f278b40757fa7869c6fe70a9790a73f4f7e810f", - "directory": "libxinerama-1.1.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxkbcommon", - "kind": "apk", - "version": "1.13.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxkbcommon-1.13.1-r0.apk", - "sha256": "f52efd26a9069b1c3edc89cab399f7f81bdc47c9e88a54e017c470bd9734b003", - "directory": "libxkbcommon-1.13.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT AND MIT-open-group AND HPND AND HPND-sell-variant AND LicenseRef-digital-equipment-corporation; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxkbfile", - "kind": "apk", - "version": "1.2.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxkbfile-1.2.0-r0.apk", - "sha256": "e575c6c314ad87e74887526aca3b1429f5c1d6290e66f2945d4053f387beea57", - "directory": "libxkbfile-1.2.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxml2", - "kind": "apk", - "version": "2.13.9-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxml2-2.13.9-r2.apk", - "sha256": "4b2f986159c659f014b942fe8a5d70c67af475153ca826c3dd53389eea46a300", - "directory": "libxml2-2.13.9-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxmu", - "kind": "apk", - "version": "1.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxmu-1.3.1-r0.apk", - "sha256": "5d0b06d1a4b38ac0e070e0dad5e61583e5e147e378ba50418c83e1be4b19986c", - "directory": "libxmu-1.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxpm", - "kind": "apk", - "version": "3.5.20-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxpm-3.5.20-r0.apk", - "sha256": "1ed312a00abac5a5840c1f3721921ea8183e664566c19763ed00aa9f35bb2178", - "directory": "libxpm-3.5.20-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = X11; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxrandr", - "kind": "apk", - "version": "1.5.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxrandr-1.5.5-r0.apk", - "sha256": "c64856b77001cdf31a32841729b1950ad45e6981c16d09f9fdf08824ab1c0271", - "directory": "libxrandr-1.5.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxrender", - "kind": "apk", - "version": "0.9.13-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxrender-0.9.13-r0.apk", - "sha256": "724aa6c6353e70869e0eb5aa5461e8fc0753b99db765de47a3ae238573dbdcf8", - "directory": "libxrender-0.9.13-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxshmfence", - "kind": "apk", - "version": "1.3.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxshmfence-1.3.3-r0.apk", - "sha256": "53790552de7eea17a47aa4c082b06b735c545a0947c41128f97c7be95a7d3d92", - "directory": "libxshmfence-1.3.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxt", - "kind": "apk", - "version": "1.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxt-1.3.1-r0.apk", - "sha256": "08b167b05ac7dfb892421876cc2467214208b83b2960a9f49e84f9dbcf36e812", - "directory": "libxt-1.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxxf86vm", - "kind": "apk", - "version": "1.1.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxxf86vm-1.1.7-r0.apk", - "sha256": "887a3c5438e1db624d07ac23d16ec08d21fb16de438d75ad2dd5637c958b4108", - "directory": "libxxf86vm-1.1.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-llvm23-libs", - "kind": "apk", - "version": "23.1.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/llvm23-libs-23.1.5-r0.apk", - "sha256": "f97c1bd5d215c9ff7fa32dbbb2981da8768f11d623d41ca8d5baeb3773720be0", - "directory": "llvm23-libs-23.1.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; Apache-2.0; LLVM 23 runtime for Mesa VirGL", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mcookie", - "kind": "apk", - "version": "2.42.3-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/mcookie-2.42.3-r1.apk", - "sha256": "64f86340991e2f283ce95b1bae21157da6849118cd9f1a2931de5c73d0f9fc3d", - "directory": "mcookie-2.42.3-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Public-Domain; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-menu-cache", - "kind": "apk", - "version": "1.1.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/menu-cache-1.1.0-r1.apk", - "sha256": "5c8789c926b284ed3f45168679776ebd81cba6bc550335372aea9000cc265210", - "directory": "menu-cache-1.1.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0+; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mesa", - "kind": "apk", - "version": "26.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mesa-26.3.1-r0.apk", - "sha256": "eefa96db193f0259000cf9bf52d12141602365dc8c301b2491df1062ec490fc9", - "directory": "mesa-26.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; MIT AND SGI-B-2.0 AND BSL-1.0; Mesa includes virgl, svga and llvmpipe; recipe ce9245751c47470428b8c3507773f29feb42ca88", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mesa-dri-gallium", - "kind": "apk", - "version": "26.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mesa-dri-gallium-26.3.1-r0.apk", - "sha256": "8c71c09d4e68143c005be4e1d989bec65186b44bb986a7efd57a3940175138a2", - "directory": "mesa-dri-gallium-26.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; MIT AND SGI-B-2.0 AND BSL-1.0; Mesa includes virgl, svga and llvmpipe; recipe ce9245751c47470428b8c3507773f29feb42ca88", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mesa-egl", - "kind": "apk", - "version": "26.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mesa-egl-26.3.1-r0.apk", - "sha256": "f4c74f1459da3fee304b3c511d4c8630ebec3a74cfaa9c67d88e4819a1cae7b0", - "directory": "mesa-egl-26.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; MIT AND SGI-B-2.0 AND BSL-1.0; Mesa includes virgl, svga and llvmpipe; recipe ce9245751c47470428b8c3507773f29feb42ca88", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mesa-gbm", - "kind": "apk", - "version": "26.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mesa-gbm-26.3.1-r0.apk", - "sha256": "48788c6703ff7b55a73122416d83984d39372016d5bbeb3eda548819f8d57159", - "directory": "mesa-gbm-26.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; MIT AND SGI-B-2.0 AND BSL-1.0; Mesa includes virgl, svga and llvmpipe; recipe ce9245751c47470428b8c3507773f29feb42ca88", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mesa-gl", - "kind": "apk", - "version": "26.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mesa-gl-26.3.1-r0.apk", - "sha256": "5a625889654944d460d5a6ffa6ebf8d794febb7f45dd06aa5cd3725476d428e2", - "directory": "mesa-gl-26.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; MIT AND SGI-B-2.0 AND BSL-1.0; Mesa includes virgl, svga and llvmpipe; recipe ce9245751c47470428b8c3507773f29feb42ca88", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mesa-gles", - "kind": "apk", - "version": "26.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mesa-gles-26.3.1-r0.apk", - "sha256": "389e4ee8bba869e8a1eb8782bf580dc54a92b9b0a5a7cfe982c23cd0a5ccf4a1", - "directory": "mesa-gles-26.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Official Alpine edge x86_64 package; upstream RSA signature verified by apk-tools; MIT AND SGI-B-2.0 AND BSL-1.0; Mesa includes virgl, svga and llvmpipe; recipe ce9245751c47470428b8c3507773f29feb42ca88", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mkfontscale", - "kind": "apk", - "version": "1.2.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/mkfontscale-1.2.4-r0.apk", - "sha256": "2385a7aad3971fcad9d862cb90937e643e633b14bf4b91f8b8ce3040a1468d20", - "directory": "mkfontscale-1.2.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-motif", - "kind": "apk", - "version": "2.5.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/motif-2.5.2-r0.apk", - "sha256": "37dac29a5f62a81073c9863865b01c44cb0f1a96e5ee02f9b8bf5551b05b186b", - "directory": "motif-2.5.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mtdev", - "kind": "apk", - "version": "1.1.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/mtdev-1.1.7-r0.apk", - "sha256": "004f42bc67bc0eb573d64d802c5f0325f49013cf4aa7576d4b571399df46f3f7", - "directory": "mtdev-1.1.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ncurses-terminfo-base", - "kind": "apk", - "version": "6.6_p20260516-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ncurses-terminfo-base-6.6_p20260516-r0.apk", - "sha256": "ce83be6d0bd10584a53c3a5868cc1595ce5f0f8e0b621f8f7f70b6144e521fc9", - "directory": "ncurses-terminfo-base-6.6_p20260516-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 2cee8a7328d061418336ad327b512d96bcd7bc5e; .PKGINFO license = X11; required by alpine-libncursesw", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-nedit", - "kind": "apk", - "version": "5.7-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/nedit-5.7-r4.apk", - "sha256": "aba4ca66253696c5f3896d07236d15c655481302559fb7d977916188364fdb14", - "directory": "nedit-5.7-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-netsurf", - "kind": "apk", - "version": "3.11-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/netsurf-3.11-r1.apk", - "sha256": "4ea4200bb12faec841295d9e432be27c90a2c2b454ca8aa85e58507751d4c767", - "directory": "netsurf-3.11-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-nettle", - "kind": "apk", - "version": "3.10.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/nettle-3.10.2-r0.apk", - "sha256": "693c1a99b781cd17149916df30113ccd6bdddac130298c17b1286fd2ae438386", - "directory": "nettle-3.10.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later OR LGPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-nghttp2-libs", - "kind": "apk", - "version": "1.70.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/nghttp2-libs-1.70.0-r0.apk", - "sha256": "f0c4014eb2f10308dcdfd84cd49c121673c7b78cb8182b6e7a1388d8ae112a3b", - "directory": "nghttp2-libs-1.70.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openrc", - "kind": "apk", - "version": "0.63.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/openrc-0.63.2-r0.apk", - "sha256": "cda5779b160ddbdf1d1b9cc9514b7b72f0a18453792ff7c0a6eb6e28d5bc2225", - "directory": "openrc-0.63.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 30c61338b7a04d3c94509eabba5210b7bf81151a apk-tools installs .LICENSE as usr/share/licenses/openrc", - "license_in_source": ".LICENSE" - }, - { - "id": "alpine-openrc-user", - "kind": "apk", - "version": "0.63.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/openrc-user-0.63.2-r0.apk", - "sha256": "c350ab9e3de14d5eb33e609bca2f1c4c4d45c9cf3d1ee7a152800e76c26e3863", - "directory": "openrc-user-0.63.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 30c61338b7a04d3c94509eabba5210b7bf81151a apk-tools installs .LICENSE as usr/share/licenses/openrc-user", - "license_in_source": ".LICENSE" - }, - { - "id": "alpine-p11-kit", - "kind": "apk", - "version": "0.26.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/p11-kit-0.26.2-r0.apk", - "sha256": "134d653aeeb4ada32746fbc3e2a7ae4201f584725de9263e4f32503658f3ddd8", - "directory": "p11-kit-0.26.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-pango", - "kind": "apk", - "version": "1.57.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/pango-1.57.1-r0.apk", - "sha256": "c616b62df908026ef413b338b9043e36706b05b6d035049394e5d14022e64adc", - "directory": "pango-1.57.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-pcre2", - "kind": "apk", - "version": "10.49-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/pcre2-10.49-r0.apk", - "sha256": "2919897914820f42a17a8d7d37df310d2dfad1c82ebe5f539cc5c765f916752a", - "directory": "pcre2-10.49-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-perl", - "kind": "apk", - "version": "5.42.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/perl-5.42.3-r0.apk", - "sha256": "6bb4d744425b1689d54feece20bdd51f71508c4d23d1af5f66298f03f8310df7", - "directory": "perl-5.42.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Artistic-1.0-Perl OR GPL-1.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-pixman", - "kind": "apk", - "version": "0.46.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/pixman-0.46.4-r0.apk", - "sha256": "378550cbe348dda9b0733014375dba87a89f0077c5f3dbeba7dce8dbcdda707e", - "directory": "pixman-0.46.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Required by console Vim and the Xorg desktop; Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-pkgconf", - "kind": "apk", - "version": "2.5.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/pkgconf-2.5.1-r0.apk", - "sha256": "20cc47b76b82e9424a35ecc4fdd7bd904ef49ada1684214910fae31bc0cab737", - "directory": "pkgconf-2.5.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = ISC; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-rxvt-unicode", - "kind": "apk", - "version": "9.31-r9", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/rxvt-unicode-9.31-r9.apk", - "sha256": "ec0118640b50871ce4e02c52a6f955d716f0b28e5edaaf0445ecd44e1b59de41", - "directory": "rxvt-unicode-9.31-r9", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-rxvt-unicode-terminfo", - "kind": "apk", - "version": "9.31-r9", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/rxvt-unicode-terminfo-9.31-r9.apk", - "sha256": "97f415c70b58996662d4f208c3d95ab89baa384246309e43450cfd6b1c04cd69", - "directory": "rxvt-unicode-terminfo-9.31-r9", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = GPL-3.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sessreg", - "kind": "apk", - "version": "1.1.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/sessreg-1.1.4-r0.apk", - "sha256": "949f54ededb5af82cda90d021a80cab309c52784a36671cd52d3ec6816435344", - "directory": "sessreg-1.1.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-shared-mime-info", - "kind": "apk", - "version": "2.4-r7", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/shared-mime-info-2.4-r7.apk", - "sha256": "b0ed78b502cacfa2dfb6ff87aaef36a034258026873ab5b73f5e603d6623a147", - "directory": "shared-mime-info-2.4-r7", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-spirv-tools", - "kind": "apk", - "version": "1.4.341.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/spirv-tools-1.4.341.0-r0.apk", - "sha256": "6034c22c4f61fb76e517c1d5b11ef5c26c7154d2baeacec8b0a9dcca94ff9a93", - "directory": "spirv-tools-1.4.341.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Apache-2.0; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-startup-notification", - "kind": "apk", - "version": "0.12-r8", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/startup-notification-0.12-r8.apk", - "sha256": "6c49e495e24eb9476fb9cac20187bcdc0ea5a42d2632776ff064f3278050584f", - "directory": "startup-notification-0.12-r8", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = LGPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-util-macros", - "kind": "apk", - "version": "1.20.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/util-macros-1.20.2-r0.apk", - "sha256": "7c129d085b646b13ccef3738e93038221aec840c1a6764279c5adc9950ba1bdc", - "directory": "util-macros-1.20.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vim", - "kind": "apk", - "version": "9.2.1352-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vim-9.2.1352-r0.apk", - "sha256": "ca326af90bd73bd396713cd85ccdf38870f39f69029294e223d7e1a06f40d3e5", - "directory": "vim-9.2.1352-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 427bad8900a5fe8da2fec126d4e8714e5ecd0493; .PKGINFO license = Vim", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vim-common", - "kind": "apk", - "version": "9.2.1352-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vim-common-9.2.1352-r0.apk", - "sha256": "88be8477048cbc4b806f3a16b696838e83e0451de5d1c9bad35f35678a95e52c", - "directory": "vim-common-9.2.1352-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 427bad8900a5fe8da2fec126d4e8714e5ecd0493; .PKGINFO license = Vim; runtime data required by alpine-vim", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-wayland-libs-client", - "kind": "apk", - "version": "1.25.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/wayland-libs-client-1.25.0-r0.apk", - "sha256": "a728f7103217cafdc83ff6ad0d679c197dbbe280bd5788c8336259f7a39cb303", - "directory": "wayland-libs-client-1.25.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-wayland-libs-cursor", - "kind": "apk", - "version": "1.25.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/wayland-libs-cursor-1.25.0-r0.apk", - "sha256": "16ec369226507abaeb84b496ce2bb1a4ef29987ea91ba6bedc40bb0e0af274e7", - "directory": "wayland-libs-cursor-1.25.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-wayland-libs-egl", - "kind": "apk", - "version": "1.25.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/wayland-libs-egl-1.25.0-r0.apk", - "sha256": "c944a59c91ce89972b4cf0ecbb46dfcd43f95c4b86ee63b5522b9a843a3d6af9", - "directory": "wayland-libs-egl-1.25.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-wget", - "kind": "apk", - "version": "1.25.0-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/wget-1.25.0-r3.apk", - "sha256": "14c535a2c9348a01cd4e1fdd7bb4a78f181939d2d8435efeb364e67c28fcda4e", - "directory": "wget-1.25.0-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-3.0-or-later WITH OpenSSL-Exception; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xauth", - "kind": "apk", - "version": "1.1.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xauth-1.1.5-r0.apk", - "sha256": "94e80e9687a1829a6fe95fb28d4b08a5531dab182cde8a58ff1b370b2cd293fb", - "directory": "xauth-1.1.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = custom; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xbitmaps", - "kind": "apk", - "version": "1.1.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xbitmaps-1.1.4-r0.apk", - "sha256": "f398af2f69fb334a986fe2a6956bf4f58ba24ee4fdfe3f46ca4d9a164ade2901", - "directory": "xbitmaps-1.1.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xcb-util", - "kind": "apk", - "version": "0.4.1-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/xcb-util-0.4.1-r3.apk", - "sha256": "16fb7ea2908f9f6525577fc7d1fba3476d740b5bc0b531353ba024f796b1ce47", - "directory": "xcb-util-0.4.1-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xcb-util-image", - "kind": "apk", - "version": "0.4.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xcb-util-image-0.4.1-r0.apk", - "sha256": "b6068445676d55229785839b18b7dc12011c91396f2d541cbea20a09e9cf9a53", - "directory": "xcb-util-image-0.4.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xdg-user-dirs", - "kind": "apk", - "version": "0.20-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xdg-user-dirs-0.20-r0.apk", - "sha256": "88dc8038fbf8b8d02d25ce75e77d152cda6d74a85e1d596f8a57c988ab72613e", - "directory": "xdg-user-dirs-0.20-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT AND GPL-2.0-only; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xdm", - "kind": "apk", - "version": "1.1.17-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xdm-1.1.17-r1.apk", - "sha256": "bb093be0f284bf4cc9c5e6b19b3b0d1e3b42149e1b6ee9f0dd0d323f5b52770d", - "directory": "xdm-1.1.17-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xeyes", - "kind": "apk", - "version": "1.3.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xeyes-1.3.1-r0.apk", - "sha256": "4b31dabe8d7f5000d82a24445972859bf960c1b07bca3d4f87e80b3c710902c6", - "directory": "xeyes-1.3.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xf86-input-evdev", - "kind": "apk", - "version": "2.11.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xf86-input-evdev-2.11.0-r0.apk", - "sha256": "1f3fcd3e837b43ad5e32005e03095b547ddbfc25973f0511e9ff74bf342d2fe0", - "directory": "xf86-input-evdev-2.11.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xf86-video-fbdev", - "kind": "apk", - "version": "0.5.0-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xf86-video-fbdev-0.5.0-r6.apk", - "sha256": "6a8a1b16f82d8810896f00c00b356c8b8d923e9aa0ce64737ae8274ca82f507a", - "directory": "xf86-video-fbdev-0.5.0-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xinit", - "kind": "apk", - "version": "1.4.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xinit-1.4.4-r0.apk", - "sha256": "efb5dc1e7929824f5add7d5d51d0ecb34ecfd0a773dfca4f061adc8a353b234f", - "directory": "xinit-1.4.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xkbcomp", - "kind": "apk", - "version": "1.5.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/xkbcomp-1.5.0-r0.apk", - "sha256": "8bfbd3c8ce7180e8cf599d5a0b791993b61fa98f3a19c47aaf5fcbe30c12d0ba", - "directory": "xkbcomp-1.5.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xkeyboard-config", - "kind": "apk", - "version": "2.47-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/xkeyboard-config-2.47-r0.apk", - "sha256": "8c8f9af2b78f8e955480aa88103e495d2637edac659a417075e877c88a41fed0", - "directory": "xkeyboard-config-2.47-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xmodmap", - "kind": "apk", - "version": "1.0.11-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xmodmap-1.0.11-r1.apk", - "sha256": "42489c8865d401e894b8da210f5c8e27f58c1d72c83250a505a65bdb8c45bec0", - "directory": "xmodmap-1.0.11-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xorg-server", - "kind": "apk", - "version": "21.1.26-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xorg-server-21.1.26-r0.apk", - "sha256": "c98ac23b63ea372c7a872505c4f5a7de5bdd1eefe22f60c71b32d0cffb2b5b33", - "directory": "xorg-server-21.1.26-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xorg-server-common", - "kind": "apk", - "version": "21.1.26-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xorg-server-common-21.1.26-r0.apk", - "sha256": "6515d22b4b2ac4895d662f5dc680f7b0a7eafedd071f8d471441a6dfce08f70c", - "directory": "xorg-server-common-21.1.26-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xrdb", - "kind": "apk", - "version": "1.2.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xrdb-1.2.2-r0.apk", - "sha256": "29649088693b5974dec3f928a5303e354f7b91e381b778006fe3011d003b1369", - "directory": "xrdb-1.2.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-st", - "kind": "apk", - "version": "0.9.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/st-0.9.3-r0.apk", - "sha256": "4a995e59ce6a6ecd128ffa40fdab6807797cd5b5110b6685dc037fa5466e25dc", - "directory": "st-0.9.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = MIT; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xwallpaper", - "kind": "apk", - "version": "0.7.5-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xwallpaper-0.7.5-r1.apk", - "sha256": "972e4191d812cc242f2639c11447ae78ccf976a67c09412f84ed5638c4ae1a40", - "directory": "xwallpaper-0.7.5-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 community x86_64 APKINDEX license = ISC; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xxd", - "kind": "apk", - "version": "9.2.1352-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xxd-9.2.1352-r0.apk", - "sha256": "56f423bce98d828aea0581980200068d8b3508a877f87d90f99c9381d050b856", - "directory": "xxd-9.2.1352-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "note": "Alpine aports recipe commit 427bad8900a5fe8da2fec126d4e8714e5ecd0493; .PKGINFO license = Vim; required by alpine-vim", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xz-libs", - "kind": "apk", - "version": "5.8.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/xz-libs-5.8.4-r0.apk", - "sha256": "ab362dd515ead04c31a6c302163248da7aa4813e283c971e6dd3f789b453a1d9", - "directory": "xz-libs-5.8.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = GPL-2.0-or-later AND 0BSD AND Public-Domain AND LGPL-2.1-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-zlib", - "kind": "apk", - "version": "1.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/zlib-1.4-r0.apk", - "sha256": "7b05bc778b8b25cd880835b40114182bd4d1581717504d0129c810c0a14291cb", - "directory": "zlib-1.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Alpine v3.24 main x86_64 APKINDEX license = Zlib; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-zstd-libs", - "kind": "apk", - "version": "1.5.7-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/zstd-libs-1.5.7-r2.apk", - "sha256": "23c6065b0049b2406441564bcf0032515a43f78e80d76fcb85535a3803ef5d4e", - "directory": "zstd-libs-1.5.7-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xorg", - "note": "Alpine v3.24 main x86_64 APKINDEX license = BSD-3-Clause OR GPL-2.0-or-later; embedded APK signature is verified by apk-tools", - "license_in_source": ".PKGINFO" - }, - { - "id": "apk-tools-license", - "kind": "binary", - "version": "3.0.9", - "url": "https://raw.githubusercontent.com/alpinelinux/apk-tools/f1c6067603a1e349a9f4babb816f9cf391be83bc/LICENSE", - "sha256": "b3c87315aae4c9f276c37168f2655dd8bd990544d7a0bbfb929664155c7ab257", - "directory": "apk-tools-license", - "script": "tools/build/rootfs-stage.sh", - "target": "rootfs-raw", - "license": "resources/licenses/apk-tools-LICENSE", - "note": "Unmodified upstream GPL-2.0-only license text, identical in apk-tools 3.0.9; pinned to the license revision in the official GitHub mirror to avoid GitLab anti-bot responses on CI runners" - }, - { - "id": "apk-tools-static", - "kind": "apk", - "version": "3.0.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/apk-tools-static-3.0.9-r0.apk", - "sha256": "0a1a0682375f66a83b7b903f6e4638ccfe312547d50d336b5f2be9fc391281be", - "directory": "apk-tools-static-3.0.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "upstream-apk", - "note": "Verified static apk binary; license supplied by apk-tools-license lock entry", - "license": "resources/licenses/apk-tools-LICENSE" - }, - { - "id": "busybox", - "kind": "submodule", - "commit": "1a64f6a20aaf6ea4dbba68bbfa8cc1ab7e5c57c4", - "directory": "third_party/busybox", - "script": "tools/build/upstream-busybox.sh", - "target": "busybox", - "license": "third_party/busybox/LICENSE" - }, - { - "id": "coreutils", - "kind": "tarball", - "version": "9.12", - "url": "https://mirrors.kernel.org/gnu/coreutils/coreutils-9.12.tar.xz", - "sha256": "a480198559733e9b3da999e90543ac6f888a2caa544d8d664c5a1f17e528e210", - "directory": "coreutils-9.12", - "license_in_source": "COPYING", - "checksum_source": "https://raw.githubusercontent.com/buildroot/buildroot/master/package/coreutils/coreutils.hash", - "script": "tools/build/upstream.sh", - "target": "storage-upstream" - }, - { - "id": "alpine-dosfstools", - "kind": "apk", - "version": "4.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dosfstools-4.2-r2.apk", - "sha256": "54387981e6dd2e432f9bf401d04845e4bc7f7e20d279ef7bcc96b6dc6e24232e", - "directory": "dosfstools-4.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 9024026ee6838388f8b87e52a17495786ed85d4e; .PKGINFO license = GPL-3.0-or-later; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-dosfstools-doc", - "kind": "apk", - "version": "4.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dosfstools-doc-4.2-r2.apk", - "sha256": "cada0b794fe893606a35bdd97e30fcae09f426e2eac8e5e7c91b9e5c28fafdf0", - "directory": "dosfstools-doc-4.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 repository, noarch documentation package; aports recipe commit 9024026ee6838388f8b87e52a17495786ed85d4e; .PKGINFO license = GPL-3.0-or-later; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-e2fsprogs", - "kind": "apk", - "version": "1.47.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/e2fsprogs-1.47.4-r0.apk", - "sha256": "c7a99a18206827b09f0cfa2373e6f1db0963845ad8468a378a3b99a7e716a0e8", - "directory": "e2fsprogs-1.47.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 8683a6972cb245fbbdb535dad6435a9930bb9374; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys; libblkid.so.1 and libuuid.so.1 remain provided by local util-linux", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-e2fsprogs-extra", - "kind": "apk", - "version": "1.47.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/e2fsprogs-extra-1.47.4-r0.apk", - "sha256": "602afe1eaa5838a25a82254a549df0490a4f94ee8bad07443eb36375b609aa5c", - "directory": "e2fsprogs-extra-1.47.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 8683a6972cb245fbbdb535dad6435a9930bb9374; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-e2fsprogs-libs", - "kind": "apk", - "version": "1.47.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/e2fsprogs-libs-1.47.4-r0.apk", - "sha256": "2e067395a6981b06cfd2cd3abf0e6c6574f7ef64d02e01f75fc5323d4a337fb9", - "directory": "e2fsprogs-libs-1.47.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 8683a6972cb245fbbdb535dad6435a9930bb9374; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys; provides libe2p.so.2, libext2fs.so.2 and libss.so.2", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libcom_err", - "kind": "apk", - "version": "1.47.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libcom_err-1.47.4-r0.apk", - "sha256": "4723d0fb8e286dc6adb54dd3cdaedcd8db54260f75ee778a5acb4c16922c0f52", - "directory": "libcom_err-1.47.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 8683a6972cb245fbbdb535dad6435a9930bb9374; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys; provides libcom_err.so.2", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-e2fsprogs-doc", - "kind": "apk", - "version": "1.47.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/e2fsprogs-doc-1.47.4-r0.apk", - "sha256": "26a9fd1526abd44718645c7bceeb346258ce46ce4c4337649d764f072d29b9de", - "directory": "e2fsprogs-doc-1.47.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 repository, noarch documentation package; aports recipe commit 8683a6972cb245fbbdb535dad6435a9930bb9374; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys", - "license_in_source": ".PKGINFO" - }, - { - "id": "exfatprogs", - "kind": "tarball", - "version": "1.4.4", - "url": "https://github.com/exfatprogs/exfatprogs/releases/download/1.4.4/exfatprogs-1.4.4.tar.xz", - "sha256": "102bbdfd934776c12c6d83743a31ec648f8c2f1ddfa1832b6e13b6efd09412cb", - "directory": "exfatprogs-1.4.4", - "license_in_source": "COPYING", - "checksum_source": "https://api.github.com/repos/exfatprogs/exfatprogs/releases/tags/1.4.4", - "script": "tools/build/upstream.sh", - "target": "storage-upstream" - }, - { - "id": "fastfetch", - "kind": "binary", - "version": "2.68.1", - "url": "https://github.com/VasilyZa/fastfetch/releases/download/2.68.1/fastfetch", - "sha256": "25107efd56d0286059487bab17d964a6ec72275263de2ab09095a46637b06be1", - "directory": "fastfetch-2.68.1-leonos-x86_64-linux-musl", - "script": "scripts/reliefos/Makefile.upstream", - "target": "fastfetch", - "note": "upstream musl binary; the cache file is named after the directory", - "license": "userland/fastfetch/LICENSE" - }, - { - "id": "alpine-libbsd", - "kind": "apk", - "version": "0.12.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libbsd-0.12.2-r0.apk", - "sha256": "407597c04b41dbfe8a05b35d45a3453e32fae7df84aed3a06ff48dd4df1338b6", - "directory": "libbsd-0.12.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 02365e78d654a7beb23fd35d7d69f4a649009ede; .PKGINFO license = BSD-3-Clause; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys; libmd.so.0 is provided by the official libmd 1.3.0-r0 APK", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libbsd-doc", - "kind": "apk", - "version": "0.12.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libbsd-doc-0.12.2-r0.apk", - "sha256": "135ee3aa256ea160ea15091e1f680722c1b515c9d7754d9c6068e42bd1444707", - "directory": "libbsd-doc-0.12.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 repository, noarch documentation package; aports recipe commit 02365e78d654a7beb23fd35d7d69f4a649009ede; .PKGINFO license = BSD-3-Clause; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libmd-doc", - "kind": "apk", - "version": "1.3.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libmd-doc-1.3.0-r0.apk", - "sha256": "f9f81d1cb8719bed024edc972e4af1d5bcdff8877891f53c49f35e6c3d5db3dd", - "directory": "libmd-doc-1.3.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit b9f624c71024df38a4cd84bc84b51fc3498f15a7; .PKGINFO license = BSD-3-Clause AND BSD-2-Clause AND ISC AND Beerware AND Public Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libmd", - "kind": "apk", - "version": "1.3.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libmd-1.3.0-r0.apk", - "sha256": "0d49d6bb91fafb818fccd9df25927ed51a308c944df2ffdbb505b364c9042df8", - "directory": "libmd-1.3.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit b9f624c71024df38a4cd84bc84b51fc3498f15a7; .PKGINFO license = BSD-3-Clause AND BSD-2-Clause AND ISC AND Beerware AND Public Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "libxcrypt", - "kind": "tarball", - "version": "4.5.2", - "url": "https://github.com/besser82/libxcrypt/releases/download/v4.5.2/libxcrypt-4.5.2.tar.xz", - "sha256": "71513a31c01a428bccd5367a32fd95f115d6dac50fb5b60c779d5c7942aec071", - "directory": "libxcrypt-4.5.2", - "license_in_source": "COPYING.LIB", - "checksum_source": "https://api.github.com/repos/besser82/libxcrypt/releases/tags/v4.5.2", - "script": "tools/build/upstream.sh", - "target": "auth-upstream" - }, - { - "id": "linux-headers", - "kind": "tarball", - "version": "6.12", - "url": "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.12.tar.xz", - "sha256": "b1a2562be56e42afb3f8489d4c2a7ac472ac23098f1ef1c1e40da601f54625eb", - "directory": "linux-6.12", - "license_in_source": "COPYING", - "script": "tools/build/upstream.sh", - "target": "auth-upstream" - }, - { - "id": "linux-pam", - "kind": "tarball", - "version": "1.7.3", - "url": "https://github.com/linux-pam/linux-pam/releases/download/v1.7.3/Linux-PAM-1.7.3.tar.xz", - "sha256": "2ce4765fd49df6693771ef2941f81e33d8ee14b94a81a5c7b369aa3b137b85a5", - "directory": "Linux-PAM-1.7.3", - "license_in_source": "Copyright", - "checksum_source": "https://api.github.com/repos/linux-pam/linux-pam/releases/tags/v1.7.3", - "script": "tools/build/upstream.sh", - "target": "auth-upstream", - "patches": [ - { - "path": "patches/linux-pam/0001-reject-unavailable-salt-entropy.patch", - "sha256": "abd44845f80898c049026ef8be6691486e012f7377a75b5fd60dcbca37a06a67" - }, - { - "path": "patches/linux-pam/0002-use-sized-libcrypt-entry-point.patch", - "sha256": "4bcb2585a0b79594818b1e8303f3d1d9915c3b1bfcafcca31f2294650f102a7a" - }, - { - "path": "patches/linux-pam/0003-limits-handle-unimplemented-resources.patch", - "sha256": "e265712a4942319d6514a2dc6ec5de0f7fd71a92224cfc57615ac4622b345d82" - } - ] - }, - { - "id": "ltp", - "kind": "tarball", - "version": "2279d708c817db657611a30c427c7d06c4360049", - "url": "https://codeload.github.com/linux-test-project/ltp/tar.gz/2279d708c817db657611a30c427c7d06c4360049", - "sha256": "35146cb1d0e82517aac8dbefbd88bd96300ce383736aae069e435fd991ea50bb", - "directory": "ltp-2279d708c817db657611a30c427c7d06c4360049", - "license_in_source": "COPYING", - "script": "tools/build_musl_ltp.py", - "target": "musl-ltp" - }, - { - "id": "mimalloc", - "kind": "submodule", - "commit": "34fbd7e7cd4627424490afe19b20f8066bfc537d", - "directory": "third_party/mimalloc", - "script": "tools/build/musl-sysroot.sh", - "target": "musl", - "license": "third_party/mimalloc/LICENSE" - }, - { - "id": "musl", - "kind": "submodule", - "commit": "9fa28ece75d8a2191de7c5bb53bed224c5947417", - "directory": "third_party/musl", - "version": "1.2.6", - "script": "tools/build/musl-sysroot.sh", - "target": "musl", - "license": "third_party/musl/COPYRIGHT", - "patches": [ - { - "path": "patches/musl/0001-enforce-password-file-lock.patch", - "sha256": "e336ed20b2d338dbbf88588dff043e8ce349d0d0044277d31be229d600bb93ad" - }, - { - "path": "patches/musl/0002-report-unsupported-pi-mutex-protocol.patch", - "sha256": "6454c5786fe36c513e5dbc69eb221cfdde840f90e49e00139da4c3e55cece039" - } - ] - }, - { - "id": "musl-locales", - "kind": "tarball", - "version": "0e7923a2ba3752991923cac03b10dc12958a3e63", - "url": "https://gitlab.postmarketos.org/postmarketOS/musl-locales/-/archive/0e7923a2ba3752991923cac03b10dc12958a3e63/musl-locales-0e7923a2ba3752991923cac03b10dc12958a3e63.tar.gz", - "sha256": "29420e2f751295ab50d0fa7b919477a7577636539911a78396292a07df6e7388", - "directory": "musl-locales-0e7923a2ba3752991923cac03b10dc12958a3e63", - "script": "tools/build/musl-locales.sh", - "target": "musl-locales", - "license_in_source": "LICENSE" - }, - { - "id": "pl_editor", - "kind": "submodule", - "commit": "22fae7a1bc2362486d8bf845f0daf6ec7060a3a1", - "directory": "third_party/pl_editor", - "script": "tools/build/upstream-app.sh", - "target": "app:pleditor", - "license": "third_party/pl_editor/LICENSE" - }, - { - "id": "portablegl", - "kind": "submodule", - "commit": "7cf39dc1741ea2be60ce3bd327f6e5337f60207f", - "directory": "third_party/portablegl", - "script": "scripts/reliefos/Makefile.components.graphics", - "target": "portablegl", - "license": "third_party/portablegl/LICENSE" - }, - { - "id": "shadow", - "kind": "tarball", - "version": "4.20.3", - "url": "https://github.com/shadow-maint/shadow/releases/download/4.20.3/shadow-4.20.3.tar.xz", - "sha256": "623be9429f64fa2165bfc5957c6a642ec309c5cf23c0d53855c99f7591922297", - "directory": "shadow-4.20.3", - "license_in_source": "COPYING", - "checksum_source": "https://api.github.com/repos/shadow-maint/shadow/releases/tags/4.20.3", - "script": "tools/build/upstream.sh", - "target": "auth-upstream" - }, - { - "id": "stardustui", - "kind": "submodule", - "commit": "67aae17214a0d27bb6a8b0caf10b7c1f98313086", - "directory": "third_party/stardustui", - "script": "build.py:archive:stardustui", - "target": "archive:stardustui", - "license": "third_party/stardustui/LICENSE" - }, - { - "id": "sudo", - "kind": "tarball", - "version": "1.9.17p2", - "url": "https://github.com/sudo-project/sudo/releases/download/v1.9.17p2/sudo-1.9.17p2.tar.gz", - "sha256": "4a38a1ab3adb1199257edc2a7c4a2bd714665eb605b04368843b06dada2cfcfb", - "directory": "sudo-1.9.17p2", - "license_in_source": "LICENSE.md", - "checksum_source": "https://api.github.com/repos/sudo-project/sudo/releases/tags/v1.9.17p2", - "script": "tools/build/upstream.sh", - "target": "auth-upstream" - }, - { - "id": "unifont", - "kind": "binary", - "version": "18.0.01", - "url": "https://ftp.gnu.org/gnu/unifont/unifont-18.0.01/unifont_all-18.0.01.hex.gz", - "sha256": "14c96e497466a82e46cf20032ce510e186bdc8658c9158e2290f452cda9bc498", - "directory": "unifont_all-18.0.01.hex.gz", - "script": "scripts/reliefos/Makefile.resources", - "target": "kernel", - "license": "resources/licenses/unifont-LICENSE" - }, - { - "id": "alsa-lib", - "kind": "tarball", - "version": "1.2.16.1", - "url": "https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.16.1.tar.bz2", - "sha256": "f740db7f488255944ffd4428416ee3390a96742856916433df468c281436480e", - "directory": "alsa-lib-1.2.16.1", - "script": "tools/build/upstream.sh", - "target": "upstream-alsa-lib", - "license_in_source": "COPYING", - "checksum_source": "https://raw.githubusercontent.com/buildroot/buildroot/master/package/alsa-lib/alsa-lib.hash" - }, - { - "id": "alsa-utils", - "kind": "tarball", - "version": "1.2.16", - "url": "https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.16.tar.bz2", - "sha256": "092399d5e8749a1d5e188e393157521cec4b75693b60ebb79bbce728cff2232c", - "directory": "alsa-utils-1.2.16", - "script": "tools/build/upstream.sh", - "target": "upstream-alsa-utils", - "license_in_source": "COPYING", - "checksum_source": "https://raw.githubusercontent.com/buildroot/buildroot/master/package/alsa-utils/alsa-utils.hash" - }, - { - "id": "nuked-opl3", - "kind": "tarball", - "version": "1.8", - "commit": "765ec962e473aeb767e4cba74ffdc8f588ffbfe8", - "url": "https://codeload.github.com/nukeykt/Nuked-OPL3/tar.gz/765ec962e473aeb767e4cba74ffdc8f588ffbfe8", - "sha256": "2fad908c3904d3ef51b55e0d6a8980c7142942e2d0baa7e99bf038cf0a41199d", - "directory": "Nuked-OPL3-765ec962e473aeb767e4cba74ffdc8f588ffbfe8", - "script": "tools/build/opl3.sh", - "target": "upstream-nuked-opl3", - "license_in_source": "LICENSE" - }, - { - "id": "reliefmath-dev-cairo", - "kind": "apk", - "version": "1.18.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/cairo-dev-1.18.4-r1.apk", - "sha256": "5ed67544a0b919ce4991586485135c4a7afaae8e2eeb9266866df96d823d1f33", - "directory": "cairo-dev-1.18.4-r1", - "script": "tools/build/reliefmath-development.sh", - "target": "reliefmath-development", - "feature": "xorg", - "note": "Build-only C API headers and linker symlink for ReliefMath worker; matches the locked Alpine runtime; verified APK signature.", - "license_in_source": ".PKGINFO" - }, - { - "id": "reliefmath-dev-freetype", - "kind": "apk", - "version": "2.14.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/freetype-dev-2.14.3-r0.apk", - "sha256": "423641ce2ebc18338c520ddabd64cd007d3f8a1e83b846d755e86f0a14addf3c", - "directory": "freetype-dev-2.14.3-r0", - "script": "tools/build/reliefmath-development.sh", - "target": "reliefmath-development", - "feature": "xorg", - "note": "Build-only C API headers and linker symlink for ReliefMath worker; matches the locked Alpine runtime; verified APK signature.", - "license_in_source": ".PKGINFO" - }, - { - "id": "grub", - "kind": "tarball", - "version": "2.16", - "url": "https://gitlab.freedesktop.org/api/v4/projects/26558/packages/generic/source-assets/grub-2.16/grub-2.16.tar.xz", - "sha256": "f0db0104927df0b9a48bc41b735c702936190d17eb2d73d3018fa77474a0cabe", - "directory": "grub-2.16", - "script": "tools/build/grub.sh", - "target": "grub-host upstream-grub", - "license_in_source": "COPYING", - "checksum_source": "https://raw.githubusercontent.com/buildroot/buildroot/master/boot/grub2/grub2.hash", - "note": "Official GRUB 2.16 release; signature fingerprint DFB62CC1A987E6C76EBF8143916EC0708CDFDDFD; BIOS and EFI modules and tools are built from the same locked source." - }, - { - "id": "alpine-mbedtls3", - "kind": "apk", - "version": "3.6.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/mbedtls3-3.6.8-r0.apk", - "sha256": "735176c22b6078b904543fb78d203f5c4ca75f17adf56cee22a80995c2fcdfa0", - "directory": "mbedtls3-3.6.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Alpine v3.24 community x86_64; aports recipe commit 6080c9a477494fecff4193db24e78d13c7a0d135; official APK signature verified before use; license = Apache-2.0 OR GPL-2.0-or-later.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ncurses", - "kind": "apk", - "version": "6.6_p20260516-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ncurses-6.6_p20260516-r0.apk", - "sha256": "a36d43d2bacbfaab10fe76221f62704066d8bbb5800d7d3a9c2a562e723fad8a", - "directory": "ncurses-6.6_p20260516-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "component:ncurses", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = X11.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ncurses-terminfo", - "kind": "apk", - "version": "6.6_p20260516-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ncurses-terminfo-6.6_p20260516-r0.apk", - "sha256": "cd84fa2666e59ea2e224cb936db96006a40d9bd850d938c0d9f2c034eaae6425", - "directory": "ncurses-terminfo-6.6_p20260516-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "component:ncurses", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = X11.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sl", - "kind": "apk", - "version": "5.02-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/sl-5.02-r1.apk", - "sha256": "aa3ceb845953904ab61459f0f97416903c56a80b428f8bc320d879b9e58c1a57", - "directory": "sl-5.02-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "component:sl", - "note": "Alpine v3.24 community x86_64; official APK signature verified before use; license = MIT.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sqlite", - "kind": "apk", - "version": "3.53.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/sqlite-3.53.4-r0.apk", - "sha256": "c51f4aae4fdbbec678639cdaa7af6758eef331dbf7299e2777fa7020b41ff194", - "directory": "sqlite-3.53.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "component:sqlite", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = blessing.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sqlite-libs", - "kind": "apk", - "version": "3.53.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/sqlite-libs-3.53.4-r0.apk", - "sha256": "a8a216e53d22faa3f04d2e3650c1991af66f8d0b42fadff5afcdb9afb60b19e5", - "directory": "sqlite-libs-3.53.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = blessing.", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-blkid", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/blkid-2.42.4-r3.apk", - "sha256": "0adf6efc69b207da87160664428a4f203648d418145957231e70be423c1ae27f", - "directory": "blkid-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = LGPL-1.0-only; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libblkid", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libblkid-2.42.4-r3.apk", - "sha256": "8d8dba04a09fb82112933432d3e254b6a11a4f12022da3845eb4a50772a7e03a", - "directory": "libblkid-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = LGPL-2.1-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libeconf-doc", - "kind": "apk", - "version": "0.8.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libeconf-doc-0.8.4-r0.apk", - "sha256": "ce7a0327a043c1aefe8c3e9cb15cb6f35fa8d6a10fb0664fe44b33ba4b3a94d7", - "directory": "libeconf-doc-0.8.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 96066c3b6d2992dd2b72db6492c4e65d7f17520f; .PKGINFO license = MIT; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libfdisk", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libfdisk-2.42.4-r3.apk", - "sha256": "7255533d062bc91cf24dab24557a46d976e1a9a1cf084ee44c2da2461e94dd3c", - "directory": "libfdisk-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = LGPL-2.1-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-liblastlog2", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/liblastlog2-2.42.4-r3.apk", - "sha256": "53ffbafcb1982923bd02654d3653b70235dda9dca9e7cca65d52cb917adb7560", - "directory": "liblastlog2-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = BSD-2-Clause; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libmount", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libmount-2.42.4-r3.apk", - "sha256": "a00a33f48275be8fc56011524c9ea0451be7de8d146d908a1d94dd7068ca2d23", - "directory": "libmount-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = LGPL-2.1-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsmartcols", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libsmartcols-2.42.4-r3.apk", - "sha256": "e5a7c506437741b3040c0bd136b0f8d72fcdc329f70cf982ca20aef9a9f4c5c5", - "directory": "libsmartcols-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = LGPL-2.1-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libuuid", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libuuid-2.42.4-r3.apk", - "sha256": "d1a8276a8f57514f5a35dc8fca7b6ecea109ce5f6e228ebd6278eca5aa8ec561", - "directory": "libuuid-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = BSD-3-Clause; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-lsblk", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/lsblk-2.42.4-r3.apk", - "sha256": "f11dbb70e1b0b985c28f153698a00b7e8e66c48180579670555814e2303be40b", - "directory": "lsblk-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-2.0-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-mount", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mount-2.42.4-r3.apk", - "sha256": "70b045c3b0b3ff933a2ea4efe1d3615bb48c8a729a860042b213ea853f70e908", - "directory": "mount-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-runuser", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/runuser-2.42.4-r3.apk", - "sha256": "ca2f99318920134d5f6e66b7f7ec8212f9cae34d4427be5528fb330a270c4122", - "directory": "runuser-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-2.0-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-setarch", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/setarch-2.42.4-r3.apk", - "sha256": "60b586db352bfa084ed71bf01bc25a37c68e23796318dd3437c0769fd3432beb", - "directory": "setarch-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sfdisk", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/sfdisk-2.42.4-r3.apk", - "sha256": "73457f7b01089a0b30046441326610224177baeb7c9978f95ce58cacb3217267", - "directory": "sfdisk-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-1.0-or-later; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-skalibs-doc", - "kind": "apk", - "version": "2.16.0.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/skalibs-doc-2.16.0.0-r0.apk", - "sha256": "096454981c3a1f0fe3f6388c009bfdb87581eb95713119c31f0e07bfebd8ebae", - "directory": "skalibs-doc-2.16.0.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit b37afefa12a610b37018c8e62e5f52bd57951932; .PKGINFO license = ISC; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-skalibs-libs", - "kind": "apk", - "version": "2.16.0.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/skalibs-libs-2.16.0.0-r0.apk", - "sha256": "b4b6f7995ace8e7601651a35a3619255122e4809cfc52d6eef89630b28b6491c", - "directory": "skalibs-libs-2.16.0.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit b37afefa12a610b37018c8e62e5f52bd57951932; .PKGINFO license = ISC; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-umount", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/umount-2.42.4-r3.apk", - "sha256": "f21dfd9ca22d9a87fd8609fd9a9df2695c3c6ae32ab5457cb843b38b7efba956", - "directory": "umount-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-util-linux", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-2.42.4-r3.apk", - "sha256": "06ac2674efb6a25fa969cc2c94b17d9e2c6d26b85c9169f4ceb431765b0ea8cf", - "directory": "util-linux-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-util-linux-doc", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-doc-2.42.4-r3.apk", - "sha256": "49eaa5f6a029c1bf379f7c95dedfc632e1ab4b82342915b4fc45fc2dea8b3e9e", - "directory": "util-linux-doc-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-util-linux-login", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-login-2.42.4-r3.apk", - "sha256": "b7d718c37142d19706e210e73ddc852faa4b22c281016d95536826cd4e985a6b", - "directory": "util-linux-login-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-2.0-or-later AND BSD-1-Clause; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-util-linux-login-doc", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-login-doc-2.42.4-r3.apk", - "sha256": "9655f1054d36fa836d82398c9474f61990a30bcbbc15c66c65dea9a0ddd5132b", - "directory": "util-linux-login-doc-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-util-linux-misc", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-misc-2.42.4-r3.apk", - "sha256": "31ecafb1e72ce8dec849c8825578c93bac72716e95852a68484b5b497f05a5d4", - "directory": "util-linux-misc-2.42.4-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-utmps-doc", - "kind": "apk", - "version": "0.1.3.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/utmps-doc-0.1.3.4-r1.apk", - "sha256": "d1135378c97af568983ade95c29a41fa0e7f6013eaa046505af89faf3f320a4a", - "directory": "utmps-doc-0.1.3.4-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 70e2e5769c11eff1784e7dc16be166c23f0c13e2; .PKGINFO license = ISC; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-utmps-libs", - "kind": "apk", - "version": "0.1.3.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/utmps-libs-0.1.3.4-r1.apk", - "sha256": "84a4cf01527cc6101ab9a20fb22f4667d7b0f25e00d93b139a5713cf04cac94d", - "directory": "utmps-libs-0.1.3.4-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit 70e2e5769c11eff1784e7dc16be166c23f0c13e2; .PKGINFO license = ISC; SHA-256 and embedded official signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-libbsd-dev", - "kind": "apk", - "version": "0.12.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libbsd-dev-0.12.2-r0.apk", - "sha256": "487e821afe8810b679774591c0e38813fb98732df61ce64dd25ae2f76d95051b", - "directory": "libbsd-dev-0.12.2-r0", - "script": "tools/build/libbsd-development.sh", - "target": "libbsd-development", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 02365e78d654a7beb23fd35d7d69f4a649009ede; .PKGINFO license = BSD-3-Clause; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys; build-only headers, linker script and pkg-config files; never a rootfs overlay; use the official libmd-dev 1.3.0-r0 APK for MD development inputs", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-libbsd-static", - "kind": "apk", - "version": "0.12.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libbsd-static-0.12.2-r0.apk", - "sha256": "7dc2388984e93cd8df94b58b7a89e96ba410c984a18744c375586fbdc17e508c", - "directory": "libbsd-static-0.12.2-r0", - "script": "tools/build/libbsd-development.sh", - "target": "libbsd-development", - "feature": "base", - "note": "Official Alpine v3.24 main x86_64 package; aports recipe commit 02365e78d654a7beb23fd35d7d69f4a649009ede; .PKGINFO license = BSD-3-Clause; archive SHA-256 computed from downloaded bytes; embedded APK signature verified by apk-tools with the official Alpine keys; build-only libbsd.a; never a rootfs overlay", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-libmd-dev", - "kind": "apk", - "version": "1.3.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libmd-dev-1.3.0-r0.apk", - "sha256": "3e8e607e41d45bc385aaa4dfaf28fe888c9316e2f6b188866cfd8037b8a13dd0", - "directory": "libmd-dev-1.3.0-r0", - "script": "tools/build/libbsd-development.sh", - "target": "libbsd-development", - "feature": "base", - "note": "Official Alpine edge main x86_64 APK; recipe commit b9f624c71024df38a4cd84bc84b51fc3498f15a7; .PKGINFO license = BSD-3-Clause AND BSD-2-Clause AND ISC AND Beerware AND Public Domain; SHA-256 and embedded official signature verified; build-only shadow dependency, never a runtime overlay", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-libpng-dev", - "kind": "apk", - "version": "1.6.59-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libpng-dev-1.6.59-r0.apk", - "sha256": "71731d72ac2bd884401d6322639d4da73de606759c0af19fe1f783f55d9f3688", - "directory": "libpng-dev-1.6.59-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = Libpng.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-libpng-static", - "kind": "apk", - "version": "1.6.59-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libpng-static-1.6.59-r0.apk", - "sha256": "2ebc64ebe210aa006839f0af0e93ea6f01200ecb57da53eb06e46865fedcc2ac", - "directory": "libpng-static-1.6.59-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = Libpng.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-mbedtls3-dev", - "kind": "apk", - "version": "3.6.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/mbedtls3-dev-3.6.8-r0.apk", - "sha256": "61c9ec413b759e910c3b5a81d33eec1f9e2a5b1c1a612f1ae92a84a691900062", - "directory": "mbedtls3-dev-3.6.8-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 community x86_64; aports recipe commit 6080c9a477494fecff4193db24e78d13c7a0d135; official APK signature verified before use; license = Apache-2.0 OR GPL-2.0-or-later.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-mbedtls3-static", - "kind": "apk", - "version": "3.6.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/mbedtls3-static-3.6.8-r0.apk", - "sha256": "53d20df09cf0ea6c2a6d9fae722893f427f26a362557f47e8d86aae0c38aee16", - "directory": "mbedtls3-static-3.6.8-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 community x86_64; aports recipe commit 6080c9a477494fecff4193db24e78d13c7a0d135; official APK signature verified before use; license = Apache-2.0 OR GPL-2.0-or-later.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-sqlite-dev", - "kind": "apk", - "version": "3.53.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/sqlite-dev-3.53.4-r0.apk", - "sha256": "c30a6155ebd456f37524242c2a60690e516666fa487fba6630280e7ecdf9442f", - "directory": "sqlite-dev-3.53.4-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = blessing.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-sqlite-static", - "kind": "apk", - "version": "3.53.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/sqlite-static-3.53.4-r0.apk", - "sha256": "83d2dabbda8e65d76d6c8d7486996891a1fde7e8053289d58aeb5f7d917b63ae", - "directory": "sqlite-static-3.53.4-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = blessing.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-zlib-dev", - "kind": "apk", - "version": "1.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/zlib-dev-1.4-r0.apk", - "sha256": "889ed6014fc9acb815a7755732d4099bd84b1176b4845853bb050361d8b876b2", - "directory": "zlib-dev-1.4-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = Zlib.", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-zlib-static", - "kind": "apk", - "version": "1.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/zlib-static-1.4-r0.apk", - "sha256": "3e02130f63e764b969f14ae62fe1f50b58436f709895c9d9fa2b7496c98a03b5", - "directory": "zlib-static-1.4-r0", - "script": "tools/build/runtime-development.sh", - "target": "runtime-development", - "feature": "base", - "note": "Alpine v3.24 main x86_64; official APK signature verified before use; license = Zlib.", - "license_in_source": ".PKGINFO" - }, - { - "id": "host-test-mbedtls3", - "kind": "tarball", - "version": "3.6.7", - "url": "https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.7/mbedtls-3.6.7.tar.bz2", - "sha256": "a7e8bcbec0e6f761b4af24f25677626b35f762f68eef79c08677a363212d11f6", - "directory": "mbedtls-3.6.7", - "script": "tools/build/host-runtime-development.sh", - "target": "host-runtime-development", - "license_in_source": "LICENSE", - "note": "Host-only native libraries for ASan/UBSan source tests; never used in target runtime, SDK, APKs or release images." - }, - { - "id": "host-test-sqlite3", - "kind": "tarball", - "version": "3.53.4", - "url": "https://sqlite.org/2026/sqlite-autoconf-3530400.tar.gz", - "sha256": "0e9483900e92cd5de8fd48d16bf9200145a61f7fd5be542a5ac81d8a9516eb9c", - "directory": "sqlite-autoconf-3530400", - "script": "tools/build/host-runtime-development.sh", - "target": "host-runtime-development", - "license_in_source": "README.txt", - "note": "Host-only native libraries for ASan/UBSan source tests; never used in target runtime, SDK, APKs or release images." - }, - { - "id": "runtime-dev-libeconf-dev", - "kind": "apk", - "version": "0.8.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libeconf-dev-0.8.4-r0.apk", - "sha256": "12acf8f366acb25585b35dbba4d823ff9022410113e3ff341e335dd2d4eb07b8", - "directory": "libeconf-dev-0.8.4-r0", - "script": "tools/build/util-linux-development.sh", - "target": "util-linux-development", - "note": "Official Alpine edge main x86_64 APK; recipe commit 96066c3b6d2992dd2b72db6492c4e65d7f17520f; .PKGINFO license = MIT; SHA-256 and embedded official signature verified; isolated build-only development input", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-libeconf-static", - "kind": "apk", - "version": "0.8.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libeconf-static-0.8.4-r0.apk", - "sha256": "7e384475de03196e7deb6dae776a4fd51ad7fc8d937304e24c97881e8c966f8a", - "directory": "libeconf-static-0.8.4-r0", - "script": "tools/build/util-linux-development.sh", - "target": "util-linux-development", - "note": "Official Alpine edge main x86_64 APK; recipe commit 96066c3b6d2992dd2b72db6492c4e65d7f17520f; .PKGINFO license = MIT; SHA-256 and embedded official signature verified; isolated build-only development input", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-util-linux-dev", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-dev-2.42.4-r3.apk", - "sha256": "f3ca0b9e1cc1984e3a5b9938f5d547b4c769e77fa1134b6fc31f00e7af540c39", - "directory": "util-linux-dev-2.42.4-r3", - "script": "tools/build/util-linux-development.sh", - "target": "util-linux-development", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified; isolated build-only development input", - "license_in_source": ".PKGINFO" - }, - { - "id": "runtime-dev-util-linux-static", - "kind": "apk", - "version": "2.42.4-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/util-linux-static-2.42.4-r3.apk", - "sha256": "82829be3f9fe1ce770b138806c3faeb0bff7c72b72a9b5389e887c96a11a0c19", - "directory": "util-linux-static-2.42.4-r3", - "script": "tools/build/util-linux-development.sh", - "target": "util-linux-development", - "note": "Official Alpine edge main x86_64 APK; recipe commit 087ea48145e24307010ba91f403c5ff8f402568c; .PKGINFO license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain; SHA-256 and embedded official signature verified; isolated build-only development input", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxtst", - "kind": "apk", - "version": "1.2.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxtst-1.2.6-r0.apk", - "sha256": "e6426212f638e23091a22e1a792684d0e105c5d7a020f3ba30c43b7d2f4e955b", - "directory": "libxtst-1.2.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 9b53c2882fa653cbe6c1df82ac18a7b7f511aa06; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-at-spi2-core", - "kind": "apk", - "version": "2.60.5-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/at-spi2-core-2.60.5-r0.apk", - "sha256": "c9989ba9b2ff44f87a2106ca9560c2e554a56811d0fc2863b22741d576f1d84f", - "directory": "at-spi2-core-2.60.5-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 127aabdda292243f9eddbf9d4690d52a167de5c3; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-glib-bash-completion", - "kind": "apk", - "version": "2.88.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/glib-bash-completion-2.88.1-r1.apk", - "sha256": "debfac0bc29866ce691a2bce61fe564be336a7dd59c38337c1ecd6ff3eec3d3d", - "directory": "glib-bash-completion-2.88.1-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit bd96e2db11c9ba7d7795454d16af620d577614c7; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-bubblewrap-bash-completion", - "kind": "apk", - "version": "0.12.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bubblewrap-bash-completion-0.12.0-r0.apk", - "sha256": "b52b6a7356e093e205ce6e6bd8f7c0479b0b01d1214d4d9236652c16dc8144c9", - "directory": "bubblewrap-bash-completion-0.12.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 21ce0edacfd8b359eeb3abc29fbd0b49b023ca1b; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openrc-bash-completion", - "kind": "apk", - "version": "0.63.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/openrc-bash-completion-0.63.2-r0.apk", - "sha256": "7ee5af7f7cd339dcd44781e14a0944b5e8fa224795b2290c33f4ebe96367cc51", - "directory": "openrc-bash-completion-0.63.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 30c61338b7a04d3c94509eabba5210b7bf81151a; .PKGINFO license = BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-dbus", - "kind": "apk", - "version": "1.16.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dbus-1.16.2-r2.apk", - "sha256": "37edd2a31bf599bda68cf223e8f2353b1713dbf5f770fc39399d654a69688a51", - "directory": "dbus-1.16.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 0dac2d7bf76016e3bb78ccc734edbb157a1d4b51; .PKGINFO license = AFL-2.1 OR GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-dbus-openrc", - "kind": "apk", - "version": "1.16.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dbus-openrc-1.16.2-r2.apk", - "sha256": "ec98a7ac55406a1c7894dc867a6b21f81f0b6f5d9baee25e9dc0b6e862a70246", - "directory": "dbus-openrc-1.16.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 0dac2d7bf76016e3bb78ccc734edbb157a1d4b51; .PKGINFO license = AFL-2.1 OR GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-dbus-daemon-launch-helper", - "kind": "apk", - "version": "1.16.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dbus-daemon-launch-helper-1.16.2-r2.apk", - "sha256": "d09d4f3387115420b7258dbd437ab72677a57f4eac7aa8b393a3dc7ea6001699", - "directory": "dbus-daemon-launch-helper-1.16.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 0dac2d7bf76016e3bb78ccc734edbb157a1d4b51; .PKGINFO license = AFL-2.1 OR GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-dbus-x11", - "kind": "apk", - "version": "1.16.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/dbus-x11-1.16.2-r2.apk", - "sha256": "e840cc3fa78f2c4885294b793a209db2cdc6979e4ef5e4fc1399358b9a5cfca4", - "directory": "dbus-x11-1.16.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 0dac2d7bf76016e3bb78ccc734edbb157a1d4b51; .PKGINFO license = AFL-2.1 OR GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-jpeg", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-jpeg-1.23.7-r0.apk", - "sha256": "a1bdfb8c1f017ebc038ec8f512a87f2ee9fe54d3156fa1d9f81063731d785aa5", - "directory": "libheif-jpeg-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libutempter", - "kind": "apk", - "version": "1.2.3-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/libutempter-1.2.3-r2.apk", - "sha256": "5313facb90726f7ecff5b279ebff087057d75ba93275638cf2b94a181e276550", - "directory": "libutempter-1.2.3-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine edge/main x86_64 APK; recipe commit afdd1496a87787bf1113bf90eb335549aefa32c1; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xdm-openrc", - "kind": "apk", - "version": "1.1.17-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xdm-openrc-1.1.17-r1.apk", - "sha256": "b707887ccfb80772c487f592cf6c7486799b879b7688c90dbb83d72fbb882d42", - "directory": "xdm-openrc-1.1.17-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit bc8f939eb98d4cee9f8cb47c4625b02a4a031502; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxfce4util", - "kind": "apk", - "version": "4.20.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxfce4util-4.20.1-r0.apk", - "sha256": "15e4802fe99771c93089080754a5f237221f6d5c7d676299aeccf19979a1e8e3", - "directory": "libxfce4util-4.20.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a4d154d9e1012b3fbcd1edbb5fecb38f87b87db9; .PKGINFO license = GPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-exo-libs", - "kind": "apk", - "version": "4.20.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/exo-libs-4.20.0-r0.apk", - "sha256": "1afc94feca25966d847d2e56e53b944f265c7963f2ac6f54a96212ee15143856", - "directory": "exo-libs-4.20.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 31e7aacc5ace446f28a537ed062e7cff27547587; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgtop", - "kind": "apk", - "version": "2.41.3-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libgtop-2.41.3-r1.apk", - "sha256": "810cfc7f4a50c2633ab6d022c63158b8512b788045a34524845d738301959f11", - "directory": "libgtop-2.41.3-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6313b174fa1e738932aebfc3caea2a24b0a5970e; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfconf", - "kind": "apk", - "version": "4.20.0-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfconf-4.20.0-r2.apk", - "sha256": "c936df109484021fb9d903f77acdd1b5b6365127a654280e3d835b82aa93dfd1", - "directory": "xfconf-4.20.0-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 7aa62246f708a5c41413656d6bff6ba9b6369fd4; .PKGINFO license = GPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfconf-bash-completion", - "kind": "apk", - "version": "4.20.0-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfconf-bash-completion-4.20.0-r2.apk", - "sha256": "5693c2c21a2a78980cedf6220a455a49974015de7f765105e8095f4b6c411498", - "directory": "xfconf-bash-completion-4.20.0-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 7aa62246f708a5c41413656d6bff6ba9b6369fd4; .PKGINFO license = GPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxfce4ui", - "kind": "apk", - "version": "4.20.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxfce4ui-4.20.1-r1.apk", - "sha256": "19db529ac4d013e935470bbc2d3bc36278f9722bd7a5de234abf08e909ed4e70", - "directory": "libxfce4ui-4.20.1-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 7817930ca80be14b1ad8517ead5c5f636d820157; .PKGINFO license = GPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-exo", - "kind": "apk", - "version": "4.20.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/exo-4.20.0-r0.apk", - "sha256": "339cc11c751d7044e3a0f5a6ac95cf14cfc8c27c080d8b6b2693ce5eff18204a", - "directory": "exo-4.20.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 31e7aacc5ace446f28a537ed062e7cff27547587; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-font-dejavu", - "kind": "apk", - "version": "2.37-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/font-dejavu-2.37-r6.apk", - "sha256": "6e7609e7a1aaed947afe4ddcc02bbdeec571dac5ff4ea1c04af9b8480b7b9dcf", - "directory": "font-dejavu-2.37-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 59420f440b2e664f7be1a6e135a3175aab56cd51; .PKGINFO license = Bitstream-Vera; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-garcon", - "kind": "apk", - "version": "4.20.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/garcon-4.20.0-r0.apk", - "sha256": "161d23fbd7533518581be3004676cf81e9287890d6647a7402049d052f8363dd", - "directory": "garcon-4.20.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 55613be702fe8b3fac184c25616873bd6914c44e; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdisplay-info", - "kind": "apk", - "version": "0.3.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libdisplay-info-0.3.0-r0.apk", - "sha256": "f356bc2fd3ea269f58de6688a550503318216bba87899281c36dbb16285f873c", - "directory": "libdisplay-info-0.3.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5c472425b8443bb2d7ee40589f4b3365496eb747; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxres", - "kind": "apk", - "version": "1.2.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxres-1.2.3-r0.apk", - "sha256": "95af3ec778e078433659613fe6c2eae892bddf219cf3cf359d8eff263a8715cc", - "directory": "libxres-1.2.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit ec786ae36b6704318eea7dad9ad05286cb0e9aca; .PKGINFO license = custom; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libwnck3", - "kind": "apk", - "version": "43.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libwnck3-43.3-r0.apk", - "sha256": "317150aecd3f98677482f8cb41923826c5c898995dd9a3378e00d26dc29c3472", - "directory": "libwnck3-43.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit d3ace5fd88041c2d5f94b13803c299cc4e13db3f; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxfce4windowing", - "kind": "apk", - "version": "4.20.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxfce4windowing-4.20.6-r0.apk", - "sha256": "60d07195bf502503e4a7495fea414b422841daed91b9da8f6b09f033f10cd800", - "directory": "libxfce4windowing-4.20.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit c82eb606485db9f6c6e9d73f0871e4c1762af62b; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-desktop-file-utils", - "kind": "apk", - "version": "0.28-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/desktop-file-utils-0.28-r0.apk", - "sha256": "7f5fb13e30682c576f8d68bd52d04df5aa9db00840b47d1fc84be43f40c1d605", - "directory": "desktop-file-utils-0.28-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6bd45b53fb316dc01bda59f5feaf1e127eb64f22; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gtk-update-icon-cache", - "kind": "apk", - "version": "3.24.52-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gtk-update-icon-cache-3.24.52-r0.apk", - "sha256": "d3307a0cf1d6365a3b2e2631d8cffaeefc1f9fb80cd00b02659f4db9964b94cb", - "directory": "gtk-update-icon-cache-3.24.52-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 81ac3343fbf0ae01ce4105c13ae592294cad8843; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgudev", - "kind": "apk", - "version": "238-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libgudev-238-r1.apk", - "sha256": "0501481956969bf534fdf73548cbe1bd467a9ff574896c67f56177d3bc6efd91", - "directory": "libgudev-238-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit c97799aa548f601eb43cfd276ba52f1a9da85d48; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libnotify", - "kind": "apk", - "version": "0.8.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libnotify-0.8.8-r0.apk", - "sha256": "280f083f69bf6dba1199c0f657f5ea0d9b4cd458332a0be399d6f6aa64e56a6f", - "directory": "libnotify-0.8.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 25517fad2ccae8578a3adceddc305d9718913ab9; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gtk-layer-shell", - "kind": "apk", - "version": "0.10.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gtk-layer-shell-0.10.1-r0.apk", - "sha256": "2aabbbc75f87bb89e203437277900cba9a6a19cc8e8255f486e66f6ed6661418", - "directory": "gtk-layer-shell-0.10.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit da0413d829c68c5ce136a980277edc6522e5622d; .PKGINFO license = LGPL-3.0-or-later AND MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxfce4panel", - "kind": "apk", - "version": "4.20.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxfce4panel-4.20.7-r0.apk", - "sha256": "c26b09edef089dc777cb5cfba7c1bb899e4c6793e5fd582b6e6415355b8e50f3", - "directory": "libxfce4panel-4.20.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit f5f3317f833f2cc00691bd270c5b6808ebe4b37c; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-thunar", - "kind": "apk", - "version": "4.20.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/thunar-4.20.8-r0.apk", - "sha256": "19cb47d1370a5ab1774f6416a6be4b6f15c06368267aef468f33e6ef11680bde", - "directory": "thunar-4.20.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit ea30abe11e3da4951f88268619a37be06bb8ca2b; .PKGINFO license = GPL-2.0-or-later LGPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-thunar-volman", - "kind": "apk", - "version": "4.20.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/thunar-volman-4.20.0-r0.apk", - "sha256": "3a16becb6bd2c05e95438bff860f272899ff479ff497063b8fa340c052b7599f", - "directory": "thunar-volman-4.20.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6867e384dbfbd0b8efadbca989e9778190e89496; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsvtav1enc", - "kind": "apk", - "version": "4.1.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libSvtAv1Enc-4.1.0-r0.apk", - "sha256": "ff92cdb4ee475fa2d3a80b10c550b0e45f290c95b0e7854f094fa26c9efd35ef", - "directory": "libSvtAv1Enc-4.1.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a75bcf7a688f62f2576d62a1ecfa3a1a67df6e3b; .PKGINFO license = BSD-3-Clause-Clear; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-svtenc", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-svtenc-1.23.7-r0.apk", - "sha256": "7909a61e6268a9d6f4ea6afa6e463c06f31f91d4267c5f4ec7a95552509cc358", - "directory": "libheif-svtenc-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-aom-libs", - "kind": "apk", - "version": "3.14.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/aom-libs-3.14.1-r0.apk", - "sha256": "075ea8eafeb9cca01aa158e54e3fea962834dc73bbddacceb522bceb5bdbfd35", - "directory": "aom-libs-3.14.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit ca6a710df98ad5e2b596cf06b44cd82a5ceefc4e; .PKGINFO license = BSD-2-Clause AND custom; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-aom", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-aom-1.23.7-r0.apk", - "sha256": "f067d5c1dbe07c440bdb2e522766d9db1fbd2c6c745cd2c7cd49290b827abb64", - "directory": "libheif-aom-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libva", - "kind": "apk", - "version": "2.23.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libva-2.23.0-r0.apk", - "sha256": "90d7fa9a7a1ac5b9c879a218d0818bfb726b1d32482c6b6c174a01c4337c5bba", - "directory": "libva-2.23.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 217e378f7609433dab89ca791cf5dd01f59a5667; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libvdpau", - "kind": "apk", - "version": "1.5-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libvdpau-1.5-r4.apk", - "sha256": "1f200646e6d5fcd757d457d8e13232690fd6facfff9c5ee130b81c87da5f64ac", - "directory": "libvdpau-1.5-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 6bd45b53fb316dc01bda59f5feaf1e127eb64f22; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libvpl", - "kind": "apk", - "version": "2.15.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libvpl-2.15.0-r1.apk", - "sha256": "ce89c7c73f3615606dd94cde42868d1b4ca1ce6ec7feca8c8102c8e089dce0ba", - "directory": "libvpl-2.15.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2e2021aad988dd19d406417769222a8ed9171522; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpeg-libavutil", - "kind": "apk", - "version": "8.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpeg-libavutil-8.1.3-r0.apk", - "sha256": "b42c7b789b9e61b7e6e0e1db33c7467a565dc0bc0b095486b36ca6f216762f00", - "directory": "ffmpeg-libavutil-8.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 66cae15cc19799ecaefa1ba9b131aeba0e5f7a86; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libhwy", - "kind": "apk", - "version": "1.3.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libhwy-1.3.0-r0.apk", - "sha256": "a4356d71e627b5321a89a3f4cce1d491950e2358fecafc01b89d2cabe8c9e473", - "directory": "libhwy-1.3.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 880de784cce25ae5d10a1b63b05e8c30f6d1b61a; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libjxl", - "kind": "apk", - "version": "0.11.2-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libjxl-0.11.2-r1.apk", - "sha256": "47730997ac8b0d08de5461c78a5c571af1b9e42283dc0da2af400acc60d02693", - "directory": "libjxl-0.11.2-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 9ec8d4495d91ae682e932d82d9b1218aaff453e0; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-rav1e-libs", - "kind": "apk", - "version": "0.8.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/rav1e-libs-0.8.1-r0.apk", - "sha256": "32424451f71961f317df5d521cf980ae6eac92aa60c47d5a7b22903c1d6009d4", - "directory": "rav1e-libs-0.8.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 0f7061c11f34e1653f80475dd8e8917016fe4634; .PKGINFO license = BSD-2-Clause custom; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-rav1e", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-rav1e-1.23.7-r0.apk", - "sha256": "ca0ad590e7f706f210b25b3209946400168fb591c78e63daca5d61c814da2b27", - "directory": "libheif-rav1e-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgomp", - "kind": "apk", - "version": "15.2.0-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libgomp-15.2.0-r5.apk", - "sha256": "e7204aad00e31d544e0a34eac5a7eb7d3586d2b7b22afd6e5907189c4e0337cc", - "directory": "libgomp-15.2.0-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 423a8ad043d07f2c7546c8ec3e2b0384cda360ae; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-soxr", - "kind": "apk", - "version": "0.1.3-r7", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/soxr-0.1.3-r7.apk", - "sha256": "5a284c0485578e13c532846f26d6edf47ac6001476df185011f239ccf23702c7", - "directory": "soxr-0.1.3-r7", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a7ec97e438d943083c5e7ffb0c7a20b546c60d31; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpeg-libswresample", - "kind": "apk", - "version": "8.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpeg-libswresample-8.1.3-r0.apk", - "sha256": "9fc489ff9b947dd3a33c63a08ebb8a0041f8c5dd2463c59d1cdd71e5c72b451c", - "directory": "ffmpeg-libswresample-8.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 66cae15cc19799ecaefa1ba9b131aeba0e5f7a86; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libtheora", - "kind": "apk", - "version": "1.2.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libtheora-1.2.0-r1.apk", - "sha256": "d3cd6213cbf316656c0d07eb195f9ad30204283d65c83233ca846c21b867b993", - "directory": "libtheora-1.2.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5e1b822309fb17cc2ebd46d6fbacb1763acbcdd1; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libvpx", - "kind": "apk", - "version": "1.15.2-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libvpx-1.15.2-r1.apk", - "sha256": "d5006c292a957a30d3c97e2d85e165051bb2366cb8e7c5b8ee1a601972d63a9f", - "directory": "libvpx-1.15.2-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit c4a9322622d7178e31e297af8edd72c1410ad044; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libwebpmux", - "kind": "apk", - "version": "1.6.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libwebpmux-1.6.0-r0.apk", - "sha256": "a1004424a4eb991f4db0cef3aa50a61d91f0221ce982d5fbd5e26ee87666558f", - "directory": "libwebpmux-1.6.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit af8b48fabd19b69b00f5efe192f461896a38cf74; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-x264-libs", - "kind": "apk", - "version": "0.164.3108-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/x264-libs-0.164.3108-r1.apk", - "sha256": "a88add71624fe099b76d3b8e69cb7f4507da6b65695be9e1f04fdb9a40799ba3", - "directory": "x264-libs-0.164.3108-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 21efe0fb007d881e130592303c1a454434e055eb; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-x264", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-x264-1.23.7-r0.apk", - "sha256": "36e03b6f94df8e62c73b30a93ac1dec6f5600ad8c141e3fa2bdf247de68e8e67", - "directory": "libheif-x264-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-numactl", - "kind": "apk", - "version": "2.0.19-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/numactl-2.0.19-r0.apk", - "sha256": "4a78670a16d9ae7377906e2084be7430197d4b4c24877d65712dd1d4597b59db", - "directory": "numactl-2.0.19-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit ac972e48bfad3673dd72e92890f04ffd879215be; .PKGINFO license = LGPL-2.1-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-x265-libs", - "kind": "apk", - "version": "4.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/x265-libs-4.1-r0.apk", - "sha256": "c33429b93d0c7c12beb79637c23d4a2f960153ff07ea86f47fc7fdc43e853e56", - "directory": "x265-libs-4.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit d3b7a03815c4db9a1561bcad406ade4209c08145; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-x265", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-x265-1.23.7-r0.apk", - "sha256": "a3880538056b3e77f717e4ff8e09531d946697a2a07537613a4553d17af3258c", - "directory": "libheif-x265-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xvidcore", - "kind": "apk", - "version": "1.3.7-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xvidcore-1.3.7-r2.apk", - "sha256": "12d4497edecb8ae5f82fa149e1e9ecab3b2bb2644dfd3654dbcd3ee8ddd0f81b", - "directory": "xvidcore-1.3.7-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2e85ba2de76e0840b9a6b1bcd1d1e1c777b56230; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpeg-libavcodec", - "kind": "apk", - "version": "8.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpeg-libavcodec-8.1.3-r0.apk", - "sha256": "8aa06514a2f88547f50f506f6be5854bd54af558922218115b4ae738978492e2", - "directory": "ffmpeg-libavcodec-8.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 66cae15cc19799ecaefa1ba9b131aeba0e5f7a86; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-ffmpeg", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-ffmpeg-1.23.7-r0.apk", - "sha256": "68cdd53a44b110f7422c5f1aea0e5484e072a6ed2b8e5648e7cca2365f483907", - "directory": "libheif-ffmpeg-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libunibreak", - "kind": "apk", - "version": "6.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libunibreak-6.1-r0.apk", - "sha256": "8b8d7a9261ac6395bce3662a6dee673e581325d8675df2736c8c799d5112181b", - "directory": "libunibreak-6.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = Zlib; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libass", - "kind": "apk", - "version": "0.17.4-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libass-0.17.4-r1.apk", - "sha256": "847da82365228c66dc875efdf7e364019303c59fb28f013699e992795f0a152c", - "directory": "libass-0.17.4-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 18b069a4afa2e455d2e4fe5e5bc7565855c09f96; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libudfread", - "kind": "apk", - "version": "1.2.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libudfread-1.2.0-r1.apk", - "sha256": "8a5153b573d53af754211e3062b920745c4371b189294148399cd30ae7f5aeac", - "directory": "libudfread-1.2.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 5c9b8291bfb31116907f54dad1c7e03fec51eddb; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libbluray", - "kind": "apk", - "version": "1.4.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libbluray-1.4.0-r0.apk", - "sha256": "b8d2940640d303cc943851bade5fbc75b6813b936014533dea304f0b72464795", - "directory": "libbluray-1.4.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 7d7242f055a0d08650c36930a6a361366426c3b0; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdvdcss", - "kind": "apk", - "version": "1.4.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdvdcss-1.4.3-r0.apk", - "sha256": "ee57c56316be61bd1a7a81a31a314dbe18fd6d3f50ae9c7d257d5364108d652a", - "directory": "libdvdcss-1.4.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 3add37f3a9a86b35717f2cf7187158d28b328c2b; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdvdread", - "kind": "apk", - "version": "6.1.3-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdvdread-6.1.3-r2.apk", - "sha256": "ab29b485893e06d71a0473efa3d18226c023030b1850440dc7ac324d664eccb9", - "directory": "libdvdread-6.1.3-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 4f8157b2e125ac222cade929bb25bda16305fefc; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdvdnav", - "kind": "apk", - "version": "6.1.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdvdnav-6.1.1-r1.apk", - "sha256": "0453bfc903301c7664dfc4b2e6558c753f586b10a03b325600807ff74520d02b", - "directory": "libdvdnav-6.1.1-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit be0f852b928313f12250ef38f4f68e62f73308cc; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libopenmpt", - "kind": "apk", - "version": "0.8.10-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libopenmpt-0.8.10-r0.apk", - "sha256": "77b18055ea24127458c647b8a9aa9480bdeb4dd2b8daf9fdc87a9ef18fcd41a8", - "directory": "libopenmpt-0.8.10-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 58a88f3b7c7e5c38176ddb290e34b33a01fff748; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-cjson", - "kind": "apk", - "version": "1.7.19-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/cjson-1.7.19-r1.apk", - "sha256": "b1aca971a5ba46e42169311ef7bcfa96eac40d39207b22dbd3af8d4f3103d1d8", - "directory": "cjson-1.7.19-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 635e41d25a7606d9f72c0ea5be747f133e7baa9d; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-librist", - "kind": "apk", - "version": "0.2.15-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/librist-0.2.15-r0.apk", - "sha256": "11d25fc6691b34002c8d3b65c8a0587660c3cbc5d843424c80196583edf8b80d", - "directory": "librist-0.2.15-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit d9adfca901be95a0c4203f2770ee9730b47db3a6; .PKGINFO license = BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsrt", - "kind": "apk", - "version": "1.5.3-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libsrt-1.5.3-r1.apk", - "sha256": "a7b2c3d08e8a4d2464629caa26b482b7f204e4fa5171b849565a4e82ab6144e9", - "directory": "libsrt-1.5.3-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2d9f0a6490c47e67a952cab2584fb5ae0531094f; .PKGINFO license = MPL-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libssh", - "kind": "apk", - "version": "0.12.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libssh-0.12.2-r0.apk", - "sha256": "ad36fea448d82f3ed08fcd8eefeabb60f56ef94d1c8c66e1282443521fe72d01", - "directory": "libssh-0.12.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 16037a8794a4aab8a46dbf64ef11a9c5f6ce4d4a; .PKGINFO license = LGPL-2.1-or-later BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsodium", - "kind": "apk", - "version": "1.0.22-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libsodium-1.0.22-r0.apk", - "sha256": "9104e01a043d92f1f646e5750a6ba9d8a030f4d87f6c5690e8a015f0d9a4ab73", - "directory": "libsodium-1.0.22-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 43738991b7e88248fb76a2009103a27e0b52b2ee; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libzmq", - "kind": "apk", - "version": "4.3.5-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libzmq-4.3.5-r2.apk", - "sha256": "6bdc93b3ca98fea14a1fb29c6874fc8c460096d03b956f92632cbad58cdf444d", - "directory": "libzmq-4.3.5-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 03fe9a0a61940d07592e897e7a5983e2c7d91fff; .PKGINFO license = MPL-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpeg-libavformat", - "kind": "apk", - "version": "8.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpeg-libavformat-8.1.3-r0.apk", - "sha256": "1caff4921405cf58423c368c47268309d772e0b9b9203f9c46fad7eea9096911", - "directory": "ffmpeg-libavformat-8.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 66cae15cc19799ecaefa1ba9b131aeba0e5f7a86; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-serd-libs", - "kind": "apk", - "version": "0.32.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/serd-libs-0.32.8-r0.apk", - "sha256": "b26dd784ba24cb00acec0b850989dedd95ce47ca35abdb6c62e65b8fa612dae3", - "directory": "serd-libs-0.32.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 72f72e6d97be51a225d3d6194a7229f98dbce867; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-zix-libs", - "kind": "apk", - "version": "0.8.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/zix-libs-0.8.0-r0.apk", - "sha256": "3467af7fcaad89aeef62ed9d21a5e5b837465c02e685f4c006e939cdbfa382d9", - "directory": "zix-libs-0.8.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 50bcdef493280b1fcd5106d99ee81fd6b72fa8e2; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sord-libs", - "kind": "apk", - "version": "0.16.22-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/sord-libs-0.16.22-r0.apk", - "sha256": "2ab4e710b606ac2514ab4a886dbe3b6191e493c6c71f9db61788531b6fb9380a", - "directory": "sord-libs-0.16.22-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 15a91cfc65d2d33a82516d680631063995f3e296; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sratom", - "kind": "apk", - "version": "0.6.20-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/sratom-0.6.20-r0.apk", - "sha256": "cf27a7eead059a191f6a511a2287fadaf83981386b02cb2049f3cb491b4f68aa", - "directory": "sratom-0.6.20-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 4a87b165685f132ffe85497e83162f390475fb99; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-lilv-libs", - "kind": "apk", - "version": "0.24.26-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/lilv-libs-0.24.26-r1.apk", - "sha256": "f3b94634be78ac1f559d2931c3a5cf1980d1721cf21dae79068c861dc9a907f7", - "directory": "lilv-libs-0.24.26-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit d70e64dd3579040a499625eddc453a5380df31f8; .PKGINFO license = ISC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdovi", - "kind": "apk", - "version": "3.3.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdovi-3.3.2-r0.apk", - "sha256": "3e1405d1da7bde37ae5672fc7e12b8bbf36357dd25b62ec6863a23535693e4fb", - "directory": "libdovi-3.3.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-glslang-libs", - "kind": "apk", - "version": "1.4.341.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/glslang-libs-1.4.341.0-r0.apk", - "sha256": "a2c7450ac81c486d333c3a40072912a6a1dac9cc8a26136f48c7f1ae35d27257", - "directory": "glslang-libs-1.4.341.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 805ebd1e54659ce36afdb54d3eb38efd072dbf00; .PKGINFO license = BSD-3-Clause AND BSD-2-Clause AND MIT AND Apache-2.0 AND GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-shaderc", - "kind": "apk", - "version": "2026.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/shaderc-2026.1-r0.apk", - "sha256": "8ffad05b20d790ea5b09f0d103376daea80941fffc020d698712179beab558dc", - "directory": "shaderc-2026.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 31b84d5dd12935af1967f90e42c2374b86f32264; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vulkan-loader", - "kind": "apk", - "version": "1.4.347-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/vulkan-loader-1.4.347-r0.apk", - "sha256": "ba6276bb7b16cd140dbaac9ed25648c9f967996ed5143cf049d7a326b7c5fe59", - "directory": "vulkan-loader-1.4.347-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 07bac49555d7efd5cf8133ae2c4f5cd4c3bb39b4; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libplacebo", - "kind": "apk", - "version": "7.360.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libplacebo-7.360.1-r0.apk", - "sha256": "fbd0f174d5e56b22b6bd7b335519b7eb7a32bf25e2c66baec38e8d57d40f541a", - "directory": "libplacebo-7.360.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit ce0bd206278044a400beea5ebc757fa9988712a8; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpeg-libswscale", - "kind": "apk", - "version": "8.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpeg-libswscale-8.1.3-r0.apk", - "sha256": "ae2ef558edd6105bf6e4a30c34320de525e2fdf045c234fbd3d903bb1a50688c", - "directory": "ffmpeg-libswscale-8.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 66cae15cc19799ecaefa1ba9b131aeba0e5f7a86; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vidstab", - "kind": "apk", - "version": "1.1.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vidstab-1.1.1-r0.apk", - "sha256": "810859baf5ba90b6012941a321025009fd2f45aaa45141ad682f57967e04fdec", - "directory": "vidstab-1.1.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 24eb3bcfeb2794b3c99bd49650c149a4f7e287b7; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-zimg", - "kind": "apk", - "version": "3.0.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/zimg-3.0.6-r0.apk", - "sha256": "e3ca9fe60ce24910956c2372ab92550daa41b9d8e8fb72ec9fbf108c6d83671b", - "directory": "zimg-3.0.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 44823d5e5cf404b0af1cd79917bc94a53114248b; .PKGINFO license = WTFPL; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpeg-libavfilter", - "kind": "apk", - "version": "8.1.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpeg-libavfilter-8.1.3-r0.apk", - "sha256": "8d9d2d27fc7938cd111c8086202d486b4ab1eacaca51427265bd898276535755", - "directory": "ffmpeg-libavfilter-8.1.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 66cae15cc19799ecaefa1ba9b131aeba0e5f7a86; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-ffmpegthumbnailer", - "kind": "apk", - "version": "2.2.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/ffmpegthumbnailer-2.2.4-r0.apk", - "sha256": "aecc4c323c340dc2ea32347c29489e13de0a011bbe871144842a4b7e96b79df8", - "directory": "ffmpegthumbnailer-2.2.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit cb1fd127bd4b906b06cb51e8110f148b99aaa3a8; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-acl-libs", - "kind": "apk", - "version": "2.3.2-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/acl-libs-2.3.2-r1.apk", - "sha256": "3f02851d586c25d97ba8b5b845615aacc209ae7eaeb6f7843eca76d85da2249d", - "directory": "acl-libs-2.3.2-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 8bac74716d06c84627ab02d101fd9d2bafd0a34c; .PKGINFO license = LGPL-2.1-or-later AND GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-lz4-libs", - "kind": "apk", - "version": "1.10.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/lz4-libs-1.10.0-r1.apk", - "sha256": "3ad4912ab8ecf5f6236fdb751f88243006b3a8f152684e455b781e16284dd298", - "directory": "lz4-libs-1.10.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 1f16962f34234a77fab0f4651459c4381b4a0cd6; .PKGINFO license = BSD-2-Clause AND GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libarchive", - "kind": "apk", - "version": "3.8.11-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libarchive-3.8.11-r0.apk", - "sha256": "275ca3b65a540656c91f776a7e0f3ceee5240982218d16b6acba7d040f765599", - "directory": "libarchive-3.8.11-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 931582d4d89b89606f5dbecc5d3824efcd2fb8a1; .PKGINFO license = BSD-2-Clause AND BSD-3-Clause AND Public-Domain; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xdg-dbus-proxy", - "kind": "apk", - "version": "0.1.9-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xdg-dbus-proxy-0.1.9-r0.apk", - "sha256": "6cb89ffec2f8ec428706ba95b4a5477c683271af44aac9da4ad41fb4d1919d4a", - "directory": "xdg-dbus-proxy-0.1.9-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2c461d47ec384165edca1c1e48add34e35dcf9e6; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgpg-error", - "kind": "apk", - "version": "1.61-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libgpg-error-1.61-r0.apk", - "sha256": "580b80e679adda234e5d36e7633023c25cf20ce9fcf3ee8f9dd85ba578d886b6", - "directory": "libgpg-error-1.61-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 8caf2102b9e8f0d9189cc11ad1069060d8a10f53; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgcrypt", - "kind": "apk", - "version": "1.12.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libgcrypt-1.12.2-r0.apk", - "sha256": "e7dd4be813331a5a42d433b2e2a0ce6ebf4e1f0752ce2bdf7e81a38f88a6517d", - "directory": "libgcrypt-1.12.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 0ae860b01c54e362509a5b1354f3dd2369b9dffc; .PKGINFO license = LGPL-2.1-or-later AND GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gcr-base", - "kind": "apk", - "version": "3.41.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gcr-base-3.41.2-r2.apk", - "sha256": "3d438a42e557a18d97aa39e2991e2365911f4707cc372d2f079d15ce04df6bde", - "directory": "gcr-base-3.41.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit c97799aa548f601eb43cfd276ba52f1a9da85d48; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gcr", - "kind": "apk", - "version": "3.41.2-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gcr-3.41.2-r2.apk", - "sha256": "7358ddd09fd361f411e6bccb2416c939b6dbc1c80d2d2c5d2dceb0e6d8077818", - "directory": "gcr-3.41.2-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit c97799aa548f601eb43cfd276ba52f1a9da85d48; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libcap-ng", - "kind": "apk", - "version": "0.8.5-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libcap-ng-0.8.5-r2.apk", - "sha256": "feeb65b050ec75766057ce8f3e9611eef3c03d9eeed17d31a900ab900ed2bcf2", - "directory": "libcap-ng-0.8.5-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5218322ff9abeee315a9a19f9be7a1440f89d042; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gnome-keyring", - "kind": "apk", - "version": "50.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gnome-keyring-50.0-r0.apk", - "sha256": "b5bd816fba37aae60218658a7f48429683da9c868f484e5817e7f3a7641faa5c", - "directory": "gnome-keyring-50.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 63c502e654b8c5db7921eb039ffc77d8894c518c; .PKGINFO license = GPL-2.0-only LGPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gnome-keyring-openrc", - "kind": "apk", - "version": "50.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gnome-keyring-openrc-50.0-r0.apk", - "sha256": "cc40b0f7a7eea0821b07a6cf664673dd3b7788014d3fbd5560f78aad1bfcee06", - "directory": "gnome-keyring-openrc-50.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 63c502e654b8c5db7921eb039ffc77d8894c518c; .PKGINFO license = GPL-2.0-only LGPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gnome-keyring-pam", - "kind": "apk", - "version": "50.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gnome-keyring-pam-50.0-r0.apk", - "sha256": "a30f40ecc651fd5dcc76d3eae4d385a3bf4c4aed1623d5e6acd29cf5616b3ce7", - "directory": "gnome-keyring-pam-50.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 63c502e654b8c5db7921eb039ffc77d8894c518c; .PKGINFO license = GPL-2.0-only LGPL-2.0-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libatomic", - "kind": "apk", - "version": "15.2.0-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libatomic-15.2.0-r5.apk", - "sha256": "c5ec550c73dd7b4e81e206fdff3cf4c46b0ae1b29fec1db5cd4e12d88416abbf", - "directory": "libatomic-15.2.0-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 423a8ad043d07f2c7546c8ec3e2b0384cda360ae; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libyuv", - "kind": "apk", - "version": "0.0.1928-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libyuv-0.0.1928-r0.apk", - "sha256": "f72ec03d1a1db08f7efa2d005765783e73188397a64e41090702105856b347b6", - "directory": "libyuv-0.0.1928-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 6d055fa770a2fbbd807ee496c4dc8c69d00fbee4; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libavif", - "kind": "apk", - "version": "1.4.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libavif-1.4.1-r0.apk", - "sha256": "f7086bf6e2d1ad1b265038d94ae8d66eccefbead5eac013f455c6763cb50a481", - "directory": "libavif-1.4.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 7c091e42619c47958002c5de53dd7f02dd4c83ac; .PKGINFO license = BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-enchant2-libs", - "kind": "apk", - "version": "2.8.15-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/enchant2-libs-2.8.15-r0.apk", - "sha256": "34c7fdeb0b5313e362f0bd0fcd4d96ee636ac906770e67bb8fc5406d0ae3de5e", - "directory": "enchant2-libs-2.8.15-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 29f5e8636649b9b1bd07d694fe8fe3a9b5e0e0e9; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-flite", - "kind": "apk", - "version": "2.2-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/flite-2.2-r6.apk", - "sha256": "6dc9ba04457635e44e691a90e44e0541cf98ea3b7595e38b00957336ff615cd1", - "directory": "flite-2.2-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit a9e2a2dc46f377eb25884f7fea9834492de7f518; .PKGINFO license = BSD-4-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxv", - "kind": "apk", - "version": "1.0.13-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxv-1.0.13-r0.apk", - "sha256": "9ca14dbb23ae1e3f0c4a300443323259e0e065c75d12f72e2dc52a373f3b8fb9", - "directory": "libxv-1.0.13-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 9ce32dfd15fa7aa84849ad3f5ec8e8044ac93b07; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-cdparanoia-libs", - "kind": "apk", - "version": "10.2-r14", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/cdparanoia-libs-10.2-r14.apk", - "sha256": "3b53f3e65a9940198ebc7385a55929565ebe8ea470a9c0aece0751dffbaa5dc7", - "directory": "cdparanoia-libs-10.2-r14", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit c878341873168fef6b5c91c8f5c924a1af67c7c3; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-graphene", - "kind": "apk", - "version": "1.10.8-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/graphene-1.10.8-r5.apk", - "sha256": "f3d3842ed1c5633e40723f2837fef17465283e87e18e63525881df7fb3282e59", - "directory": "graphene-1.10.8-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 6bd45b53fb316dc01bda59f5feaf1e127eb64f22; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gstreamer", - "kind": "apk", - "version": "1.28.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gstreamer-1.28.3-r0.apk", - "sha256": "ad392583e2a07450c8e5df71b8c8a0859dcab78d2273bf0b588bf923f510d323", - "directory": "gstreamer-1.28.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit b9a0c60026b2d5cce0b74d5469ea49a2208c4a58; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gstreamer-bash-completion", - "kind": "apk", - "version": "1.28.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gstreamer-bash-completion-1.28.3-r0.apk", - "sha256": "5dee76e5155fadef4510b1b4bd556b684b5352d02fd3a4f86caa8c870e23ce8c", - "directory": "gstreamer-bash-completion-1.28.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit b9a0c60026b2d5cce0b74d5469ea49a2208c4a58; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-orc", - "kind": "apk", - "version": "0.4.41-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/orc-0.4.41-r0.apk", - "sha256": "4a340f33fa4e180a22e6428fb8089e2ef0a14bb07322138f9c2d87b7afa2e995", - "directory": "orc-0.4.41-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 35fe4add84d7a6b772d1780cc3e3d7b4ab337bd3; .PKGINFO license = BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gst-plugins-base", - "kind": "apk", - "version": "1.28.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gst-plugins-base-1.28.3-r0.apk", - "sha256": "b6ae2b613e89c232f0147b82c99bed0a58fee6d684b0686efda7a0761677704e", - "directory": "gst-plugins-base-1.28.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5b722a808deeaaf6cb437c7ff6617e2e7adec0d1; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openexr-libiex", - "kind": "apk", - "version": "3.4.15-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/openexr-libiex-3.4.15-r0.apk", - "sha256": "cd78c1a45ae084911785e79e476a305c569fd022db862c91e63552267ed41b37", - "directory": "openexr-libiex-3.4.15-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 75e07796e3e41455a6ec7575766d5f03fb38df53; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-imath", - "kind": "apk", - "version": "3.2.2-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/imath-3.2.2-r1.apk", - "sha256": "cfbcb4ccc3b3a00673b899c4cfe32cb1b9f80f8c7fa9a263c2e6f19416919b2e", - "directory": "imath-3.2.2-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit ba80e98e4c18b25ca0d02269b2248abc4f039a10; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openexr-libilmthread", - "kind": "apk", - "version": "3.4.15-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/openexr-libilmthread-3.4.15-r0.apk", - "sha256": "dffeb82cc84043ea50a700963bc18ea3ec9d414fa4ec7d0b04ded56db39de306", - "directory": "openexr-libilmthread-3.4.15-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 75e07796e3e41455a6ec7575766d5f03fb38df53; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdeflate", - "kind": "apk", - "version": "1.25-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdeflate-1.25-r0.apk", - "sha256": "3b37f3363553d8c002888f5ac0d0973c1301103c1f82a7af786e3c9856be7c63", - "directory": "libdeflate-1.25-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 8bb1666230b293a8b2e27408be4731194b57a4ee; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openexr-libopenexrcore", - "kind": "apk", - "version": "3.4.15-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/openexr-libopenexrcore-3.4.15-r0.apk", - "sha256": "7d6c17985868839aeebb5d530bab84ab86775b47c822e7867ab9587b2836cbe1", - "directory": "openexr-libopenexrcore-3.4.15-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 75e07796e3e41455a6ec7575766d5f03fb38df53; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openexr-libopenexr", - "kind": "apk", - "version": "3.4.15-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/openexr-libopenexr-3.4.15-r0.apk", - "sha256": "164d73aee9035473b5262ad415aeca0bc67102521f3eaf26570d8fc42f538c74", - "directory": "openexr-libopenexr-3.4.15-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 75e07796e3e41455a6ec7575766d5f03fb38df53; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-soundtouch", - "kind": "apk", - "version": "2.4.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/soundtouch-2.4.1-r0.apk", - "sha256": "404d4ad9545493e99b207ad1a977126a76c2cabee1e7dc7f1c23001aaeb64ccf", - "directory": "soundtouch-2.4.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit eca3b12c11bd315f8fc843808cf1e89dea4043fc; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libraw1394", - "kind": "apk", - "version": "2.1.2-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libraw1394-2.1.2-r5.apk", - "sha256": "42c20c80731ee8fe1597ca8c8ce070910d75bb035c360dd930c68de126cfa1e4", - "directory": "libraw1394-2.1.2-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 4f8157b2e125ac222cade929bb25bda16305fefc; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libusb", - "kind": "apk", - "version": "1.0.30-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libusb-1.0.30-r0.apk", - "sha256": "dba6ff9dfcb06f9e9405414c10dc31dd45f73b853528127e6c91dfbe053ac212", - "directory": "libusb-1.0.30-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 01432283613d87d80efdd9f78362a4c58c895439; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdc1394", - "kind": "apk", - "version": "2.2.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdc1394-2.2.7-r0.apk", - "sha256": "db9066734e307f21892e3f29105d5516dedeb572e77024d425d3c2de68a5dd26", - "directory": "libdc1394-2.2.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6867e384dbfbd0b8efadbca989e9778190e89496; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-tslib", - "kind": "apk", - "version": "1.24-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/tslib-1.24-r0.apk", - "sha256": "d3051f4ea33f7b950ce354112109f8db94effafc4feec55edfe9ac3ef1b8e08c", - "directory": "tslib-1.24-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a83fa360ad5763f7af99da39c0e948c824f0926b; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-directfb", - "kind": "apk", - "version": "1.7.7-r8", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/directfb-1.7.7-r8.apk", - "sha256": "d58816a91730eeb81acc08e7ed6f50749a5e108f01866d1509f73e8ebb02b794", - "directory": "directfb-1.7.7-r8", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 81718313f55b85e4727ef421addae5a8e3b0004e; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-faac", - "kind": "apk", - "version": "1.31.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/faac-1.31.1-r0.apk", - "sha256": "309babd1f9e890dfbbff4bcb788be00637ead2cacf5eca66cde5e5c287344e37", - "directory": "faac-1.31.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit fd133eb9c5bdad4ab8aa2bda85a4b1a0ff18837b; .PKGINFO license = GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-faad2-libs", - "kind": "apk", - "version": "2.11.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/faad2-libs-2.11.2-r0.apk", - "sha256": "bb8efc283b0c6a845c3aca77bdf6962639b2a156a90692ce67999cf0e3aa66c3", - "directory": "faad2-libs-2.11.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 333c64f70965994ccb525551c617af7974e39fc8; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-fdk-aac", - "kind": "apk", - "version": "2.0.2-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/fdk-aac-2.0.2-r4.apk", - "sha256": "963278a34ff484102196647e80a1402a1743605aaf614b1fc0a6fe68589f653a", - "directory": "fdk-aac-2.0.2-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = FDK-AAC; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libfreeaptx", - "kind": "apk", - "version": "0.2.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libfreeaptx-0.2.2-r0.apk", - "sha256": "96faffe84bfb4954fb05b8e39f4676a0ed95d7829ba2a48a31bf58c3a3ecea08", - "directory": "libfreeaptx-0.2.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit dda0b5a100ff8cb4bd50d64de0fc75157b33ca48; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gsm", - "kind": "apk", - "version": "1.0.23-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/gsm-1.0.23-r0.apk", - "sha256": "808eca8fd3916d99df495245756e07f0061f9f48bc7ae2c552ea8d376debfdb6", - "directory": "gsm-1.0.23-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit aa638de6f94994a5d6f56238d52795988df90778; .PKGINFO license = TU-Berlin-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libldac", - "kind": "apk", - "version": "2.0.2.3-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libldac-2.0.2.3-r1.apk", - "sha256": "109680bb8cfe8090d75e119ea03ae4fcb0975a6880d94d0de03c4277698320ac", - "directory": "libldac-2.0.2.3-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a7ec97e438d943083c5e7ffb0c7a20b546c60d31; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libmodplug", - "kind": "apk", - "version": "0.8.9.0-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libmodplug-0.8.9.0-r3.apk", - "sha256": "ee858b8f0e1823ac89bf874a4dd5d435868f98ce5be26c36d088902e46ff26ef", - "directory": "libmodplug-0.8.9.0-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 33283848034c9885d984c8e8697c645c57324938; .PKGINFO license = custom; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-neon", - "kind": "apk", - "version": "0.36.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/neon-0.36.0-r0.apk", - "sha256": "d16f2660d7732c5f856c87ecd05ff5df7ba5139f921034a6c23b6d93694fe002", - "directory": "neon-0.36.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 932473be5945fbbc94d2932d0d9408a142e6aaf7; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openal-soft-libs", - "kind": "apk", - "version": "1.25.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/openal-soft-libs-1.25.2-r0.apk", - "sha256": "e5f4699ad0dfc8353dae629d45d0881a6e1da555b21b0f5bfaac8ee4659d3fa0", - "directory": "openal-soft-libs-1.25.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 095a01c525c5b68543ae82ffa1a4ec4c94d987d2; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openh264", - "kind": "apk", - "version": "2.6.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/openh264-2.6.0-r0.apk", - "sha256": "10f980486959f6fd149b80a940c054247cf52869ca360cd0fc374924a8d6748e", - "directory": "openh264-2.6.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 3e3fa0ef3b551ddcd1db850617252696ef8b092a; .PKGINFO license = BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-openh264", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-openh264-1.23.7-r0.apk", - "sha256": "f9756ac61947e4192e52f296c38c8c3a9d1a8f8605ff4b6762cb8f3ca2d533af", - "directory": "libheif-openh264-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-openjpeg", - "kind": "apk", - "version": "2.5.4-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/openjpeg-2.5.4-r2.apk", - "sha256": "e7d2189cda2725a262e77c60c6306401e149c748aed187ca36a5be0b86ea2c8c", - "directory": "openjpeg-2.5.4-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit b6d19fe5cb62ff83b899e224cd2408868fc21e5e; .PKGINFO license = BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libheif-openjpeg", - "kind": "apk", - "version": "1.23.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libheif-openjpeg-1.23.7-r0.apk", - "sha256": "8f4166885022a4255c5ee0f821d7fb5ecf3c3204a5ee6d2a0df0f1951c45d05b", - "directory": "libheif-openjpeg-1.23.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e0f09ea95199c8eee2d2965cd900c7caf0ce831; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-librtmp", - "kind": "apk", - "version": "2.4_git20190330-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/librtmp-2.4_git20190330-r5.apk", - "sha256": "bacba168dac67b8be5706d9baa5e8c9d9c9181ed7524d59eeb9f1691f16a69e1", - "directory": "librtmp-2.4_git20190330-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit a96a8227c86de32ad8f0c600abcf7d3469a8ff88; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-sbc", - "kind": "apk", - "version": "2.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/sbc-2.1-r0.apk", - "sha256": "c435bd40980a9976676cfa99be9bd9590663003c2a819416b15b0f1527a6f806", - "directory": "sbc-2.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2158fff9179327ffdbaaf7789c377cf57964da17; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-spandsp", - "kind": "apk", - "version": "0.0.6-r5", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/spandsp-0.0.6-r5.apk", - "sha256": "9c16be185df62760dfb4c4591bb1db2fb2b063103da955f4c3cdd0ce819f84ff", - "directory": "spandsp-0.0.6-r5", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 9024026ee6838388f8b87e52a17495786ed85d4e; .PKGINFO license = LGPL-2.1-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsrtp", - "kind": "apk", - "version": "2.7.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libsrtp-2.7.0-r0.apk", - "sha256": "51222a4e45c33797b547f6599b3849af7f893f9a55b120c3000f0fb169637533", - "directory": "libsrtp-2.7.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 49d5e530d0a021d96900b50de673d87b748a0dfd; .PKGINFO license = BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vo-aacenc", - "kind": "apk", - "version": "0.1.3-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vo-aacenc-0.1.3-r3.apk", - "sha256": "dd79701abbcb9a4c310bc21ab6f624e1b2b721aa81dfda5f09d854ba1e1a04f6", - "directory": "vo-aacenc-0.1.3-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit ec85fe7c1a78cb5e8e5d7d48913efe7947a0d2a8; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vo-amrwbenc", - "kind": "apk", - "version": "0.1.3-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vo-amrwbenc-0.1.3-r3.apk", - "sha256": "cd9634421603000670fca0e9266cea7fa45b26942cc7f7d99be2bfa57cb5a221", - "directory": "vo-amrwbenc-0.1.3-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 5c59dec30aa538ae88d9dcfd533c3ed64b81421b; .PKGINFO license = Apache-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxkbcommon-x11", - "kind": "apk", - "version": "1.13.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxkbcommon-x11-1.13.1-r0.apk", - "sha256": "ee236fe77052f0a4ea2bf9fa4ffd2fee26c50122326e27289fafed4804d06598", - "directory": "libxkbcommon-x11-1.13.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 76aa0b70442b4172a6770da5875b1bcbe38f3965; .PKGINFO license = MIT AND MIT-open-group AND HPND AND HPND-sell-variant AND LicenseRef-digital-equipment-corporation; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libzbar", - "kind": "apk", - "version": "0.23.93-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libzbar-0.23.93-r2.apk", - "sha256": "67c2d299eac85c0340fec90b4cb4673a668fb49c68172effa812c29796043f41", - "directory": "libzbar-0.23.93-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit f3b3b20c95cbbcaf4f81fd1d083352a541c597fa; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gst-plugins-bad", - "kind": "apk", - "version": "1.28.3-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gst-plugins-bad-1.28.3-r0.apk", - "sha256": "225eaabfcff7eb25e61c441a5136ed2702dc37ad408caebe3466877f609aa83b", - "directory": "gst-plugins-bad-1.28.3-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 3a9f73115455709c59f4d4895c3562fecbb78c59; .PKGINFO license = GPL-2.0-or-later LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-icu-data-en", - "kind": "apk", - "version": "78.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/icu-data-en-78.1-r0.apk", - "sha256": "7fc4d3abd06b6e3301c82e9f872e4555d4a41e2abc28087f4286aba01e5dd5a7", - "directory": "icu-data-en-78.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 6755fdb21483ba250d374c3244f0f48bc63447e2; .PKGINFO license = ICU; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-icu-libs", - "kind": "apk", - "version": "78.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/icu-libs-78.1-r0.apk", - "sha256": "ef9a3035f23886cf0da5869902c736a775cf3db151ae1ab7f1406e2a0f84bd64", - "directory": "icu-libs-78.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 6755fdb21483ba250d374c3244f0f48bc63447e2; .PKGINFO license = ICU; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-harfbuzz-icu", - "kind": "apk", - "version": "13.2.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/harfbuzz-icu-13.2.1-r0.apk", - "sha256": "494d908992744644a495e6bf77c6a18f68b90a50d5f537d7a05019e996c6d26a", - "directory": "harfbuzz-icu-13.2.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 0e23da21a00fc68f2e5ddc352354a9d11d12ee24; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-hyphen", - "kind": "apk", - "version": "2.8.8-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/hyphen-2.8.8-r3.apk", - "sha256": "aaabbe0b0b9c71ed92474d65499358682732062484c9204c81b420e2c363f7fa", - "directory": "hyphen-2.8.8-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 3994b45b6a9e37fd106a57e0f7ab05c2fc04d2d5; .PKGINFO license = GPL-2.0-or-later LGPL-2.0-or-later MPL-1.1; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-hidapi", - "kind": "apk", - "version": "0.15.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/hidapi-0.15.0-r0.apk", - "sha256": "79c3d199704dc5cf79d6dac37a40745c68b5028fc4bd0372732199abddf90eba", - "directory": "hidapi-0.15.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a255ed0fa9f4570e9356934632439e3dd03b3e5b; .PKGINFO license = GPL-3.0-only OR BSD-3-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libmanette", - "kind": "apk", - "version": "0.2.12-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libmanette-0.2.12-r0.apk", - "sha256": "c93d1d5bffe9e13370f086268b943fc1038a15b98b656baad6c17e629fa1b573", - "directory": "libmanette-0.2.12-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6bd45b53fb316dc01bda59f5feaf1e127eb64f22; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsecret", - "kind": "apk", - "version": "0.21.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libsecret-0.21.7-r0.apk", - "sha256": "3329110cf54d218a6f93d0f00af7d88667e78bca9c810c824e9587a3f5ec9dc7", - "directory": "libsecret-0.21.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 6bd45b53fb316dc01bda59f5feaf1e127eb64f22; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-gsettings-desktop-schemas", - "kind": "apk", - "version": "50.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/gsettings-desktop-schemas-50.1-r0.apk", - "sha256": "d905fadcc30f2f6627a91578b4f6d44f9327093df570eb10f104755a83ee6238", - "directory": "gsettings-desktop-schemas-50.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 131179669e5ce505b216e8a3e2de16f67c98caa7; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-duktape-libs", - "kind": "apk", - "version": "2.7.0-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/duktape-libs-2.7.0-r3.apk", - "sha256": "1f0bd84d8d8f35ddcf12c7fad1d3ed6b30ece496bbfba992d9a6e96cff78c939", - "directory": "duktape-libs-2.7.0-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a9e2a2dc46f377eb25884f7fea9834492de7f518; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libproxy", - "kind": "apk", - "version": "0.5.12-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libproxy-0.5.12-r0.apk", - "sha256": "9656ff4015e4f2654f58e99dde115dd6c243bf6d22b92cfcc5f7b63f3b44d2e8", - "directory": "libproxy-0.5.12-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 851c5e6677e09a71066d12f6585699453fd3d245; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-glib-networking", - "kind": "apk", - "version": "2.80.1-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/glib-networking-2.80.1-r2.apk", - "sha256": "c2eec04320552b7030fb25b844dc50606c45b7d424291c180e957e2673c836be", - "directory": "glib-networking-2.80.1-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2941f70a86453446dd4b7c66c09f9aea5aa7c402; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libsoup3", - "kind": "apk", - "version": "3.6.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libsoup3-3.6.6-r0.apk", - "sha256": "fd3152a44ae162c9e9323ea85937149d61c782ad84fd303634d1ef881a8aa02c", - "directory": "libsoup3-3.6.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6ac0d65df9dcb0c66d5ba608f73e36586059762e; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-wayland-libs-server", - "kind": "apk", - "version": "1.25.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/wayland-libs-server-1.25.0-r0.apk", - "sha256": "044d9f2386d312ae6431599b733e2f8118325b5936844f7b4174e9140fa33d16", - "directory": "wayland-libs-server-1.25.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5960a969742897aba03257e84f0aa40f3c1e84d6; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libwoff2common", - "kind": "apk", - "version": "1.0.2-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libwoff2common-1.0.2-r4.apk", - "sha256": "071fd4b785a42afbda0985252fbc8040c5b4518d332aca9669c41b404d0730e8", - "directory": "libwoff2common-1.0.2-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libwoff2enc", - "kind": "apk", - "version": "1.0.2-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libwoff2enc-1.0.2-r4.apk", - "sha256": "5f480ebba702f56e503a98ae46278ad4d557337ce4bd56ac0f29ccd284fad134", - "directory": "libwoff2enc-1.0.2-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxslt", - "kind": "apk", - "version": "1.1.43-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libxslt-1.1.43-r4.apk", - "sha256": "40e6cc7d09ce1e69421c2b37e1da4e9afef486843f21c3a79339cd6d93c1c617", - "directory": "libxslt-1.1.43-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit e85ecba78539486bd0a685963ca5da3e1652fbd0; .PKGINFO license = X11; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-webkit2gtk-4.1", - "kind": "apk", - "version": "2.48.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/webkit2gtk-4.1-2.48.7-r0.apk", - "sha256": "abb6f1e7757909f0b608b7deb88d87e138add458b5993d45e661201f578101d4", - "directory": "webkit2gtk-4.1-2.48.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 27c33f737a327d758561d5b93e6d72f060eff549; .PKGINFO license = LGPL-2.0-or-later AND BSD-2-Clause; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgepub", - "kind": "apk", - "version": "0.7.1-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libgepub-0.7.1-r1.apk", - "sha256": "38a33a69351b9b487a4cd21d5f11b01e01aca07a03d28cd836f76746ff636d78", - "directory": "libgepub-0.7.1-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 1e40ebb81e1bd430682f1e567f49def3e88314d0; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libgsf", - "kind": "apk", - "version": "1.14.58-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libgsf-1.14.58-r0.apk", - "sha256": "7ec27018f6ff3c5aee5df9540637a35f187fc4be907a148591711d82c95e2ace", - "directory": "libgsf-1.14.58-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 61b0c26700e1b15408be8b6cb56eb8998e6f4929; .PKGINFO license = LGPL-2.1-only; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libopenraw", - "kind": "apk", - "version": "0.3.7-r3", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libopenraw-0.3.7-r3.apk", - "sha256": "82762a2d3895b5390278fe2c939da3c267b5208c52e64612cf0b83fc83ae0a87", - "directory": "libopenraw-0.3.7-r3", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit c19d24c24786a0e2522122486e197a8156823680; .PKGINFO license = LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-nspr", - "kind": "apk", - "version": "4.38.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/nspr-4.38.2-r0.apk", - "sha256": "0b918a47c9e625f2b7001424dc64d6738e192594c584cecce4ae67d72199c4b0", - "directory": "nspr-4.38.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 4e10628e0ece580cd8f88bec18b55ddbd0be249a; .PKGINFO license = MPL-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-nss", - "kind": "apk", - "version": "3.133-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/nss-3.133-r0.apk", - "sha256": "afe396bc1fcbd234a856edda5644d0671700acbd7c7df6b084d5c195736eab77", - "directory": "nss-3.133-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 44c2406adf5fc57ec177dadd295b897743b7a8eb; .PKGINFO license = MPL-2.0; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-poppler", - "kind": "apk", - "version": "25.12.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/poppler-25.12.0-r1.apk", - "sha256": "27d05f21b2c4b4b3f68185a2f3e87426477bae0cfbd5bf6815b7f3ec93b53fff", - "directory": "poppler-25.12.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5e1b822309fb17cc2ebd46d6fbacb1763acbcdd1; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-poppler-glib", - "kind": "apk", - "version": "25.12.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/poppler-glib-25.12.0-r1.apk", - "sha256": "64b9d75c2347fccdee023c7583e3ee3f2323719e9c9eece2cd03705de2829464", - "directory": "poppler-glib-25.12.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 5e1b822309fb17cc2ebd46d6fbacb1763acbcdd1; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-tumbler", - "kind": "apk", - "version": "4.20.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/tumbler-4.20.0-r0.apk", - "sha256": "89572a5ccbf2342afe54ab27b7f9f212e6f54468b4ace17aa8f171865921a055", - "directory": "tumbler-4.20.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 8deef3ae561c6605279c70d57beb19e0beb1ebcc; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4-appfinder", - "kind": "apk", - "version": "4.20.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-appfinder-4.20.0-r0.apk", - "sha256": "d8be383029903d2c3f74d2fcceafdf4d9bb871a95ba3208fe46e12fee22e97c5", - "directory": "xfce4-appfinder-4.20.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 5add03b41ce1184a93da7100c04090b9f893d2a9; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-json-glib", - "kind": "apk", - "version": "1.10.8-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/json-glib-1.10.8-r0.apk", - "sha256": "c213f9fd6b9717f2baec2ddf930ffb70227894e5db633ca73bb9b61e91a45808", - "directory": "json-glib-1.10.8-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 2941f70a86453446dd4b7c66c09f9aea5aa7c402; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdbusmenu-glib", - "kind": "apk", - "version": "16.04.0-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdbusmenu-glib-16.04.0-r6.apk", - "sha256": "be1d19fbdbc5080951dc751d5e51add7e164e48d0a462ade0672407f9320c082", - "directory": "libdbusmenu-glib-16.04.0-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libdbusmenu-gtk3", - "kind": "apk", - "version": "16.04.0-r6", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libdbusmenu-gtk3-16.04.0-r6.apk", - "sha256": "f6982f2f5fa8ba689a56428c4f44de41c7a42d58e7559f2663b3c1c19e2d22ba", - "directory": "libdbusmenu-gtk3-16.04.0-r6", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 80739e9ec0682399ed55876d26966ea77d6242fb; .PKGINFO license = GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4-panel", - "kind": "apk", - "version": "4.20.7-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-panel-4.20.7-r0.apk", - "sha256": "1e445e3f69e25ab3320550f364c27f594203c1988cfa95e5a04f4ea449d0396b", - "directory": "xfce4-panel-4.20.7-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit f5f3317f833f2cc00691bd270c5b6808ebe4b37c; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-polkit-noelogind-libs", - "kind": "apk", - "version": "127-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/polkit-noelogind-libs-127-r2.apk", - "sha256": "997938222fbd28c5c9f8149617777a01a9840ea6e0400063518243d4b8bfc499", - "directory": "polkit-noelogind-libs-127-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 025209e827fda3499838c7714346cc029cae62ab; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-polkit-common", - "kind": "apk", - "version": "127-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/polkit-common-127-r2.apk", - "sha256": "27b7069a0d4d5a6b09f362e54bcfa1ee8d0af9e371bb5e29cbc340295a6ef9c2", - "directory": "polkit-common-127-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 025209e827fda3499838c7714346cc029cae62ab; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-polkit-openrc", - "kind": "apk", - "version": "127-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/polkit-openrc-127-r2.apk", - "sha256": "d824402210b76eda63a5422fae7c52841ab91dc638f0bb1bd5603d4e662c4e8f", - "directory": "polkit-openrc-127-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 025209e827fda3499838c7714346cc029cae62ab; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-polkit", - "kind": "apk", - "version": "127-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/polkit-127-r2.apk", - "sha256": "3aa829fc24d6a8a0685a2e71bcacc99358ade4017c656593a69a1a75b441d6df", - "directory": "polkit-127-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 025209e827fda3499838c7714346cc029cae62ab; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-upower", - "kind": "apk", - "version": "1.91.0-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/upower-1.91.0-r2.apk", - "sha256": "78761cf27cb5d4a516a11e5536ad2236eee6c1a811e720266ee3b81e9af06430", - "directory": "upower-1.91.0-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 141ab05cb68ff13a2e922efc2434e87b72dad6e8; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4-power-manager", - "kind": "apk", - "version": "4.20.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-power-manager-4.20.0-r1.apk", - "sha256": "9fb944f74881d1274e0e713e4541d4c6f357ac9924ad2871c02c1f95722d981d", - "directory": "xfce4-power-manager-4.20.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6867e384dbfbd0b8efadbca989e9778190e89496; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-iceauth", - "kind": "apk", - "version": "1.0.11-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/iceauth-1.0.11-r0.apk", - "sha256": "a7bc904fd18d1eec1def41425b8785e7c507b9a0618defa61ad164a6f4ca9581", - "directory": "iceauth-1.0.11-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit fc755c5738a0d0027307d7dbd9bb949e8dc4c3d5; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libproc2", - "kind": "apk", - "version": "4.0.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libproc2-4.0.6-r0.apk", - "sha256": "b879846fa616ed27c64c5bd15ef3647f59005cab2c95c1fc2738b64ddbcfb9e6", - "directory": "libproc2-4.0.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 99d7511b57e55bc8c6def72765dc59cedbe7e9e5; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-procps-ng", - "kind": "apk", - "version": "4.0.6-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/procps-ng-4.0.6-r0.apk", - "sha256": "2510d07b3c029e7cdba1a6981fa17ac5a7b6c31e1e36df4327f46dd3aa8822eb", - "directory": "procps-ng-4.0.6-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 99d7511b57e55bc8c6def72765dc59cedbe7e9e5; .PKGINFO license = GPL-2.0-or-later AND LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4-session", - "kind": "apk", - "version": "4.20.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-session-4.20.2-r0.apk", - "sha256": "c86efb34e28166e7a9943b8c89b3f6fcf7a516282480ad629f87a530dfcbf12e", - "directory": "xfce4-session-4.20.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 57bf08728dc8536dc262ae6b93887f4cf012545f; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libcolord", - "kind": "apk", - "version": "1.4.8-r4", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libcolord-1.4.8-r4.apk", - "sha256": "69d6b8f97f8695c7dd384ff7e5dde4f76d97b523a355b59ebed3f763a33d9dfb", - "directory": "libcolord-1.4.8-r4", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit a7c11fb75debe853e13fc2f6599506a001365611; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-iso-codes", - "kind": "apk", - "version": "4.20.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/iso-codes-4.20.1-r0.apk", - "sha256": "12cdc1d8b49f20640bd45bd2d76c7b343644f3bb352d3d0ee48b160808471b54", - "directory": "iso-codes-4.20.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 3a49dfeacdd77c88349f55632e5f14195bd16cd5; .PKGINFO license = LGPL-2.1-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxklavier", - "kind": "apk", - "version": "5.4-r8", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxklavier-5.4-r8.apk", - "sha256": "6edc549cd1b86d2e1aa01d07a60bf78737b9cb7f6340a39181691c2c72354d62", - "directory": "libxklavier-5.4-r8", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 33283848034c9885d984c8e8697c645c57324938; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4-settings", - "kind": "apk", - "version": "4.20.4-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-settings-4.20.4-r0.apk", - "sha256": "88d0994838b8bd511f55c31d37e04db65492b7000a1a9d936d4fa134fa66eff9", - "directory": "xfce4-settings-4.20.4-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 08f83e5e50ae708ad6ddca758e7e822b6d23b7d7; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-yaml", - "kind": "apk", - "version": "0.2.5-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/yaml-0.2.5-r2.apk", - "sha256": "c7359ffa9d0c785c3298300a1daa08b9199799748b40696ce4cd589194b57ab2", - "directory": "yaml-0.2.5-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 8bac74716d06c84627ab02d101fd9d2bafd0a34c; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfdesktop", - "kind": "apk", - "version": "4.20.1-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfdesktop-4.20.1-r0.apk", - "sha256": "081850898a29dd718cc189e466b0e815a04e4ffaf52966ca7e4ec288b8a98f1e", - "directory": "xfdesktop-4.20.1-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 44970ec1c11107f27a26b2c4374d349a110d0a57; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-libxpresent", - "kind": "apk", - "version": "1.0.2-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/libxpresent-1.0.2-r0.apk", - "sha256": "ac55cc3196236772f9b94b879415017756f30ff80a04d4e367154aea4a79f25a", - "directory": "libxpresent-1.0.2-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 98ac3e31d3e99c79ecb358e6e56d59e7fe7d2ac6; .PKGINFO license = MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfwm4", - "kind": "apk", - "version": "4.20.0-r1", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfwm4-4.20.0-r1.apk", - "sha256": "f8708647a067dc07c338e7aff781b6232ca967853d23fe2d1ac72200394e7a17", - "directory": "xfwm4-4.20.0-r1", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 8814485de91035d5883b20a68686cd295e50354d; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4", - "kind": "apk", - "version": "4.20-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-4.20-r0.apk", - "sha256": "fc885645fc3786b8fac05e51edf712488e604cb4cbe255237e4a0cfb60349698", - "directory": "xfce4-4.20-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit 6867e384dbfbd0b8efadbca989e9778190e89496; .PKGINFO license = GPL; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-adwaita-fonts-sans", - "kind": "apk", - "version": "50.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/adwaita-fonts-sans-50.0-r0.apk", - "sha256": "eb0e39914e57197d63423cd634342999b5324ec8c5082c2f622c81135775a46c", - "directory": "adwaita-fonts-sans-50.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit b4f0590773788cde0df58f4aef035be023277464; .PKGINFO license = GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-adwaita-fonts-mono", - "kind": "apk", - "version": "50.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/adwaita-fonts-mono-50.0-r0.apk", - "sha256": "e2ae970fc6d4fefdf62b7972e578dfca87f490a1e8c6f913f8f07a0ae78eeb41", - "directory": "adwaita-fonts-mono-50.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit b4f0590773788cde0df58f4aef035be023277464; .PKGINFO license = GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-adwaita-fonts", - "kind": "apk", - "version": "50.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/adwaita-fonts-50.0-r0.apk", - "sha256": "a0534f33f56630a52b5d2426f8bcba79d2276001ac0b16f1c74323b61bb65c81", - "directory": "adwaita-fonts-50.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit b4f0590773788cde0df58f4aef035be023277464; .PKGINFO license = GPL-3.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vte3-profile", - "kind": "apk", - "version": "0.84.0-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vte3-profile-0.84.0-r2.apk", - "sha256": "08875b48380b70b7890668c97ffe0c1289e2aff6d4a5f0fec6df64eaf7fc70f3", - "directory": "vte3-profile-0.84.0-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit bec8b026686323b496365b825ad14fdf4473adf2; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-simdutf", - "kind": "apk", - "version": "9.0.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/simdutf-9.0.0-r0.apk", - "sha256": "5d286fce7f98524973e72a1e50a89dfc2043d37565b9ee5266968c5ee64e20c6", - "directory": "simdutf-9.0.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/main x86_64 APK; recipe commit 752189178a5d79d5c1593825b389526f1fd684fd; .PKGINFO license = Apache-2.0 OR MIT; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-vte3", - "kind": "apk", - "version": "0.84.0-r2", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/vte3-0.84.0-r2.apk", - "sha256": "b204a6d0d981782db50528d1d49fc722fe0a34a74691ce6814777fae2f56cfad", - "directory": "vte3-0.84.0-r2", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit bec8b026686323b496365b825ad14fdf4473adf2; .PKGINFO license = LGPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - }, - { - "id": "alpine-xfce4-terminal", - "kind": "apk", - "version": "1.2.0-r0", - "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/community/x86_64/xfce4-terminal-1.2.0-r0.apk", - "sha256": "86a23de8d14b111d5f85a46ae89d02c271a9cb8e17c5b3cb1c75535670c070a0", - "directory": "xfce4-terminal-1.2.0-r0", - "script": "tools/build/upstream-apk.sh", - "target": "apk-root", - "feature": "xfce", - "note": "Optional XFCE installer payload; official Alpine v3.24/community x86_64 APK; recipe commit be3026e8f70a5751c3b1de0f279c604d83a65543; .PKGINFO license = GPL-2.0-or-later; embedded APK signature verified", - "license_in_source": ".PKGINFO" - } - ] -} diff --git a/configs/fltk-apps.list b/configs/fltk-apps.list index a8a21e41..5064082c 100644 --- a/configs/fltk-apps.list +++ b/configs/fltk-apps.list @@ -1,6 +1,4 @@ calc -network-controller -openrc-controller diskmgr doom doomlauncher @@ -11,8 +9,6 @@ leonmmcoset minesweeper osver paint -reliefapk -reliefaskpass reliefcapture reliefclipboard reliefdiagram @@ -20,10 +16,13 @@ reliefexcel reliefmail reliefmath reliefmathpp +reliefpackages reliefplayer reliefppt reliefsettings relieftodo reliefword +network-controller +service-controller taskmgr xiaobai diff --git a/configs/grub.lock.json b/configs/grub.lock.json new file mode 100644 index 00000000..da6c16d2 --- /dev/null +++ b/configs/grub.lock.json @@ -0,0 +1,18 @@ +{ + "schema_version": 1, + "dependencies": [ + { + "id": "grub", + "kind": "tarball", + "version": "2.16", + "url": "https://gitlab.freedesktop.org/api/v4/projects/26558/packages/generic/source-assets/grub-2.16/grub-2.16.tar.xz", + "sha256": "f0db0104927df0b9a48bc41b735c702936190d17eb2d73d3018fa77474a0cabe", + "directory": "grub-2.16", + "script": "tools/build/grub.sh", + "target": "grub-host grub-efi", + "license_in_source": "COPYING", + "checksum_source": "https://raw.githubusercontent.com/buildroot/buildroot/master/boot/grub2/grub2.hash", + "note": "Official GRUB 2.16 release; signature fingerprint DFB62CC1A987E6C76EBF8143916EC0708CDFDDFD; BIOS and EFI modules and tools are built from the same locked source." + } + ] +} diff --git a/configs/locale/ja_JP.po b/configs/locale/ja_JP.po deleted file mode 100644 index 75e8debe..00000000 --- a/configs/locale/ja_JP.po +++ /dev/null @@ -1,106 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS musl locale\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "Sun" -msgstr "日" -msgid "Mon" -msgstr "月" -msgid "Tue" -msgstr "火" -msgid "Wed" -msgstr "水" -msgid "Thu" -msgstr "木" -msgid "Fri" -msgstr "金" -msgid "Sat" -msgstr "土" -msgid "Sunday" -msgstr "日曜日" -msgid "Monday" -msgstr "月曜日" -msgid "Tuesday" -msgstr "火曜日" -msgid "Wednesday" -msgstr "水曜日" -msgid "Thursday" -msgstr "木曜日" -msgid "Friday" -msgstr "金曜日" -msgid "Saturday" -msgstr "土曜日" -msgid "Jan" -msgstr "1月" -msgid "Feb" -msgstr "2月" -msgid "Mar" -msgstr "3月" -msgid "Apr" -msgstr "4月" -msgid "May" -msgstr "5月" -msgid "Jun" -msgstr "6月" -msgid "Jul" -msgstr "7月" -msgid "Aug" -msgstr "8月" -msgid "Sep" -msgstr "9月" -msgid "Oct" -msgstr "10月" -msgid "Nov" -msgstr "11月" -msgid "Dec" -msgstr "12月" -msgid "January" -msgstr "1月" -msgid "February" -msgstr "2月" -msgid "March" -msgstr "3月" -msgid "April" -msgstr "4月" -msgid "June" -msgstr "6月" -msgid "July" -msgstr "7月" -msgid "August" -msgstr "8月" -msgid "September" -msgstr "9月" -msgid "October" -msgstr "10月" -msgid "November" -msgstr "11月" -msgid "December" -msgstr "12月" -msgid "AM" -msgstr "午前" -msgid "PM" -msgstr "午後" -msgid "%a %b %e %T %Y" -msgstr "%Y年%m月%d日 %A %H時%M分%S秒" -msgid "%m/%d/%y" -msgstr "%Y年%m月%d日" -msgid "%H:%M:%S" -msgstr "%H時%M分%S秒" -msgid "%I:%M:%S %p" -msgstr "%p %I時%M分%S秒" -msgid "^[yY]" -msgstr "^[yYyYはハ]" -msgid "^[nN]" -msgstr "^[nNnNいイ]" -msgid "yes" -msgstr "はい" -msgid "no" -msgstr "いいえ" diff --git a/configs/locale/zh_CN b/configs/locale/zh_CN deleted file mode 100644 index 3361333c..00000000 --- a/configs/locale/zh_CN +++ /dev/null @@ -1,45 +0,0 @@ -# Derived from glibc localedata/locales/zh_CN. -# Source: https://raw.githubusercontent.com/bminor/glibc/04e750e75b73957cf1c791535a3f4319534a52fc/localedata/locales/zh_CN -# Only categories supported by musl's locale map format are retained. -LC_TIME -abday "日";"一";"二";"三";"四";"五";"六" -day "星期日";"星期一";"星期二";"星期三";"星期四";"星期五";"星期六" -abmon "1月";"2月";"3月";"4月";"5月";"6月";"7月";"8月";"9月";"10月";"11月";"12月" -mon "一月";"二月";"三月";"四月";"五月";"六月";"七月";"八月";"九月";"十月";"十一月";"十二月" -d_t_fmt "%Y年%m月%d日 %A %H时%M分%S秒" -d_fmt "%Y年%m月%d日" -t_fmt "%H时%M分%S秒" -am_pm "上午";"下午" -t_fmt_ampm "%p %I时%M分%S秒" -END LC_TIME - -LC_NUMERIC -decimal_point "." -thousands_sep "," -grouping 3 -END LC_NUMERIC - -LC_MONETARY -int_curr_symbol "CNY " -currency_symbol "¥" -mon_decimal_point "." -mon_thousands_sep "," -mon_grouping 3 -positive_sign "" -negative_sign "-" -int_frac_digits 2 -frac_digits 2 -p_cs_precedes 1 -p_sep_by_space 0 -n_cs_precedes 1 -n_sep_by_space 0 -p_sign_posn 4 -n_sign_posn 4 -END LC_MONETARY - -LC_MESSAGES -yesexpr "^[+1yY是]" -noexpr "^[-0nN不否]" -yesstr "是" -nostr "不是" -END LC_MESSAGES diff --git a/configs/locale/zh_CN.po b/configs/locale/zh_CN.po deleted file mode 100644 index f24ab5ee..00000000 --- a/configs/locale/zh_CN.po +++ /dev/null @@ -1,73 +0,0 @@ -msgid "" -msgstr "Project-Id-Version: ReliefOS musl locale\nPO-Revision-Date: 2026-09-21 00:00+0000\nLast-Translator: LeonOS\nLanguage-Team: Chinese\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nLanguage: zh_CN\n" - -msgid "Sun" -msgstr "日" -msgid "Mon" -msgstr "一" -msgid "Tue" -msgstr "二" -msgid "Wed" -msgstr "三" -msgid "Thu" -msgstr "四" -msgid "Fri" -msgstr "五" -msgid "Sat" -msgstr "六" -msgid "Sunday" -msgstr "星期日" -msgid "Monday" -msgstr "星期一" -msgid "Tuesday" -msgstr "星期二" -msgid "Wednesday" -msgstr "星期三" -msgid "Thursday" -msgstr "星期四" -msgid "Friday" -msgstr "星期五" -msgid "Saturday" -msgstr "星期六" -msgid "January" -msgstr "一月" -msgid "February" -msgstr "二月" -msgid "March" -msgstr "三月" -msgid "April" -msgstr "四月" -msgid "May" -msgstr "五月" -msgid "June" -msgstr "六月" -msgid "July" -msgstr "七月" -msgid "August" -msgstr "八月" -msgid "September" -msgstr "九月" -msgid "October" -msgstr "十月" -msgid "November" -msgstr "十一月" -msgid "December" -msgstr "十二月" -msgid "%a %b %e %T %Y" -msgstr "%a %b %e %T %Y" -msgid "%Y年%m月%d日 %A %H时%M分%S秒" -msgstr "%Y年%m月%d日 %A %H时%M分%S秒" -msgid "%Y年%m月%d日" -msgstr "%Y年%m月%d日" -msgid "%H时%M分%S秒" -msgstr "%H时%M分%S秒" -msgid "%m/%d/%y" -msgstr "%Y年%m月%d日" -msgid "%H:%M:%S" -msgstr "%H时%M分%S秒" -msgid "%I:%M:%S %p" -msgstr "%p %I时%M分%S秒" -msgid "AM" -msgstr "上午" -msgid "PM" -msgstr "下午" diff --git a/configs/nls/DOMAINS b/configs/nls/DOMAINS index d9095c3a..34134da8 100644 --- a/configs/nls/DOMAINS +++ b/configs/nls/DOMAINS @@ -7,17 +7,14 @@ fileman imageview installer leonmmcoset -login matrix +memtest minesweeper -motd network-controller -openrc-controller +service-controller osver paint -rcctl -reliefapk -reliefaskpass +reliefpackages reliefcapture reliefclipboard reliefdiagram @@ -30,8 +27,7 @@ reliefppt reliefsettings relieftodo reliefword -rprfetch -shell +smptest snake soundctl taskmgr diff --git a/configs/nls/messages/openrc-controller.c b/configs/nls/messages/openrc-controller.c deleted file mode 100644 index 2675bc3c..00000000 --- a/configs/nls/messages/openrc-controller.c +++ /dev/null @@ -1,42 +0,0 @@ -#define N_(s) (s) - -/* Strings supplied by shared code and dynamic application labels. */ -static const char *const openrc_controller_indirect_messages[] = { - N_("Advanced"), - N_("Authenticating"), - N_("Disable"), - N_("Enable"), - N_("failed"), -}; - -/* Static diagnostics cross an application boundary as untranslated data. */ -static const char *const openrc_controller_diagnostic_messages[] = { - N_("\nOpenRC status:\n"), - N_("\nOperation canceled. Check service state before retrying.\n"), - N_("\nOperation timed out after 180 seconds. Check service state before retrying.\n"), - N_("\nUnassigned services:\n"), - N_("Backup path is unsafe."), - N_("Cannot change runlevel: it may exist, be active, referenced, nonempty, or unsafe."), - N_("Cannot create command output pipe.\n"), - N_("Cannot create temporary configuration file."), - N_("Cannot open configuration (symbolic links are not allowed)."), - N_("Cannot read OpenRC services and runlevels.\n"), - N_("Cannot read service script.\n"), - N_("Configuration changed externally. Reload before saving."), - N_("Configuration changed while saving. Reload before saving."), - N_("Configuration directory is missing or unsafe."), - N_("Configuration is too large or contains NUL bytes."), - N_("Configuration lock is unsafe or another editor is saving. Retry after it finishes."), - N_("Configuration must be a safe, readable text file up to 256 KiB."), - N_("Configuration replaced, but directory synchronization failed. Check disk status."), - N_("Configuration saved. Previous contents: .openrc-controller.bak\n"), - N_("Configuration write or atomic replacement failed."), - N_("Invalid configuration path."), - N_("Invalid or unsupported OpenRC request."), - N_("Log is absent or cannot be read. Enable OpenRC rc_logger or the system logger if needed.\n"), - N_("NUL bytes are not allowed in a request."), - N_("No configuration backup is available."), - N_("OpenRC Controller diagnostics\n\nService membership:\n"), - N_("Runlevel updated.\n"), - N_("This request does not execute a command."), -}; diff --git a/configs/nls/messages/reliefapk.c b/configs/nls/messages/reliefapk.c deleted file mode 100644 index 0f5a4b5a..00000000 --- a/configs/nls/messages/reliefapk.c +++ /dev/null @@ -1,55 +0,0 @@ -#define N_(s) (s) - -/* Static diagnostics cross an application boundary as untranslated data. */ -static const char *const reliefapk_diagnostic_messages[] = { - N_("Invalid repository address or tag"), - N_("Invalid repository file"), - N_("JSON input exceeds limits"), - N_("JSON package object exceeds depth limit"), - N_("Open cache directory"), - N_("Open repositories"), - N_("Read repositories"), - N_("Replace repositories"), - N_("Repositories changed outside ReliefAPK. Reload before saving."), - N_("Repository configuration is too large"), - N_("Repository path too long"), - N_("Save backup"), - N_("Sync repositories directory"), - N_("The administrator cache and its parent directories must exist, be root-owned, and not be writable by other users."), - N_("The administrator cache must be an absolute directory."), - N_("action does not take targets"), - N_("action requires package targets"), - N_("certificate repair is unavailable"), - N_("certificate repair requires the fixed CA package and online mode"), - N_("control byte in JSON package object"), - N_("could not build command arguments"), - N_("could not prepare the certificate package operation"), - N_("expected JSON package array"), - N_("expected comma or end of package array"), - N_("expected package object"), - N_("fetch requires an output directory and package constraints"), - N_("invalid JSON package object structure"), - N_("invalid apk settings"), - N_("invalid native updater response"), - N_("invalid package constraint"), - N_("invalid package object"), - N_("key management is handled by the GUI"), - N_("metadata requires a package name"), - N_("out of memory"), - N_("out of memory while building package catalog"), - N_("owner requires one absolute file path"), - N_("package catalog exceeds limit"), - N_("package object exceeds limit"), - N_("simulation is not supported for this action"), - N_("system update requires a reviewed update plan"), - N_("system updates require online mode"), - N_("trailing comma in package array"), - N_("trailing data after JSON array"), - N_("truncated JSON package array"), - N_("truncated JSON package object"), - N_("unknown package query filter"), - N_("upgrade all does not take package targets"), - N_("verify requires absolute .apk paths"), - N_("verify requires local package files"), - N_("version comparison requires two version strings"), -}; diff --git a/configs/nls/messages/shell.c b/configs/nls/messages/shell.c deleted file mode 100644 index 88efe410..00000000 --- a/configs/nls/messages/shell.c +++ /dev/null @@ -1,13 +0,0 @@ -#define N_(text) text -static const char *const launch_messages[] = { - N_("Command line is empty"), - N_("Too many arguments"), - N_("Missing closing quote"), - N_("Program or path not found"), - N_("No file association for this item"), - N_("Invalid shortcut"), - N_("Shortcut loop detected"), - N_("Shortcut already exists"), - N_("Desktop is already running"), - N_("Launch failed"), -}; diff --git a/configs/nls/po/diskmgr/diskmgr.pot b/configs/nls/po/diskmgr/diskmgr.pot index c3a3669d..17ec3b5e 100644 --- a/configs/nls/po/diskmgr/diskmgr.pot +++ b/configs/nls/po/diskmgr/diskmgr.pot @@ -10,59 +10,55 @@ msgstr "" msgid " Read-only" msgstr "" -#: userland/apps/diskmgr/main.cpp:260 +#: userland/apps/diskmgr/main.cpp:261 msgid "A new partition will be created and formatted in free space." msgstr "" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/diskmgr/main.cpp:451 +#: userland/apps/diskmgr/main.cpp:425 msgid "Administrator" msgstr "" -#: userland/apps/diskmgr/main.cpp:327 -msgid "Administrator authentication" -msgstr "" - -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" -#: userland/apps/diskmgr/main.cpp:261 +#: userland/apps/diskmgr/main.cpp:262 msgid "All data on this partition will be erased." msgstr "" -#: userland/apps/diskmgr/main.cpp:221 +#: userland/apps/diskmgr/main.cpp:222 msgid "Apply" msgstr "" -#: userland/apps/diskmgr/main.cpp:342 -msgid "Authenticating; waiting for the administrator window…" +#: userland/apps/diskmgr/main.cpp:390 +msgid "Authorization canceled" msgstr "" -#: userland/apps/diskmgr/main.cpp:427 -msgid "Authentication or administrator startup failed. Check your password and sudo permission." +#: userland/apps/diskmgr/main.cpp:290 +msgid "Cancel" msgstr "" -#: userland/apps/diskmgr/main.cpp:288 -msgid "Cancel" +#: userland/apps/diskmgr/main.cpp:425 +msgid "Changes require administrator authorization" msgstr "" -#: userland/apps/diskmgr/main.cpp:241 +#: userland/apps/diskmgr/main.cpp:242 msgid "Click Confirm again to write these changes." msgstr "" -#: userland/apps/diskmgr/main.cpp:444 +#: userland/apps/diskmgr/main.cpp:418 msgid "Close" msgstr "" -#: userland/apps/diskmgr/main.cpp:243 +#: userland/apps/diskmgr/main.cpp:244 msgid "Confirm again" msgstr "" -#: userland/apps/diskmgr/main.cpp:242 +#: userland/apps/diskmgr/main.cpp:243 msgid "Confirmation word does not match" msgstr "" @@ -70,15 +66,15 @@ msgstr "" msgid "Could not decode image" msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" -#: userland/apps/diskmgr/main.cpp:464 +#: userland/apps/diskmgr/main.cpp:438 msgid "Create and format a partition in free space on an unmounted GPT disk." msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" @@ -86,7 +82,7 @@ msgstr "" msgid "Data" msgstr "" -#: userland/apps/diskmgr/main.cpp:466 +#: userland/apps/diskmgr/main.cpp:440 msgid "Delete a partition entry on an unmounted disk." msgstr "" @@ -94,19 +90,19 @@ msgstr "" msgid "Delete partition" msgstr "" -#: userland/apps/diskmgr/main.cpp:440 +#: userland/apps/diskmgr/main.cpp:414 msgid "Disk" msgstr "" -#: userland/apps/diskmgr/main.cpp:391 +#: userland/apps/diskmgr/main.cpp:368 msgid "Disk Manager" msgstr "" -#: userland/apps/diskmgr/main.cpp:411 +#: userland/apps/diskmgr/main.cpp:395 msgid "Disk list refreshed" msgstr "" -#: userland/apps/diskmgr/main.cpp:454 +#: userland/apps/diskmgr/main.cpp:428 msgid "Disks" msgstr "" @@ -114,23 +110,19 @@ msgstr "" msgid "EFI System" msgstr "" -#: userland/apps/diskmgr/main.cpp:228 +#: userland/apps/diskmgr/main.cpp:229 msgid "Enter a valid size in MiB" msgstr "" -#: userland/apps/diskmgr/main.cpp:329 -msgid "Enter your sudo password to open Disk Manager as administrator." -msgstr "" - -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" @@ -138,7 +130,7 @@ msgstr "" msgid "Filesystem" msgstr "" -#: userland/apps/diskmgr/main.cpp:275 +#: userland/apps/diskmgr/main.cpp:276 msgid "Filesystem:" msgstr "" @@ -146,7 +138,7 @@ msgstr "" msgid "Format" msgstr "" -#: userland/apps/diskmgr/main.cpp:465 +#: userland/apps/diskmgr/main.cpp:439 msgid "Format the selected unmounted partition. This erases its data." msgstr "" @@ -158,7 +150,11 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/diskmgr/main.cpp:416 +msgid "Inspect disks…" +msgstr "" + +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" @@ -166,7 +162,7 @@ msgstr "" msgid "Mount" msgstr "" -#: userland/apps/diskmgr/main.cpp:467 +#: userland/apps/diskmgr/main.cpp:441 msgid "Mount the selected filesystem below /mnt." msgstr "" @@ -182,11 +178,11 @@ msgstr "" msgid "Name" msgstr "" -#: userland/apps/diskmgr/main.cpp:270 +#: userland/apps/diskmgr/main.cpp:271 msgid "Name:" msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" @@ -194,7 +190,7 @@ msgstr "" msgid "New partition" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" @@ -202,59 +198,47 @@ msgstr "" msgid "No disk selected" msgstr "" -#: userland/apps/diskmgr/main.cpp:409 -msgid "No readable disks found. Open as administrator if access is restricted." +#: userland/apps/diskmgr/main.cpp:393 +msgid "No readable disks found. Use Inspect disks to request access." msgstr "" #: userland/apps/diskmgr/main.cpp:138 msgid "Not mounted" msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" -#: userland/apps/diskmgr/main.cpp:332 -msgid "Open" -msgstr "" - -#: userland/apps/diskmgr/main.cpp:442 -msgid "Open as administrator…" -msgstr "" - #: userland/apps/diskmgr/main.cpp:99 msgid "Partition" msgstr "" -#: userland/apps/diskmgr/main.cpp:411 +#: userland/apps/diskmgr/main.cpp:395 msgid "Partition created and formatted" msgstr "" -#: userland/apps/diskmgr/main.cpp:412 +#: userland/apps/diskmgr/main.cpp:396 msgid "Partition entry deleted" msgstr "" -#: userland/apps/diskmgr/main.cpp:412 +#: userland/apps/diskmgr/main.cpp:396 msgid "Partition formatted" msgstr "" -#: userland/apps/diskmgr/main.cpp:413 +#: userland/apps/diskmgr/main.cpp:397 msgid "Partition mounted" msgstr "" -#: userland/apps/diskmgr/main.cpp:413 +#: userland/apps/diskmgr/main.cpp:397 msgid "Partition unmounted" msgstr "" -#: userland/apps/diskmgr/main.cpp:331 -msgid "Password:" -msgstr "" - -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" @@ -262,15 +246,11 @@ msgstr "" msgid "Read-only" msgstr "" -#: userland/apps/diskmgr/main.cpp:451 -msgid "Read-only view · administrator required for changes" -msgstr "" - #: userland/apps/diskmgr/main.cpp:52 msgid "Refresh" msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" @@ -282,11 +262,11 @@ msgstr "" msgid "Select a partition to see its identity and mount status." msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" @@ -294,7 +274,7 @@ msgstr "" msgid "Size" msgstr "" -#: userland/apps/diskmgr/main.cpp:267 +#: userland/apps/diskmgr/main.cpp:268 msgid "Size (MiB):" msgstr "" @@ -306,15 +286,15 @@ msgstr "" msgid "System partition" msgstr "" -#: userland/apps/diskmgr/main.cpp:258 +#: userland/apps/diskmgr/main.cpp:259 msgid "Target" msgstr "" -#: userland/apps/diskmgr/main.cpp:262 +#: userland/apps/diskmgr/main.cpp:263 msgid "The partition entry will be removed. Its files will become inaccessible." msgstr "" -#: userland/apps/diskmgr/main.cpp:231 +#: userland/apps/diskmgr/main.cpp:232 msgid "The partition name is too long." msgstr "" @@ -322,7 +302,7 @@ msgstr "" msgid "The partition was created, but formatting failed." msgstr "" -#: userland/apps/diskmgr/main.cpp:281 +#: userland/apps/diskmgr/main.cpp:283 msgid "Type %s to confirm:" msgstr "" @@ -334,15 +314,15 @@ msgstr "" msgid "Unmount" msgstr "" -#: userland/apps/diskmgr/main.cpp:468 +#: userland/apps/diskmgr/main.cpp:442 msgid "Unmount the selected filesystem from its actual mount point." msgstr "" -#: userland/apps/diskmgr/main.cpp:368 +#: userland/apps/diskmgr/main.cpp:345 msgid "Wait for the current operation to finish before closing." msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" diff --git a/configs/nls/po/diskmgr/ja_JP.po b/configs/nls/po/diskmgr/ja_JP.po index 675d7b4a..39827e5d 100644 --- a/configs/nls/po/diskmgr/ja_JP.po +++ b/configs/nls/po/diskmgr/ja_JP.po @@ -1,14 +1,18 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:44+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" #: userland/apps/diskmgr/main.cpp:165 msgid " Contains mounted partitions" @@ -18,59 +22,55 @@ msgstr " マウントされたパーティションを含む" msgid " Read-only" msgstr " 読み取り専用" -#: userland/apps/diskmgr/main.cpp:260 +#: userland/apps/diskmgr/main.cpp:261 msgid "A new partition will be created and formatted in free space." msgstr "空き領域に新しいパーティションを作成し、フォーマットします。" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/diskmgr/main.cpp:451 +#: userland/apps/diskmgr/main.cpp:425 msgid "Administrator" msgstr "管理者" -#: userland/apps/diskmgr/main.cpp:327 -msgid "Administrator authentication" -msgstr "管理者認証" - -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" -#: userland/apps/diskmgr/main.cpp:261 +#: userland/apps/diskmgr/main.cpp:262 msgid "All data on this partition will be erased." msgstr "このパーティションのすべてのデータが消去されます。" -#: userland/apps/diskmgr/main.cpp:221 +#: userland/apps/diskmgr/main.cpp:222 msgid "Apply" msgstr "適用" -#: userland/apps/diskmgr/main.cpp:342 -msgid "Authenticating; waiting for the administrator window…" -msgstr "認証中です。管理者ウィンドウを待っています…" +#: userland/apps/diskmgr/main.cpp:390 +msgid "Authorization canceled" +msgstr "認証がキャンセルされました" -#: userland/apps/diskmgr/main.cpp:427 -msgid "Authentication or administrator startup failed. Check your password and sudo permission." -msgstr "認証または管理者としての起動に失敗しました。パスワードと sudo 権限を確認してください。" - -#: userland/apps/diskmgr/main.cpp:288 +#: userland/apps/diskmgr/main.cpp:290 msgid "Cancel" msgstr "キャンセル" -#: userland/apps/diskmgr/main.cpp:241 +#: userland/apps/diskmgr/main.cpp:425 +msgid "Changes require administrator authorization" +msgstr "変更には管理者の認証が必要です" + +#: userland/apps/diskmgr/main.cpp:242 msgid "Click Confirm again to write these changes." msgstr "変更を書き込むには、もう一度「確認」をクリックしてください。" -#: userland/apps/diskmgr/main.cpp:444 +#: userland/apps/diskmgr/main.cpp:418 msgid "Close" msgstr "閉じる" -#: userland/apps/diskmgr/main.cpp:243 +#: userland/apps/diskmgr/main.cpp:244 msgid "Confirm again" msgstr "もう一度確認" -#: userland/apps/diskmgr/main.cpp:242 +#: userland/apps/diskmgr/main.cpp:243 msgid "Confirmation word does not match" msgstr "確認用の文字列が一致しません" @@ -78,15 +78,15 @@ msgstr "確認用の文字列が一致しません" msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/diskmgr/main.cpp:464 +#: userland/apps/diskmgr/main.cpp:438 msgid "Create and format a partition in free space on an unmounted GPT disk." msgstr "マウントされていない GPT ディスクの空き領域にパーティションを作成してフォーマットします。" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" @@ -94,7 +94,7 @@ msgstr "カスタムフィルター" msgid "Data" msgstr "データ" -#: userland/apps/diskmgr/main.cpp:466 +#: userland/apps/diskmgr/main.cpp:440 msgid "Delete a partition entry on an unmounted disk." msgstr "マウントされていないディスクのパーティション項目を削除します。" @@ -102,19 +102,19 @@ msgstr "マウントされていないディスクのパーティション項目 msgid "Delete partition" msgstr "パーティションを削除" -#: userland/apps/diskmgr/main.cpp:440 +#: userland/apps/diskmgr/main.cpp:414 msgid "Disk" msgstr "ディスク" -#: userland/apps/diskmgr/main.cpp:391 +#: userland/apps/diskmgr/main.cpp:368 msgid "Disk Manager" msgstr "ディスクマネージャー" -#: userland/apps/diskmgr/main.cpp:411 +#: userland/apps/diskmgr/main.cpp:395 msgid "Disk list refreshed" msgstr "ディスク一覧を更新しました" -#: userland/apps/diskmgr/main.cpp:454 +#: userland/apps/diskmgr/main.cpp:428 msgid "Disks" msgstr "ディスク" @@ -122,23 +122,19 @@ msgstr "ディスク" msgid "EFI System" msgstr "EFI システム" -#: userland/apps/diskmgr/main.cpp:228 +#: userland/apps/diskmgr/main.cpp:229 msgid "Enter a valid size in MiB" msgstr "有効なサイズを MiB 単位で入力してください" -#: userland/apps/diskmgr/main.cpp:329 -msgid "Enter your sudo password to open Disk Manager as administrator." -msgstr "ディスクマネージャーを管理者として開くには sudo パスワードを入力してください。" - -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" @@ -146,7 +142,7 @@ msgstr "ファイル名:" msgid "Filesystem" msgstr "ファイルシステム" -#: userland/apps/diskmgr/main.cpp:275 +#: userland/apps/diskmgr/main.cpp:276 msgid "Filesystem:" msgstr "ファイルシステム:" @@ -154,7 +150,7 @@ msgstr "ファイルシステム:" msgid "Format" msgstr "フォーマット" -#: userland/apps/diskmgr/main.cpp:465 +#: userland/apps/diskmgr/main.cpp:439 msgid "Format the selected unmounted partition. This erases its data." msgstr "選択したマウントされていないパーティションをフォーマットします。データは消去されます。" @@ -166,7 +162,11 @@ msgstr "GPT の種類" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/fltk_support.h:55 +#: userland/apps/diskmgr/main.cpp:416 +msgid "Inspect disks…" +msgstr "ディスクを調査…" + +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" @@ -174,7 +174,7 @@ msgstr "お気に入りの管理" msgid "Mount" msgstr "マウント" -#: userland/apps/diskmgr/main.cpp:467 +#: userland/apps/diskmgr/main.cpp:441 msgid "Mount the selected filesystem below /mnt." msgstr "選択したファイルシステムを /mnt 以下にマウントします。" @@ -190,11 +190,11 @@ msgstr "マウント先" msgid "Name" msgstr "名前" -#: userland/apps/diskmgr/main.cpp:270 +#: userland/apps/diskmgr/main.cpp:271 msgid "Name:" msgstr "名前:" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" @@ -202,7 +202,7 @@ msgstr "新しいフォルダーを作成しますか?" msgid "New partition" msgstr "新しいパーティション" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" @@ -210,59 +210,47 @@ msgstr "いいえ" msgid "No disk selected" msgstr "ディスクが選択されていません" -#: userland/apps/diskmgr/main.cpp:409 -msgid "No readable disks found. Open as administrator if access is restricted." -msgstr "読み取り可能なディスクが見つかりません。アクセスが制限されている場合は管理者として開いてください。" +#: userland/apps/diskmgr/main.cpp:393 +msgid "No readable disks found. Use Inspect disks to request access." +msgstr "読み取り可能なディスクが見つかりません。「ディスクを調査」でアクセスを要求してください。" #: userland/apps/diskmgr/main.cpp:138 msgid "Not mounted" msgstr "未マウント" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" -#: userland/apps/diskmgr/main.cpp:332 -msgid "Open" -msgstr "開く" - -#: userland/apps/diskmgr/main.cpp:442 -msgid "Open as administrator…" -msgstr "管理者として開く…" - #: userland/apps/diskmgr/main.cpp:99 msgid "Partition" msgstr "パーティション" -#: userland/apps/diskmgr/main.cpp:411 +#: userland/apps/diskmgr/main.cpp:395 msgid "Partition created and formatted" msgstr "パーティションを作成してフォーマットしました" -#: userland/apps/diskmgr/main.cpp:412 +#: userland/apps/diskmgr/main.cpp:396 msgid "Partition entry deleted" msgstr "パーティション項目を削除しました" -#: userland/apps/diskmgr/main.cpp:412 +#: userland/apps/diskmgr/main.cpp:396 msgid "Partition formatted" msgstr "パーティションをフォーマットしました" -#: userland/apps/diskmgr/main.cpp:413 +#: userland/apps/diskmgr/main.cpp:397 msgid "Partition mounted" msgstr "パーティションをマウントしました" -#: userland/apps/diskmgr/main.cpp:413 +#: userland/apps/diskmgr/main.cpp:397 msgid "Partition unmounted" msgstr "パーティションをアンマウントしました" -#: userland/apps/diskmgr/main.cpp:331 -msgid "Password:" -msgstr "パスワード:" - -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" @@ -270,15 +258,11 @@ msgstr "プレビュー" msgid "Read-only" msgstr "読み取り専用" -#: userland/apps/diskmgr/main.cpp:451 -msgid "Read-only view · administrator required for changes" -msgstr "読み取り専用表示 · 変更には管理者権限が必要" - #: userland/apps/diskmgr/main.cpp:52 msgid "Refresh" msgstr "更新" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -290,11 +274,11 @@ msgstr "セクター" msgid "Select a partition to see its identity and mount status." msgstr "識別情報とマウント状態を表示するパーティションを選択してください。" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" @@ -302,7 +286,7 @@ msgstr "表示:" msgid "Size" msgstr "サイズ" -#: userland/apps/diskmgr/main.cpp:267 +#: userland/apps/diskmgr/main.cpp:268 msgid "Size (MiB):" msgstr "サイズ (MiB):" @@ -314,15 +298,15 @@ msgstr "状態" msgid "System partition" msgstr "システムパーティション" -#: userland/apps/diskmgr/main.cpp:258 +#: userland/apps/diskmgr/main.cpp:259 msgid "Target" msgstr "対象" -#: userland/apps/diskmgr/main.cpp:262 +#: userland/apps/diskmgr/main.cpp:263 msgid "The partition entry will be removed. Its files will become inaccessible." msgstr "パーティション項目が削除され、そのファイルにアクセスできなくなります。" -#: userland/apps/diskmgr/main.cpp:231 +#: userland/apps/diskmgr/main.cpp:232 msgid "The partition name is too long." msgstr "パーティション名が長すぎます。" @@ -330,7 +314,8 @@ msgstr "パーティション名が長すぎます。" msgid "The partition was created, but formatting failed." msgstr "パーティションは作成されましたが、フォーマットに失敗しました。" -#: userland/apps/diskmgr/main.cpp:281 +#: userland/apps/diskmgr/main.cpp:283 +#, python-format msgid "Type %s to confirm:" msgstr "確認のため %s と入力してください:" @@ -342,15 +327,15 @@ msgstr "不明" msgid "Unmount" msgstr "アンマウント" -#: userland/apps/diskmgr/main.cpp:468 +#: userland/apps/diskmgr/main.cpp:442 msgid "Unmount the selected filesystem from its actual mount point." msgstr "選択したファイルシステムを実際のマウントポイントからアンマウントします。" -#: userland/apps/diskmgr/main.cpp:368 +#: userland/apps/diskmgr/main.cpp:345 msgid "Wait for the current operation to finish before closing." msgstr "閉じる前に現在の操作が完了するまでお待ちください。" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" diff --git a/configs/nls/po/diskmgr/zh_CN.po b/configs/nls/po/diskmgr/zh_CN.po index f31e9401..6011080e 100644 --- a/configs/nls/po/diskmgr/zh_CN.po +++ b/configs/nls/po/diskmgr/zh_CN.po @@ -1,14 +1,18 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:44+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" "Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" #: userland/apps/diskmgr/main.cpp:165 msgid " Contains mounted partitions" @@ -18,59 +22,55 @@ msgstr " 含有已挂载分区" msgid " Read-only" msgstr " 只读" -#: userland/apps/diskmgr/main.cpp:260 +#: userland/apps/diskmgr/main.cpp:261 msgid "A new partition will be created and formatted in free space." msgstr "将在空闲空间创建并格式化新分区。" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/diskmgr/main.cpp:451 +#: userland/apps/diskmgr/main.cpp:425 msgid "Administrator" msgstr "管理员" -#: userland/apps/diskmgr/main.cpp:327 -msgid "Administrator authentication" -msgstr "管理员身份验证" - -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" -#: userland/apps/diskmgr/main.cpp:261 +#: userland/apps/diskmgr/main.cpp:262 msgid "All data on this partition will be erased." msgstr "此分区上的全部数据将被清除。" -#: userland/apps/diskmgr/main.cpp:221 +#: userland/apps/diskmgr/main.cpp:222 msgid "Apply" msgstr "应用" -#: userland/apps/diskmgr/main.cpp:342 -msgid "Authenticating; waiting for the administrator window…" -msgstr "正在验证身份,等待管理员窗口启动…" +#: userland/apps/diskmgr/main.cpp:390 +msgid "Authorization canceled" +msgstr "授权已取消" -#: userland/apps/diskmgr/main.cpp:427 -msgid "Authentication or administrator startup failed. Check your password and sudo permission." -msgstr "身份验证或管理员窗口启动失败,请检查密码和 sudo 权限。" - -#: userland/apps/diskmgr/main.cpp:288 +#: userland/apps/diskmgr/main.cpp:290 msgid "Cancel" msgstr "取消" -#: userland/apps/diskmgr/main.cpp:241 +#: userland/apps/diskmgr/main.cpp:425 +msgid "Changes require administrator authorization" +msgstr "更改需要管理员授权" + +#: userland/apps/diskmgr/main.cpp:242 msgid "Click Confirm again to write these changes." msgstr "再次点击“确认执行”,才会将更改写入磁盘。" -#: userland/apps/diskmgr/main.cpp:444 +#: userland/apps/diskmgr/main.cpp:418 msgid "Close" msgstr "关闭" -#: userland/apps/diskmgr/main.cpp:243 +#: userland/apps/diskmgr/main.cpp:244 msgid "Confirm again" msgstr "确认执行" -#: userland/apps/diskmgr/main.cpp:242 +#: userland/apps/diskmgr/main.cpp:243 msgid "Confirmation word does not match" msgstr "确认词不匹配" @@ -78,15 +78,15 @@ msgstr "确认词不匹配" msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/diskmgr/main.cpp:464 +#: userland/apps/diskmgr/main.cpp:438 msgid "Create and format a partition in free space on an unmounted GPT disk." msgstr "在未挂载的 GPT 磁盘空闲空间中创建并格式化分区。" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" @@ -94,7 +94,7 @@ msgstr "自定义筛选器" msgid "Data" msgstr "数据" -#: userland/apps/diskmgr/main.cpp:466 +#: userland/apps/diskmgr/main.cpp:440 msgid "Delete a partition entry on an unmounted disk." msgstr "删除未挂载磁盘上的分区表项。" @@ -102,19 +102,19 @@ msgstr "删除未挂载磁盘上的分区表项。" msgid "Delete partition" msgstr "删除分区" -#: userland/apps/diskmgr/main.cpp:440 +#: userland/apps/diskmgr/main.cpp:414 msgid "Disk" msgstr "硬盘" -#: userland/apps/diskmgr/main.cpp:391 +#: userland/apps/diskmgr/main.cpp:368 msgid "Disk Manager" msgstr "磁盘管理器" -#: userland/apps/diskmgr/main.cpp:411 +#: userland/apps/diskmgr/main.cpp:395 msgid "Disk list refreshed" msgstr "磁盘列表已刷新" -#: userland/apps/diskmgr/main.cpp:454 +#: userland/apps/diskmgr/main.cpp:428 msgid "Disks" msgstr "磁盘" @@ -122,23 +122,19 @@ msgstr "磁盘" msgid "EFI System" msgstr "EFI 系统分区" -#: userland/apps/diskmgr/main.cpp:228 +#: userland/apps/diskmgr/main.cpp:229 msgid "Enter a valid size in MiB" msgstr "请输入有效的 MiB 大小" -#: userland/apps/diskmgr/main.cpp:329 -msgid "Enter your sudo password to open Disk Manager as administrator." -msgstr "输入你的 sudo 密码,以管理员身份打开磁盘管理器。" - -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" @@ -146,7 +142,7 @@ msgstr "文件名:" msgid "Filesystem" msgstr "文件系统" -#: userland/apps/diskmgr/main.cpp:275 +#: userland/apps/diskmgr/main.cpp:276 msgid "Filesystem:" msgstr "文件系统:" @@ -154,7 +150,7 @@ msgstr "文件系统:" msgid "Format" msgstr "格式" -#: userland/apps/diskmgr/main.cpp:465 +#: userland/apps/diskmgr/main.cpp:439 msgid "Format the selected unmounted partition. This erases its data." msgstr "格式化选中的未挂载分区,将清除其中的数据。" @@ -166,7 +162,11 @@ msgstr "GPT 类型" msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/fltk_support.h:55 +#: userland/apps/diskmgr/main.cpp:416 +msgid "Inspect disks…" +msgstr "检查磁盘…" + +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" @@ -174,7 +174,7 @@ msgstr "管理收藏夹" msgid "Mount" msgstr "挂载" -#: userland/apps/diskmgr/main.cpp:467 +#: userland/apps/diskmgr/main.cpp:441 msgid "Mount the selected filesystem below /mnt." msgstr "将选中的文件系统挂载到 /mnt 下。" @@ -190,11 +190,11 @@ msgstr "挂载位置" msgid "Name" msgstr "名称" -#: userland/apps/diskmgr/main.cpp:270 +#: userland/apps/diskmgr/main.cpp:271 msgid "Name:" msgstr "名称:" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" @@ -202,7 +202,7 @@ msgstr "新建目录?" msgid "New partition" msgstr "新建分区" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" @@ -210,59 +210,47 @@ msgstr "否" msgid "No disk selected" msgstr "未选择磁盘" -#: userland/apps/diskmgr/main.cpp:409 -msgid "No readable disks found. Open as administrator if access is restricted." -msgstr "未找到可读取的磁盘;若访问受限,请以管理员身份打开。" +#: userland/apps/diskmgr/main.cpp:393 +msgid "No readable disks found. Use Inspect disks to request access." +msgstr "未发现可读取的磁盘。使用“检查磁盘”请求访问权限。" #: userland/apps/diskmgr/main.cpp:138 msgid "Not mounted" msgstr "未挂载" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" -#: userland/apps/diskmgr/main.cpp:332 -msgid "Open" -msgstr "打开" - -#: userland/apps/diskmgr/main.cpp:442 -msgid "Open as administrator…" -msgstr "以管理员身份打开…" - #: userland/apps/diskmgr/main.cpp:99 msgid "Partition" msgstr "分区" -#: userland/apps/diskmgr/main.cpp:411 +#: userland/apps/diskmgr/main.cpp:395 msgid "Partition created and formatted" msgstr "分区已创建并格式化" -#: userland/apps/diskmgr/main.cpp:412 +#: userland/apps/diskmgr/main.cpp:396 msgid "Partition entry deleted" msgstr "分区条目已删除" -#: userland/apps/diskmgr/main.cpp:412 +#: userland/apps/diskmgr/main.cpp:396 msgid "Partition formatted" msgstr "分区格式化完成" -#: userland/apps/diskmgr/main.cpp:413 +#: userland/apps/diskmgr/main.cpp:397 msgid "Partition mounted" msgstr "分区已挂载" -#: userland/apps/diskmgr/main.cpp:413 +#: userland/apps/diskmgr/main.cpp:397 msgid "Partition unmounted" msgstr "分区已卸载" -#: userland/apps/diskmgr/main.cpp:331 -msgid "Password:" -msgstr "密码:" - -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" @@ -270,15 +258,11 @@ msgstr "预览" msgid "Read-only" msgstr "只读" -#: userland/apps/diskmgr/main.cpp:451 -msgid "Read-only view · administrator required for changes" -msgstr "只读浏览 · 修改磁盘需要管理员权限" - #: userland/apps/diskmgr/main.cpp:52 msgid "Refresh" msgstr "刷新" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -290,11 +274,11 @@ msgstr "扇区范围" msgid "Select a partition to see its identity and mount status." msgstr "选择一个分区,查看其身份和挂载状态。" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" @@ -302,7 +286,7 @@ msgstr "显示:" msgid "Size" msgstr "大小" -#: userland/apps/diskmgr/main.cpp:267 +#: userland/apps/diskmgr/main.cpp:268 msgid "Size (MiB):" msgstr "容量(MiB):" @@ -314,15 +298,15 @@ msgstr "状态" msgid "System partition" msgstr "系统分区" -#: userland/apps/diskmgr/main.cpp:258 +#: userland/apps/diskmgr/main.cpp:259 msgid "Target" msgstr "目标" -#: userland/apps/diskmgr/main.cpp:262 +#: userland/apps/diskmgr/main.cpp:263 msgid "The partition entry will be removed. Its files will become inaccessible." msgstr "将删除分区表项,分区内的文件将无法访问。" -#: userland/apps/diskmgr/main.cpp:231 +#: userland/apps/diskmgr/main.cpp:232 msgid "The partition name is too long." msgstr "分区名称过长。" @@ -330,8 +314,8 @@ msgstr "分区名称过长。" msgid "The partition was created, but formatting failed." msgstr "分区已创建,但格式化失败,请检查当前分区状态。" -#: userland/apps/diskmgr/main.cpp:281 -#, c-format +#: userland/apps/diskmgr/main.cpp:283 +#, c-format, python-format msgid "Type %s to confirm:" msgstr "输入 %s 确认:" @@ -343,15 +327,15 @@ msgstr "未知" msgid "Unmount" msgstr "卸载" -#: userland/apps/diskmgr/main.cpp:468 +#: userland/apps/diskmgr/main.cpp:442 msgid "Unmount the selected filesystem from its actual mount point." msgstr "从实际挂载位置卸载选中的文件系统。" -#: userland/apps/diskmgr/main.cpp:368 +#: userland/apps/diskmgr/main.cpp:345 msgid "Wait for the current operation to finish before closing." msgstr "请等待当前操作完成后再关闭窗口。" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" diff --git a/configs/nls/po/doom/doom.pot b/configs/nls/po/doom/doom.pot index 3d06f8ee..3c5c5b2f 100644 --- a/configs/nls/po/doom/doom.pot +++ b/configs/nls/po/doom/doom.pot @@ -2,19 +2,19 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "" @@ -22,23 +22,23 @@ msgstr "" msgid "Could not decode image" msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" @@ -46,42 +46,42 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" diff --git a/configs/nls/po/doom/ja_JP.po b/configs/nls/po/doom/ja_JP.po index 84d36e74..74038d0d 100644 --- a/configs/nls/po/doom/ja_JP.po +++ b/configs/nls/po/doom/ja_JP.po @@ -1,28 +1,32 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "閉じる" @@ -30,23 +34,23 @@ msgstr "閉じる" msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" @@ -54,42 +58,42 @@ msgstr "ファイル名:" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" diff --git a/configs/nls/po/doom/zh_CN.po b/configs/nls/po/doom/zh_CN.po index d087e51f..ca89db17 100644 --- a/configs/nls/po/doom/zh_CN.po +++ b/configs/nls/po/doom/zh_CN.po @@ -1,28 +1,32 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" "Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "关闭" @@ -30,23 +34,23 @@ msgstr "关闭" msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" @@ -54,42 +58,42 @@ msgstr "文件名:" msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" diff --git a/configs/nls/po/doomlauncher/doomlauncher.pot b/configs/nls/po/doomlauncher/doomlauncher.pot index 3b14fd9d..bde3282a 100644 --- a/configs/nls/po/doomlauncher/doomlauncher.pot +++ b/configs/nls/po/doomlauncher/doomlauncher.pot @@ -2,11 +2,11 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" @@ -18,11 +18,11 @@ msgstr "" msgid "Arguments are empty" msgstr "" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "" @@ -30,11 +30,11 @@ msgstr "" msgid "Could not decode image" msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" @@ -58,15 +58,15 @@ msgstr "" msgid "Extra DOOM arguments" msgstr "" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" @@ -90,7 +90,7 @@ msgstr "" msgid "Launch failed: " msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" @@ -98,23 +98,23 @@ msgstr "" msgid "Missing closing quote" msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" @@ -126,7 +126,7 @@ msgstr "" msgid "Reset" msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" @@ -134,11 +134,11 @@ msgstr "" msgid "Settings reset" msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" @@ -150,6 +150,6 @@ msgstr "" msgid "Too many arguments" msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" diff --git a/configs/nls/po/doomlauncher/ja_JP.po b/configs/nls/po/doomlauncher/ja_JP.po index a682d1cb..fe4194bf 100644 --- a/configs/nls/po/doomlauncher/ja_JP.po +++ b/configs/nls/po/doomlauncher/ja_JP.po @@ -1,20 +1,24 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" @@ -26,11 +30,11 @@ msgstr "IWAD のパスが必要です" msgid "Arguments are empty" msgstr "引数が空です" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "閉じる" @@ -38,11 +42,11 @@ msgstr "閉じる" msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" @@ -66,15 +70,15 @@ msgstr "サウンドを無効にする" msgid "Extra DOOM arguments" msgstr "DOOM の追加引数" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" @@ -98,7 +102,7 @@ msgstr "起動" msgid "Launch failed: " msgstr "起動に失敗しました: " -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" @@ -106,23 +110,23 @@ msgstr "お気に入りの管理" msgid "Missing closing quote" msgstr "閉じる引用符がありません" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" @@ -134,7 +138,7 @@ msgstr "準備完了" msgid "Reset" msgstr "リセット" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -142,11 +146,11 @@ msgstr "保存" msgid "Settings reset" msgstr "設定をリセットしました" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" @@ -158,6 +162,6 @@ msgstr "DOOM を起動中です。ゲームウィンドウに読み込み状況 msgid "Too many arguments" msgstr "引数が多すぎます" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" diff --git a/configs/nls/po/doomlauncher/zh_CN.po b/configs/nls/po/doomlauncher/zh_CN.po index 31c83f4b..c2115e3d 100644 --- a/configs/nls/po/doomlauncher/zh_CN.po +++ b/configs/nls/po/doomlauncher/zh_CN.po @@ -1,20 +1,24 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" "Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" @@ -26,11 +30,11 @@ msgstr "需要指定 IWAD 路径" msgid "Arguments are empty" msgstr "启动参数为空" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "关闭" @@ -38,11 +42,11 @@ msgstr "关闭" msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" @@ -66,15 +70,15 @@ msgstr "禁用声音" msgid "Extra DOOM arguments" msgstr "附加 DOOM 参数" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" @@ -98,7 +102,7 @@ msgstr "启动" msgid "Launch failed: " msgstr "启动失败: " -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" @@ -106,23 +110,23 @@ msgstr "管理收藏夹" msgid "Missing closing quote" msgstr "缺少闭合引号" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" @@ -134,7 +138,7 @@ msgstr "就绪" msgid "Reset" msgstr "重置" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -142,11 +146,11 @@ msgstr "保存" msgid "Settings reset" msgstr "设置已重置" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" @@ -158,6 +162,6 @@ msgstr "正在启动 DOOM: 游戏窗口将显示加载进度" msgid "Too many arguments" msgstr "启动参数过多" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" diff --git a/configs/nls/po/driverinfo/driverinfo.pot b/configs/nls/po/driverinfo/driverinfo.pot index a8c7bf69..8ff260c7 100644 --- a/configs/nls/po/driverinfo/driverinfo.pot +++ b/configs/nls/po/driverinfo/driverinfo.pot @@ -2,182 +2,26 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/driverinfo/main.c:161 -msgid " ABI: %u Version: %u\n" +#: userland/apps/driverinfo/main.c:36 +msgid " (none)" msgstr "" -#: userland/apps/driverinfo/main.c:168 -msgid " Error: %s\n" +#: userland/apps/driverinfo/main.c:45 +msgid "Kernel module inventory:" msgstr "" -#: userland/apps/driverinfo/main.c:113 -msgid " Flags:" +#: userland/apps/driverinfo/main.c:23 +msgid "Loaded kernel modules:" msgstr "" -#: userland/apps/driverinfo/main.c:151 -msgid " ID: %u\n" +#: userland/apps/driverinfo/main.c:91 +msgid "PCI devices:" msgstr "" -#: userland/apps/driverinfo/main.c:164 -msgid " Image size: %llu bytes\n" +#: userland/apps/driverinfo/main.c:136 +msgid "Usage: driverinfo [-a|--all]" msgstr "" -#: userland/apps/driverinfo/main.c:156 -msgid " Kind: %s\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:158 -msgid " Kind: Unknown (%u)\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:162 -msgid " Load address: 0x%llx\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:152 -msgid " State: %s\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:239 -msgid " (none)\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:304 -msgid " -a, --all show disabled, failed and inactive entries too\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:115 -msgid " built-in" -msgstr "" - -#: userland/apps/driverinfo/main.c:127 -msgid " none" -msgstr "" - -#: userland/apps/driverinfo/main.c:146 -msgid "(no description)" -msgstr "" - -#: userland/apps/driverinfo/main.c:142 -msgid "(unnamed)" -msgstr "" - -#: userland/apps/driverinfo/main.c:72 -msgid "Audio" -msgstr "" - -#: userland/apps/driverinfo/main.c:237 -msgid "Devices (%u):\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:54 -msgid "Disabled" -msgstr "" - -#: userland/apps/driverinfo/main.c:86 -msgid "Display" -msgstr "" - -#: userland/apps/driverinfo/main.c:333 -msgid "Drivers (%u):\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:56 -msgid "Failed" -msgstr "" - -#: userland/apps/driverinfo/main.c:66 -msgid "Input" -msgstr "" - -#: userland/apps/driverinfo/main.c:52 -msgid "Loaded" -msgstr "" - -#: userland/apps/driverinfo/main.c:50 -msgid "Loading" -msgstr "" - -#: userland/apps/driverinfo/main.c:331 -msgid "Mode: %s\n\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:70 -msgid "Network" -msgstr "" - -#: userland/apps/driverinfo/main.c:96 -msgid "Other" -msgstr "" - -#: userland/apps/driverinfo/main.c:329 -msgid "ReliefOS active drivers\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:68 -msgid "Serial" -msgstr "" - -#: userland/apps/driverinfo/main.c:88 -msgid "Storage" -msgstr "" - -#: userland/apps/driverinfo/main.c:94 -msgid "System" -msgstr "" - -#: userland/apps/driverinfo/main.c:222 -msgid "Unknown" -msgstr "" - -#: userland/apps/driverinfo/main.c:58 -msgid "Unloaded" -msgstr "" - -#: userland/apps/driverinfo/main.c:303 -msgid "Usage: driverinfo [-a|--all]\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:345 -msgid "\nSummary: %u %s, %u %s\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:332 -msgid "active drivers and devices" -msgstr "" - -#: userland/apps/driverinfo/main.c:331 -msgid "all driver and device states" -msgstr "" - -#: userland/apps/driverinfo/main.c:119 -msgid "autostart" -msgstr "" - -#: userland/apps/driverinfo/main.c:347 -msgid "device" -msgstr "" - -#: userland/apps/driverinfo/main.c:347 -msgid "devices" -msgstr "" - -#: userland/apps/driverinfo/main.c:123 -msgid "disabled" -msgstr "" - -#: userland/apps/driverinfo/main.c:346 +#: userland/apps/driverinfo/main.c:109 msgid "driver" msgstr "" - -#: userland/apps/driverinfo/main.c:317 -msgid "driverinfo: failed to query devices (return %d)\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:312 -msgid "driverinfo: failed to query drivers (return %d)\n" -msgstr "" - -#: userland/apps/driverinfo/main.c:346 -msgid "drivers" -msgstr "" diff --git a/configs/nls/po/driverinfo/ja_JP.po b/configs/nls/po/driverinfo/ja_JP.po index dd09592b..d82b0189 100644 --- a/configs/nls/po/driverinfo/ja_JP.po +++ b/configs/nls/po/driverinfo/ja_JP.po @@ -1,191 +1,44 @@ +# Japanese (Japan) translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" +"Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 00:00+0000\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: ja_JP\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/driverinfo/main.c:161 -msgid " ABI: %u Version: %u\n" -msgstr " ABI: %u バージョン: %u\n" - -#: userland/apps/driverinfo/main.c:168 -msgid " Error: %s\n" -msgstr " エラー: %s\n" - -#: userland/apps/driverinfo/main.c:113 -msgid " Flags:" -msgstr " フラグ:" - -#: userland/apps/driverinfo/main.c:151 -msgid " ID: %u\n" -msgstr " ID: %u\n" - -#: userland/apps/driverinfo/main.c:164 -msgid " Image size: %llu bytes\n" -msgstr " イメージサイズ: %llu バイト\n" - -#: userland/apps/driverinfo/main.c:156 -msgid " Kind: %s\n" -msgstr " 種類: %s\n" - -#: userland/apps/driverinfo/main.c:158 -msgid " Kind: Unknown (%u)\n" -msgstr " 種類: 不明 (%u)\n" - -#: userland/apps/driverinfo/main.c:162 -msgid " Load address: 0x%llx\n" -msgstr " 読み込みアドレス: 0x%llx\n" - -#: userland/apps/driverinfo/main.c:152 -msgid " State: %s\n" -msgstr " 状態: %s\n" - -#: userland/apps/driverinfo/main.c:239 -msgid " (none)\n" -msgstr " (なし)\n" - -#: userland/apps/driverinfo/main.c:304 -msgid " -a, --all show disabled, failed and inactive entries too\n" -msgstr " -a, --all 無効、失敗、非アクティブの項目も表示\n" - -#: userland/apps/driverinfo/main.c:115 -msgid " built-in" -msgstr " 組み込み" - -#: userland/apps/driverinfo/main.c:127 -msgid " none" -msgstr " なし" - -#: userland/apps/driverinfo/main.c:146 -msgid "(no description)" -msgstr "(説明なし)" - -#: userland/apps/driverinfo/main.c:142 -msgid "(unnamed)" -msgstr "(名前なし)" - -#: userland/apps/driverinfo/main.c:72 -msgid "Audio" -msgstr "オーディオ" - -#: userland/apps/driverinfo/main.c:237 -msgid "Devices (%u):\n" -msgstr "デバイス (%u):\n" - -#: userland/apps/driverinfo/main.c:54 -msgid "Disabled" -msgstr "無効" - -#: userland/apps/driverinfo/main.c:86 -msgid "Display" -msgstr "ディスプレイ" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/driverinfo/main.c:333 -msgid "Drivers (%u):\n" -msgstr "ドライバー (%u):\n" +#: userland/apps/driverinfo/main.c:36 +msgid " (none)" +msgstr " (なし)" -#: userland/apps/driverinfo/main.c:56 -msgid "Failed" -msgstr "失敗" +#: userland/apps/driverinfo/main.c:45 +msgid "Kernel module inventory:" +msgstr "カーネルモジュール一覧:" -#: userland/apps/driverinfo/main.c:66 -msgid "Input" -msgstr "入力" +#: userland/apps/driverinfo/main.c:23 +msgid "Loaded kernel modules:" +msgstr "読み込み済みカーネルモジュール:" -#: userland/apps/driverinfo/main.c:52 -msgid "Loaded" -msgstr "読み込み済み" +#: userland/apps/driverinfo/main.c:91 +msgid "PCI devices:" +msgstr "PCI デバイス:" -#: userland/apps/driverinfo/main.c:50 -msgid "Loading" -msgstr "読み込み中" +#: userland/apps/driverinfo/main.c:136 +msgid "Usage: driverinfo [-a|--all]" +msgstr "使用法: driverinfo [-a|--all]" -#: userland/apps/driverinfo/main.c:331 -msgid "Mode: %s\n\n" -msgstr "モード: %s\n\n" - -#: userland/apps/driverinfo/main.c:70 -msgid "Network" -msgstr "ネットワーク" - -#: userland/apps/driverinfo/main.c:96 -msgid "Other" -msgstr "その他" - -#: userland/apps/driverinfo/main.c:329 -msgid "ReliefOS active drivers\n" -msgstr "ReliefOS の有効なドライバー\n" - -#: userland/apps/driverinfo/main.c:68 -msgid "Serial" -msgstr "シリアル" - -#: userland/apps/driverinfo/main.c:88 -msgid "Storage" -msgstr "ストレージ" - -#: userland/apps/driverinfo/main.c:94 -msgid "System" -msgstr "システム" - -#: userland/apps/driverinfo/main.c:222 -msgid "Unknown" -msgstr "不明" - -#: userland/apps/driverinfo/main.c:58 -msgid "Unloaded" -msgstr "未読み込み" - -#: userland/apps/driverinfo/main.c:303 -msgid "Usage: driverinfo [-a|--all]\n" -msgstr "使用法: driverinfo [-a|--all]\n" - -#: userland/apps/driverinfo/main.c:345 -msgid "\nSummary: %u %s, %u %s\n" -msgstr "\n概要: %u %s、%u %s\n" - -#: userland/apps/driverinfo/main.c:332 -msgid "active drivers and devices" -msgstr "有効なドライバーとデバイス" - -#: userland/apps/driverinfo/main.c:331 -msgid "all driver and device states" -msgstr "すべてのドライバーとデバイスの状態" - -#: userland/apps/driverinfo/main.c:119 -msgid "autostart" -msgstr "自動起動" - -#: userland/apps/driverinfo/main.c:347 -msgid "device" -msgstr "デバイス" - -#: userland/apps/driverinfo/main.c:347 -msgid "devices" -msgstr "デバイス" - -#: userland/apps/driverinfo/main.c:123 -msgid "disabled" -msgstr "無効" - -#: userland/apps/driverinfo/main.c:346 +#: userland/apps/driverinfo/main.c:109 msgid "driver" msgstr "ドライバー" - -#: userland/apps/driverinfo/main.c:317 -msgid "driverinfo: failed to query devices (return %d)\n" -msgstr "driverinfo: デバイスを取得できませんでした (戻り値 %d)\n" - -#: userland/apps/driverinfo/main.c:312 -msgid "driverinfo: failed to query drivers (return %d)\n" -msgstr "driverinfo: ドライバーを取得できませんでした (戻り値 %d)\n" - -#: userland/apps/driverinfo/main.c:346 -msgid "drivers" -msgstr "ドライバー" diff --git a/configs/nls/po/driverinfo/zh_CN.po b/configs/nls/po/driverinfo/zh_CN.po index ae230f96..3acbdbac 100644 --- a/configs/nls/po/driverinfo/zh_CN.po +++ b/configs/nls/po/driverinfo/zh_CN.po @@ -1,191 +1,44 @@ +# Chinese (Simplified, China) translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +#, fuzzy msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" +"Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 00:00+0000\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Chinese (Simplified)\n" "Language: zh_CN\n" +"Language-Team: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/driverinfo/main.c:161 -msgid " ABI: %u Version: %u\n" -msgstr " ABI: %u 版本: %u\n" - -#: userland/apps/driverinfo/main.c:168 -msgid " Error: %s\n" -msgstr " 错误: %s\n" - -#: userland/apps/driverinfo/main.c:113 -msgid " Flags:" -msgstr " 标志:" - -#: userland/apps/driverinfo/main.c:151 -msgid " ID: %u\n" -msgstr " ID: %u\n" - -#: userland/apps/driverinfo/main.c:164 -msgid " Image size: %llu bytes\n" -msgstr " 映像大小: %llu 字节\n" - -#: userland/apps/driverinfo/main.c:156 -msgid " Kind: %s\n" -msgstr " 类型: %s\n" - -#: userland/apps/driverinfo/main.c:158 -msgid " Kind: Unknown (%u)\n" -msgstr " 类型: 未知 (%u)\n" - -#: userland/apps/driverinfo/main.c:162 -msgid " Load address: 0x%llx\n" -msgstr " 加载地址: 0x%llx\n" - -#: userland/apps/driverinfo/main.c:152 -msgid " State: %s\n" -msgstr " 状态: %s\n" - -#: userland/apps/driverinfo/main.c:239 -msgid " (none)\n" -msgstr " (无)\n" - -#: userland/apps/driverinfo/main.c:304 -msgid " -a, --all show disabled, failed and inactive entries too\n" -msgstr " -a, --all 同时显示已禁用、失败和未活动的项目\n" - -#: userland/apps/driverinfo/main.c:115 -msgid " built-in" -msgstr " 内置" - -#: userland/apps/driverinfo/main.c:127 -msgid " none" -msgstr " 无" - -#: userland/apps/driverinfo/main.c:146 -msgid "(no description)" -msgstr "(无描述)" - -#: userland/apps/driverinfo/main.c:142 -msgid "(unnamed)" -msgstr "(未命名)" - -#: userland/apps/driverinfo/main.c:72 -msgid "Audio" -msgstr "音频" - -#: userland/apps/driverinfo/main.c:237 -msgid "Devices (%u):\n" -msgstr "设备 (%u):\n" - -#: userland/apps/driverinfo/main.c:54 -msgid "Disabled" -msgstr "已禁用" - -#: userland/apps/driverinfo/main.c:86 -msgid "Display" -msgstr "显示" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/driverinfo/main.c:333 -msgid "Drivers (%u):\n" -msgstr "驱动程序 (%u):\n" +#: userland/apps/driverinfo/main.c:36 +msgid " (none)" +msgstr " (无)" -#: userland/apps/driverinfo/main.c:56 -msgid "Failed" -msgstr "失败" +#: userland/apps/driverinfo/main.c:45 +msgid "Kernel module inventory:" +msgstr "内核模块清单:" -#: userland/apps/driverinfo/main.c:66 -msgid "Input" -msgstr "输入" +#: userland/apps/driverinfo/main.c:23 +msgid "Loaded kernel modules:" +msgstr "已加载的内核模块:" -#: userland/apps/driverinfo/main.c:52 -msgid "Loaded" -msgstr "已加载" +#: userland/apps/driverinfo/main.c:91 +msgid "PCI devices:" +msgstr "PCI 设备:" -#: userland/apps/driverinfo/main.c:50 -msgid "Loading" -msgstr "正在加载" +#: userland/apps/driverinfo/main.c:136 +msgid "Usage: driverinfo [-a|--all]" +msgstr "用法:driverinfo [-a|--all]" -#: userland/apps/driverinfo/main.c:331 -msgid "Mode: %s\n\n" -msgstr "模式: %s\n\n" - -#: userland/apps/driverinfo/main.c:70 -msgid "Network" -msgstr "网络" - -#: userland/apps/driverinfo/main.c:96 -msgid "Other" -msgstr "其他" - -#: userland/apps/driverinfo/main.c:329 -msgid "ReliefOS active drivers\n" -msgstr "ReliefOS 活动驱动程序\n" - -#: userland/apps/driverinfo/main.c:68 -msgid "Serial" -msgstr "串口" - -#: userland/apps/driverinfo/main.c:88 -msgid "Storage" -msgstr "存储" - -#: userland/apps/driverinfo/main.c:94 -msgid "System" -msgstr "系统" - -#: userland/apps/driverinfo/main.c:222 -msgid "Unknown" -msgstr "未知" - -#: userland/apps/driverinfo/main.c:58 -msgid "Unloaded" -msgstr "未加载" - -#: userland/apps/driverinfo/main.c:303 -msgid "Usage: driverinfo [-a|--all]\n" -msgstr "用法: driverinfo [-a|--all]\n" - -#: userland/apps/driverinfo/main.c:345 -msgid "\nSummary: %u %s, %u %s\n" -msgstr "\n汇总: %u %s,%u %s\n" - -#: userland/apps/driverinfo/main.c:332 -msgid "active drivers and devices" -msgstr "活动的驱动程序和设备" - -#: userland/apps/driverinfo/main.c:331 -msgid "all driver and device states" -msgstr "所有驱动程序和设备的状态" - -#: userland/apps/driverinfo/main.c:119 -msgid "autostart" -msgstr "自动启动" - -#: userland/apps/driverinfo/main.c:347 -msgid "device" -msgstr "个设备" - -#: userland/apps/driverinfo/main.c:347 -msgid "devices" -msgstr "个设备" - -#: userland/apps/driverinfo/main.c:123 -msgid "disabled" -msgstr "已禁用" - -#: userland/apps/driverinfo/main.c:346 +#: userland/apps/driverinfo/main.c:109 msgid "driver" -msgstr "个驱动程序" - -#: userland/apps/driverinfo/main.c:317 -msgid "driverinfo: failed to query devices (return %d)\n" -msgstr "driverinfo: 无法查询设备 (返回值 %d)\n" - -#: userland/apps/driverinfo/main.c:312 -msgid "driverinfo: failed to query drivers (return %d)\n" -msgstr "driverinfo: 无法查询驱动程序 (返回值 %d)\n" - -#: userland/apps/driverinfo/main.c:346 -msgid "drivers" -msgstr "个驱动程序" +msgstr "驱动程序" diff --git a/configs/nls/po/fileman/fileman.pot b/configs/nls/po/fileman/fileman.pot index c2f0136f..df92a252 100644 --- a/configs/nls/po/fileman/fileman.pot +++ b/configs/nls/po/fileman/fileman.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/fileman/model.c:551 +#: userland/apps/fileman/model.c:548 msgid " (partial)" msgstr "" @@ -10,11 +10,11 @@ msgstr "" msgid " failed" msgstr "" -#: userland/apps/fileman/model.c:547 +#: userland/apps/fileman/model.c:544 msgid " files, " msgstr "" -#: userland/apps/fileman/model.c:549 +#: userland/apps/fileman/model.c:546 msgid " folders" msgstr "" @@ -22,11 +22,11 @@ msgstr "" msgid " item(s) completed; " msgstr "" -#: userland/apps/fileman/main.cpp:696 +#: userland/apps/fileman/main.cpp:619 msgid "%s — %lu checked, %u matches, %lu skipped" msgstr "" -#: userland/apps/fileman/main.cpp:947 +#: userland/apps/fileman/main.cpp:870 msgid "%u items, %u selected" msgstr "" @@ -34,19 +34,23 @@ msgstr "" msgid "A clipboard path is too long" msgstr "" -#: userland/apps/fileman/main.cpp:1295 +#: userland/apps/fileman/main.cpp:1217 msgid "About" msgstr "" +#: userland/apps/fileman/main.cpp:552 +msgid "Absolute path to an executable or .desktop file:" +msgstr "" + #: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/fileman/main.cpp:1304 +#: userland/apps/fileman/main.cpp:1226 msgid "Address" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:186 +#: userland/apps/fileman/volume_ui.cpp:187 msgid "Administrator permission is required for this device operation." msgstr "" @@ -58,59 +62,51 @@ msgstr "" msgid "All items marked" msgstr "" -#: userland/apps/fileman/main.cpp:1022 -msgid "Application" -msgstr "" - -#: userland/apps/fileman/main.cpp:648 +#: userland/apps/fileman/actions.c:48 msgid "Application launched" msgstr "" -#: userland/apps/fileman/main.cpp:1296 +#: userland/apps/fileman/main.cpp:1218 msgid "Archive" msgstr "" -#: userland/apps/fileman/actions.c:370 +#: userland/apps/fileman/actions.c:372 msgid "Archive Conflict" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:184 +#: userland/apps/fileman/volume_ui.cpp:185 msgid "Authentication was cancelled or the device operation failed." msgstr "" -#: userland/apps/fileman/main.cpp:930 +#: userland/apps/fileman/main.cpp:853 msgid "Automatic refresh unavailable; press F5" msgstr "" -#: userland/apps/fileman/main.cpp:932 +#: userland/apps/fileman/main.cpp:855 msgid "Automatic refresh unavailable; refresh manually (F5)" msgstr "" -#: userland/apps/fileman/main.cpp:903 +#: userland/apps/fileman/main.cpp:826 msgid "Browse files, manage folders and launch X11 applications." msgstr "" -#: userland/apps/fileman/main.cpp:408 +#: userland/apps/fileman/main.cpp:339 msgid "Cancel" msgstr "" -#: userland/apps/fileman/actions.c:316 +#: userland/apps/fileman/actions.c:318 msgid "Cannot create extraction folder" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:126 +#: userland/apps/fileman/volume_ui.cpp:127 msgid "Cannot read the device list." msgstr "" -#: userland/apps/fileman/volume_ui.cpp:113 +#: userland/apps/fileman/volume_ui.cpp:114 msgid "Cannot start the device operation." msgstr "" -#: userland/apps/fileman/main.cpp:629 -msgid "Choose an installed X11 executable using its absolute path" -msgstr "" - -#: userland/apps/fileman/main.cpp:1289 +#: userland/apps/fileman/main.cpp:1211 msgid "Clear Marks" msgstr "" @@ -126,23 +122,23 @@ msgstr "" msgid "Clipboard is empty" msgstr "" -#: userland/apps/fileman/main.cpp:577 +#: userland/apps/fileman/main.cpp:508 msgid "Close" msgstr "" -#: userland/apps/fileman/main.cpp:1296 +#: userland/apps/fileman/main.cpp:1218 msgid "Compress to .tar" msgstr "" -#: userland/apps/fileman/actions.c:385 +#: userland/apps/fileman/actions.c:387 msgid "Compressing to tar..." msgstr "" -#: userland/apps/fileman/actions.c:371 +#: userland/apps/fileman/actions.c:373 msgid "Compression canceled" msgstr "" -#: userland/apps/fileman/main.cpp:1283 +#: userland/apps/fileman/main.cpp:1205 msgid "Copy" msgstr "" @@ -150,7 +146,7 @@ msgstr "" msgid "Copy complete" msgstr "" -#: userland/apps/fileman/main.cpp:1322 +#: userland/apps/fileman/main.cpp:1244 msgid "Copy selected items (Ctrl+C)" msgstr "" @@ -166,11 +162,11 @@ msgstr "" msgid "Could not decode image" msgstr "" -#: userland/apps/fileman/main.cpp:101 +#: userland/apps/fileman/main.cpp:102 msgid "Could not open the requested path" msgstr "" -#: userland/apps/fileman/main.cpp:862 +#: userland/apps/fileman/main.cpp:785 msgid "Could not open the search result" msgstr "" @@ -178,19 +174,19 @@ msgstr "" msgid "Could not save file manager settings " msgstr "" -#: userland/apps/fileman/main.cpp:637 +#: userland/apps/fileman/main.cpp:561 msgid "Could not save the file association" msgstr "" -#: userland/apps/fileman/main.cpp:798 +#: userland/apps/fileman/main.cpp:721 msgid "Could not start search" msgstr "" -#: userland/apps/fileman/actions.c:136 +#: userland/apps/fileman/actions.c:138 msgid "Create Shortcut" msgstr "" -#: userland/apps/fileman/main.cpp:1319 +#: userland/apps/fileman/main.cpp:1241 msgid "Create a folder in the current location" msgstr "" @@ -202,27 +198,27 @@ msgstr "" msgid "Custom Filter" msgstr "" -#: userland/apps/fileman/main.cpp:1284 +#: userland/apps/fileman/main.cpp:1206 msgid "Cut" msgstr "" -#: userland/apps/fileman/main.cpp:622 +#: userland/apps/fileman/main.cpp:551 msgid "Default Program" msgstr "" -#: userland/apps/fileman/main.cpp:1277 +#: userland/apps/fileman/main.cpp:1199 msgid "Default Program..." msgstr "" -#: userland/apps/fileman/main.cpp:641 +#: userland/apps/fileman/main.cpp:565 msgid "Default application saved" msgstr "" -#: userland/apps/fileman/model.c:631 +#: userland/apps/fileman/model.c:628 msgid "Default program is for files" msgstr "" -#: userland/apps/fileman/main.cpp:1282 +#: userland/apps/fileman/main.cpp:1204 msgid "Delete" msgstr "" @@ -230,7 +226,7 @@ msgstr "" msgid "Delete canceled" msgstr "" -#: userland/apps/fileman/main.cpp:1326 +#: userland/apps/fileman/main.cpp:1248 msgid "Delete selected items after confirmation" msgstr "" @@ -238,23 +234,23 @@ msgstr "" msgid "Deleting items..." msgstr "" -#: userland/apps/fileman/actions.c:142 +#: userland/apps/fileman/actions.c:144 msgid "Desktop folder unavailable" msgstr "" -#: userland/apps/fileman/main.cpp:1279 +#: userland/apps/fileman/main.cpp:1201 msgid "Details" msgstr "" -#: userland/apps/fileman/main.cpp:1021 +#: userland/apps/fileman/main.cpp:944 msgid "Device" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:182 +#: userland/apps/fileman/volume_ui.cpp:183 msgid "Device is busy. Close files and terminals on it, then try again." msgstr "" -#: userland/apps/fileman/volume_ui.cpp:179 +#: userland/apps/fileman/volume_ui.cpp:180 msgid "Device mounted." msgstr "" @@ -262,15 +258,15 @@ msgstr "" msgid "Devices" msgstr "" -#: userland/apps/fileman/main.cpp:1352 +#: userland/apps/fileman/main.cpp:1274 msgid "Double-click a folder to expand or collapse its tree" msgstr "" -#: userland/apps/fileman/main.cpp:1362 +#: userland/apps/fileman/main.cpp:1284 msgid "Double-click to open. Ctrl/Shift selects multiple items." msgstr "" -#: userland/apps/fileman/main.cpp:1283 +#: userland/apps/fileman/main.cpp:1205 msgid "Edit" msgstr "" @@ -278,27 +274,27 @@ msgstr "" msgid "Eject" msgstr "" -#: userland/apps/fileman/model.c:734 +#: userland/apps/fileman/model.c:731 msgid "Elevated - items " msgstr "" -#: userland/apps/fileman/main.cpp:1309 +#: userland/apps/fileman/main.cpp:1231 msgid "Enter a folder path, then press Enter (Ctrl+L)" msgstr "" -#: userland/apps/fileman/main.cpp:782 +#: userland/apps/fileman/main.cpp:705 msgid "Enter part of a file or folder name." msgstr "" -#: userland/apps/fileman/actions.c:319 +#: userland/apps/fileman/actions.c:321 msgid "Extract tar" msgstr "" -#: userland/apps/fileman/actions.c:327 +#: userland/apps/fileman/actions.c:329 msgid "Extracting tar..." msgstr "" -#: userland/apps/fileman/actions.c:321 +#: userland/apps/fileman/actions.c:323 msgid "Extraction canceled" msgstr "" @@ -306,7 +302,7 @@ msgstr "" msgid "Favorites" msgstr "" -#: userland/apps/fileman/main.cpp:1023 +#: userland/apps/fileman/main.cpp:945 msgid "File" msgstr "" @@ -314,11 +310,11 @@ msgstr "" msgid "File Conflict" msgstr "" -#: userland/apps/fileman/main.cpp:902 +#: userland/apps/fileman/main.cpp:825 msgid "File Manager" msgstr "" -#: userland/apps/fileman/main.cpp:483 +#: userland/apps/fileman/main.cpp:414 msgid "File Manager Settings" msgstr "" @@ -330,43 +326,43 @@ msgstr "" msgid "File Systems" msgstr "" -#: userland/apps/fileman/main.cpp:817 +#: userland/apps/fileman/main.cpp:740 msgid "File name:" msgstr "" -#: userland/apps/fileman/main.cpp:1020 +#: userland/apps/fileman/main.cpp:943 msgid "Folder" msgstr "" -#: userland/apps/fileman/actions.c:119 +#: userland/apps/fileman/actions.c:121 msgid "Folder created" msgstr "" -#: userland/apps/fileman/actions.c:103 +#: userland/apps/fileman/actions.c:105 msgid "Folder created (elevated)" msgstr "" -#: userland/apps/fileman/actions.c:86 +#: userland/apps/fileman/actions.c:88 msgid "Folder name is empty" msgstr "" -#: userland/apps/fileman/actions.c:81 +#: userland/apps/fileman/actions.c:83 msgid "Folder name:" msgstr "" -#: userland/apps/fileman/main.cpp:1339 +#: userland/apps/fileman/main.cpp:1261 msgid "Folders" msgstr "" -#: userland/apps/fileman/main.cpp:569 +#: userland/apps/fileman/main.cpp:500 msgid "GID" msgstr "" -#: userland/apps/fileman/main.cpp:826 +#: userland/apps/fileman/main.cpp:749 msgid "Ignore English letter case" msgstr "" -#: userland/apps/fileman/main.cpp:824 +#: userland/apps/fileman/main.cpp:747 msgid "Include subfolders" msgstr "" @@ -374,23 +370,23 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/fileman/main.cpp:420 +#: userland/apps/fileman/main.cpp:351 msgid "Input is too long; the value was not changed." msgstr "" -#: userland/apps/fileman/actions.c:309 +#: userland/apps/fileman/actions.c:311 msgid "Invalid extraction folder name" msgstr "" -#: userland/apps/fileman/actions.c:197 +#: userland/apps/fileman/actions.c:199 msgid "Invalid file name or path too long" msgstr "" -#: userland/apps/fileman/actions.c:90 +#: userland/apps/fileman/actions.c:92 msgid "Invalid folder name or path too long" msgstr "" -#: userland/apps/fileman/main.cpp:600 +#: userland/apps/fileman/main.cpp:531 msgid "Invalid mode, UID or GID" msgstr "" @@ -402,7 +398,7 @@ msgstr "" msgid "Item unmarked" msgstr "" -#: userland/apps/fileman/main.cpp:923 +#: userland/apps/fileman/main.cpp:846 msgid "Items " msgstr "" @@ -430,11 +426,11 @@ msgstr "" msgid "Manage Favorites" msgstr "" -#: userland/apps/fileman/main.cpp:1288 +#: userland/apps/fileman/main.cpp:1210 msgid "Mark All" msgstr "" -#: userland/apps/fileman/main.cpp:1287 +#: userland/apps/fileman/main.cpp:1209 msgid "Mark for Batch" msgstr "" @@ -442,15 +438,15 @@ msgstr "" msgid "Marks cleared" msgstr "" -#: userland/apps/fileman/main.cpp:830 +#: userland/apps/fileman/main.cpp:753 msgid "Matches part of a file or folder name." msgstr "" -#: userland/apps/fileman/main.cpp:558 +#: userland/apps/fileman/main.cpp:489 msgid "Mode (octal)" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:117 +#: userland/apps/fileman/volume_ui.cpp:118 msgid "Mounting device..." msgstr "" @@ -458,7 +454,7 @@ msgstr "" msgid "Move complete" msgstr "" -#: userland/apps/fileman/main.cpp:1323 +#: userland/apps/fileman/main.cpp:1245 msgid "Move selected items using Cut and Paste (Ctrl+X)" msgstr "" @@ -466,7 +462,7 @@ msgstr "" msgid "Moving files..." msgstr "" -#: userland/apps/fileman/main.cpp:548 +#: userland/apps/fileman/main.cpp:479 msgid "Name" msgstr "" @@ -474,31 +470,31 @@ msgstr "" msgid "New Directory?" msgstr "" -#: userland/apps/fileman/actions.c:81 +#: userland/apps/fileman/actions.c:83 msgid "New Folder" msgstr "" -#: userland/apps/fileman/actions.c:82 +#: userland/apps/fileman/actions.c:84 msgid "New folder canceled" msgstr "" -#: userland/apps/fileman/actions.c:192 +#: userland/apps/fileman/actions.c:194 msgid "New name is empty" msgstr "" -#: userland/apps/fileman/actions.c:187 +#: userland/apps/fileman/actions.c:189 msgid "New name:" msgstr "" -#: userland/apps/fileman/main.cpp:436 +#: userland/apps/fileman/main.cpp:367 msgid "No" msgstr "" -#: userland/apps/fileman/main.cpp:694 +#: userland/apps/fileman/main.cpp:617 msgid "No matches found" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:142 +#: userland/apps/fileman/volume_ui.cpp:143 msgid "No removable devices" msgstr "" @@ -506,59 +502,59 @@ msgstr "" msgid "Not mounted" msgstr "" -#: userland/apps/fileman/main.cpp:407 +#: userland/apps/fileman/main.cpp:338 msgid "OK" msgstr "" -#: userland/apps/fileman/main.cpp:839 +#: userland/apps/fileman/main.cpp:762 msgid "Open" msgstr "" -#: userland/apps/fileman/main.cpp:842 +#: userland/apps/fileman/main.cpp:765 msgid "Open Containing Folder" msgstr "" -#: userland/apps/fileman/main.cpp:622 +#: userland/apps/fileman/main.cpp:551 msgid "Open With" msgstr "" -#: userland/apps/fileman/main.cpp:625 +#: userland/apps/fileman/main.cpp:554 msgid "Open With canceled" msgstr "" -#: userland/apps/fileman/main.cpp:647 +#: userland/apps/fileman/main.cpp:570 msgid "Open With failed" msgstr "" -#: userland/apps/fileman/model.c:616 +#: userland/apps/fileman/model.c:613 msgid "Open With is for files" msgstr "" -#: userland/apps/fileman/main.cpp:1276 +#: userland/apps/fileman/main.cpp:1198 msgid "Open With..." msgstr "" -#: userland/apps/fileman/main.cpp:1320 +#: userland/apps/fileman/main.cpp:1242 msgid "Open the selected item (Enter)" msgstr "" -#: userland/apps/fileman/main.cpp:1285 +#: userland/apps/fileman/main.cpp:1207 msgid "Paste" msgstr "" -#: userland/apps/fileman/main.cpp:1324 +#: userland/apps/fileman/main.cpp:1246 msgid "Paste into the current folder (Ctrl+V)" msgstr "" -#: userland/apps/fileman/main.cpp:550 +#: userland/apps/fileman/main.cpp:481 msgid "Path" msgstr "" -#: userland/apps/fileman/main.cpp:1069 +#: userland/apps/fileman/main.cpp:991 msgid "Path is too long" msgstr "" -#: userland/apps/fileman/actions.c:365 +#: userland/apps/fileman/actions.c:367 msgid "Path too long" msgstr "" @@ -566,7 +562,7 @@ msgstr "" msgid "Permanently delete the selected items and all folder contents? This cannot be undone." msgstr "" -#: userland/apps/fileman/main.cpp:575 +#: userland/apps/fileman/main.cpp:506 msgid "Permission changes use the current user's access rights." msgstr "" @@ -574,11 +570,11 @@ msgstr "" msgid "Permission denied; administrator access requires a terminal in X11" msgstr "" -#: userland/apps/fileman/main.cpp:611 +#: userland/apps/fileman/main.cpp:542 msgid "Permissions saved" msgstr "" -#: userland/apps/fileman/actions.c:137 +#: userland/apps/fileman/actions.c:139 msgid "Place shortcut on Desktop? No creates it here." msgstr "" @@ -586,7 +582,7 @@ msgstr "" msgid "Please choose an existing file!" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:117 +#: userland/apps/fileman/volume_ui.cpp:118 msgid "Preparing device for removal..." msgstr "" @@ -594,107 +590,107 @@ msgstr "" msgid "Preview" msgstr "" -#: userland/apps/fileman/main.cpp:555 +#: userland/apps/fileman/main.cpp:486 msgid "Properties" msgstr "" -#: userland/apps/fileman/main.cpp:535 +#: userland/apps/fileman/main.cpp:466 msgid "Properties failed" msgstr "" -#: userland/apps/fileman/main.cpp:930 +#: userland/apps/fileman/main.cpp:853 msgid "Ready" msgstr "" -#: userland/apps/fileman/main.cpp:1293 +#: userland/apps/fileman/main.cpp:1215 msgid "Refresh" msgstr "" -#: userland/apps/fileman/main.cpp:931 +#: userland/apps/fileman/main.cpp:854 msgid "Refresh (F5)" msgstr "" -#: userland/apps/fileman/main.cpp:633 -msgid "Remember this application for files with the same extension?" +#: userland/apps/fileman/main.cpp:558 +msgid "Remember this application for files of the same type?" msgstr "" -#: userland/apps/fileman/actions.c:187 +#: userland/apps/fileman/actions.c:189 msgid "Rename" msgstr "" -#: userland/apps/fileman/actions.c:202 +#: userland/apps/fileman/actions.c:204 msgid "Rename Conflict" msgstr "" -#: userland/apps/fileman/actions.c:188 +#: userland/apps/fileman/actions.c:190 msgid "Rename canceled" msgstr "" -#: userland/apps/fileman/main.cpp:1325 +#: userland/apps/fileman/main.cpp:1247 msgid "Rename the selected item (F2)" msgstr "" -#: userland/apps/fileman/actions.c:230 +#: userland/apps/fileman/actions.c:232 msgid "Renamed" msgstr "" -#: userland/apps/fileman/actions.c:214 +#: userland/apps/fileman/actions.c:216 msgid "Renamed (elevated)" msgstr "" -#: userland/apps/fileman/main.cpp:1292 +#: userland/apps/fileman/main.cpp:1214 msgid "Root" msgstr "" -#: userland/apps/fileman/main.cpp:487 +#: userland/apps/fileman/main.cpp:418 msgid "Save" msgstr "" -#: userland/apps/fileman/main.cpp:822 +#: userland/apps/fileman/main.cpp:745 msgid "Search" msgstr "" -#: userland/apps/fileman/main.cpp:810 +#: userland/apps/fileman/main.cpp:733 msgid "Search Files" msgstr "" -#: userland/apps/fileman/main.cpp:1286 +#: userland/apps/fileman/main.cpp:1208 msgid "Search Files..." msgstr "" -#: userland/apps/fileman/main.cpp:694 +#: userland/apps/fileman/main.cpp:617 msgid "Search complete" msgstr "" -#: userland/apps/fileman/main.cpp:693 +#: userland/apps/fileman/main.cpp:616 msgid "Search complete (partial)" msgstr "" -#: userland/apps/fileman/main.cpp:813 +#: userland/apps/fileman/main.cpp:736 msgid "Search in:" msgstr "" -#: userland/apps/fileman/main.cpp:691 +#: userland/apps/fileman/main.cpp:614 msgid "Search stopped" msgstr "" -#: userland/apps/fileman/main.cpp:692 +#: userland/apps/fileman/main.cpp:615 msgid "Search stopped at limit" msgstr "" -#: userland/apps/fileman/main.cpp:1312 +#: userland/apps/fileman/main.cpp:1234 msgid "Search this folder and subfolders (Ctrl+F)" msgstr "" -#: userland/apps/fileman/main.cpp:690 +#: userland/apps/fileman/main.cpp:613 msgid "Searching" msgstr "" -#: userland/apps/fileman/model.c:612 +#: userland/apps/fileman/model.c:609 msgid "Select a file" msgstr "" -#: userland/apps/fileman/actions.c:303 +#: userland/apps/fileman/actions.c:305 msgid "Select a tar file" msgstr "" @@ -702,23 +698,23 @@ msgstr "" msgid "Select an item" msgstr "" -#: userland/apps/fileman/main.cpp:1294 +#: userland/apps/fileman/main.cpp:1216 msgid "Settings..." msgstr "" -#: userland/apps/fileman/main.cpp:1023 +#: userland/apps/fileman/main.cpp:945 msgid "Shortcut" msgstr "" -#: userland/apps/fileman/actions.c:173 +#: userland/apps/fileman/actions.c:175 msgid "Shortcut created" msgstr "" -#: userland/apps/fileman/main.cpp:485 +#: userland/apps/fileman/main.cpp:416 msgid "Show files and folders starting with a dot" msgstr "" -#: userland/apps/fileman/main.cpp:828 +#: userland/apps/fileman/main.cpp:751 msgid "Show hidden files" msgstr "" @@ -726,11 +722,11 @@ msgstr "" msgid "Show:" msgstr "" -#: userland/apps/fileman/main.cpp:551 +#: userland/apps/fileman/main.cpp:482 msgid "Size" msgstr "" -#: userland/apps/fileman/main.cpp:845 +#: userland/apps/fileman/main.cpp:768 msgid "Stop" msgstr "" @@ -738,23 +734,23 @@ msgstr "" msgid "System clipboard is unavailable" msgstr "" -#: userland/apps/fileman/actions.c:392 +#: userland/apps/fileman/actions.c:394 msgid "Tar created successfully" msgstr "" -#: userland/apps/fileman/actions.c:391 +#: userland/apps/fileman/actions.c:393 msgid "Tar creation failed" msgstr "" -#: userland/apps/fileman/actions.c:335 +#: userland/apps/fileman/actions.c:337 msgid "Tar extracted successfully" msgstr "" -#: userland/apps/fileman/actions.c:334 +#: userland/apps/fileman/actions.c:336 msgid "Tar extraction failed; check the archive and destination permissions" msgstr "" -#: userland/apps/fileman/actions.c:370 +#: userland/apps/fileman/actions.c:372 msgid "The archive exists. Replace it?" msgstr "" @@ -762,7 +758,7 @@ msgstr "" msgid "The clipboard does not contain usable local files" msgstr "" -#: userland/apps/fileman/actions.c:202 +#: userland/apps/fileman/actions.c:204 msgid "The destination exists. Replace it?" msgstr "" @@ -770,11 +766,11 @@ msgstr "" msgid "The destination exists. Replace it? Choose No to save with another name." msgstr "" -#: userland/apps/fileman/volume_ui.cpp:183 +#: userland/apps/fileman/volume_ui.cpp:184 msgid "The device changed or is unavailable. Refresh and try again." msgstr "" -#: userland/apps/fileman/actions.c:320 +#: userland/apps/fileman/actions.c:322 msgid "The extraction folder exists. Existing files may be replaced. Continue?" msgstr "" @@ -782,19 +778,19 @@ msgstr "" msgid "The folder changed or is busy. Paste again." msgstr "" -#: userland/apps/fileman/volume_ui.cpp:185 +#: userland/apps/fileman/volume_ui.cpp:186 msgid "This filesystem is not supported." msgstr "" -#: userland/apps/fileman/main.cpp:549 +#: userland/apps/fileman/main.cpp:480 msgid "Type" msgstr "" -#: userland/apps/fileman/main.cpp:564 +#: userland/apps/fileman/main.cpp:495 msgid "UID" msgstr "" -#: userland/apps/fileman/model.c:467 +#: userland/apps/fileman/model.c:464 msgid "Unmark" msgstr "" @@ -802,35 +798,31 @@ msgstr "" msgid "Unmount every volume on this device before unplugging it." msgstr "" -#: userland/apps/fileman/main.cpp:1291 +#: userland/apps/fileman/main.cpp:1213 msgid "Up" msgstr "" -#: userland/apps/fileman/main.cpp:1301 +#: userland/apps/fileman/main.cpp:1223 msgid "Up one folder (Alt+Up)" msgstr "" -#: userland/apps/fileman/main.cpp:1291 +#: userland/apps/fileman/main.cpp:1213 msgid "View" msgstr "" -#: userland/apps/fileman/main.cpp:1321 +#: userland/apps/fileman/main.cpp:1243 msgid "View properties and permissions" msgstr "" -#: userland/apps/fileman/main.cpp:129 +#: userland/apps/fileman/main.cpp:130 msgid "Wait for the device operation to finish before closing this window." msgstr "" -#: userland/apps/fileman/main.cpp:623 -msgid "X11 executable path (NEdit: /usr/bin/nedit, NetSurf: /usr/bin/netsurf):" -msgstr "" - -#: userland/apps/fileman/main.cpp:435 +#: userland/apps/fileman/main.cpp:366 msgid "Yes" msgstr "" -#: userland/apps/fileman/volume_ui.cpp:180 +#: userland/apps/fileman/volume_ui.cpp:181 msgid "You can safely unplug the device." msgstr "" diff --git a/configs/nls/po/fileman/ja_JP.po b/configs/nls/po/fileman/ja_JP.po index 03b28982..f693d118 100644 --- a/configs/nls/po/fileman/ja_JP.po +++ b/configs/nls/po/fileman/ja_JP.po @@ -1,16 +1,20 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:44+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fileman/model.c:551 +#: userland/apps/fileman/model.c:548 msgid " (partial)" msgstr " (一部)" @@ -18,11 +22,11 @@ msgstr " (一部)" msgid " failed" msgstr " 件失敗" -#: userland/apps/fileman/model.c:547 +#: userland/apps/fileman/model.c:544 msgid " files, " msgstr " 個のファイル、" -#: userland/apps/fileman/model.c:549 +#: userland/apps/fileman/model.c:546 msgid " folders" msgstr " 個のフォルダー" @@ -30,11 +34,13 @@ msgstr " 個のフォルダー" msgid " item(s) completed; " msgstr " 件完了、" -#: userland/apps/fileman/main.cpp:696 +#: userland/apps/fileman/main.cpp:619 +#, python-format msgid "%s — %lu checked, %u matches, %lu skipped" msgstr "%s — %lu 件確認、%u 件一致、%lu 件スキップ" -#: userland/apps/fileman/main.cpp:947 +#: userland/apps/fileman/main.cpp:870 +#, python-format msgid "%u items, %u selected" msgstr "%u 項目、%u 項目選択" @@ -42,19 +48,23 @@ msgstr "%u 項目、%u 項目選択" msgid "A clipboard path is too long" msgstr "クリップボードのパスが長すぎます" -#: userland/apps/fileman/main.cpp:1295 +#: userland/apps/fileman/main.cpp:1217 msgid "About" msgstr "バージョン情報" +#: userland/apps/fileman/main.cpp:552 +msgid "Absolute path to an executable or .desktop file:" +msgstr "実行ファイルまたは .desktop ファイルの絶対パス:" + #: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/fileman/main.cpp:1304 +#: userland/apps/fileman/main.cpp:1226 msgid "Address" msgstr "場所" -#: userland/apps/fileman/volume_ui.cpp:186 +#: userland/apps/fileman/volume_ui.cpp:187 msgid "Administrator permission is required for this device operation." msgstr "このデバイス操作には管理者権限が必要です。" @@ -66,59 +76,51 @@ msgstr "すべてのファイル (*)" msgid "All items marked" msgstr "すべての項目にマークを付けました" -#: userland/apps/fileman/main.cpp:1022 -msgid "Application" -msgstr "アプリケーション" - -#: userland/apps/fileman/main.cpp:648 +#: userland/apps/fileman/actions.c:48 msgid "Application launched" msgstr "アプリケーションを起動しました" -#: userland/apps/fileman/main.cpp:1296 +#: userland/apps/fileman/main.cpp:1218 msgid "Archive" msgstr "アーカイブ" -#: userland/apps/fileman/actions.c:370 +#: userland/apps/fileman/actions.c:372 msgid "Archive Conflict" msgstr "アーカイブの競合" -#: userland/apps/fileman/volume_ui.cpp:184 +#: userland/apps/fileman/volume_ui.cpp:185 msgid "Authentication was cancelled or the device operation failed." msgstr "認証がキャンセルされたか、デバイス操作に失敗しました。" -#: userland/apps/fileman/main.cpp:930 +#: userland/apps/fileman/main.cpp:853 msgid "Automatic refresh unavailable; press F5" msgstr "自動更新を利用できません。F5 キーで更新してください" -#: userland/apps/fileman/main.cpp:932 +#: userland/apps/fileman/main.cpp:855 msgid "Automatic refresh unavailable; refresh manually (F5)" msgstr "自動更新を利用できません。手動で更新してください (F5)" -#: userland/apps/fileman/main.cpp:903 +#: userland/apps/fileman/main.cpp:826 msgid "Browse files, manage folders and launch X11 applications." msgstr "ファイルの閲覧、フォルダーの管理、X11 アプリケーションの起動ができます。" -#: userland/apps/fileman/main.cpp:408 +#: userland/apps/fileman/main.cpp:339 msgid "Cancel" msgstr "キャンセル" -#: userland/apps/fileman/actions.c:316 +#: userland/apps/fileman/actions.c:318 msgid "Cannot create extraction folder" msgstr "展開先フォルダーを作成できません" -#: userland/apps/fileman/volume_ui.cpp:126 +#: userland/apps/fileman/volume_ui.cpp:127 msgid "Cannot read the device list." msgstr "デバイス一覧を読み込めません。" -#: userland/apps/fileman/volume_ui.cpp:113 +#: userland/apps/fileman/volume_ui.cpp:114 msgid "Cannot start the device operation." msgstr "デバイス操作を開始できません。" -#: userland/apps/fileman/main.cpp:629 -msgid "Choose an installed X11 executable using its absolute path" -msgstr "インストール済みの X11 実行ファイルを絶対パスで選択してください" - -#: userland/apps/fileman/main.cpp:1289 +#: userland/apps/fileman/main.cpp:1211 msgid "Clear Marks" msgstr "マークを解除" @@ -134,23 +136,23 @@ msgstr "クリップボードのファイルが多すぎます" msgid "Clipboard is empty" msgstr "クリップボードが空です" -#: userland/apps/fileman/main.cpp:577 +#: userland/apps/fileman/main.cpp:508 msgid "Close" msgstr "閉じる" -#: userland/apps/fileman/main.cpp:1296 +#: userland/apps/fileman/main.cpp:1218 msgid "Compress to .tar" msgstr ".tar に圧縮" -#: userland/apps/fileman/actions.c:385 +#: userland/apps/fileman/actions.c:387 msgid "Compressing to tar..." msgstr "tar に圧縮中..." -#: userland/apps/fileman/actions.c:371 +#: userland/apps/fileman/actions.c:373 msgid "Compression canceled" msgstr "圧縮をキャンセルしました" -#: userland/apps/fileman/main.cpp:1283 +#: userland/apps/fileman/main.cpp:1205 msgid "Copy" msgstr "コピー" @@ -158,7 +160,7 @@ msgstr "コピー" msgid "Copy complete" msgstr "コピーが完了しました" -#: userland/apps/fileman/main.cpp:1322 +#: userland/apps/fileman/main.cpp:1244 msgid "Copy selected items (Ctrl+C)" msgstr "選択した項目をコピー (Ctrl+C)" @@ -174,11 +176,11 @@ msgstr "システムのクリップボードにファイルをコピーできま msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/fileman/main.cpp:101 +#: userland/apps/fileman/main.cpp:102 msgid "Could not open the requested path" msgstr "指定されたパスを開けませんでした" -#: userland/apps/fileman/main.cpp:862 +#: userland/apps/fileman/main.cpp:785 msgid "Could not open the search result" msgstr "検索結果を開けませんでした" @@ -186,19 +188,19 @@ msgstr "検索結果を開けませんでした" msgid "Could not save file manager settings " msgstr "ファイルマネージャーの設定を保存できませんでした " -#: userland/apps/fileman/main.cpp:637 +#: userland/apps/fileman/main.cpp:561 msgid "Could not save the file association" msgstr "ファイルの関連付けを保存できませんでした" -#: userland/apps/fileman/main.cpp:798 +#: userland/apps/fileman/main.cpp:721 msgid "Could not start search" msgstr "検索を開始できませんでした" -#: userland/apps/fileman/actions.c:136 +#: userland/apps/fileman/actions.c:138 msgid "Create Shortcut" msgstr "ショートカットを作成" -#: userland/apps/fileman/main.cpp:1319 +#: userland/apps/fileman/main.cpp:1241 msgid "Create a folder in the current location" msgstr "現在の場所にフォルダーを作成" @@ -210,27 +212,27 @@ msgstr "新しいフォルダーを作成" msgid "Custom Filter" msgstr "カスタムフィルター" -#: userland/apps/fileman/main.cpp:1284 +#: userland/apps/fileman/main.cpp:1206 msgid "Cut" msgstr "切り取り" -#: userland/apps/fileman/main.cpp:622 +#: userland/apps/fileman/main.cpp:551 msgid "Default Program" msgstr "既定のプログラム" -#: userland/apps/fileman/main.cpp:1277 +#: userland/apps/fileman/main.cpp:1199 msgid "Default Program..." msgstr "既定のプログラム..." -#: userland/apps/fileman/main.cpp:641 +#: userland/apps/fileman/main.cpp:565 msgid "Default application saved" msgstr "既定のアプリケーションを保存しました" -#: userland/apps/fileman/model.c:631 +#: userland/apps/fileman/model.c:628 msgid "Default program is for files" msgstr "既定のプログラムはファイルに対して設定してください" -#: userland/apps/fileman/main.cpp:1282 +#: userland/apps/fileman/main.cpp:1204 msgid "Delete" msgstr "削除" @@ -238,7 +240,7 @@ msgstr "削除" msgid "Delete canceled" msgstr "削除をキャンセルしました" -#: userland/apps/fileman/main.cpp:1326 +#: userland/apps/fileman/main.cpp:1248 msgid "Delete selected items after confirmation" msgstr "確認後に選択した項目を削除" @@ -246,23 +248,23 @@ msgstr "確認後に選択した項目を削除" msgid "Deleting items..." msgstr "項目を削除中..." -#: userland/apps/fileman/actions.c:142 +#: userland/apps/fileman/actions.c:144 msgid "Desktop folder unavailable" msgstr "デスクトップフォルダーを利用できません" -#: userland/apps/fileman/main.cpp:1279 +#: userland/apps/fileman/main.cpp:1201 msgid "Details" msgstr "詳細" -#: userland/apps/fileman/main.cpp:1021 +#: userland/apps/fileman/main.cpp:944 msgid "Device" msgstr "デバイス" -#: userland/apps/fileman/volume_ui.cpp:182 +#: userland/apps/fileman/volume_ui.cpp:183 msgid "Device is busy. Close files and terminals on it, then try again." msgstr "デバイスは使用中です。このデバイス内のファイルや端末を閉じてから再試行してください。" -#: userland/apps/fileman/volume_ui.cpp:179 +#: userland/apps/fileman/volume_ui.cpp:180 msgid "Device mounted." msgstr "デバイスをマウントしました。" @@ -270,15 +272,15 @@ msgstr "デバイスをマウントしました。" msgid "Devices" msgstr "デバイス" -#: userland/apps/fileman/main.cpp:1352 +#: userland/apps/fileman/main.cpp:1274 msgid "Double-click a folder to expand or collapse its tree" msgstr "フォルダーをダブルクリックするとツリーを展開または折りたためます" -#: userland/apps/fileman/main.cpp:1362 +#: userland/apps/fileman/main.cpp:1284 msgid "Double-click to open. Ctrl/Shift selects multiple items." msgstr "ダブルクリックで開きます。Ctrl/Shift で複数の項目を選択できます。" -#: userland/apps/fileman/main.cpp:1283 +#: userland/apps/fileman/main.cpp:1205 msgid "Edit" msgstr "編集" @@ -286,27 +288,27 @@ msgstr "編集" msgid "Eject" msgstr "取り外す" -#: userland/apps/fileman/model.c:734 +#: userland/apps/fileman/model.c:731 msgid "Elevated - items " msgstr "管理者権限 - 項目数 " -#: userland/apps/fileman/main.cpp:1309 +#: userland/apps/fileman/main.cpp:1231 msgid "Enter a folder path, then press Enter (Ctrl+L)" msgstr "フォルダーのパスを入力して Enter キーを押してください (Ctrl+L)" -#: userland/apps/fileman/main.cpp:782 +#: userland/apps/fileman/main.cpp:705 msgid "Enter part of a file or folder name." msgstr "ファイル名またはフォルダー名の一部を入力してください。" -#: userland/apps/fileman/actions.c:319 +#: userland/apps/fileman/actions.c:321 msgid "Extract tar" msgstr "tar を展開" -#: userland/apps/fileman/actions.c:327 +#: userland/apps/fileman/actions.c:329 msgid "Extracting tar..." msgstr "tar を展開中..." -#: userland/apps/fileman/actions.c:321 +#: userland/apps/fileman/actions.c:323 msgid "Extraction canceled" msgstr "展開をキャンセルしました" @@ -314,7 +316,7 @@ msgstr "展開をキャンセルしました" msgid "Favorites" msgstr "お気に入り" -#: userland/apps/fileman/main.cpp:1023 +#: userland/apps/fileman/main.cpp:945 msgid "File" msgstr "ファイル" @@ -322,11 +324,11 @@ msgstr "ファイル" msgid "File Conflict" msgstr "ファイルの競合" -#: userland/apps/fileman/main.cpp:902 +#: userland/apps/fileman/main.cpp:825 msgid "File Manager" msgstr "ファイルマネージャー" -#: userland/apps/fileman/main.cpp:483 +#: userland/apps/fileman/main.cpp:414 msgid "File Manager Settings" msgstr "ファイルマネージャーの設定" @@ -338,43 +340,43 @@ msgstr "ファイルマネージャーの設定を保存しました" msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fileman/main.cpp:817 +#: userland/apps/fileman/main.cpp:740 msgid "File name:" msgstr "ファイル名:" -#: userland/apps/fileman/main.cpp:1020 +#: userland/apps/fileman/main.cpp:943 msgid "Folder" msgstr "フォルダー" -#: userland/apps/fileman/actions.c:119 +#: userland/apps/fileman/actions.c:121 msgid "Folder created" msgstr "フォルダーを作成しました" -#: userland/apps/fileman/actions.c:103 +#: userland/apps/fileman/actions.c:105 msgid "Folder created (elevated)" msgstr "フォルダーを作成しました (管理者権限)" -#: userland/apps/fileman/actions.c:86 +#: userland/apps/fileman/actions.c:88 msgid "Folder name is empty" msgstr "フォルダー名が空です" -#: userland/apps/fileman/actions.c:81 +#: userland/apps/fileman/actions.c:83 msgid "Folder name:" msgstr "フォルダー名:" -#: userland/apps/fileman/main.cpp:1339 +#: userland/apps/fileman/main.cpp:1261 msgid "Folders" msgstr "フォルダー" -#: userland/apps/fileman/main.cpp:569 +#: userland/apps/fileman/main.cpp:500 msgid "GID" msgstr "GID" -#: userland/apps/fileman/main.cpp:826 +#: userland/apps/fileman/main.cpp:749 msgid "Ignore English letter case" msgstr "英字の大文字と小文字を区別しない" -#: userland/apps/fileman/main.cpp:824 +#: userland/apps/fileman/main.cpp:747 msgid "Include subfolders" msgstr "サブフォルダーを含める" @@ -382,23 +384,23 @@ msgstr "サブフォルダーを含める" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/fileman/main.cpp:420 +#: userland/apps/fileman/main.cpp:351 msgid "Input is too long; the value was not changed." msgstr "入力が長すぎます。値は変更されていません。" -#: userland/apps/fileman/actions.c:309 +#: userland/apps/fileman/actions.c:311 msgid "Invalid extraction folder name" msgstr "無効な展開先フォルダー名" -#: userland/apps/fileman/actions.c:197 +#: userland/apps/fileman/actions.c:199 msgid "Invalid file name or path too long" msgstr "ファイル名が無効か、パスが長すぎます" -#: userland/apps/fileman/actions.c:90 +#: userland/apps/fileman/actions.c:92 msgid "Invalid folder name or path too long" msgstr "フォルダー名が無効か、パスが長すぎます" -#: userland/apps/fileman/main.cpp:600 +#: userland/apps/fileman/main.cpp:531 msgid "Invalid mode, UID or GID" msgstr "モード、UID、または GID が無効です" @@ -410,7 +412,7 @@ msgstr "項目にマークを付けました" msgid "Item unmarked" msgstr "項目のマークを外しました" -#: userland/apps/fileman/main.cpp:923 +#: userland/apps/fileman/main.cpp:846 msgid "Items " msgstr "項目数 " @@ -438,11 +440,11 @@ msgstr "デバイスを検索中…" msgid "Manage Favorites" msgstr "お気に入りの管理" -#: userland/apps/fileman/main.cpp:1288 +#: userland/apps/fileman/main.cpp:1210 msgid "Mark All" msgstr "すべてマーク" -#: userland/apps/fileman/main.cpp:1287 +#: userland/apps/fileman/main.cpp:1209 msgid "Mark for Batch" msgstr "一括処理用にマーク" @@ -450,15 +452,15 @@ msgstr "一括処理用にマーク" msgid "Marks cleared" msgstr "マークを解除しました" -#: userland/apps/fileman/main.cpp:830 +#: userland/apps/fileman/main.cpp:753 msgid "Matches part of a file or folder name." msgstr "ファイル名またはフォルダー名の一部に一致します。" -#: userland/apps/fileman/main.cpp:558 +#: userland/apps/fileman/main.cpp:489 msgid "Mode (octal)" msgstr "モード (8 進数)" -#: userland/apps/fileman/volume_ui.cpp:117 +#: userland/apps/fileman/volume_ui.cpp:118 msgid "Mounting device..." msgstr "マウント中…" @@ -466,7 +468,7 @@ msgstr "マウント中…" msgid "Move complete" msgstr "移動が完了しました" -#: userland/apps/fileman/main.cpp:1323 +#: userland/apps/fileman/main.cpp:1245 msgid "Move selected items using Cut and Paste (Ctrl+X)" msgstr "切り取りと貼り付けで選択した項目を移動 (Ctrl+X)" @@ -474,7 +476,7 @@ msgstr "切り取りと貼り付けで選択した項目を移動 (Ctrl+X)" msgid "Moving files..." msgstr "ファイルを移動中..." -#: userland/apps/fileman/main.cpp:548 +#: userland/apps/fileman/main.cpp:479 msgid "Name" msgstr "名前" @@ -482,31 +484,31 @@ msgstr "名前" msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" -#: userland/apps/fileman/actions.c:81 +#: userland/apps/fileman/actions.c:83 msgid "New Folder" msgstr "新規フォルダ" -#: userland/apps/fileman/actions.c:82 +#: userland/apps/fileman/actions.c:84 msgid "New folder canceled" msgstr "フォルダーの作成をキャンセルしました" -#: userland/apps/fileman/actions.c:192 +#: userland/apps/fileman/actions.c:194 msgid "New name is empty" msgstr "新しい名前が空です" -#: userland/apps/fileman/actions.c:187 +#: userland/apps/fileman/actions.c:189 msgid "New name:" msgstr "新しい名前:" -#: userland/apps/fileman/main.cpp:436 +#: userland/apps/fileman/main.cpp:367 msgid "No" msgstr "いいえ" -#: userland/apps/fileman/main.cpp:694 +#: userland/apps/fileman/main.cpp:617 msgid "No matches found" msgstr "一致する項目がありません" -#: userland/apps/fileman/volume_ui.cpp:142 +#: userland/apps/fileman/volume_ui.cpp:143 msgid "No removable devices" msgstr "リムーバブル機器なし" @@ -514,59 +516,59 @@ msgstr "リムーバブル機器なし" msgid "Not mounted" msgstr "未マウント" -#: userland/apps/fileman/main.cpp:407 +#: userland/apps/fileman/main.cpp:338 msgid "OK" msgstr "OK" -#: userland/apps/fileman/main.cpp:839 +#: userland/apps/fileman/main.cpp:762 msgid "Open" msgstr "開く" -#: userland/apps/fileman/main.cpp:842 +#: userland/apps/fileman/main.cpp:765 msgid "Open Containing Folder" msgstr "保存先フォルダーを開く" -#: userland/apps/fileman/main.cpp:622 +#: userland/apps/fileman/main.cpp:551 msgid "Open With" msgstr "別のプログラムで開く" -#: userland/apps/fileman/main.cpp:625 +#: userland/apps/fileman/main.cpp:554 msgid "Open With canceled" msgstr "プログラムを指定して開く操作をキャンセルしました" -#: userland/apps/fileman/main.cpp:647 +#: userland/apps/fileman/main.cpp:570 msgid "Open With failed" msgstr "指定したプログラムで開けませんでした" -#: userland/apps/fileman/model.c:616 +#: userland/apps/fileman/model.c:613 msgid "Open With is for files" msgstr "プログラムを指定して開く操作はファイルに対して使用してください" -#: userland/apps/fileman/main.cpp:1276 +#: userland/apps/fileman/main.cpp:1198 msgid "Open With..." msgstr "別のプログラムで開く..." -#: userland/apps/fileman/main.cpp:1320 +#: userland/apps/fileman/main.cpp:1242 msgid "Open the selected item (Enter)" msgstr "選択した項目を開く (Enter)" -#: userland/apps/fileman/main.cpp:1285 +#: userland/apps/fileman/main.cpp:1207 msgid "Paste" msgstr "貼り付け" -#: userland/apps/fileman/main.cpp:1324 +#: userland/apps/fileman/main.cpp:1246 msgid "Paste into the current folder (Ctrl+V)" msgstr "現在のフォルダーに貼り付け (Ctrl+V)" -#: userland/apps/fileman/main.cpp:550 +#: userland/apps/fileman/main.cpp:481 msgid "Path" msgstr "パス" -#: userland/apps/fileman/main.cpp:1069 +#: userland/apps/fileman/main.cpp:991 msgid "Path is too long" msgstr "パスが長すぎます" -#: userland/apps/fileman/actions.c:365 +#: userland/apps/fileman/actions.c:367 msgid "Path too long" msgstr "パスが長すぎます" @@ -574,7 +576,7 @@ msgstr "パスが長すぎます" msgid "Permanently delete the selected items and all folder contents? This cannot be undone." msgstr "選択した項目とフォルダー内のすべての内容を完全に削除しますか? この操作は元に戻せません。" -#: userland/apps/fileman/main.cpp:575 +#: userland/apps/fileman/main.cpp:506 msgid "Permission changes use the current user's access rights." msgstr "アクセス権の変更には現在のユーザーの権限が適用されます。" @@ -582,11 +584,11 @@ msgstr "アクセス権の変更には現在のユーザーの権限が適用さ msgid "Permission denied; administrator access requires a terminal in X11" msgstr "アクセスが拒否されました。X11 環境での管理者操作には端末が必要です" -#: userland/apps/fileman/main.cpp:611 +#: userland/apps/fileman/main.cpp:542 msgid "Permissions saved" msgstr "アクセス権を保存しました" -#: userland/apps/fileman/actions.c:137 +#: userland/apps/fileman/actions.c:139 msgid "Place shortcut on Desktop? No creates it here." msgstr "デスクトップにショートカットを作成しますか? 「いいえ」を選ぶと現在の場所に作成します。" @@ -594,7 +596,7 @@ msgstr "デスクトップにショートカットを作成しますか? 「い msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/fileman/volume_ui.cpp:117 +#: userland/apps/fileman/volume_ui.cpp:118 msgid "Preparing device for removal..." msgstr "取り外しの準備中…" @@ -602,107 +604,107 @@ msgstr "取り外しの準備中…" msgid "Preview" msgstr "プレビュー" -#: userland/apps/fileman/main.cpp:555 +#: userland/apps/fileman/main.cpp:486 msgid "Properties" msgstr "プロパティ" -#: userland/apps/fileman/main.cpp:535 +#: userland/apps/fileman/main.cpp:466 msgid "Properties failed" msgstr "プロパティの取得に失敗しました" -#: userland/apps/fileman/main.cpp:930 +#: userland/apps/fileman/main.cpp:853 msgid "Ready" msgstr "準備完了" -#: userland/apps/fileman/main.cpp:1293 +#: userland/apps/fileman/main.cpp:1215 msgid "Refresh" msgstr "更新" -#: userland/apps/fileman/main.cpp:931 +#: userland/apps/fileman/main.cpp:854 msgid "Refresh (F5)" msgstr "更新 (F5)" -#: userland/apps/fileman/main.cpp:633 -msgid "Remember this application for files with the same extension?" -msgstr "同じ拡張子のファイルにこのアプリケーションを使用しますか?" +#: userland/apps/fileman/main.cpp:558 +msgid "Remember this application for files of the same type?" +msgstr "同じ種類のファイルにこのアプリケーションを記憶しますか?" -#: userland/apps/fileman/actions.c:187 +#: userland/apps/fileman/actions.c:189 msgid "Rename" msgstr "名前の変更" -#: userland/apps/fileman/actions.c:202 +#: userland/apps/fileman/actions.c:204 msgid "Rename Conflict" msgstr "名前変更の競合" -#: userland/apps/fileman/actions.c:188 +#: userland/apps/fileman/actions.c:190 msgid "Rename canceled" msgstr "名前変更をキャンセルしました" -#: userland/apps/fileman/main.cpp:1325 +#: userland/apps/fileman/main.cpp:1247 msgid "Rename the selected item (F2)" msgstr "選択した項目の名前を変更 (F2)" -#: userland/apps/fileman/actions.c:230 +#: userland/apps/fileman/actions.c:232 msgid "Renamed" msgstr "名前を変更しました" -#: userland/apps/fileman/actions.c:214 +#: userland/apps/fileman/actions.c:216 msgid "Renamed (elevated)" msgstr "名前を変更しました (管理者権限)" -#: userland/apps/fileman/main.cpp:1292 +#: userland/apps/fileman/main.cpp:1214 msgid "Root" msgstr "ルート" -#: userland/apps/fileman/main.cpp:487 +#: userland/apps/fileman/main.cpp:418 msgid "Save" msgstr "保存" -#: userland/apps/fileman/main.cpp:822 +#: userland/apps/fileman/main.cpp:745 msgid "Search" msgstr "検索" -#: userland/apps/fileman/main.cpp:810 +#: userland/apps/fileman/main.cpp:733 msgid "Search Files" msgstr "ファイルを検索" -#: userland/apps/fileman/main.cpp:1286 +#: userland/apps/fileman/main.cpp:1208 msgid "Search Files..." msgstr "ファイルを検索..." -#: userland/apps/fileman/main.cpp:694 +#: userland/apps/fileman/main.cpp:617 msgid "Search complete" msgstr "検索が完了しました" -#: userland/apps/fileman/main.cpp:693 +#: userland/apps/fileman/main.cpp:616 msgid "Search complete (partial)" msgstr "検索が完了しました (一部)" -#: userland/apps/fileman/main.cpp:813 +#: userland/apps/fileman/main.cpp:736 msgid "Search in:" msgstr "検索する場所:" -#: userland/apps/fileman/main.cpp:691 +#: userland/apps/fileman/main.cpp:614 msgid "Search stopped" msgstr "検索を停止しました" -#: userland/apps/fileman/main.cpp:692 +#: userland/apps/fileman/main.cpp:615 msgid "Search stopped at limit" msgstr "上限に達したため検索を停止しました" -#: userland/apps/fileman/main.cpp:1312 +#: userland/apps/fileman/main.cpp:1234 msgid "Search this folder and subfolders (Ctrl+F)" msgstr "このフォルダーとサブフォルダーを検索 (Ctrl+F)" -#: userland/apps/fileman/main.cpp:690 +#: userland/apps/fileman/main.cpp:613 msgid "Searching" msgstr "検索中" -#: userland/apps/fileman/model.c:612 +#: userland/apps/fileman/model.c:609 msgid "Select a file" msgstr "ファイルを選択" -#: userland/apps/fileman/actions.c:303 +#: userland/apps/fileman/actions.c:305 msgid "Select a tar file" msgstr "tar ファイルを選択" @@ -710,23 +712,23 @@ msgstr "tar ファイルを選択" msgid "Select an item" msgstr "項目を選択してください" -#: userland/apps/fileman/main.cpp:1294 +#: userland/apps/fileman/main.cpp:1216 msgid "Settings..." msgstr "設定..." -#: userland/apps/fileman/main.cpp:1023 +#: userland/apps/fileman/main.cpp:945 msgid "Shortcut" msgstr "ショートカット" -#: userland/apps/fileman/actions.c:173 +#: userland/apps/fileman/actions.c:175 msgid "Shortcut created" msgstr "ショートカットを作成しました" -#: userland/apps/fileman/main.cpp:485 +#: userland/apps/fileman/main.cpp:416 msgid "Show files and folders starting with a dot" msgstr "名前がドットで始まるファイルとフォルダーを表示" -#: userland/apps/fileman/main.cpp:828 +#: userland/apps/fileman/main.cpp:751 msgid "Show hidden files" msgstr "隠しファイルを表示" @@ -734,11 +736,11 @@ msgstr "隠しファイルを表示" msgid "Show:" msgstr "表示:" -#: userland/apps/fileman/main.cpp:551 +#: userland/apps/fileman/main.cpp:482 msgid "Size" msgstr "サイズ" -#: userland/apps/fileman/main.cpp:845 +#: userland/apps/fileman/main.cpp:768 msgid "Stop" msgstr "停止" @@ -746,23 +748,23 @@ msgstr "停止" msgid "System clipboard is unavailable" msgstr "システムのクリップボードを利用できません" -#: userland/apps/fileman/actions.c:392 +#: userland/apps/fileman/actions.c:394 msgid "Tar created successfully" msgstr "tar を作成しました" -#: userland/apps/fileman/actions.c:391 +#: userland/apps/fileman/actions.c:393 msgid "Tar creation failed" msgstr "tar の作成に失敗しました" -#: userland/apps/fileman/actions.c:335 +#: userland/apps/fileman/actions.c:337 msgid "Tar extracted successfully" msgstr "tar を展開しました" -#: userland/apps/fileman/actions.c:334 +#: userland/apps/fileman/actions.c:336 msgid "Tar extraction failed; check the archive and destination permissions" msgstr "tar の展開に失敗しました。アーカイブと保存先のアクセス権を確認してください" -#: userland/apps/fileman/actions.c:370 +#: userland/apps/fileman/actions.c:372 msgid "The archive exists. Replace it?" msgstr "アーカイブが存在します。置き換えますか?" @@ -770,7 +772,7 @@ msgstr "アーカイブが存在します。置き換えますか?" msgid "The clipboard does not contain usable local files" msgstr "クリップボードに利用できるローカルファイルがありません" -#: userland/apps/fileman/actions.c:202 +#: userland/apps/fileman/actions.c:204 msgid "The destination exists. Replace it?" msgstr "保存先が存在します。置き換えますか?" @@ -778,11 +780,11 @@ msgstr "保存先が存在します。置き換えますか?" msgid "The destination exists. Replace it? Choose No to save with another name." msgstr "保存先が存在します。置き換えますか? 別の名前で保存するには「いいえ」を選択してください。" -#: userland/apps/fileman/volume_ui.cpp:183 +#: userland/apps/fileman/volume_ui.cpp:184 msgid "The device changed or is unavailable. Refresh and try again." msgstr "デバイスが変更されたか、利用できません。更新して再試行してください。" -#: userland/apps/fileman/actions.c:320 +#: userland/apps/fileman/actions.c:322 msgid "The extraction folder exists. Existing files may be replaced. Continue?" msgstr "展開先フォルダーが存在します。既存のファイルが置き換えられる場合があります。続行しますか?" @@ -790,19 +792,19 @@ msgstr "展開先フォルダーが存在します。既存のファイルが置 msgid "The folder changed or is busy. Paste again." msgstr "フォルダーが変更されたか処理中です。もう一度貼り付けてください。" -#: userland/apps/fileman/volume_ui.cpp:185 +#: userland/apps/fileman/volume_ui.cpp:186 msgid "This filesystem is not supported." msgstr "このファイルシステムはサポートされていません。" -#: userland/apps/fileman/main.cpp:549 +#: userland/apps/fileman/main.cpp:480 msgid "Type" msgstr "種類" -#: userland/apps/fileman/main.cpp:564 +#: userland/apps/fileman/main.cpp:495 msgid "UID" msgstr "UID" -#: userland/apps/fileman/model.c:467 +#: userland/apps/fileman/model.c:464 msgid "Unmark" msgstr "マークを外す" @@ -810,35 +812,31 @@ msgstr "マークを外す" msgid "Unmount every volume on this device before unplugging it." msgstr "取り外す前に、このデバイスのすべてのボリュームをアンマウントします。" -#: userland/apps/fileman/main.cpp:1291 +#: userland/apps/fileman/main.cpp:1213 msgid "Up" msgstr "上へ" -#: userland/apps/fileman/main.cpp:1301 +#: userland/apps/fileman/main.cpp:1223 msgid "Up one folder (Alt+Up)" msgstr "1 つ上のフォルダーへ (Alt+上)" -#: userland/apps/fileman/main.cpp:1291 +#: userland/apps/fileman/main.cpp:1213 msgid "View" msgstr "表示" -#: userland/apps/fileman/main.cpp:1321 +#: userland/apps/fileman/main.cpp:1243 msgid "View properties and permissions" msgstr "プロパティとアクセス権を表示" -#: userland/apps/fileman/main.cpp:129 +#: userland/apps/fileman/main.cpp:130 msgid "Wait for the device operation to finish before closing this window." msgstr "デバイス操作が完了してからウィンドウを閉じてください。" -#: userland/apps/fileman/main.cpp:623 -msgid "X11 executable path (NEdit: /usr/bin/nedit, NetSurf: /usr/bin/netsurf):" -msgstr "X11 実行ファイルのパス (NEdit: /usr/bin/nedit、NetSurf: /usr/bin/netsurf):" - -#: userland/apps/fileman/main.cpp:435 +#: userland/apps/fileman/main.cpp:366 msgid "Yes" msgstr "はい" -#: userland/apps/fileman/volume_ui.cpp:180 +#: userland/apps/fileman/volume_ui.cpp:181 msgid "You can safely unplug the device." msgstr "デバイスを安全に取り外せます。" diff --git a/configs/nls/po/fileman/zh_CN.po b/configs/nls/po/fileman/zh_CN.po index 61b69d21..884d5bab 100644 --- a/configs/nls/po/fileman/zh_CN.po +++ b/configs/nls/po/fileman/zh_CN.po @@ -1,16 +1,20 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:44+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" "Language: zh_CN\n" +"Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fileman/model.c:551 +#: userland/apps/fileman/model.c:548 msgid " (partial)" msgstr " (部分)" @@ -18,11 +22,11 @@ msgstr " (部分)" msgid " failed" msgstr " 个失败" -#: userland/apps/fileman/model.c:547 +#: userland/apps/fileman/model.c:544 msgid " files, " msgstr " 个文件, " -#: userland/apps/fileman/model.c:549 +#: userland/apps/fileman/model.c:546 msgid " folders" msgstr " 个文件夹" @@ -30,11 +34,13 @@ msgstr " 个文件夹" msgid " item(s) completed; " msgstr " 个项目完成;" -#: userland/apps/fileman/main.cpp:696 +#: userland/apps/fileman/main.cpp:619 +#, python-format msgid "%s — %lu checked, %u matches, %lu skipped" msgstr "%s — 已检查 %lu 项,匹配 %u 项,跳过 %lu 项" -#: userland/apps/fileman/main.cpp:947 +#: userland/apps/fileman/main.cpp:870 +#, python-format msgid "%u items, %u selected" msgstr "%u 项,已选择 %u 项" @@ -42,19 +48,23 @@ msgstr "%u 项,已选择 %u 项" msgid "A clipboard path is too long" msgstr "剪贴板中的路径过长" -#: userland/apps/fileman/main.cpp:1295 +#: userland/apps/fileman/main.cpp:1217 msgid "About" msgstr "关于" +#: userland/apps/fileman/main.cpp:552 +msgid "Absolute path to an executable or .desktop file:" +msgstr "可执行文件或 .desktop 文件的绝对路径:" + #: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/fileman/main.cpp:1304 +#: userland/apps/fileman/main.cpp:1226 msgid "Address" msgstr "地址" -#: userland/apps/fileman/volume_ui.cpp:186 +#: userland/apps/fileman/volume_ui.cpp:187 msgid "Administrator permission is required for this device operation." msgstr "此设备操作需要管理员权限。" @@ -66,59 +76,51 @@ msgstr "所有文件 (*)" msgid "All items marked" msgstr "已标记所有项目" -#: userland/apps/fileman/main.cpp:1022 -msgid "Application" -msgstr "应用程序" - -#: userland/apps/fileman/main.cpp:648 +#: userland/apps/fileman/actions.c:48 msgid "Application launched" msgstr "程序已启动" -#: userland/apps/fileman/main.cpp:1296 +#: userland/apps/fileman/main.cpp:1218 msgid "Archive" msgstr "归档" -#: userland/apps/fileman/actions.c:370 +#: userland/apps/fileman/actions.c:372 msgid "Archive Conflict" msgstr "归档文件冲突" -#: userland/apps/fileman/volume_ui.cpp:184 +#: userland/apps/fileman/volume_ui.cpp:185 msgid "Authentication was cancelled or the device operation failed." msgstr "验证已取消或设备操作失败。" -#: userland/apps/fileman/main.cpp:930 +#: userland/apps/fileman/main.cpp:853 msgid "Automatic refresh unavailable; press F5" msgstr "自动刷新不可用,请按 F5 刷新" -#: userland/apps/fileman/main.cpp:932 +#: userland/apps/fileman/main.cpp:855 msgid "Automatic refresh unavailable; refresh manually (F5)" msgstr "自动刷新不可用,请手动刷新(F5)" -#: userland/apps/fileman/main.cpp:903 +#: userland/apps/fileman/main.cpp:826 msgid "Browse files, manage folders and launch X11 applications." msgstr "浏览文件、管理文件夹并启动 X11 应用程序。" -#: userland/apps/fileman/main.cpp:408 +#: userland/apps/fileman/main.cpp:339 msgid "Cancel" msgstr "取消" -#: userland/apps/fileman/actions.c:316 +#: userland/apps/fileman/actions.c:318 msgid "Cannot create extraction folder" msgstr "无法创建解压文件夹" -#: userland/apps/fileman/volume_ui.cpp:126 +#: userland/apps/fileman/volume_ui.cpp:127 msgid "Cannot read the device list." msgstr "无法读取设备列表。" -#: userland/apps/fileman/volume_ui.cpp:113 +#: userland/apps/fileman/volume_ui.cpp:114 msgid "Cannot start the device operation." msgstr "无法启动设备操作。" -#: userland/apps/fileman/main.cpp:629 -msgid "Choose an installed X11 executable using its absolute path" -msgstr "请输入已安装 X11 程序的可执行文件绝对路径" - -#: userland/apps/fileman/main.cpp:1289 +#: userland/apps/fileman/main.cpp:1211 msgid "Clear Marks" msgstr "清除标记" @@ -134,23 +136,23 @@ msgstr "剪贴板包含的文件过多" msgid "Clipboard is empty" msgstr "剪贴板为空" -#: userland/apps/fileman/main.cpp:577 +#: userland/apps/fileman/main.cpp:508 msgid "Close" msgstr "关闭" -#: userland/apps/fileman/main.cpp:1296 +#: userland/apps/fileman/main.cpp:1218 msgid "Compress to .tar" msgstr "压缩为tar" -#: userland/apps/fileman/actions.c:385 +#: userland/apps/fileman/actions.c:387 msgid "Compressing to tar..." msgstr "正在压缩为tar..." -#: userland/apps/fileman/actions.c:371 +#: userland/apps/fileman/actions.c:373 msgid "Compression canceled" msgstr "已取消压缩" -#: userland/apps/fileman/main.cpp:1283 +#: userland/apps/fileman/main.cpp:1205 msgid "Copy" msgstr "复制" @@ -158,7 +160,7 @@ msgstr "复制" msgid "Copy complete" msgstr "复制完成" -#: userland/apps/fileman/main.cpp:1322 +#: userland/apps/fileman/main.cpp:1244 msgid "Copy selected items (Ctrl+C)" msgstr "复制所选项目(Ctrl+C)" @@ -174,11 +176,11 @@ msgstr "无法将文件复制到系统剪贴板" msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/fileman/main.cpp:101 +#: userland/apps/fileman/main.cpp:102 msgid "Could not open the requested path" msgstr "无法打开指定路径" -#: userland/apps/fileman/main.cpp:862 +#: userland/apps/fileman/main.cpp:785 msgid "Could not open the search result" msgstr "无法打开搜索结果" @@ -186,19 +188,19 @@ msgstr "无法打开搜索结果" msgid "Could not save file manager settings " msgstr "无法保存文件资源管理器设置 " -#: userland/apps/fileman/main.cpp:637 +#: userland/apps/fileman/main.cpp:561 msgid "Could not save the file association" msgstr "无法保存文件关联" -#: userland/apps/fileman/main.cpp:798 +#: userland/apps/fileman/main.cpp:721 msgid "Could not start search" msgstr "无法开始搜索" -#: userland/apps/fileman/actions.c:136 +#: userland/apps/fileman/actions.c:138 msgid "Create Shortcut" msgstr "创建快捷方式" -#: userland/apps/fileman/main.cpp:1319 +#: userland/apps/fileman/main.cpp:1241 msgid "Create a folder in the current location" msgstr "在当前位置新建文件夹" @@ -210,27 +212,27 @@ msgstr "创建新目录" msgid "Custom Filter" msgstr "自定义筛选器" -#: userland/apps/fileman/main.cpp:1284 +#: userland/apps/fileman/main.cpp:1206 msgid "Cut" msgstr "剪切" -#: userland/apps/fileman/main.cpp:622 +#: userland/apps/fileman/main.cpp:551 msgid "Default Program" msgstr "默认程序" -#: userland/apps/fileman/main.cpp:1277 +#: userland/apps/fileman/main.cpp:1199 msgid "Default Program..." msgstr "默认程序..." -#: userland/apps/fileman/main.cpp:641 +#: userland/apps/fileman/main.cpp:565 msgid "Default application saved" msgstr "已保存默认程序" -#: userland/apps/fileman/model.c:631 +#: userland/apps/fileman/model.c:628 msgid "Default program is for files" msgstr "默认程序仅用于文件" -#: userland/apps/fileman/main.cpp:1282 +#: userland/apps/fileman/main.cpp:1204 msgid "Delete" msgstr "删除" @@ -238,7 +240,7 @@ msgstr "删除" msgid "Delete canceled" msgstr "已取消删除" -#: userland/apps/fileman/main.cpp:1326 +#: userland/apps/fileman/main.cpp:1248 msgid "Delete selected items after confirmation" msgstr "确认后删除所选项目" @@ -246,23 +248,23 @@ msgstr "确认后删除所选项目" msgid "Deleting items..." msgstr "正在删除项目..." -#: userland/apps/fileman/actions.c:142 +#: userland/apps/fileman/actions.c:144 msgid "Desktop folder unavailable" msgstr "桌面文件夹不可用" -#: userland/apps/fileman/main.cpp:1279 +#: userland/apps/fileman/main.cpp:1201 msgid "Details" msgstr "详细信息" -#: userland/apps/fileman/main.cpp:1021 +#: userland/apps/fileman/main.cpp:944 msgid "Device" msgstr "设备" -#: userland/apps/fileman/volume_ui.cpp:182 +#: userland/apps/fileman/volume_ui.cpp:183 msgid "Device is busy. Close files and terminals on it, then try again." msgstr "设备正被占用。请关闭其中的文件和终端后重试。" -#: userland/apps/fileman/volume_ui.cpp:179 +#: userland/apps/fileman/volume_ui.cpp:180 msgid "Device mounted." msgstr "设备已挂载。" @@ -270,15 +272,15 @@ msgstr "设备已挂载。" msgid "Devices" msgstr "设备" -#: userland/apps/fileman/main.cpp:1352 +#: userland/apps/fileman/main.cpp:1274 msgid "Double-click a folder to expand or collapse its tree" msgstr "双击文件夹展开或折叠目录树" -#: userland/apps/fileman/main.cpp:1362 +#: userland/apps/fileman/main.cpp:1284 msgid "Double-click to open. Ctrl/Shift selects multiple items." msgstr "双击打开,按 Ctrl 或 Shift 可多选。" -#: userland/apps/fileman/main.cpp:1283 +#: userland/apps/fileman/main.cpp:1205 msgid "Edit" msgstr "编辑" @@ -286,27 +288,27 @@ msgstr "编辑" msgid "Eject" msgstr "弹出" -#: userland/apps/fileman/model.c:734 +#: userland/apps/fileman/model.c:731 msgid "Elevated - items " msgstr "已提权 - 项目 " -#: userland/apps/fileman/main.cpp:1309 +#: userland/apps/fileman/main.cpp:1231 msgid "Enter a folder path, then press Enter (Ctrl+L)" msgstr "输入文件夹路径后按 Enter(Ctrl+L)" -#: userland/apps/fileman/main.cpp:782 +#: userland/apps/fileman/main.cpp:705 msgid "Enter part of a file or folder name." msgstr "请输入文件或文件夹名称的一部分。" -#: userland/apps/fileman/actions.c:319 +#: userland/apps/fileman/actions.c:321 msgid "Extract tar" msgstr "解压tar" -#: userland/apps/fileman/actions.c:327 +#: userland/apps/fileman/actions.c:329 msgid "Extracting tar..." msgstr "正在解压tar..." -#: userland/apps/fileman/actions.c:321 +#: userland/apps/fileman/actions.c:323 msgid "Extraction canceled" msgstr "已取消解压" @@ -314,7 +316,7 @@ msgstr "已取消解压" msgid "Favorites" msgstr "收藏夹" -#: userland/apps/fileman/main.cpp:1023 +#: userland/apps/fileman/main.cpp:945 msgid "File" msgstr "文件" @@ -322,11 +324,11 @@ msgstr "文件" msgid "File Conflict" msgstr "文件冲突" -#: userland/apps/fileman/main.cpp:902 +#: userland/apps/fileman/main.cpp:825 msgid "File Manager" msgstr "文件资源管理器" -#: userland/apps/fileman/main.cpp:483 +#: userland/apps/fileman/main.cpp:414 msgid "File Manager Settings" msgstr "文件资源管理器设置" @@ -338,43 +340,43 @@ msgstr "文件资源管理器设置已保存" msgid "File Systems" msgstr "文件系统" -#: userland/apps/fileman/main.cpp:817 +#: userland/apps/fileman/main.cpp:740 msgid "File name:" msgstr "文件名:" -#: userland/apps/fileman/main.cpp:1020 +#: userland/apps/fileman/main.cpp:943 msgid "Folder" msgstr "文件夹" -#: userland/apps/fileman/actions.c:119 +#: userland/apps/fileman/actions.c:121 msgid "Folder created" msgstr "文件夹已创建" -#: userland/apps/fileman/actions.c:103 +#: userland/apps/fileman/actions.c:105 msgid "Folder created (elevated)" msgstr "文件夹已创建(已提权)" -#: userland/apps/fileman/actions.c:86 +#: userland/apps/fileman/actions.c:88 msgid "Folder name is empty" msgstr "文件夹名称为空" -#: userland/apps/fileman/actions.c:81 +#: userland/apps/fileman/actions.c:83 msgid "Folder name:" msgstr "文件夹名称:" -#: userland/apps/fileman/main.cpp:1339 +#: userland/apps/fileman/main.cpp:1261 msgid "Folders" msgstr "文件夹" -#: userland/apps/fileman/main.cpp:569 +#: userland/apps/fileman/main.cpp:500 msgid "GID" msgstr "组 ID" -#: userland/apps/fileman/main.cpp:826 +#: userland/apps/fileman/main.cpp:749 msgid "Ignore English letter case" msgstr "忽略英文字母大小写" -#: userland/apps/fileman/main.cpp:824 +#: userland/apps/fileman/main.cpp:747 msgid "Include subfolders" msgstr "包含子文件夹" @@ -382,23 +384,23 @@ msgstr "包含子文件夹" msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/fileman/main.cpp:420 +#: userland/apps/fileman/main.cpp:351 msgid "Input is too long; the value was not changed." msgstr "输入内容过长,原值未更改。" -#: userland/apps/fileman/actions.c:309 +#: userland/apps/fileman/actions.c:311 msgid "Invalid extraction folder name" msgstr "解压文件夹名称无效" -#: userland/apps/fileman/actions.c:197 +#: userland/apps/fileman/actions.c:199 msgid "Invalid file name or path too long" msgstr "文件名无效或路径过长" -#: userland/apps/fileman/actions.c:90 +#: userland/apps/fileman/actions.c:92 msgid "Invalid folder name or path too long" msgstr "文件夹名称无效或路径过长" -#: userland/apps/fileman/main.cpp:600 +#: userland/apps/fileman/main.cpp:531 msgid "Invalid mode, UID or GID" msgstr "权限、用户 ID 或组 ID 无效" @@ -410,7 +412,7 @@ msgstr "已标记项目" msgid "Item unmarked" msgstr "已取消标记项目" -#: userland/apps/fileman/main.cpp:923 +#: userland/apps/fileman/main.cpp:846 msgid "Items " msgstr "项目 " @@ -438,11 +440,11 @@ msgstr "正在查找设备…" msgid "Manage Favorites" msgstr "管理收藏夹" -#: userland/apps/fileman/main.cpp:1288 +#: userland/apps/fileman/main.cpp:1210 msgid "Mark All" msgstr "标记全部" -#: userland/apps/fileman/main.cpp:1287 +#: userland/apps/fileman/main.cpp:1209 msgid "Mark for Batch" msgstr "标记为批量操作" @@ -450,15 +452,15 @@ msgstr "标记为批量操作" msgid "Marks cleared" msgstr "已清除标记" -#: userland/apps/fileman/main.cpp:830 +#: userland/apps/fileman/main.cpp:753 msgid "Matches part of a file or folder name." msgstr "按文件或文件夹名称的一部分匹配。" -#: userland/apps/fileman/main.cpp:558 +#: userland/apps/fileman/main.cpp:489 msgid "Mode (octal)" msgstr "权限(八进制)" -#: userland/apps/fileman/volume_ui.cpp:117 +#: userland/apps/fileman/volume_ui.cpp:118 msgid "Mounting device..." msgstr "正在挂载设备…" @@ -466,7 +468,7 @@ msgstr "正在挂载设备…" msgid "Move complete" msgstr "移动完成" -#: userland/apps/fileman/main.cpp:1323 +#: userland/apps/fileman/main.cpp:1245 msgid "Move selected items using Cut and Paste (Ctrl+X)" msgstr "通过剪切和粘贴移动所选项目(Ctrl+X)" @@ -474,7 +476,7 @@ msgstr "通过剪切和粘贴移动所选项目(Ctrl+X)" msgid "Moving files..." msgstr "正在移动文件..." -#: userland/apps/fileman/main.cpp:548 +#: userland/apps/fileman/main.cpp:479 msgid "Name" msgstr "名称" @@ -482,31 +484,31 @@ msgstr "名称" msgid "New Directory?" msgstr "新建目录?" -#: userland/apps/fileman/actions.c:81 +#: userland/apps/fileman/actions.c:83 msgid "New Folder" msgstr "新建文件夹" -#: userland/apps/fileman/actions.c:82 +#: userland/apps/fileman/actions.c:84 msgid "New folder canceled" msgstr "已取消新建文件夹" -#: userland/apps/fileman/actions.c:192 +#: userland/apps/fileman/actions.c:194 msgid "New name is empty" msgstr "新名称为空" -#: userland/apps/fileman/actions.c:187 +#: userland/apps/fileman/actions.c:189 msgid "New name:" msgstr "新名称:" -#: userland/apps/fileman/main.cpp:436 +#: userland/apps/fileman/main.cpp:367 msgid "No" msgstr "否" -#: userland/apps/fileman/main.cpp:694 +#: userland/apps/fileman/main.cpp:617 msgid "No matches found" msgstr "未找到匹配项" -#: userland/apps/fileman/volume_ui.cpp:142 +#: userland/apps/fileman/volume_ui.cpp:143 msgid "No removable devices" msgstr "没有可移动设备" @@ -514,59 +516,59 @@ msgstr "没有可移动设备" msgid "Not mounted" msgstr "尚未挂载" -#: userland/apps/fileman/main.cpp:407 +#: userland/apps/fileman/main.cpp:338 msgid "OK" msgstr "确定" -#: userland/apps/fileman/main.cpp:839 +#: userland/apps/fileman/main.cpp:762 msgid "Open" msgstr "打开" -#: userland/apps/fileman/main.cpp:842 +#: userland/apps/fileman/main.cpp:765 msgid "Open Containing Folder" msgstr "打开所在文件夹" -#: userland/apps/fileman/main.cpp:622 +#: userland/apps/fileman/main.cpp:551 msgid "Open With" msgstr "打开方式" -#: userland/apps/fileman/main.cpp:625 +#: userland/apps/fileman/main.cpp:554 msgid "Open With canceled" msgstr "已取消打开方式" -#: userland/apps/fileman/main.cpp:647 +#: userland/apps/fileman/main.cpp:570 msgid "Open With failed" msgstr "使用指定程序打开失败" -#: userland/apps/fileman/model.c:616 +#: userland/apps/fileman/model.c:613 msgid "Open With is for files" msgstr "打开方式仅用于文件" -#: userland/apps/fileman/main.cpp:1276 +#: userland/apps/fileman/main.cpp:1198 msgid "Open With..." msgstr "打开方式..." -#: userland/apps/fileman/main.cpp:1320 +#: userland/apps/fileman/main.cpp:1242 msgid "Open the selected item (Enter)" msgstr "打开所选项目(Enter)" -#: userland/apps/fileman/main.cpp:1285 +#: userland/apps/fileman/main.cpp:1207 msgid "Paste" msgstr "粘贴" -#: userland/apps/fileman/main.cpp:1324 +#: userland/apps/fileman/main.cpp:1246 msgid "Paste into the current folder (Ctrl+V)" msgstr "粘贴到当前文件夹(Ctrl+V)" -#: userland/apps/fileman/main.cpp:550 +#: userland/apps/fileman/main.cpp:481 msgid "Path" msgstr "路径" -#: userland/apps/fileman/main.cpp:1069 +#: userland/apps/fileman/main.cpp:991 msgid "Path is too long" msgstr "路径过长" -#: userland/apps/fileman/actions.c:365 +#: userland/apps/fileman/actions.c:367 msgid "Path too long" msgstr "路径过长" @@ -574,7 +576,7 @@ msgstr "路径过长" msgid "Permanently delete the selected items and all folder contents? This cannot be undone." msgstr "永久删除所选项目及文件夹中的全部内容?此操作无法撤销。" -#: userland/apps/fileman/main.cpp:575 +#: userland/apps/fileman/main.cpp:506 msgid "Permission changes use the current user's access rights." msgstr "修改权限时使用当前用户的访问权限。" @@ -582,11 +584,11 @@ msgstr "修改权限时使用当前用户的访问权限。" msgid "Permission denied; administrator access requires a terminal in X11" msgstr "权限不足;在 X11 环境中需要通过终端获取管理员权限" -#: userland/apps/fileman/main.cpp:611 +#: userland/apps/fileman/main.cpp:542 msgid "Permissions saved" msgstr "权限已保存" -#: userland/apps/fileman/actions.c:137 +#: userland/apps/fileman/actions.c:139 msgid "Place shortcut on Desktop? No creates it here." msgstr "是否放到桌面?选择“否”则放在当前目录。" @@ -594,7 +596,7 @@ msgstr "是否放到桌面?选择“否”则放在当前目录。" msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/fileman/volume_ui.cpp:117 +#: userland/apps/fileman/volume_ui.cpp:118 msgid "Preparing device for removal..." msgstr "正在准备移除设备…" @@ -602,107 +604,107 @@ msgstr "正在准备移除设备…" msgid "Preview" msgstr "预览" -#: userland/apps/fileman/main.cpp:555 +#: userland/apps/fileman/main.cpp:486 msgid "Properties" msgstr "属性" -#: userland/apps/fileman/main.cpp:535 +#: userland/apps/fileman/main.cpp:466 msgid "Properties failed" msgstr "属性操作失败" -#: userland/apps/fileman/main.cpp:930 +#: userland/apps/fileman/main.cpp:853 msgid "Ready" msgstr "就绪" -#: userland/apps/fileman/main.cpp:1293 +#: userland/apps/fileman/main.cpp:1215 msgid "Refresh" msgstr "刷新" -#: userland/apps/fileman/main.cpp:931 +#: userland/apps/fileman/main.cpp:854 msgid "Refresh (F5)" msgstr "刷新(F5)" -#: userland/apps/fileman/main.cpp:633 -msgid "Remember this application for files with the same extension?" -msgstr "将此程序设为相同扩展名文件的默认打开程序?" +#: userland/apps/fileman/main.cpp:558 +msgid "Remember this application for files of the same type?" +msgstr "将此应用记为同类文件的默认打开方式?" -#: userland/apps/fileman/actions.c:187 +#: userland/apps/fileman/actions.c:189 msgid "Rename" msgstr "重命名" -#: userland/apps/fileman/actions.c:202 +#: userland/apps/fileman/actions.c:204 msgid "Rename Conflict" msgstr "重命名冲突" -#: userland/apps/fileman/actions.c:188 +#: userland/apps/fileman/actions.c:190 msgid "Rename canceled" msgstr "已取消重命名" -#: userland/apps/fileman/main.cpp:1325 +#: userland/apps/fileman/main.cpp:1247 msgid "Rename the selected item (F2)" msgstr "重命名所选项目(F2)" -#: userland/apps/fileman/actions.c:230 +#: userland/apps/fileman/actions.c:232 msgid "Renamed" msgstr "已重命名" -#: userland/apps/fileman/actions.c:214 +#: userland/apps/fileman/actions.c:216 msgid "Renamed (elevated)" msgstr "已重命名(已提权)" -#: userland/apps/fileman/main.cpp:1292 +#: userland/apps/fileman/main.cpp:1214 msgid "Root" msgstr "根目录" -#: userland/apps/fileman/main.cpp:487 +#: userland/apps/fileman/main.cpp:418 msgid "Save" msgstr "保存" -#: userland/apps/fileman/main.cpp:822 +#: userland/apps/fileman/main.cpp:745 msgid "Search" msgstr "搜索" -#: userland/apps/fileman/main.cpp:810 +#: userland/apps/fileman/main.cpp:733 msgid "Search Files" msgstr "搜索文件" -#: userland/apps/fileman/main.cpp:1286 +#: userland/apps/fileman/main.cpp:1208 msgid "Search Files..." msgstr "搜索文件…" -#: userland/apps/fileman/main.cpp:694 +#: userland/apps/fileman/main.cpp:617 msgid "Search complete" msgstr "搜索完成" -#: userland/apps/fileman/main.cpp:693 +#: userland/apps/fileman/main.cpp:616 msgid "Search complete (partial)" msgstr "搜索完成(部分)" -#: userland/apps/fileman/main.cpp:813 +#: userland/apps/fileman/main.cpp:736 msgid "Search in:" msgstr "搜索目录:" -#: userland/apps/fileman/main.cpp:691 +#: userland/apps/fileman/main.cpp:614 msgid "Search stopped" msgstr "搜索已停止" -#: userland/apps/fileman/main.cpp:692 +#: userland/apps/fileman/main.cpp:615 msgid "Search stopped at limit" msgstr "已达上限,搜索已停止" -#: userland/apps/fileman/main.cpp:1312 +#: userland/apps/fileman/main.cpp:1234 msgid "Search this folder and subfolders (Ctrl+F)" msgstr "搜索当前文件夹及子文件夹(Ctrl+F)" -#: userland/apps/fileman/main.cpp:690 +#: userland/apps/fileman/main.cpp:613 msgid "Searching" msgstr "正在搜索" -#: userland/apps/fileman/model.c:612 +#: userland/apps/fileman/model.c:609 msgid "Select a file" msgstr "请选择一个文件" -#: userland/apps/fileman/actions.c:303 +#: userland/apps/fileman/actions.c:305 msgid "Select a tar file" msgstr "请选择一个tar文件" @@ -710,23 +712,23 @@ msgstr "请选择一个tar文件" msgid "Select an item" msgstr "请选择一个项目" -#: userland/apps/fileman/main.cpp:1294 +#: userland/apps/fileman/main.cpp:1216 msgid "Settings..." msgstr "设置..." -#: userland/apps/fileman/main.cpp:1023 +#: userland/apps/fileman/main.cpp:945 msgid "Shortcut" msgstr "快捷方式" -#: userland/apps/fileman/actions.c:173 +#: userland/apps/fileman/actions.c:175 msgid "Shortcut created" msgstr "快捷方式已创建" -#: userland/apps/fileman/main.cpp:485 +#: userland/apps/fileman/main.cpp:416 msgid "Show files and folders starting with a dot" msgstr "显示名称以点开头的文件和文件夹" -#: userland/apps/fileman/main.cpp:828 +#: userland/apps/fileman/main.cpp:751 msgid "Show hidden files" msgstr "显示隐藏文件" @@ -734,11 +736,11 @@ msgstr "显示隐藏文件" msgid "Show:" msgstr "显示:" -#: userland/apps/fileman/main.cpp:551 +#: userland/apps/fileman/main.cpp:482 msgid "Size" msgstr "大小" -#: userland/apps/fileman/main.cpp:845 +#: userland/apps/fileman/main.cpp:768 msgid "Stop" msgstr "停止" @@ -746,23 +748,23 @@ msgstr "停止" msgid "System clipboard is unavailable" msgstr "系统剪贴板不可用" -#: userland/apps/fileman/actions.c:392 +#: userland/apps/fileman/actions.c:394 msgid "Tar created successfully" msgstr "Tar创建成功" -#: userland/apps/fileman/actions.c:391 +#: userland/apps/fileman/actions.c:393 msgid "Tar creation failed" msgstr "创建 tar 归档失败" -#: userland/apps/fileman/actions.c:335 +#: userland/apps/fileman/actions.c:337 msgid "Tar extracted successfully" msgstr "Tar解压成功" -#: userland/apps/fileman/actions.c:334 +#: userland/apps/fileman/actions.c:336 msgid "Tar extraction failed; check the archive and destination permissions" msgstr "解压 tar 失败,请检查归档和目标目录权限" -#: userland/apps/fileman/actions.c:370 +#: userland/apps/fileman/actions.c:372 msgid "The archive exists. Replace it?" msgstr "归档文件已存在,是否替换?" @@ -770,7 +772,7 @@ msgstr "归档文件已存在,是否替换?" msgid "The clipboard does not contain usable local files" msgstr "剪贴板中没有可用的本地文件" -#: userland/apps/fileman/actions.c:202 +#: userland/apps/fileman/actions.c:204 msgid "The destination exists. Replace it?" msgstr "目标已存在,是否替换?" @@ -778,11 +780,11 @@ msgstr "目标已存在,是否替换?" msgid "The destination exists. Replace it? Choose No to save with another name." msgstr "目标已存在。要替换它吗?选择“否”将使用其他名称保存。" -#: userland/apps/fileman/volume_ui.cpp:183 +#: userland/apps/fileman/volume_ui.cpp:184 msgid "The device changed or is unavailable. Refresh and try again." msgstr "设备已更换或不可用。请刷新后重试。" -#: userland/apps/fileman/actions.c:320 +#: userland/apps/fileman/actions.c:322 msgid "The extraction folder exists. Existing files may be replaced. Continue?" msgstr "解压文件夹已存在,现有文件可能被替换,是否继续?" @@ -790,19 +792,19 @@ msgstr "解压文件夹已存在,现有文件可能被替换,是否继续? msgid "The folder changed or is busy. Paste again." msgstr "文件夹已改变或正忙,请重新粘贴。" -#: userland/apps/fileman/volume_ui.cpp:185 +#: userland/apps/fileman/volume_ui.cpp:186 msgid "This filesystem is not supported." msgstr "不支持此文件系统。" -#: userland/apps/fileman/main.cpp:549 +#: userland/apps/fileman/main.cpp:480 msgid "Type" msgstr "类型" -#: userland/apps/fileman/main.cpp:564 +#: userland/apps/fileman/main.cpp:495 msgid "UID" msgstr "用户 ID" -#: userland/apps/fileman/model.c:467 +#: userland/apps/fileman/model.c:464 msgid "Unmark" msgstr "取消标记" @@ -810,35 +812,31 @@ msgstr "取消标记" msgid "Unmount every volume on this device before unplugging it." msgstr "拔出前卸载此设备上的所有卷。" -#: userland/apps/fileman/main.cpp:1291 +#: userland/apps/fileman/main.cpp:1213 msgid "Up" msgstr "上级" -#: userland/apps/fileman/main.cpp:1301 +#: userland/apps/fileman/main.cpp:1223 msgid "Up one folder (Alt+Up)" msgstr "返回上一级文件夹(Alt+Up)" -#: userland/apps/fileman/main.cpp:1291 +#: userland/apps/fileman/main.cpp:1213 msgid "View" msgstr "查看" -#: userland/apps/fileman/main.cpp:1321 +#: userland/apps/fileman/main.cpp:1243 msgid "View properties and permissions" msgstr "查看属性和权限" -#: userland/apps/fileman/main.cpp:129 +#: userland/apps/fileman/main.cpp:130 msgid "Wait for the device operation to finish before closing this window." msgstr "请等待设备操作完成后再关闭窗口。" -#: userland/apps/fileman/main.cpp:623 -msgid "X11 executable path (NEdit: /usr/bin/nedit, NetSurf: /usr/bin/netsurf):" -msgstr "X11 程序路径(NEdit:/usr/bin/nedit,NetSurf:/usr/bin/netsurf):" - -#: userland/apps/fileman/main.cpp:435 +#: userland/apps/fileman/main.cpp:366 msgid "Yes" msgstr "是" -#: userland/apps/fileman/volume_ui.cpp:180 +#: userland/apps/fileman/volume_ui.cpp:181 msgid "You can safely unplug the device." msgstr "现在可以安全拔出设备。" diff --git a/configs/nls/po/installer/installer.pot b/configs/nls/po/installer/installer.pot index 96b8d490..d820a01c 100644 --- a/configs/nls/po/installer/installer.pot +++ b/configs/nls/po/installer/installer.pot @@ -2,15 +2,7 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/installer/installer_tty.c:278 -msgid "A new installation formats the selected system partition. An update keeps accounts, files and local configuration." -msgstr "" - -#: userland/apps/installer/installer_tty.c:178 -msgid "A previous update is incomplete. This attempt will verify the system and recover the pending update stages." -msgstr "" - -#: userland/apps/installer/installer_tty.c:362 +#: userland/apps/installer/installer_tty.c:304 msgid "Accept and continue" msgstr "" @@ -18,171 +10,143 @@ msgstr "" msgid "Account and system options" msgstr "" -#: userland/apps/installer/install_ops.c:1344 +#: userland/apps/installer/install_ops.c:1096 msgid "Account setup failed" msgstr "" -#: userland/apps/installer/main.cpp:212 +#: userland/apps/installer/main.cpp:198 msgid "Accounts" msgstr "" -#: userland/apps/installer/installer_tty.c:177 -msgid "Accounts, personal files, installed software and local configuration are preserved." -msgstr "" - #: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/installer/main.cpp:1084 +#: userland/apps/installer/main.cpp:793 msgid "Add to plan" msgstr "" -#: userland/apps/installer/installer_update_engine.c:563 -msgid "Administrator privileges are required" +#: userland/apps/installer/main.cpp:975 +msgid "Administrator: root" msgstr "" -#: userland/apps/installer/main.cpp:1266 -msgid "Administrator: root" +#: userland/apps/installer/main.cpp:546 +msgid "After installation, update ReliefOS with pacman -Syu." msgstr "" #: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" -#: userland/apps/installer/installer_tui.c:565 +#: userland/apps/installer/install_ops.c:1159 +msgid "Another installation is already running" +msgstr "" + +#: userland/apps/installer/installer_tui.c:575 msgid "Apply" msgstr "" -#: userland/apps/installer/installer_update_engine.c:623 -msgid "Applying signed system packages" +#: userland/apps/installer/installer_tty.c:178 +msgid "Arch geographic mirror" msgstr "" -#: userland/apps/installer/install_ops.c:920 -msgid "Attach a disk and click Refresh." +#: userland/apps/installer/installer_tty.c:178 +msgid "Arch mirror" msgstr "" -#: userland/apps/installer/installer_tty.c:294 -msgid "Automatic" +#: userland/apps/installer/install_ops.c:880 +msgid "Attach a disk and click Refresh." msgstr "" -#: userland/apps/installer/installer_tty.c:146 +#: userland/apps/installer/installer_tty.c:123 msgid "Automatic layout" msgstr "" -#: userland/apps/installer/install_ops.c:313 +#: userland/apps/installer/installer_tty.c:178 +msgid "Automatic mirror list" +msgstr "" + +#: userland/apps/installer/install_ops.c:257 msgid "Automatic mode replaces its partition table; manual mode can preserve other partitions." msgstr "" -#: userland/apps/installer/main.cpp:1333 +#: userland/apps/installer/main.cpp:1042 msgid "Automatic partitioning creates a FAT32 ESP and an ext4 root. No BIOS Boot partition is needed." msgstr "" -#: userland/apps/installer/main.cpp:1334 +#: userland/apps/installer/main.cpp:1043 msgid "Automatic partitioning creates an unformatted BIOS Boot partition, a FAT32 ESP and an ext4 root. BIOS also uses the FAT32 partition for boot files." msgstr "" -#: userland/apps/installer/main.cpp:942 -msgid "Automatic plan: BIOS Boot 1 MiB; ESP 128 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." +#: userland/apps/installer/main.cpp:651 +msgid "Automatic plan: BIOS Boot 1 MiB; ESP 512 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." msgstr "" -#: userland/apps/installer/main.cpp:941 -msgid "Automatic plan: ESP 128 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." +#: userland/apps/installer/main.cpp:650 +msgid "Automatic plan: ESP 512 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." msgstr "" -#: userland/apps/installer/installer_tty.c:120 -msgid "Automatically identify a single ReliefOS installation" -msgstr "" - -#: userland/apps/installer/installer_tui.c:266 +#: userland/apps/installer/installer_tui.c:276 msgid "B BIOS E ESP R / D Data . Free" msgstr "" -#: userland/apps/installer/main.cpp:1184 +#: userland/apps/installer/main.cpp:893 msgid "BIOS Boot" msgstr "" -#: userland/apps/installer/installer_tui.c:486 +#: userland/apps/installer/installer_tui.c:496 msgid "Back" msgstr "" -#: userland/apps/installer/install_ops.c:1616 +#: userland/apps/installer/install_ops.c:941 msgid "Boot installation checks failed" msgstr "" -#: userland/apps/installer/installer_tty.c:128 -msgid "Boot partition" -msgstr "" - #: configs/nls/messages/installer.c:16 msgid "Bootloaders" msgstr "" -#: userland/apps/installer/installer_update_progress.c:17 -msgid "Calculating the offline package transaction" -msgstr "" - #: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" -#: userland/apps/installer/main.cpp:299 -msgid "Cancel check" -msgstr "" - -#: userland/apps/installer/installer_tty.c:397 +#: userland/apps/installer/installer_tty.c:336 msgid "Cancel installation" msgstr "" -#: userland/apps/installer/main.cpp:569 -msgid "Canceling the update check" -msgstr "" - -#: userland/apps/installer/installer_tui_job.c:229 -msgid "Canceling the update check. Waiting for cleanup." -msgstr "" - -#: userland/apps/installer/installer_tty.c:152 +#: userland/apps/installer/installer_tty.c:129 msgid "Cannot display this partition layout." msgstr "" -#: userland/apps/installer/installer_tty.c:233 +#: userland/apps/installer/installer_tty.c:201 msgid "Cannot initialize the terminal or installer log" msgstr "" -#: userland/apps/installer/installer_tui.c:601 +#: userland/apps/installer/installer_tui.c:611 msgid "Cannot read installer log" msgstr "" -#: userland/apps/installer/installer_tty.c:133 -msgid "Cannot read partition identity" -msgstr "" - -#: userland/apps/installer/main.cpp:971 +#: userland/apps/installer/main.cpp:680 msgid "Cannot read the partition layout" msgstr "" -#: userland/apps/installer/main.cpp:818 +#: userland/apps/installer/main.cpp:559 msgid "Cannot read the selected disk" msgstr "" -#: userland/apps/installer/installer_tty.c:374 +#: userland/apps/installer/installer_tty.c:316 msgid "Cannot select the requested locale." msgstr "" -#: userland/apps/installer/main.cpp:395 +#: userland/apps/installer/main.cpp:371 msgid "Cannot start the installation worker" msgstr "" -#: userland/apps/installer/main.cpp:525 -msgid "Cannot start the update worker" -msgstr "" - -#: userland/apps/installer/main.cpp:1008 +#: userland/apps/installer/main.cpp:717 msgid "Cannot update the partition plan" msgstr "" -#: userland/apps/installer/main.cpp:1113 +#: userland/apps/installer/main.cpp:822 msgid "Change added to the installation plan." msgstr "" @@ -190,95 +154,51 @@ msgstr "" msgid "Change partition type" msgstr "" -#: userland/apps/installer/installer_tty.c:426 +#: userland/apps/installer/installer_tty.c:357 msgid "Changes remain pending until installation is confirmed." msgstr "" -#: userland/apps/installer/installer_tty.c:153 +#: userland/apps/installer/installer_tty.c:130 msgid "Changes remain pending until you confirm the installation. Going back keeps your choices." msgstr "" -#: userland/apps/installer/main.cpp:229 -msgid "Check Again" -msgstr "" - -#: userland/apps/installer/main.cpp:234 -msgid "Check Update" -msgstr "" - -#: userland/apps/installer/installer_tty.c:363 -msgid "Check system" -msgstr "" - -#: userland/apps/installer/main.cpp:1420 +#: userland/apps/installer/main.cpp:1157 msgid "Check the target and planned changes. Use Back or the sidebar to change your choices." msgstr "" -#: userland/apps/installer/installer_tty.c:493 +#: userland/apps/installer/installer_tty.c:390 msgid "Check username and matching passwords (1-32 characters, no spaces)." msgstr "" -#: userland/apps/installer/installer_update_engine.c:611 -msgid "Checking bootloader files on the installation media" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:610 -msgid "Checking installation media and free space" -msgstr "" - -#: userland/apps/installer/installer_tui_job.c:215 -msgid "Checking installed system" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:14 -msgid "Checking signed repository and package archives" -msgstr "" - -#: userland/apps/installer/main.cpp:1499 -msgid "Checking system update" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:612 -msgid "Checking the installed bootloader layout" +#: userland/apps/installer/install_ops.c:1107 +msgid "Checking signed package repositories" msgstr "" -#: userland/apps/installer/main.cpp:550 -msgid "Checking the selected system" -msgstr "" - -#: userland/apps/installer/installer_tty.c:264 +#: userland/apps/installer/installer_tty.c:231 msgid "Choose a language, then configure your installation. You can return to earlier steps before installing." msgstr "" -#: userland/apps/installer/main.cpp:754 -msgid "Choose a new installation or update an existing ReliefOS system." -msgstr "" - -#: userland/apps/installer/main.cpp:1350 +#: userland/apps/installer/main.cpp:1059 msgid "Choose bootloaders" msgstr "" -#: userland/apps/installer/installer_tty.c:309 +#: userland/apps/installer/installer_tty.c:254 msgid "Choose how this disk will start. Selecting BIOS and UEFI supports both firmware types; the partition plan follows this choice." msgstr "" -#: userland/apps/installer/main.cpp:1376 +#: userland/apps/installer/main.cpp:1098 msgid "Choose the desktop and additional disk space for virtual memory." msgstr "" -#: userland/apps/installer/installer_tty.c:284 -msgid "Choose the disk containing ReliefOS. Check the installation before reviewing the update." -msgstr "" - -#: userland/apps/installer/installer_tty.c:285 +#: userland/apps/installer/installer_tty.c:245 msgid "Choose the installation disk. The next steps let you erase it or select partitions for coexistence." msgstr "" -#: userland/apps/installer/installer_tty.c:325 +#: userland/apps/installer/installer_tty.c:270 msgid "Choose the installed desktop and optional swapfile. These choices are included in the final review." msgstr "" -#: userland/apps/installer/main.cpp:698 +#: userland/apps/installer/main.cpp:504 msgid "Choose the language for Setup and the installed system." msgstr "" @@ -290,27 +210,15 @@ msgstr "" msgid "Close" msgstr "" -#: userland/apps/installer/installer_update_engine.c:637 -msgid "Closing the update target" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:138 -msgid "Comparing contents" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:141 -msgid "Completed" -msgstr "" - #: configs/nls/messages/installer.c:17 msgid "Configure partitions" msgstr "" -#: userland/apps/installer/install_ops.c:1341 +#: userland/apps/installer/install_ops.c:1126 msgid "Configuring installed system" msgstr "" -#: userland/apps/installer/main.cpp:213 +#: userland/apps/installer/main.cpp:199 msgid "Confirm" msgstr "" @@ -318,55 +226,55 @@ msgstr "" msgid "Confirm password" msgstr "" -#: userland/apps/installer/installer_tty.c:322 +#: userland/apps/installer/installer_tty.c:267 msgid "Confirm root password" msgstr "" -#: userland/apps/installer/installer_tty.c:208 +#: userland/apps/installer/installer_tty.c:173 msgid "Console only" msgstr "" -#: userland/apps/installer/main.cpp:1386 -msgid "Console only installs without a graphical login. XFCE is an experimental desktop option." -msgstr "" - -#: userland/apps/installer/installer_tui.c:551 +#: userland/apps/installer/installer_tui.c:561 msgid "Continue" msgstr "" -#: userland/apps/installer/install_ops.c:1646 -msgid "Copy failed" +#: userland/apps/installer/install_ops.c:1125 +msgid "Could not configure installed system" msgstr "" -#: userland/apps/installer/install_ops.c:1206 -msgid "Copy path is too long" +#: userland/apps/installer/install_ops.c:1138 +msgid "Could not configure target filesystems" msgstr "" -#: userland/apps/installer/installer_update_progress.c:139 -msgid "Copying" -msgstr "" - -#: userland/apps/installer/install_ops.c:979 -msgid "Copying system files" +#: userland/apps/installer/install_ops.c:1151 +msgid "Could not create installer state" msgstr "" #: userland/apps/fltk_png_app.h:46 msgid "Could not decode image" msgstr "" -#: userland/apps/installer/install_ops.c:908 +#: userland/apps/installer/install_ops.c:1088 +msgid "Could not identify the installation medium" +msgstr "" + +#: userland/apps/installer/install_ops.c:868 msgid "Could not list disks" msgstr "" -#: userland/apps/installer/install_ops.c:1637 +#: userland/apps/installer/install_ops.c:1111 msgid "Could not prepare target filesystems" msgstr "" -#: userland/apps/installer/install_ops.c:1661 -msgid "Could not save installed preferences" +#: userland/apps/installer/install_ops.c:937 +msgid "Could not synchronize target filesystem" +msgstr "" + +#: userland/apps/installer/install_ops.c:1106 +msgid "Could not verify online repositories or installation settings" msgstr "" -#: userland/apps/installer/installer_tty.c:156 +#: userland/apps/installer/installer_tty.c:133 msgid "Create" msgstr "" @@ -374,7 +282,7 @@ msgstr "" msgid "Create a new directory" msgstr "" -#: userland/apps/installer/installer_tty.c:330 +#: userland/apps/installer/installer_tty.c:275 msgid "Create a swapfile" msgstr "" @@ -382,11 +290,11 @@ msgstr "" msgid "Create partition" msgstr "" -#: userland/apps/installer/installer_tty.c:160 +#: userland/apps/installer/installer_tty.c:137 msgid "Create uses the first suitable free range." msgstr "" -#: userland/apps/installer/install_ops.c:1326 +#: userland/apps/installer/install_ops.c:955 msgid "Creating swapfile" msgstr "" @@ -406,23 +314,23 @@ msgstr "" msgid "Delete partition" msgstr "" -#: userland/apps/installer/installer_tty.c:208 +#: userland/apps/installer/installer_tty.c:173 msgid "Desktop" msgstr "" -#: userland/apps/installer/installer_tty.c:326 +#: userland/apps/installer/installer_tty.c:271 msgid "Desktop environment" msgstr "" -#: userland/apps/installer/installer_tty.c:210 +#: userland/apps/installer/installer_tty.c:175 msgid "Disabled" msgstr "" -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Discard changes" msgstr "" -#: userland/apps/installer/main.cpp:1200 +#: userland/apps/installer/main.cpp:909 msgid "Discard edits" msgstr "" @@ -430,7 +338,7 @@ msgstr "" msgid "Discard partition changes" msgstr "" -#: userland/apps/installer/main.cpp:1127 +#: userland/apps/installer/main.cpp:836 msgid "Discard pending partition edits and reload the disk?" msgstr "" @@ -438,35 +346,35 @@ msgstr "" msgid "Discard the pending partition changes and read the current disk layout again?" msgstr "" -#: userland/apps/installer/main.cpp:208 +#: userland/apps/installer/main.cpp:194 msgid "Disk" msgstr "" -#: userland/apps/installer/model.c:219 +#: userland/apps/installer/model.c:200 msgid "Disk " msgstr "" -#: userland/apps/installer/main.cpp:1459 +#: userland/apps/installer/main.cpp:1175 msgid "Disk changes to apply" msgstr "" -#: userland/apps/installer/main.cpp:1158 +#: userland/apps/installer/main.cpp:867 msgid "Disk layout" msgstr "" -#: userland/apps/installer/installer_tui_job.c:225 +#: userland/apps/installer/installer_tui_job.c:198 msgid "Disk operations are running. Please wait for completion." msgstr "" -#: userland/apps/installer/main.cpp:1500 +#: userland/apps/installer/main.cpp:1201 msgid "Do not turn off this machine." msgstr "" -#: userland/apps/installer/main.cpp:874 -msgid "EFI system partition" +#: userland/apps/installer/install_ops.c:1119 +msgid "Downloading packages" msgstr "" -#: userland/apps/installer/install_ops.c:682 +#: userland/apps/installer/install_ops.c:615 msgid "Elapsed time: %lu s" msgstr "" @@ -474,50 +382,46 @@ msgstr "" msgid "Enter a positive whole number of MiB." msgstr "" -#: userland/apps/installer/installer_tty.c:498 +#: userland/apps/installer/installer_tty.c:395 msgid "Enter a valid swap size in MiB." msgstr "" -#: userland/apps/installer/install_ops.c:431 -msgid "Erase all partitions on %s.\nCreate BIOS Boot: 1 MiB, unformatted.\nCreate ESP: 128 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." +#: userland/apps/installer/install_ops.c:364 +msgid "Erase all partitions on %s.\nCreate BIOS Boot: 1 MiB, unformatted.\nCreate ESP: 512 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." msgstr "" -#: userland/apps/installer/install_ops.c:432 -msgid "Erase all partitions on %s.\nCreate ESP: 128 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." +#: userland/apps/installer/install_ops.c:365 +msgid "Erase all partitions on %s.\nCreate ESP: 512 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." msgstr "" -#: userland/apps/installer/main.cpp:1159 +#: userland/apps/installer/main.cpp:868 msgid "Erase disk and install automatically" msgstr "" -#: userland/apps/installer/installer_tty.c:188 +#: userland/apps/installer/installer_tty.c:153 msgid "Erase disk: BIOS Boot %llu MiB, ESP %llu MiB, ext4 root %llu MiB" msgstr "" -#: userland/apps/installer/installer_tty.c:204 +#: userland/apps/installer/installer_tty.c:169 msgid "Existing ESP files are preserved unless formatting is listed below." msgstr "" -#: userland/apps/installer/installer_tty.c:361 +#: userland/apps/installer/installer_tty.c:303 msgid "Exit" msgstr "" -#: userland/apps/installer/main.cpp:578 +#: userland/apps/installer/main.cpp:398 msgid "Exit installer" msgstr "" -#: userland/apps/installer/installer_tty.c:397 +#: userland/apps/installer/installer_tty.c:336 msgid "Exit the installer?" msgstr "" -#: userland/apps/installer/main.cpp:579 +#: userland/apps/installer/main.cpp:399 msgid "Exit the installer? Unapplied disk changes and setup choices will be discarded." msgstr "" -#: userland/apps/installer/installer_update_progress.c:142 -msgid "Failed" -msgstr "" - #: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" @@ -538,14 +442,10 @@ msgstr "" msgid "Filesystem label" msgstr "" -#: userland/apps/installer/main.cpp:216 +#: userland/apps/installer/main.cpp:201 msgid "Finish" msgstr "" -#: userland/apps/installer/installer_update_engine.c:627 -msgid "Finishing the system update" -msgstr "" - #: configs/nls/messages/installer.c:24 msgid "Format" msgstr "" @@ -554,35 +454,27 @@ msgstr "" msgid "Format partition" msgstr "" -#: userland/apps/installer/installer_tty.c:162 +#: userland/apps/installer/installer_tty.c:139 msgid "Format selected ESP (erase all EFI boot files on it)" msgstr "" -#: userland/apps/installer/installer_tty.c:173 -msgid "Free / required space" +#: userland/apps/installer/install_ops.c:600 +msgid "Formatting root filesystem" msgstr "" -#: userland/apps/installer/main.cpp:757 -msgid "Fresh Install" -msgstr "" - -#: userland/apps/installer/installer_tty.c:221 +#: userland/apps/installer/installer_tty.c:189 msgid "Go back to edit any option. Nothing is written until you choose Install." msgstr "" -#: userland/apps/installer/main.cpp:729 +#: userland/apps/installer/main.cpp:535 msgid "I accept the license terms" msgstr "" -#: userland/apps/installer/installer_tty.c:209 +#: userland/apps/installer/installer_tty.c:174 msgid "IceWM (default)" msgstr "" -#: userland/apps/installer/installer_update_engine.c:609 -msgid "Identifying the installed system" -msgstr "" - -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Initialize GPT" msgstr "" @@ -590,55 +482,51 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/installer/install_ops.c:297 +#: userland/apps/installer/installer_tty.c:302 msgid "Install" msgstr "" -#: userland/apps/installer/main.cpp:689 +#: userland/apps/installer/main.cpp:495 msgid "Install ReliefOS" msgstr "" -#: userland/apps/installer/installer_tty.c:279 -msgid "Install a new system" +#: userland/apps/installer/installer_tty.c:240 +msgid "Install ReliefOS from signed Arch and RPR repositories." msgstr "" -#: userland/apps/installer/installer_tty.c:273 -msgid "Install a new system or update an existing ReliefOS disk." -msgstr "" - -#: userland/apps/installer/install_ops.c:1545 +#: userland/apps/installer/install_ops.c:979 msgid "Install failed" msgstr "" -#: userland/apps/installer/installer_tty.c:303 +#: userland/apps/installer/installer_tty.c:255 msgid "Install or update BIOS bootloader" msgstr "" -#: userland/apps/installer/installer_tty.c:304 +#: userland/apps/installer/installer_tty.c:256 msgid "Install or update UEFI bootloader" msgstr "" -#: userland/apps/installer/model.c:178 +#: userland/apps/installer/model.c:159 msgid "Installation" msgstr "" -#: userland/apps/installer/main.cpp:1527 +#: userland/apps/installer/main.cpp:1223 msgid "Installation Complete" msgstr "" -#: userland/apps/installer/main.cpp:1553 +#: userland/apps/installer/main.cpp:1240 msgid "Installation Failed" msgstr "" -#: userland/apps/installer/install_ops.c:1540 +#: userland/apps/installer/install_ops.c:974 msgid "Installation completed successfully" msgstr "" -#: userland/apps/installer/installer_tty.c:337 +#: userland/apps/installer/installer_tty.c:284 msgid "Installation completed successfully." msgstr "" -#: userland/apps/installer/install_ops.c:273 +#: userland/apps/installer/install_ops.c:251 msgid "Installation failed" msgstr "" @@ -646,22 +534,14 @@ msgstr "" msgid "Installation finished" msgstr "" -#: userland/apps/installer/install_ops.c:1561 +#: userland/apps/installer/install_ops.c:1184 msgid "Installation has not been confirmed" msgstr "" -#: userland/apps/installer/installer_tui.c:268 +#: userland/apps/installer/installer_tui.c:278 msgid "Installation layout - changes remain pending" msgstr "" -#: userland/apps/installer/install_ops.c:1436 -msgid "Installation media is incomplete" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:300 -msgid "Installation media is older than the installed system" -msgstr "" - #: configs/nls/messages/installer.c:14 msgid "Installation mode" msgstr "" @@ -670,39 +550,35 @@ msgstr "" msgid "Installation progress" msgstr "" -#: userland/apps/installer/model.c:177 +#: userland/apps/installer/model.c:158 msgid "Installation result" msgstr "" -#: userland/apps/installer/main.cpp:753 -msgid "Installation type" -msgstr "" - -#: userland/apps/installer/main.cpp:366 +#: userland/apps/installer/main.cpp:341 msgid "Installation worker failed" msgstr "" -#: userland/apps/installer/installer_tty.c:393 +#: userland/apps/installer/installer_tty.c:332 msgid "Installer log" msgstr "" -#: userland/apps/installer/install_ops.c:303 -msgid "Installing ReliefOS" +#: userland/apps/installer/install_ops.c:942 +msgid "Installing bootloaders" msgstr "" -#: userland/apps/installer/install_ops.c:1313 -msgid "Installing bootloaders" +#: userland/apps/installer/install_ops.c:1034 +msgid "Installing packages" msgstr "" -#: userland/apps/installer/model.c:176 +#: userland/apps/installer/main.cpp:1200 msgid "Installing system" msgstr "" -#: userland/apps/installer/install_ops.c:1574 +#: userland/apps/installer/install_ops.c:1197 msgid "Invalid installation settings" msgstr "" -#: userland/apps/installer/install_ops.c:1570 +#: userland/apps/installer/install_ops.c:1193 msgid "Invalid partition plan" msgstr "" @@ -710,15 +586,15 @@ msgstr "" msgid "Invalid size" msgstr "" -#: userland/apps/installer/install_ops.c:1605 +#: userland/apps/installer/install_ops.c:1099 msgid "Invalid swap size" msgstr "" -#: userland/apps/installer/main.cpp:1126 +#: userland/apps/installer/main.cpp:835 msgid "Keep changes" msgstr "" -#: userland/apps/installer/main.cpp:578 +#: userland/apps/installer/main.cpp:398 msgid "Keep configuring" msgstr "" @@ -730,7 +606,7 @@ msgstr "" msgid "License" msgstr "" -#: userland/apps/installer/main.cpp:718 +#: userland/apps/installer/main.cpp:524 msgid "License agreement" msgstr "" @@ -738,26 +614,22 @@ msgstr "" msgid "Manage Favorites" msgstr "" -#: userland/apps/installer/main.cpp:950 +#: userland/apps/installer/main.cpp:659 msgid "Manual layout: assign BIOS Boot, ESP and root roles. BIOS Boot stays unformatted." msgstr "" -#: userland/apps/installer/main.cpp:949 +#: userland/apps/installer/main.cpp:658 msgid "Manual layout: assign a FAT32 ESP and an ext4 or ext3 root. BIOS Boot is not required for the selected bootloaders." msgstr "" -#: userland/apps/installer/installer_tty.c:147 +#: userland/apps/installer/installer_tty.c:124 msgid "Manual partitioning" msgstr "" -#: userland/apps/installer/main.cpp:1160 +#: userland/apps/installer/main.cpp:869 msgid "Manual partitioning / keep other systems" msgstr "" -#: userland/apps/installer/main.cpp:207 -msgid "Mode" -msgstr "" - #: configs/nls/messages/installer.c:6 msgid "Mount failed" msgstr "" @@ -766,7 +638,7 @@ msgstr "" msgid "Mounting target filesystems" msgstr "" -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Name" msgstr "" @@ -778,11 +650,11 @@ msgstr "" msgid "New GPT" msgstr "" -#: userland/apps/installer/main.cpp:1025 +#: userland/apps/installer/main.cpp:734 msgid "New partition table added to the plan." msgstr "" -#: userland/apps/installer/installer_tty.c:363 +#: userland/apps/installer/installer_tty.c:304 msgid "Next" msgstr "" @@ -790,19 +662,19 @@ msgstr "" msgid "No" msgstr "" -#: userland/apps/installer/installer_tty.c:224 +#: userland/apps/installer/installer_tty.c:192 msgid "No bootloader selected. A new installation will need a separately configured bootloader." msgstr "" -#: userland/apps/installer/install_ops.c:920 +#: userland/apps/installer/install_ops.c:880 msgid "No disks were found" msgstr "" -#: userland/apps/installer/main.cpp:1556 +#: userland/apps/installer/main.cpp:1241 msgid "No writes will continue after this error." msgstr "" -#: userland/apps/installer/install_ops.c:450 +#: userland/apps/installer/install_ops.c:383 msgid "Not selected" msgstr "" @@ -810,27 +682,35 @@ msgstr "" msgid "OK" msgstr "" +#: userland/apps/installer/main.cpp:543 +msgid "Online installation" +msgstr "" + #: userland/apps/installer/installer_tty.c:24 msgid "Operation failed" msgstr "" -#: userland/apps/installer/installer_update_progress.c:136 -msgid "Package" +#: userland/apps/installer/install_ops.c:1122 +msgid "Package download failed" msgstr "" -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/install_ops.c:1121 +msgid "Package installation failed" +msgstr "" + +#: userland/apps/installer/installer_tui.c:282 msgid "Partition" msgstr "" -#: userland/apps/installer/install_ops.c:465 +#: userland/apps/installer/install_ops.c:398 msgid "Partition %u %s %llu MiB %s %s%s" msgstr "" -#: userland/apps/installer/main.cpp:1032 +#: userland/apps/installer/main.cpp:741 msgid "Partition deletion added to the plan." msgstr "" -#: userland/apps/installer/model.c:170 +#: userland/apps/installer/model.c:153 msgid "Partition layout" msgstr "" @@ -842,7 +722,7 @@ msgstr "" msgid "Partition operation failed" msgstr "" -#: userland/apps/installer/main.cpp:1010 +#: userland/apps/installer/main.cpp:719 msgid "Partition plan updated" msgstr "" @@ -850,15 +730,15 @@ msgstr "" msgid "Partition role" msgstr "" -#: userland/apps/installer/main.cpp:1147 +#: userland/apps/installer/main.cpp:856 msgid "Partition role updated." msgstr "" -#: userland/apps/installer/main.cpp:210 +#: userland/apps/installer/main.cpp:196 msgid "Partitions" msgstr "" -#: userland/apps/installer/installer_tty.c:319 +#: userland/apps/installer/installer_tty.c:264 msgid "Password" msgstr "" @@ -866,23 +746,15 @@ msgstr "" msgid "Password:" msgstr "" -#: userland/apps/installer/install_ops.c:1593 -msgid "Payload check failed" -msgstr "" - -#: userland/apps/installer/install_ops.c:1623 -msgid "Payload scan failed" -msgstr "" - -#: userland/apps/installer/installer_tui.c:268 +#: userland/apps/installer/installer_tui.c:278 msgid "Pending layout - written only after INSTALL confirmation." msgstr "" -#: userland/apps/installer/main.cpp:1030 +#: userland/apps/installer/main.cpp:739 msgid "Plan deletion" msgstr "" -#: userland/apps/installer/main.cpp:1023 +#: userland/apps/installer/main.cpp:732 msgid "Plan new table" msgstr "" @@ -890,43 +762,19 @@ msgstr "" msgid "Please choose an existing file!" msgstr "" -#: userland/apps/installer/installer_tty.c:403 +#: userland/apps/installer/installer_tty.c:342 msgid "Power operation failed" msgstr "" -#: userland/apps/installer/main.cpp:768 -msgid "Prepare a clean ReliefOS system with automatic or manual disk partitioning." -msgstr "" - -#: userland/apps/installer/installer_tui_job.c:223 +#: userland/apps/installer/installer_tui_job.c:196 msgid "Preparing operation" msgstr "" -#: userland/apps/installer/install_ops.c:1634 +#: userland/apps/installer/install_ops.c:1112 msgid "Preparing target disk" msgstr "" -#: userland/apps/installer/installer_update_engine.c:620 -msgid "Preparing the installed system for update" -msgstr "" - -#: userland/apps/installer/main.cpp:550 -msgid "Preparing the system update" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:568 -msgid "Preparing update session" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:15 -msgid "Preparing verified package archives" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:18 -msgid "Preserving the installed kernel and configuration" -msgstr "" - -#: userland/apps/installer/install_ops.c:1541 +#: userland/apps/installer/install_ops.c:975 msgid "Press Restart to boot from the installed disk." msgstr "" @@ -934,66 +782,38 @@ msgstr "" msgid "Preview" msgstr "" -#: userland/apps/installer/main.cpp:690 +#: userland/apps/installer/main.cpp:496 msgid "Previous Step" msgstr "" -#: userland/apps/installer/installer_update_engine.c:626 -msgid "Publishing kernel and bootloader files" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:22 -msgid "Publishing the offline package cache" -msgstr "" - #: configs/nls/messages/installer.c:26 msgid "Ready" msgstr "" -#: userland/apps/installer/main.cpp:485 -msgid "Ready to update" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:346 -msgid "Recovering the previous update attempt" -msgstr "" - -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Refresh" msgstr "" -#: userland/apps/installer/main.cpp:872 -msgid "ReliefOS system partition" -msgstr "" - -#: userland/apps/installer/main.cpp:1530 +#: userland/apps/installer/main.cpp:1224 msgid "ReliefOS was installed to the selected disk." msgstr "" -#: userland/apps/installer/main.cpp:1529 -msgid "ReliefOS was updated on the selected disk." -msgstr "" - -#: userland/apps/installer/installer_tty.c:401 +#: userland/apps/installer/installer_tty.c:340 msgid "Remove the installation media before continuing." msgstr "" -#: userland/apps/installer/install_ops.c:1548 +#: userland/apps/installer/install_ops.c:982 msgid "Remove the installation media before rebooting." msgstr "" -#: userland/apps/installer/main.cpp:490 +#: userland/apps/installer/main.cpp:1226 msgid "Remove the installation media, then restart." msgstr "" -#: userland/apps/installer/main.cpp:1031 +#: userland/apps/installer/main.cpp:740 msgid "Remove the selected partition when the installation is confirmed?" msgstr "" -#: userland/apps/installer/installer_update_progress.c:23 -msgid "Removing retired package archives" -msgstr "" - #: configs/nls/messages/installer.c:27 msgid "Rename" msgstr "" @@ -1002,19 +822,15 @@ msgstr "" msgid "Rename partition" msgstr "" -#: userland/apps/installer/installer_update_progress.c:19 -msgid "Repairing signed system packages" -msgstr "" - #: userland/apps/installer/installer_plan.c:413 msgid "Replace partition table" msgstr "" -#: userland/apps/installer/main.cpp:1024 +#: userland/apps/installer/main.cpp:733 msgid "Replace this disk's partition table in the installation plan? All existing partitions will be removed when you install." msgstr "" -#: userland/apps/installer/installer_tty.c:156 +#: userland/apps/installer/installer_tty.c:133 msgid "Resize" msgstr "" @@ -1022,71 +838,47 @@ msgstr "" msgid "Resize partition" msgstr "" -#: userland/apps/installer/installer_tui.c:371 +#: userland/apps/installer/installer_tui.c:381 msgid "Resize the terminal to at least 60 columns and 20 rows." msgstr "" -#: userland/apps/installer/main.cpp:1043 +#: userland/apps/installer/main.cpp:752 msgid "Resizing changes the partition boundary. Existing filesystems cannot be shrunk here." msgstr "" -#: userland/apps/installer/installer_tty.c:352 +#: userland/apps/installer/installer_tty.c:294 msgid "Restart" msgstr "" -#: userland/apps/installer/main.cpp:1546 +#: userland/apps/installer/main.cpp:1234 msgid "Restart failed" msgstr "" -#: userland/apps/installer/installer_update_progress.c:25 -msgid "Restoring retained kernel files" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:140 -msgid "Reused" -msgstr "" - #: configs/nls/messages/installer.c:19 msgid "Review installation" msgstr "" -#: userland/apps/installer/installer_tty.c:361 +#: userland/apps/installer/installer_tty.c:303 msgid "Review settings" msgstr "" -#: userland/apps/installer/main.cpp:1419 -msgid "Review system update" -msgstr "" - -#: userland/apps/installer/installer_tty.c:339 +#: userland/apps/installer/installer_tty.c:286 msgid "Review the configuration before trying again. Changes already written to disk may remain." msgstr "" -#: userland/apps/installer/main.cpp:1555 -msgid "Review the details, then check the update again to retry." -msgstr "" - -#: userland/apps/installer/main.cpp:485 -msgid "Review the detected system and boot options, then continue to the summary." -msgstr "" - -#: userland/apps/installer/installer_tty.c:514 +#: userland/apps/installer/installer_tty.c:409 msgid "Review the disk layout and account settings before installing." msgstr "" -#: userland/apps/installer/installer_tty.c:274 +#: userland/apps/installer/installer_tty.c:241 msgid "Review the disk model, size and partitions before applying changes." msgstr "" -#: userland/apps/installer/installer_tty.c:489 +#: userland/apps/installer/installer_tty.c:386 msgid "Review the required BIOS Boot, ESP and root partitions." msgstr "" -#: userland/apps/installer/main.cpp:234 -msgid "Review update" -msgstr "" - -#: userland/apps/installer/install_ops.c:836 +#: userland/apps/installer/install_ops.c:796 msgid "Root and boot partitions" msgstr "" @@ -1094,83 +886,47 @@ msgstr "" msgid "Save" msgstr "" -#: userland/apps/installer/install_ops.c:1654 -msgid "Saving installed preferences" -msgstr "" - -#: userland/apps/installer/install_ops.c:1618 -msgid "Scanning installation payload" -msgstr "" - -#: userland/apps/installer/main.cpp:858 -msgid "Select Disk to Update" -msgstr "" - -#: userland/apps/installer/main.cpp:858 +#: userland/apps/installer/main.cpp:594 msgid "Select Installation Disk" msgstr "" -#: userland/apps/installer/main.cpp:697 +#: userland/apps/installer/main.cpp:503 msgid "Select Language" msgstr "" -#: userland/apps/installer/main.cpp:860 -msgid "Select a disk and check its existing installation before continuing." -msgstr "" - -#: userland/apps/installer/installer_tty.c:415 +#: userland/apps/installer/installer_tty.c:376 msgid "Select a disk first." msgstr "" -#: userland/apps/installer/main.cpp:477 -msgid "Select a disk or run the checks again." -msgstr "" - #: userland/apps/installer/installer_tty.c:62 msgid "Select a partition first." msgstr "" -#: userland/apps/installer/install_ops.c:922 +#: userland/apps/installer/install_ops.c:882 msgid "Select a target disk and review its layout again." msgstr "" -#: userland/apps/installer/installer_tty.c:297 -msgid "Select boot partition" -msgstr "" - -#: userland/apps/installer/installer_tty.c:296 -msgid "Select system partition" -msgstr "" - -#: userland/apps/installer/install_ops.c:309 -msgid "Select the disk to update" -msgstr "" - -#: userland/apps/installer/main.cpp:1351 +#: userland/apps/installer/main.cpp:1060 msgid "Select the firmware used to start this disk. You can select both BIOS and UEFI." msgstr "" -#: userland/apps/installer/install_ops.c:312 +#: userland/apps/installer/install_ops.c:256 msgid "Select the target disk" msgstr "" -#: userland/apps/installer/main.cpp:861 +#: userland/apps/installer/main.cpp:595 msgid "Select the target. The disk layout is configured in the following steps." msgstr "" -#: userland/apps/installer/install_ops.c:1608 +#: userland/apps/installer/install_ops.c:1134 msgid "Selected system does not support swap" msgstr "" -#: userland/apps/installer/main.cpp:269 +#: userland/apps/installer/main.cpp:244 msgid "Setup" msgstr "" -#: userland/apps/installer/install_ops.c:310 -msgid "Setup will check for an existing ReliefOS system." -msgstr "" - -#: userland/apps/installer/installer_tui_job.c:227 +#: userland/apps/installer/installer_tui_job.c:200 msgid "Show / hide log (F4)" msgstr "" @@ -1182,19 +938,15 @@ msgstr "" msgid "Show:" msgstr "" -#: userland/apps/installer/installer_tty.c:353 +#: userland/apps/installer/installer_tty.c:295 msgid "Shut down" msgstr "" -#: userland/apps/installer/main.cpp:1440 -msgid "Signed packages are checked before changes. Boot files are published after the package transaction succeeds." -msgstr "" - -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Size" msgstr "" -#: userland/apps/installer/main.cpp:1052 +#: userland/apps/installer/main.cpp:761 msgid "Size (MiB)" msgstr "" @@ -1202,7 +954,7 @@ msgstr "" msgid "Size in MiB" msgstr "" -#: userland/apps/installer/main.cpp:1429 +#: userland/apps/installer/main.cpp:1169 msgid "Skip" msgstr "" @@ -1214,75 +966,51 @@ msgstr "" msgid "Standard user password" msgstr "" -#: userland/apps/installer/installer_tty.c:259 +#: userland/apps/installer/installer_tty.c:226 msgid "Step %d of %d" msgstr "" -#: userland/apps/installer/installer_update_engine.c:521 -msgid "Stopping update check and cleaning up" -msgstr "" - -#: userland/apps/installer/main.cpp:1458 +#: userland/apps/installer/main.cpp:1174 msgid "Swap" msgstr "" -#: userland/apps/installer/install_ops.c:1610 +#: userland/apps/installer/install_ops.c:1101 msgid "Swap requires an AHCI disk" msgstr "" -#: userland/apps/installer/main.cpp:1397 +#: userland/apps/installer/main.cpp:1134 msgid "Swap size (MiB)" msgstr "" -#: userland/apps/installer/installer_tty.c:210 +#: userland/apps/installer/installer_tty.c:175 msgid "Swap size in MiB" msgstr "" -#: userland/apps/installer/main.cpp:1405 +#: userland/apps/installer/main.cpp:1142 msgid "Swap uses space on the system partition and currently requires an AHCI disk. Enter a valid whole number of MiB." msgstr "" -#: userland/apps/installer/install_ops.c:1309 +#: userland/apps/installer/install_ops.c:938 msgid "Synchronizing target filesystem" msgstr "" -#: userland/apps/installer/installer_update_progress.c:24 -msgid "Synchronizing the offline package cache" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:624 -msgid "Synchronizing the updated root filesystem" -msgstr "" - -#: userland/apps/installer/main.cpp:211 +#: userland/apps/installer/main.cpp:197 msgid "System" msgstr "" -#: userland/apps/installer/main.cpp:1375 +#: userland/apps/installer/main.cpp:1097 msgid "System options" msgstr "" -#: userland/apps/installer/installer_tty.c:128 -msgid "System partition" -msgstr "" - #: userland/apps/installer/installer_tty.c:88 msgid "System root" msgstr "" -#: userland/apps/installer/install_ops.c:449 +#: userland/apps/installer/install_ops.c:382 msgid "System root: %s; format %s.\nESP: %s; %s.\nOther partitions are preserved except for the changes listed above." msgstr "" -#: userland/apps/installer/installer_update_engine.c:647 -msgid "System update completed successfully" -msgstr "" - -#: userland/apps/installer/installer_tty.c:172 -msgid "System version" -msgstr "" - -#: userland/apps/installer/installer_tui.c:485 +#: userland/apps/installer/installer_tui.c:495 msgid "Tab / arrows: select Space: toggle PgUp/PgDn: scroll" msgstr "" @@ -1290,159 +1018,83 @@ msgstr "" msgid "Target disk" msgstr "" -#: userland/apps/installer/install_ops.c:1566 +#: userland/apps/installer/install_ops.c:1189 msgid "Target disk changed; review the installation plan again" msgstr "" -#: userland/apps/installer/install_ops.c:1665 -msgid "Target disk is ready." -msgstr "" - -#: userland/apps/installer/installer_tty.c:151 +#: userland/apps/installer/installer_tty.c:128 msgid "The automatic layout does not fit this disk. Select another disk or configure partitions manually." msgstr "" -#: userland/apps/installer/installer_tty.c:508 +#: userland/apps/installer/installer_tty.c:405 msgid "The confirmation word does not match." msgstr "" -#: userland/apps/installer/installer_tty.c:217 +#: userland/apps/installer/installer_tty.c:185 msgid "The disk plan could not be read. Return to Disk layout and review the target." msgstr "" -#: userland/apps/installer/installer_tty.c:203 +#: userland/apps/installer/installer_tty.c:168 msgid "The selected ESP will also be formatted." msgstr "" -#: userland/apps/installer/install_ops.c:922 +#: userland/apps/installer/install_ops.c:882 msgid "The selected disk is no longer available" msgstr "" -#: userland/apps/installer/installer_tty.c:202 +#: userland/apps/installer/installer_tty.c:167 msgid "The system partition will be formatted. Review every pending change below." msgstr "" -#: userland/apps/installer/installer_tui_job.c:230 +#: userland/apps/installer/installer_tui_job.c:202 msgid "The terminal requested exit. Waiting for the disk operation to finish." msgstr "" -#: userland/apps/installer/main.cpp:1472 +#: userland/apps/installer/main.cpp:1188 msgid "These disk changes cannot be undone. Type INSTALL to confirm." msgstr "" -#: userland/apps/installer/main.cpp:1044 +#: userland/apps/installer/main.cpp:753 msgid "This change is added to the plan. Nothing is written until installation is confirmed." msgstr "" -#: userland/apps/installer/installer_tty.c:222 +#: userland/apps/installer/installer_tty.c:177 +msgid "Time zone" +msgstr "" + +#: userland/apps/installer/installer_tty.c:190 msgid "Type INSTALL to confirm installation" msgstr "" -#: userland/apps/installer/installer_tui.c:550 +#: userland/apps/installer/installer_tui.c:560 msgid "Type the confirmation word" msgstr "" -#: userland/apps/installer/main.cpp:1540 +#: userland/apps/installer/main.cpp:1229 msgid "UEFI boot file (add it in firmware if no automatic entry appears):" msgstr "" -#: userland/apps/installer/installer_tui.c:299 +#: userland/apps/installer/installer_tui.c:309 msgid "Unallocated" msgstr "" -#: userland/apps/installer/main.cpp:979 +#: userland/apps/installer/main.cpp:688 msgid "Unformatted" msgstr "" -#: userland/apps/installer/install_ops.c:467 +#: userland/apps/installer/install_ops.c:400 msgid "Unnamed" msgstr "" -#: userland/apps/installer/installer_tui.c:484 +#: userland/apps/installer/installer_tui.c:494 msgid "Up/Down: partition PgUp/PgDn: page Home/End: first/last Tab: actions" msgstr "" -#: userland/apps/installer/install_ops.c:297 -msgid "Update" -msgstr "" - -#: userland/apps/installer/main.cpp:1527 -msgid "Update Complete" -msgstr "" - -#: userland/apps/installer/main.cpp:759 -msgid "Update Existing System" -msgstr "" - -#: userland/apps/installer/main.cpp:1553 -msgid "Update Failed" -msgstr "" - -#: userland/apps/installer/installer_tty.c:280 -msgid "Update an existing system" -msgstr "" - -#: userland/apps/installer/main.cpp:884 -msgid "Update bootloader software" -msgstr "" - -#: userland/apps/installer/main.cpp:477 -msgid "Update check canceled" -msgstr "" - -#: userland/apps/installer/installer_tty.c:474 -msgid "Update check canceled. Run the checks again when ready." -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:644 -msgid "Update check cancelled" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:647 -msgid "Update checks completed" -msgstr "" - -#: userland/apps/installer/install_ops.c:1539 -msgid "Update completed successfully" -msgstr "" - -#: userland/apps/installer/main.cpp:1484 -msgid "Update details" -msgstr "" - -#: userland/apps/installer/main.cpp:770 -msgid "Update preserves users, personal files, installed software and local configuration." -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:782 -msgid "Update session completed" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:522 -msgid "Update stage timed out; stopping its processes" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:780 -msgid "Update worker failed" -msgstr "" - -#: userland/apps/installer/install_ops.c:302 -msgid "Updating ReliefOS" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:21 -msgid "Updating shell configuration" -msgstr "" - -#: userland/apps/installer/model.c:176 -msgid "Updating system" -msgstr "" - -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Use" msgstr "" -#: userland/apps/installer/installer_tty.c:265 +#: userland/apps/installer/installer_tty.c:232 msgid "Use Tab and the arrow keys to select controls. F3 continues and F2 returns to the previous step." msgstr "" @@ -1454,67 +1106,31 @@ msgstr "" msgid "Use as root" msgstr "" -#: userland/apps/installer/installer_tty.c:294 -msgid "Use fstab" -msgstr "" - -#: userland/apps/installer/installer_tty.c:120 -msgid "Use the selected installation's fstab" -msgstr "" - -#: userland/apps/installer/main.cpp:1265 +#: userland/apps/installer/main.cpp:974 msgid "User" msgstr "" -#: userland/apps/installer/install_ops.c:1598 -msgid "User name or ID conflicts with a system account" -msgstr "" - -#: userland/apps/installer/installer_tty.c:207 +#: userland/apps/installer/installer_tty.c:172 msgid "Username" msgstr "" -#: userland/apps/installer/installer_update_progress.c:16 -msgid "Verifying package signatures" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:614 -msgid "Verifying signed packages and dependencies" -msgstr "" - -#: userland/apps/installer/main.cpp:881 -msgid "Version" -msgstr "" - -#: userland/apps/installer/installer_tty.c:344 +#: userland/apps/installer/installer_tty.c:290 msgid "View log" msgstr "" -#: userland/apps/installer/main.cpp:1075 +#: userland/apps/installer/main.cpp:784 msgid "Volume label" msgstr "" -#: userland/apps/installer/main.cpp:570 -msgid "Waiting for the check to release its resources." -msgstr "" - #: configs/nls/messages/installer.c:13 msgid "Welcome" msgstr "" -#: userland/apps/installer/install_ops.c:1326 +#: userland/apps/installer/install_ops.c:955 msgid "Writing allocated space" msgstr "" -#: userland/apps/installer/install_ops.c:671 -msgid "Writing system files to disk" -msgstr "" - -#: userland/apps/installer/installer_update_engine.c:596 -msgid "Writing the update log" -msgstr "" - -#: userland/apps/installer/installer_tty.c:209 +#: userland/apps/installer/installer_tty.c:174 msgid "XFCE (experimental)" msgstr "" @@ -1522,27 +1138,15 @@ msgstr "" msgid "Yes" msgstr "" -#: userland/apps/installer/install_ops.c:1545 +#: userland/apps/installer/install_ops.c:979 msgid "\n%s (error %d)\n" msgstr "" -#: userland/apps/installer/installer_update_progress.c:150 -msgid "\n%u/%u files; %.1f/%.1f MiB processed; %.1f MiB reused" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:156 -msgid "\n%u/%u packages processed" -msgstr "" - -#: userland/apps/installer/installer_update_progress.c:162 -msgid "\nCommand exit status: %u" -msgstr "" - -#: userland/apps/installer/install_ops.c:1547 +#: userland/apps/installer/install_ops.c:981 msgid "\nInstallation completed successfully." msgstr "" -#: userland/apps/installer/install_ops.c:451 +#: userland/apps/installer/install_ops.c:384 msgid "format FAT32 and erase existing files" msgstr "" @@ -1550,11 +1154,11 @@ msgstr "" msgid "none" msgstr "" -#: userland/apps/installer/install_ops.c:451 +#: userland/apps/installer/install_ops.c:384 msgid "preserve existing FAT32 files" msgstr "" -#: userland/apps/installer/installer_tty.c:321 +#: userland/apps/installer/installer_tty.c:266 msgid "root password" msgstr "" diff --git a/configs/nls/po/installer/ja_JP.po b/configs/nls/po/installer/ja_JP.po index 114a2055..f0f630ae 100644 --- a/configs/nls/po/installer/ja_JP.po +++ b/configs/nls/po/installer/ja_JP.po @@ -1,3 +1,4 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS\n" @@ -13,17 +14,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.18.0\n" -#: userland/apps/installer/installer_tty.c:278 -msgid "A new installation formats the selected system partition. An update keeps accounts, files and local configuration." -msgstr "新規インストールでは選択したシステムパーティションをフォーマットします。更新ではアカウント、ファイル、ローカル設定を保持します。" +#: userland/apps/installer/install_ops.c:979 +#, python-format +msgid "" +"\n" +"%s (error %d)\n" +msgstr "" +"\n" +"%s (エラー %d)\n" -#: userland/apps/installer/installer_tty.c:178 +#: userland/apps/installer/install_ops.c:981 msgid "" -"A previous update is incomplete. This attempt will verify the system and recover the pending " -"update stages." -msgstr "前回の更新が完了していません。今回はシステムを検証し、保留中の更新段階を復旧します。" +"\n" +"Installation completed successfully." +msgstr "" +"\n" +"インストールが正常に完了しました。" -#: userland/apps/installer/installer_tty.c:362 +#: userland/apps/installer/installer_tty.c:304 msgid "Accept and continue" msgstr "同意して続ける" @@ -31,173 +39,157 @@ msgstr "同意して続ける" msgid "Account and system options" msgstr "アカウントとシステム設定" -#: userland/apps/installer/install_ops.c:1344 +#: userland/apps/installer/install_ops.c:1096 msgid "Account setup failed" msgstr "アカウントの設定に失敗しました" -#: userland/apps/installer/main.cpp:212 +#: userland/apps/installer/main.cpp:198 msgid "Accounts" msgstr "アカウント" -#: userland/apps/installer/installer_tty.c:177 -msgid "Accounts, personal files, installed software and local configuration are preserved." -msgstr "アカウント、個人ファイル、インストール済みソフトウェア、ローカル設定は保持されます。" - #: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/installer/main.cpp:1084 +#: userland/apps/installer/main.cpp:793 msgid "Add to plan" msgstr "計画に追加" -#: userland/apps/installer/installer_update_engine.c:563 -msgid "Administrator privileges are required" -msgstr "管理者権限が必要です" - -#: userland/apps/installer/main.cpp:1266 +#: userland/apps/installer/main.cpp:975 msgid "Administrator: root" msgstr "管理者: root" +#: userland/apps/installer/main.cpp:546 +msgid "After installation, update ReliefOS with pacman -Syu." +msgstr "インストール後は pacman -Syu で ReliefOS を更新します。" + #: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" -#: userland/apps/installer/installer_tui.c:565 +#: userland/apps/installer/install_ops.c:1159 +msgid "Another installation is already running" +msgstr "別のインストールが実行中です" + +#: userland/apps/installer/installer_tui.c:575 msgid "Apply" msgstr "適用" -#: userland/apps/installer/installer_update_engine.c:623 -msgid "Applying signed system packages" -msgstr "署名済みシステムパッケージを適用しています" +#: userland/apps/installer/installer_tty.c:178 +msgid "Arch geographic mirror" +msgstr "Arch の地域別ミラー" + +#: userland/apps/installer/installer_tty.c:178 +msgid "Arch mirror" +msgstr "Arch ミラー" -#: userland/apps/installer/install_ops.c:920 +#: userland/apps/installer/install_ops.c:880 msgid "Attach a disk and click Refresh." msgstr "ディスクを接続し、「更新」をクリックしてください。" -#: userland/apps/installer/installer_tty.c:294 -msgid "Automatic" -msgstr "自動" - -#: userland/apps/installer/installer_tty.c:146 +#: userland/apps/installer/installer_tty.c:123 msgid "Automatic layout" msgstr "自動構成" -#: userland/apps/installer/install_ops.c:313 +#: userland/apps/installer/installer_tty.c:178 +msgid "Automatic mirror list" +msgstr "ミラーリストを自動選択" + +#: userland/apps/installer/install_ops.c:257 msgid "Automatic mode replaces its partition table; manual mode can preserve other partitions." msgstr "自動設定は分割表を置換します。他の領域を残す場合は手動設定を選択してください。" -#: userland/apps/installer/main.cpp:1333 -msgid "Automatic partitioning creates a FAT32 ESP and an ext4 root. No BIOS Boot partition is needed." +#: userland/apps/installer/main.cpp:1042 +msgid "" +"Automatic partitioning creates a FAT32 ESP and an ext4 root. No BIOS Boot partition is " +"needed." msgstr "自動パーティション設定では FAT32 の ESP と ext4 のルートを作成します。BIOS Boot パーティションは不要です。" -#: userland/apps/installer/main.cpp:1334 +#: userland/apps/installer/main.cpp:1043 msgid "" -"Automatic partitioning creates an unformatted BIOS Boot partition, a FAT32 ESP and an ext4 root. " -"BIOS also uses the FAT32 partition for boot files." -msgstr "自動パーティション設定では未フォーマットの BIOS Boot パーティション、FAT32 の ESP、ext4 のルートを作成します。BIOS も起動ファイルに FAT32 パーティションを使用します。" - -#: userland/apps/installer/main.cpp:942 -msgid "Automatic plan: BIOS Boot 1 MiB; ESP 128 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." -msgstr "自動分割の計画:BIOS Boot 1 MiB、ESP 128 MiB(FAT32)、ルート %llu MiB(ext4)。\nインストールを確定すると、既存のすべてのパーティションを置き換えます。" +"Automatic partitioning creates an unformatted BIOS Boot partition, a FAT32 ESP and an ext4 " +"root. BIOS also uses the FAT32 partition for boot files." +msgstr "" +"自動パーティション設定では未フォーマットの BIOS Boot パーティション、FAT32 の ESP、ext4 のルートを作成します。BIOS も起動ファイルに FAT32 " +"パーティションを使用します。" -#: userland/apps/installer/main.cpp:941 -msgid "Automatic plan: ESP 128 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." -msgstr "自動分割の計画:ESP 128 MiB(FAT32)、ルート %llu MiB(ext4)。\nインストールを確定すると、既存のすべてのパーティションを置き換えます。" +#: userland/apps/installer/main.cpp:651 +msgid "" +"Automatic plan: BIOS Boot 1 MiB; ESP 512 MiB FAT32; root %llu MiB ext4.\n" +"This replaces all existing partitions only after confirmation." +msgstr "" +"自動分割の計画:BIOS Boot 1 MiB、ESP 512 MiB(FAT32)、ルート %llu MiB(ext4)。\n" +"インストールを確定すると、既存のすべてのパーティションを置き換えます。" -#: userland/apps/installer/installer_tty.c:120 -msgid "Automatically identify a single ReliefOS installation" -msgstr "単一の ReliefOS インストールを自動識別" +#: userland/apps/installer/main.cpp:650 +msgid "" +"Automatic plan: ESP 512 MiB FAT32; root %llu MiB ext4.\n" +"This replaces all existing partitions only after confirmation." +msgstr "" +"自動分割の計画:ESP 512 MiB(FAT32)、ルート %llu MiB(ext4)。\n" +"インストールを確定すると、既存のすべてのパーティションを置き換えます。" -#: userland/apps/installer/installer_tui.c:266 +#: userland/apps/installer/installer_tui.c:276 msgid "B BIOS E ESP R / D Data . Free" msgstr "B BIOS E ESP R / D データ . 空き" -#: userland/apps/installer/main.cpp:1184 +#: userland/apps/installer/main.cpp:893 msgid "BIOS Boot" msgstr "BIOS Boot" -#: userland/apps/installer/installer_tui.c:486 +#: userland/apps/installer/installer_tui.c:496 msgid "Back" msgstr "戻る" -#: userland/apps/installer/install_ops.c:1616 +#: userland/apps/installer/install_ops.c:941 msgid "Boot installation checks failed" msgstr "ブートローダーのインストール確認に失敗しました" -#: userland/apps/installer/installer_tty.c:128 -msgid "Boot partition" -msgstr "ブートパーティション" - #: configs/nls/messages/installer.c:16 msgid "Bootloaders" msgstr "ブートローダー" -#: userland/apps/installer/installer_update_progress.c:17 -msgid "Calculating the offline package transaction" -msgstr "オフラインのパッケージ処理を計算しています" - #: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" -#: userland/apps/installer/main.cpp:299 -msgid "Cancel check" -msgstr "確認をキャンセル" - -#: userland/apps/installer/installer_tty.c:397 +#: userland/apps/installer/installer_tty.c:336 msgid "Cancel installation" msgstr "インストールを中止" -#: userland/apps/installer/main.cpp:569 -msgid "Canceling the update check" -msgstr "更新の確認をキャンセルしています" - -#: userland/apps/installer/installer_tui_job.c:229 -msgid "Canceling the update check. Waiting for cleanup." -msgstr "更新の確認をキャンセルしています。後処理の完了を待っています。" - -#: userland/apps/installer/installer_tty.c:152 +#: userland/apps/installer/installer_tty.c:129 msgid "Cannot display this partition layout." msgstr "パーティション構成を表示できません。" -#: userland/apps/installer/installer_tty.c:233 +#: userland/apps/installer/installer_tty.c:201 msgid "Cannot initialize the terminal or installer log" msgstr "端末またはインストールログを初期化できません" -#: userland/apps/installer/installer_tui.c:601 +#: userland/apps/installer/installer_tui.c:611 msgid "Cannot read installer log" msgstr "インストールログを読み取れません" -#: userland/apps/installer/installer_tty.c:133 -msgid "Cannot read partition identity" -msgstr "パーティション識別情報を読み取れません" - -#: userland/apps/installer/main.cpp:971 +#: userland/apps/installer/main.cpp:680 msgid "Cannot read the partition layout" msgstr "パーティション構成を読み取れません" -#: userland/apps/installer/main.cpp:818 +#: userland/apps/installer/main.cpp:559 msgid "Cannot read the selected disk" msgstr "選択したディスクを読み取れません" -#: userland/apps/installer/installer_tty.c:374 +#: userland/apps/installer/installer_tty.c:316 msgid "Cannot select the requested locale." msgstr "選択したロケールに切り替えられません。" -#: userland/apps/installer/main.cpp:395 +#: userland/apps/installer/main.cpp:371 msgid "Cannot start the installation worker" msgstr "インストール用バックグラウンドプロセスを起動できません" -#: userland/apps/installer/main.cpp:525 -msgid "Cannot start the update worker" -msgstr "更新ワーカーを起動できません" - -#: userland/apps/installer/main.cpp:1008 +#: userland/apps/installer/main.cpp:717 msgid "Cannot update the partition plan" msgstr "パーティションの計画を変更できません" -#: userland/apps/installer/main.cpp:1113 +#: userland/apps/installer/main.cpp:822 msgid "Change added to the installation plan." msgstr "変更をインストール計画に追加しました。" @@ -205,99 +197,64 @@ msgstr "変更をインストール計画に追加しました。" msgid "Change partition type" msgstr "パーティションの種類を変更" -#: userland/apps/installer/installer_tty.c:426 +#: userland/apps/installer/installer_tty.c:357 msgid "Changes remain pending until installation is confirmed." msgstr "変更はインストールを確定するまで適用されません。" -#: userland/apps/installer/installer_tty.c:153 +#: userland/apps/installer/installer_tty.c:130 msgid "Changes remain pending until you confirm the installation. Going back keeps your choices." msgstr "変更はインストールを確定するまで適用されません。前の手順に戻っても設定は保持されます。" -#: userland/apps/installer/main.cpp:229 -msgid "Check Again" -msgstr "再確認" - -#: userland/apps/installer/main.cpp:234 -msgid "Check Update" -msgstr "更新を確認" - -#: userland/apps/installer/installer_tty.c:363 -msgid "Check system" -msgstr "システムを確認" - -#: userland/apps/installer/main.cpp:1420 +#: userland/apps/installer/main.cpp:1157 msgid "Check the target and planned changes. Use Back or the sidebar to change your choices." msgstr "対象と変更内容を確認してください。「前へ」またはサイドバーから設定を変更できます。" -#: userland/apps/installer/installer_tty.c:493 +#: userland/apps/installer/installer_tty.c:390 msgid "Check username and matching passwords (1-32 characters, no spaces)." msgstr "ユーザー名とパスワードの一致を確認してください (1~32 文字、スペース不可)。" -#: userland/apps/installer/installer_update_engine.c:611 -msgid "Checking bootloader files on the installation media" -msgstr "インストールメディアのブートローダーファイルを確認しています" +#: userland/apps/installer/install_ops.c:1107 +msgid "Checking signed package repositories" +msgstr "署名付きパッケージリポジトリを確認しています" -#: userland/apps/installer/installer_update_engine.c:610 -msgid "Checking installation media and free space" -msgstr "インストールメディアと空き容量を確認しています" - -#: userland/apps/installer/installer_tui_job.c:215 -msgid "Checking installed system" -msgstr "インストール済みシステムを確認中" - -#: userland/apps/installer/installer_update_progress.c:14 -msgid "Checking signed repository and package archives" -msgstr "署名付きリポジトリとパッケージを確認しています" - -#: userland/apps/installer/main.cpp:1499 -msgid "Checking system update" -msgstr "システム更新を確認しています" - -#: userland/apps/installer/installer_update_engine.c:612 -msgid "Checking the installed bootloader layout" -msgstr "インストール済みブートローダーの配置を確認しています" - -#: userland/apps/installer/main.cpp:550 -msgid "Checking the selected system" -msgstr "選択したシステムを確認しています" - -#: userland/apps/installer/installer_tty.c:264 -msgid "Choose a language, then configure your installation. You can return to earlier steps before installing." +#: userland/apps/installer/installer_tty.c:231 +msgid "" +"Choose a language, then configure your installation. You can return to earlier steps before " +"installing." msgstr "言語を選び、インストールを設定してください。インストールを開始するまでは前の手順に戻れます。" -#: userland/apps/installer/main.cpp:754 -msgid "Choose a new installation or update an existing ReliefOS system." -msgstr "新規インストール、または既存の ReliefOS システムの更新を選んでください。" - -#: userland/apps/installer/main.cpp:1350 +#: userland/apps/installer/main.cpp:1059 msgid "Choose bootloaders" msgstr "ブートローダーを選択" -#: userland/apps/installer/installer_tty.c:309 -msgid "Choose how this disk will start. Selecting BIOS and UEFI supports both firmware types; the partition plan follows this choice." +#: userland/apps/installer/installer_tty.c:254 +msgid "" +"Choose how this disk will start. Selecting BIOS and UEFI supports both firmware types; the " +"partition plan follows this choice." msgstr "このディスクの起動方法を選んでください。BIOS と UEFI の両方を選ぶと、どちらのファームウェアでも起動できます。パーティションの計画もこの選択に従います。" -#: userland/apps/installer/main.cpp:1376 +#: userland/apps/installer/main.cpp:1098 msgid "Choose the desktop and additional disk space for virtual memory." msgstr "デスクトップ環境と仮想メモリ用の追加ディスク領域を設定してください。" -#: userland/apps/installer/installer_tty.c:284 -msgid "Choose the disk containing ReliefOS. Check the installation before reviewing the update." -msgstr "ReliefOS のあるディスクを選んでください。既存のシステムを確認してから更新内容を確認します。" - -#: userland/apps/installer/installer_tty.c:285 -msgid "Choose the installation disk. The next steps let you erase it or select partitions for coexistence." +#: userland/apps/installer/installer_tty.c:245 +msgid "" +"Choose the installation disk. The next steps let you erase it or select partitions for " +"coexistence." msgstr "インストール先のディスクを選んでください。次の手順でディスク全体の消去、または既存システムと共存するパーティションの選択ができます。" -#: userland/apps/installer/installer_tty.c:325 -msgid "Choose the installed desktop and optional swapfile. These choices are included in the final review." +#: userland/apps/installer/installer_tty.c:270 +msgid "" +"Choose the installed desktop and optional swapfile. These choices are included in the final " +"review." msgstr "インストールするデスクトップ環境と必要に応じたスワップファイルを選んでください。設定は最終確認に表示されます。" -#: userland/apps/installer/main.cpp:698 +#: userland/apps/installer/main.cpp:504 msgid "Choose the language for Setup and the installed system." msgstr "セットアップとインストール後のシステムで使用する言語を選択してください。" #: userland/apps/installer/installer_plan.c:444 +#, python-format msgid "Clear all contents of BIOS Boot partition %u (%llu bytes).\n" msgstr "BIOS Boot パーティション %u の全内容(%llu バイト)を消去します。\n" @@ -305,27 +262,15 @@ msgstr "BIOS Boot パーティション %u の全内容(%llu バイト)を msgid "Close" msgstr "閉じる" -#: userland/apps/installer/installer_update_engine.c:637 -msgid "Closing the update target" -msgstr "更新対象の後処理を行っています" - -#: userland/apps/installer/installer_update_progress.c:138 -msgid "Comparing contents" -msgstr "内容を比較中" - -#: userland/apps/installer/installer_update_progress.c:141 -msgid "Completed" -msgstr "完了" - #: configs/nls/messages/installer.c:17 msgid "Configure partitions" msgstr "パーティションを設定" -#: userland/apps/installer/install_ops.c:1341 +#: userland/apps/installer/install_ops.c:1126 msgid "Configuring installed system" msgstr "インストール済みシステムを設定しています" -#: userland/apps/installer/main.cpp:213 +#: userland/apps/installer/main.cpp:199 msgid "Confirm" msgstr "確認" @@ -333,55 +278,55 @@ msgstr "確認" msgid "Confirm password" msgstr "パスワードの確認" -#: userland/apps/installer/installer_tty.c:322 +#: userland/apps/installer/installer_tty.c:267 msgid "Confirm root password" msgstr "root パスワードの確認" -#: userland/apps/installer/installer_tty.c:208 +#: userland/apps/installer/installer_tty.c:173 msgid "Console only" msgstr "コンソールのみ" -#: userland/apps/installer/main.cpp:1386 -msgid "Console only installs without a graphical login. XFCE is an experimental desktop option." -msgstr "「コンソールのみ」ではグラフィカルログインをインストールしません。XFCE は実験的なデスクトップです。" - -#: userland/apps/installer/installer_tui.c:551 +#: userland/apps/installer/installer_tui.c:561 msgid "Continue" msgstr "続行" -#: userland/apps/installer/install_ops.c:1646 -msgid "Copy failed" -msgstr "コピーに失敗しました" +#: userland/apps/installer/install_ops.c:1125 +msgid "Could not configure installed system" +msgstr "インストールしたシステムを設定できませんでした" -#: userland/apps/installer/install_ops.c:1206 -msgid "Copy path is too long" -msgstr "コピー元またはコピー先のパスが長すぎます" +#: userland/apps/installer/install_ops.c:1138 +msgid "Could not configure target filesystems" +msgstr "インストール先のファイルシステムを設定できませんでした" -#: userland/apps/installer/installer_update_progress.c:139 -msgid "Copying" -msgstr "コピー中" - -#: userland/apps/installer/install_ops.c:979 -msgid "Copying system files" -msgstr "システムファイルをコピーしています" +#: userland/apps/installer/install_ops.c:1151 +msgid "Could not create installer state" +msgstr "インストーラーの作業ディレクトリを作成できませんでした" #: userland/apps/fltk_png_app.h:46 msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/installer/install_ops.c:908 +#: userland/apps/installer/install_ops.c:1088 +msgid "Could not identify the installation medium" +msgstr "インストールメディアを識別できませんでした" + +#: userland/apps/installer/install_ops.c:868 msgid "Could not list disks" msgstr "ディスク一覧を取得できませんでした" -#: userland/apps/installer/install_ops.c:1637 +#: userland/apps/installer/install_ops.c:1111 msgid "Could not prepare target filesystems" msgstr "対象のファイルシステムを準備できませんでした" -#: userland/apps/installer/install_ops.c:1661 -msgid "Could not save installed preferences" -msgstr "インストール後の設定を保存できませんでした" +#: userland/apps/installer/install_ops.c:937 +msgid "Could not synchronize target filesystem" +msgstr "インストール先のファイルシステムを同期できませんでした" + +#: userland/apps/installer/install_ops.c:1106 +msgid "Could not verify online repositories or installation settings" +msgstr "オンラインリポジトリまたはインストール設定を検証できませんでした" -#: userland/apps/installer/installer_tty.c:156 +#: userland/apps/installer/installer_tty.c:133 msgid "Create" msgstr "作成" @@ -389,7 +334,7 @@ msgstr "作成" msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/installer/installer_tty.c:330 +#: userland/apps/installer/installer_tty.c:275 msgid "Create a swapfile" msgstr "スワップファイルを作成" @@ -397,11 +342,11 @@ msgstr "スワップファイルを作成" msgid "Create partition" msgstr "パーティションを作成" -#: userland/apps/installer/installer_tty.c:160 +#: userland/apps/installer/installer_tty.c:137 msgid "Create uses the first suitable free range." msgstr "新しいパーティションは、十分な空きがある最初の領域に作成します。" -#: userland/apps/installer/install_ops.c:1326 +#: userland/apps/installer/install_ops.c:955 msgid "Creating swapfile" msgstr "スワップファイルを作成しています" @@ -421,23 +366,23 @@ msgstr "削除" msgid "Delete partition" msgstr "パーティションを削除" -#: userland/apps/installer/installer_tty.c:208 +#: userland/apps/installer/installer_tty.c:173 msgid "Desktop" msgstr "デスクトップ環境" -#: userland/apps/installer/installer_tty.c:326 +#: userland/apps/installer/installer_tty.c:271 msgid "Desktop environment" msgstr "デスクトップ環境" -#: userland/apps/installer/installer_tty.c:210 +#: userland/apps/installer/installer_tty.c:175 msgid "Disabled" msgstr "無効" -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Discard changes" msgstr "変更を破棄" -#: userland/apps/installer/main.cpp:1200 +#: userland/apps/installer/main.cpp:909 msgid "Discard edits" msgstr "編集内容を破棄" @@ -445,7 +390,7 @@ msgstr "編集内容を破棄" msgid "Discard partition changes" msgstr "パーティションの変更を破棄" -#: userland/apps/installer/main.cpp:1127 +#: userland/apps/installer/main.cpp:836 msgid "Discard pending partition edits and reload the disk?" msgstr "未適用のパーティション編集を破棄し、ディスクを読み直しますか?" @@ -453,36 +398,36 @@ msgstr "未適用のパーティション編集を破棄し、ディスクを読 msgid "Discard the pending partition changes and read the current disk layout again?" msgstr "未適用のパーティション変更を破棄し、現在のディスク構成を読み直しますか?" -#: userland/apps/installer/main.cpp:208 +#: userland/apps/installer/main.cpp:194 msgid "Disk" msgstr "ディスク" -#: userland/apps/installer/model.c:219 +#: userland/apps/installer/model.c:200 msgid "Disk " msgstr "ディスク " -#: userland/apps/installer/main.cpp:1459 +#: userland/apps/installer/main.cpp:1175 msgid "Disk changes to apply" msgstr "適用するディスクの変更" -#: userland/apps/installer/main.cpp:1158 +#: userland/apps/installer/main.cpp:867 msgid "Disk layout" msgstr "ディスク構成" -#: userland/apps/installer/installer_tui_job.c:225 +#: userland/apps/installer/installer_tui_job.c:198 msgid "Disk operations are running. Please wait for completion." msgstr "ディスク操作を実行しています。完了までお待ちください。" -#: userland/apps/installer/main.cpp:1500 +#: userland/apps/installer/main.cpp:1201 msgid "Do not turn off this machine." msgstr "このコンピューターの電源を切らないでください。" -#: userland/apps/installer/main.cpp:874 -msgid "EFI system partition" -msgstr "EFI システムパーティション" +#: userland/apps/installer/install_ops.c:1119 +msgid "Downloading packages" +msgstr "パッケージをダウンロードしています" -#: userland/apps/installer/install_ops.c:682 -#, c-format +#: userland/apps/installer/install_ops.c:615 +#, c-format, python-format msgid "Elapsed time: %lu s" msgstr "経過時間:%lu 秒" @@ -490,50 +435,62 @@ msgstr "経過時間:%lu 秒" msgid "Enter a positive whole number of MiB." msgstr "MiB 単位の正の整数を入力してください。" -#: userland/apps/installer/installer_tty.c:498 +#: userland/apps/installer/installer_tty.c:395 msgid "Enter a valid swap size in MiB." msgstr "有効なスワップサイズを MiB 単位で入力してください。" -#: userland/apps/installer/install_ops.c:431 -msgid "Erase all partitions on %s.\nCreate BIOS Boot: 1 MiB, unformatted.\nCreate ESP: 128 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." -msgstr "%s のすべてのパーティションを消去します。\nBIOS Boot を作成:1 MiB、フォーマットしません。\nESP を作成:128 MiB、FAT32 でフォーマット。\nシステムのルートを作成:%llu MiB、ext4 でフォーマット。" +#: userland/apps/installer/install_ops.c:364 +#, python-format +msgid "" +"Erase all partitions on %s.\n" +"Create BIOS Boot: 1 MiB, unformatted.\n" +"Create ESP: 512 MiB, format FAT32.\n" +"Create system root: %llu MiB, format ext4." +msgstr "" +"%s のすべてのパーティションを消去します。\n" +"BIOS Boot を作成:1 MiB、フォーマットしません。\n" +"ESP を作成:512 MiB、FAT32 でフォーマット。\n" +"システムのルートを作成:%llu MiB、ext4 でフォーマット。" -#: userland/apps/installer/install_ops.c:432 -msgid "Erase all partitions on %s.\nCreate ESP: 128 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." -msgstr "%s のすべてのパーティションを消去します。\nESP を作成:128 MiB、FAT32 でフォーマット。\nシステムのルートを作成:%llu MiB、ext4 でフォーマット。" +#: userland/apps/installer/install_ops.c:365 +#, python-format +msgid "" +"Erase all partitions on %s.\n" +"Create ESP: 512 MiB, format FAT32.\n" +"Create system root: %llu MiB, format ext4." +msgstr "" +"%s のすべてのパーティションを消去します。\n" +"ESP を作成:512 MiB、FAT32 でフォーマット。\n" +"システムのルートを作成:%llu MiB、ext4 でフォーマット。" -#: userland/apps/installer/main.cpp:1159 +#: userland/apps/installer/main.cpp:868 msgid "Erase disk and install automatically" msgstr "ディスクを消去して自動インストール" -#: userland/apps/installer/installer_tty.c:188 +#: userland/apps/installer/installer_tty.c:153 msgid "Erase disk: BIOS Boot %llu MiB, ESP %llu MiB, ext4 root %llu MiB" msgstr "ディスクを消去:BIOS Boot %llu MiB、ESP %llu MiB、ext4 ルート %llu MiB" -#: userland/apps/installer/installer_tty.c:204 +#: userland/apps/installer/installer_tty.c:169 msgid "Existing ESP files are preserved unless formatting is listed below." msgstr "下にフォーマットが明記されていなければ、ESP の既存ファイルは保持されます。" -#: userland/apps/installer/installer_tty.c:361 +#: userland/apps/installer/installer_tty.c:303 msgid "Exit" msgstr "終了" -#: userland/apps/installer/main.cpp:578 +#: userland/apps/installer/main.cpp:398 msgid "Exit installer" msgstr "インストーラーを終了" -#: userland/apps/installer/installer_tty.c:397 +#: userland/apps/installer/installer_tty.c:336 msgid "Exit the installer?" msgstr "インストーラーを終了しますか?" -#: userland/apps/installer/main.cpp:579 +#: userland/apps/installer/main.cpp:399 msgid "Exit the installer? Unapplied disk changes and setup choices will be discarded." msgstr "インストーラーを終了しますか?未適用のディスク変更とインストール設定は破棄されます。" -#: userland/apps/installer/installer_update_progress.c:142 -msgid "Failed" -msgstr "失敗" - #: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" @@ -554,14 +511,10 @@ msgstr "ファイルシステム" msgid "Filesystem label" msgstr "ファイルシステムラベル" -#: userland/apps/installer/main.cpp:216 +#: userland/apps/installer/main.cpp:201 msgid "Finish" msgstr "完了" -#: userland/apps/installer/installer_update_engine.c:627 -msgid "Finishing the system update" -msgstr "システム更新を完了しています" - #: configs/nls/messages/installer.c:24 msgid "Format" msgstr "フォーマット" @@ -570,35 +523,27 @@ msgstr "フォーマット" msgid "Format partition" msgstr "パーティションをフォーマット" -#: userland/apps/installer/installer_tty.c:162 +#: userland/apps/installer/installer_tty.c:139 msgid "Format selected ESP (erase all EFI boot files on it)" msgstr "選択した ESP をフォーマット (その上のすべての EFI 起動ファイルを消去)" -#: userland/apps/installer/installer_tty.c:173 -msgid "Free / required space" -msgstr "空き容量 / 必要容量" - -#: userland/apps/installer/main.cpp:757 -msgid "Fresh Install" -msgstr "新規インストール" +#: userland/apps/installer/install_ops.c:600 +msgid "Formatting root filesystem" +msgstr "ルートファイルシステムをフォーマットしています" -#: userland/apps/installer/installer_tty.c:221 +#: userland/apps/installer/installer_tty.c:189 msgid "Go back to edit any option. Nothing is written until you choose Install." msgstr "前の手順に戻って設定を変更できます。「インストール」を選ぶまでディスクには書き込みません。" -#: userland/apps/installer/main.cpp:729 +#: userland/apps/installer/main.cpp:535 msgid "I accept the license terms" msgstr "ライセンス条項に同意する" -#: userland/apps/installer/installer_tty.c:209 +#: userland/apps/installer/installer_tty.c:174 msgid "IceWM (default)" msgstr "IceWM(既定)" -#: userland/apps/installer/installer_update_engine.c:609 -msgid "Identifying the installed system" -msgstr "インストール済みシステムを識別しています" - -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Initialize GPT" msgstr "GPT を初期化" @@ -606,55 +551,51 @@ msgstr "GPT を初期化" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/installer/install_ops.c:297 +#: userland/apps/installer/installer_tty.c:302 msgid "Install" msgstr "インストール" -#: userland/apps/installer/main.cpp:689 +#: userland/apps/installer/main.cpp:495 msgid "Install ReliefOS" msgstr "ReliefOS をインストール" -#: userland/apps/installer/installer_tty.c:279 -msgid "Install a new system" -msgstr "システムを新規インストール" - -#: userland/apps/installer/installer_tty.c:273 -msgid "Install a new system or update an existing ReliefOS disk." -msgstr "新しいシステムをインストールするか、既存の ReliefOS ディスクを更新します。" +#: userland/apps/installer/installer_tty.c:240 +msgid "Install ReliefOS from signed Arch and RPR repositories." +msgstr "署名付きの Arch および RPR リポジトリから ReliefOS をインストールします。" -#: userland/apps/installer/install_ops.c:1545 +#: userland/apps/installer/install_ops.c:979 msgid "Install failed" msgstr "インストールに失敗しました" -#: userland/apps/installer/installer_tty.c:303 +#: userland/apps/installer/installer_tty.c:255 msgid "Install or update BIOS bootloader" msgstr "BIOS ブートローダーをインストールまたは更新" -#: userland/apps/installer/installer_tty.c:304 +#: userland/apps/installer/installer_tty.c:256 msgid "Install or update UEFI bootloader" msgstr "UEFI ブートローダーをインストールまたは更新" -#: userland/apps/installer/model.c:178 +#: userland/apps/installer/model.c:159 msgid "Installation" msgstr "インストール" -#: userland/apps/installer/main.cpp:1527 +#: userland/apps/installer/main.cpp:1223 msgid "Installation Complete" msgstr "インストール完了" -#: userland/apps/installer/main.cpp:1553 +#: userland/apps/installer/main.cpp:1240 msgid "Installation Failed" msgstr "インストール失敗" -#: userland/apps/installer/install_ops.c:1540 +#: userland/apps/installer/install_ops.c:974 msgid "Installation completed successfully" msgstr "インストールが正常に完了しました" -#: userland/apps/installer/installer_tty.c:337 +#: userland/apps/installer/installer_tty.c:284 msgid "Installation completed successfully." msgstr "インストールが正常に完了しました。" -#: userland/apps/installer/install_ops.c:273 +#: userland/apps/installer/install_ops.c:251 msgid "Installation failed" msgstr "インストールに失敗しました" @@ -662,22 +603,14 @@ msgstr "インストールに失敗しました" msgid "Installation finished" msgstr "インストール完了" -#: userland/apps/installer/install_ops.c:1561 +#: userland/apps/installer/install_ops.c:1184 msgid "Installation has not been confirmed" msgstr "インストールが確定されていません" -#: userland/apps/installer/installer_tui.c:268 +#: userland/apps/installer/installer_tui.c:278 msgid "Installation layout - changes remain pending" msgstr "インストール構成 — 変更は未適用" -#: userland/apps/installer/install_ops.c:1436 -msgid "Installation media is incomplete" -msgstr "インストールメディアが不完全です" - -#: userland/apps/installer/installer_update_engine.c:300 -msgid "Installation media is older than the installed system" -msgstr "インストールメディアはインストール済みシステムより古いバージョンです" - #: configs/nls/messages/installer.c:14 msgid "Installation mode" msgstr "インストールモード" @@ -686,39 +619,35 @@ msgstr "インストールモード" msgid "Installation progress" msgstr "インストールの進行状況" -#: userland/apps/installer/model.c:177 +#: userland/apps/installer/model.c:158 msgid "Installation result" msgstr "インストール結果" -#: userland/apps/installer/main.cpp:753 -msgid "Installation type" -msgstr "インストール方法" - -#: userland/apps/installer/main.cpp:366 +#: userland/apps/installer/main.cpp:341 msgid "Installation worker failed" msgstr "インストール用バックグラウンドプロセスでエラーが発生しました" -#: userland/apps/installer/installer_tty.c:393 +#: userland/apps/installer/installer_tty.c:332 msgid "Installer log" msgstr "インストールログ" -#: userland/apps/installer/install_ops.c:303 -msgid "Installing ReliefOS" -msgstr "ReliefOS をインストールしています" - -#: userland/apps/installer/install_ops.c:1313 +#: userland/apps/installer/install_ops.c:942 msgid "Installing bootloaders" msgstr "ブートローダーをインストールしています" -#: userland/apps/installer/model.c:176 +#: userland/apps/installer/install_ops.c:1034 +msgid "Installing packages" +msgstr "パッケージをインストールしています" + +#: userland/apps/installer/main.cpp:1200 msgid "Installing system" msgstr "システムをインストール中" -#: userland/apps/installer/install_ops.c:1574 +#: userland/apps/installer/install_ops.c:1197 msgid "Invalid installation settings" msgstr "インストール設定が無効です" -#: userland/apps/installer/install_ops.c:1570 +#: userland/apps/installer/install_ops.c:1193 msgid "Invalid partition plan" msgstr "パーティションの計画が無効です" @@ -726,15 +655,15 @@ msgstr "パーティションの計画が無効です" msgid "Invalid size" msgstr "無効なサイズ" -#: userland/apps/installer/install_ops.c:1605 +#: userland/apps/installer/install_ops.c:1099 msgid "Invalid swap size" msgstr "スワップサイズが無効です" -#: userland/apps/installer/main.cpp:1126 +#: userland/apps/installer/main.cpp:835 msgid "Keep changes" msgstr "変更を保持" -#: userland/apps/installer/main.cpp:578 +#: userland/apps/installer/main.cpp:398 msgid "Keep configuring" msgstr "設定を続ける" @@ -746,7 +675,7 @@ msgstr "言語" msgid "License" msgstr "ライセンス" -#: userland/apps/installer/main.cpp:718 +#: userland/apps/installer/main.cpp:524 msgid "License agreement" msgstr "ライセンス契約" @@ -754,26 +683,24 @@ msgstr "ライセンス契約" msgid "Manage Favorites" msgstr "お気に入りの管理" -#: userland/apps/installer/main.cpp:950 +#: userland/apps/installer/main.cpp:659 msgid "Manual layout: assign BIOS Boot, ESP and root roles. BIOS Boot stays unformatted." msgstr "手動構成: BIOS Boot、ESP、ルートの役割を割り当てます。BIOS Boot はフォーマットされません。" -#: userland/apps/installer/main.cpp:949 -msgid "Manual layout: assign a FAT32 ESP and an ext4 or ext3 root. BIOS Boot is not required for the selected bootloaders." +#: userland/apps/installer/main.cpp:658 +msgid "" +"Manual layout: assign a FAT32 ESP and an ext4 or ext3 root. BIOS Boot is not required for " +"the selected bootloaders." msgstr "手動構成: FAT32 の ESP と ext4 または ext3 のルートを割り当てます。選択したブートローダーでは BIOS Boot は不要です。" -#: userland/apps/installer/installer_tty.c:147 +#: userland/apps/installer/installer_tty.c:124 msgid "Manual partitioning" msgstr "手動構成" -#: userland/apps/installer/main.cpp:1160 +#: userland/apps/installer/main.cpp:869 msgid "Manual partitioning / keep other systems" msgstr "手動で分割 / 他のシステムを保持" -#: userland/apps/installer/main.cpp:207 -msgid "Mode" -msgstr "モード" - #: configs/nls/messages/installer.c:6 msgid "Mount failed" msgstr "マウントに失敗しました" @@ -782,7 +709,7 @@ msgstr "マウントに失敗しました" msgid "Mounting target filesystems" msgstr "対象ファイルシステムをマウントしています" -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Name" msgstr "名前" @@ -794,11 +721,11 @@ msgstr "新しいフォルダーを作成しますか?" msgid "New GPT" msgstr "新しい GPT" -#: userland/apps/installer/main.cpp:1025 +#: userland/apps/installer/main.cpp:734 msgid "New partition table added to the plan." msgstr "新しいパーティションテーブルを計画に追加しました。" -#: userland/apps/installer/installer_tty.c:363 +#: userland/apps/installer/installer_tty.c:304 msgid "Next" msgstr "次へ" @@ -806,19 +733,19 @@ msgstr "次へ" msgid "No" msgstr "いいえ" -#: userland/apps/installer/installer_tty.c:224 +#: userland/apps/installer/installer_tty.c:192 msgid "No bootloader selected. A new installation will need a separately configured bootloader." msgstr "ブートローダーが選択されていません。新規インストールでは別途設定したブートローダーが必要です。" -#: userland/apps/installer/install_ops.c:920 +#: userland/apps/installer/install_ops.c:880 msgid "No disks were found" msgstr "ディスクが見つかりませんでした" -#: userland/apps/installer/main.cpp:1556 +#: userland/apps/installer/main.cpp:1241 msgid "No writes will continue after this error." msgstr "このエラーの後、書き込みは続行されません。" -#: userland/apps/installer/install_ops.c:450 +#: userland/apps/installer/install_ops.c:383 msgid "Not selected" msgstr "未選択" @@ -826,28 +753,36 @@ msgstr "未選択" msgid "OK" msgstr "OK" +#: userland/apps/installer/main.cpp:543 +msgid "Online installation" +msgstr "オンラインインストール" + #: userland/apps/installer/installer_tty.c:24 msgid "Operation failed" msgstr "操作に失敗しました" -#: userland/apps/installer/installer_update_progress.c:136 -msgid "Package" -msgstr "パッケージ" +#: userland/apps/installer/install_ops.c:1122 +msgid "Package download failed" +msgstr "パッケージのダウンロードに失敗しました" + +#: userland/apps/installer/install_ops.c:1121 +msgid "Package installation failed" +msgstr "パッケージのインストールに失敗しました" -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Partition" msgstr "パーティション" -#: userland/apps/installer/install_ops.c:465 +#: userland/apps/installer/install_ops.c:398 #, python-format msgid "Partition %u %s %llu MiB %s %s%s" msgstr "パーティション %u %s %llu MiB %s %s%s" -#: userland/apps/installer/main.cpp:1032 +#: userland/apps/installer/main.cpp:741 msgid "Partition deletion added to the plan." msgstr "パーティションの削除を計画に追加しました。" -#: userland/apps/installer/model.c:170 +#: userland/apps/installer/model.c:153 msgid "Partition layout" msgstr "パーティション構成" @@ -859,7 +794,7 @@ msgstr "パーティション名" msgid "Partition operation failed" msgstr "パーティション操作に失敗しました" -#: userland/apps/installer/main.cpp:1010 +#: userland/apps/installer/main.cpp:719 msgid "Partition plan updated" msgstr "パーティションの計画を更新しました" @@ -867,15 +802,15 @@ msgstr "パーティションの計画を更新しました" msgid "Partition role" msgstr "パーティションの用途" -#: userland/apps/installer/main.cpp:1147 +#: userland/apps/installer/main.cpp:856 msgid "Partition role updated." msgstr "パーティションの役割を更新しました。" -#: userland/apps/installer/main.cpp:210 +#: userland/apps/installer/main.cpp:196 msgid "Partitions" msgstr "パーティション" -#: userland/apps/installer/installer_tty.c:319 +#: userland/apps/installer/installer_tty.c:264 msgid "Password" msgstr "パスワード" @@ -883,23 +818,15 @@ msgstr "パスワード" msgid "Password:" msgstr "パスワード:" -#: userland/apps/installer/install_ops.c:1593 -msgid "Payload check failed" -msgstr "ペイロードの確認に失敗しました" - -#: userland/apps/installer/install_ops.c:1623 -msgid "Payload scan failed" -msgstr "ペイロードのスキャンに失敗しました" - -#: userland/apps/installer/installer_tui.c:268 +#: userland/apps/installer/installer_tui.c:278 msgid "Pending layout - written only after INSTALL confirmation." msgstr "適用予定の構成です。INSTALL の最終確認後に書き込みます。" -#: userland/apps/installer/main.cpp:1030 +#: userland/apps/installer/main.cpp:739 msgid "Plan deletion" msgstr "削除を計画" -#: userland/apps/installer/main.cpp:1023 +#: userland/apps/installer/main.cpp:732 msgid "Plan new table" msgstr "新しいテーブルを計画" @@ -907,43 +834,19 @@ msgstr "新しいテーブルを計画" msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/installer/installer_tty.c:403 +#: userland/apps/installer/installer_tty.c:342 msgid "Power operation failed" msgstr "電源操作に失敗しました" -#: userland/apps/installer/main.cpp:768 -msgid "Prepare a clean ReliefOS system with automatic or manual disk partitioning." -msgstr "自動または手動のパーティション設定で、新しい ReliefOS システムを準備します。" - -#: userland/apps/installer/installer_tui_job.c:223 +#: userland/apps/installer/installer_tui_job.c:196 msgid "Preparing operation" msgstr "操作を準備しています" -#: userland/apps/installer/install_ops.c:1634 +#: userland/apps/installer/install_ops.c:1112 msgid "Preparing target disk" msgstr "対象ディスクを準備しています" -#: userland/apps/installer/installer_update_engine.c:620 -msgid "Preparing the installed system for update" -msgstr "インストール済みシステムの更新を準備しています" - -#: userland/apps/installer/main.cpp:550 -msgid "Preparing the system update" -msgstr "システム更新を準備しています" - -#: userland/apps/installer/installer_update_engine.c:568 -msgid "Preparing update session" -msgstr "更新の準備をしています" - -#: userland/apps/installer/installer_update_progress.c:15 -msgid "Preparing verified package archives" -msgstr "検証済みパッケージを準備しています" - -#: userland/apps/installer/installer_update_progress.c:18 -msgid "Preserving the installed kernel and configuration" -msgstr "インストール済みのカーネルと設定を保存しています" - -#: userland/apps/installer/install_ops.c:1541 +#: userland/apps/installer/install_ops.c:975 msgid "Press Restart to boot from the installed disk." msgstr "「再起動」を押すと、インストールしたディスクから起動します。" @@ -951,66 +854,38 @@ msgstr "「再起動」を押すと、インストールしたディスクから msgid "Preview" msgstr "プレビュー" -#: userland/apps/installer/main.cpp:690 +#: userland/apps/installer/main.cpp:496 msgid "Previous Step" msgstr "前の手順" -#: userland/apps/installer/installer_update_engine.c:626 -msgid "Publishing kernel and bootloader files" -msgstr "カーネルとブートローダーのファイルを配置しています" - -#: userland/apps/installer/installer_update_progress.c:22 -msgid "Publishing the offline package cache" -msgstr "オフラインパッケージのキャッシュを反映しています" - #: configs/nls/messages/installer.c:26 msgid "Ready" msgstr "準備完了" -#: userland/apps/installer/main.cpp:485 -msgid "Ready to update" -msgstr "更新の準備完了" - -#: userland/apps/installer/installer_update_engine.c:346 -msgid "Recovering the previous update attempt" -msgstr "前回の更新処理を復旧しています" - -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Refresh" msgstr "更新" -#: userland/apps/installer/main.cpp:872 -msgid "ReliefOS system partition" -msgstr "ReliefOS システムパーティション" - -#: userland/apps/installer/main.cpp:1530 +#: userland/apps/installer/main.cpp:1224 msgid "ReliefOS was installed to the selected disk." msgstr "選択したディスクに ReliefOS をインストールしました。" -#: userland/apps/installer/main.cpp:1529 -msgid "ReliefOS was updated on the selected disk." -msgstr "選択したディスクの ReliefOS を更新しました。" - -#: userland/apps/installer/installer_tty.c:401 +#: userland/apps/installer/installer_tty.c:340 msgid "Remove the installation media before continuing." msgstr "続行する前にインストールメディアを取り外してください。" -#: userland/apps/installer/install_ops.c:1548 +#: userland/apps/installer/install_ops.c:982 msgid "Remove the installation media before rebooting." msgstr "再起動する前にインストールメディアを取り外してください。" -#: userland/apps/installer/main.cpp:490 +#: userland/apps/installer/main.cpp:1226 msgid "Remove the installation media, then restart." msgstr "インストールメディアを取り外してから再起動してください。" -#: userland/apps/installer/main.cpp:1031 +#: userland/apps/installer/main.cpp:740 msgid "Remove the selected partition when the installation is confirmed?" msgstr "インストールを確定したときに、選択したパーティションを削除しますか?" -#: userland/apps/installer/installer_update_progress.c:23 -msgid "Removing retired package archives" -msgstr "廃止されたパッケージを削除しています" - #: configs/nls/messages/installer.c:27 msgid "Rename" msgstr "名前の変更" @@ -1019,19 +894,17 @@ msgstr "名前の変更" msgid "Rename partition" msgstr "パーティション名を変更" -#: userland/apps/installer/installer_update_progress.c:19 -msgid "Repairing signed system packages" -msgstr "署名付きシステムパッケージを修復しています" - #: userland/apps/installer/installer_plan.c:413 msgid "Replace partition table" msgstr "パーティションテーブルを置換" -#: userland/apps/installer/main.cpp:1024 -msgid "Replace this disk's partition table in the installation plan? All existing partitions will be removed when you install." +#: userland/apps/installer/main.cpp:733 +msgid "" +"Replace this disk's partition table in the installation plan? All existing partitions will " +"be removed when you install." msgstr "このディスクのパーティションテーブルの置換を計画しますか?インストール時に既存のすべてのパーティションが削除されます。" -#: userland/apps/installer/installer_tty.c:156 +#: userland/apps/installer/installer_tty.c:133 msgid "Resize" msgstr "サイズ変更" @@ -1039,71 +912,47 @@ msgstr "サイズ変更" msgid "Resize partition" msgstr "パーティションのサイズを変更" -#: userland/apps/installer/installer_tui.c:371 +#: userland/apps/installer/installer_tui.c:381 msgid "Resize the terminal to at least 60 columns and 20 rows." msgstr "端末のサイズを 60 列、20 行以上にしてください。" -#: userland/apps/installer/main.cpp:1043 +#: userland/apps/installer/main.cpp:752 msgid "Resizing changes the partition boundary. Existing filesystems cannot be shrunk here." msgstr "サイズ変更はパーティションの境界を変更します。既存のファイルシステムはここでは縮小できません。" -#: userland/apps/installer/installer_tty.c:352 +#: userland/apps/installer/installer_tty.c:294 msgid "Restart" msgstr "再起動" -#: userland/apps/installer/main.cpp:1546 +#: userland/apps/installer/main.cpp:1234 msgid "Restart failed" msgstr "再起動に失敗しました" -#: userland/apps/installer/installer_update_progress.c:25 -msgid "Restoring retained kernel files" -msgstr "保存したカーネルファイルを復元しています" - -#: userland/apps/installer/installer_update_progress.c:140 -msgid "Reused" -msgstr "再利用済み" - #: configs/nls/messages/installer.c:19 msgid "Review installation" msgstr "インストール設定の確認" -#: userland/apps/installer/installer_tty.c:361 +#: userland/apps/installer/installer_tty.c:303 msgid "Review settings" msgstr "設定を見直す" -#: userland/apps/installer/main.cpp:1419 -msgid "Review system update" -msgstr "システム更新を確認" - -#: userland/apps/installer/installer_tty.c:339 +#: userland/apps/installer/installer_tty.c:286 msgid "Review the configuration before trying again. Changes already written to disk may remain." msgstr "再試行する前に設定を見直してください。すでにディスクに書き込まれた変更は残っている場合があります。" -#: userland/apps/installer/main.cpp:1555 -msgid "Review the details, then check the update again to retry." -msgstr "詳細を確認し、再試行するには更新をもう一度確認してください。" - -#: userland/apps/installer/main.cpp:485 -msgid "Review the detected system and boot options, then continue to the summary." -msgstr "検出されたシステムと起動オプションを確認してから、最終確認に進んでください。" - -#: userland/apps/installer/installer_tty.c:514 +#: userland/apps/installer/installer_tty.c:409 msgid "Review the disk layout and account settings before installing." msgstr "インストール前にディスク構成とアカウント設定を確認してください。" -#: userland/apps/installer/installer_tty.c:274 +#: userland/apps/installer/installer_tty.c:241 msgid "Review the disk model, size and partitions before applying changes." msgstr "変更を適用する前にディスクのモデル、容量、既存のパーティションを確認してください。" -#: userland/apps/installer/installer_tty.c:489 +#: userland/apps/installer/installer_tty.c:386 msgid "Review the required BIOS Boot, ESP and root partitions." msgstr "必要な BIOS Boot、ESP、ルートパーティションを確認してください。" -#: userland/apps/installer/main.cpp:234 -msgid "Review update" -msgstr "更新内容を確認" - -#: userland/apps/installer/install_ops.c:836 +#: userland/apps/installer/install_ops.c:796 msgid "Root and boot partitions" msgstr "ルートとブートのパーティション" @@ -1111,83 +960,47 @@ msgstr "ルートとブートのパーティション" msgid "Save" msgstr "保存" -#: userland/apps/installer/install_ops.c:1654 -msgid "Saving installed preferences" -msgstr "システム設定を保存しています" - -#: userland/apps/installer/install_ops.c:1618 -msgid "Scanning installation payload" -msgstr "インストールペイロードをスキャンしています" - -#: userland/apps/installer/main.cpp:858 -msgid "Select Disk to Update" -msgstr "更新するディスクを選択" - -#: userland/apps/installer/main.cpp:858 +#: userland/apps/installer/main.cpp:594 msgid "Select Installation Disk" msgstr "インストール先のディスクを選択" -#: userland/apps/installer/main.cpp:697 +#: userland/apps/installer/main.cpp:503 msgid "Select Language" msgstr "言語を選択" -#: userland/apps/installer/main.cpp:860 -msgid "Select a disk and check its existing installation before continuing." -msgstr "ディスクを選び、既存のシステムを確認してから進んでください。" - -#: userland/apps/installer/installer_tty.c:415 +#: userland/apps/installer/installer_tty.c:376 msgid "Select a disk first." msgstr "先にディスクを選択してください。" -#: userland/apps/installer/main.cpp:477 -msgid "Select a disk or run the checks again." -msgstr "ディスクを選択するか、もう一度確認を実行してください。" - #: userland/apps/installer/installer_tty.c:62 msgid "Select a partition first." msgstr "先にパーティションを選択してください。" -#: userland/apps/installer/install_ops.c:922 +#: userland/apps/installer/install_ops.c:882 msgid "Select a target disk and review its layout again." msgstr "対象のディスクを選び、構成をもう一度確認してください。" -#: userland/apps/installer/installer_tty.c:297 -msgid "Select boot partition" -msgstr "ブートパーティションを選択" - -#: userland/apps/installer/installer_tty.c:296 -msgid "Select system partition" -msgstr "システムパーティションを選択" - -#: userland/apps/installer/install_ops.c:309 -msgid "Select the disk to update" -msgstr "更新するディスクを選択" - -#: userland/apps/installer/main.cpp:1351 +#: userland/apps/installer/main.cpp:1060 msgid "Select the firmware used to start this disk. You can select both BIOS and UEFI." msgstr "このディスクの起動に使用するファームウェアを選択してください。BIOS と UEFI の両方を選択できます。" -#: userland/apps/installer/install_ops.c:312 +#: userland/apps/installer/install_ops.c:256 msgid "Select the target disk" msgstr "対象ディスクを選択" -#: userland/apps/installer/main.cpp:861 +#: userland/apps/installer/main.cpp:595 msgid "Select the target. The disk layout is configured in the following steps." msgstr "対象のディスクを選んでください。ディスク構成は次の手順で設定します。" -#: userland/apps/installer/install_ops.c:1608 +#: userland/apps/installer/install_ops.c:1134 msgid "Selected system does not support swap" msgstr "選択したシステムはスワップに対応していません" -#: userland/apps/installer/main.cpp:269 +#: userland/apps/installer/main.cpp:244 msgid "Setup" msgstr "セットアップ" -#: userland/apps/installer/install_ops.c:310 -msgid "Setup will check for an existing ReliefOS system." -msgstr "セットアップは既存の ReliefOS システムを確認します。" - -#: userland/apps/installer/installer_tui_job.c:227 +#: userland/apps/installer/installer_tui_job.c:200 msgid "Show / hide log (F4)" msgstr "ログを表示/非表示(F4)" @@ -1199,21 +1012,15 @@ msgstr "隠しファイルを表示" msgid "Show:" msgstr "表示:" -#: userland/apps/installer/installer_tty.c:353 +#: userland/apps/installer/installer_tty.c:295 msgid "Shut down" msgstr "シャットダウン" -#: userland/apps/installer/main.cpp:1440 -msgid "" -"Signed packages are checked before changes. Boot files are published after the package " -"transaction succeeds." -msgstr "変更前に署名済みパッケージを確認します。パッケージトランザクションの成功後に起動ファイルを配置します。" - -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Size" msgstr "容量" -#: userland/apps/installer/main.cpp:1052 +#: userland/apps/installer/main.cpp:761 msgid "Size (MiB)" msgstr "サイズ(MiB)" @@ -1221,7 +1028,7 @@ msgstr "サイズ(MiB)" msgid "Size in MiB" msgstr "サイズ(MiB)" -#: userland/apps/installer/main.cpp:1429 +#: userland/apps/installer/main.cpp:1169 msgid "Skip" msgstr "スキップ" @@ -1233,75 +1040,61 @@ msgstr "一般ユーザー名" msgid "Standard user password" msgstr "一般ユーザーのパスワード" -#: userland/apps/installer/installer_tty.c:259 +#: userland/apps/installer/installer_tty.c:226 +#, python-format msgid "Step %d of %d" msgstr "手順 %d / %d" -#: userland/apps/installer/installer_update_engine.c:521 -msgid "Stopping update check and cleaning up" -msgstr "更新の確認を停止し、後処理を行っています" - -#: userland/apps/installer/main.cpp:1458 +#: userland/apps/installer/main.cpp:1174 msgid "Swap" msgstr "スワップ" -#: userland/apps/installer/install_ops.c:1610 +#: userland/apps/installer/install_ops.c:1101 msgid "Swap requires an AHCI disk" msgstr "スワップには AHCI ディスクが必要です" -#: userland/apps/installer/main.cpp:1397 +#: userland/apps/installer/main.cpp:1134 msgid "Swap size (MiB)" msgstr "スワップサイズ(MiB)" -#: userland/apps/installer/installer_tty.c:210 +#: userland/apps/installer/installer_tty.c:175 msgid "Swap size in MiB" msgstr "スワップサイズ(MiB)" -#: userland/apps/installer/main.cpp:1405 -msgid "Swap uses space on the system partition and currently requires an AHCI disk. Enter a valid whole number of MiB." +#: userland/apps/installer/main.cpp:1142 +msgid "" +"Swap uses space on the system partition and currently requires an AHCI disk. Enter a valid " +"whole number of MiB." msgstr "スワップはシステムパーティションの領域を使用し、現在は AHCI ディスクが必要です。MiB 単位で有効な整数を入力してください。" -#: userland/apps/installer/install_ops.c:1309 +#: userland/apps/installer/install_ops.c:938 msgid "Synchronizing target filesystem" msgstr "インストール先のファイルシステムを同期しています" -#: userland/apps/installer/installer_update_progress.c:24 -msgid "Synchronizing the offline package cache" -msgstr "オフラインパッケージのキャッシュを同期しています" - -#: userland/apps/installer/installer_update_engine.c:624 -msgid "Synchronizing the updated root filesystem" -msgstr "更新したルートファイルシステムを同期しています" - -#: userland/apps/installer/main.cpp:211 +#: userland/apps/installer/main.cpp:197 msgid "System" msgstr "システム" -#: userland/apps/installer/main.cpp:1375 +#: userland/apps/installer/main.cpp:1097 msgid "System options" msgstr "システム設定" -#: userland/apps/installer/installer_tty.c:128 -msgid "System partition" -msgstr "システムパーティション" - #: userland/apps/installer/installer_tty.c:88 msgid "System root" msgstr "システムルート" -#: userland/apps/installer/install_ops.c:449 -msgid "System root: %s; format %s.\nESP: %s; %s.\nOther partitions are preserved except for the changes listed above." -msgstr "システムのルート:%s、%s でフォーマット。\nESP:%s、%s。\n上記の変更を除き、他のパーティションは保持されます。" - -#: userland/apps/installer/installer_update_engine.c:647 -msgid "System update completed successfully" -msgstr "システム更新が正常に完了しました" - -#: userland/apps/installer/installer_tty.c:172 -msgid "System version" -msgstr "システムバージョン" +#: userland/apps/installer/install_ops.c:382 +#, python-format +msgid "" +"System root: %s; format %s.\n" +"ESP: %s; %s.\n" +"Other partitions are preserved except for the changes listed above." +msgstr "" +"システムのルート:%s、%s でフォーマット。\n" +"ESP:%s、%s。\n" +"上記の変更を除き、他のパーティションは保持されます。" -#: userland/apps/installer/installer_tui.c:485 +#: userland/apps/installer/installer_tui.c:495 msgid "Tab / arrows: select Space: toggle PgUp/PgDn: scroll" msgstr "Tab/矢印キーで選択 Space で切替 PgUp/PgDn でスクロール" @@ -1309,160 +1102,88 @@ msgstr "Tab/矢印キーで選択 Space で切替 PgUp/PgDn でスクロ msgid "Target disk" msgstr "対象ディスク" -#: userland/apps/installer/install_ops.c:1566 +#: userland/apps/installer/install_ops.c:1189 msgid "Target disk changed; review the installation plan again" msgstr "対象のディスクが変更されました。インストール計画をもう一度確認してください" -#: userland/apps/installer/install_ops.c:1665 -msgid "Target disk is ready." -msgstr "対象ディスクの準備ができました。" - -#: userland/apps/installer/installer_tty.c:151 -msgid "The automatic layout does not fit this disk. Select another disk or configure partitions manually." +#: userland/apps/installer/installer_tty.c:128 +msgid "" +"The automatic layout does not fit this disk. Select another disk or configure partitions " +"manually." msgstr "自動構成はこのディスクに収まりません。別のディスクを選択するか、パーティションを手動で設定してください。" -#: userland/apps/installer/installer_tty.c:508 +#: userland/apps/installer/installer_tty.c:405 msgid "The confirmation word does not match." msgstr "確認の文字列が一致しません。" -#: userland/apps/installer/installer_tty.c:217 +#: userland/apps/installer/installer_tty.c:185 msgid "The disk plan could not be read. Return to Disk layout and review the target." msgstr "ディスクの計画を読み取れませんでした。「ディスク構成」に戻り、対象を確認してください。" -#: userland/apps/installer/installer_tty.c:203 +#: userland/apps/installer/installer_tty.c:168 msgid "The selected ESP will also be formatted." msgstr "選択した ESP もフォーマットします。" -#: userland/apps/installer/install_ops.c:922 +#: userland/apps/installer/install_ops.c:882 msgid "The selected disk is no longer available" msgstr "選択したディスクは利用できなくなりました" -#: userland/apps/installer/installer_tty.c:202 +#: userland/apps/installer/installer_tty.c:167 msgid "The system partition will be formatted. Review every pending change below." msgstr "システムパーティションをフォーマットします。以下の未適用の変更をすべて確認してください。" -#: userland/apps/installer/installer_tui_job.c:230 +#: userland/apps/installer/installer_tui_job.c:202 msgid "The terminal requested exit. Waiting for the disk operation to finish." msgstr "端末から終了が要求されました。ディスク操作の完了を待っています。" -#: userland/apps/installer/main.cpp:1472 +#: userland/apps/installer/main.cpp:1188 msgid "These disk changes cannot be undone. Type INSTALL to confirm." msgstr "これらのディスク変更は元に戻せません。確定するには INSTALL と入力してください。" -#: userland/apps/installer/main.cpp:1044 +#: userland/apps/installer/main.cpp:753 msgid "This change is added to the plan. Nothing is written until installation is confirmed." msgstr "この変更を計画に追加します。インストールを確定するまでディスクには書き込みません。" -#: userland/apps/installer/installer_tty.c:222 +#: userland/apps/installer/installer_tty.c:177 +msgid "Time zone" +msgstr "タイムゾーン" + +#: userland/apps/installer/installer_tty.c:190 msgid "Type INSTALL to confirm installation" msgstr "INSTALL と入力してインストールを確認" -#: userland/apps/installer/installer_tui.c:550 +#: userland/apps/installer/installer_tui.c:560 msgid "Type the confirmation word" msgstr "確認の文字列を入力" -#: userland/apps/installer/main.cpp:1540 +#: userland/apps/installer/main.cpp:1229 msgid "UEFI boot file (add it in firmware if no automatic entry appears):" msgstr "UEFI 起動ファイル (自動エントリが表示されない場合はファームウェアに追加):" -#: userland/apps/installer/installer_tui.c:299 +#: userland/apps/installer/installer_tui.c:309 msgid "Unallocated" msgstr "未割り当て" -#: userland/apps/installer/main.cpp:979 +#: userland/apps/installer/main.cpp:688 msgid "Unformatted" msgstr "フォーマットしない" -#: userland/apps/installer/install_ops.c:467 +#: userland/apps/installer/install_ops.c:400 msgid "Unnamed" msgstr "名前なし" -#: userland/apps/installer/installer_tui.c:484 +#: userland/apps/installer/installer_tui.c:494 msgid "Up/Down: partition PgUp/PgDn: page Home/End: first/last Tab: actions" msgstr "上下で選択 PgUp/PgDn でページ切替 Home/End で先頭/末尾 Tab で操作" -#: userland/apps/installer/install_ops.c:297 -msgid "Update" -msgstr "更新" - -#: userland/apps/installer/main.cpp:1527 -msgid "Update Complete" -msgstr "更新完了" - -#: userland/apps/installer/main.cpp:759 -msgid "Update Existing System" -msgstr "既存システムを更新" - -#: userland/apps/installer/main.cpp:1553 -msgid "Update Failed" -msgstr "更新失敗" - -#: userland/apps/installer/installer_tty.c:280 -msgid "Update an existing system" -msgstr "既存のシステムを更新" - -#: userland/apps/installer/main.cpp:884 -msgid "Update bootloader software" -msgstr "ブートローダーソフトウェアを更新" - -#: userland/apps/installer/main.cpp:477 -msgid "Update check canceled" -msgstr "更新の確認をキャンセルしました" - -#: userland/apps/installer/installer_tty.c:474 -msgid "Update check canceled. Run the checks again when ready." -msgstr "更新の確認をキャンセルしました。準備ができたら、もう一度確認を実行してください。" - -#: userland/apps/installer/installer_update_engine.c:644 -msgid "Update check cancelled" -msgstr "更新の確認をキャンセルしました" - -#: userland/apps/installer/installer_update_engine.c:647 -msgid "Update checks completed" -msgstr "更新の確認が完了しました" - -#: userland/apps/installer/install_ops.c:1539 -msgid "Update completed successfully" -msgstr "更新が正常に完了しました" - -#: userland/apps/installer/main.cpp:1484 -msgid "Update details" -msgstr "更新の詳細" - -#: userland/apps/installer/main.cpp:770 -msgid "Update preserves users, personal files, installed software and local configuration." -msgstr "更新ではユーザー、個人ファイル、インストール済みソフトウェア、ローカル設定を保持します。" - -#: userland/apps/installer/installer_update_engine.c:782 -msgid "Update session completed" -msgstr "今回の更新処理が完了しました" - -#: userland/apps/installer/installer_update_engine.c:522 -msgid "Update stage timed out; stopping its processes" -msgstr "更新の処理がタイムアウトしたため、関連プロセスを停止しています" - -#: userland/apps/installer/installer_update_engine.c:780 -msgid "Update worker failed" -msgstr "更新ワーカーが失敗しました" - -#: userland/apps/installer/install_ops.c:302 -msgid "Updating ReliefOS" -msgstr "ReliefOS を更新しています" - -#: userland/apps/installer/installer_update_progress.c:21 -msgid "Updating shell configuration" -msgstr "シェルの設定を更新しています" - -#: userland/apps/installer/model.c:176 -msgid "Updating system" -msgstr "システムを更新中" - -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Use" msgstr "用途" -#: userland/apps/installer/installer_tty.c:265 -msgid "Use Tab and the arrow keys to select controls. F3 continues and F2 returns to the previous step." +#: userland/apps/installer/installer_tty.c:232 +msgid "" +"Use Tab and the arrow keys to select controls. F3 continues and F2 returns to the previous " +"step." msgstr "Tab と矢印キーで項目を選択します。F3 で次へ進み、F2 で前の手順に戻ります。" #: configs/nls/messages/installer.c:29 @@ -1473,67 +1194,31 @@ msgstr "ESP として使用" msgid "Use as root" msgstr "ルートとして使用" -#: userland/apps/installer/installer_tty.c:294 -msgid "Use fstab" -msgstr "fstab を使用" - -#: userland/apps/installer/installer_tty.c:120 -msgid "Use the selected installation's fstab" -msgstr "選択したインストールの fstab を使用" - -#: userland/apps/installer/main.cpp:1265 +#: userland/apps/installer/main.cpp:974 msgid "User" msgstr "ユーザー" -#: userland/apps/installer/install_ops.c:1598 -msgid "User name or ID conflicts with a system account" -msgstr "ユーザー名または ID がシステムアカウントと重複しています" - -#: userland/apps/installer/installer_tty.c:207 +#: userland/apps/installer/installer_tty.c:172 msgid "Username" msgstr "ユーザー名" -#: userland/apps/installer/installer_update_progress.c:16 -msgid "Verifying package signatures" -msgstr "パッケージの署名を検証しています" - -#: userland/apps/installer/installer_update_engine.c:614 -msgid "Verifying signed packages and dependencies" -msgstr "署名済みパッケージと依存関係を検証しています" - -#: userland/apps/installer/main.cpp:881 -msgid "Version" -msgstr "バージョン" - -#: userland/apps/installer/installer_tty.c:344 +#: userland/apps/installer/installer_tty.c:290 msgid "View log" msgstr "ログを表示" -#: userland/apps/installer/main.cpp:1075 +#: userland/apps/installer/main.cpp:784 msgid "Volume label" msgstr "ボリュームラベル" -#: userland/apps/installer/main.cpp:570 -msgid "Waiting for the check to release its resources." -msgstr "確認処理がリソースを解放するまで待っています。" - #: configs/nls/messages/installer.c:13 msgid "Welcome" msgstr "ようこそ" -#: userland/apps/installer/install_ops.c:1326 +#: userland/apps/installer/install_ops.c:955 msgid "Writing allocated space" msgstr "割り当てた領域を書き込んでいます" -#: userland/apps/installer/install_ops.c:671 -msgid "Writing system files to disk" -msgstr "システムファイルをディスクに書き込んでいます" - -#: userland/apps/installer/installer_update_engine.c:596 -msgid "Writing the update log" -msgstr "更新ログを書き込んでいます" - -#: userland/apps/installer/installer_tty.c:209 +#: userland/apps/installer/installer_tty.c:174 msgid "XFCE (experimental)" msgstr "XFCE(実験的)" @@ -1541,41 +1226,7 @@ msgstr "XFCE(実験的)" msgid "Yes" msgstr "はい" -#: userland/apps/installer/install_ops.c:1545 -#, python-format -msgid "" -"\n" -"%s (error %d)\n" -msgstr "\n%s (エラー %d)\n" - -#: userland/apps/installer/installer_update_progress.c:150 -#, python-format -msgid "" -"\n" -"%u/%u files; %.1f/%.1f MiB processed; %.1f MiB reused" -msgstr "\nファイル %u/%u、処理済み %.1f/%.1f MiB、再利用 %.1f MiB" - -#: userland/apps/installer/installer_update_progress.c:156 -#, python-format -msgid "" -"\n" -"%u/%u packages processed" -msgstr "\n処理済みパッケージ %u/%u" - -#: userland/apps/installer/installer_update_progress.c:162 -#, python-format -msgid "" -"\n" -"Command exit status: %u" -msgstr "\nコマンドの終了ステータス: %u" - -#: userland/apps/installer/install_ops.c:1547 -msgid "" -"\n" -"Installation completed successfully." -msgstr "\nインストールが正常に完了しました。" - -#: userland/apps/installer/install_ops.c:451 +#: userland/apps/installer/install_ops.c:384 msgid "format FAT32 and erase existing files" msgstr "FAT32 でフォーマットし、既存ファイルを消去" @@ -1583,257 +1234,14 @@ msgstr "FAT32 でフォーマットし、既存ファイルを消去" msgid "none" msgstr "なし" -#: userland/apps/installer/install_ops.c:451 +#: userland/apps/installer/install_ops.c:384 msgid "preserve existing FAT32 files" msgstr "既存の FAT32 ファイルを保持" -#: userland/apps/installer/installer_tty.c:321 +#: userland/apps/installer/installer_tty.c:266 msgid "root password" msgstr "root パスワード" #: userland/apps/installer/installer_plan.c:425 msgid "unformatted" msgstr "未フォーマット" - -#~ msgid "Cannot identify the selected partitions" -#~ msgstr "選択したパーティションを識別できません" - -#~ msgid "Checking bootloader compatibility" -#~ msgstr "ブートローダーの互換性を確認しています" - -#~ msgid "Checking update target" -#~ msgstr "更新対象を確認しています" - -#~ msgid "Resuming bootloader publication" -#~ msgstr "ブートローダーの配置を再開しています" - -#~ msgid "Select partitions for ReliefOS and keep other systems or data." -#~ msgstr "ReliefOS 用のパーティションを選び、ほかのシステムやデータを保持します。" - -#~ msgid "Target or media changed. Check the update again." -#~ msgstr "対象またはメディアが変更されました。更新をもう一度確認してください。" - -#~ msgid "The entire disk will be replaced. To preserve another system or data partition, choose manual partitioning." -#~ msgstr "ディスク全体の構成を置き換えます。他のシステムやデータパーティションを保持する場合は、手動での分割を選んでください。" - -#~ msgid "Choose automatic installation or prepare a manual layout for this disk." -#~ msgstr "自動インストールを選ぶか、このディスクのパーティションを手動で設定してください。" - -#~ msgid "Configure the installation, review every change, then install." -#~ msgstr "インストールを設定し、すべての変更を確認してから開始します。" - -#~ msgid "Keep the installation media connected until the operation finishes." -#~ msgstr "処理が終わるまでインストールメディアを接続したままにしてください。" - -#~ msgid "Options" -#~ msgstr "オプション" - -#~ msgid "Review your choices before installing. Disk changes are applied only after confirmation." -#~ msgstr "インストール前に設定を確認してください。ディスクの変更は確定後にのみ適用されます。" - -#~ msgid "You can return to earlier steps without losing your choices. No disk changes are made until you confirm the installation." -#~ msgstr "前の手順に戻っても設定は失われません。インストールを確定するまでディスクの変更は行いません。" - -#~ msgid "Passwords: 1-32 characters, no spaces; confirmations must match" -#~ msgstr "パスワード: 1~32 文字、スペース不可。確認用入力は一致する必要があります" - -#~ msgid "BIOS Boot — 1 MiB — unformatted" -#~ msgstr "BIOS Boot — 1 MiB — フォーマットしない" - -#~ msgid "ESP — 128 MiB — FAT32 — boot files" -#~ msgstr "ESP — 128 MiB — FAT32 — 起動ファイル" - -#~ msgid "Apply automatic layout now" -#~ msgstr "自動パーティション構成を今すぐ適用" - -#~ msgid "" -#~ "Automatic plan: BIOS Boot 1 MiB; ESP 128 MiB FAT32; root %llu MiB ext4.\n" -#~ "The list shows current partitions. The plan is applied only after confirmation." -#~ msgstr "自動設定: BIOS Boot 1 MiB、ESP 128 MiB FAT32、ルート %llu MiB ext4。\n一覧には現在のパーティションが表示されます。設定は確認後にのみ適用されます。" - -#~ msgid "" -#~ "Automatic plan: ESP 128 MiB FAT32; root %llu MiB ext4.\n" -#~ "The list shows current partitions. The plan is applied only after confirmation." -#~ msgstr "自動設定: ESP 128 MiB FAT32、ルート %llu MiB ext4。\n一覧には現在のパーティションが表示されます。設定は確認後にのみ適用されます。" - -#~ msgid "Available disks" -#~ msgstr "利用可能なディスク" - -#~ msgid "Bootloaders:" -#~ msgstr "ブートローダー:" - -#~ msgid "Choose Setup Mode" -#~ msgstr "セットアップモードを選択" - -#~ msgid "Choose the disk that already contains ReliefOS." -#~ msgstr "ReliefOS が既にインストールされているディスクを選択してください。" - -#~ msgid "Choose the disk that will receive ReliefOS." -#~ msgstr "ReliefOS をインストールするディスクを選択してください。" - -#~ msgid "Choose the target disk, configure its partitions, then replace boot, system and EFI files." -#~ msgstr "対象ディスクを選択し、パーティションを設定してから、起動、システム、および EFI のファイルを置き換えます。" - -#~ msgid "Confirm Installation" -#~ msgstr "インストールの確認" - -#~ msgid "Confirm partition operation" -#~ msgstr "パーティション操作の確認" - -#~ msgid "Console" -#~ msgstr "コンソール" - -#~ msgid "Create: size in MiB, filesystem, name. Resize only changes the trailing edge." -#~ msgstr "作成: サイズを MiB で指定し、ファイルシステムと名前を入力します。サイズ変更では末尾のみが変更されます。" - -#~ msgid "Current disk layout" -#~ msgstr "現在のディスク構成" - -#~ msgid "Data type" -#~ msgstr "データの種類" - -#~ msgid "Enter a value:" -#~ msgstr "値を入力:" - -#~ msgid "Enter filesystem and label (for example: ext4 RELIEFOS_DATA):" -#~ msgstr "ファイルシステムとラベルを入力してください (例: ext4 RELIEFOS_DATA):" - -#~ msgid "Enter size_MiB filesystem name (ext4/ext3/ext2/fat32/exfat/raw):" -#~ msgstr "容量MiB ファイルシステム 名前を入力してください(ext4/ext3/ext2/fat32/exfat/raw):" - -#~ msgid "Enter the GPT partition name:" -#~ msgstr "GPT パーティション名を入力してください:" - -#~ msgid "Enter the new partition size in MiB:" -#~ msgstr "新しいパーティションのサイズを MiB 単位で入力してください:" - -#~ msgid "Final confirmation formats a FAT32 ESP and ext4 root on the selected disk." -#~ msgstr "最終確認後、選択したディスクに FAT32 の ESP と ext4 のルートがフォーマットされます。" - -#~ msgid "Formatting destroys all files on the selected partition." -#~ msgstr "フォーマットすると選択したパーティション上のすべてのファイルが消去されます。" - -#~ msgid "Fresh install erases the disk. Update keeps existing users and extra programs." -#~ msgstr "新規インストールではディスクが消去されます。更新では既存のユーザーと追加プログラムが保持されます。" - -#~ msgid "Installed version" -#~ msgstr "インストール済みバージョン" - -#~ msgid "Media version" -#~ msgstr "メディアのバージョン" - -#~ msgid "Only the selected root is formatted; existing ESP files are preserved." -#~ msgstr "選択したルートのみをフォーマットします。既存の ESP ファイルは保持されます。" - -#~ msgid "Only the selected root will be formatted. Existing ESP files and other partitions are preserved." -#~ msgstr "選択したルートのみをフォーマットします。既存の ESP ファイルと他のパーティションは保持されます。" - -#~ msgid "Operation in progress" -#~ msgstr "操作を実行中" - -#~ msgid "Partition layout updated" -#~ msgstr "パーティション構成を更新しました" - -#~ msgid "Payload path is too long" -#~ msgstr "ペイロードのパスが長すぎます" - -#~ msgid "ReliefOS Setup" -#~ msgstr "ReliefOS セットアップ" - -#~ msgid "Resize only changes the trailing edge. Check the filesystem size before applying." -#~ msgstr "サイズ変更はパーティションの末尾を移動します。適用前にファイルシステムのサイズを確認してください。" - -#~ msgid "Retry" -#~ msgstr "再試行" - -#~ msgid "Review the detected system and start the update." -#~ msgstr "検出されたシステムを確認し、更新を開始してください。" - -#~ msgid "Review the selected ESP and root before continuing." -#~ msgstr "続行する前に、選択した ESP とルートを確認してください。" - -#~ msgid "Root: /target; boot partition: /target/boot" -#~ msgstr "ルート: /target; ブートパーティション: /target/boot" - -#~ msgid "SATA/AHCI and IDE/PATA target disks are supported." -#~ msgstr "SATA/AHCI および IDE/PATA の対象ディスクに対応しています。" - -#~ msgid "Set BIOS Boot" -#~ msgstr "BIOS Boot を設定" - -#~ msgid "Set ESP" -#~ msgstr "ESP を設定" - -#~ msgid "Set root" -#~ msgstr "ルートを設定" - -#~ msgid "Setup can copy the full normal system payload" -#~ msgstr "セットアップは通常システムの完全なペイロードをコピーできます" - -#~ msgid "Swapfile (MiB)" -#~ msgstr "スワップファイル (MiB)" - -#~ msgid "Target:" -#~ msgstr "対象:" - -#~ msgid "The disk may have been changed" -#~ msgstr "ディスクが変更された可能性があります" - -#~ msgid "The installed system will use the same language." -#~ msgstr "インストール後のシステムでも同じ言語が使用されます。" - -#~ msgid "The selected disk will be erased and formatted with a FAT32 ESP and ext4 system root." -#~ msgstr "選択したディスクを消去し、FAT32 の ESP と ext4 のシステムルートをフォーマットします。" - -#~ msgid "The selected root and ESP will be formatted." -#~ msgstr "選択したルートと ESP がフォーマットされます。" - -#~ msgid "The selected root and ESP will be formatted. All EFI boot files on that ESP will be erased." -#~ msgstr "選択したルートと ESP がフォーマットされます。その ESP 上のすべての EFI 起動ファイルが消去されます。" - -#~ msgid "The selected root is formatted. An existing FAT32 ESP is preserved by default." -#~ msgstr "選択したルートがフォーマットされます。既存の FAT32 ESP は既定で保持されます。" - -#~ msgid "This operation changes the selected disk or partition immediately and can destroy its data." -#~ msgstr "この操作は選択したディスクまたはパーティションを即座に変更し、データを消去する可能性があります。" - -#~ msgid "This operation is destructive." -#~ msgstr "この操作によりデータが失われます。" - -#~ msgid "Type AUTO to erase the disk and create BIOS Boot, ESP and root partitions:" -#~ msgstr "ディスクを消去して BIOS Boot、ESP、ルートのパーティションを作成するには AUTO と入力してください:" - -#~ msgid "Type AUTO to erase the disk and create ESP and root partitions:" -#~ msgstr "ディスクを消去して ESP とルートのパーティションを作成するには AUTO と入力してください:" - -#~ msgid "Type DELETE to remove the selected partition:" -#~ msgstr "選択したパーティションを削除するには DELETE と入力してください:" - -#~ msgid "Type INITIALIZE to replace the partition table:" -#~ msgstr "パーティションテーブルを置き換えるには INITIALIZE と入力してください:" - -#~ msgid "Type INSTALL to enable the Install button." -#~ msgstr "「インストール」ボタンを有効にするには INSTALL と入力してください。" - -#~ msgid "or replace the boot/reliefos and system files on an existing installation." -#~ msgstr "または既存のインストールの boot/reliefos とシステムファイルを置き換えることができます。" - -#~ msgid "Install Xorg desktop environment" -#~ msgstr "Xorg デスクトップ環境をインストール" - -#~ msgid "Enter size_MiB filesystem name (ext4/ext2/fat32/exfat/raw):" -#~ msgstr "size_MiB filesystem name を入力してください (ext4/ext2/fat32/exfat/raw):" - -#~ msgid "" -#~ "Manual layout: assign a FAT32 ESP and an ext4 root. BIOS Boot is not required for the selected " -#~ "bootloaders." -#~ msgstr "手動構成: FAT32 の ESP と ext4 のルートを割り当てます。選択したブートローダーでは BIOS Boot は不要です。" - -#~ msgid "Root: /target (ext4), ESP: /target/boot (FAT32)" -#~ msgstr "ルート: /target (ext4)、ESP: /target/boot (FAT32)" - -#~ msgid "Automatic partition plan (applied after final confirmation)" -#~ msgstr "自動パーティション構成(最終確認後に適用)" - -#~ msgid "Manual partition selection" -#~ msgstr "パーティションを手動で選択" diff --git a/configs/nls/po/installer/zh_CN.po b/configs/nls/po/installer/zh_CN.po index 890c61f1..1912cf8a 100644 --- a/configs/nls/po/installer/zh_CN.po +++ b/configs/nls/po/installer/zh_CN.po @@ -1,3 +1,4 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" @@ -13,17 +14,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.18.0\n" -#: userland/apps/installer/installer_tty.c:278 -msgid "A new installation formats the selected system partition. An update keeps accounts, files and local configuration." -msgstr "全新安装会格式化选定的系统分区。更新会保留账户、文件和本地配置。" +#: userland/apps/installer/install_ops.c:979 +#, python-format +msgid "" +"\n" +"%s (error %d)\n" +msgstr "" +"\n" +"%s(错误 %d)\n" -#: userland/apps/installer/installer_tty.c:178 +#: userland/apps/installer/install_ops.c:981 msgid "" -"A previous update is incomplete. This attempt will verify the system and recover the pending " -"update stages." -msgstr "上一次更新尚未完成。本次将重新校验系统,并恢复待完成的更新步骤。" +"\n" +"Installation completed successfully." +msgstr "" +"\n" +"安装已成功完成。" -#: userland/apps/installer/installer_tty.c:362 +#: userland/apps/installer/installer_tty.c:304 msgid "Accept and continue" msgstr "接受并继续" @@ -31,173 +39,155 @@ msgstr "接受并继续" msgid "Account and system options" msgstr "账户和系统选项" -#: userland/apps/installer/install_ops.c:1344 +#: userland/apps/installer/install_ops.c:1096 msgid "Account setup failed" msgstr "账户创建失败" -#: userland/apps/installer/main.cpp:212 +#: userland/apps/installer/main.cpp:198 msgid "Accounts" msgstr "账户" -#: userland/apps/installer/installer_tty.c:177 -msgid "Accounts, personal files, installed software and local configuration are preserved." -msgstr "保留账户、个人文件、已安装软件和本地配置。" - #: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/installer/main.cpp:1084 +#: userland/apps/installer/main.cpp:793 msgid "Add to plan" msgstr "添加到安装计划" -#: userland/apps/installer/installer_update_engine.c:563 -msgid "Administrator privileges are required" -msgstr "需要管理员权限" - -#: userland/apps/installer/main.cpp:1266 +#: userland/apps/installer/main.cpp:975 msgid "Administrator: root" msgstr "管理员:root" +#: userland/apps/installer/main.cpp:546 +msgid "After installation, update ReliefOS with pacman -Syu." +msgstr "安装后使用 pacman -Syu 更新 ReliefOS。" + #: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" -#: userland/apps/installer/installer_tui.c:565 +#: userland/apps/installer/install_ops.c:1159 +msgid "Another installation is already running" +msgstr "已有安装正在进行" + +#: userland/apps/installer/installer_tui.c:575 msgid "Apply" msgstr "应用" -#: userland/apps/installer/installer_update_engine.c:623 -msgid "Applying signed system packages" -msgstr "正在更新已签名的系统软件包" +#: userland/apps/installer/installer_tty.c:178 +msgid "Arch geographic mirror" +msgstr "Arch 地理位置镜像" + +#: userland/apps/installer/installer_tty.c:178 +msgid "Arch mirror" +msgstr "Arch 镜像源" -#: userland/apps/installer/install_ops.c:920 +#: userland/apps/installer/install_ops.c:880 msgid "Attach a disk and click Refresh." msgstr "连接硬盘后点击刷新。" -#: userland/apps/installer/installer_tty.c:294 -msgid "Automatic" -msgstr "自动" - -#: userland/apps/installer/installer_tty.c:146 +#: userland/apps/installer/installer_tty.c:123 msgid "Automatic layout" msgstr "自动分区" -#: userland/apps/installer/install_ops.c:313 +#: userland/apps/installer/installer_tty.c:178 +msgid "Automatic mirror list" +msgstr "自动使用镜像列表" + +#: userland/apps/installer/install_ops.c:257 msgid "Automatic mode replaces its partition table; manual mode can preserve other partitions." msgstr "自动模式会替换分区表;手动模式可以保留其他分区。" -#: userland/apps/installer/main.cpp:1333 -msgid "Automatic partitioning creates a FAT32 ESP and an ext4 root. No BIOS Boot partition is needed." +#: userland/apps/installer/main.cpp:1042 +msgid "" +"Automatic partitioning creates a FAT32 ESP and an ext4 root. No BIOS Boot partition is " +"needed." msgstr "自动分区将创建 FAT32 ESP 和 ext4 根分区,无需 BIOS Boot 分区。" -#: userland/apps/installer/main.cpp:1334 +#: userland/apps/installer/main.cpp:1043 msgid "" -"Automatic partitioning creates an unformatted BIOS Boot partition, a FAT32 ESP and an ext4 root. " -"BIOS also uses the FAT32 partition for boot files." +"Automatic partitioning creates an unformatted BIOS Boot partition, a FAT32 ESP and an ext4 " +"root. BIOS also uses the FAT32 partition for boot files." msgstr "自动分区将创建未格式化的 BIOS Boot 分区、FAT32 ESP 和 ext4 根分区。BIOS 也使用 FAT32 分区存放启动文件。" -#: userland/apps/installer/main.cpp:942 -msgid "Automatic plan: BIOS Boot 1 MiB; ESP 128 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." -msgstr "自动分区计划:BIOS Boot 1 MiB;ESP 128 MiB,FAT32;根分区 %llu MiB,ext4。\n确认安装后才会替换所有现有分区。" - -#: userland/apps/installer/main.cpp:941 -msgid "Automatic plan: ESP 128 MiB FAT32; root %llu MiB ext4.\nThis replaces all existing partitions only after confirmation." -msgstr "自动分区计划:ESP 128 MiB,FAT32;根分区 %llu MiB,ext4。\n确认安装后才会替换所有现有分区。" +#: userland/apps/installer/main.cpp:651 +msgid "" +"Automatic plan: BIOS Boot 1 MiB; ESP 512 MiB FAT32; root %llu MiB ext4.\n" +"This replaces all existing partitions only after confirmation." +msgstr "" +"自动分区计划:BIOS Boot 1 MiB;ESP 512 MiB,FAT32;根分区 %llu MiB,ext4。\n" +"确认安装后才会替换所有现有分区。" -#: userland/apps/installer/installer_tty.c:120 -msgid "Automatically identify a single ReliefOS installation" -msgstr "自动识别唯一的 ReliefOS 安装" +#: userland/apps/installer/main.cpp:650 +msgid "" +"Automatic plan: ESP 512 MiB FAT32; root %llu MiB ext4.\n" +"This replaces all existing partitions only after confirmation." +msgstr "" +"自动分区计划:ESP 512 MiB,FAT32;根分区 %llu MiB,ext4。\n" +"确认安装后才会替换所有现有分区。" -#: userland/apps/installer/installer_tui.c:266 +#: userland/apps/installer/installer_tui.c:276 msgid "B BIOS E ESP R / D Data . Free" msgstr "B BIOS E ESP R / D 数据 . 空闲" -#: userland/apps/installer/main.cpp:1184 +#: userland/apps/installer/main.cpp:893 msgid "BIOS Boot" msgstr "BIOS Boot" -#: userland/apps/installer/installer_tui.c:486 +#: userland/apps/installer/installer_tui.c:496 msgid "Back" msgstr "上一步" -#: userland/apps/installer/install_ops.c:1616 +#: userland/apps/installer/install_ops.c:941 msgid "Boot installation checks failed" msgstr "引导安装预检查失败" -#: userland/apps/installer/installer_tty.c:128 -msgid "Boot partition" -msgstr "引导分区" - #: configs/nls/messages/installer.c:16 msgid "Bootloaders" msgstr "引导方式" -#: userland/apps/installer/installer_update_progress.c:17 -msgid "Calculating the offline package transaction" -msgstr "正在计算离线软件包事务" - #: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" -#: userland/apps/installer/main.cpp:299 -msgid "Cancel check" -msgstr "取消检查" - -#: userland/apps/installer/installer_tty.c:397 +#: userland/apps/installer/installer_tty.c:336 msgid "Cancel installation" msgstr "取消安装" -#: userland/apps/installer/main.cpp:569 -msgid "Canceling the update check" -msgstr "正在取消更新检查" - -#: userland/apps/installer/installer_tui_job.c:229 -msgid "Canceling the update check. Waiting for cleanup." -msgstr "正在取消更新检查,等待清理完成。" - -#: userland/apps/installer/installer_tty.c:152 +#: userland/apps/installer/installer_tty.c:129 msgid "Cannot display this partition layout." msgstr "无法显示此磁盘分区布局。" -#: userland/apps/installer/installer_tty.c:233 +#: userland/apps/installer/installer_tty.c:201 msgid "Cannot initialize the terminal or installer log" msgstr "无法初始化终端或安装日志" -#: userland/apps/installer/installer_tui.c:601 +#: userland/apps/installer/installer_tui.c:611 msgid "Cannot read installer log" msgstr "无法读取安装日志" -#: userland/apps/installer/installer_tty.c:133 -msgid "Cannot read partition identity" -msgstr "无法读取分区标识" - -#: userland/apps/installer/main.cpp:971 +#: userland/apps/installer/main.cpp:680 msgid "Cannot read the partition layout" msgstr "无法读取分区布局" -#: userland/apps/installer/main.cpp:818 +#: userland/apps/installer/main.cpp:559 msgid "Cannot read the selected disk" msgstr "无法读取选定的磁盘" -#: userland/apps/installer/installer_tty.c:374 +#: userland/apps/installer/installer_tty.c:316 msgid "Cannot select the requested locale." msgstr "无法切换到所选语言。" -#: userland/apps/installer/main.cpp:395 +#: userland/apps/installer/main.cpp:371 msgid "Cannot start the installation worker" msgstr "无法启动安装后台进程" -#: userland/apps/installer/main.cpp:525 -msgid "Cannot start the update worker" -msgstr "无法启动后台更新进程" - -#: userland/apps/installer/main.cpp:1008 +#: userland/apps/installer/main.cpp:717 msgid "Cannot update the partition plan" msgstr "无法修改分区计划" -#: userland/apps/installer/main.cpp:1113 +#: userland/apps/installer/main.cpp:822 msgid "Change added to the installation plan." msgstr "更改已添加到安装计划。" @@ -205,99 +195,64 @@ msgstr "更改已添加到安装计划。" msgid "Change partition type" msgstr "更改分区类型" -#: userland/apps/installer/installer_tty.c:426 +#: userland/apps/installer/installer_tty.c:357 msgid "Changes remain pending until installation is confirmed." msgstr "更改将在确认安装后写入磁盘。" -#: userland/apps/installer/installer_tty.c:153 +#: userland/apps/installer/installer_tty.c:130 msgid "Changes remain pending until you confirm the installation. Going back keeps your choices." msgstr "更改将在确认安装后写入磁盘。返回上一步会保留当前选择。" -#: userland/apps/installer/main.cpp:229 -msgid "Check Again" -msgstr "重新检查" - -#: userland/apps/installer/main.cpp:234 -msgid "Check Update" -msgstr "检查更新" - -#: userland/apps/installer/installer_tty.c:363 -msgid "Check system" -msgstr "检查系统" - -#: userland/apps/installer/main.cpp:1420 +#: userland/apps/installer/main.cpp:1157 msgid "Check the target and planned changes. Use Back or the sidebar to change your choices." msgstr "请检查目标磁盘和计划中的更改。可使用“上一步”或侧栏返回修改。" -#: userland/apps/installer/installer_tty.c:493 +#: userland/apps/installer/installer_tty.c:390 msgid "Check username and matching passwords (1-32 characters, no spaces)." msgstr "请检查用户名和两次密码(1–32 个字符,不含空格)。" -#: userland/apps/installer/installer_update_engine.c:611 -msgid "Checking bootloader files on the installation media" -msgstr "正在检查安装介质上的引导器文件" +#: userland/apps/installer/install_ops.c:1107 +msgid "Checking signed package repositories" +msgstr "正在检查已签名的软件源" -#: userland/apps/installer/installer_update_engine.c:610 -msgid "Checking installation media and free space" -msgstr "正在检查安装介质与可用空间" - -#: userland/apps/installer/installer_tui_job.c:215 -msgid "Checking installed system" -msgstr "正在检查已安装的系统" - -#: userland/apps/installer/installer_update_progress.c:14 -msgid "Checking signed repository and package archives" -msgstr "正在检查签名仓库和软件包归档" - -#: userland/apps/installer/main.cpp:1499 -msgid "Checking system update" -msgstr "正在检查系统更新" - -#: userland/apps/installer/installer_update_engine.c:612 -msgid "Checking the installed bootloader layout" -msgstr "正在检查已安装系统的引导布局" - -#: userland/apps/installer/main.cpp:550 -msgid "Checking the selected system" -msgstr "正在检查所选系统" - -#: userland/apps/installer/installer_tty.c:264 -msgid "Choose a language, then configure your installation. You can return to earlier steps before installing." +#: userland/apps/installer/installer_tty.c:231 +msgid "" +"Choose a language, then configure your installation. You can return to earlier steps before " +"installing." msgstr "请选择语言,然后配置安装选项。开始安装前可随时返回前面的步骤。" -#: userland/apps/installer/main.cpp:754 -msgid "Choose a new installation or update an existing ReliefOS system." -msgstr "请选择全新安装或更新现有的 ReliefOS 系统。" - -#: userland/apps/installer/main.cpp:1350 +#: userland/apps/installer/main.cpp:1059 msgid "Choose bootloaders" msgstr "选择引导方式" -#: userland/apps/installer/installer_tty.c:309 -msgid "Choose how this disk will start. Selecting BIOS and UEFI supports both firmware types; the partition plan follows this choice." +#: userland/apps/installer/installer_tty.c:254 +msgid "" +"Choose how this disk will start. Selecting BIOS and UEFI supports both firmware types; the " +"partition plan follows this choice." msgstr "请选择此磁盘的引导方式。同时选择 BIOS 和 UEFI 可兼容两种固件;分区计划会相应调整。" -#: userland/apps/installer/main.cpp:1376 +#: userland/apps/installer/main.cpp:1098 msgid "Choose the desktop and additional disk space for virtual memory." msgstr "请选择桌面环境,以及用于虚拟内存的额外磁盘空间。" -#: userland/apps/installer/installer_tty.c:284 -msgid "Choose the disk containing ReliefOS. Check the installation before reviewing the update." -msgstr "请选择已安装 ReliefOS 的磁盘,检查现有系统后再核对更新摘要。" - -#: userland/apps/installer/installer_tty.c:285 -msgid "Choose the installation disk. The next steps let you erase it or select partitions for coexistence." +#: userland/apps/installer/installer_tty.c:245 +msgid "" +"Choose the installation disk. The next steps let you erase it or select partitions for " +"coexistence." msgstr "请选择安装磁盘。后续步骤可选择擦除整盘,或手动分区与现有系统共存。" -#: userland/apps/installer/installer_tty.c:325 -msgid "Choose the installed desktop and optional swapfile. These choices are included in the final review." +#: userland/apps/installer/installer_tty.c:270 +msgid "" +"Choose the installed desktop and optional swapfile. These choices are included in the final " +"review." msgstr "请选择要安装的桌面环境,并按需启用交换文件。这些选项会列入最终安装摘要。" -#: userland/apps/installer/main.cpp:698 +#: userland/apps/installer/main.cpp:504 msgid "Choose the language for Setup and the installed system." msgstr "选择安装程序和安装后系统使用的语言。" #: userland/apps/installer/installer_plan.c:444 +#, python-format msgid "Clear all contents of BIOS Boot partition %u (%llu bytes).\n" msgstr "清除 BIOS Boot 分区 %u 的全部内容(%llu 字节)。\n" @@ -305,27 +260,15 @@ msgstr "清除 BIOS Boot 分区 %u 的全部内容(%llu 字节)。\n" msgid "Close" msgstr "关闭" -#: userland/apps/installer/installer_update_engine.c:637 -msgid "Closing the update target" -msgstr "正在释放更新目标" - -#: userland/apps/installer/installer_update_progress.c:138 -msgid "Comparing contents" -msgstr "正在比较内容" - -#: userland/apps/installer/installer_update_progress.c:141 -msgid "Completed" -msgstr "已完成" - #: configs/nls/messages/installer.c:17 msgid "Configure partitions" msgstr "配置分区" -#: userland/apps/installer/install_ops.c:1341 +#: userland/apps/installer/install_ops.c:1126 msgid "Configuring installed system" msgstr "正在配置已安装的系统" -#: userland/apps/installer/main.cpp:213 +#: userland/apps/installer/main.cpp:199 msgid "Confirm" msgstr "确认" @@ -333,55 +276,55 @@ msgstr "确认" msgid "Confirm password" msgstr "确认密码" -#: userland/apps/installer/installer_tty.c:322 +#: userland/apps/installer/installer_tty.c:267 msgid "Confirm root password" msgstr "确认 root 密码" -#: userland/apps/installer/installer_tty.c:208 +#: userland/apps/installer/installer_tty.c:173 msgid "Console only" msgstr "仅控制台" -#: userland/apps/installer/main.cpp:1386 -msgid "Console only installs without a graphical login. XFCE is an experimental desktop option." -msgstr "“纯控制台”不安装图形登录环境。XFCE 为实验性桌面选项。" - -#: userland/apps/installer/installer_tui.c:551 +#: userland/apps/installer/installer_tui.c:561 msgid "Continue" msgstr "继续" -#: userland/apps/installer/install_ops.c:1646 -msgid "Copy failed" -msgstr "复制失败" +#: userland/apps/installer/install_ops.c:1125 +msgid "Could not configure installed system" +msgstr "无法配置已安装的系统" -#: userland/apps/installer/install_ops.c:1206 -msgid "Copy path is too long" -msgstr "复制路径过长" +#: userland/apps/installer/install_ops.c:1138 +msgid "Could not configure target filesystems" +msgstr "无法配置目标文件系统" -#: userland/apps/installer/installer_update_progress.c:139 -msgid "Copying" -msgstr "正在复制" - -#: userland/apps/installer/install_ops.c:979 -msgid "Copying system files" -msgstr "正在复制系统文件" +#: userland/apps/installer/install_ops.c:1151 +msgid "Could not create installer state" +msgstr "无法创建安装器工作目录" #: userland/apps/fltk_png_app.h:46 msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/installer/install_ops.c:908 +#: userland/apps/installer/install_ops.c:1088 +msgid "Could not identify the installation medium" +msgstr "无法识别安装介质" + +#: userland/apps/installer/install_ops.c:868 msgid "Could not list disks" msgstr "无法列出磁盘" -#: userland/apps/installer/install_ops.c:1637 +#: userland/apps/installer/install_ops.c:1111 msgid "Could not prepare target filesystems" msgstr "无法准备目标文件系统" -#: userland/apps/installer/install_ops.c:1661 -msgid "Could not save installed preferences" -msgstr "无法保存安装后偏好设置" +#: userland/apps/installer/install_ops.c:937 +msgid "Could not synchronize target filesystem" +msgstr "无法同步目标文件系统" -#: userland/apps/installer/installer_tty.c:156 +#: userland/apps/installer/install_ops.c:1106 +msgid "Could not verify online repositories or installation settings" +msgstr "无法验证在线软件源或安装设置" + +#: userland/apps/installer/installer_tty.c:133 msgid "Create" msgstr "创建" @@ -389,7 +332,7 @@ msgstr "创建" msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/installer/installer_tty.c:330 +#: userland/apps/installer/installer_tty.c:275 msgid "Create a swapfile" msgstr "创建交换文件" @@ -397,11 +340,11 @@ msgstr "创建交换文件" msgid "Create partition" msgstr "创建分区" -#: userland/apps/installer/installer_tty.c:160 +#: userland/apps/installer/installer_tty.c:137 msgid "Create uses the first suitable free range." msgstr "新建分区会使用第一个可容纳它的空闲区域。" -#: userland/apps/installer/install_ops.c:1326 +#: userland/apps/installer/install_ops.c:955 msgid "Creating swapfile" msgstr "正在创建交换文件" @@ -421,23 +364,23 @@ msgstr "删除" msgid "Delete partition" msgstr "删除分区" -#: userland/apps/installer/installer_tty.c:208 +#: userland/apps/installer/installer_tty.c:173 msgid "Desktop" msgstr "桌面环境" -#: userland/apps/installer/installer_tty.c:326 +#: userland/apps/installer/installer_tty.c:271 msgid "Desktop environment" msgstr "桌面环境" -#: userland/apps/installer/installer_tty.c:210 +#: userland/apps/installer/installer_tty.c:175 msgid "Disabled" msgstr "已禁用" -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Discard changes" msgstr "放弃更改" -#: userland/apps/installer/main.cpp:1200 +#: userland/apps/installer/main.cpp:909 msgid "Discard edits" msgstr "放弃编辑" @@ -445,7 +388,7 @@ msgstr "放弃编辑" msgid "Discard partition changes" msgstr "放弃分区更改" -#: userland/apps/installer/main.cpp:1127 +#: userland/apps/installer/main.cpp:836 msgid "Discard pending partition edits and reload the disk?" msgstr "放弃尚未应用的分区编辑,并重新读取磁盘?" @@ -453,36 +396,36 @@ msgstr "放弃尚未应用的分区编辑,并重新读取磁盘?" msgid "Discard the pending partition changes and read the current disk layout again?" msgstr "放弃尚未应用的分区更改,并重新读取磁盘当前的分区布局?" -#: userland/apps/installer/main.cpp:208 +#: userland/apps/installer/main.cpp:194 msgid "Disk" msgstr "硬盘" -#: userland/apps/installer/model.c:219 +#: userland/apps/installer/model.c:200 msgid "Disk " msgstr "磁盘 " -#: userland/apps/installer/main.cpp:1459 +#: userland/apps/installer/main.cpp:1175 msgid "Disk changes to apply" msgstr "将要应用的磁盘更改" -#: userland/apps/installer/main.cpp:1158 +#: userland/apps/installer/main.cpp:867 msgid "Disk layout" msgstr "磁盘布局" -#: userland/apps/installer/installer_tui_job.c:225 +#: userland/apps/installer/installer_tui_job.c:198 msgid "Disk operations are running. Please wait for completion." msgstr "正在执行磁盘操作,请等待完成。" -#: userland/apps/installer/main.cpp:1500 +#: userland/apps/installer/main.cpp:1201 msgid "Do not turn off this machine." msgstr "请勿关闭此计算机。" -#: userland/apps/installer/main.cpp:874 -msgid "EFI system partition" -msgstr "EFI 系统分区" +#: userland/apps/installer/install_ops.c:1119 +msgid "Downloading packages" +msgstr "正在下载软件包" -#: userland/apps/installer/install_ops.c:682 -#, c-format +#: userland/apps/installer/install_ops.c:615 +#, c-format, python-format msgid "Elapsed time: %lu s" msgstr "已用时间:%lu 秒" @@ -490,50 +433,62 @@ msgstr "已用时间:%lu 秒" msgid "Enter a positive whole number of MiB." msgstr "请输入大于零的整数 MiB。" -#: userland/apps/installer/installer_tty.c:498 +#: userland/apps/installer/installer_tty.c:395 msgid "Enter a valid swap size in MiB." msgstr "请输入有效的交换文件大小(MiB)。" -#: userland/apps/installer/install_ops.c:431 -msgid "Erase all partitions on %s.\nCreate BIOS Boot: 1 MiB, unformatted.\nCreate ESP: 128 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." -msgstr "擦除 %s 上的所有分区。\n创建 BIOS Boot:1 MiB,不格式化。\n创建 ESP:128 MiB,格式化为 FAT32。\n创建系统根分区:%llu MiB,格式化为 ext4。" +#: userland/apps/installer/install_ops.c:364 +#, python-format +msgid "" +"Erase all partitions on %s.\n" +"Create BIOS Boot: 1 MiB, unformatted.\n" +"Create ESP: 512 MiB, format FAT32.\n" +"Create system root: %llu MiB, format ext4." +msgstr "" +"擦除 %s 上的所有分区。\n" +"创建 BIOS Boot:1 MiB,不格式化。\n" +"创建 ESP:512 MiB,格式化为 FAT32。\n" +"创建系统根分区:%llu MiB,格式化为 ext4。" -#: userland/apps/installer/install_ops.c:432 -msgid "Erase all partitions on %s.\nCreate ESP: 128 MiB, format FAT32.\nCreate system root: %llu MiB, format ext4." -msgstr "擦除 %s 上的所有分区。\n创建 ESP:128 MiB,格式化为 FAT32。\n创建系统根分区:%llu MiB,格式化为 ext4。" +#: userland/apps/installer/install_ops.c:365 +#, python-format +msgid "" +"Erase all partitions on %s.\n" +"Create ESP: 512 MiB, format FAT32.\n" +"Create system root: %llu MiB, format ext4." +msgstr "" +"擦除 %s 上的所有分区。\n" +"创建 ESP:512 MiB,格式化为 FAT32。\n" +"创建系统根分区:%llu MiB,格式化为 ext4。" -#: userland/apps/installer/main.cpp:1159 +#: userland/apps/installer/main.cpp:868 msgid "Erase disk and install automatically" msgstr "擦除整盘并自动安装" -#: userland/apps/installer/installer_tty.c:188 +#: userland/apps/installer/installer_tty.c:153 msgid "Erase disk: BIOS Boot %llu MiB, ESP %llu MiB, ext4 root %llu MiB" msgstr "擦除磁盘:BIOS Boot %llu MiB,ESP %llu MiB,ext4 根分区 %llu MiB" -#: userland/apps/installer/installer_tty.c:204 +#: userland/apps/installer/installer_tty.c:169 msgid "Existing ESP files are preserved unless formatting is listed below." msgstr "除非下方列出了格式化操作,否则会保留 ESP 中的现有文件。" -#: userland/apps/installer/installer_tty.c:361 +#: userland/apps/installer/installer_tty.c:303 msgid "Exit" msgstr "退出" -#: userland/apps/installer/main.cpp:578 +#: userland/apps/installer/main.cpp:398 msgid "Exit installer" msgstr "退出安装器" -#: userland/apps/installer/installer_tty.c:397 +#: userland/apps/installer/installer_tty.c:336 msgid "Exit the installer?" msgstr "退出安装器?" -#: userland/apps/installer/main.cpp:579 +#: userland/apps/installer/main.cpp:399 msgid "Exit the installer? Unapplied disk changes and setup choices will be discarded." msgstr "退出安装器?尚未应用的磁盘更改和安装设置将被放弃。" -#: userland/apps/installer/installer_update_progress.c:142 -msgid "Failed" -msgstr "失败" - #: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" @@ -554,14 +509,10 @@ msgstr "文件系统" msgid "Filesystem label" msgstr "文件系统卷标" -#: userland/apps/installer/main.cpp:216 +#: userland/apps/installer/main.cpp:201 msgid "Finish" msgstr "完成" -#: userland/apps/installer/installer_update_engine.c:627 -msgid "Finishing the system update" -msgstr "正在完成系统更新" - #: configs/nls/messages/installer.c:24 msgid "Format" msgstr "格式" @@ -570,35 +521,27 @@ msgstr "格式" msgid "Format partition" msgstr "格式化分区" -#: userland/apps/installer/installer_tty.c:162 +#: userland/apps/installer/installer_tty.c:139 msgid "Format selected ESP (erase all EFI boot files on it)" msgstr "格式化所选 ESP(擦除其中所有 EFI 引导文件)" -#: userland/apps/installer/installer_tty.c:173 -msgid "Free / required space" -msgstr "可用/所需空间" - -#: userland/apps/installer/main.cpp:757 -msgid "Fresh Install" -msgstr "全新安装" +#: userland/apps/installer/install_ops.c:600 +msgid "Formatting root filesystem" +msgstr "正在格式化根文件系统" -#: userland/apps/installer/installer_tty.c:221 +#: userland/apps/installer/installer_tty.c:189 msgid "Go back to edit any option. Nothing is written until you choose Install." msgstr "可返回修改任何选项。点击“安装”前不会写入磁盘。" -#: userland/apps/installer/main.cpp:729 +#: userland/apps/installer/main.cpp:535 msgid "I accept the license terms" msgstr "我接受许可协议条款" -#: userland/apps/installer/installer_tty.c:209 +#: userland/apps/installer/installer_tty.c:174 msgid "IceWM (default)" msgstr "IceWM(默认)" -#: userland/apps/installer/installer_update_engine.c:609 -msgid "Identifying the installed system" -msgstr "正在识别已安装的系统" - -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Initialize GPT" msgstr "初始化 GPT" @@ -606,55 +549,51 @@ msgstr "初始化 GPT" msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/installer/install_ops.c:297 +#: userland/apps/installer/installer_tty.c:302 msgid "Install" msgstr "安装" -#: userland/apps/installer/main.cpp:689 +#: userland/apps/installer/main.cpp:495 msgid "Install ReliefOS" msgstr "安装 ReliefOS" -#: userland/apps/installer/installer_tty.c:279 -msgid "Install a new system" -msgstr "全新安装系统" +#: userland/apps/installer/installer_tty.c:240 +msgid "Install ReliefOS from signed Arch and RPR repositories." +msgstr "从已签名的 Arch 和 RPR 软件仓库安装 ReliefOS。" -#: userland/apps/installer/installer_tty.c:273 -msgid "Install a new system or update an existing ReliefOS disk." -msgstr "全新安装系统,或更新现有 ReliefOS 硬盘。" - -#: userland/apps/installer/install_ops.c:1545 +#: userland/apps/installer/install_ops.c:979 msgid "Install failed" msgstr "安装失败" -#: userland/apps/installer/installer_tty.c:303 +#: userland/apps/installer/installer_tty.c:255 msgid "Install or update BIOS bootloader" msgstr "安装或更新 BIOS 引导程序" -#: userland/apps/installer/installer_tty.c:304 +#: userland/apps/installer/installer_tty.c:256 msgid "Install or update UEFI bootloader" msgstr "安装或更新 UEFI 引导程序" -#: userland/apps/installer/model.c:178 +#: userland/apps/installer/model.c:159 msgid "Installation" msgstr "安装" -#: userland/apps/installer/main.cpp:1527 +#: userland/apps/installer/main.cpp:1223 msgid "Installation Complete" msgstr "安装完成" -#: userland/apps/installer/main.cpp:1553 +#: userland/apps/installer/main.cpp:1240 msgid "Installation Failed" msgstr "安装失败" -#: userland/apps/installer/install_ops.c:1540 +#: userland/apps/installer/install_ops.c:974 msgid "Installation completed successfully" msgstr "安装成功完成" -#: userland/apps/installer/installer_tty.c:337 +#: userland/apps/installer/installer_tty.c:284 msgid "Installation completed successfully." msgstr "安装已成功完成。" -#: userland/apps/installer/install_ops.c:273 +#: userland/apps/installer/install_ops.c:251 msgid "Installation failed" msgstr "安装失败" @@ -662,22 +601,14 @@ msgstr "安装失败" msgid "Installation finished" msgstr "安装完成" -#: userland/apps/installer/install_ops.c:1561 +#: userland/apps/installer/install_ops.c:1184 msgid "Installation has not been confirmed" msgstr "尚未确认安装" -#: userland/apps/installer/installer_tui.c:268 +#: userland/apps/installer/installer_tui.c:278 msgid "Installation layout - changes remain pending" msgstr "安装布局 — 更改尚未应用" -#: userland/apps/installer/install_ops.c:1436 -msgid "Installation media is incomplete" -msgstr "安装介质不完整" - -#: userland/apps/installer/installer_update_engine.c:300 -msgid "Installation media is older than the installed system" -msgstr "安装介质的版本早于已安装系统" - #: configs/nls/messages/installer.c:14 msgid "Installation mode" msgstr "安装模式" @@ -686,39 +617,35 @@ msgstr "安装模式" msgid "Installation progress" msgstr "安装进度" -#: userland/apps/installer/model.c:177 +#: userland/apps/installer/model.c:158 msgid "Installation result" msgstr "安装结果" -#: userland/apps/installer/main.cpp:753 -msgid "Installation type" -msgstr "安装方式" - -#: userland/apps/installer/main.cpp:366 +#: userland/apps/installer/main.cpp:341 msgid "Installation worker failed" msgstr "安装后台进程失败" -#: userland/apps/installer/installer_tty.c:393 +#: userland/apps/installer/installer_tty.c:332 msgid "Installer log" msgstr "安装日志" -#: userland/apps/installer/install_ops.c:303 -msgid "Installing ReliefOS" -msgstr "正在安装 ReliefOS" - -#: userland/apps/installer/install_ops.c:1313 +#: userland/apps/installer/install_ops.c:942 msgid "Installing bootloaders" msgstr "正在安装引导程序" -#: userland/apps/installer/model.c:176 +#: userland/apps/installer/install_ops.c:1034 +msgid "Installing packages" +msgstr "正在安装软件包" + +#: userland/apps/installer/main.cpp:1200 msgid "Installing system" msgstr "正在安装系统" -#: userland/apps/installer/install_ops.c:1574 +#: userland/apps/installer/install_ops.c:1197 msgid "Invalid installation settings" msgstr "安装设置无效" -#: userland/apps/installer/install_ops.c:1570 +#: userland/apps/installer/install_ops.c:1193 msgid "Invalid partition plan" msgstr "分区计划无效" @@ -726,15 +653,15 @@ msgstr "分区计划无效" msgid "Invalid size" msgstr "大小无效" -#: userland/apps/installer/install_ops.c:1605 +#: userland/apps/installer/install_ops.c:1099 msgid "Invalid swap size" msgstr "交换文件大小无效" -#: userland/apps/installer/main.cpp:1126 +#: userland/apps/installer/main.cpp:835 msgid "Keep changes" msgstr "保留更改" -#: userland/apps/installer/main.cpp:578 +#: userland/apps/installer/main.cpp:398 msgid "Keep configuring" msgstr "继续配置" @@ -746,7 +673,7 @@ msgstr "语言" msgid "License" msgstr "许可证" -#: userland/apps/installer/main.cpp:718 +#: userland/apps/installer/main.cpp:524 msgid "License agreement" msgstr "许可协议" @@ -754,26 +681,24 @@ msgstr "许可协议" msgid "Manage Favorites" msgstr "管理收藏夹" -#: userland/apps/installer/main.cpp:950 +#: userland/apps/installer/main.cpp:659 msgid "Manual layout: assign BIOS Boot, ESP and root roles. BIOS Boot stays unformatted." msgstr "手动布局:指定 BIOS 引导分区、ESP 和根分区。BIOS 引导分区不格式化。" -#: userland/apps/installer/main.cpp:949 -msgid "Manual layout: assign a FAT32 ESP and an ext4 or ext3 root. BIOS Boot is not required for the selected bootloaders." +#: userland/apps/installer/main.cpp:658 +msgid "" +"Manual layout: assign a FAT32 ESP and an ext4 or ext3 root. BIOS Boot is not required for " +"the selected bootloaders." msgstr "手动布局:指定 FAT32 ESP 和 ext4 或 ext3 根分区。当前引导选择不需要 BIOS Boot 分区。" -#: userland/apps/installer/installer_tty.c:147 +#: userland/apps/installer/installer_tty.c:124 msgid "Manual partitioning" msgstr "手动分区" -#: userland/apps/installer/main.cpp:1160 +#: userland/apps/installer/main.cpp:869 msgid "Manual partitioning / keep other systems" msgstr "手动分区 / 保留其他系统" -#: userland/apps/installer/main.cpp:207 -msgid "Mode" -msgstr "模式" - #: configs/nls/messages/installer.c:6 msgid "Mount failed" msgstr "挂载失败" @@ -782,7 +707,7 @@ msgstr "挂载失败" msgid "Mounting target filesystems" msgstr "正在挂载目标文件系统" -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Name" msgstr "名称" @@ -794,11 +719,11 @@ msgstr "新建目录?" msgid "New GPT" msgstr "新建 GPT" -#: userland/apps/installer/main.cpp:1025 +#: userland/apps/installer/main.cpp:734 msgid "New partition table added to the plan." msgstr "新的分区表已添加到安装计划。" -#: userland/apps/installer/installer_tty.c:363 +#: userland/apps/installer/installer_tty.c:304 msgid "Next" msgstr "下一步" @@ -806,19 +731,19 @@ msgstr "下一步" msgid "No" msgstr "否" -#: userland/apps/installer/installer_tty.c:224 +#: userland/apps/installer/installer_tty.c:192 msgid "No bootloader selected. A new installation will need a separately configured bootloader." msgstr "未选择引导程序。新安装的系统需要另行配置引导程序才能启动。" -#: userland/apps/installer/install_ops.c:920 +#: userland/apps/installer/install_ops.c:880 msgid "No disks were found" msgstr "未找到硬盘" -#: userland/apps/installer/main.cpp:1556 +#: userland/apps/installer/main.cpp:1241 msgid "No writes will continue after this error." msgstr "出现此错误后不会继续写入。" -#: userland/apps/installer/install_ops.c:450 +#: userland/apps/installer/install_ops.c:383 msgid "Not selected" msgstr "尚未选择" @@ -826,28 +751,36 @@ msgstr "尚未选择" msgid "OK" msgstr "确定" +#: userland/apps/installer/main.cpp:543 +msgid "Online installation" +msgstr "在线安装" + #: userland/apps/installer/installer_tty.c:24 msgid "Operation failed" msgstr "操作失败" -#: userland/apps/installer/installer_update_progress.c:136 -msgid "Package" -msgstr "软件包" +#: userland/apps/installer/install_ops.c:1122 +msgid "Package download failed" +msgstr "软件包下载失败" + +#: userland/apps/installer/install_ops.c:1121 +msgid "Package installation failed" +msgstr "软件包安装失败" -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Partition" msgstr "分区" -#: userland/apps/installer/install_ops.c:465 +#: userland/apps/installer/install_ops.c:398 #, python-format msgid "Partition %u %s %llu MiB %s %s%s" msgstr "分区 %u %s %llu MiB %s %s%s" -#: userland/apps/installer/main.cpp:1032 +#: userland/apps/installer/main.cpp:741 msgid "Partition deletion added to the plan." msgstr "分区删除操作已添加到安装计划。" -#: userland/apps/installer/model.c:170 +#: userland/apps/installer/model.c:153 msgid "Partition layout" msgstr "分区布局" @@ -859,7 +792,7 @@ msgstr "分区名称" msgid "Partition operation failed" msgstr "分区操作失败" -#: userland/apps/installer/main.cpp:1010 +#: userland/apps/installer/main.cpp:719 msgid "Partition plan updated" msgstr "分区计划已更新" @@ -867,15 +800,15 @@ msgstr "分区计划已更新" msgid "Partition role" msgstr "分区用途" -#: userland/apps/installer/main.cpp:1147 +#: userland/apps/installer/main.cpp:856 msgid "Partition role updated." msgstr "已更新分区用途。" -#: userland/apps/installer/main.cpp:210 +#: userland/apps/installer/main.cpp:196 msgid "Partitions" msgstr "分区" -#: userland/apps/installer/installer_tty.c:319 +#: userland/apps/installer/installer_tty.c:264 msgid "Password" msgstr "密码" @@ -883,23 +816,15 @@ msgstr "密码" msgid "Password:" msgstr "密码:" -#: userland/apps/installer/install_ops.c:1593 -msgid "Payload check failed" -msgstr "负载检测失败" - -#: userland/apps/installer/install_ops.c:1623 -msgid "Payload scan failed" -msgstr "扫描安装负载失败" - -#: userland/apps/installer/installer_tui.c:268 +#: userland/apps/installer/installer_tui.c:278 msgid "Pending layout - written only after INSTALL confirmation." msgstr "待应用方案,最终确认安装后才会写入磁盘。" -#: userland/apps/installer/main.cpp:1030 +#: userland/apps/installer/main.cpp:739 msgid "Plan deletion" msgstr "计划删除" -#: userland/apps/installer/main.cpp:1023 +#: userland/apps/installer/main.cpp:732 msgid "Plan new table" msgstr "计划新建分区表" @@ -907,43 +832,19 @@ msgstr "计划新建分区表" msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/installer/installer_tty.c:403 +#: userland/apps/installer/installer_tty.c:342 msgid "Power operation failed" msgstr "电源操作失败" -#: userland/apps/installer/main.cpp:768 -msgid "Prepare a clean ReliefOS system with automatic or manual disk partitioning." -msgstr "通过自动或手动分区安装全新的 ReliefOS 系统。" - -#: userland/apps/installer/installer_tui_job.c:223 +#: userland/apps/installer/installer_tui_job.c:196 msgid "Preparing operation" msgstr "正在准备操作" -#: userland/apps/installer/install_ops.c:1634 +#: userland/apps/installer/install_ops.c:1112 msgid "Preparing target disk" msgstr "正在准备目标磁盘" -#: userland/apps/installer/installer_update_engine.c:620 -msgid "Preparing the installed system for update" -msgstr "正在准备更新已安装的系统" - -#: userland/apps/installer/main.cpp:550 -msgid "Preparing the system update" -msgstr "正在准备系统更新" - -#: userland/apps/installer/installer_update_engine.c:568 -msgid "Preparing update session" -msgstr "正在准备更新" - -#: userland/apps/installer/installer_update_progress.c:15 -msgid "Preparing verified package archives" -msgstr "正在准备已验证的软件包归档" - -#: userland/apps/installer/installer_update_progress.c:18 -msgid "Preserving the installed kernel and configuration" -msgstr "正在保留已安装的内核和配置" - -#: userland/apps/installer/install_ops.c:1541 +#: userland/apps/installer/install_ops.c:975 msgid "Press Restart to boot from the installed disk." msgstr "点击重启从已安装硬盘启动。" @@ -951,66 +852,38 @@ msgstr "点击重启从已安装硬盘启动。" msgid "Preview" msgstr "预览" -#: userland/apps/installer/main.cpp:690 +#: userland/apps/installer/main.cpp:496 msgid "Previous Step" msgstr "上一步" -#: userland/apps/installer/installer_update_engine.c:626 -msgid "Publishing kernel and bootloader files" -msgstr "正在提交内核与引导文件" - -#: userland/apps/installer/installer_update_progress.c:22 -msgid "Publishing the offline package cache" -msgstr "正在发布离线软件包缓存" - #: configs/nls/messages/installer.c:26 msgid "Ready" msgstr "就绪" -#: userland/apps/installer/main.cpp:485 -msgid "Ready to update" -msgstr "可以开始更新" - -#: userland/apps/installer/installer_update_engine.c:346 -msgid "Recovering the previous update attempt" -msgstr "正在恢复上一次未完成的更新" - -#: userland/apps/installer/installer_tty.c:155 +#: userland/apps/installer/installer_tty.c:132 msgid "Refresh" msgstr "刷新" -#: userland/apps/installer/main.cpp:872 -msgid "ReliefOS system partition" -msgstr "ReliefOS 系统分区" - -#: userland/apps/installer/main.cpp:1530 +#: userland/apps/installer/main.cpp:1224 msgid "ReliefOS was installed to the selected disk." msgstr "ReliefOS 已安装到所选硬盘。" -#: userland/apps/installer/main.cpp:1529 -msgid "ReliefOS was updated on the selected disk." -msgstr "所选硬盘上的 ReliefOS 已更新。" - -#: userland/apps/installer/installer_tty.c:401 +#: userland/apps/installer/installer_tty.c:340 msgid "Remove the installation media before continuing." msgstr "继续前请移除安装介质。" -#: userland/apps/installer/install_ops.c:1548 +#: userland/apps/installer/install_ops.c:982 msgid "Remove the installation media before rebooting." msgstr "重启前请移除安装介质。" -#: userland/apps/installer/main.cpp:490 +#: userland/apps/installer/main.cpp:1226 msgid "Remove the installation media, then restart." msgstr "移除安装介质,然后重启。" -#: userland/apps/installer/main.cpp:1031 +#: userland/apps/installer/main.cpp:740 msgid "Remove the selected partition when the installation is confirmed?" msgstr "确认安装时删除选定的分区?" -#: userland/apps/installer/installer_update_progress.c:23 -msgid "Removing retired package archives" -msgstr "正在移除已停用的软件包归档" - #: configs/nls/messages/installer.c:27 msgid "Rename" msgstr "重命名" @@ -1019,19 +892,17 @@ msgstr "重命名" msgid "Rename partition" msgstr "重命名分区" -#: userland/apps/installer/installer_update_progress.c:19 -msgid "Repairing signed system packages" -msgstr "正在修复已签名的系统软件包" - #: userland/apps/installer/installer_plan.c:413 msgid "Replace partition table" msgstr "替换分区表" -#: userland/apps/installer/main.cpp:1024 -msgid "Replace this disk's partition table in the installation plan? All existing partitions will be removed when you install." +#: userland/apps/installer/main.cpp:733 +msgid "" +"Replace this disk's partition table in the installation plan? All existing partitions will " +"be removed when you install." msgstr "将替换此磁盘的分区表加入安装计划?开始安装时会删除所有现有分区。" -#: userland/apps/installer/installer_tty.c:156 +#: userland/apps/installer/installer_tty.c:133 msgid "Resize" msgstr "调整大小" @@ -1039,71 +910,47 @@ msgstr "调整大小" msgid "Resize partition" msgstr "调整分区大小" -#: userland/apps/installer/installer_tui.c:371 +#: userland/apps/installer/installer_tui.c:381 msgid "Resize the terminal to at least 60 columns and 20 rows." msgstr "请将终端调整到至少 60 列、20 行。" -#: userland/apps/installer/main.cpp:1043 +#: userland/apps/installer/main.cpp:752 msgid "Resizing changes the partition boundary. Existing filesystems cannot be shrunk here." msgstr "调整大小会更改分区边界。此处无法缩小现有文件系统。" -#: userland/apps/installer/installer_tty.c:352 +#: userland/apps/installer/installer_tty.c:294 msgid "Restart" msgstr "重启" -#: userland/apps/installer/main.cpp:1546 +#: userland/apps/installer/main.cpp:1234 msgid "Restart failed" msgstr "重启失败" -#: userland/apps/installer/installer_update_progress.c:25 -msgid "Restoring retained kernel files" -msgstr "正在恢复已保留的内核文件" - -#: userland/apps/installer/installer_update_progress.c:140 -msgid "Reused" -msgstr "已复用" - #: configs/nls/messages/installer.c:19 msgid "Review installation" msgstr "核对安装设置" -#: userland/apps/installer/installer_tty.c:361 +#: userland/apps/installer/installer_tty.c:303 msgid "Review settings" msgstr "重新检查设置" -#: userland/apps/installer/main.cpp:1419 -msgid "Review system update" -msgstr "确认系统更新" - -#: userland/apps/installer/installer_tty.c:339 +#: userland/apps/installer/installer_tty.c:286 msgid "Review the configuration before trying again. Changes already written to disk may remain." msgstr "重试前请重新检查设置。已经写入磁盘的更改可能仍然存在。" -#: userland/apps/installer/main.cpp:1555 -msgid "Review the details, then check the update again to retry." -msgstr "请查看详细日志,然后重新检查更新以重试。" - -#: userland/apps/installer/main.cpp:485 -msgid "Review the detected system and boot options, then continue to the summary." -msgstr "请核对检测到的系统和引导选项,然后查看摘要。" - -#: userland/apps/installer/installer_tty.c:514 +#: userland/apps/installer/installer_tty.c:409 msgid "Review the disk layout and account settings before installing." msgstr "安装前请检查磁盘布局和账户设置。" -#: userland/apps/installer/installer_tty.c:274 +#: userland/apps/installer/installer_tty.c:241 msgid "Review the disk model, size and partitions before applying changes." msgstr "应用更改前,请核对磁盘型号、容量和现有分区。" -#: userland/apps/installer/installer_tty.c:489 +#: userland/apps/installer/installer_tty.c:386 msgid "Review the required BIOS Boot, ESP and root partitions." msgstr "请核对所需的 BIOS Boot、ESP 和根分区。" -#: userland/apps/installer/main.cpp:234 -msgid "Review update" -msgstr "核对更新摘要" - -#: userland/apps/installer/install_ops.c:836 +#: userland/apps/installer/install_ops.c:796 msgid "Root and boot partitions" msgstr "根分区和引导分区" @@ -1111,83 +958,47 @@ msgstr "根分区和引导分区" msgid "Save" msgstr "保存" -#: userland/apps/installer/install_ops.c:1654 -msgid "Saving installed preferences" -msgstr "正在保存系统设置" - -#: userland/apps/installer/install_ops.c:1618 -msgid "Scanning installation payload" -msgstr "正在扫描安装载荷" - -#: userland/apps/installer/main.cpp:858 -msgid "Select Disk to Update" -msgstr "选择要更新的硬盘" - -#: userland/apps/installer/main.cpp:858 +#: userland/apps/installer/main.cpp:594 msgid "Select Installation Disk" msgstr "选择安装硬盘" -#: userland/apps/installer/main.cpp:697 +#: userland/apps/installer/main.cpp:503 msgid "Select Language" msgstr "选择语言" -#: userland/apps/installer/main.cpp:860 -msgid "Select a disk and check its existing installation before continuing." -msgstr "请选择磁盘并检查其中的现有安装,然后继续。" - -#: userland/apps/installer/installer_tty.c:415 +#: userland/apps/installer/installer_tty.c:376 msgid "Select a disk first." msgstr "请先选择磁盘。" -#: userland/apps/installer/main.cpp:477 -msgid "Select a disk or run the checks again." -msgstr "请选择磁盘或重新运行检查。" - #: userland/apps/installer/installer_tty.c:62 msgid "Select a partition first." msgstr "请先选择分区。" -#: userland/apps/installer/install_ops.c:922 +#: userland/apps/installer/install_ops.c:882 msgid "Select a target disk and review its layout again." msgstr "请选择目标磁盘,并重新检查分区布局。" -#: userland/apps/installer/installer_tty.c:297 -msgid "Select boot partition" -msgstr "选择引导分区" - -#: userland/apps/installer/installer_tty.c:296 -msgid "Select system partition" -msgstr "选择系统分区" - -#: userland/apps/installer/install_ops.c:309 -msgid "Select the disk to update" -msgstr "请选择要更新的硬盘" - -#: userland/apps/installer/main.cpp:1351 +#: userland/apps/installer/main.cpp:1060 msgid "Select the firmware used to start this disk. You can select both BIOS and UEFI." msgstr "选择用于启动此磁盘的固件类型。可以同时选择 BIOS 和 UEFI。" -#: userland/apps/installer/install_ops.c:312 +#: userland/apps/installer/install_ops.c:256 msgid "Select the target disk" msgstr "请选择目标硬盘" -#: userland/apps/installer/main.cpp:861 +#: userland/apps/installer/main.cpp:595 msgid "Select the target. The disk layout is configured in the following steps." msgstr "请选择目标磁盘。后续步骤将配置分区布局。" -#: userland/apps/installer/install_ops.c:1608 +#: userland/apps/installer/install_ops.c:1134 msgid "Selected system does not support swap" msgstr "所选系统不支持交换空间" -#: userland/apps/installer/main.cpp:269 +#: userland/apps/installer/main.cpp:244 msgid "Setup" msgstr "安装" -#: userland/apps/installer/install_ops.c:310 -msgid "Setup will check for an existing ReliefOS system." -msgstr "安装程序会检测现有 ReliefOS 系统。" - -#: userland/apps/installer/installer_tui_job.c:227 +#: userland/apps/installer/installer_tui_job.c:200 msgid "Show / hide log (F4)" msgstr "显示/隐藏日志(F4)" @@ -1199,21 +1010,15 @@ msgstr "显示隐藏文件" msgid "Show:" msgstr "显示:" -#: userland/apps/installer/installer_tty.c:353 +#: userland/apps/installer/installer_tty.c:295 msgid "Shut down" msgstr "关机" -#: userland/apps/installer/main.cpp:1440 -msgid "" -"Signed packages are checked before changes. Boot files are published after the package " -"transaction succeeds." -msgstr "写入前校验软件包签名,软件包事务成功后再提交引导文件。" - -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Size" msgstr "容量" -#: userland/apps/installer/main.cpp:1052 +#: userland/apps/installer/main.cpp:761 msgid "Size (MiB)" msgstr "大小(MiB)" @@ -1221,7 +1026,7 @@ msgstr "大小(MiB)" msgid "Size in MiB" msgstr "大小(MiB)" -#: userland/apps/installer/main.cpp:1429 +#: userland/apps/installer/main.cpp:1169 msgid "Skip" msgstr "跳过" @@ -1233,75 +1038,61 @@ msgstr "普通用户名称" msgid "Standard user password" msgstr "普通用户密码" -#: userland/apps/installer/installer_tty.c:259 +#: userland/apps/installer/installer_tty.c:226 +#, python-format msgid "Step %d of %d" msgstr "第 %d 步,共 %d 步" -#: userland/apps/installer/installer_update_engine.c:521 -msgid "Stopping update check and cleaning up" -msgstr "正在停止更新检查并清理" - -#: userland/apps/installer/main.cpp:1458 +#: userland/apps/installer/main.cpp:1174 msgid "Swap" msgstr "交换空间" -#: userland/apps/installer/install_ops.c:1610 +#: userland/apps/installer/install_ops.c:1101 msgid "Swap requires an AHCI disk" msgstr "交换文件需要 AHCI 磁盘" -#: userland/apps/installer/main.cpp:1397 +#: userland/apps/installer/main.cpp:1134 msgid "Swap size (MiB)" msgstr "交换空间大小(MiB)" -#: userland/apps/installer/installer_tty.c:210 +#: userland/apps/installer/installer_tty.c:175 msgid "Swap size in MiB" msgstr "交换文件大小(MiB)" -#: userland/apps/installer/main.cpp:1405 -msgid "Swap uses space on the system partition and currently requires an AHCI disk. Enter a valid whole number of MiB." +#: userland/apps/installer/main.cpp:1142 +msgid "" +"Swap uses space on the system partition and currently requires an AHCI disk. Enter a valid " +"whole number of MiB." msgstr "交换文件占用系统分区的空间,目前需要 AHCI 磁盘。请输入有效的整数大小,单位为 MiB。" -#: userland/apps/installer/install_ops.c:1309 +#: userland/apps/installer/install_ops.c:938 msgid "Synchronizing target filesystem" msgstr "正在同步目标文件系统" -#: userland/apps/installer/installer_update_progress.c:24 -msgid "Synchronizing the offline package cache" -msgstr "正在同步离线软件包缓存" - -#: userland/apps/installer/installer_update_engine.c:624 -msgid "Synchronizing the updated root filesystem" -msgstr "正在同步更新后的根文件系统" - -#: userland/apps/installer/main.cpp:211 +#: userland/apps/installer/main.cpp:197 msgid "System" msgstr "系统" -#: userland/apps/installer/main.cpp:1375 +#: userland/apps/installer/main.cpp:1097 msgid "System options" msgstr "系统选项" -#: userland/apps/installer/installer_tty.c:128 -msgid "System partition" -msgstr "系统分区" - #: userland/apps/installer/installer_tty.c:88 msgid "System root" msgstr "系统根分区" -#: userland/apps/installer/install_ops.c:449 -msgid "System root: %s; format %s.\nESP: %s; %s.\nOther partitions are preserved except for the changes listed above." -msgstr "系统根分区:%s;格式化为 %s。\nESP:%s;%s。\n除上方列出的更改外,其他分区保持不变。" - -#: userland/apps/installer/installer_update_engine.c:647 -msgid "System update completed successfully" -msgstr "系统更新成功" - -#: userland/apps/installer/installer_tty.c:172 -msgid "System version" -msgstr "系统版本" +#: userland/apps/installer/install_ops.c:382 +#, python-format +msgid "" +"System root: %s; format %s.\n" +"ESP: %s; %s.\n" +"Other partitions are preserved except for the changes listed above." +msgstr "" +"系统根分区:%s;格式化为 %s。\n" +"ESP:%s;%s。\n" +"除上方列出的更改外,其他分区保持不变。" -#: userland/apps/installer/installer_tui.c:485 +#: userland/apps/installer/installer_tui.c:495 msgid "Tab / arrows: select Space: toggle PgUp/PgDn: scroll" msgstr "Tab/方向键选择 空格切换 PgUp/PgDn 翻页" @@ -1309,160 +1100,88 @@ msgstr "Tab/方向键选择 空格切换 PgUp/PgDn 翻页" msgid "Target disk" msgstr "目标磁盘" -#: userland/apps/installer/install_ops.c:1566 +#: userland/apps/installer/install_ops.c:1189 msgid "Target disk changed; review the installation plan again" msgstr "目标磁盘已变化;请重新检查安装计划" -#: userland/apps/installer/install_ops.c:1665 -msgid "Target disk is ready." -msgstr "目标硬盘已准备就绪。" - -#: userland/apps/installer/installer_tty.c:151 -msgid "The automatic layout does not fit this disk. Select another disk or configure partitions manually." +#: userland/apps/installer/installer_tty.c:128 +msgid "" +"The automatic layout does not fit this disk. Select another disk or configure partitions " +"manually." msgstr "此磁盘无法容纳自动方案。请选择其他磁盘或手动配置分区。" -#: userland/apps/installer/installer_tty.c:508 +#: userland/apps/installer/installer_tty.c:405 msgid "The confirmation word does not match." msgstr "确认文字不匹配。" -#: userland/apps/installer/installer_tty.c:217 +#: userland/apps/installer/installer_tty.c:185 msgid "The disk plan could not be read. Return to Disk layout and review the target." msgstr "无法读取磁盘计划。请返回“磁盘布局”检查目标磁盘。" -#: userland/apps/installer/installer_tty.c:203 +#: userland/apps/installer/installer_tty.c:168 msgid "The selected ESP will also be formatted." msgstr "选定的 ESP 也将被格式化。" -#: userland/apps/installer/install_ops.c:922 +#: userland/apps/installer/install_ops.c:882 msgid "The selected disk is no longer available" msgstr "选定的磁盘已不可用" -#: userland/apps/installer/installer_tty.c:202 +#: userland/apps/installer/installer_tty.c:167 msgid "The system partition will be formatted. Review every pending change below." msgstr "系统分区将被格式化。请核对下方所有待应用的更改。" -#: userland/apps/installer/installer_tui_job.c:230 +#: userland/apps/installer/installer_tui_job.c:202 msgid "The terminal requested exit. Waiting for the disk operation to finish." msgstr "终端已请求退出,正在等待磁盘操作完成。" -#: userland/apps/installer/main.cpp:1472 +#: userland/apps/installer/main.cpp:1188 msgid "These disk changes cannot be undone. Type INSTALL to confirm." msgstr "这些磁盘更改无法撤销。请输入 INSTALL 确认。" -#: userland/apps/installer/main.cpp:1044 +#: userland/apps/installer/main.cpp:753 msgid "This change is added to the plan. Nothing is written until installation is confirmed." msgstr "此更改将添加到安装计划。确认安装前不会写入磁盘。" -#: userland/apps/installer/installer_tty.c:222 +#: userland/apps/installer/installer_tty.c:177 +msgid "Time zone" +msgstr "时区" + +#: userland/apps/installer/installer_tty.c:190 msgid "Type INSTALL to confirm installation" msgstr "输入 INSTALL 确认安装" -#: userland/apps/installer/installer_tui.c:550 +#: userland/apps/installer/installer_tui.c:560 msgid "Type the confirmation word" msgstr "输入确认文字" -#: userland/apps/installer/main.cpp:1540 +#: userland/apps/installer/main.cpp:1229 msgid "UEFI boot file (add it in firmware if no automatic entry appears):" msgstr "UEFI 引导文件(若未自动出现入口,请在固件中添加):" -#: userland/apps/installer/installer_tui.c:299 +#: userland/apps/installer/installer_tui.c:309 msgid "Unallocated" msgstr "未分配空间" -#: userland/apps/installer/main.cpp:979 +#: userland/apps/installer/main.cpp:688 msgid "Unformatted" msgstr "不格式化" -#: userland/apps/installer/install_ops.c:467 +#: userland/apps/installer/install_ops.c:400 msgid "Unnamed" msgstr "未命名" -#: userland/apps/installer/installer_tui.c:484 +#: userland/apps/installer/installer_tui.c:494 msgid "Up/Down: partition PgUp/PgDn: page Home/End: first/last Tab: actions" msgstr "上下键选择分区 PgUp/PgDn 翻页 Home/End 首尾 Tab 操作栏" -#: userland/apps/installer/install_ops.c:297 -msgid "Update" -msgstr "更新" - -#: userland/apps/installer/main.cpp:1527 -msgid "Update Complete" -msgstr "更新完成" - -#: userland/apps/installer/main.cpp:759 -msgid "Update Existing System" -msgstr "更新现有系统" - -#: userland/apps/installer/main.cpp:1553 -msgid "Update Failed" -msgstr "更新失败" - -#: userland/apps/installer/installer_tty.c:280 -msgid "Update an existing system" -msgstr "更新已有系统" - -#: userland/apps/installer/main.cpp:884 -msgid "Update bootloader software" -msgstr "更新引导器程序" - -#: userland/apps/installer/main.cpp:477 -msgid "Update check canceled" -msgstr "已取消更新检查" - -#: userland/apps/installer/installer_tty.c:474 -msgid "Update check canceled. Run the checks again when ready." -msgstr "已取消更新检查。准备好后可重新运行检查。" - -#: userland/apps/installer/installer_update_engine.c:644 -msgid "Update check cancelled" -msgstr "已取消更新检查" - -#: userland/apps/installer/installer_update_engine.c:647 -msgid "Update checks completed" -msgstr "更新检查完成" - -#: userland/apps/installer/install_ops.c:1539 -msgid "Update completed successfully" -msgstr "更新成功完成" - -#: userland/apps/installer/main.cpp:1484 -msgid "Update details" -msgstr "更新详情" - -#: userland/apps/installer/main.cpp:770 -msgid "Update preserves users, personal files, installed software and local configuration." -msgstr "更新会保留用户、个人文件、已安装软件和本地配置。" - -#: userland/apps/installer/installer_update_engine.c:782 -msgid "Update session completed" -msgstr "本次更新操作已完成" - -#: userland/apps/installer/installer_update_engine.c:522 -msgid "Update stage timed out; stopping its processes" -msgstr "更新步骤超时,正在停止相关进程" - -#: userland/apps/installer/installer_update_engine.c:780 -msgid "Update worker failed" -msgstr "后台更新进程执行失败" - -#: userland/apps/installer/install_ops.c:302 -msgid "Updating ReliefOS" -msgstr "正在更新 ReliefOS" - -#: userland/apps/installer/installer_update_progress.c:21 -msgid "Updating shell configuration" -msgstr "正在更新 Shell 配置" - -#: userland/apps/installer/model.c:176 -msgid "Updating system" -msgstr "正在更新系统" - -#: userland/apps/installer/installer_tui.c:272 +#: userland/apps/installer/installer_tui.c:282 msgid "Use" msgstr "用途" -#: userland/apps/installer/installer_tty.c:265 -msgid "Use Tab and the arrow keys to select controls. F3 continues and F2 returns to the previous step." +#: userland/apps/installer/installer_tty.c:232 +msgid "" +"Use Tab and the arrow keys to select controls. F3 continues and F2 returns to the previous " +"step." msgstr "使用 Tab 和方向键选择控件,F3 继续,F2 返回上一步。" #: configs/nls/messages/installer.c:29 @@ -1473,67 +1192,31 @@ msgstr "用作 ESP" msgid "Use as root" msgstr "用作根分区" -#: userland/apps/installer/installer_tty.c:294 -msgid "Use fstab" -msgstr "使用 fstab" - -#: userland/apps/installer/installer_tty.c:120 -msgid "Use the selected installation's fstab" -msgstr "使用所选安装的 fstab" - -#: userland/apps/installer/main.cpp:1265 +#: userland/apps/installer/main.cpp:974 msgid "User" msgstr "用户" -#: userland/apps/installer/install_ops.c:1598 -msgid "User name or ID conflicts with a system account" -msgstr "用户名或 ID 与系统账户冲突" - -#: userland/apps/installer/installer_tty.c:207 +#: userland/apps/installer/installer_tty.c:172 msgid "Username" msgstr "用户名" -#: userland/apps/installer/installer_update_progress.c:16 -msgid "Verifying package signatures" -msgstr "正在验证软件包签名" - -#: userland/apps/installer/installer_update_engine.c:614 -msgid "Verifying signed packages and dependencies" -msgstr "正在校验软件包签名与依赖" - -#: userland/apps/installer/main.cpp:881 -msgid "Version" -msgstr "版本" - -#: userland/apps/installer/installer_tty.c:344 +#: userland/apps/installer/installer_tty.c:290 msgid "View log" msgstr "查看日志" -#: userland/apps/installer/main.cpp:1075 +#: userland/apps/installer/main.cpp:784 msgid "Volume label" msgstr "卷标" -#: userland/apps/installer/main.cpp:570 -msgid "Waiting for the check to release its resources." -msgstr "正在等待检查进程释放资源。" - #: configs/nls/messages/installer.c:13 msgid "Welcome" msgstr "欢迎" -#: userland/apps/installer/install_ops.c:1326 +#: userland/apps/installer/install_ops.c:955 msgid "Writing allocated space" msgstr "正在写入分配的空间" -#: userland/apps/installer/install_ops.c:671 -msgid "Writing system files to disk" -msgstr "正在向磁盘写入系统文件" - -#: userland/apps/installer/installer_update_engine.c:596 -msgid "Writing the update log" -msgstr "正在写入更新日志" - -#: userland/apps/installer/installer_tty.c:209 +#: userland/apps/installer/installer_tty.c:174 msgid "XFCE (experimental)" msgstr "XFCE(实验性)" @@ -1541,41 +1224,7 @@ msgstr "XFCE(实验性)" msgid "Yes" msgstr "是" -#: userland/apps/installer/install_ops.c:1545 -#, python-format -msgid "" -"\n" -"%s (error %d)\n" -msgstr "\n%s(错误 %d)\n" - -#: userland/apps/installer/installer_update_progress.c:150 -#, python-format -msgid "" -"\n" -"%u/%u files; %.1f/%.1f MiB processed; %.1f MiB reused" -msgstr "\n文件 %u/%u;已处理 %.1f/%.1f MiB;已复用 %.1f MiB" - -#: userland/apps/installer/installer_update_progress.c:156 -#, python-format -msgid "" -"\n" -"%u/%u packages processed" -msgstr "\n已处理 %u/%u 个软件包" - -#: userland/apps/installer/installer_update_progress.c:162 -#, python-format -msgid "" -"\n" -"Command exit status: %u" -msgstr "\n命令退出状态:%u" - -#: userland/apps/installer/install_ops.c:1547 -msgid "" -"\n" -"Installation completed successfully." -msgstr "\n安装已成功完成。" - -#: userland/apps/installer/install_ops.c:451 +#: userland/apps/installer/install_ops.c:384 msgid "format FAT32 and erase existing files" msgstr "格式化为 FAT32 并擦除现有文件" @@ -1583,257 +1232,14 @@ msgstr "格式化为 FAT32 并擦除现有文件" msgid "none" msgstr "无" -#: userland/apps/installer/install_ops.c:451 +#: userland/apps/installer/install_ops.c:384 msgid "preserve existing FAT32 files" msgstr "保留 FAT32 中的现有文件" -#: userland/apps/installer/installer_tty.c:321 +#: userland/apps/installer/installer_tty.c:266 msgid "root password" msgstr "root 密码" #: userland/apps/installer/installer_plan.c:425 msgid "unformatted" msgstr "未格式化" - -#~ msgid "Cannot identify the selected partitions" -#~ msgstr "无法识别所选分区" - -#~ msgid "Checking bootloader compatibility" -#~ msgstr "正在检查引导器兼容性" - -#~ msgid "Checking update target" -#~ msgstr "正在检查更新目标" - -#~ msgid "Resuming bootloader publication" -#~ msgstr "正在继续提交引导文件" - -#~ msgid "Select partitions for ReliefOS and keep other systems or data." -#~ msgstr "选择 ReliefOS 使用的分区,并保留其他系统或数据。" - -#~ msgid "Target or media changed. Check the update again." -#~ msgstr "目标系统或安装介质已变化,请重新检查更新。" - -#~ msgid "The entire disk will be replaced. To preserve another system or data partition, choose manual partitioning." -#~ msgstr "整个磁盘的分区将被替换。若要保留其他系统或数据分区,请选择手动分区。" - -#~ msgid "Choose automatic installation or prepare a manual layout for this disk." -#~ msgstr "请选择自动安装,或为此磁盘手动配置分区。" - -#~ msgid "Configure the installation, review every change, then install." -#~ msgstr "先配置安装选项,核对全部更改,再开始安装。" - -#~ msgid "Keep the installation media connected until the operation finishes." -#~ msgstr "操作完成前请勿移除安装介质。" - -#~ msgid "Options" -#~ msgstr "选项" - -#~ msgid "Review your choices before installing. Disk changes are applied only after confirmation." -#~ msgstr "安装前请核对所有选项。磁盘更改只会在确认后应用。" - -#~ msgid "You can return to earlier steps without losing your choices. No disk changes are made until you confirm the installation." -#~ msgstr "返回前面的步骤不会丢失当前选择。确认安装前不会更改磁盘。" - -#~ msgid "Passwords: 1-32 characters, no spaces; confirmations must match" -#~ msgstr "密码为 1 至 32 个字符,不含空格,两次输入需一致;请检查用户名" - -#~ msgid "BIOS Boot — 1 MiB — unformatted" -#~ msgstr "BIOS Boot — 1 MiB — 不格式化" - -#~ msgid "ESP — 128 MiB — FAT32 — boot files" -#~ msgstr "ESP — 128 MiB — FAT32 — 引导文件" - -#~ msgid "Apply automatic layout now" -#~ msgstr "立即应用自动分区方案" - -#~ msgid "" -#~ "Automatic plan: BIOS Boot 1 MiB; ESP 128 MiB FAT32; root %llu MiB ext4.\n" -#~ "The list shows current partitions. The plan is applied only after confirmation." -#~ msgstr "自动方案:BIOS Boot 为 1 MiB,ESP 为 128 MiB FAT32,根分区为 %llu MiB ext4。\n列表显示当前分区,自动方案经确认后才写入磁盘。" - -#~ msgid "" -#~ "Automatic plan: ESP 128 MiB FAT32; root %llu MiB ext4.\n" -#~ "The list shows current partitions. The plan is applied only after confirmation." -#~ msgstr "自动方案:ESP 为 128 MiB FAT32,根分区为 %llu MiB ext4。\n列表显示当前分区,自动方案经确认后才写入磁盘。" - -#~ msgid "Available disks" -#~ msgstr "可用硬盘" - -#~ msgid "Bootloaders:" -#~ msgstr "引导器:" - -#~ msgid "Choose Setup Mode" -#~ msgstr "选择安装模式" - -#~ msgid "Choose the disk that already contains ReliefOS." -#~ msgstr "选择已经包含 ReliefOS 的硬盘。" - -#~ msgid "Choose the disk that will receive ReliefOS." -#~ msgstr "选择用于安装 ReliefOS 的硬盘。" - -#~ msgid "Choose the target disk, configure its partitions, then replace boot, system and EFI files." -#~ msgstr "选择目标磁盘并配置分区,然后替换引导、系统和 EFI 文件。" - -#~ msgid "Confirm Installation" -#~ msgstr "确认安装" - -#~ msgid "Confirm partition operation" -#~ msgstr "确认分区操作" - -#~ msgid "Console" -#~ msgstr "控制台" - -#~ msgid "Create: size in MiB, filesystem, name. Resize only changes the trailing edge." -#~ msgstr "创建:依次输入大小(MiB)、文件系统和名称。调整大小只移动分区末端。" - -#~ msgid "Current disk layout" -#~ msgstr "当前磁盘布局" - -#~ msgid "Data type" -#~ msgstr "数据分区类型" - -#~ msgid "Enter a value:" -#~ msgstr "请输入:" - -#~ msgid "Enter filesystem and label (for example: ext4 RELIEFOS_DATA):" -#~ msgstr "输入文件系统和卷标(例如:ext4 RELIEFOS_DATA):" - -#~ msgid "Enter size_MiB filesystem name (ext4/ext3/ext2/fat32/exfat/raw):" -#~ msgstr "输入 容量MiB 文件系统 名称(ext4/ext3/ext2/fat32/exfat/raw):" - -#~ msgid "Enter the GPT partition name:" -#~ msgstr "输入 GPT 分区名称:" - -#~ msgid "Enter the new partition size in MiB:" -#~ msgstr "输入新的分区大小(MiB):" - -#~ msgid "Final confirmation formats a FAT32 ESP and ext4 root on the selected disk." -#~ msgstr "最终确认后,会在所选磁盘上格式化 FAT32 EFI 系统分区和 ext4 根分区。" - -#~ msgid "Formatting destroys all files on the selected partition." -#~ msgstr "格式化会删除所选分区中的全部文件。" - -#~ msgid "Fresh install erases the disk. Update keeps existing users and extra programs." -#~ msgstr "全新安装会清空硬盘;更新会保留用户和额外程序。" - -#~ msgid "Installed version" -#~ msgstr "已安装版本" - -#~ msgid "Media version" -#~ msgstr "安装介质版本" - -#~ msgid "Only the selected root is formatted; existing ESP files are preserved." -#~ msgstr "仅格式化所选根分区;保留现有 ESP 文件。" - -#~ msgid "Only the selected root will be formatted. Existing ESP files and other partitions are preserved." -#~ msgstr "仅格式化所选根分区。保留现有 ESP 文件和其他分区。" - -#~ msgid "Operation in progress" -#~ msgstr "正在执行操作" - -#~ msgid "Partition layout updated" -#~ msgstr "已更新分区布局" - -#~ msgid "Payload path is too long" -#~ msgstr "负载路径过长" - -#~ msgid "ReliefOS Setup" -#~ msgstr "ReliefOS 安装程序" - -#~ msgid "Resize only changes the trailing edge. Check the filesystem size before applying." -#~ msgstr "调整大小只移动分区末尾,应用前请核对文件系统大小。" - -#~ msgid "Retry" -#~ msgstr "重试" - -#~ msgid "Review the detected system and start the update." -#~ msgstr "请核对识别到的系统信息,然后开始更新。" - -#~ msgid "Review the selected ESP and root before continuing." -#~ msgstr "继续之前,请核对选中的 EFI 系统分区和根分区。" - -#~ msgid "Root: /target; boot partition: /target/boot" -#~ msgstr "根分区:/target;启动分区:/target/boot" - -#~ msgid "SATA/AHCI and IDE/PATA target disks are supported." -#~ msgstr "支持 SATA/AHCI 和 IDE/PATA 目标硬盘。" - -#~ msgid "Set BIOS Boot" -#~ msgstr "设为 BIOS 引导分区" - -#~ msgid "Set ESP" -#~ msgstr "设为 EFI 系统分区" - -#~ msgid "Set root" -#~ msgstr "设为根分区" - -#~ msgid "Setup can copy the full normal system payload" -#~ msgstr "安装程序可以复制完整的普通系统文件" - -#~ msgid "Swapfile (MiB)" -#~ msgstr "交换文件 (MiB)" - -#~ msgid "Target:" -#~ msgstr "目标:" - -#~ msgid "The disk may have been changed" -#~ msgstr "磁盘内容可能已更改" - -#~ msgid "The installed system will use the same language." -#~ msgstr "安装后的操作系统将使用相同语言。" - -#~ msgid "The selected disk will be erased and formatted with a FAT32 ESP and ext4 system root." -#~ msgstr "所选磁盘将被清空,并创建、格式化 FAT32 EFI 系统分区和 ext4 系统根分区。" - -#~ msgid "The selected root and ESP will be formatted." -#~ msgstr "将格式化所选根分区和 ESP。" - -#~ msgid "The selected root and ESP will be formatted. All EFI boot files on that ESP will be erased." -#~ msgstr "将格式化所选根分区和 ESP,擦除该 ESP 上的所有 EFI 引导文件。" - -#~ msgid "The selected root is formatted. An existing FAT32 ESP is preserved by default." -#~ msgstr "将格式化所选根分区。默认保留现有 FAT32 ESP。" - -#~ msgid "This operation changes the selected disk or partition immediately and can destroy its data." -#~ msgstr "此操作会立即更改所选磁盘或分区,并可能清除其中的数据。" - -#~ msgid "This operation is destructive." -#~ msgstr "此操作会清空目标硬盘。" - -#~ msgid "Type AUTO to erase the disk and create BIOS Boot, ESP and root partitions:" -#~ msgstr "输入 AUTO 以清空磁盘并创建 BIOS 引导分区、EFI 系统分区和根分区:" - -#~ msgid "Type AUTO to erase the disk and create ESP and root partitions:" -#~ msgstr "输入 AUTO 擦除此磁盘,并创建 ESP 和根分区:" - -#~ msgid "Type DELETE to remove the selected partition:" -#~ msgstr "输入 DELETE 以删除所选分区:" - -#~ msgid "Type INITIALIZE to replace the partition table:" -#~ msgstr "输入 INITIALIZE 以替换分区表:" - -#~ msgid "Type INSTALL to enable the Install button." -#~ msgstr "输入 INSTALL 以启用安装按钮。" - -#~ msgid "or replace the boot/reliefos and system files on an existing installation." -#~ msgstr "也可以替换现有安装中的启动和系统文件。" - -#~ msgid "Install Xorg desktop environment" -#~ msgstr "安装 Xorg 桌面环境" - -#~ msgid "Enter size_MiB filesystem name (ext4/ext2/fat32/exfat/raw):" -#~ msgstr "输入大小(MiB)、文件系统和名称(ext4/ext2/fat32/exfat/raw);raw 表示不格式化:" - -#~ msgid "" -#~ "Manual layout: assign a FAT32 ESP and an ext4 root. BIOS Boot is not required for the selected " -#~ "bootloaders." -#~ msgstr "手动布局:指定 FAT32 ESP 和 ext4 根分区。当前引导选择不需要 BIOS Boot 分区。" - -#~ msgid "Root: /target (ext4), ESP: /target/boot (FAT32)" -#~ msgstr "根分区:/target(ext4),ESP:/target/boot(FAT32)" - -#~ msgid "Automatic partition plan (applied after final confirmation)" -#~ msgstr "自动分区方案(最终确认后应用)" - -#~ msgid "Manual partition selection" -#~ msgstr "手动选择分区" diff --git a/configs/nls/po/login/ja_JP.po b/configs/nls/po/login/ja_JP.po deleted file mode 100644 index adef63db..00000000 --- a/configs/nls/po/login/ja_JP.po +++ /dev/null @@ -1,39 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/login/main.c:37 -msgid "Initialize accounts" -msgstr "アカウントの初期化" - -#: userland/apps/login/main.c:29 -msgid "Initialize login terminal" -msgstr "ログイン端末の初期化" - -#: userland/apps/login/main.c:72 -msgid "Installer shell requires a TTY\n" -msgstr "インストーラーシェルには TTY が必要です\n" - -#: userland/apps/login/main.c:53 -msgid "Set installer shell" -msgstr "インストーラーシェルの設定" - -#: userland/apps/login/main.c:48 -msgid "Start installer shell" -msgstr "インストーラーシェルの起動" - -#: userland/apps/login/main.c:40 -msgid "Start login" -msgstr "ログインの開始" - -#: userland/apps/login/main.c:67 -msgid "usage: login.elf [--installer-shell]\n" -msgstr "使用法: login.elf [--installer-shell]\n" diff --git a/configs/nls/po/login/login.pot b/configs/nls/po/login/login.pot deleted file mode 100644 index 2618a048..00000000 --- a/configs/nls/po/login/login.pot +++ /dev/null @@ -1,31 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/login/main.c:37 -msgid "Initialize accounts" -msgstr "" - -#: userland/apps/login/main.c:29 -msgid "Initialize login terminal" -msgstr "" - -#: userland/apps/login/main.c:72 -msgid "Installer shell requires a TTY\n" -msgstr "" - -#: userland/apps/login/main.c:53 -msgid "Set installer shell" -msgstr "" - -#: userland/apps/login/main.c:48 -msgid "Start installer shell" -msgstr "" - -#: userland/apps/login/main.c:40 -msgid "Start login" -msgstr "" - -#: userland/apps/login/main.c:67 -msgid "usage: login.elf [--installer-shell]\n" -msgstr "" diff --git a/configs/nls/po/login/zh_CN.po b/configs/nls/po/login/zh_CN.po deleted file mode 100644 index b154ab44..00000000 --- a/configs/nls/po/login/zh_CN.po +++ /dev/null @@ -1,39 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Chinese (Simplified)\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/login/main.c:37 -msgid "Initialize accounts" -msgstr "初始化账户" - -#: userland/apps/login/main.c:29 -msgid "Initialize login terminal" -msgstr "初始化登录终端" - -#: userland/apps/login/main.c:72 -msgid "Installer shell requires a TTY\n" -msgstr "安装程序 shell 需要 TTY\n" - -#: userland/apps/login/main.c:53 -msgid "Set installer shell" -msgstr "设置安装程序 shell" - -#: userland/apps/login/main.c:48 -msgid "Start installer shell" -msgstr "启动安装程序 shell" - -#: userland/apps/login/main.c:40 -msgid "Start login" -msgstr "启动登录" - -#: userland/apps/login/main.c:67 -msgid "usage: login.elf [--installer-shell]\n" -msgstr "用法: login.elf [--installer-shell]\n" diff --git a/configs/nls/po/memtest/ja_JP.po b/configs/nls/po/memtest/ja_JP.po new file mode 100644 index 00000000..64bd2c69 --- /dev/null +++ b/configs/nls/po/memtest/ja_JP.po @@ -0,0 +1,105 @@ +# Japanese (Japan) translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 00:00+0000\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" +"Last-Translator: ReliefOS NLS\n" +"Language: ja_JP\n" +"Language-Team: ja_JP\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/memtest/main.c:237 +msgid "calloc and realloc" +msgstr "calloc と realloc" + +#: userland/apps/memtest/main.c:190 +msgid "file stat" +msgstr "ファイルの状態" + +#: userland/apps/memtest/main.c:236 +msgid "heap stress" +msgstr "ヒープ負荷テスト" + +#: userland/apps/memtest/main.c:18 +#, python-format +msgid "memtest: FAIL %s" +msgstr "memtest: 失敗 %s" + +#: userland/apps/memtest/main.c:240 +msgid "memtest: all checks passed" +msgstr "memtest: すべての検査に成功" + +#: userland/apps/memtest/main.c:235 +msgid "memtest: user memory test starting" +msgstr "memtest: ユーザーメモリーテストを開始" + +#: userland/apps/memtest/main.c:124 +msgid "mmap" +msgstr "メモリーマッピング" + +#: userland/apps/memtest/main.c:131 +msgid "munmap middle" +msgstr "中央領域のマッピング解除" + +#: userland/apps/memtest/main.c:138 +msgid "munmap remaining pages" +msgstr "残りページのマッピング解除" + +#: userland/apps/memtest/main.c:234 +msgid "page size" +msgstr "ページサイズ" + +#: userland/apps/memtest/main.c:134 +msgid "partial mapping contents" +msgstr "部分マッピングの内容" + +#: userland/apps/memtest/main.c:211 +msgid "private file mapping" +msgstr "プライベートファイルマッピング" + +#: userland/apps/memtest/main.c:222 +msgid "private file mapping contents" +msgstr "プライベートファイルマッピングの内容" + +#: userland/apps/memtest/main.c:166 +msgid "temporary file" +msgstr "一時ファイル" + +#: userland/apps/memtest/main.c:159 +msgid "temporary file path" +msgstr "一時ファイルのパス" + +#: userland/apps/memtest/main.c:198 +msgid "unaligned mapping accepted" +msgstr "未整列マッピングが受け入れられた" + +#: userland/apps/memtest/main.c:204 +msgid "unaligned mapping errno" +msgstr "未整列マッピングのエラー番号" + +#: userland/apps/memtest/main.c:173 +msgid "unlink temporary file" +msgstr "一時ファイルの削除" + +#: userland/apps/memtest/main.c:145 +msgid "unmapped access" +msgstr "未マッピング領域へのアクセス" + +#: userland/apps/memtest/main.c:136 +msgid "unmapped middle access" +msgstr "未マッピングの中央領域へのアクセス" + +#: userland/apps/memtest/main.c:182 +msgid "write temporary file" +msgstr "一時ファイルへの書き込み" diff --git a/configs/nls/po/memtest/memtest.pot b/configs/nls/po/memtest/memtest.pot new file mode 100644 index 00000000..04caba92 --- /dev/null +++ b/configs/nls/po/memtest/memtest.pot @@ -0,0 +1,87 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + +#: userland/apps/memtest/main.c:237 +msgid "calloc and realloc" +msgstr "" + +#: userland/apps/memtest/main.c:190 +msgid "file stat" +msgstr "" + +#: userland/apps/memtest/main.c:236 +msgid "heap stress" +msgstr "" + +#: userland/apps/memtest/main.c:18 +msgid "memtest: FAIL %s" +msgstr "" + +#: userland/apps/memtest/main.c:240 +msgid "memtest: all checks passed" +msgstr "" + +#: userland/apps/memtest/main.c:235 +msgid "memtest: user memory test starting" +msgstr "" + +#: userland/apps/memtest/main.c:124 +msgid "mmap" +msgstr "" + +#: userland/apps/memtest/main.c:131 +msgid "munmap middle" +msgstr "" + +#: userland/apps/memtest/main.c:138 +msgid "munmap remaining pages" +msgstr "" + +#: userland/apps/memtest/main.c:234 +msgid "page size" +msgstr "" + +#: userland/apps/memtest/main.c:134 +msgid "partial mapping contents" +msgstr "" + +#: userland/apps/memtest/main.c:211 +msgid "private file mapping" +msgstr "" + +#: userland/apps/memtest/main.c:222 +msgid "private file mapping contents" +msgstr "" + +#: userland/apps/memtest/main.c:166 +msgid "temporary file" +msgstr "" + +#: userland/apps/memtest/main.c:159 +msgid "temporary file path" +msgstr "" + +#: userland/apps/memtest/main.c:198 +msgid "unaligned mapping accepted" +msgstr "" + +#: userland/apps/memtest/main.c:204 +msgid "unaligned mapping errno" +msgstr "" + +#: userland/apps/memtest/main.c:173 +msgid "unlink temporary file" +msgstr "" + +#: userland/apps/memtest/main.c:145 +msgid "unmapped access" +msgstr "" + +#: userland/apps/memtest/main.c:136 +msgid "unmapped middle access" +msgstr "" + +#: userland/apps/memtest/main.c:182 +msgid "write temporary file" +msgstr "" diff --git a/configs/nls/po/memtest/zh_CN.po b/configs/nls/po/memtest/zh_CN.po new file mode 100644 index 00000000..3377f9bd --- /dev/null +++ b/configs/nls/po/memtest/zh_CN.po @@ -0,0 +1,105 @@ +# Chinese (Simplified, China) translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 00:00+0000\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" +"Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" +"Language-Team: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/memtest/main.c:237 +msgid "calloc and realloc" +msgstr "calloc 和 realloc" + +#: userland/apps/memtest/main.c:190 +msgid "file stat" +msgstr "文件状态" + +#: userland/apps/memtest/main.c:236 +msgid "heap stress" +msgstr "堆压力测试" + +#: userland/apps/memtest/main.c:18 +#, python-format +msgid "memtest: FAIL %s" +msgstr "memtest:失败 %s" + +#: userland/apps/memtest/main.c:240 +msgid "memtest: all checks passed" +msgstr "memtest:所有检查通过" + +#: userland/apps/memtest/main.c:235 +msgid "memtest: user memory test starting" +msgstr "memtest:开始用户内存测试" + +#: userland/apps/memtest/main.c:124 +msgid "mmap" +msgstr "内存映射" + +#: userland/apps/memtest/main.c:131 +msgid "munmap middle" +msgstr "取消中间区域映射" + +#: userland/apps/memtest/main.c:138 +msgid "munmap remaining pages" +msgstr "取消其余页面映射" + +#: userland/apps/memtest/main.c:234 +msgid "page size" +msgstr "页面大小" + +#: userland/apps/memtest/main.c:134 +msgid "partial mapping contents" +msgstr "部分映射内容" + +#: userland/apps/memtest/main.c:211 +msgid "private file mapping" +msgstr "私有文件映射" + +#: userland/apps/memtest/main.c:222 +msgid "private file mapping contents" +msgstr "私有文件映射内容" + +#: userland/apps/memtest/main.c:166 +msgid "temporary file" +msgstr "临时文件" + +#: userland/apps/memtest/main.c:159 +msgid "temporary file path" +msgstr "临时文件路径" + +#: userland/apps/memtest/main.c:198 +msgid "unaligned mapping accepted" +msgstr "接受了未对齐的映射" + +#: userland/apps/memtest/main.c:204 +msgid "unaligned mapping errno" +msgstr "未对齐映射的错误码" + +#: userland/apps/memtest/main.c:173 +msgid "unlink temporary file" +msgstr "删除临时文件" + +#: userland/apps/memtest/main.c:145 +msgid "unmapped access" +msgstr "访问未映射区域" + +#: userland/apps/memtest/main.c:136 +msgid "unmapped middle access" +msgstr "访问未映射的中间区域" + +#: userland/apps/memtest/main.c:182 +msgid "write temporary file" +msgstr "写入临时文件" diff --git a/configs/nls/po/motd/ja_JP.po b/configs/nls/po/motd/ja_JP.po deleted file mode 100644 index 68a6dade..00000000 --- a/configs/nls/po/motd/ja_JP.po +++ /dev/null @@ -1,59 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/motd/main.c:138 -msgid "%lud %luh" -msgstr "%lu日 %lu時間" - -#: userland/apps/motd/main.c:140 -msgid "%luh %lum" -msgstr "%lu時間 %lu分" - -#: userland/apps/motd/main.c:141 -msgid "%lum %lus" -msgstr "%lu分 %lu秒" - -#: userland/apps/motd/format.c:55 -msgid "Address" -msgstr "アドレス" - -#: userland/apps/motd/format.c:55 -msgid "Load" -msgstr "負荷" - -#: userland/apps/motd/format.c:55 -msgid "Memory" -msgstr "メモリ" - -#: userland/apps/motd/main.c:114 -msgid "N/A" -msgstr "利用不可" - -#: userland/apps/motd/main.c:97 -msgid "Not connected" -msgstr "未接続" - -#: userland/apps/motd/format.c:55 -msgid "Root" -msgstr "ルート" - -#: userland/apps/motd/format.c:61 -msgid "System information as of %s" -msgstr "%s 時点のシステム情報" - -#: userland/apps/motd/format.c:55 -msgid "Uptime" -msgstr "稼働時間" - -#: userland/apps/motd/format.c:59 -msgid "Welcome to %s (%s)" -msgstr "%s へようこそ (%s)" diff --git a/configs/nls/po/motd/motd.pot b/configs/nls/po/motd/motd.pot deleted file mode 100644 index b3e86912..00000000 --- a/configs/nls/po/motd/motd.pot +++ /dev/null @@ -1,51 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/motd/main.c:138 -msgid "%lud %luh" -msgstr "" - -#: userland/apps/motd/main.c:140 -msgid "%luh %lum" -msgstr "" - -#: userland/apps/motd/main.c:141 -msgid "%lum %lus" -msgstr "" - -#: userland/apps/motd/format.c:55 -msgid "Address" -msgstr "" - -#: userland/apps/motd/format.c:55 -msgid "Load" -msgstr "" - -#: userland/apps/motd/format.c:55 -msgid "Memory" -msgstr "" - -#: userland/apps/motd/main.c:114 -msgid "N/A" -msgstr "" - -#: userland/apps/motd/main.c:97 -msgid "Not connected" -msgstr "" - -#: userland/apps/motd/format.c:55 -msgid "Root" -msgstr "" - -#: userland/apps/motd/format.c:61 -msgid "System information as of %s" -msgstr "" - -#: userland/apps/motd/format.c:55 -msgid "Uptime" -msgstr "" - -#: userland/apps/motd/format.c:59 -msgid "Welcome to %s (%s)" -msgstr "" diff --git a/configs/nls/po/motd/zh_CN.po b/configs/nls/po/motd/zh_CN.po deleted file mode 100644 index 5a096452..00000000 --- a/configs/nls/po/motd/zh_CN.po +++ /dev/null @@ -1,59 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Chinese (Simplified)\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/motd/main.c:138 -msgid "%lud %luh" -msgstr "%lu天 %lu小时" - -#: userland/apps/motd/main.c:140 -msgid "%luh %lum" -msgstr "%lu小时 %lu分" - -#: userland/apps/motd/main.c:141 -msgid "%lum %lus" -msgstr "%lu分 %lu秒" - -#: userland/apps/motd/format.c:55 -msgid "Address" -msgstr "地址" - -#: userland/apps/motd/format.c:55 -msgid "Load" -msgstr "负载" - -#: userland/apps/motd/format.c:55 -msgid "Memory" -msgstr "内存" - -#: userland/apps/motd/main.c:114 -msgid "N/A" -msgstr "不可用" - -#: userland/apps/motd/main.c:97 -msgid "Not connected" -msgstr "未连接" - -#: userland/apps/motd/format.c:55 -msgid "Root" -msgstr "根分区" - -#: userland/apps/motd/format.c:61 -msgid "System information as of %s" -msgstr "系统信息:%s" - -#: userland/apps/motd/format.c:55 -msgid "Uptime" -msgstr "运行" - -#: userland/apps/motd/format.c:59 -msgid "Welcome to %s (%s)" -msgstr "欢迎使用 %s (%s)" diff --git a/configs/nls/po/network-controller/ja_JP.po b/configs/nls/po/network-controller/ja_JP.po index 0cd75301..9fb32654 100644 --- a/configs/nls/po/network-controller/ja_JP.po +++ b/configs/nls/po/network-controller/ja_JP.po @@ -1,24 +1,46 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" + +#: configs/nls/messages/network-controller.c:11 +msgid "" +"\n" +"Operation canceled. Check service state before retrying.\n" +msgstr "" +"\n" +"操作がキャンセルされました。再試行する前にサービスの状態を確認してください。\n" + +#: configs/nls/messages/network-controller.c:12 +msgid "" +"\n" +"Operation timed out. Check service state before retrying.\n" +msgstr "" +"\n" +"操作がタイムアウトしました。再試行する前にサービスの状態を確認してください。\n" #: userland/apps/network-controller/window.cpp:162 msgid "About" msgstr "バージョン情報" #: userland/apps/network-controller/window.cpp:635 -msgid "Adapter counters are not exported by this kernel. Address, gateway, DNS and connection diagnostics remain available." +msgid "" +"Adapter counters are not exported by this kernel. Address, gateway, DNS and connection " +"diagnostics remain available." msgstr "このカーネルはアダプターのカウンターを公開していません。アドレス、ゲートウェイ、DNS、接続の診断は引き続き利用できます。" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" @@ -26,42 +48,28 @@ msgstr "お気に入りに追加" msgid "Address mode" msgstr "アドレスモード" -#: userland/apps/network-controller/dialogs.cpp:46 -msgid "Administrator permission is required to manage network settings." -msgstr "ネットワーク設定の管理には管理者権限が必要です。" - -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" -#: userland/apps/network-controller/window.cpp:756 +#: userland/apps/network-controller/window.cpp:753 msgid "Apply" msgstr "適用" -#: userland/apps/network-controller/window.cpp:767 +#: userland/apps/network-controller/window.cpp:764 msgid "Apply Ethernet configuration" msgstr "Ethernet 設定を適用" #: userland/apps/network-controller/window.cpp:489 -msgid "Applying the network failed. Saved settings remain on disk. Check the output and restore or correct the configuration." +msgid "" +"Applying the network failed. Saved settings remain on disk. Check the output and restore or " +"correct the configuration." msgstr "ネットワーク設定の適用に失敗しました。保存済みの設定はディスクに残っています。出力を確認し、設定を復元または修正してください。" -#: userland/apps/network-controller/dialogs.cpp:48 -msgid "Authenticate with" -msgstr "認証方法" - #: configs/nls/messages/network-controller.c:5 msgid "Authenticating" msgstr "認証中" -#: userland/apps/network-controller/dialogs.cpp:115 -msgid "Authenticating…" -msgstr "認証中…" - -#: userland/apps/network-controller/dialogs.cpp:84 -msgid "Authentication failed. Check the password or choose another method." -msgstr "認証に失敗しました。パスワードを確認するか、別の方法を選択してください。" - #: userland/apps/network-controller/window.cpp:171 msgid "Auto refresh" msgstr "自動更新" @@ -70,7 +78,7 @@ msgstr "自動更新" msgid "Automatic (DHCP)" msgstr "自動 (DHCP)" -#: userland/apps/network-controller/window.cpp:845 +#: userland/apps/network-controller/window.cpp:842 msgid "Broadcast" msgstr "ブロードキャスト" @@ -78,7 +86,7 @@ msgstr "ブロードキャスト" msgid "Calculate" msgstr "計算" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" @@ -86,11 +94,11 @@ msgstr "キャンセル" msgid "Cancel operation" msgstr "操作をキャンセル" -#: userland/apps/network-controller/window.cpp:820 +#: userland/apps/network-controller/window.cpp:817 msgid "Cancel the running operation and close? Configuration changes already saved remain on disk." msgstr "実行中の操作をキャンセルして閉じますか? 保存済みの設定変更はディスクに残ります。" -#: userland/apps/network-controller/window.cpp:888 +#: userland/apps/network-controller/window.cpp:885 msgid "Cancellation requested; waiting for the running command." msgstr "キャンセルを要求しました。実行中のコマンドを待っています。" @@ -106,7 +114,7 @@ msgstr "ネットワーク設定ディレクトリを作成できません" msgid "Cannot create network configuration temporary file" msgstr "ネットワーク設定の一時ファイルを作成できません" -#: userland/apps/network-controller/window.cpp:808 +#: userland/apps/network-controller/window.cpp:805 msgid "Cannot export the diagnostic output." msgstr "診断結果をエクスポートできません。" @@ -134,14 +142,6 @@ msgstr "ネットワーク設定を保存できません" msgid "Cannot send the network operation." msgstr "ネットワーク操作を送信できません。" -#: userland/apps/network-controller/dialogs.cpp:101 -msgid "Cannot start the authentication program." -msgstr "認証プログラムを起動できません。" - -#: userland/apps/network-controller/dialogs.cpp:29 -msgid "Cannot start the network worker." -msgstr "ネットワークワーカーを起動できません。" - #: configs/nls/messages/network-controller.c:21 msgid "Cannot synchronize network configuration directory" msgstr "ネットワーク設定ディレクトリを同期できません" @@ -154,7 +154,7 @@ msgstr "復元したネットワークプロファイルを同期できません msgid "Clear output" msgstr "出力をクリア" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "閉じる" @@ -186,15 +186,19 @@ msgstr "接続済み" msgid "Copy output" msgstr "出力をコピー" +#: userland/apps/network-controller/dialogs.cpp:15 +msgid "Could not authorize network management." +msgstr "ネットワーク管理の認証を取得できませんでした。" + #: userland/apps/fltk_png_app.h:46 msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" @@ -262,15 +266,15 @@ msgstr "破棄" msgid "Discard unsaved changes and select another adapter?" msgstr "未保存の変更を破棄して別のアダプターを選択しますか?" -#: userland/apps/network-controller/window.cpp:910 +#: userland/apps/network-controller/window.cpp:907 msgid "Discard unsaved edits and reload the network profile?" msgstr "未保存の編集内容を破棄してネットワークプロファイルを再読み込みしますか?" -#: userland/apps/network-controller/window.cpp:816 +#: userland/apps/network-controller/window.cpp:813 msgid "Discard unsaved network settings and close?" msgstr "未保存のネットワーク設定を破棄して閉じますか?" -#: userland/apps/network-controller/model.cpp:219 +#: userland/apps/network-controller/model.cpp:210 msgid "Duplicate network profile field." msgstr "ネットワークプロファイルのフィールドが重複しています。" @@ -286,11 +290,11 @@ msgstr "有効" msgid "Enter a usable static IPv4 address and prefix." msgstr "使用可能な静的 IPv4 アドレスとプレフィックスを入力してください。" -#: userland/apps/network-controller/window.cpp:946 +#: userland/apps/network-controller/window.cpp:943 msgid "Enter a valid host, IPv4 DNS server and TCP port (1–65535)." msgstr "有効なホスト、IPv4 DNS サーバー、TCP ポート (1–65535) を入力してください。" -#: userland/apps/network-controller/window.cpp:835 +#: userland/apps/network-controller/window.cpp:832 msgid "Enter an IPv4 address and a prefix from 0 to 32." msgstr "IPv4 アドレスと 0~32 のプレフィックスを入力してください。" @@ -298,11 +302,7 @@ msgstr "IPv4 アドレスと 0~32 のプレフィックスを入力してく msgid "Enter one to three IPv4 DNS servers." msgstr "IPv4 DNS サーバーを 1~3 個入力してください。" -#: userland/apps/network-controller/dialogs.cpp:94 -msgid "Enter your password to continue authentication." -msgstr "認証を続けるにはパスワードを入力してください。" - -#: userland/apps/network-controller/window.cpp:788 +#: userland/apps/network-controller/window.cpp:785 msgid "Export network diagnostics" msgstr "ネットワーク診断をエクスポート" @@ -314,7 +314,7 @@ msgstr "出力をエクスポート" msgid "Export output…" msgstr "出力をエクスポート…" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" @@ -322,11 +322,11 @@ msgstr "お気に入り" msgid "File" msgstr "ファイル" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" @@ -346,7 +346,7 @@ msgstr "ヘルプ" msgid "Host or IPv4" msgstr "ホストまたは IPv4" -#: userland/apps/network-controller/window.cpp:846 +#: userland/apps/network-controller/window.cpp:843 msgid "Host range" msgstr "ホスト範囲" @@ -358,7 +358,7 @@ msgstr "IPv4 アドレス" msgid "IPv4 subnet calculator" msgstr "IPv4 サブネット計算機" -#: userland/apps/network-controller/model.cpp:226 +#: userland/apps/network-controller/model.cpp:216 msgid "Incomplete network profile." msgstr "ネットワークプロファイルが不完全です。" @@ -366,11 +366,11 @@ msgstr "ネットワークプロファイルが不完全です。" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/network-controller/model.cpp:194 +#: userland/apps/network-controller/model.cpp:190 msgid "Invalid DNS policy." msgstr "DNS ポリシーが無効です。" -#: userland/apps/network-controller/model.cpp:198 +#: userland/apps/network-controller/model.cpp:200 msgid "Invalid DNS server." msgstr "DNS サーバーが無効です。" @@ -378,15 +378,15 @@ msgstr "DNS サーバーが無効です。" msgid "Invalid Ethernet interface" msgstr "Ethernet インターフェースが無効です" -#: userland/apps/network-controller/model.cpp:173 +#: userland/apps/network-controller/model.cpp:172 msgid "Invalid IPv4 address." msgstr "IPv4 アドレスが無効です。" -#: userland/apps/network-controller/model.cpp:181 +#: userland/apps/network-controller/model.cpp:180 msgid "Invalid IPv4 gateway." msgstr "IPv4 ゲートウェイが無効です。" -#: userland/apps/network-controller/model.cpp:177 +#: userland/apps/network-controller/model.cpp:176 msgid "Invalid IPv4 prefix." msgstr "IPv4 プレフィックスが無効です。" @@ -394,21 +394,19 @@ msgstr "IPv4 プレフィックスが無効です。" msgid "Invalid network profile." msgstr "ネットワークプロファイルが無効です。" -#: userland/apps/network-controller/model.cpp:271 +#: userland/apps/network-controller/model.cpp:258 msgid "Invalid network request." msgstr "ネットワーク要求が無効です。" -#: userland/apps/network-controller/model.cpp:314 +#: userland/apps/network-controller/model.cpp:301 msgid "Invalid or unsupported network request." msgstr "ネットワーク要求が無効か、サポートされていません。" -#: userland/apps/network-controller/dialogs.cpp:106 -msgid "Invalid password input." -msgstr "入力されたパスワードが無効です。" - #: userland/apps/network-controller/window.cpp:191 -msgid "Live interface data. Configuration is managed by OpenRC; diagnostics report actual results." -msgstr "インターフェースの現在の情報です。設定は OpenRC で管理され、診断には実際の結果が表示されます。" +msgid "" +"Live interface data. Configuration is managed by systemd-networkd; diagnostics report actual" +" results." +msgstr "インターフェースのリアルタイム情報です。設定は systemd-networkd が管理し、診断には実際の結果が表示されます。" #: userland/apps/network-controller/window.cpp:182 msgid "MAC address" @@ -422,7 +420,7 @@ msgstr "MTU" msgid "Malformed interface response.\n" msgstr "インターフェースの応答が不正です。\n" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" @@ -434,22 +432,30 @@ msgstr "ネットワーク" msgid "Network Controller" msgstr "ネットワークコントローラー" -#: configs/nls/messages/network-controller.c:27 -msgid "Network Controller diagnostics\n\nAdapters (live ioctl and counters):\n" -msgstr "ネットワークコントローラーの診断\n\nアダプター (現在の ioctl 情報とカウンター):\n" +#: userland/apps/network-controller/window.cpp:863 +msgid "" +"Network Controller\n" +"IPv4 Ethernet configuration and network diagnostics for ReliefOS.\n" +"C++ / FLTK" +msgstr "" +"ネットワークコントローラー\n" +"ReliefOS の IPv4 Ethernet 設定とネットワーク診断。\n" +"C++ / FLTK" -#: userland/apps/network-controller/window.cpp:866 -msgid "Network Controller\nIPv4 Ethernet configuration and network diagnostics for ReliefOS.\nC++ / FLTK" -msgstr "ネットワークコントローラー\nReliefOS の IPv4 Ethernet 設定とネットワーク診断。\nC++ / FLTK" +#: configs/nls/messages/network-controller.c:27 +msgid "" +"Network Controller diagnostics\n" +"\n" +"Adapters (live ioctl and counters):\n" +msgstr "" +"ネットワークコントローラーの診断\n" +"\n" +"アダプター (現在の ioctl 情報とカウンター):\n" #: userland/apps/network-controller/window.cpp:173 msgid "Network adapters" msgstr "ネットワークアダプター" -#: userland/apps/network-controller/dialogs.cpp:42 -msgid "Network authentication" -msgstr "ネットワーク認証" - #: configs/nls/messages/network-controller.c:28 msgid "Network configuration is locked or unsafe" msgstr "ネットワーク設定はロックされているか、安全ではありません" @@ -458,7 +464,7 @@ msgstr "ネットワーク設定はロックされているか、安全ではあ msgid "Network configuration saved. Apply it to update the running network.\n" msgstr "ネットワーク設定を保存しました。実行中のネットワークを更新するには適用してください。\n" -#: userland/apps/network-controller/window.cpp:970 +#: userland/apps/network-controller/window.cpp:967 msgid "Network information" msgstr "ネットワーク情報" @@ -470,11 +476,11 @@ msgstr "ネットワーク応答が大きすぎます。" msgid "Network worker disconnected. Reopen the application to authenticate." msgstr "ネットワークワーカーとの接続が切断されました。アプリケーションを開き直して認証してください。" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" @@ -486,7 +492,7 @@ msgstr "以前のネットワーク設定のバックアップはありません msgid "Not available.\n" msgstr "利用できません。\n" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" @@ -506,7 +512,7 @@ msgstr "操作に失敗しました。詳細は「出力」を参照してくだ msgid "Output" msgstr "出力" -#: userland/apps/network-controller/window.cpp:810 +#: userland/apps/network-controller/window.cpp:807 msgid "Output exported." msgstr "出力をエクスポートしました。" @@ -518,15 +524,11 @@ msgstr "概要" msgid "Packets / errors" msgstr "パケット / エラー" -#: userland/apps/network-controller/dialogs.cpp:52 -msgid "Password" -msgstr "パスワード" - #: userland/apps/network-controller/window.cpp:233 msgid "Ping" msgstr "Ping" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" @@ -538,7 +540,7 @@ msgstr "プレフィックス長" msgid "Prefix length (0–32)" msgstr "プレフィックス長 (0–32)" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" @@ -578,11 +580,11 @@ msgstr "設定を再読み込み" msgid "Renew DHCP" msgstr "DHCP を更新" -#: userland/apps/network-controller/window.cpp:793 +#: userland/apps/network-controller/window.cpp:790 msgid "Replace" msgstr "置き換え" -#: userland/apps/network-controller/window.cpp:794 +#: userland/apps/network-controller/window.cpp:791 msgid "Replace the existing file?" msgstr "既存のファイルを置き換えますか?" @@ -590,7 +592,7 @@ msgstr "既存のファイルを置き換えますか?" msgid "Requested network information is absent or cannot be read.\n" msgstr "要求されたネットワーク情報が存在しないか、読み取れません。\n" -#: userland/apps/network-controller/window.cpp:773 +#: userland/apps/network-controller/window.cpp:770 msgid "Restore and apply" msgstr "復元して適用" @@ -602,19 +604,15 @@ msgstr "以前の設定を復元" msgid "Restore previous…" msgstr "以前の設定を復元…" -#: userland/apps/network-controller/window.cpp:774 +#: userland/apps/network-controller/window.cpp:771 msgid "Restore the previous profile and apply it? The current network connection may be interrupted." msgstr "以前のプロファイルを復元して適用しますか? 現在のネットワーク接続が中断される場合があります。" -#: userland/apps/network-controller/dialogs.cpp:83 -msgid "Retry" -msgstr "再試行" - #: userland/apps/network-controller/window.cpp:153 msgid "Routing table" msgstr "ルーティングテーブル" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -622,11 +620,11 @@ msgstr "保存" msgid "Save and apply" msgstr "保存して適用" -#: userland/apps/network-controller/window.cpp:749 +#: userland/apps/network-controller/window.cpp:746 msgid "Save and apply this Ethernet configuration?" msgstr "この Ethernet 設定を保存して適用しますか?" -#: userland/apps/network-controller/window.cpp:765 +#: userland/apps/network-controller/window.cpp:762 msgid "Save network configuration" msgstr "ネットワーク設定を保存" @@ -634,17 +632,36 @@ msgstr "ネットワーク設定を保存" msgid "Save only" msgstr "保存のみ" -#: userland/apps/network-controller/window.cpp:695 -msgid "Saving keeps a backup and detects external changes. Applying may interrupt this adapter. Static mode requires explicit DNS." +#: userland/apps/network-controller/window.cpp:692 +msgid "" +"Saving keeps a backup and detects external changes. Applying may interrupt this adapter. " +"Static mode requires explicit DNS." msgstr "保存時にバックアップを保持し、外部の変更を検出します。適用するとこのアダプターが中断される場合があります。静的モードでは DNS の明示的な指定が必要です。" #: userland/apps/network-controller/window.cpp:688 msgid "Select an Ethernet adapter to edit its configuration." msgstr "設定を編集する Ethernet アダプターを選択してください。" -#: userland/apps/network-controller/window.cpp:872 -msgid "Select an adapter to inspect and configure its live state. Configure Ethernet with DHCP, static IPv4 or disabled mode. Save and apply uses the existing OpenRC network service.\n\nStatic mode requires custom or Cloudflare DNS. Use spaces between custom DNS addresses. Saving detects external changes and keeps the previous configuration.\n\nDiagnostics use real network operations. TCP success confirms a connection, not TLS or application health. Wi-Fi, IPv6, VPN and changing the kernel's fixed MTU are not supported." -msgstr "アダプターを選択して現在の状態を確認し、設定します。Ethernet は DHCP、静的 IPv4、無効のいずれかに設定できます。「保存して適用」では既存の OpenRC ネットワークサービスを使用します。\n\n静的モードではカスタム DNS または Cloudflare DNS が必要です。カスタム DNS アドレスはスペースで区切ってください。保存時に外部の変更を検出し、以前の設定を保持します。\n\n診断では実際のネットワーク操作を使用します。TCP の成功は接続を確認するものであり、TLS やアプリケーションの正常性を保証するものではありません。Wi-Fi、IPv6、VPN、およびカーネルの固定 MTU の変更には対応していません。" +#: userland/apps/network-controller/window.cpp:869 +msgid "" +"Select an adapter to inspect and configure its live state. Configure Ethernet with DHCP, " +"static IPv4 or disabled mode. Save and apply uses systemd-networkd.\n" +"\n" +"Static mode requires custom or Cloudflare DNS. Use spaces between custom DNS addresses. " +"Saving detects external changes and keeps the previous configuration.\n" +"\n" +"Diagnostics use real network operations. TCP success confirms a connection, not TLS or " +"application health. Manual IPv6, Wi-Fi, VPN and changing the kernel's fixed MTU are not " +"supported." +msgstr "" +"アダプターを選択して現在の状態を確認し、設定します。イーサネットは DHCP、固定 IPv4 または無効に設定できます。保存と適用には systemd-networkd を使用します。" +"\n" +"\n" +"固定モードではカスタム DNS または Cloudflare DNS が必要です。カスタム DNS " +"アドレスはスペースで区切ってください。保存時に外部変更を検出し、以前の設定を保持します。\n" +"\n" +"診断は実際のネットワーク操作を行います。TCP 成功は接続を示し、TLS やアプリケーションの正常性は確認しません。手動 IPv6、Wi-Fi、VPN、およびカーネルの固定 MTU " +"の変更には対応していません。" #: userland/apps/network-controller/window.cpp:183 msgid "Send rate" @@ -658,11 +675,11 @@ msgstr "送信合計" msgid "Settings" msgstr "設定" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" @@ -690,7 +707,7 @@ msgstr "TCP 接続" msgid "TCP port" msgstr "TCP ポート" -#: userland/apps/network-controller/window.cpp:953 +#: userland/apps/network-controller/window.cpp:950 msgid "TCP port test" msgstr "TCP ポートテスト" @@ -698,7 +715,7 @@ msgstr "TCP ポートテスト" msgid "Test TCP port" msgstr "TCP ポートをテスト" -#: userland/apps/network-controller/window.cpp:755 +#: userland/apps/network-controller/window.cpp:752 msgid "The current network connection may be interrupted." msgstr "現在のネットワーク接続が中断される場合があります。" @@ -710,7 +727,7 @@ msgstr "ゲートウェイには同じサブネット内の別の使用可能な msgid "The selected Ethernet interface is no longer present.\n" msgstr "選択した Ethernet インターフェースは存在しなくなりました。\n" -#: userland/apps/network-controller/model.cpp:333 +#: userland/apps/network-controller/model.cpp:340 msgid "This operation does not execute a command." msgstr "この操作ではコマンドは実行されません。" @@ -722,14 +739,10 @@ msgstr "キューに入った操作が多すぎます。" msgid "Tools" msgstr "ツール" -#: userland/apps/network-controller/model.cpp:217 +#: userland/apps/network-controller/model.cpp:208 msgid "Unknown network profile field." msgstr "不明なネットワークプロファイルフィールドです。" -#: userland/apps/network-controller/dialogs.cpp:58 -msgid "Unlock" -msgstr "ロック解除" - #: configs/nls/messages/network-controller.c:34 msgid "Unsafe configuration directory" msgstr "設定ディレクトリが安全ではありません" @@ -742,7 +755,7 @@ msgstr "ネットワーク設定ファイルが安全ではありません" msgid "Unsaved configuration changes" msgstr "未保存の設定変更" -#: userland/apps/network-controller/model.cpp:159 +#: userland/apps/network-controller/model.cpp:158 msgid "Unsupported network profile version." msgstr "サポートされていないネットワークプロファイルのバージョンです。" @@ -754,7 +767,7 @@ msgstr "最大 3 個の IPv4 アドレスをスペースで区切って入力し msgid "Up, carrier not reported" msgstr "稼働中、キャリア情報なし" -#: userland/apps/network-controller/window.cpp:846 +#: userland/apps/network-controller/window.cpp:843 msgid "Usable addresses" msgstr "使用可能なアドレス" @@ -762,26 +775,10 @@ msgstr "使用可能なアドレス" msgid "Usage and limitations" msgstr "使用方法と制限" -#: userland/apps/network-controller/window.cpp:892 +#: userland/apps/network-controller/window.cpp:889 msgid "Wait for the current operation or cancel it." msgstr "現在の操作を待つか、キャンセルしてください。" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" - -#: configs/nls/messages/network-controller.c:11 -msgid "\nOperation canceled. Check service state before retrying.\n" -msgstr "\n操作がキャンセルされました。再試行する前にサービスの状態を確認してください。\n" - -#: configs/nls/messages/network-controller.c:12 -msgid "\nOperation timed out. Check service state before retrying.\n" -msgstr "\n操作がタイムアウトしました。再試行する前にサービスの状態を確認してください。\n" - -#: userland/apps/network-controller/dialogs.cpp:50 -msgid "root account password" -msgstr "root アカウントのパスワード" - -#: userland/apps/network-controller/dialogs.cpp:49 -msgid "sudo: current user password" -msgstr "sudo: 現在のユーザーのパスワード" diff --git a/configs/nls/po/network-controller/network-controller.pot b/configs/nls/po/network-controller/network-controller.pot index 8122ff85..53059a4b 100644 --- a/configs/nls/po/network-controller/network-controller.pot +++ b/configs/nls/po/network-controller/network-controller.pot @@ -10,7 +10,7 @@ msgstr "" msgid "Adapter counters are not exported by this kernel. Address, gateway, DNS and connection diagnostics remain available." msgstr "" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" @@ -18,19 +18,15 @@ msgstr "" msgid "Address mode" msgstr "" -#: userland/apps/network-controller/dialogs.cpp:46 -msgid "Administrator permission is required to manage network settings." -msgstr "" - -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" -#: userland/apps/network-controller/window.cpp:756 +#: userland/apps/network-controller/window.cpp:753 msgid "Apply" msgstr "" -#: userland/apps/network-controller/window.cpp:767 +#: userland/apps/network-controller/window.cpp:764 msgid "Apply Ethernet configuration" msgstr "" @@ -38,22 +34,10 @@ msgstr "" msgid "Applying the network failed. Saved settings remain on disk. Check the output and restore or correct the configuration." msgstr "" -#: userland/apps/network-controller/dialogs.cpp:48 -msgid "Authenticate with" -msgstr "" - #: configs/nls/messages/network-controller.c:5 msgid "Authenticating" msgstr "" -#: userland/apps/network-controller/dialogs.cpp:115 -msgid "Authenticating…" -msgstr "" - -#: userland/apps/network-controller/dialogs.cpp:84 -msgid "Authentication failed. Check the password or choose another method." -msgstr "" - #: userland/apps/network-controller/window.cpp:171 msgid "Auto refresh" msgstr "" @@ -62,7 +46,7 @@ msgstr "" msgid "Automatic (DHCP)" msgstr "" -#: userland/apps/network-controller/window.cpp:845 +#: userland/apps/network-controller/window.cpp:842 msgid "Broadcast" msgstr "" @@ -70,7 +54,7 @@ msgstr "" msgid "Calculate" msgstr "" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" @@ -78,11 +62,11 @@ msgstr "" msgid "Cancel operation" msgstr "" -#: userland/apps/network-controller/window.cpp:820 +#: userland/apps/network-controller/window.cpp:817 msgid "Cancel the running operation and close? Configuration changes already saved remain on disk." msgstr "" -#: userland/apps/network-controller/window.cpp:888 +#: userland/apps/network-controller/window.cpp:885 msgid "Cancellation requested; waiting for the running command." msgstr "" @@ -98,7 +82,7 @@ msgstr "" msgid "Cannot create network configuration temporary file" msgstr "" -#: userland/apps/network-controller/window.cpp:808 +#: userland/apps/network-controller/window.cpp:805 msgid "Cannot export the diagnostic output." msgstr "" @@ -126,14 +110,6 @@ msgstr "" msgid "Cannot send the network operation." msgstr "" -#: userland/apps/network-controller/dialogs.cpp:101 -msgid "Cannot start the authentication program." -msgstr "" - -#: userland/apps/network-controller/dialogs.cpp:29 -msgid "Cannot start the network worker." -msgstr "" - #: configs/nls/messages/network-controller.c:21 msgid "Cannot synchronize network configuration directory" msgstr "" @@ -146,7 +122,7 @@ msgstr "" msgid "Clear output" msgstr "" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "" @@ -178,15 +154,19 @@ msgstr "" msgid "Copy output" msgstr "" +#: userland/apps/network-controller/dialogs.cpp:15 +msgid "Could not authorize network management." +msgstr "" + #: userland/apps/fltk_png_app.h:46 msgid "Could not decode image" msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" @@ -254,15 +234,15 @@ msgstr "" msgid "Discard unsaved changes and select another adapter?" msgstr "" -#: userland/apps/network-controller/window.cpp:910 +#: userland/apps/network-controller/window.cpp:907 msgid "Discard unsaved edits and reload the network profile?" msgstr "" -#: userland/apps/network-controller/window.cpp:816 +#: userland/apps/network-controller/window.cpp:813 msgid "Discard unsaved network settings and close?" msgstr "" -#: userland/apps/network-controller/model.cpp:219 +#: userland/apps/network-controller/model.cpp:210 msgid "Duplicate network profile field." msgstr "" @@ -278,11 +258,11 @@ msgstr "" msgid "Enter a usable static IPv4 address and prefix." msgstr "" -#: userland/apps/network-controller/window.cpp:946 +#: userland/apps/network-controller/window.cpp:943 msgid "Enter a valid host, IPv4 DNS server and TCP port (1–65535)." msgstr "" -#: userland/apps/network-controller/window.cpp:835 +#: userland/apps/network-controller/window.cpp:832 msgid "Enter an IPv4 address and a prefix from 0 to 32." msgstr "" @@ -290,11 +270,7 @@ msgstr "" msgid "Enter one to three IPv4 DNS servers." msgstr "" -#: userland/apps/network-controller/dialogs.cpp:94 -msgid "Enter your password to continue authentication." -msgstr "" - -#: userland/apps/network-controller/window.cpp:788 +#: userland/apps/network-controller/window.cpp:785 msgid "Export network diagnostics" msgstr "" @@ -306,7 +282,7 @@ msgstr "" msgid "Export output…" msgstr "" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" @@ -314,11 +290,11 @@ msgstr "" msgid "File" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" @@ -338,7 +314,7 @@ msgstr "" msgid "Host or IPv4" msgstr "" -#: userland/apps/network-controller/window.cpp:846 +#: userland/apps/network-controller/window.cpp:843 msgid "Host range" msgstr "" @@ -350,7 +326,7 @@ msgstr "" msgid "IPv4 subnet calculator" msgstr "" -#: userland/apps/network-controller/model.cpp:226 +#: userland/apps/network-controller/model.cpp:216 msgid "Incomplete network profile." msgstr "" @@ -358,11 +334,11 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/network-controller/model.cpp:194 +#: userland/apps/network-controller/model.cpp:190 msgid "Invalid DNS policy." msgstr "" -#: userland/apps/network-controller/model.cpp:198 +#: userland/apps/network-controller/model.cpp:200 msgid "Invalid DNS server." msgstr "" @@ -370,15 +346,15 @@ msgstr "" msgid "Invalid Ethernet interface" msgstr "" -#: userland/apps/network-controller/model.cpp:173 +#: userland/apps/network-controller/model.cpp:172 msgid "Invalid IPv4 address." msgstr "" -#: userland/apps/network-controller/model.cpp:181 +#: userland/apps/network-controller/model.cpp:180 msgid "Invalid IPv4 gateway." msgstr "" -#: userland/apps/network-controller/model.cpp:177 +#: userland/apps/network-controller/model.cpp:176 msgid "Invalid IPv4 prefix." msgstr "" @@ -386,20 +362,16 @@ msgstr "" msgid "Invalid network profile." msgstr "" -#: userland/apps/network-controller/model.cpp:271 +#: userland/apps/network-controller/model.cpp:258 msgid "Invalid network request." msgstr "" -#: userland/apps/network-controller/model.cpp:314 +#: userland/apps/network-controller/model.cpp:301 msgid "Invalid or unsupported network request." msgstr "" -#: userland/apps/network-controller/dialogs.cpp:106 -msgid "Invalid password input." -msgstr "" - #: userland/apps/network-controller/window.cpp:191 -msgid "Live interface data. Configuration is managed by OpenRC; diagnostics report actual results." +msgid "Live interface data. Configuration is managed by systemd-networkd; diagnostics report actual results." msgstr "" #: userland/apps/network-controller/window.cpp:182 @@ -414,7 +386,7 @@ msgstr "" msgid "Malformed interface response.\n" msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" @@ -430,7 +402,7 @@ msgstr "" msgid "Network Controller diagnostics\n\nAdapters (live ioctl and counters):\n" msgstr "" -#: userland/apps/network-controller/window.cpp:866 +#: userland/apps/network-controller/window.cpp:863 msgid "Network Controller\nIPv4 Ethernet configuration and network diagnostics for ReliefOS.\nC++ / FLTK" msgstr "" @@ -438,10 +410,6 @@ msgstr "" msgid "Network adapters" msgstr "" -#: userland/apps/network-controller/dialogs.cpp:42 -msgid "Network authentication" -msgstr "" - #: configs/nls/messages/network-controller.c:28 msgid "Network configuration is locked or unsafe" msgstr "" @@ -450,7 +418,7 @@ msgstr "" msgid "Network configuration saved. Apply it to update the running network.\n" msgstr "" -#: userland/apps/network-controller/window.cpp:970 +#: userland/apps/network-controller/window.cpp:967 msgid "Network information" msgstr "" @@ -462,11 +430,11 @@ msgstr "" msgid "Network worker disconnected. Reopen the application to authenticate." msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" @@ -478,7 +446,7 @@ msgstr "" msgid "Not available.\n" msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" @@ -498,7 +466,7 @@ msgstr "" msgid "Output" msgstr "" -#: userland/apps/network-controller/window.cpp:810 +#: userland/apps/network-controller/window.cpp:807 msgid "Output exported." msgstr "" @@ -510,15 +478,11 @@ msgstr "" msgid "Packets / errors" msgstr "" -#: userland/apps/network-controller/dialogs.cpp:52 -msgid "Password" -msgstr "" - #: userland/apps/network-controller/window.cpp:233 msgid "Ping" msgstr "" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" @@ -530,7 +494,7 @@ msgstr "" msgid "Prefix length (0–32)" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" @@ -570,11 +534,11 @@ msgstr "" msgid "Renew DHCP" msgstr "" -#: userland/apps/network-controller/window.cpp:793 +#: userland/apps/network-controller/window.cpp:790 msgid "Replace" msgstr "" -#: userland/apps/network-controller/window.cpp:794 +#: userland/apps/network-controller/window.cpp:791 msgid "Replace the existing file?" msgstr "" @@ -582,7 +546,7 @@ msgstr "" msgid "Requested network information is absent or cannot be read.\n" msgstr "" -#: userland/apps/network-controller/window.cpp:773 +#: userland/apps/network-controller/window.cpp:770 msgid "Restore and apply" msgstr "" @@ -594,19 +558,15 @@ msgstr "" msgid "Restore previous…" msgstr "" -#: userland/apps/network-controller/window.cpp:774 +#: userland/apps/network-controller/window.cpp:771 msgid "Restore the previous profile and apply it? The current network connection may be interrupted." msgstr "" -#: userland/apps/network-controller/dialogs.cpp:83 -msgid "Retry" -msgstr "" - #: userland/apps/network-controller/window.cpp:153 msgid "Routing table" msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" @@ -614,11 +574,11 @@ msgstr "" msgid "Save and apply" msgstr "" -#: userland/apps/network-controller/window.cpp:749 +#: userland/apps/network-controller/window.cpp:746 msgid "Save and apply this Ethernet configuration?" msgstr "" -#: userland/apps/network-controller/window.cpp:765 +#: userland/apps/network-controller/window.cpp:762 msgid "Save network configuration" msgstr "" @@ -626,7 +586,7 @@ msgstr "" msgid "Save only" msgstr "" -#: userland/apps/network-controller/window.cpp:695 +#: userland/apps/network-controller/window.cpp:692 msgid "Saving keeps a backup and detects external changes. Applying may interrupt this adapter. Static mode requires explicit DNS." msgstr "" @@ -634,8 +594,8 @@ msgstr "" msgid "Select an Ethernet adapter to edit its configuration." msgstr "" -#: userland/apps/network-controller/window.cpp:872 -msgid "Select an adapter to inspect and configure its live state. Configure Ethernet with DHCP, static IPv4 or disabled mode. Save and apply uses the existing OpenRC network service.\n\nStatic mode requires custom or Cloudflare DNS. Use spaces between custom DNS addresses. Saving detects external changes and keeps the previous configuration.\n\nDiagnostics use real network operations. TCP success confirms a connection, not TLS or application health. Wi-Fi, IPv6, VPN and changing the kernel's fixed MTU are not supported." +#: userland/apps/network-controller/window.cpp:869 +msgid "Select an adapter to inspect and configure its live state. Configure Ethernet with DHCP, static IPv4 or disabled mode. Save and apply uses systemd-networkd.\n\nStatic mode requires custom or Cloudflare DNS. Use spaces between custom DNS addresses. Saving detects external changes and keeps the previous configuration.\n\nDiagnostics use real network operations. TCP success confirms a connection, not TLS or application health. Manual IPv6, Wi-Fi, VPN and changing the kernel's fixed MTU are not supported." msgstr "" #: userland/apps/network-controller/window.cpp:183 @@ -650,11 +610,11 @@ msgstr "" msgid "Settings" msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" @@ -682,7 +642,7 @@ msgstr "" msgid "TCP port" msgstr "" -#: userland/apps/network-controller/window.cpp:953 +#: userland/apps/network-controller/window.cpp:950 msgid "TCP port test" msgstr "" @@ -690,7 +650,7 @@ msgstr "" msgid "Test TCP port" msgstr "" -#: userland/apps/network-controller/window.cpp:755 +#: userland/apps/network-controller/window.cpp:752 msgid "The current network connection may be interrupted." msgstr "" @@ -702,7 +662,7 @@ msgstr "" msgid "The selected Ethernet interface is no longer present.\n" msgstr "" -#: userland/apps/network-controller/model.cpp:333 +#: userland/apps/network-controller/model.cpp:340 msgid "This operation does not execute a command." msgstr "" @@ -714,14 +674,10 @@ msgstr "" msgid "Tools" msgstr "" -#: userland/apps/network-controller/model.cpp:217 +#: userland/apps/network-controller/model.cpp:208 msgid "Unknown network profile field." msgstr "" -#: userland/apps/network-controller/dialogs.cpp:58 -msgid "Unlock" -msgstr "" - #: configs/nls/messages/network-controller.c:34 msgid "Unsafe configuration directory" msgstr "" @@ -734,7 +690,7 @@ msgstr "" msgid "Unsaved configuration changes" msgstr "" -#: userland/apps/network-controller/model.cpp:159 +#: userland/apps/network-controller/model.cpp:158 msgid "Unsupported network profile version." msgstr "" @@ -746,7 +702,7 @@ msgstr "" msgid "Up, carrier not reported" msgstr "" -#: userland/apps/network-controller/window.cpp:846 +#: userland/apps/network-controller/window.cpp:843 msgid "Usable addresses" msgstr "" @@ -754,11 +710,11 @@ msgstr "" msgid "Usage and limitations" msgstr "" -#: userland/apps/network-controller/window.cpp:892 +#: userland/apps/network-controller/window.cpp:889 msgid "Wait for the current operation or cancel it." msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" @@ -769,11 +725,3 @@ msgstr "" #: configs/nls/messages/network-controller.c:12 msgid "\nOperation timed out. Check service state before retrying.\n" msgstr "" - -#: userland/apps/network-controller/dialogs.cpp:50 -msgid "root account password" -msgstr "" - -#: userland/apps/network-controller/dialogs.cpp:49 -msgid "sudo: current user password" -msgstr "" diff --git a/configs/nls/po/network-controller/zh_CN.po b/configs/nls/po/network-controller/zh_CN.po index 666c536b..79a12d7b 100644 --- a/configs/nls/po/network-controller/zh_CN.po +++ b/configs/nls/po/network-controller/zh_CN.po @@ -1,232 +1,288 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" "Language: zh_CN\n" +"Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" + +#: configs/nls/messages/network-controller.c:11 +msgid "" +"\n" +"Operation canceled. Check service state before retrying.\n" +msgstr "" +"\n" +"操作已取消。重试前请检查服务状态。\n" + +#: configs/nls/messages/network-controller.c:12 +msgid "" +"\n" +"Operation timed out. Check service state before retrying.\n" +msgstr "" +"\n" +"操作超时。重试前请检查服务状态。\n" -#: userland/apps/network-controller/window.cpp:86 +#: userland/apps/network-controller/window.cpp:162 msgid "About" msgstr "关于" -#: userland/apps/network-controller/window.cpp:550 -msgid "Adapter counters are not exported by this kernel. Address, gateway, DNS and connection diagnostics remain available." +#: userland/apps/network-controller/window.cpp:635 +msgid "" +"Adapter counters are not exported by this kernel. Address, gateway, DNS and connection " +"diagnostics remain available." msgstr "当前内核尚未导出网卡流量计数。地址、网关、DNS 与连接诊断仍可正常使用。" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/network-controller/window.cpp:120 +#: userland/apps/network-controller/window.cpp:196 msgid "Address mode" msgstr "地址模式" -#: userland/apps/network-controller/dialogs.cpp:46 -msgid "Administrator permission is required to manage network settings." -msgstr "管理网络设置需要管理员权限。" - -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" -#: userland/apps/network-controller/window.cpp:671 +#: userland/apps/network-controller/window.cpp:753 msgid "Apply" msgstr "应用" -#: userland/apps/network-controller/window.cpp:682 +#: userland/apps/network-controller/window.cpp:764 msgid "Apply Ethernet configuration" msgstr "应用以太网配置" -#: userland/apps/network-controller/window.cpp:406 -msgid "Applying the network failed. Saved settings remain on disk. Check the output and restore or correct the configuration." +#: userland/apps/network-controller/window.cpp:489 +msgid "" +"Applying the network failed. Saved settings remain on disk. Check the output and restore or " +"correct the configuration." msgstr "应用网络配置失败。设置已保存在磁盘上,请查看输出并恢复或修正配置。" -#: userland/apps/network-controller/dialogs.cpp:48 -msgid "Authenticate with" -msgstr "认证方式" - #: configs/nls/messages/network-controller.c:5 msgid "Authenticating" msgstr "正在验证身份" -#: userland/apps/network-controller/dialogs.cpp:115 -msgid "Authenticating…" -msgstr "正在认证…" - -#: userland/apps/network-controller/dialogs.cpp:84 -msgid "Authentication failed. Check the password or choose another method." -msgstr "认证失败,请检查密码或选择其他认证方式。" - -#: userland/apps/network-controller/window.cpp:95 +#: userland/apps/network-controller/window.cpp:171 msgid "Auto refresh" msgstr "自动刷新" -#: userland/apps/network-controller/window.cpp:121 +#: userland/apps/network-controller/window.cpp:197 msgid "Automatic (DHCP)" msgstr "自动获取(DHCP)" -#: userland/apps/network-controller/window.cpp:760 +#: userland/apps/network-controller/window.cpp:842 msgid "Broadcast" msgstr "广播地址" -#: userland/apps/network-controller/window.cpp:168 +#: userland/apps/network-controller/window.cpp:244 msgid "Calculate" msgstr "计算" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" -#: userland/apps/network-controller/window.cpp:94 +#: userland/apps/network-controller/window.cpp:170 msgid "Cancel operation" msgstr "取消操作" -#: userland/apps/network-controller/window.cpp:735 +#: userland/apps/network-controller/window.cpp:817 msgid "Cancel the running operation and close? Configuration changes already saved remain on disk." msgstr "取消正在运行的操作并关闭?已经保存的配置会保留在磁盘上。" -#: userland/apps/network-controller/window.cpp:803 +#: userland/apps/network-controller/window.cpp:885 msgid "Cancellation requested; waiting for the running command." msgstr "已请求取消,正在等待命令结束。" -#: userland/apps/network-controller/window.cpp:723 +#: configs/nls/messages/network-controller.c:13 +msgid "Cannot create command output pipe.\n" +msgstr "无法创建命令输出管道。\n" + +#: configs/nls/messages/network-controller.c:14 +msgid "Cannot create network configuration directory" +msgstr "无法创建网络配置目录" + +#: configs/nls/messages/network-controller.c:15 +msgid "Cannot create network configuration temporary file" +msgstr "无法创建网络配置临时文件" + +#: userland/apps/network-controller/window.cpp:805 msgid "Cannot export the diagnostic output." msgstr "无法导出诊断输出。" -#: userland/apps/network-controller/window.cpp:294 +#: configs/nls/messages/network-controller.c:16 +msgid "Cannot open network configuration directory" +msgstr "无法打开网络配置目录" + +#: configs/nls/messages/network-controller.c:17 +msgid "Cannot query network interfaces.\n" +msgstr "无法查询网络接口。\n" + +#: configs/nls/messages/network-controller.c:18 +msgid "Cannot read network configuration" +msgstr "无法读取网络配置" + +#: configs/nls/messages/network-controller.c:19 +msgid "Cannot restore absent network profile" +msgstr "无法恢复不存在的网络配置" + +#: configs/nls/messages/network-controller.c:20 +msgid "Cannot save network configuration" +msgstr "无法保存网络配置" + +#: userland/apps/network-controller/window.cpp:370 msgid "Cannot send the network operation." msgstr "无法发送网络操作。" -#: userland/apps/network-controller/dialogs.cpp:101 -msgid "Cannot start the authentication program." -msgstr "无法启动认证程序。" +#: configs/nls/messages/network-controller.c:21 +msgid "Cannot synchronize network configuration directory" +msgstr "无法同步网络配置目录" -#: userland/apps/network-controller/dialogs.cpp:29 -msgid "Cannot start the network worker." -msgstr "无法启动网络工作进程。" +#: configs/nls/messages/network-controller.c:22 +msgid "Cannot synchronize restored network profile" +msgstr "无法同步已恢复的网络配置" -#: userland/apps/network-controller/window.cpp:182 +#: userland/apps/network-controller/window.cpp:258 msgid "Clear output" msgstr "清空输出" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "关闭" -#: userland/apps/network-controller/window.cpp:130 +#: userland/apps/network-controller/window.cpp:206 msgid "Cloudflare (1.1.1.1)" msgstr "Cloudflare(1.1.1.1)" -#: userland/apps/network-controller/window.cpp:394 +#: userland/apps/network-controller/window.cpp:477 msgid "Completed" msgstr "已完成" -#: userland/apps/network-controller/window.cpp:119 +#: userland/apps/network-controller/window.cpp:195 msgid "Configuration" msgstr "配置" -#: userland/apps/network-controller/window.cpp:516 +#: configs/nls/messages/network-controller.c:23 +msgid "Configuration changed outside this window. Reload it before saving." +msgstr "配置已在此窗口外更改,请重新加载后再保存。" + +#: configs/nls/messages/network-controller.c:24 +msgid "Configuration replaced but directory synchronization failed" +msgstr "配置已替换,但目录同步失败" + +#: userland/apps/network-controller/window.cpp:601 msgid "Connected" msgstr "已连接" -#: userland/apps/network-controller/window.cpp:65 +#: userland/apps/network-controller/window.cpp:141 msgid "Copy output" msgstr "复制输出" +#: userland/apps/network-controller/dialogs.cpp:15 +msgid "Could not authorize network management." +msgstr "无法取得网络管理授权。" + #: userland/apps/fltk_png_app.h:46 msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" -#: userland/apps/network-controller/window.cpp:129 +#: userland/apps/network-controller/window.cpp:205 msgid "Custom servers" msgstr "自定义服务器" -#: userland/apps/network-controller/window.cpp:80 +#: userland/apps/network-controller/window.cpp:156 msgid "DHCP lease" msgstr "DHCP 租约" -#: userland/apps/network-controller/window.cpp:82 +#: userland/apps/network-controller/window.cpp:158 msgid "DHCP log" msgstr "DHCP 日志" -#: userland/apps/network-controller/window.cpp:158 +#: configs/nls/messages/network-controller.c:25 +msgid "DHCP renewal requires DHCP mode.\n" +msgstr "续租 DHCP 需要启用 DHCP 模式。\n" + +#: userland/apps/network-controller/window.cpp:234 msgid "DNS lookup" msgstr "DNS 查询" -#: userland/apps/network-controller/window.cpp:127 +#: userland/apps/network-controller/window.cpp:203 msgid "DNS policy" msgstr "DNS 策略" -#: userland/apps/network-controller/window.cpp:81 +#: userland/apps/network-controller/window.cpp:157 msgid "DNS resolver" msgstr "DNS 解析器" -#: userland/apps/network-controller/window.cpp:152 +#: userland/apps/network-controller/window.cpp:228 msgid "DNS server (optional)" msgstr "DNS 服务器(可选)" -#: userland/apps/network-controller/window.cpp:107 +#: userland/apps/network-controller/window.cpp:183 msgid "DNS servers" msgstr "DNS 服务器" -#: userland/apps/network-controller/window.cpp:106 +#: userland/apps/network-controller/window.cpp:182 msgid "Default gateway" msgstr "默认网关" -#: userland/apps/network-controller/window.cpp:64 +#: userland/apps/network-controller/window.cpp:140 msgid "Diagnostic report" msgstr "诊断报告" -#: userland/apps/network-controller/window.cpp:148 +#: userland/apps/network-controller/window.cpp:224 msgid "Diagnostics" msgstr "诊断工具" -#: userland/apps/network-controller/window.cpp:73 +#: userland/apps/network-controller/window.cpp:149 msgid "Disable Ethernet" msgstr "禁用以太网" -#: userland/apps/network-controller/window.cpp:123 +#: userland/apps/network-controller/window.cpp:199 msgid "Disabled" msgstr "已禁用" -#: userland/apps/network-controller/window.cpp:458 +#: userland/apps/network-controller/window.cpp:543 msgid "Discard" msgstr "放弃" -#: userland/apps/network-controller/window.cpp:459 +#: userland/apps/network-controller/window.cpp:544 msgid "Discard unsaved changes and select another adapter?" -msgstr "" +msgstr "放弃未保存的更改并选择其他网卡?" -#: userland/apps/network-controller/window.cpp:825 +#: userland/apps/network-controller/window.cpp:907 msgid "Discard unsaved edits and reload the network profile?" msgstr "放弃未保存的编辑并重新读取网络配置?" -#: userland/apps/network-controller/window.cpp:731 +#: userland/apps/network-controller/window.cpp:813 msgid "Discard unsaved network settings and close?" msgstr "放弃未保存的网络设置并关闭?" -#: userland/apps/network-controller/model.cpp:219 +#: userland/apps/network-controller/model.cpp:210 msgid "Duplicate network profile field." -msgstr "" +msgstr "网络配置字段重复。" -#: userland/apps/network-controller/window.cpp:72 +#: userland/apps/network-controller/window.cpp:148 msgid "Enable Ethernet" msgstr "启用以太网" -#: userland/apps/network-controller/window.cpp:336 +#: userland/apps/network-controller/window.cpp:413 msgid "Enabled" msgstr "已启用" @@ -234,11 +290,11 @@ msgstr "已启用" msgid "Enter a usable static IPv4 address and prefix." msgstr "请输入可用的静态 IPv4 地址和前缀长度。" -#: userland/apps/network-controller/window.cpp:861 +#: userland/apps/network-controller/window.cpp:943 msgid "Enter a valid host, IPv4 DNS server and TCP port (1–65535)." msgstr "请输入有效的主机、IPv4 DNS 服务器和 TCP 端口(1–65535)。" -#: userland/apps/network-controller/window.cpp:750 +#: userland/apps/network-controller/window.cpp:832 msgid "Enter an IPv4 address and a prefix from 0 to 32." msgstr "请输入 IPv4 地址及 0 至 32 的前缀长度。" @@ -246,11 +302,7 @@ msgstr "请输入 IPv4 地址及 0 至 32 的前缀长度。" msgid "Enter one to three IPv4 DNS servers." msgstr "请输入一至三个 IPv4 DNS 服务器地址。" -#: userland/apps/network-controller/dialogs.cpp:94 -msgid "Enter your password to continue authentication." -msgstr "请输入密码以继续认证。" - -#: userland/apps/network-controller/window.cpp:703 +#: userland/apps/network-controller/window.cpp:785 msgid "Export network diagnostics" msgstr "导出网络诊断" @@ -258,79 +310,83 @@ msgstr "导出网络诊断" msgid "Export output" msgstr "导出输出" -#: userland/apps/network-controller/window.cpp:66 +#: userland/apps/network-controller/window.cpp:142 msgid "Export output…" msgstr "导出输出…" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" -#: userland/apps/network-controller/window.cpp:63 +#: userland/apps/network-controller/window.cpp:139 msgid "File" msgstr "文件" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" -#: userland/apps/network-controller/window.cpp:128 +#: userland/apps/network-controller/window.cpp:204 msgid "From DHCP" msgstr "通过 DHCP 获取" -#: userland/apps/network-controller/window.cpp:126 +#: userland/apps/network-controller/window.cpp:202 msgid "Gateway (optional)" msgstr "网关(可选)" -#: userland/apps/network-controller/window.cpp:84 +#: userland/apps/network-controller/window.cpp:160 msgid "Help" msgstr "帮助" -#: userland/apps/network-controller/window.cpp:149 +#: userland/apps/network-controller/window.cpp:225 msgid "Host or IPv4" msgstr "主机或 IPv4 地址" -#: userland/apps/network-controller/window.cpp:761 +#: userland/apps/network-controller/window.cpp:843 msgid "Host range" msgstr "主机范围" -#: userland/apps/network-controller/window.cpp:105 +#: userland/apps/network-controller/window.cpp:181 msgid "IPv4 address" msgstr "IPv4 地址" -#: userland/apps/network-controller/window.cpp:160 +#: userland/apps/network-controller/window.cpp:236 msgid "IPv4 subnet calculator" msgstr "IPv4 子网计算器" -#: userland/apps/network-controller/model.cpp:226 +#: userland/apps/network-controller/model.cpp:216 msgid "Incomplete network profile." -msgstr "" +msgstr "网络配置不完整。" #: userland/apps/fltk_files.h:23 msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/network-controller/model.cpp:194 +#: userland/apps/network-controller/model.cpp:190 msgid "Invalid DNS policy." -msgstr "" +msgstr "DNS 策略无效。" -#: userland/apps/network-controller/model.cpp:198 +#: userland/apps/network-controller/model.cpp:200 msgid "Invalid DNS server." -msgstr "" +msgstr "DNS 服务器无效。" -#: userland/apps/network-controller/model.cpp:173 +#: configs/nls/messages/network-controller.c:26 +msgid "Invalid Ethernet interface" +msgstr "以太网接口无效" + +#: userland/apps/network-controller/model.cpp:172 msgid "Invalid IPv4 address." msgstr "IPv4 地址无效。" -#: userland/apps/network-controller/model.cpp:181 +#: userland/apps/network-controller/model.cpp:180 msgid "Invalid IPv4 gateway." msgstr "IPv4 网关无效。" -#: userland/apps/network-controller/model.cpp:177 +#: userland/apps/network-controller/model.cpp:176 msgid "Invalid IPv4 prefix." msgstr "IPv4 前缀长度无效。" @@ -338,47 +394,45 @@ msgstr "IPv4 前缀长度无效。" msgid "Invalid network profile." msgstr "网络配置无效。" -#: userland/apps/network-controller/model.cpp:271 +#: userland/apps/network-controller/model.cpp:258 msgid "Invalid network request." -msgstr "" +msgstr "网络请求无效。" -#: userland/apps/network-controller/model.cpp:314 +#: userland/apps/network-controller/model.cpp:301 msgid "Invalid or unsupported network request." -msgstr "" - -#: userland/apps/network-controller/dialogs.cpp:106 -msgid "Invalid password input." -msgstr "密码输入无效。" +msgstr "网络请求无效或不受支持。" -#: userland/apps/network-controller/window.cpp:115 -msgid "Live interface data. Configuration is managed by OpenRC; diagnostics report actual results." -msgstr "显示网卡的实时数据。配置由 OpenRC 管理,诊断工具展示实际结果。" +#: userland/apps/network-controller/window.cpp:191 +msgid "" +"Live interface data. Configuration is managed by systemd-networkd; diagnostics report actual" +" results." +msgstr "显示实时接口数据。配置由 systemd-networkd 管理,诊断结果来自实际操作。" -#: userland/apps/network-controller/window.cpp:106 +#: userland/apps/network-controller/window.cpp:182 msgid "MAC address" msgstr "MAC 地址" -#: userland/apps/network-controller/window.cpp:106 +#: userland/apps/network-controller/window.cpp:182 msgid "MTU" msgstr "MTU" -#: userland/apps/network-controller/window.cpp:367 +#: userland/apps/network-controller/window.cpp:444 msgid "Malformed interface response.\n" msgstr "网卡响应格式错误。\n" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" -#: userland/apps/network-controller/window.cpp:68 +#: userland/apps/network-controller/window.cpp:144 msgid "Network" msgstr "网络" -#: userland/apps/network-controller/window.cpp:22 +#: userland/apps/network-controller/window.cpp:98 msgid "Network Controller" msgstr "网络控制器" -#: userland/apps/network-controller/window.cpp:781 +#: userland/apps/network-controller/window.cpp:863 msgid "" "Network Controller\n" "IPv4 Ethernet configuration and network diagnostics for ReliefOS.\n" @@ -388,35 +442,57 @@ msgstr "" "ReliefOS IPv4 以太网配置与网络诊断工具。\n" "C++ / FLTK" -#: userland/apps/network-controller/window.cpp:97 +#: configs/nls/messages/network-controller.c:27 +msgid "" +"Network Controller diagnostics\n" +"\n" +"Adapters (live ioctl and counters):\n" +msgstr "" +"网络控制器诊断\n" +"\n" +"网卡(实时 ioctl 和计数器):\n" + +#: userland/apps/network-controller/window.cpp:173 msgid "Network adapters" msgstr "网络接口" -#: userland/apps/network-controller/dialogs.cpp:42 -msgid "Network authentication" -msgstr "网络身份认证" +#: configs/nls/messages/network-controller.c:28 +msgid "Network configuration is locked or unsafe" +msgstr "网络配置已锁定或不安全" -#: userland/apps/network-controller/window.cpp:885 +#: configs/nls/messages/network-controller.c:29 +msgid "Network configuration saved. Apply it to update the running network.\n" +msgstr "网络配置已保存。应用配置以更新当前网络。\n" + +#: userland/apps/network-controller/window.cpp:967 msgid "Network information" msgstr "网络信息" -#: userland/apps/network-controller/window.cpp:426 +#: userland/apps/network-controller/window.cpp:509 msgid "Network response is too large." msgstr "网络响应过大。" -#: userland/apps/network-controller/window.cpp:437 +#: userland/apps/network-controller/window.cpp:522 msgid "Network worker disconnected. Reopen the application to authenticate." msgstr "网络工作进程已断开,请重新打开程序进行认证。" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" -#: userland/apps/fltk_support.h:43 +#: configs/nls/messages/network-controller.c:30 +msgid "No previous network configuration backup is available." +msgstr "没有可用的旧网络配置备份。" + +#: configs/nls/messages/network-controller.c:31 +msgid "Not available.\n" +msgstr "不可用。\n" + +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" @@ -424,184 +500,191 @@ msgstr "确定" msgid "Only custom DNS accepts server addresses." msgstr "只有自定义 DNS 模式需要填写服务器地址。" -#: userland/apps/network-controller/window.cpp:394 +#: userland/apps/network-controller/window.cpp:477 msgid "Operation failed" msgstr "操作失败" -#: userland/apps/network-controller/window.cpp:402 +#: userland/apps/network-controller/window.cpp:485 msgid "Operation failed. See Output for details." msgstr "操作失败,请查看“输出”中的详细信息。" -#: userland/apps/network-controller/window.cpp:175 +#: userland/apps/network-controller/window.cpp:251 msgid "Output" msgstr "输出" -#: userland/apps/network-controller/window.cpp:725 +#: userland/apps/network-controller/window.cpp:807 msgid "Output exported." msgstr "输出已导出。" -#: userland/apps/network-controller/window.cpp:103 +#: userland/apps/network-controller/window.cpp:179 msgid "Overview" msgstr "概览" -#: userland/apps/network-controller/window.cpp:108 +#: userland/apps/network-controller/window.cpp:184 msgid "Packets / errors" msgstr "数据包 / 错误" -#: userland/apps/network-controller/dialogs.cpp:52 -msgid "Password" -msgstr "密码" - -#: userland/apps/network-controller/window.cpp:157 +#: userland/apps/network-controller/window.cpp:233 msgid "Ping" msgstr "Ping" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/network-controller/window.cpp:165 +#: userland/apps/network-controller/window.cpp:241 msgid "Prefix length" msgstr "前缀长度" -#: userland/apps/network-controller/window.cpp:125 +#: userland/apps/network-controller/window.cpp:201 msgid "Prefix length (0–32)" msgstr "前缀长度(0–32)" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" -#: userland/apps/network-controller/window.cpp:412 +#: userland/apps/network-controller/window.cpp:495 msgid "Read configuration" msgstr "读取配置" -#: userland/apps/network-controller/window.cpp:409 +#: userland/apps/network-controller/window.cpp:492 msgid "Ready" msgstr "就绪" -#: userland/apps/network-controller/window.cpp:107 +#: userland/apps/network-controller/window.cpp:183 msgid "Receive rate" msgstr "接收速率" -#: userland/apps/network-controller/window.cpp:108 +#: userland/apps/network-controller/window.cpp:184 msgid "Received total" msgstr "累计接收" -#: userland/apps/network-controller/window.cpp:69 +#: userland/apps/network-controller/window.cpp:145 msgid "Refresh" msgstr "刷新" -#: userland/apps/network-controller/window.cpp:197 +#: userland/apps/network-controller/window.cpp:273 msgid "Refresh interfaces" msgstr "刷新网卡" -#: userland/apps/network-controller/window.cpp:145 +#: userland/apps/network-controller/window.cpp:221 msgid "Reload" msgstr "重新加载" -#: userland/apps/network-controller/window.cpp:74 +#: userland/apps/network-controller/window.cpp:150 msgid "Reload configuration" msgstr "重新读取配置" -#: userland/apps/network-controller/window.cpp:71 +#: userland/apps/network-controller/window.cpp:147 msgid "Renew DHCP" msgstr "更新 DHCP" -#: userland/apps/network-controller/window.cpp:708 +#: userland/apps/network-controller/window.cpp:790 msgid "Replace" msgstr "替换" -#: userland/apps/network-controller/window.cpp:709 +#: userland/apps/network-controller/window.cpp:791 msgid "Replace the existing file?" msgstr "替换现有文件?" -#: userland/apps/network-controller/window.cpp:688 +#: configs/nls/messages/network-controller.c:32 +msgid "Requested network information is absent or cannot be read.\n" +msgstr "请求的网络信息不存在或无法读取。\n" + +#: userland/apps/network-controller/window.cpp:770 msgid "Restore and apply" msgstr "恢复并应用" -#: userland/apps/network-controller/window.cpp:75 +#: userland/apps/network-controller/window.cpp:151 msgid "Restore previous configuration" msgstr "恢复上次配置" -#: userland/apps/network-controller/window.cpp:144 +#: userland/apps/network-controller/window.cpp:220 msgid "Restore previous…" msgstr "恢复上次配置…" -#: userland/apps/network-controller/window.cpp:689 +#: userland/apps/network-controller/window.cpp:771 msgid "Restore the previous profile and apply it? The current network connection may be interrupted." msgstr "恢复上次配置并应用?当前网络连接可能中断。" -#: userland/apps/network-controller/dialogs.cpp:83 -msgid "Retry" -msgstr "重试" - -#: userland/apps/network-controller/window.cpp:77 +#: userland/apps/network-controller/window.cpp:153 msgid "Routing table" msgstr "路由表" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/network-controller/window.cpp:70 +#: userland/apps/network-controller/window.cpp:146 msgid "Save and apply" msgstr "保存并应用" -#: userland/apps/network-controller/window.cpp:664 +#: userland/apps/network-controller/window.cpp:746 msgid "Save and apply this Ethernet configuration?" msgstr "保存并应用此以太网配置?" -#: userland/apps/network-controller/window.cpp:680 +#: userland/apps/network-controller/window.cpp:762 msgid "Save network configuration" msgstr "保存网络配置" -#: userland/apps/network-controller/window.cpp:143 +#: userland/apps/network-controller/window.cpp:219 msgid "Save only" msgstr "仅保存" -#: userland/apps/network-controller/window.cpp:610 -msgid "Saving keeps a backup and detects external changes. Applying may interrupt this adapter. Static mode requires explicit DNS." -msgstr "" +#: userland/apps/network-controller/window.cpp:692 +msgid "" +"Saving keeps a backup and detects external changes. Applying may interrupt this adapter. " +"Static mode requires explicit DNS." +msgstr "保存时会保留备份并检测外部更改。应用可能中断此网卡的连接。静态模式需要明确指定 DNS。" -#: userland/apps/network-controller/window.cpp:603 +#: userland/apps/network-controller/window.cpp:688 msgid "Select an Ethernet adapter to edit its configuration." -msgstr "" +msgstr "选择以太网卡以编辑其配置。" -#: userland/apps/network-controller/window.cpp:787 +#: userland/apps/network-controller/window.cpp:869 msgid "" -"Select an adapter to inspect and configure its live state. Configure Ethernet with DHCP, static IPv4 or disabled mode. Save and apply uses the existing OpenRC network service.\n" +"Select an adapter to inspect and configure its live state. Configure Ethernet with DHCP, " +"static IPv4 or disabled mode. Save and apply uses systemd-networkd.\n" "\n" -"Static mode requires custom or Cloudflare DNS. Use spaces between custom DNS addresses. Saving detects external changes and keeps the previous configuration.\n" +"Static mode requires custom or Cloudflare DNS. Use spaces between custom DNS addresses. " +"Saving detects external changes and keeps the previous configuration.\n" "\n" -"Diagnostics use real network operations. TCP success confirms a connection, not TLS or application health. Wi-Fi, IPv6, VPN and changing the kernel's fixed MTU are not supported." +"Diagnostics use real network operations. TCP success confirms a connection, not TLS or " +"application health. Manual IPv6, Wi-Fi, VPN and changing the kernel's fixed MTU are not " +"supported." msgstr "" +"选择网卡以查看实时状态并配置。以太网支持 DHCP、静态 IPv4 或禁用模式。保存并应用通过 systemd-networkd 执行。\n" +"\n" +"静态模式需要自定义或 Cloudflare DNS。多个自定义 DNS 地址以空格分隔。保存时检测外部更改并保留原配置。\n" +"\n" +"诊断执行真实网络操作。TCP 成功表示连接已建立,不能确认 TLS 或应用健康状态。暂不支持手动配置 IPv6、Wi-Fi、VPN 或修改内核固定 MTU。" -#: userland/apps/network-controller/window.cpp:107 +#: userland/apps/network-controller/window.cpp:183 msgid "Send rate" msgstr "发送速率" -#: userland/apps/network-controller/window.cpp:108 +#: userland/apps/network-controller/window.cpp:184 msgid "Sent total" msgstr "累计发送" -#: userland/apps/network-controller/window.cpp:606 +#: userland/apps/network-controller/window.cpp:691 msgid "Settings" msgstr "设置" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" -#: userland/apps/network-controller/window.cpp:105 +#: userland/apps/network-controller/window.cpp:181 msgid "State" msgstr "状态" -#: userland/apps/network-controller/window.cpp:122 +#: userland/apps/network-controller/window.cpp:198 msgid "Static IPv4" msgstr "静态 IPv4" @@ -609,27 +692,27 @@ msgstr "静态 IPv4" msgid "Static mode requires custom or Cloudflare DNS." msgstr "静态模式需要自定义或 Cloudflare DNS。" -#: userland/apps/network-controller/window.cpp:105 +#: userland/apps/network-controller/window.cpp:181 msgid "Subnet mask" msgstr "子网掩码" -#: userland/apps/network-controller/window.cpp:79 +#: userland/apps/network-controller/window.cpp:155 msgid "TCP connections" msgstr "TCP 连接" -#: userland/apps/network-controller/window.cpp:154 +#: userland/apps/network-controller/window.cpp:230 msgid "TCP port" msgstr "TCP 端口" -#: userland/apps/network-controller/window.cpp:868 +#: userland/apps/network-controller/window.cpp:950 msgid "TCP port test" msgstr "TCP 端口测试" -#: userland/apps/network-controller/window.cpp:159 +#: userland/apps/network-controller/window.cpp:235 msgid "Test TCP port" msgstr "测试 TCP 端口" -#: userland/apps/network-controller/window.cpp:670 +#: userland/apps/network-controller/window.cpp:752 msgid "The current network connection may be interrupted." msgstr "当前网络连接可能中断。" @@ -637,162 +720,62 @@ msgstr "当前网络连接可能中断。" msgid "The gateway must be a different usable address in the same subnet." msgstr "网关必须是同一子网内另一个可用地址。" -#: userland/apps/network-controller/model.cpp:333 +#: configs/nls/messages/network-controller.c:33 +msgid "The selected Ethernet interface is no longer present.\n" +msgstr "所选以太网接口已不存在。\n" + +#: userland/apps/network-controller/model.cpp:340 msgid "This operation does not execute a command." -msgstr "" +msgstr "此操作不会执行命令。" -#: userland/apps/network-controller/window.cpp:269 +#: userland/apps/network-controller/window.cpp:345 msgid "Too many queued operations." msgstr "排队操作过多。" -#: userland/apps/network-controller/window.cpp:76 +#: userland/apps/network-controller/window.cpp:152 msgid "Tools" msgstr "工具" -#: userland/apps/network-controller/model.cpp:217 +#: userland/apps/network-controller/model.cpp:208 msgid "Unknown network profile field." -msgstr "" +msgstr "未知的网络配置字段。" + +#: configs/nls/messages/network-controller.c:34 +msgid "Unsafe configuration directory" +msgstr "配置目录不安全" -#: userland/apps/network-controller/dialogs.cpp:58 -msgid "Unlock" -msgstr "解锁" +#: configs/nls/messages/network-controller.c:35 +msgid "Unsafe network configuration file" +msgstr "网络配置文件不安全" -#: userland/apps/network-controller/window.cpp:409 +#: userland/apps/network-controller/window.cpp:492 msgid "Unsaved configuration changes" msgstr "网络配置尚未保存" -#: userland/apps/network-controller/model.cpp:159 +#: userland/apps/network-controller/model.cpp:158 msgid "Unsupported network profile version." -msgstr "" +msgstr "不支持的网络配置版本。" -#: userland/apps/network-controller/window.cpp:132 +#: userland/apps/network-controller/window.cpp:208 msgid "Up to three IPv4 addresses separated by spaces." msgstr "最多输入三个 IPv4 地址,以空格分隔。" -#: userland/apps/network-controller/window.cpp:516 +#: userland/apps/network-controller/window.cpp:601 msgid "Up, carrier not reported" msgstr "已启用,未报告链路状态" -#: userland/apps/network-controller/window.cpp:761 +#: userland/apps/network-controller/window.cpp:843 msgid "Usable addresses" msgstr "可用地址数" -#: userland/apps/network-controller/window.cpp:85 +#: userland/apps/network-controller/window.cpp:161 msgid "Usage and limitations" msgstr "使用方法与限制" -#: userland/apps/network-controller/window.cpp:807 +#: userland/apps/network-controller/window.cpp:889 msgid "Wait for the current operation or cancel it." msgstr "请等待当前操作结束,或先取消该操作。" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" - -#: userland/apps/network-controller/dialogs.cpp:50 -msgid "root account password" -msgstr "root 账户密码" - -#: userland/apps/network-controller/dialogs.cpp:49 -msgid "sudo: current user password" -msgstr "sudo:当前用户密码" - -#: configs/nls/messages/network-controller.c:13 -msgid "Cannot create command output pipe.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:14 -msgid "Cannot create network configuration directory" -msgstr "" - -#: configs/nls/messages/network-controller.c:15 -msgid "Cannot create network configuration temporary file" -msgstr "" - -#: configs/nls/messages/network-controller.c:16 -msgid "Cannot open network configuration directory" -msgstr "" - -#: configs/nls/messages/network-controller.c:17 -msgid "Cannot query network interfaces.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:18 -msgid "Cannot read network configuration" -msgstr "" - -#: configs/nls/messages/network-controller.c:19 -msgid "Cannot restore absent network profile" -msgstr "" - -#: configs/nls/messages/network-controller.c:20 -msgid "Cannot save network configuration" -msgstr "" - -#: configs/nls/messages/network-controller.c:21 -msgid "Cannot synchronize network configuration directory" -msgstr "" - -#: configs/nls/messages/network-controller.c:22 -msgid "Cannot synchronize restored network profile" -msgstr "" - -#: configs/nls/messages/network-controller.c:23 -msgid "Configuration changed outside this window. Reload it before saving." -msgstr "" - -#: configs/nls/messages/network-controller.c:24 -msgid "Configuration replaced but directory synchronization failed" -msgstr "" - -#: configs/nls/messages/network-controller.c:25 -msgid "DHCP renewal requires DHCP mode.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:26 -msgid "Invalid Ethernet interface" -msgstr "" - -#: configs/nls/messages/network-controller.c:27 -msgid "Network Controller diagnostics\n\nAdapters (live ioctl and counters):\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:28 -msgid "Network configuration is locked or unsafe" -msgstr "" - -#: configs/nls/messages/network-controller.c:29 -msgid "Network configuration saved. Apply it to update the running network.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:30 -msgid "No previous network configuration backup is available." -msgstr "" - -#: configs/nls/messages/network-controller.c:31 -msgid "Not available.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:32 -msgid "Requested network information is absent or cannot be read.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:33 -msgid "The selected Ethernet interface is no longer present.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:34 -msgid "Unsafe configuration directory" -msgstr "" - -#: configs/nls/messages/network-controller.c:35 -msgid "Unsafe network configuration file" -msgstr "" - -#: configs/nls/messages/network-controller.c:11 -msgid "\nOperation canceled. Check service state before retrying.\n" -msgstr "" - -#: configs/nls/messages/network-controller.c:12 -msgid "\nOperation timed out. Check service state before retrying.\n" -msgstr "" diff --git a/configs/nls/po/openrc-controller/ja_JP.po b/configs/nls/po/openrc-controller/ja_JP.po deleted file mode 100644 index b9721697..00000000 --- a/configs/nls/po/openrc-controller/ja_JP.po +++ /dev/null @@ -1,867 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/openrc-controller/window.cpp:383 -msgid "%zu / %zu services · current: %s" -msgstr "%zu / %zu サービス · 現在: %s" - -#: userland/apps/openrc-controller/window.cpp:209 -msgid "About" -msgstr "バージョン情報" - -#: userland/apps/openrc-controller/window.cpp:185 -msgid "Add services to runlevel…" -msgstr "ランレベルにサービスを追加…" - -#: userland/apps/openrc-controller/window.cpp:696 -msgid "Add the selected services to this runlevel? This changes startup configuration." -msgstr "選択したサービスをこのランレベルに追加しますか? 起動設定が変更されます。" - -#: userland/apps/fltk_support.h:48 -msgid "Add to Favorites" -msgstr "お気に入りに追加" - -#: userland/apps/openrc-controller/dialogs.cpp:46 -msgid "Administrator permission is required to manage OpenRC services." -msgstr "OpenRC サービスの管理には管理者権限が必要です。" - -#: userland/apps/openrc-controller/window.cpp:633 -msgid "Administrator session ended. Close and reopen the application." -msgstr "管理者セッションが終了しました。アプリケーションを閉じて開き直してください。" - -#: configs/nls/messages/openrc-controller.c:5 -msgid "Advanced" -msgstr "詳細設定" - -#: userland/apps/openrc-controller/window.cpp:708 -msgid "Advanced service action" -msgstr "高度なサービス操作" - -#: userland/apps/openrc-controller/window.cpp:178 -msgid "Advanced service action…" -msgstr "高度なサービス操作…" - -#: userland/apps/openrc-controller/window.cpp:217 -msgid "Advanced…" -msgstr "詳細設定…" - -#: userland/apps/fltk_support.h:49 -msgid "All Files (*)" -msgstr "すべてのファイル (*)" - -#: userland/apps/openrc-controller/window.cpp:194 -msgid "All runlevel states" -msgstr "すべてのランレベルの状態" - -#: userland/apps/openrc-controller/window.cpp:542 -msgid "All services" -msgstr "すべてのサービス" - -#: userland/apps/openrc-controller/window.cpp:881 -msgid "An operation is running. Closing cancels it; check service state before retrying." -msgstr "操作を実行中です。閉じると操作はキャンセルされます。再試行する前にサービスの状態を確認してください。" - -#: userland/apps/openrc-controller/dialogs.cpp:48 -msgid "Authenticate with" -msgstr "認証方法" - -#: configs/nls/messages/openrc-controller.c:6 -msgid "Authenticating" -msgstr "認証中" - -#: userland/apps/openrc-controller/dialogs.cpp:115 -msgid "Authenticating…" -msgstr "認証中…" - -#: userland/apps/openrc-controller/dialogs.cpp:84 -msgid "Authentication failed. Check the password or choose another method." -msgstr "認証に失敗しました。パスワードを確認するか、別の方法を選択してください。" - -#: configs/nls/messages/openrc-controller.c:18 -msgid "Backup path is unsafe." -msgstr "バックアップのパスが安全ではありません。" - -#: userland/apps/openrc-controller/window.cpp:204 -msgid "Boot log" -msgstr "起動ログ" - -#: userland/apps/fltk_support.h:44 -msgid "Cancel" -msgstr "キャンセル" - -#: userland/apps/openrc-controller/window.cpp:217 -msgid "Cancel operation" -msgstr "操作をキャンセル" - -#: userland/apps/openrc-controller/window.cpp:900 -msgid "Canceling operation…" -msgstr "操作をキャンセルしています…" - -#: configs/nls/messages/openrc-controller.c:19 -msgid "Cannot change runlevel: it may exist, be active, referenced, nonempty, or unsafe." -msgstr "ランレベルを変更できません。存在する、有効である、参照されている、空でない、または安全でない可能性があります。" - -#: configs/nls/messages/openrc-controller.c:20 -msgid "Cannot create command output pipe.\n" -msgstr "コマンド出力用パイプを作成できません。\n" - -#: configs/nls/messages/openrc-controller.c:21 -msgid "Cannot create temporary configuration file." -msgstr "一時設定ファイルを作成できません。" - -#: userland/apps/openrc-controller/window.cpp:854 -msgid "Cannot create the output file." -msgstr "出力ファイルを作成できません。" - -#: configs/nls/messages/openrc-controller.c:22 -msgid "Cannot open configuration (symbolic links are not allowed)." -msgstr "設定を開けません (シンボリックリンクは使用できません)。" - -#: userland/apps/openrc-controller/window.cpp:535 -msgid "Cannot parse OpenRC status." -msgstr "OpenRC の状態を解析できません。" - -#: userland/apps/openrc-controller/window.cpp:527 -msgid "Cannot parse the OpenRC service catalog." -msgstr "OpenRC のサービス一覧を解析できません。" - -#: configs/nls/messages/openrc-controller.c:23 -msgid "Cannot read OpenRC services and runlevels.\n" -msgstr "OpenRC のサービスとランレベルを読み取れません。\n" - -#: configs/nls/messages/openrc-controller.c:24 -msgid "Cannot read service script.\n" -msgstr "サービススクリプトを読み取れません。\n" - -#: userland/apps/openrc-controller/window.cpp:481 -msgid "Cannot send request to the privileged worker." -msgstr "特権ワーカーに要求を送信できません。" - -#: userland/apps/openrc-controller/dialogs.cpp:29 -msgid "Cannot start the OpenRC worker." -msgstr "OpenRC ワーカーを起動できません。" - -#: userland/apps/openrc-controller/dialogs.cpp:101 -msgid "Cannot start the authentication program." -msgstr "認証プログラムを起動できません。" - -#: userland/apps/openrc-controller/window.cpp:812 -msgid "Changing runlevel may stop services and disconnect the desktop. Start only keeps existing services running." -msgstr "ランレベルを切り替えるとサービスが停止し、デスクトップが切断される場合があります。「開始のみ」では既存のサービスは実行されたままです。" - -#: userland/apps/openrc-controller/window.cpp:262 -msgid "Choose a service configuration or global rc.conf." -msgstr "サービス設定または全体の rc.conf を選択してください。" - -#: userland/apps/openrc-controller/window.cpp:281 -msgid "Clear" -msgstr "クリア" - -#: userland/apps/fltk_support.h:45 -msgid "Close" -msgstr "閉じる" - -#: userland/apps/openrc-controller/window.cpp:709 -msgid "Command" -msgstr "コマンド" - -#: userland/apps/openrc-controller/window.cpp:711 -msgid "Condition / mode" -msgstr "条件 / モード" - -#: userland/apps/openrc-controller/window.cpp:259 -msgid "Configuration" -msgstr "設定" - -#: configs/nls/messages/openrc-controller.c:25 -msgid "Configuration changed externally. Reload before saving." -msgstr "設定が外部で変更されました。保存する前に再読み込みしてください。" - -#: configs/nls/messages/openrc-controller.c:26 -msgid "Configuration changed while saving. Reload before saving." -msgstr "保存中に設定が変更されました。保存する前に再読み込みしてください。" - -#: configs/nls/messages/openrc-controller.c:27 -msgid "Configuration directory is missing or unsafe." -msgstr "設定ディレクトリが存在しないか、安全ではありません。" - -#: userland/apps/openrc-controller/window.cpp:835 -msgid "Configuration has unsaved changes." -msgstr "設定に未保存の変更があります。" - -#: configs/nls/messages/openrc-controller.c:28 -msgid "Configuration is too large or contains NUL bytes." -msgstr "設定が大きすぎるか、NUL バイトが含まれています。" - -#: configs/nls/messages/openrc-controller.c:29 -msgid "Configuration lock is unsafe or another editor is saving. Retry after it finishes." -msgstr "設定のロックが安全ではないか、別のエディターが保存中です。完了後に再試行してください。" - -#: configs/nls/messages/openrc-controller.c:30 -msgid "Configuration must be a safe, readable text file up to 256 KiB." -msgstr "設定は安全で読み取り可能な 256 KiB 以下のテキストファイルである必要があります。" - -#: configs/nls/messages/openrc-controller.c:31 -msgid "Configuration replaced, but directory synchronization failed. Check disk status." -msgstr "設定は置き換えられましたが、ディレクトリの同期に失敗しました。ディスクの状態を確認してください。" - -#: configs/nls/messages/openrc-controller.c:32 -msgid "Configuration saved. Previous contents: .openrc-controller.bak\n" -msgstr "設定を保存しました。以前の内容: .openrc-controller.bak\n" - -#: configs/nls/messages/openrc-controller.c:33 -msgid "Configuration write or atomic replacement failed." -msgstr "設定の書き込みまたはアトミックな置換に失敗しました。" - -#: userland/apps/openrc-controller/window.cpp:292 -msgid "Connecting to OpenRC…" -msgstr "OpenRC に接続しています…" - -#: userland/apps/openrc-controller/window.cpp:653 -msgid "Continue" -msgstr "続行" - -#: userland/apps/openrc-controller/window.cpp:870 -msgid "Could not completely write the output file." -msgstr "出力ファイルを完全に書き込めませんでした。" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "画像をデコードできません" - -#: userland/apps/openrc-controller/window.cpp:151 -msgid "Crashed" -msgstr "クラッシュ" - -#: userland/apps/openrc-controller/window.cpp:195 -msgid "Crashed services" -msgstr "クラッシュしたサービス" - -#: userland/apps/fltk_support.h:57 -msgid "Create a new directory" -msgstr "新しいフォルダーを作成" - -#: userland/apps/openrc-controller/window.cpp:187 -msgid "Create runlevel…" -msgstr "ランレベルを作成…" - -#: userland/apps/openrc-controller/window.cpp:692 -msgid "Create this runlevel before adding services." -msgstr "サービスを追加する前に、このランレベルを作成してください。" - -#: userland/apps/fltk_support.h:50 -msgid "Custom Filter" -msgstr "カスタムフィルター" - -#: userland/apps/openrc-controller/window.cpp:716 -msgid "Debug output" -msgstr "デバッグ出力" - -#: userland/apps/openrc-controller/window.cpp:188 -msgid "Delete empty runlevel…" -msgstr "空のランレベルを削除…" - -#: userland/apps/openrc-controller/window.cpp:822 -msgid "Delete this empty, inactive, unreferenced custom runlevel?" -msgstr "この空で非アクティブかつ参照されていないカスタムランレベルを削除しますか?" - -#: userland/apps/openrc-controller/window.cpp:252 -msgid "Dependencies" -msgstr "依存関係" - -#: userland/apps/openrc-controller/window.cpp:181 -msgid "Dependencies…" -msgstr "依存関係…" - -#: userland/apps/openrc-controller/window.cpp:965 -msgid "Dependency type: ineed, iuse, iwant, iafter, ibefore; reverse: needsme, usesme, wantsme, beforeme, afterme" -msgstr "依存関係の種類: ineed, iuse, iwant, iafter, ibefore; 逆方向: needsme, usesme, wantsme, beforeme, afterme" - -#: userland/apps/openrc-controller/window.cpp:242 -msgid "Description / commands" -msgstr "説明 / コマンド" - -#: userland/apps/openrc-controller/window.cpp:179 -msgid "Description and commands" -msgstr "説明とコマンド" - -#: userland/apps/openrc-controller/window.cpp:205 -msgid "Diagnostic report" -msgstr "診断レポート" - -#: configs/nls/messages/openrc-controller.c:7 -msgid "Disable" -msgstr "無効化" - -#: userland/apps/openrc-controller/window.cpp:217 -msgid "Disable…" -msgstr "無効化…" - -#: userland/apps/openrc-controller/window.cpp:834 -msgid "Discard changes" -msgstr "変更を破棄" - -#: userland/apps/openrc-controller/window.cpp:712 -msgid "Dry run" -msgstr "試行実行" - -#: userland/apps/openrc-controller/window.cpp:246 -msgid "Edit configuration" -msgstr "設定を編集" - -#: userland/apps/openrc-controller/window.cpp:200 -msgid "Edit global rc.conf" -msgstr "全体の rc.conf を編集" - -#: userland/apps/openrc-controller/window.cpp:182 -msgid "Edit service configuration" -msgstr "サービス設定を編集" - -#: configs/nls/messages/openrc-controller.c:8 -msgid "Enable" -msgstr "有効化" - -#: userland/apps/openrc-controller/window.cpp:216 -msgid "Enable…" -msgstr "有効化…" - -#: userland/apps/openrc-controller/dialogs.cpp:94 -msgid "Enter your password to continue authentication." -msgstr "認証を続けるにはパスワードを入力してください。" - -#: userland/apps/openrc-controller/window.cpp:170 -msgid "Exit" -msgstr "終了" - -#: userland/apps/openrc-controller/window.cpp:843 -msgid "Export output" -msgstr "出力をエクスポート" - -#: userland/apps/openrc-controller/window.cpp:169 -msgid "Export output…" -msgstr "出力をエクスポート…" - -#: userland/apps/openrc-controller/window.cpp:153 -msgid "Failed" -msgstr "失敗" - -#: userland/apps/openrc-controller/window.cpp:543 -msgid "Failed / crashed" -msgstr "失敗 / クラッシュ" - -#: userland/apps/fltk_support.h:52 -msgid "Favorites" -msgstr "お気に入り" - -#: userland/apps/openrc-controller/window.cpp:167 -msgid "File" -msgstr "ファイル" - -#: userland/apps/fltk_support.h:54 -msgid "File Systems" -msgstr "ファイルシステム" - -#: userland/apps/fltk_support.h:53 -msgid "File name:" -msgstr "ファイル名:" - -#: userland/apps/openrc-controller/window.cpp:206 -msgid "Help" -msgstr "ヘルプ" - -#: userland/apps/openrc-controller/window.cpp:715 -msgid "Ignore dependencies" -msgstr "依存関係を無視" - -#: userland/apps/openrc-controller/window.cpp:544 -msgid "In transition" -msgstr "移行中" - -#: userland/apps/openrc-controller/window.cpp:155 -msgid "Inactive" -msgstr "非アクティブ" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "入力が長すぎます" - -#: configs/nls/messages/openrc-controller.c:34 -msgid "Invalid configuration path." -msgstr "設定パスが無効です。" - -#: userland/apps/openrc-controller/window.cpp:576 -msgid "Invalid configuration response." -msgstr "設定の応答が無効です。" - -#: configs/nls/messages/openrc-controller.c:35 -msgid "Invalid or unsupported OpenRC request." -msgstr "OpenRC 要求が無効か、サポートされていません。" - -#: userland/apps/openrc-controller/dialogs.cpp:106 -msgid "Invalid password input." -msgstr "入力されたパスワードが無効です。" - -#: userland/apps/openrc-controller/window.cpp:684 -msgid "Invalid runlevel name." -msgstr "ランレベル名が無効です。" - -#: userland/apps/openrc-controller/window.cpp:744 -msgid "Invalid service command." -msgstr "サービスコマンドが無効です。" - -#: userland/apps/openrc-controller/window.cpp:448 -msgid "Invalid service, runlevel, or operation." -msgstr "サービス、ランレベル、または操作が無効です。" - -#: userland/apps/openrc-controller/window.cpp:986 -msgid "Load a configuration first." -msgstr "先に設定を読み込んでください。" - -#: configs/nls/messages/openrc-controller.c:36 -msgid "Log is absent or cannot be read. Enable OpenRC rc_logger or the system logger if needed.\n" -msgstr "ログが存在しないか、読み取れません。必要に応じて OpenRC の rc_logger またはシステムロガーを有効にしてください。\n" - -#: userland/apps/fltk_support.h:55 -msgid "Manage Favorites" -msgstr "お気に入りの管理" - -#: userland/apps/openrc-controller/window.cpp:196 -msgid "Manually started services" -msgstr "手動で開始したサービス" - -#: userland/apps/openrc-controller/window.cpp:652 -msgid "More selected services…" -msgstr "ほかにも選択されたサービスがあります…" - -#: configs/nls/messages/openrc-controller.c:37 -msgid "NUL bytes are not allowed in a request." -msgstr "要求に NUL バイトは使用できません。" - -#: userland/apps/fltk_support.h:56 -msgid "New Directory?" -msgstr "新しいフォルダーを作成しますか?" - -#: userland/apps/fltk_support.h:47 -msgid "No" -msgstr "いいえ" - -#: configs/nls/messages/openrc-controller.c:38 -msgid "No configuration backup is available." -msgstr "利用可能な設定のバックアップがありません。" - -#: userland/apps/openrc-controller/window.cpp:500 -msgid "No crashed services were reported." -msgstr "クラッシュしたサービスは報告されていません。" - -#: userland/apps/openrc-controller/window.cpp:712 -msgid "Normal" -msgstr "通常" - -#: userland/apps/openrc-controller/window.cpp:456 -msgid "Not enough memory." -msgstr "メモリが不足しています。" - -#: userland/apps/fltk_support.h:43 -msgid "OK" -msgstr "OK" - -#: userland/apps/openrc-controller/window.cpp:715 -msgid "Only if crashed" -msgstr "クラッシュ時のみ" - -#: userland/apps/openrc-controller/window.cpp:714 -msgid "Only if inactive" -msgstr "非アクティブ時のみ" - -#: userland/apps/openrc-controller/window.cpp:714 -msgid "Only if not started" -msgstr "開始されていない場合のみ" - -#: userland/apps/openrc-controller/window.cpp:713 -msgid "Only if started" -msgstr "開始済みの場合のみ" - -#: userland/apps/openrc-controller/window.cpp:713 -msgid "Only if stopped" -msgstr "停止済みの場合のみ" - -#: configs/nls/messages/openrc-controller.c:39 -msgid "OpenRC Controller diagnostics\n\nService membership:\n" -msgstr "OpenRC コントローラーの診断\n\nサービスの所属:\n" - -#: userland/apps/openrc-controller/window.cpp:928 -msgid "OpenRC Controller\nC++ / FLTK service and runlevel manager for ReliefOS.\nUses the system OpenRC commands and native FLTK gtk+ controls." -msgstr "OpenRC コントローラー\nReliefOS 向けの C++ / FLTK サービス・ランレベルマネージャー。\nシステムの OpenRC コマンドと FLTK 標準の gtk+ コントロールを使用します。" - -#: userland/apps/openrc-controller/dialogs.cpp:42 -msgid "OpenRC authentication" -msgstr "OpenRC 認証" - -#: userland/apps/openrc-controller/window.cpp:1010 -msgid "OpenRC diagnostics" -msgstr "OpenRC 診断" - -#: userland/apps/openrc-controller/window.cpp:201 -msgid "OpenRC log" -msgstr "OpenRC ログ" - -#: userland/apps/openrc-controller/window.cpp:607 -msgid "Operation completed" -msgstr "操作が完了しました" - -#: userland/apps/openrc-controller/window.cpp:510 -msgid "Operation failed (exit %d). Remaining operations were stopped." -msgstr "操作に失敗しました (終了コード %d)。残りの操作は停止されました。" - -#: userland/apps/openrc-controller/window.cpp:278 -msgid "Output" -msgstr "出力" - -#: userland/apps/openrc-controller/window.cpp:872 -msgid "Output exported" -msgstr "出力をエクスポートしました" - -#: userland/apps/openrc-controller/window.cpp:240 -msgid "Overview" -msgstr "概要" - -#: userland/apps/openrc-controller/window.cpp:803 -msgid "Parent runlevel (the selected runlevel is stacked into this level):" -msgstr "親ランレベル (選択したランレベルをこのレベルにスタックします):" - -#: userland/apps/openrc-controller/dialogs.cpp:52 -msgid "Password" -msgstr "パスワード" - -#: userland/apps/fltk_support.h:51 -msgid "Please choose an existing file!" -msgstr "既存のファイルを選択してください。" - -#: userland/apps/fltk_support.h:58 -msgid "Preview" -msgstr "プレビュー" - -#: userland/apps/openrc-controller/window.cpp:253 -msgid "Query dependencies…" -msgstr "依存関係を問い合わせ…" - -#: userland/apps/openrc-controller/window.cpp:969 -msgid "Querying dependency tree…" -msgstr "依存関係ツリーを問い合わせています…" - -#: userland/apps/openrc-controller/window.cpp:180 -msgid "Read service script" -msgstr "サービススクリプトを読み込み" - -#: userland/apps/openrc-controller/window.cpp:838 -msgid "Reading configuration…" -msgstr "設定を読み込んでいます…" - -#: userland/apps/openrc-controller/window.cpp:960 -msgid "Reading service script…" -msgstr "サービススクリプトを読み込んでいます…" - -#: userland/apps/openrc-controller/window.cpp:493 -msgid "Reading service states…" -msgstr "サービスの状態を読み込んでいます…" - -#: userland/apps/openrc-controller/window.cpp:492 -msgid "Reading services and runlevels…" -msgstr "サービスとランレベルを読み込んでいます…" - -#: userland/apps/openrc-controller/window.cpp:572 -msgid "Ready · administrator session active" -msgstr "準備完了 · 管理者セッションが有効" - -#: userland/apps/openrc-controller/window.cpp:199 -msgid "Rebuild dependency cache" -msgstr "依存関係キャッシュを再構築" - -#: userland/apps/openrc-controller/window.cpp:215 -msgid "Refresh" -msgstr "更新" - -#: userland/apps/openrc-controller/window.cpp:211 -msgid "Refresh every 10 seconds" -msgstr "10 秒ごとに更新" - -#: userland/apps/openrc-controller/window.cpp:176 -msgid "Reload" -msgstr "再読み込み" - -#: userland/apps/openrc-controller/window.cpp:601 -msgid "Reloading saved configuration…" -msgstr "保存済みの設定を再読み込みしています…" - -#: userland/apps/openrc-controller/window.cpp:186 -msgid "Remove services from runlevel…" -msgstr "ランレベルからサービスを削除…" - -#: userland/apps/openrc-controller/window.cpp:698 -msgid "Remove the selected services from this runlevel? This does not stop them immediately." -msgstr "選択したサービスをこのランレベルから削除しますか? サービスは直ちには停止しません。" - -#: userland/apps/openrc-controller/window.cpp:848 -msgid "Replace" -msgstr "置き換え" - -#: userland/apps/openrc-controller/window.cpp:991 -msgid "Replace the current configuration with its last backup? Unsaved editor changes will be discarded." -msgstr "現在の設定を最後のバックアップで置き換えますか? エディターの未保存の変更は破棄されます。" - -#: userland/apps/openrc-controller/window.cpp:175 -msgid "Restart" -msgstr "再起動" - -#: userland/apps/openrc-controller/window.cpp:990 -msgid "Restore" -msgstr "復元" - -#: userland/apps/openrc-controller/window.cpp:269 -msgid "Restore backup" -msgstr "バックアップを復元" - -#: userland/apps/openrc-controller/dialogs.cpp:83 -msgid "Retry" -msgstr "再試行" - -#: userland/apps/openrc-controller/window.cpp:727 -msgid "Run" -msgstr "実行" - -#: userland/apps/openrc-controller/window.cpp:753 -msgid "Run this advanced command for the selected services? zap only resets OpenRC state; it does not stop a running process." -msgstr "選択したサービスに対してこの高度なコマンドを実行しますか? zap は OpenRC の状態をリセットするだけで、実行中のプロセスは停止しません。" - -#: userland/apps/openrc-controller/window.cpp:677 -msgid "Runlevel name (use Tools / all runlevel states to inspect membership):" -msgstr "ランレベル名 (所属を調べるには「ツール / すべてのランレベルの状態」を使用):" - -#: userland/apps/openrc-controller/window.cpp:787 -msgid "Runlevel name:" -msgstr "ランレベル名:" - -#: configs/nls/messages/openrc-controller.c:40 -msgid "Runlevel updated.\n" -msgstr "ランレベルを更新しました。\n" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "Runlevels" -msgstr "ランレベル" - -#: userland/apps/openrc-controller/window.cpp:143 -msgid "Running" -msgstr "実行中" - -#: userland/apps/fltk_support.h:59 -msgid "Save" -msgstr "保存" - -#: userland/apps/openrc-controller/window.cpp:1003 -msgid "Saving configuration…" -msgstr "設定を保存しています…" - -#: userland/apps/openrc-controller/window.cpp:157 -msgid "Scheduled" -msgstr "予定済み" - -#: userland/apps/openrc-controller/window.cpp:231 -msgid "Search" -msgstr "検索" - -#: userland/apps/openrc-controller/window.cpp:662 -msgid "Select at least one service." -msgstr "サービスを少なくとも 1 つ選択してください。" - -#: userland/apps/openrc-controller/window.cpp:666 -msgid "Select at most 512 services per operation." -msgstr "1 回の操作で選択できるサービスは最大 512 個です。" - -#: userland/apps/openrc-controller/window.cpp:951 -msgid "Select exactly one service." -msgstr "サービスを 1 つだけ選択してください。" - -#: userland/apps/openrc-controller/window.cpp:915 -msgid "Select services and use the toolbar or Service menu. Ctrl/Shift selects multiple services; column headers sort.\n\nEnabling changes runlevel membership; starting changes the current running state. Use the Configuration tab to edit conf.d or global rc.conf; saving makes a backup and detects external changes.\n\nAdvanced actions support conditions, dry run, zap and custom service commands. Canceling may leave OpenRC in a transitional state; inspect status before using zap.\n\nThe application never invokes shutdown, reboot, boot or sysinit runlevels. Logs are available when the corresponding system logger is configured." -msgstr "サービスを選択し、ツールバーまたは「サービス」メニューを使用します。Ctrl/Shift で複数選択でき、列見出しで並べ替えられます。\n\n有効化はランレベルへの所属を変更し、開始は現在の実行状態を変更します。「設定」タブで conf.d または全体の rc.conf を編集できます。保存時にバックアップを作成し、外部の変更を検出します。\n\n高度な操作は条件、試行実行、zap、カスタムサービスコマンドに対応しています。キャンセルすると OpenRC が移行中の状態のままになる場合があります。zap を使用する前に状態を確認してください。\n\nこのアプリケーションは shutdown、reboot、boot、sysinit のランレベルを呼び出しません。対応するシステムロガーが設定されている場合はログを利用できます。" - -#: userland/apps/openrc-controller/window.cpp:403 -msgid "Select services to inspect them. Ctrl/Shift selects multiple rows." -msgstr "サービスを選択して詳細を確認します。Ctrl/Shift で複数行を選択できます。" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "Service" -msgstr "サービス" - -#: userland/apps/openrc-controller/window.cpp:177 -msgid "Service status" -msgstr "サービスの状態" - -#: userland/apps/fltk_support.h:61 -msgid "Show hidden files" -msgstr "隠しファイルを表示" - -#: userland/apps/fltk_support.h:60 -msgid "Show:" -msgstr "表示:" - -#: userland/apps/openrc-controller/window.cpp:189 -msgid "Stack runlevel…" -msgstr "ランレベルをスタック…" - -#: userland/apps/openrc-controller/window.cpp:173 -msgid "Start" -msgstr "開始" - -#: userland/apps/openrc-controller/window.cpp:811 -msgid "Start only" -msgstr "開始のみ" - -#: userland/apps/openrc-controller/window.cpp:147 -msgid "Starting" -msgstr "開始中" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "State" -msgstr "状態" - -#: userland/apps/openrc-controller/window.cpp:174 -msgid "Stop" -msgstr "停止" - -#: userland/apps/openrc-controller/window.cpp:880 -msgid "Stop and close" -msgstr "停止して閉じる" - -#: userland/apps/openrc-controller/window.cpp:145 -msgid "Stopped" -msgstr "停止済み" - -#: userland/apps/openrc-controller/window.cpp:149 -msgid "Stopping" -msgstr "停止中" - -#: userland/apps/openrc-controller/window.cpp:197 -msgid "Supervised services" -msgstr "監視対象のサービス" - -#: userland/apps/openrc-controller/window.cpp:811 -msgid "Switch fully" -msgstr "完全に切り替え" - -#: userland/apps/openrc-controller/window.cpp:191 -msgid "Switch runlevel…" -msgstr "ランレベルを切り替え…" - -#: userland/apps/openrc-controller/window.cpp:203 -msgid "System log" -msgstr "システムログ" - -#: userland/apps/openrc-controller/window.cpp:202 -msgid "System messages" -msgstr "システムメッセージ" - -#: userland/apps/openrc-controller/window.cpp:436 -msgid "The privileged session has ended. Reopen the application." -msgstr "特権セッションが終了しました。アプリケーションを開き直してください。" - -#: userland/apps/openrc-controller/window.cpp:849 -msgid "This file already exists. Replace it?" -msgstr "このファイルは既に存在します。置き換えますか?" - -#: userland/apps/openrc-controller/window.cpp:703 -msgid "This operation may interrupt networking, audio, or services required by other programs. Continue?" -msgstr "この操作によりネットワーク、音声、または他のプログラムに必要なサービスが中断される場合があります。続行しますか?" - -#: configs/nls/messages/openrc-controller.c:41 -msgid "This request does not execute a command." -msgstr "この要求ではコマンドは実行されません。" - -#: userland/apps/openrc-controller/window.cpp:192 -msgid "Tools" -msgstr "ツール" - -#: userland/apps/openrc-controller/window.cpp:416 -msgid "Unassigned" -msgstr "未割り当て" - -#: userland/apps/openrc-controller/window.cpp:198 -msgid "Unassigned services" -msgstr "未割り当てのサービス" - -#: userland/apps/openrc-controller/window.cpp:160 -msgid "Unknown" -msgstr "不明" - -#: userland/apps/openrc-controller/dialogs.cpp:58 -msgid "Unlock" -msgstr "ロック解除" - -#: userland/apps/openrc-controller/window.cpp:190 -msgid "Unstack runlevel…" -msgstr "ランレベルのスタックを解除…" - -#: userland/apps/openrc-controller/window.cpp:159 -msgid "Unsupervised" -msgstr "監視なし" - -#: userland/apps/openrc-controller/window.cpp:827 -msgid "Updating runlevel…" -msgstr "ランレベルを更新しています…" - -#: userland/apps/openrc-controller/window.cpp:120 -msgid "Uptime" -msgstr "稼働時間" - -#: userland/apps/openrc-controller/window.cpp:208 -msgid "Usage and precautions" -msgstr "使用方法と注意事項" - -#: userland/apps/openrc-controller/window.cpp:721 -msgid "Use an OpenRC command such as start, stop, reload, zap, or a command advertised by the service." -msgstr "start、stop、reload、zap などの OpenRC コマンド、またはサービスが提供するコマンドを使用してください。" - -#: userland/apps/openrc-controller/window.cpp:440 -msgid "Wait for the current operation or cancel it first." -msgstr "現在の操作を待つか、先にキャンセルしてください。" - -#: userland/apps/fltk_support.h:46 -msgid "Yes" -msgstr "はい" - -#: configs/nls/messages/openrc-controller.c:14 -msgid "\nOpenRC status:\n" -msgstr "\nOpenRC の状態:\n" - -#: configs/nls/messages/openrc-controller.c:15 -msgid "\nOperation canceled. Check service state before retrying.\n" -msgstr "\n操作がキャンセルされました。再試行する前にサービスの状態を確認してください。\n" - -#: configs/nls/messages/openrc-controller.c:16 -msgid "\nOperation timed out after 180 seconds. Check service state before retrying.\n" -msgstr "\n操作は 180 秒後にタイムアウトしました。再試行する前にサービスの状態を確認してください。\n" - -#: configs/nls/messages/openrc-controller.c:17 -msgid "\nUnassigned services:\n" -msgstr "\n未割り当てのサービス:\n" - -#: configs/nls/messages/openrc-controller.c:9 -msgid "failed" -msgstr "失敗" - -#: userland/apps/openrc-controller/dialogs.cpp:50 -msgid "root account password" -msgstr "root アカウントのパスワード" - -#: userland/apps/openrc-controller/dialogs.cpp:49 -msgid "sudo: current user password" -msgstr "sudo: 現在のユーザーのパスワード" diff --git a/configs/nls/po/openrc-controller/openrc-controller.pot b/configs/nls/po/openrc-controller/openrc-controller.pot deleted file mode 100644 index ce66b1b8..00000000 --- a/configs/nls/po/openrc-controller/openrc-controller.pot +++ /dev/null @@ -1,859 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/openrc-controller/window.cpp:383 -msgid "%zu / %zu services · current: %s" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:209 -msgid "About" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:185 -msgid "Add services to runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:696 -msgid "Add the selected services to this runlevel? This changes startup configuration." -msgstr "" - -#: userland/apps/fltk_support.h:48 -msgid "Add to Favorites" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:46 -msgid "Administrator permission is required to manage OpenRC services." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:633 -msgid "Administrator session ended. Close and reopen the application." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:5 -msgid "Advanced" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:708 -msgid "Advanced service action" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:178 -msgid "Advanced service action…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:217 -msgid "Advanced…" -msgstr "" - -#: userland/apps/fltk_support.h:49 -msgid "All Files (*)" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:194 -msgid "All runlevel states" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:542 -msgid "All services" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:881 -msgid "An operation is running. Closing cancels it; check service state before retrying." -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:48 -msgid "Authenticate with" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:6 -msgid "Authenticating" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:115 -msgid "Authenticating…" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:84 -msgid "Authentication failed. Check the password or choose another method." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:18 -msgid "Backup path is unsafe." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:204 -msgid "Boot log" -msgstr "" - -#: userland/apps/fltk_support.h:44 -msgid "Cancel" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:217 -msgid "Cancel operation" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:900 -msgid "Canceling operation…" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:19 -msgid "Cannot change runlevel: it may exist, be active, referenced, nonempty, or unsafe." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:20 -msgid "Cannot create command output pipe.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:21 -msgid "Cannot create temporary configuration file." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:854 -msgid "Cannot create the output file." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:22 -msgid "Cannot open configuration (symbolic links are not allowed)." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:535 -msgid "Cannot parse OpenRC status." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:527 -msgid "Cannot parse the OpenRC service catalog." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:23 -msgid "Cannot read OpenRC services and runlevels.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:24 -msgid "Cannot read service script.\n" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:481 -msgid "Cannot send request to the privileged worker." -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:29 -msgid "Cannot start the OpenRC worker." -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:101 -msgid "Cannot start the authentication program." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:812 -msgid "Changing runlevel may stop services and disconnect the desktop. Start only keeps existing services running." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:262 -msgid "Choose a service configuration or global rc.conf." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:281 -msgid "Clear" -msgstr "" - -#: userland/apps/fltk_support.h:45 -msgid "Close" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:709 -msgid "Command" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:711 -msgid "Condition / mode" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:259 -msgid "Configuration" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:25 -msgid "Configuration changed externally. Reload before saving." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:26 -msgid "Configuration changed while saving. Reload before saving." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:27 -msgid "Configuration directory is missing or unsafe." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:835 -msgid "Configuration has unsaved changes." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:28 -msgid "Configuration is too large or contains NUL bytes." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:29 -msgid "Configuration lock is unsafe or another editor is saving. Retry after it finishes." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:30 -msgid "Configuration must be a safe, readable text file up to 256 KiB." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:31 -msgid "Configuration replaced, but directory synchronization failed. Check disk status." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:32 -msgid "Configuration saved. Previous contents: .openrc-controller.bak\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:33 -msgid "Configuration write or atomic replacement failed." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:292 -msgid "Connecting to OpenRC…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:653 -msgid "Continue" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:870 -msgid "Could not completely write the output file." -msgstr "" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:151 -msgid "Crashed" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:195 -msgid "Crashed services" -msgstr "" - -#: userland/apps/fltk_support.h:57 -msgid "Create a new directory" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:187 -msgid "Create runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:692 -msgid "Create this runlevel before adding services." -msgstr "" - -#: userland/apps/fltk_support.h:50 -msgid "Custom Filter" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:716 -msgid "Debug output" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:188 -msgid "Delete empty runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:822 -msgid "Delete this empty, inactive, unreferenced custom runlevel?" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:252 -msgid "Dependencies" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:181 -msgid "Dependencies…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:965 -msgid "Dependency type: ineed, iuse, iwant, iafter, ibefore; reverse: needsme, usesme, wantsme, beforeme, afterme" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:242 -msgid "Description / commands" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:179 -msgid "Description and commands" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:205 -msgid "Diagnostic report" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:7 -msgid "Disable" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:217 -msgid "Disable…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:834 -msgid "Discard changes" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:712 -msgid "Dry run" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:246 -msgid "Edit configuration" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:200 -msgid "Edit global rc.conf" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:182 -msgid "Edit service configuration" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:8 -msgid "Enable" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:216 -msgid "Enable…" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:94 -msgid "Enter your password to continue authentication." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:170 -msgid "Exit" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:843 -msgid "Export output" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:169 -msgid "Export output…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:153 -msgid "Failed" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:543 -msgid "Failed / crashed" -msgstr "" - -#: userland/apps/fltk_support.h:52 -msgid "Favorites" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:167 -msgid "File" -msgstr "" - -#: userland/apps/fltk_support.h:54 -msgid "File Systems" -msgstr "" - -#: userland/apps/fltk_support.h:53 -msgid "File name:" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:206 -msgid "Help" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:715 -msgid "Ignore dependencies" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:544 -msgid "In transition" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:155 -msgid "Inactive" -msgstr "" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:34 -msgid "Invalid configuration path." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:576 -msgid "Invalid configuration response." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:35 -msgid "Invalid or unsupported OpenRC request." -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:106 -msgid "Invalid password input." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:684 -msgid "Invalid runlevel name." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:744 -msgid "Invalid service command." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:448 -msgid "Invalid service, runlevel, or operation." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:986 -msgid "Load a configuration first." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:36 -msgid "Log is absent or cannot be read. Enable OpenRC rc_logger or the system logger if needed.\n" -msgstr "" - -#: userland/apps/fltk_support.h:55 -msgid "Manage Favorites" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:196 -msgid "Manually started services" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:652 -msgid "More selected services…" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:37 -msgid "NUL bytes are not allowed in a request." -msgstr "" - -#: userland/apps/fltk_support.h:56 -msgid "New Directory?" -msgstr "" - -#: userland/apps/fltk_support.h:47 -msgid "No" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:38 -msgid "No configuration backup is available." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:500 -msgid "No crashed services were reported." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:712 -msgid "Normal" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:456 -msgid "Not enough memory." -msgstr "" - -#: userland/apps/fltk_support.h:43 -msgid "OK" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:715 -msgid "Only if crashed" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:714 -msgid "Only if inactive" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:714 -msgid "Only if not started" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:713 -msgid "Only if started" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:713 -msgid "Only if stopped" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:39 -msgid "OpenRC Controller diagnostics\n\nService membership:\n" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:928 -msgid "OpenRC Controller\nC++ / FLTK service and runlevel manager for ReliefOS.\nUses the system OpenRC commands and native FLTK gtk+ controls." -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:42 -msgid "OpenRC authentication" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:1010 -msgid "OpenRC diagnostics" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:201 -msgid "OpenRC log" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:607 -msgid "Operation completed" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:510 -msgid "Operation failed (exit %d). Remaining operations were stopped." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:278 -msgid "Output" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:872 -msgid "Output exported" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:240 -msgid "Overview" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:803 -msgid "Parent runlevel (the selected runlevel is stacked into this level):" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:52 -msgid "Password" -msgstr "" - -#: userland/apps/fltk_support.h:51 -msgid "Please choose an existing file!" -msgstr "" - -#: userland/apps/fltk_support.h:58 -msgid "Preview" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:253 -msgid "Query dependencies…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:969 -msgid "Querying dependency tree…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:180 -msgid "Read service script" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:838 -msgid "Reading configuration…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:960 -msgid "Reading service script…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:493 -msgid "Reading service states…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:492 -msgid "Reading services and runlevels…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:572 -msgid "Ready · administrator session active" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:199 -msgid "Rebuild dependency cache" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:215 -msgid "Refresh" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:211 -msgid "Refresh every 10 seconds" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:176 -msgid "Reload" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:601 -msgid "Reloading saved configuration…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:186 -msgid "Remove services from runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:698 -msgid "Remove the selected services from this runlevel? This does not stop them immediately." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:848 -msgid "Replace" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:991 -msgid "Replace the current configuration with its last backup? Unsaved editor changes will be discarded." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:175 -msgid "Restart" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:990 -msgid "Restore" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:269 -msgid "Restore backup" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:83 -msgid "Retry" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:727 -msgid "Run" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:753 -msgid "Run this advanced command for the selected services? zap only resets OpenRC state; it does not stop a running process." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:677 -msgid "Runlevel name (use Tools / all runlevel states to inspect membership):" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:787 -msgid "Runlevel name:" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:40 -msgid "Runlevel updated.\n" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "Runlevels" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:143 -msgid "Running" -msgstr "" - -#: userland/apps/fltk_support.h:59 -msgid "Save" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:1003 -msgid "Saving configuration…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:157 -msgid "Scheduled" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:231 -msgid "Search" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:662 -msgid "Select at least one service." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:666 -msgid "Select at most 512 services per operation." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:951 -msgid "Select exactly one service." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:915 -msgid "Select services and use the toolbar or Service menu. Ctrl/Shift selects multiple services; column headers sort.\n\nEnabling changes runlevel membership; starting changes the current running state. Use the Configuration tab to edit conf.d or global rc.conf; saving makes a backup and detects external changes.\n\nAdvanced actions support conditions, dry run, zap and custom service commands. Canceling may leave OpenRC in a transitional state; inspect status before using zap.\n\nThe application never invokes shutdown, reboot, boot or sysinit runlevels. Logs are available when the corresponding system logger is configured." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:403 -msgid "Select services to inspect them. Ctrl/Shift selects multiple rows." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "Service" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:177 -msgid "Service status" -msgstr "" - -#: userland/apps/fltk_support.h:61 -msgid "Show hidden files" -msgstr "" - -#: userland/apps/fltk_support.h:60 -msgid "Show:" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:189 -msgid "Stack runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:173 -msgid "Start" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:811 -msgid "Start only" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:147 -msgid "Starting" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "State" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:174 -msgid "Stop" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:880 -msgid "Stop and close" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:145 -msgid "Stopped" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:149 -msgid "Stopping" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:197 -msgid "Supervised services" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:811 -msgid "Switch fully" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:191 -msgid "Switch runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:203 -msgid "System log" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:202 -msgid "System messages" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:436 -msgid "The privileged session has ended. Reopen the application." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:849 -msgid "This file already exists. Replace it?" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:703 -msgid "This operation may interrupt networking, audio, or services required by other programs. Continue?" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:41 -msgid "This request does not execute a command." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:192 -msgid "Tools" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:416 -msgid "Unassigned" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:198 -msgid "Unassigned services" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:160 -msgid "Unknown" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:58 -msgid "Unlock" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:190 -msgid "Unstack runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:159 -msgid "Unsupervised" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:827 -msgid "Updating runlevel…" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:120 -msgid "Uptime" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:208 -msgid "Usage and precautions" -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:721 -msgid "Use an OpenRC command such as start, stop, reload, zap, or a command advertised by the service." -msgstr "" - -#: userland/apps/openrc-controller/window.cpp:440 -msgid "Wait for the current operation or cancel it first." -msgstr "" - -#: userland/apps/fltk_support.h:46 -msgid "Yes" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:14 -msgid "\nOpenRC status:\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:15 -msgid "\nOperation canceled. Check service state before retrying.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:16 -msgid "\nOperation timed out after 180 seconds. Check service state before retrying.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:17 -msgid "\nUnassigned services:\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:9 -msgid "failed" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:50 -msgid "root account password" -msgstr "" - -#: userland/apps/openrc-controller/dialogs.cpp:49 -msgid "sudo: current user password" -msgstr "" diff --git a/configs/nls/po/openrc-controller/zh_CN.po b/configs/nls/po/openrc-controller/zh_CN.po deleted file mode 100644 index 3adbe726..00000000 --- a/configs/nls/po/openrc-controller/zh_CN.po +++ /dev/null @@ -1,887 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS 1\n" -"PO-Revision-Date: 2026-09-21 00:00+0800\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/openrc-controller/window.cpp:345 -msgid "%zu / %zu services · current: %s" -msgstr "%zu / %zu 项服务 · 当前运行级别:%s" - -#: userland/apps/openrc-controller/window.cpp:171 -msgid "About" -msgstr "关于" - -#: userland/apps/openrc-controller/window.cpp:147 -msgid "Add services to runlevel…" -msgstr "将服务加入运行级别…" - -#: userland/apps/openrc-controller/window.cpp:654 -msgid "Add the selected services to this runlevel? This changes startup configuration." -msgstr "将所选服务加入此运行级别?这会修改启动配置。" - -#: userland/apps/fltk_support.h:48 -msgid "Add to Favorites" -msgstr "添加到收藏夹" - -#: userland/apps/openrc-controller/dialogs.cpp:46 -msgid "Administrator permission is required to manage OpenRC services." -msgstr "管理 OpenRC 服务需要管理员权限。" - -#: userland/apps/openrc-controller/window.cpp:591 -msgid "Administrator session ended. Close and reopen the application." -msgstr "管理员会话已结束,请关闭后重新打开程序。" - -#: configs/nls/messages/openrc-controller.c:5 -msgid "Advanced" -msgstr "高级" - -#: userland/apps/openrc-controller/window.cpp:666 -msgid "Advanced service action" -msgstr "高级服务操作" - -#: userland/apps/openrc-controller/window.cpp:140 -msgid "Advanced service action…" -msgstr "高级服务操作…" - -#: userland/apps/openrc-controller/window.cpp:179 -msgid "Advanced…" -msgstr "高级操作…" - -#: userland/apps/fltk_support.h:49 -msgid "All Files (*)" -msgstr "所有文件 (*)" - -#: userland/apps/openrc-controller/window.cpp:156 -msgid "All runlevel states" -msgstr "所有运行级别状态" - -#: userland/apps/openrc-controller/window.cpp:502 -msgid "All services" -msgstr "全部服务" - -#: userland/apps/openrc-controller/window.cpp:839 -msgid "An operation is running. Closing cancels it; check service state before retrying." -msgstr "仍有操作正在运行。关闭程序将取消它;重试前请检查服务状态。" - -#: userland/apps/openrc-controller/dialogs.cpp:48 -msgid "Authenticate with" -msgstr "认证方式" - -#: configs/nls/messages/openrc-controller.c:6 -msgid "Authenticating" -msgstr "正在验证身份" - -#: userland/apps/openrc-controller/dialogs.cpp:115 -msgid "Authenticating…" -msgstr "正在认证…" - -#: userland/apps/openrc-controller/dialogs.cpp:84 -msgid "Authentication failed. Check the password or choose another method." -msgstr "认证失败,请检查密码或选择其他认证方式。" - -#: userland/apps/openrc-controller/window.cpp:166 -msgid "Boot log" -msgstr "启动日志" - -#: userland/apps/fltk_support.h:44 -msgid "Cancel" -msgstr "取消" - -#: userland/apps/openrc-controller/window.cpp:179 -msgid "Cancel operation" -msgstr "取消操作" - -#: userland/apps/openrc-controller/window.cpp:858 -msgid "Canceling operation…" -msgstr "正在取消操作…" - -#: userland/apps/openrc-controller/window.cpp:812 -msgid "Cannot create the output file." -msgstr "无法创建输出文件。" - -#: userland/apps/openrc-controller/window.cpp:495 -msgid "Cannot parse OpenRC status." -msgstr "无法解析 OpenRC 状态。" - -#: userland/apps/openrc-controller/window.cpp:487 -msgid "Cannot parse the OpenRC service catalog." -msgstr "无法解析 OpenRC 服务清单。" - -#: userland/apps/openrc-controller/window.cpp:443 -msgid "Cannot send request to the privileged worker." -msgstr "无法向特权工作进程发送请求。" - -#: userland/apps/openrc-controller/dialogs.cpp:29 -msgid "Cannot start the OpenRC worker." -msgstr "无法启动 OpenRC 工作进程。" - -#: userland/apps/openrc-controller/dialogs.cpp:101 -msgid "Cannot start the authentication program." -msgstr "无法启动认证程序。" - -#: userland/apps/openrc-controller/window.cpp:770 -msgid "Changing runlevel may stop services and disconnect the desktop. Start only keeps existing services running." -msgstr "切换运行级别可能停止服务并断开桌面会话。“仅启动”会保留已运行的服务。" - -#: userland/apps/openrc-controller/window.cpp:224 -msgid "Choose a service configuration or global rc.conf." -msgstr "请选择服务配置或全局 rc.conf。" - -#: userland/apps/openrc-controller/window.cpp:243 -msgid "Clear" -msgstr "清空" - -#: userland/apps/fltk_support.h:45 -msgid "Close" -msgstr "关闭" - -#: userland/apps/openrc-controller/window.cpp:667 -msgid "Command" -msgstr "命令" - -#: userland/apps/openrc-controller/window.cpp:669 -msgid "Condition / mode" -msgstr "条件/模式" - -#: userland/apps/openrc-controller/window.cpp:221 -msgid "Configuration" -msgstr "配置" - -#: userland/apps/openrc-controller/window.cpp:793 -msgid "Configuration has unsaved changes." -msgstr "配置尚有未保存的修改。" - -#: userland/apps/openrc-controller/window.cpp:254 -msgid "Connecting to OpenRC…" -msgstr "正在连接 OpenRC…" - -#: userland/apps/openrc-controller/window.cpp:611 -msgid "Continue" -msgstr "继续" - -#: userland/apps/openrc-controller/window.cpp:828 -msgid "Could not completely write the output file." -msgstr "未能完整写入输出文件。" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "无法解码图像" - -#: userland/apps/openrc-controller/window.cpp:113 -msgid "Crashed" -msgstr "已崩溃" - -#: userland/apps/openrc-controller/window.cpp:157 -msgid "Crashed services" -msgstr "崩溃的服务" - -#: userland/apps/fltk_support.h:57 -msgid "Create a new directory" -msgstr "创建新目录" - -#: userland/apps/openrc-controller/window.cpp:149 -msgid "Create runlevel…" -msgstr "创建运行级别…" - -#: userland/apps/openrc-controller/window.cpp:650 -msgid "Create this runlevel before adding services." -msgstr "请先创建此运行级别,再添加服务。" - -#: userland/apps/fltk_support.h:50 -msgid "Custom Filter" -msgstr "自定义筛选器" - -#: userland/apps/openrc-controller/window.cpp:674 -msgid "Debug output" -msgstr "调试输出" - -#: userland/apps/openrc-controller/window.cpp:150 -msgid "Delete empty runlevel…" -msgstr "删除空运行级别…" - -#: userland/apps/openrc-controller/window.cpp:780 -msgid "Delete this empty, inactive, unreferenced custom runlevel?" -msgstr "删除此空的、未使用且未被引用的自定义运行级别?" - -#: userland/apps/openrc-controller/window.cpp:214 -msgid "Dependencies" -msgstr "依赖项" - -#: userland/apps/openrc-controller/window.cpp:143 -msgid "Dependencies…" -msgstr "依赖关系…" - -#: userland/apps/openrc-controller/window.cpp:923 -msgid "Dependency type: ineed, iuse, iwant, iafter, ibefore; reverse: needsme, usesme, wantsme, beforeme, afterme" -msgstr "依赖类型:ineed、iuse、iwant、iafter、ibefore;反向依赖:needsme、usesme、wantsme、beforeme、afterme" - -#: userland/apps/openrc-controller/window.cpp:204 -msgid "Description / commands" -msgstr "描述与命令" - -#: userland/apps/openrc-controller/window.cpp:141 -msgid "Description and commands" -msgstr "描述与可用命令" - -#: userland/apps/openrc-controller/window.cpp:167 -msgid "Diagnostic report" -msgstr "诊断报告" - -#: configs/nls/messages/openrc-controller.c:7 -msgid "Disable" -msgstr "禁用" - -#: userland/apps/openrc-controller/window.cpp:179 -msgid "Disable…" -msgstr "停用…" - -#: userland/apps/openrc-controller/window.cpp:792 -msgid "Discard changes" -msgstr "放弃更改" - -#: userland/apps/openrc-controller/window.cpp:670 -msgid "Dry run" -msgstr "模拟执行" - -#: userland/apps/openrc-controller/window.cpp:208 -msgid "Edit configuration" -msgstr "编辑配置" - -#: userland/apps/openrc-controller/window.cpp:162 -msgid "Edit global rc.conf" -msgstr "编辑全局 rc.conf" - -#: userland/apps/openrc-controller/window.cpp:144 -msgid "Edit service configuration" -msgstr "编辑服务配置" - -#: configs/nls/messages/openrc-controller.c:8 -msgid "Enable" -msgstr "启用" - -#: userland/apps/openrc-controller/window.cpp:178 -msgid "Enable…" -msgstr "启用…" - -#: userland/apps/openrc-controller/dialogs.cpp:94 -msgid "Enter your password to continue authentication." -msgstr "请输入密码以继续认证。" - -#: userland/apps/openrc-controller/window.cpp:132 -msgid "Exit" -msgstr "退出" - -#: userland/apps/openrc-controller/window.cpp:801 -msgid "Export output" -msgstr "导出输出" - -#: userland/apps/openrc-controller/window.cpp:131 -msgid "Export output…" -msgstr "导出输出…" - -#: userland/apps/openrc-controller/window.cpp:115 -msgid "Failed" -msgstr "失败" - -#: userland/apps/openrc-controller/window.cpp:503 -msgid "Failed / crashed" -msgstr "失败/崩溃" - -#: userland/apps/fltk_support.h:52 -msgid "Favorites" -msgstr "收藏夹" - -#: userland/apps/openrc-controller/window.cpp:129 -msgid "File" -msgstr "文件" - -#: userland/apps/fltk_support.h:54 -msgid "File Systems" -msgstr "文件系统" - -#: userland/apps/fltk_support.h:53 -msgid "File name:" -msgstr "文件名:" - -#: userland/apps/openrc-controller/window.cpp:168 -msgid "Help" -msgstr "帮助" - -#: userland/apps/openrc-controller/window.cpp:673 -msgid "Ignore dependencies" -msgstr "忽略依赖" - -#: userland/apps/openrc-controller/window.cpp:504 -msgid "In transition" -msgstr "状态过渡中" - -#: userland/apps/openrc-controller/window.cpp:117 -msgid "Inactive" -msgstr "未激活" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "输入内容过长" - -#: userland/apps/openrc-controller/window.cpp:536 -msgid "Invalid configuration response." -msgstr "配置响应无效。" - -#: userland/apps/openrc-controller/dialogs.cpp:106 -msgid "Invalid password input." -msgstr "密码输入无效。" - -#: userland/apps/openrc-controller/window.cpp:642 -msgid "Invalid runlevel name." -msgstr "运行级别名称无效。" - -#: userland/apps/openrc-controller/window.cpp:702 -msgid "Invalid service command." -msgstr "服务命令无效。" - -#: userland/apps/openrc-controller/window.cpp:410 -msgid "Invalid service, runlevel, or operation." -msgstr "服务、运行级别或操作无效。" - -#: userland/apps/openrc-controller/window.cpp:944 -msgid "Load a configuration first." -msgstr "请先加载配置文件。" - -#: userland/apps/fltk_support.h:55 -msgid "Manage Favorites" -msgstr "管理收藏夹" - -#: userland/apps/openrc-controller/window.cpp:158 -msgid "Manually started services" -msgstr "手动启动的服务" - -#: userland/apps/openrc-controller/window.cpp:610 -msgid "More selected services…" -msgstr "还有更多所选服务…" - -#: userland/apps/fltk_support.h:56 -msgid "New Directory?" -msgstr "新建目录?" - -#: userland/apps/fltk_support.h:47 -msgid "No" -msgstr "否" - -#: userland/apps/openrc-controller/window.cpp:462 -msgid "No crashed services were reported." -msgstr "未检测到崩溃的服务。" - -#: userland/apps/openrc-controller/window.cpp:670 -msgid "Normal" -msgstr "普通" - -#: userland/apps/openrc-controller/window.cpp:418 -msgid "Not enough memory." -msgstr "内存不足。" - -#: userland/apps/fltk_support.h:43 -msgid "OK" -msgstr "确定" - -#: userland/apps/openrc-controller/window.cpp:673 -msgid "Only if crashed" -msgstr "仅在崩溃时" - -#: userland/apps/openrc-controller/window.cpp:672 -msgid "Only if inactive" -msgstr "仅在未激活时" - -#: userland/apps/openrc-controller/window.cpp:672 -msgid "Only if not started" -msgstr "仅在未启动时" - -#: userland/apps/openrc-controller/window.cpp:671 -msgid "Only if started" -msgstr "仅在已启动时" - -#: userland/apps/openrc-controller/window.cpp:671 -msgid "Only if stopped" -msgstr "仅在已停止时" - -#: userland/apps/openrc-controller/window.cpp:886 -msgid "" -"OpenRC Controller\n" -"C++ / FLTK service and runlevel manager for ReliefOS.\n" -"Uses the system OpenRC commands and native FLTK gtk+ controls." -msgstr "" -"OpenRC Controller\n" -"ReliefOS 的 C++ / FLTK 服务与运行级别管理器。\n" -"使用系统 OpenRC 命令和 FLTK 原生 gtk+ 控件。" - -#: userland/apps/openrc-controller/dialogs.cpp:42 -msgid "OpenRC authentication" -msgstr "OpenRC 权限认证" - -#: userland/apps/openrc-controller/window.cpp:968 -msgid "OpenRC diagnostics" -msgstr "OpenRC 诊断" - -#: userland/apps/openrc-controller/window.cpp:163 -msgid "OpenRC log" -msgstr "OpenRC 日志" - -#: userland/apps/openrc-controller/window.cpp:567 -msgid "Operation completed" -msgstr "操作完成" - -#: userland/apps/openrc-controller/window.cpp:472 -msgid "Operation failed (exit %d). Remaining operations were stopped." -msgstr "操作失败(退出码 %d),已停止后续操作。" - -#: userland/apps/openrc-controller/window.cpp:240 -msgid "Output" -msgstr "输出" - -#: userland/apps/openrc-controller/window.cpp:830 -msgid "Output exported" -msgstr "输出已导出" - -#: userland/apps/openrc-controller/window.cpp:202 -msgid "Overview" -msgstr "概览" - -#: userland/apps/openrc-controller/window.cpp:761 -msgid "Parent runlevel (the selected runlevel is stacked into this level):" -msgstr "父运行级别(将所选运行级别堆叠到此级别):" - -#: userland/apps/openrc-controller/dialogs.cpp:52 -msgid "Password" -msgstr "密码" - -#: userland/apps/fltk_support.h:51 -msgid "Please choose an existing file!" -msgstr "请选择已存在的文件!" - -#: userland/apps/fltk_support.h:58 -msgid "Preview" -msgstr "预览" - -#: userland/apps/openrc-controller/window.cpp:215 -msgid "Query dependencies…" -msgstr "查询依赖…" - -#: userland/apps/openrc-controller/window.cpp:927 -msgid "Querying dependency tree…" -msgstr "正在查询依赖树…" - -#: userland/apps/openrc-controller/window.cpp:142 -msgid "Read service script" -msgstr "查看服务脚本" - -#: userland/apps/openrc-controller/window.cpp:796 -msgid "Reading configuration…" -msgstr "正在读取配置…" - -#: userland/apps/openrc-controller/window.cpp:918 -msgid "Reading service script…" -msgstr "正在读取服务脚本…" - -#: userland/apps/openrc-controller/window.cpp:455 -msgid "Reading service states…" -msgstr "正在读取服务状态…" - -#: userland/apps/openrc-controller/window.cpp:454 -msgid "Reading services and runlevels…" -msgstr "正在读取服务与运行级别…" - -#: userland/apps/openrc-controller/window.cpp:532 -msgid "Ready · administrator session active" -msgstr "就绪 · 管理员会话有效" - -#: userland/apps/openrc-controller/window.cpp:161 -msgid "Rebuild dependency cache" -msgstr "重建依赖缓存" - -#: userland/apps/openrc-controller/window.cpp:177 -msgid "Refresh" -msgstr "刷新" - -#: userland/apps/openrc-controller/window.cpp:173 -msgid "Refresh every 10 seconds" -msgstr "每 10 秒刷新" - -#: userland/apps/openrc-controller/window.cpp:138 -msgid "Reload" -msgstr "重新加载" - -#: userland/apps/openrc-controller/window.cpp:561 -msgid "Reloading saved configuration…" -msgstr "正在重载已保存的配置…" - -#: userland/apps/openrc-controller/window.cpp:148 -msgid "Remove services from runlevel…" -msgstr "从运行级别移除服务…" - -#: userland/apps/openrc-controller/window.cpp:656 -msgid "Remove the selected services from this runlevel? This does not stop them immediately." -msgstr "将所选服务从此运行级别移除?这不会立即停止服务。" - -#: userland/apps/openrc-controller/window.cpp:806 -msgid "Replace" -msgstr "替换" - -#: userland/apps/openrc-controller/window.cpp:949 -msgid "Replace the current configuration with its last backup? Unsaved editor changes will be discarded." -msgstr "用上次备份替换当前配置?编辑器中未保存的修改将被丢弃。" - -#: userland/apps/openrc-controller/window.cpp:137 -msgid "Restart" -msgstr "重启" - -#: userland/apps/openrc-controller/window.cpp:948 -msgid "Restore" -msgstr "恢复" - -#: userland/apps/openrc-controller/window.cpp:231 -msgid "Restore backup" -msgstr "恢复备份" - -#: userland/apps/openrc-controller/dialogs.cpp:83 -msgid "Retry" -msgstr "重试" - -#: userland/apps/openrc-controller/window.cpp:685 -msgid "Run" -msgstr "运行" - -#: userland/apps/openrc-controller/window.cpp:711 -msgid "Run this advanced command for the selected services? zap only resets OpenRC state; it does not stop a running process." -msgstr "对所选服务执行此高级命令?zap 仅重置 OpenRC 状态,不会终止正在运行的进程。" - -#: userland/apps/openrc-controller/window.cpp:635 -msgid "Runlevel name (use Tools / all runlevel states to inspect membership):" -msgstr "运行级别名称(可通过“工具/所有运行级别状态”查看成员):" - -#: userland/apps/openrc-controller/window.cpp:745 -msgid "Runlevel name:" -msgstr "运行级别名称:" - -#: userland/apps/openrc-controller/window.cpp:81 -msgid "Runlevels" -msgstr "运行级别" - -#: userland/apps/openrc-controller/window.cpp:105 -msgid "Running" -msgstr "运行中" - -#: userland/apps/fltk_support.h:59 -msgid "Save" -msgstr "保存" - -#: userland/apps/openrc-controller/window.cpp:961 -msgid "Saving configuration…" -msgstr "正在保存配置…" - -#: userland/apps/openrc-controller/window.cpp:119 -msgid "Scheduled" -msgstr "已调度" - -#: userland/apps/openrc-controller/window.cpp:193 -msgid "Search" -msgstr "搜索" - -#: userland/apps/openrc-controller/window.cpp:620 -msgid "Select at least one service." -msgstr "请至少选择一项服务。" - -#: userland/apps/openrc-controller/window.cpp:624 -msgid "Select at most 512 services per operation." -msgstr "每次操作最多选择 512 项服务。" - -#: userland/apps/openrc-controller/window.cpp:909 -msgid "Select exactly one service." -msgstr "请仅选择一项服务。" - -#: userland/apps/openrc-controller/window.cpp:873 -msgid "" -"Select services and use the toolbar or Service menu. Ctrl/Shift selects multiple services; column headers sort.\n" -"\n" -"Enabling changes runlevel membership; starting changes the current running state. Use the Configuration tab to edit conf.d or global rc.conf; saving makes a backup and detects external changes.\n" -"\n" -"Advanced actions support conditions, dry run, zap and custom service commands. Canceling may leave OpenRC in a transitional state; inspect status before using zap.\n" -"\n" -"The application never invokes shutdown, reboot, boot or sysinit runlevels. Logs are available when the corresponding system logger is configured." -msgstr "" -"选择服务后使用工具栏或“服务”菜单;按 Ctrl/Shift 可多选,单击列标题可排序。\n" -"\n" -"启用会改变运行级别成员,启动会改变当前运行状态。在“配置”页编辑 conf.d 或全局 rc.conf;保存会生成备份并检测外部修改冲突。\n" -"\n" -"高级操作支持条件执行、模拟执行、zap 和脚本自定义命令。取消操作可能留下过渡状态,使用 zap 前请检查实际状态。\n" -"\n" -"本程序不直接调用 shutdown、reboot、boot 或 sysinit 运行级别。相应日志需要先配置系统日志服务。" - -#: userland/apps/openrc-controller/window.cpp:365 -msgid "Select services to inspect them. Ctrl/Shift selects multiple rows." -msgstr "选择服务以查看详情,按 Ctrl/Shift 可多选。" - -#: userland/apps/openrc-controller/window.cpp:81 -msgid "Service" -msgstr "服务" - -#: userland/apps/openrc-controller/window.cpp:139 -msgid "Service status" -msgstr "服务状态" - -#: userland/apps/fltk_support.h:61 -msgid "Show hidden files" -msgstr "显示隐藏文件" - -#: userland/apps/fltk_support.h:60 -msgid "Show:" -msgstr "显示:" - -#: userland/apps/openrc-controller/window.cpp:151 -msgid "Stack runlevel…" -msgstr "堆叠运行级别…" - -#: userland/apps/openrc-controller/window.cpp:135 -msgid "Start" -msgstr "启动" - -#: userland/apps/openrc-controller/window.cpp:769 -msgid "Start only" -msgstr "仅启动" - -#: userland/apps/openrc-controller/window.cpp:109 -msgid "Starting" -msgstr "启动中" - -#: userland/apps/openrc-controller/window.cpp:81 -msgid "State" -msgstr "状态" - -#: userland/apps/openrc-controller/window.cpp:136 -msgid "Stop" -msgstr "停止" - -#: userland/apps/openrc-controller/window.cpp:838 -msgid "Stop and close" -msgstr "停止并关闭" - -#: userland/apps/openrc-controller/window.cpp:107 -msgid "Stopped" -msgstr "已停止" - -#: userland/apps/openrc-controller/window.cpp:111 -msgid "Stopping" -msgstr "正在停止" - -#: userland/apps/openrc-controller/window.cpp:159 -msgid "Supervised services" -msgstr "受监督的服务" - -#: userland/apps/openrc-controller/window.cpp:769 -msgid "Switch fully" -msgstr "完整切换" - -#: userland/apps/openrc-controller/window.cpp:153 -msgid "Switch runlevel…" -msgstr "切换运行级别…" - -#: userland/apps/openrc-controller/window.cpp:165 -msgid "System log" -msgstr "系统日志" - -#: userland/apps/openrc-controller/window.cpp:164 -msgid "System messages" -msgstr "系统消息" - -#: userland/apps/openrc-controller/window.cpp:398 -msgid "The privileged session has ended. Reopen the application." -msgstr "特权会话已结束,请重新打开程序。" - -#: userland/apps/openrc-controller/window.cpp:807 -msgid "This file already exists. Replace it?" -msgstr "文件已存在。是否替换?" - -#: userland/apps/openrc-controller/window.cpp:661 -msgid "This operation may interrupt networking, audio, or services required by other programs. Continue?" -msgstr "此操作可能中断网络、音频或其他程序依赖的服务,是否继续?" - -#: userland/apps/openrc-controller/window.cpp:154 -msgid "Tools" -msgstr "工具" - -#: userland/apps/openrc-controller/window.cpp:378 -msgid "Unassigned" -msgstr "未分配" - -#: userland/apps/openrc-controller/window.cpp:160 -msgid "Unassigned services" -msgstr "未分配的服务" - -#: userland/apps/openrc-controller/window.cpp:122 -msgid "Unknown" -msgstr "未知" - -#: userland/apps/openrc-controller/dialogs.cpp:58 -msgid "Unlock" -msgstr "解锁" - -#: userland/apps/openrc-controller/window.cpp:152 -msgid "Unstack runlevel…" -msgstr "取消运行级别堆叠…" - -#: userland/apps/openrc-controller/window.cpp:121 -msgid "Unsupervised" -msgstr "未被监督" - -#: userland/apps/openrc-controller/window.cpp:785 -msgid "Updating runlevel…" -msgstr "正在更新运行级别…" - -#: userland/apps/openrc-controller/window.cpp:82 -msgid "Uptime" -msgstr "运行时间" - -#: userland/apps/openrc-controller/window.cpp:170 -msgid "Usage and precautions" -msgstr "使用说明与注意事项" - -#: userland/apps/openrc-controller/window.cpp:679 -msgid "Use an OpenRC command such as start, stop, reload, zap, or a command advertised by the service." -msgstr "请输入 start、stop、reload、zap 等 OpenRC 命令,或服务提供的自定义命令。" - -#: userland/apps/openrc-controller/window.cpp:402 -msgid "Wait for the current operation or cancel it first." -msgstr "请等待当前操作完成,或先取消操作。" - -#: userland/apps/fltk_support.h:46 -msgid "Yes" -msgstr "是" - -#: configs/nls/messages/openrc-controller.c:9 -msgid "failed" -msgstr "失败" - -#: userland/apps/openrc-controller/dialogs.cpp:50 -msgid "root account password" -msgstr "root 账户密码" - -#: userland/apps/openrc-controller/dialogs.cpp:49 -msgid "sudo: current user password" -msgstr "sudo:当前用户密码" - -#: configs/nls/messages/openrc-controller.c:18 -msgid "Backup path is unsafe." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:19 -msgid "Cannot change runlevel: it may exist, be active, referenced, nonempty, or unsafe." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:20 -msgid "Cannot create command output pipe.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:21 -msgid "Cannot create temporary configuration file." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:22 -msgid "Cannot open configuration (symbolic links are not allowed)." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:23 -msgid "Cannot read OpenRC services and runlevels.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:24 -msgid "Cannot read service script.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:25 -msgid "Configuration changed externally. Reload before saving." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:26 -msgid "Configuration changed while saving. Reload before saving." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:27 -msgid "Configuration directory is missing or unsafe." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:28 -msgid "Configuration is too large or contains NUL bytes." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:29 -msgid "Configuration lock is unsafe or another editor is saving. Retry after it finishes." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:30 -msgid "Configuration must be a safe, readable text file up to 256 KiB." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:31 -msgid "Configuration replaced, but directory synchronization failed. Check disk status." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:32 -msgid "Configuration saved. Previous contents: .openrc-controller.bak\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:33 -msgid "Configuration write or atomic replacement failed." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:34 -msgid "Invalid configuration path." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:35 -msgid "Invalid or unsupported OpenRC request." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:36 -msgid "Log is absent or cannot be read. Enable OpenRC rc_logger or the system logger if needed.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:37 -msgid "NUL bytes are not allowed in a request." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:38 -msgid "No configuration backup is available." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:39 -msgid "OpenRC Controller diagnostics\n\nService membership:\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:40 -msgid "Runlevel updated.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:41 -msgid "This request does not execute a command." -msgstr "" - -#: configs/nls/messages/openrc-controller.c:14 -msgid "\nOpenRC status:\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:15 -msgid "\nOperation canceled. Check service state before retrying.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:16 -msgid "\nOperation timed out after 180 seconds. Check service state before retrying.\n" -msgstr "" - -#: configs/nls/messages/openrc-controller.c:17 -msgid "\nUnassigned services:\n" -msgstr "" diff --git a/configs/nls/po/rcctl/ja_JP.po b/configs/nls/po/rcctl/ja_JP.po deleted file mode 100644 index 4cddcac9..00000000 --- a/configs/nls/po/rcctl/ja_JP.po +++ /dev/null @@ -1,19 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/rcctl/main.c:39 -msgid "Execute OpenRC" -msgstr "OpenRC の実行" - -#: userland/apps/rcctl/main.c:43 -msgid "OpenRC operation" -msgstr "OpenRC 操作" diff --git a/configs/nls/po/rcctl/rcctl.pot b/configs/nls/po/rcctl/rcctl.pot deleted file mode 100644 index 266e479f..00000000 --- a/configs/nls/po/rcctl/rcctl.pot +++ /dev/null @@ -1,11 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/rcctl/main.c:39 -msgid "Execute OpenRC" -msgstr "" - -#: userland/apps/rcctl/main.c:43 -msgid "OpenRC operation" -msgstr "" diff --git a/configs/nls/po/rcctl/zh_CN.po b/configs/nls/po/rcctl/zh_CN.po deleted file mode 100644 index 81bf2cf9..00000000 --- a/configs/nls/po/rcctl/zh_CN.po +++ /dev/null @@ -1,19 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Chinese (Simplified)\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/rcctl/main.c:39 -msgid "Execute OpenRC" -msgstr "执行 OpenRC" - -#: userland/apps/rcctl/main.c:43 -msgid "OpenRC operation" -msgstr "OpenRC 操作" diff --git a/configs/nls/po/reliefapk/ja_JP.po b/configs/nls/po/reliefapk/ja_JP.po deleted file mode 100644 index ca99c34f..00000000 --- a/configs/nls/po/reliefapk/ja_JP.po +++ /dev/null @@ -1,1237 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/reliefapk/window.cpp:536 -msgid " · Offline" -msgstr " · オフライン" - -#: userland/apps/reliefapk/window.cpp:903 -msgid " — executing\n" -msgstr " — 実行中\n" - -#: userland/apps/reliefapk/window.cpp:902 -msgid " — preparing update plan\n" -msgstr " — 更新計画を準備中\n" - -#: userland/apps/reliefapk/window.cpp:903 -msgid " — simulation\n" -msgstr " — シミュレーション\n" - -#: userland/apps/reliefapk/window.cpp:535 -msgid "%zu packages shown · %zu total%s" -msgstr "%zu パッケージを表示 · 合計 %zu%s" - -#: userland/apps/reliefapk/window.cpp:795 -msgid "%zu pending changes. Review before applying." -msgstr "%zu 件の保留中の変更があります。適用前に確認してください。" - -#: userland/apps/reliefapk/window.cpp:318 -msgid "&Help/About ReliefAPK" -msgstr "ヘルプ(&H)/ReliefAPK について" - -#: userland/apps/reliefapk/window.cpp:317 -msgid "&Help/How to use ReliefAPK" -msgstr "ヘルプ(&H)/ReliefAPK の使い方" - -#: userland/apps/reliefapk/window.cpp:296 -msgid "&Package/Install" -msgstr "パッケージ(&P)/インストール" - -#: userland/apps/reliefapk/window.cpp:301 -msgid "&Package/Install by name or version..." -msgstr "パッケージ(&P)/名前またはバージョンを指定してインストール..." - -#: userland/apps/reliefapk/window.cpp:302 -msgid "&Package/Install local APK..." -msgstr "パッケージ(&P)/ローカル APK をインストール..." - -#: userland/apps/reliefapk/window.cpp:303 -msgid "&Package/Pending changes..." -msgstr "パッケージ(&P)/保留中の変更..." - -#: userland/apps/reliefapk/window.cpp:304 -msgid "&Package/Quit" -msgstr "パッケージ(&P)/終了" - -#: userland/apps/reliefapk/window.cpp:299 -msgid "&Package/Reinstall" -msgstr "パッケージ(&P)/再インストール" - -#: userland/apps/reliefapk/window.cpp:297 -msgid "&Package/Remove" -msgstr "パッケージ(&P)/削除" - -#: userland/apps/reliefapk/window.cpp:300 -msgid "&Package/Repair" -msgstr "パッケージ(&P)/修復" - -#: userland/apps/reliefapk/window.cpp:298 -msgid "&Package/Upgrade selected" -msgstr "パッケージ(&P)/選択したものをアップグレード" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/Audit system files" -msgstr "ツール(&T)/システムファイルを監査" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Clean cache..." -msgstr "ツール(&T)/キャッシュを整理..." - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Compare versions..." -msgstr "ツール(&T)/バージョンを比較..." - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Dependency graph (DOT)" -msgstr "ツール(&T)/依存関係グラフ (DOT)" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Download cache..." -msgstr "ツール(&T)/キャッシュにダウンロード..." - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Download packages..." -msgstr "ツール(&T)/パッケージをダウンロード..." - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Find file owner..." -msgstr "ツール(&T)/ファイルの所有パッケージを検索..." - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Package checksums" -msgstr "ツール(&T)/パッケージのチェックサム" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/Package statistics" -msgstr "ツール(&T)/パッケージの統計" - -#: userland/apps/reliefapk/window.cpp:306 -msgid "&Tools/Preferences..." -msgstr "ツール(&T)/設定..." - -#: userland/apps/reliefapk/window.cpp:305 -msgid "&Tools/Repositories..." -msgstr "ツール(&T)/リポジトリ..." - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Trusted keys" -msgstr "ツール(&T)/信頼済みの鍵" - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Verify APK file..." -msgstr "ツール(&T)/APK ファイルを検証..." - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/World constraints" -msgstr "ツール(&T)/world の制約" - -#: userland/apps/reliefapk/certificate_display.h:23 -msgid "A trusted OS recovery CA bundle is unavailable. Update the ReliefOS trust package or image." -msgstr "信頼できる OS 復旧用 CA バンドルがありません。ReliefOS の信頼パッケージまたはイメージを更新してください。" - -#: userland/apps/reliefapk/certificate_display.h:31 -msgid "APK left an updated CA bundle as .apk-new. Check the protected-path policy before treating this as an updated trust store." -msgstr "APK は更新された CA バンドルを .apk-new として残しました。更新済みの信頼ストアと見なす前に、保護パスのポリシーを確認してください。" - -#: userland/apps/reliefapk/dialogs.cpp:384 -msgid "APK repositories" -msgstr "APK リポジトリ" - -#: userland/apps/reliefapk/certificate_display.h:34 -msgid "APK repository diagnostic redacted; check configured sources and TLS." -msgstr "APK リポジトリの診断情報は伏せられました。設定済みのソースと TLS を確認してください。" - -#: userland/apps/reliefapk/certificate_display.h:35 -msgid "APK skipped an unavailable package or its output was incomplete; certificate repair failed." -msgstr "APK が利用できないパッケージをスキップしたか、出力が不完全でした。証明書の修復に失敗しました。" - -#: userland/apps/reliefapk/window.cpp:73 -msgid "About ReliefAPK" -msgstr "ReliefAPK について" - -#: userland/apps/reliefapk/dialogs.cpp:217 -msgid "Absolute path of the file:" -msgstr "ファイルの絶対パス:" - -#: userland/apps/reliefapk/dialogs.cpp:422 -msgid "Add" -msgstr "追加" - -#: userland/apps/fltk_support.h:29 -msgid "Add to Favorites" -msgstr "お気に入りに追加" - -#: userland/apps/reliefapk/dialogs.cpp:417 -msgid "Address:" -msgstr "アドレス:" - -#: userland/apps/reliefapk/dialogs.cpp:97 -msgid "Administrator authentication" -msgstr "管理者認証" - -#: userland/apps/reliefapk/dialogs.cpp:318 -msgid "Administrator authentication:" -msgstr "管理者認証:" - -#: userland/apps/fltk_support.h:30 -msgid "All Files (*)" -msgstr "すべてのファイル (*)" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "All packages" -msgstr "すべてのパッケージ" - -#: userland/apps/reliefapk/window.cpp:1196 -msgid "An operation is still running. Finish or cancel it in the operation window." -msgstr "操作を実行中です。操作ウィンドウで完了またはキャンセルしてください。" - -#: userland/apps/reliefapk/window.cpp:908 -msgid "Another operation is running." -msgstr "別の操作を実行中です。" - -#: userland/apps/reliefapk/window.cpp:1000 -msgid "Apply changes" -msgstr "変更を適用" - -#: userland/apps/reliefapk/window.cpp:948 -msgid "Applying the reviewed system update..." -msgstr "確認済みのシステム更新を適用しています..." - -#: userland/apps/reliefapk/window.cpp:688 -msgid "Architecture" -msgstr "アーキテクチャ" - -#: userland/apps/reliefapk/window.cpp:169 -msgid "Audit system files" -msgstr "システムファイルを監査" - -#: userland/apps/reliefapk/dialogs.cpp:105 -msgid "Authenticate" -msgstr "認証" - -#: userland/apps/reliefapk/window.cpp:273 -msgid "Available" -msgstr "利用可能" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Available version" -msgstr "利用可能なバージョン" - -#: userland/apps/reliefapk/certificate_display.h:24 -msgid "CA RECOVERY PLAN: the system CA file is unusable. Apply will first restore the trusted OS CA bundle, preserving the old regular file in a private backup." -msgstr "CA 復旧計画: システム CA ファイルは使用できません。適用すると、まず信頼できる OS の CA バンドルを復元し、以前の通常ファイルを非公開のバックアップに保持します。" - -#: userland/apps/reliefapk/certificate_display.h:51 -msgid "CA bundle changed during recovery; retry after checking the system state" -msgstr "復旧中に CA バンドルが変更されました。システムの状態を確認してから再試行してください" - -#: userland/apps/reliefapk/certificate_display.h:38 -msgid "CA directory ownership or permissions are unsafe" -msgstr "CA ディレクトリの所有者または権限が安全ではありません" - -#: userland/apps/reliefapk/certificate_display.h:37 -msgid "CA parent directories must be root-owned and not group/other writable or symlinks" -msgstr "CA の親ディレクトリは root が所有し、グループや他のユーザーによる書き込みができず、シンボリックリンクではない必要があります" - -#: userland/apps/reliefapk/certificate_display.h:41 -msgid "CA recovery directory ownership or permissions are unsafe" -msgstr "CA 復旧ディレクトリの所有者または権限が安全ではありません" - -#: userland/apps/reliefapk/certificate_display.h:40 -msgid "CA trust file must be an owned regular file, not group/other writable, and at most 4 MiB" -msgstr "CA 信頼ファイルは適切な所有者の通常ファイルで、グループや他のユーザーが書き込めず、4 MiB 以下である必要があります" - -#: userland/apps/reliefapk/dialogs.cpp:321 -msgid "Cache directory:" -msgstr "キャッシュディレクトリ:" - -#: userland/apps/reliefapk/dialogs.cpp:103 -msgid "Cancel" -msgstr "キャンセル" - -#: userland/apps/reliefapk/window.cpp:1176 -msgid "Canceling..." -msgstr "キャンセルしています..." - -#: userland/apps/reliefapk/certificate_display.h:44 -msgid "Cannot inspect the current CA bundle" -msgstr "現在の CA バンドルを調べられません" - -#: userland/apps/reliefapk/certificate_display.h:39 -msgid "Cannot inspect the current CA trust path" -msgstr "現在の CA 信頼パスを調べられません" - -#: userland/apps/reliefapk/window.cpp:613 -msgid "Cannot read package information." -msgstr "パッケージ情報を読み取れません。" - -#: userland/apps/reliefapk/dialogs.cpp:168 -msgid "Cannot read world constraints." -msgstr "world の制約を読み取れません。" - -#: userland/apps/reliefapk/window.cpp:985 -msgid "Cannot save the log." -msgstr "ログを保存できません。" - -#: userland/apps/reliefapk/dialogs.cpp:133 -msgid "Cannot send the password to the system authentication service." -msgstr "システム認証サービスにパスワードを送信できません。" - -#: userland/apps/reliefapk/window.cpp:601 -msgid "Cannot start apk." -msgstr "apk を起動できません。" - -#: userland/apps/reliefapk/window.cpp:510 -msgid "Cannot start apk. Check that /sbin/apk is installed." -msgstr "apk を起動できません。/sbin/apk がインストールされているか確認してください。" - -#: userland/apps/reliefapk/dialogs.cpp:611 -msgid "Cannot start the requested operation." -msgstr "要求された操作を開始できません。" - -#: userland/apps/reliefapk/window.cpp:1110 -msgid "Certificate recovery checked. Review the recovery plan and package output, then apply." -msgstr "証明書の復旧を確認しました。復旧計画とパッケージの出力を確認してから適用してください。" - -#: userland/apps/reliefapk/dialogs.cpp:355 -msgid "Choose an absolute cache directory, or leave it empty." -msgstr "キャッシュディレクトリの絶対パスを選択するか、空欄のままにしてください。" - -#: userland/apps/reliefapk/window.cpp:161 -msgid "Clean cache" -msgstr "キャッシュを整理" - -#: userland/apps/reliefapk/dialogs.cpp:248 -msgid "Clean unused apk cache entries?" -msgstr "未使用の apk キャッシュ項目を削除しますか?" - -#: userland/apps/reliefapk/window.cpp:816 -msgid "Clear all" -msgstr "すべてクリア" - -#: userland/apps/reliefapk/window.cpp:998 -msgid "Clear log" -msgstr "ログをクリア" - -#: userland/apps/reliefapk/dialogs.cpp:48 -msgid "Close" -msgstr "閉じる" - -#: userland/apps/reliefapk/window.cpp:185 -msgid "Compare versions" -msgstr "バージョンを比較" - -#: userland/apps/reliefapk/window.cpp:1139 -msgid "Completed successfully." -msgstr "正常に完了しました。" - -#: userland/apps/reliefapk/dialogs.cpp:385 -msgid "Config file:" -msgstr "設定ファイル:" - -#: userland/apps/reliefapk/dialogs.cpp:247 -msgid "Continue" -msgstr "続行" - -#: userland/apps/reliefapk/certificate_display.h:52 -msgid "Could not atomically install the OS recovery CA bundle" -msgstr "OS 復旧用 CA バンドルをアトミックにインストールできませんでした" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "画像をデコードできません" - -#: userland/apps/reliefapk/certificate_display.h:27 -msgid "Could not determine whether the system CA package is installed" -msgstr "システム CA パッケージがインストールされているか判定できませんでした" - -#: userland/apps/reliefapk/certificate_display.h:46 -msgid "Could not prepare the complete OS recovery CA bundle" -msgstr "完全な OS 復旧用 CA バンドルを準備できませんでした" - -#: userland/apps/reliefapk/certificate_display.h:48 -msgid "Could not preserve the complete previous CA bundle" -msgstr "以前の CA バンドルを完全に保持できませんでした" - -#: userland/apps/reliefapk/certificate_display.h:47 -msgid "Could not preserve the previous CA bundle" -msgstr "以前の CA バンドルを保持できませんでした" - -#: userland/apps/reliefapk/certificate_display.h:50 -msgid "Could not sync CA recovery files" -msgstr "CA 復旧ファイルを同期できませんでした" - -#: userland/apps/reliefapk/certificate_display.h:49 -msgid "Could not sync the previous CA bundle backup" -msgstr "以前の CA バンドルのバックアップを同期できませんでした" - -#: userland/apps/fltk_support.h:38 -msgid "Create a new directory" -msgstr "新しいフォルダーを作成" - -#: userland/apps/fltk_support.h:31 -msgid "Custom Filter" -msgstr "カスタムフィルター" - -#: userland/apps/reliefapk/window.cpp:177 -msgid "Dependencies" -msgstr "依存関係" - -#: userland/apps/reliefapk/window.cpp:187 -msgid "Dependency graph (DOT)" -msgstr "依存関係グラフ (DOT)" - -#: userland/apps/reliefapk/window.cpp:240 -msgid "Description" -msgstr "説明" - -#: userland/apps/reliefapk/window.cpp:360 -msgid "Details" -msgstr "詳細" - -#: userland/apps/reliefapk/dialogs.cpp:175 -msgid "Directory" -msgstr "ディレクトリ" - -#: userland/apps/reliefapk/dialogs.cpp:403 -msgid "Discard changes" -msgstr "変更を破棄" - -#: userland/apps/reliefapk/dialogs.cpp:404 -msgid "Discard the unsaved repository changes?" -msgstr "未保存のリポジトリの変更を破棄しますか?" - -#: userland/apps/reliefapk/dialogs.cpp:466 -msgid "Down" -msgstr "下へ" - -#: userland/apps/reliefapk/window.cpp:163 -msgid "Download cache" -msgstr "キャッシュにダウンロード" - -#: userland/apps/reliefapk/dialogs.cpp:249 -msgid "Download missing packages into the apk cache?" -msgstr "不足しているパッケージを apk キャッシュにダウンロードしますか?" - -#: userland/apps/reliefapk/dialogs.cpp:210 -msgid "Download package dependencies as well?" -msgstr "パッケージの依存関係もダウンロードしますか?" - -#: userland/apps/reliefapk/window.cpp:165 -msgid "Download packages" -msgstr "パッケージをダウンロード" - -#: userland/apps/reliefapk/dialogs.cpp:199 -msgid "Download packages to" -msgstr "パッケージのダウンロード先" - -#: userland/apps/reliefapk/dialogs.cpp:420 -msgid "Enabled" -msgstr "有効" - -#: userland/apps/reliefapk/dialogs.cpp:115 -msgid "Enter the root password to authorize this operation." -msgstr "この操作を認可するには root のパスワードを入力してください。" - -#: userland/apps/reliefapk/dialogs.cpp:116 -msgid "Enter the sudo password for %s." -msgstr "%s の sudo パスワードを入力してください。" - -#: userland/apps/reliefapk/certificate_display.h:45 -msgid "Existing CA bundle must be an owned regular file of at most 4 MiB" -msgstr "既存の CA バンドルは適切な所有者の 4 MiB 以下の通常ファイルである必要があります" - -#: userland/apps/fltk_support.h:33 -msgid "Favorites" -msgstr "お気に入り" - -#: userland/apps/fltk_support.h:35 -msgid "File Systems" -msgstr "ファイルシステム" - -#: userland/apps/fltk_support.h:34 -msgid "File name:" -msgstr "ファイル名:" - -#: userland/apps/reliefapk/window.cpp:175 -msgid "Files" -msgstr "ファイル" - -#: userland/apps/reliefapk/window.cpp:333 -msgid "Filter package names and descriptions (Ctrl+F)" -msgstr "パッケージ名と説明で絞り込む (Ctrl+F)" - -#: userland/apps/reliefapk/window.cpp:181 -msgid "Find file owner" -msgstr "ファイルの所有パッケージを検索" - -#: userland/apps/reliefapk/dialogs.cpp:149 -msgid "Finish or close the current operation first." -msgstr "先に現在の操作を完了するか、閉じてください。" - -#: userland/apps/reliefapk/dialogs.cpp:222 -msgid "First version:" -msgstr "1 つ目のバージョン:" - -#: userland/apps/reliefapk/window.cpp:690 -msgid "Home page" -msgstr "ホームページ" - -#: userland/apps/reliefapk/dialogs.cpp:209 -msgid "Include dependencies" -msgstr "依存関係を含める" - -#: userland/apps/reliefapk/dialogs.cpp:317 -msgid "Index cache age (minutes):" -msgstr "インデックスキャッシュの有効期間 (分):" - -#: userland/apps/reliefapk/dialogs.cpp:349 -msgid "Index cache age must be between 0 and 10080 minutes." -msgstr "インデックスキャッシュの有効期間は 0~10080 分で指定してください。" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "入力が長すぎます" - -#: userland/apps/reliefapk/window.cpp:147 -msgid "Install" -msgstr "インストール" - -#: userland/apps/reliefapk/window.cpp:327 -msgid "Install local APK" -msgstr "ローカル APK をインストール" - -#: userland/apps/reliefapk/window.cpp:273 -msgid "Installed" -msgstr "インストール済み" - -#: userland/apps/reliefapk/window.cpp:693 -msgid "Installed size" -msgstr "インストール後のサイズ" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Installed version" -msgstr "インストール済みバージョン" - -#: userland/apps/reliefapk/dialogs.cpp:360 -msgid "Invalid cache directory." -msgstr "キャッシュディレクトリが無効です。" - -#: userland/apps/reliefapk/window.cpp:746 -msgid "Invalid package name, constraint or APK path." -msgstr "パッケージ名、制約、または APK パスが無効です。" - -#: userland/apps/reliefapk/certificate_display.h:22 -msgid "Invalid privileged apk request" -msgstr "特権 apk 要求が無効です" - -#: configs/nls/messages/reliefapk.c:5 -msgid "Invalid repository address or tag" -msgstr "リポジトリのアドレスまたはタグが無効です" - -#: userland/apps/reliefapk/dialogs.cpp:427 -msgid "Invalid repository address or tag." -msgstr "リポジトリのアドレスまたはタグが無効です。" - -#: configs/nls/messages/reliefapk.c:6 -msgid "Invalid repository file" -msgstr "リポジトリファイルが無効です" - -#: configs/nls/messages/reliefapk.c:7 -msgid "JSON input exceeds limits" -msgstr "JSON 入力が上限を超えています" - -#: configs/nls/messages/reliefapk.c:8 -msgid "JSON package object exceeds depth limit" -msgstr "JSON パッケージオブジェクトの深さが上限を超えています" - -#: userland/apps/reliefapk/dialogs.cpp:322 -msgid "Leave empty to use the system apk cache." -msgstr "空欄の場合はシステムの apk キャッシュを使用します。" - -#: userland/apps/reliefapk/window.cpp:689 -msgid "License" -msgstr "ライセンス" - -#: userland/apps/reliefapk/window.cpp:407 -msgid "Loading installed packages..." -msgstr "インストール済みパッケージを読み込んでいます..." - -#: userland/apps/fltk_support.h:36 -msgid "Manage Favorites" -msgstr "お気に入りの管理" - -#: userland/apps/reliefapk/dialogs.cpp:316 -msgid "Network timeout (seconds):" -msgstr "ネットワークタイムアウト (秒):" - -#: userland/apps/reliefapk/dialogs.cpp:344 -msgid "Network timeout must be between 1 and 600 seconds." -msgstr "ネットワークタイムアウトは 1~600 秒で指定してください。" - -#: userland/apps/fltk_support.h:37 -msgid "New Directory?" -msgstr "新しいフォルダーを作成しますか?" - -#: userland/apps/fltk_support.h:28 -msgid "No" -msgstr "いいえ" - -#: userland/apps/reliefapk/window.cpp:657 -msgid "No package details available." -msgstr "利用可能なパッケージの詳細がありません。" - -#: userland/apps/reliefapk/window.cpp:198 -msgid "None" -msgstr "なし" - -#: userland/apps/fltk_support.h:24 -msgid "OK" -msgstr "OK" - -#: userland/apps/reliefapk/certificate_display.h:69 -msgid "OS CA baseline restored atomically; previous file backup: " -msgstr "OS の基準 CA をアトミックに復元しました。以前のファイルのバックアップ: " - -#: userland/apps/reliefapk/certificate_display.h:53 -msgid "OS CA bundle was restored, but directory synchronization failed" -msgstr "OS の CA バンドルは復元されましたが、ディレクトリの同期に失敗しました" - -#: userland/apps/reliefapk/certificate_display.h:68 -msgid "OS CA recovery failed: " -msgstr "OS の CA 復旧に失敗しました: " - -#: userland/apps/reliefapk/certificate_display.h:43 -msgid "OS recovery CA bundle has no usable certificates" -msgstr "OS 復旧用 CA バンドルに使用可能な証明書がありません" - -#: userland/apps/reliefapk/certificate_display.h:42 -msgid "OS recovery CA bundle is empty or too large" -msgstr "OS 復旧用 CA バンドルが空か、大きすぎます" - -#: userland/apps/reliefapk/dialogs.cpp:315 -msgid "Offline: use installed packages and cached indexes only" -msgstr "オフライン: インストール済みパッケージとキャッシュされたインデックスのみを使用" - -#: userland/apps/reliefapk/certificate_display.h:26 -msgid "Online package simulation is deferred until trust is restored. The authenticated worker will then check signed repositories, simulate and repair ca-certificates and ca-certificates-bundle together." -msgstr "オンラインパッケージのシミュレーションは信頼が復元されるまで延期されます。その後、認証済みワーカーが署名済みリポジトリを確認し、ca-certificates と ca-certificates-bundle をまとめてシミュレーションして修復します。" - -#: userland/apps/reliefapk/dialogs.cpp:209 -msgid "Only selected" -msgstr "選択したもののみ" - -#: configs/nls/messages/reliefapk.c:9 -msgid "Open cache directory" -msgstr "キャッシュディレクトリを開く" - -#: configs/nls/messages/reliefapk.c:10 -msgid "Open repositories" -msgstr "リポジトリを開く" - -#: userland/apps/reliefapk/window.cpp:1091 -msgid "Operation failed. Review the output below." -msgstr "操作に失敗しました。下の出力を確認してください。" - -#: userland/apps/reliefapk/window.cpp:1096 -msgid "Operation failed; remaining changes were not executed." -msgstr "操作に失敗しました。残りの変更は実行されませんでした。" - -#: userland/apps/reliefapk/window.cpp:872 -msgid "Operations run in the order shown. Separate apk transactions are checked again before execution.\n\n" -msgstr "操作は表示順に実行されます。個々の apk トランザクションは実行前に再確認されます。\n\n" - -#: userland/apps/reliefapk/dialogs.cpp:419 -msgid "Optional repository tag, without @" -msgstr "リポジトリタグ (任意、@ を除く)" - -#: userland/apps/reliefapk/window.cpp:346 -msgid "Orphaned" -msgstr "孤立" - -#: userland/apps/reliefapk/window.cpp:503 -msgid "Out of memory" -msgstr "メモリ不足" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Package" -msgstr "パッケージ" - -#: userland/apps/reliefapk/window.cpp:189 -msgid "Package checksums" -msgstr "パッケージのチェックサム" - -#: userland/apps/reliefapk/window.cpp:65 -msgid "Package name, version constraint or repository tag:" -msgstr "パッケージ名、バージョン制約、またはリポジトリタグ:" - -#: userland/apps/reliefapk/dialogs.cpp:234 -msgid "Package name:" -msgstr "パッケージ名:" - -#: userland/apps/reliefapk/dialogs.cpp:203 -msgid "Package names or version constraints, separated by spaces:" -msgstr "パッケージ名またはバージョン制約 (スペース区切り):" - -#: userland/apps/reliefapk/window.cpp:612 -msgid "Package query" -msgstr "パッケージの問い合わせ" - -#: userland/apps/reliefapk/window.cpp:610 -msgid "Package query failed. Refresh indexes or check the operation log." -msgstr "パッケージの問い合わせに失敗しました。インデックスを更新するか、操作ログを確認してください。" - -#: userland/apps/reliefapk/window.cpp:171 -msgid "Package statistics" -msgstr "パッケージの統計" - -#: userland/apps/reliefapk/dialogs.cpp:102 -msgid "Password:" -msgstr "パスワード:" - -#: userland/apps/reliefapk/window.cpp:800 -msgid "Pending changes" -msgstr "保留中の変更" - -#: userland/apps/reliefapk/window.cpp:784 -msgid "Pending changes (%zu)" -msgstr "保留中の変更 (%zu)" - -#: userland/apps/reliefapk/window.cpp:329 -msgid "Pending changes (0)" -msgstr "保留中の変更 (0)" - -#: userland/apps/fltk_support.h:32 -msgid "Please choose an existing file!" -msgstr "既存のファイルを選択してください。" - -#: userland/apps/reliefapk/window.cpp:939 -msgid "Please wait" -msgstr "お待ちください" - -#: userland/apps/reliefapk/window.cpp:360 -msgid "Policy" -msgstr "ポリシー" - -#: userland/apps/reliefapk/window.cpp:870 -msgid "Preparing a verified system update plan. Administrator authentication permits downloading and saving the plan; installed packages are changed only after you apply it.\n\n" -msgstr "検証済みのシステム更新計画を準備しています。管理者認証により計画のダウンロードと保存を許可します。インストール済みパッケージは適用後に変更されます。\n\n" - -#: userland/apps/reliefapk/window.cpp:947 -msgid "Preparing system update..." -msgstr "システム更新を準備しています..." - -#: userland/apps/fltk_support.h:39 -msgid "Preview" -msgstr "プレビュー" - -#: userland/apps/reliefapk/window.cpp:826 -msgid "Preview changes" -msgstr "変更をプレビュー" - -#: userland/apps/reliefapk/window.cpp:697 -msgid "Provides" -msgstr "提供する機能" - -#: configs/nls/messages/reliefapk.c:11 -msgid "Read repositories" -msgstr "リポジトリを読み取る" - -#: userland/apps/reliefapk/window.cpp:599 -msgid "Reading package details..." -msgstr "パッケージの詳細を読み込んでいます..." - -#: userland/apps/reliefapk/window.cpp:513 -msgid "Reading packages..." -msgstr "パッケージを読み込んでいます..." - -#: userland/apps/reliefapk/window.cpp:319 -msgid "Refresh" -msgstr "更新" - -#: userland/apps/reliefapk/window.cpp:159 -msgid "Refresh indexes" -msgstr "インデックスを更新" - -#: userland/apps/reliefapk/window.cpp:320 -msgid "Refresh the displayed package list (F5)" -msgstr "表示中のパッケージ一覧を更新 (F5)" - -#: userland/apps/reliefapk/certificate_display.h:29 -msgid "Refresh the two world requests as plain package names without version/tag constraints, then reinstall both so source certificates and generated output agree. Other world requests are preserved." -msgstr "2 つの world 要求をバージョンやタグの制約のないパッケージ名に更新し、元の証明書と生成結果が一致するよう両方を再インストールします。他の world 要求は保持されます。" - -#: userland/apps/reliefapk/window.cpp:153 -msgid "Reinstall" -msgstr "再インストール" - -#: userland/apps/reliefapk/window.cpp:53 -msgid "ReliefAPK help" -msgstr "ReliefAPK のヘルプ" - -#: userland/apps/reliefapk/dialogs.cpp:313 -msgid "ReliefAPK preferences" -msgstr "ReliefAPK の設定" - -#: userland/apps/reliefapk/window.cpp:74 -msgid "ReliefAPK\nGraphical front end for Alpine Package Keeper\n\nC++ / FLTK — ReliefOS\nPackage queries and transactions are performed by the system apk command." -msgstr "ReliefAPK\nAlpine Package Keeper のグラフィカルフロントエンド\n\nC++ / FLTK — ReliefOS\nパッケージの問い合わせとトランザクションはシステムの apk コマンドで実行されます。" - -#: userland/apps/reliefapk/dialogs.cpp:477 -msgid "Reload" -msgstr "再読み込み" - -#: userland/apps/reliefapk/dialogs.cpp:452 -msgid "Remove" -msgstr "削除" - -#: userland/apps/reliefapk/window.cpp:804 -msgid "Remove selected" -msgstr "選択したものを削除" - -#: userland/apps/reliefapk/window.cpp:155 -msgid "Repair" -msgstr "修復" - -#: userland/apps/reliefapk/certificate_display.h:28 -msgid "Repair targets: ca-certificates and ca-certificates-bundle (package signatures and TLS verification required)." -msgstr "修復対象: ca-certificates と ca-certificates-bundle (パッケージ署名と TLS の検証が必要)。" - -#: userland/apps/reliefapk/window.cpp:145 -msgid "Repair/update system certificates" -msgstr "システム証明書を修復 / 更新" - -#: configs/nls/messages/reliefapk.c:12 -msgid "Replace repositories" -msgstr "リポジトリを置き換える" - -#: configs/nls/messages/reliefapk.c:13 -msgid "Repositories changed outside ReliefAPK. Reload before saving." -msgstr "リポジトリが ReliefAPK の外部で変更されました。保存する前に再読み込みしてください。" - -#: userland/apps/reliefapk/window.cpp:691 -msgid "Repository" -msgstr "リポジトリ" - -#: configs/nls/messages/reliefapk.c:14 -msgid "Repository configuration is too large" -msgstr "リポジトリ設定が大きすぎます" - -#: userland/apps/reliefapk/dialogs.cpp:582 -msgid "Repository configuration is too large." -msgstr "リポジトリ設定が大きすぎます。" - -#: configs/nls/messages/reliefapk.c:15 -msgid "Repository path too long" -msgstr "リポジトリのパスが長すぎます" - -#: userland/apps/reliefapk/window.cpp:173 -msgid "Repository policy" -msgstr "リポジトリポリシー" - -#: userland/apps/reliefapk/window.cpp:179 -msgid "Reverse dependencies" -msgstr "逆依存関係" - -#: userland/apps/reliefapk/window.cpp:868 -msgid "Review package changes" -msgstr "パッケージの変更を確認" - -#: userland/apps/reliefapk/window.cpp:740 -msgid "Review system upgrades separately from other pending package operations." -msgstr "システム更新は、他の保留中のパッケージ操作とは分けて確認してください。" - -#: userland/apps/reliefapk/certificate_display.h:21 -msgid "Root authentication required" -msgstr "root 認証が必要です" - -#: userland/apps/reliefapk/certificate_display.h:20 -msgid "Root authentication required for certificate repair" -msgstr "証明書の修復には root 認証が必要です" - -#: userland/apps/reliefapk/window.cpp:950 -msgid "Running apk..." -msgstr "apk を実行しています..." - -#: userland/apps/reliefapk/dialogs.cpp:325 -msgid "Save" -msgstr "保存" - -#: configs/nls/messages/reliefapk.c:16 -msgid "Save backup" -msgstr "バックアップを保存" - -#: userland/apps/reliefapk/dialogs.cpp:486 -msgid "Save changes" -msgstr "変更を保存" - -#: userland/apps/reliefapk/window.cpp:976 -msgid "Save log..." -msgstr "ログを保存..." - -#: userland/apps/reliefapk/window.cpp:980 -msgid "Save operation log" -msgstr "操作ログを保存" - -#: userland/apps/reliefapk/dialogs.cpp:594 -msgid "Save repositories" -msgstr "リポジトリを保存" - -#: userland/apps/reliefapk/dialogs.cpp:607 -msgid "Saving repositories..." -msgstr "リポジトリを保存しています..." - -#: userland/apps/reliefapk/dialogs.cpp:595 -msgid "Saving repository configuration. The previous file is kept as .reliefapk.bak.\n" -msgstr "リポジトリ設定を保存しています。以前のファイルは .reliefapk.bak として保持されます。\n" - -#: userland/apps/reliefapk/window.cpp:54 -msgid "Search by package name or description. Select one or more packages, choose an operation, then review the pending changes.\n\nPreview runs apk --simulate. Apply executes the changes in the displayed order. Each operation is checked again before execution. System upgrades use the native ReliefOS updater to prepare a verified plan, then apply that exact plan. Review system upgrades separately from other package operations.\n\nRefresh indexes after changing repositories or when available packages are missing. Installed packages remain available offline.\n\nAdministrator operations use your system sudo or root authentication policy. Passwords are never saved.\n\nCtrl+F: search F5: refresh list Ctrl+Enter: preview changes" -msgstr "パッケージ名や説明で検索します。パッケージと操作を選び、保留中の変更を確認してください。\n\nプレビューには apk --simulate を使います。適用時は表示順に変更を実行し、各操作の直前に再確認します。システム更新は ReliefOS のネイティブ更新プログラムで検証済みの計画を作成し、その計画を適用します。他のパッケージ操作とは分けて確認してください。\n\nリポジトリを変更した場合や利用可能なパッケージが見つからない場合は、インデックスを更新してください。インストール済みパッケージはオフラインでも表示できます。\n\n管理者操作にはシステムの sudo または root 認証を使います。パスワードは保存しません。\n\nCtrl+F: 検索 F5: 一覧を更新 Ctrl+Enter: 変更をプレビュー" - -#: userland/apps/reliefapk/window.cpp:331 -msgid "Search:" -msgstr "検索:" - -#: userland/apps/reliefapk/dialogs.cpp:226 -msgid "Second version:" -msgstr "2 つ目のバージョン:" - -#: userland/apps/reliefapk/dialogs.cpp:212 -msgid "Select APK package" -msgstr "APK パッケージを選択" - -#: userland/apps/reliefapk/window.cpp:557 -msgid "Select a package to view its details." -msgstr "詳細を表示するパッケージを選択してください。" - -#: userland/apps/reliefapk/window.cpp:769 -msgid "Select one or more packages first." -msgstr "先にパッケージを 1 つ以上選択してください。" - -#: userland/apps/fltk_support.h:42 -msgid "Show hidden files" -msgstr "隠しファイルを表示" - -#: userland/apps/fltk_support.h:41 -msgid "Show:" -msgstr "表示:" - -#: userland/apps/reliefapk/window.cpp:949 -msgid "Simulating changes..." -msgstr "変更をシミュレーションしています..." - -#: userland/apps/reliefapk/window.cpp:1111 -msgid "Simulation completed. Review the output, then apply." -msgstr "シミュレーションが完了しました。出力を確認してから適用してください。" - -#: userland/apps/reliefapk/window.cpp:240 -msgid "Size" -msgstr "サイズ" - -#: userland/apps/reliefapk/window.cpp:644 -msgid "Some repository indexes are unavailable. Refresh indexes to see all packages." -msgstr "一部のリポジトリインデックスを利用できません。すべてのパッケージを表示するにはインデックスを更新してください。" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Status" -msgstr "状態" - -#: configs/nls/messages/reliefapk.c:17 -msgid "Sync repositories directory" -msgstr "リポジトリディレクトリを同期" - -#: userland/apps/reliefapk/certificate_display.h:33 -msgid "System CA bundle installed and parsed successfully" -msgstr "システム CA バンドルのインストールと解析が正常に完了しました" - -#: userland/apps/reliefapk/window.cpp:1138 -msgid "System update completed. Restart to activate the updated kernel." -msgstr "システム更新が完了しました。更新したカーネルを使うには再起動してください。" - -#: userland/apps/reliefapk/window.cpp:1090 -msgid "System update needs attention. Review the output and run reliefos-update status." -msgstr "システム更新の確認が必要です。出力を確認し、reliefos-update status を実行してください。" - -#: userland/apps/reliefapk/dialogs.cpp:418 -msgid "Tag:" -msgstr "タグ:" - -#: configs/nls/messages/reliefapk.c:18 -msgid "The administrator cache and its parent directories must exist, be root-owned, and not be writable by other users." -msgstr "管理者キャッシュとその親ディレクトリは存在し、root が所有し、他のユーザーが書き込めない必要があります。" - -#: configs/nls/messages/reliefapk.c:19 -msgid "The administrator cache must be an absolute directory." -msgstr "管理者キャッシュにはディレクトリの絶対パスを指定する必要があります。" - -#: userland/apps/reliefapk/certificate_display.h:32 -msgid "The installed CA bundle is still unusable. Check the APK protected-path policy and .apk-new files; update the ReliefOS trust package/configuration." -msgstr "インストールされた CA バンドルはまだ使用できません。APK の保護パスポリシーと .apk-new ファイルを確認し、ReliefOS の信頼パッケージまたは設定を更新してください。" - -#: userland/apps/reliefapk/certificate_display.h:25 -msgid "The two CA world requests will be refreshed as plain package names (without version or tag constraints); all other world requests are preserved." -msgstr "2 つの CA の world 要求は、バージョンやタグの制約のないパッケージ名に更新されます。他の world 要求はすべて保持されます。" - -#: userland/apps/reliefapk/window.cpp:1178 -msgid "The update is applying changes. Wait for it to finish before closing." -msgstr "変更を適用しています。完了するまで閉じずにお待ちください。" - -#: userland/apps/reliefapk/window.cpp:845 -msgid "There are no pending changes." -msgstr "保留中の変更はありません。" - -#: userland/apps/reliefapk/window.cpp:916 -msgid "Too many packages in one operation." -msgstr "1 回の操作に含まれるパッケージが多すぎます。" - -#: userland/apps/reliefapk/window.cpp:191 -msgid "Trusted keys" -msgstr "信頼済みの鍵" - -#: userland/apps/reliefapk/certificate_display.h:67 -msgid "Unsafe system CA trust path; no online operation started: " -msgstr "システム CA の信頼パスが安全ではありません。オンライン操作は開始されませんでした: " - -#: userland/apps/reliefapk/dialogs.cpp:464 -msgid "Up" -msgstr "上へ" - -#: userland/apps/reliefapk/dialogs.cpp:435 -msgid "Update entry" -msgstr "エントリを更新" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "Upgradable" -msgstr "アップグレード可能" - -#: userland/apps/reliefapk/window.cpp:151 -msgid "Upgrade selected" -msgstr "選択したものをアップグレード" - -#: userland/apps/reliefapk/window.cpp:157 -msgid "Upgrade system" -msgstr "システムをアップグレード" - -#: userland/apps/reliefapk/certificate_display.h:30 -msgid "Verified CA package metadata is unavailable. Check HTTPS, repository signatures, keys and sources. The restored OS CA bundle, if any, has been retained." -msgstr "検証済み CA パッケージのメタデータを利用できません。HTTPS、リポジトリの署名、鍵、ソースを確認してください。OS の CA バンドルが復元された場合は保持されています。" - -#: userland/apps/reliefapk/window.cpp:1108 -msgid "Verified update plan ready. Review the changes, then apply." -msgstr "検証済みの更新計画を準備しました。変更を確認してから適用してください。" - -#: userland/apps/reliefapk/window.cpp:167 -msgid "Verify APK file" -msgstr "APK ファイルを検証" - -#: userland/apps/reliefapk/window.cpp:686 -msgid "Version" -msgstr "バージョン" - -#: userland/apps/reliefapk/dialogs.cpp:468 -msgid "View source" -msgstr "ソースを表示" - -#: userland/apps/reliefapk/dialogs.cpp:122 -msgid "Waiting for administrator authentication..." -msgstr "管理者認証を待っています..." - -#: userland/apps/reliefapk/dialogs.cpp:166 -msgid "World constraints" -msgstr "world の制約" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "World packages and dependencies" -msgstr "world パッケージと依存関係" - -#: userland/apps/fltk_support.h:27 -msgid "Yes" -msgstr "はい" - -#: userland/apps/reliefapk/window.cpp:1162 -msgid "\nApplying the reviewed operations...\n" -msgstr "\n確認済みの操作を適用しています...\n" - -#: userland/apps/reliefapk/window.cpp:1157 -msgid "\nApplying the verified system update plan...\n" -msgstr "\n検証済みのシステム更新計画を適用しています...\n" - -#: userland/apps/reliefapk/window.cpp:952 -msgid "\nCannot start the requested operation.\n" -msgstr "\n要求された操作を開始できません。\n" - -#: userland/apps/reliefapk/window.cpp:1065 -msgid "\nExit status: %d\n" -msgstr "\n終了ステータス: %d\n" - -#: userland/apps/reliefapk/window.cpp:1082 -msgid "\nThe native updater returned an incomplete or invalid response. Review its status before retrying.\n" -msgstr "\nネイティブ更新プログラムの応答が不完全、または無効です。再試行する前に更新状態を確認してください。\n" - -#: configs/nls/messages/reliefapk.c:20 -msgid "action does not take targets" -msgstr "この操作には対象を指定できません" - -#: configs/nls/messages/reliefapk.c:21 -msgid "action requires package targets" -msgstr "この操作にはパッケージの対象が必要です" - -#: configs/nls/messages/reliefapk.c:22 -msgid "certificate repair is unavailable" -msgstr "証明書の修復を利用できません" - -#: configs/nls/messages/reliefapk.c:23 -msgid "certificate repair requires the fixed CA package and online mode" -msgstr "証明書の修復には指定の CA パッケージとオンラインモードが必要です" - -#: configs/nls/messages/reliefapk.c:24 -msgid "control byte in JSON package object" -msgstr "JSON パッケージオブジェクトに制御バイトが含まれています" - -#: configs/nls/messages/reliefapk.c:25 -msgid "could not build command arguments" -msgstr "コマンド引数を作成できませんでした" - -#: userland/apps/reliefapk/certificate_display.h:36 -msgid "could not prepare the certificate package operation" -msgstr "証明書パッケージの操作を準備できませんでした" - -#: configs/nls/messages/reliefapk.c:27 -msgid "expected JSON package array" -msgstr "JSON パッケージ配列が必要です" - -#: configs/nls/messages/reliefapk.c:28 -msgid "expected comma or end of package array" -msgstr "カンマまたはパッケージ配列の終端が必要です" - -#: configs/nls/messages/reliefapk.c:29 -msgid "expected package object" -msgstr "パッケージオブジェクトが必要です" - -#: configs/nls/messages/reliefapk.c:30 -msgid "fetch requires an output directory and package constraints" -msgstr "fetch には出力ディレクトリとパッケージ制約が必要です" - -#: configs/nls/messages/reliefapk.c:31 -msgid "invalid JSON package object structure" -msgstr "JSON パッケージオブジェクトの構造が無効です" - -#: configs/nls/messages/reliefapk.c:32 -msgid "invalid apk settings" -msgstr "apk の設定が無効です" - -#: configs/nls/messages/reliefapk.c:33 -msgid "invalid native updater response" -msgstr "ネイティブ更新プログラムの応答が無効です" - -#: configs/nls/messages/reliefapk.c:34 -msgid "invalid package constraint" -msgstr "パッケージ制約が無効です" - -#: configs/nls/messages/reliefapk.c:35 -msgid "invalid package object" -msgstr "パッケージオブジェクトが無効です" - -#: configs/nls/messages/reliefapk.c:36 -msgid "key management is handled by the GUI" -msgstr "鍵の管理は GUI で行います" - -#: configs/nls/messages/reliefapk.c:37 -msgid "metadata requires a package name" -msgstr "メタデータにはパッケージ名が必要です" - -#: userland/apps/reliefapk/certificate_display.h:54 -msgid "none (file was missing)" -msgstr "なし (ファイルが存在しませんでした)" - -#: configs/nls/messages/reliefapk.c:38 -msgid "out of memory" -msgstr "メモリ不足" - -#: configs/nls/messages/reliefapk.c:39 -msgid "out of memory while building package catalog" -msgstr "パッケージ一覧の作成中にメモリが不足しました" - -#: configs/nls/messages/reliefapk.c:40 -msgid "owner requires one absolute file path" -msgstr "owner にはファイルの絶対パスを 1 つ指定する必要があります" - -#: configs/nls/messages/reliefapk.c:41 -msgid "package catalog exceeds limit" -msgstr "パッケージ一覧が上限を超えています" - -#: configs/nls/messages/reliefapk.c:42 -msgid "package object exceeds limit" -msgstr "パッケージオブジェクトが上限を超えています" - -#: configs/nls/messages/reliefapk.c:43 -msgid "simulation is not supported for this action" -msgstr "この操作ではシミュレーションに対応していません" - -#: userland/apps/reliefapk/dialogs.cpp:320 -msgid "su — root password" -msgstr "su — root のパスワード" - -#: userland/apps/reliefapk/dialogs.cpp:319 -msgid "sudo — current user's password" -msgstr "sudo — 現在のユーザーのパスワード" - -#: configs/nls/messages/reliefapk.c:44 -msgid "system update requires a reviewed update plan" -msgstr "システム更新には確認済みの更新計画が必要です" - -#: configs/nls/messages/reliefapk.c:45 -msgid "system updates require online mode" -msgstr "システム更新にはオンラインモードが必要です" - -#: configs/nls/messages/reliefapk.c:46 -msgid "trailing comma in package array" -msgstr "パッケージ配列の末尾にカンマがあります" - -#: configs/nls/messages/reliefapk.c:47 -msgid "trailing data after JSON array" -msgstr "JSON 配列の後に余分なデータがあります" - -#: configs/nls/messages/reliefapk.c:48 -msgid "truncated JSON package array" -msgstr "JSON パッケージ配列が途中で切れています" - -#: configs/nls/messages/reliefapk.c:49 -msgid "truncated JSON package object" -msgstr "JSON パッケージオブジェクトが途中で切れています" - -#: configs/nls/messages/reliefapk.c:50 -msgid "unknown package query filter" -msgstr "不明なパッケージ検索フィルターです" - -#: configs/nls/messages/reliefapk.c:51 -msgid "upgrade all does not take package targets" -msgstr "すべてのアップグレードには対象パッケージを指定できません" - -#: configs/nls/messages/reliefapk.c:52 -msgid "verify requires absolute .apk paths" -msgstr "verify には .apk の絶対パスが必要です" - -#: configs/nls/messages/reliefapk.c:53 -msgid "verify requires local package files" -msgstr "verify にはローカルパッケージファイルが必要です" - -#: configs/nls/messages/reliefapk.c:54 -msgid "version comparison requires two version strings" -msgstr "バージョンの比較には 2 つのバージョン文字列が必要です" - -#~ msgid "Search by package name or description. Select one or more packages, choose an operation, then review the pending changes.\n\nPreview runs apk --simulate. Apply executes the changes in the displayed order. Each operation is checked again before execution.\n\nRefresh indexes after changing repositories or when available packages are missing. Installed packages remain available offline.\n\nAdministrator operations use your system sudo or root authentication policy. Passwords are never saved.\n\nCtrl+F: search F5: refresh list Ctrl+Enter: preview changes" -#~ msgstr "パッケージ名または説明で検索します。1 つ以上のパッケージを選び、操作を選択してから保留中の変更を確認してください。\n\nプレビューでは apk --simulate を実行します。適用すると、表示された順序で変更を実行します。各操作は実行前に再確認されます。\n\nリポジトリを変更した後や利用可能なパッケージが見つからない場合は、インデックスを更新してください。インストール済みパッケージはオフラインでも利用できます。\n\n管理者操作にはシステムの sudo または root 認証ポリシーを使用します。パスワードは保存されません。\n\nCtrl+F: 検索 F5: 一覧を更新 Ctrl+Enter: 変更をプレビュー" - -#~ msgid "apk is applying changes. Wait for it to finish before closing." -#~ msgstr "apk が変更を適用しています。閉じる前に完了するまでお待ちください。" diff --git a/configs/nls/po/reliefapk/reliefapk.pot b/configs/nls/po/reliefapk/reliefapk.pot deleted file mode 100644 index 19a2f81c..00000000 --- a/configs/nls/po/reliefapk/reliefapk.pot +++ /dev/null @@ -1,1223 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/reliefapk/window.cpp:536 -msgid " · Offline" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:903 -msgid " — executing\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:902 -msgid " — preparing update plan\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:903 -msgid " — simulation\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:535 -msgid "%zu packages shown · %zu total%s" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:795 -msgid "%zu pending changes. Review before applying." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:318 -msgid "&Help/About ReliefAPK" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:317 -msgid "&Help/How to use ReliefAPK" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:296 -msgid "&Package/Install" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:301 -msgid "&Package/Install by name or version..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:302 -msgid "&Package/Install local APK..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:303 -msgid "&Package/Pending changes..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:304 -msgid "&Package/Quit" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:299 -msgid "&Package/Reinstall" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:297 -msgid "&Package/Remove" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:300 -msgid "&Package/Repair" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:298 -msgid "&Package/Upgrade selected" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/Audit system files" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Clean cache..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Compare versions..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Dependency graph (DOT)" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Download cache..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Download packages..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Find file owner..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Package checksums" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/Package statistics" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:306 -msgid "&Tools/Preferences..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:305 -msgid "&Tools/Repositories..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Trusted keys" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Verify APK file..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/World constraints" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:23 -msgid "A trusted OS recovery CA bundle is unavailable. Update the ReliefOS trust package or image." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:31 -msgid "APK left an updated CA bundle as .apk-new. Check the protected-path policy before treating this as an updated trust store." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:384 -msgid "APK repositories" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:34 -msgid "APK repository diagnostic redacted; check configured sources and TLS." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:35 -msgid "APK skipped an unavailable package or its output was incomplete; certificate repair failed." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:73 -msgid "About ReliefAPK" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:217 -msgid "Absolute path of the file:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:422 -msgid "Add" -msgstr "" - -#: userland/apps/fltk_support.h:29 -msgid "Add to Favorites" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:417 -msgid "Address:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:97 -msgid "Administrator authentication" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:318 -msgid "Administrator authentication:" -msgstr "" - -#: userland/apps/fltk_support.h:30 -msgid "All Files (*)" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "All packages" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1196 -msgid "An operation is still running. Finish or cancel it in the operation window." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:908 -msgid "Another operation is running." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1000 -msgid "Apply changes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:948 -msgid "Applying the reviewed system update..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:688 -msgid "Architecture" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:169 -msgid "Audit system files" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:105 -msgid "Authenticate" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:273 -msgid "Available" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Available version" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:24 -msgid "CA RECOVERY PLAN: the system CA file is unusable. Apply will first restore the trusted OS CA bundle, preserving the old regular file in a private backup." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:51 -msgid "CA bundle changed during recovery; retry after checking the system state" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:38 -msgid "CA directory ownership or permissions are unsafe" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:37 -msgid "CA parent directories must be root-owned and not group/other writable or symlinks" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:41 -msgid "CA recovery directory ownership or permissions are unsafe" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:40 -msgid "CA trust file must be an owned regular file, not group/other writable, and at most 4 MiB" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:321 -msgid "Cache directory:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:103 -msgid "Cancel" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1176 -msgid "Canceling..." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:44 -msgid "Cannot inspect the current CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:39 -msgid "Cannot inspect the current CA trust path" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:613 -msgid "Cannot read package information." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:168 -msgid "Cannot read world constraints." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:985 -msgid "Cannot save the log." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:133 -msgid "Cannot send the password to the system authentication service." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:601 -msgid "Cannot start apk." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:510 -msgid "Cannot start apk. Check that /sbin/apk is installed." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:611 -msgid "Cannot start the requested operation." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1110 -msgid "Certificate recovery checked. Review the recovery plan and package output, then apply." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:355 -msgid "Choose an absolute cache directory, or leave it empty." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:161 -msgid "Clean cache" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:248 -msgid "Clean unused apk cache entries?" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:816 -msgid "Clear all" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:998 -msgid "Clear log" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:48 -msgid "Close" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:185 -msgid "Compare versions" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1139 -msgid "Completed successfully." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:385 -msgid "Config file:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:247 -msgid "Continue" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:52 -msgid "Could not atomically install the OS recovery CA bundle" -msgstr "" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:27 -msgid "Could not determine whether the system CA package is installed" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:46 -msgid "Could not prepare the complete OS recovery CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:48 -msgid "Could not preserve the complete previous CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:47 -msgid "Could not preserve the previous CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:50 -msgid "Could not sync CA recovery files" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:49 -msgid "Could not sync the previous CA bundle backup" -msgstr "" - -#: userland/apps/fltk_support.h:38 -msgid "Create a new directory" -msgstr "" - -#: userland/apps/fltk_support.h:31 -msgid "Custom Filter" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:177 -msgid "Dependencies" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:187 -msgid "Dependency graph (DOT)" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:240 -msgid "Description" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:360 -msgid "Details" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:175 -msgid "Directory" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:403 -msgid "Discard changes" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:404 -msgid "Discard the unsaved repository changes?" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:466 -msgid "Down" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:163 -msgid "Download cache" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:249 -msgid "Download missing packages into the apk cache?" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:210 -msgid "Download package dependencies as well?" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:165 -msgid "Download packages" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:199 -msgid "Download packages to" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:420 -msgid "Enabled" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:115 -msgid "Enter the root password to authorize this operation." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:116 -msgid "Enter the sudo password for %s." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:45 -msgid "Existing CA bundle must be an owned regular file of at most 4 MiB" -msgstr "" - -#: userland/apps/fltk_support.h:33 -msgid "Favorites" -msgstr "" - -#: userland/apps/fltk_support.h:35 -msgid "File Systems" -msgstr "" - -#: userland/apps/fltk_support.h:34 -msgid "File name:" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:175 -msgid "Files" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:333 -msgid "Filter package names and descriptions (Ctrl+F)" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:181 -msgid "Find file owner" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:149 -msgid "Finish or close the current operation first." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:222 -msgid "First version:" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:690 -msgid "Home page" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:209 -msgid "Include dependencies" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:317 -msgid "Index cache age (minutes):" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:349 -msgid "Index cache age must be between 0 and 10080 minutes." -msgstr "" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:147 -msgid "Install" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:327 -msgid "Install local APK" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:273 -msgid "Installed" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:693 -msgid "Installed size" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Installed version" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:360 -msgid "Invalid cache directory." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:746 -msgid "Invalid package name, constraint or APK path." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:22 -msgid "Invalid privileged apk request" -msgstr "" - -#: configs/nls/messages/reliefapk.c:5 -msgid "Invalid repository address or tag" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:427 -msgid "Invalid repository address or tag." -msgstr "" - -#: configs/nls/messages/reliefapk.c:6 -msgid "Invalid repository file" -msgstr "" - -#: configs/nls/messages/reliefapk.c:7 -msgid "JSON input exceeds limits" -msgstr "" - -#: configs/nls/messages/reliefapk.c:8 -msgid "JSON package object exceeds depth limit" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:322 -msgid "Leave empty to use the system apk cache." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:689 -msgid "License" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:407 -msgid "Loading installed packages..." -msgstr "" - -#: userland/apps/fltk_support.h:36 -msgid "Manage Favorites" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:316 -msgid "Network timeout (seconds):" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:344 -msgid "Network timeout must be between 1 and 600 seconds." -msgstr "" - -#: userland/apps/fltk_support.h:37 -msgid "New Directory?" -msgstr "" - -#: userland/apps/fltk_support.h:28 -msgid "No" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:657 -msgid "No package details available." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:198 -msgid "None" -msgstr "" - -#: userland/apps/fltk_support.h:24 -msgid "OK" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:69 -msgid "OS CA baseline restored atomically; previous file backup: " -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:53 -msgid "OS CA bundle was restored, but directory synchronization failed" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:68 -msgid "OS CA recovery failed: " -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:43 -msgid "OS recovery CA bundle has no usable certificates" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:42 -msgid "OS recovery CA bundle is empty or too large" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:315 -msgid "Offline: use installed packages and cached indexes only" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:26 -msgid "Online package simulation is deferred until trust is restored. The authenticated worker will then check signed repositories, simulate and repair ca-certificates and ca-certificates-bundle together." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:209 -msgid "Only selected" -msgstr "" - -#: configs/nls/messages/reliefapk.c:9 -msgid "Open cache directory" -msgstr "" - -#: configs/nls/messages/reliefapk.c:10 -msgid "Open repositories" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1091 -msgid "Operation failed. Review the output below." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1096 -msgid "Operation failed; remaining changes were not executed." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:872 -msgid "Operations run in the order shown. Separate apk transactions are checked again before execution.\n\n" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:419 -msgid "Optional repository tag, without @" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:346 -msgid "Orphaned" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:503 -msgid "Out of memory" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Package" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:189 -msgid "Package checksums" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:65 -msgid "Package name, version constraint or repository tag:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:234 -msgid "Package name:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:203 -msgid "Package names or version constraints, separated by spaces:" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:612 -msgid "Package query" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:610 -msgid "Package query failed. Refresh indexes or check the operation log." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:171 -msgid "Package statistics" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:102 -msgid "Password:" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:800 -msgid "Pending changes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:784 -msgid "Pending changes (%zu)" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:329 -msgid "Pending changes (0)" -msgstr "" - -#: userland/apps/fltk_support.h:32 -msgid "Please choose an existing file!" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:939 -msgid "Please wait" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:360 -msgid "Policy" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:870 -msgid "Preparing a verified system update plan. Administrator authentication permits downloading and saving the plan; installed packages are changed only after you apply it.\n\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:947 -msgid "Preparing system update..." -msgstr "" - -#: userland/apps/fltk_support.h:39 -msgid "Preview" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:826 -msgid "Preview changes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:697 -msgid "Provides" -msgstr "" - -#: configs/nls/messages/reliefapk.c:11 -msgid "Read repositories" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:599 -msgid "Reading package details..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:513 -msgid "Reading packages..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:319 -msgid "Refresh" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:159 -msgid "Refresh indexes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:320 -msgid "Refresh the displayed package list (F5)" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:29 -msgid "Refresh the two world requests as plain package names without version/tag constraints, then reinstall both so source certificates and generated output agree. Other world requests are preserved." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:153 -msgid "Reinstall" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:53 -msgid "ReliefAPK help" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:313 -msgid "ReliefAPK preferences" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:74 -msgid "ReliefAPK\nGraphical front end for Alpine Package Keeper\n\nC++ / FLTK — ReliefOS\nPackage queries and transactions are performed by the system apk command." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:477 -msgid "Reload" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:452 -msgid "Remove" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:804 -msgid "Remove selected" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:155 -msgid "Repair" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:28 -msgid "Repair targets: ca-certificates and ca-certificates-bundle (package signatures and TLS verification required)." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:145 -msgid "Repair/update system certificates" -msgstr "" - -#: configs/nls/messages/reliefapk.c:12 -msgid "Replace repositories" -msgstr "" - -#: configs/nls/messages/reliefapk.c:13 -msgid "Repositories changed outside ReliefAPK. Reload before saving." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:691 -msgid "Repository" -msgstr "" - -#: configs/nls/messages/reliefapk.c:14 -msgid "Repository configuration is too large" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:582 -msgid "Repository configuration is too large." -msgstr "" - -#: configs/nls/messages/reliefapk.c:15 -msgid "Repository path too long" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:173 -msgid "Repository policy" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:179 -msgid "Reverse dependencies" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:868 -msgid "Review package changes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:740 -msgid "Review system upgrades separately from other pending package operations." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:21 -msgid "Root authentication required" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:20 -msgid "Root authentication required for certificate repair" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:950 -msgid "Running apk..." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:325 -msgid "Save" -msgstr "" - -#: configs/nls/messages/reliefapk.c:16 -msgid "Save backup" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:486 -msgid "Save changes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:976 -msgid "Save log..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:980 -msgid "Save operation log" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:594 -msgid "Save repositories" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:607 -msgid "Saving repositories..." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:595 -msgid "Saving repository configuration. The previous file is kept as .reliefapk.bak.\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:54 -msgid "Search by package name or description. Select one or more packages, choose an operation, then review the pending changes.\n\nPreview runs apk --simulate. Apply executes the changes in the displayed order. Each operation is checked again before execution. System upgrades use the native ReliefOS updater to prepare a verified plan, then apply that exact plan. Review system upgrades separately from other package operations.\n\nRefresh indexes after changing repositories or when available packages are missing. Installed packages remain available offline.\n\nAdministrator operations use your system sudo or root authentication policy. Passwords are never saved.\n\nCtrl+F: search F5: refresh list Ctrl+Enter: preview changes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:331 -msgid "Search:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:226 -msgid "Second version:" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:212 -msgid "Select APK package" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:557 -msgid "Select a package to view its details." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:769 -msgid "Select one or more packages first." -msgstr "" - -#: userland/apps/fltk_support.h:42 -msgid "Show hidden files" -msgstr "" - -#: userland/apps/fltk_support.h:41 -msgid "Show:" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:949 -msgid "Simulating changes..." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1111 -msgid "Simulation completed. Review the output, then apply." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:240 -msgid "Size" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:644 -msgid "Some repository indexes are unavailable. Refresh indexes to see all packages." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Status" -msgstr "" - -#: configs/nls/messages/reliefapk.c:17 -msgid "Sync repositories directory" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:33 -msgid "System CA bundle installed and parsed successfully" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1138 -msgid "System update completed. Restart to activate the updated kernel." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1090 -msgid "System update needs attention. Review the output and run reliefos-update status." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:418 -msgid "Tag:" -msgstr "" - -#: configs/nls/messages/reliefapk.c:18 -msgid "The administrator cache and its parent directories must exist, be root-owned, and not be writable by other users." -msgstr "" - -#: configs/nls/messages/reliefapk.c:19 -msgid "The administrator cache must be an absolute directory." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:32 -msgid "The installed CA bundle is still unusable. Check the APK protected-path policy and .apk-new files; update the ReliefOS trust package/configuration." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:25 -msgid "The two CA world requests will be refreshed as plain package names (without version or tag constraints); all other world requests are preserved." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1178 -msgid "The update is applying changes. Wait for it to finish before closing." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:845 -msgid "There are no pending changes." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:916 -msgid "Too many packages in one operation." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:191 -msgid "Trusted keys" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:67 -msgid "Unsafe system CA trust path; no online operation started: " -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:464 -msgid "Up" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:435 -msgid "Update entry" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "Upgradable" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:151 -msgid "Upgrade selected" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:157 -msgid "Upgrade system" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:30 -msgid "Verified CA package metadata is unavailable. Check HTTPS, repository signatures, keys and sources. The restored OS CA bundle, if any, has been retained." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1108 -msgid "Verified update plan ready. Review the changes, then apply." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:167 -msgid "Verify APK file" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:686 -msgid "Version" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:468 -msgid "View source" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:122 -msgid "Waiting for administrator authentication..." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:166 -msgid "World constraints" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "World packages and dependencies" -msgstr "" - -#: userland/apps/fltk_support.h:27 -msgid "Yes" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1162 -msgid "\nApplying the reviewed operations...\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1157 -msgid "\nApplying the verified system update plan...\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:952 -msgid "\nCannot start the requested operation.\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1065 -msgid "\nExit status: %d\n" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1082 -msgid "\nThe native updater returned an incomplete or invalid response. Review its status before retrying.\n" -msgstr "" - -#: configs/nls/messages/reliefapk.c:20 -msgid "action does not take targets" -msgstr "" - -#: configs/nls/messages/reliefapk.c:21 -msgid "action requires package targets" -msgstr "" - -#: configs/nls/messages/reliefapk.c:22 -msgid "certificate repair is unavailable" -msgstr "" - -#: configs/nls/messages/reliefapk.c:23 -msgid "certificate repair requires the fixed CA package and online mode" -msgstr "" - -#: configs/nls/messages/reliefapk.c:24 -msgid "control byte in JSON package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:25 -msgid "could not build command arguments" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:36 -msgid "could not prepare the certificate package operation" -msgstr "" - -#: configs/nls/messages/reliefapk.c:27 -msgid "expected JSON package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:28 -msgid "expected comma or end of package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:29 -msgid "expected package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:30 -msgid "fetch requires an output directory and package constraints" -msgstr "" - -#: configs/nls/messages/reliefapk.c:31 -msgid "invalid JSON package object structure" -msgstr "" - -#: configs/nls/messages/reliefapk.c:32 -msgid "invalid apk settings" -msgstr "" - -#: configs/nls/messages/reliefapk.c:33 -msgid "invalid native updater response" -msgstr "" - -#: configs/nls/messages/reliefapk.c:34 -msgid "invalid package constraint" -msgstr "" - -#: configs/nls/messages/reliefapk.c:35 -msgid "invalid package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:36 -msgid "key management is handled by the GUI" -msgstr "" - -#: configs/nls/messages/reliefapk.c:37 -msgid "metadata requires a package name" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:54 -msgid "none (file was missing)" -msgstr "" - -#: configs/nls/messages/reliefapk.c:38 -msgid "out of memory" -msgstr "" - -#: configs/nls/messages/reliefapk.c:39 -msgid "out of memory while building package catalog" -msgstr "" - -#: configs/nls/messages/reliefapk.c:40 -msgid "owner requires one absolute file path" -msgstr "" - -#: configs/nls/messages/reliefapk.c:41 -msgid "package catalog exceeds limit" -msgstr "" - -#: configs/nls/messages/reliefapk.c:42 -msgid "package object exceeds limit" -msgstr "" - -#: configs/nls/messages/reliefapk.c:43 -msgid "simulation is not supported for this action" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:320 -msgid "su — root password" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:319 -msgid "sudo — current user's password" -msgstr "" - -#: configs/nls/messages/reliefapk.c:44 -msgid "system update requires a reviewed update plan" -msgstr "" - -#: configs/nls/messages/reliefapk.c:45 -msgid "system updates require online mode" -msgstr "" - -#: configs/nls/messages/reliefapk.c:46 -msgid "trailing comma in package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:47 -msgid "trailing data after JSON array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:48 -msgid "truncated JSON package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:49 -msgid "truncated JSON package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:50 -msgid "unknown package query filter" -msgstr "" - -#: configs/nls/messages/reliefapk.c:51 -msgid "upgrade all does not take package targets" -msgstr "" - -#: configs/nls/messages/reliefapk.c:52 -msgid "verify requires absolute .apk paths" -msgstr "" - -#: configs/nls/messages/reliefapk.c:53 -msgid "verify requires local package files" -msgstr "" - -#: configs/nls/messages/reliefapk.c:54 -msgid "version comparison requires two version strings" -msgstr "" diff --git a/configs/nls/po/reliefapk/zh_CN.po b/configs/nls/po/reliefapk/zh_CN.po deleted file mode 100644 index e743c31a..00000000 --- a/configs/nls/po/reliefapk/zh_CN.po +++ /dev/null @@ -1,1286 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS 1\n" -"PO-Revision-Date: 2026-09-21 00:00+0800\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/reliefapk/window.cpp:536 -msgid " · Offline" -msgstr " · 离线" - -#: userland/apps/reliefapk/window.cpp:903 -msgid " — executing\n" -msgstr " — 正在执行\n" - -#: userland/apps/reliefapk/window.cpp:902 -msgid " — preparing update plan\n" -msgstr " — 准备更新计划\n" - -#: userland/apps/reliefapk/window.cpp:903 -msgid " — simulation\n" -msgstr " — 模拟\n" - -#: userland/apps/reliefapk/window.cpp:535 -#, c-format -msgid "%zu packages shown · %zu total%s" -msgstr "已显示 %zu 个软件包 · 共 %zu 个%s" - -#: userland/apps/reliefapk/window.cpp:795 -#, c-format -msgid "%zu pending changes. Review before applying." -msgstr "有 %zu 项待处理更改。应用前请先检查。" - -#: userland/apps/reliefapk/window.cpp:318 -msgid "&Help/About ReliefAPK" -msgstr "&帮助/关于 ReliefAPK" - -#: userland/apps/reliefapk/window.cpp:317 -msgid "&Help/How to use ReliefAPK" -msgstr "&帮助/如何使用 ReliefAPK" - -#: userland/apps/reliefapk/window.cpp:296 -msgid "&Package/Install" -msgstr "&软件包/安装" - -#: userland/apps/reliefapk/window.cpp:301 -msgid "&Package/Install by name or version..." -msgstr "&软件包/按名称或版本安装..." - -#: userland/apps/reliefapk/window.cpp:302 -msgid "&Package/Install local APK..." -msgstr "&软件包/安装本地 APK..." - -#: userland/apps/reliefapk/window.cpp:303 -msgid "&Package/Pending changes..." -msgstr "&软件包/待处理更改..." - -#: userland/apps/reliefapk/window.cpp:304 -msgid "&Package/Quit" -msgstr "&软件包/退出" - -#: userland/apps/reliefapk/window.cpp:299 -msgid "&Package/Reinstall" -msgstr "&软件包/重新安装" - -#: userland/apps/reliefapk/window.cpp:297 -msgid "&Package/Remove" -msgstr "&软件包/删除" - -#: userland/apps/reliefapk/window.cpp:300 -msgid "&Package/Repair" -msgstr "&软件包/修复" - -#: userland/apps/reliefapk/window.cpp:298 -msgid "&Package/Upgrade selected" -msgstr "&软件包/升级所选" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/Audit system files" -msgstr "&工具/审计系统文件" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Clean cache..." -msgstr "&工具/清理缓存..." - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Compare versions..." -msgstr "&工具/比较版本..." - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Dependency graph (DOT)" -msgstr "&工具/依赖关系图(DOT)" - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Download cache..." -msgstr "&工具/下载缓存..." - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Download packages..." -msgstr "&工具/下载软件包..." - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Find file owner..." -msgstr "&工具/查找文件所属软件包..." - -#: userland/apps/reliefapk/window.cpp:310 -msgid "&Tools/Package checksums" -msgstr "&工具/软件包校验和" - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/Package statistics" -msgstr "&工具/软件包统计" - -#: userland/apps/reliefapk/window.cpp:306 -msgid "&Tools/Preferences..." -msgstr "&工具/首选项..." - -#: userland/apps/reliefapk/window.cpp:305 -msgid "&Tools/Repositories..." -msgstr "&工具/仓库..." - -#: userland/apps/reliefapk/window.cpp:311 -msgid "&Tools/Trusted keys" -msgstr "&工具/受信任的密钥" - -#: userland/apps/reliefapk/window.cpp:308 -msgid "&Tools/Verify APK file..." -msgstr "&工具/验证 APK 文件..." - -#: userland/apps/reliefapk/window.cpp:309 -msgid "&Tools/World constraints" -msgstr "&工具/world 约束" - -#: userland/apps/reliefapk/certificate_display.h:23 -msgid "A trusted OS recovery CA bundle is unavailable. Update the ReliefOS trust package or image." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:31 -msgid "APK left an updated CA bundle as .apk-new. Check the protected-path policy before treating this as an updated trust store." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:384 -msgid "APK repositories" -msgstr "APK 仓库" - -#: userland/apps/reliefapk/certificate_display.h:34 -msgid "APK repository diagnostic redacted; check configured sources and TLS." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:35 -msgid "APK skipped an unavailable package or its output was incomplete; certificate repair failed." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:73 -msgid "About ReliefAPK" -msgstr "关于 ReliefAPK" - -#: userland/apps/reliefapk/dialogs.cpp:217 -msgid "Absolute path of the file:" -msgstr "文件的绝对路径:" - -#: userland/apps/reliefapk/dialogs.cpp:422 -msgid "Add" -msgstr "添加" - -#: userland/apps/fltk_support.h:29 -msgid "Add to Favorites" -msgstr "添加到收藏夹" - -#: userland/apps/reliefapk/dialogs.cpp:417 -msgid "Address:" -msgstr "地址:" - -#: userland/apps/reliefapk/dialogs.cpp:97 -msgid "Administrator authentication" -msgstr "管理员身份验证" - -#: userland/apps/reliefapk/dialogs.cpp:318 -msgid "Administrator authentication:" -msgstr "管理员身份验证:" - -#: userland/apps/fltk_support.h:30 -msgid "All Files (*)" -msgstr "所有文件 (*)" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "All packages" -msgstr "全部软件包" - -#: userland/apps/reliefapk/window.cpp:1196 -msgid "An operation is still running. Finish or cancel it in the operation window." -msgstr "操作仍在运行。请在操作窗口中完成或取消。" - -#: userland/apps/reliefapk/window.cpp:908 -msgid "Another operation is running." -msgstr "另一个操作正在运行。" - -#: userland/apps/reliefapk/window.cpp:1000 -msgid "Apply changes" -msgstr "应用更改" - -#: userland/apps/reliefapk/window.cpp:948 -msgid "Applying the reviewed system update..." -msgstr "正在应用已审阅的系统更新…" - -#: userland/apps/reliefapk/window.cpp:688 -msgid "Architecture" -msgstr "架构" - -#: userland/apps/reliefapk/window.cpp:169 -msgid "Audit system files" -msgstr "审计系统文件" - -#: userland/apps/reliefapk/dialogs.cpp:105 -msgid "Authenticate" -msgstr "验证身份" - -#: userland/apps/reliefapk/window.cpp:273 -msgid "Available" -msgstr "可用" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Available version" -msgstr "可用版本" - -#: userland/apps/reliefapk/certificate_display.h:24 -msgid "CA RECOVERY PLAN: the system CA file is unusable. Apply will first restore the trusted OS CA bundle, preserving the old regular file in a private backup." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:51 -msgid "CA bundle changed during recovery; retry after checking the system state" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:38 -msgid "CA directory ownership or permissions are unsafe" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:37 -msgid "CA parent directories must be root-owned and not group/other writable or symlinks" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:41 -msgid "CA recovery directory ownership or permissions are unsafe" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:40 -msgid "CA trust file must be an owned regular file, not group/other writable, and at most 4 MiB" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:321 -msgid "Cache directory:" -msgstr "缓存目录:" - -#: userland/apps/reliefapk/dialogs.cpp:103 -msgid "Cancel" -msgstr "取消" - -#: userland/apps/reliefapk/window.cpp:1176 -msgid "Canceling..." -msgstr "正在取消..." - -#: userland/apps/reliefapk/certificate_display.h:44 -msgid "Cannot inspect the current CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:39 -msgid "Cannot inspect the current CA trust path" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:613 -msgid "Cannot read package information." -msgstr "无法读取软件包信息。" - -#: userland/apps/reliefapk/dialogs.cpp:168 -msgid "Cannot read world constraints." -msgstr "无法读取 world 约束。" - -#: userland/apps/reliefapk/window.cpp:985 -msgid "Cannot save the log." -msgstr "无法保存日志。" - -#: userland/apps/reliefapk/dialogs.cpp:133 -msgid "Cannot send the password to the system authentication service." -msgstr "无法将密码发送到系统身份验证服务。" - -#: userland/apps/reliefapk/window.cpp:601 -msgid "Cannot start apk." -msgstr "无法启动 apk。" - -#: userland/apps/reliefapk/window.cpp:510 -msgid "Cannot start apk. Check that /sbin/apk is installed." -msgstr "无法启动 apk。请检查是否已安装 /sbin/apk。" - -#: userland/apps/reliefapk/dialogs.cpp:611 -msgid "Cannot start the requested operation." -msgstr "无法启动请求的操作。" - -#: userland/apps/reliefapk/window.cpp:1110 -msgid "Certificate recovery checked. Review the recovery plan and package output, then apply." -msgstr "证书恢复检查完成。请查看恢复计划和软件包输出,然后应用。" - -#: userland/apps/reliefapk/dialogs.cpp:355 -msgid "Choose an absolute cache directory, or leave it empty." -msgstr "请选择绝对路径的缓存目录,或留空。" - -#: userland/apps/reliefapk/window.cpp:161 -msgid "Clean cache" -msgstr "清理缓存" - -#: userland/apps/reliefapk/dialogs.cpp:248 -msgid "Clean unused apk cache entries?" -msgstr "清理 apk 缓存中的未使用条目吗?" - -#: userland/apps/reliefapk/window.cpp:816 -msgid "Clear all" -msgstr "全部清除" - -#: userland/apps/reliefapk/window.cpp:998 -msgid "Clear log" -msgstr "清除日志" - -#: userland/apps/reliefapk/dialogs.cpp:48 -msgid "Close" -msgstr "关闭" - -#: userland/apps/reliefapk/window.cpp:185 -msgid "Compare versions" -msgstr "比较版本" - -#: userland/apps/reliefapk/window.cpp:1139 -msgid "Completed successfully." -msgstr "已成功完成。" - -#: userland/apps/reliefapk/dialogs.cpp:385 -msgid "Config file:" -msgstr "配置文件:" - -#: userland/apps/reliefapk/dialogs.cpp:247 -msgid "Continue" -msgstr "继续" - -#: userland/apps/reliefapk/certificate_display.h:52 -msgid "Could not atomically install the OS recovery CA bundle" -msgstr "" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "无法解码图像" - -#: userland/apps/reliefapk/certificate_display.h:27 -msgid "Could not determine whether the system CA package is installed" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:46 -msgid "Could not prepare the complete OS recovery CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:48 -msgid "Could not preserve the complete previous CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:47 -msgid "Could not preserve the previous CA bundle" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:50 -msgid "Could not sync CA recovery files" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:49 -msgid "Could not sync the previous CA bundle backup" -msgstr "" - -#: userland/apps/fltk_support.h:38 -msgid "Create a new directory" -msgstr "创建新目录" - -#: userland/apps/fltk_support.h:31 -msgid "Custom Filter" -msgstr "自定义筛选器" - -#: userland/apps/reliefapk/window.cpp:177 -msgid "Dependencies" -msgstr "依赖项" - -#: userland/apps/reliefapk/window.cpp:187 -msgid "Dependency graph (DOT)" -msgstr "依赖关系图(DOT)" - -#: userland/apps/reliefapk/window.cpp:240 -msgid "Description" -msgstr "说明" - -#: userland/apps/reliefapk/window.cpp:360 -msgid "Details" -msgstr "详细信息" - -#: userland/apps/reliefapk/dialogs.cpp:175 -msgid "Directory" -msgstr "目录" - -#: userland/apps/reliefapk/dialogs.cpp:403 -msgid "Discard changes" -msgstr "放弃更改" - -#: userland/apps/reliefapk/dialogs.cpp:404 -msgid "Discard the unsaved repository changes?" -msgstr "放弃未保存的仓库更改吗?" - -#: userland/apps/reliefapk/dialogs.cpp:466 -msgid "Down" -msgstr "下移" - -#: userland/apps/reliefapk/window.cpp:163 -msgid "Download cache" -msgstr "下载缓存" - -#: userland/apps/reliefapk/dialogs.cpp:249 -msgid "Download missing packages into the apk cache?" -msgstr "将缺少的软件包下载到 apk 缓存吗?" - -#: userland/apps/reliefapk/dialogs.cpp:210 -msgid "Download package dependencies as well?" -msgstr "同时下载软件包的依赖项吗?" - -#: userland/apps/reliefapk/window.cpp:165 -msgid "Download packages" -msgstr "下载软件包" - -#: userland/apps/reliefapk/dialogs.cpp:199 -msgid "Download packages to" -msgstr "下载软件包到" - -#: userland/apps/reliefapk/dialogs.cpp:420 -msgid "Enabled" -msgstr "已启用" - -#: userland/apps/reliefapk/dialogs.cpp:115 -msgid "Enter the root password to authorize this operation." -msgstr "输入 root 密码以授权此操作。" - -#: userland/apps/reliefapk/dialogs.cpp:116 -#, c-format -msgid "Enter the sudo password for %s." -msgstr "请输入用户 %s 的 sudo 密码。" - -#: userland/apps/reliefapk/certificate_display.h:45 -msgid "Existing CA bundle must be an owned regular file of at most 4 MiB" -msgstr "" - -#: userland/apps/fltk_support.h:33 -msgid "Favorites" -msgstr "收藏夹" - -#: userland/apps/fltk_support.h:35 -msgid "File Systems" -msgstr "文件系统" - -#: userland/apps/fltk_support.h:34 -msgid "File name:" -msgstr "文件名:" - -#: userland/apps/reliefapk/window.cpp:175 -msgid "Files" -msgstr "文件" - -#: userland/apps/reliefapk/window.cpp:333 -msgid "Filter package names and descriptions (Ctrl+F)" -msgstr "按软件包名称和说明筛选(Ctrl+F)" - -#: userland/apps/reliefapk/window.cpp:181 -msgid "Find file owner" -msgstr "查找文件所属软件包" - -#: userland/apps/reliefapk/dialogs.cpp:149 -msgid "Finish or close the current operation first." -msgstr "请先完成或关闭当前操作。" - -#: userland/apps/reliefapk/dialogs.cpp:222 -msgid "First version:" -msgstr "第一个版本:" - -#: userland/apps/reliefapk/window.cpp:690 -msgid "Home page" -msgstr "主页" - -#: userland/apps/reliefapk/dialogs.cpp:209 -msgid "Include dependencies" -msgstr "包含依赖项" - -#: userland/apps/reliefapk/dialogs.cpp:317 -msgid "Index cache age (minutes):" -msgstr "索引缓存有效期(分钟):" - -#: userland/apps/reliefapk/dialogs.cpp:349 -msgid "Index cache age must be between 0 and 10080 minutes." -msgstr "索引缓存有效期必须在 0 至 10080 分钟之间。" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "输入内容过长" - -#: userland/apps/reliefapk/window.cpp:147 -msgid "Install" -msgstr "安装" - -#: userland/apps/reliefapk/window.cpp:327 -msgid "Install local APK" -msgstr "安装本地 APK" - -#: userland/apps/reliefapk/window.cpp:273 -msgid "Installed" -msgstr "已安装" - -#: userland/apps/reliefapk/window.cpp:693 -msgid "Installed size" -msgstr "已安装大小" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Installed version" -msgstr "已安装版本" - -#: userland/apps/reliefapk/dialogs.cpp:360 -msgid "Invalid cache directory." -msgstr "缓存目录无效。" - -#: userland/apps/reliefapk/window.cpp:746 -msgid "Invalid package name, constraint or APK path." -msgstr "软件包名称、约束或 APK 路径无效。" - -#: userland/apps/reliefapk/certificate_display.h:22 -msgid "Invalid privileged apk request" -msgstr "" - -#: configs/nls/messages/reliefapk.c:5 -msgid "Invalid repository address or tag" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:427 -msgid "Invalid repository address or tag." -msgstr "仓库地址或标签无效。" - -#: configs/nls/messages/reliefapk.c:6 -msgid "Invalid repository file" -msgstr "" - -#: configs/nls/messages/reliefapk.c:7 -msgid "JSON input exceeds limits" -msgstr "" - -#: configs/nls/messages/reliefapk.c:8 -msgid "JSON package object exceeds depth limit" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:322 -msgid "Leave empty to use the system apk cache." -msgstr "留空则使用系统 apk 缓存。" - -#: userland/apps/reliefapk/window.cpp:689 -msgid "License" -msgstr "许可证" - -#: userland/apps/reliefapk/window.cpp:407 -msgid "Loading installed packages..." -msgstr "正在加载已安装的软件包..." - -#: userland/apps/fltk_support.h:36 -msgid "Manage Favorites" -msgstr "管理收藏夹" - -#: userland/apps/reliefapk/dialogs.cpp:316 -msgid "Network timeout (seconds):" -msgstr "网络超时(秒):" - -#: userland/apps/reliefapk/dialogs.cpp:344 -msgid "Network timeout must be between 1 and 600 seconds." -msgstr "网络超时必须在 1 至 600 秒之间。" - -#: userland/apps/fltk_support.h:37 -msgid "New Directory?" -msgstr "新建目录?" - -#: userland/apps/fltk_support.h:28 -msgid "No" -msgstr "否" - -#: userland/apps/reliefapk/window.cpp:657 -msgid "No package details available." -msgstr "没有可用的软件包详情。" - -#: userland/apps/reliefapk/window.cpp:198 -msgid "None" -msgstr "无" - -#: userland/apps/fltk_support.h:24 -msgid "OK" -msgstr "确定" - -#: userland/apps/reliefapk/certificate_display.h:69 -msgid "OS CA baseline restored atomically; previous file backup: " -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:53 -msgid "OS CA bundle was restored, but directory synchronization failed" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:68 -msgid "OS CA recovery failed: " -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:43 -msgid "OS recovery CA bundle has no usable certificates" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:42 -msgid "OS recovery CA bundle is empty or too large" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:315 -msgid "Offline: use installed packages and cached indexes only" -msgstr "离线:仅使用已安装的软件包和缓存的索引" - -#: userland/apps/reliefapk/certificate_display.h:26 -msgid "Online package simulation is deferred until trust is restored. The authenticated worker will then check signed repositories, simulate and repair ca-certificates and ca-certificates-bundle together." -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:209 -msgid "Only selected" -msgstr "仅下载所选软件包" - -#: configs/nls/messages/reliefapk.c:9 -msgid "Open cache directory" -msgstr "" - -#: configs/nls/messages/reliefapk.c:10 -msgid "Open repositories" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1091 -msgid "Operation failed. Review the output below." -msgstr "操作失败。请查看下方输出。" - -#: userland/apps/reliefapk/window.cpp:1096 -msgid "Operation failed; remaining changes were not executed." -msgstr "操作失败;其余更改未执行。" - -#: userland/apps/reliefapk/window.cpp:872 -msgid "" -"Operations run in the order shown. Separate apk transactions are checked again before execution.\n" -"\n" -msgstr "" -"操作将按所示顺序执行。每个独立的 apk 事务都会在执行前再次检查。\n" -"\n" - -#: userland/apps/reliefapk/dialogs.cpp:419 -msgid "Optional repository tag, without @" -msgstr "可选仓库标签,不含 @" - -#: userland/apps/reliefapk/window.cpp:346 -msgid "Orphaned" -msgstr "孤立软件包" - -#: userland/apps/reliefapk/window.cpp:503 -msgid "Out of memory" -msgstr "内存不足" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Package" -msgstr "软件包" - -#: userland/apps/reliefapk/window.cpp:189 -msgid "Package checksums" -msgstr "软件包校验和" - -#: userland/apps/reliefapk/window.cpp:65 -msgid "Package name, version constraint or repository tag:" -msgstr "软件包名称、版本约束或仓库标签:" - -#: userland/apps/reliefapk/dialogs.cpp:234 -msgid "Package name:" -msgstr "软件包名称:" - -#: userland/apps/reliefapk/dialogs.cpp:203 -msgid "Package names or version constraints, separated by spaces:" -msgstr "软件包名称或版本约束,多个条目以空格分隔:" - -#: userland/apps/reliefapk/window.cpp:612 -msgid "Package query" -msgstr "软件包查询" - -#: userland/apps/reliefapk/window.cpp:610 -msgid "Package query failed. Refresh indexes or check the operation log." -msgstr "软件包查询失败。请刷新索引或查看操作日志。" - -#: userland/apps/reliefapk/window.cpp:171 -msgid "Package statistics" -msgstr "软件包统计" - -#: userland/apps/reliefapk/dialogs.cpp:102 -msgid "Password:" -msgstr "密码:" - -#: userland/apps/reliefapk/window.cpp:800 -msgid "Pending changes" -msgstr "待处理更改" - -#: userland/apps/reliefapk/window.cpp:784 -#, c-format -msgid "Pending changes (%zu)" -msgstr "待处理更改(%zu)" - -#: userland/apps/reliefapk/window.cpp:329 -msgid "Pending changes (0)" -msgstr "待处理更改(0)" - -#: userland/apps/fltk_support.h:32 -msgid "Please choose an existing file!" -msgstr "请选择已存在的文件!" - -#: userland/apps/reliefapk/window.cpp:939 -msgid "Please wait" -msgstr "请稍候" - -#: userland/apps/reliefapk/window.cpp:360 -msgid "Policy" -msgstr "策略" - -#: userland/apps/reliefapk/window.cpp:870 -msgid "Preparing a verified system update plan. Administrator authentication permits downloading and saving the plan; installed packages are changed only after you apply it.\n\n" -msgstr "正在准备经过验证的系统更新计划。管理员认证仅授权下载并保存计划;点击应用后才会更改已安装的软件包。\n\n" - -#: userland/apps/reliefapk/window.cpp:947 -msgid "Preparing system update..." -msgstr "正在准备系统更新…" - -#: userland/apps/fltk_support.h:39 -msgid "Preview" -msgstr "预览" - -#: userland/apps/reliefapk/window.cpp:826 -msgid "Preview changes" -msgstr "预览更改" - -#: userland/apps/reliefapk/window.cpp:697 -msgid "Provides" -msgstr "提供项" - -#: configs/nls/messages/reliefapk.c:11 -msgid "Read repositories" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:599 -msgid "Reading package details..." -msgstr "正在读取软件包详情..." - -#: userland/apps/reliefapk/window.cpp:513 -msgid "Reading packages..." -msgstr "正在读取软件包..." - -#: userland/apps/reliefapk/window.cpp:319 -msgid "Refresh" -msgstr "刷新" - -#: userland/apps/reliefapk/window.cpp:159 -msgid "Refresh indexes" -msgstr "刷新索引" - -#: userland/apps/reliefapk/window.cpp:320 -msgid "Refresh the displayed package list (F5)" -msgstr "刷新显示的软件包列表(F5)" - -#: userland/apps/reliefapk/certificate_display.h:29 -msgid "Refresh the two world requests as plain package names without version/tag constraints, then reinstall both so source certificates and generated output agree. Other world requests are preserved." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:153 -msgid "Reinstall" -msgstr "重新安装" - -#: userland/apps/reliefapk/window.cpp:53 -msgid "ReliefAPK help" -msgstr "ReliefAPK 帮助" - -#: userland/apps/reliefapk/dialogs.cpp:313 -msgid "ReliefAPK preferences" -msgstr "ReliefAPK 首选项" - -#: userland/apps/reliefapk/window.cpp:74 -msgid "" -"ReliefAPK\n" -"Graphical front end for Alpine Package Keeper\n" -"\n" -"C++ / FLTK — ReliefOS\n" -"Package queries and transactions are performed by the system apk command." -msgstr "" -"ReliefAPK\n" -"Alpine Package Keeper 图形前端\n" -"\n" -"C++ / FLTK — ReliefOS\n" -"软件包查询和事务均由系统 apk 命令执行。" - -#: userland/apps/reliefapk/dialogs.cpp:477 -msgid "Reload" -msgstr "重新加载" - -#: userland/apps/reliefapk/dialogs.cpp:452 -msgid "Remove" -msgstr "删除" - -#: userland/apps/reliefapk/window.cpp:804 -msgid "Remove selected" -msgstr "删除所选" - -#: userland/apps/reliefapk/window.cpp:155 -msgid "Repair" -msgstr "修复" - -#: userland/apps/reliefapk/certificate_display.h:28 -msgid "Repair targets: ca-certificates and ca-certificates-bundle (package signatures and TLS verification required)." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:145 -msgid "Repair/update system certificates" -msgstr "修复或更新系统证书" - -#: configs/nls/messages/reliefapk.c:12 -msgid "Replace repositories" -msgstr "" - -#: configs/nls/messages/reliefapk.c:13 -msgid "Repositories changed outside ReliefAPK. Reload before saving." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:691 -msgid "Repository" -msgstr "仓库" - -#: configs/nls/messages/reliefapk.c:14 -msgid "Repository configuration is too large" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:582 -msgid "Repository configuration is too large." -msgstr "仓库配置过大。" - -#: configs/nls/messages/reliefapk.c:15 -msgid "Repository path too long" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:173 -msgid "Repository policy" -msgstr "仓库策略" - -#: userland/apps/reliefapk/window.cpp:179 -msgid "Reverse dependencies" -msgstr "反向依赖项" - -#: userland/apps/reliefapk/window.cpp:868 -msgid "Review package changes" -msgstr "检查软件包更改" - -#: userland/apps/reliefapk/window.cpp:740 -msgid "Review system upgrades separately from other pending package operations." -msgstr "请将系统升级与其他待处理的软件包操作分别审阅。" - -#: userland/apps/reliefapk/certificate_display.h:21 -msgid "Root authentication required" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:20 -msgid "Root authentication required for certificate repair" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:950 -msgid "Running apk..." -msgstr "正在运行 apk..." - -#: userland/apps/reliefapk/dialogs.cpp:325 -msgid "Save" -msgstr "保存" - -#: configs/nls/messages/reliefapk.c:16 -msgid "Save backup" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:486 -msgid "Save changes" -msgstr "保存更改" - -#: userland/apps/reliefapk/window.cpp:976 -msgid "Save log..." -msgstr "保存日志..." - -#: userland/apps/reliefapk/window.cpp:980 -msgid "Save operation log" -msgstr "保存操作日志" - -#: userland/apps/reliefapk/dialogs.cpp:594 -msgid "Save repositories" -msgstr "保存仓库" - -#: userland/apps/reliefapk/dialogs.cpp:607 -msgid "Saving repositories..." -msgstr "正在保存仓库..." - -#: userland/apps/reliefapk/dialogs.cpp:595 -msgid "Saving repository configuration. The previous file is kept as .reliefapk.bak.\n" -msgstr "正在保存仓库配置。原文件会保留为 .reliefapk.bak。\n" - -#: userland/apps/reliefapk/window.cpp:54 -msgid "Search by package name or description. Select one or more packages, choose an operation, then review the pending changes.\n\nPreview runs apk --simulate. Apply executes the changes in the displayed order. Each operation is checked again before execution. System upgrades use the native ReliefOS updater to prepare a verified plan, then apply that exact plan. Review system upgrades separately from other package operations.\n\nRefresh indexes after changing repositories or when available packages are missing. Installed packages remain available offline.\n\nAdministrator operations use your system sudo or root authentication policy. Passwords are never saved.\n\nCtrl+F: search F5: refresh list Ctrl+Enter: preview changes" -msgstr "按软件包名称或描述搜索。选择一个或多个软件包及其操作,然后审阅待处理更改。\n\n预览使用 apk --simulate。应用时按显示的顺序执行更改,每项操作执行前会再次检查。系统升级由 ReliefOS 原生更新器准备经过验证的计划,再应用同一份计划。请将系统升级与其他软件包操作分别审阅。\n\n更改软件源或缺少可用软件包时,请刷新索引。离线时仍可查看已安装的软件包。\n\n管理员操作使用系统的 sudo 或 root 认证策略,不会保存密码。\n\nCtrl+F:搜索 F5:刷新列表 Ctrl+Enter:预览更改" - -#: userland/apps/reliefapk/window.cpp:331 -msgid "Search:" -msgstr "搜索:" - -#: userland/apps/reliefapk/dialogs.cpp:226 -msgid "Second version:" -msgstr "第二个版本:" - -#: userland/apps/reliefapk/dialogs.cpp:212 -msgid "Select APK package" -msgstr "选择 APK 软件包" - -#: userland/apps/reliefapk/window.cpp:557 -msgid "Select a package to view its details." -msgstr "选择一个软件包以查看详情。" - -#: userland/apps/reliefapk/window.cpp:769 -msgid "Select one or more packages first." -msgstr "请先选择一个或多个软件包。" - -#: userland/apps/fltk_support.h:42 -msgid "Show hidden files" -msgstr "显示隐藏文件" - -#: userland/apps/fltk_support.h:41 -msgid "Show:" -msgstr "显示:" - -#: userland/apps/reliefapk/window.cpp:949 -msgid "Simulating changes..." -msgstr "正在模拟更改..." - -#: userland/apps/reliefapk/window.cpp:1111 -msgid "Simulation completed. Review the output, then apply." -msgstr "模拟已完成。请查看输出后再应用。" - -#: userland/apps/reliefapk/window.cpp:240 -msgid "Size" -msgstr "大小" - -#: userland/apps/reliefapk/window.cpp:644 -msgid "Some repository indexes are unavailable. Refresh indexes to see all packages." -msgstr "部分仓库索引不可用。请刷新索引以查看全部软件包。" - -#: userland/apps/reliefapk/window.cpp:239 -msgid "Status" -msgstr "状态" - -#: configs/nls/messages/reliefapk.c:17 -msgid "Sync repositories directory" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:33 -msgid "System CA bundle installed and parsed successfully" -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1138 -msgid "System update completed. Restart to activate the updated kernel." -msgstr "系统更新完成。请重启以启用更新后的内核。" - -#: userland/apps/reliefapk/window.cpp:1090 -msgid "System update needs attention. Review the output and run reliefos-update status." -msgstr "系统更新需要处理。请查看输出并运行 reliefos-update status。" - -#: userland/apps/reliefapk/dialogs.cpp:418 -msgid "Tag:" -msgstr "标签:" - -#: configs/nls/messages/reliefapk.c:18 -msgid "The administrator cache and its parent directories must exist, be root-owned, and not be writable by other users." -msgstr "" - -#: configs/nls/messages/reliefapk.c:19 -msgid "The administrator cache must be an absolute directory." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:32 -msgid "The installed CA bundle is still unusable. Check the APK protected-path policy and .apk-new files; update the ReliefOS trust package/configuration." -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:25 -msgid "The two CA world requests will be refreshed as plain package names (without version or tag constraints); all other world requests are preserved." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1178 -msgid "The update is applying changes. Wait for it to finish before closing." -msgstr "正在应用更改。请等待完成后再关闭。" - -#: userland/apps/reliefapk/window.cpp:845 -msgid "There are no pending changes." -msgstr "没有待处理的更改。" - -#: userland/apps/reliefapk/window.cpp:916 -msgid "Too many packages in one operation." -msgstr "单次操作中的软件包过多。" - -#: userland/apps/reliefapk/window.cpp:191 -msgid "Trusted keys" -msgstr "受信任的密钥" - -#: userland/apps/reliefapk/certificate_display.h:67 -msgid "Unsafe system CA trust path; no online operation started: " -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:464 -msgid "Up" -msgstr "上级" - -#: userland/apps/reliefapk/dialogs.cpp:435 -msgid "Update entry" -msgstr "更新条目" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "Upgradable" -msgstr "可升级" - -#: userland/apps/reliefapk/window.cpp:151 -msgid "Upgrade selected" -msgstr "升级所选" - -#: userland/apps/reliefapk/window.cpp:157 -msgid "Upgrade system" -msgstr "升级系统" - -#: userland/apps/reliefapk/certificate_display.h:30 -msgid "Verified CA package metadata is unavailable. Check HTTPS, repository signatures, keys and sources. The restored OS CA bundle, if any, has been retained." -msgstr "" - -#: userland/apps/reliefapk/window.cpp:1108 -msgid "Verified update plan ready. Review the changes, then apply." -msgstr "经过验证的更新计划已就绪。请审阅更改后应用。" - -#: userland/apps/reliefapk/window.cpp:167 -msgid "Verify APK file" -msgstr "验证 APK 文件" - -#: userland/apps/reliefapk/window.cpp:686 -msgid "Version" -msgstr "版本" - -#: userland/apps/reliefapk/dialogs.cpp:468 -msgid "View source" -msgstr "查看源文件" - -#: userland/apps/reliefapk/dialogs.cpp:122 -msgid "Waiting for administrator authentication..." -msgstr "正在等待管理员身份验证..." - -#: userland/apps/reliefapk/dialogs.cpp:166 -msgid "World constraints" -msgstr "world 约束" - -#: userland/apps/reliefapk/window.cpp:345 -msgid "World packages and dependencies" -msgstr "world 包及依赖" - -#: userland/apps/fltk_support.h:27 -msgid "Yes" -msgstr "是" - -#: userland/apps/reliefapk/window.cpp:1162 -msgid "" -"\n" -"Applying the reviewed operations...\n" -msgstr "" -"\n" -"正在应用已检查的操作...\n" - -#: userland/apps/reliefapk/window.cpp:1157 -msgid "\nApplying the verified system update plan...\n" -msgstr "\n正在应用经过验证的系统更新计划…\n" - -#: userland/apps/reliefapk/window.cpp:952 -msgid "" -"\n" -"Cannot start the requested operation.\n" -msgstr "" -"\n" -"无法启动请求的操作。\n" - -#: userland/apps/reliefapk/window.cpp:1065 -#, c-format -msgid "" -"\n" -"Exit status: %d\n" -msgstr "" -"\n" -"退出状态:%d\n" - -#: userland/apps/reliefapk/window.cpp:1082 -msgid "\nThe native updater returned an incomplete or invalid response. Review its status before retrying.\n" -msgstr "\n原生更新器返回了不完整或无效的响应。请先检查更新状态再重试。\n" - -#: configs/nls/messages/reliefapk.c:20 -msgid "action does not take targets" -msgstr "" - -#: configs/nls/messages/reliefapk.c:21 -msgid "action requires package targets" -msgstr "" - -#: configs/nls/messages/reliefapk.c:22 -msgid "certificate repair is unavailable" -msgstr "" - -#: configs/nls/messages/reliefapk.c:23 -msgid "certificate repair requires the fixed CA package and online mode" -msgstr "" - -#: configs/nls/messages/reliefapk.c:24 -msgid "control byte in JSON package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:25 -msgid "could not build command arguments" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:36 -msgid "could not prepare the certificate package operation" -msgstr "" - -#: configs/nls/messages/reliefapk.c:27 -msgid "expected JSON package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:28 -msgid "expected comma or end of package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:29 -msgid "expected package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:30 -msgid "fetch requires an output directory and package constraints" -msgstr "" - -#: configs/nls/messages/reliefapk.c:31 -msgid "invalid JSON package object structure" -msgstr "" - -#: configs/nls/messages/reliefapk.c:32 -msgid "invalid apk settings" -msgstr "" - -#: configs/nls/messages/reliefapk.c:33 -msgid "invalid native updater response" -msgstr "原生更新器响应无效" - -#: configs/nls/messages/reliefapk.c:34 -msgid "invalid package constraint" -msgstr "" - -#: configs/nls/messages/reliefapk.c:35 -msgid "invalid package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:36 -msgid "key management is handled by the GUI" -msgstr "" - -#: configs/nls/messages/reliefapk.c:37 -msgid "metadata requires a package name" -msgstr "" - -#: userland/apps/reliefapk/certificate_display.h:54 -msgid "none (file was missing)" -msgstr "" - -#: configs/nls/messages/reliefapk.c:38 -msgid "out of memory" -msgstr "" - -#: configs/nls/messages/reliefapk.c:39 -msgid "out of memory while building package catalog" -msgstr "" - -#: configs/nls/messages/reliefapk.c:40 -msgid "owner requires one absolute file path" -msgstr "" - -#: configs/nls/messages/reliefapk.c:41 -msgid "package catalog exceeds limit" -msgstr "" - -#: configs/nls/messages/reliefapk.c:42 -msgid "package object exceeds limit" -msgstr "" - -#: configs/nls/messages/reliefapk.c:43 -msgid "simulation is not supported for this action" -msgstr "" - -#: userland/apps/reliefapk/dialogs.cpp:320 -msgid "su — root password" -msgstr "su — root 密码" - -#: userland/apps/reliefapk/dialogs.cpp:319 -msgid "sudo — current user's password" -msgstr "sudo — 当前用户密码" - -#: configs/nls/messages/reliefapk.c:44 -msgid "system update requires a reviewed update plan" -msgstr "系统更新需要经过审阅的更新计划" - -#: configs/nls/messages/reliefapk.c:45 -msgid "system updates require online mode" -msgstr "系统更新需要联网模式" - -#: configs/nls/messages/reliefapk.c:46 -msgid "trailing comma in package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:47 -msgid "trailing data after JSON array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:48 -msgid "truncated JSON package array" -msgstr "" - -#: configs/nls/messages/reliefapk.c:49 -msgid "truncated JSON package object" -msgstr "" - -#: configs/nls/messages/reliefapk.c:50 -msgid "unknown package query filter" -msgstr "" - -#: configs/nls/messages/reliefapk.c:51 -msgid "upgrade all does not take package targets" -msgstr "" - -#: configs/nls/messages/reliefapk.c:52 -msgid "verify requires absolute .apk paths" -msgstr "" - -#: configs/nls/messages/reliefapk.c:53 -msgid "verify requires local package files" -msgstr "" - -#: configs/nls/messages/reliefapk.c:54 -msgid "version comparison requires two version strings" -msgstr "" - -#~ msgid "" -#~ "Search by package name or description. Select one or more packages, choose an operation, then review the pending changes.\n" -#~ "\n" -#~ "Preview runs apk --simulate. Apply executes the changes in the displayed order. Each operation is checked again before execution.\n" -#~ "\n" -#~ "Refresh indexes after changing repositories or when available packages are missing. Installed packages remain available offline.\n" -#~ "\n" -#~ "Administrator operations use your system sudo or root authentication policy. Passwords are never saved.\n" -#~ "\n" -#~ "Ctrl+F: search F5: refresh list Ctrl+Enter: preview changes" -#~ msgstr "" -#~ "按软件包名称或说明搜索。选择一个或多个软件包,选择操作,然后查看待处理的更改。\n" -#~ "\n" -#~ "预览会运行 apk --simulate。应用会按显示的顺序执行更改。每项操作在执行前都会再次检查。\n" -#~ "\n" -#~ "更改仓库后,或找不到可用软件包时,请刷新索引。已安装的软件包仍可离线使用。\n" -#~ "\n" -#~ "需要管理员权限的操作会遵循系统的 sudo 或 root 身份验证策略。密码不会保存。\n" -#~ "\n" -#~ "Ctrl+F:搜索 F5:刷新列表 Ctrl+Enter:预览更改" - -#~ msgid "apk is applying changes. Wait for it to finish before closing." -#~ msgstr "apk 正在应用更改。请等待其完成后再关闭。" diff --git a/configs/nls/po/reliefaskpass/ja_JP.po b/configs/nls/po/reliefaskpass/ja_JP.po deleted file mode 100644 index 087d0c6b..00000000 --- a/configs/nls/po/reliefaskpass/ja_JP.po +++ /dev/null @@ -1,99 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/fltk_support.h:48 -msgid "Add to Favorites" -msgstr "お気に入りに追加" - -#: userland/apps/fltk_support.h:49 -msgid "All Files (*)" -msgstr "すべてのファイル (*)" - -#: userland/apps/reliefaskpass/main.cpp:32 -msgid "Authentication" -msgstr "認証" - -#: userland/apps/fltk_support.h:44 -msgid "Cancel" -msgstr "キャンセル" - -#: userland/apps/fltk_support.h:45 -msgid "Close" -msgstr "閉じる" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "画像をデコードできません" - -#: userland/apps/fltk_support.h:57 -msgid "Create a new directory" -msgstr "新しいフォルダーを作成" - -#: userland/apps/fltk_support.h:50 -msgid "Custom Filter" -msgstr "カスタムフィルター" - -#: userland/apps/fltk_support.h:52 -msgid "Favorites" -msgstr "お気に入り" - -#: userland/apps/fltk_support.h:54 -msgid "File Systems" -msgstr "ファイルシステム" - -#: userland/apps/fltk_support.h:53 -msgid "File name:" -msgstr "ファイル名:" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "入力が長すぎます" - -#: userland/apps/fltk_support.h:55 -msgid "Manage Favorites" -msgstr "お気に入りの管理" - -#: userland/apps/fltk_support.h:56 -msgid "New Directory?" -msgstr "新しいフォルダーを作成しますか?" - -#: userland/apps/fltk_support.h:47 -msgid "No" -msgstr "いいえ" - -#: userland/apps/fltk_support.h:43 -msgid "OK" -msgstr "OK" - -#: userland/apps/fltk_support.h:51 -msgid "Please choose an existing file!" -msgstr "既存のファイルを選択してください。" - -#: userland/apps/fltk_support.h:58 -msgid "Preview" -msgstr "プレビュー" - -#: userland/apps/fltk_support.h:59 -msgid "Save" -msgstr "保存" - -#: userland/apps/fltk_support.h:61 -msgid "Show hidden files" -msgstr "隠しファイルを表示" - -#: userland/apps/fltk_support.h:60 -msgid "Show:" -msgstr "表示:" - -#: userland/apps/fltk_support.h:46 -msgid "Yes" -msgstr "はい" diff --git a/configs/nls/po/reliefaskpass/reliefaskpass.pot b/configs/nls/po/reliefaskpass/reliefaskpass.pot deleted file mode 100644 index d50aed5f..00000000 --- a/configs/nls/po/reliefaskpass/reliefaskpass.pot +++ /dev/null @@ -1,91 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/fltk_support.h:48 -msgid "Add to Favorites" -msgstr "" - -#: userland/apps/fltk_support.h:49 -msgid "All Files (*)" -msgstr "" - -#: userland/apps/reliefaskpass/main.cpp:32 -msgid "Authentication" -msgstr "" - -#: userland/apps/fltk_support.h:44 -msgid "Cancel" -msgstr "" - -#: userland/apps/fltk_support.h:45 -msgid "Close" -msgstr "" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "" - -#: userland/apps/fltk_support.h:57 -msgid "Create a new directory" -msgstr "" - -#: userland/apps/fltk_support.h:50 -msgid "Custom Filter" -msgstr "" - -#: userland/apps/fltk_support.h:52 -msgid "Favorites" -msgstr "" - -#: userland/apps/fltk_support.h:54 -msgid "File Systems" -msgstr "" - -#: userland/apps/fltk_support.h:53 -msgid "File name:" -msgstr "" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "" - -#: userland/apps/fltk_support.h:55 -msgid "Manage Favorites" -msgstr "" - -#: userland/apps/fltk_support.h:56 -msgid "New Directory?" -msgstr "" - -#: userland/apps/fltk_support.h:47 -msgid "No" -msgstr "" - -#: userland/apps/fltk_support.h:43 -msgid "OK" -msgstr "" - -#: userland/apps/fltk_support.h:51 -msgid "Please choose an existing file!" -msgstr "" - -#: userland/apps/fltk_support.h:58 -msgid "Preview" -msgstr "" - -#: userland/apps/fltk_support.h:59 -msgid "Save" -msgstr "" - -#: userland/apps/fltk_support.h:61 -msgid "Show hidden files" -msgstr "" - -#: userland/apps/fltk_support.h:60 -msgid "Show:" -msgstr "" - -#: userland/apps/fltk_support.h:46 -msgid "Yes" -msgstr "" diff --git a/configs/nls/po/reliefaskpass/zh_CN.po b/configs/nls/po/reliefaskpass/zh_CN.po deleted file mode 100644 index 7938003e..00000000 --- a/configs/nls/po/reliefaskpass/zh_CN.po +++ /dev/null @@ -1,99 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS 1\n" -"PO-Revision-Date: 2026-09-21 00:00+0800\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/fltk_support.h:48 -msgid "Add to Favorites" -msgstr "添加到收藏夹" - -#: userland/apps/fltk_support.h:49 -msgid "All Files (*)" -msgstr "所有文件 (*)" - -#: userland/apps/reliefaskpass/main.cpp:32 -msgid "Authentication" -msgstr "身份验证" - -#: userland/apps/fltk_support.h:44 -msgid "Cancel" -msgstr "取消" - -#: userland/apps/fltk_support.h:45 -msgid "Close" -msgstr "关闭" - -#: userland/apps/fltk_png_app.h:46 -msgid "Could not decode image" -msgstr "无法解码图像" - -#: userland/apps/fltk_support.h:57 -msgid "Create a new directory" -msgstr "创建新目录" - -#: userland/apps/fltk_support.h:50 -msgid "Custom Filter" -msgstr "自定义筛选器" - -#: userland/apps/fltk_support.h:52 -msgid "Favorites" -msgstr "收藏夹" - -#: userland/apps/fltk_support.h:54 -msgid "File Systems" -msgstr "文件系统" - -#: userland/apps/fltk_support.h:53 -msgid "File name:" -msgstr "文件名:" - -#: userland/apps/fltk_files.h:23 -msgid "Input is too long" -msgstr "输入内容过长" - -#: userland/apps/fltk_support.h:55 -msgid "Manage Favorites" -msgstr "管理收藏夹" - -#: userland/apps/fltk_support.h:56 -msgid "New Directory?" -msgstr "新建目录?" - -#: userland/apps/fltk_support.h:47 -msgid "No" -msgstr "否" - -#: userland/apps/fltk_support.h:43 -msgid "OK" -msgstr "确定" - -#: userland/apps/fltk_support.h:51 -msgid "Please choose an existing file!" -msgstr "请选择已存在的文件!" - -#: userland/apps/fltk_support.h:58 -msgid "Preview" -msgstr "预览" - -#: userland/apps/fltk_support.h:59 -msgid "Save" -msgstr "保存" - -#: userland/apps/fltk_support.h:61 -msgid "Show hidden files" -msgstr "显示隐藏文件" - -#: userland/apps/fltk_support.h:60 -msgid "Show:" -msgstr "显示:" - -#: userland/apps/fltk_support.h:46 -msgid "Yes" -msgstr "是" diff --git a/configs/nls/po/reliefcapture/ja_JP.po b/configs/nls/po/reliefcapture/ja_JP.po index ff97f9fb..a30671e3 100644 --- a/configs/nls/po/reliefcapture/ja_JP.po +++ b/configs/nls/po/reliefcapture/ja_JP.po @@ -211,6 +211,10 @@ msgid "Help" msgstr "ヘルプ" #: userland/apps/reliefcapture/window.cpp:263 +msgid "Could not copy the image to the clipboard" +msgstr "画像をクリップボードにコピーできませんでした" + +#: userland/apps/reliefcapture/window.cpp:265 msgid "Image copied; keep ReliefCapture open while pasting" msgstr "画像をコピーしました。貼り付けが終わるまで ReliefCapture を開いたままにしてください" diff --git a/configs/nls/po/reliefcapture/reliefcapture.pot b/configs/nls/po/reliefcapture/reliefcapture.pot index c591719b..3486e162 100644 --- a/configs/nls/po/reliefcapture/reliefcapture.pot +++ b/configs/nls/po/reliefcapture/reliefcapture.pot @@ -203,6 +203,10 @@ msgid "Help" msgstr "" #: userland/apps/reliefcapture/window.cpp:263 +msgid "Could not copy the image to the clipboard" +msgstr "" + +#: userland/apps/reliefcapture/window.cpp:265 msgid "Image copied; keep ReliefCapture open while pasting" msgstr "" diff --git a/configs/nls/po/reliefcapture/zh_CN.po b/configs/nls/po/reliefcapture/zh_CN.po index 1e6c03c4..cec9d508 100644 --- a/configs/nls/po/reliefcapture/zh_CN.po +++ b/configs/nls/po/reliefcapture/zh_CN.po @@ -211,6 +211,10 @@ msgid "Help" msgstr "帮助" #: userland/apps/reliefcapture/window.cpp:263 +msgid "Could not copy the image to the clipboard" +msgstr "无法将图像复制到剪贴板" + +#: userland/apps/reliefcapture/window.cpp:265 msgid "Image copied; keep ReliefCapture open while pasting" msgstr "图像已复制;粘贴时请保持 ReliefCapture 打开" diff --git a/configs/nls/po/reliefmail/ja_JP.po b/configs/nls/po/reliefmail/ja_JP.po index ef0223f4..af3af003 100644 --- a/configs/nls/po/reliefmail/ja_JP.po +++ b/configs/nls/po/reliefmail/ja_JP.po @@ -1,14 +1,31 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:44+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/reliefmail/window_actions.cpp:387 +#, python-format +msgid "" +"\n" +"Current account generation %llu\n" +"Exact IMAP destination: %s\n" +"Folder generation %llu · UIDVALIDITY %llu\n" +msgstr "" +"\n" +"現在のアカウント世代 %llu\n" +"正確な IMAP の保存先: %s\n" +"フォルダー世代 %llu · UIDVALIDITY %llu\n" #: userland/apps/reliefmail/tools.cpp:397 msgid " (container)" @@ -22,26 +39,35 @@ msgstr " · 既定" msgid " · Disabled" msgstr " · 無効" +#: userland/apps/reliefmail/tools.cpp:492 +#, python-format +msgid "" +"%s\n" +"%s · generation %llu · UIDVALIDITY %llu · %u messages" +msgstr "" +"%s\n" +"%s · 世代 %llu · UIDVALIDITY %llu · %u 件のメッセージ" + #: userland/apps/reliefmail/reader.cpp:625 +#, python-format msgid "%s %u" msgstr "%s %u" #: userland/apps/reliefmail/reader.cpp:621 +#, python-format msgid "%s %u: %s (%llu bytes)" msgstr "%s %u: %s (%llu バイト)" #: userland/apps/reliefmail/reader.cpp:332 +#, python-format msgid "%s (%llu bytes)" msgstr "%s (%llu バイト)" #: userland/apps/reliefmail/window.cpp:727 +#, python-format msgid "%s · %s · %llu messages" msgstr "%s · %s · %llu 件のメッセージ" -#: userland/apps/reliefmail/tools.cpp:492 -msgid "%s\n%s · generation %llu · UIDVALIDITY %llu · %u messages" -msgstr "%s\n%s · 世代 %llu · UIDVALIDITY %llu · %u 件のメッセージ" - #: userland/apps/reliefmail/compose_window.cpp:589 msgid "(no subject)" msgstr "(件名なし)" @@ -63,7 +89,9 @@ msgid "; SMTP RSET was rejected (code " msgstr "、SMTP RSET が拒否されました (code " #: userland/apps/reliefmail/compose_window.cpp:1144 -msgid "A new draft will be created under this sender. Current edits and attachments are copied; the original stays unchanged." +msgid "" +"A new draft will be created under this sender. Current edits and attachments are copied; the" +" original stays unchanged." msgstr "この差出人の新しい下書きを作成します。現在の編集内容と添付ファイルはコピーされ、元の下書きは変更されません。" #: userland/apps/reliefmail/window.cpp:172 @@ -74,14 +102,24 @@ msgstr "ReliefMail について" msgid "Account" msgstr "アカウント" +#: userland/apps/reliefmail/window_actions.cpp:486 +#, python-format +msgid "" +"Account %llu\n" +"Server folder: %s\n" +"Folder generation %llu · UIDVALIDITY %llu\n" +"Deletes are targeted by exact UIDPLUS identity." +msgstr "" +"アカウント %llu\n" +"サーバーフォルダー: %s\n" +"フォルダー世代 %llu · UIDVALIDITY %llu\n" +"削除対象は正確な UIDPLUS 識別情報で指定されます。" + #: userland/apps/reliefmail/window_actions.cpp:45 +#, python-format msgid "Account %llu · %s · UIDVALIDITY %llu · UID %u\n" msgstr "アカウント %llu · %s · UIDVALIDITY %llu · UID %u\n" -#: userland/apps/reliefmail/window_actions.cpp:486 -msgid "Account %llu\nServer folder: %s\nFolder generation %llu · UIDVALIDITY %llu\nDeletes are targeted by exact UIDPLUS identity." -msgstr "アカウント %llu\nサーバーフォルダー: %s\nフォルダー世代 %llu · UIDVALIDITY %llu\n削除対象は正確な UIDPLUS 識別情報で指定されます。" - #: userland/apps/reliefmail/window_accounts.cpp:300 msgid "Account changed, but the local view could not be refreshed." msgstr "アカウントは変更されましたが、ローカル表示を更新できませんでした。" @@ -107,7 +145,9 @@ msgid "Account save returned an invalid result" msgstr "アカウントの保存から無効な結果が返されました" #: userland/apps/reliefmail/window.cpp:617 -msgid "Account saved, but session credentials could not be retained; enter them again before connecting." +msgid "" +"Account saved, but session credentials could not be retained; enter them again before " +"connecting." msgstr "アカウントは保存されましたが、セッションの認証情報を保持できませんでした。接続する前に再入力してください。" #: userland/apps/reliefmail/window.cpp:963 @@ -138,7 +178,7 @@ msgstr "メッセージを作成する前にアカウントを追加してくだ msgid "Add mail account" msgstr "メールアカウントを追加" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" @@ -150,7 +190,7 @@ msgstr "詳細設定" msgid "All" msgstr "すべて" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" @@ -243,7 +283,9 @@ msgid "Archiving is still pending; SMTP was not retried." msgstr "アーカイブはまだ保留中です。SMTP は再試行していません。" #: userland/apps/reliefmail/window_actions.cpp:952 -msgid "At least one result is uncertain. Refresh the server folder before deciding whether to act again." +msgid "" +"At least one result is uncertain. Refresh the server folder before deciding whether to act " +"again." msgstr "少なくとも 1 件の結果が不確定です。再度操作するか判断する前に、サーバーフォルダーを更新してください。" #: userland/apps/reliefmail/compose_window.cpp:766 @@ -330,7 +372,7 @@ msgstr "箇条書き" msgid "Cache days" msgstr "キャッシュ日数" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" @@ -359,8 +401,8 @@ msgid "Center" msgstr "中央揃え" #: userland/apps/reliefmail/window_accounts.cpp:467 -msgid "Certificate repair is already open in ReliefAPK." -msgstr "ReliefAPK で証明書の修復がすでに開かれています。" +msgid "Certificate repair is already open in ReliefPackages." +msgstr "ReliefPackages で証明書の修復が既に開いています。" #: userland/apps/reliefmail/compose_window.cpp:1155 msgid "Change account" @@ -454,7 +496,7 @@ msgstr "Cc フィールドを非表示にする前に内容を消去してくだ msgid "Clipboard" msgstr "クリップボード" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "閉じる" @@ -806,7 +848,7 @@ msgstr "選択したメッセージデータを書き込めませんでした" msgid "Could not write the temporary export file." msgstr "エクスポート用の一時ファイルを書き込めませんでした。" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" @@ -842,7 +884,7 @@ msgstr "現在のフォルダー" msgid "Custom CA file (optional)" msgstr "カスタム CA ファイル(任意)" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" @@ -863,7 +905,9 @@ msgid "Date unavailable" msgstr "日付を取得できません" #: userland/apps/reliefmail/dialogs.cpp:503 -msgid "Dates use received time (IMAP INTERNALDATE) in UTC; both dates are inclusive, format YYYY-MM-DD." +msgid "" +"Dates use received time (IMAP INTERNALDATE) in UTC; both dates are inclusive, format YYYY-" +"MM-DD." msgstr "日付は UTC の受信時刻(IMAP INTERNALDATE)を使用します。両端の日付を含み、形式は YYYY-MM-DD です。" #: userland/apps/reliefmail/dialogs.cpp:144 @@ -919,6 +963,7 @@ msgid "Delivery review recorded. No SMTP retry was started." msgstr "配信結果の確認を記録しました。SMTP の再試行は開始されていません。" #: userland/apps/reliefmail/window_actions.cpp:52 +#, python-format msgid "Destination account %llu · %s · folder generation %llu · UIDVALIDITY %llu\n" msgstr "保存先アカウント %llu · %s · フォルダー世代 %llu · UIDVALIDITY %llu\n" @@ -1146,7 +1191,7 @@ msgstr "FETCH 応答にサイズが制限されたメッセージリテラルが msgid "Failed before delivery" msgstr "配信前に失敗" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" @@ -1171,6 +1216,7 @@ msgid "Fetching complete message" msgstr "メッセージ全体を取得しています" #: userland/apps/reliefmail/dialogs.cpp:528 +#, python-format msgid "Field: %s · Scope: %s" msgstr "フィールド: %s · 範囲: %s" @@ -1178,11 +1224,11 @@ msgstr "フィールド: %s · 範囲: %s" msgid "File" msgstr "ファイル" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" @@ -1247,7 +1293,9 @@ msgid "Font" msgstr "フォント" #: userland/apps/reliefmail/compose_window.cpp:2254 -msgid "Formatting and hyperlinks will be omitted from the outgoing message. The saved rich document remains available if you switch back before sending." +msgid "" +"Formatting and hyperlinks will be omitted from the outgoing message. The saved rich document" +" remains available if you switch back before sending." msgstr "送信するメッセージでは書式とハイパーリンクが省略されます。送信前に戻せば、保存済みのリッチテキスト文書を引き続き利用できます。" #: userland/apps/reliefmail/window.cpp:933 @@ -1399,11 +1447,15 @@ msgid "IMAP STORE UIDVALIDITY is stale" msgstr "IMAP STORE の UIDVALIDITY が古くなっています" #: configs/nls/messages/reliefmail.c:469 -msgid "IMAP accepted the flag change, but the local cache could not be updated. Refresh before repeating it." +msgid "" +"IMAP accepted the flag change, but the local cache could not be updated. Refresh before " +"repeating it." msgstr "IMAP はフラグの変更を受け付けましたが、ローカルキャッシュを更新できませんでした。繰り返す前に更新してください。" #: configs/nls/messages/reliefmail.c:470 -msgid "IMAP accepted the move, but the local cache could not be updated. Refresh before repeating it." +msgid "" +"IMAP accepted the move, but the local cache could not be updated. Refresh before repeating " +"it." msgstr "IMAP は移動を受け付けましたが、ローカルキャッシュを更新できませんでした。繰り返す前に更新してください。" #: configs/nls/messages/reliefmail.c:101 @@ -1455,7 +1507,9 @@ msgid "IMAP full FETCH returned an invalid or header-only message" msgstr "IMAP の完全な FETCH が無効またはヘッダーのみのメッセージを返しました" #: userland/apps/reliefmail/dialogs.cpp:146 -msgid "IMAP is required in this build. OAuth2-only login is not available. Use your provider's application password when required." +msgid "" +"IMAP is required in this build. OAuth2-only login is not available. Use your provider's " +"application password when required." msgstr "このビルドでは IMAP が必要です。OAuth2 のみのログインは利用できません。必要に応じてプロバイダーのアプリケーションパスワードを使用してください。" #: configs/nls/messages/reliefmail.c:112 @@ -1646,7 +1700,7 @@ msgstr "メールのナビゲーション" msgid "Mail tools" msgstr "メールツール" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" @@ -1742,12 +1796,15 @@ msgstr "移動..." msgid "New" msgstr "新規作成" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" #: userland/apps/reliefmail/dialogs.cpp:239 -msgid "New accounts need both passwords. For an edit, leave a password blank only when reusing a matching session credential; a changed server or user needs a new password. Credentials stay in this session unless you explicitly save them to the encrypted vault." +msgid "" +"New accounts need both passwords. For an edit, leave a password blank only when reusing a " +"matching session credential; a changed server or user needs a new password. Credentials stay" +" in this session unless you explicitly save them to the encrypted vault." msgstr "新しいアカウントには両方のパスワードが必要です。編集時にパスワードを空欄にできるのは、一致するセッションの認証情報を再利用する場合のみです。サーバーまたはユーザーを変更した場合は新しいパスワードが必要です。明示的に暗号化保管庫へ保存しない限り、認証情報はこのセッション内にのみ保持されます。" #: userland/apps/reliefmail/compose_window.cpp:959 @@ -1778,7 +1835,7 @@ msgstr "受信日時の新しい順" msgid "Next" msgstr "次へ" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" @@ -1803,7 +1860,9 @@ msgid "No current IMAP credential is available to retry Sent-folder archiving." msgstr "送信済みフォルダーへのアーカイブを再試行するための現在の IMAP 認証情報がありません。" #: userland/apps/reliefmail/compose_window.cpp:1535 -msgid "No current SMTP credential is available. Unlock the vault or enter the account password first." +msgid "" +"No current SMTP credential is available. Unlock the vault or enter the account password " +"first." msgstr "現在の SMTP 認証情報がありません。先に保管庫のロックを解除するか、アカウントのパスワードを入力してください。" #: userland/apps/reliefmail/tools.cpp:475 @@ -1827,8 +1886,12 @@ msgid "No message selected" msgstr "メッセージが選択されていません" #: userland/apps/reliefmail/window.cpp:1335 -msgid "No messages match this view.\nSynchronize headers or change filters." -msgstr "この表示に一致するメッセージはありません。\nヘッダーを同期するか、フィルターを変更してください。" +msgid "" +"No messages match this view.\n" +"Synchronize headers or change filters." +msgstr "" +"この表示に一致するメッセージはありません。\n" +"ヘッダーを同期するか、フィルターを変更してください。" #: userland/apps/reliefmail/window_query.cpp:67 msgid "No more cached rows can be added to this view." @@ -1878,7 +1941,7 @@ msgstr "この操作で保管庫のパスワードを保持するためのメモ msgid "Number" msgstr "数値" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" @@ -1938,13 +2001,37 @@ msgstr "選択したアドレスのリンク先を確認してから開く" msgid "Open this exact link in the system browser?" msgstr "このリンクをそのままシステムブラウザーで開きますか?" -#: userland/apps/reliefmail/tools.cpp:514 -msgid "Operation #%llu · %s · delivery count %u\nMessage-ID: %s\nFrom: %s\nTo: %s\nArchive target: %s · account generation %llu · folder generation %llu · UIDVALIDITY %llu\n%s" -msgstr "操作 #%llu · %s · 配信回数 %u\nMessage-ID: %s\n差出人: %s\n宛先: %s\nアーカイブ先: %s · アカウント世代 %llu · フォルダー世代 %llu · UIDVALIDITY %llu\n%s" - #: userland/apps/reliefmail/window_actions.cpp:158 -msgid "Operation #%llu\nMessage-ID: %s\nStage %u · delivery count %u\nFrom: %s\nTo: " -msgstr "操作 #%llu\nMessage-ID: %s\n段階 %u · 配信回数 %u\n差出人: %s\n宛先: " +#, python-format +msgid "" +"Operation #%llu\n" +"Message-ID: %s\n" +"Stage %u · delivery count %u\n" +"From: %s\n" +"To: " +msgstr "" +"操作 #%llu\n" +"Message-ID: %s\n" +"段階 %u · 配信回数 %u\n" +"差出人: %s\n" +"宛先: " + +#: userland/apps/reliefmail/tools.cpp:514 +#, python-format +msgid "" +"Operation #%llu · %s · delivery count %u\n" +"Message-ID: %s\n" +"From: %s\n" +"To: %s\n" +"Archive target: %s · account generation %llu · folder generation %llu · UIDVALIDITY %llu\n" +"%s" +msgstr "" +"操作 #%llu · %s · 配信回数 %u\n" +"Message-ID: %s\n" +"差出人: %s\n" +"宛先: %s\n" +"アーカイブ先: %s · アカウント世代 %llu · フォルダー世代 %llu · UIDVALIDITY %llu\n" +"%s" #: userland/apps/reliefmail/window.cpp:972 msgid "Operations" @@ -2014,7 +2101,7 @@ msgstr "プレーンテキスト" msgid "Plain-text preview is truncated; save the original to view the complete message." msgstr "プレーンテキストのプレビューは途中で省略されています。メッセージ全体を見るには元データを保存してください。" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" @@ -2026,7 +2113,7 @@ msgstr "問い合わせ間隔(分)" msgid "Port" msgstr "ポート" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" @@ -2143,7 +2230,9 @@ msgid "Received-after date must not be later than received-before." msgstr "受信日の開始は終了より後にできません。" #: configs/nls/messages/reliefmail.c:266 -msgid "Received-date, unread, starred, sender/subject sorting, and attachment filters are local-only." +msgid "" +"Received-date, unread, starred, sender/subject sorting, and attachment filters are local-" +"only." msgstr "受信日、未読、スター付き、差出人 / 件名の並べ替え、添付ファイルのフィルターはローカル専用です。" #: userland/apps/reliefmail/reader.cpp:589 @@ -2178,25 +2267,31 @@ msgstr "永続的な送信履歴を読み込むには、キューを更新して msgid "Refresh the selected account's folder list" msgstr "選択したアカウントのフォルダー一覧を更新" -#: userland/apps/reliefmail/window.cpp:426 -msgid "ReliefAPK closed. If certificate repair completed, test the connection again." -msgstr "ReliefAPK を閉じました。証明書の修復が完了した場合は、接続を再テストしてください。" - -#: userland/apps/reliefmail/dialogs.cpp:214 -msgid "ReliefAPK downloads the signed CA package and requests administrator authentication. Test the connection again after repair." -msgstr "ReliefAPK は署名済みの CA パッケージをダウンロードし、管理者認証を要求します。修復後に接続を再テストしてください。" - -#: userland/apps/reliefmail/window_accounts.cpp:471 -msgid "ReliefAPK is not installed. Install the signed ca-certificates-bundle package with your system package manager." -msgstr "ReliefAPK がインストールされていません。システムのパッケージマネージャーで署名済みの ca-certificates-bundle パッケージをインストールしてください。" - #: userland/apps/reliefmail/window.cpp:156 msgid "ReliefMail" msgstr "ReliefMail" #: userland/apps/reliefmail/window.cpp:1138 -msgid "ReliefMail\nNative mail reader and account client" -msgstr "ReliefMail\nネイティブメールリーダーとアカウントクライアント" +msgid "" +"ReliefMail\n" +"Native mail reader and account client" +msgstr "" +"ReliefMail\n" +"ネイティブメールリーダーとアカウントクライアント" + +#: userland/apps/reliefmail/window.cpp:426 +msgid "ReliefPackages closed. If certificate repair completed, test the connection again." +msgstr "ReliefPackages が閉じました。証明書の修復が完了した場合は、接続を再テストしてください。" + +#: userland/apps/reliefmail/window_accounts.cpp:471 +msgid "ReliefPackages is not installed. Reinstall the official ca-certificates packages with pacman." +msgstr "ReliefPackages がインストールされていません。pacman で公式 ca-certificates パッケージを再インストールしてください。" + +#: userland/apps/reliefmail/dialogs.cpp:214 +msgid "" +"ReliefPackages reinstalls the official signed certificate packages after administrator " +"authentication. Test the connection again after repair." +msgstr "管理者認証後、ReliefPackages は公式の署名済み証明書パッケージを再インストールします。修復後に接続を再テストしてください。" #: userland/apps/reliefmail/compose_window.cpp:768 msgid "Remove" @@ -2283,8 +2378,10 @@ msgid "Review and confirm a current Sent-folder destination first." msgstr "先に現在の送信済みフォルダーの保存先を確認してください。" #: userland/apps/reliefmail/window_accounts.cpp:484 -msgid "Review certificate repair in ReliefAPK. After completion, test the mail connection again." -msgstr "ReliefAPK で証明書の修復を確認してください。完了後、メール接続を再テストしてください。" +msgid "" +"Review certificate repair in ReliefPackages. After completion, test the mail connection " +"again." +msgstr "ReliefPackages で証明書の修復を確認してください。完了後にメール接続を再テストしてください。" #: userland/apps/reliefmail/tools.cpp:137 msgid "Review the current account generation and exact IMAP archive target" @@ -2355,7 +2452,9 @@ msgid "SMTP delivery and Sent-folder archive completed." msgstr "SMTP 配信と送信済みフォルダーへのアーカイブが完了しました。" #: userland/apps/reliefmail/window_actions.cpp:406 -msgid "SMTP delivery is already accepted or explicitly reviewed. This confirmation only binds a current IMAP folder; it never resends SMTP." +msgid "" +"SMTP delivery is already accepted or explicitly reviewed. This confirmation only binds a " +"current IMAP folder; it never resends SMTP." msgstr "SMTP 配信はすでに受け付けられたか、明示的に確認されています。この確認は現在の IMAP フォルダーを関連付けるだけで、SMTP で再送信することはありません。" #: configs/nls/messages/reliefmail.c:1202 @@ -2363,7 +2462,9 @@ msgid "SMTP delivery is already confirmed and cannot be cancelled" msgstr "SMTP 配信はすでに確認されており、取り消せません" #: configs/nls/messages/reliefmail.c:474 -msgid "SMTP delivery is already recorded. Review and confirm the archive destination for the current account settings; this action will not contact SMTP." +msgid "" +"SMTP delivery is already recorded. Review and confirm the archive destination for the " +"current account settings; this action will not contact SMTP." msgstr "SMTP 配信はすでに記録されています。現在のアカウント設定のアーカイブ先を確認してください。この操作では SMTP に接続しません。" #: configs/nls/messages/reliefmail.c:1205 @@ -2379,7 +2480,9 @@ msgid "SMTP delivery is confirmed; Sent APPEND failed and can only be retried in msgstr "SMTP 配信は確認済みですが、Sent APPEND に失敗しました。アーカイブモードでのみ再試行できます" #: configs/nls/messages/reliefmail.c:1067 -msgid "SMTP delivery is confirmed; Sent APPEND outcome is uncertain and can only be retried in archive mode" +msgid "" +"SMTP delivery is confirmed; Sent APPEND outcome is uncertain and can only be retried in " +"archive mode" msgstr "SMTP 配信は確認済みですが、Sent APPEND の結果が不確定です。アーカイブモードでのみ再試行できます" #: userland/apps/reliefmail/window_actions.cpp:1157 @@ -2510,7 +2613,7 @@ msgstr "安全な終了処理を完了できませんでした" msgid "Sans" msgstr "サンセリフ" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -2839,14 +2942,16 @@ msgid "Server folders" msgstr "サーバーフォルダー" #: userland/apps/reliefmail/dialogs.cpp:508 -msgid "Server search cannot apply local-only date, unread, starred, attachment, unified-inbox, or all-mail scope." +msgid "" +"Server search cannot apply local-only date, unread, starred, attachment, unified-inbox, or " +"all-mail scope." msgstr "サーバー検索では、ローカル専用の日付、未読、スター付き、添付ファイル、統合受信トレイ、またはすべてのメールの範囲を適用できません。" #: configs/nls/messages/reliefmail.c:267 msgid "Server search requires one selected folder." msgstr "サーバー検索には 1 つのフォルダーの選択が必要です。" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" @@ -2862,7 +2967,7 @@ msgstr "Cc フィールドを表示または非表示にします。" msgid "Show preview" msgstr "プレビューを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" @@ -2875,8 +2980,12 @@ msgid "Showing the first 32 matching contact addresses." msgstr "一致した連絡先アドレスの先頭 32 件を表示しています。" #: userland/apps/reliefmail/reader.cpp:769 -msgid "Showing the first 64 KiB; use Save original to export the full message.\n\n" -msgstr "先頭の 64 KiB を表示しています。メッセージ全体をエクスポートするには「元データを保存」を使用してください。\n\n" +msgid "" +"Showing the first 64 KiB; use Save original to export the full message.\n" +"\n" +msgstr "" +"先頭の 64 KiB を表示しています。メッセージ全体をエクスポートするには「元データを保存」を使用してください。\n" +"\n" #: userland/apps/reliefmail/compose_window.cpp:2015 msgid "Showing the first 64 templates; manage the catalog in Tools." @@ -3003,7 +3112,9 @@ msgid "TLS configuration failed" msgstr "TLS の設定に失敗しました" #: userland/apps/reliefmail/window_accounts.cpp:449 -msgid "TLS negotiation failed before verification completed. Check the port, TLS/STARTTLS setting and network connection." +msgid "" +"TLS negotiation failed before verification completed. Check the port, TLS/STARTTLS setting " +"and network connection." msgstr "検証が完了する前に TLS ネゴシエーションが失敗しました。ポート、TLS/STARTTLS 設定、ネットワーク接続を確認してください。" #: configs/nls/messages/reliefmail.c:144 @@ -3059,7 +3170,9 @@ msgid "Text not found." msgstr "テキストが見つかりません。" #: userland/apps/reliefmail/window_actions.cpp:1011 -msgid "The account changed while destination folders were being refreshed. Review the current account and select messages again." +msgid "" +"The account changed while destination folders were being refreshed. Review the current " +"account and select messages again." msgstr "保存先フォルダーの更新中にアカウントが変更されました。現在のアカウントを確認し、メッセージを選び直してください。" #: userland/apps/reliefmail/window_actions.cpp:1059 @@ -3075,11 +3188,15 @@ msgid "The bounded original preview is not loaded. Use Save original to export t msgstr "サイズが制限された元データのプレビューが読み込まれていません。メッセージ全体をエクスポートするには「元データを保存」を使用してください。" #: userland/apps/reliefmail/window_accounts.cpp:446 -msgid "The certificate does not match the server hostname. Check the IMAP/SMTP server address; updating CAs will not fix a hostname mismatch." +msgid "" +"The certificate does not match the server hostname. Check the IMAP/SMTP server address; " +"updating CAs will not fix a hostname mismatch." msgstr "証明書がサーバーのホスト名と一致しません。IMAP/SMTP サーバーのアドレスを確認してください。CA を更新してもホスト名の不一致は解消されません。" #: userland/apps/reliefmail/window_accounts.cpp:443 -msgid "The certificate is expired or not yet valid. Check the system date and time, then the server certificate." +msgid "" +"The certificate is expired or not yet valid. Check the system date and time, then the server" +" certificate." msgstr "証明書の有効期限が切れているか、有効期間がまだ始まっていません。システムの日時を確認してから、サーバー証明書を確認してください。" #: userland/apps/reliefmail/compose_window.cpp:1947 @@ -3103,15 +3220,21 @@ msgid "The copy completed, but this compose window is no longer available." msgstr "コピーは完了しましたが、このメッセージ作成ウィンドウは使用できなくなりました。" #: userland/apps/reliefmail/compose_window.cpp:1815 -msgid "The copy completed, but this editor or account changed. Reopen the target account's draft list." +msgid "" +"The copy completed, but this editor or account changed. Reopen the target account's draft " +"list." msgstr "コピーは完了しましたが、エディターまたはアカウントが変更されました。コピー先アカウントの下書き一覧を開き直してください。" #: userland/apps/reliefmail/compose_window.cpp:1821 -msgid "The copy was saved, but could not replace this editor. The original draft remains on its account." +msgid "" +"The copy was saved, but could not replace this editor. The original draft remains on its " +"account." msgstr "コピーは保存されましたが、このエディターを置き換えられませんでした。元の下書きは元のアカウントに残っています。" #: userland/apps/reliefmail/window_accounts.cpp:437 -msgid "The custom CA file could not be loaded. Check its path and contents, or leave it blank to use system certificates." +msgid "" +"The custom CA file could not be loaded. Check its path and contents, or leave it blank to " +"use system certificates." msgstr "カスタム CA ファイルを読み込めませんでした。パスと内容を確認するか、システム証明書を使うには空欄にしてください。" #: userland/apps/reliefmail/window_reader.cpp:294 @@ -3275,19 +3398,27 @@ msgid "The sending account is no longer available." msgstr "送信アカウントは利用できなくなりました。" #: configs/nls/messages/reliefmail.c:480 -msgid "The server accepted the folder operation, but its result could not be refreshed. Refresh before repeating it." +msgid "" +"The server accepted the folder operation, but its result could not be refreshed. Refresh " +"before repeating it." msgstr "サーバーはフォルダー操作を受け付けましたが、結果を更新できませんでした。繰り返す前に更新してください。" #: configs/nls/messages/reliefmail.c:481 -msgid "The server accepted the targeted deletion, but the local cache could not be updated. Refresh before repeating it." +msgid "" +"The server accepted the targeted deletion, but the local cache could not be updated. Refresh" +" before repeating it." msgstr "サーバーは対象を指定した削除を受け付けましたが、ローカルキャッシュを更新できませんでした。繰り返す前に更新してください。" #: userland/apps/reliefmail/window_accounts.cpp:440 -msgid "The server certificate chain is not trusted. Check the server address and certificate chain; the system CA bundle may need updating." +msgid "" +"The server certificate chain is not trusted. Check the server address and certificate chain;" +" the system CA bundle may need updating." msgstr "サーバーの証明書チェーンは信頼されていません。サーバーのアドレスと証明書チェーンを確認してください。システムの CA バンドルを更新する必要がある場合もあります。" #: configs/nls/messages/reliefmail.c:482 -msgid "The server deleted a Trash message, but its local cache could not be updated. Refresh before continuing." +msgid "" +"The server deleted a Trash message, but its local cache could not be updated. Refresh before" +" continuing." msgstr "サーバーはゴミ箱のメッセージを削除しましたが、ローカルキャッシュを更新できませんでした。続行する前に更新してください。" #: configs/nls/messages/reliefmail.c:270 @@ -3299,7 +3430,9 @@ msgid "The source message account changed. Reload it before composing." msgstr "元のメッセージのアカウントが変更されました。作成する前に再読み込みしてください。" #: userland/apps/reliefmail/window_accounts.cpp:436 -msgid "The system CA certificate bundle could not be loaded. Repair the system certificates, then test again." +msgid "" +"The system CA certificate bundle could not be loaded. Repair the system certificates, then " +"test again." msgstr "システムの CA 証明書バンドルを読み込めませんでした。システム証明書を修復してから再テストしてください。" #: userland/apps/reliefmail/window_reader.cpp:248 @@ -3335,7 +3468,9 @@ msgid "This compose action is unavailable while the profile or current operation msgstr "プロファイルまたは現在の操作が未完了の間は、この作成操作を利用できません。" #: userland/apps/reliefmail/window_actions.cpp:470 -msgid "This deletes the folder on the server. The special Inbox, Sent, Drafts, Trash, Junk, and Archive mappings cannot be deleted here." +msgid "" +"This deletes the folder on the server. The special Inbox, Sent, Drafts, Trash, Junk, and " +"Archive mappings cannot be deleted here." msgstr "サーバー上のフォルダーを削除します。受信トレイ、送信済み、下書き、ゴミ箱、迷惑メール、アーカイブの特別な割り当てはここでは削除できません。" #: userland/apps/reliefmail/compose_window.cpp:1841 @@ -3363,19 +3498,27 @@ msgid "This message has no cached body text." msgstr "このメッセージにはキャッシュ済みの本文がありません。" #: userland/apps/reliefmail/reader.cpp:736 -msgid "This message is stored as headers only.\nFetch the complete message to read it." -msgstr "このメッセージはヘッダーのみ保存されています。\n読むにはメッセージ全体を取得してください。" +msgid "" +"This message is stored as headers only.\n" +"Fetch the complete message to read it." +msgstr "" +"このメッセージはヘッダーのみ保存されています。\n" +"読むにはメッセージ全体を取得してください。" #: userland/apps/reliefmail/compose_window.cpp:1154 msgid "This new draft will use the following identity." msgstr "この新しい下書きには次の識別情報が使用されます。" #: userland/apps/reliefmail/window_actions.cpp:491 -msgid "This permanently deletes messages in the configured Trash folder. It never issues an unrestricted EXPUNGE." +msgid "" +"This permanently deletes messages in the configured Trash folder. It never issues an " +"unrestricted EXPUNGE." msgstr "設定済みのゴミ箱フォルダーにあるメッセージを完全に削除します。無制限の EXPUNGE は発行されません。" #: userland/apps/reliefmail/window_actions.cpp:654 -msgid "This removes the ready operation from future SMTP submission. It does not affect a message already sent." +msgid "" +"This removes the ready operation from future SMTP submission. It does not affect a message " +"already sent." msgstr "準備完了の操作を今後の SMTP 送信対象から外します。すでに送信されたメッセージには影響しません。" #: userland/apps/reliefmail/window_actions.cpp:575 @@ -3391,7 +3534,9 @@ msgid "This sender cannot change while the current operation is unresolved." msgstr "現在の操作が未完了の間は、この差出人を変更できません。" #: userland/apps/reliefmail/window_actions.cpp:885 -msgid "This server action applies only to the exact account, folder, UIDVALIDITY, and UIDs shown below." +msgid "" +"This server action applies only to the exact account, folder, UIDVALIDITY, and UIDs shown " +"below." msgstr "このサーバー操作は、以下に示す正確なアカウント、フォルダー、UIDVALIDITY、UID にのみ適用されます。" #: userland/apps/reliefmail/window.cpp:775 @@ -3399,7 +3544,9 @@ msgid "This source contains headers only, not a complete original message." msgstr "このデータにはヘッダーしか含まれておらず、完全な元のメッセージではありません。" #: userland/apps/reliefmail/window_actions.cpp:615 -msgid "This starts a new SMTP attempt for this ready operation. Confirm the recipient and Message-ID carefully." +msgid "" +"This starts a new SMTP attempt for this ready operation. Confirm the recipient and Message-" +"ID carefully." msgstr "準備完了のこの操作に対して新しい SMTP 送信を開始します。宛先と Message-ID を慎重に確認してください。" #: userland/apps/reliefmail/reader.cpp:597 @@ -3423,7 +3570,9 @@ msgid "Trash" msgstr "ゴミ箱" #: configs/nls/messages/reliefmail.c:483 -msgid "Trash clear stopped after partial server deletion. Refresh the folder before deciding whether to continue." +msgid "" +"Trash clear stopped after partial server deletion. Refresh the folder before deciding " +"whether to continue." msgstr "サーバー上の一部を削除した後にゴミ箱の消去が停止しました。続行するか判断する前にフォルダーを更新してください。" #: configs/nls/messages/reliefmail.c:1199 @@ -3455,7 +3604,9 @@ msgid "Trash was cleared with exact UIDPLUS-targeted deletions." msgstr "UIDPLUS で対象を正確に指定してゴミ箱を空にしました。" #: configs/nls/messages/reliefmail.c:1198 -msgid "Trash was only partly cleared. Refresh the folder and review its current contents before another clear." +msgid "" +"Trash was only partly cleared. Refresh the folder and review its current contents before " +"another clear." msgstr "ゴミ箱は一部のみ空になりました。再度空にする前にフォルダーを更新し、現在の内容を確認してください。" #: userland/apps/reliefmail/window_actions.cpp:494 @@ -3682,24 +3833,32 @@ msgstr "バックグラウンドで処理しています" msgid "XDG path must be absolute and safe" msgstr "MIME 出力先がありません" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" #: userland/apps/reliefmail/window_actions.cpp:373 -msgid "You are recording a user decision that delivery did not succeed. This decision will not send; SMTP retry requires a second confirmation." +msgid "" +"You are recording a user decision that delivery did not succeed. This decision will not " +"send; SMTP retry requires a second confirmation." msgstr "配信が成功しなかったというユーザーの判断を記録します。この判断では送信されません。SMTP の再試行には別途確認が必要です。" #: userland/apps/reliefmail/window_actions.cpp:372 -msgid "You are recording a user decision that delivery succeeded. This decision will not contact SMTP." +msgid "" +"You are recording a user decision that delivery succeeded. This decision will not contact " +"SMTP." msgstr "配信が成功したというユーザーの判断を記録します。この判断では SMTP に接続しません。" #: configs/nls/messages/reliefmail.c:1196 -msgid "You reviewed this as delivered. SMTP acceptance remains unconfirmed; no SMTP retry was started." +msgid "" +"You reviewed this as delivered. SMTP acceptance remains unconfirmed; no SMTP retry was " +"started." msgstr "配信済みと判断しました。SMTP の受け付けは未確認のままで、SMTP の再試行は開始されていません。" #: configs/nls/messages/reliefmail.c:1197 -msgid "You reviewed this as not delivered. The message is bound to the current account settings and ready only for a separately confirmed SMTP send." +msgid "" +"You reviewed this as not delivered. The message is bound to the current account settings and" +" ready only for a separately confirmed SMTP send." msgstr "未配信と判断しました。メッセージは現在のアカウント設定に関連付けられ、別途確認された SMTP 送信にのみ使用できます。" #: configs/nls/messages/reliefmail.c:149 @@ -3731,7 +3890,9 @@ msgid "[TLS:hostname] certificate hostname does not match the configured server" msgstr "[TLS:hostname] 証明書のホスト名が設定されたサーバーと一致しません" #: configs/nls/messages/reliefmail.c:451 -msgid "[TLS:time] certificate is expired or not yet valid; check the system clock and server certificate" +msgid "" +"[TLS:time] certificate is expired or not yet valid; check the system clock and server " +"certificate" msgstr "[TLS:time] 証明書の期限が切れているか、まだ有効ではありません。システムの時計とサーバー証明書を確認してください" #: configs/nls/messages/reliefmail.c:452 @@ -3742,10 +3903,6 @@ msgstr "[TLS:trust] サーバーの証明書チェーンは選択した CA バ msgid "[TLS:trust] server certificate failed the required security checks" msgstr "[TLS:trust] サーバー証明書が必要なセキュリティ検証に失敗しました" -#: userland/apps/reliefmail/window_actions.cpp:387 -msgid "\nCurrent account generation %llu\nExact IMAP destination: %s\nFolder generation %llu · UIDVALIDITY %llu\n" -msgstr "\n現在のアカウント世代 %llu\n正確な IMAP の保存先: %s\nフォルダー世代 %llu · UIDVALIDITY %llu\n" - #: configs/nls/messages/reliefmail.c:272 msgid "a draft save is already in progress" msgstr "下書きの保存がすでに進行中です" @@ -7443,7 +7600,9 @@ msgid "server search page limit is invalid" msgstr "サーバー検索ページの上限が無効です" #: configs/nls/messages/reliefmail.c:1151 -msgid "server search requires one folder and date order; received-date and attachment filters are local only" +msgid "" +"server search requires one folder and date order; received-date and attachment filters are " +"local only" msgstr "サーバー検索には 1 つのフォルダーと日付順序が必要です。受信日と添付ファイルのフィルターはローカル専用です" #: configs/nls/messages/reliefmail.c:1152 diff --git a/configs/nls/po/reliefmail/reliefmail.pot b/configs/nls/po/reliefmail/reliefmail.pot index a3d1da14..795df4b3 100644 --- a/configs/nls/po/reliefmail/reliefmail.pot +++ b/configs/nls/po/reliefmail/reliefmail.pot @@ -130,7 +130,7 @@ msgstr "" msgid "Add mail account" msgstr "" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" @@ -142,7 +142,7 @@ msgstr "" msgid "All" msgstr "" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" @@ -322,7 +322,7 @@ msgstr "" msgid "Cache days" msgstr "" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" @@ -351,7 +351,7 @@ msgid "Center" msgstr "" #: userland/apps/reliefmail/window_accounts.cpp:467 -msgid "Certificate repair is already open in ReliefAPK." +msgid "Certificate repair is already open in ReliefPackages." msgstr "" #: userland/apps/reliefmail/compose_window.cpp:1155 @@ -446,7 +446,7 @@ msgstr "" msgid "Clipboard" msgstr "" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "" @@ -798,7 +798,7 @@ msgstr "" msgid "Could not write the temporary export file." msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" @@ -834,7 +834,7 @@ msgstr "" msgid "Custom CA file (optional)" msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" @@ -1138,7 +1138,7 @@ msgstr "" msgid "Failed before delivery" msgstr "" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" @@ -1170,11 +1170,11 @@ msgstr "" msgid "File" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" @@ -1638,7 +1638,7 @@ msgstr "" msgid "Mail tools" msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" @@ -1734,7 +1734,7 @@ msgstr "" msgid "New" msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" @@ -1770,7 +1770,7 @@ msgstr "" msgid "Next" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" @@ -1870,7 +1870,7 @@ msgstr "" msgid "Number" msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" @@ -2006,7 +2006,7 @@ msgstr "" msgid "Plain-text preview is truncated; save the original to view the complete message." msgstr "" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" @@ -2018,7 +2018,7 @@ msgstr "" msgid "Port" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" @@ -2170,24 +2170,24 @@ msgstr "" msgid "Refresh the selected account's folder list" msgstr "" -#: userland/apps/reliefmail/window.cpp:426 -msgid "ReliefAPK closed. If certificate repair completed, test the connection again." +#: userland/apps/reliefmail/window.cpp:156 +msgid "ReliefMail" msgstr "" -#: userland/apps/reliefmail/dialogs.cpp:214 -msgid "ReliefAPK downloads the signed CA package and requests administrator authentication. Test the connection again after repair." +#: userland/apps/reliefmail/window.cpp:1138 +msgid "ReliefMail\nNative mail reader and account client" msgstr "" -#: userland/apps/reliefmail/window_accounts.cpp:471 -msgid "ReliefAPK is not installed. Install the signed ca-certificates-bundle package with your system package manager." +#: userland/apps/reliefmail/window.cpp:426 +msgid "ReliefPackages closed. If certificate repair completed, test the connection again." msgstr "" -#: userland/apps/reliefmail/window.cpp:156 -msgid "ReliefMail" +#: userland/apps/reliefmail/window_accounts.cpp:471 +msgid "ReliefPackages is not installed. Reinstall the official ca-certificates packages with pacman." msgstr "" -#: userland/apps/reliefmail/window.cpp:1138 -msgid "ReliefMail\nNative mail reader and account client" +#: userland/apps/reliefmail/dialogs.cpp:214 +msgid "ReliefPackages reinstalls the official signed certificate packages after administrator authentication. Test the connection again after repair." msgstr "" #: userland/apps/reliefmail/compose_window.cpp:768 @@ -2275,7 +2275,7 @@ msgid "Review and confirm a current Sent-folder destination first." msgstr "" #: userland/apps/reliefmail/window_accounts.cpp:484 -msgid "Review certificate repair in ReliefAPK. After completion, test the mail connection again." +msgid "Review certificate repair in ReliefPackages. After completion, test the mail connection again." msgstr "" #: userland/apps/reliefmail/tools.cpp:137 @@ -2502,7 +2502,7 @@ msgstr "" msgid "Sans" msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" @@ -2838,7 +2838,7 @@ msgstr "" msgid "Server search requires one selected folder." msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" @@ -2854,7 +2854,7 @@ msgstr "" msgid "Show preview" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" @@ -3674,7 +3674,7 @@ msgstr "" msgid "XDG path must be absolute and safe" msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" diff --git a/configs/nls/po/reliefmail/zh_CN.po b/configs/nls/po/reliefmail/zh_CN.po index 21e1168d..59572518 100644 --- a/configs/nls/po/reliefmail/zh_CN.po +++ b/configs/nls/po/reliefmail/zh_CN.po @@ -1,14 +1,31 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:44+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" "Language: zh_CN\n" +"Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/reliefmail/window_actions.cpp:387 +#, python-format +msgid "" +"\n" +"Current account generation %llu\n" +"Exact IMAP destination: %s\n" +"Folder generation %llu · UIDVALIDITY %llu\n" +msgstr "" +"\n" +"当前账户配置代次 %llu\n" +"确切 IMAP 目标:%s\n" +"文件夹代次 %llu · UID 有效标识 %llu\n" #: userland/apps/reliefmail/tools.cpp:397 msgid " (container)" @@ -22,26 +39,33 @@ msgstr " · 默认" msgid " · Disabled" msgstr " · 已禁用" +#: userland/apps/reliefmail/tools.cpp:492 +#, python-format +msgid "" +"%s\n" +"%s · generation %llu · UIDVALIDITY %llu · %u messages" +msgstr "" + #: userland/apps/reliefmail/reader.cpp:625 +#, python-format msgid "%s %u" msgstr "%s %u" #: userland/apps/reliefmail/reader.cpp:621 +#, python-format msgid "%s %u: %s (%llu bytes)" msgstr "%s %u:%s(%llu 字节)" #: userland/apps/reliefmail/reader.cpp:332 +#, python-format msgid "%s (%llu bytes)" msgstr "%s(%llu 字节)" #: userland/apps/reliefmail/window.cpp:727 +#, python-format msgid "%s · %s · %llu messages" msgstr "%s · %s · %llu 封邮件" -#: userland/apps/reliefmail/tools.cpp:492 -msgid "%s\n%s · generation %llu · UIDVALIDITY %llu · %u messages" -msgstr "" - #: userland/apps/reliefmail/compose_window.cpp:589 msgid "(no subject)" msgstr "(无主题)" @@ -63,7 +87,9 @@ msgid "; SMTP RSET was rejected (code " msgstr "" #: userland/apps/reliefmail/compose_window.cpp:1144 -msgid "A new draft will be created under this sender. Current edits and attachments are copied; the original stays unchanged." +msgid "" +"A new draft will be created under this sender. Current edits and attachments are copied; the" +" original stays unchanged." msgstr "将以此账户创建新草稿,并复制当前更改和附件;原草稿保持不变。" #: userland/apps/reliefmail/window.cpp:172 @@ -74,11 +100,8 @@ msgstr "关于 ReliefMail" msgid "Account" msgstr "账户" -#: userland/apps/reliefmail/window_actions.cpp:45 -msgid "Account %llu · %s · UIDVALIDITY %llu · UID %u\n" -msgstr "账户 %llu · %s · UID 有效标识 %llu · UID %u\n" - #: userland/apps/reliefmail/window_actions.cpp:486 +#, python-format msgid "" "Account %llu\n" "Server folder: %s\n" @@ -90,6 +113,11 @@ msgstr "" "文件夹代次 %llu · UID 有效标识 %llu\n" "删除操作将严格针对 UIDPLUS 标识。" +#: userland/apps/reliefmail/window_actions.cpp:45 +#, python-format +msgid "Account %llu · %s · UIDVALIDITY %llu · UID %u\n" +msgstr "账户 %llu · %s · UID 有效标识 %llu · UID %u\n" + #: userland/apps/reliefmail/window_accounts.cpp:300 msgid "Account changed, but the local view could not be refreshed." msgstr "账户已更改,但无法刷新本地视图。" @@ -115,7 +143,9 @@ msgid "Account save returned an invalid result" msgstr "账户保存返回了无效结果" #: userland/apps/reliefmail/window.cpp:617 -msgid "Account saved, but session credentials could not be retained; enter them again before connecting." +msgid "" +"Account saved, but session credentials could not be retained; enter them again before " +"connecting." msgstr "账户已保存,但无法保留会话凭据;连接前请重新输入密码。" #: userland/apps/reliefmail/window.cpp:963 @@ -146,7 +176,7 @@ msgstr "请先添加账户,再撰写邮件。" msgid "Add mail account" msgstr "添加邮件账户" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" @@ -158,7 +188,7 @@ msgstr "高级" msgid "All" msgstr "全部" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" @@ -251,7 +281,9 @@ msgid "Archiving is still pending; SMTP was not retried." msgstr "归档仍在等待处理,未重试 SMTP 投递。" #: userland/apps/reliefmail/window_actions.cpp:952 -msgid "At least one result is uncertain. Refresh the server folder before deciding whether to act again." +msgid "" +"At least one result is uncertain. Refresh the server folder before deciding whether to act " +"again." msgstr "至少一项结果尚不确定。再次操作前请刷新服务器文件夹。" #: userland/apps/reliefmail/compose_window.cpp:766 @@ -338,7 +370,7 @@ msgstr "项目符号" msgid "Cache days" msgstr "缓存天数" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" @@ -367,8 +399,8 @@ msgid "Center" msgstr "居中" #: userland/apps/reliefmail/window_accounts.cpp:467 -msgid "Certificate repair is already open in ReliefAPK." -msgstr "证书修复已在 ReliefAPK 中打开。" +msgid "Certificate repair is already open in ReliefPackages." +msgstr "ReliefPackages 已打开证书修复。" #: userland/apps/reliefmail/compose_window.cpp:1155 msgid "Change account" @@ -462,7 +494,7 @@ msgstr "请先清空抄送内容,再收起此栏。" msgid "Clipboard" msgstr "剪贴板" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "关闭" @@ -814,7 +846,7 @@ msgstr "无法写入所选邮件数据" msgid "Could not write the temporary export file." msgstr "无法写入临时导出文件。" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" @@ -850,7 +882,7 @@ msgstr "当前文件夹" msgid "Custom CA file (optional)" msgstr "自定义 CA 文件(可选)" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" @@ -871,7 +903,9 @@ msgid "Date unavailable" msgstr "日期不可用" #: userland/apps/reliefmail/dialogs.cpp:503 -msgid "Dates use received time (IMAP INTERNALDATE) in UTC; both dates are inclusive, format YYYY-MM-DD." +msgid "" +"Dates use received time (IMAP INTERNALDATE) in UTC; both dates are inclusive, format YYYY-" +"MM-DD." msgstr "日期按收件时间(IMAP INTERNALDATE,UTC)筛选,起止日期均包含在内,格式为 YYYY-MM-DD。" #: userland/apps/reliefmail/dialogs.cpp:144 @@ -927,6 +961,7 @@ msgid "Delivery review recorded. No SMTP retry was started." msgstr "已记录投递复核;未开始 SMTP 重试。" #: userland/apps/reliefmail/window_actions.cpp:52 +#, python-format msgid "Destination account %llu · %s · folder generation %llu · UIDVALIDITY %llu\n" msgstr "目标账户 %llu · %s · 文件夹代次 %llu · UID 有效标识 %llu\n" @@ -1154,7 +1189,7 @@ msgstr "" msgid "Failed before delivery" msgstr "投递前失败" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" @@ -1179,6 +1214,7 @@ msgid "Fetching complete message" msgstr "正在获取完整邮件" #: userland/apps/reliefmail/dialogs.cpp:528 +#, python-format msgid "Field: %s · Scope: %s" msgstr "字段:%s · 范围:%s" @@ -1186,11 +1222,11 @@ msgstr "字段:%s · 范围:%s" msgid "File" msgstr "文件" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" @@ -1255,7 +1291,9 @@ msgid "Font" msgstr "字体" #: userland/apps/reliefmail/compose_window.cpp:2254 -msgid "Formatting and hyperlinks will be omitted from the outgoing message. The saved rich document remains available if you switch back before sending." +msgid "" +"Formatting and hyperlinks will be omitted from the outgoing message. The saved rich document" +" remains available if you switch back before sending." msgstr "发送的邮件将不包含格式和超链接。发送前切回富文本模式,仍可恢复已保存的富文本内容。" #: userland/apps/reliefmail/window.cpp:933 @@ -1407,11 +1445,15 @@ msgid "IMAP STORE UIDVALIDITY is stale" msgstr "" #: configs/nls/messages/reliefmail.c:469 -msgid "IMAP accepted the flag change, but the local cache could not be updated. Refresh before repeating it." +msgid "" +"IMAP accepted the flag change, but the local cache could not be updated. Refresh before " +"repeating it." msgstr "" #: configs/nls/messages/reliefmail.c:470 -msgid "IMAP accepted the move, but the local cache could not be updated. Refresh before repeating it." +msgid "" +"IMAP accepted the move, but the local cache could not be updated. Refresh before repeating " +"it." msgstr "" #: configs/nls/messages/reliefmail.c:101 @@ -1463,7 +1505,9 @@ msgid "IMAP full FETCH returned an invalid or header-only message" msgstr "" #: userland/apps/reliefmail/dialogs.cpp:146 -msgid "IMAP is required in this build. OAuth2-only login is not available. Use your provider's application password when required." +msgid "" +"IMAP is required in this build. OAuth2-only login is not available. Use your provider's " +"application password when required." msgstr "此版本需要使用 IMAP;不支持仅使用 OAuth2 登录。服务商要求时,请使用应用专用密码。" #: configs/nls/messages/reliefmail.c:112 @@ -1654,7 +1698,7 @@ msgstr "邮件导航" msgid "Mail tools" msgstr "邮件工具" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" @@ -1750,12 +1794,15 @@ msgstr "移动…" msgid "New" msgstr "新建" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" #: userland/apps/reliefmail/dialogs.cpp:239 -msgid "New accounts need both passwords. For an edit, leave a password blank only when reusing a matching session credential; a changed server or user needs a new password. Credentials stay in this session unless you explicitly save them to the encrypted vault." +msgid "" +"New accounts need both passwords. For an edit, leave a password blank only when reusing a " +"matching session credential; a changed server or user needs a new password. Credentials stay" +" in this session unless you explicitly save them to the encrypted vault." msgstr "" "新账户必须填写收件和发件密码。编辑时,仅当身份未变且沿用会话凭据才可留空;\n" "服务器或用户名变更后需重新输入密码。凭据仅保留在本次会话,除非你主动保存到加密密码库。" @@ -1788,7 +1835,7 @@ msgstr "按收件时间从新到旧" msgid "Next" msgstr "下一步" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" @@ -1813,7 +1860,9 @@ msgid "No current IMAP credential is available to retry Sent-folder archiving." msgstr "没有可用的当前 IMAP 凭据来重试已发送文件夹归档。" #: userland/apps/reliefmail/compose_window.cpp:1535 -msgid "No current SMTP credential is available. Unlock the vault or enter the account password first." +msgid "" +"No current SMTP credential is available. Unlock the vault or enter the account password " +"first." msgstr "当前没有可用的 SMTP 凭据。请先解锁密码库或输入账户密码。" #: userland/apps/reliefmail/tools.cpp:475 @@ -1892,7 +1941,7 @@ msgstr "内存不足,无法为此操作暂存密码库密码。" msgid "Number" msgstr "数字" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" @@ -1952,7 +2001,23 @@ msgstr "检查目标地址后打开所选链接" msgid "Open this exact link in the system browser?" msgstr "要在系统浏览器中打开以下完整链接吗?" +#: userland/apps/reliefmail/window_actions.cpp:158 +#, python-format +msgid "" +"Operation #%llu\n" +"Message-ID: %s\n" +"Stage %u · delivery count %u\n" +"From: %s\n" +"To: " +msgstr "" +"操作 #%llu\n" +"邮件 ID:%s\n" +"阶段 %u · 投递次数 %u\n" +"发件人:%s\n" +"收件人:" + #: userland/apps/reliefmail/tools.cpp:514 +#, python-format msgid "" "Operation #%llu · %s · delivery count %u\n" "Message-ID: %s\n" @@ -1968,20 +2033,6 @@ msgstr "" "归档目标:%s · 账户配置代次 %llu · 文件夹代次 %llu · UID 有效标识 %llu\n" "%s" -#: userland/apps/reliefmail/window_actions.cpp:158 -msgid "" -"Operation #%llu\n" -"Message-ID: %s\n" -"Stage %u · delivery count %u\n" -"From: %s\n" -"To: " -msgstr "" -"操作 #%llu\n" -"邮件 ID:%s\n" -"阶段 %u · 投递次数 %u\n" -"发件人:%s\n" -"收件人:" - #: userland/apps/reliefmail/window.cpp:972 msgid "Operations" msgstr "操作" @@ -2050,7 +2101,7 @@ msgstr "纯文本" msgid "Plain-text preview is truncated; save the original to view the complete message." msgstr "纯文本预览已截断,请保存原文查看全文。" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" @@ -2062,7 +2113,7 @@ msgstr "轮询分钟" msgid "Port" msgstr "端口" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" @@ -2179,7 +2230,9 @@ msgid "Received-after date must not be later than received-before." msgstr "起始收件日期不能晚于结束日期。" #: configs/nls/messages/reliefmail.c:266 -msgid "Received-date, unread, starred, sender/subject sorting, and attachment filters are local-only." +msgid "" +"Received-date, unread, starred, sender/subject sorting, and attachment filters are local-" +"only." msgstr "" #: userland/apps/reliefmail/reader.cpp:589 @@ -2214,18 +2267,6 @@ msgstr "刷新队列以载入已保存的发送历史。" msgid "Refresh the selected account's folder list" msgstr "刷新所选账户的文件夹列表" -#: userland/apps/reliefmail/window.cpp:426 -msgid "ReliefAPK closed. If certificate repair completed, test the connection again." -msgstr "ReliefAPK 已关闭。如已完成证书修复,请重新测试连接。" - -#: userland/apps/reliefmail/dialogs.cpp:214 -msgid "ReliefAPK downloads the signed CA package and requests administrator authentication. Test the connection again after repair." -msgstr "ReliefAPK 将下载带签名的 CA 软件包并请求管理员认证。修复完成后请重新测试连接。" - -#: userland/apps/reliefmail/window_accounts.cpp:471 -msgid "ReliefAPK is not installed. Install the signed ca-certificates-bundle package with your system package manager." -msgstr "尚未安装 ReliefAPK。请使用系统包管理器安装带签名的 ca-certificates-bundle 软件包。" - #: userland/apps/reliefmail/window.cpp:156 msgid "ReliefMail" msgstr "ReliefMail" @@ -2238,6 +2279,20 @@ msgstr "" "ReliefMail\n" "本地邮件阅读器与账户客户端" +#: userland/apps/reliefmail/window.cpp:426 +msgid "ReliefPackages closed. If certificate repair completed, test the connection again." +msgstr "ReliefPackages 已关闭。如果证书修复已完成,请重新测试连接。" + +#: userland/apps/reliefmail/window_accounts.cpp:471 +msgid "ReliefPackages is not installed. Reinstall the official ca-certificates packages with pacman." +msgstr "未安装 ReliefPackages。请使用 pacman 重新安装官方 ca-certificates 软件包。" + +#: userland/apps/reliefmail/dialogs.cpp:214 +msgid "" +"ReliefPackages reinstalls the official signed certificate packages after administrator " +"authentication. Test the connection again after repair." +msgstr "管理员验证后,ReliefPackages 将重新安装官方签名的证书软件包。修复完成后请重新测试连接。" + #: userland/apps/reliefmail/compose_window.cpp:768 msgid "Remove" msgstr "删除" @@ -2323,8 +2378,10 @@ msgid "Review and confirm a current Sent-folder destination first." msgstr "请先复核并确认当前的已发送文件夹目标。" #: userland/apps/reliefmail/window_accounts.cpp:484 -msgid "Review certificate repair in ReliefAPK. After completion, test the mail connection again." -msgstr "请在 ReliefAPK 中检查并执行证书修复,完成后重新测试邮箱连接。" +msgid "" +"Review certificate repair in ReliefPackages. After completion, test the mail connection " +"again." +msgstr "请在 ReliefPackages 中检查证书修复。完成后重新测试邮件连接。" #: userland/apps/reliefmail/tools.cpp:137 msgid "Review the current account generation and exact IMAP archive target" @@ -2395,7 +2452,9 @@ msgid "SMTP delivery and Sent-folder archive completed." msgstr "SMTP 投递和已发送文件夹归档均已完成。" #: userland/apps/reliefmail/window_actions.cpp:406 -msgid "SMTP delivery is already accepted or explicitly reviewed. This confirmation only binds a current IMAP folder; it never resends SMTP." +msgid "" +"SMTP delivery is already accepted or explicitly reviewed. This confirmation only binds a " +"current IMAP folder; it never resends SMTP." msgstr "SMTP 投递已确认或已明确复核。本确认仅绑定当前 IMAP 文件夹,不会重新发送 SMTP。" #: configs/nls/messages/reliefmail.c:1202 @@ -2403,7 +2462,9 @@ msgid "SMTP delivery is already confirmed and cannot be cancelled" msgstr "" #: configs/nls/messages/reliefmail.c:474 -msgid "SMTP delivery is already recorded. Review and confirm the archive destination for the current account settings; this action will not contact SMTP." +msgid "" +"SMTP delivery is already recorded. Review and confirm the archive destination for the " +"current account settings; this action will not contact SMTP." msgstr "" #: configs/nls/messages/reliefmail.c:1205 @@ -2419,7 +2480,9 @@ msgid "SMTP delivery is confirmed; Sent APPEND failed and can only be retried in msgstr "" #: configs/nls/messages/reliefmail.c:1067 -msgid "SMTP delivery is confirmed; Sent APPEND outcome is uncertain and can only be retried in archive mode" +msgid "" +"SMTP delivery is confirmed; Sent APPEND outcome is uncertain and can only be retried in " +"archive mode" msgstr "" #: userland/apps/reliefmail/window_actions.cpp:1157 @@ -2550,7 +2613,7 @@ msgstr "安全关闭尚未完成" msgid "Sans" msgstr "无衬线" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" @@ -2879,7 +2942,9 @@ msgid "Server folders" msgstr "服务器文件夹" #: userland/apps/reliefmail/dialogs.cpp:508 -msgid "Server search cannot apply local-only date, unread, starred, attachment, unified-inbox, or all-mail scope." +msgid "" +"Server search cannot apply local-only date, unread, starred, attachment, unified-inbox, or " +"all-mail scope." msgstr "" "服务器搜索无法应用仅本地的日期、未读、星标、附件,\n" "也无法搜索统一收件箱或全部邮件范围。" @@ -2888,7 +2953,7 @@ msgstr "" msgid "Server search requires one selected folder." msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" @@ -2904,7 +2969,7 @@ msgstr "显示或收起抄送栏。" msgid "Show preview" msgstr "显示预览" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" @@ -3049,7 +3114,9 @@ msgid "TLS configuration failed" msgstr "" #: userland/apps/reliefmail/window_accounts.cpp:449 -msgid "TLS negotiation failed before verification completed. Check the port, TLS/STARTTLS setting and network connection." +msgid "" +"TLS negotiation failed before verification completed. Check the port, TLS/STARTTLS setting " +"and network connection." msgstr "TLS 协商未完成。请检查端口、TLS/STARTTLS 设置和网络连接。" #: configs/nls/messages/reliefmail.c:144 @@ -3105,7 +3172,9 @@ msgid "Text not found." msgstr "未找到文本。" #: userland/apps/reliefmail/window_actions.cpp:1011 -msgid "The account changed while destination folders were being refreshed. Review the current account and select messages again." +msgid "" +"The account changed while destination folders were being refreshed. Review the current " +"account and select messages again." msgstr "刷新目标文件夹期间,账户已变化。请检查当前账户并重新选择邮件。" #: userland/apps/reliefmail/window_actions.cpp:1059 @@ -3121,11 +3190,15 @@ msgid "The bounded original preview is not loaded. Use Save original to export t msgstr "尚未加载受限大小的原始预览。使用“保存原始邮件”导出完整邮件。" #: userland/apps/reliefmail/window_accounts.cpp:446 -msgid "The certificate does not match the server hostname. Check the IMAP/SMTP server address; updating CAs will not fix a hostname mismatch." +msgid "" +"The certificate does not match the server hostname. Check the IMAP/SMTP server address; " +"updating CAs will not fix a hostname mismatch." msgstr "证书与服务器域名不匹配。请检查 IMAP/SMTP 地址;更新 CA 无法解决域名不匹配。" #: userland/apps/reliefmail/window_accounts.cpp:443 -msgid "The certificate is expired or not yet valid. Check the system date and time, then the server certificate." +msgid "" +"The certificate is expired or not yet valid. Check the system date and time, then the server" +" certificate." msgstr "证书已过期或尚未生效。请先检查系统日期和时间,再检查服务器证书。" #: userland/apps/reliefmail/compose_window.cpp:1947 @@ -3149,15 +3222,21 @@ msgid "The copy completed, but this compose window is no longer available." msgstr "复制已完成,但撰写窗口已不可用。" #: userland/apps/reliefmail/compose_window.cpp:1815 -msgid "The copy completed, but this editor or account changed. Reopen the target account's draft list." +msgid "" +"The copy completed, but this editor or account changed. Reopen the target account's draft " +"list." msgstr "复制已完成,但编辑器或账户已更改。请重新打开目标账户的草稿列表。" #: userland/apps/reliefmail/compose_window.cpp:1821 -msgid "The copy was saved, but could not replace this editor. The original draft remains on its account." +msgid "" +"The copy was saved, but could not replace this editor. The original draft remains on its " +"account." msgstr "副本已保存,但无法替换此编辑器。原草稿仍保留在原账户中。" #: userland/apps/reliefmail/window_accounts.cpp:437 -msgid "The custom CA file could not be loaded. Check its path and contents, or leave it blank to use system certificates." +msgid "" +"The custom CA file could not be loaded. Check its path and contents, or leave it blank to " +"use system certificates." msgstr "无法加载自定义 CA 文件。请检查文件路径和内容,或留空使用系统证书。" #: userland/apps/reliefmail/window_reader.cpp:294 @@ -3321,19 +3400,27 @@ msgid "The sending account is no longer available." msgstr "发件账户已不可用。" #: configs/nls/messages/reliefmail.c:480 -msgid "The server accepted the folder operation, but its result could not be refreshed. Refresh before repeating it." +msgid "" +"The server accepted the folder operation, but its result could not be refreshed. Refresh " +"before repeating it." msgstr "" #: configs/nls/messages/reliefmail.c:481 -msgid "The server accepted the targeted deletion, but the local cache could not be updated. Refresh before repeating it." +msgid "" +"The server accepted the targeted deletion, but the local cache could not be updated. Refresh" +" before repeating it." msgstr "" #: userland/apps/reliefmail/window_accounts.cpp:440 -msgid "The server certificate chain is not trusted. Check the server address and certificate chain; the system CA bundle may need updating." +msgid "" +"The server certificate chain is not trusted. Check the server address and certificate chain;" +" the system CA bundle may need updating." msgstr "服务器证书链不受信任。请检查服务器地址和证书链,系统 CA 证书库也可能需要更新。" #: configs/nls/messages/reliefmail.c:482 -msgid "The server deleted a Trash message, but its local cache could not be updated. Refresh before continuing." +msgid "" +"The server deleted a Trash message, but its local cache could not be updated. Refresh before" +" continuing." msgstr "" #: configs/nls/messages/reliefmail.c:270 @@ -3345,7 +3432,9 @@ msgid "The source message account changed. Reload it before composing." msgstr "源邮件所属账户已更改。请重新加载后再撰写。" #: userland/apps/reliefmail/window_accounts.cpp:436 -msgid "The system CA certificate bundle could not be loaded. Repair the system certificates, then test again." +msgid "" +"The system CA certificate bundle could not be loaded. Repair the system certificates, then " +"test again." msgstr "无法加载系统 CA 证书库。请修复系统证书,然后重新测试连接。" #: userland/apps/reliefmail/window_reader.cpp:248 @@ -3381,7 +3470,9 @@ msgid "This compose action is unavailable while the profile or current operation msgstr "配置文件切换或当前操作完成前,无法执行此撰写操作。" #: userland/apps/reliefmail/window_actions.cpp:470 -msgid "This deletes the folder on the server. The special Inbox, Sent, Drafts, Trash, Junk, and Archive mappings cannot be deleted here." +msgid "" +"This deletes the folder on the server. The special Inbox, Sent, Drafts, Trash, Junk, and " +"Archive mappings cannot be deleted here." msgstr "这会从服务器删除文件夹。此处不能删除收件箱、已发送、草稿、废纸篓、垃圾邮件和归档等特殊映射。" #: userland/apps/reliefmail/compose_window.cpp:1841 @@ -3421,11 +3512,15 @@ msgid "This new draft will use the following identity." msgstr "此新草稿将使用以下发件身份。" #: userland/apps/reliefmail/window_actions.cpp:491 -msgid "This permanently deletes messages in the configured Trash folder. It never issues an unrestricted EXPUNGE." +msgid "" +"This permanently deletes messages in the configured Trash folder. It never issues an " +"unrestricted EXPUNGE." msgstr "这会永久删除已配置废纸篓中的邮件,且绝不发送不受限的 EXPUNGE。" #: userland/apps/reliefmail/window_actions.cpp:654 -msgid "This removes the ready operation from future SMTP submission. It does not affect a message already sent." +msgid "" +"This removes the ready operation from future SMTP submission. It does not affect a message " +"already sent." msgstr "这会阻止此排队操作今后提交 SMTP,不影响已发送的邮件。" #: userland/apps/reliefmail/window_actions.cpp:575 @@ -3441,7 +3536,9 @@ msgid "This sender cannot change while the current operation is unresolved." msgstr "当前操作尚未完成,暂时无法更改发件账户。" #: userland/apps/reliefmail/window_actions.cpp:885 -msgid "This server action applies only to the exact account, folder, UIDVALIDITY, and UIDs shown below." +msgid "" +"This server action applies only to the exact account, folder, UIDVALIDITY, and UIDs shown " +"below." msgstr "此服务器操作仅适用于下方列出的确切账户、文件夹、UID 有效标识和 UID。" #: userland/apps/reliefmail/window.cpp:775 @@ -3449,7 +3546,9 @@ msgid "This source contains headers only, not a complete original message." msgstr "此内容仅含邮件头,并非完整原始邮件。" #: userland/apps/reliefmail/window_actions.cpp:615 -msgid "This starts a new SMTP attempt for this ready operation. Confirm the recipient and Message-ID carefully." +msgid "" +"This starts a new SMTP attempt for this ready operation. Confirm the recipient and Message-" +"ID carefully." msgstr "这将为此排队操作启动一次新的 SMTP 发送。请仔细确认收件人和邮件 ID。" #: userland/apps/reliefmail/reader.cpp:597 @@ -3473,7 +3572,9 @@ msgid "Trash" msgstr "废纸篓" #: configs/nls/messages/reliefmail.c:483 -msgid "Trash clear stopped after partial server deletion. Refresh the folder before deciding whether to continue." +msgid "" +"Trash clear stopped after partial server deletion. Refresh the folder before deciding " +"whether to continue." msgstr "" #: configs/nls/messages/reliefmail.c:1199 @@ -3505,7 +3606,9 @@ msgid "Trash was cleared with exact UIDPLUS-targeted deletions." msgstr "" #: configs/nls/messages/reliefmail.c:1198 -msgid "Trash was only partly cleared. Refresh the folder and review its current contents before another clear." +msgid "" +"Trash was only partly cleared. Refresh the folder and review its current contents before " +"another clear." msgstr "" #: userland/apps/reliefmail/window_actions.cpp:494 @@ -3732,24 +3835,32 @@ msgstr "正在后台处理" msgid "XDG path must be absolute and safe" msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" #: userland/apps/reliefmail/window_actions.cpp:373 -msgid "You are recording a user decision that delivery did not succeed. This decision will not send; SMTP retry requires a second confirmation." +msgid "" +"You are recording a user decision that delivery did not succeed. This decision will not " +"send; SMTP retry requires a second confirmation." msgstr "你正在记录“投递未成功”的决定。此决定不会发送邮件;重试 SMTP 还需再次确认。" #: userland/apps/reliefmail/window_actions.cpp:372 -msgid "You are recording a user decision that delivery succeeded. This decision will not contact SMTP." +msgid "" +"You are recording a user decision that delivery succeeded. This decision will not contact " +"SMTP." msgstr "你正在记录“投递成功”的决定。此决定不会连接 SMTP。" #: configs/nls/messages/reliefmail.c:1196 -msgid "You reviewed this as delivered. SMTP acceptance remains unconfirmed; no SMTP retry was started." +msgid "" +"You reviewed this as delivered. SMTP acceptance remains unconfirmed; no SMTP retry was " +"started." msgstr "" #: configs/nls/messages/reliefmail.c:1197 -msgid "You reviewed this as not delivered. The message is bound to the current account settings and ready only for a separately confirmed SMTP send." +msgid "" +"You reviewed this as not delivered. The message is bound to the current account settings and" +" ready only for a separately confirmed SMTP send." msgstr "" #: configs/nls/messages/reliefmail.c:149 @@ -3781,7 +3892,9 @@ msgid "[TLS:hostname] certificate hostname does not match the configured server" msgstr "" #: configs/nls/messages/reliefmail.c:451 -msgid "[TLS:time] certificate is expired or not yet valid; check the system clock and server certificate" +msgid "" +"[TLS:time] certificate is expired or not yet valid; check the system clock and server " +"certificate" msgstr "" #: configs/nls/messages/reliefmail.c:452 @@ -3792,18 +3905,6 @@ msgstr "" msgid "[TLS:trust] server certificate failed the required security checks" msgstr "" -#: userland/apps/reliefmail/window_actions.cpp:387 -msgid "" -"\n" -"Current account generation %llu\n" -"Exact IMAP destination: %s\n" -"Folder generation %llu · UIDVALIDITY %llu\n" -msgstr "" -"\n" -"当前账户配置代次 %llu\n" -"确切 IMAP 目标:%s\n" -"文件夹代次 %llu · UID 有效标识 %llu\n" - #: configs/nls/messages/reliefmail.c:272 msgid "a draft save is already in progress" msgstr "" @@ -7501,7 +7602,9 @@ msgid "server search page limit is invalid" msgstr "" #: configs/nls/messages/reliefmail.c:1151 -msgid "server search requires one folder and date order; received-date and attachment filters are local only" +msgid "" +"server search requires one folder and date order; received-date and attachment filters are " +"local only" msgstr "" #: configs/nls/messages/reliefmail.c:1152 diff --git a/configs/nls/po/reliefmath/ja_JP.po b/configs/nls/po/reliefmath/ja_JP.po index 00e9df5f..4bd36a09 100644 --- a/configs/nls/po/reliefmath/ja_JP.po +++ b/configs/nls/po/reliefmath/ja_JP.po @@ -3593,3 +3593,7 @@ msgstr "ワーカーエラー" #: configs/nls/messages/reliefmath.c msgid "Cannot construct formula layout" msgstr "数式のレイアウトを構築できません" + +#: userland/apps/reliefmath/window.cpp +msgid "Clipboard image is unavailable" +msgstr "クリップボード画像を利用できません" diff --git a/configs/nls/po/reliefmath/reliefmath.pot b/configs/nls/po/reliefmath/reliefmath.pot index c85a046b..925578b9 100644 --- a/configs/nls/po/reliefmath/reliefmath.pot +++ b/configs/nls/po/reliefmath/reliefmath.pot @@ -3585,3 +3585,7 @@ msgstr "" #: configs/nls/messages/reliefmath.c msgid "Cannot construct formula layout" msgstr "" + +#: userland/apps/reliefmath/window.cpp +msgid "Clipboard image is unavailable" +msgstr "" diff --git a/configs/nls/po/reliefmath/zh_CN.po b/configs/nls/po/reliefmath/zh_CN.po index af02f9b0..7590064e 100644 --- a/configs/nls/po/reliefmath/zh_CN.po +++ b/configs/nls/po/reliefmath/zh_CN.po @@ -3622,3 +3622,7 @@ msgstr "工作进程错误" #: configs/nls/messages/reliefmath.c msgid "Cannot construct formula layout" msgstr "无法构建公式布局" + +#: userland/apps/reliefmath/window.cpp +msgid "Clipboard image is unavailable" +msgstr "无法使用剪贴板图像" diff --git a/configs/nls/po/reliefpackages/ja_JP.po b/configs/nls/po/reliefpackages/ja_JP.po new file mode 100644 index 00000000..ef9b4807 --- /dev/null +++ b/configs/nls/po/reliefpackages/ja_JP.po @@ -0,0 +1,191 @@ + +msgid "" +msgstr "" +"Project-Id-Version: ReliefPackages 5.3.4\n" +"Report-Msgid-Bugs-To: https://github.com/ReliefOSProject/ReliefOS/issues\n" +"POT-Creation-Date: 2026-11-30 00:00+0000\n" +"PO-Revision-Date: 2026-11-30 00:00+0000\n" +"Last-Translator: ReliefOS Project\n" +"Language: ja_JP\n" +"Language-Team: ja_JP\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/fltk_support.h:29 +msgid "Add to Favorites" +msgstr "お気に入りに追加" + +#: userland/apps/fltk_support.h:30 +msgid "All Files (*)" +msgstr "すべてのファイル (*)" + +#: userland/apps/reliefpackages/main.cpp:148 +msgid "Authorization canceled" +msgstr "認証がキャンセルされました" + +#: userland/apps/reliefpackages/main.cpp:99 +msgid "Cached repository packages" +msgstr "キャッシュ済みのリポジトリパッケージ" + +#: userland/apps/fltk_support.h:25 +msgid "Cancel" +msgstr "キャンセル" + +#: userland/apps/fltk_support.h:26 +msgid "Close" +msgstr "閉じる" + +#: userland/apps/reliefpackages/main.cpp:155 +msgid "Continue" +msgstr "続行" + +#: userland/apps/fltk_png_app.h:46 +msgid "Could not decode image" +msgstr "画像をデコードできません" + +#: userland/apps/reliefpackages/main.cpp:83 +msgid "Could not open the pacman database" +msgstr "pacman データベースを開けませんでした" + +#: userland/apps/reliefpackages/main.cpp:161 +msgid "Could not start authorization" +msgstr "認証を開始できませんでした" + +#: userland/apps/fltk_support.h:38 +msgid "Create a new directory" +msgstr "新しいフォルダーを作成" + +#: userland/apps/fltk_support.h:31 +msgid "Custom Filter" +msgstr "カスタムフィルター" + +#: userland/apps/fltk_support.h:33 +msgid "Favorites" +msgstr "お気に入り" + +#: userland/apps/fltk_support.h:35 +msgid "File Systems" +msgstr "ファイルシステム" + +#: userland/apps/fltk_support.h:34 +msgid "File name:" +msgstr "ファイル名:" + +#: userland/apps/fltk_files.h:23 +msgid "Input is too long" +msgstr "入力が長すぎます" + +#: userland/apps/reliefpackages/main.cpp:181 +msgid "Install" +msgstr "インストール" + +#: userland/apps/reliefpackages/main.cpp:205 +msgid "Install package" +msgstr "パッケージをインストール" + +#: userland/apps/reliefpackages/main.cpp:66 +msgid "Installed" +msgstr "インストール済み" + +#: userland/apps/reliefpackages/main.cpp:99 +msgid "Installed packages" +msgstr "インストール済みのパッケージ" + +#: userland/apps/fltk_support.h:36 +msgid "Manage Favorites" +msgstr "お気に入りの管理" + +#: userland/apps/fltk_support.h:37 +msgid "New Directory?" +msgstr "新しいフォルダーを作成しますか?" + +#: userland/apps/fltk_support.h:28 +msgid "No" +msgstr "いいえ" + +#: userland/apps/reliefpackages/main.cpp:97 +msgid "No matching packages" +msgstr "一致するパッケージがありません" + +#: userland/apps/fltk_support.h:24 +msgid "OK" +msgstr "OK" + +#: userland/apps/reliefpackages/main.cpp:174 +msgid "Package" +msgstr "パッケージ" + +#: userland/apps/reliefpackages/main.cpp:166 +msgid "Package transaction in progress" +msgstr "パッケージトランザクションを実行中です" + +#: userland/apps/reliefpackages/main.cpp:146 +msgid "Packages changed. Review the hook error in the transaction log." +msgstr "パッケージを変更しました。ログでフックのエラーを確認してください。" + +#: userland/apps/fltk_support.h:32 +msgid "Please choose an existing file!" +msgstr "既存のファイルを選択してください。" + +#: userland/apps/fltk_support.h:39 +msgid "Preview" +msgstr "プレビュー" + +#: userland/apps/reliefpackages/main.cpp:225 +msgid "Reinstall the official system certificate packages?" +msgstr "公式システム証明書パッケージを再インストールしますか?" + +#: userland/apps/reliefpackages/main.cpp:182 +msgid "Remove" +msgstr "削除" + +#: userland/apps/reliefpackages/main.cpp:205 +msgid "Remove package" +msgstr "パッケージを削除" + +#: userland/apps/fltk_support.h:40 +msgid "Save" +msgstr "保存" + +#: userland/apps/reliefpackages/main.cpp:176 +msgid "Search repositories" +msgstr "リポジトリを検索" + +#: userland/apps/fltk_support.h:42 +msgid "Show hidden files" +msgstr "隠しファイルを表示" + +#: userland/apps/fltk_support.h:41 +msgid "Show:" +msgstr "表示:" + +#: userland/apps/reliefpackages/main.cpp:98 +msgid "Showing the first 250 packages" +msgstr "最初の 250 件を表示" + +#: userland/apps/reliefpackages/main.cpp:183 +msgid "Sync and upgrade system" +msgstr "システムを同期してアップグレード" + +#: userland/apps/reliefpackages/main.cpp:222 +msgid "Synchronize repositories and apply a full system upgrade?" +msgstr "リポジトリを同期し、システム全体をアップグレードしますか?" + +#: userland/apps/reliefpackages/main.cpp:145 +msgid "Transaction completed" +msgstr "トランザクションが完了しました" + +#: userland/apps/reliefpackages/main.cpp:147 +msgid "Transaction completed. Review the new configuration files in the log." +msgstr "トランザクションが完了しました。ログで新しい設定ファイルを確認してください。" + +#: userland/apps/reliefpackages/main.cpp:148 +msgid "Transaction failed. Review the log." +msgstr "トランザクションに失敗しました。ログを確認してください。" + +#: userland/apps/fltk_support.h:27 +msgid "Yes" +msgstr "はい" diff --git a/configs/nls/po/reliefpackages/reliefpackages.pot b/configs/nls/po/reliefpackages/reliefpackages.pot new file mode 100644 index 00000000..02a8312c --- /dev/null +++ b/configs/nls/po/reliefpackages/reliefpackages.pot @@ -0,0 +1,179 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + +#: userland/apps/fltk_support.h:29 +msgid "Add to Favorites" +msgstr "" + +#: userland/apps/fltk_support.h:30 +msgid "All Files (*)" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:148 +msgid "Authorization canceled" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:99 +msgid "Cached repository packages" +msgstr "" + +#: userland/apps/fltk_support.h:25 +msgid "Cancel" +msgstr "" + +#: userland/apps/fltk_support.h:26 +msgid "Close" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:155 +msgid "Continue" +msgstr "" + +#: userland/apps/fltk_png_app.h:46 +msgid "Could not decode image" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:83 +msgid "Could not open the pacman database" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:161 +msgid "Could not start authorization" +msgstr "" + +#: userland/apps/fltk_support.h:38 +msgid "Create a new directory" +msgstr "" + +#: userland/apps/fltk_support.h:31 +msgid "Custom Filter" +msgstr "" + +#: userland/apps/fltk_support.h:33 +msgid "Favorites" +msgstr "" + +#: userland/apps/fltk_support.h:35 +msgid "File Systems" +msgstr "" + +#: userland/apps/fltk_support.h:34 +msgid "File name:" +msgstr "" + +#: userland/apps/fltk_files.h:23 +msgid "Input is too long" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:181 +msgid "Install" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:205 +msgid "Install package" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:66 +msgid "Installed" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:99 +msgid "Installed packages" +msgstr "" + +#: userland/apps/fltk_support.h:36 +msgid "Manage Favorites" +msgstr "" + +#: userland/apps/fltk_support.h:37 +msgid "New Directory?" +msgstr "" + +#: userland/apps/fltk_support.h:28 +msgid "No" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:97 +msgid "No matching packages" +msgstr "" + +#: userland/apps/fltk_support.h:24 +msgid "OK" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:174 +msgid "Package" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:166 +msgid "Package transaction in progress" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:146 +msgid "Packages changed. Review the hook error in the transaction log." +msgstr "" + +#: userland/apps/fltk_support.h:32 +msgid "Please choose an existing file!" +msgstr "" + +#: userland/apps/fltk_support.h:39 +msgid "Preview" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:225 +msgid "Reinstall the official system certificate packages?" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:182 +msgid "Remove" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:205 +msgid "Remove package" +msgstr "" + +#: userland/apps/fltk_support.h:40 +msgid "Save" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:176 +msgid "Search repositories" +msgstr "" + +#: userland/apps/fltk_support.h:42 +msgid "Show hidden files" +msgstr "" + +#: userland/apps/fltk_support.h:41 +msgid "Show:" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:98 +msgid "Showing the first 250 packages" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:183 +msgid "Sync and upgrade system" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:222 +msgid "Synchronize repositories and apply a full system upgrade?" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:145 +msgid "Transaction completed" +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:147 +msgid "Transaction completed. Review the new configuration files in the log." +msgstr "" + +#: userland/apps/reliefpackages/main.cpp:148 +msgid "Transaction failed. Review the log." +msgstr "" + +#: userland/apps/fltk_support.h:27 +msgid "Yes" +msgstr "" diff --git a/configs/nls/po/reliefpackages/zh_CN.po b/configs/nls/po/reliefpackages/zh_CN.po new file mode 100644 index 00000000..16fc3f96 --- /dev/null +++ b/configs/nls/po/reliefpackages/zh_CN.po @@ -0,0 +1,191 @@ + +msgid "" +msgstr "" +"Project-Id-Version: ReliefPackages 5.3.4\n" +"Report-Msgid-Bugs-To: https://github.com/ReliefOSProject/ReliefOS/issues\n" +"POT-Creation-Date: 2026-11-30 00:00+0000\n" +"PO-Revision-Date: 2026-11-30 00:00+0000\n" +"Last-Translator: ReliefOS Project\n" +"Language: zh_CN\n" +"Language-Team: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/fltk_support.h:29 +msgid "Add to Favorites" +msgstr "添加到收藏夹" + +#: userland/apps/fltk_support.h:30 +msgid "All Files (*)" +msgstr "所有文件 (*)" + +#: userland/apps/reliefpackages/main.cpp:148 +msgid "Authorization canceled" +msgstr "授权已取消" + +#: userland/apps/reliefpackages/main.cpp:99 +msgid "Cached repository packages" +msgstr "缓存中的仓库软件包" + +#: userland/apps/fltk_support.h:25 +msgid "Cancel" +msgstr "取消" + +#: userland/apps/fltk_support.h:26 +msgid "Close" +msgstr "关闭" + +#: userland/apps/reliefpackages/main.cpp:155 +msgid "Continue" +msgstr "继续" + +#: userland/apps/fltk_png_app.h:46 +msgid "Could not decode image" +msgstr "无法解码图像" + +#: userland/apps/reliefpackages/main.cpp:83 +msgid "Could not open the pacman database" +msgstr "无法打开 pacman 数据库" + +#: userland/apps/reliefpackages/main.cpp:161 +msgid "Could not start authorization" +msgstr "无法启动授权" + +#: userland/apps/fltk_support.h:38 +msgid "Create a new directory" +msgstr "创建新目录" + +#: userland/apps/fltk_support.h:31 +msgid "Custom Filter" +msgstr "自定义筛选器" + +#: userland/apps/fltk_support.h:33 +msgid "Favorites" +msgstr "收藏夹" + +#: userland/apps/fltk_support.h:35 +msgid "File Systems" +msgstr "文件系统" + +#: userland/apps/fltk_support.h:34 +msgid "File name:" +msgstr "文件名:" + +#: userland/apps/fltk_files.h:23 +msgid "Input is too long" +msgstr "输入内容过长" + +#: userland/apps/reliefpackages/main.cpp:181 +msgid "Install" +msgstr "安装" + +#: userland/apps/reliefpackages/main.cpp:205 +msgid "Install package" +msgstr "安装软件包" + +#: userland/apps/reliefpackages/main.cpp:66 +msgid "Installed" +msgstr "已安装" + +#: userland/apps/reliefpackages/main.cpp:99 +msgid "Installed packages" +msgstr "已安装的软件包" + +#: userland/apps/fltk_support.h:36 +msgid "Manage Favorites" +msgstr "管理收藏夹" + +#: userland/apps/fltk_support.h:37 +msgid "New Directory?" +msgstr "新建目录?" + +#: userland/apps/fltk_support.h:28 +msgid "No" +msgstr "否" + +#: userland/apps/reliefpackages/main.cpp:97 +msgid "No matching packages" +msgstr "没有匹配的软件包" + +#: userland/apps/fltk_support.h:24 +msgid "OK" +msgstr "确定" + +#: userland/apps/reliefpackages/main.cpp:174 +msgid "Package" +msgstr "软件包" + +#: userland/apps/reliefpackages/main.cpp:166 +msgid "Package transaction in progress" +msgstr "正在执行软件包事务" + +#: userland/apps/reliefpackages/main.cpp:146 +msgid "Packages changed. Review the hook error in the transaction log." +msgstr "软件包已更改。请查看事务日志中的钩子错误。" + +#: userland/apps/fltk_support.h:32 +msgid "Please choose an existing file!" +msgstr "请选择已存在的文件!" + +#: userland/apps/fltk_support.h:39 +msgid "Preview" +msgstr "预览" + +#: userland/apps/reliefpackages/main.cpp:225 +msgid "Reinstall the official system certificate packages?" +msgstr "重新安装官方系统证书软件包?" + +#: userland/apps/reliefpackages/main.cpp:182 +msgid "Remove" +msgstr "卸载" + +#: userland/apps/reliefpackages/main.cpp:205 +msgid "Remove package" +msgstr "卸载软件包" + +#: userland/apps/fltk_support.h:40 +msgid "Save" +msgstr "保存" + +#: userland/apps/reliefpackages/main.cpp:176 +msgid "Search repositories" +msgstr "搜索软件仓库" + +#: userland/apps/fltk_support.h:42 +msgid "Show hidden files" +msgstr "显示隐藏文件" + +#: userland/apps/fltk_support.h:41 +msgid "Show:" +msgstr "显示:" + +#: userland/apps/reliefpackages/main.cpp:98 +msgid "Showing the first 250 packages" +msgstr "显示前 250 个软件包" + +#: userland/apps/reliefpackages/main.cpp:183 +msgid "Sync and upgrade system" +msgstr "同步并升级系统" + +#: userland/apps/reliefpackages/main.cpp:222 +msgid "Synchronize repositories and apply a full system upgrade?" +msgstr "同步软件仓库并执行完整系统升级?" + +#: userland/apps/reliefpackages/main.cpp:145 +msgid "Transaction completed" +msgstr "事务已完成" + +#: userland/apps/reliefpackages/main.cpp:147 +msgid "Transaction completed. Review the new configuration files in the log." +msgstr "事务已完成。请查看日志中的新配置文件。" + +#: userland/apps/reliefpackages/main.cpp:148 +msgid "Transaction failed. Review the log." +msgstr "事务失败。请查看日志。" + +#: userland/apps/fltk_support.h:27 +msgid "Yes" +msgstr "是" diff --git a/configs/nls/po/reliefplayer/ja_JP.po b/configs/nls/po/reliefplayer/ja_JP.po index fb48cca6..f7d822a6 100644 --- a/configs/nls/po/reliefplayer/ja_JP.po +++ b/configs/nls/po/reliefplayer/ja_JP.po @@ -1,20 +1,24 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:46+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" @@ -30,7 +34,7 @@ msgstr "オーディオデバイスを利用できません" msgid "Back 10 s" msgstr "10 秒戻る" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" @@ -38,7 +42,7 @@ msgstr "キャンセル" msgid "Cancelled" msgstr "キャンセル済み" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "閉じる" @@ -50,11 +54,11 @@ msgstr "画像をデコードできません" msgid "Could not read the media file" msgstr "メディアファイルを読み取れませんでした" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" @@ -62,15 +66,15 @@ msgstr "カスタムフィルター" msgid "Drag to seek; Left/Right: 10 seconds" msgstr "ドラッグで再生位置を変更できます。左/右キー: 10 秒" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" @@ -90,7 +94,7 @@ msgstr "入力が長すぎます" msgid "Invalid or truncated media file" msgstr "メディアファイルが無効か、不完全です" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" @@ -99,6 +103,7 @@ msgid "Media exceeds the supported size or resolution" msgstr "メディアのサイズまたは解像度が対応する上限を超えています" #: userland/apps/reliefplayer/window.cpp:188 +#, python-brace-format msgid "Media files (*.{mp3,MP3,wav,WAV,mp4,MP4})" msgstr "メディアファイル (*.{mp3,MP3,wav,WAV,mp4,MP4})" @@ -114,11 +119,11 @@ msgstr "モノラル音声" msgid "Mute" msgstr "ミュート" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" @@ -134,7 +139,7 @@ msgstr "メディアファイルが選択されていません" msgid "Not enough memory" msgstr "メモリが不足しています" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" @@ -178,11 +183,11 @@ msgstr "再生プロセスが予期せず停止しました" msgid "Playing" msgstr "再生中" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" @@ -199,18 +204,42 @@ msgid "ReliefPlayer" msgstr "ReliefPlayer" #: userland/apps/reliefplayer/window.cpp:360 -msgid "ReliefPlayer\nMP3 / WAV audio and MP4 video player\n\nCtrl+O: open media\nSpace: play or pause\nLeft / Right: seek 10 seconds\nHome: return to the beginning\n\nVolume changes affect this player only.\nSupports PCM WAV 8/16/24/32-bit and float32, mono or stereo.\nMP4: H.264, MPEG-4 or HEVC video; AAC or MP3 audio.\nLocal files only; no network streams or media library." -msgstr "ReliefPlayer\nMP3 / WAV 音声および MP4 動画プレーヤー\n\nCtrl+O: メディアを開く\nSpace: 再生または一時停止\n左 / 右: 10 秒移動\nHome: 先頭に戻る\n\n音量変更はこのプレーヤーのみに適用されます。\nPCM WAV 8/16/24/32 ビットおよび float32、モノラルまたはステレオに対応。\nMP4: H.264、MPEG-4、HEVC 動画、および AAC、MP3 音声。\nローカルファイルのみ対応。ネットワーク配信とメディアライブラリは利用できません。" - -#: userland/apps/fltk_support.h:59 +msgid "" +"ReliefPlayer\n" +"MP3 / WAV audio and MP4 video player\n" +"\n" +"Ctrl+O: open media\n" +"Space: play or pause\n" +"Left / Right: seek 10 seconds\n" +"Home: return to the beginning\n" +"\n" +"Volume changes affect this player only.\n" +"Supports PCM WAV 8/16/24/32-bit and float32, mono or stereo.\n" +"MP4: H.264, MPEG-4 or HEVC video; AAC or MP3 audio.\n" +"Local files only; no network streams or media library." +msgstr "" +"ReliefPlayer\n" +"MP3 / WAV 音声および MP4 動画プレーヤー\n" +"\n" +"Ctrl+O: メディアを開く\n" +"Space: 再生または一時停止\n" +"左 / 右: 10 秒移動\n" +"Home: 先頭に戻る\n" +"\n" +"音量変更はこのプレーヤーのみに適用されます。\n" +"PCM WAV 8/16/24/32 ビットおよび float32、モノラルまたはステレオに対応。\n" +"MP4: H.264、MPEG-4、HEVC 動画、および AAC、MP3 音声。\n" +"ローカルファイルのみ対応。ネットワーク配信とメディアライブラリは利用できません。" + +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" @@ -242,7 +271,7 @@ msgstr "未対応のメディア形式またはコーデック" msgid "Volume" msgstr "音量" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" diff --git a/configs/nls/po/reliefplayer/reliefplayer.pot b/configs/nls/po/reliefplayer/reliefplayer.pot index bee27a8e..0b780fb4 100644 --- a/configs/nls/po/reliefplayer/reliefplayer.pot +++ b/configs/nls/po/reliefplayer/reliefplayer.pot @@ -2,11 +2,11 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" @@ -22,7 +22,7 @@ msgstr "" msgid "Back 10 s" msgstr "" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" @@ -30,7 +30,7 @@ msgstr "" msgid "Cancelled" msgstr "" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "" @@ -42,11 +42,11 @@ msgstr "" msgid "Could not read the media file" msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" @@ -54,15 +54,15 @@ msgstr "" msgid "Drag to seek; Left/Right: 10 seconds" msgstr "" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" @@ -82,7 +82,7 @@ msgstr "" msgid "Invalid or truncated media file" msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" @@ -106,11 +106,11 @@ msgstr "" msgid "Mute" msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" @@ -126,7 +126,7 @@ msgstr "" msgid "Not enough memory" msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" @@ -170,11 +170,11 @@ msgstr "" msgid "Playing" msgstr "" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" @@ -194,15 +194,15 @@ msgstr "" msgid "ReliefPlayer\nMP3 / WAV audio and MP4 video player\n\nCtrl+O: open media\nSpace: play or pause\nLeft / Right: seek 10 seconds\nHome: return to the beginning\n\nVolume changes affect this player only.\nSupports PCM WAV 8/16/24/32-bit and float32, mono or stereo.\nMP4: H.264, MPEG-4 or HEVC video; AAC or MP3 audio.\nLocal files only; no network streams or media library." msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" @@ -234,7 +234,7 @@ msgstr "" msgid "Volume" msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" diff --git a/configs/nls/po/reliefplayer/zh_CN.po b/configs/nls/po/reliefplayer/zh_CN.po index 9e01ff80..87e7a6fa 100644 --- a/configs/nls/po/reliefplayer/zh_CN.po +++ b/configs/nls/po/reliefplayer/zh_CN.po @@ -1,20 +1,24 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:46+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: none\n" "Language: zh_CN\n" +"Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" @@ -30,7 +34,7 @@ msgstr "音频设备不可用" msgid "Back 10 s" msgstr "后退 10 秒" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" @@ -38,7 +42,7 @@ msgstr "取消" msgid "Cancelled" msgstr "已取消" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "关闭" @@ -50,11 +54,11 @@ msgstr "无法解码图像" msgid "Could not read the media file" msgstr "无法读取媒体文件" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" @@ -62,15 +66,15 @@ msgstr "自定义筛选器" msgid "Drag to seek; Left/Right: 10 seconds" msgstr "拖动定位;左右方向键跳转 10 秒" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" @@ -90,7 +94,7 @@ msgstr "输入内容过长" msgid "Invalid or truncated media file" msgstr "媒体文件无效或不完整" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" @@ -99,6 +103,7 @@ msgid "Media exceeds the supported size or resolution" msgstr "媒体大小或分辨率超出支持范围" #: userland/apps/reliefplayer/window.cpp:188 +#, python-brace-format msgid "Media files (*.{mp3,MP3,wav,WAV,mp4,MP4})" msgstr "媒体文件 (*.{mp3,MP3,wav,WAV,mp4,MP4})" @@ -114,11 +119,11 @@ msgstr "单声道" msgid "Mute" msgstr "静音" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" @@ -134,7 +139,7 @@ msgstr "尚未选择媒体文件" msgid "Not enough memory" msgstr "内存不足" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" @@ -178,11 +183,11 @@ msgstr "播放进程意外退出" msgid "Playing" msgstr "游戏中" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" @@ -226,15 +231,15 @@ msgstr "" "MP4:H.264、MPEG-4 或 HEVC 视频;AAC 或 MP3 音轨。\n" "仅播放本地文件,不含网络串流或媒体库。" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" @@ -266,7 +271,7 @@ msgstr "不支持的媒体格式或编码" msgid "Volume" msgstr "音量" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" diff --git a/configs/nls/po/reliefsettings/ja_JP.po b/configs/nls/po/reliefsettings/ja_JP.po index 6c2ff2df..7f87afb9 100644 --- a/configs/nls/po/reliefsettings/ja_JP.po +++ b/configs/nls/po/reliefsettings/ja_JP.po @@ -1,56 +1,66 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "お気に入りに追加" -#: userland/apps/reliefsettings/window.cpp:103 -msgid "After applying, choose Keep within 15 seconds. The previous mode is restored automatically if you do not confirm." +#: userland/apps/reliefsettings/window.cpp:104 +msgid "" +"After applying, choose Keep within 15 seconds. The previous mode is restored automatically " +"if you do not confirm." msgstr "適用後、15 秒以内に「保持」を選択してください。確認しない場合は以前のモードに自動的に戻ります。" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "すべてのファイル (*)" -#: userland/apps/reliefsettings/window.cpp:269 +#: userland/apps/reliefsettings/window.cpp:270 msgid "All users" msgstr "すべてのユーザー" -#: userland/apps/reliefsettings/window.cpp:70 +#: userland/apps/reliefsettings/window.cpp:71 msgid "Application language" msgstr "アプリケーションの言語" -#: userland/apps/reliefsettings/window.cpp:656 +#: userland/apps/reliefsettings/window.cpp:647 msgid "Application started." msgstr "アプリケーションを起動しました。" -#: userland/apps/reliefsettings/window.cpp:268 +#: userland/apps/reliefsettings/window.cpp:269 msgid "Apply" msgstr "適用" -#: userland/apps/reliefsettings/window.cpp:116 -msgid "Apply a layout, then type in the test field. Chinese text input is provided by your input method." +#: userland/apps/reliefsettings/window.cpp:117 +msgid "" +"Apply a layout, then type in the test field. Chinese text input is provided by your input " +"method." msgstr "レイアウトを適用してから、テスト欄に入力してください。中国語の入力は入力メソッドが提供します。" -#: userland/apps/reliefsettings/window.cpp:493 +#: userland/apps/reliefsettings/window.cpp:487 msgid "Applying…" msgstr "適用中…" -#: userland/apps/reliefsettings/window.cpp:106 -msgid "Available modes are reported by the X server and graphics driver. Confirmed settings are restored at your next sign-in." +#: userland/apps/reliefsettings/window.cpp:107 +msgid "" +"Available modes are reported by the X server and graphics driver. Confirmed settings are " +"restored at your next sign-in." msgstr "利用可能なモードは X サーバーとグラフィックスドライバーが提供します。確認済みの設定は次回のサインイン時に復元されます。" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "キャンセル" @@ -62,11 +72,11 @@ msgstr "一時設定ファイルを作成できません。" msgid "Cannot read the current keyboard layout." msgstr "現在のキーボードレイアウトを読み取れません。" -#: userland/apps/reliefsettings/window.cpp:656 +#: userland/apps/reliefsettings/window.cpp:647 msgid "Cannot start the application." msgstr "アプリケーションを起動できません。" -#: userland/apps/reliefsettings/window.cpp:493 +#: userland/apps/reliefsettings/window.cpp:487 msgid "Cannot start the settings worker." msgstr "設定用のワーカープロセスを起動できません。" @@ -74,11 +84,11 @@ msgstr "設定用のワーカープロセスを起動できません。" msgid "Cannot start xrandr." msgstr "xrandr を起動できません。" -#: userland/apps/reliefsettings/window.cpp:425 +#: userland/apps/reliefsettings/window.cpp:426 msgid "Choose a time zone." msgstr "タイムゾーンを選択してください。" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "閉じる" @@ -86,19 +96,19 @@ msgstr "閉じる" msgid "Could not decode image" msgstr "画像をデコードできません" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "新しいフォルダーを作成" -#: userland/apps/reliefsettings/window.cpp:100 +#: userland/apps/reliefsettings/window.cpp:101 msgid "Current mode" msgstr "現在のモード" -#: userland/apps/reliefsettings/window.cpp:141 +#: userland/apps/reliefsettings/window.cpp:142 msgid "Current user" msgstr "現在のユーザー" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "カスタムフィルター" @@ -122,27 +132,27 @@ msgstr "ディスプレイ" msgid "Display information is too large." msgstr "ディスプレイ情報が大きすぎます。" -#: userland/apps/reliefsettings/window.cpp:98 +#: userland/apps/reliefsettings/window.cpp:99 msgid "Display output" msgstr "ディスプレイ出力" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "お気に入り" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "ファイルシステム" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "ファイル名:" -#: userland/apps/reliefsettings/window.cpp:86 +#: userland/apps/reliefsettings/window.cpp:87 msgid "Find a time zone" msgstr "タイムゾーンを検索" -#: userland/apps/reliefsettings/window.cpp:660 +#: userland/apps/reliefsettings/window.cpp:651 msgid "Finish or cancel administrator authentication before closing." msgstr "閉じる前に管理者認証を完了するか、キャンセルしてください。" @@ -154,9 +164,9 @@ msgstr "HOME は絶対パスである必要があります。" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/reliefsettings/window.cpp:133 -msgid "Inspect services, start or stop them and manage their startup runlevels." -msgstr "サービスの確認、開始、停止、および自動起動のランレベルの管理ができます。" +#: userland/apps/reliefsettings/window.cpp:134 +msgid "Inspect services, start or stop them and manage whether they start at boot." +msgstr "サービスを確認、起動、停止し、起動時の自動開始を管理します。" #: configs/nls/messages/reliefsettings.c:10 msgid "Invalid configuration name or size." @@ -182,11 +192,11 @@ msgstr "設定ファイルが無効か、大きすぎます。" msgid "Invalid time zone." msgstr "無効なタイムゾーンです。" -#: userland/apps/reliefsettings/window.cpp:506 +#: userland/apps/reliefsettings/window.cpp:500 msgid "Keep" msgstr "保持" -#: userland/apps/reliefsettings/window.cpp:498 +#: userland/apps/reliefsettings/window.cpp:492 msgid "Keep these display settings?" msgstr "このディスプレイ設定を保持しますか?" @@ -198,7 +208,7 @@ msgstr "キーボード" msgid "Keyboard information is too large." msgstr "キーボード情報が大きすぎます。" -#: userland/apps/reliefsettings/window.cpp:111 +#: userland/apps/reliefsettings/window.cpp:112 msgid "Keyboard layout" msgstr "キーボードレイアウト" @@ -206,19 +216,19 @@ msgstr "キーボードレイアウト" msgid "Language" msgstr "言語" -#: userland/apps/reliefsettings/window.cpp:590 +#: userland/apps/reliefsettings/window.cpp:581 msgid "Language saved. Sign out and sign in to use it." msgstr "保存しました。再ログインで反映されます。" -#: userland/apps/reliefsettings/window.cpp:113 +#: userland/apps/reliefsettings/window.cpp:114 msgid "Layout variant" msgstr "レイアウトのバリエーション" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "お気に入りの管理" -#: userland/apps/reliefsettings/window.cpp:126 +#: userland/apps/reliefsettings/window.cpp:127 msgid "Manage network adapters, automatic or static addressing, DNS and connection diagnostics." msgstr "ネットワークアダプター、自動または固定アドレス、DNS、接続診断を管理します。" @@ -226,11 +236,11 @@ msgstr "ネットワークアダプター、自動または固定アドレス、 msgid "Network" msgstr "ネットワーク" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新しいフォルダーを作成しますか?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "いいえ" @@ -238,17 +248,17 @@ msgstr "いいえ" msgid "No XKB keyboard layouts are installed." msgstr "XKB キーボードレイアウトがインストールされていません。" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "OK" -#: userland/apps/reliefsettings/window.cpp:123 +#: userland/apps/reliefsettings/window.cpp:124 msgid "Open Network Controller" msgstr "ネットワークコントローラーを開く" -#: userland/apps/reliefsettings/window.cpp:131 -msgid "Open OpenRC Controller" -msgstr "OpenRC コントローラーを開く" +#: userland/apps/reliefsettings/window.cpp:132 +msgid "Open Service Controller" +msgstr "サービスコントローラーを開く" #: configs/nls/messages/reliefsettings.c:21 msgid "Out of memory." @@ -258,39 +268,39 @@ msgstr "メモリが不足しています。" msgid "Output is disabled" msgstr "出力は無効です" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "既存のファイルを選択してください。" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "プレビュー" -#: userland/apps/reliefsettings/window.cpp:588 +#: userland/apps/reliefsettings/window.cpp:579 msgid "Previous display mode restored." msgstr "以前のディスプレイモードに戻しました。" -#: userland/apps/reliefsettings/window.cpp:142 +#: userland/apps/reliefsettings/window.cpp:143 msgid "Reload" msgstr "再読み込み" -#: userland/apps/reliefsettings/window.cpp:101 +#: userland/apps/reliefsettings/window.cpp:102 msgid "Resolution and refresh rate" msgstr "解像度とリフレッシュレート" -#: userland/apps/reliefsettings/window.cpp:503 +#: userland/apps/reliefsettings/window.cpp:497 msgid "Restore" msgstr "元に戻す" -#: userland/apps/reliefsettings/window.cpp:525 +#: userland/apps/reliefsettings/window.cpp:519 msgid "Restoring the previous display mode…" msgstr "以前のディスプレイモードに戻しています…" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/reliefsettings/window.cpp:524 +#: userland/apps/reliefsettings/window.cpp:518 msgid "Saving display settings…" msgstr "ディスプレイ設定を保存中…" @@ -298,11 +308,11 @@ msgstr "ディスプレイ設定を保存中…" msgid "Services" msgstr "サービス" -#: userland/apps/reliefsettings/window.cpp:591 +#: userland/apps/reliefsettings/window.cpp:582 msgid "Settings applied." msgstr "設定を適用しました。" -#: userland/apps/reliefsettings/window.cpp:585 +#: userland/apps/reliefsettings/window.cpp:576 msgid "Settings applied. Storage synchronization failed." msgstr "設定を適用しました。ストレージの同期に失敗しました。" @@ -310,39 +320,39 @@ msgstr "設定を適用しました。ストレージの同期に失敗しまし msgid "Settings are being saved by another program. Try again." msgstr "別のプログラムが設定を保存中です。もう一度お試しください。" -#: userland/apps/reliefsettings/window.cpp:582 +#: userland/apps/reliefsettings/window.cpp:573 msgid "Settings could not be applied." msgstr "設定を適用できませんでした。" -#: userland/apps/reliefsettings/window.cpp:198 +#: userland/apps/reliefsettings/window.cpp:199 msgid "Settings diagnostic" msgstr "設定の診断情報" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "隠しファイルを表示" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "表示:" -#: userland/apps/reliefsettings/window.cpp:71 +#: userland/apps/reliefsettings/window.cpp:72 msgid "System default" msgstr "システムの既定値" -#: userland/apps/reliefsettings/window.cpp:119 +#: userland/apps/reliefsettings/window.cpp:120 msgid "System default clears your saved override and takes effect at your next sign-in." msgstr "「システムの既定値」は保存した個人設定を解除します。次回のサインイン時に反映されます。" -#: userland/apps/reliefsettings/window.cpp:84 +#: userland/apps/reliefsettings/window.cpp:85 msgid "System time zone" msgstr "システムのタイムゾーン" -#: userland/apps/reliefsettings/window.cpp:567 +#: userland/apps/reliefsettings/window.cpp:558 msgid "System time zone updated." msgstr "システムのタイムゾーンを更新しました。" -#: userland/apps/reliefsettings/window.cpp:114 +#: userland/apps/reliefsettings/window.cpp:115 msgid "Test your keyboard here" msgstr "ここでキーボードをテストしてください" @@ -362,19 +372,20 @@ msgstr "コマンドがタイムアウトしました。" msgid "The display mode changed. Reload and try again." msgstr "ディスプレイモードが変更されました。再読み込みしてからお試しください。" -#: userland/apps/reliefsettings/window.cpp:76 +#: userland/apps/reliefsettings/window.cpp:77 msgid "The language is used the next time you sign in. Save your work before signing out." msgstr "言語は次回のサインイン時に反映されます。サインアウトする前に作業を保存してください。" -#: userland/apps/reliefsettings/window.cpp:564 +#: userland/apps/reliefsettings/window.cpp:555 msgid "The operation failed." msgstr "操作に失敗しました。" -#: userland/apps/reliefsettings/window.cpp:605 +#: userland/apps/reliefsettings/window.cpp:596 +#, python-format msgid "The previous display mode will be restored in %d seconds." msgstr "%d 秒後に以前のディスプレイモードに戻ります。" -#: userland/apps/reliefsettings/window.cpp:639 +#: userland/apps/reliefsettings/window.cpp:630 msgid "The requested application exited with an error." msgstr "指定したアプリケーションがエラーで終了しました。" @@ -390,26 +401,22 @@ msgstr "別のプログラムで設定が変更されました。再読み込み msgid "The settings worker exited unexpectedly." msgstr "設定用のワーカープロセスが予期せず終了しました。" -#: userland/apps/reliefsettings/window.cpp:93 +#: userland/apps/reliefsettings/window.cpp:94 msgid "Time zone changes apply system-wide. Administrator authentication is requested when needed." msgstr "タイムゾーンの変更はシステム全体に適用されます。必要に応じて管理者認証を求めます。" -#: userland/apps/reliefsettings/window.cpp:558 -msgid "Time zone updated. Storage synchronization failed." -msgstr "タイムゾーンを更新しました。ストレージの同期に失敗しました。" - #: configs/nls/messages/reliefsettings.c:31 msgid "Unsupported language." msgstr "未対応の言語です。" -#: userland/apps/reliefsettings/window.cpp:77 +#: userland/apps/reliefsettings/window.cpp:78 msgid "User configuration directory" msgstr "ユーザー設定ディレクトリ" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "はい" -#: userland/apps/reliefsettings/window.cpp:80 +#: userland/apps/reliefsettings/window.cpp:81 msgid "Your choice applies to this account. Other users keep their own language settings." msgstr "この選択は現在のアカウントに適用されます。他のユーザーはそれぞれの言語設定を使用します。" diff --git a/configs/nls/po/reliefsettings/reliefsettings.pot b/configs/nls/po/reliefsettings/reliefsettings.pot index a516fa8a..62f722a1 100644 --- a/configs/nls/po/reliefsettings/reliefsettings.pot +++ b/configs/nls/po/reliefsettings/reliefsettings.pot @@ -2,47 +2,47 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "" -#: userland/apps/reliefsettings/window.cpp:103 +#: userland/apps/reliefsettings/window.cpp:104 msgid "After applying, choose Keep within 15 seconds. The previous mode is restored automatically if you do not confirm." msgstr "" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "" -#: userland/apps/reliefsettings/window.cpp:269 +#: userland/apps/reliefsettings/window.cpp:270 msgid "All users" msgstr "" -#: userland/apps/reliefsettings/window.cpp:70 +#: userland/apps/reliefsettings/window.cpp:71 msgid "Application language" msgstr "" -#: userland/apps/reliefsettings/window.cpp:656 +#: userland/apps/reliefsettings/window.cpp:647 msgid "Application started." msgstr "" -#: userland/apps/reliefsettings/window.cpp:268 +#: userland/apps/reliefsettings/window.cpp:269 msgid "Apply" msgstr "" -#: userland/apps/reliefsettings/window.cpp:116 +#: userland/apps/reliefsettings/window.cpp:117 msgid "Apply a layout, then type in the test field. Chinese text input is provided by your input method." msgstr "" -#: userland/apps/reliefsettings/window.cpp:493 +#: userland/apps/reliefsettings/window.cpp:487 msgid "Applying…" msgstr "" -#: userland/apps/reliefsettings/window.cpp:106 +#: userland/apps/reliefsettings/window.cpp:107 msgid "Available modes are reported by the X server and graphics driver. Confirmed settings are restored at your next sign-in." msgstr "" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "" @@ -54,11 +54,11 @@ msgstr "" msgid "Cannot read the current keyboard layout." msgstr "" -#: userland/apps/reliefsettings/window.cpp:656 +#: userland/apps/reliefsettings/window.cpp:647 msgid "Cannot start the application." msgstr "" -#: userland/apps/reliefsettings/window.cpp:493 +#: userland/apps/reliefsettings/window.cpp:487 msgid "Cannot start the settings worker." msgstr "" @@ -66,11 +66,11 @@ msgstr "" msgid "Cannot start xrandr." msgstr "" -#: userland/apps/reliefsettings/window.cpp:425 +#: userland/apps/reliefsettings/window.cpp:426 msgid "Choose a time zone." msgstr "" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "" @@ -78,19 +78,19 @@ msgstr "" msgid "Could not decode image" msgstr "" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "" -#: userland/apps/reliefsettings/window.cpp:100 +#: userland/apps/reliefsettings/window.cpp:101 msgid "Current mode" msgstr "" -#: userland/apps/reliefsettings/window.cpp:141 +#: userland/apps/reliefsettings/window.cpp:142 msgid "Current user" msgstr "" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "" @@ -114,27 +114,27 @@ msgstr "" msgid "Display information is too large." msgstr "" -#: userland/apps/reliefsettings/window.cpp:98 +#: userland/apps/reliefsettings/window.cpp:99 msgid "Display output" msgstr "" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "" -#: userland/apps/reliefsettings/window.cpp:86 +#: userland/apps/reliefsettings/window.cpp:87 msgid "Find a time zone" msgstr "" -#: userland/apps/reliefsettings/window.cpp:660 +#: userland/apps/reliefsettings/window.cpp:651 msgid "Finish or cancel administrator authentication before closing." msgstr "" @@ -146,8 +146,8 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/reliefsettings/window.cpp:133 -msgid "Inspect services, start or stop them and manage their startup runlevels." +#: userland/apps/reliefsettings/window.cpp:134 +msgid "Inspect services, start or stop them and manage whether they start at boot." msgstr "" #: configs/nls/messages/reliefsettings.c:10 @@ -174,11 +174,11 @@ msgstr "" msgid "Invalid time zone." msgstr "" -#: userland/apps/reliefsettings/window.cpp:506 +#: userland/apps/reliefsettings/window.cpp:500 msgid "Keep" msgstr "" -#: userland/apps/reliefsettings/window.cpp:498 +#: userland/apps/reliefsettings/window.cpp:492 msgid "Keep these display settings?" msgstr "" @@ -190,7 +190,7 @@ msgstr "" msgid "Keyboard information is too large." msgstr "" -#: userland/apps/reliefsettings/window.cpp:111 +#: userland/apps/reliefsettings/window.cpp:112 msgid "Keyboard layout" msgstr "" @@ -198,19 +198,19 @@ msgstr "" msgid "Language" msgstr "" -#: userland/apps/reliefsettings/window.cpp:590 +#: userland/apps/reliefsettings/window.cpp:581 msgid "Language saved. Sign out and sign in to use it." msgstr "" -#: userland/apps/reliefsettings/window.cpp:113 +#: userland/apps/reliefsettings/window.cpp:114 msgid "Layout variant" msgstr "" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "" -#: userland/apps/reliefsettings/window.cpp:126 +#: userland/apps/reliefsettings/window.cpp:127 msgid "Manage network adapters, automatic or static addressing, DNS and connection diagnostics." msgstr "" @@ -218,11 +218,11 @@ msgstr "" msgid "Network" msgstr "" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "" @@ -230,16 +230,16 @@ msgstr "" msgid "No XKB keyboard layouts are installed." msgstr "" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "" -#: userland/apps/reliefsettings/window.cpp:123 +#: userland/apps/reliefsettings/window.cpp:124 msgid "Open Network Controller" msgstr "" -#: userland/apps/reliefsettings/window.cpp:131 -msgid "Open OpenRC Controller" +#: userland/apps/reliefsettings/window.cpp:132 +msgid "Open Service Controller" msgstr "" #: configs/nls/messages/reliefsettings.c:21 @@ -250,39 +250,39 @@ msgstr "" msgid "Output is disabled" msgstr "" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "" -#: userland/apps/reliefsettings/window.cpp:588 +#: userland/apps/reliefsettings/window.cpp:579 msgid "Previous display mode restored." msgstr "" -#: userland/apps/reliefsettings/window.cpp:142 +#: userland/apps/reliefsettings/window.cpp:143 msgid "Reload" msgstr "" -#: userland/apps/reliefsettings/window.cpp:101 +#: userland/apps/reliefsettings/window.cpp:102 msgid "Resolution and refresh rate" msgstr "" -#: userland/apps/reliefsettings/window.cpp:503 +#: userland/apps/reliefsettings/window.cpp:497 msgid "Restore" msgstr "" -#: userland/apps/reliefsettings/window.cpp:525 +#: userland/apps/reliefsettings/window.cpp:519 msgid "Restoring the previous display mode…" msgstr "" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "" -#: userland/apps/reliefsettings/window.cpp:524 +#: userland/apps/reliefsettings/window.cpp:518 msgid "Saving display settings…" msgstr "" @@ -290,11 +290,11 @@ msgstr "" msgid "Services" msgstr "" -#: userland/apps/reliefsettings/window.cpp:591 +#: userland/apps/reliefsettings/window.cpp:582 msgid "Settings applied." msgstr "" -#: userland/apps/reliefsettings/window.cpp:585 +#: userland/apps/reliefsettings/window.cpp:576 msgid "Settings applied. Storage synchronization failed." msgstr "" @@ -302,39 +302,39 @@ msgstr "" msgid "Settings are being saved by another program. Try again." msgstr "" -#: userland/apps/reliefsettings/window.cpp:582 +#: userland/apps/reliefsettings/window.cpp:573 msgid "Settings could not be applied." msgstr "" -#: userland/apps/reliefsettings/window.cpp:198 +#: userland/apps/reliefsettings/window.cpp:199 msgid "Settings diagnostic" msgstr "" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "" -#: userland/apps/reliefsettings/window.cpp:71 +#: userland/apps/reliefsettings/window.cpp:72 msgid "System default" msgstr "" -#: userland/apps/reliefsettings/window.cpp:119 +#: userland/apps/reliefsettings/window.cpp:120 msgid "System default clears your saved override and takes effect at your next sign-in." msgstr "" -#: userland/apps/reliefsettings/window.cpp:84 +#: userland/apps/reliefsettings/window.cpp:85 msgid "System time zone" msgstr "" -#: userland/apps/reliefsettings/window.cpp:567 +#: userland/apps/reliefsettings/window.cpp:558 msgid "System time zone updated." msgstr "" -#: userland/apps/reliefsettings/window.cpp:114 +#: userland/apps/reliefsettings/window.cpp:115 msgid "Test your keyboard here" msgstr "" @@ -354,19 +354,19 @@ msgstr "" msgid "The display mode changed. Reload and try again." msgstr "" -#: userland/apps/reliefsettings/window.cpp:76 +#: userland/apps/reliefsettings/window.cpp:77 msgid "The language is used the next time you sign in. Save your work before signing out." msgstr "" -#: userland/apps/reliefsettings/window.cpp:564 +#: userland/apps/reliefsettings/window.cpp:555 msgid "The operation failed." msgstr "" -#: userland/apps/reliefsettings/window.cpp:605 +#: userland/apps/reliefsettings/window.cpp:596 msgid "The previous display mode will be restored in %d seconds." msgstr "" -#: userland/apps/reliefsettings/window.cpp:639 +#: userland/apps/reliefsettings/window.cpp:630 msgid "The requested application exited with an error." msgstr "" @@ -382,26 +382,22 @@ msgstr "" msgid "The settings worker exited unexpectedly." msgstr "" -#: userland/apps/reliefsettings/window.cpp:93 +#: userland/apps/reliefsettings/window.cpp:94 msgid "Time zone changes apply system-wide. Administrator authentication is requested when needed." msgstr "" -#: userland/apps/reliefsettings/window.cpp:558 -msgid "Time zone updated. Storage synchronization failed." -msgstr "" - #: configs/nls/messages/reliefsettings.c:31 msgid "Unsupported language." msgstr "" -#: userland/apps/reliefsettings/window.cpp:77 +#: userland/apps/reliefsettings/window.cpp:78 msgid "User configuration directory" msgstr "" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "" -#: userland/apps/reliefsettings/window.cpp:80 +#: userland/apps/reliefsettings/window.cpp:81 msgid "Your choice applies to this account. Other users keep their own language settings." msgstr "" diff --git a/configs/nls/po/reliefsettings/zh_CN.po b/configs/nls/po/reliefsettings/zh_CN.po index d3852dd7..cb55b85d 100644 --- a/configs/nls/po/reliefsettings/zh_CN.po +++ b/configs/nls/po/reliefsettings/zh_CN.po @@ -1,56 +1,66 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" "Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" -#: userland/apps/fltk_support.h:48 +#: userland/apps/fltk_support.h:29 msgid "Add to Favorites" msgstr "添加到收藏夹" -#: userland/apps/reliefsettings/window.cpp:103 -msgid "After applying, choose Keep within 15 seconds. The previous mode is restored automatically if you do not confirm." +#: userland/apps/reliefsettings/window.cpp:104 +msgid "" +"After applying, choose Keep within 15 seconds. The previous mode is restored automatically " +"if you do not confirm." msgstr "应用后,请在 15 秒内选择“保留”。未确认时会自动恢复原显示模式。" -#: userland/apps/fltk_support.h:49 +#: userland/apps/fltk_support.h:30 msgid "All Files (*)" msgstr "所有文件 (*)" -#: userland/apps/reliefsettings/window.cpp:269 +#: userland/apps/reliefsettings/window.cpp:270 msgid "All users" msgstr "所有用户" -#: userland/apps/reliefsettings/window.cpp:70 +#: userland/apps/reliefsettings/window.cpp:71 msgid "Application language" msgstr "应用程序语言" -#: userland/apps/reliefsettings/window.cpp:656 +#: userland/apps/reliefsettings/window.cpp:647 msgid "Application started." msgstr "已启动应用程序。" -#: userland/apps/reliefsettings/window.cpp:268 +#: userland/apps/reliefsettings/window.cpp:269 msgid "Apply" msgstr "应用" -#: userland/apps/reliefsettings/window.cpp:116 -msgid "Apply a layout, then type in the test field. Chinese text input is provided by your input method." +#: userland/apps/reliefsettings/window.cpp:117 +msgid "" +"Apply a layout, then type in the test field. Chinese text input is provided by your input " +"method." msgstr "应用布局后,可在上方输入框测试键盘。中文输入由输入法提供。" -#: userland/apps/reliefsettings/window.cpp:493 +#: userland/apps/reliefsettings/window.cpp:487 msgid "Applying…" msgstr "正在应用…" -#: userland/apps/reliefsettings/window.cpp:106 -msgid "Available modes are reported by the X server and graphics driver. Confirmed settings are restored at your next sign-in." +#: userland/apps/reliefsettings/window.cpp:107 +msgid "" +"Available modes are reported by the X server and graphics driver. Confirmed settings are " +"restored at your next sign-in." msgstr "可选模式由 X 服务器和显卡驱动提供。确认后的设置会在下次登录时恢复。" -#: userland/apps/fltk_support.h:44 +#: userland/apps/fltk_support.h:25 msgid "Cancel" msgstr "取消" @@ -62,11 +72,11 @@ msgstr "无法创建临时配置文件。" msgid "Cannot read the current keyboard layout." msgstr "无法读取当前键盘布局。" -#: userland/apps/reliefsettings/window.cpp:656 +#: userland/apps/reliefsettings/window.cpp:647 msgid "Cannot start the application." msgstr "无法启动应用程序。" -#: userland/apps/reliefsettings/window.cpp:493 +#: userland/apps/reliefsettings/window.cpp:487 msgid "Cannot start the settings worker." msgstr "无法启动设置工作进程。" @@ -74,11 +84,11 @@ msgstr "无法启动设置工作进程。" msgid "Cannot start xrandr." msgstr "无法启动 xrandr。" -#: userland/apps/reliefsettings/window.cpp:425 +#: userland/apps/reliefsettings/window.cpp:426 msgid "Choose a time zone." msgstr "请选择时区。" -#: userland/apps/fltk_support.h:45 +#: userland/apps/fltk_support.h:26 msgid "Close" msgstr "关闭" @@ -86,19 +96,19 @@ msgstr "关闭" msgid "Could not decode image" msgstr "无法解码图像" -#: userland/apps/fltk_support.h:57 +#: userland/apps/fltk_support.h:38 msgid "Create a new directory" msgstr "创建新目录" -#: userland/apps/reliefsettings/window.cpp:100 +#: userland/apps/reliefsettings/window.cpp:101 msgid "Current mode" msgstr "当前显示模式" -#: userland/apps/reliefsettings/window.cpp:141 +#: userland/apps/reliefsettings/window.cpp:142 msgid "Current user" msgstr "当前用户" -#: userland/apps/fltk_support.h:50 +#: userland/apps/fltk_support.h:31 msgid "Custom Filter" msgstr "自定义筛选器" @@ -122,27 +132,27 @@ msgstr "显示" msgid "Display information is too large." msgstr "显示器信息过多。" -#: userland/apps/reliefsettings/window.cpp:98 +#: userland/apps/reliefsettings/window.cpp:99 msgid "Display output" msgstr "显示器输出" -#: userland/apps/fltk_support.h:52 +#: userland/apps/fltk_support.h:33 msgid "Favorites" msgstr "收藏夹" -#: userland/apps/fltk_support.h:54 +#: userland/apps/fltk_support.h:35 msgid "File Systems" msgstr "文件系统" -#: userland/apps/fltk_support.h:53 +#: userland/apps/fltk_support.h:34 msgid "File name:" msgstr "文件名:" -#: userland/apps/reliefsettings/window.cpp:86 +#: userland/apps/reliefsettings/window.cpp:87 msgid "Find a time zone" msgstr "搜索时区" -#: userland/apps/reliefsettings/window.cpp:660 +#: userland/apps/reliefsettings/window.cpp:651 msgid "Finish or cancel administrator authentication before closing." msgstr "请完成或取消管理员验证后再关闭。" @@ -154,9 +164,9 @@ msgstr "HOME 必须为绝对路径。" msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/reliefsettings/window.cpp:133 -msgid "Inspect services, start or stop them and manage their startup runlevels." -msgstr "查看服务状态,启动或停止服务,管理启动运行级别。" +#: userland/apps/reliefsettings/window.cpp:134 +msgid "Inspect services, start or stop them and manage whether they start at boot." +msgstr "查看、启动或停止服务,并管理其开机启动状态。" #: configs/nls/messages/reliefsettings.c:10 msgid "Invalid configuration name or size." @@ -182,11 +192,11 @@ msgstr "配置文件无效或过大。" msgid "Invalid time zone." msgstr "时区无效。" -#: userland/apps/reliefsettings/window.cpp:506 +#: userland/apps/reliefsettings/window.cpp:500 msgid "Keep" msgstr "保留" -#: userland/apps/reliefsettings/window.cpp:498 +#: userland/apps/reliefsettings/window.cpp:492 msgid "Keep these display settings?" msgstr "保留这些显示设置?" @@ -198,7 +208,7 @@ msgstr "键盘" msgid "Keyboard information is too large." msgstr "键盘信息过多。" -#: userland/apps/reliefsettings/window.cpp:111 +#: userland/apps/reliefsettings/window.cpp:112 msgid "Keyboard layout" msgstr "键盘布局" @@ -206,19 +216,19 @@ msgstr "键盘布局" msgid "Language" msgstr "语言" -#: userland/apps/reliefsettings/window.cpp:590 +#: userland/apps/reliefsettings/window.cpp:581 msgid "Language saved. Sign out and sign in to use it." msgstr "语言已保存,重新登录后生效。" -#: userland/apps/reliefsettings/window.cpp:113 +#: userland/apps/reliefsettings/window.cpp:114 msgid "Layout variant" msgstr "布局变体" -#: userland/apps/fltk_support.h:55 +#: userland/apps/fltk_support.h:36 msgid "Manage Favorites" msgstr "管理收藏夹" -#: userland/apps/reliefsettings/window.cpp:126 +#: userland/apps/reliefsettings/window.cpp:127 msgid "Manage network adapters, automatic or static addressing, DNS and connection diagnostics." msgstr "管理网络适配器、自动或静态地址、DNS,并进行网络诊断。" @@ -226,11 +236,11 @@ msgstr "管理网络适配器、自动或静态地址、DNS,并进行网络诊 msgid "Network" msgstr "网络" -#: userland/apps/fltk_support.h:56 +#: userland/apps/fltk_support.h:37 msgid "New Directory?" msgstr "新建目录?" -#: userland/apps/fltk_support.h:47 +#: userland/apps/fltk_support.h:28 msgid "No" msgstr "否" @@ -238,17 +248,17 @@ msgstr "否" msgid "No XKB keyboard layouts are installed." msgstr "尚未安装 XKB 键盘布局。" -#: userland/apps/fltk_support.h:43 +#: userland/apps/fltk_support.h:24 msgid "OK" msgstr "确定" -#: userland/apps/reliefsettings/window.cpp:123 +#: userland/apps/reliefsettings/window.cpp:124 msgid "Open Network Controller" msgstr "打开网络控制器" -#: userland/apps/reliefsettings/window.cpp:131 -msgid "Open OpenRC Controller" -msgstr "打开 OpenRC 控制器" +#: userland/apps/reliefsettings/window.cpp:132 +msgid "Open Service Controller" +msgstr "打开服务控制器" #: configs/nls/messages/reliefsettings.c:21 msgid "Out of memory." @@ -258,39 +268,39 @@ msgstr "内存不足。" msgid "Output is disabled" msgstr "此输出尚未启用" -#: userland/apps/fltk_support.h:51 +#: userland/apps/fltk_support.h:32 msgid "Please choose an existing file!" msgstr "请选择已存在的文件!" -#: userland/apps/fltk_support.h:58 +#: userland/apps/fltk_support.h:39 msgid "Preview" msgstr "预览" -#: userland/apps/reliefsettings/window.cpp:588 +#: userland/apps/reliefsettings/window.cpp:579 msgid "Previous display mode restored." msgstr "已恢复原显示模式。" -#: userland/apps/reliefsettings/window.cpp:142 +#: userland/apps/reliefsettings/window.cpp:143 msgid "Reload" msgstr "重新加载" -#: userland/apps/reliefsettings/window.cpp:101 +#: userland/apps/reliefsettings/window.cpp:102 msgid "Resolution and refresh rate" msgstr "分辨率与刷新率" -#: userland/apps/reliefsettings/window.cpp:503 +#: userland/apps/reliefsettings/window.cpp:497 msgid "Restore" msgstr "恢复" -#: userland/apps/reliefsettings/window.cpp:525 +#: userland/apps/reliefsettings/window.cpp:519 msgid "Restoring the previous display mode…" msgstr "正在恢复原显示模式…" -#: userland/apps/fltk_support.h:59 +#: userland/apps/fltk_support.h:40 msgid "Save" msgstr "保存" -#: userland/apps/reliefsettings/window.cpp:524 +#: userland/apps/reliefsettings/window.cpp:518 msgid "Saving display settings…" msgstr "正在保存显示设置…" @@ -298,11 +308,11 @@ msgstr "正在保存显示设置…" msgid "Services" msgstr "服务" -#: userland/apps/reliefsettings/window.cpp:591 +#: userland/apps/reliefsettings/window.cpp:582 msgid "Settings applied." msgstr "设置已应用。" -#: userland/apps/reliefsettings/window.cpp:585 +#: userland/apps/reliefsettings/window.cpp:576 msgid "Settings applied. Storage synchronization failed." msgstr "设置已应用,但存储同步失败。" @@ -310,39 +320,39 @@ msgstr "设置已应用,但存储同步失败。" msgid "Settings are being saved by another program. Try again." msgstr "其他程序正在保存设置,请稍后重试。" -#: userland/apps/reliefsettings/window.cpp:582 +#: userland/apps/reliefsettings/window.cpp:573 msgid "Settings could not be applied." msgstr "无法应用设置。" -#: userland/apps/reliefsettings/window.cpp:198 +#: userland/apps/reliefsettings/window.cpp:199 msgid "Settings diagnostic" msgstr "设置诊断" -#: userland/apps/fltk_support.h:61 +#: userland/apps/fltk_support.h:42 msgid "Show hidden files" msgstr "显示隐藏文件" -#: userland/apps/fltk_support.h:60 +#: userland/apps/fltk_support.h:41 msgid "Show:" msgstr "显示:" -#: userland/apps/reliefsettings/window.cpp:71 +#: userland/apps/reliefsettings/window.cpp:72 msgid "System default" msgstr "系统默认" -#: userland/apps/reliefsettings/window.cpp:119 +#: userland/apps/reliefsettings/window.cpp:120 msgid "System default clears your saved override and takes effect at your next sign-in." msgstr "选择“系统默认”会清除已保存的个人键盘设置,在下次登录时生效。" -#: userland/apps/reliefsettings/window.cpp:84 +#: userland/apps/reliefsettings/window.cpp:85 msgid "System time zone" msgstr "系统时区" -#: userland/apps/reliefsettings/window.cpp:567 +#: userland/apps/reliefsettings/window.cpp:558 msgid "System time zone updated." msgstr "系统时区已更新。" -#: userland/apps/reliefsettings/window.cpp:114 +#: userland/apps/reliefsettings/window.cpp:115 msgid "Test your keyboard here" msgstr "在此测试键盘" @@ -362,19 +372,20 @@ msgstr "命令执行超时。" msgid "The display mode changed. Reload and try again." msgstr "显示模式已发生变化,请重新加载后再试。" -#: userland/apps/reliefsettings/window.cpp:76 +#: userland/apps/reliefsettings/window.cpp:77 msgid "The language is used the next time you sign in. Save your work before signing out." msgstr "语言设置将在下次登录时生效。注销前请先保存工作。" -#: userland/apps/reliefsettings/window.cpp:564 +#: userland/apps/reliefsettings/window.cpp:555 msgid "The operation failed." msgstr "操作失败。" -#: userland/apps/reliefsettings/window.cpp:605 +#: userland/apps/reliefsettings/window.cpp:596 +#, python-format msgid "The previous display mode will be restored in %d seconds." msgstr "将在 %d 秒后恢复原显示模式。" -#: userland/apps/reliefsettings/window.cpp:639 +#: userland/apps/reliefsettings/window.cpp:630 msgid "The requested application exited with an error." msgstr "应用程序异常退出。" @@ -390,26 +401,22 @@ msgstr "其他程序已修改设置,请重新加载后再试。" msgid "The settings worker exited unexpectedly." msgstr "设置工作进程异常退出。" -#: userland/apps/reliefsettings/window.cpp:93 +#: userland/apps/reliefsettings/window.cpp:94 msgid "Time zone changes apply system-wide. Administrator authentication is requested when needed." msgstr "时区设置对所有用户生效,修改时可能需要管理员验证。" -#: userland/apps/reliefsettings/window.cpp:558 -msgid "Time zone updated. Storage synchronization failed." -msgstr "时区已更新,但存储同步失败。" - #: configs/nls/messages/reliefsettings.c:31 msgid "Unsupported language." msgstr "不支持此语言。" -#: userland/apps/reliefsettings/window.cpp:77 +#: userland/apps/reliefsettings/window.cpp:78 msgid "User configuration directory" msgstr "用户配置目录" -#: userland/apps/fltk_support.h:46 +#: userland/apps/fltk_support.h:27 msgid "Yes" msgstr "是" -#: userland/apps/reliefsettings/window.cpp:80 +#: userland/apps/reliefsettings/window.cpp:81 msgid "Your choice applies to this account. Other users keep their own language settings." msgstr "此选择仅对当前账户生效。其他用户使用各自的语言设置。" diff --git a/configs/nls/po/rprfetch/ja_JP.po b/configs/nls/po/rprfetch/ja_JP.po deleted file mode 100644 index 13c5a9a7..00000000 --- a/configs/nls/po/rprfetch/ja_JP.po +++ /dev/null @@ -1,31 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/rprfetch/main.c:27 -msgid "Usage: %s HTTPS_URL OUTPUT [MAX_BYTES]\n" -msgstr "使用法: %s HTTPS_URL OUTPUT [MAX_BYTES]\n" - -#: userland/apps/rprfetch/main.c:54 -msgid "rprfetch: OUTPUT must be a file path\n" -msgstr "rprfetch: OUTPUT にはファイルパスを指定してください\n" - -#: userland/apps/rprfetch/main.c:69 -msgid "rprfetch: download failed (network status %u, HTTP %u)\n" -msgstr "rprfetch: ダウンロードに失敗しました (ネットワーク状態 %u、HTTP %u)\n" - -#: userland/apps/rprfetch/main.c:50 -msgid "rprfetch: refusing non-HTTPS URL\n" -msgstr "rprfetch: HTTPS 以外の URL は使用できません\n" - -#: userland/apps/rprfetch/main.c:75 -msgid "rprfetch: server returned HTTP %u\n" -msgstr "rprfetch: サーバーが HTTP %u を返しました\n" diff --git a/configs/nls/po/rprfetch/rprfetch.pot b/configs/nls/po/rprfetch/rprfetch.pot deleted file mode 100644 index e597316e..00000000 --- a/configs/nls/po/rprfetch/rprfetch.pot +++ /dev/null @@ -1,23 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/rprfetch/main.c:27 -msgid "Usage: %s HTTPS_URL OUTPUT [MAX_BYTES]\n" -msgstr "" - -#: userland/apps/rprfetch/main.c:54 -msgid "rprfetch: OUTPUT must be a file path\n" -msgstr "" - -#: userland/apps/rprfetch/main.c:69 -msgid "rprfetch: download failed (network status %u, HTTP %u)\n" -msgstr "" - -#: userland/apps/rprfetch/main.c:50 -msgid "rprfetch: refusing non-HTTPS URL\n" -msgstr "" - -#: userland/apps/rprfetch/main.c:75 -msgid "rprfetch: server returned HTTP %u\n" -msgstr "" diff --git a/configs/nls/po/rprfetch/zh_CN.po b/configs/nls/po/rprfetch/zh_CN.po deleted file mode 100644 index 2cd804b7..00000000 --- a/configs/nls/po/rprfetch/zh_CN.po +++ /dev/null @@ -1,31 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Chinese (Simplified)\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/rprfetch/main.c:27 -msgid "Usage: %s HTTPS_URL OUTPUT [MAX_BYTES]\n" -msgstr "用法: %s HTTPS_URL OUTPUT [MAX_BYTES]\n" - -#: userland/apps/rprfetch/main.c:54 -msgid "rprfetch: OUTPUT must be a file path\n" -msgstr "rprfetch: OUTPUT 必须是文件路径\n" - -#: userland/apps/rprfetch/main.c:69 -msgid "rprfetch: download failed (network status %u, HTTP %u)\n" -msgstr "rprfetch: 下载失败 (网络状态 %u,HTTP %u)\n" - -#: userland/apps/rprfetch/main.c:50 -msgid "rprfetch: refusing non-HTTPS URL\n" -msgstr "rprfetch: 拒绝非 HTTPS URL\n" - -#: userland/apps/rprfetch/main.c:75 -msgid "rprfetch: server returned HTTP %u\n" -msgstr "rprfetch: 服务器返回 HTTP %u\n" diff --git a/configs/nls/po/service-controller/ja_JP.po b/configs/nls/po/service-controller/ja_JP.po new file mode 100644 index 00000000..3a515e92 --- /dev/null +++ b/configs/nls/po/service-controller/ja_JP.po @@ -0,0 +1,171 @@ + +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS Service Controller\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" +"Last-Translator: Automatically generated\n" +"Language: ja\n" +"Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/fltk_support.h:29 +msgid "Add to Favorites" +msgstr "お気に入りに追加" + +#: userland/apps/fltk_support.h:30 +msgid "All Files (*)" +msgstr "すべてのファイル (*)" + +#: userland/apps/service-controller/main.cpp:190 +msgid "Apply this change to the selected system service?" +msgstr "この変更を選択したシステムサービスに適用しますか?" + +#: userland/apps/fltk_support.h:25 +msgid "Cancel" +msgstr "キャンセル" + +#: userland/apps/fltk_support.h:26 +msgid "Close" +msgstr "閉じる" + +#: userland/apps/service-controller/main.cpp:189 +msgid "Continue" +msgstr "続行" + +#: userland/apps/fltk_png_app.h:46 +msgid "Could not decode image" +msgstr "画像をデコードできません" + +#: userland/apps/service-controller/main.cpp:72 +msgid "Could not start the systemd command." +msgstr "systemd コマンドを起動できませんでした。" + +#: userland/apps/fltk_support.h:38 +msgid "Create a new directory" +msgstr "新しいフォルダーを作成" + +#: userland/apps/fltk_support.h:31 +msgid "Custom Filter" +msgstr "カスタムフィルター" + +#: userland/apps/service-controller/main.cpp:209 +msgid "Details" +msgstr "詳細" + +#: userland/apps/service-controller/main.cpp:215 +msgid "Disable" +msgstr "無効にする" + +#: userland/apps/service-controller/main.cpp:214 +msgid "Enable" +msgstr "有効にする" + +#: userland/apps/fltk_support.h:33 +msgid "Favorites" +msgstr "お気に入り" + +#: userland/apps/fltk_support.h:35 +msgid "File Systems" +msgstr "ファイルシステム" + +#: userland/apps/fltk_support.h:34 +msgid "File name:" +msgstr "ファイル名:" + +#: userland/apps/fltk_files.h:23 +msgid "Input is too long" +msgstr "入力が長すぎます" + +#: userland/apps/service-controller/main.cpp:210 +msgid "Journal" +msgstr "ジャーナル" + +#: userland/apps/fltk_support.h:36 +msgid "Manage Favorites" +msgstr "お気に入りの管理" + +#: userland/apps/fltk_support.h:37 +msgid "New Directory?" +msgstr "新しいフォルダーを作成しますか?" + +#: userland/apps/fltk_support.h:28 +msgid "No" +msgstr "いいえ" + +#: userland/apps/service-controller/main.cpp:92 +msgid "No services found." +msgstr "サービスが見つかりません。" + +#: userland/apps/fltk_support.h:24 +msgid "OK" +msgstr "OK" + +#: userland/apps/fltk_support.h:32 +msgid "Please choose an existing file!" +msgstr "既存のファイルを選択してください。" + +#: userland/apps/fltk_support.h:39 +msgid "Preview" +msgstr "プレビュー" + +#: userland/apps/service-controller/main.cpp:208 +msgid "Reload" +msgstr "再読み込み" + +#: userland/apps/service-controller/main.cpp:213 +msgid "Restart" +msgstr "再起動" + +#: userland/apps/fltk_support.h:40 +msgid "Save" +msgstr "保存" + +#: userland/apps/service-controller/main.cpp:206 +msgid "Service / startup state / active state" +msgstr "サービス / 自動起動の状態 / 実行状態" + +#: userland/apps/service-controller/main.cpp:138 +msgid "Service information loaded." +msgstr "サービス情報を読み込みました。" + +#: userland/apps/service-controller/main.cpp:123 +msgid "Service operation completed." +msgstr "サービスの操作が完了しました。" + +#: userland/apps/fltk_support.h:42 +msgid "Show hidden files" +msgstr "隠しファイルを表示" + +#: userland/apps/fltk_support.h:41 +msgid "Show:" +msgstr "表示:" + +#: userland/apps/service-controller/main.cpp:211 +msgid "Start" +msgstr "開始" + +#: userland/apps/service-controller/main.cpp:212 +msgid "Stop" +msgstr "停止" + +#: userland/apps/service-controller/main.cpp:92 +msgid "System services loaded." +msgstr "システムサービスを読み込みました。" + +#: userland/apps/service-controller/main.cpp:144 +msgid "The systemd command failed. See the output below." +msgstr "systemd コマンドが失敗しました。以下の出力を確認してください。" + +#: userland/apps/service-controller/main.cpp:76 +msgid "Working…" +msgstr "処理中…" + +#: userland/apps/fltk_support.h:27 +msgid "Yes" +msgstr "はい" diff --git a/configs/nls/po/service-controller/service-controller.pot b/configs/nls/po/service-controller/service-controller.pot new file mode 100644 index 00000000..9f11cfc4 --- /dev/null +++ b/configs/nls/po/service-controller/service-controller.pot @@ -0,0 +1,159 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + +#: userland/apps/fltk_support.h:29 +msgid "Add to Favorites" +msgstr "" + +#: userland/apps/fltk_support.h:30 +msgid "All Files (*)" +msgstr "" + +#: userland/apps/service-controller/main.cpp:190 +msgid "Apply this change to the selected system service?" +msgstr "" + +#: userland/apps/fltk_support.h:25 +msgid "Cancel" +msgstr "" + +#: userland/apps/fltk_support.h:26 +msgid "Close" +msgstr "" + +#: userland/apps/service-controller/main.cpp:189 +msgid "Continue" +msgstr "" + +#: userland/apps/fltk_png_app.h:46 +msgid "Could not decode image" +msgstr "" + +#: userland/apps/service-controller/main.cpp:72 +msgid "Could not start the systemd command." +msgstr "" + +#: userland/apps/fltk_support.h:38 +msgid "Create a new directory" +msgstr "" + +#: userland/apps/fltk_support.h:31 +msgid "Custom Filter" +msgstr "" + +#: userland/apps/service-controller/main.cpp:209 +msgid "Details" +msgstr "" + +#: userland/apps/service-controller/main.cpp:215 +msgid "Disable" +msgstr "" + +#: userland/apps/service-controller/main.cpp:214 +msgid "Enable" +msgstr "" + +#: userland/apps/fltk_support.h:33 +msgid "Favorites" +msgstr "" + +#: userland/apps/fltk_support.h:35 +msgid "File Systems" +msgstr "" + +#: userland/apps/fltk_support.h:34 +msgid "File name:" +msgstr "" + +#: userland/apps/fltk_files.h:23 +msgid "Input is too long" +msgstr "" + +#: userland/apps/service-controller/main.cpp:210 +msgid "Journal" +msgstr "" + +#: userland/apps/fltk_support.h:36 +msgid "Manage Favorites" +msgstr "" + +#: userland/apps/fltk_support.h:37 +msgid "New Directory?" +msgstr "" + +#: userland/apps/fltk_support.h:28 +msgid "No" +msgstr "" + +#: userland/apps/service-controller/main.cpp:92 +msgid "No services found." +msgstr "" + +#: userland/apps/fltk_support.h:24 +msgid "OK" +msgstr "" + +#: userland/apps/fltk_support.h:32 +msgid "Please choose an existing file!" +msgstr "" + +#: userland/apps/fltk_support.h:39 +msgid "Preview" +msgstr "" + +#: userland/apps/service-controller/main.cpp:208 +msgid "Reload" +msgstr "" + +#: userland/apps/service-controller/main.cpp:213 +msgid "Restart" +msgstr "" + +#: userland/apps/fltk_support.h:40 +msgid "Save" +msgstr "" + +#: userland/apps/service-controller/main.cpp:206 +msgid "Service / startup state / active state" +msgstr "" + +#: userland/apps/service-controller/main.cpp:138 +msgid "Service information loaded." +msgstr "" + +#: userland/apps/service-controller/main.cpp:123 +msgid "Service operation completed." +msgstr "" + +#: userland/apps/fltk_support.h:42 +msgid "Show hidden files" +msgstr "" + +#: userland/apps/fltk_support.h:41 +msgid "Show:" +msgstr "" + +#: userland/apps/service-controller/main.cpp:211 +msgid "Start" +msgstr "" + +#: userland/apps/service-controller/main.cpp:212 +msgid "Stop" +msgstr "" + +#: userland/apps/service-controller/main.cpp:92 +msgid "System services loaded." +msgstr "" + +#: userland/apps/service-controller/main.cpp:144 +msgid "The systemd command failed. See the output below." +msgstr "" + +#: userland/apps/service-controller/main.cpp:76 +msgid "Working…" +msgstr "" + +#: userland/apps/fltk_support.h:27 +msgid "Yes" +msgstr "" diff --git a/configs/nls/po/service-controller/zh_CN.po b/configs/nls/po/service-controller/zh_CN.po new file mode 100644 index 00000000..23b9afdd --- /dev/null +++ b/configs/nls/po/service-controller/zh_CN.po @@ -0,0 +1,171 @@ + +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS Service Controller\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" +"Last-Translator: Automatically generated\n" +"Language: zh_CN\n" +"Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/fltk_support.h:29 +msgid "Add to Favorites" +msgstr "添加到收藏夹" + +#: userland/apps/fltk_support.h:30 +msgid "All Files (*)" +msgstr "所有文件 (*)" + +#: userland/apps/service-controller/main.cpp:190 +msgid "Apply this change to the selected system service?" +msgstr "将此更改应用于所选系统服务?" + +#: userland/apps/fltk_support.h:25 +msgid "Cancel" +msgstr "取消" + +#: userland/apps/fltk_support.h:26 +msgid "Close" +msgstr "关闭" + +#: userland/apps/service-controller/main.cpp:189 +msgid "Continue" +msgstr "继续" + +#: userland/apps/fltk_png_app.h:46 +msgid "Could not decode image" +msgstr "无法解码图像" + +#: userland/apps/service-controller/main.cpp:72 +msgid "Could not start the systemd command." +msgstr "无法启动 systemd 命令。" + +#: userland/apps/fltk_support.h:38 +msgid "Create a new directory" +msgstr "创建新目录" + +#: userland/apps/fltk_support.h:31 +msgid "Custom Filter" +msgstr "自定义筛选器" + +#: userland/apps/service-controller/main.cpp:209 +msgid "Details" +msgstr "详细信息" + +#: userland/apps/service-controller/main.cpp:215 +msgid "Disable" +msgstr "禁用" + +#: userland/apps/service-controller/main.cpp:214 +msgid "Enable" +msgstr "启用" + +#: userland/apps/fltk_support.h:33 +msgid "Favorites" +msgstr "收藏夹" + +#: userland/apps/fltk_support.h:35 +msgid "File Systems" +msgstr "文件系统" + +#: userland/apps/fltk_support.h:34 +msgid "File name:" +msgstr "文件名:" + +#: userland/apps/fltk_files.h:23 +msgid "Input is too long" +msgstr "输入内容过长" + +#: userland/apps/service-controller/main.cpp:210 +msgid "Journal" +msgstr "日志" + +#: userland/apps/fltk_support.h:36 +msgid "Manage Favorites" +msgstr "管理收藏夹" + +#: userland/apps/fltk_support.h:37 +msgid "New Directory?" +msgstr "新建目录?" + +#: userland/apps/fltk_support.h:28 +msgid "No" +msgstr "否" + +#: userland/apps/service-controller/main.cpp:92 +msgid "No services found." +msgstr "未找到服务。" + +#: userland/apps/fltk_support.h:24 +msgid "OK" +msgstr "确定" + +#: userland/apps/fltk_support.h:32 +msgid "Please choose an existing file!" +msgstr "请选择已存在的文件!" + +#: userland/apps/fltk_support.h:39 +msgid "Preview" +msgstr "预览" + +#: userland/apps/service-controller/main.cpp:208 +msgid "Reload" +msgstr "重新加载" + +#: userland/apps/service-controller/main.cpp:213 +msgid "Restart" +msgstr "重启" + +#: userland/apps/fltk_support.h:40 +msgid "Save" +msgstr "保存" + +#: userland/apps/service-controller/main.cpp:206 +msgid "Service / startup state / active state" +msgstr "服务 / 启动状态 / 运行状态" + +#: userland/apps/service-controller/main.cpp:138 +msgid "Service information loaded." +msgstr "已加载服务信息。" + +#: userland/apps/service-controller/main.cpp:123 +msgid "Service operation completed." +msgstr "服务操作已完成。" + +#: userland/apps/fltk_support.h:42 +msgid "Show hidden files" +msgstr "显示隐藏文件" + +#: userland/apps/fltk_support.h:41 +msgid "Show:" +msgstr "显示:" + +#: userland/apps/service-controller/main.cpp:211 +msgid "Start" +msgstr "启动" + +#: userland/apps/service-controller/main.cpp:212 +msgid "Stop" +msgstr "停止" + +#: userland/apps/service-controller/main.cpp:92 +msgid "System services loaded." +msgstr "已加载系统服务。" + +#: userland/apps/service-controller/main.cpp:144 +msgid "The systemd command failed. See the output below." +msgstr "systemd 命令失败,请查看下方输出。" + +#: userland/apps/service-controller/main.cpp:76 +msgid "Working…" +msgstr "正在处理…" + +#: userland/apps/fltk_support.h:27 +msgid "Yes" +msgstr "是" diff --git a/configs/nls/po/shell/ja_JP.po b/configs/nls/po/shell/ja_JP.po deleted file mode 100644 index e05ce208..00000000 --- a/configs/nls/po/shell/ja_JP.po +++ /dev/null @@ -1,111 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/shell/main.c:150 -msgid "%s %s\n" -msgstr "%s %s\n" - -#: userland/apps/shell/main.c:216 -msgid "Built-ins: help clear pwd cd ls cat echo run exit" -msgstr "組み込みコマンド: help clear pwd cd ls cat echo run exit" - -#: configs/nls/messages/shell.c:3 -msgid "Command line is empty" -msgstr "コマンド行が空です" - -#: configs/nls/messages/shell.c:11 -msgid "Desktop is already running" -msgstr "デスクトップは既に実行中です" - -#: configs/nls/messages/shell.c:8 -msgid "Invalid shortcut" -msgstr "無効なショートカットです" - -#: configs/nls/messages/shell.c:12 -msgid "Launch failed" -msgstr "起動に失敗しました" - -#: configs/nls/messages/shell.c:5 -msgid "Missing closing quote" -msgstr "閉じ引用符がありません" - -#: configs/nls/messages/shell.c:7 -msgid "No file association for this item" -msgstr "この項目に関連付けられたファイルがありません" - -#: configs/nls/messages/shell.c:6 -msgid "Program or path not found" -msgstr "プログラムまたはパスが見つかりません" - -#: userland/apps/shell/main.c:260 -msgid "ReliefOS command shell 2" -msgstr "ReliefOS コマンドシェル 2" - -#: configs/nls/messages/shell.c:10 -msgid "Shortcut already exists" -msgstr "ショートカットは既に存在します" - -#: configs/nls/messages/shell.c:9 -msgid "Shortcut loop detected" -msgstr "ショートカットの循環を検出しました" - -#: configs/nls/messages/shell.c:4 -msgid "Too many arguments" -msgstr "引数が多すぎます" - -#: userland/apps/shell/main.c:261 -msgid "Type help to see available commands." -msgstr "使用可能なコマンドを表示するには help と入力してください。" - -#: userland/apps/shell/main.c:161 -msgid "cat: a file path is required" -msgstr "cat: ファイルパスが必要です" - -#: userland/apps/shell/main.c:166 -msgid "cat: cannot open %s (%d)\n" -msgstr "cat: %s を開けません (%d)\n" - -#: userland/apps/shell/main.c:173 -msgid "cat: read failed (%d)\n" -msgstr "cat: 読み取りに失敗しました (%d)\n" - -#: userland/apps/shell/main.c:227 -msgid "cd: %s (%d)\n" -msgstr "cd: %s (%d)\n" - -#: userland/apps/shell/main.c:242 -msgid "closing shell" -msgstr "シェルを終了します" - -#: userland/apps/shell/main.c:123 -msgid "ls: cannot open %s (%d)\n" -msgstr "ls: %s を開けません (%d)\n" - -#: userland/apps/shell/main.c:237 -msgid "run: an application path is required" -msgstr "run: アプリケーションのパスが必要です" - -#: userland/apps/shell/main.c:212 -msgid "shell: too many arguments" -msgstr "shell: 引数が多すぎます" - -#: userland/apps/shell/main.c:208 -msgid "shell: unmatched quote" -msgstr "shell: 対応しない引用符があります" - -#: userland/apps/shell/main.c:194 -msgid "started %s (pid %d)\n" -msgstr "%s を起動しました (pid %d)\n" - -#: userland/apps/shell/main.c:197 -msgid "unable to start %s: %s\n" -msgstr "%s を起動できません: %s\n" diff --git a/configs/nls/po/shell/shell.pot b/configs/nls/po/shell/shell.pot deleted file mode 100644 index eb6fb31a..00000000 --- a/configs/nls/po/shell/shell.pot +++ /dev/null @@ -1,103 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" - -#: userland/apps/shell/main.c:150 -msgid "%s %s\n" -msgstr "" - -#: userland/apps/shell/main.c:216 -msgid "Built-ins: help clear pwd cd ls cat echo run exit" -msgstr "" - -#: configs/nls/messages/shell.c:3 -msgid "Command line is empty" -msgstr "" - -#: configs/nls/messages/shell.c:11 -msgid "Desktop is already running" -msgstr "" - -#: configs/nls/messages/shell.c:8 -msgid "Invalid shortcut" -msgstr "" - -#: configs/nls/messages/shell.c:12 -msgid "Launch failed" -msgstr "" - -#: configs/nls/messages/shell.c:5 -msgid "Missing closing quote" -msgstr "" - -#: configs/nls/messages/shell.c:7 -msgid "No file association for this item" -msgstr "" - -#: configs/nls/messages/shell.c:6 -msgid "Program or path not found" -msgstr "" - -#: userland/apps/shell/main.c:260 -msgid "ReliefOS command shell 2" -msgstr "" - -#: configs/nls/messages/shell.c:10 -msgid "Shortcut already exists" -msgstr "" - -#: configs/nls/messages/shell.c:9 -msgid "Shortcut loop detected" -msgstr "" - -#: configs/nls/messages/shell.c:4 -msgid "Too many arguments" -msgstr "" - -#: userland/apps/shell/main.c:261 -msgid "Type help to see available commands." -msgstr "" - -#: userland/apps/shell/main.c:161 -msgid "cat: a file path is required" -msgstr "" - -#: userland/apps/shell/main.c:166 -msgid "cat: cannot open %s (%d)\n" -msgstr "" - -#: userland/apps/shell/main.c:173 -msgid "cat: read failed (%d)\n" -msgstr "" - -#: userland/apps/shell/main.c:227 -msgid "cd: %s (%d)\n" -msgstr "" - -#: userland/apps/shell/main.c:242 -msgid "closing shell" -msgstr "" - -#: userland/apps/shell/main.c:123 -msgid "ls: cannot open %s (%d)\n" -msgstr "" - -#: userland/apps/shell/main.c:237 -msgid "run: an application path is required" -msgstr "" - -#: userland/apps/shell/main.c:212 -msgid "shell: too many arguments" -msgstr "" - -#: userland/apps/shell/main.c:208 -msgid "shell: unmatched quote" -msgstr "" - -#: userland/apps/shell/main.c:194 -msgid "started %s (pid %d)\n" -msgstr "" - -#: userland/apps/shell/main.c:197 -msgid "unable to start %s: %s\n" -msgstr "" diff --git a/configs/nls/po/shell/zh_CN.po b/configs/nls/po/shell/zh_CN.po deleted file mode 100644 index f9a8748d..00000000 --- a/configs/nls/po/shell/zh_CN.po +++ /dev/null @@ -1,111 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: ReliefOS\n" -"PO-Revision-Date: 2026-11-13 00:00+0000\n" -"Last-Translator: ReliefOS NLS\n" -"Language-Team: Chinese (Simplified)\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: userland/apps/shell/main.c:150 -msgid "%s %s\n" -msgstr "%s %s\n" - -#: userland/apps/shell/main.c:216 -msgid "Built-ins: help clear pwd cd ls cat echo run exit" -msgstr "内置命令: help clear pwd cd ls cat echo run exit" - -#: configs/nls/messages/shell.c:3 -msgid "Command line is empty" -msgstr "命令行为空" - -#: configs/nls/messages/shell.c:11 -msgid "Desktop is already running" -msgstr "桌面已在运行" - -#: configs/nls/messages/shell.c:8 -msgid "Invalid shortcut" -msgstr "快捷方式无效" - -#: configs/nls/messages/shell.c:12 -msgid "Launch failed" -msgstr "启动失败" - -#: configs/nls/messages/shell.c:5 -msgid "Missing closing quote" -msgstr "缺少结束引号" - -#: configs/nls/messages/shell.c:7 -msgid "No file association for this item" -msgstr "此项目没有文件关联" - -#: configs/nls/messages/shell.c:6 -msgid "Program or path not found" -msgstr "找不到程序或路径" - -#: userland/apps/shell/main.c:260 -msgid "ReliefOS command shell 2" -msgstr "ReliefOS 命令 shell 2" - -#: configs/nls/messages/shell.c:10 -msgid "Shortcut already exists" -msgstr "快捷方式已存在" - -#: configs/nls/messages/shell.c:9 -msgid "Shortcut loop detected" -msgstr "检测到快捷方式循环" - -#: configs/nls/messages/shell.c:4 -msgid "Too many arguments" -msgstr "参数过多" - -#: userland/apps/shell/main.c:261 -msgid "Type help to see available commands." -msgstr "输入 help 查看可用命令。" - -#: userland/apps/shell/main.c:161 -msgid "cat: a file path is required" -msgstr "cat: 需要文件路径" - -#: userland/apps/shell/main.c:166 -msgid "cat: cannot open %s (%d)\n" -msgstr "cat: 无法打开 %s (%d)\n" - -#: userland/apps/shell/main.c:173 -msgid "cat: read failed (%d)\n" -msgstr "cat: 读取失败 (%d)\n" - -#: userland/apps/shell/main.c:227 -msgid "cd: %s (%d)\n" -msgstr "cd: %s (%d)\n" - -#: userland/apps/shell/main.c:242 -msgid "closing shell" -msgstr "正在关闭 shell" - -#: userland/apps/shell/main.c:123 -msgid "ls: cannot open %s (%d)\n" -msgstr "ls: 无法打开 %s (%d)\n" - -#: userland/apps/shell/main.c:237 -msgid "run: an application path is required" -msgstr "run: 需要应用程序路径" - -#: userland/apps/shell/main.c:212 -msgid "shell: too many arguments" -msgstr "shell: 参数过多" - -#: userland/apps/shell/main.c:208 -msgid "shell: unmatched quote" -msgstr "shell: 引号未闭合" - -#: userland/apps/shell/main.c:194 -msgid "started %s (pid %d)\n" -msgstr "已启动 %s (pid %d)\n" - -#: userland/apps/shell/main.c:197 -msgid "unable to start %s: %s\n" -msgstr "无法启动 %s: %s\n" diff --git a/configs/nls/po/smptest/ja_JP.po b/configs/nls/po/smptest/ja_JP.po new file mode 100644 index 00000000..bdc63c4b --- /dev/null +++ b/configs/nls/po/smptest/ja_JP.po @@ -0,0 +1,75 @@ +# Japanese (Japan) translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 00:00+0000\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" +"Last-Translator: ReliefOS NLS\n" +"Language: ja_JP\n" +"Language-Team: ja_JP\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/smptest/main.c:78 +msgid "Usage: smptest [workers [rounds]]\n" +msgstr "使用法: smptest [ワーカー数 [回数]]\n" + +#: userland/apps/smptest/main.c:90 +#, python-format +msgid "Usage: smptest [workers [rounds]] (workers <= %u, rounds <= %llu)\n" +msgstr "使用法: smptest [ワーカー数 [回数]](ワーカー数 <= %u、回数 <= %llu)\n" + +#: userland/apps/smptest/main.c:119 +#, python-format +msgid "smptest: FAIL (%u workers, %u failures)\n" +msgstr "smptest: 失敗(ワーカー %u、失敗 %u)\n" + +#: userland/apps/smptest/main.c:122 +#, python-format +msgid "smptest: PASS (%u workers, %u available CPUs)\n" +msgstr "smptest: 成功(ワーカー %u、利用可能 CPU %u)\n" + +#: userland/apps/smptest/main.c:38 +msgid "smptest: affinity" +msgstr "smptest: CPU 親和性" + +#: userland/apps/smptest/main.c:100 +msgid "smptest: fork" +msgstr "smptest: プロセスの作成" + +#: userland/apps/smptest/main.c:77 +msgid "smptest: get affinity" +msgstr "smptest: CPU 親和性の取得" + +#: userland/apps/smptest/main.c:84 +msgid "smptest: no available CPUs\n" +msgstr "smptest: 使用できる CPU がありません\n" + +#: userland/apps/smptest/main.c:94 +#, python-format +msgid "smptest: starting %llu workers on %u available CPUs, rounds=%llu\n" +msgstr "smptest: ワーカー %llu を開始、利用可能 CPU %u、回数=%llu\n" + +#: userland/apps/smptest/main.c:42 +#, python-format +msgid "smptest: worker %u affinity mismatch\n" +msgstr "smptest: ワーカー %u の親和性が一致しません\n" + +#: userland/apps/smptest/main.c:52 +#, python-format +msgid "smptest: worker %u expected CPU %d, observed %d\n" +msgstr "smptest: ワーカー %u の CPU は %d の予定でしたが %d でした\n" + +#: userland/apps/smptest/main.c:59 +#, python-format +msgid "smptest: worker=%u pid=%ld cpu=%d checksum=%016llx\n" +msgstr "smptest: ワーカー=%u pid=%ld cpu=%d チェックサム=%016llx\n" diff --git a/configs/nls/po/smptest/smptest.pot b/configs/nls/po/smptest/smptest.pot new file mode 100644 index 00000000..e8fb482b --- /dev/null +++ b/configs/nls/po/smptest/smptest.pot @@ -0,0 +1,51 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" + +#: userland/apps/smptest/main.c:90 +msgid "Usage: smptest [workers [rounds]] (workers <= %u, rounds <= %llu)\n" +msgstr "" + +#: userland/apps/smptest/main.c:78 +msgid "Usage: smptest [workers [rounds]]\n" +msgstr "" + +#: userland/apps/smptest/main.c:119 +msgid "smptest: FAIL (%u workers, %u failures)\n" +msgstr "" + +#: userland/apps/smptest/main.c:122 +msgid "smptest: PASS (%u workers, %u available CPUs)\n" +msgstr "" + +#: userland/apps/smptest/main.c:38 +msgid "smptest: affinity" +msgstr "" + +#: userland/apps/smptest/main.c:100 +msgid "smptest: fork" +msgstr "" + +#: userland/apps/smptest/main.c:77 +msgid "smptest: get affinity" +msgstr "" + +#: userland/apps/smptest/main.c:84 +msgid "smptest: no available CPUs\n" +msgstr "" + +#: userland/apps/smptest/main.c:94 +msgid "smptest: starting %llu workers on %u available CPUs, rounds=%llu\n" +msgstr "" + +#: userland/apps/smptest/main.c:42 +msgid "smptest: worker %u affinity mismatch\n" +msgstr "" + +#: userland/apps/smptest/main.c:52 +msgid "smptest: worker %u expected CPU %d, observed %d\n" +msgstr "" + +#: userland/apps/smptest/main.c:59 +msgid "smptest: worker=%u pid=%ld cpu=%d checksum=%016llx\n" +msgstr "" diff --git a/configs/nls/po/smptest/zh_CN.po b/configs/nls/po/smptest/zh_CN.po new file mode 100644 index 00000000..f7fbcfca --- /dev/null +++ b/configs/nls/po/smptest/zh_CN.po @@ -0,0 +1,75 @@ +# Chinese (Simplified, China) translations for ReliefOS. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the ReliefOS project. +# FIRST AUTHOR , 2026. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-02 00:00+0000\n" +"PO-Revision-Date: 2026-12-02 00:00+0000\n" +"Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" +"Language-Team: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/smptest/main.c:78 +msgid "Usage: smptest [workers [rounds]]\n" +msgstr "用法:smptest [工作进程数 [轮数]]\n" + +#: userland/apps/smptest/main.c:90 +#, python-format +msgid "Usage: smptest [workers [rounds]] (workers <= %u, rounds <= %llu)\n" +msgstr "用法:smptest [工作进程数 [轮数]](工作进程数 <= %u,轮数 <= %llu)\n" + +#: userland/apps/smptest/main.c:119 +#, python-format +msgid "smptest: FAIL (%u workers, %u failures)\n" +msgstr "smptest:失败(%u 个工作进程,%u 个失败)\n" + +#: userland/apps/smptest/main.c:122 +#, python-format +msgid "smptest: PASS (%u workers, %u available CPUs)\n" +msgstr "smptest:通过(%u 个工作进程,%u 个可用 CPU)\n" + +#: userland/apps/smptest/main.c:38 +msgid "smptest: affinity" +msgstr "smptest:CPU 亲和性" + +#: userland/apps/smptest/main.c:100 +msgid "smptest: fork" +msgstr "smptest:创建进程" + +#: userland/apps/smptest/main.c:77 +msgid "smptest: get affinity" +msgstr "smptest:获取 CPU 亲和性" + +#: userland/apps/smptest/main.c:84 +msgid "smptest: no available CPUs\n" +msgstr "smptest:没有可用的 CPU\n" + +#: userland/apps/smptest/main.c:94 +#, python-format +msgid "smptest: starting %llu workers on %u available CPUs, rounds=%llu\n" +msgstr "smptest:启动 %llu 个工作进程,可用 CPU 数为 %u,轮数=%llu\n" + +#: userland/apps/smptest/main.c:42 +#, python-format +msgid "smptest: worker %u affinity mismatch\n" +msgstr "smptest:工作进程 %u 的亲和性不匹配\n" + +#: userland/apps/smptest/main.c:52 +#, python-format +msgid "smptest: worker %u expected CPU %d, observed %d\n" +msgstr "smptest:工作进程 %u 预期 CPU %d,实际为 %d\n" + +#: userland/apps/smptest/main.c:59 +#, python-format +msgid "smptest: worker=%u pid=%ld cpu=%d checksum=%016llx\n" +msgstr "smptest:工作进程=%u pid=%ld cpu=%d 校验和=%016llx\n" diff --git a/configs/nls/po/taskmgr/ja_JP.po b/configs/nls/po/taskmgr/ja_JP.po index e8ced83f..3c9a1c52 100644 --- a/configs/nls/po/taskmgr/ja_JP.po +++ b/configs/nls/po/taskmgr/ja_JP.po @@ -1,16 +1,24 @@ + msgid "" msgstr "" -"Project-Id-Version: ReliefOS\n" +"Project-Id-Version: ReliefOS\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-11-13 00:00+0000\n" "Last-Translator: ReliefOS NLS\n" -"Language-Team: Japanese\n" "Language: ja_JP\n" +"Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/taskmgr/main.cpp:593 +msgid "A stable handle for this process is unavailable." +msgstr "このプロセスの安定したハンドルを取得できません。" -#: userland/apps/taskmgr/main.cpp:816 +#: userland/apps/taskmgr/main.cpp:859 msgid "About" msgstr "バージョン情報" @@ -26,7 +34,7 @@ msgstr "お気に入りに追加" msgid "Add…" msgstr "追加…" -#: userland/apps/taskmgr/main.cpp:173 +#: userland/apps/taskmgr/main.cpp:196 msgid "Admin" msgstr "管理者" @@ -38,15 +46,15 @@ msgstr "すべてのファイル (*)" msgid "Browse…" msgstr "参照…" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "CPU" msgstr "CPU" -#: userland/apps/taskmgr/main.cpp:412 +#: userland/apps/taskmgr/main.cpp:442 msgid "CPU Usage" msgstr "CPU 使用率" -#: userland/apps/taskmgr/main.cpp:607 +#: userland/apps/taskmgr/main.cpp:650 msgid "CPU time:" msgstr "CPU 時間:" @@ -62,7 +70,7 @@ msgstr "自動起動のファイル名を割り当てられません。" msgid "Cannot create the personal autostart directory." msgstr "個人用の自動起動フォルダーを作成できません。" -#: userland/apps/taskmgr/main.cpp:562 +#: userland/apps/taskmgr/main.cpp:588 msgid "Cannot end protected or non-user task" msgstr "保護されたタスク、またはユーザー以外のタスクは終了できません" @@ -146,7 +154,7 @@ msgstr "説明" msgid "Desktop Entry Exec syntax. Quote paths with spaces using double quotes." msgstr "Desktop Entry の Exec 構文を使用します。空白を含むパスは二重引用符で囲んでください。" -#: userland/apps/taskmgr/main.cpp:815 +#: userland/apps/taskmgr/main.cpp:858 msgid "Details" msgstr "詳細" @@ -159,7 +167,9 @@ msgid "Disabled" msgstr "無効" #: userland/apps/taskmgr/startup_page.cpp:348 -msgid "Double-click or press Enter to edit. Delete removes personal entries or restores a system default." +msgid "" +"Double-click or press Enter to edit. Delete removes personal entries or restores a system " +"default." msgstr "ダブルクリックまたは Enter で編集します。Delete で個人項目の削除、またはシステム既定への復元を行います。" #: userland/apps/taskmgr/startup_page.cpp:93 @@ -170,7 +180,7 @@ msgstr "自動起動アプリを編集" msgid "Edit…" msgstr "編集…" -#: userland/apps/taskmgr/main.cpp:172 +#: userland/apps/taskmgr/main.cpp:195 msgid "Elevated" msgstr "管理者権限" @@ -182,19 +192,20 @@ msgstr "有効にする" msgid "Enabled" msgstr "有効" -#: userland/apps/taskmgr/main.cpp:568 +#: userland/apps/taskmgr/main.cpp:607 msgid "End Task" msgstr "タスクの終了" -#: userland/apps/taskmgr/main.cpp:572 +#: userland/apps/taskmgr/main.cpp:601 msgid "End Task failed" msgstr "タスクの終了に失敗しました" -#: userland/apps/taskmgr/main.cpp:567 +#: userland/apps/taskmgr/main.cpp:606 +#, python-format msgid "End task %s (PID %u)?" msgstr "タスク %s (PID %u) を終了しますか?" -#: userland/apps/taskmgr/main.cpp:837 +#: userland/apps/taskmgr/main.cpp:880 msgid "End the selected task after confirmation." msgstr "確認後に選択したタスクを終了します。" @@ -214,7 +225,7 @@ msgstr "有効な UTF-8 の名前を入力してください。" msgid "Favorites" msgstr "お気に入り" -#: userland/apps/taskmgr/main.cpp:813 +#: userland/apps/taskmgr/main.cpp:856 msgid "File" msgstr "ファイル" @@ -226,15 +237,15 @@ msgstr "ファイルシステム" msgid "File name:" msgstr "ファイル名:" -#: userland/apps/taskmgr/main.cpp:473 +#: userland/apps/taskmgr/main.cpp:499 msgid "Free memory:" msgstr "空きメモリ:" -#: userland/apps/taskmgr/main.cpp:426 +#: userland/apps/taskmgr/main.cpp:453 msgid "GPU (est.)" msgstr "GPU (推定)" -#: userland/apps/taskmgr/main.cpp:426 +#: userland/apps/taskmgr/main.cpp:453 msgid "GPU (estimated)" msgstr "GPU (推定)" @@ -242,7 +253,7 @@ msgstr "GPU (推定)" msgid "Input is too long" msgstr "入力が長すぎます" -#: userland/apps/taskmgr/main.cpp:827 +#: userland/apps/taskmgr/main.cpp:870 msgid "Inspect running tasks and open details or end a task." msgstr "実行中のタスクの確認、詳細の表示、タスクの終了ができます。" @@ -254,15 +265,15 @@ msgstr "無効な項目" msgid "Invalid startup filename." msgstr "自動起動のファイル名が無効です。" -#: userland/apps/taskmgr/main.cpp:604 +#: userland/apps/taskmgr/main.cpp:647 msgid "Kind:" msgstr "種類:" -#: userland/apps/taskmgr/main.cpp:853 +#: userland/apps/taskmgr/main.cpp:909 msgid "Live CPU and memory history with per-core usage." msgstr "CPU とメモリの使用履歴、およびコア別の使用率をリアルタイムで表示します。" -#: userland/apps/taskmgr/main.cpp:618 +#: userland/apps/taskmgr/main.cpp:661 msgid "Live task and performance snapshot from the system." msgstr "システムのタスクとパフォーマンスの現在の状態。" @@ -270,15 +281,15 @@ msgstr "システムのタスクとパフォーマンスの現在の状態。" msgid "Manage Favorites" msgstr "お気に入りの管理" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Memory" msgstr "メモリ" -#: userland/apps/taskmgr/main.cpp:419 +#: userland/apps/taskmgr/main.cpp:449 msgid "Memory Usage" msgstr "メモリ使用率" -#: userland/apps/taskmgr/main.cpp:608 +#: userland/apps/taskmgr/main.cpp:651 msgid "Memory:" msgstr "メモリ:" @@ -290,7 +301,7 @@ msgstr "複数引数のフィールドコードは独立した引数にしてく msgid "Name" msgstr "名前" -#: userland/apps/taskmgr/main.cpp:600 +#: userland/apps/taskmgr/main.cpp:643 msgid "Name:" msgstr "名前:" @@ -306,7 +317,7 @@ msgstr "いいえ" msgid "No startup applications. Use Add to start a program at login." msgstr "自動起動の項目はありません。「追加」でログイン時に起動するアプリを設定できます。" -#: userland/apps/taskmgr/main.cpp:558 +#: userland/apps/taskmgr/main.cpp:584 msgid "No task selected" msgstr "タスクが選択されていません" @@ -330,7 +341,7 @@ msgstr "他のユーザーの自動起動項目を管理できるのは root の msgid "Optional TryExec. Start only when this executable is available." msgstr "省略可能な TryExec です。指定した実行ファイルが使用できる場合のみ起動します。" -#: userland/apps/taskmgr/main.cpp:817 +#: userland/apps/taskmgr/main.cpp:860 msgid "Options" msgstr "オプション" @@ -338,23 +349,23 @@ msgstr "オプション" msgid "Other desktop" msgstr "他のデスクトップ用" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "PID" msgstr "PID" -#: userland/apps/taskmgr/main.cpp:602 +#: userland/apps/taskmgr/main.cpp:645 msgid "Parent PID:" msgstr "親 PID:" -#: userland/apps/taskmgr/main.cpp:435 +#: userland/apps/taskmgr/main.cpp:461 msgid "Per-core usage" msgstr "コア別使用率" -#: userland/apps/taskmgr/main.cpp:818 +#: userland/apps/taskmgr/main.cpp:861 msgid "Performance" msgstr "パフォーマンス" -#: userland/apps/taskmgr/main.cpp:290 +#: userland/apps/taskmgr/main.cpp:321 msgid "Performance data unavailable" msgstr "パフォーマンスデータを利用できません" @@ -374,19 +385,19 @@ msgstr "既存のファイルを選択してください。" msgid "Preview" msgstr "プレビュー" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Privileges" msgstr "権限" -#: userland/apps/taskmgr/main.cpp:606 +#: userland/apps/taskmgr/main.cpp:649 msgid "Privileges:" msgstr "権限:" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Process" msgstr "プロセス" -#: userland/apps/taskmgr/main.cpp:817 +#: userland/apps/taskmgr/main.cpp:860 msgid "Processes" msgstr "プロセス" @@ -402,19 +413,19 @@ msgstr "特殊文字は二重引用符で囲んでください。" msgid "Reading startup settings…" msgstr "自動起動の設定を読み込み中…" -#: userland/apps/taskmgr/main.cpp:822 +#: userland/apps/taskmgr/main.cpp:865 msgid "Ready" msgstr "準備完了" -#: userland/apps/taskmgr/main.cpp:484 +#: userland/apps/taskmgr/main.cpp:510 msgid "Ready " msgstr "準備完了 " -#: userland/apps/taskmgr/main.cpp:813 +#: userland/apps/taskmgr/main.cpp:856 msgid "Refresh" msgstr "更新" -#: userland/apps/taskmgr/main.cpp:831 +#: userland/apps/taskmgr/main.cpp:874 msgid "Refresh task and performance data now." msgstr "タスクとパフォーマンスのデータを今すぐ更新します。" @@ -442,7 +453,7 @@ msgstr "既定に戻す" msgid "Run in terminal" msgstr "端末で実行" -#: userland/apps/taskmgr/main.cpp:483 +#: userland/apps/taskmgr/main.cpp:509 msgid "Running " msgstr "実行中 " @@ -450,15 +461,15 @@ msgstr "実行中 " msgid "Save" msgstr "保存" -#: userland/apps/taskmgr/main.cpp:863 +#: userland/apps/taskmgr/main.cpp:906 msgid "Scroll to see per-core CPU usage and memory totals." msgstr "スクロールするとコア別の CPU 使用率とメモリの合計を確認できます。" -#: userland/apps/taskmgr/main.cpp:852 +#: userland/apps/taskmgr/main.cpp:895 msgid "Select a row; press Enter for details or Delete to end the task." msgstr "行を選択し、Enter で詳細を表示、Delete でタスクを終了します。" -#: userland/apps/taskmgr/main.cpp:834 +#: userland/apps/taskmgr/main.cpp:877 msgid "Show details for the selected task." msgstr "選択したタスクの詳細を表示します。" @@ -470,7 +481,7 @@ msgstr "隠しファイルを表示" msgid "Show:" msgstr "表示:" -#: userland/apps/taskmgr/main.cpp:485 +#: userland/apps/taskmgr/main.cpp:511 msgid "Sleeping " msgstr "スリープ中 " @@ -478,7 +489,7 @@ msgstr "スリープ中 " msgid "Source" msgstr "設定元" -#: userland/apps/taskmgr/main.cpp:174 +#: userland/apps/taskmgr/main.cpp:197 msgid "Standard" msgstr "標準" @@ -486,7 +497,7 @@ msgstr "標準" msgid "Start at login" msgstr "ログイン時に起動" -#: userland/apps/taskmgr/main.cpp:819 +#: userland/apps/taskmgr/main.cpp:862 msgid "Startup applications" msgstr "自動起動アプリケーション" @@ -506,11 +517,11 @@ msgstr "自動起動項目が通常のファイルではないか、1 MiB を超 msgid "Startup settings refreshed" msgstr "自動起動の設定を更新しました" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "State" msgstr "状態" -#: userland/apps/taskmgr/main.cpp:603 +#: userland/apps/taskmgr/main.cpp:646 msgid "State:" msgstr "状態:" @@ -518,7 +529,7 @@ msgstr "状態:" msgid "Status" msgstr "状態" -#: userland/apps/taskmgr/main.cpp:166 +#: userland/apps/taskmgr/main.cpp:189 msgid "System" msgstr "システム" @@ -526,28 +537,22 @@ msgstr "システム" msgid "System entries are changed through personal overrides. Changes apply at the next login." msgstr "システムの項目は個人設定で上書きします。変更は次回のログイン時に適用されます。" -#: userland/apps/taskmgr/main.cpp:611 +#: userland/apps/taskmgr/main.cpp:654 msgid "Task Details" msgstr "タスクの詳細" -#: userland/apps/taskmgr/main.cpp:617 +#: userland/apps/taskmgr/main.cpp:660 msgid "Task Manager" msgstr "タスクマネージャー" -#: userland/apps/taskmgr/main.cpp:575 -msgid "Termination signal sent." -msgstr "終了シグナルを送信しました。" - -msgid "A stable handle for this process is unavailable." -msgstr "このプロセスの安定したハンドルを取得できません。" - -msgid "The selected process has already exited." -msgstr "選択したプロセスは既に終了しています。" - -#: userland/apps/taskmgr/main.cpp:482 +#: userland/apps/taskmgr/main.cpp:508 msgid "Tasks " msgstr "タスク数 " +#: userland/apps/taskmgr/main.cpp:619 +msgid "Termination signal sent." +msgstr "終了シグナルを送信しました。" + #: configs/nls/messages/taskmgr.c:25 msgid "The account has no absolute home directory." msgstr "アカウントに絶対パスのホームディレクトリーが設定されていません。" @@ -568,6 +573,10 @@ msgstr "コマンドに未対応のフィールドコードが含まれていま msgid "The selected account has no home directory." msgstr "選択したアカウントにホームディレクトリーがありません。" +#: userland/apps/taskmgr/main.cpp:617 +msgid "The selected process has already exited." +msgstr "選択したプロセスは既に終了しています。" + #: configs/nls/messages/taskmgr.c:30 msgid "The startup entry cannot be parsed. Remove it and add a new entry." msgstr "自動起動項目を解析できません。削除してから追加し直してください。" @@ -580,7 +589,7 @@ msgstr "項目が変更されました。更新してからやり直してくだ msgid "Too many startup entries (maximum 2048)." msgstr "自動起動項目が多すぎます(上限 2048 件)。" -#: userland/apps/taskmgr/main.cpp:465 +#: userland/apps/taskmgr/main.cpp:491 msgid "Total memory:" msgstr "メモリ合計:" @@ -588,11 +597,11 @@ msgstr "メモリ合計:" msgid "TryExec must be an absolute path or a program name." msgstr "TryExec には絶対パスまたはプログラム名を指定してください。" -#: userland/apps/taskmgr/main.cpp:166 +#: userland/apps/taskmgr/main.cpp:189 msgid "Unknown" msgstr "不明" -#: userland/apps/taskmgr/main.cpp:477 +#: userland/apps/taskmgr/main.cpp:503 msgid "Uptime:" msgstr "稼働時間:" @@ -604,23 +613,23 @@ msgstr "システムの自動起動項目を無効にするには「無効にす msgid "Use only one file or URL field code." msgstr "ファイルまたは URL のフィールドコードは 1 つだけ使用してください。" -#: userland/apps/taskmgr/main.cpp:469 +#: userland/apps/taskmgr/main.cpp:495 msgid "Used memory:" msgstr "使用中のメモリ:" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "User" msgstr "ユーザー" -#: userland/apps/taskmgr/main.cpp:605 +#: userland/apps/taskmgr/main.cpp:648 msgid "User:" msgstr "ユーザー:" -#: userland/apps/taskmgr/main.cpp:845 +#: userland/apps/taskmgr/main.cpp:901 msgid "View live CPU and memory usage." msgstr "CPU とメモリの使用率をリアルタイムで表示します。" -#: userland/apps/taskmgr/main.cpp:609 +#: userland/apps/taskmgr/main.cpp:652 msgid "Wake tick:" msgstr "起床 tick:" @@ -632,51 +641,6 @@ msgstr "作業フォルダー" msgid "Yes" msgstr "はい" -#: userland/apps/taskmgr/main.cpp:595 +#: userland/apps/taskmgr/main.cpp:638 msgid "ticks" msgstr "tick" - -#~ msgid "The working directory must be an absolute path." -#~ msgstr "作業フォルダーは絶対パスで指定してください。" - -#~ msgid "Choose which user's startup entries to manage." -#~ msgstr "自動起動エントリーを管理するユーザーを選択してください。" - -#~ msgid "Could not change startup app" -#~ msgstr "自動起動アプリを変更できませんでした" - -#~ msgid "Could not remove startup app" -#~ msgstr "自動起動アプリを削除できませんでした" - -#~ msgid "Enable or disable the selected startup entry." -#~ msgstr "選択した自動起動エントリーを有効または無効にします。" - -#~ msgid "Manage startup entries for the selected user." -#~ msgstr "選択したユーザーの自動起動エントリーを管理します。" - -#~ msgid "No startup app selected" -#~ msgstr "自動起動アプリが選択されていません" - -#~ msgid "Remove Startup App" -#~ msgstr "自動起動アプリを削除" - -#~ msgid "Remove the selected startup app?" -#~ msgstr "選択した自動起動アプリを削除しますか?" - -#~ msgid "Remove the selected startup entry after confirmation." -#~ msgstr "確認後に選択した自動起動エントリーを削除します。" - -#~ msgid "Select a startup entry before using Enable, Disable, or Remove." -#~ msgstr "有効化、無効化、削除するには、先に自動起動エントリーを選択してください。" - -#~ msgid "Startup app disabled" -#~ msgstr "自動起動アプリを無効にしました" - -#~ msgid "Startup app enabled" -#~ msgstr "自動起動アプリを有効にしました" - -#~ msgid "Startup app removed" -#~ msgstr "自動起動アプリを削除しました" - -#~ msgid "Unavailable" -#~ msgstr "利用不可" diff --git a/configs/nls/po/taskmgr/taskmgr.pot b/configs/nls/po/taskmgr/taskmgr.pot index 3168bd03..76f476cb 100644 --- a/configs/nls/po/taskmgr/taskmgr.pot +++ b/configs/nls/po/taskmgr/taskmgr.pot @@ -2,7 +2,11 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -#: userland/apps/taskmgr/main.cpp:816 +#: userland/apps/taskmgr/main.cpp:593 +msgid "A stable handle for this process is unavailable." +msgstr "" + +#: userland/apps/taskmgr/main.cpp:859 msgid "About" msgstr "" @@ -18,7 +22,7 @@ msgstr "" msgid "Add…" msgstr "" -#: userland/apps/taskmgr/main.cpp:173 +#: userland/apps/taskmgr/main.cpp:196 msgid "Admin" msgstr "" @@ -30,15 +34,15 @@ msgstr "" msgid "Browse…" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "CPU" msgstr "" -#: userland/apps/taskmgr/main.cpp:412 +#: userland/apps/taskmgr/main.cpp:442 msgid "CPU Usage" msgstr "" -#: userland/apps/taskmgr/main.cpp:607 +#: userland/apps/taskmgr/main.cpp:650 msgid "CPU time:" msgstr "" @@ -54,7 +58,7 @@ msgstr "" msgid "Cannot create the personal autostart directory." msgstr "" -#: userland/apps/taskmgr/main.cpp:562 +#: userland/apps/taskmgr/main.cpp:588 msgid "Cannot end protected or non-user task" msgstr "" @@ -138,7 +142,7 @@ msgstr "" msgid "Desktop Entry Exec syntax. Quote paths with spaces using double quotes." msgstr "" -#: userland/apps/taskmgr/main.cpp:815 +#: userland/apps/taskmgr/main.cpp:858 msgid "Details" msgstr "" @@ -162,7 +166,7 @@ msgstr "" msgid "Edit…" msgstr "" -#: userland/apps/taskmgr/main.cpp:172 +#: userland/apps/taskmgr/main.cpp:195 msgid "Elevated" msgstr "" @@ -174,19 +178,19 @@ msgstr "" msgid "Enabled" msgstr "" -#: userland/apps/taskmgr/main.cpp:568 +#: userland/apps/taskmgr/main.cpp:607 msgid "End Task" msgstr "" -#: userland/apps/taskmgr/main.cpp:572 +#: userland/apps/taskmgr/main.cpp:601 msgid "End Task failed" msgstr "" -#: userland/apps/taskmgr/main.cpp:567 +#: userland/apps/taskmgr/main.cpp:606 msgid "End task %s (PID %u)?" msgstr "" -#: userland/apps/taskmgr/main.cpp:837 +#: userland/apps/taskmgr/main.cpp:880 msgid "End the selected task after confirmation." msgstr "" @@ -206,7 +210,7 @@ msgstr "" msgid "Favorites" msgstr "" -#: userland/apps/taskmgr/main.cpp:813 +#: userland/apps/taskmgr/main.cpp:856 msgid "File" msgstr "" @@ -218,15 +222,15 @@ msgstr "" msgid "File name:" msgstr "" -#: userland/apps/taskmgr/main.cpp:473 +#: userland/apps/taskmgr/main.cpp:499 msgid "Free memory:" msgstr "" -#: userland/apps/taskmgr/main.cpp:426 +#: userland/apps/taskmgr/main.cpp:453 msgid "GPU (est.)" msgstr "" -#: userland/apps/taskmgr/main.cpp:426 +#: userland/apps/taskmgr/main.cpp:453 msgid "GPU (estimated)" msgstr "" @@ -234,7 +238,7 @@ msgstr "" msgid "Input is too long" msgstr "" -#: userland/apps/taskmgr/main.cpp:827 +#: userland/apps/taskmgr/main.cpp:870 msgid "Inspect running tasks and open details or end a task." msgstr "" @@ -246,15 +250,15 @@ msgstr "" msgid "Invalid startup filename." msgstr "" -#: userland/apps/taskmgr/main.cpp:604 +#: userland/apps/taskmgr/main.cpp:647 msgid "Kind:" msgstr "" -#: userland/apps/taskmgr/main.cpp:853 +#: userland/apps/taskmgr/main.cpp:909 msgid "Live CPU and memory history with per-core usage." msgstr "" -#: userland/apps/taskmgr/main.cpp:618 +#: userland/apps/taskmgr/main.cpp:661 msgid "Live task and performance snapshot from the system." msgstr "" @@ -262,15 +266,15 @@ msgstr "" msgid "Manage Favorites" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Memory" msgstr "" -#: userland/apps/taskmgr/main.cpp:419 +#: userland/apps/taskmgr/main.cpp:449 msgid "Memory Usage" msgstr "" -#: userland/apps/taskmgr/main.cpp:608 +#: userland/apps/taskmgr/main.cpp:651 msgid "Memory:" msgstr "" @@ -282,7 +286,7 @@ msgstr "" msgid "Name" msgstr "" -#: userland/apps/taskmgr/main.cpp:600 +#: userland/apps/taskmgr/main.cpp:643 msgid "Name:" msgstr "" @@ -298,7 +302,7 @@ msgstr "" msgid "No startup applications. Use Add to start a program at login." msgstr "" -#: userland/apps/taskmgr/main.cpp:558 +#: userland/apps/taskmgr/main.cpp:584 msgid "No task selected" msgstr "" @@ -322,7 +326,7 @@ msgstr "" msgid "Optional TryExec. Start only when this executable is available." msgstr "" -#: userland/apps/taskmgr/main.cpp:817 +#: userland/apps/taskmgr/main.cpp:860 msgid "Options" msgstr "" @@ -330,23 +334,23 @@ msgstr "" msgid "Other desktop" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "PID" msgstr "" -#: userland/apps/taskmgr/main.cpp:602 +#: userland/apps/taskmgr/main.cpp:645 msgid "Parent PID:" msgstr "" -#: userland/apps/taskmgr/main.cpp:435 +#: userland/apps/taskmgr/main.cpp:461 msgid "Per-core usage" msgstr "" -#: userland/apps/taskmgr/main.cpp:818 +#: userland/apps/taskmgr/main.cpp:861 msgid "Performance" msgstr "" -#: userland/apps/taskmgr/main.cpp:290 +#: userland/apps/taskmgr/main.cpp:321 msgid "Performance data unavailable" msgstr "" @@ -366,19 +370,19 @@ msgstr "" msgid "Preview" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Privileges" msgstr "" -#: userland/apps/taskmgr/main.cpp:606 +#: userland/apps/taskmgr/main.cpp:649 msgid "Privileges:" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Process" msgstr "" -#: userland/apps/taskmgr/main.cpp:817 +#: userland/apps/taskmgr/main.cpp:860 msgid "Processes" msgstr "" @@ -394,19 +398,19 @@ msgstr "" msgid "Reading startup settings…" msgstr "" -#: userland/apps/taskmgr/main.cpp:822 +#: userland/apps/taskmgr/main.cpp:865 msgid "Ready" msgstr "" -#: userland/apps/taskmgr/main.cpp:484 +#: userland/apps/taskmgr/main.cpp:510 msgid "Ready " msgstr "" -#: userland/apps/taskmgr/main.cpp:813 +#: userland/apps/taskmgr/main.cpp:856 msgid "Refresh" msgstr "" -#: userland/apps/taskmgr/main.cpp:831 +#: userland/apps/taskmgr/main.cpp:874 msgid "Refresh task and performance data now." msgstr "" @@ -434,7 +438,7 @@ msgstr "" msgid "Run in terminal" msgstr "" -#: userland/apps/taskmgr/main.cpp:483 +#: userland/apps/taskmgr/main.cpp:509 msgid "Running " msgstr "" @@ -442,15 +446,15 @@ msgstr "" msgid "Save" msgstr "" -#: userland/apps/taskmgr/main.cpp:863 +#: userland/apps/taskmgr/main.cpp:906 msgid "Scroll to see per-core CPU usage and memory totals." msgstr "" -#: userland/apps/taskmgr/main.cpp:852 +#: userland/apps/taskmgr/main.cpp:895 msgid "Select a row; press Enter for details or Delete to end the task." msgstr "" -#: userland/apps/taskmgr/main.cpp:834 +#: userland/apps/taskmgr/main.cpp:877 msgid "Show details for the selected task." msgstr "" @@ -462,7 +466,7 @@ msgstr "" msgid "Show:" msgstr "" -#: userland/apps/taskmgr/main.cpp:485 +#: userland/apps/taskmgr/main.cpp:511 msgid "Sleeping " msgstr "" @@ -470,7 +474,7 @@ msgstr "" msgid "Source" msgstr "" -#: userland/apps/taskmgr/main.cpp:174 +#: userland/apps/taskmgr/main.cpp:197 msgid "Standard" msgstr "" @@ -478,7 +482,7 @@ msgstr "" msgid "Start at login" msgstr "" -#: userland/apps/taskmgr/main.cpp:819 +#: userland/apps/taskmgr/main.cpp:862 msgid "Startup applications" msgstr "" @@ -498,11 +502,11 @@ msgstr "" msgid "Startup settings refreshed" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "State" msgstr "" -#: userland/apps/taskmgr/main.cpp:603 +#: userland/apps/taskmgr/main.cpp:646 msgid "State:" msgstr "" @@ -510,7 +514,7 @@ msgstr "" msgid "Status" msgstr "" -#: userland/apps/taskmgr/main.cpp:166 +#: userland/apps/taskmgr/main.cpp:189 msgid "System" msgstr "" @@ -518,26 +522,20 @@ msgstr "" msgid "System entries are changed through personal overrides. Changes apply at the next login." msgstr "" -#: userland/apps/taskmgr/main.cpp:611 +#: userland/apps/taskmgr/main.cpp:654 msgid "Task Details" msgstr "" -#: userland/apps/taskmgr/main.cpp:617 +#: userland/apps/taskmgr/main.cpp:660 msgid "Task Manager" msgstr "" -#: userland/apps/taskmgr/main.cpp:575 -msgid "Termination signal sent." -msgstr "" - -msgid "A stable handle for this process is unavailable." -msgstr "" - -msgid "The selected process has already exited." +#: userland/apps/taskmgr/main.cpp:508 +msgid "Tasks " msgstr "" -#: userland/apps/taskmgr/main.cpp:482 -msgid "Tasks " +#: userland/apps/taskmgr/main.cpp:619 +msgid "Termination signal sent." msgstr "" #: configs/nls/messages/taskmgr.c:25 @@ -560,6 +558,10 @@ msgstr "" msgid "The selected account has no home directory." msgstr "" +#: userland/apps/taskmgr/main.cpp:617 +msgid "The selected process has already exited." +msgstr "" + #: configs/nls/messages/taskmgr.c:30 msgid "The startup entry cannot be parsed. Remove it and add a new entry." msgstr "" @@ -572,7 +574,7 @@ msgstr "" msgid "Too many startup entries (maximum 2048)." msgstr "" -#: userland/apps/taskmgr/main.cpp:465 +#: userland/apps/taskmgr/main.cpp:491 msgid "Total memory:" msgstr "" @@ -580,11 +582,11 @@ msgstr "" msgid "TryExec must be an absolute path or a program name." msgstr "" -#: userland/apps/taskmgr/main.cpp:166 +#: userland/apps/taskmgr/main.cpp:189 msgid "Unknown" msgstr "" -#: userland/apps/taskmgr/main.cpp:477 +#: userland/apps/taskmgr/main.cpp:503 msgid "Uptime:" msgstr "" @@ -596,23 +598,23 @@ msgstr "" msgid "Use only one file or URL field code." msgstr "" -#: userland/apps/taskmgr/main.cpp:469 +#: userland/apps/taskmgr/main.cpp:495 msgid "Used memory:" msgstr "" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "User" msgstr "" -#: userland/apps/taskmgr/main.cpp:605 +#: userland/apps/taskmgr/main.cpp:648 msgid "User:" msgstr "" -#: userland/apps/taskmgr/main.cpp:845 +#: userland/apps/taskmgr/main.cpp:901 msgid "View live CPU and memory usage." msgstr "" -#: userland/apps/taskmgr/main.cpp:609 +#: userland/apps/taskmgr/main.cpp:652 msgid "Wake tick:" msgstr "" @@ -624,6 +626,6 @@ msgstr "" msgid "Yes" msgstr "" -#: userland/apps/taskmgr/main.cpp:595 +#: userland/apps/taskmgr/main.cpp:638 msgid "ticks" msgstr "" diff --git a/configs/nls/po/taskmgr/zh_CN.po b/configs/nls/po/taskmgr/zh_CN.po index 321254aa..ec12cce7 100644 --- a/configs/nls/po/taskmgr/zh_CN.po +++ b/configs/nls/po/taskmgr/zh_CN.po @@ -1,16 +1,24 @@ + msgid "" msgstr "" "Project-Id-Version: ReliefOS 1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-12-01 23:45+0800\n" "PO-Revision-Date: 2026-09-21 00:00+0800\n" "Last-Translator: ReliefOS NLS\n" +"Language: zh_CN\n" "Language-Team: none\n" +"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Generated-By: Babel 2.18.0\n" + +#: userland/apps/taskmgr/main.cpp:593 +msgid "A stable handle for this process is unavailable." +msgstr "无法获取此进程的稳定句柄。" -#: userland/apps/taskmgr/main.cpp:816 +#: userland/apps/taskmgr/main.cpp:859 msgid "About" msgstr "关于" @@ -26,7 +34,7 @@ msgstr "添加到收藏夹" msgid "Add…" msgstr "添加…" -#: userland/apps/taskmgr/main.cpp:173 +#: userland/apps/taskmgr/main.cpp:196 msgid "Admin" msgstr "管理员" @@ -38,15 +46,15 @@ msgstr "所有文件 (*)" msgid "Browse…" msgstr "浏览…" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "CPU" msgstr "CPU" -#: userland/apps/taskmgr/main.cpp:412 +#: userland/apps/taskmgr/main.cpp:442 msgid "CPU Usage" msgstr "CPU 占用" -#: userland/apps/taskmgr/main.cpp:607 +#: userland/apps/taskmgr/main.cpp:650 msgid "CPU time:" msgstr "CPU 时间:" @@ -62,7 +70,7 @@ msgstr "无法分配启动配置文件名。" msgid "Cannot create the personal autostart directory." msgstr "无法创建个人自启动目录。" -#: userland/apps/taskmgr/main.cpp:562 +#: userland/apps/taskmgr/main.cpp:588 msgid "Cannot end protected or non-user task" msgstr "无法结束受保护或非用户任务" @@ -146,7 +154,7 @@ msgstr "描述" msgid "Desktop Entry Exec syntax. Quote paths with spaces using double quotes." msgstr "使用 Desktop Entry 的 Exec 语法。含空格的路径请加双引号。" -#: userland/apps/taskmgr/main.cpp:815 +#: userland/apps/taskmgr/main.cpp:858 msgid "Details" msgstr "详细信息" @@ -159,7 +167,9 @@ msgid "Disabled" msgstr "已禁用" #: userland/apps/taskmgr/startup_page.cpp:348 -msgid "Double-click or press Enter to edit. Delete removes personal entries or restores a system default." +msgid "" +"Double-click or press Enter to edit. Delete removes personal entries or restores a system " +"default." msgstr "双击或按 Enter 编辑。Delete 可删除个人项或恢复系统默认。" #: userland/apps/taskmgr/startup_page.cpp:93 @@ -170,7 +180,7 @@ msgstr "编辑启动程序" msgid "Edit…" msgstr "编辑…" -#: userland/apps/taskmgr/main.cpp:172 +#: userland/apps/taskmgr/main.cpp:195 msgid "Elevated" msgstr "已提升" @@ -182,19 +192,20 @@ msgstr "启用" msgid "Enabled" msgstr "已启用" -#: userland/apps/taskmgr/main.cpp:568 +#: userland/apps/taskmgr/main.cpp:607 msgid "End Task" msgstr "结束任务" -#: userland/apps/taskmgr/main.cpp:572 +#: userland/apps/taskmgr/main.cpp:601 msgid "End Task failed" msgstr "结束任务失败" -#: userland/apps/taskmgr/main.cpp:567 +#: userland/apps/taskmgr/main.cpp:606 +#, python-format msgid "End task %s (PID %u)?" msgstr "结束任务 %s(PID %u)?" -#: userland/apps/taskmgr/main.cpp:837 +#: userland/apps/taskmgr/main.cpp:880 msgid "End the selected task after confirmation." msgstr "确认后结束所选任务。" @@ -214,7 +225,7 @@ msgstr "请输入有效的 UTF-8 名称。" msgid "Favorites" msgstr "收藏夹" -#: userland/apps/taskmgr/main.cpp:813 +#: userland/apps/taskmgr/main.cpp:856 msgid "File" msgstr "文件" @@ -226,15 +237,15 @@ msgstr "文件系统" msgid "File name:" msgstr "文件名:" -#: userland/apps/taskmgr/main.cpp:473 +#: userland/apps/taskmgr/main.cpp:499 msgid "Free memory:" msgstr "可用内存:" -#: userland/apps/taskmgr/main.cpp:426 +#: userland/apps/taskmgr/main.cpp:453 msgid "GPU (est.)" msgstr "GPU (估算)" -#: userland/apps/taskmgr/main.cpp:426 +#: userland/apps/taskmgr/main.cpp:453 msgid "GPU (estimated)" msgstr "GPU (估算)" @@ -242,7 +253,7 @@ msgstr "GPU (估算)" msgid "Input is too long" msgstr "输入内容过长" -#: userland/apps/taskmgr/main.cpp:827 +#: userland/apps/taskmgr/main.cpp:870 msgid "Inspect running tasks and open details or end a task." msgstr "查看运行中的进程、详细信息或结束任务。" @@ -254,15 +265,15 @@ msgstr "配置无效" msgid "Invalid startup filename." msgstr "启动配置文件名无效。" -#: userland/apps/taskmgr/main.cpp:604 +#: userland/apps/taskmgr/main.cpp:647 msgid "Kind:" msgstr "类型:" -#: userland/apps/taskmgr/main.cpp:853 +#: userland/apps/taskmgr/main.cpp:909 msgid "Live CPU and memory history with per-core usage." msgstr "实时 CPU 和内存使用历史,以及各核心使用情况。" -#: userland/apps/taskmgr/main.cpp:618 +#: userland/apps/taskmgr/main.cpp:661 msgid "Live task and performance snapshot from the system." msgstr "实时显示系统任务与性能信息。" @@ -270,15 +281,15 @@ msgstr "实时显示系统任务与性能信息。" msgid "Manage Favorites" msgstr "管理收藏夹" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Memory" msgstr "内存" -#: userland/apps/taskmgr/main.cpp:419 +#: userland/apps/taskmgr/main.cpp:449 msgid "Memory Usage" msgstr "内存占用" -#: userland/apps/taskmgr/main.cpp:608 +#: userland/apps/taskmgr/main.cpp:651 msgid "Memory:" msgstr "内存:" @@ -290,7 +301,7 @@ msgstr "多参数字段代码必须单独作为一个参数。" msgid "Name" msgstr "名称" -#: userland/apps/taskmgr/main.cpp:600 +#: userland/apps/taskmgr/main.cpp:643 msgid "Name:" msgstr "名称:" @@ -306,7 +317,7 @@ msgstr "否" msgid "No startup applications. Use Add to start a program at login." msgstr "没有启动项。点击“添加”设置登录时运行的程序。" -#: userland/apps/taskmgr/main.cpp:558 +#: userland/apps/taskmgr/main.cpp:584 msgid "No task selected" msgstr "未选择任务" @@ -330,7 +341,7 @@ msgstr "只有 root 可以管理其他用户的启动项。" msgid "Optional TryExec. Start only when this executable is available." msgstr "可选的 TryExec,仅在指定可执行程序可用时启动。" -#: userland/apps/taskmgr/main.cpp:817 +#: userland/apps/taskmgr/main.cpp:860 msgid "Options" msgstr "选项" @@ -338,23 +349,23 @@ msgstr "选项" msgid "Other desktop" msgstr "其他桌面专用" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "PID" msgstr "PID" -#: userland/apps/taskmgr/main.cpp:602 +#: userland/apps/taskmgr/main.cpp:645 msgid "Parent PID:" msgstr "父 PID:" -#: userland/apps/taskmgr/main.cpp:435 +#: userland/apps/taskmgr/main.cpp:461 msgid "Per-core usage" msgstr "每核占用" -#: userland/apps/taskmgr/main.cpp:818 +#: userland/apps/taskmgr/main.cpp:861 msgid "Performance" msgstr "性能" -#: userland/apps/taskmgr/main.cpp:290 +#: userland/apps/taskmgr/main.cpp:321 msgid "Performance data unavailable" msgstr "性能数据不可用" @@ -374,19 +385,19 @@ msgstr "请选择已存在的文件!" msgid "Preview" msgstr "预览" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Privileges" msgstr "权限" -#: userland/apps/taskmgr/main.cpp:606 +#: userland/apps/taskmgr/main.cpp:649 msgid "Privileges:" msgstr "权限:" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "Process" msgstr "进程" -#: userland/apps/taskmgr/main.cpp:817 +#: userland/apps/taskmgr/main.cpp:860 msgid "Processes" msgstr "进程" @@ -402,19 +413,19 @@ msgstr "请用双引号括起特殊字符。" msgid "Reading startup settings…" msgstr "正在读取启动设置…" -#: userland/apps/taskmgr/main.cpp:822 +#: userland/apps/taskmgr/main.cpp:865 msgid "Ready" msgstr "就绪" -#: userland/apps/taskmgr/main.cpp:484 +#: userland/apps/taskmgr/main.cpp:510 msgid "Ready " msgstr "就绪 " -#: userland/apps/taskmgr/main.cpp:813 +#: userland/apps/taskmgr/main.cpp:856 msgid "Refresh" msgstr "刷新" -#: userland/apps/taskmgr/main.cpp:831 +#: userland/apps/taskmgr/main.cpp:874 msgid "Refresh task and performance data now." msgstr "立即刷新进程和性能数据。" @@ -442,7 +453,7 @@ msgstr "恢复默认" msgid "Run in terminal" msgstr "在终端中运行" -#: userland/apps/taskmgr/main.cpp:483 +#: userland/apps/taskmgr/main.cpp:509 msgid "Running " msgstr "运行 " @@ -450,15 +461,15 @@ msgstr "运行 " msgid "Save" msgstr "保存" -#: userland/apps/taskmgr/main.cpp:863 +#: userland/apps/taskmgr/main.cpp:906 msgid "Scroll to see per-core CPU usage and memory totals." msgstr "向下滚动可查看各核心使用率和内存统计。" -#: userland/apps/taskmgr/main.cpp:852 +#: userland/apps/taskmgr/main.cpp:895 msgid "Select a row; press Enter for details or Delete to end the task." msgstr "选择一行,按 Enter 查看详情,按 Delete 结束任务。" -#: userland/apps/taskmgr/main.cpp:834 +#: userland/apps/taskmgr/main.cpp:877 msgid "Show details for the selected task." msgstr "查看所选任务的详细信息。" @@ -470,7 +481,7 @@ msgstr "显示隐藏文件" msgid "Show:" msgstr "显示:" -#: userland/apps/taskmgr/main.cpp:485 +#: userland/apps/taskmgr/main.cpp:511 msgid "Sleeping " msgstr "休眠 " @@ -478,7 +489,7 @@ msgstr "休眠 " msgid "Source" msgstr "来源" -#: userland/apps/taskmgr/main.cpp:174 +#: userland/apps/taskmgr/main.cpp:197 msgid "Standard" msgstr "标准" @@ -486,7 +497,7 @@ msgstr "标准" msgid "Start at login" msgstr "登录时启动" -#: userland/apps/taskmgr/main.cpp:819 +#: userland/apps/taskmgr/main.cpp:862 msgid "Startup applications" msgstr "启动应用程序" @@ -506,11 +517,11 @@ msgstr "启动项不是普通文件或超过 1 MiB。" msgid "Startup settings refreshed" msgstr "启动设置已刷新" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "State" msgstr "状态" -#: userland/apps/taskmgr/main.cpp:603 +#: userland/apps/taskmgr/main.cpp:646 msgid "State:" msgstr "状态:" @@ -518,7 +529,7 @@ msgstr "状态:" msgid "Status" msgstr "状态" -#: userland/apps/taskmgr/main.cpp:166 +#: userland/apps/taskmgr/main.cpp:189 msgid "System" msgstr "系统" @@ -526,28 +537,22 @@ msgstr "系统" msgid "System entries are changed through personal overrides. Changes apply at the next login." msgstr "系统启动项通过个人配置覆盖。更改将在下次登录时生效。" -#: userland/apps/taskmgr/main.cpp:611 +#: userland/apps/taskmgr/main.cpp:654 msgid "Task Details" msgstr "任务详细信息" -#: userland/apps/taskmgr/main.cpp:617 +#: userland/apps/taskmgr/main.cpp:660 msgid "Task Manager" msgstr "任务管理器" -#: userland/apps/taskmgr/main.cpp:575 -msgid "Termination signal sent." -msgstr "已发送终止信号。" - -msgid "A stable handle for this process is unavailable." -msgstr "无法获取此进程的稳定句柄。" - -msgid "The selected process has already exited." -msgstr "选中的进程已退出。" - -#: userland/apps/taskmgr/main.cpp:482 +#: userland/apps/taskmgr/main.cpp:508 msgid "Tasks " msgstr "任务 " +#: userland/apps/taskmgr/main.cpp:619 +msgid "Termination signal sent." +msgstr "已发送终止信号。" + #: configs/nls/messages/taskmgr.c:25 msgid "The account has no absolute home directory." msgstr "账户未设置有效的绝对主目录路径。" @@ -568,6 +573,10 @@ msgstr "命令包含不支持的字段代码。" msgid "The selected account has no home directory." msgstr "所选账户没有主目录。" +#: userland/apps/taskmgr/main.cpp:617 +msgid "The selected process has already exited." +msgstr "选中的进程已退出。" + #: configs/nls/messages/taskmgr.c:30 msgid "The startup entry cannot be parsed. Remove it and add a new entry." msgstr "无法解析启动项。请删除后重新添加。" @@ -580,7 +589,7 @@ msgstr "启动项已被其他操作修改。请刷新后重试。" msgid "Too many startup entries (maximum 2048)." msgstr "启动项过多(最多 2048 项)。" -#: userland/apps/taskmgr/main.cpp:465 +#: userland/apps/taskmgr/main.cpp:491 msgid "Total memory:" msgstr "总内存:" @@ -588,11 +597,11 @@ msgstr "总内存:" msgid "TryExec must be an absolute path or a program name." msgstr "TryExec 必须是绝对路径或程序名称。" -#: userland/apps/taskmgr/main.cpp:166 +#: userland/apps/taskmgr/main.cpp:189 msgid "Unknown" msgstr "未知" -#: userland/apps/taskmgr/main.cpp:477 +#: userland/apps/taskmgr/main.cpp:503 msgid "Uptime:" msgstr "运行时间:" @@ -604,23 +613,23 @@ msgstr "请使用“禁用”覆盖系统启动项。" msgid "Use only one file or URL field code." msgstr "只能使用一个文件或 URL 字段代码。" -#: userland/apps/taskmgr/main.cpp:469 +#: userland/apps/taskmgr/main.cpp:495 msgid "Used memory:" msgstr "已用内存:" -#: userland/apps/taskmgr/main.cpp:840 +#: userland/apps/taskmgr/main.cpp:883 msgid "User" msgstr "用户" -#: userland/apps/taskmgr/main.cpp:605 +#: userland/apps/taskmgr/main.cpp:648 msgid "User:" msgstr "用户:" -#: userland/apps/taskmgr/main.cpp:845 +#: userland/apps/taskmgr/main.cpp:901 msgid "View live CPU and memory usage." msgstr "查看实时 CPU 和内存使用情况。" -#: userland/apps/taskmgr/main.cpp:609 +#: userland/apps/taskmgr/main.cpp:652 msgid "Wake tick:" msgstr "唤醒 tick:" @@ -632,51 +641,6 @@ msgstr "工作文件夹" msgid "Yes" msgstr "是" -#: userland/apps/taskmgr/main.cpp:595 +#: userland/apps/taskmgr/main.cpp:638 msgid "ticks" msgstr "时钟节拍" - -#~ msgid "The working directory must be an absolute path." -#~ msgstr "工作文件夹必须使用绝对路径。" - -#~ msgid "Choose which user's startup entries to manage." -#~ msgstr "选择要管理启动项的用户。" - -#~ msgid "Could not change startup app" -#~ msgstr "无法更改启动应用" - -#~ msgid "Could not remove startup app" -#~ msgstr "无法删除启动应用" - -#~ msgid "Enable or disable the selected startup entry." -#~ msgstr "启用或禁用所选启动项。" - -#~ msgid "Manage startup entries for the selected user." -#~ msgstr "管理所选用户的启动项。" - -#~ msgid "No startup app selected" -#~ msgstr "未选择启动应用" - -#~ msgid "Remove Startup App" -#~ msgstr "删除启动应用" - -#~ msgid "Remove the selected startup app?" -#~ msgstr "删除选中的启动应用?" - -#~ msgid "Remove the selected startup entry after confirmation." -#~ msgstr "确认后移除所选启动项。" - -#~ msgid "Select a startup entry before using Enable, Disable, or Remove." -#~ msgstr "先选择启动项,再使用启用、禁用或移除。" - -#~ msgid "Startup app disabled" -#~ msgstr "启动应用已禁用" - -#~ msgid "Startup app enabled" -#~ msgstr "启动应用已启用" - -#~ msgid "Startup app removed" -#~ msgstr "启动应用已删除" - -#~ msgid "Unavailable" -#~ msgstr "不可用" diff --git a/configs/openrc-packages.json b/configs/openrc-packages.json deleted file mode 100644 index 872bd64a..00000000 --- a/configs/openrc-packages.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "repository": "https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.24/main/x86_64", - "packages": [ - {"name": "bash", "version": "5.3.9-r1", "sha256": "4ad962f26fb3c68365171233fe61e3c51bbee1cab35e8dc661198233daeab0dd", "recipe_commit": "1522c3193610902d8493f9790a2755c11f21f26d", "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bash-5.3.9-r1.apk"}, - {"name": "bash-completion", "version": "2.17.0-r1", "sha256": "9db205ae09360013128162b0f94cf121c24a8887c46330e0422fc31b8c854d6c", "recipe_commit": "5fc8418c6904b56de1ce06118049cfa7f000281e", "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bash-completion-2.17.0-r1.apk"}, - {"name": "bash-doc", "version": "5.3.9-r1", "sha256": "519c0a4d7b13e044862bfab9a5cdb8ebf634d6d59483b3af40c09779a3771bb9", "recipe_commit": "1522c3193610902d8493f9790a2755c11f21f26d", "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/bash-doc-5.3.9-r1.apk"}, - {"name": "readline", "version": "8.3.3-r1", "sha256": "766911ecb986a6c5cf0841a6b556cd1e9dbbf22b3559726de32416486cd15c81", "recipe_commit": "a854c03acdac188901fb012f7acbee70a36e8041", "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/readline-8.3.3-r1.apk"}, - {"name": "libncursesw", "version": "6.6_p20260516-r0", "sha256": "cf8caa8a88bc4ce9d9e395567fefaf9ef7fbd55c50ae6155b35c1b58f3755023", "recipe_commit": "2cee8a7328d061418336ad327b512d96bcd7bc5e", "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/libncursesw-6.6_p20260516-r0.apk"}, - {"name": "ncurses-terminfo-base", "version": "6.6_p20260516-r0", "sha256": "ce83be6d0bd10584a53c3a5868cc1595ce5f0f8e0b621f8f7f70b6144e521fc9", "recipe_commit": "2cee8a7328d061418336ad327b512d96bcd7bc5e", "url": "https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/ncurses-terminfo-base-6.6_p20260516-r0.apk"}, - {"name": "openrc", "version": "0.63.2-r0", "sha256": "cda5779b160ddbdf1d1b9cc9514b7b72f0a18453792ff7c0a6eb6e28d5bc2225", "recipe_commit": "30c61338b7a04d3c94509eabba5210b7bf81151a"}, - {"name": "openrc-user", "version": "0.63.2-r0", "sha256": "c350ab9e3de14d5eb33e609bca2f1c4c4d45c9cf3d1ee7a152800e76c26e3863", "recipe_commit": "30c61338b7a04d3c94509eabba5210b7bf81151a"}, - {"name": "libcap2", "version": "2.78-r0", "sha256": "42886a7b4bcde26347c712925c8dc7db202b6029ef9b8c7ee81577ab7bdd8fad", "recipe_commit": "0c35848136c4c16a1b1672cb812efa88fffef1c2"}, - {"name": "busybox-openrc", "version": "1.37.0-r31", "sha256": "e0aafdbbcf62119611b7fad19b7653bc9ae2a602e432549fc96937a99e68a4b3", "recipe_commit": "c3ef5d10e6ef6528852c51f0564963e2f8c1be19"}, - {"name": "findutils", "version": "4.10.0-r1", "sha256": "86cf2b3f8aa3b1092cb3225fcc8179fc1229d178aa126266cfeadfda09487dc2", "recipe_commit": "1a4e2ce6309586205b7e4c500c7ae287be39ea31"} - ] -} diff --git a/configs/storage-upstream.json b/configs/storage-upstream.json deleted file mode 100644 index 1f1e4a76..00000000 --- a/configs/storage-upstream.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "exfatprogs": { - "version": "1.4.4", - "url": "https://github.com/exfatprogs/exfatprogs/releases/download/1.4.4/exfatprogs-1.4.4.tar.xz", - "sha256": "102bbdfd934776c12c6d83743a31ec648f8c2f1ddfa1832b6e13b6efd09412cb", - "directory": "exfatprogs-1.4.4", - "license_file": "COPYING", - "checksum_source": "https://api.github.com/repos/exfatprogs/exfatprogs/releases/tags/1.4.4" - } -} diff --git a/configs/toolchains/llvm-x86_64.mk b/configs/toolchains/llvm-x86_64.mk index d1f59495..4d6b9b25 100644 --- a/configs/toolchains/llvm-x86_64.mk +++ b/configs/toolchains/llvm-x86_64.mk @@ -7,9 +7,9 @@ TOOLCHAIN_NAME := llvm-x86_64 # The kernel and the boot loader link at fixed addresses with -# ld.lld; userland targets x86_64-linux-musl against the project sysroot. +# ld.lld; userland targets x86_64-linux-gnu inside the isolated Arch root. TRIPLE_KERNEL := x86_64-unknown-none -TRIPLE_USER := x86_64-linux-musl +TRIPLE_USER := x86_64-linux-gnu TOOLCHAIN_CC := clang TOOLCHAIN_CXX := clang++ diff --git a/docs/superpowers/plans/2026-10-23-openrc-controller.md b/docs/superpowers/plans/2026-10-23-openrc-controller.md deleted file mode 100644 index 301bbc92..00000000 --- a/docs/superpowers/plans/2026-10-23-openrc-controller.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenRC Controller 实施计划 - -按用户直接执行要求,在当前工作树完成,不自动建立分支、提交或推送。 - -1. 用失败测试确定模型、参数边界、OpenRC INI 解析及分帧协议,再实现。 -2. 实现受限 root worker、非阻塞客户端、sudo/su 认证及退出/取消处理。 -3. 实现原生 FLTK 主窗口、服务与运行级别管理、配置编辑与常用诊断工具。 -4. 添加 Kbuild、动态组件、桌面入口、图标、中文翻译及管理文档。 -5. 执行宿主测试、生产构建和镜像检查;在私有 QEMU 镜像验证交互并保存真实截图。 -6. 核对差异和功能边界,交付实际验证结果;VMware 验证未完成。 diff --git a/docs/superpowers/plans/2026-10-28-network-controller.md b/docs/superpowers/plans/2026-10-28-network-controller.md deleted file mode 100644 index dcb3ab52..00000000 --- a/docs/superpowers/plans/2026-10-28-network-controller.md +++ /dev/null @@ -1,76 +0,0 @@ -# Network Controller(网络控制器)实施计划 - -用户选择图形网络管理器,指定名称 Network Controller;沿用 C++、FLTK 默认 gtk+ -主题、中文、真实系统操作、异步响应和运行截图要求。用户此前已要求直接执行, -不等待计划批准。不提交、不推送、不新建分支、不委派,保留 installer 的现有修改。 - -## 设计 - -采用独立 `network-controller` 应用,普通 GUI 通过 sudo 或 root 密码建立受限 -工作进程,root 账户直接进入。复用 OpenRC Controller 已验证的认证/分帧设计, -请求只允许固定的网络查询、配置及诊断操作,不接受任意命令或路径。 - -主窗口使用原生菜单、工具栏、网卡列表和“概览、配置、诊断、输出”标签页; -不放程序大标题。读取 Linux 网络 ioctl、现有公开网络查询接口、解析器和真实 DHCP 状态。 -提供 DHCP、静态 IPv4、禁用、DNS 策略、有效路由/连接/租约/日志查看, -以及 Ping、DNS 查询、TCP 端口测试、子网计算和报告导出。 -内核当前没有导出 `/proc/net`、ARP 和网卡总流量,隐藏流量字段并明确说明; -计数解析仅用于将来存在标准 `/proc/net/dev` 的环境,不显示虚假零值。 - -当前内核的可配置以太网接口是 eth0;持久化配置明确限定 eth0, -不伪造 Wi-Fi、IPv6、VPN 或任意 MTU 支持。网卡列表按实际 ioctl 返回呈现, -补充按真实接口索引查询,保证没有 IPv4 地址或禁用的网卡仍可查看。 -IPv4 配置保存在 `/etc/reliefos/network.conf`(严格数据格式,不作为 shell 代码)。 -仍由现有 `reliefos-dhcp` OpenRC 服务管理网络,DHCP 保留 supervise-daemon, -静态/禁用模式是一次性配置;启动模式由 OpenRC service value 保存以正确停止 -旧模式。共享 profile 工具独立于可选 GUI 组件,resolver 仍由唯一 publisher 写入。 -旧 DNS 配置在尚未创建新 profile 时继续生效。 - -## 文件分工与执行 - -- [x] `userland/apps/network-controller/model.{h,cpp}`、`storage.h`:IPv4/子网、 - profile、命令参数校验、分帧。先运行验证失败,再实现;拒绝注入、重复字段、 - 无效网关、超长/破损帧,诊断目标不能成为命令选项。 -- [x] `config.{h,cpp}`:固定目录下的原子保存、备份、恢复、冲突检测、符号链接 - 拒绝;`tools/tests/network_controller_test.cpp` 和专用 shell 测试覆盖真实文件操作。 -- [x] `session.{h,cpp}`、`worker.{h,cpp}`:认证、非阻塞管道、限额、取消、超时、 - EOF 清理、真实网卡与诊断。密码不进入参数、环境、文件或日志;GUI 不获得 root。 -- [x] `system/rootfs/usr/lib/reliefos/network-profile`、`etc/init.d/reliefos-dhcp`、 - `publish-resolver`:数据校验和重启生效,保留默认 DHCP 和唯一 DNS 写入者。 - 测试默认/静态/禁用、旧 DNS 兼容、恶意配置拒绝与 DHCP→静态→DHCP。 -- [x] `main.cpp`、`window.{h,cpp}`、`dialogs.cpp`:布局、自适应、异步队列、 - 配置脏状态、操作确认、输出/导出与中文。读取刷新不覆盖未保存编辑。 -- [x] Kbuild、组件与 Kconfig、FLTK 清单、桌面文件、图标、中文及管理员指南: - 默认镜像、菜单、启动命令和可选组件闭环;使用当前 X11 应用与系统服务接口。 -- [x] 根 Makefile 构建应用、翻译和 VMDK;执行应用测试、组件/归属/桌面检查。 - 专用 QEMU 副本中验证普通用户提权、中文 UI、DHCP、静态、DNS、重启持久化、 - 诊断和关闭;保存真实截图。明确报告 VMware 验证未完成。 - -## 验证结果 - -最终构建为 `out/network-controller-20261028/image-build-10.log`。应用、翻译、 -完整 VMDK 构建通过;模型/配置/工作进程、网络 profile、组件、APK 归属、图标、 -桌面文件、中文资源检查通过。最终 ELF SHA-256: -`72567e303e2763aeccc6db1e84c609294bc36b50c6193e3d221c4e4768084ec3`。 - -最终 VMDK 的私有副本在 QEMU/KVM、UEFI、e1000 中运行:60 项原生检查通过; -普通用户 root 密码认证、root 直接进入、真实 GUI 保存应用、子网计算、默认及 -最小窗口布局、正常关闭通过。正常执行来宾 poweroff 后再启动,13 项持久化检查 -通过,确认静态地址、DNS、profile 及没有 DHCP 客户端。原 VMDK 哈希未变。 -sudo 错误密码重试及正确密码、非法网关和 GUI Ping 在前一候选构建运行验证, -该候选与最终 ELF 仅两处网卡状态翻译文案不同。截图和逐轮记录保存在 -`out/network-controller-qemu-final-accepted-20261029/` 与 -`out/network-controller-20261028/verification.md`。 - -项目全局 `make test` 因既有的 audio-hda 产物缺失停止;品牌检查还有 24 处 -已在未修改 HEAD 中复现的旧路径。未修改 audio manifest 或扩大修复范围, -不能描述为全部项目测试通过。QMP 的 ACPI 按钮未响应,正常关机验收使用来宾 -内的 poweroff;未宣称修复 ACPI 按钮。VMware 验证未完成。 - -## 重点失败场景 - -1. 静态地址/掩码/网关不匹配:保存前拒绝,已有配置不变。 -2. 编辑期间外部文件变动或符号链接:保存/恢复拒绝,不覆盖或跟随。 -3. DHCP 与静态切换:先停止旧 DHCP,服务状态与真实运行模式一致,无第二客户端。 -4. DNS/连接超时或取消、窗口关闭:事件循环仍响应,子进程被回收。 -5. 配置已保存但应用失败:分别报告结果,保留备份和日志,不谎报联网成功。 diff --git a/docs/superpowers/plans/2026-10-31-coreutils-full.md b/docs/superpowers/plans/2026-10-31-coreutils-full.md deleted file mode 100644 index 6c047859..00000000 --- a/docs/superpowers/plans/2026-10-31-coreutils-full.md +++ /dev/null @@ -1,24 +0,0 @@ -# 完整 GNU coreutils 与 BusyBox 命令归属实施计划 - -**目标:** 发布锁定的 GNU coreutils 9.12 全部 109 个命令,保留 BusyBox 的启动、救援与显式 applet 调用,在 ReliefOS 内验证行为并对常用工作负载测速。 - -**架构:** 使用上游 `--enable-single-binary=symlinks`,启用默认不安装的程序与 SELinux 工具入口;所有 GNU 命令及 stdbuf 辅助库由 coreutils 包持有。BusyBox 链接生成器按已选构建计划抑制同名入口,并将历史路径转发到 GNU。BusyBox shell 不优先解析内部 applet,显式 `/bin/busybox NAME` 保持可用。 - -**约束:** 不修改用户已有安装器工作,不提交、推送或建立分支;所有编译临时文件使用本仓 `out/tmp`。不声称内核具备 SELinux 等未实现能力;区分正常功能、预期不支持和异常失败。 - -- [x] 在 `tests/build/test-coreutils-links.sh` 验证跨目录 GNU 链接、已有路径不重复、BusyBox 独有命令保留;先证明当前生成器缺少历史路径转发。 -- [x] 在 `tools/test_apk_ownership.py` 验证 GNU 多调用文件、命令链接、旧路径链接、stdbuf 库和手册归属同一包;先观察现行策略失败。 -- [x] 增加 `userland/coreutils/programs.list` 和 `tools/build/coreutils-check.sh`,核对上游程序清单、全部命令、目标链接和 stdbuf 库;通过缺失/错误目标/非可执行文件夹具验证拒绝发布不完整套件。 -- [x] 修改 `tools/build/upstream.sh` 与 `scripts/reliefos/Makefile.upstream`,启用完整 GNU 单文件发行方式,取消 dd/yes 裁剪,登记并检查全部产品和构建依赖。 -- [x] 扩展 `tools/build/busybox-links.sh` 生成旧路径 GNU 转发,更新 APK 归属、升级冲突声明与依赖。检查非 usr-merge 根中的 `/bin` 和 `/usr/sbin` 调用,以及 GNU hostname 与 OpenRC 调用的兼容性。 -- [x] 编译 BusyBox、coreutils、当前内核和镜像,运行相关合同测试与项目要求的构建检查;检查最终 APK 文件归属、所有命令目标和 ELF 依赖。 -- [x] 使用私有镜像运行 `tools/tests/coreutils_guest.sh` 与性能探针,覆盖全部命令入口、实际操作、标准失败状态及存储/文本/哈希工作负载;同一内核、相同数据、同一虚拟机内比较 GNU 与显式 BusyBox。 -- [x] 在 `Documentation/admin-guide/coreutils.rst` 记录命令归属、内建命令区别、使用方法、测试范围及可重复测速方法,并报告真实结果与平台限制。 - -验证输出保存在 `out/coreutils-full-20261031/`。命令清单以锁定归档的 `build-aux/gen-lists-of-programs.sh --list-progs` 为外部依据,`ginstall` 映射为 `install`,辅助库另行检查。测速报告至少包含数据规模、重复次数、中位耗时、吞吐与校验结果;不以 `--version` 成功替代实际功能测试。 - -已执行证据:定向链接、完整 stage、APK 归属、根目录 staging、上游 Make 边界、BusyBox profile 与测试归属检查通过;完整 VMDK 构建通过。真实签名 APK 升级将 88 条旧 BusyBox 路径转交 GNU,升级后的 143 条 GNU 路径归属检查通过。`make test` 在既有 `out/audio-hda` 音频产物缺失处中止,不能标为全绿。 - -目标运行调查:可选 CRC 加速后端引入了宿主 compiler-rt 的 AVX2 CPU 检测构造函数,开机触发用户态 invalid opcode;已使用上游 `gl_cv_crc_pclmul=no` 通用 CRC 路径消除该依赖并重新构建镜像。已在 4 vCPU 下观察全部 109 项版本/入口与功能检查通过,SELinux 两项按预期拒绝;多核 PIT 回退不适合发布长 I/O 的墙上时间,最终速度必须由单 CPU 高精度时钟门禁通过后的运行提供。 - -最终验收:`out/coreutils-full-20261031/qemu-accepted/results.json` success=true,versions=109、functions=109、unsupported=2、failures=0;可信 TSC 高精度时钟门禁、全部 12 组性能输出校验与源镜像未修改检查通过。数据规模为四组 32 MiB、排序 2.25 MiB、真实 ext4 复制 1 MiB;保留预热后的三次样本与中位数。完整结果见同目录 `report.md`;VMware 验证未完成。 diff --git a/docs/superpowers/plans/2026-11-21-vmware-svga2.md b/docs/superpowers/plans/2026-11-21-vmware-svga2.md index 5d915300..4915696f 100644 --- a/docs/superpowers/plans/2026-11-21-vmware-svga2.md +++ b/docs/superpowers/plans/2026-11-21-vmware-svga2.md @@ -9,23 +9,30 @@ ## 复现命令 -从 ReliefOS 根目录运行。`BUSYBOX` 指向本次验证用的静态 BusyBox,`RUNTIME` 指向包含未修改的 Mesa、libdrm 和 musl loader 的来宾根目录。不要将宿主 glibc 探针或宿主图形库装入镜像。 +从 ReliefOS 根目录运行。`RUNTIME` 指向已解包的 Arch/glibc 来宾根目录,内含官方 Mesa、libdrm 和诊断脚本使用的标准工具。在项目的隔离构建根中编译探针。 ```sh export TMPDIR="$PWD/out/tmp" mkdir -p "$TMPDIR" "$PWD/out/svga-verify" python3 -B kernel/reliefnt/tools/test_drm.py -build="$PWD/out/svga-verify/kernel" -make -j8 O="$build" SOURCE_DATE_EPOCH=1795219200 kernel +build="$PWD/out/svga-verify/build" +make O="$build" fetch build run=$(mktemp -d "$PWD/out/svga-verify/run.XXXXXX") ln -s "$PWD/kernel/reliefnt/include/uapi/drm" "$run/drm" -musl-gcc -std=c11 -O2 -static -Wall -Wextra -Werror -D__user= -I "$run" \ - -idirafter /usr/include -idirafter "/usr/include/$(cc -dumpmachine)" \ - kernel/reliefnt/tools/tests/svga_guest.c -o "$run/svga-probe" +PYTHONPATH="$PWD/tools" python3 -B - "$run" <<'PY' +from pathlib import Path +import sys +from arch_guest import ROOT, compile_guest + +run = Path(sys.argv[1]) +compile_guest(run / "svga-probe", ["-std=c11", "-D_GNU_SOURCE", "-D__user=", + "-O2", "-static", "-Wall", "-Wextra", "-I", run, + ROOT / "kernel/reliefnt/tools/tests/svga_guest.c"]) +PY sh tools/build-virtgpu-egl-probe.sh "$RUNTIME" "$run/egl-probe" mode=legacy # 或 gb / dx;每个模式使用新目录 python3 -B tools/test_virtgpu_qemu.py --svga3d "$mode" --output "$run/$mode" \ - --kernel "$build/generated/system/kernel.sys" --busybox "$BUSYBOX" \ + --kernel "$build/generated/system/kernel.sys" \ --probe "$run/svga-probe" --egl-probe "$run/egl-probe" --runtime-root "$RUNTIME" vmrun -T ws start "$run/$mode/svga.vmx" nogui ``` diff --git a/docs/superpowers/specs/2026-10-23-openrc-controller-design.md b/docs/superpowers/specs/2026-10-23-openrc-controller-design.md deleted file mode 100644 index 926ce877..00000000 --- a/docs/superpowers/specs/2026-10-23-openrc-controller-design.md +++ /dev/null @@ -1,30 +0,0 @@ -# OpenRC Controller - -原生 C++ / FLTK 系统管理应用,使用系统默认 gtk+ scheme、SimSun 和 系统中文翻译。 -内容区不放应用名称横幅;工具栏、筛选器、可多选服务表格、详情与输出面板组成主窗口。 -用户已要求直接执行,不增加设计或计划批准环节。 - -## 功能 - -- 实际 OpenRC 服务清单、状态、运行时间、运行级别;搜索、状态及运行级别筛选。 -- 启动、停止、重启、重载、条件操作、模拟执行、zap 与脚本自定义命令;批量串行操作,失败停止。 -- 描述、脚本、正反向依赖、运行级别成员及堆叠、创建/删除空的自定义运行级别、切换普通运行级别。 -- 服务 conf.d 与全局 rc.conf 编辑、冲突检测、原子保存、同步与备份恢复。 -- 原生状态诊断、崩溃/监督/手动/未分配服务清单、依赖缓存重建、日志与诊断报告导出。 -- 自动刷新、实时命令输出、取消与超时、快捷键、桌面入口和系统图标。 - -## 授权与执行 - -root 账户直接进入。普通用户进入前选择 sudo 当前用户密码或 root 密码,经固定路径 worker -完成认证;GUI 不提权,保持一个受限 root 会话。取消认证退出,失败可重试。 -密码字段禁止输入法,密码仅经过 stdin/控制终端,使用后清零,不写日志、参数、环境或磁盘。 -worker 验证每个请求,只构造固定 OpenRC 可执行文件与独立 argv,不使用 shell 字符串。 -协议带长度限制,正确处理短读写。界面异步收发,worker 持续排空输出并限制内存。 -关闭会话时终止和回收当前操作;取消操作可能留下 OpenRC 过渡状态,界面明确提供状态诊断与 zap。 -不直接调用 shutdown/reboot/sysinit 等特殊运行级别;一般运行级别切换需确认。 - -## 验证 - -宿主 ASan/UBSan 模型、命令和分帧测试;私有配置树保存/冲突/备份/符号链接测试; -真实 Kbuild、中文翻译、组件元数据与图标/桌面检查;私有镜像中的 QEMU 实际运行及截图。 -不操作宿主服务。VMware 验证未完成,QEMU 结果不能替代 VMware。 diff --git a/include/leonos/admin.h b/include/leonos/admin.h deleted file mode 100644 index b50b6b5d..00000000 --- a/include/leonos/admin.h +++ /dev/null @@ -1,10 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_ADMIN_H -#define LEONOS_ADMIN_H -#include - -/* Old names alias the single canonical declaration. */ -#define leonos_admin_elevate reliefos_admin_elevate -#endif /* LEONOS_ADMIN_H */ diff --git a/include/leonos/api.h b/include/leonos/api.h deleted file mode 100644 index 902d273e..00000000 --- a/include/leonos/api.h +++ /dev/null @@ -1,56 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_API_H -#define LEONOS_API_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_API_NAME_LEN RELIEFOS_API_NAME_LEN -#define LEONOS_API_PATH_MAX RELIEFOS_API_PATH_MAX -#define LEONOS_API_VERSION_LEN RELIEFOS_API_VERSION_LEN -#define LEONOS_INPUTM_ABBREV_LEN RELIEFOS_INPUTM_ABBREV_LEN -#define LEONOS_INPUTM_CONTEXT_FOCUSED RELIEFOS_INPUTM_CONTEXT_FOCUSED -#define LEONOS_INPUTM_CONTEXT_SECURE RELIEFOS_INPUTM_CONTEXT_SECURE -#define LEONOS_INPUTM_H RELIEFOS_INPUTM_H -#define LEONOS_INPUTM_ID_LEN RELIEFOS_INPUTM_ID_LEN -#define LEONOS_INPUTM_MAX_CANDIDATES RELIEFOS_INPUTM_MAX_CANDIDATES -#define LEONOS_INPUTM_MAX_PROVIDERS RELIEFOS_INPUTM_MAX_PROVIDERS -#define LEONOS_INPUTM_NAME_LEN RELIEFOS_INPUTM_NAME_LEN -#define LEONOS_INPUTM_RENDER_CONTROLS RELIEFOS_INPUTM_RENDER_CONTROLS -#define LEONOS_INPUTM_RENDER_PIXELS RELIEFOS_INPUTM_RENDER_PIXELS -#define LEONOS_INPUTM_RESULT_CANCEL RELIEFOS_INPUTM_RESULT_CANCEL -#define LEONOS_INPUTM_RESULT_COMMIT RELIEFOS_INPUTM_RESULT_COMMIT -#define LEONOS_INPUTM_RESULT_COMPOSITION RELIEFOS_INPUTM_RESULT_COMPOSITION -#define LEONOS_INPUTM_RESULT_PASSTHROUGH RELIEFOS_INPUTM_RESULT_PASSTHROUGH -#define LEONOS_INPUTM_START_LOGIN RELIEFOS_INPUTM_START_LOGIN -#define LEONOS_INPUTM_START_MANUAL RELIEFOS_INPUTM_START_MANUAL -#define LEONOS_INPUTM_START_ON_DEMAND RELIEFOS_INPUTM_START_ON_DEMAND -#define LEONOS_INPUTM_TEXT_LEN RELIEFOS_INPUTM_TEXT_LEN -#define LEONOS_UAPI_INPUTM_ABI_H RELIEFOS_UAPI_INPUTM_ABI_H -#define leonos_api_extract_files reliefos_api_extract_files -#define leonos_api_info reliefos_api_info -#define leonos_api_install reliefos_api_install -#define leonos_api_install_with_progress reliefos_api_install_with_progress -#define leonos_api_parse_info reliefos_api_parse_info -#define leonos_api_progress_fn reliefos_api_progress_fn -#define leonos_inputm_active_request reliefos_inputm_active_request -#define leonos_inputm_config_request reliefos_inputm_config_request -#define leonos_inputm_context reliefos_inputm_context -#define leonos_inputm_get_state reliefos_inputm_get_state -#define leonos_inputm_key_event reliefos_inputm_key_event -#define leonos_inputm_list reliefos_inputm_list -#define leonos_inputm_notify_config reliefos_inputm_notify_config -#define leonos_inputm_poll_result reliefos_inputm_poll_result -#define leonos_inputm_provider reliefos_inputm_provider -#define leonos_inputm_provider_list reliefos_inputm_provider_list -#define leonos_inputm_provider_next reliefos_inputm_provider_next -#define leonos_inputm_provider_result reliefos_inputm_provider_result -#define leonos_inputm_register reliefos_inputm_register -#define leonos_inputm_result reliefos_inputm_result -#define leonos_inputm_set_active reliefos_inputm_set_active -#define leonos_inputm_set_context reliefos_inputm_set_context -#define leonos_inputm_state reliefos_inputm_state -#define leonos_inputm_submit_key reliefos_inputm_submit_key -#define leonos_inputm_unregister reliefos_inputm_unregister -#endif /* LEONOS_API_H */ diff --git a/include/leonos/audio.h b/include/leonos/audio.h deleted file mode 100644 index 647f8ab7..00000000 --- a/include/leonos/audio.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_AUDIO_H -#define LEONOS_AUDIO_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_AUDIO_IO_SLICE_BYTES RELIEFOS_AUDIO_IO_SLICE_BYTES -#define LEONOS_AUDIO_MAX_WRITE RELIEFOS_AUDIO_MAX_WRITE -#define LEONOS_AUDIO_STATUS_BAD_FORMAT RELIEFOS_AUDIO_STATUS_BAD_FORMAT -#define LEONOS_AUDIO_STATUS_NO_DEVICE RELIEFOS_AUDIO_STATUS_NO_DEVICE -#define LEONOS_AUDIO_STATUS_OK RELIEFOS_AUDIO_STATUS_OK -#define LEONOS_AUDIO_STATUS_PLAYBACK_FAILED RELIEFOS_AUDIO_STATUS_PLAYBACK_FAILED -#define LEONOS_AUDIO_STATUS_WOULD_BLOCK RELIEFOS_AUDIO_STATUS_WOULD_BLOCK -#define LEONOS_UAPI_AUDIO_ABI_H RELIEFOS_UAPI_AUDIO_ABI_H -#define leonos_audio_configure reliefos_audio_configure -#define leonos_audio_format reliefos_audio_format -#define leonos_audio_get_state reliefos_audio_get_state -#define leonos_audio_state reliefos_audio_state -#define leonos_audio_write reliefos_audio_write -#endif /* LEONOS_AUDIO_H */ diff --git a/include/leonos/auth.h b/include/leonos/auth.h deleted file mode 100644 index 4638ddcd..00000000 --- a/include/leonos/auth.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_AUTH_H -#define LEONOS_AUTH_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_AUTH_HOME_LEN RELIEFOS_AUTH_HOME_LEN -#define LEONOS_AUTH_PASSWORD_LEN RELIEFOS_AUTH_PASSWORD_LEN -#define LEONOS_AUTH_PASSWORD_MAX_CHARS RELIEFOS_AUTH_PASSWORD_MAX_CHARS -#define LEONOS_AUTH_PASSWORD_MIN_CHARS RELIEFOS_AUTH_PASSWORD_MIN_CHARS -#define LEONOS_AUTH_ROLE_ADMIN RELIEFOS_AUTH_ROLE_ADMIN -#define LEONOS_AUTH_ROLE_NONE RELIEFOS_AUTH_ROLE_NONE -#define LEONOS_AUTH_ROLE_USER RELIEFOS_AUTH_ROLE_USER -#define LEONOS_AUTH_UPDATE_FLAGS RELIEFOS_AUTH_UPDATE_FLAGS -#define LEONOS_AUTH_UPDATE_ROLE RELIEFOS_AUTH_UPDATE_ROLE -#define LEONOS_AUTH_USERNAME_LEN RELIEFOS_AUTH_USERNAME_LEN -#define LEONOS_AUTH_USER_DISABLED RELIEFOS_AUTH_USER_DISABLED -#define LEONOS_UAPI_AUTH_ABI_H RELIEFOS_UAPI_AUTH_ABI_H -#define LEONOS_UAPI_AUTH_USER_H RELIEFOS_UAPI_AUTH_USER_H -#define leonos_auth_create_user reliefos_auth_create_user -#define leonos_auth_current reliefos_auth_current -#define leonos_auth_list_users reliefos_auth_list_users -#define leonos_auth_logout reliefos_auth_logout -#define leonos_auth_password_valid reliefos_auth_password_valid -#define leonos_auth_request_power reliefos_auth_request_power -#define leonos_auth_status reliefos_auth_status -#define leonos_auth_update_user reliefos_auth_update_user -#define leonos_auth_users_alloc reliefos_auth_users_alloc -#define leonos_user_info reliefos_user_info -#endif /* LEONOS_AUTH_H */ diff --git a/include/leonos/device.h b/include/leonos/device.h deleted file mode 100644 index f7287176..00000000 --- a/include/leonos/device.h +++ /dev/null @@ -1,44 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_DEVICE_H -#define LEONOS_DEVICE_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_DEVICE_CLASS_AUDIO RELIEFOS_DEVICE_CLASS_AUDIO -#define LEONOS_DEVICE_CLASS_DISPLAY RELIEFOS_DEVICE_CLASS_DISPLAY -#define LEONOS_DEVICE_CLASS_INPUT RELIEFOS_DEVICE_CLASS_INPUT -#define LEONOS_DEVICE_CLASS_NETWORK RELIEFOS_DEVICE_CLASS_NETWORK -#define LEONOS_DEVICE_CLASS_SERIAL RELIEFOS_DEVICE_CLASS_SERIAL -#define LEONOS_DEVICE_CLASS_STORAGE RELIEFOS_DEVICE_CLASS_STORAGE -#define LEONOS_DEVICE_CLASS_SYSTEM RELIEFOS_DEVICE_CLASS_SYSTEM -#define LEONOS_DEVICE_DETAIL_LEN RELIEFOS_DEVICE_DETAIL_LEN -#define LEONOS_DEVICE_FLAG_ACTIVE RELIEFOS_DEVICE_FLAG_ACTIVE -#define LEONOS_DEVICE_FLAG_BOOT RELIEFOS_DEVICE_FLAG_BOOT -#define LEONOS_DEVICE_FLAG_PRESENT RELIEFOS_DEVICE_FLAG_PRESENT -#define LEONOS_DEVICE_FLAG_REMOVABLE RELIEFOS_DEVICE_FLAG_REMOVABLE -#define LEONOS_DEVICE_MAX RELIEFOS_DEVICE_MAX -#define LEONOS_DEVICE_NAME_LEN RELIEFOS_DEVICE_NAME_LEN -#define LEONOS_DEVICE_STATUS_LEN RELIEFOS_DEVICE_STATUS_LEN -#define LEONOS_DEV_CONSOLE RELIEFOS_DEV_CONSOLE -#define LEONOS_DEV_DSP RELIEFOS_DEV_DSP -#define LEONOS_DEV_FB0 RELIEFOS_DEV_FB0 -#define LEONOS_DEV_FULL RELIEFOS_DEV_FULL -#define LEONOS_DEV_GPU RELIEFOS_DEV_GPU -#define LEONOS_DEV_INPUT_EVENT0 RELIEFOS_DEV_INPUT_EVENT0 -#define LEONOS_DEV_INPUT_EVENT1 RELIEFOS_DEV_INPUT_EVENT1 -#define LEONOS_DEV_NULL RELIEFOS_DEV_NULL -#define LEONOS_DEV_PTMX RELIEFOS_DEV_PTMX -#define LEONOS_DEV_RANDOM RELIEFOS_DEV_RANDOM -#define LEONOS_DEV_SERIAL0 RELIEFOS_DEV_SERIAL0 -#define LEONOS_DEV_SHM0 RELIEFOS_DEV_SHM0 -#define LEONOS_DEV_TTY RELIEFOS_DEV_TTY -#define LEONOS_DEV_URANDOM RELIEFOS_DEV_URANDOM -#define LEONOS_DEV_ZERO RELIEFOS_DEV_ZERO -#define LEONOS_EVIOCSVT RELIEFOS_EVIOCSVT -#define LEONOS_UAPI_DEVICE_ABI_H RELIEFOS_UAPI_DEVICE_ABI_H -#define LEONOS_VT_GETGENERATION RELIEFOS_VT_GETGENERATION -#define leonos_device_info reliefos_device_info -#define leonos_device_list reliefos_device_list -#endif /* LEONOS_DEVICE_H */ diff --git a/include/leonos/devmgr_service.h b/include/leonos/devmgr_service.h deleted file mode 100644 index 0e608b01..00000000 --- a/include/leonos/devmgr_service.h +++ /dev/null @@ -1,73 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_DEVMGR_SERVICE_H -#define LEONOS_DEVMGR_SERVICE_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_DEVICE_CLASS_AUDIO RELIEFOS_DEVICE_CLASS_AUDIO -#define LEONOS_DEVICE_CLASS_DISPLAY RELIEFOS_DEVICE_CLASS_DISPLAY -#define LEONOS_DEVICE_CLASS_INPUT RELIEFOS_DEVICE_CLASS_INPUT -#define LEONOS_DEVICE_CLASS_NETWORK RELIEFOS_DEVICE_CLASS_NETWORK -#define LEONOS_DEVICE_CLASS_SERIAL RELIEFOS_DEVICE_CLASS_SERIAL -#define LEONOS_DEVICE_CLASS_STORAGE RELIEFOS_DEVICE_CLASS_STORAGE -#define LEONOS_DEVICE_CLASS_SYSTEM RELIEFOS_DEVICE_CLASS_SYSTEM -#define LEONOS_DEVICE_DETAIL_LEN RELIEFOS_DEVICE_DETAIL_LEN -#define LEONOS_DEVICE_FLAG_ACTIVE RELIEFOS_DEVICE_FLAG_ACTIVE -#define LEONOS_DEVICE_FLAG_BOOT RELIEFOS_DEVICE_FLAG_BOOT -#define LEONOS_DEVICE_FLAG_PRESENT RELIEFOS_DEVICE_FLAG_PRESENT -#define LEONOS_DEVICE_FLAG_REMOVABLE RELIEFOS_DEVICE_FLAG_REMOVABLE -#define LEONOS_DEVICE_H RELIEFOS_DEVICE_H -#define LEONOS_DEVICE_MAX RELIEFOS_DEVICE_MAX -#define LEONOS_DEVICE_NAME_LEN RELIEFOS_DEVICE_NAME_LEN -#define LEONOS_DEVICE_STATUS_LEN RELIEFOS_DEVICE_STATUS_LEN -#define LEONOS_DEV_CONSOLE RELIEFOS_DEV_CONSOLE -#define LEONOS_DEV_DSP RELIEFOS_DEV_DSP -#define LEONOS_DEV_FB0 RELIEFOS_DEV_FB0 -#define LEONOS_DEV_FULL RELIEFOS_DEV_FULL -#define LEONOS_DEV_GPU RELIEFOS_DEV_GPU -#define LEONOS_DEV_INPUT_EVENT0 RELIEFOS_DEV_INPUT_EVENT0 -#define LEONOS_DEV_INPUT_EVENT1 RELIEFOS_DEV_INPUT_EVENT1 -#define LEONOS_DEV_NULL RELIEFOS_DEV_NULL -#define LEONOS_DEV_PTMX RELIEFOS_DEV_PTMX -#define LEONOS_DEV_RANDOM RELIEFOS_DEV_RANDOM -#define LEONOS_DEV_SERIAL0 RELIEFOS_DEV_SERIAL0 -#define LEONOS_DEV_SHM0 RELIEFOS_DEV_SHM0 -#define LEONOS_DEV_TTY RELIEFOS_DEV_TTY -#define LEONOS_DEV_URANDOM RELIEFOS_DEV_URANDOM -#define LEONOS_DEV_ZERO RELIEFOS_DEV_ZERO -#define LEONOS_DRIVER_CONTROL_DISABLE_BOOT RELIEFOS_DRIVER_CONTROL_DISABLE_BOOT -#define LEONOS_DRIVER_CONTROL_ENABLE_BOOT RELIEFOS_DRIVER_CONTROL_ENABLE_BOOT -#define LEONOS_DRIVER_CONTROL_FORCE_UNLOAD RELIEFOS_DRIVER_CONTROL_FORCE_UNLOAD -#define LEONOS_DRIVER_CONTROL_IOCTL RELIEFOS_DRIVER_CONTROL_IOCTL -#define LEONOS_DRIVER_CONTROL_LOAD RELIEFOS_DRIVER_CONTROL_LOAD -#define LEONOS_DRIVER_CONTROL_RESCAN RELIEFOS_DRIVER_CONTROL_RESCAN -#define LEONOS_DRIVER_CONTROL_UNLOAD RELIEFOS_DRIVER_CONTROL_UNLOAD -#define LEONOS_DRIVER_ERROR_LEN RELIEFOS_DRIVER_ERROR_LEN -#define LEONOS_DRIVER_FILE_LEN RELIEFOS_DRIVER_FILE_LEN -#define LEONOS_DRIVER_FLAG_AUTOSTART RELIEFOS_DRIVER_FLAG_AUTOSTART -#define LEONOS_DRIVER_FLAG_BUILTIN RELIEFOS_DRIVER_FLAG_BUILTIN -#define LEONOS_DRIVER_FLAG_DISABLED RELIEFOS_DRIVER_FLAG_DISABLED -#define LEONOS_DRIVER_H RELIEFOS_DRIVER_H -#define LEONOS_DRIVER_MAX RELIEFOS_DRIVER_MAX -#define LEONOS_DRIVER_NAME_LEN RELIEFOS_DRIVER_NAME_LEN -#define LEONOS_DRIVER_STATE_DISABLED RELIEFOS_DRIVER_STATE_DISABLED -#define LEONOS_DRIVER_STATE_FAILED RELIEFOS_DRIVER_STATE_FAILED -#define LEONOS_DRIVER_STATE_LOADED RELIEFOS_DRIVER_STATE_LOADED -#define LEONOS_DRIVER_STATE_LOADING RELIEFOS_DRIVER_STATE_LOADING -#define LEONOS_DRIVER_STATE_UNLOADED RELIEFOS_DRIVER_STATE_UNLOADED -#define LEONOS_EVIOCSVT RELIEFOS_EVIOCSVT -#define LEONOS_UAPI_DEVICE_ABI_H RELIEFOS_UAPI_DEVICE_ABI_H -#define LEONOS_UAPI_DRIVER_ABI_H RELIEFOS_UAPI_DRIVER_ABI_H -#define LEONOS_VT_GETGENERATION RELIEFOS_VT_GETGENERATION -#define leonos_device_ reliefos_device_ -#define leonos_device_info reliefos_device_info -#define leonos_device_list reliefos_device_list -#define leonos_driver_ reliefos_driver_ -#define leonos_driver_control reliefos_driver_control -#define leonos_driver_info reliefos_driver_info -#define leonos_driver_kernel_api reliefos_driver_kernel_api -#define leonos_driver_list reliefos_driver_list -#define leonos_driver_module reliefos_driver_module -#endif /* LEONOS_DEVMGR_SERVICE_H */ diff --git a/include/leonos/driver.h b/include/leonos/driver.h deleted file mode 100644 index 8baf9f4e..00000000 --- a/include/leonos/driver.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_DRIVER_H -#define LEONOS_DRIVER_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_DRIVER_CONTROL_DISABLE_BOOT RELIEFOS_DRIVER_CONTROL_DISABLE_BOOT -#define LEONOS_DRIVER_CONTROL_ENABLE_BOOT RELIEFOS_DRIVER_CONTROL_ENABLE_BOOT -#define LEONOS_DRIVER_CONTROL_FORCE_UNLOAD RELIEFOS_DRIVER_CONTROL_FORCE_UNLOAD -#define LEONOS_DRIVER_CONTROL_IOCTL RELIEFOS_DRIVER_CONTROL_IOCTL -#define LEONOS_DRIVER_CONTROL_LOAD RELIEFOS_DRIVER_CONTROL_LOAD -#define LEONOS_DRIVER_CONTROL_RESCAN RELIEFOS_DRIVER_CONTROL_RESCAN -#define LEONOS_DRIVER_CONTROL_UNLOAD RELIEFOS_DRIVER_CONTROL_UNLOAD -#define LEONOS_DRIVER_ERROR_LEN RELIEFOS_DRIVER_ERROR_LEN -#define LEONOS_DRIVER_FILE_LEN RELIEFOS_DRIVER_FILE_LEN -#define LEONOS_DRIVER_FLAG_AUTOSTART RELIEFOS_DRIVER_FLAG_AUTOSTART -#define LEONOS_DRIVER_FLAG_BUILTIN RELIEFOS_DRIVER_FLAG_BUILTIN -#define LEONOS_DRIVER_FLAG_DISABLED RELIEFOS_DRIVER_FLAG_DISABLED -#define LEONOS_DRIVER_MAX RELIEFOS_DRIVER_MAX -#define LEONOS_DRIVER_NAME_LEN RELIEFOS_DRIVER_NAME_LEN -#define LEONOS_DRIVER_STATE_DISABLED RELIEFOS_DRIVER_STATE_DISABLED -#define LEONOS_DRIVER_STATE_FAILED RELIEFOS_DRIVER_STATE_FAILED -#define LEONOS_DRIVER_STATE_LOADED RELIEFOS_DRIVER_STATE_LOADED -#define LEONOS_DRIVER_STATE_LOADING RELIEFOS_DRIVER_STATE_LOADING -#define LEONOS_DRIVER_STATE_UNLOADED RELIEFOS_DRIVER_STATE_UNLOADED -#define LEONOS_UAPI_DRIVER_ABI_H RELIEFOS_UAPI_DRIVER_ABI_H -#define leonos_driver_control reliefos_driver_control -#define leonos_driver_info reliefos_driver_info -#define leonos_driver_kernel_api reliefos_driver_kernel_api -#define leonos_driver_list reliefos_driver_list -#define leonos_driver_module reliefos_driver_module -#endif /* LEONOS_DRIVER_H */ diff --git a/include/leonos/fb.h b/include/leonos/fb.h deleted file mode 100644 index 1946462d..00000000 --- a/include/leonos/fb.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_FB_H -#define LEONOS_FB_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_FBIOBLIT RELIEFOS_FBIOBLIT -#define LEONOS_FBIOGET_CAPABILITIES RELIEFOS_FBIOGET_CAPABILITIES -#define LEONOS_FBIOUPDATE_REGION RELIEFOS_FBIOUPDATE_REGION -#define LEONOS_FB_BACKEND_BOCHS_VBE RELIEFOS_FB_BACKEND_BOCHS_VBE -#define LEONOS_FB_BACKEND_BOOT RELIEFOS_FB_BACKEND_BOOT -#define LEONOS_FB_BACKEND_VMWARE_SVGA RELIEFOS_FB_BACKEND_VMWARE_SVGA -#define LEONOS_FB_CAP_MODE_SET RELIEFOS_FB_CAP_MODE_SET -#define leonos_fb_capabilities reliefos_fb_capabilities -#define leonos_fb_present reliefos_fb_present -#define leonos_fb_blit reliefos_fb_blit -#define leonos_fb_fill reliefos_fb_fill -#define leonos_fb_info reliefos_fb_info -#define leonos_fb_mode reliefos_fb_mode -#define leonos_fb_pixel reliefos_fb_pixel -#define leonos_fb_rect reliefos_fb_rect -#define leonos_fb_set_mode reliefos_fb_set_mode -#define leonos_fb_text reliefos_fb_text -#endif /* LEONOS_FB_H */ diff --git a/include/leonos/fs.h b/include/leonos/fs.h deleted file mode 100644 index fcb3b0c6..00000000 --- a/include/leonos/fs.h +++ /dev/null @@ -1,67 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_FS_H -#define LEONOS_FS_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_FS_ACL_ACE_INHERITED RELIEFOS_FS_ACL_ACE_INHERITED -#define LEONOS_FS_ACL_FLAG_CORRUPT RELIEFOS_FS_ACL_FLAG_CORRUPT -#define LEONOS_FS_ACL_FLAG_SYNTHETIC RELIEFOS_FS_ACL_FLAG_SYNTHETIC -#define LEONOS_FS_ACL_MAX_ACE RELIEFOS_FS_ACL_MAX_ACE -#define LEONOS_FS_ACL_PRINCIPAL_ADMINISTRATORS RELIEFOS_FS_ACL_PRINCIPAL_ADMINISTRATORS -#define LEONOS_FS_ACL_PRINCIPAL_EVERYONE RELIEFOS_FS_ACL_PRINCIPAL_EVERYONE -#define LEONOS_FS_ACL_PRINCIPAL_GROUP RELIEFOS_FS_ACL_PRINCIPAL_GROUP -#define LEONOS_FS_ACL_PRINCIPAL_OWNER RELIEFOS_FS_ACL_PRINCIPAL_OWNER -#define LEONOS_FS_ACL_PRINCIPAL_SYSTEM RELIEFOS_FS_ACL_PRINCIPAL_SYSTEM -#define LEONOS_FS_ACL_PRINCIPAL_USERS RELIEFOS_FS_ACL_PRINCIPAL_USERS -#define LEONOS_FS_ACL_VERSION RELIEFOS_FS_ACL_VERSION -#define LEONOS_FS_FILE_WRITE_SLICE_BYTES RELIEFOS_FS_FILE_WRITE_SLICE_BYTES -#define LEONOS_FS_IO_SLICE_BYTES RELIEFOS_FS_IO_SLICE_BYTES -#define LEONOS_FS_MAX_ENTRIES RELIEFOS_FS_MAX_ENTRIES -#define LEONOS_FS_NAME_LEN RELIEFOS_FS_NAME_LEN -#define LEONOS_FS_PATH_LEN RELIEFOS_FS_PATH_LEN -#define LEONOS_FS_PERM_DELETE RELIEFOS_FS_PERM_DELETE -#define LEONOS_FS_PERM_EXEC RELIEFOS_FS_PERM_EXEC -#define LEONOS_FS_PERM_FULL RELIEFOS_FS_PERM_FULL -#define LEONOS_FS_PERM_MANAGE RELIEFOS_FS_PERM_MANAGE -#define LEONOS_FS_PERM_READ RELIEFOS_FS_PERM_READ -#define LEONOS_FS_PERM_WRITE RELIEFOS_FS_PERM_WRITE -#define LEONOS_FS_READ_SLICE_BYTES RELIEFOS_FS_READ_SLICE_BYTES -#define LEONOS_FS_TYPE_DEVICE RELIEFOS_FS_TYPE_DEVICE -#define LEONOS_FS_TYPE_DIR RELIEFOS_FS_TYPE_DIR -#define LEONOS_FS_TYPE_FIFO RELIEFOS_FS_TYPE_FIFO -#define LEONOS_FS_TYPE_FILE RELIEFOS_FS_TYPE_FILE -#define LEONOS_FS_TYPE_SOCKET RELIEFOS_FS_TYPE_SOCKET -#define LEONOS_FS_TYPE_SYMLINK RELIEFOS_FS_TYPE_SYMLINK -#define LEONOS_O_ACCMODE RELIEFOS_O_ACCMODE -#define LEONOS_O_APPEND RELIEFOS_O_APPEND -#define LEONOS_O_CLOEXEC RELIEFOS_O_CLOEXEC -#define LEONOS_O_CREAT RELIEFOS_O_CREAT -#define LEONOS_O_DIRECTORY RELIEFOS_O_DIRECTORY -#define LEONOS_O_EXCL RELIEFOS_O_EXCL -#define LEONOS_O_NOFOLLOW RELIEFOS_O_NOFOLLOW -#define LEONOS_O_NONBLOCK RELIEFOS_O_NONBLOCK -#define LEONOS_O_RDONLY RELIEFOS_O_RDONLY -#define LEONOS_O_RDWR RELIEFOS_O_RDWR -#define LEONOS_O_TRUNC RELIEFOS_O_TRUNC -#define LEONOS_O_WRONLY RELIEFOS_O_WRONLY -#define LEONOS_SEEK_CUR RELIEFOS_SEEK_CUR -#define LEONOS_SEEK_END RELIEFOS_SEEK_END -#define LEONOS_SEEK_SET RELIEFOS_SEEK_SET -#define LEONOS_UAPI_FS_ABI_H RELIEFOS_UAPI_FS_ABI_H -#define leonos_dir_entry reliefos_dir_entry -#define leonos_dir_list reliefos_dir_list -#define leonos_fs_acl reliefos_fs_acl -#define leonos_fs_acl_ace reliefos_fs_acl_ace -#define leonos_fs_acl_get reliefos_fs_acl_get -#define leonos_fs_acl_repair reliefos_fs_acl_repair -#define leonos_fs_acl_set reliefos_fs_acl_set -#define leonos_fs_acl_take_ownership reliefos_fs_acl_take_ownership -#define leonos_fstat_legacy reliefos_fstat_legacy -#define leonos_list_dir reliefos_list_dir -#define leonos_readdir reliefos_readdir -#define leonos_stat reliefos_stat -#define leonos_stat_legacy reliefos_stat_legacy -#endif /* LEONOS_FS_H */ diff --git a/include/leonos/gpu.h b/include/leonos/gpu.h deleted file mode 100644 index 91f477b4..00000000 --- a/include/leonos/gpu.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_GPU_H -#define LEONOS_GPU_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_GPU_ABI_VERSION RELIEFOS_GPU_ABI_VERSION -#define LEONOS_GPU_AVAILABLE RELIEFOS_GPU_AVAILABLE -#define LEONOS_GPU_BUSY_ESTIMATED RELIEFOS_GPU_BUSY_ESTIMATED -#define LEONOS_GPU_ERROR_COPYOUT RELIEFOS_GPU_ERROR_COPYOUT -#define LEONOS_GPU_ERROR_DRAW RELIEFOS_GPU_ERROR_DRAW -#define LEONOS_GPU_ERROR_FENCE RELIEFOS_GPU_ERROR_FENCE -#define LEONOS_GPU_ERROR_NONE RELIEFOS_GPU_ERROR_NONE -#define LEONOS_GPU_ERROR_PREPARE RELIEFOS_GPU_ERROR_PREPARE -#define LEONOS_GPU_ERROR_READBACK RELIEFOS_GPU_ERROR_READBACK -#define LEONOS_GPU_ERROR_REAP RELIEFOS_GPU_ERROR_REAP -#define LEONOS_GPU_ERROR_STATE RELIEFOS_GPU_ERROR_STATE -#define LEONOS_GPU_ERROR_UPLOAD RELIEFOS_GPU_ERROR_UPLOAD -#define LEONOS_GPU_FILL_LINE RELIEFOS_GPU_FILL_LINE -#define LEONOS_GPU_FILL_POINT RELIEFOS_GPU_FILL_POINT -#define LEONOS_GPU_FILL_SOLID RELIEFOS_GPU_FILL_SOLID -#define LEONOS_GPU_MAX_DRAWS RELIEFOS_GPU_MAX_DRAWS -#define LEONOS_GPU_MAX_HEIGHT RELIEFOS_GPU_MAX_HEIGHT -#define LEONOS_GPU_MAX_VERTICES RELIEFOS_GPU_MAX_VERTICES -#define LEONOS_GPU_MAX_WIDTH RELIEFOS_GPU_MAX_WIDTH -#define LEONOS_IOCTL_GPU_CREATE RELIEFOS_IOCTL_GPU_CREATE -#define LEONOS_IOCTL_GPU_DESTROY RELIEFOS_IOCTL_GPU_DESTROY -#define LEONOS_IOCTL_GPU_DIAGNOSTICS RELIEFOS_IOCTL_GPU_DIAGNOSTICS -#define LEONOS_IOCTL_GPU_INFO RELIEFOS_IOCTL_GPU_INFO -#define LEONOS_IOCTL_GPU_RENDER RELIEFOS_IOCTL_GPU_RENDER -#define LEONOS_UAPI_GPU_ABI_H RELIEFOS_UAPI_GPU_ABI_H -#define leonos_gpu_context reliefos_gpu_context -#define leonos_gpu_create reliefos_gpu_create -#define leonos_gpu_destroy reliefos_gpu_destroy -#define leonos_gpu_diagnostics reliefos_gpu_diagnostics -#define leonos_gpu_draw reliefos_gpu_draw -#define leonos_gpu_frame reliefos_gpu_frame -#define leonos_gpu_info reliefos_gpu_info -#define leonos_gpu_render reliefos_gpu_render -#define leonos_gpu_vertex reliefos_gpu_vertex -#endif /* LEONOS_GPU_H */ diff --git a/include/leonos/gpu_sdk.h b/include/leonos/gpu_sdk.h deleted file mode 100644 index 584992c7..00000000 --- a/include/leonos/gpu_sdk.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_GPU_SDK_H -#define LEONOS_GPU_SDK_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_GPU_ABI_VERSION RELIEFOS_GPU_ABI_VERSION -#define LEONOS_GPU_AVAILABLE RELIEFOS_GPU_AVAILABLE -#define LEONOS_GPU_BUSY_ESTIMATED RELIEFOS_GPU_BUSY_ESTIMATED -#define LEONOS_GPU_ERROR_COPYOUT RELIEFOS_GPU_ERROR_COPYOUT -#define LEONOS_GPU_ERROR_DRAW RELIEFOS_GPU_ERROR_DRAW -#define LEONOS_GPU_ERROR_FENCE RELIEFOS_GPU_ERROR_FENCE -#define LEONOS_GPU_ERROR_NONE RELIEFOS_GPU_ERROR_NONE -#define LEONOS_GPU_ERROR_PREPARE RELIEFOS_GPU_ERROR_PREPARE -#define LEONOS_GPU_ERROR_READBACK RELIEFOS_GPU_ERROR_READBACK -#define LEONOS_GPU_ERROR_REAP RELIEFOS_GPU_ERROR_REAP -#define LEONOS_GPU_ERROR_STATE RELIEFOS_GPU_ERROR_STATE -#define LEONOS_GPU_ERROR_UPLOAD RELIEFOS_GPU_ERROR_UPLOAD -#define LEONOS_GPU_FILL_LINE RELIEFOS_GPU_FILL_LINE -#define LEONOS_GPU_FILL_POINT RELIEFOS_GPU_FILL_POINT -#define LEONOS_GPU_FILL_SOLID RELIEFOS_GPU_FILL_SOLID -#define LEONOS_GPU_H RELIEFOS_GPU_H -#define LEONOS_GPU_MAX_DRAWS RELIEFOS_GPU_MAX_DRAWS -#define LEONOS_GPU_MAX_HEIGHT RELIEFOS_GPU_MAX_HEIGHT -#define LEONOS_GPU_MAX_VERTICES RELIEFOS_GPU_MAX_VERTICES -#define LEONOS_GPU_MAX_WIDTH RELIEFOS_GPU_MAX_WIDTH -#define LEONOS_IOCTL_GPU_CREATE RELIEFOS_IOCTL_GPU_CREATE -#define LEONOS_IOCTL_GPU_DESTROY RELIEFOS_IOCTL_GPU_DESTROY -#define LEONOS_IOCTL_GPU_DIAGNOSTICS RELIEFOS_IOCTL_GPU_DIAGNOSTICS -#define LEONOS_IOCTL_GPU_INFO RELIEFOS_IOCTL_GPU_INFO -#define LEONOS_IOCTL_GPU_RENDER RELIEFOS_IOCTL_GPU_RENDER -#define LEONOS_UAPI_GPU_ABI_H RELIEFOS_UAPI_GPU_ABI_H -#define leonos_gpu_ reliefos_gpu_ -#define leonos_gpu_context reliefos_gpu_context -#define leonos_gpu_create reliefos_gpu_create -#define leonos_gpu_destroy reliefos_gpu_destroy -#define leonos_gpu_diagnostics reliefos_gpu_diagnostics -#define leonos_gpu_draw reliefos_gpu_draw -#define leonos_gpu_frame reliefos_gpu_frame -#define leonos_gpu_info reliefos_gpu_info -#define leonos_gpu_render reliefos_gpu_render -#define leonos_gpu_vertex reliefos_gpu_vertex -#endif /* LEONOS_GPU_SDK_H */ diff --git a/include/leonos/http.h b/include/leonos/http.h deleted file mode 100644 index 463fb256..00000000 --- a/include/leonos/http.h +++ /dev/null @@ -1,163 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_HTTP_H -#define LEONOS_HTTP_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_FS_ACL_ACE_INHERITED RELIEFOS_FS_ACL_ACE_INHERITED -#define LEONOS_FS_ACL_FLAG_CORRUPT RELIEFOS_FS_ACL_FLAG_CORRUPT -#define LEONOS_FS_ACL_FLAG_SYNTHETIC RELIEFOS_FS_ACL_FLAG_SYNTHETIC -#define LEONOS_FS_ACL_MAX_ACE RELIEFOS_FS_ACL_MAX_ACE -#define LEONOS_FS_ACL_PRINCIPAL_ADMINISTRATORS RELIEFOS_FS_ACL_PRINCIPAL_ADMINISTRATORS -#define LEONOS_FS_ACL_PRINCIPAL_EVERYONE RELIEFOS_FS_ACL_PRINCIPAL_EVERYONE -#define LEONOS_FS_ACL_PRINCIPAL_GROUP RELIEFOS_FS_ACL_PRINCIPAL_GROUP -#define LEONOS_FS_ACL_PRINCIPAL_OWNER RELIEFOS_FS_ACL_PRINCIPAL_OWNER -#define LEONOS_FS_ACL_PRINCIPAL_SYSTEM RELIEFOS_FS_ACL_PRINCIPAL_SYSTEM -#define LEONOS_FS_ACL_PRINCIPAL_USERS RELIEFOS_FS_ACL_PRINCIPAL_USERS -#define LEONOS_FS_ACL_VERSION RELIEFOS_FS_ACL_VERSION -#define LEONOS_FS_FILE_WRITE_SLICE_BYTES RELIEFOS_FS_FILE_WRITE_SLICE_BYTES -#define LEONOS_FS_H RELIEFOS_FS_H -#define LEONOS_FS_IO_SLICE_BYTES RELIEFOS_FS_IO_SLICE_BYTES -#define LEONOS_FS_MAX_ENTRIES RELIEFOS_FS_MAX_ENTRIES -#define LEONOS_FS_NAME_LEN RELIEFOS_FS_NAME_LEN -#define LEONOS_FS_PATH_LEN RELIEFOS_FS_PATH_LEN -#define LEONOS_FS_PERM_DELETE RELIEFOS_FS_PERM_DELETE -#define LEONOS_FS_PERM_EXEC RELIEFOS_FS_PERM_EXEC -#define LEONOS_FS_PERM_FULL RELIEFOS_FS_PERM_FULL -#define LEONOS_FS_PERM_MANAGE RELIEFOS_FS_PERM_MANAGE -#define LEONOS_FS_PERM_READ RELIEFOS_FS_PERM_READ -#define LEONOS_FS_PERM_WRITE RELIEFOS_FS_PERM_WRITE -#define LEONOS_FS_READ_SLICE_BYTES RELIEFOS_FS_READ_SLICE_BYTES -#define LEONOS_FS_TYPE_DEVICE RELIEFOS_FS_TYPE_DEVICE -#define LEONOS_FS_TYPE_DIR RELIEFOS_FS_TYPE_DIR -#define LEONOS_FS_TYPE_FIFO RELIEFOS_FS_TYPE_FIFO -#define LEONOS_FS_TYPE_FILE RELIEFOS_FS_TYPE_FILE -#define LEONOS_FS_TYPE_SOCKET RELIEFOS_FS_TYPE_SOCKET -#define LEONOS_FS_TYPE_SYMLINK RELIEFOS_FS_TYPE_SYMLINK -#define LEONOS_HTTP_BODY_MAX RELIEFOS_HTTP_BODY_MAX -#define LEONOS_HTTP_CONTENT_TYPE_LEN RELIEFOS_HTTP_CONTENT_TYPE_LEN -#define LEONOS_HTTP_DEFAULT_REDIRECTS RELIEFOS_HTTP_DEFAULT_REDIRECTS -#define LEONOS_HTTP_DEFAULT_TIMEOUT_MS RELIEFOS_HTTP_DEFAULT_TIMEOUT_MS -#define LEONOS_HTTP_FLAG_CHUNKED RELIEFOS_HTTP_FLAG_CHUNKED -#define LEONOS_HTTP_FLAG_CONTENT_LENGTH RELIEFOS_HTTP_FLAG_CONTENT_LENGTH -#define LEONOS_HTTP_FLAG_REDIRECTED RELIEFOS_HTTP_FLAG_REDIRECTED -#define LEONOS_HTTP_FLAG_TRUNCATED RELIEFOS_HTTP_FLAG_TRUNCATED -#define LEONOS_HTTP_HEADER_MAX RELIEFOS_HTTP_HEADER_MAX -#define LEONOS_HTTP_NO_REDIRECTS RELIEFOS_HTTP_NO_REDIRECTS -#define LEONOS_HTTP_URL_LEN RELIEFOS_HTTP_URL_LEN -#define LEONOS_NET_AF_INET RELIEFOS_NET_AF_INET -#define LEONOS_NET_CLOUDFLARE_DNS_IP RELIEFOS_NET_CLOUDFLARE_DNS_IP -#define LEONOS_NET_CONFIG_FLAG_ACTIVE RELIEFOS_NET_CONFIG_FLAG_ACTIVE -#define LEONOS_NET_CONFIG_FLAG_DHCP RELIEFOS_NET_CONFIG_FLAG_DHCP -#define LEONOS_NET_CONFIG_FLAG_PRESENT RELIEFOS_NET_CONFIG_FLAG_PRESENT -#define LEONOS_NET_CONFIG_SOURCE_DHCP RELIEFOS_NET_CONFIG_SOURCE_DHCP -#define LEONOS_NET_CONFIG_SOURCE_NONE RELIEFOS_NET_CONFIG_SOURCE_NONE -#define LEONOS_NET_CONFIG_SOURCE_STATIC RELIEFOS_NET_CONFIG_SOURCE_STATIC -#define LEONOS_NET_DEFAULT_DNS_IP RELIEFOS_NET_DEFAULT_DNS_IP -#define LEONOS_NET_DEFAULT_GATEWAY_IP RELIEFOS_NET_DEFAULT_GATEWAY_IP -#define LEONOS_NET_DEFAULT_LOCAL_IP RELIEFOS_NET_DEFAULT_LOCAL_IP -#define LEONOS_NET_DEFAULT_SUBNET_MASK RELIEFOS_NET_DEFAULT_SUBNET_MASK -#define LEONOS_NET_DEFAULT_TIMEOUT_MS RELIEFOS_NET_DEFAULT_TIMEOUT_MS -#define LEONOS_NET_DNS_MAX_ADDRESSES RELIEFOS_NET_DNS_MAX_ADDRESSES -#define LEONOS_NET_DNS_MODE_CLOUDFLARE RELIEFOS_NET_DNS_MODE_CLOUDFLARE -#define LEONOS_NET_DNS_MODE_CUSTOM RELIEFOS_NET_DNS_MODE_CUSTOM -#define LEONOS_NET_DNS_MODE_DHCP RELIEFOS_NET_DNS_MODE_DHCP -#define LEONOS_NET_DNS_MODE_QUERY RELIEFOS_NET_DNS_MODE_QUERY -#define LEONOS_NET_H RELIEFOS_NET_H -#define LEONOS_NET_HOSTNAME_LEN RELIEFOS_NET_HOSTNAME_LEN -#define LEONOS_NET_HTTP_PATH_LEN RELIEFOS_NET_HTTP_PATH_LEN -#define LEONOS_NET_HTTP_RESPONSE_MAX RELIEFOS_NET_HTTP_RESPONSE_MAX -#define LEONOS_NET_IPPROTO_TCP RELIEFOS_NET_IPPROTO_TCP -#define LEONOS_NET_MAX_TIMEOUT_MS RELIEFOS_NET_MAX_TIMEOUT_MS -#define LEONOS_NET_SOCKET_MAX RELIEFOS_NET_SOCKET_MAX -#define LEONOS_NET_SOCK_STREAM RELIEFOS_NET_SOCK_STREAM -#define LEONOS_NET_STATUS_ARP_TIMEOUT RELIEFOS_NET_STATUS_ARP_TIMEOUT -#define LEONOS_NET_STATUS_BAD_ARGUMENT RELIEFOS_NET_STATUS_BAD_ARGUMENT -#define LEONOS_NET_STATUS_DHCP_FAILED RELIEFOS_NET_STATUS_DHCP_FAILED -#define LEONOS_NET_STATUS_DHCP_TIMEOUT RELIEFOS_NET_STATUS_DHCP_TIMEOUT -#define LEONOS_NET_STATUS_DNS_FAILED RELIEFOS_NET_STATUS_DNS_FAILED -#define LEONOS_NET_STATUS_DNS_NO_ANSWER RELIEFOS_NET_STATUS_DNS_NO_ANSWER -#define LEONOS_NET_STATUS_DNS_TIMEOUT RELIEFOS_NET_STATUS_DNS_TIMEOUT -#define LEONOS_NET_STATUS_ECHO_TIMEOUT RELIEFOS_NET_STATUS_ECHO_TIMEOUT -#define LEONOS_NET_STATUS_HTTP_FAILED RELIEFOS_NET_STATUS_HTTP_FAILED -#define LEONOS_NET_STATUS_HTTP_TOO_LARGE RELIEFOS_NET_STATUS_HTTP_TOO_LARGE -#define LEONOS_NET_STATUS_NO_ADDRESS RELIEFOS_NET_STATUS_NO_ADDRESS -#define LEONOS_NET_STATUS_NO_DEVICE RELIEFOS_NET_STATUS_NO_DEVICE -#define LEONOS_NET_STATUS_NTP_INVALID RELIEFOS_NET_STATUS_NTP_INVALID -#define LEONOS_NET_STATUS_NTP_TIMEOUT RELIEFOS_NET_STATUS_NTP_TIMEOUT -#define LEONOS_NET_STATUS_OK RELIEFOS_NET_STATUS_OK -#define LEONOS_NET_STATUS_PROTOCOL_UNSUPPORTED RELIEFOS_NET_STATUS_PROTOCOL_UNSUPPORTED -#define LEONOS_NET_STATUS_SOCKET_BAD_HANDLE RELIEFOS_NET_STATUS_SOCKET_BAD_HANDLE -#define LEONOS_NET_STATUS_SOCKET_CLOSED RELIEFOS_NET_STATUS_SOCKET_CLOSED -#define LEONOS_NET_STATUS_SOCKET_LIMIT RELIEFOS_NET_STATUS_SOCKET_LIMIT -#define LEONOS_NET_STATUS_SOCKET_NOT_CONNECTED RELIEFOS_NET_STATUS_SOCKET_NOT_CONNECTED -#define LEONOS_NET_STATUS_TCP_FAILED RELIEFOS_NET_STATUS_TCP_FAILED -#define LEONOS_NET_STATUS_TCP_RESET RELIEFOS_NET_STATUS_TCP_RESET -#define LEONOS_NET_STATUS_TCP_TIMEOUT RELIEFOS_NET_STATUS_TCP_TIMEOUT -#define LEONOS_NET_STATUS_TLS_FAILED RELIEFOS_NET_STATUS_TLS_FAILED -#define LEONOS_NET_STATUS_TX_FAILED RELIEFOS_NET_STATUS_TX_FAILED -#define LEONOS_NET_TCP_CLOSED RELIEFOS_NET_TCP_CLOSED -#define LEONOS_NET_TCP_ESTABLISHED RELIEFOS_NET_TCP_ESTABLISHED -#define LEONOS_NET_TCP_SYN_SENT RELIEFOS_NET_TCP_SYN_SENT -#define LEONOS_NET_TCP_TIME_WAIT RELIEFOS_NET_TCP_TIME_WAIT -#define LEONOS_O_ACCMODE RELIEFOS_O_ACCMODE -#define LEONOS_O_APPEND RELIEFOS_O_APPEND -#define LEONOS_O_CLOEXEC RELIEFOS_O_CLOEXEC -#define LEONOS_O_CREAT RELIEFOS_O_CREAT -#define LEONOS_O_DIRECTORY RELIEFOS_O_DIRECTORY -#define LEONOS_O_EXCL RELIEFOS_O_EXCL -#define LEONOS_O_NOFOLLOW RELIEFOS_O_NOFOLLOW -#define LEONOS_O_NONBLOCK RELIEFOS_O_NONBLOCK -#define LEONOS_O_RDONLY RELIEFOS_O_RDONLY -#define LEONOS_O_RDWR RELIEFOS_O_RDWR -#define LEONOS_O_TRUNC RELIEFOS_O_TRUNC -#define LEONOS_O_WRONLY RELIEFOS_O_WRONLY -#define LEONOS_SEEK_CUR RELIEFOS_SEEK_CUR -#define LEONOS_SEEK_END RELIEFOS_SEEK_END -#define LEONOS_SEEK_SET RELIEFOS_SEEK_SET -#define LEONOS_UAPI_FS_ABI_H RELIEFOS_UAPI_FS_ABI_H -#define LEONOS_UAPI_NET_ABI_H RELIEFOS_UAPI_NET_ABI_H -#define leonos_dir_entry reliefos_dir_entry -#define leonos_dir_list reliefos_dir_list -#define leonos_fs_acl reliefos_fs_acl -#define leonos_fs_acl_ace reliefos_fs_acl_ace -#define leonos_fs_acl_get reliefos_fs_acl_get -#define leonos_fs_acl_repair reliefos_fs_acl_repair -#define leonos_fs_acl_set reliefos_fs_acl_set -#define leonos_fs_acl_take_ownership reliefos_fs_acl_take_ownership -#define leonos_fstat_legacy reliefos_fstat_legacy -#define leonos_http_download reliefos_http_download -#define leonos_http_download_progress_fn reliefos_http_download_progress_fn -#define leonos_http_get reliefos_http_get -#define leonos_http_request reliefos_http_request -#define leonos_http_resolve_url reliefos_http_resolve_url -#define leonos_http_response reliefos_http_response -#define leonos_list_dir reliefos_list_dir -#define leonos_net_config reliefos_net_config -#define leonos_net_connection_info reliefos_net_connection_info -#define leonos_net_connection_list reliefos_net_connection_list -#define leonos_net_connections reliefos_net_connections -#define leonos_net_dhcp reliefos_net_dhcp -#define leonos_net_dhcp_renew reliefos_net_dhcp_renew -#define leonos_net_dns reliefos_net_dns -#define leonos_net_dns_policy reliefos_net_dns_policy -#define leonos_net_dns_resolve reliefos_net_dns_resolve -#define leonos_net_get_dns_policy reliefos_net_get_dns_policy -#define leonos_net_http_get reliefos_net_http_get -#define leonos_net_ping reliefos_net_ping -#define leonos_net_set_dns_policy reliefos_net_set_dns_policy -#define leonos_net_socket_close reliefos_net_socket_close -#define leonos_net_socket_connect reliefos_net_socket_connect -#define leonos_net_socket_io reliefos_net_socket_io -#define leonos_net_socket_open reliefos_net_socket_open -#define leonos_readdir reliefos_readdir -#define leonos_socket_close reliefos_socket_close -#define leonos_socket_connect reliefos_socket_connect -#define leonos_socket_recv reliefos_socket_recv -#define leonos_socket_send reliefos_socket_send -#define leonos_socket_tcp reliefos_socket_tcp -#define leonos_stat reliefos_stat -#define leonos_stat_legacy reliefos_stat_legacy -#endif /* LEONOS_HTTP_H */ diff --git a/include/leonos/ini.h b/include/leonos/ini.h deleted file mode 100644 index 5cd06c5e..00000000 --- a/include/leonos/ini.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_INI_H -#define LEONOS_INI_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_INI_MAX_KEYS_PER_SECTION RELIEFOS_INI_MAX_KEYS_PER_SECTION -#define LEONOS_INI_MAX_SECTIONS RELIEFOS_INI_MAX_SECTIONS -#define LEONOS_INI_MAX_SIZE RELIEFOS_INI_MAX_SIZE -#define LEONOS_INI_NAME_LEN RELIEFOS_INI_NAME_LEN -#define LEONOS_INI_VALUE_LEN RELIEFOS_INI_VALUE_LEN -#define leonos_ini_get reliefos_ini_get -#define leonos_ini_key_count reliefos_ini_key_count -#define leonos_ini_key_name reliefos_ini_key_name -#define leonos_ini_load reliefos_ini_load -#define leonos_ini_load_strict reliefos_ini_load_strict -#define leonos_ini_section_count reliefos_ini_section_count -#define leonos_ini_section_name reliefos_ini_section_name -#endif /* LEONOS_INI_H */ diff --git a/include/leonos/inputm.h b/include/leonos/inputm.h deleted file mode 100644 index b7868c9b..00000000 --- a/include/leonos/inputm.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_INPUTM_H -#define LEONOS_INPUTM_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_INPUTM_ABBREV_LEN RELIEFOS_INPUTM_ABBREV_LEN -#define LEONOS_INPUTM_CONTEXT_FOCUSED RELIEFOS_INPUTM_CONTEXT_FOCUSED -#define LEONOS_INPUTM_CONTEXT_SECURE RELIEFOS_INPUTM_CONTEXT_SECURE -#define LEONOS_INPUTM_ID_LEN RELIEFOS_INPUTM_ID_LEN -#define LEONOS_INPUTM_MAX_CANDIDATES RELIEFOS_INPUTM_MAX_CANDIDATES -#define LEONOS_INPUTM_MAX_PROVIDERS RELIEFOS_INPUTM_MAX_PROVIDERS -#define LEONOS_INPUTM_NAME_LEN RELIEFOS_INPUTM_NAME_LEN -#define LEONOS_INPUTM_RENDER_CONTROLS RELIEFOS_INPUTM_RENDER_CONTROLS -#define LEONOS_INPUTM_RENDER_PIXELS RELIEFOS_INPUTM_RENDER_PIXELS -#define LEONOS_INPUTM_RESULT_CANCEL RELIEFOS_INPUTM_RESULT_CANCEL -#define LEONOS_INPUTM_RESULT_COMMIT RELIEFOS_INPUTM_RESULT_COMMIT -#define LEONOS_INPUTM_RESULT_COMPOSITION RELIEFOS_INPUTM_RESULT_COMPOSITION -#define LEONOS_INPUTM_RESULT_PASSTHROUGH RELIEFOS_INPUTM_RESULT_PASSTHROUGH -#define LEONOS_INPUTM_START_LOGIN RELIEFOS_INPUTM_START_LOGIN -#define LEONOS_INPUTM_START_MANUAL RELIEFOS_INPUTM_START_MANUAL -#define LEONOS_INPUTM_START_ON_DEMAND RELIEFOS_INPUTM_START_ON_DEMAND -#define LEONOS_INPUTM_TEXT_LEN RELIEFOS_INPUTM_TEXT_LEN -#define LEONOS_UAPI_INPUTM_ABI_H RELIEFOS_UAPI_INPUTM_ABI_H -#define leonos_inputm_active_request reliefos_inputm_active_request -#define leonos_inputm_config_request reliefos_inputm_config_request -#define leonos_inputm_context reliefos_inputm_context -#define leonos_inputm_get_state reliefos_inputm_get_state -#define leonos_inputm_key_event reliefos_inputm_key_event -#define leonos_inputm_list reliefos_inputm_list -#define leonos_inputm_notify_config reliefos_inputm_notify_config -#define leonos_inputm_poll_result reliefos_inputm_poll_result -#define leonos_inputm_provider reliefos_inputm_provider -#define leonos_inputm_provider_list reliefos_inputm_provider_list -#define leonos_inputm_provider_next reliefos_inputm_provider_next -#define leonos_inputm_provider_result reliefos_inputm_provider_result -#define leonos_inputm_register reliefos_inputm_register -#define leonos_inputm_result reliefos_inputm_result -#define leonos_inputm_set_active reliefos_inputm_set_active -#define leonos_inputm_set_context reliefos_inputm_set_context -#define leonos_inputm_state reliefos_inputm_state -#define leonos_inputm_submit_key reliefos_inputm_submit_key -#define leonos_inputm_unregister reliefos_inputm_unregister -#endif /* LEONOS_INPUTM_H */ diff --git a/include/leonos/lat15_vga16.psf b/include/leonos/lat15_vga16.psf deleted file mode 100644 index 0902d64c..00000000 Binary files a/include/leonos/lat15_vga16.psf and /dev/null differ diff --git a/include/leonos/lat15_vga16_psf.inc b/include/leonos/lat15_vga16_psf.inc deleted file mode 100644 index b99dbb55..00000000 --- a/include/leonos/lat15_vga16_psf.inc +++ /dev/null @@ -1,11 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_COMPAT_INCLUDE_LEONOS_LAT15_VGA16_PSF_INC -#define LEONOS_COMPAT_INCLUDE_LEONOS_LAT15_VGA16_PSF_INC -#include - -/* Old names alias the single canonical declaration. */ -#define leonos_lat15_vga16_psf reliefos_lat15_vga16_psf -#define leonos_lat15_vga16_psf_len reliefos_lat15_vga16_psf_len -#endif /* LEONOS_COMPAT_INCLUDE_LEONOS_LAT15_VGA16_PSF_INC */ diff --git a/include/leonos/launch_result.h b/include/leonos/launch_result.h deleted file mode 100644 index 7e7068cc..00000000 --- a/include/leonos/launch_result.h +++ /dev/null @@ -1,13 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_LAUNCH_RESULT_H -#define LEONOS_LAUNCH_RESULT_H -#include - -/* Old names alias the single canonical declaration. */ -#define leonos_launch_errno reliefos_launch_errno -#define leonos_launch_error_kind reliefos_launch_error_kind -#define leonos_launch_error_text reliefos_launch_error_text -#define leonos_launch_is_error reliefos_launch_is_error -#endif /* LEONOS_LAUNCH_RESULT_H */ diff --git a/include/leonos/layout.h b/include/leonos/layout.h deleted file mode 100644 index 2f29b1b0..00000000 --- a/include/leonos/layout.h +++ /dev/null @@ -1,76 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_LAYOUT_H -#define LEONOS_LAYOUT_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_DEFAULT_PATH RELIEFOS_DEFAULT_PATH -#define LEONOS_LAYOUT_BIN RELIEFOS_LAYOUT_BIN -#define LEONOS_LAYOUT_BOOT RELIEFOS_LAYOUT_BOOT -#define LEONOS_LAYOUT_ETC_LEONOS RELIEFOS_LAYOUT_ETC_RELIEFOS -#define LEONOS_LAYOUT_ETC_SSL_CERTS RELIEFOS_LAYOUT_ETC_SSL_CERTS -#define LEONOS_LAYOUT_LEONOS_APPS RELIEFOS_LAYOUT_RELIEFOS_APPS -#define LEONOS_LAYOUT_LEONOS_DOC RELIEFOS_LAYOUT_RELIEFOS_DOC -#define LEONOS_LAYOUT_LEONOS_FONTS RELIEFOS_LAYOUT_RELIEFOS_FONTS -#define LEONOS_LAYOUT_LEONOS_LIB RELIEFOS_LAYOUT_RELIEFOS_LIB -#define LEONOS_LAYOUT_LEONOS_RESOURCES RELIEFOS_LAYOUT_RELIEFOS_RESOURCES -#define LEONOS_LAYOUT_LEONOS_SHARE RELIEFOS_LAYOUT_RELIEFOS_SHARE -#define LEONOS_LAYOUT_LEONOS_TESTS RELIEFOS_LAYOUT_RELIEFOS_TESTS -#define LEONOS_LAYOUT_LIB RELIEFOS_LAYOUT_LIB -#define LEONOS_LAYOUT_LICENSES RELIEFOS_LAYOUT_LICENSES -#define LEONOS_LAYOUT_LOCALE RELIEFOS_LAYOUT_LOCALE -#define LEONOS_LAYOUT_MISC RELIEFOS_LAYOUT_MISC -#define LEONOS_LAYOUT_OPT_DYNE RELIEFOS_LAYOUT_OPT_DYNE -#define LEONOS_LAYOUT_OPT_PYTHON RELIEFOS_LAYOUT_OPT_PYTHON -#define LEONOS_LAYOUT_RUN_LEONOS RELIEFOS_LAYOUT_RUN_RELIEFOS -#define LEONOS_LAYOUT_SBIN RELIEFOS_LAYOUT_SBIN -#define LEONOS_LAYOUT_SRV RELIEFOS_LAYOUT_SRV -#define LEONOS_LAYOUT_TERMINFO RELIEFOS_LAYOUT_TERMINFO -#define LEONOS_LAYOUT_USR_BIN RELIEFOS_LAYOUT_USR_BIN -#define LEONOS_LAYOUT_USR_LIB RELIEFOS_LAYOUT_USR_LIB -#define LEONOS_LAYOUT_USR_SBIN RELIEFOS_LAYOUT_USR_SBIN -#define LEONOS_LAYOUT_USR_SHARE RELIEFOS_LAYOUT_USR_SHARE -#define LEONOS_LAYOUT_VAR_CACHE_LEONOS RELIEFOS_LAYOUT_VAR_CACHE_RELIEFOS -#define LEONOS_LAYOUT_VAR_LIB_LEONOS RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS -#define LEONOS_LAYOUT_VAR_LOG RELIEFOS_LAYOUT_VAR_LOG -#define LEONOS_LAYOUT_VAR_TMP RELIEFOS_LAYOUT_VAR_TMP -#define LEONOS_PATH_ACCOUNTS_DB RELIEFOS_PATH_ACCOUNTS_DB -#define LEONOS_PATH_BOOT_DISPLAY_CONF RELIEFOS_PATH_BOOT_DISPLAY_CONF -#define LEONOS_PATH_BOOT_KERNEL RELIEFOS_PATH_BOOT_KERNEL -#define LEONOS_PATH_BROWSER_CJK_FONT RELIEFOS_PATH_BROWSER_CJK_FONT -#define LEONOS_PATH_BROWSER_FONT RELIEFOS_PATH_BROWSER_FONT -#define LEONOS_PATH_CACERT RELIEFOS_PATH_CACERT -#define LEONOS_PATH_DISPLAY_CONF RELIEFOS_PATH_DISPLAY_CONF -#define LEONOS_PATH_ENVIRONMENT_CONF RELIEFOS_PATH_ENVIRONMENT_CONF -#define LEONOS_PATH_FILEASSOC_CFG RELIEFOS_PATH_FILEASSOC_CFG -#define LEONOS_PATH_GLIBC_INTERP RELIEFOS_PATH_GLIBC_INTERP -#define LEONOS_PATH_HELP RELIEFOS_PATH_HELP -#define LEONOS_PATH_LEONOS_CONF RELIEFOS_PATH_RELIEFOS_CONF -#define LEONOS_PATH_LESSKEY RELIEFOS_PATH_LESSKEY -#define LEONOS_PATH_LIBC RELIEFOS_PATH_LIBC -#define LEONOS_PATH_LIBLEONOS RELIEFOS_PATH_LIBRELIEFOS -#define LEONOS_PATH_LIBLEONOS_COMPAT RELIEFOS_PATH_LIBRELIEFOS_COMPAT -#define LEONOS_PATH_LIBMIMALLOC RELIEFOS_PATH_LIBMIMALLOC -#define LEONOS_PATH_LOCALE_CONF RELIEFOS_PATH_LOCALE_CONF -#define LEONOS_PATH_LOGO_PNG RELIEFOS_PATH_LOGO_PNG -#define LEONOS_PATH_MAGIC RELIEFOS_PATH_MAGIC -#define LEONOS_PATH_MINESWEEPER_FLAG_BMP RELIEFOS_PATH_MINESWEEPER_FLAG_BMP -#define LEONOS_PATH_MINESWEEPER_MINE_BMP RELIEFOS_PATH_MINESWEEPER_MINE_BMP -#define LEONOS_PATH_MUSL_INTERP RELIEFOS_PATH_MUSL_INTERP -#define LEONOS_PATH_NETWORK_BAK RELIEFOS_PATH_NETWORK_BAK -#define LEONOS_PATH_NETWORK_CONF RELIEFOS_PATH_NETWORK_CONF -#define LEONOS_PATH_NETWORK_TMP RELIEFOS_PATH_NETWORK_TMP -#define LEONOS_PATH_OLD_NATIVE_INTERP RELIEFOS_PATH_OLD_NATIVE_INTERP -#define LEONOS_PATH_OOBE_DONE RELIEFOS_PATH_OOBE_DONE -#define LEONOS_PATH_SESSION_USER RELIEFOS_PATH_SESSION_USER -#define LEONOS_PATH_STARTUP_DB RELIEFOS_PATH_STARTUP_DB -#define LEONOS_PATH_STARTUP_DENIALS_DB RELIEFOS_PATH_STARTUP_DENIALS_DB -#define LEONOS_PATH_SYSTEM_FONT RELIEFOS_PATH_SYSTEM_FONT -#define LEONOS_PATH_USERS_DB RELIEFOS_PATH_USERS_DB -#define LEONOS_ROOTFS_DIRECTORIES RELIEFOS_ROOTFS_DIRECTORIES -#define LEONOS_ROOTFS_H RELIEFOS_ROOTFS_H -#define LEONOS_ROOTFS_SYMLINKS RELIEFOS_ROOTFS_SYMLINKS -#define leonos_layout reliefos_layout -#endif /* LEONOS_LAYOUT_H */ diff --git a/include/leonos/net.h b/include/leonos/net.h deleted file mode 100644 index 0fc3ef3e..00000000 --- a/include/leonos/net.h +++ /dev/null @@ -1,86 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_NET_H -#define LEONOS_NET_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_NET_AF_INET RELIEFOS_NET_AF_INET -#define LEONOS_NET_CLOUDFLARE_DNS_IP RELIEFOS_NET_CLOUDFLARE_DNS_IP -#define LEONOS_NET_CONFIG_FLAG_ACTIVE RELIEFOS_NET_CONFIG_FLAG_ACTIVE -#define LEONOS_NET_CONFIG_FLAG_DHCP RELIEFOS_NET_CONFIG_FLAG_DHCP -#define LEONOS_NET_CONFIG_FLAG_PRESENT RELIEFOS_NET_CONFIG_FLAG_PRESENT -#define LEONOS_NET_CONFIG_SOURCE_DHCP RELIEFOS_NET_CONFIG_SOURCE_DHCP -#define LEONOS_NET_CONFIG_SOURCE_NONE RELIEFOS_NET_CONFIG_SOURCE_NONE -#define LEONOS_NET_CONFIG_SOURCE_STATIC RELIEFOS_NET_CONFIG_SOURCE_STATIC -#define LEONOS_NET_DEFAULT_DNS_IP RELIEFOS_NET_DEFAULT_DNS_IP -#define LEONOS_NET_DEFAULT_GATEWAY_IP RELIEFOS_NET_DEFAULT_GATEWAY_IP -#define LEONOS_NET_DEFAULT_LOCAL_IP RELIEFOS_NET_DEFAULT_LOCAL_IP -#define LEONOS_NET_DEFAULT_SUBNET_MASK RELIEFOS_NET_DEFAULT_SUBNET_MASK -#define LEONOS_NET_DEFAULT_TIMEOUT_MS RELIEFOS_NET_DEFAULT_TIMEOUT_MS -#define LEONOS_NET_DNS_MAX_ADDRESSES RELIEFOS_NET_DNS_MAX_ADDRESSES -#define LEONOS_NET_DNS_MODE_CLOUDFLARE RELIEFOS_NET_DNS_MODE_CLOUDFLARE -#define LEONOS_NET_DNS_MODE_CUSTOM RELIEFOS_NET_DNS_MODE_CUSTOM -#define LEONOS_NET_DNS_MODE_DHCP RELIEFOS_NET_DNS_MODE_DHCP -#define LEONOS_NET_DNS_MODE_QUERY RELIEFOS_NET_DNS_MODE_QUERY -#define LEONOS_NET_HOSTNAME_LEN RELIEFOS_NET_HOSTNAME_LEN -#define LEONOS_NET_HTTP_PATH_LEN RELIEFOS_NET_HTTP_PATH_LEN -#define LEONOS_NET_HTTP_RESPONSE_MAX RELIEFOS_NET_HTTP_RESPONSE_MAX -#define LEONOS_NET_IPPROTO_TCP RELIEFOS_NET_IPPROTO_TCP -#define LEONOS_NET_MAX_TIMEOUT_MS RELIEFOS_NET_MAX_TIMEOUT_MS -#define LEONOS_NET_SOCKET_MAX RELIEFOS_NET_SOCKET_MAX -#define LEONOS_NET_SOCK_STREAM RELIEFOS_NET_SOCK_STREAM -#define LEONOS_NET_STATUS_ARP_TIMEOUT RELIEFOS_NET_STATUS_ARP_TIMEOUT -#define LEONOS_NET_STATUS_BAD_ARGUMENT RELIEFOS_NET_STATUS_BAD_ARGUMENT -#define LEONOS_NET_STATUS_DHCP_FAILED RELIEFOS_NET_STATUS_DHCP_FAILED -#define LEONOS_NET_STATUS_DHCP_TIMEOUT RELIEFOS_NET_STATUS_DHCP_TIMEOUT -#define LEONOS_NET_STATUS_DNS_FAILED RELIEFOS_NET_STATUS_DNS_FAILED -#define LEONOS_NET_STATUS_DNS_NO_ANSWER RELIEFOS_NET_STATUS_DNS_NO_ANSWER -#define LEONOS_NET_STATUS_DNS_TIMEOUT RELIEFOS_NET_STATUS_DNS_TIMEOUT -#define LEONOS_NET_STATUS_ECHO_TIMEOUT RELIEFOS_NET_STATUS_ECHO_TIMEOUT -#define LEONOS_NET_STATUS_HTTP_FAILED RELIEFOS_NET_STATUS_HTTP_FAILED -#define LEONOS_NET_STATUS_HTTP_TOO_LARGE RELIEFOS_NET_STATUS_HTTP_TOO_LARGE -#define LEONOS_NET_STATUS_NO_ADDRESS RELIEFOS_NET_STATUS_NO_ADDRESS -#define LEONOS_NET_STATUS_NO_DEVICE RELIEFOS_NET_STATUS_NO_DEVICE -#define LEONOS_NET_STATUS_NTP_INVALID RELIEFOS_NET_STATUS_NTP_INVALID -#define LEONOS_NET_STATUS_NTP_TIMEOUT RELIEFOS_NET_STATUS_NTP_TIMEOUT -#define LEONOS_NET_STATUS_OK RELIEFOS_NET_STATUS_OK -#define LEONOS_NET_STATUS_PROTOCOL_UNSUPPORTED RELIEFOS_NET_STATUS_PROTOCOL_UNSUPPORTED -#define LEONOS_NET_STATUS_SOCKET_BAD_HANDLE RELIEFOS_NET_STATUS_SOCKET_BAD_HANDLE -#define LEONOS_NET_STATUS_SOCKET_CLOSED RELIEFOS_NET_STATUS_SOCKET_CLOSED -#define LEONOS_NET_STATUS_SOCKET_LIMIT RELIEFOS_NET_STATUS_SOCKET_LIMIT -#define LEONOS_NET_STATUS_SOCKET_NOT_CONNECTED RELIEFOS_NET_STATUS_SOCKET_NOT_CONNECTED -#define LEONOS_NET_STATUS_TCP_FAILED RELIEFOS_NET_STATUS_TCP_FAILED -#define LEONOS_NET_STATUS_TCP_RESET RELIEFOS_NET_STATUS_TCP_RESET -#define LEONOS_NET_STATUS_TCP_TIMEOUT RELIEFOS_NET_STATUS_TCP_TIMEOUT -#define LEONOS_NET_STATUS_TLS_FAILED RELIEFOS_NET_STATUS_TLS_FAILED -#define LEONOS_NET_STATUS_TX_FAILED RELIEFOS_NET_STATUS_TX_FAILED -#define LEONOS_NET_TCP_CLOSED RELIEFOS_NET_TCP_CLOSED -#define LEONOS_NET_TCP_ESTABLISHED RELIEFOS_NET_TCP_ESTABLISHED -#define LEONOS_NET_TCP_SYN_SENT RELIEFOS_NET_TCP_SYN_SENT -#define LEONOS_NET_TCP_TIME_WAIT RELIEFOS_NET_TCP_TIME_WAIT -#define LEONOS_UAPI_NET_ABI_H RELIEFOS_UAPI_NET_ABI_H -#define leonos_net_config reliefos_net_config -#define leonos_net_connection_info reliefos_net_connection_info -#define leonos_net_connection_list reliefos_net_connection_list -#define leonos_net_connections reliefos_net_connections -#define leonos_net_dhcp reliefos_net_dhcp -#define leonos_net_dhcp_renew reliefos_net_dhcp_renew -#define leonos_net_dns reliefos_net_dns -#define leonos_net_dns_policy reliefos_net_dns_policy -#define leonos_net_dns_resolve reliefos_net_dns_resolve -#define leonos_net_get_dns_policy reliefos_net_get_dns_policy -#define leonos_net_http_get reliefos_net_http_get -#define leonos_net_ping reliefos_net_ping -#define leonos_net_set_dns_policy reliefos_net_set_dns_policy -#define leonos_net_socket_close reliefos_net_socket_close -#define leonos_net_socket_connect reliefos_net_socket_connect -#define leonos_net_socket_io reliefos_net_socket_io -#define leonos_net_socket_open reliefos_net_socket_open -#define leonos_socket_close reliefos_socket_close -#define leonos_socket_connect reliefos_socket_connect -#define leonos_socket_recv reliefos_socket_recv -#define leonos_socket_send reliefos_socket_send -#define leonos_socket_tcp reliefos_socket_tcp -#endif /* LEONOS_NET_H */ diff --git a/include/leonos/net_service.h b/include/leonos/net_service.h deleted file mode 100644 index 13efb624..00000000 --- a/include/leonos/net_service.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_NET_SERVICE_H -#define LEONOS_NET_SERVICE_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_NET_AF_INET RELIEFOS_NET_AF_INET -#define LEONOS_NET_CLOUDFLARE_DNS_IP RELIEFOS_NET_CLOUDFLARE_DNS_IP -#define LEONOS_NET_CONFIG_FLAG_ACTIVE RELIEFOS_NET_CONFIG_FLAG_ACTIVE -#define LEONOS_NET_CONFIG_FLAG_DHCP RELIEFOS_NET_CONFIG_FLAG_DHCP -#define LEONOS_NET_CONFIG_FLAG_PRESENT RELIEFOS_NET_CONFIG_FLAG_PRESENT -#define LEONOS_NET_CONFIG_SOURCE_DHCP RELIEFOS_NET_CONFIG_SOURCE_DHCP -#define LEONOS_NET_CONFIG_SOURCE_NONE RELIEFOS_NET_CONFIG_SOURCE_NONE -#define LEONOS_NET_CONFIG_SOURCE_STATIC RELIEFOS_NET_CONFIG_SOURCE_STATIC -#define LEONOS_NET_DEFAULT_DNS_IP RELIEFOS_NET_DEFAULT_DNS_IP -#define LEONOS_NET_DEFAULT_GATEWAY_IP RELIEFOS_NET_DEFAULT_GATEWAY_IP -#define LEONOS_NET_DEFAULT_LOCAL_IP RELIEFOS_NET_DEFAULT_LOCAL_IP -#define LEONOS_NET_DEFAULT_SUBNET_MASK RELIEFOS_NET_DEFAULT_SUBNET_MASK -#define LEONOS_NET_DEFAULT_TIMEOUT_MS RELIEFOS_NET_DEFAULT_TIMEOUT_MS -#define LEONOS_NET_DNS_MAX_ADDRESSES RELIEFOS_NET_DNS_MAX_ADDRESSES -#define LEONOS_NET_DNS_MODE_CLOUDFLARE RELIEFOS_NET_DNS_MODE_CLOUDFLARE -#define LEONOS_NET_DNS_MODE_CUSTOM RELIEFOS_NET_DNS_MODE_CUSTOM -#define LEONOS_NET_DNS_MODE_DHCP RELIEFOS_NET_DNS_MODE_DHCP -#define LEONOS_NET_DNS_MODE_QUERY RELIEFOS_NET_DNS_MODE_QUERY -#define LEONOS_NET_H RELIEFOS_NET_H -#define LEONOS_NET_HOSTNAME_LEN RELIEFOS_NET_HOSTNAME_LEN -#define LEONOS_NET_HTTP_PATH_LEN RELIEFOS_NET_HTTP_PATH_LEN -#define LEONOS_NET_HTTP_RESPONSE_MAX RELIEFOS_NET_HTTP_RESPONSE_MAX -#define LEONOS_NET_IPPROTO_TCP RELIEFOS_NET_IPPROTO_TCP -#define LEONOS_NET_MAX_TIMEOUT_MS RELIEFOS_NET_MAX_TIMEOUT_MS -#define LEONOS_NET_SOCKET_MAX RELIEFOS_NET_SOCKET_MAX -#define LEONOS_NET_SOCK_STREAM RELIEFOS_NET_SOCK_STREAM -#define LEONOS_NET_STATUS_ARP_TIMEOUT RELIEFOS_NET_STATUS_ARP_TIMEOUT -#define LEONOS_NET_STATUS_BAD_ARGUMENT RELIEFOS_NET_STATUS_BAD_ARGUMENT -#define LEONOS_NET_STATUS_DHCP_FAILED RELIEFOS_NET_STATUS_DHCP_FAILED -#define LEONOS_NET_STATUS_DHCP_TIMEOUT RELIEFOS_NET_STATUS_DHCP_TIMEOUT -#define LEONOS_NET_STATUS_DNS_FAILED RELIEFOS_NET_STATUS_DNS_FAILED -#define LEONOS_NET_STATUS_DNS_NO_ANSWER RELIEFOS_NET_STATUS_DNS_NO_ANSWER -#define LEONOS_NET_STATUS_DNS_TIMEOUT RELIEFOS_NET_STATUS_DNS_TIMEOUT -#define LEONOS_NET_STATUS_ECHO_TIMEOUT RELIEFOS_NET_STATUS_ECHO_TIMEOUT -#define LEONOS_NET_STATUS_HTTP_FAILED RELIEFOS_NET_STATUS_HTTP_FAILED -#define LEONOS_NET_STATUS_HTTP_TOO_LARGE RELIEFOS_NET_STATUS_HTTP_TOO_LARGE -#define LEONOS_NET_STATUS_NO_ADDRESS RELIEFOS_NET_STATUS_NO_ADDRESS -#define LEONOS_NET_STATUS_NO_DEVICE RELIEFOS_NET_STATUS_NO_DEVICE -#define LEONOS_NET_STATUS_NTP_INVALID RELIEFOS_NET_STATUS_NTP_INVALID -#define LEONOS_NET_STATUS_NTP_TIMEOUT RELIEFOS_NET_STATUS_NTP_TIMEOUT -#define LEONOS_NET_STATUS_OK RELIEFOS_NET_STATUS_OK -#define LEONOS_NET_STATUS_PROTOCOL_UNSUPPORTED RELIEFOS_NET_STATUS_PROTOCOL_UNSUPPORTED -#define LEONOS_NET_STATUS_SOCKET_BAD_HANDLE RELIEFOS_NET_STATUS_SOCKET_BAD_HANDLE -#define LEONOS_NET_STATUS_SOCKET_CLOSED RELIEFOS_NET_STATUS_SOCKET_CLOSED -#define LEONOS_NET_STATUS_SOCKET_LIMIT RELIEFOS_NET_STATUS_SOCKET_LIMIT -#define LEONOS_NET_STATUS_SOCKET_NOT_CONNECTED RELIEFOS_NET_STATUS_SOCKET_NOT_CONNECTED -#define LEONOS_NET_STATUS_TCP_FAILED RELIEFOS_NET_STATUS_TCP_FAILED -#define LEONOS_NET_STATUS_TCP_RESET RELIEFOS_NET_STATUS_TCP_RESET -#define LEONOS_NET_STATUS_TCP_TIMEOUT RELIEFOS_NET_STATUS_TCP_TIMEOUT -#define LEONOS_NET_STATUS_TLS_FAILED RELIEFOS_NET_STATUS_TLS_FAILED -#define LEONOS_NET_STATUS_TX_FAILED RELIEFOS_NET_STATUS_TX_FAILED -#define LEONOS_NET_TCP_CLOSED RELIEFOS_NET_TCP_CLOSED -#define LEONOS_NET_TCP_ESTABLISHED RELIEFOS_NET_TCP_ESTABLISHED -#define LEONOS_NET_TCP_SYN_SENT RELIEFOS_NET_TCP_SYN_SENT -#define LEONOS_NET_TCP_TIME_WAIT RELIEFOS_NET_TCP_TIME_WAIT -#define LEONOS_UAPI_NET_ABI_H RELIEFOS_UAPI_NET_ABI_H -#define leonos_net_ reliefos_net_ -#define leonos_net_config reliefos_net_config -#define leonos_net_connection_info reliefos_net_connection_info -#define leonos_net_connection_list reliefos_net_connection_list -#define leonos_net_connections reliefos_net_connections -#define leonos_net_dhcp reliefos_net_dhcp -#define leonos_net_dhcp_renew reliefos_net_dhcp_renew -#define leonos_net_dns reliefos_net_dns -#define leonos_net_dns_policy reliefos_net_dns_policy -#define leonos_net_dns_resolve reliefos_net_dns_resolve -#define leonos_net_get_dns_policy reliefos_net_get_dns_policy -#define leonos_net_http_get reliefos_net_http_get -#define leonos_net_ping reliefos_net_ping -#define leonos_net_set_dns_policy reliefos_net_set_dns_policy -#define leonos_net_socket_close reliefos_net_socket_close -#define leonos_net_socket_connect reliefos_net_socket_connect -#define leonos_net_socket_io reliefos_net_socket_io -#define leonos_net_socket_open reliefos_net_socket_open -#define leonos_socket_close reliefos_socket_close -#define leonos_socket_connect reliefos_socket_connect -#define leonos_socket_recv reliefos_socket_recv -#define leonos_socket_send reliefos_socket_send -#define leonos_socket_tcp reliefos_socket_tcp -#endif /* LEONOS_NET_SERVICE_H */ diff --git a/include/leonos/openrc.h b/include/leonos/openrc.h deleted file mode 100644 index 2c0c0cce..00000000 --- a/include/leonos/openrc.h +++ /dev/null @@ -1,13 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_OPENRC_H -#define LEONOS_OPENRC_H -#include - -/* Old names alias the single canonical declaration. */ -#define leonos_openrc_enabled reliefos_openrc_enabled -#define leonos_openrc_poll reliefos_openrc_poll -#define leonos_openrc_run reliefos_openrc_run -#define leonos_openrc_spawn reliefos_openrc_spawn -#endif /* LEONOS_OPENRC_H */ diff --git a/include/leonos/png.h b/include/leonos/png.h deleted file mode 100644 index 078bebc6..00000000 --- a/include/leonos/png.h +++ /dev/null @@ -1,13 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_PNG_H -#define LEONOS_PNG_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_PNG_MAX_FILE_BYTES RELIEFOS_PNG_MAX_FILE_BYTES -#define LEONOS_PNG_MAX_PIXELS RELIEFOS_PNG_MAX_PIXELS -#define leonos_png_decode_file reliefos_png_decode_file -#define leonos_png_free reliefos_png_free -#endif /* LEONOS_PNG_H */ diff --git a/include/leonos/psf_font.h b/include/leonos/psf_font.h deleted file mode 100644 index b7777007..00000000 --- a/include/leonos/psf_font.h +++ /dev/null @@ -1,86 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_PSF_FONT_H -#define LEONOS_PSF_FONT_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_DEFAULT_PATH RELIEFOS_DEFAULT_PATH -#define LEONOS_FONT_H RELIEFOS_FONT_H -#define LEONOS_FONT_W RELIEFOS_FONT_W -#define LEONOS_LAYOUT_BIN RELIEFOS_LAYOUT_BIN -#define LEONOS_LAYOUT_BOOT RELIEFOS_LAYOUT_BOOT -#define LEONOS_LAYOUT_ETC_LEONOS RELIEFOS_LAYOUT_ETC_RELIEFOS -#define LEONOS_LAYOUT_ETC_SSL_CERTS RELIEFOS_LAYOUT_ETC_SSL_CERTS -#define LEONOS_LAYOUT_H RELIEFOS_LAYOUT_H -#define LEONOS_LAYOUT_LEONOS_APPS RELIEFOS_LAYOUT_RELIEFOS_APPS -#define LEONOS_LAYOUT_LEONOS_DOC RELIEFOS_LAYOUT_RELIEFOS_DOC -#define LEONOS_LAYOUT_LEONOS_FONTS RELIEFOS_LAYOUT_RELIEFOS_FONTS -#define LEONOS_LAYOUT_LEONOS_LIB RELIEFOS_LAYOUT_RELIEFOS_LIB -#define LEONOS_LAYOUT_LEONOS_RESOURCES RELIEFOS_LAYOUT_RELIEFOS_RESOURCES -#define LEONOS_LAYOUT_LEONOS_SHARE RELIEFOS_LAYOUT_RELIEFOS_SHARE -#define LEONOS_LAYOUT_LEONOS_TESTS RELIEFOS_LAYOUT_RELIEFOS_TESTS -#define LEONOS_LAYOUT_LIB RELIEFOS_LAYOUT_LIB -#define LEONOS_LAYOUT_LICENSES RELIEFOS_LAYOUT_LICENSES -#define LEONOS_LAYOUT_LOCALE RELIEFOS_LAYOUT_LOCALE -#define LEONOS_LAYOUT_MISC RELIEFOS_LAYOUT_MISC -#define LEONOS_LAYOUT_OPT_DYNE RELIEFOS_LAYOUT_OPT_DYNE -#define LEONOS_LAYOUT_OPT_PYTHON RELIEFOS_LAYOUT_OPT_PYTHON -#define LEONOS_LAYOUT_RUN_LEONOS RELIEFOS_LAYOUT_RUN_RELIEFOS -#define LEONOS_LAYOUT_SBIN RELIEFOS_LAYOUT_SBIN -#define LEONOS_LAYOUT_SRV RELIEFOS_LAYOUT_SRV -#define LEONOS_LAYOUT_TERMINFO RELIEFOS_LAYOUT_TERMINFO -#define LEONOS_LAYOUT_USR_BIN RELIEFOS_LAYOUT_USR_BIN -#define LEONOS_LAYOUT_USR_LIB RELIEFOS_LAYOUT_USR_LIB -#define LEONOS_LAYOUT_USR_SBIN RELIEFOS_LAYOUT_USR_SBIN -#define LEONOS_LAYOUT_USR_SHARE RELIEFOS_LAYOUT_USR_SHARE -#define LEONOS_LAYOUT_VAR_CACHE_LEONOS RELIEFOS_LAYOUT_VAR_CACHE_RELIEFOS -#define LEONOS_LAYOUT_VAR_LIB_LEONOS RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS -#define LEONOS_LAYOUT_VAR_LOG RELIEFOS_LAYOUT_VAR_LOG -#define LEONOS_LAYOUT_VAR_TMP RELIEFOS_LAYOUT_VAR_TMP -#define LEONOS_PATH_ACCOUNTS_DB RELIEFOS_PATH_ACCOUNTS_DB -#define LEONOS_PATH_BOOT_DISPLAY_CONF RELIEFOS_PATH_BOOT_DISPLAY_CONF -#define LEONOS_PATH_BOOT_KERNEL RELIEFOS_PATH_BOOT_KERNEL -#define LEONOS_PATH_BROWSER_CJK_FONT RELIEFOS_PATH_BROWSER_CJK_FONT -#define LEONOS_PATH_BROWSER_FONT RELIEFOS_PATH_BROWSER_FONT -#define LEONOS_PATH_CACERT RELIEFOS_PATH_CACERT -#define LEONOS_PATH_DISPLAY_CONF RELIEFOS_PATH_DISPLAY_CONF -#define LEONOS_PATH_ENVIRONMENT_CONF RELIEFOS_PATH_ENVIRONMENT_CONF -#define LEONOS_PATH_FILEASSOC_CFG RELIEFOS_PATH_FILEASSOC_CFG -#define LEONOS_PATH_GLIBC_INTERP RELIEFOS_PATH_GLIBC_INTERP -#define LEONOS_PATH_HELP RELIEFOS_PATH_HELP -#define LEONOS_PATH_LEONOS_CONF RELIEFOS_PATH_RELIEFOS_CONF -#define LEONOS_PATH_LESSKEY RELIEFOS_PATH_LESSKEY -#define LEONOS_PATH_LIBC RELIEFOS_PATH_LIBC -#define LEONOS_PATH_LIBLEONOS RELIEFOS_PATH_LIBRELIEFOS -#define LEONOS_PATH_LIBLEONOS_COMPAT RELIEFOS_PATH_LIBRELIEFOS_COMPAT -#define LEONOS_PATH_LIBMIMALLOC RELIEFOS_PATH_LIBMIMALLOC -#define LEONOS_PATH_LOCALE_CONF RELIEFOS_PATH_LOCALE_CONF -#define LEONOS_PATH_LOGO_PNG RELIEFOS_PATH_LOGO_PNG -#define LEONOS_PATH_MAGIC RELIEFOS_PATH_MAGIC -#define LEONOS_PATH_MINESWEEPER_FLAG_BMP RELIEFOS_PATH_MINESWEEPER_FLAG_BMP -#define LEONOS_PATH_MINESWEEPER_MINE_BMP RELIEFOS_PATH_MINESWEEPER_MINE_BMP -#define LEONOS_PATH_MUSL_INTERP RELIEFOS_PATH_MUSL_INTERP -#define LEONOS_PATH_NETWORK_BAK RELIEFOS_PATH_NETWORK_BAK -#define LEONOS_PATH_NETWORK_CONF RELIEFOS_PATH_NETWORK_CONF -#define LEONOS_PATH_NETWORK_TMP RELIEFOS_PATH_NETWORK_TMP -#define LEONOS_PATH_OLD_NATIVE_INTERP RELIEFOS_PATH_OLD_NATIVE_INTERP -#define LEONOS_PATH_OOBE_DONE RELIEFOS_PATH_OOBE_DONE -#define LEONOS_PATH_SESSION_USER RELIEFOS_PATH_SESSION_USER -#define LEONOS_PATH_STARTUP_DB RELIEFOS_PATH_STARTUP_DB -#define LEONOS_PATH_STARTUP_DENIALS_DB RELIEFOS_PATH_STARTUP_DENIALS_DB -#define LEONOS_PATH_SYSTEM_FONT RELIEFOS_PATH_SYSTEM_FONT -#define LEONOS_PATH_USERS_DB RELIEFOS_PATH_USERS_DB -#define LEONOS_ROOTFS_DIRECTORIES RELIEFOS_ROOTFS_DIRECTORIES -#define LEONOS_ROOTFS_H RELIEFOS_ROOTFS_H -#define LEONOS_ROOTFS_SYMLINKS RELIEFOS_ROOTFS_SYMLINKS -#define LEONOS_SYSTEM_FONT_PATH RELIEFOS_SYSTEM_FONT_PATH -#define leonos_lat15_vga16_psf reliefos_lat15_vga16_psf -#define leonos_lat15_vga16_psf_len reliefos_lat15_vga16_psf_len -#define leonos_layout reliefos_layout -#define leonos_psf_glyph reliefos_psf_glyph -#define leonos_psf_view reliefos_psf_view -#define leonos_psf_view_from_memory reliefos_psf_view_from_memory -#define leonos_psf_view_glyph reliefos_psf_view_glyph -#endif /* LEONOS_PSF_FONT_H */ diff --git a/include/leonos/pty.h b/include/leonos/pty.h deleted file mode 100644 index 56b6198d..00000000 --- a/include/leonos/pty.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_PTY_H -#define LEONOS_PTY_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_PTY_CC_VEOF RELIEFOS_PTY_CC_VEOF -#define LEONOS_PTY_CC_VEOL RELIEFOS_PTY_CC_VEOL -#define LEONOS_PTY_CC_VERASE RELIEFOS_PTY_CC_VERASE -#define LEONOS_PTY_CC_VINTR RELIEFOS_PTY_CC_VINTR -#define LEONOS_PTY_CC_VKILL RELIEFOS_PTY_CC_VKILL -#define LEONOS_PTY_CC_VMIN RELIEFOS_PTY_CC_VMIN -#define LEONOS_PTY_CC_VQUIT RELIEFOS_PTY_CC_VQUIT -#define LEONOS_PTY_CC_VSTART RELIEFOS_PTY_CC_VSTART -#define LEONOS_PTY_CC_VSTOP RELIEFOS_PTY_CC_VSTOP -#define LEONOS_PTY_CC_VSUSP RELIEFOS_PTY_CC_VSUSP -#define LEONOS_PTY_CC_VTIME RELIEFOS_PTY_CC_VTIME -#define LEONOS_PTY_IFLAG_ICRNL RELIEFOS_PTY_IFLAG_ICRNL -#define LEONOS_PTY_LFLAG_ECHO RELIEFOS_PTY_LFLAG_ECHO -#define LEONOS_PTY_LFLAG_ECHONL RELIEFOS_PTY_LFLAG_ECHONL -#define LEONOS_PTY_LFLAG_ICANON RELIEFOS_PTY_LFLAG_ICANON -#define LEONOS_PTY_LFLAG_IEXTEN RELIEFOS_PTY_LFLAG_IEXTEN -#define LEONOS_PTY_LFLAG_ISIG RELIEFOS_PTY_LFLAG_ISIG -#define LEONOS_PTY_NCCS RELIEFOS_PTY_NCCS -#define LEONOS_PTY_PATH_LEN RELIEFOS_PTY_PATH_LEN -#define LEONOS_UAPI_PTY_ABI_H RELIEFOS_UAPI_PTY_ABI_H -#define leonos_pty_termios reliefos_pty_termios -#define leonos_pty_winsize reliefos_pty_winsize -#endif /* LEONOS_PTY_H */ diff --git a/include/leonos/signal.h b/include/leonos/signal.h deleted file mode 100644 index 8f8f6f83..00000000 --- a/include/leonos/signal.h +++ /dev/null @@ -1,16 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_SIGNAL_H -#define LEONOS_SIGNAL_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_SIGNAL_ACTION_GET RELIEFOS_SIGNAL_ACTION_GET -#define LEONOS_SIGNAL_ACTION_SET RELIEFOS_SIGNAL_ACTION_SET -#define LEONOS_SIGNAL_DISPOSITION_DEFAULT RELIEFOS_SIGNAL_DISPOSITION_DEFAULT -#define LEONOS_SIGNAL_DISPOSITION_IGNORE RELIEFOS_SIGNAL_DISPOSITION_IGNORE -#define LEONOS_UAPI_SIGNAL_ABI_H RELIEFOS_UAPI_SIGNAL_ABI_H -#define leonos_linux_sigaction reliefos_linux_sigaction -#define leonos_rt_sigreturn_trampoline reliefos_rt_sigreturn_trampoline -#endif /* LEONOS_SIGNAL_H */ diff --git a/include/leonos/startup.h b/include/leonos/startup.h deleted file mode 100644 index 5b9a1235..00000000 --- a/include/leonos/startup.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_STARTUP_H -#define LEONOS_STARTUP_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_STARTUP_ARG_LEN RELIEFOS_STARTUP_ARG_LEN -#define LEONOS_STARTUP_DECISION_ALLOW RELIEFOS_STARTUP_DECISION_ALLOW -#define LEONOS_STARTUP_DECISION_DENY RELIEFOS_STARTUP_DECISION_DENY -#define LEONOS_STARTUP_DECISION_DENY_REMEMBERED RELIEFOS_STARTUP_DECISION_DENY_REMEMBERED -#define LEONOS_STARTUP_MAX_ARGS RELIEFOS_STARTUP_MAX_ARGS -#define LEONOS_STARTUP_MAX_ENTRIES RELIEFOS_STARTUP_MAX_ENTRIES -#define LEONOS_STARTUP_STATUS_APPROVED RELIEFOS_STARTUP_STATUS_APPROVED -#define LEONOS_STARTUP_STATUS_CANCELLED RELIEFOS_STARTUP_STATUS_CANCELLED -#define LEONOS_STARTUP_STATUS_DENIED RELIEFOS_STARTUP_STATUS_DENIED -#define LEONOS_STARTUP_STATUS_DENIED_REMEMBERED RELIEFOS_STARTUP_STATUS_DENIED_REMEMBERED -#define LEONOS_STARTUP_STATUS_EXISTS RELIEFOS_STARTUP_STATUS_EXISTS -#define LEONOS_STARTUP_STATUS_FAILED RELIEFOS_STARTUP_STATUS_FAILED -#define LEONOS_STARTUP_STATUS_PENDING RELIEFOS_STARTUP_STATUS_PENDING -#define LEONOS_UAPI_STARTUP_ABI_H RELIEFOS_UAPI_STARTUP_ABI_H -#define leonos_startup_command reliefos_startup_command -#define leonos_startup_dialog_get reliefos_startup_dialog_get -#define leonos_startup_dialog_request reliefos_startup_dialog_request -#define leonos_startup_dialog_resolution reliefos_startup_dialog_resolution -#define leonos_startup_dialog_resolve reliefos_startup_dialog_resolve -#define leonos_startup_entry reliefos_startup_entry -#define leonos_startup_launch_current_user reliefos_startup_launch_current_user -#define leonos_startup_list reliefos_startup_list -#define leonos_startup_remove reliefos_startup_remove -#define leonos_startup_request reliefos_startup_request -#define leonos_startup_request_status reliefos_startup_request_status -#define leonos_startup_set_enabled reliefos_startup_set_enabled -#define leonos_startup_update reliefos_startup_update -#endif /* LEONOS_STARTUP_H */ diff --git a/include/leonos/system.h b/include/leonos/system.h deleted file mode 100644 index c18e88a7..00000000 --- a/include/leonos/system.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_SYSTEM_H -#define LEONOS_SYSTEM_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_MACHINE_IDENTITY_FLAG_BOOT_DISK_GUID RELIEFOS_MACHINE_IDENTITY_FLAG_BOOT_DISK_GUID -#define LEONOS_MACHINE_IDENTITY_FLAG_BOOT_PARTITION_GUID RELIEFOS_MACHINE_IDENTITY_FLAG_BOOT_PARTITION_GUID -#define LEONOS_MACHINE_IDENTITY_FLAG_PLATFORM_UUID RELIEFOS_MACHINE_IDENTITY_FLAG_PLATFORM_UUID -#define LEONOS_MACHINE_IDENTITY_SOURCE_LEN RELIEFOS_MACHINE_IDENTITY_SOURCE_LEN -#define LEONOS_MACHINE_IDENTITY_UUID_LEN RELIEFOS_MACHINE_IDENTITY_UUID_LEN -#define LEONOS_MACHINE_IDENTITY_VENDOR_LEN RELIEFOS_MACHINE_IDENTITY_VENDOR_LEN -#define LEONOS_MACHINE_IDENTITY_VERSION RELIEFOS_MACHINE_IDENTITY_VERSION -#define LEONOS_NET_HOSTNAME_LEN RELIEFOS_NET_HOSTNAME_LEN -#define LEONOS_PERF_MAX_CPUS RELIEFOS_PERF_MAX_CPUS -#define LEONOS_SYSTEM_ARCH_LEN RELIEFOS_SYSTEM_ARCH_LEN -#define LEONOS_SYSTEM_COPYRIGHT_LEN RELIEFOS_SYSTEM_COPYRIGHT_LEN -#define LEONOS_SYSTEM_NAME_LEN RELIEFOS_SYSTEM_NAME_LEN -#define LEONOS_SYSTEM_TIME_LEN RELIEFOS_SYSTEM_TIME_LEN -#define LEONOS_SYSTEM_VERSION_LEN RELIEFOS_SYSTEM_VERSION_LEN -#define LEONOS_TASK_AFFINITY_GET RELIEFOS_TASK_AFFINITY_GET -#define LEONOS_TASK_AFFINITY_SET RELIEFOS_TASK_AFFINITY_SET -#define LEONOS_UAPI_SYSTEM_ABI_H RELIEFOS_UAPI_SYSTEM_ABI_H -#define leonos_machine_identity reliefos_machine_identity -#define leonos_perf_cpu_info reliefos_perf_cpu_info -#define leonos_perf_info reliefos_perf_info -#define leonos_system_info reliefos_system_info -#define leonos_system_reboot reliefos_system_reboot -#define leonos_system_shutdown reliefos_system_shutdown -#define leonos_task_affinity reliefos_task_affinity -#define leonos_task_affinity_get reliefos_task_affinity_get -#define leonos_task_affinity_set reliefos_task_affinity_set -#define leonos_time_info reliefos_time_info -#define leonos_time_ntp_sync reliefos_time_ntp_sync -#define leonos_time_sync reliefos_time_sync -#define leonos_task_info reliefos_task_info -#define leonos_task_kill reliefos_task_kill -#define leonos_task_snapshot reliefos_task_snapshot -#define leonos_uptime_ms reliefos_uptime_ms -#endif /* LEONOS_SYSTEM_H */ diff --git a/include/leonos/tar.h b/include/leonos/tar.h deleted file mode 100644 index 9d917629..00000000 --- a/include/leonos/tar.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_TAR_H -#define LEONOS_TAR_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_TAR_BLOCK_SIZE RELIEFOS_TAR_BLOCK_SIZE -#define LEONOS_TAR_MAX_FILE_SIZE RELIEFOS_TAR_MAX_FILE_SIZE -#define LEONOS_TAR_NAME_LEN RELIEFOS_TAR_NAME_LEN -#define LEONOS_TAR_TYPE_DIR RELIEFOS_TAR_TYPE_DIR -#define LEONOS_TAR_TYPE_FILE RELIEFOS_TAR_TYPE_FILE -#define leonos_tar_create reliefos_tar_create -#define leonos_tar_extract_all reliefos_tar_extract_all -#define leonos_tar_extract_all_with_progress reliefos_tar_extract_all_with_progress -#define leonos_tar_extract_file reliefos_tar_extract_file -#define leonos_tar_finalize reliefos_tar_finalize -#define leonos_tar_list reliefos_tar_list -#define leonos_tar_pack_dir reliefos_tar_pack_dir -#define leonos_tar_pack_dir_append reliefos_tar_pack_dir_append -#define leonos_tar_pack_file reliefos_tar_pack_file -#define leonos_tar_pack_file_append reliefos_tar_pack_file_append -#define leonos_tar_progress_fn reliefos_tar_progress_fn -#endif /* LEONOS_TAR_H */ diff --git a/include/leonos/text.h b/include/leonos/text.h deleted file mode 100644 index 86595c6c..00000000 --- a/include/leonos/text.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_TEXT_H -#define LEONOS_TEXT_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_TEXT_ENCODING_GB2312 RELIEFOS_TEXT_ENCODING_GB2312 -#define LEONOS_TEXT_ENCODING_GBK RELIEFOS_TEXT_ENCODING_GBK -#define LEONOS_TEXT_ENCODING_INVALID RELIEFOS_TEXT_ENCODING_INVALID -#define LEONOS_TEXT_ENCODING_NO_SPACE RELIEFOS_TEXT_ENCODING_NO_SPACE -#define LEONOS_TEXT_ENCODING_UTF16BE RELIEFOS_TEXT_ENCODING_UTF16BE -#define LEONOS_TEXT_ENCODING_UTF16LE RELIEFOS_TEXT_ENCODING_UTF16LE -#define LEONOS_TEXT_ENCODING_UTF8 RELIEFOS_TEXT_ENCODING_UTF8 -#define LEONOS_TEXT_ENCODING_UTF8_BOM RELIEFOS_TEXT_ENCODING_UTF8_BOM -#define LEONOS_TEXT_REPLACEMENT_CHAR RELIEFOS_TEXT_REPLACEMENT_CHAR -#define leonos_text_decode reliefos_text_decode -#define leonos_text_detect_encoding reliefos_text_detect_encoding -#define leonos_text_encode reliefos_text_encode -#define leonos_text_glyph reliefos_text_glyph -#define leonos_text_layout reliefos_text_layout -#define leonos_text_layout_utf8 reliefos_text_layout_utf8 -#endif /* LEONOS_TEXT_H */ diff --git a/include/leonos/text_input.h b/include/leonos/text_input.h deleted file mode 100644 index 57885310..00000000 --- a/include/leonos/text_input.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Transitional compatibility forwarder (ReliefOS / ReliefNT rename). - * Canonical declarations: . - * No second layout definition exists behind these names. */ -#ifndef LEONOS_TEXT_INPUT_H -#define LEONOS_TEXT_INPUT_H -#include - -/* Old names alias the single canonical declaration. */ -#define LEONOS_INPUTM_ABBREV_LEN RELIEFOS_INPUTM_ABBREV_LEN -#define LEONOS_INPUTM_CONTEXT_FOCUSED RELIEFOS_INPUTM_CONTEXT_FOCUSED -#define LEONOS_INPUTM_CONTEXT_SECURE RELIEFOS_INPUTM_CONTEXT_SECURE -#define LEONOS_INPUTM_H RELIEFOS_INPUTM_H -#define LEONOS_INPUTM_ID_LEN RELIEFOS_INPUTM_ID_LEN -#define LEONOS_INPUTM_MAX_CANDIDATES RELIEFOS_INPUTM_MAX_CANDIDATES -#define LEONOS_INPUTM_MAX_PROVIDERS RELIEFOS_INPUTM_MAX_PROVIDERS -#define LEONOS_INPUTM_NAME_LEN RELIEFOS_INPUTM_NAME_LEN -#define LEONOS_INPUTM_RENDER_CONTROLS RELIEFOS_INPUTM_RENDER_CONTROLS -#define LEONOS_INPUTM_RENDER_PIXELS RELIEFOS_INPUTM_RENDER_PIXELS -#define LEONOS_INPUTM_RESULT_CANCEL RELIEFOS_INPUTM_RESULT_CANCEL -#define LEONOS_INPUTM_RESULT_COMMIT RELIEFOS_INPUTM_RESULT_COMMIT -#define LEONOS_INPUTM_RESULT_COMPOSITION RELIEFOS_INPUTM_RESULT_COMPOSITION -#define LEONOS_INPUTM_RESULT_PASSTHROUGH RELIEFOS_INPUTM_RESULT_PASSTHROUGH -#define LEONOS_INPUTM_START_LOGIN RELIEFOS_INPUTM_START_LOGIN -#define LEONOS_INPUTM_START_MANUAL RELIEFOS_INPUTM_START_MANUAL -#define LEONOS_INPUTM_START_ON_DEMAND RELIEFOS_INPUTM_START_ON_DEMAND -#define LEONOS_INPUTM_TEXT_LEN RELIEFOS_INPUTM_TEXT_LEN -#define LEONOS_UAPI_INPUTM_ABI_H RELIEFOS_UAPI_INPUTM_ABI_H -#define leonos_inputm_ reliefos_inputm_ -#define leonos_inputm_active_request reliefos_inputm_active_request -#define leonos_inputm_config_request reliefos_inputm_config_request -#define leonos_inputm_context reliefos_inputm_context -#define leonos_inputm_get_state reliefos_inputm_get_state -#define leonos_inputm_key_event reliefos_inputm_key_event -#define leonos_inputm_list reliefos_inputm_list -#define leonos_inputm_notify_config reliefos_inputm_notify_config -#define leonos_inputm_poll_result reliefos_inputm_poll_result -#define leonos_inputm_provider reliefos_inputm_provider -#define leonos_inputm_provider_list reliefos_inputm_provider_list -#define leonos_inputm_provider_next reliefos_inputm_provider_next -#define leonos_inputm_provider_result reliefos_inputm_provider_result -#define leonos_inputm_register reliefos_inputm_register -#define leonos_inputm_result reliefos_inputm_result -#define leonos_inputm_set_active reliefos_inputm_set_active -#define leonos_inputm_set_context reliefos_inputm_set_context -#define leonos_inputm_state reliefos_inputm_state -#define leonos_inputm_submit_key reliefos_inputm_submit_key -#define leonos_inputm_unregister reliefos_inputm_unregister -#endif /* LEONOS_TEXT_INPUT_H */ diff --git a/include/reliefos/admin.h b/include/reliefos/admin.h deleted file mode 100644 index a378ca10..00000000 --- a/include/reliefos/admin.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef RELIEFOS_ADMIN_H -#define RELIEFOS_ADMIN_H - -#include - -int reliefos_admin_elevate(void); - -#endif diff --git a/include/reliefos/api.h b/include/reliefos/api.h deleted file mode 100644 index e9b16fff..00000000 --- a/include/reliefos/api.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef RELIEFOS_API_H -#define RELIEFOS_API_H - -#include -#include - -#define RELIEFOS_API_PATH_MAX 256U -#define RELIEFOS_API_NAME_LEN 64U -#define RELIEFOS_API_VERSION_LEN 16U - -struct reliefos_api_info { - char id[64]; - char name[RELIEFOS_API_NAME_LEN]; - char version[RELIEFOS_API_VERSION_LEN]; - char category[64]; - char main_exe[RELIEFOS_API_PATH_MAX]; - char default_path[RELIEFOS_API_PATH_MAX]; - char icon[RELIEFOS_API_PATH_MAX]; - uint32_t requires_admin; - uint32_t desktop_shortcut; - uint32_t terminal; - uint32_t hidden; - uint32_t open_with; - char commands[256]; - char extensions[256]; - uint32_t input_method; - char input_method_id[RELIEFOS_INPUTM_ID_LEN]; - char input_method_abbreviation[RELIEFOS_INPUTM_ABBREV_LEN]; - uint32_t input_method_startup_mode; - uint32_t input_method_launch_after_install; - char input_method_settings[RELIEFOS_API_PATH_MAX]; - char input_method_settings_app[RELIEFOS_API_PATH_MAX]; -}; - -typedef int (*reliefos_api_progress_fn)(uint32_t processed, uint32_t total, - void *context); - -int reliefos_api_parse_info(const char *api_path, struct reliefos_api_info *info); -int reliefos_api_extract_files(const char *api_path, const char *dest_dir); -int reliefos_api_install(const char *api_path, const char *dest_dir, - uint32_t create_shortcut); -int reliefos_api_install_with_progress(const char *api_path, - const char *dest_dir, - uint32_t create_shortcut, - reliefos_api_progress_fn progress, - void *context); - -#endif diff --git a/include/reliefos/auth.h b/include/reliefos/auth.h index 19ffc453..5fdd9c18 100644 --- a/include/reliefos/auth.h +++ b/include/reliefos/auth.h @@ -16,7 +16,6 @@ int reliefos_auth_list_users(struct reliefos_user_info *users, uint32_t capacity uint32_t include_disabled, uint32_t *out_count); int reliefos_auth_users_alloc(struct reliefos_user_info **users, uint32_t include_disabled, uint32_t *out_count); -int reliefos_auth_logout(void); int reliefos_auth_create_user(const char *username, const char *password, uint32_t role, struct reliefos_user_info *user); int reliefos_auth_update_user(uint32_t uid, uint32_t mask, uint32_t role, diff --git a/include/reliefos/device.h b/include/reliefos/device.h index 9b94c6c2..e06b755c 100644 --- a/include/reliefos/device.h +++ b/include/reliefos/device.h @@ -1,15 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 */ #ifndef RELIEFOS_DEVICE_H #define RELIEFOS_DEVICE_H -/* - * Userland device API. The wire types and constants moved to the kernel UAPI - * (); this header re-exports them so existing - * `#include ` callers keep working. - */ #include -#include - -int reliefos_device_list(struct reliefos_device_info *devices, - uint32_t capacity, uint32_t *out_count); #endif diff --git a/include/reliefos/devmgr_service.h b/include/reliefos/devmgr_service.h deleted file mode 100644 index 416010ef..00000000 --- a/include/reliefos/devmgr_service.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef RELIEFOS_DEVMGR_SERVICE_H -#define RELIEFOS_DEVMGR_SERVICE_H - -/* Versioned device/driver-management service SDK. - * - * All requests go to devmand over /run/reliefos/devman.sock; /dev/hwinfo, - * /dev/driverctl and fd 3 are gone. - */ -#include -#include -#include - -#define DEVMGR_SERVICE_ABI_VERSION 1U - -typedef struct reliefos_device_info system_device_info_t; -typedef struct reliefos_device_list system_device_list_t; -typedef struct reliefos_driver_info system_driver_info_t; -typedef struct reliefos_driver_list system_driver_list_t; -typedef struct reliefos_driver_control system_driver_control_t; - -#define SYSTEM_DEVICE_MAX RELIEFOS_DEVICE_MAX -#define SYSTEM_DEVICE_DETAIL_LEN RELIEFOS_DEVICE_DETAIL_LEN - -#define SYSTEM_DEVICE_CLASS_SYSTEM RELIEFOS_DEVICE_CLASS_SYSTEM -#define SYSTEM_DEVICE_CLASS_INPUT RELIEFOS_DEVICE_CLASS_INPUT -#define SYSTEM_DEVICE_CLASS_DISPLAY RELIEFOS_DEVICE_CLASS_DISPLAY -#define SYSTEM_DEVICE_CLASS_STORAGE RELIEFOS_DEVICE_CLASS_STORAGE -#define SYSTEM_DEVICE_CLASS_SERIAL RELIEFOS_DEVICE_CLASS_SERIAL -#define SYSTEM_DEVICE_CLASS_NETWORK RELIEFOS_DEVICE_CLASS_NETWORK -#define SYSTEM_DEVICE_CLASS_AUDIO RELIEFOS_DEVICE_CLASS_AUDIO - -#define SYSTEM_DEVICE_FLAG_PRESENT RELIEFOS_DEVICE_FLAG_PRESENT -#define SYSTEM_DEVICE_FLAG_ACTIVE RELIEFOS_DEVICE_FLAG_ACTIVE -#define SYSTEM_DEVICE_FLAG_BOOT RELIEFOS_DEVICE_FLAG_BOOT - -#define SYSTEM_DRIVER_MAX RELIEFOS_DRIVER_MAX -#define SYSTEM_DRIVER_STATE_LOADING RELIEFOS_DRIVER_STATE_LOADING -#define SYSTEM_DRIVER_STATE_LOADED RELIEFOS_DRIVER_STATE_LOADED -#define SYSTEM_DRIVER_STATE_DISABLED RELIEFOS_DRIVER_STATE_DISABLED -#define SYSTEM_DRIVER_STATE_FAILED RELIEFOS_DRIVER_STATE_FAILED -#define SYSTEM_DRIVER_FLAG_DISABLED RELIEFOS_DRIVER_FLAG_DISABLED - -#define SYSTEM_DRIVER_CONTROL_RESCAN RELIEFOS_DRIVER_CONTROL_RESCAN -#define SYSTEM_DRIVER_CONTROL_LOAD RELIEFOS_DRIVER_CONTROL_LOAD -#define SYSTEM_DRIVER_CONTROL_UNLOAD RELIEFOS_DRIVER_CONTROL_UNLOAD -#define SYSTEM_DRIVER_CONTROL_FORCE_UNLOAD RELIEFOS_DRIVER_CONTROL_FORCE_UNLOAD -#define SYSTEM_DRIVER_CONTROL_ENABLE_BOOT RELIEFOS_DRIVER_CONTROL_ENABLE_BOOT -#define SYSTEM_DRIVER_CONTROL_DISABLE_BOOT RELIEFOS_DRIVER_CONTROL_DISABLE_BOOT - -int system_device_list(system_device_info_t *devices, uint32_t capacity, - uint32_t *out_count); -int system_driver_list(system_driver_info_t *drivers, uint32_t capacity, - uint32_t *out_count); -int system_driver_control(uint32_t action, const char *file); - -#endif diff --git a/include/reliefos/driver.h b/include/reliefos/driver.h index d69b6649..33a997a8 100644 --- a/include/reliefos/driver.h +++ b/include/reliefos/driver.h @@ -1,29 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 */ #ifndef RELIEFOS_DRIVER_H #define RELIEFOS_DRIVER_H -/* - * Userland driver-control client API. The control wire types and constants - * live in the kernel UAPI (); this header re-exports - * them so existing callers keep working. - * - * The Ring-0 driver module API (module magic/ABI version, - * struct reliefos_driver_module / reliefos_driver_kernel_api and the per-device - * ops/state structs) belongs to the kernel module domain and lives in the - * kernel repository's own copy of this header - * (kernel/reliefnt/include/reliefos/driver.h). - */ -#include #include -/* - * Driver table capacity for the runtime control clients (the driver - * managers size their arrays with it). Kept here: it is runtime sizing, - * not part of the Ring-0 module ABI. - */ -#define RELIEFOS_DRIVER_MAX 16U - -int reliefos_driver_list(struct reliefos_driver_info *drivers, uint32_t capacity, - uint32_t *out_count); -int reliefos_driver_control(uint32_t action, const char *file); - #endif diff --git a/include/reliefos/inputm.h b/include/reliefos/inputm.h deleted file mode 100644 index 373ed386..00000000 --- a/include/reliefos/inputm.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef RELIEFOS_INPUTM_H -#define RELIEFOS_INPUTM_H - -/* - * Userland input-method client API. The wire types and constants live in the - * UAPI (); this shadow copy re-exports them and keeps the - * libc-side runtime declarations. - */ -#include -#include - -int reliefos_inputm_register(const struct reliefos_inputm_provider *provider); -int reliefos_inputm_unregister(void); -int reliefos_inputm_provider_next(struct reliefos_inputm_key_event *event); -int reliefos_inputm_provider_result(const struct reliefos_inputm_result *result); -int reliefos_inputm_submit_key(uint32_t window_id, uint8_t keycode, uint8_t pressed); -int reliefos_inputm_poll_result(struct reliefos_inputm_result *result); -int reliefos_inputm_set_active(uint32_t uid, const char *id); -int reliefos_inputm_list(uint32_t uid, struct reliefos_inputm_provider *providers, uint32_t capacity, uint32_t *out_count); -int reliefos_inputm_set_context(const struct reliefos_inputm_context *context); -int reliefos_inputm_get_state(uint32_t uid, struct reliefos_inputm_state *state); -int reliefos_inputm_notify_config(uint32_t uid); - -#endif diff --git a/include/reliefos/layout.h b/include/reliefos/layout.h index 6e73a679..b07027c1 100644 --- a/include/reliefos/layout.h +++ b/include/reliefos/layout.h @@ -1,116 +1,27 @@ +/* SPDX-License-Identifier: Apache-2.0 */ #ifndef RELIEFOS_LAYOUT_H #define RELIEFOS_LAYOUT_H #include -/* - * ReliefOS guest root filesystem layout contract. - * - * The installed root follows the Alpine Linux FHS shape: /bin, /sbin, /lib, - * /usr/bin, /usr/sbin and /usr/lib are real directories. There is no - * usr-merge and no /lib64. Standard runtime links include: - * - * /var/run -> ../run - * /var/lock -> ../run/lock - * - * The musl ELF PT_INTERP contract is unchanged: executables request - * "/lib/ld-musl-x86_64.so.1", and the real interpreter is stored at that - * path. Do not point ELF PT_INTERP at a glibc loader. - * - * ReliefOS-owned files live below explicitly named subdirectories: - * - * /etc/reliefos persistent configuration - * /var/lib/reliefos persistent mutable state - * /var/cache/reliefos cache data - * /run/reliefos volatile per-boot IPC and session state - * /usr/lib/reliefos private libraries and loader payload - * /usr/lib/reliefos/apps application packages (manifest + ELF) - * /usr/lib/reliefos/tests diagnostic guest probes - * /usr/share/reliefos desktop resources - * /usr/share/fonts/reliefos ReliefOS UI fonts - * /usr/share/doc/reliefos bundled help and vendor notices - * - * tools/reliefos_layout.py is the build-side mirror of this header. Keep the - * two files synchronized and do not add competing path literal tables. - */ - -/* Directories (no trailing slash so they concatenate with "/name"). */ -#define RELIEFOS_LAYOUT_BIN "/bin" -#define RELIEFOS_LAYOUT_SBIN "/sbin" -#define RELIEFOS_LAYOUT_LIB "/lib" -#define RELIEFOS_LAYOUT_BOOT "/boot" -#define RELIEFOS_LAYOUT_SRV "/srv" +/* Installed x86_64 filesystem paths. /bin, /sbin and /usr/sbin link to + * /usr/bin; /lib and /lib64 link to /usr/lib. All packaged files use the + * canonical merged-usr directories, except for the ELF interpreter name + * which is part of the x86_64 glibc ABI. */ #define RELIEFOS_LAYOUT_USR_BIN "/usr/bin" -#define RELIEFOS_LAYOUT_USR_SBIN "/usr/sbin" #define RELIEFOS_LAYOUT_USR_LIB "/usr/lib" -#define RELIEFOS_LAYOUT_USR_SHARE "/usr/share" #define RELIEFOS_LAYOUT_ETC_RELIEFOS "/etc/reliefos" -#define RELIEFOS_LAYOUT_ETC_SSL_CERTS "/etc/ssl/certs" -#define RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS "/var/lib/reliefos" -#define RELIEFOS_LAYOUT_VAR_CACHE_RELIEFOS "/var/cache/reliefos" -#define RELIEFOS_LAYOUT_VAR_LOG "/var/log" -#define RELIEFOS_LAYOUT_VAR_TMP "/var/tmp" -#define RELIEFOS_LAYOUT_RUN_RELIEFOS "/run/reliefos" -#define RELIEFOS_LAYOUT_RELIEFOS_LIB "/usr/lib/reliefos" #define RELIEFOS_LAYOUT_RELIEFOS_APPS "/usr/lib/reliefos/apps" -#define RELIEFOS_LAYOUT_RELIEFOS_TESTS "/usr/lib/reliefos/tests" -#define RELIEFOS_LAYOUT_RELIEFOS_SHARE "/usr/share/reliefos" #define RELIEFOS_LAYOUT_RELIEFOS_RESOURCES "/usr/share/reliefos/resources" -#define RELIEFOS_LAYOUT_RELIEFOS_FONTS "/usr/share/fonts/reliefos" -#define RELIEFOS_LAYOUT_RELIEFOS_DOC "/usr/share/doc/reliefos" -#define RELIEFOS_LAYOUT_LICENSES "/usr/share/licenses" -#define RELIEFOS_LAYOUT_MISC "/usr/share/misc" -#define RELIEFOS_LAYOUT_TERMINFO "/usr/share/terminfo" #define RELIEFOS_LAYOUT_LOCALE "/usr/share/locale" -/* Third-party suites retained under /opt with /usr/bin command entries. */ -#define RELIEFOS_LAYOUT_OPT_DYNE "/opt/dyne" -#define RELIEFOS_LAYOUT_OPT_PYTHON "/opt/python" - -/* Runtime configuration. */ -#define RELIEFOS_PATH_RELIEFOS_CONF RELIEFOS_LAYOUT_ETC_RELIEFOS "/leonos.conf" #define RELIEFOS_PATH_DISPLAY_CONF RELIEFOS_LAYOUT_ETC_RELIEFOS "/display.conf" -#define RELIEFOS_PATH_NETWORK_CONF RELIEFOS_LAYOUT_ETC_RELIEFOS "/network.conf" -#define RELIEFOS_PATH_NETWORK_BAK RELIEFOS_LAYOUT_ETC_RELIEFOS "/network.conf.bak" -#define RELIEFOS_PATH_NETWORK_TMP RELIEFOS_LAYOUT_ETC_RELIEFOS "/network.conf.tmp" -#define RELIEFOS_PATH_LOCALE_CONF RELIEFOS_LAYOUT_ETC_RELIEFOS "/locale.conf" -#define RELIEFOS_PATH_ENVIRONMENT_CONF RELIEFOS_LAYOUT_ETC_RELIEFOS "/environment.conf" -#define RELIEFOS_PATH_FILEASSOC_CFG RELIEFOS_LAYOUT_ETC_RELIEFOS "/fileassoc.cfg" -#define RELIEFOS_PATH_LESSKEY RELIEFOS_LAYOUT_ETC_RELIEFOS "/lesskey" - -/* Persistent and volatile state. */ -#define RELIEFOS_PATH_USERS_DB RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS "/users.db" -#define RELIEFOS_PATH_ACCOUNTS_DB RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS "/accounts.db" -#define RELIEFOS_PATH_STARTUP_DB RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS "/startup.db" -#define RELIEFOS_PATH_STARTUP_DENIALS_DB RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS "/startup-denials.db" -#define RELIEFOS_PATH_OOBE_DONE RELIEFOS_LAYOUT_VAR_LIB_RELIEFOS "/oobe.done" -#define RELIEFOS_PATH_SESSION_USER RELIEFOS_LAYOUT_RUN_RELIEFOS "/session-user" - -/* Shared resources. */ -#define RELIEFOS_PATH_CACERT RELIEFOS_LAYOUT_ETC_SSL_CERTS "/ca-certificates.crt" -#define RELIEFOS_PATH_MAGIC RELIEFOS_LAYOUT_MISC "/magic.mgc" -#define RELIEFOS_PATH_SYSTEM_FONT RELIEFOS_LAYOUT_RELIEFOS_FONTS "/system.psf" -#define RELIEFOS_PATH_BROWSER_FONT RELIEFOS_LAYOUT_RELIEFOS_FONTS "/times-new-roman.ttf" -#define RELIEFOS_PATH_BROWSER_CJK_FONT RELIEFOS_LAYOUT_RELIEFOS_FONTS "/simsun.ttc" +#define RELIEFOS_PATH_LOCALE_CONF "/etc/locale.conf" +#define RELIEFOS_PATH_CACERT "/etc/ssl/certs/ca-certificates.crt" #define RELIEFOS_PATH_LOGO_PNG RELIEFOS_LAYOUT_RELIEFOS_RESOURCES "/logo.png" #define RELIEFOS_PATH_MINESWEEPER_MINE_BMP RELIEFOS_LAYOUT_RELIEFOS_RESOURCES "/minesweeper-mine.bmp" #define RELIEFOS_PATH_MINESWEEPER_FLAG_BMP RELIEFOS_LAYOUT_RELIEFOS_RESOURCES "/minesweeper-flag.bmp" -#define RELIEFOS_PATH_HELP RELIEFOS_LAYOUT_RELIEFOS_DOC "/leonos.hlp" - -/* Shared libraries and interpreter payload. */ -#define RELIEFOS_PATH_MUSL_INTERP "/lib/ld-musl-x86_64.so.1" -#define RELIEFOS_PATH_LIBC RELIEFOS_LAYOUT_LIB "/libc.so" -#define RELIEFOS_PATH_LIBMIMALLOC RELIEFOS_LAYOUT_LIB "/libmimalloc.so.3" -/* Diagnostic-only probe constant. ReliefOS does not ship or claim a glibc - * loader; the musl interpreter above is the only supported PT_INTERP. */ #define RELIEFOS_PATH_GLIBC_INTERP "/lib64/ld-linux-x86-64.so.2" -#define RELIEFOS_PATH_LIBRELIEFOS RELIEFOS_LAYOUT_RELIEFOS_LIB "/libreliefos.so.2" -#define RELIEFOS_PATH_LIBRELIEFOS_COMPAT RELIEFOS_LAYOUT_RELIEFOS_LIB "/libleonos.so.1" -#define RELIEFOS_PATH_OLD_NATIVE_INTERP RELIEFOS_LAYOUT_RELIEFOS_LIB "/ld-leonos.elf" - -/* Runtime view of the boot partition; the ESP itself normally mounts /boot. */ -#define RELIEFOS_PATH_BOOT_KERNEL "/boot/reliefos/kernel.sys" -#define RELIEFOS_PATH_BOOT_KERNEL_LEGACY "/boot/leonos/kernel.sys" -#define RELIEFOS_PATH_BOOT_DISPLAY_CONF "/boot/reliefos/config/display.conf" +#define RELIEFOS_PATH_LIBRELIEFOS RELIEFOS_LAYOUT_USR_LIB "/libreliefos.so.2" #endif /* RELIEFOS_LAYOUT_H */ diff --git a/include/reliefos/net.h b/include/reliefos/net.h index c42aaa7e..c10df3e6 100644 --- a/include/reliefos/net.h +++ b/include/reliefos/net.h @@ -10,10 +10,6 @@ #include int reliefos_net_config(struct reliefos_net_config *config); -int reliefos_net_get_dns_policy(struct reliefos_net_dns_policy *result); -int reliefos_net_set_dns_policy(uint32_t mode, uint32_t custom_dns_ip, - struct reliefos_net_dns_policy *result); -int reliefos_net_dhcp_renew(uint32_t timeout_ms, struct reliefos_net_dhcp *result); int reliefos_net_ping(uint32_t target_ip, uint32_t timeout_ms, struct reliefos_net_ping *result); int reliefos_net_dns_resolve(const char *name, uint32_t timeout_ms, diff --git a/include/reliefos/net_service.h b/include/reliefos/net_service.h index b4ead096..ae09cb53 100644 --- a/include/reliefos/net_service.h +++ b/include/reliefos/net_service.h @@ -3,9 +3,8 @@ /* Versioned ReliefOS network service SDK. * - * Consumers talk to the kernel query adapter and authenticated OpenRC commands - * through this library; /dev/net0 and the fd 3 network channel are gone. - * Data traffic uses standard AF_INET sockets. + * The library exposes ReliefNT diagnostics and standard socket operations. + * Interface configuration is owned by systemd-networkd and systemd-resolved. */ #include #include @@ -13,8 +12,6 @@ #define NET_SERVICE_ABI_VERSION 1U typedef struct reliefos_net_config net_service_config_t; -typedef struct reliefos_net_dns_policy net_service_dns_policy_t; -typedef struct reliefos_net_dhcp net_service_dhcp_t; typedef struct reliefos_net_ping net_service_ping_t; typedef struct reliefos_net_dns net_service_dns_t; typedef struct reliefos_net_http_get net_service_http_get_t; @@ -52,11 +49,6 @@ typedef struct reliefos_net_connection_list net_service_connection_list_t; #define NET_SERVICE_STATUS_PROTOCOL_UNSUPPORTED RELIEFOS_NET_STATUS_PROTOCOL_UNSUPPORTED #define NET_SERVICE_STATUS_TLS_FAILED RELIEFOS_NET_STATUS_TLS_FAILED -#define NET_SERVICE_DNS_MODE_QUERY RELIEFOS_NET_DNS_MODE_QUERY -#define NET_SERVICE_DNS_MODE_CLOUDFLARE RELIEFOS_NET_DNS_MODE_CLOUDFLARE -#define NET_SERVICE_DNS_MODE_DHCP RELIEFOS_NET_DNS_MODE_DHCP -#define NET_SERVICE_DNS_MODE_CUSTOM RELIEFOS_NET_DNS_MODE_CUSTOM -#define NET_SERVICE_CLOUDFLARE_DNS_IP RELIEFOS_NET_CLOUDFLARE_DNS_IP #define NET_SERVICE_TCP_SYN_SENT RELIEFOS_NET_TCP_SYN_SENT #define NET_SERVICE_TCP_ESTABLISHED RELIEFOS_NET_TCP_ESTABLISHED @@ -74,10 +66,6 @@ typedef struct reliefos_net_connection_list net_service_connection_list_t; #define NET_SERVICE_SOCKET_MAX RELIEFOS_NET_SOCKET_MAX int net_service_config(net_service_config_t *config); -int net_service_get_dns_policy(net_service_dns_policy_t *result); -int net_service_set_dns_policy(uint32_t mode, uint32_t custom_dns_ip, - net_service_dns_policy_t *result); -int net_service_dhcp_renew(uint32_t timeout_ms, net_service_dhcp_t *result); int net_service_ping(uint32_t target_ip, uint32_t timeout_ms, net_service_ping_t *result); int net_service_dns_resolve(const char *name, uint32_t timeout_ms, diff --git a/include/reliefos/openrc.h b/include/reliefos/openrc.h deleted file mode 100644 index 0e7230cc..00000000 --- a/include/reliefos/openrc.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef RELIEFOS_OPENRC_H -#define RELIEFOS_OPENRC_H -/* Returns the real command exit status, or -1 on transport/authentication error. */ -int reliefos_openrc_run(const char *service, const char *action); -/* True only if OpenRC's default runlevel includes this service. */ -int reliefos_openrc_enabled(const char *service); -/* On-demand UI worker; owns no service state. Returns child PID or -1. - * poll returns 0 pending, 1 with command status, -1 on wait error. - * Internal worker errors produce status 125. Caller must poll to reap. */ -int reliefos_openrc_spawn(const char *service, const char *action); -int reliefos_openrc_poll(int child, int *result); -#endif diff --git a/include/reliefos/psf_font.h b/include/reliefos/psf_font.h deleted file mode 100644 index 45c56655..00000000 --- a/include/reliefos/psf_font.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef RELIEFOS_PSF_FONT_H -#define RELIEFOS_PSF_FONT_H - -#include - -#include - -#include - -#define RELIEFOS_FONT_W 8u -#define RELIEFOS_FONT_H 16u -#define RELIEFOS_SYSTEM_FONT_PATH RELIEFOS_PATH_SYSTEM_FONT - -struct reliefos_psf_view { - const uint8_t *glyphs; - uint32_t glyph_count; - uint32_t char_size; -}; - -static inline int reliefos_psf_view_from_memory(const uint8_t *font, uint32_t len, - struct reliefos_psf_view *out) -{ - uint32_t glyph_count = 256; - uint32_t char_size = 16; - uint32_t header_size = 0; - if (!font || !out) { - return 0; - } - if (len >= 4 && font[0] == 0x36 && font[1] == 0x04) { - char_size = font[3]; - glyph_count = (font[2] & 0x01u) ? 512u : 256u; - header_size = 4; - } else if (len >= 32 && - font[0] == 0x72 && font[1] == 0xb5 && font[2] == 0x4a && font[3] == 0x86) { - header_size = (uint32_t)font[8] | - ((uint32_t)font[9] << 8) | - ((uint32_t)font[10] << 16) | - ((uint32_t)font[11] << 24); - glyph_count = (uint32_t)font[16] | - ((uint32_t)font[17] << 8) | - ((uint32_t)font[18] << 16) | - ((uint32_t)font[19] << 24); - char_size = (uint32_t)font[20] | - ((uint32_t)font[21] << 8) | - ((uint32_t)font[22] << 16) | - ((uint32_t)font[23] << 24); - } else { - return 0; - } - if (char_size == 0 || glyph_count == 0 || - header_size > len || (uint64_t)char_size * glyph_count > len - header_size) { - return 0; - } - out->glyphs = font + header_size; - out->glyph_count = glyph_count; - out->char_size = char_size; - return 1; -} - -static inline const uint8_t *reliefos_psf_view_glyph(const struct reliefos_psf_view *view, - char ch) -{ - uint32_t glyph = (uint8_t)ch; - if (!view || !view->glyphs || view->char_size == 0 || view->glyph_count == 0) { - return reliefos_lat15_vga16_psf + 4 + (uint32_t)'?' * 16u; - } - if (glyph < 32 || glyph >= view->glyph_count) { - glyph = '?'; - } - return view->glyphs + glyph * view->char_size; -} - -static inline const uint8_t *reliefos_psf_glyph(char ch) -{ - struct reliefos_psf_view view; - if (!reliefos_psf_view_from_memory(reliefos_lat15_vga16_psf, - reliefos_lat15_vga16_psf_len, &view)) { - return reliefos_lat15_vga16_psf + 4 + (uint32_t)'?' * 16u; - } - return reliefos_psf_view_glyph(&view, ch); -} - -#endif diff --git a/kernel/reliefnt b/kernel/reliefnt index 0b5678b7..0ed53223 160000 --- a/kernel/reliefnt +++ b/kernel/reliefnt @@ -1 +1 @@ -Subproject commit 0b5678b7ffd18b49b304b7b82be82552f8f73957 +Subproject commit 0ed532232afc6f1dcd89503e4b8f3be394b09cbb diff --git a/packages/arch/libreliefos/PKGBUILD b/packages/arch/libreliefos/PKGBUILD new file mode 100644 index 00000000..ed5e1e5f --- /dev/null +++ b/packages/arch/libreliefos/PKGBUILD @@ -0,0 +1,35 @@ +# Build from the current ReliefOS checkout and its initialized submodules. +# The offline arch-build entry supplies RELIEFOS_SOURCE_ROOT and a writable BUILDDIR. +pkgname=libreliefos +pkgver=5.3.4 +pkgrel=1.${RELIEFOS_KERNEL_PACKAGE_SEQUENCE:?build via make arch-build} +pkgdesc='ReliefOS userspace runtime and development headers for glibc' +arch=('x86_64') +url='https://github.com/ReliefOSProject/ReliefOS' +license=('Apache-2.0' 'Unicode-3.0') +depends=('glibc' 'libxcrypt' 'libpng' 'mbedtls3' 'ca-certificates' 'systemd-libs') +makedepends=('clang' 'lld' 'llvm' 'pkgconf' 'linux-api-headers') +options=('!debug' '!lto' '!strip') + +build() { + local root=${RELIEFOS_SOURCE_ROOT:?build via make arch-build from the ReliefOS checkout} + grep -Fxq "release_version=$pkgver" "$root/configs/build-version" || { + printf 'libreliefos: update pkgver to match configs/build-version\n' >&2 + return 1 + } + make -C "$root" O="$BUILDDIR/kbuild" ARCH=x86_64 \ + PROFILE="${RELIEFOS_PACKAGE_PROFILE:-release}" glibc-runtime +} + +package() { + local root=${RELIEFOS_SOURCE_ROOT:?} build_root=$BUILDDIR/kbuild/glibc + local headers=$pkgdir/usr/include licenses=$pkgdir/usr/share/licenses/$pkgname header + install -Dm755 "$build_root/lib/libreliefos.so.2" "$pkgdir/usr/lib/libreliefos.so.2" + ln -s libreliefos.so.2 "$pkgdir/usr/lib/libreliefos.so" + while IFS= read -r header; do + install -Dm644 "$build_root/include/$header" "$headers/$header" + done < "$build_root/headers.list" + install -Dm644 -t "$licenses" "$root/LICENSE" "$root/NOTICE" + install -Dm644 -t "$licenses/reliefnt" "$root/kernel/reliefnt/LICENSE" "$root/kernel/reliefnt/NOTICE" + install -Dm644 "$root/userland/runtime/data/ICU-DATA-LICENSE" "$licenses/GBK-mapping-COPYRIGHT" +} diff --git a/packages/arch/paru/PKGBUILD b/packages/arch/paru/PKGBUILD new file mode 100644 index 00000000..6268889a --- /dev/null +++ b/packages/arch/paru/PKGBUILD @@ -0,0 +1,41 @@ +# Build the pinned upstream release, not the AUR recipe or a prebuilt binary. +pkgname=paru +pkgver=2.2.1 +pkgrel=1 +pkgdesc='AUR helper for pacman' +arch=('x86_64') +url='https://github.com/Morganamilo/paru' +license=('GPL-3.0-or-later') +depends=('glibc' 'libgcc' 'git>=2.40' 'pacman>=7.1' 'libalpm.so' 'libssl.so' 'libcrypto.so' 'ca-certificates') +makedepends=('cargo' 'gettext' 'pkgconf') +optdepends=('base-devel: tools for building AUR packages' 'sudo: authorize pacman transactions') +backup=('etc/paru.conf') +options=('!debug' '!lto') +_commit=f3448894939f665befeed319a569eea13f6e21f0 +source=("$pkgname-$_commit.tar.gz::https://codeload.github.com/Morganamilo/paru/tar.gz/$_commit") +sha256sums=('df3c15c093364ddf3b41ca5540df94775e4477c420b6220c9ce3dda41c147a10') + +prepare() { + cd "$srcdir/$pkgname-$_commit" + cargo fetch --locked --target x86_64-unknown-linux-gnu +} + +build() { + cd "$srcdir/$pkgname-$_commit" + cargo build --frozen --release --target x86_64-unknown-linux-gnu + bash scripts/mkmo locale/ +} + +package() { + cd "$srcdir/$pkgname-$_commit" + local target=${CARGO_TARGET_DIR:-target}/x86_64-unknown-linux-gnu/release + install -Dm755 "$target/paru" "$pkgdir/usr/bin/paru" + install -Dm644 paru.conf "$pkgdir/etc/paru.conf" + install -Dm644 man/paru.8 "$pkgdir/usr/share/man/man8/paru.8" + install -Dm644 man/paru.conf.5 "$pkgdir/usr/share/man/man5/paru.conf.5" + install -Dm644 completions/bash "$pkgdir/usr/share/bash-completion/completions/paru" + install -Dm644 completions/fish "$pkgdir/usr/share/fish/vendor_completions.d/paru.fish" + install -Dm644 completions/zsh "$pkgdir/usr/share/zsh/site-functions/_paru" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/paru/LICENSE" + cp -r -- locale "$pkgdir/usr/share/" +} diff --git a/packages/arch/reliefos-apps/PKGBUILD b/packages/arch/reliefos-apps/PKGBUILD new file mode 100644 index 00000000..9782d67f --- /dev/null +++ b/packages/arch/reliefos-apps/PKGBUILD @@ -0,0 +1,330 @@ +# Build the graphical applications from the current ReliefOS checkout. +pkgbase=reliefos-apps +# shellcheck source=/dev/null +source "${RELIEFOS_SOURCE_ROOT:?build via make build}/tools/build/arch-guest-packages.sh" +reliefos_application_packages || return 1 +pkgname=("${application_packages[@]}") +unset application_packages +pkgver=5.3.4 +pkgrel=1.${RELIEFOS_KERNEL_PACKAGE_SEQUENCE:?build via make arch-build} +pkgdesc='ReliefOS graphical applications' +arch=('x86_64') +url='https://github.com/ReliefOSProject/ReliefOS' +license=('Apache-2.0') +depends=("libreliefos>=$pkgver-$pkgrel" 'fltk' 'libx11' 'gcc-libs' 'noto-fonts-cjk') +makedepends=('clang' 'lld' 'llvm' 'pkgconf' 'linux-api-headers' 'gettext' 'libpng' 'cairo' 'freetype2' 'ffmpeg' + 'sqlite' 'mbedtls3' 'alsa-lib' 'ncurses' 'glib2' 'fltk' 'libx11' 'pacman') +options=('!debug' '!lto' '!strip') + +build() { + local root=${RELIEFOS_SOURCE_ROOT:?build via make arch-build from the ReliefOS checkout} + grep -Fxq "release_version=$pkgver" "$root/configs/build-version" || { + printf 'reliefos-apps: update pkgver to match configs/build-version\n' >&2 + return 1 + } + make -C "$root" O="$BUILDDIR/kbuild" ARCH=x86_64 \ + PROFILE="${RELIEFOS_PACKAGE_PROFILE:-release}" glibc-apps + make -C "$root" O="$BUILDDIR/kbuild" ARCH=x86_64 \ + PROFILE="${RELIEFOS_PACKAGE_PROFILE:-release}" glibc-installer +} + +install_command() { + local app=$1 root=${RELIEFOS_SOURCE_ROOT:?} locale + install -Dm755 "$BUILDDIR/kbuild/glibc/bin/$app" "$pkgdir/usr/bin/$app" + for locale in zh_CN ja_JP; do + install -d "$pkgdir/usr/share/locale/$locale/LC_MESSAGES" + msgfmt -o "$pkgdir/usr/share/locale/$locale/LC_MESSAGES/$app.mo" \ + "$root/configs/nls/po/$app/$locale.po" + done + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$root/LICENSE" "$root/NOTICE" +} + +install_app() { + local app=$1 root=${RELIEFOS_SOURCE_ROOT:?} icon icon_path + install_command "$app" + install -Dm644 "$root/userland/apps/$app/$app.desktop" "$pkgdir/usr/share/applications/$app.desktop" + if [[ -f $root/resources/build-art/app-icons/$app.bmp ]]; then + install -Dm644 "$root/resources/build-art/app-icons/$app.bmp" \ + "$pkgdir/usr/lib/reliefos/apps/$app/$app.bmp" + for icon in "$root"/resources/build-art/app-icons/hicolor/*/apps/reliefos-"$app".png; do + icon_path=${icon#*/hicolor/} + install -Dm644 "$icon" "$pkgdir/usr/share/icons/hicolor/${icon_path%/*}/reliefos-$app.png" + done + fi + if [[ -f $root/userland/apps/$app/$app.xml ]]; then + install -Dm644 "$root/userland/apps/$app/$app.xml" "$pkgdir/usr/share/mime/packages/$app.xml" + fi +} + +package_reliefos-calc() { + pkgdesc='ReliefOS calculator' + install_app calc +} + +package_reliefos-fileman() { + pkgdesc='ReliefOS file manager' + depends+=('glib2' 'polkit' 'polkit-gnome') + install_app fileman + install -Dm755 "$BUILDDIR/kbuild/glibc/bin/fileman-volume-helper" \ + "$pkgdir/usr/libexec/reliefos/fileman-volume-helper" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/fileman-volume-helper/org.reliefos.fileman.policy" \ + "$pkgdir/usr/share/polkit-1/actions/org.reliefos.fileman.policy" +} + +package_reliefos-osver() { + pkgdesc='ReliefOS system information' + install_app osver + install -Dm644 "$RELIEFOS_SOURCE_ROOT/logo.png" "$pkgdir/usr/share/reliefos/resources/logo.png" +} + +package_reliefos-installer() { + pkgdesc='ReliefOS graphical and terminal installer' + depends+=('ncurses' 'pacman' 'gnupg' 'e2fsprogs' 'dosfstools' 'util-linux') + install_app installer + install -Dm755 "$RELIEFOS_SOURCE_ROOT/userland/apps/installer/arch-online-install.sh" \ + "$pkgdir/usr/libexec/reliefos/arch-online-install" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/tools/build/arch-guest-packages.sh" \ + "$pkgdir/usr/libexec/reliefos/arch-guest-packages" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/tools/build/arch-applications.list" \ + "$pkgdir/usr/libexec/reliefos/arch-applications.list" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/tools/build/arch-systemd-stamps.sh" \ + "$pkgdir/usr/libexec/reliefos/arch-systemd-stamps" +} + +package_reliefos-packages() { + pkgdesc='ReliefOS graphical package manager' + depends+=('pacman' 'libalpm.so' 'polkit' 'polkit-gnome' 'openssl' 'ca-certificates-utils') + install_app reliefpackages + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/reliefpackages/reliefos-updates.desktop" \ + "$pkgdir/usr/share/applications/reliefos-updates.desktop" + install -Dm755 "$RELIEFOS_SOURCE_ROOT/userland/apps/reliefpackages/package-transaction" \ + "$pkgdir/usr/libexec/reliefos/package-transaction" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/reliefpackages/org.reliefos.packages.policy" \ + "$pkgdir/usr/share/polkit-1/actions/org.reliefos.packages.policy" +} + +package_reliefos-imageview() { + pkgdesc='ReliefOS image viewer' + install_app imageview +} + +package_reliefos-minesweeper() { + pkgdesc='ReliefOS Minesweeper game' + install_app minesweeper + install -Dm644 -t "$pkgdir/usr/share/reliefos/resources" \ + "$RELIEFOS_SOURCE_ROOT/resources/build-art/minesweeper/"{minesweeper-mine,minesweeper-flag}.bmp +} + +package_reliefos-paint() { + pkgdesc='ReliefOS paint application' + depends+=('libpng') + install_app paint +} + +package_reliefos-relieftodo() { + pkgdesc='ReliefOS task manager' + depends+=('shared-mime-info') + install_app relieftodo +} + +package_reliefos-reliefcapture() { + pkgdesc='ReliefOS screenshot and annotation application' + depends+=('libpng') + install_app reliefcapture +} + +package_reliefos-reliefclipboard() { + pkgdesc='ReliefOS clipboard manager' + depends+=('libpng') + backup=('etc/xdg/autostart/reliefclipboard.desktop') + install_app reliefclipboard + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/reliefclipboard/reliefclipboard-autostart.desktop" \ + "$pkgdir/etc/xdg/autostart/reliefclipboard.desktop" +} + +package_reliefos-reliefexcel() { + pkgdesc='ReliefOS spreadsheet application' + depends+=('shared-mime-info') + install_app reliefexcel +} + +package_reliefos-reliefppt() { + pkgdesc='ReliefOS presentation application' + depends+=('libpng' 'shared-mime-info') + install_app reliefppt +} + +package_reliefos-reliefword() { + pkgdesc='ReliefOS word processor' + depends+=('shared-mime-info') + install_app reliefword +} + +package_reliefos-network-controller() { + pkgdesc='ReliefOS networkd configuration and network diagnostics' + depends+=('systemd' 'iputils' 'bind' 'polkit') + install_app network-controller + install -Dm755 "$RELIEFOS_SOURCE_ROOT/userland/apps/network-controller/network-configuration" \ + "$pkgdir/usr/libexec/reliefos/network-configuration" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/network-controller/org.reliefos.network.policy" \ + "$pkgdir/usr/share/polkit-1/actions/org.reliefos.network.policy" +} + +package_reliefos-settings() { + pkgdesc='ReliefOS language, time, display and keyboard settings' + depends+=('systemd' 'polkit' 'xorg-xrandr' 'xorg-setxkbmap' 'xkeyboard-config') + optdepends=('reliefos-network-controller: Ethernet and DNS settings' + 'reliefos-service-controller: systemd service management') + install_app reliefsettings + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/reliefsettings/reliefsettings-autostart.desktop" \ + "$pkgdir/etc/xdg/autostart/reliefsettings.desktop" +} + +package_reliefos-service-controller() { + pkgdesc='ReliefOS systemd service manager' + depends+=('systemd' 'polkit') + install_app service-controller +} + +package_reliefos-diskmgr() { + pkgdesc='ReliefOS disk and partition manager' + depends+=('polkit' 'polkit-gnome' 'e2fsprogs') + install_app diskmgr + install -Dm755 "$BUILDDIR/kbuild/glibc/bin/diskmgr-helper" \ + "$pkgdir/usr/libexec/reliefos/diskmgr-helper" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/diskmgr/org.reliefos.diskmgr.policy" \ + "$pkgdir/usr/share/polkit-1/actions/org.reliefos.diskmgr.policy" +} + +package_reliefos-taskmgr() { + pkgdesc='ReliefOS process monitor and XDG autostart settings' + depends+=('glib2') + install_app taskmgr +} + +package_reliefos-reliefdiagram() { + pkgdesc='ReliefOS diagram editor' + depends+=('libpng' 'shared-mime-info') + install_app reliefdiagram +} + +package_reliefos-reliefmail() { + pkgdesc='ReliefOS IMAP and SMTP email client' + depends+=('sqlite' 'mbedtls3' 'alsa-lib' 'libpng' 'ca-certificates') + optdepends=('reliefos-packages: repair system certificates in the desktop') + install_app reliefmail +} + +package_reliefos-reliefmath() { + pkgdesc='ReliefOS formula editor and renderer' + depends+=('cairo' 'freetype2' 'libpng' 'shared-mime-info') + license+=('OFL-1.1') + install_app reliefmath + install -Dm755 "$BUILDDIR/kbuild/glibc/bin/reliefmath-render" \ + "$pkgdir/usr/libexec/reliefos/reliefmath-render" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/resources/reliefmath/STIXTwoMath-Regular.otf" \ + "$pkgdir/usr/share/reliefmath/STIXTwoMath-Regular.otf" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/resources/licenses/reliefmath/STIX-OFL.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/STIX-OFL.txt" +} + +package_reliefos-reliefmathpp() { + pkgdesc='ReliefOS interactive geometry editor' + depends+=('libpng' 'shared-mime-info') + install_app reliefmathpp +} + +package_reliefos-reliefplayer() { + pkgdesc='ReliefOS audio and video player' + depends+=('ffmpeg') + license+=('CC0-1.0') + install_app reliefplayer + install -Dm644 "$RELIEFOS_SOURCE_ROOT/third_party/minimp3/minimp3.h" \ + "$pkgdir/usr/share/licenses/$pkgname/minimp3-NOTICE" +} + +package_reliefos-doom() { + pkgdesc='ReliefOS DoomGeneric frontend, with Freedoom Phase 1' + license=('GPL-3.0-or-later' 'LGPL-2.1-or-later' 'BSD-3-Clause') + install_app doom + install -Dm644 "$RELIEFOS_SOURCE_ROOT/third_party/doomgeneric/freedoom1.wad" \ + "$pkgdir/usr/share/games/doom/freedoom1.wad" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/third_party/doomgeneric/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/DoomGeneric-COPYING" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \ + "$RELIEFOS_SOURCE_ROOT/third_party/doomgeneric/FREEDOOM-COPYING.txt" + install -Dm644 "$RELIEFOS_OPL3_DIR/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/Nuked-OPL3-LICENSE" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/configs/application-sources.lock.json" \ + "$pkgdir/usr/share/licenses/$pkgname/SOURCE.json" +} + +package_reliefos-doomlauncher() { + pkgdesc='ReliefOS Doom game launcher' + depends+=('reliefos-doom') + install_app doomlauncher +} + +package_reliefos-leonmmcoset() { + pkgdesc='Leonmmcoset ReliefOS artwork viewer' + install_app leonmmcoset + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/leonmmcoset/leonmmcoset.png" \ + "$pkgdir/usr/lib/reliefos/apps/leonmmcoset/leonmmcoset.png" +} + +package_reliefos-xiaobai() { + pkgdesc='Xiaobai ReliefOS artwork viewer' + install_app xiaobai + install -Dm644 "$RELIEFOS_SOURCE_ROOT/userland/apps/xiaobai/xiaobai.png" \ + "$pkgdir/usr/lib/reliefos/apps/xiaobai/xiaobai.png" +} + +package_reliefos-matrix() { + pkgdesc='ReliefOS Matrix terminal animation' + depends=('glibc') + install_command matrix +} + +package_reliefos-snake() { + pkgdesc='ReliefOS terminal Snake game' + depends=('glibc') + install_command snake +} + +package_reliefos-wavplay() { + pkgdesc='ReliefOS terminal WAV player' + depends=("libreliefos>=$pkgver-$pkgrel") + install_command wavplay +} + +package_reliefos-pleditor() { + pkgdesc='PL Editor for a Linux terminal' + depends=('glibc') + license=('MIT') + install -Dm755 "$BUILDDIR/kbuild/glibc/bin/pleditor" "$pkgdir/usr/bin/pleditor" + install -Dm644 "$RELIEFOS_SOURCE_ROOT/third_party/pl_editor/LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_reliefos-soundctl() { + pkgdesc='ReliefOS ALSA device controls and test tone' + depends=('glibc' 'alsa-lib') + install_command soundctl +} + +package_reliefos-driverinfo() { + pkgdesc='ReliefOS kernel module and PCI device information' + depends=('glibc') + install_command driverinfo +} + +package_reliefos-memtest() { + pkgdesc='ReliefOS user memory diagnostic' + depends=('glibc') + install_command memtest +} + +package_reliefos-smptest() { + pkgdesc='ReliefOS CPU affinity and SMP diagnostic' + depends=('glibc') + install_command smptest +} diff --git a/packages/arch/reliefos-boot/59-reliefos-block-state.rules b/packages/arch/reliefos-boot/59-reliefos-block-state.rules new file mode 100644 index 00000000..b030dbaa --- /dev/null +++ b/packages/arch/reliefos-boot/59-reliefos-block-state.rules @@ -0,0 +1,2 @@ +# Preserve initialized block devices when dracut clears the initrd udev database. +SUBSYSTEM=="block", OPTIONS+="db_persist" diff --git a/packages/arch/reliefos-boot/60-reliefos-boot-preflight.hook b/packages/arch/reliefos-boot/60-reliefos-boot-preflight.hook new file mode 100644 index 00000000..e6f83771 --- /dev/null +++ b/packages/arch/reliefos-boot/60-reliefos-boot-preflight.hook @@ -0,0 +1,14 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = reliefos-kernel + +[Action] +Description = Checking the ReliefOS boot filesystem +When = PreTransaction +Depends = reliefos-boot +AbortOnFail +# Reserve 128 MiB for another kernel/initramfs pair and boot metadata. +# The updater checks the generated payload's exact incremental requirement. +Exec = /usr/bin/reliefos-boot-preflight /boot 134217728 diff --git a/packages/arch/reliefos-boot/90-reliefos-boot-update.hook b/packages/arch/reliefos-boot/90-reliefos-boot-update.hook new file mode 100644 index 00000000..2e2c571e --- /dev/null +++ b/packages/arch/reliefos-boot/90-reliefos-boot-update.hook @@ -0,0 +1,11 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = reliefos-kernel + +[Action] +Description = Preparing the ReliefOS kernel boot update +When = PostTransaction +Depends = reliefos-boot +Exec = /usr/bin/reliefos-boot-update / /boot diff --git a/packages/arch/reliefos-boot/PKGBUILD b/packages/arch/reliefos-boot/PKGBUILD new file mode 100644 index 00000000..362d14e5 --- /dev/null +++ b/packages/arch/reliefos-boot/PKGBUILD @@ -0,0 +1,41 @@ +pkgname=reliefos-boot +pkgver=1.${RELIEFOS_KERNEL_PACKAGE_SEQUENCE:?build via make arch-build} +pkgrel=1 +pkgdesc='ReliefOS boot preparation tools' +arch=('x86_64') +url='https://github.com/ReliefOSProject/ReliefOS' +license=('Apache-2.0') +depends=('bash' 'coreutils' 'cpio' 'diffutils' 'dracut' 'findutils' 'grep' 'kmod' "libreliefos>=${RELIEFOS_GLIBC_RUNTIME_VERSION:?build via make arch-build}" 'pacman' 'systemd' 'util-linux') +options=('!debug' '!strip') + +package() { + local root=${RELIEFOS_SOURCE_ROOT:?build via make arch-build from the ReliefOS checkout} + install -Dm755 "$root/packages/arch/reliefos-boot/reliefos-mkinitramfs" \ + "$pkgdir/usr/bin/reliefos-mkinitramfs" + install -Dm644 "$root/packages/arch/reliefos-boot/59-reliefos-block-state.rules" \ + "$pkgdir/usr/lib/reliefos/initramfs/59-reliefos-block-state.rules" + install -Dm755 "$root/packages/arch/reliefos-boot/reliefos-mkbundle" \ + "$pkgdir/usr/bin/reliefos-mkbundle" + install -Dm755 "$root/packages/arch/reliefos-boot/reliefos-boot-preflight" \ + "$pkgdir/usr/bin/reliefos-boot-preflight" + install -Dm755 "$root/packages/arch/reliefos-boot/reliefos-boot-update" \ + "$pkgdir/usr/bin/reliefos-boot-update" + install -Dm755 "$root/packages/arch/reliefos-boot/reliefos-kernel-prune" \ + "$pkgdir/usr/bin/reliefos-kernel-prune" + install -Dm644 "$root/packages/arch/reliefos-boot/60-reliefos-boot-preflight.hook" \ + "$pkgdir/usr/share/libalpm/hooks/60-reliefos-boot-preflight.hook" + install -Dm644 "$root/packages/arch/reliefos-boot/90-reliefos-boot-update.hook" \ + "$pkgdir/usr/share/libalpm/hooks/90-reliefos-boot-update.hook" + install -Dm644 "$root/packages/arch/reliefos-boot/reliefos-boot-confirm.service" \ + "$pkgdir/usr/lib/systemd/system/reliefos-boot-confirm.service" + install -Dm755 "$root/packages/arch/reliefos-boot/reliefos-modules-load-prepare" \ + "$pkgdir/usr/libexec/reliefos/modules-load-prepare" + install -Dm644 "$root/packages/arch/reliefos-boot/systemd-modules-load-reliefos.conf" \ + "$pkgdir/usr/lib/systemd/system/systemd-modules-load.service.d/10-reliefos-platform.conf" + install -Dm644 "$root/packages/arch/reliefos-boot/systemd-vconsole-setup-reliefos.conf" \ + "$pkgdir/usr/lib/systemd/system/systemd-vconsole-setup.service.d/10-reliefos-platform.conf" + install -Dm755 "${RELIEFOS_GLIBC_BUILD_ROOT:?build via make arch-build}/bin/kernel-bundle" \ + "$pkgdir/usr/libexec/reliefos/kernel-bundle" + ln -s ../libexec/reliefos/kernel-bundle "$pkgdir/usr/bin/reliefos-kernel-bundle" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$root/LICENSE" "$root/NOTICE" +} diff --git a/packages/arch/reliefos-boot/reliefos-boot-confirm.service b/packages/arch/reliefos-boot/reliefos-boot-confirm.service new file mode 100644 index 00000000..bd337ee0 --- /dev/null +++ b/packages/arch/reliefos-boot/reliefos-boot-confirm.service @@ -0,0 +1,13 @@ +[Unit] +Description=Confirm the running ReliefOS kernel boot +Requires=multi-user.target +After=multi-user.target +RequiresMountsFor=/boot +ConditionPathIsMountPoint=/boot + +[Service] +Type=oneshot +ExecStart=/usr/libexec/reliefos/kernel-bundle --confirm-running / /boot + +[Install] +WantedBy=multi-user.target diff --git a/packages/arch/reliefos-boot/reliefos-boot-preflight b/packages/arch/reliefos-boot/reliefos-boot-preflight new file mode 100755 index 00000000..5fe940f9 --- /dev/null +++ b/packages/arch/reliefos-boot/reliefos-boot-preflight @@ -0,0 +1,44 @@ +#!/bin/bash +# Check the mounted boot filesystem before preparing a kernel update. +set -euo pipefail +export LC_ALL=C + +fail() { + printf 'reliefos-boot-preflight: %s\n' "$*" >&2 + exit 1 +} + +if (( $# != 2 )); then + printf 'usage: %s BOOT_DIRECTORY REQUIRED_BYTES\n' "${0##*/}" >&2 + exit 2 +fi + +boot=$1 +required=$2 +[[ $boot == /* && -d $boot ]] || fail 'boot directory must be an existing absolute path' +[[ $required =~ ^[0-9]+$ ]] || fail 'required space must be a non-negative byte count' + +options=$(findmnt --noheadings --raw --mountpoint "$boot" --output OPTIONS) || + fail 'boot directory is not a mount point' +[[ ,$options, != *,ro,* ]] || fail 'boot mount is read-only' + +probe=$(mktemp -- "$boot/.reliefos-boot-preflight.XXXXXXXX") || fail 'boot mount is not writable' +trap 'rm -f -- "$probe"' EXIT +printf 'ReliefOS boot preflight\n' > "$probe" || fail 'cannot write to boot mount' +sync -f -- "$probe" || fail 'cannot synchronize boot mount probe' +rm -- "$probe" || fail 'cannot remove boot mount probe' +trap - EXIT + +available=$(df --block-size=1 --output=avail -- "$boot" | tail -n 1) || fail 'cannot read boot space' +available=${available//[[:space:]]/} +[[ $available =~ ^[0-9]+$ ]] || fail 'invalid available boot space' +required=${required#"${required%%[!0]*}"} +available=${available#"${available%%[!0]*}"} +required=${required:-0} +available=${available:-0} +if (( ${#required} > ${#available} )) || + { (( ${#required} == ${#available} )) && [[ $required > $available ]]; }; then + fail "insufficient boot space: need $required bytes, have $available bytes" +fi + +printf 'reliefos-boot-preflight: %s is writable with %s bytes available\n' "$boot" "$available" diff --git a/packages/arch/reliefos-boot/reliefos-boot-update b/packages/arch/reliefos-boot/reliefos-boot-update new file mode 100755 index 00000000..f56e62d4 --- /dev/null +++ b/packages/arch/reliefos-boot/reliefos-boot-update @@ -0,0 +1,195 @@ +#!/bin/bash +# Prepare and publish a recoverable kernel boot update. +set -Eeuo pipefail +export LC_ALL=C + +fail() { + printf 'reliefos-boot-update: %s\n' "$*" >&2 + exit 1 +} + +usage() { + printf 'usage: %s ROOT BOOT\n %s --status ROOT\n' "${0##*/}" "${0##*/}" >&2 + exit 2 +} + +status_only=0 +if [[ ${1-} == --status ]]; then + status_only=1 + shift +fi +if (( status_only )); then + (( $# == 1 )) || usage +else + (( $# == 2 )) || usage +fi +[[ $1 == /* ]] || fail 'root must be an absolute directory' +root=$(realpath -e -- "$1") || fail 'root does not exist' +[[ -d $root ]] || fail 'root is not a directory' +base=${root%/} +state_dir=$base/var/lib/reliefos/boot-update +status_file=$state_dir/status + +if (( status_only )); then + if [[ -f $status_file && ! -L $status_file ]]; then + cat -- "$status_file" + elif [[ ! -e $status_file && ! -L $status_file ]]; then + printf 'format_version=1\nstate=none\nstage=none\nrelease=\nexit_code=0\n' + else + fail 'invalid status file' + fi + exit 0 +fi + +[[ $2 == /* ]] || fail 'boot must be an absolute directory' +if [[ $root == / && $(uname -s) != ReliefNT ]]; then + fail 'refusing to update the non-ReliefNT host root' +fi + +mkdir -p -- "$state_dir" || fail 'cannot create status directory' +lock=$state_dir/lock +[[ ! -L $lock && ( ! -e $lock || -f $lock ) ]] || fail 'invalid transaction lock' +exec {lock_fd}>> "$lock" || fail 'cannot open transaction lock' +flock --exclusive "$lock_fd" || fail 'cannot acquire transaction lock' + +stage=release +release= + +write_status() { + local state=$1 exit_code=$2 temporary + temporary=$(mktemp "$state_dir/.status.XXXXXXXX") || return 1 + if ! { printf 'format_version=1\nstate=%s\nstage=%s\nrelease=%s\nexit_code=%s\n' \ + "$state" "$stage" "$release" "$exit_code" > "$temporary" && + sync -f -- "$temporary" && mv -fT -- "$temporary" "$status_file" && + sync -f -- "$state_dir"; }; then + rm -f -- "$temporary" + return 1 + fi +} + +record_failure() { + local result=$? + trap - EXIT + if (( result != 0 )); then + write_status failed "$result" || printf 'reliefos-boot-update: cannot record failure status\n' >&2 + fi + exit "$result" +} +trap record_failure EXIT +trap 'exit 130' INT +trap 'exit 143' TERM + +read_release() { + local marker=$base/usr/lib/reliefos/kernel/current-release size + local -a lines + [[ -f $marker && ! -L $marker ]] || fail 'kernel release record is missing or invalid' + size=$(wc -c < "$marker") || fail 'cannot read kernel release record' + (( size >= 2 && size <= 32 )) || fail 'invalid kernel release record size' + mapfile -t lines < "$marker" + (( ${#lines[@]} == 1 )) || fail 'invalid kernel release record' + [[ ${lines[0]} =~ ^[a-zA-Z0-9][a-zA-Z0-9._+-]*$ ]] || fail 'invalid kernel release' + (( size == ${#lines[0]} + 1 )) || fail 'kernel release record must end with one newline' + printf '%s\n' "${lines[0]}" +} + +write_status running 0 +release=$(read_release) +modules=$base/usr/lib/modules/$release +[[ -d $modules ]] || fail 'installed kernel module directory is missing' + +stage=mount +write_status running 0 +boot=$(realpath -e -- "$2") || fail 'boot directory does not exist' +[[ -d $boot ]] || fail 'boot is not a directory' +reliefos-boot-preflight "$boot" 0 + +stage=generate +write_status running 0 +payload=$(reliefos-mkbundle --print-path --persist "$modules" "$root") +digest=${payload##*/} +[[ ${payload%/*} == "$base/.reliefos/kernel-bundles/$release" && $digest =~ ^[a-f0-9]{64}$ ]] || + fail 'bundle generator returned an invalid persistent path' +version=$payload/usr/lib/reliefos/kernel/$release +destination=$boot/reliefos/versions/$release/$digest + +stage=space +write_status running 0 +block=$(stat -f -c %S -- "$boot") || fail 'cannot inspect boot allocation size' +[[ $block =~ ^[0-9]+$ ]] || fail 'invalid boot allocation size' +(( block > 0 )) || fail 'invalid boot allocation size' +required=0 +complete=1 + +reserve_file() { + local path=$1 size=$2 existing=0 + if [[ -e $path || -L $path ]]; then + [[ -f $path && ! -L $path ]] || fail "invalid boot file: $path" + existing=$(stat -c %s -- "$path") || fail "cannot inspect boot file: $path" + fi + if (( existing < size )); then + required=$((required + ((size + block - 1) / block - (existing + block - 1) / block) * block)) + fi +} + +for name in kernel.sys initramfs.cpio boot.env; do + source=$version/$name + target=$destination/$name + [[ -f $source && ! -L $source ]] || fail "missing generated boot file: $name" + size=$(stat -c %s -- "$source") || fail "cannot inspect generated boot file: $name" + if [[ -e $target || -L $target ]]; then + if [[ ! -f $target || -L $target ]] || ! cmp -s -- "$source" "$target"; then + fail "published boot file conflicts: $name" + fi + else + complete=0 + reserve_file "$target" "$size" + fi +done +checksums=$(cd -- "$version" && sha256sum -- kernel.sys initramfs.cpio boot.env) || + fail 'cannot calculate boot checksums' +target=$destination/SHA256SUMS +if [[ -e $target || -L $target ]]; then + if [[ ! -f $target || -L $target ]] || ! cmp -s -- "$target" <(printf '%s\n' "$checksums"); then + fail 'published boot checksums conflict' + fi +else + complete=0 + reserve_file "$target" "$((${#checksums} + 1))" +fi + +already_selected=0 +if (( complete )) && boot_status=$(reliefos-kernel-bundle --boot-status "$payload" "$boot" 2>/dev/null); then + if grep -Fxq 'boot_protocol=1' <<< "$boot_status" && + grep -Fxq "latest_release=$release" <<< "$boot_status" && + grep -Fxq "latest_initramfs=$digest" <<< "$boot_status"; then + already_selected=1 + fi +fi +if (( ! already_selected )); then + for slot in A B; do + reserve_file "$boot/reliefos/state/kernel-$slot.env" 1024 + reserve_file "$boot/reliefos/state/kernel-$slot.sha256" 79 + reserve_file "$boot/reliefos/state/kernel-$slot.health" 1024 + done + reserve_file "$boot/reliefos/state/boot-health-v1" 23 + # Allow allocation for new directories and directory entries on the ESP. + if (( required > 0 )); then + required=$((required + 8 * block)) + fi +fi +reliefos-boot-preflight "$boot" "$required" + +stage=enable +write_status running 0 +systemctl --root="$root" --no-reload enable reliefos-boot-confirm.service + +stage=publish +write_status running 0 +[[ $(read_release) == "$release" ]] || fail 'installed kernel changed during update' +reliefos-kernel-bundle --publish-installed "$payload" "$boot" +[[ $(read_release) == "$release" ]] || fail 'installed kernel changed during update' + +stage=complete +write_status complete 0 +trap - EXIT INT TERM +printf 'reliefos-boot-update: published %s\n' "$release" diff --git a/packages/arch/reliefos-boot/reliefos-kernel-prune b/packages/arch/reliefos-boot/reliefos-kernel-prune new file mode 100755 index 00000000..5f3ca719 --- /dev/null +++ b/packages/arch/reliefos-boot/reliefos-kernel-prune @@ -0,0 +1,205 @@ +#!/bin/bash +# Remove obsolete versioned kernel packages in a separate pacman transaction. +set -Eeuo pipefail +export LC_ALL=C + +fail() { + printf 'reliefos-kernel-prune: %s\n' "$*" >&2 + exit 1 +} + +usage() { + printf 'usage: %s [--dry-run] [--noconfirm] ROOT BOOT\n' "${0##*/}" >&2 + exit 2 +} + +guard=0 +preview=0 +confirm=() +while [[ ${1-} == --* ]]; do + case $1 in + --guard) guard=1 ;; + --dry-run) preview=1 ;; + --noconfirm) confirm=(--noconfirm) ;; + *) usage ;; + esac + shift +done +(( $# == 2 )) || usage +[[ $1 == /* && $2 == /* ]] || fail 'root and boot must be absolute directories' +root=$(realpath -e -- "$1") || fail 'root does not exist' +[[ -d $root ]] || fail 'root is not a directory' +if (( ! guard )) && [[ $root == / && $(uname -s) != ReliefNT ]]; then + fail 'refusing to prune the non-ReliefNT host root' +fi +base=${root%/} +boot=$(realpath -e -- "$2") || fail 'boot does not exist' +[[ -d $boot && $boot == "$base/"* && $boot != "$root" ]] || fail 'boot must be inside root' +[[ $boot != *$'\n'* && $boot != *$'\r'* ]] || fail 'invalid boot path' +pacman=(pacman) +pacman_config=(pacman-conf) +if [[ $root != / ]]; then + # Keep file queries and hook paths in the same namespace across pacman versions. + pacman=(chroot "$root" /usr/bin/pacman) + pacman_config=(chroot "$root" /usr/bin/pacman-conf) +fi + +declare -A protected=() + +# @brief Check package ownership and the full ABI of a release that must survive. +# @param $1 Canonical release from the running kernel, installed pointer or slot. +# @param $2 Optional complete slot ABI, which must agree with the installed package. +protect_release() { + local release=$1 expected=${2-} modules abi owner file + [[ $release =~ ^[a-zA-Z0-9][a-zA-Z0-9._+-]*$ && ${#release} -lt 32 ]] || fail 'invalid protected release' + modules=$base/usr/lib/modules/$release + [[ $(realpath -e -- "$modules") == "$modules" ]] || fail "invalid protected module directory: $release" + for file in kernel.sys config module.abi; do + [[ -f $modules/$file && ! -L $modules/$file ]] || fail "incomplete protected package: $release/$file" + done + IFS= read -r abi < "$modules/module.abi" || fail "invalid protected ABI record: $release" + [[ $abi =~ ^[a-f0-9]{64}$ && $(wc -c < "$modules/module.abi") == 65 && ${release: -12} == "${abi:0:12}" ]] || + fail "invalid protected module ABI: $release" + [[ -z $expected || $abi == "$expected" ]] || fail "protected slot ABI differs from its package: $release" + for file in kernel.sys config module.abi; do + owner=$("${pacman[@]}" -Qoq -- "/usr/lib/modules/$release/$file") || fail "cannot query protected owner: $release/$file" + [[ $owner == "reliefos-kernel-${release,,}-$abi" ]] || fail "unexpected protected package owner: $release/$file" + done + protected[$release]=$abi +} + +# @brief Read bounded native boot identities and validate their installed owners. +# The caller holds the updater lock. The removal guard also runs under pacman's lock. +load_protected() { + local status key value owner slot + local -A fields=() + findmnt --noheadings --mountpoint "$boot" > /dev/null || fail 'boot is not a mountpoint' + status=$(reliefos-kernel-bundle --prune-status "$root" "$boot") || fail 'cannot validate protected boot identities' + while IFS='=' read -r key value; do + [[ $key =~ ^[a-zA-Z0-9_]+$ && ! -v fields[$key] ]] || fail 'invalid prune identity record' + fields[$key]=$value + done <<< "$status" + [[ ${fields[format_version]-} == 1 ]] || fail 'unsupported prune identity record' + owner=$("${pacman[@]}" -Qoq -- /usr/lib/reliefos/kernel/current-release) || fail 'cannot query installed pointer owner' + [[ $owner == reliefos-kernel ]] || fail 'installed pointer is not owned by the kernel metapackage' + for key in running_release installed_release confirmed_release; do + protect_release "${fields[$key]-}" + done + for slot in A B; do + key=slot_${slot}_release + if [[ -v fields[$key] ]]; then + protect_release "${fields[$key]}" "${fields[slot_${slot}_module_abi]-}" + fi + done +} + +# @brief Identify only a canonical versioned package confined to its module tree. +# @param $1 Installed package name. @return Zero with package_release set or failure. +# Inventory remains usable after an interrupted removal has unlinked some members. +package_release= +identify_package() { + local package=$1 inventory file release='' abi prefix + local kernel=0 config=0 metadata=0 + [[ $package =~ ^reliefos-kernel-.+-([a-f0-9]{64})$ ]] || fail "invalid versioned package name: $package" + abi=${BASH_REMATCH[1]} + inventory=$("${pacman[@]}" -Qlq -- "$package") || fail "cannot query kernel package inventory: $package" + while IFS= read -r file; do + if [[ $file =~ ^/usr/lib/modules/([a-zA-Z0-9][a-zA-Z0-9._+-]*)/module\.abi$ ]]; then + [[ -z $release ]] || fail "multiple releases owned by package: $package" + release=${BASH_REMATCH[1]} + fi + done <<< "$inventory" + [[ -n $release && ${#release} -lt 32 && ${release: -12} == "${abi:0:12}" && + $package == "reliefos-kernel-${release,,}-$abi" ]] || fail "kernel package identity mismatch: $package" + prefix=/usr/lib/modules/$release + while IFS= read -r file; do + case $file in + /usr/|/usr/lib/|/usr/lib/modules/) continue ;; + "$prefix/"*) ;; + *) fail "kernel package owns files outside its release: $package" ;; + esac + [[ $file != */../* && $file != */./* && $file != *//* ]] || fail 'invalid package member path' + case $file in + "$prefix/kernel.sys") kernel=1 ;; + "$prefix/config") config=1 ;; + "$prefix/module.abi") metadata=1 ;; + esac + done <<< "$inventory" + (( kernel && config && metadata )) || fail "incomplete kernel package inventory: $package" + package_release=$release +} + +if (( guard )); then + load_protected + targets=() + mapfile -t targets + (( ${#targets[@]} > 0 )) || fail 'removal guard received no targets' + for package in "${targets[@]}"; do + identify_package "$package" + [[ ! -v protected[$package_release] ]] || fail "transaction targets a protected release: $package_release" + done + exit 0 +fi + +state=$base/var/lib/reliefos/boot-update +mkdir -p -- "$state" || fail 'cannot create updater lock directory' +[[ ! -L $state/lock && ( ! -e $state/lock || -f $state/lock ) ]] || fail 'invalid updater lock' +exec {lock_fd}>> "$state/lock" || fail 'cannot open updater lock' +flock --exclusive "$lock_fd" || fail 'cannot acquire updater lock' +# pacman fails immediately on an existing db.lck, allowing a pending updater to +# proceed after this lock is released. Never wait for pacman while holding it. +load_protected +packages=$("${pacman[@]}" -Qq) || fail 'cannot query installed packages' +candidates=() +while IFS= read -r package; do + [[ $package == reliefos-kernel-* ]] || continue + identify_package "$package" + if [[ ! -v protected[$package_release] ]]; then + candidates+=("$package") + fi +done <<< "$packages" +if (( ${#candidates[@]} == 0 )); then + printf 'reliefos-kernel-prune: no obsolete kernel packages\n' + exit 0 +fi +if (( preview )); then + "${pacman[@]}" -R --unneeded --print --print-format '%n' -- "${candidates[@]}" + exit +fi + +[[ -d $base/run && ! -L $base/run ]] || fail 'root has no regular /run directory' +temporary=$(mktemp -d "$base/run/reliefos-kernel-prune.XXXXXXXX") || fail 'cannot create private removal guard' +trap 'rm -rf -- "$temporary"' EXIT +trap 'exit 130' INT +trap 'exit 143' TERM +cp -- "$0" "$temporary/guard" +mkdir -- "$temporary/hooks" +guard_path=${temporary#"$base"}/guard +hook_boot=${boot#"$base"} +hook_boot=${hook_boot//\\/\\\\} +hook_boot=${hook_boot//\"/\\\"} +cat > "$temporary/hooks/zz-reliefos-kernel-prune.hook" <&2 + exit 1 +} + +print_path=0 +if [[ ${1-} == --print-path ]]; then + print_path=1 + shift +fi +archive_option=() +if [[ ${1-} == --from-archive ]]; then + (( $# >= 2 )) || fail 'missing prepared initramfs argument' + archive_option=(--from-archive "$2") + shift 2 +fi +persist=0 +if (( $# == 3 )) && [[ $1 == --persist ]]; then + persist=1 + shift +fi +if (( $# != 2 )); then + printf 'usage: %s [--print-path] [--from-archive INITRAMFS] MODULE_DIRECTORY OUTPUT_DIRECTORY\n %s [--print-path] [--from-archive INITRAMFS] --persist MODULE_DIRECTORY ROOT\n' \ + "${0##*/}" "${0##*/}" >&2 + exit 2 +fi + +modules=$(realpath -e -- "$1") || fail 'kernel module directory does not exist' +[[ -d $modules ]] || fail 'kernel module path is not a directory' +release=${modules##*/} +[[ $release =~ ^[a-zA-Z0-9][a-zA-Z0-9._+-]*$ ]] || fail 'invalid kernel release' +if (( persist )); then + system_root=$(realpath -e -- "$2") || fail 'system root does not exist' + [[ -d $system_root ]] || fail 'system root is not a directory' + root_device=$(stat -c %d -- "$system_root") || fail 'cannot inspect system root' + directory=$system_root + for part in .reliefos kernel-bundles "$release"; do + directory=${directory%/}/$part + [[ ! -L $directory ]] || fail 'persistent bundle directory is a symlink' + mkdir -p -- "$directory" || fail 'cannot create persistent bundle directory' + [[ -d $directory && ! -L $directory ]] || fail 'invalid persistent bundle directory' + device=$(stat -c %d -- "$directory") || fail 'cannot inspect persistent bundle directory' + [[ $device == "$root_device" ]] || fail 'persistent bundle directory is on another filesystem' + done +else + directory=$(realpath -e -- "$(dirname -- "$2")") || fail 'output parent directory does not exist' + name=$(basename -- "$2") + [[ -d $directory && $name != . && $name != .. && $name != / ]] || fail 'invalid output directory' + target=$directory/$name + [[ ! -e $target && ! -L $target ]] || fail 'output already exists' +fi + +pending=$(mktemp -d "$directory/.reliefos-bundle.XXXXXXXX") || fail 'cannot create temporary output directory' +trap 'rm -rf -- "$pending"' EXIT +if (( print_path )); then + reliefos-mkinitramfs "${archive_option[@]}" --bundle "$modules" "$pending/prepared" >&2 +else + reliefos-mkinitramfs "${archive_option[@]}" --bundle "$modules" "$pending/prepared" +fi + +root=$pending/root +version=usr/lib/reliefos/kernel/$release +module_directory=usr/lib/modules/$release +mkdir -p -- "$root/$version" "$root/usr/lib/modules" +mv -T -- "$pending/prepared/lib/modules/$release" "$root/$module_directory" +mv -T -- "$root/$module_directory/kernel.sys" "$root/$version/kernel.sys" +mv -T -- "$pending/prepared/initramfs.cpio" "$root/$version/initramfs.cpio" +abi=$(<"$root/$module_directory/module.abi") +kernel_hash=$(sha256sum -- "$root/$version/kernel.sys") +kernel_hash=${kernel_hash%% *} +initramfs_hash=$(sha256sum -- "$root/$version/initramfs.cpio") +initramfs_hash=${initramfs_hash%% *} +reliefos-kernel-bundle --encode-slot "$release" "$abi" "$kernel_hash" "$initramfs_hash" > "$root/$version/boot.env" +printf '%s\n' "$release" > "$root/usr/lib/reliefos/kernel/current-release" + +( + cd -- "$root" + find "$module_directory" -type f -print0 | sort -z | xargs -0 -r sha256sum -- + sha256sum -- "$version/kernel.sys" "$version/initramfs.cpio" "$version/boot.env" +) > "$root/$version/SHA256SUMS" +reliefos-kernel-bundle --inspect "$root" "$release" > "$pending/identity" || fail 'bundle validation failed' +if (( persist )); then + target=$directory/$initramfs_hash + cp -- "$root/$version/SHA256SUMS" "$pending/SHA256SUMS" + cp -- "$root/usr/lib/reliefos/kernel/current-release" "$pending/current-release" + lock=$directory/.publish.lock + [[ ! -L $lock && ( ! -e $lock || -f $lock ) ]] || fail 'invalid persistent bundle lock' + exec {lock_fd}>> "$lock" || fail 'cannot open persistent bundle lock' + [[ -f $lock && ! -L $lock ]] || fail 'invalid persistent bundle lock' + flock --exclusive "$lock_fd" || fail 'cannot lock persistent bundle directory' + sync -f -- "$root" || fail 'cannot synchronize generated bundle' + if [[ ! -e $target && ! -L $target ]]; then + mv -nT -- "$root" "$target" || fail 'cannot publish persistent bundle' + [[ ! -e $root ]] || fail 'persistent bundle appeared during publication' + fi + [[ -d $target && ! -L $target ]] || fail 'invalid persistent bundle target' + device=$(stat -c %d -- "$target") || fail 'cannot inspect persistent bundle target' + [[ $device == "$root_device" ]] || fail 'persistent bundle target is on another filesystem' + reliefos-kernel-bundle --inspect "$target" "$release" > "$pending/stored-identity" || \ + fail 'existing persistent bundle failed validation' + if ! { cmp -s -- "$pending/identity" "$pending/stored-identity" && \ + cmp -s -- "$pending/SHA256SUMS" "$target/$version/SHA256SUMS" && \ + [[ -f $target/usr/lib/reliefos/kernel/current-release && ! -L $target/usr/lib/reliefos/kernel/current-release ]] && \ + cmp -s -- "$pending/current-release" "$target/usr/lib/reliefos/kernel/current-release"; }; then + fail 'persistent bundle conflicts with generated bundle' + fi + sync -f -- "$directory" || fail 'cannot synchronize persistent bundle publication' +else + mv -nT -- "$root" "$target" || fail 'cannot publish bundle' + [[ ! -e $root ]] || fail 'output already exists' +fi +if (( print_path )); then + printf 'reliefos-mkbundle: generated %s for %s\n' "$target" "$release" >&2 + printf '%s\n' "$target" +else + printf 'reliefos-mkbundle: generated %s for %s\n' "$target" "$release" +fi diff --git a/packages/arch/reliefos-boot/reliefos-mkinitramfs b/packages/arch/reliefos-boot/reliefos-mkinitramfs new file mode 100644 index 00000000..84d34e88 --- /dev/null +++ b/packages/arch/reliefos-boot/reliefos-mkinitramfs @@ -0,0 +1,189 @@ +#!/bin/bash +# Generate the initramfs for an installed, versioned ReliefNT package. +set -euo pipefail +export LC_ALL=C + +fail() { + printf 'reliefos-mkinitramfs: %s\n' "$*" >&2 + exit 1 +} + +is_depmod_index() { + case $1 in + modules.alias|modules.alias.bin|modules.builtin.alias.bin|modules.builtin.bin|\ + modules.dep|modules.dep.bin|modules.devname|modules.softdep|\ + modules.symbols|modules.symbols.bin|modules.weakdep) return 0 ;; + *) return 1 ;; + esac +} + +verify_package() { + local report status line detail index summary='' altered=-1 valid=1 + local -A changed=() + if report=$("${local_pacman[@]}" -Qkk -- "$package" 2>&1); then + printf '%s\n' "$report" + return 0 + else + status=$? + fi + if (( status == 1 )); then + while IFS= read -r line; do + case $line in + "$package: "*) + if [[ -n $summary ]]; then valid=0; break; fi + summary=${line#"$package: "} + if [[ $summary =~ ^[0-9]+\ total\ files,\ ([0-9]+)\ altered\ files$ ]]; then + altered=$((10#${BASH_REMATCH[1]})) + else + valid=0 + break + fi + ;; + "warning: $package: $modules/"*) + detail=${line#"warning: $package: $modules/"} + index=${detail%% *} + if ! is_depmod_index "$index" || [[ $detail != "$index ("*")" ]]; then + valid=0 + break + fi + changed[$index]=1 + ;; + *) valid=0; break ;; + esac + done <<< "$report" + if (( valid )) && [[ -n $summary ]] && (( altered > 0 && altered == ${#changed[@]} )); then + return 0 + fi + fi + printf '%s\n' "$report" >&2 + return 1 +} + +if [[ ${1-} == --supports-local-queries ]] && (( $# == 1 )); then + exit 0 +fi + +prepared_archive= +if [[ ${1-} == --from-archive ]]; then + (( $# >= 2 )) || fail 'missing prepared initramfs argument' + prepared_archive=$2 + [[ -s $prepared_archive && -f $prepared_archive && ! -L $prepared_archive ]] || + fail 'prepared initramfs is not a regular archive' + shift 2 +fi + +bundle_mode=0 +if (( $# == 3 )) && [[ $1 == --bundle ]]; then + bundle_mode=1 + shift +fi +if (( $# != 2 )); then + printf 'usage: %s [--from-archive INITRAMFS] [--bundle] MODULE_DIRECTORY OUTPUT\n' "${0##*/}" >&2 + exit 2 +fi + +modules=$(realpath -e -- "$1") || fail 'kernel module directory does not exist' +[[ -d $modules ]] || fail 'kernel module path is not a directory' +release=${modules##*/} +[[ $release =~ ^[a-zA-Z0-9][a-zA-Z0-9._+-]*$ ]] || fail 'invalid kernel release' +for file in kernel.sys config module.abi; do + [[ -f $modules/$file && ! -L $modules/$file ]] || fail "missing regular kernel package file: $file" +done +abi=$(<"$modules/module.abi") +[[ $abi =~ ^[0-9a-f]{64}$ ]] || fail 'invalid kernel module ABI' +package=reliefos-kernel-${release,,}-${abi} +# Preserve the configured installation and database paths. Only the local +# installed package database is needed for the ownership and integrity checks. +package_root=$(pacman-conf RootDir) || fail 'cannot determine the pacman root' +package_db=$(pacman-conf DBPath) || fail 'cannot determine the pacman database path' +[[ $package_root == /* && $package_db == /* ]] || fail 'invalid pacman root or database path' +local_pacman=(pacman --config /dev/null --root "$package_root" --dbpath "$package_db") +owners=$("${local_pacman[@]}" -Qoq -- "$modules/kernel.sys" "$modules/config" "$modules/module.abi") || + fail 'cannot determine the owners of the kernel package files' +expected=$(printf '%s\n' "$package" "$package" "$package") +[[ $owners == "$expected" ]] || fail 'kernel package files have unexpected owners' +verify_package || fail "kernel package verification failed: $package" +grep -Fxq CONFIG_BLK_DEV_INITRD=y "$modules/config" || fail 'kernel does not support initramfs' + +directory=$(dirname -- "$2") +name=$(basename -- "$2") +[[ $name != . && $name != .. && -d $directory ]] || fail 'output parent directory does not exist' +if (( bundle_mode )) && [[ -e $directory/$name || -L $directory/$name ]]; then + fail 'output already exists' +fi +pending=$(mktemp -d "$directory/.reliefos-initramfs.XXXXXXXX") || fail 'cannot create temporary output directory' +trap 'rm -rf -- "$pending"' EXIT +archive=$pending/initramfs.cpio +module_source=$modules + +if (( bundle_mode )); then + module_source=$pending/lib/modules/$release + mkdir -p -- "$module_source" + "${local_pacman[@]}" -Qlq -- "$package" > "$pending/owned" || fail "cannot list kernel package files: $package" + while IFS= read -r file || [[ -n $file ]]; do + [[ $file == "$modules/"* ]] || continue + file=${file%/} + relative=${file#"$modules/"} + [[ -n $relative && $relative =~ ^[a-zA-Z0-9._+/-]+$ ]] || fail "invalid package file: $file" + if is_depmod_index "$relative"; then continue; fi + resolved=$(realpath -e -- "$file") || fail "missing package file: $file" + [[ $resolved == "$file" && ! -L $file ]] || fail "unsafe package file: $file" + [[ -d $file ]] && continue + [[ -f $file ]] || fail "invalid package file: $file" + [[ $relative == kernel.debug ]] && continue + mkdir -p -- "$module_source/$(dirname -- "$relative")" + cp --preserve=mode,timestamps -- "$file" "$module_source/$relative" + cmp -s -- "$file" "$module_source/$relative" || fail "changed package file: $file" + done < "$pending/owned" + for file in kernel.sys config module.abi; do + [[ -f $module_source/$file && ! -L $module_source/$file ]] || fail "missing package file in inventory: $file" + done + verify_package || fail "kernel package verification failed: $package" + rm -- "$pending/owned" + # Host kmod may use either default module directory. + mkdir -- "$pending/usr" + ln -s ../lib "$pending/usr/lib" + depmod -C /dev/null -b "$pending" "$release" || fail 'cannot generate module indexes' + rm -- "$pending/usr/lib" + rmdir -- "$pending/usr" +fi + +if [[ -n $prepared_archive ]]; then + cp -- "$prepared_archive" "$archive" || fail 'cannot copy prepared initramfs' +else + scratch=() + # The generic dracut render stages thousands of small files. Prefer tmpfs + # when the runtime filesystem can fit staging with room to spare. + if [[ -z ${TMPDIR:-} ]] && + read -r kind blocks block_size < <(stat -f -c '%T %a %S' /run 2>/dev/null) && + [[ $kind == tmpfs && $blocks =~ ^[0-9]+$ && $block_size =~ ^[0-9]+$ ]] && + (( blocks * block_size >= 128 * 1024 * 1024 )); then + scratch=(--tmpdir /run) + fi + # The selected release may predate filename padding even after a boot + # package upgrade. In that case use dracut's ordinary cpio output. + cpio_format=() + if grep -Fxq CONFIG_RELIEFNT_INITRAMFS_PADDED_NAMES=y "$module_source/config"; then + cpio_format=(--enhanced-cpio) + fi + rule=59-reliefos-block-state.rules + console_policy=/usr/lib/systemd/system/systemd-vconsole-setup.service.d/10-reliefos-platform.conf + dracut "${scratch[@]}" --force --kver "$release" --kmoddir "$module_source" --no-hostonly --no-hostonly-cmdline \ + --include "/usr/lib/reliefos/initramfs/$rule" "/usr/lib/udev/rules.d/$rule" \ + --include "$console_policy" "$console_policy" \ + "${cpio_format[@]}" --no-compress --no-early-microcode "$archive" || fail 'dracut generation failed' +fi +[[ -s $archive && -f $archive && ! -L $archive ]] || fail 'dracut produced no regular initramfs' +magic=$(head -c 6 -- "$archive") +[[ $magic == 070701 || $magic == 070702 ]] || fail 'dracut produced an unsupported archive' +cpio --quiet -it < "$archive" > "$pending/members" || fail 'dracut produced an unreadable archive' +grep -Eq '^(\./)?init$' "$pending/members" || fail 'initramfs has no init entry' +rm -- "$pending/members" +chmod 644 -- "$archive" +if (( bundle_mode )); then + mv -nT -- "$pending" "$directory/$name" || fail 'cannot publish bundle preparation' + [[ ! -e $pending ]] || fail 'output already exists' +else + mv -fT -- "$archive" "$directory/$name" || fail 'cannot publish initramfs' +fi +printf 'reliefos-mkinitramfs: generated %s for %s\n' "$directory/$name" "$release" diff --git a/packages/arch/reliefos-boot/reliefos-modules-load-prepare b/packages/arch/reliefos-boot/reliefos-modules-load-prepare new file mode 100755 index 00000000..5833d8ba --- /dev/null +++ b/packages/arch/reliefos-boot/reliefos-modules-load-prepare @@ -0,0 +1,33 @@ +#!/bin/bash +# SPDX-License-Identifier: Apache-2.0 +## +# @brief Expose the running kernel's platform list to systemd's standard scanner. +# @param RELEASE Running kernel release supplied by the service's %v specifier. +# @return Zero for successful preparation, an absent list or a standard override, +# two for invalid arguments, and nonzero on a filesystem failure. +# Existing same-name configurations, including masks, take precedence. The only +# created file is a transient symlink under /run/modules-load.d. +set -euo pipefail + +if (( $# != 1 )) || [[ ! $1 =~ ^[A-Za-z0-9][A-Za-z0-9._+-]*$ ]]; then + printf 'usage: %s RELEASE\n' "${0##*/}" >&2 + exit 2 +fi + +platform=/usr/lib/modules/$1/modules-load.d/reliefnt-platform.conf +runtime=/run/modules-load.d/reliefnt-platform.conf +# Refresh our link so newly added standard configurations can take precedence. +if [[ -L $runtime && $(readlink -- "$runtime") == "$platform" ]]; then + rm -- "$runtime" +fi +[[ -f $platform ]] || exit 0 + +for directory in /etc /run /usr/local/lib /usr/lib; do + config=$directory/modules-load.d/reliefnt-platform.conf + if [[ -e $config || -L $config ]]; then + exit 0 + fi +done + +mkdir -p -- /run/modules-load.d +ln -s -- "$platform" "$runtime" diff --git a/packages/arch/reliefos-boot/systemd-modules-load-reliefos.conf b/packages/arch/reliefos-boot/systemd-modules-load-reliefos.conf new file mode 100644 index 00000000..d48320aa --- /dev/null +++ b/packages/arch/reliefos-boot/systemd-modules-load-reliefos.conf @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 +[Unit] +ConditionPathExists=|/usr/lib/modules/%v/modules-load.d/reliefnt-platform.conf + +[Service] +ExecStartPre=/usr/libexec/reliefos/modules-load-prepare %v diff --git a/packages/arch/reliefos-boot/systemd-vconsole-setup-reliefos.conf b/packages/arch/reliefos-boot/systemd-vconsole-setup-reliefos.conf new file mode 100644 index 00000000..ca675f64 --- /dev/null +++ b/packages/arch/reliefos-boot/systemd-vconsole-setup-reliefos.conf @@ -0,0 +1,3 @@ +[Unit] +# The upstream helper configures Linux VT screen devices when available. +ConditionPathExistsGlob=/dev/vcs[0-9]* diff --git a/packages/arch/reliefos-desktop/PKGBUILD b/packages/arch/reliefos-desktop/PKGBUILD new file mode 100644 index 00000000..e68ea55c --- /dev/null +++ b/packages/arch/reliefos-desktop/PKGBUILD @@ -0,0 +1,54 @@ +pkgname=reliefos-desktop +pkgver=5.3.4 +pkgrel=7 +pkgdesc='ReliefOS systemd X11 desktop and session defaults' +arch=('any') +url='https://github.com/ReliefOSProject/ReliefOS' +license=('Apache-2.0') +depends=('systemd' 'dbus' 'polkit' 'polkit-gnome' 'xorg-xdm' 'xorg-server' 'xorg-xauth' + 'xorg-xrdb' 'xorg-fonts-misc' 'xf86-video-fbdev' 'xf86-input-evdev' + 'icewm' 'reliefos-st' 'dex' 'xdg-terminal-exec' 'xdg-user-dirs' 'ttf-dejavu' 'noto-fonts-cjk') +optdepends=('xfce4-session: experimental Xfce session' + 'fcitx5-chinese-addons: Chinese input method' + 'fcitx5-gtk: Fcitx5 support for GTK applications' + 'fcitx5-qt: Fcitx5 support for Qt applications') +backup=('etc/reliefos/desktop-session' 'etc/reliefos/xdm/xdm-config' + 'etc/reliefos/xdm/Xservers' 'etc/reliefos/xdm/Xresources' + 'etc/X11/xorg.conf' 'etc/icewm/preferences' 'etc/icewm/theme' + 'etc/icewm/menu' 'etc/icewm/toolbar' 'etc/icewm/keys' 'etc/icewm/winoptions' + 'etc/icewm/startup' 'etc/xdg/xdg-terminals.list') +options=('!debug') + +package() { + local root=${RELIEFOS_SOURCE_ROOT:?build via make arch-build from the ReliefOS checkout} + local xorg=$root/system/xorg + local policy=$startdir + local config=$pkgdir/etc/reliefos + grep -Fxq "release_version=$pkgver" "$root/configs/build-version" || { + printf 'reliefos-desktop: update pkgver to match configs/build-version\n' >&2 + return 1 + } + install -Dm644 "$policy/xdm-systemd.conf" \ + "$pkgdir/usr/lib/systemd/system/xdm.service.d/50-reliefos.conf" + install -Dm644 "$policy/xdm-config" "$config/xdm/xdm-config" + install -d "$config/xdm" + sed 's|/usr/lib/X11/xdm/pixmaps/|/usr/share/xdm/pixmaps/|' \ + "$xorg/xdm-Xresources" > "$config/xdm/Xresources" + install -m644 "$xorg/xdm-Xservers" "$config/xdm/Xservers" + printf 'icewm\n' > "$config/desktop-session" + install -Dm644 "$xorg/xorg.conf" "$pkgdir/etc/X11/xorg.conf" + install -Dm755 -t "$pkgdir/usr/lib/reliefos" "$xorg/xorg-tty-wrapper" "$policy/xdm-session" + install -Dm755 "$policy/icewm-startup" "$pkgdir/etc/icewm/startup" + install -Dm644 "$policy/org.reliefos.St.desktop" "$pkgdir/usr/share/applications/org.reliefos.St.desktop" + install -Dm644 "$policy/xdg-terminals.list" "$pkgdir/etc/xdg/xdg-terminals.list" + install -Dm644 -t "$pkgdir/etc/icewm" "$xorg/icewm/"{theme,menu,toolbar,keys,winoptions} + sed 's/SimSun/Noto Sans CJK SC/g' "$xorg/icewm/preferences" > "$pkgdir/etc/icewm/preferences" + install -Dm755 "$xorg/icewm/menu-pinned.sh" "$pkgdir/etc/icewm/menu-pinned.sh" + # Arch IceWM searches its compiled system configuration directory here. + install -d "$pkgdir/usr/etc" + ln -s /etc/icewm "$pkgdir/usr/etc/icewm" + install -Dm755 -t "$config/icewm" "$xorg/icewm/"{terminal,about}.sh + install -Dm644 "$xorg/icewm/themes/light/default.theme" \ + "$pkgdir/usr/share/icewm/themes/light/default.theme" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$root/LICENSE" "$root/NOTICE" +} diff --git a/packages/arch/reliefos-desktop/icewm-startup b/packages/arch/reliefos-desktop/icewm-startup new file mode 100644 index 00000000..c0a86570 --- /dev/null +++ b/packages/arch/reliefos-desktop/icewm-startup @@ -0,0 +1,5 @@ +#!/bin/sh +agent=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +if [ -x "$agent" ]; then "$agent" & fi +/usr/bin/dex --autostart --environment ICEWM & +/etc/reliefos/icewm/terminal.sh & diff --git a/packages/arch/reliefos-desktop/org.reliefos.St.desktop b/packages/arch/reliefos-desktop/org.reliefos.St.desktop new file mode 100644 index 00000000..a69c1c76 --- /dev/null +++ b/packages/arch/reliefos-desktop/org.reliefos.St.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Terminal +Name[ja]=端末 +Name[zh_CN]=终端 +Exec=/usr/bin/st +TryExec=/usr/bin/st +Icon=utilities-terminal +Categories=System;TerminalEmulator; +Terminal=false +X-TerminalArgExec=-e diff --git a/packages/arch/reliefos-desktop/xdg-terminals.list b/packages/arch/reliefos-desktop/xdg-terminals.list new file mode 100644 index 00000000..374a9fd4 --- /dev/null +++ b/packages/arch/reliefos-desktop/xdg-terminals.list @@ -0,0 +1 @@ +org.reliefos.St.desktop diff --git a/packages/arch/reliefos-desktop/xdm-config b/packages/arch/reliefos-desktop/xdm-config new file mode 100644 index 00000000..45326974 --- /dev/null +++ b/packages/arch/reliefos-desktop/xdm-config @@ -0,0 +1,9 @@ +DisplayManager.authDir: /var/lib/xdm +DisplayManager.errorLogFile: /var/log/reliefos-xdm/xdm.log +DisplayManager.pidFile: /run/xdm.pid +DisplayManager.servers: /etc/reliefos/xdm/Xservers +DisplayManager.exportList: LANG LANGUAGE LC_ALL LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES +DisplayManager*resources: /etc/reliefos/xdm/Xresources +DisplayManager*authorize: true +DisplayManager*session: /usr/lib/reliefos/xdm-session +DisplayManager.requestPort: 0 diff --git a/packages/arch/reliefos-desktop/xdm-session b/packages/arch/reliefos-desktop/xdm-session new file mode 100644 index 00000000..c00189ae --- /dev/null +++ b/packages/arch/reliefos-desktop/xdm-session @@ -0,0 +1,73 @@ +#!/bin/sh +# XDM runs this script after Arch's xdm PAM service has opened the login. +set -eu +umask 077 + +desktop=icewm +if [ -r /etc/reliefos/desktop-session ]; then + IFS= read -r desktop < /etc/reliefos/desktop-session +fi +case $desktop in + icewm) XDG_CURRENT_DESKTOP=ICEWM ;; + xfce) XDG_CURRENT_DESKTOP=XFCE ;; + *) printf 'xdm-session: invalid desktop: %s\n' "$desktop" >&2; exit 1 ;; +esac +export XDG_CURRENT_DESKTOP +export XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP="$desktop" DESKTOP_SESSION="$desktop" + +# Import only the locale keys emitted by the settings parser. Nothing from +# the user's file is evaluated as shell code. +if [ -x /usr/bin/reliefsettings ]; then + if locale_settings=$(/usr/bin/reliefsettings --session-environment); then + while IFS= read -r setting; do + case $setting in + LANG=*) unset LC_ALL LANGUAGE ;; + esac + case $setting in + LANG=*|LC_ALL=*|LC_CTYPE=*|LC_NUMERIC=*|LC_TIME=*|LC_COLLATE=*|LC_MONETARY=*|LC_MESSAGES=*) + export "${setting?}" ;; + esac + done <&2 + if [ "${XMODIFIERS:-}" = @im=fcitx ] && [ -n "${GTK_IM_MODULE:-}" ] && [ -n "${QT_IM_MODULE:-}" ]; then + /usr/bin/timeout 5s /usr/bin/dbus-update-activation-environment --systemd \ + XMODIFIERS GTK_IM_MODULE QT_IM_MODULE || + printf 'xdm-session: could not update input method environment\n' >&2 + fi +fi +/usr/bin/xdg-user-dirs-update +if [ -r "$HOME/.Xresources" ]; then + /usr/bin/xrdb -merge "$HOME/.Xresources" +fi +if [ "${1:-}" = failsafe ]; then + exec /etc/reliefos/icewm/terminal.sh +fi +if [ -x "$HOME/.xsession" ]; then + exec "$HOME/.xsession" +fi +case $desktop in + icewm) + if [ -x /usr/bin/reliefsettings ]; then /usr/bin/reliefsettings --apply-session || :; fi + exec /usr/bin/icewm-session ;; + # Arch xfce4-session already installs its own polkit agent autostart. + # Apply display/keyboard overrides after Xfce initializes its defaults. + xfce) exec /usr/bin/startxfce4 ;; +esac diff --git a/packages/arch/reliefos-desktop/xdm-systemd.conf b/packages/arch/reliefos-desktop/xdm-systemd.conf new file mode 100644 index 00000000..d034391f --- /dev/null +++ b/packages/arch/reliefos-desktop/xdm-systemd.conf @@ -0,0 +1,19 @@ +[Unit] +After=getty@tty1.service systemd-logind.service +Conflicts=getty@tty1.service +Wants=systemd-logind.service + +[Service] +ExecStart= +ExecStart=/usr/bin/xdm -nodaemon -config /etc/reliefos/xdm/xdm-config +StateDirectory=xdm +StateDirectoryMode=0700 +LogsDirectory=reliefos-xdm +LogsDirectoryMode=0750 +TTYPath=/dev/tty1 +StandardInput=tty +TTYReset=yes +Environment=XDG_SESSION_TYPE=x11 XDG_SEAT=seat0 XDG_VTNR=1 + +[Install] +Alias=display-manager.service diff --git a/packages/arch/reliefos-filesystem/89-reliefos-wired.network b/packages/arch/reliefos-filesystem/89-reliefos-wired.network new file mode 100644 index 00000000..00d8d015 --- /dev/null +++ b/packages/arch/reliefos-filesystem/89-reliefos-wired.network @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: Apache-2.0 +[Match] +Kind=!* +Type=ether + +[Network] +DHCP=yes +IPv6AcceptRA=yes diff --git a/packages/arch/reliefos-filesystem/PKGBUILD b/packages/arch/reliefos-filesystem/PKGBUILD new file mode 100644 index 00000000..00c86eb7 --- /dev/null +++ b/packages/arch/reliefos-filesystem/PKGBUILD @@ -0,0 +1,38 @@ +# Arch's filesystem package retains ownership of the merged-usr layout. +pkgname=reliefos-filesystem +pkgver=5.3.4 +pkgrel=4 +pkgdesc='ReliefOS system identity, networking and package defaults' +arch=('any') +url='https://github.com/ReliefOSProject/ReliefOS' +license=('Apache-2.0') +depends=('filesystem' 'systemd' 'paru') +backup=('etc/sudoers.d/reliefos-pacman') +options=('!debug') +source=('89-reliefos-wired.network' 'mirrorlist' 'reliefos-update') +sha256sums=('fc615a46fe0bacff6ec81ce0b80b275434945709125424c526420434feb8a61a' + '0e440036d0ef8d266729cb4305e4690db7ecc3f7585706021560af362a930ab1' + '6c210c4df4233330715b31b86ecaf189cf79806a37563af9377d02223b74524c') + +package() { + local root=${RELIEFOS_SOURCE_ROOT:?build via make arch-build from the ReliefOS checkout} + grep -Fxq "release_version=$pkgver" "$root/configs/build-version" || { + printf 'reliefos-filesystem: update pkgver to match configs/build-version\n' >&2 + return 1 + } + install -d "$pkgdir/etc" "$pkgdir/usr/lib/reliefos" + cat > "$pkgdir/usr/lib/reliefos/os-release" <&2 + exit 2 +fi + +uid=$(id -u) +if [ "$uid" -eq 0 ]; then + printf '%s\n' 'reliefos-update: run as a regular user, without sudo.' >&2 + exit 1 +fi +exec paru -Syu diff --git a/packages/arch/reliefos-kernel-update/PKGBUILD b/packages/arch/reliefos-kernel-update/PKGBUILD new file mode 100644 index 00000000..357d2e34 --- /dev/null +++ b/packages/arch/reliefos-kernel-update/PKGBUILD @@ -0,0 +1,20 @@ +# The fixed-name package follows a single verified kernel release. +pkgname=reliefos-kernel +pkgver=1.${RELIEFOS_KERNEL_PACKAGE_SEQUENCE:?build via make arch-build} +pkgrel=1 +pkgdesc='Current ReliefNT kernel' +arch=('x86_64') +url='https://github.com/ReliefOSProject/ReliefNT' +license=('Apache-2.0') +depends=("${RELIEFOS_KERNEL_DEPENDENCY:?build via make arch-build}") +options=('!debug') + +package() { + local release=${RELIEFOS_KERNEL_RELEASE:?build via make arch-build} + [[ $release =~ ^[a-zA-Z0-9][a-zA-Z0-9._+-]*$ && ${#release} -lt 32 ]] || { + printf 'reliefos-kernel: invalid release\n' >&2 + return 1 + } + install -d "$pkgdir/usr/lib/reliefos/kernel" + printf '%s\n' "$release" > "$pkgdir/usr/lib/reliefos/kernel/current-release" +} diff --git a/packages/arch/reliefos-kernel/PKGBUILD b/packages/arch/reliefos-kernel/PKGBUILD new file mode 100644 index 00000000..6b4d11a1 --- /dev/null +++ b/packages/arch/reliefos-kernel/PKGBUILD @@ -0,0 +1,17 @@ +# The build entry supplies a verified installation tree and its identity. +_release=${RELIEFOS_KERNEL_RELEASE:?build via make arch-build} +_abi=${RELIEFOS_KERNEL_ABI:?build via make arch-build} +pkgname=reliefos-kernel-${_release,,}-${_abi} +pkgver=1 +pkgrel=1 +pkgdesc="ReliefNT kernel and modules for release $_release" +arch=('x86_64') +url='https://github.com/ReliefOSProject/ReliefNT' +license=('Apache-2.0' 'custom') +options=('!debug' '!strip' '!lto') + +package() { + local stage=${RELIEFOS_KERNEL_STAGE:?build via make arch-build} + install -d "$pkgdir/usr" + cp -a "$stage/usr/." "$pkgdir/usr/" +} diff --git a/packages/arch/reliefos-st/PKGBUILD b/packages/arch/reliefos-st/PKGBUILD new file mode 100644 index 00000000..fcfed02b --- /dev/null +++ b/packages/arch/reliefos-st/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=reliefos-st +pkgver=0.9.3 +pkgrel=1 +pkgdesc='Simple terminal for the ReliefOS X11 session' +arch=('x86_64') +url='https://st.suckless.org/' +license=('MIT') +depends=('glibc' 'libx11' 'libxft' 'fontconfig' 'freetype2' 'ncurses') +provides=("st=$pkgver") +conflicts=('st') +options=('!debug') +source=("https://dl.suckless.org/st/st-$pkgver.tar.gz") +sha256sums=('9ed9feabcded713d4ded38c8cebf36a3b08f0042ef7934a0e2b2409da56e649b') + +build() { + cd "$srcdir/st-$pkgver" + make +} + +package() { + cd "$srcdir/st-$pkgver" + install -Dm755 st "$pkgdir/usr/bin/st" + install -Dm644 st.1 "$pkgdir/usr/share/man/man1/st.1" + sed -i "s/VERSION/$pkgver/g" "$pkgdir/usr/share/man/man1/st.1" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # Arch ncurses already owns the st and st-256color terminfo entries. +} diff --git a/packages/arch/reliefos-testing-keyring/PKGBUILD b/packages/arch/reliefos-testing-keyring/PKGBUILD new file mode 100644 index 00000000..f05b4039 --- /dev/null +++ b/packages/arch/reliefos-testing-keyring/PKGBUILD @@ -0,0 +1,27 @@ +# The testing publisher supplies only the selected public key and trust data. +pkgname=reliefos-testing-keyring +pkgver=1 +pkgrel=2 +pkgdesc='Public OpenPGP trust data for the ReliefOS testing package repository' +arch=('any') +url='https://github.com/ReliefOSProject/ReliefOS' +license=('Apache-2.0') +depends=('pacman') +options=('!debug') +source=('reliefos-pacman-init.service' 'reliefos-pacman-keyring' 'reliefos-keyring-update.hook') +sha256sums=('30f39fdb8c2642b1a30ca49746a981ed6a6814831f9254223497207a71fc2554' + '8e2f954c30946a2771460f26385855e862ddc361d26a2db5d5d0bc14c905c2eb' + '0b7945a29c08c33623b67448e132964347d7c010c6fee60b7c649bc7244c080e') + +package() { + local keyring=${RELIEFOS_TESTING_KEYRING_DIR:?build via make arch-rpr-testing} + install -Dm644 -t "$pkgdir/usr/share/pacman/keyrings" \ + "$keyring/reliefos-testing.gpg" "$keyring/reliefos-testing-trusted" \ + "$keyring/reliefos-testing-revoked" + install -Dm644 "$srcdir/reliefos-pacman-init.service" \ + "$pkgdir/usr/lib/systemd/system/reliefos-pacman-init.service" + install -Dm755 "$srcdir/reliefos-pacman-keyring" \ + "$pkgdir/usr/libexec/reliefos/pacman-keyring" + install -Dm644 "$srcdir/reliefos-keyring-update.hook" \ + "$pkgdir/usr/share/libalpm/hooks/reliefos-keyring-update.hook" +} diff --git a/packages/arch/reliefos-testing-keyring/reliefos-keyring-update.hook b/packages/arch/reliefos-testing-keyring/reliefos-keyring-update.hook new file mode 100644 index 00000000..21077bf0 --- /dev/null +++ b/packages/arch/reliefos-testing-keyring/reliefos-keyring-update.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = reliefos-testing-keyring + +[Action] +Description = Updating the ReliefOS package signing trust +When = PostTransaction +Exec = /usr/libexec/reliefos/pacman-keyring --if-initialized diff --git a/packages/arch/reliefos-testing-keyring/reliefos-pacman-init.service b/packages/arch/reliefos-testing-keyring/reliefos-pacman-init.service new file mode 100644 index 00000000..3ab96170 --- /dev/null +++ b/packages/arch/reliefos-testing-keyring/reliefos-pacman-init.service @@ -0,0 +1,11 @@ +[Unit] +Description=Initialize the ReliefOS package signing keyring +ConditionPathExists=!/var/lib/reliefos/pacman-keyring.ready +Before=multi-user.target + +[Service] +Type=oneshot +ExecStart=/usr/libexec/reliefos/pacman-keyring + +[Install] +WantedBy=multi-user.target diff --git a/packages/arch/reliefos-testing-keyring/reliefos-pacman-keyring b/packages/arch/reliefos-testing-keyring/reliefos-pacman-keyring new file mode 100644 index 00000000..58cd29bb --- /dev/null +++ b/packages/arch/reliefos-testing-keyring/reliefos-pacman-keyring @@ -0,0 +1,20 @@ +#!/bin/sh +set -eu + +ready=/var/lib/reliefos/pacman-keyring.ready +case ${1:-initialize} in + initialize) + [ ! -e "$ready" ] || exit 0 + pacman-key --init + pacman-key --populate archlinux reliefos-testing + install -Dm644 /dev/null "$ready" + ;; + --if-initialized) + [ -e "$ready" ] || exit 0 + pacman-key --populate reliefos-testing + ;; + *) + printf 'usage: %s [--if-initialized]\n' "$0" >&2 + exit 2 + ;; +esac diff --git a/patches/alsa-lib/0001-reliefos-dmix-server.patch b/patches/alsa-lib/0001-reliefos-dmix-server.patch deleted file mode 100644 index e978900c..00000000 --- a/patches/alsa-lib/0001-reliefos-dmix-server.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -Subject: [PATCH] pcm: keep dmix and dsnoop on one ReliefOS hardware lease - -ReliefOS exposes one physical HDA stream lease for each logical playback -and capture endpoint. The direct plugins' legacy server mode is the ALSA -mechanism for sharing that lease between independent clients; without it, -newer PCM protocol versions make every secondary client reopen the hardware -PCM and receive EBUSY from the endpoint lease. - ---- - src/pcm/pcm_direct.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c ---- a/src/pcm/pcm_direct.c -+++ b/src/pcm/pcm_direct.c -@@ -1452,8 +1452,11 @@ - { - int ver = 0; - ioctl(spcm->poll_fd, SNDRV_PCM_IOCTL_PVERSION, &ver); -- if (ver < SNDRV_PROTOCOL_VERSION(2, 0, 8)) -- dmix->shmptr->use_server = 1; -+ /* ReliefOS keeps one physical HDA lease per endpoint. Use the -+ * upstream direct server so secondary dmix/dsnoop clients share that -+ * lease instead of reopening the hardware PCM. */ -+ if (ver >= 0) -+ dmix->shmptr->use_server = 1; - } diff --git a/patches/busybox/0001-honor-tar-preserve-permissions.patch b/patches/busybox/0001-honor-tar-preserve-permissions.patch deleted file mode 100644 index fd218252..00000000 --- a/patches/busybox/0001-honor-tar-preserve-permissions.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/archival/tar.c -+++ b/archival/tar.c -@@ -1093,6 +1093,11 @@ - if (opt & OPT_NOPRESERVE_OWNER) - tar_handle->ah_flags |= ARCHIVE_DONT_RESTORE_OWNER; - -+ /* -p/--preserve-permissions must restore modes even for non-root, -+ * matching GNU tar; without it the non-root umask applies. */ -+ if (opt & OPT_P) -+ tar_handle->ah_flags &= ~ARCHIVE_DONT_RESTORE_PERM; -+ - if (opt & OPT_NOPRESERVE_PERM) - tar_handle->ah_flags |= ARCHIVE_DONT_RESTORE_PERM; - diff --git a/patches/busybox/0002-read-modinfo-from-bounded-elf-section.patch b/patches/busybox/0002-read-modinfo-from-bounded-elf-section.patch deleted file mode 100644 index 9fc491f9..00000000 --- a/patches/busybox/0002-read-modinfo-from-bounded-elf-section.patch +++ /dev/null @@ -1,129 +0,0 @@ ---- a/modutils/modinfo.c -+++ b/modutils/modinfo.c -@@ -18,6 +18,7 @@ - #include - #include /* uname() */ - #include "libbb.h" -+#include - #include "modutils.h" - - static const char *const shortcuts[] ALIGN_PTR = { -@@ -58,12 +59,66 @@ - printf("%s%c", data, (option_mask32 & OPT_0) ? '\0' : '\n'); - } - -+/* Locate NUL-delimited metadata using ELF section bounds, not adjacent file -+ * bytes. Both native-endian ELF classes are supported; memcpy avoids assuming -+ * file alignment. Invalid/truncated sections never reach the string walker. */ -+static char *modinfo_area(char *image, size_t *length) -+{ -+ uint64_t table, names_offset, names_size, offset, bytes; -+ uint32_t names_index, count, size, index, name, type; -+ unsigned char *ident = (unsigned char *)image; -+ if (*length < EI_NIDENT || memcmp(image, ELFMAG, SELFMAG) -+ || ident[EI_DATA] != (BB_BIG_ENDIAN ? ELFDATA2MSB : ELFDATA2LSB)) -+ return NULL; -+ if (ident[EI_CLASS] == ELFCLASS64) { -+ Elf64_Ehdr h; -+ if (*length < sizeof(h)) return NULL; -+ memcpy(&h, image, sizeof(h)); -+ table = h.e_shoff; count = h.e_shnum; size = h.e_shentsize; names_index = h.e_shstrndx; -+ if (h.e_type != ET_REL || size != sizeof(Elf64_Shdr)) return NULL; -+ } else if (ident[EI_CLASS] == ELFCLASS32) { -+ Elf32_Ehdr h; -+ if (*length < sizeof(h)) return NULL; -+ memcpy(&h, image, sizeof(h)); -+ table = h.e_shoff; count = h.e_shnum; size = h.e_shentsize; names_index = h.e_shstrndx; -+ if (h.e_type != ET_REL || size != sizeof(Elf32_Shdr)) return NULL; -+ } else return NULL; -+ if (!count || names_index >= count || table > *length || count > (*length - table) / size) -+ return NULL; -+ names_offset = names_size = 0; -+ /* First obtain the bounded section-name table, then find the exact area. */ -+ for (index = 0; index <= count; index++) { -+ uint32_t slot = index ? index - 1 : names_index; -+ if (ident[EI_CLASS] == ELFCLASS64) { -+ Elf64_Shdr h; -+ memcpy(&h, image + table + (uint64_t)slot * size, sizeof(h)); -+ name = h.sh_name; type = h.sh_type; offset = h.sh_offset; bytes = h.sh_size; -+ } else { -+ Elf32_Shdr h; -+ memcpy(&h, image + table + (uint64_t)slot * size, sizeof(h)); -+ name = h.sh_name; type = h.sh_type; offset = h.sh_offset; bytes = h.sh_size; -+ } -+ if (!index) { -+ if (type != SHT_STRTAB || offset > *length || bytes > *length - offset) return NULL; -+ names_offset = offset; names_size = bytes; -+ continue; -+ } -+ if (name <= names_size && names_size - name >= sizeof(".modinfo") -+ && memcmp(image + names_offset + name, ".modinfo", sizeof(".modinfo")) == 0) { -+ if (type != SHT_PROGBITS || offset > *length || bytes > *length - offset) return NULL; -+ *length = bytes; -+ return image + offset; -+ } -+ } -+ return NULL; -+} -+ - static void modinfo(const char *path, const char *version, - const char *field) - { - size_t len; - int j; -- char *ptr, *the_module; -+ char *ptr, *the_module, *contents; - char *allocated; - int tags = option_mask32; - -@@ -82,6 +137,14 @@ - } - } - -+ contents = the_module; -+ the_module = modinfo_area(contents, &len); -+ if (!the_module) { -+ bb_error_msg("invalid module metadata: %s", path); -+ free(contents); -+ goto ret; -+ } -+ - for (j = 1; (1< key && !memcmp(ptr, pattern, key) && ptr[key] == '=') -+ display(ptr + key + 1, pattern); -+ ptr = end + 1; -+ } -+ } -+ free(contents); - ret: - free(allocated); - } diff --git a/patches/coreutils/0001-yes-batch-buffer.patch b/patches/coreutils/0001-yes-batch-buffer.patch deleted file mode 100644 index db0b256b..00000000 --- a/patches/coreutils/0001-yes-batch-buffer.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/yes.c -+++ b/src/yes.c -@@ -224,6 +224,7 @@ main (int argc, char **argv) -- /* Improve performance by using a buffer size greater than BUFSIZ / 2. */ -- if (bufalloc <= BUFSIZ / 2) -+ /* Give the portable full_write fallback a larger buffer than musl's small -+ BUFSIZ. The splice fast path below remains available and takes priority. */ -+ if (bufalloc < 64 * 1024) - { -- bufalloc = BUFSIZ; -+ bufalloc = 64 * 1024; - reuse_operand_strings = false; - } diff --git a/patches/linux-pam/0001-reject-unavailable-salt-entropy.patch b/patches/linux-pam/0001-reject-unavailable-salt-entropy.patch deleted file mode 100644 index 06495df6..00000000 --- a/patches/linux-pam/0001-reject-unavailable-salt-entropy.patch +++ /dev/null @@ -1,94 +0,0 @@ -diff --git a/modules/pam_unix/passverify.c b/modules/pam_unix/passverify.c -index 8e0deb0..ad1b48a 100644 ---- a/modules/pam_unix/passverify.c -+++ b/modules/pam_unix/passverify.c -@@ -386,45 +386,36 @@ i64c(int i) - } - - /* must point to a buffer of at least +1 length */ --static void -+static int - crypt_make_salt(char *where, int length) - { -- struct timeval tv; -- MD5_CTX ctx; -- unsigned char tmp[16]; - unsigned char *src = (unsigned char *)where; - int i; - #ifdef PAM_PATH_RANDOMDEV -- int fd; -- int rv; -- -- if ((rv = fd = open(PAM_PATH_RANDOMDEV, O_RDONLY | O_CLOEXEC)) != -1) { -- while ((rv = read(fd, where, length)) != length && errno == EINTR); -- close (fd); -- } -- if (rv != length) { --#endif -- /* -- * Code lifted from Marek Michalkiewicz's shadow suite. (CG) -- * removed use of static variables (AGM) -- * -- * will work correctly only for length <= 16 */ -- src = tmp; -- GoodMD5Init(&ctx); -- gettimeofday(&tv, (struct timezone *) 0); -- GoodMD5Update(&ctx, (void *) &tv, sizeof tv); -- i = getpid(); -- GoodMD5Update(&ctx, (void *) &i, sizeof i); -- i = clock(); -- GoodMD5Update(&ctx, (void *) &i, sizeof i); -- GoodMD5Update(&ctx, src, length); -- GoodMD5Final(tmp, &ctx); --#ifdef PAM_PATH_RANDOMDEV -+ int fd = open(PAM_PATH_RANDOMDEV, O_RDONLY | O_CLOEXEC); -+ int done = 0; -+ if (fd < 0) return -1; -+ while (done < length) { -+ ssize_t count = read(fd, where + done, length - done); -+ if (count < 0 && errno == EINTR) continue; -+ if (count <= 0) { -+ int saved_errno = count < 0 ? errno : EIO; -+ close(fd); -+ pam_overwrite_n(where, length); -+ errno = saved_errno; -+ return -1; -+ } -+ done += count; - } -+ if (close(fd) < 0) { pam_overwrite_n(where, length); return -1; } -+#else -+ errno = ENOSYS; -+ return -1; - #endif - for (i = 0; i < length; i++) - *where++ = i64c(src[i] & 077); - *where = '\0'; -+ return 0; - } - - char * -@@ -434,7 +425,7 @@ crypt_md5_wrapper(const char *pass_new) - char *cp = (char *) result; - - cp = stpcpy(cp, "$1$"); /* magic for the MD5 */ -- crypt_make_salt(cp, 8); -+ if (crypt_make_salt(cp, 8) < 0) return NULL; - - /* no longer need cleartext */ - cp = Goodcrypt_md5(pass_new, (const char *) result); -@@ -493,12 +484,13 @@ PAMH_ARG_DECL(char * create_password_hash, - * guaranteed to have crypt_gensalt_rn(). - */ - sp = crypt_gensalt_rn(algoid, rounds, NULL, 0, salt, sizeof(salt)); -+ if (sp == NULL) { pam_overwrite_array(salt); return NULL; } - #else - sp = stpcpy(salt, algoid); - if (on(UNIX_ALGO_ROUNDS, ctrl)) { - sp += snprintf(sp, sizeof(salt) - (16 + 1 + (sp - salt)), "rounds=%u$", rounds); - } -- crypt_make_salt(sp, 16); -+ if (crypt_make_salt(sp, 16) < 0) return NULL; - #endif /* CRYPT_GENSALT_IMPLEMENTS_AUTO_ENTROPY */ - #ifdef HAVE_CRYPT_R - sp = NULL; diff --git a/patches/linux-pam/0002-use-sized-libcrypt-entry-point.patch b/patches/linux-pam/0002-use-sized-libcrypt-entry-point.patch deleted file mode 100644 index 7e9b0b16..00000000 --- a/patches/linux-pam/0002-use-sized-libcrypt-entry-point.patch +++ /dev/null @@ -1,154 +0,0 @@ -diff --git a/meson.build b/meson.build ---- a/meson.build -+++ b/meson.build -@@ -257,7 +257,7 @@ - libcrypt = cc.find_library('crypt') - endif - crypt_h = cdata.get('HAVE_CRYPT_H') == 1 ? '''#include ''' : '''#include ''' --foreach f: ['crypt_r'] -+foreach f: ['crypt_r', 'crypt_rn'] - if cc.has_function(f, prefix: crypt_h, - args: '-D_GNU_SOURCE', - dependencies: libcrypt) -diff --git a/libpam/include/pam_crypt.h b/libpam/include/pam_crypt.h ---- /dev/null -+++ b/libpam/include/pam_crypt.h -@@ -0,0 +1,22 @@ -+#ifndef PAM_CRYPT_H -+#define PAM_CRYPT_H -+ -+#include "config.h" -+#include -+ -+#ifdef HAVE_CRYPT_R -+static inline char * -+pam_crypt_r(const char *password, const char *setting, struct crypt_data *data) -+{ -+#ifdef HAVE_CRYPT_RN -+ /* A module loaded after musl must not resolve crypt_r to libc's -+ * smaller hash implementation. The sized libxcrypt API is distinct -+ * and retains its NULL-on-error and caller-owned-buffer contract. */ -+ return crypt_rn(password, setting, data, sizeof(*data)); -+#else -+ return crypt_r(password, setting, data); -+#endif -+} -+#endif -+ -+#endif -diff --git a/modules/pam_unix/passverify.c b/modules/pam_unix/passverify.c ---- a/modules/pam_unix/passverify.c -+++ b/modules/pam_unix/passverify.c -@@ -29,6 +29,7 @@ - - #include "pam_cc_compat.h" - #include "pam_inline.h" -+#include "pam_crypt.h" - #include "md5.h" - #include "bigcrypt.h" - #include "passverify.h" -@@ -153,7 +153,7 @@ - struct crypt_data *cdata; - cdata = calloc(1, sizeof(*cdata)); - if (cdata != NULL) { -- pp = x_strdup(crypt_r(p, hash, cdata)); -+ pp = x_strdup(pam_crypt_r(p, hash, cdata)); - pam_overwrite_object(cdata); - free(cdata); - } -@@ -495,7 +495,7 @@ - sp = NULL; - cdata = calloc(1, sizeof(*cdata)); - if (cdata != NULL) { -- sp = crypt_r(password, salt, cdata); -+ sp = pam_crypt_r(password, salt, cdata); - } - #else - sp = crypt(password, salt); -diff --git a/modules/pam_unix/bigcrypt.c b/modules/pam_unix/bigcrypt.c ---- a/modules/pam_unix/bigcrypt.c -+++ b/modules/pam_unix/bigcrypt.c -@@ -30,6 +30,7 @@ - #include - #include - #include "pam_inline.h" -+#include "pam_crypt.h" - #ifdef HAVE_CRYPT_H - #include - #endif -@@ -101,7 +101,7 @@ - - /* do the first block with supplied salt */ - #ifdef HAVE_CRYPT_R -- tmp_ptr = crypt_r(plaintext_ptr, salt, cdata); /* libc crypt_r() */ -+ tmp_ptr = pam_crypt_r(plaintext_ptr, salt, cdata); - #else - tmp_ptr = crypt(plaintext_ptr, salt); /* libc crypt() */ - #endif -@@ -134,7 +134,7 @@ - for (j = 2; j <= n_seg; j++) { - - #ifdef HAVE_CRYPT_R -- tmp_ptr = crypt_r(plaintext_ptr, salt_ptr, cdata); -+ tmp_ptr = pam_crypt_r(plaintext_ptr, salt_ptr, cdata); - #else - tmp_ptr = crypt(plaintext_ptr, salt_ptr); - #endif -diff --git a/modules/pam_pwhistory/opasswd.c b/modules/pam_pwhistory/opasswd.c ---- a/modules/pam_pwhistory/opasswd.c -+++ b/modules/pam_pwhistory/opasswd.c -@@ -67,6 +67,7 @@ - #endif - #include - #include "pam_inline.h" -+#include "pam_crypt.h" - - #include "opasswd.h" - -@@ -129,7 +129,7 @@ - if (!cdata) - return -1; - -- outval = crypt_r (newpass, oldpass, cdata); -+ outval = pam_crypt_r (newpass, oldpass, cdata); - #else - outval = crypt (newpass, oldpass); - #endif -@@ -135,7 +136,7 @@ - #endif - -- retval = outval != NULL && strcmp(outval, oldpass) == 0; -+ retval = outval != NULL ? strcmp(outval, oldpass) == 0 : -1; - - #ifdef HAVE_CRYPT_R - pam_overwrite_object(cdata); - free(cdata); -@@ -212,7 +213,7 @@ - rc = compare_password(newpass, oldpass); - if (rc) { - if (rc < 0) -- pam_syslog (pamh, LOG_ERR, "Cannot allocate crypt data"); -+ pam_syslog (pamh, LOG_ERR, "Cannot hash password history"); - else if (debug) - pam_syslog (pamh, LOG_DEBUG, "New password already used"); - -diff --git a/modules/pam_userdb/pam_userdb.c b/modules/pam_userdb/pam_userdb.c ---- a/modules/pam_userdb/pam_userdb.c -+++ b/modules/pam_userdb/pam_userdb.c -@@ -41,6 +41,7 @@ - #include - #include - #include "pam_inline.h" -+#include "pam_crypt.h" - #include "pam_i18n.h" - - #ifndef HAVE_GDBM_H -@@ -291,7 +291,7 @@ - if (cdata == NULL) { - pam_syslog(pamh, LOG_CRIT, "malloc failed: struct crypt_data"); - } else { -- cryptpw = crypt_r(pass, pwhash, cdata); -+ cryptpw = pam_crypt_r(pass, pwhash, cdata); - } - #else - cryptpw = crypt (pass, pwhash); diff --git a/patches/linux-pam/0003-limits-handle-unimplemented-resources.patch b/patches/linux-pam/0003-limits-handle-unimplemented-resources.patch deleted file mode 100644 index 1def358d..00000000 --- a/patches/linux-pam/0003-limits-handle-unimplemented-resources.patch +++ /dev/null @@ -1,39 +0,0 @@ -From: LeonOS maintainers -Subject: pam_limits: handle ENOSYS resource probes without ignoring configured limits - -LeonOS currently implements only a subset of Linux resource limits. Resource -enumeration may report ENOSYS for the others. Allow an unconfigured resource -to be absent, but fail session setup when a matching policy requests one. -Unexpected enumeration errors still abort. This does not implement missing -kernel limits or certify full Linux rlimit compatibility. - ---- a/modules/pam_limits/pam_limits.c -+++ b/modules/pam_limits/pam_limits.c -@@ -550,7 +550,9 @@ - int r = getrlimit(i, &pl->limits[i].limit); -+ pl->limits[i].src_soft = LIMITS_DEF_NONE; -+ pl->limits[i].src_hard = LIMITS_DEF_NONE; - if (r == -1) { - pl->limits[i].supported = 0; -- if (errno != EINVAL) { -+ if (errno != EINVAL && errno != ENOSYS) { - retval = !PAM_SUCCESS; - } - } else { -@@ -1182,9 +1184,16 @@ - for (i=0, status=LIMITED_OK; ilimits[i].supported) { -+ if (pl->limits[i].src_soft != LIMITS_DEF_NONE || -+ pl->limits[i].src_hard != LIMITS_DEF_NONE) { -+ pam_syslog(pamh, LOG_ERR, -+ "Configured resource limit '%s' is unavailable", -+ rlimit2str(i)); -+ return LIMIT_ERR; -+ } - /* skip it if its not known to the system */ - continue; - } - if (pl->limits[i].src_soft == LIMITS_DEF_NONE && - pl->limits[i].src_hard == LIMITS_DEF_NONE) { diff --git a/patches/musl/0001-enforce-password-file-lock.patch b/patches/musl/0001-enforce-password-file-lock.patch deleted file mode 100644 index ee90d64e..00000000 --- a/patches/musl/0001-enforce-password-file-lock.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff --git a/src/passwd/lckpwdf.c b/src/passwd/lckpwdf.c ---- a/src/passwd/lckpwdf.c -+++ b/src/passwd/lckpwdf.c -@@ -1,11 +1,73 @@ - #include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+/* musl's upstream stub is insufficient for concurrent pam_unix updates. -+ * Use the same persistent /etc/.pwd.lock inode and POSIX lock as other -+ * shadow writers. Never unlink it, including on errors or unlock. */ -+static pthread_mutex_t guard = PTHREAD_MUTEX_INITIALIZER; -+static int lockfd = -1; - - int lckpwdf() - { -- return 0; -+ int oldstate, fd = -1, result = -1, error; -+ struct stat st; -+ struct timespec deadline, now; -+ struct flock lock = { .l_type = F_WRLCK, .l_whence = SEEK_SET }; -+ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate); -+ pthread_mutex_lock(&guard); -+ if (lockfd >= 0) { errno = EBUSY; goto out; } -+ fd = open("/etc/.pwd.lock", O_WRONLY|O_CREAT|O_CLOEXEC|O_NOFOLLOW, 0600); -+ if (fd < 0) goto out; -+ if (fstat(fd, &st)) goto out; -+ if (!S_ISREG(st.st_mode) || st.st_uid || (st.st_mode & 0022) || st.st_nlink != 1) { -+ errno = EACCES; -+ goto out; -+ } -+ if (clock_gettime(CLOCK_MONOTONIC, &deadline)) goto out; -+ deadline.tv_sec += 15; -+ for (;;) { -+ if (!fcntl(fd, F_SETLK, &lock)) { -+ lockfd = fd; -+ fd = -1; -+ result = 0; -+ break; -+ } -+ if (errno != EACCES && errno != EAGAIN) goto out; -+ if (clock_gettime(CLOCK_MONOTONIC, &now)) goto out; -+ if (now.tv_sec > deadline.tv_sec || (now.tv_sec == deadline.tv_sec && now.tv_nsec >= deadline.tv_nsec)) { -+ errno = EAGAIN; -+ goto out; -+ } -+ struct timespec pause = { .tv_nsec = 10000000 }; -+ if (nanosleep(&pause, 0)) goto out; -+ } -+out: -+ error = errno; -+ if (fd >= 0) close(fd); -+ pthread_mutex_unlock(&guard); -+ pthread_setcancelstate(oldstate, 0); -+ errno = error; -+ return result; - } - - int ulckpwdf() - { -- return 0; -+ int oldstate, result, error; -+ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate); -+ pthread_mutex_lock(&guard); -+ if (lockfd < 0) { errno = EINVAL; result = -1; } -+ else { -+ result = close(lockfd); -+ lockfd = -1; -+ } -+ error = errno; -+ pthread_mutex_unlock(&guard); -+ pthread_setcancelstate(oldstate, 0); -+ errno = error; -+ return result; - } diff --git a/patches/musl/0002-report-unsupported-pi-mutex-protocol.patch b/patches/musl/0002-report-unsupported-pi-mutex-protocol.patch deleted file mode 100644 index e32729a9..00000000 --- a/patches/musl/0002-report-unsupported-pi-mutex-protocol.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/src/thread/pthread_mutexattr_setprotocol.c b/src/thread/pthread_mutexattr_setprotocol.c ---- a/src/thread/pthread_mutexattr_setprotocol.c -+++ b/src/thread/pthread_mutexattr_setprotocol.c -@@ -15,6 +15,10 @@ int pthread_mutexattr_setprotocol(pthread_mutexattr_t *a, int protocol) - if (r < 0) { - volatile int lk = 0; - r = -__syscall(SYS_futex, &lk, FUTEX_LOCK_PI, 0, 0); -+ /* A kernel without PI futexes cannot implement this POSIX -+ * protocol. Report the attribute capability, not a raw -+ * missing-syscall error, so callers can use PRIO_NONE. */ -+ if (r == ENOSYS) r = ENOTSUP; - a_store(&check_pi_result, r); - } - if (r) return r; diff --git a/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-openrc-controller.png b/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-openrc-controller.png deleted file mode 100644 index 9c64ff10..00000000 Binary files a/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-openrc-controller.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-reliefapk.png b/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-reliefapk.png deleted file mode 100644 index 0023c97b..00000000 Binary files a/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-reliefapk.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-reliefpackages.png b/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-reliefpackages.png new file mode 100644 index 00000000..cbd5c407 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-reliefpackages.png differ diff --git a/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-service-controller.png b/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-service-controller.png new file mode 100644 index 00000000..dad9ae99 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/128x128/apps/reliefos-service-controller.png differ diff --git a/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-openrc-controller.png b/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-openrc-controller.png deleted file mode 100644 index 9161bd72..00000000 Binary files a/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-openrc-controller.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-reliefapk.png b/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-reliefapk.png deleted file mode 100644 index afaadbd9..00000000 Binary files a/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-reliefapk.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-reliefpackages.png b/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-reliefpackages.png new file mode 100644 index 00000000..8c660065 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-reliefpackages.png differ diff --git a/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-service-controller.png b/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-service-controller.png new file mode 100644 index 00000000..d8815bb6 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/16x16/apps/reliefos-service-controller.png differ diff --git a/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-openrc-controller.png b/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-openrc-controller.png deleted file mode 100644 index 53eb3381..00000000 Binary files a/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-openrc-controller.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-reliefapk.png b/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-reliefapk.png deleted file mode 100644 index f8dc34cb..00000000 Binary files a/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-reliefapk.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-reliefpackages.png b/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-reliefpackages.png new file mode 100644 index 00000000..082b8719 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-reliefpackages.png differ diff --git a/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-service-controller.png b/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-service-controller.png new file mode 100644 index 00000000..12b04467 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/256x256/apps/reliefos-service-controller.png differ diff --git a/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-openrc-controller.png b/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-openrc-controller.png deleted file mode 100644 index ab468e5d..00000000 Binary files a/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-openrc-controller.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-reliefapk.png b/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-reliefapk.png deleted file mode 100644 index 1aca6bff..00000000 Binary files a/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-reliefapk.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-reliefpackages.png b/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-reliefpackages.png new file mode 100644 index 00000000..2fa8ace4 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-reliefpackages.png differ diff --git a/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-service-controller.png b/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-service-controller.png new file mode 100644 index 00000000..3015da95 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/32x32/apps/reliefos-service-controller.png differ diff --git a/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-openrc-controller.png b/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-openrc-controller.png deleted file mode 100644 index 5191075a..00000000 Binary files a/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-openrc-controller.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-reliefapk.png b/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-reliefapk.png deleted file mode 100644 index 2fbd6024..00000000 Binary files a/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-reliefapk.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-reliefpackages.png b/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-reliefpackages.png new file mode 100644 index 00000000..b04dff2d Binary files /dev/null and b/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-reliefpackages.png differ diff --git a/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-service-controller.png b/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-service-controller.png new file mode 100644 index 00000000..fc7c1816 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/48x48/apps/reliefos-service-controller.png differ diff --git a/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-openrc-controller.png b/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-openrc-controller.png deleted file mode 100644 index 641fbb13..00000000 Binary files a/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-openrc-controller.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-reliefapk.png b/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-reliefapk.png deleted file mode 100644 index 151f80da..00000000 Binary files a/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-reliefapk.png and /dev/null differ diff --git a/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-reliefpackages.png b/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-reliefpackages.png new file mode 100644 index 00000000..b63ba2b1 Binary files /dev/null and b/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-reliefpackages.png differ diff --git a/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-service-controller.png b/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-service-controller.png new file mode 100644 index 00000000..8397513a Binary files /dev/null and b/resources/build-art/app-icons/hicolor/64x64/apps/reliefos-service-controller.png differ diff --git a/resources/build-art/app-icons/reliefapk.bmp b/resources/build-art/app-icons/reliefapk.bmp deleted file mode 100644 index b684cc1f..00000000 Binary files a/resources/build-art/app-icons/reliefapk.bmp and /dev/null differ diff --git a/resources/build-art/app-icons/reliefpackages.bmp b/resources/build-art/app-icons/reliefpackages.bmp new file mode 100644 index 00000000..e441f384 Binary files /dev/null and b/resources/build-art/app-icons/reliefpackages.bmp differ diff --git a/resources/build-art/app-icons/openrc-controller.bmp b/resources/build-art/app-icons/service-controller.bmp similarity index 69% rename from resources/build-art/app-icons/openrc-controller.bmp rename to resources/build-art/app-icons/service-controller.bmp index c227429f..a2fe4c6f 100644 Binary files a/resources/build-art/app-icons/openrc-controller.bmp and b/resources/build-art/app-icons/service-controller.bmp differ diff --git a/resources/pages/i18n/en.sh b/resources/pages/i18n/en.sh index 32eec05a..a5529c4a 100644 --- a/resources/pages/i18n/en.sh +++ b/resources/pages/i18n/en.sh @@ -14,6 +14,8 @@ site_message() { get_started) printf '%s' 'Get started' ;; packages) printf '%s' 'Packages' ;; rpr_summary) printf '%s' 'The Remote Package Repository.' ;; + rpr_source_commit) printf '%s' 'Git commit at repository generation' ;; + rpr_source_commit_missing) printf '%s' 'Not recorded' ;; download_summary) printf '%s' 'Installer ISO with checksums.' ;; source) printf '%s' 'Source' ;; source_summary) printf '%s' 'Project source repository.' ;; @@ -24,37 +26,9 @@ site_message() { architecture) printf '%s' 'Architecture' ;; size) printf '%s' 'Size' ;; checksum_help) printf '%s' 'Download the image and checksum file into the same directory, then run there:' ;; - rpr_title) printf '%s' 'ReliefOS Remote Package Repository' ;; - packages_description) printf '%s' 'Browse the signed APK packages published in this repository. The package list is generated by the ReliefOS build system from the real repository contents.' ;; - browse_packages) printf '%s' 'Browse packages' ;; - apk_repository) printf '%s' 'APK repository' ;; - kernel) printf '%s' 'Kernel' ;; - kernel_description) printf '%s' 'Matching kernel, initramfs and module inventory, delivered by a signed APK package.' ;; - kernel_information) printf '%s' 'Kernel information' ;; manuals_description) printf '%s' "Separate manuals, maintained and built from each product's own source repository." ;; os_manual) printf '%s' 'ReliefOS system and application manuals' ;; nt_manual) printf '%s' 'ReliefNT kernel manuals' ;; - repository_metadata) printf '%s' 'Repository metadata' ;; - metadata_description) printf '%s' 'These machine-readable endpoints are consumed by the ReliefOS package tools. Their contents are protocol files.' ;; - signed_index) printf '%s' 'Signed index' ;; - legacy_alias) printf '%s' 'Legacy alias' ;; - apk_title) printf '%s' 'ReliefOS APK Repository' ;; - downloadable_files) printf '%s' 'Downloadable files' ;; - apk_description) printf '%s' 'Signed package index, signing public key and checksums. The directory below is the APK repository root configured in' ;; - packages_title) printf '%s' 'ReliefOS Packages' ;; - available_packages) printf '%s' 'Available packages' ;; - packages_caption) printf '%s' 'APK packages published in this release' ;; - package) printf '%s' 'Package' ;; - download_apk) printf '%s' 'Download .apk' ;; - back_packages) printf '%s' 'Back to package list' ;; - kernel_title) printf '%s' 'ReliefNT Kernel' ;; - kernel_files) printf '%s' 'Kernel files' ;; - kernel_release) printf '%s' 'Kernel release' ;; - module_abi) printf '%s' 'Module ABI' ;; - download_kernel) printf '%s' 'Download signed kernel package' ;; - module_inventory) printf '%s' 'Module and file inventory' ;; - release_metadata) printf '%s' 'Machine-readable release metadata' ;; - strict_protocol) printf '%s' 'Strict client protocol' ;; *) printf 'unknown site message: %s\n' "$1" >&2; return 1 ;; esac } diff --git a/resources/pages/i18n/ja.sh b/resources/pages/i18n/ja.sh index 22fc721a..df8d8814 100644 --- a/resources/pages/i18n/ja.sh +++ b/resources/pages/i18n/ja.sh @@ -14,6 +14,8 @@ site_message() { get_started) printf '%s' 'はじめに' ;; packages) printf '%s' 'パッケージ' ;; rpr_summary) printf '%s' 'リモートパッケージリポジトリ。' ;; + rpr_source_commit) printf '%s' 'リポジトリ生成時の Git コミット' ;; + rpr_source_commit_missing) printf '%s' '記録なし' ;; download_summary) printf '%s' 'インストール ISO とチェックサム。' ;; source) printf '%s' 'ソースコード' ;; source_summary) printf '%s' 'プロジェクトのソースリポジトリ。' ;; @@ -24,37 +26,9 @@ site_message() { architecture) printf '%s' 'アーキテクチャ' ;; size) printf '%s' 'サイズ' ;; checksum_help) printf '%s' 'イメージとチェックサムファイルを同じディレクトリにダウンロードし、その中で次を実行してください:' ;; - rpr_title) printf '%s' 'ReliefOS リモートパッケージリポジトリ' ;; - packages_description) printf '%s' 'このリポジトリで公開されている署名済み APK パッケージを参照できます。一覧は ReliefOS ビルドシステムが実際のリポジトリの内容から生成します。' ;; - browse_packages) printf '%s' 'パッケージを参照' ;; - apk_repository) printf '%s' 'APK リポジトリ' ;; - kernel) printf '%s' 'カーネル' ;; - kernel_description) printf '%s' '対応するカーネル、initramfs、モジュール一覧を、署名済み APK パッケージで提供します。' ;; - kernel_information) printf '%s' 'カーネル情報' ;; manuals_description) printf '%s' '各製品のソースリポジトリで個別に保守、ビルドされるマニュアルです。' ;; os_manual) printf '%s' 'ReliefOS システムとアプリケーションのマニュアル' ;; nt_manual) printf '%s' 'ReliefNT カーネルマニュアル' ;; - repository_metadata) printf '%s' 'リポジトリのメタデータ' ;; - metadata_description) printf '%s' '以下は ReliefOS パッケージツールが使用する機械可読インターフェースです。内容はプロトコルファイルです。' ;; - signed_index) printf '%s' '署名済みインデックス' ;; - legacy_alias) printf '%s' '旧バージョン互換の別名' ;; - apk_title) printf '%s' 'ReliefOS APK リポジトリ' ;; - downloadable_files) printf '%s' 'ダウンロード可能なファイル' ;; - apk_description) printf '%s' '署名済みパッケージインデックス、署名公開鍵、チェックサムです。以下のディレクトリは、次の設定ファイルに指定する APK リポジトリのルートです:' ;; - packages_title) printf '%s' 'ReliefOS パッケージ' ;; - available_packages) printf '%s' '利用可能なパッケージ' ;; - packages_caption) printf '%s' 'このリリースで公開されている APK パッケージ' ;; - package) printf '%s' 'パッケージ' ;; - download_apk) printf '%s' '.apk をダウンロード' ;; - back_packages) printf '%s' 'パッケージ一覧に戻る' ;; - kernel_title) printf '%s' 'ReliefNT カーネル' ;; - kernel_files) printf '%s' 'カーネルファイル' ;; - kernel_release) printf '%s' 'カーネルリリース' ;; - module_abi) printf '%s' 'モジュール ABI' ;; - download_kernel) printf '%s' '署名済みカーネルパッケージをダウンロード' ;; - module_inventory) printf '%s' 'モジュールとファイルの一覧' ;; - release_metadata) printf '%s' '機械可読リリースメタデータ' ;; - strict_protocol) printf '%s' '厳密なクライアントプロトコル' ;; *) printf 'unknown site message: %s\n' "$1" >&2; return 1 ;; esac } diff --git a/resources/pages/i18n/zh-CN.sh b/resources/pages/i18n/zh-CN.sh index e7dfdb6a..871855e7 100644 --- a/resources/pages/i18n/zh-CN.sh +++ b/resources/pages/i18n/zh-CN.sh @@ -14,6 +14,8 @@ site_message() { get_started) printf '%s' '开始使用' ;; packages) printf '%s' '软件包' ;; rpr_summary) printf '%s' '远程软件包仓库。' ;; + rpr_source_commit) printf '%s' '仓库生成时的 Git 提交' ;; + rpr_source_commit_missing) printf '%s' '未记录' ;; download_summary) printf '%s' '安装 ISO 镜像及校验和。' ;; source) printf '%s' '源码' ;; source_summary) printf '%s' '项目源码仓库。' ;; @@ -24,37 +26,9 @@ site_message() { architecture) printf '%s' '架构' ;; size) printf '%s' '大小' ;; checksum_help) printf '%s' '将镜像和校验和文件下载到同一目录后,在该目录执行:' ;; - rpr_title) printf '%s' 'ReliefOS 远程软件包仓库' ;; - packages_description) printf '%s' '浏览仓库中发布的已签名 APK 软件包。软件包列表由 ReliefOS 构建系统根据实际仓库内容生成。' ;; - browse_packages) printf '%s' '浏览软件包' ;; - apk_repository) printf '%s' 'APK 仓库' ;; - kernel) printf '%s' '内核' ;; - kernel_description) printf '%s' '相互匹配的内核、initramfs 和模块清单,由已签名的 APK 软件包提供。' ;; - kernel_information) printf '%s' '内核信息' ;; manuals_description) printf '%s' '两套独立手册分别在各产品的源码仓库中维护和构建。' ;; os_manual) printf '%s' 'ReliefOS 系统与应用手册' ;; nt_manual) printf '%s' 'ReliefNT 内核手册' ;; - repository_metadata) printf '%s' '仓库元数据' ;; - metadata_description) printf '%s' '以下机器可读接口由 ReliefOS 软件包工具使用,其内容属于协议文件。' ;; - signed_index) printf '%s' '已签名索引' ;; - legacy_alias) printf '%s' '旧版兼容别名' ;; - apk_title) printf '%s' 'ReliefOS APK 仓库' ;; - downloadable_files) printf '%s' '可下载文件' ;; - apk_description) printf '%s' '已签名的软件包索引、签名公钥及校验和。以下目录是 APK 仓库根目录,其地址配置在' ;; - packages_title) printf '%s' 'ReliefOS 软件包' ;; - available_packages) printf '%s' '可用软件包' ;; - packages_caption) printf '%s' '本发行版发布的 APK 软件包' ;; - package) printf '%s' '软件包' ;; - download_apk) printf '%s' '下载 .apk' ;; - back_packages) printf '%s' '返回软件包列表' ;; - kernel_title) printf '%s' 'ReliefNT 内核' ;; - kernel_files) printf '%s' '内核文件' ;; - kernel_release) printf '%s' '内核发行标识' ;; - module_abi) printf '%s' '模块 ABI' ;; - download_kernel) printf '%s' '下载已签名内核软件包' ;; - module_inventory) printf '%s' '模块与文件清单' ;; - release_metadata) printf '%s' '机器可读发行元数据' ;; - strict_protocol) printf '%s' '严格客户端协议' ;; *) printf 'unknown site message: %s\n' "$1" >&2; return 1 ;; esac } diff --git a/scripts/ci/arch-host.sh b/scripts/ci/arch-host.sh new file mode 100644 index 00000000..d5bead2e --- /dev/null +++ b/scripts/ci/arch-host.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +# Run the public build entry on each supported CI host userspace. +set -euo pipefail +host=${1:?CI host required} +output=${2:?build output required} +launcher=() +case "$host" in + ubuntu-24.04) ;; + debian-13) + # Both containers must see the same absolute host paths. Build products + # use the local engine, while Make and the entry script run under Debian. + docker build --tag reliefos-ci-debian - <<'DOCKERFILE' +FROM docker.io/library/debian@sha256:8aa5a7bf5a1955bddbe7d74fcdd0b91ab30e74362a8b73af672b0481b35b44a0 +RUN apt-get update && apt-get install -y --no-install-recommends docker-cli git make \ + && rm -rf /var/lib/apt/lists/* +DOCKERFILE + launcher=(docker run --rm -i --pull=never --user "$(id -u):$(id -g)" + --group-add "$(stat -c %g /var/run/docker.sock)" --env HOME=/tmp --env ARCH_BASE_REGISTRY + --mount 'type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock' + --mount "type=bind,src=$PWD,dst=$PWD" --workdir "$PWD" reliefos-ci-debian) + ;; + *) printf 'unsupported CI host: %s\n' "$host" >&2; exit 2 ;; +esac +"${launcher[@]}" bash -eu -s -- "$output" <<'BUILD' +for goal in doctor fetch build; do + make O="$1" ARCH_JOBS=2 "$goal" +done +BUILD diff --git a/scripts/ci/cache-prune.py b/scripts/ci/cache-prune.py deleted file mode 100644 index 405e8463..00000000 --- a/scripts/ci/cache-prune.py +++ /dev/null @@ -1,131 +0,0 @@ -#!/usr/bin/env python3 -"""Bound CI compiler-cache snapshots while retaining the newest main caches.""" -import argparse -from datetime import datetime -import json -import os -import re -import subprocess -import sys - - -PREFIX = "ccache-v2-" -KEY = re.compile(r"ccache-v2-([A-Za-z0-9]+)-([A-Za-z0-9]+)-(build|kernel|auth|pages)-[0-9]+-[0-9]+") -MAIN = "refs/heads/main" -GIB = 1024 ** 3 - - -def timestamp(value): - result = datetime.fromisoformat(value.replace("Z", "+00:00")) - if result.tzinfo is None: - raise ValueError("Cache timestamp must include a timezone") - return result - - -def plan(caches, *, budget=8 * GIB, keep=2): - """Return eligible deletions without touching downloads or protected main caches.""" - if budget < 0 or keep < 1: - raise ValueError("Cache budget must be nonnegative and keep must be positive") - managed = {} - for item in caches: - match = KEY.fullmatch(item["key"]) - if match is None: - continue - if (type(item["id"]) is not int or item["id"] <= 0 or - type(item["size_in_bytes"]) is not int or item["size_in_bytes"] < 0 or - not isinstance(item["ref"], str)): - raise ValueError("Invalid compiler-cache metadata") - created = timestamp(item["created_at"]) - accessed = timestamp(item.get("last_accessed_at") or item["created_at"]) - record = dict(item, platform_role=match.groups(), created=created, accessed=accessed) - previous = managed.get(item["id"]) - if previous is not None and previous != record: - raise ValueError("Inconsistent duplicate cache metadata") - managed[item["id"]] = record - groups = {} - protected = set() - ordered = sorted(managed.values(), key=lambda c: (c["created"], c["id"]), reverse=True) - for item in ordered: - identity = item["platform_role"] - group = groups.setdefault((identity, item["ref"]), []) - if item["ref"] == MAIN and not group: - protected.add(item["id"]) - group.append(item) - selected = {item["id"] for group in groups.values() for item in group[keep:]} - before = sum(item["size_in_bytes"] for item in managed.values()) - remaining = before - sum(managed[id]["size_in_bytes"] for id in selected) - eligible = sorted((item for item in managed.values() - if item["id"] not in protected | selected), - key=lambda c: (c["accessed"], c["created"], c["id"])) - for item in eligible: - if remaining <= budget: - break - selected.add(item["id"]) - remaining -= item["size_in_bytes"] - return {"delete": sorted(selected), "protected": sorted(protected), - "before": before, "remaining": remaining} - - -def gh_api(endpoint, *, method="GET"): - return json.loads(subprocess.check_output( - ["gh", "api", endpoint, "--method", method], text=True)) - - -def list_caches(repository, api=gh_api): - result = [] - page = 1 - while True: - data = api(f"repos/{repository}/actions/caches?key={PREFIX}&per_page=100&page={page}") - items = data["actions_caches"] - result.extend(items) - if len(items) < 100: - return result - page += 1 - - -def delete_cache(repository, id): - """A cache evicted after listing is already in the requested absent state.""" - result = subprocess.run( - ["gh", "api", f"repos/{repository}/actions/caches/{id}", - "--method", "DELETE", "--include", "--silent"], capture_output=True, text=True) - if result.returncode == 0: - return - first_line = result.stdout.splitlines()[0] if result.stdout else "" - status = re.fullmatch(r"HTTP/\d+(?:\.\d+)? (\d{3})(?: .*)?", first_line) - if status is not None and status[1] == "404": - print(f"Cache {id} is already absent.") - return - if result.stderr: - print(result.stderr, file=sys.stderr, end="") - result.check_returncode() - - -def main(argv=None): - parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument("--repo", default=os.environ.get("GITHUB_REPOSITORY")) - parser.add_argument("--budget-gib", type=int, default=8) - parser.add_argument("--keep", type=int, default=2) - parser.add_argument("--apply", action="store_true", help="Delete the selected snapshots (main push only)") - args = parser.parse_args(argv) - if not args.repo or not re.fullmatch(r"[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+", args.repo): - raise ValueError("Expected an owner/repository name") - if args.apply and (os.environ.get("GITHUB_REF") != MAIN or - os.environ.get("GITHUB_EVENT_NAME") != "push" or - os.environ.get("GITHUB_REPOSITORY") != args.repo): - raise ValueError("Cache deletion requires a push workflow on its own main branch") - result = plan(list_caches(args.repo), budget=args.budget_gib * GIB, keep=args.keep) - print(json.dumps(dict(result, apply=args.apply), sort_keys=True)) - if args.apply: - for id in result["delete"]: - delete_cache(args.repo, id) - if result["remaining"] > args.budget_gib * GIB: - print("Newest main snapshots exceed the budget; they remain protected.") - return 0 - - -if __name__ == "__main__": - try: - sys.exit(main()) - except (ValueError, KeyError, TypeError, OSError, subprocess.CalledProcessError) as error: - print(f"Cache maintenance: {error}", file=sys.stderr) - sys.exit(1) diff --git a/scripts/ci/configure.sh b/scripts/ci/configure.sh deleted file mode 100644 index 5bf49322..00000000 --- a/scripts/ci/configure.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -size=${INSTALLER_ROOT_SIZE_MIB:-32} -if ! [[ "$size" =~ ^[0-9]{1,4}$ ]] || (( 10#$size < 32 || 10#$size > 4096 )); then - echo 'installer_root_size_mib must be an integer from 32 to 4096' >&2 - exit 2 -fi - -git submodule status --recursive -test -f third_party/musl/configure -test -f third_party/busybox/Makefile -make fetch -# The parent fetch delegates to ReliefNT and verifies both restored caches. -make defconfig -config=out/x86_64/release/.config -sed -i '/^CONFIG_INSTALLER_ROOT_SIZE_MIB=/d;/^# CONFIG_INSTALLER_ROOT_SIZE_MIB is not set$/d' "$config" -printf 'CONFIG_INSTALLER_ROOT_SIZE_MIB=%d\n' "$((10#$size))" >> "$config" -make olddefconfig -if make CONFIG_NOT_A_REAL_OPTION=y kernel; then - echo 'unknown CONFIG override unexpectedly succeeded' >&2 - exit 1 -fi diff --git a/scripts/ci/install.sh b/scripts/ci/install.sh index 7be0a165..c7b7ae33 100644 --- a/scripts/ci/install.sh +++ b/scripts/ci/install.sh @@ -3,44 +3,39 @@ set -euo pipefail case "${1:-}" in build) - packages=( - build-essential clang libclang-rt-dev llvm lld ccache bison flex gperf gettext - grub-efi-amd64-bin grub-pc-bin grub-common xorriso mtools dosfstools - e2fsprogs squashfs-tools libext2fs-dev fdisk zip openssl fakeroot gdisk qemu-utils - git make perl libncurses-dev bc pkg-config autoconf automake libtool - file curl patch xz-utils iproute2 - libtool-bin gawk ncurses-bin texinfo exfatprogs python3-sphinx python3-pil - qemu-system-x86 ovmf - xvfb xauth libx11-dev libpng-dev libcairo2-dev libfreetype6-dev - libglib2.0-dev ffmpeg libavformat-dev libavcodec-dev libavutil-dev - libswresample-dev libswscale-dev - ) + packages=(build-essential clang libclang-rt-dev lld llvm bison flex gettext gnupg + git make file pkg-config python3 cpio curl libncurses-dev) ;; - kernel|auth|pages) - # Focused suites build native tools and disposable kernel/runtime fixtures; - # they do not launch guests or compile the desktop/media applications. - packages=( - build-essential clang libclang-rt-dev llvm lld ccache bison flex gperf gettext - git make perl libncurses-dev bc pkg-config autoconf automake libtool libtool-bin - gawk ncurses-bin texinfo curl file patch xz-utils openssl python3 libext2fs-dev - ) - if [[ "$1" == pages ]]; then - packages+=(python3-sphinx python3-pil) - elif [[ "$1" == kernel ]]; then - # The concurrency suite verifies that the public, read-only `doctor` - # entry remains usable while another build owns the output directory. - # Its complete image/run checks need real tools even without guest boots. - packages+=( - e2fsprogs squashfs-tools dosfstools mtools xorriso qemu-utils qemu-system-x86 - grub-common fdisk fakeroot zip ovmf - ) - fi + desktop) + packages=(build-essential clang libclang-rt-dev bison flex gettext desktop-file-utils + gnupg pkg-config libx11-dev libfltk1.3-dev libpng-dev libglib2.0-dev libsqlite3-dev libmbedtls-dev + libasound2-dev libcairo2-dev libfreetype6-dev ffmpeg libavcodec-dev libavformat-dev + libavutil-dev libswresample-dev libswscale-dev libssl-dev openssl e2fsprogs + libext2fs-dev util-linux python3 python3-pil xvfb xauth fonts-noto-cjk) + ;; + kernel) + packages=(build-essential clang libclang-rt-dev llvm lld bison flex git make + python3 pkg-config libelf-dev libmbedtls-dev e2fsprogs dosfstools exfatprogs + xorriso squashfs-tools kmod cpio strace util-linux) ;; smoke) - packages=(qemu-system-x86 qemu-utils ovmf python3-pil tesseract-ocr) + packages=(qemu-system-x86 qemu-utils ovmf python3-pil tesseract-ocr dosfstools mtools gnupg gcc libc6-dev) ;; - *) echo 'Usage: install.sh build|kernel|auth|pages|smoke' >&2; exit 2 ;; + *) echo 'Usage: install.sh build|desktop|kernel|smoke' >&2; exit 2 ;; esac -sudo apt-get update -sudo apt-get install --yes --no-install-recommends "${packages[@]}" +if [[ ${RUNNER_ENVIRONMENT:-} == github-hosted && -f /etc/apt/apt-mirrors.txt ]]; then + # The hosted runner's regional HTTP mirror can stall even during apt update. + printf '%s\n' https://archive.ubuntu.com/ubuntu/ | sudo tee /etc/apt/apt-mirrors.txt >/dev/null +fi +apt_options=(-o Acquire::Retries=2 -o Acquire::http::Timeout=25 -o Acquire::https::Timeout=25) +sudo apt-get update "${apt_options[@]}" +sudo apt-get install "${apt_options[@]}" --yes --no-install-recommends "${packages[@]}" + +# Let the job use nested KVM when the hosted runner exposes the device. +if [[ $1 == smoke && ${RUNNER_ENVIRONMENT:-} == github-hosted && -c /dev/kvm ]]; then + if [[ ! -r /dev/kvm || ! -w /dev/kvm ]]; then + sudo chown -- "$(id -u)" /dev/kvm + sudo chmod u+rw -- /dev/kvm + fi +fi diff --git a/scripts/ci/smoke.sh b/scripts/ci/smoke.sh index b72df32f..f2a94637 100644 --- a/scripts/ci/smoke.sh +++ b/scripts/ci/smoke.sh @@ -1,29 +1,22 @@ #!/usr/bin/env bash set -euo pipefail - -case "${SMOKE_FIRMWARE:-}" in - bios|uefi) ;; +root=${1:?verified artifact root required} +firmware=${SMOKE_FIRMWARE:-} +case "$firmware" in + bios) systemd_options=(--direct-root) ;; + uefi) systemd_options=() ;; *) echo 'SMOKE_FIRMWARE must be bios or uefi' >&2; exit 2 ;; esac - -root=out/x86_64/release python3 tools/ci.py verify --root "$root" -export RELIEFOS_QMP_DIR="$RUNNER_TEMP" -export DUAL_BOOT_ACCEL=tcg -export DUAL_BOOT_CPU=max -if [[ -r /dev/kvm && -w /dev/kvm ]]; then - export DUAL_BOOT_ACCEL=kvm - export DUAL_BOOT_CPU=host -fi -if [[ "$SMOKE_FIRMWARE" == uefi ]]; then - # Ubuntu's combined firmware includes both code and an initialized var store. - export QEMU_FIRMWARE=/usr/share/ovmf/OVMF.fd - test -s "$QEMU_FIRMWARE" -fi -printf 'Booting %s with %s acceleration\n' "$SMOKE_FIRMWARE" "$DUAL_BOOT_ACCEL" -python3 tools/test_dual_boot_qemu.py \ - --images "$root/images" --kernel-manifest "$root/kernel-install/install.bundle.json" \ - --out "out/ci-smoke/$SMOKE_FIRMWARE" --matrix boot \ - --firmwares "$SMOKE_FIRMWARE" --timeout 300 -# The acceptance runner uses private disks; also recheck every input afterward. +export RELIEFOS_QMP_DIR=${RUNNER_TEMP:-/tmp} +output=out/ci-smoke/$firmware +mkdir -p "$output" +probe=$output/systemd-compat-probe +cc -static -O2 -Wall -Wextra -Werror \ + kernel/reliefnt/tools/tests/systemd_compat_runtime_probe.c -o "$probe" +python3 tools/test_arch_installer_iso.py --iso "$root/images/reliefos-installer.iso" \ + --firmware "$firmware" --output "$output/installer" --timeout 600 +python3 tools/test_arch_systemd_qemu.py --disk "$root/images/reliefos.vmdk" \ + --firmwares "$firmware" "${systemd_options[@]}" --output "$output/systemd" --timeout 600 \ + --guest-check tests/integration/arch-systemd-compat.sh --guest-file "$probe" python3 tools/ci.py verify --root "$root" diff --git a/scripts/clean.sh b/scripts/clean.sh index f43694c8..6b399ab0 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -1,87 +1,54 @@ #!/bin/sh -# Remove regenerable build products from the selected output directory. -# -# Safety rules from the migration plan section 6.3: never `rm -rf $(O)` blindly, -# require an ownership marker, refuse the source root and the filesystem root, -# and keep the shared download cache in every mode. -set -u - -target=${O:-} -src=${SRC:-} +# Remove only known, regenerable build products from an owned output. +set -eu +target=${O:?missing output directory} +src=${SRC:?missing source directory} keep=${KEEP_CONFIG:-1} +refuse() { printf 'clean: %s\n' "$*" >&2; exit 1; } -refuse() { - printf 'clean: refusing to clean: %s\n' "$1" >&2 - exit 1 -} - -case "$target" in - /*) ;; - *) case "$target" in - "") refuse 'O is empty' ;; - *) target="$PWD/$target" ;; - esac ;; -esac +resolved=$(realpath -ms -- "$target") || refuse 'cannot resolve O' +[ "$(realpath -m -- "$target")" = "$resolved" ] || refuse 'O contains a symlink' +case $src/ in "$resolved/"*|"$resolved"/*) refuse 'O contains the checkout' ;; esac +[ "$resolved" != / ] || refuse 'O is the filesystem root' +[ -e "$resolved" ] || exit 0 +[ -d "$resolved" ] || refuse 'O is not a directory' +exec 9< "$resolved" +flock -n 9 || refuse 'O is in use by the Arch build' -[ "$target" = "/" ] && refuse 'O is the filesystem root' -[ -n "$src" ] && [ "$target" = "$src" ] && refuse "O is the source root ($src)" - -# Resolve all components before reading the marker or removing products. -resolved=$(realpath -ms -- "$target" 2>/dev/null) || refuse 'cannot resolve O' -physical=$(realpath -m -- "$target" 2>/dev/null) || refuse 'cannot resolve O' -[ "$physical" = "$resolved" ] || refuse 'O contains a symlink component' -[ "$resolved" != / ] || refuse 'resolved O is the filesystem root' -if [ -n "$src" ]; then - source_root=$(realpath -m -- "$src") || refuse 'cannot resolve source root' - [ "$resolved" != "$source_root" ] || refuse 'resolved O is the source root' -fi -target=$resolved -marker_root='' -marker_found=0 -for marker_name in .reliefos-out .leonos-out; do - marker="$target/$marker_name" - [ ! -L "$marker" ] || refuse "ownership marker $marker_name is a symlink" - if [ -e "$marker" ]; then - [ -f "$marker" ] || refuse "ownership marker $marker_name is not a regular file" - this_root=$(sed -n \ - -e 's/^reliefos-build-out version=1 root=//p' \ - -e 's/^leonos4-build-out version=1 root=//p' "$marker" | head -n1) - [ -n "$this_root" ] || refuse "ownership marker in $target is not a recognised build output marker" - if [ -n "$marker_root" ] && [ "$marker_root" != "$this_root" ]; then - refuse 'ownership markers name different source roots' - fi - marker_root=$this_root - marker_found=1 - fi +arch="$resolved/.reliefos-arch-root" +native="$resolved/.reliefos-out" +found=0 +for marker in "$arch" "$native"; do + [ ! -L "$marker" ] || refuse 'symlinked ownership marker' + [ -e "$marker" ] || continue + [ -f "$marker" ] || refuse 'invalid ownership marker' + case $marker in + "$arch") expected="reliefos-arch-root version=1 root=$src" ;; + "$native") expected="reliefos-build-out version=1 root=$src" ;; + esac + # Native Kbuild inside this owned Arch root sees the same source bind path + # as the host, and records the same checkout in its marker. + [ "$(cat "$marker")" = "$expected" ] || refuse 'O belongs to another checkout' + found=1 done -[ "$marker_found" = 1 ] || refuse "no ownership marker in $target (not a build output directory created by this Makefile)" -if [ -n "$src" ] && [ -n "$marker_root" ] && [ "$marker_root" != "$src" ]; then - refuse "output directory belongs to a different source root ($marker_root)" +[ "$found" = 1 ] || refuse 'O has no ReliefOS ownership marker' +if [ -f "$native" ]; then + RELIEFOS_BUILD_OWNER= sh "$src/scripts/build-lock.sh" acquire "$resolved/.build-lock" "$resolved" >/dev/null || + refuse 'O is in use by a native build' fi -# Explicit list rather than a glob: an unknown entry in the tree is not ours to -# delete, and this is what makes `clean` auditable. -# third-party holds upstream build directories this configuration owns (see scripts/reliefos/Makefile.third-party). -# ntclks is the kernel checkout's own sub-build output directory (scripts/reliefos/Makefile.kernel). -products="scripts tools userland userland-installer userland-installer-policy upstream grub-host grub-efi rootfs resources rpr-apps rpr-pages pages Documentation obj generated host include auth pam system musl installer sdk sysroot stage packages images logs meta third-party kernel-export kernel-install reliefnt ntclks" +# Preserve downloads, signed RPR generations (including their package archives), +# and unfamiliar files. Do not remove the ownership or lock infrastructure. +products='arch-boot arch-desktop arch-filesystem arch-kernel arch-package arch-paru arch-rootfs +Documentation generated glibc grub-efi grub-host host images include kernel-export kernel-install +kernel-tests logs meta pages scripts tests third-party tools userland' if [ "$keep" = 0 ]; then - products="$products config" + products="$products reliefnt config .config .config.old" fi - printf 'clean: %s (keep config=%s)\n' "$resolved" "$keep" for entry in $products; do if [ -e "$resolved/$entry" ] || [ -L "$resolved/$entry" ]; then - printf ' remove %s\n' "$entry" - rm -rf -- "$resolved/$entry" || exit 1 + rm -rf -- "$resolved/$entry" fi done -if [ "$keep" = 0 ]; then - rm -f -- "$resolved/.config" "$resolved/.config.old" - for marker_name in .reliefos-out .leonos-out; do - if [ -e "$resolved/$marker_name" ]; then - printf ' remove %s\n' "$marker_name" - rm -f -- "$resolved/$marker_name" - fi - done -fi -printf 'clean: the shared download cache under cache/downloads was not touched\n' +printf '%s\n' 'clean: downloads, packages and signed RPR snapshots were preserved' diff --git a/scripts/doctor.sh b/scripts/doctor.sh deleted file mode 100755 index 1310f60a..00000000 --- a/scripts/doctor.sh +++ /dev/null @@ -1,196 +0,0 @@ -#!/bin/sh -# Grouped host / target / third-party checks. Exits non-zero on anything missing -# so CI and a fresh checkout get a single actionable report (plan section 6.2). -set -u - -. "$(CDPATH= cd -- "$(dirname "$0")" && pwd)/logging.sh" - -failures=0 -group() { printf '%s\n' "$1"; } -missing() { reliefos_log MISSING "$1"; failures=$((failures + 1)); } -present() { reliefos_log OK "$1 -> $2"; } - -check_tool() { - found=$(command -v "$1" 2>/dev/null || true) - if [ -z "$found" ]; then - missing "$1" - else - present "$1" "$found" - fi -} - -printf 'ReliefOS build doctor\n' -printf 'source root\t%s\n' "${SRC:-.}" -printf 'output dir\t%s\n' "${O:-unset}" -printf 'arch\t\t%s\nprofile\t%s\n' "${ARCH:-unset}" "${PROFILE:-unset}" -printf 'toolchain\t%s\n\n' "${TOOLCHAIN:-unset}" - -group 'host tools (required by make itself and the C helpers)' -for tool in sh grep sed awk find sort cmp mv ln mkdir rm printf date tr head \ - cut expr uname nproc xz tar patch curl flock make readelf stat od \ - gzip sha256sum timeout perl autoconf automake libtoolize gperf bison flex pkg-config msgfmt makeinfo; do - check_tool "$tool" -done -# Like Kbuild, accept a compiler command with wrapper/driver words. Nested -# Make invocations inherit the compiler fingerprint through an env wrapper. -hostcc=${HOSTCC:-cc} -reliefos_log HOSTCC "$hostcc" -# shellcheck disable=SC2086 -set -- $hostcc -if [ "$#" -eq 0 ] || ! command -v "$1" >/dev/null 2>&1; then - missing "HOSTCC=$hostcc" -fi - -group 'GRUB BIOS freestanding compiler' -check_tool "${GRUB_PC_CC:-gcc}" -grub_probe=$(mktemp -d) -if printf 'void _start(void) { for (;;) {} }\n' | "${GRUB_PC_CC:-gcc}" -m32 -ffreestanding -fno-pie -fno-stack-protector -x c -c -o "$grub_probe/probe.o" - >"$grub_probe/log" 2>&1; then - present 'GRUB i386 code generation' "${GRUB_PC_CC:-gcc} -m32" -else - missing 'GRUB BIOS requires a compiler supporting freestanding -m32' -fi -rm -rf "$grub_probe" - -group '' -group 'target toolchain (validated by actually compiling)' -# Named explicitly: HOSTCC and TARGET_CC must be visible as two different -# variables in one output, or "the host compiler works" proves nothing about the -# cross compiler. -reliefos_log TARGET_CC "${TARGET_CC:-unset}" -reliefos_log TARGET_LD "${TARGET_LD:-unset}" -for tool in "$TARGET_CC" "$TARGET_LD" "$TARGET_AR" "$TARGET_OBJCOPY" \ - "$TARGET_STRIP"; do - check_tool "$tool" -done - -# A clang on PATH that cannot emit the freestanding triple, or that has no -# compiler-rt builtins archive, is worse than no compiler at all: the link would -# fail much later with a confusing message. -if command -v "$TARGET_CC" >/dev/null 2>&1; then - probe_dir=$(mktemp -d 2>/dev/null || echo "") - if [ -n "$probe_dir" ]; then - printf 'int main(void){return 0;}\n' > "$probe_dir/probe.c" - if "$TARGET_CC" -target "${TARGET_TRIPLE_KERNEL}" -ffreestanding -c \ - "$probe_dir/probe.c" -o "$probe_dir/probe.o" >/dev/null 2>&1; then - reliefos_log OK "$TARGET_CC can target $TARGET_TRIPLE_KERNEL" - else - missing "$TARGET_CC cannot target $TARGET_TRIPLE_KERNEL" - fi - resource_dir=$("$TARGET_CC" -print-resource-dir 2>/dev/null || echo "") - if [ -n "$resource_dir" ] && [ -d "$resource_dir/include" ]; then - reliefos_log OK "compiler-rt headers $resource_dir/include" - else - missing "$TARGET_CC compiler-rt headers (clang -print-resource-dir)" - fi - builtins=$("$TARGET_CC" --target="${TARGET_TRIPLE_USER}" --rtlib=compiler-rt \ - --print-libgcc-file-name 2>/dev/null || :) - if [ -z "$builtins" ] || [ ! -s "$builtins" ]; then - missing "$TARGET_CC compiler-rt builtins archive for $TARGET_TRIPLE_USER ($builtins)" - else - # Force a runtime helper reference; file existence alone can accept - # an empty archive or one built for a different architecture. - printf 'unsigned __int128 reliefos_probe(unsigned __int128 a, unsigned __int128 b){return a/b;}\n' \ - > "$probe_dir/runtime.c" - if "$TARGET_CC" --target="$TARGET_TRIPLE_USER" -ffreestanding -fno-stack-protector \ - -c "$probe_dir/runtime.c" -o "$probe_dir/runtime.o" >/dev/null 2>&1 && - "$TARGET_LD" -e reliefos_probe --no-undefined "$probe_dir/runtime.o" \ - "$builtins" -o "$probe_dir/runtime.elf" >/dev/null 2>&1; then - present 'compiler-rt builtins' "$builtins" - else - missing "$TARGET_CC compiler-rt builtins cannot link for $TARGET_TRIPLE_USER ($builtins)" - fi - fi - if "$TARGET_LD" --version >/dev/null 2>&1; then - reliefos_log OK "linker $TARGET_LD responds" - else - missing "$TARGET_LD is not runnable" - fi - rm -rf "$probe_dir" - else - missing 'cannot create temporary directory for compiler validation' - fi -fi - -group '' -group 'image and run tools (needed by the image and run phases)' -for tool in mke2fs e2fsck mksquashfs mkfs.fat mformat mcopy xorriso qemu-img qemu-system-x86_64 grub-mkfont sfdisk fakeroot openssl zip; do - check_tool "$tool" -done -image_probe=$(mktemp -d) -# HOSTCC uses the same whitespace-separated command convention as Kbuild. -# shellcheck disable=SC2086 -if printf '#include \n#include \nint main(void){ext2_filsys fs=0; ext2fs_close(fs); return 0;}\n' | \ - $hostcc -x c - -lext2fs -lcom_err -o "$image_probe/probe" >/dev/null 2>&1; then - present 'libext2fs development headers and library' 'host link verified' -else - missing 'libext2fs development headers/library (Debian: libext2fs-dev; Alpine: e2fsprogs-dev)' -fi -rm -rf "$image_probe" - -# OVMF is required for the default UEFI run and complete dual-firmware tests. -# BIOS run targets use SeaBIOS and do not depend on this firmware file. -firmware_found='' -for candidate in "${SRC:-.}/buildsystem/firmware/OVMF.fd" \ - "${SRC:-.}/build/firmware/OVMF.fd" \ - /usr/share/edk2/x64/OVMF.4m.fd /usr/share/ovmf/OVMF.fd \ - /usr/share/OVMF/OVMF_CODE_4M.fd /usr/share/qemu/OVMF.fd; do - if [ -f "$candidate" ] && [ "$(wc -c < "$candidate")" -ge 1048576 ]; then - firmware_found=$candidate - break - fi -done -if [ -n "$firmware_found" ]; then - reliefos_log OK "UEFI firmware $firmware_found" -else - missing 'UEFI firmware for QEMU (install edk2-ovmf, or place OVMF.fd in buildsystem/firmware/)' -fi - -group '' -group 'third-party build inputs' -if [ -f scripts/kconfig/conf.c ] && [ -f scripts/Makefile.build ]; then - reliefos_log OK 'vendored Linux Kbuild / Kconfig source present' -else - missing 'scripts/Makefile.build or scripts/kconfig/conf.c' -fi -# Which upstream sources the build needs is the lock file's job, so doctor asks -# it rather than keeping a second, easily stale list here. -lock=${LOCK:-} -deps_tool=${DEPS:-} -cache=${CACHE:-} -if [ -n "$lock" ] && [ ! -f "$lock" ]; then - missing "$lock (the dependency lock file is gone)" -elif [ -n "$deps_tool" ] && [ -x "$deps_tool" ] && [ -n "$lock" ]; then - if "$deps_tool" --lock "$lock" --check --root "$PWD" >/dev/null 2>&1; then - reliefos_log OK "$lock ($("$deps_tool" --lock "$lock" --list | grep -c '') dependencies" - else - missing "$lock does not validate: $deps_tool --lock $lock --check --root ." - fi - # A `for` loop, not a pipeline: a piped `while` runs in a subshell, and a - # MISSING submodule there would print without failing doctor. Ids are - # validated by reliefos-deps to contain no whitespace. - for dependency in $("$deps_tool" --lock "$lock" --list 2>/dev/null); do - directory=$("$deps_tool" --lock "$lock" --id "$dependency" --print directory 2>/dev/null) || continue - kind=$("$deps_tool" --lock "$lock" --id "$dependency" --print kind 2>/dev/null) || continue - [ "$kind" = submodule ] || continue - if [ -n "$directory" ] && [ -n "$(ls -A "$directory" 2>/dev/null)" ]; then - reliefos_log OK "$directory" - else - reliefos_log MISSING "$directory (git submodule update --init)" - fi - done - if [ -n "$cache" ]; then - wanted=$("$deps_tool" --lock "$lock" --fetch-list 2>/dev/null | grep -c '') - have=0 - [ -d "$cache" ] && have=$(cd "$cache" && find . -type f -name '.*.partial.*' -prune -o -type f -print | wc -l) - reliefos_log "$([ "$have" -ge "$wanted" ] && echo OK || echo NOTE)" "$have of $wanted locked downloads in $cache (make fetch)" - fi -elif [ -n "$lock" ]; then - reliefos_log NOTE "lock file not validated: $deps_tool is not built yet (make tools)" -fi - -printf '\n' -if [ "$failures" -ne 0 ]; then - printf 'doctor: %d missing requirement(s)\n' "$failures" >&2 - exit 1 -fi -printf 'doctor: all checked requirements present\n' diff --git a/scripts/help.sh b/scripts/help.sh index d038b0c5..15709fe5 100755 --- a/scripts/help.sh +++ b/scripts/help.sh @@ -1,125 +1,27 @@ #!/bin/sh -# List the public build surface. Must run with no compiler installed and must -# not configure, download or build anything. -set -u - -cat <<'HELP' -ReliefOS build system (Linux Kbuild / Kconfig) - - make same as `make help`; never downloads or builds - make help this message - make doctor check host tools, target toolchain and third-party bits - make fetch the only download stage: fetch and verify locked sources, - parent and kernel checkout alike - make fetch-check probe every locked URL without downloading anything; - name the packages whose address answers 404 or nothing - - make defconfig reset OS and ReliefNT configurations to their defaults - make olddefconfig resolve new symbols non-interactively, keep user choices - make kernel-menuconfig configure native kernel y/m/n selections - make kernel-olddefconfig resolve new kernel options, preserving choices - make kernel-allmodconfig build eligible kernel components as modules - make menuconfig edit the configuration of the selected output directory - make migrate-config explicitly rename old component symbols in O/.config - make regen-component-kconfig regenerate Kconfig.components from components.toml - - make tools build this project's C host tools (HOSTCC only) - make kernel freestanding kernel image and debug symbols - make userland ring-3 programs and libraries - make runtime normal/installer shared and static runtime libraries - make reliefos-pam Linux-PAM and ReliefOS password-policy module - make musl-sdk relocatable musl SDK subset and tar.gz archive - make sdk alias of musl-sdk (built from build output) - make rootfs staged root filesystem - make apk-repo signed local package repository - make htmldocs strict Sphinx manual in O/Documentation/html - make image-vmdk BIOS + UEFI GPT disk image - make iso BIOS + UEFI live ISO - make installer BIOS + UEFI installer ISO - make rpr-pages local signed APK/kernel subtree (does not publish) - make pages full GitHub Pages tree: home, download/, rpr/, docs/ (does not publish) - make site alias of pages - make download-page alias of pages (single atomic output) - make docs-page alias of pages (separate Documentation/ manuals from both repositories) - make release all plus pages - make all kernel userland runtime sdk apk-repo image-vmdk iso installer - - make run boot the VMDK in QEMU (no root required) - make run-iso boot the live ISO in QEMU - make run-installer boot the installer ISO in QEMU - make run-only boot the existing VMDK without rebuilding - make run-iso-only boot the existing live ISO without rebuilding - make run-installer-only boot the existing installer ISO without rebuilding - - make test-tools C host tool tests, plain and under ASan/UBSan - make test-build shell contract tests for the build surface - make test-vdso delegate vDSO ELF, timekeeper and mapping/auxv checks - make test-kernel-host run standalone ReliefNT host regression suites - make test-kernel-ownership check standalone ReliefNT test ownership - make test-system-update signed package and offline repair regressions - make test-kernel-update signed kernel update, package repair and A/B preflight regressions - make test-boot-health real GRUB BIOS/UEFI trial, confirmation and fallback checks - make test core build, system-update, kernel-update and boot-health gates - make test-long repeated -j1/-j8 comparisons and interrupt recovery - make test-smoke BIOS + UEFI QEMU checks for all three media (sequential) - make test-legacy kernel legacy group plus OS userspace regressions - - make clean remove built products in $(O), keep configuration - make distclean also remove configuration in $(O); keeps the download cache - leonos-pam remains an accepted alias for reliefos-pam - -Variables - ARCH=x86_64 only x86_64 is supported today; anything else is an error - PROFILE=debug|release compile policy; anything else is an error - O=PATH output directory, default out// - V=1 echo the real command, its working directory and overrides - QEMU_BOOT=uefi|bios run firmware, default uefi - QEMU_FIRMWARE=FILE OVMF firmware for uefi; unused for bios - QEMU_INSTALLER_DISK=FILE attach an optional target disk to installer QEMU (qcow2 by default) - QEMU_INSTALLER_DISK_FORMAT=FORMAT qcow2, raw or vmdk disk image format - QEMU_RUN_DISK=FILE select a disk image for run-only (qcow2 by default; relative to repo root) - QEMU_RUN_DISK_FORMAT=FORMAT qcow2, raw or vmdk disk image format - CPUS=n override Kconfig guest CPU count - MEMORY=4G guest memory for the run targets - TOOLCHAIN=FILE toolchain description, default configs/toolchains/llvm-x86_64.mk - CC/CXX/AR/LD/OBJCOPY/STRIP= explicit target tool override (command line only) - HOSTCC= host compiler for the C helpers; independent of CC - SOURCE_DATE_EPOCH=N pin generated timestamps for reproducible output - RELIEFOS_CACHE= shared download cache override - RELIEFOS_LOCK= dependency lock override - RELIEFOS_*_TOOL= host helper executable overrides - old LEONOS_* inputs remain accepted; a supplied RELIEFOS_* value takes priority - RELIEFOS_BUILD_OWNER internal lock token; nested makes inherit it, and setting - it by hand is the only way to skip the lock deliberately - -Environment values of ARCH, PROFILE, O and the target tools are ignored so an -unrelated shell setting cannot silently change what gets built. - -Examples - make doctor - make fetch - make defconfig PROFILE=debug - make kernel PROFILE=debug -j8 - make installer PROFILE=release -j8 - make run CPUS=2 MEMORY=4G - make kernel V=1 - make test-build - make kernel O=out/x86_64/debug -j8 # alongside a release build: different O, - # so both are allowed to run - -Concurrency - Two builds that share one output directory do not interleave: the second make - exits non-zero and names the owner pid. Build the other configuration into a - different O= instead. make -n, make -q, help and doctor never take that lock, - so inspecting a tree that is being built still works. - -Diagnosing - make --trace, make -n and make -p are the supported inspection tools. - Note that `make -n` is not a side-effect-free sandbox: Make may rebuild - generated files it includes and may run recursive rules. Plain help, doctor - and clean never regenerate configuration or start a production build. - -Third-party sources - Git submodules under third_party/ must be initialised before any image build: - git submodule update --init --recursive +set -eu +cat </dev/null | cut -d' ' -f1)|policy=$(shell sha256sum $(RELIEFOS_SRC)/configs/apk-ownership.json 2>/dev/null | cut -d' ' -f1)|script=$(shell sha256sum $(APK_STAGE_SCRIPT) 2>/dev/null | cut -d' ' -f1) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,apk-stage))) - -# rootfs-raw/.complete is a durable producer interface. Its recipe is owned by -# scripts/reliefos/Makefile.rootfs; keeping it as a prerequisite catches missing staging explicitly. -$(APK_MANAGED_ROOT)/.apk-complete $(APK_REPOSITORY)/packages.adb $(APK_MANIFEST) $(APK_OWNERSHIP) &: \ - $(APK_RAW_STAMP) $(APK_STAGE_SCRIPT) $(APK_STAGE_INPUTS) $(RELIEFOS_APK_OWN) $(UPSTREAM_APK) \ - $(UPSTREAM_APK_ROOT)/.complete $(RELIEFOS_SRC)/configs/apk-ownership.json \ - $(RELIEFOS_SRC)/resources/licenses/apk-tools-LICENSE $(MUSL_STAMP) \ - $(RELIEFOS_SRC)/userland/storage/reliefos-apk-update \ - $(RELIEFOS_SRC)/userland/storage/busybox-binutils-links \ - $(RELIEFOS_SRC)/system/rootfs/etc/apk/protected_paths.d/leonos.list \ - $(RELIEFOS_SRC)/system/rootfs/etc/apk/protected_paths.d/reliefos.list \ - $(O_META)/apk-stage.parameters - $(Q)mkdir -p $(O_LOGS) $(O_PACKAGES) - $(Q)SOURCE_DATE_EPOCH='$(SOURCE_DATE_EPOCH)' APK_MUSL_SYSROOT='$(abspath $(MUSL_SYSROOT))' sh $(RELIEFOS_SRC)/tools/build/run-logged.sh $(O_LOGS)/apk-stage.log sh $(APK_STAGE_SCRIPT) \ - $(RELIEFOS_SRC) $(abspath $(APK_RAW_ROOT)) $(abspath $(APK_MANAGED_ROOT)) \ - $(abspath $(APK_WORK)) $(abspath $(UPSTREAM_APK)) $(abspath $(UPSTREAM_APK_ROOT)) \ - $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) \ - $(RELIEFOS_SRC)/configs/apk-ownership.json $(abspath $(RELIEFOS_APK_OWN)) \ - $(APK_SIGNING_KEY) '$(APK_BUILD_VERSION)' - $(Q)touch $(APK_MANAGED_ROOT)/.apk-complete - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(APK_MANAGED_ROOT) $(O_META)/apk-root.files - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(APK_REPOSITORY) $(O_META)/apk-repo.files - -$(O_META)/apk-root-present.parameters: FORCE - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh check $(APK_MANAGED_ROOT) $(O_META)/apk-root.files $@ -$(O_META)/apk-repo-present.parameters: FORCE - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh check $(APK_REPOSITORY) $(O_META)/apk-repo.files $@ -$(APK_MANAGED_ROOT)/.apk-complete $(APK_REPOSITORY)/packages.adb $(APK_MANIFEST) $(APK_OWNERSHIP): $(O_META)/apk-root-present.parameters $(O_META)/apk-repo-present.parameters $(RELIEFOS_SRC)/tools/build/stage-inventory.sh - -apk-repo: $(APK_MANAGED_ROOT)/.apk-complete $(APK_REPOSITORY)/packages.adb $(APK_MANIFEST) $(APK_OWNERSHIP) -rootfs: $(APK_MANAGED_ROOT)/.apk-complete - -.PHONY: test-apk -test-apk: - $(Q)sh $(RELIEFOS_SRC)/tests/build/test-apk-ownership.sh $(RELIEFOS_SRC) diff --git a/scripts/reliefos/Makefile.apk-dependencies b/scripts/reliefos/Makefile.apk-dependencies deleted file mode 100644 index 1ac0f724..00000000 --- a/scripts/reliefos/Makefile.apk-dependencies +++ /dev/null @@ -1,69 +0,0 @@ -# Binary runtime dependencies are staged before compiling their consumers. -UPSTREAM_ROOT := $(O)/upstream -UPSTREAM_APK_ROOT := $(UPSTREAM_ROOT)/apk -UPSTREAM_APK := $(UPSTREAM_APK_ROOT)/apk.static -$(UPSTREAM_APK) $(UPSTREAM_APK_ROOT)/.complete &: $(RELIEFOS_SRC)/tools/build/upstream-apk.sh $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(wildcard $(RELIEFOS_SRC)/system/rootfs/etc/apk/keys/*) - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-apk.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(UPSTREAM_APK_ROOT)) -.PHONY: upstream-apk -upstream-apk: $(UPSTREAM_APK) $(UPSTREAM_APK_ROOT)/.complete - -# Shadow consumes official libbsd/libmd headers and libraries in an isolated build -# root. Do not add this root to the guest overlay or the public musl sysroot. -LIBBSD_DEVELOPMENT_ROOT := $(UPSTREAM_ROOT)/libbsd/root -upstream_libbsd_products := $(addprefix $(LIBBSD_DEVELOPMENT_ROOT)/,usr/include/bsd/stdlib.h usr/include/bsd/sys/queue.h usr/lib/libbsd.so usr/lib/libbsd.so.0 usr/lib/libbsd.so.0.12.2 usr/lib/libbsd.a usr/lib/pkgconfig/libbsd.pc usr/lib/pkgconfig/libbsd-overlay.pc lib/libbsd.so lib/libbsd.so.0 lib/libbsd.a) -upstream_libbsd_products += $(addprefix $(LIBBSD_DEVELOPMENT_ROOT)/,usr/include/md5.h usr/include/sha256.h usr/include/sha512.h usr/lib/libmd.so usr/lib/libmd.so.0 usr/lib/libmd.so.0.3.0 usr/lib/libmd.a usr/lib/pkgconfig/libmd.pc lib/libmd.so lib/libmd.so.0 lib/libmd.a) -$(LIBBSD_DEVELOPMENT_ROOT)/.complete $(upstream_libbsd_products) &: $(RELIEFOS_SRC)/tools/build/libbsd-development.sh $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(UPSTREAM_APK) $(RELIEFOS_SRC)/resources/licenses/libbsd-LICENSE - $(Q)sh $(RELIEFOS_SRC)/tools/build/libbsd-development.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(UPSTREAM_APK)) $(abspath $(LIBBSD_DEVELOPMENT_ROOT)) - $(Q)touch $(upstream_libbsd_products) -$(O_META)/libbsd-development-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(LIBBSD_DEVELOPMENT_ROOT) $(LIBBSD_DEVELOPMENT_ROOT).files $@ -$(LIBBSD_DEVELOPMENT_ROOT)/.complete $(upstream_libbsd_products): $(O_META)/libbsd-development-present.parameters -.PHONY: upstream-libbsd upstream-libmd libbsd-development libmd-development -upstream-libbsd upstream-libmd libbsd-development libmd-development: $(LIBBSD_DEVELOPMENT_ROOT)/.complete $(upstream_libbsd_products) - -UTIL_LINUX_DEVELOPMENT_ROOT := $(UPSTREAM_ROOT)/util-linux/root -upstream_util-linux_products := $(addprefix $(UTIL_LINUX_DEVELOPMENT_ROOT)/,usr/include/blkid/blkid.h usr/include/uuid/uuid.h usr/include/libeconf.h usr/lib/libblkid.a usr/lib/libuuid.a usr/lib/libeconf.a usr/lib/libblkid.so usr/lib/libuuid.so usr/lib/libeconf.so usr/lib/pkgconfig/blkid.pc usr/lib/pkgconfig/uuid.pc usr/lib/pkgconfig/libeconf.pc) -$(UTIL_LINUX_DEVELOPMENT_ROOT)/.complete $(upstream_util-linux_products) &: $(RELIEFOS_SRC)/tools/build/util-linux-development.sh $(RELIEFOS_SRC)/scripts/reliefos/Makefile.apk-dependencies $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(UPSTREAM_APK) $(RELIEFOS_SRC)/resources/licenses/util-linux-README.licensing - $(Q)sh $(RELIEFOS_SRC)/tools/build/util-linux-development.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(UPSTREAM_APK)) $(abspath $(UTIL_LINUX_DEVELOPMENT_ROOT)) - $(Q)touch $(upstream_util-linux_products) -$(O_META)/util-linux-development-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(UTIL_LINUX_DEVELOPMENT_ROOT) $(UTIL_LINUX_DEVELOPMENT_ROOT).files $@ -$(UTIL_LINUX_DEVELOPMENT_ROOT)/.complete $(upstream_util-linux_products): $(O_META)/util-linux-development-present.parameters -.PHONY: upstream-util-linux util-linux-development -upstream-util-linux: upstream-apk util-linux-development -util-linux-development: $(UTIL_LINUX_DEVELOPMENT_ROOT)/.complete $(upstream_util-linux_products) - -RUNTIME_DEVELOPMENT_ROOT := $(UPSTREAM_ROOT)/runtime-development -RUNTIME_DEP_LIBDIR := $(RUNTIME_DEVELOPMENT_ROOT)/usr/lib -RUNTIME_DEP_SHARED := $(addprefix $(RUNTIME_DEP_LIBDIR)/,libpng.so libz.so libmbedtls.so libmbedx509.so libmbedcrypto.so) -RUNTIME_DEP_STATIC := $(addprefix $(RUNTIME_DEP_LIBDIR)/,libpng.a libz.a libmbedtls.a libmbedx509.a libmbedcrypto.a) -RUNTIME_DEVELOPMENT_PRODUCTS := $(addprefix $(RUNTIME_DEVELOPMENT_ROOT)/usr/include/,zlib.h zconf.h png.h pngconf.h pnglibconf.h sqlite3.h mbedtls/ssl.h mbedtls/sha256.h mbedtls/mbedtls_config.h) $(RUNTIME_DEP_SHARED) $(RUNTIME_DEP_STATIC) $(RUNTIME_DEP_LIBDIR)/libsqlite3.so $(RUNTIME_DEP_LIBDIR)/libsqlite3.a -$(RUNTIME_DEVELOPMENT_ROOT)/.complete $(RUNTIME_DEVELOPMENT_PRODUCTS) &: $(RELIEFOS_SRC)/tools/build/runtime-development.sh $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(UPSTREAM_APK) $(addprefix $(RELIEFOS_SRC)/resources/licenses/,zlib-LICENSE libpng-LICENSE sqlite-LICENSE mbedtls3-LICENSE) - $(Q)sh $(RELIEFOS_SRC)/tools/build/runtime-development.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(UPSTREAM_APK)) $(abspath $(RUNTIME_DEVELOPMENT_ROOT)) - $(Q)touch $(RUNTIME_DEVELOPMENT_PRODUCTS) -$(O_META)/runtime-development-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(RUNTIME_DEVELOPMENT_ROOT) $(RUNTIME_DEVELOPMENT_ROOT).files $@ -$(RUNTIME_DEVELOPMENT_ROOT)/.complete $(RUNTIME_DEVELOPMENT_PRODUCTS): $(O_META)/runtime-development-present.parameters -.PHONY: runtime-development -runtime-development: $(RUNTIME_DEVELOPMENT_ROOT)/.complete $(RUNTIME_DEVELOPMENT_PRODUCTS) -reliefos-upstream: upstream-apk -export RUNTIME_DEVELOPMENT_ROOT RUNTIME_DEP_SHARED RUNTIME_DEP_STATIC - -# Retain public build goal names while their payload comes from verified APKs. -.PHONY: upstream-ncurses upstream-app-sl upstream-app-sqlite upstream-e2fsprogs upstream-dosfstools -upstream-ncurses upstream-app-sl upstream-e2fsprogs upstream-dosfstools: upstream-apk -upstream-app-sqlite: upstream-apk runtime-development - -# Source-based sanitizer tests need host-libc libraries. Musl APK archives must -# never be linked into glibc tests (SQLite's libc internals differ). -HOST_RUNTIME_DEVELOPMENT_ROOT := $(O_HOST)/runtime-development -HOST_RUNTIME_DEVELOPMENT_PRODUCTS := $(addprefix $(HOST_RUNTIME_DEVELOPMENT_ROOT)/usr/lib/,libmbedtls.a libmbedx509.a libmbedcrypto.a libsqlite3.a) -RELIEFOS_PARAMETERS_host-runtime-development := cc=$(HOSTCC) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,host-runtime-development))) -$(HOST_RUNTIME_DEVELOPMENT_ROOT)/.complete $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS) &: $(O_META)/host-runtime-development.parameters $(RELIEFOS_SRC)/tools/build/host-runtime-development.sh $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(RUNTIME_DEVELOPMENT_PRODUCTS) - +$(Q)sh $(RELIEFOS_SRC)/tools/build/host-runtime-development.sh $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(RUNTIME_DEVELOPMENT_ROOT)) $(abspath $(O_HOST))/runtime-development-work $(abspath $(HOST_RUNTIME_DEVELOPMENT_ROOT)) '$(HOSTCC)' -$(O_META)/host-runtime-development-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(HOST_RUNTIME_DEVELOPMENT_ROOT) $(HOST_RUNTIME_DEVELOPMENT_ROOT).files $@ -$(HOST_RUNTIME_DEVELOPMENT_ROOT)/.complete $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS): $(O_META)/host-runtime-development-present.parameters -.PHONY: host-runtime-development -host-runtime-development: $(HOST_RUNTIME_DEVELOPMENT_ROOT)/.complete $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS) diff --git a/scripts/reliefos/Makefile.boot b/scripts/reliefos/Makefile.boot deleted file mode 100644 index 6b2b8219..00000000 --- a/scripts/reliefos/Makefile.boot +++ /dev/null @@ -1,3 +0,0 @@ -# Boot products are built and published by the standalone ReliefNT adapter. -.PHONY: boot -boot: kernel diff --git a/scripts/reliefos/Makefile.components.audio b/scripts/reliefos/Makefile.components.audio deleted file mode 100644 index 4e8d9dba..00000000 --- a/scripts/reliefos/Makefile.components.audio +++ /dev/null @@ -1,26 +0,0 @@ -# Audio is opt-in for applications; the base runtime has no libasound dependency. -AUDIO_ALSA_ROOT := $(UPSTREAM_ROOT)/alsa-lib/root -AUDIO_OPL_ROOT := $(UPSTREAM_ROOT)/nuked-opl3/root -AUDIO_SDK_PRODUCTS := $(upstream_alsa-lib_products) $(upstream_nuked-opl3_products) - -AUDIO_CONTROL_SO := $(RUNTIME_DIR)/libreliefos-audio.so.1 -AUDIO_FLAGS := $(RUNTIME_FLAGS) -nostdinc -isystem $(if $(RELIEFOS_PASSIVE),deferred,$(shell $(TARGET_CC) -print-resource-dir 2>/dev/null))/include -D_POSIX_C_SOURCE=200809L -I$(AUDIO_ALSA_ROOT)/usr/include -RELIEFOS_CAPTURE_AUDIO_KBUILD := 1 -include $(RELIEFOS_SRC)/userland/audio/Kbuild -RELIEFOS_CAPTURE_AUDIO_KBUILD := -AUDIO_OBJECTS := $(addprefix $(O)/userland/audio/,$(RELIEFOS_AUDIO_OBJECTS)) -obj-y += userland/audio/ -export AUDIO_FLAGS - -userland/audio: $(MUSL_STAMP) $(HEADER_EXPORT_MANIFEST) $(upstream_alsa-lib_products) $(RELIEFOS_CC_ID) $(RELIEFOS_AR_ID) - -quiet_cmd_reliefos_audio_shared = LD $@ - cmd_reliefos_audio_shared = $(TARGET_LD) $(RELIEFOS_LINK_POLICY_FLAGS) -shared --no-undefined --hash-style=both -z max-page-size=0x1000 -soname libreliefos-audio.so.1 -o $@.tmp $(AUDIO_OBJECTS) $(AUDIO_ALSA_ROOT)/usr/lib/libasound.so.2 -L$(MUSL_SYSROOT)/lib -lc $(RUNTIME_BUILTINS); mv $@.tmp $@ -$(AUDIO_CONTROL_SO): $(O)/userland/audio/built-in.a $(AUDIO_ALSA_ROOT)/usr/lib/libasound.so.2 $(MUSL_SYSROOT)/lib/libc.so $(RUNTIME_BUILTINS) $(RELIEFOS_LD_ID) FORCE - $(call if_changed,reliefos_audio_shared) -targets += $(AUDIO_CONTROL_SO) - -AUDIO_SDK_PRODUCTS += $(AUDIO_CONTROL_SO) -USERLAND_EXTRA_soundctl = -I$(AUDIO_ALSA_ROOT)/usr/include -USERLAND_LIBS_soundctl = $(AUDIO_CONTROL_SO) $(AUDIO_ALSA_ROOT)/usr/lib/libasound.so.2 $(RUNTIME_BUILTINS) -USERLAND_DEPS_soundctl = $(upstream_alsa-lib_products) diff --git a/scripts/reliefos/Makefile.components.reliefmath b/scripts/reliefos/Makefile.components.reliefmath deleted file mode 100644 index 931b0ce9..00000000 --- a/scripts/reliefos/Makefile.components.reliefmath +++ /dev/null @@ -1,45 +0,0 @@ -# ReliefMath has a separate C-API graphics development tree and process. -RELIEFMATH_DEV := $(O)/upstream/reliefmath-development -RELIEFMATH_DEV_MEMBERS := $(sort usr/include/cairo/cairo.h usr/include/freetype2/ft2build.h usr/lib/libcairo.so usr/lib/libcairo.so.2 usr/lib/libfreetype.so usr/lib/libfreetype.so.6 $(shell cat $(RELIEFMATH_DEV)/.members 2>/dev/null)) -RELIEFMATH_DEV_PRODUCTS := $(RELIEFMATH_DEV)/.members $(addprefix $(RELIEFMATH_DEV)/,$(RELIEFMATH_DEV_MEMBERS)) -$(RELIEFMATH_DEV)/.complete $(RELIEFMATH_DEV_PRODUCTS) &: $(RELIEFOS_SRC)/tools/build/reliefmath-development.sh $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(UPSTREAM_APK) - $(Q)sh $(RELIEFOS_SRC)/tools/build/reliefmath-development.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(UPSTREAM_APK)) $(abspath $(RELIEFMATH_DEV)) -.PHONY: reliefmath-development -reliefmath-development: $(RELIEFMATH_DEV)/.complete $(RELIEFMATH_DEV_PRODUCTS) - -RELIEFMATH_WORKER_FLAGS := $(USERLAND_CXX_FLAGS) -iquote $(RELIEFOS_SRC)/userland/apps/reliefmath -isystem $(RELIEFMATH_DEV)/usr/include/cairo -isystem $(RELIEFMATH_DEV)/usr/include/freetype2 -RELIEFMATH_WORKER_LIBS := $(RELIEFMATH_DEV)/usr/lib/libcairo.so $(RELIEFMATH_DEV)/usr/lib/libfreetype.so -RELIEFOS_CAPTURE_WORKER_KBUILD := 1 -include $(RELIEFOS_SRC)/userland/apps/reliefmath/worker/Kbuild -RELIEFOS_CAPTURE_WORKER_KBUILD := -RELIEFMATH_WORKER_OBJECTS := $(addprefix $(O)/userland/apps/reliefmath/worker/,$(RELIEFOS_WORKER_OBJECTS)) -RELIEFMATH_WORKER_BUILTIN := $(O)/userland/apps/reliefmath/worker/built-in.a -obj-y += userland/apps/reliefmath/worker/ -export RELIEFMATH_WORKER_FLAGS -userland/apps/reliefmath/worker: $(AUTOCONF_H) $(MUSL_STAMP) $(HEADER_EXPORT_MANIFEST) $(RELIEFMATH_DEV_PRODUCTS) $(RELIEFOS_CXX_ID) $(RELIEFOS_AR_ID) - -quiet_cmd_reliefos_reliefmath_worker = LD $@ - cmd_reliefos_reliefmath_worker = $(TARGET_LD) $(USERLAND_LINK_FLAGS) -o $@.tmp $(MUSL_SYSROOT)/lib/Scrt1.o $(MUSL_SYSROOT)/lib/crti.o $(RELIEFMATH_WORKER_OBJECTS) -L$(MUSL_SYSROOT)/lib -l:libmimalloc.so.3 $(RELIEFMATH_WORKER_LIBS) -lc $(MUSL_SYSROOT)/lib/crtn.o; mv $@.tmp $@ -$(USERLAND_DIR)/reliefmath-render.elf: $(RELIEFMATH_WORKER_BUILTIN) $(RELIEFMATH_WORKER_LIBS) $(USERLAND_CRT) $(MUSL_SYSROOT)/lib/libc.so $(MUSL_SYSROOT)/lib/libmimalloc.so.3 $(RELIEFOS_LD_ID) FORCE - $(call if_changed,reliefos_reliefmath_worker) -targets += $(USERLAND_DIR)/reliefmath-render.elf -.PHONY: app-reliefmath-render -app-reliefmath-render: $(USERLAND_DIR)/reliefmath-render.elf -USERLAND_DEPS_reliefmath += $(USERLAND_DIR)/reliefmath-render.elf - -# This probe is a product-only build target, not a member of userland/all. -RELIEFOS_CAPTURE_RELIEFMATH_PROBE_KBUILD := 1 -include $(RELIEFOS_SRC)/userland/reliefmath-probe/Kbuild -RELIEFOS_CAPTURE_RELIEFMATH_PROBE_KBUILD := -RELIEFMATH_PROBE_BUILTIN := $(O)/userland/reliefmath-probe/built-in.a -RELIEFMATH_PROBE_OBJ := $(O)/userland/reliefmath-probe/reliefmath_backend_probe.o -obj-y += userland/reliefmath-probe/ -userland/reliefmath-probe: $(AUTOCONF_H) $(MUSL_STAMP) $(HEADER_EXPORT_MANIFEST) $(RELIEFMATH_DEV_PRODUCTS) $(RELIEFOS_CXX_ID) $(RELIEFOS_AR_ID) - -quiet_cmd_reliefos_reliefmath_probe = LD $@ - cmd_reliefos_reliefmath_probe = $(TARGET_LD) $(USERLAND_LINK_FLAGS) -o $@.tmp $(MUSL_SYSROOT)/lib/Scrt1.o $(MUSL_SYSROOT)/lib/crti.o $(RELIEFMATH_PROBE_OBJ) $(filter-out %/main.o,$(RELIEFMATH_WORKER_OBJECTS)) -L$(MUSL_SYSROOT)/lib -l:libmimalloc.so.3 $(RELIEFMATH_WORKER_LIBS) -lc $(MUSL_SYSROOT)/lib/crtn.o; mv $@.tmp $@ -$(O)/tests/reliefmath-backend-probe.elf: $(RELIEFMATH_PROBE_BUILTIN) $(RELIEFMATH_WORKER_BUILTIN) $(RELIEFMATH_WORKER_LIBS) $(USERLAND_CRT) $(MUSL_SYSROOT)/lib/libc.so $(MUSL_SYSROOT)/lib/libmimalloc.so.3 $(RELIEFOS_LD_ID) FORCE - $(call if_changed,reliefos_reliefmath_probe) -targets += $(O)/tests/reliefmath-backend-probe.elf -.PHONY: reliefmath-backend-probe -reliefmath-backend-probe: $(O)/tests/reliefmath-backend-probe.elf diff --git a/scripts/reliefos/Makefile.config b/scripts/reliefos/Makefile.config index 8aac1848..05eaab1e 100644 --- a/scripts/reliefos/Makefile.config +++ b/scripts/reliefos/Makefile.config @@ -6,7 +6,6 @@ KCONFIG_CONFIG := $(RELIEFOS_CONFIG_FILE) KCONFIG_CONF := scripts/kconfig/conf KCONFIG_MCONF := scripts/kconfig/mconf AUTOCONF_H := include/generated/autoconf.h -COMPONENT_SELECTION := $(O_GENERATED)/component-selection.json LEX := flex YACC := bison export KCONFIG_CONFIG LEX YACC @@ -41,16 +40,9 @@ $(RELIEFOS_CONFIG_FILE): | $(KCONFIG_CONF) $(Q)$(KCONFIG_CONF) --defconfig=$(KCONFIG_SEED) $(KCONFIG_ROOT) ifeq ($(RELIEFOS_PASSIVE)$(RELIEFOS_INSPECT),) -include/config/auto.conf include/config/auto.conf.cmd include/generated/autoconf.h &: $(RELIEFOS_CONFIG_FILE) $(KCONFIG_ROOT) $(srctree)/Kconfig.components +include/config/auto.conf include/config/auto.conf.cmd include/generated/autoconf.h &: $(RELIEFOS_CONFIG_FILE) $(KCONFIG_ROOT) +$(Q)$(MAKE) $(build)=scripts/kconfig build_config HOSTCC='$(HOSTCC)' \ KBUILD_HOSTCFLAGS='$(RELIEFOS_KCONFIG_CFLAGS)' LEX='$(LEX)' YACC='$(YACC)' $(Q)$(KCONFIG_CONF) --syncconfig $(KCONFIG_ROOT) -include include/config/auto.conf.cmd endif - -.PHONY: migrate-config regen-component-kconfig -migrate-config: - @test -f '$(RELIEFOS_CONFIG_FILE)' - $(Q)sh $(srctree)/tools/build/reliefos-config-migrate.sh --in-place '$(RELIEFOS_CONFIG_FILE)' -regen-component-kconfig: - $(Q)python3 $(srctree)/tools/generate_component_kconfig.py diff --git a/scripts/reliefos/Makefile.environment b/scripts/reliefos/Makefile.environment index b6cd77cb..8a4962cc 100644 --- a/scripts/reliefos/Makefile.environment +++ b/scripts/reliefos/Makefile.environment @@ -11,31 +11,11 @@ TOOLCHAIN ?= $(srctree)/configs/toolchains/llvm-x86_64.mk O_HOST := $(O)/host O_GENERATED := $(O)/generated O_INCLUDE := $(O)/include -O_CONFIG := $(O)/config -O_SYSROOT := $(O)/sysroot -O_STAGE := $(O)/stage -O_PACKAGES := $(O)/packages -O_IMAGES := $(O)/images O_LOGS := $(O)/logs O_META := $(O)/meta -# Third-party build directories are separate from native source-relative -# Kbuild objects under tools/ and userland/. O_THIRD_PARTY := $(O)/third-party -# Staged root filesystem fragment for the upstream authentication libraries -# (Linux-PAM, libxcrypt, ...). Same status as third-party: a layout extension, -# because these packages install into their own DESTDIR rather than a flat -# object tree. -O_AUTH := $(O)/auth -# Shared download cache: deliberately outside O because it is profile -# independent and `distclean` must not throw it away. -RELIEFOS_CACHE ?= $(if $(strip $(LEONOS_CACHE)),$(LEONOS_CACHE),$(RELIEFOS_SRC)/cache/downloads) - -# Written when an output tree is created and re-checked before anything is -# deleted, so `clean` can never operate on a directory it does not own. -RELIEFOS_O_MARKER := $(O)/.reliefos-out - -RELIEFOS_PASSIVE_GOALS := defconfig olddefconfig menuconfig kernel-menuconfig kernel-olddefconfig kernel-allmodconfig migrate-config regen-component-kconfig tools fetch fetch-check reliefnt-fetch ntclks-fetch reliefnt-fetch-check ntclks-fetch-check headers_install +RELIEFOS_PASSIVE_GOALS := defconfig olddefconfig menuconfig kernel-menuconfig kernel-olddefconfig kernel-allmodconfig tools reliefnt-fetch reliefnt-fetch-check headers_install RELIEFOS_INSPECT := $(or $(findstring n,$(firstword -$(MAKEFLAGS))),$(findstring q,$(firstword -$(MAKEFLAGS)))) RELIEFOS_PASSIVE := $(if $(filter-out $(RELIEFOS_PASSIVE_GOALS),$(MAKECMDGOALS)),,1) RELIEFOS_O_MARKER := $(O)/.reliefos-out @@ -59,8 +39,8 @@ export srctree objtree VPATH CONFIG_SHELL AWK # Product integration directories are real order-only dependencies, not parse-time mutations. $(O_HOST) $(RELIEFOS_HOST_BIN) $(O_META) $(O_INCLUDE) $(O_GENERATED) \ -$(O_CONFIG) $(O_SYSROOT) $(O_STAGE) $(O_PACKAGES) $(O_IMAGES) $(O_LOGS) \ -$(O_INCLUDE)/generated $(O_GENERATED)/system $(O_CONFIG)/generated: +$(O_LOGS) \ +$(O_INCLUDE)/generated $(O_GENERATED)/system: $(Q)mkdir -p $@ HOSTPKG_CONFIG ?= pkg-config diff --git a/scripts/reliefos/Makefile.glibc-runtime b/scripts/reliefos/Makefile.glibc-runtime new file mode 100644 index 00000000..8374782c --- /dev/null +++ b/scripts/reliefos/Makefile.glibc-runtime @@ -0,0 +1,203 @@ +# Native Arch/glibc library. In particular, do not add kernel-export/include to +# the search path: standard Linux headers must still come from linux-api-headers. +GLIBC_RUNTIME_ROOT := $(O)/glibc +GLIBC_RUNTIME_INCLUDE := $(GLIBC_RUNTIME_ROOT)/include +GLIBC_RUNTIME_SO := $(GLIBC_RUNTIME_ROOT)/lib/libreliefos.so.2 +GLIBC_RUNTIME_HEADER_MANIFEST := $(GLIBC_RUNTIME_ROOT)/headers.list +GLIBC_RUNTIME_HEADER_TOOL := $(RELIEFOS_SRC)/tools/build/glibc-runtime-headers.sh +GLIBC_RUNTIME_PC := env PKG_CONFIG_PATH=/usr/lib/mbedtls3/pkgconfig pkg-config +GLIBC_RUNTIME_PC_MODULES := libpng mbedtls mbedx509 mbedcrypto libsystemd +GLIBC_RUNTIME_DEPENDENCIES := glibc linux-api-headers libxcrypt libpng mbedtls3 systemd-libs +ifneq ($(filter glibc-apps glibc-installer,$(MAKECMDGOALS)),) +GLIBC_RUNTIME_DEPENDENCIES += fltk libx11 +endif +ifneq ($(filter glibc-apps,$(MAKECMDGOALS)),) +GLIBC_RUNTIME_DEPENDENCIES += pacman glib2 sqlite cairo freetype2 ffmpeg alsa-lib +endif +ifneq ($(filter glibc-apps glibc-installer,$(MAKECMDGOALS)),) +GLIBC_RUNTIME_DEPENDENCIES += ncurses +endif + +ifeq ($(RELIEFOS_INSPECT),) +GLIBC_RUNTIME_PACKAGE_VERSIONS := $(shell pacman -Q $(GLIBC_RUNTIME_DEPENDENCIES)) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-runtime needs the Arch development packages; run make fetch then make build) +endif +GLIBC_RUNTIME_DEP_CFLAGS := $(shell $(GLIBC_RUNTIME_PC) --cflags $(GLIBC_RUNTIME_PC_MODULES)) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-runtime cannot resolve libpng, Mbed TLS 3 and libsystemd headers with pkg-config) +endif +GLIBC_RUNTIME_DEP_LIBS := $(shell $(GLIBC_RUNTIME_PC) --libs $(GLIBC_RUNTIME_PC_MODULES)) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-runtime cannot resolve libpng, Mbed TLS 3 and libsystemd libraries with pkg-config) +endif +ifneq ($(filter glibc-apps glibc-installer,$(MAKECMDGOALS)),) +GLIBC_APPS_FLTK_CFLAGS := $(filter-out -I/usr/include,$(filter -I%,$(shell fltk-config --cxxflags))) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-apps cannot resolve FLTK headers with fltk-config) +endif +endif +ifneq ($(filter glibc-apps,$(MAKECMDGOALS)),) +GLIBC_GIO_CFLAGS := $(shell pkg-config --cflags gio-unix-2.0) +GLIBC_GIO_LIBS := $(shell pkg-config --libs gio-unix-2.0) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-apps cannot resolve GIO development files) +endif +GLIBC_FFMPEG_MODULES := libavformat libavcodec libavutil libswresample libswscale +GLIBC_FFMPEG_CFLAGS := $(shell pkg-config --cflags $(GLIBC_FFMPEG_MODULES)) +GLIBC_FFMPEG_LIBS := $(shell pkg-config --libs $(GLIBC_FFMPEG_MODULES)) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-apps cannot resolve FFmpeg development files) +endif +GLIBC_MATH_CFLAGS := $(shell pkg-config --cflags cairo freetype2) +GLIBC_MATH_LIBS := $(shell pkg-config --libs cairo freetype2) +ifneq ($(.SHELLSTATUS),0) +$(error glibc-apps cannot resolve Cairo and FreeType development files) +endif +endif +endif + +RELIEFOS_PARAMETERS_glibc-runtime := $(GLIBC_RUNTIME_PACKAGE_VERSIONS) +$(eval $(call KBUILD_PARAMETERS,glibc-runtime)) + +RUNTIME_HEADERS := $(GLIBC_RUNTIME_HEADER_MANIFEST) $(O_META)/glibc-runtime.parameters +RUNTIME_FLAGS := --target=x86_64-linux-gnu $(RELIEFOS_OPTIMIZATION_FLAGS) -std=c11 \ + -fPIC -fstack-protector-strong -Wall -Wextra -D_GNU_SOURCE -mno-avx -mno-avx2 \ + -I$(GLIBC_RUNTIME_INCLUDE) -I$(O_INCLUDE) $(GLIBC_RUNTIME_DEP_CFLAGS) \ + -ffile-prefix-map=$(RELIEFOS_SRC)=. -ffile-prefix-map=$(RELIEFOS_OUTPUT)=out +RUNTIME_ASFLAGS := --target=x86_64-linux-gnu -fPIC + +$(GLIBC_RUNTIME_HEADER_MANIFEST): FORCE $(HEADER_EXPORT_MANIFEST) $(RELIEFOS_EMIT) $(GLIBC_RUNTIME_HEADER_TOOL) + $(Q)bash $(GLIBC_RUNTIME_HEADER_TOOL) $(RELIEFOS_SRC) $(HEADER_EXPORT_INCLUDE) \ + $(GLIBC_RUNTIME_ROOT) $(RELIEFOS_EMIT) + +quiet_cmd_reliefos_glibc_shared = LD $@ + cmd_reliefos_glibc_shared = mkdir -p $(dir $@); \ + $(TARGET_CC) --target=x86_64-linux-gnu -fuse-ld=lld -shared \ + -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack,-soname,$(notdir $@) \ + -o $@.tmp $(RUNTIME_OBJECTS) -lcrypt $(GLIBC_RUNTIME_DEP_LIBS); \ + mv $@.tmp $@ +$(GLIBC_RUNTIME_SO): $(O)/userland/runtime/src/built-in.a $(O)/userland/auth/built-in.a \ + $(O_META)/glibc-runtime.parameters $(RELIEFOS_CC_ID) $(RELIEFOS_LD_ID) FORCE + $(call if_changed,reliefos_glibc_shared) +targets += $(GLIBC_RUNTIME_SO) + +.PHONY: glibc-runtime +glibc-runtime: $(GLIBC_RUNTIME_SO) + +ifeq ($(MAKECMDGOALS),glibc-boot) +RELIEFOS_CAPTURE_APP_KBUILD := 1 +include $(RELIEFOS_SRC)/userland/apps/kernelbundle/Kbuild +RELIEFOS_CAPTURE_APP_KBUILD := +GLIBC_BOOT_OBJECTS := $(addprefix $(O)/userland/apps/kernelbundle/,$(RELIEFOS_APP_OBJECTS)) +GLIBC_BOOT_BINARY := $(GLIBC_RUNTIME_ROOT)/bin/kernel-bundle +USERLAND_FLAGS := $(RUNTIME_FLAGS) -fPIE +export USERLAND_FLAGS + +obj-y += userland/apps/kernelbundle/ +userland/apps/kernelbundle: $(AUTOCONF_H) $(RUNTIME_HEADERS) $(HEADER_EXPORT_MANIFEST) $(RELIEFOS_CC_ID) $(RELIEFOS_AR_ID) + +quiet_cmd_reliefos_glibc_boot = LD $@ + cmd_reliefos_glibc_boot = mkdir -p $(dir $@); \ + $(TARGET_CC) --target=x86_64-linux-gnu -fuse-ld=lld -pie \ + -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack \ + -o $@.tmp $(GLIBC_BOOT_OBJECTS) -L$(GLIBC_RUNTIME_ROOT)/lib -l:libreliefos.so.2; \ + mv $@.tmp $@ +$(GLIBC_BOOT_BINARY): $(O)/userland/apps/kernelbundle/built-in.a $(GLIBC_RUNTIME_SO) \ + $(RELIEFOS_CC_ID) $(RELIEFOS_LD_ID) FORCE + $(call if_changed,reliefos_glibc_boot) +targets += $(GLIBC_BOOT_BINARY) + +.PHONY: glibc-boot +glibc-boot: $(GLIBC_BOOT_BINARY) +endif + +ifneq ($(filter glibc-apps glibc-installer,$(MAKECMDGOALS)),) +GLIBC_APPLICATIONS := $(shell awk '$$1 !~ /^\#/ && $$3 != "installer" {print $$1}' "$(RELIEFOS_SRC)/tools/build/arch-applications.list") +GLIBC_APPS := +ifneq ($(filter glibc-apps,$(MAKECMDGOALS)),) +GLIBC_APPS += $(GLIBC_APPLICATIONS) fileman-volume-helper +ifeq ($(RELIEFOS_INSPECT),) +ifeq ($(wildcard $(RELIEFOS_OPL3_DIR)/opl3.c),) +$(error glibc-apps needs the pinned Doom audio source; use make fetch followed by make build) +endif +endif +endif +ifneq ($(filter glibc-installer,$(MAKECMDGOALS)),) +GLIBC_APPS += installer +endif +USERLAND_FLAGS := $(RUNTIME_FLAGS) -fPIE +USERLAND_CXX_FLAGS := $(filter-out -std=%,$(USERLAND_FLAGS)) -std=c++17 \ + -fno-exceptions -fno-rtti -I$(RELIEFOS_SRC)/userland/apps $(GLIBC_APPS_FLTK_CFLAGS) +USERLAND_CXX_EXTRA_fileman := $(GLIBC_GIO_CFLAGS) +USERLAND_CXX_EXTRA_taskmgr := $(GLIBC_GIO_CFLAGS) +USERLAND_EXTRA_doom := -I$(RELIEFOS_SRC)/third_party/doomgeneric/doomgeneric -I$(RELIEFOS_OPL3_DIR) +USERLAND_EXTRA_reliefplayer := $(GLIBC_FFMPEG_CFLAGS) -I$(RELIEFOS_SRC)/third_party/minimp3 +RELIEFMATH_WORKER_FLAGS := $(USERLAND_CXX_FLAGS) $(GLIBC_MATH_CFLAGS) +export USERLAND_FLAGS USERLAND_CXX_FLAGS USERLAND_CXX_EXTRA_fileman USERLAND_CXX_EXTRA_taskmgr +export USERLAND_EXTRA_doom RELIEFOS_OPL3_DIR USERLAND_EXTRA_reliefplayer RELIEFMATH_WORKER_FLAGS + +GLIBC_CONSOLE_APPS := driverinfo fileman-volume-helper matrix memtest pleditor smptest snake soundctl wavplay +GLIBC_STANDALONE_APPS := $(shell awk '$$4 == "glibc" {print $$1}' "$(RELIEFOS_SRC)/tools/build/arch-applications.list") +GLIBC_APP_LIBS_fileman := $(GLIBC_GIO_LIBS) +GLIBC_APP_LIBS_taskmgr := $(GLIBC_GIO_LIBS) +GLIBC_APP_LIBS_soundctl := -lasound -lm +GLIBC_APP_LIBS_installer := -lncursesw +GLIBC_APP_LIBS_reliefpackages := -lalpm +GLIBC_APP_LIBS_reliefmail := -lsqlite3 $(filter -L% -lmbed%,$(GLIBC_RUNTIME_DEP_LIBS)) +GLIBC_APP_LIBS_reliefplayer := $(GLIBC_FFMPEG_LIBS) +GLIBC_PNG_APPS := paint reliefcapture reliefclipboard reliefdiagram reliefmail reliefmath reliefmathpp reliefppt + +define RELIEFOS_GLIBC_APP +RELIEFOS_CAPTURE_APP_KBUILD := 1 +include $(RELIEFOS_SRC)/userland/apps/$(1)/Kbuild +GLIBC_APP_OBJECTS_$(1) := $$(addprefix $$(O)/userland/apps/$(1)/,$$(RELIEFOS_APP_OBJECTS)) +obj-y += userland/apps/$(1)/ +userland/apps/$(1): $$(AUTOCONF_H) $$(RUNTIME_HEADERS) $$(HEADER_EXPORT_MANIFEST) \ + $$(BUILD_INFO_HEADER) $$(RELIEFOS_CC_ID) $$(RELIEFOS_CXX_ID) $$(RELIEFOS_AR_ID) +quiet_cmd_reliefos_glibc_app_$(1) = LD $$@ + cmd_reliefos_glibc_app_$(1) = mkdir -p $$(dir $$@); \ + $$(TARGET_CXX) --target=x86_64-linux-gnu -fuse-ld=lld -pie \ + -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack \ + -o $$@.tmp $$(GLIBC_APP_OBJECTS_$(1)) -L$$(GLIBC_RUNTIME_ROOT)/lib \ + $$(if $$(filter $(1),$$(GLIBC_STANDALONE_APPS)),,-l:libreliefos.so.2) \ + $$(if $$(filter $(1),$$(GLIBC_CONSOLE_APPS)),,-lfltk -lX11) \ + $$(GLIBC_APP_LIBS_$(1)) $$(if $$(filter $(1),$$(GLIBC_PNG_APPS)),-lpng); \ + mv $$@.tmp $$@ +$$(GLIBC_RUNTIME_ROOT)/bin/$(1): $$(O)/userland/apps/$(1)/built-in.a $$(GLIBC_RUNTIME_SO) \ + $$(RELIEFOS_CXX_ID) $$(RELIEFOS_LD_ID) FORCE + $$(call if_changed,reliefos_glibc_app_$(1)) +targets += $$(GLIBC_RUNTIME_ROOT)/bin/$(1) +endef + +$(foreach app,$(GLIBC_APPS),$(eval $(call RELIEFOS_GLIBC_APP,$(app)))) +RELIEFOS_CAPTURE_APP_KBUILD := + +ifneq ($(filter glibc-apps,$(MAKECMDGOALS)),) +GLIBC_DISKMGR_HELPER_OBJECTS := $(addprefix $(O)/userland/apps/diskmgr/,$(RELIEFOS_DISKMGR_HELPER_OBJECTS)) +RELIEFOS_CAPTURE_WORKER_KBUILD := 1 +include $(RELIEFOS_SRC)/userland/apps/reliefmath/worker/Kbuild +RELIEFOS_CAPTURE_WORKER_KBUILD := +GLIBC_MATH_OBJECTS := $(addprefix $(O)/userland/apps/reliefmath/worker/,$(RELIEFOS_WORKER_OBJECTS)) + +quiet_cmd_reliefos_app_helper = LD $@ + cmd_reliefos_app_helper = mkdir -p $(dir $@); \ + $(TARGET_CXX) --target=x86_64-linux-gnu -fuse-ld=lld -pie \ + -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack \ + -o $@.tmp $(helper_objects) $(helper_libs); mv $@.tmp $@ +$(GLIBC_RUNTIME_ROOT)/bin/diskmgr-helper: helper_objects := $(GLIBC_DISKMGR_HELPER_OBJECTS) +$(GLIBC_RUNTIME_ROOT)/bin/diskmgr-helper: helper_libs := -L$(GLIBC_RUNTIME_ROOT)/lib -l:libreliefos.so.2 +$(GLIBC_RUNTIME_ROOT)/bin/diskmgr-helper: $(O)/userland/apps/diskmgr/built-in.a $(GLIBC_RUNTIME_SO) +$(GLIBC_RUNTIME_ROOT)/bin/reliefmath-render: helper_objects := $(GLIBC_MATH_OBJECTS) +$(GLIBC_RUNTIME_ROOT)/bin/reliefmath-render: helper_libs := $(GLIBC_MATH_LIBS) +$(GLIBC_RUNTIME_ROOT)/bin/reliefmath-render: $(O)/userland/apps/reliefmath/built-in.a +GLIBC_APP_HELPERS := $(addprefix $(GLIBC_RUNTIME_ROOT)/bin/,diskmgr-helper reliefmath-render) +$(GLIBC_APP_HELPERS): $(RELIEFOS_CXX_ID) $(RELIEFOS_LD_ID) FORCE + $(call if_changed,reliefos_app_helper) +targets += $(GLIBC_APP_HELPERS) +endif + +.PHONY: glibc-apps glibc-installer +glibc-apps: $(addprefix $(GLIBC_RUNTIME_ROOT)/bin/,$(GLIBC_APPS)) $(GLIBC_APP_HELPERS) +glibc-installer: $(GLIBC_RUNTIME_ROOT)/bin/installer +endif diff --git a/scripts/reliefos/Makefile.grub b/scripts/reliefos/Makefile.grub index df7cf928..b486b069 100644 --- a/scripts/reliefos/Makefile.grub +++ b/scripts/reliefos/Makefile.grub @@ -3,33 +3,23 @@ GRUB_SCRIPT := $(RELIEFOS_SRC)/tools/build/grub.sh GRUB_PATCHES := $(wildcard $(RELIEFOS_SRC)/patches/grub/*.patch) GRUB_RULES := $(RELIEFOS_SRC)/scripts/reliefos/Makefile.grub GRUB_HOST_ROOT := $(abspath $(O)/grub-host) -GRUB_GUEST_ROOT := $(abspath $(UPSTREAM_ROOT)/grub/root) -GRUB_BIOS_DIR ?= $(GRUB_HOST_ROOT)/lib/grub/i386-pc -GRUB_MKIMAGE := $(GRUB_HOST_ROOT)/bin/grub-mkimage -GRUB_MKSTANDALONE := $(GRUB_HOST_ROOT)/bin/grub-mkstandalone -GRUB_BIOS_SETUP := $(GRUB_HOST_ROOT)/bin/grub-bios-setup +GRUB_LOCK := $(RELIEFOS_SRC)/configs/grub.lock.json +GRUB_CACHE ?= $(abspath $(O)/downloads/grub) +GRUB_LOCK_DIGEST := $(shell sha256sum '$(GRUB_LOCK)' | cut -d' ' -f1) +RELIEFOS_UPSTREAM_MAKE_ENV := $(RELIEFOS_SRC)/tools/build/upstream-make-environment.sh GRUB_HOST_CC ?= $(HOSTCC) GRUB_PC_CC ?= gcc GRUB_HOST_TOOLS := $(addprefix $(GRUB_HOST_ROOT)/bin/,grub-mkimage grub-mkstandalone grub-bios-setup grub-probe) GRUB_HOST_RECORDED := $(addprefix $(GRUB_HOST_ROOT)/,$(shell cat '$(GRUB_HOST_ROOT)/.products' 2>/dev/null)) -GRUB_GUEST_RECORDED := $(addprefix $(GRUB_GUEST_ROOT)/,$(shell cat '$(GRUB_GUEST_ROOT)/.products' 2>/dev/null)) GRUB_HOST_PRODUCTS := $(sort $(GRUB_HOST_ROOT)/.complete $(GRUB_HOST_ROOT)/.products $(GRUB_HOST_TOOLS) $(GRUB_HOST_RECORDED)) grub_compiler_hash = $(shell tool_path=$$(command -v '$(firstword $(1))'); if test -n "$$tool_path"; then sha256sum "$$tool_path" | cut -d' ' -f1; fi) -RELIEFOS_PARAMETERS_grub-host := lock=$(RELIEFOS_LOCK_DIGEST)|epoch=$(SOURCE_DATE_EPOCH)|host-cc=$(GRUB_HOST_CC)|host-id=$(shell $(GRUB_HOST_CC) --version 2>/dev/null | head -n1)|host-sha=$(call grub_compiler_hash,$(GRUB_HOST_CC))|pc-cc=$(GRUB_PC_CC)|pc-id=$(shell $(GRUB_PC_CC) --version 2>/dev/null | head -n1)|pc-sha=$(call grub_compiler_hash,$(GRUB_PC_CC)) -RELIEFOS_PARAMETERS_grub-guest := $(RELIEFOS_PARAMETERS_grub-host)|cc=$(TARGET_CC)|identity=$(shell $(TARGET_CC) --version 2>/dev/null | head -n1)|triple=$(TRIPLE_USER) +RELIEFOS_PARAMETERS_grub-host := lock=$(GRUB_LOCK_DIGEST)|epoch=$(SOURCE_DATE_EPOCH)|host-cc=$(GRUB_HOST_CC)|host-id=$(shell $(GRUB_HOST_CC) --version 2>/dev/null | head -n1)|host-sha=$(call grub_compiler_hash,$(GRUB_HOST_CC))|pc-cc=$(GRUB_PC_CC)|pc-id=$(shell $(GRUB_PC_CC) --version 2>/dev/null | head -n1)|pc-sha=$(call grub_compiler_hash,$(GRUB_PC_CC)) $(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,grub-host))) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,grub-guest))) -$(GRUB_HOST_PRODUCTS) &: $(GRUB_SCRIPT) $(GRUB_RULES) $(GRUB_PATCHES) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(O_META)/grub-host.parameters +$(GRUB_HOST_PRODUCTS) &: $(GRUB_SCRIPT) $(GRUB_RULES) $(GRUB_PATCHES) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(GRUB_LOCK) $(RELIEFOS_DEPS_TOOL) $(O_META)/grub-host.parameters $(Q)mkdir -p $(O_LOGS) - +$(Q)GRUB_HOST_CC='$(GRUB_HOST_CC)' GRUB_PC_CC='$(GRUB_PC_CC)' sh $(GRUB_SCRIPT) host '$(abspath $(RELIEFOS_DEPS_TOOL))' '$(RELIEFOS_LOCK)' '$(RELIEFOS_CACHE)' '$(abspath $(O_THIRD_PARTY))/grub-host' '$(GRUB_HOST_ROOT)' - '$(TARGET_CC)' '$(TRIPLE_USER)' >$(O_LOGS)/grub-host.log 2>&1 || { tail -n 35 $(O_LOGS)/grub-host.log >&2; exit 1; } -GRUB_GUEST_PRODUCTS := $(addprefix $(GRUB_GUEST_ROOT)/usr/,sbin/grub-install sbin/grub-bios-setup sbin/grub-probe bin/grub-mkimage lib/grub/i386-pc/boot.img) -GRUB_GUEST_PRODUCTS := $(sort $(GRUB_GUEST_PRODUCTS) $(GRUB_GUEST_ROOT)/.products $(GRUB_GUEST_RECORDED)) -$(GRUB_GUEST_ROOT)/.complete $(GRUB_GUEST_PRODUCTS) &: $(GRUB_SCRIPT) $(GRUB_RULES) $(GRUB_PATCHES) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(O_META)/grub-guest.parameters $(MUSL_STAMP) $(RELIEFOS_MUSL_ARTIFACTS) $(AUTH_STAMP) $(RELIEFOS_AUTH_ARTIFACTS) - $(Q)mkdir -p $(O_LOGS) - +$(Q)GRUB_HOST_CC='$(GRUB_HOST_CC)' GRUB_PC_CC='$(GRUB_PC_CC)' GRUB_UAPI='$(abspath $(AUTH_ROOT))/usr/include' sh $(GRUB_SCRIPT) guest '$(abspath $(RELIEFOS_DEPS_TOOL))' '$(RELIEFOS_LOCK)' '$(RELIEFOS_CACHE)' '$(abspath $(O_THIRD_PARTY))/grub-guest' '$(GRUB_GUEST_ROOT)' '$(abspath $(MUSL_SYSROOT))' '$(TARGET_CC)' '$(TRIPLE_USER)' >$(O_LOGS)/grub-guest.log 2>&1 || { tail -n 35 $(O_LOGS)/grub-guest.log >&2; exit 1; } -.PHONY: grub-host upstream-grub -grub-host: $(GRUB_HOST_ROOT)/.complete $(GRUB_HOST_TOOLS) -upstream-grub: $(GRUB_GUEST_ROOT)/.complete $(GRUB_GUEST_PRODUCTS) + +$(Q)GRUB_HOST_CC='$(GRUB_HOST_CC)' GRUB_PC_CC='$(GRUB_PC_CC)' sh $(GRUB_SCRIPT) host '$(abspath $(RELIEFOS_DEPS_TOOL))' '$(GRUB_LOCK)' '$(abspath $(GRUB_CACHE))' '$(abspath $(O_THIRD_PARTY))/grub-host' '$(GRUB_HOST_ROOT)' >$(O_LOGS)/grub-host.log 2>&1 || { tail -n 35 $(O_LOGS)/grub-host.log >&2; exit 1; } +.PHONY: grub-host +grub-host: $(GRUB_HOST_PRODUCTS) # Build the EFI kernel/modules from the same locked upstream release. The old # prebuilt EFI kernel does not export cmdpath, which is required to retain the @@ -40,8 +30,8 @@ GRUB_EFI_RECORDED := $(addprefix $(GRUB_EFI_ROOT)/,$(shell cat '$(GRUB_EFI_ROOT) GRUB_EFI_PRODUCTS := $(sort $(GRUB_EFI_STAMP) $(GRUB_EFI_ROOT)/.products $(GRUB_EFI_ROOT)/lib/grub/x86_64-efi/kernel.img $(GRUB_EFI_RECORDED)) RELIEFOS_PARAMETERS_grub-efi := $(RELIEFOS_PARAMETERS_grub-host) $(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,grub-efi))) -$(GRUB_EFI_PRODUCTS) &: $(GRUB_SCRIPT) $(GRUB_RULES) $(GRUB_PATCHES) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(O_META)/grub-efi.parameters +$(GRUB_EFI_PRODUCTS) &: $(GRUB_SCRIPT) $(GRUB_RULES) $(GRUB_PATCHES) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(GRUB_LOCK) $(RELIEFOS_DEPS_TOOL) $(O_META)/grub-efi.parameters $(Q)mkdir -p $(O_LOGS) - +$(Q)GRUB_HOST_CC='$(GRUB_HOST_CC)' GRUB_PC_CC='$(GRUB_PC_CC)' sh $(GRUB_SCRIPT) efi '$(abspath $(RELIEFOS_DEPS_TOOL))' '$(RELIEFOS_LOCK)' '$(RELIEFOS_CACHE)' '$(abspath $(O_THIRD_PARTY))/grub-efi' '$(GRUB_EFI_ROOT)' - '$(TARGET_CC)' '$(TRIPLE_USER)' >$(O_LOGS)/grub-efi.log 2>&1 || { tail -n 35 $(O_LOGS)/grub-efi.log >&2; exit 1; } + +$(Q)GRUB_HOST_CC='$(GRUB_HOST_CC)' GRUB_PC_CC='$(GRUB_PC_CC)' sh $(GRUB_SCRIPT) efi '$(abspath $(RELIEFOS_DEPS_TOOL))' '$(GRUB_LOCK)' '$(abspath $(GRUB_CACHE))' '$(abspath $(O_THIRD_PARTY))/grub-efi' '$(GRUB_EFI_ROOT)' >$(O_LOGS)/grub-efi.log 2>&1 || { tail -n 35 $(O_LOGS)/grub-efi.log >&2; exit 1; } .PHONY: grub-efi -grub-efi: $(GRUB_EFI_STAMP) +grub-efi: $(GRUB_EFI_PRODUCTS) diff --git a/scripts/reliefos/Makefile.host b/scripts/reliefos/Makefile.host index 83d10f04..e496dbf9 100644 --- a/scripts/reliefos/Makefile.host +++ b/scripts/reliefos/Makefile.host @@ -1,14 +1,10 @@ -# Public tool names; native hostprogs are declared in tools/host/Kbuild. +# Native host tools are declared in tools/host/Kbuild. RELIEFOS_HOST_BIN := $(O_HOST)/bin -RELIEFOS_EMIT ?= $(if $(strip $(LEONOS_EMIT)),$(LEONOS_EMIT),$(RELIEFOS_HOST_BIN)/reliefos-emit) -RELIEFOS_VERSION_TOOL ?= $(if $(strip $(LEONOS_VERSION_TOOL)),$(LEONOS_VERSION_TOOL),$(RELIEFOS_HOST_BIN)/reliefos-version) -RELIEFOS_DEPS_TOOL ?= $(if $(strip $(LEONOS_DEPS_TOOL)),$(LEONOS_DEPS_TOOL),$(RELIEFOS_HOST_BIN)/reliefos-deps) -RELIEFOS_GBK_TOOL ?= $(if $(strip $(LEONOS_GBK_TOOL)),$(LEONOS_GBK_TOOL),$(RELIEFOS_HOST_BIN)/reliefos-gbk) -RELIEFOS_SDK_DRIVER ?= $(if $(strip $(LEONOS_SDK_DRIVER)),$(LEONOS_SDK_DRIVER),$(RELIEFOS_HOST_BIN)/reliefos-musl-cc) -RELIEFOS_APK_OWN ?= $(if $(strip $(LEONOS_APK_OWN)),$(LEONOS_APK_OWN),$(RELIEFOS_HOST_BIN)/reliefos-apk-own) -RELIEFOS_NLS_EXTRACT ?= $(if $(strip $(LEONOS_NLS_EXTRACT)),$(LEONOS_NLS_EXTRACT),$(RELIEFOS_HOST_BIN)/reliefos-nls-extract) -RELIEFOS_HOST_COMMON_OBJS := ./tools/host/common/buffer.o ./tools/host/common/io.o ./tools/host/common/process.o -RELIEFOS_JSON_OBJ := ./tools/host/manifest/json.o +RELIEFOS_EMIT ?= $(RELIEFOS_HOST_BIN)/reliefos-emit +RELIEFOS_VERSION_TOOL ?= $(RELIEFOS_HOST_BIN)/reliefos-version +RELIEFOS_DEPS_TOOL ?= $(RELIEFOS_HOST_BIN)/reliefos-deps +RELIEFOS_GBK_TOOL ?= $(RELIEFOS_HOST_BIN)/reliefos-gbk +RELIEFOS_NLS_EXTRACT ?= $(RELIEFOS_HOST_BIN)/reliefos-nls-extract RELIEFOS_KERNEL_TOOLS := $(RELIEFOS_HOST_BIN)/reliefos-kernel-tools -RELIEFOS_HOST_TOOLS := $(RELIEFOS_HOST_BIN)/reliefos-emit $(RELIEFOS_HOST_BIN)/reliefos-version $(RELIEFOS_HOST_BIN)/reliefos-deps $(RELIEFOS_HOST_BIN)/reliefos-gbk $(RELIEFOS_HOST_BIN)/reliefos-musl-cc $(RELIEFOS_HOST_BIN)/reliefos-apk-own $(RELIEFOS_HOST_BIN)/reliefos-nls-extract $(RELIEFOS_HOST_BIN)/reliefos-components $(RELIEFOS_HOST_BIN)/reliefos-grub-font $(RELIEFOS_HOST_BIN)/reliefos-ext2-time $(RELIEFOS_HOST_BIN)/reliefos-dedup $(RELIEFOS_HOST_BIN)/reliefos-stage $(RELIEFOS_HOST_BIN)/reliefos-layout $(RELIEFOS_HOST_BIN)/reliefos-oschinpt-index -RELIEFOS_HOST_TOOLS += $(RELIEFOS_KERNEL_TOOLS) +RELIEFOS_HOST_TOOLS := $(RELIEFOS_EMIT) $(RELIEFOS_VERSION_TOOL) $(RELIEFOS_DEPS_TOOL) \ + $(RELIEFOS_GBK_TOOL) $(RELIEFOS_NLS_EXTRACT) $(RELIEFOS_KERNEL_TOOLS) diff --git a/scripts/reliefos/Makefile.images b/scripts/reliefos/Makefile.images deleted file mode 100644 index 13c1d232..00000000 --- a/scripts/reliefos/Makefile.images +++ /dev/null @@ -1,131 +0,0 @@ -# Host tools own the disk formats; Make owns each image dependency. -# Both firmware platforms use the locked GRUB release. An explicit -# GRUB_EFI_DIR may select another complete compatible platform input tree. -GRUB_EFI_DIR ?= $(GRUB_EFI_ROOT)/lib/grub/x86_64-efi -GRUB_EFI_INPUTS := $(wildcard $(GRUB_EFI_DIR)/*) -# Keep this set in sync with the direct modules passed by boot-stage.sh. A -# wildcard drops absent files, so list these paths explicitly to make a missing -# required prebuilt module fail instead of falling through to Kbuild's generic -# $(obj)/%.mod rule. -GRUB_EFI_REQUIRED_MODULES := part_gpt part_msdos ext2 chain ntfs linux gzio reboot search_fs_uuid search_label fat iso9660 multiboot2 normal cmp search search_fs_file regexp configfile echo serial terminal video video_bochs video_cirrus efi_gop all_video font gfxterm gfxmenu hashsum gcry_sha256 crypto loadenv test -GRUB_EFI_REQUIRED_INPUTS := $(addprefix $(GRUB_EFI_DIR)/,$(addsuffix .mod,$(GRUB_EFI_REQUIRED_MODULES))) -GRUB_EFI_PROTECTED_INPUTS := $(sort $(GRUB_EFI_INPUTS) $(GRUB_EFI_REQUIRED_INPUTS)) -# These are prebuilt image inputs, not Kbuild outputs. Explicit file rules with -# a validation recipe shadow Linux's generic .mod-list rule for both the -# default directory and an explicitly selected GRUB_EFI_DIR. -# Platform metadata indexes such as fdt.lst may legitimately be empty. Keep -# their presence check, and require module/image payloads and moddep.lst to -# remain nonempty. -GRUB_EFI_EXTERNAL_INPUTS := $(filter-out $(GRUB_EFI_PRODUCTS),$(GRUB_EFI_PROTECTED_INPUTS)) -$(GRUB_EFI_EXTERNAL_INPUTS): $(GRUB_EFI_STAMP) - $(Q){ test -f "$@" && case "$@" in */moddep.lst) test -s "$@";; *.lst) :;; *) test -s "$@";; esac; } || { printf 'missing required GRUB EFI module input: %s\n' "$@" >&2; exit 1; } -GRUB_BIOS_DIR ?= $(abspath $(O)/grub-host)/lib/grub/i386-pc -GRUB_BIOS_INPUTS := $(wildcard $(GRUB_BIOS_DIR)/*) -GRUB_BIOS_REQUIRED_MODULES := $(shell cat $(RELIEFOS_SRC)/boot/grub/bios-modules.list) -GRUB_BIOS_REQUIRED_INPUTS := $(addprefix $(GRUB_BIOS_DIR)/,$(addsuffix .mod,$(GRUB_BIOS_REQUIRED_MODULES)) boot.img diskboot.img cdboot.img kernel.img moddep.lst) -GRUB_BIOS_EXTERNAL_INPUTS := $(filter-out $(GRUB_HOST_PRODUCTS),$(sort $(GRUB_BIOS_INPUTS) $(GRUB_BIOS_REQUIRED_INPUTS))) -$(GRUB_BIOS_EXTERNAL_INPUTS): $(GRUB_HOST_TOOLS) - $(Q){ test -f "$@" && case "$@" in */moddep.lst) test -s "$@";; *.lst) :;; *) test -s "$@";; esac; } || { printf 'missing required GRUB BIOS input: %s\n' "$@" >&2; exit 1; } -grub-host: $(GRUB_HOST_PRODUCTS) $(GRUB_BIOS_REQUIRED_INPUTS) -grub-efi: $(GRUB_EFI_PRODUCTS) $(GRUB_EFI_REQUIRED_INPUTS) -RELIEFOS_EXT2_TIME := $(RELIEFOS_HOST_BIN)/reliefos-ext2-time -RELIEFOS_EXT4_TIME := $(RELIEFOS_EXT2_TIME) -ESP_STAGE := $(O_STAGE)/esp -ESP_STAMP := $(O_STAGE)/esp.complete -IMAGE_DISPLAY := $(O_GENERATED)/config/display.conf -IMAGE_INSTANCE_ID ?= $(or $(subst ",,$(CONFIG_DISK_INSTANCE_ID)),reliefos) -RELIEFOS_IMAGE_IDENTITY := $(RELIEFOS_SRC)/tools/build/image-identity.sh -RELIEFOS_IMAGE_INSTANCE_QUOTED = '$(subst ','"'"',$(IMAGE_INSTANCE_ID))' -LIVE_ROOT_UUID := $(shell RELIEFOS_IMAGE_INSTANCE=live sh $(RELIEFOS_IMAGE_IDENTITY) root) -DISK_ROOT_UUID := $(shell RELIEFOS_IMAGE_INSTANCE=$(RELIEFOS_IMAGE_INSTANCE_QUOTED) sh $(RELIEFOS_IMAGE_IDENTITY) root) -$(IMAGE_DISPLAY): $(RELIEFOS_CONFIG_FILE) $(RELIEFOS_EMIT) - $(Q)mkdir -p $(@D) - $(Q)awk 'BEGIN{theme="metro"} /^CONFIG_VMDK_DEFAULT_THEME_WIN95=y$$/{theme="win95"} END{print "theme="theme}' $< | $(RELIEFOS_EMIT) --input - --output $@ -RELIEFOS_EXT4_FEATURES := none,filetype,extents,dir_index,metadata_csum,64bit,flex_bg,has_journal,large_file,huge_file,extra_isize -RELIEFOS_PARAMETERS_images := instance=$(IMAGE_INSTANCE_ID)|epoch=$(SOURCE_DATE_EPOCH)|boot=gpt-bios-uefi|root-fs=ext4|installer-payload=squashfs-gzip-v4|ext4-features=$(RELIEFOS_EXT4_FEATURES)|grub=$(GRUB_EFI_DIR)|bios=$(GRUB_BIOS_DIR)|grub-tool=$(GRUB_MKSTANDALONE)|grub-mkimage=$(GRUB_MKIMAGE)|grub-bios-setup=$(GRUB_BIOS_SETUP)|mke2fs=$(shell mke2fs -V 2>&1 | head -n1)|mtools=$(shell mcopy -V 2>&1 | head -n1)|mksquashfs=$(shell mksquashfs -version 2>&1 | head -n1)|disk-size=$(CONFIG_IMAGE_SIZE_MIB)|installer-size=$(CONFIG_INSTALLER_ROOT_SIZE_MIB)|installer-ram-root=1|installer-inode-reserve=5120|qemu-img=$(shell qemu-img --version 2>/dev/null | head -n1)|xorriso=$(shell xorriso -version 2>/dev/null | head -n1)|sfdisk=$(shell sfdisk --version 2>/dev/null) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,images))) -$(ESP_STAMP): $(RELIEFOS_INITRAMFS) $(RELIEFOS_INITRAMFS_MANIFEST) $(RELIEFOS_KERNEL_TOOLS) -$(ESP_STAMP): $(RELIEFOS_SRC)/boot/grub/kernel-slots.cfg -$(ESP_STAMP): $(O_GENERATED)/system/kernel.sys $(GRUB_FONT) $(IMAGE_DISPLAY) $(RELIEFOS_SRC)/tools/build/boot-stage.sh $(RELIEFOS_SRC)/boot/grub/bios-modules.list $(RELIEFOS_SRC)/boot/grub/embedded.cfg $(RELIEFOS_SRC)/boot/grub/grub.cfg $(RELIEFOS_SRC)/boot/grub/kernel-slots.cfg $(RELIEFOS_SRC)/boot/grub/other-systems.cfg $(RELIEFOS_SRC)/boot/grub/theme/theme.txt $(GRUB_EFI_INPUTS) $(GRUB_EFI_REQUIRED_INPUTS) $(GRUB_BIOS_INPUTS) $(GRUB_BIOS_REQUIRED_INPUTS) $(GRUB_HOST_TOOLS) $(GRUB_HOST_PRODUCTS) $(GRUB_EFI_PRODUCTS) $(O_META)/images.parameters - $(Q)GRUB_MKSTANDALONE='$(GRUB_MKSTANDALONE)' RELIEFOS_KERNEL_TOOLS='$(abspath $(RELIEFOS_KERNEL_TOOLS))' sh $(RELIEFOS_SRC)/tools/build/boot-stage.sh $(RELIEFOS_SRC) $(GRUB_EFI_DIR) $(GRUB_BIOS_DIR) $(O_GENERATED)/system/kernel.sys $(RELIEFOS_INITRAMFS) $(GRUB_FONT) $(IMAGE_DISPLAY) $(ESP_STAGE) $(SOURCE_DATE_EPOCH) - $(Q)touch $@ - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(ESP_STAGE) $(O_META)/esp.files -.PHONY: esp -esp: $(ESP_STAMP) -.PHONY: test-grub-kbuild-inputs -test-grub-kbuild-inputs: - $(Q)mkdir -p $(O)/tmp - $(Q)TMPDIR='$(abspath $(O))/tmp' sh $(RELIEFOS_SRC)/tests/build/test-grub-kbuild-inputs.sh -tools: $(RELIEFOS_EXT2_TIME) - -ROOT_EXT2 := $(O_IMAGES)/root.ext2 -DISK_ROOT_EXT2 := $(O_IMAGES)/disk-root.ext2 -ROOT_EXT4 := $(O_IMAGES)/root.ext4 -DISK_ROOT_EXT4 := $(O_IMAGES)/disk-root.ext4 -LIVE_ROOT_STAGE := $(O_STAGE)/live-root -DISK_ROOT_STAGE := $(O_STAGE)/disk-root -define RELIEFOS_STANDALONE_STAGE -$(O_STAGE)/$(1)-root.complete: $(APK_MANAGED_ROOT)/.apk-complete $(RELIEFOS_SRC)/tools/build/standalone-root.sh $(wildcard $(RELIEFOS_SRC)/system/test-accounts/*) $(RELIEFOS_CONFIG_FILE) $$(RELIEFOS_IMAGE_IDENTITY) $$(O_META)/images.parameters - $$(Q)RELIEFOS_IMAGE_INSTANCE=$$(RELIEFOS_IMAGE_INSTANCE_QUOTED) sh $$(RELIEFOS_SRC)/tools/build/standalone-root.sh $$(RELIEFOS_SRC) $$(APK_MANAGED_ROOT) $$(O_STAGE)/$(1)-root $(1) '$$(subst ",,$(CONFIG_VMDK_DEFAULT_LANG))' - $$(Q)touch $$@ - $$(Q)sh $$(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $$(O_STAGE)/$(1)-root $$(O_META)/$(1)-root.files -endef -$(eval $(call RELIEFOS_STANDALONE_STAGE,live)) -$(eval $(call RELIEFOS_STANDALONE_STAGE,disk)) -INSTALLER_ROOT := $(O_STAGE)/installer -INSTALLER_PAYLOAD_STAGE := $(O_STAGE)/installer-payload -INSTALLER_STAGE_STAMP := $(O_STAGE)/installer.complete -INSTALLER_EXT2 := $(O_IMAGES)/installer-root.ext2 -INSTALLER_EXT4 := $(O_IMAGES)/installer-root.ext4 -INSTALLER_SQUASHFS := $(O_IMAGES)/installer-payload.squashfs -DISK_RAW := $(O_IMAGES)/reliefos.raw -DISK_VMDK := $(O_IMAGES)/reliefos.vmdk -LIVE_ISO := $(O_IMAGES)/reliefos-live.iso -INSTALLER_ISO := $(O_IMAGES)/reliefos-installer.iso -$(LIVE_ISO) $(INSTALLER_ISO): $(BUILD_LOG_INPUTS) -$(INSTALLER_STAGE_STAMP): $(USERLAND_DIR)/installer.elf -$(ROOT_EXT2): $(O_STAGE)/live-root.complete $(RELIEFOS_EXT2_TIME) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)RELIEFOS_EXT2_TIME=$(RELIEFOS_EXT2_TIME) sh $(RELIEFOS_SRC)/tools/build/images.sh ext2 $(LIVE_ROOT_STAGE) $@ $(SOURCE_DATE_EPOCH) $(LIVE_ROOT_UUID) -$(DISK_ROOT_EXT2): $(O_STAGE)/disk-root.complete $(RELIEFOS_EXT2_TIME) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)RELIEFOS_EXT2_TIME=$(RELIEFOS_EXT2_TIME) sh $(RELIEFOS_SRC)/tools/build/images.sh ext2 $(DISK_ROOT_STAGE) $@ $(SOURCE_DATE_EPOCH) $(DISK_ROOT_UUID) -$(ROOT_EXT4): $(O_STAGE)/live-root.complete $(RELIEFOS_EXT4_TIME) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)IMAGE_RAM_ROOT=0 RELIEFOS_EXT4_TIME=$(RELIEFOS_EXT4_TIME) sh $(RELIEFOS_SRC)/tools/build/images.sh ext4 $(LIVE_ROOT_STAGE) $@ $(SOURCE_DATE_EPOCH) $(LIVE_ROOT_UUID) -$(DISK_ROOT_EXT4): $(O_STAGE)/disk-root.complete $(RELIEFOS_EXT4_TIME) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)IMAGE_RAM_ROOT=0 RELIEFOS_EXT4_TIME=$(RELIEFOS_EXT4_TIME) sh $(RELIEFOS_SRC)/tools/build/images.sh ext4 $(DISK_ROOT_STAGE) $@ $(SOURCE_DATE_EPOCH) $(DISK_ROOT_UUID) -RELIEFOS_DEDUP_TOOL := $(RELIEFOS_HOST_BIN)/reliefos-dedup -tools: $(RELIEFOS_DEDUP_TOOL) -$(INSTALLER_STAGE_STAMP): $(RELIEFOS_DEDUP_TOOL) $(APK_STAGE_INPUTS) $(RELIEFOS_SRC)/tools/build/installer-xfce-profile.sh $(RELIEFOS_SRC)/system/xorg/xfce-xinitrc $(RELIEFOS_SRC)/system/xorg/xfce-xfwm4.xml -$(INSTALLER_STAGE_STAMP): $(ROOTFS_RAW_STAMP) $(ESP_STAMP) $(USERLAND_DIR)/installer.elf $(O)/userland-installer/gptinit.elf $(APK_MANAGED_ROOT)/.apk-complete $(RELIEFOS_SRC)/tools/build/installer-stage.sh $(RELIEFOS_SRC)/tools/build/installer-console-profile.sh $(RELIEFOS_SRC)/configs/fltk-apps.list $(RELIEFOS_SRC)/system/xorg/installer-session $(RELIEFOS_SRC)/userland/apps/installer/installer.desktop $(APK_STAGE_SCRIPT) $(RELIEFOS_SRC)/Documentation/admin-guide/installation.rst $(O_META)/images.parameters - $(Q)mkdir -p $(O_LOGS) - $(Q)APK_TOOL=$(abspath $(UPSTREAM_APK)) APK_UPSTREAM=$(abspath $(UPSTREAM_APK_ROOT)) APK_OWN_TOOL=$(abspath $(RELIEFOS_APK_OWN)) APK_KEY='$(APK_SIGNING_KEY)' APK_VERSION='$(APK_BUILD_VERSION)' sh $(RELIEFOS_SRC)/tools/build/run-logged.sh $(O_LOGS)/installer-stage.log sh $(RELIEFOS_SRC)/tools/build/installer-stage.sh $(RELIEFOS_SRC) $(abspath $(O)) $(abspath $(ROOTFS_RAW)) $(abspath $(ESP_STAGE)) $(abspath $(INSTALLER_ROOT)) $(SOURCE_DATE_EPOCH) $(abspath $(INSTALLER_PAYLOAD_STAGE)) - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(INSTALLER_ROOT) $(O_META)/installer.files - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(INSTALLER_PAYLOAD_STAGE) $(O_META)/installer-payload.files - $(Q)touch $@ -$(INSTALLER_EXT2): $(INSTALLER_STAGE_STAMP) $(RELIEFOS_EXT2_TIME) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)IMAGE_MIN_MIB=$(or $(CONFIG_INSTALLER_ROOT_SIZE_MIB),32) IMAGE_FLOOR_MIB=32 RELIEFOS_EXT2_TIME=$(RELIEFOS_EXT2_TIME) sh $(RELIEFOS_SRC)/tools/build/images.sh ext2 $(INSTALLER_ROOT) $@ $(SOURCE_DATE_EPOCH) 9e1f6d46-3f41-42d2-9917-9a21a2134401 -$(INSTALLER_EXT4): $(INSTALLER_STAGE_STAMP) $(RELIEFOS_EXT4_TIME) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)IMAGE_RAM_ROOT=1 IMAGE_MIN_MIB=$(or $(CONFIG_INSTALLER_ROOT_SIZE_MIB),32) IMAGE_FLOOR_MIB=32 RELIEFOS_EXT4_TIME=$(RELIEFOS_EXT4_TIME) sh $(RELIEFOS_SRC)/tools/build/images.sh ext4 $(INSTALLER_ROOT) $@ $(SOURCE_DATE_EPOCH) 9e1f6d46-3f41-42d2-9917-9a21a2134401 -$(INSTALLER_SQUASHFS): $(INSTALLER_STAGE_STAMP) $(RELIEFOS_SRC)/tools/build/images.sh $(RELIEFOS_SRC)/tools/build/apk-permissions.sh $(O_META)/images.parameters - $(Q)sh $(RELIEFOS_SRC)/tools/build/images.sh squashfs $(INSTALLER_PAYLOAD_STAGE) $@ $(SOURCE_DATE_EPOCH) -$(DISK_RAW) $(DISK_VMDK) &: $(DISK_ROOT_EXT4) $(ESP_STAMP) $(RELIEFOS_SRC)/tools/build/disk.sh $(RELIEFOS_IMAGE_IDENTITY) $(RELIEFOS_SRC)/boot/grub/bios-modules.list $(GRUB_BIOS_INPUTS) $(GRUB_BIOS_REQUIRED_INPUTS) $(GRUB_HOST_TOOLS) $(O_META)/images.parameters - $(Q)RELIEFOS_IMAGE_INSTANCE=$(RELIEFOS_IMAGE_INSTANCE_QUOTED) IMAGE_MIN_MIB=$(or $(CONFIG_IMAGE_SIZE_MIB),1024) sh $(RELIEFOS_SRC)/tools/build/disk.sh $(ESP_STAGE) $(DISK_ROOT_EXT4) $(DISK_RAW) $(DISK_VMDK) $(SOURCE_DATE_EPOCH) $(GRUB_BIOS_DIR) $(GRUB_MKIMAGE) $(GRUB_BIOS_SETUP) -$(LIVE_ISO): $(ROOT_EXT4) $(ESP_STAMP) $(RELIEFOS_SRC)/tools/build/iso.sh $(RELIEFOS_SRC)/boot/grub/live.cfg $(RELIEFOS_SRC)/boot/grub/installer_embedded.cfg $(RELIEFOS_SRC)/boot/grub/bios-modules.list $(GRUB_BIOS_INPUTS) $(GRUB_BIOS_REQUIRED_INPUTS) $(GRUB_HOST_TOOLS) $(O_META)/images.parameters - $(Q)GRUB_MKSTANDALONE='$(GRUB_MKSTANDALONE)' sh $(RELIEFOS_SRC)/tools/build/iso.sh $(RELIEFOS_SRC) $(GRUB_EFI_DIR) $(ESP_STAGE) $(ROOT_EXT4) $(RELIEFOS_SRC)/boot/grub/live.cfg $@ $(SOURCE_DATE_EPOCH) RELIEFOSLIVE $(GRUB_BIOS_DIR) $(GRUB_MKIMAGE) -$(INSTALLER_ISO): $(INSTALLER_EXT4) $(INSTALLER_SQUASHFS) $(ESP_STAMP) $(RELIEFOS_SRC)/tools/build/iso.sh $(RELIEFOS_SRC)/boot/grub/installer.cfg $(RELIEFOS_SRC)/boot/grub/installer_embedded.cfg $(RELIEFOS_SRC)/boot/grub/bios-modules.list $(GRUB_BIOS_INPUTS) $(GRUB_BIOS_REQUIRED_INPUTS) $(GRUB_HOST_TOOLS) $(O_META)/images.parameters - $(Q)grep -qx CONFIG_SQUASHFS=y '$(RELIEFNT_SUBBUILD_O)/.config' || { echo 'installer ISO requires CONFIG_SQUASHFS=y in ReliefNT' >&2; exit 1; } - $(Q)GRUB_MKSTANDALONE='$(GRUB_MKSTANDALONE)' sh $(RELIEFOS_SRC)/tools/build/iso.sh $(RELIEFOS_SRC) $(GRUB_EFI_DIR) $(ESP_STAGE) $(INSTALLER_EXT4) $(RELIEFOS_SRC)/boot/grub/installer.cfg $@ $(SOURCE_DATE_EPOCH) RELIEFOSINST $(GRUB_BIOS_DIR) $(GRUB_MKIMAGE) $(INSTALLER_SQUASHFS) -.PHONY: image-vmdk iso installer -image-vmdk: $(DISK_RAW) $(DISK_VMDK) -iso: $(LIVE_ISO) -installer: $(INSTALLER_ISO) - -define RELIEFOS_IMAGE_PRESENCE -$(O_META)/$(1)-present.parameters: FORCE - $$(Q)sh $$(RELIEFOS_SRC)/tools/build/stage-inventory.sh check $(2) $$(O_META)/$(1).files $$@ -$(3): $(O_META)/$(1)-present.parameters $(RELIEFOS_SRC)/tools/build/stage-inventory.sh -endef -$(eval $(call RELIEFOS_IMAGE_PRESENCE,esp,$(ESP_STAGE),$(ESP_STAMP))) -$(eval $(call RELIEFOS_IMAGE_PRESENCE,live-root,$(LIVE_ROOT_STAGE),$(O_STAGE)/live-root.complete)) -$(eval $(call RELIEFOS_IMAGE_PRESENCE,disk-root,$(DISK_ROOT_STAGE),$(O_STAGE)/disk-root.complete)) -$(eval $(call RELIEFOS_IMAGE_PRESENCE,installer,$(INSTALLER_ROOT),$(INSTALLER_STAGE_STAMP))) -$(eval $(call RELIEFOS_IMAGE_PRESENCE,installer-payload,$(INSTALLER_PAYLOAD_STAGE),$(INSTALLER_STAGE_STAMP))) diff --git a/scripts/reliefos/Makefile.kernel b/scripts/reliefos/Makefile.kernel index 1d7e7401..b5c3be37 100644 --- a/scripts/reliefos/Makefile.kernel +++ b/scripts/reliefos/Makefile.kernel @@ -1,13 +1,9 @@ # Kernel products: adapter over the standalone reliefnt kernel checkout. # -# Phase 3 of the kernel/userland separation: this repository no longer compiles -# any kernel, driver or boot source. The standalone checkout named by -# RELIEFNT_DIR owns those sources and builds kernel.sys, kernel.debug -# and ABI-bound built-in/loadable driver products; -# this fragment drives that build and publishes the results to the legacy -# locations the rest of the parent build (rootfs, images, rpr) consumes. The -# parent consumes only the sub-build's `install` output and its exported headers -# (scripts/reliefos/Makefile.headers). +# The standalone checkout named by RELIEFNT_DIR builds kernel.sys, kernel.debug +# and ABI-bound built-in/loadable driver products. This fragment publishes its +# install output for the Arch package builders and imports its exported headers +# through scripts/reliefos/Makefile.headers. # # The sub-build is asked on every invocation. A stamp keyed on a git SHA would # miss local edits in the checkout, so incrementality is the sub-make's own @@ -20,7 +16,7 @@ # the adapter refuses with instructions instead of letting parse-time # inventories and config generation bury the cause in follow-on errors (see # the guard below and the recipe guards). -RELIEFNT_DIR ?= $(if $(strip $(NTCLKS_DIR)),$(NTCLKS_DIR),$(RELIEFOS_SRC)/kernel/reliefnt) +RELIEFNT_DIR ?= $(RELIEFOS_SRC)/kernel/reliefnt # A checkout that has not been initialized must fail once, clearly, naming # RELIEFNT_DIR -- a non-recursive clone otherwise died in `find` noise and a # missing-tool cascade long before the adapter's recipe guard could speak. @@ -32,7 +28,7 @@ RELIEFNT_DIR ?= $(if $(strip $(NTCLKS_DIR)),$(NTCLKS_DIR),$(RELIEFOS_SRC)/kernel # fresh machine can still run `make doctor` / `make fetch` / `make fetch-check` # to set up. reliefnt_init_exempt_goals := help doctor fetch fetch-check \ - reliefnt-fetch ntclks-fetch reliefnt-fetch-check ntclks-fetch-check + reliefnt-fetch reliefnt-fetch-check reliefnt_init_exempt := ifeq ($(MAKECMDGOALS),) reliefnt_init_exempt := 1 @@ -47,7 +43,7 @@ $(error reliefnt adapter: kernel checkout not found: $(RELIEFNT_DIR)/Makefile \ endif endif # Sub-build output directory: the checkout writes everything under O. -RELIEFNT_O ?= $(if $(strip $(NTCLKS_O)),$(NTCLKS_O),$(O)/reliefnt) +RELIEFNT_O ?= $(O)/reliefnt # The sub-make changes directory to RELIEFNT_DIR. Resolve paths in the parent # before passing them across that boundary, including a caller's RELIEFNT_O # override; otherwise O=out writes into kernel/reliefnt/out instead of ./out. @@ -77,12 +73,11 @@ ifneq ($(word 2,$(filter $(RELIEFNT_CONFIG_GOALS),$(MAKECMDGOALS))),) $(error select only one kernel configuration operation per make invocation) endif -# Legacy product locations (kept stable for scripts/reliefos/Makefile.rootfs, scripts/reliefos/Makefile.images, -# scripts/reliefos/Makefile.rpr and scripts/reliefos/Makefile.boot). +# Stable product locations consumed by the Arch kernel package builder. RELIEFOS_KERNEL_SYS := $(O_GENERATED)/system/kernel.sys RELIEFOS_KERNEL_SYMBOLS := $(O_GENERATED)/system/kernel.debug -# "legacy path below generated/:installed file name" per product; the sub-make's +# "path below generated/:installed file name" per product; the sub-make's # install writes the two products flat under $(RELIEFNT_DEST). RELIEFNT_PUBLISH_PAIRS := system/kernel.sys:kernel.sys system/kernel.debug:kernel.debug @@ -186,8 +181,7 @@ $(RELIEFNT_PUBLISHED) &: FORCE $(RELIEFOS_EMIT) $(RELIEFNT_KERNEL_HEADER_ORDER_O # can still run `make doctor` / `make fetch` before the submodule exists (see # reliefnt_init_exempt_goals). RELIEFNT_DIR pointing back at this repository would # recurse into `make -C . fetch`; skip instead. -.PHONY: reliefnt-fetch ntclks-fetch -ntclks-fetch: reliefnt-fetch +.PHONY: reliefnt-fetch reliefnt-fetch: +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0 ;; esac; \ if [ '$(realpath $(RELIEFNT_DIR))' = '$(realpath $(RELIEFOS_SRC))' ]; then \ @@ -199,7 +193,8 @@ reliefnt-fetch: echo 'Initialize it with `git submodule update --init --recursive`, or point RELIEFNT_DIR at an existing checkout' >&2; \ exit 0; \ fi; \ - exec $(RELIEFNT_CONFIG_ENV) $(MAKE) -C '$(RELIEFNT_DIR)' fetch + exec $(RELIEFNT_CONFIG_ENV) $(MAKE) -C '$(RELIEFNT_DIR)' O='$(RELIEFNT_SUBBUILD_O)' \ + ARCH='$(ARCH)' PROFILE='$(PROFILE)' fetch # --- fetch-check delegation ------------------------------------------------- # `make fetch-check` also probes the kernel checkout's locked URLs. Probes @@ -207,8 +202,7 @@ reliefnt-fetch: # mirrors reliefnt-fetch: a missing checkout warns instead of failing, and # RELIEFNT_DIR pointing back at this repository would recurse into # `make -C . fetch-check`; skip instead. -.PHONY: reliefnt-fetch-check ntclks-fetch-check -ntclks-fetch-check: reliefnt-fetch-check +.PHONY: reliefnt-fetch-check reliefnt-fetch-check: +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0 ;; esac; \ if [ '$(realpath $(RELIEFNT_DIR))' = '$(realpath $(RELIEFOS_SRC))' ]; then \ @@ -224,7 +218,7 @@ reliefnt-fetch-check: # --- the parent-owned version header ----------------------------------------- # build_info.h is not a kernel product: the parent generates it for its own -# version consumers (scripts/reliefos/Makefile.rpr's app packages, scripts/reliefos/Makefile.site, `make build-info`). +# version consumers in the application packages, site and `make build-info`. # The kernel checkout generates its own copy inside its O. BUILD_INFO_HEADER := $(O_INCLUDE)/generated/build_info.h RELIEFOS_SOURCE_ID := $(shell git -C $(RELIEFOS_SRC) rev-parse --short HEAD 2>/dev/null || echo unknown) diff --git a/scripts/reliefos/Makefile.modules b/scripts/reliefos/Makefile.modules deleted file mode 100644 index bbf36c85..00000000 --- a/scripts/reliefos/Makefile.modules +++ /dev/null @@ -1,41 +0,0 @@ -# Installed kernel metadata owns module discovery, names and early phases. -RELIEFOS_MODULES_STAGE := $(O_STAGE)/kernel-modules -RELIEFOS_MODULES_MANIFEST := $(RELIEFOS_MODULES_STAGE)/modules-stage.json -RELIEFOS_INITRAMFS := $(O_GENERATED)/system/initramfs.cpio -RELIEFOS_INITRAMFS_MANIFEST := $(RELIEFOS_INITRAMFS).json -RELIEFOS_KERNEL_RECOVERY := $(O)/userland/initramfs/kernel-bundle.elf -RELIEFOS_KERNEL_PAYLOAD := $(O_STAGE)/kernel-payload -RELIEFOS_KERNEL_PAYLOAD_MANIFEST := $(RELIEFOS_KERNEL_PAYLOAD)/kernel-payload.json -RELIEFOS_MODULE_TOOLS := $(RELIEFOS_KERNEL_TOOLS) -# Portable images support the listed virtual disk transports. Disabling -# one explicitly rejects this profile instead of silently forcing y. -RELIEFOS_BOOT_FEATURES ?= SATA_AHCI PATA_IDE BLK_DEV_NVME VIRTIO_BLK EXT4_FS FAT_FS ISO9660_FS -$(RELIEFOS_MODULES_MANIFEST): $(RELIEFNT_DEST)/install.bundle.json $(INITRAMFS_BUSYBOX_ELF) $(RELIEFOS_MODULE_TOOLS) - $(Q)$(RELIEFOS_KERNEL_TOOLS) modules-stage $(abspath $(RELIEFNT_DEST)) \ - $(abspath $(INITRAMFS_BUSYBOX_ELF)) $(abspath $(RELIEFOS_MODULES_STAGE)) $(RELIEFOS_BOOT_FEATURES) - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(RELIEFOS_MODULES_STAGE) $(O_META)/kernel-modules.files -$(RELIEFOS_INITRAMFS) $(RELIEFOS_INITRAMFS_MANIFEST) &: $(RELIEFOS_MODULES_MANIFEST) $(INITRAMFS_BUSYBOX_ELF) $(INITRAMFS_BUSYBOX_LINKS) \ - $(RELIEFOS_KERNEL_TOOLS) $(RELIEFOS_KERNEL_RECOVERY) \ - $(RELIEFOS_SRC)/system/initramfs/init $(RELIEFOS_SRC)/system/initramfs/functions - $(Q)$(RELIEFOS_KERNEL_TOOLS) initramfs-stage $(RELIEFOS_SRC) $(abspath $(RELIEFOS_MODULES_STAGE)) \ - $(abspath $(INITRAMFS_BUSYBOX_ELF)) $(abspath $(INITRAMFS_BUSYBOX_LINKS)) $(abspath $(RELIEFOS_INITRAMFS)) $(SOURCE_DATE_EPOCH) $(abspath $(RELIEFOS_KERNEL_RECOVERY)) -$(RELIEFOS_KERNEL_PAYLOAD_MANIFEST): $(RELIEFOS_MODULES_MANIFEST) $(RELIEFOS_INITRAMFS) $(RELIEFOS_INITRAMFS_MANIFEST) \ - $(RELIEFNT_DEST)/install.bundle.json $(RELIEFOS_KERNEL_TOOLS) - $(Q)$(RELIEFOS_KERNEL_TOOLS) kernel-payload $(abspath $(RELIEFNT_DEST)) \ - $(abspath $(RELIEFOS_MODULES_STAGE)) $(abspath $(RELIEFOS_INITRAMFS)) $(abspath $(RELIEFOS_KERNEL_PAYLOAD)) - -define RELIEFOS_KERNEL_STAGE_PRESENCE -$(O_META)/$(1)-present.parameters: FORCE $(RELIEFOS_KERNEL_TOOLS) - $$(Q)$$(RELIEFOS_KERNEL_TOOLS) check-stage $$(abspath $(2)) $(3) $$(abspath $$@) -$(2)/$(3): $(O_META)/$(1)-present.parameters -endef -$(eval $(call RELIEFOS_KERNEL_STAGE_PRESENCE,kernel-modules,$(RELIEFOS_MODULES_STAGE),modules-stage.json)) -$(eval $(call RELIEFOS_KERNEL_STAGE_PRESENCE,kernel-payload,$(RELIEFOS_KERNEL_PAYLOAD),kernel-payload.json)) -.PHONY: initramfs kernel-modules test-kernel-modules-stage test-initramfs-stage -initramfs: $(RELIEFOS_INITRAMFS) $(RELIEFOS_INITRAMFS_MANIFEST) -kernel-modules: $(RELIEFOS_KERNEL_PAYLOAD_MANIFEST) -test-kernel-modules-stage test-initramfs-stage: $(INITRAMFS_BUSYBOX_ELF) $(INITRAMFS_BUSYBOX_LINKS) $(RELIEFOS_KERNEL_TOOLS) $(RELIEFOS_KERNEL_RECOVERY) - $(Q)RELIEFOS_TEST_BUSYBOX='$(abspath $(INITRAMFS_BUSYBOX_ELF))' \ - RELIEFOS_KERNEL_TOOLS='$(abspath $(RELIEFOS_KERNEL_TOOLS))' \ - RELIEFOS_TEST_RECOVERY='$(abspath $(RELIEFOS_KERNEL_RECOVERY))' \ - sh $(RELIEFOS_SRC)/tests/build/$@.sh diff --git a/scripts/reliefos/Makefile.nls b/scripts/reliefos/Makefile.nls index a86039dd..109a5d5a 100644 --- a/scripts/reliefos/Makefile.nls +++ b/scripts/reliefos/Makefile.nls @@ -12,14 +12,13 @@ RELIEFOS_NLS_FLTK_APPS := $(strip $(file <$(RELIEFOS_SRC)/configs/fltk-apps.list NLS_DIR := $(O_GENERATED)/nls NLS_MO := $(foreach lang,$(RELIEFOS_NLS_LANGS),\ $(addsuffix .mo,$(addprefix $(NLS_DIR)/$(lang)/LC_MESSAGES/,$(RELIEFOS_NLS_DOMAINS)))) -NLS_MUSL_MO := $(addsuffix .UTF-8,$(addprefix $(O_GENERATED)/musl-locales/,$(RELIEFOS_NLS_LANGS))) # Shared implementations follow the same consumers as their app Kbuilds. -RELIEFOS_NLS_SHARED_installer := userland/apps/reliefapk/process.cpp -RELIEFOS_NLS_SHARED_fileman := userland/apps/reliefapk/process.cpp -RELIEFOS_NLS_SHARED_reliefsettings := userland/apps/reliefapk/process.cpp +RELIEFOS_NLS_SHARED_fileman := userland/apps/shared/process.cpp +RELIEFOS_NLS_SHARED_reliefsettings := userland/apps/shared/process.cpp +RELIEFOS_NLS_SHARED_service-controller := userland/apps/shared/process.cpp +RELIEFOS_NLS_SHARED_reliefpackages := userland/apps/shared/process.cpp RELIEFOS_NLS_SHARED_reliefdiagram := userland/apps/relieftodo/file_io.cpp RELIEFOS_NLS_SHARED_reliefmathpp := userland/apps/relieftodo/file_io.cpp -RELIEFOS_NLS_SHARED_reliefmathpp := userland/apps/relieftodo/file_io.cpp RELIEFOS_NLS_SHARED_reliefmail := userland/apps/reliefword/layout.cpp userland/apps/reliefword/model.cpp reliefos_nls_directory_sources = $(wildcard $(1)/*.[ch] $(1)/*.cpp) \ @@ -46,17 +45,6 @@ $(foreach domain,$(RELIEFOS_NLS_DOMAINS),$(foreach lang,$(RELIEFOS_NLS_LANGS),$( .PHONY: nls nls-update nls: $(NLS_MO) -define reliefos-musl-locale-rule -$(O_GENERATED)/musl-locales/$(1).UTF-8: $(RELIEFOS_SRC)/configs/locale/$(1).po $(RELIEFOS_SRC)/scripts/reliefos/Makefile.nls - $$(call RELIEFOS_LOG,MSGFMT,$$@) - $$(Q)mkdir -p $$(@D) - $$(Q)msgfmt --check --endianness=little -o $$@ $$< -endef -$(foreach lang,$(RELIEFOS_NLS_LANGS),$(eval $(call reliefos-musl-locale-rule,$(lang)))) - -.PHONY: musl-locales -musl-locales: $(NLS_MUSL_MO) - # Explicit maintenance only. Each app can refresh its own source corpus. define reliefos-nls-update-rule .PHONY: nls-update-$(1) diff --git a/scripts/reliefos/Makefile.pam b/scripts/reliefos/Makefile.pam deleted file mode 100644 index 72de4e2e..00000000 --- a/scripts/reliefos/Makefile.pam +++ /dev/null @@ -1,40 +0,0 @@ -# Linux-PAM is built with the audited project Make adapter, without Meson. -PAM_ROOT := $(O)/pam/root -PAM_WORK := $(O_THIRD_PARTY)/pam -PAM_STAMP := $(O)/pam/.complete -PAM_PORT := $(RELIEFOS_SRC)/tools/build/pam -PAM_LIB := $(PAM_ROOT)/lib/libpam.so.0 -PAM_MISC_LIB := $(PAM_ROOT)/lib/libpam_misc.so.0 -PAM_HEADER := $(PAM_ROOT)/usr/include/security/pam_appl.h -PAM_RELIEFOS_MODULE := $(PAM_ROOT)/lib/security/pam_leonos_password.so -PAM_INPUTS := $(PAM_PORT)/Makefile $(PAM_PORT)/configure.sh $(PAM_PORT)/install.sh $(wildcard $(RELIEFOS_SRC)/patches/linux-pam/*.patch) -RELIEFOS_PARAMETERS_pam := compiler=$(TARGET_CC)|target=$(TRIPLE_USER)|identity=$(shell $(TARGET_CC) --version 2>/dev/null | head -n1) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,pam))) - -$(PAM_STAMP) $(PAM_LIB) $(PAM_MISC_LIB) $(PAM_HEADER) &: $(AUTH_STAMP) $(RELIEFOS_AUTH_ARTIFACTS) $(MUSL_STAMP) $(RELIEFOS_LOCK) $(PAM_INPUTS) $(HEADER_EXPORT_MANIFEST) $(RELIEFOS_SRC)/tools/build/pam-stage.sh $(RELIEFOS_UPSTREAM_MAKE_ENV) $(O_META)/pam.parameters - $(Q)mkdir -p $(dir $(PAM_STAMP)) $(O_LOGS) - +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; UPSTREAM_UAPI='$(abspath $(HEADER_EXPORT_INCLUDE))' sh $(RELIEFOS_SRC)/tools/build/pam-stage.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) \ - $(abspath $(PAM_WORK)) $(abspath $(PAM_ROOT)) $(abspath $(MUSL_SYSROOT)) $(abspath $(AUTH_ROOT)) $(TARGET_CC) $(TRIPLE_USER) \ - >$(O_LOGS)/pam.log 2>&1 || { tail -n 40 $(O_LOGS)/pam.log >&2; exit 1; } - $(Q)touch $(PAM_STAMP) - $(Q)touch $(PAM_LIB) $(PAM_MISC_LIB) $(PAM_HEADER) - -PAM_CFLAGS := --target=$(TRIPLE_USER) --sysroot=$(MUSL_SYSROOT) --gcc-toolchain=/nonexistent -fuse-ld=lld --rtlib=compiler-rt --unwindlib=none -O2 -fPIC -nostdinc -isystem $(MUSL_SYSROOT)/include -isystem $(shell $(TARGET_CC) -print-resource-dir 2>/dev/null)/include -I$(PAM_ROOT)/usr/include -I$(HEADER_EXPORT_INCLUDE) -I$(RELIEFOS_SRC)/include -ffile-prefix-map=$(RELIEFOS_SRC)=. -PAM_LINK_FLAGS := $(PAM_CFLAGS) -shared -Wl,-z,relro,-z,now,--no-undefined -RELIEFOS_CAPTURE_PAM_KBUILD := 1 -include $(RELIEFOS_SRC)/userland/pam/Kbuild -RELIEFOS_CAPTURE_PAM_KBUILD := -PAM_OBJECTS := $(addprefix $(O)/userland/pam/,$(RELIEFOS_PAM_OBJECTS)) -obj-y += userland/pam/ -export PAM_CFLAGS -userland/pam: $(PAM_STAMP) $(PAM_HEADER) $(MUSL_STAMP) $(HEADER_EXPORT_MANIFEST) $(RELIEFOS_CC_ID) $(RELIEFOS_AR_ID) - -quiet_cmd_reliefos_pam_module = LD $@ - cmd_reliefos_pam_module = mkdir -p $(dir $@); $(TARGET_CC) $(PAM_LINK_FLAGS) $(PAM_OBJECTS) -L$(PAM_ROOT)/lib -lpam -o $@.tmp; mv $@.tmp $@ -$(PAM_RELIEFOS_MODULE): $(O)/userland/pam/built-in.a $(PAM_LIB) $(PAM_STAMP) $(RELIEFOS_CC_ID) FORCE - $(call if_changed,reliefos_pam_module) -targets += $(PAM_RELIEFOS_MODULE) - -.PHONY: reliefos-pam leonos-pam -reliefos-pam: $(PAM_STAMP) $(PAM_LIB) $(PAM_HEADER) $(PAM_RELIEFOS_MODULE) -leonos-pam: reliefos-pam diff --git a/scripts/reliefos/Makefile.product b/scripts/reliefos/Makefile.product new file mode 100644 index 00000000..e323adec --- /dev/null +++ b/scripts/reliefos/Makefile.product @@ -0,0 +1,15 @@ +# Public products enter the same Arch build root on every supported host. +reliefos_product_operation = $(patsubst arch-%,%,$(1)) +reliefos_product_operation_image-vmdk := image +reliefos_product_operation_iso := installer +reliefos_product_operation_image-iso := installer +reliefos_product_operation_sdk := runtime + +.PHONY: $(reliefos_arch_goals) $(reliefos_run_goals) +$(reliefos_arch_goals): + $(Q)SOURCE_DATE_EPOCH='$(SOURCE_DATE_EPOCH)' bash '$(RELIEFOS_SRC)/tools/build/arch-root.sh' \ + '$(or $(reliefos_product_operation_$@),$(call reliefos_product_operation,$@))' \ + '$(RELIEFOS_SRC)' '$(abspath $(O))' '$(PROFILE)' + +$(reliefos_run_goals): + $(Q)bash '$(RELIEFOS_SRC)/tools/build/arch-run.sh' '$@' '$(reliefos_O_absolute)' diff --git a/scripts/reliefos/Makefile.resources b/scripts/reliefos/Makefile.resources deleted file mode 100644 index bc2ead9e..00000000 --- a/scripts/reliefos/Makefile.resources +++ /dev/null @@ -1,16 +0,0 @@ -# GRUB text font and the component metadata are the shared image resources. -RELIEFOS_GRUB_FONT_TOOL := $(RELIEFOS_HOST_BIN)/reliefos-grub-font -GRUB_BDF := $(O_GENERATED)/grub/leonos-pixel.bdf -GRUB_FONT := $(O_GENERATED)/grub/leonos-unicode.pf2 -$(GRUB_BDF): $(RELIEFOS_GRUB_FONT_TOOL) $(RELIEFOS_SRC)/system/fonts/system.psf - $(Q)mkdir -p $(@D) - $(Q)$(RELIEFOS_GRUB_FONT_TOOL) $(RELIEFOS_SRC)/system/fonts/system.psf $@ -$(GRUB_FONT): $(GRUB_BDF) - $(Q)grub-mkfont -s 16 -o $@.tmp $< - $(Q)mv $@.tmp $@ -COMPONENT_METADATA := $(O_CONFIG)/components.tsv -$(COMPONENT_METADATA): $(RELIEFOS_COMPONENT_TOOL) $(RELIEFOS_COMPONENT_MK) $(RELIEFOS_CONFIG_FILE) - $(Q)$(RELIEFOS_COMPONENT_TOOL) --input $(RELIEFOS_SRC)/configs/components.toml --config $(RELIEFOS_CONFIG_FILE) --output $(RELIEFOS_COMPONENT_MK) --metadata $@ -.PHONY: resources -resources: $(GRUB_FONT) $(COMPONENT_METADATA) -tools: $(RELIEFOS_GRUB_FONT_TOOL) $(RELIEFOS_COMPONENT_TOOL) diff --git a/scripts/reliefos/Makefile.rootfs b/scripts/reliefos/Makefile.rootfs deleted file mode 100644 index d8d80023..00000000 --- a/scripts/reliefos/Makefile.rootfs +++ /dev/null @@ -1,35 +0,0 @@ -# Rootfs composition is driven by source and installed-product inventories. -RELIEFOS_STAGE_TOOL := $(RELIEFOS_HOST_BIN)/reliefos-stage -RELIEFOS_LAYOUT_TOOL := $(RELIEFOS_HOST_BIN)/reliefos-layout -ROOTFS_RAW := $(O)/rootfs/raw -ROOTFS_RAW_STAMP := $(O)/rootfs/raw.complete -ROOTFS_MANIFEST := $(O)/rootfs/manifest.json -APK_RAW_ROOT := $(ROOTFS_RAW) -APK_RAW_STAMP := $(ROOTFS_RAW_STAMP) -ROOTFS_SOURCE_DIRS := $(RELIEFOS_SRC)/system $(RELIEFOS_SRC)/resources/build-art $(RELIEFOS_SRC)/userland/storage $(RELIEFOS_SRC)/userland/apps -ROOTFS_SOURCE_DIRS += $(RELIEFOS_SRC)/resources/reliefmath $(RELIEFOS_SRC)/resources/licenses/reliefmath -ROOTFS_SOURCE_DIRS += $(RELIEFOS_SRC)/userland/fastfetch $(RELIEFOS_SRC)/logo.png $(RELIEFOS_SRC)/test/test.mp3 $(RELIEFOS_SRC)/Documentation/admin-guide/packages.rst $(RELIEFOS_SRC)/configs/apk-ownership.json -ROOTFS_SOURCE_DIRS += $(wildcard $(addprefix $(RELIEFOS_SRC)/third_party/,busybox/LICENSE pl_editor/LICENSE)) -ROOTFS_SOURCE_DIRS += $(RELIEFOS_SRC)/tools/build/rpr-config.sh $(addprefix $(RELIEFOS_SRC)/resources/licenses/,sl-LICENSE ncurses-LICENSE sqlite-LICENSE zlib-LICENSE libpng-LICENSE mbedtls3-LICENSE libbsd-LICENSE e2fsprogs-NOTICE util-linux-README.licensing libeconf-LICENSE utmps-COPYING) -$(O_META)/rootfs-sources.parameters: FORCE $(RELIEFOS_SRC)/tools/build/tree-signature.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/tree-signature.sh $@ $(ROOTFS_SOURCE_DIRS) -ROOTFS_UPSTREAM_PRODUCTS = $(foreach package,$(UPSTREAM_PACKAGES),$(UPSTREAM_ROOT)/$(package)/root/.complete $(upstream_$(package)_products)) -ROOTFS_UPSTREAM_PRODUCTS += $(GRUB_GUEST_ROOT)/.complete $(GRUB_GUEST_PRODUCTS) -ROOTFS_APP_PRODUCTS = $(USERLAND_DIR)/motd.elf $(addprefix $(USERLAND_DIR)/,$(addsuffix .elf,$(RELIEFOS_COMPONENT_APPS))) $(BUSYBOX_ELF) $(BUSYBOX_LINKS) -ROOTFS_APP_PRODUCTS += $(if $(filter soundctl,$(RELIEFOS_COMPONENT_APPS)),$(AUDIO_CONTROL_SO)) -ROOTFS_APP_PRODUCTS += $(if $(filter reliefmath,$(RELIEFOS_COMPONENT_APPS)),$(USERLAND_DIR)/reliefmath-render.elf) -ROOTFS_APP_PRODUCTS += $(USERLAND_DIR)/bootinstall.elf -ROOTFS_APP_PRODUCTS += $(RELIEFOS_KERNEL_PAYLOAD_MANIFEST) -$(ROOTFS_RAW_STAMP) $(ROOTFS_MANIFEST): $(NLS_MO) $(NLS_MUSL_MO) $(RELIEFOS_SRC)/configs/nls/LINGUAS $(RELIEFOS_SRC)/configs/nls/DOMAINS -RELIEFOS_PARAMETERS_rootfs := epoch=$(SOURCE_DATE_EPOCH)|sources=$(O_META)/rootfs-sources.parameters|components=$(RELIEFOS_COMPONENTS_ENABLED)|kernel-payload=$(abspath $(RELIEFOS_KERNEL_PAYLOAD)) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,rootfs))) -$(ROOTFS_RAW_STAMP) $(ROOTFS_MANIFEST) &: $(RELIEFOS_SRC)/tools/build/rootfs-stage.sh $(RELIEFOS_SRC)/tools/build/reliefmath-resources-stage.sh $(RELIEFOS_SRC)/tools/build/busybox-links.sh $(RELIEFOS_SRC)/configs/app-icons.list $(RELIEFOS_STAGE_TOOL) $(RELIEFOS_LAYOUT_TOOL) $(O_META)/rootfs-sources.parameters $(ROOTFS_UPSTREAM_PRODUCTS) $(ROOTFS_APP_PRODUCTS) $(RUNTIME_SO) $(RUNTIME_COMPAT_SO) $(COMPONENT_METADATA) $(RELIEFOS_CONFIG_FILE) $(O_META)/rootfs.parameters $(wildcard $(RELIEFOS_SRC)/system/xorg/*) - $(Q)ROOTFS_UPSTREAM_PACKAGES='$(UPSTREAM_PACKAGES)' sh $(RELIEFOS_SRC)/tools/build/rootfs-stage.sh $(RELIEFOS_SRC) $(abspath $(O)) $(abspath $(RELIEFOS_CONFIG_FILE)) $(abspath $(COMPONENT_METADATA)) $(abspath $(RELIEFOS_STAGE_TOOL)) $(abspath $(RELIEFOS_LAYOUT_TOOL)) $(abspath $(ROOTFS_RAW)) $(abspath $(ROOTFS_MANIFEST)) $(SOURCE_DATE_EPOCH) '$(abspath $(RELIEFOS_KERNEL_PAYLOAD))' - $(Q)touch $(ROOTFS_RAW_STAMP) -.PHONY: rootfs-raw -rootfs-raw: $(ROOTFS_RAW_STAMP) $(ROOTFS_MANIFEST) -tools: $(RELIEFOS_STAGE_TOOL) $(RELIEFOS_LAYOUT_TOOL) -$(O_META)/rootfs-present.parameters: FORCE $(RELIEFOS_STAGE_TOOL) - $(Q)mkdir -p $(@D) - $(Q)if ! $(RELIEFOS_STAGE_TOOL) --check $(ROOTFS_MANIFEST) $(ROOTFS_RAW); then touch $@; elif test ! -f $@; then touch $@; fi -$(ROOTFS_RAW_STAMP) $(ROOTFS_MANIFEST): $(O_META)/rootfs-present.parameters diff --git a/scripts/reliefos/Makefile.rpr b/scripts/reliefos/Makefile.rpr deleted file mode 100644 index 86e1d5d6..00000000 --- a/scripts/reliefos/Makefile.rpr +++ /dev/null @@ -1,36 +0,0 @@ -RPR_APPS := $(O)/rpr-apps/repository -RPR_APP_PACKAGES := $(RPR_APPS)/.complete $(RPR_APPS)/packages.list -# Only applications with a supported frontend are published. -RPR_INPUTS := $(RELIEFOS_SRC)/third_party/doomgeneric/freedoom1.wad $(RELIEFOS_SRC)/third_party/doomgeneric/LICENSE $(RELIEFOS_SRC)/third_party/doomgeneric/FREEDOOM-COPYING.txt -$(RPR_APP_PACKAGES) &: $(addprefix $(USERLAND_DIR)/,doom.elf doomlauncher.elf) $(BUILD_INFO_HEADER) $(RPR_INPUTS) $(APK_MANIFEST) $(RELIEFOS_SRC)/tools/build/rpr-apps.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/rpr-apps.sh $(RELIEFOS_SRC) $(O) $(BUILD_INFO_HEADER) $(UPSTREAM_APK) '$(APK_SIGNING_KEY)' $(RPR_APPS) $(SOURCE_DATE_EPOCH) -RPR_PAGES := $(O)/rpr-pages -RPR_SITE_INPUTS := $(RELIEFOS_SRC)/tools/build/site-common.sh \ - $(RELIEFOS_SRC)/tools/build/rpr-human-pages.sh \ - $(RELIEFOS_SRC)/resources/pages/css/reliefos.css \ - $(addprefix $(RELIEFOS_SRC)/resources/pages/i18n/,zh-CN.sh en.sh ja.sh) \ - $(RELIEFOS_SRC)/resources/pages/i18n -# --- release guard (design §8: 开发构建可 dirty,发布构建必须拒绝) ----------- -# Release artifacts (rpr-pages and `make release`) must come from a clean -# kernel/reliefnt submodule exactly at the gitlink committed in HEAD. The plain -# `all`/`kernel` targets are deliberately NOT gated. The check runs first as a -# prerequisite of the phony `rpr-pages`/`release` aliases (serial make fails -# fast, before anything is built) and again as the first line of the producing -# recipe, so -j and direct goal invocations cannot publish from a bad tree. -RELIEFNT_RELEASE_GUARD_CMD = sh $(RELIEFOS_SRC)/tools/build/reliefnt-release-guard.sh '$(RELIEFOS_SRC)' '$(RELIEFNT_DIR)' 'kernel/reliefnt' -.PHONY: reliefnt-release-guard ntclks-release-guard -ntclks-release-guard: reliefnt-release-guard -reliefnt-release-guard: - $(Q)$(RELIEFNT_RELEASE_GUARD_CMD) -# Protocol 4 binds the complete runtime-validated kernel package to the exact -# signed APK/index cohort; a kernel.sys-only publication cannot enable modules. -$(RPR_PAGES)/.complete $(RPR_PAGES)/manifest.json &: $(RPR_APP_PACKAGES) $(APK_MANIFEST) $(APK_REPOSITORY)/packages.adb $(RELIEFOS_KERNEL_SYS) $(RELIEFOS_KERNEL_PAYLOAD_MANIFEST) $(RELIEFOS_KERNEL_TOOLS) $(RELIEFOS_KERNEL_RECOVERY) $(RELIEFOS_SRC)/tools/build/rpr-pages.sh $(RPR_SITE_INPUTS) $(wildcard $(RELIEFOS_SRC)/system/rootfs/etc/apk/keys/*.pub) - $(Q)$(RELIEFNT_RELEASE_GUARD_CMD) - $(Q)SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH) RELIEFOS_KERNEL_TOOLS='$(abspath $(RELIEFOS_KERNEL_TOOLS))' RELIEFOS_KERNEL_RECOVERY='$(abspath $(RELIEFOS_KERNEL_RECOVERY))' sh $(RELIEFOS_SRC)/tools/build/rpr-pages.sh $(APK_REPOSITORY) $(RPR_APPS) $(RELIEFOS_KERNEL_SYS) $(RELIEFOS_KERNEL_PAYLOAD) $(RELIEFNT_DIR)/configs/build-version $(UPSTREAM_APK) '$(APK_SIGNING_KEY)' $(RPR_PAGES) - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh write $(RPR_PAGES) $(O_META)/rpr-pages.files -$(O_META)/rpr-pages-present.parameters: FORCE - $(Q)sh $(RELIEFOS_SRC)/tools/build/stage-inventory.sh check $(RPR_PAGES) $(O_META)/rpr-pages.files $@ -$(RPR_PAGES)/.complete $(RPR_PAGES)/manifest.json: $(O_META)/rpr-pages-present.parameters $(RELIEFOS_SRC)/tools/build/stage-inventory.sh -.PHONY: rpr-apps rpr-pages -rpr-apps: $(RPR_APP_PACKAGES) -rpr-pages: reliefnt-release-guard $(RPR_PAGES)/.complete $(RPR_PAGES)/manifest.json diff --git a/scripts/reliefos/Makefile.run b/scripts/reliefos/Makefile.run deleted file mode 100644 index 72480bfb..00000000 --- a/scripts/reliefos/Makefile.run +++ /dev/null @@ -1,115 +0,0 @@ -# QEMU policy follows Kconfig; command-line variables override local defaults. -QEMU ?= qemu-system-x86_64 -QEMU_BOOT ?= uefi -QEMU_FIRMWARE ?= $(or $(wildcard $(subst ",,$(CONFIG_QEMU_OVMF_PATH))),$(firstword $(wildcard /usr/share/edk2/x64/OVMF.4m.fd /usr/share/ovmf/OVMF.fd /usr/share/OVMF/OVMF_CODE_4M.fd /usr/share/qemu/OVMF.fd))) -ifeq ($(QEMU_BOOT),bios) -QEMU_FIRMWARE_FLAGS := -else ifeq ($(QEMU_BOOT),uefi) -QEMU_FIRMWARE_FLAGS := -bios $(QEMU_FIRMWARE) -else -$(error QEMU_BOOT must be uefi or bios) -endif -QEMU_DISPLAY ?= gtk,grab-on-hover=on,show-cursor=on -QEMU_GPU ?= vga -ifeq ($(QEMU_GPU),vga) -QEMU_GPU_FLAGS := -vga none -device VGA,xres=$(or $(CONFIG_QEMU_DISPLAY_WIDTH),1920),yres=$(or $(CONFIG_QEMU_DISPLAY_HEIGHT),1080) -else ifeq ($(QEMU_GPU),virtio) -QEMU_GPU_FLAGS := -vga none -device virtio-vga -else ifeq ($(QEMU_GPU),virgl) -QEMU_GPU_FLAGS := -vga none -device virtio-vga-gl -ifeq ($(origin QEMU_DISPLAY),file) -QEMU_DISPLAY := gtk,gl=on -endif -else -$(error QEMU_GPU must be vga, virtio or virgl) -endif -QEMU_SERIAL ?= stdio -QEMU_AUDIO ?= sdl -QEMU_SOUND_DEVICE ?= hda -ifeq ($(QEMU_SOUND_DEVICE),hda) -QEMU_SOUND_FLAGS := -device intel-hda,msi=auto -device hda-duplex,audiodev=snd0 -else ifeq ($(QEMU_SOUND_DEVICE),ac97) -QEMU_SOUND_FLAGS := -device AC97,audiodev=snd0 -else ifeq ($(QEMU_SOUND_DEVICE),es1371) -QEMU_SOUND_FLAGS := -device ES1370,audiodev=snd0 -else ifeq ($(QEMU_SOUND_DEVICE),none) -QEMU_SOUND_FLAGS := -else -$(error QEMU_SOUND_DEVICE must be hda, ac97, es1371 or none) -endif -QEMU_KVM ?= $(if $(filter y,$(CONFIG_QEMU_ENABLE_KVM)),1,0) -RELIEFOS_QEMU_IDE ?= $(LEONOS_QEMU_IDE) -RELIEFOS_QEMU_NVME ?= $(LEONOS_QEMU_NVME) -RELIEFOS_QEMU_VIRTIO ?= 0 -QEMU_VIRTIO_BLK := $(filter 1 y yes true,$(RELIEFOS_QEMU_VIRTIO)) -QEMU_MEMORY := $(or $(MEMORY),$(CONFIG_QEMU_MEMORY_MB),4096) -QEMU_CPUS := $(or $(CPUS),$(CONFIG_QEMU_SMP_CPUS),4) -comma := , -QEMU_INSTALLER_DISK ?= -QEMU_INSTALLER_DISK_FORMAT ?= qcow2 -QEMU_NETWORK := $(subst ",,$(CONFIG_QEMU_NET_DEVICE)) -QEMU_NETWORK_FLAGS := $(if $(QEMU_NETWORK),-netdev user$(comma)id=net0 -device $(QEMU_NETWORK)$(comma)netdev=net0) -ifneq ($(strip $(QEMU_INSTALLER_DISK)),) -QEMU_INSTALLER_DISK_PATH := $(if $(filter /%,$(QEMU_INSTALLER_DISK)),$(QEMU_INSTALLER_DISK),$(RELIEFOS_SRC)/$(QEMU_INSTALLER_DISK)) -QEMU_INSTALLER_DISK_CHECK := test -f '$(QEMU_INSTALLER_DISK_PATH)' || { echo 'missing installer target disk: $(QEMU_INSTALLER_DISK_PATH)' >&2; exit 1; } -QEMU_INSTALLER_DISK_FLAGS := -drive file=$(QEMU_INSTALLER_DISK_PATH),if=none,id=installer-disk,format=$(QEMU_INSTALLER_DISK_FORMAT) -ifneq ($(QEMU_VIRTIO_BLK),) -QEMU_INSTALLER_DISK_FLAGS += -device virtio-blk-pci,drive=installer-disk,disable-legacy=on -else -QEMU_INSTALLER_DISK_FLAGS += -device ich9-ahci,id=installer-ahci -device ide-hd,drive=installer-disk,bus=installer-ahci.0 -endif -endif -QEMU_FLAGS := -machine $(if $(filter 1 y yes true,$(RELIEFOS_QEMU_IDE)),pc,q35) $(if $(filter 1,$(QEMU_KVM)),-enable-kvm -cpu host,-cpu max) -m $(QEMU_MEMORY) -smp $(QEMU_CPUS) $(QEMU_FIRMWARE_FLAGS) -display $(QEMU_DISPLAY) -serial $(QEMU_SERIAL) $(QEMU_GPU_FLAGS) $(QEMU_NETWORK_FLAGS) -audiodev $(QEMU_AUDIO),id=snd0 $(QEMU_SOUND_FLAGS) -QEMU_DISK := -drive file=$(DISK_VMDK),if=none,id=disk0,format=vmdk -ifneq ($(QEMU_VIRTIO_BLK),) -QEMU_DISK += -device virtio-blk-pci,drive=disk0,disable-legacy=on -else ifneq ($(filter 1 y yes true,$(RELIEFOS_QEMU_NVME)),) -QEMU_DISK += -device nvme,drive=disk0,serial=leonosnvme -else ifneq ($(filter 1 y yes true,$(RELIEFOS_QEMU_IDE)),) -QEMU_DISK += -device piix3-ide,id=ide -device ide-hd,drive=disk0,bus=ide.0,unit=0 -else -QEMU_DISK += -device ich9-ahci,id=ahci -device ide-hd,drive=disk0,bus=ahci.0 -endif -QEMU_RUN_DISK ?= -QEMU_RUN_DISK_FORMAT ?= qcow2 -ifneq ($(strip $(QEMU_RUN_DISK)),) -QEMU_RUN_DISK_PATH := $(if $(filter /%,$(QEMU_RUN_DISK)),$(QEMU_RUN_DISK),$(RELIEFOS_SRC)/$(QEMU_RUN_DISK)) -QEMU_RUN_DISK_CHECK := test -f '$(QEMU_RUN_DISK_PATH)' || { echo 'missing run disk: $(QEMU_RUN_DISK_PATH)' >&2; exit 1; } -QEMU_RUN_DISK_FLAGS := -drive file=$(QEMU_RUN_DISK_PATH),if=none,id=run-disk,format=$(QEMU_RUN_DISK_FORMAT) -ifneq ($(QEMU_VIRTIO_BLK),) -QEMU_RUN_DISK_FLAGS += -device virtio-blk-pci,drive=run-disk,disable-legacy=on -else -QEMU_RUN_DISK_FLAGS += -device ich9-ahci,id=run-ahci -device ide-hd,drive=run-disk,bus=run-ahci.0 -endif -else -QEMU_RUN_DISK_CHECK := test -f '$(DISK_VMDK)' || { echo 'missing disk image: $(DISK_VMDK)' >&2; exit 1; } -QEMU_RUN_DISK_FLAGS := $(QEMU_DISK) -endif -.PHONY: run run-debug run-iso run-installer run-only run-installer-only run-iso-only -run run-debug: image-vmdk - $(Q)test '$(QEMU_BOOT)' = bios || test -f '$(QEMU_FIRMWARE)' || { echo 'set QEMU_FIRMWARE to an OVMF firmware image' >&2; exit 1; } - $(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_DISK) $(if $(filter run-debug,$@),-no-reboot -no-shutdown) -run-iso: iso - $(Q)test '$(QEMU_BOOT)' = bios || test -f '$(QEMU_FIRMWARE)' - $(Q)$(QEMU) $(QEMU_FLAGS) -cdrom $(LIVE_ISO) -no-reboot -no-shutdown -run-installer: installer - $(Q)test '$(QEMU_BOOT)' = bios || test -f '$(QEMU_FIRMWARE)' - $(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_INSTALLER_DISK_FLAGS) -cdrom $(INSTALLER_ISO) -no-reboot -no-shutdown - -# These entry points consume existing images only; they deliberately have no -# image-vmdk/iso/installer prerequisites. -run-only: - $(Q)$(QEMU_RUN_DISK_CHECK) - $(Q)test '$(QEMU_BOOT)' = bios || test -f '$(QEMU_FIRMWARE)' || { echo 'set QEMU_FIRMWARE to an OVMF firmware image' >&2; exit 1; } - $(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_RUN_DISK_FLAGS) - -run-iso-only: - $(Q)test -f '$(LIVE_ISO)' || { echo 'missing live ISO: $(LIVE_ISO)' >&2; exit 1; } - $(Q)test '$(QEMU_BOOT)' = bios || test -f '$(QEMU_FIRMWARE)' || { echo 'set QEMU_FIRMWARE to an OVMF firmware image' >&2; exit 1; } - $(Q)$(QEMU) $(QEMU_FLAGS) -cdrom $(LIVE_ISO) -no-reboot -no-shutdown - -run-installer-only: - $(Q)test -f '$(INSTALLER_ISO)' || { echo 'missing installer ISO: $(INSTALLER_ISO)' >&2; exit 1; } - $(Q)$(QEMU_INSTALLER_DISK_CHECK) - $(Q)test '$(QEMU_BOOT)' = bios || test -f '$(QEMU_FIRMWARE)' || { echo 'set QEMU_FIRMWARE to an OVMF firmware image' >&2; exit 1; } - $(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_INSTALLER_DISK_FLAGS) -cdrom $(INSTALLER_ISO) -no-reboot -no-shutdown diff --git a/scripts/reliefos/Makefile.runtime b/scripts/reliefos/Makefile.runtime index bbc4f47f..18b30403 100644 --- a/scripts/reliefos/Makefile.runtime +++ b/scripts/reliefos/Makefile.runtime @@ -1,13 +1,8 @@ # First-party runtime objects and runtime products, with upstream Kbuild # owning C/ASM compilation, header dependencies and command invalidation. -RUNTIME_DIR := $(O)/system/lib -RUNTIME_SO := $(RUNTIME_DIR)/libreliefos.so.2 -RUNTIME_COMPAT_SO := $(RUNTIME_DIR)/libleonos.so.2 -RUNTIME_ARCHIVE := $(O)/musl/lib/libreliefos.a -RUNTIME_COMPAT_ARCHIVE := $(O)/musl/lib/libleonos.a GBK_TABLE := $(O_INCLUDE)/generated/reliefos_gbk_table.h -PNG_CONFIG := $(RUNTIME_DEVELOPMENT_ROOT)/usr/include/pnglibconf.h +GBK_SOURCE := $(RELIEFOS_SRC)/userland/runtime/data/gbkuni30.txt # Make's built-in actions and the C++ extension need these values in each # recursive directory build. These are the same tools selected by the outer @@ -26,51 +21,25 @@ include $(RELIEFOS_SRC)/userland/runtime/src/Kbuild include $(RELIEFOS_SRC)/userland/auth/Kbuild RELIEFOS_CAPTURE_RUNTIME_KBUILD := -RUNTIME_FLAGS := --target=$(TRIPLE_USER) $(RELIEFOS_OPTIMIZATION_FLAGS) -std=c11 \ - -ffreestanding -fno-stack-protector -fPIC -ffunction-sections -fdata-sections \ - -Wall -Wextra -DRELIEFOS_USE_MUSL -D_GNU_SOURCE -mno-avx -mno-avx2 \ - -I$(HEADER_EXPORT_INCLUDE) -I$(PAM_ROOT)/usr/include -I$(AUTH_ROOT)/usr/include -I$(MUSL_SYSROOT)/include \ - -I$(RELIEFOS_SRC)/userland/runtime/include \ - -I$(O_INCLUDE) -I$(RELIEFOS_SRC)/include -isystem $(RUNTIME_DEVELOPMENT_ROOT)/usr/include \ - -include $(O_INCLUDE)/generated/autoconf.h \ - -ffile-prefix-map=$(RELIEFOS_SRC)=. -ffile-prefix-map=$(RELIEFOS_OUTPUT)=out -RUNTIME_CFLAGS ?= -RUNTIME_AUTH_LIBS := $(PAM_LIB) $(PAM_MISC_LIB) $(AUTH_ROOT)/lib/libcrypt.so.2 -RUNTIME_HEADERS := $(PAM_HEADER) $(AUTH_ROOT)/usr/include/crypt.h $(RUNTIME_DEVELOPMENT_PRODUCTS) -RUNTIME_BUILTINS := $(if $(RELIEFOS_PASSIVE),,$(shell $(TARGET_CC) --target=$(TRIPLE_USER) --rtlib=compiler-rt -print-libgcc-file-name 2>/dev/null)) - # Only first-party code is embedded; official library ABIs remain separate. RUNTIME_OBJECTS := \ $(addprefix $(O)/userland/auth/,$(RELIEFOS_AUTH_OBJECTS)) \ $(addprefix $(O)/userland/runtime/src/,$(RELIEFOS_RUNTIME_SRC_OBJECTS)) -export RUNTIME_FLAGS RUNTIME_CFLAGS RUNTIME_HEADERS AUTOCONF_H HEADER_EXPORT_INCLUDE -export GBK_TABLE PNG_CONFIG MUSL_STAMP RUNTIME_BUILTINS - -# Directory recursion must be enabled at the root for product targets to use -# each child built-in.a as the freshness edge for their direct object links. need-builtin := 1 -obj-y += userland/runtime/src/ userland/auth/ userland/musl-dev/ +obj-y += userland/runtime/src/ userland/auth/ +RUNTIME_CFLAGS ?= + +include $(srctree)/scripts/reliefos/Makefile.glibc-runtime + +export RUNTIME_FLAGS RUNTIME_CFLAGS RUNTIME_ASFLAGS RUNTIME_HEADERS AUTOCONF_H GBK_TABLE +export HEADER_EXPORT_INCLUDE userland/runtime/src userland/auth: \ - $(AUTOCONF_H) $(GBK_TABLE) $(PNG_CONFIG) $(MUSL_STAMP) $(RUNTIME_HEADERS) \ + $(AUTOCONF_H) $(GBK_TABLE) $(RUNTIME_HEADERS) \ $(HEADER_EXPORT_MANIFEST) $(RELIEFOS_CC_ID) $(RELIEFOS_AR_ID) -$(GBK_TABLE): $(RELIEFOS_GBK_TOOL) $(RELIEFOS_SRC)/third_party/musl/src/locale/gb18030.h +# Use the pinned, license-attributed mapping checked into the runtime. +$(GBK_TABLE): $(RELIEFOS_GBK_TOOL) $(GBK_SOURCE) $(Q)mkdir -p $(dir $@) - $(Q)$(RELIEFOS_GBK_TOOL) $(RELIEFOS_SRC)/third_party/musl/src/locale/gb18030.h $@ - -quiet_cmd_reliefos_runtime_shared = LD $@ - cmd_reliefos_runtime_shared = test -f '$(RUNTIME_BUILTINS)' || { echo 'missing compiler-rt builtins; select a complete Clang toolchain' >&2; exit 1; }; $(TARGET_LD) -shared --no-undefined --hash-style=both -soname $(notdir $@) -o $@.tmp $(RUNTIME_OBJECTS) -L$(MUSL_SYSROOT)/lib -l:libmimalloc.so.3 $(RUNTIME_AUTH_LIBS) $(RUNTIME_DEP_SHARED) -lc $(RUNTIME_BUILTINS); mv $@.tmp $@ -$(RUNTIME_SO) $(RUNTIME_COMPAT_SO): $(O)/userland/runtime/src/built-in.a $(O)/userland/auth/built-in.a $(RUNTIME_AUTH_LIBS) $(RUNTIME_DEP_SHARED) $(MUSL_SYSROOT)/lib/libc.so $(MUSL_SYSROOT)/lib/libmimalloc.so.3 $(RUNTIME_BUILTINS) $(RELIEFOS_LD_ID) FORCE - $(call if_changed,reliefos_runtime_shared) -targets += $(RUNTIME_SO) $(RUNTIME_COMPAT_SO) - -quiet_cmd_reliefos_runtime_archive = AR $@ - cmd_reliefos_runtime_archive = rm -f $@.tmp; $(TARGET_AR) rcsD $@.tmp $(RUNTIME_OBJECTS); mv $@.tmp $@ -$(RUNTIME_ARCHIVE) $(RUNTIME_COMPAT_ARCHIVE): $(O)/userland/runtime/src/built-in.a $(O)/userland/auth/built-in.a $(RELIEFOS_AR_ID) FORCE - $(call if_changed,reliefos_runtime_archive) -targets += $(RUNTIME_ARCHIVE) $(RUNTIME_COMPAT_ARCHIVE) - -.PHONY: runtime -runtime: $(RUNTIME_SO) $(RUNTIME_COMPAT_SO) $(RUNTIME_ARCHIVE) $(RUNTIME_COMPAT_ARCHIVE) + $(Q)$(RELIEFOS_GBK_TOOL) $(GBK_SOURCE) $@ diff --git a/scripts/reliefos/Makefile.sdk b/scripts/reliefos/Makefile.sdk deleted file mode 100644 index 28e41e01..00000000 --- a/scripts/reliefos/Makefile.sdk +++ /dev/null @@ -1,54 +0,0 @@ -# Relocatable musl SDK subset (the developer kit assembled from build output). -MUSL_SDK := $(O)/sdk/reliefos-musl-sdk -MUSL_SDK_ARCHIVE := $(O_PACKAGES)/reliefos-musl-sdk.tar.gz -SDK_EPOCH := $(or $(SOURCE_DATE_EPOCH),$(shell git -C $(RELIEFOS_SRC) show -s --format=%ct HEAD)) -SDK_INPUT_HEADERS := $(shell find $(RELIEFNT_DIR)/include/uapi $(RELIEFOS_SRC)/include/leonos $(RELIEFOS_SRC)/include/reliefos $(RELIEFOS_SRC)/userland/runtime/include/leonos $(RELIEFOS_SRC)/userland/runtime/include/reliefos -type f \( -name '*.h' -o -name '*.inc' \) | LC_ALL=C sort) -SDK_UAPI_NOTICES := $(RELIEFNT_DIR)/NOTICE $(RELIEFNT_DIR)/LICENSES/preferred/GPL-2.0 $(RELIEFNT_DIR)/LICENSES/exceptions/Linux-syscall-note -RELIEFOS_PARAMETERS_sdk := epoch=$(SDK_EPOCH)|headers=$(SDK_INPUT_HEADERS)|driver=$(RELIEFOS_SDK_DRIVER) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,sdk))) - -$(COMPONENT_SELECTION): $(O_CONFIG)/components.mk $(RELIEFOS_CONFIG_FILE) $(RELIEFOS_SRC)/configs/components.toml $(RELIEFOS_COMPONENT_TOOL) - $(Q)set -eu; mkdir -p $(dir $@) - $(Q)set -eu; $(O_HOST)/bin/reliefos-components --input $(RELIEFOS_SRC)/configs/components.toml \ - --config $(RELIEFOS_CONFIG_FILE) --output $(O_CONFIG)/components.mk --selection $@ - -MUSL_SDK_REQUIRED := $(MUSL_SDK)/bin/reliefos-musl-cc $(MUSL_SDK)/include/stdio.h \ - $(addprefix $(MUSL_SDK)/share/licenses/reliefnt/,NOTICE GPL-2.0 Linux-syscall-note) \ - $(MUSL_SDK)/include/pnglibconf.h $(MUSL_SDK)/include/mbedtls/ssl.h $(MUSL_SDK)/include/sqlite3.h $(addprefix $(MUSL_SDK)/lib/,libz.a libz.so.1 libpng.a libpng16.so.16 libsqlite3.a libsqlite3.so.0 libmbedcrypto.a libmbedcrypto.so.16 libmbedx509.a libmbedx509.so.7 libmbedtls.a libmbedtls.so.21) $(MUSL_SDK)/lib/crt1.o $(MUSL_SDK)/lib/crti.o \ - $(MUSL_SDK)/lib/crtn.o $(MUSL_SDK)/lib/libc.a $(MUSL_SDK)/lib/libc.so $(MUSL_SDK)/lib/libcrypt.a \ - $(MUSL_SDK)/lib/libreliefos.so.2 $(MUSL_SDK)/lib/libleonos.so.2 \ - $(MUSL_SDK)/lib/libreliefos.a $(MUSL_SDK)/lib/libleonos.a \ - $(MUSL_SDK)/include/alsa/asoundlib.h $(MUSL_SDK)/include/opl3.h \ - $(MUSL_SDK)/lib/libasound.so.2 $(MUSL_SDK)/lib/libasound.a \ - $(MUSL_SDK)/lib/libopl3.so.1 $(MUSL_SDK)/share/alsa/alsa.conf \ - $(MUSL_SDK)/lib/libreliefos-audio.so.1 $(MUSL_SDK)/include/reliefos/audio_control.h -$(MUSL_SDK_REQUIRED) &: $(RUNTIME_SO) $(RUNTIME_COMPAT_SO) $(RUNTIME_ARCHIVE) $(RUNTIME_COMPAT_ARCHIVE) $(RUNTIME_BUILTINS) \ - $(MUSL_STAMP) $(RELIEFOS_MUSL_ARTIFACTS) $(PAM_STAMP) $(AUTH_STAMP) $(SDK_INPUT_HEADERS) \ - $(HEADER_EXPORT_MANIFEST) $(AUDIO_SDK_PRODUCTS) $(SDK_UAPI_NOTICES) \ - $(RUNTIME_DEVELOPMENT_PRODUCTS) $(RELIEFOS_SDK_DRIVER) $(O_META)/sdk.parameters $(RELIEFOS_SRC)/tools/build/musl-sdk.sh - $(Q)set -eu; KERNEL_UAPI_NOTICE_ROOT=$(abspath $(RELIEFNT_DIR)) AUDIO_CONTROL_SO=$(abspath $(AUDIO_CONTROL_SO)) AUDIO_ALSA_ROOT=$(abspath $(AUDIO_ALSA_ROOT)) AUDIO_OPL_ROOT=$(abspath $(AUDIO_OPL_ROOT)) RUNTIME_BUILTINS=$(RUNTIME_BUILTINS) RUNTIME_DEVELOPMENT_ROOT=$(abspath $(RUNTIME_DEVELOPMENT_ROOT)) sh $(RELIEFOS_SRC)/tools/build/musl-sdk.sh $(RELIEFOS_SRC) $(MUSL_SYSROOT) $(RUNTIME_SO) $(RUNTIME_ARCHIVE) $(RUNTIME_COMPAT_SO) $(RUNTIME_COMPAT_ARCHIVE) $(PAM_ROOT) $(AUTH_ROOT) $(RELIEFOS_SDK_DRIVER) $(MUSL_SDK) $(SDK_EPOCH) $(HEADER_EXPORT_INCLUDE) - $(Q)set -eu; for product in $(MUSL_SDK_REQUIRED); do test -f "$$product" || exit 1; touch "$$product"; done - $(Q)set -eu; find $(MUSL_SDK) -mindepth 1 ! -type d -printf '%P\n' | LC_ALL=C sort >$(MUSL_SDK).files - -$(MUSL_SDK_ARCHIVE): $(MUSL_SDK_REQUIRED) $(O_META)/sdk.parameters - $(Q)set -eu; mkdir -p $(dir $@) - $(Q)set -eu; tar --sort=name --mtime=@$(SDK_EPOCH) --owner=0 --group=0 --numeric-owner -cf $@.tar.tmp -C $(dir $(MUSL_SDK)) $(notdir $(MUSL_SDK)) - $(Q)set -eu; gzip -n -c $@.tar.tmp >$@.tmp - $(Q)set -eu; mv $@.tmp $@ - $(Q)set -eu; rm $@.tar.tmp - -.PHONY: musl-sdk sdk -musl-sdk: $(MUSL_SDK_ARCHIVE) -# `sdk` is the relocatable musl SDK built entirely from build output. The old -# checked-in devtools kit and the LeonOS4-Developer-SDK.zip are gone (user -# decision 2026-09-25); musl is the single C sysroot source. -sdk: $(MUSL_SDK_ARCHIVE) - -# Every staged member participates in recovery, including non-primary headers, -# documentation and symlinks. Presence signatures are stable on intact trees. -define RELIEFOS_SDK_PRESENCE -$(O_META)/$(1)-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $$(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(2) $(2).files $$@ -$(3): $(O_META)/$(1)-present.parameters -endef -$(eval $(call RELIEFOS_SDK_PRESENCE,musl-sdk,$(MUSL_SDK),$(MUSL_SDK_REQUIRED))) diff --git a/scripts/reliefos/Makefile.site b/scripts/reliefos/Makefile.site deleted file mode 100644 index 8459f636..00000000 --- a/scripts/reliefos/Makefile.site +++ /dev/null @@ -1,48 +0,0 @@ -# GitHub Pages assembly target. -# -# The Pages tree is assembled from build artifacts that already exist by this -# point: the RPR tree from $(RPR_PAGES) (tools/build/rpr-pages.sh) and the -# installer ISO from $(INSTALLER_ISO) (scripts/reliefos/Makefile.images). Nothing here rebuilds a -# kernel or APK repository; it only arranges finished outputs into one atomic, -# deployable site and adds the human-readable pages (plan §19, §29, §31). -# -# make pages assemble out///pages/ (home + download + rpr + docs) -# -# `site` and `download-page` are provided as the plan's named entry points and -# are wired to the same atomic assembly: the download page cannot be published -# without the shared stylesheet at the site root, so a partial tree would ship -# broken links. Keeping one output is what makes the release atomic (plan §45). -# `rpr-pages` generates only the local package/kernel subtree; site navigation -# and documentation links require this complete Pages assembly. -SITE_CSS := $(RELIEFOS_SRC)/resources/pages/css/reliefos.css -SITE_SCRIPTS := $(RELIEFOS_SRC)/tools/build/site.sh \ - $(RELIEFOS_SRC)/tools/build/download-page.sh \ - $(RELIEFOS_SRC)/tools/build/home-page.sh \ - $(RELIEFOS_SRC)/tools/build/rpr-human-pages.sh \ - $(RELIEFOS_SRC)/tools/build/docs-page.sh \ - $(RELIEFOS_SRC)/scripts/build-docs.sh \ - $(RELIEFNT_DIR)/scripts/build-docs.sh \ - $(RELIEFOS_SRC)/scripts/docs-python.sh \ - $(RELIEFNT_DIR)/scripts/docs-python.sh \ - $(RELIEFOS_SRC)/scripts/update-doc-translations.py \ - $(RELIEFNT_DIR)/scripts/update-doc-translations.py \ - $(RELIEFOS_SRC)/tools/build/site-common.sh -SITE_TRANSLATIONS := $(addprefix $(RELIEFOS_SRC)/resources/pages/i18n/,zh-CN.sh en.sh ja.sh) \ - $(RELIEFOS_SRC)/resources/pages/i18n -# Each repository owns its Documentation/ tree. Directory prerequisites also -# track removed pages, so deleted source cannot linger in a published manual. -SITE_DOCS := $(shell find $(RELIEFOS_SRC)/Documentation $(RELIEFNT_DIR)/Documentation \( -type f -o -type d \) | LC_ALL=C sort) \ - $(RELIEFOS_SRC)/configs/build-version $(RELIEFNT_DIR)/configs/build-version -PAGES := $(O)/pages - -$(PAGES)/.site-complete $(PAGES)/index.html &: \ - $(RPR_PAGES)/.complete $(RPR_PAGES)/manifest.json \ - $(INSTALLER_ISO) $(BUILD_INFO_HEADER) $(SITE_CSS) $(SITE_SCRIPTS) $(SITE_TRANSLATIONS) $(SITE_DOCS) - $(Q)sh $(RELIEFOS_SRC)/tools/build/site.sh \ - $(RPR_PAGES) $(INSTALLER_ISO) $(BUILD_INFO_HEADER) $(SITE_CSS) $(PAGES) $(RELIEFNT_DIR)/Documentation - -.PHONY: pages site download-page docs-page -pages: $(PAGES)/.site-complete -site: pages -download-page: pages -docs-page: pages diff --git a/scripts/reliefos/Makefile.tests b/scripts/reliefos/Makefile.tests index 279a72ee..23184e33 100644 --- a/scripts/reliefos/Makefile.tests +++ b/scripts/reliefos/Makefile.tests @@ -1,182 +1,77 @@ -# Test targets. -# -# The core harness is POSIX shell and C: the acceptance rule for this migration -# may not depend on the interpreter it is auditing (plan section 2). - -export RELIEFOS_TEST_DEP_ROOT := $(abspath $(HOST_RUNTIME_DEVELOPMENT_ROOT)) -export RELIEFOS_TEST_BUILD_ROOT := $(abspath $(O)) +# The native tests never stage a distribution or require signing keys. RELIEFOS_TEST_PYTHON ?= python3 - -RELIEFOS_TEST_TMP := $(if $(TMPDIR),$(TMPDIR),/tmp)/reliefos-tests-$(shell id -u) - -# C unit tests for the shared host primitives and the JSON reader. -RELIEFOS_HOST_TEST_BINS := $(O_HOST)/tests/test_common $(O_HOST)/tests/test_json -RELIEFOS_HOST_TEST_SANITISED := $(O_HOST)/tests-sanitised/test_common \ - $(O_HOST)/tests-sanitised/test_json -RELIEFOS_HOST_TEST_BINS += $(O_HOST)/tests/test_locale_conf -RELIEFOS_HOST_TEST_SANITISED += $(O_HOST)/tests-sanitised/test_locale_conf - -# Shell contract tests. test-bootstrap.sh is the public entry-point surface. -# test-brand-identity.sh is the ReliefOS/ReliefNT rename gate (plan task 1) and -# is picked up by this wildcard on purpose: every test-build run audits names. -RELIEFOS_BUILD_TESTS := $(sort $(wildcard $(RELIEFOS_SRC)/tests/build/test-*.sh)) -# Local `make test` keeps the complete inventory. CI runs its core in the image -# build and the explicit heavy groups in independent runner/source checkouts. -# The selector validates all shards before filtering, so a renamed/missing -# offloaded suite fails before a partial test run can be reported as complete. -RELIEFOS_CI_TEST_GROUP ?= all -ifneq ($(words $(RELIEFOS_CI_TEST_GROUP)),1) -$(error RELIEFOS_CI_TEST_GROUP must be all or core) -endif -ifeq ($(filter all core,$(RELIEFOS_CI_TEST_GROUP)),) -$(error RELIEFOS_CI_TEST_GROUP must be all or core; use test-ci-kernel/auth/pages for focused groups) -endif -RELIEFOS_CI_SELECTOR := $(RELIEFOS_SRC)/tools/ci_test_shards.py -define RELIEFOS_CI_SELECT_TESTS -$(eval reliefos_ci_selected := $(shell $(RELIEFOS_TEST_PYTHON) '$(RELIEFOS_CI_SELECTOR)' --root '$(RELIEFOS_SRC)' --group $(1) || echo __CI_SHARD_ERROR__))$(if $(filter __CI_SHARD_ERROR__,$(reliefos_ci_selected)),$(error CI test shard validation failed),$(addprefix $(RELIEFOS_SRC)/tests/build/,$(reliefos_ci_selected))) -endef -RELIEFOS_SELECTED_BUILD_TESTS := $(RELIEFOS_BUILD_TESTS) -ifeq ($(RELIEFOS_CI_TEST_GROUP),core) -# Select only when the contract-test recipe needs the inventory. Other goals -# may forward a guest/kernel Python path that is not a host interpreter. -RELIEFOS_SELECTED_BUILD_TESTS = $(call RELIEFOS_CI_SELECT_TESTS,core) -endif -ifneq ($(filter test-ci-kernel test-ci-auth test-ci-pages test-ci-validate,$(MAKECMDGOALS)),) -# Validate while parsing, before any expensive prerequisite can start. -reliefos_ci_validated := $(call RELIEFOS_CI_SELECT_TESTS,all) +RELIEFOS_TEST_TMP := $(abspath $(O))/tmp +RELIEFOS_TEST_ROOT := $(RELIEFOS_SRC)/tests/build +RELIEFOS_ALL_TESTS := $(sort $(wildcard $(RELIEFOS_TEST_ROOT)/test-*.sh)) +RELIEFOS_DESKTOP_TESTS := $(addprefix $(RELIEFOS_TEST_ROOT)/,$(file <$(RELIEFOS_TEST_ROOT)/desktop-suites.list)) +ifneq ($(filter-out $(RELIEFOS_ALL_TESTS),$(RELIEFOS_DESKTOP_TESTS)),) +$(error desktop-suites.list mentions a missing test) endif -# Suites that are too long to run on every change but must not be forgotten: -# repeated -j1/-j8 comparisons and, later, guest boots. Plan section 13 forbids -# presenting an unrun long test as a skipped pass, so they are a separate goal. -RELIEFOS_LONG_TESTS := $(sort $(wildcard $(RELIEFOS_SRC)/tests/long/test-*.sh)) - -# The plain and sanitised suites are separate goals so `test-tools` keeps a -# single recipe: the plan requires ASan/UBSan at the tool boundary, not merely a -# clean compile. -.PHONY: reliefos-test-tools-plain reliefos-test-tools-sanitised \ - leonos-test-tools-plain leonos-test-tools-sanitised - -test-tools: reliefos-test-tools-plain reliefos-test-tools-sanitised - -reliefos-test-tools-plain: $(RELIEFOS_HOST_TEST_BINS) - @set -eu; for test_binary in $(RELIEFOS_HOST_TEST_BINS); do \ - $(call RELIEFOS_LOG_SHELL,RUN,$$test_binary); \ - $$test_binary; \ +RELIEFOS_BUILD_TESTS := $(filter-out $(RELIEFOS_DESKTOP_TESTS),$(RELIEFOS_ALL_TESTS)) +RELIEFOS_HOST_TEST_NAMES := test_common test_json test_locale_conf +RELIEFOS_HOST_TEST_BINS := $(addprefix $(O_HOST)/tests/,$(RELIEFOS_HOST_TEST_NAMES)) +RELIEFOS_HOST_TEST_SANITISED := $(addprefix $(O_HOST)/tests-sanitised/,$(RELIEFOS_HOST_TEST_NAMES)) + +.PHONY: test test-build test-desktop test-tools test-ci-build test-ci-desktop test-ci-kernel +test: test-build test-desktop +test-ci-build: test-build +test-ci-desktop: test-desktop +test-ci-kernel: test-kernel-host + $(Q)mkdir -p '$(RELIEFOS_TEST_TMP)' + $(Q)set -eu; export TMPDIR='$(RELIEFOS_TEST_TMP)' PYTHONDONTWRITEBYTECODE=1; \ + for suite in test_kernel_module_tools test_kernel_modules_stage test_kernel_bundle \ + test_initramfs_stage test_kernel_payload; do \ + $(call RELIEFOS_LOG_SHELL,RUN,$$suite); \ + $(RELIEFOS_TEST_PYTHON) '$(RELIEFOS_SRC)/tools/'$$suite.py; \ done -reliefos-test-tools-sanitised: $(RELIEFOS_HOST_TEST_SANITISED) - @set -eu; for test_binary in $(RELIEFOS_HOST_TEST_SANITISED); do \ - $(call RELIEFOS_LOG_SHELL,RUN,$$test_binary); \ - ASAN_OPTIONS=detect_leaks=1 \ - UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 $$test_binary; \ +test-tools: $(RELIEFOS_HOST_TEST_BINS) $(RELIEFOS_HOST_TEST_SANITISED) + $(Q)set -eu; for binary in $^; do \ + $(call RELIEFOS_LOG_SHELL,RUN,$$binary); \ + ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 $$binary; \ done -# Contract tests get the built tool and the lock file by name so they never -# reach for a stale copy left in the output tree. -# -# A suite can report ok lines while still exiting 0 on a failure it counted -# itself, and it can exit non-zero after printing nothing. Both are checked: the -# status *and* any `FAIL - ` line in the captured report. -# -# $(call RELIEFOS_RUN_CONTRACT_TESTS,tests...) -# The recursive recipe prefix keeps jobserver descriptors open for the scripts' -# submakes. Stop before creating fixtures under dry-run, query or touch mode. +# '+' on each consumer passes the native jobserver to contract submakes. An +# explicit recipe guard keeps dry-run, touch and query from running a test. define RELIEFOS_RUN_CONTRACT_TESTS set -eu; case "$${MAKEFLAGS%% *}" in *[nqt]*) exit 0;; esac; \ + mkdir -p '$(RELIEFOS_TEST_TMP)'; \ + export TMPDIR='$(RELIEFOS_TEST_TMP)' RELIEFOS_TEST_BUILD_ROOT='$(abspath $(O))' \ + RELIEFOS_DEPS='$(abspath $(RELIEFOS_DEPS_TOOL))' \ + RELIEFOS_LOCK='$(RELIEFOS_SRC)/configs/grub.lock.json' \ + RELIEFOS_EMIT='$(abspath $(RELIEFOS_EMIT))' \ + RELIEFOS_TEST_HEADERS='$(abspath $(HEADER_EXPORT_INCLUDE))' \ + RELIEFOS_NLS_EXTRACT='$(abspath $(RELIEFOS_NLS_EXTRACT))'; \ for contract_test in $(1); do \ $(call RELIEFOS_LOG_SHELL,RUN,$$contract_test); \ - started=$$(date +%s); \ - report=$$(mktemp); \ - if RELIEFOS_DEPS='$(abspath $(RELIEFOS_DEPS_TOOL))' \ - LEONOS_DEPS='$(abspath $(RELIEFOS_DEPS_TOOL))' \ - RELIEFOS_LOCK='$(RELIEFOS_SRC)/configs/dependencies.lock.json' \ - LEONOS_LOCK='$(RELIEFOS_SRC)/configs/dependencies.lock.json' \ - RELIEFOS_CACHE='$(abspath $(RELIEFOS_CACHE))' \ - GRUB_HOST_ROOT='$(GRUB_HOST_ROOT)' \ - GRUB_EFI_DIR='$(GRUB_EFI_DIR)' \ - RELIEFOS_EMIT='$(abspath $(RELIEFOS_EMIT))' \ - LEONOS_EMIT='$(abspath $(RELIEFOS_EMIT))' \ - RELIEFOS_TEST_BUSYBOX='$(abspath $(INITRAMFS_BUSYBOX_ELF))' \ - RELIEFOS_KERNEL_TOOLS='$(abspath $(RELIEFOS_KERNEL_TOOLS))' \ - RELIEFOS_TEST_RECOVERY='$(abspath $(RELIEFOS_KERNEL_RECOVERY))' \ - RELIEFOS_TEST_HEADERS='$(abspath $(HEADER_EXPORT_INCLUDE))' \ - sh $$contract_test >$$report 2>&1; then status=0; else status=1; fi; \ - cat $$report; \ + started=$$(date +%s); report=$$(mktemp); status=0; \ + sh "$$contract_test" >"$$report" 2>&1 || status=$$?; \ + cat "$$report"; \ printf 'TIME - %s: %ss\n' "$${contract_test##*/}" "$$(($$(date +%s) - started))"; \ - if grep -q 'FAIL - ' $$report; then status=1; fi; \ - rm -f $$report; \ - if [ $$status -ne 0 ]; then \ - printf 'not ok - %s reported a failure\n' $$contract_test; exit 1; \ - fi; \ + if grep -q 'FAIL - ' "$$report"; then status=1; fi; \ + rm -f -- "$$report"; \ + if [ "$$status" != 0 ]; then exit "$$status"; fi; \ done endef -# Keep the former private goal names available to scripts during the rename. -leonos-test-tools-plain: reliefos-test-tools-plain -leonos-test-tools-sanitised: reliefos-test-tools-sanitised - -test-build: sdk rootfs-raw $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS) test-tools $(RELIEFOS_HOST_TOOLS) $(INITRAMFS_BUSYBOX_ELF) $(INITRAMFS_BUSYBOX_LINKS) $(RELIEFOS_KERNEL_RECOVERY) $(HEADER_EXPORT_MANIFEST) - +@$(call RELIEFOS_RUN_CONTRACT_TESTS,$(RELIEFOS_SELECTED_BUILD_TESTS)) - @$(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_xorg_qemu.py --source-only - -# The signed Installer update fixtures use the real APK producer and installed -# Bash. Require the managed tree explicitly so a clean `make test-build` has -# the same inputs as CI after its image build. -test-build: $(UPSTREAM_APK) $(APK_MANAGED_ROOT)/.apk-complete - -.PHONY: test-ci-validate test-ci-kernel test-ci-auth test-ci-pages -test-ci-validate: - @$(RELIEFOS_TEST_PYTHON) '$(RELIEFOS_CI_SELECTOR)' --root '$(RELIEFOS_SRC)' --check - -# These contracts build their own disposable outputs; staging the complete -# SDK/rootfs first would duplicate the image build for every CI shard. -test-ci-kernel test-ci-auth: test-ci-validate $(RELIEFOS_HOST_TOOLS) - +@$(call RELIEFOS_RUN_CONTRACT_TESTS,$(call RELIEFOS_CI_SELECT_TESTS,$(patsubst test-ci-%,%,$@))) +test-build: test-tools tools + $(Q)mkdir -p '$(RELIEFOS_TEST_TMP)' + $(Q)TMPDIR='$(RELIEFOS_TEST_TMP)' $(RELIEFOS_TEST_PYTHON) '$(RELIEFOS_SRC)/tools/test_test_ownership.py' + $(Q)TMPDIR='$(RELIEFOS_TEST_TMP)' $(RELIEFOS_TEST_PYTHON) '$(RELIEFOS_SRC)/tools/tests/test_legacy_api_removal.py' + +@$(call RELIEFOS_RUN_CONTRACT_TESTS,$(RELIEFOS_BUILD_TESTS)) -# Pages uses the real native module/initramfs producers and static verifier. -test-ci-pages: test-ci-validate $(RELIEFOS_HOST_TOOLS) $(INITRAMFS_BUSYBOX_ELF) $(INITRAMFS_BUSYBOX_LINKS) $(RELIEFOS_KERNEL_RECOVERY) - +@$(call RELIEFOS_RUN_CONTRACT_TESTS,$(call RELIEFOS_CI_SELECT_TESTS,pages)) +test-desktop: $(HEADER_EXPORT_MANIFEST) + +@$(call RELIEFOS_RUN_CONTRACT_TESTS,$(RELIEFOS_DESKTOP_TESTS)) -test-long: $(RELIEFOS_HOST_TOOLS) grub-host grub-efi - +@$(call RELIEFOS_RUN_CONTRACT_TESTS,$(RELIEFOS_LONG_TESTS)) - -# Audio userland is an explicit host gate because it needs the staged ALSA and -# Nuked OPL3 products. Keep it separate from the generic shell suite so a -# missing audio staging tree is reported as a real prerequisite failure rather -# than silently skipped. -.PHONY: test-audio -test-audio: - @python3 $(RELIEFOS_SRC)/tools/test_audio_userland.py controls settings doom-output doom-mixer doom-music - -test: test-tools test-build test-system-update test-kernel-update test-boot-health - -.PHONY: test-directory-api -test-directory-api: - $(Q)python3 $(RELIEFOS_SRC)/tools/test_directory_api.py - -test: test-directory-api - -# Installer navigation and deferred partition editing must stay in the normal -# host gate: these exercise real GPT images without touching host devices. -.PHONY: test-installer-flow -test-installer-flow: $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS) - $(Q)PYTHONDONTWRITEBYTECODE=1 $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_installer_plan.py - $(Q)PYTHONDONTWRITEBYTECODE=1 $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_installer_setup.py - $(Q)PYTHONDONTWRITEBYTECODE=1 $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_installer_input.py - -test: test-installer-flow - -# Kernel implementation tests are owned and selected by ReliefNT. The parent -# preserves convenient Make goals and delegates; it owns no kernel suite list. +# Kernel implementations and suite selection belong to ReliefNT. RELIEFOS_KERNEL_TEST_GOALS := test-vdso test-smp-time test-page-cache-growth \ - test-user-return test-syscall-io test-kernel-host test-kernel-ownership + test-user-return test-syscall-io test-kernel-host test-kernel-ownership .PHONY: $(RELIEFOS_KERNEL_TEST_GOALS) $(RELIEFOS_KERNEL_TEST_GOALS): - $(Q)mkdir -p $(O)/tmp/kernel-tests + $(Q)mkdir -p '$(RELIEFOS_TEST_TMP)' +$(Q)$(RELIEFNT_CONFIG_ENV) $(MAKE) -C '$(RELIEFNT_DIR)' O='$(abspath $(O))/kernel-tests/$@' \ - TMPDIR='$(or $(TMPDIR),$(abspath $(O))/tmp/kernel-tests)' \ - RELIEFNT_TEST_PYTHON='$(or $(RELIEFOS_TEST_PYTHON),python3)' \ - $(patsubst test-kernel-%,test-%,$@) + TMPDIR='$(abspath $(or $(TMPDIR),$(RELIEFOS_TEST_TMP)))' RELIEFNT_TEST_PYTHON='$(RELIEFOS_TEST_PYTHON)' \ + $(if $(filter test-kernel-host,$@),test-ownership test-host-smoke test-tools,$(patsubst test-kernel-%,test-%,$@)) # Each instrumentation mode has its own native output context. Sources and # generated dependency files are never shared across the two compiler policies. @@ -194,49 +89,3 @@ $(addprefix $(2)/,test_common test_json test_locale_conf): native-host-tests-$(1 endef $(eval $(call RELIEFOS_NATIVE_HOST_TESTS,plain,$(O_HOST)/tests,$(HOST_CFLAGS),)) $(eval $(call RELIEFOS_NATIVE_HOST_TESTS,sanitised,$(O_HOST)/tests-sanitised,$(RELIEFOS_SANITISE) -g -O1,$(RELIEFOS_SANITISE) -g -O1)) -.PHONY: test test-tools test-build test-long - -.PHONY: test-reliefapk -.PHONY: test-openrc-controller -.PHONY: test-network-controller -test-network-controller: $(HEADER_EXPORT_MANIFEST) - $(Q)TMPDIR='$(abspath $(O))/tmp' RELIEFOS_TEST_HEADERS='$(abspath $(HEADER_EXPORT_INCLUDE))' sh $(RELIEFOS_SRC)/tests/build/test-network-controller.sh - -test-openrc-controller: - $(Q)TMPDIR='$(abspath $(O))/tmp' sh $(RELIEFOS_SRC)/tests/build/test-openrc-controller.sh - -test-reliefapk: - $(Q)TMPDIR='$(abspath $(O))/tmp' sh $(RELIEFOS_SRC)/tests/build/test-reliefapk-model.sh - $(Q)TMPDIR='$(abspath $(O))/tmp' sh $(RELIEFOS_SRC)/tests/build/test-reliefapk-process.sh - $(Q)TMPDIR='$(abspath $(O))/tmp' sh $(RELIEFOS_SRC)/tests/build/test-reliefapk-repositories.sh - -.PHONY: test-reliefapk-apk -test-reliefapk-apk: $(UPSTREAM_APK) - $(Q)TMPDIR='$(abspath $(O))/tmp' python3 $(RELIEFOS_SRC)/tools/tests/test_reliefapk_apk.py --apk $(abspath $(UPSTREAM_APK)) - -.PHONY: test-system-update -test-system-update: $(USERLAND_DIR)/systemupdate.elf $(INITRAMFS_BUSYBOX_ELF) $(UPSTREAM_APK) $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS) - $(Q)mkdir -p '$(abspath $(O))/tmp' - $(Q)TMPDIR='$(abspath $(O))/tmp' RELIEFOS_TEST_SYSTEM_UPDATE='$(abspath $(USERLAND_DIR))/systemupdate.elf' \ - RELIEFOS_TEST_BUSYBOX='$(abspath $(INITRAMFS_BUSYBOX_ELF))' RELIEFOS_TEST_APK='$(abspath $(UPSTREAM_APK))' \ - $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_system_update.py - $(Q)TMPDIR='$(abspath $(O))/tmp' $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/tests/test_system_update_packaging.py --apk '$(abspath $(UPSTREAM_APK))' - $(Q)TMPDIR='$(abspath $(O))/tmp' RELIEFOS_TEST_BUSYBOX='$(abspath $(INITRAMFS_BUSYBOX_ELF))' \ - RELIEFOS_TEST_APK='$(abspath $(UPSTREAM_APK))' $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_system_update_sanitizers.py - -.PHONY: test-kernel-update -test-kernel-update: $(HOST_RUNTIME_DEVELOPMENT_PRODUCTS) $(RELIEFOS_KERNEL_TOOLS) $(RELIEFOS_KERNEL_RECOVERY) $(USERLAND_DIR)/bootinstall.elf $(USERLAND_DIR)/systemupdate.elf $(USERLAND_DIR)/rprfetch.elf $(INITRAMFS_BUSYBOX_ELF) $(UPSTREAM_APK) - $(Q)mkdir -p '$(abspath $(O))/tmp' - $(Q)TMPDIR='$(abspath $(O))/tmp' RELIEFOS_KERNEL_TOOLS='$(abspath $(RELIEFOS_KERNEL_TOOLS))' \ - RELIEFOS_TEST_RECOVERY='$(abspath $(RELIEFOS_KERNEL_RECOVERY))' \ - RELIEFOS_TEST_BOOTINSTALL='$(abspath $(USERLAND_DIR))/bootinstall.elf' \ - RELIEFOS_TEST_SYSTEM_UPDATE='$(abspath $(USERLAND_DIR))/systemupdate.elf' \ - RELIEFOS_TEST_BUSYBOX='$(abspath $(INITRAMFS_BUSYBOX_ELF))' RELIEFOS_TEST_APK='$(abspath $(UPSTREAM_APK))' \ - $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_kernel_update.py - -.PHONY: test-boot-health -test-boot-health: grub-host grub-efi - $(Q)mkdir -p '$(abspath $(O))/tmp' - $(Q)set -eu; output=$$(mktemp -d '$(abspath $(O))/tmp/boot-health.XXXXXX'); rmdir "$$output"; \ - $(RELIEFOS_TEST_PYTHON) $(RELIEFOS_SRC)/tools/test_boot_health_qemu.py --output "$$output" \ - --grub-host '$(abspath $(GRUB_HOST_ROOT))' --grub-efi '$(abspath $(GRUB_EFI_DIR))' diff --git a/scripts/reliefos/Makefile.third-party b/scripts/reliefos/Makefile.third-party deleted file mode 100644 index e4128427..00000000 --- a/scripts/reliefos/Makefile.third-party +++ /dev/null @@ -1,201 +0,0 @@ -# Third-party components: the dependency lock file, the download cache, and the -# upstream sources the userland links against. -# -# Nothing here decides *how* an upstream project builds. Each component is -# configured and compiled by its own upstream build system, driven by a short -# script in tools/build; this fragment only says which pinned source is used, -# which products prove it worked, and when the work has to be redone. - -# Native compiler identity targets are declared before the first product -# directory edge so recursive Kbuilds never need to invent rules for them. -RELIEFOS_CC_ID := $(O_META)/target-cc.identity -RELIEFOS_CXX_ID := $(O_META)/target-cxx.identity -RELIEFOS_LD_ID := $(O_META)/target-ld.identity -RELIEFOS_AR_ID := $(O_META)/target-ar.identity -export RELIEFOS_CC_ID RELIEFOS_CXX_ID RELIEFOS_LD_ID RELIEFOS_AR_ID -RELIEFOS_TOOL_ID_SCRIPT := $(RELIEFOS_SRC)/scripts/reliefos/hostcc-identity.sh -reliefos_tool_hash = $(if $(RELIEFOS_PASSIVE)$(RELIEFOS_INSPECT),deferred,$(shell { printf '%s\n' '$(1)'; $(1) --version 2>&1; sh '$(RELIEFOS_TOOL_ID_SCRIPT)' $(1); } | sha256sum | cut -d' ' -f1)) -RELIEFOS_CC_VERSION := $(call reliefos_tool_hash,$(TARGET_CC)) -RELIEFOS_CXX_VERSION := $(call reliefos_tool_hash,$(TARGET_CXX)) -RELIEFOS_LD_VERSION := $(call reliefos_tool_hash,$(TARGET_LD)) -RELIEFOS_AR_VERSION := $(call reliefos_tool_hash,$(TARGET_AR)) - -quiet_cmd_reliefos_cc_identity = ID CC $@ - cmd_reliefos_cc_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_CC)' '$(RELIEFOS_CC_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi -quiet_cmd_reliefos_cxx_identity = ID CXX $@ - cmd_reliefos_cxx_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_CXX)' '$(RELIEFOS_CXX_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi -quiet_cmd_reliefos_ld_identity = ID LD $@ - cmd_reliefos_ld_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_LD)' '$(RELIEFOS_LD_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi -quiet_cmd_reliefos_ar_identity = ID AR $@ - cmd_reliefos_ar_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_AR)' '$(RELIEFOS_AR_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi - -$(RELIEFOS_CC_ID): FORCE | $(O_META) - $(call if_changed,reliefos_cc_identity) -$(RELIEFOS_CXX_ID): FORCE | $(O_META) - $(call if_changed,reliefos_cxx_identity) -$(RELIEFOS_LD_ID): FORCE | $(O_META) - $(call if_changed,reliefos_ld_identity) -$(RELIEFOS_AR_ID): FORCE | $(O_META) - $(call if_changed,reliefos_ar_identity) -targets += $(RELIEFOS_CC_ID) $(RELIEFOS_CXX_ID) $(RELIEFOS_LD_ID) $(RELIEFOS_AR_ID) - -RELIEFOS_LOCK ?= $(if $(strip $(LEONOS_LOCK)),$(LEONOS_LOCK),$(RELIEFOS_SRC)/configs/dependencies.lock.json) -RELIEFOS_FETCH_SCRIPT ?= $(if $(strip $(LEONOS_FETCH_SCRIPT)),$(LEONOS_FETCH_SCRIPT),$(RELIEFOS_SRC)/tools/build/fetch.sh) - -# --- the lock file must describe what it claims ------------------------------- -# Parse-time, but read-only: `make fetch` and every adapter consult the lock -# through reliefos-deps, and a broken file has to stop the build before anything -# is downloaded. -$(RELIEFOS_CACHE): - $(Q)mkdir -p $@ - -.PHONY: reliefos-check-lock leonos-check-lock -reliefos-check-lock: | $(RELIEFOS_O_MARKER) $(RELIEFOS_DEPS_TOOL) - $(call RELIEFOS_LOG,CHECK,$(RELIEFOS_LOCK)) - $(Q)$(RELIEFOS_DEPS_TOOL) --lock $(RELIEFOS_LOCK) --check --root $(RELIEFOS_SRC) -leonos-check-lock: reliefos-check-lock - -fetch: reliefos-check-lock reliefnt-fetch | $(RELIEFOS_CACHE) - $(call RELIEFOS_LOG,FETCH,$(RELIEFOS_CACHE)) - $(Q)sh $(RELIEFOS_FETCH_SCRIPT) --deps $(RELIEFOS_DEPS_TOOL) --lock $(RELIEFOS_LOCK) \ - --cache $(RELIEFOS_CACHE) - -# URL liveness for everything `make fetch` would download: a 404 or a vanished -# mirror is named here before a build ever has to refuse for missing cache -# bytes. The kernel checkout's locked URLs are probed the same way (see -# reliefnt-fetch-check in scripts/reliefos/Makefile.kernel). Probes only: nothing is downloaded. -.PHONY: fetch-check -fetch-check: reliefos-check-lock reliefnt-fetch-check - $(call RELIEFOS_LOG,FETCH-CHECK,$(RELIEFOS_LOCK)) - $(Q)sh $(RELIEFOS_SRC)/tools/build/fetch-check.sh --deps $(RELIEFOS_DEPS_TOOL) \ - --lock $(RELIEFOS_LOCK) - -# Used by the build itself: a dependency that was never fetched stops the build -# with the id and the command that fixes it, instead of silently going online -# (plan section 9). -.PHONY: reliefos-verify-cache leonos-verify-cache -reliefos-verify-cache: | $(RELIEFOS_DEPS_TOOL) - $(Q)sh $(RELIEFOS_FETCH_SCRIPT) --deps $(RELIEFOS_DEPS_TOOL) --lock $(RELIEFOS_LOCK) \ - --cache $(RELIEFOS_CACHE) --verify-only -leonos-verify-cache: reliefos-verify-cache - -# --- musl and mimalloc -------------------------------------------------------- -MUSL_SYSROOT := $(O_SYSROOT)/musl -MUSL_STAMP := $(MUSL_SYSROOT)/.leonos-musl.json -MUSL_WORK := $(O_THIRD_PARTY)/musl -MUSL_SCRIPT := $(RELIEFOS_SRC)/tools/build/musl-sysroot.sh -RELIEFOS_UPSTREAM_MAKE_ENV := $(RELIEFOS_SRC)/tools/build/upstream-make-environment.sh -MUSL_STACK_OBJECT := $(O)/userland/musl-dev/stack_chk_fail_local.o -MUSL_LIBSSP_ARCHIVE := $(MUSL_SYSROOT)/lib/libssp_nonshared.a -userland/musl-dev: $(RELIEFOS_CC_ID) $(RELIEFOS_AR_ID) -# Route object existence through the native directory Kbuild; the object itself -# is still compiled and dependency-tracked only by userland/musl-dev/Kbuild. -$(MUSL_STACK_OBJECT): userland/musl-dev ; - -# musl's own configure probes with the compiler word, so the target triple has -# to stay inside CC; these are the flags the retired Python driver passed. -RELIEFOS_MUSL_CFLAGS := -O2 -fno-stack-protector -mno-avx - -# The products the rest of the build links against. Declaring them makes an -# install that "succeeded" while leaving something out a Make error rather than -# a link failure three stages later. -RELIEFOS_MUSL_ARTIFACTS := \ - $(MUSL_SYSROOT)/lib/libc.so \ - $(MUSL_SYSROOT)/lib/libc.a \ - $(MUSL_SYSROOT)/lib/libmimalloc.so.3 \ - $(MUSL_SYSROOT)/lib/mimalloc.o \ - $(MUSL_SYSROOT)/lib/Scrt1.o \ - $(MUSL_SYSROOT)/lib/crt1.o \ - $(MUSL_SYSROOT)/lib/crti.o \ - $(MUSL_SYSROOT)/lib/crtn.o \ - $(MUSL_SYSROOT)/lib/rcrt1.o \ - $(MUSL_LIBSSP_ARCHIVE) \ - $(MUSL_SYSROOT)/include/stdio.h \ - $(MUSL_SYSROOT)/include/mimalloc.h \ - $(MUSL_SYSROOT)/share/licenses/musl/COPYRIGHT \ - $(MUSL_SYSROOT)/share/licenses/mimalloc/LICENSE - -# The whole lock file digest is part of the signature rather than just the musl -# entries. That is deliberate: reading a subset here would need reliefos-deps to -# exist before it has been built, and this project does not parse JSON with sed. -# The cost is one extra sysroot rebuild when an unrelated dependency is edited. -RELIEFOS_LOCK_DIGEST := $(if $(RELIEFOS_PASSIVE),unavailable,\ - $(shell sha256sum $(RELIEFOS_LOCK) 2>/dev/null | cut -d' ' -f1)) -# git is part of the contract: the pinned trees are submodule checkouts and the -# adapter verifies their HEAD before unpacking. -reliefos_git_path := $(if $(RELIEFOS_PASSIVE),deferred,$(shell command -v git 2>/dev/null || echo unavailable)) - -RELIEFOS_PARAMETERS_musl-sysroot := script=$(MUSL_SCRIPT)|lock=$(RELIEFOS_LOCK_DIGEST)|cc=$(TARGET_CC)|ar=$(TARGET_AR)|ranlib=$(TARGET_RANLIB)|ld=$(TARGET_LD)|triple=$(TRIPLE_USER)|cflags=$(RELIEFOS_MUSL_CFLAGS)|git=$(reliefos_git_path) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,musl-sysroot))) - -RELIEFOS_MUSL_SYSROOT_ARTIFACTS := $(filter-out $(MUSL_LIBSSP_ARCHIVE),$(RELIEFOS_MUSL_ARTIFACTS)) -$(MUSL_STAMP) $(RELIEFOS_MUSL_SYSROOT_ARTIFACTS) &: $(RELIEFOS_LOCK) $(MUSL_SCRIPT) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_SHELL_LOG) $(RELIEFOS_DEPS_TOOL) $(O_META)/musl-sysroot.parameters \ - $(MUSL_STACK_OBJECT) | $(MUSL_SYSROOT) $(MUSL_WORK) $(O_LOGS) - $(call RELIEFOS_LOG,SYSROOT,musl) - +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; sh $(MUSL_SCRIPT) --src '$(RELIEFOS_SRC)' --deps '$(abspath $(RELIEFOS_DEPS_TOOL))' \ - --lock '$(RELIEFOS_LOCK)' --work '$(abspath $(MUSL_WORK))' --sysroot '$(abspath $(MUSL_SYSROOT))' \ - --cc '$(TARGET_CC)' --ar '$(TARGET_AR)' --ranlib '$(TARGET_RANLIB)' \ - --ld '$(TARGET_LD)' --target '$(TRIPLE_USER)' --stack-object '$(abspath $(MUSL_STACK_OBJECT))' \ - --cflags '$(RELIEFOS_MUSL_CFLAGS)' --log $(abspath $(O_LOGS))/musl.log - $(Q)for product in $(RELIEFOS_MUSL_SYSROOT_ARTIFACTS); do test -e "$$product" || exit 1; touch "$$product"; done - $(Q)touch $(MUSL_STAMP) - -# The sysroot script also emits libssp_nonshared.a from this project-owned -# object. Keep that archive's AR identity edge separate from the libc/header -# install stamp so an archiver replacement refreshes only the archive. -quiet_cmd_reliefos_musl_libssp = AR $@ - cmd_reliefos_musl_libssp = rm -f $@.tmp; $(TARGET_AR) rcs $@.tmp $(MUSL_STACK_OBJECT); mv $@.tmp $@ -$(MUSL_LIBSSP_ARCHIVE): $(MUSL_STAMP) $(MUSL_STACK_OBJECT) $(RELIEFOS_AR_ID) FORCE | $(MUSL_SYSROOT) - $(call if_changed,reliefos_musl_libssp) -targets += $(MUSL_LIBSSP_ARCHIVE) -.DELETE_ON_ERROR: $(MUSL_LIBSSP_ARCHIVE) - -$(MUSL_SYSROOT) $(MUSL_WORK) $(O_THIRD_PARTY): - $(Q)mkdir -p $@ - -.DELETE_ON_ERROR: $(MUSL_STAMP) - -# --- authentication chain ----------------------------------------------------- -# Only the packages that still ship a POSIX `configure` are built here: -# Linux-PAM 1.7 uses its dedicated Make port in pam.mk. This adapter stages: -# the Linux UAPI headers and libxcrypt, which is what `crypt()` in the userland -# extensions links against. -AUTH_ROOT := $(O_AUTH)/root -AUTH_STAMP := $(O_AUTH)/.leonos-auth.json -AUTH_WORK := $(O_THIRD_PARTY)/auth -AUTH_SCRIPT := $(RELIEFOS_SRC)/tools/build/auth-upstream.sh -RELIEFOS_AUTH_CFLAGS := -O2 -mno-avx -mno-avx2 - -# Declared, not implied by a stamp: an install that "succeeded" while leaving a -# header or a SONAME behind has to be a Make error here. -RELIEFOS_AUTH_ARTIFACTS := \ - $(AUTH_ROOT)/usr/include/crypt.h \ - $(AUTH_ROOT)/usr/include/linux/openat2.h \ - $(AUTH_ROOT)/lib/libcrypt.so.2 $(AUTH_ROOT)/lib/libcrypt.a \ - $(AUTH_ROOT)/share/licenses/libxcrypt/LICENSE \ - $(AUTH_ROOT)/share/licenses/linux-headers/LICENSE - -RELIEFOS_PARAMETERS_auth-upstream := script=$(AUTH_SCRIPT)|lock=$(RELIEFOS_LOCK_DIGEST)|cc=$(TARGET_CC)|ar=$(TARGET_AR)|ranlib=$(TARGET_RANLIB)|triple=$(TRIPLE_USER)|cflags=$(RELIEFOS_AUTH_CFLAGS)|resource=$(shell $(TARGET_CC) -print-resource-dir 2>/dev/null) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,auth-upstream))) - -.PHONY: reliefos-auth leonos-auth -reliefos-auth: $(AUTH_STAMP) $(RELIEFOS_AUTH_ARTIFACTS) -leonos-auth: reliefos-auth - -$(AUTH_STAMP) $(RELIEFOS_AUTH_ARTIFACTS) &: $(RELIEFOS_LOCK) $(AUTH_SCRIPT) $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_SHELL_LOG) $(RELIEFOS_DEPS_TOOL) \ - $(O_META)/auth-upstream.parameters $(MUSL_STAMP) | $(O_AUTH) $(AUTH_WORK) $(O_LOGS) - $(call RELIEFOS_LOG,AUTH,auth) - +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; sh $(AUTH_SCRIPT) --src '$(RELIEFOS_SRC)' --deps '$(abspath $(RELIEFOS_DEPS_TOOL))' \ - --lock '$(RELIEFOS_LOCK)' --cache '$(RELIEFOS_CACHE)' --work '$(abspath $(AUTH_WORK))' \ - --stage '$(abspath $(AUTH_ROOT))' --sysroot '$(abspath $(MUSL_SYSROOT))' \ - --cc '$(TARGET_CC)' --ar '$(TARGET_AR)' --ranlib '$(TARGET_RANLIB)' \ - --target '$(TRIPLE_USER)' --cflags '$(RELIEFOS_AUTH_CFLAGS)' \ - --log $(abspath $(O_LOGS))/auth.log - $(Q)cp $(AUTH_WORK)/.leonos-auth.json $(AUTH_STAMP).tmp - $(Q)mv $(AUTH_STAMP).tmp $(AUTH_STAMP) - $(Q)for product in $(RELIEFOS_AUTH_ARTIFACTS); do test -e "$$product" || exit 1; touch "$$product"; done - -$(O_AUTH) $(AUTH_WORK): - $(Q)mkdir -p $@ - -.DELETE_ON_ERROR: $(AUTH_STAMP) diff --git a/scripts/reliefos/Makefile.tool-identity b/scripts/reliefos/Makefile.tool-identity new file mode 100644 index 00000000..23848f62 --- /dev/null +++ b/scripts/reliefos/Makefile.tool-identity @@ -0,0 +1,32 @@ +# Native compiler identity targets are declared before the first product +# directory edge so recursive Kbuilds never need to invent rules for them. +RELIEFOS_CC_ID := $(O_META)/target-cc.identity +RELIEFOS_CXX_ID := $(O_META)/target-cxx.identity +RELIEFOS_LD_ID := $(O_META)/target-ld.identity +RELIEFOS_AR_ID := $(O_META)/target-ar.identity +export RELIEFOS_CC_ID RELIEFOS_CXX_ID RELIEFOS_LD_ID RELIEFOS_AR_ID +RELIEFOS_TOOL_ID_SCRIPT := $(RELIEFOS_SRC)/scripts/reliefos/hostcc-identity.sh +reliefos_tool_hash = $(if $(RELIEFOS_PASSIVE)$(RELIEFOS_INSPECT),deferred,$(shell { printf '%s\n' '$(1)'; $(1) --version 2>&1; sh '$(RELIEFOS_TOOL_ID_SCRIPT)' $(1); } | sha256sum | cut -d' ' -f1)) +RELIEFOS_CC_VERSION := $(call reliefos_tool_hash,$(TARGET_CC)) +RELIEFOS_CXX_VERSION := $(call reliefos_tool_hash,$(TARGET_CXX)) +RELIEFOS_LD_VERSION := $(call reliefos_tool_hash,$(TARGET_LD)) +RELIEFOS_AR_VERSION := $(call reliefos_tool_hash,$(TARGET_AR)) + +quiet_cmd_reliefos_cc_identity = ID CC $@ + cmd_reliefos_cc_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_CC)' '$(RELIEFOS_CC_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi +quiet_cmd_reliefos_cxx_identity = ID CXX $@ + cmd_reliefos_cxx_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_CXX)' '$(RELIEFOS_CXX_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi +quiet_cmd_reliefos_ld_identity = ID LD $@ + cmd_reliefos_ld_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_LD)' '$(RELIEFOS_LD_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi +quiet_cmd_reliefos_ar_identity = ID AR $@ + cmd_reliefos_ar_identity = printf 'tool=%s\nversion=%s\n' '$(TARGET_AR)' '$(RELIEFOS_AR_VERSION)' > $@.tmp; if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi + +$(RELIEFOS_CC_ID): FORCE | $(O_META) + $(call if_changed,reliefos_cc_identity) +$(RELIEFOS_CXX_ID): FORCE | $(O_META) + $(call if_changed,reliefos_cxx_identity) +$(RELIEFOS_LD_ID): FORCE | $(O_META) + $(call if_changed,reliefos_ld_identity) +$(RELIEFOS_AR_ID): FORCE | $(O_META) + $(call if_changed,reliefos_ar_identity) +targets += $(RELIEFOS_CC_ID) $(RELIEFOS_CXX_ID) $(RELIEFOS_LD_ID) $(RELIEFOS_AR_ID) diff --git a/scripts/reliefos/Makefile.upstream b/scripts/reliefos/Makefile.upstream deleted file mode 100644 index 4e289fa5..00000000 --- a/scripts/reliefos/Makefile.upstream +++ /dev/null @@ -1,100 +0,0 @@ -# Include after third-party.mk, pam.mk and runtime.mk. Each package owns an isolated root. -UPSTREAM_ROOT := $(O)/upstream -UPSTREAM_SCRIPT := $(RELIEFOS_SRC)/tools/build/upstream.sh -UPSTREAM_PACKAGES := sudo shadow exfatprogs coreutils alsa-lib alsa-utils nuked-opl3 ffmpeg -upstream_sudo_outputs := usr/bin/sudo usr/lib/sudo/sudoers.so -upstream_shadow_outputs := bin/login usr/sbin/useradd usr/sbin/usermod usr/sbin/userdel -upstream_exfatprogs_outputs := usr/sbin/mkfs.exfat usr/sbin/fsck.exfat -COREUTILS_PROGRAMS := $(shell cat $(RELIEFOS_SRC)/userland/coreutils/programs.list) -upstream_coreutils_outputs := $(addprefix usr/bin/,$(COREUTILS_PROGRAMS)) usr/libexec/coreutils/libstdbuf.so -upstream_coreutils_inputs := $(RELIEFOS_SRC)/userland/coreutils/programs.list $(RELIEFOS_SRC)/tools/build/coreutils-check.sh -upstream_alsa-lib_outputs := usr/lib/libasound.so.2 usr/lib/libasound.a usr/include/alsa/asoundlib.h usr/share/alsa/alsa.conf -upstream_alsa-utils_outputs := usr/bin/aplay usr/bin/arecord usr/bin/amixer usr/sbin/alsactl usr/bin/speaker-test -upstream_nuked-opl3_outputs := usr/lib/libopl3.so.1 usr/include/opl3.h -upstream_nuked-opl3_script := $(RELIEFOS_SRC)/tools/build/opl3.sh -upstream_ffmpeg_outputs := usr/lib/libavformat-reliefplayer.so.62 usr/lib/libavcodec-reliefplayer.so.62 usr/lib/libavutil-reliefplayer.so.60 usr/lib/libswresample-reliefplayer.so.6 usr/lib/libswscale-reliefplayer.so.9 usr/include/libavformat/avformat.h usr/include/libavcodec/avcodec.h usr/include/libavutil/avutil.h usr/include/libswresample/swresample.h usr/include/libswscale/swscale.h -upstream_ffmpeg_script := $(RELIEFOS_SRC)/tools/build/ffmpeg.sh -$(foreach package,$(UPSTREAM_PACKAGES),$(eval upstream_$(package)_primary := $(upstream_$(package)_outputs))) -upstream_shadow_deps := libbsd -upstream_exfatprogs_deps := util-linux -upstream_alsa-utils_deps := alsa-lib -upstream_alsa-lib_patches := $(wildcard $(RELIEFOS_SRC)/patches/alsa-lib/*.patch) -upstream_coreutils_patches := $(wildcard $(RELIEFOS_SRC)/patches/coreutils/*.patch) -# Install manifests register every published file, so deleting a non-primary -# header, library link or manual page also invalidates the package group. - -define RELIEFOS_UPSTREAM_RULE -upstream_$(1)_script ?= $$(UPSTREAM_SCRIPT) -RELIEFOS_PARAMETERS_upstream-$(1) := cc=$(TARGET_CC)|triple=$(TRIPLE_USER)|lock=$(RELIEFOS_LOCK_DIGEST)|identity=$(shell $(TARGET_CC) --version 2>/dev/null | head -n1) -$$(if $$(RELIEFOS_PASSIVE),,$$(eval $$(call KBUILD_PARAMETERS,upstream-$(1)))) -upstream_$(1)_products := $$(addprefix $$(UPSTREAM_ROOT)/$(1)/root/,$$(sort $$(upstream_$(1)_outputs))) -$$(UPSTREAM_ROOT)/$(1)/root/.complete $$(upstream_$(1)_products) &: $$(upstream_$(1)_script) $$(if $$(filter nuked-opl3,$(1)),,$$(RELIEFOS_UPSTREAM_MAKE_ENV)) $$(upstream_$(1)_patches) $$(upstream_$(1)_inputs) $$(RELIEFOS_SRC)/scripts/reliefos/Makefile.upstream $$(RELIEFOS_LOCK) $$(RELIEFOS_DEPS_TOOL) $$(O_META)/upstream-$(1).parameters $$(AUTH_STAMP) $$(RELIEFOS_AUTH_ARTIFACTS) $$(PAM_STAMP) $$(PAM_LIB) $$(PAM_HEADER) $$(foreach dep,$$(upstream_$(1)_deps),$$(UPSTREAM_ROOT)/$$(dep)/root/.complete $$(upstream_$$(dep)_products)) - $$(Q)rm -rf $$(UPSTREAM_ROOT)/$(1)/deps - $$(Q)mkdir -p $$(UPSTREAM_ROOT)/$(1)/deps $$(O_LOGS) - $$(Q)cp -a $$(AUTH_ROOT)/. $$(UPSTREAM_ROOT)/$(1)/deps/ - $$(Q)$$(foreach dep,$$(upstream_$(1)_deps),cp -a $$(UPSTREAM_ROOT)/$$(dep)/root/. $$(UPSTREAM_ROOT)/$(1)/deps/;) - +$$(Q)case "$$$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; sh $$(upstream_$(1)_script) $(1) $$(RELIEFOS_SRC) $$(abspath $$(RELIEFOS_DEPS_TOOL)) $$(RELIEFOS_LOCK) $$(RELIEFOS_CACHE) $$(abspath $$(UPSTREAM_ROOT))/$(1)/work $$(abspath $$(UPSTREAM_ROOT))/$(1)/root $$(abspath $$(MUSL_SYSROOT)) $$(abspath $$(UPSTREAM_ROOT))/$(1)/deps $$(abspath $$(PAM_ROOT)) $$(TARGET_CC) $$(TRIPLE_USER) >$$(O_LOGS)/upstream-$(1).log 2>&1 || { tail -n 50 $$(O_LOGS)/upstream-$(1).log >&2; exit 1; } - $$(Q)for product in $$(addprefix $$(UPSTREAM_ROOT)/$(1)/root/,$$(upstream_$(1)_primary)); do test -e "$$$$product" || { echo "missing upstream product: $$$$product" >&2; exit 1; }; touch "$$$$product"; done - $$(Q)touch $$(UPSTREAM_ROOT)/$(1)/root/.complete -.PHONY: upstream-$(1) -upstream-$(1): $$(UPSTREAM_ROOT)/$(1)/root/.complete $$(upstream_$(1)_products) -endef -$(foreach package,$(UPSTREAM_PACKAGES),$(eval $(call RELIEFOS_UPSTREAM_RULE,$(package)))) -.PHONY: reliefos-upstream reliefos-storage leonos-upstream leonos-storage -reliefos-upstream: $(addprefix upstream-,$(UPSTREAM_PACKAGES)) -reliefos-storage: upstream-e2fsprogs upstream-dosfstools upstream-exfatprogs -leonos-upstream: reliefos-upstream -leonos-storage: reliefos-storage - -UPSTREAM_APP_DIR := $(O)/userland -define RELIEFOS_UPSTREAM_APP -upstream_app_$(1)_inputs := $$(shell find $$(RELIEFOS_SRC)/third_party/$(if $(filter pleditor,$(1)),pl_editor,$(1)) $$(RELIEFOS_SRC)/userland/$(if $(filter pleditor,$(1)),apps/pleditor,$(1)) -type f ! -name .git 2>/dev/null | LC_ALL=C sort) -RELIEFOS_PARAMETERS_upstream-app-$(1) := cc=$(TARGET_CC)|identity=$(shell $(TARGET_CC) --version 2>/dev/null | head -n1)|ld=$(TARGET_LD)|ar=$(TARGET_AR)|cflags=$(RELIEFOS_OPTIMIZATION_FLAGS)|ldflags=$(RELIEFOS_LINK_POLICY_FLAGS)|input-list-sha=$$(shell find $$(RELIEFOS_SRC)/third_party/$(if $(filter pleditor,$(1)),pl_editor,$(1)) $$(RELIEFOS_SRC)/userland/$(if $(filter pleditor,$(1)),apps/pleditor,$(1)) -type f ! -name .git 2>/dev/null | LC_ALL=C sort | sha256sum | cut -d' ' -f1) -$$(if $$(RELIEFOS_PASSIVE),,$$(eval $$(call KBUILD_PARAMETERS,upstream-app-$(1)))) -$$(addprefix $$(UPSTREAM_APP_DIR)/,$$(sort $$(upstream_app_$(1)_outputs))) &: $$(upstream_app_$(1)_inputs) $$(RELIEFOS_SRC)/tools/build/upstream-app.sh $$(RELIEFOS_UPSTREAM_MAKE_ENV) $$(RELIEFOS_LOCK) $$(AUTOCONF_H) $$(RUNTIME_SO) $$(RUNTIME_ARCHIVE) $$(MUSL_STAMP) $$(HEADER_EXPORT_MANIFEST) $$(O_META)/upstream-app-$(1).parameters - $$(Q)mkdir -p $$(O_LOGS) - +$$(Q)case "$$$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; UPSTREAM_DEPS='$$(abspath $$(RELIEFOS_DEPS_TOOL))' UPSTREAM_UAPI='$$(abspath $$(HEADER_EXPORT_INCLUDE))' UPSTREAM_CFLAGS='$$(RELIEFOS_OPTIMIZATION_FLAGS)' UPSTREAM_LDFLAGS='$$(RELIEFOS_LINK_POLICY_FLAGS)' sh $$(RELIEFOS_SRC)/tools/build/upstream-app.sh $(1) $$(RELIEFOS_SRC) $$(abspath $$(UPSTREAM_ROOT))/app-$(1) $$(abspath $$(UPSTREAM_APP_DIR)) $$(abspath $$(MUSL_SYSROOT)) $$(abspath $$(RUNTIME_SO)) $$(abspath $$(RUNTIME_ARCHIVE)) $$(abspath $$(O_INCLUDE)) $$(abspath $$(AUTOCONF_H)) $$(TARGET_CC) $$(TARGET_LD) $$(TARGET_AR) >$$(O_LOGS)/upstream-app-$(1).log 2>&1 || { tail -n 40 $$(O_LOGS)/upstream-app-$(1).log >&2; exit 1; } - $$(Q)for product in $$(addprefix $$(UPSTREAM_APP_DIR)/,$$(upstream_app_$(1)_outputs)); do test -e "$$$$product" || exit 1; touch "$$$$product"; done -.PHONY: upstream-app-$(1) -upstream-app-$(1): $$(addprefix $$(UPSTREAM_APP_DIR)/,$$(sort $$(upstream_app_$(1)_outputs))) -endef -BUSYBOX_ELF := $(UPSTREAM_APP_DIR)/busybox.elf -BUSYBOX_LINKS := $(UPSTREAM_APP_DIR)/busybox.links -UPSTREAM_EPOCH := $(if $(SOURCE_DATE_EPOCH),$(SOURCE_DATE_EPOCH),$(shell git -C $(RELIEFOS_SRC) log -1 --format=%ct)) -RELIEFOS_PARAMETERS_upstream-busybox := cc=$(TARGET_CC)|identity=$(shell $(TARGET_CC) --version 2>/dev/null | head -n1)|flags=$(RELIEFOS_OPTIMIZATION_FLAGS)|ldflags=$(RELIEFOS_LINK_POLICY_FLAGS)|epoch=$(UPSTREAM_EPOCH) -$(if $(RELIEFOS_PASSIVE),,$(eval $(call KBUILD_PARAMETERS,upstream-busybox))) -$(BUSYBOX_ELF) $(BUSYBOX_LINKS) &: $(RELIEFOS_SRC)/tools/build/upstream-busybox.sh $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_SRC)/tools/build/busybox-check.sh $(RELIEFOS_SRC)/userland/busybox/leonos.config $(wildcard $(RELIEFOS_SRC)/patches/busybox/*.patch) $(O_META)/upstream-busybox.parameters $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(MUSL_STAMP) $(RELIEFOS_MUSL_ARTIFACTS) $(AUTH_STAMP) $(RELIEFOS_AUTH_ARTIFACTS) - $(Q)mkdir -p $(O_LOGS) - +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; UPSTREAM_CFLAGS='$(RELIEFOS_OPTIMIZATION_FLAGS)' UPSTREAM_LDFLAGS='$(RELIEFOS_LINK_POLICY_FLAGS)' sh $(RELIEFOS_SRC)/tools/build/upstream-busybox.sh $(RELIEFOS_SRC) $(abspath $(UPSTREAM_ROOT))/busybox $(abspath $(UPSTREAM_APP_DIR)) $(abspath $(MUSL_SYSROOT)) $(abspath $(AUTH_ROOT))/usr/include $(TARGET_CC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(UPSTREAM_EPOCH) >$(O_LOGS)/upstream-busybox.log 2>&1 || { tail -n 50 $(O_LOGS)/upstream-busybox.log >&2; exit 1; } -.PHONY: upstream-busybox -upstream-busybox: $(BUSYBOX_ELF) $(BUSYBOX_LINKS) -INITRAMFS_BUSYBOX_DIR := $(UPSTREAM_APP_DIR)/initramfs -INITRAMFS_BUSYBOX_ELF := $(INITRAMFS_BUSYBOX_DIR)/busybox.elf -INITRAMFS_BUSYBOX_LINKS := $(INITRAMFS_BUSYBOX_DIR)/busybox.links -$(INITRAMFS_BUSYBOX_ELF) $(INITRAMFS_BUSYBOX_LINKS) &: $(RELIEFOS_SRC)/tools/build/upstream-busybox.sh $(RELIEFOS_UPSTREAM_MAKE_ENV) $(RELIEFOS_SRC)/tools/build/initramfs-busybox-check.sh $(RELIEFOS_SRC)/userland/busybox/leonos.config $(RELIEFOS_SRC)/userland/busybox/initramfs.config $(wildcard $(RELIEFOS_SRC)/patches/busybox/*.patch) $(O_META)/upstream-busybox.parameters $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(MUSL_STAMP) $(RELIEFOS_MUSL_ARTIFACTS) $(AUTH_STAMP) $(RELIEFOS_AUTH_ARTIFACTS) - $(Q)mkdir -p $(O_LOGS) - +$(Q)case "$${MAKEFLAGS%% *}" in *n*) exit 0;; esac; UPSTREAM_CFLAGS='$(RELIEFOS_OPTIMIZATION_FLAGS)' UPSTREAM_LDFLAGS='$(RELIEFOS_LINK_POLICY_FLAGS)' sh $(RELIEFOS_SRC)/tools/build/upstream-busybox.sh $(RELIEFOS_SRC) $(abspath $(UPSTREAM_ROOT))/busybox-initramfs $(abspath $(INITRAMFS_BUSYBOX_DIR)) $(abspath $(MUSL_SYSROOT)) $(abspath $(AUTH_ROOT))/usr/include $(TARGET_CC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(UPSTREAM_EPOCH) $(RELIEFOS_SRC)/userland/busybox/initramfs.config initramfs >$(O_LOGS)/upstream-initramfs-busybox.log 2>&1 || { tail -n 50 $(O_LOGS)/upstream-initramfs-busybox.log >&2; exit 1; } -.PHONY: upstream-initramfs-busybox -upstream-initramfs-busybox: $(INITRAMFS_BUSYBOX_ELF) $(INITRAMFS_BUSYBOX_LINKS) -reliefos-upstream: upstream-busybox -upstream_app_pleditor_outputs := pleditor-generated/src/main.c pleditor-generated/src/pleditor.c pleditor-generated/src/syntax.c -$(eval $(call RELIEFOS_UPSTREAM_APP,pleditor)) -reliefos-upstream: upstream-app-pleditor - -FASTFETCH_ELF := $(UPSTREAM_APP_DIR)/fastfetch.elf -$(FASTFETCH_ELF): $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(RELIEFOS_SRC)/scripts/reliefos/Makefile.upstream - $(Q)mkdir -p $(dir $@) - $(Q)set -eu; url=$$($(RELIEFOS_DEPS_TOOL) --lock $(RELIEFOS_LOCK) --id fastfetch --print url); digest=$$($(RELIEFOS_DEPS_TOOL) --lock $(RELIEFOS_LOCK) --id fastfetch --print sha256); source=$(RELIEFOS_CACHE)/$${url##*/}; test -f "$$source" || { echo 'missing fastfetch: run make fetch' >&2; exit 1; }; test "$$(sha256sum "$$source" | cut -d' ' -f1)" = "$$digest"; readelf -h "$$source" | grep -q 'Advanced Micro Devices X86-64'; if readelf -l -d "$$source" | grep -E 'INTERP|\(NEEDED\)'; then exit 1; fi; cp "$$source" $@.tmp; chmod 755 $@.tmp; mv $@.tmp $@ -reliefos-upstream: $(FASTFETCH_ELF) - -# A content/presence signature avoids creating thousands of grouped peer nodes -# for terminfo/manpages, while detecting deletion of every installed product. -define RELIEFOS_UPSTREAM_PRESENCE -$(O_META)/upstream-$(1)-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(UPSTREAM_ROOT)/$(1)/root $(UPSTREAM_ROOT)/$(1)/work/installed-files $$@ -$(UPSTREAM_ROOT)/$(1)/root/.complete $$(upstream_$(1)_products): $(O_META)/upstream-$(1)-present.parameters -endef -$(foreach package,$(UPSTREAM_PACKAGES),$(eval $(call RELIEFOS_UPSTREAM_PRESENCE,$(package)))) -$(O_META)/upstream-apk-present.parameters: FORCE $(RELIEFOS_SRC)/tools/build/upstream-verify.sh - $(Q)sh $(RELIEFOS_SRC)/tools/build/upstream-verify.sh $(UPSTREAM_APK_ROOT) $(UPSTREAM_APK_ROOT)/installed-files $@ -$(UPSTREAM_APK) $(UPSTREAM_APK_ROOT)/.complete: $(O_META)/upstream-apk-present.parameters diff --git a/scripts/reliefos/Makefile.userland b/scripts/reliefos/Makefile.userland deleted file mode 100644 index 295a670f..00000000 --- a/scripts/reliefos/Makefile.userland +++ /dev/null @@ -1,153 +0,0 @@ -# Component selection is parsed by a constrained C TOML reader, never a shell -# pattern. Required applications ignore obsolete disabled config symbols. -RELIEFOS_COMPONENT_TOOL := $(RELIEFOS_HOST_BIN)/reliefos-components -RELIEFOS_COMPONENT_MK := $(O_CONFIG)/components.mk -$(RELIEFOS_COMPONENT_MK): | $(O_CONFIG) -$(RELIEFOS_COMPONENT_MK): $(RELIEFOS_SRC)/configs/components.toml $(RELIEFOS_CONFIG_FILE) $(RELIEFOS_COMPONENT_TOOL) - $(Q)$(RELIEFOS_COMPONENT_TOOL) --input $(RELIEFOS_SRC)/configs/components.toml --config $(RELIEFOS_CONFIG_FILE) --output $@ -ifeq ($(RELIEFOS_PASSIVE),) -ifneq ($(RELIEFOS_INSPECT),) -$(eval $(file <$(RELIEFOS_COMPONENT_MK))) -else -include $(RELIEFOS_COMPONENT_MK) -endif -endif - -USERLAND_EXTERNAL_APPS := fastfetch pleditor -USERLAND_APPS := $(filter-out $(USERLAND_EXTERNAL_APPS) systemupdate,$(RELIEFOS_COMPONENT_APPS)) -USERLAND_DIR := $(O)/userland -USERLAND_FLAGS := $(RUNTIME_FLAGS) -fPIE -nostdinc -isystem $(if $(RELIEFOS_PASSIVE),deferred,$(shell $(TARGET_CC) -print-resource-dir 2>/dev/null))/include -D_POSIX_C_SOURCE=200809L -USERLAND_CFLAGS ?= -USERLAND_CXXFLAGS ?= -USERLAND_CXX_FLAGS := $(filter-out -std=% -ffreestanding,$(USERLAND_FLAGS) $(USERLAND_CFLAGS) $(USERLAND_CXXFLAGS)) -std=c++17 -nostdinc++ -fno-exceptions -fno-rtti -USERLAND_LDFLAGS ?= -USERLAND_LINK_FLAGS := $(RELIEFOS_LINK_POLICY_FLAGS) --gc-sections -z max-page-size=0x1000 -pie --hash-style=both --dynamic-linker /lib/ld-musl-x86_64.so.1 -rpath /usr/lib/reliefos:/lib:/usr/lib -USERLAND_CRT := $(MUSL_SYSROOT)/lib/Scrt1.o $(MUSL_SYSROOT)/lib/crti.o $(MUSL_SYSROOT)/lib/crtn.o - -export USERLAND_FLAGS USERLAND_CFLAGS USERLAND_CXXFLAGS USERLAND_CXX_FLAGS USERLAND_LDFLAGS -export USERLAND_CRT USERLAND_LINK_FLAGS USERLAND_DIR -export AUTOCONF_H HEADER_EXPORT_INCLUDE HEADER_EXPORT_MANIFEST RELIEFOS_CC_ID RELIEFOS_CXX_ID RELIEFOS_AR_ID - -X11_DEVELOPMENT_ROOT := $(O)/upstream/x11-development -X11_DEVELOPMENT_PRODUCTS := $(addprefix $(X11_DEVELOPMENT_ROOT)/,usr/include/FL/Fl.H usr/include/X11/Xlib.h usr/include/X11/X.h usr/lib/libfltk.so usr/lib/libstdc++.so.6 usr/lib/libgcc_s.so.1 usr/lib/libX11.so usr/lib/libX11.so.6) -X11_DEVELOPMENT_PRODUCTS += $(addprefix $(X11_DEVELOPMENT_ROOT)/,usr/include/glib-2.0/glib.h usr/include/gio-unix-2.0/gio/gdesktopappinfo.h usr/lib/glib-2.0/include/glibconfig.h usr/lib/libgio-2.0.so usr/lib/libgobject-2.0.so usr/lib/libglib-2.0.so) -X11_DEVELOPMENT_PRODUCTS += $(addprefix $(X11_DEVELOPMENT_ROOT)/,usr/include/ncurses.h usr/lib/libncursesw.so usr/lib/libncursesw.so.6) -$(X11_DEVELOPMENT_ROOT)/.complete $(X11_DEVELOPMENT_PRODUCTS) &: $(RELIEFOS_SRC)/tools/build/x11-development.sh $(RELIEFOS_LOCK) $(RELIEFOS_DEPS_TOOL) $(UPSTREAM_APK) - $(Q)sh $(RELIEFOS_SRC)/tools/build/x11-development.sh $(RELIEFOS_SRC) $(abspath $(RELIEFOS_DEPS_TOOL)) $(RELIEFOS_LOCK) $(RELIEFOS_CACHE) $(abspath $(UPSTREAM_APK)) $(abspath $(X11_DEVELOPMENT_ROOT)) - $(Q)touch $(X11_DEVELOPMENT_PRODUCTS) -USERLAND_FLTK_APPS := $(strip $(file <$(RELIEFOS_SRC)/configs/fltk-apps.list)) -USERLAND_FLTK_LIBS := $(addprefix $(X11_DEVELOPMENT_ROOT)/usr/lib/,libfltk.so libstdc++.so.6 libgcc_s.so.1) -$(foreach app,$(USERLAND_FLTK_APPS),$(eval USERLAND_CXX_EXTRA_$(app) := -I$(RELIEFOS_SRC)/userland/apps -isystem $(X11_DEVELOPMENT_ROOT)/usr/include)) -$(foreach app,$(USERLAND_FLTK_APPS),$(eval USERLAND_LIBS_$(app) += $(USERLAND_FLTK_LIBS))) -$(foreach app,$(USERLAND_FLTK_APPS),$(eval USERLAND_DEPS_$(app) += $(X11_DEVELOPMENT_ROOT)/.complete $(X11_DEVELOPMENT_PRODUCTS))) - -# Keep the public GLib API baseline usable without the C++ standard headers. -USERLAND_CXX_EXTRA_taskmgr += -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66 $(addprefix -isystem $(X11_DEVELOPMENT_ROOT)/,usr/include/glib-2.0 usr/lib/glib-2.0/include usr/include/gio-unix-2.0) -USERLAND_LIBS_taskmgr += $(addprefix $(X11_DEVELOPMENT_ROOT)/usr/lib/,libgio-2.0.so libgobject-2.0.so libglib-2.0.so) - -# Use the upstream headers and resolve ncurses before the runtime's historical -# ANSI subset. Both its WINDOW layout and exported global variables differ. -USERLAND_APP_FLAGS_installer := -I$(X11_DEVELOPMENT_ROOT)/usr/include $(USERLAND_FLAGS) $(USERLAND_CFLAGS) -USERLAND_PRELIBS_installer := $(X11_DEVELOPMENT_ROOT)/usr/lib/libncursesw.so -USERLAND_LIBS_installer += $(USERLAND_PRELIBS_installer) - -USERLAND_LIBS_reliefcapture += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_DEPS_reliefcapture += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_LIBS_reliefclipboard += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_DEPS_reliefclipboard += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_LIBS_fileman += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_DEPS_fileman += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_LIBS_paint += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_DEPS_paint += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_LIBS_reliefsettings += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_DEPS_reliefsettings += $(X11_DEVELOPMENT_ROOT)/usr/lib/libX11.so -USERLAND_LIBS_reliefmail += $(RUNTIME_DEP_LIBDIR)/libsqlite3.so -USERLAND_DEPS_reliefmail += $(RUNTIME_DEVELOPMENT_PRODUCTS) -USERLAND_DEPS_osver += $(BUILD_INFO_HEADER) -USERLAND_EXTRA_doom := -DRELIEFOS_DOOM -DLEONOS_DOOM -DFEATURE_SOUND -I$(RELIEFOS_SRC)/third_party/doomgeneric/doomgeneric -I$(AUDIO_OPL_ROOT)/usr/include -USERLAND_LIBS_doom += $(AUDIO_OPL_ROOT)/usr/lib/libopl3.so.1 $(RUNTIME_BUILTINS) -USERLAND_DEPS_doom += $(upstream_nuked-opl3_products) -MEDIA_CODEC_ROOT := $(UPSTREAM_ROOT)/ffmpeg/root -USERLAND_EXTRA_reliefplayer := -I$(RELIEFOS_SRC)/third_party/minimp3 -isystem $(MEDIA_CODEC_ROOT)/usr/include -USERLAND_LIBS_reliefplayer += $(addprefix $(MEDIA_CODEC_ROOT)/usr/lib/,libavformat-reliefplayer.so.62 libavcodec-reliefplayer.so.62 libswresample-reliefplayer.so.6 libswscale-reliefplayer.so.9 libavutil-reliefplayer.so.60) -USERLAND_DEPS_reliefplayer += $(upstream_ffmpeg_products) - -# The historical port-script compiler flags for pleditor are intentionally -# retained. Only the transform/copy stage stays in the adapter; Kbuild compiles -# its generated first-party C and local platform source. -USERLAND_APP_FLAGS_pleditor := --target=$(TRIPLE_USER) $(RELIEFOS_OPTIMIZATION_FLAGS) -std=gnu11 -ffreestanding -fno-stack-protector -fPIC -ffunction-sections -fdata-sections -nostdinc -isystem $(shell $(TARGET_CC) -print-resource-dir 2>/dev/null)/include -I$(MUSL_SYSROOT)/include -I$(RELIEFOS_SRC)/userland/runtime/include -I$(RELIEFOS_SRC)/include -I$(HEADER_EXPORT_INCLUDE) -I$(UPSTREAM_APP_DIR)/pleditor-generated/src -I$(RELIEFOS_SRC)/third_party/pl_editor/src -DRELIEFOS_USE_MUSL -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -fPIE - -USERLAND_DOOM_EXCLUDE := doomgeneric_allegro.c doomgeneric_emscripten.c doomgeneric_linuxvt.c doomgeneric_sdl.c doomgeneric_soso.c doomgeneric_sosox.c doomgeneric_win.c doomgeneric_xlib.c i_allegromusic.c i_allegrosound.c i_sdlsound.c i_sdlmusic.c i_cdmus.c mus2mid.c - -USERLAND_KBUILD_APPS := $(sort $(USERLAND_APPS) pleditor gptinit motd bootinstall kernelbundle systemupdate) -define RELIEFOS_APP_KBUILD_CAPTURE -RELIEFOS_APP_OBJECTS := -RELIEFOS_APP_C_OBJECTS := -RELIEFOS_APP_CXX_OBJECTS := -RELIEFOS_APP_ASM_OBJECTS := -RELIEFOS_CAPTURE_APP_KBUILD := 1 -include $(RELIEFOS_SRC)/userland/apps/$(1)/Kbuild -USERLAND_OBJECTS_$(1) := $$(addprefix $$(O)/userland/apps/$(1)/,$$(RELIEFOS_APP_OBJECTS)) -USERLAND_C_OBJECTS_$(1) := $$(addprefix $$(O)/userland/apps/$(1)/,$$(RELIEFOS_APP_C_OBJECTS) $$(RELIEFOS_APP_ASM_OBJECTS)) -USERLAND_CXX_OBJECTS_$(1) := $$(addprefix $$(O)/userland/apps/$(1)/,$$(RELIEFOS_APP_CXX_OBJECTS)) -endef -$(foreach app,$(USERLAND_KBUILD_APPS),$(eval $(call RELIEFOS_APP_KBUILD_CAPTURE,$(app)))) -RELIEFOS_CAPTURE_APP_KBUILD := -obj-y += $(addprefix userland/apps/,$(addsuffix /,$(USERLAND_KBUILD_APPS))) - - -# Each app directory compiles its own Kbuild object list. The directory archive -# is only a freshness edge: final executables preserve the former direct-object -# link order and never link a broad archive by accident. -define RELIEFOS_APP -USERLAND_CRT_$(1) := $(USERLAND_CRT) -RELIEFOS_APP_BUILTIN_$(1) := $(O)/userland/apps/$(1)/built-in.a -userland/apps/$(1): $(AUTOCONF_H) $(MUSL_STAMP) $(PNG_CONFIG) $(HEADER_EXPORT_MANIFEST) $$(USERLAND_DEPS_$(1)) $$(if $$(USERLAND_C_OBJECTS_$(1)),$$(RELIEFOS_CC_ID)) $$(if $$(USERLAND_CXX_OBJECTS_$(1)),$$(RELIEFOS_CXX_ID)) $$(RELIEFOS_AR_ID) -quiet_cmd_reliefos_app_link_$(1) = LD $$@ - cmd_reliefos_app_link_$(1) = $$(TARGET_LD) $$(USERLAND_LINK_FLAGS) $$(USERLAND_LDFLAGS) -o $$@.tmp $$(MUSL_SYSROOT)/lib/Scrt1.o $$(MUSL_SYSROOT)/lib/crti.o $$(USERLAND_OBJECTS_$(1)) -L$$(MUSL_SYSROOT)/lib -l:libmimalloc.so.3 $$(USERLAND_PRELIBS_$(1)) --start-group $(5) $$(USERLAND_LIBS_$(1)) $$(RUNTIME_DEP_SHARED) -lc --end-group $$(MUSL_SYSROOT)/lib/crtn.o; mv $$@.tmp $$@ -$(3): $$(RELIEFOS_APP_BUILTIN_$(1)) $$(RUNTIME_DEP_SHARED) $(5) $$(USERLAND_LIBS_$(1)) $$(USERLAND_DEPS_$(1)) $$(USERLAND_CRT) $$(MUSL_SYSROOT)/lib/libc.so $$(MUSL_SYSROOT)/lib/libmimalloc.so.3 $$(RELIEFOS_LD_ID) FORCE - $$(call if_changed,reliefos_app_link_$(1)) -targets += $(3) -.PHONY: app-$(1) -app-$(1): $(3) -endef - -include $(RELIEFOS_SRC)/scripts/reliefos/Makefile.components.reliefmath -# GNU make does not treat names passed to a plain export directive as a glob. -# Export each selected app's context explicitly so recursive Kbuild sees its -# app-specific include paths, defines, C++ flags, and link dependencies. -$(foreach app,$(USERLAND_KBUILD_APPS),$(eval export USERLAND_EXTRA_$(app) USERLAND_APP_FLAGS_$(app) USERLAND_CXX_EXTRA_$(app) USERLAND_CXXFLAGS_$(app) USERLAND_LIBS_$(app) USERLAND_DEPS_$(app))) -$(foreach app,$(USERLAND_APPS),$(eval $(call RELIEFOS_APP,$(app),$(app),$(USERLAND_DIR)/$(app).elf,$(AUTOCONF_H),$(RUNTIME_SO)))) -USERLAND_DEPS_pleditor := $(addprefix $(UPSTREAM_APP_DIR)/pleditor-generated/src/,main.c pleditor.c syntax.c) -$(eval $(call RELIEFOS_APP,pleditor,pleditor,$(USERLAND_DIR)/pleditor.elf,$(AUTOCONF_H),$(RUNTIME_SO))) - -$(eval $(call RELIEFOS_APP,gptinit,gptinit,$(O)/userland-installer/gptinit.elf,$(AUTOCONF_H),$(RUNTIME_SO))) -# Recovery must remain runnable when an interrupted APK transaction removed -# shared libraries. Compile its source through the same directory Kbuild and -# link only referenced archive members with the ordinary musl static startup. -define RELIEFOS_STATIC_RUNTIME_APP -userland/apps/$(1): $(AUTOCONF_H) $(MUSL_STAMP) $(HEADER_EXPORT_MANIFEST) $(RELIEFOS_CC_ID) $(RELIEFOS_AR_ID) -quiet_cmd_reliefos_static_app_$(1) = LD $$@ - cmd_reliefos_static_app_$(1) = $$(TARGET_LD) $$(RELIEFOS_LINK_POLICY_FLAGS) -static --gc-sections -z max-page-size=0x1000 -o $$@.tmp $$(MUSL_SYSROOT)/lib/crt1.o $$(MUSL_SYSROOT)/lib/crti.o $$(USERLAND_OBJECTS_$(1)) --start-group $$(RUNTIME_ARCHIVE) $$(RUNTIME_DEP_STATIC) $$(MUSL_SYSROOT)/lib/libc.a $$(RUNTIME_BUILTINS) --end-group $$(MUSL_SYSROOT)/lib/crtn.o && mv $$@.tmp $$@ -$(2): $(O)/userland/apps/$(1)/built-in.a $(RUNTIME_ARCHIVE) $(RUNTIME_DEP_STATIC) $(MUSL_SYSROOT)/lib/crt1.o $(MUSL_SYSROOT)/lib/crti.o $(MUSL_SYSROOT)/lib/crtn.o $(MUSL_SYSROOT)/lib/libc.a $(RELIEFOS_LD_ID) FORCE - $$(call if_changed,reliefos_static_app_$(1)) -targets += $(2) -.PHONY: app-$(1) -app-$(1): $(2) -endef -$(eval $(call RELIEFOS_STATIC_RUNTIME_APP,kernelbundle,$(RELIEFOS_KERNEL_RECOVERY))) -$(eval $(call RELIEFOS_STATIC_RUNTIME_APP,bootinstall,$(USERLAND_DIR)/bootinstall.elf)) -$(eval $(call RELIEFOS_STATIC_RUNTIME_APP,systemupdate,$(USERLAND_DIR)/systemupdate.elf)) -userland/apps/systemupdate: $(RUNTIME_DEVELOPMENT_ROOT)/usr/include/mbedtls/sha256.h - -# Only manifest-owned disabled ELF outputs may be removed; arbitrary files in -# this directory and old build/ images are outside this rule's ownership. -.PHONY: userland userland-prune installer-userland -userland-prune: - $(Q)$(foreach app,$(RELIEFOS_DISABLED_APPS),rm -f $(USERLAND_DIR)/$(app).elf;) : -userland: userland-prune $(addprefix $(USERLAND_DIR)/,$(addsuffix .elf,$(RELIEFOS_COMPONENT_APPS))) $(USERLAND_DIR)/bootinstall.elf $(RELIEFOS_KERNEL_RECOVERY) -installer-userland: $(O)/userland-installer/gptinit.elf - -# PAM helper: ordinary musl/POSIX process, without a desktop component entry. -$(eval $(call RELIEFOS_APP,motd,motd,$(USERLAND_DIR)/motd.elf,$(AUTOCONF_H),)) -userland: $(USERLAND_DIR)/motd.elf diff --git a/scripts/test-legacy.sh b/scripts/test-legacy.sh deleted file mode 100644 index 49101685..00000000 --- a/scripts/test-legacy.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# Explicit, non-production Python regression checks. Guest-specific historical -# harnesses remain individual tools and are not silently treated as passes. -set -eu -. "$(CDPATH= cd -- "$(dirname "$0")" && pwd)/logging.sh" -src=$1 -cd "$src" -reliefos_log LEGACY 'standalone kernel regression group' -make -C "${RELIEFNT_DIR:-$src/kernel/reliefnt}" O="${RELIEFNT_O:-$src/out/legacy-kernel-tests}" test-legacy -for suite in test_uapi test_unix_ipc; do - reliefos_log LEGACY "$suite" - python3 "tools/$suite.py" -done diff --git a/scripts/test-smoke.sh b/scripts/test-smoke.sh index 584acc83..da405bb1 100644 --- a/scripts/test-smoke.sh +++ b/scripts/test-smoke.sh @@ -1,9 +1,10 @@ #!/bin/sh -# The acceptance runner owns one VM at a time and requires fresh kernel evidence. +# Check the online installation media and the installed system on both firmwares. set -eu -[ "$#" = 3 ] || exit 2 src=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd) -export QEMU_FIRMWARE=$3 -exec python3 "$src/tools/test_dual_boot_qemu.py" --images "$1" \ - --out "${SMOKE_OUTPUT:-$src/out/dbq}" --matrix boot \ - --firmwares bios,uefi --timeout "${SMOKE_TIMEOUT:-180}" +build=$(realpath -e -- "${1:?pass the Arch product output directory}") +cd -- "$src" +python3 tools/ci.py manifest --root "$build" +for firmware in bios uefi; do + SMOKE_FIRMWARE=$firmware bash scripts/ci/smoke.sh "$build" +done diff --git a/system/certs/cacert.pem b/system/certs/cacert.pem deleted file mode 100644 index 3e158b86..00000000 --- a/system/certs/cacert.pem +++ /dev/null @@ -1,2957 +0,0 @@ -## -## Bundle of CA Root Certificates -## -## Certificate data from Mozilla as of: Thu May 14 03:12:02 2026 GMT -## -## Find updated versions here: https://curl.se/docs/caextract.html -## -## This is a bundle of X.509 certificates of public Certificate Authorities -## (CA). These were automatically extracted from Mozilla's root certificates -## file (certdata.txt). This file can be found in the mozilla source tree: -## https://raw.githubusercontent.com/mozilla-firefox/firefox/refs/heads/release/security/nss/lib/ckfw/builtins/certdata.txt -## -## It contains the certificates in PEM format and therefore -## can be directly used with curl / libcurl / php_curl, or with -## an Apache+mod_ssl webserver for SSL client authentication. -## Just configure this file as the SSLCACertificateFile. -## -## Conversion done with mk-ca-bundle.pl version 1.33. -## SHA256: 77130ef91213772844561fbd3aa31d413b25c2ac7f576fea3bc3bbff7ef93489 -## - - -Entrust Root Certification Authority -==================================== ------BEGIN CERTIFICATE----- -MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCVVMxFjAUBgNV -BAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0Lm5ldC9DUFMgaXMgaW5jb3Jw -b3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMWKGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsG -A1UEAxMkRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0 -MloXDTI2MTEyNzIwNTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMu -MTkwNwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSByZWZlcmVu -Y2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNVBAMTJEVudHJ1c3QgUm9v -dCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ALaVtkNC+sZtKm9I35RMOVcF7sN5EUFoNu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYsz -A9u3g3s+IIRe7bJWKKf44LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOww -Cj0Yzfv9KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGIrb68 -j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi94DkZfs0Nw4pgHBN -rziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOBsDCBrTAOBgNVHQ8BAf8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAigA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1 -MzQyWjAfBgNVHSMEGDAWgBRokORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DH -hmak8fdLQ/uEvW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA -A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9tO1KzKtvn1ISM -Y/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6ZuaAGAT/3B+XxFNSRuzFVJ7yVTa -v52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTS -W3iDVuycNsMm4hH2Z0kdkquM++v/eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0 -tHuu2guQOHXvgR1m0vdXcDazv/wor3ElhVsT/h5/WrQ8 ------END CERTIFICATE----- - -COMODO ECC Certification Authority -================================== ------BEGIN CERTIFICATE----- -MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTELMAkGA1UEBhMC -R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE -ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwHhcNMDgwMzA2MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0Ix -GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR -Q09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRo -b3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSRFtSrYpn1PlILBs5BAH+X -4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0JcfRK9ChQtP6IHG4/bC8vCVlbpVsLM5ni -wz2J+Wos77LTBumjQjBAMB0GA1UdDgQWBBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8E -BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VG -FAkK+qDmfQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdvGDeA -U/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= ------END CERTIFICATE----- - -ePKI Root Certification Authority -================================= ------BEGIN CERTIFICATE----- -MIIFsDCCA5igAwIBAgIQFci9ZUdcr7iXAF7kBtK8nTANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQG -EwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0ZC4xKjAoBgNVBAsMIWVQS0kg -Um9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNDEyMjAwMjMxMjdaFw0zNDEyMjAwMjMx -MjdaMF4xCzAJBgNVBAYTAlRXMSMwIQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEq -MCgGA1UECwwhZVBLSSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEA4SUP7o3biDN1Z82tH306Tm2d0y8U82N0ywEhajfqhFAHSyZbCUNs -IZ5qyNUD9WBpj8zwIuQf5/dqIjG3LBXy4P4AakP/h2XGtRrBp0xtInAhijHyl3SJCRImHJ7K2RKi -lTza6We/CKBk49ZCt0Xvl/T29de1ShUCWH2YWEtgvM3XDZoTM1PRYfl61dd4s5oz9wCGzh1NlDiv -qOx4UXCKXBCDUSH3ET00hl7lSM2XgYI1TBnsZfZrxQWh7kcT1rMhJ5QQCtkkO7q+RBNGMD+XPNjX -12ruOzjjK9SXDrkb5wdJfzcq+Xd4z1TtW0ado4AOkUPB1ltfFLqfpo0kR0BZv3I4sjZsN/+Z0V0O -WQqraffAsgRFelQArr5T9rXn4fg8ozHSqf4hUmTFpmfwdQcGlBSBVcYn5AGPF8Fqcde+S/uUWH1+ -ETOxQvdibBjWzwloPn9s9h6PYq2lY9sJpx8iQkEeb5mKPtf5P0B6ebClAZLSnT0IFaUQAS2zMnao -lQ2zepr7BxB4EW/hj8e6DyUadCrlHJhBmd8hh+iVBmoKs2pHdmX2Os+PYhcZewoozRrSgx4hxyy/ -vv9haLdnG7t4TY3OZ+XkwY63I2binZB1NJipNiuKmpS5nezMirH4JYlcWrYvjB9teSSnUmjDhDXi -Zo1jDiVN1Rmy5nk3pyKdVDECAwEAAaNqMGgwHQYDVR0OBBYEFB4M97Zn8uGSJglFwFU5Lnc/Qkqi -MAwGA1UdEwQFMAMBAf8wOQYEZyoHAAQxMC8wLQIBADAJBgUrDgMCGgUAMAcGBWcqAwAABBRFsMLH -ClZ87lt4DJX5GFPBphzYEDANBgkqhkiG9w0BAQUFAAOCAgEACbODU1kBPpVJufGBuvl2ICO1J2B0 -1GqZNF5sAFPZn/KmsSQHRGoqxqWOeBLoR9lYGxMqXnmbnwoqZ6YlPwZpVnPDimZI+ymBV3QGypzq -KOg4ZyYr8dW1P2WT+DZdjo2NQCCHGervJ8A9tDkPJXtoUHRVnAxZfVo9QZQlUgjgRywVMRnVvwdV -xrsStZf0X4OFunHB2WyBEXYKCrC/gpf36j36+uwtqSiUO1bd0lEursC9CBWMd1I0ltabrNMdjmEP -NXubrjlpC2JgQCA2j6/7Nu4tCEoduL+bXPjqpRugc6bY+G7gMwRfaKonh+3ZwZCc7b3jajWvY9+r -GNm65ulK6lCKD2GTHuItGeIwlDWSXQ62B68ZgI9HkFFLLk3dheLSClIKF5r8GrBQAuUBo2M3IUxE -xJtRmREOc5wGj1QupyheRDmHVi03vYVElOEMSyycw5KFNGHLD7ibSkNS/jQ6fbjpKdx2qcgw+BRx -gMYeNkh0IkFch4LoGHGLQYlE535YW6i4jRPpp2zDR+2zGp1iro2C6pSe3VkQw63d4k3jMdXH7Ojy -sP6SHhYKGvzZ8/gntsm+HbRsZJB/9OTEW9c3rkIO3aQab3yIVMUWbuF6aC74Or8NpDyJO3inTmOD -BCEIZ43ygknQW/2xzQ+DhNQ+IIX3Sj0rnP0qCglN6oH4EZw= ------END CERTIFICATE----- - -NetLock Arany (Class Gold) Főtanúsítvány -======================================== ------BEGIN CERTIFICATE----- -MIIEFTCCAv2gAwIBAgIGSUEs5AAQMA0GCSqGSIb3DQEBCwUAMIGnMQswCQYDVQQGEwJIVTERMA8G -A1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5ldExvY2sgS2Z0LjE3MDUGA1UECwwuVGFuw7pzw610 -dsOhbnlraWFkw7NrIChDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzKTE1MDMGA1UEAwwsTmV0TG9jayBB -cmFueSAoQ2xhc3MgR29sZCkgRsWRdGFuw7pzw610dsOhbnkwHhcNMDgxMjExMTUwODIxWhcNMjgx -MjA2MTUwODIxWjCBpzELMAkGA1UEBhMCSFUxETAPBgNVBAcMCEJ1ZGFwZXN0MRUwEwYDVQQKDAxO -ZXRMb2NrIEtmdC4xNzA1BgNVBAsMLlRhbsO6c8OtdHbDoW55a2lhZMOzayAoQ2VydGlmaWNhdGlv -biBTZXJ2aWNlcykxNTAzBgNVBAMMLE5ldExvY2sgQXJhbnkgKENsYXNzIEdvbGQpIEbFkXRhbsO6 -c8OtdHbDoW55MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxCRec75LbRTDofTjl5Bu -0jBFHjzuZ9lk4BqKf8owyoPjIMHj9DrTlF8afFttvzBPhCf2nx9JvMaZCpDyD/V/Q4Q3Y1GLeqVw -/HpYzY6b7cNGbIRwXdrzAZAj/E4wqX7hJ2Pn7WQ8oLjJM2P+FpD/sLj916jAwJRDC7bVWaaeVtAk -H3B5r9s5VA1lddkVQZQBr17s9o3x/61k/iCa11zr/qYfCGSji3ZVrR47KGAuhyXoqq8fxmRGILdw -fzzeSNuWU7c5d+Qa4scWhHaXWy+7GRWF+GmF9ZmnqfI0p6m2pgP8b4Y9VHx2BJtr+UBdADTHLpl1 -neWIA6pN+APSQnbAGwIDAKiLo0UwQzASBgNVHRMBAf8ECDAGAQH/AgEEMA4GA1UdDwEB/wQEAwIB -BjAdBgNVHQ4EFgQUzPpnk/C2uNClwB7zU/2MU9+D15YwDQYJKoZIhvcNAQELBQADggEBAKt/7hwW -qZw8UQCgwBEIBaeZ5m8BiFRhbvG5GK1Krf6BQCOUL/t1fC8oS2IkgYIL9WHxHG64YTjrgfpioTta -YtOUZcTh5m2C+C8lcLIhJsFyUR+MLMOEkMNaj7rP9KdlpeuY0fsFskZ1FSNqb4VjMIDw1Z4fKRzC -bLBQWV2QWzuoDTDPv31/zvGdg73JRm4gpvlhUbohL3u+pRVjodSVh/GeufOJ8z2FuLjbvrW5Kfna -NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu -dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= ------END CERTIFICATE----- - -Microsec e-Szigno Root CA 2009 -============================== ------BEGIN CERTIFICATE----- -MIIECjCCAvKgAwIBAgIJAMJ+QwRORz8ZMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYDVQQGEwJIVTER -MA8GA1UEBwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jv -c2VjIGUtU3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5o -dTAeFw0wOTA2MTYxMTMwMThaFw0yOTEyMzAxMTMwMThaMIGCMQswCQYDVQQGEwJIVTERMA8GA1UE -BwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jvc2VjIGUt -U3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5odTCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOn4j/NjrdqG2KfgQvvPkd6mJviZpWNwrZuuyjNA -fW2WbqEORO7hE52UQlKavXWFdCyoDh2Tthi3jCyoz/tccbna7P7ofo/kLx2yqHWH2Leh5TvPmUpG -0IMZfcChEhyVbUr02MelTTMuhTlAdX4UfIASmFDHQWe4oIBhVKZsTh/gnQ4H6cm6M+f+wFUoLAKA -pxn1ntxVUwOXewdI/5n7N4okxFnMUBBjjqqpGrCEGob5X7uxUG6k0QrM1XF+H6cbfPVTbiJfyyvm -1HxdrtbCxkzlBQHZ7Vf8wSN5/PrIJIOV87VqUQHQd9bpEqH5GoP7ghu5sJf0dgYzQ0mg/wu1+rUC -AwEAAaOBgDB+MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTLD8bf -QkPMPcu1SCOhGnqmKrs0aDAfBgNVHSMEGDAWgBTLD8bfQkPMPcu1SCOhGnqmKrs0aDAbBgNVHREE -FDASgRBpbmZvQGUtc3ppZ25vLmh1MA0GCSqGSIb3DQEBCwUAA4IBAQDJ0Q5eLtXMs3w+y/w9/w0o -lZMEyL/azXm4Q5DwpL7v8u8hmLzU1F0G9u5C7DBsoKqpyvGvivo/C3NqPuouQH4frlRheesuCDfX -I/OMn74dseGkddug4lQUsbocKaQY9hK6ohQU4zE1yED/t+AFdlfBHFny+L/k7SViXITwfn4fs775 -tyERzAMBVnCnEJIeGzSBHq2cGsMEPO0CYdYeBvNfOofyK/FFh+U9rNHHV4S9a67c2Pm2G2JwCz02 -yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5tHMN1Rq41Bab2XD0h7lbwyYIi -LXpUq3DDfSJlgnCW ------END CERTIFICATE----- - -GlobalSign Root CA - R3 -======================= ------BEGIN CERTIFICATE----- -MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xv -YmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2Jh -bFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxT -aWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2ln -bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWt -iHL8RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsTgHeMCOFJ -0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmmKPZpO/bLyCiR5Z2KYVc3 -rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zdQQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjl -OCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZXriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2 -xmmFghcCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE -FI/wS3+oLkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZURUm7 -lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMpjjM5RcOO5LlXbKr8 -EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK6fBdRoyV3XpYKBovHd7NADdBj+1E -bddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQXmcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18 -YIvDQVETI53O9zJrlAGomecsMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7r -kpeDMdmztcpHWD9f ------END CERTIFICATE----- - -Izenpe.com -========== ------BEGIN CERTIFICATE----- -MIIF8TCCA9mgAwIBAgIQALC3WhZIX7/hy/WL1xnmfTANBgkqhkiG9w0BAQsFADA4MQswCQYDVQQG -EwJFUzEUMBIGA1UECgwLSVpFTlBFIFMuQS4xEzARBgNVBAMMCkl6ZW5wZS5jb20wHhcNMDcxMjEz -MTMwODI4WhcNMzcxMjEzMDgyNzI1WjA4MQswCQYDVQQGEwJFUzEUMBIGA1UECgwLSVpFTlBFIFMu -QS4xEzARBgNVBAMMCkl6ZW5wZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDJ -03rKDx6sp4boFmVqscIbRTJxldn+EFvMr+eleQGPicPK8lVx93e+d5TzcqQsRNiekpsUOqHnJJAK -ClaOxdgmlOHZSOEtPtoKct2jmRXagaKH9HtuJneJWK3W6wyyQXpzbm3benhB6QiIEn6HLmYRY2xU -+zydcsC8Lv/Ct90NduM61/e0aL6i9eOBbsFGb12N4E3GVFWJGjMxCrFXuaOKmMPsOzTFlUFpfnXC -PCDFYbpRR6AgkJOhkEvzTnyFRVSa0QUmQbC1TR0zvsQDyCV8wXDbO/QJLVQnSKwv4cSsPsjLkkxT -OTcj7NMB+eAJRE1NZMDhDVqHIrytG6P+JrUV86f8hBnp7KGItERphIPzidF0BqnMC9bC3ieFUCbK -F7jJeodWLBoBHmy+E60QrLUk9TiRodZL2vG70t5HtfG8gfZZa88ZU+mNFctKy6lvROUbQc/hhqfK -0GqfvEyNBjNaooXlkDWgYlwWTvDjovoDGrQscbNYLN57C9saD+veIR8GdwYDsMnvmfzAuU8Lhij+ -0rnq49qlw0dpEuDb8PYZi+17cNcC1u2HGCgsBCRMd+RIihrGO5rUD8r6ddIBQFqNeb+Lz0vPqhbB -leStTIo+F5HUsWLlguWABKQDfo2/2n+iD5dPDNMN+9fR5XJ+HMh3/1uaD7euBUbl8agW7EekFwID -AQABo4H2MIHzMIGwBgNVHREEgagwgaWBD2luZm9AaXplbnBlLmNvbaSBkTCBjjFHMEUGA1UECgw+ -SVpFTlBFIFMuQS4gLSBDSUYgQTAxMzM3MjYwLVJNZXJjLlZpdG9yaWEtR2FzdGVpeiBUMTA1NSBG -NjIgUzgxQzBBBgNVBAkMOkF2ZGEgZGVsIE1lZGl0ZXJyYW5lbyBFdG9yYmlkZWEgMTQgLSAwMTAx -MCBWaXRvcmlhLUdhc3RlaXowDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0O -BBYEFB0cZQ6o8iV7tJHP5LGx5r1VdGwFMA0GCSqGSIb3DQEBCwUAA4ICAQB4pgwWSp9MiDrAyw6l -Fn2fuUhfGI8NYjb2zRlrrKvV9pF9rnHzP7MOeIWblaQnIUdCSnxIOvVFfLMMjlF4rJUT3sb9fbga -kEyrkgPH7UIBzg/YsfqikuFgba56awmqxinuaElnMIAkejEWOVt+8Rwu3WwJrfIxwYJOubv5vr8q -hT/AQKM6WfxZSzwoJNu0FXWuDYi6LnPAvViH5ULy617uHjAimcs30cQhbIHsvm0m5hzkQiCeR7Cs -g1lwLDXWrzY0tM07+DKo7+N4ifuNRSzanLh+QBxh5z6ikixL8s36mLYp//Pye6kfLqCTVyvehQP5 -aTfLnnhqBbTFMXiJ7HqnheG5ezzevh55hM6fcA5ZwjUukCox2eRFekGkLhObNA5me0mrZJfQRsN5 -nXJQY6aYWwa9SG3YOYNw6DXwBdGqvOPbyALqfP2C2sJbUjWumDqtujWTI6cfSN01RpiyEGjkpTHC -ClguGYEQyVB1/OpaFs4R1+7vUIgtYf8/QnMFlEPVjjxOAToZpR9GTnfQXeWBIiGH/pR9hNiTrdZo -Q0iy2+tzJOeRf1SktoA+naM8THLCV8Sg1Mw4J87VBp6iSNnpn86CcDaTmjvfliHjWbcM2pE38P1Z -WrOZyGlsQyYBNWNgVYkDOnXYukrZVP/u3oDYLdE41V4tC5h9Pmzb/CaIxw== ------END CERTIFICATE----- - -Go Daddy Root Certificate Authority - G2 -======================================== ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoTEUdvRGFkZHkuY29tLCBJbmMu -MTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5 -MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6 -b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8G -A1UEAxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZI -hvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKDE6bFIEMBO4Tx5oVJnyfq -9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH/PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD -+qK+ihVqf94Lw7YZFAXK6sOoBJQ7RnwyDfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutd -fMh8+7ArU6SSYmlRJQVhGkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMl -NAJWJwGRtDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEAAaNC -MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFDqahQcQZyi27/a9 -BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmXWWcDYfF+OwYxdS2hII5PZYe096ac -vNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r -5N9ss4UXnT3ZJE95kTXWXwTrgIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYV -N8Gb5DKj7Tjo2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO -LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI4uJEvlz36hz1 ------END CERTIFICATE----- - -Starfield Root Certificate Authority - G2 -========================================= ------BEGIN CERTIFICATE----- -MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s -b2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVsZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0 -eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAw -DgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQg -VGVjaG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZpY2F0ZSBB -dXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL3twQP89o/8ArFv -W59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMgnLRJdzIpVv257IzdIvpy3Cdhl+72WoTs -bhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNk -N3mSwOxGXn/hbVNMYq/NHwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7Nf -ZTD4p7dNdloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0HZbU -JtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC -AQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0GCSqGSIb3DQEBCwUAA4IBAQARWfol -TwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjUsHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx -4mcujJUDJi5DnUox9g61DLu34jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUw -F5okxBDgBPfg8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K -pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1mMpYjn0q7pBZ -c2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0 ------END CERTIFICATE----- - -Starfield Services Root Certificate Authority - G2 -================================================== ------BEGIN CERTIFICATE----- -MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMxEDAOBgNVBAgT -B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s -b2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVsZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRl -IEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNV -BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxT -dGFyZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2VydmljZXMg -Um9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20pOsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2 -h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm28xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4Pa -hHQUw2eeBGg6345AWh1KTs9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLP -LJGmpufehRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk6mFB -rMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAwDwYDVR0TAQH/BAUw -AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+qAdcwKziIorhtSpzyEZGDMA0GCSqG -SIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMIbw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPP -E95Dz+I0swSdHynVv/heyNXBve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTy -xQGjhdByPq1zqwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd -iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn0q23KXB56jza -YyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCNsSi6 ------END CERTIFICATE----- - -Certum Trusted Network CA -========================= ------BEGIN CERTIFICATE----- -MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQK -ExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIy -MTIwNzM3WhcNMjkxMjMxMTIwNzM3WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBU -ZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 -MSIwIAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0BAQEFAAOC -AQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rHUV+rpDKmYYe2bg+G0jAC -l/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LMTXPb865Px1bVWqeWifrzq2jUI4ZZJ88J -J7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVUBBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4 -fOQtf/WsX+sWn7Et0brMkUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0 -cvW0QM8xAcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNVHRMB -Af8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNVHQ8BAf8EBAMCAQYw -DQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15ysHhE49wcrwn9I0j6vSrEuVUEtRCj -jSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfLI9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1 -mS1FhIrlQgnXdAIv94nYmem8J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5aj -Zt3hrvJBW8qYVoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI -03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw= ------END CERTIFICATE----- - -TWCA Root Certification Authority -================================= ------BEGIN CERTIFICATE----- -MIIDezCCAmOgAwIBAgIBATANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJUVzESMBAGA1UECgwJ -VEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NBIFJvb3QgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwHhcNMDgwODI4MDcyNDMzWhcNMzAxMjMxMTU1OTU5WjBfMQswCQYDVQQG -EwJUVzESMBAGA1UECgwJVEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NB -IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK -AoIBAQCwfnK4pAOU5qfeCTiRShFAh6d8WWQUe7UREN3+v9XAu1bihSX0NXIP+FPQQeFEAcK0HMMx -QhZHhTMidrIKbw/lJVBPhYa+v5guEGcevhEFhgWQxFnQfHgQsIBct+HHK3XLfJ+utdGdIzdjp9xC -oi2SBBtQwXu4PhvJVgSLL1KbralW6cH/ralYhzC2gfeXRfwZVzsrb+RH9JlF/h3x+JejiB03HFyP -4HYlmlD4oFT/RJB2I9IyxsOrBr/8+7/zrX2SYgJbKdM1o5OaQ2RgXbL6Mv87BK9NQGr5x+PvI/1r -y+UPizgN7gr8/g+YnzAx3WxSZfmLgb4i4RxYA7qRG4kHAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIB -BjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqOFsmjd6LWvJPelSDGRjjCDWmujANBgkqhkiG -9w0BAQUFAAOCAQEAPNV3PdrfibqHDAhUaiBQkr6wQT25JmSDCi/oQMCXKCeCMErJk/9q56YAf4lC -mtYR5VPOL8zy2gXE/uJQxDqGfczafhAJO5I1KlOy/usrBdlsXebQ79NqZp4VKIV66IIArB6nCWlW -QtNoURi+VJq/REG6Sb4gumlc7rh3zc5sH62Dlhh9DrUUOYTxKOkto557HnpyWoOzeW/vtPzQCqVY -T0bf+215WfKEIlKuD8z7fDvnaspHYcN6+NOSBB+4IIThNlQWx0DeO4pz3N/GCUzf7Nr/1FNCocny -Yh0igzyXxfkZYiesZSLX0zzG5Y6yU8xJzrww/nsOM5D77dIUkR8Hrw== ------END CERTIFICATE----- - -Security Communication RootCA2 -============================== ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBdMQswCQYDVQQGEwJKUDElMCMGA1UEChMc -U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEnMCUGA1UECxMeU2VjdXJpdHkgQ29tbXVuaWNh -dGlvbiBSb290Q0EyMB4XDTA5MDUyOTA1MDAzOVoXDTI5MDUyOTA1MDAzOVowXTELMAkGA1UEBhMC -SlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xJzAlBgNVBAsTHlNlY3Vy -aXR5IENvbW11bmljYXRpb24gUm9vdENBMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -ANAVOVKxUrO6xVmCxF1SrjpDZYBLx/KWvNs2l9amZIyoXvDjChz335c9S672XewhtUGrzbl+dp++ -+T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVMVAX3NuRFg3sUZdbcDE3R -3n4MqzvEFb46VqZab3ZpUql6ucjrappdUtAtCms1FgkQhNBqyjoGADdH5H5XTz+L62e4iKrFvlNV -spHEfbmwhRkGeC7bYRr6hfVKkaHnFtWOojnflLhwHyg/i/xAXmODPIMqGplrz95Zajv8bxbXH/1K -EOtOghY6rCcMU/Gt1SSwawNQwS08Ft1ENCcadfsCAwEAAaNCMEAwHQYDVR0OBBYEFAqFqXdlBZh8 -QIH4D5csOPEK7DzPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEB -CwUAA4IBAQBMOqNErLlFsceTfsgLCkLfZOoc7llsCLqJX2rKSpWeeo8HxdpFcoJxDjrSzG+ntKEj -u/Ykn8sX/oymzsLS28yN/HH8AynBbF0zX2S2ZTuJbxh2ePXcokgfGT+Ok+vx+hfuzU7jBBJV1uXk -3fs+BXziHV7Gp7yXT2g69ekuCkO2r1dcYmh8t/2jioSgrGK+KwmHNPBqAbubKVY8/gA3zyNs8U6q -tnRGEmyR7jTV7JqR50S+kDFy1UkC9gLl9B/rfNmWVan/7Ir5mUf/NVoCqgTLiluHcSmRvaS0eg29 -mvVXIwAHIRc/SjnRBUkLp7Y3gaVdjKozXoEofKd9J+sAro03 ------END CERTIFICATE----- - -Actalis Authentication Root CA -============================== ------BEGIN CERTIFICATE----- -MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAM -BgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UE -AwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDky -MjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlz -IFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290 -IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJ -wkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZa -by/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6 -zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1f -YVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2 -oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8l -EfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7 -hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8 -EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5 -jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAaNjMGEwHQYDVR0OBBYEFFLY -iDrIn3hm7YnzezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbt -ifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQALe3KHwGCmSUyI -WOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70jsNjLiNmsGe+b7bAEzlgqqI0 -JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKx -K3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+ -Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC -4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo -2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhz -lefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXem -OR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9 -vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== ------END CERTIFICATE----- - -Buypass Class 2 Root CA -======================= ------BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMiBSb290IENBMB4X -DTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1owTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 -eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1 -g1Lr6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPVL4O2fuPn -9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC911K2GScuVr1QGbNgGE41b -/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHxMlAQTn/0hpPshNOOvEu/XAFOBz3cFIqU -CqTqc/sLUegTBxj6DvEr0VQVfTzh97QZQmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeff -awrbD02TTqigzXsu8lkBarcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgI -zRFo1clrUs3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLiFRhn -Bkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRSP/TizPJhk9H9Z2vX -Uq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN9SG9dKpN6nIDSdvHXx1iY8f93ZHs -M+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxPAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFMmAd+BikoL1RpzzuvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF -AAOCAgEAU18h9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s -A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3tOluwlN5E40EI -osHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo+fsicdl9sz1Gv7SEr5AcD48S -aq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYd -DnkM/crqJIByw5c/8nerQyIKx+u2DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWD -LfJ6v9r9jv6ly0UsH8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0 -oyLQI+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK75t98biGC -wWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h3PFaTWwyI0PurKju7koS -CTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPzY11aWOIv4x3kqdbQCtCev9eBCfHJxyYN -rJgWVqA= ------END CERTIFICATE----- - -Buypass Class 3 Root CA -======================= ------BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU -QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMyBSb290IENBMB4X -DTEwMTAyNjA4Mjg1OFoXDTQwMTAyNjA4Mjg1OFowTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 -eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDMgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKXaCpUWUOOV8l6ddjEGMnqb8RB2uACatVI2zSRH -sJ8YZLya9vrVediQYkwiL944PdbgqOkcLNt4EemOaFEVcsfzM4fkoF0LXOBXByow9c3EN3coTRiR -5r/VUv1xLXA+58bEiuPwKAv0dpihi4dVsjoT/Lc+JzeOIuOoTyrvYLs9tznDDgFHmV0ST9tD+leh -7fmdvhFHJlsTmKtdFoqwNxxXnUX/iJY2v7vKB3tvh2PX0DJq1l1sDPGzbjniazEuOQAnFN44wOwZ -ZoYS6J1yFhNkUsepNxz9gjDthBgd9K5c/3ATAOux9TN6S9ZV+AWNS2mw9bMoNlwUxFFzTWsL8TQH -2xc519woe2v1n/MuwU8XKhDzzMro6/1rqy6any2CbgTUUgGTLT2G/H783+9CHaZr77kgxve9oKeV -/afmiSTYzIw0bOIjL9kSGiG5VZFvC5F5GQytQIgLcOJ60g7YaEi7ghM5EFjp2CoHxhLbWNvSO1UQ -RwUVZ2J+GGOmRj8JDlQyXr8NYnon74Do29lLBlo3WiXQCBJ31G8JUJc9yB3D34xFMFbG02SrZvPA -Xpacw8Tvw3xrizp5f7NJzz3iiZ+gMEuFuZyUJHmPfWupRWgPK9Dx2hzLabjKSWJtyNBjYt1gD1iq -j6G8BaVmos8bdrKEZLFMOVLAMLrwjEsCsLa3AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFEe4zf/lb+74suwvTg75JbCOPGvDMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF -AAOCAgEAACAjQTUEkMJAYmDv4jVM1z+s4jSQuKFvdvoWFqRINyzpkMLyPPgKn9iB5btb2iUspKdV -cSQy9sgL8rxq+JOssgfCX5/bzMiKqr5qb+FJEMwx14C7u8jYog5kV+qi9cKpMRXSIGrs/CIBKM+G -uIAeqcwRpTzyFrNHnfzSgCHEy9BHcEGhyoMZCCxt8l13nIoUE9Q2HJLw5QY33KbmkJs4j1xrG0aG -Q0JfPgEHU1RdZX33inOhmlRaHylDFCfChQ+1iHsaO5S3HWCntZznKWlXWpuTekMwGwPXYshApqr8 -ZORK15FTAaggiG6cX0S5y2CBNOxv033aSF/rtJC8LakcC6wc1aJoIIAE1vyxjy+7SjENSoYc6+I2 -KSb12tjE8nVhz36udmNKekBlk4f4HoCMhuWG1o8O/FMsYOgWYRqiPkN7zTlgVGr18okmAWiDSKIz -6MkEkbIRNBE+6tBDGR8Dk5AM/1E9V/RBbuHLoL7ryWPNbczk+DaqaJ3tvV2XcEQNtg413OEMXbug -UZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvDu79leNKGef9JOxqDDPDe -eOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq4/g7u9xN12TyUb7mqqta6THuBrxzvxNi -Cp/HuZc= ------END CERTIFICATE----- - -T-TeleSec GlobalRoot Class 3 -============================ ------BEGIN CERTIFICATE----- -MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoM -IlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBU -cnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDMwHhcNMDgx -MDAxMTAyOTU2WhcNMzMxMDAxMjM1OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lz -dGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBD -ZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDMwggEiMA0GCSqGSIb3 -DQEBAQUAA4IBDwAwggEKAoIBAQC9dZPwYiJvJK7genasfb3ZJNW4t/zN8ELg63iIVl6bmlQdTQyK -9tPPcPRStdiTBONGhnFBSivwKixVA9ZIw+A5OO3yXDw/RLyTPWGrTs0NvvAgJ1gORH8EGoel15YU -NpDQSXuhdfsaa3Ox+M6pCSzyU9XDFES4hqX2iys52qMzVNn6chr3IhUciJFrf2blw2qAsCTz34ZF -iP0Zf3WHHx+xGwpzJFu5ZeAsVMhg02YXP+HMVDNzkQI6pn97djmiH5a2OK61yJN0HZ65tOVgnS9W -0eDrXltMEnAMbEQgqxHY9Bn20pxSN+f6tsIxO0rUFJmtxxr1XV/6B7h8DR/Wgx6zAgMBAAGjQjBA -MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS1A/d2O2GCahKqGFPr -AyGUv/7OyjANBgkqhkiG9w0BAQsFAAOCAQEAVj3vlNW92nOyWL6ukK2YJ5f+AbGwUgC4TeQbIXQb -fsDuXmkqJa9c1h3a0nnJ85cp4IaH3gRZD/FZ1GSFS5mvJQQeyUapl96Cshtwn5z2r3Ex3XsFpSzT -ucpH9sry9uetuUg/vBa3wW306gmv7PO15wWeph6KU1HWk4HMdJP2udqmJQV0eVp+QD6CSyYRMG7h -P0HHRwA11fXT91Q+gT3aSWqas+8QPebrb9HIIkfLzM8BMZLZGOMivgkeGj5asuRrDFR6fUNOuIml -e9eiPZaGzPImNC1qkp2aGtAw4l1OBLBfiyB+d8E9lYLRRpo7PHi4b6HQDWSieB4pTpPDpFQUWw== ------END CERTIFICATE----- - -D-TRUST Root Class 3 CA 2 2009 -============================== ------BEGIN CERTIFICATE----- -MIIEMzCCAxugAwIBAgIDCYPzMA0GCSqGSIb3DQEBCwUAME0xCzAJBgNVBAYTAkRFMRUwEwYDVQQK -DAxELVRydXN0IEdtYkgxJzAlBgNVBAMMHkQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgMjAwOTAe -Fw0wOTExMDUwODM1NThaFw0yOTExMDUwODM1NThaME0xCzAJBgNVBAYTAkRFMRUwEwYDVQQKDAxE -LVRydXN0IEdtYkgxJzAlBgNVBAMMHkQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgMjAwOTCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOySs96R+91myP6Oi/WUEWJNTrGa9v+2wBoqOAD -ER03UAifTUpolDWzU9GUY6cgVq/eUXjsKj3zSEhQPgrfRlWLJ23DEE0NkVJD2IfgXU42tSHKXzlA -BF9bfsyjxiupQB7ZNoTWSPOSHjRGICTBpFGOShrvUD9pXRl/RcPHAY9RySPocq60vFYJfxLLHLGv -KZAKyVXMD9O0Gu1HNVpK7ZxzBCHQqr0ME7UAyiZsxGsMlFqVlNpQmvH/pStmMaTJOKDfHR+4CS7z -p+hnUquVH+BGPtikw8paxTGA6Eian5Rp/hnd2HN8gcqW3o7tszIFZYQ05ub9VxC1X3a/L7AQDcUC -AwEAAaOCARowggEWMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFP3aFMSfMN4hvR5COfyrYyNJ -4PGEMA4GA1UdDwEB/wQEAwIBBjCB0wYDVR0fBIHLMIHIMIGAoH6gfIZ6bGRhcDovL2RpcmVjdG9y -eS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwUm9vdCUyMENsYXNzJTIwMyUyMENBJTIwMiUyMDIw -MDksTz1ELVRydXN0JTIwR21iSCxDPURFP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxpc3QwQ6BBoD+G -PWh0dHA6Ly93d3cuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3Rfcm9vdF9jbGFzc18zX2NhXzJfMjAw -OS5jcmwwDQYJKoZIhvcNAQELBQADggEBAH+X2zDI36ScfSF6gHDOFBJpiBSVYEQBrLLpME+bUMJm -2H6NMLVwMeniacfzcNsgFYbQDfC+rAF1hM5+n02/t2A7nPPKHeJeaNijnZflQGDSNiH+0LS4F9p0 -o3/U37CYAqxva2ssJSRyoWXuJVrl5jLn8t+rSfrzkGkj2wTZ51xY/GXUl77M/C4KzCUqNQT4YJEV -dT1B/yMfGchs64JTBKbkTCJNjYy6zltz7GRUUG3RnFX7acM2w4y8PIWmawomDeCTmGCufsYkl4ph -X5GOZpIJhzbNi5stPvZR1FDUWSi9g/LMKHtThm3YJohw1+qRzT65ysCQblrGXnRl11z+o+I= ------END CERTIFICATE----- - -D-TRUST Root Class 3 CA 2 EV 2009 -================================= ------BEGIN CERTIFICATE----- -MIIEQzCCAyugAwIBAgIDCYP0MA0GCSqGSIb3DQEBCwUAMFAxCzAJBgNVBAYTAkRFMRUwEwYDVQQK -DAxELVRydXN0IEdtYkgxKjAoBgNVBAMMIUQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgRVYgMjAw -OTAeFw0wOTExMDUwODUwNDZaFw0yOTExMDUwODUwNDZaMFAxCzAJBgNVBAYTAkRFMRUwEwYDVQQK -DAxELVRydXN0IEdtYkgxKjAoBgNVBAMMIUQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgRVYgMjAw -OTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJnxhDRwui+3MKCOvXwEz75ivJn9gpfS -egpnljgJ9hBOlSJzmY3aFS3nBfwZcyK3jpgAvDw9rKFs+9Z5JUut8Mxk2og+KbgPCdM03TP1YtHh -zRnp7hhPTFiu4h7WDFsVWtg6uMQYZB7jM7K1iXdODL/ZlGsTl28So/6ZqQTMFexgaDbtCHu39b+T -7WYxg4zGcTSHThfqr4uRjRxWQa4iN1438h3Z0S0NL2lRp75mpoo6Kr3HGrHhFPC+Oh25z1uxav60 -sUYgovseO3Dvk5h9jHOW8sXvhXCtKSb8HgQ+HKDYD8tSg2J87otTlZCpV6LqYQXY+U3EJ/pure35 -11H3a6UCAwEAAaOCASQwggEgMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNOUikxiEyoZLsyv -cop9NteaHNxnMA4GA1UdDwEB/wQEAwIBBjCB3QYDVR0fBIHVMIHSMIGHoIGEoIGBhn9sZGFwOi8v -ZGlyZWN0b3J5LmQtdHJ1c3QubmV0L0NOPUQtVFJVU1QlMjBSb290JTIwQ2xhc3MlMjAzJTIwQ0El -MjAyJTIwRVYlMjAyMDA5LE89RC1UcnVzdCUyMEdtYkgsQz1ERT9jZXJ0aWZpY2F0ZXJldm9jYXRp -b25saXN0MEagRKBChkBodHRwOi8vd3d3LmQtdHJ1c3QubmV0L2NybC9kLXRydXN0X3Jvb3RfY2xh -c3NfM19jYV8yX2V2XzIwMDkuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQA07XtaPKSUiO8aEXUHL7P+ -PPoeUSbrh/Yp3uDx1MYkCenBz1UbtDDZzhr+BlGmFaQt77JLvyAoJUnRpjZ3NOhk31KxEcdzes05 -nsKtjHEh8lprr988TlWvsoRlFIm5d8sqMb7Po23Pb0iUMkZv53GMoKaEGTcH8gNFCSuGdXzfX2lX -ANtu2KZyIktQ1HWYVt+3GP9DQ1CuekR78HlR10M9p9OB0/DJT7naxpeG0ILD5EJt/rDiZE4OJudA -NCa1CInXCGNjOCd1HjPqbqjdn5lPdE2BiYBL3ZqXKVwvvoFBuYz/6n1gBp7N1z3TLqMVvKjmJuVv -w9y4AyHqnxbxLFS1 ------END CERTIFICATE----- - -CA Disig Root R2 -================ ------BEGIN CERTIFICATE----- -MIIFaTCCA1GgAwIBAgIJAJK4iNuwisFjMA0GCSqGSIb3DQEBCwUAMFIxCzAJBgNVBAYTAlNLMRMw -EQYDVQQHEwpCcmF0aXNsYXZhMRMwEQYDVQQKEwpEaXNpZyBhLnMuMRkwFwYDVQQDExBDQSBEaXNp -ZyBSb290IFIyMB4XDTEyMDcxOTA5MTUzMFoXDTQyMDcxOTA5MTUzMFowUjELMAkGA1UEBhMCU0sx -EzARBgNVBAcTCkJyYXRpc2xhdmExEzARBgNVBAoTCkRpc2lnIGEucy4xGTAXBgNVBAMTEENBIERp -c2lnIFJvb3QgUjIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCio8QACdaFXS1tFPbC -w3OeNcJxVX6B+6tGUODBfEl45qt5WDza/3wcn9iXAng+a0EE6UG9vgMsRfYvZNSrXaNHPWSb6Wia -xswbP7q+sos0Ai6YVRn8jG+qX9pMzk0DIaPY0jSTVpbLTAwAFjxfGs3Ix2ymrdMxp7zo5eFm1tL7 -A7RBZckQrg4FY8aAamkw/dLukO8NJ9+flXP04SXabBbeQTg06ov80egEFGEtQX6sx3dOy1FU+16S -GBsEWmjGycT6txOgmLcRK7fWV8x8nhfRyyX+hk4kLlYMeE2eARKmK6cBZW58Yh2EhN/qwGu1pSqV -g8NTEQxzHQuyRpDRQjrOQG6Vrf/GlK1ul4SOfW+eioANSW1z4nuSHsPzwfPrLgVv2RvPN3YEyLRa -5Beny912H9AZdugsBbPWnDTYltxhh5EF5EQIM8HauQhl1K6yNg3ruji6DOWbnuuNZt2Zz9aJQfYE -koopKW1rOhzndX0CcQ7zwOe9yxndnWCywmZgtrEE7snmhrmaZkCo5xHtgUUDi/ZnWejBBhG93c+A -Ak9lQHhcR1DIm+YfgXvkRKhbhZri3lrVx/k6RGZL5DJUfORsnLMOPReisjQS1n6yqEm70XooQL6i -Fh/f5DcfEXP7kAplQ6INfPgGAVUzfbANuPT1rqVCV3w2EYx7XsQDnYx5nQIDAQABo0IwQDAPBgNV -HRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUtZn4r7CU9eMg1gqtzk5WpC5u -Qu0wDQYJKoZIhvcNAQELBQADggIBACYGXnDnZTPIgm7ZnBc6G3pmsgH2eDtpXi/q/075KMOYKmFM -tCQSin1tERT3nLXK5ryeJ45MGcipvXrA1zYObYVybqjGom32+nNjf7xueQgcnYqfGopTpti72TVV -sRHFqQOzVju5hJMiXn7B9hJSi+osZ7z+Nkz1uM/Rs0mSO9MpDpkblvdhuDvEK7Z4bLQjb/D907Je -dR+Zlais9trhxTF7+9FGs9K8Z7RiVLoJ92Owk6Ka+elSLotgEqv89WBW7xBci8QaQtyDW2QOy7W8 -1k/BfDxujRNt+3vrMNDcTa/F1balTFtxyegxvug4BkihGuLq0t4SOVga/4AOgnXmt8kHbA7v/zjx -mHHEt38OFdAlab0inSvtBfZGR6ztwPDUO+Ls7pZbkBNOHlY667DvlruWIxG68kOGdGSVyCh13x01 -utI3gzhTODY7z2zp+WsO0PsE6E9312UBeIYMej4hYvF/Y3EMyZ9E26gnonW+boE+18DrG5gPcFw0 -sorMwIUY6256s/daoQe/qUKS82Ail+QUoQebTnbAjn39pCXHR+3/H3OszMOl6W8KjptlwlCFtaOg -UxLMVYdh84GuEEZhvUQhuMI9dM9+JDX6HAcOmz0iyu8xL4ysEr3vQCj8KWefshNPZiTEUxnpHikV -7+ZtsH8tZ/3zbBt1RqPlShfppNcL ------END CERTIFICATE----- - -ACCVRAIZ1 -========= ------BEGIN CERTIFICATE----- -MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UEAwwJQUNDVlJB -SVoxMRAwDgYDVQQLDAdQS0lBQ0NWMQ0wCwYDVQQKDARBQ0NWMQswCQYDVQQGEwJFUzAeFw0xMTA1 -MDUwOTM3MzdaFw0zMDEyMzEwOTM3MzdaMEIxEjAQBgNVBAMMCUFDQ1ZSQUlaMTEQMA4GA1UECwwH -UEtJQUNDVjENMAsGA1UECgwEQUNDVjELMAkGA1UEBhMCRVMwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQCbqau/YUqXry+XZpp0X9DZlv3P4uRm7x8fRzPCRKPfmt4ftVTdFXxpNRFvu8gM -jmoYHtiP2Ra8EEg2XPBjs5BaXCQ316PWywlxufEBcoSwfdtNgM3802/J+Nq2DoLSRYWoG2ioPej0 -RGy9ocLLA76MPhMAhN9KSMDjIgro6TenGEyxCQ0jVn8ETdkXhBilyNpAlHPrzg5XPAOBOp0KoVdD -aaxXbXmQeOW1tDvYvEyNKKGno6e6Ak4l0Squ7a4DIrhrIA8wKFSVf+DuzgpmndFALW4ir50awQUZ -0m/A8p/4e7MCQvtQqR0tkw8jq8bBD5L/0KIV9VMJcRz/RROE5iZe+OCIHAr8Fraocwa48GOEAqDG -WuzndN9wrqODJerWx5eHk6fGioozl2A3ED6XPm4pFdahD9GILBKfb6qkxkLrQaLjlUPTAYVtjrs7 -8yM2x/474KElB0iryYl0/wiPgL/AlmXz7uxLaL2diMMxs0Dx6M/2OLuc5NF/1OVYm3z61PMOm3WR -5LpSLhl+0fXNWhn8ugb2+1KoS5kE3fj5tItQo05iifCHJPqDQsGH+tUtKSpacXpkatcnYGMN285J -9Y0fkIkyF/hzQ7jSWpOGYdbhdQrqeWZ2iE9x6wQl1gpaepPluUsXQA+xtrn13k/c4LOsOxFwYIRK -Q26ZIMApcQrAZQIDAQABo4ICyzCCAscwfQYIKwYBBQUHAQEEcTBvMEwGCCsGAQUFBzAChkBodHRw -Oi8vd3d3LmFjY3YuZXMvZmlsZWFkbWluL0FyY2hpdm9zL2NlcnRpZmljYWRvcy9yYWl6YWNjdjEu -Y3J0MB8GCCsGAQUFBzABhhNodHRwOi8vb2NzcC5hY2N2LmVzMB0GA1UdDgQWBBTSh7Tj3zcnk1X2 -VuqB5TbMjB4/vTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNKHtOPfNyeTVfZW6oHlNsyM -Hj+9MIIBcwYDVR0gBIIBajCCAWYwggFiBgRVHSAAMIIBWDCCASIGCCsGAQUFBwICMIIBFB6CARAA -QQB1AHQAbwByAGkAZABhAGQAIABkAGUAIABDAGUAcgB0AGkAZgBpAGMAYQBjAGkA8wBuACAAUgBh -AO0AegAgAGQAZQAgAGwAYQAgAEEAQwBDAFYAIAAoAEEAZwBlAG4AYwBpAGEAIABkAGUAIABUAGUA -YwBuAG8AbABvAGcA7QBhACAAeQAgAEMAZQByAHQAaQBmAGkAYwBhAGMAaQDzAG4AIABFAGwAZQBj -AHQAcgDzAG4AaQBjAGEALAAgAEMASQBGACAAUQA0ADYAMAAxADEANQA2AEUAKQAuACAAQwBQAFMA -IABlAG4AIABoAHQAdABwADoALwAvAHcAdwB3AC4AYQBjAGMAdgAuAGUAczAwBggrBgEFBQcCARYk -aHR0cDovL3d3dy5hY2N2LmVzL2xlZ2lzbGFjaW9uX2MuaHRtMFUGA1UdHwROMEwwSqBIoEaGRGh0 -dHA6Ly93d3cuYWNjdi5lcy9maWxlYWRtaW4vQXJjaGl2b3MvY2VydGlmaWNhZG9zL3JhaXphY2N2 -MV9kZXIuY3JsMA4GA1UdDwEB/wQEAwIBBjAXBgNVHREEEDAOgQxhY2N2QGFjY3YuZXMwDQYJKoZI -hvcNAQEFBQADggIBAJcxAp/n/UNnSEQU5CmH7UwoZtCPNdpNYbdKl02125DgBS4OxnnQ8pdpD70E -R9m+27Up2pvZrqmZ1dM8MJP1jaGo/AaNRPTKFpV8M9xii6g3+CfYCS0b78gUJyCpZET/LtZ1qmxN -YEAZSUNUY9rizLpm5U9EelvZaoErQNV/+QEnWCzI7UiRfD+mAM/EKXMRNt6GGT6d7hmKG9Ww7Y49 -nCrADdg9ZuM8Db3VlFzi4qc1GwQA9j9ajepDvV+JHanBsMyZ4k0ACtrJJ1vnE5Bc5PUzolVt3OAJ -TS+xJlsndQAJxGJ3KQhfnlmstn6tn1QwIgPBHnFk/vk4CpYY3QIUrCPLBhwepH2NDd4nQeit2hW3 -sCPdK6jT2iWH7ehVRE2I9DZ+hJp4rPcOVkkO1jMl1oRQQmwgEh0q1b688nCBpHBgvgW1m54ERL5h -I6zppSSMEYCUWqKiuUnSwdzRp+0xESyeGabu4VXhwOrPDYTkF7eifKXeVSUG7szAh1xA2syVP1Xg -Nce4hL60Xc16gwFy7ofmXx2utYXGJt/mwZrpHgJHnyqobalbz+xFd3+YJ5oyXSrjhO7FmGYvliAd -3djDJ9ew+f7Zfc3Qn48LFFhRny+Lwzgt3uiP1o2HpPVWQxaZLPSkVrQ0uGE3ycJYgBugl6H8WY3p -EfbRD0tVNEYqi4Y7 ------END CERTIFICATE----- - -TWCA Global Root CA -=================== ------BEGIN CERTIFICATE----- -MIIFQTCCAymgAwIBAgICDL4wDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVFcxEjAQBgNVBAoT -CVRBSVdBTi1DQTEQMA4GA1UECxMHUm9vdCBDQTEcMBoGA1UEAxMTVFdDQSBHbG9iYWwgUm9vdCBD -QTAeFw0xMjA2MjcwNjI4MzNaFw0zMDEyMzExNTU5NTlaMFExCzAJBgNVBAYTAlRXMRIwEAYDVQQK -EwlUQUlXQU4tQ0ExEDAOBgNVBAsTB1Jvb3QgQ0ExHDAaBgNVBAMTE1RXQ0EgR2xvYmFsIFJvb3Qg -Q0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCwBdvI64zEbooh745NnHEKH1Jw7W2C -nJfF10xORUnLQEK1EjRsGcJ0pDFfhQKX7EMzClPSnIyOt7h52yvVavKOZsTuKwEHktSz0ALfUPZV -r2YOy+BHYC8rMjk1Ujoog/h7FsYYuGLWRyWRzvAZEk2tY/XTP3VfKfChMBwqoJimFb3u/Rk28OKR -Q4/6ytYQJ0lM793B8YVwm8rqqFpD/G2Gb3PpN0Wp8DbHzIh1HrtsBv+baz4X7GGqcXzGHaL3SekV -tTzWoWH1EfcFbx39Eb7QMAfCKbAJTibc46KokWofwpFFiFzlmLhxpRUZyXx1EcxwdE8tmx2RRP1W -KKD+u4ZqyPpcC1jcxkt2yKsi2XMPpfRaAok/T54igu6idFMqPVMnaR1sjjIsZAAmY2E2TqNGtz99 -sy2sbZCilaLOz9qC5wc0GZbpuCGqKX6mOL6OKUohZnkfs8O1CWfe1tQHRvMq2uYiN2DLgbYPoA/p -yJV/v1WRBXrPPRXAb94JlAGD1zQbzECl8LibZ9WYkTunhHiVJqRaCPgrdLQABDzfuBSO6N+pjWxn -kjMdwLfS7JLIvgm/LCkFbwJrnu+8vyq8W8BQj0FwcYeyTbcEqYSjMq+u7msXi7Kx/mzhkIyIqJdI -zshNy/MGz19qCkKxHh53L46g5pIOBvwFItIm4TFRfTLcDwIDAQABoyMwITAOBgNVHQ8BAf8EBAMC -AQYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEAXzSBdu+WHdXltdkCY4QWwa6g -cFGn90xHNcgL1yg9iXHZqjNB6hQbbCEAwGxCGX6faVsgQt+i0trEfJdLjbDorMjupWkEmQqSpqsn -LhpNgb+E1HAerUf+/UqdM+DyucRFCCEK2mlpc3INvjT+lIutwx4116KD7+U4x6WFH6vPNOw/KP4M -8VeGTslV9xzU2KV9Bnpv1d8Q34FOIWWxtuEXeZVFBs5fzNxGiWNoRI2T9GRwoD2dKAXDOXC4Ynsg -/eTb6QihuJ49CcdP+yz4k3ZB3lLg4VfSnQO8d57+nile98FRYB/e2guyLXW3Q0iT5/Z5xoRdgFlg -lPx4mI88k1HtQJAH32RjJMtOcQWh15QaiDLxInQirqWm2BJpTGCjAu4r7NRjkgtevi92a6O2JryP -A9gK8kxkRr05YuWW6zRjESjMlfGt7+/cgFhI6Uu46mWs6fyAtbXIRfmswZ/ZuepiiI7E8UuDEq3m -i4TWnsLrgxifarsbJGAzcMzs9zLzXNl5fe+epP7JI8Mk7hWSsT2RTyaGvWZzJBPqpK5jwa19hAM8 -EHiGG3njxPPyBJUgriOCxLM6AGK/5jYk4Ve6xx6QddVfP5VhK8E7zeWzaGHQRiapIVJpLesux+t3 -zqY6tQMzT3bR51xUAV3LePTJDL/PEo4XLSNolOer/qmyKwbQBM0= ------END CERTIFICATE----- - -T-TeleSec GlobalRoot Class 2 -============================ ------BEGIN CERTIFICATE----- -MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoM -IlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBU -cnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwHhcNMDgx -MDAxMTA0MDE0WhcNMzMxMDAxMjM1OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lz -dGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBD -ZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwggEiMA0GCSqGSIb3 -DQEBAQUAA4IBDwAwggEKAoIBAQCqX9obX+hzkeXaXPSi5kfl82hVYAUdAqSzm1nzHoqvNK38DcLZ -SBnuaY/JIPwhqgcZ7bBcrGXHX+0CfHt8LRvWurmAwhiCFoT6ZrAIxlQjgeTNuUk/9k9uN0goOA/F -vudocP05l03Sx5iRUKrERLMjfTlH6VJi1hKTXrcxlkIF+3anHqP1wvzpesVsqXFP6st4vGCvx970 -2cu+fjOlbpSD8DT6IavqjnKgP6TeMFvvhk1qlVtDRKgQFRzlAVfFmPHmBiiRqiDFt1MmUUOyCxGV -WOHAD3bZwI18gfNycJ5v/hqO2V81xrJvNHy+SE/iWjnX2J14np+GPgNeGYtEotXHAgMBAAGjQjBA -MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS/WSA2AHmgoCJrjNXy -YdK4LMuCSjANBgkqhkiG9w0BAQsFAAOCAQEAMQOiYQsfdOhyNsZt+U2e+iKo4YFWz827n+qrkRk4 -r6p8FU3ztqONpfSO9kSpp+ghla0+AGIWiPACuvxhI+YzmzB6azZie60EI4RYZeLbK4rnJVM3YlNf -vNoBYimipidx5joifsFvHZVwIEoHNN/q/xWA5brXethbdXwFeilHfkCoMRN3zUA7tFFHei4R40cR -3p1m0IvVVGb6g1XqfMIpiRvpb7PO4gWEyS8+eIVibslfwXhjdFjASBgMmTnrpMwatXlajRWc2BQN -9noHV8cigwUtPJslJj0Ys6lDfMjIq2SPDqO/nBudMNva0Bkuqjzx+zOAduTNrRlPBSeOE6Fuwg== ------END CERTIFICATE----- - -Atos TrustedRoot 2011 -===================== ------BEGIN CERTIFICATE----- -MIIDdzCCAl+gAwIBAgIIXDPLYixfszIwDQYJKoZIhvcNAQELBQAwPDEeMBwGA1UEAwwVQXRvcyBU -cnVzdGVkUm9vdCAyMDExMQ0wCwYDVQQKDARBdG9zMQswCQYDVQQGEwJERTAeFw0xMTA3MDcxNDU4 -MzBaFw0zMDEyMzEyMzU5NTlaMDwxHjAcBgNVBAMMFUF0b3MgVHJ1c3RlZFJvb3QgMjAxMTENMAsG -A1UECgwEQXRvczELMAkGA1UEBhMCREUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCV -hTuXbyo7LjvPpvMpNb7PGKw+qtn4TaA+Gke5vJrf8v7MPkfoepbCJI419KkM/IL9bcFyYie96mvr -54rMVD6QUM+A1JX76LWC1BTFtqlVJVfbsVD2sGBkWXppzwO3bw2+yj5vdHLqqjAqc2K+SZFhyBH+ -DgMq92og3AIVDV4VavzjgsG1xZ1kCWyjWZgHJ8cblithdHFsQ/H3NYkQ4J7sVaE3IqKHBAUsR320 -HLliKWYoyrfhk/WklAOZuXCFteZI6o1Q/NnezG8HDt0Lcp2AMBYHlT8oDv3FdU9T1nSatCQujgKR -z3bFmx5VdJx4IbHwLfELn8LVlhgf8FQieowHAgMBAAGjfTB7MB0GA1UdDgQWBBSnpQaxLKYJYO7R -l+lwrrw7GWzbITAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFKelBrEspglg7tGX6XCuvDsZ -bNshMBgGA1UdIAQRMA8wDQYLKwYBBAGwLQMEAQEwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB -CwUAA4IBAQAmdzTblEiGKkGdLD4GkGDEjKwLVLgfuXvTBznk+j57sj1O7Z8jvZfza1zv7v1Apt+h -k6EKhqzvINB5Ab149xnYJDE0BAGmuhWawyfc2E8PzBhj/5kPDpFrdRbhIfzYJsdHt6bPWHJxfrrh -TZVHO8mvbaG0weyJ9rQPOLXiZNwlz6bb65pcmaHFCN795trV1lpFDMS3wrUU77QR/w4VtfX128a9 -61qn8FYiqTxlVMYVqL2Gns2Dlmh6cYGJ4Qvh6hEbaAjMaZ7snkGeRDImeuKHCnE96+RapNLbxc3G -3mB/ufNPRJLvKrcYPqcZ2Qt9sTdBQrC6YB3y/gkRsPCHe6ed ------END CERTIFICATE----- - -QuoVadis Root CA 1 G3 -===================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIUeFhfLq0sGUvjNwc1NBMotZbUZZMwDQYJKoZIhvcNAQELBQAwSDELMAkG -A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv -b3QgQ0EgMSBHMzAeFw0xMjAxMTIxNzI3NDRaFw00MjAxMTIxNzI3NDRaMEgxCzAJBgNVBAYTAkJN -MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDEg -RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCgvlAQjunybEC0BJyFuTHK3C3kEakE -PBtVwedYMB0ktMPvhd6MLOHBPd+C5k+tR4ds7FtJwUrVu4/sh6x/gpqG7D0DmVIB0jWerNrwU8lm -PNSsAgHaJNM7qAJGr6Qc4/hzWHa39g6QDbXwz8z6+cZM5cOGMAqNF34168Xfuw6cwI2H44g4hWf6 -Pser4BOcBRiYz5P1sZK0/CPTz9XEJ0ngnjybCKOLXSoh4Pw5qlPafX7PGglTvF0FBM+hSo+LdoIN -ofjSxxR3W5A2B4GbPgb6Ul5jxaYA/qXpUhtStZI5cgMJYr2wYBZupt0lwgNm3fME0UDiTouG9G/l -g6AnhF4EwfWQvTA9xO+oabw4m6SkltFi2mnAAZauy8RRNOoMqv8hjlmPSlzkYZqn0ukqeI1RPToV -7qJZjqlc3sX5kCLliEVx3ZGZbHqfPT2YfF72vhZooF6uCyP8Wg+qInYtyaEQHeTTRCOQiJ/GKubX -9ZqzWB4vMIkIG1SitZgj7Ah3HJVdYdHLiZxfokqRmu8hqkkWCKi9YSgxyXSthfbZxbGL0eUQMk1f -iyA6PEkfM4VZDdvLCXVDaXP7a3F98N/ETH3Goy7IlXnLc6KOTk0k+17kBL5yG6YnLUlamXrXXAkg -t3+UuU/xDRxeiEIbEbfnkduebPRq34wGmAOtzCjvpUfzUwIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUo5fW816iEOGrRZ88F2Q87gFwnMwwDQYJKoZI -hvcNAQELBQADggIBABj6W3X8PnrHX3fHyt/PX8MSxEBd1DKquGrX1RUVRpgjpeaQWxiZTOOtQqOC -MTaIzen7xASWSIsBx40Bz1szBpZGZnQdT+3Btrm0DWHMY37XLneMlhwqI2hrhVd2cDMT/uFPpiN3 -GPoajOi9ZcnPP/TJF9zrx7zABC4tRi9pZsMbj/7sPtPKlL92CiUNqXsCHKnQO18LwIE6PWThv6ct -Tr1NxNgpxiIY0MWscgKCP6o6ojoilzHdCGPDdRS5YCgtW2jgFqlmgiNR9etT2DGbe+m3nUvriBbP -+V04ikkwj+3x6xn0dxoxGE1nVGwvb2X52z3sIexe9PSLymBlVNFxZPT5pqOBMzYzcfCkeF9OrYMh -3jRJjehZrJ3ydlo28hP0r+AJx2EqbPfgna67hkooby7utHnNkDPDs3b69fBsnQGQ+p6Q9pxyz0fa -wx/kNSBT8lTR32GDpgLiJTjehTItXnOQUl1CxM49S+H5GYQd1aJQzEH7QRTDvdbJWqNjZgKAvQU6 -O0ec7AAmTPWIUb+oI38YB7AL7YsmoWTTYUrrXJ/es69nA7Mf3W1daWhpq1467HxpvMc7hU6eFbm0 -FU/DlXpY18ls6Wy58yljXrQs8C097Vpl4KlbQMJImYFtnh8GKjwStIsPm6Ik8KaN1nrgS7ZklmOV -hMJKzRwuJIczYOXD ------END CERTIFICATE----- - -QuoVadis Root CA 2 G3 -===================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIURFc0JFuBiZs18s64KztbpybwdSgwDQYJKoZIhvcNAQELBQAwSDELMAkG -A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv -b3QgQ0EgMiBHMzAeFw0xMjAxMTIxODU5MzJaFw00MjAxMTIxODU5MzJaMEgxCzAJBgNVBAYTAkJN -MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDIg -RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQChriWyARjcV4g/Ruv5r+LrI3HimtFh -ZiFfqq8nUeVuGxbULX1QsFN3vXg6YOJkApt8hpvWGo6t/x8Vf9WVHhLL5hSEBMHfNrMWn4rjyduY -NM7YMxcoRvynyfDStNVNCXJJ+fKH46nafaF9a7I6JaltUkSs+L5u+9ymc5GQYaYDFCDy54ejiK2t -oIz/pgslUiXnFgHVy7g1gQyjO/Dh4fxaXc6AcW34Sas+O7q414AB+6XrW7PFXmAqMaCvN+ggOp+o -MiwMzAkd056OXbxMmO7FGmh77FOm6RQ1o9/NgJ8MSPsc9PG/Srj61YxxSscfrf5BmrODXfKEVu+l -V0POKa2Mq1W/xPtbAd0jIaFYAI7D0GoT7RPjEiuA3GfmlbLNHiJuKvhB1PLKFAeNilUSxmn1uIZo -L1NesNKqIcGY5jDjZ1XHm26sGahVpkUG0CM62+tlXSoREfA7T8pt9DTEceT/AFr2XK4jYIVz8eQQ -sSWu1ZK7E8EM4DnatDlXtas1qnIhO4M15zHfeiFuuDIIfR0ykRVKYnLP43ehvNURG3YBZwjgQQvD -6xVu+KQZ2aKrr+InUlYrAoosFCT5v0ICvybIxo/gbjh9Uy3l7ZizlWNof/k19N+IxWA1ksB8aRxh -lRbQ694Lrz4EEEVlWFA4r0jyWbYW8jwNkALGcC4BrTwV1wIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU7edvdlq/YOxJW8ald7tyFnGbxD0wDQYJKoZI -hvcNAQELBQADggIBAJHfgD9DCX5xwvfrs4iP4VGyvD11+ShdyLyZm3tdquXK4Qr36LLTn91nMX66 -AarHakE7kNQIXLJgapDwyM4DYvmL7ftuKtwGTTwpD4kWilhMSA/ohGHqPHKmd+RCroijQ1h5fq7K -pVMNqT1wvSAZYaRsOPxDMuHBR//47PERIjKWnML2W2mWeyAMQ0GaW/ZZGYjeVYg3UQt4XAoeo0L9 -x52ID8DyeAIkVJOviYeIyUqAHerQbj5hLja7NQ4nlv1mNDthcnPxFlxHBlRJAHpYErAK74X9sbgz -dWqTHBLmYF5vHX/JHyPLhGGfHoJE+V+tYlUkmlKY7VHnoX6XOuYvHxHaU4AshZ6rNRDbIl9qxV6X -U/IyAgkwo1jwDQHVcsaxfGl7w/U2Rcxhbl5MlMVerugOXou/983g7aEOGzPuVBj+D77vfoRrQ+Nw -mNtddbINWQeFFSM51vHfqSYP1kjHs6Yi9TM3WpVHn3u6GBVv/9YUZINJ0gpnIdsPNWNgKCLjsZWD -zYWm3S8P52dSbrsvhXz1SnPnxT7AvSESBT/8twNJAlvIJebiVDj1eYeMHVOyToV7BjjHLPj4sHKN -JeV3UvQDHEimUF+IIDBu8oJDqz2XhOdT+yHBTw8imoa4WSr2Rz0ZiC3oheGe7IUIarFsNMkd7Egr -O3jtZsSOeWmD3n+M ------END CERTIFICATE----- - -QuoVadis Root CA 3 G3 -===================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIULvWbAiin23r/1aOp7r0DoM8Sah0wDQYJKoZIhvcNAQELBQAwSDELMAkG -A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv -b3QgQ0EgMyBHMzAeFw0xMjAxMTIyMDI2MzJaFw00MjAxMTIyMDI2MzJaMEgxCzAJBgNVBAYTAkJN -MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDMg -RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCzyw4QZ47qFJenMioKVjZ/aEzHs286 -IxSR/xl/pcqs7rN2nXrpixurazHb+gtTTK/FpRp5PIpM/6zfJd5O2YIyC0TeytuMrKNuFoM7pmRL -Mon7FhY4futD4tN0SsJiCnMK3UmzV9KwCoWdcTzeo8vAMvMBOSBDGzXRU7Ox7sWTaYI+FrUoRqHe -6okJ7UO4BUaKhvVZR74bbwEhELn9qdIoyhA5CcoTNs+cra1AdHkrAj80//ogaX3T7mH1urPnMNA3 -I4ZyYUUpSFlob3emLoG+B01vr87ERRORFHAGjx+f+IdpsQ7vw4kZ6+ocYfx6bIrc1gMLnia6Et3U -VDmrJqMz6nWB2i3ND0/kA9HvFZcba5DFApCTZgIhsUfei5pKgLlVj7WiL8DWM2fafsSntARE60f7 -5li59wzweyuxwHApw0BiLTtIadwjPEjrewl5qW3aqDCYz4ByA4imW0aucnl8CAMhZa634RylsSqi -Md5mBPfAdOhx3v89WcyWJhKLhZVXGqtrdQtEPREoPHtht+KPZ0/l7DxMYIBpVzgeAVuNVejH38DM -dyM0SXV89pgR6y3e7UEuFAUCf+D+IOs15xGsIs5XPd7JMG0QA4XN8f+MFrXBsj6IbGB/kE+V9/Yt -rQE5BwT6dYB9v0lQ7e/JxHwc64B+27bQ3RP+ydOc17KXqQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUxhfQvKjqAkPyGwaZXSuQILnXnOQwDQYJKoZI -hvcNAQELBQADggIBADRh2Va1EodVTd2jNTFGu6QHcrxfYWLopfsLN7E8trP6KZ1/AvWkyaiTt3px -KGmPc+FSkNrVvjrlt3ZqVoAh313m6Tqe5T72omnHKgqwGEfcIHB9UqM+WXzBusnIFUBhynLWcKzS -t/Ac5IYp8M7vaGPQtSCKFWGafoaYtMnCdvvMujAWzKNhxnQT5WvvoxXqA/4Ti2Tk08HS6IT7SdEQ -TXlm66r99I0xHnAUrdzeZxNMgRVhvLfZkXdxGYFgu/BYpbWcC/ePIlUnwEsBbTuZDdQdm2NnL9Du -DcpmvJRPpq3t/O5jrFc/ZSXPsoaP0Aj/uHYUbt7lJ+yreLVTubY/6CD50qi+YUbKh4yE8/nxoGib -Ih6BJpsQBJFxwAYf3KDTuVan45gtf4Od34wrnDKOMpTwATwiKp9Dwi7DmDkHOHv8XgBCH/MyJnmD -hPbl8MFREsALHgQjDFSlTC9JxUrRtm5gDWv8a4uFJGS3iQ6rJUdbPM9+Sb3H6QrG2vd+DhcI00iX -0HGS8A85PjRqHH3Y8iKuu2n0M7SmSFXRDw4m6Oy2Cy2nhTXN/VnIn9HNPlopNLk9hM6xZdRZkZFW -dSHBd575euFgndOtBBj0fOtek49TSiIp+EgrPk2GrFt/ywaZWWDYWGWVjUTR939+J399roD1B0y2 -PpxxVJkES/1Y+Zj0 ------END CERTIFICATE----- - -DigiCert Assured ID Root G2 -=========================== ------BEGIN CERTIFICATE----- -MIIDljCCAn6gAwIBAgIQC5McOtY5Z+pnI7/Dr5r0SzANBgkqhkiG9w0BAQsFADBlMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw -IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIwHhcNMTMwODAxMTIwMDAwWhcNMzgw -MTE1MTIwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL -ExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIw -ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ5ygvUj82ckmIkzTz+GoeMVSAn61UQbVH -35ao1K+ALbkKz3X9iaV9JPrjIgwrvJUXCzO/GU1BBpAAvQxNEP4HteccbiJVMWWXvdMX0h5i89vq -bFCMP4QMls+3ywPgym2hFEwbid3tALBSfK+RbLE4E9HpEgjAALAcKxHad3A2m67OeYfcgnDmCXRw -VWmvo2ifv922ebPynXApVfSr/5Vh88lAbx3RvpO704gqu52/clpWcTs/1PPRCv4o76Pu2ZmvA9OP -YLfykqGxvYmJHzDNw6YuYjOuFgJ3RFrngQo8p0Quebg/BLxcoIfhG69Rjs3sLPr4/m3wOnyqi+Rn -lTGNAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTO -w0q5mVXyuNtgv6l+vVa1lzan1jANBgkqhkiG9w0BAQsFAAOCAQEAyqVVjOPIQW5pJ6d1Ee88hjZv -0p3GeDgdaZaikmkuOGybfQTUiaWxMTeKySHMq2zNixya1r9I0jJmwYrA8y8678Dj1JGG0VDjA9tz -d29KOVPt3ibHtX2vK0LRdWLjSisCx1BL4GnilmwORGYQRI+tBev4eaymG+g3NJ1TyWGqolKvSnAW -hsI6yLETcDbYz+70CjTVW0z9B5yiutkBclzzTcHdDrEcDcRjvq30FPuJ7KJBDkzMyFdA0G4Dqs0M -jomZmWzwPDCvON9vvKO+KSAnq3T/EyJ43pdSVR6DtVQgA+6uwE9W3jfMw3+qBCe703e4YtsXfJwo -IhNzbM8m9Yop5w== ------END CERTIFICATE----- - -DigiCert Assured ID Root G3 -=========================== ------BEGIN CERTIFICATE----- -MIICRjCCAc2gAwIBAgIQC6Fa+h3foLVJRK/NJKBs7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV -UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQwIgYD -VQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1 -MTIwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 -d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwdjAQ -BgcqhkjOPQIBBgUrgQQAIgNiAAQZ57ysRGXtzbg/WPuNsVepRC0FFfLvC/8QdJ+1YlJfZn4f5dwb -RXkLzMZTCp2NXQLZqVneAlr2lSoOjThKiknGvMYDOAdfVdp+CW7if17QRSAPWXYQ1qAk8C3eNvJs -KTmjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTL0L2p4ZgF -UaFNN6KDec6NHSrkhDAKBggqhkjOPQQDAwNnADBkAjAlpIFFAmsSS3V0T8gj43DydXLefInwz5Fy -YZ5eEJJZVrmDxxDnOOlYJjZ91eQ0hjkCMHw2U/Aw5WJjOpnitqM7mzT6HtoQknFekROn3aRukswy -1vUhZscv6pZjamVFkpUBtA== ------END CERTIFICATE----- - -DigiCert Global Root G2 -======================= ------BEGIN CERTIFICATE----- -MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBhMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAw -HgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUx -MjAwMDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3 -dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkq -hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI2/Ou8jqJ -kTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx1x7e/dfgy5SDN67sH0NO -3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQq2EGnI/yuum06ZIya7XzV+hdG82MHauV -BJVJ8zUtluNJbd134/tJS7SsVQepj5WztCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyM -UNGPHgm+F6HmIcr9g+UQvIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQAB -o0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV5uNu -5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY1Yl9PMWLSn/pvtsr -F9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4NeF22d+mQrvHRAiGfzZ0JFrabA0U -WTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NGFdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBH -QRFXGU7Aj64GxJUTFy8bJZ918rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/ -iyK5S9kJRaTepLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl -MrY= ------END CERTIFICATE----- - -DigiCert Global Root G3 -======================= ------BEGIN CERTIFICATE----- -MIICPzCCAcWgAwIBAgIQBVVWvPJepDU1w6QP1atFcjAKBggqhkjOPQQDAzBhMQswCQYDVQQGEwJV -UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAwHgYD -VQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMzAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAw -MDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5k -aWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEczMHYwEAYHKoZIzj0C -AQYFK4EEACIDYgAE3afZu4q4C/sLfyHS8L6+c/MzXRq8NOrexpu80JX28MzQC7phW1FGfp4tn+6O -YwwX7Adw9c+ELkCDnOg/QW07rdOkFFk2eJ0DQ+4QE2xy3q6Ip6FrtUPOZ9wj/wMco+I+o0IwQDAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUs9tIpPmhxdiuNkHMEWNp -Yim8S8YwCgYIKoZIzj0EAwMDaAAwZQIxAK288mw/EkrRLTnDCgmXc/SINoyIJ7vmiI1Qhadj+Z4y -3maTD/HMsQmP3Wyr+mt/oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34 -VOKa5Vt8sycX ------END CERTIFICATE----- - -DigiCert Trusted Root G4 -======================== ------BEGIN CERTIFICATE----- -MIIFkDCCA3igAwIBAgIQBZsbV56OITLiOQe9p3d1XDANBgkqhkiG9w0BAQwFADBiMQswCQYDVQQG -EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEw -HwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1 -MTIwMDAwWjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 -d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0G -CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3yithZwuEp -pz1Yq3aaza57G4QNxDAf8xukOBbrVsaXbR2rsnnyyhHS5F/WBTxSD1Ifxp4VpX6+n6lXFllVcq9o -k3DCsrp1mWpzMpTREEQQLt+C8weE5nQ7bXHiLQwb7iDVySAdYyktzuxeTsiT+CFhmzTrBcZe7Fsa -vOvJz82sNEBfsXpm7nfISKhmV1efVFiODCu3T6cw2Vbuyntd463JT17lNecxy9qTXtyOj4DatpGY -QJB5w3jHtrHEtWoYOAMQjdjUN6QuBX2I9YI+EJFwq1WCQTLX2wRzKm6RAXwhTNS8rhsDdV14Ztk6 -MUSaM0C/CNdaSaTC5qmgZ92kJ7yhTzm1EVgX9yRcRo9k98FpiHaYdj1ZXUJ2h4mXaXpI8OCiEhtm -mnTK3kse5w5jrubU75KSOp493ADkRSWJtppEGSt+wJS00mFt6zPZxd9LBADMfRyVw4/3IbKyEbe7 -f/LVjHAsQWCqsWMYRJUadmJ+9oCw++hkpjPRiQfhvbfmQ6QYuKZ3AeEPlAwhHbJUKSWJbOUOUlFH -dL4mrLZBdd56rF+NP8m800ERElvlEFDrMcXKchYiCd98THU/Y+whX8QgUWtvsauGi0/C1kVfnSD8 -oR7FwI+isX4KJpn15GkvmB0t9dmpsh3lGwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1Ud -DwEB/wQEAwIBhjAdBgNVHQ4EFgQU7NfjgtJxXWRM3y5nP+e6mK4cD08wDQYJKoZIhvcNAQEMBQAD -ggIBALth2X2pbL4XxJEbw6GiAI3jZGgPVs93rnD5/ZpKmbnJeFwMDF/k5hQpVgs2SV1EY+CtnJYY -ZhsjDT156W1r1lT40jzBQ0CuHVD1UvyQO7uYmWlrx8GnqGikJ9yd+SeuMIW59mdNOj6PWTkiU0Tr -yF0Dyu1Qen1iIQqAyHNm0aAFYF/opbSnr6j3bTWcfFqK1qI4mfN4i/RN0iAL3gTujJtHgXINwBQy -7zBZLq7gcfJW5GqXb5JQbZaNaHqasjYUegbyJLkJEVDXCLG4iXqEI2FCKeWjzaIgQdfRnGTZ6iah -ixTXTBmyUEFxPT9NcCOGDErcgdLMMpSEDQgJlxxPwO5rIHQw0uA5NBCFIRUBCOhVMt5xSdkoF1BN -5r5N0XWs0Mr7QbhDparTwwVETyw2m+L64kW4I1NsBm9nVX9GtUw/bihaeSbSpKhil9Ie4u1Ki7wb -/UdKDd9nZn6yW0HQO+T0O/QEY+nvwlQAUaCKKsnOeMzV6ocEGLPOr0mIr/OSmbaz5mEP0oUA51Aa -5BuVnRmhuZyxm7EAHu/QD09CbMkKvO5D+jpxpchNJqU1/YldvIViHTLSoCtU7ZpXwdv6EM8Zt4tK -G48BtieVU+i2iW1bvGjUI+iLUaJW+fCmgKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP -82Z+ ------END CERTIFICATE----- - -COMODO RSA Certification Authority -================================== ------BEGIN CERTIFICATE----- -MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCBhTELMAkGA1UE -BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG -A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwHhcNMTAwMTE5MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMC -R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE -ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCR6FSS0gpWsawNJN3Fz0Rn -dJkrN6N9I3AAcbxT38T6KhKPS38QVr2fcHK3YX/JSw8Xpz3jsARh7v8Rl8f0hj4K+j5c+ZPmNHrZ -FGvnnLOFoIJ6dq9xkNfs/Q36nGz637CC9BR++b7Epi9Pf5l/tfxnQ3K9DADWietrLNPtj5gcFKt+ -5eNu/Nio5JIk2kNrYrhV/erBvGy2i/MOjZrkm2xpmfh4SDBF1a3hDTxFYPwyllEnvGfDyi62a+pG -x8cgoLEfZd5ICLqkTqnyg0Y3hOvozIFIQ2dOciqbXL1MGyiKXCJ7tKuY2e7gUYPDCUZObT6Z+pUX -2nwzV0E8jVHtC7ZcryxjGt9XyD+86V3Em69FmeKjWiS0uqlWPc9vqv9JWL7wqP/0uK3pN/u6uPQL -OvnoQ0IeidiEyxPx2bvhiWC4jChWrBQdnArncevPDt09qZahSL0896+1DSJMwBGB7FY79tOi4lu3 -sgQiUpWAk2nojkxl8ZEDLXB0AuqLZxUpaVICu9ffUGpVRr+goyhhf3DQw6KqLCGqR84onAZFdr+C -GCe01a60y1Dma/RMhnEw6abfFobg2P9A3fvQQoh/ozM6LlweQRGBY84YcWsr7KaKtzFcOmpH4MN5 -WdYgGq/yapiqcrxXStJLnbsQ/LBMQeXtHT1eKJ2czL+zUdqnR+WEUwIDAQABo0IwQDAdBgNVHQ4E -FgQUu69+Aj36pvE8hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8w -DQYJKoZIhvcNAQEMBQADggIBAArx1UaEt65Ru2yyTUEUAJNMnMvlwFTPoCWOAvn9sKIN9SCYPBMt -rFaisNZ+EZLpLrqeLppysb0ZRGxhNaKatBYSaVqM4dc+pBroLwP0rmEdEBsqpIt6xf4FpuHA1sj+ -nq6PK7o9mfjYcwlYRm6mnPTXJ9OV2jeDchzTc+CiR5kDOF3VSXkAKRzH7JsgHAckaVd4sjn8OoSg -tZx8jb8uk2IntznaFxiuvTwJaP+EmzzV1gsD41eeFPfR60/IvYcjt7ZJQ3mFXLrrkguhxuhoqEwW -sRqZCuhTLJK7oQkYdQxlqHvLI7cawiiFwxv/0Cti76R7CZGYZ4wUAc1oBmpjIXUDgIiKboHGhfKp -pC3n9KUkEEeDys30jXlYsQab5xoq2Z0B15R97QNKyvDb6KkBPvVWmckejkk9u+UJueBPSZI9FoJA -zMxZxuY67RIuaTxslbH9qh17f4a+Hg4yRvv7E491f0yLS0Zj/gA0QHDBw7mh3aZw4gSzQbzpgJHq -ZJx64SIDqZxubw5lT2yHh17zbqD5daWbQOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk52 -7RH89elWsn2/x20Kk4yl0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7I -LaZRfyHBNVOFBkpdn627G190 ------END CERTIFICATE----- - -USERTrust RSA Certification Authority -===================================== ------BEGIN CERTIFICATE----- -MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkGA1UE -BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK -ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UE -BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK -ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh -dGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCAEmUXNg7D2wiz -0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2j -Y0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTbf6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFn -RghRy4YUVD+8M/5+bJz/Fp0YvVGONaanZshyZ9shZrHUm3gDwFA66Mzw3LyeTP6vBZY1H1dat//O -+T23LLb2VN3I5xI6Ta5MirdcmrS3ID3KfyI0rn47aGYBROcBTkZTmzNg95S+UzeQc0PzMsNT79uq -/nROacdrjGCT3sTHDN/hMq7MkztReJVni+49Vv4M0GkPGw/zJSZrM233bkf6c0Plfg6lZrEpfDKE -Y1WJxA3Bk1QwGROs0303p+tdOmw1XNtB1xLaqUkL39iAigmTYo61Zs8liM2EuLE/pDkP2QKe6xJM -lXzzawWpXhaDzLhn4ugTncxbgtNMs+1b/97lc6wjOy0AvzVVdAlJ2ElYGn+SNuZRkg7zJn0cTRe8 -yexDJtC/QV9AqURE9JnnV4eeUB9XVKg+/XRjL7FQZQnmWEIuQxpMtPAlR1n6BB6T1CZGSlCBst6+ -eLf8ZxXhyVeEHg9j1uliutZfVS7qXMYoCAQlObgOK6nyTJccBz8NUvXt7y+CDwIDAQABo0IwQDAd -BgNVHQ4EFgQUU3m/WqorSs9UgOHYm8Cd8rIDZsswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF -MAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPFUp/L+M+ZBn8b2kMVn54CVVeW -FPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KOVWKR82kV2LyI48SqC/3vqOlLVSoGIG1VeCkZ -7l8wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jRRa8YFWSQ -Eg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9spnFixdjQg3IM -8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwXtuhxkYzeSf7dNXGi -FSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZXHlKYC6SQK5MNyosycdi -yA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL39ZeatTXaw2ewh0qpKJ4jjv9c -J2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGw -sAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gx -Q+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 ------END CERTIFICATE----- - -USERTrust ECC Certification Authority -===================================== ------BEGIN CERTIFICATE----- -MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDELMAkGA1UEBhMC -VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU -aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMC -VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU -aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqfloI+d61SRvU8Za2EurxtW2 -0eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinngo4N+LZfQYcTxmdwlkWOrfzCjtHDix6Ez -nPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0GA1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNV -HQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBB -HU6+4WMBzzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbWRNZu -9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg= ------END CERTIFICATE----- - -GlobalSign ECC Root CA - R5 -=========================== ------BEGIN CERTIFICATE----- -MIICHjCCAaSgAwIBAgIRYFlJ4CYuu1X5CneKcflK2GwwCgYIKoZIzj0EAwMwUDEkMCIGA1UECxMb -R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD -EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb -R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD -EwpHbG9iYWxTaWduMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAER0UOlvt9Xb/pOdEh+J8LttV7HpI6 -SFkc8GIxLcB6KP4ap1yztsyX50XUWPrRd21DosCHZTQKH3rd6zwzocWdTaRvQZU4f8kehOvRnkmS -h5SHDDqFSmafnVmTTZdhBoZKo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAd -BgNVHQ4EFgQUPeYpSJvqB8ohREom3m7e0oPQn1kwCgYIKoZIzj0EAwMDaAAwZQIxAOVpEslu28Yx -uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7 -yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3 ------END CERTIFICATE----- - -IdenTrust Commercial Root CA 1 -============================== ------BEGIN CERTIFICATE----- -MIIFYDCCA0igAwIBAgIQCgFCgAAAAUUjyES1AAAAAjANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQG -EwJVUzESMBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBS -b290IENBIDEwHhcNMTQwMTE2MTgxMjIzWhcNMzQwMTE2MTgxMjIzWjBKMQswCQYDVQQGEwJVUzES -MBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBSb290IENB -IDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCnUBneP5k91DNG8W9RYYKyqU+PZ4ld -hNlT3Qwo2dfw/66VQ3KZ+bVdfIrBQuExUHTRgQ18zZshq0PirK1ehm7zCYofWjK9ouuU+ehcCuz/ -mNKvcbO0U59Oh++SvL3sTzIwiEsXXlfEU8L2ApeN2WIrvyQfYo3fw7gpS0l4PJNgiCL8mdo2yMKi -1CxUAGc1bnO/AljwpN3lsKImesrgNqUZFvX9t++uP0D1bVoE/c40yiTcdCMbXTMTEl3EASX2MN0C -XZ/g1Ue9tOsbobtJSdifWwLziuQkkORiT0/Br4sOdBeo0XKIanoBScy0RnnGF7HamB4HWfp1IYVl -3ZBWzvurpWCdxJ35UrCLvYf5jysjCiN2O/cz4ckA82n5S6LgTrx+kzmEB/dEcH7+B1rlsazRGMzy -NeVJSQjKVsk9+w8YfYs7wRPCTY/JTw436R+hDmrfYi7LNQZReSzIJTj0+kuniVyc0uMNOYZKdHzV -WYfCP04MXFL0PfdSgvHqo6z9STQaKPNBiDoT7uje/5kdX7rL6B7yuVBgwDHTc+XvvqDtMwt0viAg -xGds8AgDelWAf0ZOlqf0Hj7h9tgJ4TNkK2PXMl6f+cB7D3hvl7yTmvmcEpB4eoCHFddydJxVdHix -uuFucAS6T6C6aMN7/zHwcz09lCqxC0EOoP5NiGVreTO01wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMC -AQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU7UQZwNPwBovupHu+QucmVMiONnYwDQYJKoZI -hvcNAQELBQADggIBAA2ukDL2pkt8RHYZYR4nKM1eVO8lvOMIkPkp165oCOGUAFjvLi5+U1KMtlwH -6oi6mYtQlNeCgN9hCQCTrQ0U5s7B8jeUeLBfnLOic7iPBZM4zY0+sLj7wM+x8uwtLRvM7Kqas6pg -ghstO8OEPVeKlh6cdbjTMM1gCIOQ045U8U1mwF10A0Cj7oV+wh93nAbowacYXVKV7cndJZ5t+qnt -ozo00Fl72u1Q8zW/7esUTTHHYPTa8Yec4kjixsU3+wYQ+nVZZjFHKdp2mhzpgq7vmrlR94gjmmmV -YjzlVYA211QC//G5Xc7UI2/YRYRKW2XviQzdFKcgyxilJbQN+QHwotL0AMh0jqEqSI5l2xPE4iUX -feu+h1sXIFRRk0pTAwvsXcoz7WL9RccvW9xYoIA55vrX/hMUpu09lEpCdNTDd1lzzY9GvlU47/ro -kTLql1gEIt44w8y8bckzOmoKaT+gyOpyj4xjhiO9bTyWnpXgSUyqorkqG5w2gXjtw+hG4iZZRHUe -2XWJUc0QhJ1hYMtd+ZciTY6Y5uN/9lu7rs3KSoFrXgvzUeF0K+l+J6fZmUlO+KWA2yUPHGNiiskz -Z2s8EIPGrd6ozRaOjfAHN3Gf8qv8QfXBi+wAN10J5U6A7/qxXDgGpRtK4dw4LTzcqx+QGtVKnO7R -cGzM7vRX+Bi6hG6H ------END CERTIFICATE----- - -IdenTrust Public Sector Root CA 1 -================================= ------BEGIN CERTIFICATE----- -MIIFZjCCA06gAwIBAgIQCgFCgAAAAUUjz0Z8AAAAAjANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQG -EwJVUzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3Rv -ciBSb290IENBIDEwHhcNMTQwMTE2MTc1MzMyWhcNMzQwMTE2MTc1MzMyWjBNMQswCQYDVQQGEwJV -UzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3RvciBS -b290IENBIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2IpT8pEiv6EdrCvsnduTy -P4o7ekosMSqMjbCpwzFrqHd2hCa2rIFCDQjrVVi7evi8ZX3yoG2LqEfpYnYeEe4IFNGyRBb06tD6 -Hi9e28tzQa68ALBKK0CyrOE7S8ItneShm+waOh7wCLPQ5CQ1B5+ctMlSbdsHyo+1W/CD80/HLaXI -rcuVIKQxKFdYWuSNG5qrng0M8gozOSI5Cpcu81N3uURF/YTLNiCBWS2ab21ISGHKTN9T0a9SvESf -qy9rg3LvdYDaBjMbXcjaY8ZNzaxmMc3R3j6HEDbhuaR672BQssvKplbgN6+rNBM5Jeg5ZuSYeqoS -mJxZZoY+rfGwyj4GD3vwEUs3oERte8uojHH01bWRNszwFcYr3lEXsZdMUD2xlVl8BX0tIdUAvwFn -ol57plzy9yLxkA2T26pEUWbMfXYD62qoKjgZl3YNa4ph+bz27nb9cCvdKTz4Ch5bQhyLVi9VGxyh -LrXHFub4qjySjmm2AcG1hp2JDws4lFTo6tyePSW8Uybt1as5qsVATFSrsrTZ2fjXctscvG29ZV/v -iDUqZi/u9rNl8DONfJhBaUYPQxxp+pu10GFqzcpL2UyQRqsVWaFHVCkugyhfHMKiq3IXAAaOReyL -4jM9f9oZRORicsPfIsbyVtTdX5Vy7W1f90gDW/3FKqD2cyOEEBsB5wIDAQABo0IwQDAOBgNVHQ8B -Af8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU43HgntinQtnbcZFrlJPrw6PRFKMw -DQYJKoZIhvcNAQELBQADggIBAEf63QqwEZE4rU1d9+UOl1QZgkiHVIyqZJnYWv6IAcVYpZmxI1Qj -t2odIFflAWJBF9MJ23XLblSQdf4an4EKwt3X9wnQW3IV5B4Jaj0z8yGa5hV+rVHVDRDtfULAj+7A -mgjVQdZcDiFpboBhDhXAuM/FSRJSzL46zNQuOAXeNf0fb7iAaJg9TaDKQGXSc3z1i9kKlT/YPyNt -GtEqJBnZhbMX73huqVjRI9PHE+1yJX9dsXNw0H8GlwmEKYBhHfpe/3OsoOOJuBxxFcbeMX8S3OFt -m6/n6J91eEyrRjuazr8FGF1NFTwWmhlQBJqymm9li1JfPFgEKCXAZmExfrngdbkaqIHWchezxQMx -NRF4eKLg6TCMf4DfWN88uieW4oA0beOY02QnrEh+KHdcxiVhJfiFDGX6xDIvpZgF5PgLZxYWxoK4 -Mhn5+bl53B/N66+rDt0b20XkeucC4pVd/GnwU2lhlXV5C15V5jgclKlZM57IcXR5f1GJtshquDDI -ajjDbp7hNxbqBWJMWxJH7ae0s1hWx0nzfxJoCTFx8G34Tkf71oXuxVhAGaQdp/lLQzfcaFpPz+vC -ZHTetBXZ9FRUGi8c15dxVJCO2SCdUyt/q4/i6jC8UDfv8Ue1fXwsBOxonbRJRBD0ckscZOf85muQ -3Wl9af0AVqW3rLatt8o+Ae+c ------END CERTIFICATE----- - -CFCA EV ROOT -============ ------BEGIN CERTIFICATE----- -MIIFjTCCA3WgAwIBAgIEGErM1jANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwJDTjEwMC4GA1UE -CgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQDDAxDRkNB -IEVWIFJPT1QwHhcNMTIwODA4MDMwNzAxWhcNMjkxMjMxMDMwNzAxWjBWMQswCQYDVQQGEwJDTjEw -MC4GA1UECgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQD -DAxDRkNBIEVWIFJPT1QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDXXWvNED8fBVnV -BU03sQ7smCuOFR36k0sXgiFxEFLXUWRwFsJVaU2OFW2fvwwbwuCjZ9YMrM8irq93VCpLTIpTUnrD -7i7es3ElweldPe6hL6P3KjzJIx1qqx2hp/Hz7KDVRM8Vz3IvHWOX6Jn5/ZOkVIBMUtRSqy5J35DN -uF++P96hyk0g1CXohClTt7GIH//62pCfCqktQT+x8Rgp7hZZLDRJGqgG16iI0gNyejLi6mhNbiyW -ZXvKWfry4t3uMCz7zEasxGPrb382KzRzEpR/38wmnvFyXVBlWY9ps4deMm/DGIq1lY+wejfeWkU7 -xzbh72fROdOXW3NiGUgthxwG+3SYIElz8AXSG7Ggo7cbcNOIabla1jj0Ytwli3i/+Oh+uFzJlU9f -py25IGvPa931DfSCt/SyZi4QKPaXWnuWFo8BGS1sbn85WAZkgwGDg8NNkt0yxoekN+kWzqotaK8K -gWU6cMGbrU1tVMoqLUuFG7OA5nBFDWteNfB/O7ic5ARwiRIlk9oKmSJgamNgTnYGmE69g60dWIol -hdLHZR4tjsbftsbhf4oEIRUpdPA+nJCdDC7xij5aqgwJHsfVPKPtl8MeNPo4+QgO48BdK4PRVmrJ -tqhUUy54Mmc9gn900PvhtgVguXDbjgv5E1hvcWAQUhC5wUEJ73IfZzF4/5YFjQIDAQABo2MwYTAf -BgNVHSMEGDAWgBTj/i39KNALtbq2osS/BqoFjJP7LzAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB -/wQEAwIBBjAdBgNVHQ4EFgQU4/4t/SjQC7W6tqLEvwaqBYyT+y8wDQYJKoZIhvcNAQELBQADggIB -ACXGumvrh8vegjmWPfBEp2uEcwPenStPuiB/vHiyz5ewG5zz13ku9Ui20vsXiObTej/tUxPQ4i9q -ecsAIyjmHjdXNYmEwnZPNDatZ8POQQaIxffu2Bq41gt/UP+TqhdLjOztUmCypAbqTuv0axn96/Ua -4CUqmtzHQTb3yHQFhDmVOdYLO6Qn+gjYXB74BGBSESgoA//vU2YApUo0FmZ8/Qmkrp5nGm9BC2sG -E5uPhnEFtC+NiWYzKXZUmhH4J/qyP5Hgzg0b8zAarb8iXRvTvyUFTeGSGn+ZnzxEk8rUQElsgIfX -BDrDMlI1Dlb4pd19xIsNER9Tyx6yF7Zod1rg1MvIB671Oi6ON7fQAUtDKXeMOZePglr4UeWJoBjn -aH9dCi77o0cOPaYjesYBx4/IXr9tgFa+iiS6M+qf4TIRnvHST4D2G0CvOJ4RUHlzEhLN5mydLIhy -PDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe/v5WOaHIz16eGWRGENoX -kbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+ZAAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3C -ekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su ------END CERTIFICATE----- - -OISTE WISeKey Global Root GB CA -=============================== ------BEGIN CERTIFICATE----- -MIIDtTCCAp2gAwIBAgIQdrEgUnTwhYdGs/gjGvbCwDANBgkqhkiG9w0BAQsFADBtMQswCQYDVQQG -EwJDSDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNl -ZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwgUm9vdCBHQiBDQTAeFw0xNDEyMDExNTAw -MzJaFw0zOTEyMDExNTEwMzFaMG0xCzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYD -VQQLExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEds -b2JhbCBSb290IEdCIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Be3HEokKtaX -scriHvt9OO+Y9bI5mE4nuBFde9IllIiCFSZqGzG7qFshISvYD06fWvGxWuR51jIjK+FTzJlFXHtP -rby/h0oLS5daqPZI7H17Dc0hBt+eFf1Biki3IPShehtX1F1Q/7pn2COZH8g/497/b1t3sWtuuMlk -9+HKQUYOKXHQuSP8yYFfTvdv37+ErXNku7dCjmn21HYdfp2nuFeKUWdy19SouJVUQHMD9ur06/4o -Qnc/nSMbsrY9gBQHTC5P99UKFg29ZkM3fiNDecNAhvVMKdqOmq0NpQSHiB6F4+lT1ZvIiwNjeOvg -GUpuuy9rM2RYk61pv48b74JIxwIDAQABo1EwTzALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB -/zAdBgNVHQ4EFgQUNQ/INmNe4qPs+TtmFc5RUuORmj0wEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZI -hvcNAQELBQADggEBAEBM+4eymYGQfp3FsLAmzYh7KzKNbrghcViXfa43FK8+5/ea4n32cZiZBKpD -dHij40lhPnOMTZTg+XHEthYOU3gf1qKHLwI5gSk8rxWYITD+KJAAjNHhy/peyP34EEY7onhCkRd0 -VQreUGdNZtGn//3ZwLWoo4rOZvUPQ82nK1d7Y0Zqqi5S2PTt4W2tKZB4SLrhI6qjiey1q5bAtEui -HZeeevJuQHHfaPFlTc58Bd9TZaml8LGXBHAVRgOY1NK/VLSgWH1Sb9pWJmLU2NuJMW8c8CLC02Ic -Nc1MaRVUGpCY3useX8p3x8uOPUNpnJpY0CQ73xtAln41rYHHTnG6iBM= ------END CERTIFICATE----- - -SZAFIR ROOT CA2 -=============== ------BEGIN CERTIFICATE----- -MIIDcjCCAlqgAwIBAgIUPopdB+xV0jLVt+O2XwHrLdzk1uQwDQYJKoZIhvcNAQELBQAwUTELMAkG -A1UEBhMCUEwxKDAmBgNVBAoMH0tyYWpvd2EgSXpiYSBSb3psaWN6ZW5pb3dhIFMuQS4xGDAWBgNV -BAMMD1NaQUZJUiBST09UIENBMjAeFw0xNTEwMTkwNzQzMzBaFw0zNTEwMTkwNzQzMzBaMFExCzAJ -BgNVBAYTAlBMMSgwJgYDVQQKDB9LcmFqb3dhIEl6YmEgUm96bGljemVuaW93YSBTLkEuMRgwFgYD -VQQDDA9TWkFGSVIgUk9PVCBDQTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3vD5Q -qEvNQLXOYeeWyrSh2gwisPq1e3YAd4wLz32ohswmUeQgPYUM1ljj5/QqGJ3a0a4m7utT3PSQ1hNK -DJA8w/Ta0o4NkjrcsbH/ON7Dui1fgLkCvUqdGw+0w8LBZwPd3BucPbOw3gAeqDRHu5rr/gsUvTaE -2g0gv/pby6kWIK05YO4vdbbnl5z5Pv1+TW9NL++IDWr63fE9biCloBK0TXC5ztdyO4mTp4CEHCdJ -ckm1/zuVnsHMyAHs6A6KCpbns6aH5db5BSsNl0BwPLqsdVqc1U2dAgrSS5tmS0YHF2Wtn2yIANwi -ieDhZNRnvDF5YTy7ykHNXGoAyDw4jlivAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P -AQH/BAQDAgEGMB0GA1UdDgQWBBQuFqlKGLXLzPVvUPMjX/hd56zwyDANBgkqhkiG9w0BAQsFAAOC -AQEAtXP4A9xZWx126aMqe5Aosk3AM0+qmrHUuOQn/6mWmc5G4G18TKI4pAZw8PRBEew/R40/cof5 -O/2kbytTAOD/OblqBw7rHRz2onKQy4I9EYKL0rufKq8h5mOGnXkZ7/e7DDWQw4rtTw/1zBLZpD67 -oPwglV9PJi8RI4NOdQcPv5vRtB3pEAT+ymCPoky4rc/hkA/NrgrHXXu3UNLUYfrVFdvXn4dRVOul -4+vJhaAlIDf7js4MNIThPIGyd05DpYhfhmehPea0XGG2Ptv+tyjFogeutcrKjSoS75ftwjCkySp6 -+/NNIxuZMzSgLvWpCz/UXeHPhJ/iGcJfitYgHuNztw== ------END CERTIFICATE----- - -Certum Trusted Network CA 2 -=========================== ------BEGIN CERTIFICATE----- -MIIF0jCCA7qgAwIBAgIQIdbQSk8lD8kyN/yqXhKN6TANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UE -BhMCUEwxIjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMuQS4xJzAlBgNVBAsTHkNlcnR1 -bSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEkMCIGA1UEAxMbQ2VydHVtIFRydXN0ZWQgTmV0d29y -ayBDQSAyMCIYDzIwMTExMDA2MDgzOTU2WhgPMjA0NjEwMDYwODM5NTZaMIGAMQswCQYDVQQGEwJQ -TDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENl -cnRpZmljYXRpb24gQXV0aG9yaXR5MSQwIgYDVQQDExtDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENB -IDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9+Xj45tWADGSdhhuWZGc/IjoedQF9 -7/tcZ4zJzFxrqZHmuULlIEub2pt7uZld2ZuAS9eEQCsn0+i6MLs+CRqnSZXvK0AkwpfHp+6bJe+o -CgCXhVqqndwpyeI1B+twTUrWwbNWuKFBOJvR+zF/j+Bf4bE/D44WSWDXBo0Y+aomEKsq09DRZ40b -Rr5HMNUuctHFY9rnY3lEfktjJImGLjQ/KUxSiyqnwOKRKIm5wFv5HdnnJ63/mgKXwcZQkpsCLL2p -uTRZCr+ESv/f/rOf69me4Jgj7KZrdxYq28ytOxykh9xGc14ZYmhFV+SQgkK7QtbwYeDBoz1mo130 -GO6IyY0XRSmZMnUCMe4pJshrAua1YkV/NxVaI2iJ1D7eTiew8EAMvE0Xy02isx7QBlrd9pPPV3WZ -9fqGGmd4s7+W/jTcvedSVuWz5XV710GRBdxdaeOVDUO5/IOWOZV7bIBaTxNyxtd9KXpEulKkKtVB -Rgkg/iKgtlswjbyJDNXXcPiHUv3a76xRLgezTv7QCdpw75j6VuZt27VXS9zlLCUVyJ4ueE742pye -hizKV/Ma5ciSixqClnrDvFASadgOWkaLOusm+iPJtrCBvkIApPjW/jAux9JG9uWOdf3yzLnQh1vM -BhBgu4M1t15n3kfsmUjxpKEV/q2MYo45VU85FrmxY53/twIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MB0GA1UdDgQWBBS2oVQ5AsOgP46KvPrU+Bym0ToO/TAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZI -hvcNAQENBQADggIBAHGlDs7k6b8/ONWJWsQCYftMxRQXLYtPU2sQF/xlhMcQSZDe28cmk4gmb3DW -Al45oPePq5a1pRNcgRRtDoGCERuKTsZPpd1iHkTfCVn0W3cLN+mLIMb4Ck4uWBzrM9DPhmDJ2vuA -L55MYIR4PSFk1vtBHxgP58l1cb29XN40hz5BsA72udY/CROWFC/emh1auVbONTqwX3BNXuMp8SMo -clm2q8KMZiYcdywmdjWLKKdpoPk79SPdhRB0yZADVpHnr7pH1BKXESLjokmUbOe3lEu6LaTaM4tM -pkT/WjzGHWTYtTHkpjx6qFcL2+1hGsvxznN3Y6SHb0xRONbkX8eftoEq5IVIeVheO/jbAoJnwTnb -w3RLPTYe+SmTiGhbqEQZIfCn6IENLOiTNrQ3ssqwGyZ6miUfmpqAnksqP/ujmv5zMnHCnsZy4Ypo -J/HkD7TETKVhk/iXEAcqMCWpuchxuO9ozC1+9eB+D4Kob7a6bINDd82Kkhehnlt4Fj1F4jNy3eFm -ypnTycUm/Q1oBEauttmbjL4ZvrHG8hnjXALKLNhvSgfZyTXaQHXyxKcZb55CEJh15pWLYLztxRLX -is7VmFxWlgPF7ncGNf/P5O4/E2Hu29othfDNrp2yGAlFw5Khchf8R7agCyzxxN5DaAhqXzvwdmP7 -zAYspsbiDrW5viSP ------END CERTIFICATE----- - -Hellenic Academic and Research Institutions RootCA 2015 -======================================================= ------BEGIN CERTIFICATE----- -MIIGCzCCA/OgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBpjELMAkGA1UEBhMCR1IxDzANBgNVBAcT -BkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0 -aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNVBAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNl -YXJjaCBJbnN0aXR1dGlvbnMgUm9vdENBIDIwMTUwHhcNMTUwNzA3MTAxMTIxWhcNNDAwNjMwMTAx -MTIxWjCBpjELMAkGA1UEBhMCR1IxDzANBgNVBAcTBkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMg -QWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNV -BAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgUm9vdENBIDIw -MTUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDC+Kk/G4n8PDwEXT2QNrCROnk8Zlrv -bTkBSRq0t89/TSNTt5AA4xMqKKYx8ZEA4yjsriFBzh/a/X0SWwGDD7mwX5nh8hKDgE0GPt+sr+eh -iGsxr/CL0BgzuNtFajT0AoAkKAoCFZVedioNmToUW/bLy1O8E00BiDeUJRtCvCLYjqOWXjrZMts+ -6PAQZe104S+nfK8nNLspfZu2zwnI5dMK/IhlZXQK3HMcXM1AsRzUtoSMTFDPaI6oWa7CJ06CojXd -FPQf/7J31Ycvqm59JCfnxssm5uX+Zwdj2EUN3TpZZTlYepKZcj2chF6IIbjV9Cz82XBST3i4vTwr -i5WY9bPRaM8gFH5MXF/ni+X1NYEZN9cRCLdmvtNKzoNXADrDgfgXy5I2XdGj2HUb4Ysn6npIQf1F -GQatJ5lOwXBH3bWfgVMS5bGMSF0xQxfjjMZ6Y5ZLKTBOhE5iGV48zpeQpX8B653g+IuJ3SWYPZK2 -fu/Z8VFRfS0myGlZYeCsargqNhEEelC9MoS+L9xy1dcdFkfkR2YgP/SWxa+OAXqlD3pk9Q0Yh9mu -iNX6hME6wGkoLfINaFGq46V3xqSQDqE3izEjR8EJCOtu93ib14L8hCCZSRm2Ekax+0VVFqmjZayc -Bw/qa9wfLgZy7IaIEuQt218FL+TwA9MmM+eAws1CoRc0CwIDAQABo0IwQDAPBgNVHRMBAf8EBTAD -AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUcRVnyMjJvXVdctA4GGqd83EkVAswDQYJKoZI -hvcNAQELBQADggIBAHW7bVRLqhBYRjTyYtcWNl0IXtVsyIe9tC5G8jH4fOpCtZMWVdyhDBKg2mF+ -D1hYc2Ryx+hFjtyp8iY/xnmMsVMIM4GwVhO+5lFc2JsKT0ucVlMC6U/2DWDqTUJV6HwbISHTGzrM -d/K4kPFox/la/vot9L/J9UUbzjgQKjeKeaO04wlshYaT/4mWJ3iBj2fjRnRUjtkNaeJK9E10A/+y -d+2VZ5fkscWrv2oj6NSU4kQoYsRL4vDY4ilrGnB+JGGTe08DMiUNRSQrlrRGar9KC/eaj8GsGsVn -82800vpzY4zvFrCopEYq+OsS7HK07/grfoxSwIuEVPkvPuNVqNxmsdnhX9izjFk0WaSrT2y7Hxjb -davYy5LNlDhhDgcGH0tGEPEVvo2FXDtKK4F5D7Rpn0lQl033DlZdwJVqwjbDG2jJ9SrcR5q+ss7F -Jej6A7na+RZukYT1HCjI/CbM1xyQVqdfbzoEvM14iQuODy+jqk+iGxI9FghAD/FGTNeqewjBCvVt -J94Cj8rDtSvK6evIIVM4pcw72Hc3MKJP2W/R8kCtQXoXxdZKNYm3QdV8hn9VTYNKpXMgwDqvkPGa -JI7ZjnHKe7iG2rKPmT4dEw0SEe7Uq/DpFXYC5ODfqiAeW2GFZECpkJcNrVPSWh2HagCXZWK0vm9q -p/UsQu0yrbYhnr68 ------END CERTIFICATE----- - -Hellenic Academic and Research Institutions ECC RootCA 2015 -=========================================================== ------BEGIN CERTIFICATE----- -MIICwzCCAkqgAwIBAgIBADAKBggqhkjOPQQDAjCBqjELMAkGA1UEBhMCR1IxDzANBgNVBAcTBkF0 -aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9u -cyBDZXJ0LiBBdXRob3JpdHkxRDBCBgNVBAMTO0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJj -aCBJbnN0aXR1dGlvbnMgRUNDIFJvb3RDQSAyMDE1MB4XDTE1MDcwNzEwMzcxMloXDTQwMDYzMDEw -MzcxMlowgaoxCzAJBgNVBAYTAkdSMQ8wDQYDVQQHEwZBdGhlbnMxRDBCBgNVBAoTO0hlbGxlbmlj -IEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9yaXR5MUQwQgYD -VQQDEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25zIEVDQyBSb290 -Q0EgMjAxNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABJKgQehLgoRc4vgxEZmGZE4JJS+dQS8KrjVP -dJWyUWRrjWvmP3CV8AVER6ZyOFB2lQJajq4onvktTpnvLEhvTCUp6NFxW98dwXU3tNf6e3pCnGoK -Vlp8aQuqgAkkbH7BRqNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0O -BBYEFLQiC4KZJAEOnLvkDv2/+5cgk5kqMAoGCCqGSM49BAMCA2cAMGQCMGfOFmI4oqxiRaeplSTA -GiecMjvAwNW6qef4BENThe5SId6d9SWDPp5YSy/XZxMOIQIwBeF1Ad5o7SofTUwJCA3sS61kFyjn -dc5FZXIhF8siQQ6ME5g4mlRtm8rifOoCWCKR ------END CERTIFICATE----- - -ISRG Root X1 -============ ------BEGIN CERTIFICATE----- -MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwTzELMAkGA1UE -BhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2VhcmNoIEdyb3VwMRUwEwYDVQQD -EwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4WhcNMzUwNjA0MTEwNDM4WjBPMQswCQYDVQQG -EwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMT -DElTUkcgUm9vdCBYMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54r -Vygch77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+0TM8ukj1 -3Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6UA5/TR5d8mUgjU+g4rk8K -b4Mu0UlXjIB0ttov0DiNewNwIRt18jA8+o+u3dpjq+sWT8KOEUt+zwvo/7V3LvSye0rgTBIlDHCN -Aymg4VMk7BPZ7hm/ELNKjD+Jo2FR3qyHB5T0Y3HsLuJvW5iB4YlcNHlsdu87kGJ55tukmi8mxdAQ -4Q7e2RCOFvu396j3x+UCB5iPNgiV5+I3lg02dZ77DnKxHZu8A/lJBdiB3QW0KtZB6awBdpUKD9jf -1b0SHzUvKBds0pjBqAlkd25HN7rOrFleaJ1/ctaJxQZBKT5ZPt0m9STJEadao0xAH0ahmbWnOlFu -hjuefXKnEgV4We0+UXgVCwOPjdAvBbI+e0ocS3MFEvzG6uBQE3xDk3SzynTnjh8BCNAw1FtxNrQH -usEwMFxIt4I7mKZ9YIqioymCzLq9gwQbooMDQaHWBfEbwrbwqHyGO0aoSCqI3Haadr8faqU9GY/r -OPNk3sgrDQoo//fb4hVC1CLQJ13hef4Y53CIrU7m2Ys6xt0nUW7/vGT1M0NPAgMBAAGjQjBAMA4G -A1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBR5tFnme7bl5AFzgAiIyBpY -9umbbjANBgkqhkiG9w0BAQsFAAOCAgEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL -ubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ3BebYhtF8GaV -0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KKNFtY2PwByVS5uCbMiogziUwt -hDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJw -TdwJx4nLCgdNbOhdjsnvzqvHu7UrTkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nx -e5AW0wdeRlN8NwdCjNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZA -JzVcoyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq4RgqsahD -YVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9n -JEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJ -m+kXQ99b21/+jh5Xos1AnX5iItreGCc= ------END CERTIFICATE----- - -AC RAIZ FNMT-RCM -================ ------BEGIN CERTIFICATE----- -MIIFgzCCA2ugAwIBAgIPXZONMGc2yAYdGsdUhGkHMA0GCSqGSIb3DQEBCwUAMDsxCzAJBgNVBAYT -AkVTMREwDwYDVQQKDAhGTk1ULVJDTTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTAeFw0wODEw -MjkxNTU5NTZaFw0zMDAxMDEwMDAwMDBaMDsxCzAJBgNVBAYTAkVTMREwDwYDVQQKDAhGTk1ULVJD -TTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC -ggIBALpxgHpMhm5/yBNtwMZ9HACXjywMI7sQmkCpGreHiPibVmr75nuOi5KOpyVdWRHbNi63URcf -qQgfBBckWKo3Shjf5TnUV/3XwSyRAZHiItQDwFj8d0fsjz50Q7qsNI1NOHZnjrDIbzAzWHFctPVr -btQBULgTfmxKo0nRIBnuvMApGGWn3v7v3QqQIecaZ5JCEJhfTzC8PhxFtBDXaEAUwED653cXeuYL -j2VbPNmaUtu1vZ5Gzz3rkQUCwJaydkxNEJY7kvqcfw+Z374jNUUeAlz+taibmSXaXvMiwzn15Cou -08YfxGyqxRxqAQVKL9LFwag0Jl1mpdICIfkYtwb1TplvqKtMUejPUBjFd8g5CSxJkjKZqLsXF3mw -WsXmo8RZZUc1g16p6DULmbvkzSDGm0oGObVo/CK67lWMK07q87Hj/LaZmtVC+nFNCM+HHmpxffnT -tOmlcYF7wk5HlqX2doWjKI/pgG6BU6VtX7hI+cL5NqYuSf+4lsKMB7ObiFj86xsc3i1w4peSMKGJ -47xVqCfWS+2QrYv6YyVZLag13cqXM7zlzced0ezvXg5KkAYmY6252TUtB7p2ZSysV4999AeU14EC -ll2jB0nVetBX+RvnU0Z1qrB5QstocQjpYL05ac70r8NWQMetUqIJ5G+GR4of6ygnXYMgrwTJbFaa -i0b1AgMBAAGjgYMwgYAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE -FPd9xf3E6Jobd2Sn9R2gzL+HYJptMD4GA1UdIAQ3MDUwMwYEVR0gADArMCkGCCsGAQUFBwIBFh1o -dHRwOi8vd3d3LmNlcnQuZm5tdC5lcy9kcGNzLzANBgkqhkiG9w0BAQsFAAOCAgEAB5BK3/MjTvDD -nFFlm5wioooMhfNzKWtN/gHiqQxjAb8EZ6WdmF/9ARP67Jpi6Yb+tmLSbkyU+8B1RXxlDPiyN8+s -D8+Nb/kZ94/sHvJwnvDKuO+3/3Y3dlv2bojzr2IyIpMNOmqOFGYMLVN0V2Ue1bLdI4E7pWYjJ2cJ -j+F3qkPNZVEI7VFY/uY5+ctHhKQV8Xa7pO6kO8Rf77IzlhEYt8llvhjho6Tc+hj507wTmzl6NLrT -Qfv6MooqtyuGC2mDOL7Nii4LcK2NJpLuHvUBKwrZ1pebbuCoGRw6IYsMHkCtA+fdZn71uSANA+iW -+YJF1DngoABd15jmfZ5nc8OaKveri6E6FO80vFIOiZiaBECEHX5FaZNXzuvO+FB8TxxuBEOb+dY7 -Ixjp6o7RTUaN8Tvkasq6+yO3m/qZASlaWFot4/nUbQ4mrcFuNLwy+AwF+mWj2zs3gyLp1txyM/1d -8iC9djwj2ij3+RvrWWTV3F9yfiD8zYm1kGdNYno/Tq0dwzn+evQoFt9B9kiABdcPUXmsEKvU7ANm -5mqwujGSQkBqvjrTcuFqN1W8rB2Vt2lh8kORdOag0wokRqEIr9baRRmW1FMdW4R58MD3R++Lj8UG -rp1MYp3/RgT408m2ECVAdf4WqslKYIYvuu8wd+RU4riEmViAqhOLUTpPSPaLtrM= ------END CERTIFICATE----- - -Amazon Root CA 1 -================ ------BEGIN CERTIFICATE----- -MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsFADA5MQswCQYD -VQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAxMB4XDTE1 -MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpv -bjEZMBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBALJ4gHHKeNXjca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgH -FzZM9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qwIFAGbHrQ -gLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6VOujw5H5SNz/0egwLX0t -dHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L93FcXmn/6pUCyziKrlA4b9v7LWIbxcce -VOF34GfID5yHI9Y/QCB/IIDEgEw+OyQmjgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB -/zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3 -DQEBCwUAA4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB/G/wkjUu0yKGX9rbxenDIU5PM -CCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt/msv0tadQ1wUsN+gDS63pYaACbvXy -8MWy7Vu33PqUXHeeE6V/Uq2V8viTO96LXFvKWlJbYK8U90vvo/ufQJVtMVT8QtPHRh8jrdkPSHCa -2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2 -xJNDd2ZhwLnoQdeXeGADbkpyrqXRfboQnoZsG4q5WTP468SQvvG5 ------END CERTIFICATE----- - -Amazon Root CA 2 -================ ------BEGIN CERTIFICATE----- -MIIFQTCCAymgAwIBAgITBmyf0pY1hp8KD+WGePhbJruKNzANBgkqhkiG9w0BAQwFADA5MQswCQYD -VQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAyMB4XDTE1 -MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpv -bjEZMBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC -ggIBAK2Wny2cSkxKgXlRmeyKy2tgURO8TW0G/LAIjd0ZEGrHJgw12MBvIITplLGbhQPDW9tK6Mj4 -kHbZW0/jTOgGNk3Mmqw9DJArktQGGWCsN0R5hYGCrVo34A3MnaZMUnbqQ523BNFQ9lXg1dKmSYXp -N+nKfq5clU1Imj+uIFptiJXZNLhSGkOQsL9sBbm2eLfq0OQ6PBJTYv9K8nu+NQWpEjTj82R0Yiw9 -AElaKP4yRLuH3WUnAnE72kr3H9rN9yFVkE8P7K6C4Z9r2UXTu/Bfh+08LDmG2j/e7HJV63mjrdvd -fLC6HM783k81ds8P+HgfajZRRidhW+mez/CiVX18JYpvL7TFz4QuK/0NURBs+18bvBt+xa47mAEx -kv8LV/SasrlX6avvDXbR8O70zoan4G7ptGmh32n2M8ZpLpcTnqWHsFcQgTfJU7O7f/aS0ZzQGPSS -btqDT6ZjmUyl+17vIWR6IF9sZIUVyzfpYgwLKhbcAS4y2j5L9Z469hdAlO+ekQiG+r5jqFoz7Mt0 -Q5X5bGlSNscpb/xVA1wf+5+9R+vnSUeVC06JIglJ4PVhHvG/LopyboBZ/1c6+XUyo05f7O0oYtlN -c/LMgRdg7c3r3NunysV+Ar3yVAhU/bQtCSwXVEqY0VThUWcI0u1ufm8/0i2BWSlmy5A5lREedCf+ -3euvAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSw -DPBMMPQFWAJI/TPlUq9LhONmUjANBgkqhkiG9w0BAQwFAAOCAgEAqqiAjw54o+Ci1M3m9Zh6O+oA -A7CXDpO8Wqj2LIxyh6mx/H9z/WNxeKWHWc8w4Q0QshNabYL1auaAn6AFC2jkR2vHat+2/XcycuUY -+gn0oJMsXdKMdYV2ZZAMA3m3MSNjrXiDCYZohMr/+c8mmpJ5581LxedhpxfL86kSk5Nrp+gvU5LE -YFiwzAJRGFuFjWJZY7attN6a+yb3ACfAXVU3dJnJUH/jWS5E4ywl7uxMMne0nxrpS10gxdr9HIcW -xkPo1LsmmkVwXqkLN1PiRnsn/eBG8om3zEK2yygmbtmlyTrIQRNg91CMFa6ybRoVGld45pIq2WWQ -gj9sAq+uEjonljYE1x2igGOpm/HlurR8FLBOybEfdF849lHqm/osohHUqS0nGkWxr7JOcQ3AWEbW -aQbLU8uz/mtBzUF+fUwPfHJ5elnNXkoOrJupmHN5fLT0zLm4BwyydFy4x2+IoZCn9Kr5v2c69BoV -Yh63n749sSmvZ6ES8lgQGVMDMBu4Gon2nL2XA46jCfMdiyHxtN/kHNGfZQIG6lzWE7OE76KlXIx3 -KadowGuuQNKotOrN8I1LOJwZmhsoVLiJkO/KdYE+HvJkJMcYr07/R54H9jVlpNMKVv/1F2Rs76gi -JUmTtt8AF9pYfl3uxRuw0dFfIRDH+fO6AgonB8Xx1sfT4PsJYGw= ------END CERTIFICATE----- - -Amazon Root CA 3 -================ ------BEGIN CERTIFICATE----- -MIIBtjCCAVugAwIBAgITBmyf1XSXNmY/Owua2eiedgPySjAKBggqhkjOPQQDAjA5MQswCQYDVQQG -EwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAzMB4XDTE1MDUy -NjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZ -MBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCmXp8ZB -f8ANm+gBG1bG8lKlui2yEujSLtf6ycXYqm0fc4E7O5hrOXwzpcVOho6AF2hiRVd9RFgdszflZwjr -Zt6jQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSrttvXBp43 -rDCGB5Fwx5zEGbF4wDAKBggqhkjOPQQDAgNJADBGAiEA4IWSoxe3jfkrBqWTrBqYaGFy+uGh0Psc -eGCmQ5nFuMQCIQCcAu/xlJyzlvnrxir4tiz+OpAUFteMYyRIHN8wfdVoOw== ------END CERTIFICATE----- - -Amazon Root CA 4 -================ ------BEGIN CERTIFICATE----- -MIIB8jCCAXigAwIBAgITBmyf18G7EEwpQ+Vxe3ssyBrBDjAKBggqhkjOPQQDAzA5MQswCQYDVQQG -EwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSA0MB4XDTE1MDUy -NjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZ -MBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgNDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNKrijdPo1MN -/sGKe0uoe0ZLY7Bi9i0b2whxIdIA6GO9mif78DluXeo9pcmBqqNbIJhFXRbb/egQbeOc4OO9X4Ri -83BkM6DLJC9wuoihKqB1+IGuYgbEgds5bimwHvouXKNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNV -HQ8BAf8EBAMCAYYwHQYDVR0OBBYEFNPsxzplbszh2naaVvuc84ZtV+WBMAoGCCqGSM49BAMDA2gA -MGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlwCkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1 -AE47xDqUEpHJWEadIRNyp4iciuRMStuW1KyLa2tJElMzrdfkviT8tQp21KW8EA== ------END CERTIFICATE----- - -TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1 -============================================= ------BEGIN CERTIFICATE----- -MIIEYzCCA0ugAwIBAgIBATANBgkqhkiG9w0BAQsFADCB0jELMAkGA1UEBhMCVFIxGDAWBgNVBAcT -D0dlYnplIC0gS29jYWVsaTFCMEAGA1UEChM5VHVya2l5ZSBCaWxpbXNlbCB2ZSBUZWtub2xvamlr -IEFyYXN0aXJtYSBLdXJ1bXUgLSBUVUJJVEFLMS0wKwYDVQQLEyRLYW11IFNlcnRpZmlrYXN5b24g -TWVya2V6aSAtIEthbXUgU00xNjA0BgNVBAMTLVRVQklUQUsgS2FtdSBTTSBTU0wgS29rIFNlcnRp -ZmlrYXNpIC0gU3VydW0gMTAeFw0xMzExMjUwODI1NTVaFw00MzEwMjUwODI1NTVaMIHSMQswCQYD -VQQGEwJUUjEYMBYGA1UEBxMPR2ViemUgLSBLb2NhZWxpMUIwQAYDVQQKEzlUdXJraXllIEJpbGlt -c2VsIHZlIFRla25vbG9qaWsgQXJhc3Rpcm1hIEt1cnVtdSAtIFRVQklUQUsxLTArBgNVBAsTJEth -bXUgU2VydGlmaWthc3lvbiBNZXJrZXppIC0gS2FtdSBTTTE2MDQGA1UEAxMtVFVCSVRBSyBLYW11 -IFNNIFNTTCBLb2sgU2VydGlmaWthc2kgLSBTdXJ1bSAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEAr3UwM6q7a9OZLBI3hNmNe5eA027n/5tQlT6QlVZC1xl8JoSNkvoBHToP4mQ4t4y8 -6Ij5iySrLqP1N+RAjhgleYN1Hzv/bKjFxlb4tO2KRKOrbEz8HdDc72i9z+SqzvBV96I01INrN3wc -wv61A+xXzry0tcXtAA9TNypN9E8Mg/uGz8v+jE69h/mniyFXnHrfA2eJLJ2XYacQuFWQfw4tJzh0 -3+f92k4S400VIgLI4OD8D62K18lUUMw7D8oWgITQUVbDjlZ/iSIzL+aFCr2lqBs23tPcLG07xxO9 -WSMs5uWk99gL7eqQQESolbuT1dCANLZGeA4fAJNG4e7p+exPFwIDAQABo0IwQDAdBgNVHQ4EFgQU -ZT/HiobGPN08VFw1+DrtUgxHV8gwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJ -KoZIhvcNAQELBQADggEBACo/4fEyjq7hmFxLXs9rHmoJ0iKpEsdeV31zVmSAhHqT5Am5EM2fKifh -AHe+SMg1qIGf5LgsyX8OsNJLN13qudULXjS99HMpw+0mFZx+CFOKWI3QSyjfwbPfIPP54+M638yc -lNhOT8NrF7f3cuitZjO1JVOr4PhMqZ398g26rrnZqsZr+ZO7rqu4lzwDGrpDxpa5RXI4s6ehlj2R -e37AIVNMh+3yC1SVUZPVIqUNivGTDj5UDrDYyU7c8jEyVupk+eq1nRZmQnLzf9OxMUP8pI4X8W0j -q5Rm+K37DwhuJi1/FwcJsoz7UMCflo3Ptv0AnVoUmr8CRPXBwp8iXqIPoeM= ------END CERTIFICATE----- - -GDCA TrustAUTH R5 ROOT -====================== ------BEGIN CERTIFICATE----- -MIIFiDCCA3CgAwIBAgIIfQmX/vBH6nowDQYJKoZIhvcNAQELBQAwYjELMAkGA1UEBhMCQ04xMjAw -BgNVBAoMKUdVQU5HIERPTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZIENPLixMVEQuMR8wHQYDVQQD -DBZHRENBIFRydXN0QVVUSCBSNSBST09UMB4XDTE0MTEyNjA1MTMxNVoXDTQwMTIzMTE1NTk1OVow -YjELMAkGA1UEBhMCQ04xMjAwBgNVBAoMKUdVQU5HIERPTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZ -IENPLixMVEQuMR8wHQYDVQQDDBZHRENBIFRydXN0QVVUSCBSNSBST09UMIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEA2aMW8Mh0dHeb7zMNOwZ+Vfy1YI92hhJCfVZmPoiC7XJjDp6L3TQs -AlFRwxn9WVSEyfFrs0yw6ehGXTjGoqcuEVe6ghWinI9tsJlKCvLriXBjTnnEt1u9ol2x8kECK62p -OqPseQrsXzrj/e+APK00mxqriCZ7VqKChh/rNYmDf1+uKU49tm7srsHwJ5uu4/Ts765/94Y9cnrr -pftZTqfrlYwiOXnhLQiPzLyRuEH3FMEjqcOtmkVEs7LXLM3GKeJQEK5cy4KOFxg2fZfmiJqwTTQJ -9Cy5WmYqsBebnh52nUpmMUHfP/vFBu8btn4aRjb3ZGM74zkYI+dndRTVdVeSN72+ahsmUPI2JgaQ -xXABZG12ZuGR224HwGGALrIuL4xwp9E7PLOR5G62xDtw8mySlwnNR30YwPO7ng/Wi64HtloPzgsM -R6flPri9fcebNaBhlzpBdRfMK5Z3KpIhHtmVdiBnaM8Nvd/WHwlqmuLMc3GkL30SgLdTMEZeS1SZ -D2fJpcjyIMGC7J0R38IC+xo70e0gmu9lZJIQDSri3nDxGGeCjGHeuLzRL5z7D9Ar7Rt2ueQ5Vfj4 -oR24qoAATILnsn8JuLwwoC8N9VKejveSswoAHQBUlwbgsQfZxw9cZX08bVlX5O2ljelAU58VS6Bx -9hoh49pwBiFYFIeFd3mqgnkCAwEAAaNCMEAwHQYDVR0OBBYEFOLJQJ9NzuiaoXzPDj9lxSmIahlR -MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4ICAQDRSVfg -p8xoWLoBDysZzY2wYUWsEe1jUGn4H3++Fo/9nesLqjJHdtJnJO29fDMylyrHBYZmDRd9FBUb1Ov9 -H5r2XpdptxolpAqzkT9fNqyL7FeoPueBihhXOYV0GkLH6VsTX4/5COmSdI31R9KrO9b7eGZONn35 -6ZLpBN79SWP8bfsUcZNnL0dKt7n/HipzcEYwv1ryL3ml4Y0M2fmyYzeMN2WFcGpcWwlyua1jPLHd -+PwyvzeG5LuOmCd+uh8W4XAR8gPfJWIyJyYYMoSf/wA6E7qaTfRPuBRwIrHKK5DOKcFw9C+df/KQ -HtZa37dG/OaG+svgIHZ6uqbL9XzeYqWxi+7egmaKTjowHz+Ay60nugxe19CxVsp3cbK1daFQqUBD -F8Io2c9Si1vIY9RCPqAzekYu9wogRlR+ak8x8YF+QnQ4ZXMn7sZ8uI7XpTrXmKGcjBBV09tL7ECQ -8s1uV9JiDnxXk7Gnbc2dg7sq5+W2O3FYrf3RRbxake5TFW/TRQl1brqQXR4EzzffHqhmsYzmIGrv -/EhOdJhCrylvLmrH+33RZjEizIYAfmaDDEL0vTSSwxrqT8p+ck0LcIymSLumoRT2+1hEmRSuqguT -aaApJUqlyyvdimYHFngVV3Eb7PVHhPOeMTd61X8kreS8/f3MboPoDKi3QWwH3b08hpcv0g== ------END CERTIFICATE----- - -SSL.com Root Certification Authority RSA -======================================== ------BEGIN CERTIFICATE----- -MIIF3TCCA8WgAwIBAgIIeyyb0xaAMpkwDQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMCVVMxDjAM -BgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9TU0wgQ29ycG9yYXRpb24x -MTAvBgNVBAMMKFNTTC5jb20gUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBSU0EwHhcNMTYw -MjEyMTczOTM5WhcNNDEwMjEyMTczOTM5WjB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMx -EDAOBgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwoU1NM -LmNvbSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFJTQTCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAPkP3aMrfcvQKv7sZ4Wm5y4bunfh4/WvpOz6Sl2RxFdHaxh3a3by/ZPkPQ/C -Fp4LZsNWlJ4Xg4XOVu/yFv0AYvUiCVToZRdOQbngT0aXqhvIuG5iXmmxX9sqAn78bMrzQdjt0Oj8 -P2FI7bADFB0QDksZ4LtO7IZl/zbzXmcCC52GVWH9ejjt/uIZALdvoVBidXQ8oPrIJZK0bnoix/ge -oeOy3ZExqysdBP+lSgQ36YWkMyv94tZVNHwZpEpox7Ko07fKoZOI68GXvIz5HdkihCR0xwQ9aqkp -k8zruFvh/l8lqjRYyMEjVJ0bmBHDOJx+PYZspQ9AhnwC9FwCTyjLrnGfDzrIM/4RJTXq/LrFYD3Z -fBjVsqnTdXgDciLKOsMf7yzlLqn6niy2UUb9rwPW6mBo6oUWNmuF6R7As93EJNyAKoFBbZQ+yODJ -gUEAnl6/f8UImKIYLEJAs/lvOCdLToD0PYFH4Ih86hzOtXVcUS4cK38acijnALXRdMbX5J+tB5O2 -UzU1/Dfkw/ZdFr4hc96SCvigY2q8lpJqPvi8ZVWb3vUNiSYE/CUapiVpy8JtynziWV+XrOvvLsi8 -1xtZPCvM8hnIk2snYxnP/Okm+Mpxm3+T/jRnhE6Z6/yzeAkzcLpmpnbtG3PrGqUNxCITIJRWCk4s -bE6x/c+cCbqiM+2HAgMBAAGjYzBhMB0GA1UdDgQWBBTdBAkHovV6fVJTEpKV7jiAJQ2mWTAPBgNV -HRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFN0ECQei9Xp9UlMSkpXuOIAlDaZZMA4GA1UdDwEB/wQE -AwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAIBgRlCn7Jp0cHh5wYfGVcpNxJK1ok1iOMq8bs3AD/CUr -dIWQPXhq9LmLpZc7tRiRux6n+UBbkflVma8eEdBcHadm47GUBwwyOabqG7B52B2ccETjit3E+ZUf -ijhDPwGFpUenPUayvOUiaPd7nNgsPgohyC0zrL/FgZkxdMF1ccW+sfAjRfSda/wZY52jvATGGAsl -u1OJD7OAUN5F7kR/q5R4ZJjT9ijdh9hwZXT7DrkT66cPYakylszeu+1jTBi7qUD3oFRuIIhxdRjq -erQ0cuAjJ3dctpDqhiVAq+8zD8ufgr6iIPv2tS0a5sKFsXQP+8hlAqRSAUfdSSLBv9jra6x+3uxj -MxW3IwiPxg+NQVrdjsW5j+VFP3jbutIbQLH+cU0/4IGiul607BXgk90IH37hVZkLId6Tngr75qNJ -vTYw/ud3sqB1l7UtgYgXZSD32pAAn8lSzDLKNXz1PQ/YK9f1JmzJBjSWFupwWRoyeXkLtoh/D1JI -Pb9s2KJELtFOt3JY04kTlf5Eq/jXixtunLwsoFvVagCvXzfh1foQC5ichucmj87w7G6KVwuA406y -wKBjYZC6VWg3dGq2ktufoYYitmUnDuy2n0Jg5GfCtdpBC8TTi2EbvPofkSvXRAdeuims2cXp71NI -WuuA8ShYIc2wBlX7Jz9TkHCpBB5XJ7k= ------END CERTIFICATE----- - -SSL.com Root Certification Authority ECC -======================================== ------BEGIN CERTIFICATE----- -MIICjTCCAhSgAwIBAgIIdebfy8FoW6gwCgYIKoZIzj0EAwIwfDELMAkGA1UEBhMCVVMxDjAMBgNV -BAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9TU0wgQ29ycG9yYXRpb24xMTAv -BgNVBAMMKFNTTC5jb20gUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBFQ0MwHhcNMTYwMjEy -MTgxNDAzWhcNNDEwMjEyMTgxNDAzWjB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAO -BgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwoU1NMLmNv -bSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IEVDQzB2MBAGByqGSM49AgEGBSuBBAAiA2IA -BEVuqVDEpiM2nl8ojRfLliJkP9x6jh3MCLOicSS6jkm5BBtHllirLZXI7Z4INcgn64mMU1jrYor+ -8FsPazFSY0E7ic3s7LaNGdM0B9y7xgZ/wkWV7Mt/qCPgCemB+vNH06NjMGEwHQYDVR0OBBYEFILR -hXMw5zUE044CkvvlpNHEIejNMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUgtGFczDnNQTT -jgKS++Wk0cQh6M0wDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMCA2cAMGQCMG/n61kRpGDPYbCW -e+0F+S8Tkdzt5fxQaxFGRrMcIQBiu77D5+jNB5n5DQtdcj7EqgIwH7y6C+IwJPt8bYBVCpk+gA0z -5Wajs6O7pdWLjwkspl1+4vAHCGht0nxpbl/f5Wpl ------END CERTIFICATE----- - -SSL.com EV Root Certification Authority RSA R2 -============================================== ------BEGIN CERTIFICATE----- -MIIF6zCCA9OgAwIBAgIIVrYpzTS8ePYwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYTAlVTMQ4w -DAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91c3RvbjEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9u -MTcwNQYDVQQDDC5TU0wuY29tIEVWIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgUlNBIFIy -MB4XDTE3MDUzMTE4MTQzN1oXDTQyMDUzMDE4MTQzN1owgYIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQI -DAVUZXhhczEQMA4GA1UEBwwHSG91c3RvbjEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMTcwNQYD -VQQDDC5TU0wuY29tIEVWIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgUlNBIFIyMIICIjAN -BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAjzZlQOHWTcDXtOlG2mvqM0fNTPl9fb69LT3w23jh -hqXZuglXaO1XPqDQCEGD5yhBJB/jchXQARr7XnAjssufOePPxU7Gkm0mxnu7s9onnQqG6YE3Bf7w -cXHswxzpY6IXFJ3vG2fThVUCAtZJycxa4bH3bzKfydQ7iEGonL3Lq9ttewkfokxykNorCPzPPFTO -Zw+oz12WGQvE43LrrdF9HSfvkusQv1vrO6/PgN3B0pYEW3p+pKk8OHakYo6gOV7qd89dAFmPZiw+ -B6KjBSYRaZfqhbcPlgtLyEDhULouisv3D5oi53+aNxPN8k0TayHRwMwi8qFG9kRpnMphNQcAb9Zh -CBHqurj26bNg5U257J8UZslXWNvNh2n4ioYSA0e/ZhN2rHd9NCSFg83XqpyQGp8hLH94t2S42Oim -9HizVcuE0jLEeK6jj2HdzghTreyI/BXkmg3mnxp3zkyPuBQVPWKchjgGAGYS5Fl2WlPAApiiECto -RHuOec4zSnaqW4EWG7WK2NAAe15itAnWhmMOpgWVSbooi4iTsjQc2KRVbrcc0N6ZVTsj9CLg+Slm -JuwgUHfbSguPvuUCYHBBXtSuUDkiFCbLsjtzdFVHB3mBOagwE0TlBIqulhMlQg+5U8Sb/M3kHN48 -+qvWBkofZ6aYMBzdLNvcGJVXZsb/XItW9XcCAwEAAaNjMGEwDwYDVR0TAQH/BAUwAwEB/zAfBgNV -HSMEGDAWgBT5YLvU49U09rj1BoAlp3PbRmmonjAdBgNVHQ4EFgQU+WC71OPVNPa49QaAJadz20Zp -qJ4wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4ICAQBWs47LCp1Jjr+kxJG7ZhcFUZh1 -++VQLHqe8RT6q9OKPv+RKY9ji9i0qVQBDb6Thi/5Sm3HXvVX+cpVHBK+Rw82xd9qt9t1wkclf7nx -Y/hoLVUE0fKNsKTPvDxeH3jnpaAgcLAExbf3cqfeIg29MyVGjGSSJuM+LmOW2puMPfgYCdcDzH2G -guDKBAdRUNf/ktUM79qGn5nX67evaOI5JpS6aLe/g9Pqemc9YmeuJeVy6OLk7K4S9ksrPJ/psEDz -OFSz/bdoyNrGj1E8svuR3Bznm53htw1yj+KkxKl4+esUrMZDBcJlOSgYAsOCsp0FvmXtll9ldDz7 -CTUue5wT/RsPXcdtgTpWD8w74a8CLyKsRspGPKAcTNZEtF4uXBVmCeEmKf7GUmG6sXP/wwyc5Wxq -lD8UykAWlYTzWamsX0xhk23RO8yilQwipmdnRC652dKKQbNmC1r7fSOl8hqw/96bg5Qu0T/fkreR -rwU7ZcegbLHNYhLDkBvjJc40vG93drEQw/cFGsDWr3RiSBd3kmmQYRzelYB0VI8YHMPzA9C/pEN1 -hlMYegouCRw2n5H9gooiS9EOUCXdywMMF8mDAAhONU2Ki+3wApRmLER/y5UnlhetCTCstnEXbosX -9hwJ1C07mKVx01QT2WDz9UtmT/rx7iASjbSsV7FFY6GsdqnC+w== ------END CERTIFICATE----- - -SSL.com EV Root Certification Authority ECC -=========================================== ------BEGIN CERTIFICATE----- -MIIClDCCAhqgAwIBAgIILCmcWxbtBZUwCgYIKoZIzj0EAwIwfzELMAkGA1UEBhMCVVMxDjAMBgNV -BAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9TU0wgQ29ycG9yYXRpb24xNDAy -BgNVBAMMK1NTTC5jb20gRVYgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBFQ0MwHhcNMTYw -MjEyMTgxNTIzWhcNNDEwMjEyMTgxNTIzWjB/MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMx -EDAOBgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjE0MDIGA1UEAwwrU1NM -LmNvbSBFViBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IEVDQzB2MBAGByqGSM49AgEGBSuB -BAAiA2IABKoSR5CYG/vvw0AHgyBO8TCCogbR8pKGYfL2IWjKAMTH6kMAVIbc/R/fALhBYlzccBYy -3h+Z1MzFB8gIH2EWB1E9fVwHU+M1OIzfzZ/ZLg1KthkuWnBaBu2+8KGwytAJKaNjMGEwHQYDVR0O -BBYEFFvKXuXe0oGqzagtZFG22XKbl+ZPMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUW8pe -5d7SgarNqC1kUbbZcpuX5k8wDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMCA2gAMGUCMQCK5kCJ -N+vp1RPZytRrJPOwPYdGWBrssd9v+1a6cGvHOMzosYxPD/fxZ3YOg9AeUY8CMD32IygmTMZgh5Mm -m7I1HrrW9zzRHM76JTymGoEVW/MSD2zuZYrJh6j5B+BimoxcSg== ------END CERTIFICATE----- - -GlobalSign Root CA - R6 -======================= ------BEGIN CERTIFICATE----- -MIIFgzCCA2ugAwIBAgIORea7A4Mzw4VlSOb/RVEwDQYJKoZIhvcNAQEMBQAwTDEgMB4GA1UECxMX -R2xvYmFsU2lnbiBSb290IENBIC0gUjYxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds -b2JhbFNpZ24wHhcNMTQxMjEwMDAwMDAwWhcNMzQxMjEwMDAwMDAwWjBMMSAwHgYDVQQLExdHbG9i -YWxTaWduIFJvb3QgQ0EgLSBSNjETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFs -U2lnbjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJUH6HPKZvnsFMp7PPcNCPG0RQss -grRIxutbPK6DuEGSMxSkb3/pKszGsIhrxbaJ0cay/xTOURQh7ErdG1rG1ofuTToVBu1kZguSgMpE -3nOUTvOniX9PeGMIyBJQbUJmL025eShNUhqKGoC3GYEOfsSKvGRMIRxDaNc9PIrFsmbVkJq3MQbF -vuJtMgamHvm566qjuL++gmNQ0PAYid/kD3n16qIfKtJwLnvnvJO7bVPiSHyMEAc4/2ayd2F+4OqM -PKq0pPbzlUoSB239jLKJz9CgYXfIWHSw1CM69106yqLbnQneXUQtkPGBzVeS+n68UARjNN9rkxi+ -azayOeSsJDa38O+2HBNXk7besvjihbdzorg1qkXy4J02oW9UivFyVm4uiMVRQkQVlO6jxTiWm05O -WgtH8wY2SXcwvHE35absIQh1/OZhFj931dmRl4QKbNQCTXTAFO39OfuD8l4UoQSwC+n+7o/hbguy -CLNhZglqsQY6ZZZZwPA1/cnaKI0aEYdwgQqomnUdnjqGBQCe24DWJfncBZ4nWUx2OVvq+aWh2IMP -0f/fMBH5hc8zSPXKbWQULHpYT9NLCEnFlWQaYw55PfWzjMpYrZxCRXluDocZXFSxZba/jJvcE+kN -b7gu3GduyYsRtYQUigAZcIN5kZeR1BonvzceMgfYFGM8KEyvAgMBAAGjYzBhMA4GA1UdDwEB/wQE -AwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSubAWjkxPioufi1xzWx/B/yGdToDAfBgNV -HSMEGDAWgBSubAWjkxPioufi1xzWx/B/yGdToDANBgkqhkiG9w0BAQwFAAOCAgEAgyXt6NH9lVLN -nsAEoJFp5lzQhN7craJP6Ed41mWYqVuoPId8AorRbrcWc+ZfwFSY1XS+wc3iEZGtIxg93eFyRJa0 -lV7Ae46ZeBZDE1ZXs6KzO7V33EByrKPrmzU+sQghoefEQzd5Mr6155wsTLxDKZmOMNOsIeDjHfrY -BzN2VAAiKrlNIC5waNrlU/yDXNOd8v9EDERm8tLjvUYAGm0CuiVdjaExUd1URhxN25mW7xocBFym -Fe944Hn+Xds+qkxV/ZoVqW/hpvvfcDDpw+5CRu3CkwWJ+n1jez/QcYF8AOiYrg54NMMl+68KnyBr -3TsTjxKM4kEaSHpzoHdpx7Zcf4LIHv5YGygrqGytXm3ABdJ7t+uA/iU3/gKbaKxCXcPu9czc8FB1 -0jZpnOZ7BN9uBmm23goJSFmH63sUYHpkqmlD75HHTOwY3WzvUy2MmeFe8nI+z1TIvWfspA9MRf/T -uTAjB0yPEL+GltmZWrSZVxykzLsViVO6LAUP5MSeGbEYNNVMnbrt9x+vJJUEeKgDu+6B5dpffItK -oZB0JaezPkvILFa9x8jvOOJckvB595yEunQtYQEgfn7R8k8HWV+LLUNS60YMlOH1Zkd5d9VUWx+t -JDfLRVpOoERIyNiwmcUVhAn21klJwGW45hpxbqCo8YLoRT5s1gLXCmeDBVrJpBA= ------END CERTIFICATE----- - -OISTE WISeKey Global Root GC CA -=============================== ------BEGIN CERTIFICATE----- -MIICaTCCAe+gAwIBAgIQISpWDK7aDKtARb8roi066jAKBggqhkjOPQQDAzBtMQswCQYDVQQGEwJD -SDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNlZDEo -MCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwgUm9vdCBHQyBDQTAeFw0xNzA1MDkwOTQ4MzRa -Fw00MjA1MDkwOTU4MzNaMG0xCzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYDVQQL -ExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEdsb2Jh -bCBSb290IEdDIENBMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETOlQwMYPchi82PG6s4nieUqjFqdr -VCTbUf/q9Akkwwsin8tqJ4KBDdLArzHkdIJuyiXZjHWd8dvQmqJLIX4Wp2OQ0jnUsYd4XxiWD1Ab -NTcPasbc2RNNpI6QN+a9WzGRo1QwUjAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAd -BgNVHQ4EFgQUSIcUrOPDnpBgOtfKie7TrYy0UGYwEAYJKwYBBAGCNxUBBAMCAQAwCgYIKoZIzj0E -AwMDaAAwZQIwJsdpW9zV57LnyAyMjMPdeYwbY9XJUpROTYJKcx6ygISpJcBMWm1JKWB4E+J+SOtk -AjEA2zQgMgj/mkkCtojeFK9dbJlxjRo/i9fgojaGHAeCOnZT/cKi7e97sIBPWA9LUzm9 ------END CERTIFICATE----- - -UCA Global G2 Root -================== ------BEGIN CERTIFICATE----- -MIIFRjCCAy6gAwIBAgIQXd+x2lqj7V2+WmUgZQOQ7zANBgkqhkiG9w0BAQsFADA9MQswCQYDVQQG -EwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxGzAZBgNVBAMMElVDQSBHbG9iYWwgRzIgUm9vdDAeFw0x -NjAzMTEwMDAwMDBaFw00MDEyMzEwMDAwMDBaMD0xCzAJBgNVBAYTAkNOMREwDwYDVQQKDAhVbmlU -cnVzdDEbMBkGA1UEAwwSVUNBIEdsb2JhbCBHMiBSb290MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A -MIICCgKCAgEAxeYrb3zvJgUno4Ek2m/LAfmZmqkywiKHYUGRO8vDaBsGxUypK8FnFyIdK+35KYmT -oni9kmugow2ifsqTs6bRjDXVdfkX9s9FxeV67HeToI8jrg4aA3++1NDtLnurRiNb/yzmVHqUwCoV -8MmNsHo7JOHXaOIxPAYzRrZUEaalLyJUKlgNAQLx+hVRZ2zA+te2G3/RVogvGjqNO7uCEeBHANBS -h6v7hn4PJGtAnTRnvI3HLYZveT6OqTwXS3+wmeOwcWDcC/Vkw85DvG1xudLeJ1uK6NjGruFZfc8o -LTW4lVYa8bJYS7cSN8h8s+1LgOGN+jIjtm+3SJUIsUROhYw6AlQgL9+/V087OpAh18EmNVQg7Mc/ -R+zvWr9LesGtOxdQXGLYD0tK3Cv6brxzks3sx1DoQZbXqX5t2Okdj4q1uViSukqSKwxW/YDrCPBe -KW4bHAyvj5OJrdu9o54hyokZ7N+1wxrrFv54NkzWbtA+FxyQF2smuvt6L78RHBgOLXMDj6DlNaBa -4kx1HXHhOThTeEDMg5PXCp6dW4+K5OXgSORIskfNTip1KnvyIvbJvgmRlld6iIis7nCs+dwp4wwc -OxJORNanTrAmyPPZGpeRaOrvjUYG0lZFWJo8DA+DuAUlwznPO6Q0ibd5Ei9Hxeepl2n8pndntd97 -8XplFeRhVmUCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0O -BBYEFIHEjMz15DD/pQwIX4wVZyF0Ad/fMA0GCSqGSIb3DQEBCwUAA4ICAQATZSL1jiutROTL/7lo -5sOASD0Ee/ojL3rtNtqyzm325p7lX1iPyzcyochltq44PTUbPrw7tgTQvPlJ9Zv3hcU2tsu8+Mg5 -1eRfB70VVJd0ysrtT7q6ZHafgbiERUlMjW+i67HM0cOU2kTC5uLqGOiiHycFutfl1qnN3e92mI0A -Ds0b+gO3joBYDic/UvuUospeZcnWhNq5NXHzJsBPd+aBJ9J3O5oUb3n09tDh05S60FdRvScFDcH9 -yBIw7m+NESsIndTUv4BFFJqIRNow6rSn4+7vW4LVPtateJLbXDzz2K36uGt/xDYotgIVilQsnLAX -c47QN6MUPJiVAAwpBVueSUmxX8fjy88nZY41F7dXyDDZQVu5FLbowg+UMaeUmMxq67XhJ/UQqAHo -jhJi6IjMtX9Gl8CbEGY4GjZGXyJoPd/JxhMnq1MGrKI8hgZlb7F+sSlEmqO6SWkoaY/X5V+tBIZk -bxqgDMUIYs6Ao9Dz7GjevjPHF1t/gMRMTLGmhIrDO7gJzRSBuhjjVFc2/tsvfEehOjPI+Vg7RE+x -ygKJBJYoaMVLuCaJu9YzL1DV/pqJuhgyklTGW+Cd+V7lDSKb9triyCGyYiGqhkCyLmTTX8jjfhFn -RR8F/uOi77Oos/N9j/gMHyIfLXC0uAE0djAA5SN4p1bXUB+K+wb1whnw0A== ------END CERTIFICATE----- - -UCA Extended Validation Root -============================ ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgIQT9Irj/VkyDOeTzRYZiNwYDANBgkqhkiG9w0BAQsFADBHMQswCQYDVQQG -EwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxJTAjBgNVBAMMHFVDQSBFeHRlbmRlZCBWYWxpZGF0aW9u -IFJvb3QwHhcNMTUwMzEzMDAwMDAwWhcNMzgxMjMxMDAwMDAwWjBHMQswCQYDVQQGEwJDTjERMA8G -A1UECgwIVW5pVHJ1c3QxJTAjBgNVBAMMHFVDQSBFeHRlbmRlZCBWYWxpZGF0aW9uIFJvb3QwggIi -MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCpCQcoEwKwmeBkqh5DFnpzsZGgdT6o+uM4AHrs -iWogD4vFsJszA1qGxliG1cGFu0/GnEBNyr7uaZa4rYEwmnySBesFK5pI0Lh2PpbIILvSsPGP2KxF -Rv+qZ2C0d35qHzwaUnoEPQc8hQ2E0B92CvdqFN9y4zR8V05WAT558aopO2z6+I9tTcg1367r3CTu -eUWnhbYFiN6IXSV8l2RnCdm/WhUFhvMJHuxYMjMR83dksHYf5BA1FxvyDrFspCqjc/wJHx4yGVMR -59mzLC52LqGj3n5qiAno8geK+LLNEOfic0CTuwjRP+H8C5SzJe98ptfRr5//lpr1kXuYC3fUfugH -0mK1lTnj8/FtDw5lhIpjVMWAtuCeS31HJqcBCF3RiJ7XwzJE+oJKCmhUfzhTA8ykADNkUVkLo4KR -el7sFsLzKuZi2irbWWIQJUoqgQtHB0MGcIfS+pMRKXpITeuUx3BNr2fVUbGAIAEBtHoIppB/TuDv -B0GHr2qlXov7z1CymlSvw4m6WC31MJixNnI5fkkE/SmnTHnkBVfblLkWU41Gsx2VYVdWf6/wFlth -WG82UBEL2KwrlRYaDh8IzTY0ZRBiZtWAXxQgXy0MoHgKaNYs1+lvK9JKBZP8nm9rZ/+I8U6laUpS -NwXqxhaN0sSZ0YIrO7o1dfdRUVjzyAfd5LQDfwIDAQABo0IwQDAdBgNVHQ4EFgQU2XQ65DA9DfcS -3H5aBZ8eNJr34RQwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQEL -BQADggIBADaNl8xCFWQpN5smLNb7rhVpLGsaGvdftvkHTFnq88nIua7Mui563MD1sC3AO6+fcAUR -ap8lTwEpcOPlDOHqWnzcSbvBHiqB9RZLcpHIojG5qtr8nR/zXUACE/xOHAbKsxSQVBcZEhrxH9cM -aVr2cXj0lH2RC47skFSOvG+hTKv8dGT9cZr4QQehzZHkPJrgmzI5c6sq1WnIeJEmMX3ixzDx/BR4 -dxIOE/TdFpS/S2d7cFOFyrC78zhNLJA5wA3CXWvp4uXViI3WLL+rG761KIcSF3Ru/H38j9CHJrAb -+7lsq+KePRXBOy5nAliRn+/4Qh8st2j1da3Ptfb/EX3C8CSlrdP6oDyp+l3cpaDvRKS+1ujl5BOW -F3sGPjLtx7dCvHaj2GU4Kzg1USEODm8uNBNA4StnDG1KQTAYI1oyVZnJF+A83vbsea0rWBmirSwi -GpWOvpaQXUJXxPkUAzUrHC1RVwinOt4/5Mi0A3PCwSaAuwtCH60NryZy2sy+s6ODWA2CxR9GUeOc -GMyNm43sSet1UNWMKFnKdDTajAshqx7qG+XH/RU+wBeq+yNuJkbL+vmxcmtpzyKEC2IPrNkZAJSi -djzULZrtBJ4tBmIQN1IchXIbJ+XMxjHsN+xjWZsLHXbMfjKaiJUINlK73nZfdklJrX+9ZSCyycEr -dhh2n1ax ------END CERTIFICATE----- - -Certigna Root CA -================ ------BEGIN CERTIFICATE----- -MIIGWzCCBEOgAwIBAgIRAMrpG4nxVQMNo+ZBbcTjpuEwDQYJKoZIhvcNAQELBQAwWjELMAkGA1UE -BhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczEcMBoGA1UECwwTMDAwMiA0ODE0NjMwODEwMDAzNjEZ -MBcGA1UEAwwQQ2VydGlnbmEgUm9vdCBDQTAeFw0xMzEwMDEwODMyMjdaFw0zMzEwMDEwODMyMjda -MFoxCzAJBgNVBAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxHDAaBgNVBAsMEzAwMDIgNDgxNDYz -MDgxMDAwMzYxGTAXBgNVBAMMEENlcnRpZ25hIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4IC -DwAwggIKAoICAQDNGDllGlmx6mQWDoyUJJV8g9PFOSbcDO8WV43X2KyjQn+Cyu3NW9sOty3tRQgX -stmzy9YXUnIo245Onoq2C/mehJpNdt4iKVzSs9IGPjA5qXSjklYcoW9MCiBtnyN6tMbaLOQdLNyz -KNAT8kxOAkmhVECe5uUFoC2EyP+YbNDrihqECB63aCPuI9Vwzm1RaRDuoXrC0SIxwoKF0vJVdlB8 -JXrJhFwLrN1CTivngqIkicuQstDuI7pmTLtipPlTWmR7fJj6o0ieD5Wupxj0auwuA0Wv8HT4Ks16 -XdG+RCYyKfHx9WzMfgIhC59vpD++nVPiz32pLHxYGpfhPTc3GGYo0kDFUYqMwy3OU4gkWGQwFsWq -4NYKpkDfePb1BHxpE4S80dGnBs8B92jAqFe7OmGtBIyT46388NtEbVncSVmurJqZNjBBe3YzIoej -wpKGbvlw7q6Hh5UbxHq9MfPU0uWZ/75I7HX1eBYdpnDBfzwboZL7z8g81sWTCo/1VTp2lc5ZmIoJ -lXcymoO6LAQ6l73UL77XbJuiyn1tJslV1c/DeVIICZkHJC1kJWumIWmbat10TWuXekG9qxf5kBdI -jzb5LdXF2+6qhUVB+s06RbFo5jZMm5BX7CO5hwjCxAnxl4YqKE3idMDaxIzb3+KhF1nOJFl0Mdp/ -/TBt2dzhauH8XwIDAQABo4IBGjCCARYwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYw -HQYDVR0OBBYEFBiHVuBud+4kNTxOc5of1uHieX4rMB8GA1UdIwQYMBaAFBiHVuBud+4kNTxOc5of -1uHieX4rMEQGA1UdIAQ9MDswOQYEVR0gADAxMC8GCCsGAQUFBwIBFiNodHRwczovL3d3d3cuY2Vy -dGlnbmEuZnIvYXV0b3JpdGVzLzBtBgNVHR8EZjBkMC+gLaArhilodHRwOi8vY3JsLmNlcnRpZ25h -LmZyL2NlcnRpZ25hcm9vdGNhLmNybDAxoC+gLYYraHR0cDovL2NybC5kaGlteW90aXMuY29tL2Nl -cnRpZ25hcm9vdGNhLmNybDANBgkqhkiG9w0BAQsFAAOCAgEAlLieT/DjlQgi581oQfccVdV8AOIt -OoldaDgvUSILSo3L6btdPrtcPbEo/uRTVRPPoZAbAh1fZkYJMyjhDSSXcNMQH+pkV5a7XdrnxIxP -TGRGHVyH41neQtGbqH6mid2PHMkwgu07nM3A6RngatgCdTer9zQoKJHyBApPNeNgJgH60BGM+RFq -7q89w1DTj18zeTyGqHNFkIwgtnJzFyO+B2XleJINugHA64wcZr+shncBlA2c5uk5jR+mUYyZDDl3 -4bSb+hxnV29qao6pK0xXeXpXIs/NX2NGjVxZOob4Mkdio2cNGJHc+6Zr9UhhcyNZjgKnvETq9Emd -8VRY+WCv2hikLyhF3HqgiIZd8zvn/yk1gPxkQ5Tm4xxvvq0OKmOZK8l+hfZx6AYDlf7ej0gcWtSS -6Cvu5zHbugRqh5jnxV/vfaci9wHYTfmJ0A6aBVmknpjZbyvKcL5kwlWj9Omvw5Ip3IgWJJk8jSaY -tlu3zM63Nwf9JtmYhST/WSMDmu2dnajkXjjO11INb9I/bbEFa0nOipFGc/T2L/Coc3cOZayhjWZS -aX5LaAzHHjcng6WMxwLkFM1JAbBzs/3GkDpv0mztO+7skb6iQ12LAEpmJURw3kAP+HwV96LOPNde -E4yBFxgX0b3xdxA61GU5wSesVywlVP+i2k+KYTlerj1KjL0= ------END CERTIFICATE----- - -emSign Root CA - G1 -=================== ------BEGIN CERTIFICATE----- -MIIDlDCCAnygAwIBAgIKMfXkYgxsWO3W2DANBgkqhkiG9w0BAQsFADBnMQswCQYDVQQGEwJJTjET -MBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRl -ZDEcMBoGA1UEAxMTZW1TaWduIFJvb3QgQ0EgLSBHMTAeFw0xODAyMTgxODMwMDBaFw00MzAyMTgx -ODMwMDBaMGcxCzAJBgNVBAYTAklOMRMwEQYDVQQLEwplbVNpZ24gUEtJMSUwIwYDVQQKExxlTXVk -aHJhIFRlY2hub2xvZ2llcyBMaW1pdGVkMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEcxMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk0u76WaK7p1b1TST0Bsew+eeuGQzf2N4aLTN -LnF115sgxk0pvLZoYIr3IZpWNVrzdr3YzZr/k1ZLpVkGoZM0Kd0WNHVO8oG0x5ZOrRkVUkr+PHB1 -cM2vK6sVmjM8qrOLqs1D/fXqcP/tzxE7lM5OMhbTI0Aqd7OvPAEsbO2ZLIvZTmmYsvePQbAyeGHW -DV/D+qJAkh1cF+ZwPjXnorfCYuKrpDhMtTk1b+oDafo6VGiFbdbyL0NVHpENDtjVaqSW0RM8LHhQ -6DqS0hdW5TUaQBw+jSztOd9C4INBdN+jzcKGYEho42kLVACL5HZpIQ15TjQIXhTCzLG3rdd8cIrH -hQIDAQABo0IwQDAdBgNVHQ4EFgQU++8Nhp6w492pufEhF38+/PB3KxowDgYDVR0PAQH/BAQDAgEG -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAFn/8oz1h31xPaOfG1vR2vjTnGs2 -vZupYeveFix0PZ7mddrXuqe8QhfnPZHr5X3dPpzxz5KsbEjMwiI/aTvFthUvozXGaCocV685743Q -NcMYDHsAVhzNixl03r4PEuDQqqE/AjSxcM6dGNYIAwlG7mDgfrbESQRRfXBgvKqy/3lyeqYdPV8q -+Mri/Tm3R7nrft8EI6/6nAYH6ftjk4BAtcZsCjEozgyfz7MjNYBBjWzEN3uBL4ChQEKF6dk4jeih -U80Bv2noWgbyRQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx -iN66zB+Afko= ------END CERTIFICATE----- - -emSign ECC Root CA - G3 -======================= ------BEGIN CERTIFICATE----- -MIICTjCCAdOgAwIBAgIKPPYHqWhwDtqLhDAKBggqhkjOPQQDAzBrMQswCQYDVQQGEwJJTjETMBEG -A1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRlZDEg -MB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0gRzMwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4 -MTgzMDAwWjBrMQswCQYDVQQGEwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11 -ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0g -RzMwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQjpQy4LRL1KPOxst3iAhKAnjlfSU2fySU0WXTsuwYc -58Byr+iuL+FBVIcUqEqy6HyC5ltqtdyzdc6LBtCGI79G1Y4PPwT01xySfvalY8L1X44uT6EYGQIr -MgqCZH0Wk9GjQjBAMB0GA1UdDgQWBBR8XQKEE9TMipuBzhccLikenEhjQjAOBgNVHQ8BAf8EBAMC -AQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNpADBmAjEAvvNhzwIQHWSVB7gYboiFBS+D -CBeQyh+KTOgNG3qxrdWBCUfvO6wIBHxcmbHtRwfSAjEAnbpV/KlK6O3t5nYBQnvI+GDZjVGLVTv7 -jHvrZQnD+JbNR6iC8hZVdyR+EhCVBCyj ------END CERTIFICATE----- - -emSign Root CA - C1 -=================== ------BEGIN CERTIFICATE----- -MIIDczCCAlugAwIBAgILAK7PALrEzzL4Q7IwDQYJKoZIhvcNAQELBQAwVjELMAkGA1UEBhMCVVMx -EzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQDExNlbVNp -Z24gUm9vdCBDQSAtIEMxMB4XDTE4MDIxODE4MzAwMFoXDTQzMDIxODE4MzAwMFowVjELMAkGA1UE -BhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQD -ExNlbVNpZ24gUm9vdCBDQSAtIEMxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+up -ufGZBczYKCFK83M0UYRWEPWgTywS4/oTmifQz/l5GnRfHXk5/Fv4cI7gklL35CX5VIPZHdPIWoU/ -Xse2B+4+wM6ar6xWQio5JXDWv7V7Nq2s9nPczdcdioOl+yuQFTdrHCZH3DspVpNqs8FqOp099cGX -OFgFixwR4+S0uF2FHYP+eF8LRWgYSKVGczQ7/g/IdrvHGPMF0Ybzhe3nudkyrVWIzqa2kbBPrH4V -I5b2P/AgNBbeCsbEBEV5f6f9vtKppa+cxSMq9zwhbL2vj07FOrLzNBL834AaSaTUqZX3noleooms -lMuoaJuvimUnzYnu3Yy1aylwQ6BpC+S5DwIDAQABo0IwQDAdBgNVHQ4EFgQU/qHgcB4qAzlSWkK+ -XJGFehiqTbUwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQAD -ggEBAMJKVvoVIXsoounlHfv4LcQ5lkFMOycsxGwYFYDGrK9HWS8mC+M2sO87/kOXSTKZEhVb3xEp -/6tT+LvBeA+snFOvV71ojD1pM/CjoCNjO2RnIkSt1XHLVip4kqNPEjE2NuLe/gDEo2APJ62gsIq1 -NnpSob0n9CAnYuhNlCQT5AoE6TyrLshDCUrGYQTlSTR+08TI9Q/Aqum6VF7zYytPT1DU/rl7mYw9 -wC68AivTxEDkigcxHpvOJpkT+xHqmiIMERnHXhuBUDDIlhJu58tBf5E7oke3VIAb3ADMmpDqw8NQ -BmIMMMAVSKeoWXzhriKi4gp6D/piq1JM4fHfyr6DDUI= ------END CERTIFICATE----- - -emSign ECC Root CA - C3 -======================= ------BEGIN CERTIFICATE----- -MIICKzCCAbGgAwIBAgIKe3G2gla4EnycqDAKBggqhkjOPQQDAzBaMQswCQYDVQQGEwJVUzETMBEG -A1UECxMKZW1TaWduIFBLSTEUMBIGA1UEChMLZU11ZGhyYSBJbmMxIDAeBgNVBAMTF2VtU2lnbiBF -Q0MgUm9vdCBDQSAtIEMzMB4XDTE4MDIxODE4MzAwMFoXDTQzMDIxODE4MzAwMFowWjELMAkGA1UE -BhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMSAwHgYDVQQD -ExdlbVNpZ24gRUNDIFJvb3QgQ0EgLSBDMzB2MBAGByqGSM49AgEGBSuBBAAiA2IABP2lYa57JhAd -6bciMK4G9IGzsUJxlTm801Ljr6/58pc1kjZGDoeVjbk5Wum739D+yAdBPLtVb4OjavtisIGJAnB9 -SMVK4+kiVCJNk7tCDK93nCOmfddhEc5lx/h//vXyqaNCMEAwHQYDVR0OBBYEFPtaSNCAIEDyqOkA -B2kZd6fmw/TPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMDA2gA -MGUCMQC02C8Cif22TGK6Q04ThHK1rt0c3ta13FaPWEBaLd4gTCKDypOofu4SQMfWh0/434UCMBwU -ZOR8loMRnLDRWmFLpg9J0wD8ofzkpf9/rdcw0Md3f76BB1UwUCAU9Vc4CqgxUQ== ------END CERTIFICATE----- - -Hongkong Post Root CA 3 -======================= ------BEGIN CERTIFICATE----- -MIIFzzCCA7egAwIBAgIUCBZfikyl7ADJk0DfxMauI7gcWqQwDQYJKoZIhvcNAQELBQAwbzELMAkG -A1UEBhMCSEsxEjAQBgNVBAgTCUhvbmcgS29uZzESMBAGA1UEBxMJSG9uZyBLb25nMRYwFAYDVQQK -Ew1Ib25na29uZyBQb3N0MSAwHgYDVQQDExdIb25na29uZyBQb3N0IFJvb3QgQ0EgMzAeFw0xNzA2 -MDMwMjI5NDZaFw00MjA2MDMwMjI5NDZaMG8xCzAJBgNVBAYTAkhLMRIwEAYDVQQIEwlIb25nIEtv -bmcxEjAQBgNVBAcTCUhvbmcgS29uZzEWMBQGA1UEChMNSG9uZ2tvbmcgUG9zdDEgMB4GA1UEAxMX -SG9uZ2tvbmcgUG9zdCBSb290IENBIDMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCz -iNfqzg8gTr7m1gNt7ln8wlffKWihgw4+aMdoWJwcYEuJQwy51BWy7sFOdem1p+/l6TWZ5Mwc50tf -jTMwIDNT2aa71T4Tjukfh0mtUC1Qyhi+AViiE3CWu4mIVoBc+L0sPOFMV4i707mV78vH9toxdCim -5lSJ9UExyuUmGs2C4HDaOym71QP1mbpV9WTRYA6ziUm4ii8F0oRFKHyPaFASePwLtVPLwpgchKOe -sL4jpNrcyCse2m5FHomY2vkALgbpDDtw1VAliJnLzXNg99X/NWfFobxeq81KuEXryGgeDQ0URhLj -0mRiikKYvLTGCAj4/ahMZJx2Ab0vqWwzD9g/KLg8aQFChn5pwckGyuV6RmXpwtZQQS4/t+TtbNe/ -JgERohYpSms0BpDsE9K2+2p20jzt8NYt3eEV7KObLyzJPivkaTv/ciWxNoZbx39ri1UbSsUgYT2u -y1DhCDq+sI9jQVMwCFk8mB13umOResoQUGC/8Ne8lYePl8X+l2oBlKN8W4UdKjk60FSh0Tlxnf0h -+bV78OLgAo9uliQlLKAeLKjEiafv7ZkGL7YKTE/bosw3Gq9HhS2KX8Q0NEwA/RiTZxPRN+ZItIsG -xVd7GYYKecsAyVKvQv83j+GjHno9UKtjBucVtT+2RTeUN7F+8kjDf8V1/peNRY8apxpyKBpADwID -AQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBQXnc0e -i9Y5K3DTXNSguB+wAPzFYTAdBgNVHQ4EFgQUF53NHovWOStw01zUoLgfsAD8xWEwDQYJKoZIhvcN -AQELBQADggIBAFbVe27mIgHSQpsY1Q7XZiNc4/6gx5LS6ZStS6LG7BJ8dNVI0lkUmcDrudHr9Egw -W62nV3OZqdPlt9EuWSRY3GguLmLYauRwCy0gUCCkMpXRAJi70/33MvJJrsZ64Ee+bs7Lo3I6LWld -y8joRTnU+kLBEUx3XZL7av9YROXrgZ6voJmtvqkBZss4HTzfQx/0TW60uhdG/H39h4F5ag0zD/ov -+BS5gLNdTaqX4fnkGMX41TiMJjz98iji7lpJiCzfeT2OnpA8vUFKOt1b9pq0zj8lMH8yfaIDlNDc -eqFS3m6TjRgm/VWsvY+b0s+v54Ysyx8Jb6NvqYTUc79NoXQbTiNg8swOqn+knEwlqLJmOzj/2ZQw -9nKEvmhVEA/GcywWaZMH/rFF7buiVWqw2rVKAiUnhde3t4ZEFolsgCs+l6mc1X5VTMbeRRAc6uk7 -nwNT7u56AQIWeNTowr5GdogTPyK7SBIdUgC0An4hGh6cJfTzPV4e0hz5sy229zdcxsshTrD3mUcY -hcErulWuBurQB7Lcq9CClnXO0lD+mefPL5/ndtFhKvshuzHQqp9HpLIiyhY6UFfEW0NnxWViA0kB -60PZ2Pierc+xYw5F9KBaLJstxabArahH9CdMOA0uG0k7UvToiIMrVCjU8jVStDKDYmlkDJGcn5fq -dBb9HxEGmpv0 ------END CERTIFICATE----- - -Microsoft ECC Root Certificate Authority 2017 -============================================= ------BEGIN CERTIFICATE----- -MIICWTCCAd+gAwIBAgIQZvI9r4fei7FK6gxXMQHC7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV -UzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQgRUND -IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjMwNjQ1WhcNNDIwNzE4 -MjMxNjA0WjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYw -NAYDVQQDEy1NaWNyb3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwdjAQ -BgcqhkjOPQIBBgUrgQQAIgNiAATUvD0CQnVBEyPNgASGAlEvaqiBYgtlzPbKnR5vSmZRogPZnZH6 -thaxjG7efM3beaYvzrvOcS/lpaso7GMEZpn4+vKTEAXhgShC48Zo9OYbhGBKia/teQ87zvH2RPUB -eMCjVDBSMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTIy5lycFIM -+Oa+sgRXKSrPQhDtNTAQBgkrBgEEAYI3FQEEAwIBADAKBggqhkjOPQQDAwNoADBlAjBY8k3qDPlf -Xu5gKcs68tvWMoQZP3zVL8KxzJOuULsJMsbG7X7JNpQS5GiFBqIb0C8CMQCZ6Ra0DvpWSNSkMBaR -eNtUjGUBiudQZsIxtzm6uBoiB078a1QWIP8rtedMDE2mT3M= ------END CERTIFICATE----- - -Microsoft RSA Root Certificate Authority 2017 -============================================= ------BEGIN CERTIFICATE----- -MIIFqDCCA5CgAwIBAgIQHtOXCV/YtLNHcB6qvn9FszANBgkqhkiG9w0BAQwFADBlMQswCQYDVQQG -EwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQg -UlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjI1MTIyWhcNNDIw -NzE4MjMwMDIzWjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u -MTYwNAYDVQQDEy1NaWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcw -ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKW76UM4wplZEWCpW9R2LBifOZNt9GkMml -7Xhqb0eRaPgnZ1AzHaGm++DlQ6OEAlcBXZxIQIJTELy/xztokLaCLeX0ZdDMbRnMlfl7rEqUrQ7e -S0MdhweSE5CAg2Q1OQT85elss7YfUJQ4ZVBcF0a5toW1HLUX6NZFndiyJrDKxHBKrmCk3bPZ7Pw7 -1VdyvD/IybLeS2v4I2wDwAW9lcfNcztmgGTjGqwu+UcF8ga2m3P1eDNbx6H7JyqhtJqRjJHTOoI+ -dkC0zVJhUXAoP8XFWvLJjEm7FFtNyP9nTUwSlq31/niol4fX/V4ggNyhSyL71Imtus5Hl0dVe49F -yGcohJUcaDDv70ngNXtk55iwlNpNhTs+VcQor1fznhPbRiefHqJeRIOkpcrVE7NLP8TjwuaGYaRS -MLl6IE9vDzhTyzMMEyuP1pq9KsgtsRx9S1HKR9FIJ3Jdh+vVReZIZZ2vUpC6W6IYZVcSn2i51BVr -lMRpIpj0M+Dt+VGOQVDJNE92kKz8OMHY4Xu54+OU4UZpyw4KUGsTuqwPN1q3ErWQgR5WrlcihtnJ -0tHXUeOrO8ZV/R4O03QK0dqq6mm4lyiPSMQH+FJDOvTKVTUssKZqwJz58oHhEmrARdlns87/I6KJ -ClTUFLkqqNfs+avNJVgyeY+QW5g5xAgGwax/Dj0ApQIDAQABo1QwUjAOBgNVHQ8BAf8EBAMCAYYw -DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUCctZf4aycI8awznjwNnpv7tNsiMwEAYJKwYBBAGC -NxUBBAMCAQAwDQYJKoZIhvcNAQEMBQADggIBAKyvPl3CEZaJjqPnktaXFbgToqZCLgLNFgVZJ8og -6Lq46BrsTaiXVq5lQ7GPAJtSzVXNUzltYkyLDVt8LkS/gxCP81OCgMNPOsduET/m4xaRhPtthH80 -dK2Jp86519efhGSSvpWhrQlTM93uCupKUY5vVau6tZRGrox/2KJQJWVggEbbMwSubLWYdFQl3JPk -+ONVFT24bcMKpBLBaYVu32TxU5nhSnUgnZUP5NbcA/FZGOhHibJXWpS2qdgXKxdJ5XbLwVaZOjex -/2kskZGT4d9Mozd2TaGf+G0eHdP67Pv0RR0Tbc/3WeUiJ3IrhvNXuzDtJE3cfVa7o7P4NHmJweDy -AmH3pvwPuxwXC65B2Xy9J6P9LjrRk5Sxcx0ki69bIImtt2dmefU6xqaWM/5TkshGsRGRxpl/j8nW -ZjEgQRCHLQzWwa80mMpkg/sTV9HB8Dx6jKXB/ZUhoHHBk2dxEuqPiAppGWSZI1b7rCoucL5mxAyE -7+WL85MB+GqQk2dLsmijtWKP6T+MejteD+eMuMZ87zf9dOLITzNy4ZQ5bb0Sr74MTnB8G2+NszKT -c0QWbej09+CVgI+WXTik9KveCjCHk9hNAHFiRSdLOkKEW39lt2c0Ui2cFmuqqNh7o0JMcccMyj6D -5KbvtwEwXlGjefVwaaZBRA+GsCyRxj3qrg+E ------END CERTIFICATE----- - -e-Szigno Root CA 2017 -===================== ------BEGIN CERTIFICATE----- -MIICQDCCAeWgAwIBAgIMAVRI7yH9l1kN9QQKMAoGCCqGSM49BAMCMHExCzAJBgNVBAYTAkhVMREw -DwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UECgwNTWljcm9zZWMgTHRkLjEXMBUGA1UEYQwOVkFUSFUt -MjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3ppZ25vIFJvb3QgQ0EgMjAxNzAeFw0xNzA4MjIxMjA3MDZa -Fw00MjA4MjIxMjA3MDZaMHExCzAJBgNVBAYTAkhVMREwDwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UE -CgwNTWljcm9zZWMgTHRkLjEXMBUGA1UEYQwOVkFUSFUtMjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3pp -Z25vIFJvb3QgQ0EgMjAxNzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJbcPYrYsHtvxie+RJCx -s1YVe45DJH0ahFnuY2iyxl6H0BVIHqiQrb1TotreOpCmYF9oMrWGQd+HWyx7xf58etqjYzBhMA8G -A1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSHERUI0arBeAyxr87GyZDv -vzAEwDAfBgNVHSMEGDAWgBSHERUI0arBeAyxr87GyZDvvzAEwDAKBggqhkjOPQQDAgNJADBGAiEA -tVfd14pVCzbhhkT61NlojbjcI4qKDdQvfepz7L9NbKgCIQDLpbQS+ue16M9+k/zzNY9vTlp8tLxO -svxyqltZ+efcMQ== ------END CERTIFICATE----- - -certSIGN Root CA G2 -=================== ------BEGIN CERTIFICATE----- -MIIFRzCCAy+gAwIBAgIJEQA0tk7GNi02MA0GCSqGSIb3DQEBCwUAMEExCzAJBgNVBAYTAlJPMRQw -EgYDVQQKEwtDRVJUU0lHTiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjAeFw0xNzAy -MDYwOTI3MzVaFw00MjAyMDYwOTI3MzVaMEExCzAJBgNVBAYTAlJPMRQwEgYDVQQKEwtDRVJUU0lH -TiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBAMDFdRmRfUR0dIf+DjuW3NgBFszuY5HnC2/OOwppGnzC46+CjobXXo9X69MhWf05 -N0IwvlDqtg+piNguLWkh59E3GE59kdUWX2tbAMI5Qw02hVK5U2UPHULlj88F0+7cDBrZuIt4Imfk -abBoxTzkbFpG583H+u/E7Eu9aqSs/cwoUe+StCmrqzWaTOTECMYmzPhpn+Sc8CnTXPnGFiWeI8Mg -wT0PPzhAsP6CRDiqWhqKa2NYOLQV07YRaXseVO6MGiKscpc/I1mbySKEwQdPzH/iV8oScLumZfNp -dWO9lfsbl83kqK/20U6o2YpxJM02PbyWxPFsqa7lzw1uKA2wDrXKUXt4FMMgL3/7FFXhEZn91Qqh -ngLjYl/rNUssuHLoPj1PrCy7Lobio3aP5ZMqz6WryFyNSwb/EkaseMsUBzXgqd+L6a8VTxaJW732 -jcZZroiFDsGJ6x9nxUWO/203Nit4ZoORUSs9/1F3dmKh7Gc+PoGD4FapUB8fepmrY7+EF3fxDTvf -95xhszWYijqy7DwaNz9+j5LP2RIUZNoQAhVB/0/E6xyjyfqZ90bp4RjZsbgyLcsUDFDYg2WD7rlc -z8sFWkz6GZdr1l0T08JcVLwyc6B49fFtHsufpaafItzRUZ6CeWRgKRM+o/1Pcmqr4tTluCRVLERL -iohEnMqE0yo7AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1Ud -DgQWBBSCIS1mxteg4BXrzkwJd8RgnlRuAzANBgkqhkiG9w0BAQsFAAOCAgEAYN4auOfyYILVAzOB -ywaK8SJJ6ejqkX/GM15oGQOGO0MBzwdw5AgeZYWR5hEit/UCI46uuR59H35s5r0l1ZUa8gWmr4UC -b6741jH/JclKyMeKqdmfS0mbEVeZkkMR3rYzpMzXjWR91M08KCy0mpbqTfXERMQlqiCA2ClV9+BB -/AYm/7k29UMUA2Z44RGx2iBfRgB4ACGlHgAoYXhvqAEBj500mv/0OJD7uNGzcgbJceaBxXntC6Z5 -8hMLnPddDnskk7RI24Zf3lCGeOdA5jGokHZwYa+cNywRtYK3qq4kNFtyDGkNzVmf9nGvnAvRCjj5 -BiKDUyUM/FHE5r7iOZULJK2v0ZXkltd0ZGtxTgI8qoXzIKNDOXZbbFD+mpwUHmUUihW9o4JFWklW -atKcsWMy5WHgUyIOpwpJ6st+H6jiYoD2EEVSmAYY3qXNL3+q1Ok+CHLsIwMCPKaq2LxndD0UF/tU -Sxfj03k9bWtJySgOLnRQvwzZRjoQhsmnP+mg7H/rpXdYaXHmgwo38oZJar55CJD2AhZkPuXaTH4M -NMn5X7azKFGnpyuqSfqNZSlO42sTp5SjLVFteAxEy9/eCG/Oo2Sr05WE1LlSVHJ7liXMvGnjSG4N -0MedJ5qq+BOS3R7fY581qRY27Iy4g/Q9iY/NtBde17MXQRBdJ3NghVdJIgc= ------END CERTIFICATE----- - -NAVER Global Root Certification Authority -========================================= ------BEGIN CERTIFICATE----- -MIIFojCCA4qgAwIBAgIUAZQwHqIL3fXFMyqxQ0Rx+NZQTQ0wDQYJKoZIhvcNAQEMBQAwaTELMAkG -A1UEBhMCS1IxJjAkBgNVBAoMHU5BVkVSIEJVU0lORVNTIFBMQVRGT1JNIENvcnAuMTIwMAYDVQQD -DClOQVZFUiBHbG9iYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MTgwODU4 -NDJaFw0zNzA4MTgyMzU5NTlaMGkxCzAJBgNVBAYTAktSMSYwJAYDVQQKDB1OQVZFUiBCVVNJTkVT -UyBQTEFURk9STSBDb3JwLjEyMDAGA1UEAwwpTkFWRVIgR2xvYmFsIFJvb3QgQ2VydGlmaWNhdGlv -biBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC21PGTXLVAiQqrDZBb -UGOukJR0F0Vy1ntlWilLp1agS7gvQnXp2XskWjFlqxcX0TM62RHcQDaH38dq6SZeWYp34+hInDEW -+j6RscrJo+KfziFTowI2MMtSAuXaMl3Dxeb57hHHi8lEHoSTGEq0n+USZGnQJoViAbbJAh2+g1G7 -XNr4rRVqmfeSVPc0W+m/6imBEtRTkZazkVrd/pBzKPswRrXKCAfHcXLJZtM0l/aM9BhK4dA9WkW2 -aacp+yPOiNgSnABIqKYPszuSjXEOdMWLyEz59JuOuDxp7W87UC9Y7cSw0BwbagzivESq2M0UXZR4 -Yb8ObtoqvC8MC3GmsxY/nOb5zJ9TNeIDoKAYv7vxvvTWjIcNQvcGufFt7QSUqP620wbGQGHfnZ3z -VHbOUzoBppJB7ASjjw2i1QnK1sua8e9DXcCrpUHPXFNwcMmIpi3Ua2FzUCaGYQ5fG8Ir4ozVu53B -A0K6lNpfqbDKzE0K70dpAy8i+/Eozr9dUGWokG2zdLAIx6yo0es+nPxdGoMuK8u180SdOqcXYZai -cdNwlhVNt0xz7hlcxVs+Qf6sdWA7G2POAN3aCJBitOUt7kinaxeZVL6HSuOpXgRM6xBtVNbv8ejy -YhbLgGvtPe31HzClrkvJE+2KAQHJuFFYwGY6sWZLxNUxAmLpdIQM201GLQIDAQABo0IwQDAdBgNV -HQ4EFgQU0p+I36HNLL3s9TsBAZMzJ7LrYEswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMB -Af8wDQYJKoZIhvcNAQEMBQADggIBADLKgLOdPVQG3dLSLvCkASELZ0jKbY7gyKoNqo0hV4/GPnrK -21HUUrPUloSlWGB/5QuOH/XcChWB5Tu2tyIvCZwTFrFsDDUIbatjcu3cvuzHV+YwIHHW1xDBE1UB -jCpD5EHxzzp6U5LOogMFDTjfArsQLtk70pt6wKGm+LUx5vR1yblTmXVHIloUFcd4G7ad6Qz4G3bx -hYTeodoS76TiEJd6eN4MUZeoIUCLhr0N8F5OSza7OyAfikJW4Qsav3vQIkMsRIz75Sq0bBwcupTg -E34h5prCy8VCZLQelHsIJchxzIdFV4XTnyliIoNRlwAYl3dqmJLJfGBs32x9SuRwTMKeuB330DTH -D8z7p/8Dvq1wkNoL3chtl1+afwkyQf3NosxabUzyqkn+Zvjp2DXrDige7kgvOtB5CTh8piKCk5XQ -A76+AqAF3SAi428diDRgxuYKuQl1C/AH6GmWNcf7I4GOODm4RStDeKLRLBT/DShycpWbXgnbiUSY -qqFJu3FS8r/2/yehNq+4tneI3TqkbZs0kNwUXTC/t+sX5Ie3cdCh13cV1ELX8vMxmV2b3RZtP+oG -I/hGoiLtk/bdmuYqh7GYVPEi92tF4+KOdh2ajcQGjTa3FPOdVGm3jjzVpG2Tgbet9r1ke8LJaDmg -kpzNNIaRkPpkUZ3+/uul9XXeifdy ------END CERTIFICATE----- - -AC RAIZ FNMT-RCM SERVIDORES SEGUROS -=================================== ------BEGIN CERTIFICATE----- -MIICbjCCAfOgAwIBAgIQYvYybOXE42hcG2LdnC6dlTAKBggqhkjOPQQDAzB4MQswCQYDVQQGEwJF -UzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgwFgYDVQRhDA9WQVRFUy1RMjgy -NjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1SQ00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4 -MTIyMDA5MzczM1oXDTQzMTIyMDA5MzczM1oweDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQt -UkNNMQ4wDAYDVQQLDAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSwwKgYDVQQDDCNB -QyBSQUlaIEZOTVQtUkNNIFNFUlZJRE9SRVMgU0VHVVJPUzB2MBAGByqGSM49AgEGBSuBBAAiA2IA -BPa6V1PIyqvfNkpSIeSX0oNnnvBlUdBeh8dHsVnyV0ebAAKTRBdp20LHsbI6GA60XYyzZl2hNPk2 -LEnb80b8s0RpRBNm/dfF/a82Tc4DTQdxz69qBdKiQ1oKUm8BA06Oi6NCMEAwDwYDVR0TAQH/BAUw -AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFAG5L++/EYZg8k/QQW6rcx/n0m5JMAoGCCqG -SM49BAMDA2kAMGYCMQCuSuMrQMN0EfKVrRYj3k4MGuZdpSRea0R7/DjiT8ucRRcRTBQnJlU5dUoD -zBOQn5ICMQD6SmxgiHPz7riYYqnOK8LZiqZwMR2vsJRM60/G49HzYqc8/5MuB1xJAWdpEgJyv+c= ------END CERTIFICATE----- - -GlobalSign Root R46 -=================== ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgISEdK7udcjGJ5AXwqdLdDfJWfRMA0GCSqGSIb3DQEBDAUAMEYxCzAJBgNV -BAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQDExNHbG9iYWxTaWduIFJv -b3QgUjQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAX -BgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBSNDYwggIi -MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCsrHQy6LNl5brtQyYdpokNRbopiLKkHWPd08Es -CVeJOaFV6Wc0dwxu5FUdUiXSE2te4R2pt32JMl8Nnp8semNgQB+msLZ4j5lUlghYruQGvGIFAha/ -r6gjA7aUD7xubMLL1aa7DOn2wQL7Id5m3RerdELv8HQvJfTqa1VbkNud316HCkD7rRlr+/fKYIje -2sGP1q7Vf9Q8g+7XFkyDRTNrJ9CG0Bwta/OrffGFqfUo0q3v84RLHIf8E6M6cqJaESvWJ3En7YEt -bWaBkoe0G1h6zD8K+kZPTXhc+CtI4wSEy132tGqzZfxCnlEmIyDLPRT5ge1lFgBPGmSXZgjPjHvj -K8Cd+RTyG/FWaha/LIWFzXg4mutCagI0GIMXTpRW+LaCtfOW3T3zvn8gdz57GSNrLNRyc0NXfeD4 -12lPFzYE+cCQYDdF3uYM2HSNrpyibXRdQr4G9dlkbgIQrImwTDsHTUB+JMWKmIJ5jqSngiCNI/on -ccnfxkF0oE32kRbcRoxfKWMxWXEM2G/CtjJ9++ZdU6Z+Ffy7dXxd7Pj2Fxzsx2sZy/N78CsHpdls -eVR2bJ0cpm4O6XkMqCNqo98bMDGfsVR7/mrLZqrcZdCinkqaByFrgY/bxFn63iLABJzjqls2k+g9 -vXqhnQt2sQvHnf3PmKgGwvgqo6GDoLclcqUC4wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYD -VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA1yrc4GHqMywptWU4jaWSf8FmSwwDQYJKoZIhvcNAQEM -BQADggIBAHx47PYCLLtbfpIrXTncvtgdokIzTfnvpCo7RGkerNlFo048p9gkUbJUHJNOxO97k4Vg -JuoJSOD1u8fpaNK7ajFxzHmuEajwmf3lH7wvqMxX63bEIaZHU1VNaL8FpO7XJqti2kM3S+LGteWy -gxk6x9PbTZ4IevPuzz5i+6zoYMzRx6Fcg0XERczzF2sUyQQCPtIkpnnpHs6i58FZFZ8d4kuaPp92 -CC1r2LpXFNqD6v6MVenQTqnMdzGxRBF6XLE+0xRFFRhiJBPSy03OXIPBNvIQtQ6IbbjhVp+J3pZm -OUdkLG5NrmJ7v2B0GbhWrJKsFjLtrWhV/pi60zTe9Mlhww6G9kuEYO4Ne7UyWHmRVSyBQ7N0H3qq -JZ4d16GLuc1CLgSkZoNNiTW2bKg2SnkheCLQQrzRQDGQob4Ez8pn7fXwgNNgyYMqIgXQBztSvwye -qiv5u+YfjyW6hY0XHgL+XVAEV8/+LbzvXMAaq7afJMbfc2hIkCwU9D9SGuTSyxTDYWnP4vkYxboz -nxSjBF25cfe1lNj2M8FawTSLfJvdkzrnE6JwYZ+vj+vYxXX4M2bUdGc6N3ec592kD3ZDZopD8p/7 -DEJ4Y9HiD2971KE9dJeFt0g5QdYg/NA6s/rob8SKunE3vouXsXgxT7PntgMTzlSdriVZzH81Xwj3 -QEUxeCp6 ------END CERTIFICATE----- - -GlobalSign Root E46 -=================== ------BEGIN CERTIFICATE----- -MIICCzCCAZGgAwIBAgISEdK7ujNu1LzmJGjFDYQdmOhDMAoGCCqGSM49BAMDMEYxCzAJBgNVBAYT -AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQDExNHbG9iYWxTaWduIFJvb3Qg -RTQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNV -BAoTEEdsb2JhbFNpZ24gbnYtc2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBFNDYwdjAQBgcq -hkjOPQIBBgUrgQQAIgNiAAScDrHPt+ieUnd1NPqlRqetMhkytAepJ8qUuwzSChDH2omwlwxwEwkB -jtjqR+q+soArzfwoDdusvKSGN+1wCAB16pMLey5SnCNoIwZD7JIvU4Tb+0cUB+hflGddyXqBPCCj -QjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQxCpCPtsad0kRL -gLWi5h+xEk8blTAKBggqhkjOPQQDAwNoADBlAjEA31SQ7Zvvi5QCkxeCmb6zniz2C5GMn0oUsfZk -vLtoURMMA/cVi4RguYv/Uo7njLwcAjA8+RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+ -CAezNIm8BZ/3Hobui3A= ------END CERTIFICATE----- - -ANF Secure Server Root CA -========================= ------BEGIN CERTIFICATE----- -MIIF7zCCA9egAwIBAgIIDdPjvGz5a7EwDQYJKoZIhvcNAQELBQAwgYQxEjAQBgNVBAUTCUc2MzI4 -NzUxMDELMAkGA1UEBhMCRVMxJzAlBgNVBAoTHkFORiBBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lv -bjEUMBIGA1UECxMLQU5GIENBIFJhaXoxIjAgBgNVBAMTGUFORiBTZWN1cmUgU2VydmVyIFJvb3Qg -Q0EwHhcNMTkwOTA0MTAwMDM4WhcNMzkwODMwMTAwMDM4WjCBhDESMBAGA1UEBRMJRzYzMjg3NTEw -MQswCQYDVQQGEwJFUzEnMCUGA1UEChMeQU5GIEF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uMRQw -EgYDVQQLEwtBTkYgQ0EgUmFpejEiMCAGA1UEAxMZQU5GIFNlY3VyZSBTZXJ2ZXIgUm9vdCBDQTCC -AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANvrayvmZFSVgpCjcqQZAZ2cC4Ffc0m6p6zz -BE57lgvsEeBbphzOG9INgxwruJ4dfkUyYA8H6XdYfp9qyGFOtibBTI3/TO80sh9l2Ll49a2pcbnv -T1gdpd50IJeh7WhM3pIXS7yr/2WanvtH2Vdy8wmhrnZEE26cLUQ5vPnHO6RYPUG9tMJJo8gN0pcv -B2VSAKduyK9o7PQUlrZXH1bDOZ8rbeTzPvY1ZNoMHKGESy9LS+IsJJ1tk0DrtSOOMspvRdOoiXse -zx76W0OLzc2oD2rKDF65nkeP8Nm2CgtYZRczuSPkdxl9y0oukntPLxB3sY0vaJxizOBQ+OyRp1RM -VwnVdmPF6GUe7m1qzwmd+nxPrWAI/VaZDxUse6mAq4xhj0oHdkLePfTdsiQzW7i1o0TJrH93PB0j -7IKppuLIBkwC/qxcmZkLLxCKpvR/1Yd0DVlJRfbwcVw5Kda/SiOL9V8BY9KHcyi1Swr1+KuCLH5z -JTIdC2MKF4EA/7Z2Xue0sUDKIbvVgFHlSFJnLNJhiQcND85Cd8BEc5xEUKDbEAotlRyBr+Qc5RQe -8TZBAQIvfXOn3kLMTOmJDVb3n5HUA8ZsyY/b2BzgQJhdZpmYgG4t/wHFzstGH6wCxkPmrqKEPMVO -Hj1tyRRM4y5Bu8o5vzY8KhmqQYdOpc5LMnndkEl/AgMBAAGjYzBhMB8GA1UdIwQYMBaAFJxf0Gxj -o1+TypOYCK2Mh6UsXME3MB0GA1UdDgQWBBScX9BsY6Nfk8qTmAitjIelLFzBNzAOBgNVHQ8BAf8E -BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEATh65isagmD9uw2nAalxJ -UqzLK114OMHVVISfk/CHGT0sZonrDUL8zPB1hT+L9IBdeeUXZ701guLyPI59WzbLWoAAKfLOKyzx -j6ptBZNscsdW699QIyjlRRA96Gejrw5VD5AJYu9LWaL2U/HANeQvwSS9eS9OICI7/RogsKQOLHDt -dD+4E5UGUcjohybKpFtqFiGS3XNgnhAY3jyB6ugYw3yJ8otQPr0R4hUDqDZ9MwFsSBXXiJCZBMXM -5gf0vPSQ7RPi6ovDj6MzD8EpTBNO2hVWcXNyglD2mjN8orGoGjR0ZVzO0eurU+AagNjqOknkJjCb -5RyKqKkVMoaZkgoQI1YS4PbOTOK7vtuNknMBZi9iPrJyJ0U27U1W45eZ/zo1PqVUSlJZS2Db7v54 -EX9K3BR5YLZrZAPbFYPhor72I5dQ8AkzNqdxliXzuUJ92zg/LFis6ELhDtjTO0wugumDLmsx2d1H -hk9tl5EuT+IocTUW0fJz/iUrB0ckYyfI+PbZa/wSMVYIwFNCr5zQM378BvAxRAMU8Vjq8moNqRGy -g77FGr8H6lnco4g175x2MjxNBiLOFeXdntiP2t7SxDnlF4HPOEfrf4htWRvfn0IUrn7PqLBmZdo3 -r5+qPeoott7VMVgWglvquxl1AnMaykgaIZOQCo6ThKd9OyMYkomgjaw= ------END CERTIFICATE----- - -Certum EC-384 CA -================ ------BEGIN CERTIFICATE----- -MIICZTCCAeugAwIBAgIQeI8nXIESUiClBNAt3bpz9DAKBggqhkjOPQQDAzB0MQswCQYDVQQGEwJQ -TDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2Vy -dGlmaWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwHhcNMTgwMzI2 -MDcyNDU0WhcNNDMwMzI2MDcyNDU0WjB0MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERh -dGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkx -GTAXBgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATEKI6rGFtq -vm5kN2PkzeyrOvfMobgOgknXhimfoZTy42B4mIF4Bk3y7JoOV2CDn7TmFy8as10CW4kjPMIRBSqn -iBMY81CE1700LCeJVf/OTOffph8oxPBUw7l8t1Ot68KjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD -VR0OBBYEFI0GZnQkdjrzife81r1HfS+8EF9LMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNo -ADBlAjADVS2m5hjEfO/JUG7BJw+ch69u1RsIGL2SKcHvlJF40jocVYli5RsJHrpka/F2tNQCMQC0 -QoSZ/6vnnvuRlydd3LBbMHHOXjgaatkl5+r3YZJW+OraNsKHZZYuciUvf9/DE8k= ------END CERTIFICATE----- - -Certum Trusted Root CA -====================== ------BEGIN CERTIFICATE----- -MIIFwDCCA6igAwIBAgIQHr9ZULjJgDdMBvfrVU+17TANBgkqhkiG9w0BAQ0FADB6MQswCQYDVQQG -EwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0g -Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkxHzAdBgNVBAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0Ew -HhcNMTgwMzE2MTIxMDEzWhcNNDMwMzE2MTIxMDEzWjB6MQswCQYDVQQGEwJQTDEhMB8GA1UEChMY -QXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBB -dXRob3JpdHkxHzAdBgNVBAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEB -AQUAA4ICDwAwggIKAoICAQDRLY67tzbqbTeRn06TpwXkKQMlzhyC93yZn0EGze2jusDbCSzBfN8p -fktlL5On1AFrAygYo9idBcEq2EXxkd7fO9CAAozPOA/qp1x4EaTByIVcJdPTsuclzxFUl6s1wB52 -HO8AU5853BSlLCIls3Jy/I2z5T4IHhQqNwuIPMqw9MjCoa68wb4pZ1Xi/K1ZXP69VyywkI3C7Te2 -fJmItdUDmj0VDT06qKhF8JVOJVkdzZhpu9PMMsmN74H+rX2Ju7pgE8pllWeg8xn2A1bUatMn4qGt -g/BKEiJ3HAVz4hlxQsDsdUaakFjgao4rpUYwBI4Zshfjvqm6f1bxJAPXsiEodg42MEx51UGamqi4 -NboMOvJEGyCI98Ul1z3G4z5D3Yf+xOr1Uz5MZf87Sst4WmsXXw3Hw09Omiqi7VdNIuJGmj8PkTQk -fVXjjJU30xrwCSss0smNtA0Aq2cpKNgB9RkEth2+dv5yXMSFytKAQd8FqKPVhJBPC/PgP5sZ0jeJ -P/J7UhyM9uH3PAeXjA6iWYEMspA90+NZRu0PqafegGtaqge2Gcu8V/OXIXoMsSt0Puvap2ctTMSY -njYJdmZm/Bo/6khUHL4wvYBQv3y1zgD2DGHZ5yQD4OMBgQ692IU0iL2yNqh7XAjlRICMb/gv1SHK -HRzQ+8S1h9E6Tsd2tTVItQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSM+xx1 -vALTn04uSNn5YFSqxLNP+jAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQENBQADggIBAEii1QAL -LtA/vBzVtVRJHlpr9OTy4EA34MwUe7nJ+jW1dReTagVphZzNTxl4WxmB82M+w85bj/UvXgF2Ez8s -ALnNllI5SW0ETsXpD4YN4fqzX4IS8TrOZgYkNCvozMrnadyHncI013nR03e4qllY/p0m+jiGPp2K -h2RX5Rc64vmNueMzeMGQ2Ljdt4NR5MTMI9UGfOZR0800McD2RrsLrfw9EAUqO0qRJe6M1ISHgCq8 -CYyqOhNf6DR5UMEQGfnTKB7U0VEwKbOukGfWHwpjscWpxkIxYxeU72nLL/qMFH3EQxiJ2fAyQOaA -4kZf5ePBAFmo+eggvIksDkc0C+pXwlM2/KfUrzHN/gLldfq5Jwn58/U7yn2fqSLLiMmq0Uc9Nneo -WWRrJ8/vJ8HjJLWG965+Mk2weWjROeiQWMODvA8s1pfrzgzhIMfatz7DP78v3DSk+yshzWePS/Tj -6tQ/50+6uaWTRRxmHyH6ZF5v4HaUMst19W7l9o/HuKTMqJZ9ZPskWkoDbGs4xugDQ5r3V7mzKWmT -OPQD8rv7gmsHINFSH5pkAnuYZttcTVoP0ISVoDwUQwbKytu4QTbaakRnh6+v40URFWkIsr4WOZck -bxJF0WddCajJFdr60qZfE2Efv4WstK2tBZQIgx51F9NxO5NQI1mg7TyRVJ12AMXDuDjb ------END CERTIFICATE----- - -TunTrust Root CA -================ ------BEGIN CERTIFICATE----- -MIIFszCCA5ugAwIBAgIUEwLV4kBMkkaGFmddtLu7sms+/BMwDQYJKoZIhvcNAQELBQAwYTELMAkG -A1UEBhMCVE4xNzA1BgNVBAoMLkFnZW5jZSBOYXRpb25hbGUgZGUgQ2VydGlmaWNhdGlvbiBFbGVj -dHJvbmlxdWUxGTAXBgNVBAMMEFR1blRydXN0IFJvb3QgQ0EwHhcNMTkwNDI2MDg1NzU2WhcNNDQw -NDI2MDg1NzU2WjBhMQswCQYDVQQGEwJUTjE3MDUGA1UECgwuQWdlbmNlIE5hdGlvbmFsZSBkZSBD -ZXJ0aWZpY2F0aW9uIEVsZWN0cm9uaXF1ZTEZMBcGA1UEAwwQVHVuVHJ1c3QgUm9vdCBDQTCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMPN0/y9BFPdDCA61YguBUtB9YOCfvdZn56eY+hz -2vYGqU8ftPkLHzmMmiDQfgbU7DTZhrx1W4eI8NLZ1KMKsmwb60ksPqxd2JQDoOw05TDENX37Jk0b -bjBU2PWARZw5rZzJJQRNmpA+TkBuimvNKWfGzC3gdOgFVwpIUPp6Q9p+7FuaDmJ2/uqdHYVy7BG7 -NegfJ7/Boce7SBbdVtfMTqDhuazb1YMZGoXRlJfXyqNlC/M4+QKu3fZnz8k/9YosRxqZbwUN/dAd -gjH8KcwAWJeRTIAAHDOFli/LQcKLEITDCSSJH7UP2dl3RxiSlGBcx5kDPP73lad9UKGAwqmDrViW -VSHbhlnUr8a83YFuB9tgYv7sEG7aaAH0gxupPqJbI9dkxt/con3YS7qC0lH4Zr8GRuR5KiY2eY8f -Tpkdso8MDhz/yV3A/ZAQprE38806JG60hZC/gLkMjNWb1sjxVj8agIl6qeIbMlEsPvLfe/ZdeikZ -juXIvTZxi11Mwh0/rViizz1wTaZQmCXcI/m4WEEIcb9PuISgjwBUFfyRbVinljvrS5YnzWuioYas -DXxU5mZMZl+QviGaAkYt5IPCgLnPSz7ofzwB7I9ezX/SKEIBlYrilz0QIX32nRzFNKHsLA4KUiwS -VXAkPcvCFDVDXSdOvsC9qnyW5/yeYa1E0wCXAgMBAAGjYzBhMB0GA1UdDgQWBBQGmpsfU33x9aTI -04Y+oXNZtPdEITAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFAaamx9TffH1pMjThj6hc1m0 -90QhMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAqgVutt0Vyb+zxiD2BkewhpMl -0425yAA/l/VSJ4hxyXT968pk21vvHl26v9Hr7lxpuhbI87mP0zYuQEkHDVneixCwSQXi/5E/S7fd -Ao74gShczNxtr18UnH1YeA32gAm56Q6XKRm4t+v4FstVEuTGfbvE7Pi1HE4+Z7/FXxttbUcoqgRY -YdZ2vyJ/0Adqp2RT8JeNnYA/u8EH22Wv5psymsNUk8QcCMNE+3tjEUPRahphanltkE8pjkcFwRJp -adbGNjHh/PqAulxPxOu3Mqz4dWEX1xAZufHSCe96Qp1bWgvUxpVOKs7/B9dPfhgGiPEZtdmYu65x -xBzndFlY7wyJz4sfdZMaBBSSSFCp61cpABbjNhzI+L/wM9VBD8TMPN3pM0MBkRArHtG5Xc0yGYuP -jCB31yLEQtyEFpslbei0VXF/sHyz03FJuc9SpAQ/3D2gu68zngowYI7bnV2UqL1g52KAdoGDDIzM -MEZJ4gzSqK/rYXHv5yJiqfdcZGyfFoxnNidF9Ql7v/YQCvGwjVRDjAS6oz/v4jXH+XTgbzRB0L9z -ZVcg+ZtnemZoJE6AZb0QmQZZ8mWvuMZHu/2QeItBcy6vVR/cO5JyboTT0GFMDcx2V+IthSIVNg3r -AZ3r2OvEhJn7wAzMMujjd9qDRIueVSjAi1jTkD5OGwDxFa2DK5o= ------END CERTIFICATE----- - -HARICA TLS RSA Root CA 2021 -=========================== ------BEGIN CERTIFICATE----- -MIIFpDCCA4ygAwIBAgIQOcqTHO9D88aOk8f0ZIk4fjANBgkqhkiG9w0BAQsFADBsMQswCQYDVQQG -EwJHUjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9u -cyBDQTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBSU0EgUm9vdCBDQSAyMDIxMB4XDTIxMDIxOTEwNTUz -OFoXDTQ1MDIxMzEwNTUzN1owbDELMAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRl -bWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgUlNB -IFJvb3QgQ0EgMjAyMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAIvC569lmwVnlskN -JLnQDmT8zuIkGCyEf3dRywQRNrhe7Wlxp57kJQmXZ8FHws+RFjZiPTgE4VGC/6zStGndLuwRo0Xu -a2s7TL+MjaQenRG56Tj5eg4MmOIjHdFOY9TnuEFE+2uva9of08WRiFukiZLRgeaMOVig1mlDqa2Y -Ulhu2wr7a89o+uOkXjpFc5gH6l8Cct4MpbOfrqkdtx2z/IpZ525yZa31MJQjB/OCFks1mJxTuy/K -5FrZx40d/JiZ+yykgmvwKh+OC19xXFyuQnspiYHLA6OZyoieC0AJQTPb5lh6/a6ZcMBaD9YThnEv -dmn8kN3bLW7R8pv1GmuebxWMevBLKKAiOIAkbDakO/IwkfN4E8/BPzWr8R0RI7VDIp4BkrcYAuUR -0YLbFQDMYTfBKnya4dC6s1BG7oKsnTH4+yPiAwBIcKMJJnkVU2DzOFytOOqBAGMUuTNe3QvboEUH -GjMJ+E20pwKmafTCWQWIZYVWrkvL4N48fS0ayOn7H6NhStYqE613TBoYm5EPWNgGVMWX+Ko/IIqm -haZ39qb8HOLubpQzKoNQhArlT4b4UEV4AIHrW2jjJo3Me1xR9BQsQL4aYB16cmEdH2MtiKrOokWQ -CPxrvrNQKlr9qEgYRtaQQJKQCoReaDH46+0N0x3GfZkYVVYnZS6NRcUk7M7jAgMBAAGjQjBAMA8G -A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFApII6ZgpJIKM+qTW8VX6iVNvRLuMA4GA1UdDwEB/wQE -AwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAPpBIqm5iFSVmewzVjIuJndftTgfvnNAUX15QvWiWkKQU -EapobQk1OUAJ2vQJLDSle1mESSmXdMgHHkdt8s4cUCbjnj1AUz/3f5Z2EMVGpdAgS1D0NTsY9FVq -QRtHBmg8uwkIYtlfVUKqrFOFrJVWNlar5AWMxajaH6NpvVMPxP/cyuN+8kyIhkdGGvMA9YCRotxD -QpSbIPDRzbLrLFPCU3hKTwSUQZqPJzLB5UkZv/HywouoCjkxKLR9YjYsTewfM7Z+d21+UPCfDtcR -j88YxeMn/ibvBZ3PzzfF0HvaO7AWhAw6k9a+F9sPPg4ZeAnHqQJyIkv3N3a6dcSFA1pj1bF1BcK5 -vZStjBWZp5N99sXzqnTPBIWUmAD04vnKJGW/4GKvyMX6ssmeVkjaef2WdhW+o45WxLM0/L5H9MG0 -qPzVMIho7suuyWPEdr6sOBjhXlzPrjoiUevRi7PzKzMHVIf6tLITe7pTBGIBnfHAT+7hOtSLIBD6 -Alfm78ELt5BGnBkpjNxvoEppaZS3JGWg/6w/zgH7IS79aPib8qXPMThcFarmlwDB31qlpzmq6YR/ -PFGoOtmUW4y/Twhx5duoXNTSpv4Ao8YWxw/ogM4cKGR0GQjTQuPOAF1/sdwTsOEFy9EgqoZ0njnn -kf3/W9b3raYvAwtt41dU63ZTGI0RmLo= ------END CERTIFICATE----- - -HARICA TLS ECC Root CA 2021 -=========================== ------BEGIN CERTIFICATE----- -MIICVDCCAdugAwIBAgIQZ3SdjXfYO2rbIvT/WeK/zjAKBggqhkjOPQQDAzBsMQswCQYDVQQGEwJH -UjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBD -QTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBFQ0MgUm9vdCBDQSAyMDIxMB4XDTIxMDIxOTExMDExMFoX -DTQ1MDIxMzExMDEwOVowbDELMAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRlbWlj -IGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgRUNDIFJv -b3QgQ0EgMjAyMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABDgI/rGgltJ6rK9JOtDA4MM7KKrxcm1l -AEeIhPyaJmuqS7psBAqIXhfyVYf8MLA04jRYVxqEU+kw2anylnTDUR9YSTHMmE5gEYd103KUkE+b -ECUqqHgtvpBBWJAVcqeht6NCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUyRtTgRL+BNUW -0aq8mm+3oJUZbsowDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMDA2cAMGQCMBHervjcToiwqfAi -rcJRQO9gcS3ujwLEXQNwSaSS6sUUiHCm0w2wqsosQJz76YJumgIwK0eaB8bRwoF8yguWGEEbo/Qw -CZ61IygNnxS2PFOiTAZpffpskcYqSUXm7LcT4Tps ------END CERTIFICATE----- - -Autoridad de Certificacion Firmaprofesional CIF A62634068 -========================================================= ------BEGIN CERTIFICATE----- -MIIGFDCCA/ygAwIBAgIIG3Dp0v+ubHEwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCRVMxQjBA -BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2 -MjYzNDA2ODAeFw0xNDA5MjMxNTIyMDdaFw0zNjA1MDUxNTIyMDdaMFExCzAJBgNVBAYTAkVTMUIw -QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB -NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD -Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P -B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY -7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH -ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI -plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX -MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX -LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/TKI8xWVvTyQKmtFLK -bpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF6NkBiDkal4ZkQdU7hwxu+g/GvUgU -vzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVhOSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMB0GA1Ud -DgQWBBRlzeurNR4APn7VdMActHNHDhpkLzASBgNVHRMBAf8ECDAGAQH/AgEBMIGmBgNVHSAEgZ4w -gZswgZgGBFUdIAAwgY8wLwYIKwYBBQUHAgEWI2h0dHA6Ly93d3cuZmlybWFwcm9mZXNpb25hbC5j -b20vY3BzMFwGCCsGAQUFBwICMFAeTgBQAGEAcwBlAG8AIABkAGUAIABsAGEAIABCAG8AbgBhAG4A -bwB2AGEAIAA0ADcAIABCAGEAcgBjAGUAbABvAG4AYQAgADAAOAAwADEANzAOBgNVHQ8BAf8EBAMC -AQYwDQYJKoZIhvcNAQELBQADggIBAHSHKAIrdx9miWTtj3QuRhy7qPj4Cx2Dtjqn6EWKB7fgPiDL -4QjbEwj4KKE1soCzC1HA01aajTNFSa9J8OA9B3pFE1r/yJfY0xgsfZb43aJlQ3CTkBW6kN/oGbDb -LIpgD7dvlAceHabJhfa9NPhAeGIQcDq+fUs5gakQ1JZBu/hfHAsdCPKxsIl68veg4MSPi3i1O1il -I45PVf42O+AMt8oqMEEgtIDNrvx2ZnOorm7hfNoD6JQg5iKj0B+QXSBTFCZX2lSX3xZEEAEeiGaP -cjiT3SC3NL7X8e5jjkd5KAb881lFJWAiMxujX6i6KtoaPc1A6ozuBRWV1aUsIC+nmCjuRfzxuIgA -LI9C2lHVnOUTaHFFQ4ueCyE8S1wF3BqfmI7avSKecs2tCsvMo2ebKHTEm9caPARYpoKdrcd7b/+A -lun4jWq9GJAd/0kakFI3ky88Al2CdgtR5xbHV/g4+afNmyJU72OwFW1TZQNKXkqgsqeOSQBZONXH -9IBk9W6VULgRfhVwOEqwf9DEMnDAGf/JOC0ULGb0QkTmVXYbgBVX/8Cnp6o5qtjTcNAuuuuUavpf -NIbnYrX9ivAwhZTJryQCL2/W3Wf+47BVTwSYT6RBVuKT0Gro1vP7ZeDOdcQxWQzugsgMYDNKGbqE -ZycPvEJdvSRUDewdcAZfpLz6IHxV ------END CERTIFICATE----- - -vTrus ECC Root CA -================= ------BEGIN CERTIFICATE----- -MIICDzCCAZWgAwIBAgIUbmq8WapTvpg5Z6LSa6Q75m0c1towCgYIKoZIzj0EAwMwRzELMAkGA1UE -BhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBS -b290IENBMB4XDTE4MDczMTA3MjY0NFoXDTQzMDczMTA3MjY0NFowRzELMAkGA1UEBhMCQ04xHDAa -BgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBSb290IENBMHYw -EAYHKoZIzj0CAQYFK4EEACIDYgAEZVBKrox5lkqqHAjDo6LN/llWQXf9JpRCux3NCNtzslt188+c -ToL0v/hhJoVs1oVbcnDS/dtitN9Ti72xRFhiQgnH+n9bEOf+QP3A2MMrMudwpremIFUde4BdS49n -TPEQo0IwQDAdBgNVHQ4EFgQUmDnNvtiyjPeyq+GtJK97fKHbH88wDwYDVR0TAQH/BAUwAwEB/zAO -BgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwMDaAAwZQIwV53dVvHH4+m4SVBrm2nDb+zDfSXkV5UT -QJtS0zvzQBm8JsctBp61ezaf9SXUY2sAAjEA6dPGnlaaKsyh2j/IZivTWJwghfqrkYpwcBE4YGQL -YgmRWAD5Tfs0aNoJrSEGGJTO ------END CERTIFICATE----- - -vTrus Root CA -============= ------BEGIN CERTIFICATE----- -MIIFVjCCAz6gAwIBAgIUQ+NxE9izWRRdt86M/TX9b7wFjUUwDQYJKoZIhvcNAQELBQAwQzELMAkG -A1UEBhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xFjAUBgNVBAMTDXZUcnVzIFJv -b3QgQ0EwHhcNMTgwNzMxMDcyNDA1WhcNNDMwNzMxMDcyNDA1WjBDMQswCQYDVQQGEwJDTjEcMBoG -A1UEChMTaVRydXNDaGluYSBDby4sTHRkLjEWMBQGA1UEAxMNdlRydXMgUm9vdCBDQTCCAiIwDQYJ -KoZIhvcNAQEBBQADggIPADCCAgoCggIBAL1VfGHTuB0EYgWgrmy3cLRB6ksDXhA/kFocizuwZots -SKYcIrrVQJLuM7IjWcmOvFjai57QGfIvWcaMY1q6n6MLsLOaXLoRuBLpDLvPbmyAhykUAyyNJJrI -ZIO1aqwTLDPxn9wsYTwaP3BVm60AUn/PBLn+NvqcwBauYv6WTEN+VRS+GrPSbcKvdmaVayqwlHeF -XgQPYh1jdfdr58tbmnDsPmcF8P4HCIDPKNsFxhQnL4Z98Cfe/+Z+M0jnCx5Y0ScrUw5XSmXX+6KA -YPxMvDVTAWqXcoKv8R1w6Jz1717CbMdHflqUhSZNO7rrTOiwCcJlwp2dCZtOtZcFrPUGoPc2BX70 -kLJrxLT5ZOrpGgrIDajtJ8nU57O5q4IikCc9Kuh8kO+8T/3iCiSn3mUkpF3qwHYw03dQ+A0Em5Q2 -AXPKBlim0zvc+gRGE1WKyURHuFE5Gi7oNOJ5y1lKCn+8pu8fA2dqWSslYpPZUxlmPCdiKYZNpGvu -/9ROutW04o5IWgAZCfEF2c6Rsffr6TlP9m8EQ5pV9T4FFL2/s1m02I4zhKOQUqqzApVg+QxMaPnu -1RcN+HFXtSXkKe5lXa/R7jwXC1pDxaWG6iSe4gUH3DRCEpHWOXSuTEGC2/KmSNGzm/MzqvOmwMVO -9fSddmPmAsYiS8GVP1BkLFTltvA8Kc9XAgMBAAGjQjBAMB0GA1UdDgQWBBRUYnBj8XWEQ1iO0RYg -scasGrz2iTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOC -AgEAKbqSSaet8PFww+SX8J+pJdVrnjT+5hpk9jprUrIQeBqfTNqK2uwcN1LgQkv7bHbKJAs5EhWd -nxEt/Hlk3ODg9d3gV8mlsnZwUKT+twpw1aA08XXXTUm6EdGz2OyC/+sOxL9kLX1jbhd47F18iMjr -jld22VkE+rxSH0Ws8HqA7Oxvdq6R2xCOBNyS36D25q5J08FsEhvMKar5CKXiNxTKsbhm7xqC5PD4 -8acWabfbqWE8n/Uxy+QARsIvdLGx14HuqCaVvIivTDUHKgLKeBRtRytAVunLKmChZwOgzoy8sHJn -xDHO2zTlJQNgJXtxmOTAGytfdELSS8VZCAeHvsXDf+eW2eHcKJfWjwXj9ZtOyh1QRwVTsMo554Wg -icEFOwE30z9J4nfrI8iIZjs9OXYhRvHsXyO466JmdXTBQPfYaJqT4i2pLr0cox7IdMakLXogqzu4 -sEb9b91fUlV1YvCXoHzXOP0l382gmxDPi7g4Xl7FtKYCNqEeXxzP4padKar9mK5S4fNBUvupLnKW -nyfjqnN9+BojZns7q2WwMgFLFT49ok8MKzWixtlnEjUwzXYuFrOZnk1PTi07NEPhmg4NpGaXutIc -SkwsKouLgU9xGqndXHt7CMUADTdA43x7VF8vhV929vensBxXVsFy6K2ir40zSbofitzmdHxghm+H -l3s= ------END CERTIFICATE----- - -ISRG Root X2 -============ ------BEGIN CERTIFICATE----- -MIICGzCCAaGgAwIBAgIQQdKd0XLq7qeAwSxs6S+HUjAKBggqhkjOPQQDAzBPMQswCQYDVQQGEwJV -UzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMTDElT -UkcgUm9vdCBYMjAeFw0yMDA5MDQwMDAwMDBaFw00MDA5MTcxNjAwMDBaME8xCzAJBgNVBAYTAlVT -MSkwJwYDVQQKEyBJbnRlcm5ldCBTZWN1cml0eSBSZXNlYXJjaCBHcm91cDEVMBMGA1UEAxMMSVNS -RyBSb290IFgyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEzZvVn4CDCuwJSvMWSj5cz3es3mcFDR0H -ttwW+1qLFNvicWDEukWVEYmO6gbf9yoWHKS5xcUy4APgHoIYOIvXRdgKam7mAHf7AlF9ItgKbppb -d9/w+kHsOdx1ymgHDB/qo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNV -HQ4EFgQUfEKWrt5LSDv6kviejM9ti6lyN5UwCgYIKoZIzj0EAwMDaAAwZQIwe3lORlCEwkSHRhtF -cP9Ymd70/aTSVaYgLXTWNLxBo1BfASdWtL4ndQavEi51mI38AjEAi/V3bNTIZargCyzuFJ0nN6T5 -U6VR5CmD1/iQMVtCnwr1/q4AaOeMSQ+2b1tbFfLn ------END CERTIFICATE----- - -HiPKI Root CA - G1 -================== ------BEGIN CERTIFICATE----- -MIIFajCCA1KgAwIBAgIQLd2szmKXlKFD6LDNdmpeYDANBgkqhkiG9w0BAQsFADBPMQswCQYDVQQG -EwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0ZC4xGzAZBgNVBAMMEkhpUEtJ -IFJvb3QgQ0EgLSBHMTAeFw0xOTAyMjIwOTQ2MDRaFw0zNzEyMzExNTU5NTlaME8xCzAJBgNVBAYT -AlRXMSMwIQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEbMBkGA1UEAwwSSGlQS0kg -Um9vdCBDQSAtIEcxMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA9B5/UnMyDHPkvRN0 -o9QwqNCuS9i233VHZvR85zkEHmpwINJaR3JnVfSl6J3VHiGh8Ge6zCFovkRTv4354twvVcg3Px+k -wJyz5HdcoEb+d/oaoDjq7Zpy3iu9lFc6uux55199QmQ5eiY29yTw1S+6lZgRZq2XNdZ1AYDgr/SE -YYwNHl98h5ZeQa/rh+r4XfEuiAU+TCK72h8q3VJGZDnzQs7ZngyzsHeXZJzA9KMuH5UHsBffMNsA -GJZMoYFL3QRtU6M9/Aes1MU3guvklQgZKILSQjqj2FPseYlgSGDIcpJQ3AOPgz+yQlda22rpEZfd -hSi8MEyr48KxRURHH+CKFgeW0iEPU8DtqX7UTuybCeyvQqww1r/REEXgphaypcXTT3OUM3ECoWqj -1jOXTyFjHluP2cFeRXF3D4FdXyGarYPM+l7WjSNfGz1BryB1ZlpK9p/7qxj3ccC2HTHsOyDry+K4 -9a6SsvfhhEvyovKTmiKe0xRvNlS9H15ZFblzqMF8b3ti6RZsR1pl8w4Rm0bZ/W3c1pzAtH2lsN0/ -Vm+h+fbkEkj9Bn8SV7apI09bA8PgcSojt/ewsTu8mL3WmKgMa/aOEmem8rJY5AIJEzypuxC00jBF -8ez3ABHfZfjcK0NVvxaXxA/VLGGEqnKG/uY6fsI/fe78LxQ+5oXdUG+3Se0CAwEAAaNCMEAwDwYD -VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ncX+l6o/vY9cdVouslGDDjYr7AwDgYDVR0PAQH/BAQD -AgGGMA0GCSqGSIb3DQEBCwUAA4ICAQBQUfB13HAE4/+qddRxosuej6ip0691x1TPOhwEmSKsxBHi -7zNKpiMdDg1H2DfHb680f0+BazVP6XKlMeJ45/dOlBhbQH3PayFUhuaVevvGyuqcSE5XCV0vrPSl -tJczWNWseanMX/mF+lLFjfiRFOs6DRfQUsJ748JzjkZ4Bjgs6FzaZsT0pPBWGTMpWmWSBUdGSquE -wx4noR8RkpkndZMPvDY7l1ePJlsMu5wP1G4wB9TcXzZoZjmDlicmisjEOf6aIW/Vcobpf2Lll07Q -JNBAsNB1CI69aO4I1258EHBGG3zgiLKecoaZAeO/n0kZtCW+VmWuF2PlHt/o/0elv+EmBYTksMCv -5wiZqAxeJoBF1PhoL5aPruJKHJwWDBNvOIf2u8g0X5IDUXlwpt/L9ZlNec1OvFefQ05rLisY+Gpz -jLrFNe85akEez3GoorKGB1s6yeHvP2UEgEcyRHCVTjFnanRbEEV16rCf0OY1/k6fi8wrkkVbbiVg -hUbN0aqwdmaTd5a+g744tiROJgvM7XpWGuDpWsZkrUx6AEhEL7lAuxM+vhV4nYWBSipX3tUZQ9rb -yltHhoMLP7YNdnhzeSJesYAfz77RP1YQmCuVh6EfnWQUYDksswBVLuT1sw5XxJFBAJw/6KXf6vb/ -yPCtbVKoF6ubYfwSUTXkJf2vqmqGOQ== ------END CERTIFICATE----- - -GlobalSign ECC Root CA - R4 -=========================== ------BEGIN CERTIFICATE----- -MIIB3DCCAYOgAwIBAgINAgPlfvU/k/2lCSGypjAKBggqhkjOPQQDAjBQMSQwIgYDVQQLExtHbG9i -YWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds -b2JhbFNpZ24wHhcNMTIxMTEzMDAwMDAwWhcNMzgwMTE5MDMxNDA3WjBQMSQwIgYDVQQLExtHbG9i -YWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkds -b2JhbFNpZ24wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAS4xnnTj2wlDp8uORkcA6SumuU5BwkW -ymOxuYb4ilfBV85C+nOh92VC/x7BALJucw7/xyHlGKSq2XE/qNS5zowdo0IwQDAOBgNVHQ8BAf8E -BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUVLB7rUW44kB/+wpu+74zyTyjhNUwCgYI -KoZIzj0EAwIDRwAwRAIgIk90crlgr/HmnKAWBVBfw147bmF0774BxL4YSFlhgjICICadVGNA3jdg -UM/I2O2dgq43mLyjj0xMqTQrbO/7lZsm ------END CERTIFICATE----- - -GTS Root R1 -=========== ------BEGIN CERTIFICATE----- -MIIFVzCCAz+gAwIBAgINAgPlk28xsBNJiGuiFzANBgkqhkiG9w0BAQwFADBHMQswCQYDVQQGEwJV -UzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3Qg -UjEwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UE -ChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwggIiMA0G -CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2EQKLHuOhd5s73L+UPreVp0A8of2C+X0yBoJx9vaM -f/vo27xqLpeXo4xL+Sv2sfnOhB2x+cWX3u+58qPpvBKJXqeqUqv4IyfLpLGcY9vXmX7wCl7raKb0 -xlpHDU0QM+NOsROjyBhsS+z8CZDfnWQpJSMHobTSPS5g4M/SCYe7zUjwTcLCeoiKu7rPWRnWr4+w -B7CeMfGCwcDfLqZtbBkOtdh+JhpFAz2weaSUKK0PfyblqAj+lug8aJRT7oM6iCsVlgmy4HqMLnXW -nOunVmSPlk9orj2XwoSPwLxAwAtcvfaHszVsrBhQf4TgTM2S0yDpM7xSma8ytSmzJSq0SPly4cpk -9+aCEI3oncKKiPo4Zor8Y/kB+Xj9e1x3+naH+uzfsQ55lVe0vSbv1gHR6xYKu44LtcXFilWr06zq -kUspzBmkMiVOKvFlRNACzqrOSbTqn3yDsEB750Orp2yjj32JgfpMpf/VjsPOS+C12LOORc92wO1A -K/1TD7Cn1TsNsYqiA94xrcx36m97PtbfkSIS5r762DL8EGMUUXLeXdYWk70paDPvOmbsB4om3xPX -V2V4J95eSRQAogB/mqghtqmxlbCluQ0WEdrHbEg8QOB+DVrNVjzRlwW5y0vtOUucxD/SVRNuJLDW -cfr0wbrM7Rv1/oFB2ACYPTrIrnqYNxgFlQIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0T -AQH/BAUwAwEB/zAdBgNVHQ4EFgQU5K8rJnEaK0gnhS9SZizv8IkTcT4wDQYJKoZIhvcNAQEMBQAD -ggIBAJ+qQibbC5u+/x6Wki4+omVKapi6Ist9wTrYggoGxval3sBOh2Z5ofmmWJyq+bXmYOfg6LEe -QkEzCzc9zolwFcq1JKjPa7XSQCGYzyI0zzvFIoTgxQ6KfF2I5DUkzps+GlQebtuyh6f88/qBVRRi -ClmpIgUxPoLW7ttXNLwzldMXG+gnoot7TiYaelpkttGsN/H9oPM47HLwEXWdyzRSjeZ2axfG34ar -J45JK3VmgRAhpuo+9K4l/3wV3s6MJT/KYnAK9y8JZgfIPxz88NtFMN9iiMG1D53Dn0reWVlHxYci -NuaCp+0KueIHoI17eko8cdLiA6EfMgfdG+RCzgwARWGAtQsgWSl4vflVy2PFPEz0tv/bal8xa5me -LMFrUKTX5hgUvYU/Z6tGn6D/Qqc6f1zLXbBwHSs09dR2CQzreExZBfMzQsNhFRAbd03OIozUhfJF -fbdT6u9AWpQKXCBfTkBdYiJ23//OYb2MI3jSNwLgjt7RETeJ9r/tSQdirpLsQBqvFAnZ0E6yove+ -7u7Y/9waLd64NnHi/Hm3lCXRSHNboTXns5lndcEZOitHTtNCjv0xyBZm2tIMPNuzjsmhDYAPexZ3 -FL//2wmUspO8IFgV6dtxQ/PeEMMA3KgqlbbC1j+Qa3bbbP6MvPJwNQzcmRk13NfIRmPVNnGuV/u3 -gm3c ------END CERTIFICATE----- - -GTS Root R3 -=========== ------BEGIN CERTIFICATE----- -MIICCTCCAY6gAwIBAgINAgPluILrIPglJ209ZjAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEi -MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMw -HhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZ -R29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMwdjAQBgcqhkjO -PQIBBgUrgQQAIgNiAAQfTzOHMymKoYTey8chWEGJ6ladK0uFxh1MJ7x/JlFyb+Kf1qPKzEUURout -736GjOyxfi//qXGdGIRFBEFVbivqJn+7kAHjSxm65FSWRQmx1WyRRK2EE46ajA2ADDL24CejQjBA -MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTB8Sa6oC2uhYHP0/Eq -Er24Cmf9vDAKBggqhkjOPQQDAwNpADBmAjEA9uEglRR7VKOQFhG/hMjqb2sXnh5GmCCbn9MN2azT -L818+FsuVbu/3ZL3pAzcMeGiAjEA/JdmZuVDFhOD3cffL74UOO0BzrEXGhF16b0DjyZ+hOXJYKaV -11RZt+cRLInUue4X ------END CERTIFICATE----- - -GTS Root R4 -=========== ------BEGIN CERTIFICATE----- -MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEi -MCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQw -HhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZ -R29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjO -PQIBBgUrgQQAIgNiAATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzu -hXyiQHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvRHYqjQjBA -MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSATNbrdP9JNqPV2Py1 -PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/C -r8deVl5c1RxYIigL9zC2L7F8AjEA8GE8p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh -4rsUecrNIdSUtUlD ------END CERTIFICATE----- - -Telia Root CA v2 -================ ------BEGIN CERTIFICATE----- -MIIFdDCCA1ygAwIBAgIPAWdfJ9b+euPkrL4JWwWeMA0GCSqGSIb3DQEBCwUAMEQxCzAJBgNVBAYT -AkZJMRowGAYDVQQKDBFUZWxpYSBGaW5sYW5kIE95ajEZMBcGA1UEAwwQVGVsaWEgUm9vdCBDQSB2 -MjAeFw0xODExMjkxMTU1NTRaFw00MzExMjkxMTU1NTRaMEQxCzAJBgNVBAYTAkZJMRowGAYDVQQK -DBFUZWxpYSBGaW5sYW5kIE95ajEZMBcGA1UEAwwQVGVsaWEgUm9vdCBDQSB2MjCCAiIwDQYJKoZI -hvcNAQEBBQADggIPADCCAgoCggIBALLQPwe84nvQa5n44ndp586dpAO8gm2h/oFlH0wnrI4AuhZ7 -6zBqAMCzdGh+sq/H1WKzej9Qyow2RCRj0jbpDIX2Q3bVTKFgcmfiKDOlyzG4OiIjNLh9vVYiQJ3q -9HsDrWj8soFPmNB06o3lfc1jw6P23pLCWBnglrvFxKk9pXSW/q/5iaq9lRdU2HhE8Qx3FZLgmEKn -pNaqIJLNwaCzlrI6hEKNfdWV5Nbb6WLEWLN5xYzTNTODn3WhUidhOPFZPY5Q4L15POdslv5e2QJl -tI5c0BE0312/UqeBAMN/mUWZFdUXyApT7GPzmX3MaRKGwhfwAZ6/hLzRUssbkmbOpFPlob/E2wnW -5olWK8jjfN7j/4nlNW4o6GwLI1GpJQXrSPjdscr6bAhR77cYbETKJuFzxokGgeWKrLDiKca5JLNr -RBH0pUPCTEPlcDaMtjNXepUugqD0XBCzYYP2AgWGLnwtbNwDRm41k9V6lS/eINhbfpSQBGq6WT0E -BXWdN6IOLj3rwaRSg/7Qa9RmjtzG6RJOHSpXqhC8fF6CfaamyfItufUXJ63RDolUK5X6wK0dmBR4 -M0KGCqlztft0DbcbMBnEWg4cJ7faGND/isgFuvGqHKI3t+ZIpEYslOqodmJHixBTB0hXbOKSTbau -BcvcwUpej6w9GU7C7WB1K9vBykLVAgMBAAGjYzBhMB8GA1UdIwQYMBaAFHKs5DN5qkWH9v2sHZ7W -xy+G2CQ5MB0GA1UdDgQWBBRyrOQzeapFh/b9rB2e1scvhtgkOTAOBgNVHQ8BAf8EBAMCAQYwDwYD -VR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEAoDtZpwmUPjaE0n4vOaWWl/oRrfxn83EJ -8rKJhGdEr7nv7ZbsnGTbMjBvZ5qsfl+yqwE2foH65IRe0qw24GtixX1LDoJt0nZi0f6X+J8wfBj5 -tFJ3gh1229MdqfDBmgC9bXXYfef6xzijnHDoRnkDry5023X4blMMA8iZGok1GTzTyVR8qPAs5m4H -eW9q4ebqkYJpCh3DflminmtGFZhb069GHWLIzoBSSRE/yQQSwxN8PzuKlts8oB4KtItUsiRnDe+C -y748fdHif64W1lZYudogsYMVoe+KTTJvQS8TUoKU1xrBeKJR3Stwbbca+few4GeXVtt8YVMJAygC -QMez2P2ccGrGKMOF6eLtGpOg3kuYooQ+BXcBlj37tCAPnHICehIv1aO6UXivKitEZU61/Qrowc15 -h2Er3oBXRb9n8ZuRXqWk7FlIEA04x7D6w0RtBPV4UBySllva9bguulvP5fBqnUsvWHMtTy3EHD70 -sz+rFQ47GUGKpMFXEmZxTPpT41frYpUJnlTd0cI8Vzy9OK2YZLe4A5pTVmBds9hCG1xLEooc6+t9 -xnppxyd/pPiL8uSUZodL6ZQHCRJ5irLrdATczvREWeAWysUsWNc8e89ihmpQfTU2Zqf7N+cox9jQ -raVplI/owd8k+BsHMYeB2F326CjYSlKArBPuUBQemMc= ------END CERTIFICATE----- - -D-TRUST BR Root CA 1 2020 -========================= ------BEGIN CERTIFICATE----- -MIIC2zCCAmCgAwIBAgIQfMmPK4TX3+oPyWWa00tNljAKBggqhkjOPQQDAzBIMQswCQYDVQQGEwJE -RTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEJSIFJvb3QgQ0EgMSAy -MDIwMB4XDTIwMDIxMTA5NDUwMFoXDTM1MDIxMTA5NDQ1OVowSDELMAkGA1UEBhMCREUxFTATBgNV -BAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDEgMjAyMDB2MBAG -ByqGSM49AgEGBSuBBAAiA2IABMbLxyjR+4T1mu9CFCDhQ2tuda38KwOE1HaTJddZO0Flax7mNCq7 -dPYSzuht56vkPE4/RAiLzRZxy7+SmfSk1zxQVFKQhYN4lGdnoxwJGT11NIXe7WB9xwy0QVK5buXu -QqOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFHOREKv/VbNafAkl1bK6CKBrqx9t -MA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6gPKA6hjhodHRwOi8vY3JsLmQtdHJ1c3Qu -bmV0L2NybC9kLXRydXN0X2JyX3Jvb3RfY2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVj -dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwQlIlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxP -PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD -AwNpADBmAjEAlJAtE/rhY/hhY+ithXhUkZy4kzg+GkHaQBZTQgjKL47xPoFWwKrY7RjEsK70Pvom -AjEA8yjixtsrmfu3Ubgko6SUeho/5jbiA1czijDLgsfWFBHVdWNbFJWcHwHP2NVypw87 ------END CERTIFICATE----- - -D-TRUST EV Root CA 1 2020 -========================= ------BEGIN CERTIFICATE----- -MIIC2zCCAmCgAwIBAgIQXwJB13qHfEwDo6yWjfv/0DAKBggqhkjOPQQDAzBIMQswCQYDVQQGEwJE -RTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEVWIFJvb3QgQ0EgMSAy -MDIwMB4XDTIwMDIxMTEwMDAwMFoXDTM1MDIxMTA5NTk1OVowSDELMAkGA1UEBhMCREUxFTATBgNV -BAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBFViBSb290IENBIDEgMjAyMDB2MBAG -ByqGSM49AgEGBSuBBAAiA2IABPEL3YZDIBnfl4XoIkqbz52Yv7QFJsnL46bSj8WeeHsxiamJrSc8 -ZRCC/N/DnU7wMyPE0jL1HLDfMxddxfCxivnvubcUyilKwg+pf3VlSSowZ/Rk99Yad9rDwpdhQntJ -raOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFH8QARY3OqQo5FD4pPfsazK2/umL -MA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6gPKA6hjhodHRwOi8vY3JsLmQtdHJ1c3Qu -bmV0L2NybC9kLXRydXN0X2V2X3Jvb3RfY2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVj -dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwRVYlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxP -PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD -AwNpADBmAjEAyjzGKnXCXnViOTYAYFqLwZOZzNnbQTs7h5kXO9XMT8oi96CAy/m0sRtW9XLS/BnR -AjEAkfcwkz8QRitxpNA7RJvAKQIFskF3UfN5Wp6OFKBOQtJbgfM0agPnIjhQW+0ZT0MW ------END CERTIFICATE----- - -DigiCert TLS ECC P384 Root G5 -============================= ------BEGIN CERTIFICATE----- -MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURpZ2lDZXJ0IFRMUyBFQ0MgUDM4 -NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2MDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQg -Um9vdCBHNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1Tzvd -lHJS7cI7+Oz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp0zVozptj -n4S1mU1YoI71VOeVyaNCMEAwHQYDVR0OBBYEFMFRRVBZqz7nLFr6ICISB4CIfBFqMA4GA1UdDwEB -/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMDA2gAMGUCMQCJao1H5+z8blUD2Wds -Jk6Dxv3J+ysTvLd6jLRl0mlpYxNjOyZQLgGheQaRnUi/wr4CMEfDFXuxoJGZSZOoPHzoRgaLLPIx -AJSdYsiJvRmEFOml+wG4DXZDjC5Ty3zfDBeWUA== ------END CERTIFICATE----- - -DigiCert TLS RSA4096 Root G5 -============================ ------BEGIN CERTIFICATE----- -MIIFZjCCA06gAwIBAgIQCPm0eKj6ftpqMzeJ3nzPijANBgkqhkiG9w0BAQwFADBNMQswCQYDVQQG -EwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMTHERpZ2lDZXJ0IFRMUyBSU0E0 -MDk2IFJvb3QgRzUwHhcNMjEwMTE1MDAwMDAwWhcNNDYwMTE0MjM1OTU5WjBNMQswCQYDVQQGEwJV -UzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMTHERpZ2lDZXJ0IFRMUyBSU0E0MDk2 -IFJvb3QgRzUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCz0PTJeRGd/fxmgefM1eS8 -7IE+ajWOLrfn3q/5B03PMJ3qCQuZvWxX2hhKuHisOjmopkisLnLlvevxGs3npAOpPxG02C+JFvuU -AT27L/gTBaF4HI4o4EXgg/RZG5Wzrn4DReW+wkL+7vI8toUTmDKdFqgpwgscONyfMXdcvyej/Ces -tyu9dJsXLfKB2l2w4SMXPohKEiPQ6s+d3gMXsUJKoBZMpG2T6T867jp8nVid9E6P/DsjyG244gXa -zOvswzH016cpVIDPRFtMbzCe88zdH5RDnU1/cHAN1DrRN/BsnZvAFJNY781BOHW8EwOVfH/jXOnV -DdXifBBiqmvwPXbzP6PosMH976pXTayGpxi0KcEsDr9kvimM2AItzVwv8n/vFfQMFawKsPHTDU9q -TXeXAaDxZre3zu/O7Oyldcqs4+Fj97ihBMi8ez9dLRYiVu1ISf6nL3kwJZu6ay0/nTvEF+cdLvvy -z6b84xQslpghjLSR6Rlgg/IwKwZzUNWYOwbpx4oMYIwo+FKbbuH2TbsGJJvXKyY//SovcfXWJL5/ -MZ4PbeiPT02jP/816t9JXkGPhvnxd3lLG7SjXi/7RgLQZhNeXoVPzthwiHvOAbWWl9fNff2C+MIk -wcoBOU+NosEUQB+cZtUMCUbW8tDRSHZWOkPLtgoRObqME2wGtZ7P6wIDAQABo0IwQDAdBgNVHQ4E -FgQUUTMc7TZArxfTJc1paPKvTiM+s0EwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8w -DQYJKoZIhvcNAQEMBQADggIBAGCmr1tfV9qJ20tQqcQjNSH/0GEwhJG3PxDPJY7Jv0Y02cEhJhxw -GXIeo8mH/qlDZJY6yFMECrZBu8RHANmfGBg7sg7zNOok992vIGCukihfNudd5N7HPNtQOa27PShN -lnx2xlv0wdsUpasZYgcYQF+Xkdycx6u1UQ3maVNVzDl92sURVXLFO4uJ+DQtpBflF+aZfTCIITfN -MBc9uPK8qHWgQ9w+iUuQrm0D4ByjoJYJu32jtyoQREtGBzRj7TG5BO6jm5qu5jF49OokYTurWGT/ -u4cnYiWB39yhL/btp/96j1EuMPikAdKFOV8BmZZvWltwGUb+hmA+rYAQCd05JS9Yf7vSdPD3Rh9G -OUrYU9DzLjtxpdRv/PNn5AeP3SYZ4Y1b+qOTEZvpyDrDVWiakuFSdjjo4bq9+0/V77PnSIMx8IIh -47a+p6tv75/fTM8BuGJqIz3nCU2AG3swpMPdB380vqQmsvZB6Akd4yCYqjdP//fx4ilwMUc/dNAU -FvohigLVigmUdy7yWSiLfFCSCmZ4OIN1xLVaqBHG5cGdZlXPU8Sv13WFqUITVuwhd4GTWgzqltlJ -yqEI8pc7bZsEGCREjnwB8twl2F6GmrE52/WRMmrRpnCKovfepEWFJqgejF0pW8hL2JpqA15w8oVP -bEtoL8pU9ozaMv7Da4M/OMZ+ ------END CERTIFICATE----- - -Certainly Root R1 -================= ------BEGIN CERTIFICATE----- -MIIFRzCCAy+gAwIBAgIRAI4P+UuQcWhlM1T01EQ5t+AwDQYJKoZIhvcNAQELBQAwPTELMAkGA1UE -BhMCVVMxEjAQBgNVBAoTCUNlcnRhaW5seTEaMBgGA1UEAxMRQ2VydGFpbmx5IFJvb3QgUjEwHhcN -MjEwNDAxMDAwMDAwWhcNNDYwNDAxMDAwMDAwWjA9MQswCQYDVQQGEwJVUzESMBAGA1UEChMJQ2Vy -dGFpbmx5MRowGAYDVQQDExFDZXJ0YWlubHkgUm9vdCBSMTCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBANA21B/q3avk0bbm+yLA3RMNansiExyXPGhjZjKcA7WNpIGD2ngwEc/csiu+kr+O -5MQTvqRoTNoCaBZ0vrLdBORrKt03H2As2/X3oXyVtwxwhi7xOu9S98zTm/mLvg7fMbedaFySpvXl -8wo0tf97ouSHocavFwDvA5HtqRxOcT3Si2yJ9HiG5mpJoM610rCrm/b01C7jcvk2xusVtyWMOvwl -DbMicyF0yEqWYZL1LwsYpfSt4u5BvQF5+paMjRcCMLT5r3gajLQ2EBAHBXDQ9DGQilHFhiZ5shGI -XsXwClTNSaa/ApzSRKft43jvRl5tcdF5cBxGX1HpyTfcX35pe0HfNEXgO4T0oYoKNp43zGJS4YkN -KPl6I7ENPT2a/Z2B7yyQwHtETrtJ4A5KVpK8y7XdeReJkd5hiXSSqOMyhb5OhaRLWcsrxXiOcVTQ -AjeZjOVJ6uBUcqQRBi8LjMFbvrWhsFNunLhgkR9Za/kt9JQKl7XsxXYDVBtlUrpMklZRNaBA2Cnb -rlJ2Oy0wQJuK0EJWtLeIAaSHO1OWzaMWj/Nmqhexx2DgwUMFDO6bW2BvBlyHWyf5QBGenDPBt+U1 -VwV/J84XIIwc/PH72jEpSe31C4SnT8H2TsIonPru4K8H+zMReiFPCyEQtkA6qyI6BJyLm4SGcprS -p6XEtHWRqSsjAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1Ud -DgQWBBTgqj8ljZ9EXME66C6ud0yEPmcM9DANBgkqhkiG9w0BAQsFAAOCAgEAuVevuBLaV4OPaAsz -HQNTVfSVcOQrPbA56/qJYv331hgELyE03fFo8NWWWt7CgKPBjcZq91l3rhVkz1t5BXdm6ozTaw3d -8VkswTOlMIAVRQdFGjEitpIAq5lNOo93r6kiyi9jyhXWx8bwPWz8HA2YEGGeEaIi1wrykXprOQ4v -MMM2SZ/g6Q8CRFA3lFV96p/2O7qUpUzpvD5RtOjKkjZUbVwlKNrdrRT90+7iIgXr0PK3aBLXWopB -GsaSpVo7Y0VPv+E6dyIvXL9G+VoDhRNCX8reU9ditaY1BMJH/5n9hN9czulegChB8n3nHpDYT3Y+ -gjwN/KUD+nsa2UUeYNrEjvn8K8l7lcUq/6qJ34IxD3L/DCfXCh5WAFAeDJDBlrXYFIW7pw0WwfgH -JBu6haEaBQmAupVjyTrsJZ9/nbqkRxWbRHDxakvWOF5D8xh+UG7pWijmZeZ3Gzr9Hb4DJqPb1OG7 -fpYnKx3upPvaJVQTA945xsMfTZDsjxtK0hzthZU4UHlG1sGQUDGpXJpuHfUzVounmdLyyCwzk5Iw -x06MZTMQZBf9JBeW0Y3COmor6xOLRPIh80oat3df1+2IpHLlOR+Vnb5nwXARPbv0+Em34yaXOp/S -X3z7wJl8OSngex2/DaeP0ik0biQVy96QXr8axGbqwua6OV+KmalBWQewLK8= ------END CERTIFICATE----- - -Certainly Root E1 -================= ------BEGIN CERTIFICATE----- -MIIB9zCCAX2gAwIBAgIQBiUzsUcDMydc+Y2aub/M+DAKBggqhkjOPQQDAzA9MQswCQYDVQQGEwJV -UzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0YWlubHkgUm9vdCBFMTAeFw0yMTA0 -MDEwMDAwMDBaFw00NjA0MDEwMDAwMDBaMD0xCzAJBgNVBAYTAlVTMRIwEAYDVQQKEwlDZXJ0YWlu -bHkxGjAYBgNVBAMTEUNlcnRhaW5seSBSb290IEUxMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3m/4 -fxzf7flHh4axpMCK+IKXgOqPyEpeKn2IaKcBYhSRJHpcnqMXfYqGITQYUBsQ3tA3SybHGWCA6TS9 -YBk2QNYphwk8kXr2vBMj3VlOBF7PyAIcGFPBMdjaIOlEjeR2o0IwQDAOBgNVHQ8BAf8EBAMCAQYw -DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ygYy2R17ikq6+2uI1g4hevIIgcwCgYIKoZIzj0E -AwMDaAAwZQIxALGOWiDDshliTd6wT99u0nCK8Z9+aozmut6Dacpps6kFtZaSF4fC0urQe87YQVt8 -rgIwRt7qy12a7DLCZRawTDBcMPPaTnOGBtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR ------END CERTIFICATE----- - -Security Communication ECC RootCA1 -================================== ------BEGIN CERTIFICATE----- -MIICODCCAb6gAwIBAgIJANZdm7N4gS7rMAoGCCqGSM49BAMDMGExCzAJBgNVBAYTAkpQMSUwIwYD -VQQKExxTRUNPTSBUcnVzdCBTeXN0ZW1zIENPLixMVEQuMSswKQYDVQQDEyJTZWN1cml0eSBDb21t -dW5pY2F0aW9uIEVDQyBSb290Q0ExMB4XDTE2MDYxNjA1MTUyOFoXDTM4MDExODA1MTUyOFowYTEL -MAkGA1UEBhMCSlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xKzApBgNV -BAMTIlNlY3VyaXR5IENvbW11bmljYXRpb24gRUNDIFJvb3RDQTEwdjAQBgcqhkjOPQIBBgUrgQQA -IgNiAASkpW9gAwPDvTH00xecK4R1rOX9PVdu12O/5gSJko6BnOPpR27KkBLIE+CnnfdldB9sELLo -5OnvbYUymUSxXv3MdhDYW72ixvnWQuRXdtyQwjWpS4g8EkdtXP9JTxpKULGjQjBAMB0GA1UdDgQW -BBSGHOf+LaVKiwj+KBH6vqNm+GBZLzAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAK -BggqhkjOPQQDAwNoADBlAjAVXUI9/Lbu9zuxNuie9sRGKEkz0FhDKmMpzE2xtHqiuQ04pV1IKv3L -snNdo4gIxwwCMQDAqy0Obe0YottT6SXbVQjgUMzfRGEWgqtJsLKB7HOHeLRMsmIbEvoWTSVLY70e -N9k= ------END CERTIFICATE----- - -BJCA Global Root CA1 -==================== ------BEGIN CERTIFICATE----- -MIIFdDCCA1ygAwIBAgIQVW9l47TZkGobCdFsPsBsIDANBgkqhkiG9w0BAQsFADBUMQswCQYDVQQG -EwJDTjEmMCQGA1UECgwdQkVJSklORyBDRVJUSUZJQ0FURSBBVVRIT1JJVFkxHTAbBgNVBAMMFEJK -Q0EgR2xvYmFsIFJvb3QgQ0ExMB4XDTE5MTIxOTAzMTYxN1oXDTQ0MTIxMjAzMTYxN1owVDELMAkG -A1UEBhMCQ04xJjAkBgNVBAoMHUJFSUpJTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZMR0wGwYDVQQD -DBRCSkNBIEdsb2JhbCBSb290IENBMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAPFm -CL3ZxRVhy4QEQaVpN3cdwbB7+sN3SJATcmTRuHyQNZ0YeYjjlwE8R4HyDqKYDZ4/N+AZspDyRhyS -sTphzvq3Rp4Dhtczbu33RYx2N95ulpH3134rhxfVizXuhJFyV9xgw8O558dnJCNPYwpj9mZ9S1Wn -P3hkSWkSl+BMDdMJoDIwOvqfwPKcxRIqLhy1BDPapDgRat7GGPZHOiJBhyL8xIkoVNiMpTAK+BcW -yqw3/XmnkRd4OJmtWO2y3syJfQOcs4ll5+M7sSKGjwZteAf9kRJ/sGsciQ35uMt0WwfCyPQ10WRj -eulumijWML3mG90Vr4TqnMfK9Q7q8l0ph49pczm+LiRvRSGsxdRpJQaDrXpIhRMsDQa4bHlW/KNn -MoH1V6XKV0Jp6VwkYe/iMBhORJhVb3rCk9gZtt58R4oRTklH2yiUAguUSiz5EtBP6DF+bHq/pj+b -OT0CFqMYs2esWz8sgytnOYFcuX6U1WTdno9uruh8W7TXakdI136z1C2OVnZOz2nxbkRs1CTqjSSh -GL+9V/6pmTW12xB3uD1IutbB5/EjPtffhZ0nPNRAvQoMvfXnjSXWgXSHRtQpdaJCbPdzied9v3pK -H9MiyRVVz99vfFXQpIsHETdfg6YmV6YBW37+WGgHqel62bno/1Afq8K0wM7o6v0PvY1NuLxxAgMB -AAGjQjBAMB0GA1UdDgQWBBTF7+3M2I0hxkjk49cULqcWk+WYATAPBgNVHRMBAf8EBTADAQH/MA4G -A1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAUoKsITQfI/Ki2Pm4rzc2IInRNwPWaZ+4 -YRC6ojGYWUfo0Q0lHhVBDOAqVdVXUsv45Mdpox1NcQJeXyFFYEhcCY5JEMEE3KliawLwQ8hOnThJ -dMkycFRtwUf8jrQ2ntScvd0g1lPJGKm1Vrl2i5VnZu69mP6u775u+2D2/VnGKhs/I0qUJDAnyIm8 -60Qkmss9vk/Ves6OF8tiwdneHg56/0OGNFK8YT88X7vZdrRTvJez/opMEi4r89fO4aL/3Xtw+zuh -TaRjAv04l5U/BXCga99igUOLtFkNSoxUnMW7gZ/NfaXvCyUeOiDbHPwfmGcCCtRzRBPbUYQaVQNW -4AB+dAb/OMRyHdOoP2gxXdMJxy6MW2Pg6Nwe0uxhHvLe5e/2mXZgLR6UcnHGCyoyx5JO1UbXHfmp -GQrI+pXObSOYqgs4rZpWDW+N8TEAiMEXnM0ZNjX+VVOg4DwzX5Ze4jLp3zO7Bkqp2IRzznfSxqxx -4VyjHQy7Ct9f4qNx2No3WqB4K/TUfet27fJhcKVlmtOJNBir+3I+17Q9eVzYH6Eze9mCUAyTF6ps -3MKCuwJXNq+YJyo5UOGwifUll35HaBC07HPKs5fRJNz2YqAo07WjuGS3iGJCz51TzZm+ZGiPTx4S -SPfSKcOYKMryMguTjClPPGAyzQWWYezyr/6zcCwupvI= ------END CERTIFICATE----- - -BJCA Global Root CA2 -==================== ------BEGIN CERTIFICATE----- -MIICJTCCAaugAwIBAgIQLBcIfWQqwP6FGFkGz7RK6zAKBggqhkjOPQQDAzBUMQswCQYDVQQGEwJD -TjEmMCQGA1UECgwdQkVJSklORyBDRVJUSUZJQ0FURSBBVVRIT1JJVFkxHTAbBgNVBAMMFEJKQ0Eg -R2xvYmFsIFJvb3QgQ0EyMB4XDTE5MTIxOTAzMTgyMVoXDTQ0MTIxMjAzMTgyMVowVDELMAkGA1UE -BhMCQ04xJjAkBgNVBAoMHUJFSUpJTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZMR0wGwYDVQQDDBRC -SkNBIEdsb2JhbCBSb290IENBMjB2MBAGByqGSM49AgEGBSuBBAAiA2IABJ3LgJGNU2e1uVCxA/jl -SR9BIgmwUVJY1is0j8USRhTFiy8shP8sbqjV8QnjAyEUxEM9fMEsxEtqSs3ph+B99iK++kpRuDCK -/eHeGBIK9ke35xe/J4rUQUyWPGCWwf0VHKNCMEAwHQYDVR0OBBYEFNJKsVF/BvDRgh9Obl+rg/xI -1LCRMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49BAMDA2gAMGUCMBq8 -W9f+qdJUDkpd0m2xQNz0Q9XSSpkZElaA94M04TVOSG0ED1cxMDAtsaqdAzjbBgIxAMvMh1PLet8g -UXOQwKhbYdDFUDn9hf7B43j4ptZLvZuHjw/l1lOWqzzIQNph91Oj9w== ------END CERTIFICATE----- - -Sectigo Public Server Authentication Root E46 -============================================= ------BEGIN CERTIFICATE----- -MIICOjCCAcGgAwIBAgIQQvLM2htpN0RfFf51KBC49DAKBggqhkjOPQQDAzBfMQswCQYDVQQGEwJH -QjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1TZWN0aWdvIFB1YmxpYyBTZXJ2 -ZXIgQXV0aGVudGljYXRpb24gUm9vdCBFNDYwHhcNMjEwMzIyMDAwMDAwWhcNNDYwMzIxMjM1OTU5 -WjBfMQswCQYDVQQGEwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1TZWN0 -aWdvIFB1YmxpYyBTZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBFNDYwdjAQBgcqhkjOPQIBBgUr -gQQAIgNiAAR2+pmpbiDt+dd34wc7qNs9Xzjoq1WmVk/WSOrsfy2qw7LFeeyZYX8QeccCWvkEN/U0 -NSt3zn8gj1KjAIns1aeibVvjS5KToID1AZTc8GgHHs3u/iVStSBDHBv+6xnOQ6OjQjBAMB0GA1Ud -DgQWBBTRItpMWfFLXyY4qp3W7usNw/upYTAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB -/zAKBggqhkjOPQQDAwNnADBkAjAn7qRaqCG76UeXlImldCBteU/IvZNeWBj7LRoAasm4PdCkT0RH -lAFWovgzJQxC36oCMB3q4S6ILuH5px0CMk7yn2xVdOOurvulGu7t0vzCAxHrRVxgED1cf5kDW21U -SAGKcw== ------END CERTIFICATE----- - -Sectigo Public Server Authentication Root R46 -============================================= ------BEGIN CERTIFICATE----- -MIIFijCCA3KgAwIBAgIQdY39i658BwD6qSWn4cetFDANBgkqhkiG9w0BAQwFADBfMQswCQYDVQQG -EwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1TZWN0aWdvIFB1YmxpYyBT -ZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBSNDYwHhcNMjEwMzIyMDAwMDAwWhcNNDYwMzIxMjM1 -OTU5WjBfMQswCQYDVQQGEwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1T -ZWN0aWdvIFB1YmxpYyBTZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBSNDYwggIiMA0GCSqGSIb3 -DQEBAQUAA4ICDwAwggIKAoICAQCTvtU2UnXYASOgHEdCSe5jtrch/cSV1UgrJnwUUxDaef0rty2k -1Cz66jLdScK5vQ9IPXtamFSvnl0xdE8H/FAh3aTPaE8bEmNtJZlMKpnzSDBh+oF8HqcIStw+Kxwf -GExxqjWMrfhu6DtK2eWUAtaJhBOqbchPM8xQljeSM9xfiOefVNlI8JhD1mb9nxc4Q8UBUQvX4yMP -FF1bFOdLvt30yNoDN9HWOaEhUTCDsG3XME6WW5HwcCSrv0WBZEMNvSE6Lzzpng3LILVCJ8zab5vu -ZDCQOc2TZYEhMbUjUDM3IuM47fgxMMxF/mL50V0yeUKH32rMVhlATc6qu/m1dkmU8Sf4kaWD5Qaz -Yw6A3OASVYCmO2a0OYctyPDQ0RTp5A1NDvZdV3LFOxxHVp3i1fuBYYzMTYCQNFu31xR13NgESJ/A -wSiItOkcyqex8Va3e0lMWeUgFaiEAin6OJRpmkkGj80feRQXEgyDet4fsZfu+Zd4KKTIRJLpfSYF -plhym3kT2BFfrsU4YjRosoYwjviQYZ4ybPUHNs2iTG7sijbt8uaZFURww3y8nDnAtOFr94MlI1fZ -EoDlSfB1D++N6xybVCi0ITz8fAr/73trdf+LHaAZBav6+CuBQug4urv7qv094PPK306Xlynt8xhW -6aWWrL3DkJiy4Pmi1KZHQ3xtzwIDAQABo0IwQDAdBgNVHQ4EFgQUVnNYZJX5khqwEioEYnmhQBWI -IUkwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAC9c -mTz8Bl6MlC5w6tIyMY208FHVvArzZJ8HXtXBc2hkeqK5Duj5XYUtqDdFqij0lgVQYKlJfp/imTYp -E0RHap1VIDzYm/EDMrraQKFz6oOht0SmDpkBm+S8f74TlH7Kph52gDY9hAaLMyZlbcp+nv4fjFg4 -exqDsQ+8FxG75gbMY/qB8oFM2gsQa6H61SilzwZAFv97fRheORKkU55+MkIQpiGRqRxOF3yEvJ+M -0ejf5lG5Nkc/kLnHvALcWxxPDkjBJYOcCj+esQMzEhonrPcibCTRAUH4WAP+JWgiH5paPHxsnnVI -84HxZmduTILA7rpXDhjvLpr3Etiga+kFpaHpaPi8TD8SHkXoUsCjvxInebnMMTzD9joiFgOgyY9m -pFuiTdaBJQbpdqQACj7LzTWb4OE4y2BThihCQRxEV+ioratF4yUQvNs+ZUH7G6aXD+u5dHn5Hrwd -Vw1Hr8Mvn4dGp+smWg9WY7ViYG4A++MnESLn/pmPNPW56MORcr3Ywx65LvKRRFHQV80MNNVIIb/b -E/FmJUNS0nAiNs2fxBx1IK1jcmMGDw4nztJqDby1ORrp0XZ60Vzk50lJLVU3aPAaOpg+VBeHVOmm -J1CJeyAvP/+/oYtKR5j/K3tJPsMpRmAYQqszKbrAKbkTidOIijlBO8n9pu0f9GBj39ItVQGL ------END CERTIFICATE----- - -SSL.com TLS RSA Root CA 2022 -============================ ------BEGIN CERTIFICATE----- -MIIFiTCCA3GgAwIBAgIQb77arXO9CEDii02+1PdbkTANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQG -EwJVUzEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMSUwIwYDVQQDDBxTU0wuY29tIFRMUyBSU0Eg -Um9vdCBDQSAyMDIyMB4XDTIyMDgyNTE2MzQyMloXDTQ2MDgxOTE2MzQyMVowTjELMAkGA1UEBhMC -VVMxGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjElMCMGA1UEAwwcU1NMLmNvbSBUTFMgUlNBIFJv -b3QgQ0EgMjAyMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANCkCXJPQIgSYT41I57u -9nTPL3tYPc48DRAokC+X94xI2KDYJbFMsBFMF3NQ0CJKY7uB0ylu1bUJPiYYf7ISf5OYt6/wNr/y -7hienDtSxUcZXXTzZGbVXcdotL8bHAajvI9AI7YexoS9UcQbOcGV0insS657Lb85/bRi3pZ7Qcac -oOAGcvvwB5cJOYF0r/c0WRFXCsJbwST0MXMwgsadugL3PnxEX4MN8/HdIGkWCVDi1FW24IBydm5M -R7d1VVm0U3TZlMZBrViKMWYPHqIbKUBOL9975hYsLfy/7PO0+r4Y9ptJ1O4Fbtk085zx7AGL0SDG -D6C1vBdOSHtRwvzpXGk3R2azaPgVKPC506QVzFpPulJwoxJF3ca6TvvC0PeoUidtbnm1jPx7jMEW -TO6Af77wdr5BUxIzrlo4QqvXDz5BjXYHMtWrifZOZ9mxQnUjbvPNQrL8VfVThxc7wDNY8VLS+YCk -8OjwO4s4zKTGkH8PnP2L0aPP2oOnaclQNtVcBdIKQXTbYxE3waWglksejBYSd66UNHsef8JmAOSq -g+qKkK3ONkRN0VHpvB/zagX9wHQfJRlAUW7qglFA35u5CCoGAtUjHBPW6dvbxrB6y3snm/vg1UYk -7RBLY0ulBY+6uB0rpvqR4pJSvezrZ5dtmi2fgTIFZzL7SAg/2SW4BCUvAgMBAAGjYzBhMA8GA1Ud -EwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU+y437uOEeicuzRk1sTN8/9REQrkwHQYDVR0OBBYEFPsu -N+7jhHonLs0ZNbEzfP/UREK5MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAjYlt -hEUY8U+zoO9opMAdrDC8Z2awms22qyIZZtM7QbUQnRC6cm4pJCAcAZli05bg4vsMQtfhWsSWTVTN -j8pDU/0quOr4ZcoBwq1gaAafORpR2eCNJvkLTqVTJXojpBzOCBvfR4iyrT7gJ4eLSYwfqUdYe5by -iB0YrrPRpgqU+tvT5TgKa3kSM/tKWTcWQA673vWJDPFs0/dRa1419dvAJuoSc06pkZCmF8NsLzjU -o3KUQyxi4U5cMj29TH0ZR6LDSeeWP4+a0zvkEdiLA9z2tmBVGKaBUfPhqBVq6+AL8BQx1rmMRTqo -ENjwuSfr98t67wVylrXEj5ZzxOhWc5y8aVFjvO9nHEMaX3cZHxj4HCUp+UmZKbaSPaKDN7Egkaib -MOlqbLQjk2UEqxHzDh1TJElTHaE/nUiSEeJ9DU/1172iWD54nR4fK/4huxoTtrEoZP2wAgDHbICi -vRZQIA9ygV/MlP+7mea6kMvq+cYMwq7FGc4zoWtcu358NFcXrfA/rs3qr5nsLFR+jM4uElZI7xc7 -P0peYNLcdDa8pUNjyw9bowJWCZ4kLOGGgYz+qxcs+sjiMho6/4UIyYOf8kpIEFR3N+2ivEC+5BB0 -9+Rbu7nzifmPQdjH5FCQNYA+HLhNkNPU98OwoX6EyneSMSy4kLGCenROmxMmtNVQZlR4rmA= ------END CERTIFICATE----- - -SSL.com TLS ECC Root CA 2022 -============================ ------BEGIN CERTIFICATE----- -MIICOjCCAcCgAwIBAgIQFAP1q/s3ixdAW+JDsqXRxDAKBggqhkjOPQQDAzBOMQswCQYDVQQGEwJV -UzEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMSUwIwYDVQQDDBxTU0wuY29tIFRMUyBFQ0MgUm9v -dCBDQSAyMDIyMB4XDTIyMDgyNTE2MzM0OFoXDTQ2MDgxOTE2MzM0N1owTjELMAkGA1UEBhMCVVMx -GDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjElMCMGA1UEAwwcU1NMLmNvbSBUTFMgRUNDIFJvb3Qg -Q0EgMjAyMjB2MBAGByqGSM49AgEGBSuBBAAiA2IABEUpNXP6wrgjzhR9qLFNoFs27iosU8NgCTWy -JGYmacCzldZdkkAZDsalE3D07xJRKF3nzL35PIXBz5SQySvOkkJYWWf9lCcQZIxPBLFNSeR7T5v1 -5wj4A4j3p8OSSxlUgaNjMGEwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBSJjy+j6CugFFR7 -81a4Jl9nOAuc0DAdBgNVHQ4EFgQUiY8vo+groBRUe/NWuCZfZzgLnNAwDgYDVR0PAQH/BAQDAgGG -MAoGCCqGSM49BAMDA2gAMGUCMFXjIlbp15IkWE8elDIPDAI2wv2sdDJO4fscgIijzPvX6yv/N33w -7deedWo1dlJF4AIxAMeNb0Igj762TVntd00pxCAgRWSGOlDGxK0tk/UYfXLtqc/ErFc2KAhl3zx5 -Zn6g6g== ------END CERTIFICATE----- - -Atos TrustedRoot Root CA ECC TLS 2021 -===================================== ------BEGIN CERTIFICATE----- -MIICFTCCAZugAwIBAgIQPZg7pmY9kGP3fiZXOATvADAKBggqhkjOPQQDAzBMMS4wLAYDVQQDDCVB -dG9zIFRydXN0ZWRSb290IFJvb3QgQ0EgRUNDIFRMUyAyMDIxMQ0wCwYDVQQKDARBdG9zMQswCQYD -VQQGEwJERTAeFw0yMTA0MjIwOTI2MjNaFw00MTA0MTcwOTI2MjJaMEwxLjAsBgNVBAMMJUF0b3Mg -VHJ1c3RlZFJvb3QgUm9vdCBDQSBFQ0MgVExTIDIwMjExDTALBgNVBAoMBEF0b3MxCzAJBgNVBAYT -AkRFMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEloZYKDcKZ9Cg3iQZGeHkBQcfl+3oZIK59sRxUM6K -DP/XtXa7oWyTbIOiaG6l2b4siJVBzV3dscqDY4PMwL502eCdpO5KTlbgmClBk1IQ1SQ4AjJn8ZQS -b+/Xxd4u/RmAo0IwQDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBR2KCXWfeBmmnoJsmo7jjPX -NtNPojAOBgNVHQ8BAf8EBAMCAYYwCgYIKoZIzj0EAwMDaAAwZQIwW5kp85wxtolrbNa9d+F851F+ -uDrNozZffPc8dz7kUK2o59JZDCaOMDtuCCrCp1rIAjEAmeMM56PDr9NJLkaCI2ZdyQAUEv049OGY -a3cpetskz2VAv9LcjBHo9H1/IISpQuQo ------END CERTIFICATE----- - -Atos TrustedRoot Root CA RSA TLS 2021 -===================================== ------BEGIN CERTIFICATE----- -MIIFZDCCA0ygAwIBAgIQU9XP5hmTC/srBRLYwiqipDANBgkqhkiG9w0BAQwFADBMMS4wLAYDVQQD -DCVBdG9zIFRydXN0ZWRSb290IFJvb3QgQ0EgUlNBIFRMUyAyMDIxMQ0wCwYDVQQKDARBdG9zMQsw -CQYDVQQGEwJERTAeFw0yMTA0MjIwOTIxMTBaFw00MTA0MTcwOTIxMDlaMEwxLjAsBgNVBAMMJUF0 -b3MgVHJ1c3RlZFJvb3QgUm9vdCBDQSBSU0EgVExTIDIwMjExDTALBgNVBAoMBEF0b3MxCzAJBgNV -BAYTAkRFMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtoAOxHm9BYx9sKOdTSJNy/BB -l01Z4NH+VoyX8te9j2y3I49f1cTYQcvyAh5x5en2XssIKl4w8i1mx4QbZFc4nXUtVsYvYe+W/CBG -vevUez8/fEc4BKkbqlLfEzfTFRVOvV98r61jx3ncCHvVoOX3W3WsgFWZkmGbzSoXfduP9LVq6hdK -ZChmFSlsAvFr1bqjM9xaZ6cF4r9lthawEO3NUDPJcFDsGY6wx/J0W2tExn2WuZgIWWbeKQGb9Cpt -0xU6kGpn8bRrZtkh68rZYnxGEFzedUlnnkL5/nWpo63/dgpnQOPF943HhZpZnmKaau1Fh5hnstVK -PNe0OwANwI8f4UDErmwh3El+fsqyjW22v5MvoVw+j8rtgI5Y4dtXz4U2OLJxpAmMkokIiEjxQGMY -sluMWuPD0xeqqxmjLBvk1cbiZnrXghmmOxYsL3GHX0WelXOTwkKBIROW1527k2gV+p2kHYzygeBY -Br3JtuP2iV2J+axEoctr+hbxx1A9JNr3w+SH1VbxT5Aw+kUJWdo0zuATHAR8ANSbhqRAvNncTFd+ -rrcztl524WWLZt+NyteYr842mIycg5kDcPOvdO3GDjbnvezBc6eUWsuSZIKmAMFwoW4sKeFYV+xa -fJlrJaSQOoD0IJ2azsct+bJLKZWD6TWNp0lIpw9MGZHQ9b8Q4HECAwEAAaNCMEAwDwYDVR0TAQH/ -BAUwAwEB/zAdBgNVHQ4EFgQUdEmZ0f+0emhFdcN+tNzMzjkz2ggwDgYDVR0PAQH/BAQDAgGGMA0G -CSqGSIb3DQEBDAUAA4ICAQAjQ1MkYlxt/T7Cz1UAbMVWiLkO3TriJQ2VSpfKgInuKs1l+NsW4AmS -4BjHeJi78+xCUvuppILXTdiK/ORO/auQxDh1MoSf/7OwKwIzNsAQkG8dnK/haZPso0UvFJ/1TCpl -Q3IM98P4lYsU84UgYt1UU90s3BiVaU+DR3BAM1h3Egyi61IxHkzJqM7F78PRreBrAwA0JrRUITWX -AdxfG/F851X6LWh3e9NpzNMOa7pNdkTWwhWaJuywxfW70Xp0wmzNxbVe9kzmWy2B27O3Opee7c9G -slA9hGCZcbUztVdF5kJHdWoOsAgMrr3e97sPWD2PAzHoPYJQyi9eDF20l74gNAf0xBLh7tew2Vkt -afcxBPTy+av5EzH4AXcOPUIjJsyacmdRIXrMPIWo6iFqO9taPKU0nprALN+AnCng33eU0aKAQv9q -TFsR0PXNor6uzFFcw9VUewyu1rkGd4Di7wcaaMxZUa1+XGdrudviB0JbuAEFWDlN5LuYo7Ey7Nmj -1m+UI/87tyll5gfp77YZ6ufCOB0yiJA8EytuzO+rdwY0d4RPcuSBhPm5dDTedk+SKlOxJTnbPP/l -PqYO5Wue/9vsL3SD3460s6neFE3/MaNFcyT6lSnMEpcEoji2jbDwN/zIIX8/syQbPYtuzE2wFg2W -HYMfRsCbvUOZ58SWLs5fyQ== ------END CERTIFICATE----- - -TrustAsia Global Root CA G3 -=========================== ------BEGIN CERTIFICATE----- -MIIFpTCCA42gAwIBAgIUZPYOZXdhaqs7tOqFhLuxibhxkw8wDQYJKoZIhvcNAQEMBQAwWjELMAkG -A1UEBhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dpZXMsIEluYy4xJDAiBgNVBAMM -G1RydXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHMzAeFw0yMTA1MjAwMjEwMTlaFw00NjA1MTkwMjEw -MTlaMFoxCzAJBgNVBAYTAkNOMSUwIwYDVQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMu -MSQwIgYDVQQDDBtUcnVzdEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzMwggIiMA0GCSqGSIb3DQEBAQUA -A4ICDwAwggIKAoICAQDAMYJhkuSUGwoqZdC+BqmHO1ES6nBBruL7dOoKjbmzTNyPtxNST1QY4Sxz -lZHFZjtqz6xjbYdT8PfxObegQ2OwxANdV6nnRM7EoYNl9lA+sX4WuDqKAtCWHwDNBSHvBm3dIZwZ -Q0WhxeiAysKtQGIXBsaqvPPW5vxQfmZCHzyLpnl5hkA1nyDvP+uLRx+PjsXUjrYsyUQE49RDdT/V -P68czH5GX6zfZBCK70bwkPAPLfSIC7Epqq+FqklYqL9joDiR5rPmd2jE+SoZhLsO4fWvieylL1Ag -dB4SQXMeJNnKziyhWTXAyB1GJ2Faj/lN03J5Zh6fFZAhLf3ti1ZwA0pJPn9pMRJpxx5cynoTi+jm -9WAPzJMshH/x/Gr8m0ed262IPfN2dTPXS6TIi/n1Q1hPy8gDVI+lhXgEGvNz8teHHUGf59gXzhqc -D0r83ERoVGjiQTz+LISGNzzNPy+i2+f3VANfWdP3kXjHi3dqFuVJhZBFcnAvkV34PmVACxmZySYg -WmjBNb9Pp1Hx2BErW+Canig7CjoKH8GB5S7wprlppYiU5msTf9FkPz2ccEblooV7WIQn3MSAPmea -mseaMQ4w7OYXQJXZRe0Blqq/DPNL0WP3E1jAuPP6Z92bfW1K/zJMtSU7/xxnD4UiWQWRkUF3gdCF -TIcQcf+eQxuulXUtgQIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFEDk5PIj -7zjKsK5Xf/IhMBY027ySMB0GA1UdDgQWBBRA5OTyI+84yrCuV3/yITAWNNu8kjAOBgNVHQ8BAf8E -BAMCAQYwDQYJKoZIhvcNAQEMBQADggIBACY7UeFNOPMyGLS0XuFlXsSUT9SnYaP4wM8zAQLpw6o1 -D/GUE3d3NZ4tVlFEbuHGLige/9rsR82XRBf34EzC4Xx8MnpmyFq2XFNFV1pF1AWZLy4jVe5jaN/T -G3inEpQGAHUNcoTpLrxaatXeL1nHo+zSh2bbt1S1JKv0Q3jbSwTEb93mPmY+KfJLaHEih6D4sTNj -duMNhXJEIlU/HHzp/LgV6FL6qj6jITk1dImmasI5+njPtqzn59ZW/yOSLlALqbUHM/Q4X6RJpstl -cHboCoWASzY9M/eVVHUl2qzEc4Jl6VL1XP04lQJqaTDFHApXB64ipCz5xUG3uOyfT0gA+QEEVcys -+TIxxHWVBqB/0Y0n3bOppHKH/lmLmnp0Ft0WpWIp6zqW3IunaFnT63eROfjXy9mPX1onAX1daBli -2MjN9LdyR75bl87yraKZk62Uy5P2EgmVtqvXO9A/EcswFi55gORngS1d7XB4tmBZrOFdRWOPyN9y -aFvqHbgB8X7754qz41SgOAngPN5C8sLtLpvzHzW2NtjjgKGLzZlkD8Kqq7HK9W+eQ42EVJmzbsAS -ZthwEPEGNTNDqJwuuhQxzhB/HIbjj9LV+Hfsm6vxL2PZQl/gZ4FkkfGXL/xuJvYz+NO1+MRiqzFR -JQJ6+N1rZdVtTTDIZbpoFGWsJwt0ivKH ------END CERTIFICATE----- - -TrustAsia Global Root CA G4 -=========================== ------BEGIN CERTIFICATE----- -MIICVTCCAdygAwIBAgIUTyNkuI6XY57GU4HBdk7LKnQV1tcwCgYIKoZIzj0EAwMwWjELMAkGA1UE -BhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dpZXMsIEluYy4xJDAiBgNVBAMMG1Ry -dXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHNDAeFw0yMTA1MjAwMjEwMjJaFw00NjA1MTkwMjEwMjJa -MFoxCzAJBgNVBAYTAkNOMSUwIwYDVQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMSQw -IgYDVQQDDBtUcnVzdEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNi -AATxs8045CVD5d4ZCbuBeaIVXxVjAd7Cq92zphtnS4CDr5nLrBfbK5bKfFJV4hrhPVbwLxYI+hW8 -m7tH5j/uqOFMjPXTNvk4XatwmkcN4oFBButJ+bAp3TPsUKV/eSm4IJijYzBhMA8GA1UdEwEB/wQF -MAMBAf8wHwYDVR0jBBgwFoAUpbtKl86zK3+kMd6Xg1mDpm9xy94wHQYDVR0OBBYEFKW7SpfOsyt/ -pDHel4NZg6ZvccveMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjBe8usGzEkxn0AA -bbd+NvBNEU/zy4k6LHiRUKNbwMp1JvK/kF0LgoxgKJ/GcJpo5PECMFxYDlZ2z1jD1xCMuo6u47xk -dUfFVZDj/bpV6wfEU6s3qe4hsiFbYI89MvHVI5TWWA== ------END CERTIFICATE----- - -Telekom Security TLS ECC Root 2020 -================================== ------BEGIN CERTIFICATE----- -MIICQjCCAcmgAwIBAgIQNjqWjMlcsljN0AFdxeVXADAKBggqhkjOPQQDAzBjMQswCQYDVQQGEwJE -RTEnMCUGA1UECgweRGV1dHNjaGUgVGVsZWtvbSBTZWN1cml0eSBHbWJIMSswKQYDVQQDDCJUZWxl -a29tIFNlY3VyaXR5IFRMUyBFQ0MgUm9vdCAyMDIwMB4XDTIwMDgyNTA3NDgyMFoXDTQ1MDgyNTIz -NTk1OVowYzELMAkGA1UEBhMCREUxJzAlBgNVBAoMHkRldXRzY2hlIFRlbGVrb20gU2VjdXJpdHkg -R21iSDErMCkGA1UEAwwiVGVsZWtvbSBTZWN1cml0eSBUTFMgRUNDIFJvb3QgMjAyMDB2MBAGByqG -SM49AgEGBSuBBAAiA2IABM6//leov9Wq9xCazbzREaK9Z0LMkOsVGJDZos0MKiXrPk/OtdKPD/M1 -2kOLAoC+b1EkHQ9rK8qfwm9QMuU3ILYg/4gND21Ju9sGpIeQkpT0CdDPf8iAC8GXs7s1J8nCG6NC -MEAwHQYDVR0OBBYEFONyzG6VmUex5rNhTNHLq+O6zd6fMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P -AQH/BAQDAgEGMAoGCCqGSM49BAMDA2cAMGQCMHVSi7ekEE+uShCLsoRbQuHmKjYC2qBuGT8lv9pZ -Mo7k+5Dck2TOrbRBR2Diz6fLHgIwN0GMZt9Ba9aDAEH9L1r3ULRn0SyocddDypwnJJGDSA3PzfdU -ga/sf+Rn27iQ7t0l ------END CERTIFICATE----- - -Telekom Security TLS RSA Root 2023 -================================== ------BEGIN CERTIFICATE----- -MIIFszCCA5ugAwIBAgIQIZxULej27HF3+k7ow3BXlzANBgkqhkiG9w0BAQwFADBjMQswCQYDVQQG -EwJERTEnMCUGA1UECgweRGV1dHNjaGUgVGVsZWtvbSBTZWN1cml0eSBHbWJIMSswKQYDVQQDDCJU -ZWxla29tIFNlY3VyaXR5IFRMUyBSU0EgUm9vdCAyMDIzMB4XDTIzMDMyODEyMTY0NVoXDTQ4MDMy -NzIzNTk1OVowYzELMAkGA1UEBhMCREUxJzAlBgNVBAoMHkRldXRzY2hlIFRlbGVrb20gU2VjdXJp -dHkgR21iSDErMCkGA1UEAwwiVGVsZWtvbSBTZWN1cml0eSBUTFMgUlNBIFJvb3QgMjAyMzCCAiIw -DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAO01oYGA88tKaVvC+1GDrib94W7zgRJ9cUD/h3VC -KSHtgVIs3xLBGYSJwb3FKNXVS2xE1kzbB5ZKVXrKNoIENqil/Cf2SfHVcp6R+SPWcHu79ZvB7JPP -GeplfohwoHP89v+1VmLhc2o0mD6CuKyVU/QBoCcHcqMAU6DksquDOFczJZSfvkgdmOGjup5czQRx -UX11eKvzWarE4GC+j4NSuHUaQTXtvPM6Y+mpFEXX5lLRbtLevOP1Czvm4MS9Q2QTps70mDdsipWo -l8hHD/BeEIvnHRz+sTugBTNoBUGCwQMrAcjnj02r6LX2zWtEtefdi+zqJbQAIldNsLGyMcEWzv/9 -FIS3R/qy8XDe24tsNlikfLMR0cN3f1+2JeANxdKz+bi4d9s3cXFH42AYTyS2dTd4uaNir73Jco4v -zLuu2+QVUhkHM/tqty1LkCiCc/4YizWN26cEar7qwU02OxY2kTLvtkCJkUPg8qKrBC7m8kwOFjQg -rIfBLX7JZkcXFBGk8/ehJImr2BrIoVyxo/eMbcgByU/J7MT8rFEz0ciD0cmfHdRHNCk+y7AO+oML -KFjlKdw/fKifybYKu6boRhYPluV75Gp6SG12mAWl3G0eQh5C2hrgUve1g8Aae3g1LDj1H/1Joy7S -WWO/gLCMk3PLNaaZlSJhZQNg+y+TS/qanIA7AgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBBjAdBgNV -HQ4EFgQUtqeXgj10hZv3PJ+TmpV5dVKMbUcwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS2 -p5eCPXSFm/c8n5OalXl1UoxtRzANBgkqhkiG9w0BAQwFAAOCAgEAqMxhpr51nhVQpGv7qHBFfLp+ -sVr8WyP6Cnf4mHGCDG3gXkaqk/QeoMPhk9tLrbKmXauw1GLLXrtm9S3ul0A8Yute1hTWjOKWi0Fp -kzXmuZlrYrShF2Y0pmtjxrlO8iLpWA1WQdH6DErwM807u20hOq6OcrXDSvvpfeWxm4bu4uB9tPcy -/SKE8YXJN3nptT+/XOR0so8RYgDdGGah2XsjX/GO1WfoVNpbOms2b/mBsTNHM3dA+VKq3dSDz4V4 -mZqTuXNnQkYRIer+CqkbGmVps4+uFrb2S1ayLfmlyOw7YqPta9BO1UAJpB+Y1zqlklkg5LB9zVtz -aL1txKITDmcZuI1CfmwMmm6gJC3VRRvcxAIU/oVbZZfKTpBQCHpCNfnqwmbU+AGuHrS+w6jv/naa -oqYfRvaE7fzbzsQCzndILIyy7MMAo+wsVRjBfhnu4S/yrYObnqsZ38aKL4x35bcF7DvB7L6Gs4a8 -wPfc5+pbrrLMtTWGS9DiP7bY+A4A7l3j941Y/8+LN+ljX273CXE2whJdV/LItM3z7gLfEdxquVeE -HVlNjM7IDiPCtyaaEBRx/pOyiriA8A4QntOoUAw3gi/q4Iqd4Sw5/7W0cwDk90imc6y/st53BIe0 -o82bNSQ3+pCTE4FCxpgmdTdmQRCsu/WU48IxK63nI1bMNSWSs1A= ------END CERTIFICATE----- - -TWCA CYBER Root CA -================== ------BEGIN CERTIFICATE----- -MIIFjTCCA3WgAwIBAgIQQAE0jMIAAAAAAAAAATzyxjANBgkqhkiG9w0BAQwFADBQMQswCQYDVQQG -EwJUVzESMBAGA1UEChMJVEFJV0FOLUNBMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJUV0NB -IENZQkVSIFJvb3QgQ0EwHhcNMjIxMTIyMDY1NDI5WhcNNDcxMTIyMTU1OTU5WjBQMQswCQYDVQQG -EwJUVzESMBAGA1UEChMJVEFJV0FOLUNBMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJUV0NB -IENZQkVSIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDG+Moe2Qkgfh1s -Ts6P40czRJzHyWmqOlt47nDSkvgEs1JSHWdyKKHfi12VCv7qze33Kc7wb3+szT3vsxxFavcokPFh -V8UMxKNQXd7UtcsZyoC5dc4pztKFIuwCY8xEMCDa6pFbVuYdHNWdZsc/34bKS1PE2Y2yHer43CdT -o0fhYcx9tbD47nORxc5zb87uEB8aBs/pJ2DFTxnk684iJkXXYJndzk834H/nY62wuFm40AZoNWDT -Nq5xQwTxaWV4fPMf88oon1oglWa0zbfuj3ikRRjpJi+NmykosaS3Om251Bw4ckVYsV7r8Cibt4LK -/c/WMw+f+5eesRycnupfXtuq3VTpMCEobY5583WSjCb+3MX2w7DfRFlDo7YDKPYIMKoNM+HvnKkH -IuNZW0CP2oi3aQiotyMuRAlZN1vH4xfyIutuOVLF3lSnmMlLIJXcRolftBL5hSmO68gnFSDAS9TM -fAxsNAwmmyYxpjyn9tnQS6Jk/zuZQXLB4HCX8SS7K8R0IrGsayIyJNN4KsDAoS/xUgXJP+92ZuJF -2A09rZXIx4kmyA+upwMu+8Ff+iDhcK2wZSA3M2Cw1a/XDBzCkHDXShi8fgGwsOsVHkQGzaRP6AzR -wyAQ4VRlnrZR0Bp2a0JaWHY06rc3Ga4udfmW5cFZ95RXKSWNOkyrTZpB0F8mAwIDAQABo2MwYTAO -BgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBSdhWEUfMFib5do5E83 -QOGt4A1WNzAdBgNVHQ4EFgQUnYVhFHzBYm+XaORPN0DhreANVjcwDQYJKoZIhvcNAQEMBQADggIB -AGSPesRiDrWIzLjHhg6hShbNcAu3p4ULs3a2D6f/CIsLJc+o1IN1KriWiLb73y0ttGlTITVX1olN -c79pj3CjYcya2x6a4CD4bLubIp1dhDGaLIrdaqHXKGnK/nZVekZn68xDiBaiA9a5F/gZbG0jAn/x -X9AKKSM70aoK7akXJlQKTcKlTfjF/biBzysseKNnTKkHmvPfXvt89YnNdJdhEGoHK4Fa0o635yDR -IG4kqIQnoVesqlVYL9zZyvpoBJ7tRCT5dEA7IzOrg1oYJkK2bVS1FmAwbLGg+LhBoF1JSdJlBTrq -/p1hvIbZv97Tujqxf36SNI7JAG7cmL3c7IAFrQI932XtCwP39xaEBDG6k5TY8hL4iuO/Qq+n1M0R -FxbIQh0UqEL20kCGoE8jypZFVmAGzbdVAaYBlGX+bgUJurSkquLvWL69J1bY73NxW0Qz8ppy6rBe -Pm6pUlvscG21h483XjyMnM7k8M4MZ0HMzvaAq07MTFb1wWFZk7Q+ptq4NxKfKjLji7gh7MMrZQzv -It6IKTtM1/r+t+FHvpw+PoP7UV31aPcuIYXcv/Fa4nzXxeSDwWrruoBa3lwtcHb4yOWHh8qgnaHl -IhInD0Q9HWzq1MKLL295q39QpsQZp6F6t5b5wR9iWqJDB0BeJsas7a5wFsWqynKKTbDPAYsDP27X ------END CERTIFICATE----- - -SecureSign Root CA12 -==================== ------BEGIN CERTIFICATE----- -MIIDcjCCAlqgAwIBAgIUZvnHwa/swlG07VOX5uaCwysckBYwDQYJKoZIhvcNAQELBQAwUTELMAkG -A1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBMdGQuMR0wGwYDVQQDExRT -ZWN1cmVTaWduIFJvb3QgQ0ExMjAeFw0yMDA0MDgwNTM2NDZaFw00MDA0MDgwNTM2NDZaMFExCzAJ -BgNVBAYTAkpQMSMwIQYDVQQKExpDeWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMU -U2VjdXJlU2lnbiBSb290IENBMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6OcE3 -emhFKxS06+QT61d1I02PJC0W6K6OyX2kVzsqdiUzg2zqMoqUm048luT9Ub+ZyZN+v/mtp7JIKwcc -J/VMvHASd6SFVLX9kHrko+RRWAPNEHl57muTH2SOa2SroxPjcf59q5zdJ1M3s6oYwlkm7Fsf0uZl -fO+TvdhYXAvA42VvPMfKWeP+bl+sg779XSVOKik71gurFzJ4pOE+lEa+Ym6b3kaosRbnhW70CEBF -EaCeVESE99g2zvVQR9wsMJvuwPWW0v4JhscGWa5Pro4RmHvzC1KqYiaqId+OJTN5lxZJjfU+1Uef -NzFJM3IFTQy2VYzxV4+Kh9GtxRESOaCtAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P -AQH/BAQDAgEGMB0GA1UdDgQWBBRXNPN0zwRL1SXm8UC2LEzZLemgrTANBgkqhkiG9w0BAQsFAAOC -AQEAPrvbFxbS8hQBICw4g0utvsqFepq2m2um4fylOqyttCg6r9cBg0krY6LdmmQOmFxv3Y67ilQi -LUoT865AQ9tPkbeGGuwAtEGBpE/6aouIs3YIcipJQMPTw4WJmBClnW8Zt7vPemVV2zfrPIpyMpce -mik+rY3moxtt9XUa5rBouVui7mlHJzWhhpmA8zNL4WukJsPvdFlseqJkth5Ew1DgDzk9qTPxpfPS -vWKErI4cqc1avTc7bgoitPQV55FYxTpE05Uo2cBl6XLK0A+9H7MV2anjpEcJnuDLN/v9vZfVvhga -aaI5gdka9at/yOPiZwud9AzqVN/Ssq+xIvEg37xEHA== ------END CERTIFICATE----- - -SecureSign Root CA14 -==================== ------BEGIN CERTIFICATE----- -MIIFcjCCA1qgAwIBAgIUZNtaDCBO6Ncpd8hQJ6JaJ90t8sswDQYJKoZIhvcNAQEMBQAwUTELMAkG -A1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBMdGQuMR0wGwYDVQQDExRT -ZWN1cmVTaWduIFJvb3QgQ0ExNDAeFw0yMDA0MDgwNzA2MTlaFw00NTA0MDgwNzA2MTlaMFExCzAJ -BgNVBAYTAkpQMSMwIQYDVQQKExpDeWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMU -U2VjdXJlU2lnbiBSb290IENBMTQwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDF0nqh -1oq/FjHQmNE6lPxauG4iwWL3pwon71D2LrGeaBLwbCRjOfHw3xDG3rdSINVSW0KZnvOgvlIfX8xn -bacuUKLBl422+JX1sLrcneC+y9/3OPJH9aaakpUqYllQC6KxNedlsmGy6pJxaeQp8E+BgQQ8sqVb -1MWoWWd7VRxJq3qdwudzTe/NCcLEVxLbAQ4jeQkHO6Lo/IrPj8BGJJw4J+CDnRugv3gVEOuGTgpa -/d/aLIJ+7sr2KeH6caH3iGicnPCNvg9JkdjqOvn90Ghx2+m1K06Ckm9mH+Dw3EzsytHqunQG+bOE -kJTRX45zGRBdAuVwpcAQ0BB8b8VYSbSwbprafZX1zNoCr7gsfXmPvkPx+SgojQlD+Ajda8iLLCSx -jVIHvXiby8posqTdDEx5YMaZ0ZPxMBoH064iwurO8YQJzOAUbn8/ftKChazcqRZOhaBgy/ac18iz -ju3Gm5h1DVXoX+WViwKkrkMpKBGk5hIwAUt1ax5mnXkvpXYvHUC0bcl9eQjs0Wq2XSqypWa9a4X0 -dFbD9ed1Uigspf9mR6XU/v6eVL9lfgHWMI+lNpyiUBzuOIABSMbHdPTGrMNASRZhdCyvjG817XsY -AFs2PJxQDcqSMxDxJklt33UkN4Ii1+iW/RVLApY+B3KVfqs9TC7XyvDf4Fg/LS8EmjijAQIDAQAB -o0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUBpOjCl4oaTeq -YR3r6/wtbyPk86AwDQYJKoZIhvcNAQEMBQADggIBAJaAcgkGfpzMkwQWu6A6jZJOtxEaCnFxEM0E -rX+lRVAQZk5KQaID2RFPeje5S+LGjzJmdSX7684/AykmjbgWHfYfM25I5uj4V7Ibed87hwriZLoA -ymzvftAj63iP/2SbNDefNWWipAA9EiOWWF3KY4fGoweITedpdopTzfFP7ELyk+OZpDc8h7hi2/Ds -Hzc/N19DzFGdtfCXwreFamgLRB7lUe6TzktuhsHSDCRZNhqfLJGP4xjblJUK7ZGqDpncllPjYYPG -FrojutzdfhrGe0K22VoF3Jpf1d+42kd92jjbrDnVHmtsKheMYc2xbXIBw8MgAGJoFjHVdqqGuw6q -nsb58Nn4DSEC5MUoFlkRudlpcyqSeLiSV5sI8jrlL5WwWLdrIBRtFO8KvH7YVdiI2i/6GaX7i+B/ -OfVyK4XELKzvGUWSTLNhB9xNH27SgRNcmvMSZ4PPmz+Ln52kuaiWA3rF7iDeM9ovnhp6dB7h7sxa -OgTdsxoEqBRjrLdHEoOabPXm6RUVkRqEGQ6UROcSjiVbgGcZ3GOTEAtlLor6CZpO2oYofaphNdgO -pygau1LgePhsumywbrmHXumZNTfxPWQrqaA0k89jL9WB365jJ6UeTo3cKXhZ+PmhIIynJkBugnLN -eLLIjzwec+fBH7/PzqUqm9tEZDKgu39cJRNItX+S ------END CERTIFICATE----- - -SecureSign Root CA15 -==================== ------BEGIN CERTIFICATE----- -MIICIzCCAamgAwIBAgIUFhXHw9hJp75pDIqI7fBw+d23PocwCgYIKoZIzj0EAwMwUTELMAkGA1UE -BhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBMdGQuMR0wGwYDVQQDExRTZWN1 -cmVTaWduIFJvb3QgQ0ExNTAeFw0yMDA0MDgwODMyNTZaFw00NTA0MDgwODMyNTZaMFExCzAJBgNV -BAYTAkpQMSMwIQYDVQQKExpDeWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2Vj -dXJlU2lnbiBSb290IENBMTUwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQLUHSNZDKZmbPSYAi4Io5G -dCx4wCtELW1fHcmuS1Iggz24FG1Th2CeX2yF2wYUleDHKP+dX+Sq8bOLbe1PL0vJSpSRZHX+AezB -2Ot6lHhWGENfa4HL9rzatAy2KZMIaY+jQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD -AgEGMB0GA1UdDgQWBBTrQciu/NWeUUj1vYv0hyCTQSvT9DAKBggqhkjOPQQDAwNoADBlAjEA2S6J -fl5OpBEHvVnCB96rMjhTKkZEBhd6zlHp4P9mLQlO4E/0BdGF9jVg3PVys0Z9AjBEmEYagoUeYWmJ -SwdLZrWeqrqgHkHZAXQ6bkU6iYAZezKYVWOr62Nuk22rGwlgMU4= ------END CERTIFICATE----- - -D-TRUST BR Root CA 2 2023 -========================= ------BEGIN CERTIFICATE----- -MIIFqTCCA5GgAwIBAgIQczswBEhb2U14LnNLyaHcZjANBgkqhkiG9w0BAQ0FADBIMQswCQYDVQQG -EwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEJSIFJvb3QgQ0Eg -MiAyMDIzMB4XDTIzMDUwOTA4NTYzMVoXDTM4MDUwOTA4NTYzMFowSDELMAkGA1UEBhMCREUxFTAT -BgNVBAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDIgMjAyMzCC -AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK7/CVmRgApKaOYkP7in5Mg6CjoWzckjYaCT -cfKri3OPoGdlYNJUa2NRb0kz4HIHE304zQaSBylSa053bATTlfrdTIzZXcFhfUvnKLNEgXtRr90z -sWh81k5M/itoucpmacTsXld/9w3HnDY25QdgrMBM6ghs7wZ8T1soegj8k12b9py0i4a6Ibn08OhZ -WiihNIQaJZG2tY/vsvmA+vk9PBFy2OMvhnbFeSzBqZCTRphny4NqoFAjpzv2gTng7fC5v2Xx2Mt6 -++9zA84A9H3X4F07ZrjcjrqDy4d2A/wl2ecjbwb9Z/Pg/4S8R7+1FhhGaRTMBffb00msa8yr5LUL -QyReS2tNZ9/WtT5PeB+UcSTq3nD88ZP+npNa5JRal1QMNXtfbO4AHyTsA7oC9Xb0n9Sa7YUsOCIv -x9gvdhFP/Wxc6PWOJ4d/GUohR5AdeY0cW/jPSoXk7bNbjb7EZChdQcRurDhaTyN0dKkSw/bSuREV -MweR2Ds3OmMwBtHFIjYoYiMQ4EbMl6zWK11kJNXuHA7e+whadSr2Y23OC0K+0bpwHJwh5Q8xaRfX -/Aq03u2AnMuStIv13lmiWAmlY0cL4UEyNEHZmrHZqLAbWt4NDfTisl01gLmB1IRpkQLLddCNxbU9 -CZEJjxShFHR5PtbJFR2kWVki3PaKRT08EtY+XTIvAgMBAAGjgY4wgYswDwYDVR0TAQH/BAUwAwEB -/zAdBgNVHQ4EFgQUZ5Dw1t61GNVGKX5cq/ieCLxklRAwDgYDVR0PAQH/BAQDAgEGMEkGA1UdHwRC -MEAwPqA8oDqGOGh0dHA6Ly9jcmwuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3RfYnJfcm9vdF9jYV8y -XzIwMjMuY3JsMA0GCSqGSIb3DQEBDQUAA4ICAQA097N3U9swFrktpSHxQCF16+tIFoE9c+CeJyrr -d6kTpGoKWloUMz1oH4Guaf2Mn2VsNELZLdB/eBaxOqwjMa1ef67nriv6uvw8l5VAk1/DLQOj7aRv -U9f6QA4w9QAgLABMjDu0ox+2v5Eyq6+SmNMW5tTRVFxDWy6u71cqqLRvpO8NVhTaIasgdp4D/Ca4 -nj8+AybmTNudX0KEPUUDAxxZiMrcLmEkWqTqJwtzEr5SswrPMhfiHocaFpVIbVrg0M8JkiZmkdij -YQ6qgYF/6FKC0ULn4B0Y+qSFNueG4A3rvNTJ1jxD8V1Jbn6Bm2m1iWKPiFLY1/4nwSPFyysCu7Ff -/vtDhQNGvl3GyiEm/9cCnnRK3PgTFbGBVzbLZVzRHTF36SXDw7IyN9XxmAnkbWOACKsGkoHU6XCP -pz+y7YaMgmo1yEJagtFSGkUPFaUA8JR7ZSdXOUPPfH/mvTWze/EZTN46ls/pdu4D58JDUjxqgejB -WoC9EV2Ta/vH5mQ/u2kc6d0li690yVRAysuTEwrt+2aSEcr1wPrYg1UDfNPFIkZ1cGt5SAYqgpq/ -5usWDiJFAbzdNpQ0qTUmiteXue4Icr80knCDgKs4qllo3UCkGJCy89UDyibK79XH4I9TjvAA46jt -n/mtd+ArY0+ew+43u3gJhJ65bvspmZDogNOfJA== ------END CERTIFICATE----- - -TrustAsia TLS ECC Root CA -========================= ------BEGIN CERTIFICATE----- -MIICMTCCAbegAwIBAgIUNnThTXxlE8msg1UloD5Sfi9QaMcwCgYIKoZIzj0EAwMwWDELMAkGA1UE -BhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dpZXMsIEluYy4xIjAgBgNVBAMTGVRy -dXN0QXNpYSBUTFMgRUNDIFJvb3QgQ0EwHhcNMjQwNTE1MDU0MTU2WhcNNDQwNTE1MDU0MTU1WjBY -MQswCQYDVQQGEwJDTjElMCMGA1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywgSW5jLjEiMCAG -A1UEAxMZVHJ1c3RBc2lhIFRMUyBFQ0MgUm9vdCBDQTB2MBAGByqGSM49AgEGBSuBBAAiA2IABLh/ -pVs/AT598IhtrimY4ZtcU5nb9wj/1WrgjstEpvDBjL1P1M7UiFPoXlfXTr4sP/MSpwDpguMqWzJ8 -S5sUKZ74LYO1644xST0mYekdcouJtgq7nDM1D9rs3qlKH8kzsaNCMEAwDwYDVR0TAQH/BAUwAwEB -/zAdBgNVHQ4EFgQULIVTu7FDzTLqnqOH/qKYqKaT6RAwDgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49 -BAMDA2gAMGUCMFRH18MtYYZI9HlaVQ01L18N9mdsd0AaRuf4aFtOJx24mH1/k78ITcTaRTChD15K -eAIxAKORh/IRM4PDwYqROkwrULG9IpRdNYlzg8WbGf60oenUoWa2AaU2+dhoYSi3dOGiMQ== ------END CERTIFICATE----- - -TrustAsia TLS RSA Root CA -========================= ------BEGIN CERTIFICATE----- -MIIFgDCCA2igAwIBAgIUHBjYz+VTPyI1RlNUJDxsR9FcSpwwDQYJKoZIhvcNAQEMBQAwWDELMAkG -A1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dpZXMsIEluYy4xIjAgBgNVBAMT -GVRydXN0QXNpYSBUTFMgUlNBIFJvb3QgQ0EwHhcNMjQwNTE1MDU0MTU3WhcNNDQwNTE1MDU0MTU2 -WjBYMQswCQYDVQQGEwJDTjElMCMGA1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywgSW5jLjEi -MCAGA1UEAxMZVHJ1c3RBc2lhIFRMUyBSU0EgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIP -ADCCAgoCggIBAMMWuBtqpERz5dZO9LnPWwvB0ZqB9WOwj0PBuwhaGnrhB3YmH49pVr7+NmDQDIPN -lOrnxS1cLwUWAp4KqC/lYCZUlviYQB2srp10Zy9U+5RjmOMmSoPGlbYJQ1DNDX3eRA5gEk9bNb2/ -mThtfWza4mhzH/kxpRkQcwUqwzIZheo0qt1CHjCNP561HmHVb70AcnKtEj+qpklz8oYVlQwQX1Fk -zv93uMltrOXVmPGZLmzjyUT5tUMnCE32ft5EebuyjBza00tsLtbDeLdM1aTk2tyKjg7/D8OmYCYo -zza/+lcK7Fs/6TAWe8TbxNRkoDD75f0dcZLdKY9BWN4ArTr9PXwaqLEX8E40eFgl1oUh63kd0Nyr -z2I8sMeXi9bQn9P+PN7F4/w6g3CEIR0JwqH8uyghZVNgepBtljhb//HXeltt08lwSUq6HTrQUNoy -IBnkiz/r1RYmNzz7dZ6wB3C4FGB33PYPXFIKvF1tjVEK2sUYyJtt3LCDs3+jTnhMmCWr8n4uIF6C -FabW2I+s5c0yhsj55NqJ4js+k8UTav/H9xj8Z7XvGCxUq0DTbE3txci3OE9kxJRMT6DNrqXGJyV1 -J23G2pyOsAWZ1SgRxSHUuPzHlqtKZFlhaxP8S8ySpg+kUb8OWJDZgoM5pl+z+m6Ss80zDoWo8SnT -q1mt1tve1CuBAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFLgHkXlcBvRG/XtZ -ylomkadFK/hTMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQwFAAOCAgEAIZtqBSBdGBanEqT3 -Rz/NyjuujsCCztxIJXgXbODgcMTWltnZ9r96nBO7U5WS/8+S4PPFJzVXqDuiGev4iqME3mmL5Dw8 -veWv0BIb5Ylrc5tvJQJLkIKvQMKtuppgJFqBTQUYo+IzeXoLH5Pt7DlK9RME7I10nYEKqG/odv6L -TytpEoYKNDbdgptvT+Bz3Ul/KD7JO6NXBNiT2Twp2xIQaOHEibgGIOcberyxk2GaGUARtWqFVwHx -tlotJnMnlvm5P1vQiJ3koP26TpUJg3933FEFlJ0gcXax7PqJtZwuhfG5WyRasQmr2soaB82G39tp -27RIGAAtvKLEiUUjpQ7hRGU+isFqMB3iYPg6qocJQrmBktwliJiJ8Xw18WLK7nn4GS/+X/jbh87q -qA8MpugLoDzga5SYnH+tBuYc6kIQX+ImFTw3OffXvO645e8D7r0i+yiGNFjEWn9hongPXvPKnbwb -PKfILfanIhHKA9jnZwqKDss1jjQ52MjqjZ9k4DewbNfFj8GQYSbbJIweSsCI3zWQzj8C9GRh3sfI -B5XeMhg6j6JCQCTl1jNdfK7vsU1P1FeQNWrcrgSXSYk0ly4wBOeY99sLAZDBHwo/+ML+TvrbmnNz -FrwFuHnYWa8G5z9nODmxfKuU4CkUpijy323imttUQ/hHWKNddBWcwauwxzQ= ------END CERTIFICATE----- - -D-TRUST EV Root CA 2 2023 -========================= ------BEGIN CERTIFICATE----- -MIIFqTCCA5GgAwIBAgIQaSYJfoBLTKCnjHhiU19abzANBgkqhkiG9w0BAQ0FADBIMQswCQYDVQQG -EwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRSVVNUIEVWIFJvb3QgQ0Eg -MiAyMDIzMB4XDTIzMDUwOTA5MTAzM1oXDTM4MDUwOTA5MTAzMlowSDELMAkGA1UEBhMCREUxFTAT -BgNVBAoTDEQtVHJ1c3QgR21iSDEiMCAGA1UEAxMZRC1UUlVTVCBFViBSb290IENBIDIgMjAyMzCC -AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANiOo4mAC7JXUtypU0w3uX9jFxPvp1sjW2l1 -sJkKF8GLxNuo4MwxusLyzV3pt/gdr2rElYfXR8mV2IIEUD2BCP/kPbOx1sWy/YgJ25yE7CUXFId/ -MHibaljJtnMoPDT3mfd/06b4HEV8rSyMlD/YZxBTfiLNTiVR8CUkNRFeEMbsh2aJgWi6zCudR3Mf -vc2RpHJqnKIbGKBv7FD0fUDCqDDPvXPIEysQEx6Lmqg6lHPTGGkKSv/BAQP/eX+1SH977ugpbzZM -lWGG2Pmic4ruri+W7mjNPU0oQvlFKzIbRlUWaqZLKfm7lVa/Rh3sHZMdwGWyH6FDrlaeoLGPaxK3 -YG14C8qKXO0elg6DpkiVjTujIcSuWMYAsoS0I6SWhjW42J7YrDRJmGOVxcttSEfi8i4YHtAxq910 -7PncjLgcjmgjutDzUNzPZY9zOjLHfP7KgiJPvo5iR2blzYfi6NUPGJ/lBHJLRjwQ8kTCZFZxTnXo -nMkmdMV9WdEKWw9t/p51HBjGGjp82A0EzM23RWV6sY+4roRIPrN6TagD4uJ+ARZZaBhDM7DS3LAa -QzXupdqpRlyuhoFBAUp0JuyfBr/CBTdkdXgpaP3F9ev+R/nkhbDhezGdpn9yo7nELC7MmVcOIQxF -AZRl62UJxmMiCzNJkkg8/M3OsD6Onov4/knFNXJHAgMBAAGjgY4wgYswDwYDVR0TAQH/BAUwAwEB -/zAdBgNVHQ4EFgQUqvyREBuHkV8Wub9PS5FeAByxMoAwDgYDVR0PAQH/BAQDAgEGMEkGA1UdHwRC -MEAwPqA8oDqGOGh0dHA6Ly9jcmwuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3RfZXZfcm9vdF9jYV8y -XzIwMjMuY3JsMA0GCSqGSIb3DQEBDQUAA4ICAQCTy6UfmRHsmg1fLBWTxj++EI14QvBukEdHjqOS -Mo1wj/Zbjb6JzkcBahsgIIlbyIIQbODnmaprxiqgYzWRaoUlrRc4pZt+UPJ26oUFKidBK7GB0aL2 -QHWpDsvxVUjY7NHss+jOFKE17MJeNRqrphYBBo7q3C+jisosketSjl8MmxfPy3MHGcRqwnNU73xD -UmPBEcrCRbH0O1P1aa4846XerOhUt7KR/aypH/KH5BfGSah82ApB9PI+53c0BFLd6IHyTS9URZ0V -4U/M5d40VxDJI3IXcI1QcB9WbMy5/zpaT2N6w25lBx2Eof+pDGOJbbJAiDnXH3dotfyc1dZnaVuo -dNv8ifYbMvekJKZ2t0dT741Jj6m2g1qllpBFYfXeA08mD6iL8AOWsKwV0HFaanuU5nCT2vFp4LJi -TZ6P/4mdm13NRemUAiKN4DV/6PEEeXFsVIP4M7kFMhtYVRFP0OUnR3Hs7dpn1mKmS00PaaLJvOwi -S5THaJQXfuKOKD62xur1NGyfN4gHONuGcfrNlUhDbqNPgofXNJhuS5N5YHVpD/Aa1VP6IQzCP+k/ -HxiMkl14p3ZnGbuy6n/pcAlWVqOwDAstNl7F6cTVg8uGF5csbBNvh1qvSaYd2804BC5f4ko1Di1L -+KIkBI3Y4WNeApI02phhXBxvWHZks/wCuPWdCg== ------END CERTIFICATE----- - -SwissSign RSA TLS Root CA 2022 - 1 -================================== ------BEGIN CERTIFICATE----- -MIIFkzCCA3ugAwIBAgIUQ/oMX04bgBhE79G0TzUfRPSA7cswDQYJKoZIhvcNAQELBQAwUTELMAkG -A1UEBhMCQ0gxFTATBgNVBAoTDFN3aXNzU2lnbiBBRzErMCkGA1UEAxMiU3dpc3NTaWduIFJTQSBU -TFMgUm9vdCBDQSAyMDIyIC0gMTAeFw0yMjA2MDgxMTA4MjJaFw00NzA2MDgxMTA4MjJaMFExCzAJ -BgNVBAYTAkNIMRUwEwYDVQQKEwxTd2lzc1NpZ24gQUcxKzApBgNVBAMTIlN3aXNzU2lnbiBSU0Eg -VExTIFJvb3QgQ0EgMjAyMiAtIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLKmji -C8NXvDVjvHClO/OMPE5Xlm7DTjak9gLKHqquuN6orx122ro10JFwB9+zBvKK8i5VUXu7LCTLf5Im -gKO0lPaCoaTo+nUdWfMHamFk4saMla+ju45vVs9xzF6BYQ1t8qsCLqSX5XH8irCRIFucdFJtrhUn -WXjyCcplDn/L9Ovn3KlMd/YrFgSVrpxxpT8q2kFC5zyEEPThPYxr4iuRR1VPuFa+Rd4iUU1OKNlf -GUEGjw5NBuBwQCMBauTLE5tzrE0USJIt/m2n+IdreXXhvhCxqohAWVTXz8TQm0SzOGlkjIHRI36q -OTw7D59Ke4LKa2/KIj4x0LDQKhySio/YGZxH5D4MucLNvkEM+KRHBdvBFzA4OmnczcNpI/2aDwLO -EGrOyvi5KaM2iYauC8BPY7kGWUleDsFpswrzd34unYyzJ5jSmY0lpx+Gs6ZUcDj8fV3oT4MM0ZPl -EuRU2j7yrTrePjxF8CgPBrnh25d7mUWe3f6VWQQvdT/TromZhqwUtKiE+shdOxtYk8EXlFXIC+OC -eYSf8wCENO7cMdWP8vpPlkwGqnj73mSiI80fPsWMvDdUDrtaclXvyFu1cvh43zcgTFeRc5JzrBh3 -Q4IgaezprClG5QtO+DdziZaKHG29777YtvTKwP1H8K4LWCDFyB02rpeNUIMmJCn3nTsPBQIDAQAB -o2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBRvjmKLk0Ow -4UD2p8P98Q+4DxU4pTAdBgNVHQ4EFgQUb45ii5NDsOFA9qfD/fEPuA8VOKUwDQYJKoZIhvcNAQEL -BQADggIBAKwsKUF9+lz1GpUYvyypiqkkVHX1uECry6gkUSsYP2OprphWKwVDIqO310aewCoSPY6W -lkDfDDOLazeROpW7OSltwAJsipQLBwJNGD77+3v1dj2b9l4wBlgzHqp41eZUBDqyggmNzhYzWUUo -8aWjlw5DI/0LIICQ/+Mmz7hkkeUFjxOgdg3XNwwQiJb0Pr6VvfHDffCjw3lHC1ySFWPtUnWK50Zp -y1FVCypM9fJkT6lc/2cyjlUtMoIcgC9qkfjLvH4YoiaoLqNTKIftV+Vlek4ASltOU8liNr3Cjlvr -zG4ngRhZi0Rjn9UMZfQpZX+RLOV/fuiJz48gy20HQhFRJjKKLjpHE7iNvUcNCfAWpO2Whi4Z2L6M -OuhFLhG6rlrnub+xzI/goP+4s9GFe3lmozm1O2bYQL7Pt2eLSMkZJVX8vY3PXtpOpvJpzv1/THfQ -wUY1mFwjmwJFQ5Ra3bxHrSL+ul4vkSkphnsh3m5kt8sNjzdbowhq6/TdAo9QAwKxuDdollDruF/U -KIqlIgyKhPBZLtU30WHlQnNYKoH3dtvi4k0NX/a3vgW0rk4N3hY9A4GzJl5LuEsAz/+MF7psYC0n -hzck5npgL7XTgwSqT0N1osGDsieYK7EOgLrAhV5Cud+xYJHT6xh+cHiudoO+cVrQkOPKwRYlZ0rw -tnu64ZzZ ------END CERTIFICATE----- - -OISTE Server Root ECC G1 -======================== ------BEGIN CERTIFICATE----- -MIICNTCCAbqgAwIBAgIQI/nD1jWvjyhLH/BU6n6XnTAKBggqhkjOPQQDAzBLMQswCQYDVQQGEwJD -SDEZMBcGA1UECgwQT0lTVEUgRm91bmRhdGlvbjEhMB8GA1UEAwwYT0lTVEUgU2VydmVyIFJvb3Qg -RUNDIEcxMB4XDTIzMDUzMTE0NDIyOFoXDTQ4MDUyNDE0NDIyN1owSzELMAkGA1UEBhMCQ0gxGTAX -BgNVBAoMEE9JU1RFIEZvdW5kYXRpb24xITAfBgNVBAMMGE9JU1RFIFNlcnZlciBSb290IEVDQyBH -MTB2MBAGByqGSM49AgEGBSuBBAAiA2IABBcv+hK8rBjzCvRE1nZCnrPoH7d5qVi2+GXROiFPqOuj -vqQycvO2Ackr/XeFblPdreqqLiWStukhEaivtUwL85Zgmjvn6hp4LrQ95SjeHIC6XG4N2xml4z+c -KrhAS93mT6NjMGEwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBQ3TYhlz/w9itWj8UnATgwQ -b0K0nDAdBgNVHQ4EFgQUN02IZc/8PYrVo/FJwE4MEG9CtJwwDgYDVR0PAQH/BAQDAgGGMAoGCCqG -SM49BAMDA2kAMGYCMQCpKjAd0MKfkFFRQD6VVCHNFmb3U2wIFjnQEnx/Yxvf4zgAOdktUyBFCxxg -ZzFDJe0CMQCSia7pXGKDYmH5LVerVrkR3SW+ak5KGoJr3M/TvEqzPNcum9v4KGm8ay3sMaE641c= ------END CERTIFICATE----- - -OISTE Server Root RSA G1 -======================== ------BEGIN CERTIFICATE----- -MIIFgzCCA2ugAwIBAgIQVaXZZ5Qoxu0M+ifdWwFNGDANBgkqhkiG9w0BAQwFADBLMQswCQYDVQQG -EwJDSDEZMBcGA1UECgwQT0lTVEUgRm91bmRhdGlvbjEhMB8GA1UEAwwYT0lTVEUgU2VydmVyIFJv -b3QgUlNBIEcxMB4XDTIzMDUzMTE0MzcxNloXDTQ4MDUyNDE0MzcxNVowSzELMAkGA1UEBhMCQ0gx -GTAXBgNVBAoMEE9JU1RFIEZvdW5kYXRpb24xITAfBgNVBAMMGE9JU1RFIFNlcnZlciBSb290IFJT -QSBHMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKqu9KuCz/vlNwvn1ZatkOhLKdxV -YOPMvLO8LZK55KN68YG0nnJyQ98/qwsmtO57Gmn7KNByXEptaZnwYx4M0rH/1ow00O7brEi56rAU -jtgHqSSY3ekJvqgiG1k50SeH3BzN+Puz6+mTeO0Pzjd8JnduodgsIUzkik/HEzxux9UTl7Ko2yRp -g1bTacuCErudG/L4NPKYKyqOBGf244ehHa1uzjZ0Dl4zO8vbUZeUapU8zhhabkvG/AePLhq5Svdk -NCncpo1Q4Y2LS+VIG24ugBA/5J8bZT8RtOpXaZ+0AOuFJJkk9SGdl6r7NH8CaxWQrbueWhl/pIzY -+m0o/DjH40ytas7ZTpOSjswMZ78LS5bOZmdTaMsXEY5Z96ycG7mOaES3GK/m5Q9l3JUJsJMStR8+ -lKXHiHUhsd4JJCpM4rzsTGdHwimIuQq6+cF0zowYJmXa92/GjHtoXAvuY8BeS/FOzJ8vD+HomnqT -8eDI278n5mUpezbgMxVz8p1rhAhoKzYHKyfMeNhqhw5HdPSqoBNdZH702xSu+zrkL8Fl47l6QGzw -Brd7KJvX4V84c5Ss2XCTLdyEr0YconosP4EmQufU2MVshGYRi3drVByjtdgQ8K4p92cIiBdcuJd5 -z+orKu5YM+Vt6SmqZQENghPsJQtdLEByFSnTkCz3GkPVavBpAgMBAAGjYzBhMA8GA1UdEwEB/wQF -MAMBAf8wHwYDVR0jBBgwFoAU8snBDw1jALvsRQ5KH7WxszbNDo0wHQYDVR0OBBYEFPLJwQ8NYwC7 -7EUOSh+1sbM2zQ6NMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQwFAAOCAgEANGd5sjrG5T33 -I3K5Ce+SrScfoE4KsvXaFwyihdJ+klH9FWXXXGtkFu6KRcoMQzZENdl//nk6HOjG5D1rd9QhEOP2 -8yBOqb6J8xycqd+8MDoX0TJD0KqKchxRKEzdNsjkLWd9kYccnbz8qyiWXmFcuCIzGEgWUOrKL+ml -Sdx/PKQZvDatkuK59EvV6wit53j+F8Bdh3foZ3dPAGav9LEDOr4SfEE15fSmG0eLy3n31r8Xbk5l -8PjaV8GUgeV6Vg27Rn9vkf195hfkgSe7BYhW3SCl95gtkRlpMV+bMPKZrXJAlszYd2abtNUOshD+ -FKrDgHGdPY3ofRRsYWSGRqbXVMW215AWRqWFyp464+YTFrYVI8ypKVL9AMb2kI5Wj4kI3Zaq5tNq -qYY19tVFeEJKRvwDyF7YZvZFZSS0vod7VSCd9521Kvy5YhnLbDuv0204bKt7ph6N/Ome/msVuduC -msuY33OhkKCgxeDoAaijFJzIwZqsFVAzje18KotzlUBDJvyBpCpfOZC3J8tRd/iWkx7P8nd9H0aT -olkelUTFLXVksNb54Dxp6gS1HAviRkRNQzuXSXERvSS2wq1yVAb+axj5d9spLFKebXd7Yv0PTY6Y -MjAwcRLWJTXjn/hvnLXrahut6hDTlhZyBiElxky8j3C7DOReIoMt0r7+hVu05L0= ------END CERTIFICATE----- - -e-Szigno TLS Root CA 2023 -========================= ------BEGIN CERTIFICATE----- -MIICzzCCAjGgAwIBAgINAOhvGHvWOWuYSkmYCjAKBggqhkjOPQQDBDB1MQswCQYDVQQGEwJIVTER -MA8GA1UEBwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xFzAVBgNVBGEMDlZBVEhV -LTIzNTg0NDk3MSIwIAYDVQQDDBllLVN6aWdubyBUTFMgUm9vdCBDQSAyMDIzMB4XDTIzMDcxNzE0 -MDAwMFoXDTM4MDcxNzE0MDAwMFowdTELMAkGA1UEBhMCSFUxETAPBgNVBAcMCEJ1ZGFwZXN0MRYw -FAYDVQQKDA1NaWNyb3NlYyBMdGQuMRcwFQYDVQRhDA5WQVRIVS0yMzU4NDQ5NzEiMCAGA1UEAwwZ -ZS1Temlnbm8gVExTIFJvb3QgQ0EgMjAyMzCBmzAQBgcqhkjOPQIBBgUrgQQAIwOBhgAEAGgP36J8 -PKp0iGEKjcJMpQEiFNT3YHdCnAo4YKGMZz6zY+n6kbCLS+Y53wLCMAFSAL/fjO1ZrTJlqwlZULUZ -wmgcAOAFX9pQJhzDrAQixTpN7+lXWDajwRlTEArRzT/vSzUaQ49CE0y5LBqcvjC2xN7cS53kpDzL -Ltmt3999Cd8ukv+ho2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4E -FgQUWYQCYlpGePVd3I8KECgj3NXW+0UwHwYDVR0jBBgwFoAUWYQCYlpGePVd3I8KECgj3NXW+0Uw -CgYIKoZIzj0EAwQDgYsAMIGHAkIBLdqu9S54tma4n7Zwf2Z0z+yOfP7AAXmazlIC58PRDHpty7Ve -7hekm9sEdu4pKeiv+62sUvTXK9Z3hBC9xdIoaDQCQTV2WnXzkoYI9bIeCvZlC9p2x1L/Cx6AcCIw -wzPbGO2E14vs7dOoY4G1VnxHx1YwlGhza9IuqbnZLBwpvQy6uWWL ------END CERTIFICATE----- diff --git a/system/config/drivers.conf b/system/config/drivers.conf deleted file mode 100644 index 03770cf2..00000000 --- a/system/config/drivers.conf +++ /dev/null @@ -1 +0,0 @@ -version=1 diff --git a/system/config/environment.conf b/system/config/environment.conf deleted file mode 100644 index cae96d17..00000000 --- a/system/config/environment.conf +++ /dev/null @@ -1,7 +0,0 @@ -# ReliefOS global environment variables. -# Use one NAME=VALUE entry per line. Lines beginning with '#' are ignored. -# Per-user overrides are stored in /home//.environment. -PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -SHELL=/bin/bash -LANG=zh_CN.UTF-8 -MUSL_LOCPATH=/usr/share/musl/locales diff --git a/system/config/fileassoc.cfg b/system/config/fileassoc.cfg deleted file mode 100644 index 5d94ca8a..00000000 --- a/system/config/fileassoc.cfg +++ /dev/null @@ -1 +0,0 @@ -# User-defined file associations diff --git a/system/config/locale.conf b/system/config/locale.conf deleted file mode 100644 index fadb98ff..00000000 --- a/system/config/locale.conf +++ /dev/null @@ -1,2 +0,0 @@ -LANG=en_US.UTF-8 -MUSL_LOCPATH=/usr/share/musl/locales diff --git a/system/config/network.conf b/system/config/network.conf deleted file mode 100644 index b6f7a3a7..00000000 --- a/system/config/network.conf +++ /dev/null @@ -1 +0,0 @@ -dns_mode=dhcp diff --git a/system/docs/leonos.hlp b/system/docs/leonos.hlp deleted file mode 100644 index af06ffe5..00000000 --- a/system/docs/leonos.hlp +++ /dev/null @@ -1,146 +0,0 @@ -%%HLP -title: ReliefOS Help -author: ReliefOS Team -version: 1.0 - -%%DOC welcome -path: ReliefOS/Welcome -title: Welcome -author: ReliefOS Team -version: 1.0 -%%BODY -# Welcome to ReliefOS Help - -ReliefOS Help stores several Markdown pages inside one `.hlp` file. Use the tree on the left to choose a page, then read the document on the right. - -## Navigation - -- Use **Back** and **Forward** to jump between pages you have visited. -- The help language follows the application locale. Reopen Help after changing the system language. -- Use the mouse wheel to scroll long documents. - -## Included topics - -| Topic | Purpose | -| File permissions | Explains R, W, X, Delete and Manage | -| Blue screen errors | Explains STOP reasons, CPU vectors and Page Fault flags | -| Help file format | Shows how developers can write `.hlp` files | - -%%ENDDOC - -%%DOC system.bugcheck -path: System/Blue screen errors -title: Blue screen errors -author: ReliefOS Team -version: 1.0 -%%BODY -# Blue screen errors - -ReliefOS shows a blue bugcheck screen when the kernel cannot safely continue. The screen starts with a `STOP:` reason, then diagnostic fields such as `PID`, `TASK`, `MODE`, `VECTOR`, `ERROR`, `RIP`, `RSP`, `SS`, `CS`, `RFLAGS`, `CR2`, `TICKS` and `UPTIME_MS`. - -## How to read the screen - -| Field | Meaning | -| STOP | The primary reason. Match this first. | -| PID / TASK | The current task when the stop happened. | -| MODE | `kernel` means kernel or trusted system code; `user` means a Ring-3 context was active. | -| VECTOR | CPU exception vector number. `14` is Page Fault. | -| ERROR | CPU error code. For Page Fault, use the `PF FLAGS` line. | -| RIP / RSP | Instruction pointer and stack pointer at the fault. | -| CR2 | Faulting virtual address for Page Fault. | -| TICKS / UPTIME_MS | Time since boot, useful for matching serial logs. | - -## STOP reasons - -| STOP reason | Meaning | Usual next step | -| KERNEL PANIC | Kernel code called `panic()` or `bugcheck_panic()`. The detail line is the panic message. | Search the message in the source tree or serial log. | -| Unhandled Page Fault | A kernel-mode page fault, or a page fault that could not be recovered by lazy mapping. | Check `CR2`, `RIP`, and `PF FLAGS`. | -| Divide By Zero | CPU vector 0. Code divided by zero. | Inspect the function at `RIP`. | -| Debug Exception | CPU vector 1. Debug trap. | Usually a bad debug state or unexpected trap. | -| Non Maskable Interrupt | CPU vector 2. NMI. | Treat as hardware or emulator-level interruption. | -| Breakpoint | CPU vector 3. Breakpoint instruction reached. | Remove unintended breakpoint or inspect debug path. | -| Overflow | CPU vector 4. Overflow trap. | Inspect arithmetic path near `RIP`. | -| Bound Range Exceeded | CPU vector 5. Bound check failed. | Inspect array/range code. | -| Invalid Opcode | CPU vector 6. Unknown or unsupported instruction. | Check compiler output, CPU feature use, or corrupted code. | -| Device Not Available | CPU vector 7. FPU/SIMD device state not available. | Check task/FPU setup. | -| Double Fault | CPU vector 8. The CPU faulted while handling another fault. | Often stack, IDT, TSS or severe memory corruption. | -| Invalid TSS | CPU vector 10. Task-state segment is invalid. | Check TSS/GDT setup. | -| Segment Not Present | CPU vector 11. Segment descriptor is unavailable. | Check GDT/segment selector state. | -| Stack Segment Fault | CPU vector 12. Stack segment fault. | Check stack selector and stack pointer. | -| General Protection Fault | CPU vector 13. Protection rule violation. | Check bad selectors, privilege transitions, invalid descriptors or privileged instructions. | -| Page Fault | CPU vector 14. Memory translation or protection fault. | Decode `PF FLAGS` and `CR2`. | -| x87 Floating Point Fault | CPU vector 16. x87 floating-point exception. | Check floating-point state and exception masks. | -| Alignment Check | CPU vector 17. Alignment check exception. | Check unaligned memory access under alignment checking. | -| Machine Check | CPU vector 18. CPU reported a machine check. | Treat as hardware/emulator fatal state. | -| SIMD Floating Point Fault | CPU vector 19. SSE/SIMD floating-point exception. | Check SIMD state and exception masks. | -| Virtualization Exception | CPU vector 20. Virtualization exception. | Check VM/emulator or virtualization feature use. | -| Control Protection Exception | CPU vector 21. Control-flow protection exception. | Check control protection state if enabled. | -| Hypervisor Injection Exception | CPU vector 28. Hypervisor-injected exception. | Check hypervisor/emulator state. | -| VMM Communication Exception | CPU vector 29. VMM communication exception. | Check hypervisor communication path. | -| Security Exception | CPU vector 30. CPU security exception. | Check CPU security feature state. | -| CPU Exception | Any other vector. | Use `VECTOR`, `ERROR` and `RIP` to identify the source. | - -## Page Fault flags - -When `VECTOR` is `14`, the blue screen shows `PF FLAGS`. - -| Flag | Meaning when 1 | Meaning when 0 | -| P | Protection violation on a present page. | Page was not present. | -| W | Fault happened during a write. | Fault happened during a read. | -| U | Fault came from user mode. | Fault came from supervisor/kernel mode. | -| RSVD | Reserved page-table bit was set. | No reserved-bit violation. | -| IF | Fault happened during instruction fetch. | Fault happened during data access. | - -## User application faults - -Unrecoverable user-mode page faults are delivered to the application as Linux signals, normally `SIGSEGV` or `SIGBUS`. The default signal action terminates the process. Kernel-mode faults without a safe recovery path still stop the system; inspect the serial diagnostics for the fault address and instruction pointer. - -%%ENDDOC - -%%DOC fs.permissions -path: System/File permissions -title: File permissions -author: ReliefOS Team -version: 1.0 -%%BODY -# File permissions - -Files and directories use POSIX owner, group and read/write/execute mode bits. - -- Read opens file contents or lists directory names. -- Write changes file contents. Creating, removing and renaming entries requires write and search permission on the parent directory. -- Execute runs a program; on directories it permits searching and path traversal. -- Use file properties, chmod and chown to inspect and change modes and ownership when authorized. -- Application shortcuts use standard .desktop entries; file and folder shortcuts use symbolic links. Programs run with the current user's permissions. -- A symbolic link resolves to its target; target and parent directory permissions govern access. - -%%DOC help.format -path: Developers/Help file format -title: Help file format -author: ReliefOS Team -version: 1.0 -%%BODY -# Help file format - -A `.hlp` file is a plain text container. It starts with file metadata, then one or more document pages. - -```text - %%HLP - title: My Help - author: Example - version: 1.0 - - %%DOC page.id - path: Section/Page title - title: Page title - author: Example - version: 1.0 - %%BODY - # Markdown page - Body text. - %%ENDDOC -``` - -Document ids may contain letters, digits, `.`, `_` and `-`. The `path` field builds the left-side tree. Store translated files in `/usr/share/doc/reliefos//`; the default file is the English fallback. - -%%ENDDOC diff --git a/system/docs/zh_CN/leonos.hlp b/system/docs/zh_CN/leonos.hlp deleted file mode 100644 index 5ef7edd8..00000000 --- a/system/docs/zh_CN/leonos.hlp +++ /dev/null @@ -1,146 +0,0 @@ -%%HLP -title: ReliefOS 帮助 -author: ReliefOS Team -version: 1.0 - -%%DOC welcome -path: ReliefOS/欢迎 -title: 欢迎 -author: ReliefOS Team -version: 1.0 -%%BODY -# 欢迎使用 ReliefOS 帮助 - -ReliefOS 帮助把多个 Markdown 页面放在同一个 `.hlp` 文件里。左边选择文档,右边阅读正文。 - -## 导航 - -- 使用 **后退** 和 **前进** 在访问过的页面之间跳转。 -- 帮助语言跟随应用 locale。更改系统语言后,重新打开帮助。 -- 使用鼠标滚轮滚动长文档。 - -## 已包含主题 - -| 主题 | 说明 | -| 文件权限 | 解释 R、W、X、Delete、Manage | -| 蓝屏错误 | 解释 STOP 原因、CPU 向量和 Page Fault 标志 | -| 帮助文件格式 | 说明开发者如何编写 `.hlp` 文件 | - -%%ENDDOC - -%%DOC system.bugcheck -path: 系统/蓝屏错误 -title: 蓝屏错误 -author: ReliefOS Team -version: 1.0 -%%BODY -# 蓝屏错误 - -当内核无法安全继续运行时,ReliefOS 会显示蓝屏 bugcheck。屏幕顶部会显示 `STOP:` 原因,后面是 `PID`、`TASK`、`MODE`、`VECTOR`、`ERROR`、`RIP`、`RSP`、`SS`、`CS`、`RFLAGS`、`CR2`、`TICKS`、`UPTIME_MS` 等诊断字段。 - -## 如何阅读蓝屏 - -| 字段 | 含义 | -| STOP | 主要停止原因,优先匹配这一项。 | -| PID / TASK | 触发停止时的当前任务。 | -| MODE | `kernel` 表示内核或受信系统代码;`user` 表示当时处在 Ring-3 上下文。 | -| VECTOR | CPU 异常向量号。`14` 表示 Page Fault。 | -| ERROR | CPU 错误码。Page Fault 时主要看 `PF FLAGS` 行。 | -| RIP / RSP | 出错时的指令指针和栈指针。 | -| CR2 | Page Fault 时的出错虚拟地址。 | -| TICKS / UPTIME_MS | 启动后的时间,方便和串口日志对应。 | - -## STOP 原因 - -| STOP 原因 | 含义 | 通常怎么查 | -| KERNEL PANIC | 内核代码调用了 `panic()` 或 `bugcheck_panic()`。detail 行就是 panic 消息。 | 在源码或串口日志里搜索该消息。 | -| Unhandled Page Fault | 内核态页面错误,或懒加载映射无法恢复的页面错误。 | 查看 `CR2`、`RIP` 和 `PF FLAGS`。 | -| Divide By Zero | CPU 向量 0,除零。 | 查看 `RIP` 附近的函数。 | -| Debug Exception | CPU 向量 1,调试异常。 | 通常是错误的调试状态或意外 trap。 | -| Non Maskable Interrupt | CPU 向量 2,不可屏蔽中断。 | 按硬件或模拟器层中断处理。 | -| Breakpoint | CPU 向量 3,执行了断点指令。 | 移除意外断点,或检查调试路径。 | -| Overflow | CPU 向量 4,溢出 trap。 | 检查 `RIP` 附近的算术逻辑。 | -| Bound Range Exceeded | CPU 向量 5,范围检查失败。 | 检查数组或范围逻辑。 | -| Invalid Opcode | CPU 向量 6,无效或不支持的指令。 | 检查编译输出、CPU 特性使用或代码损坏。 | -| Device Not Available | CPU 向量 7,FPU/SIMD 设备状态不可用。 | 检查任务和 FPU 初始化。 | -| Double Fault | CPU 向量 8,处理异常时再次异常。 | 常见原因是栈、IDT、TSS 或严重内存破坏。 | -| Invalid TSS | CPU 向量 10,TSS 无效。 | 检查 TSS/GDT 设置。 | -| Segment Not Present | CPU 向量 11,段描述符不存在。 | 检查 GDT 和段选择子状态。 | -| Stack Segment Fault | CPU 向量 12,栈段异常。 | 检查栈选择子和栈指针。 | -| General Protection Fault | CPU 向量 13,保护规则被违反。 | 检查错误选择子、特权级切换、无效描述符或特权指令。 | -| Page Fault | CPU 向量 14,内存转换或权限错误。 | 解读 `PF FLAGS` 和 `CR2`。 | -| x87 Floating Point Fault | CPU 向量 16,x87 浮点异常。 | 检查浮点状态和异常屏蔽。 | -| Alignment Check | CPU 向量 17,对齐检查异常。 | 检查开启对齐检查后的非对齐内存访问。 | -| Machine Check | CPU 向量 18,CPU 报告机器检查。 | 按硬件或模拟器致命状态处理。 | -| SIMD Floating Point Fault | CPU 向量 19,SSE/SIMD 浮点异常。 | 检查 SIMD 状态和异常屏蔽。 | -| Virtualization Exception | CPU 向量 20,虚拟化异常。 | 检查 VM/模拟器或虚拟化特性使用。 | -| Control Protection Exception | CPU 向量 21,控制流保护异常。 | 如果启用了控制保护,检查对应状态。 | -| Hypervisor Injection Exception | CPU 向量 28,Hypervisor 注入异常。 | 检查 hypervisor/模拟器状态。 | -| VMM Communication Exception | CPU 向量 29,VMM 通信异常。 | 检查 hypervisor 通信路径。 | -| Security Exception | CPU 向量 30,CPU 安全异常。 | 检查 CPU 安全特性状态。 | -| CPU Exception | 其他向量。 | 用 `VECTOR`、`ERROR` 和 `RIP` 定位来源。 | - -## Page Fault 标志 - -当 `VECTOR` 是 `14` 时,蓝屏会显示 `PF FLAGS`。 - -| 标志 | 为 1 时 | 为 0 时 | -| P | 页面存在,但发生权限违规。 | 页面不存在。 | -| W | 写入时出错。 | 读取时出错。 | -| U | 来自用户态。 | 来自 supervisor/内核态。 | -| RSVD | 页表保留位被设置。 | 没有保留位违规。 | -| IF | 取指令时出错。 | 数据访问时出错。 | - -## 用户程序页面错误 - -无法恢复的用户态页面错误会作为 Linux 信号交给应用,通常为 `SIGSEGV` 或 `SIGBUS`;默认信号处理会终止进程。没有安全恢复路径的内核态错误仍会停止系统,请通过串口诊断查看出错地址和指令指针。 - -%%ENDDOC - -%%DOC fs.permissions -path: 系统/文件权限 -title: 文件权限 -author: ReliefOS Team -version: 1.0 -%%BODY -# 文件权限 - -文件与目录使用 POSIX 所有者、用户组及读、写、执行权限位。 - -- 读权限允许读取文件内容或列出目录名称。 -- 写权限允许修改文件内容;创建、删除和重命名目录项需要父目录的写入与搜索权限。 -- 执行权限允许运行程序;目录的执行权限表示搜索与路径遍历。 -- 可在文件属性中查看权限,并在获得授权时使用 chmod、chown 调整权限与所有者。 -- 应用快捷方式使用标准 .desktop 文件;文件与文件夹快捷方式使用符号链接。程序以当前用户权限运行。 -- 符号链接解析到目标;访问时遵守目标与父目录的权限。 - -%%DOC help.format -path: 开发者/帮助文件格式 -title: 帮助文件格式 -author: ReliefOS Team -version: 1.0 -%%BODY -# 帮助文件格式 - -`.hlp` 文件是纯文本容器。文件开头是文件信息,后面可以包含多个文档页面。 - -```text - %%HLP - title: 我的帮助 - author: Example - version: 1.0 - - %%DOC page.id - path: 分类/页面标题 - title: 页面标题 - author: Example - version: 1.0 - %%BODY - # Markdown 页面 - 正文。 - %%ENDDOC -``` - -文档 id 可以包含字母、数字、`.`、`_`、`-`。`path` 会生成左侧目录树。译本放在 `/usr/share/doc/reliefos//` 目录中,默认路径的文件用作英文回退。 - -%%ENDDOC diff --git a/system/fonts/Deng.ttf b/system/fonts/Deng.ttf deleted file mode 100644 index 0b8756c4..00000000 Binary files a/system/fonts/Deng.ttf and /dev/null differ diff --git a/system/fonts/simsun.ttc b/system/fonts/simsun.ttc deleted file mode 100644 index 1203783f..00000000 Binary files a/system/fonts/simsun.ttc and /dev/null differ diff --git a/system/fonts/system.psf b/system/fonts/system.psf deleted file mode 100644 index 0902d64c..00000000 Binary files a/system/fonts/system.psf and /dev/null differ diff --git a/system/fonts/times.ttf b/system/fonts/times.ttf deleted file mode 100644 index 11d6b508..00000000 Binary files a/system/fonts/times.ttf and /dev/null differ diff --git a/system/initramfs/functions b/system/initramfs/functions deleted file mode 100644 index e8ba10b9..00000000 --- a/system/initramfs/functions +++ /dev/null @@ -1,67 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 -# Pure command-line parsing shared with the host policy regression. -partuuid_device() { - case $1 in PARTUUID=*) partuuid_identity=${1#PARTUUID=} ;; *) return 1 ;; esac - case $partuuid_identity in ''|*[!0-9A-Fa-f-]*) return 1 ;; esac - partuuid_identity=$(printf '%s' "$partuuid_identity" | tr 'A-F' 'a-f') || return 1 - printf '/dev/disk/by-partuuid/%s\n' "$partuuid_identity" -} - -parse_cmdline() { - root= rootfstype= rootflags= mode= installer_payload= final_init=/sbin/init root_access=rw - set -f - for argument in $1; do - case $argument in - root=*) root=${argument#root=} ;; - rootfstype=*) rootfstype=${argument#rootfstype=} ;; - rootflags=*) rootflags=${argument#rootflags=} ;; - init=*) final_init=${argument#init=} ;; - mode=*) mode=${argument#mode=} ;; - reliefos.installer_payload=*) installer_payload=${argument#reliefos.installer_payload=} ;; - ro|rw) root_access=$argument ;; - esac - done - set +f - case $final_init in /*) ;; *) return 1 ;; esac - case $mode in installer|live) root=/dev/ram0 ;; esac - case $mode in - installer) case $installer_payload in ''|squashfs) ;; *) return 1 ;; esac ;; - *) installer_payload= ;; - esac - case $root in '"'*'"') root=${root#\"}; root=${root%\"} ;; esac - case $root in /dev/*|PARTUUID=*|UUID=*|LABEL=*) ;; - *) return 1 ;; - esac - case $root in *'"'*|*' '*|*'\'*|*'..'*) return 1 ;; esac - return 0 -} - -# Parse data only. The selected PARTUUID, when supplied by GRUB, must own the -# per-installation /boot view; a copied fstab cannot retarget another system. -parse_boot_fstab() { - esp_source= esp_type= esp_options= esp_point=/boot boot_bind= - [ -r "$1" ] || return 0 - while read -r source point type flags rest || [ -n "$source" ]; do - case $source in ''|'#'*) continue ;; esac - case $point in /boot|/efi) ;; *) continue ;; esac - if [ "$point" = /boot ] && [ "$type" = none ]; then - [ "$flags" = bind ] || return 1 - [ -z "$boot_bind" ] || return 1 - case $source in /efi/reliefos/instances/????????-????-????-????-????????????) ;; *) return 1 ;; esac - instance_uuid=${source##*/} - case $instance_uuid in *[!0-9a-f-]*) return 1 ;; esac - [ -z "${2:-}" ] || [ "$instance_uuid" = "$2" ] || return 1 - boot_bind=$source - continue - fi - case $type in vfat|fat32) ;; *) return 1 ;; esac - [ -z "$esp_source" ] || return 1 - esp_source=$source; esp_type=$type; esp_options=$flags; esp_point=$point - done < "$1" - if [ "$esp_point" = /efi ]; then - [ -n "$boot_bind" ] && [ -n "$esp_source" ] || return 1 - else - [ -z "$boot_bind" ] || return 1 - fi - return 0 -} diff --git a/system/initramfs/init b/system/initramfs/init deleted file mode 100644 index ec72d71f..00000000 --- a/system/initramfs/init +++ /dev/null @@ -1,131 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -# Policy only: native module, mount and exec operations use the Linux ABI. -PATH=/bin:/sbin:/usr/bin:/usr/sbin -export PATH -umask 022 - -# Running this file on a build host must never mount or modify anything. -if [ "$$" != 1 ] || [ "$(uname -s)" != ReliefNT ]; then - echo 'ReliefOS early init: refusing to run outside ReliefNT PID 1' >&2 - exit 77 -fi - -fail() { - echo "[initramfs] ERROR: $*" >&2 - echo '[initramfs] Entering the early recovery shell; exit retries /init.' >&2 - while :; do - /bin/sh -i /dev/console 2>&1 - exec /init - done -} - -. /etc/initramfs-functions || fail 'missing boot policy functions' -for provider in dev proc sys; do - mkdir -p "/$provider" || fail "create /$provider" - if ! mountpoint -q "/$provider"; then - case $provider in dev) filesystem=devfs ;; proc) filesystem=proc ;; sys) filesystem=sysfs ;; esac - mount -t "$filesystem" "$filesystem" "/$provider" || fail "mount $filesystem" - fi -done -expected=$(cat /etc/kernel-release) || fail 'missing kernel release' -[ "$(uname -r)" = "$expected" ] || fail 'kernel/initramfs ABI mismatch' -cmdline=$(cat /proc/cmdline) || fail 'read kernel command line' -parse_cmdline "$cmdline" || fail 'use root=PARTUUID=..., root=UUID=..., root=LABEL=... or root=/dev/... and an absolute init=' - -while IFS= read -r module || [ -n "$module" ]; do - case $module in ''|'#'*) continue ;; *[!A-Za-z0-9_-]*) fail 'invalid boot module list' ;; esac - modprobe "$module" || fail "load boot module $module" -done /dev/null) || continue + [[ $label == RELIEFOSINST ]] || continue + fi + if mount -t iso9660 -o ro,nosuid,nodev,noexec -- "$device" "$media"; then + if [[ -f $media/reliefos.id && $(< "$media/reliefos.id") == 'ReliefOS online installer v1' ]]; then + printf 'Mounted ReliefOS installation medium on %s\n' "$media" >&2 + exit 0 + fi + umount -- "$media" + fi + done + printf 'Could not find the ReliefOS installation medium\n' >&2 + exit 1 +fi + +# Use the same VT setup and graphics policy as the installed desktop. +case " $(/dev/null 2>&1; then - eval "$(dircolors --sh)" -fi -if [[ ! ${LESS+x} ]]; then - export LESS=-R -fi - -# These three entries are provided by GNU coreutils. BusyBox grep accepts -# --color but ignores it; do not mistake accepting an option for color support. -for reliefos_color_command in ls dir vdir; do - if [[ $(type -t "$reliefos_color_command") == file ]]; then - alias "$reliefos_color_command=$reliefos_color_command --color=auto" - fi -done -unset reliefos_color_command diff --git a/system/rootfs/etc/bash/reliefos.sh b/system/rootfs/etc/bash/reliefos.sh deleted file mode 100644 index bb41c306..00000000 --- a/system/rootfs/etc/bash/reliefos.sh +++ /dev/null @@ -1,11 +0,0 @@ -RELIEFOS_BASHRC_LOADED=1 -HISTSIZE=${HISTSIZE:-10000} -HISTFILESIZE=${HISTFILESIZE:-20000} -HISTCONTROL=${HISTCONTROL:-ignoreboth} -shopt -s histappend checkwinsize cmdhist -case ${PS1-} in - '\s-\v\$ '|'\h:\w\$ ') PS1='\u@\h:\w\$ ' ;; -esac -if [[ $- == *i* && -t 1 ]] && command -v fastfetch >/dev/null 2>&1; then - fastfetch || : -fi diff --git a/system/rootfs/etc/default/useradd b/system/rootfs/etc/default/useradd deleted file mode 100644 index d9c67463..00000000 --- a/system/rootfs/etc/default/useradd +++ /dev/null @@ -1,4 +0,0 @@ -SHELL=/bin/bash -HOME=/home -SKEL=/etc/skel -CREATE_MAIL_SPOOL=no diff --git a/system/rootfs/etc/fstab b/system/rootfs/etc/fstab deleted file mode 100644 index 2e8b5c66..00000000 --- a/system/rootfs/etc/fstab +++ /dev/null @@ -1,5 +0,0 @@ -# Live and installer roots are supplied by the boot storage layer. -# Disk-image creation and fresh installation replace this file with the actual -# GPT by-partuuid sources for / and the ESP. Fresh installs mount the ESP at -# /efi and bind their UUID-named instance to /boot; standalone images use /boot. -# diff --git a/system/rootfs/etc/group b/system/rootfs/etc/group deleted file mode 100644 index b69e0972..00000000 --- a/system/rootfs/etc/group +++ /dev/null @@ -1,5 +0,0 @@ -root:x:0: -uucp:x:14: -wheel:x:10: -video:x:44: -nobody:x:65534: diff --git a/system/rootfs/etc/gshadow b/system/rootfs/etc/gshadow deleted file mode 100644 index 00026734..00000000 --- a/system/rootfs/etc/gshadow +++ /dev/null @@ -1,4 +0,0 @@ -root:!:: -wheel:!:: -video:!:: -nobody:!:: diff --git a/system/rootfs/etc/gtk-3.0/settings.ini b/system/rootfs/etc/gtk-3.0/settings.ini deleted file mode 100644 index 104f7f94..00000000 --- a/system/rootfs/etc/gtk-3.0/settings.ini +++ /dev/null @@ -1,5 +0,0 @@ -# GTK 3 has no session-wide xsettings daemon here, so the system default -# selects the icon theme. adwaita-xfce inherits Adwaita and adds the legacy -# icon names (e.g. applications-other) that plain Adwaita no longer ships. -[Settings] -gtk-icon-theme-name=adwaita-xfce diff --git a/system/rootfs/etc/hostname b/system/rootfs/etc/hostname deleted file mode 100644 index 30bb3971..00000000 --- a/system/rootfs/etc/hostname +++ /dev/null @@ -1 +0,0 @@ -reliefos diff --git a/system/rootfs/etc/hosts b/system/rootfs/etc/hosts deleted file mode 100644 index 1a61d83a..00000000 --- a/system/rootfs/etc/hosts +++ /dev/null @@ -1,2 +0,0 @@ -127.0.0.1 localhost localhost.localdomain -::1 localhost localhost.localdomain diff --git a/system/rootfs/etc/init.d/dev b/system/rootfs/etc/init.d/dev deleted file mode 100755 index 5a845621..00000000 --- a/system/rootfs/etc/init.d/dev +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/openrc-run - -description="ReliefNT device namespace" - -depend() { - provide dev - before hwdrivers acpid machine-id watchdog -} - -start() { - return 0 -} diff --git a/system/rootfs/etc/init.d/leonos-device b/system/rootfs/etc/init.d/leonos-device deleted file mode 100755 index 93e03c13..00000000 --- a/system/rootfs/etc/init.d/leonos-device +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /sbin/rc-service reliefos-device "$@" diff --git a/system/rootfs/etc/init.d/leonos-dhcp b/system/rootfs/etc/init.d/leonos-dhcp deleted file mode 100755 index 3e245713..00000000 --- a/system/rootfs/etc/init.d/leonos-dhcp +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /sbin/rc-service reliefos-dhcp "$@" diff --git a/system/rootfs/etc/init.d/leonos-ntp b/system/rootfs/etc/init.d/leonos-ntp deleted file mode 100755 index 772bac73..00000000 --- a/system/rootfs/etc/init.d/leonos-ntp +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /sbin/rc-service reliefos-ntp "$@" diff --git a/system/rootfs/etc/init.d/leonos-runtime b/system/rootfs/etc/init.d/leonos-runtime deleted file mode 100755 index 78ea6cf1..00000000 --- a/system/rootfs/etc/init.d/leonos-runtime +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /sbin/rc-service reliefos-runtime "$@" diff --git a/system/rootfs/etc/init.d/reliefos-audio b/system/rootfs/etc/init.d/reliefos-audio deleted file mode 100755 index a9340783..00000000 --- a/system/rootfs/etc/init.d/reliefos-audio +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -description="ReliefOS ALSA state" -depend() { need reliefos-modules; after reliefos-runtime; } -state=/var/lib/alsa/asound.state -start() { - if [ -r "$state" ]; then - alsactl -f "$state" restore || eerror "alsactl restore failed" - fi - return 0 -} -stop() { - checkpath --directory --mode 0755 /var/lib/alsa || return 1 - tmp="$state.tmp.$$" - rm -f "$tmp" - if ! alsactl -f "$tmp" store; then - rm -f "$tmp" - eerror "alsactl store failed; retaining $state" - return 1 - fi - if ! mv -f "$tmp" "$state"; then - rm -f "$tmp" - eerror "cannot atomically publish $state" - return 1 - fi - return 0 -} diff --git a/system/rootfs/etc/init.d/reliefos-boot-confirm b/system/rootfs/etc/init.d/reliefos-boot-confirm deleted file mode 100755 index 5e4ff829..00000000 --- a/system/rootfs/etc/init.d/reliefos-boot-confirm +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/openrc-run -# SPDX-License-Identifier: Apache-2.0 -description="Confirm the exact ReliefOS kernel boot trial" -depend() { - need reliefos-runtime reliefos-modules - after localmount reliefos-device reliefos-audio reliefos-dhcp reliefos-swap-check xdm -} -start() { - ebegin "Confirming the running kernel and early userspace" - /usr/libexec/reliefos/kernel-bundle --confirm-running / /boot - eend $? -} diff --git a/system/rootfs/etc/init.d/reliefos-device b/system/rootfs/etc/init.d/reliefos-device deleted file mode 100755 index 9286e5c1..00000000 --- a/system/rootfs/etc/init.d/reliefos-device +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/openrc-run -description="ReliefOS device" -supervisor=supervise-daemon -retry=TERM/1/KILL/1 -input_file=/dev/null -command=/usr/lib/reliefos/apps/device-agent/device-agent.elf -respawn_delay=5 -respawn_max=3 -respawn_period=60 -output_log=/var/log/device-agent.log -error_log=/var/log/device-agent.log -depend() { need reliefos-runtime reliefos-modules; } diff --git a/system/rootfs/etc/init.d/reliefos-dhcp b/system/rootfs/etc/init.d/reliefos-dhcp deleted file mode 100755 index 709c7365..00000000 --- a/system/rootfs/etc/init.d/reliefos-dhcp +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -description="Ethernet configuration and BusyBox DHCP clients" -depend() { need reliefos-runtime; after reliefos-modules; provide net; } - -start() { - local iface started interfaces - started="" - interfaces=$(/usr/lib/reliefos/network-profile list) || return 1 - for iface in $interfaces; do - if ! /usr/lib/reliefos/network-profile start "$iface"; then - /usr/lib/reliefos/network-profile stop "$iface" || : - for iface in $started; do - /usr/lib/reliefos/network-profile stop "$iface" || : - done - return 1 - fi - started="$started $iface" - done -} - -stop() { - local iface result interfaces - result=0 - interfaces=$(/usr/lib/reliefos/network-profile list) || return 1 - for iface in $interfaces; do - /usr/lib/reliefos/network-profile stop "$iface" || result=1 - done - return "$result" -} diff --git a/system/rootfs/etc/init.d/reliefos-modules b/system/rootfs/etc/init.d/reliefos-modules deleted file mode 100755 index c7f26ba8..00000000 --- a/system/rootfs/etc/init.d/reliefos-modules +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/openrc-run -# SPDX-License-Identifier: Apache-2.0 -description="ReliefNT native kernel modules" -depend() { - need reliefos-runtime - before reliefos-device reliefos-audio reliefos-dhcp -} -start() { - ebegin "Loading configured kernel modules and enumerated devices" - /usr/lib/reliefos/modules-load - eend $? -} diff --git a/system/rootfs/etc/init.d/reliefos-ntp b/system/rootfs/etc/init.d/reliefos-ntp deleted file mode 100755 index 788ea4fd..00000000 --- a/system/rootfs/etc/init.d/reliefos-ntp +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# ntpd requires CAP_SYS_TIME. No capability drop is configured for this -# OpenRC-supervised process; no private NTP client is retained. -description="BusyBox NTP client" -supervisor=supervise-daemon -retry=TERM/1/KILL/1 -input_file=/dev/null -command=/usr/sbin/ntpd -command_args="${command_args:--n -p pool.ntp.org} -S /usr/lib/reliefos/ntp-status" -respawn_delay=10 -respawn_max=3 -respawn_period=120 -output_log=/var/log/ntpd.log -error_log=/var/log/ntpd.log -depend() { need reliefos-runtime; after reliefos-dhcp; provide ntp-client; } - -start_pre() { rm -f /run/reliefos/ntp-state; } -stop_post() { rm -f /run/reliefos/ntp-state; } diff --git a/system/rootfs/etc/init.d/reliefos-rdnss b/system/rootfs/etc/init.d/reliefos-rdnss deleted file mode 100755 index f2897beb..00000000 --- a/system/rootfs/etc/init.d/reliefos-rdnss +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -description="IPv6 router-advertisement DNS client" -supervisor=supervise-daemon -command=/usr/lib/reliefos/apps/rdnssd/rdnssd.elf -command_args=eth0 -input_file=/dev/null -output_log=/var/log/rdnssd.log -error_log=/var/log/rdnssd.log -retry=TERM/5/KILL/1 -respawn_delay=10 -respawn_max=3 -respawn_period=120 -depend() { need reliefos-runtime reliefos-modules; after reliefos-dhcp; } -start_pre() { - checkpath --directory --mode 0755 /run/reliefos - test "$(/usr/lib/reliefos/network-profile mode)" != disabled -} -stop_post() { - rm -f /run/reliefos/ra-dns - /usr/lib/reliefos/publish-resolver -} diff --git a/system/rootfs/etc/init.d/reliefos-runtime b/system/rootfs/etc/init.d/reliefos-runtime deleted file mode 100755 index 3dbd9f8f..00000000 --- a/system/rootfs/etc/init.d/reliefos-runtime +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# The kernel mounts the root, proc/sys/dev and clears /run before PID 1. -description="ReliefOS runtime directories" -depend() { before "*"; } -start() { - /usr/lib/reliefos/reliefos-migrate / || return 1 - /bin/sh /usr/lib/reliefos/migrate-shell || return 1 - checkpath --directory --mode 0755 /run/reliefos /var/lib/reliefos /var/cache/reliefos /etc/reliefos /usr/lib/reliefos /run/lock /var/log || return 1 - if [ ! -e /run/leonos ]; then - ln -s /run/reliefos /run/leonos || return 1 - fi - test -d /run/leonos || return 1 - checkpath --directory --mode 1777 /tmp /var/tmp || return 1 - # Hostname load moved out of the kernel (A16). The rootfs default is - # "reliefos"; a missing or rejected hostname file must not fail the service. - # GNU hostname accepts a NAME operand, not BusyBox's -F extension. - # Keep this existing file parser explicit while PATH resolves GNU tools. - test -f /etc/hostname && /bin/busybox hostname -F /etc/hostname - test -r /proc/self/status && test -d /sys && test -c /dev/console -} diff --git a/system/rootfs/etc/init.d/reliefos-swap-check b/system/rootfs/etc/init.d/reliefos-swap-check deleted file mode 100755 index 1e3a3893..00000000 --- a/system/rootfs/etc/init.d/reliefos-swap-check +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -description="Check the installed optional swapfile" - -depend() { - need swap - after localmount -} - -start() { - ebegin "Checking optional swapfile activation" - /usr/lib/reliefos/check-swapfile /etc/fstab /proc/swaps - result=$? - eend "$result" - return "$result" -} diff --git a/system/rootfs/etc/inittab b/system/rootfs/etc/inittab deleted file mode 100644 index 3d15b08d..00000000 --- a/system/rootfs/etc/inittab +++ /dev/null @@ -1,14 +0,0 @@ -# BusyBox PID 1. Every environment executes the same initialization chain. -::sysinit:/sbin/openrc sysinit -::wait:/sbin/openrc boot -::wait:/usr/lib/reliefos/rc-default -tty1::respawn:/usr/lib/reliefos/console-session tty1 -tty2::respawn:/usr/lib/reliefos/console-session tty2 -tty3::respawn:/usr/lib/reliefos/console-session tty3 -tty4::respawn:/usr/lib/reliefos/console-session tty4 -tty5::respawn:/usr/lib/reliefos/console-session tty5 -tty6::respawn:/usr/lib/reliefos/console-session tty6 -::ctrlaltdel:/sbin/reboot -::shutdown:/sbin/openrc shutdown -::shutdown:/bin/sync -::shutdown:/bin/umount -a -r diff --git a/system/rootfs/etc/issue b/system/rootfs/etc/issue deleted file mode 100644 index 9ed2ee79..00000000 --- a/system/rootfs/etc/issue +++ /dev/null @@ -1 +0,0 @@ -ReliefOS \l diff --git a/system/rootfs/etc/login.defs b/system/rootfs/etc/login.defs deleted file mode 100644 index f1b9c3cb..00000000 --- a/system/rootfs/etc/login.defs +++ /dev/null @@ -1,21 +0,0 @@ -MAIL_DIR /var/mail -FAIL_DELAY 3 -LOG_UNKFAIL_ENAB no -LOG_OK_LOGINS yes -UID_MIN 1000 -UID_MAX 60000 -GID_MIN 1000 -GID_MAX 60000 -SYS_UID_MIN 101 -SYS_UID_MAX 999 -SYS_GID_MIN 101 -SYS_GID_MAX 999 -CREATE_HOME yes -USERGROUPS_ENAB yes -UMASK 077 -ENCRYPT_METHOD YESCRYPT -PASS_MAX_DAYS 99999 -PASS_MIN_DAYS 0 -PASS_WARN_AGE 7 -ENV_PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin diff --git a/system/rootfs/etc/motd b/system/rootfs/etc/motd deleted file mode 100644 index 09a4c84a..00000000 --- a/system/rootfs/etc/motd +++ /dev/null @@ -1,8 +0,0 @@ -ReliefOS - -Project: GitHub https://github.com/ReliefOSProject/ReliefOS - SourceHut https://sr.ht/~leonmmcoset/LeonOS-4/ -Issues: https://github.com/ReliefOSProject/ReliefOS/issues - https://sr.ht/~leonmmcoset/LeonOS-4/trackers -Support: ~leonmmcoset/LeonOS-4@lists.sr.ht -Create ~/.hushlogin to hide this message. diff --git a/system/rootfs/etc/motd.ja_JP b/system/rootfs/etc/motd.ja_JP deleted file mode 100644 index 7dea0e80..00000000 --- a/system/rootfs/etc/motd.ja_JP +++ /dev/null @@ -1,8 +0,0 @@ -ReliefOS へようこそ - -プロジェクト: GitHub https://github.com/ReliefOSProject/ReliefOS - SourceHut https://sr.ht/~leonmmcoset/LeonOS-4/ -問題の報告: https://github.com/ReliefOSProject/ReliefOS/issues - https://sr.ht/~leonmmcoset/LeonOS-4/trackers -サポート: ~leonmmcoset/LeonOS-4@lists.sr.ht -このメッセージを非表示にするには ~/.hushlogin を作成してください。 diff --git a/system/rootfs/etc/motd.zh_CN b/system/rootfs/etc/motd.zh_CN deleted file mode 100644 index 3e22a159..00000000 --- a/system/rootfs/etc/motd.zh_CN +++ /dev/null @@ -1,8 +0,0 @@ -欢迎使用 ReliefOS - -项目:GitHub https://github.com/ReliefOSProject/ReliefOS - SourceHut https://sr.ht/~leonmmcoset/LeonOS-4/ -反馈:https://github.com/ReliefOSProject/ReliefOS/issues - https://sr.ht/~leonmmcoset/LeonOS-4/trackers -支持:~leonmmcoset/LeonOS-4@lists.sr.ht -创建 ~/.hushlogin 可隐藏此消息。 diff --git a/system/rootfs/etc/network/interfaces b/system/rootfs/etc/network/interfaces deleted file mode 100644 index 492a1714..00000000 --- a/system/rootfs/etc/network/interfaces +++ /dev/null @@ -1,4 +0,0 @@ -# The OpenRC reliefos-dhcp service is the sole DHCP process owner. -auto lo -iface lo inet loopback -iface eth0 inet manual diff --git a/system/rootfs/etc/nsswitch.conf b/system/rootfs/etc/nsswitch.conf deleted file mode 100644 index d63da26d..00000000 --- a/system/rootfs/etc/nsswitch.conf +++ /dev/null @@ -1,5 +0,0 @@ -passwd: files -group: files -shadow: files -sudoers: files -hosts: files dns diff --git a/system/rootfs/etc/ntp.conf b/system/rootfs/etc/ntp.conf deleted file mode 100644 index 467641e0..00000000 --- a/system/rootfs/etc/ntp.conf +++ /dev/null @@ -1 +0,0 @@ -server pool.ntp.org diff --git a/system/rootfs/etc/os-release b/system/rootfs/etc/os-release deleted file mode 100644 index 42ca207d..00000000 --- a/system/rootfs/etc/os-release +++ /dev/null @@ -1,4 +0,0 @@ -NAME="ReliefOS" -ID=reliefos -PRETTY_NAME="ReliefOS" -VERSION_ID=5.3.4 diff --git a/system/rootfs/etc/pam.d/chfn b/system/rootfs/etc/pam.d/chfn deleted file mode 100644 index 4d538aca..00000000 --- a/system/rootfs/etc/pam.d/chfn +++ /dev/null @@ -1,3 +0,0 @@ -auth sufficient pam_rootok.so -auth include common-auth -account include common-account diff --git a/system/rootfs/etc/pam.d/chpasswd b/system/rootfs/etc/pam.d/chpasswd deleted file mode 100644 index bd7fea4a..00000000 --- a/system/rootfs/etc/pam.d/chpasswd +++ /dev/null @@ -1 +0,0 @@ -password include common-password diff --git a/system/rootfs/etc/pam.d/chsh b/system/rootfs/etc/pam.d/chsh deleted file mode 100644 index 4d538aca..00000000 --- a/system/rootfs/etc/pam.d/chsh +++ /dev/null @@ -1,3 +0,0 @@ -auth sufficient pam_rootok.so -auth include common-auth -account include common-account diff --git a/system/rootfs/etc/pam.d/common-account b/system/rootfs/etc/pam.d/common-account deleted file mode 100644 index f553b526..00000000 --- a/system/rootfs/etc/pam.d/common-account +++ /dev/null @@ -1 +0,0 @@ -account required pam_unix.so diff --git a/system/rootfs/etc/pam.d/common-auth b/system/rootfs/etc/pam.d/common-auth deleted file mode 100644 index 4f344583..00000000 --- a/system/rootfs/etc/pam.d/common-auth +++ /dev/null @@ -1,2 +0,0 @@ -auth optional pam_faildelay.so delay=2000000 -auth required pam_unix.so diff --git a/system/rootfs/etc/pam.d/common-password b/system/rootfs/etc/pam.d/common-password deleted file mode 100644 index 8a101d21..00000000 --- a/system/rootfs/etc/pam.d/common-password +++ /dev/null @@ -1,2 +0,0 @@ -password requisite pam_leonos_password.so -password required pam_unix.so shadow yescrypt use_authtok diff --git a/system/rootfs/etc/pam.d/common-session b/system/rootfs/etc/pam.d/common-session deleted file mode 100644 index e17c51c5..00000000 --- a/system/rootfs/etc/pam.d/common-session +++ /dev/null @@ -1,4 +0,0 @@ -session required pam_unix.so -session required pam_env.so envfile=/etc/reliefos/locale.conf -session required pam_limits.so -session required pam_umask.so umask=0077 diff --git a/system/rootfs/etc/pam.d/leonos-gui b/system/rootfs/etc/pam.d/leonos-gui deleted file mode 120000 index bd4f0fcb..00000000 --- a/system/rootfs/etc/pam.d/leonos-gui +++ /dev/null @@ -1 +0,0 @@ -reliefos-gui \ No newline at end of file diff --git a/system/rootfs/etc/pam.d/login b/system/rootfs/etc/pam.d/login deleted file mode 100644 index d5442229..00000000 --- a/system/rootfs/etc/pam.d/login +++ /dev/null @@ -1,7 +0,0 @@ -auth requisite pam_nologin.so -auth required pam_shells.so -auth include common-auth -account include common-account -password include common-password -session include common-session -session optional pam_exec.so stdout type=open_session /usr/lib/reliefos/motd diff --git a/system/rootfs/etc/pam.d/newusers b/system/rootfs/etc/pam.d/newusers deleted file mode 100644 index bd7fea4a..00000000 --- a/system/rootfs/etc/pam.d/newusers +++ /dev/null @@ -1 +0,0 @@ -password include common-password diff --git a/system/rootfs/etc/pam.d/other b/system/rootfs/etc/pam.d/other deleted file mode 100644 index fe2f929e..00000000 --- a/system/rootfs/etc/pam.d/other +++ /dev/null @@ -1,4 +0,0 @@ -auth required pam_deny.so -account required pam_deny.so -password required pam_deny.so -session required pam_deny.so diff --git a/system/rootfs/etc/pam.d/passwd b/system/rootfs/etc/pam.d/passwd deleted file mode 100644 index bd7fea4a..00000000 --- a/system/rootfs/etc/pam.d/passwd +++ /dev/null @@ -1 +0,0 @@ -password include common-password diff --git a/system/rootfs/etc/pam.d/reliefos-gui b/system/rootfs/etc/pam.d/reliefos-gui deleted file mode 100644 index c1f4bbc8..00000000 --- a/system/rootfs/etc/pam.d/reliefos-gui +++ /dev/null @@ -1,6 +0,0 @@ -auth requisite pam_nologin.so -auth required pam_shells.so -auth include common-auth -account include common-account -password include common-password -session include common-session diff --git a/system/rootfs/etc/pam.d/runuser b/system/rootfs/etc/pam.d/runuser deleted file mode 100644 index 280a9a82..00000000 --- a/system/rootfs/etc/pam.d/runuser +++ /dev/null @@ -1,4 +0,0 @@ -auth sufficient pam_rootok.so -auth required pam_deny.so -account include common-account -session include common-session diff --git a/system/rootfs/etc/pam.d/runuser-l b/system/rootfs/etc/pam.d/runuser-l deleted file mode 100644 index f77fd63f..00000000 --- a/system/rootfs/etc/pam.d/runuser-l +++ /dev/null @@ -1,3 +0,0 @@ -auth include runuser -account include runuser -session include runuser diff --git a/system/rootfs/etc/pam.d/su b/system/rootfs/etc/pam.d/su deleted file mode 100644 index eb4411d1..00000000 --- a/system/rootfs/etc/pam.d/su +++ /dev/null @@ -1,5 +0,0 @@ -auth sufficient pam_rootok.so -auth include common-auth -account include common-account -password include common-password -session include common-session diff --git a/system/rootfs/etc/pam.d/su-l b/system/rootfs/etc/pam.d/su-l deleted file mode 100644 index ae7ae151..00000000 --- a/system/rootfs/etc/pam.d/su-l +++ /dev/null @@ -1,4 +0,0 @@ -auth include su -account include su -password include su -session include su diff --git a/system/rootfs/etc/pam.d/sudo b/system/rootfs/etc/pam.d/sudo deleted file mode 100644 index 80c46a97..00000000 --- a/system/rootfs/etc/pam.d/sudo +++ /dev/null @@ -1,3 +0,0 @@ -auth include common-auth -account include common-account -session include common-session diff --git a/system/rootfs/etc/pam.d/sudo-i b/system/rootfs/etc/pam.d/sudo-i deleted file mode 100644 index 80c46a97..00000000 --- a/system/rootfs/etc/pam.d/sudo-i +++ /dev/null @@ -1,3 +0,0 @@ -auth include common-auth -account include common-account -session include common-session diff --git a/system/rootfs/etc/passwd b/system/rootfs/etc/passwd deleted file mode 100644 index e009d5bd..00000000 --- a/system/rootfs/etc/passwd +++ /dev/null @@ -1,2 +0,0 @@ -root:x:0:0:root:/root:/bin/bash -nobody:x:65534:65534:nobody:/:/sbin/nologin diff --git a/system/rootfs/etc/profile b/system/rootfs/etc/profile deleted file mode 100644 index 44438e54..00000000 --- a/system/rootfs/etc/profile +++ /dev/null @@ -1,10 +0,0 @@ -export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -# ncurses searches these standard FHS locations for TERM=xterm entries. -# Keep /etc/terminfo for Alpine compatibility and /usr/share/terminfo for -# ncurses' default database without requiring per-user configuration. -export TERMINFO_DIRS=/usr/share/terminfo:/etc/terminfo:/lib/terminfo -umask 022 -for profile in /etc/profile.d/*.sh; do - if [ -r "$profile" ]; then . "$profile"; fi -done -unset profile diff --git a/system/rootfs/etc/profile.d/reliefos-locale.sh b/system/rootfs/etc/profile.d/reliefos-locale.sh deleted file mode 100644 index c5a85870..00000000 --- a/system/rootfs/etc/profile.d/reliefos-locale.sh +++ /dev/null @@ -1,12 +0,0 @@ -# Import this account's locale.conf as validated data for POSIX login shells -# and the XDM session. The helper emits only known locale keys and safe values. -if test -x /usr/bin/reliefsettings; then - reliefos_locale_values=$(/usr/bin/reliefsettings --session-environment) || reliefos_locale_values= - for reliefos_locale_value in $reliefos_locale_values; do - case $reliefos_locale_value in - LANG=*|LC_ALL=*|LC_CTYPE=*|LC_NUMERIC=*|LC_TIME=*|LC_COLLATE=*|LC_MONETARY=*|LC_MESSAGES=*) - export "$reliefos_locale_value" ;; - esac - done - unset reliefos_locale_value reliefos_locale_values -fi diff --git a/system/rootfs/etc/protocols b/system/rootfs/etc/protocols deleted file mode 100644 index 2fcc52fa..00000000 --- a/system/rootfs/etc/protocols +++ /dev/null @@ -1,68 +0,0 @@ -# Internet (IP) protocols -# -# Updated from http://www.iana.org/assignments/protocol-numbers and other -# sources. -# New protocols will be added on request if they have been officially -# assigned by IANA and are not historical. -# If you need a huge list of used numbers please install the nmap package. - -ip 0 IP # internet protocol, pseudo protocol number -hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883] -icmp 1 ICMP # internet control message protocol -igmp 2 IGMP # Internet Group Management -ggp 3 GGP # gateway-gateway protocol -ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') -st 5 ST # ST datagram mode -tcp 6 TCP # transmission control protocol -egp 8 EGP # exterior gateway protocol -igp 9 IGP # any private interior gateway (Cisco) -pup 12 PUP # PARC universal packet protocol -udp 17 UDP # user datagram protocol -hmp 20 HMP # host monitoring protocol -xns-idp 22 XNS-IDP # Xerox NS IDP -rdp 27 RDP # "reliable datagram" protocol -iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905] -dccp 33 DCCP # Datagram Congestion Control Prot. [RFC4340] -xtp 36 XTP # Xpress Transfer Protocol -ddp 37 DDP # Datagram Delivery Protocol -idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport -ipv6 41 IPv6 # Internet Protocol, version 6 -ipv6-route 43 IPv6-Route # Routing Header for IPv6 -ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 -idrp 45 IDRP # Inter-Domain Routing Protocol -rsvp 46 RSVP # Reservation Protocol -gre 47 GRE # General Routing Encapsulation -esp 50 IPSEC-ESP # Encap Security Payload [RFC2406] -ah 51 IPSEC-AH # Authentication Header [RFC2402] -skip 57 SKIP # SKIP -ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 -ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 -ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 -rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB) -vmtp 81 VMTP # Versatile Message Transport -eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco) -ospf 89 OSPFIGP # Open Shortest Path First IGP -ax.25 93 AX.25 # AX.25 frames -ipip 94 IPIP # IP-within-IP Encapsulation Protocol -etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378] -encap 98 ENCAP # Yet Another IP encapsulation [RFC1241] -# 99 # any private encryption scheme -pim 103 PIM # Protocol Independent Multicast -ipcomp 108 IPCOMP # IP Payload Compression Protocol -vrrp 112 VRRP # Virtual Router Redundancy Protocol [RFC5798] -l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661] -isis 124 ISIS # IS-IS over IPv4 -sctp 132 SCTP # Stream Control Transmission Protocol -fc 133 FC # Fibre Channel -mobility-header 135 Mobility-Header # Mobility Support for IPv6 [RFC3775] -udplite 136 UDPLite # UDP-Lite [RFC3828] -mpls-in-ip 137 MPLS-in-IP # MPLS-in-IP [RFC4023] -manet 138 # MANET Protocols [RFC5498] -hip 139 HIP # Host Identity Protocol -shim6 140 Shim6 # Shim6 Protocol [RFC5533] -wesp 141 WESP # Wrapped Encapsulating Security Payload -rohc 142 ROHC # Robust Header Compression -ethernet 143 Ethernet # Ethernet encapsulation for SRv6 [RFC8986] -# The following entries have not been assigned by IANA but are used -# internally by the Linux kernel. -mptcp 262 MPTCP # Multipath TCP connection diff --git a/system/rootfs/etc/resolv.conf b/system/rootfs/etc/resolv.conf deleted file mode 100644 index 62b8c870..00000000 --- a/system/rootfs/etc/resolv.conf +++ /dev/null @@ -1,2 +0,0 @@ -# The udhcpc resolver hook publishes the DHCP or explicitly configured DNS server here. -options timeout:2 attempts:2 diff --git a/system/rootfs/etc/runlevels/default/reliefos-audio b/system/rootfs/etc/runlevels/default/reliefos-audio deleted file mode 120000 index 37d15444..00000000 --- a/system/rootfs/etc/runlevels/default/reliefos-audio +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-audio \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/default/reliefos-device b/system/rootfs/etc/runlevels/default/reliefos-device deleted file mode 120000 index e35d2c73..00000000 --- a/system/rootfs/etc/runlevels/default/reliefos-device +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-device \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/default/reliefos-dhcp b/system/rootfs/etc/runlevels/default/reliefos-dhcp deleted file mode 120000 index b56c7b26..00000000 --- a/system/rootfs/etc/runlevels/default/reliefos-dhcp +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-dhcp \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/default/reliefos-ntp b/system/rootfs/etc/runlevels/default/reliefos-ntp deleted file mode 120000 index 5f6f2727..00000000 --- a/system/rootfs/etc/runlevels/default/reliefos-ntp +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-ntp \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/default/reliefos-rdnss b/system/rootfs/etc/runlevels/default/reliefos-rdnss deleted file mode 120000 index 8c493b04..00000000 --- a/system/rootfs/etc/runlevels/default/reliefos-rdnss +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-rdnss \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/installer/reliefos-device b/system/rootfs/etc/runlevels/installer/reliefos-device deleted file mode 120000 index e35d2c73..00000000 --- a/system/rootfs/etc/runlevels/installer/reliefos-device +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-device \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/installer/reliefos-dhcp b/system/rootfs/etc/runlevels/installer/reliefos-dhcp deleted file mode 120000 index b56c7b26..00000000 --- a/system/rootfs/etc/runlevels/installer/reliefos-dhcp +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-dhcp \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/installer/reliefos-ntp b/system/rootfs/etc/runlevels/installer/reliefos-ntp deleted file mode 120000 index 5f6f2727..00000000 --- a/system/rootfs/etc/runlevels/installer/reliefos-ntp +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-ntp \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/sysinit/reliefos-modules b/system/rootfs/etc/runlevels/sysinit/reliefos-modules deleted file mode 120000 index a6accb20..00000000 --- a/system/rootfs/etc/runlevels/sysinit/reliefos-modules +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-modules \ No newline at end of file diff --git a/system/rootfs/etc/runlevels/sysinit/reliefos-runtime b/system/rootfs/etc/runlevels/sysinit/reliefos-runtime deleted file mode 120000 index d1ed4258..00000000 --- a/system/rootfs/etc/runlevels/sysinit/reliefos-runtime +++ /dev/null @@ -1 +0,0 @@ -../../init.d/reliefos-runtime \ No newline at end of file diff --git a/system/rootfs/etc/security/limits.conf b/system/rootfs/etc/security/limits.conf deleted file mode 100644 index 6a2f8052..00000000 --- a/system/rootfs/etc/security/limits.conf +++ /dev/null @@ -1 +0,0 @@ -# Set explicit per-user resource limits here. Do not assume every Linux rlimit is implemented; see the ReliefNT userspace API manual. diff --git a/system/rootfs/etc/services b/system/rootfs/etc/services deleted file mode 100644 index f90e9de6..00000000 --- a/system/rootfs/etc/services +++ /dev/null @@ -1,361 +0,0 @@ -# Network services, Internet style -# -# Updated from https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml . -# -# New ports will be added on request if they have been officially assigned -# by IANA and used in the real-world or are needed by a debian package. -# If you need a huge list of used numbers please install the nmap package. - -tcpmux 1/tcp # TCP port service multiplexer -echo 7/tcp -echo 7/udp -discard 9/tcp sink null -discard 9/udp sink null -systat 11/tcp users -daytime 13/tcp -daytime 13/udp -netstat 15/tcp -qotd 17/tcp quote -chargen 19/tcp ttytst source -chargen 19/udp ttytst source -ftp-data 20/tcp -ftp 21/tcp -fsp 21/udp fspd -ssh 22/tcp # SSH Remote Login Protocol -telnet 23/tcp -smtp 25/tcp mail -time 37/tcp timserver -time 37/udp timserver -whois 43/tcp nicname -tacacs 49/tcp # Login Host Protocol (TACACS) -tacacs 49/udp -domain 53/tcp # Domain Name Server -domain 53/udp -bootps 67/udp -bootpc 68/udp -tftp 69/udp -gopher 70/tcp # Internet Gopher -finger 79/tcp -http 80/tcp www # WorldWideWeb HTTP -kerberos 88/tcp kerberos5 krb5 kerberos-sec # Kerberos v5 -kerberos 88/udp kerberos5 krb5 kerberos-sec # Kerberos v5 -iso-tsap 102/tcp tsap # part of ISODE -acr-nema 104/tcp dicom # Digital Imag. & Comm. 300 -pop3 110/tcp pop-3 # POP version 3 -sunrpc 111/tcp portmapper # RPC 4.0 portmapper -sunrpc 111/udp portmapper -auth 113/tcp authentication tap ident -nntp 119/tcp readnews untp # USENET News Transfer Protocol -ntp 123/udp # Network Time Protocol -epmap 135/tcp loc-srv # DCE endpoint resolution -netbios-ns 137/udp # NETBIOS Name Service -netbios-dgm 138/udp # NETBIOS Datagram Service -netbios-ssn 139/tcp # NETBIOS session service -imap2 143/tcp imap # Interim Mail Access P 2 and 4 -snmp 161/tcp # Simple Net Mgmt Protocol -snmp 161/udp -snmp-trap 162/tcp snmptrap # Traps for SNMP -snmp-trap 162/udp snmptrap -cmip-man 163/tcp # ISO mgmt over IP (CMOT) -cmip-man 163/udp -cmip-agent 164/tcp -cmip-agent 164/udp -mailq 174/tcp # Mailer transport queue for Zmailer -xdmcp 177/udp # X Display Manager Control Protocol -bgp 179/tcp # Border Gateway Protocol -smux 199/tcp # SNMP Unix Multiplexer -qmtp 209/tcp # Quick Mail Transfer Protocol -z3950 210/tcp wais # NISO Z39.50 database -ipx 213/udp # IPX [RFC1234] -ptp-event 319/udp -ptp-general 320/udp -pawserv 345/tcp # Perf Analysis Workbench -zserv 346/tcp # Zebra server -rpc2portmap 369/tcp -rpc2portmap 369/udp # Coda portmapper -codaauth2 370/tcp -codaauth2 370/udp # Coda authentication server -clearcase 371/udp Clearcase -ldap 389/tcp # Lightweight Directory Access Protocol -ldap 389/udp -svrloc 427/tcp # Server Location -svrloc 427/udp -https 443/tcp # http protocol over TLS/SSL -https 443/udp # HTTP/3 -snpp 444/tcp # Simple Network Paging Protocol -microsoft-ds 445/tcp # Microsoft Naked CIFS -kpasswd 464/tcp -kpasswd 464/udp -submissions 465/tcp ssmtp smtps urd # Submission over TLS [RFC8314] -saft 487/tcp # Simple Asynchronous File Transfer -isakmp 500/udp # IPSEC key management -rtsp 554/tcp # Real Time Stream Control Protocol -rtsp 554/udp -nqs 607/tcp # Network Queuing system -asf-rmcp 623/udp # ASF Remote Management and Control Protocol -qmqp 628/tcp -ipp 631/tcp # Internet Printing Protocol -ldp 646/tcp # Label Distribution Protocol -ldp 646/udp -# -# UNIX specific services -# -exec 512/tcp -biff 512/udp comsat -login 513/tcp -who 513/udp whod -shell 514/tcp cmd syslog # no passwords used -syslog 514/udp -printer 515/tcp spooler # line printer spooler -talk 517/udp -ntalk 518/udp -route 520/udp router routed # RIP -gdomap 538/tcp # GNUstep distributed objects -gdomap 538/udp -uucp 540/tcp uucpd # uucp daemon -klogin 543/tcp # Kerberized `rlogin' (v5) -kshell 544/tcp krcmd # Kerberized `rsh' (v5) -dhcpv6-client 546/udp -dhcpv6-server 547/udp -afpovertcp 548/tcp # AFP over TCP -nntps 563/tcp snntp # NNTP over SSL -submission 587/tcp # Submission [RFC4409] -ldaps 636/tcp # LDAP over SSL -ldaps 636/udp -tinc 655/tcp # tinc control port -tinc 655/udp -silc 706/tcp -kerberos-adm 749/tcp # Kerberos `kadmin' (v5) -# -domain-s 853/tcp # DNS over TLS [RFC7858] -domain-s 853/udp # DNS over DTLS [RFC8094] -rsync 873/tcp -ftps-data 989/tcp # FTP over SSL (data) -ftps 990/tcp -telnets 992/tcp # Telnet over SSL -imaps 993/tcp # IMAP over SSL -pop3s 995/tcp # POP-3 over SSL -# -# From ``Assigned Numbers'': -# -#> The Registered Ports are not controlled by the IANA and on most systems -#> can be used by ordinary user processes or programs executed by ordinary -#> users. -# -#> Ports are used in the TCP [45,106] to name the ends of logical -#> connections which carry long term conversations. For the purpose of -#> providing services to unknown callers, a service contact port is -#> defined. This list specifies the port used by the server process as its -#> contact port. While the IANA can not control uses of these ports it -#> does register or list uses of these ports as a convienence to the -#> community. -# -socks 1080/tcp # socks proxy server -proofd 1093/tcp -rootd 1094/tcp -openvpn 1194/tcp -openvpn 1194/udp -rmiregistry 1099/tcp # Java RMI Registry -lotusnote 1352/tcp lotusnotes # Lotus Note -ms-sql-s 1433/tcp # Microsoft SQL Server -ms-sql-m 1434/udp # Microsoft SQL Monitor -ingreslock 1524/tcp -datametrics 1645/tcp old-radius -datametrics 1645/udp old-radius -sa-msg-port 1646/tcp old-radacct -sa-msg-port 1646/udp old-radacct -kermit 1649/tcp -groupwise 1677/tcp -l2f 1701/udp l2tp -radius 1812/tcp -radius 1812/udp -radius-acct 1813/tcp radacct # Radius Accounting -radius-acct 1813/udp radacct -cisco-sccp 2000/tcp # Cisco SCCP -nfs 2049/tcp # Network File System -nfs 2049/udp # Network File System -gnunet 2086/tcp -gnunet 2086/udp -rtcm-sc104 2101/tcp # RTCM SC-104 IANA 1/29/99 -rtcm-sc104 2101/udp -gsigatekeeper 2119/tcp -gris 2135/tcp # Grid Resource Information Server -cvspserver 2401/tcp # CVS client/server operations -venus 2430/tcp # codacon port -venus 2430/udp # Venus callback/wbc interface -venus-se 2431/tcp # tcp side effects -venus-se 2431/udp # udp sftp side effect -codasrv 2432/tcp # not used -codasrv 2432/udp # server port -codasrv-se 2433/tcp # tcp side effects -codasrv-se 2433/udp # udp sftp side effect -mon 2583/tcp # MON traps -mon 2583/udp -dict 2628/tcp # Dictionary server -f5-globalsite 2792/tcp -gsiftp 2811/tcp -gpsd 2947/tcp -gds-db 3050/tcp gds_db # InterBase server -icpv2 3130/udp icp # Internet Cache Protocol -isns 3205/tcp # iSNS Server Port -isns 3205/udp # iSNS Server Port -iscsi-target 3260/tcp -mysql 3306/tcp -ms-wbt-server 3389/tcp -nut 3493/tcp # Network UPS Tools -nut 3493/udp -distcc 3632/tcp # distributed compiler -daap 3689/tcp # Digital Audio Access Protocol -svn 3690/tcp subversion # Subversion protocol -suucp 4031/tcp # UUCP over SSL -sysrqd 4094/tcp # sysrq daemon -sieve 4190/tcp # ManageSieve Protocol -epmd 4369/tcp # Erlang Port Mapper Daemon -remctl 4373/tcp # Remote Authenticated Command Service -f5-iquery 4353/tcp # F5 iQuery -ntske 4460/tcp # Network Time Security Key Establishment -ipsec-nat-t 4500/udp # IPsec NAT-Traversal [RFC3947] -iax 4569/udp # Inter-Asterisk eXchange -mtn 4691/tcp # monotone Netsync Protocol -radmin-port 4899/tcp # RAdmin Port -sip 5060/tcp # Session Initiation Protocol -sip 5060/udp -sip-tls 5061/tcp -sip-tls 5061/udp -xmpp-client 5222/tcp jabber-client # Jabber Client Connection -xmpp-server 5269/tcp jabber-server # Jabber Server Connection -cfengine 5308/tcp -mdns 5353/udp # Multicast DNS -postgresql 5432/tcp postgres # PostgreSQL Database -freeciv 5556/tcp rptp # Freeciv gameplay -amqps 5671/tcp # AMQP protocol over TLS/SSL -amqp 5672/tcp -amqp 5672/sctp -x11 6000/tcp x11-0 # X Window System -x11-1 6001/tcp -x11-2 6002/tcp -x11-3 6003/tcp -x11-4 6004/tcp -x11-5 6005/tcp -x11-6 6006/tcp -x11-7 6007/tcp -gnutella-svc 6346/tcp # gnutella -gnutella-svc 6346/udp -gnutella-rtr 6347/tcp # gnutella -gnutella-rtr 6347/udp -redis 6379/tcp -sge-qmaster 6444/tcp sge_qmaster # Grid Engine Qmaster Service -sge-execd 6445/tcp sge_execd # Grid Engine Execution Service -mysql-proxy 6446/tcp # MySQL Proxy -babel 6696/udp # Babel Routing Protocol -ircs-u 6697/tcp # Internet Relay Chat via TLS/SSL -bbs 7000/tcp -afs3-fileserver 7000/udp -afs3-callback 7001/udp # callbacks to cache managers -afs3-prserver 7002/udp # users & groups database -afs3-vlserver 7003/udp # volume location database -afs3-kaserver 7004/udp # AFS/Kerberos authentication -afs3-volser 7005/udp # volume managment server -afs3-bos 7007/udp # basic overseer process -afs3-update 7008/udp # server-to-server updater -afs3-rmtsys 7009/udp # remote cache manager service -font-service 7100/tcp xfs # X Font Service -http-alt 8080/tcp webcache # WWW caching service -puppet 8140/tcp # The Puppet master service -bacula-dir 9101/tcp # Bacula Director -bacula-fd 9102/tcp # Bacula File Daemon -bacula-sd 9103/tcp # Bacula Storage Daemon -xmms2 9667/tcp # Cross-platform Music Multiplexing System -nbd 10809/tcp # Linux Network Block Device -zabbix-agent 10050/tcp # Zabbix Agent -zabbix-trapper 10051/tcp # Zabbix Trapper -amanda 10080/tcp # amanda backup services -dicom 11112/tcp -hkp 11371/tcp # OpenPGP HTTP Keyserver -db-lsp 17500/tcp # Dropbox LanSync Protocol -dcap 22125/tcp # dCache Access Protocol -gsidcap 22128/tcp # GSI dCache Access Protocol -wnn6 22273/tcp # wnn6 - -# -# Datagram Delivery Protocol services -# -rtmp 1/ddp # Routing Table Maintenance Protocol -nbp 2/ddp # Name Binding Protocol -echo 4/ddp # AppleTalk Echo Protocol -zip 6/ddp # Zone Information Protocol - -#========================================================================= -# The remaining port numbers are not as allocated by IANA. -#========================================================================= - -# Kerberos (Project Athena/MIT) services -kerberos4 750/udp kerberos-iv kdc # Kerberos (server) -kerberos4 750/tcp kerberos-iv kdc -kerberos-master 751/udp kerberos_master # Kerberos authentication -kerberos-master 751/tcp -passwd-server 752/udp passwd_server # Kerberos passwd server -krb-prop 754/tcp krb_prop krb5_prop hprop # Kerberos slave propagation -zephyr-srv 2102/udp # Zephyr server -zephyr-clt 2103/udp # Zephyr serv-hm connection -zephyr-hm 2104/udp # Zephyr hostmanager -iprop 2121/tcp # incremental propagation -supfilesrv 871/tcp # Software Upgrade Protocol server -supfiledbg 1127/tcp # Software Upgrade Protocol debugging - -# -# Services added for the Debian GNU/Linux distribution -# -poppassd 106/tcp # Eudora -moira-db 775/tcp moira_db # Moira database -moira-update 777/tcp moira_update # Moira update protocol -moira-ureg 779/udp moira_ureg # Moira user registration -spamd 783/tcp # spamassassin daemon -skkserv 1178/tcp # skk jisho server port -predict 1210/udp # predict -- satellite tracking -rmtcfg 1236/tcp # Gracilis Packeten remote config server -xtel 1313/tcp # french minitel -xtelw 1314/tcp # french minitel -zebrasrv 2600/tcp # zebra service -zebra 2601/tcp # zebra vty -ripd 2602/tcp # ripd vty (zebra) -ripngd 2603/tcp # ripngd vty (zebra) -ospfd 2604/tcp # ospfd vty (zebra) -bgpd 2605/tcp # bgpd vty (zebra) -ospf6d 2606/tcp # ospf6d vty (zebra) -ospfapi 2607/tcp # OSPF-API -isisd 2608/tcp # ISISd vty (zebra) -fax 4557/tcp # FAX transmission service (old) -hylafax 4559/tcp # HylaFAX client-server protocol (new) -munin 4949/tcp lrrd # Munin -rplay 5555/udp # RPlay audio service -nrpe 5666/tcp # Nagios Remote Plugin Executor -nsca 5667/tcp # Nagios Agent - NSCA -canna 5680/tcp # cannaserver -syslog-tls 6514/tcp # Syslog over TLS [RFC5425] -sane-port 6566/tcp sane saned # SANE network scanner daemon -ircd 6667/tcp # Internet Relay Chat -zope-ftp 8021/tcp # zope management by ftp -tproxy 8081/tcp # Transparent Proxy -omniorb 8088/tcp # OmniORB -clc-build-daemon 8990/tcp # Common lisp build daemon -xinetd 9098/tcp -git 9418/tcp # Git Version Control System -zope 9673/tcp # zope server -webmin 10000/tcp -kamanda 10081/tcp # amanda backup services (Kerberos) -amandaidx 10082/tcp # amanda backup services -amidxtape 10083/tcp # amanda backup services -sgi-cmsd 17001/udp # Cluster membership services daemon -sgi-crsd 17002/udp -sgi-gcd 17003/udp # SGI Group membership daemon -sgi-cad 17004/tcp # Cluster Admin daemon -binkp 24554/tcp # binkp fidonet protocol -asp 27374/tcp # Address Search Protocol -asp 27374/udp -csync2 30865/tcp # cluster synchronization tool -dircproxy 57000/tcp # Detachable IRC Proxy -tfido 60177/tcp # fidonet EMSI over telnet -fido 60179/tcp # fidonet EMSI over TCP - -# Local services diff --git a/system/rootfs/etc/shadow b/system/rootfs/etc/shadow deleted file mode 100644 index 21a1e881..00000000 --- a/system/rootfs/etc/shadow +++ /dev/null @@ -1,2 +0,0 @@ -root:!::::::: -nobody:!::::::: diff --git a/system/rootfs/etc/shells b/system/rootfs/etc/shells deleted file mode 100644 index 455430dd..00000000 --- a/system/rootfs/etc/shells +++ /dev/null @@ -1,3 +0,0 @@ -/bin/bash -/bin/sh -/bin/ash diff --git a/system/rootfs/etc/skel/.bash_profile b/system/rootfs/etc/skel/.bash_profile deleted file mode 100644 index 37fba5e2..00000000 --- a/system/rootfs/etc/skel/.bash_profile +++ /dev/null @@ -1,6 +0,0 @@ -if [ -r "$HOME/.profile" ]; then - . "$HOME/.profile" -fi -if [ -r "$HOME/.bashrc" ]; then - . "$HOME/.bashrc" -fi diff --git a/system/rootfs/etc/skel/.bashrc b/system/rootfs/etc/skel/.bashrc deleted file mode 100644 index 984eede7..00000000 --- a/system/rootfs/etc/skel/.bashrc +++ /dev/null @@ -1,7 +0,0 @@ -case $- in - *i*) ;; - *) return ;; -esac -if [ "${RELIEFOS_BASHRC_LOADED:-}" != 1 ] && [ -r /etc/bash/bashrc ]; then - . /etc/bash/bashrc -fi diff --git a/system/rootfs/etc/skel/.inputrc b/system/rootfs/etc/skel/.inputrc deleted file mode 100644 index c7f65f57..00000000 --- a/system/rootfs/etc/skel/.inputrc +++ /dev/null @@ -1,5 +0,0 @@ -$include /etc/inputrc -set input-meta on -set output-meta on -set convert-meta off -set bell-style none diff --git a/system/rootfs/etc/sudo.conf b/system/rootfs/etc/sudo.conf deleted file mode 100644 index c1de4545..00000000 --- a/system/rootfs/etc/sudo.conf +++ /dev/null @@ -1,4 +0,0 @@ -Plugin sudoers_policy sudoers.so -Plugin sudoers_io sudoers.so -Plugin sudoers_audit sudoers.so -Path askpass /usr/lib/reliefos/apps/reliefaskpass/reliefaskpass.elf diff --git a/system/rootfs/etc/sudoers b/system/rootfs/etc/sudoers deleted file mode 100644 index 70db39ea..00000000 --- a/system/rootfs/etc/sudoers +++ /dev/null @@ -1,14 +0,0 @@ -Defaults env_reset -Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -Defaults use_pty -Defaults timestamp_timeout=5 -Defaults logfile="/var/log/sudo.log" -Defaults!/usr/lib/reliefos/apps/sudod/sudod.elf !use_pty -# The API installation worker returns binary progress records over stdout. -# OpenRC Controller uses a framed stdin/stdout session after authentication. -# Keep EOF and binary framing intact; this grants no additional sudo rights. -Defaults!/usr/lib/reliefos/apps/openrc-controller/openrc-controller.elf !use_pty -root ALL=(ALL:ALL) ALL -# The installer adds its initial user to wheel; sudo authenticates that user. -%wheel ALL=(ALL:ALL) ALL -@includedir /etc/sudoers.d diff --git a/system/rootfs/lib/apk/commit_hooks.d/reliefos-kernel b/system/rootfs/lib/apk/commit_hooks.d/reliefos-kernel deleted file mode 100755 index 8a26b502..00000000 --- a/system/rootfs/lib/apk/commit_hooks.d/reliefos-kernel +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -# Standard apk(8) commit hooks run under APK's write lock in the managed root. -set -eu -# Offline image assembly runs APK in a Linux-hosted chroot, before any ESP is -# attached. The image builder creates and verifies its initial boot slots. -[ "$(uname -s)" = ReliefNT ] || exit 0 -case ${1-} in - pre-commit) exec /usr/libexec/reliefos/kernel-bundle --retain-installed / ;; - post-commit) exec /usr/libexec/reliefos/kernel-bundle --restore-all / ;; - *) echo 'reliefos-kernel: unsupported APK commit hook phase' >&2; exit 2 ;; -esac diff --git a/system/rootfs/usr/lib/reliefos/check-swapfile b/system/rootfs/usr/lib/reliefos/check-swapfile deleted file mode 100755 index 8a5505c4..00000000 --- a/system/rootfs/usr/lib/reliefos/check-swapfile +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# Check only the optional file installed by ReliefOS; preserve other swap policy. -[ "$#" -eq 2 ] && [ -r "$1" ] && [ -r "$2" ] || exit 2 -awk ' - $1 == "/swapfile" && $3 == "swap" { - count = split($4, options, ","); automatic = 1 - for (i = 1; i <= count; ++i) if (options[i] == "noauto") automatic = 0 - if (automatic) found = 1 - } - END { exit found ? 0 : 1 } -' "$1" -configured=$? -[ "$configured" -eq 1 ] && exit 0 -[ "$configured" -eq 0 ] || exit 2 -if awk 'NR > 1 && $1 == "/swapfile" { found = 1 } END { exit found ? 0 : 1 }' "$2"; then - exit 0 -fi -echo "[reliefos] configured /swapfile is not active" >&2 -exit 1 diff --git a/system/rootfs/usr/lib/reliefos/console-session b/system/rootfs/usr/lib/reliefos/console-session deleted file mode 100755 index 9a464c5e..00000000 --- a/system/rootfs/usr/lib/reliefos/console-session +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh -# BusyBox init supplies the named VT as fd 0, 1, and 2. -case "$1" in - tty1|tty2|tty3|tty4|tty5|tty6) ;; - *) exit 2 ;; -esac - -start_getty() { - exec \ - /sbin/getty -n -l /usr/lib/reliefos/apps/login/login.elf 115200 "$1" -} - -if test "$1" = tty1; then - # The kernel keeps only the /proc/cmdline mechanism; the installer UI - # selection is decided here from the exact boot command line token. - if test -f /etc/reliefos/installer-runtime && - grep -qE '(^| )installer-session=tui( |$)' /proc/cmdline; then - export HOME=/root - cd "$HOME" || exit 1 - exec /usr/lib/reliefos/apps/login/login.elf --installer-shell - fi - desktop_backend= - if test -f /etc/reliefos/desktop-backend; then - # The marker is data, not shell syntax. Require exactly one line and - # reject missing, empty, unknown, or multi-line values. xorg selects - # the graphical session; console leaves tty1 for the text getty below. - desktop_backend=$(awk ' - NR == 1 { value = $0 } - NR > 1 { invalid = 1 } - END { - if (NR != 1 || invalid || (value != "xorg" && value != "console")) exit 1 - print value - } - ' /etc/reliefos/desktop-backend 2>/dev/null) || { - printf '%s\n' 'console-session: invalid desktop backend marker; using text login' >&2 - start_getty "$1" - } - else - printf '%s\n' 'console-session: missing desktop backend marker; using text login' >&2 - start_getty "$1" - fi - if test "$desktop_backend" = console; then - start_getty "$1" - fi - if test "$desktop_backend" = xorg && - test ! -e /run/reliefos/graphical-session-started; then - : > /run/reliefos/graphical-session-started - if test -f /etc/reliefos/installer-runtime; then - # Installation media locks every account password, so there is no - # greeter: the live installer session owns tty1 until the installer - # exits and the rescue shell below takes over. - /usr/lib/reliefos/installer-session >>/var/log/installer-session.log 2>&1 - installer_status=$? - printf '%s\n' "console-session: installer session exit status=$installer_status" \ - >>/var/log/installer-session.log - printf '%s\n' 'tty1 restored to rescue shell' >>/var/log/installer-session.log - else - # XDM is the foreground, final child of this console session: no - # extra text getty or shell owns tty1 while the graphical session - # runs. It returns here and the single text getty handoff below - # takes over. - /usr/lib/reliefos/reliefos-xdm >>/var/log/xorg-session.log 2>&1 - xdm_status=$? - printf '%s\n' "console-session: xdm exit status=$xdm_status" \ - >>/var/log/xorg-session.log - printf '%s\n' 'tty1 restored to text login' >>/var/log/xorg-session.log - fi - fi -fi -# Installation media has locked account passwords; offer the same local -# rescue shell on every text VT, including tty1 after the graphical session. -if test -f /etc/reliefos/installer-runtime; then - export HOME=/root - cd "$HOME" || exit 1 - exec /usr/lib/reliefos/apps/login/login.elf --installer-shell -fi -# exec /sbin/getty -n -l is the final text-login handoff. -start_getty "$1" diff --git a/system/rootfs/usr/lib/reliefos/migrate-shell b/system/rootfs/usr/lib/reliefos/migrate-shell deleted file mode 100644 index fd446969..00000000 --- a/system/rootfs/usr/lib/reliefos/migrate-shell +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -set -eu -PATH=/usr/sbin:/usr/bin:/sbin:/bin -export PATH -umask 077 - -if [ ! -x /bin/bash ] || [ -L /bin/bash ]; then - echo 'migrate-shell: the official /bin/bash executable is missing' >&2 - exit 1 -fi - -marker=/var/lib/reliefos/bash-default-v1 -[ ! -e "$marker" ] || exit 0 - -for path in /sbin/bash /usr/bin/bash /usr/sbin/bash; do - if [ -L "$path" ]; then - case $(readlink "$path") in - busybox|./busybox|/bin/busybox|../bin/busybox|../../bin/busybox) rm "$path" ;; - esac - fi -done - -default_shell=$(useradd -D | sed -n 's/^SHELL=//p') -case $default_shell in - /bin/sh|/bin/ash|/usr/bin/sh|/usr/bin/ash|/usr/bin/bash) useradd -D -s /bin/bash ;; -esac - -awk -F: 'NF == 7 && ($3 == 0 || ($3 >= 1000 && $3 <= 60000)) && - $6 ~ /^\// && ($7 == "" || $7 ~ /^\/(usr\/)?bin\/(ba|a)?sh$/) { - print $1 ":" $6 ":" $7 - }' /etc/passwd | -while IFS=: read -r name home shell; do - case $name in ''|-*) exit 1 ;; esac - case $shell in - /bin/bash) ;; - *) usermod -s /bin/bash -- "$name" ;; - esac - [ -d "$home" ] || continue - /bin/busybox setuidgid "$name" /bin/sh -ec ' - cd "$1" - umask 077 - set -C - for config in .bash_profile .bashrc .inputrc; do - if [ -e "$config" ] || [ -L "$config" ]; then continue; fi - if [ "$config" = .bash_profile ] && - { [ -e .bash_login ] || [ -L .bash_login ]; }; then continue; fi - cat "/etc/skel/$config" > "$config" - done - ' sh "$home" -done - -mkdir -p /var/lib/reliefos -printf '%s\n' bash > "$marker" diff --git a/system/rootfs/usr/lib/reliefos/module-policy b/system/rootfs/usr/lib/reliefos/module-policy deleted file mode 100644 index 309e4bc4..00000000 --- a/system/rootfs/usr/lib/reliefos/module-policy +++ /dev/null @@ -1,54 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 -# POSIX shell policy; module names/aliases originate in standard depmod indexes. -module_config_load() { - module_root=${1%/} - module_directories='etc run usr/local/lib usr/lib lib' - module_release=${2-} - if [ -n "$module_release" ]; then - case $module_release in *[!A-Za-z0-9._+-]*|[!A-Za-z0-9]*|'' ) echo '[modules] invalid kernel release' >&2; return 1 ;; esac - module_directories="$module_directories lib/modules/$module_release" - fi - selected= seen='|' - for directory in $module_directories; do - for config in "$module_root/$directory/modules-load.d"/*.conf; do - [ -f "$config" ] || [ -L "$config" ] || continue - base=${config##*/} - case $base in *[!A-Za-z0-9_.-]*) echo "[modules] invalid configuration name: $base" >&2; return 1 ;; esac - case $seen in *"|$base|"*) continue ;; esac - seen=$seen$base'|' - selected=$selected$base' ' - done - done - for base in $(printf '%s\n' $selected | LC_ALL=C sort); do - for directory in $module_directories; do - config=$module_root/$directory/modules-load.d/$base - [ -f "$config" ] || [ -L "$config" ] || continue - while read -r name rest; do - case $name in ''|'#'*|';'*) continue ;; *[!A-Za-z0-9_-]*) - echo "[modules] invalid module in $config: $name" >&2; return 1 ;; - esac - case $rest in ''|'#'*|';'*) ;; *) echo "[modules] put module options in modprobe.d: $config" >&2; return 1 ;; esac - modprobe -b "$name" || { echo "[modules] failed to load configured module: $name" >&2; return 1; } - done <"$config" - break - done - done -} - -module_coldplug() { - module_root=${1%/} - aliases=$module_root/lib/modules/$2/modules.alias - [ -r "$aliases" ] || { echo "[modules] missing native modules.alias for $2" >&2; return 1; } - for attribute in "$module_root"/sys/bus/*/devices/*/modalias; do - [ -r "$attribute" ] || continue - IFS= read -r identity <"$attribute" || continue - while read -r directive pattern name rest; do - [ "$directive" = alias ] || continue - case $name in ''|*[!A-Za-z0-9_-]*) echo '[modules] invalid generated alias target' >&2; return 1 ;; esac - case $identity in $pattern) - modprobe -b "$name" || { echo "[modules] device module failed: $name ($identity)" >&2; return 1; } - ;; - esac - done <"$aliases" - done -} diff --git a/system/rootfs/usr/lib/reliefos/modules-load b/system/rootfs/usr/lib/reliefos/modules-load deleted file mode 100755 index 197a429f..00000000 --- a/system/rootfs/usr/lib/reliefos/modules-load +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -set -eu -if [ "$(uname -s)" != ReliefNT ] || [ "$(id -u)" != 0 ]; then - echo 'ReliefOS module loader: refusing host or unprivileged module operations' >&2 - exit 77 -fi -# Linux omits this inventory when CONFIG_MODULES=n. Builtin-only older kernels -# also need no coldplug modprobe calls when booting an upgraded root filesystem. -[ -r /proc/modules ] || exit 0 -. /usr/lib/reliefos/module-policy -release=$(uname -r) -module_config_load / "$release" -module_coldplug / "$release" diff --git a/system/rootfs/usr/lib/reliefos/motd b/system/rootfs/usr/lib/reliefos/motd deleted file mode 100755 index 12f15d20..00000000 --- a/system/rootfs/usr/lib/reliefos/motd +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Shadow login uses PAM_SILENT for the standard .hushlogin case. pam_exec -# cannot see that flag, so preserve the login convention here. -motd_home= -while IFS=: read -r account password uid gid gecos account_home shell; do - if [ "$account" = "${PAM_USER-}" ]; then - motd_home=$account_home - break - fi -done < /etc/passwd -if [ -n "$motd_home" ] && [ -e "$motd_home/.hushlogin" ]; then - exit 0 -fi - -exec /usr/lib/reliefos/motd-status diff --git a/system/rootfs/usr/lib/reliefos/network-profile b/system/rootfs/usr/lib/reliefos/network-profile deleted file mode 100755 index 3d1051b4..00000000 --- a/system/rootfs/usr/lib/reliefos/network-profile +++ /dev/null @@ -1,250 +0,0 @@ -#!/bin/sh -# Strict data reader shared by OpenRC and the sole resolver publisher. -# Never source this profile or execute configuration text. -set -eu -fail() { echo "network-profile: $*" >&2; exit 1; } -valid_ip() ( - case "$1" in ''|*[!0-9.]*|.*|*.|*..*) exit 1 ;; esac - IFS=.; set -- $1 - test "$#" -eq 4 || exit 1 - for octet do - case "$octet" in 0[0-9]*) exit 1 ;; esac - test "${#octet}" -le 3 && test "$octet" -le 255 || exit 1 - done -) -ip_number() ( - IFS=.; set -- $1 - printf '%s\n' "$((($1 << 24) | ($2 << 16) | ($3 << 8) | $4))" -) -print_ip() { printf '%s.%s.%s.%s\n' "$((($1 >> 24) & 255))" "$((($1 >> 16) & 255))" "$((($1 >> 8) & 255))" "$(($1 & 255))"; } -# Kernel Ethernet devices are named eth followed by their stable index. -valid_interface() { - case "$1" in eth*) number=${1#eth} ;; *) return 1 ;; esac - case "$number" in ''|*[!0-9]*|0[0-9]*) return 1 ;; esac - test "${#1}" -le 15 -} -interfaces() { - test -r /proc/net/dev || fail 'cannot enumerate network interfaces' - while IFS= read -r line; do - case "$line" in *:*) name=${line%%:*} ;; *) continue ;; esac - while :; do case "$name" in ' '*) name=${name# } ;; *) break ;; esac; done - if valid_interface "$name"; then printf '%s\n' "$name"; fi - done < /proc/net/dev -} -if test "${1:-}" = list; then interfaces; exit; fi -iface=${2:-eth0} -valid_interface "$iface" || fail 'invalid Ethernet interface' -case "${1:-}" in - start|stop|apply) - mkdir -p /run/reliefos - exec 8>"/run/reliefos/interface.$iface.lock" - flock -x 8 - ;; -esac -found=no -for name in $(interfaces); do test "$name" != "$iface" || found=yes; done -test "$found" = yes || fail 'Ethernet interface is not present' -test "${1:-}" != interface || exit 0 -case "$iface" in - eth0) client=/run/reliefos/udhcpc.pid; lease=/run/reliefos/dhcp-lease; dns_file=/run/reliefos/dhcp-dns ;; - *) client=/run/reliefos/udhcpc.$iface.pid; lease=/run/reliefos/dhcp-lease.$iface; dns_file=/run/reliefos/dhcp-dns.$iface ;; -esac -clear_lease() { - /sbin/route del default dev "$iface" 2>/dev/null || : - /sbin/ifconfig "$iface" 0.0.0.0 - rm -f "$lease" "$dns_file" -} -stop_dhcp() { - if test ! -e "$client" && test ! -L "$client"; then return 0; fi - test -f "$client" && test ! -L "$client" || fail 'unsafe DHCP PID file' - test "$(stat -c %u "$client")" = 0 || fail 'DHCP PID file must belong to root' - permissions=$(stat -c %a "$client") - test "$((0$permissions & 022))" -eq 0 || fail 'unsafe DHCP PID file permissions' - read -r pid extra < "$client" - case "$pid" in ''|*[!0-9]*) fail 'invalid DHCP PID' ;; esac - test -z "$extra" && test "${#pid}" -le 10 && test "$pid" -gt 1 && test "$pid" -le 2147483647 || fail 'invalid DHCP PID' - if test ! -d "/proc/$pid"; then rm -f "$client"; return 0; fi - # Require both the DHCP executable and its precise -i argument: a PID - # reused by another interface must never terminate that interface. - command=$(tr '\000' '\n' < "/proc/$pid/cmdline") - newline=' -' - case "$command" in - /sbin/udhcpc"$newline"*|udhcpc"$newline"*|/bin/busybox"$newline"udhcpc"$newline"*) ;; - *) fail 'PID no longer identifies the DHCP client' ;; - esac - case "$newline$command$newline" in *"$newline-i$newline$iface$newline"*) ;; *) fail 'DHCP PID belongs to another interface' ;; esac - /sbin/start-stop-daemon --stop --retry TERM/10/KILL/2 --pidfile "$client" || return $? - rm -f "$client" -} -stop_interface() { - # Stop the supervisor before its child so it cannot respawn during apply. - if test "$iface" = eth0; then - RC_SVCNAME=reliefos-dhcp /sbin/supervise-daemon reliefos-dhcp --stop 8>&- || return $? - fi - RC_SVCNAME=reliefos-dhcp.$iface /sbin/supervise-daemon "reliefos-dhcp.$iface" --stop 8>&- || return $? - stop_dhcp - clear_lease - : > "/run/reliefos/network-stopped.$iface" - /usr/lib/reliefos/publish-resolver -} -case "${1:-}" in - stop-dhcp) stop_dhcp; exit ;; - release) clear_lease; /usr/lib/reliefos/publish-resolver; exit ;; - stop) stop_interface; exit ;; - mode|dns|prepare|check|start|apply) ;; - *) fail 'expected list, mode, dns, prepare, check, start, stop, apply, release or stop-dhcp' ;; -esac -mode=dhcp address=0.0.0.0 prefix=24 gateway=0.0.0.0 dns_mode=automatic dns_servers= dns_custom= -case "$iface" in eth0) profile=/etc/reliefos/network.conf ;; *) profile=/etc/reliefos/network.d/$iface.conf ;; esac -# Reject a replaced directory before touching any per-interface profile. -for dir in /etc/reliefos /etc/reliefos/network.d; do - if test -e "$dir" || test -L "$dir"; then - test -d "$dir" && test ! -L "$dir" || fail 'unsafe profile directory' - test "$(stat -c %u "$dir")" = 0 || fail 'profile directory must belong to root' - permissions=$(stat -c %a "$dir") - test "$((0$permissions & 022))" -eq 0 || fail 'profile directory is writable by another user' - fi -done -if test -e "$profile" || test -L "$profile"; then - test -f "$profile" && test ! -L "$profile" || fail 'profile is not a regular file' - test "$(stat -c %u "$profile")" = 0 || fail 'profile must belong to root' - permissions=$(stat -c %a "$profile") - test "$((0$permissions & 022))" -eq 0 || fail 'profile is writable by another user' - size=$(stat -c %s "$profile") - test "$size" -le 16384 || fail 'profile is too large' - # POSIX shells can discard NUL bytes while reading. Reject them before - # parsing so this validator has the same byte contract as the GUI worker. - clean_size=$(tr -d '\000' < "$profile" | wc -c) - test "$clean_size" -eq "$size" || fail 'NUL byte in profile' - seen=' ' - while IFS= read -r line || test -n "$line"; do - case "$line" in ''|\#*) continue ;; *=*) ;; *) fail 'invalid field' ;; esac - key=${line%%=*}; value=${line#*=} - case "$seen" in *" $key "*) fail 'duplicate field' ;; esac - seen="$seen$key " - case "$key" in - version) test "$value" = 1 || fail 'unsupported version' ;; - mode) mode=$value ;; - address) address=$value ;; - prefix) prefix=$value ;; - gateway) gateway=$value ;; - dns_mode) dns_mode=$value ;; - dns_servers) dns_servers=$value ;; - dns_custom) dns_custom=$value ;; - *) fail 'unknown field' ;; - esac - done < "$profile" - case "$seen" in - *' version '*) - case "$seen" in *' dns_custom '*) fail 'legacy field in versioned profile' ;; esac - for key in version mode address prefix gateway dns_mode dns_servers; do - case "$seen" in *" $key "*) ;; *) fail 'incomplete profile' ;; esac - done - ;; - *) - # The previously shipped network.conf contained DNS preferences - # only. Preserve it and the published udhcpc policy until Save - # creates a complete versioned profile; do not silently rewrite it. - for key in $seen; do - case "$key" in dns_mode|dns_custom) ;; *) fail 'incomplete profile' ;; esac - done - case "$seen" in *' dns_mode '*) ;; *) fail 'missing DNS policy' ;; esac - case "$dns_mode" in - dhcp|automatic) dns_mode=automatic; test -z "$dns_custom" || fail 'unexpected custom server' ;; - custom) dns_servers=$dns_custom ;; - cloudflare) test -z "$dns_custom" || fail 'unexpected custom server' ;; - *) fail 'invalid legacy DNS mode' ;; - esac - if test -r /etc/udhcpc/leonos-dns; then - read -r previous_mode previous_servers < /etc/udhcpc/leonos-dns - case "$previous_mode" in - 0) dns_mode=cloudflare; dns_servers= ;; - 1) dns_mode=automatic; dns_servers= ;; - 2) dns_mode=custom; dns_servers=$previous_servers ;; - *) fail 'invalid published DNS mode' ;; - esac - fi - ;; - esac -elif test "$iface" = eth0 && test -r /etc/udhcpc/leonos-dns; then - read -r previous_mode previous_servers < /etc/udhcpc/leonos-dns - case "$previous_mode" in - 0) dns_mode=cloudflare ;; - 1) dns_mode=automatic ;; - 2) dns_mode=custom; dns_servers=$previous_servers ;; - *) fail 'invalid published DNS mode' ;; - esac -fi -case "$mode" in dhcp|static|disabled) ;; *) fail 'invalid mode' ;; esac -case "$dns_mode" in automatic|custom|cloudflare) ;; *) fail 'invalid DNS mode' ;; esac -valid_ip "$address" && valid_ip "$gateway" || fail 'invalid IPv4 address' -case "$prefix" in ''|*[!0-9]*) fail 'invalid prefix' ;; esac -while test "$prefix" != 0 && test "${prefix#0}" != "$prefix"; do prefix=${prefix#0}; done -test "${#prefix}" -le 2 && test "$prefix" -le 32 || fail 'invalid prefix' -mask=0 -test "$prefix" -eq 0 || mask=$(((4294967295 << (32 - prefix)) & 4294967295)) -ip=$(ip_number "$address"); gw=$(ip_number "$gateway") -if test "$mode" = static; then - test "$ip" -gt 0 && test "$ip" -lt 3758096384 && test "$((ip >> 24))" -ne 127 || fail 'unusable static address' - network=$((ip & mask)); broadcast=$((network | (4294967295 ^ mask))) - if test "$prefix" -lt 31; then - test "$ip" -ne "$network" && test "$ip" -ne "$broadcast" || fail 'network or broadcast address' - fi - if test "$gw" -ne 0; then - test "$gw" -lt 3758096384 && test "$gw" -ne "$ip" && test "$((gw & mask))" -eq "$network" || fail 'gateway outside subnet' - if test "$prefix" -lt 31; then - test "$gw" -ne "$network" && test "$gw" -ne "$broadcast" || fail 'unusable gateway' - fi - fi - test "$dns_mode" != automatic || fail 'static mode needs explicit DNS' -fi -if test "$dns_mode" = custom; then - case "$dns_servers" in ''|*[!0-9.\ ]*|\ *|*\ |*' '*) fail 'invalid DNS servers' ;; esac - count=0 - for server in $dns_servers; do - valid_ip "$server" || fail 'invalid DNS server' - n=$(ip_number "$server") - test "$n" -gt 0 && test "$n" -lt 3758096384 || fail 'unusable DNS server' - count=$((count + 1)); test "$count" -le 3 || fail 'too many DNS servers' - done -else - test -z "$dns_servers" || fail 'unexpected DNS servers' -fi -case "$1" in - check) exit 0 ;; - mode) printf '%s\n' "$mode" ;; - dns) - case "$dns_mode" in automatic) printf '1 0.0.0.0\n' ;; cloudflare) printf '0 0.0.0.0\n' ;; custom) printf '2 %s\n' "$dns_servers" ;; esac - ;; - prepare|start|apply) - if test "$1" = apply; then - # Preserve OpenRC service ownership if the service was stopped. - # Release the per-interface lock before OpenRC starts every NIC. - if ! /sbin/rc-service reliefos-dhcp status >/dev/null 2>&1; then - exec 8>&- - exec /sbin/rc-service reliefos-dhcp start - fi - stop_interface - fi - mkdir -p /run/reliefos - clear_lease - rm -f "/run/reliefos/network-stopped.$iface" - case "$mode" in - dhcp) /sbin/ifconfig "$iface" up ;; - static) - /sbin/ifconfig "$iface" "$address" netmask "$(print_ip "$mask")" up - test "$gw" -eq 0 || /sbin/route add default gw "$gateway" dev "$iface" - ;; - disabled) /sbin/ifconfig "$iface" down ;; - esac - /usr/lib/reliefos/publish-resolver - if test "$1" != prepare && test "$mode" = dhcp; then - RC_SVCNAME=reliefos-dhcp.$iface /sbin/supervise-daemon "reliefos-dhcp.$iface" --start \ - --retry TERM/1/KILL/1 --stdin /dev/null --stdout /var/log/udhcpc.log \ - --stderr /var/log/udhcpc.log --respawn-delay 5 --respawn-max 3 --respawn-period 60 \ - /sbin/udhcpc -- -f -R -i "$iface" -p "$client" \ - -s /usr/share/udhcpc/default.script -t 3 -T 1 -A 30 8>&- - fi - ;; -esac diff --git a/system/rootfs/usr/lib/reliefos/ntp-status b/system/rootfs/usr/lib/reliefos/ntp-status deleted file mode 100755 index a0269230..00000000 --- a/system/rootfs/usr/lib/reliefos/ntp-status +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Notification only: protocol, polling and clock discipline remain in ntpd. -set -eu -case "${1:-}" in - unsync) rm -f /run/reliefos/ntp-state; exit 0 ;; - step|stratum|periodic) ;; - *) exit 1 ;; -esac -case "${stratum:-}" in ''|*[!0-9]*) exit 1 ;; esac -if test "$stratum" -lt 1 || test "$stratum" -ge 16; then - rm -f /run/reliefos/ntp-state - exit 0 -fi -read -r uptime rest < /proc/uptime -umask 022 -tmp=$(mktemp /run/reliefos/.ntp-state.XXXXXX) -trap 'rm -f "$tmp"' EXIT HUP INT TERM -printf 'acquired=%s\nstratum=%s\n' "${uptime%%.*}" "$stratum" > "$tmp" -chmod 0644 "$tmp" -mv -f "$tmp" /run/reliefos/ntp-state diff --git a/system/rootfs/usr/lib/reliefos/publish-resolver b/system/rootfs/usr/lib/reliefos/publish-resolver deleted file mode 100755 index c85ea495..00000000 --- a/system/rootfs/usr/lib/reliefos/publish-resolver +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh -# Sole resolver writer. Inputs are numeric data, never sourced shell text. -set -eu -valid_ipv4() ( - case "$1" in *[!0-9.]*|''|.*|*.|*..*) return 1 ;; esac - IFS=. - set -- $1 - test "$#" -eq 4 || return 1 - for octet do - test "${#octet}" -le 3 && test "$octet" -le 255 || return 1 - done -) -# Every writer publishes after updating its own cache. Serializing the read -# and rename prevents an older callback from replacing a newer combined view. -mkdir -p /run/reliefos -exec 9>/run/reliefos/resolver.lock -flock -x 9 -explicit= automatic= ra=no -if test -x /usr/lib/reliefos/network-profile && test -r /proc/net/dev; then - interfaces=$(/usr/lib/reliefos/network-profile list) - for iface in $interfaces; do - if test -e "/run/reliefos/network-stopped.$iface"; then continue; fi - state=$(/usr/lib/reliefos/network-profile mode "$iface") - test "$state" != disabled || continue - settings=$(/usr/lib/reliefos/network-profile dns "$iface") - read -r mode custom </dev/null || :)" - ;; - *) exit 1 ;; - esac - done -else - # Compatibility with the old DNS-only configuration and standalone hook. - mode=1 custom=0.0.0.0 - if test -e /etc/reliefos/network.conf || test -L /etc/reliefos/network.conf; then - settings=$(/usr/lib/reliefos/network-profile dns) - read -r mode custom </dev/null || :) ;; - 2) explicit=$custom ;; - *) exit 1 ;; - esac -fi -servers=$explicit -if test "$ra" = yes; then servers="$servers $(cat /run/reliefos/ra-dns 2>/dev/null || :)"; fi -servers="$servers $automatic" -umask 022 -tmp=$(mktemp /etc/.resolv.conf.XXXXXX) -trap 'rm -f "$tmp"' EXIT HUP INT TERM -printf '# Managed by ReliefOS network resolver hook\noptions timeout:2 attempts:2\n' > "$tmp" -seen=' ' -count=0 -for server in $servers; do - case "$server" in - *:*) /usr/lib/reliefos/apps/rdnssd/rdnssd.elf --validate-server "$server" || exit 1 ;; - *) valid_ipv4 "$server" || exit 1 ;; - esac - case "$seen" in *" $server "*) continue ;; esac - seen="$seen$server " - # musl consumes at most three nameservers. Keep remaining source caches. - test "$count" -lt 3 || continue - printf 'nameserver %s\n' "$server" >> "$tmp" - count=$((count + 1)) -done -chmod 0644 "$tmp" -mv -f "$tmp" /etc/resolv.conf diff --git a/system/rootfs/usr/lib/reliefos/rc-default b/system/rootfs/usr/lib/reliefos/rc-default deleted file mode 100755 index 3b0acfb1..00000000 --- a/system/rootfs/usr/lib/reliefos/rc-default +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -if test -f /etc/reliefos/installer-runtime; then - exec /sbin/openrc installer -fi -exec /sbin/openrc default diff --git a/system/rootfs/usr/lib/reliefos/reliefos-migrate b/system/rootfs/usr/lib/reliefos/reliefos-migrate deleted file mode 100755 index 441fe2c3..00000000 --- a/system/rootfs/usr/lib/reliefos/reliefos-migrate +++ /dev/null @@ -1,163 +0,0 @@ -#!/bin/sh -# Copy only the known persistent files from the pre-ReliefOS guest layout. -set -u -umask 022 - -if [ "$#" -gt 1 ]; then - echo 'usage: reliefos-migrate [ROOT]' >&2 - exit 2 -fi -root=${1:-/} -[ -d "$root" ] || { echo "reliefos-migrate: root is not a directory: $root" >&2; exit 2; } -root=${root%/} -[ -n "$root" ] || root=/ - -log() { printf 'reliefos-migrate: %s\n' "$*" >&2; } -temporary= -cleanup() { - if [ -n "$temporary" ]; then - rm -f "$temporary" - temporary= - fi -} -trap cleanup EXIT -trap 'exit 1' HUP INT TERM - -safe_parent() { - relative=$1 - parent=${relative%/*} - current=$root - while [ -n "$parent" ]; do - case $parent in - */*) component=${parent%%/*}; parent=${parent#*/} ;; - *) component=$parent; parent= ;; - esac - if [ "$current" = / ]; then current=/$component; else current=$current/$component; fi - if [ -L "$current" ] || { [ -e "$current" ] && [ ! -d "$current" ]; }; then - log "unsafe destination parent for $relative: $current" - return 1 - fi - done - return 0 -} - -ensure_destination_parent() { - source_parts=${1%/*} - destination_parts=${2%/*} - source_current=$root - destination_current=$root - while [ -n "$source_parts" ] && [ -n "$destination_parts" ]; do - case $source_parts in - */*) source_component=${source_parts%%/*}; source_parts=${source_parts#*/} ;; - *) source_component=$source_parts; source_parts= ;; - esac - case $destination_parts in - */*) destination_component=${destination_parts%%/*}; destination_parts=${destination_parts#*/} ;; - *) destination_component=$destination_parts; destination_parts= ;; - esac - if [ "$source_current" = / ]; then source_current=/$source_component; else source_current=$source_current/$source_component; fi - if [ "$destination_current" = / ]; then destination_current=/$destination_component; else destination_current=$destination_current/$destination_component; fi - - if [ -L "$source_current" ] || { [ -e "$source_current" ] && [ ! -d "$source_current" ]; }; then - log "unsafe legacy directory: $source_current" - return 1 - fi - if [ -L "$destination_current" ] || { [ -e "$destination_current" ] && [ ! -d "$destination_current" ]; }; then - log "unsafe destination directory: $destination_current" - return 1 - fi - if [ ! -d "$destination_current" ]; then - if ! mkdir -m 0755 "$destination_current"; then - log "cannot create destination directory: $destination_current" - return 1 - fi - if [ -d "$source_current" ]; then - mode=$(stat -c '%a' "$source_current") || { log "cannot read directory mode: $source_current"; return 1; } - uid=$(stat -c '%u' "$source_current") || { log "cannot read directory owner: $source_current"; return 1; } - gid=$(stat -c '%g' "$source_current") || { log "cannot read directory group: $source_current"; return 1; } - if ! chmod "$mode" "$destination_current" || ! chown "$uid:$gid" "$destination_current"; then - log "cannot preserve directory permissions or ownership: $destination_current" - return 1 - fi - fi - fi - done - return 0 -} - -migrate_file() { - old_relative=$1 - new_relative=$2 - if [ "$root" = / ]; then - source=/$old_relative - destination=/$new_relative - else - source=$root/$old_relative - destination=$root/$new_relative - fi - - if [ ! -e "$source" ] && [ ! -L "$source" ]; then return 0; fi - if [ -L "$source" ] || [ ! -f "$source" ]; then - log "legacy source is not a regular file; refusing: /$old_relative" - return 1 - fi - if [ -e "$destination" ] || [ -L "$destination" ]; then - log "destination exists; keeping /$new_relative" - return 0 - fi - - if ! safe_parent "$old_relative" || ! safe_parent "$new_relative"; then return 1; fi - if ! ensure_destination_parent "$old_relative" "$new_relative"; then return 1; fi - temporary=$(mktemp "$destination.tmp.XXXXXX") || { - log "cannot create temporary file for /$new_relative" - return 1 - } - if ! cp -p "$source" "$temporary"; then - log "copy failed: /$old_relative -> /$new_relative" - cleanup - return 1 - fi - if ! cmp -s "$source" "$temporary"; then - log "copy verification failed: /$old_relative -> /$new_relative" - cleanup - return 1 - fi - # link(2) publishes atomically and fails instead of replacing a file that - # appeared after the initial existence check. - if ! ln "$temporary" "$destination"; then - if [ -e "$destination" ] || [ -L "$destination" ]; then - log "destination appeared during migration; keeping /$new_relative" - cleanup - return 0 - fi - log "cannot publish migrated file: /$new_relative" - cleanup - return 1 - fi - cleanup - log "copied /$old_relative -> /$new_relative" - return 0 -} - -failed=0 -# Keep this list explicit. Do not recurse through user-owned directories. -for pair in \ - 'etc/leonos/leonos.conf etc/reliefos/leonos.conf' \ - 'etc/leonos/display.conf etc/reliefos/display.conf' \ - 'etc/leonos/network.conf etc/reliefos/network.conf' \ - 'etc/leonos/locale.conf etc/reliefos/locale.conf' \ - 'etc/leonos/environment.conf etc/reliefos/environment.conf' \ - 'etc/leonos/fileassoc.cfg etc/reliefos/fileassoc.cfg' \ - 'etc/leonos/lesskey etc/reliefos/lesskey' \ - 'etc/leonos/installer-runtime etc/reliefos/installer-runtime' \ - 'etc/leonos/installed etc/reliefos/installed' \ - 'var/lib/leonos/users.db var/lib/reliefos/users.db' \ - 'var/lib/leonos/accounts.db var/lib/reliefos/accounts.db' \ - 'var/lib/leonos/startup.db var/lib/reliefos/startup.db' \ - 'var/lib/leonos/startup-denials.db var/lib/reliefos/startup-denials.db' \ - 'var/lib/leonos/oobe.done var/lib/reliefos/oobe.done'; do - set -- $pair - if ! migrate_file "$1" "$2"; then failed=1; fi -done - -exit "$failed" diff --git a/system/rootfs/usr/share/licenses/alpine-keys/LICENSE b/system/rootfs/usr/share/licenses/alpine-keys/LICENSE deleted file mode 100644 index 723791a8..00000000 --- a/system/rootfs/usr/share/licenses/alpine-keys/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -The upstream alpine-keys APKBUILD declares MIT. The public key files do not -contain individual copyright notices. See SOURCE.json for provenance. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/system/rootfs/usr/share/licenses/alpine-keys/SOURCE.json b/system/rootfs/usr/share/licenses/alpine-keys/SOURCE.json deleted file mode 100644 index ba362325..00000000 --- a/system/rootfs/usr/share/licenses/alpine-keys/SOURCE.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "package": "alpine-keys", - "version": "2.6-r0", - "architecture": "x86_64", - "license": "MIT", - "license_source": "upstream APKBUILD license field; the PEM files contain no copyright header", - "source": "https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.24-stable/main/alpine-keys", - "checksums_source": "https://gitlab.alpinelinux.org/alpine/aports/-/raw/3.24-stable/main/alpine-keys/APKBUILD", - "retrieved": "2026-09-13", - "sha512": { - "alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub": "2d4064cbe09ff958493ec86bcb925af9b7517825d1d9d8d00f2986201ad5952f986fea83d1e2c177e92130700bafa8c0bff61411b3cdb59a41e460ed719580a6", - "alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub": "721134f289ab1e7dde9158359906017daee40983199fe55f28206c8cdc46b8fcf177a36f270ce374b0eba5dbe01f68cbb3e385ae78a54bb0a2ed1e83a4d820a5", - "alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub": "8b9c2208c904c9f34d9d01d3d68b224208530e684265df214deb8c9e6b4b19633aa48a405e673249c9e93a8ee194a336e951cd82a4e27e5e66e85fdc5e0d495e" - } -} diff --git a/system/rootfs/usr/share/licenses/netbase/COPYING b/system/rootfs/usr/share/licenses/netbase/COPYING deleted file mode 100644 index b2fe7b6a..00000000 --- a/system/rootfs/usr/share/licenses/netbase/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/system/rootfs/usr/share/licenses/netbase/SOURCE b/system/rootfs/usr/share/licenses/netbase/SOURCE deleted file mode 100644 index 56c83801..00000000 --- a/system/rootfs/usr/share/licenses/netbase/SOURCE +++ /dev/null @@ -1,3 +0,0 @@ -Debian netbase v6.4: https://salsa.debian.org/md/netbase/-/tree/v6.4 -/etc/protocols and /etc/services are unmodified upstream files. -Selected by Alpine baselayout 3.7.2; their upstream SHA-512 digests were checked at import. diff --git a/system/rootfs/usr/share/licenses/netbase/copyright b/system/rootfs/usr/share/licenses/netbase/copyright deleted file mode 100644 index 007be03c..00000000 --- a/system/rootfs/usr/share/licenses/netbase/copyright +++ /dev/null @@ -1,28 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Comment: - This package was created by Peter Tobias tobias@et-inf.fho-emden.de on - Wed, 24 Aug 1994 21:33:28 +0200 and maintained by Anthony Towns - until 2001. - It is currently maintained by Marco d'Itri . - -Files: * -Copyright: - Copyright (c) 1994-1998 Peter Tobias - Copyright (c) 1998-2001 Anthony Towns - Copyright (c) 2002-2022 Marco d'Itri -License: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License, version 2, as - published by the Free Software Foundation. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - . - On Debian systems, the complete text of the GNU General Public License - version 2 can be found in '/usr/share/common-licenses/GPL-2'. diff --git a/system/rootfs/usr/share/udhcpc/default.script b/system/rootfs/usr/share/udhcpc/default.script deleted file mode 100755 index dd72047c..00000000 --- a/system/rootfs/usr/share/udhcpc/default.script +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# Each BusyBox client owns only its interface's address, route and cache. -set -eu -interface=${interface:-} -test -n "$interface" || exit 1 -# This also verifies that the validated name is an enumerated Ethernet device. -/usr/lib/reliefos/network-profile interface "$interface" -case "$interface" in - eth0) dns_file=/run/reliefos/dhcp-dns; lease_file=/run/reliefos/dhcp-lease ;; - *) dns_file=/run/reliefos/dhcp-dns.$interface; lease_file=/run/reliefos/dhcp-lease.$interface ;; -esac -case "${1:-}" in - bound|renew) - /sbin/ifconfig "$interface" "$ip" netmask "$subnet" ${broadcast:+broadcast "$broadcast"} up - /sbin/route del default dev "$interface" 2>/dev/null || : - for gateway in ${router:-}; do /sbin/route add default gw "$gateway" dev "$interface"; break; done - tmp=$(mktemp /run/reliefos/.dhcp-dns.XXXXXX) - printf '%s\n' "${dns:-}" > "$tmp" - mv -f "$tmp" "$dns_file" - /usr/lib/reliefos/publish-resolver - read -r uptime rest < /proc/uptime - acquired=${uptime%%.*} - lease_tmp=$(mktemp /run/reliefos/.dhcp-lease.XXXXXX) - trap 'rm -f "$lease_tmp"' EXIT HUP INT TERM - printf 'ip=%s\nsubnet=%s\nrouter=%s\ndns=%s\nlease=%s\nacquired=%s\n' "$ip" "$subnet" "${router:-}" "${dns:-}" "${lease:-}" "$acquired" > "$lease_tmp" - chmod 0644 "$lease_tmp" - mv -f "$lease_tmp" "$lease_file" - trap - EXIT HUP INT TERM - ;; - deconfig) - /sbin/ifconfig "$interface" 0.0.0.0 - rm -f "$dns_file" "$lease_file" - /usr/lib/reliefos/publish-resolver - ;; - leasefail|nak) echo "DHCP $1 on $interface" >&2; exit 1 ;; - *) exit 2 ;; -esac diff --git a/system/test-accounts/group b/system/test-accounts/group deleted file mode 100644 index 01a58bc3..00000000 --- a/system/test-accounts/group +++ /dev/null @@ -1,6 +0,0 @@ -root:x:0: -wheel:x:10:test -video:x:44:test -nobody:x:65534: -test:x:1000: -uucp:x:14: diff --git a/system/test-accounts/gshadow b/system/test-accounts/gshadow deleted file mode 100644 index ee8bcc7a..00000000 --- a/system/test-accounts/gshadow +++ /dev/null @@ -1,6 +0,0 @@ -root:!:: -wheel:!::test -video:!::test -nobody:!:: -test:!:: -uucp:!:: diff --git a/system/test-accounts/passwd b/system/test-accounts/passwd deleted file mode 100644 index 43e7be5d..00000000 --- a/system/test-accounts/passwd +++ /dev/null @@ -1,3 +0,0 @@ -root:x:0:0:root:/root:/bin/bash -nobody:x:65534:65534:nobody:/:/sbin/nologin -test:x:1000:1000:Test user:/home/test:/bin/bash diff --git a/system/test-accounts/shadow b/system/test-accounts/shadow deleted file mode 100644 index 3b0d18e8..00000000 --- a/system/test-accounts/shadow +++ /dev/null @@ -1,3 +0,0 @@ -root:$y$j9T$lt1mlOpEEc0Y6q4xFj7DgN50g4S0BlZg2wkIsLJKiB4$yNUUjgnx8mpoEHampdlJ/sawT4YagiFJ8e9lgzSZ4G7:20000:0:99999:7::: -nobody:!::::::: -test:$y$j9T$hpGQ7DeOx4tlBWVpJASwai6bYsOf/Jo75wr0Kkf7Na5$I/sv2C6lXd9r7LxWuu7/5iDRJgAOWObKl3N0EAttnJ/:20000:0:99999:7::: diff --git a/system/xorg/autostart-terminal b/system/xorg/autostart-terminal deleted file mode 100755 index 683eb11c..00000000 --- a/system/xorg/autostart-terminal +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# GIO's private Terminal=true adapter receives an already expanded command argv. -exec /usr/bin/st -e "$@" diff --git a/system/xorg/icewm/menu-pinned.sh b/system/xorg/icewm/menu-pinned.sh index 21ce1acc..f9186421 100644 --- a/system/xorg/icewm/menu-pinned.sh +++ b/system/xorg/icewm/menu-pinned.sh @@ -3,25 +3,26 @@ case ${LC_ALL:-${LC_MESSAGES:-${LANG:-C}}} in ja|ja_*|ja.*|ja@*) terminal=端末 fileman=ファイルマネージャー calculator=電卓 - information=システム情報 editor=テキストエディター browser=Webブラウザー + information=システム情報 settings=システム設定 updates=システム更新 about=バージョン情報 logout=ログアウト ;; zh|zh_*|zh.*|zh@*) terminal=终端 fileman=文件管理器 calculator=计算器 - information=系统信息 editor=文本编辑器 browser=网页浏览器 + information=系统信息 settings=系统设置 updates=系统更新 about=关于 logout=注销 ;; *) terminal=Terminal fileman='File Manager' calculator=Calculator - information='System information' editor='Text editor' browser='Web browser' + information='System information' settings='System Settings' updates='System Updates' about=About logout='Log out' ;; esac printf 'prog "%s" xterm sh /etc/reliefos/icewm/terminal.sh\n' "$terminal" printf 'prog "%s" reliefos-fileman fileman\n' "$fileman" printf 'prog "%s" reliefos-calc calc\n' "$calculator" printf 'prog "%s" reliefos-osver osver\n' "$information" -printf 'prog "%s" file nedit\n' "$editor" -printf 'prog "%s" app netsurf\n' "$browser" -printf '%s\n' 'prog "xeyes" app xeyes' +command -v reliefsettings >/dev/null 2>&1 && + printf 'prog "%s" reliefos-reliefsettings reliefsettings\n' "$settings" +command -v reliefpackages >/dev/null 2>&1 && + printf 'prog "%s" reliefos-reliefpackages reliefpackages --upgrade\n' "$updates" printf '%s\n' 'includeprog icewm-menu-fdo --sep-before -d1400 -D1650 -S --limit-max-len=42' 'separator' -printf 'prog "%s" about xterm -title "%s" -geometry 62x12 -e sh /etc/reliefos/icewm/about.sh\n' "$about" "$about" +printf 'prog "%s" about st -T "%s" -g 62x12 -e sh /etc/reliefos/icewm/about.sh\n' "$about" "$about" printf '%s\n' 'separator' -printf 'prog "%s" logout killall icewm\n' "$logout" +printf 'prog "%s" logout icesh logout\n' "$logout" diff --git a/system/xorg/icewm/terminal.sh b/system/xorg/icewm/terminal.sh index 7174d4c5..858688f9 100755 --- a/system/xorg/icewm/terminal.sh +++ b/system/xorg/icewm/terminal.sh @@ -1,8 +1,8 @@ #!/bin/sh # Menu/key launches inherit IceWM's nice value. Build jobs started from the # terminal use normal priority, just like the initial XDM session terminal. -if test -x /bin/busybox; then - /bin/busybox renice 0 -p "$$" >/dev/null 2>&1 || : +if command -v renice >/dev/null 2>&1; then + renice 0 -p "$$" >/dev/null 2>&1 || : fi # Keep st's default palette and start the user's login shell. exec /usr/bin/st -T ReliefOS -g 100x32+0+0 -e "${SHELL:-/bin/sh}" -l diff --git a/system/xorg/icewm/theme b/system/xorg/icewm/theme index 7428794b..252ebc97 100644 --- a/system/xorg/icewm/theme +++ b/system/xorg/icewm/theme @@ -1 +1 @@ -Theme="win95/default.theme" +Theme="default/default.theme" diff --git a/system/xorg/installer-session b/system/xorg/installer-session deleted file mode 100755 index c6be5e19..00000000 --- a/system/xorg/installer-session +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/sh -# Root-owned live installer session for installation media. -# -# The media locks every account, so there is no greeter: tty1's -# console session hands the VT straight to this script, which owns the X -# server on vt1 and runs IceWM with the installer as the single workload. -# Every line of output is captured by the console session into the root-only -# /var/log/installer-session.log, and each event is recorded only after the -# corresponding child really started. -set -u - -xorg_log=/var/log/Xorg.0.log - -umask 077 -mkdir -p /run/reliefos || exit 1 - -stage() { - printf '%s\n' "installer-session: $1" -} - -# Preserve the very first Xorg log so later sessions cannot rotate over the -# evidence of the failure being diagnosed. -if test -f "$xorg_log" && test ! -f "$xorg_log.first"; then - cp -p "$xorg_log" "$xorg_log.first" 2>/dev/null || : -fi - -for path in /etc/X11/xorg.conf /usr/lib/reliefos/xorg-tty-wrapper /usr/bin/icewm-session \ - /usr/lib/reliefos/apps/installer/installer.elf; do - if test ! -r "$path"; then - stage "missing $path" - stage 'tty1 restored to rescue shell' - exit 1 - fi -done - -stage 'starting live installer session on vt1' -printf '%s\n' 'desktop-backend=xorg' - -DISPLAY=:0 -export DISPLAY - -xorg_pid= -icewm_pid= -installer_pid= -cleanup() { - for pid in $installer_pid $icewm_pid $xorg_pid; do - kill "$pid" 2>/dev/null || : - done - for pid in $installer_pid $icewm_pid $xorg_pid; do - wait "$pid" 2>/dev/null || : - done -} -trap cleanup EXIT HUP INT TERM - -/usr/lib/reliefos/xorg-tty-wrapper :0 -config /etc/X11/xorg.conf -nolisten tcp vt1 -keeptty & -xorg_pid=$! - -tries=0 -while test "$tries" -lt 60; do - if test -S /tmp/.X11-unix/X0; then - break - fi - if ! kill -0 "$xorg_pid" 2>/dev/null; then - wait "$xorg_pid" 2>/dev/null - status=$? - xorg_pid= - stage "X server failed to start status=$status" - stage 'tty1 restored to rescue shell' - exit 1 - fi - sleep 1 - tries=$((tries + 1)) -done -if test ! -S /tmp/.X11-unix/X0; then - stage 'X server failed to start status=timeout' - stage 'tty1 restored to rescue shell' - exit 1 -fi -stage 'X server ready on vt1' - -# Use the same theme-managed background and native session lifetime as the -# installed desktop; no media-specific wallpaper is imposed on the theme. -/usr/bin/icewm-session & -icewm_pid=$! -sleep 1 -if ! kill -0 "$icewm_pid" 2>/dev/null; then - wait "$icewm_pid" 2>/dev/null - status=$? - icewm_pid= - stage "icewm failed to start status=$status" - stage 'tty1 restored to rescue shell' - exit 1 -fi -stage "icewm started pid=$icewm_pid" - -/usr/lib/reliefos/apps/installer/installer.elf --graphical & -installer_pid=$! -sleep 1 -if ! kill -0 "$installer_pid" 2>/dev/null; then - wait "$installer_pid" 2>/dev/null - status=$? - installer_pid= - stage "installer failed to start status=$status" - stage 'tty1 restored to rescue shell' - exit 1 -fi -stage "installer started pid=$installer_pid" - -# The installer owns the session lifetime: when it exits, the window manager -# and X server are torn down and tty1 is handed back to the rescue shell. -wait "$installer_pid" -status=$? -installer_pid= -stage "installer exit status=$status" - -kill "$icewm_pid" 2>/dev/null || : -wait "$icewm_pid" 2>/dev/null || : -icewm_pid= -kill "$xorg_pid" 2>/dev/null || : -wait "$xorg_pid" 2>/dev/null || : -xorg_pid= -stage 'tty1 restored to rescue shell' -exit "$status" diff --git a/system/xorg/pam-xdm b/system/xorg/pam-xdm deleted file mode 100644 index c1f4bbc8..00000000 --- a/system/xorg/pam-xdm +++ /dev/null @@ -1,6 +0,0 @@ -auth requisite pam_nologin.so -auth required pam_shells.so -auth include common-auth -account include common-account -password include common-password -session include common-session diff --git a/system/xorg/reliefos-xdm b/system/xorg/reliefos-xdm deleted file mode 100755 index 804a31df..00000000 --- a/system/xorg/reliefos-xdm +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh -# Root-owned XDM launcher used only by tty1's foreground console session. -# -# Everything outside the authenticated user session runs as root. The -# lifecycle record lives in /var/log/xdm.log, which is root-only: the session -# can neither read nor truncate it. The session is never given that path; it -# only receives a write-only descriptor for a scratch sink that this script -# drains afterwards. Every exit path — success or failure — merges the sink, -# records the server return code and hands tty1 back to the text getty. -set -u - -log=/var/log/xdm.log -xorg_log=/var/log/Xorg.0.log -state_dir=/run/reliefos/xdm -sink=$state_dir/events - -umask 077 -mkdir -p /var/lib/xdm /run/reliefos "$state_dir" || exit 1 - -# Preserve the very first Xorg log so later sessions cannot rotate over the -# evidence of the failure being diagnosed. -if test -f "$xorg_log" && test ! -f "$xorg_log.first"; then - cp -p "$xorg_log" "$xorg_log.first" 2>/dev/null || : -fi - -# Root-only log and root-only scratch sink. The sink is never exported as a -# path, so a session cannot open it for reading or truncation. -touch "$log" 2>/dev/null || exit 1 -chmod 0600 "$log" - -stage() { - printf '%s\n' "reliefos-xdm: $1" >> "$log" -} - -for path in /usr/bin/xdm /etc/X11/xdm/xdm-config /etc/X11/xdm/Xservers \ - /etc/X11/xdm/Xresources /usr/lib/X11/xdm/Xsetup_0 \ - /etc/X11/xorg.conf /usr/bin/Xorg /usr/lib/reliefos/xorg-tty-wrapper \ - /usr/lib/X11/xdm/Xsession; do - if test ! -r "$path"; then - stage "missing $path" - stage 'tty1 restored to text login' - exit 1 - fi -done - -stage 'starting xdm on vt1' -printf '%s\n' 'desktop-backend=xorg' >> "$log" -printf '%s\n' 'xdm started on vt1' >> "$log" - -# Hand the session a write-only append descriptor instead of a file name. It -# can record fixed event text but cannot read back or rewrite the root record. -# The sink exists only for the lifetime of the server, so no exit path can leave -# it behind. -: > "$sink" -chmod 0600 "$sink" -RELIEFOS_XORG_EVENT_FD=3 -export RELIEFOS_XORG_EVENT_FD -exec 3>>"$sink" -# Xorg and the window manager need timely CPU service while ordinary jobs -# compile in parallel. Keep SCHED_OTHER and use an inherited nice value; -# Xsession and the menu terminal restore normal priority before starting shells. -if test -x /bin/busybox; then - /bin/busybox renice -10 -p "$$" >/dev/null 2>&1 || - stage 'desktop scheduling priority unchanged' -fi -# Use XDM's compiled-in /etc/X11/xdm/xdm-config, as a direct launch does. -/usr/bin/xdm -nodaemon -status=$? -exec 3>&- - -# Preserve a log produced by this launch when Xorg failed before the next -# session could start. Never replace the first captured failure. -if test -f "$xorg_log" && test ! -f "$xorg_log.first"; then - cp -p "$xorg_log" "$xorg_log.first" 2>/dev/null || : -fi - -# Merge the session's events and report the real server status on every path. -if test -s "$sink"; then - while IFS= read -r line; do - printf '%s\n' "$line" >> "$log" - done < "$sink" -fi -rm -f "$sink" -stage "xdm exit status=$status" -if test -f "$xorg_log"; then - stage "xorg log present bytes=$(wc -c < "$xorg_log" 2>/dev/null | tr -d ' ')" -else - stage 'xorg log missing' -fi -stage 'tty1 restored to text login' -exit "$status" diff --git a/system/xorg/xdm-session b/system/xorg/xdm-session deleted file mode 100755 index b2cc44f1..00000000 --- a/system/xorg/xdm-session +++ /dev/null @@ -1,178 +0,0 @@ -#!/bin/sh -# XDM invokes this script as the authenticated user. -# -# The lifecycle events below are written to the write-only descriptor the root -# launcher exported as RELIEFOS_XORG_EVENT_FD, never to a path the session can -# read or truncate. Each event is recorded only after the corresponding child -# really started, so the recorded order matches the real session lifetime. -set -u -umask 077 - -if test -z "${HOME:-}" || test -z "${DISPLAY:-}"; then - exit 1 -fi - -uid=$(id -u 2>/dev/null || printf '%s' unknown) - -event_fd=${RELIEFOS_XORG_EVENT_FD:-} -event() { - printf '%s\n' "$1" - case "$event_fd" in - ''|*[!0-9]*) ;; - *) printf '%s\n' "$1" >&"$event_fd" 2>/dev/null || : ;; - esac -} - -# XDM has already authenticated the account and set its uid/home. Root is a -# valid local desktop account in ReliefOS, so keep the authenticated uid here -# instead of rejecting it and making the greeter loop forever. -case "$uid" in - ''|unknown) - event 'xdm-session: authenticated uid unavailable' - exit 1 - ;; -esac - -session_log=$HOME/.xsession-errors -: > "$session_log" 2>/dev/null || session_log=${XDG_CACHE_HOME:-/tmp}/reliefos-xsession-errors."$uid" -exec >> "$session_log" 2>&1 - -# Start a program in the background and leave its pid in child_pid only when it -# is really running. A missing or non-executable program is refused up front; -# a program that dies immediately is reported instead of being called "started". -child_pid= -start_child() { - start_name=$1 - shift - child_pid= - if ! test -x "$1"; then - event "$start_name failed to start" - return 1 - fi - "$@" & - child_pid=$! - # Confirm the child survived its own exec before calling it started. Each - # throwaway wait is a reap pass: without one a child that already exited - # still answers kill -0 as an unreaped zombie. Two reap probes around a - # short settle span the window in which an exec failure or an immediate exit - # appears, so the session does not spin on a fixed pile of throwaway forks - # (each a full process spawn here) just to notice a child that died at exec. - start_probes=0 - while test "$start_probes" -lt 2; do - ( : ) & wait $! 2>/dev/null - if ! kill -0 "$child_pid" 2>/dev/null; then - wait "$child_pid" 2>/dev/null - child_pid= - event "$start_name failed to start" - return 1 - fi - start_probes=$((start_probes + 1)) - # Fractional settle is a widely supported extension; skip it silently - # where only whole-second sleep exists rather than delay the session. - if test "$start_probes" -lt 2; then - sleep 0.05 2>/dev/null || : - fi - done - return 0 -} - -event 'PAM authentication accepted' - -icewm_pid= -st_pid= -clipboard_pid= -autostart_pid= -cleanup() { - for pid in $st_pid $icewm_pid $clipboard_pid $autostart_pid; do - kill "$pid" 2>/dev/null || : - done - for pid in $st_pid $icewm_pid $clipboard_pid $autostart_pid; do - wait "$pid" 2>/dev/null || : - done -} -trap cleanup EXIT HUP INT TERM - -# Import the account's language before initializing locale-dependent clients. -if test -r /etc/profile.d/reliefos-locale.sh; then - . /etc/profile.d/reliefos-locale.sh -fi - -# Create the freedesktop.org XDG user directories before any session client -# starts. This is the same hook Xsession/xinitrc startup runs on other -# distributions; GTK file libraries expect e.g. $HOME/Templates to exist. -if test -x /usr/bin/xdg-user-dirs-update; then - /usr/bin/xdg-user-dirs-update || : -fi - -if test -x /usr/bin/reliefsettings; then - /usr/bin/reliefsettings --apply-session || event 'Some personal desktop settings could not be applied' -fi - -# Honour the conventional per-user and system X session entry points. The -# installer supplies a site Xsession for the selected XFCE session. -user_session=$HOME/.xsession -if test -x "$user_session"; then - # Alpine xinit 1.4.4-r0 installs a skeleton that runs ~/.xinitrc. - # Skip only the unchanged skeleton when its target is absent, including - # in homes seeded before this fix. A custom session owns its own exit. - skeleton_digest=da325bbad10c1e05b61ef250c6cdada784be0a08b9f48984e691ea9a5abc9dd8 - session_digest= - if test ! -e "$HOME/.xinitrc" && test -f "$user_session"; then - session_digest=$(sha256sum < "$user_session" 2>/dev/null) || session_digest= - fi - if test "${session_digest%% *}" != "$skeleton_digest"; then - event 'starting user X session' - exec "$user_session" - fi -fi -if test -x /etc/X11/Xsession; then - event 'starting system X session' - exec /etc/X11/Xsession -fi - -# freedesktop Desktop Entry names are case-sensitive. -export XDG_CURRENT_DESKTOP=ICEWM - -# IceWM's native session supervisor starts icewmbg, which reads background -# preferences from the selected theme and follows subsequent theme changes. -start_child icewm /usr/bin/icewm-session || exit 1 -icewm_pid=$child_pid -event "icewm started for uid=$uid" - -if test -x /usr/bin/reliefclipboard; then - if start_child reliefclipboard /usr/bin/reliefclipboard --daemon; then - clipboard_pid=$child_pid - event 'clipboard manager started' - fi -fi - -# IceWM keeps the display service priority inherited from XDM. Shells and -# their build jobs use the normal nice value, including for a root login. -if test -x /bin/busybox; then - /bin/busybox renice 0 -p "$$" >/dev/null 2>&1 || - event 'terminal scheduling priority unchanged' -fi - -if test -x /usr/bin/taskmgr; then - if start_child autostart /usr/bin/taskmgr --run-autostart; then - autostart_pid=$child_pid - event 'XDG autostart started' - fi -fi - -# Keep st's default palette and start the user's login shell. -start_child st /usr/bin/st -T ReliefOS -g 100x32+0+0 -e "${SHELL:-/bin/sh}" -l || exit 1 -st_pid=$child_pid -event 'st started' - -# The window manager owns the session lifetime; st is torn down with it. -wait "$icewm_pid" -status=$? -icewm_pid= -if test -n "$st_pid"; then - kill "$st_pid" 2>/dev/null || : -fi -wait "$st_pid" 2>/dev/null || : -st_pid= -event 'xdm session ended' -exit "$status" diff --git a/system/xorg/xdm-setup b/system/xorg/xdm-setup deleted file mode 100644 index 6ce2e463..00000000 --- a/system/xorg/xdm-setup +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# Standard XDM setup hook, installed as /usr/lib/X11/xdm/Xsetup_0. -# Keep the X server background unless the administrator configures this hook. -# The greeter's colors, fonts and logo are defined by /etc/X11/xdm/Xresources. -exit 0 diff --git a/system/xorg/xdm.conf b/system/xorg/xdm.conf deleted file mode 100644 index 79460f59..00000000 --- a/system/xorg/xdm.conf +++ /dev/null @@ -1,15 +0,0 @@ -DisplayManager.authDir: /var/lib/xdm -DisplayManager.errorLogFile: /var/log/xdm.log -DisplayManager.pidFile: /run/xdm.pid -DisplayManager.servers: /etc/X11/xdm/Xservers -! XDM rebuilds the authenticated session environment from this allow-list. -DisplayManager.exportList: RELIEFOS_XORG_EVENT_FD -DisplayManager*resources: /etc/X11/xdm/Xresources -DisplayManager*authorize: true -DisplayManager*startup: /bin/true -DisplayManager*session: /usr/lib/X11/xdm/Xsession -DisplayManager*reset: /bin/true -DisplayManager._0.setup: /usr/lib/X11/xdm/Xsetup_0 -DisplayManager._0.startup: /bin/true -DisplayManager._0.reset: /bin/true -DisplayManager.requestPort: 0 diff --git a/system/xorg/xfce-xfwm4.xml b/system/xorg/xfce-xfwm4.xml deleted file mode 100644 index aabf733a..00000000 --- a/system/xorg/xfce-xfwm4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/system/xorg/xfce-xinitrc b/system/xorg/xfce-xinitrc deleted file mode 100755 index 1c7b02ec..00000000 --- a/system/xorg/xfce-xinitrc +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# XFCE owns its window manager, desktop, panel and XDG autostart lifecycle. -export XDG_CURRENT_DESKTOP=XFCE -export XDG_SESSION_DESKTOP=xfce -export DESKTOP_SESSION=xfce -exec /usr/bin/dbus-run-session -- /usr/bin/startxfce4 diff --git a/system/xorg/xorg-tty-wrapper b/system/xorg/xorg-tty-wrapper index 467d6077..1e323a62 100644 --- a/system/xorg/xorg-tty-wrapper +++ b/system/xorg/xorg-tty-wrapper @@ -15,8 +15,8 @@ if test ! -r "$tty" || test ! -w "$tty"; then fi exec <"$tty" >"$tty" 2>&1 -if test ! -c /dev/dri/card0 && test -c /dev/fb0; then - /usr/sbin/fbset -fb /dev/fb0 -depth 32 || : +if test ! -c /dev/dri/card0 && test -c /dev/fb0 && command -v fbset >/dev/null; then + fbset -fb /dev/fb0 -depth 32 || : fi # Hardware cursors let SVGA and VirtIO move the pointer without damaging the # scanout. VirtIO also enables fenced page flips. An explicitly selected diff --git a/tests/build/app-package-fixture.sh b/tests/build/app-package-fixture.sh new file mode 100644 index 00000000..59360c77 --- /dev/null +++ b/tests/build/app-package-fixture.sh @@ -0,0 +1,46 @@ +#!/bin/bash +# Exercise the actual split-package functions with disposable build products. +set -euo pipefail + +root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) +app=${1:?missing application} +case $app in reliefcapture|reliefdiagram|reliefplayer) ;; *) exit 2 ;; esac +tmp_root=${TMPDIR:-$root/out/tmp} +mkdir -p "$tmp_root" +work=$(mktemp -d "$tmp_root/$app-package.XXXXXX") +trap 'rm -rf "$work"' EXIT HUP INT TERM + +export RELIEFOS_SOURCE_ROOT=$root RELIEFOS_KERNEL_PACKAGE_SEQUENCE=1 +BUILDDIR=$work/build +pkgdir=$work/package +mkdir -p "$BUILDDIR/kbuild/glibc/bin" "$pkgdir" +printf '#!/bin/sh\nexit 0\n' > "$BUILDDIR/kbuild/glibc/bin/$app" + +# The package function populates exactly one package root, as makepkg does. +source "$root/packages/arch/reliefos-apps/PKGBUILD" +pkgname=reliefos-$app +"package_$pkgname" + +test -x "$pkgdir/usr/bin/$app" +test -f "$pkgdir/usr/share/applications/$app.desktop" +test -f "$pkgdir/usr/lib/reliefos/apps/$app/$app.bmp" +for size in 16 32 48 64 128 256; do + test -f "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-$app.png" +done +for locale in zh_CN ja_JP; do + test -s "$pkgdir/usr/share/locale/$locale/LC_MESSAGES/$app.mo" +done +test -f "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +test -f "$pkgdir/usr/share/licenses/$pkgname/NOTICE" + +case $app in + reliefdiagram) + test -f "$pkgdir/usr/share/mime/packages/reliefdiagram.xml" + [[ " ${depends[*]} " == *' shared-mime-info '* ]] + ;; + reliefplayer) + test -f "$pkgdir/usr/share/licenses/$pkgname/minimp3-NOTICE" + [[ " ${depends[*]} " == *' ffmpeg '* ]] + ;; +esac +printf '%s split-package files and dependencies are present\n' "$pkgname" diff --git a/tests/build/brand-allowlist.tsv b/tests/build/brand-allowlist.tsv deleted file mode 100644 index 52ef2377..00000000 --- a/tests/build/brand-allowlist.tsv +++ /dev/null @@ -1,344 +0,0 @@ -# ReliefOS task 11 reviewed old-name allowlist. -# scopecategorypathreason; exact tracked path, no blanket migration exemptions. -# Rules: Documentation/userspace-api/abi.rst. -main external-url .github/workflows/ci.yml GitHub Secret 旧名回退;优先新 RELIEFOS Secret,不改外部配置 -main compatibility Documentation/locale/en/LC_MESSAGES/kbuild/third-party.po 第三方端口路径与旧标识的英文翻译,与原手册同一兼容边界 -main history Documentation/locale/en/LC_MESSAGES/releases/5.3.3.po 5.3.3 迁移说明的英文翻译,说明已退役的共享翻译域 -main compatibility Documentation/locale/en/LC_MESSAGES/userspace-api/abi.po 冻结 ABI 别名与兼容路径的英文翻译 -main compatibility Documentation/locale/ja/LC_MESSAGES/kbuild/third-party.po 第三方端口路径与旧标识的日文翻译,与原手册同一兼容边界 -main history Documentation/locale/ja/LC_MESSAGES/releases/5.3.3.po 5.3.3 迁移说明的日文翻译,说明已退役的共享翻译域 -main compatibility Documentation/locale/ja/LC_MESSAGES/userspace-api/abi.po 冻结 ABI 别名与兼容路径的日文翻译 -main history Documentation/releases/5.3.3.rst 历史发布说明需要说明旧共享翻译域的迁移 -main compatibility scripts/reliefos/Makefile.environment 保留 LEONOS_CACHE 输入回退与旧 ntclks fetch 目标别名 -main external-url system/rootfs/etc/motd.ja_JP 日语 MOTD 中仍在使用的真实 SourceHut 地址 -main compatibility tests/build/test-grub-kbuild-inputs.sh 夹具消费既有 leonos-unicode.pf2 字体产物名 -main compatibility tests/build/test-site-i18n.py 验证冻结的 RPR 公钥别名和健康检查协议字节不变 -main compatibility tests/host/test_bootloader_uefi.c 验证旧 ESP 目录被保留且不会破坏现有系统 -main compatibility tools/build/rpr-human-pages.sh 展示并保留冻结的 RPR 公钥别名 -main compatibility tools/host/modules/payload_stage.c 向兼容 ESP 目录发布同一完整引导载荷 -main compatibility tools/test_boot_logo_qemu.py 接受旧内核日志前缀,仍要求真实 PID 1 启动证据 -main compatibility tools/test_build_incremental.py 检查公开运行库的旧 SONAME 别名增量重建 -main compatibility tools/test_diskmgr_qemu.py 旧磁盘布局测试向兼容 ESP 路径注入载荷 -main compatibility tools/test_installer_accounts_qemu.py 接受旧安装介质模块名并验证实际账户与安装行为 -main compatibility tools/test_installer_swap_storage.py 旧块设备 sysfs 路径的存储夹具 -main compatibility tools/test_kernel_update.py 测试既有内核更新工具名与旧锁文件兼容 -main compatibility tools/test_multisystem_boot_qemu.py 多系统测试检查旧 ESP 目录的保留 -main compatibility tools/test_musl_mutex_protocol.py 测试旧 musl staging 标记失效与重建 -main compatibility tools/test_smp_latency_qemu.py 性能夹具同步更新新旧 ESP 引导别名 -main compatibility tools/test_smp_latency_qemu_unit.py 验证新旧 ESP 引导别名来自相同产物 -main compatibility tools/test_smp_latency_repair_unit.py 修复路径夹具检查新旧 ESP 引导别名一致 -main compatibility userland/pam/Kbuild 沿用既有 PAM 模块对象文件名 -main compatibility userland/runtime/src/desktop_entry.c 公开快捷方式 API 的旧 ABI 符号别名 -main compatibility userland/runtime/src/fs_directory.c 公开目录 API 的旧 ABI 符号别名 -main external-url .github/workflows/sourcehut-sync.yml real old remote addresses, switch only after new targets verified -main compatibility .gitignore 忽略旧依赖测试创建的 leonos-deps-contract.* 工作目录,避免旧产物进入 Git -main external-url .gitmodules real old remote addresses, switch only after new targets verified -main compatibility .vscode/launch.json 既有用户 VS Code leonos.* 设置键及真实 WSL 工作目录;不改用户磁盘路径。tasks 的旧 build.py 调用另属既有工具配置问题 -main compatibility .vscode/settings.json 既有用户 VS Code leonos.* 设置键及真实 WSL 工作目录;不改用户磁盘路径。tasks 的旧 build.py 调用另属既有工具配置问题 -main compatibility .vscode/tasks.json 既有用户 VS Code leonos.* 设置键及真实 WSL 工作目录;不改用户磁盘路径。tasks 的旧 build.py 调用另属既有工具配置问题 -main compatibility AGENT.md 旧 leonos/ 公共转发头、双接受 ntclks 日志前缀;另保留未切换的真实 NTCLKS 子仓地址 -main compatibility Makefile LEONOS_CACHE / LEONOS_BUILD_OWNER 仅作为旧输入回退,新变量优先 -main attribution NOTICE PL Editor LeonOS fork 是具体第三方分叉归属名称 -main compatibility boot/grub/grub.cfg PF2 旧文件名及显式 legacy rollback /leonos/kernel.sys + leonos-kernel tag -main compatibility boot/grub/installer.cfg 新 marker 不存在才搜索旧 ISO marker;PF2 文件名兼容 -main compatibility boot/grub/installer_embedded.cfg 新 marker 不存在才回退旧 installer ISO marker -main compatibility boot/grub/live.cfg 新 marker 不存在才回退旧 marker,并加载既有 PF2 字体文件名 -main compatibility boot/grub/theme/theme.txt LeonOS Pixel Regular 16 是实际 PF2 字体内部 family identity,非菜单显示文案 -main compatibility configs/apk-ownership.json 旧目录/工具/PAM/TERM/fastfetch alias 真实归属与已安装包迁移说明 -main compatibility configs/dependencies.lock.json fastfetch 精确锁定归档内部目录名,不可改目录导致锁定产物读取失败 -main attribution configs/locale/zh_CN.po Last-Translator: LeonOS 是原翻译署名,Project-Id-Version 已改 ReliefOS -main compatibility include/leonos/admin.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/api.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/audio.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/auth.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/device.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/devmgr_service.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/driver.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/fb.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/fs.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/gpu.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/gpu_sdk.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/http.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/ini.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/inputm.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/lat15_vga16.psf 旧 include/leonos/lat15_vga16.psf 入口转发 canonical reliefos/reliefnt 定义并提供旧宏/类型别名;不另定义 ABI -main compatibility include/leonos/lat15_vga16_psf.inc 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/launch_result.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/layout.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/net.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/net_service.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/openrc.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/png.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/psf_font.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/pty.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/signal.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/startup.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/system.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/tar.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/text.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/leonos/text_input.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility include/reliefos/layout.h frozen task 6 guest layout values -main compatibility Documentation/kbuild/third-party.rst 说明 libleonos.so.2 旧 SONAME 的独立依赖与兼容边界 -main compatibility scripts/reliefos/Makefile.apk 沿用用户已存在签名私钥路径、旧工具脚本源文件及兼容 APK protected_paths 文件名 -main compatibility scripts/reliefos/Makefile.host LEONOS_* 旧输入变量回退,RELIEFOS_* 优先 -main compatibility scripts/reliefos/Makefile.kernel NTCLKS_DIR/O 输入兼容及 ntclks-fetch 目标别名;旧外部 URL 说明 -main compatibility scripts/reliefos/Makefile.pam PAM 已发布模块名 pam_leonos_password.so、旧源路径及 leonos-pam 目标别名 -main compatibility scripts/reliefos/Makefile.resources 冻结字体输出文件名 leonos-metro/win95.ttf 和 PF2/BDF 字体引用 -main compatibility scripts/reliefos/Makefile.rpr 旧 ntclks-release-guard Make 目标仅转发新目标 -main compatibility scripts/reliefos/Makefile.run LEONOS_QEMU_* 旧输入别名;NVMe serial 是现有设备身份值,应保持旧磁盘识别 -main compatibility scripts/reliefos/Makefile.runtime 从同一对象集产出旧 libleonos SONAME/archive 供已发布 ELF 与旧 SDK -main compatibility scripts/reliefos/Makefile.sdk SDK 打包旧转发头与旧 SONAME/archive,兼容旧源码和 ELF -main compatibility scripts/reliefos/Makefile.tests 旧测试目标别名与兼容输入环境注入;新 RELIEFOS 工具提供实际执行 -main compatibility scripts/reliefos/Makefile.third-party 旧依赖配置变量和 leonos-* Make 目标的显式输入别名 -main compatibility scripts/reliefos/Makefile.upstream leonos-upstream/storage 等旧 Make 目标转发新目标 -main compatibility scripts/reliefos/Makefile.userland 同时定义 LEONOS_DOOM 与 RELIEFOS_DOOM 供未改动第三方 Doom port 条件编译 -main attribution patches/linux-pam/0003-limits-handle-unimplemented-resources.patch 补丁 From: LeonOS maintainers 与其原文来源归属 -main compatibility scripts/clean.sh 旧 .leonos-out 所有权标记双识别,防止误清用户目录;旧 ntclks 输出目录历史注释可规范化 -main compatibility scripts/help.sh 帮助明确说明旧目标/LEONOS_* 输入别名,不是 canonical 输出 -main compatibility scripts/test-smoke.sh 同时接受新旧内核日志前缀,诊断明确指出旧盘回滚路径 -main compatibility system/docs/leonos.hlp 仅冻结帮助容器文件名 leonos.hlp;内容无旧名命中 -main compatibility system/docs/zh_CN/leonos.hlp 仅冻结中文帮助容器文件名 leonos.hlp;内容无旧名命中 -main compatibility system/rootfs/etc/apk/protected_paths.d/leonos.list 旧 !etc/leonos 保护规则/文件名供已有 APK 客户端和旧配置升级,canonical 规则同时提供 -main compatibility system/rootfs/etc/apk/protected_paths.d/reliefos.list keep legacy APK protected configuration paths -main compatibility system/rootfs/etc/group 已安装系统中 GID 60001/60002 的服务角色组名,保持权限配置兼容 -main compatibility system/rootfs/etc/init.d/leonos-device 旧文件名调用入口转发/引用新服务或 PAM canonical 配置,需保持旧调用者可用 -main compatibility system/rootfs/etc/init.d/leonos-dhcp 旧文件名调用入口转发/引用新服务或 PAM canonical 配置,需保持旧调用者可用 -main compatibility system/rootfs/etc/init.d/leonos-ntp 旧文件名调用入口转发/引用新服务或 PAM canonical 配置,需保持旧调用者可用 -main compatibility system/rootfs/etc/init.d/leonos-runtime 旧文件名调用入口转发/引用新服务或 PAM canonical 配置,需保持旧调用者可用 -main compatibility system/rootfs/etc/init.d/reliefos-runtime preserve frozen IPC socket paths and legacy hostname fallback -main external-url system/rootfs/etc/motd 全部旧名命中为项目、问题追踪与默认 RPR 的现有真实外部 URL -main external-url system/rootfs/etc/motd.zh_CN 全部旧名命中为项目、问题追踪与默认 RPR 的现有真实外部 URL -main compatibility system/rootfs/etc/pam.d/common-password 已发布 PAM 模块文件名 pam_leonos_password.so,不改变密码策略栈入口 -main compatibility system/rootfs/etc/pam.d/leonos-gui 旧文件名调用入口转发/引用新服务或 PAM canonical 配置,需保持旧调用者可用 -main compatibility system/rootfs/usr/lib/reliefos/publish-resolver read the old resolver configuration during migration -main compatibility system/rootfs/usr/lib/reliefos/reliefos-migrate copy existing user configuration and persistent data -main compatibility system/test-accounts/group 测试账户匹配发布系统的服务角色组名及固定 GID -main compatibility tests/build/brand-allowlist.tsv audit data itself -main compatibility tests/build/test-apk-ownership.sh 针对 test-apk-ownership 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-auth-stage.sh 主动验证旧 leonos-auth make 别名和 LEONOS_* 构建变量兼容输入 -main compatibility tests/build/test-brand-identity.sh audit tool itself -main compatibility tests/build/test-busybox-profile.sh 读取现行 BusyBox profile 的历史文件名 leonos.config,验证官方 applet 清单 -main compatibility tests/build/test-config-migrate.sh legacy configuration backup compatibility -main compatibility tests/build/test-deps.sh 针对 test-deps 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-header-boundary.sh 旧 NTCLKS_DIR 输入回退 -main compatibility tests/build/test-image-adapters.sh 针对 test-image-adapters 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-incremental.sh 旧 NTCLKS_* 输入及旧 boot_splash.h depfile 增量迁移回归 -main compatibility tests/build/test-installer-stage.sh 针对 test-installer-stage 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-kernel-adapter.sh 旧构建变量和目标兼容回归;旧真实子仓 URL 保持不变 -main compatibility tests/build/test-lock-safety.sh 针对 test-lock-safety 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-nls-stage.sh 针对 test-nls-stage 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-ntclks-fetch.sh 旧构建变量和目标兼容回归;旧真实子仓 URL 保持不变 -main compatibility tests/build/test-pages.sh 针对 test-pages 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-relative-kernel-output.sh 针对 test-relative-kernel-output 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-reliefos-aliases.sh checks legacy build environment aliases -main compatibility tests/build/test-reliefos-migration.sh fixtures verify migration from legacy configuration and data -main compatibility tests/build/test-rpr-packages.sh 旧包 replaces、旧公钥文件和实际 Pages URL 兼容;kernel_name=ntclks 明确是写入临时 pages-version 的旧输入 fixture。 -main compatibility tests/build/test-sdk-driver.sh 针对 test-sdk-driver 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-sdk-stage.sh 针对 test-sdk-stage 的旧配置/旧变量/头库/路径/目标输入与新 canonical 共存回归;旧临时前缀可独立规范化 -main compatibility tests/build/test-submodule-contract.sh 旧构建变量和目标兼容回归;旧真实子仓 URL 保持不变 -main compatibility tests/build/test-third-party.sh 旧构建输入、验证目标别名与已发布 .leonos-musl.json 元数据文件名 -main compatibility tests/fixtures/brand-abi/old-library.sha256 preserved old runtime library identity -main compatibility tests/fixtures/brand-abi/old-sdk-exports.tsv preserved old SDK export list -main compatibility tests/fixtures/brand-abi/old-sdk/include/leonos/api.h old public header fixture -main compatibility tests/fixtures/brand-abi/old-sdk/include/leonos/tar.h old public header fixture -main compatibility tests/fixtures/brand-abi/old-shared-symbols.tsv preserved old dynamic symbol table -main compatibility tests/fixtures/brand-abi/old-soname.txt preserved old SONAME -main compatibility tests/fixtures/brand-abi/old_api.c compiles a legacy SDK consumer -main compatibility tests/integration/brand-abi.sh compiles and checks both SDK ABIs -main compatibility tests/integration/pam-product.sh PAM 模块历史符号导出检查 -main compatibility tests/integration/test-apk-upgrade.sh 真实旧包数据库、world、签名和配置升级的回归输入 -main compatibility tests/integration/test-runtime-apk-upgrade.sh 旧命令包装包及旧前缀、版本和仓库 tag 的清除回归输入;新系统不保留这些包 -main compatibility tests/integration/test-kernel-update.sh 真实旧系统引导菜单、旧 ESP /leonos 及旧更新命令入口的升级回滚测试 -main compatibility tests/integration/test-motd-qemu.py 仅隔离诊断 ISO 已有 LEONOSMOTD volume ID;未改磁盘协议标签。 -main compatibility tests/integration/test-official-tools.sh 断言旧非官方包/目录不得存在于新产品 -main compatibility tests/integration/upstream-incremental.sh 旧 leonos-upstream Make 输入目标别名增量验证 -main compatibility tests/long/test-execchain.sh 旧构建输入、验证目标别名与已发布 .leonos-musl.json 元数据文件名 -main compatibility tests/long/test-jobs.sh 旧构建输入、验证目标别名与已发布 .leonos-musl.json 元数据文件名 -main compatibility tests/long/test-stage-recovery.sh 使用现存 leonos-auth Make 别名及 .leonos-auth.json 持久输出标记,验证增量缓存恢复。 -main compatibility third_party/doomgeneric/doomgeneric/i_sound.c 固定第三方端口编译开关 LEONOS_DOOM;主构建同时提供新旧开关,保留上游端口适配接口 -main compatibility third_party/doomgeneric/doomgeneric/i_system.c 固定第三方端口编译开关 LEONOS_DOOM;主构建同时提供新旧开关,保留上游端口适配接口 -main compatibility tools/analyze_boot_log.py 同时接受新旧内核日志前缀,诊断明确指出旧盘回滚路径 -main compatibility tools/apk_distribution.py 旧签名密钥位置/输入兼容、旧 updater 链接和公钥名、旧 APK 包名迁移与旧 ESP 排除 -main compatibility tools/build/apk-stage.sh 保留旧 license 元数据目录、签名公钥、protected_paths 文件与 updater 别名,并排除旧 ESP -main compatibility tools/build/auth-upstream.sh 现有构建输出的 .leonos-auth-inputs/.leonos-auth.json 缓存格式,与 scripts/reliefos/Makefile.third-party 及恢复测试配对。 -main compatibility tools/build/boot-stage.sh 新旧 ESP 成套内核/display.conf 同步;PF2 文件名冻结 -main compatibility tools/build/images.sh PROFILE 字节值冻结;LEONOS_EXT2_TIME 为新变量之后回退的旧输入。 -main compatibility tools/build/iso.sh canonical installer marker 之外同步旧 marker,兼容旧 GRUB/介质搜索。 -main compatibility tools/build/musl-sdk.sh 新旧 runtime/archive 作为不同输入装入同一 SDK,旧头转发 -main compatibility tools/build/musl-sysroot.sh 现有 sysroot .leonos-unpacked/.leonos-musl.json 持久缓存标记;scripts/reliefos/Makefile.third-party 显式依赖。 -main compatibility tools/build/pam-stage.sh 已发布 PAM 模块文件名与现有源文件路径,不修改 PAM 配置入口 -main compatibility tools/build/reliefos-config-migrate.sh imports legacy config and retains its backup -main compatibility tools/build/rootfs-stage.sh 旧数据库拒绝策略、双 SONAME/搜索路径、旧 helper 命令、账户角色组、字体/配置/gettext 文件名均为具体已有兼容面。 -main compatibility tools/build/rpr-apps.sh APK metadata 显式 replaces:leonos-* 升级旧包 -main compatibility tools/build/rpr-pages.sh 旧 RSA key 下载名、health marker 与旧世界包替换说明供已安装客户端 -main compatibility tools/build/standalone-root.sh PROFILE 字节值 leonos-standalone-test-v1 明确冻结,目录已 canonical -main compatibility tools/build/upstream-app.sh 构建脚本保留旧 /usr/lib/leonos 动态库搜索路径 -main compatibility tools/build/upstream-busybox.sh 读取保留的 leonos.config 并过滤旧 CONFIG_LEONOS_* 端口选项 -main compatibility tools/build/verify-pages.sh 验证已发布旧 RPR 公钥文件名同时存在 -main compatibility tools/build_api.py 冻结 leonos-api 格式字段;显式双接受旧应用安装路径 -main compatibility tools/check_abi_migration.py 扫描旧公开宏和函数的 ABI 清单/负向规则,需要旧拼写才能防止遗漏。 -main compatibility tools/check_licenses.py 旧 APK 路径许可证检查兼容;明确已删除的旧 SDK 历史注释 -main compatibility tools/host/apk/reliefos-apk-own.c 唯一旧名为 usr/share/fastfetch/leonos-ascii.txt,冻结 Fastfetch 文件名归属规则。 -main compatibility tools/host/assets/reliefos-grub-font.c 生成 PF2 内部 family LeonOS Pixel 与 theme 已发布字体身份配对 -main compatibility tools/host/sdk/reliefos-musl-cc.c 旧 LEONOS_CC 输入回退,RELIEFOS_SDK_ABI=leonos 选择旧 SONAME 以编译真实旧 ABI 测试 -main compatibility tools/image_test_accounts.py 只保留明确冻结 PROFILE 内容 leonos-standalone-test-v1 -main compatibility tools/leonos_layout.py 旧 Python import/常量名仅转发 tools/reliefos_layout.py 单一定义 -main compatibility tools/make_image.py 同时处理 /reliefos 与旧 /leonos 回滚 ESP 载荷 -main compatibility tools/make_installer_iso.py 冻结 GRUB 字体文件名,并同时打包新旧 ESP namespace -main compatibility tools/make_installer_root.py 旧 libleonos.so.2 兼容 SONAME 及其旧调用输入,旧 ESP 回滚载荷 -main compatibility tools/musl_link.py 动态加载器搜索路径保留 /usr/lib/leonos 以加载旧 ELF -main compatibility tools/package_fastfetch.py 精确锁定 Fastfetch 归档名及已发布内部 Logo alias,不是新品牌展示 -main compatibility tools/package_musl_gcc.py LEONOS_GCC_ARCHIVE 为旧输入名,.leonos-package.json 是原归档夹具清单文件,测试/许可证记录仍读取。 -main compatibility tools/package_python.py LEONOS_PYTHON_ARCHIVE 为旧输入名,.leonos-package.json 是原夹具清单格式,测试与许可证记录读取。 -main compatibility tools/prepare_gcc_probe.py 同时处理 /reliefos 与旧 /leonos 回滚 ESP 载荷 -main external-url tools/provision_rpr_signing_key.sh 真实既有 RPR 地址或 GitHub 签名 Secret;外部服务未提供新目标 -main compatibility tools/reliefos_layout.py canonical 布局定义保留冻结 leonos.conf、Fastfetch alias 文件名与旧 ESP 回滚路径 -main history tools/run_gcc_probe_qemu.py 仅 docstring 中保留旧 build.py + LEONOS_GCC_ARCHIVE 的原独立 GCC 夹具构建命令;host QMP 默认已在工作区 build/gcc-probe。 -main compatibility tools/storage_tools.py 提供旧 sbin/leonos-grub-installer 路径转发 -main compatibility tools/test_apk_layout.py 验证旧 Python 导入别名、protected_paths 旧目录和兼容 SONAME -main compatibility tools/test_auth_guest.py 测试镜像更新既有 /leonos 回滚内核载荷;libleonos.so.2 是显式兼容库 -main compatibility tools/test_console_boot_policy.py 负向回归明确禁止旧 LEONOS_BOOT_MODE 和旧 desktop runlevel 残留 -main compatibility tools/test_execution_lock_qemu.py 仅校验生成 ISO 中保留的 legacy /leonos/kernel.sys 副本哈希。 -main compatibility tools/test_gpu.py 负向回归禁止退役 devtools/include/leonos 重新出现 -main compatibility tools/test_header_export.py 新旧公共头导出关系与禁止 ntclks 私有头外泄规则 -main compatibility tools/test_installer_payload.py 真实安装器旧目标识别、拒绝 canonical 路径放旧 basename、要求双 SONAME 与旧 ESP 回滚载荷的回归 fixture -main compatibility tools/test_installer_setup.py LEONOS_TEST_PASSWORD_HASH 是既有宿主测试驱动与 C fixture 共享输入键 -main compatibility tools/test_installer_update_qemu.py 断言旧 leonos-* APK 包经升级改变版本,必须保留旧包前缀识别。 -main compatibility tools/test_linux_fifo.py 测试镜像更新既有 /leonos 回滚内核载荷;libleonos.so.2 是显式兼容库 -main compatibility tools/test_fastfetch_qemu.py 冻结 GRUB 字体路径与新旧内核日志前缀双接受 -main compatibility tools/test_live_iso.py 旧 users.db 迁移隔离 fixture 与冻结 installer ISO marker -main compatibility tools/test_make_image.py 冻结 GPT/FAT/exFAT 标签与旧 ESP 回滚载荷验证 -main compatibility tools/test_make_installer_root.py 实际 installer stage 保留旧 libleonos.so.2 兼容库及旧 ESP;禁止在新目录错放旧库名 -main compatibility tools/test_musl_distribution.py 明确断言旧 .so.1 仅有受控兼容别名,禁止旧原生解释器进入新产品 -main compatibility tools/test_musl_gcc_package.py 读取已发布 .leonos-package.json 编译器包元数据文件名 -main compatibility tools/test_network_qemu.py 仅旧 libleonos.a/.so.2 ELF fixture 和双 ESP 旧内核副本校验;当前 app/config/tests/repository 路径已迁 canonical。 -main compatibility tools/test_openrc_resolver.py 测试实际用户已发布 /etc/udhcpc/leonos-dns 配置格式 -main compatibility tools/test_openrc_shutdown.py 检查唯一 /run/leonos 兼容链接与新 OpenRC canonical 服务关闭路径 -main compatibility tools/test_packaging_brand_paths.py 新旧 ESP 排除、双命名空间镜像与旧 API 安装路径兼容回归 -main history tools/test_pam_helper_reference.py 独立旧 PAM helper 参考 fixture 加载旧 SONAME -main compatibility tools/test_pam_login_switch_qemu.py QEMU fixture 同时更新新旧 ESP 命名空间与兼容库,旧路径用于回滚核对 -main compatibility tools/test_power_qemu.py 只保留新旧内核启动日志前缀双接受,默认 ISO 已 canonical。 -main compatibility tools/test_python_package.py 读取旧独立发行夹具的 .leonos-package.json 校验清单。 -main compatibility tools/test_security_regressions.py 禁止新旧 ioctl 私有扩展的双命名负向扫描表达式 -main compatibility tools/test_service_marker.py 冻结 LeonOSFlags 进程状态字段/旧服务组身份;历史内核分离设计引用 -main compatibility tools/test_storage_payload.py 保留旧 GRUB 安装器命令入口,验证旧 /leonos 回滚载荷 -main compatibility tools/test_tcp_download_qemu.py 仅校验生成 ISO 中保留的 legacy /leonos/kernel.sys 副本哈希。 -main compatibility tools/test_uapi.py 校验保留的 userland/runtime/include/leonos/syscall.h 转发头(SDK 面)不含数字 syscall 宏 -main compatibility tools/test_uinxed_guest.py 计算实际打包的旧 ESP 回滚内核载荷哈希 -main compatibility tools/test_upstream_tools_runtime.py 旧环境变量输入兼容,禁止引入旧 libleonos SONAME 的依赖负向断言 -main compatibility tools/test_vdso_qemu.py QEMU 镜像回归同时验证 canonical 与旧 /leonos/kernel.sys ESP 内核副本哈希 -main compatibility tools/tests/installer_accounts_test.c LEONOS_TEST_PASSWORD_HASH 是既有宿主测试驱动与 C fixture 共享输入键 -main history tools/tests/legacy_authd/accounts.c 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/accounts.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/authd_client.c 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/authd_client_internal.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/authd_sudo.c 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/authd_sudo.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/include/leonos/auth.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/include/leonos/auth_db.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/include/leonos/authd.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/main.c 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main history tools/tests/legacy_authd/sudo_policy.h 文件声明 Historical regression fixture only;已退役 authd 实现仅保留历史回归,不入产品 -main compatibility tools/tests/openrc_authorization_test.c 显式使用已发布旧 OpenRC 服务名测试授权/参数注入,服务脚本仍有旧转发入口。 -main history tools/tests/pam_runtime_probe.c 退役 authd.sock 的独立旧 PAM 原型参考 fixture;独立环境变量隔离键 -main compatibility tools/tests/password_policy_runtime_probe.c 存在旧 authd 才等待旧 socket;PAM pam_leonos_password.so 为冻结模块文件名。 -main compatibility tools/tests/storage_upstream_guest.c 使用旧 leonos-grub-installer 和旧 ESP payload 输入验证存储命令兼容复制。 -main compatibility userland/apps/device-agent/main.c /proc/leonos-drivers 是冻结运行时接口值 -main compatibility userland/apps/oschinpt/main.c 旧 leonos 输入词条仍解析到 ReliefOS 候选,不是旧品牌展示 -main compatibility userland/apps/sudod/paths.h LEONOS_FILEOP_* 是已发布 wire 值的历史名称,数值冻结 -main compatibility userland/auth/account_store.c 账户提交 prepared/committed/cleanup 持久事务标记,旧安装中断后恢复需识别原值 -main compatibility userland/auth/standard_accounts.c 此文件全部旧名命中为已发布 ELF 导出符号 alias 与其说明,从同一实现提供新旧入口 -main compatibility userland/busybox/block_storage.c 保留旧 BusyBox 端口 CONFIG_LEONOS_* 开关/旧 grub applet 入口及旧 ESP 回滚路径;当前诊断显示 ReliefOS -main compatibility userland/busybox/leonos.config 保留既有 BusyBox profile 输入文件名;生产 upstream-busybox.sh 明确过滤 CONFIG_LEONOS_* 与 CONFIG_EXTRA_LDLIBS。 -main compatibility userland/busybox/leonos_shim.c 保留端口源文件名与已发布 leonos-grub-installer 命令分发入口 -main compatibility userland/dynamic-linker.ld 保留已发布 .note.leonos ELF note 段,避免剥离协议元数据 -main compatibility userland/fastfetch/config.jsonc 锁定 Fastfetch 发行物内 LeonOS logo alias;展示图案已按任务9更新 -main compatibility userland/fastfetch/hyfetch.json 现有用户 Fastfetch/Hyfetch配置引用已发布 leonos-ascii.txt 文件名 -main compatibility userland/fastfetch/leonos-ascii.txt 现有 Fastfetch/Hyfetch 配置依赖的 ASCII 文件名;文本本体未命中旧名 -main compatibility userland/musl-gcc/launcher.c 旧 leonos-musl-cc 启动名输入回退到 gcc -main compatibility userland/pam/pam_leonos_password.c 仅已发布 pam_leonos_password 模块源文件名;内容无旧品牌 -main compatibility userland/runtime/include/leonos/app.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/blockdev.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/devmand.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/devmgr_service.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/environment.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/gpu_sdk.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/inputm.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/inputmd.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/launch.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/launch_result.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/layout.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/net_service.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/openrc.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/pam_session.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/sessiond.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/stdio.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/sudo.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/syscall.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/text_input.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/tls.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos/unix_ipc.h 逐文件确认含 canonical reliefos/reliefnt include;旧 guard/宏/类型名只转发别名,无第二份 struct/enum/typedef/extern 布局定义。 -main compatibility userland/runtime/include/leonos_mbedtls_config.h 旧 mbedTLS 配置 include 路径转发官方匹配配置;不再使用私有 ALT 结构 -main compatibility userland/runtime/include/ncurses.h canonical guard/库说明已为 RELIEFOS/libreliefos;仅 leonos_curses_window 旧公开类型宏别名。 -main compatibility userland/runtime/include/reliefos/unix_ipc.h frozen task 6 guest socket paths -main compatibility userland/runtime/src/admin.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/api.c API_FORMAT leonos-api 是已发布旧包格式标识,其他命中为真实 ELF alias -main compatibility userland/runtime/src/app_registry.c 旧 leonos_* 已发布 ELF alias 符号,转发到当前 reliefos_* 实现 -main compatibility userland/runtime/src/auth_accounts.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/auth_password.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/blockdev.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/devmand_client.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/environment.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/gpu.c 旧 GPU API 包装/导出 alias,与规范 GPU 实现共用 -main compatibility userland/runtime/src/ini.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/inputm.c 旧 inputm 公开入口真实 ELF alias -main compatibility userland/runtime/src/launch.c 旧 leonos_* 已发布 ELF alias 符号,转发到当前 reliefos_* 实现 -main compatibility tools/test_activation_removal.py 退役产品激活的负向验收;旧接口名和头路径仅用于禁止恢复的匹配条件,不提供兼容实现。 -main compatibility userland/runtime/src/libc.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/locale_conf.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/netsock.c 已发布 DNS 配置文件名 leonos-dns 与旧公开网络 API alias -main compatibility userland/runtime/src/ntp.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/openrc.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/pam_session.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/png.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/procsys.c 读取冻结 proc LeonOSRole/Flags 键,提供旧 ELF alias -main compatibility userland/runtime/src/sessiond_client.c 旧 startup 公开 API 导出 alias -main compatibility userland/runtime/src/sudo_client.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/syscall.S 汇编 .set 为旧 leonos_rt_sigreturn_trampoline 提供真实符号 alias -main compatibility userland/runtime/src/tar.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/text_encoding.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/runtime/src/tls.c 旧 leonos_* 已发布 ELF alias 符号,转发到当前 reliefos_* 实现 -main compatibility userland/runtime/src/unix_ipc.c 所有当前命中均为已发布旧 ELF 导出 alias 或说明,别名指向同一 canonical 实现。 -main compatibility userland/storage/reliefos-apk-update 旧 world/package prefix 显式迁到新包,不能清零升级识别 -main compatibility userland/apps/installer/installer_update_model.c 只读识别旧系统 ID、配置命名空间与包名前缀,保留已安装系统的升级入口 -main compatibility third_party/doomgeneric/README.leonos.md 保留既有端口说明文件名;当前标题正文已 ReliefOS -main compatibility third_party/doomgeneric/doomgeneric/r_data.c LEONOS_DOOM 是现有第三方端口编译开关;当前说明已 ReliefOS -main compatibility third_party/doomgeneric/doomgeneric/w_file_stdc.c LEONOS_DOOM 与旧公开 leonos/fs.h 保留第三方端口源兼容;当前说明已 ReliefOS -main compatibility tools/test_linux_ioctl_cloexec.py 旧 GRUB module tag、marker、font 文件及 legacy ESP 用于双路径启动契约;生成 ISO 名已 canonical -main compatibility tools/test_storage_upstream_runtime.py LEONOS_UPSTREAM_TREE 接受旧测试输入环境;不存在的私有设备名已 canonical -main compatibility tools/test_upstream_tools_images.py 检查 legacy ESP 内核字节与旧 grub 安装命令兼容入口;输出镜像名已 canonical -main history tools/tests/oobe_auth_boot_test.c 已退役 authd/OOBE 架构测试夹具,引用已删除 authd 源;旧 marker 与保留的历史实现对应,未宣称当前回归通过 -main compatibility userland/storage/leonos-grub-installer 旧命令源文件名及 legacy ESP 回滚保留、旧布局残留清理路径;帮助已 canonical -main compatibility tests/build/test-fetch-check.sh 旧 LEONOS_* 环境/命令行输入别名,与各 tests/build 契约同款回退;fetch-check 及内核 fetch-check 代理目标回归 -main compatibility userland/apps/installer/install_ops.h 旧 ESP 启动载荷路径 TARGET_ESP_KERNEL_LEGACY,旧载荷保留回滚契约 -main compatibility userland/apps/installer/install_ops.c 安装器升级时清理旧 ESP 遗留载荷文件与 /etc/leonos 等旧目录、libleonos.so.2 兼容库路径清单 -main compatibility tools/test_fltk_apps_qemu.py 验收镜像保留已发布 gettext catalog 文件名与旧独立兼容 SONAME/目录,不作为 UI 展示品牌 -main compatibility tests/long/test-boot-stage.sh 真实引导载荷测试校验旧 ESP 回滚路径的字节兼容 -main compatibility tests/long/test-legacy-iso-adapter.sh 双启动兼容 CLI 测试消费已冻结的 GRUB 字体文件名 -main compatibility tools/test_bootloader_install.py 共用引导安装测试验证旧 ESP 回滚文件和冻结字体载荷 -main compatibility tools/test_dual_boot_regressions.py 旧 UEFI 真实更新后读取冻结的旧内核回滚路径 -main compatibility userland/runtime/src/bootloader.c 共用引导预检识别冻结的旧 ESP 内核回滚路径及 GRUB 字体文件名 -main compatibility userland/runtime/src/bootloader_publish.c 共用引导发布保留旧 ESP 回滚内核并清理旧 loader 文件,不能破坏已安装磁盘兼容 -main compatibility Documentation/userspace-api/abi.rst 旧 SONAME、转发头和既有协议名称的兼容边界,不是当前展示品牌 -main compatibility Documentation/process/assets.rst 历史来源渲染器文件名用于资产来源说明 -main history Documentation/releases/5.1.2.rst 已发布 5.1.2 正文的独立 RST 归档,外部标签链接保持历史原值 -main compatibility tests/build/test-x11-only.sh 负向检查退休的旧窗口头与协议服务不存在,不提供兼容实现。 -main compatibility userland/runtime/src/fb.c 既有 fbdev ELF 别名移出已删除的窗口传输,指向同一个独立设备实现。 -main compatibility userland/apps/network-controller/worker.cpp 迁移前读取已发布的 udhcpc DNS 数据文件,不执行其中内容 -main compatibility system/rootfs/usr/lib/reliefos/network-profile 保留已发布的 udhcpc DNS 数据文件与旧 DNS-only 配置兼容 -main compatibility tests/build/test-network-profile.sh 在私有 chroot 验证已发布的 udhcpc DNS 配置兼容 -main compatibility userland/apps/systemupdate/apk.c 原生更新器验证已发布 RPR health.txt 的冻结 leonos-rpr-ok 响应;命令和诊断均使用 ReliefOS。 -main compatibility tools/test_system_update.py 原生更新器验证既有 RPR health.txt 响应的兼容夹具,不作为用户界面品牌。 -main compatibility tools/tests/test_system_update_packaging.py 真实签名 APK 回归验证旧 leonos-apps 文件所有权及已发布 leonos-* 命令别名迁移。 -main compatibility tests/build/test-desktop-backend.sh 桌面载荷回归验证已发布 leonos-* 更新命令别名统一指向原生更新核心,不保留旧脚本实现。 -main compatibility tools/tests/installer_update_model_test.c Fixture verifies legacy os-release ID compatibility during update inspection. diff --git a/tests/build/desktop-suites.list b/tests/build/desktop-suites.list new file mode 100644 index 00000000..a3303f54 --- /dev/null +++ b/tests/build/desktop-suites.list @@ -0,0 +1,44 @@ +test-app-icons.sh +test-app-process.sh +test-autostart.sh +test-blockdev-ext3.sh +test-bootloader-uefi.sh +test-calc-modes.sh +test-clipboard.sh +test-diskmgr-fltk.sh +test-fileman-boundary.sh +test-fileman-operations.sh +test-fileman-search.sh +test-fileman-tree.sh +test-fileman-volumes.sh +test-network-controller.sh +test-reliefcapture.sh +test-reliefcapture-ownership.sh +test-reliefcapture-x11.sh +test-reliefdiagram.sh +test-reliefdiagram-ownership.sh +test-reliefexcel.sh +test-reliefmail.sh +test-reliefmail-detail-widget.sh +test-reliefmath.sh +test-reliefmath-backend.sh +test-reliefmath-dialogs.sh +test-reliefmath-document.sh +test-reliefmath-layout.sh +test-reliefmath-model.sh +test-reliefmath-protocol.sh +test-reliefmath-recovery-flow.sh +test-reliefmath-snippets.sh +test-reliefmath-workflows.sh +test-reliefmathpp.sh +test-reliefplayer.sh +test-reliefplayer-mp4.sh +test-reliefplayer-ownership.sh +test-reliefplayer-session.sh +test-reliefppt.sh +test-reliefsettings.sh +test-relieftodo.sh +test-reliefword.sh +test-x11-terminal-launch.sh +test-xdg-shortcuts.sh +test-xorg-wrapper.sh diff --git a/tests/build/reliefmath-font.sh b/tests/build/reliefmath-font.sh new file mode 100644 index 00000000..f13d5317 --- /dev/null +++ b/tests/build/reliefmath-font.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# Locate the same CJK font used by the packaged renderer on supported hosts. +reliefmath_text_font() { + if [ -n "${RELIEFMATH_TEXT_FONT:-}" ]; then + [ -r "$RELIEFMATH_TEXT_FONT" ] || { + printf 'Cannot read RELIEFMATH_TEXT_FONT: %s\n' "$RELIEFMATH_TEXT_FONT" >&2 + return 1 + } + printf '%s\n' "$RELIEFMATH_TEXT_FONT" + return + fi + for font in \ + /usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc \ + /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc; do + if [ -r "$font" ]; then + printf '%s\n' "$font" + return + fi + done + printf '%s\n' 'Noto Sans CJK font is required for ReliefMath tests' >&2 + return 1 +} diff --git a/tests/build/test-activation-removal.sh b/tests/build/test-activation-removal.sh deleted file mode 100755 index 8b9646e2..00000000 --- a/tests/build/test-activation-removal.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -PYTHONDONTWRITEBYTECODE=1 python3 "$src/tools/test_activation_removal.py" diff --git a/tests/build/test-apk-ownership.sh b/tests/build/test-apk-ownership.sh deleted file mode 100644 index bff87035..00000000 --- a/tests/build/test-apk-ownership.sh +++ /dev/null @@ -1,234 +0,0 @@ -#!/bin/sh -set -eu -# Fixture modes are part of the inventory contract, independent of the caller. -umask 022 - -src=${1:-$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)} -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT HUP INT TERM - -python3 - "$src/configs/apk-ownership.json" <<'PY' -import json, sys -policy = json.load(open(sys.argv[1], encoding="utf-8")) -groups = policy["groups"] -required = {"reliefos-nls", "reliefos-apps", "reliefos-system-update", "reliefos-fastfetch", "reliefos-xdm-config", "reliefos-reliefmath", - "reliefos-mimalloc", "reliefos-musl-dev", "reliefos-apk-tools", "reliefos-base"} -missing = sorted(required - groups.keys()) -legacy = sorted(name for name in groups if name.startswith("leonos-")) -if missing or legacy or policy.get("current_distributor") != "reliefos-build": - raise SystemExit(f"APK ownership identity is not migrated: missing={missing}, legacy={legacy}, distributor={policy.get('current_distributor')}") -if {"sl", "ncurses", "sqlite", "ca-certificates-bundle"} & groups.keys(): - raise SystemExit("official terminal/SQLite/CA packages must not create local APK ownership groups") -if policy.get("upstream_components") != {"sl": ["sl"], "ncurses": ["ncurses", "ncurses-terminfo"], - "sqlite": ["sqlite", "sqlite-libs"]}: - raise SystemExit("terminal/SQLite components must identify their real upstream packages") -for app in ("reliefexcel", "reliefword", "reliefppt"): - if app not in groups["reliefos-apps"]["components"]: - raise SystemExit(f"{app} is missing from reliefos-apps ownership") -math_group = groups.get("reliefos-reliefmath", {}) -if "reliefmath" not in math_group.get("components", []): - raise SystemExit("reliefmath is missing from component-specific ownership") -for path in ("usr/bin/reliefmath", "usr/share/reliefmath", - "usr/share/licenses/reliefmath", "usr/share/mime/packages/reliefmath.xml", - "usr/share/applications/reliefos-reliefmath.desktop"): - if path not in math_group.get("paths", []): - raise SystemExit(f"ReliefMath ownership does not cover {path}") -PY - -cc -std=c11 -Wall -Wextra -Wpedantic -Werror -Wformat=2 -Wshadow \ - -Wstrict-prototypes -Wmissing-prototypes -I"$src" \ - "$src/tools/host/apk/reliefos-apk-own.c" \ - "$src/tools/host/manifest/json.c" "$src/tools/host/common/buffer.c" \ - "$src/tools/host/common/io.c" -o "$tmp/reliefos-apk-own" - -mkdir -p "$tmp/root/usr/bin" "$tmp/root/usr/lib/leonos" "$tmp/root/usr/lib/reliefos/apps/demo" -printf elf >"$tmp/root/usr/bin/tool" -chmod 755 "$tmp/root/usr/bin/tool" -ln -s tool "$tmp/root/usr/bin/tool-link" -printf app >"$tmp/root/usr/lib/reliefos/apps/demo/demo.elf" -printf legacy-library >"$tmp/root/usr/lib/leonos/libleonos.so.2" -printf library >"$tmp/root/usr/lib/reliefos/libreliefos.so.2" -for size in 16 32 48 64 128 256; do - mkdir -p "$tmp/root/usr/share/icons/hicolor/${size}x${size}/apps" - printf png > "$tmp/root/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-demo.png" -done -printf png > "$tmp/root/usr/share/icons/hicolor/48x48/apps/folder.png" -cat >"$tmp/policy.json" <<'EOF' -{"version":1,"current_distributor":"reliefos-build","apk_registration":"not-installed","groups":{ - "reliefos-tools":{"destination":"reliefos","components":[],"paths":["usr/bin/tool"]}, - "reliefos-demo":{"destination":"reliefos","components":["demo"]}, - "reliefos-apps":{"destination":"reliefos","components":[],"paths":["usr/lib/leonos","usr/lib/reliefos"]}, - "reliefos-base":{"destination":"reliefos","components":[]} -}} -EOF - -"$tmp/reliefos-apk-own" --policy "$tmp/policy.json" --root "$tmp/root" --output "$tmp/list" \ - --installed-policy "$tmp/installed.json" - -# A component-specific group must beat the broad application-library rule. -cat >"$tmp/components.toml" <<'EOF' -[[components]] -id = "demo" -EOF -PYTHONDONTWRITEBYTECODE=1 python3 - "$src" "$tmp" <<'PY' -import json, sys -from pathlib import Path -sys.path.insert(0, str(Path(sys.argv[1]) / "tools")) -import apk_ownership -root = Path(sys.argv[2]) -_, rules = apk_ownership.load_policy(root / "policy.json", root / "components.toml") -rows = {row[3]: row for row in (line.split("\t") for line in (root / "list").read_text().splitlines())} -failures = [] -for path, owner in (("usr/lib/reliefos/apps/demo/demo.elf", "reliefos-demo"), - *((f"usr/share/icons/hicolor/{size}x{size}/apps/reliefos-demo.png", "reliefos-demo") for size in (16,32,48,64,128,256)), - ("usr/share/icons/hicolor/48x48/apps/folder.png", "reliefos-base"), - ("usr/lib/reliefos/libreliefos.so.2", "reliefos-apps"), - ("usr/lib/leonos/libleonos.so.2", "reliefos-apps")): - for implementation, actual in (("C", rows[path][0]), - ("Python", apk_ownership.classify(path, rules)[0])): - if actual != owner: - failures.append(f"{implementation}: {path} belongs to {actual}, expected {owner}") -installed = json.loads((root / "installed.json").read_text()) -if installed["current_distributor"] != "reliefos-apk": - failures.append(f"installed distributor: {installed['current_distributor']}, expected reliefos-apk") -if failures: - raise SystemExit("\n".join(failures)) -PY - -# ReliefMath's second ELF and all of its private data must travel under the -# same application owner; the shared SimSun font remains with the base apps. -mkdir -p "$tmp/mathroot/usr/lib/reliefos/apps/reliefmath" \ - "$tmp/mathroot/usr/share/reliefmath" "$tmp/mathroot/usr/share/licenses/reliefmath" \ - "$tmp/mathroot/usr/share/mime/packages" "$tmp/mathroot/usr/share/applications" \ - "$tmp/mathroot/usr/share/fonts/reliefos" "$tmp/mathroot/usr/bin" -printf 'GUI\n' > "$tmp/mathroot/usr/lib/reliefos/apps/reliefmath/reliefmath.elf" -printf 'worker\n' > "$tmp/mathroot/usr/lib/reliefos/apps/reliefmath/reliefmath-render.elf" -printf 'window icon\n' > "$tmp/mathroot/usr/lib/reliefos/apps/reliefmath/reliefmath.bmp" -printf 'math font\n' > "$tmp/mathroot/usr/share/reliefmath/STIXTwoMath-Regular.otf" -printf 'font license\n' > "$tmp/mathroot/usr/share/licenses/reliefmath/STIX-OFL.txt" -printf 'license summary\n' > "$tmp/mathroot/usr/share/licenses/reliefmath/README.md" -printf 'mime\n' > "$tmp/mathroot/usr/share/mime/packages/reliefmath.xml" -printf 'desktop\n' > "$tmp/mathroot/usr/share/applications/reliefos-reliefmath.desktop" -printf 'shared font\n' > "$tmp/mathroot/usr/share/fonts/reliefos/simsun.ttc" -ln -s ../lib/reliefos/apps/reliefmath/reliefmath.elf "$tmp/mathroot/usr/bin/reliefmath" -for size in 16 32 48 64 128 256; do - mkdir -p "$tmp/mathroot/usr/share/icons/hicolor/${size}x${size}/apps" - printf 'png\n' > "$tmp/mathroot/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-reliefmath.png" -done -"$tmp/reliefos-apk-own" --policy "$src/configs/apk-ownership.json" \ - --root "$tmp/mathroot" --output "$tmp/math-list" -PYTHONDONTWRITEBYTECODE=1 python3 - "$src" "$tmp" <<'PY' -import sys -from pathlib import Path -sys.path.insert(0, str(Path(sys.argv[1]) / "tools")) -import apk_ownership -root = Path(sys.argv[2]) -_, rules = apk_ownership.load_policy(Path(sys.argv[1]) / "configs/apk-ownership.json", Path(sys.argv[1]) / "configs/components.toml") -rows = {row[3]: row[0] for row in (line.split("\t") for line in (root / "math-list").read_text().splitlines())} -required = [ - "usr/lib/reliefos/apps/reliefmath/reliefmath.elf", - "usr/lib/reliefos/apps/reliefmath/reliefmath-render.elf", - "usr/lib/reliefos/apps/reliefmath/reliefmath.bmp", - "usr/bin/reliefmath", - "usr/share/reliefmath/STIXTwoMath-Regular.otf", - "usr/share/licenses/reliefmath/README.md", - "usr/share/licenses/reliefmath/STIX-OFL.txt", - "usr/share/mime/packages/reliefmath.xml", - "usr/share/applications/reliefos-reliefmath.desktop", - *(f"usr/share/icons/hicolor/{size}x{size}/apps/reliefos-reliefmath.png" for size in (16, 32, 48, 64, 128, 256)), -] -for path in required: - if rows.get(path) != "reliefos-reliefmath" or apk_ownership.classify(path, rules)[0] != "reliefos-reliefmath": - raise SystemExit(f"ReliefMath payload has inconsistent ownership: {path} -> {rows.get(path)}") -if rows.get("usr/share/fonts/reliefos/simsun.ttc") != "reliefos-apps": - raise SystemExit("shared SimSun font must remain in shared app-font ownership") -PY - -# Installed updates transfer the former shell paths and RPR configuration out -# of the broad application owner. Check both classifiers with real symlinks so -# neither a prefix rule nor link-following silently changes the package owner. -mkdir -p "$tmp/updateroot/usr/sbin" "$tmp/updateroot/etc/reliefos" \ - "$tmp/updateroot/lib/apk/commit_hooks.d" "$tmp/updateroot/etc/init.d" \ - "$tmp/updateroot/etc/runlevels/default" -printf 'native updater\n' > "$tmp/updateroot/usr/sbin/reliefos-update" -chmod 755 "$tmp/updateroot/usr/sbin/reliefos-update" -printf 'RPR_BASE_URL=https://fixture.invalid/rpr\n' > "$tmp/updateroot/etc/reliefos/rpr.conf" -printf 'boot confirmation service\n' > "$tmp/updateroot/etc/init.d/reliefos-boot-confirm" -chmod 755 "$tmp/updateroot/etc/init.d/reliefos-boot-confirm" -ln -s ../../init.d/reliefos-boot-confirm "$tmp/updateroot/etc/runlevels/default/reliefos-boot-confirm" -ln -s /usr/sbin/reliefos-update "$tmp/updateroot/lib/apk/commit_hooks.d/reliefos-update" -for prefix in reliefos leonos; do - for command in kernel-update check-update rpr-apkcheck rpr-ping; do - ln -s reliefos-update "$tmp/updateroot/usr/sbin/$prefix-$command" - done -done -"$tmp/reliefos-apk-own" --policy "$src/configs/apk-ownership.json" \ - --root "$tmp/updateroot" --output "$tmp/update-list" -PYTHONDONTWRITEBYTECODE=1 python3 - "$src" "$tmp" <<'PY' -import sys -from pathlib import Path -sys.path.insert(0, str(Path(sys.argv[1]) / "tools")) -import apk_ownership -root = Path(sys.argv[2]) -_, rules = apk_ownership.load_policy(Path(sys.argv[1]) / "configs/apk-ownership.json", Path(sys.argv[1]) / "configs/components.toml") -rows = {row[3]: row for row in (line.split("\t") for line in (root / "update-list").read_text().splitlines())} -expected = { - "usr/sbin/reliefos-update": ("reliefos-system-update", "file", "0755", "-"), - "etc/reliefos/rpr.conf": ("reliefos-system-update", "file", "0644", "-"), - "lib/apk/commit_hooks.d/reliefos-update": ("reliefos-system-update", "symlink", "0777", "/usr/sbin/reliefos-update"), - "etc/init.d/reliefos-boot-confirm": ("reliefos-grub", "file", "0755", "-"), - "etc/runlevels/default/reliefos-boot-confirm": ("reliefos-grub", "symlink", "0777", "../../init.d/reliefos-boot-confirm"), -} -for prefix in ("reliefos", "leonos"): - for command in ("kernel-update", "check-update", "rpr-apkcheck", "rpr-ping"): - expected[f"usr/sbin/{prefix}-{command}"] = ("reliefos-system-update", "symlink", "0777", "reliefos-update") -for path, (owner, kind, mode, target) in expected.items(): - row = rows.get(path) - if row != [owner, kind, mode, path, target] or apk_ownership.classify(path, rules)[0] != owner: - raise SystemExit(f"online update payload has inconsistent ownership: {path} -> {row}") -PY -awk -F '\t' '$1=="reliefos-demo" && $2=="file" && $3=="0644" && $4=="usr/lib/reliefos/apps/demo/demo.elf" && $5=="-" { ok=1 } END { exit !ok }' "$tmp/list" -awk -F '\t' '$1=="reliefos-apps" && $2=="file" && $4=="usr/lib/reliefos/libreliefos.so.2" && $5=="-" { ok=1 } END { exit !ok }' "$tmp/list" -awk -F '\t' '$1=="reliefos-apps" && $2=="file" && $4=="usr/lib/leonos/libleonos.so.2" && $5=="-" { ok=1 } END { exit !ok }' "$tmp/list" -awk -F '\t' '$1=="reliefos-tools" && $2=="file" && $3=="0755" && $4=="usr/bin/tool" && $5=="-" { ok=1 } END { exit !ok }' "$tmp/list" -awk -F '\t' '$1=="reliefos-tools" && $2=="symlink" && $3=="0777" && $4=="usr/bin/tool-link" && $5=="tool" { ok=1 } END { exit !ok }' "$tmp/list" - -# Ambiguous policy claims must fail before any package is built. -cat >"$tmp/bad.json" <<'EOF' -{"version":1,"apk_registration":"not-installed","groups":{ - "one":{"destination":"reliefos","components":[],"paths":["usr/bin/tool"]}, - "two":{"destination":"reliefos","components":[],"paths":["usr/bin/tool"]} -}} -EOF -if "$tmp/reliefos-apk-own" --policy "$tmp/bad.json" --root "$tmp/root" --output "$tmp/bad-list" 2>"$tmp/error"; then - echo 'ambiguous ownership was accepted' >&2 - exit 1 -fi -grep -q 'ambiguous ownership' "$tmp/error" - -# Binary detection must use bytes, not executable modes or filename suffixes. -printf '\177ELFfixture' > "$tmp/root/usr/bin/non-executable-data" -"$tmp/reliefos-apk-own" --policy "$tmp/policy.json" --root "$tmp/root" --output "$tmp/list" \ - --elf-list "$tmp/elf" --installed-policy "$tmp/installed.json" -test "$(wc -l < "$tmp/elf")" = 1 -grep -q 'non-executable-data' "$tmp/elf" -grep -q '"apk_registration":"installed-by-upstream-apk"' "$tmp/installed.json" -# XDM policy overlaps exactly five upstream paths. All other XDM files retain -# upstream ownership when the package stage strips the verified archive list. -for path in etc/X11/xdm/xdm-config etc/X11/xdm/Xservers etc/X11/xdm/Xresources \ - usr/lib/X11/xdm/Xsession usr/lib/X11/xdm/Xsetup_0 usr/lib/X11/xdm/chooser; do - mkdir -p "$tmp/root/${path%/*}" - printf 'XDM fixture\n' > "$tmp/root/$path" -done -"$tmp/reliefos-apk-own" --policy "$src/configs/apk-ownership.json" --root "$tmp/root" --output "$tmp/xdm-list" -PYTHONDONTWRITEBYTECODE=1 python3 - "$src" "$tmp" <<'PY' -import sys -from pathlib import Path -root = Path(sys.argv[2]) -rows = {row[3]: row[0] for row in (line.split("\t") for line in (root / "xdm-list").read_text().splitlines())} -expected = {"etc/X11/xdm/xdm-config", "etc/X11/xdm/Xservers", "etc/X11/xdm/Xresources", - "usr/lib/X11/xdm/Xsession", "usr/lib/X11/xdm/Xsetup_0"} -assert {path for path, owner in rows.items() if owner == "reliefos-xdm-config"} == expected -assert rows["usr/lib/X11/xdm/chooser"] != "reliefos-xdm-config" -PY -printf 'apk ownership: component groups, legacy libraries, installed identity, policy conflicts, symlinks and ELF inventory passed\n' diff --git a/tests/build/test-apk-permissions.sh b/tests/build/test-apk-permissions.sh deleted file mode 100644 index 9a7ae381..00000000 --- a/tests/build/test-apk-permissions.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -set -eu -repo=$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d) -trap 'rm -rf "$work"' 0 -trap 'exit 130' HUP INT TERM -mkdir -p "$work/root/usr/bin" "$work/root/lib/apk/db" \ - "$work/root/install/root/usr/bin" "$work/root/install/root/lib/apk/db" "$work/outside" -for root in "$work/root" "$work/root/install/root"; do - printf 'fixture\n' >"$root/usr/bin/wall utility" - printf 'fixture\n' >"$root/usr/bin/su" - mkdir "$root/restricted" - cat >"$root/lib/apk/db/installed" <<'DB' -P:util-linux-misc -V:2.42.4-r3 -F:usr -F:usr/bin -R:wall utility -a:0:5:2755 -Z:fixture -R:su -a:0:0:4755 -Z:fixture -F:restricted -M:0:0:550 - -DB -done -# shellcheck disable=SC2016 # Variables are evaluated inside the fakeroot shell. -FAKEROOTDONTTRYCHOWN=1 fakeroot -- sh -eu -c ' - sh "$1/tools/build/apk-permissions.sh" "$2/root" - for root in "$2/root" "$2/root/install/root"; do - test "$(stat -c "%u:%g:%a" "$root/usr/bin/wall utility")" = 0:5:2755 - test "$(stat -c "%u:%g:%a" "$root/usr/bin/su")" = 0:0:4755 - test "$(stat -c "%u:%g:%a" "$root/restricted")" = 0:0:550 - done -' sh "$repo" "$work" -# Verify the real ext4 output, not only fakeroot stat results. -for root in "$work/root" "$work/root/install/root"; do - chmod 755 "$root/usr/bin/su" "$root/usr/bin/wall utility" - chmod 750 "$root/restricted" -done -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror \ - "$repo/tools/host/images/reliefos-ext2-time.c" -lext2fs -lcom_err -o "$work/time" -RELIEFOS_EXT4_TIME=$work/time sh "$repo/tools/build/images.sh" ext4 "$work/root" \ - "$work/root.ext4" 1700000000 5c13543b-732c-4f81-8652-621124484420 >"$work/image.log" 2>&1 -for prefix in '' /install/root; do - # debugfs requires quoting for filenames containing spaces. - debugfs -R "stat \"$prefix/usr/bin/wall utility\"" "$work/root.ext4" >"$work/stat" 2>/dev/null - grep -Eq 'User: +0 +Group: +5' "$work/stat" - grep -q '2755' "$work/stat" - debugfs -R "stat $prefix/usr/bin/su" "$work/root.ext4" >"$work/stat" 2>/dev/null - grep -q '4755' "$work/stat" -done -test "$(stat -c %a "$work/root/usr/bin/su")" = 755 -cp "$work/root/lib/apk/db/installed" "$work/good" -for acl in '0:5:889' 'root:5:2755' '0:5' '0:5:2755:extra'; do - sed "s@a:0:5:2755@a:$acl@" "$work/good" >"$work/root/lib/apk/db/installed" - if FAKEROOTDONTTRYCHOWN=1 fakeroot -- sh "$repo/tools/build/apk-permissions.sh" "$work/root"; then - echo 'invalid ACL accepted' >&2; exit 1 - fi -done -sed 's@R:wall utility@R:../outside@' "$work/good" >"$work/root/lib/apk/db/installed" -if FAKEROOTDONTTRYCHOWN=1 fakeroot -- sh "$repo/tools/build/apk-permissions.sh" "$work/root"; then - echo 'traversal accepted' >&2; exit 1 -fi -ln -s "$work/outside" "$work/root/redirect" -sed 's@F:usr/bin@F:redirect@' "$work/good" >"$work/root/lib/apk/db/installed" -if FAKEROOTDONTTRYCHOWN=1 fakeroot -- sh "$repo/tools/build/apk-permissions.sh" "$work/root"; then - echo 'escaping parent accepted' >&2; exit 1 -fi -printf 'APK permissions: numeric ACLs, setgid, nested payloads and invalid paths passed\n' diff --git a/tests/build/test-apk-stage-selection.sh b/tests/build/test-apk-stage-selection.sh deleted file mode 100755 index bdaa6510..00000000 --- a/tests/build/test-apk-stage-selection.sh +++ /dev/null @@ -1,387 +0,0 @@ -#!/bin/sh -# Contract test: apk-stage.sh installs only the upstream APKs of the selected -# desktop backend, and filtered archives leave no trace in any staging step. -set -eu - -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-apk-stage-selection.XXXXXX") -trap 'rm -rf "$w"' EXIT HUP INT TERM - -hostcc=${HOSTCC:-cc} -$hostcc -std=c11 -Wall -Wextra -Werror -Wpedantic -I"$root" \ - "$root/tools/host/manifest/reliefos-layout.c" -o "$w/layout" - -mkdir -p "$w/bin" "$w/upstream/packages" "$w/raw/etc/reliefos" \ - "$w/raw/usr/lib/xorg/modules" "$w/raw/usr/bin" - -# The query tool is authoritative for selection: xorg-fonts is a base package -# despite its name, so name matching can never pass these assertions. -cat > "$w/bin/fake-deps" <<'DEPS' -#!/bin/sh -set -eu -lock= id= field= -while [ "$#" -gt 0 ]; do - case $1 in - --lock) lock=$2; shift 2 ;; - --id) id=$2; shift 2 ;; - --print) field=$2; shift 2 ;; - *) echo "fake-deps: unexpected argument: $1" >&2; exit 1 ;; - esac -done -printf '%s\t%s\t%s\n' "$lock" "$id" "$field" >> "$FAKE_DEPS_LOG" -case $field:$id in - feature:alpine-openrc|feature:alpine-xorg-fonts) printf 'base\n' ;; - feature:alpine-xorg-server|feature:alpine-xterm|feature:alpine-icewm|feature:alpine-mesa-dri-gallium) printf 'xorg\n' ;; - feature:alpine-xfce4) printf 'xfce\n' ;; - feature:alpine-sl) printf 'component:sl\n' ;; - feature:alpine-ncurses) printf 'component:ncurses\n' ;; - feature:alpine-sqlite-libs) printf 'component:sqlite\n' ;; - feature:alpine-broken-feature) printf 'weird\n' ;; - url:alpine-icewm) printf 'https://fixture.invalid/apk/icewm-0.1.apk\n' ;; - feature:*) echo "no dependency named \"$id\"" >&2; exit 1 ;; - url:*) echo "no url for dependency named \"$id\"" >&2; exit 1 ;; - *) echo "fake-deps: unsupported field: $field" >&2; exit 1 ;; -esac -DEPS - -cat > "$w/bin/fake-own" <<'OWN' -#!/bin/sh -set -eu -root= output= elf= -while [ "$#" -gt 0 ]; do - case $1 in - --root) root=$2; shift 2 ;; - --output) output=$2; shift 2 ;; - --elf-list) elf=$2; shift 2 ;; - *) shift ;; - esac -done -(cd "$root" && find . -mindepth 1 \( -type f -o -type l \) -printf '%P\n' | LC_ALL=C sort) > "$FAKE_OWN_LOG" -{ - while IFS= read -r path; do - printf 'reliefos-base\tfile\t0644\t%s\t-\n' "$path" - done < "$FAKE_OWN_LOG" -} > "$output" -: > "$elf" -while IFS= read -r path; do - if readelf -h "$root/$path" >/dev/null 2>&1; then - printf 'reliefos-base\tfile\t0644\t%s\t-\n' "$path" >> "$elf" - fi -done < "$FAKE_OWN_LOG" -OWN - -cat > "$w/bin/fake-apk" <<'APK' -#!/bin/sh -set -eu -printf '%s\n' "$*" >> "$FAKE_APK_LOG" -command= files= output= root= repository= requests= -while [ "$#" -gt 0 ]; do - case $1 in - mkpkg|mkndx) command=$1; shift ;; - add) command=add; shift; requests=$*; set -- ;; - --files) files=$2; shift 2 ;; - --output) output=$2; shift 2 ;; - --root) root=$2; shift 2 ;; - --repository) repository=$2; shift 2 ;; - *) shift ;; - esac -done -case $command in - mkpkg) - (cd "$files" && tar --ignore-zeros -czf "$output" .) - ;; - mkndx) - : > "$output" - ;; - add) - [ -n "$root" ] && [ -n "$repository" ] || { echo 'fake-apk: add needs --root and --repository' >&2; exit 1; } - mkdir -p "$root" - for request in $requests; do - name=${request%%=*} - found=0 - for archive in "$(dirname "$repository")"/$name-*.apk; do - [ -f "$archive" ] || continue - found=1 - tar --ignore-zeros --no-same-owner --exclude='.PKGINFO' -xzf "$archive" -C "$root" - done - [ "$found" = 1 ] || { echo "fake-apk: no archive for request: $request" >&2; exit 1; } - done - ;; - *) - echo "fake-apk: unknown command" >&2 - exit 1 - ;; -esac -APK -chmod 755 "$w/bin/fake-deps" "$w/bin/fake-own" "$w/bin/fake-apk" - -build_archive() { - destination=$1 name=$2 version=$3 - shift 3 - staging=$w/pack.$name - rm -rf "$staging" - mkdir -p "$staging" - printf 'pkgname = %s\npkgver = %s\n' "$name" "$version" > "$staging/.PKGINFO" - for member in "$@"; do - mkdir -p "$staging/$(dirname "$member")" - printf 'fixture payload for %s\n' "$member" > "$staging/$member" - done - (cd "$staging" && tar --ignore-zeros -czf "$destination/$name-$version.apk" .PKGINFO "$@") -} - -build_archive "$w/upstream/packages" openrc 0.1 etc/fixture-openrc.conf etc/openrc-extra.conf -build_archive "$w/upstream/packages" xorg-fonts 0.1 usr/share/fonts/xorg-fonts.fixture -build_archive "$w/upstream/packages" xorg-server 0.1 usr/bin/xorg-server usr/lib/xorg/modules/raw-overlay-probe -build_archive "$w/upstream/packages" xterm 0.1 usr/bin/xterm -build_archive "$w/upstream/packages" xfce4 0.1 usr/bin/startxfce4 -# apk-stage.sh's xorg path verifies the pinned IceWM ships bundled themes, so -# the xorg fixture needs an icewm archive carrying one (feature xorg + url). -build_archive "$w/upstream/packages" icewm 0.1 usr/share/icewm/themes/default/default.theme -mesa=$w/pack.mesa-dri-gallium -mkdir -p "$mesa/usr/lib/dri" -printf 'fixture Mesa DRI loader\n' > "$mesa/usr/lib/dri/libdril_dri.so" -ln -s libdril_dri.so "$mesa/usr/lib/dri/virtio_gpu_dri.so" -printf 'pkgname = mesa-dri-gallium\npkgver = 0.1\n' > "$mesa/.PKGINFO" -(cd "$mesa" && tar --ignore-zeros -czf "$w/upstream/packages/mesa-dri-gallium-0.1.apk" \ - .PKGINFO usr/lib/dri/libdril_dri.so usr/lib/dri/virtio_gpu_dri.so) - -printf 'raw openrc overlay\n' > "$w/raw/etc/fixture-openrc.conf" -printf 'raw probe\n' > "$w/raw/usr/lib/xorg/modules/raw-overlay-probe" -printf 'raw only\n' > "$w/raw/usr/bin/keep-me.txt" -printf '{"fixture":true}\n' > "$w/policy.json" -printf '{"fixture":true}\n' > "$w/lock.json" - -stage() { - run=$1 - shift - mkdir -p "$w/$run" - export FAKE_DEPS_LOG=$w/$run/deps.log FAKE_APK_LOG=$w/$run/apk.log FAKE_OWN_LOG=$w/$run/own.log - APK_LAYOUT_TOOL=$w/layout \ - sh "$root/tools/build/apk-stage.sh" "$root" "$w/raw" "$w/$run/managed" \ - "$w/$run" "$w/bin/fake-apk" "$w/upstream" "$w/bin/fake-deps" \ - "$w/lock.json" "$w/policy.json" "$w/bin/fake-own" "$w/$run/key.pem" \ - "1.0-r0" > "$w/$run/stdout" 2> "$w/$run/stderr" -} - -expect_present() { [ -e "$1" ] || { echo "FAIL - missing: $1" >&2; exit 1; }; } -expect_absent() { [ ! -e "$1" ] || { echo "FAIL - unexpected: $1" >&2; exit 1; }; } -expect_grep() { grep -q "$2" "$1" || { echo "FAIL - $1 lacks: $2" >&2; exit 1; }; } -expect_no_grep() { ! grep -q "$2" "$1" || { echo "FAIL - $1 still has: $2" >&2; exit 1; }; } -expect_fail() { - label=$1 - shift - if "$@" > /dev/null 2>&1; then - echo "FAIL - $label was accepted" >&2 - exit 1 - fi -} - -set_marker() { printf '%s' "$1" > "$w/raw/etc/reliefos/desktop-backend"; } -newline=' -' - -# --- reliefos backend: only base feature archives take part in staging --- -set_marker "reliefos -" -stage reliefos -s=$w/reliefos -expect_present "$s/repository/openrc-0.1.apk" -expect_present "$s/repository/xorg-fonts-0.1.apk" -expect_absent "$s/repository/icewm-0.1.apk" -expect_absent "$s/repository/xorg-server-0.1.apk" -expect_absent "$s/repository/xterm-0.1.apk" -expect_absent "$s/repository/mesa-dri-gallium-0.1.apk" -expect_absent "$s/repository/xfce4-0.1.apk" -expect_present "$s/managed/usr/share/reliefos/apk/repository/openrc-0.1.apk" -expect_absent "$s/managed/usr/share/reliefos/apk/repository/xorg-server-0.1.apk" -expect_absent "$s/managed/usr/share/reliefos/apk/repository/xterm-0.1.apk" -expect_present "$s/managed/usr/bin/keep-me.txt" -expect_present "$s/managed/usr/lib/xorg/modules/raw-overlay-probe" -expect_present "$s/managed/etc/fixture-openrc.conf" -expect_present "$s/managed/etc/openrc-extra.conf" -expect_present "$s/managed/usr/share/fonts/xorg-fonts.fixture" -expect_absent "$s/managed/usr/bin/xorg-server" -expect_absent "$s/managed/usr/bin/xterm" -expect_absent "$s/managed/usr/lib/dri/libdril_dri.so" -expect_absent "$s/managed/usr/lib/dri/virtio_gpu_dri.so" -expect_grep "$s/own.log" 'usr/lib/xorg/modules/raw-overlay-probe' -expect_grep "$s/own.log" 'usr/bin/keep-me.txt' -expect_no_grep "$s/own.log" 'etc/fixture-openrc.conf' -expect_no_grep "$s/own.log" 'usr/bin/xorg-server' -expect_no_grep "$s/own.log" 'usr/bin/xterm' -expect_no_grep "$s/own.log" 'usr/lib/dri/libdril_dri.so' -expect_no_grep "$s/own.log" 'usr/lib/dri/virtio_gpu_dri.so' -expect_no_grep "$s/own.log" 'etc/openrc-extra.conf' -expect_no_grep "$s/apk.log" 'xorg-server' -expect_no_grep "$s/apk.log" 'xterm' -expect_grep "$s/apk.log" 'add reliefos-base openrc=0.1 xorg-fonts=0.1' -for id in alpine-openrc alpine-xorg-fonts alpine-xorg-server alpine-xterm alpine-icewm alpine-mesa-dri-gallium; do - expect_grep "$s/deps.log" "$id" -done -expect_grep "$s/deps.log" "$w/lock.json" - -# --- console backend: xorg archives are omitted and their raw files cannot -# fall through into local signed packages. A same-named base archive remains. -mkdir -p "$w/raw/usr/lib/dri" -printf 'raw Mesa loader overlay\n' > "$w/raw/usr/lib/dri/libdril_dri.so" -ln -s libdril_dri.so "$w/raw/usr/lib/dri/virtio_gpu_dri.so" -set_marker "console -" -stage console -s=$w/console -expect_present "$s/repository/openrc-0.1.apk" -expect_present "$s/repository/xorg-fonts-0.1.apk" -expect_absent "$s/repository/icewm-0.1.apk" -expect_absent "$s/repository/xorg-server-0.1.apk" -expect_absent "$s/repository/xterm-0.1.apk" -expect_absent "$s/repository/mesa-dri-gallium-0.1.apk" -expect_absent "$s/repository/xfce4-0.1.apk" -expect_present "$s/managed/usr/share/fonts/xorg-fonts.fixture" -expect_present "$s/managed/etc/openrc-extra.conf" -expect_present "$s/managed/usr/bin/keep-me.txt" -expect_absent "$s/managed/usr/lib/xorg/modules/raw-overlay-probe" -expect_absent "$s/managed/usr/bin/xorg-server" -expect_absent "$s/managed/usr/bin/xterm" -expect_absent "$s/managed/usr/lib/dri/libdril_dri.so" -expect_absent "$s/managed/usr/lib/dri/virtio_gpu_dri.so" -expect_absent "$s/managed/usr/share/icewm/themes/default/default.theme" -expect_no_grep "$s/own.log" 'usr/lib/xorg/modules/raw-overlay-probe' -expect_no_grep "$s/own.log" 'usr/bin/xorg-server' -expect_no_grep "$s/own.log" 'usr/bin/xterm' -expect_no_grep "$s/own.log" 'usr/lib/dri/libdril_dri.so' -expect_no_grep "$s/own.log" 'usr/lib/dri/virtio_gpu_dri.so' -expect_no_grep "$s/apk.log" 'icewm' -expect_no_grep "$s/apk.log" 'xorg-server' -expect_no_grep "$s/apk.log" 'xterm' -expect_grep "$s/apk.log" 'add reliefos-base openrc=0.1 xorg-fonts=0.1' -expect_no_grep "$s/apk.log" 'mesa-dri-gallium' - -# --- xorg backend: base and xorg archives are all installed --- -set_marker "xorg -" -stage xorg -s=$w/xorg -expect_absent "$s/repository/xfce4-0.1.apk" -expect_absent "$s/managed/usr/bin/startxfce4" -expect_no_grep "$s/apk.log" 'xfce4' -for archive in icewm-0.1.apk mesa-dri-gallium-0.1.apk openrc-0.1.apk xorg-fonts-0.1.apk xorg-server-0.1.apk xterm-0.1.apk; do - expect_present "$s/repository/$archive" - expect_present "$s/managed/usr/share/reliefos/apk/repository/$archive" -done -expect_present "$s/managed/usr/bin/xorg-server" -expect_present "$s/managed/usr/bin/xterm" -expect_present "$s/managed/usr/lib/dri/libdril_dri.so" -expect_present "$s/managed/usr/lib/dri/virtio_gpu_dri.so" -test "$(readlink "$s/managed/usr/lib/dri/virtio_gpu_dri.so")" = libdril_dri.so -expect_present "$s/managed/etc/openrc-extra.conf" -expect_present "$s/managed/usr/share/fonts/xorg-fonts.fixture" -expect_present "$s/managed/usr/bin/keep-me.txt" -expect_present "$s/managed/usr/share/icewm/themes/default/default.theme" -expect_grep "$s/own.log" 'usr/bin/keep-me.txt' -expect_no_grep "$s/own.log" 'usr/lib/xorg/modules/raw-overlay-probe' -expect_no_grep "$s/own.log" 'etc/fixture-openrc.conf' -expect_no_grep "$s/own.log" 'usr/bin/xorg-server' -expect_grep "$s/apk.log" 'add reliefos-base icewm=0.1 mesa-dri-gallium=0.1 openrc=0.1 xorg-fonts=0.1 xorg-server=0.1 xterm=0.1' - -# Optional binary packages follow IMAGE selection in both backends. -build_archive "$w/upstream/packages" sl 0.1 usr/bin/sl -build_archive "$w/upstream/packages" ncurses 0.1 usr/bin/tput -build_archive "$w/upstream/packages" sqlite-libs 0.1 usr/lib/libsqlite3.so.0 -printf 'sl\nsqlite\n' > "$w/raw/etc/reliefos/apk-components" -stage components -expect_present "$w/components/repository/sl-0.1.apk" -expect_present "$w/components/repository/sqlite-libs-0.1.apk" -expect_absent "$w/components/repository/ncurses-0.1.apk" -expect_no_grep "$w/components/own.log" 'usr/bin/sl' -: > "$w/raw/etc/reliefos/apk-components" -stage no-components -for package in sl ncurses sqlite-libs; do expect_absent "$w/no-components/repository/$package-0.1.apk"; done -rm "$w/upstream/packages/sl-0.1.apk" "$w/upstream/packages/ncurses-0.1.apk" "$w/upstream/packages/sqlite-libs-0.1.apk" - -# --- marker failures stop staging before any scan or transaction --- -for marker in '' 'bogus' 'reliefos extra' "reliefos${newline}xorg${newline}" 'xorg '; do - set_marker "$marker" - rm -rf "$w/marker-fail" - mkdir -p "$w/marker-fail" - export FAKE_DEPS_LOG=$w/marker-fail/deps.log FAKE_APK_LOG=$w/marker-fail/apk.log FAKE_OWN_LOG=$w/marker-fail/own.log - expect_fail 'invalid marker' env APK_LAYOUT_TOOL=$w/layout \ - sh "$root/tools/build/apk-stage.sh" "$root" "$w/raw" "$w/marker-fail/managed" \ - "$w/marker-fail" "$w/bin/fake-apk" "$w/upstream" "$w/bin/fake-deps" \ - "$w/lock.json" "$w/policy.json" "$w/bin/fake-own" "$w/marker-fail/key.pem" "1.0-r0" - expect_absent "$w/marker-fail/managed" - expect_absent "$w/marker-fail/own.log" - expect_absent "$w/marker-fail/apk.log" - expect_absent "$w/marker-fail/repository" -done - -rm -f "$w/raw/etc/reliefos/desktop-backend" -mkdir -p "$w/missing-marker" -export FAKE_DEPS_LOG=$w/missing-marker/deps.log FAKE_APK_LOG=$w/missing-marker/apk.log FAKE_OWN_LOG=$w/missing-marker/own.log -expect_fail 'missing marker' env APK_LAYOUT_TOOL=$w/layout \ - sh "$root/tools/build/apk-stage.sh" "$root" "$w/raw" "$w/missing-marker/managed" \ - "$w/missing-marker" "$w/bin/fake-apk" "$w/upstream" "$w/bin/fake-deps" \ - "$w/lock.json" "$w/policy.json" "$w/bin/fake-own" "$w/missing-marker/key.pem" "1.0-r0" -expect_absent "$w/missing-marker/managed" -expect_absent "$w/missing-marker/own.log" - -# --- query failures name the package and the lock path --- -set_marker "reliefos -" -mkdir -p "$w/ghost-upstream/packages" "$w/broken-upstream/packages" -build_archive "$w/ghost-upstream/packages" ghost 0.1 usr/bin/ghost -build_archive "$w/broken-upstream/packages" broken-feature 0.1 usr/bin/broken-feature -for run in ghost broken-feature; do - upstream=$w/$run-upstream - rm -rf "$w/$run" - mkdir -p "$w/$run" - export FAKE_DEPS_LOG=$w/$run/deps.log FAKE_APK_LOG=$w/$run/apk.log FAKE_OWN_LOG=$w/$run/own.log - if APK_LAYOUT_TOOL=$w/layout \ - sh "$root/tools/build/apk-stage.sh" "$root" "$w/raw" "$w/$run/managed" \ - "$w/$run" "$w/bin/fake-apk" "$upstream" "$w/bin/fake-deps" \ - "$w/lock.json" "$w/policy.json" "$w/bin/fake-own" "$w/$run/key.pem" "1.0-r0" \ - >"$w/$run/stdout" 2>"$w/$run/stderr"; then - echo "FAIL - $run archive passed selection" >&2 - exit 1 - fi - expect_absent "$w/$run/managed" - expect_absent "$w/$run/repository" - expect_absent "$w/$run/own.log" -done -expect_grep "$w/ghost/stderr" 'ghost' -expect_grep "$w/ghost/stderr" "$w/lock.json" -expect_grep "$w/broken-feature/stderr" 'broken-feature' - -# A real local ELF may depend on a SONAME advertised by a selected upstream APK. -printf 'int fixture_value(void) { return 7; }\n' > "$w/library.c" -$hostcc -shared -fPIC -nostdlib -Wl,-soname,libfixture.so.1 "$w/library.c" -o "$w/libfixture.so.1" -printf 'extern int fixture_value(void); int main(void) { return fixture_value(); }\n' > "$w/client.c" -$hostcc -nostdlib -Wl,-e,main "$w/client.c" "$w/libfixture.so.1" -o "$w/raw/usr/bin/library-client" -cp "$w/libfixture.so.1" "$w/pack.xterm/libfixture.so.1" -printf 'provides = so:libfixture.so.1=1\n' >> "$w/pack.xterm/.PKGINFO" -(cd "$w/pack.xterm" && tar -czf "$w/upstream/packages/xterm-0.1.apk" .PKGINFO usr/bin/xterm libfixture.so.1) -set_marker "xorg -" -if ! stage upstream-library; then - cat "$w/upstream-library/stderr" >&2 - echo 'FAIL - local ELF dependency on selected upstream provider was rejected' >&2 - exit 1 -fi -expect_grep "$w/upstream-library/apk.log" 'depends:.*so:libfixture.so.1' -mkdir -p "$w/raw/usr/lib" -cp "$w/libfixture.so.1" "$w/raw/usr/lib/libfixture.so.1" -if stage duplicate-library; then - echo 'FAIL - obsolete local library duplicated an official SONAME' >&2 - exit 1 -fi -expect_grep "$w/duplicate-library/stderr" 'local payload duplicates an official APK SONAME' -expect_absent "$w/duplicate-library/managed" -rm "$w/raw/usr/lib/libfixture.so.1" -set_marker "reliefos -" -if stage filtered-library; then - echo 'FAIL - filtered upstream provider satisfied a local dependency' >&2 - exit 1 -fi -expect_grep "$w/filtered-library/stderr" 'unresolved ELF dependency.*libfixture.so.1' - -printf '%s\n' 'apk stage selection: base and xorg features filter every staging step; upstream ELF providers resolve only when selected' diff --git a/tests/build/test-reliefapk-process.sh b/tests/build/test-app-process.sh old mode 100755 new mode 100644 similarity index 73% rename from tests/build/test-reliefapk-process.sh rename to tests/build/test-app-process.sh index 48a5db97..2a830655 --- a/tests/build/test-reliefapk-process.sh +++ b/tests/build/test-app-process.sh @@ -3,12 +3,12 @@ set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) tmpbase=${TMPDIR:-$src/out/tmp} mkdir -p "$tmpbase" -work=$(mktemp -d "$tmpbase/reliefapk-process.XXXXXX") +work=$(mktemp -d "$tmpbase/app-process.XXXXXX") trap 'rm -rf "$work"' EXIT HUP INT TERM ${HOSTCXX:-c++} -std=c++17 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L \ -Wall -Wextra -Werror -fno-exceptions -fno-rtti \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/reliefapk" \ - "$src/tools/tests/reliefapk_process_test.cpp" -o "$work/process-test" + -I"$src/userland/apps/shared" \ + "$src/tools/tests/app_process_test.cpp" -o "$work/process-test" TMPDIR="$work" ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 \ "$work/process-test" "$work" diff --git a/tests/build/test-askpass-password.sh b/tests/build/test-askpass-password.sh deleted file mode 100644 index 28b9aa57..00000000 --- a/tests/build/test-askpass-password.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -O1 -g \ - -fsanitize=address,undefined -fno-sanitize-recover=all \ - "$src/tests/host/test_askpass_password.c" -o "$work/password" -"$work/password" -printf 'ok - askpass bounds UTF-8 bytes, rejects multiline input and handles short/interrupted writes\n' diff --git a/tests/build/test-audio-packages.sh b/tests/build/test-audio-packages.sh deleted file mode 100644 index ebecfd07..00000000 --- a/tests/build/test-audio-packages.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh -# Inspect real target products; execute only the SDK compiler, never target ELFs. -set -eu -repo=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) -audio_out=${AUDIO_OUT:-${RELIEFOS_TEST_BUILD_ROOT:-"$repo/out/x86_64/release"}} -require() { test -s "$1" || { echo "FAIL missing audio product: $1" >&2; exit 1; }; } -require "$audio_out/system/lib/libreliefos-audio.so.1" -require "$audio_out/userland/soundctl.elf" -readelf -d "$audio_out/system/lib/libreliefos-audio.so.1" | grep -F '[libreliefos-audio.so.1]' -readelf -d "$audio_out/system/lib/libreliefos-audio.so.1" | grep -F '[libasound.so.2]' -readelf -d "$audio_out/userland/soundctl.elf" | grep -F '[libreliefos-audio.so.1]' -if readelf -d "$audio_out/system/lib/libreliefos.so.2" | grep -F 'libasound'; then - echo 'FAIL base runtime unexpectedly depends on ALSA' >&2; exit 1 -fi -for spec in 'alsa-lib usr/lib/libasound.so.2' 'alsa-lib usr/include/alsa/asoundlib.h' \ - 'alsa-lib usr/share/alsa/alsa.conf' 'alsa-lib usr/share/alsa/pcm/dmix.conf' \ - 'alsa-lib usr/share/alsa/pcm/dsnoop.conf' 'alsa-lib usr/share/licenses/alsa-lib/COPYING' \ - 'alsa-utils usr/bin/aplay' 'alsa-utils usr/bin/arecord' 'alsa-utils usr/bin/amixer' \ - 'alsa-utils usr/sbin/alsactl' 'alsa-utils usr/bin/speaker-test' \ - 'alsa-utils usr/share/licenses/alsa-utils/COPYING' 'nuked-opl3 usr/lib/libopl3.so.1' \ - 'nuked-opl3 usr/include/opl3.h' 'nuked-opl3 usr/share/licenses/nuked-opl3/LICENSE'; do - set -- $spec; require "$audio_out/upstream/$1/root/$2" -done -readelf -d "$audio_out/upstream/alsa-lib/root/usr/lib/libasound.so.2" | grep -F '[libasound.so.2]' -readelf -d "$audio_out/upstream/nuked-opl3/root/usr/lib/libopl3.so.1" | grep -F '[libopl3.so.1]' -# dmix/dsnoop are built into libasound in this pinned configuration. -for plugin in dmix dsnoop plug hw; do - nm -D "$audio_out/upstream/alsa-lib/root/usr/lib/libasound.so.2" | grep -F "_snd_pcm_${plugin}_open" -done -for elf in "$audio_out/upstream/alsa-lib/root/usr/lib/libasound.so.2" \ - "$audio_out/upstream/nuked-opl3/root/usr/lib/libopl3.so.1" \ - "$audio_out/upstream/alsa-utils/root/usr/bin/aplay" \ - "$audio_out/upstream/alsa-utils/root/usr/bin/amixer" \ - "$audio_out/upstream/alsa-utils/root/usr/sbin/alsactl" \ - "$audio_out/upstream/alsa-utils/root/usr/bin/speaker-test"; do - readelf -d "$elf" | grep -F '[libc.so]' - if readelf --version-info "$elf" | grep -F 'GLIBC_'; then - echo "FAIL host glibc dependency: $elf" >&2; exit 1 - fi -done -test ! -e "$audio_out/upstream/alsa-lib/root/usr/lib/libasound.la" -for f in usr/lib/libasound.so.2 usr/lib/libopl3.so.1 usr/lib/libreliefos-audio.so.1 usr/bin/soundctl etc/asound.conf \ - usr/share/alsa/pcm/dmix.conf usr/share/alsa/pcm/dsnoop.conf usr/bin/aplay usr/bin/arecord \ - usr/bin/amixer usr/sbin/alsactl usr/bin/speaker-test \ - etc/init.d/reliefos-audio etc/runlevels/default/reliefos-audio; do require "$audio_out/rootfs/raw/$f"; done -test -x "$audio_out/rootfs/raw/etc/init.d/reliefos-audio" -test -L "$audio_out/rootfs/raw/etc/runlevels/default/reliefos-audio" -readlink "$audio_out/rootfs/raw/etc/runlevels/default/reliefos-audio" | grep -F "../../init.d/reliefos-audio" -sdk="$audio_out/sdk/reliefos-musl-sdk" -for f in bin/reliefos-musl-cc include/alsa/asoundlib.h include/opl3.h include/reliefos/audio_control.h lib/libreliefos-audio.so.1 lib/libasound.so.2 \ - lib/libasound.a lib/libopl3.so.1 share/alsa/pcm/dmix.conf share/licenses/alsa-lib/COPYING \ - share/licenses/nuked-opl3/LICENSE; do require "$sdk/$f"; done -mkdir -p "$audio_out/qa" -work=$(mktemp -d "$audio_out/qa/audio-sdk.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir "$work/sdk path" -tar -xf "$audio_out/packages/reliefos-musl-sdk.tar.gz" -C "$work/sdk path" -cat > "$work/client.c" <<'EOF' -#include -#include -int main(void) { - snd_pcm_t *pcm; - opl3_chip chip; - OPL3_Reset(&chip,48000); - int r=snd_pcm_open(&pcm,"default",SND_PCM_STREAM_PLAYBACK,0); - if(r<0)return 1; - r=snd_pcm_set_params(pcm,SND_PCM_FORMAT_S16_LE,SND_PCM_ACCESS_RW_INTERLEAVED, - 2,48000,1,50000); - snd_pcm_close(pcm); - return r<0; -} -EOF -"$work/sdk path/reliefos-musl-sdk/bin/reliefos-musl-cc" "$work/client.c" -lasound -lopl3 -o "$work/client" -readelf -d "$work/client" | grep -F '[libasound.so.2]' -readelf -d "$work/client" | grep -F '[libopl3.so.1]' -cat > "$work/control-client.c" <<'EOF' -#include -int main(void) { - struct reliefos_audio_control *control; - if (reliefos_audio_control_open(0, &control)) return 1; - reliefos_audio_control_close(control); - return 0; -} -EOF -"$work/sdk path/reliefos-musl-sdk/bin/reliefos-musl-cc" "$work/control-client.c" -lreliefos-audio -o "$work/control-client" -readelf -d "$work/control-client" | grep -F '[libreliefos-audio.so.1]' -cat > "$work/static-client.c" <<'EOF' -#include -int main(void) { - snd_pcm_t *pcm; - int r=snd_pcm_open(&pcm,"default",SND_PCM_STREAM_PLAYBACK,0); - if(r<0)return 1; - snd_pcm_close(pcm); - return 0; -} -EOF -"$work/sdk path/reliefos-musl-sdk/bin/reliefos-musl-cc" -static \ - "$work/static-client.c" -lasound -lm -ldl -o "$work/static-client" -if readelf -l -d "$work/static-client" | grep -E 'INTERP|\(NEEDED\)'; then - echo 'FAIL static ALSA client has dynamic dependencies' >&2; exit 1 -fi -echo 'audio upstream/rootfs/SDK products, plugins, licenses, target dependencies and relocated dynamic/static links PASS' diff --git a/tests/build/test-auth-stage.sh b/tests/build/test-auth-stage.sh deleted file mode 100644 index ec181de2..00000000 --- a/tests/build/test-auth-stage.sh +++ /dev/null @@ -1,233 +0,0 @@ -#!/bin/sh -# Contract for the staged authentication chain: the Linux UAPI headers and -# libxcrypt built by tools/build/auth-upstream.sh. -# -# What this suite deliberately does NOT do is pretend Linux-PAM is migrated: its -# upstream build system is Meson-only, and the absence of libpam.so.0 from the -# staged tree is asserted here so the gap cannot be quietly forgotten. -set -u - -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -deps=${RELIEFOS_DEPS:-${LEONOS_DEPS:-$repo_root/tools/host/gen/reliefos-deps}} -[ -x "$deps" ] || deps=$(find "$repo_root/out" -path '*/host/bin/reliefos-deps' -type f | head -n 1) -lock=$repo_root/configs/dependencies.lock.json -auth_script=$repo_root/tools/build/auth-upstream.sh -cache=${RELIEFOS_CACHE:-${LEONOS_CACHE:-$repo_root/cache/downloads}} -cache=$(CDPATH= cd -- "$cache" && pwd -P) || exit 1 - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-auth.XXXXXX") || exit 1 -O="$work/out" -failures=0 -checks=0 - -cleanup() { - [ -n "${KEEP_WORK:-}" ] || rm -rf "$work" -} -trap cleanup EXIT INT TERM - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then - shift - printf ' %s\n' "$@" - fi -} -stage=$O/auth/root - -printf '=== staged authentication chain ===\n' -make -s O="$O" leonos-auth >"$work/first.log" 2>&1 -status=$? -if [ "$status" -eq 0 ]; then - pass 'make leonos-auth builds the stage from a clean output directory' -else - fail 'make leonos-auth builds the stage from a clean output directory' \ - "status $status" - tail -n 20 "$work/first.log" | sed 's/^/ | /' -fi - -for artifact in usr/include/crypt.h usr/include/linux/openat2.h \ - lib/libcrypt.so.2 share/licenses/libxcrypt/LICENSE \ - share/licenses/linux-headers/LICENSE; do - if [ -e "$stage/$artifact" ]; then - pass "$artifact is a declared, present product" - else - fail "$artifact is a declared, present product" "missing under $stage" - fi -done - -if [ ! -e "$stage/lib/libpam.so.0" ] && [ ! -e "$stage/usr/include/security/pam_appl.h" ]; then - pass 'Linux-PAM is honestly absent (Meson-only upstream, hand port pending)' -else - fail 'Linux-PAM is honestly absent (Meson-only upstream, hand port pending)' \ - 'a PAM artifact appeared in a stage that cannot build PAM without Meson' -fi - -# A staged library has to be the one the runtime will link against: a SONAME the -# dynamic loader can resolve, and exported crypt() entry points. -soname=$(readelf -d "$stage/lib/libcrypt.so.2" 2>/dev/null | - sed -n 's/.*SONAME.*\[\(.*\)\].*/\1/p') -if [ "$soname" = libcrypt.so.2 ]; then - pass 'libcrypt.so.2 carries the SONAME the runtime links against' -else - fail 'libcrypt.so.2 carries the SONAME the runtime links against' \ - "SONAME='${soname:-unreadable}'" -fi -needed=$(readelf -d "$stage/lib/libcrypt.so.2" 2>/dev/null | - sed -n 's/.*NEEDED.*\[\(.*\)\].*/\1/p' | tr '\n' ' ') -# musl's own SONAME is plain `libc.so`; `libc.so.1` is the glibc name, and a -# staged library that needed it would be linking against the host. -printf '%s\n' "$needed" | grep -qw 'libc.so' || - fail 'libcrypt.so.2 needs the musl shared library (libc.so)' "NEEDED: $needed" -printf '%s\n' "$needed" | grep -qw 'libgcc_s.so.1' && - fail 'libcrypt.so.2 must not pull in the host libgcc' "NEEDED: $needed" -pass "libcrypt.so.2 dependencies are target-only ($needed)" - -# Versioned symbols print as `crypt@@XCRYPT_2.0`, so compare bare names. -symbols=$(llvm-nm -D --defined-only "$stage/lib/libcrypt.so.2" 2>/dev/null | - awk '{ print $NF }' | sed 's/@.*//' | LC_ALL=C sort) -for symbol in crypt crypt_r crypt_gensalt crypt_gensalt_rn crypt_checksalt; do - if printf '%s\n' "$symbols" | grep -qx -- "$symbol"; then - pass "libcrypt exports $symbol" - else - fail "libcrypt exports $symbol" 'not in the dynamic symbol table' - fi -done - -printf '\n=== the stage is reproducible and the inputs are pinned ===\n' -objects_first=$work/objects-first -find "$O/third-party/auth/build" -name '*.o' -printf '%p %T@\n' | LC_ALL=C sort \ - >"$objects_first" -before=$(find "$stage" -name '*.so*' -o -name 'crypt.h' | LC_ALL=C sort | - xargs sha256sum 2>/dev/null) -make -s O="$O" leonos-auth >"$work/second.log" 2>&1 -after=$(find "$stage" -name '*.so*' -o -name 'crypt.h' | LC_ALL=C sort | - xargs sha256sum 2>/dev/null) -if [ "$before" = "$after" ]; then - pass 'repeating the stage produces identical bytes' -else - fail 'repeating the stage produces identical bytes' - printf '%s\n' "$before" >"$work/checksums-first" - printf '%s\n' "$after" >"$work/checksums-second" - diff "$work/checksums-first" "$work/checksums-second" | sed 's/^/ | /' -fi -# The recipe re-runs by design (the stamp is promoted through a signature that -# FORCE re-checks), so "does no work" has to mean what it measures: upstream make -# recompiled nothing. Object timestamps are the fact; Make's log is not. -after_objects=$work/objects-second -find "$O/third-party/auth/build" -name '*.o' -printf '%p %T@\n' | LC_ALL=C sort \ - >"$after_objects" -if cmp -s "$objects_first" "$after_objects"; then - pass 'the second run recompiles no object at all' -else - fail 'the second run recompiles no object at all' \ - "$(cmp "$objects_first" "$after_objects" 2>&1 | head -1)" -fi - -printf '\n=== the staged library does not depend on where it was built ===\n' -# libxcrypt expands __FILE__ into its binary, so an unmapped build directory -# leaks into .rodata and shifts every later section: two output trees would then -# produce different bytes for the same configuration. That is the failure mode -# this checks, and it is why the adapter passes -fmacro-prefix-map. -other="$work/nested/deeper/tree/out" -make -s O="$other" leonos-auth >"$work/other.log" 2>&1 -other_status=$? -if [ "$other_status" -ne 0 ]; then - fail 'the stage builds at a second, deeper output path' "status $other_status" - tail -n 12 "$work/other.log" | sed 's/^/ | /' -fi -for lib in libcrypt.so.2.0.0 libcrypt.a; do - a="$stage/lib/$lib" - b="$other/auth/root/lib/$lib" - if [ ! -f "$a" ] || [ ! -f "$b" ]; then - fail "$lib is staged in both trees" "missing $( [ -f "$a" ] || echo $a )$( [ -f "$b" ] || echo " $b" )" - continue - fi - if cmp -s "$a" "$b"; then - pass "$lib is byte-identical across two output paths" - else - fail "$lib is byte-identical across two output paths" \ - "$(cmp "$a" "$b" 2>&1 | head -1)" - fi -done - -printf '\n=== the stage refuses inputs it cannot honour ===\n' -# Copy only the archive under test so the shared cache stays untouched. -fake="$work/cache" -headers_url=$("$deps" --lock "$lock" --id linux-headers --print url) || exit 1 -crypt_url=$("$deps" --lock "$lock" --id libxcrypt --print url) || exit 1 -crypt_archive=${crypt_url##*/} -mkdir -p "$fake" || exit 1 -ln -s "$cache/${headers_url##*/}" "$fake/${headers_url##*/}" || exit 1 -cp "$cache/$crypt_archive" "$fake/$crypt_archive" || exit 1 -printf 'x' >>"$fake/$crypt_archive" || exit 1 -# The test runner supplies RELIEFOS_CACHE, which takes precedence over the old alias. -make -s O="$work/tampered" RELIEFOS_CACHE="$fake" leonos-auth >"$work/tampered.log" 2>&1 -tampered_status=$? -if [ "$tampered_status" -ne 0 ] && - grep -Fq "$fake/$crypt_archive digest mismatch:" "$work/tampered.log"; then - pass 'a cache archive whose bytes changed is refused before unpacking' -else - fail 'a cache archive whose bytes changed is refused before unpacking' \ - "status $tampered_status: $(tail -c 200 "$work/tampered.log")" -fi -if [ -f "$cache/$crypt_archive" ] && - [ "$(sha256sum "$cache/$crypt_archive" | - cut -d' ' -f1)" = "$("$deps" --lock "$lock" --id libxcrypt --print sha256)" ]; then - pass 'the shared download cache is untouched by the tampered run' -else - fail 'the shared download cache is untouched by the tampered run' \ - "$cache/$crypt_archive no longer matches the lock file" -fi - -printf '\n=== the stage leaves the output tree as the layout declares ===\n' -# The kernel Makefile reads `O=` for its own out-of-tree build, and that variable -# reaches it through MAKEFLAGS from `make O=...` here. If the adapter does not name -# its own build directory, a whole kernel tree appears inside this project's -# output directory -- so the top level of O is asserted against the layout rather -# than trusted. -# Native Kbuild also creates its declared object directories while parsing the -# product graph, even when this invocation only builds authentication inputs. -allowed="auth config generated host images include logs meta musl obj packages pam scripts stage sysroot system tests third-party tools userland userland-installer" -stray='' -for entry in "$O"/*; do - name=${entry##*/} - case " $allowed " in - *" $name "*) ;; - *) stray="$stray $name" ;; - esac -done -if [ -z "$stray" ]; then - pass 'the output directory holds only the declared layout entries' -else - fail 'the output directory holds only the declared layout entries' \ - "stray:$stray" -fi - -# `make clean` is only safe because of the ownership marker, and only useful if a -# build goal actually writes it: a tree that clean refuses to delete is a leak. -if [ -f "$O/.reliefos-out" ]; then - pass 'a build goal leaves the ownership marker clean needs to recognise the tree' -else - fail 'a build goal leaves the ownership marker clean needs to recognise the tree' \ - 'missing .reliefos-out' -fi -make -s O="$O" clean >"$work/clean.log" 2>&1 -clean_status=$? -if [ "$clean_status" -eq 0 ] && [ ! -e "$O/auth" ] && [ -d "$O" ]; then - pass 'make clean removes the staged tree and keeps the directory' -else - fail 'make clean removes the staged tree and keeps the directory' \ - "status $clean_status: $(tail -2 "$work/clean.log" | head -1)" -fi - -printf '\n%s: %d checks, %d failures\n' 'test-auth-stage' "$checks" "$failures" -[ "$failures" -eq 0 ] || exit 1 -exit 0 diff --git a/tests/build/test-boot-mount-policy.sh b/tests/build/test-boot-mount-policy.sh deleted file mode 100644 index 63e34d16..00000000 --- a/tests/build/test-boot-mount-policy.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -. "$src/system/initramfs/functions" -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-boot-policy.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -uuid=12345678-1234-4567-89ab-123456789abc -printf 'PARTUUID=esp /efi vfat defaults 0 2\n/efi/reliefos/instances/%s /boot none bind 0 0\n' "$uuid" > "$work/fstab" -parse_boot_fstab "$work/fstab" "$uuid" -[ "$esp_source" = PARTUUID=esp ] && [ "$esp_point" = /efi ] -[ "$boot_bind" = "/efi/reliefos/instances/$uuid" ] -if parse_boot_fstab "$work/fstab" 00000000-0000-0000-0000-000000000001; then exit 1; fi -printf 'PARTUUID=legacy /boot vfat defaults 0 2\n' > "$work/fstab" -parse_boot_fstab "$work/fstab" "$uuid" -[ "$esp_point" = /boot ] && [ -z "$boot_bind" ] -for bad in duplicate missing traversal mixed flags; do - printf 'PARTUUID=esp /efi vfat defaults 0 2\n' > "$work/fstab" - case $bad in - duplicate) printf 'PARTUUID=other /boot vfat defaults 0 2\n' >> "$work/fstab" ;; - traversal) printf '/efi/../outside /boot none bind 0 0\n' >> "$work/fstab" ;; - mixed) printf 'PARTUUID=esp /boot vfat defaults 0 2\n/efi/reliefos/instances/%s /boot none bind 0 0\n' "$uuid" > "$work/fstab" ;; - flags) printf '/efi/reliefos/instances/%s /boot none bind,ro 0 0\n' "$uuid" >> "$work/fstab" ;; - esac - if parse_boot_fstab "$work/fstab" "$uuid"; then exit 1; fi -done -mkdir "$work/root" -${HOSTCC:-cc} -std=gnu11 -O1 -g -Wall -Wextra -Werror -D_GNU_SOURCE \ - -fsanitize=address,undefined -fno-sanitize-recover=all -ffunction-sections -fdata-sections \ - -I"$src/userland/runtime/include" "$src/tests/host/test_installer_boot_layout.c" \ - -Wl,--gc-sections -o "$work/layout" -"$work/layout" "$work/root" -first=$(RELIEFOS_IMAGE_INSTANCE=first sh "$src/tools/build/image-identity.sh" root) -again=$(RELIEFOS_IMAGE_INSTANCE=first sh "$src/tools/build/image-identity.sh" root) -second=$(RELIEFOS_IMAGE_INSTANCE=second sh "$src/tools/build/image-identity.sh" root) -esp=$(RELIEFOS_IMAGE_INSTANCE=first sh "$src/tools/build/image-identity.sh" esp) -[ "$first" = "$again" ] && [ "$first" != "$second" ] && [ "$first" != "$esp" ] -if RELIEFOS_IMAGE_INSTANCE='../invalid' sh "$src/tools/build/image-identity.sh" root >/dev/null 2>&1; then exit 1; fi -printf 'boot policy: per-root binding, shared ESP, legacy layout, unsafe fstab and deterministic instance IDs passed\n' diff --git a/tests/build/test-bootloader-uefi.sh b/tests/build/test-bootloader-uefi.sh index 27a589c0..05c9d717 100644 --- a/tests/build/test-bootloader-uefi.sh +++ b/tests/build/test-bootloader-uefi.sh @@ -6,10 +6,10 @@ trap 'rm -rf "$work"' EXIT HUP INT TERM . "$src/tests/lib/runtime-dependencies.sh" ${HOSTCC:-cc} -std=gnu11 -O1 -g -Wall -Wextra -Werror -D_GNU_SOURCE \ -fsanitize=address,undefined -fno-sanitize-recover=all -ffunction-sections -fdata-sections \ - -I"$work" -I"$src/userland/runtime/include" -I"$runtime_deps/usr/include" \ + -I"$work" -I"$src/userland/runtime/include" $crypto_cflags $sqlite_cflags \ "$src/tests/host/test_bootloader_uefi.c" "$src/userland/runtime/src/bootloader_uefi.c" \ "$src/userland/runtime/src/bootloader.c" \ "$src/userland/runtime/src/bootloader_publish.c" "$src/userland/runtime/src/kernel_bundle_io.c" \ - "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ + $crypto_libs -pthread \ -Wl,--gc-sections -o "$work/verify" "$work/verify" "$work" diff --git a/tests/build/test-bootstrap.sh b/tests/build/test-bootstrap.sh index 6fc55169..040db194 100755 --- a/tests/build/test-bootstrap.sh +++ b/tests/build/test-bootstrap.sh @@ -1,119 +1,14 @@ #!/bin/sh -# Public entry-point contract tests for the GNU Make build system. -# -# These assert the command surface from the migration plan section 4 and the -# output-directory safety rules from section 6.3. They must pass on a host with -# nothing but a C compiler: no target toolchain, no fetched dependencies. -set -u - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -failures=0 -checks=0 - -check() { - description=$1 - shift - checks=$((checks + 1)) - if "$@" >/dev/null 2>&1; then - printf 'ok - %s\n' "$description" - else - printf 'FAIL - %s\n' "$description" - failures=$((failures + 1)) - fi -} - -expect_output_contains() { - description=$1 - pattern=$2 - shift 2 - checks=$((checks + 1)) - if "$@" 2>&1 | grep -qF -- "$pattern"; then - printf 'ok - %s\n' "$description" - else - printf 'FAIL - %s\n' "$description" - printf ' expected output to contain: %s\n' "$pattern" - failures=$((failures + 1)) - fi -} - -expect_failure() { - description=$1 - pattern=$2 - shift 2 - checks=$((checks + 1)) - output=$("$@" 2>&1) - status=$? - if [ "$status" -ne 0 ] && printf '%s' "$output" | grep -qF -- "$pattern"; then - printf 'ok - %s\n' "$description" - else - printf 'FAIL - %s\n' "$description" - printf ' exit=%s, expected non-zero and text containing: %s\n' "$status" "$pattern" - printf '%s\n' "$output" | sed 's/^/ | /' - failures=$((failures + 1)) - fi -} - -# --- help must work without a compiler and must not build anything --------- -check "default goal is help even with no compiler on PATH" \ - env PATH=/usr/bin:/bin CC=nonexistent-cc make -s V=1 -expect_output_contains "help lists the documented targets" "installer" \ - make -s help -expect_output_contains "help lists the documented variables" "SOURCE_DATE_EPOCH" \ - make -s help -expect_output_contains "help documents the no-implicit-download rule" "fetch" \ - make -s help - -check "help and clean leave no output tree behind" \ - sh -c 'make -s help >/dev/null 2>&1; make -s clean O=out/test-bootstrap >/dev/null 2>&1; test ! -e out/test-bootstrap/generated' \ - sh -check "help does not create a source-tree version header" \ - test ! -e include/generated/build_info.h - -# --- HOSTCC and target CC are independent --------------------------------- -expect_output_contains "doctor reports the host compiler separately" "HOSTCC ${HOSTCC:-cc}" \ - make -s doctor -# One variable per side: if doctor printed a single "compiler" line the assertion -# above would pass even when the host and target compilers were the same binary. -expect_output_contains "doctor names the target compiler and linker apart from it" \ - "TARGET_CC clang" make -s doctor -expect_output_contains "doctor reports the target linker" "TARGET_LD ld.lld" \ - make -s doctor -check "host tools build with a plain host compiler" \ - env HOSTCC=cc make -s tools -# doctor resolves the override before anything compiles, so a bogus CC is -# reported rather than discovered halfway through a link. -expect_failure "an explicit target CC override reaches doctor" "target-cc-probe" \ - env HOSTCC=cc make -s doctor CC=target-cc-probe - -# --- rejected inputs ------------------------------------------------------ -expect_failure "unknown ARCH is rejected" "ARCH" \ - make -s ARCH=riscv64 tools -expect_failure "unknown PROFILE is rejected" "PROFILE" \ - make -s PROFILE=turbo tools -expect_failure "empty O is rejected" "O=" \ - make -s O= tools -expect_failure "O=/ is rejected" "output directory" \ - make -s O=/ tools -expect_failure "O pointing at the source root is rejected" "output directory" \ - make -s O=. tools -expect_failure "O containing a space is rejected" "unsupported" \ - make -s O="out/bad dir" tools -expect_failure "O containing a newline is rejected" "unsupported" \ - make -s 'O=out/bad -dir' tools -expect_failure "unknown configuration key override is rejected" "CONFIG_BOGUS_KEY" \ - make -s CONFIG_BOGUS_KEY=1 tools -expect_failure "clean refuses an output dir without an ownership marker" "ownership" \ - make -s clean O=out/test-bootstrap - -# --- doctor must fail loudly when the target toolchain is incomplete ------ -expect_failure "doctor fails when the target linker is missing" "definitely-not-a-real-ld" \ - make -s doctor LD=definitely-not-a-real-ld -expect_failure "doctor fails when the target compiler cannot build for the triple" \ - "definitely-not-a-real-cc" make -s doctor CC=definitely-not-a-real-cc - -printf '%s: %d checks, %d failures\n' "test-bootstrap" "$checks" "$failures" -[ "$failures" -eq 0 ] || exit 1 -exit 0 +# Exercise the public targets without downloading packages or creating outputs. +set -eu +src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) +w=$(mktemp -d) +trap 'rm -rf "$w"' EXIT HUP INT TERM +make -s -C "$src" O="$w/help-output" help > "$w/help" +grep -Fq 'glibc, pacman and systemd' "$w/help" +[ ! -e "$w/help-output" ] +for goal in doctor fetch fetch-check build all installer image-vmdk rootfs rpr-testing sdk release; do + make -sn -C "$src" O="$w/out" "$goal" > "$w/plan" + grep -Fq '/tools/build/arch-root.sh' "$w/plan" + [ ! -e "$w/out" ] +done diff --git a/tests/build/test-brand-identity.sh b/tests/build/test-brand-identity.sh index f9c4194c..67e80f5a 100755 --- a/tests/build/test-brand-identity.sh +++ b/tests/build/test-brand-identity.sh @@ -1,365 +1,44 @@ #!/bin/sh -# Brand identity gate for the ReliefOS / ReliefNT rename (plan task 1). -# -# Layers (each is a sub-function; later plan tasks turn them green one by one): -# appearance - user-visible product names (os-release, GRUB menus) -# paths - canonical guest paths and OpenRC service names -# headers_libs - canonical public headers and runtime library names -# artifacts - build product names (images, SDK archive) -# old_names - every remaining old-name hit must be listed in -# tests/build/brand-allowlist.tsv with a valid category. -# Any unlisted hit is a FAIL. Categories are defined in -# Documentation/userspace-api/abi.rst; the transitional -# 'migration' category is reported but only rejected when -# BRAND_STRICT=1 (final review, plan task 11). -# -# Old-name scan scope: Git-tracked files (git grep) and tracked filenames, -# in the main repository. ReliefNT owns its independent brand gate. Untracked user content, -# build outputs and third-party submodules are out of scope by design; the -# final review (plan task 11) covers untracked source with a separate rg pass. +# Check the installed system identity and the published filesystem ABI. set -eu -root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -allowlist="$root/tests/build/brand-allowlist.tsv" -strict=${BRAND_STRICT:-0} -fails=0 - +root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) tmp_root=${TMPDIR:-$root/out/tmp} mkdir -p "$tmp_root" -work=$(mktemp -d "$tmp_root/reliefos-brand-identity.XXXXXX") +work=$(mktemp -d "$tmp_root/reliefos-brand.XXXXXX") trap 'rm -rf "$work"' EXIT HUP INT TERM -ok() { printf 'ok - %s\n' "$1"; } -fail() { printf 'FAIL - %s\n' "$1"; fails=$((fails + 1)); } -todo() { printf 'todo - %s\n' "$1"; } - -# Layer 1: user-visible product names. -check_appearance() { - if grep -qx 'NAME="ReliefOS"' "$root/system/rootfs/etc/os-release"; then - ok 'os-release NAME is ReliefOS' - else - fail 'os-release NAME must be NAME="ReliefOS"' - fi - if grep -qx 'ID=reliefos' "$root/system/rootfs/etc/os-release"; then - ok 'os-release ID is reliefos' - else - fail 'os-release ID must be ID=reliefos' - fi - if grep -qx 'reliefos' "$root/system/rootfs/etc/hostname"; then - ok 'new rootfs hostname is reliefos' - else - fail 'new rootfs hostname must be reliefos' - fi - if grep -qx 'PRETTY_NAME="ReliefOS"' "$root/system/rootfs/etc/os-release"; then - ok 'os-release PRETTY_NAME is ReliefOS without version suffix' - else - fail 'os-release PRETTY_NAME must be exactly PRETTY_NAME="ReliefOS"' - fi - release_version=$(sed -n 's/^release_version=//p' "$root/configs/build-version") - if grep -Fxq "VERSION_ID=$release_version" "$root/system/rootfs/etc/os-release"; then - ok 'os-release VERSION_ID matches the release version' - else - fail 'os-release VERSION_ID must match configs/build-version' - fi - if grep -q 'menuentry "ReliefOS"' "$root/boot/grub/grub.cfg"; then - ok 'GRUB menu entry uses ReliefOS' - else - fail 'boot/grub/grub.cfg must contain menuentry "ReliefOS"' - fi -} - -# User-visible strings use the canonical display names. Old identifiers remain -# in implementation paths and font aliases, which are not display text. -check_visible_surfaces() { - ui_files=' -boot/grub/grub.cfg -boot/grub/live.cfg -boot/grub/installer.cfg -system/rootfs/etc/os-release -system/rootfs/etc/issue -system/docs/leonos.hlp -system/docs/zh_CN/leonos.hlp -configs/components.toml -userland/apps/installer/main.cpp -userland/apps/installer/installer_tty.c -userland/apps/login/main.c -userland/apps/osver/main.cpp -userland/apps/fileman/main.cpp -userland/apps/oschinpt/main.c -userland/apps/minesweeper/main.cpp -userland/apps/calc/main.cpp -userland/apps/taskmgr/main.cpp -userland/apps/leonmmcoset/main.cpp -userland/apps/xiaobai/main.cpp -userland/apps/paint/main.cpp -userland/apps/imageview/main.cpp -userland/apps/doomlauncher/main.cpp -userland/apps/doom/main.cpp -userland/apps/shell/main.c -userland/apps/systemupdate/main.c -userland/apps/systemupdate/engine.c -userland/apps/systemupdate/io.c -userland/apps/systemupdate/manifest.c -userland/apps/systemupdate/apk.c -' - for domain in $(cat "$root/configs/nls/DOMAINS"); do - ui_files="$ui_files configs/nls/po/$domain/$domain.pot" - for language in $(cat "$root/configs/nls/LINGUAS"); do - ui_files="$ui_files configs/nls/po/$domain/$language.po" - done - done - old_surfaces= - for ui_file in $ui_files; do - if grep -Fq 'LeonOS' "$root/$ui_file"; then - old_surfaces="$old_surfaces $ui_file" - fi - done - if [ -z "$old_surfaces" ]; then - ok 'visible UI, help, translations and GRUB use ReliefOS' - else - fail "legacy product display strings remain in:$old_surfaces" - fi - if grep -Fq 'shell_write("\x1b[96mreliefos\x1b[0m:"' \ - "$root/userland/apps/shell/main.c"; then - ok 'interactive shell prompt uses the ReliefOS machine name' - else - fail 'interactive shell prompt must use the ReliefOS machine name' - fi - if grep -qx 'CONFIG_UNAME_OSNAME="ReliefOS"' "$root/userland/busybox/leonos.config"; then - ok 'BusyBox uname identifies the ReliefOS userland' - else - fail 'BusyBox uname must identify the ReliefOS userland' - fi - if grep -Fq 'ReliefOS instance v1' "$root/userland/runtime/src/bootloader.c"; then - ok 'shared GRUB installer records the ReliefOS identity' - else - fail 'shared GRUB installer must record the ReliefOS identity' - fi - if grep -Fq 'Usage: reliefos-update' "$root/userland/apps/systemupdate/main.c" && - grep -Fq '[reliefos-update]' "$root/userland/apps/systemupdate/io.c" && - grep -Fq 'usr/sbin/reliefos-update' "$root/tools/build/rootfs-stage.sh"; then - ok 'native system update command and diagnostics use ReliefOS' - else - fail 'native system update command and diagnostics must use ReliefOS' - fi - if grep -Fq 'Project-Id-Version: ReliefOS musl locale' \ - "$root/configs/locale/zh_CN.po"; then - ok 'musl locale catalog identifies ReliefOS' - else - fail 'musl locale catalog project metadata must identify ReliefOS' - fi - if [ "$(sed -n '1p' "$root/system/rootfs/etc/motd")" = 'ReliefOS' ] && - [ "$(sed -n '1p' "$root/system/rootfs/etc/motd.zh_CN")" = '欢迎使用 ReliefOS' ]; then - ok 'English and Chinese MOTD headers use ReliefOS' - else - fail 'MOTD headers must use ReliefOS' - fi - - if grep -q 'info.kernel_name' "$root/userland/apps/osver/main.cpp"; then - ok 'version page renders the kernel-provided identity' - else - fail 'version page must render the kernel-provided identity' - fi - -} - -check_current_docs() { - if grep -qx '安装 ReliefOS' "$root/Documentation/admin-guide/installation.rst" && - grep -q 'Install ReliefOS (console session)' "$root/Documentation/admin-guide/installation.rst"; then - ok 'current installer guide uses ReliefOS' - else - fail 'current installer guide must use ReliefOS' - fi - if grep -q 'kernel/reliefnt/drivers/' "$root/Documentation/userspace-api/graphics.rst" && - ! grep -q 'kernel/ntclks/drivers/' "$root/Documentation/userspace-api/graphics.rst"; then - ok 'driver guide uses the ReliefNT submodule path' - else - fail 'driver guide must use kernel/reliefnt/drivers/' - fi - if grep -q 'about:reliefos' "$root/Documentation/applications/system-tools.rst"; then - ok 'browser guide documents the ReliefOS home URI' - else - fail 'browser guide must document about:reliefos' - fi -} - -# Layer 2: canonical guest paths and service names. -check_paths() { - if grep -qx 'kernel_name=ReliefNT' "$root/configs/build-version"; then - ok 'host version generator uses the ReliefNT identity' - else - fail 'host version generator must use the ReliefNT identity' - fi - if grep -Fq '/etc/reliefos/locale.conf' "$root/Kconfig"; then - ok 'product configuration describes the canonical locale path' - else - fail 'configuration menus must describe /etc/reliefos/locale.conf' - fi - if grep -qx 'provider_path=/usr/lib/reliefos/apps/oschinpt/oschinpt.elf' \ - "$root/tools/oschinpt-apk-post-install" && - grep -qx 'settings_path=/usr/lib/reliefos/apps/oschinpt/settings.ini' \ - "$root/tools/oschinpt-apk-post-install"; then - ok 'APK input method registration uses canonical application paths' - else - fail 'APK input method registration must use canonical application paths' - fi - if grep -Fq 'tools/test_dual_boot_qemu.py' "$root/scripts/test-smoke.sh" && - grep -Fq 'images / "reliefos.vmdk"' "$root/tools/test_dual_boot_qemu.py" && - grep -Fq 'f"reliefos-{medium}.iso"' "$root/tools/test_dual_boot_qemu.py"; then - ok 'VM smoke test consumes the canonical release artifact names' - else - fail 'VM smoke test must consume canonical release artifact names' - fi - if [ -f "$root/include/reliefos/layout.h" ]; then - ok 'include/reliefos/layout.h exists' - else - fail 'include/reliefos/layout.h is missing (canonical layout header)' - fi - if grep -q '"/etc/reliefos"' "$root/include/reliefos/layout.h" 2>/dev/null; then - ok 'layout.h declares /etc/reliefos' - else - fail 'include/reliefos/layout.h must declare /etc/reliefos' - fi - if ls "$root/system/rootfs/etc/init.d/reliefos-"* >/dev/null 2>&1; then - ok 'OpenRC services use the reliefos-* prefix' - else - fail 'system/rootfs/etc/init.d must contain reliefos-* services' - fi -} - -# Layer 3: canonical public headers and runtime library names. -check_headers_libs() { - if [ -d "$root/include/reliefos" ] && ls "$root/include/reliefos/"*.h >/dev/null 2>&1; then - ok 'include/reliefos/ holds the canonical public headers' - else - fail 'include/reliefos/ must hold the canonical public headers' - fi - if [ -d "$root/userland/runtime/include/reliefos" ]; then - ok 'runtime include/reliefos/ exists' - else - fail 'userland/runtime/include/reliefos/ is missing' - fi - if [ -f "$root/tools/reliefos_layout.py" ] && - grep -Fq 'from reliefos_layout import' "$root/tools/make_image.py"; then - ok 'host image tools import the canonical ReliefOS layout module' - else - fail 'host image tools must use tools/reliefos_layout.py' - fi - if grep -Eq 'LEONOS_(APPS|LIB|RUN|VAR_LIB)' \ - "$root/tools/make_installer_root.py"; then - fail 'host installer tools must use canonical ReliefOS layout constants' - else - ok 'host installer tools use canonical ReliefOS layout constants' - fi - if grep -rq 'libreliefos\.so\.2' "$root/scripts/reliefos" "$root/tools/build" 2>/dev/null; then - ok 'build graph produces libreliefos.so.2' - else - fail 'Kbuild integration and tools/build/ must produce libreliefos.so.2' - fi - if grep -q '^include/uapi/reliefos/' "$root/configs/header-export.list"; then - ok 'header export lists include/uapi/reliefos/' - else - fail 'configs/header-export.list must list include/uapi/reliefos/ headers' - fi -} - -# Layer 4: build product names. -check_artifacts() { - if grep -q 'reliefos\.vmdk' "$root/scripts/reliefos/Makefile.images" 2>/dev/null; then - ok 'images.mk produces reliefos.vmdk' - else - fail 'scripts/reliefos/Makefile.images must produce reliefos.vmdk' - fi - if grep -q 'reliefos-live\.iso' "$root/scripts/reliefos/Makefile.images" 2>/dev/null; then - ok 'images.mk produces reliefos-live.iso' - else - fail 'scripts/reliefos/Makefile.images must produce reliefos-live.iso' - fi - if grep -q 'reliefos-installer\.iso' "$root/scripts/reliefos/Makefile.images" 2>/dev/null; then - ok 'images.mk produces reliefos-installer.iso' - else - fail 'scripts/reliefos/Makefile.images must produce reliefos-installer.iso' - fi - if grep -rq 'reliefos-musl-sdk' "$root/scripts/reliefos" "$root/tools/build" 2>/dev/null; then - ok 'SDK archive is named reliefos-musl-sdk' - else - fail 'SDK archive must be named reliefos-musl-sdk' - fi -} - -# Allowlist lookup: scope + path must appear exactly once as columns 1 and 3. -hit_allowed() { - awk -F'\t' -v s="$1" -v p="$2" \ - '!/^#/ && $1==s && $3==p {found=1} END {exit found?0:1}' "$allowlist" -} - -# Audit one repository: tracked non-binary text hits and tracked filenames. -audit_repo() { - hit_scope=$1 - hit_dir=$2 - hits="$work/hits.$hit_scope" - [ -e "$hit_dir/.git" ] || return 0 - : > "$hits" - git -C "$hit_dir" grep -I -i -l -E 'leonos|ntclks' >> "$hits" 2>/dev/null || true - git -C "$hit_dir" ls-files | grep -Ei 'leonos|ntclks' >> "$hits" || true - sort -u "$hits" | while IFS= read -r hit_path; do - [ -n "$hit_path" ] || continue - # ls-files still includes unstaged deletions; they are no longer part - # of the source tree being verified. Audit remaining symlinks too. - [ -e "$hit_dir/$hit_path" ] || [ -L "$hit_dir/$hit_path" ] || continue - if ! hit_allowed "$hit_scope" "$hit_path"; then - printf 'FAIL - non-allowlisted old name in %s:%s (rename it or add a categorised entry to brand-allowlist.tsv)\n' \ - "$hit_scope" "$hit_path" - fi - done > "$work/audit.$hit_scope" - # The scan loop above must not hide failures behind the pipe: replay the - # report into the real counters now that we are back in the main shell. - if [ -s "$work/audit.$hit_scope" ]; then - cat "$work/audit.$hit_scope" - fails=$((fails + $(grep -c 'FAIL - ' "$work/audit.$hit_scope" || true))) - else - ok "old-name audit ($hit_scope): every hit is allowlisted" - fi - # Files with hits must be listed exactly once; duplicates are a data error. - dup=$(cut -f1,3 "$allowlist" 2>/dev/null | grep -v '^#' | sort | uniq -d || true) - if [ -n "$dup" ]; then - fail "allowlist has duplicate entries: $dup" - fi - return 0 -} - -check_appearance -check_visible_surfaces -check_current_docs -check_paths -check_headers_libs -check_artifacts - -if [ -f "$allowlist" ]; then - # Validate category vocabulary up front. - while IFS=' ' read -r a_scope a_cat a_path a_reason; do - case $a_scope in ''|'#'*) continue ;; esac - case $a_cat in - compatibility|history|external-url|attribution|migration) ;; - *) fail "allowlist invalid category '$a_cat' for $a_path" ;; - esac - done < "$allowlist" - audit_repo main "$root" -else - fail "missing $allowlist" -fi - -# Report allowlist entries still in the transitional 'migration' category. -migration_left=$(awk -F'\t' '!/^#/ && $2=="migration" {n++} END {print n+0}' "$allowlist") -if [ "$migration_left" -gt 0 ]; then - if [ "$strict" = 1 ]; then - fail "BRAND_STRICT: $migration_left allowlist entries still in 'migration' category" - else - todo "$migration_left allowlist entries still in 'migration' category (final review must clear)" - fi -fi - -if [ "$fails" -ne 0 ]; then - printf 'not ok - brand identity: %d assertion(s) failed\n' "$fails" - exit 1 -fi -printf 'brand identity: all gates passed\n' +bash -s -- "$root" "$work" <<'BASH' +set -euo pipefail +root=$1 +work=$2 +export RELIEFOS_SOURCE_ROOT=$root +pkgdir=$work/package +startdir=$root/packages/arch/reliefos-filesystem +srcdir=$startdir +mkdir -p "$pkgdir" +source "$startdir/PKGBUILD" +package +release=$pkgdir/usr/lib/reliefos/os-release +[[ $(readlink "$pkgdir/etc/os-release") == ../usr/lib/reliefos/os-release ]] +grep -qx 'NAME="ReliefOS"' "$release" +grep -qx 'PRETTY_NAME="ReliefOS"' "$release" +grep -qx 'ID=reliefos' "$release" +grep -qx 'ID_LIKE=arch' "$release" +grep -qx "VERSION_ID=$pkgver" "$release" +[[ " ${depends[*]} " == *' filesystem '* ]] +[[ " ${depends[*]} " == *' systemd '* ]] +test -f "$pkgdir/usr/lib/systemd/network/89-reliefos-wired.network" +test -f "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +BASH + +layout=$root/include/reliefos/layout.h +rootfs=$root/kernel/reliefnt/include/uapi/reliefos/rootfs.h +grep -Fq 'RELIEFOS_PATH_GLIBC_INTERP "/lib64/ld-linux-x86-64.so.2"' "$layout" +grep -Fq 'X("/bin", "usr/bin")' "$rootfs" +grep -Fq 'X("/lib", "usr/lib")' "$rootfs" +grep -Fq 'X("/usr/sbin", "bin")' "$rootfs" +grep -Fq 'menuentry "ReliefOS"' "$root/boot/grub/grub.cfg" +grep -Fq 'menuentry "Install ReliefOS"' "$root/boot/grub/arch-installer.cfg" +test -f "$root/packages/arch/reliefos-apps/PKGBUILD" +test -f "$root/packages/arch/reliefos-boot/PKGBUILD" +printf 'ReliefOS identity, merged-usr layout and package entry points passed\n' diff --git a/tests/build/test-busybox-links.sh b/tests/build/test-busybox-links.sh deleted file mode 100644 index 6a7cb46b..00000000 --- a/tests/build/test-busybox-links.sh +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -mkdir -p "$src/out/tmp" -work=$(TMPDIR="$src/out/tmp" mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/vendor/bin" "$work/vendor/sbin" "$work/vendor/usr/bin" "$work/inactive/usr/bin" -printf 'GNU dd\n' > "$work/vendor/bin/dd" -printf 'GNU coreutils yes\n' > "$work/vendor/usr/bin/yes" -printf 'util-linux mount\n' > "$work/vendor/bin/mount" -printf 'ncurses clear\n' > "$work/vendor/usr/bin/clear" -ln -s missing-target "$work/vendor/usr/bin/reset" -printf 'shadow passwd\n' > "$work/vendor/usr/bin/passwd" -printf 'not selected\n' > "$work/inactive/usr/bin/tree" -printf 't\t%s\t/\t0755\tvendor\tunique\n' "$work/vendor" > "$work/plan" -printf '%s\n' /bin/ash /bin/sh /bin/false /bin/ping /bin/ping6 /sbin/mount /usr/bin/dd /usr/bin/yes /usr/bin/clear /bin/reset /bin/passwd /usr/bin/tree /usr/bin/hexdump > "$work/links" - -# Exercise the link composer itself; the plan is the authority, including trees. -if sh "$src/tools/build/busybox-links.sh" "$work/plan" "$work/links" > "$work/generated"; then :; else - echo 'BusyBox link composer rejected valid fixture' >&2; exit 1 -fi -for name in mount dd yes clear reset passwd; do - if awk -F '\t' -v name="$name" '$5=="busybox" {n=split($3,a,"/"); if(a[n]==name) found=1} END {exit !found}' "$work/generated"; then - echo "BusyBox shadows another command provider: $name" >&2; exit 1 - fi -done -for spec in '/bin/ash busybox' '/bin/sh busybox' '/bin/false busybox' '/bin/ping busybox' '/bin/ping6 busybox' '/usr/bin/tree ../../bin/busybox' '/usr/bin/hexdump ../../bin/busybox'; do - set -- $spec - awk -F '\t' -v path="$1" -v target="$2" '$1=="l" && $2==target && $3==path && $5=="busybox" {found=1} END {exit !found}' "$work/generated" -done -for bad in /bin/../sbin/evil /bin/./evil /bin/subdir/evil /bin/busybox /outside/tool /bin/; do - printf '%s\n' "$bad" > "$work/bad-links" - if sh "$src/tools/build/busybox-links.sh" "$work/plan" "$work/bad-links" > "$work/rejected" 2>/dev/null; then - echo "BusyBox accepted unsafe link: $bad" >&2; exit 1 - fi - [ ! -s "$work/rejected" ] -done -printf '%s\n' /bin/ash /bin/ash > "$work/bad-links" -if sh "$src/tools/build/busybox-links.sh" "$work/plan" "$work/bad-links" > "$work/rejected" 2>/dev/null; then - echo 'BusyBox accepted duplicate links' >&2; exit 1 -fi -[ ! -s "$work/rejected" ] -# No other command provider is a valid plan, not an empty output condition. -: > "$work/empty-plan" -printf '%s\n' /bin/ash /usr/bin/tree > "$work/empty-links" -sh "$src/tools/build/busybox-links.sh" "$work/empty-plan" "$work/empty-links" > "$work/empty-generated" -[ "$(wc -l < "$work/empty-generated")" = 2 ] - -# busybox-check contract: the resolved profile is validated too, including the -# generated .config, because a suppressed link still leaves `busybox NAME` -# callable when the applet is compiled in. -for name in sh ash false ping ping6 df free top dmesg hexdump killall nc netstat \ - traceroute traceroute6 crond crontab mdev insmod lsmod modprobe rmmod depmod modinfo switch_root \ - unzip bunzip2 xz unxz cpio bzip2 bc dc tree timeout watch chroot setuidgid; do - printf '/bin/%s\n' "$name" -done > "$work/check-links" -printf '%s\n' 'CONFIG_FEATURE_MODUTILS_ALIAS=y' 'CONFIG_FEATURE_MODUTILS_SYMBOLS=y' \ - 'CONFIG_FEATURE_MODPROBE_BLACKLIST=y' 'CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS=y' > "$work/check-config" -sh "$src/tools/build/busybox-check.sh" "$work/check-config" "$work/check-links" > "$work/check-out" -grep -q 'ownership contract: PASS' "$work/check-out" -for spec in CONFIG_DD=y CONFIG_CLEAR=y CONFIG_START_STOP_DAEMON=y; do - printf '%s\n' "$spec" > "$work/check-bad-config" - if sh "$src/tools/build/busybox-check.sh" "$work/check-bad-config" "$work/check-links" > "$work/check-rejected" 2>&1; then - echo "busybox-check accepted enabled external applet: $spec" >&2; exit 1 - fi -done -cat "$work/check-config" > "$work/check-small-config" -printf '%s\n' CONFIG_MODPROBE_SMALL=y >> "$work/check-small-config" -if sh "$src/tools/build/busybox-check.sh" "$work/check-small-config" "$work/check-links" > "$work/check-rejected" 2>&1; then - echo 'busybox-check accepted modprobe without the standard dependency/config mechanism' >&2; exit 1 -fi -grep -v '^/bin/sh$' "$work/check-links" > "$work/check-no-sh" -if sh "$src/tools/build/busybox-check.sh" "$work/check-config" "$work/check-no-sh" > "$work/check-rejected" 2>&1; then - echo 'busybox-check accepted a profile without /bin/sh' >&2; exit 1 -fi -grep -v '^/bin/tree$' "$work/check-links" > "$work/check-no-tree" -if sh "$src/tools/build/busybox-check.sh" "$work/check-config" "$work/check-no-tree" > "$work/check-rejected" 2>&1; then - echo 'busybox-check accepted a profile without a required applet' >&2; exit 1 -fi -if sh "$src/tools/build/busybox-check.sh" "$work/check-config" "$work/links" > "$work/check-rejected" 2>&1; then - echo 'busybox-check accepted links owned by other providers' >&2; exit 1 -fi -printf '%s\n' 'busybox staging ownership and path checks: PASS' diff --git a/tests/build/test-busybox-profile.sh b/tests/build/test-busybox-profile.sh deleted file mode 100644 index cd6af10a..00000000 --- a/tests/build/test-busybox-profile.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -set -eu - -src=${1:-$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)} -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/source" "$work/build" -git -C "$src/third_party/busybox" archive HEAD | tar -xf - -C "$work/source" -for patch in "$src"/patches/busybox/*.patch; do - [ -e "$patch" ] || continue - patch -d "$work/source" -p1 < "$patch" -done -make -s -C "$work/source" O="$work/build" allnoconfig > "$work/config.log" 2>&1 -awk 'FNR==NR { - if ($0 ~ /^CONFIG_/) {split($0,a,"="); value[a[1]]=$0} - else if ($0 ~ /^# CONFIG_.* is not set$/) value[$2]=$0 - next -} -{key=$1; sub(/=.*/,"",key); if($1=="#") key=$2; - if(key in value) {print value[key]; delete value[key]} else print} -END {for(key in value) print value[key]}' \ - "$src/userland/busybox/leonos.config" "$work/build/.config" > "$work/build/.config.new" -mv "$work/build/.config.new" "$work/build/.config" -make -s -C "$work/source" O="$work/build" oldconfig > "$work/config.log" 2>&1 -make -s -C "$work/source" O="$work/build" HOSTCC="${HOSTCC:-cc}" busybox.links >> "$work/config.log" 2>&1 - -# Check actual applet output after Kconfig dependencies and choices are resolved. -sh "$src/tools/build/busybox-check.sh" "$work/build/.config" "$work/build/busybox.links" -printf '%s\n' 'busybox generated profile ownership contract: PASS' diff --git a/tests/build/test-ci.sh b/tests/build/test-ci.sh deleted file mode 100644 index a26c8bdc..00000000 --- a/tests/build/test-ci.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -exec python3 -m unittest discover -s "$src/tools/tests" -p 'test_ci*.py' -v diff --git a/tests/build/test-clipboard.sh b/tests/build/test-clipboard.sh index 559f3526..0425f66b 100644 --- a/tests/build/test-clipboard.sh +++ b/tests/build/test-clipboard.sh @@ -14,7 +14,8 @@ ${HOSTCXX:-c++} -std=c++17 -D_GNU_SOURCE -Wall -Wextra -Werror \ -fno-exceptions -fno-rtti -fsanitize=address,undefined -fno-sanitize-recover=all \ -I"$src/userland/apps" "$src/tests/host/test_clipboard.cpp" \ "$src/userland/apps/clipboard/data.cpp" "$src/userland/apps/clipboard/history.cpp" \ - "$src/userland/apps/clipboard/selection.cpp" "$src/userland/apps/clipboard/manager.cpp" -lX11 -o "$work/test" + "$src/userland/apps/clipboard/image_payload.cpp" "$src/userland/apps/clipboard/selection.cpp" \ + "$src/userland/apps/clipboard/manager.cpp" -lX11 -lpng -o "$work/test" unset DISPLAY if command -v Xvfb >/dev/null 2>&1; then Xvfb -displayfd 3 -screen 0 800x600x24 -nolisten tcp 3>"$work/display" >"$work/xvfb.log" 2>&1 & diff --git a/tests/build/test-components-metadata.sh b/tests/build/test-components-metadata.sh deleted file mode 100644 index b613b03a..00000000 --- a/tests/build/test-components-metadata.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -w=$(mktemp -d); trap 'rm -rf "$w"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror -I"$src" "$src/tools/host/manifest/reliefos-components.c" "$src/tools/host/common/io.c" "$src/tools/host/common/buffer.c" -o "$w/components" -printf 'CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_BUILD=y\n# CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_IMAGE is not set\n# CONFIG_RELIEFOS_COMPONENT_APP_FILEMAN_IMAGE is not set\n' > "$w/config" -"$w/components" --input "$src/configs/components.toml" --config "$w/config" --output "$w/mk" --metadata "$w/tsv" --selection "$w/json" -awk -F '\t' '$1=="memtest" {if($3!=1 || $4!=0 || $5!=0) exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -awk -F '\t' '$1=="installer" {if($3!=1)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -awk -F '\t' '$1=="reliefmath" {if($3!=1 || $4!=1 || $5!=1 || $8!="ReliefMath" || $9!="Office applications" || $10!=".rmath" || $11!=1)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -awk -F '\t' '$1=="reliefmathpp" {if($3!=1 || $4!=1 || $5!=1 || $8!="ReliefMath++" || $9!="Office applications" || $10!=".rmathpp" || $11!=1)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -grep -q '"schema_version":1' "$w/json" -awk -F '\t' '$1=="linuxuname" {if($3!=1 || $4!=1 || $5!=0)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -awk -F '\t' '$1=="reliefdiagram" {if($3!=1 || $4!=1 || $5!=1 || $8!="ReliefDiagram" || $9!="Office applications" || $10!=".rdiagram" || $11!=1)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -printf 'component metadata: independent image selection and required policy passed\n' -printf '# CONFIG_RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_IMAGE is not set\n' > "$w/diagram-config" -"$w/components" --input "$src/configs/components.toml" --config "$w/diagram-config" --output "$w/diagram-mk" --metadata "$w/diagram-tsv" -awk -F '\t' '$1=="reliefdiagram" {if($3!=1 || $4!=0 || $5!=0)exit 1;found=1} END{if(!found)exit 1}' "$w/diagram-tsv" -printf '# CONFIG_RELIEFOS_COMPONENT_APP_RELIEFDIAGRAM_BUILD is not set\n' > "$w/diagram-config" -"$w/components" --input "$src/configs/components.toml" --config "$w/diagram-config" --output "$w/diagram-mk" --metadata "$w/diagram-tsv" -awk -F '\t' '$1=="reliefdiagram" {if($3!=0 || $4!=0 || $5!=0)exit 1;found=1} END{if(!found)exit 1}' "$w/diagram-tsv" -awk -F '\t' '$1=="reliefplayer" {if($3!=1 || $4!=1 || $5!=1 || $8!="ReliefPlayer" || $9!="Network and multimedia" || $10!=".mp3,.wav,.mp4" || $11!=1)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -printf '# CONFIG_RELIEFOS_COMPONENT_APP_RELIEFPLAYER_IMAGE is not set\n' > "$w/player-config" -"$w/components" --input "$src/configs/components.toml" --config "$w/player-config" --output "$w/player-mk" --metadata "$w/player-tsv" -awk -F '\t' '$1=="reliefplayer" {if($3!=1 || $4!=0 || $5!=0)exit 1;found=1} END{if(!found)exit 1}' "$w/player-tsv" -awk -F '\t' '$1=="reliefcapture" {if($3!=1 || $4!=1 || $5!=1 || $8!="ReliefCapture" || $9!="Desktop applications" || $10!="" || $11!=0)exit 1;found=1} END{if(!found)exit 1}' "$w/tsv" -printf '# CONFIG_RELIEFOS_COMPONENT_APP_RELIEFCAPTURE_IMAGE is not set\n' > "$w/capture-config" -"$w/components" --input "$src/configs/components.toml" --config "$w/capture-config" --output "$w/capture-mk" --metadata "$w/capture-tsv" -awk -F '\t' '$1=="reliefcapture" {if($3!=1 || $4!=0 || $5!=0)exit 1;found=1} END{if(!found)exit 1}' "$w/capture-tsv" diff --git a/tests/build/test-components.sh b/tests/build/test-components.sh deleted file mode 100644 index 08aee2d8..00000000 --- a/tests/build/test-components.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT HUP INT TERM -cc=${HOSTCC:-cc} -$cc -std=c11 -Wall -Wextra -Wpedantic -Werror -Wformat=2 -Wshadow -Wstrict-prototypes -Wmissing-prototypes -I"$root" "$root/tools/host/manifest/reliefos-components.c" "$root/tools/host/common/buffer.c" "$root/tools/host/common/io.c" -o "$tmp/parser" -printf '# CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_BUILD is not set\nCONFIG_RELIEFOS_COMPONENT_APP_INSTALLER_BUILD=n\n' > "$tmp/config" -"$tmp/parser" --input "$root/configs/components.toml" --config "$tmp/config" --output "$tmp/out" --metadata "$tmp/metadata" -grep '^RELIEFOS_COMPONENTS_DISABLED :=.* memtest ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* installer ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* reliefexcel ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* reliefword ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* reliefppt ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* reliefmath ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* reliefapk ' "$tmp/out" -grep '^RELIEFOS_COMPONENT_APPS :=.* driverinfo ' "$tmp/out" -awk -F '\t' '$1=="reliefexcel" && $2=="program-app" && $3==1 && $4==1 && $5==1 && $8=="ReliefExcel" && $9=="Office applications" && $10==".rexl,.csv" && $11==1 { found=1 } END { exit !found }' "$tmp/metadata" -awk -F '\t' '$1=="reliefword" && $2=="program-app" && $3==1 && $4==1 && $5==1 && $8=="ReliefWord" && $9=="Office applications" && $10==".rword,.txt,.html,.htm" && $11==1 { found=1 } END { exit !found }' "$tmp/metadata" -awk -F '\t' '$1=="reliefppt" && $2=="program-app" && $3==1 && $4==1 && $5==1 && $8=="ReliefPPT" && $9=="Office applications" && $10==".rppt" && $11==1 { found=1 } END { exit !found }' "$tmp/metadata" -awk -F '\t' '$1=="reliefmath" && $2=="program-app" && $3==1 && $4==1 && $5==1 && $8=="ReliefMath" && $9=="Office applications" && $10==".rmath" && $11==1 { found=1 } END { exit !found }' "$tmp/metadata" - -cp "$tmp/out" "$tmp/before" -"$tmp/parser" --input "$root/configs/components.toml" --config "$tmp/config" --output "$tmp/out" -cmp "$tmp/out" "$tmp/before" -if grep -E '^RELIEFOS_COMPONENT_(APPS|ENTRY_APPS) :=.*(^|[[:space:]])ping([[:space:]]|$)' "$tmp/out"; then - echo 'standalone network command was included as an application' >&2 - exit 1 -fi -printf 'version = 1\n[[components]]\nid = "../escape"\n' > "$tmp/bad" -if "$tmp/parser" --input "$tmp/bad" --config "$tmp/config" --output "$tmp/out"; then exit 1; fi -cmp "$tmp/out" "$tmp/before" -printf 'version = 1\n[[components]]\nid = "unterminated\n' > "$tmp/bad" -if "$tmp/parser" --input "$tmp/bad" --config "$tmp/config" --output "$tmp/out"; then exit 1; fi -printf 'component parser tests passed\n' -# Dependency closure wins over explicit disabled dependencies. -printf 'CONFIG_RELIEFOS_COMPONENT_APP_RELIEFMAIL_BUILD=y\nCONFIG_RELIEFOS_COMPONENT_LIB_SQLITE_BUILD=n\n' > "$tmp/config" -"$tmp/parser" --input "$root/configs/components.toml" --config "$tmp/config" --output "$tmp/out" -grep '^RELIEFOS_COMPONENTS_ENABLED :=.* sqlite ' "$tmp/out" >/dev/null -cat > "$tmp/bad" <<'DATA' -version = 1 -[[components]] -id = "a" -symbol = "A" -kind = "program-app" -default = true -required = false -depends = ["b"] -[[components]] -id = "b" -symbol = "B" -kind = "program-app" -default = false -required = false -depends = ["a"] -DATA -if "$tmp/parser" --input "$tmp/bad" --config "$tmp/config" --output "$tmp/out"; then exit 1; fi diff --git a/tests/build/test-concurrency.sh b/tests/build/test-concurrency.sh deleted file mode 100644 index bd85dbe2..00000000 --- a/tests/build/test-concurrency.sh +++ /dev/null @@ -1,224 +0,0 @@ -#!/bin/sh -# Concurrency contract: acceptance row A09 of the migration plan, and the -# same-output-directory rule of section 6.3. -# -# The assertions are about outcomes a user can observe: who is allowed to write, -# what the refused build says, and whether the build that was allowed to run -# produced a complete, unharmed output tree. Nothing here trusts the lock file's -# mere existence. -set -u - -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-concurrency.XXXXXX") || exit 1 -failures=0 -checks=0 - -cleanup() { - kill $held_pids 2>/dev/null - if [ -z "${KEEP_WORK:-}" ]; then - rm -rf "$work" - fi -} -trap cleanup EXIT INT TERM -held_pids='' - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then - shift - printf ' %s\n' "$@" - fi -} - -expect_ok() { - if [ "$1" -eq 0 ]; then pass "$2"; else fail "$2" "exit status $1"; fi -} - -# The older make must already own the output directory when the contender and -# read-only invocations start. A fixture prerequisite holds it at an observable -# ready point until all three read-only checks have finished. -same_o="$work/same" -other_a="$work/different-a" -other_b="$work/different-b" - -printf '=== A09: two top-level makes on one output directory ===\n' -# Inspection requires an initialized configuration. Slow host-tool compilation -# must not turn this lock test into an unrelated missing-.config failure. -if make -s O="$same_o" defconfig >"$work/setup.log" 2>&1; then - pass 'the shared output configuration is ready for inspection' -else - fail 'the shared output configuration is ready for inspection' - tail -n 15 "$work/setup.log" | sed 's/^/ | /' - exit 1 -fi - -mkfifo "$work/owner-release" || exit 1 -# Opening both ends prevents the release write from blocking if the owner -# exits unexpectedly; the ready wait below still reports that as a failure. -exec 3<>"$work/owner-release" -cat >"$work/owner-gate.mk" <"$work/owner.log" 2>&1 & -owner_pid=$! -held_pids="$held_pids $owner_pid" -ready_polls=0 -while [ ! -f "$work/owner-ready" ]; do - ready_polls=$((ready_polls + 1)) - if ! kill -0 "$owner_pid" 2>/dev/null || [ "$ready_polls" -ge 600 ]; then - fail 'the older make reaches its ready point while holding the lock' - tail -n 15 "$work/owner.log" | sed 's/^/ | /' - exit 1 - fi - sleep .05 -done - -make -s O="$same_o" kernel >"$work/contender.log" 2>&1 & -contender_pid=$! -held_pids="$held_pids $contender_pid" - -# Goals that write nothing must stay available while the lock is held. -make -s O="$same_o" -n kernel >"$work/dryrun.log" 2>&1 -dryrun_status=$? -make -s O="$same_o" help >"$work/help.log" 2>&1 -help_status=$? -make -s O="$same_o" doctor >"$work/doctor.log" 2>&1 -doctor_status=$? - -wait "$contender_pid"; contender_status=$? -printf 'release\n' >&3 -exec 3>&- -wait "$owner_pid"; owner_status=$? - -if [ "$owner_status" -eq 0 ]; then - pass 'the older make completes the build' -else - fail 'the older make completes the build' "exit status $owner_status" - tail -n 15 "$work/owner.log" | sed 's/^/ | /' -fi - -if [ "$contender_status" -ne 0 ]; then - pass 'the newer make on the same output directory is refused' -else - fail 'the newer make on the same output directory is refused' \ - 'it exited 0, so both processes wrote the same tree' -fi -if grep -q 'refusing to build' "$work/contender.log"; then - pass 'the refused build names its owner and says what to do' - grep -E 'owner:|output directory' "$work/contender.log" | sed 's/^/ | /' -else - fail 'the refused build names its owner and says what to do' \ - "$(head -c 200 "$work/contender.log")" -fi - -# The refusal must not leave a half-written tree behind, and the winner must not -# have been disturbed by the loser parsing the same makefiles. -archive="$same_o/reliefnt/built-in.a" -llvm-ar t "$archive" > "$work/archive-members" -listed=$(wc -l < "$work/archive-members") -owner_objects=0 -while IFS= read -r member; do - [ ! -s "$member" ] || owner_objects=$((owner_objects + 1)) -done < "$work/archive-members" -if [ "$owner_objects" = "$listed" ] && [ "$owner_objects" -gt 50 ]; then - pass "the winning build has every manifest source as an object ($owner_objects)" -else - fail 'the winning build has every manifest source as an object' \ - "objects=$owner_objects manifest=$listed" -fi -if [ -s "$same_o/generated/system/kernel.sys" ]; then - pass 'the winning build leaves a non-empty kernel image' -else - fail 'the winning build leaves a non-empty kernel image' 'kernel.sys missing or empty' -fi - -expect_ok "$dryrun_status" 'make -n is exempt from the lock' -expect_ok "$help_status" 'make help is exempt from the lock' -expect_ok "$doctor_status" 'make doctor is exempt from the lock' - -printf '\n=== A09: the finished build releases the directory ===\n' -# There is no Make exit hook, so a record outlives its process on purpose and -# liveness is what releases it. The next build must prune it, not refuse. -make -s O="$same_o" kernel >"$work/after.log" 2>&1 -after_status=$? -expect_ok "$after_status" 'the next make on the same directory runs once the owner is gone' -if grep -q 'refusing to build' "$work/after.log"; then - fail 'the next make must not see a stale record' 'it refused instead' -else - pass 'the next make must not see a stale record' -fi - -printf '\n=== A09: two different output directories build concurrently ===\n' -make -s O="$other_a" kernel >"$work/a.log" 2>&1 & -a_pid=$! -held_pids="$held_pids $a_pid" -make -s O="$other_b" kernel >"$work/b.log" 2>&1 & -b_pid=$! -held_pids="$held_pids $b_pid" -wait "$a_pid"; a_status=$? -wait "$b_pid"; b_status=$? -expect_ok "$a_status" 'the first output directory builds' -expect_ok "$b_status" 'the second output directory builds' -for tree in "$other_a" "$other_b"; do - name=$(basename "$tree") - if [ -s "$tree/generated/system/kernel.sys" ]; then - pass "$name has its own kernel image" - else - fail "$name has its own kernel image" 'missing or empty' - fi - # Follow the native archive rather than assuming a kernel source layout. - # Every object must belong to this O, and its recorded command must use - # this O's generated headers. A moved source cannot make this a false fail. - llvm-ar t "$tree/reliefnt/built-in.a" > "$work/$name-members" - records_ok=1 - source_records=0 - while IFS= read -r member; do - case $member in "$tree/reliefnt/"*) ;; *) records_ok=0; break ;; esac - record="${member%/*}/.${member##*/}.cmd" - if [ ! -s "$member" ] || [ ! -s "$record" ]; then - records_ok=0 - break - fi - # A composite has a link record; only compilation records use headers. - if grep -q '^source_' "$record"; then - source_records=$((source_records + 1)) - if ! grep -qF -- "$tree/reliefnt/include" "$record"; then - records_ok=0 - break - fi - fi - done < "$work/$name-members" - if [ "$records_ok" -eq 1 ] && [ "$source_records" -gt 50 ]; then - pass "$name's native command record points at $name" - else - fail "$name's native command record points at $name" \ - 'the native command references another tree: outputs were crossed' - fi -done - -printf '\n=== A09: recursive make inherits the lock instead of re-acquiring ===\n' -# defconfig recurses into $(MAKE) for the generated config; if a nested make -# re-acquired, this would refuse itself and deadlock or fail. -make -s O="$other_a" defconfig >"$work/defconfig.log" 2>&1 -nested_status=$? -expect_ok "$nested_status" 'a nested make does not refuse its own outer build' -if grep -q 'refusing to build' "$work/defconfig.log"; then - fail 'a nested make does not refuse its own outer build' \ - "$(head -c 200 "$work/defconfig.log")" -fi - -printf '\n%s: %d checks, %d failures\n' 'test-concurrency' "$checks" "$failures" -[ "$failures" -eq 0 ] || exit 1 -exit 0 diff --git a/tests/build/test-config-first-build.sh b/tests/build/test-config-first-build.sh deleted file mode 100644 index bd64aca6..00000000 --- a/tests/build/test-config-first-build.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# The first real product must see native CONFIG values before its recipe runs. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT HUP INT TERM -make -s -C "$src" O="$w/out" generated/config/display.conf -[ -s "$w/out/.config" ] -[ -s "$w/out/include/config/auto.conf" ] -[ -s "$w/out/include/generated/autoconf.h" ] -grep -qx 'CONFIG_VMDK_DEFAULT_LANG=zh_CN.UTF-8' "$w/out/include/config/auto.conf" -grep -qx 'theme=metro' "$w/out/generated/config/display.conf" -printf 'first build: native configuration available to product rules passed\n' diff --git a/tests/build/test-config-groups.sh b/tests/build/test-config-groups.sh deleted file mode 100644 index ed50dab3..00000000 --- a/tests/build/test-config-groups.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh -# Exercise native syncconfig, parallel consumers, missing-member repair. -set -eu -repo=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT HUP INT TERM -make -s -C "$repo" O="$w/out" defconfig -# defconfig creates native Kconfig files, but product inspection needs the -# separately generated component selection as well. Refuse an incomplete graph -# without touching the output tree under any inspection mode. -test ! -e "$w/out/config/components.mk" -find "$w/out" -printf '%y %P %T@\n' | LC_ALL=C sort > "$w/defconfig.before" -for goal in userland all; do - if make -s -n -C "$repo" O="$w/out" "$goal" >"$w/dry-$goal.log" 2>&1; then - echo "make -n $goal accepted a missing component selection" >&2 - exit 1 - fi - grep -Fq 'config-sync' "$w/dry-$goal.log" - find "$w/out" -printf '%y %P %T@\n' | LC_ALL=C sort > "$w/defconfig.after" - cmp "$w/defconfig.before" "$w/defconfig.after" -done -if make -s -q -C "$repo" O="$w/out" all >"$w/query.log" 2>&1; then - echo 'make -q all accepted a missing component selection' >&2 - exit 1 -else - status=$? -fi -[ "$status" -eq 2 ] -grep -Fq 'config-sync' "$w/query.log" -find "$w/out" -printf '%y %P %T@\n' | LC_ALL=C sort > "$w/defconfig.after" -cmp "$w/defconfig.before" "$w/defconfig.after" -make -s -j8 -C "$repo" O="$w/out" config-sync -for path in .config include/config/auto.conf include/config/auto.conf.cmd include/generated/autoconf.h config/components.mk; do - test -s "$w/out/$path" -done -cp "$w/out/include/generated/autoconf.h" "$w/native.before" -rm "$w/out/include/generated/autoconf.h" -make -s -j8 -C "$repo" O="$w/out" config-sync -cmp "$w/native.before" "$w/out/include/generated/autoconf.h" -# -n and -q are inspections; even missing native object directories stay absent. -rm -rf "$w/out/tools" -find "$w/out" -printf '%y %P %T@\n' | LC_ALL=C sort > "$w/before" -make -s -n -C "$repo" O="$w/out" tools > "$w/dry.log" -if make -s -q -C "$repo" O="$w/out" tools > "$w/query.log" 2>&1; then status=0; else status=$?; fi -[ "$status" -le 1 ] -find "$w/out" -printf '%y %P %T@\n' | LC_ALL=C sort > "$w/after" -cmp "$w/before" "$w/after" -# clean keeps the selected config, distclean removes it, both preserve unknown files. -cp "$w/out/.config" "$w/selected" -touch "$w/out/user-owned-image.vmdk" -make -s -C "$repo" O="$w/out" clean -cmp "$w/selected" "$w/out/.config" -test -f "$w/out/user-owned-image.vmdk" -test ! -e "$w/out/scripts" -make -s -C "$repo" O="$w/out" distclean -test ! -e "$w/out/.config" -test -f "$w/out/user-owned-image.vmdk" -printf 'native config: parallel consumers, repair and inspection passed\n' diff --git a/tests/build/test-config-migrate.sh b/tests/build/test-config-migrate.sh deleted file mode 100644 index 8945d1aa..00000000 --- a/tests/build/test-config-migrate.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT HUP INT TERM - -python3 "$root/tools/generate_component_kconfig.py" \ - --output "$tmp/Kconfig.components" -cmp "$root/Kconfig.components" "$tmp/Kconfig.components" -if grep -q '^config LEON_COMPONENT_' "$tmp/Kconfig.components"; then - echo 'generated Kconfig still contains old component symbols' >&2 - exit 1 -fi -if grep -E '^[[:space:]]*(config|select|depends on)[[:space:]]+LEON_COMPONENT_' \ - "$root/Kconfig" "$root/Kconfig.components"; then - echo 'Kconfig contains a dangling old component symbol' >&2 - exit 1 -fi - -old="$tmp/old.config" -new="$tmp/new.config" -cat > "$old" <<'CONFIG' -CONFIG_LEON_COMPONENT_APP_MEMTEST_BUILD=y -# CONFIG_LEON_COMPONENT_APP_FILEMAN_IMAGE is not set -CONFIG_VMDK_DEFAULT_LANG="zh_CN.UTF-8" -CONFIG -cp "$old" "$tmp/old.before" - -sh "$root/tools/build/reliefos-config-migrate.sh" "$old" "$new" -grep -qx 'CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_BUILD=y' "$new" -grep -qx '# CONFIG_RELIEFOS_COMPONENT_APP_FILEMAN_IMAGE is not set' "$new" -grep -qx 'CONFIG_VMDK_DEFAULT_LANG="zh_CN.UTF-8"' "$new" -if grep -q 'CONFIG_LEON_COMPONENT_' "$new"; then - echo 'old component symbols remain in migrated output' >&2 - exit 1 -fi -cmp "$old" "$tmp/old.before" - -cat > "$tmp/conflict.config" <<'CONFIG' -CONFIG_LEON_COMPONENT_APP_MEMTEST_BUILD=y -# CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_BUILD is not set -CONFIG -if sh "$root/tools/build/reliefos-config-migrate.sh" \ - "$tmp/conflict.config" "$tmp/conflict.out"; then - echo 'conflicting old and new symbols were accepted' >&2 - exit 1 -fi -[ ! -e "$tmp/conflict.out" ] - -mkdir -p "$tmp/existing" -cp "$old" "$tmp/existing/.config" -make -s -C "$root" O="$tmp/existing" migrate-config -cmp "$old" "$tmp/existing/.config.leonos.bak" -grep -qx 'CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_BUILD=y' \ - "$tmp/existing/.config" -if grep -q 'CONFIG_LEON_COMPONENT_' "$tmp/existing/.config"; then - echo 'old component symbols remain in explicitly migrated O config' >&2 - exit 1 -fi - -make -s -C "$root" O="$tmp/new-output" defconfig -grep -q '^CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_BUILD=y$' \ - "$tmp/new-output/.config" -if grep -q '^CONFIG_LEON_COMPONENT_' "$tmp/new-output/.config"; then - echo 'generated default config still contains old component symbols' >&2 - exit 1 -fi -printf 'config migration and ReliefOS component symbol tests passed\n' diff --git a/tests/build/test-coreutils-links.sh b/tests/build/test-coreutils-links.sh deleted file mode 100644 index 14bb4f7e..00000000 --- a/tests/build/test-coreutils-links.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# Exercise command routing across the non-usr-merge executable directories. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -mkdir -p "$src/out/tmp" -work=$(TMPDIR="$src/out/tmp" mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/gnu/usr/bin" "$work/vendor/usr/bin" -printf '#!/bin/sh\nprintf "GNU fixture\\n"\n' > "$work/gnu/usr/bin/coreutils" -chmod 755 "$work/gnu/usr/bin/coreutils" -for name in cat cp chroot false '['; do - ln -s coreutils "$work/gnu/usr/bin/$name" -done -printf '#!/bin/sh\nexit 0\n' > "$work/vendor/usr/bin/find" -printf 't\t%s\t/\t0755\tcoreutils\tunique\n' "$work/gnu" > "$work/plan" -printf 't\t%s\t/\t0755\tfindutils\tunique\n' "$work/vendor" >> "$work/plan" -printf '%s\n' /bin/cat /bin/cp /usr/sbin/chroot /bin/false '/usr/bin/[' \ - /usr/bin/find /bin/ash /bin/sh /usr/bin/tree > "$work/links" -sh "$src/tools/build/busybox-links.sh" "$work/plan" "$work/links" > "$work/generated" -for spec in 'cat ../usr/bin/cat' 'cp ../usr/bin/cp' 'false ../usr/bin/false'; do - set -- $spec - awk -F '\t' -v guest="/bin/$1" -v target="$2" \ - '$1=="l" && $2==target && $3==guest && $5=="coreutils" {ok=1} END{exit !ok}' "$work/generated" || { - echo "FAIL - missing GNU compatibility command: /bin/$1" >&2; exit 1; - } -done -awk -F '\t' '$1=="l" && $2=="../bin/chroot" && $3=="/usr/sbin/chroot" && $5=="coreutils" {ok=1} END{exit !ok}' "$work/generated" -if awk -F '\t' '$5=="busybox" && $3 ~ /\/(cat|cp|chroot|false|find)$/ {bad=1} END{exit !bad}' "$work/generated"; then - echo 'FAIL - BusyBox shadows a selected GNU command' >&2; exit 1 -fi -for path in '/usr/bin/[' /usr/bin/find; do - if awk -F '\t' -v path="$path" '$3==path {found=1} END{exit !found}' "$work/generated"; then - echo "FAIL - existing command was emitted twice: $path" >&2; exit 1 - fi -done -for path in /bin/ash /bin/sh /usr/bin/tree; do - awk -F '\t' -v path="$path" '$3==path && $5=="busybox" {ok=1} END{exit !ok}' "$work/generated" -done -# A direct file rule claims a GNU command in the same way as a source tree. -printf 'f\t%s\t/usr/bin/cat\t0755\tcoreutils\tunique\n' "$work/gnu/usr/bin/coreutils" > "$work/direct-plan" -printf '%s\n' /bin/cat > "$work/direct-links" -sh "$src/tools/build/busybox-links.sh" "$work/direct-plan" "$work/direct-links" > "$work/direct-generated" -awk -F '\t' '$2=="../usr/bin/cat" && $3=="/bin/cat" && $5=="coreutils" {ok=1} END{exit !ok}' "$work/direct-generated" -printf '%s\n' 'GNU/BusyBox command routing and compatibility paths: PASS' diff --git a/tests/build/test-coreutils-stage.sh b/tests/build/test-coreutils-stage.sh deleted file mode 100644 index 98e56b3a..00000000 --- a/tests/build/test-coreutils-stage.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# Reject an incomplete or incorrectly routed GNU multi-call installation. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -mkdir -p "$src/out/tmp" -work=$(TMPDIR="$src/out/tmp" mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/root/usr/bin" "$work/root/usr/libexec/coreutils" -printf '%s\n' cat coreutils false stdbuf > "$work/programs" -printf '%s\n' cat coreutils false libstdbuf.so stdbuf > "$work/upstream" -printf '#!/bin/sh\nexit 0\n' > "$work/root/usr/bin/coreutils" -chmod 755 "$work/root/usr/bin/coreutils" -for name in cat false stdbuf; do ln -s coreutils "$work/root/usr/bin/$name"; done -printf 'target preload library\n' > "$work/root/usr/libexec/coreutils/libstdbuf.so" -check() { sh "$src/tools/build/coreutils-check.sh" "$work/root" "$work/programs" "$work/upstream"; } -if ! check > "$work/report" 2>&1; then - cat "$work/report" >&2 - echo 'FAIL - complete GNU installation rejected' >&2; exit 1 -fi -rm "$work/root/usr/bin/cat" -if check > "$work/report" 2>&1; then echo 'FAIL - missing GNU command accepted' >&2; exit 1; fi -ln -s busybox "$work/root/usr/bin/cat" -if check > "$work/report" 2>&1; then echo 'FAIL - BusyBox command target accepted' >&2; exit 1; fi -rm "$work/root/usr/bin/cat"; ln -s coreutils "$work/root/usr/bin/cat" -chmod 644 "$work/root/usr/bin/coreutils" -if check > "$work/report" 2>&1; then echo 'FAIL - non-executable GNU dispatcher accepted' >&2; exit 1; fi -chmod 755 "$work/root/usr/bin/coreutils" -rm "$work/root/usr/libexec/coreutils/libstdbuf.so" -if check > "$work/report" 2>&1; then echo 'FAIL - missing stdbuf helper accepted' >&2; exit 1; fi -printf 'target preload library\n' > "$work/root/usr/libexec/coreutils/libstdbuf.so" -printf '%s\n' cat coreutils false stdbuf tail libstdbuf.so > "$work/upstream" -if check > "$work/report" 2>&1; then echo 'FAIL - omitted upstream command accepted' >&2; exit 1; fi -printf '%s\n' cat coreutils false libstdbuf.so stdbuf > "$work/upstream" -printf '%s\n' cat coreutils false stdbuf cat > "$work/programs" -if check > "$work/report" 2>&1; then echo 'FAIL - duplicate GNU command accepted' >&2; exit 1; fi -printf '%s\n' cat coreutils false stdbuf '../escape' > "$work/programs" -if check > "$work/report" 2>&1; then echo 'FAIL - unsafe GNU command accepted' >&2; exit 1; fi -printf '%s\n' 'GNU coreutils complete staged installation checks: PASS' diff --git a/tests/build/test-deps.sh b/tests/build/test-deps.sh deleted file mode 100755 index 264957a2..00000000 --- a/tests/build/test-deps.sh +++ /dev/null @@ -1,255 +0,0 @@ -#!/bin/sh -# Contract tests for reliefos-deps, the reader of configs/dependencies.lock.json. -# -# The lock file decides which upstream source gets built and which digest is -# accepted, so these checks cover the tool's promises: what it validates, what -# it refuses, and what it prints for `make fetch`. The JSON reader itself is -# unit-tested in tests/host/test_json.c. -set -u - -# The tool reports lock order as byte order; sort(1) collation must not depend -# on the caller's locale for the comparison to mean anything. -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -deps=${RELIEFOS_DEPS:-${LEONOS_DEPS:?set by scripts/reliefos/Makefile.tests}} -lock=${RELIEFOS_LOCK:-${LEONOS_LOCK:-configs/dependencies.lock.json}} - -failures=0 -checks=0 -work=./reliefos-deps-contract.$$ - -cleanup() { rm -rf "$work"; } -trap 'cleanup; exit 130' INT -trap 'cleanup; exit 143' TERM - -check() { - description=$1 - shift - checks=$((checks + 1)) - if "$@" >/dev/null 2>&1; then - printf 'ok - %s\n' "$description" - else - printf 'FAIL - %s\n' "$description" - failures=$((failures + 1)) - fi -} - -expect_failure() { - description=$1 - shift - checks=$((checks + 1)) - if "$@" >/dev/null 2>&1; then - printf 'FAIL - %s (expected a non-zero exit)\n' "$description" - failures=$((failures + 1)) - else - printf 'ok - %s\n' "$description" - fi -} - -expect_output_is() { - description=$1 - expected=$2 - shift 2 - checks=$((checks + 1)) - actual=$("$@" 2>/dev/null) - if [ "$actual" = "$expected" ]; then - printf 'ok - %s\n' "$description" - else - printf 'FAIL - %s\n' "$description" - printf ' expected: %s\n' "$expected" - printf ' actual: %s\n' "$actual" - failures=$((failures + 1)) - fi -} - -# entry writes one dependency object into a minimal document so a single -# field can be varied per fixture. -entry_lock() { - printf '{ "schema_version": 1, "dependencies": [ %s ] }\n' "$1" >"$work/lock.json" - printf '%s' "$work/lock.json" -} - -mkdir -p "$work" || exit 1 -[ -x "$deps" ] || { printf 'FAIL - %s is missing; run make tools\n' "$deps" >&2; exit 1; } - -# --- the shipped lock file --------------------------------------------------- -check 'the shipped lock file validates' "$deps" --lock "$lock" --check - -ids=$("$deps" --lock "$lock" --list 2>/dev/null) -checks=$((checks + 1)) -if [ -z "$ids" ]; then - printf 'FAIL - --list must print at least one id\n' - failures=$((failures + 1)) -else - printf 'ok - --list prints ids\n' -fi -checks=$((checks + 1)) -if printf '%s\n' "$ids" | grep -q '^musl$'; then - printf 'ok - --list contains the musl submodule\n' -else - printf 'FAIL - --list must contain musl\n' - failures=$((failures + 1)) -fi -checks=$((checks + 1)) -if [ "$(printf '%s\n' "$ids" | sort)" = "$ids" ]; then - printf 'ok - --list output is sorted\n' -else - printf 'FAIL - --list output must be sorted\n' - failures=$((failures + 1)) -fi - -# --- field queries ------------------------------------------------------------ -expect_output_is 'a submodule reports its pinned commit' 9fa28ece75d8a2191de7c5bb53bed224c5947417 \ - "$deps" --lock "$lock" --id musl --print commit -expect_output_is 'a tarball reports its digest' \ - 102bbdfd934776c12c6d83743a31ec648f8c2f1ddfa1832b6e13b6efd09412cb \ - "$deps" --lock "$lock" --id exfatprogs --print sha256 -expect_output_is 'a tarball reports its download url' \ - https://github.com/exfatprogs/exfatprogs/releases/download/1.4.4/exfatprogs-1.4.4.tar.xz \ - "$deps" --lock "$lock" --id exfatprogs --print url -expect_output_is 'official libmd reports its pinned APK digest' \ - 0d49d6bb91fafb818fccd9df25927ed51a308c944df2ffdbb505b364c9042df8 \ - "$deps" --lock "$lock" --id alpine-libmd --print sha256 -expect_failure 'an unknown id fails rather than printing nothing' \ - "$deps" --lock "$lock" --id does-not-exist --print commit -expect_failure 'an unknown field fails rather than printing nothing' \ - "$deps" --lock "$lock" --id musl --print not-a-field -expect_failure 'querying a field the entry lacks fails' \ - "$deps" --lock "$lock" --id musl --print sha256 - -# --- the fetch list ----------------------------------------------------------- -fetch_list=$("$deps" --lock "$lock" --fetch-list 2>/dev/null) -checks=$((checks + 1)) -if printf '%s\n' "$fetch_list" | grep -q 'third_party/musl'; then - printf 'FAIL - submodules must not appear in the fetch list\n' - failures=$((failures + 1)) -else - printf 'ok - submodules are excluded from the fetch list\n' -fi -checks=$((checks + 1)) -if printf '%s\n' "$fetch_list" | grep -q 'exfatprogs-1.4.4.tar.xz'; then - printf 'ok - downloaded tarballs appear in the fetch list\n' -else - printf 'FAIL - downloaded tarballs must appear in the fetch list\n' - failures=$((failures + 1)) -fi -checks=$((checks + 1)) -if printf '%s\n' "$fetch_list" | awk -F'\t' 'NF != 4 { bad = 1 } END { exit bad ? 1 : 0 }'; then - printf 'ok - every fetch line is digest, url and cache name\n' -else - printf 'FAIL - every fetch line must be digest, url and cache name\n' - failures=$((failures + 1)) -fi -checks=$((checks + 1)) -if printf '%s\n' "$fetch_list" | cut -f2 | grep -qE '^[0-9a-f]{64}$'; then - printf 'ok - fetch digests are lowercase hex\n' -else - printf 'FAIL - fetch digests must be 64 lowercase hex digits\n' - failures=$((failures + 1)) -fi - -# --- rejected lock files ------------------------------------------------------ -D='0000000000000000000000000000000000000000000000000000000000000000' - -expect_output_is 'xorg entry reports feature' xorg \ - "$deps" --lock "$lock" --id alpine-xdm --print feature -expect_output_is 'st entry reports pinned version' 0.9.3-r0 \ - "$deps" --lock "$lock" --id alpine-st --print version -expect_output_is 'st entry reports feature' xorg \ - "$deps" --lock "$lock" --id alpine-st --print feature -expect_output_is 'st font dependency is pinned' 2.1.5-r2 \ - "$deps" --lock "$lock" --id alpine-font-liberation --print version -expect_output_is 'unmarked entry defaults to base' base \ - "$deps" --lock "$lock" --id alpine-openrc --print feature -expect_output_is 'optional APK keeps component feature' component:sl \ - "$deps" --lock "$lock" --id alpine-sl --print feature -expect_output_is 'runtime PNG is available in both backends' base \ - "$deps" --lock "$lock" --id alpine-libpng --print feature -expect_failure 'invalid feature is rejected' \ - "$deps" --lock "$(entry_lock '{"id":"a","kind":"apk","version":"1","url":"https://x/a.apk","sha256":"'$D'","directory":"a-1","license_in_source":".PKGINFO","feature":"desktop"}')" --check - -expect_failure 'an entry missing required fields is rejected' \ - "$deps" --lock "$(entry_lock '{"id":"a","kind":"tarball"}')" --check - -printf '%s\n' '{"schema_version":2,"dependencies":[]}' >"$work/v2.json" -expect_failure 'an unknown schema_version is rejected' "$deps" --lock "$work/v2.json" --check - -expect_failure 'a tarball without a digest is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'a short digest is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"deadbeef\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'an uppercase digest is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"AAAA000000000000000000000000000000000000000000000000000000000000\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'a downloaded entry without a version is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'an entry with no license record is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\"}")" --check -expect_failure 'an unknown field is rejected rather than ignored' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\",\"build_me\":\"please\"}")" --check -expect_failure 'a submodule without a 40-hex commit is rejected' \ - "$deps" --lock "$(entry_lock '{"id":"a","kind":"submodule","commit":"deadbeef","directory":"third_party/a","license":"third_party/a/COPYING"}')" --check -expect_failure 'a non-HTTPS download url is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"ftp://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'a url with a query has no stable cache name and is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz?name=b\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'a directory that escapes the tree is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"../etc\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'an absolute directory is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"/etc\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'duplicate ids are rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"},{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"2\",\"url\":\"https://x/b.tgz\",\"sha256\":\"$D\",\"directory\":\"b-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'an unknown kind is rejected' \ - "$deps" --lock "$(entry_lock '{"id":"a","kind":"magic","version":"1"}')" --check -expect_failure 'a missing id is rejected' \ - "$deps" --lock "$(entry_lock "{\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'an id that is not filename safe is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"../a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\"}")" --check -expect_failure 'extra top-level keys are rejected' \ - "$deps" --lock "$(printf '{ "schema_version": 1, "dependencies": [], "surprise": 1 }' | tee "$work/extra.json" >/dev/null; printf '%s' "$work/extra.json")" --check -printf '%s\n' 'not json at all' >"$work/garbage.json" -expect_failure 'garbage is rejected' "$deps" --lock "$work/garbage.json" --check -expect_failure 'a missing lock file is rejected' "$deps" --lock "$work/nope.json" --check - -# --- patches and licenses on disk -------------------------------------------- -mkdir -p "$work/tree/patches" -printf 'kept\n' >"$work/tree/patches/present.patch" - -expect_failure 'a patch that is not an object is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\",\"patches\":[\"patches/present.patch\"]}")" --check -expect_failure 'a patch without a pinned digest is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\",\"patches\":[{\"path\":\"patches/present.patch\"}]}")" --check -expect_failure 'a patch listed but absent on disk is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\",\"patches\":[{\"path\":\"patches/absent.patch\",\"sha256\":\"$D\"}]}")" \ - --check --root "$work/tree" -expect_failure 'a license that is absent on disk is rejected' \ - "$deps" --lock "$(entry_lock "{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license\":\"LICENSE-absent\"}")" \ - --check --root "$work/tree" - -printf '%s\n' "{\"schema_version\":1,\"dependencies\":[{\"id\":\"a\",\"kind\":\"tarball\",\"version\":\"1\",\"url\":\"https://x/a.tgz\",\"sha256\":\"$D\",\"directory\":\"a-1\",\"license_in_source\":\"COPYING\",\"patches\":[]}]}" >"$work/clean.json" -check 'a complete entry passes with --root' "$deps" --lock "$work/clean.json" --check --root "$work/tree" - -# --- patch queries ------------------------------------------------------------ -expect_output_is 'musl reports the digest of the patch it must apply' \ - 'e336ed20b2d338dbbf88588dff043e8ce349d0d0044277d31be229d600bb93ad' \ - sh -c "$deps --lock $lock --id musl --list-patches | head -n1 | cut -f1" -expect_output_is 'and the path of that patch' \ - 'patches/musl/0001-enforce-password-file-lock.patch' \ - sh -c "$deps --lock $lock --id musl --list-patches | head -n1 | cut -f2" -expect_output_is 'a dependency without patches prints nothing' '' \ - "$deps" --lock "$lock" --id alpine-zlib --list-patches -expect_failure '--list-patches without --id is rejected' \ - "$deps" --lock "$lock" --list-patches -expect_failure '--print without --id is rejected' \ - "$deps" --lock "$lock" --print commit - -cleanup -printf -- '---\n' -if [ "$failures" -ne 0 ]; then - printf 'not ok - reliefos-deps contract: %d of %d checks failed\n' "$failures" "$checks" - exit 1 -fi -printf 'ok - reliefos-deps contract: %d checks passed\n' "$checks" diff --git a/tests/build/test-desktop-backend.sh b/tests/build/test-desktop-backend.sh deleted file mode 100755 index 20e582dd..00000000 --- a/tests/build/test-desktop-backend.sh +++ /dev/null @@ -1,441 +0,0 @@ -#!/bin/sh -set -eu - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" -work=${TMPDIR:-/tmp}/reliefos-desktop-backend.$$ -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work" - -# The FLTK X11 frontend is the only desktop frontend; the backend choice is -# gone from the configuration. -if grep -q 'DESKTOP_BACKEND' Kconfig configs/default.conf; then - echo 'desktop backend choice is still configurable' >&2 - exit 1 -fi - -make -s O="$work/default" defconfig -if grep -q 'DESKTOP_BACKEND' "$work/default/.config"; then - echo 'defconfig still emits desktop backend symbols' >&2 - exit 1 -fi - -hostcc=${HOSTCC:-cc} -mkdir -p "$work/src/system" "$work/out" -cp -a system/rootfs "$work/src/system/rootfs" -# A restrictive checkout must not turn public guest policy into root-only -# files. Preserve the Git executable bit while constraining every other bit. -find "$work/src/system/rootfs" -type d -exec chmod 0700 {} + -find "$work/src/system/rootfs" -type f ! -perm /111 -exec chmod 0600 {} + -printf 'private policy fixture\n' > "$work/src/system/rootfs/etc/private-fixture" -chmod 0600 "$work/src/system/rootfs/etc/private-fixture" -for name in certs config docs fonts resources test-accounts xorg; do - ln -s "$repo_root/system/$name" "$work/src/system/$name" -done -for name in configs Documentation resources test third_party tools userland; do - ln -s "$repo_root/$name" "$work/src/$name" -done -cp logo.png "$work/src/logo.png" - -mkdir -p "$work/out/upstream/sudo/root/usr/bin" \ - "$work/out/upstream/shadow/root/usr/bin" \ - "$work/out/pam/root/sbin" \ - "$work/out/sysroot/musl/lib" \ - "$work/out/sysroot/musl/share/licenses/musl" \ - "$work/out/sysroot/musl/share/licenses/mimalloc" \ - "$work/out/system/lib" "$work/out/generated/system" \ - "$work/out/generated/fonts" \ - "$work/out/userland" -printf '%s\n' fixture > "$work/out/upstream/sudo/root/usr/bin/sudo" -printf '%s\n' fixture > "$work/out/upstream/shadow/root/usr/bin/passwd" -printf '%s\n' fixture > "$work/out/pam/root/sbin/unix_chkpwd" -printf '%s\n' fixture > "$work/out/sysroot/musl/lib/libc.so" -printf '%s\n' fixture > "$work/out/sysroot/musl/lib/libmimalloc.so.3" -printf '%s\n' fixture > "$work/out/sysroot/musl/share/licenses/musl/LICENSE" -printf '%s\n' fixture > "$work/out/sysroot/musl/share/licenses/mimalloc/LICENSE" -printf '%s\n' fixture > "$work/out/system/lib/libreliefos.so.2" -legacy_brand=leon -legacy_brand=${legacy_brand}os -printf '%s\n' fixture > "$work/out/system/lib/lib${legacy_brand}.so.2" -# This layout-only fixture represents the separately verified kernel bundle. -# Real identity/checksum and dependency validation belongs to test-kernel-payload. -mkdir -p "$work/out/stage/kernel-payload/lib/modules/desktop-fixture" \ - "$work/out/stage/kernel-payload/usr/lib/reliefos/kernel/desktop-fixture" -printf '{"schema":1,"release":"desktop-fixture"}\n' > "$work/out/stage/kernel-payload/kernel-payload.json" -printf 'CONFIG_MODULES=y\n' > "$work/out/stage/kernel-payload/lib/modules/desktop-fixture/config" -printf 'kernel fixture\n' > "$work/out/stage/kernel-payload/usr/lib/reliefos/kernel/desktop-fixture/kernel.sys" -mkdir -p "$work/out/userland/initramfs" -printf 'kernel bundle tool fixture\n' > "$work/out/userland/initramfs/kernel-bundle.elf" -printf '%s\n' fixture > "$work/out/userland/motd.elf" -printf '%s\n' fixture > "$work/out/userland/bootinstall.elf" -printf 'native update core fixture\n' > "$work/out/userland/systemupdate.elf" -for command in sbin/grub-install sbin/grub-bios-setup sbin/grub-probe bin/grub-mkimage; do - mkdir -p "$work/out/upstream/grub/root/usr/${command%/*}" - printf '%s\n' fixture > "$work/out/upstream/grub/root/usr/$command" -done -mkdir -p "$work/out/upstream/grub/root/usr/lib/grub/i386-pc" \ - "$work/out/upstream/grub/root/usr/share/licenses/grub" -printf '%s\n' fixture > "$work/out/upstream/grub/root/usr/lib/grub/i386-pc/boot.img" -printf '%s\n' fixture > "$work/out/upstream/grub/root/usr/share/licenses/grub/COPYING" -for locale in $(cat configs/nls/LINGUAS); do - mkdir -p "$work/out/generated/nls/$locale/LC_MESSAGES" - for domain in $(cat configs/nls/DOMAINS); do - printf '%s\n' fixture > "$work/out/generated/nls/$locale/LC_MESSAGES/$domain.mo" - done -done -printf 'busybox\ttool\t1\t1\t0\t0\t0\tBusyBox\tTools\t\t0\n' > "$work/metadata" -for app in fileman installer leonmmcoset reliefword reliefppt reliefsettings soundctl sudo fastfetch; do - entry=0 - case $app in fileman|reliefsettings|fastfetch) entry=1 ;; esac - printf '%s\tsystem-app\t1\t1\t%s\t0\t0\t%s\tSystem applications\t\t0\n' "$app" "$entry" "$app" >> "$work/metadata" - printf 'app fixture\n' > "$work/out/userland/$app.elf" -done -printf 'reliefmath\tprogram-app\t1\t1\t1\t0\t0\tReliefMath\tOffice applications\t.rmath\t1\n' >> "$work/metadata" -printf 'math GUI fixture\n' > "$work/out/userland/reliefmath.elf" -printf 'math worker fixture\n' > "$work/out/userland/reliefmath-render.elf" -printf 'reliefmathpp\tprogram-app\t1\t1\t1\t0\t0\tReliefMath++\tOffice applications\t.rmathpp\t1\n' >> "$work/metadata" -printf 'geometry GUI fixture\n' > "$work/out/userland/reliefmathpp.elf" -printf 'reliefplayer\tprogram-app\t1\t1\t1\t0\t0\tReliefPlayer\tNetwork and multimedia\t.mp3,.wav,.mp4\t1\n' >> "$work/metadata" -printf 'media player fixture\n' > "$work/out/userland/reliefplayer.elf" -mkdir -p "$work/out/upstream/ffmpeg/root/usr/lib" \ - "$work/out/upstream/ffmpeg/root/usr/include/libavcodec" \ - "$work/out/upstream/ffmpeg/root/usr/share/licenses/ffmpeg" -mkdir -p "$work/out/upstream/netsurf/root/usr/bin" -printf 'NetSurf fixture\n' > "$work/out/upstream/netsurf/root/usr/bin/netsurf" -chmod 755 "$work/out/upstream/netsurf/root/usr/bin/netsurf" -for lib in avformat avcodec avutil swresample swscale; do - printf 'codec fixture\n' > "$work/out/upstream/ffmpeg/root/usr/lib/lib$lib-reliefplayer.so.62.1.0" - ln -s "lib$lib-reliefplayer.so.62.1.0" "$work/out/upstream/ffmpeg/root/usr/lib/lib$lib-reliefplayer.so.62" -done -printf 'development header\n' > "$work/out/upstream/ffmpeg/root/usr/include/libavcodec/avcodec.h" -printf 'LGPL fixture\n' > "$work/out/upstream/ffmpeg/root/usr/share/licenses/ffmpeg/COPYING.LGPLv2.1" -printf 'audio fixture\n' > "$work/out/system/lib/libreliefos-audio.so.1" -printf 'calc\tprogram-app\t0\t0\t1\t0\t0\tCalculator\tOffice applications\t\t0\n' >> "$work/metadata" -printf 'ncurses\tlibrary\t1\t1\t0\t1\t0\tncurses\tLibraries\t\t0\n' >> "$work/metadata" -mkdir -p "$work/out/upstream/ncurses/root/usr/bin" \ - "$work/out/upstream/ncurses/root/usr/share/terminfo" \ - "$work/out/upstream/ncurses/root/usr/include" \ - "$work/out/upstream/fixture-provider/root/usr/bin" \ - "$work/out/upstream/fixture-provider/root/sbin" \ - "$work/out/upstream/inactive/root/usr/bin" -printf 'ncurses clear\n' > "$work/out/upstream/ncurses/root/usr/bin/clear" -ln -s clear "$work/out/upstream/ncurses/root/usr/bin/reset" -printf 'terminal data\n' > "$work/out/upstream/ncurses/root/usr/share/terminfo/fixture" -printf 'development header\n' > "$work/out/upstream/ncurses/root/usr/include/curses.h" -printf 'selected provider\n' > "$work/out/upstream/fixture-provider/root/usr/bin/hexdump" -printf 'external ping provider\n' > "$work/out/upstream/fixture-provider/root/usr/bin/ping" -printf 'storage provider\n' > "$work/out/upstream/fixture-provider/root/sbin/mkfs.ext4" -printf 'inactive provider\n' > "$work/out/upstream/inactive/root/usr/bin/tree" -printf 'BusyBox fixture\n' > "$work/out/userland/busybox.elf" -printf '%s\n' /bin/sh /bin/ash /bin/false /bin/ping /bin/ping6 /bin/hexdump \ - /usr/bin/clear /usr/bin/reset /sbin/mkfs.ext4 /bin/passwd /usr/bin/tree > "$work/out/userland/busybox.links" - -$hostcc -std=c11 -Wall -Wextra -Werror -Wpedantic -I"$repo_root" \ - "$repo_root/tools/host/manifest/reliefos-stage.c" \ - "$repo_root/tools/host/common/io.c" "$repo_root/tools/host/common/buffer.c" \ - "$repo_root/tools/host/manifest/json.c" -o "$work/stage" -$hostcc -std=c11 -Wall -Wextra -Werror -Wpedantic -I"$repo_root" \ - "$repo_root/tools/host/manifest/reliefos-layout.c" -o "$work/layout" - -cat > "$work/rootfs.config" < "$alternate_stage/kernel-payload/kernel-payload.json" -printf 'alternate module fixture\n' > "$alternate_stage/kernel-payload/lib/modules/alternate-fixture/config" -printf 'alternate kernel fixture\n' > "$alternate_stage/kernel-payload/usr/lib/reliefos/kernel/alternate-fixture/kernel.sys" -# Both manifests predate every raw stage, so dependency timestamps alone cannot -# hide a missing selected-path parameter in either direction. -touch -d @1 "$work/out/stage/kernel-payload/kernel-payload.json" \ - "$alternate_stage/kernel-payload/kernel-payload.json" -mkdir -p "$work/host-bin" "$work/out/meta" -ln -s "$work/stage" "$work/host-bin/reliefos-stage" -ln -s "$work/layout" "$work/host-bin/reliefos-layout" -for package in sudo shadow fixture-provider ffmpeg netsurf grub; do - touch "$work/out/upstream/$package/root/.complete" -done -cat > "$work/rootfs.mk" <<'MAKE' -include $(FIXTURE_REPO)/scripts/Kbuild.include -include $(FIXTURE_REPO)/scripts/reliefos/Makefile.parameters -RELIEFOS_SRC := $(FIXTURE_SRC) -O := $(FIXTURE_OUT) -O_META := $(O)/meta -RELIEFOS_HOST_BIN := $(FIXTURE_HOST_BIN) -RELIEFOS_CONFIG_FILE := $(FIXTURE_CONFIG) -COMPONENT_METADATA := $(FIXTURE_METADATA) -USERLAND_DIR := $(O)/userland -UPSTREAM_ROOT := $(O)/upstream -UPSTREAM_PACKAGES := sudo shadow fixture-provider ffmpeg netsurf -GRUB_GUEST_ROOT := $(UPSTREAM_ROOT)/grub/root -RELIEFOS_KERNEL_PAYLOAD := $(O_STAGE)/kernel-payload -RELIEFOS_KERNEL_PAYLOAD_MANIFEST := $(RELIEFOS_KERNEL_PAYLOAD)/kernel-payload.json -SOURCE_DATE_EPOCH := 1700000000 -Q := @ -quiet := quiet_ -PHONY := FORCE -.PHONY: FORCE -FORCE: -include $(FIXTURE_REPO)/scripts/reliefos/Makefile.rootfs -# Limit source hashing to a stable fixture input; the real recipe, dependencies -# and saved-command comparison remain unchanged. -ROOTFS_SOURCE_DIRS := $(RELIEFOS_CONFIG_FILE) --include $(wildcard $(O_META)/.*.cmd) -MAKE -stage_rootfs() ( - unset MAKEFLAGS MFLAGS MAKELEVEL MAKEOVERRIDES - make --no-print-directory -rR -f "$work/rootfs.mk" \ - "FIXTURE_REPO=$repo_root" "FIXTURE_SRC=$work/src" \ - "FIXTURE_OUT=$work/out" "FIXTURE_HOST_BIN=$work/host-bin" \ - "FIXTURE_CONFIG=$work/rootfs.config" "FIXTURE_METADATA=$work/metadata" \ - "O_STAGE=$1" rootfs-raw -) -stage_rootfs "$work/out/stage" -raw_stamp=$(stat -c %y "$work/out/rootfs/raw.complete") -parameter_stamp=$(stat -c %y "$work/out/meta/rootfs.parameters") -stage_rootfs "$work/out/stage" -test "$raw_stamp" = "$(stat -c %y "$work/out/rootfs/raw.complete")" -test "$parameter_stamp" = "$(stat -c %y "$work/out/meta/rootfs.parameters")" -stage_rootfs "$alternate_stage" -cmp "$alternate_stage/kernel-payload/lib/modules/alternate-fixture/config" \ - "$work/out/rootfs/raw/lib/modules/alternate-fixture/config" -cmp "$alternate_stage/kernel-payload/usr/lib/reliefos/kernel/alternate-fixture/kernel.sys" \ - "$work/out/rootfs/raw/usr/lib/reliefos/kernel/alternate-fixture/kernel.sys" -test ! -e "$work/out/rootfs/raw/lib/modules/desktop-fixture" -test ! -e "$work/out/rootfs/raw/usr/lib/reliefos/kernel/desktop-fixture" -grep -Fq "kernel-payload=$alternate_stage/kernel-payload" "$work/out/meta/rootfs.parameters" -stage_rootfs "$work/out/stage" -test -f "$work/out/rootfs/raw/lib/modules/desktop-fixture/config" -test ! -e "$work/out/rootfs/raw/lib/modules/alternate-fixture" -# An explicit missing payload must fail instead of using the existing default. -if ROOTFS_UPSTREAM_PACKAGES='sudo shadow fixture-provider ffmpeg netsurf' \ - sh "$repo_root/tools/build/rootfs-stage.sh" "$work/src" "$work/out" \ - "$work/rootfs.config" "$work/metadata" "$work/stage" "$work/layout" \ - "$work/root-missing-payload" "$work/missing-manifest.json" 1700000000 \ - "$work/missing-kernel-payload" > "$work/missing-payload.log" 2>&1; then - echo 'FAIL - explicit missing kernel payload silently used default' >&2 - exit 1 -fi -grep -Fq "matching kernel payload is missing: $work/missing-kernel-payload" "$work/missing-payload.log" -test ! -e "$work/root-missing-payload" -test ! -e "$work/missing-manifest.json" -printf '%s\n' 'ok - selected kernel payload, legacy default and O_STAGE invalidation' - -cmp "$work/out/userland/systemupdate.elf" "$xorg_root/usr/sbin/reliefos-update" -test -x "$xorg_root/usr/sbin/reliefos-update" -test "$(readlink "$xorg_root/lib/apk/commit_hooks.d/reliefos-update")" = /usr/sbin/reliefos-update -for prefix in reliefos leonos; do - for command in kernel-update check-update rpr-apkcheck rpr-ping; do - test "$(readlink "$xorg_root/usr/sbin/$prefix-$command")" = reliefos-update - done -done -for locale in $(cat configs/nls/LINGUAS); do - for domain in $(cat configs/nls/DOMAINS); do - cmp "$work/out/generated/nls/$locale/LC_MESSAGES/$domain.mo" \ - "$xorg_root/usr/share/locale/$locale/LC_MESSAGES/$domain.mo" - done -done -for lib in avformat avcodec avutil swresample swscale; do - test -f "$xorg_root/usr/lib/lib$lib-reliefplayer.so.62" - test -L "$xorg_root/usr/lib/lib$lib-reliefplayer.so.62" -done -test -f "$xorg_root/usr/share/licenses/ffmpeg/COPYING.LGPLv2.1" -test ! -e "$xorg_root/usr/include/libavcodec" -grep -qx 'extensions=.mp3,.wav,.mp4' "$xorg_root/usr/lib/reliefos/apps/reliefplayer/manifest.ini" -awk -F '\t' '$1!="reliefplayer"' "$work/metadata" > "$work/metadata-no-player" -ROOTFS_UPSTREAM_PACKAGES='sudo shadow fixture-provider ffmpeg netsurf' \ -sh "$repo_root/tools/build/rootfs-stage.sh" "$work/src" "$work/out" \ - "$work/rootfs.config" "$work/metadata-no-player" "$work/stage" "$work/layout" \ - "$work/root-no-player" "$work/no-player-manifest.json" 1700000000 -test ! -e "$work/root-no-player/usr/bin/reliefplayer" -test ! -e "$work/root-no-player/usr/lib/libavformat-reliefplayer.so.62" -test ! -e "$work/root-no-player/usr/share/licenses/ffmpeg" - -# Only self-authored graphical apps receive artwork, including hidden entries. -for app in fileman installer leonmmcoset reliefword reliefppt reliefmath reliefmathpp reliefsettings; do - for size in 16 32 48 64 128 256; do - icon=usr/share/icons/hicolor/${size}x${size}/apps/reliefos-$app.png - cmp "$repo_root/resources/build-art/app-icons/hicolor/${size}x${size}/apps/reliefos-$app.png" "$xorg_root/$icon" - done -done -for app in soundctl sudo fastfetch; do - test ! -e "$xorg_root/usr/lib/reliefos/apps/$app/$app.bmp" - for size in 16 32 48 64 128 256; do - test ! -e "$xorg_root/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-$app.png" - done -done -grep -qx 'icon=' "$xorg_root/usr/lib/reliefos/apps/fastfetch/manifest.ini" -test ! -e "$xorg_root/usr/share/icons/hicolor/48x48/apps/reliefos-calc.png" -test -f "$xorg_root/usr/lib/reliefos/apps/installer/installer.bmp" -test -f "$xorg_root/usr/lib/reliefos/apps/leonmmcoset/leonmmcoset.bmp" -cmp "$work/out/userland/reliefmath.elf" "$xorg_root/usr/lib/reliefos/apps/reliefmath/reliefmath.elf" -cmp "$work/out/userland/reliefmath-render.elf" "$xorg_root/usr/lib/reliefos/apps/reliefmath/reliefmath-render.elf" -test "$(readlink "$xorg_root/usr/bin/reliefmath")" = ../lib/reliefos/apps/reliefmath/reliefmath.elf -grep -qx 'open_with=1' "$xorg_root/usr/lib/reliefos/apps/reliefmath/manifest.ini" -grep -qx 'extensions=.rmath' "$xorg_root/usr/lib/reliefos/apps/reliefmath/manifest.ini" -grep -qx 'category=Office applications' "$xorg_root/usr/lib/reliefos/apps/reliefmath/manifest.ini" -test "$(stat -c %a "$xorg_root/usr/share/reliefmath/STIXTwoMath-Regular.otf")" = 444 -test "$(stat -c %a "$xorg_root/usr/share/licenses/reliefmath/STIX-OFL.txt")" = 444 -test -f "$xorg_root/usr/share/licenses/reliefmath/README.md" -test -f "$xorg_root/usr/share/mime/packages/reliefmath.xml" -cmp "$work/out/userland/reliefmathpp.elf" "$xorg_root/usr/lib/reliefos/apps/reliefmathpp/reliefmathpp.elf" -test -f "$xorg_root/usr/share/mime/packages/reliefmathpp.xml" -grep -qx 'extensions=.rmathpp' "$xorg_root/usr/lib/reliefos/apps/reliefmathpp/manifest.ini" -awk -F '\t' '$1!="reliefmathpp"' "$work/metadata" > "$work/metadata-no-mathpp" -sh "$repo_root/tools/build/rootfs-stage.sh" "$work/src" "$work/out" \ - "$work/rootfs.config" "$work/metadata-no-mathpp" "$work/stage" "$work/layout" \ - "$work/root-no-mathpp" "$work/no-mathpp-manifest.json" 1700000000 -for path in usr/lib/reliefos/apps/reliefmathpp usr/bin/reliefmathpp usr/share/applications/reliefos-reliefmathpp.desktop usr/share/mime/packages/reliefmathpp.xml; do - test ! -e "$work/root-no-mathpp/$path" -done - -# Removing the selected app from component metadata excludes every private -# product while leaving the shared system CJK font in the composed root. -awk -F '\t' '$1!="reliefmath"' "$work/metadata" > "$work/metadata-no-reliefmath" -ROOTFS_UPSTREAM_PACKAGES='sudo shadow fixture-provider' \ -sh "$repo_root/tools/build/rootfs-stage.sh" "$work/src" "$work/out" \ - "$work/rootfs.config" "$work/metadata-no-reliefmath" "$work/stage" "$work/layout" \ - "$work/root-no-reliefmath" "$work/no-reliefmath-manifest.json" 1700000000 -for path in \ - usr/lib/reliefos/apps/reliefmath \ - usr/bin/reliefmath \ - usr/share/applications/reliefos-reliefmath.desktop \ - usr/share/reliefmath \ - usr/share/licenses/reliefmath \ - usr/share/mime/packages/reliefmath.xml; do - test ! -e "$work/root-no-reliefmath/$path" -done -for size in 16 32 48 64 128 256; do - test ! -e "$work/root-no-reliefmath/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-reliefmath.png" -done -test -f "$work/root-no-reliefmath/usr/share/fonts/reliefos/simsun.ttc" - -grep -qx xorg "$xorg_root/etc/reliefos/desktop-backend" -test ! -e "$xorg_root/etc/runlevels/default/reliefos-windowd" -test ! -e "$xorg_root/etc/runlevels/default/reliefos-session" -test -f "$xorg_root/etc/X11/xorg.conf" -# Mouse0 must consume the kernel's authoritative absolute position. -# xf86-input-evdev drops the absolute axes of a mixed rel/abs mouse -# ("ignoring absolute axes") and rebuilds the cursor from the relative deltas, -# which permanently drifts away from the kernel position whenever a motion -# event is lost (the VMware mouse offset bug). IgnoreRelativeAxes "true" is -# not enough: the scrollwheel probe branch re-enables EVDEV_RELATIVE_EVENTS and -# the relative path wins. The trinary value IgnoreAbsoluteAxes "false" means -# "unignore": both axis classes initialize and the absolute position wins every -# sync frame. -mouse0=$(awk '/Identifier "Mouse0"/,/^EndSection/' "$xorg_root/etc/X11/xorg.conf") -if ! printf '%s\n' "$mouse0" | grep -q 'Option "IgnoreAbsoluteAxes" "false"'; then - echo 'Mouse0 must unignore the absolute axes (IgnoreAbsoluteAxes "false")' >&2 - echo 'FAIL - xorg.conf mouse absolute position contract' >&2 - exit 1 -fi -test -f "$xorg_root/etc/X11/xdm/xdm-config" -test -f "$xorg_root/etc/X11/xdm/Xservers" -test -f "$xorg_root/etc/X11/xdm/Xresources" -test -x "$xorg_root/usr/lib/X11/xdm/Xsession" -test -x "$xorg_root/usr/lib/X11/xdm/Xsetup_0" -test -x "$xorg_root/usr/bin/netsurf" -test ! -e "$xorg_root/usr/bin/dillo" -test ! -e "$xorg_root/etc/reliefos/wallpaper.png" -test -x "$xorg_root/usr/lib/reliefos/reliefos-xdm" -test -x "$xorg_root/usr/lib/reliefos/xorg-tty-wrapper" -for path in etc/reliefos/xdm.conf etc/reliefos/xdm-Xservers \ - etc/reliefos/xdm-Xresources etc/reliefos/xdm-session \ - etc/reliefos/xdm-setup usr/lib/reliefos/xdm-session \ - usr/lib/reliefos/xdm-setup; do - test ! -e "$xorg_root/$path" -done -test -f "$xorg_root/etc/pam.d/xdm" -# IceWM is the only window manager: its configuration is staged and no old -# window manager file may survive in the product root. -test -f "$xorg_root/etc/reliefos/icewm/preferences" -test -f "$xorg_root/etc/reliefos/icewm/menu" -test -f "$xorg_root/etc/reliefos/icewm/keys" -test -f "$xorg_root/etc/reliefos/icewm/themes/light/default.theme" -test ! -e "$xorg_root/etc/reliefos/twmrc" -test ! -e "$xorg_root/usr/bin/twm" -test ! -e "$xorg_root/usr/bin/twm.real" -test -f "$xorg_root/bin/busybox" -test -L "$xorg_root/bin/sh" -test -L "$xorg_root/bin/ash" -test -L "$xorg_root/bin/false" -test -L "$xorg_root/bin/ping6" -test "$(readlink "$xorg_root/bin/ping6")" = busybox -# Commands claimed by a staged upstream root keep their provider and never -# grow a BusyBox link, even under a different directory. -cmp "$work/out/upstream/fixture-provider/root/usr/bin/hexdump" "$xorg_root/usr/bin/hexdump" -cmp "$work/out/upstream/fixture-provider/root/usr/bin/ping" "$xorg_root/usr/bin/ping" -cmp "$work/out/upstream/fixture-provider/root/sbin/mkfs.ext4" "$xorg_root/sbin/mkfs.ext4" -test ! -e "$xorg_root/bin/hexdump" -test ! -e "$xorg_root/bin/ping" -# /sbin is the official provider; old /usr/sbin callers use a one-way alias. -# BusyBox must not claim either entry point. -test ! -L "$xorg_root/sbin/mkfs.ext4" -test "$(readlink "$xorg_root/usr/sbin/mkfs.ext4")" = ../../sbin/mkfs.ext4 -# ncurses payloads are installed later from signed APKs, never overlaid. -grep -Fx ncurses "$xorg_root/etc/reliefos/apk-components" -test ! -e "$xorg_root/usr/share/doc/reliefos/apk-transitions" -test ! -e "$xorg_root/usr/lib/reliefos/apps/sl" -test -f "$xorg_root/usr/share/licenses/ncurses/LICENSE" -test ! -e "$xorg_root/usr/share/terminfo/fixture" -test ! -e "$xorg_root/etc/terminfo/fixture" -test ! -e "$xorg_root/usr/include/curses.h" -cmp "$work/out/upstream/shadow/root/usr/bin/passwd" "$xorg_root/usr/bin/passwd" -test ! -e "$xorg_root/bin/passwd" -# Roots outside ROOTFS_UPSTREAM_PACKAGES never reach the rootfs: the command -# stays a generated BusyBox link instead of the inactive provider file. -test -L "$xorg_root/usr/bin/tree" -test "$(readlink "$xorg_root/usr/bin/tree")" = ../../bin/busybox - -printf '%s\n' 'ok - X11 session policy and upstream staging' diff --git a/tests/build/test-diskmgr-fltk.sh b/tests/build/test-diskmgr-fltk.sh index 4f6cad50..b7c13639 100644 --- a/tests/build/test-diskmgr-fltk.sh +++ b/tests/build/test-diskmgr-fltk.sh @@ -10,21 +10,22 @@ test -f "$src/userland/apps/diskmgr/main.cpp" || { test ! -e "$src/userland/apps/diskmgr/main.c" ${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror \ -fsanitize=address,undefined -fno-sanitize-recover=all \ - -idirafter "$src/userland/runtime/include" \ + -I"$src/include" -idirafter "$src/userland/runtime/include" -idirafter "$src/kernel/reliefnt/include/uapi" \ -I"$src/userland/apps/diskmgr" \ "$src/tests/host/test_diskmgr_model.cpp" \ "$src/userland/apps/diskmgr/model.cpp" -o "$work/model" "$work/model" ${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror \ -fsanitize=address,undefined -fno-sanitize-recover=all \ - -idirafter "$src/userland/runtime/include" \ + -I"$src/include" -idirafter "$src/userland/runtime/include" -idirafter "$src/kernel/reliefnt/include/uapi" \ -I"$src/userland/apps/diskmgr" \ "$src/tests/host/test_diskmgr_worker.cpp" \ - "$src/userland/apps/diskmgr/worker.cpp" -o "$work/worker" + "$src/userland/apps/diskmgr/worker.cpp" "$src/userland/apps/diskmgr/wire.cpp" \ + "$src/userland/apps/diskmgr/model.cpp" -o "$work/worker" "$work/worker" ${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -Wno-address-of-packed-member \ -fsanitize=address,undefined -fno-sanitize-recover=all \ - -idirafter "$src/userland/runtime/include" \ + -I"$src/include" -idirafter "$src/userland/runtime/include" -idirafter "$src/kernel/reliefnt/include/uapi" \ "$src/tests/host/test_blockdev_names.c" -o "$work/names" "$work/names" msgfmt -c --check -o "$work/zh_CN.mo" "$src/configs/nls/po/diskmgr/zh_CN.po" diff --git a/tests/build/test-doctor-runtime.sh b/tests/build/test-doctor-runtime.sh deleted file mode 100644 index e7a428fe..00000000 --- a/tests/build/test-doctor-runtime.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -set -eu -repo=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT -real_cc=${TEST_CLANG:-/usr/bin/clang} -cat > "$w/clang" <<'SH' -#!/bin/sh -for arg do - case "$arg" in *print-libgcc-file-name*) printf '%s/missing-builtins.a\n' "$TEST_WORK"; exit 0;; esac -done -exec "$TEST_REAL_CC" "$@" -SH -chmod +x "$w/clang" -export TEST_WORK="$w" TEST_REAL_CC="$real_cc" -HOSTCC="env RELIEFOS_DOCTOR_WRAPPER=1 ${HOSTCC:-cc}" \ - TARGET_CC="$w/clang" TARGET_LD=ld.lld TARGET_AR=llvm-ar TARGET_OBJCOPY=llvm-objcopy \ - TARGET_STRIP=llvm-strip TARGET_TRIPLE_KERNEL=x86_64-unknown-none \ - TARGET_TRIPLE_USER=x86_64-linux-musl SRC="$repo" sh "$repo/scripts/doctor.sh" > "$w/log" 2>&1 && status=0 || status=$? -if [ "$status" -eq 0 ] || ! grep -q 'MISSING.*compiler-rt builtins' "$w/log"; then - echo 'FAIL: doctor did not diagnose absent target builtins archive'; cat "$w/log"; exit 1 -fi -echo 'ok: doctor diagnoses missing compiler-rt archive despite valid headers/compiler' -if grep -q 'MISSING.*HOSTCC=' "$w/log" || ! grep -q 'OK .*host link verified' "$w/log"; then - echo 'FAIL: doctor did not execute the wrapped host compiler'; cat "$w/log"; exit 1 -fi -echo 'ok: doctor accepts and executes a wrapped host compiler' -grep -q 'OK .*flock' "$w/log" || { echo 'FAIL: doctor did not check flock'; exit 1; } -echo 'ok: doctor checks flock' diff --git a/tests/build/test-driverinfo.sh b/tests/build/test-driverinfo.sh deleted file mode 100755 index cac99128..00000000 --- a/tests/build/test-driverinfo.sh +++ /dev/null @@ -1,191 +0,0 @@ -#!/bin/sh -set -eu - -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/reliefos-driverinfo-tests.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM - -if [ ! -f "$src/userland/apps/driverinfo/main.c" ]; then - printf 'FAIL - driverinfo implementation is missing\n' >&2 - exit 1 -fi - -cat >"$work/stub.c" <<'EOF' -#include -#include - -static const system_driver_info_t drivers[] = { - { - .id = 7, - .state = SYSTEM_DRIVER_STATE_LOADED, - .kind = RELIEFOS_DRIVER_KIND_AUDIO, - .flags = RELIEFOS_DRIVER_FLAG_BUILTIN | RELIEFOS_DRIVER_FLAG_AUTOSTART, - .abi_version = 1, - .version = 3, - .load_address = 0x12345000ULL, - .image_size = 8192, - .file = "hda.drv", - .name = "Intel HD Audio", - }, - { - .id = 8, - .state = SYSTEM_DRIVER_STATE_DISABLED, - .kind = RELIEFOS_DRIVER_KIND_NETWORK, - .flags = SYSTEM_DRIVER_FLAG_DISABLED, - .abi_version = 1, - .load_address = 0x20000000ULL, - .image_size = 4096, - .file = "legacy-net.drv", - .name = "Legacy Ethernet", - }, - { - .id = 9, - .state = SYSTEM_DRIVER_STATE_FAILED, - .kind = 99, - .abi_version = 2, - .file = "vesa.drv", - .name = "VESA display", - .error = "probe failed", - }, -}; - -static const system_device_info_t devices[] = { - { - .device_class = SYSTEM_DEVICE_CLASS_AUDIO, - .flags = SYSTEM_DEVICE_FLAG_PRESENT | SYSTEM_DEVICE_FLAG_ACTIVE, - .name = "dsp", - .status = "Running", - .detail = "Intel HD Audio playback", - }, - { - .device_class = SYSTEM_DEVICE_CLASS_NETWORK, - .flags = SYSTEM_DEVICE_FLAG_PRESENT | SYSTEM_DEVICE_FLAG_ACTIVE, - .name = "ethernet0", - .status = "Running", - .detail = "Intel-compatible Ethernet", - }, - { - .device_class = SYSTEM_DEVICE_CLASS_DISPLAY, - .flags = SYSTEM_DEVICE_FLAG_PRESENT, - .name = "fb0", - .status = "Stopped", - .detail = "Inactive framebuffer", - }, - { - .device_class = 99, - .flags = SYSTEM_DEVICE_FLAG_PRESENT | SYSTEM_DEVICE_FLAG_ACTIVE, - .name = "sensor0", - .status = "Running", - .detail = "Auxiliary sensor", - }, - { - .device_class = 99, - .flags = SYSTEM_DEVICE_FLAG_PRESENT | SYSTEM_DEVICE_FLAG_ACTIVE, - .name = "sensor1", - .status = "Running", - .detail = "Secondary auxiliary sensor", - }, -}; - -int system_driver_list(system_driver_info_t *out, uint32_t capacity, - uint32_t *out_count) -{ - uint32_t count = (uint32_t)(sizeof(drivers) / sizeof(drivers[0])); - if (out_count) *out_count = count; - if (out && capacity) { - uint32_t copy = count < capacity ? count : capacity; - memcpy(out, drivers, copy * sizeof(*out)); - } - return 0; -} - -int system_device_list(system_device_info_t *out, uint32_t capacity, - uint32_t *out_count) -{ - uint32_t count = (uint32_t)(sizeof(devices) / sizeof(devices[0])); - if (out_count) *out_count = count; - if (out && capacity) { - uint32_t copy = count < capacity ? count : capacity; - memcpy(out, devices, copy * sizeof(*out)); - } - return 0; -} -EOF - -cat >"$work/fail.c" <<'EOF' -#include - -int system_driver_list(system_driver_info_t *out, uint32_t capacity, - uint32_t *out_count) -{ - (void)out; - (void)capacity; - if (out_count) *out_count = 0; - return -1; -} - -int system_device_list(system_device_info_t *out, uint32_t capacity, - uint32_t *out_count) -{ - (void)out; - (void)capacity; - if (out_count) *out_count = 0; - return -1; -} -EOF - -cc=${HOSTCC:-cc} -common_flags='-std=c11 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wformat=2 -Wshadow -Wstrict-prototypes' -$cc $common_flags \ - -I"$src/include" -I"$src/userland/runtime/include" \ - -I"$src/kernel/reliefnt/include/uapi" \ - "$src/userland/apps/driverinfo/main.c" "$work/stub.c" -o "$work/driverinfo" - -"$work/driverinfo" >"$work/default.out" -grep -Fq 'ReliefOS active drivers' "$work/default.out" -grep -Fq 'hda.drv' "$work/default.out" -grep -Fq 'ID: 7' "$work/default.out" -grep -Fq 'Kind: Audio' "$work/default.out" -grep -Fq 'Load address: 0x12345000' "$work/default.out" -grep -Fq 'Image size: 8192 bytes' "$work/default.out" -grep -Fq 'Audio' "$work/default.out" -grep -Fq 'ethernet0' "$work/default.out" -grep -Fq 'sensor0' "$work/default.out" -grep -Fq 'sensor1' "$work/default.out" -test "$(grep -c '^ Other:$' "$work/default.out")" -eq 1 -if grep -Fq 'legacy-net.drv' "$work/default.out" || - grep -Fq 'vesa.drv' "$work/default.out" || - grep -Fq 'fb0' "$work/default.out"; then - printf 'default mode included inactive driver or device\n' >&2 - exit 1 -fi - -"$work/driverinfo" -a >"$work/all.out" -grep -Fq 'legacy-net.drv' "$work/all.out" -grep -Fq 'Disabled' "$work/all.out" -grep -Fq 'vesa.drv' "$work/all.out" -grep -Fq 'probe failed' "$work/all.out" -grep -Fq 'fb0' "$work/all.out" -grep -Fq 'ID: 8' "$work/all.out" -grep -Fq 'Kind: Network' "$work/all.out" -grep -Fq 'Load address: 0x20000000' "$work/all.out" -grep -Fq 'Image size: 4096 bytes' "$work/all.out" -grep -Fq 'Kind: Unknown (99)' "$work/all.out" - -if "$work/driverinfo" --bad >"$work/usage.out" 2>&1; then - printf 'invalid option unexpectedly succeeded\n' >&2 - exit 1 -fi -grep -Fq 'Usage:' "$work/usage.out" - -$cc $common_flags \ - -I"$src/include" -I"$src/userland/runtime/include" \ - -I"$src/kernel/reliefnt/include/uapi" \ - "$src/userland/apps/driverinfo/main.c" "$work/fail.c" -o "$work/driverinfo-fail" -if "$work/driverinfo-fail" >"$work/fail.out" 2>&1; then - printf 'query failure unexpectedly succeeded\n' >&2 - exit 1 -fi -grep -Fq 'failed' "$work/fail.out" - -printf 'driverinfo filtering, device reporting, argument validation and failures passed\n' diff --git a/tests/build/test-fetch-check.sh b/tests/build/test-fetch-check.sh deleted file mode 100755 index 127d552a..00000000 --- a/tests/build/test-fetch-check.sh +++ /dev/null @@ -1,255 +0,0 @@ -#!/bin/sh -# Contract tests for the URL liveness check: tools/build/fetch-check.sh and the -# `make fetch-check` delegation into the ReliefNT checkout (scripts/reliefos/Makefile.kernel). -# -# 1. a locked URL that answers 2xx is reported OK and the check passes; -# 2. a locked URL that answers 404 fails the check, named by id and URL; -# 3. a mirror that refuses HEAD but serves GET is not called broken; -# 4. a host that does not answer at all fails with curl's exit code; -# 5. --only probes the named ids and nothing else; -# 6. `make fetch-check` runs the parent check and the kernel check together; -# 7. `make -n` never reaches the sub-make (the adapter's no-output promise); -# 8. a missing checkout warns and keeps the goal successful; -# 9. RELIEFNT_DIR pointing back at this repository skips instead of recursing. -# -# Everything is stubbed: curl is a PATH script answering per URL from a table, -# the kernel checkout is a fake Makefile, and the probe locks are fixtures -- -# no network and no real cache is touched. -set -u -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -deps=${RELIEFOS_DEPS:-${LEONOS_DEPS:?set by scripts/reliefos/Makefile.tests}} -check_script=./tools/build/fetch-check.sh - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-fetch-check.XXXXXX") || exit 1 -failures=0 -checks=0 - -cleanup() { [ -n "${KEEP_WORK:-}" ] || rm -rf "$work"; } -trap cleanup EXIT INT TERM - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then shift; printf ' %s\n' "$@"; fi -} - -# The recursion case must not be able to hang the suite if the guard breaks. -if command -v timeout >/dev/null 2>&1; then - guarded() { timeout 30 "$@"; } -else - guarded() { "$@"; } -fi - -# A curl stand-in that answers from a MODE URL table and defaults to HTTP 200. -# "die N" in the answer column stands for curl failing below HTTP with exit N. -mkdir -p "$work/bin" -cat >"$work/bin/curl" </dev/null) -case "\$answer" in - die*) exit "\${answer#die}" ;; - '') printf '200' ;; - *) printf '%s' "\$answer" ;; -esac -exit 0 -EOF -chmod +x "$work/bin/curl" -: >"$work/answers" -PATH="$work/bin:$PATH" -export PATH - -# fixture_lock FILE ID URL [ID URL]... -- the fetch-list schema subset that -# tools/build/fetch.sh fixtures use elsewhere in this suite directory. -fixture_lock() { - fixture_file=$1 - shift - fixture_digest=0000000000000000000000000000000000000000000000000000000000000000 - printf '{ "schema_version": 1, "dependencies": [' >"$fixture_file" - fixture_sep='' - while [ "$#" -gt 0 ]; do - fixture_id=$1 - fixture_url=$2 - shift 2 - printf '%s{ "id": "%s", "kind": "tarball", "version": "1.0", ' \ - "$fixture_sep" "$fixture_id" >>"$fixture_file" - printf '"url": "%s", "sha256": "%s", ' "$fixture_url" "$fixture_digest" >>"$fixture_file" - printf '"directory": "%s-1.0", "license_in_source": "LICENSE" }' \ - "$fixture_id" >>"$fixture_file" - fixture_sep=', ' - done - printf ' ] }\n' >>"$fixture_file" -} - -printf '=== (1) a URL that answers 2xx passes ===\n' -fixture_lock "$work/ok.lock" ok-pkg https://example.invalid/ok.apk -printf 'HEAD https://example.invalid/ok.apk 200\nGET https://example.invalid/ok.apk 200\n' \ - >>"$work/answers" -if sh "$check_script" --deps "$deps" --lock "$work/ok.lock" >"$work/ok.log" 2>&1; then - pass 'a URL that answers 2xx passes the check' -else - fail 'a URL that answers 2xx passes the check' "$(head -c 400 "$work/ok.log")" -fi -if grep -q 'ok-pkg (HTTP 200)' "$work/ok.log"; then - pass 'the passing URL is reported by id with its status' -else - fail 'the passing URL is reported by id with its status' "$(head -c 400 "$work/ok.log")" -fi - -printf '\n=== (2) a URL that answers 404 fails by name ===\n' -fixture_lock "$work/missing.lock" missing-pkg https://example.invalid/missing.apk -printf 'HEAD https://example.invalid/missing.apk 404\nGET https://example.invalid/missing.apk 404\n' \ - >>"$work/answers" -if sh "$check_script" --deps "$deps" --lock "$work/missing.lock" >"$work/missing.log" 2>&1; then - fail 'a 404 makes the check exit non-zero' -else - pass 'a 404 makes the check exit non-zero' -fi -if grep -q 'missing-pkg (HTTP 404) https://example.invalid/missing.apk' "$work/missing.log"; then - pass 'the failure names the id, the status and the URL' -else - fail 'the failure names the id, the status and the URL' "$(head -c 400 "$work/missing.log")" -fi -if grep -q 'do not answer: missing-pkg' "$work/missing.log"; then - pass 'the summary lists the broken id' -else - fail 'the summary lists the broken id' "$(head -c 400 "$work/missing.log")" -fi - -printf '\n=== (3) a mirror that refuses HEAD but serves GET is not broken ===\n' -fixture_lock "$work/headless.lock" headless-pkg https://example.invalid/headless.apk -printf 'HEAD https://example.invalid/headless.apk 405\nGET https://example.invalid/headless.apk 200\n' \ - >>"$work/answers" -if sh "$check_script" --deps "$deps" --lock "$work/headless.lock" >"$work/headless.log" 2>&1; then - pass 'the ranged GET fallback accepts a HEAD-refusing mirror' -else - fail 'the ranged GET fallback accepts a HEAD-refusing mirror' "$(head -c 400 "$work/headless.log")" -fi -if grep -q 'headless-pkg (HTTP 200)' "$work/headless.log"; then - pass 'the fallback status is reported' -else - fail 'the fallback status is reported' "$(head -c 400 "$work/headless.log")" -fi - -printf '\n=== (4) a host that does not answer fails with curl exit code ===\n' -fixture_lock "$work/dead.lock" dead-pkg https://example.invalid/dead.apk -printf 'HEAD https://example.invalid/dead.apk die7\nGET https://example.invalid/dead.apk die7\n' \ - >>"$work/answers" -if sh "$check_script" --deps "$deps" --lock "$work/dead.lock" >"$work/dead.log" 2>&1; then - fail 'an unanswered URL makes the check exit non-zero' -else - pass 'an unanswered URL makes the check exit non-zero' -fi -if grep -q 'dead-pkg (curl exit 7)' "$work/dead.log"; then - pass 'the failure reports curl exit code 7 (connection refused)' -else - fail 'the failure reports curl exit code 7 (connection refused)' "$(head -c 400 "$work/dead.log")" -fi - -printf '\n=== (5) --only probes the named ids and nothing else ===\n' -fixture_lock "$work/select.lock" \ - ok-pkg https://example.invalid/ok.apk \ - missing-pkg https://example.invalid/missing.apk -if sh "$check_script" --deps "$deps" --lock "$work/select.lock" --only ok-pkg \ - >"$work/select.log" 2>&1; then - pass '--only with a passing id exits 0 despite a broken id in the lock' -else - fail '--only with a passing id exits 0 despite a broken id in the lock' \ - "$(head -c 400 "$work/select.log")" -fi -if grep -q 'ok-pkg' "$work/select.log" && ! grep -q 'missing-pkg' "$work/select.log"; then - pass 'only the selected id is probed' -else - fail 'only the selected id is probed' "$(head -c 400 "$work/select.log")" -fi - -printf '\n=== (6) make fetch-check runs the parent check and the kernel check ===\n' -mkdir -p "$work/reliefnt-stub" -cat >"$work/reliefnt-stub/Makefile" <>'$work/kernel-fetch-check-called' -EOF -rm -f "$work/kernel-fetch-check-called" -if make -s O="$work/out" LEONOS_DEPS_TOOL="$deps" \ - RELIEFNT_DIR="$work/reliefnt-stub" fetch-check >"$work/make.log" 2>&1; then - pass 'make fetch-check exits 0' -else - fail 'make fetch-check exits 0' "$(head -c 400 "$work/make.log")" -fi -if [ -f "$work/kernel-fetch-check-called" ]; then - pass "the kernel checkout's fetch-check goal ran" -else - fail "the kernel checkout's fetch-check goal ran" 'no call marker was written' -fi -if grep -q 'locked URLs answer' "$work/make.log"; then - pass 'the parent URL check ran and summarized' -else - fail 'the parent URL check ran and summarized' "$(head -c 400 "$work/make.log")" -fi - -printf '\n=== (7) make -n never reaches the sub-make ===\n' -rm -f "$work/kernel-fetch-check-called" -if make -s -n O="$work/out" LEONOS_DEPS_TOOL="$deps" \ - RELIEFNT_DIR="$work/reliefnt-stub" reliefnt-fetch-check >"$work/dryrun.log" 2>&1; then - pass 'make -n reliefnt-fetch-check exits 0' -else - fail 'make -n reliefnt-fetch-check exits 0' "$(head -c 400 "$work/dryrun.log")" -fi -if [ ! -f "$work/kernel-fetch-check-called" ]; then - pass 'make -n writes no call marker' -else - fail 'make -n writes no call marker' 'the sub-make ran under -n' -fi - -printf '\n=== (8) a missing checkout warns and stays successful ===\n' -rm -f "$work/kernel-fetch-check-called" -if make -s O="$work/out" LEONOS_DEPS_TOOL="$deps" \ - RELIEFNT_DIR="$work/nonexistent" reliefnt-fetch-check >"$work/missing-dir.log" 2>&1; then - pass 'make reliefnt-fetch-check exits 0 without a checkout' -else - fail 'make reliefnt-fetch-check exits 0 without a checkout' \ - "$(head -c 400 "$work/missing-dir.log")" -fi -if grep -q 'kernel checkout not found' "$work/missing-dir.log"; then - pass 'the skip warns about the missing checkout' -else - fail 'the skip warns about the missing checkout' "$(head -c 400 "$work/missing-dir.log")" -fi -if [ ! -f "$work/kernel-fetch-check-called" ]; then - pass 'no check ran against a missing checkout' -else - fail 'no check ran against a missing checkout' 'a call marker was written' -fi - -printf '\n=== (9) RELIEFNT_DIR pointing at this repository skips instead of recursing ===\n' -rm -f "$work/kernel-fetch-check-called" -if guarded make -s O="$work/out" LEONOS_DEPS_TOOL="$deps" \ - RELIEFNT_DIR="$repo_root" reliefnt-fetch-check >"$work/self.log" 2>&1; then - pass 'make reliefnt-fetch-check RELIEFNT_DIR=. exits 0 without recursing' -else - fail 'make reliefnt-fetch-check RELIEFNT_DIR=. exits 0 without recursing' \ - "$(head -c 400 "$work/self.log")" -fi -if grep -q 'skipping' "$work/self.log"; then - pass 'the self-pointing skip is announced' -else - fail 'the self-pointing skip is announced' "$(head -c 400 "$work/self.log")" -fi - -printf '\n%d checks, %d failures\n' "$checks" "$failures" -[ "$failures" -eq 0 ] diff --git a/tests/build/test-fileman-boundary.sh b/tests/build/test-fileman-boundary.sh index 0ba613e3..53cd3b31 100644 --- a/tests/build/test-fileman-boundary.sh +++ b/tests/build/test-fileman-boundary.sh @@ -7,10 +7,36 @@ if [ ! -f "$src/userland/apps/fileman/boundary.c" ]; then printf 'FAIL - file manager has no checked path and X11 handler boundary\n' >&2 exit 1 fi -grep -Fq 'RELIEFOS_LAYOUT_RELIEFOS_APPS "/reliefexcel/reliefexcel.elf"' \ - "$src/userland/apps/fileman/main.cpp" -grep -Fq 'fileman_x11_app_for_path(path, user_association)' "$src/userland/apps/fileman/main.cpp" ${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -fsanitize=undefined -fno-sanitize-recover=all \ -I"$src/userland/apps/fileman" "$src/tests/host/test_fileman_boundary.c" \ "$src/userland/apps/fileman/boundary.c" -o "$work/test" "$work/test" + +# Register a single XDG application in an isolated data/config home and +# exercise the real launcher, not a static list of document extensions. +export XDG_DATA_HOME="$work/data" XDG_CONFIG_HOME="$work/config" +mkdir -p "$XDG_DATA_HOME/applications" "$XDG_CONFIG_HOME" +cat > "$work/viewer" <<'SCRIPT' +#!/bin/sh +printf '%s\n' "$1" > "$FILEMAN_MARKER" +SCRIPT +chmod +x "$work/viewer" +cat > "$XDG_DATA_HOME/applications/test-viewer.desktop" < "$work/a document.txt" +${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror \ + -I"$src/userland/apps/fileman" $(pkg-config --cflags gio-unix-2.0) \ + "$src/tests/host/test_fileman_associations.cpp" "$src/userland/apps/fileman/associations.cpp" \ + $(pkg-config --libs gio-unix-2.0) -o "$work/association" +"$work/association" "$work/a document.txt" "$XDG_DATA_HOME/applications/test-viewer.desktop" +for n in 1 2 3 4 5 6 7 8 9 10; do + [ ! -s "$FILEMAN_MARKER" ] || break + sleep .05 +done +test "$(cat "$FILEMAN_MARKER")" = "$work/a document.txt" diff --git a/tests/build/test-fileman-volumes.sh b/tests/build/test-fileman-volumes.sh index 957ca938..d860e9f2 100644 --- a/tests/build/test-fileman-volumes.sh +++ b/tests/build/test-fileman-volumes.sh @@ -10,3 +10,31 @@ ${HOSTCXX:-c++} -std=c++17 -D_GNU_SOURCE -Wall -Wextra -Werror \ "$src/tests/host/test_fileman_volumes.cpp" \ "$src/userland/apps/fileman/volumes.cpp" -o "$work/test" "$work/test" + +cat > "$work/blockdev-stub.cpp" <<'EOF' +#include +#include +extern "C" int reliefos_block_probe_filesystem(const char *, uint32_t *) { return -ENOSYS; } +EOF +${HOSTCXX:-c++} -std=c++17 -D_GNU_SOURCE -Wall -Wextra -Werror \ + -fno-exceptions -fno-rtti -idirafter "$src/userland/runtime/include" \ + "$src/userland/apps/fileman-volume-helper/main.cpp" \ + "$src/userland/apps/fileman/volumes.cpp" "$work/blockdev-stub.cpp" -o "$work/helper" +expect_status() { + expected=$1 + shift + if "$work/helper" "$@" > "$work/output"; then status=0; else status=$?; fi + test "$status" -eq "$expected" +} +expect_status 2 +expect_status 2 mount sdb1 42 extra +expect_status 2 shell sdb1 42 +expect_status 2 mount ../sdb1 42 +expect_status 2 mount sdb1 0 +expect_status 2 eject sdb1 18446744073709551616 +if test "$(id -u)" -ne 0; then + expect_status 1 mount sdb1 42 + printf 'ERROR\t1\n' > "$work/expected" + cmp "$work/expected" "$work/output" +fi +printf '%s\n' 'PASS volume helper rejects unsafe requests and requires root' diff --git a/tests/build/test-fileman-watch.sh b/tests/build/test-fileman-watch.sh deleted file mode 100644 index ce5671c4..00000000 --- a/tests/build/test-fileman-watch.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-fileman-watch.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -fsanitize=undefined \ - -fno-sanitize-recover=all -I"$src/userland/apps/fileman" \ - -I"$src/kernel/reliefnt/include/uapi" \ - "$src/tests/host/test_fileman_watch.c" "$src/userland/apps/fileman/watch.c" \ - "$src/userland/apps/fileman/selection.c" -o "$work/test" -"$work/test" "$work" diff --git a/tests/build/test-gbk-generator.sh b/tests/build/test-gbk-generator.sh index 645929b2..2447dadf 100644 --- a/tests/build/test-gbk-generator.sh +++ b/tests/build/test-gbk-generator.sh @@ -8,7 +8,8 @@ cc=${HOSTCC:-cc} $cc -std=c11 -Wall -Wextra -Wpedantic -Werror -I"$root" \ "$root/tools/host/assets/reliefos-gbk.c" \ "$root/tools/host/common/io.c" "$root/tools/host/common/buffer.c" -o "$work/gen" -"$work/gen" "$root/third_party/musl/src/locale/gb18030.h" "$work/table.h" +source_table=$root/userland/runtime/data/gbkuni30.txt +"$work/gen" "$source_table" "$work/table.h" cat > "$work/check.c" <<'EOF' #include #include "table.h" @@ -30,18 +31,20 @@ int main(void) { /* GBK D6 D0 is U+4E2D; CE C4 is U+6587. */ assert(reliefos_gbk_to_unicode[(0xd6 - 0x81)*190+(0xd0 - 0x41)] == 0x4e2d); assert(reliefos_gbk_to_unicode[(0xce - 0x81)*190+(0xc4 - 0x41)] == 0x6587); + assert(reliefos_gbk_to_unicode[(0xa3 - 0x81)*190+(0xa0 - 0x41)] == 0xe5e5); + assert(reliefos_gbk_to_unicode[(0xfe - 0x81)*190+(0xfe - 0x41)] == 0xe4c5); } EOF $cc -std=c11 -Wall -Werror "$work/check.c" -o "$work/check" "$work/check" before=$(stat -c '%y' "$work/table.h") -"$work/gen" "$root/third_party/musl/src/locale/gb18030.h" "$work/table.h" +"$work/gen" "$source_table" "$work/table.h" [ "$before" = "$(stat -c '%y' "$work/table.h")" ] cp "$work/table.h" "$work/expected" -for invalid in 'garbage' 'int gb18030_decoder::m_index[] = { 1, null };' \ - 'int gb18030_decoder::m_index[] = { 99999999999999999999999 };'; do - printf '%s\n' "$invalid" > "$work/bad.cpp" - if "$work/gen" "$work/bad.cpp" "$work/table.h" 2>/dev/null; then +for invalid in 'garbage' '4E02:817F' 'D800:8140' '4E02:8140'; do + cp "$source_table" "$work/bad.txt" + printf '%s\n' "$invalid" >> "$work/bad.txt" + if "$work/gen" "$work/bad.txt" "$work/table.h" 2>/dev/null; then echo 'FAIL - invalid GBK input accepted'; exit 1 fi cmp "$work/table.h" "$work/expected" diff --git a/tests/build/test-grub-cache.sh b/tests/build/test-grub-cache.sh deleted file mode 100644 index c7d070dd..00000000 --- a/tests/build/test-grub-cache.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# A missing/corrupt locked input must fail before unpacking or publication. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -deps=${RELIEFOS_DEPS:-} -[ -n "$deps" ] && [ -x "$deps" ] || { echo 'test-grub-cache: set RELIEFOS_DEPS to the built manifest tool' >&2; exit 1; } -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/grub-cache-test.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/stage" "$work/cache" "$work/bin" -printf 'prior complete stage\n' > "$work/stage/sentinel" -cp "$work/stage/sentinel" "$work/sentinel" -for command in curl wget; do - printf '#!/bin/sh\nprintf "unexpected fetch\\n" >> "%s"\nexit 99\n' "$work/network" > "$work/bin/$command" - chmod +x "$work/bin/$command" -done -for state in missing corrupt; do - if [ "$state" = corrupt ]; then printf 'corrupt archive\n' > "$work/cache/grub-2.16.tar.xz"; fi - if PATH="$work/bin:$PATH" sh "$src/tools/build/grub.sh" host "$deps" \ - "$src/configs/dependencies.lock.json" "$work/cache" "$work/work" "$work/stage" - cc unused \ - > "$work/$state.log" 2>&1; then - echo "$state GRUB archive unexpectedly accepted" >&2; exit 1 - fi - cmp "$work/sentinel" "$work/stage/sentinel" - test ! -e "$work/work" - test ! -e "$work/network" -done -printf 'PASS GRUB cache: absent/corrupt inputs fail offline, existing stage unchanged\n' diff --git a/tests/build/test-grub-kbuild-inputs.sh b/tests/build/test-grub-kbuild-inputs.sh deleted file mode 100644 index e0cd13fc..00000000 --- a/tests/build/test-grub-kbuild-inputs.sh +++ /dev/null @@ -1,218 +0,0 @@ -#!/bin/sh -# Prebuilt GRUB EFI modules are image inputs; native Kbuild must not synthesize -# its own .mod lists over them while the ESP target is being evaluated. -set -eu - -src=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -. "$src/tests/build/grub-fixture.sh" -tmp_base=${TMPDIR:-$src/out/kbuild-migration} -mkdir -p "$tmp_base" -work=$(mktemp -d "$tmp_base/grub-kbuild-inputs.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM - -fixture=$work/fixture -mkdir -p "$fixture" -modules=$fixture/efi-modules -grub_fixture_efi "$modules" -grub_fixture_bios "$work/bios-modules" -# GRUB emits empty indexes when a platform has no matching modules. Both -# firmware trees must retain these valid files while validating image inputs. -: > "$modules/fdt.lst" -: > "$work/bios-modules/fdt.lst" -find "$modules" "$work/bios-modules" -type f -exec touch -d @1700000000 {} + -test -s "$modules/normal.mod" -test "$(LC_ALL=C file -b "$modules/normal.mod" | cut -d' ' -f1)" = ELF - -cat > "$fixture/Kbuild" <<'EOF' -include $(RELIEFOS_SRC)/scripts/reliefos/Makefile.parameters -include $(RELIEFOS_SRC)/scripts/reliefos/Makefile.images -EOF - -mkdir -p "$fixture/fake-bin" -cat > "$fixture/fake-bin/grub-mkstandalone" <<'EOF' -#!/bin/sh -set -eu -if [ "${1-}" = --version ]; then - printf 'grub-mkstandalone fixture 1\n' - exit 0 -fi -output= -module_dir= -requested_modules= -while [ "$#" -gt 0 ]; do - if [ "$1" = -d ]; then - module_dir=$2 - shift 2 - elif [ "$1" = -o ]; then - output=$2 - shift 2 - elif [ "${1#--modules=}" != "$1" ]; then - requested_modules=${1#--modules=} - shift - else - shift - fi -done -test -n "$output" -test "$module_dir" = "$GRUB_EXPECTED_MODULES" -for name in $requested_modules; do - test -s "$module_dir/$name.mod" || { - echo "requested unavailable EFI module: $name" >&2 - exit 1 - } -done -mkdir -p "$(dirname "$output")" -printf 'fixture EFI payload\n' > "$output" -printf 'built\n' >> "$GRUB_STUB_LOG" -EOF -chmod +x "$fixture/fake-bin/grub-mkstandalone" - -prepare_output() { - target_out=$1 - mkdir -p "$target_out/generated/system" "$target_out/generated/grub" \ - "$target_out/generated/config" "$target_out/host/bin" "$target_out/meta" - printf 'fixture config\n' > "$target_out/.config" - printf 'fixture kernel\n' > "$target_out/generated/system/kernel.sys" - grub_fixture_initramfs "$target_out/generated/system/kernel.sys" "$target_out/generated/system/initramfs.cpio" - printf 'fixture font\n' > "$target_out/generated/grub/leonos-unicode.pf2" - printf 'theme=metro\nwallpaper.mode=fill\n' > "$target_out/generated/config/display.conf" - printf '#!/bin/sh\nexit 0\n' > "$target_out/host/bin/reliefos-emit" - chmod +x "$target_out/host/bin/reliefos-emit" - # Existing external inputs only run their validation recipe when their - # producer is newer. Force that real path without rebuilding any GRUB. - printf 'fixture GRUB producer\n' > "$target_out/grub-validation.stamp" - touch -d @1700000001 "$target_out/grub-validation.stamp" -} - -run_esp() { - target_out=$1 - module_dir=$2 - stub_log=$3 - bios_dir=${4:-$work/bios-modules} - PATH="$fixture/fake-bin:$PATH" GRUB_STUB_LOG="$stub_log" \ - GRUB_EXPECTED_MODULES="$module_dir" \ - CONFIG_SHELL=/bin/sh AWK=awk srctree="$src" objtree=. VPATH="$src" \ - make --no-print-directory -rR -C "$target_out" \ - -f "$src/scripts/Makefile.port" -f "$src/scripts/Makefile.build" \ - obj=. kbuild-file="$fixture/Kbuild" KBUILD_BUILTIN=1 \ - RELIEFOS_SRC="$src" O_GENERATED="$target_out/generated" \ - O_STAGE="$target_out/stage" O_META="$target_out/meta" \ - O_IMAGES="$target_out/images" RELIEFOS_HOST_BIN="$target_out/host/bin" \ - RELIEFOS_CONFIG_FILE="$target_out/.config" \ - RELIEFOS_EMIT="$target_out/host/bin/reliefos-emit" \ - RELIEFOS_KERNEL_TOOLS="${RELIEFOS_KERNEL_TOOLS:-$src/out/kbuild-os-native/host/bin/reliefos-kernel-tools}" \ - RELIEFOS_INITRAMFS="$target_out/generated/system/initramfs.cpio" \ - RELIEFOS_INITRAMFS_MANIFEST="$target_out/generated/system/initramfs.cpio.json" \ - GRUB_FONT="$target_out/generated/grub/leonos-unicode.pf2" \ - GRUB_BIOS_DIR="$bios_dir" GRUB_MKSTANDALONE=grub-mkstandalone \ - GRUB_EFI_STAMP="$target_out/grub-validation.stamp" \ - GRUB_HOST_TOOLS="$target_out/grub-validation.stamp" \ - GRUB_EFI_DIR="$module_dir" SOURCE_DATE_EPOCH=1700000000 esp -} - -hash_modules() { - find "$1" -maxdepth 1 -type f -name '*.mod' -print | LC_ALL=C sort | - xargs sha256sum -} - -prepare_output "$work/output" -hash_modules "$modules" > "$work/modules.before" -if ! run_esp "$work/output" "$modules" "$work/grub-stub.log" > "$work/first.log" 2>&1; then - cat "$work/first.log" >&2 - echo 'FAIL - native ESP target fixture did not build' >&2 - exit 1 -fi -test -f "$modules/fdt.lst" && test ! -s "$modules/fdt.lst" -test -f "$work/bios-modules/fdt.lst" && test ! -s "$work/bios-modules/fdt.lst" -test -f "$work/output/stage/esp/grub/i386-pc/fdt.lst" -test ! -s "$work/output/stage/esp/grub/i386-pc/fdt.lst" -if ! hash_modules "$modules" > "$work/modules.after-first" || - ! cmp -s "$work/modules.before" "$work/modules.after-first"; then - diff -u "$work/modules.before" "$work/modules.after-first" > "$work/modules.diff" || : - sed -n '1,20p' "$work/modules.diff" >&2 - cat "$work/first.log" >&2 - echo 'FAIL - native Kbuild changed prebuilt GRUB .mod image inputs' >&2 - exit 1 -fi - -if ! run_esp "$work/output" "$modules" "$work/grub-stub.log" > "$work/second.log" 2>&1; then - cat "$work/second.log" >&2 - echo 'FAIL - repeated native ESP target fixture did not build' >&2 - exit 1 -fi -hash_modules "$modules" > "$work/modules.after-second" -cmp "$work/modules.before" "$work/modules.after-second" -test "$(wc -l < "$work/grub-stub.log" | tr -d ' ')" = 1 || { - echo 'FAIL - repeated native ESP target rebuilt its GRUB EFI stage' >&2 - exit 1 -} - -# The wildcard dependency list alone is insufficient: Make drops an absent -# path before dependency resolution. The fixed modules requested by -# boot-stage.sh must retain explicit prerequisites so a missing source errors. -missing_modules=$work/missing-modules -cp -a "$modules" "$missing_modules" -rm "$missing_modules/normal.mod" -prepare_output "$work/missing-output" -if run_esp "$work/missing-output" "$missing_modules" "$work/missing-stub.log" \ - > "$work/missing.log" 2>&1; then - cat "$work/missing.log" >&2 - echo 'FAIL - ESP target accepted a missing required GRUB module source' >&2 - exit 1 -fi -if ! grep -Fq 'missing required GRUB EFI module' "$work/missing.log"; then - cat "$work/missing.log" >&2 - echo 'FAIL - missing required GRUB module did not report the source error' >&2 - exit 1 -fi -test ! -e "$work/missing-stub.log" || { - echo 'FAIL - ESP stage ran despite a missing required GRUB module' >&2 - exit 1 -} - -# An empty payload is invalid even when it exists. Test both platforms and -# firmware images as well as modules, keeping valid empty indexes alongside. -for platform in efi bios; do - for name in normal.mod kernel.img; do - empty_modules=$work/empty-$platform-$name - if [ "$platform" = efi ]; then - cp -a "$modules" "$empty_modules" - empty_efi=$empty_modules - empty_bios=$work/bios-modules - expected_error='missing required GRUB EFI module input' - else - cp -a "$work/bios-modules" "$empty_modules" - empty_efi=$modules - empty_bios=$empty_modules - expected_error='missing required GRUB BIOS input' - fi - : > "$empty_modules/$name" - touch -d @1700000000 "$empty_modules/$name" - empty_output=$work/empty-$platform-$name-output - prepare_output "$empty_output" - if run_esp "$empty_output" "$empty_efi" "$empty_output/stub.log" "$empty_bios" \ - > "$empty_output/validation.log" 2>&1; then - echo "FAIL - ESP target accepted empty $platform input $name" >&2 - exit 1 - fi - grep -Fq "$expected_error" "$empty_output/validation.log" || { - cat "$empty_output/validation.log" >&2 - echo "FAIL - empty $platform input did not fail external validation: $name" >&2 - exit 1 - } - test ! -e "$empty_output/stub.log" - done -done - -# BIOS .mod files are equally protected; absent generated inputs must not -# become Kbuild's plain-text module lists. -rm "$work/bios-modules/biosdisk.mod" -prepare_output "$work/missing-bios-output" -if run_esp "$work/missing-bios-output" "$modules" "$work/missing-bios-stub.log" \ - > "$work/missing-bios.log" 2>&1; then - echo 'FAIL - ESP target accepted a missing required BIOS module' >&2; exit 1 -fi -grep -Fq 'missing required GRUB BIOS input' "$work/missing-bios.log" -test ! -e "$work/bios-modules/biosdisk.mod" -test ! -e "$work/missing-bios-stub.log" -printf 'GRUB Kbuild input regression passed: EFI/BIOS ELF inputs and empty indexes preserved, no-op repeat stable, missing and empty payloads rejected\n' diff --git a/tests/build/test-hda-products.sh b/tests/build/test-hda-products.sh deleted file mode 100644 index 9eb77771..00000000 --- a/tests/build/test-hda-products.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -# Verify actual configured kernel products and their complete staged bundle. -set -eu -repo=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) -audio_out=${AUDIO_OUT:-${RELIEFOS_TEST_BUILD_ROOT:-"$repo/out/x86_64/release"}} -audio_root="$audio_out/rootfs/raw" -for name in kernel.sys kernel.debug; do - for product in "$audio_out/generated/system/$name" "$audio_out/kernel-install/$name"; do - if [ ! -s "$product" ]; then - echo "FAIL missing product: $product" >&2 - exit 1 - fi - done - cmp "$audio_out/generated/system/$name" "$audio_out/kernel-install/$name" -done -if find "$audio_out/generated" "$audio_out/kernel-install" "$audio_root/usr/lib" -name '*.drv' | grep -q .; then - echo "FAIL stale .drv driver modules are still produced or staged" >&2 - exit 1 -fi -if [ -d "$audio_root/usr/lib/reliefos/drivers" ]; then - echo "FAIL stale staged driver directory: $audio_root/usr/lib/reliefos/drivers" >&2 - exit 1 -fi -kernel_tools=${RELIEFOS_KERNEL_TOOLS:-"$audio_out/host/bin/reliefos-kernel-tools"} -inspector=${RELIEFOS_TEST_RECOVERY:-"$audio_out/userland/initramfs/kernel-bundle.elf"} -"$kernel_tools" check-install "$audio_out/kernel-install" -python3 - "$audio_out" <<'PY' -import json,sys -from pathlib import Path -out=Path(sys.argv[1]);install=out/'kernel-install';root=out/'rootfs/raw' -bundle=json.loads((install/'install.bundle.json').read_bytes()) -release=bundle['release'];configuration=bundle['configuration'] -module_names={Path(name).name for name in bundle['modules']} -builtin_names={Path(name).name for name in (install/'lib/modules'/release/'modules.builtin').read_text().splitlines()} -for option,name in {'SND_HDA_INTEL':'hda','SND_INTEL8X0':'ac97','SND_ENS1371':'es1371', - 'E1000':'e1000','MOUSE_PS2':'mouse','SERIAL_8250':'serial'}.items(): - state=configuration.get(option,'n');product=name+'.ko' - assert (product in module_names)==(state=='m'), (option,state,'module inventory') - assert (product in builtin_names)==(state=='y'), (option,state,'builtin inventory') - print(f'{option}={state}: {product}') -for name in bundle['modules']: - assert (root/name).read_bytes()==(install/name).read_bytes(),name -payload=json.loads((root/'usr/lib/reliefos/kernel'/release/'bundle.json').read_bytes()) -assert payload['release']==release and payload['module_abi']==bundle['module_abi'] -manifest=json.loads((out/'rootfs/manifest.json').read_bytes());text=json.dumps(manifest) -assert 'usr/lib/reliefos/drivers' not in text, 'staged driver directory in manifest' -assert '.drv' not in text, 'staged .drv driver module in manifest' -print('Configured kernel products and staged manifest PASS') -PY -release=$(cat "$audio_out/rootfs/raw/usr/lib/reliefos/kernel/current-release") -"$inspector" --inspect "$audio_root" "$release" diff --git a/tests/build/test-header-boundary.sh b/tests/build/test-header-boundary.sh deleted file mode 100755 index 677b4c7a..00000000 --- a/tests/build/test-header-boundary.sh +++ /dev/null @@ -1,167 +0,0 @@ -#!/bin/sh -# Header-boundary contract tests for the kernel/userland split. -# -# Asserts the rebuild scope the separation depends on: -# 1. a kernel-private header change must NOT recompile userland runtime; -# 2. a UAPI content change must reinstall the export and recompile its -# userland consumers; -# 3. headers_install must not churn mtimes when nothing changed (otherwise -# every build would silently rebuild all of userland); -# 4. the probe markers must leave the shared checkout byte-for-byte as they -# were (a leaked marker dirties the tree for every later test). -set -u -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -# The kernel checkout under test (env-overridable, see test-incremental.sh). -reliefnt=${RELIEFNT_DIR:-${NTCLKS_DIR:-$repo_root/kernel/reliefnt}} - -# Probe files live in the shared checkout, so runs must not interleave: two -# instances racing on the same files restore each other's half-written state -# into the tree and the loser's marker stays behind forever. The lock is keyed -# by checkout, and lives in its Git metadata so runs with different TMPDIR -# values still serialize without writing outside the repository's data disk. -probe_gitdir=$(git -C "$reliefnt" rev-parse --absolute-git-dir) || exit 1 -probe_lock=$probe_gitdir/reliefos-header-boundary-probe-$(id -u).lock -exec 9>"$probe_lock" || exit 1 -if ! flock -n 9; then - printf 'FAIL - another header-boundary run on %s is in flight\n' "$reliefnt" - exit 1 -fi - -probe_sched="$reliefnt/include/reliefnt/sched.h" -probe_fsabi="$reliefnt/include/uapi/reliefos/fs_abi.h" - -# A run killed between marker append and restore leaves the marker behind for -# every later test to trip over (the release gate treats the checkout as dirty). -# Refuse to compound it: name the file and how to restore it. -for changed in "$probe_sched" "$probe_fsabi"; do - if [ -f "$changed" ] && tail -n 1 "$changed" | grep -q 'header-boundary probe'; then - printf 'FAIL - %s still carries a probe marker from an interrupted run\n' "$changed" - printf ' restore it (git -C %s checkout -- ) and rerun\n' "$reliefnt" - exit 1 - fi -done - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-header-boundary.XXXXXX") || exit 1 -O="$work/out" -failures=0 -checks=0 - -# Baselines: restored byte-for-byte at the end and checked. Backups stay in -# $work, never beside the probed sources: an in-tree .bak is itself dirt and -# races with any other writer of the same file. Restores copy without -p on -# purpose: the un-probe is a content change and Make must see it as one (a -# preserved old mtime hides the restore from the export's freshness checks and -# the change surfaces later as phantom churn). -backup_dir=$work/probe-backup -mkdir -p "$backup_dir" || exit 1 -cp "$probe_sched" "$backup_dir/sched.h" || exit 1 -cp "$probe_fsabi" "$backup_dir/fs_abi.h" || exit 1 -probe_sched_sum=$(sha256sum "$probe_sched" | cut -d' ' -f1) -probe_fsabi_sum=$(sha256sum "$probe_fsabi" | cut -d' ' -f1) - -cleanup() { - # Restore the checkout first: tests append marker comments to live sources. - [ -f "$backup_dir/sched.h" ] && cp "$backup_dir/sched.h" "$probe_sched" - [ -f "$backup_dir/fs_abi.h" ] && cp "$backup_dir/fs_abi.h" "$probe_fsabi" - [ -n "${KEEP_WORK:-}" ] || rm -rf "$work" -} -trap cleanup EXIT INT TERM - -advance_clock() { sleep 1; } - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then shift; printf ' %s\n' "$@"; fi -} - -build() { - # $1 = log file, rest = targets. Runtime only: it is the userland consumer - # of the export and pulls musl/pam once per run. - logfile=$1 - shift - make -s O="$O" "$@" >"$logfile" 2>&1 - status=$? - if [ "$status" -ne 0 ]; then - printf 'FAIL - make exited with %s; assertions below mean nothing\n' "$status" - tail -n 25 "$logfile" | sed 's/^/ | /' - exit 1 - fi -} - -cc_actions() { grep -cE '^ CC ' "$1" || true; } - -export_include="$O/kernel-export/include" - -printf '== header boundary ==\n' - -# Baseline: config + export + runtime. -build "$work/0.log" defconfig headers_install runtime -[ -f "$export_include/reliefos/fs_abi.h" ] \ - && [ -f "$export_include/linux/types.h" ] \ - && pass "export tree installed under $export_include" \ - || fail "export tree missing" "$(find "$O/kernel-export" -type f | head)" - -# 1. Kernel-private header change must not recompile the userland runtime. -printf '\n/* header-boundary probe */\n' >> "$probe_sched" -advance_clock -build "$work/1.log" runtime -if [ "$(cc_actions "$work/1.log")" -eq 0 ]; then - pass "kernel-private header change recompiles 0 userland objects" -else - fail "kernel-private header change recompiled userland objects:" \ - "$(grep -E '^ CC ' "$work/1.log" | head)" -fi -cp "$backup_dir/sched.h" "$probe_sched" - -# 2. UAPI content change must reinstall the export and recompile consumers. -printf '\n/* header-boundary probe */\n' >> "$probe_fsabi" -advance_clock -build "$work/2.log" runtime -if cmp -s "$probe_fsabi" "$export_include/reliefos/fs_abi.h" && - [ "$(cc_actions "$work/2.log")" -ge 1 ]; then - pass "UAPI content change reinstalled export and recompiled consumers" -else - fail "UAPI content change did not propagate" \ - "export bytes must match the changed source; CC=$(cc_actions "$work/2.log")" -fi -cp "$backup_dir/fs_abi.h" "$probe_fsabi" - -# 3. A forced reinstall with unchanged content must not touch installed files -# (content-stable publishing; otherwise every build rebuilds userland). -advance_clock -build "$work/3.log" headers_install -before=$work/mtimes-before.txt -after=$work/mtimes-after.txt -find "$export_include" -type f -printf '%p %T@\n' | sort > "$before" -touch configs/header-export.list -advance_clock -build "$work/4.log" headers_install -find "$export_include" -type f -printf '%p %T@\n' | sort > "$after" -if cmp -s "$before" "$after"; then - pass "unchanged export keeps installed mtimes stable" -else - fail "installed mtimes churned without content change" \ - "$(diff "$before" "$after" | head)" -fi - -# 5. The probes must be gone from the shared checkout: a leaked marker leaves -# the tree dirty for every later test and for the release gate. -if [ "$(sha256sum "$probe_sched" | cut -d' ' -f1)" = "$probe_sched_sum" ] && - [ "$(sha256sum "$probe_fsabi" | cut -d' ' -f1)" = "$probe_fsabi_sum" ]; then - pass "probe sources restored byte-for-byte" -else - fail "probe sources restored byte-for-byte" \ - "sched.h: $(sha256sum "$probe_sched" | cut -d' ' -f1) want $probe_sched_sum" \ - "fs_abi.h: $(sha256sum "$probe_fsabi" | cut -d' ' -f1) want $probe_fsabi_sum" -fi - -printf '%s checks, %s failures\n' "$checks" "$failures" -[ "$failures" -eq 0 ] diff --git a/tests/build/test-host-kbuild.sh b/tests/build/test-host-kbuild.sh index 65d27c2b..0b13eaa7 100644 --- a/tests/build/test-host-kbuild.sh +++ b/tests/build/test-host-kbuild.sh @@ -1,6 +1,8 @@ #!/bin/sh # Production host tools must follow native commands and same-path tool changes. set -eu +# The contract driver supplies its own already built helper to other suites. +unset RELIEFOS_EMIT root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) work=$(mktemp -d) trap 'rm -rf "$work"' EXIT HUP INT TERM @@ -18,12 +20,19 @@ DRIVER chmod +x "$work/launcher" "$work/driver" hostcc="$work/launcher $work/driver" -make -C "$root" O="$work/out" HOSTCC="$hostcc" -j4 V=1 tools > "$work/first.log" 2>&1 +build_tools() { + if ! make -C "$root" O="$work/out" HOSTCC="$hostcc" -j4 V=1 tools > "$1" 2>&1; then + cat "$1" >&2 + return 1 + fi +} + +build_tools "$work/first.log" object=$work/out/tools/host/common/buffer.o before_object=$(stat -c '%y' "$object") find "$work/out/host/bin" -maxdepth 1 -type f -perm /111 \ -printf '%f %T@\n' | LC_ALL=C sort > "$work/links.before" -make -C "$root" O="$work/out" HOSTCC="$hostcc" -j4 V=1 tools > "$work/noop.log" 2>&1 +build_tools "$work/noop.log" [ "$before_object" = "$(stat -c '%y' "$object")" ] || { echo 'FAIL - no-op invocation changed a host object timestamp' >&2; exit 1; } @@ -37,14 +46,14 @@ if grep -Eq '^(HOSTCC|HOSTCXX|HOSTLD|HOSTAR|CC|LD|AR)[[:space:]]' "$work/noop.lo fi printf '# launcher replaced in-place\n' >> "$work/launcher" -make -C "$root" O="$work/out" HOSTCC="$hostcc" -j4 V=1 tools > "$work/launcher-replaced.log" 2>&1 +build_tools "$work/launcher-replaced.log" before_driver=$(stat -c '%y' "$object") [ "$before_object" != "$before_driver" ] || { echo 'FAIL - same-path HOSTCC launcher replacement left a stale object' >&2; exit 1; } printf '# driver replaced in-place\n' >> "$work/driver" -make -C "$root" O="$work/out" HOSTCC="$hostcc" -j4 V=1 tools > "$work/driver-replaced.log" 2>&1 +build_tools "$work/driver-replaced.log" [ "$before_driver" != "$(stat -c '%y' "$object")" ] || { echo 'FAIL - same-path wrapped HOSTCC driver replacement left a stale object' >&2; exit 1; } diff --git a/tests/build/test-image-adapters.sh b/tests/build/test-image-adapters.sh deleted file mode 100644 index 25c13796..00000000 --- a/tests/build/test-image-adapters.sh +++ /dev/null @@ -1,213 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -. "$src/tests/build/grub-fixture.sh" -w=$(mktemp -d); trap 'rm -rf "$w"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror "$src/tools/host/images/reliefos-ext2-time.c" -lext2fs -lcom_err -o "$w/time" -cat > "$w/reliefos-time" <> '$w/selected-time-tool' -exec '$w/time' "\$@" -EOF -cat > "$w/leonos-time" <> '$w/selected-time-tool' -exec '$w/time' "\$@" -EOF -chmod +x "$w/reliefos-time" "$w/leonos-time" -mkdir -p "$w/root/etc" "$w/root/tmp" -mkdir -p "$w/root/etc/reliefos" "$w/root/home/test" -printf 'leonos-standalone-test-v1\n' > "$w/root/etc/reliefos/test-image" -printf 'owned\n' > "$w/root/home/test/file" -chmod 1777 "$w/root/tmp" -printf 'data\n' > "$w/root/file with spaces" -ln -s 'file with spaces' "$w/root/link" -for name in a b; do - if [ "$name" = a ]; then - RELIEFOS_EXT2_TIME=$w/reliefos-time LEONOS_EXT2_TIME=$w/leonos-time \ - sh "$src/tools/build/images.sh" ext2 "$w/root" "$w/$name.ext2" 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/$name.log" 2>&1 - else - LEONOS_EXT2_TIME=$w/leonos-time \ - sh "$src/tools/build/images.sh" ext2 "$w/root" "$w/$name.ext2" 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/$name.log" 2>&1 - fi -done -[ "$(sed -n '1p' "$w/selected-time-tool")" = reliefos ] -[ "$(sed -n '2p' "$w/selected-time-tool")" = leonos ] -cmp "$w/a.ext2" "$w/b.ext2" -debugfs -R 'stat /tmp' "$w/a.ext2" 2>/dev/null | grep -q '1777' -debugfs -R 'stat /link' "$w/a.ext2" 2>/dev/null | grep -q 'symlink' -debugfs -R 'stat /home/test/file' "$w/a.ext2" 2>/dev/null | grep -Eq 'User: +1000 +Group: +1000' -[ "$(stat -c %a "$w/root/tmp")" = 1777 ] -printf 'image adapters: reproducible ext2, modes and symlinks passed\n' - -# Installer RAM roots reserve less per inode, while retaining every file and -# hard link. Use enough small files to exercise sizing above the 128 MiB floor. -cp -a "$w/root" "$w/dense-root" -mkdir -p "$w/dense-root/files" "$w/dense-root/links" -awk 'BEGIN { for (i = 0; i < 16384; ++i) printf "%03d %05d\n", int(i / 128), i }' | -while read -r bucket name; do - if [ "${previous_bucket:-}" != "$bucket" ]; then - mkdir "$w/dense-root/files/$bucket" - previous_bucket=$bucket - fi - printf 'fixture inode %s\n' "$name" > "$w/dense-root/files/$bucket/$name" -done -# A file extending beyond one block exercises tail allocation, and many aliases -# ensure shared data/inodes are counted once while every directory name survives. -dd if=/dev/zero of="$w/dense-root/files/000/00000" bs=4097 count=1 2>/dev/null -awk 'BEGIN { for (i = 0; i < 2048; ++i) printf "%05d\n", i }' | -while read -r name; do - ln "$w/dense-root/files/000/00000" "$w/dense-root/links/$name" -done -( - unset IMAGE_RAM_ROOT - IMAGE_MIN_MIB=0 RELIEFOS_EXT4_TIME=$w/time \ - sh "$src/tools/build/images.sh" ext4 "$w/dense-root" "$w/default.ext4" \ - 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/default-ext4.log" 2>&1 -) -IMAGE_RAM_ROOT=0 IMAGE_MIN_MIB=0 RELIEFOS_EXT4_TIME=$w/time \ - sh "$src/tools/build/images.sh" ext4 "$w/dense-root" "$w/explicit-default.ext4" \ - 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/explicit-default.log" 2>&1 -cmp "$w/default.ext4" "$w/explicit-default.ext4" -IMAGE_RAM_ROOT=1 IMAGE_MIN_MIB=0 RELIEFOS_EXT4_TIME=$w/time \ - sh "$src/tools/build/images.sh" ext4 "$w/dense-root" "$w/compact.ext4" \ - 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/compact.log" 2>&1 -test "$(stat -c %s "$w/compact.ext4")" -lt "$(stat -c %s "$w/default.ext4")" -IMAGE_RAM_ROOT=1 IMAGE_MIN_MIB=256 RELIEFOS_EXT4_TIME=$w/time \ - sh "$src/tools/build/images.sh" ext4 "$w/dense-root" "$w/minimum.ext4" \ - 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/minimum.log" 2>&1 -test "$(stat -c %s "$w/minimum.ext4")" -eq 268435456 -for name in default compact minimum; do - debugfs -R 'dump /files/000/00000 '"$w/dumped" "$w/$name.ext4" > /dev/null 2>&1 - cmp "$w/dense-root/files/000/00000" "$w/dumped" - debugfs -R 'dump /files/127/16383 '"$w/dumped" "$w/$name.ext4" > /dev/null 2>&1 - cmp "$w/dense-root/files/127/16383" "$w/dumped" - original_inode=$(debugfs -R 'stat /files/000/00000' "$w/$name.ext4" 2>/dev/null | awk '/^Inode:/ { print $2 }') - linked_inode=$(debugfs -R 'stat /links/02047' "$w/$name.ext4" 2>/dev/null | awk '/^Inode:/ { print $2 }') - test -n "$original_inode" && test "$original_inode" = "$linked_inode" - debugfs -R 'stat /files/000/00000' "$w/$name.ext4" 2>/dev/null | grep -Eq 'Links: +2049 ' - debugfs -R 'stat /tmp' "$w/$name.ext4" 2>/dev/null | grep -q '1777' - debugfs -R 'stat /link' "$w/$name.ext4" 2>/dev/null | grep -q 'symlink' - debugfs -R 'stat /home/test/file' "$w/$name.ext4" 2>/dev/null | grep -Eq 'User: +1000 +Group: +1000' -done -# A dense 128 MiB image can be valid yet lack the required runtime room. Refuse -# publication atomically, and let the configured image minimum supply more room. -cp -al "$w/dense-root" "$w/crowded-root" -awk 'BEGIN { for (i = 96; i < 128; ++i) printf "%03d\n", i }' | -while read -r bucket; do rm -rf "$w/crowded-root/files/$bucket"; done -printf 'previous image\n' > "$w/previous-image" -cp "$w/previous-image" "$w/insufficient.ext4" -if IMAGE_RAM_ROOT=1 IMAGE_MIN_MIB=0 RELIEFOS_EXT4_TIME=$w/time \ - sh "$src/tools/build/images.sh" ext4 "$w/crowded-root" "$w/insufficient.ext4" \ - 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/insufficient.log" 2>&1; then - echo 'FAIL - installer RAM root published with less than 64 MiB free' >&2 - exit 1 -fi -grep -q 'IMAGE_RAM_ROOT requires at least 64 MiB free' "$w/insufficient.log" -cmp "$w/previous-image" "$w/insufficient.ext4" -for flag in bad 2 -1 01; do - if IMAGE_RAM_ROOT=$flag RELIEFOS_EXT4_TIME=$w/time \ - sh "$src/tools/build/images.sh" ext4 "$w/root" "$w/bad-flag.ext4" \ - 1700000000 5c13543b-732c-4f81-8652-621124484420 > "$w/bad-flag.log" 2>&1; then - echo 'FAIL - invalid IMAGE_RAM_ROOT accepted' >&2 - exit 1 - fi - grep -q 'IMAGE_RAM_ROOT must be 0 or 1' "$w/bad-flag.log" - test ! -e "$w/bad-flag.ext4" -done -# The build graph opts in only its installer ext4 module, and tracks the policy -# in its image parameters. Live and disk roots explicitly keep the default. -grep -Fq 'IMAGE_RAM_ROOT=1 IMAGE_MIN_MIB=$(or $(CONFIG_INSTALLER_ROOT_SIZE_MIB),32) IMAGE_FLOOR_MIB=32' "$src/scripts/reliefos/Makefile.images" -test "$(grep -c 'IMAGE_RAM_ROOT=0 RELIEFOS_EXT4_TIME=' "$src/scripts/reliefos/Makefile.images")" -eq 2 -grep -Fq '|installer-ram-root=1|installer-inode-reserve=5120|' "$src/scripts/reliefos/Makefile.images" -printf 'image adapters: compact installer ext4, hard links, permissions, minimum and free-space guard passed\n' - -# Exercise the real ESP staging rule with only GRUB's file-producing command -# mocked. The resulting tree is inspected by the disk and ISO rules. -mkdir -p "$w/fake-bin" "$w/modules" -printf 'kernel-payload\n' > "$w/kernel.sys" -grub_fixture_initramfs "$w/kernel.sys" "$w/initramfs.cpio" -printf 'font-payload\n' > "$w/font.pf2" -printf 'theme=metro\n' > "$w/display.conf" -cat > "$w/fake-bin/grub-mkstandalone" < "\$out" -EOF -chmod +x "$w/fake-bin/grub-mkstandalone" -grub_fixture_bios "$w/bios-modules" -PATH="$w/fake-bin:$PATH" RELIEFOS_KERNEL_TOOLS="${RELIEFOS_KERNEL_TOOLS:-$src/out/kbuild-os-native/host/bin/reliefos-kernel-tools}" sh "$src/tools/build/boot-stage.sh" \ - "$src" "$w/modules" "$w/bios-modules" "$w/kernel.sys" "$w/initramfs.cpio" "$w/font.pf2" \ - "$w/display.conf" "$w/esp" 1700000000 -failures=0 -require_file() { - if [ -s "$1" ]; then printf 'ok - %s\n' "$2"; else printf 'FAIL - %s\n' "$2"; failures=$((failures + 1)); fi -} -require_text() { - if grep -Fq -- "$2" "$1"; then printf 'ok - %s\n' "$3"; else printf 'FAIL - %s\n' "$3"; failures=$((failures + 1)); fi -} -require_file "$w/esp/reliefos/kernel.sys" 'ESP stages the canonical ReliefOS kernel path' -require_file "$w/esp/leonos/kernel.sys" 'ESP keeps a legacy kernel payload for rollback' -require_file "$w/esp/reliefos/initramfs.cpio" 'ESP stages the paired early userspace' -cmp "$w/initramfs.cpio" "$w/esp/leonos/initramfs.cpio" -if [ -f "$w/esp/reliefos/kernel.sys" ] && [ -f "$w/esp/leonos/kernel.sys" ] && - cmp -s "$w/esp/reliefos/kernel.sys" "$w/esp/leonos/kernel.sys"; then - printf 'ok - canonical and legacy ESP kernels are matched payloads\n' -else - printf 'FAIL - canonical and legacy ESP kernels are matched payloads\n' - failures=$((failures + 1)) -fi -if [ ! -e "$w/esp/loader.elf" ] && [ ! -e "$w/esp/reliefos/loader.elf" ] && - [ ! -e "$w/esp/leonos/loader.elf" ]; then - printf 'ok - ESP stages no retired loader.elf payload\n' -else - printf 'FAIL - ESP stages no retired loader.elf payload\n' - failures=$((failures + 1)) -fi -for file in boot/grub/installer.cfg boot/grub/live.cfg; do - require_text "$src/$file" 'multiboot2 /reliefos/kernel.sys' "$file boots kernel.sys directly" -done -require_text "$src/boot/grub/grub.cfg" 'multiboot2 $reliefos_kernel' 'installed GRUB boots the selected checked version' -require_file "$w/esp/grub/kernel-slots.cfg" 'ESP includes the stable kernel slot selector' -require_text "$src/boot/grub/grub.cfg" 'Previous complete kernel' 'installed GRUB retains an actual complete previous kernel' -require_file "$w/esp/grub/other-systems.cfg" 'ESP includes multi-system discovery' -for file in boot/grub/installer.cfg boot/grub/live.cfg; do - require_text "$src/$file" 'module2 /install/root.fat reliefos-installer-root' "$file keeps the installer root module" -done -for file in boot/grub/grub.cfg boot/grub/installer.cfg boot/grub/live.cfg boot/grub/embedded.cfg; do - if grep -Fq 'loader.elf' "$src/$file"; then - printf 'FAIL - %s references the retired loader\n' "$file" - failures=$((failures + 1)) - else - printf 'ok - %s does not reference the retired loader\n' "$file" - fi -done -require_text "$src/boot/grub/installer_embedded.cfg" '"$cmdpath"' 'embedded GRUB binds to its own boot medium first' -require_text "$src/boot/grub/installer_embedded.cfg" '@RELIEFOS_ISO_MARKER@' 'ISO marker is specialized per medium' -require_text "$src/tools/build/iso.sh" 'marker=reliefos-$volume.marker' 'Live and installer use distinct fallback markers' -require_text "$src/tools/build/iso.sh" 's/@RELIEFOS_ISO_MARKER@/$marker/g' 'ISO stage publishes its matching embedded identity' -require_text "$src/scripts/reliefos/Makefile.images" '$(O_IMAGES)/reliefos.vmdk' 'image target uses the ReliefOS VMDK name' -require_text "$src/scripts/reliefos/Makefile.images" '$(O_IMAGES)/reliefos-live.iso' 'image target uses the ReliefOS live ISO name' -require_text "$src/scripts/reliefos/Makefile.images" '$(O_IMAGES)/reliefos-installer.iso' 'image target uses the ReliefOS installer ISO name' -require_text "$src/tools/build/disk.sh" 'name=RELIEFOS_ESP' 'GPT ESP partition has the canonical name' -require_text "$src/tools/build/disk.sh" 'name=RELIEFOS_ROOT' 'GPT root partition has the canonical name' -require_text "$src/tools/build/disk.sh" '-n RELIEFOS' 'FAT label fits the eight-character limit' -require_text "$src/tools/build/disk.sh" 'esp_uuid=$(sh "$src/tools/build/image-identity.sh" esp)' 'ESP UUID comes from the configured instance identity' -require_text "$src/tools/build/disk.sh" 'root_uuid=$(sh "$src/tools/build/image-identity.sh" root)' 'root UUID comes from the same instance identity' -require_text "$src/userland/apps/installer/install_ops.h" 'TARGET_BOOT "/reliefos/kernel.sys"' 'installer detects the canonical ESP kernel path' -require_text "$src/userland/apps/installer/install_ops.h" 'TARGET_BOOT "/leonos/kernel.sys"' 'installer recognizes a legacy ESP kernel path' -if [ "$failures" -ne 0 ]; then exit 1; fi - -# The runtime publisher now validates the complete versioned kernel/modules/ -# initramfs bundle. Its dedicated native suite covers interrupted publication, -# legacy rollback, loader selection and exact durable slot ordering, using the -# actual production sources and GRUB. Keep those assertions in one maintained -# owner rather than compiling an obsolete subset of the runtime here. -GRUB_HOST_ROOT="${GRUB_HOST_ROOT:-$src/out/kbuild-os-native/grub-host}" \ - python3 "$src/tools/test_bootloader_install.py" -printf 'image adapters: ReliefOS ESP, ISO, GPT and checked publication contracts passed\n' diff --git a/tests/build/test-incremental.sh b/tests/build/test-incremental.sh deleted file mode 100644 index 41015759..00000000 --- a/tests/build/test-incremental.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# Real production Kbuild behavior, using disposable sources and output trees. -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -exec python3 "$root/tools/test_build_incremental.py" diff --git a/tests/build/test-initramfs-stage.sh b/tests/build/test-initramfs-stage.sh deleted file mode 100644 index 2289dd2c..00000000 --- a/tests/build/test-initramfs-stage.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -set -eu -exec python3 "$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)/tools/test_initramfs_stage.py" diff --git a/tests/build/test-installer-stage.sh b/tests/build/test-installer-stage.sh deleted file mode 100644 index 3d35dbd8..00000000 --- a/tests/build/test-installer-stage.sh +++ /dev/null @@ -1,277 +0,0 @@ -#!/bin/sh -# Test installer-only payload at the signed-package boundary, not just its source. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror "$src/tools/host/manifest/reliefos-dedup.c" -o "$w/dedup" -export INSTALLER_DEDUP_TOOL="$w/dedup" -mkdir -p "$w/src/tools/build" "$w/src/Documentation/admin-guide" "$w/src/configs" "$w/src/userland/apps/installer" "$w/src/system/xorg" \ - "$w/out/userland" "$w/out/userland-installer" \ - "$w/raw/usr/lib/reliefos/apps/soundctl" "$w/raw/usr/lib/leonos" "$w/raw/usr/bin" \ - "$w/raw/etc/reliefos/icewm" "$w/raw/etc/runlevels/default" \ - "$w/raw/etc/X11/xdm" "$w/raw/etc/pam.d" "$w/raw/etc/fonts/conf.d" "$w/raw/usr/share/applications" \ - "$w/raw/usr/lib/X11/xdm" \ - "$w/raw/usr/lib/reliefos/apps" "$w/raw/usr/share/reliefmath" \ - "$w/raw/usr/share/licenses/reliefmath" "$w/raw/usr/share/mime/packages" \ - "$w/raw/usr/share/fonts/reliefos" "$w/raw/usr/share/reliefos" \ - "$w/esp/EFI/BOOT" "$w/esp/reliefos" "$w/esp/leonos" "$w/esp/grub" -printf 'guide\n' > "$w/src/Documentation/admin-guide/installation.rst" -cp "$src/configs/fltk-apps.list" "$w/src/configs/fltk-apps.list" -printf 'future-fltk\n' >> "$w/src/configs/fltk-apps.list" -printf '[Desktop Entry]\n' > "$w/src/userland/apps/installer/installer.desktop" -cp "$src/system/xorg/installer-session" "$w/src/system/xorg/installer-session" -ln -s "$src/resources" "$w/src/resources" -printf 'canonical runtime\n' > "$w/raw/usr/lib/reliefos/libreliefos.so.2" -cp "$w/raw/usr/lib/reliefos/libreliefos.so.2" "$w/raw/usr/lib/reliefos/independent-file" -ln "$w/raw/usr/lib/reliefos/independent-file" "$w/raw/usr/lib/reliefos/original-hardlink" -printf 'compat runtime\n' > "$w/raw/usr/lib/leonos/libleonos.so.2" -printf 'sound controls\n' > "$w/raw/usr/lib/reliefos/apps/soundctl/soundctl.elf" -printf 'xorg\n' > "$w/raw/etc/reliefos/desktop-backend" -printf 'xorg server config\n' > "$w/raw/etc/X11/xorg.conf" -printf 'xdm conf\n' > "$w/raw/etc/X11/xdm/xdm-config" -printf 'xdm servers\n' > "$w/raw/etc/X11/xdm/Xservers" -printf 'xdm resources\n' > "$w/raw/etc/X11/xdm/Xresources" -printf '#!/bin/sh\nexit 0\n' > "$w/raw/usr/lib/X11/xdm/Xsession" -printf '#!/bin/sh\nexit 0\n' > "$w/raw/usr/lib/X11/xdm/Xsetup_0" -chmod 755 "$w/raw/usr/lib/X11/xdm/Xsession" "$w/raw/usr/lib/X11/xdm/Xsetup_0" -printf 'toolbar\n' > "$w/raw/etc/reliefos/icewm/toolbar" -printf 'icewm pam\n' > "$w/raw/etc/pam.d/xdm" -printf 'wallpaper\n' > "$w/raw/etc/reliefos/wallpaper.png" -for path in usr/lib/reliefos/reliefos-xdm usr/lib/reliefos/xorg-tty-wrapper; do - mkdir -p "$w/raw/${path%/*}" - printf 'Xorg helper\n' > "$w/raw/$path" -done -ln -s reliefos/icewm "$w/raw/etc/icewm" -for app in $(cat "$w/src/configs/fltk-apps.list"); do - [ "$app" != installer ] || continue - mkdir -p "$w/raw/usr/lib/reliefos/apps/$app" - printf '%s executable\n' "$app" > "$w/raw/usr/lib/reliefos/apps/$app/$app.elf" - printf '%s manifest\n' "$app" > "$w/raw/usr/lib/reliefos/apps/$app/manifest.ini" - ln -s "../lib/reliefos/apps/$app/$app.elf" "$w/raw/usr/bin/$app" - printf '[Desktop Entry]\n' > "$w/raw/usr/share/applications/reliefos-$app.desktop" - for size in 16 32 48 64 128 256; do - icons=usr/share/icons/hicolor/${size}x${size}/apps - mkdir -p "$w/raw/$icons" - printf '%s icon\n' "$app" > "$w/raw/$icons/reliefos-$app.png" - done -done -printf 'math font\n' > "$w/raw/usr/share/reliefmath/STIXTwoMath-Regular.otf" -printf 'font license\n' > "$w/raw/usr/share/licenses/reliefmath/STIX-OFL.txt" -printf 'license summary\n' > "$w/raw/usr/share/licenses/reliefmath/README.md" -printf '\n' > "$w/raw/usr/share/mime/packages/reliefmath.xml" -printf 'shared CJK font\n' > "$w/raw/usr/share/fonts/reliefos/simsun.ttc" -printf 'unrelated app data\n' > "$w/raw/usr/share/reliefos/other-app-data" -printf 'worker executable\n' > "$w/raw/usr/lib/reliefos/apps/reliefmath/reliefmath-render.elf" -printf 'window icon\n' > "$w/raw/usr/lib/reliefos/apps/reliefmath/reliefmath.bmp" -for size in 16 32 48 64 128 256; do - mkdir -p "$w/raw/usr/share/icons/hicolor/${size}x${size}/apps" - printf 'math icon\n' > "$w/raw/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-reliefmath.png" -done -ln -s ../../init.d/reliefos-audio "$w/raw/etc/runlevels/default/reliefos-audio" -printf 'gptinit\n' > "$w/out/userland-installer/gptinit.elf" -printf 'installer\n' > "$w/out/userland/installer.elf" -for path in usr/sbin/reliefos-boot-install usr/sbin/grub-install \ - usr/sbin/grub-bios-setup usr/sbin/grub-probe usr/bin/grub-mkimage \ - usr/lib/grub/i386-pc/boot.img; do - mkdir -p "$w/raw/${path%/*}" - printf 'boot tool fixture\n' > "$w/raw/$path" -done -chmod 755 "$w/out/userland/installer.elf" "$w/out/userland-installer/gptinit.elf" -printf 'efi\n' > "$w/esp/EFI/BOOT/BOOTX64.EFI" -printf 'new-kernel\n' > "$w/esp/reliefos/kernel.sys" -printf 'legacy-kernel\n' > "$w/esp/leonos/kernel.sys" -printf 'menuentry reliefos\n' > "$w/esp/grub/grub.cfg" -cat > "$w/src/tools/build/apk-stage.sh" <<'ADAPTER' -#!/bin/sh -set -eu -[ "$#" = 12 ] || { echo "adapter: expected 12 arguments, got $#" >&2; exit 2; } -[ "$7" = fixture-deps ] || { echo "adapter: wrong dependency tool: $7" >&2; exit 2; } -[ "$8" = fixture-lock ] || { echo "adapter: wrong dependency lock: $8" >&2; exit 2; } -cp -a "$2" "$3" -mkdir -p "$3/lib/apk/db" -printf 'fixture package database\n' > "$3/lib/apk/db/installed" -ADAPTER -cat > "$w/src/tools/build/installer-xfce-profile.sh" <<'ADAPTER' -#!/bin/sh -set -eu -[ "$#" = 7 ] && [ "$5" = fixture ] && [ "$7" = fixture-deps ] -cp -a "$2" "$3" -mkdir -p "$3/etc/X11" -printf '#!/bin/sh\nexec /usr/bin/startxfce4\n' > "$3/etc/X11/Xsession" -chmod +x "$3/etc/X11/Xsession" -printf 'XFCE fixture package database\n' > "$3/lib/apk/db/installed" -ADAPTER -cp "$src/tools/build/installer-console-profile.sh" "$w/src/tools/build/installer-console-profile.sh" -APK_TOOL=fixture APK_UPSTREAM=fixture APK_DEPS_TOOL=fixture-deps APK_LOCK=fixture-lock \ - APK_OWN_TOOL=fixture APK_KEY=fixture APK_VERSION=fixture \ - sh "$src/tools/build/installer-stage.sh" "$w/src" "$w/out" "$w/raw" "$w/esp" "$w/stage" 1700000000 -APK_TOOL=fixture APK_UPSTREAM=fixture APK_DEPS_TOOL=fixture-deps APK_LOCK=fixture-lock \ - APK_OWN_TOOL=fixture APK_KEY=fixture APK_VERSION=fixture \ - sh "$src/tools/build/installer-stage.sh" "$w/src" "$w/out" "$w/raw" "$w/esp" "$w/stage-split" 1700000000 "$w/payload" -for root in root root-console root-xfce; do - [ -d "$w/payload/$root" ] || { - echo "installer payload is missing $root" >&2 - exit 1 - } -done -[ -f "$w/payload/esp/reliefos/kernel.sys" ] -[ -f "$w/payload/esp/grub/grub.cfg" ] -[ ! -e "$w/stage-split/install" ] || { - echo 'installer payload was duplicated into the runtime root' >&2 - exit 1 -} -program=usr/lib/reliefos/apps/installer/installer.elf -[ -x "$w/stage/$program" ] || { echo 'FAIL - installer executable missing from runtime package'; exit 1; } -cmp "$w/out/userland/installer.elf" "$w/stage/$program" -[ "$(readlink "$w/stage/usr/bin/installer")" = ../lib/reliefos/apps/installer/installer.elf ] -[ -x "$w/stage/usr/lib/reliefos/apps/gptinit/gptinit.elf" ] -[ "$(readlink "$w/stage/usr/bin/gptinit")" = ../lib/reliefos/apps/gptinit/gptinit.elf ] -[ "$(cat "$w/stage/etc/reliefos/installer-runtime")" = installer ] -[ -x "$w/stage/usr/lib/reliefos/installer-session" ] -cmp "$w/src/system/xorg/installer-session" "$w/stage/usr/lib/reliefos/installer-session" -grep -q '/usr/bin/icewm-session' "$w/stage/usr/lib/reliefos/installer-session" -if grep -q 'xwallpaper' "$w/stage/usr/lib/reliefos/installer-session"; then - echo 'live installer session must leave its background to the IceWM theme' >&2 - exit 1 -fi -[ -f "$w/stage/usr/share/applications/reliefos-installer.desktop" ] -cmp "$w/src/userland/apps/installer/installer.desktop" \ - "$w/stage/usr/share/applications/reliefos-installer.desktop" -cmp "$src/resources/build-art/app-icons/installer.bmp" "$w/stage/usr/lib/reliefos/apps/installer/installer.bmp" -for size in 16 32 48 64 128 256; do - icon=usr/share/icons/hicolor/${size}x${size}/apps/reliefos-installer.png - cmp "$src/resources/build-art/app-icons/hicolor/${size}x${size}/apps/reliefos-installer.png" "$w/stage/$icon" - [ ! -e "$w/stage/install/root-console/$icon" ] -done -# The runtime root keeps the plain X11 policy of the raw root: the marker is -# never rewritten and the X session files are never stripped. -[ "$(cat "$w/stage/etc/reliefos/desktop-backend")" = xorg ] -[ "$(cat "$w/stage/install/root/etc/reliefos/desktop-backend")" = xorg ] -[ "$(cat "$w/stage/install/root-console/etc/reliefos/desktop-backend")" = console ] -[ "$(cat "$w/stage/install/root-xfce/etc/reliefos/desktop-backend")" = xorg ] -[ -x "$w/stage/install/root-xfce/etc/X11/Xsession" ] -[ ! -e "$w/stage/install/root/etc/X11/Xsession" ] -for profile in "$w/stage" "$w/stage/install/root" "$w/stage/install/root-console" "$w/stage/install/root-xfce"; do - for path in usr/sbin/reliefos-boot-install usr/sbin/grub-install \ - usr/sbin/grub-bios-setup usr/sbin/grub-probe usr/bin/grub-mkimage \ - usr/lib/grub/i386-pc/boot.img; do - cmp "$w/raw/$path" "$profile/$path" - done -done -for path in etc/X11/xdm/xdm-config etc/X11/xdm/Xservers \ - etc/X11/xdm/Xresources usr/lib/X11/xdm/Xsession \ - usr/lib/X11/xdm/Xsetup_0; do - [ -f "$w/stage/$path" ] - [ -f "$w/stage/install/root/$path" ] - [ ! -e "$w/stage/install/root-console/$path" ] -done -# No package root installs the former ReliefOS-specific XDM config or script -# paths after the move to XDM's standard directories. -for root in "$w/stage" "$w/stage/install/root" "$w/stage/install/root-console"; do - for path in etc/reliefos/xdm.conf etc/reliefos/xdm-Xservers \ - etc/reliefos/xdm-Xresources etc/reliefos/xdm-session \ - etc/reliefos/xdm-setup usr/lib/reliefos/xdm-session \ - usr/lib/reliefos/xdm-setup; do - [ ! -e "$root/$path" ] - done -done -[ -f "$w/stage/etc/reliefos/icewm/toolbar" ] -[ -f "$w/stage/install/root/usr/lib/reliefos/apps/calc/calc.elf" ] -[ ! -e "$w/stage/install/root-console/etc/X11/xorg.conf" ] -[ ! -e "$w/stage/install/root-console/etc/X11/xdm/xdm-config" ] -[ ! -e "$w/stage/install/root-console/etc/X11/xdm/Xservers" ] -[ ! -e "$w/stage/install/root-console/etc/X11/xdm/Xresources" ] -[ ! -e "$w/stage/install/root-console/usr/lib/X11/xdm/Xsession" ] -[ ! -e "$w/stage/install/root-console/usr/lib/X11/xdm/Xsetup_0" ] -[ ! -e "$w/stage/install/root-console/etc/reliefos/icewm" ] -[ ! -e "$w/stage/install/root-console/etc/icewm" ] -[ ! -e "$w/stage/install/root-console/etc/pam.d/xdm" ] -[ ! -e "$w/stage/install/root-console/etc/reliefos/wallpaper.png" ] -for path in usr/lib/reliefos/reliefos-xdm usr/lib/reliefos/xorg-tty-wrapper; do - [ ! -e "$w/stage/install/root-console/$path" ] -done -for app in $(cat "$w/src/configs/fltk-apps.list"); do - [ ! -e "$w/stage/install/root-console/usr/lib/reliefos/apps/$app" ] - [ ! -e "$w/stage/install/root-console/usr/bin/$app" ] - [ ! -e "$w/stage/install/root-console/usr/share/applications/reliefos-$app.desktop" ] - [ "$app" != installer ] || continue - for profile in "$w/stage" "$w/stage/install/root"; do - cmp "$w/raw/usr/lib/reliefos/apps/$app/$app.elf" "$profile/usr/lib/reliefos/apps/$app/$app.elf" - [ -L "$profile/usr/bin/$app" ] - [ -f "$profile/usr/share/applications/reliefos-$app.desktop" ] - for size in 16 32 48 64 128 256; do - icon=usr/share/icons/hicolor/${size}x${size}/apps/reliefos-$app.png - cmp "$w/raw/$icon" "$profile/$icon" - [ ! -e "$w/stage/install/root-console/$icon" ] - done - done -done -for path in \ - usr/lib/reliefos/apps/reliefmath \ - usr/bin/reliefmath \ - usr/share/applications/reliefos-reliefmath.desktop \ - usr/share/reliefmath \ - usr/share/licenses/reliefmath \ - usr/share/mime/packages/reliefmath.xml; do - [ ! -e "$w/stage/install/root-console/$path" ] || { - echo "ReliefMath asset entered console root: $path" >&2 - exit 1 - } -done -for size in 16 32 48 64 128 256; do - [ ! -e "$w/stage/install/root-console/usr/share/icons/hicolor/${size}x${size}/apps/reliefos-reliefmath.png" ] -done -[ -f "$w/stage/install/root/usr/lib/reliefos/apps/reliefmath/reliefmath-render.elf" ] -[ -f "$w/stage/install/root/usr/share/reliefmath/STIXTwoMath-Regular.otf" ] -[ -f "$w/stage/install/root/usr/share/licenses/reliefmath/STIX-OFL.txt" ] -[ -f "$w/stage/install/root/usr/share/mime/packages/reliefmath.xml" ] -[ -f "$w/stage/install/root-console/usr/share/fonts/reliefos/simsun.ttc" ] -[ -f "$w/stage/install/root-console/usr/share/reliefos/other-app-data" ] -[ -d "$w/stage/install/root-console/usr/lib/reliefos/apps/soundctl" ] -[ -f "$w/stage/install/root-console/usr/lib/reliefos/libreliefos.so.2" ] -inode() { stat -c '%d:%i' "$1"; } -library=$w/stage/usr/lib/reliefos/libreliefos.so.2 -installed_library=$w/stage/install/root/usr/lib/reliefos/libreliefos.so.2 -console_library=$w/stage/install/root-console/usr/lib/reliefos/libreliefos.so.2 -xfce_library=$w/stage/install/root-xfce/usr/lib/reliefos/libreliefos.so.2 -[ "$(inode "$library")" = "$(inode "$installed_library")" ] -[ "$(inode "$library")" = "$(inode "$console_library")" ] -[ "$(inode "$library")" = "$(inode "$xfce_library")" ] -# A future install from any one tree must retain separate package files. -for tree in "$w/stage" "$w/stage/install/root" "$w/stage/install/root-console" "$w/stage/install/root-xfce"; do - [ "$(inode "$tree/usr/lib/reliefos/libreliefos.so.2")" != "$(inode "$tree/usr/lib/reliefos/independent-file")" ] - [ "$(inode "$tree/usr/lib/reliefos/independent-file")" = "$(inode "$tree/usr/lib/reliefos/original-hardlink")" ] -done -runtime_db=$w/stage/lib/apk/db/installed -installed_db=$w/stage/install/root/lib/apk/db/installed -console_db=$w/stage/install/root-console/lib/apk/db/installed -[ "$(inode "$runtime_db")" != "$(inode "$installed_db")" ] -[ "$(inode "$runtime_db")" != "$(inode "$console_db")" ] -[ "$(inode "$installed_db")" != "$(inode "$console_db")" ] -[ "$(inode "$installed_db")" != "$(inode "$w/stage/install/root-xfce/lib/apk/db/installed")" ] -runtime_marker=$w/stage/etc/reliefos/desktop-backend -installed_marker=$w/stage/install/root/etc/reliefos/desktop-backend -console_marker=$w/stage/install/root-console/etc/reliefos/desktop-backend -[ "$(inode "$runtime_marker")" != "$(inode "$installed_marker")" ] -[ "$(inode "$runtime_marker")" != "$(inode "$console_marker")" ] -[ "$(inode "$installed_marker")" != "$(inode "$console_marker")" ] -# No windowd stack is staged or revived on either root. -[ ! -e "$w/stage/etc/runlevels/default/reliefos-windowd" ] -[ ! -e "$w/stage/etc/runlevels/default/reliefos-session" ] -[ ! -e "$w/stage/etc/runlevels/default/reliefos-imd" ] -[ ! -e "$w/stage/usr/lib/reliefos/apps/windowd" ] -[ ! -e "$w/stage/usr/lib/reliefos/apps/desktop" ] -[ ! -e "$w/stage/install/root/usr/lib/reliefos/apps/desktop" ] -# Runtime libraries and installed apps are the raw root's own; nothing is -# overridden with an installer-policy build. -cmp "$w/raw/usr/lib/reliefos/libreliefos.so.2" "$w/stage/usr/lib/reliefos/libreliefos.so.2" -cmp "$w/raw/usr/lib/reliefos/libreliefos.so.2" "$w/stage/install/root/usr/lib/reliefos/libreliefos.so.2" -cmp "$w/raw/usr/lib/leonos/libleonos.so.2" "$w/stage/install/root/usr/lib/leonos/libleonos.so.2" -cmp "$w/raw/usr/lib/reliefos/apps/soundctl/soundctl.elf" \ - "$w/stage/install/root/usr/lib/reliefos/apps/soundctl/soundctl.elf" -[ ! -e "$w/stage/install/root/$program" ] -[ -f "$w/stage/install/esp/reliefos/kernel.sys" ] -[ -f "$w/stage/install/esp/leonos/kernel.sys" ] -[ -f "$w/stage/install/esp/grub/grub.cfg" ] -echo 'installer stage: executable, X11 live policy and canonical/rollback boot kernels are packaged' diff --git a/tests/build/test-installer-update-engine.sh b/tests/build/test-installer-update-engine.sh deleted file mode 100755 index b8b718a8..00000000 --- a/tests/build/test-installer-update-engine.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -set -eu -ulimit -c 0 -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/installer-update-engine.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/target" "$work/media/usr/share/reliefos/apk/repository" -printf 'fixture package archive\n' > "$work/media/usr/share/reliefos/apk/repository/fixture.apk" -${HOSTCC:-cc} -std=c11 -D_GNU_SOURCE -O1 -Wall -Wextra -Werror \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -ffunction-sections -fdata-sections -Wl,--gc-sections \ - -I"$src/userland/runtime/include" -I"$src/include" -idirafter "$src/kernel/reliefnt/include/uapi" \ - "$src/tools/tests/installer_update_engine_test.c" \ - "$src/userland/apps/installer/installer_update_supervisor.c" \ - "$src/userland/apps/installer/installer_update_progress.c" -o "$work/test" -ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 "$work/test" "$work" diff --git a/tests/build/test-installer-update-model.sh b/tests/build/test-installer-update-model.sh deleted file mode 100755 index d0b35519..00000000 --- a/tests/build/test-installer-update-model.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -set -eu -ulimit -c 0 -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/installer-update-model.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir "$work/root" -${HOSTCC:-cc} -std=c11 -D_GNU_SOURCE -Wall -Wextra -Werror \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/installer" \ - "$src/tools/tests/installer_update_model_test.c" \ - "$src/userland/apps/installer/installer_update_model.c" \ - "$src/userland/apps/installer/installer_update_progress.c" \ - "$src/userland/apps/installer/installer_update_journal.c" -o "$work/test" -ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 "$work/test" "$work/root" diff --git a/tests/build/test-installer-update-packages.sh b/tests/build/test-installer-update-packages.sh deleted file mode 100755 index d6b35b80..00000000 --- a/tests/build/test-installer-update-packages.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -# Real signed APK transactions, including bounded read-only Installer preflight. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -RELIEFOS_TEST_OUTPUT=${RELIEFOS_TEST_OUTPUT:-${RELIEFOS_TEST_BUILD_ROOT:-$src/out/x86_64/release}} -export RELIEFOS_TEST_OUTPUT -exec "${RELIEFOS_TEST_PYTHON:-python3}" "$src/tools/test_installer_update_packages.py" -v diff --git a/tests/build/test-installer-update-supervisor.sh b/tests/build/test-installer-update-supervisor.sh deleted file mode 100755 index 44c1403a..00000000 --- a/tests/build/test-installer-update-supervisor.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu -ulimit -c 0 -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/installer-update-supervisor.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=gnu11 -O1 -Wall -Wextra -Werror \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - "$src/tools/tests/installer_update_supervisor_test.c" \ - "$src/userland/apps/installer/installer_update_supervisor.c" -o "$work/test" -ASAN_OPTIONS=detect_leaks=1:handle_sigbus=0 UBSAN_OPTIONS=halt_on_error=1 "$work/test" diff --git a/tests/build/test-installer-update-target.sh b/tests/build/test-installer-update-target.sh deleted file mode 100755 index e7e7e1d4..00000000 --- a/tests/build/test-installer-update-target.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -set -eu -ulimit -c 0 -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/installer-update-target.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -D_GNU_SOURCE -O1 -Wall -Wextra -Werror \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -ffunction-sections -fdata-sections -Wl,--gc-sections \ - -I"$src/userland/runtime/include" \ - "$src/tools/tests/installer_update_target_test.c" -o "$work/test" -ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 "$work/test" diff --git a/tests/build/test-kbuild.sh b/tests/build/test-kbuild.sh deleted file mode 100755 index 3aa61b2b..00000000 --- a/tests/build/test-kbuild.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) -exec python3 "$src/tools/test_kbuild.py" diff --git a/tests/build/test-kconfig-contract.sh b/tests/build/test-kconfig-contract.sh deleted file mode 100644 index e701e471..00000000 --- a/tests/build/test-kconfig-contract.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh -# Real native configuration must agree with the component selection reader. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -fail() { printf 'FAIL - %s\n' "$1" >&2; exit 1; } - -if grep -E '^(menu)?config ((BUILD_|TEST_|SDK_|RELEASE_)[A-Z0-9_]+|RELIEFOS_COMPONENT_[A-Z0-9_]+_(SDK|API))$' \ - "$src/Kconfig" "$src/Kconfig.components"; then - fail 'Kconfig exposes controls without product consumers' -fi -make -s -C "$src" O="$work/out" defconfig -make -s -C "$src" O="$work/out" config-sync -config=$work/out/.config -# Starting with olddefconfig must use the same product seed as defconfig. -# Otherwise a first menuconfig/olddefconfig can silently change image policy. -make -s -C "$src" O="$work/fresh" olddefconfig -cmp "$config" "$work/fresh/.config" -set_option() { - awk -v key="$1" -v value="$2" ' - index($0,key "=")==1 || $0=="# " key " is not set" {next} - {print} END {print key "=" value} - ' "$config" > "$work/next" - mv "$work/next" "$config" -} - -# A dependent build is enabled by native Kconfig; an entry cannot outlive its -# image member, even if an old config explicitly requested the entry. -set_option CONFIG_RELIEFOS_COMPONENT_APP_RELIEFMAIL_BUILD y -set_option CONFIG_RELIEFOS_COMPONENT_LIB_SQLITE_BUILD n -set_option CONFIG_RELIEFOS_COMPONENT_APP_RELIEFMAIL_IMAGE n -set_option CONFIG_RELIEFOS_COMPONENT_APP_RELIEFMAIL_ENTRY y -make -s -C "$src" O="$work/out" olddefconfig -make -s -C "$src" O="$work/out" config-sync -grep -qx 'CONFIG_RELIEFOS_COMPONENT_LIB_SQLITE_BUILD=y' "$config" -if grep -qx 'CONFIG_RELIEFOS_COMPONENT_APP_RELIEFMAIL_ENTRY=y' "$config"; then - fail 'native Kconfig kept an entry for an excluded image member' -fi -tool=$work/out/host/bin/reliefos-components -"$tool" --input "$src/configs/components.toml" --config "$config" \ - --output "$work/selected.mk" --metadata "$work/selected.tsv" -awk -F '\t' '$1=="reliefmail" {found=1;if($3!=1 || $4!=0 || $5!=0)exit 1} END{if(!found)exit 1}' "$work/selected.tsv" - -# Obsolete SDK and unsupported library image/entry keys must not remain a -# second configuration interface behind the native frontend. -cat > "$work/obsolete.config" <<'CONFIG' -CONFIG_RELIEFOS_COMPONENT_APP_MEMTEST_SDK=y -CONFIG_RELIEFOS_COMPONENT_LIB_NCURSES_BUILD=y -# CONFIG_RELIEFOS_COMPONENT_LIB_NCURSES_SDK is not set -CONFIG_RELIEFOS_COMPONENT_LIB_NCURSES_ENTRY=y -CONFIG -"$tool" --input "$src/configs/components.toml" --config "$work/obsolete.config" \ - --output "$work/obsolete.mk" --metadata "$work/obsolete.tsv" -awk -F '\t' '$1=="memtest" {found=1;if($6!=0)exit 1} END{if(!found)exit 1}' "$work/obsolete.tsv" -awk -F '\t' '$1=="ncurses" {found=1;if($5!=0 || $6!=1)exit 1} END{if(!found)exit 1}' "$work/obsolete.tsv" - -cp "$config" "$work/before" -make -s -C "$src" O="$work/out" olddefconfig -cmp "$work/before" "$config" -printf 'Kconfig product ownership, native dependencies and obsolete controls passed\n' diff --git a/tests/build/test-kernel-adapter.sh b/tests/build/test-kernel-adapter.sh deleted file mode 100755 index 3e5a3189..00000000 --- a/tests/build/test-kernel-adapter.sh +++ /dev/null @@ -1,398 +0,0 @@ -#!/bin/sh -# Contract tests for the ReliefNT kernel adapter (scripts/reliefos/Makefile.kernel, scripts/reliefos/Makefile.headers). -# -# The kernel products are built by the standalone checkout and published here; -# this suite covers the adapter's failure and recovery surface: a missing -# checkout fails with an actionable error, a dirty checkout is rebuilt and -# re-published, a deleted product is restored, parallel invocations on separate -# output directories succeed, and a build failure in the checkout surfaces the -# sub-make error and publishes no half-products. The destructive cases run -# against a scratch copy of the checkout (a fixture), never the real one. -set -u -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -# The kernel checkout under test (env-overridable, see tests/build/test-incremental.sh). -reliefnt=${RELIEFNT_DIR:-${NTCLKS_DIR:-$repo_root/kernel/reliefnt}} - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-adapter.XXXXXX") || exit 1 -O="$work/out" -failures=0 -checks=0 - -cleanup() { - [ -n "${KEEP_WORK:-}" ] || rm -rf "$work" -} -trap cleanup EXIT INT TERM - -advance_clock() { sleep 1; } - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then shift; printf ' %s\n' "$@"; fi -} - -adapter_contract() { - printf '=== ReliefNT adapter naming and compatibility contract ===\n' - mkdir -p "$work/new-kernel" "$work/old-kernel" - : > "$work/new-kernel/Makefile" - : > "$work/old-kernel/Makefile" - if make -s O="$work/contract-config" defconfig >"$work/contract-defconfig.log" 2>&1; then - pass 'contract configuration is isolated under a temporary O' - else - fail 'contract configuration is isolated under a temporary O' \ - "$(head -c 300 "$work/contract-defconfig.log")" - fi - if make -s -j8 O="$work/contract-config" config-sync \ - >"$work/contract-sync.log" 2>&1; then - pass 'contract configuration has a synchronized component graph' - else - fail 'contract configuration has a synchronized component graph' \ - "$(head -c 300 "$work/contract-sync.log")" - fi - - # Product previews use an initialized output, without generating any config. - for name in plan-new plan-old plan-priority plan-missing fetch-reliefnt-fetch fetch-ntclks-fetch; do - mkdir -p "$work/$name" - cp "$work/contract-config/.config" "$work/$name/.config" - mkdir -p "$work/$name/config" - cp "$work/contract-config/config/components.mk" "$work/$name/config/components.mk" - done - - if make -s -n O="$work/plan-new" \ - RELIEFNT_DIR="$work/new-kernel" RELIEFNT_O="$work/new-out" \ - CC='ccache clang' CXX='sccache clang++' kernel \ - >"$work/plan-new.log" 2>&1 && - grep -Fq -- "-C '$work/new-kernel' O='$work/new-out'" "$work/plan-new.log" && - grep -Fq "CC='ccache clang'" "$work/plan-new.log" && - grep -Fq "CXX='sccache clang++'" "$work/plan-new.log"; then - pass 'RELIEFNT_DIR, RELIEFNT_O and quoted tool commands reach the delegated build' - else - fail 'RELIEFNT_DIR, RELIEFNT_O and quoted tool commands reach the delegated build' \ - "$(head -c 300 "$work/plan-new.log")" - fi - - if env -u RELIEFNT_DIR make -s -n O="$work/plan-old" \ - NTCLKS_DIR="$work/old-kernel" NTCLKS_O="$work/old-out" kernel \ - >"$work/plan-old.log" 2>&1 && - grep -Fq -- "-C '$work/old-kernel' O='$work/old-out'" "$work/plan-old.log"; then - pass 'legacy NTCLKS_DIR and NTCLKS_O remain accepted as inputs' - else - fail 'legacy NTCLKS_DIR and NTCLKS_O remain accepted as inputs' \ - "$(head -c 300 "$work/plan-old.log")" - fi - - if make -s -n O="$work/plan-priority" \ - RELIEFNT_DIR="$work/new-kernel" RELIEFNT_O="$work/new-out" \ - NTCLKS_DIR="$work/old-kernel" NTCLKS_O="$work/old-out" kernel \ - >"$work/plan-priority.log" 2>&1 && - grep -Fq -- "-C '$work/new-kernel' O='$work/new-out'" "$work/plan-priority.log" && - ! grep -Fq -- "-C '$work/old-kernel'" "$work/plan-priority.log" && - ! grep -Fq -- " O='$work/old-out'" "$work/plan-priority.log"; then - pass 'new adapter variables take priority when both spellings are set' - else - fail 'new adapter variables take priority when both spellings are set' \ - "$(head -c 300 "$work/plan-priority.log")" - fi - - if make -s -n O="$work/plan-missing" \ - RELIEFNT_DIR="$work/kernel/reliefnt" kernel >"$work/plan-missing.log" 2>&1; then - fail 'a missing kernel checkout fails with ReliefNT setup guidance' 'make exited 0' - elif grep -Fq 'kernel/reliefnt' "$work/plan-missing.log" && - grep -Fq 'RELIEFNT_DIR' "$work/plan-missing.log"; then - pass 'a missing kernel checkout fails with ReliefNT setup guidance' - else - fail 'a missing kernel checkout fails with ReliefNT setup guidance' \ - "$(head -c 300 "$work/plan-missing.log")" - fi - - for goal in reliefnt-fetch ntclks-fetch; do - if make -s -n O="$work/fetch-$goal" \ - RELIEFNT_DIR="$work/new-kernel" "$goal" \ - >"$work/fetch-$goal.log" 2>&1; then - pass "make $goal is available" - else - fail "make $goal is available" "$(head -c 300 "$work/fetch-$goal.log")" - fi - done - - guard="$repo_root/tools/build/reliefnt-release-guard.sh" - fixture="$work/release-guard" - source="$fixture/source" - parent="$fixture/parent" - mkdir -p "$fixture" - git init -q --initial-branch=main "$source" - git -C "$source" config user.name fixture - git -C "$source" config user.email fixture@example.invalid - printf 'first\n' > "$source/payload" - git -C "$source" add payload - git -C "$source" commit -q -m first - matching=$(git -C "$source" rev-parse HEAD) - git init -q --initial-branch=main "$parent" - git -C "$parent" config user.name fixture - git -C "$parent" config user.email fixture@example.invalid - mkdir -p "$parent/kernel" - git clone -q --no-hardlinks "$source" "$parent/kernel/reliefnt" - git -C "$parent" config -f .gitmodules submodule.kernel/reliefnt.path kernel/reliefnt - git -C "$parent" config -f .gitmodules submodule.kernel/reliefnt.url \ - https://github.com/ReliefOSProject/ReliefNT.git - git -C "$parent" add .gitmodules - git -C "$parent" update-index --add --cacheinfo "160000,$matching,kernel/reliefnt" - git -C "$parent" commit -q -m 'fixture: record ReliefNT gitlink' - - if sh "$guard" "$parent" "$parent/kernel/reliefnt" kernel/reliefnt \ - >"$work/guard-clean.log" 2>&1; then - pass 'release guard accepts a clean checkout at the recorded gitlink' - else - fail 'release guard accepts a clean checkout at the recorded gitlink' \ - "$(head -c 300 "$work/guard-clean.log")" - fi - - : > "$parent/kernel/reliefnt/DIRTY_PROBE" - if sh "$guard" "$parent" "$parent/kernel/reliefnt" kernel/reliefnt \ - >"$work/guard-dirty.log" 2>&1; then - fail 'release guard rejects a dirty ReliefNT checkout' 'guard exited 0' - elif grep -qi 'dirty' "$work/guard-dirty.log"; then - pass 'release guard rejects a dirty ReliefNT checkout' - else - fail 'release guard rejects a dirty ReliefNT checkout' \ - "$(head -c 300 "$work/guard-dirty.log")" - fi - rm "$parent/kernel/reliefnt/DIRTY_PROBE" - - printf 'second\n' >> "$source/payload" - git -C "$source" add payload - git -C "$source" commit -q -m second - mismatched=$(git -C "$source" rev-parse HEAD) - git -C "$parent/kernel/reliefnt" fetch -q origin main - git -C "$parent/kernel/reliefnt" checkout -q --detach "$mismatched" - if sh "$guard" "$parent" "$parent/kernel/reliefnt" kernel/reliefnt \ - >"$work/guard-mismatch.log" 2>&1; then - fail 'release guard rejects a gitlink SHA mismatch' 'guard exited 0' - elif grep -Fq "$matching" "$work/guard-mismatch.log" && - grep -Fq "$mismatched" "$work/guard-mismatch.log"; then - pass 'release guard reports both SHAs when they differ' - else - fail 'release guard reports both SHAs when they differ' \ - "$(head -c 300 "$work/guard-mismatch.log")" - fi -} - -adapter_contract -if [ "${RELIEFNT_CONTRACT_ONLY:-0}" = 1 ]; then - printf '\n%s: %d checks, %d failures\n' 'test-kernel-adapter contract' "$checks" "$failures" - [ "$failures" -eq 0 ] || exit 1 - exit 0 -fi - -build() { - # $1 = log file, $2 = output directory, rest = extra make arguments. - logfile=$1 - shift - outdir=$1 - shift - make -s -j"$(nproc)" O="$outdir" "$@" kernel >"$logfile" 2>&1 -} - -printf '=== (a) a missing kernel checkout fails with an actionable error ===\n' -for goal in kernel headers_install; do - if make -s O="$work/missing" RELIEFNT_DIR="$work/no-such-checkout" "$goal" \ - >"$work/missing-$goal.log" 2>&1; then - fail "missing checkout refuses '$goal'" 'make exited 0' - else - pass "missing checkout refuses '$goal'" - fi - if grep -q 'RELIEFNT_DIR' "$work/missing-$goal.log" && - grep -Fq 'git submodule update --init --recursive' "$work/missing-$goal.log"; then - pass "the '$goal' error gives ReliefNT initialization guidance" - else - fail "the '$goal' error gives ReliefNT initialization guidance" \ - "$(head -c 200 "$work/missing-$goal.log")" - fi -done - -printf '\n=== (b) a dirty checkout source rebuilds and re-publishes ===\n' -if ! build "$work/base.log" "$O"; then - fail 'the baseline kernel build succeeds' "see $work/base.log" - tail -n 15 "$work/base.log" | sed 's/^/ | /' - printf '%s: aborting\n' "$0" >&2 - exit 1 -fi -pass 'the baseline kernel build succeeds' -expected_manifest="$work/expected-products" -actual_manifest="$work/actual-products" -printf '%s\n' kernel.debug kernel.sys \ - | LC_ALL=C sort > "$expected_manifest" -awk '/^artifacts:$/ { artifacts=1; next } artifacts { print $2 }' \ - "$O/kernel-install/manifest.txt" | LC_ALL=C sort > "$actual_manifest" -if cmp -s "$expected_manifest" "$actual_manifest"; then - pass 'kernel manifest contains the two required product names' -else - fail 'kernel manifest contains the two required product names' \ - "want: $(tr '\n' ' ' < "$expected_manifest")" \ - "have: $(tr '\n' ' ' < "$actual_manifest")" -fi -find "$O/generated" -type f -printf '%p %T@\n' | LC_ALL=C sort >"$work/published-before" -symbols_hash_before=$(sha256sum "$O/generated/system/kernel.debug" | cut -d' ' -f1) - -advance_clock -touch "$reliefnt/kernel/ipc/futex.c" -if build "$work/dirty.log" "$O"; then - pass 'a touched checkout source is rebuilt' -else - fail 'a touched checkout source is rebuilt' 'make failed' -fi -if grep -qE '^ CC +kernel/ipc/futex\.o$' "$work/dirty.log" && - grep -qE '^ (LD|IMAGE) ' "$work/dirty.log"; then - pass 'the sub-make relinks and refreshes the affected products' -else - fail 'the sub-make relinks and refreshes the affected products' \ - "$(grep -E '^ (CC|LD|IMAGE) ' "$work/dirty.log" | head -3 | tr '\n' ' ')" -fi -if [ "$symbols_hash_before" = "$(sha256sum "$O/generated/system/kernel.debug" | cut -d' ' -f1)" ]; then - pass 'touching a source preserves symbol bytes' -else - fail 'touching a source preserves symbol bytes' 'kernel.debug moved' -fi -# The publish path runs on every delegation; the published set must track what -# the kernel checkout installed byte for byte. -synced=yes -for pair in system/kernel.sys:kernel.sys system/kernel.debug:kernel.debug; do - rel=${pair%%:*} - name=${pair#*:} - cmp -s "$O/generated/$rel" "$O/kernel-install/$name" || synced=no -done -if [ "$synced" = yes ]; then - pass 'published products are byte-identical to the kernel install output' -else - fail 'published products are byte-identical to the kernel install output' \ - 'a published file drifted from the install' -fi - -printf '\n=== (c) a deleted published product is restored ===\n' -kernel_checksum=$(sha256sum "$O/generated/system/kernel.sys" | cut -d' ' -f1) -rm -f "$O/generated/system/kernel.sys" "$O/generated/system/kernel.debug" -if build "$work/restore.log" "$O" && - [ -s "$O/generated/system/kernel.sys" ] && [ -s "$O/generated/system/kernel.debug" ]; then - pass 'the deleted kernel.sys and kernel.debug are restored' -else - fail 'the deleted kernel.sys and kernel.debug are restored' 'still missing' -fi -if [ "$(sha256sum "$O/generated/system/kernel.sys" | cut -d' ' -f1)" = "$kernel_checksum" ]; then - pass 'the restored kernel.sys is byte-identical' -else - fail 'the restored kernel.sys is byte-identical' 'bytes differ' -fi - -printf '\n=== (d) two parallel kernel builds on different output directories ===\n' -build "$work/par1.log" "$work/par1" & -par1_pid=$! -build "$work/par2.log" "$work/par2" & -par2_pid=$! -wait "$par1_pid"; par1_status=$? -wait "$par2_pid"; par2_status=$? -if [ "$par1_status" -eq 0 ] && [ "$par2_status" -eq 0 ]; then - pass 'both parallel builds succeed' -else - fail 'both parallel builds succeed' "statuses $par1_status $par2_status" - tail -n 8 "$work/par1.log" "$work/par2.log" | sed 's/^/ | /' -fi -for tree in "$work/par1" "$work/par2"; do - if [ -s "$tree/generated/system/kernel.sys" ] && - cmp -s "$tree/generated/system/kernel.sys" "$O/generated/system/kernel.sys"; then - pass "$(basename "$tree") produces the same kernel image" - else - fail "$(basename "$tree") produces the same kernel image" 'missing or differs' - fi -done - -printf '\n=== (e) a build failure in the checkout publishes no half-products ===\n' -# Fixture: a scratch copy of the checkout. The real checkout is never edited. -fixture=$work/fixture -cp -a "$reliefnt" "$fixture" || exit 1 -broken=$fixture/kernel/ipc/futex.c -fail_out=$work/fail-out - -printf '\nthis is a deliberate syntax error in the fixture\n' >>"$broken" -if build "$work/fail.log" "$fail_out" RELIEFNT_DIR="$fixture"; then - fail 'a syntax error in the checkout fails the parent build' 'make exited 0' -else - pass 'a syntax error in the checkout fails the parent build' -fi -if grep -qF 'futex.c' "$work/fail.log"; then - pass 'the sub-make compile error surfaces in the build output' -else - fail 'the sub-make compile error surfaces in the build output' \ - "$(tail -c 300 "$work/fail.log")" -fi -if [ ! -e "$fail_out/generated/system/kernel.sys" ] && - [ ! -e "$fail_out/generated/system/kernel.debug" ]; then - pass 'the failed build publishes no half-products' -else - fail 'the failed build publishes no half-products' 'a product was published' -fi - -# Recovery: fixing the source makes the same tree build and publish. -cp "$reliefnt/kernel/ipc/futex.c" "$broken" -if build "$work/recover.log" "$fail_out" RELIEFNT_DIR="$fixture" && - [ -s "$fail_out/generated/system/kernel.sys" ]; then - pass 'the recovered fixture builds and publishes' -else - fail 'the recovered fixture builds and publishes' 'make failed or no kernel.sys' -fi -recovered_checksum=$(sha256sum "$fail_out/generated/system/kernel.sys" | cut -d' ' -f1) - -# A real content change must re-publish with new bytes (the dirty-modification -# path), and restoring the content must restore the image byte for byte. -printf '\nint reliefos_probe_marker = 1;\n' >>"$broken" -if build "$work/content.log" "$fail_out" RELIEFNT_DIR="$fixture"; then - content_checksum=$(sha256sum "$fail_out/generated/system/kernel.sys" | cut -d' ' -f1) - if [ "$content_checksum" != "$recovered_checksum" ]; then - pass 'a content change in the checkout re-publishes a new kernel.sys' - else - fail 'a content change in the checkout re-publishes a new kernel.sys' \ - 'kernel.sys bytes did not move' - fi -else - fail 'a content change in the checkout re-publishes a new kernel.sys' 'make failed' -fi -cp "$reliefnt/kernel/ipc/futex.c" "$broken" -if build "$work/restore-content.log" "$fail_out" RELIEFNT_DIR="$fixture" && - [ "$(sha256sum "$fail_out/generated/system/kernel.sys" | cut -d' ' -f1)" = \ - "$recovered_checksum" ]; then - pass 'restoring the source restores the image byte-identical' -else - fail 'restoring the source restores the image byte-identical' 'bytes differ' -fi - -# Failure after products exist: the published set must stay the old complete -# set, not gain a half-published mix. -debug_checksum=$(sha256sum "$fail_out/generated/system/kernel.debug" | cut -d' ' -f1) -printf '\nthis is a deliberate syntax error in the fixture\n' >>"$broken" -rm -f "$fail_out/generated/system/kernel.sys" -if build "$work/fail2.log" "$fail_out" RELIEFNT_DIR="$fixture"; then - fail 'a second failure keeps the parent build nonzero' 'make exited 0' -else - pass 'a second failure keeps the parent build nonzero' -fi -if [ ! -e "$fail_out/generated/system/kernel.sys" ]; then - pass 'a failed build does not restore a deleted product' -else - fail 'a failed build does not restore a deleted product' 'kernel.sys reappeared' -fi -if [ "$(sha256sum "$fail_out/generated/system/kernel.debug" | cut -d' ' -f1)" = \ - "$debug_checksum" ]; then - pass 'surviving products keep their bytes across a failed build' -else - fail 'surviving products keep their bytes across a failed build' 'kernel.debug moved' -fi - -printf '\n%s: %d checks, %d failures\n' 'test-kernel-adapter' "$checks" "$failures" -[ "$failures" -eq 0 ] || exit 1 -exit 0 diff --git a/tests/build/test-kernel-module-tools.sh b/tests/build/test-kernel-module-tools.sh deleted file mode 100644 index 23920904..00000000 --- a/tests/build/test-kernel-module-tools.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -set -eu -exec python3 "$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)/tools/test_kernel_module_tools.py" diff --git a/tests/build/test-kernel-modules-stage.sh b/tests/build/test-kernel-modules-stage.sh deleted file mode 100644 index b9dad2f7..00000000 --- a/tests/build/test-kernel-modules-stage.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -set -eu -exec python3 "$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)/tools/test_kernel_modules_stage.py" diff --git a/tests/build/test-kernel-payload.sh b/tests/build/test-kernel-payload.sh deleted file mode 100644 index 7e39de72..00000000 --- a/tests/build/test-kernel-payload.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -set -eu -exec python3 "$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)/tools/test_kernel_payload.py" diff --git a/tests/build/test-libbsd-development.sh b/tests/build/test-libbsd-development.sh deleted file mode 100755 index a5f8cee1..00000000 --- a/tests/build/test-libbsd-development.sh +++ /dev/null @@ -1,393 +0,0 @@ -#!/bin/sh -# Offline adapter tests. Python is used only to construct hostile test archives. -set -eu -LC_ALL=C -export LC_ALL -repo=$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd -P) -tmp_root=${TMPDIR:-$repo/out/tmp} -mkdir -p "$tmp_root" -work=$(mktemp -d "$tmp_root/reliefos-libbsd-development.XXXXXX") -trap 'rm -rf "$work"' 0 -trap 'exit 130' HUP INT TERM -fail() { printf 'libbsd-development test: %s\n' "$*" >&2; exit 1; } -adapter=$repo/tools/build/libbsd-development.sh -src=$work/source -cache=$work/cache -output=$work/out\ with\ spaces/libbsd/root -mkdir -p "$work/bin" "$work/good" "$cache" "$work/digests" \ - "$src/resources/licenses" "$src/system/rootfs/etc/apk/keys" "$work/md/lib" -cp "$repo/resources/licenses/libbsd-LICENSE" "$src/resources/licenses/libbsd-LICENSE" -printf 'fixture lock\n' >"$work/lock" -export FIXTURE_WORK="$work" FIXTURE_SRC="$src" -real_mv=$(command -v mv) -real_tar=$(command -v tar) -real_find=$(command -v find) -export FIXTURE_MV="$real_mv" FIXTURE_TAR="$real_tar" FIXTURE_FIND="$real_find" - -cat >"$work/bin/deps" <<'DATA' -#!/bin/sh -set -eu -[ "$#" = 6 ] && [ "$1" = --lock ] && [ "$2" = "$FIXTURE_WORK/lock" ] && - [ "$3" = --id ] && [ "$5" = --print ] || exit 2 -case $4 in - alpine-libbsd) name=libbsd;; - runtime-dev-libbsd-dev) name=libbsd-dev;; - runtime-dev-libbsd-static) name=libbsd-static;; - alpine-libmd) name=libmd;; - runtime-dev-libmd-dev) name=libmd-dev;; - *) exit 2;; -esac -case $name in libmd*) version=1.3.0-r0; channel=edge;; *) version=0.12.2-r0; channel=v3.24;; esac -case $6 in - url) - if [ "${BAD_URL:-0}" = 1 ]; then printf 'https://fixture.invalid/../bad.apk\n'; exit; fi - printf 'https://dl-cdn.alpinelinux.org/alpine/%s/main/x86_64/%s-%s.apk\n' "$channel" "$name" "$version";; - sha256) - if [ "${BAD_DIGEST:-0}" = 1 ]; then printf 'bad-digest\n'; exit; fi - cat "$FIXTURE_WORK/digests/$name";; - *) exit 2;; -esac -DATA -cat >"$work/bin/apk" <<'DATA' -#!/bin/sh -set -eu -[ "$#" = 4 ] && [ "$1" = --keys-dir ] && - [ "$2" = "$FIXTURE_SRC/system/rootfs/etc/apk/keys" ] && [ "$3" = verify ] || exit 2 -sha256sum "$4" >>"$FIXTURE_WORK/verifications" -if [ "${FAIL_VERIFY_AFTER:-0}" = "$(wc -l <"$FIXTURE_WORK/verifications" | tr -d ' ')" ]; then exit 9; fi -DATA -cat >"$work/bin/mv" <<'DATA' -#!/bin/sh -set -eu -if [ "$#" = 2 ] && [ "$2" = "${FAIL_PUBLISH_DEST:-}" ] && [ -f "$FIXTURE_WORK/fail-once" ]; then - rm "$FIXTURE_WORK/fail-once" - exit 9 -fi -exec "$FIXTURE_MV" "$@" -DATA -cat >"$work/bin/tar" <<'DATA' -#!/bin/sh -set -eu -if [ "${FAIL_EXTRACT:-0}" = 1 ]; then - for arg do [ "$arg" != -xOzf ] || exit 9; done -fi -exec "$FIXTURE_TAR" "$@" -DATA -cat >"$work/bin/find" <<'DATA' -#!/bin/sh -set -eu -[ "${FAIL_INVENTORY:-0}" != 1 ] || exit 9 -exec "$FIXTURE_FIND" "$@" -DATA -chmod +x "$work/bin/"* - -# The BSD fixture needs libmd from a separately verified official APK. -cc=${CC:-cc} -printf 'int fixture_md(void) { return 17; }\n' >"$work/md.c" -printf 'extern int fixture_md(void); int fixture_bsd(void) { return fixture_md(); }\n' >"$work/bsd.c" -"$cc" -fPIC -c "$work/md.c" -o "$work/md.o" -"$cc" -fPIC -c "$work/bsd.c" -o "$work/bsd.o" -ar rcs "$work/md/lib/libmd.a" "$work/md.o" -"$cc" -shared -Wl,-soname,libmd.so.0 "$work/md.o" -o "$work/md/lib/libmd.so.0.3.0" -ln -s libmd.so.0.3.0 "$work/md/lib/libmd.so.0" -ln -s libmd.so.0 "$work/md/lib/libmd.so" -"$cc" -shared -Wl,-soname,libbsd.so.0 "$work/bsd.o" -L"$work/md/lib" -lmd -o "$work/libbsd.so.0.12.2" -ar rcs "$work/libbsd.a" "$work/bsd.o" - -cat >"$work/packages.py" <<'PY' -import io -import pathlib -import sys -import tarfile - -work = pathlib.Path(sys.argv[1]) -script = b'''/* GNU ld script - * The MD5 functions are provided by the libmd library. */ -OUTPUT_FORMAT(elf64-x86-64) -GROUP(/usr/lib/libbsd.so.0.12.2 AS_NEEDED(-lmd)) -''' -pc = b'''prefix=/usr -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: libbsd -Description: BSD fixture -Version: 0.12.2 -Libs: -L${libdir} -lbsd -Libs.private: -pthread -lmd -Cflags: -I${includedir} -''' -def regular(name, data): - info = tarfile.TarInfo(name) - info.size = len(data) - info.mode = 0o644 - return info, data - -for name in ('libbsd', 'libbsd-dev', 'libbsd-static'): - members = [regular('.PKGINFO', f'pkgname = {name}\npkgver = 0.12.2-r0\narch = x86_64\n'.encode())] - if name == 'libbsd': - members += [regular('usr/lib/libbsd.so.0.12.2', (work / 'libbsd.so.0.12.2').read_bytes())] - link = tarfile.TarInfo('usr/lib/libbsd.so.0') - link.type = tarfile.SYMTYPE - link.linkname = 'libbsd.so.0.12.2' - members.append((link, b'')) - elif name == 'libbsd-dev': - for header in ('stdlib.h', 'string.h', 'unistd.h', 'sys/queue.h', 'sys/tree.h', 'nested/extra.h'): - members.append(regular('usr/include/bsd/' + header, b'int fixture_bsd(void);\n')) - members += [regular('usr/lib/libbsd.so', script)] - for filename in ('libbsd.pc', 'libbsd-overlay.pc'): - members.append(regular('usr/lib/pkgconfig/' + filename, pc)) - # These unrelated headers/libraries must never reach the build root. - for path in ('usr/include/stdlib.h', 'usr/include/sys/cdefs.h', 'usr/include/linux/types.h', - 'usr/lib/libc.so', 'usr/lib/libmd.a', 'usr/lib/libbsd.la'): - members.append(regular(path, b'not a libbsd product\n')) - else: - members += [regular('usr/lib/libbsd.a', (work / 'libbsd.a').read_bytes())] - with tarfile.open(work / 'good' / f'{name}-0.12.2-r0.apk', 'w:gz', format=tarfile.USTAR_FORMAT) as archive: - for info, data in members: - archive.addfile(info, io.BytesIO(data) if info.isreg() else None) -# The adapter must obtain MD bytes from their own signed package inputs, -# ignoring the similarly named unrelated archive in the BSD development APK. -for name in ('libmd', 'libmd-dev'): - members = [regular('.PKGINFO', f'pkgname = {name}\npkgver = 1.3.0-r0\narch = x86_64\n'.encode())] - if name == 'libmd': - members.append(regular('usr/lib/libmd.so.0.3.0', (work / 'md/lib/libmd.so.0.3.0').read_bytes())) - link = tarfile.TarInfo('usr/lib/libmd.so.0') - link.type, link.linkname = tarfile.SYMTYPE, 'libmd.so.0.3.0' - members.append((link, b'')) - else: - for header in ('md5.h', 'sha1.h', 'sha256.h', 'sha512.h'): - members.append(regular('usr/include/' + header, b'int fixture_md(void);\n')) - members.append(regular('usr/lib/libmd.a', (work / 'md/lib/libmd.a').read_bytes())) - md_pc = pc.replace(b'libbsd', b'libmd').replace(b'0.12.2', b'1.3.0').replace(b'Libs.private: -pthread -lmd\n', b'') - members.append(regular('usr/lib/pkgconfig/libmd.pc', md_pc)) - link = tarfile.TarInfo('usr/lib/libmd.so') - link.type, link.linkname = tarfile.SYMTYPE, 'libmd.so.0.3.0' - members.append((link, b'')) - members.append(regular('usr/include/linux/foreign.h', b'not an MD header\n')) - with tarfile.open(work / 'good' / f'{name}-1.3.0-r0.apk', 'w:gz', format=tarfile.USTAR_FORMAT) as archive: - for info, data in members: - archive.addfile(info, io.BytesIO(data) if info.isreg() else None) -PY -python3 "$work/packages.py" "$work" - -reseal() { - for name in libbsd libbsd-dev libbsd-static libmd libmd-dev; do - case $name in libmd*) version=1.3.0-r0;; *) version=0.12.2-r0;; esac - sum=$(sha256sum "$cache/$name-$version.apk") - printf '%s\n' "${sum%% *}" >"$work/digests/$name" - done -} -reset_cache() { - cp "$work/good/"*.apk "$cache/" - reseal - : >"$work/verifications" -} -invoke() { - PATH="$work/bin:$PATH" sh "$adapter" "$src" "$work/bin/deps" "$work/lock" \ - "$cache" "$work/bin/apk" "$output" -} -snapshot() { - (cd "$output" && "$real_find" . -printf '%y %p %l\n' && - "$real_find" . -type f -exec sha256sum {} \;) | sort -} -check_preserved() { - snapshot >"$work/after" - cmp "$work/before" "$work/after" || fail 'failure changed the old root' - cmp "$work/before.files" "$output.files" || fail 'failure changed the old manifest' - [ -z "$("$real_find" "$(dirname "$output")" -maxdepth 1 -name '.root.new.*' -print)" ] || fail 'transaction leaked' -} -expect_failure() { - label=$1 - if invoke >"$work/failure.log" 2>&1; then fail "accepted $label"; fi - check_preserved -} - -reset_cache -invoke -[ "$(wc -l <"$work/verifications" | tr -d ' ')" = 5 ] || fail 'did not verify every package' -cmp "$src/resources/licenses/libbsd-LICENSE" "$output/usr/share/licenses/libbsd/LICENSE" -for library in libbsd.so libbsd.so.0 libbsd.so.0.12.2 libbsd.a; do - [ "$(readlink "$output/lib/$library")" = "../usr/lib/$library" ] || fail "bad compatibility link: $library" - test -s "$output/lib/$library" -done -[ "$(readlink "$output/usr/lib/libbsd.so.0")" = libbsd.so.0.12.2 ] || fail 'bad SONAME link' -for library in libmd.so libmd.so.0 libmd.so.0.3.0 libmd.a; do - [ "$(readlink "$output/lib/$library")" = "../usr/lib/$library" ] || fail "bad MD link: $library" - test -s "$output/lib/$library" -done -cmp "$work/md/lib/libmd.a" "$output/usr/lib/libmd.a" -test -s "$output/usr/include/sha1.h" -[ ! -e "$output/lib/libbsd-ctor.a" ] || fail 'invented a ctor archive' -for path in usr/include/stdlib.h usr/include/sys/cdefs.h usr/include/linux/types.h usr/include/linux/foreign.h usr/lib/libc.so usr/lib/libbsd.la; do - [ ! -e "$output/$path" ] || fail "selected unrelated input: $path" -done -(cd "$output" && "$real_find" . ! -type d -print | sed 's@^./@@' | sort) >"$work/expected.files" -cmp "$work/expected.files" "$output.files" -grep -Fxq 'usr/include/bsd/nested/extra.h' "$output.files" -grep -Fxq '.complete' "$output.files" -if grep -F '/usr/lib/libbsd.so.0.12.2' "$output/usr/lib/libbsd.so"; then fail 'absolute linker-script path'; fi - -# Relocate the combined shadow development root without any local MD stage. -combined=$work/deps\ before\ moving -relocated=$work/relocated -mkdir -p "$combined" -cp -a "$output/." "$combined/" -mv "$combined" "$relocated" -cat >"$work/consumer.c" <<'DATA' -#include -int main(void) { return fixture_bsd() != 17; } -DATA -"$cc" -I"$relocated/usr/include" "$work/consumer.c" -L"$relocated/lib" -L"$relocated/usr/lib" \ - -Wl,-rpath-link,"$relocated/lib" -lbsd -o "$work/dynamic" -LD_LIBRARY_PATH="$relocated/lib:$relocated/usr/lib" "$work/dynamic" -"$cc" -I"$relocated/usr/include" "$work/consumer.c" -L"$relocated/lib" -L"$relocated/usr/lib" \ - -Wl,-Bstatic -lbsd -lmd -Wl,-Bdynamic -o "$work/static" -"$work/static" -if "$cc" -I"$relocated/usr/include" "$work/consumer.c" -L"$relocated/lib" -L"$relocated/usr/lib" \ - -Wl,-Bstatic -lbsd -Wl,-Bdynamic -o "$work/no-md" >"$work/no-md.log" 2>&1; then - fail 'static fixture did not require official libmd.a' -fi -for package in libbsd libbsd-overlay libmd; do - # These .pc files locate their own relocated root. Consumers must avoid - # applying PKG_CONFIG_SYSROOT_DIR a second time (GNU pkg-config does so). - pc_flags=$(PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR="$relocated/usr/lib/pkgconfig" \ - PKG_CONFIG_SYSROOT_DIR='' pkg-config --cflags --libs --static "$package") - case $pc_flags in *"$relocated/usr/"*) ;; *) fail 'pkg-config lost relocated prefix';; esac - case $pc_flags in *"$output"*|*"$combined"*) fail 'pkg-config retained an old path';; esac -done -pc_flags=$(PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR="$relocated/usr/lib/pkgconfig" \ - PKG_CONFIG_SYSROOT_DIR='' pkg-config --cflags --libs --static libbsd) -# Intentional splitting of pkg-config's argv on this whitespace-free fixture. -# A doubled sysroot used to pass the substring assertions but fails to compile. -"$cc" "$work/consumer.c" $pc_flags -Wl,-rpath-link,"$relocated/lib" -o "$work/pkg-config-consumer" -LD_LIBRARY_PATH="$relocated/lib:$relocated/usr/lib" "$work/pkg-config-consumer" - -snapshot >"$work/before" -cp "$output.files" "$work/before.files" -reset_cache -printf 'corruption\n' >>"$cache/libbsd-0.12.2-r0.apk" -expect_failure 'checksum mismatch' -[ ! -s "$work/verifications" ] || fail 'verification ran before checksum validation' -reset_cache -FAIL_VERIFY_AFTER=5 expect_failure 'invalid signature in final package' -reset_cache -rm "$cache/libbsd-static-0.12.2-r0.apk" -expect_failure 'missing offline cache' -reset_cache -BAD_URL=1 expect_failure 'unsafe locked URL' -BAD_DIGEST=1 expect_failure 'invalid locked digest' -FAIL_EXTRACT=1 expect_failure 'extraction failure' -FAIL_INVENTORY=1 expect_failure 'inventory generation failure' -for destination in "$output" "$output.files"; do - : >"$work/fail-once" - FAIL_PUBLISH_DEST=$destination expect_failure 'publication failure' -done - -cat >"$work/mutate.py" <<'PY' -import io -import pathlib -import sys -import tarfile - -work = pathlib.Path(sys.argv[1]) -mode = sys.argv[2] -name = 'libbsd-dev-0.12.2-r0.apk' -with tarfile.open(work / 'good' / name) as archive: - members = [(info, archive.extractfile(info).read() if info.isreg() else b'') for info in archive] -if mode == 'missing-header': - members = [(i, d) for i, d in members if i.name != 'usr/include/bsd/stdlib.h'] -elif mode == 'metadata': - for info, data in members: - if info.name == '.PKGINFO': - info.size = len(data.replace(b'0.12.2-r0', b'0.12.1-r0')) - members = [(i, d.replace(b'0.12.2-r0', b'0.12.1-r0') if i.name == '.PKGINFO' else d) for i, d in members] -elif mode == 'script': - members = [(i, d.replace(b'/usr/lib/', b'/tmp/bad/')) for i, d in members] -else: - paths = { - 'absolute': str(work / 'escaped'), - 'traversal': 'usr/include/bsd/../../../escaped', - 'dot': 'usr/include/bsd/./extra.h', - 'duplicate': 'usr/include/bsd/stdlib.h', - 'newline': 'usr/include/bsd/new\nline.h', - 'backslash': 'usr/include/bsd/back\\slash.h', - } - info = tarfile.TarInfo(paths.get(mode, 'usr/include/bsd/evil.h')) - data = b'bad input\n' - if mode in ('absolute-link', 'parent-link', 'dangling-link'): - info.type = tarfile.SYMTYPE - info.linkname = {'absolute-link': str(work / 'escaped'), 'parent-link': '../../../../escaped', 'dangling-link': 'missing.h'}[mode] - data = b'' - elif mode == 'hardlink': - info.type = tarfile.LNKTYPE - info.linkname = 'usr/include/bsd/stdlib.h' - data = b'' - elif mode == 'fifo': - info.type = tarfile.FIFOTYPE - data = b'' - info.size = len(data) - members.append((info, data)) -with tarfile.open(work / 'cache' / name, 'w:gz', format=tarfile.USTAR_FORMAT) as archive: - for info, data in members: - archive.addfile(info, io.BytesIO(data) if info.isreg() else None) -PY -for mode in missing-header metadata script absolute traversal dot duplicate newline backslash \ - absolute-link parent-link dangling-link hardlink fifo; do - reset_cache - python3 "$work/mutate.py" "$work" "$mode" - reseal - expect_failure "$mode archive" - [ ! -e "$work/escaped" ] || fail 'archive wrote outside staging' -done -reset_cache - -# Reject symlink destinations and preserve their targets, even if dangling. -mv "$output" "$work/saved-root" -ln -s "$work/saved-root" "$output" -if invoke >"$work/failure.log" 2>&1; then fail 'accepted symlink root'; fi -rm "$output" -mv "$work/saved-root" "$output" -mv "$output.files" "$work/saved-files" -ln -s "$work/missing-manifest" "$output.files" -if invoke >"$work/failure.log" 2>&1; then fail 'accepted symlink manifest'; fi -rm "$output.files" -mv "$work/saved-files" "$output.files" -check_preserved - -for rejected_output in "$src" "$cache" "$src/resources" "$src/system/rootfs" "$output/.."; do - if PATH="$work/bin:$PATH" sh "$adapter" "$src" "$work/bin/deps" "$work/lock" \ - "$cache" "$work/bin/apk" "$rejected_output" >"$work/failure.log" 2>&1; then - fail "accepted input overlap or aliased destination: $rejected_output" - fi -done -printf 'protected lock\n' >"$work/protected.files" -cp "$work/protected.files" "$work/protected.original" -if PATH="$work/bin:$PATH" sh "$adapter" "$src" "$work/bin/deps" "$work/protected.files" \ - "$cache" "$work/bin/apk" "$work/protected" >"$work/failure.log" 2>&1; then - fail 'accepted manifest/input overlap' -fi -grep -Fq 'manifest overlaps an input' "$work/failure.log" -cmp "$work/protected.original" "$work/protected.files" -check_preserved - -# A deleted non-primary header must invalidate the presence signature, then be -# restored by the next adapter run with the same complete manifest. -signature=$work/presence.sig -printf 'signature\n' >"$signature" -touch -t 200001010000 "$signature" -cp -p "$signature" "$work/original.sig" -sh "$repo/tools/build/upstream-verify.sh" "$output" "$output.files" "$signature" -[ "$signature" -ot "$output/.complete" ] || fail 'intact inventory changed signature' -rm "$output/usr/include/bsd/nested/extra.h" -sh "$repo/tools/build/upstream-verify.sh" "$output" "$output.files" "$signature" -[ "$signature" -nt "$work/original.sig" ] || fail 'deleted header did not invalidate signature' -invoke -test -s "$output/usr/include/bsd/nested/extra.h" -cmp "$work/before.files" "$output.files" - -# Also exercise invocation entirely through relative arguments. -(cd "$work" && PATH="$work/bin:$PATH" sh "$adapter" source bin/deps lock cache bin/apk relative-root) -test -s "$work/relative-root/lib/libbsd.so.0" -printf 'BSD development: official libmd linking, relocation, inventory recovery and failure safety passed\n' diff --git a/tests/build/test-linuxuname.sh b/tests/build/test-linuxuname.sh deleted file mode 100644 index 1c213772..00000000 --- a/tests/build/test-linuxuname.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -headers=${RELIEFOS_TEST_HEADERS:-$src/out/ci-validation/kernel-export/include} -test -f "$headers/reliefos/prctl.h" || { - echo 'Set RELIEFOS_TEST_HEADERS to the headers_install include directory' >&2; exit 1; -} -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror -idirafter "$headers" \ - "$src/userland/apps/linuxuname/main.c" "$src/tools/tests/linuxuname_prctl_stub.c" \ - -o "$work/linuxuname" -run_status() { - expected=$1; shift - if "$@" >"$work/stdout" 2>"$work/stderr"; then actual=0; else actual=$?; fi - test "$actual" -eq "$expected" -} -run_status 0 "$work/linuxuname" --help -run_status 125 "$work/linuxuname" -run_status 125 "$work/linuxuname" -- -run_status 127 "$work/linuxuname" "$work/missing-command" -printf '#!/bin/sh\nprintf "%%s\\n" "$PWD" "$LINUXUNAME_TEST" "$@"\nexit 37\n' > "$work/target program" -run_status 126 "$work/linuxuname" "$work/target program" -chmod +x "$work/target program" -cd "$work" -PATH="$work:$PATH" LINUXUNAME_TEST=present run_status 37 "$work/linuxuname" \ - 'target program' --child-option 'argument with spaces' '' 'literal $(no-shell-expansion)' -printf '%s\n' "$work" present --child-option 'argument with spaces' '' \ - 'literal $(no-shell-expansion)' > "$work/expected" -cmp "$work/expected" "$work/stdout" -LINUXUNAME_TEST=present run_status 37 "$work/linuxuname" -- './target program' after-separator -printf '%s\n' "$work" present after-separator > "$work/expected" -cmp "$work/expected" "$work/stdout" -LINUXUNAME_PRCTL_FAIL=1 run_status 125 "$work/linuxuname" './target program' -test ! -s "$work/stdout" -grep -q 'cannot select Linux uname' "$work/stderr" -printf 'linuxuname command: PATH, arguments, environment, cwd, exec statuses and prctl failure passed\n' diff --git a/tests/build/test-locale-conf.sh b/tests/build/test-locale-conf.sh deleted file mode 100644 index 3d0864c2..00000000 --- a/tests/build/test-locale-conf.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# locale.conf uses standard locale vocabulary. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) - -for f in tools/build/rootfs-stage.sh tools/build/standalone-root.sh; do - grep -q 'LANG=' "$src/$f" || { printf 'FAIL - %s writes no LANG\n' "$f"; exit 1; } -done -grep -q 'env_apply_locale' "$src/userland/runtime/src/environment.c" -grep -q 'RELIEFOS_PATH_LOCALE_CONF' "$src/userland/runtime/src/environment.c" -grep -q 'config VMDK_DEFAULT_LANG' "$src/Kconfig" -if grep -q 'VMDK_DEFAULT_LANGUAGE' "$src/Kconfig"; then - printf 'FAIL - old choice symbol still declared\n' - exit 1 -fi - -grep -q 'MUSL_LOCPATH' "$src/tools/build/rootfs-stage.sh" -printf 'locale conf: standard key, locale path, kconfig rename passed\n' - -# Execute the writer: locale selection must survive staging and keep legacy apps -# in the same language during the transition. -w=$(mktemp -d); trap 'rm -rf "$w"' EXIT HUP INT TERM -mkdir -p "$w/input/etc/reliefos" "$w/input/etc/skel" -printf '%%wheel ALL=(ALL:ALL) ALL\n' > "$w/input/etc/sudoers" -for locale in zh_CN.UTF-8 en_US.UTF-8; do - sh "$src/tools/build/standalone-root.sh" "$src" "$w/input" "$w/$locale" live "$locale" - grep -qx "LANG=$locale" "$w/$locale/etc/reliefos/locale.conf" - grep -qx 'MUSL_LOCPATH=/usr/share/musl/locales' "$w/$locale/etc/reliefos/locale.conf" -done -if sh "$src/tools/build/standalone-root.sh" "$src" "$w/input" "$w/invalid" live '../bad' 2>/dev/null; then - echo 'FAIL - invalid locale accepted'; exit 1 -fi -test ! -e "$w/invalid" -printf 'locale conf: staged locale values and invalid-input rejection passed\n' diff --git a/tests/build/test-lock-safety.sh b/tests/build/test-lock-safety.sh index 895f0037..79dc46c2 100644 --- a/tests/build/test-lock-safety.sh +++ b/tests/build/test-lock-safety.sh @@ -7,13 +7,15 @@ pids='' trap 'kill $pids 2>/dev/null || :; rm -rf "$w"' EXIT export repo w cat > "$w/fixture.mk" <<'MAKE' -.PHONY: delayed hold attempt +.PHONY: delayed hold attempt clean delayed: @touch $(w)/older-ready; read x < $(w)/older-go; $(MAKE) -s -f $(w)/fixture.mk attempt hold: @sh $(repo)/scripts/build-lock.sh acquire $(w)/out/.build-lock $(w)/out > $(w)/token; touch $(w)/held; read x < $(w)/finish attempt: @sh $(repo)/scripts/build-lock.sh acquire $(w)/out/.build-lock $(w)/out + clean: + @O="$(CLEAN_OUTPUT)" SRC="$(repo)" sh "$(repo)/scripts/clean.sh" MAKE # The older make itself must acquire, not a later child make. sed -i 's@$(MAKE) -s -f $(w)/fixture.mk attempt@sh $(repo)/scripts/build-lock.sh acquire $(w)/out/.build-lock $(w)/out@' "$w/fixture.mk" @@ -26,28 +28,35 @@ wait_file "$w/held" printf 'go\n' > "$w/older-go" fail=0 if wait "$older"; then echo 'FAIL: delayed older make bypassed active owner'; fail=1; else echo 'ok: delayed older make refused'; fi -if LEONOS_BUILD_OWNER="$(cat "$w/token")" make -s -f "$w/fixture.mk" attempt > "$w/forged.log" 2>&1; then echo 'FAIL: unrelated make inherited owner'; fail=1; else echo 'ok: unrelated owner token refused'; fi +if RELIEFOS_BUILD_OWNER="$(cat "$w/token")" make -s -f "$w/fixture.mk" attempt > "$w/forged.log" 2>&1; then echo 'FAIL: unrelated make inherited owner'; fail=1; else echo 'ok: unrelated owner token refused'; fi # Cleaning regenerable metadata must not discard the active owner's guard. -printf 'leonos4-build-out version=1 root=%s\n' "$repo" > "$w/out/.leonos-out" +printf 'reliefos-build-out version=1 root=%s\n' "$repo" > "$w/out/.reliefos-out" mkdir -p "$w/out/meta" -O="$w/out" SRC="$repo" sh "$repo/scripts/clean.sh" >/dev/null +if make -s -f "$w/fixture.mk" CLEAN_OUTPUT="$w/out" clean >/dev/null 2>&1; then + echo 'FAIL: clean accepted an active native build'; fail=1 +else + echo 'ok: clean refused an active native build' +fi +[ -d "$w/out/meta" ] || fail=1 if make -s -f "$w/fixture.mk" attempt > "$w/clean-contender.log" 2>&1; then echo 'FAIL: clean dropped active lock'; fail=1; else echo 'ok: clean preserves active lock'; fi printf 'done\n' > "$w/finish" wait "$newer" make -s -f "$w/fixture.mk" attempt >/dev/null echo 'ok: stale owner recovered' mkdir -p "$w/real/output/obj" -printf 'leonos4-build-out version=1 root=%s\n' "$repo" > "$w/real/output/.leonos-out" +printf 'reliefos-build-out version=1 root=%s\n' "$repo" > "$w/real/output/.reliefos-out" touch "$w/real/output/obj/keep" ln -s "$w/real" "$w/alias" if O="$w/alias/output" SRC="$repo" sh "$repo/scripts/clean.sh" >/dev/null 2>&1; then echo 'FAIL: clean accepted symlink parent'; fail=1; else echo 'ok: clean rejected symlink parent'; fi [ -f "$w/real/output/obj/keep" ] || fail=1 -mkdir -p "$w/new-marker/obj" +mkdir -p "$w/new-marker/generated" printf 'reliefos-build-out version=1 root=%s\n' "$repo" > "$w/new-marker/.reliefos-out" -touch "$w/new-marker/obj/keep" -O="$w/new-marker" SRC="$repo" sh "$repo/scripts/clean.sh" >/dev/null -[ ! -e "$w/new-marker/obj/keep" ] || { echo 'FAIL: new marker was not cleaned'; fail=1; } +touch "$w/new-marker/generated/remove" "$w/new-marker/keep" +make -s -f "$w/fixture.mk" CLEAN_OUTPUT="$w/new-marker" clean >/dev/null +[ ! -e "$w/new-marker/generated" ] && [ -f "$w/new-marker/keep" ] || { + echo 'FAIL: clean did not restrict removal to known outputs'; fail=1; +} echo 'ok: clean accepts ReliefOS ownership marker' mkdir -p "$w/unknown/obj" @@ -74,14 +83,12 @@ fi [ -f "$w/symlink-marker/obj/keep" ] || fail=1 mkdir -p "$w/distclean/config" -printf 'leonos4-build-out version=1 root=%s\n' "$repo" > "$w/distclean/.leonos-out" printf 'reliefos-build-out version=1 root=%s\n' "$repo" > "$w/distclean/.reliefos-out" printf 'CONFIG_OLD=y\n' > "$w/distclean/config/.config" -O="$w/distclean" SRC="$repo" KEEP_CONFIG=0 sh "$repo/scripts/clean.sh" >/dev/null -[ ! -e "$w/distclean/.leonos-out" ] -[ ! -e "$w/distclean/.reliefos-out" ] +KEEP_CONFIG=0 make -s -f "$w/fixture.mk" CLEAN_OUTPUT="$w/distclean" clean >/dev/null +[ -f "$w/distclean/.reliefos-out" ] [ ! -e "$w/distclean/config" ] -echo 'ok: distclean removes both ownership markers and the config directory' +echo 'ok: distclean removes configuration and preserves the ownership marker' if O="$repo" SRC="$repo" sh "$repo/scripts/clean.sh" >/dev/null 2>&1; then echo 'FAIL: clean accepted the source root' diff --git a/tests/build/test-module-load-policy.sh b/tests/build/test-module-load-policy.sh deleted file mode 100644 index 7a03ece9..00000000 --- a/tests/build/test-module-load-policy.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: Apache-2.0 -set -eu -exec python3 "$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)/tools/test_module_load_policy.py" diff --git a/tests/build/test-motd.sh b/tests/build/test-motd.sh deleted file mode 100644 index f8bbfd91..00000000 --- a/tests/build/test-motd.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -I"$src" \ - "$src/tests/host/test_motd.c" "$src/userland/apps/motd/format.c" -o "$work/test" -"$work/test" diff --git a/tests/build/test-motif-apps.sh b/tests/build/test-motif-apps.sh deleted file mode 100644 index 00115697..00000000 --- a/tests/build/test-motif-apps.sh +++ /dev/null @@ -1,110 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -tmp_root=${TMPDIR:-$src/out/tmp} -mkdir -p "$tmp_root" -work=$(mktemp -d "$tmp_root/reliefos-fltk-apps.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -if [ ! -f "$src/userland/apps/calc/engine.c" ]; then - printf 'FAIL - calculator has no toolkit-independent behavior boundary\n' >&2 - exit 1 -fi -for app in taskmgr minesweeper leonmmcoset xiaobai paint imageview doomlauncher installer; do - if [ ! -f "$src/userland/apps/$app/model.c" ] || [ ! -f "$src/userland/apps/$app/model.h" ]; then - printf 'FAIL - %s has no toolkit-independent behavior boundary\n' "$app" >&2 - exit 1 - fi -done -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -fsanitize=undefined -fno-sanitize-recover=all \ - -I"$src/userland/apps" -I"$src/userland/apps/calc" \ - -I"$src/userland/apps/taskmgr" \ - "$src/tests/host/test_motif_apps.c" "$src/userland/apps/calc/engine.c" \ - "$src/userland/apps/taskmgr/model.c" \ - "$src/userland/apps/minesweeper/model.c" "$src/userland/apps/leonmmcoset/model.c" \ - "$src/userland/apps/xiaobai/model.c" "$src/userland/apps/paint/model.c" \ - "$src/userland/apps/imageview/model.c" "$src/userland/apps/doomlauncher/model.c" \ - "$src/userland/apps/installer/model.c" \ - -o "$work/test" -"$work/test" - -cat >"$work/inspect.mk" <<'MAKE' -RELIEFOS_SRC := $(ROOT) -RELIEFOS_PASSIVE := 1 -TARGET_CC := cc -TARGET_LD := ld -TARGET_CXX := c++ -override O := $(WORK)/out -RELIEFOS_COMPONENT_APPS := calc osver fileman taskmgr minesweeper leonmmcoset xiaobai paint imageview doom doomlauncher installer reliefexcel -include $(ROOT)/scripts/reliefos/Makefile.userland -.PHONY: sources -sources: - @$(foreach app,$(RELIEFOS_COMPONENT_APPS),printf '%s\n' '$(patsubst $(O)/%,$(RELIEFOS_SRC)/%,$(USERLAND_C_OBJECTS_$(app):.o=.c))' '$(patsubst $(O)/%,$(RELIEFOS_SRC)/%,$(USERLAND_CXX_OBJECTS_$(app):.o=.cpp))';) - @printf '%s\n' '$(USERLAND_LIBS_calc)' '$(USERLAND_LIBS_osver)' '$(USERLAND_LIBS_fileman)' '$(USERLAND_LIBS_taskmgr)' '$(USERLAND_LIBS_minesweeper)' '$(USERLAND_LIBS_leonmmcoset)' '$(USERLAND_LIBS_xiaobai)' '$(USERLAND_LIBS_paint)' '$(USERLAND_LIBS_imageview)' '$(USERLAND_LIBS_doomlauncher)' '$(USERLAND_LIBS_doom)' '$(USERLAND_LIBS_installer)' '$(USERLAND_LIBS_reliefexcel)' - @printf '%s\n' '$(USERLAND_CXX_FLAGS)' '$(USERLAND_CXX_EXTRA_calc)' -MAKE -make -s -f "$work/inspect.mk" ROOT="$src" WORK="$work" sources >"$work/sources" -for app in calc osver fileman taskmgr minesweeper leonmmcoset xiaobai paint imageview doomlauncher doom installer reliefexcel; do - grep -q "userland/apps/$app/main.cpp" "$work/sources" - if grep -Eq "userland/apps/$app/main\\.c([[:space:]]|$)" "$work/sources"; then - printf 'FAIL - %s still selects a C frontend instead of the FLTK C++ frontend\n' "$app" >&2 - exit 1 - fi - for removed in native.c input.c view.c; do - if grep -q "userland/apps/$app/$removed" "$work/sources"; then - printf 'FAIL - %s still selects native frontend source %s\n' "$app" "$removed" >&2 - exit 1 - fi - done - if ! grep -q 'fltk_support.h\|fltk_png_app.h' "$src/userland/apps/$app/main.cpp" || - { ! grep -q 'reliefos_fltk::init' "$src/userland/apps/$app/main.cpp" && - ! grep -q 'init(app);' "$src/userland/apps/fltk_png_app.h"; }; then - printf 'FAIL - %s does not initialize the shared FLTK locale/font support\n' "$app" >&2 - exit 1 - fi -done -grep -q 'userland/apps/reliefexcel/main.cpp' "$work/sources" -for old_file in motif.c motif_dialogs.c motif.h; do - if [ -e "$src/userland/apps/fileman/$old_file" ]; then - printf 'FAIL - fileman still carries the obsolete Motif frontend file %s\n' "$old_file" >&2 - exit 1 - fi -done -grep -q '^Categories=Office;Spreadsheet;$' "$src/userland/apps/reliefexcel/reliefexcel.desktop" -grep -q '^Exec=/usr/bin/reliefexcel %f$' "$src/userland/apps/reliefexcel/reliefexcel.desktop" -grep -q '^Icon=reliefos-reliefexcel$' "$src/userland/apps/reliefexcel/reliefexcel.desktop" -[ -s "$src/resources/build-art/app-icons/reliefexcel.bmp" ] -for app in taskmgr minesweeper leonmmcoset xiaobai paint imageview doomlauncher installer; do - grep -q "userland/apps/$app/model.c" "$work/sources" - if grep -q 'reliefos_gui_create_app_window\|reliefos_ui_' \ - "$src/userland/apps/$app/model.c"; then - printf 'FAIL - %s business model still uses the windowd frontend API\n' "$app" >&2 - exit 1 - fi -done -grep -q 'Fl::set_font.*SimSun' "$src/userland/apps/fltk_support.h" -grep -q 'gettext(text)' "$src/userland/apps/fltk_support.h" -grep -q 'libfltk.so' "$work/sources" -grep -q 'libstdc++.so.6' "$work/sources" -grep -q 'libgcc_s.so.1' "$work/sources" -grep -q -- '-std=c++17' "$work/sources" -grep -q -- '-nostdinc++' "$work/sources" -grep -q -- '-fno-exceptions' "$work/sources" -grep -q -- '-fno-rtti' "$work/sources" -grep -Fq -- "-I$src/userland/apps -isystem $work/out/upstream/x11-development/usr/include" "$work/sources" -if grep -q 'libXm.so\|libXt.so' "$work/sources"; then - printf 'FAIL - FLTK apps still link Motif or Xt\n' >&2 - exit 1 -fi -for app in calc osver fileman taskmgr minesweeper leonmmcoset xiaobai paint imageview doom doomlauncher installer; do - desktop="$src/userland/apps/$app/$app.desktop" - if [ ! -f "$desktop" ]; then - printf 'FAIL - %s has no desktop entry\n' "$app" >&2 - exit 1 - fi - grep -q '^Type=Application$' "$desktop" - if ! grep -qE "^Exec=/usr/bin/$app( --graphical)?\$" "$desktop"; then - printf 'FAIL - %s desktop entry does not launch the app\n' "$app" >&2 - exit 1 - fi -done -printf 'ok - applications build the FLTK frontend and retain C behavior models\n' diff --git a/tests/build/test-network-controller.sh b/tests/build/test-network-controller.sh index 25ae77bf..a493c12a 100644 --- a/tests/build/test-network-controller.sh +++ b/tests/build/test-network-controller.sh @@ -5,13 +5,13 @@ export TMPDIR="$src/out/tmp" mkdir -p "$TMPDIR" work=$(mktemp -d "$TMPDIR/network-controller.XXXXXX") trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fno-rtti \ +${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -fno-exceptions -fno-rtti \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ -I"$src/userland/apps/network-controller" \ "$src/tools/tests/network_controller_test.cpp" \ "$src/userland/apps/network-controller/model.cpp" -o "$work/model" "$work/model" -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fno-rtti \ +${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -fno-exceptions -fno-rtti \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ -I"$src/userland/apps/network-controller" \ "$src/tools/tests/network_controller_config_test.cpp" \ @@ -19,29 +19,3 @@ ${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fn "$src/userland/apps/network-controller/config.cpp" -o "$work/config" mkdir "$work/etc" "$work/config" "$work/etc" -headers=${RELIEFOS_TEST_HEADERS:-$src/out/xorg-debug/kernel-export/include} -test -f "$headers/reliefos/net_control.h" || { echo 'Build exported headers with make headers_install or set RELIEFOS_TEST_HEADERS' >&2; exit 1; } -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fno-rtti \ - -I"$src/userland/apps/network-controller" -idirafter "$headers" \ - "$src/tools/tests/network_controller_session_test.cpp" \ - "$src/userland/apps/network-controller/model.cpp" "$src/userland/apps/network-controller/config.cpp" \ - "$src/userland/apps/network-controller/session.cpp" "$src/userland/apps/network-controller/worker.cpp" -o "$work/session" -mkdir -p "$work/root/etc/reliefos" "$work/root/bin" "$work/root/sbin" "$work/root/dev" \ - "$work/root/proc/net" "$work/root/usr/lib/reliefos/apps/network-controller" -printf 'Inter-| Receive | Transmit\n lo: 0\n eth0: 0\n eth1: 0\n eth998: 0\n' > "$work/root/proc/net/dev" -${HOSTCC:-cc} -static -O2 -Wall -Wextra -Werror "$src/tools/tests/network_controller_fake_command.c" -o "$work/root/bin/busybox" -cp "$work/root/bin/busybox" "$work/root/sbin/rc-service" -mkdir -p "$work/root/usr/lib/reliefos" -cp "$work/root/bin/busybox" "$work/root/usr/lib/reliefos/network-profile" -cp "$work/session" "$work/root/session" -cp "$work/session" "$work/root/usr/lib/reliefos/apps/network-controller/network-controller.elf" -ldd "$work/session" | awk '{for(i=1;i<=NF;i++)if($i~/^\//)print $i}' | while read -r lib; do - mkdir -p "$work/root$(dirname "$lib")";cp "$lib" "$work/root$lib" -done -touch "$work/root/dev/null" -LC_ALL=C LANG=C unshare -Urn sh -c ' - ip link add eth0 type dummy - ip link add eth1 type dummy - ip link add eth998 index 1000 type dummy - exec chroot "$1" /session -' _ "$work/root" diff --git a/tests/build/test-network-profile.sh b/tests/build/test-network-profile.sh deleted file mode 100644 index 1ea159dd..00000000 --- a/tests/build/test-network-profile.sh +++ /dev/null @@ -1,145 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -export TMPDIR="$src/out/tmp" -mkdir -p "$TMPDIR" -work=$(mktemp -d "$TMPDIR/network-profile.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -root=$work/root -mkdir -p "$root/bin" "$root/sbin" "$root/etc/reliefos" "$root/etc/udhcpc" "$root/etc/init.d" "$root/usr/lib/reliefos" "$root/usr/share/udhcpc" "$root/run/reliefos" "$root/dev" "$root/proc/net" -# Only this private chroot can see the fake adapter commands. No host network -# command or resolver path is used by the production scripts under test. -for utility in sh stat cat mkdir mv rm chmod mktemp grep tr wc flock; do - binary=$(command -v "$utility") - cp "$binary" "$root/bin/$utility" - ldd "$binary" | awk '{for(i=1;i<=NF;i++)if($i~/^\//)print $i}' | while read -r lib; do - mkdir -p "$root$(dirname "$lib")";cp "$lib" "$root$lib" - done -done -cp "$src/system/rootfs/usr/lib/reliefos/network-profile" "$src/system/rootfs/usr/lib/reliefos/publish-resolver" "$root/usr/lib/reliefos/" -cp "$src/system/rootfs/etc/init.d/reliefos-dhcp" "$root/etc/init.d/" -cp "$src/system/rootfs/usr/share/udhcpc/default.script" "$root/usr/share/udhcpc/" -printf 'Inter-| Receive | Transmit\n eth0: 0\n eth1: 0\n' > "$root/proc/net/dev" -printf '100.00 0.00\n' > "$root/proc/uptime" -cat > "$root/sbin/ifconfig" <<'SCRIPT' -#!/bin/sh -printf '%s' "$0" >> /commands -for arg do printf ' <%s>' "$arg" >> /commands; done -printf '\n' >> /commands -SCRIPT -cp "$root/sbin/ifconfig" "$root/sbin/route" -cat > "$root/sbin/supervise-daemon" <<'SCRIPT' -#!/bin/sh -printf '%s' "$RC_SVCNAME" >> /events -for arg do printf ' <%s>' "$arg" >> /events; done -printf '\n' >> /events -SCRIPT -cat > "$root/sbin/rc-service" <<'SCRIPT' -#!/bin/sh -case "$2" in - status) test ! -e /service-stopped ;; - start) printf 'rc-service-start\n' >> /events; rm -f /service-stopped ;; - *) exit 1 ;; -esac -SCRIPT -chmod 755 "$root/sbin/ifconfig" "$root/sbin/route" "$root/sbin/supervise-daemon" "$root/sbin/rc-service" -touch "$root/dev/null" -cat > "$root/test.sh" <<'SCRIPT' -set -eu -export PATH=/bin:/sbin -profile=/etc/reliefos/network.conf -tool=/usr/lib/reliefos/network-profile -publisher=/usr/lib/reliefos/publish-resolver -write_profile() { - printf 'version=1\nmode=%s\naddress=10.0.2.15\nprefix=24\ngateway=10.0.2.2\ndns_mode=%s\ndns_servers=%s\n' "$1" "$2" "$3" > "$profile" - chmod 644 "$profile" -} -test "$($tool mode)" = dhcp -printf '$(touch /injected)\n' > /run/reliefos/udhcpc.pid -if $tool stop-dhcp; then echo 'FAIL - malicious DHCP PID accepted';exit 1;fi -test ! -e /injected -printf '999999999\n' > /run/reliefos/udhcpc.pid -$tool stop-dhcp -test ! -e /run/reliefos/udhcpc.pid -printf 'dns_mode=dhcp\n' > "$profile" -test "$($tool mode)" = dhcp -printf '2 9.9.9.9\n' > /etc/udhcpc/leonos-dns -$publisher -grep -q '^nameserver 9.9.9.9$' /etc/resolv.conf -write_profile static custom '1.1.1.1 8.8.8.8' -test "$($tool mode)" = static -test "$($tool dns)" = '2 1.1.1.1 8.8.8.8' -$tool prepare -grep -q '<10.0.2.15> <255.255.255.0> ' /commands -grep -q ' <10.0.2.2> ' /commands -grep -q '^nameserver 1.1.1.1$' /etc/resolv.conf -grep -q '^nameserver 8.8.8.8$' /etc/resolv.conf -write_profile static automatic '' -if $tool check; then echo 'FAIL - static mode silently accepted DHCP DNS';exit 1;fi -write_profile static custom '1.1.1.1' -printf 'mode=dhcp\n' >> "$profile" -if $tool check; then echo 'FAIL - duplicate field accepted';exit 1;fi -write_profile dhcp automatic '' -printf 'command=touch /injected\n' >> "$profile" -if $tool prepare; then echo 'FAIL - unknown command field accepted';exit 1;fi -test ! -e /injected -write_profile dhcp automatic '' -printf '\000' >> "$profile" -if $tool check; then echo 'FAIL - embedded NUL accepted';exit 1;fi -write_profile dhcp automatic '' -chmod 666 "$profile" -if $tool check; then echo 'FAIL - writable profile accepted';exit 1;fi -# Different profiles and leases belong to the named, enumerated adapter. -write_profile dhcp automatic '' -printf '10.0.0.53\n' > /run/reliefos/dhcp-dns -mkdir -p /etc/reliefos/network.d -printf 'version=1\nmode=static\naddress=192.168.9.2\nprefix=24\ngateway=192.168.9.1\ndns_mode=custom\ndns_servers=9.9.9.9\n' > /etc/reliefos/network.d/eth1.conf -test "$("$tool" mode eth1)" = static -"$tool" prepare eth1 -grep -q ' <192.168.9.2> <255.255.255.0> ' /commands -test "$(grep '^nameserver ' /etc/resolv.conf)" = "nameserver 9.9.9.9 -nameserver 10.0.0.53" -"$tool" stop eth1 -grep -q '^nameserver 10.0.0.53$' /etc/resolv.conf -if grep -q '^nameserver 9.9.9.9$' /etc/resolv.conf; then echo 'FAIL - stopped interface retained explicit DNS'; exit 1; fi -"$tool" prepare eth1 -if "$tool" mode '../eth1'; then echo 'FAIL - invalid interface accepted'; exit 1; fi -if "$tool" mode eth9; then echo 'FAIL - nonexistent interface accepted'; exit 1; fi -mkdir /proc/123 -printf '/sbin/udhcpc\000-f\000-i\000eth0\000-p\000/run/reliefos/udhcpc.pid\000' > /proc/123/cmdline -printf '123\n' > /run/reliefos/udhcpc.eth1.pid -if "$tool" stop-dhcp eth1; then echo 'FAIL - another interface PID accepted'; exit 1; fi -rm -f /run/reliefos/udhcpc.eth1.pid -printf 'version=1\nmode=dhcp\naddress=0.0.0.0\nprefix=24\ngateway=0.0.0.0\ndns_mode=automatic\ndns_servers=\n' > /etc/reliefos/network.d/eth1.conf -printf '10.0.0.53\n' > /run/reliefos/dhcp-dns -interface=eth1 ip=192.168.9.2 subnet=255.255.255.0 router=192.168.9.1 dns=192.168.9.53 lease=300 /usr/share/udhcpc/default.script bound -grep -q '^nameserver 10.0.0.53$' /etc/resolv.conf -grep -q '^nameserver 192.168.9.53$' /etc/resolv.conf -test -f /run/reliefos/dhcp-lease.eth1 -interface=eth1 /usr/share/udhcpc/default.script deconfig -test -f /run/reliefos/dhcp-dns -test ! -f /run/reliefos/dhcp-lease.eth1 -grep -q '^nameserver 10.0.0.53$' /etc/resolv.conf -if grep -q '^nameserver 192.168.9.53$' /etc/resolv.conf; then echo 'FAIL - stale DNS retained'; exit 1; fi -# OpenRC starts every real Ethernet interface, and apply only stops one. -write_profile dhcp automatic '' -printf 'version=1\nmode=disabled\naddress=0.0.0.0\nprefix=24\ngateway=0.0.0.0\ndns_mode=automatic\ndns_servers=\n' > /etc/reliefos/network.d/eth1.conf -. /etc/init.d/reliefos-dhcp -start -grep -q 'reliefos-dhcp.eth0 <--start>' /events -grep -q ' ' /commands -printf 'version=1\nmode=dhcp\naddress=0.0.0.0\nprefix=24\ngateway=0.0.0.0\ndns_mode=automatic\ndns_servers=\n' > /etc/reliefos/network.d/eth1.conf -: > /events -"$tool" apply eth1 -grep -q 'reliefos-dhcp.eth1 <--stop>' /events -grep -q 'reliefos-dhcp.eth1 <--start>' /events -if grep -q 'reliefos-dhcp.eth0' /events; then echo 'FAIL - applying eth1 interrupted eth0'; exit 1; fi -stop -grep -q 'reliefos-dhcp.eth0 <--stop>' /events -: > /events -: > /service-stopped -"$tool" apply eth1 -grep -q '^rc-service-start$' /events -printf 'PASS Network profiles: per-interface modes, DNS priority, lease isolation and scoped apply\n' -SCRIPT -LC_ALL=C LANG=C unshare -Ur chroot "$root" /bin/sh /test.sh diff --git a/tests/build/test-nls-build.sh b/tests/build/test-nls-build.sh index 1bd609cc..19120966 100644 --- a/tests/build/test-nls-build.sh +++ b/tests/build/test-nls-build.sh @@ -59,12 +59,12 @@ assert word.gettext("The file changed while it was being opened") == "文件在 assert network.gettext("Authenticating") == "正在验证身份" fileman_ja = gettext.translation("fileman", sys.argv[1], languages=["ja_JP"]) taskmgr_ja = gettext.translation("taskmgr", sys.argv[1], languages=["ja_JP"]) -driverinfo_ja = gettext.translation("driverinfo", sys.argv[1], languages=["ja_JP"]) +service_ja = gettext.translation("service-controller", sys.argv[1], languages=["ja_JP"]) assert fileman_ja.gettext("New Folder") == "新規フォルダ" assert taskmgr_ja.gettext("Processes") == "プロセス" assert fileman_ja.gettext("Cancel") == "キャンセル" assert taskmgr_ja.gettext("New Folder") == "New Folder" -assert driverinfo_ja.gettext("Loaded") != "Loaded" +assert service_ja.gettext("System services loaded.") == "システムサービスを読み込みました。" format_argument = re.compile( r'%(?:[1-9][0-9]*\$)?[-+#0]*(?:[0-9]+|\*(?:[1-9][0-9]*\$)?)?' r'(?:\.(?:[0-9]+|\*(?:[1-9][0-9]*\$)?))?(?:hh|ll|[hljztL])?[diouxXfFeEgGaAcspn%m]' diff --git a/tests/build/test-nls-stage.sh b/tests/build/test-nls-stage.sh deleted file mode 100644 index 65d1e663..00000000 --- a/tests/build/test-nls-stage.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# The catalog must be claimed per language: declaring usr/share/locale as a -# whole would silently retake ownership of the upstream catalogs in it. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) - -grep -Fq 'LC_MESSAGES/$domain.mo' "$src/tools/build/rootfs-stage.sh" -grep -q 'reliefos-nls' "$src/tools/build/rootfs-stage.sh" -grep -q 'configs/nls/LINGUAS' "$src/tools/build/rootfs-stage.sh" -grep -q 'configs/nls/DOMAINS' "$src/tools/build/rootfs-stage.sh" - -group=$(sed -n '/"reliefos-nls"/,/^[[:space:]]*}[[:space:]]*$/p' \ - "$src/configs/apk-ownership.json") -[ -n "$group" ] || { printf 'FAIL - reliefos-nls group missing\n'; exit 1; } -echo "$group" | grep -q '"destination": "reliefos"' -echo "$group" | grep -q '"usr/share/locale/zh_CN"' -echo "$group" | grep -q '"usr/share/locale/ja_JP"' -echo "$group" | grep -q '"usr/share/musl/locales/ja_JP.UTF-8"' -if echo "$group" | grep -q '"usr/share/locale"'; then - printf 'FAIL - group claims the whole locale tree\n' - exit 1 -fi - -printf 'nls stage: ownership granularity and plan wiring passed\n' diff --git a/tests/build/test-ntclks-fetch.sh b/tests/build/test-ntclks-fetch.sh deleted file mode 100755 index 1b050539..00000000 --- a/tests/build/test-ntclks-fetch.sh +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh -# Contract tests for the kernel-fetch delegation: `make fetch` in the parent -# also runs `make fetch` in the ReliefNT checkout named by RELIEFNT_DIR. -# -# 1. `make reliefnt-fetch` delegates to the checkout's own fetch; -# 2. `make fetch` runs the parent fetch and the kernel fetch together; -# 3. a missing checkout warns and keeps the goal successful (fetch must keep -# working on a fresh machine before the submodule exists); -# 4. `make -n` never reaches the sub-make (the adapter's no-output promise); -# 5. RELIEFNT_DIR pointing back at this repository skips the delegation -# instead of recursing into `make -C . fetch`. -# -# Everything is stubbed: a fake checkout Makefile records the fetch call and -# the parent fetch script is replaced with a recorder, so no network and no -# real cache is touched. -set -u -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -deps=${RELIEFOS_DEPS:-${LEONOS_DEPS:?set by scripts/reliefos/Makefile.tests}} -lock=${RELIEFOS_LOCK:-${LEONOS_LOCK:-configs/dependencies.lock.json}} - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-fetch-delegate.XXXXXX") || exit 1 -failures=0 -checks=0 - -cleanup() { [ -n "${KEEP_WORK:-}" ] || rm -rf "$work"; } -trap cleanup EXIT INT TERM - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then shift; printf ' %s\n' "$@"; fi -} - -# A stub kernel checkout whose fetch only records that it ran. -mkdir -p "$work/reliefnt-stub" -cat >"$work/reliefnt-stub/Makefile" <>'$work/kernel-fetch-called' -EOF - -# A recorder for the parent's own fetch step. -cat >"$work/fetch-stub.sh" <>'$work/parent-fetch-called' -EOF - -# The recursion case must not be able to hang the suite if the guard breaks. -if command -v timeout >/dev/null 2>&1; then - guarded() { timeout 30 "$@"; } -else - guarded() { "$@"; } -fi - -printf '=== (1) make reliefnt-fetch delegates to the checkout ===\n' -if make -s O="$work/out" RELIEFNT_DIR="$work/reliefnt-stub" reliefnt-fetch \ - >"$work/delegate.log" 2>&1; then - pass "make reliefnt-fetch exits 0" -else - fail "make reliefnt-fetch exits 0" "$(head -c 400 "$work/delegate.log")" -fi -if [ -f "$work/kernel-fetch-called" ]; then - pass "the checkout's fetch goal ran" -else - fail "the checkout's fetch goal ran" 'no call marker was written' -fi - -printf '\n=== (2) make fetch runs both fetches ===\n' -rm -f "$work/kernel-fetch-called" "$work/parent-fetch-called" -if make -s O="$work/out" LEONOS_DEPS_TOOL="$deps" LEONOS_LOCK="$lock" \ - LEONOS_FETCH_SCRIPT="$work/fetch-stub.sh" LEONOS_CACHE="$work/cache" \ - RELIEFNT_DIR="$work/reliefnt-stub" fetch >"$work/fetch.log" 2>&1; then - pass "make fetch exits 0" -else - fail "make fetch exits 0" "$(head -c 400 "$work/fetch.log")" -fi -if [ -f "$work/parent-fetch-called" ]; then - pass "the parent fetch step ran" -else - fail "the parent fetch step ran" 'no call marker was written' -fi -if [ -f "$work/kernel-fetch-called" ]; then - pass "the kernel fetch step ran" -else - fail "the kernel fetch step ran" 'no call marker was written' -fi - -printf '\n=== (3) a missing checkout warns and stays successful ===\n' -rm -f "$work/kernel-fetch-called" -if make -s O="$work/out" RELIEFNT_DIR="$work/nonexistent" reliefnt-fetch \ - >"$work/missing.log" 2>&1; then - pass "make reliefnt-fetch exits 0 without a checkout" -else - fail "make reliefnt-fetch exits 0 without a checkout" \ - "$(head -c 400 "$work/missing.log")" -fi -if grep -q 'kernel checkout not found' "$work/missing.log"; then - pass "the skip warns about the missing checkout" -else - fail "the skip warns about the missing checkout" \ - "$(head -c 200 "$work/missing.log")" -fi -if [ ! -f "$work/kernel-fetch-called" ]; then - pass "no fetch ran against a missing checkout" -else - fail "no fetch ran against a missing checkout" 'a call marker was written' -fi - -printf '\n=== (4) make -n never reaches the sub-make ===\n' -rm -f "$work/kernel-fetch-called" -if make -s -n O="$work/out" RELIEFNT_DIR="$work/reliefnt-stub" reliefnt-fetch \ - >"$work/dryrun.log" 2>&1; then - pass "make -n reliefnt-fetch exits 0" -else - fail "make -n reliefnt-fetch exits 0" "$(head -c 400 "$work/dryrun.log")" -fi -if [ ! -f "$work/kernel-fetch-called" ]; then - pass "make -n writes no call marker" -else - fail "make -n writes no call marker" 'the sub-make ran under -n' -fi - -printf '\n=== (5) RELIEFNT_DIR pointing at this repository skips instead of recursing ===\n' -rm -f "$work/kernel-fetch-called" -if guarded make -s O="$work/out" RELIEFNT_DIR="$repo_root" reliefnt-fetch \ - >"$work/self.log" 2>&1; then - pass "make reliefnt-fetch RELIEFNT_DIR=. exits 0 without recursing" -else - fail "make reliefnt-fetch RELIEFNT_DIR=. exits 0 without recursing" \ - "$(head -c 400 "$work/self.log")" -fi -if grep -q 'skipping' "$work/self.log"; then - pass "the self-pointing skip is announced" -else - fail "the self-pointing skip is announced" "$(head -c 200 "$work/self.log")" -fi - -printf '\n%d checks, %d failures\n' "$checks" "$failures" -[ "$failures" -eq 0 ] diff --git a/tests/build/test-openrc-controller.sh b/tests/build/test-openrc-controller.sh deleted file mode 100644 index eb7575ba..00000000 --- a/tests/build/test-openrc-controller.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -TMPDIR="$src/out/tmp" -export TMPDIR -mkdir -p "$TMPDIR" -work=$(mktemp -d "$TMPDIR/openrc-controller.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fno-rtti \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/openrc-controller" \ - "$src/tools/tests/openrc_controller_model_test.cpp" \ - "$src/userland/apps/openrc-controller/model.cpp" -o "$work/model" -ASAN_OPTIONS=detect_leaks=1 "$work/model" -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fno-rtti \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/openrc-controller" \ - "$src/tools/tests/openrc_controller_config_test.cpp" \ - "$src/userland/apps/openrc-controller/model.cpp" \ - "$src/userland/apps/openrc-controller/config.cpp" -o "$work/config" -mkdir "$work/etc" -ASAN_OPTIONS=detect_leaks=1 "$work/config" "$work/etc" -# Exercise the actual session and worker in an exclusive user-namespace chroot. -# Commands below are private fixtures, never host service commands. -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions -fno-rtti \ - -I"$src/userland/apps/openrc-controller" \ - "$src/tools/tests/openrc_controller_session_test.cpp" \ - "$src/userland/apps/openrc-controller/model.cpp" \ - "$src/userland/apps/openrc-controller/config.cpp" \ - "$src/userland/apps/openrc-controller/session.cpp" \ - "$src/userland/apps/openrc-controller/worker.cpp" -o "$work/session" -mkdir -p "$work/root/etc/conf.d" "$work/root/etc/init.d" "$work/root/etc/runlevels/default" \ - "$work/root/run/openrc" "$work/root/sbin" "$work/root/bin" "$work/root/dev" -${HOSTCC:-cc} -static -O2 -Wall -Wextra -Werror "$src/tools/tests/openrc_controller_fake_command.c" -o "$work/root/sbin/rc-service" -cp "$work/root/sbin/rc-service" "$work/root/bin/rc-status" -cp "$work/session" "$work/root/session" -mkdir -p "$work/root/usr/lib/reliefos/apps/openrc-controller" -cp "$work/session" "$work/root/usr/lib/reliefos/apps/openrc-controller/openrc-controller.elf" -${HOSTCC:-cc} -static -O2 -Wall -Wextra -Werror "$src/tools/tests/openrc_controller_fake_su.c" -o "$work/root/bin/su" -ldd "$work/session" | awk '{for(i=1;i<=NF;i++)if($i~/^\//)print $i}' | while read -r lib; do - mkdir -p "$work/root$(dirname "$lib")"; cp "$lib" "$work/root$lib" -done -touch "$work/root/etc/init.d/probe" "$work/root/dev/null" -chmod 0755 "$work/root/etc/init.d/probe" -printf 'default\n' > "$work/root/run/openrc/softlevel" -mkdir -p "$work/root/dev/pts" -ln -s pts/ptmx "$work/root/dev/ptmx" -unshare -Urm --propagation private sh -ec ' - mount -t devpts devpts "$1/dev/pts" -o newinstance,ptmxmode=0666,mode=0620 - exec chroot "$1" /session -' sh "$work/root" diff --git a/tests/build/test-oschinpt-index.sh b/tests/build/test-oschinpt-index.sh deleted file mode 100644 index 582659cb..00000000 --- a/tests/build/test-oschinpt-index.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -w=$(mktemp -d); trap 'rm -rf "$w"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror -I"$src" "$src/tools/host/assets/reliefos-oschinpt-index.c" "$src/tools/host/common/io.c" "$src/tools/host/common/buffer.c" -o "$w/index" -printf 'a\tba\n# ignore\nb\tba\nc\taa\n' > "$w/dict" -"$w/index" "$w/dict" "$w/out" -# OSCI, version 1, two records, 24 dictionary bytes; aa before ba. -[ "$(od -An -tx1 -N12 "$w/out" | tr -d ' \n')" = 4f5343490100000002000000 ] -[ "$(od -An -tx1 -j16 -N8 "$w/out" | tr -d ' \n')" = 6161000000000000 ] -[ "$(stat -c %s "$w/out")" = 48 ] -printf '# nothing\n' > "$w/empty" -cp "$w/out" "$w/before" -if "$w/index" "$w/empty" "$w/out" 2>/dev/null; then exit 1; fi -cmp "$w/out" "$w/before" -printf 'oschinpt index: ABI ordering, grouping, empty input passed\n' diff --git a/tests/build/test-pages.sh b/tests/build/test-pages.sh deleted file mode 100644 index e5dc3a78..00000000 --- a/tests/build/test-pages.sh +++ /dev/null @@ -1,344 +0,0 @@ -#!/bin/sh -# Contract test for the GitHub Pages assembly: build a full tree from synthetic -# build artifacts, verify it passes verify-pages.sh, and confirm verify-pages.sh -# rejects the failure modes that must block a deployment (plan §46, §44). -# -# No cross toolchain is needed: rpr-pages.sh is exercised here only through the -# site.sh assembly of an already-built RPR subtree, and the APK index is produced -# by a stub `apk` exactly like test-rpr-packages.sh does. -set -eu - -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -: "${RELIEFOS_KERNEL_TOOLS:=$src/out/kbuild-os-native/host/bin/reliefos-kernel-tools}" -RELIEFOS_KERNEL_RECOVERY=${RELIEFOS_TEST_RECOVERY:-$src/out/kbuild-os-native/userland/initramfs/kernel-bundle.elf} -export RELIEFOS_KERNEL_TOOLS RELIEFOS_KERNEL_RECOVERY -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT HUP INT TERM -fail=0 -ok() { printf 'ok - %s\n' "$1"; } -bad() { printf 'FAIL - %s\n' "$1"; fail=1; } - -build="$tmp/build_info.h" -printf '#define RELIEFOS_KERNEL_VERSION "4.9.1"\n' > "$build" -head -c 123456 /dev/zero > "$tmp/reliefos-installer.iso" - -# The complete kernel/module/initramfs fixture uses the actual native producers -# and runtime verifier. APK encoding/signatures have their own real integration -# test; this Pages fixture deliberately checks layout with a recording encoder. -python3 "$src/tools/tests/make_kernel_bundle_fixture.py" "$tmp/kernel-payload" "$tmp/kernel.sys" -kernel_hash=$(sha256sum "$tmp/kernel.sys" | cut -d' ' -f1) -version_src="$tmp/build-version" -printf 'kernel_name=ReliefNT\nrelease_version=4.9.1\n' > "$version_src" - -# Stub apk: mkndx just creates the requested output, as in the RPR test. -mkdir -p "$tmp/fake-bin" -cat > "$tmp/fake-bin/apk" <<'EOF' -#!/bin/sh -set -eu -case " $* " in - *' extract '*) - while [ "$1" != --destination ]; do shift; done - destination=$2 - cp -a "$RELIEFOS_RPR_TEST_PAYLOAD/lib" "$RELIEFOS_RPR_TEST_PAYLOAD/usr" "$destination/" - exit 0 ;; -esac -[ "$1" = mkndx ] || exit 0 -out= -while [ "$#" -gt 0 ]; do [ "$1" = --output ] && out=$2; shift; done -[ -n "$out" ] && : > "$out" -EOF -chmod 755 "$tmp/fake-bin/apk" -RELIEFOS_RPR_TEST_PAYLOAD=$tmp/kernel-payload -export RELIEFOS_RPR_TEST_PAYLOAD - -# Real 0600 signing key so the pub-key export path is exercised. -openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out "$tmp/key" 2>/dev/null -chmod 600 "$tmp/key" - -# Two package sources so the generated list has >1 row. -mkdir -p "$tmp/repository" "$tmp/apps" -printf aaa > "$tmp/repository/reliefos-musl-4.9.1-r5.apk" -printf kernel-package-fixture > "$tmp/repository/reliefos-kernel-4.9.1-r5.apk" -printf bb > "$tmp/apps/reliefos-demo-4.9.1-r5.apk" - -# 1. Build the RPR subtree, then assemble the full Pages tree. -sh "$src/tools/build/rpr-pages.sh" "$tmp/repository" "$tmp/apps" \ - "$tmp/kernel.sys" "$tmp/kernel-payload" "$version_src" \ - "$tmp/fake-bin/apk" "$tmp/key" "$tmp/rpr-pages" \ - || { echo 'rpr-pages.sh failed' >&2; exit 1; } -sh "$src/tools/build/site.sh" "$tmp/rpr-pages" "$tmp/reliefos-installer.iso" \ - "$build" "$src/resources/pages/css/reliefos.css" "$tmp/pages" "$src/kernel/reliefnt/Documentation" \ - || { echo 'site.sh failed' >&2; exit 1; } - -# Public brand and download contract: visible page titles use the current -# product names, and the advertised checksum names the exact ISO beside it. -grep -q 'ReliefOS' "$tmp/pages/index.html" \ - && grep -q '

ReliefOS

' "$tmp/pages/index.html" \ - && ok 'home page is titled ReliefOS' \ - || bad 'home page title is not ReliefOS' -for language in zh-CN en ja; do - case $language in - zh-CN) prefix=; kernel_title='ReliefNT 内核'; label='下载'; iso_href=reliefos-installer.iso ;; - en) prefix=en/; kernel_title='ReliefNT Kernel'; label=Download; iso_href=../../download/reliefos-installer.iso ;; - ja) prefix=ja/; kernel_title='ReliefNT カーネル'; label='ダウンロード'; iso_href=../../download/reliefos-installer.iso ;; - esac - grep -Fq "$kernel_title" "$tmp/pages/${prefix}rpr/kernel/index.html" \ - && grep -Fq "

$kernel_title

" "$tmp/pages/${prefix}rpr/kernel/index.html" \ - && ok "$language kernel page uses the ReliefNT title" \ - || bad "$language kernel page has the wrong title" - grep -Fq "$label" "$tmp/pages/${prefix}download/index.html" \ - && ok "$language download page links to the canonical ISO" \ - || bad "$language download page has the wrong ISO link" -done -sum_names=$(awk '{print $2}' "$tmp/pages/download/SHA256SUMS") -[ "$sum_names" = reliefos-installer.iso ] \ - && ok 'SHA256SUMS names the published installer ISO' \ - || bad "SHA256SUMS names the wrong download: $sum_names" - -# Artifact identity and cross-job handoff are checked by test-ci.sh using -# actual files, including corruption and a mismatched published installer. - -# 2. The assembled tree must pass verification. -if sh "$src/tools/build/verify-pages.sh" "$tmp/pages" >"$tmp/verify-good.log" 2>&1; then - ok 'verify-pages.sh accepts the assembled tree' -else - cat "$tmp/verify-good.log" >&2 - bad 'verify-pages.sh rejected a good tree' -fi -python3 "$src/tests/build/test-site-i18n.py" "$tmp/pages" \ - && ok 'three-language routes, content, switches and negative contracts pass' \ - || bad 'three-language site contracts failed' - -# Every original RPR machine byte survives both rendering and assembly. -(cd "$tmp/rpr-pages" && find . -type f ! -name '*.html' -exec sha256sum {} + | LC_ALL=C sort) > "$tmp/rpr-before" -(cd "$tmp/pages/rpr" && find . -type f ! -name '*.html' -exec sha256sum {} + | LC_ALL=C sort) > "$tmp/rpr-after" -cmp -s "$tmp/rpr-before" "$tmp/rpr-after" \ - && ok 'RPR non-HTML files are byte-identical after site assembly' \ - || bad 'site assembly modified RPR non-HTML files' - -# 3. Every machine-interface file survived the move under /rpr/. -for f in rpr/apk/packages.adb rpr/apk/repository.json rpr/apk/reliefos-rpr.rsa.pub rpr/apk/leonos-rpr.rsa.pub \ - rpr/apk/SHA256SUMS rpr/kernel/release.txt rpr/kernel/release.json \ - rpr/kernel/kernel.sys rpr/kernel/initramfs.cpio rpr/kernel/bundle.json rpr/kernel/SHA256SUMS \ - rpr/manifest.json rpr/health.txt; do - [ -f "$tmp/pages/$f" ] || bad "machine interface lost $f" -done -[ -f "$tmp/pages/rpr/manifest.json" ] && ok 'RPR machine interface preserved' - -# 4. Release.txt version is the real 3-part version (machine contract, §37). -grep -q '^version=4.9.1$' "$tmp/pages/rpr/kernel/release.txt" \ - && ok 'release.txt version matches build' \ - || bad 'release.txt version drifted from build' - -# 4b. Protocol 4 couples the verified module inventory and initramfs to the -# exact signed package/index cohort. Legacy kernel-only clients refuse it. -keys=$(sed 's/=.*//' "$tmp/pages/rpr/kernel/release.txt" | LC_ALL=C sort | tr '\n' ' ') -expected_keys='bundle_manifest_sha256 format_version image_version initramfs_sha256 kernel_release kernel_sha256 module_abi module_directory package package_file package_sha256 package_version repository_sha256 version ' -if [ "$keys" = "$expected_keys" ]; then - ok 'release.txt uses the complete protocol 4 key set' -else - bad "release.txt key set drifted: $keys" -fi -grep -q "^kernel_sha256=$kernel_hash\$" "$tmp/pages/rpr/kernel/release.txt" \ - && ok 'release.txt hash matches the published kernel manifest' \ - || bad 'release.txt hash drifted from the kernel manifest' - -# 5. No JavaScript anywhere and the ISO hash matches its SHA256SUMS. -[ -z "$(find "$tmp/pages" -type f -name '*.js' 2>/dev/null)" ] \ - && ok 'no .js files in Pages tree' || bad 'a .js file leaked into Pages' -( cd "$tmp/pages/download" && sha256sum -c SHA256SUMS >/dev/null 2>&1 ) \ - && ok 'installer ISO matches download/SHA256SUMS' \ - || bad 'installer ISO checksum mismatch' - -# 5b. The indexed manual preserves its hierarchy without raw source or scripts. -[ -f "$tmp/pages/docs/index.html" ] && ok 'docs index present' || bad 'docs index missing' -for doc in admin-guide/installation applications/diskmgr kbuild/building process/releasing; do - [ -s "$tmp/pages/docs/reliefos/$doc.html" ] && ok "Sphinx page present: $doc" || bad "missing Sphinx page: $doc" -done -source_leak=$(find "$tmp/pages/docs" -type f \( -name '*.md' -o -name '*.rst' -o -name '*.rst.txt' -o -name '*.pickle' \) -print) -[ -z "$source_leak" ] && ok 'no raw source or doctrees in published manual' || bad "source leaked: $source_leak" - -# The kernel manual comes from the kernel repository, not the system book. -if [ -s "$tmp/pages/docs/reliefnt/core-api/modules.html" ] && - grep -q 'ReliefNT 内核文档' "$tmp/pages/docs/reliefnt/index.html" && - [ ! -e "$tmp/pages/docs/reliefos/core-api/modules.html" ]; then - ok 'system and kernel manuals remain separate' -else - bad 'kernel manual is absent or mixed into the system book' -fi -grep -Fq 'href="../docs/reliefos/index.html"' "$tmp/pages/rpr/index.html" && -grep -Fq 'href="../../docs/reliefnt/index.html"' "$tmp/pages/rpr/kernel/index.html" && - ok 'RPR links to both owning manuals' || bad 'RPR documentation links missing' - -# 5c. An unresolved RST cross-reference must fail without replacing a good manual. -bad_root=$tmp/bad-repository -bad_docs=$bad_root/Documentation -mkdir -p "$bad_docs" "$bad_root/configs" "$bad_root/scripts" -cp "$src/Documentation/conf.py" "$bad_docs/conf.py" -# The production conf reads release data relative to its repository root. -cp "$src/configs/build-version" "$bad_root/configs/build-version" -cp "$src/scripts/build-docs.sh" "$src/scripts/docs-python.sh" \ - "$src/scripts/update-doc-translations.py" "$bad_root/scripts/" -cp -R "$src/Documentation/_templates" "$bad_docs/_templates" -cp -R "$src/Documentation/_static" "$bad_docs/_static" -mkdir -p "$bad_docs/locale" -cp "$src/Documentation/locale/identical.json" "$bad_docs/locale/identical.json" -cat > "$bad_docs/index.rst" <<'RST' -Broken reference -================ - -See :doc:`missing-page`. -RST -# Complete catalogs let Sphinx process the actual invalid reference; -# a missing script, static directory or translation must not satisfy this test. -for language in en ja; do - case $language in - en) reference_title='Broken reference'; reference_body='See :doc:`missing-page`.' ;; - ja) reference_title='壊れた参照'; reference_body=':doc:`missing-page` を参照してください。' ;; - esac - mkdir -p "$bad_docs/locale/$language/LC_MESSAGES" - cat > "$bad_docs/locale/$language/LC_MESSAGES/index.po" <"$tmp/bad-docs.log" 2>&1; then - bad 'Sphinx accepted an unresolved document reference' -elif grep -Eq 'unknown document:.*missing-page' "$tmp/bad-docs.log" && [ "$before_docs" = "$(sha256sum "$tmp/pages/docs/reliefos/index.html")" ]; then - ok 'unresolved RST reference fails and preserves the published manual' -else - cat "$tmp/bad-docs.log" >&2 - bad 'documentation failure was unrelated or replaced the published tree' -fi - -# A bad kernel manual must not publish even if the system manual built. -before_site=$(sha256sum "$tmp/pages/index.html" "$tmp/pages/docs/reliefnt/index.html") -if sh "$src/tools/build/site.sh" "$tmp/rpr-pages" "$tmp/reliefos-installer.iso" \ - "$build" "$src/resources/pages/css/reliefos.css" "$tmp/pages" "$bad_docs" \ - >"$tmp/bad-kernel-docs.log" 2>&1; then - bad 'site publication accepted a broken kernel manual' -elif grep -Eq 'unknown document:.*missing-page' "$tmp/bad-kernel-docs.log" && - [ "$before_site" = "$(sha256sum "$tmp/pages/index.html" "$tmp/pages/docs/reliefnt/index.html")" ]; then - ok 'kernel documentation failure preserves the complete published site' -else - bad 'kernel documentation failure was unrelated or replaced the site' -fi - -# The production Make rule must notice deleted pages in either repository. -# A query-only fixture exercises that rule without rebuilding product images. -fixture="$tmp/make-fixture" -mkdir -p "$fixture/os/Documentation" "$fixture/nt/Documentation" \ - "$fixture/os/resources/pages/css" "$fixture/os/resources/pages/i18n" "$fixture/os/tools/build" \ - "$fixture/os/scripts" "$fixture/nt/scripts" "$fixture/os/configs" "$fixture/nt/configs" \ - "$fixture/rpr" "$fixture/out/pages" -for path in site.sh download-page.sh home-page.sh docs-page.sh site-common.sh rpr-human-pages.sh; do - : > "$fixture/os/tools/build/$path" -done -for path in os/Documentation/index.rst os/Documentation/old.rst \ - nt/Documentation/index.rst nt/Documentation/old.rst \ - os/configs/build-version nt/configs/build-version os/scripts/build-docs.sh \ - nt/scripts/build-docs.sh os/scripts/update-doc-translations.py nt/scripts/update-doc-translations.py \ - os/scripts/docs-python.sh nt/scripts/docs-python.sh \ - os/resources/pages/css/reliefos.css rpr/.complete rpr/manifest.json \ - os/resources/pages/i18n/zh-CN.sh os/resources/pages/i18n/en.sh os/resources/pages/i18n/ja.sh \ - installer.iso build_info.h; do - : > "$fixture/$path" -done -cat > "$fixture/Makefile" < "$fixture/$repo/Documentation/old.rst" - find "$fixture" -exec touch -t 200001010000 {} + - touch -t 200001020000 "$fixture/out/pages/.site-complete" "$fixture/out/pages/index.html" - if ! make --no-print-directory -f "$fixture/Makefile" -q "$fixture/out/pages/.site-complete"; then - bad "Pages dependency fixture was not initially current for $repo" - fi - rm "$fixture/$repo/Documentation/old.rst" - if make --no-print-directory -f "$fixture/Makefile" -q "$fixture/out/pages/.site-complete"; then - bad "deleted $repo documentation would remain published" - elif [ "$?" = 1 ]; then - ok "deleted $repo documentation triggers Pages rebuilding" - else - bad "Pages dependency query failed for $repo" - fi -done - -# Both repositories' clean targets own generated documentation, while unknown -# files inside the output directory must survive. Pages belongs to the system. -for repo in os nt; do - clean_source=$src - [ "$repo" = os ] || clean_source=$src/kernel/reliefnt - clean_output="$tmp/clean-$repo" - mkdir -p "$clean_output/Documentation/html" - : > "$clean_output/Documentation/html/index.html" - printf 'keep user notes\n' > "$clean_output/notes.txt" - printf 'reliefos-build-out version=1 root=%s\n' "$clean_source" > "$clean_output/.reliefos-out" - if [ "$repo" = os ]; then mkdir -p "$clean_output/pages"; fi - if O="$clean_output" SRC="$clean_source" KEEP_CONFIG=1 \ - sh "$clean_source/scripts/clean.sh" >"$tmp/clean-$repo.log" 2>&1 && - [ ! -e "$clean_output/Documentation" ] && [ ! -e "$clean_output/pages" ] && - [ -s "$clean_output/notes.txt" ]; then - ok "$repo clean removes generated manuals and keeps unknown files" - else - cat "$tmp/clean-$repo.log" >&2 - bad "$repo documentation cleanup failed" - fi -done - -# 6. Negative: a broken link must fail verification. -cp -R "$tmp/pages" "$tmp/broken" -sed -i 's#href="download/index.html"#href="download/nope.html?release=4.9.1"#' "$tmp/broken/index.html" -if sh "$src/tools/build/verify-pages.sh" "$tmp/broken" >/dev/null 2>&1; then - bad 'verify-pages.sh accepted a broken link' -else - ok 'verify-pages.sh rejects a broken link' -fi - -# 7. Negative: injected JavaScript must fail verification. -cp -R "$tmp/pages" "$tmp/js" -printf 'alert(1)\n' > "$tmp/js/tracker.js" -if sh "$src/tools/build/verify-pages.sh" "$tmp/js" >/dev/null 2>&1; then - bad 'verify-pages.sh accepted a .js file' -else - ok 'verify-pages.sh rejects a .js file' -fi - -# 8. Negative: a missing machine file must fail verification. -cp -R "$tmp/pages" "$tmp/noindex" -rm -f "$tmp/noindex/rpr/apk/packages.adb" -if sh "$src/tools/build/verify-pages.sh" "$tmp/noindex" >/dev/null 2>&1; then - bad 'verify-pages.sh accepted a missing packages.adb' -else - ok 'verify-pages.sh rejects a missing packages.adb' -fi - -# The deployment checker binds all kernel/update artifacts to the same release. -for member in kernel/initramfs.cpio kernel/bundle.json apk/packages.adb kernel/release.json; do - broken="$tmp/cohort-${member##*/}" - cp -R "$tmp/pages" "$broken" - printf 'cohort corruption\n' >> "$broken/rpr/$member" - if sh "$src/tools/build/verify-pages.sh" "$broken" >/dev/null 2>&1; then - bad "verify-pages.sh accepted corrupt $member" - else - ok "verify-pages.sh rejects corrupt $member" - fi -done - -[ "$fail" = 0 ] || exit 1 -printf 'Pages assembly and verification contract passed\n' diff --git a/tests/build/test-pam-install-modes.sh b/tests/build/test-pam-install-modes.sh deleted file mode 100644 index 5fe27572..00000000 --- a/tests/build/test-pam-install-modes.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -set -eu -repo=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -src=$work/source build=$work/build dest=$work/destination -mkdir -p "$build/lib" "$build/modules" "$build/bin" -for lib in pam pam_misc pamc; do - printf 'library fixture\n' > "$build/lib/lib$lib.so.0.1" - chmod 0700 "$build/lib/lib$lib.so.0.1" - ln -s "lib$lib.so.0.1" "$build/lib/lib$lib.so.0" - ln -s "lib$lib.so.0" "$build/lib/lib$lib.so" -done -printf 'module fixture\n' > "$build/modules/pam_fixture.so" -chmod 0700 "$build/modules/pam_fixture.so" -for name in faillock mkhomedir_helper pwhistory_helper pam_timestamp_check unix_chkpwd upperLOWER; do - printf 'helper fixture\n' > "$build/bin/$name" -done -mkdir -p "$src/libpam/include/security" "$src/libpamc/include/security" \ - "$src/libpam_misc/include/security" "$src/modules/pam_filter" -for header in _pam_compat _pam_macros _pam_types pam_appl pam_ext pam_modules pam_modutil; do - : > "$src/libpam/include/security/$header.h" -done -: > "$src/libpamc/include/security/pam_client.h" -: > "$src/libpam_misc/include/security/pam_misc.h" -: > "$src/modules/pam_filter/pam_filter.h" -for pair in access:access env:pam_env group:group faillock:faillock limits:limits namespace:namespace pwhistory:pwhistory time:time; do - module=${pair%%:*} conf=${pair#*:} - mkdir -p "$src/modules/pam_$module" - : > "$src/modules/pam_$module/$conf.conf" -done -: > "$src/modules/pam_env/environment" -for name in namespace.init pam_namespace_helper.in pam_namespace.service.in; do - : > "$src/modules/pam_namespace/$name" -done -(umask 077; sh "$repo/tools/build/pam/install.sh" "$src" "$build" "$dest") -for lib in pam pam_misc pamc; do - test "$(stat -c %a "$dest/lib/lib$lib.so.0.1")" = 755 - test "$(readlink "$dest/lib/lib$lib.so.0")" = "lib$lib.so.0.1" -done -test "$(stat -c %a "$dest/lib/security/pam_fixture.so")" = 755 -test "$(stat -c %a "$dest/usr/include/security/pam_appl.h")" = 644 -test "$(stat -c %a "$dest/lib")" = 755 -test "$(stat -c %a "$dest/lib/security")" = 755 -printf 'PAM install: library/module modes and symlinks survive restrictive host umask\n' diff --git a/tests/build/test-qemu-firmware.sh b/tests/build/test-qemu-firmware.sh index d27e67e1..3550eecb 100644 --- a/tests/build/test-qemu-firmware.sh +++ b/tests/build/test-qemu-firmware.sh @@ -1,69 +1,31 @@ #!/bin/sh -# Capture native run argv without launching a VM or requiring real media. +# Capture the arguments from the public launcher without booting a guest. set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) w=$(mktemp -d) trap 'rm -rf "$w"' EXIT HUP INT TERM -cat > "$w/Kbuild" < "$w/qemu" <<'EOF' +mkdir -p "$w/out/images" +touch "$w/out/images/reliefos.vmdk" "$w/out/images/reliefos-installer.iso" "$w/ovmf.fd" +cat > "$w/qemu" <<'STUB' #!/bin/sh printf '%s\n' "$@" > "$QEMU_CAPTURE" -EOF +STUB chmod +x "$w/qemu" -touch "$w/ovmf.fd" -for goal in run run-iso run-installer; do - for mode in bios uefi; do - firmware=$w/missing-ovmf.fd - [ "$mode" != uefi ] || firmware=$w/ovmf.fd - QEMU_CAPTURE=$w/argv make --no-print-directory -f "$w/Kbuild" "$goal" \ - QEMU="$w/qemu" QEMU_BOOT="$mode" QEMU_FIRMWARE="$firmware" \ - DISK_VMDK=private.vmdk LIVE_ISO=live.iso INSTALLER_ISO=installer.iso > "$w/run.log" 2>&1 || { - cat "$w/run.log" >&2; exit 1; - } - if [ "$mode" = bios ]; then - if grep -Fxq -- -bios "$w/argv"; then echo 'FAIL - BIOS still supplies OVMF' >&2; exit 1; fi +export QEMU_CAPTURE="$w/argv" QEMU="$w/qemu" QEMU_KVM=0 +for firmware in bios uefi; do + export QEMU_BOOT="$firmware" QEMU_FIRMWARE="$w/ovmf.fd" + for goal in run-only run-installer-only; do + make -s -C "$src" O="$w/out" "$goal" + grep -Fxq q35 "$w/argv" + if [ "$firmware" = uefi ]; then + grep -Fxq -- '-bios' "$w/argv" + grep -Fxq "$QEMU_FIRMWARE" "$w/argv" else - grep -Fxq -- -bios "$w/argv" - grep -Fxq -- "$w/ovmf.fd" "$w/argv" + ! grep -Fxq -- '-bios' "$w/argv" fi + case "$goal" in + run-only) grep -Fxq "file=$w/out/images/reliefos.vmdk,if=none,id=osdisk,format=vmdk" "$w/argv" ;; + *) grep -Fxq "$w/out/images/reliefos-installer.iso" "$w/argv"; grep -Fxq -- '-cdrom' "$w/argv" ;; + esac done done -for mode in uefi unknown; do - rm -f "$w/argv" - if QEMU_CAPTURE=$w/argv make --no-print-directory -f "$w/Kbuild" run \ - QEMU="$w/qemu" QEMU_BOOT="$mode" QEMU_FIRMWARE="$w/missing" > "$w/fail.log" 2>&1; then - echo 'FAIL - invalid firmware policy succeeded' >&2; exit 1 - fi - [ ! -e "$w/argv" ] -done -for gpu in vga virtio virgl; do - QEMU_CAPTURE=$w/argv make --no-print-directory -f "$w/Kbuild" run \ - QEMU="$w/qemu" QEMU_BOOT=bios QEMU_GPU="$gpu" \ - DISK_VMDK=private.vmdk > "$w/run.log" 2>&1 - case $gpu in - vga) grep -Fxq -- VGA,xres=1920,yres=1080 "$w/argv" ;; - virtio) grep -Fxq -- virtio-vga "$w/argv" ;; - virgl) - grep -Fxq -- virtio-vga-gl "$w/argv" - grep -Fxq -- gtk,gl=on "$w/argv" - ;; - esac -done -QEMU_CAPTURE=$w/argv make --no-print-directory -f "$w/Kbuild" run \ - QEMU="$w/qemu" QEMU_BOOT=bios QEMU_GPU=virgl QEMU_DISPLAY=egl-headless \ - DISK_VMDK=private.vmdk > "$w/run.log" 2>&1 -grep -Fxq -- egl-headless "$w/argv" -for gpu in vmware unknown; do - rm -f "$w/argv" - if QEMU_CAPTURE=$w/argv make --no-print-directory -f "$w/Kbuild" run \ - QEMU="$w/qemu" QEMU_BOOT=bios QEMU_GPU="$gpu" > "$w/fail.log" 2>&1; then - echo "FAIL - unsupported GPU policy $gpu succeeded" >&2; exit 1 - fi - [ ! -e "$w/argv" ] -done -printf 'PASS QEMU firmware: BIOS has no OVMF dependency, UEFI requires firmware, all3 run targets and unknown-mode rejection\n' -printf 'PASS QEMU GPU: VGA, VirtIO 2D, VirGL and explicit display override\n' diff --git a/tests/build/test-relative-kernel-output.sh b/tests/build/test-relative-kernel-output.sh index e87b312b..9f2af37d 100755 --- a/tests/build/test-relative-kernel-output.sh +++ b/tests/build/test-relative-kernel-output.sh @@ -4,7 +4,7 @@ set -eu repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) cd "$repo_root" -reliefnt=${RELIEFNT_DIR:-${NTCLKS_DIR:-$repo_root/kernel/reliefnt}} +reliefnt=${RELIEFNT_DIR:-$repo_root/kernel/reliefnt} mkdir -p out work=$(mktemp -d "$repo_root/out/test-relative-kernel-output.XXXXXX") @@ -14,8 +14,8 @@ trap 'rm -rf -- "$work" "$reliefnt/$relative_o"' EXIT HUP INT TERM for kernel_o in default override; do if [ "$kernel_o" = override ]; then reliefnt_o=$relative_o/kernel-custom - if ! make -s O="$relative_o" NTCLKS_O="$reliefnt_o" headers_install; then - printf 'FAIL - relative NTCLKS_O compatibility export failed\n' >&2 + if ! make -s O="$relative_o" RELIEFNT_O="$reliefnt_o" headers_install; then + printf 'FAIL - relative RELIEFNT_O export failed\n' >&2 exit 1 fi else diff --git a/tests/build/test-reliefapk-certificates.sh b/tests/build/test-reliefapk-certificates.sh deleted file mode 100755 index a1b40271..00000000 --- a/tests/build/test-reliefapk-certificates.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -TMPDIR="$src/out/tmp" -export TMPDIR -mkdir -p "$TMPDIR" -. "$src/tests/lib/runtime-dependencies.sh" -work=$(mktemp -d "$TMPDIR/reliefapk-ca.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -m 700 "$work/trust" -${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -fno-exceptions -fno-rtti -nostdinc++ \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/reliefapk" -I"$runtime_deps/usr/include" \ - "$src/tools/tests/reliefapk_certificates_test.cpp" \ - "$src/userland/apps/reliefapk/certificate_io.cpp" \ - "$runtime_deps/usr/lib/libmbedx509.a" "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ - -o "$work/recover" -ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 \ - "$work/recover" "$work/trust" "$src/system/certs/cacert.pem" diff --git a/tests/build/test-reliefapk-model.sh b/tests/build/test-reliefapk-model.sh deleted file mode 100755 index f419e317..00000000 --- a/tests/build/test-reliefapk-model.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -TMPDIR="$src/out/tmp" -export TMPDIR -mkdir -p "$TMPDIR" -work=$(mktemp -d "$TMPDIR/reliefapk-model.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCXX:-c++} -std=c++17 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror \ - -fno-exceptions -fno-rtti -nostdinc++ -fsanitize=address,undefined \ - -fno-sanitize-recover=all -g -I"$src/userland/apps/reliefapk" \ - "$src/tools/tests/reliefapk_model_test.cpp" \ - "$src/userland/apps/reliefapk/model.cpp" -o "$work/reliefapk-model" -ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 "$work/reliefapk-model" diff --git a/tests/build/test-reliefapk-repositories.sh b/tests/build/test-reliefapk-repositories.sh deleted file mode 100644 index ebee238d..00000000 --- a/tests/build/test-reliefapk-repositories.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -mkdir -p "${TMPDIR:-$src/out/tmp}" -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/reliefapk-repositories.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCXX:-c++} -std=c++17 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror \ - -fno-exceptions -fno-rtti -fsanitize=address,undefined -g \ - -I"$src/userland/apps/reliefapk" "$src/tools/tests/reliefapk_repositories_test.cpp" \ - "$src/userland/apps/reliefapk/repositories.cpp" -o "$work/test" -TMPDIR="$work" ASAN_OPTIONS=detect_leaks=1 "$work/test" diff --git a/tests/build/test-reliefcapture-ownership.sh b/tests/build/test-reliefcapture-ownership.sh index 50a88e69..c364c3cd 100755 --- a/tests/build/test-reliefcapture-ownership.sh +++ b/tests/build/test-reliefcapture-ownership.sh @@ -1,31 +1,4 @@ #!/bin/sh set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -tmp_base=$TMPDIR -if [ -z "$tmp_base" ]; then tmp_base=$src/out/tmp; fi -mkdir -p "$tmp_base" -work=$(mktemp -d "$tmp_base/reliefcapture-ownership.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -hostcc=$(printenv HOSTCC || true) -if [ -z "$hostcc" ]; then hostcc=cc; fi -$hostcc -std=c11 -Wall -Wextra -Werror -I"$src" \ - "$src/tools/host/apk/reliefos-apk-own.c" "$src/tools/host/manifest/json.c" \ - "$src/tools/host/common/buffer.c" "$src/tools/host/common/io.c" -o "$work/own" -mkdir -p "$work/root/usr/lib/reliefos/apps/reliefcapture" \ - "$work/root/usr/bin" "$work/root/usr/share/applications" -printf 'fixture\n' > "$work/root/usr/lib/reliefos/apps/reliefcapture/reliefcapture.elf" -printf 'bitmap fixture\n' > "$work/root/usr/lib/reliefos/apps/reliefcapture/reliefcapture.bmp" -ln -s ../lib/reliefos/apps/reliefcapture/reliefcapture.elf "$work/root/usr/bin/reliefcapture" -printf 'desktop fixture\n' > "$work/root/usr/share/applications/reliefos-reliefcapture.desktop" -for size in 16 32 48 64 128 256; do - path=usr/share/icons/hicolor/$size'x'$size/apps - mkdir -p "$work/root/$path" - printf 'PNG fixture %s\n' "$size" > "$work/root/$path/reliefos-reliefcapture.png" -done -"$work/own" --policy "$src/configs/apk-ownership.json" \ - --root "$work/root" --output "$work/rows" -if ! awk -F '\t' '$2=="dir" {next} $1!="reliefos-reliefcapture" {bad=1} {count++} END {exit bad || count!=10}' "$work/rows"; then - cat "$work/rows" - exit 1 -fi -printf 'ReliefCapture ownership: executable, launcher and all artwork belong to its standalone APK\n' +src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) +exec bash "$src/tests/build/app-package-fixture.sh" reliefcapture diff --git a/tests/build/test-reliefdiagram-ownership.sh b/tests/build/test-reliefdiagram-ownership.sh index 7cc9ffa0..ff1827ad 100644 --- a/tests/build/test-reliefdiagram-ownership.sh +++ b/tests/build/test-reliefdiagram-ownership.sh @@ -1,26 +1,4 @@ #!/bin/sh set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/reliefdiagram-ownership.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -I"$src" \ - "$src/tools/host/apk/reliefos-apk-own.c" "$src/tools/host/manifest/json.c" \ - "$src/tools/host/common/buffer.c" "$src/tools/host/common/io.c" -o "$work/own" -mkdir -p "$work/root/usr/lib/reliefos/apps/reliefdiagram" "$work/root/usr/bin" \ - "$work/root/usr/share/applications" "$work/root/usr/share/mime/packages" -printf 'fixture\n' > "$work/root/usr/lib/reliefos/apps/reliefdiagram/reliefdiagram.elf" -cp "$src/resources/build-art/app-icons/reliefdiagram.bmp" "$work/root/usr/lib/reliefos/apps/reliefdiagram/" -ln -s ../lib/reliefos/apps/reliefdiagram/reliefdiagram.elf "$work/root/usr/bin/reliefdiagram" -cp "$src/userland/apps/reliefdiagram/reliefdiagram.desktop" "$work/root/usr/share/applications/reliefos-reliefdiagram.desktop" -cp "$src/system/rootfs/usr/share/mime/packages/reliefdiagram.xml" "$work/root/usr/share/mime/packages/" -for size in 16 32 48 64 128 256; do - path=usr/share/icons/hicolor/${size}x${size}/apps - mkdir -p "$work/root/$path" - cp "$src/resources/build-art/app-icons/hicolor/${size}x${size}/apps/reliefos-reliefdiagram.png" "$work/root/$path/" -done -"$work/own" --policy "$src/configs/apk-ownership.json" --root "$work/root" --output "$work/rows" -if ! awk -F '\t' '$2=="dir" {next} $1!="reliefos-reliefdiagram" {bad=1} {count++} END {exit bad || count!=11}' "$work/rows"; then - cat "$work/rows" - exit 1 -fi -printf 'ReliefDiagram ownership: executable, launcher, MIME and artwork travel together\n' +exec bash "$src/tests/build/app-package-fixture.sh" reliefdiagram diff --git a/tests/build/test-reliefmail-detail-widget.sh b/tests/build/test-reliefmail-detail-widget.sh index ed835abc..9ab50650 100644 --- a/tests/build/test-reliefmail-detail-widget.sh +++ b/tests/build/test-reliefmail-detail-widget.sh @@ -1,44 +1,18 @@ #!/bin/sh set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -target=${RELIEFOS_TEST_BUILD_ROOT:-$src/out/x86_64/release} -sdk="$target/sdk/reliefos-musl-sdk" -fltk="$target/upstream/x11-development/usr" -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefmail-detail-widget.XXXXXX") +tmp_root=${TMPDIR:-$src/out/tmp} +mkdir -p "$tmp_root" +work=$(mktemp -d "$tmp_root/reliefmail-detail-widget.XXXXXX") trap 'rm -rf "$work"' EXIT HUP INT TERM -binary="$work/reliefmail-detail-widget" -fontconfig="$work/fontconfig.xml" -fontconfig_path="$work/fontconfig" -widget_source="${RELIEFMAIL_WIDGET_SOURCE:-$src/userland/apps/reliefmail/ui_widgets.cpp}" -mkdir -p "$fontconfig_path" -cat >"$fontconfig" <<'EOF' - - - - FONT_DIR_PLACEHOLDER - /tmp - -EOF -sed "s|FONT_DIR_PLACEHOLDER|$target/stage/disk-root/usr/share/fonts|" \ - "$fontconfig" >"$fontconfig_path/fonts.conf" +widget_source=${RELIEFMAIL_WIDGET_SOURCE:-$src/userland/apps/reliefmail/ui_widgets.cpp} -"$sdk/bin/reliefos-musl-cc" -x c++ -std=c++17 -nostdinc++ \ - -fno-exceptions -fno-rtti -O1 -Wall -Wextra -Werror \ - -Wno-unused-command-line-argument -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE \ - -I"$src/userland/apps/reliefmail" -I"$src/userland/apps" \ - -I"$src/userland/runtime/include" -I"$src/include" -I"$target/include" \ - -I"$sdk/include" -isystem "$fltk/include" \ - -include "$target/include/generated/autoconf.h" \ - "$src/tests/host/test_reliefmail_detail_widget.cpp" \ - "$widget_source" \ +${HOSTCXX:-c++} -std=c++17 -fno-exceptions -fno-rtti -O1 -Wall -Wextra -Werror \ + -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE \ + -I"$src/userland/apps/reliefmail" -I"$src/userland/apps" -I"$src/include" \ + -idirafter "$src/userland/runtime/include" -idirafter "$src/kernel/reliefnt/include/uapi" \ + $(fltk-config --cxxflags) \ + "$src/tests/host/test_reliefmail_detail_widget.cpp" "$widget_source" \ "$src/userland/apps/reliefmail/model.cpp" \ - -x none \ - "$fltk/lib/libfltk.so" "$fltk/lib/libstdc++.so.6" "$fltk/lib/libgcc_s.so.1" \ - -L"$target/stage/disk-root/usr/lib" -l:libreliefos.so.2 -l:libX11.so.6 -ldl -lm \ - -Wl,-rpath,/usr/lib/reliefos:/lib:/usr/lib -o "$binary" - -runtime_path="$target/stage/disk-root/lib:$target/stage/disk-root/usr/lib:$target/stage/disk-root/usr/lib/reliefos:$fltk/lib:$target/sysroot/musl/lib:$sdk/lib" -xvfb-run -a env LD_LIBRARY_PATH="$runtime_path" \ - FONTCONFIG_FILE="$fontconfig_path/fonts.conf" FONTCONFIG_PATH="$fontconfig_path" \ - "$target/sysroot/musl/lib/ld-musl-x86_64.so.1" \ - --library-path "$runtime_path" "$binary" + $(fltk-config --ldflags) -lX11 -o "$work/reliefmail-detail-widget" +FLTK_BACKEND=x11 xvfb-run -a "$work/reliefmail-detail-widget" diff --git a/tests/build/test-reliefmail.sh b/tests/build/test-reliefmail.sh index 3ab36820..f399574a 100755 --- a/tests/build/test-reliefmail.sh +++ b/tests/build/test-reliefmail.sh @@ -35,7 +35,7 @@ run_protocol() { set -- -std=c++17 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror \ -fno-exceptions -fno-rtti -nostdinc++ -fsanitize=address,undefined \ -fno-sanitize-recover=all -g -I"$src/userland/apps/reliefmail" \ - -I"$runtime_deps/usr/include" \ + $crypto_cflags $sqlite_cflags \ "$src/tests/host/test_reliefmail_protocol.cpp" \ "$src/userland/apps/reliefmail/model.cpp" \ "$src/userland/apps/reliefmail/mime.cpp" \ @@ -48,7 +48,7 @@ run_protocol() { "$src/userland/apps/reliefmail/imap.cpp" \ "$src/userland/apps/reliefmail/smtp.cpp" fi - "${HOSTCXX:-c++}" "$@" "$runtime_deps/usr/lib/libmbedtls.a" "$runtime_deps/usr/lib/libmbedx509.a" "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ + "${HOSTCXX:-c++}" "$@" $crypto_libs -pthread \ -o "$work/reliefmail-protocol" build_worker @@ -86,11 +86,11 @@ build_store() { -Wall -Wextra -Werror -fno-exceptions -fno-rtti -nostdinc++ \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ -I"$src/userland/apps/reliefmail" \ - -I"$runtime_deps/usr/include" "$src/tests/host/test_reliefmail_store.cpp" \ + $crypto_cflags $sqlite_cflags "$src/tests/host/test_reliefmail_store.cpp" \ "$src/userland/apps/reliefmail/store.cpp" "$src/userland/apps/reliefmail/model.cpp" \ "$src/userland/apps/reliefmail/mime.cpp" "$src/userland/apps/reliefmail/html.cpp" \ "$src/userland/apps/reliefmail/profile_io.cpp" "$src/userland/apps/reliefmail/vault.cpp" \ - "$runtime_deps/usr/lib/libsqlite3.a" "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ + $sqlite_libs $crypto_libs -pthread \ -o "$work/reliefmail-store" } @@ -99,15 +99,15 @@ build_worker() { -Wall -Wextra -Werror -fno-exceptions -fno-rtti -nostdinc++ \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ -I"$src/userland/apps/reliefmail" \ - -I"$runtime_deps/usr/include" "$src/tests/host/test_reliefmail_worker.cpp" \ + $crypto_cflags $sqlite_cflags "$src/tests/host/test_reliefmail_worker.cpp" \ "$src/userland/apps/reliefmail/worker.cpp" "$src/userland/apps/reliefmail/tasks.cpp" \ "$src/userland/apps/reliefmail/store.cpp" "$src/userland/apps/reliefmail/model.cpp" \ "$src/userland/apps/reliefmail/mime.cpp" "$src/userland/apps/reliefmail/html.cpp" \ "$src/userland/apps/reliefmail/reader_render.cpp" \ "$src/userland/apps/reliefmail/imap.cpp" "$src/userland/apps/reliefmail/smtp.cpp" \ "$src/userland/apps/reliefmail/transport.cpp" "$src/userland/apps/reliefmail/profile_io.cpp" \ - "$src/userland/apps/reliefmail/vault.cpp" "$runtime_deps/usr/lib/libsqlite3.a" \ - "$runtime_deps/usr/lib/libmbedtls.a" "$runtime_deps/usr/lib/libmbedx509.a" "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread -lpng16 -lz \ + "$src/userland/apps/reliefmail/vault.cpp" $sqlite_libs \ + $crypto_libs -pthread -lpng16 -lz \ -o "$work/reliefmail-worker" } @@ -151,14 +151,14 @@ if [ "${1:-all}" = task6-adapters ]; then "${HOSTCXX:-c++}" -std=c++17 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror \ -fno-exceptions -fno-rtti -nostdinc++ -fsanitize=address,undefined \ -fno-sanitize-recover=all -g -I"$src/userland/apps/reliefmail" \ - -I"$runtime_deps/usr/include" \ + $crypto_cflags $sqlite_cflags \ "$src/tests/host/test_reliefmail_task6_adapters.cpp" \ "$src/userland/apps/reliefmail/ui_adapters.cpp" \ "$src/userland/apps/reliefmail/model.cpp" \ "$src/userland/apps/reliefmail/vault.cpp" \ "$src/userland/apps/reliefmail/profile_io.cpp" \ "$src/userland/apps/reliefmail/html.cpp" \ - "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ + $crypto_libs -pthread \ -o "$work/reliefmail-task6-adapters" ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 "$work/reliefmail-task6-adapters" printf 'ReliefMail Task6 adapter suite passed\n' @@ -224,11 +224,11 @@ if [ "${1:-all}" = vault-task5 ]; then "${HOSTCXX:-c++}" -std=c++17 -D_POSIX_C_SOURCE=200809L -DRELIEFMAIL_TESTING \ -Wall -Wextra -Werror -fno-exceptions -fno-rtti -nostdinc++ \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/reliefmail" -I"$runtime_deps/usr/include" \ + -I"$src/userland/apps/reliefmail" $crypto_cflags $sqlite_cflags \ "$src/tests/host/test_reliefmail_vault.cpp" \ "$src/userland/apps/reliefmail/vault.cpp" \ "$src/userland/apps/reliefmail/profile_io.cpp" \ - "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ + $crypto_libs -pthread \ -o "$work/reliefmail-vault" ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 \ "$work/reliefmail-vault" --task5-password-change @@ -274,11 +274,11 @@ printf 'ReliefMail store suite passed\n' ${HOSTCXX:-c++} -std=c++17 -D_POSIX_C_SOURCE=200809L -DRELIEFMAIL_TESTING \ -Wall -Wextra -Werror -fno-exceptions -fno-rtti -nostdinc++ \ -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -I"$src/userland/apps/reliefmail" -I"$runtime_deps/usr/include" \ + -I"$src/userland/apps/reliefmail" $crypto_cflags $sqlite_cflags \ "$src/tests/host/test_reliefmail_vault.cpp" \ "$src/userland/apps/reliefmail/vault.cpp" \ "$src/userland/apps/reliefmail/profile_io.cpp" \ - "$runtime_deps/usr/lib/libmbedcrypto.a" -pthread \ + $crypto_libs -pthread \ -o "$work/reliefmail-vault" ASAN_OPTIONS=detect_leaks=1 UBSAN_OPTIONS=halt_on_error=1 "$work/reliefmail-vault" printf 'ReliefMail vault suite passed\n' diff --git a/tests/build/test-reliefmath-backend.sh b/tests/build/test-reliefmath-backend.sh index 6a85ba1a..299c8084 100644 --- a/tests/build/test-reliefmath-backend.sh +++ b/tests/build/test-reliefmath-backend.sh @@ -1,44 +1,22 @@ #!/bin/sh set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -mode=${1:---host} -work=$src/out/tmp/reliefmath-backend -mkdir -p "$work" -case $mode in ---host) - mkdir -p "$work/fonts" "$work/images" - ln -sf "$src/resources/reliefmath/STIXTwoMath-Regular.otf" "$work/fonts/STIXTwoMath-Regular.otf" - ln -sf "$src/system/fonts/simsun.ttc" "$work/fonts/simsun.ttc" - sources= - for file in "$src"/userland/apps/reliefmath/worker/*.cpp; do - case $file in */main.cpp) continue;; esac - sources="$sources $file" - done - ${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -fno-exceptions -fno-rtti \ - -fsanitize=address,undefined -fno-sanitize-recover=all -g \ - -iquote "$src/userland/apps/reliefmath" $(pkg-config --cflags cairo freetype2) \ - "$src/tools/tests/reliefmath_backend_probe.cpp" \ - "$src/userland/apps/reliefmath/model.cpp" "$src/userland/apps/reliefmath/render_types.cpp" \ - $sources $(pkg-config --libs cairo freetype2) -o "$work/probe" - "$work/probe" "$work/fonts" "$work/images" - ;; ---target) - target=$src/out/xorg-debug/tests/reliefmath-backend-probe.elf - test -f "$target" - readelf -h "$target" >"$work/target-header.txt" - readelf -l -d "$target" >"$work/target-dynamic.txt" - grep -q 'Advanced Micro Devices X86-64' "$work/target-header.txt" - grep -q '/lib/ld-musl-x86_64.so.1' "$work/target-dynamic.txt" - grep -q 'libfreetype.so.6' "$work/target-dynamic.txt" - grep -q 'libcairo.so.2' "$work/target-dynamic.txt" - ;; ---check-evidence) - test -s "$src/Documentation/applications/reliefmath-rendering.rst" - test -s "$src/resources/licenses/reliefmath/STIX-OFL.txt" - test "$(sha256sum "$src/resources/reliefmath/STIXTwoMath-Regular.otf" | cut -d' ' -f1)" = 3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c - test -s "$work/images/probe-4.svg" - test -s "$work/images/probe-4.png" - test -s "$work/target-header.txt" - ;; -*) echo 'unsupported backend test mode' >&2; exit 2;; -esac +. "$src/tests/build/reliefmath-font.sh" +work=$(mktemp -d "${TMPDIR:-/tmp}/reliefmath-backend.XXXXXX") +trap 'rm -rf "$work"' EXIT HUP INT TERM +mkdir -p "$work/fonts" "$work/images" +ln -sf "$src/resources/reliefmath/STIXTwoMath-Regular.otf" "$work/fonts/STIXTwoMath-Regular.otf" +text_font=$(reliefmath_text_font) +ln -sf "$text_font" "$work/fonts/NotoSansCJK-Regular.ttc" +sources= +for file in "$src"/userland/apps/reliefmath/worker/*.cpp; do + case $file in */main.cpp) continue;; esac + sources="$sources $file" +done +${HOSTCXX:-c++} -std=c++17 -Wall -Wextra -Werror -fno-exceptions -fno-rtti \ + -fsanitize=address,undefined -fno-sanitize-recover=all -g \ + -iquote "$src/userland/apps/reliefmath" $(pkg-config --cflags cairo freetype2) \ + "$src/tools/tests/reliefmath_backend_probe.cpp" \ + "$src/userland/apps/reliefmath/model.cpp" "$src/userland/apps/reliefmath/render_types.cpp" \ + $sources $(pkg-config --libs cairo freetype2) -o "$work/probe" +"$work/probe" "$work/fonts" "$work/images" diff --git a/tests/build/test-reliefmath-development.sh b/tests/build/test-reliefmath-development.sh deleted file mode 100644 index be863d53..00000000 --- a/tests/build/test-reliefmath-development.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# Exercises missing-member rebuilds in this task's generated development tree. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -cd "$src" -output=${1:-${RELIEFOS_TEST_BUILD_ROOT:-out/x86_64/release}} -case $output in out/*|"$src"/out/*) ;; *) echo 'expected repository out directory' >&2; exit 2;; esac -root=$output/upstream/reliefmath-development -make O="$output" reliefmath-development -member=usr/include/freetype2/freetype/ftoutln.h -grep -Fxq "$member" "$root/.members" -work=$(mktemp -d "$src/out/tmp/reliefmath-dev-member.XXXXXX") -restore() { - if [ -f "$work/member" ] && [ ! -e "$root/$member" ]; then mv "$work/member" "$root/$member"; fi - rm -rf "$work" -} -trap restore EXIT HUP INT TERM -mv "$root/$member" "$work/member" -if make -q O="$output" reliefmath-development; then echo 'missing declared header did not invalidate stage' >&2; exit 1; fi -make O="$output" reliefmath-development -cmp "$root/$member" "$work/member" -test -s "$root/.members" -printf 'ReliefMath complete development-member rebuild passed\n' diff --git a/tests/build/test-reliefmath-integration.sh b/tests/build/test-reliefmath-integration.sh deleted file mode 100644 index 221704b5..00000000 --- a/tests/build/test-reliefmath-integration.sh +++ /dev/null @@ -1,149 +0,0 @@ -#!/bin/sh -set -eu - -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -tmp_base=${TMPDIR:-$src/out/tmp} -mkdir -p "$tmp_base" -work=$(mktemp -d "$tmp_base/reliefmath-integration.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM - -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror -I"$src" \ - "$src/tools/host/manifest/reliefos-components.c" \ - "$src/tools/host/common/io.c" "$src/tools/host/common/buffer.c" \ - -o "$work/components" -: > "$work/config" -"$work/components" --input "$src/configs/components.toml" --config "$work/config" \ - --output "$work/components.mk" --metadata "$work/components.tsv" -awk -F '\t' '$1=="reliefmath" && $2=="program-app" && $3==1 && $4==1 && $5==1 && $8=="ReliefMath" && $9=="Office applications" && $10==".rmath" && $11==1 {ok=1} END{exit !ok}' "$work/components.tsv" || { - echo 'ReliefMath must be a default Xorg Office component with .rmath Open With support' >&2 - exit 1 -} -grep -q '^RELIEFOS_COMPONENT_APPS :=.* reliefmath ' "$work/components.mk" -awk '/^(menu)?config RELIEFOS_COMPONENT_APP_RELIEFMATH_BUILD$/{found=1;next} found && /default y/{ok=1;exit} found && /^(menu)?config /{exit} END{exit !ok}' "$src/Kconfig.components" || { - echo 'Kconfig.components does not default ReliefMath on' >&2 - exit 1 -} - -# Inspect the production Kbuild declarations rather than the retired source -# glob/signature engine. The separate graph regression executes native C++. -cat > "$work/inspect.mk" <<'MAKE' -RELIEFOS_SRC := $(ROOT) -RELIEFOS_PASSIVE := 1 -RELIEFOS_COMPONENT_APPS := reliefmath -override O := $(WORK)/out -TARGET_CC := cc -include $(ROOT)/scripts/reliefos/Makefile.userland -.PHONY: inspect -inspect: - @printf '%s\n' '$(RELIEFMATH_WORKER_OBJECTS)' '$(USERLAND_DEPS_reliefmath)' '$(RELIEFMATH_WORKER_LIBS)' '$(obj-y)' -MAKE -make -s -f "$work/inspect.mk" ROOT="$src" WORK="$work" inspect > "$work/worker-declarations" -for member in model protocol render_types boxes font main output parser renderer scene; do - grep -Fq "/userland/apps/reliefmath/worker/$member.o" "$work/worker-declarations" -done -grep -Fq 'userland/apps/reliefmath/worker/' "$work/worker-declarations" -grep -Fq '/userland/reliefmath-render.elf' "$work/worker-declarations" -grep -Fq '$(call if_changed_dep,cxx_o_cpp)' "$src/userland/apps/reliefmath/worker/Kbuild" -grep -Fqx 'reliefmath' "$src/configs/fltk-apps.list" -for target in reliefmath-development app-reliefmath-render reliefmath-backend-probe; do - grep -Fq ".PHONY: $target" "$src/scripts/reliefos/Makefile.components.reliefmath" -done -grep -Fq '$(if $(filter reliefmath,$(RELIEFOS_COMPONENT_APPS)),$(USERLAND_DIR)/reliefmath-render.elf)' "$src/scripts/reliefos/Makefile.rootfs" -grep -Fq '$(RELIEFOS_SRC)/resources/reliefmath' "$src/scripts/reliefos/Makefile.rootfs" -grep -Fq '$(RELIEFOS_SRC)/resources/licenses/reliefmath' "$src/scripts/reliefos/Makefile.rootfs" -grep -Fq 'reliefmath-resources-stage.sh' "$src/scripts/reliefos/Makefile.rootfs" -grep -Fq 'reliefmath-resources-stage.sh' "$src/tools/build/rootfs-stage.sh" -grep -Fq 'RELIEFMATH_WORKER_LIBS :=' "$src/scripts/reliefos/Makefile.components.reliefmath" -grep -Fq 'libcairo.so $(RELIEFMATH_DEV)/usr/lib/libfreetype.so' "$src/scripts/reliefos/Makefile.components.reliefmath" -grep -Fq 'grep -Fxq "$soname" "$scratch/upstream-sonames"' "$src/tools/build/apk-stage.sh" -if grep -Fq 'reliefmath-backend-probe' "$src/scripts/reliefos/Makefile.rootfs" "$src/tools/build/rootfs-stage.sh"; then - echo 'ReliefMath backend probe must not enter a product root' >&2 - exit 1 -fi -python3 - "$src/configs/dependencies.lock.json" <<'PY' -import json, sys -entries = {item["id"]: item for item in json.load(open(sys.argv[1], encoding="utf-8"))["dependencies"]} -for runtime, development in (("alpine-cairo", "reliefmath-dev-cairo"), - ("alpine-freetype", "reliefmath-dev-freetype")): - item = entries.get(runtime) - if not item or item.get("target") != "apk-root" or item.get("feature") != "xorg": - raise SystemExit(f"ReliefMath runtime provider is not selected for Xorg APKs: {runtime}") - dev = entries.get(development) - if not dev or dev.get("version") != item.get("version"): - raise SystemExit(f"ReliefMath development package does not match runtime: {development}") -PY - -# Exercise complete-member validation and the rootfs plan emitted by the -# component-only resource stage helper without touching any configured image. -mkdir -p "$work/source/resources/reliefmath" "$work/source/resources/licenses/reliefmath" -printf 'font payload\n' > "$work/source/resources/reliefmath/STIXTwoMath-Regular.otf" -printf 'license summary\n' > "$work/source/resources/licenses/reliefmath/README.md" -printf 'OFL text\n' > "$work/source/resources/licenses/reliefmath/STIX-OFL.txt" -sh "$src/tools/build/reliefmath-resources-stage.sh" "$work/source" "$work/resources.plan" -tab=$(printf '\t') -for spec in \ - "resources/reliefmath/STIXTwoMath-Regular.otf${tab}/usr/share/reliefmath/STIXTwoMath-Regular.otf${tab}0444" \ - "resources/licenses/reliefmath/README.md${tab}/usr/share/licenses/reliefmath/README.md${tab}0444" \ - "resources/licenses/reliefmath/STIX-OFL.txt${tab}/usr/share/licenses/reliefmath/STIX-OFL.txt${tab}0444"; do - source=${spec%%${tab}*} - remainder=${spec#*${tab}} - guest=${remainder%%${tab}*} - mode=${remainder##*${tab}} - awk -F '\t' -v source="$work/source/$source" -v guest="$guest" -v mode="$mode" \ - '$1=="f" && $2==source && $3==guest && $4==mode && $5=="reliefmath" && $6=="unique" {found=1} END{exit !found}' \ - "$work/resources.plan" || { echo "resource plan is missing $guest" >&2; exit 1; } -done -cp "$work/resources.plan" "$work/resources.before" -rm "$work/source/resources/licenses/reliefmath/STIX-OFL.txt" -if sh "$src/tools/build/reliefmath-resources-stage.sh" "$work/source" "$work/resources.plan" 2>/dev/null; then - echo 'incomplete ReliefMath resource product was accepted' >&2 - exit 1 -fi -cmp "$work/resources.before" "$work/resources.plan" - -python3 - "$src" <<'PY' -import sys -import xml.etree.ElementTree as ET -from pathlib import Path - -root = Path(sys.argv[1]) -desktop = root / "userland/apps/reliefmath/reliefmath.desktop" -fields = dict(line.split("=", 1) for line in desktop.read_text(encoding="utf-8").splitlines() - if "=" in line and not line.startswith("#")) -expected = { - "Exec": "/usr/bin/reliefmath %f", - "TryExec": "/usr/bin/reliefmath", - "Icon": "reliefos-reliefmath", - "StartupWMClass": "reliefos-reliefmath", - "Categories": "Office;Math;", - "MimeType": "application/x-reliefmath;", -} -for key, value in expected.items(): - if fields.get(key) != value: - raise SystemExit(f"desktop field {key}: {fields.get(key)!r}, expected {value!r}") -mime_path = root / "system/rootfs/usr/share/mime/packages/reliefmath.xml" -if not mime_path.is_file(): - raise SystemExit(f"ReliefMath MIME package is missing from its specified source location: {mime_path}") -if (root / "userland/apps/reliefmath/reliefmath-mime.xml").exists(): - raise SystemExit("ReliefMath MIME package must not remain under the userland app source") -mime = ET.parse(mime_path).getroot() -entries = [node for node in mime.iter() if node.tag.endswith("mime-type")] -if not any(node.get("type") == "application/x-reliefmath" and - any(glob.get("pattern") == "*.rmath" for glob in node if glob.tag.endswith("glob")) - for node in entries): - raise SystemExit("ReliefMath MIME package does not register *.rmath") -PY - -for label in ReliefMath Formula Symbols Structure; do - grep -Fq "N_(\"$label\")" "$src/configs/nls/messages/reliefmath.c" - grep -Fxq "msgid \"$label\"" "$src/configs/nls/po/reliefmath/reliefmath.pot" - grep -Fq "msgid \"$label\"" "$src/configs/nls/po/reliefmath/zh_CN.po" -done -for translated in 'msgstr "ReliefMath"' 'msgstr "公式"' 'msgstr "符号"' 'msgstr "结构"'; do - grep -Fq "$translated" "$src/configs/nls/po/reliefmath/zh_CN.po" -done - -# This fixture drives rootfs-stage.sh twice: with ReliefMath selected and -# without it. No product image is built. -TMPDIR="$tmp_base" sh "$src/tests/build/test-desktop-backend.sh" -echo 'ReliefMath integration contracts passed' diff --git a/tests/build/test-reliefmath-layout.sh b/tests/build/test-reliefmath-layout.sh index 45b412d5..308ee5a4 100644 --- a/tests/build/test-reliefmath-layout.sh +++ b/tests/build/test-reliefmath-layout.sh @@ -3,7 +3,9 @@ set -eu repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) if [ "$#" -eq 0 ]; then - set -- "$repo_root/resources/reliefmath/STIXTwoMath-Regular.otf" "$repo_root/system/fonts/simsun.ttc" + . "$repo_root/tests/build/reliefmath-font.sh" + text_font=$(reliefmath_text_font) + set -- "$repo_root/resources/reliefmath/STIXTwoMath-Regular.otf" "$text_font" elif [ "$#" -ne 2 ]; then echo "usage: sh tests/build/test-reliefmath-layout.sh [MATH_FONT TEXT_FONT]" >&2 exit 2 diff --git a/tests/build/test-reliefmath.sh b/tests/build/test-reliefmath.sh index 7a19b79b..1dff3dbc 100644 --- a/tests/build/test-reliefmath.sh +++ b/tests/build/test-reliefmath.sh @@ -5,7 +5,7 @@ suite=${1:-all} run() { case $1 in model|document|snippets|dialogs|recovery-flow) sh "$src/tests/build/test-reliefmath-$1.sh";; - renderer) sh "$src/tests/build/test-reliefmath-layout.sh" "$src/resources/reliefmath/STIXTwoMath-Regular.otf" "$src/system/fonts/simsun.ttc"; sh "$src/tests/build/test-reliefmath-backend.sh" --host;; + renderer) sh "$src/tests/build/test-reliefmath-layout.sh"; sh "$src/tests/build/test-reliefmath-backend.sh";; protocol|process) sh "$src/tests/build/test-reliefmath-protocol.sh" "$1";; jobs|export|ui) sh "$src/tests/build/test-reliefmath-workflows.sh" "$1";; *) echo "unsupported ReliefMath suite: $1" >&2; exit 2;; diff --git a/tests/build/test-reliefos-aliases.sh b/tests/build/test-reliefos-aliases.sh deleted file mode 100644 index aea495a1..00000000 --- a/tests/build/test-reliefos-aliases.sh +++ /dev/null @@ -1,139 +0,0 @@ -#!/bin/sh -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -# Exercise selector precedence without command-line assignments forwarded from -# the parent test runner. These probes only inspect help and dry-run targets. -unset MAKEFLAGS MFLAGS MAKEOVERRIDES -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT HUP INT TERM - -cat > "$w/check.mk" <<'MAKE' -ifneq ($(RELIEFOS_CACHE),$(EXPECTED_CACHE)) -$(error ReliefOS cache variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_LOCK),$(EXPECTED_LOCK)) -$(error ReliefOS lock variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_FETCH_SCRIPT),$(EXPECTED_FETCH)) -$(error ReliefOS fetch script variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_EMIT),$(EXPECTED_EMIT)) -$(error ReliefOS emit variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_VERSION_TOOL),$(EXPECTED_VERSION_TOOL)) -$(error ReliefOS version tool variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_DEPS_TOOL),$(EXPECTED_DEPS_TOOL)) -$(error ReliefOS deps tool variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_GBK_TOOL),$(EXPECTED_GBK_TOOL)) -$(error ReliefOS GBK tool variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_SDK_DRIVER),$(EXPECTED_SDK_DRIVER)) -$(error ReliefOS SDK driver variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_APK_OWN),$(EXPECTED_APK_OWN)) -$(error ReliefOS APK ownership tool variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_NLS_EXTRACT),$(EXPECTED_NLS_EXTRACT)) -$(error ReliefOS NLS extractor variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_QEMU_IDE),$(EXPECTED_QEMU_IDE)) -$(error ReliefOS QEMU IDE variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_QEMU_NVME),$(EXPECTED_QEMU_NVME)) -$(error ReliefOS QEMU NVME variable did not resolve to the requested value) -endif -ifneq ($(RELIEFOS_BUILD_OWNER),$(EXPECTED_BUILD_OWNER)) -$(error ReliefOS build owner variable did not resolve to the requested value) -endif -MAKE - -make -s -C "$root" -f Makefile -f "$w/check.mk" help \ - RELIEFOS_CACHE="$w/new-cache" LEONOS_CACHE="$w/old-cache" \ - RELIEFOS_LOCK="$w/new-lock" LEONOS_LOCK="$w/old-lock" \ - RELIEFOS_FETCH_SCRIPT="$w/new-fetch" LEONOS_FETCH_SCRIPT="$w/old-fetch" \ - RELIEFOS_EMIT="$w/new-emit" LEONOS_EMIT="$w/old-emit" \ - RELIEFOS_VERSION_TOOL="$w/new-version-tool" LEONOS_VERSION_TOOL="$w/old-version-tool" \ - RELIEFOS_DEPS_TOOL="$w/new-deps-tool" LEONOS_DEPS_TOOL="$w/old-deps-tool" \ - RELIEFOS_GBK_TOOL="$w/new-gbk-tool" LEONOS_GBK_TOOL="$w/old-gbk-tool" \ - RELIEFOS_SDK_DRIVER="$w/new-sdk-driver" LEONOS_SDK_DRIVER="$w/old-sdk-driver" \ - RELIEFOS_APK_OWN="$w/new-apk-own" LEONOS_APK_OWN="$w/old-apk-own" \ - RELIEFOS_NLS_EXTRACT="$w/new-nls-extract" LEONOS_NLS_EXTRACT="$w/old-nls-extract" \ - RELIEFOS_QEMU_IDE=new-ide LEONOS_QEMU_IDE=old-ide \ - RELIEFOS_QEMU_NVME=new-nvme LEONOS_QEMU_NVME=old-nvme \ - RELIEFOS_BUILD_OWNER=new-owner LEONOS_BUILD_OWNER=old-owner \ - EXPECTED_CACHE="$w/new-cache" EXPECTED_LOCK="$w/new-lock" \ - EXPECTED_FETCH="$w/new-fetch" EXPECTED_EMIT="$w/new-emit" \ - EXPECTED_VERSION_TOOL="$w/new-version-tool" \ - EXPECTED_DEPS_TOOL="$w/new-deps-tool" EXPECTED_GBK_TOOL="$w/new-gbk-tool" \ - EXPECTED_SDK_DRIVER="$w/new-sdk-driver" EXPECTED_APK_OWN="$w/new-apk-own" \ - EXPECTED_NLS_EXTRACT="$w/new-nls-extract" EXPECTED_QEMU_IDE=new-ide \ - EXPECTED_QEMU_NVME=new-nvme EXPECTED_BUILD_OWNER=new-owner >/dev/null - -cat > "$w/entry-check.mk" <<'MAKE' -ifneq ($(ARCH),$(EXPECTED_ARCH)) -$(error ARCH resolved to '$(ARCH)', expected '$(EXPECTED_ARCH)') -endif -ifneq ($(PROFILE),$(EXPECTED_PROFILE)) -$(error PROFILE resolved to '$(PROFILE)', expected '$(EXPECTED_PROFILE)') -endif -ifneq ($(O),$(EXPECTED_O)) -$(error O resolved to '$(O)', expected '$(EXPECTED_O)') -endif -MAKE - -# Environment-only build selectors are ignored; explicit make assignments win. -env ARCH=unsupported PROFILE=unsupported O="$w/inherited-output" \ - make -s -C "$root" -f Makefile -f "$w/entry-check.mk" help \ - EXPECTED_ARCH=x86_64 EXPECTED_PROFILE=release \ - EXPECTED_O="$root/out/x86_64/release" >/dev/null -env ARCH=unsupported PROFILE=unsupported O="$w/inherited-output" \ - make -s -C "$root" -f Makefile -f "$w/entry-check.mk" help \ - ARCH=x86_64 PROFILE=debug O="$w/command-output" \ - EXPECTED_ARCH=x86_64 EXPECTED_PROFILE=debug EXPECTED_O="$w/command-output" >/dev/null - -# The total test runner exports canonical tool paths. Remove those ambient -# inputs so this case actually exercises legacy-only fallback, not precedence. -unset RELIEFOS_CACHE RELIEFOS_LOCK RELIEFOS_FETCH_SCRIPT RELIEFOS_EMIT \ - RELIEFOS_VERSION_TOOL RELIEFOS_DEPS_TOOL RELIEFOS_GBK_TOOL \ - RELIEFOS_SDK_DRIVER RELIEFOS_APK_OWN RELIEFOS_NLS_EXTRACT RELIEFOS_QEMU_IDE \ - RELIEFOS_QEMU_NVME RELIEFOS_BUILD_OWNER - -LEONOS_CACHE="$w/legacy-cache" LEONOS_LOCK="$w/legacy-lock" \ -LEONOS_FETCH_SCRIPT="$w/legacy-fetch" LEONOS_EMIT="$w/legacy-emit" \ -LEONOS_VERSION_TOOL="$w/legacy-version-tool" \ -LEONOS_DEPS_TOOL="$w/legacy-deps-tool" LEONOS_GBK_TOOL="$w/legacy-gbk-tool" \ -LEONOS_SDK_DRIVER="$w/legacy-sdk-driver" LEONOS_APK_OWN="$w/legacy-apk-own" \ -LEONOS_NLS_EXTRACT="$w/legacy-nls-extract" LEONOS_QEMU_IDE=legacy-ide \ -LEONOS_QEMU_NVME=legacy-nvme LEONOS_BUILD_OWNER=legacy-owner \ - make -s -C "$root" -f Makefile -f "$w/check.mk" help \ - EXPECTED_CACHE="$w/legacy-cache" EXPECTED_LOCK="$w/legacy-lock" \ - EXPECTED_FETCH="$w/legacy-fetch" EXPECTED_EMIT="$w/legacy-emit" \ - EXPECTED_VERSION_TOOL="$w/legacy-version-tool" \ - EXPECTED_DEPS_TOOL="$w/legacy-deps-tool" EXPECTED_GBK_TOOL="$w/legacy-gbk-tool" \ - EXPECTED_SDK_DRIVER="$w/legacy-sdk-driver" EXPECTED_APK_OWN="$w/legacy-apk-own" \ - EXPECTED_NLS_EXTRACT="$w/legacy-nls-extract" EXPECTED_QEMU_IDE=legacy-ide \ - EXPECTED_QEMU_NVME=legacy-nvme EXPECTED_BUILD_OWNER=legacy-owner >/dev/null - -# Dry-run purity is a separate default-configuration check. -for suffix in CACHE LOCK FETCH_SCRIPT EMIT VERSION_TOOL DEPS_TOOL \ - GBK_TOOL SDK_DRIVER APK_OWN NLS_EXTRACT QEMU_IDE QEMU_NVME BUILD_OWNER; do - unset "RELIEFOS_$suffix" "LEONOS_$suffix" -done -dry_o="$w/dry-output" -if make -s -n -C "$root" O="$dry_o" userland >"$w/dry.log" 2>&1; then - echo 'fresh dry-run must request defconfig' >&2; exit 1 -fi -grep -q 'defconfig' "$w/dry.log" -if make -s -q -C "$root" O="$dry_o" userland >/dev/null 2>&1; then - query_status=0 -else - query_status=$? -fi -[ "$query_status" -eq 2 ] || { echo 'fresh make -q must request defconfig' >&2; exit 1; } -[ ! -e "$dry_o/.build-lock" ] -[ ! -e "$dry_o/.reliefos-out" ] -[ ! -e "$dry_o/.config" ] - -printf 'ReliefOS variables take precedence; legacy LEONOS aliases remain accepted\n' diff --git a/tests/build/test-reliefos-migration.sh b/tests/build/test-reliefos-migration.sh deleted file mode 100644 index 1018b0f4..00000000 --- a/tests/build/test-reliefos-migration.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh -set -eu - -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -migrator="$root/system/rootfs/usr/lib/reliefos/reliefos-migrate" -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -fixture="$work/root" - -mkdir -p "$fixture/etc/leonos" "$fixture/etc/reliefos" \ - "$fixture/var/lib/leonos" -printf 'theme=win95\n' > "$fixture/etc/leonos/display.conf" -printf 'theme=metro\n' > "$fixture/etc/reliefos/display.conf" -printf 'userdb-v1\n\000record\n' > "$fixture/var/lib/leonos/users.db" -chmod 0750 "$fixture/var/lib/leonos" -chmod 0640 "$fixture/var/lib/leonos/users.db" -cp "$fixture/var/lib/leonos/users.db" "$work/users.expected" -sha256sum "$fixture/var/lib/leonos/users.db" > "$work/users.old.sha256" - -if sh "$migrator" "$fixture" > "$work/first.log" 2>&1; then - : -else - cat "$work/first.log" >&2 - exit 1 -fi -grep -qx 'theme=win95' "$fixture/etc/leonos/display.conf" -grep -qx 'theme=metro' "$fixture/etc/reliefos/display.conf" -cmp "$work/users.expected" "$fixture/var/lib/reliefos/users.db" -sha256sum -c "$work/users.old.sha256" -test -f "$fixture/var/lib/leonos/users.db" -test "$(stat -c %a "$fixture/var/lib/reliefos")" = 750 -test "$(stat -c %u:%g "$fixture/var/lib/reliefos")" = "$(stat -c %u:%g "$fixture/var/lib/leonos")" -test "$(stat -c %a "$fixture/var/lib/reliefos/users.db")" = 640 -test "$(stat -c %u:%g "$fixture/var/lib/reliefos/users.db")" = "$(stat -c %u:%g "$fixture/var/lib/leonos/users.db")" -grep -q 'exists; keeping' "$work/first.log" - -cp "$fixture/var/lib/reliefos/users.db" "$work/users.first" -sh "$migrator" "$fixture" > "$work/second.log" 2>&1 -cmp "$work/users.first" "$fixture/var/lib/reliefos/users.db" -cmp "$fixture/var/lib/leonos/users.db" "$fixture/var/lib/reliefos/users.db" - -blocked="$work/blocked-root" -mkdir -p "$blocked/etc/leonos" "$blocked/etc/reliefos" "$blocked/var/lib/leonos" -printf 'theme=win95\n' > "$blocked/etc/leonos/display.conf" -printf 'userdb-v1\n' > "$blocked/var/lib/leonos/users.db" -chmod 0755 "$blocked" "$blocked/etc" "$blocked/etc/leonos" \ - "$blocked/var" "$blocked/var/lib" "$blocked/var/lib/leonos" -chmod 0555 "$blocked/etc/reliefos" "$blocked/var/lib" - -if [ "$(id -u)" -eq 0 ]; then - if ! command -v runuser >/dev/null 2>&1; then - echo 'FAIL - runuser is required to test an unwritable migration target as root' >&2 - exit 1 - fi - if runuser -u nobody -- sh "$migrator" "$blocked" > "$work/blocked.log" 2>&1; then - echo 'FAIL - migration unexpectedly wrote to an unwritable target' >&2 - exit 1 - fi -else - if sh "$migrator" "$blocked" > "$work/blocked.log" 2>&1; then - echo 'FAIL - migration unexpectedly wrote to an unwritable target' >&2 - exit 1 - fi -fi -grep -Eiq 'cannot|failed|permission|write' "$work/blocked.log" -chmod 0755 "$blocked/etc/reliefos" "$blocked/var/lib" - -echo 'ok - legacy config and account data migrate without overwrite or data loss' diff --git a/tests/build/test-reliefplayer-mp4.sh b/tests/build/test-reliefplayer-mp4.sh index 4dbb882e..2565bc57 100644 --- a/tests/build/test-reliefplayer-mp4.sh +++ b/tests/build/test-reliefplayer-mp4.sh @@ -11,7 +11,7 @@ ffmpeg -v error -nostdin -i "$work/video.mp4" -c:v copy -c:a alac "$work/unsuppo # New FFmpeg releases use an input display-matrix option; older releases # encode the same matrix from output rotation metadata. ffmpeg -hide_banner -h full > "$work/ffmpeg-help.txt" 2>&1 -if grep -q -- '-display_rotation ' "$work/ffmpeg-help.txt"; then +if grep -Eq -- '^[[:space:]]*-display_rotation([[:space:]]|\[)' "$work/ffmpeg-help.txt"; then ffmpeg -v error -nostdin -display_rotation 90 -i "$work/silent.mp4" -c copy "$work/rotated.mp4" else ffmpeg -v error -nostdin -i "$work/silent.mp4" -c copy -metadata:s:v:0 rotate=90 "$work/rotated.mp4" @@ -32,21 +32,5 @@ ${HOSTCXX:-c++} -std=c++17 -O2 -Wall -Wextra -Werror -nostdinc++ -fno-exceptions "$src/userland/apps/reliefplayer/pcm.cpp" "$src/userland/apps/reliefplayer/session.cpp" \ "$src/userland/apps/reliefplayer/worker.cpp" -I"$src/third_party/minimp3" \ $(pkg-config --cflags --libs libavformat libavcodec libavutil libswresample libswscale) -lm -o "$work/verify" -if [ -n "${PLAYER_TARGET_BUILD:-}" ]; then - codecs=$PLAYER_TARGET_BUILD/upstream/ffmpeg/root - musl=$PLAYER_TARGET_BUILD/sysroot/musl - ${TARGETCXX:-clang++} --target=x86_64-linux-musl --sysroot="$musl" --gcc-toolchain=/nonexistent \ - -fuse-ld=lld --rtlib=compiler-rt --unwindlib=none -std=c++17 -O2 \ - -nostdinc++ -nostdlib++ -fno-exceptions -fno-rtti -D_GNU_SOURCE -I"$src/third_party/minimp3" -I"$codecs/usr/include" \ - -I"$PLAYER_TARGET_BUILD/kernel-export/include" \ - "$src/tests/host/test_reliefplayer_mp4.cpp" "$src/userland/apps/reliefplayer/decoder.cpp" \ - "$src/userland/apps/reliefplayer/media.cpp" "$src/userland/apps/reliefplayer/pcm.cpp" \ - "$src/userland/apps/reliefplayer/session.cpp" "$src/userland/apps/reliefplayer/worker.cpp" \ - -L"$musl/lib" -L"$codecs/usr/lib" -lavformat-reliefplayer -lavcodec-reliefplayer \ - -lswresample-reliefplayer -lswscale-reliefplayer -lavutil-reliefplayer -lm -o "$work/verify-target" - "$musl/lib/libc.so" --library-path "$codecs/usr/lib:$musl/lib" "$work/verify-target" \ - "$work/video.mp4" "$work/silent.mp4" "$work/truncated.mp4" "$work/unsupported.mp4" \ - "$work/rotated.mp4" "$work/hevc.mp4" "$work/mpeg4.mp4" -fi "$work/verify" "$work/video.mp4" "$work/silent.mp4" "$work/truncated.mp4" "$work/unsupported.mp4" \ "$work/rotated.mp4" "$work/hevc.mp4" "$work/mpeg4.mp4" diff --git a/tests/build/test-reliefplayer-ownership.sh b/tests/build/test-reliefplayer-ownership.sh index 8fe6972f..f5841f3f 100644 --- a/tests/build/test-reliefplayer-ownership.sh +++ b/tests/build/test-reliefplayer-ownership.sh @@ -1,32 +1,4 @@ #!/bin/sh set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/reliefplayer-ownership.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -I"$src" \ - "$src/tools/host/apk/reliefos-apk-own.c" "$src/tools/host/manifest/json.c" \ - "$src/tools/host/common/buffer.c" "$src/tools/host/common/io.c" -o "$work/own" -mkdir -p "$work/root/usr/lib/reliefos/apps/reliefplayer" "$work/root/usr/bin" "$work/root/usr/share/applications" -printf 'fixture\n' > "$work/root/usr/lib/reliefos/apps/reliefplayer/reliefplayer.elf" -cp "$src/resources/build-art/app-icons/reliefplayer.bmp" "$work/root/usr/lib/reliefos/apps/reliefplayer/" -ln -s ../lib/reliefos/apps/reliefplayer/reliefplayer.elf "$work/root/usr/bin/reliefplayer" -cp "$src/userland/apps/reliefplayer/reliefplayer.desktop" "$work/root/usr/share/applications/reliefos-reliefplayer.desktop" -for size in 16 32 48 64 128 256; do - path=usr/share/icons/hicolor/${size}x${size}/apps - mkdir -p "$work/root/$path" - cp "$src/resources/build-art/app-icons/hicolor/${size}x${size}/apps/reliefos-reliefplayer.png" "$work/root/$path/" -done -"$work/own" --policy "$src/configs/apk-ownership.json" --root "$work/root" --output "$work/rows" -if ! awk -F '\t' '$2=="dir" {next} $1!="reliefos-reliefplayer" {bad=1} {count++} END {exit bad || count!=10}' "$work/rows"; then - cat "$work/rows"; exit 1 -fi -printf 'ReliefPlayer ownership: executable, launcher, desktop entry and artwork travel together\n' -mkdir -p "$work/root/usr/share/licenses/ffmpeg" -printf 'LGPL fixture\n' > "$work/root/usr/share/licenses/ffmpeg/COPYING.LGPLv2.1" -for lib in avformat avcodec avutil swresample swscale; do - printf 'library fixture\n' > "$work/root/usr/lib/lib$lib-reliefplayer.so.62.1.0" - ln -s "lib$lib-reliefplayer.so.62.1.0" "$work/root/usr/lib/lib$lib-reliefplayer.so.62" -done -"$work/own" --policy "$src/configs/apk-ownership.json" --root "$work/root" --output "$work/rows-codecs" -awk -F '\t' '$2=="dir" {next} $4 ~ /-reliefplayer.so|licenses\/ffmpeg/ {if($1!="reliefos-media-codecs")exit 1;count++} END {if(count!=11)exit 1}' "$work/rows-codecs" -printf 'ReliefPlayer codec ownership: private SONAMEs, versioned links and LGPL notice grouped separately\n' +exec bash "$src/tests/build/app-package-fixture.sh" reliefplayer diff --git a/tests/build/test-reproducible.sh b/tests/build/test-reproducible.sh deleted file mode 100755 index 20c34bba..00000000 --- a/tests/build/test-reproducible.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -# Acceptance row A13: the same configuration built twice must produce the same -# bytes, at a pinned SOURCE_DATE_EPOCH, in two unrelated output directories. -# -# This is the reproducibility half of the migration: a build that cannot be -# repeated byte-for-byte cannot be audited, and "we pass SOURCE_DATE_EPOCH -# somewhere" is not evidence. Both trees are built from scratch, into different -# paths, and compared file by file. -set -u - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -failures=0 -checks=0 -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-repro.XXXXXX") || exit 1 -epoch=${SOURCE_DATE_EPOCH:-1700000000} - -cleanup() { [ -n "${KEEP_WORK:-}" ] || rm -rf "$work"; } -trap 'cleanup; exit 130' INT -trap 'cleanup; exit 143' TERM -trap cleanup EXIT - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then - shift - printf ' %s\n' "$@" - fi -} - -build_into() { - mkdir -p "$1" || return 1 - # Different output paths, including a different depth from the source root, - # so an accidentally embedded build directory shows up as a hash difference. - # build-info is explicit since the kernel adapter: the version header is - # parent-owned (rpr/site/app packages) and no longer rides the kernel link. - SOURCE_DATE_EPOCH="$epoch" \ - make -s O="$1" -j"$(nproc)" kernel build-info >"$1.log" 2>&1 -} - -first=$work/one/out -second=$work/nested/deeper/two/out - -printf '=== building the same configuration twice (epoch %s) ===\n' "$epoch" -if ! build_into "$first"; then - fail 'the first output tree builds' "see $first.log" - tail -n 15 "$first.log" - printf 'not ok - reproducibility: %d of %d checks failed\n' "$failures" "$checks" - exit 1 -fi -if ! build_into "$second"; then - fail 'the second output tree builds' "see $second.log" - tail -n 15 "$second.log" - printf 'not ok - reproducibility: %d of %d checks failed\n' "$failures" "$checks" - exit 1 -fi -pass 'both output trees build from scratch' - -# Every product, not just the image: a generated header that drifts would change -# what the next rebuild recompiles. The kernel side is compared through the -# sub-build tree (reliefnt/) and the products the adapter publishes. -for product in include/generated/autoconf.h \ - include/generated/build_info.h reliefnt/built-in.a \ - reliefnt/generated/system/kernel.unstripped generated/system/kernel.sys \ - generated/system/kernel.debug; do - checks=$((checks + 1)) - if [ ! -f "$first/$product" ]; then - fail "$product exists in the first tree" "missing" - continue - fi - if [ ! -f "$second/$product" ]; then - fail "$product exists in the second tree" "missing" - continue - fi - a=$(sha256sum "$first/$product" | cut -d' ' -f1) - b=$(sha256sum "$second/$product" | cut -d' ' -f1) - if [ "$a" = "$b" ]; then - printf 'ok - %-40s %s\n' "$product" "$(printf '%s' "$a" | cut -c1-16)" - else - printf 'FAIL - %s differs between two identical builds\n' "$product" - printf ' one=%s\n two=%s\n' "$a" "$b" - failures=$((failures + 1)) - fi -done - -# A rebuilt tree must also agree with itself: build the first tree again and -# check the image did not move. -before=$(sha256sum "$first/generated/system/kernel.sys" | cut -d' ' -f1) -build_into "$first" -after=$(sha256sum "$first/generated/system/kernel.sys" | cut -d' ' -f1) -if [ "$before" = "$after" ]; then - pass 'rebuilding an existing tree leaves the image unchanged' -else - fail 'rebuilding an existing tree leaves the image unchanged' \ - "$before != $after" -fi - -# The version header has to carry the pinned epoch rather than the wall clock: -# that is the only part of A13 that a running clock can break. -if grep -q "$epoch" "$first/include/generated/build_info.h" 2>/dev/null \ - || grep -qiE 'build_?(date|time).*1970|20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]' \ - "$first/include/generated/build_info.h" 2>/dev/null; then - pass 'the build info header carries a fixed, derived timestamp' -else - fail 'the build info header carries a fixed, derived timestamp' \ - "no dated macro found in build_info.h" -fi - -printf -- '---\n' -if [ "$failures" -ne 0 ]; then - printf 'not ok - reproducibility: %d of %d checks failed\n' "$failures" "$checks" - exit 1 -fi -printf 'ok - reproducibility: %d checks passed\n' "$checks" diff --git a/tests/build/test-rootfs-stage.sh b/tests/build/test-rootfs-stage.sh deleted file mode 100644 index c882e3c8..00000000 --- a/tests/build/test-rootfs-stage.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'chmod -R u+w "$work"; rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Werror -Wpedantic -I"$src" \ - "$src/tools/host/manifest/reliefos-stage.c" "$src/tools/host/common/io.c" "$src/tools/host/common/buffer.c" "$src/tools/host/manifest/json.c" -o "$work/stage" -mkdir "$work/input" "$work/root" -printf 'payload\n' > "$work/input/file with spaces" -ln -s 'file with spaces' "$work/input/alias" -printf 't\t%s\t/usr/share/fixture\t0755\tfixture\tunique\n' "$work/input" > "$work/plan" -"$work/stage" "$work/plan" "$work/root" "$work/manifest.json" -cmp "$work/input/file with spaces" "$work/root/usr/share/fixture/file with spaces" -[ "$(readlink "$work/root/usr/share/fixture/alias")" = 'file with spaces' ] -grep -q '"schema_version":1' "$work/manifest.json" -# A duplicate claim must fail before copying any payload. -cat "$work/plan" "$work/plan" > "$work/duplicate" -mkdir "$work/duplicate-root" -if "$work/stage" "$work/duplicate" "$work/duplicate-root" "$work/bad.json" 2>/dev/null; then exit 1; fi -[ ! -e "$work/duplicate-root/usr" ] -# Explicit product overlay wins and mode is retained. -printf 'override\n' > "$work/override" -cp "$work/plan" "$work/overlay" -printf 'f\t%s\t/usr/share/fixture/file with spaces\t0600\tpolicy\toverride\n' "$work/override" >> "$work/overlay" -mkdir "$work/overlay-root" -"$work/stage" "$work/overlay" "$work/overlay-root" "$work/overlay.json" -cmp "$work/override" "$work/overlay-root/usr/share/fixture/file with spaces" -[ "$(stat -c %a "$work/overlay-root/usr/share/fixture/file with spaces")" = 600 ] -# Guest symlink parents must never cause host writes. -mkdir "$work/escape-root" "$work/outside" -printf 'l\t%s\t/escape\t0777\tfixture\tunique\nf\t%s\t/escape/bad\t0644\tfixture\tunique\n' "$work/outside" "$work/override" > "$work/escape-plan" -if "$work/stage" "$work/escape-plan" "$work/escape-root" "$work/bad.json" 2>/dev/null; then exit 1; fi -[ ! -e "$work/outside/bad" ] -printf 'f\t%s\t/../outside\t0644\tfixture\tunique\n' "$work/override" > "$work/traversal" -if "$work/stage" "$work/traversal" "$work/escape-root" "$work/bad.json" 2>/dev/null; then exit 1; fi -# Fresh staging cannot retain a removed resource. -rm "$work/input/alias" "$work/input/file with spaces" -mkdir "$work/deleted-root" -"$work/stage" "$work/plan" "$work/deleted-root" "$work/deleted.json" -[ ! -e "$work/deleted-root/usr/share/fixture/file with spaces" ] -# Column 7 is the optional guest gid: a plan without it keeps "gid":0, an -# explicit value reaches the manifest (M1 service role marks depend on it). -grep -q '"uid":0,"gid":0' "$work/deleted.json" -printf 'payload\n' > "$work/gid-input" -printf 'f\t%s\t/usr/share/fixture/data\t0755\tservice\tunique\t1234\n' "$work/gid-input" > "$work/gid-plan" -mkdir "$work/gid-root" -"$work/stage" "$work/gid-plan" "$work/gid-root" "$work/gid.json" -grep -q '"path":"/usr/share/fixture/data","mode":"0755","uid":0,"gid":1234' "$work/gid.json" -[ "$(stat -c %a "$work/gid-root/usr/share/fixture/data")" = 755 ] -# A private host umask must not make implicit guest parents inaccessible to -# ordinary users. Explicit private directory permissions remain authoritative. -mkdir "$work/umask-root" -printf 'f\t%s\t/usr/lib/X11/xdm/Xsession\t0755\tfixture\tunique\nd\t-\t/var/private\t0700\tfixture\tunique\nf\t%s\t/var/private/data\t0600\tfixture\tunique\n' \ - "$work/gid-input" "$work/gid-input" > "$work/umask-plan" -(umask 077; "$work/stage" "$work/umask-plan" "$work/umask-root" "$work/umask.json") -for parent in usr usr/lib usr/lib/X11 usr/lib/X11/xdm; do - [ "$(stat -c %a "$work/umask-root/$parent")" = 755 ] -done -[ "$(stat -c %a "$work/umask-root/usr/lib/X11/xdm/Xsession")" = 755 ] -[ "$(stat -c %a "$work/umask-root/var/private")" = 700 ] -[ "$(stat -c %a "$work/umask-root/var/private/data")" = 600 ] -# An absent, empty or non-decimal gid column is refused before staging. -for bad in '' 'bogus' '-1' '99999999999'; do - printf 'f\t%s\t/bad\t0644\tservice\tunique\t%s\n' "$work/gid-input" "$bad" > "$work/bad-gid" - rm -rf "$work/bad-gid-root" - mkdir "$work/bad-gid-root" - if "$work/stage" "$work/bad-gid" "$work/bad-gid-root" "$work/bad.json" 2>/dev/null; then exit 1; fi - [ ! -e "$work/bad-gid-root/bad" ] -done -printf 'f\t%s\t/bad\t0644\tservice\tunique\t0\toverload\n' "$work/gid-input" > "$work/extra-field" -if "$work/stage" "$work/extra-field" "$work/gid-root" "$work/bad.json" 2>/dev/null; then exit 1; fi -printf 'rootfs stage: fixtures passed\n' diff --git a/tests/build/test-rpr-packages.sh b/tests/build/test-rpr-packages.sh deleted file mode 100644 index 4764b697..00000000 --- a/tests/build/test-rpr-packages.sh +++ /dev/null @@ -1,170 +0,0 @@ -#!/bin/sh -set -eu - -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -: "${RELIEFOS_KERNEL_TOOLS:=$src/out/kbuild-os-native/host/bin/reliefos-kernel-tools}" -RELIEFOS_KERNEL_RECOVERY=${RELIEFOS_TEST_RECOVERY:-$src/out/kbuild-os-native/userland/initramfs/kernel-bundle.elf} -export RELIEFOS_KERNEL_TOOLS RELIEFOS_KERNEL_RECOVERY -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT HUP INT TERM - -mkdir -p "$tmp/src/third_party/rime-pinyin-simp" \ - "$tmp/src/third_party/doomgeneric" "$tmp/src/userland/apps/oschinpt" \ - "$tmp/src/tools" "$tmp/src/resources/build-art/app-icons" \ - "$tmp/out/userland" "$tmp/fake-bin" "$tmp/repository" -printf 'license\n' > "$tmp/src/third_party/rime-pinyin-simp/LICENSE" -printf 'wad\n' > "$tmp/src/third_party/doomgeneric/freedoom1.wad" -printf 'license\n' > "$tmp/src/third_party/doomgeneric/LICENSE" -printf 'copying\n' > "$tmp/src/third_party/doomgeneric/FREEDOOM-COPYING.txt" -for app in doom doomlauncher; do - printf '%s\n' "$app" > "$tmp/out/userland/$app.elf" -done -cat > "$tmp/build_info.h" <<'EOF' -#define RELIEFOS_KERNEL_VERSION "4.7.1" -EOF -printf 'key\n' > "$tmp/key" -chmod 600 "$tmp/key" - -# The fixture does not need a real APK encoder. It records each requested -# output path so the package naming contract can be checked without downloads. -cat > "$tmp/fake-bin/apk" <<'EOF' -#!/bin/sh -set -eu -output= -metadata= -files= -destination= -keys= -indexing=0 -while [ "$#" -gt 0 ]; do - case $1 in - mkndx) indexing=1; shift ;; - --keys-dir) keys=$2; shift 2 ;; - --output) output=$2; shift 2 ;; - --files) files=$2; shift 2 ;; - --info) metadata="$metadata\n$2"; shift 2 ;; - --destination) destination=$2; shift 2 ;; - *) shift ;; - esac -done -if [ "$indexing" = 1 ]; then - test -s "$keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub" - test -s "$keys/reliefos-rpr.rsa.pub" -fi -if [ -n "$destination" ]; then - cp -a "$RELIEFOS_RPR_TEST_PAYLOAD/lib" "$RELIEFOS_RPR_TEST_PAYLOAD/usr" "$destination/" - exit 0 -fi -[ -n "$output" ] -: > "$output" -printf '%b\n' "$metadata" > "$output.metadata" -if [ -n "$files" ]; then - cp "$files"/usr/lib/reliefos/apps/*/manifest.ini "$output.app-manifest" - find "$files" -name '*.bmp' > "$output.icons" -fi -EOF -chmod 755 "$tmp/fake-bin/apk" - -sh "$src/tools/build/rpr-apps.sh" "$tmp/src" "$tmp/out" "$tmp/build_info.h" \ - "$tmp/fake-bin/apk" "$tmp/key" "$tmp/repository" 123 - -for app in doom; do - package="$tmp/repository/reliefos-$app-4.7.1-r123.apk" - test -f "$package" - test ! -e "$tmp/repository/reliefos-$app.apk" - grep -Fx "name:reliefos-$app" "$package.metadata" - grep -Fx "origin:reliefos-$app" "$package.metadata" - grep -F 'depends:reliefos-apps reliefos-musl' "$package.metadata" - grep -Fx "replaces:leonos-$app" "$package.metadata" -done -grep -qx 'icon=' "$tmp/repository/reliefos-doom-4.7.1-r123.apk.app-manifest" -test ! -s "$tmp/repository/reliefos-doom-4.7.1-r123.apk.icons" -printf '%s\n' reliefos-doom-4.7.1-r123.apk > "$tmp/expected.list" -cmp "$tmp/expected.list" "$tmp/repository/packages.list" -test "$(cat "$tmp/repository/.complete")" = 4.7.1 - -# The Pages assembler must reject a versionless package before publication; -# this protects every package source, including future RPR applications. -mkdir -p "$tmp/pages-repository" "$tmp/pages-apps" -printf package > "$tmp/pages-repository/reliefos-base-1-r0.apk" -printf kernel-package-fixture > "$tmp/pages-repository/reliefos-kernel-1-r0.apk" -printf package > "$tmp/pages-apps/reliefos-broken.apk" -printf reliefos-broken.apk > "$tmp/pages-apps/packages.list" -python3 "$src/tools/tests/make_kernel_bundle_fixture.py" "$tmp/pages-kernel" "$tmp/kernel.sys" -RELIEFOS_RPR_TEST_PAYLOAD=$tmp/pages-kernel -export RELIEFOS_RPR_TEST_PAYLOAD -printf 'kernel_name=ntclks\nrelease_version=4.7.1\n' > "$tmp/pages-version" -openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 \ - -out "$tmp/pages-key" 2>/dev/null -chmod 600 "$tmp/pages-key" -if sh "$src/tools/build/rpr-pages.sh" "$tmp/pages-repository" "$tmp/pages-apps" \ - "$tmp/kernel.sys" "$tmp/pages-kernel" \ - "$tmp/pages-version" "$tmp/fake-bin/apk" "$tmp/pages-key" "$tmp/pages-output" \ - 2>"$tmp/pages-error"; then - echo 'versionless RPR package was accepted' >&2 - exit 1 -fi -grep -q 'missing its version' "$tmp/pages-error" -test ! -e "$tmp/pages-output" - -# The old RPR public-key URL remains byte-identical for installed clients; the -# canonical filename points at the same key during the package transition. -rm "$tmp/pages-apps/reliefos-broken.apk" "$tmp/pages-apps/packages.list" -printf 'app package\n' > "$tmp/pages-apps/reliefos-doom-1-r0.apk" -printf 'upstream package\n' > "$tmp/pages-repository/mbedtls3-3.6.7-r0.apk" -printf 'numbered package name\n' > "$tmp/pages-repository/libatk-1.0-2.60.3-r0.apk" -sh "$src/tools/build/rpr-pages.sh" "$tmp/pages-repository" "$tmp/pages-apps" \ - "$tmp/kernel.sys" "$tmp/pages-kernel" \ - "$tmp/pages-version" "$tmp/fake-bin/apk" "$tmp/pages-key" "$tmp/pages-output" -cmp "$tmp/pages-output/apk/leonos-rpr.rsa.pub" "$tmp/pages-output/apk/reliefos-rpr.rsa.pub" -grep -F '"public_key":"reliefos-rpr.rsa.pub"' "$tmp/pages-output/apk/repository.json" -grep -F '"legacy_public_key":"leonos-rpr.rsa.pub"' "$tmp/pages-output/apk/repository.json" -test -f "$tmp/pages-output/apk/reliefos-base-1-r0.apk" -cmp "$tmp/pages-repository/mbedtls3-3.6.7-r0.apk" "$tmp/pages-output/apk/mbedtls3-3.6.7-r0.apk" -grep -F 'href="mbedtls3.html"' "$tmp/pages-output/packages/index.html" -grep -F '../apk/mbedtls3-3.6.7-r0.apk' "$tmp/pages-output/packages/mbedtls3.html" -grep -F 'href="libatk-1.0.html"' "$tmp/pages-output/packages/index.html" -grep -F '' "$tmp/pages-output/packages/libatk-1.0.html" -grep -F '
版本
2.60.3-r0
' "$tmp/pages-output/packages/libatk-1.0.html" -grep -F '>下载 .apk' "$tmp/pages-output/packages/libatk-1.0.html" - -# Rendering a previously built repository needs neither a key nor an encoder. -# It may only add human HTML; every protocol/asset byte must remain unchanged. -(cd "$tmp/pages-output" && find . -type f ! -name '*.html' -exec sha256sum {} + | LC_ALL=C sort) > "$tmp/machine-before" -sh "$src/tools/build/rpr-human-pages.sh" "$tmp/pages-output" "$tmp/translated-site" -(cd "$tmp/pages-output" && find . -type f ! -name '*.html' -exec sha256sum {} + | LC_ALL=C sort) > "$tmp/machine-after" -cmp "$tmp/machine-before" "$tmp/machine-after" -grep -F '
Version
2.60.3-r0
' "$tmp/translated-site/en/rpr/packages/libatk-1.0.html" -grep -F '
バージョン
2.60.3-r0
' "$tmp/translated-site/ja/rpr/packages/libatk-1.0.html" -grep -F 'href="../../../rpr/apk/libatk-1.0-2.60.3-r0.apk"' "$tmp/translated-site/en/rpr/packages/libatk-1.0.html" -test -z "$(find "$tmp/translated-site" -type f ! -name '*.html' -print)" - -# Kbuild invokes the producer from its output directory with relative inputs. -# Exercise the real runtime verifier with that calling convention as well. -( - cd "$tmp" - sh "$src/tools/build/rpr-pages.sh" pages-repository pages-apps \ - kernel.sys pages-kernel pages-version "$tmp/fake-bin/apk" \ - "$tmp/pages-key" relative-pages-output -) -cmp "$tmp/pages-output/kernel/release.txt" "$tmp/relative-pages-output/kernel/release.txt" - -# Resolving relative paths must preserve the producer's symlink-root refusal. -ln -s pages-kernel "$tmp/pages-kernel-link" -if ( - cd "$tmp" - sh "$src/tools/build/rpr-pages.sh" pages-repository pages-apps \ - kernel.sys pages-kernel-link pages-version "$tmp/fake-bin/apk" \ - "$tmp/pages-key" symlink-pages-output -) > "$tmp/symlink-error" 2>&1; then - echo 'symlinked RPR kernel payload root was accepted' >&2 - exit 1 -fi -test ! -e "$tmp/symlink-pages-output" - -printf 'CONFIG_RPR_BASE_URL="https://reliefosproject.github.io/ReliefOS/rpr"\n' > "$tmp/rpr.conf" -sh "$src/tools/build/rpr-config.sh" "$tmp/rpr.conf" > "$tmp/rpr.env" -grep -Fx 'RPR_PUBLIC_KEY=reliefos-rpr.rsa.pub' "$tmp/rpr.env" -grep -Fx 'RPR_BASE_URL=https://reliefosproject.github.io/ReliefOS/rpr' "$tmp/rpr.env" - -printf 'RPR package names, dual key trust and publication validation passed\n' diff --git a/tests/build/test-sdk-driver.sh b/tests/build/test-sdk-driver.sh deleted file mode 100644 index c3f6545c..00000000 --- a/tests/build/test-sdk-driver.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# A fake compiler records argv losslessly enough to detect shell interpretation. -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT -mkdir -p "$w/sdk/bin" "$w/sdk/include" "$w/sdk/lib" -${HOSTCC:-cc} -std=c11 -Wall -Wextra -Wpedantic -Werror \ - "$root/tools/host/sdk/reliefos-musl-cc.c" -o "$w/sdk/bin/reliefos-musl-cc" -cat > "$w/compiler" <<'EOF' -#!/bin/sh -printf '%s\n' "$0" >> "$COMPILER_RECORD" -if [ "$1" = -print-resource-dir ]; then printf '%s\n' "$RESOURCE"; exit "${PROBE_STATUS:-0}"; fi -printf '%s\n' "$@" > "$RECORD" -exit "${COMPILER_STATUS:-0}" -EOF -chmod +x "$w/compiler" -cp "$w/compiler" "$w/legacy-compiler" -chmod +x "$w/legacy-compiler" -export LEONOS_CC="$w/legacy-compiler" RELIEFOS_CC="$w/compiler" \ - RECORD="$w/args" COMPILER_RECORD="$w/compiler-paths" RESOURCE="$w/resource space" -"$w/sdk/bin/reliefos-musl-cc" -c 'source ; dollar$.c' -o 'out space.o' -grep -Fx "$w/compiler" "$COMPILER_RECORD" -grep -Fx 'source ; dollar$.c' "$RECORD" -grep -Fx "$RESOURCE/include" "$RECORD" -if grep -q 'crt1.o' "$RECORD"; then exit 1; fi -unset RELIEFOS_CC -"$w/sdk/bin/reliefos-musl-cc" -c 'legacy source.c' -o 'legacy out.o' -grep -Fx "$w/legacy-compiler" "$COMPILER_RECORD" -"$w/sdk/bin/reliefos-musl-cc" -static -x c 'source.c' -o out -grep -Fx "$w/sdk/lib/crt1.o" "$RECORD" -grep -Fx "$w/sdk/lib/mimalloc.o" "$RECORD" -grep -Fx -- '-lreliefos' "$RECORD" -"$w/sdk/bin/reliefos-musl-cc" --version -test "$(wc -l < "$RECORD")" -eq 2 -"$w/sdk/bin/reliefos-musl-cc" source.c -o reliefos.out -grep -Fx -- '-l:libreliefos.so.2' "$RECORD" -grep -Fx -- '-Wl,-rpath,/usr/lib/reliefos:/lib:/usr/lib' "$RECORD" -RELIEFOS_SDK_ABI=leonos "$w/sdk/bin/reliefos-musl-cc" source.c -o leonos.out -grep -Fx -- '-l:libleonos.so.2' "$RECORD" -grep -Fx -- '-Wl,-rpath,/usr/lib/leonos:/lib:/usr/lib' "$RECORD" -if grep -Fx -- '-l:libreliefos.so.2' "$RECORD"; then exit 1; fi -status=0 -RELIEFOS_SDK_ABI=unknown "$w/sdk/bin/reliefos-musl-cc" -c a.c || status=$? -test "$status" -eq 2 -mv "$w/sdk" "$w/relocated sdk" -"$w/relocated sdk/bin/reliefos-musl-cc" source.c -o out -grep -Fx "$w/relocated sdk/lib/Scrt1.o" "$RECORD" -status=0 -COMPILER_STATUS=42 "$w/relocated sdk/bin/reliefos-musl-cc" -c a.c || status=$? -test "$status" -eq 42 -status=0 -PROBE_STATUS=7 "$w/relocated sdk/bin/reliefos-musl-cc" -c a.c || status=$? -test "$status" -ne 0 -echo 'ok - SDK argv, canonical/legacy ABI selection, relocation and failures' diff --git a/tests/build/test-sdk-stage.sh b/tests/build/test-sdk-stage.sh deleted file mode 100644 index 7938e1af..00000000 --- a/tests/build/test-sdk-stage.sh +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT - -mkdir -p "$w/src/include/uapi" "$w/src/include/leonos" "$w/src/include/reliefos" \ - "$w/uapi-licenses/LICENSES/preferred" "$w/uapi-licenses/LICENSES/exceptions" \ - "$w/src/userland/runtime/include/leonos" "$w/src/userland/runtime/include/reliefos" "$w/runtime-deps/usr/include" \ - "$w/runtime-deps/usr/lib" "$w/runtime-deps/usr/share/licenses" "$w/runtime-deps/usr/share/reliefos/sdk/apk" "$w/sysroot/include" "$w/sysroot/lib" \ - "$w/sysroot/share/licenses/musl" "$w/pam/usr/include/security" \ - "$w/pam/lib/pkgconfig" "$w/pam/share/licenses/linux-pam" \ - "$w/auth/usr/include" "$w/auth/lib" "$w/auth/share/licenses/libxcrypt" \ - "$w/export/linux" -printf 'stdio fixture\n' > "$w/sysroot/include/stdio.h" -printf 'UAPI attribution fixture\n' > "$w/uapi-licenses/NOTICE" -printf 'GPL fixture\n' > "$w/uapi-licenses/LICENSES/preferred/GPL-2.0" -printf 'syscall exception fixture\n' > "$w/uapi-licenses/LICENSES/exceptions/Linux-syscall-note" -export KERNEL_UAPI_NOTICE_ROOT=$w/uapi-licenses -printf 'crt fixture\n' > "$w/sysroot/lib/crt1.o" -for f in libc.so libc.a libmimalloc.so.3 mimalloc.o Scrt1.o crti.o crtn.o rcrt1.o libssp_nonshared.a; do - printf '%s\n' "$f" > "$w/sysroot/lib/$f" -done -printf 'license\n' > "$w/sysroot/share/licenses/musl/COPYRIGHT" -printf 'header\n' > "$w/src/include/leonos/api.h" -printf 'legacy header\n' > "$w/src/include/leonos/tar.h" -printf 'canonical header\n' > "$w/src/include/reliefos/api.h" -printf 'canonical header\n' > "$w/src/include/reliefos/tar.h" -# UAPI fixture: the SDK must take ABI headers from the kernel header export -# (headers_install output), never from the kernel-owned source tree. -printf 'uapi fixture\n' > "$w/export/linux/types.h" -printf 'header\n' > "$w/pam/usr/include/security/pam_appl.h" -printf 'header\n' > "$w/auth/usr/include/crypt.h" -printf 'license\n' > "$w/pam/share/licenses/linux-pam/LICENSE" -printf 'license\n' > "$w/auth/share/licenses/libxcrypt/LICENSE" -printf 'so\n' > "$w/pam/lib/libpam.so.0" -printf 'so\n' > "$w/auth/lib/libcrypt.so.2" -printf 'archive\n' > "$w/auth/lib/libcrypt.a" -printf 'reliefos runtime\n' > "$w/reliefos-runtime.so" -printf 'reliefos archive\n' > "$w/reliefos-runtime.a" -printf 'leonos runtime\n' > "$w/leonos-runtime.so" -printf 'leonos archive\n' > "$w/leonos-runtime.a" -printf 'builtins\n' > "$w/builtins.a" -printf 'driver\n' > "$w/driver" -printf 'header\n' > "$w/runtime-deps/usr/include/pnglibconf.h" -printf 'archive\n' > "$w/runtime-deps/usr/lib/libmbedcrypto.a" -printf 'license\n' > "$w/runtime-deps/usr/share/licenses/LICENSE" -printf 'pkgname = mbedtls3\n' > "$w/runtime-deps/usr/share/reliefos/sdk/apk/mbedtls3.PKGINFO" - -RUNTIME_BUILTINS="$w/builtins.a" RUNTIME_DEVELOPMENT_ROOT="$w/runtime-deps" \ - sh "$root/tools/build/musl-sdk.sh" "$w/src" "$w/sysroot" \ - "$w/reliefos-runtime.so" "$w/reliefos-runtime.a" \ - "$w/leonos-runtime.so" "$w/leonos-runtime.a" "$w/pam" "$w/auth" "$w/driver" \ - "$w/musl-sdk" 1234 "$w/export" -rm "$w/musl-sdk/include/stdio.h" "$w/musl-sdk/lib/crt1.o" -RUNTIME_BUILTINS="$w/builtins.a" RUNTIME_DEVELOPMENT_ROOT="$w/runtime-deps" \ - sh "$root/tools/build/musl-sdk.sh" "$w/src" "$w/sysroot" \ - "$w/reliefos-runtime.so" "$w/reliefos-runtime.a" \ - "$w/leonos-runtime.so" "$w/leonos-runtime.a" "$w/pam" "$w/auth" "$w/driver" \ - "$w/musl-sdk" 1234 "$w/export" -cmp "$w/export/linux/types.h" "$w/musl-sdk/include/linux/types.h" -cmp "$w/uapi-licenses/NOTICE" "$w/musl-sdk/share/licenses/reliefnt/NOTICE" -cmp "$w/uapi-licenses/LICENSES/preferred/GPL-2.0" "$w/musl-sdk/share/licenses/reliefnt/GPL-2.0" -cmp "$w/uapi-licenses/LICENSES/exceptions/Linux-syscall-note" "$w/musl-sdk/share/licenses/reliefnt/Linux-syscall-note" -cmp "$w/sysroot/include/stdio.h" "$w/musl-sdk/include/stdio.h" -cmp "$w/sysroot/lib/crt1.o" "$w/musl-sdk/lib/crt1.o" -cmp "$w/src/include/reliefos/api.h" "$w/musl-sdk/include/reliefos/api.h" -cmp "$w/src/include/leonos/tar.h" "$w/musl-sdk/include/leonos/tar.h" -grep -Fx 'reliefos runtime' "$w/musl-sdk/lib/libreliefos.so.2" -grep -Fx 'leonos runtime' "$w/musl-sdk/lib/libleonos.so.2" -grep -Fx 'reliefos archive' "$w/musl-sdk/lib/libreliefos.a" -grep -Fx 'leonos archive' "$w/musl-sdk/lib/libleonos.a" -echo 'ok - musl SDK stages both runtime ABIs and keeps canonical and legacy headers' -cmp "$w/runtime-deps/usr/lib/libmbedcrypto.a" "$w/musl-sdk/lib/libmbedcrypto.a" -cmp "$w/runtime-deps/usr/share/reliefos/sdk/apk/mbedtls3.PKGINFO" "$w/musl-sdk/share/reliefos/sdk/apk/mbedtls3.PKGINFO" diff --git a/tests/build/test-shell-colors.sh b/tests/build/test-shell-colors.sh deleted file mode 100644 index e20e42bf..00000000 --- a/tests/build/test-shell-colors.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh -# Verify interactive defaults without changing scripts or redirected output. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -colors=$src/system/rootfs/etc/bash/colors.sh -mkdir -p "$src/out/tmp" -work=$(TMPDIR="$src/out/tmp" mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM - -bash --noprofile --norc -c ' - unset LS_COLORS LESS - . "$1" - ! alias ls 2>/dev/null - [[ ! ${LS_COLORS+x} && ! ${LESS+x} ]] -' check "$colors" - -# Each command runs after sourcing, outside the parser's current input line. -# Bash must actually expand the aliases, rather than just print their values. -cat > "$work/interactive" <<'BASH' -set -e -unset NO_COLOR LS_COLORS LESS -unalias ls dir vdir 2>/dev/null || : -. "$1" -[[ $LESS == -R && ${LS_COLORS+x} ]] -for name in ls dir vdir; do - [[ $(alias "$name") == "alias $name='$name --color=auto'" ]] -done -ls -1 -- "$2" > "$2/redirected" -ls -1 -- "$2" | cat > "$2/piped" -! LC_ALL=C grep -q "$(printf '\033')" "$2/redirected" "$2/piped" -alias ls='ls --color=never' -unalias dir -dir() { printf 'user function\n'; } -LS_COLORS=custom -LESS= -. "$1" -[[ $(alias ls) == "alias ls='ls --color=never'" ]] -[[ $(type -t dir) == function && $LS_COLORS == custom && $LESS == '' ]] -unset LS_COLORS LESS -unalias ls vdir -NO_COLOR=1 -. "$1" -! alias ls 2>/dev/null -[[ ! ${LS_COLORS+x} && ! ${LESS+x} ]] -unset NO_COLOR -TERM=dumb -. "$1" -! alias ls 2>/dev/null -[[ ! ${LS_COLORS+x} && ! ${LESS+x} ]] -unset TERM -. "$1" -! alias ls 2>/dev/null -[[ ! ${LS_COLORS+x} && ! ${LESS+x} ]] -exit -BASH -mkdir "$work/directory" -TERM=xterm-256color bash --noprofile --norc -i -s -- "$colors" "$work/directory" \ - < "$work/interactive" > "$work/report" 2>&1 || { - cat "$work/report" >&2 - echo 'FAIL - interactive shell color policy' >&2 - exit 1 - } -printf '%s\n' 'Interactive colors, user overrides and plain pipelines: PASS' diff --git a/tests/build/test-site-i18n.py b/tests/build/test-site-i18n.py index 529b2873..bf7f9064 100644 --- a/tests/build/test-site-i18n.py +++ b/tests/build/test-site-i18n.py @@ -1,18 +1,10 @@ #!/usr/bin/env python3 -"""Website contracts without signing, a cross toolchain, Sphinx or a browser. - -An optional site argument checks the real assembled fixture from test-pages.sh. -Python is only a test dependency; production renderers remain POSIX shell. -""" +"""Exercise translated Pages against the pacman repository layout.""" import hashlib from html.parser import HTMLParser -import json from pathlib import Path -import os -import re import shutil import subprocess -import sys import tempfile import unittest from urllib.parse import urljoin, urlsplit @@ -20,31 +12,10 @@ ROOT = Path(__file__).resolve().parents[2] SCRIPTS = ROOT / "tools/build" LANGUAGES = {"zh-CN": "", "en": "en/", "ja": "ja/"} -LABELS = {"zh-CN": "简体中文", "en": "English", "ja": "日本語"} -PUBLISHED_SITE = (Path(sys.argv.pop(1)).resolve() - if len(sys.argv) > 1 and not sys.argv[1].startswith("-") else None) - - -def run_script(name, *args): - return subprocess.run(["sh", str(SCRIPTS / name), *map(str, args)], - text=True, capture_output=True) - - -def file_digest(path): - digest = hashlib.sha256() - with path.open("rb") as stream: - for block in iter(lambda: stream.read(1024 * 1024), b""): - digest.update(block) - return digest.digest() - - -def copy_fixture(source, destination): - # Mutation tests only edit HTML. Share read-only artifacts so testing a real - # published ISO/repository does not duplicate gigabytes for every case. - if Path(source).suffix == ".html": - return shutil.copy2(source, destination) - os.link(source, destination) - return destination +PAGES = ("index.html", "download/index.html", "rpr/index.html") +REPOSITORY_FILES = ("rpr.gpg", "rpr.db", "rpr.db.sig", "rpr.files", "rpr.files.sig", "SHA256SUMS") +FINGERPRINT = "0123456789ABCDEF0123456789ABCDEF01234567" +SOURCE_COMMIT = "a14fa1e18ae96847e7315a56b455c2b2c8adb930" class Page(HTMLParser): @@ -79,89 +50,28 @@ def handle_data(self, data): self.text.append(data) -def fixture(root): - """Minimal protocol-4 bytes, sufficient for the publication checker.""" - rpr = root / "rpr" - for directory in (rpr / "apk", rpr / "kernel", rpr / "css", root / "download", root / "css"): - directory.mkdir(parents=True) - files = { - "apk/reliefos-kernel-4.9.1-r5.apk": b"signed-kernel-fixture", - "apk/libatk-1.0-2.60.3-r0.apk": b"numbered-package-fixture", - "apk/packages.adb": b"signed-index-fixture", - "apk/reliefos-rpr.rsa.pub": b"public-key-fixture", - "apk/leonos-rpr.rsa.pub": b"public-key-fixture", - "kernel/kernel.sys": b"kernel-fixture", - "kernel/initramfs.cpio": b"initramfs-fixture", - "kernel/bundle.json": b'{"files":{}}\n', - "manifest.json": b'{"apk":"/apk/packages.adb","kernel":"/kernel/release.txt","schema":1,"version":"4.9.1"}\n', - "health.txt": b"leonos-rpr-ok\n", - ".complete": b"4.9.1\n", - ".nojekyll": b"", - } - for name, data in files.items(): - (rpr / name).write_bytes(data) - digest = lambda name: hashlib.sha256((rpr / name).read_bytes()).hexdigest() - package = "reliefos-kernel-4.9.1-r5.apk" - fields = dict(format_version="4", image_version="4.9.1", version="4.9.1", - kernel_release="5.1.2-ko1-fixture", module_abi="0" * 64, - kernel_sha256=digest("kernel/kernel.sys"), - initramfs_sha256=digest("kernel/initramfs.cpio"), package="reliefos-kernel", - package_version="4.9.1-r5", package_file=package, - package_sha256=digest("apk/" + package), repository_sha256=digest("apk/packages.adb"), - bundle_manifest_sha256=digest("kernel/bundle.json"), - module_directory="lib/modules/5.1.2-ko1-fixture") - (rpr / "kernel/release.txt").write_text("".join(f"{key}={value}\n" for key, value in fields.items())) - release = dict(architecture="x86_64", schema=4, image_version="4.9.1", version="4.9.1", - kernel_release=fields["kernel_release"], module_abi=fields["module_abi"], - module_directory=fields["module_directory"], - files={name: {"sha256": digest("kernel/" + name)} - for name in ("kernel.sys", "initramfs.cpio", "bundle.json")}, - package=dict(name="reliefos-kernel", version="4.9.1-r5", file=package, - sha256=fields["package_sha256"]), - repository_sha256=fields["repository_sha256"]) - (rpr / "kernel/release.json").write_text(json.dumps(release, separators=(",", ":")) + "\n") - packages = sorted(path.name for path in (rpr / "apk").glob("*.apk")) - (rpr / "apk/repository.json").write_text(json.dumps({"packages": packages}) + "\n") - for directory, members in (("apk", packages + ["packages.adb", "reliefos-rpr.rsa.pub", "leonos-rpr.rsa.pub"]), - ("kernel", ["kernel.sys", "initramfs.cpio", "bundle.json"])): - (rpr / directory / "SHA256SUMS").write_text("".join( - f"{digest(directory + '/' + member)} {member}\n" for member in members)) - for destination in (root / "css/reliefos.css", rpr / "css/reliefos.css"): - shutil.copyfile(ROOT / "resources/pages/css/reliefos.css", destination) - # Documentation is owned by a separate renderer. Only its route contract is - # needed in this isolated fixture; test-pages.sh exercises the real manuals. - for language, prefix in LANGUAGES.items(): - for page in (f"docs/{prefix}index.html", f"docs/reliefos/{prefix}index.html", - f"docs/reliefnt/{prefix}index.html"): - path = root / page - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text(f'\nManualManual\n') - (root / ".nojekyll").touch() - (root / "download/reliefos-installer.iso").write_bytes(b"installer-fixture") - build = root.parent / "build_info.h" - build.write_text('#define RELIEFOS_KERNEL_VERSION "4.9.1"\n') - for script, args in (("rpr-human-pages.sh", (rpr, root)), - ("home-page.sh", (build, root)), - ("download-page.sh", (root / "download/reliefos-installer.iso", build, root))): - result = run_script(script, *args) - if result.returncode: - raise AssertionError(result.stdout + result.stderr) - - class SiteI18n(unittest.TestCase): @classmethod def setUpClass(cls): cls.temporary = tempfile.TemporaryDirectory(prefix="reliefos site i18n ") cls.addClassCleanup(cls.temporary.cleanup) - cls.work = Path(cls.temporary.name) - cls.site = PUBLISHED_SITE or cls.work / "nested mount/ReliefOS" - if PUBLISHED_SITE is None: - fixture(cls.site) - cls.logical_pages = ["index.html", "download/index.html", "rpr/index.html", "rpr/apk/index.html", - "rpr/packages/index.html", "rpr/kernel/index.html"] - for apk in sorted((cls.site / "rpr/apk").glob("*.apk")): - name = apk.name[:-4].rsplit("-", 2)[0] - cls.logical_pages.append(f"rpr/packages/{name}.html") + cls.site = Path(cls.temporary.name) / "nested mount/ReliefOS" + for directory in ("rpr", "download", "css"): + (cls.site / directory).mkdir(parents=True) + for name in REPOSITORY_FILES: + (cls.site / "rpr" / name).write_bytes((name + " fixture\n").encode()) + (cls.site / "rpr/source-commit").write_text(SOURCE_COMMIT + "\n") + shutil.copyfile(ROOT / "resources/pages/css/reliefos.css", cls.site / "css/reliefos.css") + cls.iso = cls.site / "download/reliefos-installer.iso" + cls.iso.write_bytes(b"installer fixture\n") + build = cls.site.parent / "build_info.h" + build.write_text('#define RELIEFOS_KERNEL_VERSION "5.1.2"\n') + cls.before = {name: (cls.site / "rpr" / name).read_bytes() + for name in (*REPOSITORY_FILES, "source-commit")} + for script, args in (("home-page.sh", (build, cls.site)), + ("download-page.sh", (cls.iso, build, cls.site)), + ("rpr-index.sh", (cls.site, FINGERPRINT))): + subprocess.run(["sh", str(SCRIPTS / script), *map(str, args)], check=True) def resolve(self, current, href): self.assertFalse(href.startswith("/"), href) @@ -170,195 +80,56 @@ def resolve(self, current, href): self.assertTrue(url.path.startswith("/project/ReliefOS/"), href) return url.path.removeprefix("/project/ReliefOS/") - def test_all_routes_same_page_switches_and_metadata(self): + def test_routes_language_navigation_and_shared_artifacts(self): for language, prefix in LANGUAGES.items(): - for logical in self.logical_pages: + for logical in PAGES: with self.subTest(language=language, page=logical): current = prefix + logical page = Page(self.site / current) self.assertEqual(page.language, language) self.assertEqual(set(page.alternates), {*LANGUAGES, "x-default"}) switches = [attrs for nav, attrs in page.anchors if nav == "languages"] - self.assertEqual(len(switches), 3) - self.assertEqual(sum("aria-current" in attrs for attrs in switches), 1) - for alternate, alternate_prefix in LANGUAGES.items(): - self.assertEqual(self.resolve(current, page.alternates[alternate]), alternate_prefix + logical) - switch, = [attrs for attrs in switches if attrs["hreflang"] == alternate] - self.assertEqual(switch["lang"], alternate) - self.assertEqual(self.resolve(current, switch["href"]), alternate_prefix + logical) - self.assertEqual(switch.get("aria-current"), "page" if alternate == language else None) + self.assertEqual(len(switches), len(LANGUAGES)) + for other, other_prefix in LANGUAGES.items(): + self.assertEqual(self.resolve(current, page.alternates[other]), other_prefix + logical) + switch, = [attrs for attrs in switches if attrs["hreflang"] == other] + self.assertEqual(self.resolve(current, switch["href"]), other_prefix + logical) + self.assertEqual(switch.get("aria-current"), "page" if other == language else None) self.assertEqual(self.resolve(current, page.alternates["x-default"]), logical) navigation = [attrs for nav, attrs in page.anchors if nav == "site"] - self.assertEqual([self.resolve(current, attrs["href"]) for attrs in navigation], - [prefix + "index.html", prefix + "download/index.html", prefix + "rpr/index.html", - f"docs/{prefix}index.html"]) - for attrs in navigation: - self.assertEqual(attrs.get("aria-current"), - "page" if self.resolve(current, attrs["href"]) == current else None) - for label in LABELS.values(): - self.assertIn(label, page.text) - links = {self.resolve(current, attrs["href"]) for _, attrs in page.anchors - if not attrs["href"].startswith("https://")} - self.assertIn(f"docs/{prefix}index.html", links) + self.assertEqual([self.resolve(current, item["href"]) for item in navigation], + [prefix + "index.html", prefix + "download/index.html", + prefix + "rpr/index.html", f"docs/{prefix}index.html"]) if logical == "rpr/index.html": - self.assertIn(f"docs/reliefos/{prefix}index.html", links) - if logical in {"rpr/index.html", "rpr/kernel/index.html"}: - self.assertIn(f"docs/reliefnt/{prefix}index.html", links) + links = [self.resolve(current, item["href"]) for nav, item in page.anchors + if nav == "" and not item["href"].startswith("https:")] + for member in REPOSITORY_FILES: + self.assertIn("rpr/" + member, links) + self.assertIn(FINGERPRINT, "".join(page.text)) + self.assertIn("pacman -Syu", "".join(page.text)) if logical == "download/index.html": - self.assertIn("download/reliefos-installer.iso", links) - self.assertIn("download/SHA256SUMS", links) - if logical == "rpr/kernel/index.html": - self.assertIn("rpr/kernel/kernel.sys", links) - self.assertIn("rpr/kernel/initramfs.cpio", links) - if logical.startswith("rpr/packages/") and logical != "rpr/packages/index.html": - package_links = [link for link in links if link.endswith(".apk")] - self.assertEqual(len(package_links), 1) - self.assertTrue(package_links[0].startswith("rpr/apk/")) - - def test_full_visible_content_and_shared_artifacts(self): - phrases = { - "zh-CN": ["自由开放的操作系统。", "浏览仓库中发布的已签名 APK 软件包。", "模块与文件清单", "返回软件包列表"], - "en": ["A free and open operating system.", "Browse the signed APK packages", "Module and file inventory", "Back to package list"], - "ja": ["自由でオープンなオペレーティングシステム。", "署名済み APK パッケージ", "モジュールとファイルの一覧", "パッケージ一覧に戻る"], - } - for language, prefix in LANGUAGES.items(): - content = "\n".join(" ".join(Page(self.site / (prefix + logical)).text) for logical in self.logical_pages) - for phrase in phrases[language]: - self.assertIn(phrase, content) - if prefix: - self.assertEqual([path for path in (self.site / prefix).rglob("*") - if path.is_file() and path.suffix != ".html"], []) - resources = ROOT / "resources/pages/i18n" - keysets = [set(re.findall(r"^\s+([a-z_]+)\)", (resources / (language + ".sh")).read_text(), re.M)) - for language in LANGUAGES] - self.assertEqual(keysets[0], keysets[1]) - self.assertEqual(keysets[0], keysets[2]) - - def test_renderer_does_not_touch_any_machine_byte(self): - destination = self.work / "rerendered" - before = {str(path.relative_to(self.site)): file_digest(path) - for path in (self.site / "rpr").rglob("*") if path.is_file() and path.suffix != ".html"} - result = run_script("rpr-human-pages.sh", self.site / "rpr", destination) - self.assertEqual(result.returncode, 0, result.stderr) - for relative, expected in before.items(): - self.assertEqual(file_digest(self.site / relative), expected, relative) - self.assertTrue(all(path.suffix == ".html" for path in destination.rglob("*") if path.is_file())) - - def test_make_rebuilds_both_outputs_for_shared_resources(self): - # Query real production rules, treating unrelated product artifacts as - # already built. No recipe, signing action or release guard is executed. - with tempfile.TemporaryDirectory(prefix="reliefos-make-i18n-") as temporary: - fixture_root = Path(temporary) - source = fixture_root / "os" - for directory in (source / "Documentation", fixture_root / "nt/Documentation", - source / "resources/pages/i18n"): - directory.mkdir(parents=True) - shared = [source / path for path in ( - "tools/build/site-common.sh", "tools/build/rpr-human-pages.sh", "resources/pages/css/reliefos.css", - "resources/pages/i18n/zh-CN.sh", "resources/pages/i18n/en.sh", "resources/pages/i18n/ja.sh", - "resources/pages/i18n")] - for path in shared: - if not path.is_dir(): - path.parent.mkdir(parents=True, exist_ok=True) - path.touch() - makefile = fixture_root / "Makefile" - makefile.write_text(f"""RELIEFOS_SRC := {source} -RELIEFNT_DIR := {fixture_root}/nt -override O := {fixture_root}/out -O_META := {fixture_root}/meta -USERLAND_DIR := {fixture_root}/userland -BUILD_INFO_HEADER := {fixture_root}/build_info.h -APK_MANIFEST := {fixture_root}/apk-manifest -APK_REPOSITORY := {fixture_root}/repository -RELIEFOS_KERNEL_SYS := {fixture_root}/kernel.sys -RELIEFOS_KERNEL_PAYLOAD_MANIFEST := {fixture_root}/payload.json -RELIEFOS_KERNEL_TOOLS := {fixture_root}/kernel-tools -RELIEFOS_KERNEL_RECOVERY := {fixture_root}/kernel-recovery -INSTALLER_ISO := {fixture_root}/installer.iso -include {ROOT}/scripts/reliefos/Makefile.rpr -include {ROOT}/scripts/reliefos/Makefile.site -.PHONY: dependency-probe -dependency-probe: -""") - database = subprocess.run(["make", "--no-print-directory", "-pRrq", "-f", str(makefile), "dependency-probe"], - capture_output=True, text=True) - self.assertEqual(database.returncode, 0, database.stderr) - for relative in ("out/rpr-pages/.complete", "out/pages/.site-complete"): - with self.subTest(target=relative): - target = fixture_root / relative - declaration = next(line for line in database.stdout.splitlines() if line.startswith(str(target) + ":")) - dependencies = set(declaration.split(":", 1)[1].split()) - self.assertTrue(set(map(str, shared)) <= dependencies, declaration) - for dependency in dependencies: - path = Path(dependency) - if not path.exists(): - path.parent.mkdir(parents=True, exist_ok=True) - path.touch() - target.parent.mkdir(parents=True, exist_ok=True) - target.touch() - # GNU Make also requires every peer of a grouped target. - peer = target.with_name("manifest.json" if target.name == ".complete" else "index.html") - peer.touch() - # --assume-old skips a prerequisite's recipe, but its real - # timestamp still participates in the parent's comparison. - for dependency in dependencies: - os.utime(dependency, (1_000_000_000, 1_000_000_000)) - os.utime(target, (1_100_000_000, 1_100_000_000)) - os.utime(peer, (1_100_000_000, 1_100_000_000)) - query = ["make", "--no-print-directory", "-q", "-f", str(makefile), str(target)] - query += ["--assume-old=" + dependency for dependency in dependencies - set(map(str, shared))] - current = subprocess.run(query, capture_output=True, text=True) - self.assertEqual(current.returncode, 0, current.stderr) - for path in shared: - with self.subTest(changed=str(path.relative_to(source))): - os.utime(path, (1_200_000_000, 1_200_000_000)) - outdated = subprocess.run(query, capture_output=True, text=True) - self.assertEqual(outdated.returncode, 1, outdated.stderr) - os.utime(path, (1_000_000_000, 1_000_000_000)) - - def test_verifier_accepts_complete_tree(self): - result = run_script("verify-pages.sh", self.site) - self.assertEqual(result.returncode, 0, result.stdout + result.stderr) - - def test_verifier_rejects_contract_violations(self): - changes = { - "wrong-language": ("en/rpr/kernel/index.html", 'lang="en"', 'lang="ja"', "incorrect language"), - "wrong-alternate": ("ja/download/index.html", 'hreflang="en" href="../../en/download/index.html"', - 'hreflang="en" href="../../en/index.html"', "incorrect en alternate"), - "wrong-switch": ("en/rpr/kernel/index.html", '', '
bad', "broken href"), - "absolute-link": ("index.html", '
', '
bad', "root-relative href"), - } - for name, (page, old, new, error) in changes.items(): - with self.subTest(name=name): - destination = self.work / name - shutil.copytree(self.site, destination, copy_function=copy_fixture) - target = destination / page - content = target.read_text() - self.assertIn(old, content) - target.write_text(content.replace(old, new)) - result = run_script("verify-pages.sh", destination) - self.assertNotEqual(result.returncode, 0) - self.assertIn(error, result.stderr) - for name in ("missing-package", "copied-artifact"): - with self.subTest(name=name): - destination = self.work / name - shutil.copytree(self.site, destination, copy_function=copy_fixture) - if name == "missing-package": - logical = next(page for page in self.logical_pages if page.startswith("rpr/packages/") and not page.endswith("/index.html")) - for prefix in LANGUAGES.values(): - (destination / (prefix + logical)).unlink() - expected = "missing " + logical - else: - shutil.copyfile(destination / "download/SHA256SUMS", destination / "en/download/SHA256SUMS") - expected = "must share root artifacts" - result = run_script("verify-pages.sh", destination) - self.assertNotEqual(result.returncode, 0) - self.assertIn(expected, result.stderr) + self.assertIn(hashlib.sha256(self.iso.read_bytes()).hexdigest(), "".join(page.text)) + + def test_generators_preserve_repository_and_download_checksum(self): + for name, contents in self.before.items(): + self.assertEqual((self.site / "rpr" / name).read_bytes(), contents) + checksum = hashlib.sha256(self.iso.read_bytes()).hexdigest() + self.assertEqual((self.site / "download/SHA256SUMS").read_text(), + checksum + " reliefos-installer.iso\n") + + def test_rpr_links_the_snapshot_commit_in_all_languages(self): + for prefix in LANGUAGES.values(): + page = Page(self.site / prefix / "rpr/index.html") + self.assertIn(SOURCE_COMMIT[:12], page.text) + self.assertIn("https://github.com/ReliefOSProject/ReliefOS/commit/" + SOURCE_COMMIT, + [anchor["href"] for _, anchor in page.anchors]) + + def test_rpr_does_not_guess_an_older_snapshot_commit(self): + with tempfile.TemporaryDirectory() as directory: + subprocess.run(["sh", str(SCRIPTS / "rpr-index.sh"), directory, FINGERPRINT], check=True) + page = Page(Path(directory) / "en/rpr/index.html") + self.assertIn("Not recorded", "".join(page.text)) + self.assertFalse(any("/commit/" in anchor["href"] for _, anchor in page.anchors)) if __name__ == "__main__": diff --git a/tests/build/test-site-i18n.sh b/tests/build/test-site-i18n.sh new file mode 100644 index 00000000..cc4c01c4 --- /dev/null +++ b/tests/build/test-site-i18n.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu +root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) +exec python3 "$root/tests/build/test-site-i18n.py" diff --git a/tests/build/test-squashfs-adapter.sh b/tests/build/test-squashfs-adapter.sh deleted file mode 100755 index 63c82021..00000000 --- a/tests/build/test-squashfs-adapter.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# Exercise the SquashFS image adapter without depending on host squashfs-tools. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -grub-script-check "$src/boot/grub/installer.cfg" -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT HUP INT TERM -mkdir -p "$w/bin" "$w/stage/root/etc" -printf 'installer data\n' > "$w/stage/root/etc/release" -cat > "$w/bin/mksquashfs" <<'TOOL' -#!/bin/sh -set -eu -[ "$SOURCE_DATE_EPOCH" = 1700000000 ] || { - echo 'mksquashfs did not receive the image build epoch' >&2 - exit 1 -} -for arg do - case $arg in - -all-time|-mkfs-time) echo 'mksquashfs received conflicting timestamps' >&2; exit 1 ;; - esac -done -printf '%s\n' "$@" > "$SQUASHFS_ARGS" -printf 'fixture squashfs\n' > "$2" -TOOL -chmod +x "$w/bin/mksquashfs" -PATH="$w/bin:$PATH" SQUASHFS_ARGS="$w/args" SOURCE_DATE_EPOCH=1600000000 \ - sh "$src/tools/build/images.sh" squashfs "$w/stage" "$w/payload.squashfs" 1700000000 -[ "$(cat "$w/payload.squashfs")" = 'fixture squashfs' ] -for option in '-noappend' '-comp' 'gzip' '-b' '131072' '-no-fragments' \ - '-no-xattrs' '-no-exports' '-no-progress' '-processors' '1'; do - grep -Fxq -- "$option" "$w/args" || { - echo "missing mksquashfs option: $option" >&2 - exit 1 - } -done -[ ! -e "$w/payload.squashfs.work" ] -echo 'squashfs adapter: deterministic gzip installer payload options are passed' - -# The compatibility CLI must resolve its default payload before replacing an -# explicitly selected ESP stage. It must never consume inputs in that tree. -output=$w/build -font=$w/fixture-grub-font.pf2 -touch "$font" -for file in images/installer-root.ext4 generated/system/kernel.sys \ - generated/system/initramfs.cpio generated/system/initramfs.cpio.json \ - grub-efi/lib/grub/x86_64-efi/kernel.img \ - grub-host/lib/grub/i386-pc/kernel.img grub-host/bin/grub-mkimage \ - grub-host/bin/grub-mkstandalone; do - mkdir -p "$(dirname "$output/$file")" - touch "$output/$file" -done -ln -s "$w/stage/root/etc/release" "$output/images/installer-payload.squashfs" -if python3 "$src/tools/make_installer_iso.py" --build-output "$output" \ - --grub-font "$font" --stage "$w/stage" > "$w/iso.log" 2>&1; then - echo 'compatibility ISO CLI accepted its payload inside the ESP stage' >&2 - exit 1 -fi -grep -Fq 'stage must not contain source inputs' "$w/iso.log" -[ "$(cat "$w/stage/root/etc/release")" = 'installer data' ] -echo 'compatibility ISO CLI: default payload is included in source input validation' diff --git a/tests/build/test-stage-inventory.sh b/tests/build/test-stage-inventory.sh deleted file mode 100644 index 99b0286d..00000000 --- a/tests/build/test-stage-inventory.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -w=$(mktemp -d); trap 'rm -rf "$w"' EXIT HUP INT TERM -mkdir -p "$w/tree/empty"; chmod 1777 "$w/tree/empty" -printf x > "$w/tree/file with spaces" -ln -s 'file with spaces' "$w/tree/link" -sh "$src/tools/build/stage-inventory.sh" write "$w/tree" "$w/files" -sh "$src/tools/build/stage-inventory.sh" check "$w/tree" "$w/files" "$w/sig" -cp -p "$w/sig" "$w/before" -sh "$src/tools/build/stage-inventory.sh" check "$w/tree" "$w/files" "$w/sig" -[ "$(stat -c %Y "$w/sig")" = "$(stat -c %Y "$w/before")" ] -touch -d @1 "$w/sig" -chmod 755 "$w/tree/empty" -sh "$src/tools/build/stage-inventory.sh" check "$w/tree" "$w/files" "$w/sig" -[ "$(stat -c %Y "$w/sig")" -gt 1 ] -chmod 1777 "$w/tree/empty"; touch -d @1 "$w/sig" -rm "$w/tree/link" -sh "$src/tools/build/stage-inventory.sh" check "$w/tree" "$w/files" "$w/sig" -[ "$(stat -c %Y "$w/sig")" -gt 1 ] -printf 'stage inventories: no-op, directory modes and deleted symlink passed\n' diff --git a/tests/build/test-submodule-contract.sh b/tests/build/test-submodule-contract.sh deleted file mode 100644 index 883b76bb..00000000 --- a/tests/build/test-submodule-contract.sh +++ /dev/null @@ -1,204 +0,0 @@ -#!/bin/sh -# Contract tests for the ReliefNT submodule integration (separation phase 5): -# -# 1. an uninitialized kernel checkout fails `make kernel` with the adapter's -# actionable error naming RELIEFNT_DIR and kernel/reliefnt; -# 2. a dirty kernel/reliefnt submodule is allowed for development builds -# (`make kernel` still builds) but refuses the release target -# (`make rpr-pages` fails with the dirty message) -- design §8; -# 3. a gitlink mismatch (submodule checked out at a different published SHA) -# refuses release builds with a message naming both SHAs -- simulated in a -# scratch clone, never the real worktree; -# 4. old-SHA rollback: a scratch clone whose gitlink consistently pins an -# older published kernel SHA passes the release guard. Since 3430c76 the -# pinned pair (HEAD / HEAD~1) are two complete kernel snapshots, so cases -# 3-4 exercise a real dual-SHA pin. The matching rollback-BUILD (kernel -# product set from an older pin, in an isolated clone) lives in -# tests/build/test-submodule-rollback-build.sh; this contract test never -# builds (its fixture clone has no fetch cache). Boot-time kernel update -# rollback is covered by the §5.8 guest tests instead. -set -u -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -reliefnt=${RELIEFNT_DIR:-${NTCLKS_DIR:-$repo_root/kernel/reliefnt}} -gitlink_path=kernel/reliefnt - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-submodule.XXXXXX") || exit 1 -failures=0 -checks=0 - -cleanup() { - # Remove only the probe this run created; preserve pre-existing edits. - [ "${probe_created:-0}" = 0 ] || rm -f "$probe" - [ -n "${KEEP_WORK:-}" ] || rm -rf "$work" -} -trap cleanup EXIT INT TERM - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then shift; printf ' %s\n' "$@"; fi -} - -printf '=== (1) an uninitialized kernel checkout fails with an actionable error ===\n' -mkdir -p "$work/uninitialized" -if make -s O="$work/out" RELIEFNT_DIR="$work/uninitialized" kernel \ - >"$work/uninitialized.log" 2>&1; then - fail "make kernel refuses an uninitialized kernel checkout" 'make exited 0' -else - pass "make kernel refuses an uninitialized kernel checkout" -fi -if grep -q 'RELIEFNT_DIR' "$work/uninitialized.log" && - grep -q 'kernel/reliefnt' "$work/uninitialized.log"; then - pass "the uninitialized-checkout error gives ReliefNT setup guidance" -else - fail "the uninitialized-checkout error gives ReliefNT setup guidance" \ - "$(head -c 200 "$work/uninitialized.log")" -fi - -printf '\n=== (2) a dirty submodule builds (dev) but refuses release ===\n' -before_status=$(git -C "$reliefnt" status --porcelain) -probe=$reliefnt/P5_CONTRACT_DIRTY_PROBE -[ ! -e "$probe" ] || { echo 'probe already exists; refusing to overwrite' >&2; exit 1; } -: >"$probe" -probe_created=1 -if [ -n "$(git -C "$reliefnt" status --porcelain)" ]; then - pass "the probe file dirties the submodule" -else - fail "the probe file dirties the submodule" 'git status --porcelain stayed empty' -fi -if make -s -j"$(nproc)" O="$work/out" kernel >"$work/dirty-kernel.log" 2>&1; then - pass "make kernel still builds with a dirty submodule (dev contract)" -else - fail "make kernel still builds with a dirty submodule (dev contract)" \ - "see $work/dirty-kernel.log" "$(tail -n 5 "$work/dirty-kernel.log")" -fi -if make -s O="$work/out" rpr-pages >"$work/dirty-rpr.log" 2>&1; then - fail "make rpr-pages refuses a dirty submodule" 'make exited 0' -else - pass "make rpr-pages refuses a dirty submodule" -fi -if grep -q 'dirty' "$work/dirty-rpr.log"; then - pass "the refusal message says the submodule is dirty" -else - fail "the refusal message says the submodule is dirty" \ - "$(head -c 200 "$work/dirty-rpr.log")" -fi -rm -f "$probe" -probe_created=0 -if [ "$before_status" = "$(git -C "$reliefnt" status --porcelain)" ]; then - pass "the submodule status matches the pre-test state" -else - fail "the submodule status matches the pre-test state" \ - "$(git -C "$reliefnt" status --porcelain)" -fi - -printf '\n=== (3) a gitlink mismatch refuses release (scratch clone) ===\n' -clone=$work/clone -if git clone -q "$repo_root" "$clone" 2>"$work/clone.log"; then - pass "a scratch clone of the repository exists" -else - fail "a scratch clone of the repository exists" "$(cat "$work/clone.log")" - printf '%s: aborting\n' "$0" >&2 - exit 1 -fi -# Record a committed kernel gitlink in the fixture whatever the parent's own -# commit state is, then check out a different published SHA below it. When the -# clone's HEAD already records the same pin the re-registered index entry -# matches HEAD exactly and a commit would be empty: the pin is already the -# committed state the fixture needs, so only commit a real difference. -git -C "$clone" rm -r -q --cached kernel >/dev/null 2>&1 || true -rm -rf "$clone/kernel" -pin=$(git -C "$reliefnt" rev-parse HEAD) -other=$(git -C "$reliefnt" rev-parse HEAD~1 2>/dev/null || true) -git -C "$clone" -c user.name=fixture -c user.email=fixture@example.invalid \ - update-index --add --cacheinfo "160000,$pin,$gitlink_path" || exit 1 -if ! git -C "$clone" diff --cached --quiet; then - git -C "$clone" -c user.name=fixture -c user.email=fixture@example.invalid \ - commit -q -m 'fixture: record kernel gitlink' || exit 1 -fi -# Overlay the current source snapshot, including uncommitted Kbuild files and -# deletions. A clone of HEAD alone would test the retired build system instead. -python3 - "$repo_root" "$clone" <<'PYOVERLAY' -from pathlib import Path -import os, shutil, subprocess, sys -source, destination = map(Path, sys.argv[1:]) -paths = subprocess.check_output(["git", "-C", str(source), "ls-files", "--cached", "--others", "--exclude-standard", "-z"]).split(b"\0") -for raw in set(paths): - if not raw: - continue - relative = Path(os.fsdecode(raw)) - current, target = source / relative, destination / relative - if current.is_dir(): # gitlinks; dependencies are initialized separately - continue - target.parent.mkdir(parents=True, exist_ok=True) - if current.is_symlink(): - target.unlink(missing_ok=True) - target.symlink_to(os.readlink(current)) - elif current.is_file(): - shutil.copy2(current, target) - elif target.is_file() or target.is_symlink(): - target.unlink() -PYOVERLAY -if [ -z "${other:-}" ]; then - printf 'skip - gitlink mismatch case: the kernel repository has no older\n' - printf ' published SHA to check out under the fixture gitlink\n' -elif git clone -q --no-checkout "$repo_root/kernel/reliefnt" \ - "$clone/kernel/reliefnt" 2>"$work/sub-clone.log"; then - git -C "$clone/kernel/reliefnt" checkout -q --detach "$other" 2>/dev/null - # The release guard runs before dependency builds; no third-party source - # checkout is needed for its gitlink-mismatch fixture. - cp "$repo_root/.gitmodules" "$clone/.gitmodules" - if make -s -j1 -C "$clone" O="$work/clone-out" rpr-pages \ - >"$work/mismatch.log" 2>&1; then - fail "make rpr-pages refuses a gitlink mismatch" 'make exited 0' - else - pass "make rpr-pages refuses a gitlink mismatch" - fi - if grep -q "$pin" "$work/mismatch.log" && grep -q "$other" "$work/mismatch.log"; then - pass "the refusal message names both SHAs (gitlink=$pin HEAD=$other)" - else - fail "the refusal message names both SHAs" \ - "want: $pin and $other" "$(head -c 300 "$work/mismatch.log")" - fi -else - fail "the fixture submodule checks out a different published SHA" \ - "$(cat "$work/sub-clone.log" 2>/dev/null)" -fi - -printf '\n=== (4) old-SHA rollback: guard accepts a consistent older pin ===\n' -if [ -n "${other:-}" ] && { [ -d "$clone/kernel/reliefnt/.git" ] || [ -f "$clone/kernel/reliefnt/.git" ]; }; then - # Roll the fixture's gitlink back to the older SHA so gitlink and checkout - # agree again: the guard must NOT refuse this (rollback pinning works). - git -C "$clone" -c user.name=fixture -c user.email=fixture@example.invalid \ - update-index --cacheinfo "160000,$other,$gitlink_path" || exit 1 - if ! git -C "$clone" diff --cached --quiet; then - git -C "$clone" -c user.name=fixture -c user.email=fixture@example.invalid \ - commit -q -m 'fixture: roll kernel gitlink back' || exit 1 - fi - if sh "$repo_root/tools/build/reliefnt-release-guard.sh" "$clone" \ - "$clone/kernel/reliefnt" "$gitlink_path" >"$work/rollback.log" 2>&1; then - pass "a consistent older kernel pin passes the release guard" - else - fail "a consistent older kernel pin passes the release guard" \ - "$(head -c 300 "$work/rollback.log")" - fi - printf 'note - the full old-SHA rollback BUILD runs in\n' - printf ' tests/build/test-submodule-rollback-build.sh in its isolated\n' - printf ' build fixture (this clone has no fetch cache to build\n' - printf ' with). The guard/rollback pinning path is covered by the\n' - printf ' check above.\n' -else - printf 'skip - old-SHA rollback case: the kernel repository has no older\n' - printf ' published SHA to pin here; with one, the pinning check above\n' - printf ' and tests/build/test-submodule-rollback-build.sh cover it\n' -fi - -printf '\n%d checks, %d failures\n' "$checks" "$failures" -[ "$failures" -eq 0 ] diff --git a/tests/build/test-submodule-rollback-build.sh b/tests/build/test-submodule-rollback-build.sh deleted file mode 100755 index 6b189785..00000000 --- a/tests/build/test-submodule-rollback-build.sh +++ /dev/null @@ -1,152 +0,0 @@ -#!/bin/sh -# Build an older published kernel in a scratch clone; never change the shared -# submodule HEAD or overwrite local Kbuild work. Release mismatch checks use an -# isolated parent gitlink fixture. usage: test-submodule-rollback-build.sh [SHA] -set -u -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) || exit 1 -cd "$repo_root" || exit 1 -reliefnt=$repo_root/kernel/reliefnt -target=${1:-5cc9621} - -failures=0 -checks=0 -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then shift; printf ' %s\n' "$@"; fi -} - -if ! orig=$(git -C "$reliefnt" rev-parse HEAD 2>/dev/null); then - printf 'FAIL - kernel submodule not initialized: %s\n' "$reliefnt" >&2 - exit 1 -fi -if ! git -C "$reliefnt" rev-parse --verify -q "$target^{commit}" >/dev/null; then - printf 'usage error: %s is not a commit in %s\n' "$target" "$reliefnt" >&2 - exit 2 -fi -target=$(git -C "$reliefnt" rev-parse "$target^{commit}") -if [ "$target" = "$orig" ]; then - printf 'usage error: %s is the current checkout; pass a different SHA\n' "$target" >&2 - exit 2 -fi -gitlink=$(git -C "$repo_root" ls-tree HEAD -- kernel/reliefnt | awk '{print $3}') -if [ -z "$gitlink" ]; then - printf 'FAIL - no committed kernel/reliefnt gitlink in HEAD\n' >&2 - exit 1 -fi - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-rollback-build.XXXXXX") || exit 1 -original_status=$(git -C "$reliefnt" status --porcelain) -original_checkout=$reliefnt -cleanup() { [ -n "${KEEP_WORK:-}" ] || rm -rf "$work"; } -trap cleanup EXIT INT TERM -git clone -q --no-checkout "$reliefnt" "$work/rollback-kernel" || exit 1 -reliefnt=$work/rollback-kernel - -printf '=== (1) rollback build at %s (gitlink pins %s) ===\n' \ - "$(git -C "$reliefnt" rev-parse --short "$target")" \ - "$(git -C "$repo_root" rev-parse --short "$gitlink" 2>/dev/null || echo "$gitlink")" -if git -C "$reliefnt" checkout -q --detach "$target" 2>"$work/checkout.log"; then - pass "the kernel checkout is detached at the rollback SHA" -else - fail "the kernel checkout is detached at the rollback SHA" \ - "$(cat "$work/checkout.log")" - printf '%s: aborting\n' "$0" >&2 - exit 1 -fi -if git -C "$reliefnt" submodule update --init --recursive >"$work/sub-update.log" 2>&1; then - pass "nested kernel build dependencies are initialized at the rollback SHA" -else - fail "nested kernel build dependencies are initialized at the rollback SHA" \ - "see $work/sub-update.log" "$(tail -n 5 "$work/sub-update.log")" -fi -if ( - . "$repo_root/tools/build/upstream-make-environment.sh" - reliefos_upstream_make_environment - # The historical Autotools front end selects yacc-compatible output names. - # Native Kbuild exports YACC=bison, which changes y.tab.c to yconf.tab.c. - unset YACC LEX - # Historical pins still name the old Unifont mirror. Seed only the exact - # same artifact from GNU's archive; leave the historical lock untouched. - # Other versions continue to use their own fetch rules. The old fetch and - # build both verify the seeded bytes against the historical SHA256 again. - deps=${RELIEFOS_DEPS:-$work/out/host/bin/reliefos-deps} - if [ ! -x "$deps" ]; then - make -s O="$work/out" "$deps" || exit 1 - fi - rollback_lock=$reliefnt/configs/dependencies.lock.json - archive_lock=$repo_root/tests/fixtures/rollback/dependencies.lock.json - "$deps" --lock "$archive_lock" --root "$reliefnt" --check || exit 1 - pinned_digest=$("$deps" --lock "$rollback_lock" --id unifont --print sha256) || exit 1 - archive_digest=$("$deps" --lock "$archive_lock" --id unifont --print sha256) || exit 1 - if [ "$pinned_digest" = "$archive_digest" ]; then - pinned_name=$("$deps" --lock "$rollback_lock" --id unifont --print directory) || exit 1 - archive_name=$("$deps" --lock "$archive_lock" --id unifont --print directory) || exit 1 - [ "$pinned_name" = "$archive_name" ] || exit 1 - sh "$repo_root/tools/build/fetch.sh" --deps "$deps" --lock "$archive_lock" \ - --cache "$reliefnt/cache/downloads" --only unifont || exit 1 - fi - make -s -C "$reliefnt" O="$work/out/reliefnt" fetch -) >"$work/fetch.log" 2>&1; then - pass "locked kernel build dependencies are available at the rollback SHA" -else - fail "locked kernel build dependencies are available at the rollback SHA" \ - "see $work/fetch.log" "$(tail -n 5 "$work/fetch.log")" -fi -if make -s -j"$(nproc)" O="$work/out" RELIEFNT_DIR="$reliefnt" kernel >"$work/build.log" 2>&1; then - pass "make kernel builds at the rolled-back pin" -else - fail "make kernel builds at the rolled-back pin" \ - "see $work/build.log" "$(tail -n 5 "$work/build.log")" -fi -missing= -for product in system/kernel.sys system/kernel.debug; do - [ -f "$work/out/generated/$product" ] || missing="$missing $product" -done -if [ -z "$missing" ]; then - pass "all published kernel products exist at the rolled-back pin" -else - fail "all published kernel products exist at the rolled-back pin" \ - "missing:$missing" -fi -# The rolled-back pin may still install legacy loadable driver modules into the -# sub-make install directory; the current adapter publishes only the two kernel -# products and leaves those unpublished. -if find "$work/out/kernel-install" -name '*.drv' 2>/dev/null | grep -q .; then - printf 'note - rolled-back pin installs legacy .drv modules; they stay unpublished\n' -fi - -printf '\n=== (2) release guard rejects a rollback mismatch in isolated metadata ===\n' -parent=$work/guard-parent -git init -q "$parent" -mkdir -p "$parent/kernel" -git clone -q "$reliefnt" "$parent/kernel/reliefnt" -git -C "$parent" -c user.name=fixture -c user.email=fixture@example.invalid update-index --add --cacheinfo "160000,$gitlink,kernel/reliefnt" -git -C "$parent" -c user.name=fixture -c user.email=fixture@example.invalid commit -q -m 'fixture pin' -if sh "$repo_root/tools/build/reliefnt-release-guard.sh" "$parent" "$parent/kernel/reliefnt" kernel/reliefnt >"$work/rpr.log" 2>&1; then - fail 'release guard refuses the rollback mismatch' 'guard exited0' -elif grep -q "$gitlink" "$work/rpr.log" && grep -q "$target" "$work/rpr.log"; then - pass 'release guard refuses rollback and names both SHAs' -else - fail 'release guard names both SHAs' "$(cat "$work/rpr.log")" -fi -printf '\n=== (3) original checkout was never changed ===\n' -if [ "$(git -C "$original_checkout" rev-parse HEAD)" = "$orig" ] && [ "$(git -C "$original_checkout" status --porcelain)" = "$original_status" ]; then - pass 'original kernel HEAD and local edits preserved' -else - fail 'original kernel HEAD and local edits preserved' -fi - -printf '\n' -if [ "$failures" = 0 ]; then - printf 'test-submodule-rollback-build: all %s checks passed\n' "$checks" -else - printf 'test-submodule-rollback-build: %s of %s checks failed\n' \ - "$failures" "$checks" - exit 1 -fi diff --git a/tests/build/test-test-ownership.sh b/tests/build/test-test-ownership.sh deleted file mode 100644 index 34735609..00000000 --- a/tests/build/test-test-ownership.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# OS test ownership gate; standalone ReliefNT has its own independent gate. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -python3 "$src/tools/test_test_ownership.py" -exec python3 "$src/tools/test_test_delegation.py" diff --git a/tests/build/test-third-party.sh b/tests/build/test-third-party.sh deleted file mode 100755 index 3ec903de..00000000 --- a/tests/build/test-third-party.sh +++ /dev/null @@ -1,275 +0,0 @@ -#!/bin/sh -# Contract tests for the third-party layer: the lock file as the only source of -# provenance, the download cache as the only network product, and the musl -# sysroot as the first component built from them. -# -# What these checks refuse to do is as important as what they assert. A missing -# download must stop the build with the dependency named rather than go online, -# and a cached file that disagrees with the lock must never be quietly accepted. -set -u - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -deps=${RELIEFOS_DEPS:-${LEONOS_DEPS:?set by scripts/reliefos/Makefile.tests}} -lock=${RELIEFOS_LOCK:-${LEONOS_LOCK:?set by scripts/reliefos/Makefile.tests}} -fetch=./tools/build/fetch.sh - -failures=0 -checks=0 -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-third-party.XXXXXX") || exit 1 -test_out=$work/out -sysroot=$test_out/sysroot/musl -stamp=$sysroot/.leonos-musl.json -# Do not inherit the caller's O= or mutate the shared dependency lock. -cp "$lock" "$work/dependencies.lock.json" || exit 1 -lock=$work/dependencies.lock.json -make() { command make O="$test_out" RELIEFOS_LOCK="$lock" "$@"; } - -cleanup() { rm -rf "$work"; } -trap 'cleanup; exit 130' INT -trap 'cleanup; exit 143' TERM - -check() { - description=$1 - shift - checks=$((checks + 1)) - if "$@" >/dev/null 2>&1; then - printf 'ok - %s\n' "$description" - else - printf 'FAIL - %s\n' "$description" - failures=$((failures + 1)) - fi -} - -expect_failure() { - description=$1 - pattern=$2 - shift 2 - checks=$((checks + 1)) - output=$("$@" 2>&1) - status=$? - if [ "$status" -eq 0 ]; then - printf 'FAIL - %s (expected a non-zero exit)\n' "$description" - failures=$((failures + 1)) - elif ! printf '%s' "$output" | grep -qF -- "$pattern"; then - printf 'FAIL - %s\n' "$description" - printf ' expected the message to contain: %s\n' "$pattern" - printf ' actual: %s\n' "$output" - failures=$((failures + 1)) - else - printf 'ok - %s\n' "$description" - fi -} - -digest_of() { - sha256sum "$1" | cut -d' ' -f1 -} - -mkdir -p "$work" || exit 1 -[ -x "$deps" ] || { printf 'FAIL - %s is missing; run make tools\n' "$deps" >&2; exit 1; } -[ -f "$lock" ] || { printf 'FAIL - %s is missing\n' "$lock" >&2; exit 1; } - -# --- the lock file is the whole provenance story ------------------------------ -check 'the shipped lock file validates against the checked-out tree' \ - "$deps" --lock "$lock" --check --root "$repo_root" - -# The adapter must not carry its own pins: read them back out of the lock file -# and compare with what the built sysroot recorded. -locked_musl=$("$deps" --lock "$lock" --id musl --print commit 2>/dev/null) -locked_patches=$("$deps" --lock "$lock" --id musl --list-patches 2>/dev/null) - -# --- an unmet dependency stops the build without going online ----------------- -expect_failure 'a missing download is refused by name, not fetched on demand' \ - 'exfatprogs' \ - sh "$fetch" --deps "$deps" --lock "$lock" --cache "$work/empty" --verify-only --only exfatprogs - -# A cache that already holds the right bytes must not need the network at all. -# The fixture digest is computed from the fixture file, so this proves the -# accept path rather than a lucky collision. -printf 'fake libmd payload for the cache contract\n' >"$work/libmd-1.2.0.tar.xz" -fake_digest=$(digest_of "$work/libmd-1.2.0.tar.xz") -printf '{ "schema_version": 1, "dependencies": [ { "id": "libmd", "kind": "tarball",' \ - >"$work/lock.json" -printf '"version": "1.2.0", "url": "https://example.invalid/libmd-1.2.0.tar.xz",' >>"$work/lock.json" -printf '"sha256": "%s", "directory": "libmd-1.2.0",' "$fake_digest" >>"$work/lock.json" -printf '"license_in_source": "COPYING" } ] }\n' >>"$work/lock.json" - -mkdir -p "$work/good-cache" -cp "$work/libmd-1.2.0.tar.xz" "$work/good-cache/libmd-1.2.0.tar.xz" -check 'a cached file that matches the lock is accepted with no download' \ - sh "$fetch" --deps "$deps" --lock "$work/lock.json" --cache "$work/good-cache" \ - --verify-only - -mkdir -p "$work/bad-cache" -printf 'a different payload with the same name\n' >"$work/bad-cache/libmd-1.2.0.tar.xz" -expect_failure 'a cached file that disagrees with the lock is reported' \ - 'do not match the lock file' \ - sh "$fetch" --deps "$deps" --lock "$work/lock.json" --cache "$work/bad-cache" \ - --verify-only -checks=$((checks + 1)) -if [ -f "$work/bad-cache/libmd-1.2.0.tar.xz" ]; then - printf 'ok - verification leaves the disagreeing cache file for inspection\n' -else - printf 'FAIL - --verify-only deleted the file it was only asked to inspect\n' - failures=$((failures + 1)) -fi - -# An unreachable url fails the fetch; it never produces a file the build would -# then have to distrust. -expect_failure 'an unreachable url stops the fetch rather than inventing a file' \ - 'fetching libmd from' \ - sh "$fetch" --deps "$deps" --lock "$work/lock.json" --cache "$work/bad-url" \ - --only libmd -checks=$((checks + 1)) -if [ -f "$work/bad-url/libmd-1.2.0.tar.xz" ]; then - printf 'FAIL - a failed download published a cache file\n' - failures=$((failures + 1)) -else - printf 'ok - a failed download leaves nothing behind\n' -fi - -# --- the musl sysroot --------------------------------------------------------- -# Building musl takes about a minute; it is the component this phase is actually -# about, so the test builds it rather than asserting around a directory that may -# not exist. -# An existing stamp can predate updated adapters/tooling. Establish a current -# baseline before measuring the *second* build, even in a reused output tree. - printf 'note - bringing the musl sysroot up to date for these checks\n' - make -j"$(nproc)" "$stamp" >"$work/sysroot.log" 2>&1 || { - printf 'FAIL - the musl sysroot did not build; see the tail below\n' - tail -n 20 "$work/sysroot.log" - exit 1 - } -checks=$((checks + 1)) -if [ -f "$stamp" ]; then - printf 'ok - the sysroot stamp exists\n' -else - printf 'FAIL - %s is missing\n' "$stamp" - failures=$((failures + 1)) - cleanup - printf -- '---\n' - printf 'not ok - third-party contract: %d of %d checks failed\n' "$failures" "$checks" - exit 1 -fi - -# Every product the rest of the build links against has to be a real file *and* -# has to be declared to Make. Native parameter checks use FORCE, so `make -q` -# cannot prove that a file has a producer. An undeclared path is -# the one thing Make reports unambiguously, so that is what gets asserted here. -declared() { - LC_ALL=C make -n "$1" 2>&1 | grep -q 'No rule to make target' -} - -for artifact in lib/libc.so lib/libc.a lib/Scrt1.o lib/crt1.o lib/crti.o lib/crtn.o \ - lib/rcrt1.o lib/libmimalloc.so.3 lib/mimalloc.o lib/libssp_nonshared.a \ - include/stdio.h include/mimalloc.h \ - share/licenses/musl/COPYRIGHT share/licenses/mimalloc/LICENSE; do - checks=$((checks + 1)) - if declared "$sysroot/$artifact"; then - printf 'FAIL - %s is not declared as a build product\n' "$artifact" - failures=$((failures + 1)) - elif [ ! -f "$sysroot/$artifact" ]; then - printf 'FAIL - %s is declared but missing\n' "$artifact" - failures=$((failures + 1)) - else - printf 'ok - %s is a declared, present product\n' "$artifact" - fi -done - -stamp_musl=$(sed -n 's/.*"musl": "\([0-9a-f]*\)".*/\1/p' "$stamp" | head -n1) -checks=$((checks + 1)) -if [ "$stamp_musl" = "$locked_musl" ]; then - printf 'ok - the sysroot records the commit the lock file pins\n' -else - printf 'FAIL - sysroot records %s, the lock pins %s\n' "$stamp_musl" "$locked_musl" - failures=$((failures + 1)) -fi -stamp_patches=$(sed -n 's/.*"path": "\([^"]*\)", "sha256": "\([0-9a-f]*\)".*/\2\t\1/p' "$stamp") -checks=$((checks + 1)) -if [ "$stamp_patches" = "$locked_patches" ]; then - printf 'ok - the sysroot records every applied patch path and digest\n' -else - printf 'FAIL - sysroot patch records %s do not match the lock (%s)\n' \ - "$stamp_patches" "$locked_patches" - failures=$((failures + 1)) -fi - -# The stack-protection shim and the allocator must be linked for the target, -# not for the host: a stray x86-64 ELF with an interpreter is the failure mode. -checks=$((checks + 1)) -if head -c 16 "$sysroot/lib/libc.so" | od -An -tx1 | grep -qi '7f 45 4c 46'; then - printf 'ok - libc.so is an ELF object\n' -else - printf 'FAIL - %s is not ELF\n' "$sysroot/lib/libc.so" - failures=$((failures + 1)) -fi - -stamp_mtime_before=$(stat -c %Y "$stamp" 2>/dev/null) -make -j"$(nproc)" "$stamp" >"$work/noop.log" 2>&1 -stamp_mtime_after=$(stat -c %Y "$stamp" 2>/dev/null) -checks=$((checks + 1)) -if [ "$stamp_mtime_before" = "$stamp_mtime_after" ] \ - && ! grep -qE 'SYSROOT|RESET|PATCH' "$work/noop.log"; then - printf 'ok - repeating the sysroot build does no work\n' -else - printf 'FAIL - a repeat build did work\n' - tail -n 8 "$work/noop.log" - failures=$((failures + 1)) -fi - -# The native parameter record carries the lock digest, so an edit is noticed -# even when its mtime is kept. Build that target without rebuilding the sysroot; -# inspection mode must leave the output tree unchanged. -meta=$test_out/meta -sig=$meta/musl-sysroot.parameters -cp "$sig" "$work/signature-baseline" || exit 1 -cp -p "$lock" "$work/lock-backup.json" || exit 1 -refresh_signature() { - make "$sig" >"$work/signature.log" 2>&1 -} - -checks=$((checks + 1)) -if refresh_signature && cmp -s "$sig" "$work/signature-baseline"; then - printf 'ok - an unchanged lock keeps the sysroot signature identical\n' -else - printf 'FAIL - the signature moved with nothing changed\n' - cat "$work/signature.log" - failures=$((failures + 1)) -fi -sed 's/\"note": \"upstream musl binary/\"note": \"changed by test/' "$lock" >"$work/edited.json" -if cmp -s "$lock" "$work/edited.json"; then - printf 'FAIL - the fixture edit changed nothing; extend the test\n' - failures=$((failures + 1)) - checks=$((checks + 1)) -else - cp "$work/edited.json" "$lock" || exit 1 - touch -r "$work/lock-backup.json" "$lock" || exit 1 - checks=$((checks + 1)) - if refresh_signature && [ -s "$sig" ] && ! cmp -s "$sig" "$work/signature-baseline"; then - printf 'ok - an edited lock moves the sysroot signature\n' - else - printf 'FAIL - an edited lock left the sysroot signature unchanged\n' - cat "$work/signature.log" - failures=$((failures + 1)) - fi -fi -# Restore the lock contents and original mtime, then publish its original -# signature so subsequent checks cannot rebuild the sysroot for this fixture. -cp -p "$work/lock-backup.json" "$lock" || exit 1 -checks=$((checks + 1)) -if refresh_signature && cmp -s "$sig" "$work/signature-baseline"; then - printf 'ok - restoring the lock restores the signature\n' -else - printf 'FAIL - the signature did not return after the lock was restored\n' - cat "$work/signature.log" - failures=$((failures + 1)) -fi - -cleanup -printf -- '---\n' -if [ "$failures" -ne 0 ]; then - printf 'not ok - third-party contract: %d of %d checks failed\n' "$failures" "$checks" - exit 1 -fi -printf 'ok - third-party contract: %d checks passed\n' "$checks" diff --git a/tests/build/test-upstream-make-flags.sh b/tests/build/test-upstream-make-flags.sh deleted file mode 100644 index 8418db1c..00000000 --- a/tests/build/test-upstream-make-flags.sh +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -# Vendor Make adapters must restore upstream implicit rules without losing the -# parent Kbuild jobserver. -set -eu -repo=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir -p "$work/fixture" - -cat > "$work/fixture/Makefile" <<'MAKE' -BUILD_CC = cc -.PHONY: all jobserver -all: probe.o jobserver nested - -# This mirrors e2fsprogs' explicit suffix recipe. With inherited -r, GNU make -# clears its suffix list and cannot use this .c.o rule until upstream flags are -# restored. -.c.o: - @printf 'CC .c.o %s\n' "$<" - $(BUILD_CC) -c -o "$@" "$<" - -jobserver: - @case "$$MAKEFLAGS" in *--jobserver-auth=*|*--jobserver-fds=*) : ;; *) echo 'upstream make lost the parent jobserver' >&2; exit 1 ;; esac - -nested: - +$(MAKE) --no-print-directory -f Nested.mk nested-check MARKER=nested.jobserver -MAKE - -cat > "$work/fixture/Nested.mk" <<'MAKE' -.PHONY: nested-check -nested-check: - @case "$$MAKEFLAGS" in *--jobserver-auth=*|*--jobserver-fds=*) : ;; *) echo 'nested make lost the parent jobserver' >&2; exit 1 ;; esac - @printf 'jobserver preserved\n' > "$(MARKER)" -MAKE -cat > "$work/fixture/probe.c" <<'C' -int upstream_suffix_probe(void) { return 0; } -C - -cat > "$work/run-upstream.sh" <<'SH' -#!/bin/sh -set -eu -repo=$1 -fixture=$2 -. "$repo/tools/build/upstream-make-environment.sh" -reliefos_upstream_make_environment -case ${MAKEFLAGS%% *} in - *r*|*R*) echo 'upstream Make inherited native -r/-R flags' >&2; exit 1 ;; - *k*) ;; - *) echo 'upstream Make lost the caller keep-going flag' >&2; exit 1 ;; -esac -case $MAKEFLAGS in - *--jobserver-auth=*|*--jobserver-fds=*) ;; - *) echo 'upstream Make lost the caller jobserver flags' >&2; exit 1 ;; -esac -case ${MAKEFLAGS-} in - *PARENT_SETTING=*) echo 'upstream Make inherited a parent override' >&2; exit 1 ;; -esac -[ -z "${MAKEOVERRIDES-}" ] || { echo 'upstream Make inherited MAKEOVERRIDES' >&2; exit 1; } -exec make --no-print-directory -C "$fixture" all -SH -chmod +x "$work/run-upstream.sh" - -cat > "$work/outer.mk" <<'MAKE' -.PHONY: run -run: - +@sh "$(RUNNER)" "$(REPO)" "$(FIXTURE)" -MAKE - -env MAKEFLAGS= MAKEOVERRIDES= make --no-print-directory -k -rR -j4 \ - -f "$work/outer.mk" run REPO="$repo" RUNNER="$work/run-upstream.sh" \ - FIXTURE="$work/fixture" PARENT_SETTING=must-not-leak -test -s "$work/fixture/probe.o" -readelf -h "$work/fixture/probe.o" | grep -q 'Type:.*REL' -test "$(cat "$work/fixture/nested.jobserver")" = 'jobserver preserved' -printf 'upstream Make environment: real .c.o suffix build and recursive jobserver passed\n' diff --git a/tests/build/test-upstream-make-helper-dependencies.sh b/tests/build/test-upstream-make-helper-dependencies.sh deleted file mode 100644 index 2ce24622..00000000 --- a/tests/build/test-upstream-make-helper-dependencies.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -set -eu - -SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) -RELIEFOS_SRC=$(CDPATH= cd -- "$SCRIPT_DIR/../.." && pwd) -THIRD_PARTY=$RELIEFOS_SRC/scripts/reliefos/Makefile.third-party -PAM_MAKEFILE=$RELIEFOS_SRC/scripts/reliefos/Makefile.pam -UPSTREAM_MAKEFILE=$RELIEFOS_SRC/scripts/reliefos/Makefile.upstream -APK_DEPS_MAKEFILE=$RELIEFOS_SRC/scripts/reliefos/Makefile.apk-dependencies -UPSTREAM_MAKE_ENV=$RELIEFOS_SRC/tools/build/upstream-make-environment.sh -TMP_PARENT=${TMPDIR:-/tmp} -mkdir -p "$TMP_PARENT" -TEST_TMP=$(mktemp -d "$TMP_PARENT/reliefos-upstream-helper-deps.XXXXXX") -trap 'rm -rf "$TEST_TMP"' EXIT HUP INT TERM - -if ! grep -Fq 'RELIEFOS_UPSTREAM_MAKE_ENV := $(RELIEFOS_SRC)/tools/build/upstream-make-environment.sh' "$THIRD_PARTY"; then - printf 'not ok - producer helper variable does not name the shared upstream Make boundary\n' >&2 - exit 1 -fi - -check_normal_edge() { - makefile=$1 - needle=$2 - label=$3 - if ! awk -v needle="$needle" ' - index($0, needle) && index($0, "&:") { - count++ - split($0, side, "|") - if (index(side[1], "RELIEFOS_UPSTREAM_MAKE_ENV")) - found = 1 - } - END { exit !(count == 1 && found) } - ' "$makefile"; then - printf 'not ok - %s lacks the helper as a normal grouped-target prerequisite\n' "$label" >&2 - exit 1 - fi - printf 'ok - %s depends normally on upstream Make environment helper\n' "$label" -} - -check_normal_edge "$THIRD_PARTY" '$(MUSL_STAMP)' musl-sysroot -check_normal_edge "$THIRD_PARTY" '$(AUTH_STAMP)' auth-upstream -check_normal_edge "$PAM_MAKEFILE" '$(PAM_STAMP)' pam-stage -check_normal_edge "$UPSTREAM_MAKEFILE" 'upstream_$(1)_script' upstream-package -check_normal_edge "$APK_DEPS_MAKEFILE" '$(RELIEFOS_SRC)/tools/build/host-runtime-development.sh' host-runtime-development -check_normal_edge "$UPSTREAM_MAKEFILE" 'upstream_app_$(1)_inputs' upstream-app -check_normal_edge "$UPSTREAM_MAKEFILE" '$(BUSYBOX_ELF)' upstream-busybox - -# Keep this real helper copy isolated: changing it proves that a normal Make -# prerequisite invalidates a completed producer without touching repository or -# product-tree timestamps. -cp "$UPSTREAM_MAKE_ENV" "$TEST_TMP/upstream-make-environment.sh" -touch -d '2000-01-01 00:00:00 UTC' "$TEST_TMP/upstream-make-environment.sh" -cat >"$TEST_TMP/Makefile" <<'EOF' -stage: upstream-make-environment.sh - @touch -d '2001-01-01 00:00:00 UTC' "$@" -EOF -make --no-print-directory -s -C "$TEST_TMP" stage -if ! make --no-print-directory -q -C "$TEST_TMP" stage; then - printf 'not ok - unchanged helper made its producer stale\n' >&2 - exit 1 -fi -printf '\n# fixture helper edit\n' >>"$TEST_TMP/upstream-make-environment.sh" -touch -d '2002-01-01 00:00:00 UTC' "$TEST_TMP/upstream-make-environment.sh" -set +e -make --no-print-directory -q -C "$TEST_TMP" stage -status=$? -set -e -if [ "$status" -ne 1 ]; then - printf 'not ok - helper change did not invalidate producer (make -q exit %s)\n' "$status" >&2 - exit 1 -fi -printf 'ok - helper edit invalidates a completed producer\n' diff --git a/tests/build/test-userland-graph.sh b/tests/build/test-userland-graph.sh deleted file mode 100644 index fb1d27b0..00000000 --- a/tests/build/test-userland-graph.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu -root=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -exec python3 "$root/tools/test_userland_kbuild.py" diff --git a/tests/build/test-util-linux-development.sh b/tests/build/test-util-linux-development.sh deleted file mode 100644 index 1d86628f..00000000 --- a/tests/build/test-util-linux-development.sh +++ /dev/null @@ -1,152 +0,0 @@ -#!/bin/sh -# Offline adapter publication/integrity tests; no downloads or target execution. -set -eu -LC_ALL=C -export LC_ALL -repo=$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd -P) -mkdir -p "${TMPDIR:-$repo/out/tmp}" -work=$(mktemp -d "${TMPDIR:-$repo/out/tmp}/util-linux-development.XXXXXX") -trap 'rm -rf "$work"' 0 -trap 'exit 130' HUP INT TERM -export FIXTURE_WORK="$work" -mkdir -p "$work/source/resources/licenses" "$work/source/system/rootfs/etc/apk/keys" \ - "$work/bin" "$work/cache" "$work/good" "$work/digests" -cp "$repo/resources/licenses/util-linux-README.licensing" "$work/source/resources/licenses/" -printf 'fixture\n' >"$work/lock" -real_mv=$(command -v mv) -export FIXTURE_MV="$real_mv" -cat >"$work/bin/deps" <<'SH' -#!/bin/sh -set -eu -[ "$#" = 6 ] && [ "$1" = --lock ] && [ "$3" = --id ] && [ "$5" = --print ] -case $4 in alpine-*) name=${4#alpine-};; runtime-dev-*) name=${4#runtime-dev-};; *) exit 2;; esac -case $6 in - url) printf 'https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/%s-1.0-r0.apk\n' "$name";; - sha256) cat "$FIXTURE_WORK/digests/$name";; - version) printf '1.0-r0\n';; - *) exit 2;; -esac -SH -cat >"$work/bin/apk" <<'SH' -#!/bin/sh -set -eu -[ "$#" = 4 ] && [ "$1" = --keys-dir ] && [ "$3" = verify ] -printf 'verified\n' >>"$FIXTURE_WORK/verifications" -[ "${FAIL_VERIFY:-0}" != 1 ] -SH -cat >"$work/bin/mv" <<'SH' -#!/bin/sh -set -eu -if [ "$#" = 2 ] && [ "$2" = "${FAIL_DEST:-}" ] && [ -f "$FIXTURE_WORK/fail-once" ]; then - rm "$FIXTURE_WORK/fail-once" - exit 9 -fi -exec "$FIXTURE_MV" "$@" -SH -chmod +x "$work/bin/"* -python3 - "$work" <<'PY' -import io -from pathlib import Path -import sys -import tarfile - -work = Path(sys.argv[1]) -packages = {name: {} for name in ('libblkid', 'libuuid', 'libeconf', 'util-linux-dev', - 'util-linux-static', 'libeconf-dev', 'libeconf-static')} -for lib, package in (('blkid', 'util-linux'), ('uuid', 'util-linux'), ('econf', 'libeconf')): - packages['lib' + lib]['usr/lib/lib' + lib + '.so.1'] = b'fixture library\n' - packages[package + '-dev']['usr/lib/lib' + lib + '.so'] = ('link', 'lib' + lib + '.so.1') - packages[package + '-dev']['usr/lib/pkgconfig/' + ('libeconf' if lib == 'econf' else lib) + '.pc'] = ( - 'prefix=/usr\nexec_prefix=/usr\nlibdir=/usr/lib\nincludedir=/usr/include\n' - f'Name: {lib}\nDescription: fixture\nVersion: 1.0\n' - f'Libs: -L${{libdir}} -l{lib}\nCflags: -I${{includedir}}\n').encode() - packages[package + '-static']['usr/lib/lib' + lib + '.a'] = b'fixture archive\n' -packages['util-linux-dev'].update({ - 'usr/include/blkid/blkid.h': b'fixture header\n', - 'usr/include/blkid/nested/extra.h': b'fixture nested header\n', - 'usr/include/uuid/uuid.h': b'fixture header\n', - 'usr/include/linux/types.h': b'unrelated header\n', - 'usr/lib/libfdisk.a': b'unrelated static archive\n'}) -packages['libeconf-dev']['usr/include/libeconf.h'] = b'fixture header\n' -for name, payload in packages.items(): - payload['.PKGINFO'] = f'pkgname = {name}\npkgver = 1.0-r0\narch = x86_64\n'.encode() - with tarfile.open(work / 'good' / f'{name}-1.0-r0.apk', 'w:gz') as archive: - for path, data in payload.items(): - member = tarfile.TarInfo(path) - if isinstance(data, tuple): - member.type, member.linkname = tarfile.SYMTYPE, data[1] - archive.addfile(member) - else: - member.size = len(data) - archive.addfile(member, io.BytesIO(data)) -PY -reset_cache() { - cp "$work/good/"*.apk "$work/cache/" - for archive in "$work/cache/"*.apk; do - name=${archive##*/}; name=${name%-1.0-r0.apk} - sum=$(sha256sum "$archive") - printf '%s\n' "${sum%% *}" >"$work/digests/$name" - done - : >"$work/verifications" -} -output=$work/out\ with\ spaces/root -invoke() { - PATH="$work/bin:$PATH" sh "$repo/tools/build/util-linux-development.sh" \ - "$work/source" "$work/bin/deps" "$work/lock" "$work/cache" "$work/bin/apk" "$output" -} -snapshot() { - (cd "$output" && find . -printf '%y %p %l\n' && find . -type f -exec sha256sum {} \;) | sort -} -expect_failure() { - if invoke >"$work/failure.log" 2>&1; then echo 'accepted invalid input/publication' >&2; exit 1; fi - snapshot >"$work/after" - cmp "$work/before" "$work/after" - cmp "$work/before.files" "$output.files" - test -z "$(find "$(dirname "$output")" -maxdepth 1 -name '.root.new.*' -print)" -} -reset_cache -invoke -test "$(wc -l <"$work/verifications" | tr -d ' ')" = 7 -test -s "$output/usr/include/blkid/nested/extra.h" -test ! -e "$output/usr/include/linux/types.h" -test ! -e "$output/usr/lib/libfdisk.a" -test ! -e "$output/bin" -(cd "$output" && find . ! -type d -print | sed 's@^./@@' | sort) >"$work/expected.files" -cmp "$work/expected.files" "$output.files" -cp -a "$output" "$work/relocated" -for module in blkid uuid libeconf; do - libdir=$(PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR="$work/relocated/usr/lib/pkgconfig" pkg-config --variable=libdir "$module") - test "$(CDPATH='' cd -- "$libdir" && pwd -P)" = "$work/relocated/usr/lib" -done -snapshot >"$work/before" -cp "$output.files" "$work/before.files" -: >"$work/verifications" -printf 'corrupt\n' >>"$work/cache/libblkid-1.0-r0.apk" -expect_failure -test ! -s "$work/verifications" -reset_cache -FAIL_VERIFY=1 expect_failure -reset_cache -rm "$work/cache/libeconf-static-1.0-r0.apk" -expect_failure -reset_cache -for destination in "$output" "$output.files"; do - touch "$work/fail-once" - FAIL_DEST=$destination expect_failure -done -# A missing non-primary input must invalidate the inventory and be restored. -touch -t 200001010000 "$work/presence" -cp -p "$work/presence" "$work/old-presence" -rm "$output/usr/include/blkid/nested/extra.h" -sh "$repo/tools/build/upstream-verify.sh" "$output" "$output.files" "$work/presence" -test "$work/presence" -nt "$work/old-presence" -invoke -test -s "$output/usr/include/blkid/nested/extra.h" -snapshot >"$work/after" -cmp "$work/before" "$work/after" -for rejected in "$work/source/resources/licenses" "$work/cache" "$output/.."; do - if PATH="$work/bin:$PATH" sh "$repo/tools/build/util-linux-development.sh" \ - "$work/source" "$work/bin/deps" "$work/lock" "$work/cache" "$work/bin/apk" "$rejected" \ - >"$work/failure.log" 2>&1; then echo "accepted input overlap: $rejected" >&2; exit 1; fi -done -printf 'util-linux development: isolated inputs, relocation, signatures, rollback and inventory recovery passed\n' diff --git a/tests/build/test-version-abi.sh b/tests/build/test-version-abi.sh deleted file mode 100644 index c45bc4fd..00000000 --- a/tests/build/test-version-abi.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -w=$(mktemp -d); trap 'rm -rf "$w"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -O2 -Wall -Wextra -Werror -I"$src" "$src/tools/host/version/reliefos-version.c" "$src/tools/host/common/io.c" "$src/tools/host/common/buffer.c" -o "$w/version" -"$w/version" --version-file "$src/configs/build-version" --source-id abc123 --epoch 1700000000 --output "$w/default.h" -grep -Eq '^#define RELIEFOS_KERNEL_VERSION "[0-9]+\.[0-9]+\.[0-9]+"$' "$w/default.h" -grep -q '^#define RELIEFOS_SOURCE_ID "abc123"$' "$w/default.h" -if grep -q RELIEFOS_BUILD_NUMBER "$w/default.h"; then exit 1; fi -if "$w/version" --version-file "$src/configs/build-version" --build-id 42 --output "$w/id.h" 2>/dev/null; then exit 1; fi -printf 'version ABI: release version without build number, separate source identity passed\n' diff --git a/tests/build/test-x11-development-stage.sh b/tests/build/test-x11-development-stage.sh deleted file mode 100755 index 44256de9..00000000 --- a/tests/build/test-x11-development-stage.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/sh -set -eu - -root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -tmp_root=${TMPDIR:-$root/out/tmp} -mkdir -p "$tmp_root" -work=$(mktemp -d "$tmp_root/reliefos-x11-stage.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -cache=$work/cache -package_root=$work/packages -stage=$work/out/upstream/x11-development -mkdir -p "$cache" "$package_root" "$(dirname "$stage")" "$work/bin" - -cat >"$work/bin/deps" <<'DATA' -#!/bin/sh -set -eu -id= print= -while [ "$#" -gt 0 ]; do - case $1 in - --id) id=$2; shift ;; - --print) print=$2; shift ;; - esac - shift -done -case $print in - url) printf 'https://fixture.invalid/%s.apk\n' "$id" ;; - sha256) sha256sum "$FIXTURE_CACHE/$id.apk" | cut -d' ' -f1 ;; - *) exit 2 ;; -esac -DATA -cat >"$work/bin/apk" <<'DATA' -#!/bin/sh -set -eu -archive= -for argument do archive=$argument; done -id=${archive##*/} -id=${id%.apk} -if [ "${FAIL_VERIFY_ID:-}" = "$id" ]; then exit 1; fi -DATA -chmod +x "$work/bin/deps" "$work/bin/apk" - -make_package() { - package=$1 - shift - directory=$package_root/$package - mkdir -p "$directory" - for path do - mkdir -p "$directory/$(dirname "$path")" - printf '%s\n' "$path" >"$directory/$path" - done - (cd "$directory" && tar -czf "$cache/$package.apk" usr) -} - -make_package x11-dev-fltk \ - usr/include/FL/Fl.H usr/lib/libfltk.so usr/lib/libfltk.so.1.3 -make_package x11-dev-libx11 \ - usr/include/X11/Xlib.h usr/include/X11/X.h usr/lib/libX11.so -make_package x11-dev-xorgproto usr/include/X11/extensions/Xproto.h -make_package x11-dev-glib \ - usr/include/glib-2.0/glib.h usr/include/gio-unix-2.0/gio/gdesktopappinfo.h \ - usr/lib/glib-2.0/include/glibconfig.h \ - usr/lib/libgio-2.0.so usr/lib/libgobject-2.0.so usr/lib/libglib-2.0.so -make_package x11-dev-ncurses usr/include/ncurses.h usr/lib/libncursesw.so -make_package alpine-libfltk usr/lib/libfltk.so.1.3 -make_package alpine-libstdc++ usr/lib/libstdc++.so.6 -make_package alpine-libgcc usr/lib/libgcc_s.so.1 -make_package alpine-libx11 usr/lib/libX11.so.6.4.0 -make_package alpine-glib \ - usr/lib/libgio-2.0.so.0 usr/lib/libgobject-2.0.so.0 usr/lib/libglib-2.0.so.0 -make_package alpine-libncursesw usr/lib/libncursesw.so.6 -ln -sf libX11.so.6.4.0 "$package_root/x11-dev-libx11/usr/lib/libX11.so" -(cd "$package_root/x11-dev-libx11" && tar -czf "$cache/x11-dev-libx11.apk" usr) -ln -s libX11.so.6.4.0 "$package_root/alpine-libx11/usr/lib/libX11.so.6" -(cd "$package_root/alpine-libx11" && tar -czf "$cache/alpine-libx11.apk" usr) - -mkdir -p "$stage/usr/include/Xm" "$stage/usr/lib" -printf 'old Motif header\n' >"$stage/usr/include/Xm/Xm.h" -printf 'old Motif runtime\n' >"$stage/usr/lib/libXm.so" -printf 'old completion marker\n' >"$stage/.complete" -before=$(cd "$stage" && find . -type f -exec sha256sum {} \; | LC_ALL=C sort) - -if FIXTURE_CACHE=$cache FAIL_VERIFY_ID=alpine-libfltk \ - "$root/tools/build/x11-development.sh" "$root" "$work/bin/deps" \ - "$root/configs/dependencies.lock.json" "$cache" "$work/bin/apk" "$stage"; then - printf 'expected package verification failure\n' >&2 - exit 1 -fi -after=$(cd "$stage" && find . -type f -exec sha256sum {} \; | LC_ALL=C sort) -if [ "$before" != "$after" ]; then - printf 'failed FLTK staging changed the previous development tree\n' >&2 - exit 1 -fi - -FIXTURE_CACHE=$cache "$root/tools/build/x11-development.sh" "$root" \ - "$work/bin/deps" "$root/configs/dependencies.lock.json" "$cache" \ - "$work/bin/apk" "$stage" -test -f "$stage/.complete" -test -f "$stage/usr/include/FL/Fl.H" -test -f "$stage/usr/include/X11/Xlib.h" -test -f "$stage/usr/lib/libfltk.so.1.3" -test -f "$stage/usr/lib/libstdc++.so.6" -test -f "$stage/usr/lib/libgcc_s.so.1" -test -f "$stage/usr/lib/libX11.so" -test -f "$stage/usr/lib/libX11.so.6" -test -f "$stage/usr/include/glib-2.0/glib.h" -test -f "$stage/usr/include/gio-unix-2.0/gio/gdesktopappinfo.h" -test -f "$stage/usr/lib/glib-2.0/include/glibconfig.h" -for library in gio-2.0 gobject-2.0 glib-2.0; do - test -f "$stage/usr/lib/lib$library.so" - test -f "$stage/usr/lib/lib$library.so.0" -done -test -f "$stage/usr/include/ncurses.h" -test -f "$stage/usr/lib/libncursesw.so" -test -f "$stage/usr/lib/libncursesw.so.6" -test ! -e "$stage/usr/include/Xm/Xm.h" -test ! -e "$stage/usr/lib/libXm.so" -printf 'x11-development staging replacement tests passed\n' diff --git a/tests/build/test-x11-only.sh b/tests/build/test-x11-only.sh deleted file mode 100644 index 9b6a4911..00000000 --- a/tests/build/test-x11-only.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# The supported graphical product must not revive a retired window stack. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -for path in userland/apps/desktop userland/apps/windowd \ - userland/runtime/src/wind.c \ - userland/runtime/include/reliefos/windowd.h \ - userland/runtime/include/leonos/windowd.h \ - userland/runtime/include/reliefos/gui.h \ - userland/runtime/include/leonos/gui.h \ - userland/runtime/include/reliefos/mouse.h \ - userland/runtime/include/leonos/mouse.h \ - system/config/taskbar.cfg; do - if test -e "$src/$path"; then - echo "FAIL - removed implementation still exists: $path" >&2 - exit 1 - fi -done -# Legacy windowd clients must not return to the X11 product tree. -for app in apiapp browser bugtest cjktest devmgr downloadmgr drvmgr dynlinkerror \ - glxgears guitest hello helloworld httpget mp3play netctl notepad oshlp run \ - servicemgr settings sysconfdialog terminal uidemo; do - if test -e "$src/userland/apps/$app"; then - echo "FAIL - legacy windowd application source remains: $app" >&2 - exit 1 - fi - if grep -qx "id = \"$app\"" "$src/configs/components.toml"; then - echo "FAIL - removed application is still selectable: $app" >&2 - exit 1 - fi - if grep -qx "$app" "$src/configs/nls/DOMAINS" "$src/configs/app-icons.list"; then - echo "FAIL - removed application still has translation/icon metadata: $app" >&2 - exit 1 - fi -done -if test -e "$src/third_party/litehtml" || grep -q 'litehtml' "$src/.gitmodules" "$src/configs/dependencies.lock.json"; then - echo 'FAIL - removed browser dependency remains registered' >&2 - exit 1 -fi -if grep -Eq 'APP_(DESKTOP|WINDOWD)_' "$src/Kconfig.components"; then - echo 'FAIL - removed configuration is still present' >&2 - exit 1 -fi -if grep -Eq 'wind[.]o|ui[.]o|ui_surface[.]o' "$src/userland/runtime/src/Kbuild"; then - echo 'FAIL - removed runtime is still linked' >&2 - exit 1 -fi -for app in calc fileman taskmgr reliefapk reliefmail reliefword reliefexcel \ - reliefppt reliefmath reliefmathpp relieftodo reliefdiagram reliefcapture reliefplayer; do - grep -qx "id = \"$app\"" "$src/configs/components.toml" -done -printf 'ok - X11 product excludes legacy windowd applications and preserves X11 applications\n' diff --git a/tests/build/test-x11-terminal-launch.sh b/tests/build/test-x11-terminal-launch.sh index 672ad597..00700c7d 100644 --- a/tests/build/test-x11-terminal-launch.sh +++ b/tests/build/test-x11-terminal-launch.sh @@ -3,9 +3,11 @@ set -eu src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) work=$(mktemp -d) trap 'rm -rf "$work"' EXIT HUP INT TERM -${HOSTCC:-cc} -std=c11 -O1 -g -ffunction-sections -fdata-sections \ - -Wl,--gc-sections -I"$src/include" -I"$src/kernel/reliefnt/include/uapi" \ +${HOSTCC:-cc} -std=c11 -D_GNU_SOURCE -O1 -g -Wall -Wextra -Werror \ + -ffunction-sections -fdata-sections -Wl,--gc-sections,--wrap=posix_spawnp \ + -I"$src/include" -idirafter "$src/kernel/reliefnt/include/uapi" \ -idirafter "$src/userland/runtime/include" \ - "$src/tests/host/test_x11_terminal_launch.c" -o "$work/launch" -"$work/launch" -printf 'ok - terminal launch uses X11 st with literal argv and bounded argument count\n' + "$src/tests/host/test_x11_terminal_launch.c" "$src/userland/runtime/src/desktop_entry.c" \ + "$src/userland/runtime/src/launch.c" -o "$work/launch" +"$work/launch" "$src/packages/arch/reliefos-desktop/org.reliefos.St.desktop" +printf 'ok - terminal desktop entry launched with GIO, literal argv and bounded argument count\n' diff --git a/tests/build/test-xdg-homes.sh b/tests/build/test-xdg-homes.sh deleted file mode 100755 index 83383857..00000000 --- a/tests/build/test-xdg-homes.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-xdg-homes.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -input=$work/input -mkdir -p "$input/etc/skel" "$input/etc/reliefos" -cp "$src/system/rootfs/etc/sudoers" "$input/etc/sudoers" -printf '# shell configuration\n' > "$input/etc/skel/.bashrc" -for mode in disk live; do - root=$work/$mode - sh "$src/tools/build/standalone-root.sh" "$src" "$input" "$root" "$mode" C - for home in root home/test; do - [ "$(stat -c '%a' "$root/$home")" = 700 ] - cmp "$input/etc/skel/.bashrc" "$root/$home/.bashrc" - for retired in desktop documents downloads; do - [ ! -e "$root/$home/$retired" ] - done - done -done -[ ! -e "$input/home/test" ] -printf 'ok - disk/live account homes defer special directories to XDG initialization\n' diff --git a/tests/build/test-xorg-wrapper.sh b/tests/build/test-xorg-wrapper.sh index 36048289..eefe800d 100644 --- a/tests/build/test-xorg-wrapper.sh +++ b/tests/build/test-xorg-wrapper.sh @@ -56,7 +56,7 @@ run_wrapper() { shift rm -f "$w/argv" "$w/fbset-argv" "$w/expected" rm -rf "$w/run/X11" - sh "$w/wrapper" "$@" || fail 'wrapper exited unsuccessfully' + PATH="$w/usr/sbin:/usr/bin:/bin" sh "$w/wrapper" "$@" || fail 'wrapper exited unsuccessfully' cmp "$src/system/xorg/xorg.conf" "$w/etc/X11/xorg.conf" || fail 'system configuration changed' } expect_argv() { diff --git a/tests/fixtures/brand-abi/new_api.c b/tests/fixtures/brand-abi/new_api.c deleted file mode 100644 index 77a9fe69..00000000 --- a/tests/fixtures/brand-abi/new_api.c +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include -#include - -_Static_assert(RELIEFOS_API_PATH_MAX == 256U, "API path limit changed"); -_Static_assert(RELIEFOS_API_NAME_LEN == 64U, "API name limit changed"); -_Static_assert(sizeof(struct reliefos_api_info) == 2072U, - "API info size changed"); -_Static_assert(offsetof(struct reliefos_api_info, requires_admin) == 976U, - "API flags offset changed"); -_Static_assert(offsetof(struct reliefos_api_info, input_method_settings) == 1560U, - "API settings offset changed"); -_Static_assert(RELIEFOS_TAR_BLOCK_SIZE == 512U, "tar block changed"); - -static int (*volatile canonical_entry)(const char *, char *, uint32_t) = - reliefos_tar_list; - -int main(void) -{ - return canonical_entry == NULL; -} diff --git a/tests/fixtures/brand-abi/old-library.sha256 b/tests/fixtures/brand-abi/old-library.sha256 deleted file mode 100644 index 3a097ca1..00000000 --- a/tests/fixtures/brand-abi/old-library.sha256 +++ /dev/null @@ -1 +0,0 @@ -cf4325797d40e36ef9aa9030ebd2f862020ae11666887540422e18e1f26e1d30 out/x86_64/release/installer/lib/libleonos.so.2 diff --git a/tests/fixtures/brand-abi/old-sdk-exports.tsv b/tests/fixtures/brand-abi/old-sdk-exports.tsv deleted file mode 100644 index 39253135..00000000 --- a/tests/fixtures/brand-abi/old-sdk-exports.tsv +++ /dev/null @@ -1,412 +0,0 @@ -leonos_account_info T -leonos_account_legacy_check T -leonos_account_name_valid T -leonos_account_seed T -leonos_account_store_commit T -leonos_account_store_recover T -leonos_admin_elevate T -leonos_api_extract_files T -leonos_api_install T -leonos_api_install_with_progress T -leonos_api_parse_info T -leonos_app_registry_begin_refresh T -leonos_app_registry_count T -leonos_app_registry_default_for_extension T -leonos_app_registry_find T -leonos_app_registry_get T -leonos_app_registry_icon T -leonos_app_registry_is_loaded T -leonos_app_registry_is_loading T -leonos_app_registry_label T -leonos_app_registry_refresh T -leonos_app_registry_refresh_step T -leonos_app_registry_resolve T -leonos_appearance_get_state T -leonos_appearance_poll_request T -leonos_appearance_publish_state T -leonos_appearance_request_theme T -leonos_auth_create_user T -leonos_auth_current T -leonos_auth_list_users T -leonos_auth_logout T -leonos_auth_password_valid T -leonos_auth_request_power T -leonos_auth_status T -leonos_auth_update_user T -leonos_auth_users_alloc T -leonos_block_filesystem_name T -leonos_block_format T -leonos_block_get_info T -leonos_block_gpt_create T -leonos_block_gpt_delete T -leonos_block_gpt_initialize T -leonos_block_gpt_set_name T -leonos_block_gpt_set_type T -leonos_block_gpt_type_name T -leonos_block_list_disks T -leonos_block_list_partitions T -leonos_block_partition_path T -leonos_block_partition_uuid T -leonos_block_probe_filesystem T -leonos_cmdline_split T -leonos_device_list T -leonos_display_get_state T -leonos_display_poll_request T -leonos_display_publish_state T -leonos_display_request T -leonos_driver_control T -leonos_driver_list T -leonos_environment_build T -leonos_environment_free T -leonos_environment_set T -leonos_environment_unset T -leonos_fb_blit T -leonos_fb_capabilities T -leonos_fb_fill T -leonos_fb_info T -leonos_fb_pixel T -leonos_fb_rect T -leonos_fb_set_mode T -leonos_fb_text T -leonos_fileop T -leonos_fs_acl_get T -leonos_fs_acl_repair T -leonos_fs_acl_set T -leonos_fs_acl_take_ownership T -leonos_fstat_legacy T -leonos_gpu_create T -leonos_gpu_destroy T -leonos_gpu_diagnostics T -leonos_gpu_info T -leonos_gpu_render T -leonos_gui_connect T -leonos_gui_create_app_window T -leonos_gui_create_app_window_ex T -leonos_gui_create_window T -leonos_gui_cursor_request T -leonos_gui_destroy_app_window T -leonos_gui_fetch_window T -leonos_gui_mouse_visible T -leonos_gui_next_event T -leonos_gui_policy_connect T -leonos_gui_poll_app_event T -leonos_gui_poll_window T -leonos_gui_present_window T -leonos_gui_send_app_event T -leonos_gui_set_cursor_auto T -leonos_gui_set_cursor_position T -leonos_gui_set_cursor_style T -leonos_gui_set_mouse_visible T -leonos_gui_set_taskbar_visible T -leonos_gui_set_window_borderless T -leonos_gui_set_window_taskbar_visible T -leonos_gui_set_window_title T -leonos_gui_update_window T -leonos_gui_wait_app_event T -leonos_gui_wait_policy T -leonos_http_download T -leonos_http_get T -leonos_http_request T -leonos_http_resolve_url T -leonos_ini_get T -leonos_ini_key_count T -leonos_ini_key_name T -leonos_ini_load T -leonos_ini_load_strict T -leonos_ini_section_count T -leonos_ini_section_name T -leonos_inputm_get_state T -leonos_inputm_list T -leonos_inputm_note_gui_window T -leonos_inputm_notify_config T -leonos_inputm_observe_gui_key T -leonos_inputm_poll_gui_commit T -leonos_inputm_poll_result T -leonos_inputm_provider_next T -leonos_inputm_provider_result T -leonos_inputm_register T -leonos_inputm_set_active T -leonos_inputm_set_context T -leonos_inputm_set_current_context T -leonos_inputm_submit_key T -leonos_inputm_take_key T -leonos_inputm_take_text T -leonos_inputm_unregister T -leonos_ipc_accept T -leonos_ipc_bind_listen T -leonos_ipc_bind_listen_mode T -leonos_ipc_close T -leonos_ipc_connect T -leonos_ipc_flush T -leonos_ipc_peer_credentials T -leonos_ipc_recv T -leonos_ipc_recv_cred_fd T -leonos_ipc_recv_fd T -leonos_ipc_send T -leonos_ipc_send_fd T -leonos_ipc_set_nonblock T -leonos_launch_argv T -leonos_launch_assoc_apps T -leonos_launch_builtin_path T -leonos_launch_command_line T -leonos_launch_create_shortcut T -leonos_launch_create_shortcut_in_dir T -leonos_launch_default_shortcut_name T -leonos_launch_errno T -leonos_launch_error_kind T -leonos_launch_error_text T -leonos_launch_file_with_app T -leonos_launch_get_extension_association T -leonos_launch_get_extension_for_path T -leonos_launch_is_error T -leonos_launch_resolve_default_app_for_path T -leonos_launch_set_extension_association T -leonos_launch_use_session T -leonos_license_activate_offline T -leonos_license_activate_online T -leonos_license_default_server T -leonos_license_install_id T -leonos_license_required T -leonos_license_status T -leonos_list_dir T -leonos_locale_parse T -leonos_machine_identity T -leonos_mbedtls_time T -leonos_mouse_clear_regions T -leonos_mouse_get_position T -leonos_mouse_get_state T -leonos_mouse_hide T -leonos_mouse_is_visible T -leonos_mouse_set_auto T -leonos_mouse_set_position T -leonos_mouse_set_region T -leonos_mouse_set_style T -leonos_mouse_show T -leonos_net_config T -leonos_net_connections T -leonos_net_dhcp_renew T -leonos_net_dns_resolve T -leonos_net_get_dns_policy T -leonos_net_http_get T -leonos_net_ping T -leonos_net_set_dns_policy T -leonos_openrc_enabled T -leonos_openrc_poll T -leonos_openrc_run T -leonos_openrc_spawn T -leonos_pam_login T -leonos_pam_session_wait T -leonos_perf_info T -leonos_png_decode_file T -leonos_png_free T -leonos_read_password T -leonos_readdir T -leonos_rt_sigreturn_trampoline T -leonos_session_apply T -leonos_session_current T -leonos_session_initialize T -leonos_socket_close T -leonos_socket_connect T -leonos_socket_recv T -leonos_socket_send T -leonos_socket_tcp T -leonos_spawn_argv T -leonos_startup_dialog_get T -leonos_startup_dialog_resolve T -leonos_startup_launch_current_user T -leonos_startup_list T -leonos_startup_remove T -leonos_startup_request T -leonos_startup_request_status T -leonos_startup_set_enabled T -leonos_stat_legacy T -leonos_sudo_check T -leonos_sudo_kill T -leonos_sudo_run T -leonos_sudo_run_login T -leonos_sudo_run_stdout T -leonos_sudo_run_switch T -leonos_sudo_verify T -leonos_sudo_wait T -leonos_sudo_wait_command T -leonos_system_info T -leonos_system_reboot T -leonos_system_shutdown T -leonos_tar_create T -leonos_tar_extract_all T -leonos_tar_extract_all_with_progress T -leonos_tar_extract_file T -leonos_tar_finalize T -leonos_tar_list T -leonos_tar_pack_dir T -leonos_tar_pack_dir_append T -leonos_tar_pack_file T -leonos_tar_pack_file_append T -leonos_task_affinity_get T -leonos_task_affinity_set T -leonos_task_kill T -leonos_task_snapshot T -leonos_text_decode T -leonos_text_detect_encoding T -leonos_text_encode T -leonos_text_layout_utf8 T -leonos_time_info T -leonos_time_ntp_sync T -leonos_tls_http_exchange T -leonos_tls_http_stream T -leonos_ui_activity_bar T -leonos_ui_anim_ease_out T -leonos_ui_anim_lerp T -leonos_ui_anim_progress T -leonos_ui_bevel T -leonos_ui_bind T -leonos_ui_button T -leonos_ui_checkbox T -leonos_ui_clear_clip T -leonos_ui_codepoint T -leonos_ui_color T -leonos_ui_color_input T -leonos_ui_color_input_handle_key T -leonos_ui_color_input_handle_mouse T -leonos_ui_color_input_state_init T -leonos_ui_combobox T -leonos_ui_confirm_dialog T -leonos_ui_context_menu T -leonos_ui_context_menu_animated T -leonos_ui_context_menu_height T -leonos_ui_context_menu_hit T -leonos_ui_cursor_begin T -leonos_ui_cursor_clear T -leonos_ui_cursor_end T -leonos_ui_cursor_region T -leonos_ui_date_input T -leonos_ui_date_input_handle_key T -leonos_ui_date_input_handle_mouse T -leonos_ui_date_input_state_init T -leonos_ui_dialog T -leonos_ui_dropdown T -leonos_ui_dropdown_height T -leonos_ui_dropdown_hit T -leonos_ui_edit T -leonos_ui_edit_state_draw T -leonos_ui_edit_state_handle_key T -leonos_ui_edit_state_handle_mouse T -leonos_ui_edit_state_init T -leonos_ui_edit_state_sync T -leonos_ui_groupbox T -leonos_ui_hit T -leonos_ui_hscrollbar T -leonos_ui_hscrollbar_handle_mouse T -leonos_ui_input_dialog T -leonos_ui_inset T -leonos_ui_keyboard_modifiers T -leonos_ui_keycode_to_char T -leonos_ui_keycode_to_char_shift T -leonos_ui_layout_begin T -leonos_ui_layout_next T -leonos_ui_list_header T -leonos_ui_list_row T -leonos_ui_listview_header T -leonos_ui_listview_row T -leonos_ui_listview_state_handle_key T -leonos_ui_listview_state_handle_mouse T -leonos_ui_listview_state_handle_wheel T -leonos_ui_listview_state_init T -leonos_ui_listview_state_set_count T -leonos_ui_menu T -leonos_ui_menu_item T -leonos_ui_menu_popup T -leonos_ui_menu_popup_height T -leonos_ui_menu_popup_hit T -leonos_ui_menubar T -leonos_ui_menubar_draw T -leonos_ui_menubar_hit T -leonos_ui_menubar_item T -leonos_ui_menubar_item_rect T -leonos_ui_message_box T -leonos_ui_panel T -leonos_ui_pixel T -leonos_ui_present_for_pixels T -leonos_ui_progress T -leonos_ui_property_grid T -leonos_ui_radio T -leonos_ui_rect T -leonos_ui_scroll_view_frame T -leonos_ui_set_clip T -leonos_ui_set_font_fallback_path T -leonos_ui_set_font_path T -leonos_ui_set_keyboard_modifiers T -leonos_ui_show_confirm_dialog T -leonos_ui_show_input_dialog T -leonos_ui_show_message_box T -leonos_ui_show_open_dialog T -leonos_ui_show_open_dialog_with_options T -leonos_ui_show_open_with_dialog T -leonos_ui_show_password_dialog T -leonos_ui_show_save_dialog T -leonos_ui_show_save_dialog_ex T -leonos_ui_show_save_dialog_with_options T -leonos_ui_slider T -leonos_ui_slider_handle_mouse T -leonos_ui_split_pane_draw T -leonos_ui_split_pane_handle_mouse T -leonos_ui_split_pane_init T -leonos_ui_split_pane_layout T -leonos_ui_splitter T -leonos_ui_statusbar T -leonos_ui_stepper T -leonos_ui_stepper_handle_mouse T -leonos_ui_tab_body T -leonos_ui_tab_control T -leonos_ui_tab_control_handle_key T -leonos_ui_tab_control_handle_mouse T -leonos_ui_tab_control_handle_mouse_ex T -leonos_ui_tab_height T -leonos_ui_tab_state_init T -leonos_ui_taskbar T -leonos_ui_taskbar_button T -leonos_ui_text T -leonos_ui_text_area T -leonos_ui_text_area_line_count T -leonos_ui_text_area_state_draw T -leonos_ui_text_area_state_handle_key T -leonos_ui_text_area_state_handle_mouse T -leonos_ui_text_area_state_init T -leonos_ui_text_area_state_sync T -leonos_ui_text_clipped T -leonos_ui_text_field T -leonos_ui_text_fit_chars T -leonos_ui_text_resized_clipped T -leonos_ui_text_transparent T -leonos_ui_text_transparent_clipped T -leonos_ui_text_width T -leonos_ui_theme T -leonos_ui_theme_active_color_scheme T -leonos_ui_theme_color_scheme T -leonos_ui_theme_load_system T -leonos_ui_theme_scheme_accent T -leonos_ui_theme_set T -leonos_ui_theme_set_appearance T -leonos_ui_theme_set_color_scheme T -leonos_ui_toast_active T -leonos_ui_toast_clear T -leonos_ui_toast_draw T -leonos_ui_toast_show T -leonos_ui_toolbar T -leonos_ui_toolbar_button T -leonos_ui_tree T -leonos_ui_tree_hit T -leonos_ui_treeview T -leonos_ui_treeview_state_handle_key T -leonos_ui_treeview_state_handle_mouse T -leonos_ui_treeview_state_handle_wheel T -leonos_ui_treeview_state_init T -leonos_ui_treeview_state_set_viewport T -leonos_ui_treeview_state_sync T -leonos_ui_vscrollbar T -leonos_ui_vscrollbar_handle_mouse T -leonos_ui_vscrollbar_handle_wheel T -leonos_ui_window T -leonos_ui_window_button T -leonos_ui_window_ex T -leonos_uptime_ms T diff --git a/tests/fixtures/brand-abi/old-sdk/include/leonos/api.h b/tests/fixtures/brand-abi/old-sdk/include/leonos/api.h deleted file mode 100644 index 880e010e..00000000 --- a/tests/fixtures/brand-abi/old-sdk/include/leonos/api.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef LEONOS_API_H -#define LEONOS_API_H - -#include -#include - -#define LEONOS_API_PATH_MAX 256U -#define LEONOS_API_NAME_LEN 64U -#define LEONOS_API_VERSION_LEN 16U - -struct leonos_api_info { - char id[64]; - char name[LEONOS_API_NAME_LEN]; - char version[LEONOS_API_VERSION_LEN]; - char category[64]; - char main_exe[LEONOS_API_PATH_MAX]; - char default_path[LEONOS_API_PATH_MAX]; - char icon[LEONOS_API_PATH_MAX]; - uint32_t requires_admin; - uint32_t desktop_shortcut; - uint32_t terminal; - uint32_t hidden; - uint32_t open_with; - char commands[256]; - char extensions[256]; - uint32_t input_method; - char input_method_id[LEONOS_INPUTM_ID_LEN]; - char input_method_abbreviation[LEONOS_INPUTM_ABBREV_LEN]; - uint32_t input_method_startup_mode; - uint32_t input_method_launch_after_install; - char input_method_settings[LEONOS_API_PATH_MAX]; - char input_method_settings_app[LEONOS_API_PATH_MAX]; -}; - -typedef int (*leonos_api_progress_fn)(uint32_t processed, uint32_t total, - void *context); - -int leonos_api_parse_info(const char *api_path, struct leonos_api_info *info); -int leonos_api_extract_files(const char *api_path, const char *dest_dir); -int leonos_api_install(const char *api_path, const char *dest_dir, - uint32_t create_shortcut); -int leonos_api_install_with_progress(const char *api_path, - const char *dest_dir, - uint32_t create_shortcut, - leonos_api_progress_fn progress, - void *context); - -#endif diff --git a/tests/fixtures/brand-abi/old-sdk/include/leonos/tar.h b/tests/fixtures/brand-abi/old-sdk/include/leonos/tar.h deleted file mode 100644 index 6ffbd1fb..00000000 --- a/tests/fixtures/brand-abi/old-sdk/include/leonos/tar.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef LEONOS_TAR_H -#define LEONOS_TAR_H - -#include - -#define LEONOS_TAR_BLOCK_SIZE 512U -#define LEONOS_TAR_NAME_LEN 100U -#define LEONOS_TAR_MAX_FILE_SIZE (32U * 1024U * 1024U) - -#define LEONOS_TAR_TYPE_FILE '0' -#define LEONOS_TAR_TYPE_DIR '5' - -typedef int (*leonos_tar_progress_fn)(uint32_t processed, uint32_t total, - void *context); - -int leonos_tar_create(const char *tar_path); -int leonos_tar_pack_file(const char *tar_path, const char *file_path, - const char *stored_name); -int leonos_tar_pack_file_append(int tar_fd, const char *file_path, - const char *stored_name); -int leonos_tar_finalize(int tar_fd); -int leonos_tar_pack_dir(const char *tar_path, const char *dir_path); -int leonos_tar_pack_dir_append(int tar_fd, const char *dir_path); -int leonos_tar_extract_file(const char *tar_path, const char *stored_name, - const char *dest_path); -int leonos_tar_extract_all(const char *tar_path, const char *dest_dir); -int leonos_tar_extract_all_with_progress(const char *tar_path, - const char *dest_dir, - leonos_tar_progress_fn progress, - void *context); -int leonos_tar_list(const char *tar_path, char *output, uint32_t capacity); - -#endif diff --git a/tests/fixtures/brand-abi/old-shared-symbols.tsv b/tests/fixtures/brand-abi/old-shared-symbols.tsv deleted file mode 100644 index d82e5e8d..00000000 --- a/tests/fixtures/brand-abi/old-shared-symbols.tsv +++ /dev/null @@ -1,1462 +0,0 @@ -COLS D -LINES D -_dist_code R -_length_code R -_tr_align T -_tr_flush_bits T -_tr_flush_block T -_tr_init T -_tr_stored_block T -_tr_tally T -adler32 T -adler32_combine T -adler32_combine64 T -adler32_z T -beep T -compress T -compress2 T -compress2_z T -compressBound T -compressBound_z T -compress_z T -crc32 T -crc32_combine T -crc32_combine64 T -crc32_combine_gen T -crc32_combine_gen64 T -crc32_combine_op T -crc32_z T -curs_set T -deflate T -deflateBound T -deflateBound_z T -deflateCopy T -deflateEnd T -deflateGetDictionary T -deflateInit2_ T -deflateInit_ T -deflateParams T -deflatePending T -deflatePrime T -deflateReset T -deflateResetKeep T -deflateSetDictionary T -deflateSetHeader T -deflateTune T -deflateUsed T -deflate_copyright R -delwin T -doupdate T -endwin T -get_crc_table T -getch T -gpu_sdk_create T -gpu_sdk_destroy T -gpu_sdk_diagnostics T -gpu_sdk_info T -gpu_sdk_render T -halfdelay T -inflate T -inflateBack T -inflateBackEnd T -inflateBackInit_ T -inflateCodesUsed T -inflateCopy T -inflateEnd T -inflateGetDictionary T -inflateGetHeader T -inflateInit2_ T -inflateInit_ T -inflateMark T -inflatePrime T -inflateReset T -inflateReset2 T -inflateResetKeep T -inflateSetDictionary T -inflateSync T -inflateSyncPoint T -inflateUndermine T -inflateValidate T -inflate_copyright R -inflate_fast T -inflate_fixed T -inflate_table T -init_pair T -initscr T -isendwin T -key_defined T -keypad T -leaveok T -leonos_account_info T -leonos_account_legacy_check T -leonos_account_name_valid T -leonos_account_seed T -leonos_account_store_commit T -leonos_account_store_recover T -leonos_admin_elevate T -leonos_api_extract_files T -leonos_api_install T -leonos_api_install_with_progress T -leonos_api_parse_info T -leonos_app_registry_begin_refresh T -leonos_app_registry_count T -leonos_app_registry_default_for_extension T -leonos_app_registry_find T -leonos_app_registry_get T -leonos_app_registry_icon T -leonos_app_registry_is_loaded T -leonos_app_registry_is_loading T -leonos_app_registry_label T -leonos_app_registry_refresh T -leonos_app_registry_refresh_step T -leonos_app_registry_resolve T -leonos_appearance_get_state T -leonos_appearance_poll_request T -leonos_appearance_publish_state T -leonos_appearance_request_theme T -leonos_auth_create_user T -leonos_auth_current T -leonos_auth_list_users T -leonos_auth_logout T -leonos_auth_password_valid T -leonos_auth_request_power T -leonos_auth_status T -leonos_auth_update_user T -leonos_auth_users_alloc T -leonos_block_filesystem_name T -leonos_block_format T -leonos_block_get_info T -leonos_block_gpt_create T -leonos_block_gpt_delete T -leonos_block_gpt_initialize T -leonos_block_gpt_set_name T -leonos_block_gpt_set_type T -leonos_block_gpt_type_name T -leonos_block_list_disks T -leonos_block_list_partitions T -leonos_block_partition_path T -leonos_block_partition_uuid T -leonos_block_probe_filesystem T -leonos_cmdline_split T -leonos_device_list T -leonos_display_get_state T -leonos_display_poll_request T -leonos_display_publish_state T -leonos_display_request T -leonos_driver_control T -leonos_driver_list T -leonos_environment_build T -leonos_environment_free T -leonos_environment_set T -leonos_environment_unset T -leonos_fb_blit T -leonos_fb_capabilities T -leonos_fb_fill T -leonos_fb_info T -leonos_fb_pixel T -leonos_fb_rect T -leonos_fb_set_mode T -leonos_fb_text T -leonos_fileop T -leonos_fs_acl_get T -leonos_fs_acl_repair T -leonos_fs_acl_set T -leonos_fs_acl_take_ownership T -leonos_fstat_legacy T -leonos_gpu_create T -leonos_gpu_destroy T -leonos_gpu_diagnostics T -leonos_gpu_info T -leonos_gpu_render T -leonos_gui_connect T -leonos_gui_create_app_window T -leonos_gui_create_app_window_ex T -leonos_gui_create_window T -leonos_gui_cursor_request T -leonos_gui_destroy_app_window T -leonos_gui_fetch_window T -leonos_gui_mouse_visible T -leonos_gui_next_event T -leonos_gui_policy_connect T -leonos_gui_poll_app_event T -leonos_gui_poll_window T -leonos_gui_present_window T -leonos_gui_send_app_event T -leonos_gui_set_cursor_auto T -leonos_gui_set_cursor_position T -leonos_gui_set_cursor_style T -leonos_gui_set_mouse_visible T -leonos_gui_set_taskbar_visible T -leonos_gui_set_window_borderless T -leonos_gui_set_window_taskbar_visible T -leonos_gui_set_window_title T -leonos_gui_update_window T -leonos_gui_wait_app_event T -leonos_gui_wait_policy T -leonos_http_download T -leonos_http_get T -leonos_http_request T -leonos_http_resolve_url T -leonos_ini_get T -leonos_ini_key_count T -leonos_ini_key_name T -leonos_ini_load T -leonos_ini_load_strict T -leonos_ini_section_count T -leonos_ini_section_name T -leonos_inputm_get_state T -leonos_inputm_list T -leonos_inputm_note_gui_window T -leonos_inputm_notify_config T -leonos_inputm_observe_gui_key T -leonos_inputm_poll_gui_commit T -leonos_inputm_poll_result T -leonos_inputm_provider_next T -leonos_inputm_provider_result T -leonos_inputm_register T -leonos_inputm_set_active T -leonos_inputm_set_context T -leonos_inputm_set_current_context T -leonos_inputm_submit_key T -leonos_inputm_take_key T -leonos_inputm_take_text T -leonos_inputm_unregister T -leonos_ipc_accept T -leonos_ipc_bind_listen T -leonos_ipc_bind_listen_mode T -leonos_ipc_close T -leonos_ipc_connect T -leonos_ipc_flush T -leonos_ipc_peer_credentials T -leonos_ipc_recv T -leonos_ipc_recv_cred_fd T -leonos_ipc_recv_fd T -leonos_ipc_send T -leonos_ipc_send_fd T -leonos_ipc_set_nonblock T -leonos_launch_argv T -leonos_launch_assoc_apps T -leonos_launch_builtin_path T -leonos_launch_command_line T -leonos_launch_create_shortcut T -leonos_launch_create_shortcut_in_dir T -leonos_launch_default_shortcut_name T -leonos_launch_errno T -leonos_launch_error_kind T -leonos_launch_error_text T -leonos_launch_file_with_app T -leonos_launch_get_extension_association T -leonos_launch_get_extension_for_path T -leonos_launch_is_error T -leonos_launch_resolve_default_app_for_path T -leonos_launch_set_extension_association T -leonos_launch_use_session T -leonos_license_activate_offline T -leonos_license_activate_online T -leonos_license_default_server T -leonos_license_install_id T -leonos_license_required T -leonos_license_status T -leonos_list_dir T -leonos_locale_parse T -leonos_machine_identity T -leonos_mbedtls_time T -leonos_mouse_clear_regions T -leonos_mouse_get_position T -leonos_mouse_get_state T -leonos_mouse_hide T -leonos_mouse_is_visible T -leonos_mouse_set_auto T -leonos_mouse_set_position T -leonos_mouse_set_region T -leonos_mouse_set_style T -leonos_mouse_show T -leonos_net_config T -leonos_net_connections T -leonos_net_dhcp_renew T -leonos_net_dns_resolve T -leonos_net_get_dns_policy T -leonos_net_http_get T -leonos_net_ping T -leonos_net_set_dns_policy T -leonos_openrc_enabled T -leonos_openrc_poll T -leonos_openrc_run T -leonos_openrc_spawn T -leonos_pam_login T -leonos_pam_session_wait T -leonos_perf_info T -leonos_png_decode_file T -leonos_png_free T -leonos_read_password T -leonos_readdir T -leonos_rt_sigreturn_trampoline T -leonos_session_apply T -leonos_session_current T -leonos_session_initialize T -leonos_socket_close T -leonos_socket_connect T -leonos_socket_recv T -leonos_socket_send T -leonos_socket_tcp T -leonos_spawn_argv T -leonos_startup_dialog_get T -leonos_startup_dialog_resolve T -leonos_startup_launch_current_user T -leonos_startup_list T -leonos_startup_remove T -leonos_startup_request T -leonos_startup_request_status T -leonos_startup_set_enabled T -leonos_stat_legacy T -leonos_sudo_check T -leonos_sudo_kill T -leonos_sudo_run T -leonos_sudo_run_login T -leonos_sudo_run_stdout T -leonos_sudo_run_switch T -leonos_sudo_verify T -leonos_sudo_wait T -leonos_sudo_wait_command T -leonos_system_info T -leonos_system_reboot T -leonos_system_shutdown T -leonos_tar_create T -leonos_tar_extract_all T -leonos_tar_extract_all_with_progress T -leonos_tar_extract_file T -leonos_tar_finalize T -leonos_tar_list T -leonos_tar_pack_dir T -leonos_tar_pack_dir_append T -leonos_tar_pack_file T -leonos_tar_pack_file_append T -leonos_task_affinity_get T -leonos_task_affinity_set T -leonos_task_kill T -leonos_task_snapshot T -leonos_text_decode T -leonos_text_detect_encoding T -leonos_text_encode T -leonos_text_layout_utf8 T -leonos_time_info T -leonos_time_ntp_sync T -leonos_tls_http_exchange T -leonos_tls_http_stream T -leonos_ui_activity_bar T -leonos_ui_anim_ease_out T -leonos_ui_anim_lerp T -leonos_ui_anim_progress T -leonos_ui_bevel T -leonos_ui_bind T -leonos_ui_button T -leonos_ui_checkbox T -leonos_ui_clear_clip T -leonos_ui_codepoint T -leonos_ui_color T -leonos_ui_color_input T -leonos_ui_color_input_handle_key T -leonos_ui_color_input_handle_mouse T -leonos_ui_color_input_state_init T -leonos_ui_combobox T -leonos_ui_confirm_dialog T -leonos_ui_context_menu T -leonos_ui_context_menu_animated T -leonos_ui_context_menu_height T -leonos_ui_context_menu_hit T -leonos_ui_cursor_begin T -leonos_ui_cursor_clear T -leonos_ui_cursor_end T -leonos_ui_cursor_region T -leonos_ui_date_input T -leonos_ui_date_input_handle_key T -leonos_ui_date_input_handle_mouse T -leonos_ui_date_input_state_init T -leonos_ui_dialog T -leonos_ui_dropdown T -leonos_ui_dropdown_height T -leonos_ui_dropdown_hit T -leonos_ui_edit T -leonos_ui_edit_state_draw T -leonos_ui_edit_state_handle_key T -leonos_ui_edit_state_handle_mouse T -leonos_ui_edit_state_init T -leonos_ui_edit_state_sync T -leonos_ui_groupbox T -leonos_ui_hit T -leonos_ui_hscrollbar T -leonos_ui_hscrollbar_handle_mouse T -leonos_ui_input_dialog T -leonos_ui_inset T -leonos_ui_keyboard_modifiers T -leonos_ui_keycode_to_char T -leonos_ui_keycode_to_char_shift T -leonos_ui_layout_begin T -leonos_ui_layout_next T -leonos_ui_list_header T -leonos_ui_list_row T -leonos_ui_listview_header T -leonos_ui_listview_row T -leonos_ui_listview_state_handle_key T -leonos_ui_listview_state_handle_mouse T -leonos_ui_listview_state_handle_wheel T -leonos_ui_listview_state_init T -leonos_ui_listview_state_set_count T -leonos_ui_menu T -leonos_ui_menu_item T -leonos_ui_menu_popup T -leonos_ui_menu_popup_height T -leonos_ui_menu_popup_hit T -leonos_ui_menubar T -leonos_ui_menubar_draw T -leonos_ui_menubar_hit T -leonos_ui_menubar_item T -leonos_ui_menubar_item_rect T -leonos_ui_message_box T -leonos_ui_panel T -leonos_ui_pixel T -leonos_ui_present_for_pixels T -leonos_ui_progress T -leonos_ui_property_grid T -leonos_ui_radio T -leonos_ui_rect T -leonos_ui_scroll_view_frame T -leonos_ui_set_clip T -leonos_ui_set_font_fallback_path T -leonos_ui_set_font_path T -leonos_ui_set_keyboard_modifiers T -leonos_ui_show_confirm_dialog T -leonos_ui_show_input_dialog T -leonos_ui_show_message_box T -leonos_ui_show_open_dialog T -leonos_ui_show_open_dialog_with_options T -leonos_ui_show_open_with_dialog T -leonos_ui_show_password_dialog T -leonos_ui_show_save_dialog T -leonos_ui_show_save_dialog_ex T -leonos_ui_show_save_dialog_with_options T -leonos_ui_slider T -leonos_ui_slider_handle_mouse T -leonos_ui_split_pane_draw T -leonos_ui_split_pane_handle_mouse T -leonos_ui_split_pane_init T -leonos_ui_split_pane_layout T -leonos_ui_splitter T -leonos_ui_statusbar T -leonos_ui_stepper T -leonos_ui_stepper_handle_mouse T -leonos_ui_tab_body T -leonos_ui_tab_control T -leonos_ui_tab_control_handle_key T -leonos_ui_tab_control_handle_mouse T -leonos_ui_tab_control_handle_mouse_ex T -leonos_ui_tab_height T -leonos_ui_tab_state_init T -leonos_ui_taskbar T -leonos_ui_taskbar_button T -leonos_ui_text T -leonos_ui_text_area T -leonos_ui_text_area_line_count T -leonos_ui_text_area_state_draw T -leonos_ui_text_area_state_handle_key T -leonos_ui_text_area_state_handle_mouse T -leonos_ui_text_area_state_init T -leonos_ui_text_area_state_sync T -leonos_ui_text_clipped T -leonos_ui_text_field T -leonos_ui_text_fit_chars T -leonos_ui_text_resized_clipped T -leonos_ui_text_transparent T -leonos_ui_text_transparent_clipped T -leonos_ui_text_width T -leonos_ui_theme T -leonos_ui_theme_active_color_scheme T -leonos_ui_theme_color_scheme T -leonos_ui_theme_load_system T -leonos_ui_theme_scheme_accent T -leonos_ui_theme_set T -leonos_ui_theme_set_appearance T -leonos_ui_theme_set_color_scheme T -leonos_ui_toast_active T -leonos_ui_toast_clear T -leonos_ui_toast_draw T -leonos_ui_toast_show T -leonos_ui_toolbar T -leonos_ui_toolbar_button T -leonos_ui_tree T -leonos_ui_tree_hit T -leonos_ui_treeview T -leonos_ui_treeview_state_handle_key T -leonos_ui_treeview_state_handle_mouse T -leonos_ui_treeview_state_handle_wheel T -leonos_ui_treeview_state_init T -leonos_ui_treeview_state_set_viewport T -leonos_ui_treeview_state_sync T -leonos_ui_vscrollbar T -leonos_ui_vscrollbar_handle_mouse T -leonos_ui_vscrollbar_handle_wheel T -leonos_ui_window T -leonos_ui_window_button T -leonos_ui_window_ex T -leonos_uptime_ms T -mbedtls_aes_crypt_cbc T -mbedtls_aes_crypt_ctr T -mbedtls_aes_crypt_ecb T -mbedtls_aes_decrypt T -mbedtls_aes_encrypt T -mbedtls_aes_free T -mbedtls_aes_init T -mbedtls_aes_setkey_dec T -mbedtls_aes_setkey_enc T -mbedtls_asn1_find_named_data T -mbedtls_asn1_free_named_data T -mbedtls_asn1_free_named_data_list T -mbedtls_asn1_get_alg T -mbedtls_asn1_get_alg_null T -mbedtls_asn1_get_bitstring T -mbedtls_asn1_get_bitstring_null T -mbedtls_asn1_get_bool T -mbedtls_asn1_get_enum T -mbedtls_asn1_get_int T -mbedtls_asn1_get_len T -mbedtls_asn1_get_mpi T -mbedtls_asn1_get_sequence_of T -mbedtls_asn1_get_tag T -mbedtls_asn1_sequence_free T -mbedtls_asn1_store_named_data T -mbedtls_asn1_traverse_sequence_of T -mbedtls_asn1_write_algorithm_identifier T -mbedtls_asn1_write_algorithm_identifier_ext T -mbedtls_asn1_write_bitstring T -mbedtls_asn1_write_bool T -mbedtls_asn1_write_enum T -mbedtls_asn1_write_ia5_string T -mbedtls_asn1_write_int T -mbedtls_asn1_write_len T -mbedtls_asn1_write_mpi T -mbedtls_asn1_write_named_bitstring T -mbedtls_asn1_write_null T -mbedtls_asn1_write_octet_string T -mbedtls_asn1_write_oid T -mbedtls_asn1_write_printable_string T -mbedtls_asn1_write_raw_buffer T -mbedtls_asn1_write_tag T -mbedtls_asn1_write_tagged_string T -mbedtls_asn1_write_utf8_string T -mbedtls_base64_decode T -mbedtls_base64_encode T -mbedtls_cipher_auth_decrypt T -mbedtls_cipher_auth_decrypt_ext T -mbedtls_cipher_auth_encrypt T -mbedtls_cipher_auth_encrypt_ext T -mbedtls_cipher_check_tag T -mbedtls_cipher_crypt T -mbedtls_cipher_definitions D -mbedtls_cipher_finish T -mbedtls_cipher_free T -mbedtls_cipher_info_from_string T -mbedtls_cipher_info_from_type T -mbedtls_cipher_info_from_values T -mbedtls_cipher_init T -mbedtls_cipher_list T -mbedtls_cipher_reset T -mbedtls_cipher_set_iv T -mbedtls_cipher_set_padding_mode T -mbedtls_cipher_setkey T -mbedtls_cipher_setup T -mbedtls_cipher_supported B -mbedtls_cipher_update T -mbedtls_cipher_update_ad T -mbedtls_cipher_write_tag T -mbedtls_ct_base64_dec_value T -mbedtls_ct_base64_enc_char T -mbedtls_ct_hmac T -mbedtls_ct_memcmp T -mbedtls_ct_memcpy_if_eq T -mbedtls_ct_memcpy_offset T -mbedtls_ct_mpi_uint_cond_assign T -mbedtls_ct_mpi_uint_lt T -mbedtls_ct_mpi_uint_mask T -mbedtls_ct_rsaes_pkcs1_v15_unpadding T -mbedtls_ct_size_bool_eq T -mbedtls_ct_size_mask T -mbedtls_ct_size_mask_ge T -mbedtls_ct_uint_if T -mbedtls_ct_uint_mask T -mbedtls_ctr_drbg_free T -mbedtls_ctr_drbg_init T -mbedtls_ctr_drbg_random T -mbedtls_ctr_drbg_random_with_add T -mbedtls_ctr_drbg_reseed T -mbedtls_ctr_drbg_seed T -mbedtls_ctr_drbg_set_entropy_len T -mbedtls_ctr_drbg_set_nonce_len T -mbedtls_ctr_drbg_set_prediction_resistance T -mbedtls_ctr_drbg_set_reseed_interval T -mbedtls_ctr_drbg_update T -mbedtls_ctr_drbg_update_ret T -mbedtls_ecdh_calc_secret T -mbedtls_ecdh_can_do T -mbedtls_ecdh_compute_shared T -mbedtls_ecdh_free T -mbedtls_ecdh_gen_public T -mbedtls_ecdh_get_params T -mbedtls_ecdh_init T -mbedtls_ecdh_make_params T -mbedtls_ecdh_make_public T -mbedtls_ecdh_read_params T -mbedtls_ecdh_read_public T -mbedtls_ecdh_setup T -mbedtls_ecdsa_can_do T -mbedtls_ecdsa_free T -mbedtls_ecdsa_from_keypair T -mbedtls_ecdsa_genkey T -mbedtls_ecdsa_info D -mbedtls_ecdsa_init T -mbedtls_ecdsa_read_signature T -mbedtls_ecdsa_read_signature_restartable T -mbedtls_ecdsa_sign T -mbedtls_ecdsa_verify T -mbedtls_ecdsa_write_signature T -mbedtls_ecdsa_write_signature_restartable T -mbedtls_eckey_info D -mbedtls_eckeydh_info D -mbedtls_ecp_check_privkey T -mbedtls_ecp_check_pub_priv T -mbedtls_ecp_check_pubkey T -mbedtls_ecp_copy T -mbedtls_ecp_curve_info_from_grp_id T -mbedtls_ecp_curve_info_from_name T -mbedtls_ecp_curve_info_from_tls_id T -mbedtls_ecp_curve_list T -mbedtls_ecp_gen_key T -mbedtls_ecp_gen_keypair T -mbedtls_ecp_gen_keypair_base T -mbedtls_ecp_gen_privkey T -mbedtls_ecp_get_type T -mbedtls_ecp_group_copy T -mbedtls_ecp_group_free T -mbedtls_ecp_group_init T -mbedtls_ecp_group_load T -mbedtls_ecp_grp_id_list T -mbedtls_ecp_is_zero T -mbedtls_ecp_keypair_free T -mbedtls_ecp_keypair_init T -mbedtls_ecp_mul T -mbedtls_ecp_mul_restartable T -mbedtls_ecp_muladd T -mbedtls_ecp_muladd_restartable T -mbedtls_ecp_point_cmp T -mbedtls_ecp_point_free T -mbedtls_ecp_point_init T -mbedtls_ecp_point_read_binary T -mbedtls_ecp_point_read_string T -mbedtls_ecp_point_write_binary T -mbedtls_ecp_read_key T -mbedtls_ecp_set_zero T -mbedtls_ecp_tls_read_group T -mbedtls_ecp_tls_read_group_id T -mbedtls_ecp_tls_read_point T -mbedtls_ecp_tls_write_group T -mbedtls_ecp_tls_write_point T -mbedtls_ecp_write_key T -mbedtls_entropy_add_source T -mbedtls_entropy_free T -mbedtls_entropy_func T -mbedtls_entropy_gather T -mbedtls_entropy_init T -mbedtls_entropy_update_manual T -mbedtls_gcm_auth_decrypt T -mbedtls_gcm_crypt_and_tag T -mbedtls_gcm_finish T -mbedtls_gcm_free T -mbedtls_gcm_init T -mbedtls_gcm_setkey T -mbedtls_gcm_starts T -mbedtls_gcm_update T -mbedtls_hardware_poll T -mbedtls_internal_aes_decrypt T -mbedtls_internal_aes_encrypt T -mbedtls_internal_sha1_process T -mbedtls_internal_sha256_process T -mbedtls_internal_sha512_process T -mbedtls_md T -mbedtls_md_clone T -mbedtls_md_finish T -mbedtls_md_free T -mbedtls_md_get_name T -mbedtls_md_get_size T -mbedtls_md_get_type T -mbedtls_md_hmac T -mbedtls_md_hmac_finish T -mbedtls_md_hmac_reset T -mbedtls_md_hmac_starts T -mbedtls_md_hmac_update T -mbedtls_md_info_from_string T -mbedtls_md_info_from_type T -mbedtls_md_init T -mbedtls_md_init_ctx T -mbedtls_md_list T -mbedtls_md_process T -mbedtls_md_setup T -mbedtls_md_starts T -mbedtls_md_update T -mbedtls_mpi_add_abs T -mbedtls_mpi_add_int T -mbedtls_mpi_add_mpi T -mbedtls_mpi_bitlen T -mbedtls_mpi_cmp_abs T -mbedtls_mpi_cmp_int T -mbedtls_mpi_cmp_mpi T -mbedtls_mpi_copy T -mbedtls_mpi_div_int T -mbedtls_mpi_div_mpi T -mbedtls_mpi_exp_mod T -mbedtls_mpi_fill_random T -mbedtls_mpi_free T -mbedtls_mpi_gcd T -mbedtls_mpi_get_bit T -mbedtls_mpi_get_mont_r2_unsafe T -mbedtls_mpi_grow T -mbedtls_mpi_init T -mbedtls_mpi_inv_mod T -mbedtls_mpi_lsb T -mbedtls_mpi_lset T -mbedtls_mpi_lt_mpi_ct T -mbedtls_mpi_mod_int T -mbedtls_mpi_mod_mpi T -mbedtls_mpi_montmul T -mbedtls_mpi_montmul_init T -mbedtls_mpi_mul_int T -mbedtls_mpi_mul_mpi T -mbedtls_mpi_random T -mbedtls_mpi_read_binary T -mbedtls_mpi_read_binary_le T -mbedtls_mpi_read_string T -mbedtls_mpi_safe_cond_assign T -mbedtls_mpi_safe_cond_swap T -mbedtls_mpi_set_bit T -mbedtls_mpi_shift_l T -mbedtls_mpi_shift_r T -mbedtls_mpi_shrink T -mbedtls_mpi_size T -mbedtls_mpi_sub_abs T -mbedtls_mpi_sub_int T -mbedtls_mpi_sub_mpi T -mbedtls_mpi_swap T -mbedtls_mpi_write_binary T -mbedtls_mpi_write_binary_le T -mbedtls_mpi_write_string T -mbedtls_oid_get_attr_short_name T -mbedtls_oid_get_certificate_policies T -mbedtls_oid_get_cipher_alg T -mbedtls_oid_get_ec_grp T -mbedtls_oid_get_extended_key_usage T -mbedtls_oid_get_md_alg T -mbedtls_oid_get_md_hmac T -mbedtls_oid_get_numeric_string T -mbedtls_oid_get_oid_by_ec_grp T -mbedtls_oid_get_oid_by_md T -mbedtls_oid_get_oid_by_pk_alg T -mbedtls_oid_get_oid_by_sig_alg T -mbedtls_oid_get_pk_alg T -mbedtls_oid_get_sig_alg T -mbedtls_oid_get_sig_alg_desc T -mbedtls_oid_get_x509_ext_type T -mbedtls_pem_free T -mbedtls_pem_init T -mbedtls_pem_read_buffer T -mbedtls_pk_can_do T -mbedtls_pk_check_pair T -mbedtls_pk_debug T -mbedtls_pk_decrypt T -mbedtls_pk_encrypt T -mbedtls_pk_free T -mbedtls_pk_get_bitlen T -mbedtls_pk_get_name T -mbedtls_pk_get_type T -mbedtls_pk_info_from_type T -mbedtls_pk_init T -mbedtls_pk_parse_key T -mbedtls_pk_parse_public_key T -mbedtls_pk_parse_subpubkey T -mbedtls_pk_setup T -mbedtls_pk_sign T -mbedtls_pk_sign_restartable T -mbedtls_pk_verify T -mbedtls_pk_verify_ext T -mbedtls_pk_verify_restartable T -mbedtls_pkcs5_pbes2 T -mbedtls_pkcs5_pbes2_ext T -mbedtls_pkcs5_pbkdf2_hmac T -mbedtls_platform_gmtime_r T -mbedtls_platform_setup T -mbedtls_platform_teardown T -mbedtls_platform_zeroize T -mbedtls_rsa_check_privkey T -mbedtls_rsa_check_pub_priv T -mbedtls_rsa_check_pubkey T -mbedtls_rsa_complete T -mbedtls_rsa_copy T -mbedtls_rsa_deduce_crt T -mbedtls_rsa_deduce_primes T -mbedtls_rsa_deduce_private_exponent T -mbedtls_rsa_export T -mbedtls_rsa_export_crt T -mbedtls_rsa_export_raw T -mbedtls_rsa_free T -mbedtls_rsa_get_len T -mbedtls_rsa_import T -mbedtls_rsa_import_raw T -mbedtls_rsa_info D -mbedtls_rsa_init T -mbedtls_rsa_pkcs1_decrypt T -mbedtls_rsa_pkcs1_encrypt T -mbedtls_rsa_pkcs1_sign T -mbedtls_rsa_pkcs1_verify T -mbedtls_rsa_private T -mbedtls_rsa_public T -mbedtls_rsa_rsaes_oaep_decrypt T -mbedtls_rsa_rsaes_oaep_encrypt T -mbedtls_rsa_rsaes_pkcs1_v15_decrypt T -mbedtls_rsa_rsaes_pkcs1_v15_encrypt T -mbedtls_rsa_rsassa_pkcs1_v15_sign T -mbedtls_rsa_rsassa_pkcs1_v15_verify T -mbedtls_rsa_rsassa_pss_sign T -mbedtls_rsa_rsassa_pss_sign_ext T -mbedtls_rsa_rsassa_pss_verify T -mbedtls_rsa_rsassa_pss_verify_ext T -mbedtls_rsa_set_padding T -mbedtls_rsa_validate_crt T -mbedtls_rsa_validate_params T -mbedtls_sha1 T -mbedtls_sha1_clone T -mbedtls_sha1_finish T -mbedtls_sha1_finish_ret T -mbedtls_sha1_free T -mbedtls_sha1_info D -mbedtls_sha1_init T -mbedtls_sha1_process T -mbedtls_sha1_ret T -mbedtls_sha1_starts T -mbedtls_sha1_starts_ret T -mbedtls_sha1_update T -mbedtls_sha1_update_ret T -mbedtls_sha224_info D -mbedtls_sha256 T -mbedtls_sha256_clone T -mbedtls_sha256_finish T -mbedtls_sha256_finish_ret T -mbedtls_sha256_free T -mbedtls_sha256_info D -mbedtls_sha256_init T -mbedtls_sha256_process T -mbedtls_sha256_ret T -mbedtls_sha256_starts T -mbedtls_sha256_starts_ret T -mbedtls_sha256_update T -mbedtls_sha256_update_ret T -mbedtls_sha384_info D -mbedtls_sha512 T -mbedtls_sha512_clone T -mbedtls_sha512_finish T -mbedtls_sha512_finish_ret T -mbedtls_sha512_free T -mbedtls_sha512_info D -mbedtls_sha512_init T -mbedtls_sha512_process T -mbedtls_sha512_ret T -mbedtls_sha512_starts T -mbedtls_sha512_starts_ret T -mbedtls_sha512_update T -mbedtls_sha512_update_ret T -mbedtls_ssl_check_cert_usage T -mbedtls_ssl_check_curve T -mbedtls_ssl_check_curve_tls_id T -mbedtls_ssl_check_pending T -mbedtls_ssl_check_sig_hash T -mbedtls_ssl_check_timer T -mbedtls_ssl_ciphersuite_from_id T -mbedtls_ssl_ciphersuite_from_string T -mbedtls_ssl_ciphersuite_uses_ec T -mbedtls_ssl_close_notify T -mbedtls_ssl_conf_authmode T -mbedtls_ssl_conf_ca_chain T -mbedtls_ssl_conf_cert_profile T -mbedtls_ssl_conf_ciphersuites T -mbedtls_ssl_conf_ciphersuites_for_version T -mbedtls_ssl_conf_curves T -mbedtls_ssl_conf_dbg T -mbedtls_ssl_conf_endpoint T -mbedtls_ssl_conf_legacy_renegotiation T -mbedtls_ssl_conf_max_version T -mbedtls_ssl_conf_min_version T -mbedtls_ssl_conf_own_cert T -mbedtls_ssl_conf_read_timeout T -mbedtls_ssl_conf_rng T -mbedtls_ssl_conf_sig_hashes T -mbedtls_ssl_conf_sni T -mbedtls_ssl_conf_transport T -mbedtls_ssl_conf_verify T -mbedtls_ssl_config_defaults T -mbedtls_ssl_config_free T -mbedtls_ssl_config_init T -mbedtls_ssl_decrypt_buf T -mbedtls_ssl_derive_keys T -mbedtls_ssl_encrypt_buf T -mbedtls_ssl_fetch_input T -mbedtls_ssl_flush_output T -mbedtls_ssl_free T -mbedtls_ssl_get_bytes_avail T -mbedtls_ssl_get_ciphersuite T -mbedtls_ssl_get_ciphersuite_id T -mbedtls_ssl_get_ciphersuite_name T -mbedtls_ssl_get_ciphersuite_sig_alg T -mbedtls_ssl_get_ciphersuite_sig_pk_alg T -mbedtls_ssl_get_key_exchange_md_tls1_2 T -mbedtls_ssl_get_max_out_record_payload T -mbedtls_ssl_get_peer_cert T -mbedtls_ssl_get_record_expansion T -mbedtls_ssl_get_session T -mbedtls_ssl_get_session_pointer T -mbedtls_ssl_get_verify_result T -mbedtls_ssl_get_version T -mbedtls_ssl_handle_message_type T -mbedtls_ssl_handshake T -mbedtls_ssl_handshake_client_step T -mbedtls_ssl_handshake_free T -mbedtls_ssl_handshake_step T -mbedtls_ssl_handshake_wrapup T -mbedtls_ssl_handshake_wrapup_free_hs_transform T -mbedtls_ssl_hash_from_md_alg T -mbedtls_ssl_init T -mbedtls_ssl_list_ciphersuites T -mbedtls_ssl_md_alg_from_hash T -mbedtls_ssl_optimize_checksum T -mbedtls_ssl_parse_certificate T -mbedtls_ssl_parse_change_cipher_spec T -mbedtls_ssl_parse_finished T -mbedtls_ssl_pk_alg_from_sig T -mbedtls_ssl_prepare_handshake_record T -mbedtls_ssl_read T -mbedtls_ssl_read_record T -mbedtls_ssl_read_version T -mbedtls_ssl_reset_checksum T -mbedtls_ssl_reset_in_out_pointers T -mbedtls_ssl_send_alert_message T -mbedtls_ssl_send_fatal_handshake_failure T -mbedtls_ssl_session_copy T -mbedtls_ssl_session_free T -mbedtls_ssl_session_init T -mbedtls_ssl_session_load T -mbedtls_ssl_session_reset T -mbedtls_ssl_session_reset_int T -mbedtls_ssl_session_save T -mbedtls_ssl_set_bio T -mbedtls_ssl_set_calc_verify_md T -mbedtls_ssl_set_hostname T -mbedtls_ssl_set_hs_authmode T -mbedtls_ssl_set_hs_ca_chain T -mbedtls_ssl_set_hs_own_cert T -mbedtls_ssl_set_session T -mbedtls_ssl_set_timer T -mbedtls_ssl_set_timer_cb T -mbedtls_ssl_set_verify T -mbedtls_ssl_setup T -mbedtls_ssl_sig_from_pk T -mbedtls_ssl_sig_from_pk_alg T -mbedtls_ssl_sig_hash_set_add T -mbedtls_ssl_sig_hash_set_const_hash T -mbedtls_ssl_sig_hash_set_find T -mbedtls_ssl_tls_prf T -mbedtls_ssl_transform_free T -mbedtls_ssl_transform_init T -mbedtls_ssl_update_handshake_status T -mbedtls_ssl_update_in_pointers T -mbedtls_ssl_update_out_pointers T -mbedtls_ssl_write T -mbedtls_ssl_write_certificate T -mbedtls_ssl_write_change_cipher_spec T -mbedtls_ssl_write_finished T -mbedtls_ssl_write_handshake_msg T -mbedtls_ssl_write_record T -mbedtls_ssl_write_version T -mbedtls_x509_crt_free T -mbedtls_x509_crt_info T -mbedtls_x509_crt_init T -mbedtls_x509_crt_parse T -mbedtls_x509_crt_parse_der T -mbedtls_x509_crt_parse_der_nocopy T -mbedtls_x509_crt_parse_der_with_ext_cb T -mbedtls_x509_crt_profile_default R -mbedtls_x509_crt_profile_next R -mbedtls_x509_crt_profile_suiteb R -mbedtls_x509_crt_verify T -mbedtls_x509_crt_verify_info T -mbedtls_x509_crt_verify_restartable T -mbedtls_x509_crt_verify_with_profile T -mbedtls_x509_dn_gets T -mbedtls_x509_get_alg T -mbedtls_x509_get_alg_null T -mbedtls_x509_get_ext T -mbedtls_x509_get_name T -mbedtls_x509_get_rsassa_pss_params T -mbedtls_x509_get_serial T -mbedtls_x509_get_sig T -mbedtls_x509_get_sig_alg T -mbedtls_x509_get_time T -mbedtls_x509_key_size_helper T -mbedtls_x509_parse_subject_alt_name T -mbedtls_x509_serial_gets T -mbedtls_x509_sig_alg_gets T -mbedtls_x509_time_is_future T -mbedtls_x509_time_is_past T -mvaddch T -mvcur T -mvwaddch T -mvwaddnstr T -mvwaddstr T -mvwprintw T -napms T -net_service_config T -net_service_connections T -net_service_dhcp_renew T -net_service_dns_resolve T -net_service_get_dns_policy T -net_service_ping T -net_service_set_dns_policy T -newwin T -nodelay T -noecho T -nonl T -png_XYZ_from_xy T -png_access_version_number T -png_app_error T -png_app_warning T -png_ascii_from_fixed T -png_benign_error T -png_build_gamma_table T -png_build_grayscale_palette T -png_calculate_crc T -png_calloc T -png_check_IHDR T -png_check_fp_number T -png_check_fp_string T -png_check_keyword T -png_chunk_benign_error T -png_chunk_error T -png_chunk_report T -png_chunk_unknown_handling T -png_chunk_warning T -png_combine_row T -png_compress_IDAT T -png_convert_from_struct_tm T -png_convert_from_time_t T -png_convert_to_rfc1123 T -png_convert_to_rfc1123_buffer T -png_crc_finish T -png_crc_read T -png_create_info_struct T -png_create_png_struct T -png_create_read_struct T -png_create_read_struct_2 T -png_create_write_struct T -png_create_write_struct_2 T -png_data_freer T -png_default_flush T -png_default_read_data T -png_default_write_data T -png_destroy_gamma_table T -png_destroy_info_struct T -png_destroy_png_struct T -png_destroy_read_struct T -png_destroy_write_struct T -png_do_bgr T -png_do_check_palette_indexes T -png_do_invert T -png_do_packswap T -png_do_read_interlace T -png_do_read_transformations T -png_do_strip_channel T -png_do_swap T -png_do_write_interlace T -png_do_write_transformations T -png_error T -png_flush T -png_format_number T -png_formatted_warning T -png_free T -png_free_buffer_list T -png_free_data T -png_free_default T -png_free_jmpbuf T -png_gamma_16bit_correct T -png_gamma_8bit_correct T -png_gamma_correct T -png_gamma_significant T -png_get_IHDR T -png_get_PLTE T -png_get_bKGD T -png_get_bit_depth T -png_get_cHRM_XYZ_fixed T -png_get_cHRM_fixed T -png_get_cICP T -png_get_cLLI_fixed T -png_get_channels T -png_get_chunk_cache_max T -png_get_chunk_malloc_max T -png_get_color_type T -png_get_compression_buffer_size T -png_get_compression_type T -png_get_copyright T -png_get_current_pass_number T -png_get_current_row_number T -png_get_eXIf T -png_get_eXIf_1 T -png_get_error_ptr T -png_get_filter_type T -png_get_gAMA_fixed T -png_get_hIST T -png_get_header_ver T -png_get_header_version T -png_get_iCCP T -png_get_image_height T -png_get_image_width T -png_get_int_32 T -png_get_interlace_type T -png_get_io_chunk_type T -png_get_io_ptr T -png_get_io_state T -png_get_libpng_ver T -png_get_mDCV_fixed T -png_get_mem_ptr T -png_get_oFFs T -png_get_pCAL T -png_get_pHYs T -png_get_palette_max T -png_get_pixel_aspect_ratio_fixed T -png_get_pixels_per_meter T -png_get_progressive_ptr T -png_get_rgb_to_gray_status T -png_get_rowbytes T -png_get_rows T -png_get_sBIT T -png_get_sCAL_s T -png_get_sPLT T -png_get_sRGB T -png_get_signature T -png_get_tIME T -png_get_tRNS T -png_get_text T -png_get_uint_16 T -png_get_uint_31 T -png_get_uint_32 T -png_get_unknown_chunks T -png_get_user_chunk_ptr T -png_get_user_height_max T -png_get_user_transform_ptr T -png_get_user_width_max T -png_get_valid T -png_get_x_offset_microns T -png_get_x_offset_pixels T -png_get_x_pixels_per_meter T -png_get_y_offset_microns T -png_get_y_offset_pixels T -png_get_y_pixels_per_meter T -png_handle_as_unknown T -png_handle_chunk T -png_handle_unknown T -png_icc_check_header T -png_icc_check_length T -png_icc_check_tag_table T -png_image_begin_read_from_file T -png_image_begin_read_from_memory T -png_image_begin_read_from_stdio T -png_image_error T -png_image_finish_read T -png_image_free T -png_image_write_to_file T -png_image_write_to_memory T -png_image_write_to_stdio T -png_info_init_3 T -png_init_io T -png_init_read_transformations T -png_longjmp T -png_malloc T -png_malloc_array T -png_malloc_base T -png_malloc_default T -png_malloc_warn T -png_muldiv T -png_permit_mng_features T -png_process_IDAT_data T -png_process_data T -png_process_data_pause T -png_process_data_skip T -png_process_some_data T -png_progressive_combine_row T -png_push_fill_buffer T -png_push_have_end T -png_push_have_info T -png_push_have_row T -png_push_process_row T -png_push_read_IDAT T -png_push_read_chunk T -png_push_read_sig T -png_push_restore_buffer T -png_push_save_buffer T -png_read_IDAT_data T -png_read_chunk_header T -png_read_data T -png_read_end T -png_read_filter_row T -png_read_finish_IDAT T -png_read_finish_row T -png_read_image T -png_read_info T -png_read_png T -png_read_push_finish_row T -png_read_row T -png_read_rows T -png_read_sig T -png_read_start_row T -png_read_transform_info T -png_read_update_info T -png_realloc_array T -png_reciprocal T -png_reciprocal2 T -png_reset_crc T -png_reset_zstream T -png_resolve_file_gamma T -png_sRGB_base R -png_sRGB_delta R -png_sRGB_table R -png_safe_error T -png_safe_execute T -png_safe_warning T -png_safecat T -png_save_int_32 T -png_save_uint_16 T -png_save_uint_32 T -png_set_IHDR T -png_set_PLTE T -png_set_add_alpha T -png_set_alpha_mode_fixed T -png_set_bKGD T -png_set_background_fixed T -png_set_benign_errors T -png_set_bgr T -png_set_cHRM_XYZ_fixed T -png_set_cHRM_fixed T -png_set_cICP T -png_set_cLLI_fixed T -png_set_check_for_invalid_index T -png_set_chunk_cache_max T -png_set_chunk_malloc_max T -png_set_compression_buffer_size T -png_set_compression_level T -png_set_compression_mem_level T -png_set_compression_method T -png_set_compression_strategy T -png_set_compression_window_bits T -png_set_crc_action T -png_set_eXIf T -png_set_eXIf_1 T -png_set_error_fn T -png_set_expand T -png_set_expand_16 T -png_set_expand_gray_1_2_4_to_8 T -png_set_filler T -png_set_filter T -png_set_filter_heuristics_fixed T -png_set_flush T -png_set_gAMA_fixed T -png_set_gamma_fixed T -png_set_gray_to_rgb T -png_set_hIST T -png_set_iCCP T -png_set_interlace_handling T -png_set_invalid T -png_set_invert_alpha T -png_set_invert_mono T -png_set_keep_unknown_chunks T -png_set_longjmp_fn T -png_set_mDCV_fixed T -png_set_mem_fn T -png_set_oFFs T -png_set_option T -png_set_pCAL T -png_set_pHYs T -png_set_packing T -png_set_packswap T -png_set_palette_to_rgb T -png_set_progressive_read_fn T -png_set_quantize T -png_set_read_fn T -png_set_read_status_fn T -png_set_read_user_chunk_fn T -png_set_read_user_transform_fn T -png_set_rgb_coefficients T -png_set_rgb_to_gray_fixed T -png_set_rows T -png_set_sBIT T -png_set_sCAL_fixed T -png_set_sCAL_s T -png_set_sPLT T -png_set_sRGB T -png_set_sRGB_gAMA_and_cHRM T -png_set_scale_16 T -png_set_shift T -png_set_sig_bytes T -png_set_strip_16 T -png_set_strip_alpha T -png_set_swap T -png_set_swap_alpha T -png_set_tIME T -png_set_tRNS T -png_set_tRNS_to_alpha T -png_set_text T -png_set_text_2 T -png_set_text_compression_level T -png_set_text_compression_mem_level T -png_set_text_compression_method T -png_set_text_compression_strategy T -png_set_text_compression_window_bits T -png_set_unknown_chunk_location T -png_set_unknown_chunks T -png_set_user_limits T -png_set_user_transform_info T -png_set_write_fn T -png_set_write_status_fn T -png_set_write_user_transform_fn T -png_sig_cmp T -png_start_read_image T -png_user_version_check T -png_warning T -png_warning_parameter T -png_warning_parameter_signed T -png_warning_parameter_unsigned T -png_write_IEND T -png_write_IHDR T -png_write_PLTE T -png_write_bKGD T -png_write_cHRM_fixed T -png_write_cICP T -png_write_cLLI_fixed T -png_write_chunk T -png_write_chunk_data T -png_write_chunk_end T -png_write_chunk_start T -png_write_data T -png_write_eXIf T -png_write_end T -png_write_find_filter T -png_write_finish_row T -png_write_flush T -png_write_gAMA_fixed T -png_write_hIST T -png_write_iCCP T -png_write_iTXt T -png_write_image T -png_write_info T -png_write_info_before_PLTE T -png_write_mDCV_fixed T -png_write_oFFs T -png_write_pCAL T -png_write_pHYs T -png_write_png T -png_write_row T -png_write_rows T -png_write_sBIT T -png_write_sCAL_s T -png_write_sPLT T -png_write_sRGB T -png_write_sig T -png_write_start_row T -png_write_tEXt T -png_write_tIME T -png_write_tRNS T -png_write_zTXt T -png_xy_from_XYZ T -png_zalloc T -png_zfree T -png_zlib_inflate T -png_zstream_error T -raw T -refresh T -scrollok T -sleep_ms T -start_color T -stdscr B -syscall0 T -syscall1 T -syscall2 T -syscall3 T -syscall6 T -system_device_list T -system_driver_control T -system_driver_list T -text_input_get_state T -text_input_list T -text_input_note_gui_window T -text_input_notify_config T -text_input_observe_gui_key T -text_input_poll_gui_commit T -text_input_poll_result T -text_input_provider_next T -text_input_provider_result T -text_input_register T -text_input_set_active T -text_input_set_context T -text_input_set_current_context T -text_input_submit_key T -text_input_take_key T -text_input_take_text T -text_input_unregister T -tgetstr T -typeahead T -ui_byte_offset_for_cell T -ui_byte_offset_for_pixel T -ui_cell_width T -ui_char T -ui_codepoint T -ui_codepoint_pixel_width T -ui_decode_utf8 T -ui_is_shift_key T -ui_layout_utf8 T -ui_next_codepoint_offset T -ui_prev_codepoint_offset T -ui_shift_down B -ui_strlen T -ui_text_cells_between T -ui_text_pixels_between T -ui_theme_ensure_loaded T -ui_theme_is_metro T -ui_window_button_draw T -uncompress T -uncompress2 T -uncompress2_z T -uncompress_z T -ungetch T -use_default_colors T -waddch T -waddnstr T -waddstr T -wattroff T -wattron T -wclrtoeol T -werase T -wgetch T -wmove T -wnoutrefresh T -wprintw T -wredrawln T -wrefresh T -wscrl T -zError T -z_errmsg D -zlibCompileFlags T -zlibVersion T -zmemcmp T -zmemcpy T -zmemzero T diff --git a/tests/fixtures/brand-abi/old-soname.txt b/tests/fixtures/brand-abi/old-soname.txt deleted file mode 100644 index 497ca382..00000000 --- a/tests/fixtures/brand-abi/old-soname.txt +++ /dev/null @@ -1 +0,0 @@ -libleonos.so.2 diff --git a/tests/fixtures/brand-abi/old_api.c b/tests/fixtures/brand-abi/old_api.c deleted file mode 100644 index a52f3407..00000000 --- a/tests/fixtures/brand-abi/old_api.c +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include -#include - -_Static_assert(LEONOS_API_PATH_MAX == 256U, "legacy API path limit changed"); -_Static_assert(LEONOS_API_NAME_LEN == 64U, "legacy API name limit changed"); -_Static_assert(sizeof(struct leonos_api_info) == 2072U, - "legacy API info size changed"); -_Static_assert(offsetof(struct leonos_api_info, requires_admin) == 976U, - "legacy API flags offset changed"); -_Static_assert(offsetof(struct leonos_api_info, input_method_settings) == 1560U, - "legacy API settings offset changed"); -_Static_assert(LEONOS_TAR_BLOCK_SIZE == 512U, "legacy tar block changed"); - -static int (*volatile legacy_entry)(const char *, char *, uint32_t) = - leonos_tar_list; - -int main(void) -{ - return legacy_entry == NULL; -} diff --git a/tests/host/test_askpass_password.c b/tests/host/test_askpass_password.c deleted file mode 100644 index 3da7324b..00000000 --- a/tests/host/test_askpass_password.c +++ /dev/null @@ -1,45 +0,0 @@ -#define _GNU_SOURCE -#include -#include -#include -#include -#include - -static char written[300]; -static size_t used; -static int interrupt_once, fail_write; -static ssize_t capture_write(int fd, const void *buffer, size_t size) -{ - assert(fd == STDOUT_FILENO); - if (interrupt_once) { interrupt_once = 0; errno = EINTR; return -1; } - if (fail_write) { errno = EIO; return -1; } - if (size > 3) size = 3; - assert(used + size <= sizeof(written)); - memcpy(written + used, buffer, size); - used += size; - return (ssize_t)size; -} - -#define write capture_write -#include "../../userland/apps/reliefaskpass/password_io.h" -#undef write - -int main(void) -{ - interrupt_once = 1; - assert(askpass_write_password("密码Ab3") == 0); - assert(used == strlen("密码Ab3\n") && !memcmp(written, "密码Ab3\n", used)); - char boundary[256]; - memset(boundary, 'x', 255); boundary[255] = 0; - used = 0; - assert(askpass_write_password(boundary) == 0 && used == 256); - char oversized[300]; - memset(oversized, 'x', sizeof(oversized)); oversized[299] = 0; - used = 0; - assert(askpass_write_password(oversized) == 1 && used == 0 && errno == E2BIG); - used = 0; - assert(askpass_write_password("a\nb") == 1 && used == 0 && errno == EINVAL); - fail_write = 1; - assert(askpass_write_password("secret") == 1 && errno == EIO); - return 0; -} diff --git a/tests/host/test_autostart.cpp b/tests/host/test_autostart.cpp index 16e68266..f56cf890 100644 --- a/tests/host/test_autostart.cpp +++ b/tests/host/test_autostart.cpp @@ -111,7 +111,7 @@ int main(int argc, char **argv) assert(encode(snapshot, encoded) && decode(encoded, decoded)); assert(decoded.entries.size() == snapshot.entries.size()); assert(entry(decoded, selected.c_str()).data == created.data); - assert(!decode(ra::text("broken"), decoded)); + assert(!decode(relief::text("broken"), decoded)); request.action = Action::Remove; request.original = created; assert(change(paths, request, selected, error)); const char *dbus_entries[] = { diff --git a/tests/host/test_bootloader_uefi.c b/tests/host/test_bootloader_uefi.c index 4665b000..ee2b19a8 100644 --- a/tests/host/test_bootloader_uefi.c +++ b/tests/host/test_bootloader_uefi.c @@ -38,7 +38,7 @@ int main(int argc, char **argv) { char source[1024], esp[1024], instance[1024]; snprintf(source, sizeof(source), "%s/source", argv[1]); assert(!mkdir(source, 0755)); directory(source, "EFI"); directory(source, "EFI/BOOT"); - directory(source, "reliefos"); directory(source, "leonos"); directory(source, "grub"); + directory(source, "reliefos"); directory(source, "grub"); write_file(source, "EFI/BOOT/BOOTX64.EFI", "verified loader one"); snprintf(esp, sizeof(esp), "%s/shared", argv[1]); assert(!mkdir(esp, 0755)); directory(esp, "EFI"); directory(esp, "EFI/BOOT"); directory(esp, "EFI/Microsoft"); diff --git a/tests/host/test_clipboard.cpp b/tests/host/test_clipboard.cpp index 655ad9f3..6c2ceac0 100644 --- a/tests/host/test_clipboard.cpp +++ b/tests/host/test_clipboard.cpp @@ -1,9 +1,11 @@ #include "clipboard/history.h" +#include "clipboard/image_payload.h" #include "clipboard/selection.h" #include "clipboard/manager.h" #include #include #include +#include #include #include #include @@ -45,7 +47,7 @@ int main(int argc, char **argv) for (const char *invalid : invalid_uris) assert(!local_uri(invalid, strlen(invalid), path)); Array paths; - assert(paths.push(ra::text("/tmp/中文 a\n%")) && paths.push(ra::text("/tmp/b"))); + assert(paths.push(relief::text("/tmp/中文 a\n%")) && paths.push(relief::text("/tmp/b"))); Entry files; assert(file_payload(paths, true, files)); Array decoded; @@ -77,6 +79,43 @@ int main(int argc, char **argv) if (!getenv("DISPLAY")) return 0; Selection owner, consumer; assert(owner.open() && consumer.open()); + Array rgb; + const unsigned width = 257, height = 151; + assert(rgb.resize(size_t(width) * height * 3)); + uint32_t random = 42; + for (size_t i = 0; i < rgb.size(); ++i) { + random ^= random << 13; random ^= random >> 17; random ^= random << 5; + rgb[i] = static_cast(random); + } + Entry picture; + assert(image_payload(rgb.data(), width, height, picture)); + assert(picture.find("image/png") && picture.find("image/bmp")); + assert(!image_payload(rgb.data(), 0, height, picture)); + assert(picture.find("image/png") && picture.find("image/bmp")); + assert(owner.publish(picture)); + transfer(owner, consumer, "image/png"); + assert(!status && received.type == consumer.atom("image/png") && received.format == 8); + png_image png{}; png.version = PNG_IMAGE_VERSION; + assert(png_image_begin_read_from_memory(&png, received.bytes.c_str(), received.bytes.size())); + assert(png.width == width && png.height == height); + png.format = PNG_FORMAT_RGB; + Array decoded_png; + assert(decoded_png.resize(PNG_IMAGE_SIZE(png))); + assert(png_image_finish_read(&png, nullptr, decoded_png.data(), 0, nullptr)); + assert(decoded_png.size() == rgb.size() && !memcmp(decoded_png.data(), rgb.data(), rgb.size())); + png_image_free(&png); + transfer(owner, consumer, "image/bmp"); + assert(!status && received.type == consumer.atom("image/bmp") && received.format == 8); + const auto *bmp = reinterpret_cast(received.bytes.c_str()); + const size_t stride = (size_t(width) * 3 + 3) & ~size_t(3); + assert(received.bytes.size() == 54 + stride * height && bmp[0] == 'B' && bmp[1] == 'M'); + assert(Selection::word(received.bytes, 0) != 0); + for (unsigned y = 0; y < height; ++y) for (unsigned x = 0; x < width; ++x) { + const unsigned char *pixel = bmp + 54 + size_t(height - 1 - y) * stride + size_t(x) * 3; + const unsigned char *source = rgb.data() + (size_t(y) * width + x) * 3; + assert(pixel[0] == source[2] && pixel[1] == source[1] && pixel[2] == source[0]); + } + puts("PASS image publication, PNG/BMP pixels and incremental transfer"); Entry text; Array large; assert(large.resize(300000)); diff --git a/tests/host/test_diskmgr_worker.cpp b/tests/host/test_diskmgr_worker.cpp index 0b6e009f..cae53206 100644 --- a/tests/host/test_diskmgr_worker.cpp +++ b/tests/host/test_diskmgr_worker.cpp @@ -25,9 +25,9 @@ int main() dm::Worker worker; dm::Request request{}; request.action = dm::Action::Refresh; - assert(worker.start(request) == 0); + assert(worker.start(request, false) == 0); assert(worker.busy()); - assert(worker.start(request) == -EBUSY); + assert(worker.start(request, false) == -EBUSY); assert(worker.poll() == 0); // The caller stays live while child sleeps. int complete = 0; for (int i = 0; !complete && i < 500; ++i) { @@ -39,7 +39,7 @@ int main() assert(worker.reply().snapshot.partition_count == 128); assert(!strcmp(worker.reply().snapshot.partitions[127].info.name, "中文末尾分区")); request.size_mib = 2; - assert(worker.start(request) == 0); + assert(worker.start(request, false) == 0); complete = 0; for (int i = 0; !complete && i < 500; ++i) { usleep(10000); diff --git a/tests/host/test_fileman_associations.cpp b/tests/host/test_fileman_associations.cpp new file mode 100644 index 00000000..03fc3ef6 --- /dev/null +++ b/tests/host/test_fileman_associations.cpp @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: Apache-2.0 */ +#include "associations.h" +#include +#include + +int main(int argc, char **argv) +{ + assert(argc == 3); + assert(fileman_mime_application(argv[1], "sh -c true", true) == -EINVAL); + assert(fileman_mime_application(argv[1], argv[2], true) == 0); + assert(fileman_mime_open(argv[1]) == 0); +} diff --git a/tests/host/test_fileman_boundary.c b/tests/host/test_fileman_boundary.c index 77144df0..14e4a26c 100644 --- a/tests/host/test_fileman_boundary.c +++ b/tests/host/test_fileman_boundary.c @@ -3,8 +3,6 @@ #include #include -const char *fileman_x11_app_for_path(const char *path, const char *user_association); - int main(void) { const char *invalid[] = {"", ".", "..", "a/b", "line\nname", "tab\tname", "bad\rname"}; @@ -27,31 +25,9 @@ int main(void) assert(fileman_join_path(path, 8, "/tmp", "abcd") < 0); assert(path[0] == 0); assert(fileman_join_path(path, sizeof(path), "/tmp", "../escape") < 0); - assert(!strcmp(fileman_x11_default_app("/tmp/Hello.HTML"), "/usr/bin/netsurf")); - assert(!strcmp(fileman_x11_default_app("/tmp/budget.rexl"), "/usr/bin/reliefexcel")); - assert(!strcmp(fileman_x11_default_app("/tmp/export.CSV"), "/usr/bin/reliefexcel")); - assert(!strcmp(fileman_x11_default_app("/tmp/report.RWORD"), "/usr/bin/reliefword")); - assert(!strcmp(fileman_x11_default_app("/tmp/show.RPPT"), "/usr/bin/reliefppt")); - assert(!strcmp(fileman_x11_default_app("/tmp/equation.rmath"), "/usr/bin/reliefmath")); - assert(!strcmp(fileman_x11_default_app("/tmp/EQUATION.RMATH"), "/usr/bin/reliefmath")); - assert(!strcmp(fileman_x11_default_app("/tmp/tasks.rtodo"), "/usr/bin/relieftodo")); - assert(!strcmp(fileman_x11_default_app("/tmp/TASKS.RTODO"), "/usr/bin/relieftodo")); - assert(!strcmp(fileman_x11_default_app("/tmp/plan.rdiagram"), "/usr/bin/reliefdiagram")); - assert(!strcmp(fileman_x11_default_app("/tmp/PLAN.RDIAGRAM"), "/usr/bin/reliefdiagram")); - assert(!strcmp(fileman_x11_default_app("/tmp/music.mp3"), "/usr/bin/reliefplayer")); - assert(!strcmp(fileman_x11_default_app("/tmp/video.MP4"), "/usr/bin/reliefplayer")); - assert(!strcmp(fileman_x11_default_app("/tmp/MUSIC.WAV"), "/usr/bin/reliefplayer")); - assert(!strcmp(fileman_x11_app_for_path("/tmp/equation.rmath", "/usr/bin/custom-math"), - "/usr/bin/custom-math")); - assert(!strcmp(fileman_x11_app_for_path("/tmp/equation.rmath", ""), "/usr/bin/reliefmath")); - assert(!strcmp(fileman_x11_default_app("/tmp/test.txt"), "/usr/bin/nedit")); - assert(!strcmp(fileman_x11_default_app("/tmp/.hidden"), "/usr/bin/nedit")); - assert(!fileman_x11_default_app("/tmp/program.elf")); - assert(!fileman_x11_default_app("/tmp/Example.desktop")); - assert(!fileman_x11_default_app("/tmp/EXAMPLE.DESKTOP")); assert(fileman_path_contains("/home/test", "/home/test/dir")); assert(fileman_path_contains("/", "/tmp")); assert(!fileman_path_contains("/home/test", "/home/testing")); - puts("ok - file manager names, path bounds and X11 file handlers"); + puts("ok - file manager names and path bounds"); return 0; } diff --git a/tests/host/test_fileman_volumes.cpp b/tests/host/test_fileman_volumes.cpp index 9a3d75bb..7eb53f23 100644 --- a/tests/host/test_fileman_volumes.cpp +++ b/tests/host/test_fileman_volumes.cpp @@ -1,8 +1,11 @@ #include "volumes.h" #include #include +#include #include +#include #include +#include #include extern "C" int reliefos_block_probe_filesystem(const char *, uint32_t *) { return -ENOSYS; } @@ -10,10 +13,40 @@ extern "C" int reliefos_block_probe_filesystem(const char *, uint32_t *) { retur int main() { using namespace fm; + char program[] = "fileman", auth[] = "--volume-auth", action[] = "mount"; + char device_name_arg[] = "sdb1", sequence[] = "42", locale[] = "C"; + char *argv[] = {program, auth, action, device_name_arg, sequence, locale, nullptr}; + assert(volume_command(6, argv) == 2); uint64_t value = 7; assert(number("18446744073709551615", value) && value == UINT64_MAX); assert(!number("18446744073709551616", value) && value == UINT64_MAX); for (const char *text : {"", "-1", "+1", " 1", "1\n", "1x"}) assert(!number(text, value)); + passwd *current = getpwuid(getuid()); + assert(current); + uid_t expected_uid = current->pw_uid; + gid_t expected_gid = current->pw_gid; + uid_t uid; + gid_t gid; + assert(unsetenv("PKEXEC_UID") == 0); + assert(setenv("SUDO_UID", "1", 1) == 0); + assert(setenv("SUDO_GID", "1", 1) == 0); + assert(volume_caller_identity(uid, gid) == 0); + assert(uid == expected_uid && gid == expected_gid); + passwd *root = getpwuid(0); + assert(root); + expected_gid = root->pw_gid; + assert(setenv("PKEXEC_UID", "0", 1) == 0); + assert(volume_caller_identity(uid, gid) == 0); + assert(uid == 0 && gid == expected_gid); + for (const char *text : {"", "-1", " 0", "4294967295", "18446744073709551616"}) { + assert(setenv("PKEXEC_UID", text, 1) == 0); + assert(volume_caller_identity(uid, gid) == -EINVAL); + } + if (!getpwuid(static_cast(4294967294u))) { + assert(setenv("PKEXEC_UID", "4294967294", 1) == 0); + assert(volume_caller_identity(uid, gid) == -ENOENT); + } + assert(unsetenv("PKEXEC_UID") == 0); for (const char *text : {"sdb", "sdb1", "nvme1n1p2", "mmcblk0p1", "dm-1"}) assert(device_name(text)); for (const char *text : {"", ".", "..", "../sda", "/dev/sda", "sda\n", "sda;id", "sda x"}) assert(!device_name(text)); diff --git a/tests/host/test_installer_boot_layout.c b/tests/host/test_installer_boot_layout.c deleted file mode 100644 index fbb15c77..00000000 --- a/tests/host/test_installer_boot_layout.c +++ /dev/null @@ -1,55 +0,0 @@ -/* Exercise the updater's real fstab parser without mounting host disks. */ -#include "../../userland/apps/installer/installer_update_target.c" -#include - -static const char *identity = "12345678-1234-4567-89ab-123456789abc"; - -static int check(const char *root, const char *text, int namespaced) -{ - char path[512], source[128] = {0}; - snprintf(path, sizeof(path), "%s/etc/fstab", root); - FILE *file = fopen(path, "w"); - assert(file && fputs(text, file) >= 0 && !fclose(file)); - struct installer_update_target target = {0}; - assert(strlen(root) < sizeof(target.root)); - strcpy(target.root, root); - strcpy(target.info.root_uuid, identity); - int result = read_boot_layout(&target, source); - if (!result) { - assert(target.namespaced == namespaced); - assert(!strcmp(source, "PARTUUID=esp")); - } - return result; -} - -int main(int argc, char **argv) -{ - assert(argc == 2); - char path[512]; - snprintf(path, sizeof(path), "%s/etc", argv[1]); - assert(!mkdir(path, 0700)); - const char *physical = "PARTUUID=esp /efi vfat defaults 0 2\n"; - const char *legacy = "PARTUUID=esp /boot vfat defaults 0 2\n"; - char binding[256], combined[1024]; - snprintf(binding, sizeof(binding), "/efi/reliefos/instances/%s /boot none bind 0 0\n", identity); - snprintf(combined, sizeof(combined), "%s%s", physical, binding); - assert(!check(argv[1], combined, 1)); - assert(!check(argv[1], legacy, 0)); - assert(check(argv[1], physical, 0) == -EINVAL); - snprintf(combined, sizeof(combined), "%s%s", legacy, binding); - assert(check(argv[1], combined, 0) == -EINVAL); - snprintf(combined, sizeof(combined), "%s%s%s", physical, physical, binding); - assert(check(argv[1], combined, 0) == -ENOTUNIQ); - snprintf(combined, sizeof(combined), "%s%s%s", physical, binding, binding); - assert(check(argv[1], combined, 0) == -ENOTUNIQ); - snprintf(combined, sizeof(combined), "%s/efi/reliefos/instances/00000000-0000-0000-0000-000000000001 /boot none bind 0 0\n", physical); - assert(check(argv[1], combined, 0) == -EXDEV); - snprintf(combined, sizeof(combined), "%s/efi/../outside /boot none bind 0 0\n", physical); - assert(check(argv[1], combined, 0) == -EXDEV); - snprintf(combined, sizeof(combined), "%s/foreign /boot ext4 defaults 0 2\n", legacy); - assert(check(argv[1], combined, 0) == -EINVAL); - snprintf(combined, sizeof(combined), " # ignored comment /efi vfat\n%s", legacy); - assert(!check(argv[1], combined, 0)); - puts("updater boot layout: shared ESP, legacy, duplicate, foreign and malformed bindings passed"); - return 0; -} diff --git a/tests/host/test_json.c b/tests/host/test_json.c index 13999c28..aaf04b26 100644 --- a/tests/host/test_json.c +++ b/tests/host/test_json.c @@ -1,5 +1,5 @@ /* - * Contract tests for the JSON reader behind configs/dependencies.lock.json. + * Contract tests for the JSON reader behind the dependency lockfiles. * * The lock file decides which upstream source every build unpacks and which * artifact digest is accepted, so a parser that "looks like it works on the @@ -154,7 +154,7 @@ static void test_lookup_paths_and_types(void) TEST_ASSERT_EQ(0, parse(&root, "{\"schema_version\":1,\"dependencies\":[" - "{\"id\":\"musl\",\"commit\":\"9fa28ec\",\"patches\":[],\"nested\":{\"ok\":true}}," + "{\"id\":\"grub\",\"commit\":\"9fa28ec\",\"patches\":[],\"nested\":{\"ok\":true}}," "{\"id\":\"zlib\",\"commit\":\"da607da\"}]}")); number = json_at(&root, "schema_version"); @@ -173,7 +173,7 @@ static void test_lookup_paths_and_types(void) /* A path descends objects and arrays; "[n]" indexes arrays. */ entry = json_at(&root, "dependencies[0]"); TEST_ASSERT(entry != NULL); - TEST_ASSERT_STR_EQ("musl", json_text(json_member(entry, "id"))); + TEST_ASSERT_STR_EQ("grub", json_text(json_member(entry, "id"))); TEST_ASSERT(json_at(&root, "dependencies[9]/id") == NULL); TEST_ASSERT(json_at(&root, "dependencies/nope") == NULL); TEST_ASSERT(json_at(&root, "missing/deeper") == NULL); diff --git a/tests/host/test_motd.c b/tests/host/test_motd.c deleted file mode 100644 index 4f9b0c04..00000000 --- a/tests/host/test_motd.c +++ /dev/null @@ -1,50 +0,0 @@ -#define _GNU_SOURCE -#include -#include -#include -#include -#include -#include "userland/apps/motd/format.h" - -static void check_width(const char *text, size_t limit) -{ - mbstate_t state = {0}; - size_t columns = 0; - while (*text) { - wchar_t wc; - size_t bytes = mbrtowc(&wc, text, strlen(text), &state); - assert(bytes != (size_t)-1 && bytes != (size_t)-2 && bytes); - if (wc == '\n') { assert(columns <= limit); columns = 0; } - else { int width = wcwidth(wc); assert(width >= 0); columns += (size_t)width; } - text += bytes; - } - assert(columns == 0); -} - -int main(void) -{ - assert(setlocale(LC_ALL, "C.UTF-8")); - struct motd_info info = { - .system = "Example OS 19", .kernel = "TestKernel 7.8.9 test64", - .timestamp = "2026-09-22 21:50:12 CST", .uptime = "2d 4h", - .load = "0.08", .memory = "31%", .root = "42%", .address = "192.168.1.10" - }; - for (int zh = 0; zh < 2; ++zh) { - for (size_t width = 1; width <= 161; width += 1) { - char *text = NULL; size_t size = 0; - FILE *output = open_memstream(&text, &size); assert(output); - motd_render(output, &info, zh, width); - motd_wrap(output, "Project: https://github.com/ReliefOSProject/ReliefOS", width); - assert(fclose(output) == 0); - check_width(text, width); - if (width >= 80) { - assert(strstr(text, "Example OS 19 (TestKernel 7.8.9 test64)")); - assert(strstr(text, "31%") && strstr(text, "192.168.1.10")); - assert(strstr(text, zh ? "内存" : "Memory")); - } - free(text); - } - } - puts("motd: multilingual wrapping, live-value rendering passed"); - return 0; -} diff --git a/tests/host/test_x11_terminal_launch.c b/tests/host/test_x11_terminal_launch.c index d5c5cd70..c52452b9 100644 --- a/tests/host/test_x11_terminal_launch.c +++ b/tests/host/test_x11_terminal_launch.c @@ -1,47 +1,46 @@ -#define _GNU_SOURCE +#include + #include #include -#include +#include +#include #include #include -static jmp_buf launched; -static int forks; -static pid_t capture_fork(void); -static int capture_execve(const char *, char *const[], char *const[]); -#define fork capture_fork -#define execve capture_execve -#include "../../userland/runtime/src/launch.c" -#undef fork -#undef execve - -int reliefos_app_registry_resolve(const char *id, char *path, uint32_t capacity) -{ (void)path; (void)capacity; assert(!strcmp(id, "terminal")); return -1; } -int reliefos_environment_build(char *const overrides[], char ***out) -{ (void)overrides; *out = NULL; return 0; } -int reliefos_session_apply(void) { assert(0); return -1; } +static const char literal_argument[] = "space ; $(literal)"; +static const char *terminal_file; +static int launches; +static int spawn_error; -static pid_t capture_fork(void) { ++forks; return 0; } -static int capture_execve(const char *path, char *const argv[], char *const envp[]) +int __wrap_posix_spawnp(pid_t *pid, const char *path, const posix_spawn_file_actions_t *actions, + const posix_spawnattr_t *attributes, char *const argv[], char *const envp[]) { - (void)envp; - assert(!strcmp(path, "/usr/bin/st")); - assert(!strcmp(argv[0], "/usr/bin/st") && !strcmp(argv[1], "-e")); - assert(!strcmp(argv[2], "/usr/bin/printf")); - assert(!strcmp(argv[3], "space ; $(literal)") && !argv[4]); - longjmp(launched, 1); + assert(!actions && !attributes && envp == environ); + assert(!strcmp(path, "/usr/bin/gio") && !strcmp(argv[0], path)); + assert(!strcmp(argv[1], "launch") && !strcmp(argv[2], terminal_file)); + assert(!strcmp(argv[3], literal_argument) && !argv[4]); + ++launches; + *pid = 1234; + return spawn_error; } -int main(void) +int main(int argc, char **argv) { - char *args[] = {"/usr/bin/printf", "space ; $(literal)", NULL}; - if (!setjmp(launched)) { launch_in_terminal(args); assert(0); } - assert(forks == 1); - char *too_many[RELIEFOS_LAUNCH_MAX_ARGS + 2]; - for (unsigned i = 0; i <= RELIEFOS_LAUNCH_MAX_ARGS; ++i) too_many[i] = "x"; - too_many[RELIEFOS_LAUNCH_MAX_ARGS + 1] = NULL; - errno = 0; - assert(launch_in_terminal(too_many) == RELIEFOS_LAUNCH_ERR_TOO_MANY_ARGS); - assert(errno == E2BIG && forks == 1); + assert(argc == 2); + char *canonical = realpath(argv[1], NULL); + assert(canonical); + terminal_file = canonical; + char literal[sizeof(literal_argument)]; + memcpy(literal, literal_argument, sizeof(literal)); + char *arguments[] = {argv[1], literal, NULL}; + assert(reliefos_launch_desktop_file(arguments) == 1234 && launches == 1); + + spawn_error = EACCES; + assert(reliefos_launch_desktop_file(arguments) == -EACCES && launches == 2); + + char *too_many[RELIEFOS_LAUNCH_MAX_ARGS + 2] = {argv[1]}; + for (unsigned i = 1; i <= RELIEFOS_LAUNCH_MAX_ARGS; ++i) too_many[i] = literal; + assert(reliefos_launch_desktop_file(too_many) == -E2BIG && launches == 2); + free(canonical); return 0; } diff --git a/tests/host/test_xdg_shortcuts.c b/tests/host/test_xdg_shortcuts.c index 7ffa8bdd..e9e54207 100644 --- a/tests/host/test_xdg_shortcuts.c +++ b/tests/host/test_xdg_shortcuts.c @@ -10,12 +10,8 @@ #include #include #include -#include #include -int reliefos_app_registry_find(const char *path, struct reliefos_app_info *out) -{ (void)path; (void)out; return -ENOENT; } - int reliefos_spawn_argv(const char *path, char *const arguments[]) { assert(!strcmp(path,"/usr/bin/gio")); diff --git a/tests/integration/apk-base-migration.sh b/tests/integration/apk-base-migration.sh deleted file mode 100644 index a0affe85..00000000 --- a/tests/integration/apk-base-migration.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh -# Run against a disposable signed root, on Linux or inside a ReliefOS guest. -# Formatting is restricted to regular files in a newly created private directory. -set -eu -PATH=/usr/sbin:/usr/bin:/sbin:/bin -export PATH -for package in libmd libmd-doc libbsd libbsd-doc dosfstools dosfstools-doc e2fsprogs e2fsprogs-extra e2fsprogs-libs libcom_err e2fsprogs-doc ca-certificates-bundle; do - apk info -e "$package" -done -test -s /etc/ssl/certs/ca-certificates.crt -apk info --who-owns /etc/ssl/certs/ca-certificates.crt | grep -F 'owned by ca-certificates-bundle-' -for entry in sbin/mkfs.ext4:e2fsprogs sbin/fsck.ext2:e2fsprogs sbin/mkfs.fat:dosfstools usr/lib/libbsd.so.0:libbsd usr/lib/libext2fs.so.2:e2fsprogs-libs; do - path=${entry%:*} owner=${entry#*:} - apk info --who-owns "/$path" | grep -F "owned by $owner-" -done -apk info --who-owns /lib/libmd.so.0 | grep -F 'owned by reliefos-auth-support-libraries-' -apk info --who-owns /usr/lib/libmd.so.0 | grep -F 'owned by libmd-' -apk info --who-owns /usr/share/licenses/libmd/COPYING | grep -F 'owned by libmd-doc-' -test "$(readlink /lib/libmd.so.0)" = ../usr/lib/libmd.so.0 -for library in libmd.so libmd.so.0.3.0; do - test "$(readlink "/lib/$library")" = libmd.so.0 -done -test ! -e /lib/libmd.a -test ! -e /usr/lib/libmd.a -test ! -e /usr/include/md5.h -apk info --who-owns /usr/lib/libblkid.so.1 | grep -F 'owned by libblkid-' -apk info --who-owns /usr/lib/libuuid.so.1 | grep -F 'owned by libuuid-' -test ! -e /lib/libbsd.so.0 -test ! -e /usr/include/bsd -test ! -e /usr/include/ext2fs -test -s /usr/share/licenses/libbsd/COPYING -test -s /usr/share/licenses/e2fsprogs/NOTICE -test -s /usr/share/doc/dosfstools/COPYING -for command in mkfs.ext2 mkfs.ext3 mkfs.ext4 fsck.ext2 fsck.ext3 fsck.ext4 mkfs.fat fsck.fat mkfs.vfat fsck.vfat mkfs.msdos fsck.msdos mkfs.fat32 fsck.fat32 mke2fs e2fsck; do - test -x "/sbin/$command" - test "$(readlink "/usr/sbin/$command")" = "../../sbin/$command" -done -for command in chattr lsattr; do - test -x "/bin/$command" - test "$(readlink "/usr/bin/$command")" = "../../bin/$command" -done -work=$(mktemp -d /tmp/apk-base-migration.XXXXXX) -trap 'rm -rf "$work"' 0 -trap 'exit 130' HUP INT TERM -for filesystem in ext2 ext4; do - image=$work/$filesystem.img - truncate -s 64M "$image" - "/usr/sbin/mkfs.$filesystem" -F -q "$image" - test "$(blkid -p -s TYPE -o value "$image")" = "$filesystem" - "/usr/sbin/fsck.$filesystem" -fn "$image" -done -image=$work/fat.img -truncate -s 64M "$image" -/usr/sbin/mkfs.fat32 -F 32 -n APK_TEST "$image" -test "$(blkid -p -s TYPE -o value "$image")" = vfat -test "$(blkid -p -s LABEL -o value "$image")" = APK_TEST -/usr/sbin/fsck.vfat -n "$image" -printf '%s\n' 'PASS: official APK ownership, local dependencies, aliases and ext2/ext4/FAT format/check' diff --git a/tests/integration/apk-libmd-migration.sh b/tests/integration/apk-libmd-migration.sh deleted file mode 100644 index 76211add..00000000 --- a/tests/integration/apk-libmd-migration.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# Run in a disposable signed root/guest with two public executable probes. -# The account created here is temporary and has no home or usable password. -set -eu -[ "$#" = 2 ] || { echo 'usage: apk-libmd-migration.sh DYNAMIC_PROBE STATIC_PROBE' >&2; exit 2; } -PATH=/usr/sbin:/usr/bin:/sbin:/bin -export PATH -test "$(id -u)" = 0 -apk info -e libmd -apk info -e libmd-doc -apk info --who-owns /usr/lib/libmd.so.0 | grep -F 'owned by libmd-' -apk info --who-owns /usr/share/licenses/libmd/COPYING | grep -F 'owned by libmd-doc-' -for library in libmd.so libmd.so.0 libmd.so.0.3.0; do - apk info --who-owns "/lib/$library" | grep -F 'owned by reliefos-auth-support-libraries-' - test -s "/lib/$library" -done -test "$(readlink /lib/libmd.so.0)" = ../usr/lib/libmd.so.0 -test "$(readlink /lib/libmd.so)" = libmd.so.0 -test "$(readlink /lib/libmd.so.0.3.0)" = libmd.so.0 -for path in /lib/libmd.a /usr/lib/libmd.a /usr/include/md5.h /lib/pkgconfig/libmd.pc; do - test ! -e "$path" -done -work=$(mktemp -d /tmp/apk-libmd.XXXXXX) -account=mdqa$$ -group=mdqg$$ -group_created=no user_created=no -cleanup() { - status=$? - trap - 0 - if [ "$user_created" = yes ]; then userdel "$account" || status=1; fi - if [ "$group_created" = yes ]; then groupdel "$group" || status=1; fi - rm -rf "$work" || status=1 - exit "$status" -} -trap cleanup 0 -trap 'exit 130' HUP INT TERM -printf abc >"$work/input" -chmod 600 "$work/input" -for probe do - "$probe" "$work/input" - runuser -u nobody -- "$probe" --deny "$work/input" -done -groupadd "$group" -group_created=yes -useradd -l -M -g "$group" -s /bin/sh "$account" -user_created=yes -usermod -c libmd-qa -s /bin/bash "$account" -test "$(id -gn "$account")" = "$group" -userdel "$account" -user_created=no -groupdel "$group" -group_created=no -printf '%s\n' 'PASS official libmd ownership, compatibility links, digests and shadow account tools' diff --git a/tests/integration/apk-util-linux-migration.sh b/tests/integration/apk-util-linux-migration.sh deleted file mode 100644 index 24189070..00000000 --- a/tests/integration/apk-util-linux-migration.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# Run as root in a disposable signed root or ReliefOS guest. Only regular -# files in a new private directory are partitioned here; no device is written. -set -eu -PATH=/usr/sbin:/usr/bin:/sbin:/bin -export PATH -test "$(id -u)" = 0 -for package in util-linux util-linux-misc util-linux-login runuser lsblk sfdisk blkid \ - mount umount setarch libblkid libuuid libmount libfdisk libsmartcols liblastlog2 \ - libeconf utmps-libs skalibs-libs util-linux-doc util-linux-login-doc; do - apk info -e "$package" -done -for entry in bin/mount:mount bin/umount:umount bin/lsblk:lsblk sbin/sfdisk:sfdisk \ - sbin/blkid:blkid sbin/fdisk:util-linux-misc bin/su:util-linux-login sbin/runuser:runuser \ - bin/login:reliefos-authentication usr/bin/newgrp:reliefos-authentication \ - sbin/nologin:reliefos-authentication etc/pam.d/su-l:reliefos-authentication \ - usr/lib/libblkid.so.1:libblkid usr/lib/libuuid.so.1:libuuid; do - path=${entry%:*} owner=${entry#*:} - apk info --who-owns "/$path" | grep -F "owned by $owner-" -done -for command in fdisk sfdisk runuser fsck blkid; do - test "$(readlink "/usr/sbin/$command")" = "../../sbin/$command" - test -x "/sbin/$command" -done -for command in mount umount lsblk; do - test "$(readlink "/usr/bin/$command")" = "../../bin/$command" - test -x "/bin/$command" -done -test "$(stat -c %a /bin/su)" = 4755 -test "$(stat -c %u /bin/su)" = 0 -# The source archive/database must retain the original root:5 setgid wall. -test "$(stat -c '%u:%g:%a' /usr/bin/wall)" = 0:5:2755 -for path in usr/include/blkid usr/include/uuid usr/include/libeconf.h usr/lib/libblkid.a \ - usr/lib/libuuid.a usr/lib/libeconf.a; do test ! -e "/$path"; done -for command in fdisk sfdisk lsblk blkid mount umount su runuser; do - "$command" --version | grep -F 'util-linux' -done -work=$(mktemp -d /tmp/apk-util-linux.XXXXXX) -trap 'rm -rf "$work"' 0 -trap 'exit 130' HUP INT TERM -truncate -s 64M "$work/gpt.img" -printf 'label: gpt\n,24M,U\n,,L\n' | sfdisk --no-reread --no-tell-kernel "$work/gpt.img" -sfdisk --verify "$work/gpt.img" -sfdisk --json "$work/gpt.img" >"$work/partitions.json" -grep -Fi 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B' "$work/partitions.json" -grep -Fi '0FC63DAF-8483-4772-8E79-3D69D8477DE4' "$work/partitions.json" -fdisk -l "$work/gpt.img" -test "$(runuser -u nobody -- id -u)" = "$(id -u nobody)" -test "$(su -s /bin/sh nobody -c 'id -u')" = "$(id -u nobody)" -# An unprivileged runuser must fail, without relying on a password prompt. -runuser -u nobody -- /bin/sh -c 'if runuser -u root -- id; then exit 1; fi' -printf '%s\n' 'PASS: official util-linux packages, ownership, aliases, GPT files and PAM identities' diff --git a/tests/integration/arch-boot-hook.sh b/tests/integration/arch-boot-hook.sh new file mode 100644 index 00000000..cf599e31 --- /dev/null +++ b/tests/integration/arch-boot-hook.sh @@ -0,0 +1,171 @@ +#!/bin/bash +# Exercise the packaged hook with pacman in a disposable root. +set -euo pipefail +export LC_ALL=C + +package=$(realpath -e -- "$1") +work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-boot-hook.XXXXXXXX") +cleanup() { + local result=$? + if (( result != 0 )); then + for log in "$work"/*.log; do + [[ -f $log ]] || continue + printf 'reliefos-boot-hook failure log %s\n' "${log##*/}" >&2 + cat -- "$log" >&2 + done + fi + rm -rf -- "$work" +} +trap cleanup EXIT +root=$work/root +mkdir -p "$root/usr/bin" "$root/usr/lib" "$root/var/lib/pacman" "$work/cache" "$work/hooks" +install -m755 /usr/bin/bash "$root/usr/bin/bash" +for library in /usr/lib/libreadline.so.8 /usr/lib/libncursesw.so.6 \ + /usr/lib/libc.so.6 /usr/lib/ld-linux-x86-64.so.2; do + install -m755 "$(realpath -e -- "$library")" "$root$library" +done +ln -s usr/lib "$root/lib64" +cat > "$work/pacman.conf" <<'CONF' +[options] +Architecture = x86_64 +SigLevel = Never +CONF +pacman=(pacman --config "$work/pacman.conf" --root "$root" --dbpath "$root/var/lib/pacman" + --cachedir "$work/cache" --logfile "$work/pacman.log" --noconfirm) +install_package=("${pacman[@]}" --nodeps --nodeps --noscriptlet) + +make_package() { + local name=$1 version=$2 + local -a entries=(.PKGINFO) + mkdir -p "$work/$name-$version" + cat > "$work/$name-$version/.PKGINFO" < "$work/$name-$version/usr/lib/reliefos/kernel/current-release" + entries+=(usr) + fi + tar --owner=0 --group=0 --numeric-owner -czf "$work/$name-$version.pkg.tar.gz" \ + -C "$work/$name-$version" "${entries[@]}" +} +for version in 1 2 3 4 5 6 7 8; do make_package reliefos-kernel "$version"; done +make_package unrelated 1 + +# Fresh-root assembly masks the post hook while installing both packages. +ln -s /dev/null "$work/hooks/90-reliefos-boot-update.hook" +"${install_package[@]}" --hookdir "$work/hooks" -U "$package" "$work/reliefos-kernel-1.pkg.tar.gz" \ + > "$work/initial-masked.log" 2>&1 +cat "$work/initial-masked.log" +if grep -Eq 'Checking the ReliefOS boot filesystem|Preparing the ReliefOS kernel boot update|^error:' \ + "$work/initial-masked.log"; then + echo 'unexpected hook execution during masked fresh-root installation' >&2 + exit 1 +fi +[[ -s $root/usr/share/libalpm/hooks/60-reliefos-boot-preflight.hook ]] +[[ $("${pacman[@]}" -Q reliefos-kernel) == 'reliefos-kernel 1-1' ]] +[[ $(cat "$root/usr/lib/reliefos/kernel/current-release") == test-release-1 ]] +"${pacman[@]}" --nodeps --noscriptlet -R reliefos-boot reliefos-kernel +rm "$work/hooks/90-reliefos-boot-update.hook" +[[ ! -e $root/usr/share/libalpm/hooks/60-reliefos-boot-preflight.hook ]] +[[ ! -e $root/usr/share/libalpm/hooks/90-reliefos-boot-update.hook ]] + +# The first transaction installs the hooks before its PostTransaction phase. +# The real updater cannot run in this minimal root. +"${install_package[@]}" -U "$package" "$work/reliefos-kernel-1.pkg.tar.gz" > "$work/initial.log" 2>&1 +grep -Fq 'Preparing the ReliefOS kernel boot update' "$work/initial.log" +grep -q '^error:' "$work/initial.log" +cat "$work/initial.log" +[[ -s $root/usr/share/libalpm/hooks/60-reliefos-boot-preflight.hook ]] +if grep -Fq 'Checking the ReliefOS boot filesystem' "$work/initial.log"; then + echo 'unexpected PreTransaction execution before hook installation' >&2 + exit 1 +fi + +cat > "$root/usr/bin/reliefos-boot-preflight" <<'SCRIPT' +#!/usr/bin/bash +printf '%s %s\n' "$1" "$2" >> /preflight.calls +printf 'pre\n' >> /hook.order +[[ ! -e /preflight-fail ]] +SCRIPT +cat > "$root/usr/bin/reliefos-boot-update" <<'SCRIPT' +#!/usr/bin/bash +printf '%s %s\n' "$1" "$2" >> /hook.calls +printf 'post\n' >> /hook.order +[[ ! -e /hook-fail ]] +SCRIPT +chmod 755 "$root/usr/bin/reliefos-boot-preflight" "$root/usr/bin/reliefos-boot-update" +"${pacman[@]}" --nodeps --noscriptlet -R reliefos-kernel + +touch "$root/preflight-fail" +if "${install_package[@]}" -U "$work/reliefos-kernel-2.pkg.tar.gz" > "$work/pre-install-failure.log" 2>&1; then + echo 'failed PreTransaction check did not abort kernel installation' >&2 + exit 1 +fi +grep -q '^error:' "$work/pre-install-failure.log" +cat "$work/pre-install-failure.log" +if "${pacman[@]}" -Q reliefos-kernel > /dev/null 2>&1; then + echo 'aborted kernel installation changed the package database' >&2 + exit 1 +fi +[[ $(cat "$root/preflight.calls") == '/boot 134217728' && ! -e $root/hook.calls ]] +[[ ! -e $root/usr/lib/reliefos/kernel/current-release ]] +rm "$root/preflight-fail" + +"${install_package[@]}" -U "$work/reliefos-kernel-2.pkg.tar.gz" +[[ $(cat "$root/hook.calls") == '/ /boot' ]] +"${install_package[@]}" -U "$work/unrelated-1.pkg.tar.gz" +[[ $(wc -l < "$root/hook.calls") == 1 && $(wc -l < "$root/preflight.calls") == 2 ]] + +touch "$root/preflight-fail" +if "${install_package[@]}" -U "$work/reliefos-kernel-3.pkg.tar.gz" > "$work/pre-upgrade-failure.log" 2>&1; then + echo 'failed PreTransaction check did not abort kernel upgrade' >&2 + exit 1 +fi +grep -q '^error:' "$work/pre-upgrade-failure.log" +cat "$work/pre-upgrade-failure.log" +[[ $("${pacman[@]}" -Q reliefos-kernel) == 'reliefos-kernel 2-1' ]] +[[ $(cat "$root/usr/lib/reliefos/kernel/current-release") == test-release-2 ]] +[[ $(wc -l < "$root/hook.calls") == 1 && $(wc -l < "$root/preflight.calls") == 3 ]] +rm "$root/preflight-fail" + +"${install_package[@]}" -U "$work/reliefos-kernel-3.pkg.tar.gz" +[[ $(wc -l < "$root/hook.calls") == 2 ]] + +touch "$root/hook-fail" +"${install_package[@]}" -U "$work/reliefos-kernel-4.pkg.tar.gz" > "$work/failure.log" 2>&1 +[[ $(wc -l < "$root/hook.calls") == 3 ]] +grep -q '^error:' "$work/failure.log" +cat "$work/failure.log" +[[ $("${pacman[@]}" -Q reliefos-kernel) == 'reliefos-kernel 4-1' ]] +[[ $(cat "$root/usr/lib/reliefos/kernel/current-release") == test-release-4 ]] +rm "$root/hook-fail" + +ln -s /dev/null "$work/hooks/90-reliefos-boot-update.hook" +"${install_package[@]}" --hookdir "$work/hooks" -U "$work/reliefos-kernel-5.pkg.tar.gz" +[[ $(wc -l < "$root/hook.calls") == 3 && $(wc -l < "$root/preflight.calls") == 6 ]] +ln -s /dev/null "$work/hooks/60-reliefos-boot-preflight.hook" +touch "$root/preflight-fail" +"${install_package[@]}" --hookdir "$work/hooks" -U "$work/reliefos-kernel-6.pkg.tar.gz" +[[ $("${pacman[@]}" -Q reliefos-kernel) == 'reliefos-kernel 6-1' ]] +[[ $(wc -l < "$root/hook.calls") == 3 && $(wc -l < "$root/preflight.calls") == 6 ]] +rm "$root/preflight-fail" +"${install_package[@]}" -U "$work/reliefos-kernel-7.pkg.tar.gz" +[[ $(wc -l < "$root/hook.calls") == 4 && $(wc -l < "$root/preflight.calls") == 7 ]] +[[ $(cat "$root/hook.order") == $'pre\npre\npost\npre\npre\npost\npre\npost\npre\npre\npost' ]] + +# A simultaneous boot-package reinstall still uses the installed preflight. +touch "$root/preflight-fail" +if "${install_package[@]}" -U "$package" "$work/reliefos-kernel-8.pkg.tar.gz" > "$work/pre-reinstall-failure.log" 2>&1; then + echo 'boot package reinstall bypassed the installed PreTransaction check' >&2 + exit 1 +fi +cat "$work/pre-reinstall-failure.log" +[[ $("${pacman[@]}" -Q reliefos-kernel) == 'reliefos-kernel 7-1' ]] +[[ $(cat "$root/usr/lib/reliefos/kernel/current-release") == test-release-7 ]] +[[ $(wc -l < "$root/hook.calls") == 4 && $(wc -l < "$root/preflight.calls") == 8 ]] +printf 'reliefos-boot: pacman pre/post hooks, AbortOnFail, retries and masking verified\n' diff --git a/tests/integration/arch-boot-package.sh b/tests/integration/arch-boot-package.sh new file mode 100644 index 00000000..bfbc841f --- /dev/null +++ b/tests/integration/arch-boot-package.sh @@ -0,0 +1,77 @@ +#!/bin/bash +# Exercise the boot package's installed glibc executable with the built runtime. +set -euo pipefail + +package=$(realpath -e -- "$1") +runtime=$(realpath -e -- "$2") +runtime_version=${3:?expected installed runtime version} +work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-boot-package.XXXXXXXX") +trap 'rm -rf -- "$work"' EXIT + +bsdtar -xOf "$package" .PKGINFO | grep -Fxq 'arch = x86_64' || { + echo 'reliefos-boot: package does not identify the x86_64 executable' >&2 + exit 1 +} +bsdtar -xOf "$package" .PKGINFO | grep -Fxq "depend = libreliefos>=$runtime_version" || { + echo 'reliefos-boot: package does not require its matching runtime version' >&2 + exit 1 +} +bsdtar -xOf "$package" .PKGINFO | grep -Fxq 'depend = diffutils' || { + echo 'reliefos-boot: package does not require diffutils for bundle verification' >&2 + exit 1 +} +bsdtar -xOf "$package" .PKGINFO | grep -Fxq 'depend = systemd' || { + echo 'reliefos-boot: package does not require systemd for boot confirmation' >&2 + exit 1 +} +bsdtar -xf "$package" -C "$work" +bundle=$work/usr/libexec/reliefos/kernel-bundle +[[ -f $bundle && -x $bundle && ! -L $bundle ]] || { + echo 'reliefos-boot: packaged kernel-bundle executable is missing' >&2 + exit 1 +} +[[ -L $work/usr/bin/reliefos-kernel-bundle && $(readlink "$work/usr/bin/reliefos-kernel-bundle") == ../libexec/reliefos/kernel-bundle ]] +[[ -x $work/usr/bin/reliefos-mkbundle && ! -L $work/usr/bin/reliefos-mkbundle ]] +grep -Fxq 'SUBSYSTEM=="block", OPTIONS+="db_persist"' \ + "$work/usr/lib/reliefos/initramfs/59-reliefos-block-state.rules" +[[ -x $work/usr/bin/reliefos-boot-preflight && ! -L $work/usr/bin/reliefos-boot-preflight ]] +[[ -x $work/usr/bin/reliefos-boot-update && ! -L $work/usr/bin/reliefos-boot-update ]] +[[ -x $work/usr/bin/reliefos-kernel-prune && ! -L $work/usr/bin/reliefos-kernel-prune ]] +[[ -s $work/usr/share/libalpm/hooks/60-reliefos-boot-preflight.hook ]] +cmp -- "$work/usr/share/libalpm/hooks/60-reliefos-boot-preflight.hook" \ + "$(dirname -- "${BASH_SOURCE[0]}")/../../packages/arch/reliefos-boot/60-reliefos-boot-preflight.hook" +[[ -s $work/usr/share/libalpm/hooks/90-reliefos-boot-update.hook ]] +[[ -s $work/usr/lib/systemd/system/reliefos-boot-confirm.service ]] +[[ -x $work/usr/libexec/reliefos/modules-load-prepare && ! -L $work/usr/libexec/reliefos/modules-load-prepare ]] +cmp -- "$work/usr/libexec/reliefos/modules-load-prepare" \ + "$(dirname -- "${BASH_SOURCE[0]}")/../../packages/arch/reliefos-boot/reliefos-modules-load-prepare" +cmp -- "$work/usr/lib/systemd/system/systemd-modules-load.service.d/10-reliefos-platform.conf" \ + "$(dirname -- "${BASH_SOURCE[0]}")/../../packages/arch/reliefos-boot/systemd-modules-load-reliefos.conf" +cmp -- "$work/usr/lib/systemd/system/systemd-vconsole-setup.service.d/10-reliefos-platform.conf" \ + "$(dirname -- "${BASH_SOURCE[0]}")/../../packages/arch/reliefos-boot/systemd-vconsole-setup-reliefos.conf" +readelf -l "$bundle" > "$work/program-headers" +grep -Eq 'Requesting program interpreter: /lib64/ld-linux-x86-64\.so\.2' "$work/program-headers" +readelf -d "$bundle" > "$work/dynamic" +grep -Eq '\(NEEDED\).*\[libreliefos\.so\.2\]' "$work/dynamic" +grep -Eq '\(NEEDED\).*\[libc\.so\.6\]' "$work/dynamic" +if grep -Eq 'RPATH|RUNPATH|\(NEEDED\).*(musl|mimalloc)' "$work/dynamic"; then + echo 'unexpected boot executable loader dependency or search path' >&2 + exit 1 +fi + +set +e +LD_LIBRARY_PATH="$runtime" "$bundle" --inspect "$work" 5.3.4 > "$work/out" 2> "$work/error" +result=$? +set -e +[[ $result == 1 ]] && grep -Fq 'kernel-bundle: --inspect:' "$work/error" +set +e +LD_LIBRARY_PATH="$runtime" "$bundle" --restore-all / > "$work/out" 2> "$work/error" +result=$? +set -e +[[ $result == 77 ]] && grep -Fq 'refusing mutations of a non-ReliefNT host root' "$work/error" + +if (( $# == 5 )); then + LD_LIBRARY_PATH="$runtime" "$bundle" --inspect "$4" "$5" > "$work/identity" + grep -Fxq "kernel_release=$5" "$work/identity" +fi +printf 'reliefos-boot: packaged glibc bundle executable verified\n' diff --git a/tests/integration/arch-kernel-package.sh b/tests/integration/arch-kernel-package.sh new file mode 100644 index 00000000..dc31463a --- /dev/null +++ b/tests/integration/arch-kernel-package.sh @@ -0,0 +1,66 @@ +#!/bin/bash +# Verify installation of the generated kernel package in a disposable pacman root. +set -euo pipefail + +stage=$(realpath -e -- "$1") +package=$(realpath -e -- "$2") +update_package=$(realpath -e -- "$3") +work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-kernel-package.XXXXXXXX") +trap 'rm -rf -- "$work"' EXIT + +shopt -s nullglob +releases=("$stage"/usr/lib/modules/*) +[[ ${#releases[@]} == 1 && -d ${releases[0]} ]] +release=${releases[0]##*/} +abi=$(<"${releases[0]}/module.abi") +for index in modules.dep modules.dep.bin modules.alias modules.alias.bin modules.symbols modules.symbols.bin; do + test -f "${releases[0]}/$index" +done +test -f "${releases[0]}/modules-load.d/reliefnt-platform.conf" +name=reliefos-kernel-${release,,}-${abi} +[[ $(pacman -Qp -- "$package") == "$name 1-1" ]] +update=$(pacman -Qp -- "$update_package") +[[ $update == 'reliefos-kernel '* ]] +[[ $(vercmp "${update#reliefos-kernel }" 0-1) == 1 ]] +bsdtar -xOf "$update_package" .PKGINFO > "$work/update.info" +[[ $(grep -c '^depend = ' "$work/update.info") == 1 ]] +grep -Fxq "depend = $name=1-1" "$work/update.info" +bsdtar -xOf "$update_package" usr/lib/reliefos/kernel/current-release > "$work/current-release" +printf '%s\n' "$release" > "$work/expected-release" +cmp -- "$work/expected-release" "$work/current-release" + +# A prior kernel remains installed when pacman updates the fixed-name package. +mkdir -p "$work/previous/usr/lib/modules/previous" "$work/previous-meta" +printf 'previous kernel\n' > "$work/previous/usr/lib/modules/previous/kernel.sys" +cat > "$work/previous/.PKGINFO" <<'PKG' +pkgname = reliefos-kernel-previous +pkgbase = reliefos-kernel-previous +pkgver = 1-1 +arch = x86_64 +size = 16 +PKG +cat > "$work/previous-meta/.PKGINFO" <<'PKG' +pkgname = reliefos-kernel +pkgbase = reliefos-kernel +pkgver = 0-1 +arch = x86_64 +size = 0 +depend = reliefos-kernel-previous=1-1 +PKG +tar -czf "$work/previous.pkg.tar.gz" -C "$work/previous" .PKGINFO usr +tar -czf "$work/previous-meta.pkg.tar.gz" -C "$work/previous-meta" .PKGINFO + +mkdir -p "$work/root/var/lib/pacman" +printf '[options]\nArchitecture = x86_64\nSigLevel = Never\n' > "$work/pacman.conf" +pacman_options=(--root "$work/root" --dbpath "$work/root/var/lib/pacman" + --config "$work/pacman.conf" --noconfirm) +pacman "${pacman_options[@]}" -U -- "$work/previous.pkg.tar.gz" "$work/previous-meta.pkg.tar.gz" +pacman "${pacman_options[@]}" -U -- "$package" "$update_package" +pacman "${pacman_options[@]}" -Qkk -- "$name" +[[ $(pacman "${pacman_options[@]}" -Q reliefos-kernel) == "$update" ]] +pacman "${pacman_options[@]}" -Q reliefos-kernel-previous +test -s "$work/root/usr/lib/modules/previous/kernel.sys" +cmp -- "$work/expected-release" "$work/root/usr/lib/reliefos/kernel/current-release" +[[ $(pacman "${pacman_options[@]}" -Qoq -- "$work/root/usr/lib/reliefos/kernel/current-release") == reliefos-kernel ]] +diff -qr -- "${releases[0]}" "$work/root/usr/lib/modules/$release" +printf 'reliefos-kernel: pacman updated the fixed package and retained the previous kernel\n' diff --git a/tests/integration/arch-kernel-prune-container.sh b/tests/integration/arch-kernel-prune-container.sh new file mode 100644 index 00000000..acdda53c --- /dev/null +++ b/tests/integration/arch-kernel-prune-container.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# Exercise the real pacman transaction in the prepared Arch build image. +set -euo pipefail +source_root=$(realpath -e -- "$(dirname -- "$0")/../..") +recipe_id=$(sha256sum "$source_root/tools/build/arch-root.Dockerfile") +image=${ARCH_TEST_IMAGE:-reliefos-arch-build:${recipe_id%% *}} +docker run --rm -i --pull=never --platform=linux/amd64 --read-only --network=none \ + --cap-add=SYS_ADMIN \ + --security-opt seccomp=unconfined --security-opt apparmor=unconfined \ + --tmpfs /tmp:rw,exec,nosuid,nodev,mode=1777 \ + --mount "type=bind,src=$source_root,dst=/src,readonly,bind-recursive=disabled" \ + --workdir /src "$image" bash -s <<'CHECK' +set -Eeuo pipefail +export PKG_CONFIG_PATH=/usr/lib/mbedtls3/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} +prune_work=$(mktemp -d /tmp/reliefos-prune-cli.XXXXXXXX) +trap 'rm -rf -- "$prune_work"' EXIT +crypto_flags_text=$(pkg-config --cflags --libs 'mbedcrypto >= 3' 'mbedcrypto < 4') +read -r -a crypto_flags <<< "$crypto_flags_text" +sources=() +for name in kernel_bundle_io kernel_bundle_check kernel_bundle_slots \ + kernel_bundle_publish kernel_bundle_sync kernel_bundle_retain bootloader_publish; do + sources+=("userland/runtime/src/$name.c") +done +cc -std=gnu11 -D_GNU_SOURCE -O1 -g -Wall -Wextra -Werror \ + -Wl,--wrap=uname -Wl,-rpath,/usr/lib/mbedtls3 \ + -I userland/runtime/include \ + userland/apps/kernelbundle/main.c tests/host/kernel_bundle_cli_environment.c \ + "${sources[@]}" userland/runtime/shared/boot_slots.c \ + "${crypto_flags[@]}" -o "$prune_work/kernel-bundle" +# Retain the container's proc mount authority while creating a private +# mount/PID namespace for the disposable pacman root. +unshare --mount --pid --fork \ + bash tests/integration/arch-kernel-prune.sh \ + "$prune_work/kernel-bundle" \ + "$PWD/packages/arch/reliefos-boot/reliefos-kernel-prune" +CHECK diff --git a/tests/integration/arch-kernel-prune.sh b/tests/integration/arch-kernel-prune.sh new file mode 100755 index 00000000..0eb1de1e --- /dev/null +++ b/tests/integration/arch-kernel-prune.sh @@ -0,0 +1,276 @@ +#!/bin/bash +# Run as namespace root inside a private mount/PID namespace with real pacman. +set -Eeuo pipefail +export LC_ALL=C + +bundle=$(realpath -e -- "$1") +prune=$(realpath -e -- "$2") +[[ $(id -u) == 0 && $$ == 1 ]] || { echo 'requires root in a private mount/PID namespace' >&2; exit 2; } +mount --make-rprivate / +work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-prune.XXXXXXXX") +root=$work/root +cleanup() { + local result=$? path + set +e + if (( result )); then + pacman --sysroot "$root" -Ql > "$work/package-inventory.log" 2>&1 + pacman --sysroot "$root" --debug -Qo /usr/lib/reliefos/kernel/current-release > "$work/pointer-owner.log" 2>&1 + for log in "$work"/*.log; do + [[ -f $log ]] || continue + printf '\nreliefos-kernel-prune test log %s\n' "${log##*/}" >&2 + cat -- "$log" >&2 + done + fi + for path in "$root/proc" "$root/boot" "$root/dev/null" "$root/dev/urandom"; do + if mountpoint -q "$path" && ! umount "$path"; then + exit "$result" + fi + done + rm -rf -- "$work" + exit "$result" +} +trap cleanup EXIT +trap 'printf "failed at line %s\n" "$LINENO" >&2' ERR +mkdir -p "$root"/{usr/bin,usr/lib,etc,boot,proc,dev,run,var/lib/pacman,var/cache/pacman/pkg} "$work/bin" "$work/packages" +ln -s usr/bin "$root/bin" +ln -s usr/bin "$root/sbin" +ln -s usr/lib "$root/lib" +ln -s usr/lib "$root/lib64" +ln -s bin "$root/usr/sbin" +ln -s lib "$root/usr/lib64" + +copy_executable() { + local source=$1 destination=${2-$1} library + install -Dm755 "$source" "$root$destination" + while IFS= read -r library; do + install -Dm755 "$library" "$root$library" + done < <(ldd "$source" | awk '/=> \// {print $3} /^[[:space:]]*\// {print $1}') +} +for command in bash pacman pacman-conf realpath wc findmnt flock mkdir mktemp cp rm cat; do + copy_executable "$(command -v "$command")" +done +copy_executable "$bundle" /usr/bin/reliefos-kernel-bundle +install -m755 "$prune" "$root/usr/bin/reliefos-kernel-prune" +ln -s "$bundle" "$work/bin/reliefos-kernel-bundle" +export PATH=$work/bin:/usr/bin:/bin +mount --bind "$root/boot" "$root/boot" +for device in null urandom; do + touch "$root/dev/$device" + mount --bind "/dev/$device" "$root/dev/$device" +done +mount -t proc proc "$root/proc" +cat > "$root/etc/pacman.conf" <<'CONF' +[options] +Architecture = x86_64 +SigLevel = Never +HookDir = /etc/pacman.d/hooks +HookDir = /etc/pacman.d/extra-hooks +CONF +pacman=(pacman --sysroot "$root" --noconfirm) + +declare -A releases packages +make_kernel() { + local key=$1 version=$2 digit=$3 abi release name stage + printf -v abi '%064d' 0 + abi=${abi//0/$digit} + release=$version-ko1-${abi:0:12} + name=reliefos-kernel-$release-$abi + releases[$key]=$release + packages[$key]=$name + stage=$work/$key + mkdir -p "$stage/usr/lib/modules/$release/kernel" + printf 'kernel %s\n' "$release" > "$stage/usr/lib/modules/$release/kernel.sys" + printf 'CONFIG_MODULES=y\n' > "$stage/usr/lib/modules/$release/config" + printf '%s\n' "$abi" > "$stage/usr/lib/modules/$release/module.abi" + printf 'module %s\n' "$release" > "$stage/usr/lib/modules/$release/kernel/example.ko" + cat > "$stage/.PKGINFO" < "$root/.reliefos/kernel-bundles/$release/persistent/payload" +} +make_kernel running 5.3.0 1 +make_kernel installed 5.3.1 2 +make_kernel confirmed 5.3.2 3 +make_kernel slot 5.3.3 4 +make_kernel dependency 5.3.4 5 +make_kernel obsolete 5.2.0 a +make_kernel older 5.2.1 b +make_kernel partial 5.2.2 c +export RELIEFOS_TEST_UNAME_RELEASE=${releases[running]} +mkdir -p "$work/meta/usr/lib/reliefos/kernel" +printf '%s\n' "${releases[installed]}" > "$work/meta/usr/lib/reliefos/kernel/current-release" +cat > "$work/meta/.PKGINFO" < "$work/install.log" 2>&1 + +make_slot() { + local name=$1 key=$2 generation=$3 confirmed=$4 modules abi kernel_hash initramfs_hash directory record health padding + modules=$root/usr/lib/modules/${releases[$key]} + abi=$(<"$modules/module.abi") + kernel_hash=$(sha256sum "$modules/kernel.sys") + printf 'fixture initramfs %s\n' "$key" > "$work/initramfs" + initramfs_hash=$(sha256sum "$work/initramfs") + directory=$root/boot/reliefos/versions/${releases[$key]}/${initramfs_hash%% *} + mkdir -p "$directory" "$root/boot/reliefos/state" + cp "$modules/kernel.sys" "$directory/kernel.sys" + cp "$work/initramfs" "$directory/initramfs.cpio" + "$bundle" --encode-slot "${releases[$key]}" "$abi" "${kernel_hash%% *}" "${initramfs_hash%% *}" > "$directory/boot.env" + (cd "$directory" && sha256sum kernel.sys initramfs.cpio boot.env) > "$directory/SHA256SUMS" + record=$(<"$directory/boot.env") + record=${record/reliefos_generation=1/reliefos_generation=$generation} + printf '%s' "$record" > "$root/boot/reliefos/state/kernel-$name.env" + (cd "$root/boot/reliefos/state" && sha256sum "kernel-$name.env") > "$root/boot/reliefos/state/kernel-$name.sha256" + printf -v health '# GRUB Environment Block\nreliefos_boot_generation=%s\nreliefos_boot_confirmed=%s\nreliefos_boot_remaining=0\n' "$generation" "$confirmed" + printf -v padding '%1024s' '' + padding=${padding// /#} + printf '%s%s' "$health" "${padding:${#health}}" > "$root/boot/reliefos/state/kernel-$name.health" + printf 'ReliefOS boot health v1\n' > "$root/boot/reliefos/state/boot-health-v1" +} +make_slot A confirmed 8 1 +make_slot B slot 7 0 +printf 'user module\n' > "$root/usr/lib/modules/${releases[obsolete]}/user.ko" +printf 'user GRUB configuration\n' > "$root/boot/grub.cfg" +find "$root/boot" "$root/.reliefos" -type f -exec sha256sum {} + | sort > "$work/retained.before" + +prune_command=(bash "$prune") +"${prune_command[@]}" --dry-run "$root" "$root/boot" > "$work/preview.log" 2>&1 +for key in obsolete older partial; do + grep -Fxq "${packages[$key]}" "$work/preview.log" + "${pacman[@]}" -Q "${packages[$key]}" > /dev/null +done +for key in running installed confirmed slot dependency; do + if grep -Fxq "${packages[$key]}" "$work/preview.log"; then + echo "preview proposed a protected or required package: $key" >&2 + exit 1 + fi +done +printf 'PASS dry-run protects running, installed, confirmed, older valid slot and metapackage dependency\n' + +touch "$root/var/lib/pacman/db.lck" +if "${prune_command[@]}" --noconfirm "$root" "$root/boot" > "$work/database-lock.log" 2>&1; then + echo 'cleanup ignored the pacman lock' >&2 + exit 1 +fi +grep -Fq 'unable to lock database' "$work/database-lock.log" +[[ -f $root/var/lib/pacman/db.lck ]] +flock -n "$root/var/lib/reliefos/boot-update/lock" true +rm "$root/var/lib/pacman/db.lck" +printf 'PASS pacman database lock failure releases updater lock\n' + +exec {updater_lock}>> "$root/var/lib/reliefos/boot-update/lock" +flock -x "$updater_lock" +if timeout --kill-after=2 1 "${prune_command[@]}" --dry-run "$root" "$root/boot" > "$work/updater-lock.log" 2>&1; then + echo 'cleanup ignored the boot updater lock' >&2 + exit 1 +else + [[ $? == 124 ]] +fi +flock -u "$updater_lock" +exec {updater_lock}>&- +"${prune_command[@]}" --dry-run "$root" "$root/boot" > "$work/lock-retry.log" 2>&1 +printf 'PASS updater serialization and retry\n' + +mkdir -p "$root/etc/pacman.d/hooks" "$root/etc/pacman.d/extra-hooks" "$root/usr/share/libalpm/hooks" +cat > "$root/etc/pacman.d/hooks/10-reliefos-prune-test.hook" <<'HOOK' +[Trigger] +Operation = Remove +Type = Package +Target = reliefos-kernel-* + +[Action] +When = PreTransaction +Exec = /usr/bin/bash /run/prune-pre +NeedsTargets +AbortOnFail +HOOK +cat > "$root/run/prune-pre" <<'SCRIPT' +#!/usr/bin/bash +set -eu +[[ -f /var/lib/pacman/db.lck ]] +cat > /run/prune-targets +printf 'pre\n' >> /run/prune-hook-order +if [[ -f /run/prune-race-release ]]; then + cat /run/prune-race-release > /usr/lib/reliefos/kernel/current-release +fi +SCRIPT +cat > "$root/etc/pacman.d/extra-hooks/90-reliefos-prune-test.hook" <<'HOOK' +[Trigger] +Operation = Remove +Type = Package +Target = reliefos-kernel-* + +[Action] +When = PostTransaction +Exec = /usr/bin/bash -c "printf 'post\n' >> /run/prune-hook-order" +HOOK +cat > "$root/usr/share/libalpm/hooks/80-reliefos-prune-test.hook" <<'HOOK' +[Trigger] +Operation = Remove +Type = Package +Target = reliefos-kernel-* + +[Action] +When = PostTransaction +Exec = /usr/bin/bash -c "printf 'system\n' >> /run/prune-hook-order" +HOOK +printf '%s\n' "${releases[obsolete]}" > "$root/run/prune-race-release" +if "${prune_command[@]}" --noconfirm "$root" "$root/boot" > "$work/guard-abort.log" 2>&1; then + echo 'transaction removed a newly protected release' >&2 + exit 1 +fi +grep -Fq 'transaction targets a protected release' "$work/guard-abort.log" +[[ $(cat "$root/run/prune-hook-order") == pre ]] +for key in obsolete older partial; do + "${pacman[@]}" -Q "${packages[$key]}" > /dev/null + [[ -f $root/usr/lib/modules/${releases[$key]}/kernel.sys ]] +done +printf '%s\n' "${releases[installed]}" > "$root/usr/lib/reliefos/kernel/current-release" +rm "$root/run/prune-race-release" +printf 'PASS AbortOnFail rechecks protection inside the real pacman lock before any removal\n' + +cp "$root/usr/lib/modules/${releases[slot]}/module.abi" "$work/slot.abi" +printf '%064d\n' 0 > "$root/usr/lib/modules/${releases[slot]}/module.abi" +if "${prune_command[@]}" --dry-run "$root" "$root/boot" > "$work/abi-failure.log" 2>&1; then + echo 'cleanup accepted a mismatched protected ABI' >&2 + exit 1 +fi +cp "$work/slot.abi" "$root/usr/lib/modules/${releases[slot]}/module.abi" + +# A prior partial unlink must not prevent the later standard removal transaction. +rm "$root/usr/lib/modules/${releases[partial]}/kernel.sys" +"${prune_command[@]}" --noconfirm "$root" "$root/boot" > "$work/removal.log" 2>&1 +for key in obsolete older partial; do + if "${pacman[@]}" -Q "${packages[$key]}" > /dev/null 2>&1; then + echo "obsolete package survived cleanup: $key" >&2 + exit 1 + fi + [[ ! -e $root/usr/lib/modules/${releases[$key]}/kernel/example.ko ]] +done +for key in running installed confirmed slot dependency; do + "${pacman[@]}" -Q "${packages[$key]}" > /dev/null + [[ -f $root/usr/lib/modules/${releases[$key]}/kernel.sys ]] + [[ -f $root/usr/lib/modules/${releases[$key]}/kernel/example.ko ]] +done +[[ $(cat "$root/run/prune-hook-order") == $'pre\npre\nsystem\npost' ]] +[[ $(cat "$root/usr/lib/modules/${releases[obsolete]}/user.ko") == 'user module' ]] +find "$root/boot" "$root/.reliefos" -type f -exec sha256sum {} + | sort > "$work/retained.after" +cmp "$work/retained.before" "$work/retained.after" +printf 'PASS separate removal transaction, partial-unlink retry, normal hooks, external modules and persistent/ESP retention\n' + +"${prune_command[@]}" --noconfirm "$root" "$root/boot" > "$work/repeat.log" 2>&1 +[[ $(cat "$root/run/prune-hook-order") == $'pre\npre\nsystem\npost' ]] +[[ -z $(find "$root/run" -maxdepth 1 -name 'reliefos-kernel-prune.*' -print -quit) ]] +printf 'PASS repeated cleanup is safe and private guards are removed\n' diff --git a/tests/integration/arch-kernel-upgrade-build.sh b/tests/integration/arch-kernel-upgrade-build.sh new file mode 100644 index 00000000..de5715d9 --- /dev/null +++ b/tests/integration/arch-kernel-upgrade-build.sh @@ -0,0 +1,62 @@ +#!/bin/bash +# Build a second signed kernel generation for the real-disk upgrade gate. +set -euo pipefail +source_root=$(realpath -e -- "$(dirname -- "$0")/../..") +if (( $# != 1 )); then + printf 'usage: %s ARCH_OUTPUT\n' "$0" >&2 + exit 2 +fi +output=$(realpath -e -- "$1") +[[ -f $output/.reliefos-arch-root && -f $output/images/reliefos.raw ]] +mkdir -p -- "$output/ci/arch-kernel-upgrade" +evidence=$(mktemp -d "$output/ci/arch-kernel-upgrade/run.XXXXXXXX") +printf 'arch-kernel-upgrade: evidence %s\n' "$evidence" +grep -Fxq CONFIG_VIRTIO_BLK=y "$output/reliefnt/.config" +mapfile -t current < "$output/packages/arch/reliefos-kernel-current" +[[ ${#current[@]} == 2 && ${current[1]} =~ ^reliefos-kernel-1\.([1-9][0-9]*)-1-x86_64\.pkg\.tar\.zst$ ]] +sequence=${BASH_REMATCH[1]} +old_releases=("$output"/arch-kernel/stage/usr/lib/modules/*) +[[ ${#old_releases[@]} == 1 && -d ${old_releases[0]} ]] +old_release=${old_releases[0]##*/} +work=$(mktemp -d "${output%/*}/.arch-kernel-upgrade.XXXXXXXX") +key_home= +cleanup() { + if [[ -n $key_home ]]; then + gpgconf --homedir "$key_home" --kill all || true + rm -rf -- "$key_home" + fi + rm -rf -- "$work" +} +trap cleanup EXIT +key_home=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-upgrade-signing.XXXXXXXX") +export RPR_GNUPGHOME=$key_home RPR_SIGNING_FINGERPRINT +gpg --no-options --homedir "$key_home" --batch --pinentry-mode loopback --passphrase '' \ + --quick-generate-key 'ReliefOS disposable kernel upgrade' ed25519 sign 1d +RPR_SIGNING_FINGERPRINT=$(gpg --no-options --homedir "$key_home" --batch --with-colons --fingerprint | + awk -F: '$1 == "fpr" && !seen++ {print $10}') + +# Both containers use /reliefos-build, preserving native dependency records. +# Exclude the large immutable disk and rootfs, along with old test evidence. +shopt -s dotglob nullglob +for path in "$output"/*; do + case ${path##*/} in images|arch-rootfs|ci|rpr-testing|.build-lock) continue ;; esac + cp -a --reflink=auto -- "$path" "$work/" +done +make -C "$source_root" O="$output" arch-rpr-testing +pointer=current-$RPR_SIGNING_FINGERPRINT +snapshot=$(<"$output/rpr-testing/$pointer") +mkdir -- "$work/rpr-testing" +cp -a --reflink=auto -- "$output/rpr-testing/$snapshot" "$output/rpr-testing/$pointer" "$work/rpr-testing/" +sed -i 's/^CONFIG_VIRTIO_BLK=y$/CONFIG_VIRTIO_BLK=m/' "$work/reliefnt/.config" +RELIEFOS_KERNEL_PACKAGE_SEQUENCE=$((sequence + 1)) make -C "$source_root" O="$work" arch-kernel +make -C "$source_root" O="$work" arch-rpr-testing +snapshot=$(<"$work/rpr-testing/$pointer") +new_releases=("$work"/arch-kernel/stage/usr/lib/modules/*) +[[ ${#new_releases[@]} == 1 && -d ${new_releases[0]} ]] +new_release=${new_releases[0]##*/} +[[ $new_release != "$old_release" ]] +test -s "$work/arch-kernel/stage/usr/lib/modules/$new_release/kernel/drivers/storage/virtio_blk/virtio_blk.ko" +python3 "$source_root/tools/test_arch_kernel_upgrade_qemu.py" \ + --disk "$output/images/reliefos.raw" --snapshot "$work/rpr-testing/$snapshot" \ + --fingerprint "$RPR_SIGNING_FINGERPRINT" --old-release "$old_release" --new-release "$new_release" \ + --timeout 600 --output "$evidence/boot" diff --git a/tests/integration/arch-kernel-upgrade.sh b/tests/integration/arch-kernel-upgrade.sh new file mode 100644 index 00000000..c87a048c --- /dev/null +++ b/tests/integration/arch-kernel-upgrade.sh @@ -0,0 +1,118 @@ +#!/bin/bash +# Exercise the signed package transaction and retained boots in a private guest. +set -euo pipefail +export LC_ALL=C +exec > /dev/console 2>&1 +action=$1 +trap 'printf "[arch-upgrade] failed action=%s line=%s status=%s\n" "$action" "$LINENO" "$?"' ERR +# shellcheck source=/dev/null +source /run/arch-fixture/config.sh +: "${old_release:?}" "${new_release:?}" "${fingerprint:?}" "${repo_url:?}" + +[[ $(readlink /proc/1/exe) == /usr/lib/systemd/systemd ]] +[[ $(findmnt -n -o FSTYPE --mountpoint /) == ext4 ]] +[[ $(findmnt -n -o FSTYPE --mountpoint /boot) == vfat ]] +systemctl is-active multi-user.target systemd-udevd.service systemd-networkd.service + +check_installed_releases() { + local release abi + for release in "$old_release" "$new_release"; do + abi=$(<"/usr/lib/modules/$release/module.abi") + pacman -Q "reliefos-kernel-${release,,}-$abi" + [[ $(pacman -Qoq "/usr/lib/modules/$release/kernel.sys") == "reliefos-kernel-${release,,}-$abi" ]] + done + [[ $( /run/upgrade-key.gpg + pacman-key --add /run/upgrade-key.gpg + pacman-key --lsign-key "$fingerprint" + cat > /run/upgrade-pacman.conf <&1 | tee /run/upgrade-transaction.log + kill "$diagnostic_pid" 2>/dev/null || : + wait "$diagnostic_pid" 2>/dev/null || : + ! grep -q '^error:' /run/upgrade-transaction.log + [[ $(uname -r) == "$old_release" ]] + check_installed_releases + reliefos-boot-update --status / | tee /run/upgrade-status + grep -Fxq state=complete /run/upgrade-status + grep -Fxq "release=$new_release" /run/upgrade-status + reliefos-kernel-bundle --prune-status / /boot | tee /run/upgrade-identities + grep -Fxq "confirmed_release=$old_release" /run/upgrade-identities + grep -Fxq "installed_release=$new_release" /run/upgrade-identities + ;; + new) + [[ $(uname -r) == "$new_release" ]] + bash /run/arch-fixture/check.sh + check_installed_releases + module=/usr/lib/modules/$new_release/kernel/drivers/storage/virtio_blk/virtio_blk.ko + [[ -f $module ]] + modinfo "$module" + modprobe -r virtio_blk + ! grep -q '^virtio_blk ' /proc/modules + [[ ! -e /dev/vda ]] + modprobe virtio_blk + grep '^virtio_blk ' /proc/modules + [[ -b /dev/vda ]] + mkdir -p /run/modulecheck + mount -t vfat -o ro /dev/vda /run/modulecheck + cmp /run/arch-fixture/config.sh /run/modulecheck/config.sh + umount /run/modulecheck + printf '[arch-upgrade] module unload/load and block I/O passed\n' + ;; + previous|fallback) + [[ $(uname -r) == "$old_release" ]] + check_installed_releases + reliefos-kernel-bundle --prune-status / /boot | tee /run/upgrade-identities + grep -Fxq "running_release=$old_release" /run/upgrade-identities + if [[ $action == fallback ]]; then + grep -Fxq "confirmed_release=$old_release" /run/upgrade-identities + else + grep -Fxq "confirmed_release=$new_release" /run/upgrade-identities + fi + ;; + unconfirmed) + [[ $(uname -r) == "$new_release" ]] + [[ $(systemctl show reliefos-boot-confirm.service -p LoadState --value) == masked ]] + check_installed_releases + reliefos-kernel-bundle --prune-status / /boot | tee /run/upgrade-identities + grep -Fxq "confirmed_release=$old_release" /run/upgrade-identities + for health in /boot/reliefos/state/kernel-?.health; do + if grep -aFxq reliefos_boot_confirmed=0 "$health"; then + grep -aFxq reliefos_boot_remaining=0 "$health" + consumed=1 + fi + done + [[ ${consumed-0} == 1 ]] + ;; + *) printf 'unknown upgrade phase %s\n' "$action" >&2; exit 2 ;; +esac +sync +printf '[arch-upgrade] action=%s complete failures=0 release=%s\n' "$action" "$(uname -r)" diff --git a/tests/integration/arch-rpr-pacman.sh b/tests/integration/arch-rpr-pacman.sh new file mode 100644 index 00000000..fe9dec38 --- /dev/null +++ b/tests/integration/arch-rpr-pacman.sh @@ -0,0 +1,192 @@ +#!/bin/bash +# Run only in the disposable Arch container. No host pacman state is visible. +set -euo pipefail +export LC_ALL=C +fingerprint=$1 +repo=rpr +keyring=reliefos-testing +work=$(mktemp -d /tmp/reliefos-rpr-client.XXXXXXXX) +served=$work/served +mkdir -p "$served" "$work/root" "$work/db" "$work/cache" "$work/hooks" +# This fixture checks archives and ownership with a package database in an +# otherwise empty installation root. +ln -s /dev/null "$work/hooks/90-reliefos-boot-update.hook" +ln -s /dev/null "$work/hooks/reliefos-keyring-update.hook" +# Only the preinstalled Arch dependency metadata is needed in this test root. +cp -a /var/lib/pacman/local "$work/db/" +cp -- /rpr/* "$served/" +(cd -- "$served" && sha256sum --quiet -c SHA256SUMS) +shopt -s nullglob +paru=("$served"/paru-*-x86_64.pkg.tar.zst) +if (( ${#paru[@]} != 1 )); then + echo 'testing RPR: expected one signed paru archive' >&2 + exit 1 +fi +test -s "${paru[0]}.sig" +python3 - "$served" "$work/port" <<'PY' & +from functools import partial +from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer +from pathlib import Path +import sys + +handler = partial(SimpleHTTPRequestHandler, directory=sys.argv[1]) +with ThreadingHTTPServer(("127.0.0.1", 0), handler) as server: + Path(sys.argv[2]).write_text(str(server.server_port)) + server.serve_forever() +PY +server=$! +trap 'kill "$server" 2>/dev/null || :; wait "$server" 2>/dev/null || :' EXIT +for ((attempt=0; attempt<100; attempt++)); do + [[ -s $work/port ]] && break + kill -0 "$server" + sleep 0.05 +done +port=$(<"$work/port") +[[ $port =~ ^[0-9]+$ ]] +cat > "$work/pacman.conf" < "$work/wrong.log" 2>&1; then + echo 'trust bootstrap accepted a different fingerprint' >&2; exit 1 +fi +grep -Fq 'public key does not match the pinned fingerprint' "$work/wrong.log" +[[ ! -e $work/wrong ]] +bash /rpr-trust.sh /rpr/$repo.gpg "$fingerprint" "$work/gnupg" + +# A valid-looking database with a mismatched detached signature cannot sync. +printf 'modified\n' >> "$served/$repo.db" +if "${pacman[@]}" -Syy > "$work/bad-db.log" 2>&1; then + echo 'pacman accepted a modified signed database' >&2; exit 1 +fi +grep -Eqi 'invalid.*signature|signature.*(invalid|wrong)' "$work/bad-db.log" || { + cat "$work/bad-db.log" >&2; exit 1; +} +cp -- "/rpr/$repo.db" "$served/$repo.db" + +# Keep package bytes and checksums intact; give pacman the wrong signature. +archives=("$served"/libreliefos-*.pkg.tar.zst) +[[ ${#archives[@]} == 1 ]] +cp -- "/rpr/$repo.db.sig" "${archives[0]}.sig" +if "${pacman[@]}" -Syy "${assumed_dependencies[@]}" --noscriptlet libreliefos "$keyring-keyring" > "$work/bad-package.log" 2>&1; then + echo 'pacman accepted a package with a different signature' >&2; exit 1 +fi +grep -Eqi 'invalid.*signature|signature.*(invalid|wrong)' "$work/bad-package.log" || { + cat "$work/bad-package.log" >&2; exit 1; +} +[[ ! -e $work/root/usr/lib/libreliefos.so.2 ]] +cp -- "/rpr/${archives[0]##*/}.sig" "${archives[0]}.sig" +# Use a fresh cache so a rejected signature cannot survive the retry. +mkdir "$work/cache-good" +"${pacman[@]}" -U "${assumed_dependencies[@]}" --noscriptlet /previous/paru-0.0.0-1-x86_64.pkg.tar.gz \ + /previous/reliefos-kernel-previous.pkg.tar.gz /previous/reliefos-kernel-old.pkg.tar.gz \ + /previous/libreliefos-5.3.4-1-x86_64.pkg.tar.gz /previous/reliefos-boot-0-1-any.pkg.tar.gz +[[ $("${pacman[@]}" -Q paru) == 'paru 0.0.0-1' ]] +printf '# locally customized\n' > "$work/root/etc/paru.conf" +"${pacman[@]}" --cachedir "$work/cache-good" -Syyu "${assumed_dependencies[@]}" --noscriptlet libreliefos reliefos-filesystem \ + reliefos-kernel reliefos-boot reliefos-calc reliefos-fileman reliefos-osver reliefos-installer \ + reliefos-packages reliefos-imageview reliefos-minesweeper reliefos-paint reliefos-relieftodo \ + reliefos-reliefcapture reliefos-reliefclipboard reliefos-reliefexcel reliefos-reliefppt \ + reliefos-reliefword "$keyring-keyring" +"${pacman[@]}" -Q libreliefos "$keyring-keyring" paru reliefos-filesystem reliefos-boot +# Check ownership and branding against the installation root, not the container. +"${pacman[@]}" -Qo -- "$work/root/etc/os-release" "$work/root/usr/lib/reliefos/os-release" > "$work/os-release.owners" +[[ $(grep -Fc ' is owned by reliefos-filesystem ' "$work/os-release.owners") == 2 ]] +[[ $(readlink "$work/root/etc/os-release") == ../usr/lib/reliefos/os-release ]] +grep -Fxq 'ID=reliefos' "$work/root/etc/os-release" +grep -Fxq 'ID_LIKE=arch' "$work/root/etc/os-release" +version=$("${pacman[@]}" -Q libreliefos) +version=${version#libreliefos } +grep -Fxq "VERSION_ID=${version%-*}" "$work/root/etc/os-release" +# The identity package must not claim Arch's vendor file or merged-usr links. +"${pacman[@]}" -Qlq reliefos-filesystem > "$work/filesystem.files" +network=usr/lib/systemd/network/89-reliefos-wired.network +[[ $("${pacman[@]}" -Qoq -- "$work/root/$network") == reliefos-filesystem ]] +for setting in '[Match]' 'Kind=!*' 'Type=ether' '[Network]' 'DHCP=yes' 'IPv6AcceptRA=yes'; do + grep -Fxq "$setting" "$work/root/$network" +done +filesystem_archives=("$served"/reliefos-filesystem-*-any.pkg.tar.zst) +[[ ${#filesystem_archives[@]} == 1 ]] +bsdtar -xOf "${filesystem_archives[0]}" .PKGINFO > "$work/filesystem.metadata" +grep -Fxq 'depend = systemd' "$work/filesystem.metadata" +if grep -Ex '/(bin|sbin|lib|lib64|usr/sbin|usr/lib/os-release|etc/resolv.conf)' "$work/filesystem.files"; then + echo 'reliefos-filesystem claimed a file owned by Arch filesystem' >&2; exit 1 +fi +[[ $("${pacman[@]}" -Q paru) == "$(pacman -Qp -- "${paru[0]}")" ]] +grep -Fxq '# locally customized' "$work/root/etc/paru.conf" +test -s "$work/root/etc/paru.conf.pacnew" +test -s "$work/root/usr/share/licenses/paru/LICENSE" + +# Execute the installed binary against the Arch runtime as a non-root UID. +chmod 711 "$work" +install -d -o 65534 -g 65534 -m 700 "$work/user" +setpriv --reuid=65534 --regid=65534 --clear-groups --no-new-privs \ + env HOME="$work/user" "$work/root/usr/bin/paru" --version | grep -E '^paru v.+ - libalpm v[0-9]' +test -s "$work/root/usr/lib/libreliefos.so.2" +for app in calc fileman osver installer imageview minesweeper paint relieftodo \ + reliefcapture reliefclipboard reliefexcel reliefppt reliefword; do + [[ $("${pacman[@]}" -Qoq -- "$work/root/usr/bin/$app") == "reliefos-$app" ]] + test -s "$work/root/usr/share/applications/$app.desktop" + test -s "$work/root/usr/share/icons/hicolor/48x48/apps/reliefos-$app.png" + test -s "$work/root/usr/share/locale/zh_CN/LC_MESSAGES/$app.mo" + test -s "$work/root/usr/share/locale/ja_JP/LC_MESSAGES/$app.mo" +done +for sprite in minesweeper-mine.bmp minesweeper-flag.bmp; do + path=$work/root/usr/share/reliefos/resources/$sprite + test -s "$path" + [[ $("${pacman[@]}" -Qoq -- "$path") == reliefos-minesweeper ]] +done +for app in relieftodo reliefexcel reliefppt reliefword; do + mime=$work/root/usr/share/mime/packages/$app.xml + test -s "$mime" + [[ $("${pacman[@]}" -Qoq -- "$mime") == "reliefos-$app" ]] +done +for app in paint reliefcapture reliefclipboard reliefppt; do + "${pacman[@]}" -Qi "reliefos-$app" > "$work/$app.metadata" + grep -Eq '^Depends On[[:space:]]*:.*libpng' "$work/$app.metadata" +done +autostart=$work/root/etc/xdg/autostart/reliefclipboard.desktop +test -s "$autostart" +[[ $("${pacman[@]}" -Qoq -- "$autostart") == reliefos-reliefclipboard ]] +grep -Fxq 'Exec=/usr/bin/reliefclipboard --daemon' "$autostart" +grep -Fxq 'TryExec=/usr/bin/reliefclipboard' "$autostart" +[[ $("${pacman[@]}" -Qoq -- "$work/root/usr/bin/reliefpackages") == reliefos-packages ]] +test -x "$work/root/usr/libexec/reliefos/package-transaction" +test -s "$work/root/usr/share/polkit-1/actions/org.reliefos.packages.policy" +test -s "$work/root/usr/share/locale/zh_CN/LC_MESSAGES/reliefpackages.mo" +test -s "$work/root/usr/share/locale/ja_JP/LC_MESSAGES/reliefpackages.mo" +"${pacman[@]}" -Qkk reliefos-boot +test -x "$work/root/usr/libexec/reliefos/kernel-bundle" +test -s "$work/root/usr/share/libalpm/hooks/90-reliefos-boot-update.hook" +set +e +LD_LIBRARY_PATH="$work/root/usr/lib" "$work/root/usr/libexec/reliefos/kernel-bundle" \ + --inspect "$work/root" missing > "$work/bundle.out" 2> "$work/bundle.err" +bundle_status=$? +set -e +[[ $bundle_status == 1 ]] && grep -Fq 'kernel-bundle: --inspect:' "$work/bundle.err" +updates=("$served"/reliefos-kernel-1.*-1-x86_64.pkg.tar.zst) +[[ ${#updates[@]} == 1 ]] +[[ $("${pacman[@]}" -Q reliefos-kernel) == "$(pacman -Qp -- "${updates[0]}")" ]] +dependency=$(bsdtar -xOf "${updates[0]}" .PKGINFO | sed -n 's/^depend = //p') +[[ $dependency == reliefos-kernel-*=1-1 ]] +"${pacman[@]}" -Q "${dependency%=*}" reliefos-kernel-previous +test -s "$work/root/usr/lib/modules/previous/kernel.sys" +keyrings=$work/root/usr/share/pacman/keyrings +cmp -- "/rpr/$repo.gpg" "$keyrings/$keyring.gpg" +grep -Fxq "$fingerprint:4:" "$keyrings/$keyring-trusted" +test -f "$keyrings/$keyring-revoked" +printf 'testing RPR: pacman installed signed packages, upgraded paru over HTTP and refused invalid trust/signatures\n' diff --git a/tests/integration/arch-rpr-testing.sh b/tests/integration/arch-rpr-testing.sh new file mode 100644 index 00000000..19ce2367 --- /dev/null +++ b/tests/integration/arch-rpr-testing.sh @@ -0,0 +1,543 @@ +#!/bin/bash +# End-to-end testing RPR gate. Owns a disposable signing key, never a release key. +set -euo pipefail +source_root=$(realpath -e -- "$(dirname -- "$0")/../..") +if (( $# < 1 || $# > 2 )) || [[ -n ${2:-} && $2 != --with-rootfs && $2 != --filesystem-only ]]; then + printf 'usage: %s ARCH_OUTPUT [--with-rootfs|--filesystem-only]\n' "$0" >&2 + exit 2 +fi +output=$(realpath -e -- "$1") +# This small gate needs only an existing Arch image, with no fetch or kernel build. +if [[ ${2:-} == --filesystem-only ]]; then + recipe_id=$(sha256sum "$source_root/tools/build/arch-root.Dockerfile") + image=${ARCH_TEST_IMAGE:-reliefos-arch-build:${recipe_id%% *}} + epoch=${SOURCE_DATE_EPOCH:-$(git -c core.commitGraph=false -C "$source_root" show -s --format=%ct HEAD)} + docker run --rm -i --pull=never --read-only --network none \ + --cap-drop=ALL --security-opt=no-new-privileges \ + --user "$(id -u):$(id -g)" --env HOME=/tmp \ + --env SOURCE_DATE_EPOCH="$epoch" \ + --tmpfs /tmp:rw,exec,nosuid,nodev,mode=1777 \ + --mount "type=bind,src=$source_root,dst=/source,readonly,bind-recursive=disabled" \ + --mount "type=bind,src=$output,dst=/output,bind-recursive=disabled" \ + "$image" bash -s <<'CHECK' +set -euo pipefail +work=$(mktemp -d /output/filesystem-check.XXXXXXXX) +trap 'rm -rf -- "$work"' EXIT +packages=$work/packages/arch +mkdir -p "$packages" +printf 'previous package\n' > "$packages/reliefos-filesystem-0-1-any.pkg.tar.zst" +printf 'previous signature\n' > "$packages/reliefos-filesystem-0-1-any.pkg.tar.zst.sig" +printf 'unrelated package\n' > "$packages/paru-0-1-x86_64.pkg.tar.zst" +bash /source/tools/build/arch-filesystem.sh /source "$work" +shopt -s nullglob +archives=("$packages"/reliefos-filesystem-*-any.pkg.tar.zst) +[[ ${#archives[@]} == 1 ]] || { + printf 'filesystem gate: expected one published archive, found %s\n' "${#archives[@]}" >&2 + exit 1 +} +[[ ! -e $packages/reliefos-filesystem-0-1-any.pkg.tar.zst.sig ]] +grep -Fxq 'unrelated package' "$packages/paru-0-1-x86_64.pkg.tar.zst" +# Keep the gate's publication evidence in its log after removing the fixture. +printf 'filesystem gate: one archive, old signature removed, unrelated package retained\n' +bsdtar -xOf "${archives[0]}" .PKGINFO > "$work/metadata" +grep -Fxq 'depend = filesystem' "$work/metadata" +grep -Fxq 'depend = systemd' "$work/metadata" +grep -Fxq 'depend = paru' "$work/metadata" +bsdtar -xOf "${archives[0]}" usr/share/reliefos/pacman/mirrorlist > "$work/mirrorlist" +printf '[options]\nArchitecture = x86_64\n[core]\nInclude = %s\n' "$work/mirrorlist" > "$work/pacman.conf" +mapfile -t mirrors < <(pacman-conf --config "$work/pacman.conf" --repo core Server) +[[ ${mirrors[0]} == https://mirrors.tuna.tsinghua.edu.cn/archlinux/core/os/x86_64 && + ${mirrors[1]} == https://geo.mirror.pkgbuild.com/core/os/x86_64 ]] +bsdtar -xOf "${archives[0]}" usr/bin/reliefos-update > "$work/reliefos-update" +sh "$work/reliefos-update" --help | grep -F 'Usage: reliefos-update' +bsdtar -xOf "${archives[0]}" usr/lib/systemd/network/89-reliefos-wired.network > "$work/wired.network" +for setting in '[Match]' 'Kind=!*' 'Type=ether' '[Network]' 'DHCP=yes' 'IPv6AcceptRA=yes'; do + grep -Fxq "$setting" "$work/wired.network" +done +bsdtar -tf "${archives[0]}" > "$work/members" +if grep -Ex 'etc/(resolv\.conf|pacman\.d/mirrorlist)' "$work/members"; then + echo 'filesystem overlay claimed an Arch-owned configuration file' >&2 + exit 1 +fi +# A failing packager can leave partial bytes in PKGDEST. Preserve the published +# archive and signature while discarding only that failed staging directory. +printf 'published signature\n' > "${archives[0]}.sig" +sha256sum "${archives[0]}" "${archives[0]}.sig" > "$work/published.sha256" +mkdir "$work/bin" +cat > "$work/bin/makepkg" <<'FAIL' +#!/bin/bash +for argument in "$@"; do + if [[ $argument == PKGDEST=* ]]; then + printf 'incomplete package\n' > "${argument#PKGDEST=}/reliefos-filesystem-broken-any.pkg.tar.zst" + fi +done +exit 73 +FAIL +chmod +x "$work/bin/makepkg" +status=0 +PATH="$work/bin:$PATH" bash /source/tools/build/arch-filesystem.sh /source "$work" || status=$? +[[ $status == 73 ]] +printf 'filesystem gate: makepkg failure exit=%s\n' "$status" +sha256sum --check "$work/published.sha256" +pending=("$packages"/.reliefos-filesystem.*) +[[ ${#pending[@]} == 0 ]] +rm -- "$work/bin/makepkg" +cat > "$work/bin/mv" <<'FAIL' +#!/bin/bash +if [[ ${@: -1} == "$FAIL_PUBLISH_TARGET" ]]; then + exit 74 +fi +exec /usr/bin/mv "$@" +FAIL +chmod +x "$work/bin/mv" +status=0 +PATH="$work/bin:$PATH" FAIL_PUBLISH_TARGET="${archives[0]}" \ + bash /source/tools/build/arch-filesystem.sh /source "$work" || status=$? +[[ $status == 74 ]] +printf 'filesystem gate: rename failure exit=%s\n' "$status" +sha256sum --check "$work/published.sha256" +pending=("$packages"/.reliefos-filesystem.*) +[[ ${#pending[@]} == 0 ]] +bash /source/tools/build/arch-filesystem.sh /source "$work" +[[ ! -e ${archives[0]}.sig ]] +archives=("$packages"/reliefos-filesystem-*-any.pkg.tar.zst) +[[ ${#archives[@]} == 1 ]] +printf 'filesystem gate: defaults, dependencies, publication and failure rollback passed\n' +CHECK + exit +fi +# The full RPR gate also checks repeated publication in the same output. +bash "$source_root/tests/integration/arch-rpr-testing.sh" "$output" --filesystem-only +scratch=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-rpr.XXXXXXXX") +trap 'gpgconf --homedir "$scratch" --kill gpg-agent; rm -rf -- "$scratch"' EXIT + +export RPR_GNUPGHOME=$scratch +export RPR_SIGNING_FINGERPRINT + +gpg --no-options --homedir "$scratch" --batch --pinentry-mode loopback --passphrase '' \ + --quick-generate-key 'ReliefOS disposable testing RPR' ed25519 sign 1d +RPR_SIGNING_FINGERPRINT=$(gpg --no-options --homedir "$scratch" --batch --with-colons --fingerprint | \ + awk -F: '$1 == "fpr" && !seen++ {print $10}') + +before=() +shopt -s nullglob +before=("$output/rpr-testing"/*/) +make -C "$source_root" O="$output" arch-rpr-testing + +# Select the newly generated snapshot, not any old local development output. +snapshot= +for candidate in "$output/rpr-testing"/*/; do + seen=0 + for old in "${before[@]}"; do + if [[ $candidate == "$old" ]]; then seen=1; break; fi + done + if (( !seen )); then + [[ -z $snapshot ]] + snapshot=${candidate%/} + fi +done +[[ -n $snapshot ]] +[[ $(<"$snapshot/source-commit") == "$(git -C "$source_root" rev-parse HEAD)" ]] +grep -Eq '^[0-9a-f]{64} \./source-commit$' "$snapshot/SHA256SUMS" +recipe_id=$(sha256sum "$source_root/tools/build/arch-root.Dockerfile") +image=reliefos-arch-build:${recipe_id%% *} + +# Seed an older local version without requiring a historical RPR snapshot or +# weakening signature policy. Neither the fixture nor the key joins the RPR. +fixture=$scratch/previous +mkdir -p "$fixture/root/etc" "$fixture/root/usr/bin" "$fixture/packages" \ + "$fixture/runtime" "$fixture/boot/usr/bin" \ + "$fixture/kernel/usr/lib/modules/previous" "$fixture/kernel-meta" +cat > "$fixture/root/.PKGINFO" <<'PKG' +pkgname = paru +pkgbase = paru +pkgver = 0.0.0-1 +pkgdesc = Disposable RPR upgrade fixture +arch = x86_64 +size = 1 +backup = etc/paru.conf +PKG +printf '#!/bin/sh\necho "fixture paru v0.0.0"\n' > "$fixture/root/usr/bin/paru" +chmod 755 "$fixture/root/usr/bin/paru" +printf '# previous defaults\n' > "$fixture/root/etc/paru.conf" +old=$fixture/packages/paru-0.0.0-1-x86_64.pkg.tar.gz +tar --owner=0 --group=0 --numeric-owner -czf "$old" -C "$fixture/root" .PKGINFO etc usr +gpg --no-options --homedir "$scratch" --batch --local-user "$RPR_SIGNING_FINGERPRINT" --detach-sign "$old" +cat > "$fixture/kernel/.PKGINFO" <<'PKG' +pkgname = reliefos-kernel-previous +pkgbase = reliefos-kernel-previous +pkgver = 1-1 +arch = x86_64 +size = 16 +PKG +cat > "$fixture/kernel-meta/.PKGINFO" <<'PKG' +pkgname = reliefos-kernel +pkgbase = reliefos-kernel +pkgver = 0-1 +arch = x86_64 +size = 0 +depend = reliefos-kernel-previous=1-1 +PKG +printf 'previous kernel\n' > "$fixture/kernel/usr/lib/modules/previous/kernel.sys" +tar --owner=0 --group=0 --numeric-owner -czf "$fixture/packages/reliefos-kernel-previous.pkg.tar.gz" -C "$fixture/kernel" .PKGINFO usr +tar --owner=0 --group=0 --numeric-owner -czf "$fixture/packages/reliefos-kernel-old.pkg.tar.gz" -C "$fixture/kernel-meta" .PKGINFO +for old in "$fixture/packages"/reliefos-kernel-*.pkg.tar.gz; do + gpg --no-options --homedir "$scratch" --batch --local-user "$RPR_SIGNING_FINGERPRINT" --detach-sign "$old" +done +cat > "$fixture/runtime/.PKGINFO" <<'PKG' +pkgname = libreliefos +pkgbase = libreliefos +pkgver = 5.3.4-1 +arch = x86_64 +size = 0 +PKG +cat > "$fixture/boot/.PKGINFO" <<'PKG' +pkgname = reliefos-boot +pkgbase = reliefos-boot +pkgver = 0-1 +arch = any +size = 10 +PKG +printf 'old boot\n' > "$fixture/boot/usr/bin/reliefos-mkinitramfs" +tar --owner=0 --group=0 --numeric-owner -czf "$fixture/packages/libreliefos-5.3.4-1-x86_64.pkg.tar.gz" -C "$fixture/runtime" .PKGINFO +tar --owner=0 --group=0 --numeric-owner -czf "$fixture/packages/reliefos-boot-0-1-any.pkg.tar.gz" -C "$fixture/boot" .PKGINFO usr +for old in "$fixture/packages"/libreliefos-*.pkg.tar.gz "$fixture/packages"/reliefos-boot-*.pkg.tar.gz; do + gpg --no-options --homedir "$scratch" --batch --local-user "$RPR_SIGNING_FINGERPRINT" --detach-sign "$old" +done + +docker run --rm --pull=never --read-only --network none \ + --tmpfs /tmp:rw,exec,nosuid,nodev,mode=1777 --env HOME=/tmp \ + --mount "type=bind,src=$snapshot,dst=/rpr,readonly,bind-recursive=disabled" \ + --mount "type=bind,src=$fixture/packages,dst=/previous,readonly,bind-recursive=disabled" \ + --mount "type=bind,src=$source_root/tools/build/arch-rpr-trust.sh,dst=/rpr-trust.sh,readonly" \ + --mount "type=bind,src=$source_root/tests/integration/arch-rpr-pacman.sh,dst=/check.sh,readonly" \ + "$image" bash /check.sh "$RPR_SIGNING_FINGERPRINT" + +# Exercise consecutive releases with the real signing and repo-add tools. The +# two metadata fixtures make the ordering independent of the checkout's own +# kernel package sequence, while the newer payload is the real build output. +history=$scratch/history +# shellcheck source=/dev/null +source "$source_root/tools/build/arch-guest-packages.sh" +glibc_only_packages=() +reliefos_application_packages +app_packages=("${application_packages[@]}") +declare -A glibc_only +for package in "${glibc_only_packages[@]}"; do glibc_only[$package]=1; done +mkdir -p "$history/packages/arch" "$fixture/history-payload/usr/lib/modules/previous" \ + "$fixture/history-boot" "$fixture/history-incompatible-boot" \ + "$fixture/history-unconstrained-boot" "$fixture/history-wrong-arch-boot" \ + "$fixture/history-old-update" "$fixture/history-new-update" "$fixture/history-changed-update" +for package in paru reliefos-filesystem reliefos-st reliefos-desktop; do + packages=("$output"/packages/arch/"$package"-*.pkg.tar.zst) + [[ ${#packages[@]} == 1 ]] + cp -- "${packages[0]}" "$history/packages/arch/" +done +for package in "${app_packages[@]}"; do + archive=$(<"$output/packages/arch/$package-current") + cp -- "$output/packages/arch/$archive" "$history/packages/arch/" + printf '%s\n' "$archive" > "$history/packages/arch/$package-current" + mkdir -p "$fixture/history-$package" + dependency='libreliefos>=5.3.4-1' + if [[ ${glibc_only[$package]:-} == 1 ]]; then dependency=glibc; fi + cat > "$fixture/history-$package/.PKGINFO" < "$history/packages/arch/libreliefos-current" +boot=$(<"$output/packages/arch/reliefos-boot-current") +cp -- "$output/packages/arch/$boot" "$history/packages/arch/" +old_boot=reliefos-boot-1.1-1-any.pkg.tar.zst +old_runtime=libreliefos-5.3.4-1-x86_64.pkg.tar.zst +incompatible_boot=reliefos-boot-1.999999999-1-x86_64.pkg.tar.zst +unconstrained_boot=reliefos-boot-1.999999998-1-x86_64.pkg.tar.zst +wrong_arch_boot=reliefos-boot-1.999999997-1-x86_64.pkg.tar.zst +sed 's/pkgver = 0-1/pkgver = 1.1-1/' "$fixture/boot/.PKGINFO" > "$fixture/history-boot/.PKGINFO" +cat > "$fixture/history-incompatible-boot/.PKGINFO" <<'PKG' +pkgname = reliefos-boot +pkgbase = reliefos-boot +pkgver = 1.999999999-1 +arch = x86_64 +size = 0 +depend = libreliefos>=9999-1 +PKG +sed -e 's/pkgver = 1.999999999-1/pkgver = 1.999999998-1/' \ + -e '/^depend = libreliefos/d' "$fixture/history-incompatible-boot/.PKGINFO" > "$fixture/history-unconstrained-boot/.PKGINFO" +sed -e 's/pkgver = 1.999999999-1/pkgver = 1.999999997-1/' \ + -e 's/arch = x86_64/arch = any/' "$fixture/history-incompatible-boot/.PKGINFO" > "$fixture/history-wrong-arch-boot/.PKGINFO" +mapfile -t current_kernel < "$output/packages/arch/reliefos-kernel-current" +[[ ${#current_kernel[@]} == 2 ]] +new_payload=${current_kernel[0]} +new_name=${new_payload%-1-1-x86_64.pkg.tar.zst} +cp -- "$output/packages/arch/$new_payload" "$history/packages/arch/" +printf -v old_abi '%064d' 0 +old_name=reliefos-kernel-previous-$old_abi +old_payload=$old_name-1-1-x86_64.pkg.tar.zst +old_update=reliefos-kernel-1.1-1-x86_64.pkg.tar.zst +new_update=reliefos-kernel-1.2-1-x86_64.pkg.tar.zst +cat > "$fixture/history-payload/.PKGINFO" < "$fixture/history-payload/usr/lib/modules/previous/kernel.sys" +for version in old new; do + if [[ $version == old ]]; then + package_version=1.1-1 + dependency=$old_name + else + package_version=1.2-1 + dependency=$new_name + fi + cat > "$fixture/history-$version-update/.PKGINFO" < "$fixture/history-changed-update/changed" +docker run --rm --pull=never --read-only --network none --user "$(id -u):$(id -g)" \ + --mount "type=bind,src=$fixture,dst=/fixture" "$image" bash -euc ' + tar --zstd -cf "/fixture/$1" -C /fixture/history-payload .PKGINFO usr + tar --zstd -cf "/fixture/$2" -C /fixture/history-old-update .PKGINFO + tar --zstd -cf "/fixture/$3" -C /fixture/history-new-update .PKGINFO + tar --zstd -cf /fixture/changed.pkg.tar.zst -C /fixture/history-changed-update .PKGINFO changed + tar --zstd -cf "/fixture/$4" -C /fixture/history-boot .PKGINFO + tar --zstd -cf "/fixture/$5" -C /fixture/runtime .PKGINFO + tar --zstd -cf "/fixture/$6" -C /fixture/history-incompatible-boot .PKGINFO + tar --zstd -cf "/fixture/$7" -C /fixture/history-unconstrained-boot .PKGINFO + tar --zstd -cf "/fixture/$8" -C /fixture/history-wrong-arch-boot .PKGINFO + shift 8 + for package in "$@"; do + tar --zstd -cf "/fixture/$package-5.3.4-1-x86_64.pkg.tar.zst" -C "/fixture/history-$package" .PKGINFO + done +' -- "$old_payload" "$old_update" "$new_update" "$old_boot" "$old_runtime" "$incompatible_boot" \ + "$unconstrained_boot" "$wrong_arch_boot" "${app_packages[@]}" +cp -- "$fixture/$old_payload" "$fixture/$old_update" "$fixture/$new_update" "$history/packages/arch/" +cp -- "$fixture/$old_boot" "$fixture/$old_runtime" "$fixture/$incompatible_boot" \ + "$fixture/$unconstrained_boot" "$fixture/$wrong_arch_boot" "$history/packages/arch/" +history_pointer=$history/rpr-testing/current-$RPR_SIGNING_FINGERPRINT +publish_history() { + bash "$source_root/tools/build/arch-rpr-sign.sh" "$source_root" "$history" "$image" "$(id -u):$(id -g)" +} +expect_history_failure() { + local expected=$1 + if publish_history > "$scratch/history-error.log" 2>&1; then + printf 'testing RPR: accepted invalid history: %s\n' "$expected" >&2 + exit 1 + fi + grep -Fq "$expected" "$scratch/history-error.log" || { cat "$scratch/history-error.log" >&2; exit 1; } + [[ $(<"$history_pointer") == "$published_id" ]] +} + +printf '%s\n%s\n' "$old_payload" "$old_update" > "$history/packages/arch/reliefos-kernel-current" +printf '%s\n' "$old_boot" > "$history/packages/arch/reliefos-boot-current" +printf '%s\n' "$old_runtime" > "$history/packages/arch/libreliefos-current" +for package in "${app_packages[@]}"; do + old_app=$package-5.3.4-1-x86_64.pkg.tar.zst + cp -- "$fixture/$old_app" "$history/packages/arch/" + printf '%s\n' "$old_app" > "$history/packages/arch/$package-current" +done +publish_history +printf '%s\n%s\n' "$new_payload" "$new_update" > "$history/packages/arch/reliefos-kernel-current" +printf '%s\n' "$boot" > "$history/packages/arch/reliefos-boot-current" +printf '%s\n' "$runtime" > "$history/packages/arch/libreliefos-current" +for package in "${app_packages[@]}"; do + cp -- "$output/packages/arch/$package-current" "$history/packages/arch/$package-current" +done +publish_history +published_id=$(<"$history_pointer") +history_snapshot=$history/rpr-testing/$published_id +cmp -- "$fixture/$old_payload" "$history_snapshot/$old_payload" +test -s "$history_snapshot/$old_payload.sig" +tar -tzf "$history_snapshot/rpr.db" > "$scratch/history-db" +grep -Fxq "$old_name-1-1/desc" "$scratch/history-db" +grep -Fxq "$new_name-1-1/desc" "$scratch/history-db" +publish_history +published_id=$(<"$history_pointer") + +cp -- "$fixture/changed.pkg.tar.zst" "$history/packages/arch/$new_update" +expect_history_failure 'kernel update version has different contents' +cp -- "$fixture/$new_update" "$history/packages/arch/$new_update" +printf 'different package contents\n' >> "$history/packages/arch/$new_payload" +expect_history_failure 'kernel package identity has different contents' +cp -- "$output/packages/arch/$new_payload" "$history/packages/arch/$new_payload" +printf '%s\n%s\n' "$old_payload" "$old_update" > "$history/packages/arch/reliefos-kernel-current" +expect_history_failure 'kernel update version is older' +printf '%s\n%s\n' "$new_payload" "$new_update" > "$history/packages/arch/reliefos-kernel-current" +printf 'different boot package contents\n' >> "$history/packages/arch/$boot" +expect_history_failure 'boot package version has different contents' +cp -- "$output/packages/arch/$boot" "$history/packages/arch/$boot" +printf '%s\n' "$old_boot" > "$history/packages/arch/reliefos-boot-current" +expect_history_failure 'boot package version is older' +printf '%s\n' "$boot" > "$history/packages/arch/reliefos-boot-current" +printf 'different runtime package contents\n' >> "$history/packages/arch/$runtime" +expect_history_failure 'runtime package version has different contents' +cp -- "$output/packages/arch/$runtime" "$history/packages/arch/$runtime" +printf '%s\n' "$old_runtime" > "$history/packages/arch/libreliefos-current" +expect_history_failure 'runtime package version is older' +printf '%s\n' "$runtime" > "$history/packages/arch/libreliefos-current" +printf '%s\n' "$incompatible_boot" > "$history/packages/arch/reliefos-boot-current" +expect_history_failure 'boot package requires a newer runtime' +printf '%s\n' "$unconstrained_boot" > "$history/packages/arch/reliefos-boot-current" +expect_history_failure 'boot package lacks a valid minimum runtime dependency' +printf '%s\n' "$wrong_arch_boot" > "$history/packages/arch/reliefos-boot-current" +expect_history_failure 'boot package architecture disagrees with its filename' +printf '%s\n' "$boot" > "$history/packages/arch/reliefos-boot-current" + +# ReliefPackages is published alongside the other applications and must obey +# the same version, identity and runtime-dependency rules. +package=reliefos-packages +app_archive=$(<"$output/packages/arch/$package-current") +old_app=$package-5.3.4-1-x86_64.pkg.tar.zst +printf '%s\n' "$old_app" > "$history/packages/arch/$package-current" +expect_history_failure "$package package version is older" +printf '%s\n' "$app_archive" > "$history/packages/arch/$package-current" + +mkdir "$fixture/changed-app" "$fixture/unconstrained-app" +docker run --rm --pull=never --read-only --network none --user "$(id -u):$(id -g)" \ + --mount "type=bind,src=$output/packages/arch/$app_archive,dst=/original,readonly" \ + --mount "type=bind,src=$fixture,dst=/fixture" "$image" bash -euc ' + bsdtar -xOf /original .PKGINFO > /fixture/changed-app/.PKGINFO + printf "different package contents\n" > /fixture/changed-app/changed + tar --zstd -cf /fixture/changed-app.pkg.tar.zst -C /fixture/changed-app .PKGINFO changed + sed "/^depend = libreliefos/d" /fixture/changed-app/.PKGINFO > /fixture/unconstrained-app/.PKGINFO + tar --zstd -cf /fixture/unconstrained-app.pkg.tar.zst -C /fixture/unconstrained-app .PKGINFO +' +cp -- "$fixture/changed-app.pkg.tar.zst" "$history/packages/arch/$app_archive" +expect_history_failure "$package package version has different contents" +cp -- "$fixture/unconstrained-app.pkg.tar.zst" "$history/packages/arch/$app_archive" +expect_history_failure "$package package lacks a valid minimum runtime dependency" +cp -- "$output/packages/arch/$app_archive" "$history/packages/arch/$app_archive" +printf 'testing RPR: kernel history retained, repeated and rejected conflicting or older releases\n' + +if [[ ${2:-} == --with-rootfs ]]; then + repository_url=${RPR_SERVER_URL:-https://rpr.example.invalid/testing} + repository_url=${repository_url%/} + ARCH_DESKTOP=icewm RPR_SNAPSHOT=$snapshot RPR_SERVER_URL=$repository_url \ + make -C "$source_root" O="$output" arch-rootfs + archive=$output/arch-rootfs/reliefos-systemd-rootfs.tar.zst + test -s "$archive" + docker run --rm --pull=never --log-driver=none --read-only --network none \ + --cap-drop=ALL --security-opt=no-new-privileges \ + --mount "type=bind,src=$archive,dst=/rootfs.tar.zst,readonly" \ + "$image" tar --zstd -tf /rootfs.tar.zst > "$scratch/members" + for member in ./bin ./etc/os-release ./etc/machine-id ./sbin \ + ./usr/bin/init ./usr/bin/dracut ./usr/bin/reliefos-mkinitramfs ./usr/bin/reliefos-mkbundle \ + ./usr/bin/reliefos-kernel-bundle ./usr/bin/reliefos-boot-preflight \ + ./usr/libexec/reliefos/kernel-bundle ./usr/libexec/reliefos/pacman-keyring \ + ./usr/lib/reliefos/kernel/current-release \ + ./usr/lib/dracut/dracut-functions.sh \ + ./usr/lib/systemd/systemd ./usr/lib/systemd/system/reliefos-boot-confirm.service \ + ./usr/lib/systemd/system/reliefos-pacman-init.service \ + ./usr/share/libalpm/hooks/reliefos-keyring-update.hook \ + ./etc/systemd/system/multi-user.target.wants/reliefos-boot-confirm.service \ + ./etc/systemd/system/multi-user.target.wants/reliefos-pacman-init.service \ + ./etc/pacman.conf ./etc/pacman.d/reliefos-rpr.conf ./usr/bin/reliefos-update \ + ./etc/systemd/system/multi-user.target.wants/systemd-networkd.service \ + ./etc/systemd/system/sysinit.target.wants/systemd-resolved.service \ + ./etc/resolv.conf ./usr/lib/systemd/network/89-reliefos-wired.network \ + ./usr/lib/udev/hwdb.bin \ + ./usr/bin/Xorg ./usr/bin/xdm ./usr/bin/icewm-session ./usr/bin/st ./usr/bin/dex \ + ./usr/bin/calc ./usr/bin/fileman ./usr/bin/osver \ + ./usr/libexec/reliefos/fileman-volume-helper \ + ./usr/share/polkit-1/actions/org.reliefos.fileman.policy \ + ./usr/share/applications/calc.desktop ./usr/share/applications/fileman.desktop \ + ./usr/share/applications/osver.desktop ./usr/share/reliefos/resources/logo.png \ + ./etc/systemd/system/display-manager.service ./etc/systemd/system/default.target \ + ./usr/lib/systemd/system/xdm.service.d/50-reliefos.conf ./etc/pam.d/xdm \ + ./etc/reliefos/desktop-session ./etc/reliefos/xdm/xdm-config \ + ./usr/etc/icewm ./etc/icewm/startup \ + ./usr/lib/locale/locale-archive ./etc/locale.conf \ + ./var/lib/systemd/catalog/database ./var/lib/pacman/local/; do + grep -Fxq "$member" "$scratch/members" + done + docker run --rm -i --pull=never --log-driver=none --read-only --network none \ + --cap-drop=ALL --security-opt=no-new-privileges \ + --tmpfs /tmp:rw,nosuid,nodev,mode=1777 \ + --mount "type=bind,src=$archive,dst=/rootfs.tar.zst,readonly" \ + "$image" bash -s -- "$repository_url" <<'DEFAULTS' +set -euo pipefail +repository_url=$1 +work=$(mktemp -d) +trap 'rm -rf -- "$work"' EXIT +tar --zstd -xf /rootfs.tar.zst -C "$work" \ + ./etc/resolv.conf ./etc/pacman.conf ./etc/pacman.d/reliefos-rpr.conf \ + ./etc/pacman.d/mirrorlist ./usr/share/reliefos/pacman/mirrorlist \ + ./etc/systemd/system/multi-user.target.wants/reliefos-pacman-init.service \ + ./etc/systemd/system/multi-user.target.wants/systemd-networkd.service \ + ./etc/systemd/system/sysinit.target.wants/systemd-resolved.service \ + ./etc/systemd/system/display-manager.service ./etc/systemd/system/default.target \ + ./etc/reliefos/desktop-session ./etc/locale.conf \ + ./usr/etc/icewm ./etc/icewm/startup ./etc/icewm/theme ./usr/share/icewm/themes/default/default.theme \ + ./usr/lib/systemd/network/89-reliefos-wired.network +[[ $(readlink -- "$work/etc/resolv.conf") == ../run/systemd/resolve/stub-resolv.conf ]] +[[ $(readlink -- "$work/etc/systemd/system/multi-user.target.wants/reliefos-pacman-init.service") == /usr/lib/systemd/system/reliefos-pacman-init.service ]] +grep -Fxq '[rpr]' "$work/etc/pacman.d/reliefos-rpr.conf" +grep -Fxq 'SigLevel = Required TrustedOnly' "$work/etc/pacman.d/reliefos-rpr.conf" +grep -Fxq "Server = $repository_url" "$work/etc/pacman.d/reliefos-rpr.conf" +cmp -- "$work/etc/pacman.d/mirrorlist" "$work/usr/share/reliefos/pacman/mirrorlist" +grep -Fxq 'ParallelDownloads = 10' "$work/etc/pacman.conf" +grep -Fxq 'DisableSandboxFilesystem' "$work/etc/pacman.conf" +grep -Fxq 'DownloadUser = alpm' "$work/etc/pacman.conf" +awk '/^Include = \/etc\/pacman.d\/reliefos-rpr.conf$/ { included = 1 } /^\[core\]$/ { core = included; exit } END { if (!core) exit 1 }' "$work/etc/pacman.conf" +for entry in multi-user.target.wants/systemd-networkd.service sysinit.target.wants/systemd-resolved.service; do + target=$(readlink -- "$work/etc/systemd/system/$entry") + [[ $target == /usr/lib/systemd/system/${entry##*/} ]] +done +for setting in '[Match]' 'Kind=!*' 'Type=ether' '[Network]' 'DHCP=yes' 'IPv6AcceptRA=yes'; do + grep -Fxq "$setting" "$work/usr/lib/systemd/network/89-reliefos-wired.network" +done +printf 'rootfs network defaults: official units enabled and resolver stub selected\n' +[[ $(readlink -- "$work/etc/systemd/system/display-manager.service") == /usr/lib/systemd/system/xdm.service ]] +[[ $(readlink -- "$work/etc/systemd/system/default.target") == /usr/lib/systemd/system/graphical.target ]] +[[ $(<"$work/etc/reliefos/desktop-session") == icewm ]] +[[ $(readlink -- "$work/usr/etc/icewm") == /etc/icewm ]] +[[ $(stat -c %a -- "$work/etc/icewm/startup") == 755 ]] +grep -Fxq 'Theme="default/default.theme"' "$work/etc/icewm/theme" +grep -Fxq LANG=en_US.UTF-8 "$work/etc/locale.conf" +printf 'rootfs desktop defaults: XDM, IceWM and en_US.UTF-8 selected\n' +DEFAULTS + grep -Eq '^\./var/lib/pacman/local/dracut-[^/]+/desc$' "$scratch/members" + grep -Eq '^\./var/lib/pacman/local/reliefos-boot-[^/]+/desc$' "$scratch/members" + releases=("$output"/arch-kernel/stage/usr/lib/modules/*) + [[ ${#releases[@]} == 1 && -d ${releases[0]} ]] + release=${releases[0]##*/} + update_entry=${current_kernel[1]%-x86_64.pkg.tar.zst} + for member in "./usr/lib/modules/$release/kernel.sys" "./usr/lib/modules/$release/module.abi" \ + "./var/lib/pacman/local/$new_name-1-1/desc" "./var/lib/pacman/local/$update_entry/desc"; do + grep -Fxq "$member" "$scratch/members" || { + printf 'rootfs archive is missing %s\n' "$member" >&2 + exit 1 + } + done + for artifact in kernel.sys module.abi; do + docker run --rm --pull=never --log-driver=none --read-only --network none \ + --cap-drop=ALL --security-opt=no-new-privileges \ + --mount "type=bind,src=$archive,dst=/rootfs.tar.zst,readonly" \ + "$image" tar --zstd -xOf /rootfs.tar.zst "./usr/lib/modules/$release/$artifact" > "$scratch/$artifact" + cmp -- "${releases[0]}/$artifact" "$scratch/$artifact" + done + if grep -Eq '^\./((dev|proc|run|sys)/.+|etc/pacman\.d/gnupg(/|$)|var/lib/(dbus/machine-id|pacman/sync|reliefos/pacman-keyring\.ready)(/|$)|var/cache/pacman/pkg/.+)' "$scratch/members"; then + printf 'rootfs archive contains temporary mounts, bootstrap state or cached packages\n' >&2 + exit 1 + fi + RPR_SNAPSHOT=$snapshot RPR_SERVER_URL=$repository_url \ + make -C "$source_root" O="$output" arch-installer + test -s "$output/images/reliefos-installer.iso" +fi diff --git a/tests/integration/arch-runtime-package.sh b/tests/integration/arch-runtime-package.sh new file mode 100644 index 00000000..c562152f --- /dev/null +++ b/tests/integration/arch-runtime-package.sh @@ -0,0 +1,70 @@ +#!/bin/bash +# Check the actual libreliefos package, not the linker's build directory. +set -euo pipefail + +package=$(realpath -e -- "$1") +work=$(mktemp -d "$2/libreliefos-smoke.XXXXXXXX") +trap 'rm -rf -- "$work"' EXIT + +pacman -Qip -- "$package" +bsdtar -tf "$package" > "$work/files" +while IFS= read -r path; do + case $path in + .PKGINFO|.BUILDINFO|.MTREE|usr/|usr/lib/|usr/lib/libreliefos.so|usr/lib/libreliefos.so.2|\ + usr/include/|usr/include/reliefos/|usr/include/reliefos/*|\ + usr/share/|usr/share/licenses/|usr/share/licenses/libreliefos/|usr/share/licenses/libreliefos/*) ;; + *) printf 'unexpected libreliefos package entry: %s\n' "$path" >&2; exit 1 ;; + esac +done < "$work/files" +mkdir "$work/extracted" +bsdtar -xf "$package" -C "$work/extracted" +usr=$work/extracted/usr +lib=$usr/lib/libreliefos.so.2 +[[ -f $lib && ! -L $lib && $(readlink -- "$usr/lib/libreliefos.so") == libreliefos.so.2 ]] +if [[ -e $usr/include/reliefos/api.h ]] || \ + nm -D --defined-only "$lib" | awk '{print $NF}' | grep -Eq '^(reliefos|leonos)_api_'; then + echo 'retired application-format API is present in the runtime package' >&2 + exit 1 +fi +readelf -d "$lib" > "$work/dynamic" +grep -Eq '\(SONAME\).*\[libreliefos\.so\.2\]' "$work/dynamic" +grep -Eq '\(NEEDED\).*\[libc\.so\.6\]' "$work/dynamic" +if grep -E 'RPATH|RUNPATH|\(NEEDED\).*(musl|mimalloc|\[libc\.so\])' "$work/dynamic"; then + echo 'unexpected runtime loader dependency or search path' >&2 + exit 1 +fi + +# Compile against the installed SDK alongside the unmodified Arch headers. +cat > "$work/consumer.c" <<'C' +#include +#include +#include +#include +#include +#include +#include +#include +#include + +_Static_assert(RELIEFOS_O_CLOEXEC == O_CLOEXEC, "open flags must agree"); +_Static_assert(RELIEFOS_MAP_PRIVATE == MAP_PRIVATE, "mmap flags must agree"); +_Static_assert(sizeof(struct reliefos_pty_termios) == 44, "termios2 size"); +_Static_assert(sizeof(struct reliefos_linux_sigaction) == 32, "kernel sigaction size"); + +int main(void) +{ + struct reliefos_stat st; + char utf8[4]; + uint32_t length, replacements; + if (!*gnu_get_libc_version() || reliefos_stat_legacy(".", &st) || + st.type != RELIEFOS_FS_TYPE_DIR) + return 1; + return reliefos_text_decode("\xd6\xd0", 2, RELIEFOS_TEXT_ENCODING_GBK, + utf8, sizeof utf8, &length, &replacements) || + replacements != 0 || length != 3 || memcmp(utf8, "\xe4\xb8\xad", 3); +} +C +cc -std=c11 -D_GNU_SOURCE -Wall -Wextra -Werror -I"$usr/include" \ + "$work/consumer.c" -L"$usr/lib" -lreliefos -o "$work/consumer" +LD_LIBRARY_PATH="$usr/lib" "$work/consumer" +printf 'libreliefos: merged-usr archive, glibc ELF and installed-header consumer verified\n' diff --git a/tests/integration/arch-systemd-boot.sh b/tests/integration/arch-systemd-boot.sh new file mode 100644 index 00000000..40b22c2e --- /dev/null +++ b/tests/integration/arch-systemd-boot.sh @@ -0,0 +1,68 @@ +#!/bin/bash +# Run inside the disposable guest once its real ext4 root is active. +set -euo pipefail +export LC_ALL=C +exec > /dev/console 2>&1 +report_failure() { + local line=$1 status=$2 logfile + trap - ERR + printf '[arch-systemd] collecting diagnostics line=%s status=%s\n' "$line" "$status" + systemctl --no-pager --full status xdm.service || true + journalctl -b -u xdm.service --no-pager -n 40 || true + for logfile in /var/log/reliefos-xdm/xdm.log /var/log/Xorg.0.log; do + if [[ -r $logfile ]]; then + printf '[arch-systemd] diagnostic %s\n' "$logfile" + tail -120 "$logfile" + fi + done + printf '[arch-systemd] failed line=%s status=%s\n' "$line" "$status" + exit "$status" +} +trap 'report_failure "$LINENO" "$?"' ERR + +[[ $(readlink /proc/1/exe) == /usr/lib/systemd/systemd ]] +[[ $(findmnt -n -o FSTYPE --mountpoint /) == ext4 ]] +[[ $(findmnt -n -o FSTYPE --mountpoint /boot) == vfat ]] +[[ ! -e /etc/initrd-release ]] +case " $( /dev/console 2>&1 +trap 'printf "[arch-test] failed line=%s status=%s\n" "$LINENO" "$?"' ERR + +if [[ ${1-} != copied ]]; then + target=multi-user.target + if [[ -L /etc/systemd/system/display-manager.service ]]; then + target=graphical.target + fi + systemctl start "$target" + systemctl is-active --quiet "$target" + printf '[arch-test] target=%s active\n' "$target" + mkdir -p /run/arch-fixture + cp -a /run/archcheck/. /run/arch-fixture/ + exec bash /run/arch-fixture/entry.sh copied +fi + +# The running script now lives on tmpfs, allowing the VirtIO module to unload. +umount /run/archcheck +action= +for argument in $( "$work/old.expected" -# Third-party internal exports were split into their own official libraries. -# Public first-party aliases remain the compatibility contract. -awk -v retired="$retired" '$1 !~ retired && $1 ~ /^(leonos_|reliefos_|text_input_)/' \ - "$root/tests/fixtures/brand-abi/old-shared-symbols.tsv" > "$work/shared.expected" - -test -x "$driver" -mkdir -p "$work/legacy-headers/leonos" -cp "$root/tests/fixtures/brand-abi/old-sdk/include/leonos/api.h" \ - "$work/legacy-headers/leonos/api.h" -cp "$root/tests/fixtures/brand-abi/old-sdk/include/leonos/tar.h" \ - "$work/legacy-headers/leonos/tar.h" - -RELIEFOS_SDK_ABI=leonos "$driver" -I"$work/legacy-headers" \ - "$root/tests/fixtures/brand-abi/old_api.c" -o "$work/old.elf" -cat > "$work/compat.c" <<'C' -#include -#include -#include -_Static_assert(sizeof(struct leonos_api_info) == 2072U, "legacy header layout changed"); -_Static_assert(offsetof(struct leonos_api_info, input_method_settings) == 1560U, - "legacy header offset changed"); -int (*volatile legacy_header_entry)(const char *, char *, uint32_t) = leonos_tar_list; -int main(void) { return legacy_header_entry == NULL; } -C -RELIEFOS_SDK_ABI=leonos "$driver" "$work/compat.c" -o "$work/compat.elf" -"$driver" "$root/tests/fixtures/brand-abi/new_api.c" -o "$work/new.elf" - -test -f "$compat_lib" -test -f "$new_lib" -test "$(cat "$root/tests/fixtures/brand-abi/old-soname.txt")" = libleonos.so.2 -readelf -d "$work/old.elf" | grep -q 'libleonos.so.2' -readelf -d "$work/compat.elf" | grep -q 'libleonos.so.2' -readelf -d "$work/new.elf" | grep -q 'libreliefos.so.2' -readelf -d "$compat_lib" | grep -q 'Library soname: \[libleonos.so.2\]' -readelf -d "$new_lib" | grep -q 'Library soname: \[libreliefos.so.2\]' - -nm -D --defined-only --format=posix "$compat_lib" | - awk '$1 ~ /^leonos_/ {print $1 "\t" $2}' | LC_ALL=C sort > "$work/old.actual" -join -t "$(printf '\t')" -v1 "$work/old.expected" "$work/old.actual" > "$work/old.missing" -test ! -s "$work/old.missing" -nm -D --defined-only --format=posix "$compat_lib" | - awk '{print $1 "\t" $2}' | LC_ALL=C sort > "$work/compat.all" -awk -v retired="$retired" '$1 ~ retired {print; failed=1} END {exit failed}' \ - "$work/compat.all" -nm -D --defined-only --format=posix "$new_lib" | - awk -v retired="$retired" '$1 ~ retired {print; failed=1} END {exit failed}' -tab=$(printf '\t') -join -t "$tab" -1 1 -2 1 \ - "$work/shared.expected" "$work/compat.all" \ - > "$work/shared.joined" -awk -F '\t' '$2 != $3 {print $1}' "$work/shared.joined" > "$work/shared.type-mismatch" -test ! -s "$work/shared.type-mismatch" -join -t "$tab" -v1 -1 1 -2 1 \ - "$work/shared.expected" "$work/compat.all" \ - > "$work/shared.missing" -test ! -s "$work/shared.missing" - -nm -D --defined-only --format=posix "$new_lib" | - awk '$1 ~ /^reliefos_/ {print $1 "\t" $2}' | LC_ALL=C sort > "$work/new.actual" -awk -F '\t' '{sub(/^leonos_/, "reliefos_", $1); print $1 "\t" $2}' \ - "$work/old.expected" > "$work/new.expected" -while IFS="$(printf '\t')" read -r symbol type; do - awk -F '\t' -v symbol="$symbol" -v type="$type" \ - '$1 == symbol && $2 == type { found = 1 } END { exit !found }' \ - "$work/new.actual" -done < "$work/new.expected" - -echo 'ok - supported SDK ABIs retain their SONAMEs and removed graphics exports are absent' diff --git a/tests/integration/pam-product.sh b/tests/integration/pam-product.sh deleted file mode 100644 index 630a5228..00000000 --- a/tests/integration/pam-product.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Run after make leonos-pam; verify the product module's target ABI. -set -eu -: "${PAM_ROOT:?new-chain PAM staging root required}" -module=$PAM_ROOT/lib/security/pam_leonos_password.so -test -f "$module" -readelf -h "$module" | grep -q 'Advanced Micro Devices X86-64' -readelf -d "$module" | grep -q 'NEEDED.*libpam.so.0' -readelf --dyn-syms --wide "$module" | grep -q 'GLOBAL.*DEFAULT.*pam_sm_chauthtok$' -readelf --dyn-syms --wide "$module" | grep -q 'GLOBAL.*DEFAULT.*leonos_auth_password_valid$' -printf '%s\n' 'ok - ReliefOS PAM product module ABI (legacy module name)' diff --git a/tests/integration/pam.sh b/tests/integration/pam.sh deleted file mode 100644 index b68c6314..00000000 --- a/tests/integration/pam.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh -# Integration contract: real cross-build, ABI and incremental recovery; no target ELF execution. -set -eu -: "${PAM_TEST_SOURCE:?patched Linux-PAM 1.7.3 source required}" -: "${PAM_TEST_SYSROOT:?musl sysroot required}" -: "${PAM_TEST_DEPS:?libcrypt and Linux headers staging root required}" -repo=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -cp -a "$PAM_TEST_SOURCE" "$work/src" -mkdir -p "$work/deps/usr" -ln -s "$PAM_TEST_DEPS/lib" "$work/deps/lib" -cp -as "$PAM_TEST_DEPS/usr/include" "$work/deps/usr/include" -if [ -n "${PAM_TEST_HEADERS:-}" ]; then - for entry in "$PAM_TEST_HEADERS"/*; do - name=${entry##*/} - [ -e "$work/deps/usr/include/$name" ] || ln -s "$entry" "$work/deps/usr/include/$name" - done -fi -run() { - make --no-print-directory -f "$repo/tools/build/pam/Makefile" \ - SRC="$work/src" BUILD="$work/build" DESTDIR="$work/root" \ - SYSROOT="$PAM_TEST_SYSROOT" DEPS="$work/deps" KERNEL_HEADERS="$work/deps/usr/include" CC="${CC:-clang}" "$@" -} -run -j4 install -for utility in pam_conv1 hmacfile; do - readelf -h "$work/build/bin/$utility" >/dev/null -done -for lib in pam pam_misc pamc; do - readelf -d "$work/root/lib/lib$lib.so.0" | grep -q "SONAME.*lib$lib.so.0" -done -for module in access canonicalize_user debug deny echo env exec faildelay faillock filter ftp group issue keyinit limits listfile localuser loginuid mail mkhomedir motd namespace nologin permit pwhistory rootok securetty setquota shells stress succeed_if time timestamp umask unix usertype warn wheel xauth; do - test -f "$work/root/lib/security/pam_$module.so" -done -for helper in faillock mkhomedir_helper pwhistory_helper pam_timestamp_check unix_chkpwd pam_namespace_helper; do - test -x "$work/root/sbin/$helper" -done -readelf -d "$work/root/lib/security/pam_unix.so" | grep -q 'NEEDED.*libcrypt.so.2' -readelf --dyn-syms --wide "$work/root/lib/security/pam_unix.so" | grep -q "UND.*crypt_rn" -readelf --dyn-syms --wide "$work/root/lib/libpam.so.0" | grep -q 'pam_start@@LIBPAM_1.0' -find "$work/build" -type f -printf '%p %T@\n' | sort > "$work/before" -run all -find "$work/build" -type f -printf '%p %T@\n' | sort > "$work/after" -cmp "$work/before" "$work/after" -rm "$work/build/lib/libpam_misc.so.0.82.1" -run all -test -f "$work/build/lib/libpam_misc.so.0.82.1" -printf 'PAM build, ABI, no-op and deleted-output recovery passed\n' -# Command-line flag changes invalidate real objects, not just an outer stamp. -before=$(stat -c %y "$work/build/obj/libpam/pam_start.o") -run all CFLAGS='-O1 -mno-avx -mno-avx2' -after=$(stat -c %y "$work/build/obj/libpam/pam_start.o") -[ "$before" != "$after" ] -find "$work/build" -type f -printf '%p %T@\n' | sort > "$work/before" -run all CFLAGS='-O1 -mno-avx -mno-avx2' -find "$work/build" -type f -printf '%p %T@\n' | sort > "$work/after" -cmp "$work/before" "$work/after" -# Failed compiler replacement must return nonzero and preserve published library. -before=$(sha256sum "$work/build/lib/libpam.so.0.85.1") -if run all CC=/bin/false >"$work/failed.log" 2>&1; then - echo 'broken compiler incorrectly succeeded' >&2 - exit 1 -fi -[ "$before" = "$(sha256sum "$work/build/lib/libpam.so.0.85.1")" ] -printf 'PAM parameter invalidation and failed compiler preservation passed\n' -# A real public-header edit must rebuild consumers without touching unrelated objects. -consumer_before=$(stat -c %y "$work/build/obj/libpam_misc/misc_conv.o") -unrelated_before=$(stat -c %y "$work/build/obj/libpam/pam_start.o") -printf '\n/* dependency regression */\n' >> "$work/src/libpam_misc/include/security/pam_misc.h" -run all CFLAGS='-O1 -mno-avx -mno-avx2' -[ "$consumer_before" != "$(stat -c %y "$work/build/obj/libpam_misc/misc_conv.o")" ] -[ "$unrelated_before" = "$(stat -c %y "$work/build/obj/libpam/pam_start.o")" ] -printf 'PAM header dependency isolation passed\n' diff --git a/tests/integration/runtime-dependencies.sh b/tests/integration/runtime-dependencies.sh deleted file mode 100644 index 024cec1d..00000000 --- a/tests/integration/runtime-dependencies.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Run both target linkage modes after moving the actual SDK to a path with spaces. -set -eu -: "${SDK_ROOT:?fresh musl SDK required}" -: "${MUSL_LOADER:?host-compatible musl loader required}" -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -cp -a "$SDK_ROOT" "$work/relocated SDK" -for mode in dynamic static; do - set -- - [ "$mode" != static ] || set -- -static - "$work/relocated SDK/bin/reliefos-musl-cc" "$@" "$src/tools/tests/runtime_apk_probe.c" -lsqlite3 -o "$work/$mode" - if [ "$mode" = dynamic ]; then - "$MUSL_LOADER" --library-path "$work/relocated SDK/lib" "$work/$mode" "$work/$mode.db" - else - "$work/$mode" "$work/$mode.db" - fi -done -printf 'ok - relocated SDK runs PNG/zlib/crypto/SQLite in both linkage modes\n' diff --git a/tests/integration/sdk-link.sh b/tests/integration/sdk-link.sh deleted file mode 100644 index ffb6695f..00000000 --- a/tests/integration/sdk-link.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# Target arithmetic must link in both modes, including compiler-provided helpers. -set -eu -: "${SDK_ROOT:?new musl SDK required}" -: "${MUSL_LOADER:?host-compatible musl loader required}" -w=$(mktemp -d) -trap 'rm -rf "$w"' EXIT HUP INT TERM -cat > "$w/div.c" <<'C' -volatile unsigned __int128 dividend = 123, divisor = 7; -int main(void) { return dividend / divisor != 17; } -C -"$SDK_ROOT/bin/reliefos-musl-cc" "$w/div.c" -o "$w/dynamic" -"$MUSL_LOADER" --library-path "$SDK_ROOT/lib" "$w/dynamic" -"$SDK_ROOT/bin/reliefos-musl-cc" -static "$w/div.c" -o "$w/static" -"$w/static" -echo 'ok - SDK dynamic/static compiler-rt arithmetic (Linux host)' diff --git a/tests/integration/test-apk-upgrade.sh b/tests/integration/test-apk-upgrade.sh deleted file mode 100644 index f8d9645d..00000000 --- a/tests/integration/test-apk-upgrade.sh +++ /dev/null @@ -1,240 +0,0 @@ -#!/bin/sh -# Exercise the actual guest updater in a private Linux mount namespace. This proves package -# transactions, not ReliefOS kernel/VM execution. All writes go to a private copy. -set -eu -[ "$#" = 2 ] || { echo 'usage: test-apk-upgrade OUTPUT_TREE OLD_MANAGED_ROOT' >&2; exit 2; } -out=$(CDPATH= cd -- "$1" && pwd -P) -old=$(CDPATH= cd -- "$2" && pwd -P) -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -key=${APK_SIGNING_KEY:-$HOME/.local/share/leonos/apk-signing/key.pem} -work=$(mktemp -d "$out/apk-upgrade-test.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -apk=$out/upstream/apk/apk.static -cp -a "$out/rootfs/managed" "$work/runner" -cp -a "$old" "$work/runner/target" -cp -a "$out/packages/apk/repository" "$work/runner/newrepo" -python3 - "$work/runner/newrepo" "$out/packages/apk/manifest.json" <<'PY' -import json, pathlib, sys -repository = pathlib.Path(sys.argv[1]) -manifest = json.loads(pathlib.Path(sys.argv[2]).read_text()) -packages = manifest["packages"] -if "reliefos-apps" not in packages: - raise SystemExit("new signed repository is missing reliefos-apps") -if any(name.startswith("leonos-") for name in packages): - raise SystemExit("new signed repository still publishes leonos-* packages") -missing = [] -for name in packages: - matches = [path for path in repository.glob(f"{name}-*.apk") - if not any(other.startswith(name + "-") and path.name.startswith(other + "-") - for other in packages)] - if len(matches) != 1: - missing.append(name) -if missing: - raise SystemExit(f"signed repository manifest references missing packages: {missing}") -PY -if [ -n "${PRIOR_BAD_REPOSITORY:-}" ]; then - cp -a "$PRIOR_BAD_REPOSITORY" "$work/runner/badrepo" -fi -mkdir -p "$work/external/usr/share/external-fixture" "$work/runner/fixture" \ - "$work/runner/target/etc/leonos" -printf 'external package preserved\n' > "$work/external/usr/share/external-fixture/data" -unshare -Ur "$apk" mkpkg --files "$work/external" --output "$work/runner/fixture/external.apk" \ - --info name:external-fixture --info version:1.0-r0 --info arch:x86_64 --sign-key "$key" -prior_errors=$(awk '/^f:/ && substr($0,3) ~ /[fs]/ {n++} END {print n+0}' "$work/runner/target/lib/apk/db/installed") -status=0 -unshare -Ur "$apk" --root "$work/runner/target" --repositories-file /dev/null add "$work/runner/fixture/external.apk" > "$work/add.log" 2>&1 || status=$? -cat "$work/add.log" -[ "$status" = "$prior_errors" ] -! grep -q '^ERROR:' "$work/add.log" -unshare -Ur "$apk" --root "$work/runner/target" info --exists external-fixture -for tool in ar strings; do - if [ -f "$old/usr/bin/$tool" ] && [ ! -L "$old/usr/bin/$tool" ]; then - cmp "$old/usr/bin/$tool" "$work/runner/target/usr/bin/$tool" - fi -done -printf 'local-admin-setting=yes\n' > "$work/runner/target/etc/leonos/upgrade-fixture.conf" -mkdir -p "$work/runner/target/etc/reliefos" -printf 'canonical-local-setting=yes\n' > "$work/runner/target/etc/reliefos/upgrade-fixture.conf" -printf 'LANG=C\nMUSL_LOCPATH=/usr/share/musl/locales\n' > "$work/runner/target/etc/leonos/locale.conf" -cp "$work/runner/target/etc/leonos/locale.conf" "$work/legacy-locale-before" -cp "$work/runner/target/etc/apk/world" "$work/world-before" -python3 - "$work/world-before" <<'PY' -from pathlib import Path -import re, sys -requests = Path(sys.argv[1]).read_text().splitlines() -selected = {re.split(r'[@<>=~]', request, 1)[0] for request in requests} -for package in ("dillo", "dillo-common"): - if package not in selected: - raise SystemExit(f"legacy world is missing the {package} request") -PY -for package in dillo dillo-common; do - if ! awk -v wanted="P:$package" '/^P:/{if($0==wanted) found=1} END{exit !found}' \ - "$work/runner/target/lib/apk/db/installed"; then - echo "legacy package database is missing $package" >&2 - exit 1 - fi -done -python3 - "$work/world-before" "$work/world-after-rename" <<'PY' -from pathlib import Path -import re, sys -requests = [re.sub('^leonos-', 'reliefos-', line) - for line in Path(sys.argv[1]).read_text().splitlines()] -upstream = {'reliefos-sl': ('sl',), 'reliefos-ncurses': ('ncurses', 'ncurses-terminfo'), - 'reliefos-sqlite': ('sqlite', 'sqlite-libs')} -selected = {re.split(r'[@<>=~]', request, 1)[0] for request in requests} -expected = set() -for request in requests: - name = re.split(r'[@<>=~]', request, 1)[0] - if name == 'dillo': - if 'netsurf' not in selected: - tag = re.search(r'@([a-zA-Z0-9_.+-]+)', request) - expected.add('netsurf' + ('@' + tag[1] if tag else '')) - elif name == 'dillo-common': - continue - elif name not in upstream: - expected.add(request) - else: - tag = re.search(r'@([a-zA-Z0-9_.+-]+)', request) - expected.update(package + ('@' + tag[1] if tag else '') - for package in upstream[name] if package not in selected) -Path(sys.argv[2]).write_text('\n'.join(sorted(expected)) + '\n') -PY -awk '/^P:/{if($0=="P:leonos-apps") found=1} END{exit !found}' \ - "$work/runner/target/lib/apk/db/installed" || { - echo 'legacy fixture does not contain an installed leonos-apps package' >&2 - exit 1 -} -legacy_key=$(python3 - "$out/packages/apk/manifest.json" <<'PY' -import json, sys -print(json.load(open(sys.argv[1], encoding="utf-8"))["legacy_signing_public_key"]) -PY -) -test -s "$work/runner/target/etc/apk/keys/$legacy_key" || { - echo "legacy installed signing key is missing: $legacy_key" >&2 - exit 1 -} -cp "$work/runner/target/etc/apk/keys/$legacy_key" "$work/old-signing-key.pub" -awk '/^P:/{p=$0} /^V:/{if(p=="P:external-fixture")print}' "$work/runner/target/lib/apk/db/installed" > "$work/external-before" -# Install the new command path while keeping old command aliases in the target. -mkdir -p "$work/runner/usr/lib/reliefos" "$work/runner/usr/lib/leonos" -cp "$src/userland/storage/reliefos-apk-update" "$work/runner/usr/lib/reliefos/reliefos-apk-update" -ln -sfn reliefos-apk-update "$work/runner/usr/lib/reliefos/leonos-apk-update" -ln -sfn ../reliefos/reliefos-apk-update "$work/runner/usr/lib/leonos/leonos-apk-update" -# pivot_root, rather than chroot, lets APK create its script sandbox on Linux. -# The old root remains mounted only inside this short-lived private namespace. -run_update() { -unshare -Urmp --fork sh -eu -c ' - mount --make-rprivate / - mount --bind "$1" "$1" - cd "$1" - mkdir -p .oldroot - pivot_root . .oldroot - exec /usr/lib/reliefos/reliefos-apk-update /target "$2" -' sh "$work/runner" "$1" -} -# Reindex the signed package archives without signing the index. The updater must -# reject this otherwise complete package set using the installed trust anchors. -mkdir "$work/runner/unsignedrepo" -for package in "$work/runner/newrepo"/*.apk; do - cp "$package" "$work/runner/unsignedrepo/" -done -"$apk" --allow-untrusted mkndx --output "$work/runner/unsignedrepo/packages.adb" \ - "$work/runner/unsignedrepo"/*.apk -cp "$work/runner/target/lib/apk/db/installed" "$work/database-before-signature-check" -if run_update /unsignedrepo > "$work/signature.log" 2>&1; then - echo 'updater accepted an unsigned repository index' >&2 - exit 1 -fi -grep -Eiq 'signature|trusted' "$work/signature.log" || { - cat "$work/signature.log" >&2 - echo 'unsigned repository failed for a reason other than signature verification' >&2 - exit 1 -} -cmp "$work/world-before" "$work/runner/target/etc/apk/world" -cmp "$work/database-before-signature-check" "$work/runner/target/lib/apk/db/installed" -cmp "$work/old-signing-key.pub" "$work/runner/target/etc/apk/keys/$legacy_key" -# A trusted index still cannot authorize a package payload with a bad digest. -# Validate this before the updater begins purging old packages. -cp -a "$work/runner/newrepo" "$work/runner/corruptrepo" -python3 - "$work/runner/corruptrepo" <<'PY' -import pathlib, sys -repository = pathlib.Path(sys.argv[1]) -packages = list(repository.glob("reliefos-apps-*.apk")) -if len(packages) != 1: - raise SystemExit(f"expected one signed reliefos-apps archive, found {len(packages)}") -with packages[0].open("r+b") as archive: - archive.seek(0, 2) - offset = archive.tell() // 2 - archive.seek(offset) - byte = archive.read(1) - archive.seek(offset) - archive.write(bytes([byte[0] ^ 1])) -PY -if run_update /corruptrepo > "$work/corrupt.log" 2>&1; then - echo 'updater accepted a package archive with a bad integrity digest' >&2 - exit 1 -fi -grep -Eiq 'checksum|file integrity|signature' "$work/corrupt.log" || { - cat "$work/corrupt.log" >&2 - echo 'corrupt package failed for a reason other than package integrity verification' >&2 - exit 1 -} -cmp "$work/world-before" "$work/runner/target/etc/apk/world" -cmp "$work/database-before-signature-check" "$work/runner/target/lib/apk/db/installed" -cmp "$work/old-signing-key.pub" "$work/runner/target/etc/apk/keys/$legacy_key" -if [ -n "${PRIOR_BAD_REPOSITORY:-}" ]; then - if run_update /badrepo > "$work/bad.log" 2>&1; then - echo 'expected the pre-existing package conflict to fail' >&2 - exit 1 - fi - grep 'trying to overwrite usr/bin/ar owned by binutils' "$work/bad.log" - grep 'trying to overwrite usr/bin/strings owned by binutils' "$work/bad.log" -fi -run_update /newrepo -LC_ALL=C sort "$work/world-after-rename" > "$work/world-after-rename.sorted" -LC_ALL=C sort "$work/runner/target/etc/apk/world" > "$work/world-after-update.sorted" -cmp "$work/world-after-rename.sorted" "$work/world-after-update.sorted" -if grep -Eq '^(dillo|dillo-common)([@<>=~]|$)' "$work/runner/target/etc/apk/world"; then - echo 'obsolete Dillo package requests remain in the installed world' >&2 - exit 1 -fi -grep -Eq '^netsurf([@<>=~]|$)' "$work/runner/target/etc/apk/world" -cmp "$work/old-signing-key.pub" "$work/runner/target/etc/apk/keys/$legacy_key" -for tool in ar strings; do - if [ -f "$old/usr/bin/$tool" ] && [ ! -L "$old/usr/bin/$tool" ]; then - cmp "$old/usr/bin/$tool" "$work/runner/target/usr/bin/$tool" - fi -done -printf 'local-admin-setting=yes\n' | cmp - "$work/runner/target/etc/leonos/upgrade-fixture.conf" -printf 'canonical-local-setting=yes\n' | cmp - "$work/runner/target/etc/reliefos/upgrade-fixture.conf" -printf 'external package preserved\n' | cmp - "$work/runner/target/usr/share/external-fixture/data" -awk '/^P:/{p=$0} /^V:/{if(p=="P:external-fixture")print}' "$work/runner/target/lib/apk/db/installed" | cmp - "$work/external-before" -new_version=$(sed -n 's/^ "version": "\([^"]*\)",/\1/p' "$out/packages/apk/manifest.json") -awk -v wanted="$new_version" '/^P:/{p=substr($0,3)} /^V:/{if(p~/^reliefos-/ && substr($0,3)!=wanted)exit 1}' "$work/runner/target/lib/apk/db/installed" -if awk '/^P:/{if(substr($0,3)~/^leonos-/) found=1} END {exit !found}' "$work/runner/target/lib/apk/db/installed"; then - echo 'legacy local APK packages remain installed after the ReliefOS upgrade' >&2 - exit 1 -fi -unshare -Ur "$apk" --root "$work/runner/target" info --exists reliefos-apps -if unshare -Ur "$apk" --root "$work/runner/target" info --exists leonos-apps; then - echo 'obsolete leonos-apps package remains installed after replacement' >&2 - exit 1 -fi -if awk '/^P:/{if($0=="P:dillo" || $0=="P:dillo-common") found=1} END {exit !found}' \ - "$work/runner/target/lib/apk/db/installed"; then - echo 'obsolete Dillo packages remain installed after the ReliefOS upgrade' >&2 - exit 1 -fi -awk ' - /^P:/ { package=substr($0,3); in_apps=(package=="reliefos-apps"); replaced=0; app_dir=0 } - in_apps && /^r:leonos-apps$/ { replaced=1 } - in_apps && /^F:usr\/lib\/reliefos$/ { app_dir=1 } - in_apps && /^R:libreliefos\.so\.2$/ && app_dir { owns_runtime=1 } - /^$/ { if (in_apps && replaced && owns_runtime) found=1; in_apps=0 } - END { if (found) exit 0; exit 1 } -' "$work/runner/target/lib/apk/db/installed" || { - echo 'ReliefOS APK database does not record replacement and ownership of the canonical runtime library' >&2 - exit 1 -} -cmp "$work/legacy-locale-before" "$work/runner/target/etc/reliefos/locale.conf" -printf 'APK upgrade: unsigned repository rejection, real ReliefOS package replacements, external package, world and local configuration verified\n' diff --git a/tests/integration/test-kernel-update.sh b/tests/integration/test-kernel-update.sh deleted file mode 100644 index 562c1306..00000000 --- a/tests/integration/test-kernel-update.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# Actual signed APK/kernel updates and native-bundle preflight in disposable -# namespaces. Firmware activation/recovery/reboot is covered by the GRUB test. -set -eu -[ "$#" -le 1 ] || { echo 'usage: test-kernel-update.sh [OUTPUT_DIR]' >&2; exit 2; } -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd -P) -if [ "$#" = 0 ]; then - exec python3 "$src/tools/test_kernel_update.py" -fi -mkdir -p "$1" -output=$(CDPATH= cd -- "$1" && pwd -P) -status=0 -python3 "$src/tools/test_kernel_update.py" > "$output/kernel-update.log" 2>&1 || status=$? -cat "$output/kernel-update.log" -exit "$status" diff --git a/tests/integration/test-motd-qemu.py b/tests/integration/test-motd-qemu.py deleted file mode 100644 index 6d9baf49..00000000 --- a/tests/integration/test-motd-qemu.py +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/env python3 -"""Run the MOTD/PAM-topology probe on ReliefNT using an isolated diagnostic ISO. -First build: make O=out image-vmdk iso -Then run: python3 tests/integration/test-motd-qemu.py out -No production image is modified; the existing ioctl regression launch slot is -used only in a private copy to avoid introducing a new kernel test hook. -""" -import os -import argparse -from pathlib import Path -import shutil -import subprocess -import sys -import tempfile -import time - -parser = argparse.ArgumentParser(description=__doc__) -parser.add_argument("out", type=Path) -parser.add_argument("--root", type=Path, help="root image; defaults to root.ext4, then root.ext2") -args = parser.parse_args() -src = Path(__file__).resolve().parents[2] -out = args.out.resolve() -log = out / 'logs/motd-qemu.log' -firmware = next((Path(p) for p in ('/usr/share/edk2/x64/OVMF.4m.fd', - '/usr/share/OVMF/OVMF_CODE_4M.fd', '/usr/share/ovmf/OVMF.fd') if Path(p).exists()), None) -assert firmware, 'OVMF firmware is required' - -def run(args, **kwargs): - return subprocess.run([str(a) for a in args], check=True, **kwargs) - -with tempfile.TemporaryDirectory(prefix='reliefos-motd-qemu-') as directory: - work = Path(directory) - probe = work / 'probe.elf' - run(['clang', '--target=x86_64-linux-musl', f'--sysroot={out}/sysroot/musl', - '--gcc-toolchain=/nonexistent', '-fuse-ld=lld', '--rtlib=compiler-rt', - '--unwindlib=none', '-static', '-O2', '-Wall', '-Wextra', '-Werror', - src / 'tools/tests/motd_guest_probe.c', '-o', probe]) - source_root = args.root.resolve() if args.root else next( - (candidate for candidate in (out / 'images/root.ext4', out / 'images/root.ext2') if candidate.exists()), - None, - ) - assert source_root and source_root.exists(), 'an ext4 or ext2 root image is required' - root = work / source_root.name - shutil.copyfile(source_root, root) - guest = '/usr/lib/reliefos/tests/linux-ioctl-cloexec.elf' - for command in ('mkdir /usr/lib/reliefos/tests', f'rm {guest}', - f'write {probe} {guest}', f'set_inode_field {guest} mode 0100755'): - run(['debugfs', '-w', '-R', command, root], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) - config = work / 'grub.cfg' - config.write_text((src / 'boot/grub/live.cfg').read_text().replace('set timeout=5', 'set timeout=0') - .replace('bootlog=1', '').replace('mode=live', 'mode=live autospawn=ioctlcloexec')) - iso = work / 'motd.iso' - with (work / 'iso.log').open('w') as build_log: - run(['sh', src / 'tools/build/iso.sh', src, out / 'grub-efi/lib/grub/x86_64-efi', - out / 'stage/esp', root, config, iso, '1790100000', 'RELIEFOSMOTD', - out / 'grub-host/lib/grub/i386-pc', out / 'grub-host/bin/grub-mkimage'], - env=dict(os.environ, GRUB_MKSTANDALONE=str(out / 'grub-host/bin/grub-mkstandalone')), - stdout=build_log, stderr=subprocess.STDOUT) - args = ['qemu-system-x86_64', '-machine', 'q35', '-m', '2048', '-smp', '2', - '-bios', str(firmware), '-display', 'none', '-serial', f'file:{log}', - '-cdrom', str(iso), '-boot', 'd', '-no-reboot', - '-device', 'VGA', '-netdev', 'user,id=net0', '-device', 'e1000,netdev=net0'] - args += ['-enable-kvm', '-cpu', 'host'] if os.access('/dev/kvm', os.R_OK | os.W_OK) else ['-cpu', 'max'] - log.write_text('') - with (out / 'logs/motd-qemu-stderr.log').open('w') as errors: - process = subprocess.Popen(args, stderr=errors, stdout=subprocess.DEVNULL) - try: - deadline = time.monotonic() + 180 - while time.monotonic() < deadline: - text = log.read_text(errors='replace') if log.exists() else '' - if '!!!! X64 Exception' in text: - raise RuntimeError(f'Firmware/GRUB failed before kernel startup: see {log}') - if '[motd-test] DONE' in text: - assert '[motd-test] DONE failures=0' in text, text[text.find('[motd-test] BEGIN'):] - print(text[text.find('[motd-test] BEGIN'):]) - print(f'PASS ReliefNT: PTY width, both locales, sysinfo load and .hushlogin; {log}') - break - if process.poll() is not None: - raise RuntimeError(f'QEMU exited: see {log}') - time.sleep(1) - else: - raise TimeoutError(f'MOTD guest probe timed out: see {log}') - finally: - if process.poll() is None: - process.terminate() - try: process.wait(timeout=5) - except subprocess.TimeoutExpired: - process.kill(); process.wait() diff --git a/tests/integration/test-motd.py b/tests/integration/test-motd.py deleted file mode 100644 index d9c4798a..00000000 --- a/tests/integration/test-motd.py +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env python3 -"""Exercise real POSIX PTYs, including PAM's setsid + stdout-pipe topology. -Usage: python3 tests/integration/test-motd.py /path/to/host-runnable/motd -""" -import datetime -import fcntl -import os -from pathlib import Path -import pty -import struct -import subprocess -import sys -import termios -import unicodedata - -binary = Path(sys.argv[1]).resolve() -master, slave = pty.openpty() -try: - for width in (20, 40, 80, 120): - fcntl.ioctl(slave, termios.TIOCSWINSZ, struct.pack('HHHH', 24, width, 0, 0)) - for language in ('en_US.UTF-8', 'zh_CN.UTF-8'): - env = dict(os.environ, LANG=language, LC_ALL='', LC_MESSAGES='', - PAM_TTY=os.ttyname(slave), TZ='UTC0', COLUMNS='999') - before = datetime.datetime.now(datetime.timezone.utc) - output = subprocess.check_output([binary], env=env, stdin=subprocess.DEVNULL, - start_new_session=True, text=True) - after = datetime.datetime.now(datetime.timezone.utc) - assert output.startswith('欢迎使用 ' if language.startswith('zh') else 'Welcome to ') - for line in output.splitlines(): - cells = sum(0 if unicodedata.combining(c) else - 2 if unicodedata.east_asian_width(c) in ('W', 'F') else 1 - for c in line) - assert cells <= width - 1, (width, line, cells) - if width >= 80: - assert os.uname().release in output - assert os.uname().machine in output - stamp = output.splitlines()[1].split(':')[-1].removeprefix('System information as of ') - observed = datetime.datetime.strptime(stamp, '%Y-%m-%d %H:%M:%S UTC').replace(tzinfo=datetime.timezone.utc) - assert before - datetime.timedelta(seconds=1) <= observed <= after - assert ('内存:' if language.startswith('zh') else 'Memory:') in output - env.update(LANG='zh_CN.UTF-8', LC_MESSAGES='en_US.UTF-8') - assert subprocess.check_output([binary], env=env, text=True).startswith('Welcome to ') - env['LC_ALL'] = 'zh_CN.UTF-8' - assert subprocess.check_output([binary], env=env, text=True).startswith('欢迎使用 ') -finally: - os.close(slave) - os.close(master) -print('motd PTY: 20/40/80/120 columns, PAM pipe, current uname/time and locale precedence passed') diff --git a/tests/integration/test-official-tools.sh b/tests/integration/test-official-tools.sh deleted file mode 100644 index 4b8cf101..00000000 --- a/tests/integration/test-official-tools.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# Check the actual offline APK transaction output, not source declarations. -# Catches missing binary preinstalls and accidental repackaging as local apps. -set -eu -out=${1:?usage: test-official-tools.sh OUTPUT_TREE} -out=$(CDPATH= cd -- "$out" && pwd -P) -root=$out/rootfs/managed -apk=$out/upstream/apk/apk.static -work=$(mktemp -d) -trap 'rm -rf "$work"' EXIT HUP INT TERM -for package in file libmagic less libncursesw ncurses-terminfo-base vim vim-common xxd; do - "$apk" --root "$root" info --exists "$package" -done -for command in file less vim; do - "$apk" --root "$root" info --who-owns "/usr/bin/$command" > "$work/owner" - grep -F "is owned by $command-" "$work/owner" - # Compare with the signed archive directly: no rebuilt/replaced executable. - set -- "$out/upstream/apk/packages/$command-"[0-9]*.apk - [ "$#" = 1 ] && [ -f "$1" ] - tar --ignore-zeros -xOf "$1" "usr/bin/$command" > "$work/binary" 2>/dev/null - cmp "$work/binary" "$root/usr/bin/$command" -done -for command in lua tcc; do - [ ! -e "$root/usr/bin/$command" ] && [ ! -L "$root/usr/bin/$command" ] -done -for command in file less vim lua tcc; do - [ ! -e "$root/usr/lib/leonos/apps/$command" ] -done -if grep -Eq '^P:(leonos-(file|less|vim|lua|tcc|editors)|tcc|lua[0-9.]*)$' "$root/lib/apk/db/installed"; then - echo 'retired local package or optional compiler/interpreter is still installed' >&2 - exit 1 -fi -for repository in "$out/packages/apk/repository" "$out/rpr-apps/repository" "$out/rpr-pages"; do - [ -d "$repository" ] || continue - if find "$repository" -type f | grep -E '/leonos-(file|less|vim|lua|tcc|editors)-[0-9].*\.apk$'; then - echo 'retired local package remains in repository' >&2 - exit 1 - fi -done -printf 'official tools: signed binary bytes, APK ownership and retired payload checks passed\n' diff --git a/tests/integration/test-runtime-apk-upgrade.sh b/tests/integration/test-runtime-apk-upgrade.sh deleted file mode 100644 index 59580d3f..00000000 --- a/tests/integration/test-runtime-apk-upgrade.sh +++ /dev/null @@ -1,130 +0,0 @@ -#!/bin/sh -# Actual signed APK transaction on a pre-migration managed root. -set -eu -[ "$#" = 2 ] || { echo 'usage: test-runtime-apk-upgrade.sh OUTPUT OLD_MANAGED_ROOT' >&2; exit 2; } -out=$(CDPATH= cd -- "$1" && pwd) -old=$(CDPATH= cd -- "$2" && pwd) -work=$(mktemp -d "$out/runtime-apk-upgrade.XXXXXX") -cleanup() { - if [ "${KEEP_UPGRADE_WORK:-0}" = 1 ]; then printf 'upgrade work: %s\n' "$work" - else rm -rf "$work" - fi -} -trap cleanup EXIT HUP INT TERM -cp -a --reflink=auto "$out/rootfs/managed" "$work/runner" -cp -a --reflink=auto "$old" "$work/runner/target" -cp -a --reflink=auto "${APK_UPGRADE_REPOSITORY:-$out/packages/apk/repository}" "$work/runner/newrepo" -printf 'migration-admin-config=yes\n' > "$work/runner/target/etc/reliefos/apk-upgrade-fixture.conf" -# Exercise legacy aliases/tags and old local version pins without making them -# constraints on the unrelated upstream version scheme. An existing official -# pin remains authoritative; other missing requests inherit the retired tag. -if [ "${APK_UPGRADE_TEST_TAGGED_WORLD:-0}" = 1 ]; then - python3 - "$work/runner/target" <<'PY' -from pathlib import Path -import sys -root = Path(sys.argv[1]) -versions = {} -for block in (root / 'lib/apk/db/installed').read_text().split('\n\n'): - fields = dict(line.split(':', 1) for line in block.splitlines() if line[:2] in ('P:', 'V:')) - if 'P' in fields: - versions[fields['P']] = fields['V'] -world = root / 'etc/apk/world' -requests = [] -for request in world.read_text().splitlines(): - name = request.split('=', 1)[0] - if name in ('sl', 'sqlite', 'sqlite-libs'): - continue - if name == 'reliefos-sl': - request = 'leonos-sl@migration=' + versions[name] - elif name in ('reliefos-ncurses', 'reliefos-sqlite'): - request = name + '@migration=' + versions[name] - requests.append(request) -world.write_text('\n'.join(requests) + '\n') -PY -fi -cp "$work/runner/target/etc/apk/world" "$work/world.before" -cp "$work/runner/target/lib/apk/db/installed" "$work/database.before" -python3 - "$work/world.before" "$work/world.expected" <<'PY' -from pathlib import Path -import re, sys -requests = Path(sys.argv[1]).read_text().splitlines() -replacements = {'reliefos-sl': ('sl',), 'reliefos-ncurses': ('ncurses', 'ncurses-terminfo'), - 'reliefos-sqlite': ('sqlite', 'sqlite-libs')} -requests = [re.sub('^leonos-', 'reliefos-', request) for request in requests] -existing = {re.split(r'[@<>=~]', request, 1)[0] for request in requests} -expected = set() -for request in requests: - name = re.split(r'[@<>=~]', request, 1)[0] - if name not in replacements: - expected.add(request) - continue - tag = re.search(r'@([a-zA-Z0-9_.+-]+)', request) - expected.update(package + ('@' + tag[1] if tag else '') - for package in replacements[name] if package not in existing) -Path(sys.argv[2]).write_text('\n'.join(sorted(expected)) + '\n') -PY -run_update() { -unshare -mp --fork sh -eu -c ' - mount --make-rprivate / - mount --bind "$1" "$1" - mkdir -p "$1/proc" "$1/dev" - mount -t proc proc "$1/proc" - for device in null zero random urandom; do - touch "$1/dev/$device" - mount --bind "/dev/$device" "$1/dev/$device" - done - cd "$1" - mkdir -p .oldroot - pivot_root . .oldroot - exec /usr/lib/reliefos/reliefos-apk-update "$2" /target "$3" -' sh "$work/runner" "$1" "${2:-/newrepo}" -} -# A signed index alone is insufficient: all newly selected command archives -# must be fetched and verified before changing the installed world/database. -cp -al "$work/runner/newrepo" "$work/runner/incomplete-repo" -rm "$work/runner/incomplete-repo/"ncurses-[0-9]*.apk -if run_update --check /incomplete-repo >"$work/missing-archive.log" 2>&1; then - echo 'updater accepted a missing replacement command archive' >&2 - exit 1 -fi -cmp "$work/world.before" "$work/runner/target/etc/apk/world" -cmp "$work/database.before" "$work/runner/target/lib/apk/db/installed" -run_update --check -root=$work/runner/target -cmp "$work/world.before" "$root/etc/apk/world" -cmp "$work/database.before" "$root/lib/apk/db/installed" -run_update --apply -LC_ALL=C sort "$root/etc/apk/world" > "$work/world.after" -cmp "$work/world.expected" "$work/world.after" -printf 'migration-admin-config=yes\n' | cmp - "$root/etc/reliefos/apk-upgrade-fixture.conf" -apk=$out/upstream/apk/apk.static -for spec in 'sl usr/bin/sl' 'ncurses usr/bin/tput' 'sqlite-libs usr/lib/libsqlite3.so.0' \ - 'mbedtls3 usr/lib/libmbedtls.so.21' 'zlib usr/lib/libz.so.1' 'libpng usr/lib/libpng16.so.16'; do - set -- $spec - unshare -Ur "$apk" --root "$root" info --who-owns "/$2" | grep -F "$1-" -done -for component in sl ncurses sqlite; do - for prefix in reliefos leonos; do - package=$prefix-$component - if unshare -Ur "$apk" --root "$root" info --exists "$package"; then - printf 'retired package remains installed: %s\n' "$package" >&2 - exit 1 - fi - for archive in "$root/usr/share/reliefos/apk/repository/$package-"[0-9]*.apk; do - test ! -e "$archive" && test ! -L "$archive" - done - done -done -test ! -e "$root/usr/lib/sqlite.so.3" -test ! -e "$root/usr/lib/reliefos/apps/sl" -test ! -e "$root/usr/share/doc/reliefos/apk-transitions" -if grep -Eq '^(leonos|reliefos)-(sl|ncurses|sqlite)([@<>=~]|$)' "$root/etc/apk/world"; then - echo 'retired world requests remain after migration' >&2 - exit 1 -fi -cp "$root/etc/apk/world" "$work/world.committed" -cp "$root/lib/apk/db/installed" "$work/database.committed" -run_update --check -cmp "$work/world.committed" "$root/etc/apk/world" -cmp "$work/database.committed" "$root/lib/apk/db/installed" -printf 'ok - signed upgrade removes retired packages/files/cache, migrates world and preserves other requests/configuration\n' diff --git a/tests/integration/upstream-incremental.sh b/tests/integration/upstream-incremental.sh deleted file mode 100755 index cbec32eb..00000000 --- a/tests/integration/upstream-incremental.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# Requires a real configured O; never edits project sources. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -out=${1:?usage: upstream-incremental.sh O} -make_out=$out -out=$(CDPATH= cd -- "$out" && pwd) -work=$(mktemp -d "$out/meta/upstream-incremental.XXXXXX") -trap 'rm -rf "$work"' EXIT -snapshot() { - for pkg in libbsd util-linux sudo shadow exfatprogs; do - find "$out/upstream/$pkg/root" -type f -printf '%p %T@ %s\n' - done - find "$out/upstream/apk" "$out/upstream/runtime-development" -type f -printf '%p %T@ %s\n' - find "$out/userland" -type f -printf '%p %T@ %s\n' - if [ -d "$out/resources" ]; then find "$out/resources" -type f -printf '%p %T@ %s\n'; fi -} -make -C "$src" O="$make_out" leonos-upstream -j8 > "$work/baseline.log" 2>&1 || { cat "$work/baseline.log" >&2; exit 1; } -snapshot > "$work/before.unsorted" -LC_ALL=C sort "$work/before.unsorted" > "$work/before" -make -C "$src" O="$make_out" leonos-upstream -j8 > "$work/noop.log" 2>&1 || { cat "$work/noop.log" >&2; exit 1; } -snapshot > "$work/after.unsorted" -LC_ALL=C sort "$work/after.unsorted" > "$work/after" -cmp "$work/before" "$work/after" -# Exercise the complete install manifest, beyond the primary ELF outputs. -set -- "$out/upstream/apk/packages/dosfstools-doc-"[0-9]*.apk -test "$#" = 1 -secondary=$1 -test -f "$secondary" -rm "$secondary" -make -C "$src" O="$make_out" upstream-dosfstools -j8 > "$work/restore.log" 2>&1 || { cat "$work/restore.log" >&2; exit 1; } -test -f "$secondary" -# Development inputs are isolated too, and every selected member must be -# recovered even when it is not one of the Make rule's primary headers. -secondary=$out/upstream/util-linux/root/usr/include/libeconf_ext.h -test -s "$secondary" -expected=$(sha256sum "$secondary") -rm "$secondary" -make -C "$src" O="$make_out" util-linux-development -j8 > "$work/restore-util-linux.log" 2>&1 || { cat "$work/restore-util-linux.log" >&2; exit 1; } -test "$(sha256sum "$secondary")" = "$expected" -secondary=$out/upstream/libbsd/root/usr/include/sha1.h -test -s "$secondary" -expected=$(sha256sum "$secondary") -rm "$secondary" -make -C "$src" O="$make_out" upstream-libmd -j8 > "$work/restore-libmd.log" 2>&1 || { cat "$work/restore-libmd.log" >&2; exit 1; } -test "$(sha256sum "$secondary")" = "$expected" -printf '%s\n' 'upstream no-op mtimes and secondary-output restoration: PASS' diff --git a/tests/integration/upstream-presence.sh b/tests/integration/upstream-presence.sh deleted file mode 100755 index ee1ea104..00000000 --- a/tests/integration/upstream-presence.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -tmp=$(mktemp -d) -trap 'rm -rf "$tmp"' EXIT -mkdir "$tmp/root" -printf 'payload\n' > "$tmp/root/file" -ln -s /guest/absolute "$tmp/root/link" -printf './file\n./link\n' > "$tmp/manifest" -sh "$src/tools/build/upstream-verify.sh" "$tmp/root" "$tmp/manifest" "$tmp/present.parameters" -touch -t 200001010000 "$tmp/present.parameters" -before=$(stat -c %Y "$tmp/present.parameters") -sh "$src/tools/build/upstream-verify.sh" "$tmp/root" "$tmp/manifest" "$tmp/present.parameters" -test "$(stat -c %Y "$tmp/present.parameters")" = "$before" -rm "$tmp/root/file" -sh "$src/tools/build/upstream-verify.sh" "$tmp/root" "$tmp/manifest" "$tmp/present.parameters" -test "$(stat -c %Y "$tmp/present.parameters")" -gt "$before" -printf '%s\n' 'upstream presence invalidation: PASS' diff --git a/tests/integration/upstream-products.sh b/tests/integration/upstream-products.sh deleted file mode 100755 index feeccadf..00000000 --- a/tests/integration/upstream-products.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# Validate real freshly built ELF outputs (never execute target programs). -set -eu -root=${1:?usage: upstream-products.sh UPSTREAM_ROOT} -apps=${2:-$root/../userland} -for entry in libbsd/usr/lib/libbsd.so.0 libbsd/usr/lib/libmd.so.0 sudo/usr/bin/sudo sudo/usr/lib/sudo/sudoers.so shadow/bin/login shadow/usr/sbin/useradd shadow/usr/sbin/usermod shadow/usr/sbin/userdel exfatprogs/usr/sbin/mkfs.exfat exfatprogs/usr/sbin/fsck.exfat; do - pkg=${entry%%/*}; path=$root/$pkg/root/${entry#*/} - test -f "$path" - readelf -h "$path" | grep -q 'Advanced Micro Devices X86-64' - case $pkg in exfatprogs) - if readelf -l -d "$path" | grep -E 'INTERP|\(NEEDED\)'; then echo "not static: $path" >&2; exit 1; fi ;; - esac -done -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -for package in libmd libmd-doc libbsd libbsd-doc dosfstools dosfstools-doc e2fsprogs e2fsprogs-extra e2fsprogs-libs libcom_err e2fsprogs-doc ncurses ncurses-terminfo util-linux util-linux-misc util-linux-login runuser blkid lsblk sfdisk mount umount libblkid libuuid libmount libfdisk libsmartcols; do - set -- "$root/apk/packages/$package-"[0-9]*.apk - test "$#" = 1 && test -s "$1" - "$root/apk/apk.static" --keys-dir "$src/system/rootfs/etc/apk/keys" verify "$1" -done -"$root/apk/apk.static" --version -printf '%s\n' 'upstream production ELF/archive checks: PASS' -for app in busybox pleditor; do - test -f "$apps/$app.elf" - readelf -h "$apps/$app.elf" | grep -q 'Advanced Micro Devices X86-64' - if readelf -d "$apps/$app.elf" | grep -E 'libc\.so\.6|ld-linux'; then exit 1; fi -done -development=$root/runtime-development/usr/lib -for library in libsqlite3.so.0 libz.so.1 libpng16.so.16 libmbedtls.so.21 libmbedx509.so.7 libmbedcrypto.so.16; do - readelf -d "$development/$library" | grep -q '(SONAME)' -done -sh "$src/tools/build/busybox-check.sh" "$root/busybox/build/.config" "$apps/busybox.links" -if readelf -l -d "$apps/busybox.elf" | grep -E 'INTERP|\(NEEDED\)'; then - echo "BusyBox is not static: $apps/busybox.elf" >&2; exit 1 -fi -printf '%s\n' 'upstream app ELF/SONAME/applet checks: PASS' diff --git a/tests/lib/runtime-dependencies.sh b/tests/lib/runtime-dependencies.sh index 6b0e1124..dbd66a36 100644 --- a/tests/lib/runtime-dependencies.sh +++ b/tests/lib/runtime-dependencies.sh @@ -1,9 +1,9 @@ -# Shared host-native test libraries matching the signature-verified target APKs. -# The caller defines src as the repository root; no download occurs here. -runtime_deps=${RELIEFOS_TEST_DEP_ROOT:-$src/out/x86_64/release/host/runtime-development} -for product in usr/include/mbedtls/ssl.h usr/include/sqlite3.h usr/lib/libmbedcrypto.a usr/lib/libsqlite3.a; do - [ -f "$runtime_deps/$product" ] || { - printf 'missing native test dependency: %s; run make host-runtime-development (or set RELIEFOS_TEST_DEP_ROOT)\n' "$runtime_deps/$product" >&2 - exit 1 - } -done +# Use distribution development packages. Arch packages mbedtls3 in a separate +# pkg-config directory; the other supported hosts use the normal host search. +if [ -d /usr/lib/mbedtls3/pkgconfig ]; then + export PKG_CONFIG_PATH="/usr/lib/mbedtls3/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" +fi +crypto_cflags=$(pkg-config --cflags mbedtls mbedx509 mbedcrypto 2>/dev/null || :) +crypto_libs=$(pkg-config --libs mbedtls mbedx509 mbedcrypto 2>/dev/null || printf '%s' '-lmbedtls -lmbedx509 -lmbedcrypto') +sqlite_cflags=$(pkg-config --cflags sqlite3) +sqlite_libs=$(pkg-config --libs sqlite3) diff --git a/tests/long/test-boot-stage.sh b/tests/long/test-boot-stage.sh deleted file mode 100644 index 6c9ed7e2..00000000 --- a/tests/long/test-boot-stage.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -# Inspect the actual firmware payloads and failed-publication boundary. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -. "$src/tests/build/grub-fixture.sh" -RELIEFOS_KERNEL_TOOLS=${RELIEFOS_KERNEL_TOOLS:-$src/out/kbuild-os-native/host/bin/reliefos-kernel-tools} -export RELIEFOS_KERNEL_TOOLS -grub=${GRUB_HOST_ROOT:-$src/out/dualboot-build/grub-host} -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/boot-stage-test.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -printf 'kernel\n' > "$work/kernel.sys" -grub_fixture_initramfs "$work/kernel.sys" "$work/initramfs.cpio" -printf 'font\n' > "$work/font.pf2" -printf 'theme=metro\n' > "$work/display.conf" -GRUB_MKSTANDALONE=$grub/bin/grub-mkstandalone sh "$src/tools/build/boot-stage.sh" \ - "$src" "${GRUB_EFI_DIR:-$src/out/dualboot-build/grub-efi/lib/grub/x86_64-efi}" "$grub/lib/grub/i386-pc" \ - "$work/kernel.sys" "$work/initramfs.cpio" "$work/font.pf2" "$work/display.conf" "$work/esp" 1700000000 -cmp "$work/kernel.sys" "$work/esp/reliefos/kernel.sys" -cmp "$work/kernel.sys" "$work/esp/leonos/kernel.sys" -cmp "$grub/lib/grub/i386-pc/normal.mod" "$work/esp/grub/i386-pc/normal.mod" -python3 - "$work/esp" <<'PY' -from pathlib import Path -import struct -import sys -root = Path(sys.argv[1]) -image = (root / 'EFI/BOOT/BOOTX64.EFI').read_bytes() -assert image[:2] == b'MZ' -pe = struct.unpack_from('"$work/failure.log" 2>&1; then - echo 'missing BIOS modules unexpectedly published a stage' >&2; exit 1 -fi -diff -qr "$work/before" "$work/esp" -printf 'PASS boot stage: EFI PE, BIOS ELF modules, matched kernels, failed publication preserved\n' diff --git a/tests/long/test-dual-boot-images.sh b/tests/long/test-dual-boot-images.sh deleted file mode 100644 index 73cae011..00000000 --- a/tests/long/test-dual-boot-images.sh +++ /dev/null @@ -1,126 +0,0 @@ -#!/bin/sh -# Real format/GRUB tools, owned sparse files only; this is not a guest-boot test. -set -eu -src=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) -grub=${GRUB_HOST_ROOT:-$src/out/dualboot-build/grub-host} -esp=${BOOT_TEST_ESP:-$src/out/dualboot-build/stage/esp} -work=$(mktemp -d "${TMPDIR:-$src/out/tmp}/dual-images.XXXXXX") -trap 'rm -rf "$work"' EXIT HUP INT TERM -mkdir "$work/esp" -cp -a "$esp/." "$work/esp/" -truncate -s 32M "$work/root.ext4" -mke2fs -q -F -t ext4 -b 4096 -U 5c13543b-732c-4f81-8652-621124484420 "$work/root.ext4" -sh "$src/tools/build/disk.sh" "$work/esp" "$work/root.ext4" \ - "$work/disk.raw" "$work/disk.vmdk" 1700000000 \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" "$grub/bin/grub-bios-setup" > "$work/disk.log" 2>&1 || { - cat "$work/disk.log" >&2; exit 1; -} -GRUB_MKSTANDALONE=$grub/bin/grub-mkstandalone sh "$src/tools/build/iso.sh" \ - "$src" "${GRUB_EFI_DIR:-$src/out/dualboot-build/grub-efi/lib/grub/x86_64-efi}" "$work/esp" "$work/root.ext4" \ - "$src/boot/grub/live.cfg" "$work/live.iso" 1700000000 RELIEFOSTEST \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" > "$work/iso.log" 2>&1 || { - cat "$work/iso.log" >&2; exit 1; -} -python3 - "$work" <<'PY' -from pathlib import Path -import json -import struct -import subprocess -import sys - -w = Path(sys.argv[1]) -raw = w / 'disk.raw' -table = json.loads(subprocess.check_output(['sfdisk', '--json', raw]))['partitiontable'] -parts = table['partitions'] -assert len(parts) == 3 -assert (parts[0]['start'], parts[0]['size']) == (2048, 2048) -assert parts[0]['type'].lower() == '21686148-6449-6e6f-744e-656564454649' -assert parts[1]['start'] == 4096 -assert parts[1]['uuid'].lower() == '41a3ee19-ba85-47a0-9705-a5c128374021' -assert parts[2]['uuid'].lower() == '5c13543b-732c-4f81-8652-621124484420' -assert parts[2]['start'] == parts[1]['start'] + parts[1]['size'] -with raw.open('rb') as stream: - mbr = stream.read(512) - assert any(mbr[:440]) and mbr[510:512] == b'\x55\xaa' - stream.seek(2048 * 512) - assert any(stream.read(2048 * 512)) -subprocess.run(['sfdisk', '--verify', raw], check=True) -subprocess.run(['qemu-img', 'convert', '-f', 'vmdk', '-O', 'raw', w/'disk.vmdk', w/'roundtrip.raw'], check=True) -subprocess.run(['cmp', raw, w/'roundtrip.raw'], check=True) -subprocess.run(['mcopy', '-i', f'{raw}@@{parts[1]["start"] * 512}', - '::/reliefos/kernel.sys', str(w/'raw-kernel')], check=True) -subprocess.run(['cmp', w/'esp/reliefos/kernel.sys', w/'raw-kernel'], check=True) -for inside, outside in [('/boot/grub/boot.cat', 'catalog'), - ('/reliefos/kernel.sys', 'iso-kernel'), ('/install/root.fat', 'iso-root')]: - subprocess.run(['xorriso', '-osirrox', 'on', '-indev', str(w/'live.iso'), - '-extract', inside, str(w/outside)], check=True, - stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) -catalog = (w/'catalog').read_bytes() -assert catalog[0] == 1 and catalog[1] == 0 -assert sum(struct.unpack('<16H', catalog[:32])) & 0xffff == 0 -assert catalog[30:32] == b'\x55\xaa' and catalog[32] == 0x88 -assert struct.unpack_from(' "$work/iso-fail.log" 2>&1; then - echo 'FAIL - ISO accepted a failing BIOS tool' >&2; exit 1 -fi -cmp "$work/live.before" "$work/live.iso" -printf 'raw sentinel\n' > "$work/protected.raw" -printf 'vmdk sentinel\n' > "$work/protected.vmdk" -if sh "$src/tools/build/disk.sh" "$work/esp" "$work/root.ext4" \ - "$work/protected.raw" "$work/protected.vmdk" 1700000000 \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" /bin/false > "$work/disk-fail.log" 2>&1; then - echo 'FAIL - disk accepted failing BIOS setup' >&2; exit 1 -fi -[ "$(cat "$work/protected.raw")" = 'raw sentinel' ] -[ "$(cat "$work/protected.vmdk")" = 'vmdk sentinel' ] -printf 'PASS dual image failure publication preserves prior outputs\n' -# Force the second publication rename to fail, after the raw rename succeeds. -mkdir "$work/bin" -cat > "$work/bin/mv" <<'MV' -#!/bin/sh -if [ "$#" = 2 ] && [ "${1##*/}" = disk.vmdk ]; then exit 73; fi -exec /usr/bin/mv "$@" -MV -chmod +x "$work/bin/mv" -if PATH="$work/bin:$PATH" sh "$src/tools/build/disk.sh" "$work/esp" "$work/root.ext4" \ - "$work/protected.raw" "$work/protected.vmdk" 1700000000 \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" "$grub/bin/grub-bios-setup" > "$work/rename-fail.log" 2>&1; then - echo 'FAIL - disk publication accepted a failed rename' >&2; exit 1 -fi -[ "$(cat "$work/protected.raw")" = 'raw sentinel' ] -[ "$(cat "$work/protected.vmdk")" = 'vmdk sentinel' ] -# Refuse malformed root images and alias outputs before publication. -printf 'partial sector\n' > "$work/short.root" -if sh "$src/tools/build/disk.sh" "$work/esp" "$work/short.root" \ - "$work/protected.raw" "$work/protected.vmdk" 1700000000 \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" "$grub/bin/grub-bios-setup" > "$work/root-fail.log" 2>&1; then - echo 'FAIL - disk accepted a partial-sector root' >&2; exit 1 -fi -ln "$work/root.ext4" "$work/root-alias.raw" -if sh "$src/tools/build/disk.sh" "$work/esp" "$work/root.ext4" \ - "$work/root-alias.raw" "$work/protected.vmdk" 1700000000 \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" "$grub/bin/grub-bios-setup" > "$work/alias-fail.log" 2>&1; then - echo 'FAIL - disk accepted an output aliasing its root input' >&2; exit 1 -fi -# The image adapter grows ESP before placing root, without a fixed root offset. -truncate -s 80M "$work/esp/large-resource" -sh "$src/tools/build/disk.sh" "$work/esp" "$work/root.ext4" \ - "$work/grown.raw" "$work/grown.vmdk" 1700000000 \ - "$grub/lib/grub/i386-pc" "$grub/bin/grub-mkimage" "$grub/bin/grub-bios-setup" > "$work/grown.log" 2>&1 -python3 - "$work/grown.raw" <<'PY' -import json, subprocess, sys -parts=json.loads(subprocess.check_output(['sfdisk','--json',sys.argv[1]]))['partitiontable']['partitions'] -assert parts[1]['size'] > 128*2048 -assert parts[2]['start'] == parts[1]['start'] + parts[1]['size'] -PY -printf 'PASS grown ESP, malformed root, input/output alias and pair-publication rollback\n' diff --git a/tests/long/test-execchain.sh b/tests/long/test-execchain.sh deleted file mode 100644 index dab4fa78..00000000 --- a/tests/long/test-execchain.sh +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh -# Production execution-chain contract: acceptance row A16. -# -# The migration forbids Python, Meson and Ninja anywhere in the production build, -# including in wrapper scripts the build generates itself. "We did not call them" -# is only evidence if somebody looked, so this traces execve() over the real entry -# points and fails on a hit. -# -# Full production coverage includes SDK, signed packages, all images and RPR. -# This deliberately takes longer than unit and contract tests. -set -u - -LC_ALL=C -export LC_ALL - -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P) -cd "$repo_root" || exit 1 - -work=$(mktemp -d "${TMPDIR:-/tmp}/reliefos-execchain.XXXXXX") || exit 1 -failures=0 -checks=0 - -cleanup() { - [ -n "${KEEP_WORK:-}" ] || rm -rf "$work" -} -trap cleanup EXIT INT TERM - -pass() { checks=$((checks + 1)); printf 'ok - %s\n' "$1"; } -fail() { - checks=$((checks + 1)) - failures=$((failures + 1)) - printf 'FAIL - %s\n' "$1" - if [ "$#" -gt 1 ]; then - shift - printf ' %s\n' "$@" - fi -} - -if ! command -v strace >/dev/null 2>&1; then - printf 'FAIL - strace is required to prove the exec chain\n' - printf 'test-execchain: 1 checks, 1 failures\n' - exit 1 -fi - -O="$work/out" -# A hard-linked copy of the real download cache: fetch sees the bytes already -# present, verifies their digests, and never touches the network from here. -cache="$work/cache" -mkdir -p "$cache" -if ! cp -al "$repo_root/cache/downloads/." "$cache/" 2>/dev/null; then - cp -a "$repo_root/cache/downloads/." "$cache/" 2>/dev/null || - fail 'the download cache can be copied for a warm fetch' 'cache missing' -fi - -# An executed program: the path execve() was handed, or argv[0] when the path was -# NULL. Matched as a file name, so a -I flag that happens to mention python does -# not trip it. -forbidden_program='execve\("([^"]*/)?(python[0-9.]*|meson|ninja)",' -# A word a shell would run: catches `sh -c "python3 build.py"` where the executed -# program is /bin/sh and the interpreter only appears in argv. -forbidden_word='[\" ](python3?(\\.py)?|meson|ninja)([\" ]|$)' - -# trace