Bug#387699: exim4: Should create /var/run/exim4/ if it is missing

Andreas Metzler ametzler at downhill.at.eu.org
Sun Sep 17 06:56:59 UTC 2006


On 2006-09-16 Petter Reinholdtsen <pere at hungry.com> wrote:
> [Andreas Metzler]
> > Hello,
> > apt-file (and packages.d.o) will not help you, as Contents* only lists
> > files but not directories. I have used dpkg on merkel's mirror to
> > check for packages shipping /var/run or a subdirectory of /var/run in
> > the deb.

> Great.  Thank you.  How did you do this?  I would like to do the same
> for etch and sid.
[...]

cd /org/ftp.root/debian
zgrep ^Filename: dists/sarge/main/binary-i386/Packages.gz | \
  sed -e 's/^Filename: //' > /tmp/filenames.sarge.stable
for i in `cat /tmp/filenames.sarge.stable` ; do
  if nice -19 dpkg --contents $i |grep -q /var/run ; then
    echo $i 
  fi
done > /tmp/contains_var_run.sarge
for i in `cat /tmp/sargewithrun`  ; do 
  if nice -19 dpkg --contents $i | grep -q /var/run/. ; then
    echo $i 
  fi
done > /tmp/sargewithrun.subdir

Mainly cnp from bash_history, I was too lazy to make a real
shellscript out of it, sorry.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde




More information about the Pkg-exim4-maintainers mailing list