Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
e48182d
chore(ci): build libudev1, libunistring2, liburing, libuserspace-rcu
nevermarine Sep 19, 2025
7d7ad7a
gnu
nevermarine Sep 19, 2025
e12d672
fix url
nevermarine Sep 19, 2025
0f3075c
bootstrap
nevermarine Sep 19, 2025
453950d
remove autoreconf
nevermarine Sep 19, 2025
072df9f
autogen
nevermarine Sep 19, 2025
43351b4
add wget
nevermarine Sep 19, 2025
4a7a46d
add configure
nevermarine Sep 19, 2025
943e54e
add patch
nevermarine Sep 19, 2025
7c05fc9
add gnulib_tool
nevermarine Sep 19, 2025
260133e
skip gnulib
nevermarine Sep 19, 2025
cdf8d2e
debug
nevermarine Sep 19, 2025
c38fddc
install patch
nevermarine Sep 19, 2025
6abf951
add touch tests/Makefile.in
nevermarine Sep 22, 2025
dda2294
add makeinfo
nevermarine Sep 22, 2025
900f092
change version
nevermarine Sep 22, 2025
dc95fb6
test
nevermarine Sep 22, 2025
f002d78
fix
nevermarine Sep 22, 2025
1d17265
fix sed
nevermarine Sep 22, 2025
0c59ec0
remove /usr/share
nevermarine Sep 22, 2025
cf66f88
add readme for libunistring
nevermarine Sep 22, 2025
aaaf8c7
bump tree for readme
nevermarine Sep 23, 2025
f4d203f
remove docs
nevermarine Sep 23, 2025
5ead251
import libs
nevermarine Sep 23, 2025
76adbbf
Merge remote-tracking branch 'origin/main' into chore/ci/build-liburing
nevermarine Sep 23, 2025
c5abfea
fix double import
nevermarine Sep 23, 2025
fc2505e
add libuserspace-rcu
nevermarine Sep 23, 2025
ce86efb
update readmes
nevermarine Sep 23, 2025
fc87857
add libdevdir
nevermarine Sep 23, 2025
aafab5a
update liburing readme
nevermarine Sep 23, 2025
1cee756
add libunistring to ngtcp2
nevermarine Sep 23, 2025
96c36c7
add libunistring
nevermarine Sep 23, 2025
e699ef7
add systemd
nevermarine Sep 23, 2025
50db6b8
debg
nevermarine Sep 23, 2025
e73c25b
isntaall gperf
nevermarine Sep 23, 2025
c8dadb4
add libcap
nevermarine Sep 23, 2025
50a9b23
add util-linux
nevermarine Sep 23, 2025
5568a9c
add swtpm
nevermarine Sep 23, 2025
946e6b3
libpasswdqc
nevermarine Sep 23, 2025
9f0ac4c
libseccomp
nevermarine Sep 23, 2025
1a5ca27
fix
nevermarine Sep 23, 2025
61a5a48
add libunitsting
nevermarine Sep 23, 2025
6bad549
add libssh2
nevermarine Sep 23, 2025
de82283
update readme & save portion of files
nevermarine Sep 23, 2025
29e2ebb
import libsystemd
nevermarine Sep 23, 2025
bd85344
add multipath tools to qemu
nevermarine Sep 23, 2025
2006335
add /usr/include to systemd
nevermarine Sep 24, 2025
4b43369
update components
nevermarine Sep 24, 2025
9db4f7f
remove wget
nevermarine Sep 24, 2025
406584c
fix readme
nevermarine Sep 24, 2025
dd0ee36
Merge branch 'main' into chore/ci/build-liburing
nevermarine Sep 24, 2025
5ee371b
systemd fix
nevermarine Sep 24, 2025
3d1826e
Revert "systemd fix"
nevermarine Sep 24, 2025
ed986a5
change options
nevermarine Sep 24, 2025
8685c8f
remove sign
nevermarine Sep 24, 2025
10a2d50
template version
nevermarine Sep 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build/components/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ package:
libfuse3: fuse-3.16.2
libffi: v3.5.2
libgcrypt: libgcrypt-1.10.2
liburing: liburing-2.6
libuserspace-rcu: v0.14.0
libunistring: v1.3
libxcrypt: v4.4.36
libgpg-error: libgpg-error-1.55
libibverbs: 1.0.0
Expand Down Expand Up @@ -84,6 +87,7 @@ package:
selinux: 3.6
libslirp: v4.8.0
snappy: 1.2.2 # libsnappy
systemd: v255
zlib: v1.3.1
zstd: v1.5.7
krb5: krb5-1.21.3-final
Expand Down
1 change: 1 addition & 0 deletions images/cdi-artifact/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ packages:
- libxml2
- xz
- libtasn1
- libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand Down
3 changes: 2 additions & 1 deletion images/libvirt/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ altLibraries:
- libsystemd-devel
- systemtap-sdt-devel
- libacl-devel glib2-devel glibc-utils
- libgio-devel libxml2-devel
- libgio-devel
- wireshark-devel
- libclocale
- libslirp-devel
Expand All @@ -92,6 +92,7 @@ packages:
- selinux
- cyrus-sasl2
- libtasn1 libtirpc
- libunistring libxml2
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand Down
4 changes: 2 additions & 2 deletions images/packages/gnutls/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ altPackages:
- make autoconf automake libtool makeinfo gettext-devel patch
- perl-Net-SSLeay perl-IPC-Cmd perl-Pod-Html
- gem-gettext-devel gettext po4a
- libunistring-devel
- libtpm2-tss-devel libtrousers-devel
- libunbound-devel bison gtk-doc texinfo texlive
- libev4 libev-devel libopencdk-devel
- liboqs-devel
- libssl-devel iproute2-devel
- iproute2-devel
- wget
packages:
- libbrotli libidn2 libgcrypt libgmp
- nettle zlib zstd p11-kit
- openssl
- readline
- libtasn1
- libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand Down
1 change: 1 addition & 0 deletions images/packages/libcurl/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ packages:
- libpsl
- cyrus-sasl2
- ngtcp2 libtasn1
- libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand Down
17 changes: 13 additions & 4 deletions images/packages/libidn/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

{{- $name := print $.ImageName "-dependencies" -}}
{{- define "$name" -}}
packages:
altPackages:
- gcc git make makeinfo automake libtool patch gperf help2man gengetopt
- python3 python3-module-docutils gtk-doc
- gettext texinfo indent glibc-gconv-modules libabigail-devel libunistring-devel
- gettext texinfo indent glibc-gconv-modules libabigail-devel
- cvs
packages:
- libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand All @@ -32,7 +34,6 @@ secrets:
shell:
install:
- |
mkdir -p ~/.ssh && echo "StrictHostKeyChecking accept-new" > ~/.ssh/config
git clone --depth=1 $(cat /run/secrets/SOURCE_REPO)/{{ $gitRepoUrl }} --branch {{ $version }} /src

cd /src
Expand All @@ -51,17 +52,25 @@ import:
add: /src
to: /src
before: install
{{- include "importPackageImages" (list . $builderDependencies.packages "install") -}}
shell:
beforeInstall:
{{- include "alt packages proxy" . | nindent 2 }}
- |
apt-get install -y \
{{ $builderDependencies.packages | join " " }}
{{ $builderDependencies.altPackages | join " " }}

{{- include "alt packages clean" . | nindent 2 }}

install:
- |
# Install packages
PKGS="{{ $builderDependencies.packages | join " " }}"
for pkg in $PKGS; do
cp -a /$pkg/. /
rm -rf /$pkg
done

OUTDIR=/out

cd /src
Expand Down
14 changes: 12 additions & 2 deletions images/packages/libmnl/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ shell:
altPackages:
- gcc make git autoconf libtool gettext-tools
- automake pkgconf glibc-devel systemd-devel
- texinfo indent glibc-gconv-modules
- libabigail-devel libunistring-devel cvs
- texinfo indent glibc-gconv-modules
- libabigail-devel cvs
- tree
packages:
- libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand All @@ -44,6 +46,7 @@ import:
add: /src
to: /src
before: install
{{- include "importPackageImages" (list . $builderDependencies.packages "install") -}}
shell:
beforeInstall:
{{- include "alt packages proxy" . | nindent 2 }}
Expand All @@ -55,6 +58,13 @@ shell:

install:
- |
# Install packages
PKGS="{{ $builderDependencies.packages | join " " }}"
for pkg in $PKGS; do
cp -a /$pkg/. /
rm -rf /$pkg
done

OUTDIR=/out

cd /src
Expand Down
6 changes: 3 additions & 3 deletions images/packages/libnbd/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ altPackages:
- gcc gcc-c++ make git autoconf libtool gettext-tools
- automake pkgconf glibc-devel
- bash-completion hardlink
- liburing-devel perl-podlators
- perl-podlators
- ocaml ocaml-findlib ocaml-ocamldoc
packages:
- gnutls libidn2 libgmp ubdsrv xz libxml2
- libtasn1
- libfuse3
- liburing libfuse3 libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand Down Expand Up @@ -80,7 +80,7 @@ shell:
--libdir=/usr/lib64 \
--disable-ocaml \
--disable-golang \
--disable-rust
--disable-rust

make -j$(nproc)

Expand Down
3 changes: 1 addition & 2 deletions images/packages/libpsl/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ altPackages:
- rpm-build-python3
- libicu-devel
- glib2-devel libgio-devel
- libunistring-devel
- gtk-doc xsltproc
- publicsuffix-list
- publicsuffix-list-dafsa
- tree
packages:
- libidn2
- libidn2 libunistring
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}
Expand Down
34 changes: 34 additions & 0 deletions images/packages/libunistring/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# libunistring
```
└── [drwxr-xr-x 4] usr
├── [drwxr-xr-x 16] include
│ ├── [-rw-r--r-- 20K] unicase.h
│ ├── [-rw-r--r-- 7.4K] uniconv.h
│ ├── [-rw-r--r-- 48K] unictype.h
│ ├── [-rw-r--r-- 11K] unigbrk.h
│ ├── [-rw-r--r-- 6.8K] unilbrk.h
│ ├── [-rw-r--r-- 1.2K] unimetadata.h
│ ├── [-rw-r--r-- 1.9K] uniname.h
│ ├── [-rw-r--r-- 11K] uninorm.h
│ ├── [-rw-r--r-- 10.0K] unistdio.h
│ ├── [-rw-r--r-- 45K] unistr.h
│ ├── [drwxr-xr-x 9] unistring
│ │ ├── [-rw-r--r-- 4.5K] cdefs.h
│ │ ├── [-rw-r--r-- 1.4K] iconveh.h
│ │ ├── [-rw-r--r-- 2.6K] inline.h
│ │ ├── [-rw-r--r-- 6.0K] localcharset.h
│ │ ├── [-rw-r--r-- 4.6K] stdint.h
│ │ ├── [-rw-r--r-- 1.6K] version.h
│ │ └── [-rw-r--r-- 1.4K] woe32dll.h
│ ├── [-rw-r--r-- 2.3K] unitypes.h
│ ├── [-rw-r--r-- 3.2K] uniwbrk.h
│ └── [-rw-r--r-- 2.1K] uniwidth.h
└── [drwxr-xr-x 7] lib64
├── [-rw-r--r-- 6.0M] libunistring.a
├── [-rwxr-xr-x 947] libunistring.la
├── [lrwxrwxrwx 21] libunistring.so -> libunistring.so.5.2.0
├── [lrwxrwxrwx 21] libunistring.so.5 -> libunistring.so.5.2.0
└── [-rwxr-xr-x 1.9M] libunistring.so.5.2.0

5 directories, 25 files
```
84 changes: 84 additions & 0 deletions images/packages/libunistring/werf.inc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}
final: false
fromImage: builder/scratch
import:
- image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-builder
add: /out
to: /{{ $.ImageName }}
before: setup

---
{{- $version := get .PackageVersion .ImageName }}
{{- $gitRepoUrl := "gnu/libunistring.git" }}
image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-src-artifact
final: false
fromImage: builder/src
secrets:
- id: SOURCE_REPO
value: {{ $.SOURCE_REPO_GIT }}
shell:
install:
- |
git clone --depth=1 $(cat /run/secrets/SOURCE_REPO)/{{ $gitRepoUrl }} --branch {{ $version }} /src
cd /src
git clone $(cat /run/secrets/SOURCE_REPO)/gnulib.git ./gnulib

---

{{- $name := print $.ImageName "-dependencies" -}}
{{- define "$name" -}}
altPackages:
- gcc gcc-c++ git make makeinfo libtool gettext-tools
- patch gperf
- tree
{{- end -}}

{{ $builderDependencies := include "$name" . | fromYaml }}


image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-builder
final: false
fromImage: builder/alt
secrets:
- id: SOURCE_REPO
value: {{ $.SOURCE_REPO_GIT }}
import:
- image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-src-artifact
add: /src
to: /src
before: install
shell:
beforeInstall:
{{- include "alt packages proxy" . | nindent 2 }}
- |
apt-get install -y \
{{ $builderDependencies.altPackages | join " " }}

{{- include "alt packages clean" . | nindent 2 }}

install:
- |
OUTDIR=/out
cd /src
export GNULIB_SRCDIR=$(pwd)/gnulib
export GNULIB_TOOL=$(pwd)/gnulib/gnulib-tool

./autogen.sh
touch tests/Makefile.in
./configure \
--prefix=/usr \
--libdir=/usr/lib64

# remove non-existing tests from build to prevent failure
sed -i 's/SUBDIRS = doc gnulib-local lib tests/SUBDIRS = doc gnulib-local lib/' Makefile
make -j$(nproc)
make DESTDIR=$OUTDIR install
rm -rf $OUTDIR/usr/share
find $OUTDIR -type f -executable | while read -r execfile; do
if strip "$execfile"; then
echo "Stripped: $execfile"
fi
done

tree -hp $OUTDIR
25 changes: 25 additions & 0 deletions images/packages/liburing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# liburing
```
└── [drwxr-xr-x 4] usr
├── [drwxr-xr-x 4] include
│ ├── [drwxr-xr-x 6] liburing
│ │ ├── [-rw-r--r-- 2.4K] barrier.h
│ │ ├── [-rw-r--r-- 276] compat.h
│ │ ├── [-rw-r--r-- 19K] io_uring.h
│ │ └── [-rw-r--r-- 164] io_uring_version.h
│ └── [-rw-r--r-- 44K] liburing.h
└── [drwxr-xr-x 11] lib64
├── [-rw-r--r-- 48K] liburing-ffi.a
├── [lrwxrwxrwx 19] liburing-ffi.so -> liburing-ffi.so.2.6
├── [lrwxrwxrwx 19] liburing-ffi.so.2 -> liburing-ffi.so.2.6
├── [-rwxr-xr-x 42K] liburing-ffi.so.2.6
├── [-rw-r--r-- 28K] liburing.a
├── [lrwxrwxrwx 15] liburing.so -> liburing.so.2.6
├── [lrwxrwxrwx 15] liburing.so.2 -> liburing.so.2.6
├── [-rwxr-xr-x 25K] liburing.so.2.6
└── [drwxr-xr-x 4] pkgconfig
├── [-rw-r--r-- 236] liburing-ffi.pc
└── [-rw-r--r-- 228] liburing.pc

6 directories, 15 files
```
Loading
Loading