From owner-freebsd-ports Thu May 31 15:22:32 2001 Delivered-To: freebsd-ports@freebsd.org Received: from leviathan.inethouston.net (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id F076C37B43E for ; Thu, 31 May 2001 15:21:58 -0700 (PDT) (envelope-from dwcjr@inethouston.net) Received: from dwcjr (DWCJR.inethouston.net [216.118.21.147]) by leviathan.inethouston.net (Postfix) with ESMTP id 0CF9A10F40F; Thu, 31 May 2001 17:22:03 -0500 (CDT) Message-ID: <0a3901c0ea20$1eaed040$931576d8@inethouston.net> From: "David W. Chapman Jr." To: "David W. Chapman Jr." , "Pete Fritchman" Cc: References: <080601c0ea0a$a802c420$931576d8@inethouston.net> <20010531155301.B87351@databits.net> <084301c0ea0b$ee47da00$931576d8@inethouston.net> Subject: Re: OpenSSH 2.9 port Date: Thu, 31 May 2001 17:22:03 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I know this is a little premature, but I got a little bored and decided to work some more on it. I have enclosed the following shar for anyone to test, it looks a lot cleaner than the existing openssh port and pr below that upgrades it. I've tested it on freebsd4 but would like other versions of freebsd to be tested if possible. This one is based off the portable version of openssh while the current openssh is based off the openbsd specific version. It appears this portable version doesn't need any patches, but I could be wrong on that. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=27662 # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # openssh # openssh/Makefile # openssh/distinfo # openssh/pkg-plist # openssh/pkg-descr # openssh/pkg-comment # openssh/pkg-message # echo c - openssh mkdir -p openssh > /dev/null 2>&1 echo x - openssh/Makefile sed 's/^X//' >openssh/Makefile << 'END-of-openssh/Makefile' X# New ports collection makefile for: openssh X# Date created: 18 Mar 1999 X# Whom: torstenb X# X# $FreeBSD: ports/mail/postfix-current/Makefile,v 1.57 2001/05/29 13:36:21 ijliao Exp $ X# X XPORTNAME= openssh XPORTVERSION= 2.9p1 XCATEGORIES= security ipv6 XMASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \ X ftp://ftp.op.net/pub/OpenBSD/OpenSSH/portable/ \ X ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/ X XMAINTAINER= ports@freebsd.org X XMAN1= sftp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 scp.1 ssh.1 X XMAN8= sftp-server.8 sshd.8 X XCRYPTOLIBS= -L${OPENSSLLIB} -lcrypto XUSE_OPENSSL= YES XGNU_CONFIGURE= yes XCONFIGURE_ARGS?= --prefix=${PREFIX} X X.if exists(/usr/include/security/pam_modules.h) XCONFIGURE_ARGS+= --with-pam X.endif X X.if exists(/usr/include/tcpd.h) XCONFIGURE_ARGS+= --with-tcp-wrappers X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-openssh/Makefile echo x - openssh/distinfo sed 's/^X//' >openssh/distinfo << 'END-of-openssh/distinfo' XMD5 (openssh-2.9p1.tar.gz) = 591a5f59962c5604c8be81e37090759f END-of-openssh/distinfo echo x - openssh/pkg-plist sed 's/^X//' >openssh/pkg-plist << 'END-of-openssh/pkg-plist' Xbin/ssh Xbin/scp Xbin/ssh-add Xbin/ssh-agent Xbin/ssh-keygen Xbin/ssh-keyscan Xbin/sftp Xsbin/sshd Xlibexec/sftp-server END-of-openssh/pkg-plist echo x - openssh/pkg-descr sed 's/^X//' >openssh/pkg-descr << 'END-of-openssh/pkg-descr' XOpenBSD's OpenSSH portable version X XWWW: http://www.openssh.com/portable.html END-of-openssh/pkg-descr echo x - openssh/pkg-comment sed 's/^X//' >openssh/pkg-comment << 'END-of-openssh/pkg-comment' XThe portable version of OpenBSD's OpenSSH END-of-openssh/pkg-comment echo x - openssh/pkg-message sed 's/^X//' >openssh/pkg-message << 'END-of-openssh/pkg-message' XTo enable this port, please add sshd_program=/usr/local/sbin/sshd and make sure Xsshd_enable is set to YES in your /etc/rc.conf X XYou may also want to put NO_OPENSSH= true in your /etc/make.conf Xand make sure your path is setup to /usr/local/bin before /usr/bin so that you Xare running the port version of openssh and not the version that comes with XFreeBSD X END-of-openssh/pkg-message exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message