From: Gilles D. <gr...@sc...> - 2002-08-21 15:12:36
|
According to Joe R. Jah: > On Tue, 20 Aug 2002, Tim Brooks wrote: > > Date: Tue, 20 Aug 2002 17:03:37 -0500 > > From: Tim Brooks <tb...@pe...> > > To: htd...@li... > > Subject: [htdig] https indexing with htdig rpm > > > > I've looked through the archives and noticed various patches for htdig > > to enable ssl indexing. The last one I found was ssl.3. It appears to > > be for htdig-3.1.5. Does anyone know if there is a patch for 3.1.6 and > > if so, how to build it in when using a source rpm? Or is there a new > > version of htdig with https indexing built in? > > ftp://ftp.ccsf.org/htdig-patches/3.1.6/ssl.9 > > You must apply ftp://ftp.ccsf.org/htdig-patches/3.1.6/Makefile.0 first. > > I leave the rpm part of your question to the list;) To build it with patches using a source RPM, first install the source rpm, e.g.: rpm -i htdig-3.1.6-1.src.rpm Then, edit the .spec file, installed in /usr/src/redhat/SPECS by default (though this can be changed by setting %_topdir in your ~/.rpmmacros file). When editing the .spec file, bump up the release number, add the patch files to the list of patches, and add appropriate patch commands for them. Put the actual patch file in your SOURCES directory, along with the others. Finally, rebuild new RPMs as: rpm -ba htdig-3.1.6.spec See also "man rpm" and the book "Maximum RPM". -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) |