NetBSD Problem Report #49118
From www@NetBSD.org Fri Aug 15 15:21:57 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id E36DBAD686
for <gnats-bugs@gnats.NetBSD.org>; Fri, 15 Aug 2014 15:21:56 +0000 (UTC)
Message-Id: <20140815152155.ADB74AD69B@mollari.NetBSD.org>
Date: Fri, 15 Aug 2014 15:21:55 +0000 (UTC)
From: nshalman-pkgsrc@elys.com
Reply-To: nshalman-pkgsrc@elys.com
To: gnats-bugs@NetBSD.org
Subject: update ap-auth-kerb to build for apache 2.
X-Send-Pr-Version: www-1.0
>Number: 49118
>Category: pkg
>Synopsis: update ap-auth-kerb to build for apache 2.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: markd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 15 15:25:00 +0000 2014
>Closed-Date: Fri Sep 30 08:03:31 +0000 2016
>Last-Modified: Fri Sep 30 08:03:31 +0000 2016
>Originator: Nahum Shalman
>Release: pkgsrc 2014Q2 and earlier
>Organization:
Elysium Digital, L.L.C.
>Environment:
SmartOS (SunOS shalman.org 5.11 joyent_20140710T182029Z i86pc i386 i86pc Solaris)
>Description:
The Makefile for ap-auth-kerb doesn't currently support apache24.
The patches from the Fedora project appear to fix the build.
http://pkgs.fedoraproject.org/cgit/mod_auth_kerb.git/tree/
The spec file applies them in this order:
Patch1: mod_auth_kerb-5.4-rcopshack.patch
Patch2: mod_auth_kerb-5.4-fixes.patch
Patch3: mod_auth_kerb-5.4-s4u2proxy.patch
Patch4: mod_auth_kerb-5.4-httpd24.patch
Patch5: mod_auth_kerb-5.4-delegation.patch
Patch6: mod_auth_kerb-5.4-cachedir.patch
Patch7: mod_auth_kerb-5.4-longuser.patch
Patch8: mod_auth_kerb-5.4-handle-continue.patch
I have converted those patches (plus the original
pkgsrc one) into a pair of per-file patches.
I also explicitly force the use of the pkgsrc
kerberos library on SunOS because the platform
kerberos doesn't work to build let alone run
this package
>How-To-Repeat:
1. Install pkgsrc
2. Install apache24
3. Try to install mod_auth_kerb for apache24
4. Experience sadness.
>Fix:
My proposed patch can be retrieved raw from here:
https://github.com/nshalman/pkgsrc/commit/6c98bfb520b6ed4a8eb0f6f37b0967a49e7e0ef8.patch
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 15 Aug 2014 15:26:14 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Mark Davies <mark@ecs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49118: update ap-auth-kerb to build for apache 2.
Date: Sat, 16 Aug 2014 13:12:46 +1200
On Sat, 16 Aug 2014 03:25:00 you wrote:
> The Makefile for ap-auth-kerb doesn't currently support apache24.
spz already applied a patch for apache24. Was that not sufficient?
cheers
mark
From: Nahum Shalman <nshalman-pkgsrc@elys.com>
To: gnats-bugs@NetBSD.org, markd@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/49118: update ap-auth-kerb to build for apache 2.
Date: Wed, 20 Aug 2014 10:49:26 -0400
Whoops. I'd been maintaining this patch against Joyent's downstream
since February and hoping that they would shepherd it upstream for me.
spz's patch wasn't in 2014Q2 which is what I was working off and I
wasn't watching pkgsrc trunk.
I will test spz's patch and report back. I have a feeling that I'll
still want to force SunOS to use pkgsrc with this snippet (or the
equivalent as written by someone who knows what they're doing...)
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
# native mit kerberos on SmartOS doesn't seem to work with this package
PREFER.mit-krb5?= pkgsrc
.endif
We can either track that in this PR or I can open a new one.
Either way, I have received your message that someone else has finally
written a patch. I will test it some time this week and report back.
Thanks so much!
Nahum
On 08/15/2014 09:15 PM, Mark Davies wrote:
> The following reply was made to PR pkg/49118; it has been noted by GNATS.
>
> From: Mark Davies <mark@ecs.vuw.ac.nz>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/49118: update ap-auth-kerb to build for apache 2.
> Date: Sat, 16 Aug 2014 13:12:46 +1200
>
> On Sat, 16 Aug 2014 03:25:00 you wrote:
> > The Makefile for ap-auth-kerb doesn't currently support apache24.
>
> spz already applied a patch for apache24. Was that not sufficient?
>
> cheers
> mark
>
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 17 Oct 2014 06:55:06 +0000
State-Changed-Why:
Submitter is testing the alternative patch.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 30 Sep 2016 08:03:31 +0000
State-Changed-Why:
feedback timeout
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.