Go to file
Frederic Crozat 00017b928b userhelper (from usermode) is authorized to be setuid
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@478 9bc8b190-ac0f-0410-8968-dc7d1f502856
2001-07-11 12:33:20 +00:00
.cvsignore * added .flog and .bz2. 1999-10-23 22:10:10 +00:00
AbstractCheck.py Initial revision 1999-10-01 07:15:25 +00:00
BinariesCheck.py removed debug trace 2001-07-02 08:09:51 +00:00
COPYING Initial revision 1999-10-01 07:15:25 +00:00
ChangeLog Generated by cvs2cl the 06_Jul 2001-07-06 17:25:26 +00:00
Config.py userhelper (from usermode) is authorized to be setuid 2001-07-11 12:33:20 +00:00
ConfigCheck.py Added descriptions. 2001-06-26 18:49:06 +00:00
DistributionCheck.py Added descriptions. 2001-06-26 18:49:06 +00:00
FHSCheck.py Added descriptions. 2001-06-26 18:49:06 +00:00
FilesCheck.py Added descriptions. 2001-06-27 19:08:58 +00:00
Filter.py print description only if they aren't empty. 2001-06-20 11:36:00 +00:00
I18NCheck.py added two more language codes 2001-07-06 20:44:51 +00:00
INSTALL * added cpio to the list of dependencies. 1999-10-06 12:56:15 +00:00
InitScriptCheck.py Added descriptions. 2001-06-27 19:41:46 +00:00
LSBCheck.py Added descriptions 2001-07-03 19:01:23 +00:00
Makefile added rules to build test and release rpms. 2001-05-18 15:07:26 +00:00
MenuCheck.py Added entries to put descriptions. 2001-07-03 19:53:44 +00:00
Pkg.py created InstalledPkg class to access already installed packages. 2001-06-06 16:18:31 +00:00
PostCheck.py described one-line-command-in warnings. 2001-06-20 11:32:12 +00:00
README changed Linux-Mandrake => Mandrake Linux as default Distribution tag. 2001-06-13 06:36:27 +00:00
README.CVS * give command line example. 2000-07-19 08:05:34 +00:00
SignatureCheck.py Added a description. 2001-07-03 19:32:05 +00:00
SourceCheck.py Added descriptions. 2001-07-03 19:43:23 +00:00
SpecCheck.py Added descriptions. 2001-07-05 16:11:51 +00:00
TagsCheck.py Added descriptions 2001-07-06 16:56:53 +00:00
check-install.py factorized checks 2001-05-18 09:17:31 +00:00
compile.py * first version. 1999-10-23 22:07:41 +00:00
config move standard exceptions to Config.py. 2000-08-31 11:24:03 +00:00
rpmlint * launch python with unbuffered output. 1999-10-06 13:03:45 +00:00
rpmlint.py 0.33 2001-07-02 08:43:00 +00:00
rpmlint.spec 0.33-2mdk 2001-07-06 18:40:58 +00:00

README

rpmlint is a tool to check common errors on 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.

rpmlint idea comes from the lintian tool of the Debian project.

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

Implemented checks:

	o tags checks (TagsCheck).
	o Distribution specific checks (MandrakeCheck).
	o binaries checks (BinaryCheck).
	o configuration files checks (ConfigCheck).
	o locations, permissions, groups and owners checks (FileCheck).
	o suid warnings (FileCheck).
	o pgp 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 scripts checks (PostCheck).
	o /etc/rc.d/init.d checks (InitScriptCheck).
	o spec file checks (SpecCheck).

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 bellow
to have 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		regex		"Mandrake Linux"
UseBzip2		boolean		1
ValidGroups		list of strings
ValidMenuSections	list of strings
ReleaseExtension	string or None	"mdk"
UseVersionInChangelog	boolen		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"
RpmGamesGroup		regex		"Games"
DanglingSymlinkExceptions list of pairs (['consolehelper$', 'usermode'],)