New ebuild proposal for mod_auth_kerb-5.0_rc5 Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 34826 [details] ebuild for mod_auth_kerb-5.0_rc5
Created attachment 34827 [details, diff] patch for apache2 name spacing Change search name from apxs to apxs2
can you attach the ebuild as text/pain please ?
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.
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).
Created attachment 37468 [details, diff] mod_auth_kerb-5.0_rc6.ebuild Updated ebuild, bumped the revision number to rc6.
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 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
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.)
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