Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215889 - openssh 4.9 ignores hpn useflag
Summary: openssh 4.9 ignores hpn useflag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-02 14:10 UTC by Mikael Magnusson
Modified: 2008-04-02 21:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Magnusson 2008-04-02 14:10:24 UTC
The HPN patch is commented out in the 4.9_p1 ebuild, which results in a server that won't start if you have any of the hpn options in /etc/ssh/sshd_config . It appears the ebuild has infrastructure for aborting in this case, but hpn isn't in there.

Second hunk adds the check to maybe_fail and first hunk enables the hpn patch (note the v1 -> v2 too).

--- openssh-4.9_p1.ebuild.orig	2008-04-02 16:08:12.292231712 +0200
+++ openssh-4.9_p1.ebuild	2008-04-02 16:08:14.143978496 +0200
@@ -10,7 +10,7 @@ PARCH=${P/_/}
 
 #X509_PATCH="${PARCH}+x509-6.1.diff.gz"
 #LDAP_PATCH="${PARCH/openssh-4.9/openssh-lpk-4.6}-0.3.9.patch"
-#HPN_PATCH="${PARCH}-hpn13v1.diff.gz"
+HPN_PATCH="${PARCH}-hpn13v2.diff.gz"
 
 DESCRIPTION="Port of OpenBSD's free SSH release"
 HOMEPAGE="http://www.openssh.org/"
@@ -52,6 +52,7 @@ pkg_setup() {
 	local fail="
 		$(maybe_fail X509 X509_PATCH)
 		$(maybe_fail ldap LDAP_PATCH)
+		$(maybe_fail hpn HPN_PATCH)
 	"
 	fail=$(echo ${fail})
 	if [[ -n ${fail} ]] ; then
Comment 1 SpanKY gentoo-dev 2008-04-02 21:03:32 UTC
you didnt `etc-update`