git: edc230b72f75 - main - devel/linux-rl9-libunistring: Add new port

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

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

commit edc230b72f754b8bc4bd1b24b8dfa751c9cc1997
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-07-10 12:51:44 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-05-12 10:01:18 +0000

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

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index f592885804d5..f4038650cc06 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -116,6 +116,7 @@ _linux_${linux_ARGS}_libtasn1=		linux-${linux_ARGS}-libtasn1>0:security/linux-${
 _linux_${linux_ARGS}_libthai=		linux-${linux_ARGS}-libthai>0:devel/linux-${linux_ARGS}-libthai
 _linux_${linux_ARGS}_libtheora=		linux-${linux_ARGS}-libtheora>0:multimedia/linux-${linux_ARGS}-libtheora
 _linux_rl9_libtracker-sparql=		linux-rl9-libtracker-sparql>0:databases/linux-rl9-libtracker-sparql
+_linux_rl9_libunistring=		linux-rl9-libunistring>0:devel/linux-rl9-libunistring
 _linux_${linux_ARGS}_libunwind=		linux-${linux_ARGS}-libunwind>0:devel/linux-${linux_ARGS}-libunwind
 _linux_${linux_ARGS}_libv4l=		linux-${linux_ARGS}-libv4l>0:multimedia/linux-${linux_ARGS}-libv4l
 _linux_${linux_ARGS}_libvorbis=		linux-${linux_ARGS}-libvorbis>0:audio/linux-${linux_ARGS}-libvorbis
diff --git a/devel/Makefile b/devel/Makefile
index 2ceb42df854b..d1d0bdbf87af 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1509,6 +1509,7 @@
     SUBDIR += linux-rl9-libgfortran
     SUBDIR += linux-rl9-libpciaccess
     SUBDIR += linux-rl9-libthai
+    SUBDIR += linux-rl9-libunistring
     SUBDIR += linux-rl9-llvm
     SUBDIR += linux-rl9-nspr
     SUBDIR += linux-rl9-systemd-libs
diff --git a/devel/linux-rl9-libunistring/Makefile b/devel/linux-rl9-libunistring/Makefile
new file mode 100644
index 000000000000..a50a652b3b1e
--- /dev/null
+++ b/devel/linux-rl9-libunistring/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	libunistring
+PORTVERSION=	0.9.10
+DISTVERSIONSUFFIX=	-15.el9
+CATEGORIES=	devel linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	Unicode string library (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://www.gnu.org/software/libunistring/
+
+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-libunistring/distinfo b/devel/linux-rl9-libunistring/distinfo
new file mode 100644
index 000000000000..8e2734701857
--- /dev/null
+++ b/devel/linux-rl9-libunistring/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1688992113
+SHA256 (rocky/l/libunistring-0.9.10-15.el9.aarch64.rpm) = 640263402602c1f5a77a2ecde6b73cfd71e6bb574619f6ead58fdf61c0f4f63e
+SIZE (rocky/l/libunistring-0.9.10-15.el9.aarch64.rpm) = 498368
+SHA256 (rocky/l/libunistring-0.9.10-15.el9.x86_64.rpm) = 7e8b90a282ec310de6766619056296bdf666f3040f22cff211cd52710b39ece5
+SIZE (rocky/l/libunistring-0.9.10-15.el9.x86_64.rpm) = 506614
+SHA256 (rocky/l/libunistring-0.9.10-15.el9.src.rpm) = 36875af891173348e6a925f2503ceed9bde3d53d7ce71cf7d95d45b6d052ee37
+SIZE (rocky/l/libunistring-0.9.10-15.el9.src.rpm) = 2064099
diff --git a/devel/linux-rl9-libunistring/pkg-plist.amd64 b/devel/linux-rl9-libunistring/pkg-plist.amd64
new file mode 100644
index 000000000000..e3661da74fd2
--- /dev/null
+++ b/devel/linux-rl9-libunistring/pkg-plist.amd64
@@ -0,0 +1,8 @@
+usr/lib/.build-id/d2/5fb2f51087fc4e0d02ac2bd00f6ea2aa394971
+usr/lib64/libunistring.so.2
+usr/lib64/libunistring.so.2.1.0
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+usr/share/licenses/libunistring/COPYING
+usr/share/licenses/libunistring/COPYING.LIB