aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Apesteguía <fernape@FreeBSD.org>2021-11-01 16:12:27 +0000
committerFernando Apesteguía <fernape@FreeBSD.org>2021-11-01 17:24:23 +0000
commit99e88a089ad0d7db7edc77a1cb45797cd610428d (patch)
tree9eb85e0c2f08a46862582b68c95c2f1f836a2772
parentad98f040e289b2b3275f2cb069733f29c7d714c9 (diff)
downloadports-99e88a089ad0d7db7edc77a1cb45797cd610428d.tar.gz
ports-99e88a089ad0d7db7edc77a1cb45797cd610428d.zip
security/sssd: Fix man page paths
Adapt paths in man page to FreeBSD filesystem layout. PR: 254193 Reported by: amendlik@gmail.com Approved by: lukas.slebodnik@intrak.sk (maintainter timeout > 4 weeks)
-rw-r--r--security/sssd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index 73e0055fe3f0..b3676d1de8b8 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sssd
PORTVERSION= 1.16.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= https://releases.pagure.org/SSSD/${PORTNAME}/
@@ -100,6 +100,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|/etc/sssd/|${ETCDIR}/|g' \
-e 's|/etc/openldap/|${LOCALBASE}/etc/openldap/|g' \
${WRKSRC}/src/man/*xml
+ @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \
+ -e 's|/var/lib/sss/pubconf/|/var/db/sss/pubconf/|g' \
+ ${WRKSRC}/src/man/sss_ssh_knownhostsproxy.1.xml \
+ ${WRKSRC}/src/man/*/sss_ssh_knownhostsproxy.1.xml \
+ ${WRKSRC}/src/man/po/*.po
@${CP} ${FILESDIR}/bsdnss.c ${WRKSRC}/src/sss_client/bsdnss.c
@${CP} ${FILESDIR}/sss_bsd_errno.h ${WRKSRC}/src/util/sss_bsd_errno.h