2011-12-04 Ville Skyttä * Makefile: Release 1.4. 2011-11-24 Ville Skyttä * FilesCheck.py: Add Python 3.3 magic number. 2011-11-23 Ville Skyttä * BinariesCheck.py, InitScriptCheck.py: Get rid of some unnecessary regexps. * BinariesCheck.py, DocFilesCheck.py, Pkg.py, SpecCheck.py, TagsCheck.py: pylint warning cleanups. * AbstractCheck.py: Fix indentation. 2011-11-12 Ville Skyttä * TagsCheck.py: Don't assume rpm changelog timestamps are always at noon (#246, thanks to Paul Howarth). 2011-11-06 Ville Skyttä * rpmlint.bash-completion: Hush when trying to load _rpm_installed_packages. 2011-11-04 Ville Skyttä * Makefile, rpmlint.bash-completion: Adjust bash completion for bash-completion >= 1.90's dynamic loading. * __isocodes__.py: Regenerate ISO codes list with iso-codes 3.29. 2011-10-12 Ville Skyttä * FilesCheck.py: Skip more checks/commands on files that cannot be read. https://bugzilla.redhat.com/show_bug.cgi?id=745446 2011-09-13 Ville Skyttä * FilesCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, PostCheck.py: Prepare for rpm-python possibly returning script progs as arrays. http://rpm.org/ticket/847#comment:2 * PostCheck.py: Code cleanups. * rpmlint.1: Force plain ASCII quotes in man page examples. 2011-09-12 Michael Scherer * SpecCheck.py: refactor the noarch check into the previous commit ( one less regexp ) * SpecCheck.py: merge patch from #97, using BuildArch with something else than Noarch is likely a error and causing issues. 2011-09-08 Ville Skyttä * PostCheck.py: Warn about one line scriptlet commands only if the interpreter is a shell. 2011-08-17 Ville Skyttä * PostCheck.py: Don't emit use-tmp-in-* for commented out /tmp in scriptlets. 2011-07-26 Ville Skyttä * rpmdiff: Comment spelling fix. * rpmdiff: Teach rpmdiff about pretrans and posttrans. 2011-07-20 Ville Skyttä * InitScriptCheck.py: Drop some throwaway code for packages with <> 1 init script. * InitScriptCheck.py: Add special init script naming treatment for for *-sysvinit subpackages. https://bugzilla.redhat.com/723460 2011-07-07 Ville Skyttä * Makefile: Release 1.3. * DocFilesCheck.py: Warn about INSTALL files included in docs. 2011-06-18 Ville Skyttä * Config.py, Filter.py: Drop unnecessary global statements. * Filter.py, rpmlint, rpmlint.1, rpmlint.bash-completion: Add --rawout option (Ludwig Nussel). Allows to specify a file that gets the unfiltered result. Useful to not bother the developer with unimportant stuff but still retain a way for distro maintainers to evaluate all results. * INSTALL: Clarify that python 3 is not yet supported. 2011-06-10 Ville Skyttä * InitScriptCheck.py, config: Add UseVarLockSubsys option for forbidding use of /var/lock/subsys (Ludwig Nussel). 2011-05-31 Ville Skyttä * SpecCheck.py, test/SpecCheck.spec, test/test.SpecCheck.py: Recognize patches applied via some common pipe usages. * PostCheck.py: Add info message for non-empty-*. 2011-05-15 Ville Skyttä * BinariesCheck.py, config: Check for position independent executables (based on patch by Ludwig Nussel). * BinariesCheck.py: Do executable checks for PIEs too. 2011-05-13 Ville Skyttä * FilesCheck.py: Warn about non-ghost files in /var/run and /var/lock (based on patch from Ludwig Nussel). 2011-05-11 Ville Skyttä * Filter.py: Fix setting message type for reasons with badness threshold defined (Ludwig Nussel). 2011-04-24 Ville Skyttä * rpmlint.bash-completion: Use "declare -F" instead of "type" to check if a bash function exists. 2011-04-22 Ville Skyttä * Makefile: Release 1.2. * rpmlint.bash-completion: Avoid completing on installed packages for some more cases that look like paths. * rpmlint.bash-completion: Add *.spm to completed file extensions. * rpmlint.bash-completion: Add -I/--explain argument completion. * rpmlint, rpmlint.1: Allow -I/--explain to be specified multiple times. Specifying comma separated message ids is deprecated but still supported for now for backwards compatibility. * rpmlint, rpmlint.1, rpmlint.bash-completion: Add --explain as alias for -I. * __isocodes__.py: Regenerate ISO codes list with iso-codes 3.25. * SpecCheck.py: Downgrade files-attr-not-set to a warning, improve its description. 2011-04-14 Ville Skyttä * BinariesCheck.py: Run c++filt only once for all undefined non-weak symbols in a file. * BinariesCheck.py: Run undefined non-weak symbol names through c++filt (Richard Shaw). https://bugzilla.redhat.com/show_bug.cgi?id=696749 2011-04-06 Ville Skyttä * FilesCheck.py: Dereference symlinks for python bytecode mtime check. https://bugzilla.redhat.com/694090 * Pkg.py: Sort imports. * Pkg.py: Add Pkg.readfile() for dereferencing PkgFile symlinks. * rpmdiff: Update FSF address. 2011-03-10 Ville Skyttä * Filter.py: Don't overwrite already existing details (Ludwig Nussel). This allows the distro config to provide alternative descriptions and distro specific explanations without having to patch checks. 2011-03-07 Ville Skyttä * INSTALL, Pkg.py: Implement is_utf8() without iconv. * test/test.Pkg.py: Remove unused import. 2011-03-06 Ville Skyttä * FilesCheck.py: Check outdated or misspelled FSF addresses in text files. https://bugzilla.redhat.com/637712 2011-03-05 Ville Skyttä * FilesCheck.py, config: Make man warning category configurable. * config: Spelling fix. 2011-02-13 Ville Skyttä * AbstractCheck.py, FilesCheck.py, Makefile, Pkg.py, rpmdiff, rpmlint, test.sh: Delete trailing whitespace. * __isocodes__.py: Regenerate ISO codes list with isocodes 3.20. * FilesCheck.py: Don't try to do python bytecode checks for unreadable files (#201). 2011-02-06 Ville Skyttä * SpecCheck.py: Don't try to check Content-Length and Content-MD5 for invalid source URLs. 2011-02-05 Ville Skyttä * TagsCheck.py: Check for private shared object provides in both lib and lib64 subdirs. https://bugzilla.redhat.com/675360 2011-01-25 Ville Skyttä * Makefile: Release 1.1. * FilesCheck.py: Don't crash if a file cannot be opened when trying to peek into it. 2011-01-24 Ville Skyttä * FilesCheck.py: Update expected Python 3.2 bytecode magic value to 3180. https://bugzilla.redhat.com/672352 * TagsCheck.py: Improve no-description-tag info message. * TagsCheck.py: Improve changelog related info messages. * Pkg.py: Treat 'Unspecified' as a valid Group the same way as 'Development/Debug'. rpmbuild >= 4.6.0 adds it automatically if not specified in specfiles. * TagsCheck.py: Add future and overflow checks for changelog timestamps. http://lists.fedoraproject.org/pipermail/buildsys/2010-July/003174.html 2011-01-14 Ville Skyttä * Pkg.py: stringToVersion cleanups, ignore dash before colon as version/release separator. 2010-12-15 Ville Skyttä * FilesCheck.py: Don't emit spurious executable perm warnings for docs with shebangs. * FilesCheck.py: Don't read "head" of files for in each test that needs to peek into them. Do it only once instead. istextfile() is now called peek(). 2010-12-11 Ville Skyttä * SpecCheck.py: Check source and patch file sizes and MD5 hashes against Content-Length and Content-MD5 from their URLs. * AbstractCheck.py: Return urllib info() from check_url() if available. 2010-12-08 Ville Skyttä * rpmlint: Be smarter when deciding whether arguments are rpm files or installed packages. Arguments that are existing files (not directories) but do not contain slashes and do not end with .rpm, .spm or .spec are now treated as installed packages. 2010-12-07 Ville Skyttä * rpmlint: Make rpmlint executable again. * README.devel, rpmlint, rpmlint.py, test.sh: Get rid of shell script wrapper to make prefixed executables easier to set up. * rpmlint.1: Improve --checkdir documentation. 2010-12-02 Ville Skyttä * ., Makefile: Use xz to compress tarball. 2010-11-27 Ville Skyttä * Pkg.py: Fix traceback when stringifying epoch-only versions (Roman Rakus). https://bugzilla.redhat.com/657593 2010-11-19 Ville Skyttä * TagsCheck.py: Fix TypeError when outputting incoherent-version-dependency-on messages (#192). * Filter.py: Allow info messages even if badness scoring is used (Ludwig Nussel). 2010-11-04 Ville Skyttä * Pkg.py: Make file capabilities available in PkgFile (rpm >= 4.7.0, Ludwig Nussel). 2010-11-01 Ville Skyttä * Makefile: Release 1.0. 2010-10-25 Ville Skyttä * FilesCheck.py: Add note about file capabilities to setuid-binary info message. https://bugzilla.redhat.com/646455 2010-10-06 Ville Skyttä * FilesCheck.py: Turn some comments into docstrings. * FilesCheck.py: Add support for PEP 3147 dirs when finding Python sources (David Malcolm). https://bugzilla.redhat.com/637956 2010-10-04 Ville Skyttä * rpmlint.bash-completion: Offer only long rpmdiff completion options. * rpmlint.bash-completion: Add basic -c/--check completion. * rpmlint.1: Document format of values for --check. https://bugzilla.redhat.com/639823 2010-08-19 Ville Skyttä * Makefile: Release 0.99. * FilesCheck.py: Drop duplicate -mandoc arg to groff. * FilesCheck.py: Add Python 3.2 magic number handling. * FilesCheck.py: Add Python 2.7 magic number (https://bugzilla.redhat.com/623607, Nils Philippsen) 2010-07-12 Ville Skyttä * rpmlint.1, rpmlint.py: Choose built in config based on prefix used when invoked (Tom Callaway). https://bugzilla.redhat.com/show_bug.cgi?id=537430#c8 2010-06-23 Ville Skyttä * I18NCheck.py: Use rpm.RPMTAG_HEADERI18NTABLE instead of assuming it's 100. * Makefile: Release 0.98. 2010-06-20 Ville Skyttä * I18NCheck.py, Makefile, __isocodes__.py, tools/generate-isocodes.py: Extend list of valid language country codes from the iso-codes project. http://alioth.debian.org/projects/pkg-isocodes/ https://bugzilla.redhat.com/show_bug.cgi?id=599516 2010-06-05 Ville Skyttä * Pkg.py, test/test.Pkg.py: Fix self-obsoletion bug with Provides containing Epoch. * Pkg.py: Don't stringify None Epoch to 'None' string in compareEVR(). * Pkg.py: Sync rangeCompare() with yum 3.2.27. 2010-06-04 Ville Skyttä * TagsCheck.py: Reduce some spell check noise. * rpmlint: Fix handling of arguments containing spaces. 2010-06-03 Ville Skyttä * SpecCheck.py: Revert accidental bit in previous commit. * SpecCheck.py: Try to avoid messages about ./configure in comments. https://bugzilla.redhat.com/599427 2010-06-02 Ville Skyttä * TagsCheck.py: Simplify code, remove misleading comment. * TagsCheck.py: Suppress spell check errors for words containing digits. This is a workaround for enchant's digit tokenizing behavior: http://github.com/rfk/pyenchant/issues/issue/3 2010-05-19 Ville Skyttä * DocFilesCheck.py: Bypass doc file check earlier if package has no doc files. As a side effect, works around https://bugzilla.redhat.com/593553 with rpm 4.8.0 and gpg-pubkeys. 2010-05-18 Ville Skyttä * Makefile: Release 0.97. * FilesCheck.py: Do man page warning check only in UTF-8 mode for now. * SpecCheck.py, test/SpecCheck.spec: Avoid some false macro-in-comment positives. 2010-05-17 Ville Skyttä * FilesCheck.py: Add manual page warning check, https://bugzilla.redhat.com/589432 * Pkg.py: Split "cat" command into catcmd(). 2010-04-27 Ville Skyttä * BinariesCheck.py: Output no-ldconfig-symlink only for files starting with "lib" or "ld-". ldconfig (as of glibc 2.11.90) itself handles only files starting with these prefixes. https://bugzilla.redhat.com/459452 2010-04-26 Ville Skyttä * test/test.PamCheck.py: Clean up after ourselves. 2010-04-21 Ville Skyttä * Makefile: Release 0.96. 2010-04-20 Ville Skyttä * ConfigCheck.py: Get rid of app-defaults-must-not-be-conffile check, it's covered by non-etc-or-var-file-marked-as-conffile. * BinariesCheck.py, ConfigCheck.py: Replace some trivial regexps with string matches. * ConfigCheck.py: Get rid of file-in-usr-marked-as-conffile check, it's covered by non-etc-or-var-file-marked-as-conffile. 2010-04-16 Ville Skyttä * TagsCheck.py: Warn about shared object provides in private dirs, https://bugzilla.redhat.com/487974 * Pkg.py: Record file provides. * Pkg.py: Fix check_versioned_dep(). * test/test.DocFilesCheck.py: Remove obsolete test case. * DocFilesCheck.py, Pkg.py: Rename pkgfile.deps to .requires, parse it to (name, flags, (e, v, r)). * Pkg.py, SpecCheck.py, test/SpecCheck.spec, test/test.Pkg.py, test/test.SpecCheck.py: Move dep token parsing to Pkg, add some tests. 2010-04-15 Ville Skyttä * TagsCheck.py: Drop no longer used epoch_regex. * Pkg.py, TagsCheck.py: Store dependencies, provides etc as (name, flags, (epoch, version, release)) internally. * TagsCheck.py: More improvements to dependency formatting in messages. * TagsCheck.py: Improve no-epoch-in-* message formatting. * TagsCheck.py: Check for unexpanded macros in requires/provides/obsoletes/conflicts names in addition to versions. 2010-04-01 Ville Skyttä * rpmlint.py: Drop dead code. * rpmlint.py: Do not use unnecessary getopt backwards compatibility things. 2010-03-31 Ville Skyttä * SpecCheck.py: Simplify some regexps. * SpecCheck.py: Make ifarch etc regexps stricter. * SpecCheck.py: Anchor BuildRoot regex at start of line (Mads Kiilerich). * SpecCheck.py: Don't check for buildroot usage in comments (http://bugzilla.redhat.com/578390) 2010-03-30 Ville Skyttä * FilesCheck.py, InitScriptCheck.py, MenuCheck.py, PostCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py: Code cleanups, avoid deeply nested blocks etc. 2010-03-19 Ville Skyttä * AbstractCheck.py, test/test.PamCheck.py: Clean up unused variables and imports. * BinariesCheck.py: Code cleanups, avoid deeply nested blocks etc. * FilesCheck.py: Simplify code. * FilesCheck.py: Move setuid/setgid bit check to same block with rest of normal file checks. * FilesCheck.py: Fix bad reuse of "pkgfile" var. * Pkg.py: Don't bother checking match iterator boolean values. Fixes installed package globbing with rpm 4.8: http://rpm.org/ticket/153 No need to raise KeyError for no matches at this level either. * FilesCheck.py: Check that executables in standard binary dirs have man pages (https://bugzilla.redhat.com/572090, based on patch by Radek Novacek). * FilesCheck.py: Move text file checks to the block of other normal file checks. 2010-03-18 Ville Skyttä * FilesCheck.py: Check for same named executables in standard bin dirs (https://bugzilla.redhat.com/572097, based on patch from Radek Novacek). * FilesCheck.py: Treat /usr/games as a "bin" dir. 2010-03-15 Ville Skyttä * TagsCheck.py: Add dictionary install tip in enchant-dictionary-not-found info message. 2010-03-14 Ville Skyttä * SpecCheck.py: Report all occurrences of egrep/fgrep on a line. * SpecCheck.py: Check for uses of deprecated egrep and fgrep (https://bugzilla.redhat.com/571386). * SpecCheck.py: Recognize scriptlet section markers. 2010-03-10 Ville Skyttä * SpecCheck.py, test/SpecCheck.spec, test/test.SpecCheck.py: Test for macros in shell comments (#162, https://bugzilla.redhat.com/571375) 2010-03-06 Ville Skyttä * TagsCheck.py: Fix non-coherent-filename for source packages (regression in r1729). 2010-03-03 Ville Skyttä * Makefile: Release 0.95. * AbstractCheck.py: Skip ghost files in files checks, https://bugzilla.redhat.com/570086 2010-02-23 Ville Skyttä * Filter.py: Work around Python's ASCII non-TTY stdout and our non-ASCII output. * TagsCheck.py: Omit spell check warnings for capitalized words that do not start a sentence. https://bugzilla.redhat.com/567285 2010-02-21 Ville Skyttä * BinariesCheck.py, Config.py, DistributionCheck.py, FilesCheck.py, I18NCheck.py, InitScriptCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, Pkg.py, PostCheck.py, RpmFileCheck.py, SignatureCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py: Wrap bunch of long lines, tune comments and info messages. * INSTALL: Require rpm-python >= 4.4.2.2 for expandMacro() in r1729. 2010-02-09 Michael Scherer * AbstractCheck.py: do not execute check if the network test are marked as disabled, and simplify the logic * TagsCheck.py: - do not expand the format of the filename format, (patch from Per Oyvind Karlsten ) 2010-01-31 Ville Skyttä * Makefile: Release 0.94. * SpecCheck.py: Output the latter occurrence of spaces/tabs as mixed-use-of-spaces-and-tabs' context line number. * TagsCheck.py: Sync opensource.org list of licenses with upstream (fixes #58). * SpecCheck.py, rpmlint.1, rpmlint.py: Add ability to read spec file content from stdin (#63). * SpecCheck.py: Do not try to pass non-file spec content to rpm for parsing. * TagsCheck.py: Fix unexpanded macros check with non-string tag values. https://admin.fedoraproject.org/updates/F12/FEDORA-2010-1105 2010-01-27 Ville Skyttä * config: Improve accuracy of config value type documentation. * FilesCheck.py: LSB user/group status comment update. 2010-01-25 Ville Skyttä * SpecCheck.py: Fix iterating spec sources with rpm >= 4.8.0. http://rpm.org/wiki/Releases/4.8.0#Specclass * Makefile: Release 0.93. * Pkg.py: Treat all failures opening the (installed) 'rpm' package for finding default groups as non-fatal. * TagsCheck.py: Load default valid groups only if ValidGroups is not set (or is None). * README, config, rpmlint.1: Move list of available config options to "config", improve documentation. 2010-01-21 Ville Skyttä * TagsCheck.py: Ignore filenames contained in package when spell checking. * AbstractCheck.py: Use our own User-Agent in urllib2 requests. * Makefile: Fix install target when no *.pyc are generated. * ., Config.py, Makefile, rpmlint.py: Move version number to __version__.py, make it available as Config.__version__. * TagsCheck.py: Include Enchant suggestions in spelling-error output. * AbstractCheck.py: Try harder to get something to print about inaccessible URLs. 2010-01-20 Ville Skyttä * MenuXDGCheck.py: Include errors from desktop-file-validate in output (#85). Based on patch from dmueller at suse.de. * DistributionCheck.py, README, SourceCheck.py, config, rpmlint.1: Add arbitrary manpage/infopage/source compression support (#142). Based on patch from pkarlsen at mandriva.com. The UseBzip2, UseLzma, and UseXz config options have been replaced by the new CompressExtension option (which takes a filename extension without the leading dot), the *page-not-compressed-with-* message ids have been replaced by *page-not-compressed, and the source-or-patch-not-*zipped message ids have been replaced by source-or-patch-not-compressed. * AbstractCheck.py: Do HTTP redirects with HEAD too, urllib2 appears to reset them to GET. * SpecCheck.py, TagsCheck.py: Python 2.4 compatibility fixes. * AbstractCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py: Avoid embedding anything other than reason in reason id for -i to work. * SpecCheck.py: Demand only tarball sources to be URLs (#170). * SpecCheck.py: Check that SourceX are URLs (#170). * AbstractCheck.py, README, SpecCheck.py, TagsCheck.py: Check that *URL, SourceX and PatchX are not broken links (#165). The new config option NetworkEnabled needs to be True for this check to happen (default is False). See also the new NetworkTimeout option. * TagsCheck.py: Require at least one dot in URL net locations. * AbstractCheck.py, rpmlint.py: Pass verbosity flag to check classes. 2010-01-19 Ville Skyttä * FilesCheck.py, README: Add svg to default SkipDocsRegexp. * FilesCheck.py, TagsCheck.py: Check for unexpanded macros in many more tags. Various misspelled-macro, percent-in-*, and macro-in-* messages are now reported as unexpanded-macro, and their formatting has been improved. * AbstractCheck.py, FilesCheck.py, SpecCheck.py: Report all unexpanded macros in files and changelogs, not just first of line. * TagsCheck.py: Rename spelling-error-in-* to spelling-error, improve formatting. * TagsCheck.py: Check DistURL and BugURL validity. * TagsCheck.py: Check URLs using urlparse, remove Mandrake reference from info message. 2010-01-16 Ville Skyttä * TagsCheck.py: Recognize BugURL tag. 2010-01-09 Ville Skyttä * FilesCheck.py: Do not suppress bunch of filename checks for files in "bad" dirs. * FilesCheck.py: Make backup file check look for patch backup files. 2009-12-02 Michael Scherer * rpmlint.py: - make -I work again when using addCheckDir, spotted by incubusss 2009-11-25 Ville Skyttä * Pkg.py: Fix default groups lookup when the rpm package is not installed. 2009-11-05 Ville Skyttä * FilesCheck.py, README, config: Add check for version magic in byte-compiled Python files (David Malcolm, modified by yours truly). https://www.zarb.org/pipermail/rpmlint-discuss/2009-November/000787.html * Filter.py, Pkg.py, SignatureCheck.py, rpmdiff, rpmlint.py: Use alternative Python 2/3 'print' compatibility hack; drop rlprint, rename rlwarn to warn. * FilesCheck.py: Drop unused safe_normpath import. * SignatureCheck.py: Fix signature check with rpm versions that output e.g. '(MD5) ' at start of unknown key name. * SignatureCheck.py: Include more info in 'Error checking signature' output. 2009-11-02 Ville Skyttä * Makefile: 0.92. * Makefile: Add --reparagraph to svn2cl options. * Makefile, tools/compile.py: Add option to generate *.pyc too, use py_compile directly instead of a script of our own, remove "print" check from the all target. * TagsCheck.py: Warn only once per misspelled word per tag. * TagsCheck.py: Avoid unnecessary try-except in BAD_WORDS lookup. 2009-10-29 Ville Skyttä * SpecCheck.py: Trivial code cleanup, works around pychecker bug. * BinariesCheck.py, DistributionCheck.py, FilesCheck.py, InitScriptCheck.py, MenuCheck.py, PostCheck.py, SpecCheck.py: Replace bunch of trivial regexps with simple string searches. * FilesCheck.py: Output differing python mtimes as formatted datetimes. * TagsCheck.py: Cache and reuse instantiated enchant checkers. * TagsCheck.py: Don't flag package name 'components' as spelling errors with enchant. 2009-10-27 Ville Skyttä * FilesCheck.py: Make python regex match /usr/lib64 too. * FilesCheck.py: Add check for python byte compiled/source mtime checks (David Malcolm). https://www.zarb.org/pipermail/rpmlint-discuss/2009-October/000775.html * Pkg.py: Avoid import loop introduced in previous change. * Filter.py, Pkg.py, SignatureCheck.py, rpmdiff, rpmlint.py: Introduce Pkg.rlprint and Pkg.rlwarn print-like functions, use them instead of direct writes to sys.std{out,err} (#181). 2009-10-18 Ville Skyttä * rpmdiff: Python 3 compatibility tweaks. * rpmdiff: Output usage errors to stderr. 2009-10-16 Ville Skyttä * Filter.py: Sort diagnostics using key instead of cmp. 2009-10-13 Ville Skyttä * rpmdiff: Don't output an empty line if no differences are found, https://bugzilla.redhat.com/528535 * README, TagsCheck.py: Add UseEnchant config option. 2009-10-08 Ville Skyttä * rpmdiff: Fix all Provides/Obsoletes/Conflicts being marked as Requires. 2009-10-02 Ville Skyttä * rpmlint.bash-completion: Quote one more $cur for "compgen -W" to avoid globbing. * rpmlint.bash-completion: Reindent. * rpmlint.bash-completion: Quote $cur for "compgen -W" to avoid globbing. * rpmlint.1, rpmlint.bash-completion, rpmlint.py: Add -o/--option option for overriding config options. * rpmlint.bash-completion: Don't offer short option completions where long ones exist. * rpmlint.bash-completion: Add (non)completion of -I and -c/--check arguments. * rpmlint.bash-completion: Cleanups. * rpmlint.bash-completion: Remove no longer existing -p/--profile option completion. * rpmlint.py: Option processing and documentation cleanups/improvements. 2009-10-01 Ville Skyttä * rpmlint.py: Clean up help message printing. 2009-09-23 Ville Skyttä * TagsCheck.py: Yell only once per missing enchant dictionary. * INSTALL: Note enchant dependency. * Pkg.py, TagsCheck.py: Add summary and description spell checking using enchant (#166, most of the work by Debarshi Ray). 2009-09-13 Ville Skyttä * Makefile: 0.91 2009-09-08 Ville Skyttä * README, rpmlint.1, rpmlint.py: Honor $XDG_CONFIG_HOME when finding default user config file. 2009-09-06 Ville Skyttä * BinariesCheck.py, Config.py, PostCheck.py, SpecCheck.py, TagsCheck.py: Code cleanups. 2009-09-02 Ville Skyttä * SpecCheck.py: Report character index where nbsp was found. * Pkg.py: Don't treat '[' without a following ']' and something in between as a glob in getInstalledPkgs(). 2009-08-31 Ville Skyttä * rpmlint.py: Process installed packages matched by a wildcard in locale's alphabetic order. 2009-08-30 Ville Skyttä * Pkg.py: Try to identify and bypass magic info originating from inside compressed files for now, https://bugzilla.redhat.com/519694 2009-08-20 Ville Skyttä * Makefile: Include test suite files in dist tarballs. * Makefile: Rename test target to check per GNU conventions. * test.sh: Really make it executable. * test.sh: Make executable, trivial cleanups. 2009-08-19 Ville Skyttä * INSTALL: Note gzip, bzip2 and xz dependencies. * Pkg.py: Decompress lzma files with xz in is_utf8. * README.devel: Remove flepied's email address, no need to bother him with rpmlint development nowadays. * README.devel: Note that the run examples apply to unpacked tarballs too. 2009-08-17 Ville Skyttä * README, TagsCheck.py: Make max line length configurable (config option MaxLineLength, default still 79). 2009-08-12 Ville Skyttä * rpmlint.bash-completion: Don't rely on bash_completion setting $filenames, just use -o filenames instead. 2009-08-10 Ville Skyttä * rpmdiff: Print friendlier error message than a traceback when loading a package fails, https://bugzilla.redhat.com/516492 2009-08-03 Ville Skyttä * SpecCheck.py: Downgrade no-buildroot-tag and no-cleaning-of-buildroot to warnings; they are not needed in some rpm configurations/versions, https://bugzilla.redhat.com/515185 * SpecCheck.py: Improve rpm-buildroot-usage info message. 2009-07-28 Ville Skyttä * rpmlint.bash-completion: Simplify bash completion code a bit. 2009-07-26 Ville Skyttä * Pkg.py, TagsCheck.py: Match "foo%_isa" when checking base package dependencies on foo, https://bugzilla.redhat.com/513811 2009-07-22 Ville Skyttä * rpmlint.py: Do -a/--all though globbing. * rpmlint.py: Cleanups, NFC. 2009-07-21 Ville Skyttä * InitScriptCheck.py: Fix crash if subsys name in an init script ends up being empty. * AbstractCheck.py, FilesCheck.py, SpecCheck.py, TagsCheck.py: Output complete found macro candidate in misspelled macro related messages. * TagsCheck.py: Check for unexpanded macros in summary, description, group, buildhost, and license. * FilesCheck.py: Further improve misspelled-macro info message. * AbstractCheck.py, FilesCheck.py, SpecCheck.py: Move regex that matches macros to AbstractCheck, use it, improve misspelled-macro info message. * FilesCheck.py: s/mispell/misspell/ :þ 2009-07-15 Ville Skyttä * rpmlint.1: Rephrase CAVEATS more. * rpmlint.1: Rephrase CAVEATS a bit. 2009-06-29 Ville Skyttä * Makefile: 0.90. * rpmdiff: Add missing magic coding comment (https://bugzilla.redhat.com/508683, Michal Nowak). 2009-06-21 Ville Skyttä * Makefile: 0.89 * TagsCheck.py: Fix incorrect info in self-obsoletion message. * FilesCheck.py: Output interpreter in non-executable-script warning, remove quotes from wrong-script-interpreter one. * Pkg.py: Remove stale comments. * TagsCheck.py: Code cleanup, NFC. * TagsCheck.py: improve percent-in-* message details. * TagsCheck.py: Remove obsolete-on-name check (superseded by self-obsoletion). * TagsCheck.py: Add check for self-obsoletion cases, https://bugzilla.redhat.com/461610 * Pkg.py: Borrow various utilities from yum's rpmUtils.miscutils. * Makefile, rpmUtils: Revert previous commit. * Makefile, rpmUtils, rpmUtils/miscutils.py, rpmUtils/transaction.py: Borrow rpmUtils/{miscutils,transaction}.py from yum. * rpmdiff: Improve dependency formatting. * rpmdiff: Take Epoch into account in self-provides filtering. * Pkg.py: Improve legacy prereq tracking with new rpm versions. 2009-06-18 Ville Skyttä * rpmdiff: Add enough space padding to output. 2009-06-17 Ville Skyttä * DistributionCheck.py, FilesCheck.py, Pkg.py, README: Add xz support, improve *page-not-compressed-with-* info messages. * BinariesCheck.py: Avoid a couple of unnecesary regex matches. 2009-06-16 Ville Skyttä * BinariesCheck.py, Config.py, DistributionCheck.py, FilesCheck.py, Filter.py, InitScriptCheck.py, MenuCheck.py, MenuXDGCheck.py, Pkg.py, PostCheck.py, README, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, rpmdiff, rpmlint.py: Code cleanups. 2009-06-12 Ville Skyttä * README, config, rpmlint.1, rpmlint.py: Move default user config file to ~/.config/rpmlint per freedesktop.org base dir spec. * config: Comment spelling fix. 2009-05-31 Ville Skyttä * DistributionCheck.py: s/compressed-wth-lzma/compressed-with-lzma/, thanks to Mark Hall. 2009-05-30 Ville Skyttä * rpmdiff: Improve usage message. * rpmdiff: Always append /usr/share/rpmlint to load path. * rpmlint.bash-completion: Add rpmdiff bash completion. * rpmdiff: Sync with koji version by Florian Festi and Mike Bonnet (https://fedorahosted.org/koji/log/hub/rpmdiff) 2009-05-20 Ville Skyttä * SpecCheck.py: Check for comparison operators in dependency tokens (#174). 2009-04-29 Ville Skyttä * InitScriptCheck.py: Hack around a subsys parsing deficiency, https://bugzilla.redhat.com/498107 * InitScriptCheck.py: Print expected init script names in incoherent-init-script-name output. 2009-04-21 Ville Skyttä * BinariesCheck.py: Don't output missing-PT_GNU_STACK-section messages if readelf failed. 2009-04-08 Ville Skyttä * FilesCheck.py: Add check for debuginfo packages without sources. 2009-03-23 Ville Skyttä * FilesCheck.py: Allow more common files to be non-readable (https://bugzilla.redhat.com/226412). * FilesCheck.py: Revert relative symlink target normalization back to more aggressive. * BinariesCheck.py, Config.py, ConfigCheck.py, FHSCheck.py, FilesCheck.py, I18NCheck.py, MenuCheck.py, Pkg.py, PostCheck.py, TagsCheck.py, rpmdiff: Code cleanups. * FilesCheck.py: Do not check existence of relative link targets on the filesystem for consistency with absolute link target checks, improve dangling-*symlink info messages. * FilesCheck.py, Pkg.py: Be a bit stricter when normalizing link targets, do it earlier. * FilesCheck.py, Pkg.py: Improve link target normalization in symlink checks. 2009-03-19 Ville Skyttä * Makefile: 0.87 * rpmlint.py: Avoid importing SpecCheck (and TagsCheck, FilesCheck etc by recursion) too early, causing config settings for them being ignored. * rpmlint.bash-completion: Speed up path based completion. * Makefile: 0.86 * Makefile: Make "verify" target more useful. * SpecCheck.py: More spaces vs tabs improvements (https://bugzilla.redhat.com/488146#c6, Mattias Ellert) 2009-03-17 Ville Skyttä * Pkg.py: Don't treat %verifyscript dependencies as 'pre' ones. * Pkg.py: Drop obsolete backwards compatibility cruft. * Pkg.py, PostCheck.py: Add %verifyscript support. 2009-03-08 Ville Skyttä * FilesCheck.py: Improve buildconfig_rpath_regex a bit more. * FilesCheck.py: Try to catch more rpaths in *.pc and *-config. * FilesCheck.py: Add check for rpaths in *.pc and *-config files (https://bugzilla.redhat.com/334414, based on patch from Milos Jakubicek) 2009-03-05 Ville Skyttä * SpecCheck.py: Improve mixed tabs/spaces indentation check (Mattias Ellert, https://bugzilla.redhat.com/488146). 2009-02-28 Ville Skyttä * SpecCheck.py: Work around spurious "No such file or dir" errors from rpm when querying specfiles, https://bugzilla.redhat.com/487855 * BinariesCheck.py, INSTALL, Pkg.py: Use file magic info from rpm header and amend it with python-magic, include magic info in PkgFile. * Pkg.py: Fix pkgfile.path for files in uninstalled (extracted) binary packages. 2009-02-25 Ville Skyttä * SpecCheck.py: Fix false positives caused by noarch subpackages, include (sub)package name in libdir-macro-in-noarch-package message (#175). * test/SpecCheck.spec, test/noarch-sub.spec, test/test.SpecCheck.py: Include noarch subpackage test in SpecCheck test. * Pkg.py: Ensure current_linenum is always defined in fake pkgs. 2009-02-19 Ville Skyttä * test/noarch-sub.spec: Test specfile for noarch subpackages. 2009-02-15 Ville Skyttä * BinariesCheck.py: Dict iteration improvement. * FilesCheck.py: Strip quotes from scriptlets before examining them (#169). 2009-02-12 Ville Skyttä * rpmlint.py: Walk given dirs recursively. * Pkg.py: Improve temp dir creation and temp file/dir naming. * rpmlint.py: Run package cleanup handlers only once. 2009-02-10 Ville Skyttä * DocFilesCheck.py, INSTALL, Pkg.py, PostCheck.py, rpmlint.py: Drop support for rpm < 4.4. 2009-02-04 Ville Skyttä * BinariesCheck.py: Fix undefined variable. * BinariesCheck.py: Make only-non-binary-in-usr-lib false positives less likely, https://bugzilla.redhat.com/483199 * BinariesCheck.py: Downgrade only-non-binary-in-usr-lib to a warning, https://bugzilla.redhat.com/483199 2009-02-01 Ville Skyttä * AbstractCheck.py, BinariesCheck.py, MenuCheck.py: Cleanups. * BinariesCheck.py, DocFilesCheck.py, FilesCheck.py, I18NCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, SourceCheck.py, SpecCheck.py, ZipCheck.py, rpmdiff: Represent files inside packages as PkgFile objects. * rpmdiff: Make rpmdiff usable on installed packages. * Pkg.py: Always raise KeyError (instead of sometimes StopIteration) from InstalledPkg if not found by name. * DocFilesCheck.py, test/test.DocFilesCheck.py: Move testing code out of DocFilesCheck.py. * BinariesCheck.py, DocFilesCheck.py, Pkg.py: Move file dependencies to central files dict in Pkg. * BinariesCheck.py, MenuCheck.py, MenuXDGCheck.py, Pkg.py, rpmlint.py: Unused variable, import cleanup. * FilesCheck.py: Don't reuse variable 'link' in hardlink check, breaks in symlink check. * BinariesCheck.py, FilesCheck.py, Pkg.py: Add cross directory hard link check (#171, Lubomir Rintel) * Pkg.py: Comment/TODO update. 2009-01-30 Ville Skyttä * BinariesCheck.py: Python 2.4 compat fix for no os.SEEK_END (#172, Lubomir Rintel) * Filter.py: Move Config.info check outside of printDescriptions (#171, lkundrak at v3.sk) * BinariesCheck.py, ConfigCheck.py, DistributionCheck.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, Filter.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, PostCheck.py, RpmFileCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py: Make sure details are available for -i also for early loaded check modules. * README, rpmlint.1: Add note about best check coverage. * SpecCheck.py: Query specfiles using rpm to find syntax and other errors, https://bugzilla.redhat.com/483196 2009-01-29 Ville Skyttä * Pkg.py: Docstring update. * I18NCheck.py, TagsCheck.py: Use generators where appropriate. * SpecCheck.py: Compile section regexps only once. 2009-01-28 Ville Skyttä * INSTALL: Fix indentation. 2009-01-28 Michael Scherer * INSTALL: - update the requirement in INSTALL * Pkg.py: - fix python 2.6 deprecation warning 2009-01-27 Ville Skyttä * SpecCheck.py: Cleanup fallout fixes. * BinariesCheck.py, ConfigCheck.py, DistributionCheck.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, PostCheck.py, RpmFileCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, rpmlint.py: Import fixes. * InitScriptCheck.py: Downgrade missing-mandatory-lsb-keyword error to missing-lsb-keyword warning, add some recommended keywords (#71). * AbstractCheck.py, DistributionCheck.py, FHSCheck.py, FilesCheck.py, InitScriptCheck.py, MenuCheck.py, NamingPolicyCheck.py, Pkg.py, PostCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, rpmdiff: Dict access cleanups. * BinariesCheck.py, I18NCheck.py, Pkg.py: Combine file langs into regular Pkg files list. 2009-01-26 Ville Skyttä * FilesCheck.py: Treat *-headers as devel packages. * BinariesCheck.py, Config.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, I18NCheck.py, MenuCheck.py, NamingPolicyCheck.py, Pkg.py, PostCheck.py, TagsCheck.py, rpmdiff: PEP 8, pylint, pychecker cleanups. * AbstractCheck.py, BinariesCheck.py, Config.py, ConfigCheck.py, DistributionCheck.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, Filter.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, Pkg.py, PostCheck.py, RpmFileCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, rpmlint.py, tools/Testing.py, tools/compile.py: Import cleanup (PEP 8). * Pkg.py, rpmlint.1: Allow PACKAGE argument to be a glob(7) pattern. * rpmlint.1: Document FILE and PACKAGE arguments. * rpmlint.py: Do not run SpecCheck on *.spec if the check is not enabled. * Config.py: Strip .py[co]? from check names to add. * AbstractCheck.py, Config.py, rpmlint.py: Do not reset list of default checks to run if Config.addCheck() is used in config files. * rpmlint.1: Mention that -c may be given multiple times. * rpmlint.py: Improve usage message. 2009-01-23 Ville Skyttä * rpmlint.py: Fix exit status (to 1) when no arguments given. * FilesCheck.py, Filter.py, I18NCheck.py, PostCheck.py, rpmlint.py: pychecker fixes. * AbstractCheck.py, BinariesCheck.py, Config.py, ConfigCheck.py, DistributionCheck.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, Filter.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, Pkg.py, PostCheck.py, RpmFileCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, rpmlint.py, test/test.PamCheck.py, test/test.SpecCheck.py, tools/Testing.py, tools/compile.py: Add utf-8 magic comments. * InitScriptCheck.py: Use os.path.basename instead of a regexp. * FilesCheck.py, MenuCheck.py, TagsCheck.py: Drop unused regexps. * FilesCheck.py, SpecCheck.py: *_regex naming consistency fixes. * FilesCheck.py: Recognize bzr internal files. * TagsCheck.py: Add Enhances, Recommends, Suggests, Supplements to tag_regex. * TagsCheck.py: Use os.path.basename instead of filename.split("/"). * TagsCheck.py: Sync license list with OSI. * RpmFileCheck.py, ZipCheck.py: Fix spelling of my surname. 2009-01-21 Ville Skyttä * ZipCheck.py: Use pkg.files() instead of pkg.getFilesInfo(), improve error message. * Pkg.py, SpecCheck.py, TagsCheck.py, Util.py: Move default rpm groups loading to Pkg, call it only once. * rpmlint.1, rpmlint.py: Do not load/initialize checks more than once. * Pkg.py: Simplify file_regex. 2009-01-20 Ville Skyttä * README.devel: s/nbsp/ / * README.devel, rpmlint.1, rpmlint.py: Remove the -p option, use something like "python -O -u -m cProfile -s cumulative rpmlint.py ..." for profiling instead. * BinariesCheck.py: Speed up reading trailing bytes from binaries. * rpmlint.py: Fix -a with rpm 4.6 (https://bugzilla.redhat.com/480664, Panu Matilainen). 2009-01-14 Ville Skyttä * rpmlint.bash-completion: Complete on installed packages, dirs and *.rpm, *.spec only. * rpmlint.bash-completion: Add *Emacs, vim and friends mode and indentation settings. * SpecCheck.py: Avoid duplicate non-standard-group warnings when checking source packages (#167). * SpecCheck.py: Match Group: case insensitively. * Filter.py, Makefile, Testing.py, compile.py, test.sh, tools, tools/Testing.py, tools/compile.py: Move compile.py and Testing.py to tools/, do not require installation of Testing.py. * SpecCheck.py, test/SpecCheck.spec, test/test.SpecCheck.py: Improve applied patch detection (#59, dmueller at suse.de), add test case. * Testing.py: Add getTestedSpecPackage(). * test.sh: Fix exit code on success. 2009-01-12 Michael Scherer * SpecCheck.py, TagsCheck.py, Util.py: add patch from akurtakov, to check the Group tag in spec files, close ticket #167 2009-01-03 Ville Skyttä * FilesCheck.py: Mention symlinks(8) in symlink-should-be-relative info message. 2008-11-23 Ville Skyttä * TagsCheck.py: Add name-repeated-in-summary check. 2008-11-09 Ville Skyttä * AbstractCheck.py, DistributionCheck.py, FilesCheck.py, InitScriptCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, SpecCheck.py, TagsCheck.py, rpmlint.py: Trim trailing whitespace. 2008-10-30 Ville Skyttä * BinariesCheck.py, FilesCheck.py, Filter.py, MenuCheck.py: pylint whitespace cleanups. * BinariesCheck.py: Include filename in binaryinfo-readelf-failed and binaryinfo-tail-failed messages. 2008-10-29 Ville Skyttä * BinariesCheck.py, Config.py, ConfigCheck.py, DistributionCheck.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, Filter.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, MenuXDGCheck.py, NamingPolicyCheck.py, PamCheck.py, Pkg.py, PostCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, rpmdiff, rpmlint.py: pylint whitespace cleanups. * rpmlint.py: Improve non-package-related error message formatting. * SpecCheck.py: Warn about %setup outside of %prep (#164, akurtakov at gmail.com). * ZipCheck.py: Fix traceback when zip file does not exist (for example L10n jars in firefox with %_install_langs). * BinariesCheck.py, FilesCheck.py, InitScriptCheck.py, MenuCheck.py, Pkg.py, SpecCheck.py, TagsCheck.py: Use string methods instead of deprecated string functions. * AbstractCheck.py: pylint cleanups. * Filter.py, Pkg.py: Drop no longer needed Python < 2.3 workarounds. * INSTALL, Pkg.py, PostCheck.py, README, Testing.py, rpmdiff, rpmlint.1, rpmlint.py: Use tempfile.gettempdir() instead of hardcoding /tmp, Python >= 2.3 is now required. * README, rpmlint.1, rpmlint.py: Load all /etc/rpmlint/*config as config files. 2008-10-23 Ville Skyttä * Makefile: Release 0.85. * README, TagsCheck.py: Allow EVR in changelog without release extension, the extension is often a macro or otherwise dynamic. Also do not automatically add '$' to ReleaseExtension when compiling it as a regex - existing configurations should be reviewed and adjusted if necessary. * INSTALL, Makefile, rpmlint.1, rpmlint.bash-completion, rpmlint.py: Drop defunct policy loading code and options (#163). * FilesCheck.py: Improve file-not-utf8 info message. 2008-10-17 Ville Skyttä * SpecCheck.py: Remove broken redundant-prefix-tag check (#160). * README: Fix indentation. 2008-10-15 Ville Skyttä * TagsCheck.py: Make obsolete-not-provided info message more accurate. 2008-10-05 Ville Skyttä * TagsCheck.py: Make invalid-version description more generic (#161). 2008-09-08 Ville Skyttä * BinariesCheck.py: Check for executables built with ocaml -custom, https://bugzilla.redhat.com/461434 2008-09-07 Ville Skyttä * SpecCheck.py: Fix lib package detection (most likely broken since section parsing was implemented). * SpecCheck.py: Do tag related checks only within package sections. * SpecCheck.py: Fix line number off by one in configure-without-libdir-spec, https://bugzilla.redhat.com/461421 2008-09-02 Ville Skyttä * TagsCheck.py: Rename useless-explicit-provides to useless-provides; "explicit" just adds potential confusion as all Provides are treated the same way. * TagsCheck.py: Variable naming improvements, TODO for https://bugzilla.redhat.com/460872 2008-08-21 Michael Scherer * SpecCheck.py: - if we have only one spec file wrongly named, rpmlint will trigger "no-spec-file", instead of the proper error, and will not analyse the specfile 2008-08-12 Ville Skyttä * FilesCheck.py: Allow interpreters to be in arbitrary deep subdirs of /usr/libexec, /usr/lib(64)/*, /usr/share/*. * TagsCheck.py: Recognize more library packages for the explicit-lib-dependency check. 2008-08-04 Ville Skyttä * SpecCheck.py: Don't recompute nbsp for each line in spec. 2008-07-30 Ville Skyttä * BinariesCheck.py: Try to detect and warn about shared libraries that call exit() or _exit(), https://bugzilla.redhat.com/450011 * SpecCheck.py: Kludge for dependency token parsing within multiline macro definitions, https://bugzilla.redhat.com/456843 * SpecCheck.py: Fix false non-break-space positives for some UTF-8 specfiles, https://bugzilla.redhat.com/455371 * SpecCheck.py, rpmlint.py: Fix enabling of UTF-8 checks for specfile-only checks in UTF-8 mode. * BinariesCheck.py: Reduce duplicate regex searches. 2008-07-30 Michael Scherer * Pkg.py: - lzma compressed file support 2008-07-26 Ville Skyttä * Makefile: Release 0.84. * FilesCheck.py: Accept interpreters also in /usr/games, /usr/libexec, /usr/lib/*, /usr/lib64/*, https://bugzilla.redhat.com/355861 2008-07-14 Ville Skyttä * Pkg.py: rpm.org 4.5+ compatibility fix (Panu Matilainen) 2008-07-09 Ville Skyttä * rpmlint.1, rpmlint.py: Drop warnings-only exit status 65 (#157). * BinariesCheck.py: Fix syntax error introduced in previous commit (#159), apply #158 also for pentium* and athlon. 2008-07-01 Michael Scherer * BinariesCheck.py: do not complain for PT_GNU_STACK on non x86 section, patch from dmueller, close bug #158 2008-06-29 Michael Scherer * SpecCheck.py: tabnnany fix 2008-06-21 Ville Skyttä * FilesCheck.py: Change *.so regex for symlinks to match files also in lib(64) subdirs, and lib*.so only to improve no-dependency-on and dangling-*symlink checks. 2008-06-15 Michael Scherer * SpecCheck.py: as PreReq is deprecated on almost every rpm version out there ( ie > 4.2 ), we should count this as error to force people to fix their packages ( mandriva patch from thierry vignaud ) * Pkg.py: - add patch for rpm5 found in mandriva package, from peroyvind 2008-05-27 Ville Skyttä * Makefile: Release 0.83. * FilesCheck.py: Downgrade non-standard-uid/gid errors to warnings, https://bugzilla.redhat.com/430206 2008-05-22 Ville Skyttä * TagsCheck.py: Make GPL and LGPL versioned in default valid license list (#144, peroyvind at mandriva.org). 2008-05-05 Ville Skyttä * TagsCheck.py: Allow foo-devel require foo/foo-libs/libfoo (#154, mostly from dan at danny.cz). 2008-04-29 Ville Skyttä * Config.py, Filter.py, README, rpmlint.1, rpmlint.py: Add badness scoring support (#70, vast majority of work by dmueller at suse.de). * rpmlint.py: Always print stats. * rpmlint.py: Cosmetic cleanups. * rpmlint.py: Output basic statistics before exiting. * rpmlint.1, rpmlint.py: Exit with non-zero status if errors/warnings printed (#128). * Filter.py: Count number of printed (== non-filtered) messages per category. * rpmlint.py: Output usage errors to stderr, improve messages. * PostCheck.py: Avoid percent-in-%foo warnings for commented out lines (#149). * FilesCheck.py: Don't warn about hidden files in /etc/skel (#151, dmueller at suse.de). * BinariesCheck.py: Fix section header regexps (#152, dmueller at suse.de). * SpecCheck.py: Tighten ifarch and endif regexps. * SpecCheck.py: Check for attributes in %files (#153, most of the work by dan at danny.cz). 2008-04-10 Ville Skyttä * Pkg.py: Comment typo fix. 2008-03-24 Ville Skyttä * SpecCheck.py: Improve non-break-space info message. * FHSCheck.py, FilesCheck.py, Filter.py, TagsCheck.py: Use textwrap.fill() to pretty print all info messages, not just a few special cases. * rpmlint.py: Minor -I output tweak. * SpecCheck.py: Check for %{_libdir} and %{_lib} in noarch packages' %files, https://bugzilla.redhat.com/237204 2008-03-21 Michael Scherer * SpecCheck.py: add a check for non-break space, asked on mandriva bugzilla 39094 2008-03-04 Ville Skyttä * ZipCheck.py: Do not issue errors for jars without manifests; META-INF/* are optional in them: http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html 2008-03-01 Ville Skyttä * FilesCheck.py, README: Add SkipDocsRegexp config parameter for skipping end of line and UTF-8 tests for doc files, include RTF, HTML, and OCaml files in it by default, https://bugzilla.redhat.com/434694 * FilesCheck.py: Issue end-of-line warnings for Mac style end of line delimiters. 2008-02-29 Ville Skyttä * ZipCheck.py: s/MANIFEST/MANIFEST.MF/ in relevant info messages. 2008-02-26 Michael Scherer * SpecCheck.py: - check the main specfile ,not the first one, see Mandriva bug 38157 2008-02-23 Ville Skyttä * SpecCheck.py: Downgrade configure-without-libdir-spec into a warning and improve info message; not all configure scripts support or need %{_libdir}, https://bugzilla.redhat.com/433783 * BinariesCheck.py: Excempt ocaml packages from only-non-binary-in-usr-lib check, https://bugzilla.redhat.com/433783 2008-02-21 Ville Skyttä * NamingPolicyCheck.py: Spelling fix. * NamingPolicyCheck.py: Improve info message. * NamingPolicyCheck.py: Allow "base" packages to satisfy checks in addition to subpackages. * NamingPolicyCheck.py: Check lib64 dirs in addition to lib. 2008-02-09 Ville Skyttä * TagsCheck.py: Do changelog version checks for source rpms too. 2008-02-01 Ville Skyttä * BinariesCheck.py: Improve executable-stack explanation. 2008-01-29 Ville Skyttä * BinariesCheck.py: Check for presence of PT_GNU_STACK and executable stack (https://bugzilla.redhat.com/428096, messages from lintian). * BinariesCheck.py: Code cleanups. 2008-01-25 Ville Skyttä * TagsCheck.py: Apply license check improvements from Fedora per Mandriva's request, more info: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines 2007-12-23 Michael Scherer * FilesCheck.py: add lzma to the list of compression extension * DistributionCheck.py: - check manpages compressed with lzma, asked by lzma lover dvalin :) ( and blino@mandriva ) 2007-12-06 Ville Skyttä * FilesCheck.py: Improve kernel module depmod regex. * Makefile: 0.82 * Pkg.py: Don't lose version flags of prereq dependencies (part of #123, dmueller at suse.de) 2007-11-30 Ville Skyttä * PostCheck.py: Avoid false positives for percent-in-* checks, macro names are at least 3 chars long (#132, anonymous) 2007-11-27 Ville Skyttä * Pkg.py, TagsCheck.py: Fix UTF-8 line length calculations, https://bugzilla.redhat.com/399871 2007-11-17 Ville Skyttä * rpmlint.1: ... * rpmlint.1: Note that rpmlint does not have a full featured spec file parser. 2007-11-05 Ville Skyttä * I18NCheck.py: Fix webapp detection (#122, dmueller at suse.de) 2007-10-08 Ville Skyttä * InitScriptCheck.py: Don't think that a service is enabled by default if it contains LSB Default-Start: with empty value. 2007-09-19 Ville Skyttä * TagsCheck.py: Include both actual and expected filenames in non-coherent-filename message. 2007-09-13 Ville Skyttä * FilesCheck.py: Skip end-of-line char and UTF-8 checks for RTF and HTML files. 2007-09-03 Ville Skyttä * I18NCheck.py: subfile-not-in-%lang fix (pixel at mandriva.com) * Makefile: 0.81 2007-08-29 Ville Skyttä * BinariesCheck.py, INSTALL: Use readelf instead of objdump for binary checks (#83, dmueller at suse.de). * TagsCheck.py: Unbreak info messages for checks added in previous revision. * BinariesCheck.py: Use generator objects when iterating over files (#83, dmueller at suse.de) * TagsCheck.py: Check for percent chars in dependency (#75, dmueller at suse.de), obsoletes, provides and conflicts versions. 2007-08-24 Michael Scherer * I18NCheck.py: - patch from pixel, for directory marked as %lang when the files or subdirectory are not * test/test.PamCheck.py: fix test 2007-08-20 Ville Skyttä * rpmlint.py: Check spec files too when processing directories. 2007-08-12 Ville Skyttä * Pkg.py, PostCheck.py: Do not warn about ghost file non-creation for missingok files (#79, dmueller at suse.de) * BinariesCheck.py: Drop unused dynsyms stuff (#83, dmueller at suse.de) * Pkg.py: grep() speedup (#80, dmueller at suse.de) 2007-08-11 Ville Skyttä * FilesCheck.py: Symlinking a *.so to another *.so does not make it a devel symlink (#78, dmueller at suse.de) * DistributionCheck.py: Improve man page dir regex (#76) 2007-07-31 Ville Skyttä * TagsCheck.py: Comment typo fix. * rpmlint.py: 2007 2007-07-24 Michael Scherer * PostCheck.py: - lua is a valid shell, fix #74, patch from dmueller 2007-07-20 Ville Skyttä * I18NCheck.py: Add "bn_IN" (#72, sankarshan.mukhopadhyay at gmail.com), "my", and "si" to list of valid locale subdirs. 2007-06-24 Ville Skyttä * InitScriptCheck.py: LSB comment blocks have keywords, not tags. 2007-06-20 Ville Skyttä * Pkg.py: Tolerate nonexistent current dir, https://bugzilla.redhat.com/244835 2007-06-06 Ville Skyttä * SpecCheck.py: Avoid outputting useless line numbers (alcapcom at gmail.com). 2007-06-02 Ville Skyttä * FilesCheck.py: Ignore filename case when looking for include files. * FilesCheck.py: Improve OCaml devel file handling, https://bugzilla.redhat.com/241471 2007-05-31 Ville Skyttä * InitScriptCheck.py: Add filename and info for missing mandatory LSB tag check (#67, dmueller at suse.de) * SpecCheck.py: Don't choke on trailing commas in deptokens() (#65, dmueller at suse.de) 2007-05-26 Ville Skyttä * FilesCheck.py: Treat *.cxx, *.cpp, *.hxx and *.hpp as include files. 2007-05-14 Ville Skyttä * Filter.py, Pkg.py, SpecCheck.py, rpmlint.1, rpmlint.py: Add direct specfile checking, error line numbers (#60, alcapcom at gmail.com). Also modify error output format for editor parseability (mostly useful for specfile checks), and include package architectures in output. NOTE: locally installed filters should be reviewed against the new output format and ported to it if needed. * BinariesCheck.py, FilesCheck.py, Pkg.py, TagsCheck.py: Carry package arch around in pkg object. 2007-05-13 Ville Skyttä * SpecCheck.py: Even more fallout from previous change. * Pkg.py: More fallout from previous change. * InitScriptCheck.py: Fix fallout from previous change. * FilesCheck.py, InitScriptCheck.py, Pkg.py, PostCheck.py, SpecCheck.py, TagsCheck.py: Better I/O error and temporary file handling. * FilesCheck.py: Check doc text files for UTF-8. 2007-05-12 Ville Skyttä * rpmlint.py: Remove unused/deprecated loadFile(). * SpecCheck.py: Better file I/O error handling. * SpecCheck.py: Improve patch related regexps. * PostCheck.py: Check %pretrans and %posttrans if supported by installed rpm. * PostCheck.py: Improve percent-in-* check, https://bugzilla.redhat.com/239611 2007-05-07 Ville Skyttä * MenuXDGCheck.py: Fix path to failing .desktop file in output (#61, dmueller at suse.de) * InitScriptCheck.py: Accept LSB keywords starting with X- (#62, dmueller at suse.de) 2007-04-12 Ville Skyttä * Makefile: 0.80 * BinariesCheck.py: Improve valid *.so regexp. 2007-04-06 Ville Skyttä * BinariesCheck.py: Don't require soname to start with 'lib' as long as *.so that do not start with 'lib' are checked. 2007-04-05 Ville Skyttä * InitScriptCheck.py: Fail gracefully on unreadable files, eg. dangling symlinks. 2007-03-26 Ville Skyttä * TagsCheck.py: Check %description contents for things that look like tags. 2007-03-25 Ville Skyttä * InitScriptCheck.py: Check LSB Default-Start too when checking if service is enabled by default, bugzilla.redhat.com/233795 2007-03-15 Ville Skyttä * AbstractCheck.py: Autoregister checks only once (by name) so checks (and configs) can import each other without resulting in multiple instances of a particular check being run. * FilesCheck.py: Check for UTF-8 encoded filenames. * INSTALL, Pkg.py, README: Implement is_utf8_str without iconv; Python >= 2.2 is now required. 2007-03-13 Ville Skyttä * TagsCheck.py: Change obsolete-not-provided into a warning and improve description. 2007-03-10 Ville Skyttä * SpecCheck.py: Allow hardcoded /lib in /lib/firmware. * FilesCheck.py: Fix devel to base package dependency check broken in [1317] 2007-03-07 Ville Skyttä * InitScriptCheck.py: Allow tabs and be as relaxed as chkconfig itself with whitespace in chkconfig regex. 2007-03-06 Ville Skyttä * FilesCheck.py: Fix variable scoping/indentation issue introduced in [1319]. 2007-03-02 Michael Scherer * FilesCheck.py: oops, fix typo spotted by guillomovitch * FilesCheck.py: - check cron file, see http://qa.mandriva.com/show_bug.cgi?id=23951 2007-02-25 Ville Skyttä * FilesCheck.py: Treat *-static as devel packages. * TagsCheck.py: Use devel package regexp from FilesCheck. 2007-02-17 Ville Skyttä * InitScriptCheck.py: Fix LSB multiline description parsing (#52). * InitScriptCheck.py: unknow-lsb-tag -> unknown-lsb-tag * DocFilesCheck.py: Fix for rpm-python < 4.3.2 (#53). 2007-02-16 Ville Skyttä * MenuCheck.py, TagsCheck.py: Improve capitalization checks, https://bugzilla.redhat.com/228645 2007-02-05 Ville Skyttä * SpecCheck.py: Don't warn about missing -q to %setup if there's a -T without -a or -b, https://bugzilla.redhat.com/227389 2007-02-02 Ville Skyttä * Makefile: 0.79. * Makefile: Fix test target. 2007-02-01 Ville Skyttä * BinariesCheck.py: Treat Ocaml *.cmx and *.cmxa as arch dependent binaries, https://bugzilla.redhat.com/226879 2007-01-28 Ville Skyttä * BinariesCheck.py: Check for unused direct shared lib deps, inspired by http://www.redhat.com/archives/fedora-maintainers/2006-June/msg00176.html 2007-01-25 Ville Skyttä * FilesCheck.py: Avoid spewing both spurious-executable and script-without-shebang warnings for one file. 2007-01-24 Ville Skyttä * FilesCheck.py: Check for usual spurious executable bits, https://bugzilla.redhat.com/222585 2007-01-02 Ville Skyttä * FilesCheck.py: Don't do end-of-line checks on RTF files, https://bugzilla.redhat.com/220061 * MenuXDGCheck.py: Use Pkg.getstatusoutput instead of subprocess.call for Python < 2.4 compat, http://bugzilla.redhat.com/221116 2006-12-18 Ville Skyttä * FilesCheck.py: Treat PDF files always as binary, https://bugzilla.redhat.com/220061 * FilesCheck.py: Use floating point division in istextfile(). 2006-12-10 Ville Skyttä * SpecCheck.py: Check for > 1 %changelog sections, http://bugzilla.redhat.com/219068 2006-12-04 Ville Skyttä * FilesCheck.py: Spelling fixes (Bernard Johnson, https://bugzilla.redhat.com/218250) 2006-12-03 Ville Skyttä * SpecCheck.py: Improve PreReq and broken context marked dep syntax regexps and descriptions. 2006-11-23 Ville Skyttä * README: Don't hardcode InvalidRequires default, fix up indentation. * README: InvalidRequires is a list of regexps, not strings. 2006-11-13 Ville Skyttä * TagsCheck.py: Add Creative Commons licenses, https://bugzilla.redhat.com/211417 2006-11-08 Ville Skyttä * PostCheck.py: Fine tune forbidden-selinux-command info message. * PostCheck.py: Check for forbidden SELinux related commands (Steve Grubb, https://bugzilla.redhat.com/214605) * PostCheck.py: Drop some duplicate code. 2006-10-28 Ville Skyttä * I18NCheck.py: Allow 3-letter language codes in locale subdirs (Dave Lehman, https://bugzilla.redhat.com/212491). 2006-10-19 Ville Skyttä * BinariesCheck.py: Skip non-PIC check if objdump failed. 2006-10-13 Ville Skyttä * BinariesCheck.py: Don't run ldd on ar archives, https://bugzilla.redhat.com/210110 2006-10-11 Ville Skyttä * Pkg.py: Try to avoid infinite recursion in shell variable expansion https://bugzilla.redhat.com/210261 * Pkg.py: Add start boundary to shell variable assignment regexp https://bugzilla.redhat.com/210261 * InitScriptCheck.py: Fix regression introduced in [1242]: shell variable expansion needs the whole file to be passed to it, not just the current line being examined https://bugzilla.redhat.com/210261 2006-10-10 Ville Skyttä * FilesCheck.py: Don't crash in istextfile() if reading fails, eg. https://bugzilla.redhat.com/209876 * BinariesCheck.py, I18NCheck.py, TagsCheck.py: Don't assume all packages have a source rpm or i18n table, eg. gpg-pubkeys don't; https://bugzilla.redhat.com/209889 * rpmlint.py: Only try to check rpm files when given a directory. * rpmlint.py: Don't run main() when importing rpmlint.py, makes eg. pychecker happier (#48). 2006-09-23 Ville Skyttä * MenuXDGCheck.py, PamCheck.py, Testing.py: Add editor indentation settings. 2006-09-23 Michael Scherer * Makefile: tag 0.78 in Makefile * SpecCheck.py: - some refactoring 2006-09-22 Michael Scherer * test/test.PamCheck.py: - fix test 2006-09-14 Ville Skyttä * INSTALL: Python >= 2.0 required for popen4. * BinariesCheck.py, MenuCheck.py, Pkg.py, PostCheck.py: Use sequence based command invocation more; avoids shell escaping/whitespace issues eg. like https://bugzilla.redhat.com/206383 * I18NCheck.py: sw is valid for Swahili, don't treat is as misspelled Swedish. 2006-09-09 Ville Skyttä * SpecCheck.py: Take escaping into account when finding buildroot strings, fixes #47. * SpecCheck.py: Say which section lacks cleanup in no-cleaning-of-buildroot. 2006-09-03 Ville Skyttä * FilesCheck.py: Recognize GIT and Mercurial "SCM internal" files. * FilesCheck.py, InitScriptCheck.py, PamCheck.py: More literal dot in regexp escaping. * DistributionCheck.py: Drop unused regexps. * SpecCheck.py: Check for unversioned Provides/Obsoletes in specfiles. 2006-08-30 Ville Skyttä * FilesCheck.py: Distinguish between sourced and executed scripts (Guillaume Rousse, #17). * FilesCheck.py: Add comment about *.pm shebang (initially from #17) * FilesCheck.py: s/shellbang/shebang/ (part of #17) 2006-08-29 Ville Skyttä * FilesCheck.py: Escape literal dots in regexps. * FilesCheck.py: Don't demand executable scripts in /etc/profile.d; cf. https://bugzilla.redhat.com/35714 2006-08-26 Ville Skyttä * InitScriptCheck.py: Allow init scripts with package name + 'd'. * PamCheck.py: Use Pkg.grep, output line numbers; fixes #38. * BinariesCheck.py: Improve invalid dir reference regexp, compile it only once. * BinariesCheck.py, MenuCheck.py, Pkg.py: Make Pkg.grep more robust, change to instance method, return matching line numbers. 2006-08-25 Ville Skyttä * TagsCheck.py: Tone down invalid-license message a bit. * TagsCheck.py: Add no-url-tag description (duh). 2006-08-24 Ville Skyttä * SpecCheck.py: Improve broken scriptlet dep regex. * SpecCheck.py: Check broken scriptlet dep syntax only in the "package" section (Pascal Terjan, #42). 2006-07-31 Ville Skyttä * FilesCheck.py: Check for world writable files and dirs. 2006-07-25 Ville Skyttä * PostCheck.py, SpecCheck.py: Add some TODO comments. 2006-07-14 Michael Scherer * PostCheck.py: - add Xdg menu directory to %updates-menus detection * MenuXDGCheck.py: - really fix the call to desktop-file-validate * MenuXDGCheck.py: - fix the check 2006-07-12 Ville Skyttä * SpecCheck.py: Catch macroized %{__make} etc in make check regexp, and ignore all of it in %description too. * TagsCheck.py: Use zlib/libpng, not zlib for that license to follow the OSI list (bugzilla.redhat.com/198616). 2006-07-11 Ville Skyttä * rpmlint.py: Improve error messages, fix checking dirs containing packages. 2006-07-10 Ville Skyttä * Config.py, README: Add removeFilter() for removing filters from the config, useful eg. in per-user config files for restoring filters added in system config files. 2006-07-09 Michael Scherer * SpecCheck.py: do not complaint if %changelog contains a line like : - move the make test to %%check bug reported by vincent danen 2006-07-07 Michael Scherer * MenuXDGCheck.py: add non-utf8-desktopfile check, for [30] * ., InitScriptCheck.py: r1045@crovax: misc | 2006-07-07 00:37:01 +0200 Lsb tags checking * ., InitScriptCheck.py: r1044@crovax: misc | 2006-07-06 23:48:30 +0200 - check the script line by line, needed to check Lsb init tags 2006-07-06 Ville Skyttä * TagsCheck.py: Allow EVR also in the first line of the changelog text, based on a patch from Thomas Vander Stichele (#23). 2006-07-06 Michael Scherer * ., I18NCheck.py, MenuXDGCheck.py, SourceCheck.py, SpecCheck.py: merge * ., TagsCheck.py: r1034@crovax: misc | 2006-07-06 16:41:03 +0200 - replace regexp by simple search * ., DistributionCheck.py: r1033@crovax: misc | 2006-07-06 16:37:03 +0200 - remove regexp, use simple search * ., MenuCheck.py: r1032@crovax: misc | 2006-07-06 16:33:22 +0200 - remove uneeded import * ., FilesCheck.py: r1031@crovax: misc | 2006-07-06 16:32:38 +0200 - do not use regexp when we can use a single search * .: * ., FHSCheck.py: r1019@mallarme: misc | 2006-07-06 01:23:02 +0200 - do not hardcode standard subdir in the detailed message, better to take them from the check itself * ., FHSCheck.py: r1018@mallarme: misc | 2006-07-06 01:14:07 +0200 - do not use regexp when we can avoid them, in order to use less memory and be faster. * ., Config.py, MenuXDGCheck.py: r1017@mallarme: misc | 2006-07-06 01:02:24 +0200 - start MenuXDGCheck, for now, it just run desktop-file-validate on every file, maybe i should restrict more * ., Pkg.py: r1016@mallarme: misc | 2006-07-06 00:06:39 +0200 - pychecker fix, do not mask builtins * ., FilesCheck.py, MenuCheck.py: r1015@mallarme: misc | 2006-07-06 00:00:31 +0200 - pychecker fix * ., test.sh: r1014@mallarme: misc | 2006-07-05 23:57:46 +0200 - improve test.sh, exit when a test fail, and try to launch rpmlint ( basic syntax checking ) * ., FilesCheck.py: r1013@mallarme: misc | 2006-07-05 23:20:12 +0200 - pychecker fix, erase idx as this is also used in Filter.py * ., InitScriptCheck.py: r1012@mallarme: misc | 2006-07-05 23:17:56 +0200 - better variable name, fix pychecker warning 2006-07-05 Michael Scherer * NamingPolicyCheck.py: - revert [910], fix bug #18 * PamCheck.py: - fix bug #33, by removing comment from pam files * Filter.py, Makefile, Testing.py, test, test.sh, test/PamCheck-0.1-1.i586.rpm, test/test.PamCheck.py: - start of testing infrastructure 2006-06-30 Ville Skyttä * PostCheck.py: Improve home regex. * PostCheck.py: Improve dangerous command regexp. 2006-06-29 Ville Skyttä * SpecCheck.py: Add line numbers to mixed-use-of-spaces-and-tabs warning (#28). * TagsCheck.py: Don't fail if the GROUPS file is not found (eg. rpm installed with --excludedocs). * TagsCheck.py: Improve incoherent-version-in-changelog description. * SpecCheck.py: Check that %prep, %build and %install exist, even if empty: https://bugzilla.redhat.com/192422 2006-06-28 Michael Scherer * Makefile: preparing for release 2006-06-28 Ville Skyttä * rpmlint.py: Fix error message output when loading a system config file fails. 2006-06-28 Michael Scherer * rpmlint.py: - give error message about config file loading failure, and give the correct file that failed. * PostCheck.py, TagsCheck.py, rpmlint.py: - pychecker fix 2006-06-28 Ville Skyttä * FilesCheck.py: Use default standard users/groups from LSB. Distributors may want to customize StandardUsers/StandardGroups. * Config.py, setuplist.py: Remove dead code. * FilesCheck.py: Don't hardcode lists of standard users/groups in error messages, use configured ones instead. * README: Typo fixes. 2006-06-26 Ville Skyttä * SpecCheck.py: Remove single-percent-in-changelog; it's already covered by macro-in-%changelog (#27). 2006-06-22 Ville Skyttä * FilesCheck.py, README: Always prefer relative symlinks by default (#25), the new configuration option UseRelativeSymlinks can be set to 0 to restore the old behaviour. Also add a tiny description for symlink-should-be-relative. * FilesCheck.py: Sort list of standard dirs, add /, /media, /selinux, /srv, /sys, and /usr/local/share*. * SpecCheck.py: Add check for mixed use of spaces and tabs in specfiles (#19). 2006-06-22 Michael Scherer * AbstractCheck.py, BinariesCheck.py, Config.py, DocFilesCheck.py, FHSCheck.py, I18NCheck.py, MenuCheck.py, NamingPolicyCheck.py, PostCheck.py, ZipCheck.py: - remove pychecker errors: - unused variable - variable that shadow builtins - unused expression ( usually used to trigger a exception ) - do not raise string as exception * PamCheck.py, RpmFileCheck.py, SpecCheck.py: - fix pychecker warning, notably a missing regexp in commit [1201] 2006-06-21 Michael Scherer * MenuCheck.py: add non-xdg-migrated-menu, patch from frederic crozat, closes #21 * SpecCheck.py: add a check for macro in %changelog 2006-06-20 Ville Skyttä * Pkg.py: Adapt rpm >= 4.2 and source package detection to rpm 4.4.x (x=6?) versions which no longer have RPMTAG_SOURCEPACKAGE. 2006-06-15 Ville Skyttä * DocFilesCheck.py: Revert previous change; the order of filenames and their deps needs to be in sync. * SpecCheck.py: Warn if __find_(provides|requires) is defined without disabling the internal dependency generator. * DistributionCheck.py, DocFilesCheck.py, FilesCheck.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, NamingPolicyCheck.py, Pkg.py, SpecCheck.py, TagsCheck.py: Cleanups. * BinariesCheck.py: Include filename in ldd failure warning. 2006-06-10 Ville Skyttä * FilesCheck.py: Make name of file system base package a bit less hardcoded, allow multiple. 2006-06-08 Ville Skyttä * InitScriptCheck.py: Improve subsys regexp, fixes bugzilla.redhat.com/194466. 2006-06-06 Ville Skyttä * PostCheck.py: Fix fallout from [1183]. 2006-06-05 Ville Skyttä * Pkg.py, rpmlint.py: Check all matching installed packages, not only the first (for multiarch systems and/or multi-version packages). * rpmlint.py: Fix setting ExtractDir in config files. * rpmlint.py: 2006. * rpmlint.py: Use execfile() for loading conf files, fixes #20. * SpecCheck.py: Really bypass checks on section markers. * SpecCheck.py: Catch redundant prefix specified as %_prefix (without curlies). * SpecCheck.py: Add check for macros in %changelog. * SpecCheck.py: Don't bother running checks against section marker lines. * SpecCheck.py: Tighten section marker regexp. * PostCheck.py: Make sure that the correct interpreter is used for scriptlet syntax checks. * FilesCheck.py: Base doc file decisions on whether a file is marked as doc, not a regexp heuristic. 2006-06-04 Ville Skyttä * FilesCheck.py: Do not hardcode lib*-devel no-documentation warning suppression. It would work only for specific package naming schemes, and even in the cases where it works, it can be argued that it's of dubious usefulness. Configurable filters according to distro policies are a better way to handle cases like this. 2006-05-19 Ville Skyttä * FilesCheck.py: Check that debuginfo packages contain files. 2006-05-16 Ville Skyttä * rpmdiff: Print what's wrong if getopt fails. * rpmdiff: Add -h/--help. * rpmdiff: Add option to ignore file timestamps, thanks to Matt Domsch. 2006-05-13 Ville Skyttä * SpecCheck.py: Tolerate macroized "rm" in buildroot cleaning check. * SpecCheck.py: Wrap info message lines at < 80 chars. * SpecCheck.py: Fix build root regexp. 2006-05-13 Michael Scherer * SpecCheck.py: add make-check-outside-check-section, close #14. * SpecCheck.py: add rpm-buildroot-usage, close ticket #15. * SpecCheck.py: - add no-cleaning-of-buildroot check, to be sure that $BUILDROOT is cleaned, as this will leave old files, and break in funny way when files are removed from package, etc. 2006-05-13 Ville Skyttä * BinariesCheck.py: Check for undefined non-weak symbols (shared libs in installed pkgs only). 2006-05-12 Michael Scherer * SpecCheck.py: add setup-not-quiet, to check if %setup -q is used * SpecCheck.py: - use a variable to hold the current esection, as it will help to detect if some macros are misused, and as it unify the handling of the section * SpecCheck.py: avoid using useless temporary variables if not needed * SpecCheck.py: - style fix, i cannot really stand foo=bar as this is less readable than foo = bar, but a real tool should be used to do that. 2006-05-08 Ville Skyttä * BinariesCheck.py: Drop unused la-file-with-invalid-dir-reference info message. * TagsCheck.py: Add Development/Debug into default groups, many distros use it in -debug(info) packages but do not have it in GROUPS. While at it, sort the list and close the GROUPS file explicitly. * TagsCheck.py: OPL is ambiguous, do not use it. * TagsCheck.py: Bring list of licenses up to date with OSI, add a couple of other common (mainly non-software) licenses. 2006-05-04 Ville Skyttä * BinariesCheck.py: Make *.so regexp stricter. * BinariesCheck.py: Update ld.so filename regexp for x86_64. 2006-05-03 Ville Skyttä * BinariesCheck.py, FilesCheck.py: Don't tell people to bother flepied about distro config issues. 2006-04-28 Michael Scherer * AbstractCheck.py, PamCheck.py: - create a new class AbstractFilesCheck to factorise the code that filter and extract files based on a regexp. this class is now used for PamCheck.py, and other similar check will be converted soon. * RpmFileCheck.py: - fix error caused by unterminated string. 2006-04-15 Ville Skyttä * FilesCheck.py: Allow bundling depmod arguments in kernel module post(un)install scriptlets. 2006-04-14 Michael Scherer * RpmFileCheck.py: add svn keywords and copyright notice to RpmFileCheck.py * FilesCheck.py: remove setuid-gid-binary error, as we already have setuid-binary and setgid-binary, and remove Fred email address from the detailed explication, as this is no longer used, and not generic enough. * FilesCheck.py, I18NCheck.py: remove all reference to /etc/httpd/webapps.d, fix bug #8 2006-04-14 Ville Skyttä * RpmFileCheck.py: Make info message wrap with < 80 char lines. 2006-04-13 Michael Scherer * Config.py, README, RpmFileCheck.py: add RpmFileCheck, to test the rpm file itself, for the moment, only check the length of the filename, close ticket #9 2006-04-10 Ville Skyttä * rpmlint.1: Bump month. * rpmlint.1: Mention /usr/share/rpmlint/config. * rpmlint.1: Mention AUTHORS. * FilesCheck.py: Treat *-debug(info) as devel packages. * Makefile: Produce prettier and more concise ChangeLog. * Makefile: Fix AUTHORS and ChangeLog up to date checks. * TagsCheck.py: List valid groups in non-standard-group info. * TagsCheck.py: Don't hardcode valid license list in invalid-license info. * TagsCheck.py: Avoid empty strings in list from get_default_valid_rpmgroups(). 2006-04-10 Michael Scherer * Makefile: for some reason, svn messages do not have space at the same place for french locales and C locales : [misc@takara rpmlint] $ svn info . | grep URL URL : svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk [misc@takara rpmlint] $ LC_ALL=C svn info . | grep URL URL: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk (note 'URL:' vs 'URL :') so, running make tag do not work on my computer, using sed instead of cut did the trick. 2006-04-08 Ville Skyttä * Makefile: Clean up AUTHORS too. * ., AUTHORS, Makefile, authors.xsl: Generate AUTHORS from authors.xml. * Makefile: More target dependency fixes and cleanups. * Makefile: Fix localcopy/tar dependencies. * Makefile: Don't require trailing slash for ETCDIR. 2006-04-05 Michael Scherer * check-install.py: Not used by rpmlint, broken on latest rpm python binding * Config.py, PamCheck.py: add use-old-pam-stack check * README: update default values for configuration option * Config.py: automatically transform filter regexp using () into regexp without named group, to prevent overflow, as it seems to be limited to 100 for this version of python. It may also reduce memory usage. * FilesCheck.py, README: add a option StandardUsers and StandardGroups, for uid checking * MenuCheck.py: place DEFAULT_LAUNCHERS here, as it was removed by last Config.py cleaning 2006-04-04 Michael Scherer * Config.py: remove all exceptions, they should be placed in another file ( it's up to each packager to provides it ) * Makefile: use do not override ETCDIR in Makefile, as it misplaces bash completion, and make package relocation difficult. * Makefile: shebang line of ./compile.py was broken on my computer : [misc@n1 rpmlint-0.76] $ make ./compile.py "/usr/share/rpmlint/" [A-Z]*.py Unknown option: - usage: /usr/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. make: *** [all] Erreur 2 * rpmlint.py: add another configuration file for packager /usr/share/rpmlint/config is used by packager, to set package wide policy, etc, and should not be modified by users /etc/rpmlint/config is used to set a configuration for a specific host, and should be marked as %config(noreplace) in rpm * Makefile: tar target requires dir target, as it use the directory created before * TagsCheck.py: do not trigger description-use-invalid-word and summary-use-invalid-word if ForbiddenWords is empty ( default value ) * TagsCheck.py: use rpm package default group, taken from file GROUPS 2006-04-03 Michael Scherer * TagsCheck.py: do not hardcode "mandrake" forbidden word in code * TagsCheck.py: oops, seems i forget to remove last occurence of DEFAULT_PACKAGER 2006-04-02 Michael Scherer * DistributionCheck.py, TagsCheck.py: use default empty value for Distribution and Vendor * TagsCheck.py: remove mandriva domain from check details * TagsCheck.py: no default value for release extension * TagsCheck.py: remove mandriva default value for valid_buildhost_regex * TagsCheck.py: remove useless constant DEFAULT_PACKAGER, as we now have default empty value for getOption * TagsCheck.py: do not hardcode mandrake forbidden word in url * Config.py: add default empty value for getOption * TagsCheck.py: do not hardcode mandriva email address in code 2006-04-01 Michael Scherer * TagsCheck.py: change requires-on-release from error to warning, close ticket #5 2006-04-01 Ville Skyttä * AbstractCheck.py, BinariesCheck.py, Config.py, ConfigCheck.py, DistributionCheck.py, DocFilesCheck.py, FHSCheck.py, FilesCheck.py, Filter.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, NamingPolicyCheck.py, Pkg.py, PostCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, ZipCheck.py, check-install.py, compile.py, rpmdiff, rpmlint, rpmlint.py: Add indentation settings for vi* and *Emacs, use -tt, untabify. 2006-03-31 Michael Scherer * DistributionCheck.py, README: - Do not use mandriva defaut value for DistributionCheck - Do not warn for invalid distribution and vendor if the option not set * FilesCheck.py, README: Remove unused CrossCompilation option, the code was commented since it was commited 2006-03-30 Michael Scherer * TagsCheck.py: add explanation for requires-on-release 2006-03-29 Ville Skyttä * Makefile: Drop removed rpmlint.spec from FILES. 2006-03-29 Michael Scherer * AbstractCheck.py: - raise not implemented when AbstractCheck.check is not implemented instead of silently passing * Makefile, rpmlint.spec: - remove spec and associated Makefile target\n- rename rename localdist to dist 2006-03-28 Michael Scherer * Config.py: - do not report shared-lib-without-dependency-information and library-not-linked-against-libc for glibc on x86_64, reported and patched by Dirk Mueller, close ticket #2 2006-03-27 Ville Skyttä * Makefile: Try to detect if a tag already exists. * Makefile: Set root:root ownership inside tarball. * Makefile: Drop superfluous dependency on changelog from tar. * Makefile: Comment out rpm target for now. * Makefile: Adapt (cvs)tag target for svn. * Makefile: Adapt export target to svn. 2006-03-24 Ville Skyttä * rpmlint.spec: Fix querying the specfile on setups without the %mkrel macro. * .cvsignore: No longer needed. 2006-03-24 Michael Scherer * authors.xml: add my new uid to authors.xml 2006-03-24 Ville Skyttä * README.CVS, README.devel: Update anon checkout instructions. 2006-03-23 Ville Skyttä * ., ChangeLog, Makefile, authors.xml: Generate ChangeLog with svn2cl, remove it from svn. * Makefile, rpmlint.1, rpmlint.spec: Add man page. * rpmlint.spec: Update project URL. * README: Update contact info. 2006-03-12 Ville Skyttä * BinariesCheck.py: Don't use -T to objdump for *.debug files. * BinariesCheck.py: Take lib64 archs into account in reference and usr_lib_exception regexps. 2006-03-08 Ville Skyttä * TagsCheck.py: Sync code and info messages for "*-too-long" checks. 2006-03-02 Ville Skyttä * FilesCheck.py: Treat *-config as "build config" files only if they are in .../bin/ 2006-03-02 Michael Scherer * I18NCheck.py: add Khmer language code ( thanks Dirk Mueller from suse for the patch ) 2006-02-17 Ville Skyttä * TagsCheck.py: Take Epoch always into account when checking -devel deps to main package. 2006-02-12 Ville Skyttä * SpecCheck.py: Improve (Build)PreReq messages and descriptions. * FilesCheck.py: Don't warn about shebang-less executable *.la in lib paths; libtool does them that way. * FilesCheck.py: Don't print an error if a script included in docs is not executable. * FilesCheck.py: Avoid using potentially stale "line" and "res" values in text file check. 2006-02-10 Guillaume Rousse * Makefile: install bash completion file * FilesCheck.py: let perl module keep shellbang for their own use 2006-02-06 Michael Scherer * ChangeLog: Generated by cvs2cl the 06_Feb * rpmlint.spec: - release 0.75-1mdk * Makefile: - Remove spurious spaces after setting the locales * Makefile: - force C locales in the shell subcommand, as it will otherwise includes lowercase filenames in the check for print statement in Makefile * ChangeLog: Generated by cvs2cl the 06_f�v * README: Add MetaPackageRegexp option in README 2006-02-06 Rafael Garcia-Suarez * FilesCheck.py: Fix english spelling in new warning 2006-02-06 Michael Scherer * ChangeLog: Generated by cvs2cl the 06_f�v * FilesCheck.py: Add file-in-meta-package check, to detect if a meta package contains files ( rgs request ) 2006-02-02 Rafael Garcia-Suarez * SpecCheck.py: Patch by Pascal Terjan to warn against the faulty Requires(pre,post) syntax in spec files. 2006-01-31 Rafael Garcia-Suarez * TagsCheck.py: Add Development/PHP to the list of default allowed rpm groups 2006-01-30 Michael Scherer * TagsCheck.py: - add the Mozart Licence ( bug #16416 ), thanks to guillaume rousse. 2006-01-15 Ville Skyttä * InitScriptCheck.py, README: Add option for warning services being on by default after chkconfig --add. * Pkg.py: Remove accidentally included debug outputs. * Config.py, FilesCheck.py, Pkg.py, README, SpecCheck.py, TagsCheck.py: Add optional UTF-8 checks for docs, specfiles and header field values. * FilesCheck.py: Recognize docs in /usr/X11R6 too. 2006-01-09 Michael Scherer * Pkg.py: Fix backtrace when there is a missing tag ( bug #20518 on mdv bugzilla ) 2005-12-20 Frédéric Lepied * I18NCheck.py: fixed typo making the nso and oc ISO codes not reported as valid (Dirk Mueller). 2005-12-14 Ville Skyttä * Config.py, DocFilesCheck.py: New check for dependencies caused by %doc files (Enrico Scholz). * BinariesCheck.py: Clean up failed objdump output. 2005-12-09 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 09_Dec 2005-12-09 Ville Skyttä * BinariesCheck.py: Skip some checks and output better warning message if objdump fails. * BinariesCheck.py, Pkg.py: Ensure English output for commands whose output is parsed. 2005-12-06 Michael Scherer * rpmlint.spec: - use mkrel macro 2005-11-27 Ville Skyttä * InitScriptCheck.py: Report incoherent subsys starting with "$" as a warning instead of an error. * AbstractCheck.py, BinariesCheck.py, Config.py, ConfigCheck.py, DistributionCheck.py, FHSCheck.py, FilesCheck.py, Filter.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, NamingPolicyCheck.py, Pkg.py, PostCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, check-install.py, compile.py, rpmdiff, rpmlint, rpmlint.py: Fix indentation, untabify, trim trailing whitespace. 2005-11-24 Ville Skyttä * ConfigCheck.py: Recognize app-defaults in /usr/share/X11/. 2005-11-22 Ville Skyttä * COPYING: Update FSF's address, copy current GPL from gnu.org as-is. * FilesCheck.py: Don't warn about dangling symlinks whose target is a file-based dependency. * InitScriptCheck.py: Don't blame the package if our shell expansion for subsys filename fails. * FilesCheck.py: Only non-empty perl *.bs files are unneeded (see DynaLoader.pm), and empty ones are already caught by the empty file check. * FilesCheck.py: Improve accuracy of doc, info, and games path regexps. * rpmlint.py: Improve error message when invoked on non-rpm files. * AUTHORS, README.CVS: Update URLs and addresses. * BinariesCheck.py, DistributionCheck.py, FHSCheck.py, FilesCheck.py, InitScriptCheck.py, MenuCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py: Improve and fix spelling of error descriptions. 2005-09-10 Frédéric Lepied * Makefile: add a check to avoid releasing with print statements. * Pkg.py: use stderr for error messages. * ChangeLog: Generated by cvs2cl the 11_Sep * FilesCheck.py: added noarch-python-in-64bit-path * MenuCheck.py: added menu-in-wrong-dir * rpmdiff: output details on dependencies 2005-08-17 Thierry Vignaud * Config.py: add filter rules for harddrake & drakxtools 2005-08-10 Frédéric Lepied * TagsCheck.py: check Mandrivalinux in bad words * ChangeLog: Generated by cvs2cl the 10_Aug * rpmlint.spec: real 0.71-1mdk * SpecCheck.py: added prereq-use 2005-08-10 Pablo Saratxaga * I18NCheck.py: added "ang" (anglo-saxon or old-english) to rpmlint * I18NCheck.py: added 'rw' 2005-08-10 Frédéric Lepied * rpmlint.spec: 0.71-1mdk * ChangeLog: Generated by cvs2cl the 10_Aug * Pkg.py: handle the new Requires(pre) and co syntax. fixed broken code that was extracting info from headers multiple times. * SpecCheck.py: allow to do a symlink to a configure file without having the configure-without-libdir-spec error. (reported by Hans de Goede) * I18NCheck.py: fixed uninitialized variable (reported by Dan Kegel). * Config.py: added exception for uucp (Bruno Cornec) * InitScriptCheck.py: make the "incoherent subsys" check work properly with trailing " or '. (Ville Skytta) * I18NCheck.py: typo (Ville Skytta) * FilesCheck.py: Brings the verbose message about non-config files in /etc up to date wrt. executables. (Ville Skytta) * ChangeLog: Generated by cvs2cl the 10_Aug 2005-07-06 Pablo Saratxaga * I18NCheck.py: new languages to be recognized as valid: 'se' (was wrongly assumed to be an error for 'sv'), 'yo', 'pa_IN' 2005-07-01 Frédéric Lepied * TagsCheck.py: added the CECILL licence (requested by S�bastion Savarin). 2005-06-21 Frédéric Lepied * Config.py: kernel-uml 2005-06-18 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 18_Jun * rpmlint.spec: 0.70-1mdk * ChangeLog: Generated by cvs2cl the 18_Jun * Pkg.py: use RPMSENSE_SCRIPT_PRE if available to detect prereq. 2005-06-17 Frédéric Lepied * FilesCheck.py: fix script detection (Guillaume Rousse, bug #15152). * TagsCheck.py: added LaTeX Project Public License (Guillaume Rousse, bug #15928). * PostCheck.py: adds userdel and groupdel to the list of "dangerous" commands. (Ville Skytt�) * BinariesCheck.py, Config.py, FilesCheck.py, README: mandriva * TagsCheck.py: check that the url doesn't contain anymore mandrake. * rpmlint.spec: fixed url * ChangeLog: Generated by cvs2cl the 17_Jun 2005-05-30 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 30_May 2005-05-23 Pixel * Config.py: whitelist ash statically-linked-binary /sbin/bsh 2005-04-15 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 15_Apr * rpmlint.spec: 0.69-1mdk * ChangeLog: Generated by cvs2cl the 15_Apr * Config.py, DistributionCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, NamingPolicyCheck.py, PostCheck.py, README, TagsCheck.py, check-install.py, rpmdiff, rpmlint.py, rpmlint.spec: Mandriva 2005-04-09 Guillaume Rousse * FilesCheck.py: /etc/cron.d is a configuration directory, not a script directory 2005-03-23 Guillaume Rousse * FilesCheck.py: intepreters can also live in /sbin or /usr/sbin 2005-03-19 Frédéric Lepied * PostCheck.py, README: add non-empty shell check (Ville Skytt�) 2005-03-14 Frédéric Lepied * Makefile: don't install compile.pyo (Ville Skytt�). 2005-03-10 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 10_Mar * rpmlint.spec: fix %prefix * ChangeLog: Generated by cvs2cl the 10_Mar * rpmlint.spec: 0.68-1mdk * ChangeLog: Generated by cvs2cl the 10_Mar 2005-03-04 Thierry Vignaud * Config.py: add exception for dmraid 2005-03-04 Pablo Saratxaga * I18NCheck.py: Added recognition of Quechua (qu) language 2005-02-23 Pablo Saratxaga * ChangeLog: converted to UTF-8 2005-02-16 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 16_Feb * FilesCheck.py: simplify site_perl regexp (Ville Skytt�). 2005-02-14 Rafael Garcia-Suarez * Pkg.py: Fix version checking when the epoch is not defined (Michael Scherer) 2005-02-11 Frédéric Lepied * rpmlint.spec: removed Prefix tag * ChangeLog: Generated by cvs2cl the 11_Feb * rpmlint.spec: 0.67-1mdk * ChangeLog: Generated by cvs2cl the 11_Feb * SpecCheck.py: added hardcoded-packager-tag, hardcoded-prefix-tag and redundant-prefix-tag checks (Guillaume Rousse, bug #12725). * Config.py: added wrong-script-interpreter, non-executable-script, script-without-shellbang, wrong-script-end-of-line-encoding and wrong-file-end-of-line-encoding for 10.2 policy. * FilesCheck.py: added wrong-script-interpreter, non-executable-script, script-without-shellbang, wrong-script-end-of-line-encoding and wrong-file-end-of-line-encoding. (Guillaume Rousse, bug #12725). * TagsCheck.py: added the 'Graphical desktop/Xfce' group (bug #13141). * rpmdiff: filter the provides on name-version-release for the package itself. 2005-02-08 Rafael Garcia-Suarez * Pkg.py: Make check_versioned_dep ignore epoch when comparing versions (patch by Michael Scherer) 2005-02-08 Thierry Vignaud * Config.py: do not complain about explicit dependancy on liblua5 (else b/c of buggy lua, lua users accepted either lua4 or lua5 thus resulting in linkinkg issues at runtime) * Config.py: update drakconf rule 2005-02-07 Frédéric Lepied * TagsCheck.py: added Design Sciences License (S�bastien Savarin) fixed Lucent Public License 2005-01-30 Frédéric Lepied * Config.py: add exceptions for dkms packages 2005-01-25 Gwenole Beauchesne * ChangeLog: Generated by cvs2cl the 25_Jan * rpmlint.spec: 0.66-1mdk * Config.py: exceptions for %multiarch policy * ChangeLog: Generated by cvs2cl the 25_Jan * ChangeLog: Generated by cvs2cl the 25_Jan 2005-01-24 Rafael Garcia-Suarez * FilesCheck.py: Add a new warning for perl modules installed under site_perl instead of vendor_perl * FilesCheck.py: Perl modules go under vendor_perl, not site_perl 2005-01-21 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 21_Jan * rpmlint.spec: oops put the right version * ChangeLog: Generated by cvs2cl the 21_Jan * rpmlint.spec: 0.65-1mdk * ChangeLog: Generated by cvs2cl the 21_Jan 2005-01-19 Pablo Saratxaga * I18NCheck.py: recognition of some more languages (bug #12216) 2005-01-14 Pablo Saratxaga * I18NCheck.py: Added language codes (nr, nso, tn, ts) of South Africa that have efforts on creating localizations for them (source: http://www.translate.org.za/ ) 2005-01-10 Frédéric Lepied * FilesCheck.py: don't report non-conffile-in-etc on executable. * ChangeLog: Generated by cvs2cl the 10_Jan 2005-01-05 Frédéric Lepied * Config.py: added dir-or-file-in-var-local to mdk10.2 policy * TagsCheck.py: - E:V-R should be consistent in package and changelog regardless if use_epoch is set or not (Ville Skytt�). - Spelling fixes (Ville Skytt�). * Makefile: - Include rpmlint.bash-completion in dist tarball. - Don't install compile.py. * I18NCheck.py: - "se" -> "sv" in I18NCheck (Ville Skytt�). * FilesCheck.py: - Flag installing files to /var/local as an error (Ville Skytt�). - Improved perl temp file regexp (Ville Skytt�). - Extended CVS internal file regexp to cover Subversion and GNU Arch (Ville Skytt�). * Config.py: added missing-menu-command to policy * MenuCheck.py: added missing-menu-command (Michael Scherer) 2004-12-30 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 30_Dec * FilesCheck.py: removed unused variables * rpmlint.spec: 0.64-1mdk * ChangeLog: Generated by cvs2cl the 30_Dec * rpmlint.py: fix double import * FilesCheck.py: Check that pkg-config files and config script are in devel packages (Guillaume Rousse, bug #12662). * FilesCheck.py: added htaccess-file check (Guillaume Rousse, bug #12661). * Config.py: first pass to update load_policy. * FilesCheck.py: added executable-marked-as-config-file check. * TagsCheck.py: added requires-on-release check * Makefile: clean the build 2004-12-19 Rafael Garcia-Suarez * TagsCheck.py: The Lucent Public Licence (Plan9) is opensource.org-approved. 2004-12-18 Guillaume Rousse * rpmlint.bash-completion: initial import * FilesCheck.py: typo 2004-12-06 Rafael Garcia-Suarez * SpecCheck.py: Clarify the use-of-RPM_SOURCE_DIR message explanation 2004-12-05 Frédéric Lepied * FilesCheck.py: lookup .cmi files as devel files too (Guillaume Rousse) [bug #12186]. * ChangeLog: Generated by cvs2cl the 05_Dec * rpmlint.spec: 0.63-1mdk * ChangeLog: Generated by cvs2cl the 05_Dec * FilesCheck.py: add /usr/lib/menu to STANDARD_DIRS (Michael) * ChangeLog: Generated by cvs2cl the 05_Dec * Config.py: added exceptions for kernel-source.* on devel-file-in-non-devel-package reports. * FilesCheck.py: added dir-or-file-in-usr-local (Michael Scherer). * BinariesCheck.py: allow soname in the form libfoo-X.Y.Z.so too (Guillaume Rousse) [bug #12522]. * NamingPolicyCheck.py: make exception to the python/perl/ruby/ocaml naming policy when the package contains executable (Guillaume Rousse) [bug #12521]. * I18NCheck.py: Don't tag .mo in webapps (Guillaume Rousse) [bug #12186] * TagsCheck.py: added summary-ended-with-dot (Guillaume Rousse) [bug #12520] 2004-12-04 Frédéric Lepied * Config.py: cleanup exceptions (Michael Scherer) * rpmlint.py: exit on C-c (Michael Scherer) * ChangeLog: Generated by cvs2cl the 05_Dec 2004-11-28 Guillaume Rousse * NamingPolicyCheck.py: ocaml naming policy 2004-11-23 Frédéric Lepied * PostCheck.py: doc for postin-without-ghost-file-creation (Pascal Terjan) 2004-09-22 Michael Scherer * Config.py: - some code factorisation - fix addCheck ( was not useable since it was a tuple instead of a list ) 2004-08-30 Rafael Garcia-Suarez * FilesCheck.py: Minor nit in the regexp that checks that perl module rpms should come without the source tarball MANIFEST. 2004-08-27 Frederic Crozat * ChangeLog: Generated by cvs2cl the 27_Aug * rpmlint.spec: Fix missing capitalization * MenuCheck.py: Fix missing capitalization 2004-08-25 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 25_Aug * rpmlint.spec: 0.61-1mdk * ChangeLog: Generated by cvs2cl the 25_Aug 2004-08-19 Pablo Saratxaga * I18NCheck.py: Added recognition of "pa" (Punjabi) language code 2004-08-17 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 17_Aug 2004-08-17 Frederic Crozat * MenuCheck.py: Fix menu capitalization 2004-08-03 Pablo Saratxaga * I18NCheck.py: added some more language codes 2004-08-03 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 03_Aug * rpmlint.spec: 0.60-1mdk * ChangeLog: Generated by cvs2cl the 03_Aug * TagsCheck.py: added obsolete-on-name 2004-07-29 Frédéric Lepied * Config.py: added exceptions for perl and dyalog on devel-file-in-non-devel-package 2004-07-27 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 27_Jul 2004-07-13 Rafael Garcia-Suarez * FilesCheck.py: Add a warning for MANIFEST* files in perl modules 2004-07-08 Frédéric Lepied * BinariesCheck.py: add ruby exceptions like perl and python. * ChangeLog: Generated by cvs2cl the 08_jui 2004-07-05 Michael Scherer * TagsCheck.py: - added useless-explicit-provides ( check if there is 2 times the same provides ) 2004-05-17 Michael Scherer * rpmlint.py: - fix -I, rpmlint didn't work f run without the option. 2004-05-07 Michael Scherer * rpmlint.py: added option -I, to print description of the error passed on commandline 2004-05-03 Pablo Saratxaga * I18NCheck.py: Added Furlan language code (fur) 2004-04-30 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 30_Apr * rpmlint.spec: 0.59-1mdk * ChangeLog: Generated by cvs2cl the 30_Apr 2004-04-30 Michael Scherer * TagsCheck.py: check if a package requires a interpreter in /usr/local/bin/ 2004-04-19 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 19_Apr * Config.py, DistributionCheck.py, InitScriptCheck.py, LSBCheck.py, NamingPolicyCheck.py, PostCheck.py, README, TagsCheck.py, check-install.py: Mandrakelinux (Robert Vojta) 2004-03-22 Pablo Saratxaga * I18NCheck.py: some more languages recognized 2004-03-19 Frédéric Lepied * InitScriptCheck.py: chack that the initscript is executable (Michael Scherer) 2004-03-12 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 12_Mar * rpmlint.spec: 0.58-1mdk * ChangeLog: Generated by cvs2cl the 12_Mar * TagsCheck.py: The Mandrake word is forbidden alone. 2004-03-09 Frédéric Lepied * FilesCheck.py: consolehelper is in usermode-consoleonly * MenuCheck.py: fixed missing comma 2004-03-01 Frédéric Lepied * TagsCheck.py: fixed missing comma (Michael Scherer) 2004-02-20 David Baudens * MenuCheck.py: Add mission "More applications/Other" section 2004-02-12 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 12_Feb * rpmlint.spec: 0.57.1-1mdk * PostCheck.py: removed buggy trigger code * ChangeLog: Generated by cvs2cl the 12_Feb * rpmlint.spec: 0.57-1mdk * ChangeLog: Generated by cvs2cl the 12_Feb * FilesCheck.py: no-dependancy-on => no-dependency-on fixed perl check (Michael Scherer) * Config.py: dependancy => dependency * TagsCheck.py: added Education as a valid group * PostCheck.py: makes postcheck not to whine about ghost files that are created by %triggerin scripts in addition to %pre and %post. (Ville Skytt�) Additionally, somewhat improved documentation on one-line-commands, using "should" instead of "must" since AFAICS %post -p cannot be used if needs parameters. (Ville Skytt�) 2004-02-11 David Baudens * MenuCheck.py: Add missing entries 2004-02-10 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 10_Feb * rpmlint.spec: 0.56-1mdk * ChangeLog: Generated by cvs2cl the 10_Feb 2004-02-10 Pablo Saratxaga * I18NCheck.py: changed uz@Latn locale 2004-02-10 Frédéric Lepied * MenuCheck.py: added missing ',' (Michael Scherer) 2004-02-09 Frédéric Lepied * NamingPolicyCheck.py: Better error message. Fixed bug when no files are present. (Michael Scherer) * rpmlint.py: more robust processing when scanning a directory (Michael Scherer) force to have / in directory names to allow to have directory with the same name as an installed package (Michael Scherer) 2004-01-28 Frédéric Lepied * MenuCheck.py: removed duplicated Physics entry 2004-01-27 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 27_Jan * rpmlint.spec: 0.55-1mdk * MenuCheck.py: final menu structure 2004-01-23 David Baudens * ChangeLog: Generated by cvs2cl the 23_Jan * ChangeLog, MenuCheck.py, rpmlint.spec: Replace old menu structure by new menu structure 2004-01-19 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 19_Jan * rpmlint.spec: 0.54-1mdk * ChangeLog: Generated by cvs2cl the 19_Jan * rpmlint.py: fixed main loop for argument testing on files and directories * Pkg.py: in __getitem__ return None instead of [] (change in rpm 4.2.2) 2004-01-15 Frédéric Lepied * rpmlint.py: updated directory support (Michael Scherer) 2004-01-14 Frédéric Lepied * rpmlint.py: Allow to pass a directory as an argument (Michael Scherer) 2004-01-13 Pablo Saratxaga * I18NCheck.py: Added new language codes 2003-12-31 Frédéric Lepied * PostCheck.py: allow the [[:space:]] construction (bug #6466) (Luca Berra) * Config.py: added exceptions for postfix (Luca Berra) * BinariesCheck.py: in only-non-binary-in-usr-lib don't report directories (Michael Scherer) 2003-12-26 Frédéric Lepied * FilesCheck.py: mispelled-macro check (Michael Scherer) 2003-12-22 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 22_Dec * rpmlint.spec: 0.53-1mdk * TagsCheck.py: added *@mandrake.org as a correct packager tag. * ChangeLog: Generated by cvs2cl the 22_Dec * ZipCheck.py: handle exception while reading zip file * FilesCheck.py: log-files-without-logrotate (Michael Scherer) * Config.py, README, ZipCheck.py: new check ZipCheck (Ville Skytt�) * SpecCheck.py: check lib packages only they start by lib (Pixel) * FilesCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, TagsCheck.py: spelling fixes (Ville Skytt�) * README: KernelModuleRPMsOK defaults to 1 * README, config: added KernelModuleRPMsOK * FilesCheck.py: non-standard-executable-perm was never run (Ville Skytt�) * FilesCheck.py: added checks for correct depmod calls in scriptlets (Eric Sandeen) 2003-12-11 Frédéric Lepied * Config.py: added exception for busybox 2003-11-20 Nicolas Planel * Config.py, rpmlint.spec: add policycoreutils exception 2003-11-19 Nicolas Planel * Config.py, rpmlint.spec: added statically-linked-binary exception for udev 2003-10-01 Frédéric Lepied * Config.py: added exceptions for kernel-source * InitScriptCheck.py: allow multiple spaces before chkconfig (Eric Sandeen) 2003-09-05 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 05_Sep * rpmlint.spec: 0.52-1mdk * ChangeLog: Generated by cvs2cl the 05_Sep * TagsCheck.py: added explicit-lib-dependency check * Config.py: added exceptions for explicit-lib-dependency and invalid-build-requires do not report errors on debug packages 2003-09-04 Frédéric Lepied * TagsCheck.py: added invalid-build-requires 2003-08-05 Frédéric Lepied * rpmlint.spec: don't depend on rpm-devel anymore * ChangeLog: Generated by cvs2cl the 05_Aug * rpmlint.spec: 0.51.1-1mdk * ChangeLog: Generated by cvs2cl the 05_Aug * TagsCheck.py: don't check devel-dependency on source package * rpmlint.py: 2003 * NamingPolicyCheck.py: corrected info reports 2003-08-05 Gwenole Beauchesne * SpecCheck.py: Add /usr/lib/hotplug to hardcoded-library-path exceptions 2003-08-04 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 04_Aug * rpmlint.spec: 0.51-1mdk * ChangeLog: Generated by cvs2cl the 04_Aug * TagsCheck.py: added devel-dependency check * Config.py: escape ++ in addFilter correct load_policy * Config.py: corrected load_policy * Config.py: added devel-dependancy wrong warnings * Config.py: added exceptios for ppp (Guillaume Rousse) 2003-07-30 Pablo Saratxaga * TagsCheck.py: fixed English typo 2003-07-22 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 22_Jul * SpecCheck.py: allow the following form for a patch instruction: %patch -P 1 (request from Stephan Kulow) * NamingPolicyCheck.py: first version from Michael Scherer * Pkg.py: in shell_var_value escape the var name to avoid a backtrace (Ville Skytt�) * Config.py: don't warn on -debug packages (Ville Skytt�) * InitScriptCheck.py: added init-script-name-with-dot check (Michael Scherer) 2003-06-30 Pablo Saratxaga * I18NCheck.py: Added 'mn' to list of languages 2003-06-29 Pablo Saratxaga * I18NCheck.py: Added some more languages 2003-05-09 Gwenole Beauchesne * ChangeLog: Generated by cvs2cl the 09_May * rpmlint.spec: 0.50-1mdk * ChangeLog: Generated by cvs2cl the 09_mai * SpecCheck.py: Make %ifarch-applied-patch a warning 2003-05-09 Frédéric Lepied * Makefile: install rpmdiff in /usr/bin * rpmdiff: load Pkg from /usr/share/rpmlint to be able to be installed anywhere 2003-05-08 Gwenole Beauchesne * SpecCheck.py: Hanle %ifnarch in ifarch_regex too. Aka. don't suddenly think about rpmlint prior to taking a bath. * ChangeLog: Generated by cvs2cl the 08_mai * SpecCheck.py: check for hardcoded-library-path exceptions only on the actual suspected hardcoded library path * SpecCheck.py: add %ifarch-applied-patch check * SpecCheck.py: Add hardcoded-library-path exceptions 2003-05-07 Pablo Saratxaga * I18NCheck.py: changed Serbian lang codes to match what is now used in Gnome and KDE 2003-05-05 Frédéric Lepied * TagsCheck.py: corrected epoch tests (Ville Skytt�) * FilesCheck.py: allow empty __init__.py (St�fane Fermigier) * TagsCheck.py: added Zope Public License * Config.py: added exceptions for hidden-file-or-dir check (Michael Scherer) * FilesCheck.py: added hidden-file-or-dir check (Michael Scherer) 2003-04-30 Frédéric Lepied * Config.py: added an exception for gconf schemas 2003-04-29 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 29_Apr * rpmlint.spec: 0.49-1mdk * ChangeLog: Generated by cvs2cl the 29_Apr * Config.py: added an exception for tpctl 2003-04-23 Frédéric Lepied * Pkg.py, SignatureCheck.py, rpmlint.py: rpm 4.2 support (Ville Skytt�) 2003-03-25 Frédéric Lepied * README: Spelling fixes, new options: UseEpoch, ValidSrcPerms (Ville Skytt�). * TagsCheck.py: Handle nosrc packages properly, add required Epoch functionality (Ville Skytt�). * SourceCheck.py: Made valid source permissions configurable (Ville Skytt�). * Pkg.py: Added isNoSource() 2003-02-19 Pablo Saratxaga * I18NCheck.py: Fixed Maori ('mi', was wrongly coded as 'ma'), Added various Indic languages that have Gnome/KDE translations, Added Xhosa (xh), changed Ganda code lug -> lg (we standardize on two letter codes) 2003-01-31 Frédéric Lepied * Pkg.py: added support for rpm 4.2 2003-01-17 Gwenole Beauchesne * ChangeLog: Generated by cvs2cl the 17_Jan * rpmlint.spec: 0.48-2mdk * ChangeLog: Generated by cvs2cl the 17_jan * FilesCheck.py: Errour out about outside-libdir-files only if it concerns a library package. This is heuristically determined on the package name as '^(lib|.+-libs)'. * BinariesCheck.py: Add lib64 paths 2003-01-16 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 17_Jan * rpmlint.spec: 0.48-1mdk * ChangeLog: Generated by cvs2cl the 16_Jan * rpmlint.py: added a way to load an alternative config file. * SpecCheck.py: added lib-package-without-%mklibname * FilesCheck.py: added outside-libdir-files 2003-01-09 Chmouel Boudjnah * Config.py: Add modutils rules. 2003-01-07 Chmouel Boudjnah * Config.py: fix pcmcia-cs regexp. 2002-12-19 Frédéric Lepied * Config.py: exception for wvdial 2002-12-06 Frédéric Lepied * SpecCheck.py: don't parse changelog section to find errors and correct source_dir_regex. 2002-11-19 Pablo Saratxaga * I18NCheck.py: Added 'en_US' as valid locale name 2002-11-07 Frédéric Lepied * Config.py: added exceptions for extipl, ocamltk and drakconf 2002-10-14 Pablo Saratxaga * I18NCheck.py: Added "lug" (Luganda) language as a valid code for translations 2002-08-21 Pablo Saratxaga * I18NCheck.py: Added recognition of some more language codes (Gnome includes some translations in those languages now) 2002-08-08 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 08_Aug * rpmlint.spec: 0.47-1mdk * ChangeLog: Generated by cvs2cl the 08_Aug * setuplist.py: split old and new users/groups. * PostCheck.py: check rpm-helper prereq. * MenuCheck.py: add default values from Config. * InitScriptCheck.py: allow to add/del service with rpm-helper scripts. * FilesCheck.py: use default values from Config. * Config.py: added handling of default values. * BinariesCheck.py: added /usr/lib/bonobo to no binary in /usr/lib exceptions 2002-07-23 Gwenole Beauchesne * FilesCheck.py: Add lib64 directories * FHSCheck.py: Add lib64 as standard subdir in /usr (that's the /lib part of FHS) 2002-07-12 Frédéric Lepied * setuplist.py: Sync with version 2.2.0-28mdk of setup package 2002-07-11 Frédéric Lepied * PostCheck.py: added perl to dangerous command check trigger scripts too * BinariesCheck.py: corrected wrong loop for /usr/lib check 2002-06-19 Pablo Saratxaga * ChangeLog, I18NCheck.py: Added 'zh_HK' recognition 2002-06-14 Frédéric Lepied * PostCheck.py: corrected prereq test 2002-06-07 Gwenole Beauchesne * ChangeLog: Generated by cvs2cl the 07_jun * SpecCheck.py: Also check for %{?_prefix}?/lib references 2002-06-04 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 04_Jun * Makefile: remove cvs commit from cvstag target * ChangeLog: Generated by cvs2cl the 04_Jun * rpmlint.spec: 0.46-1mdk * ChangeLog: Generated by cvs2cl the 04_Jun * Config.py: added exceptions for no-binary * README: added UsrLibBinaryException * BinariesCheck.py: added UsrLibBinaryException option and exception no-binary for multiple packages. * Pkg.py: make all extracted files accessible. * BinariesCheck.py: added no-binary and only-non-binary-in-usr-lib 2002-06-03 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 03_Jun * rpmlint.spec: 0.45-1mdk * Config.py: added new check from Gwenole in mdk9.0 policy * ChangeLog: Generated by cvs2cl the 03_Jun 2002-06-01 Gwenole Beauchesne * SpecCheck.py: - Add configure-without-libdir-spec check - Fix typos in previous hardcoded-library-path description * Config.py: Revert last change * Config.py: Add hardcoded-library-path to mdk9.0 policy * SpecCheck.py: Add hardcoded-library-path check 2002-05-29 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 29_May * rpmlint.spec: 0.44-1mdk * ChangeLog: Generated by cvs2cl the 29_May * Config.py: added non-root-user-log-file|non-root-group-log-file|non-ghost-file for mdk9.0 policy. * FilesCheck.py: added non-ghost-file check 2002-05-14 Frédéric Lepied * Makefile: added AUTHORS * AUTHORS: first version 2002-05-02 Frédéric Lepied * FilesCheck.py: added non-root-user-log-file and non-root-group-log-file. 2002-05-01 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 01_May * TagsCheck.py: remove debug trace * rpmlint.spec: 0.43-1mdk * ChangeLog: Generated by cvs2cl the 01_May * Config.py: added no-prereq-on for mdk9.0 policy * TagsCheck.py: change non-coherent-filename to check all the filename * PostCheck.py: added no-prereq-on 2002-04-24 Frédéric Lepied * BinariesCheck.py: corrected bad report on libgimp1.2_1 * INSTALL: described policy * Config.py: added load_policy * Makefile: retrieve the version and release in a more generic way. put the version and policy at install time. * TagsCheck.py: check that the architecture is coherent with the file name. * rpmlint.py: added a --policy option. the version is set at install time. * Pkg.py: create a fake filename to satisfy some checks on the filename for InstalledPkg objects. 2002-04-17 Frédéric Lepied * Config.py: build one regex from all the exceptions added exception for avifile-samples 2002-03-08 Frédéric Lepied * rpmlint.spec: 0.42-2mdk * Makefile: install rpmdiff in LIBDIR 2002-03-04 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 04_Mar * Makefile: added rpmdiff * rpmlint.py, rpmlint.spec: 0.42 * ChangeLog: Generated by cvs2cl the 03_Mar * README: added PerlVersionTrick * BinariesCheck.py: handle new file attributes * FilesCheck.py: allow perl and python dependencies to be on perl-base and python-base. manage Mandrake perl versionning. * Pkg.py: added md5, mtime and rdev to file attributes 2002-02-26 Pablo Saratxaga * I18NCheck.py: Added 'mt' to recognized locales 2002-02-23 Frédéric Lepied * rpmdiff: first version 2002-02-20 Frédéric Lepied * Config.py: added exceptions for shorewall and DansGuardian 2002-02-13 Frédéric Lepied * PostCheck.py: add descriptions for spurious-bracket-in-. 2002-02-11 Frédéric Lepied * Config.py: added exception for logrotate entry for hylafax. 2002-02-10 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 09_Feb * setuplist.py: Sync with version 2.2.0-23mdk of setup package * rpmlint.py, rpmlint.spec: 0.41 * Makefile: pychecker.sh => pychecker 2002-02-07 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 07_Feb * Pkg.py: added check_versioned_dep * FilesCheck.py: check dependency on the right version of the interpreter for python and perl modules. * Config.py: exceptions for perl, python and nut. 2002-02-01 Frédéric Lepied * Config.py: added exception for fetchmail 2002-01-29 Frédéric Lepied * TagsCheck.py: added W3C Licence * Config.py: add exception for no-%clean-section' 2002-01-25 Frédéric Lepied * SpecCheck.py: report missing %clean section. 2002-01-14 Frédéric Lepied * setuplist.py: Sync with version 2.2.0-18mdk of setup package 2002-01-10 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 10_Jan * rpmlint.py, rpmlint.spec: 0.40-1mdk * ChangeLog: Generated by cvs2cl the 10_Jan * Config.py, MenuCheck.py, README: icons for menu are now png * TagsCheck.py: added libsafe.so as an invalid Requires. * Makefile: compile.py takes an extra argument now. 2002-01-07 Chmouel Boudjnah * setuplist.py: Sync with version 2.2.0-18mdk of setup package * Config.py: Add exceptions for wine 2002-01-03 Frédéric Lepied * compile.py: pass the destination directory to avoid change when the byte compilation is checked. 2001-12-11 Frédéric Lepied * Config.py: added exception for kdebase. 2001-12-04 Chmouel Boudjnah * setuplist.py: Sync with version 2.2.0-16mdk of setup package 2001-11-30 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 30_Nov * rpmlint.spec: 0.39-2mdk * ChangeLog: Generated by cvs2cl the 30_Nov * BinariesCheck.py: search references to home or tmp in /usr/lib/pkgconfig/ files. * FilesCheck.py: .nosearch files are allowed to have a zero length. * Config.py: added an exception for use-of-RPM_SOURCE_DIR in the kernel package. 2001-11-28 Frédéric Lepied * Config.py: exceptions for ;getty 2001-11-27 Frédéric Lepied * TagsCheck.py: group "Development/KDE and QT" renamed "Development/KDE and Qt" 2001-11-27 Chmouel Boudjnah * Config.py: Add some exceptions for zero-lenght files in setup packages. * setuplist.py: Sync with version of setup package * Config.py: mandrake_consmap doen't have a status and reload entry which is normal. 2001-11-26 Frédéric Lepied * Config.py: exception for libsane 2001-11-25 Frédéric Lepied * Config.py: added exceptions for zapping. * ChangeLog: Generated by cvs2cl the 25_nov * rpmlint.py, rpmlint.spec: 0.39-1mdk * ChangeLog: Generated by cvs2cl the 25_nov * LSBCheck.py, PostCheck.py, check-install.py: Linux-Mandrake => Mandrake Linux * TagsCheck.py: corrected regexp to check devel provides. * InitScriptCheck.py: added incoherent-init-script-name check. expand shell variable in incoherent-subsys check. * Pkg.py: added substitute_shell_vars and shell_var_value functions. 2001-11-23 Frédéric Lepied * FilesCheck.py: use list imported from the setup package for users and groups (from setuplist.py). * README: added InvalidRequires to the list of options. * TagsCheck.py: added the new check invalid-dependency. 2001-11-22 Frédéric Lepied * setuplist.py: setup 2.2.0-13mdk 2001-11-21 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 21_Nov * PostCheck.py: Don't print error about percent if post-script has a %%. 2001-11-19 Frédéric Lepied * SpecCheck.py: check also %_sourcedir. 2001-11-16 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 16_Nov 2001-11-14 Frédéric Lepied * AbstractCheck.py, BinariesCheck.py, ConfigCheck.py, DistributionCheck.py, FHSCheck.py, FilesCheck.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, MenuCheck.py, Pkg.py, PostCheck.py, README, SignatureCheck.py, SourceCheck.py, SpecCheck.py, TagsCheck.py, check-install.py, rpmlint.py: corrected warnings reported by pychecker * Makefile: added a verify target to use pychecker. * SpecCheck.py: Check that the BuildRoot tag doesn't contain a hardcoded path 2001-11-13 Frédéric Lepied * BinariesCheck.py: check if .la files contain tmp or home references. 2001-11-13 Chmouel Boudjnah * Config.py: Fix regexp with emacs.*el * Config.py: Don't do dependences on locale-el on all emacs and xemacs el package. 2001-11-09 Frédéric Lepied * Config.py: added exceptions for iptable and old menu files. * PostCheck.py: check that RPM_BUILD_ROOT or RPM_BUILD_DIR isn't used 2001-10-30 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 30_Oct * rpmlint.py, rpmlint.spec: 0.38-1mdk * ChangeLog: Generated by cvs2cl the 30_Oct * Config.py: added incoherent-version-in-name exceptions. 2001-10-29 Frédéric Lepied * README, TagsCheck.py: added mandrake.org as a valid build host. * BinariesCheck.py: check that major version is present in package name. 2001-10-27 Frédéric Lepied * FilesCheck.py: check that regular files haven't a zero size. * Pkg.py: add the size to the record about a file 2001-10-25 Frédéric Lepied * Config.py: exceptions for Mesa libification * I18NCheck.py: only check binary packages 2001-10-24 Frédéric Lepied * SpecCheck.py: don't allow space before tag name 2001-10-23 Frédéric Lepied * TagsCheck.py: added mandrakeexpert url as a valid Packager field. 2001-10-19 Frédéric Lepied * TagsCheck.py: allow space after the release in a changelog entry. 2001-10-18 Frédéric Lepied * TagsCheck.py: updated list from opensource.org and added non opensource ones. 2001-10-17 Frédéric Lepied * TagsCheck.py: report a warning if no url tag is defined. * Config.py: exception for fetchmail-daemon. 2001-10-17 Pixel * Config.py: - add ocaml-lablgtk and camlp4 in devel packages - fix the setuid filter for /usr/bin/sperl5.6.1 2001-10-16 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 16_Oct * README: added descriptions for ForbiddenWords and ValidBuildHost. * SourceCheck.py: correct boolean expression for strange-permission * ChangeLog: Generated by cvs2cl the 16_Oct * rpmlint.py, rpmlint.spec: 0.37-1mdk * ChangeLog: Generated by cvs2cl the 16_Oct * SourceCheck.py: allow 0755 as a valid mode for source. * Config.py: various exceptions * ChangeLog: Generated by cvs2cl the 16_Oct * TagsCheck.py: added invalid-word check in description and summary. added invalid-buildhost check. * FilesCheck.py: added .cvsignore to the list of cvs-internal-file. * BinariesCheck.py: check for new style of pic sections. 2001-10-11 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 11_Oct 2001-10-10 Chmouel Boudjnah * FilesCheck.py: Check if kernel modules are in the kernel package. 2001-10-10 Frédéric Lepied * PostCheck.py: track command with full path too. 2001-10-09 Frédéric Lepied * Config.py: exceptions for hylafax * Config.py: exceptions for mkinitrd automake gettext chromium webmin methane apache-suexec 2001-10-05 Frédéric Lepied * FilesCheck.py: added squid group and user. * BinariesCheck.py: Warn for man pages without version in library packages. 2001-10-02 Chmouel Boudjnah * DistributionCheck.py: More explicit path regexp check for info files. 2001-09-29 Chmouel Boudjnah * Config.py: execptions for shadow-utils package. 2001-09-28 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 28_Sep * rpmlint.spec: 0.36-1mdk * ChangeLog: Generated by cvs2cl the 28_Sep * MenuCheck.py: check if a menu file is executable. * PostCheck.py: check if /tmp or /var/tmp is used. check if update-menus is called without a menu file. * Config.py: don't make exception if no_exception is set. * rpmlint.py: added -n/--noexception option to display all the errors/warnings without exceptions from Config. * TagsCheck.py: added the https address as a valid one. 2001-09-28 Chmouel Boudjnah * Config.py: ipsec.secrets is normal to be not readable. * Config.py: mandrake_consmap like mandrake_(fistime|everytime) * Config.py: Add exeptions for traceoute6 and ping6 setuid. * Config.py: Add nfs-utils execptions. 2001-09-14 Frédéric Lepied * PostCheck.py: ghost-files-without-postun => ghost-files-without-postin 2001-09-13 Frédéric Lepied * Config.py: added exceptions for portsentry. 2001-09-04 Frédéric Lepied * FilesCheck.py: added /etc/logrotate.d entry check. 2001-08-24 Chmouel Boudjnah * Config.py: Add execpt for initscripts. 2001-08-23 Chmouel Boudjnah * Config.py: iputils setuid ping6/tracroute6, safe as they drop it VERY early. 2001-08-21 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 21_Aug * rpmlint.spec: 0.35-1mdk * rpmlint.py: 0.35 * ChangeLog: Generated by cvs2cl the 21_Aug * BinariesCheck.py: Make libraries not linked against libc errors and not warnings. (Bill Nottingham) libc doesn't need to be linked against libc, and the dynamic linker doesn't need dependeny information. (Bill Nottingham) Fix some of the library checks to be more correct. (Bill Nottingham) * TagsCheck.py: added a check on obsoleted packages not provided. * Pkg.py: factorize code for obsoletes/provides/requires/prereq. 2001-08-20 Frédéric Lepied * FilesCheck.py: check non readable files. * PostCheck.py: check ~/ instead of ~ to allow awk scripts not to give false reports. * MenuCheck.py: added a check for / in menu titles. 2001-08-13 Chmouel Boudjnah * FilesCheck.py: Add wine groups. 2001-08-11 Pablo Saratxaga * I18NCheck.py: Added 'bs' as a valid language code name 2001-08-04 Chmouel Boudjnah * Config.py: Add a filter for reiserfsprogs dangling-relative-symlink /sbin/fsck.reiserfs ../bin/true 2001-07-18 Frederic Crozat * MenuCheck.py: Add missing menu entries 2001-07-15 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 15_Jul * Config.py: added exceptions for egcs. * rpmlint.spec: 0.34-1mdk * rpmlint.py: added -a option to check all the installed packages. bumped the version to 0.34. * TagsCheck.py: added missing descriptions. corrected the -devel warning to handle the libbzip2_1-devel case. * BinariesCheck.py, DistributionCheck.py, FilesCheck.py, InitScriptCheck.py, MenuCheck.py, SignatureCheck.py, SourceCheck.py, SpecCheck.py: added missing descriptions. * Pkg.py: authorize to pass an rpm header to the InstalledPkg constructor. * Filter.py: don't print the description if the error/warning is filtered. 2001-07-11 Frederic Crozat * Config.py: userhelper (from usermode) is authorized to be setuid 2001-07-06 Pablo Saratxaga * I18NCheck.py: added two more language codes 2001-07-06 Christian Belisle * rpmlint.spec: 0.33-2mdk * ChangeLog: Generated by cvs2cl the 06_Jul * rpmlint.spec: Version 0.33-2mdk, Added descriptions * ChangeLog: Generated by cvs2cl the 06_Jul * TagsCheck.py: Added descriptions 2001-07-05 Christian Belisle * TagsCheck.py: Added descriptions. * TagsCheck.py: Added entries for descriptions. * SpecCheck.py: Added descriptions. 2001-07-04 Pablo Saratxaga * ChangeLog, I18NCheck.py: updated I18NCheck.py file 2001-07-04 Frédéric Lepied * I18NCheck.py: added nn as a valid subdir of /usr/share/local. 2001-07-03 Christian Belisle * SpecCheck.py: Added entries for the descriptions * MenuCheck.py: Added entries to put descriptions. * SourceCheck.py: Added descriptions. * SignatureCheck.py: Added a description. * LSBCheck.py: Added descriptions 2001-07-02 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 02_Jul * rpmlint.spec: 0.33-1mdk * rpmlint.py: 0.33 * ChangeLog: Generated by cvs2cl the 02_Jul * Config.py: added library policy exceptions * BinariesCheck.py: removed debug trace 2001-06-27 Christian Belisle * InitScriptCheck.py: Added descriptions. * FilesCheck.py: Added descriptions. 2001-06-26 Christian Belisle * ConfigCheck.py, DistributionCheck.py, FHSCheck.py: Added descriptions. 2001-06-25 Frédéric Lepied * BinariesCheck.py: new check for files which can cause upgrade problems in the library packages. * TagsCheck.py: try to check alpha/beta/pre version use. 2001-06-20 Frédéric Lepied * Filter.py: print description only if they aren't empty. * TagsCheck.py: added a check for invalid version. * SpecCheck.py: added a check for obsolete tags. * PostCheck.py: described one-line-command-in warnings. 2001-06-19 Frédéric Lepied * FilesCheck.py: added named user and group to the exception list. 2001-06-19 Christian Belisle * FHSCheck.py, I18NCheck.py, InitScriptCheck.py, LSBCheck.py, rpmlint.spec: Added few descriptions * ChangeLog: Generated by cvs2cl the 19_Jun * DistributionCheck.py: Added few descriptions 2001-06-18 Christian Belisle * DistributionCheck.py: Added few descriptions * ConfigCheck.py: Added few descriptions * FilesCheck.py: Added few descriptions 2001-06-15 Chmouel Boudjnah * Config.py: Add more filesystem exclude. 2001-06-14 Chmouel Boudjnah * Config.py: /var/run/usb as 700 is normal. 2001-06-13 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 13_Jun * rpmlint.spec: 0.32-1mdk * README: changed Linux-Mandrake => Mandrake Linux as default Distribution tag. * ChangeLog: Generated by cvs2cl the 13_Jun * rpmlint.py: corrected copyright statement * DistributionCheck.py: changed Linux-Mandrake => Mandrake Linux as default Distribution tag. * MenuCheck.py: added new Office sub menus. 2001-06-12 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 12_Jun * FilesCheck.py: Add /etc/profile.d/. 2001-06-06 Frédéric Lepied * rpmlint.py: If the file given on the command line doesn't exist, try to use the name as an installed package to check. * TagsCheck.py: add error desccriptions only when -i is given on the command line. * FilesCheck.py: added /usr/X11R6/man subdirs to the list of STANDARD_DIRS. warn for .so file only if they are in a lib dir. warn for source files in a non devel package only if they are not a doc file. * BinariesCheck.py: corrected soname regexp. document errors. * SignatureCheck.py: use checkSignature from the Pkg class to avoid calling rpm directly to support the installed packages. * Pkg.py: created InstalledPkg class to access already installed packages. 2001-05-25 Frédéric Lepied * TagsCheck.py: added an example of details use. * rpmlint.py: added -i/--info command line option to print details of warings/errors. * Filter.py: added functions to print/store details of warnings/errors. * Config.py: added info global variable. 2001-05-22 Frédéric Lepied * TagsCheck.py: corrected description-line-too-long check. 2001-05-20 Frédéric Lepied * FilesCheck.py: add the rpm user and group per request of Jeff Johnson for the future version of rpm. 2001-05-18 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 18_May * rpmlint.py, rpmlint.spec: 0.31 * Makefile: added rules to build test and release rpms. * Config.py: exceptions for XFree86 * Config.py: added various exceptions * ChangeLog: Generated by cvs2cl the 18_May * PostCheck.py: check that a script isn't a oneliner. * PostCheck.py: check postin and prein instead of postun and preun for ghost files creation. * MenuCheck.py: don't check NO_XALF in menu command * check-install.py: factorized checks * ChangeLog: Generated by cvs2cl the 18_May 2001-04-01 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 01_Apr * FilesCheck.py: Add rpcuser 2001-03-15 Chmouel Boudjnah * Config.py: Expections for ldconfig. * Config.py: Some more exeptions for initscripts. * Config.py: Add some Execptions for initscripts. 2001-02-28 Frédéric Lepied * TagsCheck.py: check length of summary and description lines 2001-02-21 Chmouel Boudjnah * Config.py: netkit-base and iputils is the same for Filter. 2001-02-16 Frédéric Lepied * rpmlint.spec: 0.30-1mdk * ChangeLog: Generated by cvs2cl the 16_Feb * rpmlint.py: 0.30 * Config.py: exception for autoconf and libclanlib0-gl. * InitScriptCheck.py: check if runlevels are set * LSBCheck.py: also check source packages. * MenuCheck.py: added support to check launchers. * Pkg.py: added req_names to retrieve the list of packages names (requires+prereq). * TagsCheck.py: changed Window Maker to WindowMaker 2001-02-13 Frédéric Lepied * I18NCheck.py: check subdirs of /sur/share/man. 2001-02-02 Frédéric Lepied * PostCheck.py: check that the postun creates the ghost files * PostCheck.py: added install to dangerous commands * LSBCheck.py: first version 2001-01-23 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 23_Jan * TagsCheck.py: Add https as valid url. 2000-12-13 Frédéric Lepied * TagsCheck.py: used list of licenses from www.opensource.org/licenses 2000-12-07 Frédéric Lepied * TagsCheck.py: check the full license before splitting in it multiple parts. * rpmlint.py, rpmlint.spec: 0.29 2000-12-07 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 07_Dec * PostCheck.py: Add /sbin/sash as VALID_SHELLS. 2000-12-06 Frédéric Lepied * Config.py: added exceptions for dev. * FilesCheck.py: check dangling-symlink in the file index too to avoid missing special files that aren't created when extracted as a user. * FilesCheck.py: removed trace. * Config.py: cleaned header. * README: added description of DanglingSymlinkExceptions. * FilesCheck.py: added a generic way to avoid dangling-symlink warnings. * TagsCheck.py: for devel packages, check dependency on lib package only when a .so file is present. 2000-11-29 Chmouel Boudjnah * Config.py: addFilter W: dev86-devel no-provides dev8-devel on this warning. * Config.py: add some execptions for pam (0750 dir for /etc/default is normal as weel to have gpasswd and chage as suid). * Config.py: the dangling symlink in dev are not dangled they are relatives !!! * Config.py: Don't check info-file-with-install-info for bash since it's by default in the dir file. 2000-11-24 Frédéric Lepied * rpmlint.spec: 0.28-1mdk * ChangeLog: Generated by cvs2cl the 24_Nov * rpmlint.py: 0.28 * TagsCheck.py: check -devel package naming scheme only on binary packages. * SourceCheck.py: only check compression on tar or diff files. * Config.py: various exceptions added. * TagsCheck.py: report a warning if a -devel package comes with no major in its name. added python licence and public domain. check syntax of url tag. * BinariesCheck.py: report the file location on objdump errors. new error: executable in library package. 2000-11-23 Frédéric Lepied * I18NCheck.py: fuzzy check on packages without dependency on locales * FilesCheck.py: check if a package provides sources. * PostCheck.py: force a separator before dangerous command. 2000-11-13 Frédéric Lepied * rpmlint.spec: 0.27-1mdk * ChangeLog: Generated by cvs2cl the 13_Nov * rpmlint.py: 0.27 * FilesCheck.py: don't warn if a games is setgid games. * README: RpmGamesGroup added to the list of available options. * Config.py: added axception for xman. * BinariesCheck.py: check ldconfig symlinks. 2000-11-11 Frédéric Lepied * TagsCheck.py: don't check no-version-in-changelog for source rpm. 2000-11-10 Frédéric Lepied * rpmlint.spec: 0.26 * ChangeLog: Generated by cvs2cl the 10_Nov * rpmlint.py: 0.26 * Config.py: added various exceptions. * TagsCheck.py: allow multiple licenses. don't report anymore the package-provides-itself warning because it's the default in rpm 4. try to not report incoherent-version-in-changelog for sub-packages. * MenuCheck.py: correct the non-transparent-xpm check. * FilesCheck.py: don't report buggy length-symlink anymore. 2000-10-25 Frédéric Lepied * TagsCheck.py: don't check if package provides itself because rpm 4.0 always does it. 2000-10-17 Chmouel Boudjnah * Config.py: Fix exception for glibc. 2000-10-16 Frédéric Lepied * check-install.py: first version. * Pkg.py: added the possibility to create a Pkg object directly from an rpm header. 2000-10-12 Frédéric Lepied * rpmlint.spec: corrected changelog * rpmlint.spec: corrected changelog * rpmlint.spec: 0.25-1mdk * ChangeLog: Generated by cvs2cl the 12_Oct * rpmlint.py: 0.25 * Config.py: added exception for sympa, rpm and bcast. * TagsCheck.py: check that devel package depends on the base package with the same version. check that summary begins with a capital letter. * PostCheck.py: check dangerous commands. check reference to ~ or $HOME. * SourceCheck.py: cleanup. * MenuCheck.py: check that titles and longtitles begin by a capital letter. check that no version is included in title and longtitle. * FilesCheck.py: check package owning system dirs. 2000-10-11 Frédéric Lepied * SpecCheck.py: check name of spec file. * README: added description of SpecCheck. * Config.py: added SpecCheck to DEFAULT_CHECKS. * SpecCheck.py: check use of $RPM_SOURCE_DIR. * SpecCheck.py: first version 2000-10-10 Chmouel Boudjnah * MenuCheck.py: /lib/cpp errors to /dev/null for new cpp. 2000-10-02 Frédéric Lepied * rpmlint.py, rpmlint.spec: 0.24 * ChangeLog: Generated by cvs2cl the 02_Oct * FilesCheck.py: added apache and postgres to standard groups. * TagsCheck.py: spell check a la Debian. 2000-09-29 Frédéric Lepied * rpmlint.py, rpmlint.spec: 0.23 * ChangeLog: Generated by cvs2cl the 29_Sep * MenuCheck.py: added Applications/Accessibility. check that menu file are readable by everyone. * Config.py: * removed exception for /home. * added exceptions for vixie-cron. 2000-09-25 Frédéric Lepied * FilesCheck.py: check cvs internal files. 2000-09-12 Frédéric Lepied * rpmlint.spec: 0.22 * ChangeLog: Generated by cvs2cl the 12_Sep * rpmlint.py: 0.22 * PostCheck.py: print a warning on empty script. * FilesCheck.py: added postgres and apache to default users. * Config.py: added libwmf and doxygen as dev packages. info/dir exception for info-install package. * README, TagsCheck.py: added bugs@linux-mandrake.com as a valid packager address. 2000-09-06 Pixel * ChangeLog: *** empty log message *** * I18NCheck.py: check *.mo for file-not-in-%lang, not only in /usr/share/locale 2000-09-05 Frédéric Lepied * MenuCheck.py, TagsCheck.py: replaced Networking/ICQ group with Networking/Instant messaging. 2000-08-31 Frédéric Lepied * rpmlint.spec: 0.21 * ChangeLog: Generated by cvs2cl the 31_Aug * rpmlint.py: 0.21 * TagsCheck.py: check packager field compliance to a regexp. * README: added description of the Packager option. * Config.py: added exception for libwmf. * ChangeLog: Generated by cvs2cl the 31_Aug * README: removed XpmIconPath. * Config.py: imported default exceptions. * config: move standard exceptions to Config.py. * TagsCheck.py: added Apache License, PHP Licence and BSD-Style. * MenuCheck.py: check hardcoded path in icon field and large, mini, normal icon files. 2000-08-28 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 28_Aug * PostCheck.py: Fix typo in check of /usr/bin/perl. * ChangeLog: Generated by cvs2cl the 28_Aug * PostCheck.py: Check perl script like we do for bash script. 2000-08-28 Pablo Saratxaga * I18NCheck.py: updated locales list 2000-08-26 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 26_Aug * FilesCheck.py: Only check perl_temp_file in a /perl/ directory. 2000-08-25 Frédéric Lepied * rpmlint.py, rpmlint.spec: 0.20 * ChangeLog: Generated by cvs2cl the 25_Aug * Config.py: added InitScriptCheck. * InitScriptCheck.py: first version. * config: added exceptions for InitScriptCheck. * README: added InitScriptCheck description. * PostCheck.py: check where a script is present that the shell is valid. * FilesCheck.py: moved /etc/rc.d/init.d checks to InitScriptCheck. * ConfigCheck.py: report warnings for app-defaults only in /usr/X11R6/lib/X11/app-defaults. * BinariesCheck.py: report the rpath warning if directory isn't a sub-directory of /usr/lib/. 2000-08-18 Frédéric Lepied * Config.py: I18NCheck is back. * ChangeLog, rpmlint.spec: 0.19 * rpmlint.py: 0.19 * README: added SystemLibPaths mention. * BinariesCheck.py: check rpath only on system lib paths (ie /lib, /usr/lib and /usr/X11R6/lib). This can be configured with the SystemLibPaths option. * Pkg.py: added fileLang to retrieve the lang associated to a file. 2000-08-17 Frédéric Lepied * I18NCheck.py: warn if .mo is not registered in %lang. * MenuCheck.py: protected kdesu check. * FilesCheck.py: check perl temporary files. 2000-08-16 Frédéric Lepied * README, rpmlint.py: added ExtractDir option usable in the config file. * PostCheck.py: check ] in if statement. report warning for a percent. 2000-08-10 Frédéric Lepied * ChangeLog: Generated by cvs2cl the 10_Aug * rpmlint.spec: 0.18-1mdk * TagsCheck.py: check for valid licence. * README: added ValidLicenses. * rpmlint.py: 0.18 * ChangeLog: Generated by cvs2cl the 10_Aug * ConfigCheck.py: check files without no-replace flag. * Pkg.py: added noreplaceFiles() * MenuCheck.py: allow depency on kdesu to point directly to /usr/bin/kdesu. 2000-08-08 Frédéric Lepied * FHSCheck.py: allow ftp and www in var (from upcoming FHS 2.2). * rpmlint.py: 0.17 * ChangeLog: Generated by cvs2cl the 08_Aug * rpmlint.spec: 0.17-1mdk * FilesCheck.py: corrected check for install_info to avoid backtrace on empty postun or preun. * rpmlint.spec: * 0.17 2000-08-07 Frédéric Lepied * ScriptCheck.py: * replaced by PostCheck.py 2000-08-03 Chmouel Boudjnah * config: Add few filters for util-linux 2000-08-01 Chmouel Boudjnah * config: Correct pam setuid-binary execptions. * config: mount and umount are suid binary. 2000-07-31 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 31_Jul 2000-07-31 Frédéric Lepied * Config.py: * (DEFAULT_CHECKS): removed ScriptCheck. * PostCheck.py: * merged ScriptCheck.py and corrected shell script check. * FilesCheck.py: * allow install-info call in preun. * check chkconfig calls for package that comes with an /etc/rc.d/init.d/script. 2000-07-29 Chmouel Boudjnah * ChangeLog: Generated by cvs2cl the 29_Jul * MenuCheck.py: If we use kdesu check in it present in Requires: Prereq: * MenuCheck.py: Fix again kdesu (i hate python indentation :-() * MenuCheck.py: Get kdesu check to work :-\ * ChangeLog: Generated by cvs2cl the 29_Jul * Makefile: Add a changelog rules to be used with cvs2cl. * Config.py, ScriptCheck.py: check syntax of (post|pre)(un)?install script, currently only bash is supported. 2000-07-28 Chmouel Boudjnah * FilesCheck.py: install-info can't be RPMTAG_POSTUNPROG or RPMTAG_POSTPROG 2000-07-27 Chmouel Boudjnah * config: Add e2fsprogs changes. 2000-07-25 Pixel * ChangeLog: no_comment * config: add exception for some devel packages, updated the filter for setuid perl's 2000-07-21 Chmouel Boudjnah * config: Add some glibc exceptions. 2000-07-20 Chmouel Boudjnah * FilesCheck.py: if there is info files check to see if we have a install-info in the %post(un)? 2000-07-19 Chmouel Boudjnah * config: filter me the "shadow-utils dangling-symlink /usr/bin/sg newgrp" * config: static binaries for ldconfig is permit :-) * config: Add some exeptions for kernel packages. * config: /bin/ping as suid binary is correct. 2000-07-19 Frédéric Lepied * ChangeLog, rpmlint.spec: * 0.16 * rpmlint.py: * 0.16 * TagsCheck.py: * (DEFAULT_VALID_GROUPS): sawmill => sawfish. * Config.py: * added FHSCheck by default. * config: * added exception for wall. * FHSCheck.py: * corrected check to not match substrings. * FilesCheck.py: * added check dandling symlinks. * check the presence of /usr(/share)/info/dir 2000-07-19 Chmouel Boudjnah * config: Exception for pam package. 2000-07-19 Frédéric Lepied * README.CVS: * give command line example. 2000-07-19 Chmouel Boudjnah * MenuCheck.py: If the menu_command contain a kdesu -c "", check instead for the command instead of kdesu. * FilesCheck.py: By default {doc,man,info} in /usr/share, product an error when the package use /usr/. * config: su is suid and it normal !! 2000-07-05 Frédéric Lepied * README: * added description for PostCheck. * Config.py: * added PostCheck * PostCheck.py: * first version. 2000-07-01 Chmouel Boudjnah * config: Remove lftp .So warning (should be fixed in rpmlint), add expeption for slocate. 2000-06-30 Chmouel Boudjnah * config: Add sudo exception. 2000-06-27 Frédéric Lepied * ChangeLog, rpmlint.spec: * 0.15 * rpmlint.py: * 0.15 * README: * added XpmIconPath. * MenuCheck.py: * check non transparent pixmaps in icon path. * config: * added man for sgid exception. * corrected the regex for /var/catman and /usr/man. * BinariesCheck.py: * added a check for soname. * TagsCheck.py: * removed trace. * TagsCheck.py: * added a warning for packages that provide themselves (for Pixel). * Pkg.py: * (_gatherDepInfo) corrected the conflicts and provides acquisition. 2000-06-16 Chmouel Boudjnah * config: add W: lftp shared-lib-without-dependency-information /usr/lib/lftp/.*.so 2000-06-15 Frédéric Lepied * Pkg.py: * added a builtin grep. * config: * removed stange-needs filters. * README: * added ExtraMenuNeeds * MenuCheck.py: * added a list of valid needs. 2000-06-15 Chmouel Boudjnah * config: add execption for "I: iceconf strange-needs icewm /usr/lib/menu/iceconf" 2000-04-17 Frédéric Lepied * ChangeLog, rpmlint.py, rpmlint.spec: * 0.14 * FilesCheck.py, MenuCheck.py: * corrected check of %post, %postun to avoid comments. * MenuCheck.py: * check old menu entries for KDE and GNOME. * allow entries for sections. * config: * added exceptions for urpmi, sash, octave, ghc, procmail, rsh. 2000-04-12 Frédéric Lepied * Pkg.py: * (Pkg._extract): extract in dir /. 2000-04-10 Frédéric Lepied * ChangeLog, rpmlint.py, rpmlint.spec: * 0.13 * config: * added exception for XFree86 4.0 .a modules. * ChangeLog: * 0.13 * MenuCheck.py: * use POSTINPROG if no POSTIN. * use POSTUNPROG if no POSTUN. * FilesCheck.py: * check ldconfig in %post and %postun. * added urpmi to default group list. 2000-04-07 Chmouel Boudjnah * rpmlint.spec: Use %{_tmppath} * ChangeLog: "Seethechangelog" * MenuCheck.py: Add check on icons, if no icon print a warning, if icon specified (with a long path, not with relative path) is not here print a Error. * FilesCheck.py: package -source are also devel package. 2000-04-05 Chmouel Boudjnah * config: traceroute need to be setuid-binary * config: Add exception rules for initscripts. * ChangeLog: "Seethechangelog" * MenuCheck.py: Move Applications/Terminals to Terminals 2000-04-04 Chmouel Boudjnah * ChangeLog: *** empty log message *** * MenuCheck.py: Add Session/Windowmanagers in List of good window-managers. 2000-04-03 Chmouel Boudjnah * config: Add hackkernel* like kernel* for the devel-file-in-non-devel-package stuff. 2000-03-31 Frédéric Lepied * ChangeLog, rpmlint.py: * 0.12 * rpmlint.spec: * 1.12 * MenuCheck.py: * check update-menus in %post and %postun if a menu is present. * config: * avoid I: strange-needs kde for package beginning by k. * MenuCheck.py: * corrected default menu (thanks to DindinX). 2000-03-30 Chmouel Boudjnah * config: add /mnt/disk like /mnt/(floppy|cdrom) and clean up regex. 2000-03-29 Frédéric Lepied * MenuCheck.py: * check that the command is present in the menu. * BinariesCheck.py: * check for non sparc32 binaries in sparc rpms. 2000-03-27 Frédéric Lepied * ChangeLog, rpmlint.py, rpmlint.spec: * 0.11 * README: * added MenuCheck. * MenuCheck.py: * valid sections are now a configuration variable. * config: * added an exception for MenuCheck. 2000-03-23 Frédéric Lepied * FilesCheck.py: * commented out non-empty-dir-listed. * Config.py: * (DEFAULT_CHECKS): added MenuCheck. 2000-03-23 Chmouel Boudjnah * config: don't check devel-file-in-non-devel-package for alsa-source * config: it's allow to have a tmpdir as 700 in etcskel and rootfile. * config: Don't check for config files on /root/*. 2000-03-20 Frédéric Lepied * MenuCheck.py: * first version. 2000-03-14 Frédéric Lepied * rpmlint.spec: * corrected Group header. * config: * added exceptions for devel-file-in-non-devel-package and dir-or-file-in-home. * rpmlint.spec: * 1.10. * ChangeLog: * 1.10 * rpmlint.py: * 0.10. 2000-03-13 Frédéric Lepied * TagsCheck.py: * corrected new group list. * FilesCheck.py: * check files on /home. 2000-03-09 Chmouel Boudjnah * FilesCheck.py: Correct cdwriters to cdwriter Add x10 group. 2000-03-06 Frédéric Lepied * TagsCheck.py: * changed the list of standard groups. * FilesCheck.py: * (FilesCheck.check): added a check for .h and .a files and symbolic link .so in non devel packages. 2000-02-28 Frédéric Lepied * Pkg.py: * real correction for rpm 3.0.4 (I hope). * rpmlint.py: * 0.9.2. * ChangeLog, rpmlint.spec: * 0.9.2 * Pkg.py: * corrected rpm 3.0.4 support. 2000-02-23 Frédéric Lepied * ChangeLog: * 0.9.1. * rpmlint.spec: * 0.9.1-1mdk. * Makefile: * added README.CVS. * rpmlint.py: * 0.9.1 * changed copyright year. * Pkg.py: * added support for the rpm 3.0.4 way to store file names. * README.CVS: * first version. 2000-02-10 Frédéric Lepied * rpmlint.spec: * 0.9. * ChangeLog: * forgot comment about SignatureCheck. * SignatureCheck.py: * added gpg to correct signatures. * ChangeLog: * 0.9. * rpmlint.py: * 0.9. * README: * added description of new options: ValidGroups, ReleaseExtension and UseVersionInChangelog. * config: * added commented examples for ReleaseExtension and ValidGroups. * TagsCheck.py: * (check): check release extension. * (check): added configuration option for version on changelog and release extension. * DistributionCheck.py: * first version. * Makefile: * install .py files too. * Config.py: * change MandrakeCheck to DistributionCheck. * MandrakeCheck.py: * renamed in DistributionCheck. 2000-01-24 Frédéric Lepied * FilesCheck.py: * added a check on non executable in bin directories. 1999-12-30 Frédéric Lepied * rpmlint.spec: * 0.8-1mdk. * ChangeLog, rpmlint.py: * 0.8. * README: * change email. * added a line about i18n checks. * config: * added exception for sympa, postgresql-test and filesystem. * MandrakeCheck.py: * change default distribution to Linux-Mandrake. * TagsCheck.py: * (TagsCheck.check): added check on version in the first line of the changelog. * FilesCheck.py: * change severity of reports. * BinariesCheck.py: * binaries not stripped is dowgraded to warning. 1999-12-14 Frédéric Lepied * I18NCheck.py: * added a check on dirs containing LC_MESSAGES catalogs. 1999-11-30 Frédéric Lepied * I18NCheck.py: * correct the locales subdir regex to capture only correct names. 1999-11-25 Frédéric Lepied * I18NCheck.py: * initial release. 1999-11-18 Frédéric Lepied * ChangeLog: * real v 0.7 * MandrakeCheck.py: * don't warn about info/dir not compressed 1999-11-16 Frédéric Lepied * README: * updated to reflect the change to addFilter. * corrected the description of the checks. 1999-11-15 Frédéric Lepied * ChangeLog, rpmlint.spec: * 0.7 * Filter.py: * test a string against the filters. * Pkg.py: * (cleanup): change access rights before removing the package to prevent very bad packages from making rpmlint abort. * TagsCheck.py: * peform all the check on source package too. * config: * added /var/catman exceptions. * Config.py: * filters are regexp now. * rpmlint.py: * 0.7 * output through Filter. 1999-10-27 Frédéric Lepied * SourceCheck.py: * oops: added Filter import. * TagsCheck.py: * (TagsCheck.check): verify the name tag and the file name coherence. * Config.py: * (DEFAULT_CHECKS): added SourceCheck. * SourceCheck.py: * first version. 1999-10-23 Frédéric Lepied * ., .cvsignore: * added .flog and .bz2. * rpmlint.spec: * 0.6.1. * ChangeLog: * 0.6.1 * Makefile: * (all): use compile.py to byte compile files. * compile.py: * first version. * rpmlint.py: * 0.6.1 * rpmlint.spec: * 0.6. * ChangeLog: * O.6. * BinariesCheck.py, ConfigCheck.py, FHSCheck.py, MandrakeCheck.py, SignatureCheck.py: * output via Filter. * README: * added description of addFilter. * Config.py: * don't use FHS check by default because rpm doesn't put the doc files under /usr/share/doc => too much reports. * rpmlint.py: * version 0.6. * config: * added an example of addFilter. * TagsCheck.py: * output via Filter. * (TagsCheck.check): checks if the summary is on multiple lines. * FilesCheck.py: * output via Filter. * added documentation checks. * Filter.py: * first version. * Config.py: * (addFilter isFiltered): new funtions for output filters. 1999-10-16 Frédéric Lepied * ChangeLog: * 0.5. * rpmlint.spec: * 0.5. * rpmlint.py: * (version): 0.5. * uses Config to get the list of checks. * README: * added description of config files and options. * MandrakeCheck.py: * uses Config options for vendor, ditribution and compression. * Makefile: * install the config file in /etc/rpmlint * AllChecks.py: no more needed * Config.py, FHSCheck.py, config: * first version. 1999-10-12 Frédéric Lepied * TagsCheck.py: * (TagsCheck.check): corrected the message for non-standard-group to display the package name. * Pkg.py: * (Pkg._gatherFilesInfo): gather ghost files. * FilesCheck.py: * (FilesCheck.check): avoid reporting non-conffile-in-etc for a ghost file. * (FilesCheck.check): added a check of non standard users and groups. 1999-10-11 Frédéric Lepied * rpmlint.spec: * corrected typo. 1999-10-08 Chmouel Boudjnah * rpmlint.spec: *** empty log message *** 1999-10-07 Frédéric Lepied * rpmlint.spec: * (Requires): added cpio. * 0.4. * rpmlint.py: * (version): 0.4. * TagsCheck.py: * added a check for valid group name. * README: * pgp check impemented. * FilesCheck.py: * (FilesCheck.check): check only binary package. * ConfigCheck.py: * (ConfigCheck.check): check only binary package. * ChangeLog: * 0.4. * BinariesCheck.py: * corrected error message when there is a problem with objdump. * AllChecks.py: * added SignatureCheck. * SignatureCheck.py: * first version. 1999-10-06 Frédéric Lepied * PermissionsCheck.py: removed * rpmlint.spec: * 0.3-1. * added version of needed dependencies. * rpmlint.py: * changed the exception handling to have all the traceback. * rpmlint: * launch python with unbuffered output. * README: * added name of check on the implemented part. * added FileCheck to the implemented part. * Pkg.py: * added comments. * extract all file listing in one place (_gatherFilesInfo). * Makefile: * install only .pyo files. * new target ndist to make a tar ball without the version number in the directory name. * INSTALL: * added cpio to the list of dependencies. * ChangeLog: * 0.3. * AllChecks.py: * added FilesCheck. * ., .cvsignore, FilesCheck.py: * first version. * rpmlint.spec: * added header. * 0.2-1. * README: * changed configuration check comment from planed to implemented. * Pkg.py: (configFiles): new method to return the list of configuration files. * Makefile: * added ChangeLog to distribution files. * bzip2 in a separate command to make the dist target run on system without the y option of tar. * AllChecks.py: * added ConfigCheck. * ChangeLog, ConfigCheck.py: * first version. * rpmlint.py: * 0.2 1999-10-01 Chmouel Boudjnah * AbstractCheck.py, AllChecks.py, BinariesCheck.py, COPYING, INSTALL, Makefile, MandrakeCheck.py, PermissionsCheck.py, Pkg.py, README, TagsCheck.py, rpmlint, rpmlint.py, rpmlint.spec: Initial revision 1999-10-01 * .: New repository initialized by cvs2svn.