git: abbbdf0e6c3a - main - devel/linux-c7-systemd-libs: Install libudev.so library.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 21:16:30 UTC
The branch main has been updated by arrowd:

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

commit abbbdf0e6c3aacbc60896da29e583dfd86a02f1d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-02-23 21:10:52 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-02-23 21:14:34 +0000

    devel/linux-c7-systemd-libs: Install libudev.so library.
    
    This reverts commit 516aa73ebc6276c688b7c7bcc815658ece81b583
    "Don't install libudev.so.  The linux flash player plugin tries to use it"
    
    We do not have Linux Flashplayer in the tree anymore. Also the libudev library
    seems to be working fine.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 devel/linux-c7-systemd-libs/Makefile        | 5 +----
 devel/linux-c7-systemd-libs/pkg-plist.amd64 | 4 ++++
 devel/linux-c7-systemd-libs/pkg-plist.i386  | 2 ++
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/devel/linux-c7-systemd-libs/Makefile b/devel/linux-c7-systemd-libs/Makefile
index 35777882e34d..ffeb56687662 100644
--- a/devel/linux-c7-systemd-libs/Makefile
+++ b/devel/linux-c7-systemd-libs/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	systemd
 PORTVERSION=	219
 DISTVERSIONSUFFIX=	-78.el7_9.7
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	devel linux
 PKGNAMESUFFIX=	-libs
 
@@ -19,7 +19,4 @@ USE_LINUX_RPM=	yes
 
 LIB_DISTNAMES=	${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
 
-post-patch:
-	@${RM} -r ${WRKSRC}/usr/lib*/libudev.so.* ${WRKSRC}/usr/lib*/security
-
 .include <bsd.port.mk>
diff --git a/devel/linux-c7-systemd-libs/pkg-plist.amd64 b/devel/linux-c7-systemd-libs/pkg-plist.amd64
index f03ac407ee1f..913105ae1ac1 100644
--- a/devel/linux-c7-systemd-libs/pkg-plist.amd64
+++ b/devel/linux-c7-systemd-libs/pkg-plist.amd64
@@ -10,6 +10,8 @@ usr/lib/libsystemd-login.so.0
 usr/lib/libsystemd-login.so.0.9.3
 usr/lib/libsystemd.so.0
 usr/lib/libsystemd.so.0.6.0
+usr/lib/libudev.so.1
+usr/lib/libudev.so.1.6.2
 usr/lib64/libnss_myhostname.so.2
 usr/lib64/libnss_mymachines.so.2
 usr/lib64/libsystemd-daemon.so.0
@@ -22,3 +24,5 @@ usr/lib64/libsystemd-login.so.0
 usr/lib64/libsystemd-login.so.0.9.3
 usr/lib64/libsystemd.so.0
 usr/lib64/libsystemd.so.0.6.0
+usr/lib64/libudev.so.1
+usr/lib64/libudev.so.1.6.2
diff --git a/devel/linux-c7-systemd-libs/pkg-plist.i386 b/devel/linux-c7-systemd-libs/pkg-plist.i386
index bba2493a6741..bc36ff75d5d1 100644
--- a/devel/linux-c7-systemd-libs/pkg-plist.i386
+++ b/devel/linux-c7-systemd-libs/pkg-plist.i386
@@ -10,3 +10,5 @@ usr/lib/libsystemd-login.so.0
 usr/lib/libsystemd-login.so.0.9.3
 usr/lib/libsystemd.so.0
 usr/lib/libsystemd.so.0.6.0
+usr/lib/libudev.so.1
+usr/lib/libudev.so.1.6.2