summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorIsmael Luceno2019-09-17 19:02:18 +0200
committerIsmael Luceno2019-09-17 20:57:49 +0200
commit8dd8abd9a69c25008531139507e64d5d76ba9324 (patch)
tree1ba4459bfa2dd562f088668d3652e97e2b74c070 /libs
parent09174d9f4b042d62fd2f78a4e0743363c79bb5ad (diff)
libucontext: new spell, <ucontext.h> API
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/libucontext/BUILD1
-rwxr-xr-xlibs/libucontext/DETAILS26
-rw-r--r--libs/libucontext/HISTORY2
3 files changed, 29 insertions, 0 deletions
diff --git a/libs/libucontext/BUILD b/libs/libucontext/BUILD
new file mode 100755
index 0000000000..8f58e6df93
--- /dev/null
+++ b/libs/libucontext/BUILD
@@ -0,0 +1 @@
+make
diff --git a/libs/libucontext/DETAILS b/libs/libucontext/DETAILS
new file mode 100755
index 0000000000..6e410aeb74
--- /dev/null
+++ b/libs/libucontext/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=libucontext
+ VERSION=0.9.0
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ WEB_SITE="https://code.foxkit.us/adelie/libucontext"
+ SOURCE_URL[0]="https://github.com/AdelieLinux/$SPELL/archive/v$VERSION.tar.gz"
+ SOURCE_HASH=sha512:a51f0dead7fd2a07cd5df4bcc554922a3cf7e99f32d0df980b5fa5ec518d863ad0073639123cce03c52affe9bce240c24e54728b5537c199f4c1761c1ef7880b
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ LICENSE[0]="MIT"
+ ENTERED=20190917
+ KEYWORDS=""
+ SHORT="<ucontext.h> API"
+cat << EOF
+This distribution contains the implementation of libucontext, a library which
+provides the <ucontext.h> API from older POSIX revisions. Unlike other
+implementations, it faithfully follows the kernel process ABI when performing
+context swaps.
+
+When combined with gcompat, it provides a full implementation of the
+<ucontext.h> functions that are ABI compatible with glibc.
+
+The <ucontext.h> functions are deprecated in POSIX, and therefore are not
+implemented in the musl libc. However, these functions are still used in some
+legacy packages. They are also notably used by GCC's implementation of the Go
+programming language. Therefore, it is desireable for us to be able to support
+the execution of software that utilises this deprecated API.
+EOF
diff --git a/libs/libucontext/HISTORY b/libs/libucontext/HISTORY
new file mode 100644
index 0000000000..3c4e0cbb1d
--- /dev/null
+++ b/libs/libucontext/HISTORY
@@ -0,0 +1,2 @@
+2019-09-17 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DETAILS: spell created