Page MenuHomeFreeBSD

openssh: update FreeBSD base system to 8.0
AbandonedPublic

Authored by emaste on Jul 17 2020, 4:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 7, 9:14 AM
Unknown Object (File)
Sun, Sep 6, 3:44 AM
Unknown Object (File)
Sun, Sep 6, 3:33 AM
Unknown Object (File)
Tue, Sep 1, 3:57 AM
Unknown Object (File)
Wed, Aug 26, 11:47 AM
Unknown Object (File)
Mon, Aug 24, 3:03 AM
Unknown Object (File)
Sun, Aug 23, 3:18 PM
Unknown Object (File)
Sat, Aug 15, 9:29 AM

Details

Reviewers
None
Summary

This is a diff between stock OpenSSH-portable 8.0p1 and the result of merging same to crypto/openssh and attempting to resolve conflicts. There are a few issues to be addressed still.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste added a subscriber: brooks.
emaste added inline comments.
crypto/openssh/FREEBSD-upgrade
98

Going through this effort also highlighted that some updates are necessary here.

crypto/openssh/FREEBSD-vendor
4

This will need to be updated

crypto/openssh/auth-pam.c
904–905

We do not have ssh context here.

crypto/openssh/auth.c
608

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=37416

This change should really be made upstream, although I think OpenBSD may not have login_getpwclass so we will need an autoconf test and then something like

#ifdef HAVE_LOGIN_GETPWCLASS
	if ((lc = login_getpwclass(pw)) == NULL) {
#else
	if ((lc = login_getclass(pw->pw_class)) == NULL) {
#endif
crypto/openssh/mux.c
21

ought to drop these

crypto/openssh/myproposal.h
120–121

hmm

crypto/openssh/sandbox-capsicum.c
75

bugfix to be upstreamed

crypto/openssh/servconf.c
293–294

hmm

306–307

this seems like a reasonable fix for upstream?

crypto/openssh/version.h
9

needs to be updated

crypto/openssh/FREEBSD-vendor
4

Fixed in local tree for D29985

crypto/openssh/auth.c
608

login_getpwclass now upstream

crypto/openssh/mux.c
21

Keeping them for now for the benefit of stable/11 and stable/12 which are still being updated via svn. Will remove in the future.

crypto/openssh/myproposal.h
120–121

no longer present