Bug#983598: lintian: package-installs-apt-sources emitted for packages whose names end in -archive-keyring

2021-02-26 Thread Ferenc Wágner
Package: lintian
Version: 2.15.0
Severity: normal

Dear Maintainer,

The tag info for package-installs-apt-sources states that "packages
whose names end in -apt-source or -archive-keyring are permitted to
install such files.  However, only the first suffix is exempted by the
code.  I don't know whether the documentation or the implementation is
right; please fix the one which isn't.
-- 
Thanks,
Feri.



Bug#971427: lintian: false positive package-contains-documentation-outside-usr-share-doc for SNMP MIB files

2020-09-30 Thread Ferenc Wágner
Package: lintian
Version: 2.96.0
Severity: normal

Dear Maintainer,

SNMP MIB files are generally /usr/share/snmp/mibs/*.txt, though
these text files aren't documentation.  Please make them exempt
from package-contains-documentation-outside-usr-share-doc.
See libsnmp-base for example.
-- 
Thanks,
Feri.



Bug#918137: lintian: skip-systemd-native-flag-missing-pre-depends info text typo

2019-01-03 Thread Ferenc Wágner
Package: lintian
Version: 2.5.50.4
Severity: minor

Dear Maintainer,

The extended description of skip-systemd-native-flag-missing-pre-depends
says:

This flag is useful for maintainer scripts that want to defer systemd
actions to deb-systemd-invoke(1p). However, it was only added in
init-system-helpers version 1.58.

At the moment the latest version of init-system-helpers in unstable is
1.56+nmu1, and the actual dependency generated by Debhelper is
init-system-helpers (>= 1.54~).

Please consider fixing this typo.
-- 
Thanks,
Feri.



Bug#892905: lintian: pkg-doc examples need not reside under /usr/share/doc/pkg-doc/

2018-03-15 Thread Ferenc Wágner
Control: tags -1 - moreinfo

Chris Lamb  writes:

> We currently look for paths called "examples" under usr/share/doc/$pkg.
> What are you suggesting we look for instead? :)

Hi Chris,

I suggest to drop the $pkg constraint.  For example, libwhatever-doc may
install examples into usr/share/doc/libwhatever1/examples or
usr/share/doc/libwhatever-dev/examples.  If you want to be stricter, try
dropping -doc and adding numbers or -dev instead.  I'm not sure that's
worth the hassle, though.
-- 
Regards,
Feri



Bug#892905: lintian: pkg-doc examples need not reside under /usr/share/doc/pkg-doc/

2018-03-14 Thread Ferenc Wágner
Package: lintian
Version: 2.5.79
Severity: normal

Dear Maintainer,

Debian Policy Manual §12.3 recommends installing documentation files
(and thus examples) under the main package documentation directory
instead of the documentation directory of the separate -doc package.
However, current Lintian emits the package-does-not-install-examples tag
in such cases.  Please consider relaxing the directory name regex.

Thanks,
Feri.


Bug#886343: lintian: missing-notice-file-for-apache-license false positives

2018-01-04 Thread Ferenc Wágner
Chris Lamb  writes:

> Thanks for the report. I have fixed this in Git:
>   
> https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=28028299a402eb8d87176a537facc437ab89b6c6

Wow, that was quick!
-- 
Thanks,
Feri



Bug#886343: lintian: missing-notice-file-for-apache-license false positives

2018-01-04 Thread Ferenc Wágner
Package: lintian
Version: 2.5.67
Severity: normal

Dear Maintainer,

My package won the

E: shibboleth-sp2 source: missing-notice-file-for-apache-license doc/NOTICE.txt

Lintian error even though all its binary packages carry NOTICE.txt due to

   dh_installdocs -A doc/NOTICE.txt [...]

Looking at the Lintian code, it checks for ^NOTICE(\.gz)?$ only:
https://sources.debian.org/src/lintian/2.5.67/checks/source-copyright.pm/?hl=168#L168
but my NOTICE.txt is too small to be compressed by dh_compress and has
.txt extension anyway.  Do you agree that this should be relaxed?
-- 
Regards,
Feri.