Bug 176198

Summary: security/dropbear fails to install man pages
Product: Ports & Packages Reporter: Brett Wynkoop <bsdbugs>
Component: Individual Port(s)Assignee: Alex Kozlov <ak>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Brett Wynkoop 2013-02-16 18:40:00 UTC
dropbear port fails to install man pages

Fix: 

Looks like the upstream supplied configure stuff needs a fix to copy the man pages to /usr/local/man in the generated makefile, or the FreeBSD make file can just have such a fix added to it.

plist needs to include:

man/man1/dbclient.1
man/man1/dropbear.8 
man/man1/dropbearkey.8

You can probably put the copy of the man files into the postinstall portion of the freebsd make file if the upstream author does not want to fix his stuff.
How-To-Repeat: cd /usr/ports/security/dropbear ; make package recursive
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-16 21:35:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ak

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-17 08:43:24 UTC
Author: ak
Date: Sun Feb 17 08:43:16 2013
New Revision: 312405
URL: http://svnweb.freebsd.org/changeset/ports/312405

Log:
  - Install manpages [1]
  - Convert Makefile headers to new style
  - Remove indefinite article from COMMENT
  
  PR:	ports/176198 (based on) [1]
  Submitted by:	Brett Wynkoop <bsdbugs@wynn.com>

Modified:
  head/security/dropbear/Makefile   (contents, props changed)

Modified: head/security/dropbear/Makefile
==============================================================================
--- head/security/dropbear/Makefile	Sun Feb 17 08:19:53 2013	(r312404)
+++ head/security/dropbear/Makefile	Sun Feb 17 08:43:16 2013	(r312405)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	dropbear
-# Date created:				20 August 2003
-# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
-#
+# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
 # $FreeBSD$
-#
 
 PORTNAME=	dropbear
 PORTVERSION=	2012.55
@@ -11,11 +7,11 @@ CATEGORIES=	security ipv6
 MASTER_SITES=	http://matt.ucc.asn.au/dropbear/releases/
 
 MAINTAINER=	ak@FreeBSD.org
-COMMENT=	An SSH 2 server, designed to be usable in small memory environments
+COMMENT=	SSH 2 server, designed to be usable in small memory environments
 
-GNU_CONFIGURE=	YES
-USE_BZIP2=	YES
-USE_GMAKE=	YES
+GNU_CONFIGURE=	yes
+USE_BZIP2=	yes
+USE_GMAKE=	yes
 
 USE_RC_SUBR=	${PORTNAME}
 
@@ -26,6 +22,9 @@ PLIST_FILES=	bin/dbclient \
 
 PLIST_DIRSTRY=	etc/dropbear
 
+MAN1=	dbclient.1
+MAN8=	dropbear.8 dropbearkey.8
+
 OPTIONS_DEFINE=	STATIC
 
 .include <bsd.port.options.mk>
@@ -43,5 +42,7 @@ post-patch:
 
 post-install:
 	@${MKDIR} ${PREFIX}/etc/dropbear
+	${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/|} ${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${MAN8:S|^|${WRKSRC}/|} ${MAN8PREFIX}/man/man8
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Alex Kozlov freebsd_committer freebsd_triage 2013-02-17 08:44:41 UTC
State Changed
From-To: open->closed

Committed. Thanks!