Ondřej Surý <ond...@debian.org> wrote on 2011-05-31 17:47: > Don't use db4.8. libdb4.8 is also obsolete.
I saw the problem, that squidguard generelly don't compile with the new db5.1. So I have made the package with db4.8. But my new sponsor now giving me some hints and a patch for using the db5.1 and also the support forum of squidguard giving me a patch. So I will create and test a new package of squidguard using db5.1 in the next days. > > How should I initiate this migration in the updated squidguard > > package? > > Well, that depends whether the squidguard uses Berkeley DB environment: > http://download.oracle.com/docs/cd/E17076_02/html/upgrading/upgrade_process.html > > And quickly scanning the source code it does. Ok, I think I understand. > You have two options: > > 1. if the databases contains only temporary data, you can just remove > them and let the squidguard create them from scratch I think these is the best way for squidguard. > You have to add these lines to debian/rules to note compiled-in version: > > BDB_VERSION ?= $(shell LC_ALL=C dpkg-query -l 'libdb[45].[0-9]-dev' | grep > ^ii | sed -e 's|.*\s\libdb\([45]\.[0-9]\)-dev\s.*|\1|') > > <the_install_target>: > echo $(BDB_VERSION) > debian/<package>/usr/lib/<package>/berkeley_db.txt : : I have seen this by another package and haven't understand the sense. I will look how I can implement this code for squidguard rules file. Thanks for all your hints. --- Have a nice day. Joachim (Germany) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org