Go to file
Michael Scherer 0908f932be added option -I, to print description of the error passed on commandline
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@875 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:39:10 +03:00
.cvsignore * added .flog and .bz2. 1999-10-23 22:10:10 +00:00
AUTHORS first version 2002-05-14 03:13:03 +00:00
AbstractCheck.py corrected warnings reported by pychecker 2001-11-14 16:34:02 +00:00
BinariesCheck.py in only-non-binary-in-usr-lib don't report directories (Michael Scherer) 2015-07-09 16:39:08 +03:00
COPYING Initial revision 1999-10-01 07:15:25 +00:00
ChangeLog Generated by cvs2cl the 30_Apr 2015-07-09 16:39:10 +03:00
Config.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
ConfigCheck.py corrected warnings reported by pychecker 2001-11-14 16:34:02 +00:00
DistributionCheck.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
FHSCheck.py Add lib64 as standard subdir in /usr (that's the /lib<qual> part of FHS) 2002-07-23 08:23:06 +00:00
FilesCheck.py consolehelper is in usermode-consoleonly 2015-07-09 16:39:09 +03:00
Filter.py don't print the description if the error/warning is filtered. 2001-07-15 16:52:55 +00:00
I18NCheck.py Added Furlan language code (fur) 2015-07-09 16:39:10 +03:00
INSTALL described policy 2002-04-24 20:12:06 +00:00
InitScriptCheck.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
LSBCheck.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
Makefile install rpmdiff in /usr/bin 2015-07-09 16:39:07 +03:00
MenuCheck.py fixed missing comma 2015-07-09 16:39:09 +03:00
NamingPolicyCheck.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
Pkg.py in __getitem__ return None instead of [] (change in rpm 4.2.2) 2015-07-09 16:39:08 +03:00
PostCheck.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
README Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
README.CVS * give command line example. 2000-07-19 08:05:34 +00:00
SignatureCheck.py rpm 4.2 support (Ville Skyttä) 2015-07-09 16:38:57 +03:00
SourceCheck.py Made valid source permissions configurable (Ville Skyttä). 2015-07-09 16:38:50 +03:00
SpecCheck.py check lib packages only they start by lib (Pixel) 2015-07-09 16:39:08 +03:00
TagsCheck.py check if a package requires a interpreter in /usr/local/bin/ 2015-07-09 16:39:09 +03:00
ZipCheck.py handle exception while reading zip file 2015-07-09 16:39:08 +03:00
check-install.py Mandrakelinux (Robert Vojta) 2015-07-09 16:39:09 +03:00
compile.py pass the destination directory to avoid change when the byte compilation 2002-01-03 04:56:35 +00:00
config added KernelModuleRPMsOK 2015-07-09 16:39:08 +03:00
rpmdiff load Pkg from /usr/share/rpmlint to be able to be installed anywhere 2015-07-09 16:39:07 +03:00
rpmlint * launch python with unbuffered output. 1999-10-06 13:03:45 +00:00
rpmlint.py added option -I, to print description of the error passed on commandline 2015-07-09 16:39:10 +03:00
rpmlint.spec 0.59-1mdk 2015-07-09 16:39:10 +03:00
setuplist.py split old and new users/groups. 2002-08-08 07:51:32 +00:00

README

rpmlint is a tool for checking common errors in rpm packages.  rpmlint
can be used to test individual packages before uploading or to check
an entire distribution.  By default all checks are processed but
specific checks can be performed by using command line parameters.

The idea for rpmlint is from the lintian tool of the Debian project.

Comments and new checks welcome. Send feedback to
<flepied@mandrakesoft.com>.

Implemented checks:

	o Tag checks (TagsCheck).
	o Distribution specific checks (MandrakeCheck).
	o Binary checks (BinaryCheck).
	o Configuration file checks (ConfigCheck).
	o Location, permission, group and owner checks (FileCheck).
	o suid warnings (FileCheck).
	o Signature checks (SignatureCheck).
	o FHS checks (FHSCheck).
	o Source specific checks (SourceCheck).
	o i18n checks (I18NCheck).
	o Menu system checks (MenuCheck).
	o %post; %pre, %postun and %preun script checks (PostCheck).
	o /etc/rc.d/init.d checks (InitScriptCheck).
	o Spec file checks (SpecCheck).
	o Zip/Jar file checks (ZipCheck).

If you want to change configuration options or the list of checks, use
the global configuration file /etc/rpmlint/config or in the user
configuration file ~/.rpmlintrc.

Configuration files are Python source files and should begin with the
following line:

from Config import *

to load configuration functions.

Configuration functions:

resetChecks() resets the list of checks.

addCheck(check) adds the check to the list of checks to try.

addCheckDir(path) adds a path to look for checks.

setOption(name, value) sets the value of the configuration option.
See below for the list of available options.

addFilter(regexp) adds a filter to remove the output of a check.

Available options:

name			type		default
========================================================
Vendor			string		"Mandrakesoft"
Distribution		string		"Mandrakelinux"
UseBzip2		boolean		1
ValidGroups		list of strings
ValidMenuSections	list of strings
ReleaseExtension	string or None	"mdk"
UseVersionInChangelog	boolean		1
ExtraMenuNeeds		list of strings
ExtractDir		string		"/tmp"
ValidLicenses		list of strings
SystemLibPaths		list of strings	('/lib', '/usr/lib', '/usr/X11R6/lib')
ValidShells		list of strings	('/bin/sh', '/bin/bash', '/usr/bin/perl')
Packager		regex		'@mandrakesoft.com|bugs@linux-mandrake.com|https://qa.mandrakesoft.com'
RpmGamesGroup		regex		'Games'
DanglingSymlinkExceptions list of pairs (['consolehelper$', 'usermode'],)
ForbiddenWords		regex		'Linux.?Mandrake|Mandrake[^ ]*Linux'
ValidBuildHost		regex		'\.mandrakesoft\.com$|\.mandrake\.org$'
InvalidRequires		list of strings ('is', 'not', 'owned', 'by', 'any', 'package')
IconFilename		regex		'.*\.png$'
PerlVersionTrick	boolean		1
CrossCompilation	regex		'-mandrake-linux-[^/]+$'
UsrLibBinaryException	regex		'^/usr/lib/(perl|python|menu|pkgconfig|lib[^/]+\.(so|l?a)$)'
UseEpoch		boolean		0
UseIndexedJars		boolean		1
ValidSrcPerms		list of modes	(0644, 0755)
KernelModuleRPMsOK	boolean		1