47f4e287fc
internal/rosa/package: migrate multiple libraries
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 04:37:58 +09:00
2e710328a4
internal/rosa/package: migrate musl
...
This removes some legacy cruft, causing 2 rebuilds per stage.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 04:13:10 +09:00
2e7b52d701
internal/rosa/package: migrate mesa
...
This has many dependencies.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 04:02:02 +09:00
d728607505
internal/rosa/package: migrate mesa dependencies
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 03:51:48 +09:00
ef414ab01a
internal/rosa/package: migrate many libraries
...
This also adds more string helpers.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 03:33:15 +09:00
96abf266dd
internal/rosa/package: migrate hwdata, kmod, libarchive
...
This removes a blank line in CTestCustom.cmake, causing a libarchive rebuild. Resulting IR is identical otherwise.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 02:25:41 +09:00
fcba32e9c4
internal/rosa/package: migrate glib
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 02:09:12 +09:00
a7f5a5802d
internal/rosa/package: migrate spirv-llvm-translator
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-20 00:01:03 +09:00
bb230378e0
internal/rosa/package: migrate glslang
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 23:48:39 +09:00
f638c73933
internal/rosa: bind anitya functions
...
This is far more scalable than individual fields.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 23:34:21 +09:00
98d915af3d
internal/rosa/package: migrate argp-standalone, dtc, elfutils, flex, freetype, fuse
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 23:26:34 +09:00
c0593e8325
internal/rosa/package: migrate dbus
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 22:51:08 +09:00
608d8303ec
internal/rosa/package: migrate git
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 22:37:24 +09:00
1c6f30379e
internal/rosa/package: migrate bzip2, curl, connman
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 22:26:40 +09:00
009a4e0d58
internal/rosa/hakurei: migrate to helper
...
This predates the helper infrastructure, so migrate it.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 22:10:39 +09:00
e7c8656691
internal/rosa: remove fakeroot
...
This is unused and broken, so remove it.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 21:54:40 +09:00
d6be116ff8
internal/rosa/package: migrate firmware
...
This does not depend on the kernel.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 21:46:40 +09:00
962b02cf25
internal/rosa/package: migrate kernel
...
This introduces bindings for extra paths and KnownChecksum, and exposes a passthrough special case.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 21:40:15 +09:00
6fd6d971ed
internal/rosa/package: migrate mksh
...
This benefits greatly from the new generic helper.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 19:47:57 +09:00
548c96c7ec
internal/rosa/package: migrate make
...
This also introduces the generic helper for unusual build scripts.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 19:28:18 +09:00
6e8bfa6c4c
internal/rosa/package: migrate cmake
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 18:42:54 +09:00
a770d62b9b
internal/rosa/package: migrate meson
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 18:24:07 +09:00
ff44060763
internal/rosa/package: migrate python packages
...
This also migrates LLVM LIT via the newly implemented special case.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 18:15:04 +09:00
3010a209b5
internal/rosa/azalea: pass through source ident
...
For source handle special case.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 18:10:11 +09:00
e65a3b435c
internal/rosa/package/gnutls: 3.8.12 to 3.8.13
...
The new release came with new broken tests, but at least nettle3 can be removed.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 04:36:32 +09:00
23515f67c8
internal/rosa/package: migrate perl packages
...
Most of these are currently unused.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 04:08:22 +09:00
4389df60ae
internal/rosa/perl: remove obsolete helper
...
This method predates the helper infrastructure.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 03:40:31 +09:00
8092492018
internal/rosa/perl: Makefile.PL helper
...
This can be invoked from azalea.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 03:24:27 +09:00
a7877844bf
internal/rosa/package: migrate perl interpreter
...
Packages will be migrated separtely.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 02:49:11 +09:00
1ed027846d
internal/rosa/package: migrate python interpreter
...
Packages will take quite some work.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 02:06:17 +09:00
2f376d4813
internal/rosa/package: rename buildcatrust
...
This causes a single rebuild due to substitution.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 01:50:03 +09:00
dc3810b530
internal/rosa/python: remove unnecessary input
...
This is added by the helper. Removing it has no effect since it is promoted by Append.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 01:48:24 +09:00
6e9e8c74f3
internal/rosa: migrate buildcatrust
...
Other nss-related packages are unlikely to be migrated any time soon.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 01:44:23 +09:00
4d60fa5632
internal/rosa: evaluate packages late
...
This also enables concurrent evaluation.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 01:26:21 +09:00
8807cbc730
internal/rosa: create metadata alongside artifact
...
This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-19 00:44:24 +09:00
0e95573f18
internal/rosa/package: migrate acl
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 22:42:43 +09:00
eb2b53307a
internal/rosa/package: migrate gcc
...
The azalea implementation used an adaptation of this as testdata.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 22:29:53 +09:00
682b3a2ce5
internal/rosa: track evaluation time
...
Useful to track performance regressions over migrations.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 22:18:09 +09:00
594221eb78
internal/rosa/package: migrate gnutls
...
This is the first nontrivial package to be migrated to azalea. Validated to generate identical IR.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 22:06:00 +09:00
34822925e1
internal/rosa: migrate GNU software
...
These are quite trivial, so migrate them in one pass.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 21:23:19 +09:00
37df040d85
internal/rosa: evaluate packages from fs
...
This migrates GNU sed to azalea, and resulting IR matches.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 17:54:01 +09:00
0360e779f3
internal/rosa: initial azalea bindings
...
Supported fields are still rather minimal, but evaluation works, and resulting artifacts cure correctly.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 02:56:38 +09:00
3e236333a7
internal/rosa: panic error for invalid handle
...
This enables recovery and better error handling for errors originating from external azalea files.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-18 00:07:39 +09:00
f24ae21af1
internal/rosa/azalea: package special case
...
This is more efficient for the inputs array and packages in general.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 23:49:19 +09:00
99b324fb17
cmd/mbf: update pkgserver title text
...
This makes more sense for its purpose.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 18:57:26 +09:00
6f50811dc9
cmd/mbf: bring back pkgserver's favicon!
...
It existed in mae's #33 , but ozy was not satisfied with including
a binary file identical to https://hakurei.app's favicon, and hence
removed it. However, it's possible to explicitly specify the favicon
with a link tag [1]; provided a content security policy that isn't too
strong, this should work fine.
[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel#icon
2026-05-17 19:47:42 +10:00
6b87bac401
cmd/mbf: clone pkgserver order slices
...
These are no longer arrays, so must be cloned for sorting.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 18:30:57 +09:00
a967aa3b6e
internal/rosa/kernel: arch-specific headers checksum
...
These headers differ by target architecture.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 18:01:11 +09:00
38bc2c7508
internal/rosa: pass stage alongside state
...
This cleans up many function signatures.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 17:50:30 +09:00
30eb0d6a61
internal/rosa: key metadata by string
...
For upcoming azalea integration. The API is quite ugly right now to ease migration.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-17 15:56:53 +09:00