Bug 144597 - security/openssh-portable fails to compile with KERBEROS enabled
Summary: security/openssh-portable fails to compile with KERBEROS enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 20:30 UTC by lordsith49
Modified: 2011-10-21 17:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lordsith49 2010-03-09 20:30:01 UTC
From make all install:


cc -O2 -fno-strict-aliasing -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -fstack-protector-all -I. -I.  -I/include -DSSHDIR=\"/usr/local/etc/ssh\"  -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"  -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"  -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"  -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"  -D_PATH_SSH_PIDDIR=\"/var/run\"  -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"  -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp-common.c
cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o  sshpty.o sshlogin.o servconf.o serverloop.o  auth.o auth1.o auth2.o auth-options.o session.o  auth-chall.o auth2-chall.o groupaccess.o  auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o  auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o  monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o  auth-krb5.o  auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o  audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o -L. -Lopenbsd-compat/  -fstack-protector-all -L/lib -lssh -lopenbsd-compat -lwrap -lpam -lcrypto -lutil -lz  -lcrypt -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err -lasn1 -lroken
gss-serv-krb5.o(.text+0x4f0): In function `ssh_gssapi_krb5_updatecreds':
: undefined reference to `krb5_free_unparsed_name'
gss-serv-krb5.o(.text+0x508): In function `ssh_gssapi_krb5_updatecreds':
: undefined reference to `krb5_free_unparsed_name'
*** Error code 1

Stop in /usr/ports/security/openssh-portable/work/openssh-5.2p1.
*** Error code 1

Stop in /usr/ports/security/openssh-portable.
*** Error code 1

Stop in /usr/ports/security/openssh-portable.

How-To-Repeat: I have tested this on two servers:

cd /usr/ports/security/openssh-portable
make all install clean
Select the following options:
WITH_GSSAPI=true
WITH_KERB_GSSAPI=true

compile will error out with the above message.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-15 06:34:16 UTC
Maintainer of security/openssh-portable,

Please note that PR ports/144597 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144597

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-15 06:43:10 UTC
Maintainer of security/openssh-portable,

Please note that PR ports/144597 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144597

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-15 06:43:12 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2010-08-23 00:21:26 UTC
State Changed
From-To: feedback->open

Maintainer was reset.
Comment 5 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2011-07-14 05:03:40 UTC
State Changed
From-To: open->feedback

Need to ask if submitter is still interested in fixing the port. 


Comment 6 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2011-07-14 05:03:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stephen

I'll take it.
Comment 7 Stephen Montgomery-Smith 2011-07-14 05:15:08 UTC
Are you still interested in fixing the port?

I think I see how to work a fix.  You can try it yourself.  You run it with

make KRB5_HOME=/usr/local

This will install krb5 as the dependency.

There is also the possibility to install heimdal as the dependency, but 
I haven't made that work yet.

It should be fairly easy to fix it up so that krb5 works, and probably 
not too much work to make heimdal work as well.  I can make it build. 
But I wouldn't have any idea how to test it.  So I'll need your 
cooperation to test the fixes.

Get back to me if you are still interested.

stephen@FreeBSD.org
Comment 8 Mark Linimon 2011-07-14 06:22:49 UTC
----- Forwarded message from Stephen Montgomery-Smith <stephen@missouri.edu> -----

Date: Wed, 13 Jul 2011 23:39:01 -0500
From: Stephen Montgomery-Smith <stephen@missouri.edu>
To: FreeBSD Ports <freebsd-ports@FreeBSD.org>,
	Stephen Montgomery-Smith <stephen@FreeBSD.org>
Subject: ports/144597: security/openssh-portable fails to compile with
	KERBEROS enabled

Hey people,

I was looking over old unresolved PR's.  I came across this one:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144597

When I sent a message to the submitter of the PR, the email bounced
back suggesting that the submitter no longer uses that email address.

I don't think it would be too hard to make the port build under the
circumstances he describes.  But is ANYONE interested?  Would it be
worth investing effort to make this work?

Note that the port has ports@ as its maintainer, so it doesn't look
like there is a lot of interest.

Thanks, Stephen

P.S. This one is related:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/57498

Is this a big bag of worms?

I can see that seems to be fixed, for example, in mail/fetchmail.

----- End forwarded message -----
Comment 9 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2011-07-16 00:30:09 UTC
State Changed
From-To: feedback->open

The submitter's email address no longer is active. 


Comment 10 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2011-07-16 00:30:09 UTC
Responsible Changed
From-To: stephen->freebsd-bugs-ports

I am not willing to work on this PR without the cooperation of the submitter, or someone who uses the software.
Comment 11 lordsith49 2011-07-18 18:21:32 UTC
Let me see if I can set up a test box in the next couple of days.
Jonathan

> Date: Wed, 13 Jul 2011 23:15:08 -0500
> From: stephen@missouri.edu
> To: bug-followup@FreeBSD.org; lordsith49@hotmail.com
> Subject: Re: ports/144597: security/openssh-portable fails to compile with KERBEROS enabled
> 
> Are you still interested in fixing the port?
> 
> I think I see how to work a fix.  You can try it yourself.  You run it with
> 
> make KRB5_HOME=/usr/local
> 
> This will install krb5 as the dependency.
> 
> There is also the possibility to install heimdal as the dependency, but 
> I haven't made that work yet.
> 
> It should be fairly easy to fix it up so that krb5 works, and probably 
> not too much work to make heimdal work as well.  I can make it build. 
> But I wouldn't have any idea how to test it.  So I'll need your 
> cooperation to test the fixes.
> 
> Get back to me if you are still interested.
> 
> stephen@FreeBSD.org

 		 	   		  =
Comment 12 Stephen Montgomery-Smith 2011-07-18 18:29:16 UTC
On 07/18/2011 12:21 PM, Jonathan Call wrote:
> Let me see if I can set up a test box in the next couple of days.
>
> Jonathan

openssh-portable is going to get a new maintainer soon, and he is 
planning to update to version 5.8.  So it might be wise to wait until he 
submits his new patch.

Is you "lordsith49" email address active?
Comment 13 lordsith49 2011-07-18 18:53:35 UTC
Yes, this is an active email address.


> Date: Mon, 18 Jul 2011 12:29:16 -0500
> From: stephen@missouri.edu
> To: lordsith49@hotmail.com
> CC: bug-followup@freebsd.org
> Subject: Re: ports/144597: security/openssh-portable fails to compile with KERBEROS enabled
> 
> On 07/18/2011 12:21 PM, Jonathan Call wrote:
> > Let me see if I can set up a test box in the next couple of days.
> >
> > Jonathan
> 
> openssh-portable is going to get a new maintainer soon, and he is 
> planning to update to version 5.8.  So it might be wise to wait until he 
> submits his new patch.
> 
> Is you "lordsith49" email address active?

 		 	   		  =
Comment 14 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2011-07-19 03:09:08 UTC
State Changed
From-To: open->feedback

This port now has a maintainer.
Comment 15 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2011-07-19 03:10:35 UTC
Responsible Changed
From-To: freebsd-bugs-ports->stephen

I'll take this.
Comment 16 Stephen Montgomery-Smith 2011-07-19 03:18:28 UTC
Dear new maintainer of security/openssh-portable,

The PR ports/144597 was filed, and pertains to this port.

Thanks, Stephen
Comment 17 dfilter service freebsd_committer freebsd_triage 2011-10-21 17:19:12 UTC
flo         2011-10-21 16:18:57 UTC

  FreeBSD ports repository

  Modified files:
    security/openssh-portable Makefile distinfo pkg-plist 
    security/openssh-portable/files openssh.in patch-Makefile.in 
                                    patch-auth.c patch-auth1.c 
                                    patch-auth2.c patch-loginrec.c 
                                    patch-readconf.c 
                                    patch-servconf.c 
                                    patch-session.c 
                                    patch-ssh-agent.c patch-ssh.c 
                                    patch-ssh_config 
                                    patch-ssh_config.5 
                                    patch-sshd.8 patch-sshd.c 
                                    patch-sshd_config 
                                    patch-sshd_config.5 
  Added files:
    security/openssh-portable/files extra-patch-configure 
                                    openssh-lpk-5.8p2.patch 
  Removed files:
    security/openssh-portable/files VersionAddendum-ssh.1.patch 
                                    VersionAddendum-ssh_config.5.patch 
                                    VersionAddendum-sshd_config.5.patch 
                                    contrib-openssh-5.1_p1-lpk-64bit.patch 
                                    contrib-openssh-lpk-5.1p1-0.3.10-servconf.c.patch 
                                    contrib-openssh-lpk-5.1p1-0.3.10.patch 
                                    gss-serv.c.patch 
                                    lpk+hpn-servconf.c.patch 
                                    openssh-5.2p1-hpn13v6-servconf.c.diff 
                                    openssh-5.2p1-hpn13v6.diff 
                                    openssh-5.2p1.sftpfilecontrol-v1.3.patch 
                                    patch-version.c 
                                    patch-version.h 
  Log:
  - update to 5.8p2 [1]
  - fix Kerberos knob [2]
  - fix build on 9.0 [3]
  - fix deinstall with various knobs [4]
  - fix LPK knob [5]
  
  PR:             ports/161818 [1], ports/144597 [2], ports/160389 [3]
                  ports/150493, ports/156926 [4], ports/155456 [5]
  
  Submitted by:   "Grzegorz Blach" <magik@roorback.net> [1], [2], [4], [5]
                  pluknet [3]
  Reported by:    Jonathan <lordsith49@hotmail.com> [2]
                  Kevin Thompson <antiduh@csh.rit.edu> [4]
                  Alexey Remizov <alexey@remizov.org> [5]
  
  Revision  Changes    Path
  1.155     +48 -86    ports/security/openssh-portable/Makefile
  1.53      +8 -6      ports/security/openssh-portable/distinfo
  1.2       +0 -10     ports/security/openssh-portable/files/VersionAddendum-ssh.1.patch (dead)
  1.2       +0 -14     ports/security/openssh-portable/files/VersionAddendum-ssh_config.5.patch (dead)
  1.2       +0 -14     ports/security/openssh-portable/files/VersionAddendum-sshd_config.5.patch (dead)
  1.2       +0 -44     ports/security/openssh-portable/files/contrib-openssh-5.1_p1-lpk-64bit.patch (dead)
  1.2       +0 -213    ports/security/openssh-portable/files/contrib-openssh-lpk-5.1p1-0.3.10-servconf.c.patch (dead)
  1.2       +0 -1682   ports/security/openssh-portable/files/contrib-openssh-lpk-5.1p1-0.3.10.patch (dead)
  1.1       +10 -0     ports/security/openssh-portable/files/extra-patch-configure (new)
  1.3       +0 -19     ports/security/openssh-portable/files/gss-serv.c.patch (dead)
  1.2       +0 -307    ports/security/openssh-portable/files/lpk+hpn-servconf.c.patch (dead)
  1.2       +0 -117    ports/security/openssh-portable/files/openssh-5.2p1-hpn13v6-servconf.c.diff (dead)
  1.3       +0 -3566   ports/security/openssh-portable/files/openssh-5.2p1-hpn13v6.diff (dead)
  1.2       +0 -488    ports/security/openssh-portable/files/openssh-5.2p1.sftpfilecontrol-v1.3.patch (dead)
  1.1       +1880 -0   ports/security/openssh-portable/files/openssh-lpk-5.8p2.patch (new)
  1.5       +11 -2     ports/security/openssh-portable/files/openssh.in
  1.7       +4 -13     ports/security/openssh-portable/files/patch-Makefile.in
  1.9       +3 -3      ports/security/openssh-portable/files/patch-auth.c
  1.8       +8 -8      ports/security/openssh-portable/files/patch-auth1.c
  1.8       +6 -6      ports/security/openssh-portable/files/patch-auth2.c
  1.7       +8 -8      ports/security/openssh-portable/files/patch-loginrec.c
  1.3       +3 -41     ports/security/openssh-portable/files/patch-readconf.c
  1.3       +6 -36     ports/security/openssh-portable/files/patch-servconf.c
  1.26      +35 -35    ports/security/openssh-portable/files/patch-session.c
  1.4       +3 -3      ports/security/openssh-portable/files/patch-ssh-agent.c
  1.2       +12 -8     ports/security/openssh-portable/files/patch-ssh.c
  1.3       +2 -7      ports/security/openssh-portable/files/patch-ssh_config
  1.2       +3 -3      ports/security/openssh-portable/files/patch-ssh_config.5
  1.2       +6 -6      ports/security/openssh-portable/files/patch-sshd.8
  1.4       +7 -7      ports/security/openssh-portable/files/patch-sshd.c
  1.8       +6 -15     ports/security/openssh-portable/files/patch-sshd_config
  1.2       +17 -26    ports/security/openssh-portable/files/patch-sshd_config.5
  1.2       +0 -65     ports/security/openssh-portable/files/patch-version.c (dead)
  1.2       +0 -19     ports/security/openssh-portable/files/patch-version.h (dead)
  1.18      +1 -1      ports/security/openssh-portable/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 18 Florian Smeets freebsd_committer freebsd_triage 2011-10-21 17:24:27 UTC
State Changed
From-To: feedback->closed

Should be fixed in the latest version of the port