Go to file
Frédéric Lepied 98eb47ec04 print a warning on empty script.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@299 9bc8b190-ac0f-0410-8968-dc7d1f502856
2000-09-12 09:58:55 +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 rpath warning if directory isn't a sub-directory of /usr/lib/. 2000-08-25 08:32:13 +00:00
COPYING Initial revision 1999-10-01 07:15:25 +00:00
ChangeLog *** empty log message *** 2000-09-06 21:07:27 +00:00
Config.py added libwmf and doxygen as dev packages. 2000-09-12 09:57:11 +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 added postgres and apache to default users. 2000-09-12 09:57:57 +00:00
Filter.py * test a string against the filters. 1999-11-15 18:33:35 +00:00
I18NCheck.py check *.mo for file-not-in-%lang, not only in /usr/share/locale 2000-09-06 21:01:38 +00:00
INSTALL * added cpio to the list of dependencies. 1999-10-06 12:56:15 +00:00
InitScriptCheck.py first version. 2000-08-25 09:04:00 +00:00
Makefile Add a changelog rules to be used with cvs2cl. 2000-07-29 17:58:52 +00:00
MenuCheck.py replaced Networking/ICQ group with Networking/Instant messaging. 2000-09-05 16:47:22 +00:00
Pkg.py added fileLang to retrieve the lang associated to a file. 2000-08-18 05:39:25 +00:00
PostCheck.py print a warning on empty script. 2000-09-12 09:58:55 +00:00
README added bugs@linux-mandrake.com as a valid packager address. 2000-09-12 09:51:38 +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 * oops: added Filter import. 1999-10-27 20:10:00 +00:00
TagsCheck.py added bugs@linux-mandrake.com as a valid packager address. 2000-09-12 09:51:38 +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.21 2000-08-31 11:47:19 +00:00
rpmlint.spec 0.21 2000-08-31 11:54:39 +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).

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"