From owner-freebsd-ports@freebsd.org Tue Apr 24 11:46:15 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21101F9162A for ; Tue, 24 Apr 2018 11:46:15 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A79C86CB86 for ; Tue, 24 Apr 2018 11:46:14 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by mail-ua0-x22c.google.com with SMTP id j18so12321984uae.12 for ; Tue, 24 Apr 2018 04:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hmOu/353dDUmEgY2xXCYnI2nh8zHr+lqPdY5XBqf/LU=; b=obDT7KQfaAZ7peoZZxfoz8DTMESW1e1tEsepYW4QT1WJJWGvqmvrlSzHJI74dufhRM LO49bWnvKNmLofJhzkbvvGvQrdNaGF/+IhscuOXfliiJCJWQfnGTAm/eFhd/IdjmJfl3 ZPxAq/TCLnJhc5aZH+13WFVdFf0JmvPMXjdPjL0EUdbMEv5nP283NkfdvY0wlGavlsnh UFHUgdxBKxBDzUG0/6Tm7mfKC/Q4fNWhOhPJFEn3C1xx42lrTyv78H0Cfea05wJ5Zba3 suenMndq0wrJb6hrZYo3/+q9b39ZCtOusLyi1+2lpC8260jnreN6s5ee5XAKCNBxGjk9 atug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hmOu/353dDUmEgY2xXCYnI2nh8zHr+lqPdY5XBqf/LU=; b=EEOe1y3TECwJww2C6gFZXsV6zcxjAfTJomi25vxXAoisqcjVC5soOwaTvQoJuqGmd+ L+8EFqBmU5yyPwff6ZTr7hJxJmxUcxaGToDPfD3i77VQSUZmGxpID83hxjbnnWmq8rsZ Jdz8kMlzFYNepRI+q959LrN9kKIpwZ9J1wjQwHJCFGeWeetkeRD68fnAzPD3k5EgJytl P5iDEkimzJBsIzwwpTezOLU7vsByML2hSkzrm3WYaXjCpEIJLcGDuzOfJznBag1HDp9e O8G68VMtN0i0+zsYeD2sJvBKUBWlZQyJ7Qun2U/Urrt8G2jGxDm8HF66jLwYSNMX4jOI OXSw== X-Gm-Message-State: ALQs6tCVakZuS4sYdmO8u/s6sweK1X2oh/DpH7i4yZJqeWciB9x0sIlR 42wDwMORhnJ/3JAjeFttb9/Vob6T+kf7/cRDarA= X-Google-Smtp-Source: AIpwx48bC1glr7SIIEHkHcsbK1wSJG+tM4HRtJiFu5/rIgp5FnuVDgqHPg9qPHqe4oInfMrv/Ko09pYEidKim+Y7voE= X-Received: by 10.176.79.145 with SMTP id m17mr18488902uah.77.1524570373947; Tue, 24 Apr 2018 04:46:13 -0700 (PDT) MIME-Version: 1.0 From: Rick Miller Date: Tue, 24 Apr 2018 11:46:03 +0000 Message-ID: Subject: security/openssh-portable and KERB_GSSAPI To: freebsd-ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 11:46:15 -0000 Hi, Thanks in advance for taking a look at this. I need help understanding how to test a port patch and submit it to the port maintainer. Port in question is security/openssh-portable, for which KERB_GSSAPI is broken. Upstream has a patch, but Poudriere is failing in the fetch phase after my updates. security/openssh-portable/Makefile is updated according to the patch below in order to test, but Poudriere fails citing the error below. root@server # svn diff Index: security/openssh-portable/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- security/openssh-portable/Makefile (revision 460698) +++ security/openssh-portable/Makefile (working copy) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME=3D openssh -DISTVERSION=3D 7.6p1 -PORTREVISION=3D 3 +DISTVERSION=3D 7.7p1 +PORTREVISION=3D 4 PORTEPOCH=3D 1 CATEGORIES=3D security ipv6 MASTER_SITES=3D OPENBSD/OpenSSH/portable @@ -89,7 +89,9 @@ .include -PATCH_SITES+=3D http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,x509,hpn,gsskex +#PATCH_SITES+=3D http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,x509,hpn,gsskex \ +PATCH_SITES+=3D http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,x509,hpn \ + http://sources.debian.net/data/main/o/openssh/1:7.7p1-2/debian/patches/:gss= kex # X509 patch includes TCP Wrapper support already .if ${PORT_OPTIONS:MX509} @@ -98,7 +100,6 @@ # Must add this patch before HPN due to conflicts .if ${PORT_OPTIONS:MKERB_GSSAPI} -BROKEN=3D No patch for 7.6 yet. # Patch from: # http://sources.debian.net/data/main/o/openssh/1:7.4p1-5/debian/patches/gssa= pi.patch # which was originally based on 5.7 patch from @@ -108,12 +109,13 @@ # Needed glue for applying HPN patch without conflict EXTRA_PATCHES+=3D ${FILESDIR}/extra-patch-hpn-gss-glue . endif -PATCHFILES+=3D openssh-7.4p1-gsskex-all-20141021-debian-rh-20161228.patch.gz:-p1:gsskex +#PATCHFILES+=3D openssh-7.4p1-gsskex-all-20141021-debian-rh-20161228.patch.gz:-p1:gsskex +PATCHFILES+=3D gssapi.patch:-p1:gsskex .endif # http://www.psc.edu/index.php/hpn-ssh https://github.com/rapier1/hpn-ssh https://github.com/rapier1/openssh-portable .if ${PORT_OPTIONS:MHPN} || ${PORT_OPTIONS:MNONECIPHER} -BROKEN=3D Not yet updated for 7.= 6+ and disabled in base +#BROKEN=3D Not yet updated for 7.6+ and disabled in base PORTDOCS+=3D HPN-README HPN_VERSION=3D 14v5 HPN_DISTVERSION=3D 6.7p1 Index: security/openssh-portable/distinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- security/openssh-portable/distinfo (revision 460698) +++ security/openssh-portable/distinfo (working copy) @@ -1,7 +1,3 @@ -TIMESTAMP =3D 1507833573 -SHA256 (openssh-7.6p1.tar.gz) =3D a323caeeddfe145baaa0db16e98d784b1fbc7dd436a6bf1f479dfd5cd1d21723 -SIZE (openssh-7.6p1.tar.gz) =3D 1489788 -SHA256 (openssh-7.2_p1-sctp.patch.gz) =3D fb67e3e23f39fabf44ef198e3e19527417c75c9352747547448512032365dbfc -SIZE (openssh-7.2_p1-sctp.patch.gz) =3D 8501 -SHA256 (openssh-7.6p1+x509-11.0.diff.gz) =3D bc4175ed8efce14579f10e242b25a23c959b1ff0e63b7c15493503eb654a960e -SIZE (openssh-7.6p1+x509-11.0.diff.gz) =3D 440219 +TIMESTAMP =3D 1524506053 +SHA256 (openssh-7.7p1.tar.gz) =3D d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f +SIZE (openssh-7.7p1.tar.gz) =3D 1536900 Poudri=C3=A8re fails to build the port citing: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D> gssapi.patch is not in /usr/ports/security/openssh-portable/distinfo. =3D> Either /usr/ports/security/openssh-portable/distinfo is out of date, o= r =3D> gssapi.patch is spelled incorrectly. *** Error code 1 Stop. make: stopped in /usr/ports/security/openssh-portable Surely this is something I=E2=80=99m not doing right. Just need help unders= tanding. Do you have feedback? --=20 Take care Rick Miller