From owner-ports-jp@jp.freebsd.org  Sun May 31 03:41:12 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.8.8+3.0Wbeta13/8.7.3) id DAA01962;
	Sun, 31 May 1998 03:41:12 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from spa.kuis.kyoto-u.ac.jp (root@lab4imgw.kuis.kyoto-u.ac.jp [130.54.23.230])
	by jaz.jp.freebsd.org (8.8.8+3.0Wbeta13/8.7.3) with ESMTP id DAA01955
	for <ports-jp@jp.freebsd.org>; Sun, 31 May 1998 03:41:08 +0900 (JST)
	(envelope-from shige@kuis.kyoto-u.ac.jp)
Received: from localhost (unaduki.kuis.kyoto-u.ac.jp [130.54.22.157])
	by spa.kuis.kyoto-u.ac.jp (8.8.8/3.6Wspa) with ESMTP id DAA12850;
	Sun, 31 May 1998 03:38:18 +0900 (JST)
To: ports-jp@jp.freebsd.org
Cc: shige@kuis.kyoto-u.ac.jp
In-Reply-To: Your message of "Sat, 30 May 1998 10:38:43 +0900"
	<26913.896492323@coconut.itojun.org>
References: <26913.896492323@coconut.itojun.org>
X-Mailer: Mew version 1.92 on Emacs 20.2 / Mule 3.0 (=?iso-2022-jp?B?GyRCOUhNVTJsGyhC?=)
X-Prom-Mew: Prom-Mew 1.92 (procmail reader for Mew)
X-URL: http://www.yuasa.kuis.kyoto-u.ac.jp/~shige/
X-fingerprint: C8 BD 6A A7 CF FF 74 88  A4 B2 CC 5F C7 61 5C 9A
X-Pgp-Public-Key-URL: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x56B99BF9
Mime-Version: 1.0
X-Face: 34/1@t8]M!wP}sAw$~XQMzl5'O=lCIM]8=_8CE,|S)Vs4Wy@tU~A'wRi\lgWh-o&'|:zg<S
 g%%4BRt%M~>>Gc?0?{^jo8(|5'Tg`yBH81.:!N9tSq*Sp6>C0q@{|&+FaM;R;KkoW1jA?QIWQ3:gNq
 {O%`:ww
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19980531034100V.shige@kuis.kyoto-u.ac.jp>
Date: Sun, 31 May 1998 03:41:00 +0900 (JST)
From: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
X-Dispatcher: imput version 971024
Lines: 55
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: ports-jp 3432
Subject: [ports-jp 3432] Re: ssh-1.2.23 port 
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

 From: Jun-ichiro itojun Itoh <itojun@itojun.org>
 Date: Sat, 30 May 1998 10:38:43 +0900
 Title: [ports-jp 3425] Re: ssh-1.2.23 port 
 Message-ID: <26913.896492323@coconut.itojun.org>

$BJ!Eg!w5~Bg>pJs(B $B$G$9!#(B

> 	maintainer$B$K$OAw$C$?$s$G$9$,!"C/$+%A%'%C%/$7$F$b$i$$$?$$$N$G(B
> 	$B$*$M$,$$$7$^$9!#(B(ssh$B$N$P!<$$!"4V0c$C$F$k$H$H$F$b$$$d$J$N$G(B)

ssh-1.2.x $B$NG[I[J*$NCf$N(B Makefile $B$G(B make install $B$9$k$H(B ./ssh-keygen
$B$7$F$/$l$k$N$G!"(B$PORTSDIR/security/ssh/Makefile $B$N(B post-install $B$G$b$&(B
$B0lEY!"$o$6$o$6(B./ssh-keygen $B$9$kI,MW$O$J$$$H;W$$$^$9!#(B

$B$b$7!"$9$kI,MW$,$"$k$J$i!"(B$PORTSDIR/security/ssh/Makefile $B$N(B
 CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc
$B$r(B
 CONFIGURE_ARGS= --with-etcdir=/etc/ssh
$B$H$$$&Iw$KJQ99$7$F$b!"$=$NJQ99$,$$$+$5$l$k$h$&$K!"(B post-install$BCf$N(B
ssh-keygen $B$N=hM}$rJQ$($F$$$?$@$1$k$H!"8D?ME*$K$O$&$l$7$+$C$?$j$7$^$9!#(B

$B$?$H$($P!"$3$s$J46$8$G$9!#(B

--- $B$3$3$+$i(B
--- Makefile.orig	Sun May 31 03:37:40 1998
+++ Makefile	Sun May 31 03:37:00 1998
@@ -42,7 +42,8 @@
 
 GNU_CONFIGURE=	YES
 
-CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${PREFIX}/etc
+SSH_HOSTKEY_DIR=${PREFIX}/etc
+CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${SSH_HOSTKEY_DIR}
 
 #Uncomment if all your users are in their own group and their homedir
 #is writeable by that group.  Beware the security implications!
@@ -98,9 +99,9 @@
 .endif
 
 post-install:
-	@if [ ! -f ${PREFIX}/etc/ssh_host_key ]; then \
+	@if [ ! -f ${SSH_HOSTKEY_DIR}/ssh_host_key ]; then \
 		echo "Generating a secret host key..."; \
-		${PREFIX}/bin/ssh-keygen -f ${PREFIX}/etc/ssh_host_key -N ""; \
+		${PREFIX}/bin/ssh-keygen -f ${SSH_HOSTKEY_DIR}/ssh_host_key -N ""; \
 	fi
 .if !defined(NOMANCOMPRESS)
 	rm -f ${PREFIX}/man/man1/slogin.1
--- $B$3$3$^$G(B
---------
$BJ!Eg(B $BLPG7(B (Shigeyuki FUKUSHIMA) <shige@kuis.kyoto-u.ac.jp>
  $B5~ETBg3XBg3X1!9)3X8&5f2J>pJs9)3X@l96(B $BEr^I8&5f<<(B
PGP Public Key:
http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x56B99BF9

