> Please include some information on which package version does the filter
> file match, so it can be tracked in the future.  Preferably include that
> information as a comment in the filter file itself (just put a hash,
> package name and version, separated by space, on the first line in the
> filter file).

These comments are relative to the latest upload (0.9.6-0.11).  I've split
them into sections: NEW, REMOVE, RENAME, EDIT, RENAME AND EDIT, and ASK.

==============================
NEW
==============================

filters/chkrootkit
# chkrootkit 0.44-2
/etc/chkrootkit.conf

filters/hotplug
# hotplug 0.0.20040329-22
/etc/default/hotplug


[Next, an ugly filter: basically, cruft can't help with lg-* because of the
tar.gz unpacking. Though lg-* may be removed from the archive (licence
problems) this filter is worth having because sarge has lg packages (and
people will keep them around for sarge+1).]

filters/lg-base
# lg-base 113-1
/usr/share/doc/lg/**

filters/libpango1.0-common
# libpango1.0-common 1.8.1-1
/etc/pango
/etc/pango/pango.modules
/etc/pango/pangox.aliases

filters/octave2.0
# octave 2.0.17-9
/usr/share/octave/ls-R

filters/xfstt
# xfstt 1.6-3
/etc/default/xfstt

filters/xscreensaver
# xscreensaver 4.21-3
/etc/X11/app-defaults/XScreenSaver

==============================
REMOVE
==============================

pgp-i (no package of this name in sarge,woody)

ppp-pam (this filter covers a dpkg-divert in slink's ppp-pam; the pkg was
renamed ppp in potato and potato's ppp.preinst removed the diversion)

suidmanager (valid in potato; obsolete transition pkg in woody; not in sarge)

wenglish
(1) package is obsolete, cf {wamerican,wbritish,wcanadian}{,-small,-large}
(2) /etc/dictionary is obsolete, cf dictionaries-common.{postinst,templates}
(3) /usr/dict is obsolete
(4) /usr/share/dict/words listed in dictionaries-common.list

==============================
RENAME
==============================

expect5.24  ->  expect  (5.24 not in sarge; 'expect' pulls in current vn)

nethack  ->  nethack-common  (sarge 'nethack' is a dummy upgrade pkg)

wu-ftpd-academ  ->  wu-ftpd
[I don't know wu-ftpd, but renaming this seems ok.  Whilst woody had
both wu-ftpd and wu-ftpd-academ, sarge has only wu-ftpd.]

xntp3 -> ntp (renamed for potato! xntp3 last seen in slink)

==============================
EDIT
==============================

filters/debsums (okay in cruft 0.9.6-0.11, but you could add version info:)
# debsums 2.0.16
/etc/apt/apt.conf.d/90debsums

filters/dhelp (additional lines would be nice:)
# dhelp 0.5.20
/etc/dhelp
/etc/dhelp/www-browser-console
/etc/dhelp/www-browser-x

filters/ppp should read:
# ppp 2.4.3-20050321+2
/var/log/ppp-connect-errors*
[The default behaviour is to rotate several logs; hence the asterisk.]


==============================
RENAME AND EDIT
==============================

RENAME filters/dhcpd -> filters/dhcp 
EDIT so it reads:
# dhcp 2.0pl5-19.1 
/var/lib/dhcp/dhcpd.leases

[The move to lib/dhcp/ is documented in the changelog; search for 'lib/dhcp' in
http://packages.debian.org/changelogs/pool/main/d/dhcp/dhcp_2.0pl5-19.1/changelog
 ]

RENAME xbase -> xfree86-common
IN THE FILTER, REPLACE "/etc/X11/XF86Config" WITH "/etc/X11/XF86Config-4"
[That change took place from potato to woody.]


RENAME xemacs -> xemacs21
IN THE FILTER, REPLACE "20/site-list" WITH "21/site-lisp"  (*lisp*)
[Woody/sarge have no package 'xemacs', but they have 'xemacs21'.  I don't
use xemacs, but every emacs I know uses site-lisp directories, *lisp*]

==============================
ASK
==============================

> > Some filters look as if they should be redundant now that cruft
> > understands the alternatives system.
 
> Looks like explain/alternatives takes care of that, though it shouldn't.
> This is one of the areas which need cleaning up.

I didn't properly understand this.

As far as I can see, (stable)cruft reports differences between the actual
filesystem and what /var/lib/dpkg/alternatives says the filesystem should
be.  Why is that wrong behaviour?

Is it that you don't want cruft to rely on /var/lib/dpkg/alternatives but
want every package which uses the alternatives system still to list the
installed alternatives as extrafiles?  Eg package 'less' which in the
postinst does

        update-alternatives --quiet --install /usr/bin/pager pager \
            /usr/bin/less 77 --slave /usr/share/man/man1/pager.1.gz \
            pager.1.gz /usr/share/man/man1/less.1.gz

should still list /usr/bin/pager as an extra file?  Is that desirable?  And
if it should, then shouldn't it also list /usr/share/man/man1/pager.1.gz ?

With the existing (stable)cruft, filters which just list properly-installed
alternatives seem redundant:

expect, fte, g++, gcc, guile1.2, ircii, joe, less

Also these two, but if you keep them they should be renamed:

tcl8.0   - / "practically obsolete" \  rename tcl8.3 and copy to tcl8.4
tk8.0    - \ by own pkg description /  rename tk8.3 and copy to tk8.4







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to