tar zxvf db-3.3.11.tgz
cd db-3.3.11/build_unix
../dist/configure
make
make install
cd ../..
echo /usr/local/BerkeleyDB.3.3/lib >> /etc/ld.so.conf
ldconfig
tar zxvf squidGuard-1.2.0.tar.gz
cd squidGuard-1.2.0
./configure --with-db=/usr/local/BerkeleyDB.3.3
make

(Now either make install or copy the src binary to wherever you want it).

If you want emergency mode to block by default rather than allow, edit
the src/sgDiv.c file in squidGuard and change line 671 from:
puts("");

to:

puts("http://127.0.0.1/cgi-bin/emergency.cgi";);

Copy your old squidGuard.conf file over.

You cannot use the BerkeleyDB 2 files with Berkeley DB 3.
If you are using DBs from the disk, rm *.db and do a squidGuard -d -C all


On Thu, 7 Mar 2002, Rick Matthews wrote:

> I think that's a great question to cover here - What is the correct
> process for upgrading? (I haven't upgraded either.) How do you:
>
> Current:                      Upgrade to:
> ----------------              ----------------
> Redhat 7.2                    Redhat 7.2
> squidGuard 1.1.4              squidGuard 1.2
> Berkeley db 2.77              Berkeley db 3.3
>
> squidGuard upgrade:
> You guys that have upgraded - will the version 1.2 installation
> realize that it is an upgrade and  "take care of" the 1.1.4
> installation? Does it remove the 1.1.4 installation? (If it doesn't
> remove the 1.1.4 installation, how is that done?)  Are specific
> instructions included for a clean upgrade?
>
> Berkeley db upgrade:
> The Redhat 7.2  distribution includes Berkeley db 3.3 in an RPM, so
> that installation is easy. In fact, I'm running RH 7.1 and I have db
> 3.3 that was installed from RPM and db 2.77 that was installed from
> a tar.gz. How would I "uninstall" the 2.77 version? It may be that
> the squidGuard 1.2 compile will look and find the 3.3 version and be
> fine. I'd still like to remove the 2.77 version; how is that done?
>
> Thanks in advance for your answers!
>
> Rick Matthews
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Schade
> Frank (sf)
> Sent: Thursday, March 07, 2002 12:14 AM
> To: [EMAIL PROTECTED]
> Subject: how to update to 1.2
>
>
> I'm running SquidGuard: 1.1.4, Berkeley DB 2.7.7 with
> squid-2.4.STABLE1-6 on a redhat 7.2 box.
> What I've have to do for upgrading to SG 1.2 (especially how to move
> from Berkeley DB 2.7.7 to 3.x.)
> Please give also common known details for I'm not familiar with
> "make".
> Thanks
> Frank
>
>

Reply via email to