Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/sshfp sshfp: fix installation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0bbf5034b1d3
branches:  trunk
changeset: 432997:0bbf5034b1d3
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 29 06:22:47 2020 +0000

description:
sshfp: fix installation

diffstat:

 security/sshfp/Makefile         |  16 ++++++++++++----
 security/sshfp/distinfo         |   3 +--
 security/sshfp/patches/patch-aa |  15 ---------------
 3 files changed, 13 insertions(+), 21 deletions(-)

diffs (62 lines):

diff -r 5c89be441a27 -r 0bbf5034b1d3 security/sshfp/Makefile
--- a/security/sshfp/Makefile   Fri May 29 06:07:23 2020 +0000
+++ b/security/sshfp/Makefile   Fri May 29 06:22:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/05/26 22:39:28 adam Exp $
+# $NetBSD: Makefile,v 1.19 2020/05/29 06:22:47 adam Exp $
 
 DISTNAME=      sshfp-1.2.2
 PKGREVISION=   1
@@ -14,10 +14,18 @@
 DEPENDS+=      ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
 DEPENDS+=      ${PYPKGPREFIX}-ipcalc-[0-9]*:../../net/py-ipcalc
 
-MANCOMPRESSED= yes
-NO_BUILD=      yes
+NO_BUILD=              yes
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+REPLACE_PYTHON+=       dane
+REPLACE_PYTHON+=       sshfp
+
 PYTHON_VERSIONS_ACCEPTED=      27
-REPLACE_PYTHON=        dane sshfp
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/dane ${DESTDIR}${PREFIX}/bin/dane
+       ${INSTALL_SCRIPT} ${WRKSRC}/sshfp ${DESTDIR}${PREFIX}/bin/sshfp
+       ${INSTALL_MAN} ${WRKSRC}/dane.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/sshfp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5c89be441a27 -r 0bbf5034b1d3 security/sshfp/distinfo
--- a/security/sshfp/distinfo   Fri May 29 06:07:23 2020 +0000
+++ b/security/sshfp/distinfo   Fri May 29 06:22:47 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/05/26 21:18:14 khorben Exp $
+$NetBSD: distinfo,v 1.5 2020/05/29 06:22:47 adam Exp $
 
 SHA1 (sshfp-1.2.2.tar.gz) = 090cc250a2ce93e8ddedb4ccdf38553c15f99d33
 RMD160 (sshfp-1.2.2.tar.gz) = 760ce696df3415e3fa162925b6290fa1119ce2bb
 SHA512 (sshfp-1.2.2.tar.gz) = b93f0b5027a66f314abcd3a83b4957c665e9be1db0a17e27a9ed1735ac505b653256a9b9842e77db8fa03620015ebf5c438dc9aab0fa7b0b51b6e2c6ea684368
 Size (sshfp-1.2.2.tar.gz) = 34690 bytes
-SHA1 (patch-aa) = 4cc77adf2f2e1f7f874ec66d79594167dbf45a4c
diff -r 5c89be441a27 -r 0bbf5034b1d3 security/sshfp/patches/patch-aa
--- a/security/sshfp/patches/patch-aa   Fri May 29 06:07:23 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2020/05/26 21:18:14 khorben Exp $
-
---- Makefile.orig      2011-09-07 01:58:25.000000000 +0000
-+++ Makefile
-@@ -2,8 +2,8 @@
- # A basic Makefile for sshfp
- #
- 
--BIN     = $(DESTDIR)/usr/bin
--MAN     = $(DESTDIR)/usr/share/man/man1
-+BIN     = $(DESTDIR)$(PREFIX)/bin
-+MAN     = $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
- 
- all: man daneldnsx
-       



Home | Main Index | Thread Index | Old Index