n***@elys.com
2014-08-15 15:25:00 UTC
Number: 49118
Category: pkg
Synopsis: update ap-auth-kerb to build for apache 2.
Confidential: no
Severity: non-critical
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Fri Aug 15 15:25:00 +0000 2014
Originator: Nahum Shalman
Release: pkgsrc 2014Q2 and earlier
Elysium Digital, L.L.C.Category: pkg
Synopsis: update ap-auth-kerb to build for apache 2.
Confidential: no
Severity: non-critical
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Fri Aug 15 15:25:00 +0000 2014
Originator: Nahum Shalman
Release: pkgsrc 2014Q2 and earlier
SmartOS (SunOS shalman.org 5.11 joyent_20140710T182029Z i86pc i386 i86pc Solaris)
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
1. Install pkgsrc
2. Install apache24
3. Try to install mod_auth_kerb for apache24
4. Experience sadness.
My proposed patch can be retrieved raw from here:
https://github.com/nshalman/pkgsrc/commit/6c98bfb520b6ed4a8eb0f6f37b0967a49e7e0ef8.patch