summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2022-11-15 15:08:22 +0000
committerfcambus <fcambus@pkgsrc.org>2022-11-15 15:08:22 +0000
commitcfae75313e6e66abd0603446bdf2a64037ac74f2 (patch)
treede6d7bd27d5e484bf0d4eafb4e848c54ec1063d1 /security
parent33fb52f45e0e1f8d93dd837055b32ea3221838b9 (diff)
downloadpkgsrc-cfae75313e6e66abd0603446bdf2a64037ac74f2.tar.gz
ssh-audit: add a post-install directive to install the manual page.
Diffstat (limited to 'security')
-rw-r--r--security/ssh-audit/Makefile9
-rw-r--r--security/ssh-audit/PLIST3
2 files changed, 10 insertions, 2 deletions
diff --git a/security/ssh-audit/Makefile b/security/ssh-audit/Makefile
index 906589dc76d..7bf2e515aca 100644
--- a/security/ssh-audit/Makefile
+++ b/security/ssh-audit/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/10/29 14:03:09 fcambus Exp $
+# $NetBSD: Makefile,v 1.2 2022/11/15 15:08:22 fcambus Exp $
DISTNAME= ssh-audit-2.5.0
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=jtesta/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}
@@ -12,5 +13,11 @@ LICENSE= mit
USE_LANGUAGES= # none
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+post-install:
+ ${RUN}${INSTALL_MAN} ${WRKSRC}/ssh-audit.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/ssh-audit/PLIST b/security/ssh-audit/PLIST
index 2e4e3051fc9..1141a41cff3 100644
--- a/security/ssh-audit/PLIST
+++ b/security/ssh-audit/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/10/29 14:03:09 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/15 15:08:22 fcambus Exp $
bin/ssh-audit
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -98,3 +98,4 @@ ${PYSITELIB}/ssh_audit/versionvulnerabilitydb.pyo
${PYSITELIB}/ssh_audit/writebuf.py
${PYSITELIB}/ssh_audit/writebuf.pyc
${PYSITELIB}/ssh_audit/writebuf.pyo
+man/man1/ssh-audit.1