From trevor@jpj.net  Sun May 21 07:22:28 2000
Return-Path: <trevor@jpj.net>
Received: from blues.jpj.net (blues.jpj.net [204.97.17.146])
	by hub.freebsd.org (Postfix) with ESMTP id 39D4B37B904
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Sun, 21 May 2000 07:22:27 -0700 (PDT)
	(envelope-from trevor@jpj.net)
Received: from localhost (trevor@localhost)
	by blues.jpj.net (right/backatcha) with ESMTP id e4LEMP521216
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Sun, 21 May 2000 10:22:25 -0400 (EDT)
Message-Id: <Pine.BSI.4.21.0005211000500.17060-100000@blues.jpj.net>
Date: Sun, 21 May 2000 10:22:25 -0400 (EDT)
From: Trevor Johnson <trevor@jpj.net>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: make openssh comply with section 4.4.9

>Number:         18711
>Category:       ports
>Synopsis:       make openssh comply with section 4.4.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 07:30:01 PDT 2000
>Closed-Date:    Mon Apr 2 03:29:05 PDT 2001
>Last-Modified:  Mon Apr 02 03:29:22 PDT 2001
>Originator:     Trevor Johnson
>Release:        5.0-CURRENT i386
>Organization:
myself
>Environment:

only tested on 5.0-CURRENT #0: Fri May  5 02:23:13 PDT 2000

>Description:

The Handbook suggests:

   The MAN[1-9LN] variables will automatically add any manpages to
   pkg/PLIST (this means you must not list manpages in the PLIST

but the openssh port uses the deprecated technique.

>How-To-Repeat:
N/A
>Fix:
diff -ruN openssh.orig/Makefile openssh/Makefile
--- openssh.orig/Makefile	Sat May 13 12:50:57 2000
+++ openssh/Makefile	Sun May 21 06:53:22 2000
@@ -16,6 +16,9 @@
 
 MAINTAINER=	green@FreeBSD.org
 
+MAN1=		scp.1 slogin.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1
+MAN8=		sshd.8
+MANCOMPRESSED=	yes
 USE_OPENSSL=	RSA
 
 .include <bsd.port.pre.mk>
diff -ruN openssh.orig/pkg/PLIST openssh/pkg/PLIST
--- openssh.orig/pkg/PLIST	Fri Nov 19 19:55:29 1999
+++ openssh/pkg/PLIST	Sun May 21 06:42:49 2000
@@ -7,13 +7,6 @@
 etc/rc.d/sshd.sh
 etc/ssh_config
 etc/sshd_config
-man/man1/scp.1.gz
-man/man1/slogin.1.gz
-man/man1/ssh-add.1.gz
-man/man1/ssh-agent.1.gz
-man/man1/ssh-keygen.1.gz
-man/man1/ssh.1.gz
-man/man8/sshd.8.gz
 sbin/sshd
 @exec if [ ! -f %D/etc/ssh_host_key ]; then echo ">> Generating a secret host key."; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi
 @exec if [ ! -x %D/etc/rc.d/sshd.sh ]; then echo "#!/bin/sh" > %D/etc/rc.d/sshd.sh && exec echo "[ -x %D/sbin/sshd ] && %D/sbin/sshd && echo -n ' sshd'" >> %D/etc/rc.d/sshd.sh && exec chmod 0555 %D/etc/rc.d/sshd.sh; fi


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: green->freebsd-ports 
Responsible-Changed-By: trevor 
Responsible-Changed-When: Fri Mar 23 19:59:42 PST 2001 
Responsible-Changed-Why:  
Maintainership changed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18711 
State-Changed-From-To: open->closed 
State-Changed-By: mharo 
State-Changed-When: Mon Apr 2 03:29:05 PDT 2001 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18711 
>Unformatted:
