git: c326f83f952a - main - devel/linux-rl9-libsigsegv: add new port

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 12 May 2024 10:02:45 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c326f83f952a831822eef837a7e658a570b1fbbc

commit c326f83f952a831822eef837a7e658a570b1fbbc
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-02-08 07:21:06 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-05-12 10:01:19 +0000

    devel/linux-rl9-libsigsegv: add new port
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 Mk/Uses/linux.mk                           |  1 +
 devel/Makefile                             |  1 +
 devel/linux-rl9-libsigsegv/Makefile        | 20 ++++++++++++++++++++
 devel/linux-rl9-libsigsegv/distinfo        |  7 +++++++
 devel/linux-rl9-libsigsegv/pkg-plist.amd64 |  7 +++++++
 5 files changed, 36 insertions(+)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index bf606879f532..c8a346dcca88 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -110,6 +110,7 @@ _linux_${linux_ARGS}_libogg=		linux-${linux_ARGS}-libogg>0:audio/linux-${linux_A
 _linux_${linux_ARGS}_libpciaccess=	linux-${linux_ARGS}-libpciaccess>0:devel/linux-${linux_ARGS}-libpciaccess
 _linux_rl9_libproxy=			linux-rl9-libproxy>0:net/linux-rl9-libproxy
 _linux_${linux_ARGS}_librsvg2=		linux-${linux_ARGS}-librsvg2>0:graphics/linux-${linux_ARGS}-librsvg2
+_linux_rl9_libsigsegv=			linux-${linux_ARGS}-libsigsegv>0:devel/linux-${linux_ARGS}-libsigsegv
 _linux_${linux_ARGS}_libsndfile=	linux-${linux_ARGS}-libsndfile>0:audio/linux-${linux_ARGS}-libsndfile
 _linux_c7_libssh2=			linux-c7-libssh2>0:security/linux-c7-libssh2
 _linux_${linux_ARGS}_libtasn1=		linux-${linux_ARGS}-libtasn1>0:security/linux-${linux_ARGS}-libtasn1
diff --git a/devel/Makefile b/devel/Makefile
index 6891521813bc..b091e8988d27 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1508,6 +1508,7 @@
     SUBDIR += linux-rl9-elfutils-libs
     SUBDIR += linux-rl9-libgfortran
     SUBDIR += linux-rl9-libpciaccess
+    SUBDIR += linux-rl9-libsigsegv
     SUBDIR += linux-rl9-libthai
     SUBDIR += linux-rl9-libunistring
     SUBDIR += linux-rl9-llvm
diff --git a/devel/linux-rl9-libsigsegv/Makefile b/devel/linux-rl9-libsigsegv/Makefile
new file mode 100644
index 000000000000..cfd0e43d7c35
--- /dev/null
+++ b/devel/linux-rl9-libsigsegv/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	libsigsegv
+PORTVERSION=	2.13
+DISTVERSIONSUFFIX=	-4.el9
+CATEGORIES=	devel linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	Handling page faults in user mode (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://www.gnu.org/software/libsigsegv/
+
+USES=		linux:rl9
+USE_LDCONFIG=	yes
+USE_LINUX_RPM=	yes
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.mk>
diff --git a/devel/linux-rl9-libsigsegv/distinfo b/devel/linux-rl9-libsigsegv/distinfo
new file mode 100644
index 000000000000..63e4cc68a46e
--- /dev/null
+++ b/devel/linux-rl9-libsigsegv/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1707310038
+SHA256 (rocky/l/libsigsegv-2.13-4.el9.aarch64.rpm) = 1935c944375f3bf40913bbda2cd87bbaf25a475be51c1662c24f54eb04da584b
+SIZE (rocky/l/libsigsegv-2.13-4.el9.aarch64.rpm) = 27124
+SHA256 (rocky/l/libsigsegv-2.13-4.el9.x86_64.rpm) = a80701bd3f67994493b1a14e043d9212032c86fd24374c309cf2b7006900f4da
+SIZE (rocky/l/libsigsegv-2.13-4.el9.x86_64.rpm) = 27135
+SHA256 (rocky/l/libsigsegv-2.13-4.el9.src.rpm) = 36dc113c8837b27c3c12b021e05786b69c2014519ed4c9f5354436cd80e8b1a4
+SIZE (rocky/l/libsigsegv-2.13-4.el9.src.rpm) = 471565
diff --git a/devel/linux-rl9-libsigsegv/pkg-plist.amd64 b/devel/linux-rl9-libsigsegv/pkg-plist.amd64
new file mode 100644
index 000000000000..d1ac907911e4
--- /dev/null
+++ b/devel/linux-rl9-libsigsegv/pkg-plist.amd64
@@ -0,0 +1,7 @@
+usr/lib/.build-id/dc/6c919a45d4cdcc1e9aa671ba513dfc1350d776
+usr/lib64/libsigsegv.so.2
+usr/lib64/libsigsegv.so.2.0.6
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+usr/share/licenses/libsigsegv/COPYING