<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>I apologise for my lack of manners - I should have started my e-mail by thanking the team for this truly awesome project.</div><div><br></div><div>On Sep 12, 2009, at 9:34 AM, Edward Rudd wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div text="#000000" bgcolor="#ffffff"> I'll answer what I can.. Nikos will have to answer the rest.<br> <br> On 09/11/2009 11:52 PM, Erick Calder wrote: <blockquote cite="mid:053CCB57-3C27-4CC5-B44E-EBB6562ECBCA@arix.com" type="cite">I'm attempting to package this module as an RPM for the Fedora distribution. &nbsp;I've come across some problems I need help with:  <div><br>  </div>  <div>1. relocation of the install seems ignored... if I run:</div>  <div><br>  </div>  <blockquote class="webkit-indent-blockquote" style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">make DESTDIR=/tmp install</blockquote>  <div><br>  </div>  <div>the makefile still attempts to install to /usr. &nbsp;this is problematic for building RPMs but I don't know enough about automake to patch the needed files.</div> </blockquote> Basically the system uses the standard automake/libtool "automagic" to build the SO (pulling in the httpd configs to keep it with the systems build setup).&nbsp; But when it installs it uses apxs directly to install the SO in the httpd lib directory.<br> <br> So to build your RPM spec file (which you should be able to look at other spec files in Fedora for how this is done with apache httpd modules).&nbsp; You can use make to build it, but to install you need to just use good old "cp" or "install" to get it in the right place in your build root.&nbsp;&nbsp; Oh, also please feel free to contribute the spec file and I'll put it in the distribution.<br></div></blockquote><div><br></div>that's what I ended up doing %{install}... here's the link to the Fedora Review Request (you'll find a link there to the spec file):</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        <a href="https://bugzilla.redhat.com/show_bug.cgi?id=522935">https://bugzilla.redhat.com/show_bug.cgi?id=522935</a></span></div><div><span class="Apple-tab-span" style="white-space:pre"></span><br><blockquote type="cite"><div text="#000000" bgcolor="#ffffff">[snip]<br> <blockquote cite="mid:053CCB57-3C27-4CC5-B44E-EBB6562ECBCA@arix.com" type="cite">  <div><br>  </div>  <div>4. I've set up a session cache via the command below:</div>  <div><br>  </div>  <blockquote class="webkit-indent-blockquote" style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">GnuTLSCache dbm "/var/cache/mod_gnutls"</blockquote>  <div><br>  </div>  <div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">however the directory remains empty after I restart the server and instead I see two files:&nbsp;mod_gnutls.dir and&nbsp;mod_gnutls.pag in /var/cache... this seems wrong?</span></font></span></font></div> </blockquote> <br> This makes sense..&nbsp; you are specifying the path to the "database file" not the directory to put the database.&nbsp; so you should put<br> <br> GnuTLSCache dbm "/var/cache/mod_gnutls/tlscache"<br></div></blockquote></div><br><div>oh I see. &nbsp;ok, I guess in that case the path is fine. &nbsp;/var/cache is where the files should (probably) be put anyway</div><div><br></div></body></html>