Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 17:22:03 -0500
From:      "David W. Chapman Jr." <dwcjr@inethouston.net>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>, "Pete Fritchman" <petef@databits.net>
Cc:        <ports@FreeBSD.org>
Subject:   Re: OpenSSH 2.9 port
Message-ID:  <0a3901c0ea20$1eaed040$931576d8@inethouston.net>
References:  <080601c0ea0a$a802c420$931576d8@inethouston.net> <20010531155301.B87351@databits.net> <084301c0ea0b$ee47da00$931576d8@inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a3901c0ea20$1eaed040$931576d8>