diff --git a/skarnet-builder/build-latest b/skarnet-builder/build-latest index 1d50ba7..c8b2e27 100755 --- a/skarnet-builder/build-latest +++ b/skarnet-builder/build-latest @@ -2,7 +2,7 @@ set -e set -x -MUSL_CROSS_MAKE_RELEASE=1 +MUSL_CROSS_MAKE_RELEASE=2 MUSL_CROSS_MAKE_SRC="https://github.com/just-containers/musl-cross-make/releases/download/v${MUSL_CROSS_MAKE_RELEASE}" BUILDDIR=$HOME/build @@ -45,18 +45,19 @@ s6-rc declare -A targets targets[arm-linux-musleabihf]=armhf targets[x86_64-linux-musl]=amd64 +targets[i486-linux-musl]=x86 # software versions declare -A versions versions[make]=4.1 -versions[skalibs]=2.3.10.0 -versions[execline]=2.1.5.0 -versions[s6]=2.3.0.0 -versions[s6-portable-utils]=2.0.6.0 -versions[s6-linux-utils]=2.1.0.0 -versions[s6-dns]=2.0.1.0 -versions[s6-networking]=2.1.1.0 -versions[s6-rc]=0.0.3.0 +versions[skalibs]=2.4.0.2 +versions[execline]=2.2.0.0 +versions[s6]=2.4.0.0 +versions[s6-portable-utils]=2.1.0.0 +versions[s6-linux-utils]=2.2.0.0 +versions[s6-dns]=2.1.0.0 +versions[s6-networking]=2.2.1.0 +versions[s6-rc]=0.1.0.0 declare -A manifests manifests[skarnet_all_packages]="manifest.txt" diff --git a/skarnet-builder/sysdeps/i486-linux-musl/socket.lib b/skarnet-builder/sysdeps/i486-linux-musl/socket.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/socket.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/i486-linux-musl/spawn.lib b/skarnet-builder/sysdeps/i486-linux-musl/spawn.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/spawn.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/i486-linux-musl/sysclock.lib b/skarnet-builder/sysdeps/i486-linux-musl/sysclock.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/sysclock.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/i486-linux-musl/sysdeps b/skarnet-builder/sysdeps/i486-linux-musl/sysdeps new file mode 100644 index 0000000..628548d --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/sysdeps @@ -0,0 +1,43 @@ +target: i486-linux-musl +clockrt: yes +clockmon: yes +posixspawn: yes +timer: yes +endianness: little +sizeofushort: 2 +sizeofuint: 4 +sizeofulong: 4 +sizeofgid: 4 +sizeoftime: 4 +accept4: yes +ancilautoclose: no +cmsgcloexec: yes +devurandom: yes +eproto: yes +eventfd: yes +flock: yes +getpeereid: no +sopeercred: yes +getpeerucred: no +ipv6: yes +malloc0: yes +msgdontwait: yes +nbwaitall: yes +openat: yes +linkat: yes +pipe2: yes +ppoll: yes +revoke: no +sendfile: yes +setgroups: yes +settimeofday: yes +signalfd: yes +splice: yes +strcasestr: yes +strnlen: yes +uint64t: yes +futimens: yes +futimes: yes +arc4random: no +getrandom: no +itimer: yes diff --git a/skarnet-builder/sysdeps/i486-linux-musl/sysdeps.h b/skarnet-builder/sysdeps/i486-linux-musl/sysdeps.h new file mode 100644 index 0000000..ff1e466 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/sysdeps.h @@ -0,0 +1,54 @@ +/* ISC license. */ + +#ifndef SYSDEPS_H +#define SYSDEPS_H + +#define SKALIBS_TARGET "i486-linux-musl" +#define SKALIBS_HASCLOCKRT +#define SKALIBS_HASCLOCKMON +#define SKALIBS_HASPOSIXSPAWN +#define SKALIBS_HASTIMER +#define SKALIBS_ENDIANNESS "little" +#define SKALIBS_SIZEOFUSHORT 2 +#define SKALIBS_USHORT_BITS 16 +#define SKALIBS_SIZEOFUINT 4 +#define SKALIBS_UINT_BITS 32 +#define SKALIBS_SIZEOFULONG 4 +#define SKALIBS_ULONG_BITS 32 +#define SKALIBS_SIZEOFGID 4 +#define SKALIBS_GID_BITS 32 +#define SKALIBS_SIZEOFTIME 4 +#define SKALIBS_TIME_BITS 32 +#define SKALIBS_HASACCEPT4 +#undef SKALIBS_HASANCILAUTOCLOSE +#define SKALIBS_HASCMSGCLOEXEC +#define SKALIBS_HASDEVURANDOM +#define SKALIBS_HASEPROTO +#define SKALIBS_HASEVENTFD +#define SKALIBS_HASFLOCK +#undef SKALIBS_HASGETPEEREID +#define SKALIBS_HASSOPEERCRED +#undef SKALIBS_HASGETPEERUCRED +#define SKALIBS_HASIPV6 +#define SKALIBS_HASMALLOC0 +#define SKALIBS_HASMSGDONTWAIT +#define SKALIBS_HASNBWAITALL +#define SKALIBS_HASOPENAT +#define SKALIBS_HASLINKAT +#define SKALIBS_HASPIPE2 +#define SKALIBS_HASPPOLL +#undef SKALIBS_HASREVOKE +#define SKALIBS_HASSENDFILE +#define SKALIBS_HASSETGROUPS +#define SKALIBS_HASSETTIMEOFDAY +#define SKALIBS_HASSIGNALFD +#define SKALIBS_HASSPLICE +#define SKALIBS_HASSTRCASESTR +#define SKALIBS_HASSTRNLEN +#define SKALIBS_HASUINT64T +#define SKALIBS_HASFUTIMENS +#define SKALIBS_HASFUTIMES +#undef SKALIBS_HASARC4RANDOM +#undef SKALIBS_HASGETRANDOM +#define SKALIBS_HASITIMER +#endif diff --git a/skarnet-builder/sysdeps/i486-linux-musl/tainnow.lib b/skarnet-builder/sysdeps/i486-linux-musl/tainnow.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/tainnow.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/i486-linux-musl/target b/skarnet-builder/sysdeps/i486-linux-musl/target new file mode 100644 index 0000000..0164025 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/target @@ -0,0 +1 @@ +i486-linux-musl diff --git a/skarnet-builder/sysdeps/i486-linux-musl/timer.lib b/skarnet-builder/sysdeps/i486-linux-musl/timer.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/timer.lib @@ -0,0 +1 @@ + diff --git a/skarnet-builder/sysdeps/i486-linux-musl/util.lib b/skarnet-builder/sysdeps/i486-linux-musl/util.lib new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/skarnet-builder/sysdeps/i486-linux-musl/util.lib @@ -0,0 +1 @@ +