[Dillo-dev] dillo-2.0 rc1 is in CVS

corvid corvid at lavabit.com
Sat Oct 11 06:47:32 CEST 2008


Jorge wrote:
> On Sat, Oct 11, 2008 at 01:40:00AM +0000, corvid wrote:
> > Using install-dpi-local,
> > 1) first the README tells me to put dpid in my path, and then
> >    install-dpi-local puts another copy in my .dillo dir for some reason.
> > 2) No dpi stuff would work until I copied in a dpidrc file.
> >    Is something supposed to make it for me, or is there something I'm
> >    overlooking that is supposed to tell me how to make one if I didn't
> >    already have one? (I know that I got the proto.* lines from mail
> >    that Diego sent out last year when that stuff changed, but I don't
> >    remember how I knew originally to put in a dpi_dir line.)
>
> Please give it a look and send me a patch.

I don't do much shell scripting, so I'll send it to the list...

-------------- next part --------------
--- dillo2/install-dpi-local	2007-10-06 22:36:34.000000000 +0000
+++ dillo-2.0/install-dpi-local	2008-10-11 04:24:33.000000000 +0000
@@ -26,6 +26,22 @@ fi
 cp dpid/dpid dpid/dpidc $BASE
 strip $BASE/dpid
 
+if [ -e $BASE/dpidrc ] ; then
+  rm $BASE/dpidrc
+fi
+echo "dpi_dir=$BASE2" > $BASE/dpidrc
+
+# Hardcoded list of protocols.
+# How could we tell which dpis are protocol handlers?
+cat >> $BASE/dpidrc <<eof
+
+proto.data=datauri/datauri.filter.dpi
+proto.file=file/file.dpi
+proto.ftp=ftp/ftp.filter.dpi
+proto.hello=hello/hello.filter.dpi
+proto.https=https/https.filter.dpi
+eof
+
 cd dpi
 for F in *.dpi ; do
    D="`echo $F | sed 's/\..*$//'`"


More information about the Dillo-dev mailing list