Difference between revisions of "User:Allan/pkglint"

From ArchWiki
Jump to: navigation, search
Line 9: Line 9:
 
  badbackups          : Checks for bad backup entries
 
  badbackups          : Checks for bad backup entries
 
  checksums          : Checks for missing checksums
 
  checksums          : Checks for missing checksums
 +
missingbackups      : Backup files listed in package should exist
 
  splitpkgfunctions  : Checks that all package_* functions exist.
 
  splitpkgfunctions  : Checks that all package_* functions exist.
  
Line 45: Line 46:
 
  mimedesktop        : Check that MIME associations are updated
 
  mimedesktop        : Check that MIME associations are updated
 
  mimefiles          : Check for files in /usr/share/mime
 
  mimefiles          : Check for files in /usr/share/mime
missingbackups      : Backup files listed in package should exist
 
 
  perllocal          : Verifies the absence of perllocal.pod.
 
  perllocal          : Verifies the absence of perllocal.pod.
 
  permissions        : Checks file permissions.
 
  permissions        : Checks file permissions.

Revision as of 11:52, 2 October 2015

Replaced namcap rules

anyelf              : Check for ELF files to see if a package should be 'any' architecture
rpath               : Verifies correct and secure RPATH for files.

Ignored namcap rules

Handled by makepkg

array               : Verifies that array variables are actually arrays   (submitted)
badbackups          : Checks for bad backup entries
checksums           : Checks for missing checksums
missingbackups      : Backup files listed in package should exist
splitpkgfunctions   : Checks that all package_* functions exist.

Other

libtool             : Checks for libtool (*.la) files.

Note: Arch default is '!libtool', so a PKGBUILD requires options=('libtool') to have a libtool file. So there is no need for this warning.


Unhandled namcap rules

capsnamespkg        : Verifies package name in package does not include upper case letters
carch               : Verifies that no specific host type is used
directoryname       : Checks for standard directories.
elfexecstack        : Check for executable stacks in ELF files.
elfpaths            : Check about ELF files outside some standard paths.
elftextrel          : Check for text relocations in ELF files.
emptydir            : Warns about empty directories in a package
extravars           : Verifies that extra variables start with an underscore
fhs-infopages       : Verifies correct installation of info pages
fhs-manpages        : Verifies correct installation of man pages
filenames           : Checks for invalid filenames.
fileownership       : Checks file ownership.
giomodules          : Check that GIO modules are registered
glibschemas         : Check that dconf schemas are compiled
gnomemime           : Checks for generated GNOME mime files
hardlinks           : Look for cross-directory/partition hard links
hicoloricons        : Checks whether the hicolor icon cache is updated.
infodirectory       : Checks for info directory file.
infoinstall         : Checks that info files are correctly installed.
invalidstartdir     : Looks for references to $startdir
javafiles           : Check for existence of Java classes or JARs
kdeprograms         : Checks that KDE programs have kdebase-runtime as a dependency
license             : Verifies license is included in a PKGBUILD
licensepkg          : Verifies license is included in a package file
lots-of-docs        : See if a package is carrying more documentation than it should
mimedesktop         : Check that MIME associations are updated
mimefiles           : Check for files in /usr/share/mime
perllocal           : Verifies the absence of perllocal.pod.
permissions         : Checks file permissions.
pkgnameindesc       : Verifies if the package name is included on package description
rubypaths           : Verifies correct usage of folders by ruby packages
scrollkeeper        : Verifies that there aren't any scrollkeeper directories.
sfurl               : Checks for proper sourceforge URLs
shebangdepends      : Checks dependencies semi-smartly.
sodepends           : Checks dependencies caused by linked shared libraries
splitpkgmakedeps    : Checks that a split PKGBUILD has enough makedeps.
symlink             : Checks that symlinks point to the right place
tags                : Looks for Maintainer and Contributor comments
urlpkg              : Verifies url is included in a package file