commit 5b6da4a4ac4587f28f132509e968b110a3a4a689
parent b845b45c735ee18c01945013f67fd72852de47d5
Author: emmett1 <emmett1.2miligrams@protonmail.com>
Date: Fri, 12 Sep 2025 03:06:52 +0800
runc: new added
Diffstat:
4 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/repos/extra/runc/.checksum b/repos/extra/runc/.checksum
@@ -0,0 +1 @@
+0e3b23a361204e7e64d1ba7a9f684ade556479f3f78cc9080ef40a8a51a8e5eb runc-v1.3.1.tar.gz
diff --git a/repos/extra/runc/.files b/repos/extra/runc/.files
@@ -0,0 +1,23 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/runc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/runc-checkpoint.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-create.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-delete.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-events.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-exec.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-kill.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-list.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-pause.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-ps.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-restore.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-resume.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-run.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-spec.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-start.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-state.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc-update.8.gz
+-rw-r--r-- root/root usr/share/man/man8/runc.8.gz
diff --git a/repos/extra/runc/abuild b/repos/extra/runc/abuild
@@ -0,0 +1,18 @@
+name=runc
+version=1.3.1
+release=1
+source="https://github.com/opencontainers/${name}/archive/v${version}/${name}-v${version}.tar.gz"
+
+build() {
+ export GOPATH="$PWD/go"
+ export BUILDTAGS='seccomp apparmor'
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-trimpath -mod=readonly -modcacherw"
+ make runc man
+ install -Dm755 runc "$PKG/usr/bin/runc"
+ install -d "$PKG/usr/share/man/man8"
+ install -m644 man/man8/*.8 "$PKG/usr/share/man/man8"
+}
diff --git a/repos/extra/runc/depends b/repos/extra/runc/depends
@@ -0,0 +1,3 @@
+libseccomp
+go-md2man
+libseccomp