Difference between revisions of "User:Allan/pkglint"

From ArchWiki
Jump to: navigation, search
Line 4: Line 4:
  
 
=Ignored namcap rules=
 
=Ignored namcap rules=
 +
 +
'''Handled by makepkg'''
 +
checksums          : Checks for missing checksums
 
  libtool            : Checks for libtool (*.la) files.
 
  libtool            : Checks for libtool (*.la) files.
  
Notes:  Arch default is <code>'!libtool'</code>, so a PKGBUILD requires <code>options=('libtool')</code> to have a libtool file. So there is no need for this warning.
 
  
  checksums          : Checks for missing checksums
+
'''Other'''
 +
  badbackups          : Checks for bad backup entries
 +
 
 +
Note:  Arch default is <code>'!libtool'</code>, so a PKGBUILD requires <code>options=('libtool')</code> to have a libtool file. So there is no need for this warning.
  
Notes: makepkg warns if a checksum is missing or if it's invalid
 
  
 
=Unhandled namcap rules=
 
=Unhandled namcap rules=
 
  array              : Verifies that array variables are actually arrays
 
  array              : Verifies that array variables are actually arrays
badbackups          : Checks for bad backup entries
+
 
 
  capsnamespkg        : Verifies package name in package does not include upper case letters
 
  capsnamespkg        : Verifies package name in package does not include upper case letters
 
  carch              : Verifies that no specific host type is used
 
  carch              : Verifies that no specific host type is used

Revision as of 04:25, 20 July 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

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


Other

badbackups          : Checks for bad backup entries

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

array               : Verifies that array variables are actually arrays
capsnamespkg        : Verifies package name in package does not include upper case letters
carch               : Verifies that no specific host type is used
checksums           : Verifies checksums are included in a PKGBUILD
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
missingbackups      : Backup files listed in package should exist
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
splitpkgfunctions   : Checks that all package_* functions exist.
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