pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ssh-audit ssh-audit: add a post-install direc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6be471f47ec
branches:  trunk
changeset: 388262:d6be471f47ec
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Tue Nov 15 15:08:22 2022 +0000

description:
ssh-audit: add a post-install directive to install the manual page.

diffstat:

 security/ssh-audit/Makefile |  9 ++++++++-
 security/ssh-audit/PLIST    |  3 ++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r a8d0a82292eb -r d6be471f47ec security/ssh-audit/Makefile
--- a/security/ssh-audit/Makefile       Tue Nov 15 15:07:33 2022 +0000
+++ b/security/ssh-audit/Makefile       Tue Nov 15 15:08:22 2022 +0000
@@ -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 @@
 
 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 -r a8d0a82292eb -r d6be471f47ec security/ssh-audit/PLIST
--- a/security/ssh-audit/PLIST  Tue Nov 15 15:07:33 2022 +0000
+++ b/security/ssh-audit/PLIST  Tue Nov 15 15:08:22 2022 +0000
@@ -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/writebuf.py
 ${PYSITELIB}/ssh_audit/writebuf.pyc
 ${PYSITELIB}/ssh_audit/writebuf.pyo
+man/man1/ssh-audit.1



Home | Main Index | Thread Index | Old Index