Commit graph

21 commits

Author SHA1 Message Date
Dirk Meyer
6b75f86631 Small cleanups for smoothlees migration to $PREFIX/etc/shh 2002-06-26 04:01:02 +00:00
Dirk Meyer
3f751261ea Fix a typo, only affects when installing a packae on a clean system.
Submitted by:	anders@fix.no
2002-06-25 04:52:55 +00:00
Dirk Meyer
711a2af34d Create user when package is extracted 2002-06-24 23:17:03 +00:00
Dirk Meyer
499707792a Merge PAM-changes from openssh currrent
Fix build with SKEY=yes, pr# 36119
Cleanup pw_expire handling.
Add missing includes
Changes defaults to: PermitRootLogin=no, UsePrivilegeSeparation=no
Use $PREFIX/etc/ssh for config, updating manpages too.
2002-06-24 21:13:06 +00:00
Dirk Meyer
c90874ad51 Update to openssh-3.3
- New program ssh-keysign
- New manpages for ssh_config and sshd_config
- Merge Pathes to new files
- Fix GCC problem with unsupported __func__ in older Releases
2002-06-22 12:31:18 +00:00
Dirk Meyer
0bb6535e08 create ssh_config-dist and sshd_config-dist
make sure that package install and deinstall
don't temper existing configuration files.
install sshd.sh now as sample.

Package changed, but no need to update
if you have PORTREVISION=2
2002-03-12 17:50:42 +00:00
Dirk Meyer
2153ca77b9 Add etc/moduli if it does not exist already.
sshd complainied about it.
2002-03-11 15:16:48 +00:00
Dirk Meyer
3c402ca6d7 - generate now all 3 host keyes if they don't exists before
- save patchfile from openbsd, it has been removed.
2001-12-01 20:12:14 +00:00
Dirk Meyer
4695aeb326 Let PREFIX/libdata exists, even as it had been created by the port,
Logs on beton complaining about it.
2001-10-12 08:46:52 +00:00
Dirk Meyer
bf0a21e0d5 - Update to OpenSSH 2.9.9
- convert portname into lowercase
- PREFIX support for default sshd_config
- security-patch for cookie files obsolete
2001-10-03 13:15:16 +00:00
Dirk Meyer
152bebfc5c - Update from OpenSSH 2.2.0 to OpenSSH 2.9
- Features:
  Possible use of sftp/sftp-server with older FreeBSD releases.
  Use a newer version independently from the Base system.
  Easier to test and fix possible security bugs.
- Bugs:
  build of pam_ssm.so isn't be supported any more
  Any file named "cookie" can be deleted by this and any older "sshd"
  with X11 Forwarding.
2001-06-08 08:03:26 +00:00
Michael Haro
efec8b8ef2 make openssh comply with section 4.4.9 (MAN vars in Makefile, not plist)
PR:		18711
Submitted by:	    Trevor Johnson <trevor@jpj.net>
2001-04-02 10:28:59 +00:00
Brian Feldman
fb5ef7a539 Also generate the DSA key from a package install.
Submitted by:	Dmitry Grigorovich <odip@bionet.nsc.ru>
2000-05-30 20:43:29 +00:00
Brian Feldman
db8a62a578 ARGH! Remember the echo -n ' sshd'. 1999-11-20 03:55:29 +00:00
Brian Feldman
7382aa363a Change around sshd.sh for the last time. 1999-11-20 03:42:05 +00:00
Brian Feldman
c2edf69286 Turn on HAVE_OPENPTY so more than 16 terminals work with sshd.
Put sshd.sh installation in the pre-install, ssh_host_key generation
back in the PLIST, and check for ssh_config, too.  This port now
works much better as a package.  The configuration files and sshd.sh
are also part of the package, and as such removed on deinstall.

The proper upgrade procedure from one OpenSSH version to a newer one is:
chflags schg /usr/local/etc/ssh*	# preserve them from deletion
cd /usr/ports/security/openssh
make all deinstall reinstall clean

Partially submitted by:	peter
1999-11-20 03:05:31 +00:00
Brian Feldman
8e684ae74d Add that pesky slogin link to the packing list. 1999-11-20 01:55:53 +00:00
Brian Feldman
6ddc61a499 Make the second CVS site work for real.
Move sshd.sh to files and ${INSTALL_SCRIPT}/${PERL} -pi it.

Clean up the Makefile's style a bit (MNF anyone? :)

Add WWW: to pkg/DESCR.

Change MASTER_SITES back to CVS_SITES to avoid problems with
MASTER_SITE_OVERRIDE.

Parts submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>, Robert Muir <rmuir@gibralter.net>
1999-11-18 01:46:43 +00:00
Brian Feldman
db156967fa Update OpenSSH to the latest CVS_DATE.
CVS_SITE is now MASTER_SITES, and each is tried if the previous fails

Include a :pserver: as one of the CVS repositories, so those inside firewalls
should be able to fetch SSH.  If this doesn't work for everyone, I've still
got a trick up my sleeve.

Fix rlimit-related warnings people are seeing by moving the setclasscontext()
to before the switching of uids.  Let me know if this does not work, as I
never got the warnings in the first place.

Don't clobber sshd_config, etc.  Instead, if they're there, just warn of
their existance.

Take the config files and sshd.sh out of the pkg/PLIST, mainly so you don't
lose your configuration files by doing a "make deinstall reinstall clean"
update.

Parts submitted by:	Robert Muir <rmuir@gibralter.net>, Travis Mikalson <bofh@terranova.net>
1999-11-17 20:12:35 +00:00
Brian Feldman
97a018a48f Lots of OpenSSH changes, let's see if I remember them all.
1. Makefile cleanups, pkg/DESCR original comment (obrien)
	2. sshd.sh and automatic host key generation when installed
	   (Christian Weisgerber <naddy@unix-ag.uni-kl.de>)
	3. Completely redone downloading procedure:
		* CVS is used to download the source (${CVS_CMD} defaults to
		  cvs -z3)
		* MD5 checksums and a specific ${CVS_DATE} are used to get
		  a specific source tree and verify it;  ${CVS_DATE} and
		  checksums can easily be rolled forward once tested.
		* Source is checked out to distfiles like other ports,
		  and is only updated when ${CVS_DATE} changes.
		  Rebuilding the port doesn't require another cvs co.

Enjoy!

Reviewed mostly by:	obrien
1999-11-13 05:55:42 +00:00
Brian Feldman
406efcfe3b Say hello to OpenSSH! It's more secure, has a better license, and
is actively maintained by members of the OpenBSD project.
1999-11-08 06:20:54 +00:00