public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2021-12-04 18:34 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-12-04 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     2dd35fd1ed76e4e2995973c87e26f0b77bdf2444
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  4 18:32:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  4 18:34:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd35fd1

sys-libs/libucontext: initial import

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/Manifest               |  1 +
 sys-libs/libucontext/libucontext-1.1.ebuild | 39 +++++++++++++++++++++++++++++
 sys-libs/libucontext/metadata.xml           | 11 ++++++++
 3 files changed, 51 insertions(+)

diff --git a/sys-libs/libucontext/Manifest b/sys-libs/libucontext/Manifest
new file mode 100644
index 000000000000..d38b31369f67
--- /dev/null
+++ b/sys-libs/libucontext/Manifest
@@ -0,0 +1 @@
+DIST libucontext-1.1.tar.gz 25261 BLAKE2B 269b3899657779bc2c6a2f1c365242f0ee936afeb0acf74e48af5c1e6b96918bbaa239039508e7b1b1f7b358679fb4a222311b761223b69b9a3e7a9be2d0bc40 SHA512 05aed6f82a2b3d9dba896423335a7fc2fc5eddc87ed725f05e14488c6ddfcef10b835c928619439c7783e052baff7ef2dc162b6e06aa78992f6f611ca13c2e39

diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild b/sys-libs/libucontext/libucontext-1.1.ebuild
new file mode 100644
index 000000000000..c74a08255a21
--- /dev/null
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="ucontext implementation featuring glibc-compatible ABI"
+HOMEPAGE="https://github.com/kaniini/libucontext"
+SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${P}
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+man"
+
+BDEPEND="man? ( app-text/scdoc )"
+
+# segfault needs investigation
+RESTRICT="test"
+
+src_compile() {
+	tc-export AR CC
+
+	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_test() {
+	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" check
+}
+
+src_install() {
+	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+
+	if use man ; then
+		emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install_docs
+	fi
+}

diff --git a/sys-libs/libucontext/metadata.xml b/sys-libs/libucontext/metadata.xml
new file mode 100644
index 000000000000..6d14eb740806
--- /dev/null
+++ b/sys-libs/libucontext/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>musl@gentoo.org</email>
+		<name>Musl project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">kaniini/libucontext</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2021-12-04 18:38 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-12-04 18:38 UTC (permalink / raw
  To: gentoo-commits

commit:     6279269dc06a9c8264b814e6ee93988a2d746833
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  4 18:37:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  4 18:37:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6279269d

sys-libs/libucontext: update EAPI 7 -> 8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.1.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild b/sys-libs/libucontext/libucontext-1.1.ebuild
index c74a08255a21..306709222308 100644
--- a/sys-libs/libucontext/libucontext-1.1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit toolchain-funcs
 
@@ -23,7 +23,7 @@ RESTRICT="test"
 src_compile() {
 	tc-export AR CC
 
-	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')
 }
 
 src_test() {
@@ -31,9 +31,5 @@ src_test() {
 }
 
 src_install() {
-	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-
-	if use man ; then
-		emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install_docs
-	fi
+	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install $(usev man 'install_docs')
 }


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2021-12-04 19:39 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-12-04 19:39 UTC (permalink / raw
  To: gentoo-commits

commit:     42665d35c9428894e0ba91ec92b3974f1b3866ca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  4 19:39:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  4 19:39:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42665d35

sys-libs/libucontext: override arch detection for e.g. x86

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.1.ebuild | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild b/sys-libs/libucontext/libucontext-1.1.ebuild
index 306709222308..0e825c18bc26 100644
--- a/sys-libs/libucontext/libucontext-1.1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild
@@ -23,7 +23,21 @@ RESTRICT="test"
 src_compile() {
 	tc-export AR CC
 
-	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')
+	local arch
+
+	# Override arch detection
+	# https://github.com/kaniini/libucontext/blob/master/Makefile#L3
+	if use x86 ; then
+		arch="x86"
+	elif use arm ; then
+		arch="arm"
+	elif use arm64 ; then
+		arch="aarch64"
+	elif use ppc64 ; then
+		arch="ppc64"
+	fi
+
+	emake ARCH="${arch}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2021-12-04 20:42 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-12-04 20:42 UTC (permalink / raw
  To: gentoo-commits

commit:     e4968590efb4cc754cd1964a9b989aa3139f375d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  4 20:42:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  4 20:42:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4968590

sys-libs/libucontext: fix arch detection for amd64

Closes: https://bugs.gentoo.org/828142
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild b/sys-libs/libucontext/libucontext-1.1.ebuild
index 0e825c18bc26..f637a693a337 100644
--- a/sys-libs/libucontext/libucontext-1.1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild
@@ -35,6 +35,8 @@ src_compile() {
 		arch="aarch64"
 	elif use ppc64 ; then
 		arch="ppc64"
+	else
+		arch="$(uname -m)"
 	fi
 
 	emake ARCH="${arch}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-02-07 10:42 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-02-07 10:42 UTC (permalink / raw
  To: gentoo-commits

commit:     34e503b92d5259cb2ac9075d06a24ff2f0e01f26
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  7 10:41:58 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  7 10:42:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e503b9

sys-libs/libucontext: use consistent emake arguments

Should be no functional change.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.1-r1.ebuild | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libucontext/libucontext-1.1-r1.ebuild b/sys-libs/libucontext/libucontext-1.1-r1.ebuild
index cf76cfa1a756..7ec73298a79c 100644
--- a/sys-libs/libucontext/libucontext-1.1-r1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.1-r1.ebuild
@@ -27,7 +27,7 @@ PATCHES=(
 src_compile() {
 	tc-export AR CC
 
-	local arch
+	arch=
 
 	# Override arch detection
 	# https://github.com/kaniini/libucontext/blob/master/Makefile#L3
@@ -43,13 +43,25 @@ src_compile() {
 		arch="$(uname -m)"
 	fi
 
-	emake ARCH="${arch}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')
+	emake \
+		ARCH="${arch}" \
+		LDFLAGS="${LDFLAGS}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		all $(usev man 'docs')
 }
 
 src_test() {
-	emake LDFLAGS="${LDFLAGS}" check
+	emake \
+		ARCH="${arch}" \
+		LDFLAGS="${LDFLAGS}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		check
 }
 
 src_install() {
-	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install $(usev man 'install_docs')
+	emake \
+		ARCH="${arch}" \
+		DESTDIR="${ED}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		install $(usev man 'install_docs')
 }


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-05-05  1:57 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-05-05  1:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ba7c0811b5665ae78cfb12071e2641f933d0b809
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May  5 01:55:35 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  5 01:55:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba7c0811

sys-libs/libucontext: add 1.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/Manifest               |  1 +
 sys-libs/libucontext/libucontext-1.2.ebuild | 69 +++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/sys-libs/libucontext/Manifest b/sys-libs/libucontext/Manifest
index d38b31369f67..909d659abb99 100644
--- a/sys-libs/libucontext/Manifest
+++ b/sys-libs/libucontext/Manifest
@@ -1 +1,2 @@
 DIST libucontext-1.1.tar.gz 25261 BLAKE2B 269b3899657779bc2c6a2f1c365242f0ee936afeb0acf74e48af5c1e6b96918bbaa239039508e7b1b1f7b358679fb4a222311b761223b69b9a3e7a9be2d0bc40 SHA512 05aed6f82a2b3d9dba896423335a7fc2fc5eddc87ed725f05e14488c6ddfcef10b835c928619439c7783e052baff7ef2dc162b6e06aa78992f6f611ca13c2e39
+DIST libucontext-1.2.tar.gz 29073 BLAKE2B 378816376877729776c41515ad1c3da36c24528bcdcf5272c4df2029b5273cf90228c163e87bd1af558129b1274d0b22632c4fa8ad2a0f37ac7014dae527a48e SHA512 f47b776517fa9e3fe48b762b11ae580c28bd7646f9e3ab843141d3e203f886326e68dd8040852ab1cb92dbd09d821161660c4be44e3025448d90131e74a4cf51

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
new file mode 100644
index 000000000000..7120a14d92cb
--- /dev/null
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="ucontext implementation featuring glibc-compatible ABI"
+HOMEPAGE="https://github.com/kaniini/libucontext"
+SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${P}
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+man"
+
+BDEPEND="man? ( app-text/scdoc )"
+
+# segfault needs investigation
+# 1.2 eems ok?
+#RESTRICT="test"
+
+src_compile() {
+	tc-export AR CC
+
+	arch=
+
+	# Override arch detection
+	# https://github.com/kaniini/libucontext/blob/master/Makefile#L3
+	if use x86 ; then
+		arch="x86"
+	elif use arm ; then
+		arch="arm"
+	elif use arm64 ; then
+		arch="aarch64"
+	elif use ppc64 ; then
+		arch="ppc64"
+	else
+		arch="$(uname -m)"
+	fi
+
+	emake \
+		ARCH="${arch}" \
+		LDFLAGS="${LDFLAGS}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		PKGCONFIGDIR="/usr/$(get_libdir)/pkgconfig" \
+		all $(usev man 'docs')
+}
+
+src_test() {
+	emake \
+		ARCH="${arch}" \
+		LDFLAGS="${LDFLAGS}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		PKGCONFIGDIR="/usr/$(get_libdir)/pkgconfig" \
+		check
+}
+
+src_install() {
+	emake \
+		ARCH="${arch}" \
+		DESTDIR="${ED}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		PKGCONFIGDIR="/usr/$(get_libdir)/pkgconfig" \
+		install $(usev man 'install_docs')
+
+	find "${ED}" -name '*.a' -delete || die
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-06-02  3:36 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-06-02  3:36 UTC (permalink / raw
  To: gentoo-commits

commit:     bb03a1bc940de543561e74e371d064e8799371fd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 03:35:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 03:35:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb03a1bc

sys-libs/libucontext: Keyword 1.2 arm, #834327

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
index 7120a14d92cb..cfe3169d0992 100644
--- a/sys-libs/libucontext/libucontext-1.2.ebuild
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-${P}
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm"
 IUSE="+man"
 
 BDEPEND="man? ( app-text/scdoc )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-09-25  6:30 Arthur Zamarin
  0 siblings, 0 replies; 14+ messages in thread
From: Arthur Zamarin @ 2022-09-25  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1813c17cc1004e6095f602f072ddc42fb858025f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 25 06:30:05 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 06:30:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1813c17c

sys-libs/libucontext: Keyword 1.2 arm64, #834327

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
index cfe3169d0992..b194c677fd61 100644
--- a/sys-libs/libucontext/libucontext-1.2.ebuild
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-${P}
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm"
+KEYWORDS="~amd64 ~arm ~arm64"
 IUSE="+man"
 
 BDEPEND="man? ( app-text/scdoc )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-10-08 16:54 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-10-08 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     ad939f89d35ccddd504d63f7a74ac4841aabeadb
Author:     Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sat Oct  8 16:51:22 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 16:54:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad939f89

sys-libs/libucontext: Keyword 1.2 mips, #834327

Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
index b194c677fd61..36120187ba23 100644
--- a/sys-libs/libucontext/libucontext-1.2.ebuild
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-${P}
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips"
 IUSE="+man"
 
 BDEPEND="man? ( app-text/scdoc )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-10-17 17:28 Arthur Zamarin
  0 siblings, 0 replies; 14+ messages in thread
From: Arthur Zamarin @ 2022-10-17 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     80cf1deba84a72d1fde8f40335e72aa0d94cb6d1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 17:27:54 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 17:27:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80cf1deb

sys-libs/libucontext: Keyword 1.2 ppc, #834327

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
index 36120187ba23..feb2f75e0dc9 100644
--- a/sys-libs/libucontext/libucontext-1.2.ebuild
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-${P}
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc"
 IUSE="+man"
 
 BDEPEND="man? ( app-text/scdoc )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-10-17 17:28 Arthur Zamarin
  0 siblings, 0 replies; 14+ messages in thread
From: Arthur Zamarin @ 2022-10-17 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     42c61397069d78aca6e1028b3fc1cb6b07d2aeb6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 17:27:57 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 17:27:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c61397

sys-libs/libucontext: Keyword 1.2 ppc64, #834327

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
index feb2f75e0dc9..d4529b0f7ca1 100644
--- a/sys-libs/libucontext/libucontext-1.2.ebuild
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-${P}
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64"
 IUSE="+man"
 
 BDEPEND="man? ( app-text/scdoc )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2022-10-17 17:28 Arthur Zamarin
  0 siblings, 0 replies; 14+ messages in thread
From: Arthur Zamarin @ 2022-10-17 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     aac6bac244d61d49def31f7d4b3ac75b4556a071
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 17:28:18 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 17:28:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac6bac2

sys-libs/libucontext: Keyword 1.2 x86, #834327

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libucontext/libucontext-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libucontext/libucontext-1.2.ebuild b/sys-libs/libucontext/libucontext-1.2.ebuild
index d4529b0f7ca1..6d0a0bd5c14a 100644
--- a/sys-libs/libucontext/libucontext-1.2.ebuild
+++ b/sys-libs/libucontext/libucontext-1.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-${P}
 
 LICENSE="ISC"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
 IUSE="+man"
 
 BDEPEND="man? ( app-text/scdoc )"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2024-08-14 23:29 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2024-08-14 23:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f6d4fb1c42492dbacc9ea83d18aff6dca3162e55
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 23:03:14 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 23:28:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d4fb1c

sys-libs/libucontext: add 1.3.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/Manifest                 |  1 +
 sys-libs/libucontext/libucontext-1.3.1.ebuild | 66 +++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sys-libs/libucontext/Manifest b/sys-libs/libucontext/Manifest
index 581bd40c2f49..86de052e4c59 100644
--- a/sys-libs/libucontext/Manifest
+++ b/sys-libs/libucontext/Manifest
@@ -1 +1,2 @@
 DIST libucontext-1.2.tar.gz 29073 BLAKE2B 378816376877729776c41515ad1c3da36c24528bcdcf5272c4df2029b5273cf90228c163e87bd1af558129b1274d0b22632c4fa8ad2a0f37ac7014dae527a48e SHA512 f47b776517fa9e3fe48b762b11ae580c28bd7646f9e3ab843141d3e203f886326e68dd8040852ab1cb92dbd09d821161660c4be44e3025448d90131e74a4cf51
+DIST libucontext-1.3.1.tar.gz 31231 BLAKE2B b7ca1bf2f506b6a4300af13403e4ca283711fcec2ac2cf9b3a6bf0ed6f7b8aeeda510d47cbf8d88cb7630ad15b8bac835349acf7bec86190cbcc033d8402370a SHA512 00133fd2ab314ce54c80ef0596356288440a4aece0ed3afca1faa061ec41242ae8be87a500e5a5a8697ec22aded87b00fb53f67554e1a045359ff92b89c05883

diff --git a/sys-libs/libucontext/libucontext-1.3.1.ebuild b/sys-libs/libucontext/libucontext-1.3.1.ebuild
new file mode 100644
index 000000000000..0bf6304cca17
--- /dev/null
+++ b/sys-libs/libucontext/libucontext-1.3.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="ucontext implementation featuring glibc-compatible ABI"
+HOMEPAGE="https://github.com/kaniini/libucontext"
+SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${P}
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="+man"
+
+BDEPEND="man? ( app-text/scdoc )"
+
+src_compile() {
+	tc-export AR CC
+
+	arch=
+
+	# Override arch detection
+	# https://github.com/kaniini/libucontext/blob/master/Makefile#L3
+	if use x86 ; then
+		arch="x86"
+	elif use arm ; then
+		arch="arm"
+	elif use arm64 ; then
+		arch="aarch64"
+	elif use ppc64 ; then
+		arch="ppc64"
+	else
+		arch="$(uname -m)"
+	fi
+
+	emake \
+		ARCH="${arch}" \
+		LDFLAGS="${LDFLAGS}" \
+		libdir="/usr/$(get_libdir)" \
+		pkgconfigdir="/usr/$(get_libdir)/pkgconfig" \
+		all $(usev man 'docs')
+}
+
+src_test() {
+	emake \
+		ARCH="${arch}" \
+		LDFLAGS="${LDFLAGS}" \
+		libdir="/usr/$(get_libdir)" \
+		pkgconfigdir="/usr/$(get_libdir)/pkgconfig" \
+		check
+}
+
+src_install() {
+	emake \
+		ARCH="${arch}" \
+		DESTDIR="${D}" \
+		prefix="${EPREFIX}/usr" \
+		libdir="${EPREFIX}/usr/$(get_libdir)" \
+		pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" \
+		install $(usev man 'install_docs')
+
+	find "${ED}" -name '*.a' -delete || die
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
@ 2024-08-14 23:34 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2024-08-14 23:34 UTC (permalink / raw
  To: gentoo-commits

commit:     a490dd2dcc685940cc24786189901e393c6e210c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 23:30:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 23:31:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a490dd2d

sys-libs/libucontext: update SRC_URI (use dist tarball)

Good to do this anyway but gh is also down right now.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libucontext/Manifest                 | 2 +-
 sys-libs/libucontext/libucontext-1.3.1.ebuild | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libucontext/Manifest b/sys-libs/libucontext/Manifest
index 86de052e4c59..609b1c97b9cd 100644
--- a/sys-libs/libucontext/Manifest
+++ b/sys-libs/libucontext/Manifest
@@ -1,2 +1,2 @@
 DIST libucontext-1.2.tar.gz 29073 BLAKE2B 378816376877729776c41515ad1c3da36c24528bcdcf5272c4df2029b5273cf90228c163e87bd1af558129b1274d0b22632c4fa8ad2a0f37ac7014dae527a48e SHA512 f47b776517fa9e3fe48b762b11ae580c28bd7646f9e3ab843141d3e203f886326e68dd8040852ab1cb92dbd09d821161660c4be44e3025448d90131e74a4cf51
-DIST libucontext-1.3.1.tar.gz 31231 BLAKE2B b7ca1bf2f506b6a4300af13403e4ca283711fcec2ac2cf9b3a6bf0ed6f7b8aeeda510d47cbf8d88cb7630ad15b8bac835349acf7bec86190cbcc033d8402370a SHA512 00133fd2ab314ce54c80ef0596356288440a4aece0ed3afca1faa061ec41242ae8be87a500e5a5a8697ec22aded87b00fb53f67554e1a045359ff92b89c05883
+DIST libucontext-1.3.1.tar.xz 24688 BLAKE2B d6a15644abda73ea3e1dd45d6bcbf42627ad4a17fe90ebe8067383f9abfa7c9f87fbb1ab7f21b8b57b88fbe496b57524370d7cbb0fcde5c6e42408c025c271f9 SHA512 9b3c7fc04aedbbed6f35fc18037b75472f8fa44d3c89f261ef923f46874251a10f49894f7a549b0b47d3ffdee1b6678929bdda95822d8043d76b5a1f34e4dc8a

diff --git a/sys-libs/libucontext/libucontext-1.3.1.ebuild b/sys-libs/libucontext/libucontext-1.3.1.ebuild
index 0bf6304cca17..ba313f31183c 100644
--- a/sys-libs/libucontext/libucontext-1.3.1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.3.1.ebuild
@@ -7,8 +7,7 @@ inherit toolchain-funcs
 
 DESCRIPTION="ucontext implementation featuring glibc-compatible ABI"
 HOMEPAGE="https://github.com/kaniini/libucontext"
-SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${P}
+SRC_URI="https://distfiles.ariadne.space/libucontext/${P}.tar.xz"
 
 LICENSE="ISC"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-08-14 23:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 17:28 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-08-14 23:34 Sam James
2024-08-14 23:29 Sam James
2022-10-17 17:28 Arthur Zamarin
2022-10-17 17:28 Arthur Zamarin
2022-10-08 16:54 Sam James
2022-09-25  6:30 Arthur Zamarin
2022-06-02  3:36 Sam James
2022-05-05  1:57 Sam James
2022-02-07 10:42 Sam James
2021-12-04 20:42 Sam James
2021-12-04 19:39 Sam James
2021-12-04 18:38 Sam James
2021-12-04 18:34 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox