summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-06-07 22:26:17 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-06-07 22:26:17 +0200
commitf864ef7c9a2d1e9ebf068964a9d61f22bed48499 (patch)
tree230a2e354e41d412c00c8cd8f7ffa2f6a9daa7de /dev-libs/linux-syscall-support
parentnet-mail/postfix-logwatch: remove old v1.40.03 and its patches. (diff)
downloadgentoo-f864ef7c9a2d1e9ebf068964a9d61f22bed48499.tar.gz
gentoo-f864ef7c9a2d1e9ebf068964a9d61f22bed48499.tar.bz2
gentoo-f864ef7c9a2d1e9ebf068964a9d61f22bed48499.zip
dev-libs/linux-syscall-support: add to tree
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs/linux-syscall-support')
-rw-r--r--dev-libs/linux-syscall-support/Manifest1
-rw-r--r--dev-libs/linux-syscall-support/files/linux-syscall-support-2021.05.03-test.patch10
-rw-r--r--dev-libs/linux-syscall-support/linux-syscall-support-2021.05.03.ebuild41
-rw-r--r--dev-libs/linux-syscall-support/metadata.xml11
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/linux-syscall-support/Manifest b/dev-libs/linux-syscall-support/Manifest
new file mode 100644
index 000000000000..9a199fddd79d
--- /dev/null
+++ b/dev-libs/linux-syscall-support/Manifest
@@ -0,0 +1 @@
+DIST linux-syscall-support-2021.05.03.tar.gz 38423 BLAKE2B 06f78a3fb17150dc711564d981361d23ff4cdaa4629a35ba8b0e65a97eb9fd8dc5fe36f169e77b928bee64ce78107ff78f32f4ea6a0fc4850e2a0f77bb56254c SHA512 a321055e091264050483695fd2d6f6915606ee1ee641c3c95d8e0a7096692ebaeccee51ddf9312f63ca338ffaeb2b4b51e70b42e1867416629c6aba6e7a44665
diff --git a/dev-libs/linux-syscall-support/files/linux-syscall-support-2021.05.03-test.patch b/dev-libs/linux-syscall-support/files/linux-syscall-support-2021.05.03-test.patch
new file mode 100644
index 000000000000..1090d06de363
--- /dev/null
+++ b/dev-libs/linux-syscall-support/files/linux-syscall-support-2021.05.03-test.patch
@@ -0,0 +1,10 @@
+--- a/tests/Makefile 2022-06-02 15:18:22.086379688 +0200
++++ b/tests/Makefile 2022-06-02 15:18:39.975129783 +0200
+@@ -40,7 +40,6 @@
+ LDFLAGS += -static
+
+ TESTS = \
+- fallocate \
+ getrandom \
+ lstat \
+ sigaction \
diff --git a/dev-libs/linux-syscall-support/linux-syscall-support-2021.05.03.ebuild b/dev-libs/linux-syscall-support/linux-syscall-support-2021.05.03.ebuild
new file mode 100644
index 000000000000..3b17f483ad04
--- /dev/null
+++ b/dev-libs/linux-syscall-support/linux-syscall-support-2021.05.03.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CommitId=242f0729ac827a50ac7338e45c9f373eb73e4ca9
+
+DESCRIPTION="Linux Syscall Support"
+HOMEPAGE="https://github.com/mikey/linux-syscall-support/"
+SRC_URI="https://github.com/mikey/${PN}/archive/${CommitId}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND=""
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-test.patch
+)
+
+src_prepare() {
+ default
+ mkdir lss || die
+ cp linux_syscall_support.h lss/ || die
+}
+
+src_test() {
+ emake -C tests
+}
+
+src_install() {
+ doheader -r lss
+}
diff --git a/dev-libs/linux-syscall-support/metadata.xml b/dev-libs/linux-syscall-support/metadata.xml
new file mode 100644
index 000000000000..95707aea74ee
--- /dev/null
+++ b/dev-libs/linux-syscall-support/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="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mikey/linux-syscall-support</remote-id>
+ </upstream>
+</pkgmetadata>