[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847318: lintian: should be aware of kali's differences



Package: lintian
Version: 2.5.49
Severity: wishlist
User: devel@kali.org
Usertags: origin-kali

I would love if lintian could stop emitting unwanted errors/warnings
in Kali Linux. In particular now that debuild fails when lintian fails
(see #847168).

At the very least, I want to get rid of the
"bad-distribution-in-changes-file" error that I always get.
The allowed distribution values are:
- kali-dev
- kali-rolling
- kali-experimental
- kali-bleeding-edge

Then Kali does not have the concept of maintainer and NMU. We frequently
do one-off upload and do not update the Maintainer/Uploaders fields which
tends to trigger those warnings too:
- changelog-should-mention-nmu
- source-nmu-has-incorrect-version-number

Can we disable those too?

You can obviously rely on vendor data but it would be nice if the presence
of the "kali" string in the version would also trigger the special rules
above since I often build Kali source packages in a Debian environment.
This would cover forked packages but not native packages. Is there a way to
mark a source package as being targeted for a specific distribution?
I guess you could map back a known distribution name in debian/changelog to a
vendor...

FYI in a Kali system/chroot you have this:

$ cat /etc/dpkg/origins/default 
Vendor: Kali
Vendor-URL: http://www.kali.org/
Parent: debian
Bugs: http://bugs.kali.org
$ cat /etc/os-release 
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2016.2"
VERSION_ID="2016.2"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.kali.org/";
SUPPORT_URL="http://forums.kali.org/";
BUG_REPORT_URL="http://bugs.kali.org/";

Thank you!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils                          2.27.51.20161201-1
ii  bzip2                             1.0.6-8
ii  diffstat                          1.61-1
ii  file                              1:5.29-1
ii  gettext                           0.19.8.1-1
ii  intltool-debian                   0.35.0+20060710.4
ii  libapt-pkg-perl                   0.1.30
ii  libarchive-zip-perl               1.59-1
ii  libclass-accessor-perl            0.34-1
ii  libclone-perl                     0.38-2+b1
ii  libdpkg-perl                      1.18.15
ii  libemail-valid-perl               1.202-1
ii  libfile-basedir-perl              0.07-1
ii  libipc-run-perl                   0.94-1
ii  liblist-moreutils-perl            0.416-1+b1
ii  libparse-debianchangelog-perl     1.2.0-11
ii  libperl5.24 [libdigest-sha-perl]  5.24.1~rc4-1
ii  libtext-levenshtein-perl          0.13-1
ii  libtimedate-perl                  2.3000-2
ii  liburi-perl                       1.71-1
ii  libyaml-libyaml-perl              0.63-1+b1
ii  man-db                            2.7.5-2
ii  patchutils                        0.3.4-2
ii  perl                              5.24.1~rc4-1
ii  t1utils                           1.39-2
ii  xz-utils                          5.2.2-1.2

Versions of packages lintian recommends:
ii  dpkg                                 1.18.15
ii  libperlio-gzip-perl                  0.19-1+b2
ii  perl                                 5.24.1~rc4-1
ii  perl-modules-5.22 [libautodie-perl]  5.22.2-5
ii  perl-modules-5.24 [libautodie-perl]  5.24.1~rc4-1

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.18.15
ii  libhtml-parser-perl    3.72-3
ii  libtext-template-perl  1.46-1

-- no debconf information


Reply to: