git: dd2c7a1e797f - main - misc/compat10x: remove pam_ssh.so.5 and add a dep on compat13x

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 18 Mar 2025 16:56:37 UTC
The branch main has been updated by bapt:

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

commit dd2c7a1e797fda40b1f9a31079275c022a2f8018
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-18 16:20:58 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-18 16:56:33 +0000

    misc/compat10x: remove pam_ssh.so.5 and add a dep on compat13x
    
    It depends on libssh.so.5 which was never added to the package, which
    means hasn't been functional as is. as libssh.so.5 was a private lib in
    FreeBSD 10 un usr/lib/private, and also depends on other private libs
    it's complicated to decide how to package it.
    
    Remove pam_ssh.so.5 which drops the dependency on libssh
    
    While here add a dependency on compat13x for libncurses.
---
 misc/compat10x/Makefile        | 5 +++++
 misc/compat10x/pkg-plist.amd64 | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/misc/compat10x/Makefile b/misc/compat10x/Makefile
index 95f41994f837..6354b9fb0188 100644
--- a/misc/compat10x/Makefile
+++ b/misc/compat10x/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	compat10x
 PORTVERSION=	10.4.1004000.20181014
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/des
 PKGNAMESUFFIX=	-${ARCH}
@@ -22,6 +23,10 @@ USE_LDCONFIG=	${TARGET_DIR}
 USE_LDCONFIG32=	${TARGET32_DIR}
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000
+RUN_DEPENDS+=	compat12x-${ARCH}>=0:misc/compat12x
+.endif
+
 do-install:
 	@${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR}
 	(cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR})
diff --git a/misc/compat10x/pkg-plist.amd64 b/misc/compat10x/pkg-plist.amd64
index c898d3bff118..b9ebb79d5ff9 100644
--- a/misc/compat10x/pkg-plist.amd64
+++ b/misc/compat10x/pkg-plist.amd64
@@ -37,7 +37,7 @@ lib/compat/pam_rhosts.so.5
 lib/compat/pam_rootok.so.5
 lib/compat/pam_securetty.so.5
 lib/compat/pam_self.so.5
-lib/compat/pam_ssh.so.5
+@comment lib/compat/pam_ssh.so.5
 lib/compat/pam_tacplus.so.5
 lib/compat/pam_unix.so.5
 lib32/compat/libcam.so.6
@@ -78,6 +78,6 @@ lib32/compat/pam_rhosts.so.5
 lib32/compat/pam_rootok.so.5
 lib32/compat/pam_securetty.so.5
 lib32/compat/pam_self.so.5
-lib32/compat/pam_ssh.so.5
+@comment lib32/compat/pam_ssh.so.5
 lib32/compat/pam_tacplus.so.5
 lib32/compat/pam_unix.so.5