Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56155

Summary: New ebuild for mod_auth_kerb-5.0_rc5
Product: Gentoo Linux Reporter: Dmitry <dmitry>
Component: New packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: enhancement CC: magnet
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for mod_auth_kerb-5.0_rc5
patch for apache2 name spacing
Correct CFLAGS problem
mod_auth_kerb-5.0_rc6.ebuild
11_mod_auth_kerb.conf (Updated from old)

Description Dmitry 2004-07-05 11:27:10 UTC
New ebuild proposal for mod_auth_kerb-5.0_rc5

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dmitry 2004-07-05 11:32:04 UTC
Created attachment 34826 [details]
ebuild for mod_auth_kerb-5.0_rc5
Comment 2 Dmitry 2004-07-05 11:33:17 UTC
Created attachment 34827 [details, diff]
patch for apache2 name spacing

Change search name from apxs to apxs2
Comment 3 Minati jean michel 2004-07-24 03:56:14 UTC
can you attach the ebuild as text/pain please ?
Comment 4 Scott Dial 2004-08-14 18:17:20 UTC
This ebuild fails for me..

/usr/sbin/apxs2 -c -I. -Ispnegokrb5 -I/usr/include -I/usr/include -I/usr/include/kerberosIV   -L/usr/lib -Wl,-rpath -Wl,/usr/lib -O2 -march=k6-2 -fomit-frame-pointer -pipe -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/lib -Wl,-rpath -Wl,/usr/lib -O2 -march=k6-2 -fomit-frame-pointer -pipe -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err -lresolv -lresolv src/mod_auth_kerb.c spnegokrb5/asn1_MechType.c                 spnegokrb5/asn1_MechTypeList.c             spnegokrb5/asn1_ContextFlags.c             spnegokrb5/asn1_NegTokenInit.c             spnegokrb5/asn1_NegTokenTarg.c             spnegokrb5/der_get.c                       spnegokrb5/der_put.c                       spnegokrb5/der_free.c                      spnegokrb5/der_length.c                    spnegokrb5/der_copy.c                      spnegokrb5/timegm.c                        spnegokrb5/init_sec_context.c              spnegokrb5/accept_sec_context.c            spnegokrb5/encapsulate.c                   spnegokrb5/decapsulate.c                   spnegokrb5/external.c
apxs:Error: Unknown option: O.
apxs:Error: Unknown option: 2.
apxs:Error: Unknown option: m.
apxs:Error: Unknown option: r.
apxs:Error: Unknown option: h.
apxs:Error: Unknown option: =.
apxs:Error: Unknown option: k.
apxs:Error: Unknown option: 6.
apxs:Error: Unknown option: -.
apxs:Error: Unknown option: 2.
apxs:Error: Unknown option: f.
apxs:Error: Unknown option: O.
apxs:Error: Unknown option: 2.
apxs:Error: Unknown option: m.
apxs:Error: Unknown option: r.
apxs:Error: Unknown option: h.
apxs:Error: Unknown option: =.
apxs:Error: Unknown option: k.
apxs:Error: Unknown option: 6.
apxs:Error: Unknown option: -.
apxs:Error: Unknown option: 2.
apxs:Error: Unknown option: f.
Comment 5 Scott Dial 2004-08-15 03:37:45 UTC
Created attachment 37467 [details, diff]
Correct CFLAGS problem

The problem I noted earlier was caused be econf/emake treating apxs2 as a
normal compiler, which it is not. The CFLAGS need to be mangled. This patch
will take care of that within the ebuild (perhaps this can be done by patching
the configure script, but I this was easy and quick).
Comment 6 Scott Dial 2004-08-15 03:39:52 UTC
Created attachment 37468 [details, diff]
mod_auth_kerb-5.0_rc6.ebuild

Updated ebuild, bumped the revision number to rc6.
Comment 7 Scott Dial 2004-08-15 03:54:59 UTC
Created attachment 37470 [details]
11_mod_auth_kerb.conf (Updated from old)

Apparently the exported symbol has changed from "kerb_auth_module" to
"auth_kerb_module"
Comment 8 Scott Dial 2004-08-16 00:06:59 UTC
Comment on attachment 37468 [details, diff]
mod_auth_kerb-5.0_rc6.ebuild

I failed to notice that the filename was being generated elsewise.

-S_PP=${PN}-5.0-rc5
+S_PP=${PN}-5.0-rc6
Comment 9 Luke 2004-11-01 15:28:34 UTC
I just tried to use this ebuild.  To make it work, I needed to add the flag --without-krb4 to the econf command.  (I'm using the mit-krb5 package for kerberos.)
Comment 10 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-30 07:19:04 UTC
5.0_rc6 is in cvs and using the new apache-module eclass. please unmask and test

see http://dev.gentoo.org/~vericgar/package-refresh.txt