Not mandatory, but here are some Lintian nags currently reported in
package at https://salsa.debian.org/penguin359/pwru/-/commits/debian/latest

W: pwru: no-manual-page [usr/bin/pwru]
N:
N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
N:   a manual page
N:
N:   Note that though the man program has the capability to check for several
N:   program names in the NAMES section, each of these programs should have its
N:   own manual page (a symbolic link to the appropriate manual page is
N:   sufficient) because other manual page viewers such as xman or tkman don't
N:   support this.
N:
N:   If the name of the manual page differs from the binary by case, man may be
N:   able to find it anyway; however, it is still best practice to match the
N:   exact capitalization of the executable in the manual page.
N:
N:   If the manual pages are provided by another package on which this package
N:   depends, Lintian may not be able to determine that manual pages are
N:   available. In this case, after confirming that all binaries do have manual
N:   pages after this package and its dependencies are installed, please add a
N:   Lintian override.
N:
N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
N:   for details.
N:
N:   Visibility: warning
N:   Show-Always: no
N:   Check: documentation/manual
N:   Renamed from: binary-without-manpage
N:
N:
I: pwru source: out-of-date-standards-version 4.6.2 (released
2022-12-17) (current is 4.7.0)
N:
N:   The source package refers to a Standards-Version older than the one that
N:   was current at the time the package was created (according to the
N:   timestamp of the latest debian/changelog entry). Please consider updating
N:   the package to current Policy and setting this control field
N:   appropriately.
N:
N:   If the package is already compliant with the current standards, you don't
N:   have to re-upload the package just to adjust the Standards-Version control
N:   field. However, please remember to update this field next time you upload
N:   the package.
N:
N:   See /usr/share/doc/debian-policy/upgrading-checklist.txt.gz in the
N:   debian-policy package for a summary of changes in newer versions of
N:   Policy.
N:
N:   Please refer to
N:   https://www.debian.org/doc/debian-policy/upgrading-checklist.html for
N:   details.
N:
N:   Visibility: info
N:   Show-Always: no
N:   Check: fields/standards-version
N:
N:
I: pwru source: patch-not-forwarded-upstream
[debian/patches/use-external-libpcap]
N:
N:   According to the DEP-3 headers, this patch has not been forwarded
N:   upstream.
N:
N:   Please forward the patch and try to have it included in upstream's version
N:   control system. If the patch is not suitable for that, please mention
N:   not-needed in the Forwarded field of the patch header.
N:
N:   Please refer to social contract item 2, Coordination with upstream
N:   developers (Section 3.1.4) in the Debian Developer's Reference, Changes to
N:   the upstream sources (Section 4.3) in the Debian Policy Manual, and
N:   Bug#755153 for details.
N:
N:   Visibility: info
N:   Show-Always: no
N:   Check: debian/patches/dep3
N:   Renamed from: send-patch
N:
N:
I: pwru: spelling-error-in-binary prefered preferred [usr/bin/pwru]
N:
N:   Lintian found a spelling error in the given binary. Lintian has a list of
N:   common misspellings that it looks for. It does not have a dictionary like
N:   a spelling checker does.
N:
N:   If the string containing the spelling error is translated with the help of
N:   gettext or a similar tool, please fix the error in the translations as
N:   well as the English text to avoid making the translations fuzzy. With
N:   gettext, for example, this means you should also fix the spelling mistake
N:   in the corresponding msgids in the *.po files.
N:
N:   You can often find the word in the source code by running:
N:
N:    grep -rw <word> <source-tree>
N:
N:   This tag may produce false positives for words that contain non-ASCII
N:   characters due to limitations in strings.
N:
N:   Visibility: info
N:   Show-Always: no
N:   Check: binaries/spelling
N:
N:
P: pwru source: trailing-whitespace [debian/control:45]
N:
N:   This file contains lines with trailing whitespace characters.
N:
N:   Whilst often harmless and unsightly, such extra whitespaces can also cause
N:   tools to interpret the whitespace characters literally. The tool diff(1)
N:   does not like them, either. They are best avoided.
N:
N:   Some of these problems can be hard to track down.
N:
N:   Whitespace at the end of lines may be removed with the following:
N:
N:    $ sed -i -e 's@[[:space:]]*$@@g' debian/control debian/changelog
N:
N:   If you use Emacs, you can also use "M-x wh-cl" (whitespace-cleanup).
N:
N:   However, if you wish to only remove trailing spaces and leave trailing
N:   tabs (eg. for Makefiles), you can use the following code snippet:
N:
N:    $ sed -i -e 's@[ ]*$@@g' debian/rules
N:
N:   To remove empty lines from the end of a file, you can use:
N:
N:    $ sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' debian/rules
N:
N:   Visibility: pedantic
N:   Show-Always: no
N:   Check: debian/trailing-whitespace
N:   Renamed from: file-contains-trailing-whitespace
N:

Reply via email to