Go to file
Frédéric Lepied ec211343ca check postin and prein instead of postun and preun for ghost files creation.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@404 9bc8b190-ac0f-0410-8968-dc7d1f502856
2001-05-18 09:21:06 +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 report the file location on objdump errors. 2000-11-24 07:01:45 +00:00
COPYING Initial revision 1999-10-01 07:15:25 +00:00
ChangeLog Generated by cvs2cl the 18_May 2001-05-18 09:10:51 +00:00
Config.py Expections for ldconfig. 2001-03-15 01:03:49 +00:00
ConfigCheck.py report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. 2000-08-25 08:38:25 +00:00
DistributionCheck.py * first version. 2000-02-10 11:58:43 +00:00
FHSCheck.py allow ftp and www in var (from upcoming FHS 2.2). 2000-08-08 14:48:13 +00:00
FilesCheck.py Add rpcuser 2001-04-01 21:19:27 +00:00
Filter.py * test a string against the filters. 1999-11-15 18:33:35 +00:00
I18NCheck.py check subdirs of /sur/share/man. 2001-02-13 06:14:47 +00:00
INSTALL * added cpio to the list of dependencies. 1999-10-06 12:56:15 +00:00
InitScriptCheck.py check if runlevels are set 2001-02-16 16:39:09 +00:00
LSBCheck.py also check source packages. 2001-02-16 16:38:07 +00:00
Makefile Add a changelog rules to be used with cvs2cl. 2000-07-29 17:58:52 +00:00
MenuCheck.py don't check NO_XALF in menu command 2001-05-18 09:19:53 +00:00
Pkg.py added req_names to retrieve the list of packages names (requires+prereq). 2001-02-16 16:36:10 +00:00
PostCheck.py check postin and prein instead of postun and preun for ghost files creation. 2001-05-18 09:21:06 +00:00
README added description of DanglingSymlinkExceptions. 2000-12-06 01:08:57 +00:00
README.CVS * give command line example. 2000-07-19 08:05:34 +00:00
SignatureCheck.py * added gpg to correct signatures. 2000-02-10 12:20:34 +00:00
SourceCheck.py only check compression on tar or diff files. 2000-11-24 08:22:50 +00:00
SpecCheck.py check name of spec file. 2000-10-11 08:41:39 +00:00
TagsCheck.py check length of summary and description lines 2001-02-28 06:04:12 +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.30 2001-02-16 16:40:43 +00:00
rpmlint.spec 0.30-1mdk 2001-02-16 16:45:46 +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		string		"Linux-Mandrake"
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'],)